aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--configure.in16
-rw-r--r--src/Makefile.am6
2 files changed, 21 insertions, 1 deletions
diff --git a/configure.in b/configure.in
index e3cc569..1d69f34 100644
--- a/configure.in
+++ b/configure.in
@@ -308,6 +308,22 @@ AC_ARG_ENABLE(debug,
308AC_SUBST(DEBUG) 308AC_SUBST(DEBUG)
309CXXFLAGS="$CXXFLAGS $DEBUG" 309CXXFLAGS="$CXXFLAGS $DEBUG"
310 310
311dnl Check whether to build test programs
312AC_MSG_CHECKING([whether to build test programs])
313AC_ARG_ENABLE(test,
314 [ --enable-test build programs used in testing fluxbox ([default=no])],
315 if test x$enableval = "xyes"; then
316 AC_MSG_RESULT([yes])
317 TEST=yes
318 else
319 AC_MSG_RESULT([no])
320 TEST=no
321 fi,
322 AC_MSG_RESULT([no])
323 TEST=no
324)
325AM_CONDITIONAL(TEST, test x$TEST = xyes)
326
311dnl Check whether to include native language support (i18n) 327dnl Check whether to include native language support (i18n)
312AC_MSG_CHECKING([whether to include NLS support]) 328AC_MSG_CHECKING([whether to include NLS support])
313AC_ARG_ENABLE(nls, 329AC_ARG_ENABLE(nls,
diff --git a/src/Makefile.am b/src/Makefile.am
index 12f86bb..cfb249a 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -23,7 +23,11 @@
23# DEALINGS IN THE SOFTWARE. 23# DEALINGS IN THE SOFTWARE.
24 24
25 25
26SUBDIRS= FbTk 26if TEST
27BUILD_TEST= tests
28endif
29SUBDIRS= FbTk $(BUILD_TEST)
30
27DEFAULT_MENU=@DEFAULT_MENU@ 31DEFAULT_MENU=@DEFAULT_MENU@
28DEFAULT_STYLE=@DEFAULT_STYLE@ 32DEFAULT_STYLE=@DEFAULT_STYLE@
29DEFAULT_KEYSFILE=@DEFAULT_KEYS@ 33DEFAULT_KEYSFILE=@DEFAULT_KEYS@