If you look at the output of (pretty much any) ./configure --help you'll
see something like this towards the end:
Code:
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>
CXX C++ compiler command
CXXFLAGS C++ compiler flags
CPP C preprocessor
CXXCPP C++ preprocessor
F77 Fortran 77 compiler command
FFLAGS Fortran 77 compiler flags
So ... if you put something like
Code:
export CPPFLAGS=-I/opt/qt/include
export LDFLAGS=-L/opt/qt/lib
in your ~/.bashrc (or equivalent initialisation script)
I'd assume you should be sweet?
Cheers,
Tink