I would like
./configure to link to a library and some include files. My library is stored in
/home/foo/sw/lib/ and my files are stored in
./configure --help throws out the following:
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> LIBS libraries to pass to the linker, e.g. -l<library> CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if you have headers in a nonstandard directory <include dir> CPP C preprocessor
I have tried various combinations:
./configure --prefix=/home/foo/sw -I</home/foo/sw/include> -L</home/foo/sw/lib/> ./configure --prefix=/home/foo/sw -I=/home/foo/sw/include -L=/home/foo/sw/lib/ ./configure --prefix=/home/foo/sw -I/home/foo/sw/include -L/home/foo/sw/lib/ etc..
But I can't seem to get the syntax right. If anyone can help me out, that would be greatly appreciated. THANKS!