summaryrefslogtreecommitdiffstats
path: root/configure.in
diff options
context:
space:
mode:
Diffstat (limited to 'configure.in')
-rw-r--r--configure.in14
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 @@
1dnl Process this file with autoconf to produce a configure script. 1dnl Process this file with autoconf to produce a configure script.
2include(`aclocal.m4') 2include(`aclocal.m4')
3AC_REVISION ($Revision$) 3AC_REVISION ($Revision$)
4AC_INIT(package.def) 4AC_INIT(Helper.pm)
5VERSION=`cat $srcdir/package.def|sed -e 's/PACKAGE_RELEASE= *"//;s/"//'` 5PACKAGE_VERSION="1.3.0"
6PACKAGE=nagios-plugins 6AC_SUBST(PACKAGE_VERSION)
7dnl AM_INIT_AUTOMAKE(nagios-plugins,$VERSION) 7PACKAGE_RELEASE="alpha1"
8AC_SUBST(PACKAGE_RELEASE)
9AM_INIT_AUTOMAKE(nagios-plugins,${PACKAGE_VERSION}-${PACKAGE_RELEASE})
8AM_CONFIG_HEADER(plugins/config.h plugins/common.h plugins/version.h plugins/netutils.h plugins/utils.h plugins/popen.h) 10AM_CONFIG_HEADER(plugins/config.h plugins/common.h plugins/version.h plugins/netutils.h plugins/utils.h plugins/popen.h)
9 11
10AC_PREFIX_DEFAULT(/usr/local/nagios) 12AC_PREFIX_DEFAULT(/usr/local/nagios)
@@ -814,10 +816,6 @@ AC_TRY_COMPILE([#ifdef __STDC__
814AC_SUBST(EXTRAS) 816AC_SUBST(EXTRAS)
815AC_SUBST(DEPLIBS) 817AC_SUBST(DEPLIBS)
816 818
817AC_SUBST(PACKAGE)
818AC_SUBST(VERSION)
819AC_DEFINE_UNQUOTED(PACKAGE,"${PACKAGE}")
820AC_DEFINE_UNQUOTED(VERSION,"${VERSION}")
821AC_DEFINE_UNQUOTED(PACKAGE_VERSION,"${VERSION}") 819AC_DEFINE_UNQUOTED(PACKAGE_VERSION,"${VERSION}")
822 820
823AC_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) 821AC_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)