check_broken_tcp_nopush.m4 445 B

12345678910111213141516171819
  1. # CHECK_BROKEN_TCP_NOPUSH
  2. # -----------------------
  3. AC_DEFUN([CHECK_BROKEN_TCP_NOPUSH],
  4. [AC_REQUIRE([AC_CANONICAL_TARGET])
  5. case $target_os in
  6. darwin*)
  7. AC_DEFINE([BROKEN_TCP_NOPUSH], [1],
  8. [Define to 1 if the OS has a broken TCP_NOPUSH implementation])
  9. ;;
  10. cygwin*)
  11. AC_DEFINE([BROKEN_TCP_NOPUSH], [1],
  12. [Define to 1 if the OS has a broken TCP_NOPUSH implementation])
  13. ;;
  14. esac
  15. AC_SUBST([BROKEN_TCP_NOPUSH])
  16. ])# CHECK_BROKEN_TCP_NOPUSH