[Gmp-commit] /var/hg/gmp: Use AC_CONFIG_FILES

mercurial at gmplib.org mercurial at gmplib.org
Mon Aug 21 13:40:19 CEST 2023


details:   /var/hg/gmp/rev/ef2da199af18
changeset: 18442:ef2da199af18
user:      Marc Glisse <marc.glisse at inria.fr>
date:      Mon Aug 21 13:40:17 2023 +0200
description:
Use AC_CONFIG_FILES

diffstat:

 ChangeLog    |   3 +++
 configure.ac |  19 +++++++++----------
 2 files changed, 12 insertions(+), 10 deletions(-)

diffs (67 lines):

diff -r d23889ac080a -r ef2da199af18 ChangeLog
--- a/ChangeLog	Mon Aug 21 13:08:05 2023 +0200
+++ b/ChangeLog	Mon Aug 21 13:40:17 2023 +0200
@@ -1,4 +1,5 @@
 2023-08-21  FX Coudert  <fxcoudert at gmail.com>
+	    Marc Glisse  <marc.glisse at inria.fr>
 
 	* configure.ac: Drop AC_HEADER_STDC and AC_HEADER_TIME.
 	* configure.ac, tests/misc.c, tune/freq.c, tune/speed.c, tune/time.c:
@@ -11,6 +12,8 @@
 	RETSIGTYPE -> void.
 
 	* configure.ac: Remove redundant LT_INIT.
+	Remove redundant backslash.
+	Use AC_CONFIG_FILES.
 
 2023-08-19  Marc Glisse  <marc.glisse at inria.fr>
 
diff -r d23889ac080a -r ef2da199af18 configure.ac
--- a/configure.ac	Mon Aug 21 13:08:05 2023 +0200
+++ b/configure.ac	Mon Aug 21 13:40:17 2023 +0200
@@ -36,8 +36,8 @@
 AH_TOP(/*GMP_COPYRIGHT*/)
 
 AC_REVISION($Revision$)
-AC_PREREQ(2.69)
-AC_INIT(GNU MP, GMP_VERSION, [gmp-bugs at gmplib.org (see https://gmplib.org/manual/Reporting-Bugs.html)], gmp)
+AC_PREREQ([2.69])
+AC_INIT([GNU MP], [GMP_VERSION], [gmp-bugs at gmplib.org (see https://gmplib.org/manual/Reporting-Bugs.html)], [gmp])
 AC_CONFIG_SRCDIR(gmp-impl.h)
 m4_pattern_forbid([^[ \t]*GMP_])
 m4_pattern_allow(GMP_LDFLAGS)
@@ -2088,7 +2088,7 @@
   # Special CPU "none" used to select generic C, now this is obsolete.
   none-*-*)
     enable_assembly=no
-    AC_MSG_WARN([the \"none\" host is obsolete, use --disable-assembly])
+    AC_MSG_WARN([the "none" host is obsolete, use --disable-assembly])
     ;;
 
 esac
@@ -4051,19 +4051,18 @@
 GMP_FINISH
 
 # Create Makefiles
-# FIXME: Upcoming version of autoconf/automake may not like broken lines.
-#        Right now automake isn't accepting the new AC_CONFIG_FILES scheme.
-
-AC_OUTPUT(Makefile							\
-  mpf/Makefile mpn/Makefile mpq/Makefile				\
-  mpz/Makefile printf/Makefile scanf/Makefile rand/Makefile cxx/Makefile \
+
+AC_CONFIG_FILES([Makefile						\
+  mpf/Makefile mpn/Makefile mpq/Makefile mpz/Makefile			\
+  printf/Makefile scanf/Makefile rand/Makefile cxx/Makefile		\
   tests/Makefile tests/devel/Makefile					\
   tests/mpf/Makefile tests/mpn/Makefile tests/mpq/Makefile		\
   tests/mpz/Makefile tests/rand/Makefile tests/misc/Makefile		\
   tests/cxx/Makefile							\
   doc/Makefile tune/Makefile						\
   demos/Makefile demos/calc/Makefile demos/expr/Makefile		\
-  gmp.h:gmp-h.in gmp.pc:gmp.pc.in gmpxx.pc:gmpxx.pc.in)
+  gmp.h:gmp-h.in gmp.pc:gmp.pc.in gmpxx.pc:gmpxx.pc.in])
+AC_OUTPUT
 
 AC_MSG_NOTICE([summary of build options:
 


More information about the gmp-commit mailing list