From fe3de5b86b4a25f5b23cf1af2fd1809ef6c087a0 Mon Sep 17 00:00:00 2001 From: Andre Heinecke Date: Tue, 21 Aug 2018 12:49:22 +0200 Subject: [PATCH] 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. --- configure.ac | 24 +----------------------- 1 file changed, 1 insertion(+), 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. #