[PATCH] Fix buildcheck.sh on Solaris
From: Justin Erenkrantz <jerenkrantz_at_ebuilt.com>
Date: 2001-12-15 09:01:45 CET
The /bin/sh on Solaris does not seem to support the
So, the following must be applied to get buildcheck.sh to
---- buildcheck.sh: Make libtool detection work with Solaris and /bin/sh. Index: buildcheck.sh =================================================================== --- .svn/text-base/buildcheck.sh.svn-base Fri Dec 14 23:43:07 2001 +++ buildcheck.sh Fri Dec 14 23:51:41 2001 @@ -20,7 +20,10 @@ echo "buildcheck: autoconf version $ac_version (ok)" # libtool 1.4 or newer -libtool=$(which glibtool libtool 2>/dev/null | head -1) +libtool=`which glibtool` +if test ! -x "$libtool"; then + libtool=`which libtool` +fi 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.orgReceived on Sat Oct 21 14:36:53 2006 |
This is an archived mail posted to the Subversion Dev mailing list.
This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.