#!/bin/sh

#conf qgis
export QTDIR=/usr/lib/qt3
export PATH=$PATH:$QTDIR/bin

## https://sourceforge.net/tracker/?func=detail&atid=478378&aid=1053628&group_id=55820
#Build and install GEOS 2.x in a separate location (eg.
#/usr/local/geos2) and then pass the location of the 2.x
#geos-config script to QGIS configure:
#
#./autogen.sh --with-geos=/usr/local/geos/bin/geos-config

./autogen.sh --with-geos=/usr/local/lib/geos201/bin/bin/geos-config
#--with-gdal=/usr/local/bin/gdal-config
#--enable-debug

./configure --without-spit \
        --prefix=/usr/local \
	--without-pg \
	--with-geos=/usr/local/lib/geos201/bin/bin/geos-config \
	--with-grass=$HOME/grass60/dist.i686-pc-linux-gnu

echo "for 'make' run first:"
echo "export PATH=$PATH:$QTDIR/bin"
