cleanup
[csql.git] / build.ksh
blob3fecc170ab022fe32e44e28213ea573a99d399ed
1 #!/bin/sh
2 if [ -z "$JDK_HOME" ]
3 then
4 echo "Please set JDK_HOME"
5 exit 1
6 fi
7 make -f Makefile.cvs
8 ./configure --prefix=`pwd`/install CXXFLAGS="-g -I$JDK_HOME/include -I$JDK_HOME/include/linux"
9 #./configure --prefix=`pwd`/install CXXFLAGS="-g -I$JDK_HOME/include -I$JDK_HOME/include/linux -Wno-write-strings"
10 #./configure --prefix=`pwd`/install CXXFLAGS=-g
11 libtoolavailable=`which libtool`
12 if [ -z "$libtoolavailable" ]
13 then
14 echo "libtool not available. Build may fail"
15 else
16 mv libtool libtool.bk
17 ln -s $libtoolavailable libtool
19 make
20 make install
21 ./csqlinstall.ksh