summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYaakov Selkowitz <yselkowitz@users.sourceforge.net>2011-08-24 23:16:20 -0500
committerYaakov Selkowitz <yselkowitz@users.sourceforge.net>2011-08-24 23:34:31 -0500
commit7509195a41c01eb723d15cace063576ef705702e (patch)
tree778257ae347c4b7b7f1f4f8cc9e0f8341aad0d72
parent3d64c7782d03530d0f03b194680696f230d7dcc2 (diff)
Use XORG_DEFAULT_OPTIONS
Signed-off-by: Yaakov Selkowitz <yselkowitz@users.sourceforge.net> Reviewed-by: Gaetan Nadon <memsize@videotron.ca>
-rw-r--r--configure.ac6
1 files changed, 6 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac
index 550f3fe..812d759 100644
--- a/configure.ac
+++ b/configure.ac
@@ -13,6 +13,12 @@ AC_PROG_YACC
# Initialize libtool
AC_PROG_LIBTOOL
+# Require xorg-macros minimum of 1.8 for XORG_DEFAULT_OPTIONS with XORG_INSTALL
+m4_ifndef([XORG_MACROS_VERSION],
+ [m4_fatal([must install xorg-macros 1.8 or later before running autoconf/autogen])])
+XORG_MACROS_VERSION(1.8)
+XORG_DEFAULT_OPTIONS
+
# Some compilers do not support per target -c and -o flags
AM_PROG_CC_C_O