On Fri, Feb 09, 2007 at 05:36:58PM -0600, [EMAIL PROTECTED] wrote: > > Have you tested if this works? > > HAVE_FSEEKO is defined by the AC_FUNC_FSEEKO automake macro. We > trust it won't be defined if the macro detects it is not defined > properly in the system headers and included in the C library.
You need HAVE_FSEEKO _and_ -D_LARGEFILE_SOURCE. AC_FUNC_FSEEKO only defines HAVE_FSEEKO, though, during testing in ./configure, it sets -D_LARGEFILE_SOURCE to expose fseeko/ftello. But, it doesn't set _LARGEFILE_SOURCE. The problem is that AC_FUNC_FSEEKO is buggy with autoconf-2.61. A fix was put in after 2.61 and is available in CVS. For info on the bug, see Debian bug id: http://bugs.debian.org/401377 and the following autoconf changelog entry: 2006-12-04 Paul Eggert <[EMAIL PROTECTED]> * lib/autoconf/functions.m4 (AC_FUNC_FSEEKO): Check that fseeko can be assigned to a function pointer. Problem reported by Peter Palfrader in <http://bugs.debian.org/401377>. Based on part of a patch by Ralf Wildenhues in that same bug report. -- albert chin ([EMAIL PROTECTED]) _______________________________________________ Magick-developers mailing list Magick-developers@imagemagick.org http://studio.imagemagick.org/mailman/listinfo/magick-developers