diff options
-rw-r--r-- | autoconf-lib-link/ChangeLog | 5 | ||||
-rwxr-xr-x | autoconf-lib-link/config.rpath | 8 |
2 files changed, 11 insertions, 2 deletions
diff --git a/autoconf-lib-link/ChangeLog b/autoconf-lib-link/ChangeLog index 8d16a6e12..f42b65be9 100644 --- a/autoconf-lib-link/ChangeLog +++ b/autoconf-lib-link/ChangeLog @@ -1,3 +1,8 @@ +2006-05-15 Bruno Haible <bruno@clisp.org> + + * config.rpath: Improve support for Sun C 5.9 on Linux, based on + libtool patch by Ralf Wildenhues. + 2006-05-05 Bruno Haible <bruno@clisp.org> * config.rpath: Add support for Sun C 5.9 on Linux. diff --git a/autoconf-lib-link/config.rpath b/autoconf-lib-link/config.rpath index 81ce68bbf..c492a93b6 100755 --- a/autoconf-lib-link/config.rpath +++ b/autoconf-lib-link/config.rpath @@ -88,8 +88,12 @@ else como) wl='-lopt=' ;; - c89* | c99*) - wl='-Wl,' + *) + case `$CC -V 2>&1 | sed 5q` in + *Sun\ C*) + wl='-Wl,' + ;; + esac ;; esac ;; |