mirror of
https://github.com/libexpat/libexpat.git
synced 2025-04-10 06:57:59 +00:00
Merge pull request #724 from libexpat/autotools-require-c99
configure.ac: Require C99 compiler
This commit is contained in:
commit
4cfc119a96
1 changed files with 3 additions and 0 deletions
|
@ -105,6 +105,9 @@ AC_SUBST(LIBAGE)
|
|||
AC_LANG([C])
|
||||
AC_PROG_CC_C99
|
||||
|
||||
AS_IF([test "${ac_cv_prog_cc_c99}" = no],
|
||||
[AC_MSG_ERROR([Expat requires a C99 compiler.])])
|
||||
|
||||
AS_IF([test "$GCC" = yes],
|
||||
[AX_APPEND_COMPILE_FLAGS([-Wall -Wextra], [AM_CFLAGS])
|
||||
dnl Be careful about adding the -fexceptions option; some versions of
|
||||
|
|
Loading…
Add table
Reference in a new issue