[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

buildcheck.sh has same problem as autogen.sh on solaris 8

From: Max Okumoto <okumoto_at_ucsd.edu>
Date: 2001-11-30 13:18:12 CET

/bin/sh does not understand variabe=$(cmd) syntax. And output
of which contains noise.

                                        Max Okumoto

Index: buildcheck.sh
===================================================================
--- .svn/text-base/buildcheck.sh.svn-base Fri Nov 30 03:23:23 2001
+++ buildcheck.sh Fri Nov 30 04:09:03 2001
@@ -20,7 +20,7 @@
 echo "buildcheck: autoconf version $ac_version (ok)"
 
 # libtool 1.4 or newer
-libtool=$(which glibtool libtool 2>/dev/null | head -1)
+libtool=`which glibtool libtool 2>/dev/null | grep -v '^no ' | head -1`
 lt_pversion=`$libtool --version 2>/dev/null|sed -e 's/^[^0-9]*//' -e 's/[- ].*//'`
 if test -z "$lt_pversion"; then
   echo "buildcheck: libtool not found."

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Sat Oct 21 14:36:50 2006

This is an archived mail posted to the Subversion Dev mailing list.