[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [patch #4237] Fix libltdl use of AC_LIST_HEADERS for latest autoconf
From: |
Peter O'Gorman |
Subject: |
Re: [patch #4237] Fix libltdl use of AC_LIST_HEADERS for latest autoconf 2.59c |
Date: |
Thu, 28 Jul 2005 13:26:23 +0900 |
User-agent: |
Mozilla Thunderbird 1.0.2 (Macintosh/20050317) |
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
anonymous wrote:
|
| Details:
|
| This fixes the use of AC_LIST_HEADERS which has now been changed to
| _AC_LIST_TAGS in the latest CVS version of autoconf 2.59c.
|
| This causes a duplicate definition of AC_CONFIG_HEADERS to be
| otherwise given.
|
Hi,
Thanks for the report and patch.
I think we want to work with older autoconf versions also (general question,
don't we?), so is this patch better?
Peter
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.0 (Darwin)
iQCVAwUBQuhebriDAg3OZTLPAQJ7jAQApT+MuuNRxVq6IwqT2iwfEidPXxIEW4VC
gU0iCrMOBjfcTdgd7lfrHHyw+67UJpPy9UMxFV5m1AWuxleciegpQNY/GRyDGKIP
ihkLzkivjbzkZ0A2XuFZt2EiS0z7UkakBkFLUkgPwlN7VdRyphByaGdr+IqKJj1z
Y9oAWAjP2Kw=
=wNOa
-----END PGP SIGNATURE-----
Index: m4/ltdl.m4
===================================================================
RCS file: /cvsroot/libtool/libtool/m4/ltdl.m4,v
retrieving revision 1.29
diff -u -3 -p -u -r1.29 ltdl.m4
--- m4/ltdl.m4 6 May 2005 17:39:59 -0000 1.29
+++ m4/ltdl.m4 28 Jul 2005 04:26:20 -0000
@@ -165,7 +165,10 @@ m4_require([_LT_CHECK_DLPREOPEN])dnl
# must contain the definitions required by ltdl.c.
m4_ifset([AC_LIST_HEADERS],
[CONFIG_H=`echo "AC_LIST_HEADERS" | $SED 's,^[[ ]]*,,;s,[[ :]].*$,,'`],
- [CONFIG_H=config.h;AC_CONFIG_HEADERS([config.h])])
+ [m4_ifset([_AC_LIST_TAGS],
+ [CONFIG_H=`echo "_AC_LIST_TAGS" | $GREP 'HEADERS' | $SED 's,^[[
]]*,,;s,[[ :)]].*$,,'`],
+ [CONFIG_H=config.h;AC_CONFIG_HEADERS([config.h])])
+ ])
AC_SUBST([CONFIG_H])
AC_CHECK_HEADERS([memory.h unistd.h dl.h sys/dl.h dld.h mach-o/dyld.h],
[patch #4237] Fix libltdl use of AC_LIST_HEADERS for latest autoconf 2.59c, Peter O'Gorman, 2005/07/29