summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRich Felker <dalias@aerifal.cx>2012-05-14 14:52:55 -0400
committerRich Felker <dalias@aerifal.cx>2012-05-14 14:52:55 -0400
commitc5f3add3254de442f90f8102503c6df7b39e941e (patch)
tree22262da40f084aa0bb638c6531405d9046c9728e
parent55e2f5e98252b390c10e98f6d33db713fa15b0ed (diff)
downloadmusl-c5f3add3254de442f90f8102503c6df7b39e941e.tar.gz
yet another try to get the check for gcc right...
-rwxr-xr-xconfigure2
1 files changed, 1 insertions, 1 deletions
diff --git a/configure b/configure
index 771840cf..4bf84637 100755
--- a/configure
+++ b/configure
@@ -148,7 +148,7 @@ test -n "$CC" || { echo "$0: cannot find a C compiler" ; exit 1 ; }
#
if test -z "$wrapper" ; then
printf "checking whether compiler is gcc... "
-if fnmatch '*\(GCC\)*' "$("$CC" --version 2>/dev/null)" ; then
+if fnmatch '*gcc\ version*' "$("$CC" -v 2>&1)" ; then
echo yes
printf "checking whether to build musl-gcc wrapper... "
wrapper=yes