--- ChangeLog.orig 2005-07-29 08:55:43.000000000 +0100 +++ ChangeLog 2005-07-29 08:52:36.000000000 +0100 @@ -1,3 +1,8 @@ +2005-07-29 Richard Moseley + + * 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 * libltdl/Makefile.am: Make the LTDLOPEN define controllable --- m4/ltdl.m4.orig 2005-07-26 10:14:42.000000000 +0100 +++ m4/ltdl.m4 2005-07-29 08:31:17.000000000 +0100 @@ -163,9 +163,11 @@ # 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],