summaryrefslogtreecommitdiffstats
path: root/configure.in
diff options
context:
space:
mode:
authorKarl DeBisschop <kdebisschop@users.sourceforge.net>2002-09-16 00:47:17 (GMT)
committerKarl DeBisschop <kdebisschop@users.sourceforge.net>2002-09-16 00:47:17 (GMT)
commitb86eec17eb3debea43afa15779930f984126f83b (patch)
tree5325e1d155ee309a1e05e5fa6791fb5b48e48ca2 /configure.in
parent1f6bb0cb8544b669d9913875618998b493a8fbc9 (diff)
downloadmonitoring-plugins-b86eec17eb3debea43afa15779930f984126f83b.tar.gz
finish ckleanup of rpm spec porcessing
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@100 f882894a-f735-0410-b71e-b25c423dba1c
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 a9ffeb1..2341b25 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)