configure: only run configure in test when NOT cross-compiling

... as the tests won't run cross-compiled anyway
This commit is contained in:
Daniel Stenberg 2016-02-13 11:39:08 +01:00
parent 5b46450af4
commit 63909b59a0
1 changed files with 3 additions and 1 deletions

View File

@ -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