From: Thomas Gstädtner Date: Sat, 2 Mar 2013 23:17:25 +0000 (+0100) Subject: configure.in: mv AM_CONFIG_HEADER to AC_CONFIG_HEADER X-Git-Tag: json-c-0.11-20130402~11^2 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=36ec47db49277f4a5eda30823cf6d1f238f34991;p=json-c configure.in: mv AM_CONFIG_HEADER to AC_CONFIG_HEADER the former has been deprecated and does not work on newer autoconf versions. --- diff --git a/configure.in b/configure.in index 1a428b6..d68d7a1 100644 --- a/configure.in +++ b/configure.in @@ -20,8 +20,8 @@ AM_CONDITIONAL(ENABLE_OLDNAME_COMPAT, [test "x${enable_oldname_compat}" != "xno" # Checks for libraries. # Checks for header files. -AM_CONFIG_HEADER(config.h) -AM_CONFIG_HEADER(json_config.h) +AC_CONFIG_HEADER(config.h) +AC_CONFIG_HEADER(json_config.h) AC_HEADER_STDC AC_CHECK_HEADERS(fcntl.h limits.h strings.h syslog.h unistd.h [sys/cdefs.h] [sys/param.h] stdarg.h locale.h) AC_CHECK_HEADER(inttypes.h,[AC_DEFINE([JSON_C_HAVE_INTTYPES_H],[1],[Public define for json_inttypes.h])])