On Mon, Aug 15, 2011 at 5:03 PM, Jie Zhang <jzhang...@gmail.com> wrote:
> On Mon, Aug 15, 2011 at 9:35 AM, Spencer Oliver <s...@spen-soft.co.uk> > wrote: > > On 15 August 2011 14:22, Eric Wetzel <thewet...@gmail.com> wrote: > >> if test $cross_compiling = no; then > >> # guess-rev.sh only exists in the repository, not in the released > archives > >> AC_CHECK_FILE("$srcdir/guess-rev.sh", has_guess_rev=yes, > has_guess_rev=no) > >> > >> We automatically assume that if we are cross-compiling that we are > >> building a release. This section was last modified in July 2009, back > >> in the SVN days, but the commit is here: > >> > http://repo.or.cz/w/openocd.git/commitdiff/00fad24996d6642c6a820cc951c197dddef5734a > >> > Actually it was introduced earlier > > > http://repo.or.cz/w/openocd.git/commit/64e53c4fd8a5da944de57716b137a7dff5e67b63 > > This patch should fix it. Please review and merge if it's OK. Thank you! > > Jie > +if test -f $srcdir/guess-rev.sh ; then Great, but you should probably check if it's executable instead of just a regular file. /Andreas
_______________________________________________ Openocd-development mailing list Openocd-development@lists.berlios.de https://lists.berlios.de/mailman/listinfo/openocd-development