From 6c692c9f6762f0490307294e098b7ce1a8d46611 Mon Sep 17 00:00:00 2001
From: "Suren A. Chilingaryan" <csa@dside.dyndns.org>
Date: Sun, 13 Jan 2008 01:40:08 +0000
Subject: Portability fixes     - FreeBSD compability fixes of autoconfigure
 scripts by Ulrich Spoerlein

---
 VERSION      | 2 +-
 configure.in | 2 +-
 release      | 4 ++--
 3 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/VERSION b/VERSION
index 9767cc9..20f4951 100644
--- a/VERSION
+++ b/VERSION
@@ -1 +1 @@
-0.1.10
+0.1.11
diff --git a/configure.in b/configure.in
index 15d197f..0940012 100644
--- a/configure.in
+++ b/configure.in
@@ -22,7 +22,7 @@ AC_ARG_ENABLE( latin,
     [  --disable-latin		disable detection of ISO-8859-1],,
     disable_latin="yes")
 
-if test "x$disable_latin" == "xyes"; then
+if test "x$disable_latin" = "xyes"; then
     AC_DEFINE(DETECT_LATIN,1,[Defines if ISO-8859-1 detection is enabled])
 fi
 
diff --git a/release b/release
index b51819c..da4e340 100755
--- a/release
+++ b/release
@@ -14,8 +14,8 @@ if [ ! -d $RDIR ]; then
     mkdir -p $RDIR
 fi
 
-version=`cat VERSION | perl -e "while (<STDIN>) {  if (m/(\d\.\d(.\d)?)/) { print \\$1; } }"`
-cvs=`cat VERSION | perl -e "while (<STDIN>) {  if (m/\d\.\d(.\d)?.*(cvs|CVS|Cvs)/) { print 'cvs'; } }"`
+version=`cat VERSION | perl -e "while (<STDIN>) {  if (m/(\d\.\d(.\d{1,2})?)/) { print \\$1; } }"`
+cvs=`cat VERSION | perl -e "while (<STDIN>) {  if (m/\d\.\d(.\d{1,2})?.*(cvs|CVS|Cvs)/) { print 'cvs'; } }"`
 if [ "$cvs" == "cvs" ]; then
     rname="$NAME-`date +%y%m%d.%H`"
 else
-- 
cgit v1.2.3