summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSven Eden <sven.eden@gmx.de>2013-01-24 11:07:38 +0100
committerSven Eden <sven.eden@gmx.de>2013-01-24 11:07:38 +0100
commit83f550d6b483d40845865d939352ad8292b6c9b9 (patch)
tree5522794a519820a31de8b04c348b98fdcd8bbc96 /configure.ac
parentChange layout to have both the flag setting origin (make.defaults/make.conf) ... (diff)
downloadufed-83f550d6b483d40845865d939352ad8292b6c9b9.tar.gz
ufed-83f550d6b483d40845865d939352ad8292b6c9b9.tar.bz2
ufed-83f550d6b483d40845865d939352ad8292b6c9b9.zip
Removed flexible array member configuration checks. It is no longer needed.
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac5
1 files changed, 2 insertions, 3 deletions
diff --git a/configure.ac b/configure.ac
index bf34d16..50c54ca 100644
--- a/configure.ac
+++ b/configure.ac
@@ -1,6 +1,6 @@
AC_PREREQ(2.68)
AC_INIT([ufed],[git],[https://bugs.gentoo.org/])
-AM_INIT_AUTOMAKE([foreign -Wall -Werror])
+AM_INIT_AUTOMAKE([foreign])
AC_CONFIG_SRCDIR([ufed-curses.c])
AC_CONFIG_HEADERS([config.h])
@@ -10,14 +10,13 @@ if test "$ac_cv_prog_cc_c99" != no
then
CFLAGS="$CFLAGS -Wall -Wextra -pedantic"
CPPFLAGS="$CPPFLAGS -D_XOPEN_SOURCE=600"
- AC_DEFINE([FLEXIBLE_ARRAY_MEMBER], [])
else
AC_PROG_CC_C89
AC_C_INLINE
- AC_C_FLEXIBLE_ARRAY_MEMBER
CFLAGS="$CFLAGS -Wall -W"
CPPFLAGS="$CPPFLAGS -D_XOPEN_SOURCE=500"
fi
+CFLAGS="${CFLAGS} -Wmissing-prototypes -Wstrict-prototypes"
AC_ARG_WITH([curses],
[AS_HELP_STRING([--with-curses], [override default curses library (ncursesw ncurses curses)])],