[PATCH libinputmapper 12/13] Drop a bunch of unneeded options

Peter Hutterer peter.hutterer at who-t.net
Tue Aug 27 18:00:23 PDT 2013


AM_DISTCHECK_CONFIGURE_FLAGS:
    "Still, developers are encouraged to strive to make their code buildable
    without requiring any special configure option; thus, in general, you
    shouldn’t define AM_DISTCHECK_CONFIGURE_FLAGS."
    we're not setting it to anything, so we can drop it

AUTOMAKE_OPTIONS = color-tests
    http://debbugs.gnu.org/cgi/bugreport.cgi?bug=11855
    enabled by default as of 1.13 anyway

AC_PROG_MKDIR_P
    Do we need to care about systems that don't support mkdir -p?

AC_PROG_AWK,
    We don't use awk

AC_PROG_SED
    Looks like GNU sed 4.2 will work fine, so this test is largely for other
    versions that that. GNU sed 4.2 was released Apr 2009. The others we
    don't care about.

AC_PROG_GREP
    Only needed for grep implementations that we don't need to worry about
    (Irix, Solaris, AIX, ...)

AM_PROG_AR
    Needed by libtool, but since we use -no-portability our default ar will
    do just fine.

Signed-off-by: Peter Hutterer <peter.hutterer at who-t.net>
---
 Makefile.am  | 2 --
 configure.ac | 5 -----
 2 files changed, 7 deletions(-)

diff --git a/Makefile.am b/Makefile.am
index 931a114..85c5e20 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -17,8 +17,6 @@ LIBINPUTMAPPER_AGE = 0
 
 ACLOCAL_AMFLAGS = -I m4 ${ACLOCAL_FLAGS}
 AM_MAKEFLAGS = --no-print-directory
-AUTOMAKE_OPTIONS = color-tests
-AM_DISTCHECK_CONFIGURE_FLAGS =
 
 .DELETE_ON_ERROR:
 
diff --git a/configure.ac b/configure.ac
index aaf0fcb..7869a1c 100644
--- a/configure.ac
+++ b/configure.ac
@@ -26,12 +26,7 @@ AC_SUBST(PACKAGE_DESCRIPTION, ["evdev input event mapping library"])
 AC_PROG_CC
 AC_PROG_CC_C99
 AM_PROG_CC_C_O
-m4_ifdef([AM_PROG_AR], [AM_PROG_AR])
-AC_PROG_SED
-AC_PROG_MKDIR_P
 AC_PROG_LN_S
-AC_PROG_GREP
-AC_PROG_AWK
 
 LT_PREREQ(2.2)
 LT_INIT
-- 
1.8.2.1



More information about the Input-tools mailing list