1 --- coq-8.1pl4/configure~ 2008-10-09 11:40:41.000000000 +0200
2 +++ coq-8.1pl4/configure 2009-02-16 14:03:00.496249846 +0100
5 case $lablgtkdir_spec in
7 - if [ -f "${CAMLLIB}/lablgtk2/glib.mli" ]; then
8 + if [ -f "${CAMLLIB}/lablgtk2/glib.cmi" ]; then
9 lablgtkdir=${CAMLLIB}/lablgtk2
10 - elif [ -f "${CAMLLIB}/site-lib/lablgtk2/glib.mli" ]; then
11 + elif [ -f "${CAMLLIB}/site-lib/lablgtk2/glib.cmi" ]; then
12 lablgtkdir=${CAMLLIB}/site-lib/lablgtk2
15 - if [ ! -f "$lablgtkdir/glib.mli" ]; then
16 + if [ ! -f "$lablgtkdir/glib.cmi" ]; then
17 echo "Incorrect LablGtk2 library (glib.mli not found)."
18 echo "Configuration script failed!"
21 if [ "$lablgtkdir" = "" ]; then
22 echo "LablGtk2 not found: CoqIde will not be available."
24 - elif [ -z "`grep -w convert_with_fallback "$lablgtkdir/glib.mli"`" ]; then
25 - echo "LablGtk2 found but too old: CoqIde will not be available."
27 elif [ "$coqide_spec" = "yes" -a "$COQIDE" = "byte" ]; then
28 echo "LablGtk2 found, bytecode CoqIde will be used as requested."
31 ####################################################
33 if [ ! "$COQIDE" = "no" ]; then
34 - if grep "class view " "$lablgtkdir/gText.mli" | grep -q "\[>" ; then
35 - if grep -q "?accepts_tab:bool" "$lablgtkdir/gText.mli" ; then
36 cp -f ide/undo_lablgtk_ge212.mli ide/undo.mli
38 - cp -f ide/undo_lablgtk_ge26.mli ide/undo.mli
41 - cp -f ide/undo_lablgtk_lt26.mli ide/undo.mli
45 ##################################################