# HG changeset patch # User diego # Date 1304581256 0 # Node ID 0abc79c9142d505bff196e4c47050c08f5457956 # Parent d25054d6d2c259d125f4574aa4c4ecf2d6bef691 configure: Drop recently-added check for swab() in string.h again. This change was initially done to accomodate non-POSIX MinGW64, which placed swab() in string.h. The MinGW64 system headers have been updated to declare swab() in unistd.h, where we expect it, so two checks are now unnecessary. diff -r d25054d6d2c2 -r 0abc79c9142d configure --- a/configure Thu May 05 05:29:58 2011 +0000 +++ b/configure Thu May 05 07:40:56 2011 +0000 @@ -3884,8 +3884,7 @@ echocheck "swab()" _swab=no -define_statement_check "_XOPEN_SOURCE 600" "unistd.h" 'int a, b; swab(&a, &b, 0)' || - statement_check "string.h" 'int a, b; swab(&a, &b, 0)' && _swab=yes +define_statement_check "_XOPEN_SOURCE 600" "unistd.h" 'int a, b; swab(&a, &b, 0)' && _swab=yes if test "$_swab" = yes ; then def_swab='#define HAVE_SWAB 1' need_swab=no