DHDAXCW-Rockchip-OpenWrt/package/lean/heimdal/patches/010-configure-fix-cross-compiling.patch
2018-01-29 16:05:37 +08:00

27 lines
575 B
Diff

--- a/configure
+++ b/configure
@@ -1455,6 +1455,10 @@
fi
fi
+if test "${with_cross_tools+set}" = set; then
+ cross_compiling=yes
+fi
+
ac_tool_prefix=
test -n "$host_alias" && ac_tool_prefix=$host_alias-
@@ -28246,6 +28250,12 @@
krb_cv_compile_et="no"
krb_cv_com_err_need_r=""
krb_cv_compile_et_cross=no
+
+if test "${with_cross_tools+set}" = set; then
+ krb_cv_compile_et_cross=yes
+ krb_cv_com_err=yes
+fi
+
if test "${COMPILE_ET}" = "compile_et"; then
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether compile_et has the features we need" >&5