From: Eric Haszlakiewicz Date: Mon, 4 Sep 2017 02:35:58 +0000 (-0400) Subject: Use AC_CONFIG_MACRO_DIRS to specify path to the ax macros instead of passing -I to... X-Git-Tag: json-c-0.13-20171207~57 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8777c9477a86beeeffe87afe7d3991b3a9298862;p=thirdparty%2Fjson-c.git Use AC_CONFIG_MACRO_DIRS to specify path to the ax macros instead of passing -I to autoreconf in autogen.sh. --- diff --git a/autogen.sh b/autogen.sh index ae2a3e16..69e765a6 100755 --- a/autogen.sh +++ b/autogen.sh @@ -1,5 +1,5 @@ #!/bin/sh -autoreconf -Iautoconf-archive/m4 -v --install || exit 1 +autoreconf -v --install || exit 1 # If there are any options, assume the user wants to run configure. # To run configure w/o any options, use ./autogen.sh --configure diff --git a/configure.ac b/configure.ac index 4f507ffb..e909cf22 100644 --- a/configure.ac +++ b/configure.ac @@ -5,6 +5,8 @@ AC_INIT([json-c], 0.12.99, [json-c@googlegroups.com]) AM_INIT_AUTOMAKE +AC_CONFIG_MACRO_DIRS([autoconf-archive/m4]) + AC_PROG_MAKE_SET AC_CANONICAL_HOST