From d71ddbb3f1343218d0ae65186d3de5d8bb2f63bd Mon Sep 17 00:00:00 2001 From: Mike Frysinger Date: Thu, 24 Apr 2008 22:55:52 +0000 Subject: [PATCH] 2008-04-24 Mike Frysinger * configure.ac: [ 1950061 ] Look for the ChangeLog in $srcdir. git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@1182 b68d4a1b-bc3d-0410-92ed-d4ac073336b7 --- jtag/ChangeLog | 1 + jtag/configure.ac | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/jtag/ChangeLog b/jtag/ChangeLog index bfcdd1ff..335bbfb1 100644 --- a/jtag/ChangeLog +++ b/jtag/ChangeLog @@ -5,6 +5,7 @@ variable due to portability issues (like with libusb-win32). * src/jtag.c (jtag_readline_loop): [ 1950315 ] Fix quiting when using the non readline version. + * configure.ac: [ 1950061 ] Look for the ChangeLog in $srcdir. 2008-04-19 Kolja Waschk diff --git a/jtag/configure.ac b/jtag/configure.ac index d371872c..92ac2e93 100644 --- a/jtag/configure.ac +++ b/jtag/configure.ac @@ -41,7 +41,7 @@ if test -n "$SVN" -a -x "$SVN"; then fi fi if test "$SVN_REVISION" -eq 0 -a -e "$srcdir/ChangeLog"; then - SVN_REVISION=`awk 'BEGIN { x=0 } /Revision: / { if($2>x) x=$2; } END { printf "%d\n",x }' ChangeLog` + SVN_REVISION=`awk 'BEGIN { x=0 } /Revision: / { if($2>x) x=$2; } END { printf "%d\n",x }' "$srcdir/ChangeLog"` if test "$SVN_REVISION" -ne "0" ; then AC_MSG_RESULT([from ChangeLog: $SVN_REVISION]) fi