summaryrefslogtreecommitdiff
path: root/configure.in
diff options
context:
space:
mode:
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)