xref: /OK3568_Linux_fs/yocto/poky/meta/recipes-devtools/m4/m4/ac_config_links.patch (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1Upstream-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
152009-11-10      Esben Haabendal     <eha@doredevelopment.dk>
16---
17 configure | 4 ++--
18 1 file changed, 2 insertions(+), 2 deletions(-)
19
20diff --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
25   # 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"
30+#  GNUmakefile=GNUmakefile
31+#  ac_config_links="$ac_config_links $GNUmakefile:$GNUmakefile"
32
33
34   LIB_HARD_LOCALE="$LIB_SETLOCALE_NULL"
35--
362.25.1
37
38