aboutsummaryrefslogtreecommitdiffstats
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
parent5c5d83bff12c27e1f0ff2607408a3f46c8aee7e5 (diff)
downloadgsoc2013-evolution-a5956a088253fa700a3c99d44df4f03ff61bc489.tar
gsoc2013-evolution-a5956a088253fa700a3c99d44df4f03ff61bc489.tar.gz
gsoc2013-evolution-a5956a088253fa700a3c99d44df4f03ff61bc489.tar.bz2
gsoc2013-evolution-a5956a088253fa700a3c99d44df4f03ff61bc489.tar.lz
gsoc2013-evolution-a5956a088253fa700a3c99d44df4f03ff61bc489.tar.xz
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
-rw-r--r--macros/ChangeLog10
-rw-r--r--macros/gnome-guile-checks.m48
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)