On Wed, 14 Jan 2004, Steven M. Schultz wrote:
>       Look in cpu_accel.c - you should see something like this:
> 
>         if (posix_memalign( &buf, simd_alignment, size))
>                 buf = memalign(pgsize, size);
>         if (buf && ((int)buf & (simd_alignment - 1)))
>         {
>                 free(buf);
>                 buf = memalign(pgsize, size);
>         }

Could this be done at configure time?  Check the glibc version or have
autoconf run a test program to see if posix_memalign works?




-------------------------------------------------------
This SF.net email is sponsored by: Perforce Software.
Perforce is the Fast Software Configuration Management System offering
advanced branching capabilities and atomic changes on 50+ platforms.
Free Eval! http://www.perforce.com/perforce/loadprog.html
_______________________________________________
Mjpeg-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/mjpeg-users

Reply via email to