summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/m4/m4/ac_config_links.patch
blob: 39fcd918968af0e199af66564146b9755b50c914 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
Upstream-Status: Inappropriate [configuration]

This patch fixes a build problem for m4-native experienced on Ubuntu 9.10,
where autoconf/automake (AC_CONFIG_LINKS) ends up making GNUmakefile a
symlink to itself.

The patch comments out ac_config_links directly in configure,
as autoreconf is not actually run for m4-native.

I believe it should be safe, as GNUmakefile is actually unpacked from
source, and what we want is to is to not touch it.

Tested on x86_64_linux (Ubuntu 8.04 and 9.10).

2009-11-10      Esben Haabendal     <eha@doredevelopment.dk>
---
 configure | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/configure b/configure
index 883336a..6343a34 100755
--- a/configure
+++ b/configure
@@ -37061,8 +37061,8 @@ printf "%s\n" "#define GNULIB_TEST_GETRANDOM 1" >>confdefs.h
   # only, it does not matter if we skip the link with older autoconf.
   # Automake 1.10.1 and earlier try to remove GNUmakefile in non-VPATH
   # builds, so use a shell variable to bypass this.
-  GNUmakefile=GNUmakefile
-  ac_config_links="$ac_config_links $GNUmakefile:$GNUmakefile"
+#  GNUmakefile=GNUmakefile
+#  ac_config_links="$ac_config_links $GNUmakefile:$GNUmakefile"
 
 
   LIB_HARD_LOCALE="$LIB_SETLOCALE_NULL"
-- 
2.25.1