Skip to content

Commit e47a927

Browse files
committed
configure: Clean code for --enable-graphics
* Remove unneeded arguments for AC_ARG_ENABLE * Remove help text for --enable-graphics Signed-off-by: Stefan Weil <sw@weilnetz.de>
1 parent cfc5ef6 commit e47a927

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

configure.ac

+1-4
Original file line numberDiff line numberDiff line change
@@ -151,10 +151,7 @@ AC_ARG_WITH([extra-libraries],
151151

152152
AC_MSG_CHECKING([--enable-graphics argument])
153153
AC_ARG_ENABLE([graphics],
154-
[AS_HELP_STRING([--enable-graphics],[enable graphics (ScrollView) (default)])
155-
AS_HELP_STRING([--disable-graphics],[disable graphics (ScrollView)])],
156-
[enable_graphics=$enableval],
157-
[enable_graphics="yes"])
154+
AS_HELP_STRING([--disable-graphics], [disable graphics (ScrollView)]))
158155
AC_MSG_RESULT([$enable_graphics])
159156
if test "$enable_graphics" = "no"; then
160157
AC_DEFINE([GRAPHICS_DISABLED], [], [Disable graphics])

0 commit comments

Comments
 (0)