[MPlayer-cvslog] r32759 - trunk/configure

reimar subversion at mplayerhq.hu
Wed Jan 5 17:01:01 CET 2011


Author: reimar
Date: Wed Jan  5 17:01:01 2011
New Revision: 32759

Log:
Define _XOPEN_SOURCE to 600 instead of 500 in mkstemp check, this is consistent
to the use in libavcodec, consistent with other _XOPEN_SOURCE defines in tests
and it fixes detection on Solaris that refuses to compile system headers when
combining std=c99 with _XOPEN_SOURCE 500.

Modified:
   trunk/configure

Modified: trunk/configure
==============================================================================
--- trunk/configure	Wed Jan  5 16:59:43 2011	(r32758)
+++ trunk/configure	Wed Jan  5 17:01:01 2011	(r32759)
@@ -3099,7 +3099,7 @@ done
 
 echocheck "mkstemp"
 _mkstemp=no
-define_statement_check "_XOPEN_SOURCE 500" "stdlib.h" 'mkstemp("")' && _mkstemp=yes
+define_statement_check "_XOPEN_SOURCE 600" "stdlib.h" 'mkstemp("")' && _mkstemp=yes
 if test "$_mkstemp" = yes ; then
   def_mkstemp='#define HAVE_MKSTEMP 1'
 else


More information about the MPlayer-cvslog mailing list