Commit 4bcc7c51 authored by Jeremy Hylton's avatar Jeremy Hylton

patch #101733: fix glitch in FreeBSD conf

parent aef0e890
#! /bin/sh #! /bin/sh
# From configure.in Revision: 1.152 # From configure.in Revision: 1.153
# Guess values for system-dependent variables and create Makefiles. # Guess values for system-dependent variables and create Makefiles.
# Generated automatically using autoconf version 2.13 # Generated automatically using autoconf version 2.13
...@@ -2666,7 +2666,7 @@ then ...@@ -2666,7 +2666,7 @@ then
LDSHARED="ld -Bshareable" LDSHARED="ld -Bshareable"
fi;; fi;;
FreeBSD*) FreeBSD*)
if "`$CC -dM -E - </dev/null | grep __ELF__`" != "" if [ "`$CC -dM -E - </dev/null | grep __ELF__`" != "" ]
then then
LDSHARED="cc -shared ${LDFLAGS}" LDSHARED="cc -shared ${LDFLAGS}"
else else
......
...@@ -584,7 +584,7 @@ then ...@@ -584,7 +584,7 @@ then
LDSHARED="ld -Bshareable" LDSHARED="ld -Bshareable"
fi;; fi;;
FreeBSD*) FreeBSD*)
if [ "`$CC -dM -E - </dev/null | grep __ELF__`" != "" ] if [[ "`$CC -dM -E - </dev/null | grep __ELF__`" != "" ]]
then then
LDSHARED="cc -shared ${LDFLAGS}" LDSHARED="cc -shared ${LDFLAGS}"
else else
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment