From e47a9272d74ddfc0263c8331f1883dda742b6262 Mon Sep 17 00:00:00 2001 From: Stefan Weil Date: Thu, 19 Jul 2018 16:11:26 +0200 Subject: [PATCH] configure: Clean code for --enable-graphics * Remove unneeded arguments for AC_ARG_ENABLE * Remove help text for --enable-graphics Signed-off-by: Stefan Weil --- configure.ac | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/configure.ac b/configure.ac index 72f7f3a081..1bf690e408 100644 --- a/configure.ac +++ b/configure.ac @@ -151,10 +151,7 @@ AC_ARG_WITH([extra-libraries], AC_MSG_CHECKING([--enable-graphics argument]) AC_ARG_ENABLE([graphics], - [AS_HELP_STRING([--enable-graphics],[enable graphics (ScrollView) (default)]) -AS_HELP_STRING([--disable-graphics],[disable graphics (ScrollView)])], - [enable_graphics=$enableval], - [enable_graphics="yes"]) + AS_HELP_STRING([--disable-graphics], [disable graphics (ScrollView)])) AC_MSG_RESULT([$enable_graphics]) if test "$enable_graphics" = "no"; then AC_DEFINE([GRAPHICS_DISABLED], [], [Disable graphics])