mirror of
https://github.com/Llewellynvdm/conky.git
synced 2025-01-27 09:08:25 +00:00
Build fix for config output.
This commit is contained in:
parent
9cd8dcd2c3
commit
5a88529d8e
@ -91,17 +91,16 @@ AC_SUBST(BUILD_ARCH)
|
|||||||
|
|
||||||
|
|
||||||
dnl
|
dnl
|
||||||
dnl CONFIG_OUTPUT option
|
dnl BUILD_CONFIG_OUTPUT option
|
||||||
dnl
|
dnl
|
||||||
|
|
||||||
AC_ARG_ENABLE([config_output],
|
AC_ARG_ENABLE([config_output],
|
||||||
AC_HELP_STRING([--enable-config-output],
|
AC_HELP_STRING([--disable-config-output], [disable if you do not want conky to output a default config (with -C) @<:@default=yes@:>@]),
|
||||||
[enable printing a default config if requested @<:@default=no@:>@]),
|
[want_config_output="$enableval"], [want_config_output=yes])
|
||||||
[want_config_output="$enableval"], [want_config_output=no])
|
|
||||||
|
|
||||||
AM_CONDITIONAL(BUILD_CONFIG_OUTPUT, test x$want_config_output = xyes)
|
AM_CONDITIONAL(BUILD_CONFIG_OUTPUT, test x$want_config_output = xyes)
|
||||||
if test x$want_config_output = xyes; then
|
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
|
fi
|
||||||
|
|
||||||
dnl
|
dnl
|
||||||
|
Loading…
x
Reference in New Issue
Block a user