summaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
authorAlan Coopersmith <alan.coopersmith@sun.com>2009-10-06 13:03:25 -0700
committerAlan Coopersmith <alan.coopersmith@sun.com>2009-10-06 13:03:25 -0700
commitb7be4a976a59f3149590cf62a2ea8144aa729c2a (patch)
tree447d4fe3c8253da2ea3c18debe280bc862578ae6 /configure.ac
parent18c5e2ff1097880e8dea951079ae49a93ec315b0 (diff)
Migrate to xorg macros 1.3 & XORG_DEFAULT_OPTIONS
Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com>
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac11
1 files changed, 4 insertions, 7 deletions
diff --git a/configure.ac b/configure.ac
index c6b6ca6..bd096f4 100644
--- a/configure.ac
+++ b/configure.ac
@@ -36,9 +36,9 @@ AM_INIT_AUTOMAKE([foreign dist-bzip2])
AM_CONFIG_HEADER(config.h)
AC_CONFIG_HEADERS([include/X11/fonts/fontconf.h])
-# Require xorg-macros version >= 1.2.0 for XORG_CWARNFLAGS & XORG_CHANGELOG
+# Require xorg-macros version >= 1.3.0 for XORG_DEFAULT_OPTIONS
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_MACROS_VERSION(1.3)
# Check for progs
AC_PROG_CC
@@ -47,6 +47,8 @@ dnl If the first PKG_CHECK_MODULES appears inside a conditional, pkg-config
dnl must first be located explicitly.
PKG_PROG_PKG_CONFIG
+XORG_DEFAULT_OPTIONS
+
# Look for headers
AC_CHECK_HEADERS([endian.h poll.h sys/poll.h])
AC_CHECK_FUNCS([poll])
@@ -189,8 +191,6 @@ PKG_CHECK_MODULES(XFONT, xproto xtrans fontsproto fontenc)
# Transport selection macro from xtrans.m4
XTRANS_CONNECTION_FLAGS
-XORG_CWARNFLAGS
-
case $host_os in
linux*)
OS_CFLAGS="-D_XOPEN_SOURCE"
@@ -204,9 +204,6 @@ case $host_os in
esac
AC_SUBST([OS_CFLAGS])
-XORG_RELEASE_VERSION
-XORG_CHANGELOG
-
AC_OUTPUT([Makefile
src/Makefile
src/fontfile/Makefile