summaryrefslogtreecommitdiff
path: root/configure.in
diff options
context:
space:
mode:
authorMichael Natterer <mitch@gimp.org>2002-05-08 15:26:28 +0000
committerMichael Natterer <mitch@src.gnome.org>2002-05-08 15:26:28 +0000
commitdb9df57df14193c02d926f841cac7337ecf70609 (patch)
tree024abc88d846dfad2d38eb51863348008501b6ef /configure.in
parent4fa9758df4d20822d6b1d5fe67c1bb6a0b11ef58 (diff)
downloadgtk+-db9df57df14193c02d926f841cac7337ecf70609.tar.gz
fixed yesterdays fix for cross compiling: simply check the variable
2002-05-08 Michael Natterer <mitch@gimp.org> * configure.in: fixed yesterdays fix for cross compiling: simply check the variable "cross_compiling" which gets set by autoconf.
Diffstat (limited to 'configure.in')
-rw-r--r--configure.in4
1 files changed, 2 insertions, 2 deletions
diff --git a/configure.in b/configure.in
index 40575fb1a7..6861c76b7c 100644
--- a/configure.in
+++ b/configure.in
@@ -881,9 +881,9 @@ AM_CONDITIONAL(USE_MMX, test x$use_mmx_asm = xyes)
dnl Look for a host system's gdk-pixbuf-csource if we are cross-compiling
-AM_CONDITIONAL(CROSS_COMPILING, test $build != $host)
+AM_CONDITIONAL(CROSS_COMPILING, test $cross_compiling = yes)
-if test $CROSS_COMPILING; then
+if test $cross_compiling = yes; then
AC_PATH_PROG(GDK_PIXBUF_CSOURCE, gdk-pixbuf-csource, no)
if test x$GDK_PIXBUF_CSOURCE = xno; then
AC_MSG_ERROR(Could not find a gdk-pixbuf-csource in your PATH)