dnl Check which programming languages support should be compiled
dnl **********
AC_ARG_ENABLE(ada, AC_HELP_STRING([--disable-ada], [disable programming language support for Ada]), [ada=${enableval}], [ada=yes])
AM_CONDITIONAL(include_ada, test "$ada" = "yes")
AC_ARG_ENABLE(bash, AC_HELP_STRING([--disable-bash], [disable programming language support for bash]), [bash=${enableval}], [bash=yes])
AM_CONDITIONAL(include_bash, test "$bash" = "yes")
AC_ARG_ENABLE(cpp, AC_HELP_STRING([--disable-cpp], [disable programming language support for C and C++]), [cpp=${enableval}], [cpp=yes])
AM_CONDITIONAL(include_cpp, test "$cpp" = "yes")
AC_ARG_ENABLE(fortran, AC_HELP_STRING([--disable-fortran], [disable programming language support for Fortran]), [fortran=${enableval}], [fortran=yes])
AM_CONDITIONAL(include_fortran, test "$fortran" = "yes")
AC_ARG_ENABLE(java, AC_HELP_STRING([--disable-java], [disable programming language support for Java]), [java=${enableval}], [java=yes])
AM_CONDITIONAL(include_java, test "$java" = "yes")
AC_ARG_ENABLE(csharp, AC_HELP_STRING([--disable-csharp], [disable programming language support for C#]), [csharp=${enableval}], [csharp=yes])
AM_CONDITIONAL(include_csharp, test "$csharp" = "yes")
AC_ARG_ENABLE(pascal, AC_HELP_STRING([--disable-pascal], [disable programming language support for Pascal]), [pascal=${enableval}], [pascal=yes])
AM_CONDITIONAL(include_pascal, test "$pascal" = "yes")
AC_ARG_ENABLE(perl, AC_HELP_STRING([--disable-perl], [disable programming language support for perl]), [perl=${enableval}], [perl=yes])
AM_CONDITIONAL(include_perl, test "$perl" = "yes")
AC_ARG_ENABLE(php, AC_HELP_STRING([--disable-php], [disable programming language support for PHP]), [php=${enableval}], [php=yes])
AM_CONDITIONAL(include_php, test "$php" = "yes")
AC_ARG_ENABLE(python, AC_HELP_STRING([--disable-python], [disable programming language support for Python]), [python=${enableval}], [python=yes])
AM_CONDITIONAL(include_python, test "$python" = "yes")
AC_ARG_ENABLE(ruby, AC_HELP_STRING([--disable-ruby], [disable programming language support for ruby]), [ruby=${enableval}], [ruby=yes])
AM_CONDITIONAL(include_ruby, test "$ruby" = "yes")
AC_ARG_ENABLE(sql, AC_HELP_STRING([--disable-sql], [disable programming language support for SQL]), [sql=${enableval}], [sql=yes])
AM_CONDITIONAL(include_sql, test "$sql" = "yes")
dnl **********
dnl Check which build tools support should be compiled
dnl **********
AC_ARG_ENABLE(antproject, AC_HELP_STRING([--disable-antproject], [disable build tool support for ant]), [antproject=${enableval}], [antproject=yes])
AM_CONDITIONAL(include_ant, test "$antproject" = "yes")
AC_ARG_ENABLE(autoproject, AC_HELP_STRING([--disable-autoproject], [disable build tool support for autotools]), [autoproject=${enableval}], [autoproject=yes])
AM_CONDITIONAL(include_autoproject, test "$autoproject" = "yes")
AC_ARG_ENABLE(customproject, AC_HELP_STRING([--disable-customproject], [disable build tool support for custom makefiles]), [customproject=${enableval}], [customproject=yes])
AM_CONDITIONAL(include_customproject, test "$customproject" = "yes")
AC_ARG_ENABLE(scriptproject, AC_HELP_STRING([--disable-scriptproject], [disable build tool support for script]), [scriptproject=${enableval}], [scriptproject=yes])
AM_CONDITIONAL(include_scriptproject, test "$scriptproject" = "yes")
AC_ARG_ENABLE(trollproject, AC_HELP_STRING([--disable-trollproject], [disable build tool support for qmake]), [trollproject=${enableval}], [trollproject=yes])
AM_CONDITIONAL(include_trollproject, test "$trollproject" = "yes")
dnl **********
dnl Check which version control systems support should be compiled
dnl **********
dnl cervisia is currently disabled
dnl AC_ARG_ENABLE(cervisia, AC_HELP_STRING([--disable-cervisia], [disable vcs support for cervisia]), [with_cervisia=${enableval}], [with_cervisia=yes])
AC_ARG_ENABLE(clearcase, AC_HELP_STRING([--disable-clearcase], [disable vcs support for clearcase]), [with_clearcase=${enableval}], [with_clearcase=yes])
AM_CONDITIONAL(include_clearcase, test "$with_clearcase" = "yes")
AC_ARG_ENABLE(cvs, AC_HELP_STRING([--disable-cvs], [disable vcs support for cvs]), [with_cvs=${enableval}], [with_cvs=yes])
AM_CONDITIONAL(include_cvsclient, test "$with_cvs" = "yes")
dnl This one is automatic and depends is cervisia is installed or not
dnl AC_CHECK_FILE([$qt_includes/qassistantclient.h], [],[AC_MSG_ERROR([The qassistantclient.h header from Qt3 is needed to build kdevelop, on some systems this header is in a separate package called qt3-apps-dev])])