Use AC_CONFIG_MACRO_DIRS to specify path to the ax macros instead of passing -I to autoreconf in autogen.sh.

This commit is contained in:
Eric Haszlakiewicz
2017-09-03 22:35:58 -04:00
parent 5b11e9adff
commit 8777c9477a
2 changed files with 3 additions and 1 deletions

View File

@@ -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

View File

@@ -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