From: Eric Blake Date: Tue, 13 May 2008 22:47:32 +0000 (+0000) Subject: Kill _LT_LIBSOURCES; it wasn't checking anything useful. X-Git-Tag: v2.2.6~41 X-Git-Url: http://git.ipfire.org/gitweb/gitweb.cgi?a=commitdiff_plain;h=d6744bdb26bcfdf12bbf16f31229088ed58a678e;p=thirdparty%2Flibtool.git Kill _LT_LIBSOURCES; it wasn't checking anything useful. * libltdl/m4/ltdl.m4 (_LT_LIBSOURCES): Delete. (LTDL_INIT): Ignore arguments to AC_LIBSOURCES during _LTDL_SETUP, on the assumption that libtoolize correctly installed them. Signed-off-by: Eric Blake --- diff --git a/ChangeLog b/ChangeLog index 5bc51f72b..52f353744 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,10 @@ +2008-05-17 Eric Blake + + Kill _LT_LIBSOURCES; it wasn't checking anything useful. + * libltdl/m4/ltdl.m4 (_LT_LIBSOURCES): Delete. + (LTDL_INIT): Ignore arguments to AC_LIBSOURCES during _LTDL_SETUP, + on the assumption that libtoolize correctly installed them. + 2008-05-13 Charles Wilson [mingw|cygwin] Modify cwrapper to invoke target directly. diff --git a/libltdl/m4/ltdl.m4 b/libltdl/m4/ltdl.m4 index 6c277b4b3..cdb94e669 100644 --- a/libltdl/m4/ltdl.m4 +++ b/libltdl/m4/ltdl.m4 @@ -7,7 +7,7 @@ # unlimited permission to copy and/or distribute it, with or without # modifications, as long as this notice is preserved. -# serial 15 LTDL_INIT +# serial 16 LTDL_INIT # LT_CONFIG_LTDL_DIR(DIRECTORY, [LTDL-MODE]) # ------------------------------------------ @@ -217,21 +217,6 @@ AC_DEFUN([_LT_LIBOBJ], [ ])# _LT_LIBOBJS -# _LT_LIBSOURCES(MODULE_NAMES) -# ---------------------------- -# Like AC_LIBSOURCES, except the directory where the libltdl source files -# are expected is distinct from the user LIBOBJ directory. -AC_DEFUN([_LT_LIBSOURCES], [ - m4_foreach([_LTNAME], [$1], [ - m4_syscmd([test -r "$lt_libobj_prefix]_LTNAME[" || - test -z "$lt_libobj_prefix" || - test ! -d "$lt_libobj_prefix"])dnl - m4_if(m4_sysval, [0], [], - [AC_FATAL([missing $lt_libobj_prefix/]_LTNAME)]) - ]) -])# _LT_LIBSOURCES - - # LTDL_INIT([OPTIONS]) # -------------------- # Clients of libltdl can use this macro to allow the installer to @@ -245,9 +230,9 @@ _LT_SET_OPTIONS([$0], [$1]) dnl We need to keep our own list of libobjs separate from our parent project, dnl and the easiest way to do that is redefine the AC_LIBOBJs macro while -dnl we look for our own LIBOBJs. Definitions in ltdl-libobj.m4. +dnl we look for our own LIBOBJs. m4_pushdef([AC_LIBOBJ], m4_defn([_LT_LIBOBJ])) -m4_pushdef([AC_LIBSOURCES], m4_defn([_LT_LIBSOURCES])) +m4_pushdef([AC_LIBSOURCES]) dnl If not otherwise defined, default to the 1.5.x compatible subproject mode: m4_if(_LTDL_MODE, [],