You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

32 lines
1.1 KiB

  1. --- a/userland/configure
  2. +++ b/userland/configure
  3. @@ -3875,12 +3875,6 @@ $as_echo "no" >&6; }
  4. if test "$IS_FREEBSD" != "1" && test "$cross_compiling" != "yes" ; then
  5. { $as_echo "$as_me:${as_lineno-$LINENO}: checking if r/w locks are supported" >&5
  6. $as_echo_n "checking if r/w locks are supported... " >&6; }
  7. - if test "$cross_compiling" = yes; then :
  8. - { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
  9. -$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
  10. -as_fn_error $? "cannot run test program while cross compiling
  11. -See \`config.log' for more details" "$LINENO" 5; }
  12. -else
  13. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  14. /* end confdefs.h. */
  15. @@ -3893,7 +3887,7 @@ else
  16. _ACEOF
  17. -if ac_fn_c_try_run "$LINENO"; then :
  18. +if ac_fn_c_try_compile "$LINENO"; then :
  19. { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
  20. $as_echo "yes" >&6; }
  21. cat >>confdefs.h <<_ACEOF
  22. @@ -3907,7 +3901,6 @@ $as_echo "no" >&6; }
  23. fi
  24. rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
  25. conftest.$ac_objext conftest.beam conftest.$ac_ext
  26. -fi
  27. fi