diff options
author | Michael Vetter <jubalh@iodoru.org> | 2019-04-12 12:18:51 +0200 |
---|---|---|
committer | Michael Vetter <jubalh@iodoru.org> | 2019-04-12 12:18:51 +0200 |
commit | 7be6158c80af09daf58e9b873263d9e98e36aff9 (patch) | |
tree | 92df19a83f9044e696c423b0184ede925cc4e648 | |
parent | 61df0c8e8513a1aa9912e37019a63778ec3ed06c (diff) | |
download | profani-tty-7be6158c80af09daf58e9b873263d9e98e36aff9.tar.gz |
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
-rw-r--r-- | configure.ac | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac index 06daa8d9..92a63d6d 100644 --- a/configure.ac +++ b/configure.ac @@ -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], |