summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGaetan Nadon <memsize@videotron.ca>2011-06-20 16:09:31 -0400
committerPeter Hutterer <peter.hutterer@who-t.net>2011-06-21 08:26:59 +1000
commit3198664a8a54c1b53a29b71507ea5603d9ee7224 (patch)
tree17f694527ba2d94883c637c0f882a55d2e6a9fb9
parenta426665bb3cb777a9107bfe6b84ea7d78bcf74aa (diff)
Apply standard configuration init, layout and comments
http://www.x.org/wiki/NewModuleGuidelines#Configurationfilescontentguidelines Signed-off-by: Gaetan Nadon <memsize@videotron.ca> Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
-rw-r--r--configure.ac14
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@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