summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGaetan Nadon <memsize@videotron.ca>2012-02-19 16:13:34 -0500
committerDave Airlie <airlied@redhat.com>2012-02-22 09:57:52 +0000
commiteb8fd8fdb8ba730f4fc47f1293cb9c0bea3dfd4a (patch)
tree9fb9e5d04486451aa7acd8e27c18c256dad46459
parentffefc3e37048c10470d17206af755953e2fa67f1 (diff)
config: layout and comment the top portion of configure.ac
Reorder statements to be consistent with other modules so things are easier to find. Signed-off-by: Gaetan Nadon <memsize@videotron.ca> Signed-off-by: Dave Airlie <airlied@redhat.com>
-rw-r--r--configure.ac20
1 files changed, 10 insertions, 10 deletions
diff --git a/configure.ac b/configure.ac
index 34f3e81..aecb916 100644
--- a/configure.ac
+++ b/configure.ac
@@ -20,31 +20,31 @@
#
# Process this file with autoconf to produce a configure script
+# Initialize Autoconf
AC_PREREQ([2.60])
AC_INIT([xf86-video-modesetting],
[0.1.0],
[https://bugs.freedesktop.org/enter_bug.cgi?product=xorg],
[xf86-video-modesetting])
-
AC_CONFIG_SRCDIR([Makefile.am])
AC_CONFIG_HEADERS([config.h])
-
-m4_ifndef([XORG_MACROS_VERSION],
- [m4_fatal([must install xorg-macros 1.8 or later before runnign autoconf/autogen])])
-XORG_MACROS_VERSION(1.8)
-XORG_DEFAULT_OPTIONS
-
AC_CONFIG_AUX_DIR(.)
-
-AM_INIT_AUTOMAKE([foreign dist-bzip2])
AC_SYS_LARGEFILE
+# Initialize Automake
+AM_INIT_AUTOMAKE([foreign dist-bzip2])
AM_MAINTAINER_MODE
-# Checks for programs.
+# Initialize libtool
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"])
AC_ARG_WITH(xorg-module-dir,