#!/bin/sh # # (c) Sean Seefried 2005 # # A hand-written configure script. I dislike M4. # Modelled on Daan Leijen's configure script for wxhaskell # source configure.lib # # Process command line arguments # process_args $@ # # Check version of GHC # is_ghc="`$hc --version | sed -e 's|.*Glorious Glasgow Haskell.*|yes|'`" version_int=`get_version_int` if test "$is_ghc" = "yes" -a $version_int -ge 60800 ; then echoc "Version GHC >= 6.8" build_pan_bool=True else echoc 'ERROR: This project requires GHC with version >= 6.8' build_pan_bool=False fi cat > Pan.buildinfo << EOF buildable: $build_pan_bool EOF