From: Thomas Guyot-Sionnest Date: Fri, 25 Sep 2009 10:45:57 +0000 (-0400) Subject: Using $srcdir is the proper way to go X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=623047109ab5a069cd34cab6b8c4c343fc70b48d;p=nagiosplug.git Using $srcdir is the proper way to go --- diff --git a/configure.in b/configure.in index 5cc693c..c047b12 100644 --- a/configure.in +++ b/configure.in @@ -99,10 +99,10 @@ 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 release; then +if test -f $srcdir/release; then NP_RELEASE="$(