diff options
author | Martin Baulig <martin@home-of-linux.org> | 1998-06-07 22:01:12 +0000 |
---|---|---|
committer | Martin Baulig <martin@src.gnome.org> | 1998-06-07 22:01:12 +0000 |
commit | dc380112eeed5fa0edcf98191ea3edff04a5a819 (patch) | |
tree | 0c628f0fa451199f8249bb27d6a595ed1e5a9439 /macros/gnome-guile-checks.m4 | |
parent | 2f7ed81c1dd041bb4e707ed324a9d66dfbebc951 (diff) | |
download | shared-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.m4 | 8 |
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) |