[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: png.h

From: Han Boetes
Subject: Re: png.h
Date: Tue, 15 Jul 2003 10:25:20 +0200
User-agent: Mutt/1.4.1i

Kazu Yamamoto <address@hidden> wrote:
> "src/xfns.c" includes png.h but its path is hard-coded as follows:
>       #include <libpng/png.h>
> Since NetBSD installs png.h into /usr/pkg/include, "xfns.c" can't be
> compiled. If we remove "libpng/", it can be compiled, of course. I
> guess this line should be configured by "configure".

It was done on my request. png.h should be installed in
${prefix}/include/libpng/png.h. Lots of distro's keep symlinks to
${prefix}/include/png.h for backwards compatibility.

This is an archive of the png mailing list:


    However, most packages and configure scripts expect that
    <png.h>" will work, even though the recommended usage is

Or another quote:

    One possible suggestion is to put a header in

    #warning "#include <png.h> is deprecated, use #include
    <libpng/png.h> instead"

And indeed you are right, the configure system has not yet been made
aware of the change.

# Han

reply via email to

[Prev in Thread] Current Thread [Next in Thread]