From 3198664a8a54c1b53a29b71507ea5603d9ee7224 Mon Sep 17 00:00:00 2001 From: Gaetan Nadon Date: Mon, 20 Jun 2011 16:09:31 -0400 Subject: [PATCH 1/1] Apply standard configuration init, layout and comments http://www.x.org/wiki/NewModuleGuidelines#Configurationfilescontentguidelines Signed-off-by: Gaetan Nadon Signed-off-by: Peter Hutterer --- configure.ac | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) diff --git a/configure.ac b/configure.ac index 3b3e907..0c98e8c 100644 --- a/configure.ac +++ b/configure.ac @@ -1,8 +1,14 @@ dnl Copyright 2007 Peter Hutterer dnl Process this file with autoconf to create configure. +# Initialize Autoconf AC_PREREQ([2.60]) -AC_INIT(xinput,[1.5.3], [https://bugs.freedesktop.org/enter_bug.cgi?product=xorg],xinput) +AC_INIT([xinput], [1.5.3], + [https://bugs.freedesktop.org/enter_bug.cgi?product=xorg], [xinput]) +AC_CONFIG_SRCDIR([Makefile.am]) +AC_CONFIG_HEADERS([config.h]) + +# Initialize Automake AM_INIT_AUTOMAKE([foreign dist-bzip2]) AM_MAINTAINER_MODE @@ -12,11 +18,7 @@ m4_ifndef([XORG_MACROS_VERSION], XORG_MACROS_VERSION(1.8) XORG_DEFAULT_OPTIONS -AC_CONFIG_HEADERS([config.h]) - - - -# Checks for pkg-config packages +# Obtain compiler/linker options for dependencies PKG_CHECK_MODULES(XINPUT, x11 xext [xi >= 1.2] [inputproto >= 1.5]) # XI2 support -- 2.56.0