From a5c1eb1f1b9e35468fa662494991b191127f2e95 Mon Sep 17 00:00:00 2001 From: Dave Davenport Date: Mon, 14 Sep 2015 08:57:10 +0200 Subject: Allow window mode to be disabled --- configure.ac | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'configure.ac') diff --git a/configure.ac b/configure.ac index 34b32332..9c2624be 100644 --- a/configure.ac +++ b/configure.ac @@ -38,6 +38,18 @@ AC_ARG_ENABLE(gcov, [ --enable-gcov Enable source code coverage testing using gcov], [CFLAGS="$CFLAGS -fprofile-arcs -ftest-coverage"]) + +dnl +dnl +dnl + +AC_ARG_ENABLE([windowmode], + AC_HELP_STRING([--enable-window],[Enable window mode])) + +AS_IF([ test "x$enable_windowmode" != "xno"], [ +AC_DEFINE([WINDOW_MODE],[1],[Enable the window mode]) +]) + ## # Check dependencies ## -- cgit v1.2.3