mirror of
https://github.com/Llewellynvdm/conky.git
synced 2024-11-17 18:45:10 +00:00
Build fix for config output.
This commit is contained in:
parent
0a5942a94b
commit
fd1354bea3
@ -91,17 +91,16 @@ AC_SUBST(BUILD_ARCH)
|
||||
|
||||
|
||||
dnl
|
||||
dnl CONFIG_OUTPUT option
|
||||
dnl BUILD_CONFIG_OUTPUT option
|
||||
dnl
|
||||
|
||||
AC_ARG_ENABLE([config_output],
|
||||
AC_HELP_STRING([--enable-config-output],
|
||||
[enable printing a default config if requested @<:@default=no@:>@]),
|
||||
[want_config_output="$enableval"], [want_config_output=no])
|
||||
AC_HELP_STRING([--disable-config-output], [disable if you do not want conky to output a default config (with -C) @<:@default=yes@:>@]),
|
||||
[want_config_output="$enableval"], [want_config_output=yes])
|
||||
|
||||
AM_CONDITIONAL(BUILD_CONFIG_OUTPUT, test x$want_config_output = xyes)
|
||||
if test x$want_config_output = xyes; then
|
||||
AC_DEFINE(CONFIG_OUTPUT, 1, [Define if you want default config printing support])
|
||||
AC_DEFINE(CONFIG_OUTPUT, 1, [Define if you want conky to output a default config (with -C)])
|
||||
fi
|
||||
|
||||
dnl
|
||||
|
Loading…
Reference in New Issue
Block a user