[Commit] nickle autogen.sh,1.5,1.6 configure.in,1.25,1.26

Carl Worth commit at keithp.com
Fri Jul 11 10:27:36 PDT 2003


Committed by: cworth

Update of /local/src/CVS/nickle
In directory home.keithp.com:/tmp/cvs-serv16397

Modified Files:
	autogen.sh configure.in 
Log Message:
Replaced ad-hoc autoconf version check in autogen.sh with AC_PREREQ in configure.in

Index: autogen.sh
===================================================================
RCS file: /local/src/CVS/nickle/autogen.sh,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -d -r1.5 -r1.6
--- autogen.sh	7 Jul 2003 16:12:48 -0000	1.5
+++ autogen.sh	11 Jul 2003 16:27:34 -0000	1.6
@@ -44,12 +44,6 @@
 
 $set_option -x
 
-if autoconf --version | awk 'NR==1{if($NF >= 2.5) exit(1);}'
-then
-    echo "need autoconf version >= 2.5" >&2
-    exit 1
-fi
-
 $aclocal $ACLOCAL_FLAGS                  || exit 1
 libtoolize --force --copy                || exit 1
 autoheader                               || exit 1

Index: configure.in
===================================================================
RCS file: /local/src/CVS/nickle/configure.in,v
retrieving revision 1.25
retrieving revision 1.26
diff -u -d -r1.25 -r1.26
--- configure.in	18 Jun 2003 02:49:44 -0000	1.25
+++ configure.in	11 Jul 2003 16:27:34 -0000	1.26
@@ -4,6 +4,8 @@
 dnl All Rights Reserved.  See the file COPYING in this directory
 dnl for licensing information.
 
+AC_PREREQ(2.50)
+
 AC_INIT(nickle.h)
 AM_INIT_AUTOMAKE(nickle,2.20)
 AM_CONFIG_HEADER(config.h)




More information about the Commit mailing list