mirror of
https://github.com/gryf/wmaker.git
synced 2026-02-02 06:05:45 +01:00
configure: Added option to disable animations
The old behaviour was to expect the user to go modify manually a source file which is not a great idea because that's typically the kind of things in charge of the configure script. Signed-off-by: Christophe CURIS <christophe.curis@free.fr>
This commit is contained in:
committed by
Carlos R. Mafra
parent
6ef010d974
commit
0bab67f9be
12
configure.ac
12
configure.ac
@@ -289,6 +289,18 @@ AC_ARG_WITH(incs-from, AS_HELP_STRING([--with-incs-from], [pass compiler flags t
|
||||
|
||||
dnl Features Configuration
|
||||
dnl ======================
|
||||
AC_ARG_ENABLE([animations],
|
||||
[AS_HELP_STRING([--disable-animations], [disable permanently animations @<:@default=enabled@:>@])],
|
||||
[AS_CASE(["$enableval"],
|
||||
[yes|no], [],
|
||||
[AC_MSG_ERROR([bad value $enableval for --enable-animations])])],
|
||||
[enable_animations="yes"])
|
||||
AS_IF([test "x$enable_animations" = "xno"],
|
||||
[unsupported="$unsupported Animations"],
|
||||
[AC_DEFINE([USE_ANIMATIONS], [1], [Defined when user did not request to disable animations])
|
||||
supported_core="$supported_core Animations"])
|
||||
|
||||
|
||||
AC_ARG_ENABLE([mwm-hints],
|
||||
[AS_HELP_STRING([--disable-mwm-hints], [disable support for Motif WM hints @<:@default=enabled@:>@])],
|
||||
[AS_CASE(["$enableval"],
|
||||
|
||||
Reference in New Issue
Block a user