Re: AC_SYS_LARGEFILE in configure.ac

Bob Friesenhahn <[email protected]>
Newsgroups gmane.comp.video.graphicsmagick.core
Message-ID <[email protected]>
On Wed, 25 Jun 2003, Albert Chin wrote:

> Any reason a custom largefile detection routine in configure.ac is
> used in lieu of AC_SYS_LARGEFILE? Is it because you don't want to
> pollute the library with the extra CFLAGS brought in? If so, what is
> the problem with them being brought in?

The reason that AC_SYS_LARGEFILE is not used is that AC_SYS_LARGEFILE
adds defines to configure.h which is fine for normal software, but
doesn't work for the Perl extension.  The Perl extension requires
pre-processor options on the "command line".

If we were to take AC_SYS_LARGEFILE and modify it for our purposes, or
extract the necessary defines later in the configure script so they
could be supplied to PerlMagick, then we could take advantage of it.

Bob
======================================
Bob Friesenhahn
[email protected]
http://www.simplesystems.org/users/bfriesen



-------------------------------------------------------
This SF.Net email is sponsored by: INetU
Attention Web Developers & Consultants: Become An INetU Hosting Partner.
Refer Dedicated Servers. We Manage Them. You Get 10% Monthly Commission!
INetU Dedicated Managed Hosting http://www.inetu.net/partner/index.php
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.