summaryrefslogtreecommitdiffstats
path: root/configure.in
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>2000-02-03 13:42:50 (GMT)
committerGuido van Rossum <guido@python.org>2000-02-03 13:42:50 (GMT)
commit9c6ba9b598ec1294164e16ca27bd4a344ba15b08 (patch)
treecef56c7161235ca44ecec5e117f10b57fea51cae /configure.in
parent43265beff993bd07f7d685394c02fd55433004f1 (diff)
downloadcpython-9c6ba9b598ec1294164e16ca27bd4a344ba15b08.zip
cpython-9c6ba9b598ec1294164e16ca27bd4a344ba15b08.tar.gz
cpython-9c6ba9b598ec1294164e16ca27bd4a344ba15b08.tar.bz2
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?)
Diffstat (limited to 'configure.in')
-rw-r--r--configure.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/configure.in b/configure.in
index 83bf596..789eaac 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;;