projects
/
oweals
/
musl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
55e2f5e
)
yet another try to get the check for gcc right...
author
Rich Felker
<dalias@aerifal.cx>
Mon, 14 May 2012 18:52:55 +0000
(14:52 -0400)
committer
Rich Felker
<dalias@aerifal.cx>
Mon, 14 May 2012 18:52:55 +0000
(14:52 -0400)
configure
patch
|
blob
|
history
diff --git
a/configure
b/configure
index 771840cfb09f92eff4e64bc9d300bef51e8310a1..4bf84637a596fc9306d28330c14928924ada3635 100755
(executable)
--- 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