make-3.81: fix build with automake 1.12

(From OE-Core rev: 8dbb71a8bf33c6d2494dbbb74d3e944d788eca50)

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 2012-05-04 13:23:10 -07:00 committed by Richard Purdie
parent e9e25428d4
commit bc56c0415a
2 changed files with 46 additions and 1 deletions

View File

@ -0,0 +1,43 @@
Upstream-Status: Pending
automake 1.12 has depricated automatic de-ANSI-fication support
this patch avoids these kinds of errors:
| configure.in:48: error: automatic de-ANSI-fication support has been removed
...
| Makefile.am:19: error: automatic de-ANSI-fication support has been removed
| autoreconf: automake failed with exit status: 1
| ERROR: autoreconf execution failed.
Signed-Off-By: Nitin A Kamble <nitin.a.kamble@intel.com>
2012/05/04
Index: make-3.81/configure.in
===================================================================
--- make-3.81.orig/configure.in
+++ make-3.81/configure.in
@@ -44,9 +44,6 @@ AC_AIX
AC_ISC_POSIX
AC_MINIX
-# Needed for ansi2knr
-AM_C_PROTOTYPES
-
# Enable gettext, in "external" mode.
AM_GNU_GETTEXT_VERSION(0.14.1)
Index: make-3.81/Makefile.am
===================================================================
--- make-3.81.orig/Makefile.am
+++ make-3.81/Makefile.am
@@ -16,7 +16,7 @@
# GNU Make; see the file COPYING. If not, write to the Free Software
# Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
-AUTOMAKE_OPTIONS = 1.8 dist-bzip2 check-news ansi2knr
+AUTOMAKE_OPTIONS = 1.8 dist-bzip2 check-news
ACLOCAL_AMFLAGS = -I config
MAKE_HOST = @MAKE_HOST@

View File

@ -1,4 +1,4 @@
PR = "r0"
PR = "r1"
LICENSE = "GPLv2 & LGPLv2"
LIC_FILES_CHKSUM = "file://COPYING;md5=361b6b837cad26c6900a926b62aada5f \
@ -7,6 +7,8 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=361b6b837cad26c6900a926b62aada5f \
require make.inc
SRC_URI += "file://make_fix_for_automake-1.12.patch"
SRC_URI[md5sum] = "354853e0b2da90c527e35aabb8d6f1e6"
SRC_URI[sha256sum] = "f3e69023771e23908f5d5592954d8271d3d6af09693cecfd29cee6fde8550dc8"