]> git.ipfire.org Git - thirdparty/libtool.git/commitdiff
* libltdl/m4/libtool.m4 [darwin]: Changes to glob pattern matching
authorPeter O'Gorman <peter@pogma.com>
Tue, 29 Jan 2008 22:07:18 +0000 (22:07 +0000)
committerPeter O'Gorman <peter@pogma.com>
Tue, 29 Jan 2008 22:07:18 +0000 (22:07 +0000)
to be safer.

ChangeLog
libltdl/m4/libtool.m4

index 011a8f94f01f42799fb91f19d01756774117aa5b..0670cdb174ce977d2c1227f94c403d816469771c 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,8 @@
 2008-01-29  Peter O'Gorman  <peter@pogma.com>
 
+       * libltdl/m4/libtool.m4 [darwin]: Changes to glob pattern matching
+       to be safer.
+
        Search the compiler path too.
        * libltdl/m4/libtool.m4 (compiler_lib_search_dirs): New variable.
        * libltdl/config/ltmain.m4sh: Use it.
index 14f317d26025822152027bf3f33e1845feda6d72..3e0ee0620188d1428272b72b0f5c9f87689b5055 100644 (file)
@@ -928,15 +928,16 @@ m4_defun_once([_LT_REQUIRED_DARWIN_CHECKS],[
        LDFLAGS="$save_LDFLAGS"
     ])
     case $host_os in
-      rhapsody* | darwin1.[[012]])
-        _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress'
-        ;;
-    darwin*) # Darwin 1.3 on
+    rhapsody* | darwin1.[[012]])
+      _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
+    darwin1.*)
+      _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
+    darwin*) # darwin 5.x on 
       # if running on 10.5 or later, the deployment target defaults
       # to the OS version, if on x86, and 10.4, the deployment
       # target defaults to 10.4. Don't you love it? 
       case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
-       10.0,i?86*-darwin8*|10.0,*-darwin[[91]]*)
+       10.0,*86*-darwin8*|10.0,*-darwin[[91]]*)
          _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
        10.[[012]]*)
          _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;