changeset 33402:d9f02729b2f3

Revert r33368, it broke mingw32 compilation.
author cehoyos
date Tue, 24 May 2011 08:19:10 +0000
parents 77259faac73a
children 02ef77592b7d
files configure
diffstat 1 files changed, 2 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/configure	Tue May 24 08:02:32 2011 +0000
+++ b/configure	Tue May 24 08:19:10 2011 +0000
@@ -3876,7 +3876,8 @@
 
 echocheck "swab()"
 _swab=no
-define_statement_check "_XOPEN_SOURCE 600" "unistd.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)' ||
+    statement_check "string.h" 'int a, b; swab(&a, &b, 0)' && _swab=yes
 if test "$_swab" = yes ; then
   def_swab='#define HAVE_SWAB 1'
   need_swab=no