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 <[email protected]> --- xorg-macros.m4.in | 15 +++++++++++++++ 1 files changed, 15 insertions(+), 0 deletions(-) diff --git a/xorg-macros.m4.in b/xorg-macros.m4.in index 5c22332..ef9f34f 100644 --- a/xorg-macros.m4.in +++ b/xorg-macros.m4.in @@ -485,3 +485,18 @@ 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_CHECK_MALLOC_ZERO +XORG_RELEASE_VERSION +XORG_CHANGELOG +XORG_MANPAGE_SECTIONS +]) # XORG_DEFAULT_OPTIONS -- 1.6.3.rc1.2.g0164.dirty _______________________________________________ xorg-devel mailing list [email protected] http://lists.x.org/mailman/listinfo/xorg-devel
