summaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
authorvlefevre <vlefevre@280ebfd0-de03-0410-8827-d642c229c3f4>2011-04-01 14:28:45 +0000
committervlefevre <vlefevre@280ebfd0-de03-0410-8827-d642c229c3f4>2011-04-01 14:28:45 +0000
commit3e4ee7f278dd46cb8e8eb00341c566e009e2d2b4 (patch)
tree7703c98dffedd3dda79aebb8f59d283352a9992b /configure.ac
parentee63827067e4a655e06eff2a5d5a797256e291cc (diff)
downloadmpfr-3e4ee7f278dd46cb8e8eb00341c566e009e2d2b4.tar.gz
[configure.ac] Removed the -Wno-format GCC option, which was added
when logging was used, as it is no longer needed after the changes done in r7575,7578 (mpfr_fprintf is now used for logging instead of fprintf with the Glibc register_printf_function extension). git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@7611 280ebfd0-de03-0410-8827-d642c229c3f4
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac6
1 files changed, 1 insertions, 5 deletions
diff --git a/configure.ac b/configure.ac
index 4f8ad923f..de45c73c5 100644
--- a/configure.ac
+++ b/configure.ac
@@ -116,8 +116,7 @@ AC_ARG_ENABLE(assert,
AC_ARG_ENABLE(logging,
[ --enable-logging enable MPFR logging (the system must support it)
[[default=no]]],
- [ disable_gcc_format_warning=yes
- case $enableval in
+ [ case $enableval in
yes) AC_DEFINE([MPFR_USE_LOGGING],1,[Log what MPFR does]) ;;
no) ;;
*) AC_MSG_ERROR([bad value for --enable-logging: yes or no]) ;;
@@ -299,9 +298,6 @@ dnl If compiler is gcc, then use some specific flags.
dnl But don't touch user other flags.
if test "$test_CFLAGS" != set && test -n "$GCC"; then
CFLAGS="-Wall -Wmissing-prototypes -Wpointer-arith $CFLAGS"
- if test -n "$disable_gcc_format_warning" ; then
- CFLAGS="$CFLAGS -Wno-format"
- fi
fi
AM_PROG_CC_C_O