1 diff --git a/Makefile.am b/Makefile.am
2 index a275f01..74fbaa1 100644
5 @@ -35,7 +35,7 @@ EXTRA_DIST = LICENSE HACKING GUILE-VERSION FAQ guile-1.8.pc.in
9 -ACLOCAL_AMFLAGS = -I guile-config
10 +ACLOCAL_AMFLAGS = -I m4 -I guile-config
12 DISTCLEANFILES = check-guile.log
14 diff --git a/configure.in b/configure.in
15 index 276172f..84560b7 100644
18 @@ -38,6 +38,7 @@ AC_INIT(patsubst(m4_esyscmd(. ./GUILE-VERSION && echo ${PACKAGE}),[
21 AC_CONFIG_AUX_DIR([build-aux])
22 +AC_CONFIG_MACRO_DIR([guile-config])
23 AC_CONFIG_MACRO_DIR([m4])
24 AC_CONFIG_SRCDIR(GUILE-VERSION)
26 diff --git a/guile-readline/Makefile.am b/guile-readline/Makefile.am
27 index f1f0387..4d2c88e 100644
28 --- a/guile-readline/Makefile.am
29 +++ b/guile-readline/Makefile.am
34 +ACLOCAL_AMFLAGS = -I m4
36 ## Prevent automake from adding extra -I options
37 DEFS = @DEFS@ @EXTRA_DEFS@
38 ## Check for headers in $(srcdir)/.., so that #include
39 diff --git a/guile-readline/configure.in b/guile-readline/configure.in
40 index 9098a31..aba1a54 100644
41 --- a/guile-readline/configure.in
42 +++ b/guile-readline/configure.in
43 @@ -9,6 +9,7 @@ AC_INIT(guile-readline,
45 AC_CONFIG_AUX_DIR([.])
46 AC_CONFIG_SRCDIR(readline.c)
47 +AC_CONFIG_MACRO_DIR([m4])
48 AM_CONFIG_HEADER([guile-readline-config.h])
49 AM_INIT_AUTOMAKE([foreign no-define])