diff options
author | Suren A. Chilingaryan <csa@dside.dyndns.org> | 2008-01-13 01:40:08 +0000 |
---|---|---|
committer | Suren A. Chilingaryan <csa@dside.dyndns.org> | 2008-01-13 01:40:08 +0000 |
commit | 6c692c9f6762f0490307294e098b7ce1a8d46611 (patch) | |
tree | 15b67c844bdfd57a2823034925c1c6fd637a93a2 | |
parent | 6c1ee4cb430e77b9e7a4d9d8a027b58186cb05e7 (diff) | |
download | librcd-6c692c9f6762f0490307294e098b7ce1a8d46611.tar.gz librcd-6c692c9f6762f0490307294e098b7ce1a8d46611.tar.bz2 librcd-6c692c9f6762f0490307294e098b7ce1a8d46611.tar.xz librcd-6c692c9f6762f0490307294e098b7ce1a8d46611.zip |
Portability fixes
- FreeBSD compability fixes of autoconfigure scripts by Ulrich Spoerlein
-rw-r--r-- | VERSION | 2 | ||||
-rw-r--r-- | configure.in | 2 | ||||
-rwxr-xr-x | release | 4 |
3 files changed, 4 insertions, 4 deletions
@@ -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 @@ -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 |