summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--configure.ac7
1 files changed, 4 insertions, 3 deletions
diff --git a/configure.ac b/configure.ac
index b877fb0..607647b 100644
--- a/configure.ac
+++ b/configure.ac
@@ -37,12 +37,16 @@ AC_CONFIG_FILES([shave shave-libtool])
DRIVER_NAME=synaptics
AC_SUBST([DRIVER_NAME])
+# Require xorg-macros: XORG_DEFAULT_OPTIONS
+m4_ifndef([XORG_MACROS_VERSION], [AC_FATAL([must install xorg-macros 1.3 or later before running autoconf/autogen])])
+XORG_MACROS_VERSION(1.3)
AM_CONFIG_HEADER([config.h])
# Checks for programs.
AC_DISABLE_STATIC
AC_PROG_LIBTOOL
AC_PROG_CC
+XORG_DEFAULT_OPTIONS
AC_MSG_CHECKING([which optional backends will be build])
case "${host}" in
@@ -121,9 +125,6 @@ AC_SUBST(BUILD_TOOLS)
# Checks for header files.
AC_HEADER_STDC
-XORG_MANPAGE_SECTIONS
-XORG_RELEASE_VERSION
-
SHAVE_INIT(.,enable)
AC_OUTPUT([Makefile