summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/autoconf/autoconf-2.65/config_site.patch
diff options
context:
space:
mode:
Diffstat (limited to 'meta/recipes-devtools/autoconf/autoconf-2.65/config_site.patch')
-rw-r--r--meta/recipes-devtools/autoconf/autoconf-2.65/config_site.patch29
1 files changed, 29 insertions, 0 deletions
diff --git a/meta/recipes-devtools/autoconf/autoconf-2.65/config_site.patch b/meta/recipes-devtools/autoconf/autoconf-2.65/config_site.patch
new file mode 100644
index 0000000000..8a90cd3307
--- /dev/null
+++ b/meta/recipes-devtools/autoconf/autoconf-2.65/config_site.patch
@@ -0,0 +1,29 @@
1Poky provides a list of site files in CONFIG_SITE whereas autoconf
2only expects one file. This patch changes autoconf to accept a list of
3them.
4
5RP 1/2/10
6
7Index: autoconf-2.65/lib/autoconf/general.m4
8===================================================================
9--- autoconf-2.65.orig/lib/autoconf/general.m4 2010-02-01 12:41:32.329073138 +0000
10+++ autoconf-2.65/lib/autoconf/general.m4 2010-02-01 12:41:56.769040799 +0000
11@@ -1863,17 +1863,10 @@
12 m4_define([AC_SITE_LOAD],
13 [# Prefer an explicitly selected file to automatically selected ones.
14 ac_site_file1=NONE
15-ac_site_file2=NONE
16 if test -n "$CONFIG_SITE"; then
17 ac_site_file1=$CONFIG_SITE
18-elif test "x$prefix" != xNONE; then
19- ac_site_file1=$prefix/share/config.site
20- ac_site_file2=$prefix/etc/config.site
21-else
22- ac_site_file1=$ac_default_prefix/share/config.site
23- ac_site_file2=$ac_default_prefix/etc/config.site
24 fi
25-for ac_site_file in "$ac_site_file1" "$ac_site_file2"
26+for ac_site_file in $ac_site_file1
27 do
28 test "x$ac_site_file" = xNONE && continue
29 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then