2 if [ "$JDK_HOME" == "" ]
4 echo "Please set JDK_HOME"
8 .
/configure
--prefix=`pwd`/install CXXFLAGS
=" -I$JDK_HOME/include -I$JDK_HOME/include/linux"
9 #./configure --prefix=`pwd`/install CXXFLAGS=-g
10 #Note: You may have to fool the configure by making gcc link to g++, as it works only with g++
11 #./configure --prefix=`pwd`/install --enable-static=no CXXFLAGS="-O2"