yet another try to get the check for gcc right...

This commit is contained in:
Rich Felker 2012-05-14 14:52:55 -04:00
parent 55e2f5e982
commit c5f3add325
1 changed files with 1 additions and 1 deletions

2
configure vendored
View File

@ -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