summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Makefile.am2
-rw-r--r--configure.ac1
-rw-r--r--m4/.gitignore2
3 files changed, 5 insertions, 0 deletions
diff --git a/Makefile.am b/Makefile.am
index 55df27e2c7..1bb2d7773b 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -17,6 +17,8 @@ EXTRA_DIST = \
CLEANFILES = \
udev-$(VERSION).tar.gz udev-$(VERSION).tar.bz2
+ACLOCAL_AMFLAGS = -I m4
+
clean-local:
rm -rf udev-test-install
diff --git a/configure.ac b/configure.ac
index f23c377df0..66dc866521 100644
--- a/configure.ac
+++ b/configure.ac
@@ -8,6 +8,7 @@ AC_GNU_SOURCE
AC_DISABLE_STATIC
AC_SYS_LARGEFILE
AC_PROG_LIBTOOL
+AC_CONFIG_MACRO_DIR([m4])
dnl /* prefix is /usr, exec_prefix is /, if overridden exec_prefix follows prefix */
AC_PREFIX_DEFAULT([/usr])
diff --git a/m4/.gitignore b/m4/.gitignore
new file mode 100644
index 0000000000..e1b74742f1
--- /dev/null
+++ b/m4/.gitignore
@@ -0,0 +1,2 @@
+libtool.m4
+lt*m4