Skip to content

Commit

Permalink
Build System: Handle local macros via AC_CONFIG_MACRO_DIRS
Browse files Browse the repository at this point in the history
According to [1], this is the recommended way of handling local macros.

For some packagers, using the previous way broke autoreconf.

[1]: <https://www.gnu.org/software/automake/manual/html_node/Local-Macros.html>
  • Loading branch information
Unit193 authored and maxteufel committed Feb 7, 2018
1 parent 8361df5 commit 632e1e3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion autogen.sh
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ parse_options "$@"

cd $TOP_DIR

run_or_die $ACLOCAL -I m4
run_or_die $ACLOCAL
run_or_die $AUTOHEADER
run_or_die $AUTOCONF

Expand Down
1 change: 1 addition & 0 deletions configure.ac
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ AC_PREREQ([2.69])
AC_INIT([libmowgli-2],[2.1.3],[https://github.com/atheme/libmowgli-2])
AC_CONFIG_SRCDIR([src])
AC_CONFIG_HEADER([src/libmowgli/platform/autoconf.h])
AC_CONFIG_MACRO_DIR([m4])

AC_CANONICAL_HOST
AC_CANONICAL_TARGET
Expand Down

0 comments on commit 632e1e3

Please sign in to comment.