printVal is changed to return # of characters printed.
[csql.git] / build.ksh
blobf13def2089fe66e4dd2e1683beb6c26851c48403
2 if [ "$JDK_HOME" == "" ]
3 then
4 echo "Please set JDK_HOME"
5 exit 1
6 fi
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"
12 #pdflatex -tex to pdf
13 #kpdf - to open pdf