0001-ac_cv_sys_symbol_underscore.patch 793 B

123456789101112131415161718192021222324252627
  1. diff --git a/acinclude.m4 b/acinclude.m4
  2. index a7bc0fa..1a5bffc 100644
  3. --- a/acinclude.m4
  4. +++ b/acinclude.m4
  5. @@ -76,13 +76,14 @@ case "${host}" in
  6. i386-emx-os2 | i[3456]86-pc-os2*emx | i386-pc-msdosdjgpp)
  7. ac_cv_sys_symbol_underscore=yes
  8. ;;
  9. - *)
  10. - if test "$cross_compiling" = yes; then
  11. - if test "x$ac_cv_sys_symbol_underscore" = x ; then
  12. - ac_cv_sys_symbol_underscore=yes
  13. - fi
  14. - else
  15. - tmp_do_check="yes"
  16. + *) if test -z "$ac_cv_sys_symbol_underscore"; then
  17. + if test "$cross_compiling" = yes; then
  18. + if test "x$ac_cv_sys_symbol_underscore" = x ; then
  19. + ac_cv_sys_symbol_underscore=yes
  20. + fi
  21. + else
  22. + tmp_do_check="yes"
  23. + fi
  24. fi
  25. ;;
  26. esac