#!/bin/bash
export CFLAGS=" -arch i386"
export CXXFLAGS=" -arch i386"
export CPPFLAGS=" -arch i386"
export FFLAGS=" -arch i386"
./configure --prefix="$ISSM_TIER/externalpackages/mpich2/install" --enable-f91=gfortran --enable-sharedlibs=osx-gcc --enable-shared --enable-fc=/usr/local/bin/gfortran

#CFLAGS      C compiler flags
#LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
#nonstandard directory <lib dir>
#CPPFLAGS    C/C++ preprocessor flags, e.g. -I<include dir> if you have
#headers in a nonstandard directory <include dir>
#F77         Fortran 77 compiler command
#FFLAGS      Fortran 77 compiler flags
#F90         Fortran 90 compiler command
#F90FLAGS    Fortran 90 compiler flags
#CXX         C++ compiler command
#CXXFLAGS    C++ compiler flags
#CPP         C preprocessor
