diff options
author | enge <enge@211d60ee-9f03-0410-a15a-8952a2c7a4e4> | 2012-02-21 13:40:30 +0000 |
---|---|---|
committer | enge <enge@211d60ee-9f03-0410-a15a-8952a2c7a4e4> | 2012-02-21 13:40:30 +0000 |
commit | 3f7b97011cb68f2b0a8345683981382ad07d3c0f (patch) | |
tree | 3fb9760474083b9b97e25a704b555fb026d05450 | |
parent | ec220dcf12b6cde4a6046a97ef3ee68f7678cf81 (diff) | |
download | mpc-3f7b97011cb68f2b0a8345683981382ad07d3c0f.tar.gz |
mpc.m4: removed -Werror, simplified check for complex support, cf. bug #13901
git-svn-id: svn://scm.gforge.inria.fr/svn/mpc/trunk@1124 211d60ee-9f03-0410-a15a-8952a2c7a4e4
-rw-r--r-- | doc/version.texi | 4 | ||||
-rw-r--r-- | m4/mpc.m4 | 23 |
2 files changed, 6 insertions, 21 deletions
diff --git a/doc/version.texi b/doc/version.texi index 24dad93..087e805 100644 --- a/doc/version.texi +++ b/doc/version.texi @@ -1,4 +1,4 @@ -@set UPDATED 30 August 2011 -@set UPDATED-MONTH August 2011 +@set UPDATED 10 January 2012 +@set UPDATED-MONTH January 2012 @set EDITION 1.0.0dev @set VERSION 1.0.0dev @@ -1,6 +1,6 @@ /* mpc.m4 -Copyright (C) 2008, 2009, 2010, 2011 INRIA +Copyright (C) 2008, 2009, 2010, 2011, 2012 INRIA This file is part of GNU MPC. @@ -45,7 +45,8 @@ AC_DEFUN([MPC_COMPLEX_H], [ ] ) - AC_MSG_CHECKING([whether creal, cimag and I can be used without additional library]) + AC_SEARCH_LIBS([creal], [m]) + AC_MSG_CHECKING([whether creal, cimag and I can be used]) AC_LINK_IFELSE( [MPC_CONFTEST], [ @@ -53,22 +54,7 @@ AC_DEFUN([MPC_COMPLEX_H], [ AC_DEFINE([HAVE_COMPLEX_H], [1], [complex.h present and usable]) ], [ - AC_MSG_RESULT([no]) - AC_SEARCH_LIBS([creal], [m], - [ - AC_MSG_CHECKING([whether creal and cimag can be used with additional library]) - AC_LINK_IFELSE( - [MPC_CONFTEST], - [ - AC_MSG_RESULT([yes]) - AC_DEFINE([HAVE_COMPLEX_H], [1], [complex.h present and usable]) - ], - [ - AC_MSG_RESULT([no, build without support for C complex numbers]) - ] - ) - ] - ) + AC_MSG_RESULT([no, build without support for C complex numbers]) ] ) ] @@ -117,7 +103,6 @@ AC_DEFUN([MPC_C_CHECK_WARNINGCFLAGS], [ MPC_C_CHECK_FLAG(-Wno-long-long) MPC_C_CHECK_FLAG(-Wall) MPC_C_CHECK_FLAG(-Wextra) - MPC_C_CHECK_FLAG(-Werror) MPC_C_CHECK_FLAG(-Wdeclaration-after-statement) MPC_C_CHECK_FLAG(-Wundef) MPC_C_CHECK_FLAG(-Wshadow) |