From 3d4935badcf58c5ad21e3d1d0ada3a6421a0ee9a Mon Sep 17 00:00:00 2001 From: enge Date: Thu, 28 Jun 2012 12:49:09 +0000 Subject: configure.ac: reenable warning flags atan.c, mpc-tests.h; treat warnings git-svn-id: svn://scm.gforge.inria.fr/svn/mpc/trunk@1204 211d60ee-9f03-0410-a15a-8952a2c7a4e4 --- configure.ac | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'configure.ac') diff --git a/configure.ac b/configure.ac index 907a168..374ba91 100644 --- a/configure.ac +++ b/configure.ac @@ -123,11 +123,12 @@ AC_COMPILE_IFELSE([AC_LANG_SOURCE([[ AC_MSG_ERROR([gmp.h cannot be found or is unusable.]) ]) -# Check if compiler accepts warning flags and add them to CFLAGS +# Check (only in development versions) if the compiler accepts warning +# flags and add them to CFLAGS # Note: don't do this if the user defined CFLAGS, since adding new flags # might override the user's settings, see # http://lists.gforge.inria.fr/pipermail/mpc-discuss/2012-May/001115.html -if test -z "$CFLAGS"; then +if test -z "$USER_CFLAGS"; then MPC_C_CHECK_WARNINGCFLAGS fi -- cgit v1.2.1