From c5f3add3254de442f90f8102503c6df7b39e941e Mon Sep 17 00:00:00 2001 From: Rich Felker Date: Mon, 14 May 2012 14:52:55 -0400 Subject: [PATCH] yet another try to get the check for gcc right... --- configure | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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