Skip to content

Commit

Permalink
configure.ac: Add AC_CONFIG_MACRO_DIR
Browse files Browse the repository at this point in the history
Otherwise macros in m4 directory are not found on autoreconf

Signed-off-by: Cyril Hrubis <[email protected]>
  • Loading branch information
metan-ucw committed Jul 15, 2014
1 parent 18594de commit edbae29
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions configure.ac
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ AC_INIT([ltp], [LTP_VERSION], [[email protected]])
AC_CONFIG_AUX_DIR([.])
AM_INIT_AUTOMAKE
AC_CONFIG_HEADERS([include/config.h])
AC_CONFIG_MACRO_DIR([m4])
AC_CONFIG_FILES([ \
include/mk/config.mk \
include/mk/features.mk \
Expand Down
2 changes: 1 addition & 1 deletion include/mk/automake.mk
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ autotools: aclocal autoconf autoheader automake $(addsuffix /configure,$(AUTOCON
aclocal: aclocal.m4

aclocal.m4: $(wildcard m4/*.m4) m4/ltp-version.m4
$(ACLOCAL) -I m4
$(ACLOCAL)

.PHONY: autoconf
autoconf: configure
Expand Down

0 comments on commit edbae29

Please sign in to comment.