Patrick Williams | c124f4f | 2015-09-15 14:41:29 -0500 | [diff] [blame] | 1 | Upstream-Status: Pending |
| 2 | |
| 3 | automake 1.12 has depricated automatic de-ANSI-fication support |
| 4 | |
| 5 | this patch avoids these kinds of errors: |
| 6 | |
| 7 | | configure.in:33: error: automatic de-ANSI-fication support has been removed |
| 8 | | /srv/home/nitin/builds/build-gcc47/tmp/sysroots/x86_64-linux/usr/share/aclocal-1.12/protos.m4:12: AM_C_PROTOTYPES is expanded from... |
| 9 | | configure.in:33: the top level |
| 10 | | autom4te: m4 failed with exit status: 1 |
| 11 | ... |
| 12 | | lib/Makefile.am:2: error: automatic de-ANSI-fication support has been removed |
| 13 | | src/Makefile.am:2: error: automatic de-ANSI-fication support has been removed |
| 14 | | autoreconf: automake failed with exit status: 1 |
| 15 | |
| 16 | Signed-Off-By: Nitin A Kamble <nitin.a.kamble@intel.com> |
| 17 | 2012/05/04 |
| 18 | |
| 19 | Index: grep-2.5.1a/configure.in |
| 20 | =================================================================== |
| 21 | --- grep-2.5.1a.orig/configure.in |
| 22 | +++ grep-2.5.1a/configure.in |
| 23 | @@ -30,7 +30,6 @@ AC_PROG_RANLIB |
| 24 | |
| 25 | dnl Checks for typedefs, structures, and compiler characteristics. |
| 26 | AC_SYS_LARGEFILE |
| 27 | -AM_C_PROTOTYPES |
| 28 | AC_TYPE_SIZE_T |
| 29 | AC_CHECK_TYPE(ssize_t, int) |
| 30 | AC_C_CONST |
| 31 | Index: grep-2.5.1a/lib/Makefile.am |
| 32 | =================================================================== |
| 33 | --- grep-2.5.1a.orig/lib/Makefile.am |
| 34 | +++ grep-2.5.1a/lib/Makefile.am |
| 35 | @@ -1,5 +1,5 @@ |
| 36 | # |
| 37 | -AUTOMAKE_OPTIONS = ../src/ansi2knr |
| 38 | +AUTOMAKE_OPTIONS = |
| 39 | |
| 40 | SUBDIRS = posix |
| 41 | |
| 42 | Index: grep-2.5.1a/src/Makefile.am |
| 43 | =================================================================== |
| 44 | --- grep-2.5.1a.orig/src/Makefile.am |
| 45 | +++ grep-2.5.1a/src/Makefile.am |
| 46 | @@ -1,5 +1,5 @@ |
| 47 | ## Process this file with automake to create Makefile.in |
| 48 | -AUTOMAKE_OPTIONS = ansi2knr no-dependencies |
| 49 | +AUTOMAKE_OPTIONS = no-dependencies |
| 50 | |
| 51 | LN = ln |
| 52 | |