■
configureやmake時に必要なライブラリやヘッダーファイルが標準ではないディレクトリに置かれている場合、
検索パスを環境変数で追加することができる。
LDFLAGS="-L
" CPPFLAGS="-I " configure [options]
とか
LDFLAGS="-L" CPPFLAGS="-I " configure [options]
Some influential environment variables:
CC C compiler command
CFLAGS C compiler flags
LDFLAGS linker flags, e.g. -Lif you have libraries in a
nonstandard directory
CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -Iif
you have headers in a nonstandard directory
CPP C preprocessorUse these variables to override the choices made by `configure' or to help
it to find libraries and programs with nonstandard names/locations.
ここ
http://www.atmarkit.co.jp/bbs/phpBB/viewtopic.php?topic=3865&forum=10
を参考にした