summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Hutterer <peter.hutterer@who-t.net>2009-09-01 10:33:37 +1000
committerPeter Hutterer <peter.hutterer@who-t.net>2009-09-02 09:09:59 +1000
commit4c91617d964915005634339afa24b04ec8a2f801 (patch)
treee9512711f032db4f21aa416185b63d3c9a78b045
parent3b7dd69d0bf6bc19f0e4403bb6611de87497aac3 (diff)
Add XORG_DEFAULT_OPTIONS meta-macro.
Many modules use the same set of m4 macros. Additions to the macros require updating the configure.ac for each module affected. In the case of e.g. protos and libs this means updating every single module. This patch adds a XORG_DEFAULT_OPTIONS meta-macro that uses the other macros defined. Macros can be added to this meta-macro and modules immediately get to make use of it - without changes required to configure.ac. Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
-rw-r--r--xorg-macros.m4.in14
1 files changed, 14 insertions, 0 deletions
diff --git a/xorg-macros.m4.in b/xorg-macros.m4.in
index 5c22332..2b3e5c2 100644
--- a/xorg-macros.m4.in
+++ b/xorg-macros.m4.in
@@ -485,3 +485,17 @@ fi
CWARNFLAGS="$CWARNFLAGS $STRICT_CFLAGS"
AC_SUBST([CWARNFLAGS])
]) # XORG_STRICT_OPTION
+
+# XORG_DEFAULT_OPTIONS
+# --------------------
+# Minimum version: 1.3.0
+#
+# Defines default options for X.Org modules.
+#
+AC_DEFUN([XORG_DEFAULT_OPTIONS], [
+XORG_CWARNFLAGS
+XORG_STRICT_OPTION
+XORG_RELEASE_VERSION
+XORG_CHANGELOG
+XORG_MANPAGE_SECTIONS
+]) # XORG_DEFAULT_OPTIONS