diff options
author | Karl DeBisschop <kdebisschop@users.sourceforge.net> | 2002-09-16 00:47:17 (GMT) |
---|---|---|
committer | Karl DeBisschop <kdebisschop@users.sourceforge.net> | 2002-09-16 00:47:17 (GMT) |
commit | b86eec17eb3debea43afa15779930f984126f83b (patch) | |
tree | 5325e1d155ee309a1e05e5fa6791fb5b48e48ca2 /configure.in | |
parent | 1f6bb0cb8544b669d9913875618998b493a8fbc9 (diff) | |
download | monitoring-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.in | 14 |
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 @@ | |||
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) |