diff options
author | Björn Gustavsson <[email protected]> | 2011-09-07 11:04:21 +0200 |
---|---|---|
committer | Björn Gustavsson <[email protected]> | 2011-09-08 13:15:57 +0200 |
commit | c250fb907317bffbc17f7c3d962fa083d124f444 (patch) | |
tree | d1a7e813839131b16b058ef49b9d8ae3be53185d /erts | |
parent | 293e2c2fa1c0cca21c941fd15033d3251dfa0711 (diff) | |
download | otp-c250fb907317bffbc17f7c3d962fa083d124f444.tar.gz otp-c250fb907317bffbc17f7c3d962fa083d124f444.tar.bz2 otp-c250fb907317bffbc17f7c3d962fa083d124f444.zip |
erts/configure.in: Remove test for reversed setvbuf() arguments
The test is not needed, because no code tests whether SETVBUF_REVERSED
is defined.
Furthermore, AC_FUNC_SETVBUF_REVERSED is now documented like this:
Do nothing. Formerly, this macro checked whether setvbuf takes the
buffering type as its second argument and the buffer pointer as the
third, instead of the other way around, and defined
SETVBUF_REVERSED. However, the last systems to have the problem were
those based on SVR2, which became obsolete in 1987, and the macro is
no longer needed.
Diffstat (limited to 'erts')
-rwxr-xr-x | erts/autoconf/win32.config.cache.static | 1 | ||||
-rw-r--r-- | erts/configure.in | 5 |
2 files changed, 0 insertions, 6 deletions
diff --git a/erts/autoconf/win32.config.cache.static b/erts/autoconf/win32.config.cache.static index bbfe66ffdf..b387db2b22 100755 --- a/erts/autoconf/win32.config.cache.static +++ b/erts/autoconf/win32.config.cache.static @@ -96,7 +96,6 @@ ac_cv_func_sbrk=${ac_cv_func_sbrk=no} ac_cv_func_select=${ac_cv_func_select=no} ac_cv_func_setlocale=${ac_cv_func_setlocale=yes} ac_cv_func_setsid=${ac_cv_func_setsid=no} -ac_cv_func_setvbuf_reversed=${ac_cv_func_setvbuf_reversed=yes} ac_cv_func_socket=${ac_cv_func_socket=no} ac_cv_func_strchr=${ac_cv_func_strchr=yes} ac_cv_func_strerror=${ac_cv_func_strerror=yes} diff --git a/erts/configure.in b/erts/configure.in index 77ea7a2471..4cb573b061 100644 --- a/erts/configure.in +++ b/erts/configure.in @@ -1792,11 +1792,6 @@ AC_CHECK_FUNCS([ieee_handler fpsetmask finite isnan isinf res_gethostbyname dlop AC_CHECK_DECLS([posix2time],,,[#include <time.h>]) -if test "X$host" = "Xwin32"; then - ac_cv_func_setvbuf_reversed=yes -fi -AC_FUNC_SETVBUF_REVERSED - disable_vfork=false if test "x$EMU_THR_LIB_NAME" != "x"; then AC_MSG_CHECKING([if vfork is known to hang multithreaded applications]) |