autoconf_2.61.bb : fix a "bug" in autoconf where it treated CONFIG_SITE
authorGraeme Gregory <dp@xora.org.uk>
Tue, 10 Jul 2007 14:13:57 +0000 (14:13 +0000)
committerGraeme Gregory <dp@xora.org.uk>
Tue, 10 Jul 2007 14:13:57 +0000 (14:13 +0000)
as a single filename instead of splitting it into individual filenames.
This stopped autoconf 2.61 loading the site files.

packages/autoconf/autoconf-2.61/config-site.patch [new file with mode: 0644]
packages/autoconf/autoconf_2.61.bb

diff --git a/packages/autoconf/autoconf-2.61/config-site.patch b/packages/autoconf/autoconf-2.61/config-site.patch
new file mode 100644 (file)
index 0000000..0fa4972
--- /dev/null
@@ -0,0 +1,13 @@
+Index: autoconf-2.61/lib/autoconf/general.m4
+===================================================================
+--- autoconf-2.61.orig/lib/autoconf/general.m4 2007-07-10 15:09:01.000000000 +0100
++++ autoconf-2.61/lib/autoconf/general.m4      2007-07-10 15:09:17.000000000 +0100
+@@ -1767,7 +1767,7 @@
+ m4_define([AC_SITE_LOAD],
+ [# Prefer explicitly selected file to automatically selected ones.
+ if test -n "$CONFIG_SITE"; then
+-  set x "$CONFIG_SITE"
++  set x $CONFIG_SITE
+ elif test "x$prefix" != xNONE; then
+   set x "$prefix/share/config.site" "$prefix/etc/config.site"
+ else
index 370315f..e6a452c 100644 (file)
@@ -8,6 +8,7 @@ SRC_URI += "file://autoreconf-include.patch;patch=1 \
           file://autoreconf-foreign.patch;patch=1 \
           file://autoreconf-gnuconfigize.patch;patch=1 \
           file://autoheader-nonfatal-warnings.patch;patch=1 \
+          file://config-site.patch;patch=1 \
           ${@['file://path_prog_fixes.patch;patch=1', ''][bb.data.inherits_class('native', d)]}"
 
 DEFAULT_PREFERENCE = "-1"