diff options
| author | Thomas Guyot-Sionnest <dermoth@aei.ca> | 2008-11-26 05:42:48 -0500 |
|---|---|---|
| committer | Thomas Guyot-Sionnest <dermoth@aei.ca> | 2008-11-26 05:42:48 -0500 |
| commit | 9bcfa9cdede27be34d11f42dfae3d8fd60fc92bc (patch) | |
| tree | 77f11fd6fb26c9ac4d8a410983629927c70d5319 /configure.in | |
| parent | ed9a088b37dcb8ba56d397592f4e8230a6a011e5 (diff) | |
| download | monitoring-plugins-9bcfa9cdede27be34d11f42dfae3d8fd60fc92bc.tar.gz | |
Disable dynamic versionning for releases, and allow generating version out of subversion.
This should be a definitive fix for systems with non-compilant make programs as the version will be taken from $(PACKAGE_VERSION) instead.
At the same time I added code for generating svn-based version strings.
Diffstat (limited to 'configure.in')
| -rw-r--r-- | configure.in | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/configure.in b/configure.in index 203166e4..8cae5341 100644 --- a/configure.in +++ b/configure.in | |||
| @@ -98,6 +98,9 @@ AC_SUBST(PKG_ARCH) | |||
| 98 | AC_SUBST(REV_DATESTAMP) | 98 | AC_SUBST(REV_DATESTAMP) |
| 99 | AC_SUBST(REV_TIMESTAMP) | 99 | AC_SUBST(REV_TIMESTAMP) |
| 100 | 100 | ||
| 101 | dnl Check if version file is present | ||
| 102 | AM_CONDITIONAL([RELEASE_PRESENT], [test -f release]) | ||
| 103 | |||
| 101 | dnl Checks for programs. | 104 | dnl Checks for programs. |
| 102 | AC_PATH_PROG(PYTHON,python) | 105 | AC_PATH_PROG(PYTHON,python) |
| 103 | AC_PATH_PROG(SH,sh) | 106 | AC_PATH_PROG(SH,sh) |
