]> git.ipfire.org Git - thirdparty/libtool.git/commitdiff
* m4/ltdl.m4 (LTDL_INIT): Handle in addition the new name for
authorRichard Moseley <dickie.moseley@virgin.net>
Fri, 29 Jul 2005 13:25:08 +0000 (13:25 +0000)
committerPeter O'Gorman <peter@pogma.com>
Fri, 29 Jul 2005 13:25:08 +0000 (13:25 +0000)
AC_LIST_HEADERS which is _AC_LIST_TAGS.

ChangeLog
m4/ltdl.m4

index f9a8163410722e2ef0f56532f042fe4d3934133a..14baf723d02199aeada8b5b6831d9627b77e1596 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2005-07-29  Richard Moseley  <dickie.moseley@virgin.net>
+
+       * m4/ltdl.m4 (LTDL_INIT): Handle in addition the new name for 
+       AC_LIST_HEADERS which is _AC_LIST_TAGS.
+
 2005-07-28  Peter Ekberg  <peda@lysator.liu.se>
 
        * libltdl/Makefile.am: Make the LTDLOPEN define controllable
index 926570face4e9f02b32949290a043f93b676dddc..b05049a2a691b28e1606219d6aae3f5ad1f8bdeb 100644 (file)
@@ -163,9 +163,11 @@ m4_require([_LT_CHECK_DLPREOPEN])dnl
 # if they did not call it themself.  This is so that ltdl.h can pick up
 # the parent projects config.h file, The first file in AC_CONFIG_HEADERS
 # must contain the definitions required by ltdl.c.
-m4_ifset([AC_LIST_HEADERS],
+m4_ifset([_AC_LIST_TAGS],
+    [CONFIG_H=`echo "_AC_LIST_TAGS" | $GREP HEADERS | $SED 's,^[[      ]]*,,;s,[[ :)]].*$,,'`],
+  [m4_ifset([AC_LIST_HEADERS],
     [CONFIG_H=`echo "AC_LIST_HEADERS" | $SED 's,^[[    ]]*,,;s,[[ :]].*$,,'`],
-  [CONFIG_H=config.h;AC_CONFIG_HEADERS([config.h])])
+  [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],