Patrick Williams | b48b7b4 | 2016-08-17 15:04:38 -0500 | [diff] [blame^] | 1 | Replace obsoleted AM_CONFIG_HEADER flagged by autoconf 2.69 |
| 2 | locale.h check was picked from old gettext macros but with new aclocal |
| 3 | it picks the right 0.18 gettext.m4 and does not get the check |
| 4 | therefore we explicitly add it to configure.ac |
| 5 | |
| 6 | Upstream-Status: Pending |
| 7 | |
| 8 | Signed-off-by: Khem Raj <raj.khem@gmail.com> |
| 9 | |
| 10 | Index: netcat-0.7.1/configure.ac |
| 11 | =================================================================== |
| 12 | --- netcat-0.7.1.orig/configure.ac 2013-01-18 01:30:01.928069739 -0800 |
| 13 | +++ netcat-0.7.1/configure.ac 2013-01-18 01:32:50.568073009 -0800 |
| 14 | @@ -26,8 +26,7 @@ |
| 15 | AC_PREREQ(2.53) |
| 16 | |
| 17 | dnl without this order in this file, automake will be confused! |
| 18 | -AM_CONFIG_HEADER(config.h) |
| 19 | - |
| 20 | +AC_CONFIG_HEADERS(config.h) |
| 21 | dnl check for programs. first the c compiler. |
| 22 | AC_PROG_CC |
| 23 | AC_PROG_CPP |
| 24 | @@ -56,7 +55,7 @@ |
| 25 | AC_LBL_LIBRARY_NET |
| 26 | |
| 27 | dnl Fortunately we have Solaris... |
| 28 | -AC_CHECK_HEADERS(sys/sockio.h) |
| 29 | +AC_CHECK_HEADERS(sys/sockio.h locale.h) |
| 30 | |
| 31 | AC_CHECK_FUNCS(srandom random) |
| 32 | if test $ac_cv_func_srandom = no; then |