Skip to content
Snippets Groups Projects
Commit 64e53c4f authored by ntfreak's avatar ntfreak
Browse files

- AC_CHECK_FILE not supported when cross-compiling

git-svn-id: svn://svn.berlios.de/openocd/trunk@1361 b42882b7-edfa-0310-969c-e2dbd0fdcd60
parent d5209dae
No related branches found
No related tags found
No related merge requests found
......@@ -33,9 +33,11 @@ AC_ARG_ENABLE(release,
AS_HELP_STRING([--enable-release], [Enable Release Build, default no]),
[build_release=$enableval], [build_release=no])
if test $build_release = no; then
# check we can find guess-rev.sh
AC_CHECK_FILE("$srcdir/guess-rev.sh", build_release=no, build_release=yes)
if test $cross_compiling = no; then
if test $build_release = no; then
# check we can find guess-rev.sh
AC_CHECK_FILE("$srcdir/guess-rev.sh", build_release=no, build_release=yes)
fi
fi
# We are not *ALWAYS* being installed in the standard place.
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment