diff options
author | Richard Purdie <rpurdie@linux.intel.com> | 2010-02-01 12:47:29 +0000 |
---|---|---|
committer | Richard Purdie <rpurdie@linux.intel.com> | 2010-02-01 12:47:29 +0000 |
commit | 769baa11436400d570b66ec7d0b0adf149ad10f5 (patch) | |
tree | 991bb00759e5a8db98bffb87fc9d33c576887912 /meta/packages/autoconf/autoconf-2.65/config_site.patch | |
parent | 09ab7da4f9bf3cbd15cf6067a471d7752e3be105 (diff) | |
download | openembedded-core-769baa11436400d570b66ec7d0b0adf149ad10f5.tar.gz openembedded-core-769baa11436400d570b66ec7d0b0adf149ad10f5.tar.bz2 openembedded-core-769baa11436400d570b66ec7d0b0adf149ad10f5.zip |
autoconf-2.65: Ensure autoconf sees our site cache
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
Diffstat (limited to 'meta/packages/autoconf/autoconf-2.65/config_site.patch')
-rw-r--r-- | meta/packages/autoconf/autoconf-2.65/config_site.patch | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/meta/packages/autoconf/autoconf-2.65/config_site.patch b/meta/packages/autoconf/autoconf-2.65/config_site.patch new file mode 100644 index 0000000000..8a90cd3307 --- /dev/null +++ b/meta/packages/autoconf/autoconf-2.65/config_site.patch @@ -0,0 +1,29 @@ +Poky provides a list of site files in CONFIG_SITE whereas autoconf +only expects one file. This patch changes autoconf to accept a list of +them. + +RP 1/2/10 + +Index: autoconf-2.65/lib/autoconf/general.m4 +=================================================================== +--- autoconf-2.65.orig/lib/autoconf/general.m4 2010-02-01 12:41:32.329073138 +0000 ++++ autoconf-2.65/lib/autoconf/general.m4 2010-02-01 12:41:56.769040799 +0000 +@@ -1863,17 +1863,10 @@ + m4_define([AC_SITE_LOAD], + [# Prefer an explicitly selected file to automatically selected ones. + ac_site_file1=NONE +-ac_site_file2=NONE + if test -n "$CONFIG_SITE"; then + ac_site_file1=$CONFIG_SITE +-elif test "x$prefix" != xNONE; then +- ac_site_file1=$prefix/share/config.site +- ac_site_file2=$prefix/etc/config.site +-else +- ac_site_file1=$ac_default_prefix/share/config.site +- ac_site_file2=$ac_default_prefix/etc/config.site + fi +-for ac_site_file in "$ac_site_file1" "$ac_site_file2" ++for ac_site_file in $ac_site_file1 + do + test "x$ac_site_file" = xNONE && continue + if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then |