#!/bin/sh GMP_SRC=../../gmp-4.3.0 PREFIX=/build/win-gmp-install BUILD=mingw32 if test "$1" = "c" then shift $GMP_SRC/configure --prefix="$PREFIX" \ --build=$BUILD \ --enable-fat \ --enable-static \ CFLAGS="-O2 -mtune=generic" if test "$?" != "0" then exit $? fi fi if test "$1" = "m" then shift make if test "$?" != "0" then exit $? fi fi if test "$1" = "i" then make install fi exit $?