summaryrefslogtreecommitdiff
path: root/driver/xf86-video-wildcatfb/configure.ac
diff options
context:
space:
mode:
Diffstat (limited to 'driver/xf86-video-wildcatfb/configure.ac')
-rw-r--r--driver/xf86-video-wildcatfb/configure.ac18
1 files changed, 10 insertions, 8 deletions
diff --git a/driver/xf86-video-wildcatfb/configure.ac b/driver/xf86-video-wildcatfb/configure.ac
index b213a09ad..b03c07fd7 100644
--- a/driver/xf86-video-wildcatfb/configure.ac
+++ b/driver/xf86-video-wildcatfb/configure.ac
@@ -28,13 +28,7 @@ AC_INIT([xf86-video-wildcatfb],
[xf86-video-wildcatfb])
AC_CONFIG_SRCDIR([Makefile.am])
AC_CONFIG_HEADERS([config.h])
-
-# Require X.Org macros 1.8 or later for MAN_SUBSTS set by XORG_MANPAGE_SECTIONS
-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
-
+AC_CONFIG_MACRO_DIR([m4])
AC_CONFIG_AUX_DIR(.)
# Initialize Automake
@@ -45,6 +39,12 @@ AM_MAINTAINER_MODE
AC_DISABLE_STATIC
AC_PROG_LIBTOOL
+# Initialize X.Org macros 1.8 or later for MAN_SUBSTS set by XORG_MANPAGE_SECTIONS
+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
+
AH_TOP([#include "xorg-server.h"])
# Define a configure option for an alternate module directory
@@ -64,10 +64,12 @@ PKG_CHECK_MODULES(XORG, [xorg-server >= 1.0.99.901 xproto $REQUIRED_MODULES])
# Checks for libraries.
-AC_SUBST([moduledir])
+# Checks for header files.
+AC_HEADER_STDC
DRIVER_NAME=wildcatfb
AC_SUBST([DRIVER_NAME])
+AC_SUBST([moduledir])
AC_CONFIG_FILES([
Makefile