#!/bin/sh
# $OpenXM: OpenXM/src/ox_math/make-configure,v 1.4 2005/02/09 07:13:49 ohara Exp $

if [ ! -f ./.configure_done ]; then
	case `uname` in
    CYGWIN*)
        cp -f Makefile.cygwin Makefile
        (cd mathlink; sh ./configure-cygwin)
        ;;
    *)
        if [ ! -x ./configure ]; then
    		autoconf
      	fi
        ./configure --with-gmp
    	;;
    esac
fi
touch .configure_done
