summaryrefslogtreecommitdiff
path: root/macros/gnome-guile-checks.m4
diff options
context:
space:
mode:
authorMartin Baulig <martin@home-of-linux.org>1998-06-07 22:01:12 +0000
committerMartin Baulig <martin@src.gnome.org>1998-06-07 22:01:12 +0000
commitdc380112eeed5fa0edcf98191ea3edff04a5a819 (patch)
tree0c628f0fa451199f8249bb27d6a595ed1e5a9439 /macros/gnome-guile-checks.m4
parent2f7ed81c1dd041bb4e707ed324a9d66dfbebc951 (diff)
downloadshared-mime-info-dc380112eeed5fa0edcf98191ea3edff04a5a819.tar.gz
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=241
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 5651f4da..b5c0a0b7 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)