From 63909b59a07d1a0d15935ef8a6f1a050eab6ace0 Mon Sep 17 00:00:00 2001 From: Daniel Stenberg Date: Sat, 13 Feb 2016 11:39:08 +0100 Subject: [PATCH] configure: only run configure in test when NOT cross-compiling ... as the tests won't run cross-compiled anyway --- configure.ac | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/configure.ac b/configure.ac index 53c5cfa7..7c66b20a 100644 --- a/configure.ac +++ b/configure.ac @@ -877,7 +877,9 @@ squeeze CARES_PRIVATE_LIBS XC_CHECK_BUILD_FLAGS -AC_CONFIG_SUBDIRS([test]) +if test "x$cross_compiling" = "xno"; then + AC_CONFIG_SUBDIRS([test]) +fi AC_CONFIG_FILES([Makefile libcares.pc]) AC_OUTPUT