Permalink
Browse files

[cleanup] configure: removed node dependencies check

  • Loading branch information...
1 parent de8b66b commit d41c5ea3d3f434900262dced42cfdbe5915efe1b @Aqua-Ye Aqua-Ye committed Jun 29, 2012
Showing with 21 additions and 21 deletions.
  1. +21 −21 configure
View
@@ -340,27 +340,27 @@ else
exit 1
fi
-# - checking for nodejs package dependency
-check-node-dependency() (
- echo-check for "nodejs dependency: $1"
- # local DIR=$(mktemp -d /tmp/opa-configure.XXXXX)
- # trap "rm -rf /tmp/${DIR#/tmp/}" EXIT
- # echo "var $1 = require(\"$1\");" >test.nodejs
- # node test.nodejs
- if npm list | grep -q "$1" || npm list -g | grep -q "$1"; then
- echo-ok found
- else
- echo-err Not found
- exit 1
- fi
-)
-
-check-node-dependency "nodemailer"
-check-node-dependency "imap"
-check-node-dependency "mongodb"
-check-node-dependency "formidable"
-# node-iconv doesn't work on Windows.
-if [ ! "${IS_WINDOWS:-}" ]; then check-node-dependency "iconv"; fi
+# # - checking for nodejs package dependency
+# check-node-dependency() (
+# echo-check for "nodejs dependency: $1"
+# # local DIR=$(mktemp -d /tmp/opa-configure.XXXXX)
+# # trap "rm -rf /tmp/${DIR#/tmp/}" EXIT
+# # echo "var $1 = require(\"$1\");" >test.nodejs
+# # node test.nodejs
+# if npm list | grep -q "$1" || npm list -g | grep -q "$1"; then
+# echo-ok found
+# else
+# echo-err Not found
+# exit 1
+# fi
+# )
+
+# check-node-dependency "nodemailer"
+# check-node-dependency "imap"
+# check-node-dependency "mongodb"
+# check-node-dependency "formidable"
+# # node-iconv doesn't work on Windows.
+# if [ ! "${IS_WINDOWS:-}" ]; then check-node-dependency "iconv"; fi
# - checking camlidl *
echo-check for camlidl

0 comments on commit d41c5ea

Please sign in to comment.