[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Newb Q: Checking for libs in non-standard directories
From: |
Bob Proulx |
Subject: |
Re: Newb Q: Checking for libs in non-standard directories |
Date: |
Thu, 26 Dec 2002 17:28:40 -0700 |
User-agent: |
Mutt/1.4i |
Justin Todd <address@hidden> [2002-12-26 12:16:09 -0800]:
>
> Is it possible for configure to check for a library in a non-standard
> directory?
As ./configure --help says:
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.
Therefore you might try this:
./configure CPPFLAGS=-I/usr/local/include LDFLAGS=-L/usr/local/lib
Bob