diff options
Diffstat (limited to 'macros')
-rw-r--r-- | macros/ChangeLog | 10 | ||||
-rw-r--r-- | macros/gnome-guile-checks.m4 | 8 |
2 files changed, 15 insertions, 3 deletions
diff --git a/macros/ChangeLog b/macros/ChangeLog index b74114f30c..9a13321c84 100644 --- a/macros/ChangeLog +++ b/macros/ChangeLog @@ -1,7 +1,13 @@ +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'. + 1998-06-03 Martin Baulig <martin@home-of-linux.org> - * gnome-guile-checks.m4 (GNOME_CHECK_GUILE): Looks also in $GNOME_LIBDIR; - added failflag: GNOME_CHECK_GUILE(fail) will abort if guile cannot be found. + * gnome-guile-checks.m4 (GNOME_CHECK_GUILE): Looks also + in $GNOME_LIBDIR; added failflag: GNOME_CHECK_GUILE(fail) + will abort if guile cannot be found. 1998-05-23 Martin Baulig <martin@home-of-linux.org> 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) |