Fixed a tiny bug in configure.ac.in
authorNikolas Garofil <garo@dunaldi.garofil.be>
Sun, 19 Jul 2009 21:31:11 +0000 (23:31 +0200)
committerNikolas Garofil <garo@dunaldi.garofil.be>
Sun, 19 Jul 2009 21:31:11 +0000 (23:31 +0200)
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."

configure.ac.in

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