Commit abc1cbcb authored by gerd's avatar gerd

Updates for newer GODI versions.


git-svn-id: https://godirepo.camlcity.org/svn/app-wtimer/trunk@3 f6fe576d-e0d0-0310-b8e7-f4ac0f1a5269
parent fa76cedc
......@@ -93,7 +93,7 @@ usage: ./configure [ options ]
_EOF_
echo "-prefix <dir>:"
echo " Use this directory as common prefix for the other paths"
echo "-wtimerdir <dir>:"
echo " Install shared application core into this directory"
......@@ -116,8 +116,8 @@ _EOF_
e="help=\$help_$opt"
eval "$e"
uopt=`echo $opt | sed -e 's/_/-/g'`
echo "-with-$uopt:"
echo "-without-$uopt:"
echo "-with-$uopt:"
echo "-without-$uopt:"
echo " $help"
done
......@@ -264,16 +264,21 @@ if ocamlfind query ocamlodbc >/dev/null 2>/dev/null; then
echo "found (via findlib)"
requires="$requires,ocamlodbc"
else
if ocamlc -I +ocamlodbc ocamlodbc.cma -o .dummy.out; then
echo "found (via -I +ocamlodbc)"
i_options="$i_options -I +ocamlodbc"
bytelink_options="ocamlodbc.cma"
natlink_options="ocamlodbc.cmxa"
rm -f .dummy.out
if ocamlfind query ocamlodbc-unixodbc >/dev/null 2>/dev/null; then
echo "found (via findlib)"
requires="$requires,ocamlodbc-unixodbc"
else
echo "not found"
echo "Sorry, installation is not possible without ocamlodbc."
exit 1
if ocamlc -I +ocamlodbc ocamlodbc.cma -o .dummy.out; then
echo "found (via -I +ocamlodbc)"
i_options="$i_options -I +ocamlodbc"
bytelink_options="ocamlodbc.cma"
natlink_options="ocamlodbc.cmxa"
rm -f .dummy.out
else
echo "not found"
echo "Sorry, installation is not possible without ocamlodbc."
exit 1
fi
fi
fi
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment