X-Git-Url: https://git.tokkee.org/?a=blobdiff_plain;f=configure.in;h=c047b12d7fe3d020954ef40953d47b054776e2fa;hb=175b2c8703ef0ecbcd7d8cb7613fa3cb72c81c12;hp=7185fcaacb23f7df9ae369ef76b33ce1de3b4ac0;hpb=71cdb52799220f8d9052643baf1d3e9836a9c755;p=nagiosplug.git diff --git a/configure.in b/configure.in index 7185fca..c047b12 100644 --- a/configure.in +++ b/configure.in @@ -1,6 +1,6 @@ dnl Process this file with autoconf to produce a configure script. AC_PREREQ(2.59) -AC_INIT(nagios-plugins,1.4.13) +AC_INIT(nagios-plugins,1.4.14) AC_CONFIG_SRCDIR(NPTest.pm) AC_CONFIG_FILES(gl/Makefile) AC_CONFIG_AUX_DIR(build-aux) @@ -47,7 +47,6 @@ AC_PROG_LIBTOOL AM_PROG_CC_C_O AC_FUNC_ERROR_AT_LINE -AC_FUNC_ALLOCA AC_SYS_LARGEFILE ifdef([AC_FUNC_STRTOD],[AC_FUNC_STRTOD],[AM_FUNC_STRTOD]) @@ -100,7 +99,15 @@ AC_SUBST(REV_DATESTAMP) AC_SUBST(REV_TIMESTAMP) dnl Check if version file is present -AM_CONDITIONAL([RELEASE_PRESENT], [test -f release]) +AM_CONDITIONAL([RELEASE_PRESENT], [test -f $srcdir/release]) + +# Also read in the version from it +if test -f $srcdir/release; then + NP_RELEASE="$(