]> Gitweb @ Texas Instruments - Open Source Git Repositories - git.TI.com/gitweb - glsdk/dri2proto.git/commitdiff
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 afc8170319ff6b1419b393b74344f1268ae8aa14..d8f6bc854d87edd6c18ec027e88c19792e2f2f8d 100644 (file)
@@ -3,11 +3,11 @@ AC_INIT([DRI2Proto], [2.1], [https://bugs.freedesktop.org/enter_bug.cgi?product=
 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
            dri2proto.pc])