projects
/
python
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
43265be
)
According to Harri Pasanen, the Solaris+gcc test for LINKFORSHARED
author
Guido van Rossum
<guido@python.org>
Thu, 3 Feb 2000 13:42:50 +0000
(13:42 +0000)
committer
Guido van Rossum
<guido@python.org>
Thu, 3 Feb 2000 13:42:50 +0000
(13:42 +0000)
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?)
configure.in
patch
|
blob
|
history
diff --git
a/configure.in
b/configure.in
index 83bf596b09974beeacb629751740e00abf0b16f5..789eaace661196861e32ba6b95fe40c239a0d805 100644
(file)
--- 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;;