summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSebastien Helleu <flashcode@flashtux.org>2008-06-03 12:59:19 +0200
committerSebastien Helleu <flashcode@flashtux.org>2008-06-03 12:59:19 +0200
commitfeb6862971f4ec90688413cd02a183036db4fee6 (patch)
tree3c7b2cc3cb4dddfc39a04c955850b88364e56d2a
parentd9b08cf6e04b1b1b4bd890f293a9140e50d7d537 (diff)
downloadweechat-feb6862971f4ec90688413cd02a183036db4fee6.zip
Disable aspell and trigger plugins compilation by default (they do not compile today)
-rw-r--r--CMakeLists.txt4
-rw-r--r--configure.in4
-rw-r--r--src/plugins/CMakeLists.txt8
3 files changed, 8 insertions, 8 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index ccb19ae88..b7c719a54 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -39,7 +39,7 @@ OPTION(ENABLE_GTK "Enable GTK interface")
OPTION(DISABLE_NLS "Disable Native Language Support")
OPTION(DISABLE_GNUTLS "Disable SSLv3/TLS connection support")
OPTION(DISABLE_ALIAS "Disable Alias plugin")
-OPTION(DISABLE_ASPELL "Disable Aspell plugin")
+OPTION(ENABLE_ASPELL "Enable Aspell plugin")
OPTION(DISABLE_CHARSET "Disable Charset plugin")
OPTION(DISABLE_DEBUG "Disable Debug plugin")
OPTION(ENABLE_DEMO "Enable Demo plugin")
@@ -51,7 +51,7 @@ OPTION(DISABLE_PERL "Disable Perl scripting language")
OPTION(DISABLE_PYTHON "Disable Python scripting language")
OPTION(DISABLE_RUBY "Disable Ruby scripting language")
OPTION(DISABLE_LUA "Disable Lua scripting language")
-OPTION(DISABLE_TRIGGER "Disable Trigger plugin")
+OPTION(ENABLE_TRIGGER "Enable Trigger plugin")
OPTION(DISABLE_XFER "Disable Xfer (file transfert) plugin")
OPTION(DISABLE_DOC "Disable Doc")
OPTION(DISABLE_COMPILE_DEBUG "Disable debug info in object files")
diff --git a/configure.in b/configure.in
index 6373b9ac5..cdcb318ef 100644
--- a/configure.in
+++ b/configure.in
@@ -116,7 +116,7 @@ AC_ARG_ENABLE(gtk, [ --enable-gtk turn on Gtk interface (de
AC_ARG_ENABLE(qt, [ --enable-qt turn on Qt interface (default=off)],enable_qt=$enableval,enable_qt=no)
AC_ARG_ENABLE(gnutls, [ --disable-gnutls turn off gnutls support (default=compiled if found)],enable_gnutls=$enableval,enable_gnutls=yes)
AC_ARG_ENABLE(alias, [ --disable-alias turn off Alias plugin (default=compiled)],enable_alias=$enableval,enable_alias=yes)
-AC_ARG_ENABLE(aspell, [ --disable-aspell turn off Aspell plugin (default=compiled if found)],enable_aspell=$enableval,enable_aspell=yes)
+AC_ARG_ENABLE(aspell, [ --enable-aspell turn on Aspell plugin (default=off)],enable_aspell=$enableval,enable_aspell=no)
AC_ARG_ENABLE(charset, [ --disable-charset turn off Charset plugin (default=compiled if found)],enable_charset=$enableval,enable_charset=yes)
AC_ARG_ENABLE(debug, [ --enable-debug turn on Debug plugin (default=on)],enable_debug=$enableval,enable_debug=yes)
AC_ARG_ENABLE(demo, [ --enable-demo turn on Demo plugin (default=off)],enable_demo=$enableval,enable_demo=no)
@@ -128,7 +128,7 @@ AC_ARG_ENABLE(perl, [ --disable-perl turn off Perl script plug
AC_ARG_ENABLE(python, [ --disable-python turn off Python script plugin (default=compiled if found)],enable_python=$enableval,enable_python=yes)
AC_ARG_ENABLE(ruby, [ --disable-ruby turn off Ruby script plugin (default=compiled if found)],enable_ruby=$enableval,enable_ruby=yes)
AC_ARG_ENABLE(lua, [ --disable-lua turn off Lua script plugin (default=compiled if found)],enable_lua=$enableval,enable_lua=yes)
-AC_ARG_ENABLE(trigger, [ --disable-trigger turn off Trigger plugin (default=compiled if found)],enable_trigger=$enableval,enable_trigger=yes)
+AC_ARG_ENABLE(trigger, [ --enable-trigger turn on Trigger plugin (default=off)],enable_trigger=$enableval,enable_trigger=no)
AC_ARG_ENABLE(xfer, [ --disable-xfer turn off Xfer (file transfer) plugin (default=compiled if found)],enable_xfer=$enableval,enable_xfer=yes)
AC_ARG_WITH(lua-inc, [ --with-lua-inc=DIR, lua include files are in DIR (default=autodetect)],lua_inc=$withval,lua_inc='')
AC_ARG_WITH(lua-lib, [ --with-lua-lib=DIR, lua library files are in DIR (default=autodetect)],lua_lib=$withval,lua_lib='')
diff --git a/src/plugins/CMakeLists.txt b/src/plugins/CMakeLists.txt
index fb5f1964a..59c1a0e13 100644
--- a/src/plugins/CMakeLists.txt
+++ b/src/plugins/CMakeLists.txt
@@ -29,13 +29,13 @@ IF(NOT DISABLE_ALIAS)
ADD_SUBDIRECTORY( alias )
ENDIF(NOT DISABLE_ALIAS)
-IF(NOT DISABLE_ASPELL)
+IF(ENABLE_ASPELL)
# Check for aspell libraries
FIND_PACKAGE(Aspell)
IF(ASPELL_FOUND)
ADD_SUBDIRECTORY( aspell )
ENDIF(ASPELL_FOUND)
-ENDIF(NOT DISABLE_ASPELL)
+ENDIF(ENABLE_ASPELL)
IF(NOT DISABLE_CHARSET)
# Check for iconv support.
@@ -68,9 +68,9 @@ IF(NOT DISABLE_SCRIPTS AND NOT DISABLE_PERL AND NOT DISABLE_PYTHON AND NOT DISAB
ADD_SUBDIRECTORY( scripts )
ENDIF(NOT DISABLE_SCRIPTS AND NOT DISABLE_PERL AND NOT DISABLE_PYTHON AND NOT DISABLE_RUBY AND NOT DISABLE_LUA)
-IF(NOT DISABLE_TRIGGER)
+IF(ENABLE_TRIGGER)
ADD_SUBDIRECTORY( trigger )
-ENDIF(NOT DISABLE_TRIGGER)
+ENDIF(ENABLE_TRIGGER)
IF(NOT DISABLE_XFER)
ADD_SUBDIRECTORY( xfer )