From: Gary V. Vaughan Date: Sat, 16 Dec 2000 14:02:50 +0000 (+0000) Subject: * libtool.m4 (sys_lib_search_path_spec): Use test instead of X-Git-Tag: release-1-3d~36 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=20c4325d861f082472507765d98249a334e7b4f8;p=thirdparty%2Flibtool.git * libtool.m4 (sys_lib_search_path_spec): Use test instead of `['. (archive_cmds): And another one. --- diff --git a/ChangeLog b/ChangeLog index e664e6639..978272253 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,9 @@ 2000-12-16 Gary V. Vaughan + * 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. diff --git a/libtool.m4 b/libtool.m4 index 95964464b..a32d78621 100644 --- a/libtool.m4 +++ b/libtool.m4 @@ -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' diff --git a/ltmain.in b/ltmain.in index c6bfb7eb5..e1d4b2476 100644 --- 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" ;;