diff options
Diffstat (limited to 'macros/gnome-guile-checks.m4')
-rw-r--r-- | macros/gnome-guile-checks.m4 | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/macros/gnome-guile-checks.m4 b/macros/gnome-guile-checks.m4 index 5651f4dae5..b5c0a0b7cf 100644 --- a/macros/gnome-guile-checks.m4 +++ b/macros/gnome-guile-checks.m4 @@ -23,7 +23,13 @@ AC_DEFUN([GNOME_CHECK_GUILE], AC_SUBST(TERMCAP_LIB) AC_SUBST(READLINE_LIB) - AC_CHECK_PROG(BUILD_GUILE, build-guile, yes, no) + if test "x$cross_compiling" = "xyes" ; then + name_build_guile="$target_alias-build-guile" + else + name_build_guile="buile-guile" + fi + + AC_CHECK_PROG(BUILD_GUILE, $name_build_guile, yes, no) if test "x$BUILD_GUILE" = "xyes"; then AC_MSG_CHECKING(whether build-guile works) |