blob: 39fcd918968af0e199af66564146b9755b50c914 [file] [log] [blame]
Patrick Williamsc124f4f2015-09-15 14:41:29 -05001Upstream-Status: Inappropriate [configuration]
2
3This patch fixes a build problem for m4-native experienced on Ubuntu 9.10,
4where autoconf/automake (AC_CONFIG_LINKS) ends up making GNUmakefile a
5symlink to itself.
6
7The patch comments out ac_config_links directly in configure,
8as autoreconf is not actually run for m4-native.
9
10I believe it should be safe, as GNUmakefile is actually unpacked from
11source, and what we want is to is to not touch it.
12
13Tested on x86_64_linux (Ubuntu 8.04 and 9.10).
14
Andrew Geissler09036742021-06-25 14:25:14 -0500152009-11-10 Esben Haabendal <eha@doredevelopment.dk>
16---
17 configure | 4 ++--
18 1 file changed, 2 insertions(+), 2 deletions(-)
Patrick Williamsc124f4f2015-09-15 14:41:29 -050019
Andrew Geissler09036742021-06-25 14:25:14 -050020diff --git a/configure b/configure
21index 883336a..6343a34 100755
22--- a/configure
23+++ b/configure
24@@ -37061,8 +37061,8 @@ printf "%s\n" "#define GNULIB_TEST_GETRANDOM 1" >>confdefs.h
Patrick Williamsc124f4f2015-09-15 14:41:29 -050025 # only, it does not matter if we skip the link with older autoconf.
26 # Automake 1.10.1 and earlier try to remove GNUmakefile in non-VPATH
27 # builds, so use a shell variable to bypass this.
28- GNUmakefile=GNUmakefile
29- ac_config_links="$ac_config_links $GNUmakefile:$GNUmakefile"
Andrew Geissler09036742021-06-25 14:25:14 -050030+# GNUmakefile=GNUmakefile
31+# ac_config_links="$ac_config_links $GNUmakefile:$GNUmakefile"
Patrick Williamsc124f4f2015-09-15 14:41:29 -050032
33
Andrew Geissler09036742021-06-25 14:25:14 -050034 LIB_HARD_LOCALE="$LIB_SETLOCALE_NULL"
35--
362.25.1
37