[Gmp-commit] /var/hg/gmp: 2 new changesets
mercurial at gmplib.org
mercurial at gmplib.org
Tue Jan 24 20:08:39 UTC 2017
details: /var/hg/gmp/rev/145c7f8dd922
changeset: 17212:145c7f8dd922
user: Torbjorn Granlund <tg at gmplib.org>
date: Tue Jan 24 21:08:21 2017 +0100
description:
Invoke AC_PROG_CC_C99 instead of AC_PROG_CC_STDC.
details: /var/hg/gmp/rev/3d8eeb21ac74
changeset: 17213:3d8eeb21ac74
user: Torbjorn Granlund <tg at gmplib.org>
date: Tue Jan 24 21:08:36 2017 +0100
description:
ChangeLog
diffstat:
ChangeLog | 4 ++++
configure.ac | 7 +++++--
2 files changed, 9 insertions(+), 2 deletions(-)
diffs (37 lines):
diff -r 4e7e5d87ecdb -r 3d8eeb21ac74 ChangeLog
--- a/ChangeLog Tue Jan 10 23:33:20 2017 +0100
+++ b/ChangeLog Tue Jan 24 21:08:36 2017 +0100
@@ -1,3 +1,7 @@
+2017-01-24 Torbjörn Granlund <tg at gmplib.org>
+
+ * configure.ac: Invoke AC_PROG_CC_C99 instead of AC_PROG_CC_STDC.
+
2017-01-03 Torbjörn Granlund <tg at gmplib.org>
* configure.ac (arm*-*-*): Properly point to cortex-a5 subdir.
diff -r 4e7e5d87ecdb -r 3d8eeb21ac74 configure.ac
--- a/configure.ac Tue Jan 10 23:33:20 2017 +0100
+++ b/configure.ac Tue Jan 24 21:08:36 2017 +0100
@@ -3,7 +3,7 @@
define(GMP_COPYRIGHT,[[
-Copyright 1996-2016 Free Software Foundation, Inc.
+Copyright 1996-2017 Free Software Foundation, Inc.
This file is part of the GNU MP Library.
@@ -2390,9 +2390,12 @@
# The C compiler and preprocessor, put into ANSI mode if possible.
AC_PROG_CC
-AC_PROG_CC_STDC
+AC_PROG_CC_C99
AC_PROG_CPP
+if test "$ac_cv_prog_cc_c99" = no; then
+ AC_MSG_ERROR([Cannot find a C99 capable compiler])
+fi
# The C compiler on the build system, and associated tests.
GMP_PROG_CC_FOR_BUILD
More information about the gmp-commit
mailing list