]> code.ossystems Code Review - openembedded-core.git/commitdiff
autoconf: upgrade from 2.65 to 2.68
authorNitin A Kamble <nitin.a.kamble@intel.com>
Tue, 24 May 2011 16:38:17 +0000 (09:38 -0700)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Mon, 6 Jun 2011 14:52:15 +0000 (15:52 +0100)
And rebase the patches to the newer code.

Signed-off-by: Nitin A Kamble <nitin.a.kamble@intel.com>
meta/recipes-devtools/autoconf/autoconf/autoconf-x.patch [moved from meta/recipes-devtools/autoconf/autoconf-2.65/autoconf-x.patch with 100% similarity]
meta/recipes-devtools/autoconf/autoconf/autoheader-nonfatal-warnings.patch [moved from meta/recipes-devtools/autoconf/autoconf-2.65/autoheader-nonfatal-warnings.patch with 100% similarity]
meta/recipes-devtools/autoconf/autoconf/autoreconf-exclude.patch [moved from meta/recipes-devtools/autoconf/autoconf-2.65/autoreconf-exclude.patch with 100% similarity]
meta/recipes-devtools/autoconf/autoconf/autoreconf-foreign.patch [moved from meta/recipes-devtools/autoconf/autoconf-2.65/autoreconf-foreign.patch with 100% similarity]
meta/recipes-devtools/autoconf/autoconf/autoreconf-gnuconfigize.patch [moved from meta/recipes-devtools/autoconf/autoconf-2.65/autoreconf-gnuconfigize.patch with 100% similarity]
meta/recipes-devtools/autoconf/autoconf/autoreconf-include.patch [moved from meta/recipes-devtools/autoconf/autoconf-2.65/autoreconf-include.patch with 100% similarity]
meta/recipes-devtools/autoconf/autoconf/config_site.patch [moved from meta/recipes-devtools/autoconf/autoconf-2.65/config_site.patch with 60% similarity]
meta/recipes-devtools/autoconf/autoconf/fix_path_xtra.patch [moved from meta/recipes-devtools/autoconf/autoconf-2.65/fix_path_xtra.patch with 90% similarity]
meta/recipes-devtools/autoconf/autoconf/path_prog_fixes.patch [moved from meta/recipes-devtools/autoconf/autoconf-2.65/path_prog_fixes.patch with 100% similarity]
meta/recipes-devtools/autoconf/autoconf/program_prefix.patch [moved from meta/recipes-devtools/autoconf/autoconf-2.65/program_prefix.patch with 100% similarity]
meta/recipes-devtools/autoconf/autoconf_2.68.bb [moved from meta/recipes-devtools/autoconf/autoconf_2.65.bb with 85% similarity]

similarity index 60%
rename from meta/recipes-devtools/autoconf/autoconf-2.65/config_site.patch
rename to meta/recipes-devtools/autoconf/autoconf/config_site.patch
index e3ff318bbebcff3b41eade3a4211d1a104d86ec7..9f044404ddd98dd76a135bbc239f7eaedc7d0546 100644 (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
similarity index 90%
rename from meta/recipes-devtools/autoconf/autoconf-2.65/fix_path_xtra.patch
rename to meta/recipes-devtools/autoconf/autoconf/fix_path_xtra.patch
index 29fe6a27bb0d075787711f68050204ae8a4c4eb0..65df88f8f984fa69fac272c9d455a93b324e98d8 100644 (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
similarity index 85%
rename from meta/recipes-devtools/autoconf/autoconf_2.65.bb
rename to meta/recipes-devtools/autoconf/autoconf_2.68.bb
index 0bc615e58c87d9ffd27722b37e55ab3d82457b7f..c647a1511114dc73882a2d47b93a7f02e7e81313 100644 (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"