package json-c: replace deprectaed AM_CONFIG_HEADER with

AC_CONFIG_HEADERS
This commit is contained in:
Tony Theodore 2013-03-23 19:03:46 +11:00
parent f92f8bf2bc
commit a415a179c8
1 changed files with 18 additions and 0 deletions

View File

@ -0,0 +1,18 @@
This file is part of MXE.
See index.html for further information.
diff -ur json-c-0.10.orig/configure.in json-c-0.10/configure.in
--- json-c-0.10.orig/configure.in 2013-03-23 18:58:41.000000000 +1100
+++ json-c-0.10/configure.in 2013-03-23 18:59:33.000000000 +1100
@@ -12,8 +12,8 @@
# Checks for libraries.
# Checks for header files.
-AM_CONFIG_HEADER(config.h)
-AM_CONFIG_HEADER(json_config.h)
+AC_CONFIG_HEADERS(config.h)
+AC_CONFIG_HEADERS(json_config.h)
AC_HEADER_STDC
AC_CHECK_HEADERS(fcntl.h limits.h strings.h syslog.h unistd.h [sys/param.h] stdarg.h)
AC_CHECK_HEADER(inttypes.h,[AC_DEFINE([JSON_C_HAVE_INTTYPES_H],[1],[Public define for json_inttypes.h])])