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.

20 lines
840 B

  1. --- a/configure.ac
  2. +++ b/configure.ac
  3. @@ -765,7 +765,7 @@ if test x_$ub_test_python != x_no; then
  4. fi
  5. fi
  6. -if test "`uname`" = "NetBSD"; then
  7. +if test "${UNAME:-`uname`}" = "NetBSD"; then
  8. NETBSD_LINTFLAGS='"-D__RENAME(x)=" -D_NETINET_IN_H_'
  9. AC_SUBST(NETBSD_LINTFLAGS)
  10. fi
  11. @@ -1210,7 +1210,7 @@ esac
  12. AC_ARG_ENABLE(tfo-client, AS_HELP_STRING([--enable-tfo-client],[Enable TCP Fast Open for client mode]))
  13. case "$enable_tfo_client" in
  14. yes)
  15. - case `uname` in
  16. + case ${UNAME:-`uname`} in
  17. Linux) AC_CHECK_DECL([MSG_FASTOPEN], [AC_MSG_WARN([Check the platform specific TFO kernel parameters are correctly configured to support client mode TFO])],
  18. [AC_MSG_ERROR([TCP Fast Open is not available for client mode: please rerun without --enable-tfo-client])],
  19. [AC_INCLUDES_DEFAULT