#!/bin/sh
#
# 32bit, CLuster/Grid oriented compilation
# 2006, Markus Neteler
# GDAL compilation with GRASS support as plugin
#
#################################################
# GDAL/OGR debug: export CPL_DEBUG=ON
#
#################################################
# netcdf and hdf4
#    You need to set up CFLAGS=-DHAVE_NETCDF and
#    use configure --disable-fortran for HDF4
#################################################

#Python:
#mkdir -p /usr/local/lib/python2.2
# --with-pymoddir=/usr/local/lib/python2.2 \
#NOTE: To use gdal_merge.py etc. set
#  export PYTHONPATH=/usr/local/lib/python2.2

CFLAGS=-m32 CPPFLAGS=-m32 ./configure \
  --prefix=/asd0/ssi/neteler_grid/software/myusr \
  --without-pg \
  --without-python \
  --without-odbc \
  --without-netcdf \
  --without-mrsid \
  --without-sqlite \
  --without-hdf5 \
  --without-pymod \
  --without-grass \
  --without-ogdi \
  --without-geos \
  --with-geotiff=internal --with-libtiff=internal

# now make, make install
# then
#   conf_gdal_grass.sh
# to create the GRASS plugin.


