Skip to content

Commit

Permalink
Require -std=c11
Browse files Browse the repository at this point in the history
  • Loading branch information
dacav committed Jan 24, 2025
1 parent ad11405 commit abe1439
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions configure.ac
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,12 @@ AM_PROG_AR
LT_INIT([disable-static])
AC_PROG_CC

AX_CHECK_COMPILE_FLAG(
[-std=c11 -pedantic],
[CFLAGS="${CFLAGS} -std=c11 -pedantic"],
[AC_MSG_ERROR([C compiled does not support C11])]
)

AC_ARG_ENABLE([man],
[AS_HELP_STRING([--disable-man], [Disable man page generation])],
[:],
Expand Down

0 comments on commit abe1439

Please sign in to comment.