summaryrefslogtreecommitdiff
path: root/m4macros
diff options
context:
space:
mode:
authorPhilip Withnall <withnall@endlessm.com>2017-10-24 13:06:49 +0100
committerPhilip Withnall <withnall@endlessm.com>2017-10-26 12:26:14 +0100
commite130d2e511881041ecb6d956adb64ca9cabf2187 (patch)
tree78b711318ddc4def2263fbbabd528b300ad6fcc0 /m4macros
parent3a3af3d2d3163735eefe54b52edda16972418cd5 (diff)
downloadglib-e130d2e511881041ecb6d956adb64ca9cabf2187.tar.gz
build: Add #serial lines to m4 files
This helps prevent outdated copies of the m4 files being used if multiple copies are available in the search path. See https://www.gnu.org/software/automake/manual/html_node/Serials.html Signed-off-by: Philip Withnall <withnall@endlessm.com> https://bugzilla.gnome.org/show_bug.cgi?id=765552
Diffstat (limited to 'm4macros')
-rw-r--r--m4macros/glib-2.0.m43
-rw-r--r--m4macros/glib-gettext.m45
-rw-r--r--m4macros/glibtests.m43
-rw-r--r--m4macros/gsettings.m43
4 files changed, 13 insertions, 1 deletions
diff --git a/m4macros/glib-2.0.m4 b/m4macros/glib-2.0.m4
index 23f6993ba..4b1901947 100644
--- a/m4macros/glib-2.0.m4
+++ b/m4macros/glib-2.0.m4
@@ -1,6 +1,9 @@
# Configure paths for GLIB
# Owen Taylor 1997-2001
+# Increment this whenever this file is changed.
+#serial 1
+
dnl AM_PATH_GLIB_2_0([MINIMUM-VERSION, [ACTION-IF-FOUND [, ACTION-IF-NOT-FOUND [, MODULES]]]])
dnl Test for GLIB, and define GLIB_CFLAGS and GLIB_LIBS, if gmodule, gobject,
dnl gthread, or gio is specified in MODULES, pass to pkg-config
diff --git a/m4macros/glib-gettext.m4 b/m4macros/glib-gettext.m4
index dc17a98db..df6fbf012 100644
--- a/m4macros/glib-gettext.m4
+++ b/m4macros/glib-gettext.m4
@@ -25,7 +25,10 @@
#
# Modified to require ngettext
# Matthias Clasen <mclasen@redhat.com> 08/06/2004
-#
+
+# Increment this whenever this file is changed.
+#serial 1
+
# We need this here as well, since someone might use autoconf-2.5x
# to configure GLib then an older version to configure a package
# using AM_GLIB_GNU_GETTEXT
diff --git a/m4macros/glibtests.m4 b/m4macros/glibtests.m4
index 7d5920a43..581726a51 100644
--- a/m4macros/glibtests.m4
+++ b/m4macros/glibtests.m4
@@ -1,3 +1,6 @@
+# Increment this whenever this file is changed.
+#serial 1
+
dnl GLIB_TESTS
dnl
diff --git a/m4macros/gsettings.m4 b/m4macros/gsettings.m4
index 35ee5aa92..03c16fb80 100644
--- a/m4macros/gsettings.m4
+++ b/m4macros/gsettings.m4
@@ -1,3 +1,6 @@
+# Increment this whenever this file is changed.
+#serial 1
+
dnl GLIB_GSETTINGS
dnl Defines GSETTINGS_SCHEMAS_INSTALL which controls whether
dnl the schema should be compiled