patch #101733: fix glitch in FreeBSD conf

This commit is contained in:
Jeremy Hylton 2000-08-31 17:45:35 +00:00
parent aef0e890b5
commit 4bcc7c5119
2 changed files with 3 additions and 3 deletions

4
configure vendored
View File

@ -1,6 +1,6 @@
#! /bin/sh
# From configure.in Revision: 1.152
# From configure.in Revision: 1.153
# Guess values for system-dependent variables and create Makefiles.
# Generated automatically using autoconf version 2.13
@ -2666,7 +2666,7 @@ then
LDSHARED="ld -Bshareable"
fi;;
FreeBSD*)
if "`$CC -dM -E - </dev/null | grep __ELF__`" != ""
if [ "`$CC -dM -E - </dev/null | grep __ELF__`" != "" ]
then
LDSHARED="cc -shared ${LDFLAGS}"
else

View File

@ -584,7 +584,7 @@ then
LDSHARED="ld -Bshareable"
fi;;
FreeBSD*)
if [ "`$CC -dM -E - </dev/null | grep __ELF__`" != "" ]
if [[ "`$CC -dM -E - </dev/null | grep __ELF__`" != "" ]]
then
LDSHARED="cc -shared ${LDFLAGS}"
else