From: Guido van Rossum Date: Thu, 3 Feb 2000 13:42:50 +0000 (+0000) Subject: According to Harri Pasanen, the Solaris+gcc test for LINKFORSHARED X-Git-Tag: v1.6a1~510 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=9c6ba9b598ec1294164e16ca27bd4a344ba15b08;p=thirdparty%2FPython%2Fcpython.git According to Harri Pasanen, the Solaris+gcc test for LINKFORSHARED needed an adaptation for the latest gcc -- we need to grep stderr as well as stdout for the magic string BFD. (Does anybody know what BFD means?) --- diff --git a/configure.in b/configure.in index 83bf596b0997..789eaace6611 100644 --- a/configure.in +++ b/configure.in @@ -565,7 +565,7 @@ then fi;; SunOS/5*) case $CC in *gcc*) - if $CC -Xlinker -V 2>/dev/null | grep BFD >/dev/null + if $CC -Xlinker -V 2>&1 | grep BFD >/dev/null then LINKFORSHARED="-Xlinker --export-dynamic" fi;;