[evolution-data-server] Bug 636850 - Consistent libgweather configure options



commit 66bafbfa065298d949e00e69c72f7733f79a9ed0
Author: Matthew Barnes <mbarnes redhat com>
Date:   Thu Dec 16 21:56:20 2010 -0500

    Bug 636850 - Consistent libgweather configure options
    
    Use --enable-weather instead of --with-weather for the weather calendar
    backend.  This is consistent with Evolution's weather plugin option.

 configure.ac |    8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)
---
diff --git a/configure.ac b/configure.ac
index f34eb1d..6172766 100644
--- a/configure.ac
+++ b/configure.ac
@@ -1012,10 +1012,10 @@ dnl **********************************
 dnl Weather calendar backend support
 dnl **********************************
 AC_MSG_CHECKING([if we should build the weather calendar backend])
-AC_ARG_WITH([weather],
-	[AS_HELP_STRING([--with-weather],
+AC_ARG_ENABLE([weather],
+	[AS_HELP_STRING([--enable-weather],
 	[Build the weather calendar backend (default=yes)])],
-	[use_gweather=$withval], [use_gweather=yes])
+	[use_gweather=$enableval], [use_gweather=yes])
 if test "$enable_calendar" = "no"; then
 	use_gweather="no (calendar support is disabled)"
 fi
@@ -1023,7 +1023,7 @@ fi
 AC_MSG_RESULT([$use_gweather])
 if test "x$use_gweather" = "xyes"; then
 	PKG_CHECK_MODULES([LIBGWEATHER], [$GWEATHER_PACKAGE >= $gweather_minimum_version],[],
-	[AC_MSG_ERROR([The weather calendar backend requires GWeather >= $gweather_minimum_version. Alternatively, you may specify --without-weather as a configure option to avoid building the backend.])])
+	[AC_MSG_ERROR([The weather calendar backend requires GWeather >= $gweather_minimum_version. Alternatively, you may specify --disable-weather as a configure option to avoid building the backend.])])
 fi
 AM_CONDITIONAL(ENABLE_WEATHER, [test $use_gweather = yes])
 



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]