#!/bin/sh

./configure \
	--prefix=$ISSM_DIR \
	--with-matlab-dir=$MATLAB_DIR \
	--with-python-dir=$ISSM_DIR/externalpackages/python/install\
	--with-python-numpy-dir=$ISSM_DIR/externalpackages/python/install/Python.framework/Versions/3.2/lib/python3.2/site-packages/numpy/core/include/numpy\
	--with-triangle-dir=$ISSM_DIR/externalpackages/triangle/install \
	--with-math-lib="/usr/lib/libm.dylib" \
	--with-graphics-lib="/usr/X11/lib/libX11.dylib" \
	--with-cxxoptflags=" -fno-common -no-cpp-precomp -fexceptions -arch x86_64 -mmacosx-version-min=10.5  -O3 -DNDEBUG -w "\
	--with-gsl-dir=$ISSM_DIR/externalpackages/gsl/install
