Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Evergreen:11.4
libmm14
segment_size.diff
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File segment_size.diff of Package libmm14
--- aclocal.m4.orig Fri Jul 26 14:41:58 2002 +++ aclocal.m4 Mon Jul 29 15:23:58 2002 @@ -215,9 +215,15 @@ ]) define(AC_CHECK_MAXSEGSIZE,[dnl +mm_segment_limit=32 +AC_ARG_WITH(max-segment-size, + AC_HELP_STRING([--with-max-segment-size=[size]], + [upper limit for the max segment size test (in MB).]), + [mm_segment_limit=$withval]) AC_MSG_CHECKING(for shared memory maximum segment size) AC_CACHE_VAL(ac_cv_maxsegsize,[ OCFLAGS="$CFLAGS" +CFLAGS="-DMM_SEGMENT_LIMIT=$mm_segment_limit" case "$1" in MM_SHMT_MM* ) CFLAGS="-DTEST_MMAP $CFLAGS" ;; MM_SHMT_IPCSHM ) CFLAGS="-DTEST_SHMGET $CFLAGS" ;; @@ -318,9 +324,10 @@ /* * Find maximum possible allocation size by performing a * binary search starting with a search space between 0 and - * 64MB of memory. + * MM_SEGMENT_LIMIT MB of memory. */ - t = 1024*1024*64 /* = 67108864 */; + t = 1024*1024*MM_SEGMENT_LIMIT /* = 67108864 */; + if (testit(t)) m = t; else {
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor