在使用configure之前,首先要明白怎么用,
configure -h 查看帮助
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
CXX C++ compiler command
CXXFLAGS C++ compiler flags
PYTHON the Python interpreter
LT_SYS_LIBRARY_PATH
User-defined run-time library search path.
CXXCPP C++ preprocessor
PKG_CONFIG path to pkg-config utility
PKG_CONFIG_PATH
directories to add to pkg-config's search path
PKG_CONFIG_LIBDIR
path overriding pkg-config's built-in search path
URCU_CFLAGS C compiler flags for URCU, overriding pkg-config
URCU_LIBS linker flags for URCU, overriding pkg-config
CLASSPATH Java class path
Use these variables to override the choices made by `configure' or to help
it to find libraries and programs with nonstandard names/locations.