diff options
author | Gaetan Nadon <memsize@videotron.ca> | 2010-07-21 16:49:04 -0400 |
---|---|---|
committer | Gaetan Nadon <memsize@videotron.ca> | 2010-07-22 15:03:50 -0400 |
commit | 4640accec00aeb98f48f7d7d655301bbee409db8 (patch) | |
tree | 2402dbcb062129c0803515a3828e6fe6bed899d6 /configure.ac | |
parent | 7be72f7633a48951fc766920ca504da8fce77770 (diff) |
config: add comments for main statements
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/configure.ac b/configure.ac index e394405..844001e 100644 --- a/configure.ac +++ b/configure.ac @@ -20,6 +20,7 @@ # # Process this file with autoconf to produce a configure script +# Initialize Autoconf AC_PREREQ([2.60]) AC_INIT([xf86-video-qxl], [0.0.12], @@ -27,6 +28,8 @@ AC_INIT([xf86-video-qxl], [xf86-video-qxl]) AC_CONFIG_SRCDIR([Makefile.am]) AC_CANONICAL_HOST + +# Initialize Automake AM_INIT_AUTOMAKE([foreign dist-bzip2]) AM_MAINTAINER_MODE AC_CONFIG_HEADERS([config.h]) @@ -37,26 +40,26 @@ m4_ifndef([XORG_MACROS_VERSION], XORG_MACROS_VERSION(1.4) XORG_DEFAULT_OPTIONS -# Checks for programs. +# Initialize libtool AC_DISABLE_STATIC AC_PROG_INSTALL AC_PROG_LIBTOOL AH_TOP([#include "xorg-server.h"]) +# Define a configure option for an alternate module directory AC_ARG_WITH(xorg-module-dir, [ --with-xorg-module-dir=DIR ], [ moduledir="$withval" ], [ moduledir="$libdir/xorg/modules" ]) AC_SUBST(moduledir) - -# Checks for extensions +# Store the list of server defined optional extensions in REQUIRED_MODULES XORG_DRIVER_CHECK_EXT(RANDR, randrproto) XORG_DRIVER_CHECK_EXT(RENDER, renderproto) XORG_DRIVER_CHECK_EXT(XV, videoproto) XORG_DRIVER_CHECK_EXT(XFreeXDGA, xf86dgaproto) -# Checks for pkg-config packages +# Obtain compiler/linker options for the driver dependencies PKG_CHECK_MODULES(XORG, [xorg-server >= 1.0.99.901] xproto fontsproto $REQUIRED_MODULES) save_CFLAGS="$CFLAGS" @@ -73,7 +76,6 @@ AM_CONDITIONAL(XSERVER_LIBPCIACCESS, test "x$XSERVER_LIBPCIACCESS" = xyes) # Checks for libraries. - DRIVER_NAME=qxl AC_SUBST([DRIVER_NAME]) |