aboutsummaryrefslogtreecommitdiffstats
path: root/macros/gnome-guile-checks.m4
diff options
context:
space:
mode:
authorMartin Baulig <martin@home-of-linux.org>1998-06-08 06:01:12 +0800
committerMartin Baulig <martin@src.gnome.org>1998-06-08 06:01:12 +0800
commita5956a088253fa700a3c99d44df4f03ff61bc489 (patch)
tree5b7bc5771db7a4c0d69f932bda4e693b201f5026 /macros/gnome-guile-checks.m4
parent5c5d83bff12c27e1f0ff2607408a3f46c8aee7e5 (diff)
downloadgsoc2013-evolution-a5956a088253fa700a3c99d44df4f03ff61bc489.tar.gz
gsoc2013-evolution-a5956a088253fa700a3c99d44df4f03ff61bc489.tar.zst
gsoc2013-evolution-a5956a088253fa700a3c99d44df4f03ff61bc489.zip
When cross-compiling, we now check for `$host_alias-buile-guile'.
1998-06-07 Martin Baulig <martin@home-of-linux.org> * gnome-guile-checks.m4 (GNOME_CHECK_GUILE): When cross-compiling, we now check for `$host_alias-buile-guile'. svn path=/trunk/; revision=252
Diffstat (limited to 'macros/gnome-guile-checks.m4')
-rw-r--r--macros/gnome-guile-checks.m48
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)