0003-configure.ac-allow-cross-compilation.patch 1.8 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344
  1. From d6c1da041da77902a06d10bf03ef454468921801 Mon Sep 17 00:00:00 2001
  2. From: Changqing Li <changqing.li@windriver.com>
  3. Date: Tue, 24 Jul 2018 15:03:39 +0800
  4. Subject: [PATCH] configure.ac: allow cross-compilation
  5. The checking OpenSSL library and header version consistency will
  6. always fail in cross compiling, skip the check and give a warning
  7. instead for cross compiling.
  8. Upstream-Status: Inappropriate[embedded specific]
  9. Signed-off-by: Jackie Huang <jackie.huang@windriver.com>
  10. Signed-off-by: Yi Zhao <yi.zhao@windriver.com>
  11. update to new version 3.0.17 to fix patch warning
  12. Signed-off-by: Changqing Li <changqing.li@windriver.com>
  13. Fetch from: http://cgit.openembedded.org/meta-openembedded/tree/meta-networking/recipes-connectivity/freeradius/files
  14. Signed-off-by: David Gouarin <david.gouarin@thalesgroup.com>
  15. Signed-off-by: Matt Weber <matthew.weber@rockwellcollins.com>
  16. Upstream: https://github.com/FreeRADIUS/freeradius-server/pull/4632
  17. [Fabrice: update for 3.2.3]
  18. Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
  19. ---
  20. src/modules/rlm_krb5/configure.ac | 3 ++-
  21. 1 file changed, 2 insertions(+), 1 deletion(-)
  22. diff --git a/src/modules/rlm_krb5/configure.ac b/src/modules/rlm_krb5/configure.ac
  23. index efc9f29d7f..98a97e438a 100644
  24. --- a/src/modules/rlm_krb5/configure.ac
  25. +++ b/src/modules/rlm_krb5/configure.ac
  26. @@ -137,7 +137,8 @@ if test x$with_[]modname != xno; then
  27. FR_SMART_CHECK_LIB(krb5, krb5_is_thread_safe)
  28. if test "x$ac_cv_lib_krb5_krb5_is_thread_safe" = xyes; then
  29. AC_RUN_IFELSE([AC_LANG_PROGRAM([[#include <krb5.h>]], [[return krb5_is_thread_safe() ? 0 : 1]])],
  30. - [krb5threadsafe="-DKRB5_IS_THREAD_SAFE"], [AC_MSG_WARN([[libkrb5 is not threadsafe]])])
  31. + [krb5threadsafe="-DKRB5_IS_THREAD_SAFE"], [AC_MSG_WARN([[libkrb5 is not threadsafe]])],
  32. + [AC_MSG_WARN(cross compiling: not checking)])
  33. fi
  34. else
  35. krb5threadsafe=""
  36. --
  37. 2.17.1