]> git.sur5r.net Git - openocd/commit
Fix out-of-tree build
authorAndreas Fritiofson <andreas.fritiofson@gmail.com>
Thu, 25 Jul 2013 01:21:53 +0000 (03:21 +0200)
committerSpencer Oliver <spen@spen-soft.co.uk>
Tue, 30 Jul 2013 11:56:57 +0000 (11:56 +0000)
commit9cab9361868eeb95b95d5d3e7960443d91284189
tree706de2d4206e9761be97853a229a58f860810ce7
parent01a8c7367d4dd09a6bd86dd55b0af7187cbdebc0
Fix out-of-tree build

The current AX_CONFIG_SUBDIR_OPTION macro assumes that $srcdir is a
relative path. If it is not, jimtcl/configure.gnu is generated such that
an out-of-tree build will fail at the configure step unless the build dir
is a sibling to the source dir.

Change the generated jimtcl/configure.gnu wrapper to use the same
`dirname $0` trick as jimtcl/configure (which itself is a wrapper around
autosetup).

Change-Id: I0fb19ae114ba37169b422b28313262f9bd83eb6f
Signed-off-by: Andreas Fritiofson <andreas.fritiofson@gmail.com>
Reviewed-on: http://openocd.zylin.com/1528
Tested-by: jenkins
Reviewed-by: Spencer Oliver <spen@spen-soft.co.uk>
Reviewed-by: Xiaofan <xiaofanc@gmail.com>
config_subdir.m4