mirror of
https://github.com/gryf/wmaker.git
synced 2026-01-27 10:25:49 +01:00
wrlib: Use a Conditional for GIF in the makefile instead of #if in source
The use of the conditionals provided by autotools provides a better result as they avoid unnecessary compilation. Signed-off-by: Christophe CURIS <christophe.curis@free.fr> Signed-off-by: Carlos R. Mafra <crmafra@gmail.com>
This commit is contained in:
committed by
Carlos R. Mafra
parent
f892ce4d37
commit
7831acebe3
@@ -64,7 +64,8 @@ AS_IF([test "x$enable_gif" = "xno"],
|
||||
AC_DEFINE_UNQUOTED([USE_GIF],
|
||||
[1],
|
||||
[defined when valid GIF library with header was found])])
|
||||
])dnl
|
||||
])
|
||||
AM_CONDITIONAL([USE_GIF], [test "x$enable_gif" != "xno"])dnl
|
||||
]) dnl AC_DEFUN
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user