summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--doc/version.texi4
-rw-r--r--m4/mpc.m423
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
diff --git a/m4/mpc.m4 b/m4/mpc.m4
index 683c7f0..6dfed19 100644
--- a/m4/mpc.m4
+++ b/m4/mpc.m4
@@ -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)