autoconf: comment and layout the initialization section
No functional changes. Trying to make it clearer. Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com> Reviewed-by: Josh Triplett <josh@joshtriplett.org> Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
This commit is contained in:
parent
0a17b61a89
commit
517cb0e888
16
configure.ac
16
configure.ac
|
@ -1,5 +1,4 @@
|
||||||
# -*- Autoconf -*-
|
dnl Process this file with autoconf to produce a configure script.
|
||||||
# Process this file with autoconf to produce a configure script.
|
|
||||||
|
|
||||||
# Initialize Autoconf
|
# Initialize Autoconf
|
||||||
AC_PREREQ([2.60])
|
AC_PREREQ([2.60])
|
||||||
|
@ -9,22 +8,18 @@ AC_INIT([libxcb],[1.10],
|
||||||
AC_CONFIG_AUX_DIR([build-aux])
|
AC_CONFIG_AUX_DIR([build-aux])
|
||||||
AC_CONFIG_MACRO_DIR([m4])
|
AC_CONFIG_MACRO_DIR([m4])
|
||||||
AC_CONFIG_SRCDIR([xcb.pc.in])
|
AC_CONFIG_SRCDIR([xcb.pc.in])
|
||||||
|
AC_CONFIG_HEADERS([src/config.h])
|
||||||
|
|
||||||
# Initialize Automake
|
# Initialize Automake
|
||||||
AM_INIT_AUTOMAKE([foreign dist-bzip2])
|
AM_INIT_AUTOMAKE([foreign dist-bzip2])
|
||||||
|
AM_PATH_PYTHON([2.6])
|
||||||
|
|
||||||
# Set common system defines for POSIX extensions, such as _GNU_SOURCE
|
# Set common system defines for POSIX extensions, such as _GNU_SOURCE
|
||||||
# Must be called before any macros that run the compiler (like AC_PROG_LIBTOOL)
|
# Must be called before any macros that run the compiler (like AC_PROG_LIBTOOL)
|
||||||
# to avoid autoconf errors.
|
# to avoid autoconf errors.
|
||||||
AC_USE_SYSTEM_EXTENSIONS
|
AC_USE_SYSTEM_EXTENSIONS
|
||||||
|
|
||||||
AM_PATH_PYTHON([2.6])
|
# Initialize libtool
|
||||||
|
|
||||||
PKG_CHECK_MODULES(CHECK, [check >= 0.9.4], [HAVE_CHECK=yes], [HAVE_CHECK=no])
|
|
||||||
AM_CONDITIONAL(HAVE_CHECK, test x$HAVE_CHECK = xyes)
|
|
||||||
|
|
||||||
AC_CONFIG_HEADERS([src/config.h])
|
|
||||||
|
|
||||||
AC_LIBTOOL_WIN32_DLL
|
AC_LIBTOOL_WIN32_DLL
|
||||||
AC_PROG_LIBTOOL
|
AC_PROG_LIBTOOL
|
||||||
|
|
||||||
|
@ -34,6 +29,9 @@ m4_ifndef([XORG_MACROS_VERSION],
|
||||||
XORG_MACROS_VERSION(1.18)
|
XORG_MACROS_VERSION(1.18)
|
||||||
XORG_DEFAULT_OPTIONS
|
XORG_DEFAULT_OPTIONS
|
||||||
|
|
||||||
|
PKG_CHECK_MODULES(CHECK, [check >= 0.9.4], [HAVE_CHECK=yes], [HAVE_CHECK=no])
|
||||||
|
AM_CONDITIONAL(HAVE_CHECK, test x$HAVE_CHECK = xyes)
|
||||||
|
|
||||||
XSLTPROC=no
|
XSLTPROC=no
|
||||||
HTML_CHECK_RESULT=no
|
HTML_CHECK_RESULT=no
|
||||||
if test x"$HAVE_CHECK" = xyes; then
|
if test x"$HAVE_CHECK" = xyes; then
|
||||||
|
|
Loading…
Reference in New Issue