diff options
Diffstat (limited to 'configure.in')
-rw-r--r-- | configure.in | 14 |
1 files changed, 6 insertions, 8 deletions
diff --git a/configure.in b/configure.in index a9ffeb1c..2341b25c 100644 --- a/configure.in +++ b/configure.in | |||
@@ -1,10 +1,12 @@ | |||
1 | dnl Process this file with autoconf to produce a configure script. | 1 | dnl Process this file with autoconf to produce a configure script. |
2 | include(`aclocal.m4') | 2 | include(`aclocal.m4') |
3 | AC_REVISION ($Revision$) | 3 | AC_REVISION ($Revision$) |
4 | AC_INIT(package.def) | 4 | AC_INIT(Helper.pm) |
5 | VERSION=`cat $srcdir/package.def|sed -e 's/PACKAGE_RELEASE= *"//;s/"//'` | 5 | PACKAGE_VERSION="1.3.0" |
6 | PACKAGE=nagios-plugins | 6 | AC_SUBST(PACKAGE_VERSION) |
7 | dnl AM_INIT_AUTOMAKE(nagios-plugins,$VERSION) | 7 | PACKAGE_RELEASE="alpha1" |
8 | AC_SUBST(PACKAGE_RELEASE) | ||
9 | AM_INIT_AUTOMAKE(nagios-plugins,${PACKAGE_VERSION}-${PACKAGE_RELEASE}) | ||
8 | AM_CONFIG_HEADER(plugins/config.h plugins/common.h plugins/version.h plugins/netutils.h plugins/utils.h plugins/popen.h) | 10 | AM_CONFIG_HEADER(plugins/config.h plugins/common.h plugins/version.h plugins/netutils.h plugins/utils.h plugins/popen.h) |
9 | 11 | ||
10 | AC_PREFIX_DEFAULT(/usr/local/nagios) | 12 | AC_PREFIX_DEFAULT(/usr/local/nagios) |
@@ -814,10 +816,6 @@ AC_TRY_COMPILE([#ifdef __STDC__ | |||
814 | AC_SUBST(EXTRAS) | 816 | AC_SUBST(EXTRAS) |
815 | AC_SUBST(DEPLIBS) | 817 | AC_SUBST(DEPLIBS) |
816 | 818 | ||
817 | AC_SUBST(PACKAGE) | ||
818 | AC_SUBST(VERSION) | ||
819 | AC_DEFINE_UNQUOTED(PACKAGE,"${PACKAGE}") | ||
820 | AC_DEFINE_UNQUOTED(VERSION,"${VERSION}") | ||
821 | AC_DEFINE_UNQUOTED(PACKAGE_VERSION,"${VERSION}") | 819 | AC_DEFINE_UNQUOTED(PACKAGE_VERSION,"${VERSION}") |
822 | 820 | ||
823 | AC_OUTPUT(Makefile subst plugins/Makefile plugins-scripts/Makefile plugins-scripts/subst plugins-scripts/utils.pm plugins-scripts/utils.sh command.cfg test.pl,echo timestamp > plugins/stamp-h1;echo timestamp > plugins/stamp-h2;echo timestamp > plugins/stamp-h3;echo timestamp > plugins/stamp-h4;echo timestamp > plugins/stamp-h5;echo timestamp > plugins/stamp-h6;PATH=.:..:$PATH subst.sh command.cfg) | 821 | AC_OUTPUT(Makefile subst plugins/Makefile plugins-scripts/Makefile plugins-scripts/subst plugins-scripts/utils.pm plugins-scripts/utils.sh command.cfg test.pl,echo timestamp > plugins/stamp-h1;echo timestamp > plugins/stamp-h2;echo timestamp > plugins/stamp-h3;echo timestamp > plugins/stamp-h4;echo timestamp > plugins/stamp-h5;echo timestamp > plugins/stamp-h6;PATH=.:..:$PATH subst.sh command.cfg) |