summaryrefslogtreecommitdiff
path: root/m4/mpc.m4
diff options
context:
space:
mode:
Diffstat (limited to 'm4/mpc.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
])