set an automake conditional for if this is a cross-compile or not
authorDaniel Stenberg <daniel@haxx.se>
Thu, 3 Jun 2004 14:37:14 +0000 (14:37 +0000)
committerDaniel Stenberg <daniel@haxx.se>
Thu, 3 Jun 2004 14:37:14 +0000 (14:37 +0000)
configure.ac

index ee2fb6e..63aa484 100644 (file)
@@ -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 \