Commit e495dc9b authored by Martin Storsjö's avatar Martin Storsjö

contrib: gmp: Patch away the ansi2knr mentionings

The latest automake versions (as built by extras/tools) have
removed support for ansi2knr altogether, so this is required for
reconfiguration to work. We still need to do the reconf since the
host system ANSI check in the tarball is broken.
Signed-off-by: default avatarMartin Storsjö <martin@martin.st>
parent 4dc5d696
--- gmp-4.2.1/configure.in.orig 2013-04-02 16:26:56.000000000 +0300
+++ gmp-4.2.1/configure.in 2013-04-02 16:27:25.000000000 +0300
@@ -67,7 +67,7 @@
dnl Note that there's a copy of these options in the top-level Makefile.am,
dnl so update there too if changing anything.
dnl
-AM_INIT_AUTOMAKE([1.8 gnu no-dependencies $(top_builddir)/ansi2knr])
+AM_INIT_AUTOMAKE([1.8 gnu no-dependencies])
AM_CONFIG_HEADER(config.h:config.in)
AM_MAINTAINER_MODE
@@ -2024,9 +2024,6 @@
echo " MPN_PATH=\"$path\""
-# Automake ansi2knr support.
-AM_C_PROTOTYPES
-
GMP_PROG_AR
GMP_PROG_NM
--- gmp-4.2.1/Makefile.am.orig 2013-04-02 16:27:07.000000000 +0300
+++ gmp-4.2.1/Makefile.am 2013-04-02 16:27:13.000000000 +0300
@@ -27,7 +27,7 @@
# Makefiles in subdirectories, but here we must omit it so automake gives
# the actual ansi2knr build rule, not "cd $(top_builddir) && make ansi2knr".
#
-AUTOMAKE_OPTIONS = 1.8 gnu no-dependencies ansi2knr
+AUTOMAKE_OPTIONS = 1.8 gnu no-dependencies
# Libtool -version-info for libgmp.la and libmp.la. See "Versioning" in the
......@@ -15,6 +15,7 @@ gmp: gmp-$(GMP_VERSION).tar.bz2 .sum-gmp
$(UNPACK)
$(APPLY) $(SRC)/gmp/inline.diff
$(APPLY) $(SRC)/gmp/ansitest.diff
$(APPLY) $(SRC)/gmp/ansi2knr.diff
$(MOVE)
.gmp: gmp
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment