build: use AC_CONFIG_MACRO_DIR as per libtoolize warning
authorJan Engelhardt <jengelh@medozas.de>
Thu, 11 Nov 2010 22:02:11 +0000 (23:02 +0100)
committerJan Engelhardt <jengelh@medozas.de>
Thu, 11 Nov 2010 22:21:34 +0000 (23:21 +0100)
libtoolize: Consider adding "AC_CONFIG_MACRO_DIR([m4])" to configure.ac and
libtoolize: rerunning libtoolize, to keep the correct libtool macros in-tree.
libtoolize: Consider adding "-I m4" to ACLOCAL_AMFLAGS in Makefile.am.

Signed-off-by: Jan Engelhardt <jengelh@medozas.de>
Makefile.am
configure.ac
m4/.gitignore [new file with mode: 0644]

index 6c97739..80a4553 100644 (file)
@@ -1,3 +1,5 @@
+ACLOCAL_AMFLAGS = -I m4
+
 SUBDIRS = include src test
 
 pkgconfigdir = $(libdir)/pkgconfig
index 670700f..7669027 100644 (file)
@@ -26,6 +26,7 @@ AC_INIT([libxkbcommon], [0.1.0],
 AM_INIT_AUTOMAKE([dist-bzip2 foreign])
 AM_SILENT_RULES([yes])
 AC_CONFIG_HEADERS([src/config.h])
+AC_CONFIG_MACRO_DIR([m4])
 
 AC_PROG_LIBTOOL
 AC_PROG_CC
diff --git a/m4/.gitignore b/m4/.gitignore
new file mode 100644 (file)
index 0000000..8d0c756
--- /dev/null
@@ -0,0 +1,2 @@
+/lt*.m4
+/libtool.m4