Enable weather if XOAP is enabled.
authorBrenden Matthews <brenden@rty.ca>
Mon, 20 Jul 2009 18:53:25 +0000 (12:53 -0600)
committerBrenden Matthews <brenden@rty.ca>
Mon, 20 Jul 2009 18:53:25 +0000 (12:53 -0600)
configure.ac.in

index 2a28d13..f1ea128 100644 (file)
@@ -362,6 +362,9 @@ AC_ARG_ENABLE([xoap],
              AC_HELP_STRING([--enable-xoap], [enable if you want weather xoap support @<:@default=no@:>@]),
              [want_xoap="$enableval"], [want_xoap=no])
 #
+if test x$want_xoap = xyes; then
+       want_weather=yes
+fi
 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