From b86eec17eb3debea43afa15779930f984126f83b Mon Sep 17 00:00:00 2001 From: Karl DeBisschop Date: Mon, 16 Sep 2002 00:47:17 +0000 Subject: finish ckleanup of rpm spec porcessing git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@100 f882894a-f735-0410-b71e-b25c423dba1c --- configure.in | 14 ++++++-------- 1 file changed, 6 insertions(+), 8 deletions(-) (limited to 'configure.in') diff --git a/configure.in b/configure.in index a9ffeb1c..2341b25c 100644 --- a/configure.in +++ b/configure.in @@ -1,10 +1,12 @@ dnl Process this file with autoconf to produce a configure script. include(`aclocal.m4') AC_REVISION ($Revision$) -AC_INIT(package.def) -VERSION=`cat $srcdir/package.def|sed -e 's/PACKAGE_RELEASE= *"//;s/"//'` -PACKAGE=nagios-plugins -dnl AM_INIT_AUTOMAKE(nagios-plugins,$VERSION) +AC_INIT(Helper.pm) +PACKAGE_VERSION="1.3.0" +AC_SUBST(PACKAGE_VERSION) +PACKAGE_RELEASE="alpha1" +AC_SUBST(PACKAGE_RELEASE) +AM_INIT_AUTOMAKE(nagios-plugins,${PACKAGE_VERSION}-${PACKAGE_RELEASE}) AM_CONFIG_HEADER(plugins/config.h plugins/common.h plugins/version.h plugins/netutils.h plugins/utils.h plugins/popen.h) AC_PREFIX_DEFAULT(/usr/local/nagios) @@ -814,10 +816,6 @@ AC_TRY_COMPILE([#ifdef __STDC__ AC_SUBST(EXTRAS) AC_SUBST(DEPLIBS) -AC_SUBST(PACKAGE) -AC_SUBST(VERSION) -AC_DEFINE_UNQUOTED(PACKAGE,"${PACKAGE}") -AC_DEFINE_UNQUOTED(VERSION,"${VERSION}") AC_DEFINE_UNQUOTED(PACKAGE_VERSION,"${VERSION}") 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) -- cgit v1.2.3-74-g34f1