mirror of
https://gitlab.xiph.org/xiph/icecast-server.git
synced 2025-01-03 14:56:34 -05:00
Add -std=c99 arg to compiler if possible
This commit is contained in:
parent
55e34b3b52
commit
60ec2d4878
@ -7,6 +7,13 @@ AC_CONFIG_MACRO_DIR([m4])
|
||||
AC_CONFIG_AUX_DIR([build-aux])
|
||||
|
||||
AC_PROG_CC
|
||||
|
||||
AX_CHECK_COMPILE_FLAG([-std=c99], [
|
||||
AX_APPEND_FLAG([-std=c99])
|
||||
], [
|
||||
AC_MSG_WARN([Compiler does not accept -std=c99 flag!])
|
||||
])
|
||||
|
||||
AC_PROG_CC_C99
|
||||
|
||||
AS_IF([test "${ac_cv_prog_cc_c99}" = "no"], [
|
||||
|
Loading…
Reference in New Issue
Block a user