X-Git-Url: https://git.tokkee.org/?a=blobdiff_plain;f=configure.in;h=c047b12d7fe3d020954ef40953d47b054776e2fa;hb=2b442ff177751c5ea17e792c10e6d50d7b922b08;hp=107cfd954abbf9fd7f18e57389ea37aad6678986;hpb=3b69f134671e60eb5de0ca895177064294b6eb78;p=nagiosplug.git diff --git a/configure.in b/configure.in index 107cfd9..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) @@ -99,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="$(