]> git.ipfire.org Git - thirdparty/libtool.git/commitdiff
* m4/ltdl.m4: Don't use the dyld loader on darwin 8 or later.
authorPeter O'Gorman <peter@pogma.com>
Thu, 26 Aug 2004 13:02:35 +0000 (13:02 +0000)
committerPeter O'Gorman <peter@pogma.com>
Thu, 26 Aug 2004 13:02:35 +0000 (13:02 +0000)
ChangeLog
m4/ltdl.m4

index 0ac9eac18a3ba7ad0402c6cfc63fbe9ee2d1fc67..cfb3bd085cc115a1a2d74b8ed644af929b1b0416 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2004-08-26  Peter O'Gorman  <peter@pogma.com>
+
+       * m4/ltdl.m4: Don't use the dyld loader on darwin 8 or later.
+
 2004-08-25  Paolo Bonzini  <bonzini@gnu.org>
 
        * config/ltmain.in (piecewise linking): Use a GNU ld script if
index c88d87ff0bc8156200324794c5f7e5c1258a8bf6..88cb532440445174adc6ebb05485fd0069da2882 100644 (file)
@@ -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"
   ;;