From 4bcc7c51196cedcfcd3e6929551d9647f786df3d Mon Sep 17 00:00:00 2001 From: Jeremy Hylton <jeremy@alum.mit.edu> Date: Thu, 31 Aug 2000 17:45:35 +0000 Subject: [PATCH] patch #101733: fix glitch in FreeBSD conf --- configure | 4 ++-- configure.in | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/configure b/configure index eee0c1d5b0..0329456972 100755 --- a/configure +++ b/configure @@ -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 diff --git a/configure.in b/configure.in index 31d2733253..f9597a97e9 100644 --- a/configure.in +++ b/configure.in @@ -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 -- 2.40.0