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.ac:127: 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.ac:127: the top level |
| 10 | | autom4te: m4 failed with exit status: 1 |
| 11 | ... |
| 12 | | Makefile.am:27: error: automatic de-ANSI-fication support has been removed |
| 13 | |
| 14 | Signed-Off-By: Nitin A Kamble <nitin.a.kamble@intel.com> |
| 15 | 2012/05/04 |
| 16 | |
| 17 | Index: gawk-3.1.5/configure.ac |
| 18 | =================================================================== |
| 19 | --- gawk-3.1.5.orig/configure.ac |
| 20 | +++ gawk-3.1.5/configure.ac |
| 21 | @@ -124,7 +124,6 @@ fi |
| 22 | |
| 23 | dnl check for C compiler for automake |
| 24 | AM_PROG_CC_STDC |
| 25 | -AM_C_PROTOTYPES |
| 26 | |
| 27 | dnl Cygwin doesn't like to get libs with full paths |
| 28 | dnl since that overrides linking against DLLs. |
| 29 | Index: gawk-3.1.5/Makefile.am |
| 30 | =================================================================== |
| 31 | --- gawk-3.1.5.orig/Makefile.am |
| 32 | +++ gawk-3.1.5/Makefile.am |
| 33 | @@ -24,7 +24,7 @@ |
| 34 | ## process this file with automake to produce Makefile.in |
| 35 | |
| 36 | # Automatic de-ANSI-fication if needed, make .bz2 files also. |
| 37 | -AUTOMAKE_OPTIONS = ansi2knr dist-bzip2 |
| 38 | +AUTOMAKE_OPTIONS = dist-bzip2 |
| 39 | |
| 40 | # This undocumented variable insures that aclocal runs |
| 41 | # correctly after changing configure.ac |