1
0
mirror of https://github.com/Llewellynvdm/conky.git synced 2024-09-30 05:59:07 +00:00

Fixed a tiny bug in configure.ac.in

From the automake docs:
"Note that you must arrange for every AM_CONDITIONAL to be invoked every time configure is run -- if AM_CONDITIONAL is run conditionally (e.g., in a shell if statement), then the result will confuse automake."
This commit is contained in:
Nikolas Garofil 2009-07-19 23:31:11 +02:00
parent 4c41ec843a
commit afdda37729

View File

@ -359,8 +359,8 @@ AC_ARG_ENABLE([xoap],
[want_xoap="$enableval"], [want_xoap=no])
#
AM_CONDITIONAL(BUILD_WEATHER, test x$want_weather = xyes)
if test x$want_weather = xyes; then
AM_CONDITIONAL(BUILD_XOAP, test x$want_xoap = xyes)
if test x$want_weather = xyes; then
if test x$want_xoap = xyes; then
PKG_CHECK_MODULES([libxml2], libxml-2.0)
conky_CFLAGS="$conky_CFLAGS $libxml2_CFLAGS"