From: Guido van Rossum Date: Thu, 3 Feb 2000 13:50:24 +0000 (+0000) Subject: According to Harri Pasanen, the Solaris+gcc test for LINKFORSHARED X-Git-Tag: v1.6a1~509 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=ff484183de25b477db56e7fe04f9b60f6558787a;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 b/configure index a1be8ecc5907..c6ad7a5a7dc1 100755 --- a/configure +++ b/configure @@ -1,6 +1,6 @@ #! /bin/sh -# From configure.in Revision: 1.114 +# From configure.in Revision: 1.115 # Guess values for system-dependent variables and create Makefiles. # Generated automatically using autoconf version 2.13 @@ -2355,7 +2355,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;;