From 20705ca311e8cdf7ed4e7983f822d30194649c3c Mon Sep 17 00:00:00 2001
From: Daniel Stenberg <daniel@haxx.se>
Date: Thu, 3 Jun 2004 14:37:14 +0000
Subject: [PATCH] set an automake conditional for if this is a cross-compile or
 not

---
 configure.ac | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/configure.ac b/configure.ac
index ee2fb6e0b..63aa48493 100644
--- a/configure.ac
+++ b/configure.ac
@@ -1365,6 +1365,8 @@ AC_HELP_STRING([--disable-debug],[Disable debug options]),
        AC_MSG_RESULT(no)
 )
 
+AM_CONDITIONAL(CROSSCOMPILING, test x$cross_compiling = xyes)
+
 AC_CONFIG_FILES([Makefile \
 	   docs/Makefile \
            docs/examples/Makefile \
-- 
2.40.0