diff options
Diffstat (limited to 'meta/recipes-devtools/automake/automake/new_rt_path_for_test-driver.patch')
-rw-r--r-- | meta/recipes-devtools/automake/automake/new_rt_path_for_test-driver.patch | 22 |
1 files changed, 17 insertions, 5 deletions
diff --git a/meta/recipes-devtools/automake/automake/new_rt_path_for_test-driver.patch b/meta/recipes-devtools/automake/automake/new_rt_path_for_test-driver.patch index 2c6594f523..1f71722334 100644 --- a/meta/recipes-devtools/automake/automake/new_rt_path_for_test-driver.patch +++ b/meta/recipes-devtools/automake/automake/new_rt_path_for_test-driver.patch @@ -1,22 +1,32 @@ -Set relative to top_builddir path in Makefile to access test-driver +From f78dfa39139d528c94d72f27994f337f2fd3b6bd Mon Sep 17 00:00:00 2001 +From: Adrian Calianu <adrian.calianu@enea.com> +Date: Thu, 25 Feb 2016 16:08:04 +0100 +Subject: [PATCH] Set relative to top_builddir path in Makefile to access + test-driver Signed-off-by: Adrian Calianu <adrian.calianu@enea.com> Upstream-Status: Pending Bug-Report: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=19042 +--- + bin/automake.in | 9 ++++++++- + 1 file changed, 8 insertions(+), 1 deletion(-) + +diff --git a/bin/automake.in b/bin/automake.in +index a52a489..8377d20 100644 --- a/bin/automake.in +++ b/bin/automake.in -@@ -272,6 +272,9 @@ +@@ -324,6 +324,9 @@ my $config_aux_dir_set_in_configure_ac = 0; # $AM_CONFIG_AUX_DIR is prefixed with $(top_srcdir), so it can be used # in Makefiles. my $am_config_aux_dir = ''; +# Directory used at runtime like running test-driver that should not +# depend on $(top_srcdir) +my $am_config_rt_aux_dir = ''; - + # Directory to search for AC_LIBSOURCE files, as set by AC_CONFIG_LIBOBJ_DIR # in configure.ac. -@@ -4700,7 +4703,7 @@ +@@ -4854,7 +4857,7 @@ sub handle_per_suffix_test { require_conf_file ("parallel-tests", FOREIGN, 'test-driver'); define_variable ("${pfx}LOG_DRIVER", @@ -25,7 +35,7 @@ Bug-Report: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=19042 INTERNAL); } my $driver = '$(' . $pfx . 'LOG_DRIVER)'; -@@ -7284,6 +7287,10 @@ +@@ -7440,6 +7443,10 @@ sub locate_aux_dir () $am_config_aux_dir = '$(top_srcdir)' . ($config_aux_dir eq '.' ? "" : "/$config_aux_dir"); $am_config_aux_dir =~ s,/*$,,; @@ -34,3 +44,5 @@ Bug-Report: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=19042 + '$(top_builddir)' . ($config_aux_dir eq '.' ? "" : "/$config_aux_dir"); + $am_config_rt_aux_dir =~ s,/*$,,; } + + |