]> git.ipfire.org Git - thirdparty/libtool.git/commitdiff
* libtool.m4 (sys_lib_search_path_spec): Use test instead of
authorGary V. Vaughan <gary@gnu.org>
Sat, 16 Dec 2000 14:02:50 +0000 (14:02 +0000)
committerGary V. Vaughan <gary@gnu.org>
Sat, 16 Dec 2000 14:02:50 +0000 (14:02 +0000)
`['.
(archive_cmds): And another one.

ChangeLog
libtool.m4
ltmain.in

index e664e6639b8aa760873e4f8ac992e4be0ad276e5..978272253fd69b02445495ff8a4290a8691ef163 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,9 @@
 2000-12-16  Gary V. Vaughan  <gvv@techie.com>
 
+       * libtool.m4 (sys_lib_search_path_spec): Use test instead of
+       `['.
+       (archive_cmds): And another one.
+       
        * libtool.m4 (darwin*): Fixed a pair of stupid typos I made in the
        last patch.
 
index 95964464b210068b05ad43c680056edcc72460a4..a32d78621012b1f9b0364dc795b885eb55eb7355 100644 (file)
@@ -1436,8 +1436,8 @@ else
 
   darwin* | rhapsody*)
     allow_undefined_flag='-undefined warning'
-    [archive_cmds='$CC `if [ "$module" = "yes" ]; then echo -bundle; else
-      echo -dynamiclib; fi` -o $lib $libobjs $deplibs $linkopts']
+    archive_cmds='$CC `if test "$module" = "yes"; then echo -bundle; else
+      echo -dynamiclib; fi` -o $lib $libobjs $deplibs $linkopts'
     archive_expsym_cmds="$archive_cmds"' && strip -s $export_symbols'
     ## What we need is to hardcode the path to the library, not the search path
     #hardcode_direct=yes
@@ -1805,10 +1805,10 @@ cygwin* | mingw* | pw32*)
   shlibpath_var=PATH
   ;;
 
-darwin*|rhapsody*)
+darwin* | rhapsody*)
   need_lib_prefix=no
   need_version=no
-  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`'
   shlibpath_overrides_runpath=yes
   shlibpath_var=DYLD_LIBRARY_PATH
   postinstall_cmds='chmod +x $lib'
index c6bfb7eb5971026c8e8de08a3b0f9f35de96c335..e1d4b2476209f9cd12378ddb1e0b943b445e75a7 100644 (file)
--- a/ltmain.in
+++ b/ltmain.in
@@ -1066,7 +1066,7 @@ compiler."
          $echo "$modename: warning: assuming \`-no-fast-install' instead" 1>&2
          fast_install=no
          ;;
-        *-*-rhapsody*|*-*-darwin*)
+        *-*-rhapsody* | *-*-darwin*)
          # Darwin C library is in the System framework
          deplibs="$deplibs -framework System"
          ;;