X-Git-Url: http://nsz.repo.hu/git/?p=musl;a=blobdiff_plain;f=configure;h=4bf84637a596fc9306d28330c14928924ada3635;hp=902997e36a13ccf3504b75d47524b4743481861b;hb=af3330d7648627816fbc82aa3247419e8a528230;hpb=bc63e4fa2c9302c422e3bebd2653e4e36ee6372b diff --git a/configure b/configure index 902997e3..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