]> git.ipfire.org Git - thirdparty/libtool.git/commitdiff
* ltconfig.in (sys_lib_search_path_spec): Use test instead of
authorGary V. Vaughan <gary@gnu.org>
Sat, 16 Dec 2000 13:50:26 +0000 (13:50 +0000)
committerGary V. Vaughan <gary@gnu.org>
Sat, 16 Dec 2000 13:50:26 +0000 (13:50 +0000)
`['.

ChangeLog
ltconfig.in
ltmain.in

index 60c7d626c3f72702cff161827fc12b77e63fad20..cd709175c7ae956db60b8cc0f14baac989a65a33 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2000-12-16  Gary V. Vaughan  <gvv@techie.com>
+
+       * ltconfig.in (sys_lib_search_path_spec): Use test instead of
+       `['.
+
 2000-12-16   Wilfredo Sanchez  <wsanchez@apple.com>
 
        * ltconfig.in: (dyld/darwin*) Much improved port.
index 5e795d45f2606bdc39a2d8baa8207f2b8dc8cb03..c8c6cb3c7a1a77a43860a79d8f803b6ef6814d08 100755 (executable)
@@ -1000,7 +1000,7 @@ cygwin* | mingw* | pw32*)
   ;;
 
 darwin* | rhapsody*)
-  library_names_spec='${libname}.`if [ "$module" = "yes" ]; then echo so; else echo dylib; fi`'
+  library_names_spec='${libname}.`if test "$module" = "yes"; then echo so; else echo dylib; fi`'
   need_lib_prefix=no
   need_version=no
   postinstall_cmds='chmod +x $lib'
index 91c2d885819ad6cdf1bba9cd1e23aa7912ea7434..0ba71b6107c59b8be291b6f07858f1ebe527a337 100644 (file)
--- a/ltmain.in
+++ b/ltmain.in
@@ -1097,6 +1097,10 @@ EOF
            # These systems don't actually have c library (as such)
            continue
            ;;
+         *-*-rhapsody* | *-*-darwin*)
+           # Darwin C library is in the System framework
+           deplibs="$deplibs -framework System"
+           ;;
          esac
        elif test "$arg" = "-lm"; then
          case "$host" in
@@ -1104,6 +1108,10 @@ EOF
            # These systems don't actually have math library (as such)
            continue
            ;;
+         *-*-rhapsody* | *-*-darwin*)
+           # Darwin math library is in the System framework
+           deplibs="$deplibs -framework System"
+           ;;
          esac
        fi
        deplibs="$deplibs $arg"
@@ -1129,8 +1137,8 @@ EOF
          $echo "$modename: warning: assuming \`-no-fast-install' instead" 1>&2
          fast_install=no
          ;;
-       *-*-rhapsody*|*-*-darwin*)
-         # rhapsody is a little odd...
+       *-*-rhapsody* | *-*-darwin*)
+         # Darwin C library is in the System framework
          deplibs="$deplibs -framework System"
          ;;
        *)