Hi, [email protected] wrote: > +# Variables for support of TCP_NODELAY: > +if test $OCAML_MAJOR >= 3 && $OCAML_MINOR >= 11; then > + NEED_NODELAY=yes > + TCP_NODELAY_VALUE='external set_tcp_nodelay : Unix.file_descr -> bool -> > unit = "stub_set_tcp_nodelay"' > +else > + NEED_NODELAY=no > + TCP_NODELAY_VALUE='let set_tcp_nodelay fd v = Unix.setsockopt fd > Unix.TCP_NODELAY v' > +fi > +AC_SUBST(NEED_TCP_NODELAY) > +AC_SUBST(TCP_NODELAY_VALUE)
Are you sure that you did not invert the then and the else statement? Moreover, this will not work for OCaml 4.02 (since 02 < 11)... ++ Sam. ------------------------------------------------------------------------------ _______________________________________________ Savonet-devl mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/savonet-devl
