[sword-cvs] sword arminst.sh,1.2,1.3

sword@www.crosswire.org sword@www.crosswire.org
Fri, 12 Sep 2003 16:10:58 -0700


Update of /usr/local/cvsroot/sword
In directory www:/tmp/cvs-serv14510

Modified Files:
	arminst.sh 
Log Message:


Index: arminst.sh
===================================================================
RCS file: /usr/local/cvsroot/sword/arminst.sh,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -d -r1.2 -r1.3
--- arminst.sh	6 Mar 2003 10:26:31 -0000	1.2
+++ arminst.sh	12 Sep 2003 23:10:56 -0000	1.3
@@ -1,12 +1,33 @@
 #!/bin/sh
 
+OPTIONS="--host=arm-linux --prefix=/usr"
+OPTIONS="--disable-shared $OPTIONS"
+OPTIONS="--without-conf $OPTIONS"
+OPTIONS="--sysconfdir=/etc $OPTIONS"
+#OPTIONS="--with-vcl $OPTIONS"
+#OPTIONS="--enable-debug $OPTIONS"
+#OPTIONS="--enable-profile $OPTIONS"
+OPTIONS="--without-lucene $OPTIONS"
+OPTIONS="--without-curl $OPTIONS"
+
 export PATH=$PATH:/usr/local/arm/2.95.3/bin/
 #export CXXFLAGS="-I/usr/include/g++-3 -O3"
 export CXXFLAGS="-O3"
 export CFLAGS="-O3"
-./configure --host=arm-linux --prefix=/usr \
-	--disable-shared \
-	--without-conf --sysconfdir=/etc 
+
+CWD=`pwd`
+SRCBASE=`dirname $CWD`
+export QPEDIR=$SRCBASE/buildroot-oz/build/opie
+export QTDIR=$SRCBASE/buildroot-oz/build/qt-2.3.7
+export PATH=$QTDIR/bin:/usr/local/arm/bin:$PATH
+export TMAKEPATH=/opt/Qtopia/tmake/lib/qws/linux-ipaq-g++
+export CPPFLAGS="-I/usr/include/g++-3/ -I$SRCBASE/buildroot-oz/output/staging/include"
+export CFLAGS=$CPPFLAGS
+export CXXFLAGS=$CPPFLAGS
+export LDFLAGS=-L$SRCBASE/buildroot-oz/output/staging/target/lib
+
+CPPFLAGS="$CFLAGS $CPPFLAGS -DUSBINARY" ./configure $OPTIONS $*
+
 
 echo ""
 echo ""