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

... as the tests won't run cross-compiled anyway
pull/43/head
Daniel Stenberg 9 years ago
parent 5b46450af4
commit 63909b59a0
  1. 4
      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

Loading…
Cancel
Save