[PATCH] build from CVS with recent autotools

Martin Jansche mjansche@gmail.com
Wed Nov 23 10:13:00 GMT 2005


The following changes are sufficient for building from CVS sources
with recent autotools (I'm using automake 1.9.6, autoconf 2.59, and
libtool 1.5a).

---
Index: configure.ac
===================================================================
RCS file: /cvs/gsl/gsl/configure.ac,v
retrieving revision 1.24
diff -u -r1.24 configure.ac
--- configure.ac        13 Sep 2005 09:56:23 -0000      1.24
+++ configure.ac        22 Nov 2005 21:59:31 -0000
@@ -48,10 +48,8 @@
 AC_PROG_CPP
 AC_PROG_INSTALL
 AC_PROG_LN_S
-AC_CHECK_TOOL(RANLIB, ranlib, :)
-AC_CHECK_TOOL(AR, ar, :)
-#AC_PROG_RANLIB
-AC_PROG_LIBTOOL
+
+LT_INIT

 dnl Check compiler features
 AC_TYPE_SIZE_T
Index: autogen.sh
===================================================================
RCS file: /cvs/gsl/gsl/autogen.sh,v
retrieving revision 1.8
diff -u -r1.8 autogen.sh
--- autogen.sh  11 Sep 2004 14:10:17 -0000      1.8
+++ autogen.sh  22 Nov 2005 21:59:31 -0000
@@ -4,7 +4,7 @@
 # configure program

 libtoolize --automake
-aclocal
+aclocal -I .
 automake --add-missing --gnu
 autoconf
 echo "Now use ./configure --enable-maintainer-mode"
---
Cheers,
-- mj



More information about the Gsl-discuss mailing list