From: Peter O'Gorman Date: Thu, 26 Aug 2004 13:02:35 +0000 (+0000) Subject: * m4/ltdl.m4: Don't use the dyld loader on darwin 8 or later. X-Git-Tag: release-1-9b~14 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=09220863b986f1a6170f8c8f7cfec96e9ddb2329;p=thirdparty%2Flibtool.git * m4/ltdl.m4: Don't use the dyld loader on darwin 8 or later. --- diff --git a/ChangeLog b/ChangeLog index 0ac9eac18..cfb3bd085 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +2004-08-26 Peter O'Gorman + + * m4/ltdl.m4: Don't use the dyld loader on darwin 8 or later. + 2004-08-25 Paolo Bonzini * config/ltmain.in (piecewise linking): Use a GNU ld script if diff --git a/m4/ltdl.m4 b/m4/ltdl.m4 index c88d87ff0..88cb53244 100644 --- a/m4/ltdl.m4 +++ b/m4/ltdl.m4 @@ -419,12 +419,14 @@ AC_CHECK_FUNC([shl_load], LIBADD_SHL_LOAD="-ldld"])]) AC_SUBST([LIBADD_SHL_LOAD]) -AC_CHECK_FUNC([_dyld_func_lookup], +case $host_os in +darwin[[1567]].*) +# We only want this for pre-Mac OS X 10.4. + AC_CHECK_FUNC([_dyld_func_lookup], [AC_DEFINE([HAVE_DYLD], [1], [Define if you have the _dyld_func_lookup function.]) LT_DLLOADERS="$LT_DLLOADERS dyld.la"]) - -case $host_os in + ;; beos*) LT_DLLOADERS="$LT_DLLOADERS load_add_on.la" ;;