bug-autoconf
[Top][All Lists]
Advanced

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

Re: [gs-devel] ghostscript-8.13rc1 build feedback


From: Werner LEMBERG
Subject: Re: [gs-devel] ghostscript-8.13rc1 build feedback
Date: Fri, 26 Dec 2003 10:59:21 +0100 (CET)

> Several of the builds of ghostscript-8.13rc1 were successful, but
> a few problems remain:
> 
> (1) -I$(prefix)/include is needed in CFLAGS to avoid getting
>      obsolete vendor-provided JPEG header files
> (2) -L$(prefix)/lib is needed in LIBS to avoid getting obsolete
>      vendor-provided JPEG libraries
> 
> It should not be necessary for the user to provide these: a typical
> Unix system with have stable vendor-provided software in /usr, and
> more-recent locally-installed software in $(prefix) (e.g.,
> /usr/local).  Software installed in the $(prefix) tree should be
> built by default with header files and libraries from that tree.

I believe that autoconf doesn't follow this strategy.  I had a similar
problem with emacs which I install in the /usr/local/.  While the gcc
compiler on my GNU/Linux box searches /usr/local/include by default
before /usr/include, the linker doesn't search /usr/local/lib before
/usr/lib, and there is no possibility (AFAIK) to force that with
environment variables.  Consequently, I always have to add
LDFLAGS=-L/usr/local/lib so that newer versions (in /usr/local/lib) of
some libraries are used.  I wonder whether autoconf can/will implement
your suggestion.


    Werner




reply via email to

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