aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndre Heinecke <[email protected]>2018-08-21 10:49:22 +0000
committerAndre Heinecke <[email protected]>2018-08-21 11:58:40 +0000
commitfe3de5b86b4a25f5b23cf1af2fd1809ef6c087a0 (patch)
tree7feca3bb4e1da258f885de93fab9367cae0676ed
parentjs: set expiry of generatedKey to seconds from now (diff)
downloadgpgme-fe3de5b86b4a25f5b23cf1af2fd1809ef6c087a0.tar.gz
gpgme-fe3de5b86b4a25f5b23cf1af2fd1809ef6c087a0.zip
Remove js as language from configure.ac
* configure.ac: Remove js language. -- It does not make much sense to integrate gpgme-js into the GPGME build system. gpgme-js will be distrbuted by it's users as part of the web extensions / their distribution as that is the JavaScript way. So they can use their tools etc. to compile gpgme-js JavaScript style, which is documented in the lang/js folder.
-rw-r--r--configure.ac24
1 files changed, 1 insertions, 23 deletions
diff --git a/configure.ac b/configure.ac
index 69d7132f..65f1ef90 100644
--- a/configure.ac
+++ b/configure.ac
@@ -187,7 +187,7 @@ have_w64_system=no
have_macos_system=no
build_w32_glib=no
build_w32_qt=no
-available_languages="cl cpp python python2 python3 qt js"
+available_languages="cl cpp python python2 python3 qt"
default_languages="cl cpp python qt"
case "${host}" in
x86_64-*mingw32*)
@@ -479,28 +479,6 @@ fi
AC_SUBST(ENABLED_LANGUAGES, $enabled_languages)
-# The javascript bindings
-LIST_MEMBER("js", $enabled_languages)
-if test "$found" = "1"; then
- AC_CHECK_PROGS([NPX], [npx])
- if test -z "$NPX"; then
- if test "$explicit_languages" = "1"; then
- AC_MSG_ERROR([[
-***
-*** Node.js (npx) is required for the JavaScript binding.
-***]])
- else
- AC_MSG_WARN([
-***
-*** Node.js (npx) not found - JavaScript binding will not be built.
-***])
- enabled_languages=$(echo $enabled_languages | sed 's/js//')
- fi
- fi
-fi
-AM_CONDITIONAL([BUILD_JS_BINDINGS],
- [test -n "$NPX"])
-
#
# Provide information about the build.
#