T.L.Bowers wrote:
> Hello,
> I'm novice user of configure scripts.  I'm trying to compile imlib but
> my jpeg,giff, png etc are not in standard places.  I am unable
> to figure out how to tell the configure script where to look for
> libraries and headers.
>
> Can someone help me.  I've check ./configure --help  for possible
> ways but its not working.

If they are using a recent version of autoconf to make their configure 
script, the --help output should contain:

Some influential environment variables:
   CC          C compiler command
   CFLAGS      C compiler flags
   LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
               nonstandard directory <lib dir>
   CPPFLAGS    C/C++ preprocessor flags, e.g. -I<include dir> if you have
               headers in a nonstandard directory <include dir>
   CPP         C preprocessor

Use these variables to override the choices made by `configure' or to 
help it to find libraries and programs with nonstandard names/locations.

> my libraries are in /export/tbowers/lib and headers are in 
> /export/tbowers/include.
> 
> How would I format this so that configure check those locations.

Set the CPPFLAGS and LDFLAGS environment variables to 
-I/export/tbowers/include and -L/export/tbowers/lib respectively.

Cordially,
Steven G. Johnson




Reply via email to