svn commit: samba r5282 - in branches/SAMBA_4_0/source: .
jerry at samba.org
jerry at samba.org
Tue Feb 8 22:55:25 GMT 2005
Author: jerry
Date: 2005-02-08 22:55:24 +0000 (Tue, 08 Feb 2005)
New Revision: 5282
WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=5282
Log:
merging autogen fixes from 3_0
Modified:
branches/SAMBA_4_0/source/autogen.sh
Changeset:
Modified: branches/SAMBA_4_0/source/autogen.sh
===================================================================
--- branches/SAMBA_4_0/source/autogen.sh 2005-02-08 22:54:29 UTC (rev 5281)
+++ branches/SAMBA_4_0/source/autogen.sh 2005-02-08 22:55:24 UTC (rev 5282)
@@ -16,7 +16,7 @@
##
for i in $TESTAUTOHEADER; do
if which $i > /dev/null 2>&1; then
- if [ `$i --version | head -n 1 | cut -d. -f 2` -ge 53 ]; then
+ if test `$i --version | head -n 1 | cut -d. -f 2 | tr -d [:alpha:]` -ge 53; then
AUTOHEADER=$i
AUTOHEADERFOUND="1"
break
@@ -30,7 +30,7 @@
for i in $TESTAUTOCONF; do
if which $i > /dev/null 2>&1; then
- if [ `$i --version | head -n 1 | cut -d. -f 2` -ge 53 ]; then
+ if test `$i --version | head -n 1 | cut -d. -f 2 | tr -d [:alpha:]` -ge 53; then
AUTOCONF=$i
AUTOCONFFOUND="1"
break
@@ -42,7 +42,7 @@
##
## do we have it?
##
-if [ "$AUTOCONFFOUND" = "0" -o "$AUTOHEADERFOUND" = "0" ]; then
+if test "$AUTOCONFFOUND" = "0" -o "$AUTOHEADERFOUND" = "0"; then
echo "$0: need autoconf 2.53 or later to build samba from SVN" >&2
exit 1
fi
More information about the samba-cvs
mailing list