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:
13b2945
)
correct the check for gcc (previous version failed for cross compilers)
author
Rich Felker
<dalias@aerifal.cx>
Sun, 13 May 2012 23:59:28 +0000
(19:59 -0400)
committer
Rich Felker
<dalias@aerifal.cx>
Sun, 13 May 2012 23:59:28 +0000
(19:59 -0400)
configure
patch
|
blob
|
history
diff --git
a/configure
b/configure
index 4ef6ccceaf888be5b1d29fb3176d7b1f12326b0e..902997e36a13ccf3504b75d47524b4743481861b 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*|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