Patrick Williams | c124f4f | 2015-09-15 14:41:29 -0500 | [diff] [blame] | 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 | |
Andrew Geissler | 0903674 | 2021-06-25 14:25:14 -0500 | [diff] [blame^] | 15 | 2009-11-10 Esben Haabendal <eha@doredevelopment.dk> |
| 16 | --- |
| 17 | configure | 4 ++-- |
| 18 | 1 file changed, 2 insertions(+), 2 deletions(-) |
Patrick Williams | c124f4f | 2015-09-15 14:41:29 -0500 | [diff] [blame] | 19 | |
Andrew Geissler | 0903674 | 2021-06-25 14:25:14 -0500 | [diff] [blame^] | 20 | diff --git a/configure b/configure |
| 21 | index 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 Williams | c124f4f | 2015-09-15 14:41:29 -0500 | [diff] [blame] | 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" |
Andrew Geissler | 0903674 | 2021-06-25 14:25:14 -0500 | [diff] [blame^] | 30 | +# GNUmakefile=GNUmakefile |
| 31 | +# ac_config_links="$ac_config_links $GNUmakefile:$GNUmakefile" |
Patrick Williams | c124f4f | 2015-09-15 14:41:29 -0500 | [diff] [blame] | 32 | |
| 33 | |
Andrew Geissler | 0903674 | 2021-06-25 14:25:14 -0500 | [diff] [blame^] | 34 | LIB_HARD_LOCALE="$LIB_SETLOCALE_NULL" |
| 35 | -- |
| 36 | 2.25.1 |
| 37 | |