summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Hutterer <peter.hutterer@who-t.net>2010-07-05 08:01:41 +0200
committerHenrik Rydberg <rydberg@euromail.se>2010-07-05 08:13:14 +0200
commit3557acb6a9eec0c0d752a1f3d783b5f50bc19e1b (patch)
tree6a7835c623b1bcfa60df6ec815fc698cfb1577ba
parent8da65965093ce2515dd0ce828a6512f24f5f5ca9 (diff)
downloadmtdev-git-3557acb6a9eec0c0d752a1f3d783b5f50bc19e1b.tar.gz
Build test utilities unconditionally, do not install
The test programs in the package are command-line utilities which can be used to generate MT code mappings for header files, and debug hardware problems, and should not be installed. With this patch, tests are built unconditionally, but not installed. Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net> Signed-off-by: Henrik Rydberg <rydberg@euromail.se>
-rw-r--r--configure.ac8
-rw-r--r--test/Makefile.am6
2 files changed, 1 insertions, 13 deletions
diff --git a/configure.ac b/configure.ac
index b802fa4..7e994b6 100644
--- a/configure.ac
+++ b/configure.ac
@@ -21,14 +21,6 @@ AC_PROG_LIBTOOL
AC_PROG_CC
AC_PROG_INSTALL
-# Optional test build
-AC_ARG_ENABLE(test,
- AC_HELP_STRING([--enable-test],
- [Build test programs [[default=auto]]]),
- [build_test="$enableval"],
- [build_test="auto"])
-AM_CONDITIONAL(BUILD_TEST, [ test "$build_test" != "no" ])
-
# Initialize X.Org macros
m4_ifndef([XORG_MACROS_VERSION],
[m4_fatal([must install xorg-macros 1.5 or later before running autoconf/autogen])])
diff --git a/test/Makefile.am b/test/Makefile.am
index f550235..2eec163 100644
--- a/test/Makefile.am
+++ b/test/Makefile.am
@@ -1,6 +1,4 @@
-if BUILD_TEST
-
-bin_PROGRAMS = mtdev-mapgen mtdev
+noinst_PROGRAMS = mtdev-mapgen mtdev
INCLUDES=-I$(top_srcdir)/include/
@@ -8,5 +6,3 @@ mtdev_mapgen_SOURCES = mtdev-mapgen.c
mtdev_SOURCES = mtdev.c
mtdev_LDFLAGS = -lmtdev -L$(top_builddir)/src/.libs/
-
-endif