This is the mail archive of the
gsl-discuss@sourceware.org
mailing list for the GSL project.
[PATCH] build from CVS with recent autotools
- From: Martin Jansche <mjansche at gmail dot com>
- To: gsl-discuss at sources dot redhat dot com
- Date: Tue, 22 Nov 2005 17:03:25 -0500
- Subject: [PATCH] build from CVS with recent autotools
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