configure.ac: deploy the new XORG_DEFAULT_OPTIONS #24242
authorGaetan Nadon <memsize@videotron.ca>
Sun, 15 Nov 2009 23:11:36 +0000 (18:11 -0500)
committerGaetan Nadon <memsize@videotron.ca>
Sun, 15 Nov 2009 23:11:36 +0000 (18:11 -0500)
This macro aggregate a number of existing macros that sets commmon
X.Org components configuration options. It shields the configuration file from
future changes.

configure.ac

index c993963..9f706bc 100644 (file)
@@ -3,11 +3,11 @@ AC_INIT([VideoProto], [2.3.0], [https://bugs.freedesktop.org/enter_bug.cgi?produ
 AM_INIT_AUTOMAKE([foreign dist-bzip2])
 AM_MAINTAINER_MODE
 
-# Require xorg-macros: XORG_CHANGELOG
-m4_ifndef([XORG_MACROS_VERSION], [AC_FATAL([must install xorg-macros 1.2 or later before running autoconf/autogen])])
-XORG_MACROS_VERSION(1.2)
-XORG_RELEASE_VERSION
-XORG_CHANGELOG
+# Require xorg-macros: XORG_DEFAULT_OPTIONS
+m4_ifndef([XORG_MACROS_VERSION],
+          [m4_fatal([must install xorg-macros 1.3 or later before running autoconf/autogen])])
+XORG_MACROS_VERSION(1.3)
+XORG_DEFAULT_OPTIONS
 
 AC_OUTPUT([Makefile
            videoproto.pc])