mirror of
https://github.com/libexpat/libexpat.git
synced 2025-04-12 15:52:55 +00:00
configure.ac: Require C99 compiler
This commit is contained in:
parent
e1c0f173eb
commit
c020c49d73
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