mirror of
https://github.com/profanity-im/profanity.git
synced 2024-11-03 19:37:16 -05:00
Set C99 standard in configure
We already use uint_32 from stdint.h which AFAIK is C99. I seem to remember there is more C99 in the code. Let's explicitly define it here. Also fixes build for https://github.com/boothj5/profanity/pull/1053
This commit is contained in:
parent
61df0c8e85
commit
7be6158c80
@ -319,7 +319,7 @@ AC_CHECK_HEADERS([ncursesw/ncurses.h], [], [])
|
||||
AC_CHECK_HEADERS([ncurses.h], [], [])
|
||||
|
||||
### Default parameters
|
||||
AM_CFLAGS="-Wall -Wno-deprecated-declarations"
|
||||
AM_CFLAGS="-Wall -Wno-deprecated-declarations -std=c99"
|
||||
AS_IF([test "x$PACKAGE_STATUS" = xdevelopment],
|
||||
[AM_CFLAGS="$AM_CFLAGS -Wunused -Werror"])
|
||||
AS_IF([test "x$PLATFORM" = xosx],
|
||||
|
Loading…
Reference in New Issue
Block a user