summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 9b550c5)
raw | patch | inline | side by side (parent: 9b550c5)
author | Thomas Guyot-Sionnest <dermoth@aei.ca> | |
Fri, 25 Sep 2009 10:45:57 +0000 (06:45 -0400) | ||
committer | Thomas Guyot-Sionnest <dermoth@aei.ca> | |
Fri, 25 Sep 2009 10:45:57 +0000 (06:45 -0400) |
configure.in | patch | blob | history |
diff --git a/configure.in b/configure.in
index 5cc693c25b897e07ea2f258869d5eadbe40cafc6..c047b12d7fe3d020954ef40953d47b054776e2fa 100644 (file)
--- a/configure.in
+++ b/configure.in
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="$(<release)"
else
NP_RELEASE="$PACKAGE_VERSION"
fi
-if test -f plugins/check_nt.c ; then
- EXTRAS="$EXTRAS check_nt"
-elif test -f ../plugins/check_nt.c ; then
+if test -f $srcdir/plugins/check_nt.c ; then
EXTRAS="$EXTRAS check_nt"
fi