summaryrefslogtreecommitdiff
path: root/m4
diff options
context:
space:
mode:
authorthevenyp <thevenyp@211d60ee-9f03-0410-a15a-8952a2c7a4e4>2014-01-20 17:05:47 +0000
committerthevenyp <thevenyp@211d60ee-9f03-0410-a15a-8952a2c7a4e4>2014-01-20 17:05:47 +0000
commit3bc17e3e23a0972ed1d7c3974de69dab31add64e (patch)
treedf89dc30217afed9fb19db5063ae22983934b89c /m4
parente5268d35e00f2ca1ab90b46f374cdb46122781fa (diff)
downloadmpc-3bc17e3e23a0972ed1d7c3974de69dab31add64e.tar.gz
Synchronize with r1413 from trunk.benchs_tests
git-svn-id: svn://scm.gforge.inria.fr/svn/mpc/branches/benchs_tests@1414 211d60ee-9f03-0410-a15a-8952a2c7a4e4
Diffstat (limited to 'm4')
-rw-r--r--m4/mpc.m43
1 files changed, 2 insertions, 1 deletions
diff --git a/m4/mpc.m4 b/m4/mpc.m4
index 414229b..1204c3b 100644
--- a/m4/mpc.m4
+++ b/m4/mpc.m4
@@ -90,7 +90,7 @@ AC_DEFUN([MPC_C_CHECK_FLAG], [
AC_DEFUN([MPC_C_CHECK_WARNINGCFLAGS], [
AC_REQUIRE([AC_PROG_GREP])
if echo $VERSION | grep -c dev >/dev/null 2>&1 ; then
- if test "x$GCC" = "xyes" -a "x$compiler" != "xicc" -a "x$compiler" != "xg++"; then
+ if test "x$GCC" = "xyes" -a "x$compiler" != "xicc"; then
# enable -Werror for myself (Andreas Enge)
if test "x$USER" = "xenge"; then
MPC_C_CHECK_FLAG(-Werror)
@@ -107,6 +107,7 @@ AC_DEFUN([MPC_C_CHECK_WARNINGCFLAGS], [
MPC_C_CHECK_FLAG(-Wstrict-prototypes)
MPC_C_CHECK_FLAG(-Wmissing-prototypes)
MPC_C_CHECK_FLAG(-Wno-unused-value)
+ MPC_C_CHECK_FLAG(-Wlogical-op)
fi
fi
])