[MPlayer-cvslog] r33368 - trunk/configure

diego subversion at mplayerhq.hu
Thu May 5 09:40:57 CEST 2011


Author: diego
Date: Thu May  5 09:40:56 2011
New Revision: 33368

Log:
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.

Modified:
   trunk/configure

Modified: trunk/configure
==============================================================================
--- trunk/configure	Thu May  5 07:29:58 2011	(r33367)
+++ trunk/configure	Thu May  5 09:40:56 2011	(r33368)
@@ -3884,8 +3884,7 @@ echores "$_vsscanf"
 
 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


More information about the MPlayer-cvslog mailing list