29 lines
1.1 KiB
Text
29 lines
1.1 KiB
Text
$NetBSD: patch-ab,v 1.4 2006/12/03 23:55:14 obache Exp $
|
|
|
|
--- configure.orig 2006-11-21 07:31:44.000000000 +0900
|
|
+++ configure
|
|
@@ -8010,19 +8010,19 @@ echo $ECHO_N "checking for Ocaml version
|
|
isolate_b_regex='\([0-9]\+\).*'
|
|
for ver_part in $nodots_a ; do
|
|
b_ver_part=`echo "$ver_b" | sed -e 's/'"$isolate_b_regex"'/\1/'`
|
|
- if test \( "$ver_part" -lt "$b_ver_part" \) -a \( "x$condition" == "xequal" \) ; then
|
|
+ if test \( "$ver_part" -lt "$b_ver_part" \) -a \( "x$condition" = "xequal" \) ; then
|
|
condition=less
|
|
- elif test \( "$ver_part" -gt "$b_ver_part" \) -a \( "x$condition" == "xequal" \) ; then
|
|
+ elif test \( "$ver_part" -gt "$b_ver_part" \) -a \( "x$condition" = "xequal" \) ; then
|
|
condition=greater
|
|
fi
|
|
isolate_b_regex='[0-9]\+\.'"$isolate_b_regex"
|
|
done
|
|
|
|
- if test "x$condition" == "xequal" ; then
|
|
+ if test "x$condition" = "xequal" ; then
|
|
:
|
|
- elif test "x$condition" == "xless" ; then
|
|
+ elif test "x$condition" = "xless" ; then
|
|
:
|
|
- elif test "x$condition" == "xgreater" ; then
|
|
+ elif test "x$condition" = "xgreater" ; then
|
|
OCAMLLOC=_loc
|
|
fi
|
|
|