Permalink
Browse files

[fix] configure: disable camlidl and dbm by default

  • Loading branch information...
1 parent a8ccea3 commit c65859270d0197769c784e52de79afeba0950b27 François-Régis Sinot committed Sep 1, 2011
Showing with 10 additions and 1 deletion.
  1. +10 −1 configure
View
@@ -13,7 +13,7 @@ opalang configure script. Options:
-ocamlopt <path> the ocaml compiler to use
-ocamlfind <path> use the given ocamlfind to locate libraries
-no-ocamlfind don't use ocamlfind
- -no-camlidl disable features based on camlidl
+ -camlidl enable features based on camlidl
-no-dbm disable features based on dbm
-help shows this message
EOF
@@ -22,6 +22,9 @@ EOF
cd "$OPA_SOURCE_DIR"
+NO_CAMLIDL=1
+NO_DBM=1
+
while [ $# -gt 0 ]; do
case "$1" in
-prefix)
@@ -53,6 +56,12 @@ while [ $# -gt 0 ]; do
-no-ocamlfind)
NO_OCAMLFIND=1
;;
+ -camlidl)
+ NO_CAMLIDL=0
+ ;;
+ -dbm)
+ NO_DBM=0
+ ;;
-no-camlidl)
NO_CAMLIDL=1
;;

0 comments on commit c658592

Please sign in to comment.