autoconf: upgrade from 2.65 to 2.68

And rebase the patches to the newer code.

(From OE-Core rev: aa24c1eda4b33b329d330c8bbb6d243dfd924f62)

Signed-off-by: Nitin A Kamble <nitin.a.kamble@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
Nitin A Kamble 2011-05-24 09:38:17 -07:00 committed by Richard Purdie
parent 5d359880f0
commit d0c2307bca
11 changed files with 24 additions and 15 deletions

View File

@ -6,17 +6,26 @@ them.
RP 1/2/10
Index: autoconf-2.65/lib/autoconf/general.m4
Updated for 2.68 version: the CONFIG_SITE var was not getting used at all
fixed the 2.68 code
Nitin A Kamble <nitin.a.kamble@intel.com> 2011/05/27
Index: autoconf-2.68/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 @@
--- autoconf-2.68.orig/lib/autoconf/general.m4
+++ autoconf-2.68/lib/autoconf/general.m4
@@ -1878,7 +1878,6 @@ AU_DEFUN([AC_VALIDATE_CACHED_SYSTEM_TUPL
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
# We do not want a PATH search for config.site.
case $CONFIG_SITE in @%:@((
@@ -1886,14 +1885,8 @@ if test -n "$CONFIG_SITE"; then
*/*) ac_site_file1=$CONFIG_SITE;;
*) ac_site_file1=./$CONFIG_SITE;;
esac
-elif test "x$prefix" != xNONE; then
- ac_site_file1=$prefix/share/config.site
- ac_site_file2=$prefix/etc/config.site

View File

@ -6,11 +6,11 @@ This patch removes them to stop any confusion.
RP - 20071115
Index: autoconf-2.65/lib/autoconf/libs.m4
Index: autoconf-2.68/lib/autoconf/libs.m4
===================================================================
--- autoconf-2.65.orig/lib/autoconf/libs.m4 2009-10-29 01:53:41.000000000 +0000
+++ autoconf-2.65/lib/autoconf/libs.m4 2010-01-29 13:40:13.000000000 +0000
@@ -159,53 +159,6 @@
--- autoconf-2.68.orig/lib/autoconf/libs.m4
+++ autoconf-2.68/lib/autoconf/libs.m4
@@ -159,53 +159,6 @@ m4_popdef([AC_Lib_Name])dnl
# --------------------- #
@ -32,7 +32,7 @@ Index: autoconf-2.65/lib/autoconf/libs.m4
- @echo libdir='${LIBDIR}'
-_ACEOF
- if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
- # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
- # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
- for ac_var in incroot usrlibdir libdir; do
- eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
- done
@ -64,7 +64,7 @@ Index: autoconf-2.65/lib/autoconf/libs.m4
# _AC_PATH_X_DIRECT
# -----------------
# Internal subroutine of _AC_PATH_X.
@@ -213,44 +166,7 @@
@@ -213,44 +166,7 @@ fi
m4_define([_AC_PATH_X_DIRECT],
[# Standard set of common directories for X headers.
# Check X11 before X11Rn because it is often a symlink to the current release.
@ -110,7 +110,7 @@ Index: autoconf-2.65/lib/autoconf/libs.m4
if test "$ac_x_includes" = no; then
# Guess where to find include files, by looking for Xlib.h.
@@ -299,7 +215,6 @@
@@ -299,7 +215,6 @@ AC_DEFUN([_AC_PATH_X],
[AC_CACHE_VAL(ac_cv_have_x,
[# One or both of the vars are not set, and there is no cached value.
ac_x_includes=no ac_x_libraries=no

View File

@ -1,6 +1,6 @@
require autoconf.inc
PR = "r2"
PR = "r0"
PARALLEL_MAKE = ""
@ -17,8 +17,8 @@ SRC_URI += "file://autoreconf-include.patch;patch=1 \
${@['file://path_prog_fixes.patch;patch=1', ''][bb.data.inherits_class('native', d)]} \
file://config_site.patch;patch=1"
SRC_URI[md5sum] = "a6de1cc6434cd64038b0a0ae4e252b33"
SRC_URI[sha256sum] = "db11944057f3faf229ff5d6ce3fcd819f565455c152b72cec17ebc1cbb80136b"
SRC_URI[md5sum] = "864d785215aa60d627c91fcb21b05b07"
SRC_URI[sha256sum] = "c491fb273fd6d4ca925e26ceed3d177920233c76d542b150ff35e571454332c8"
DEPENDS_virtclass-native = "m4-native gnu-config-native"
RDEPENDS_${PN}_virtclass-native = "m4-native gnu-config-native"