[MPlayer-cvslog] r35808 - trunk/configure

diego subversion at mplayerhq.hu
Mon Jan 21 20:44:49 CET 2013


Author: diego
Date: Mon Jan 21 20:44:49 2013
New Revision: 35808

Log:
configure: Add check for mprotect(), used in libswscale.

Modified:
   trunk/configure

Modified: trunk/configure
==============================================================================
--- trunk/configure	Mon Jan 21 19:21:55 2013	(r35807)
+++ trunk/configure	Mon Jan 21 20:44:49 2013	(r35808)
@@ -3675,6 +3675,14 @@ else
   def_mman_has_map_failed='#define MAP_FAILED ((void *) -1)'
 fi
 
+
+echocheck "mprotect"
+mprotect=no
+def_mprotect='#define HAVE_MPROTECT 0'
+statement_check_broken stddef.h sys/mman.h 'mprotect(NULL, 0, 0)' && mprotect=yes
+echores "$mprotect"
+
+
 echocheck "dynamic loader"
 _dl=no
 for ld_tmp in "" -ldl; do
@@ -8946,6 +8954,7 @@ $def_lrintf
 $def_mlib
 $def_mkstemp
 $def_mmap
+$def_mprotect
 $def_network
 $def_os2threads
 $def_pic


More information about the MPlayer-cvslog mailing list