Skip to content

Commit

Permalink
Merge pull request #218 from sevan/patch-1
Browse files Browse the repository at this point in the history
Use a macro to indicate C99 to the compiler
  • Loading branch information
hawicz committed Apr 30, 2016
2 parents 82bdbdb + 7150b7f commit c6a97eb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion configure.ac
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ m4_ifdef([AM_SILENT_RULES], [AM_SILENT_RULES([yes])])

# Checks for header files.
AM_PROG_CC_C_O
AC_PROG_CC_C99
AC_CONFIG_HEADER(config.h)
AC_CONFIG_HEADER(json_config.h)
AC_HEADER_STDC
Expand Down Expand Up @@ -104,7 +105,6 @@ AC_SUBST(JSON_BSYMBOLIC_LDFLAGS)

AX_APPEND_COMPILE_FLAGS([-Wall -Werror -Wno-error=deprecated-declarations])
AX_APPEND_COMPILE_FLAGS([-Wextra -Wwrite-string -Wno-unused-parameter])
AX_APPEND_COMPILE_FLAGS([-std=gnu99])
AX_APPEND_COMPILE_FLAGS([-D_GNU_SOURCE -D_REENTRANT])

AC_CONFIG_FILES([
Expand Down

0 comments on commit c6a97eb

Please sign in to comment.