Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 4bcc7c5

Browse files
committed
patch #101733: fix glitch in FreeBSD conf
1 parent aef0e89 commit 4bcc7c5

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

configure

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
#! /bin/sh
22

3-
# From configure.in Revision: 1.152
3+
# From configure.in Revision: 1.153
44

55
# Guess values for system-dependent variables and create Makefiles.
66
# Generated automatically using autoconf version 2.13
@@ -2666,7 +2666,7 @@ then
26662666
LDSHARED="ld -Bshareable"
26672667
fi;;
26682668
FreeBSD*)
2669-
if "`$CC -dM -E - </dev/null | grep __ELF__`" != ""
2669+
if [ "`$CC -dM -E - </dev/null | grep __ELF__`" != "" ]
26702670
then
26712671
LDSHARED="cc -shared ${LDFLAGS}"
26722672
else

configure.in

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -584,7 +584,7 @@ then
584584
LDSHARED="ld -Bshareable"
585585
fi;;
586586
FreeBSD*)
587-
if [ "`$CC -dM -E - </dev/null | grep __ELF__`" != "" ]
587+
if [[ "`$CC -dM -E - </dev/null | grep __ELF__`" != "" ]]
588588
then
589589
LDSHARED="cc -shared ${LDFLAGS}"
590590
else

0 commit comments

Comments
 (0)