aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog2
-rw-r--r--configure.in8
2 files changed, 6 insertions, 4 deletions
diff --git a/ChangeLog b/ChangeLog
index 297601b1..f0739d8d 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -3,6 +3,8 @@
* src/plugin.h: fixed typo.
* src/update_check.c: update_check(): win32: fixed crash on update
check.
+ * configure.in: enable updatecheckplugin only if updatecheck is
+ enabled.
2010-12-08
diff --git a/configure.in b/configure.in
index e51f410c..45eb9427 100644
--- a/configure.in
+++ b/configure.in
@@ -402,14 +402,14 @@ AC_ARG_ENABLE(updatecheck,
[ac_cv_enable_updatecheck=$enableval], [ac_cv_enable_updatecheck=yes])
if test x"$ac_cv_enable_updatecheck" = xyes ; then
AC_DEFINE(USE_UPDATE_CHECK, 1, Define if you want update check feature.)
-fi
-dnl for update check feature
-AC_ARG_ENABLE(updatecheckplugin,
+ dnl for update check feature (requires update check enabled)
+ AC_ARG_ENABLE(updatecheckplugin,
[ --disable-updatecheckplugin Disable update check plugin feature],
[ac_cv_enable_updatecheckplugin=$enableval], [ac_cv_enable_updatecheckplugin=yes])
-if test x"$ac_cv_enable_updatecheckplugin" = xyes ; then
+ if test x"$ac_cv_enable_updatecheckplugin" = xyes ; then
AC_DEFINE(USE_UPDATE_CHECK_PLUGIN, 1, Define if you want update check plugin feature.)
+ fi
fi
dnl Check for d_type member in struct dirent