Skip to content

Commit

Permalink
Use AC_CONFIG_MACRO_DIRS to specify path to the ax macros instead of …
Browse files Browse the repository at this point in the history
…passing -I to autoreconf in autogen.sh.
  • Loading branch information
hawicz committed Sep 4, 2017
1 parent 5b11e9a commit 8777c94
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion 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
Expand Down
2 changes: 2 additions & 0 deletions configure.ac
Expand Up @@ -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
Expand Down

0 comments on commit 8777c94

Please sign in to comment.