1
0
mirror of https://github.com/profanity-im/profanity.git synced 2024-09-22 19:45:54 -04: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:
Michael Vetter 2019-04-12 12:18:51 +02:00
parent 61df0c8e85
commit 7be6158c80

View File

@ -319,7 +319,7 @@ AC_CHECK_HEADERS([ncursesw/ncurses.h], [], [])
AC_CHECK_HEADERS([ncurses.h], [], []) AC_CHECK_HEADERS([ncurses.h], [], [])
### Default parameters ### Default parameters
AM_CFLAGS="-Wall -Wno-deprecated-declarations" AM_CFLAGS="-Wall -Wno-deprecated-declarations -std=c99"
AS_IF([test "x$PACKAGE_STATUS" = xdevelopment], AS_IF([test "x$PACKAGE_STATUS" = xdevelopment],
[AM_CFLAGS="$AM_CFLAGS -Wunused -Werror"]) [AM_CFLAGS="$AM_CFLAGS -Wunused -Werror"])
AS_IF([test "x$PLATFORM" = xosx], AS_IF([test "x$PLATFORM" = xosx],