List Info

Thread: Re: tests/rwblob_EPT_bilevel.sh on HP-UX/PA-RISC




Re: tests/rwblob_EPT_bilevel.sh on HP-UX/PA-RISC
country flaguser name
United States
2007-02-09 17:36:58
> 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.
_______________________________________________
Magick-developers mailing list
Magick-developersimagemagick.org
http://studio.imagemagick.org/mailman/listinfo/m
agick-developers

Re: tests/rwblob_EPT_bilevel.sh on HP-UX/PA-RISC
country flaguser name
United States
2007-02-09 17:28:47
On Fri, Feb 09, 2007 at 05:36:58PM -0600, omicronpersei8imagemagick.org 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  <eggertcs.ucla.edu>

          * 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 (chinathewrittenword.com)
_______________________________________________
Magick-developers mailing list
Magick-developersimagemagick.org
http://studio.imagemagick.org/mailman/listinfo/m
agick-developers

[1-2]

about | contact  Other archives ( Real Estate discussion Medical topics )