summaryrefslogtreecommitdiffstats
path: root/configure.in
diff options
context:
space:
mode:
Diffstat (limited to 'configure.in')
-rw-r--r--configure.in8
1 files changed, 8 insertions, 0 deletions
diff --git a/configure.in b/configure.in
index 505af93e..5cc693c2 100644
--- a/configure.in
+++ b/configure.in
@@ -101,6 +101,14 @@ AC_SUBST(REV_TIMESTAMP)
101dnl Check if version file is present 101dnl Check if version file is present
102AM_CONDITIONAL([RELEASE_PRESENT], [test -f release]) 102AM_CONDITIONAL([RELEASE_PRESENT], [test -f release])
103 103
104# Also read in the version from it
105if test -f release; then
106 NP_RELEASE="$(<release)"
107else
108 NP_RELEASE="$PACKAGE_VERSION"
109fi
110AC_SUBST(NP_RELEASE)
111
104dnl Checks for programs. 112dnl Checks for programs.
105AC_PATH_PROG(PYTHON,python) 113AC_PATH_PROG(PYTHON,python)
106AC_PATH_PROG(SH,sh) 114AC_PATH_PROG(SH,sh)