[PATCH app-xinput 1/2] Apply standard configuration init, layout and comments

Gaetan Nadon memsize at videotron.ca
Mon Jun 20 13:09:31 PDT 2011


http://www.x.org/wiki/NewModuleGuidelines#Configurationfilescontentguidelines

Signed-off-by: Gaetan Nadon <memsize at videotron.ca>
---
 configure.ac |   14 ++++++++------
 1 files 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 <peter at cs.unisa.edu.au>
 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
-- 
1.7.4.1



More information about the xorg-devel mailing list