From: ntfreak at B. <nt...@ma...> - 2009-01-23 13:07:18
|
Author: ntfreak Date: 2009-01-23 13:07:15 +0100 (Fri, 23 Jan 2009) New Revision: 1361 Modified: trunk/configure.in Log: - AC_CHECK_FILE not supported when cross-compiling Modified: trunk/configure.in =================================================================== --- trunk/configure.in 2009-01-23 07:10:11 UTC (rev 1360) +++ trunk/configure.in 2009-01-23 12:07:15 UTC (rev 1361) @@ -33,9 +33,11 @@ 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. |