summaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
authorenge <enge@211d60ee-9f03-0410-a15a-8952a2c7a4e4>2012-06-28 12:49:09 +0000
committerenge <enge@211d60ee-9f03-0410-a15a-8952a2c7a4e4>2012-06-28 12:49:09 +0000
commit3d4935badcf58c5ad21e3d1d0ada3a6421a0ee9a (patch)
treed7fcc637b243f55c1a61b350609254dfa0879aa8 /configure.ac
parent120d32b0837cde48048c006a0b53a923305c3ab6 (diff)
downloadmpc-3d4935badcf58c5ad21e3d1d0ada3a6421a0ee9a.tar.gz
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
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac5
1 files changed, 3 insertions, 2 deletions
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