--- freeradius-server-3.2.10.orig/src/modules/rlm_krb5/configure.ac 2026-10-18 06:34:44.557020506 +0200 +++ freeradius-server-3.2.10/src/modules/rlm_krb5/configure.ac 2026-10-18 06:34:44.565369343 +0200 @@ -143,7 +143,8 @@ if test "$krb5threadsafe" != "no"; then FR_SMART_CHECK_LIB(krb5, krb5_is_thread_safe) if test "x$ac_cv_lib_krb5_krb5_is_thread_safe" = xyes; then AC_RUN_IFELSE([AC_LANG_PROGRAM([[#include ]], [[return krb5_is_thread_safe() ? 0 : 1]])], - [krb5threadsafe="-DKRB5_IS_THREAD_SAFE"], [AC_MSG_WARN([[libkrb5 is not threadsafe]])]) + [krb5threadsafe="-DKRB5_IS_THREAD_SAFE"], [AC_MSG_WARN([[libkrb5 is not threadsafe]])], + [AC_MSG_WARN([[cross compiling, assuming libkrb5 is not threadsafe]])]) fi else krb5threadsafe="" --- freeradius-server-3.2.10.orig/src/modules/rlm_krb5/configure 2026-10-18 06:34:44.576941696 +0200 +++ freeradius-server-3.2.10/src/modules/rlm_krb5/configure 2026-10-18 06:34:44.585016715 +0200 @@ -4004,10 +4004,8 @@ fi if test "x$ac_cv_lib_krb5_krb5_is_thread_safe" = xyes; then if test "$cross_compiling" = yes; then : - { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 -$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} -as_fn_error $? "cannot run test program while cross compiling -See \`config.log' for more details" "$LINENO" 5; } + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cross compiling, assuming libkrb5 is not threadsafe" >&5 +$as_echo "$as_me: WARNING: cross compiling, assuming libkrb5 is not threadsafe" >&2;} else cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */