From 5815dc7b75d80dfd9424d39a42758161587e28b2 Mon Sep 17 00:00:00 2001 From: Dave Davenport Date: Mon, 26 Sep 2016 11:56:20 +0200 Subject: [PATCH] Issue #474: reverse logic. --- configure.ac | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/configure.ac b/configure.ac index 2a0d444e..16ba46bb 100644 --- a/configure.ac +++ b/configure.ac @@ -57,8 +57,8 @@ AC_ARG_ENABLE(asan, dnl -------------------------------------------------------------------- dnl DRun dialog dnl -------------------------------------------------------------------- -AC_ARG_ENABLE([drun], AC_HELP_STRING([--enable-drun],[Enable desktop file run dialog])) -AS_IF([test "x${enable_drun}" == "xyes"], [AC_DEFINE([ENABLE_DRUN], [1], [Enable desktop file run dialog])]) +AC_ARG_ENABLE([drun], AC_HELP_STRING([--disable-drun],[Disable desktop file run dialog])) +AS_IF([test "x${enable_drun}" != "xno"], [AC_DEFINE([ENABLE_DRUN], [1], [Enable desktop file run dialog])]) dnl --------------------------------------------------------------------- dnl Disable window mode dnl --------------------------------------------------------------------- @@ -119,10 +119,10 @@ echo "Timing output: Enabled" else echo "Timing output: Disabled" fi -if test x$enable_drun = xyes; then -echo "Desktop File run dialog Enabled" +if test x$enable_drun != xno; then +echo "Desktop File drun dialog Enabled" else -echo "Desktop File run dialog Disabled" +echo "Desktop File drun dialog Disabled" fi if test x$enable_windowmode != xno; then echo "Window Switcher dialog Enabled"