build: add m4 directory
authorVíctor Manuel Jáquez Leal <victorx.jaquez@intel.com>
Wed, 24 Feb 2016 11:36:33 +0000 (12:36 +0100)
committerVíctor Manuel Jáquez Leal <victorx.jaquez@intel.com>
Wed, 24 Feb 2016 11:42:08 +0000 (12:42 +0100)
Instead of rely on the automatic creation of m4 directory by aclocal, we
already control it. Later we could create our own m4 scripts in order to
unclutter configure.ac

https://bugzilla.gnome.org/show_bug.cgi?id=762528

Makefile.am
configure.ac
m4/Makefile.am [new file with mode: 0644]

index 5db5e1f..87f8a36 100644 (file)
@@ -1,6 +1,6 @@
-ACLOCAL_AMFLAGS = -I m4 -I common/m4 ${ACLOCAL_FLAGS}
+ACLOCAL_AMFLAGS = -I m4 -I common/m4
 
-SUBDIRS = gst-libs gst tests common docs
+SUBDIRS = gst-libs gst tests m4 common docs
 
 DISTCHECK_CONFIGURE_FLAGS=--enable-gtk-doc
 
index 65dd2fa..d7c2022 100644 (file)
@@ -973,6 +973,7 @@ AC_CONFIG_FILES([
     Makefile
     common/Makefile
     common/m4/Makefile
+    m4/Makefile
     docs/Makefile
     docs/version.entities
     docs/plugins/Makefile
diff --git a/m4/Makefile.am b/m4/Makefile.am
new file mode 100644 (file)
index 0000000..af864e3
--- /dev/null
@@ -0,0 +1 @@
+EXTRA_DIST = $(wildcard *.m4)