diff options
Diffstat (limited to 'meta/recipes-devtools/m4/m4/ac_config_links.patch')
-rw-r--r-- | meta/recipes-devtools/m4/m4/ac_config_links.patch | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/meta/recipes-devtools/m4/m4/ac_config_links.patch b/meta/recipes-devtools/m4/m4/ac_config_links.patch new file mode 100644 index 0000000000..275c0b2e7d --- /dev/null +++ b/meta/recipes-devtools/m4/m4/ac_config_links.patch | |||
@@ -0,0 +1,30 @@ | |||
1 | Upstream-Status: Inappropriate [configuration] | ||
2 | |||
3 | This patch fixes a build problem for m4-native experienced on Ubuntu 9.10, | ||
4 | where autoconf/automake (AC_CONFIG_LINKS) ends up making GNUmakefile a | ||
5 | symlink to itself. | ||
6 | |||
7 | The patch comments out ac_config_links directly in configure, | ||
8 | as autoreconf is not actually run for m4-native. | ||
9 | |||
10 | I believe it should be safe, as GNUmakefile is actually unpacked from | ||
11 | source, and what we want is to is to not touch it. | ||
12 | |||
13 | Tested on x86_64_linux (Ubuntu 8.04 and 9.10). | ||
14 | |||
15 | 2009-11-10 Esben Haabendal <eha@doredevelopment.dk> | ||
16 | |||
17 | diff -urN m4-1.4.13.orig/configure m4-1.4.13/configure | ||
18 | --- m4-1.4.13.orig/configure 2009-11-10 10:54:00.301707097 +0100 | ||
19 | +++ m4-1.4.13/configure 2009-11-10 10:54:17.314206379 +0100 | ||
20 | @@ -14860,8 +14860,8 @@ | ||
21 | # only, it does not matter if we skip the link with older autoconf. | ||
22 | # Automake 1.10.1 and earlier try to remove GNUmakefile in non-VPATH | ||
23 | # builds, so use a shell variable to bypass this. | ||
24 | - GNUmakefile=GNUmakefile | ||
25 | - ac_config_links="$ac_config_links $GNUmakefile:$GNUmakefile" | ||
26 | + # GNUmakefile=GNUmakefile | ||
27 | + # ac_config_links="$ac_config_links $GNUmakefile:$GNUmakefile" | ||
28 | |||
29 | |||
30 | |||