projects
/
platform
/
upstream
/
rpm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
903caf1
)
Use $GCC instead of undocumented autoconf internal $ac_cv_c_compiler_gnu
author
Ralf Corsépius
<corsepiu@fedoraproject.org>
Mon, 27 Aug 2007 14:16:12 +0000
(16:16 +0200)
committer
Ralf Corsépius
<corsepiu@fedoraproject.org>
Mon, 27 Aug 2007 14:16:12 +0000
(16:16 +0200)
configure.ac
patch
|
blob
|
history
diff --git
a/configure.ac
b/configure.ac
index
c5f44c1
..
baf8c15
100644
(file)
--- a/
configure.ac
+++ b/
configure.ac
@@
-24,7
+24,7
@@
AC_PROG_YACC
AS=${AS-as}
AC_SUBST(AS)
-if test "$
ac_cv_c_compiler_gnu
" = yes; then
+if test "$
GCC
" = yes; then
CFLAGS="$CFLAGS -fPIC -DPIC -D_GNU_SOURCE -D_REENTRANT -Wall -Wpointer-arith -Wstrict-prototypes -Wmissing-prototypes -Wno-char-subscripts"
cflags_to_try="-fno-strict-aliasing"
AC_MSG_CHECKING([supported compiler flags])