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:
cf767c7
)
Require C99 capable compiler in configure
author
Panu Matilainen
<pmatilai@redhat.com>
Mon, 28 Apr 2008 10:53:35 +0000
(13:53 +0300)
committer
Panu Matilainen
<pmatilai@redhat.com>
Mon, 28 Apr 2008 11:02:51 +0000
(14:02 +0300)
- also enable C99 mode if not on by default
configure.ac
patch
|
blob
|
history
diff --git
a/configure.ac
b/configure.ac
index
c683d6c
..
5de9cf7
100644
(file)
--- a/
configure.ac
+++ b/
configure.ac
@@
-23,6
+23,11
@@
AC_PROG_MAKE_SET
AC_PROG_LIBTOOL
AC_PROG_YACC
+AC_PROG_CC_C99
+if test "$ac_cv_prog_cc_c99" = no; then
+ AC_MSG_ERROR([ISO C99 capable compiler required])
+fi
+
AS=${AS-as}
AC_SUBST(AS)
if test "$GCC" = yes; then