From a4548576332c13b1ec5c8100b43743b20d06f9fb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Martin=20v=2E=20L=C3=B6wis?= Date: Thu, 18 Apr 2002 14:51:36 +0000 Subject: Test for --export-dynamic directly to avoid problems with binutils 2.12. Will backport to 2.1 and 2.2. --- configure | 4 ++-- configure.in | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/configure b/configure index 6732c0a..d010d5e 100755 --- a/configure +++ b/configure @@ -1,5 +1,5 @@ #! /bin/sh -# From configure.in Revision: 1.310 . +# From configure.in Revision: 1.311 . # Guess values for system-dependent variables and create Makefiles. # Generated by GNU Autoconf 2.53. # @@ -8849,7 +8849,7 @@ then fi;; SunOS/5*) case $CC in *gcc*) - if $CC -Xlinker -V 2>&1 | grep BFD >/dev/null + if $CC -Xlinker --help 2>&1 | grep export-dynamic >/dev/null then LINKFORSHARED="-Xlinker --export-dynamic" fi;; diff --git a/configure.in b/configure.in index de9f216..8f76399 100644 --- a/configure.in +++ b/configure.in @@ -984,7 +984,7 @@ then fi;; SunOS/5*) case $CC in *gcc*) - if $CC -Xlinker -V 2>&1 | grep BFD >/dev/null + if $CC -Xlinker --help 2>&1 | grep export-dynamic >/dev/null then LINKFORSHARED="-Xlinker --export-dynamic" fi;; -- cgit v0.12