]> git.sur5r.net Git - openocd/commitdiff
- fix issue with configure when building srcdir != builddir
authorntfreak <ntfreak@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
Tue, 20 Jan 2009 13:27:02 +0000 (13:27 +0000)
committerntfreak <ntfreak@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
Tue, 20 Jan 2009 13:27:02 +0000 (13:27 +0000)
git-svn-id: svn://svn.berlios.de/openocd/trunk@1352 b42882b7-edfa-0310-969c-e2dbd0fdcd60

configure.in

index dd2c70b7d015c65da84ee5bb7cfdd52fcf73400a..7829083811d8a6d7d1dc10c4a3e6b370bd5e71f6 100644 (file)
@@ -35,7 +35,7 @@ AC_ARG_ENABLE(release,
 
 if test $build_release = no; then
        # check we can find guess-rev.sh
-       AC_CHECK_FILE("guess-rev.sh", build_release=no, build_release=yes)
+       AC_CHECK_FILE("$srcdir/guess-rev.sh", build_release=no, build_release=yes)
 fi
 
 # We are not *ALWAYS* being installed in the standard place.