From 8424546547def72b8336e031cc6ebda7e7a7304a Mon Sep 17 00:00:00 2001 From: "Gary V. Vaughan" Date: Sat, 16 Dec 2000 13:50:26 +0000 Subject: [PATCH] * ltconfig.in (sys_lib_search_path_spec): Use test instead of `['. --- ChangeLog | 5 +++++ ltconfig.in | 2 +- ltmain.in | 12 ++++++++++-- 3 files changed, 16 insertions(+), 3 deletions(-) diff --git a/ChangeLog b/ChangeLog index 60c7d626c..cd709175c 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2000-12-16 Gary V. Vaughan + + * ltconfig.in (sys_lib_search_path_spec): Use test instead of + `['. + 2000-12-16 Wilfredo Sanchez * ltconfig.in: (dyld/darwin*) Much improved port. diff --git a/ltconfig.in b/ltconfig.in index 5e795d45f..c8c6cb3c7 100755 --- a/ltconfig.in +++ b/ltconfig.in @@ -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' diff --git a/ltmain.in b/ltmain.in index 91c2d8858..0ba71b610 100644 --- 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" ;; *) -- 2.47.3