From 8777c9477a86beeeffe87afe7d3991b3a9298862 Mon Sep 17 00:00:00 2001 From: Eric Haszlakiewicz Date: Sun, 3 Sep 2017 22:35:58 -0400 Subject: [PATCH] Use AC_CONFIG_MACRO_DIRS to specify path to the ax macros instead of passing -I to autoreconf in autogen.sh. --- autogen.sh | 2 +- configure.ac | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/autogen.sh b/autogen.sh index ae2a3e1651..69e765a602 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 4f507ffb6a..e909cf22f8 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