diff --git a/configure b/configure index 902997e36a13ccf3504b75d47524b4743481861b..771840cfb09f92eff4e64bc9d300bef51e8310a1 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\)*' "$("$CC" --version 2>/dev/null)" ; then echo yes printf "checking whether to build musl-gcc wrapper... " wrapper=yes