#! /usr/bin/bash
#
# Run "configure" for GMP, using the WRICC and WRILD compiler and linker
# wrappers.  Do not proceed to make.
#
# This script takes the same options as wri-build-gmp.  Look there for
# more information.
#
# After running wri-config, you must "make clean" and then "wri-make"
# (or "wri-make-debug" if you configured a debug version).

# This must be run from the top directory of the GMP sources,
# where "configure" is.

# Get the directory that this script is located in.  We require
# that the other WRI tools (wricc, wrild, ln, etc.) are in the same
# directory.
script_dir=`dirname "${0}"`
script_dir=`cd "${script_dir}"; pwd`

# Now invoke wri-build-gmp with -c option (configure only).

PATH="$script_dir":$PATH

wri-build-gmp -c "$@"





# Copyright 2010 Wolfram Research, Inc.
# 
# This file is part of the build scripts for building the GNU MP Library
# for Mathematica on Windows (32-bit).
# 
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU Lesser General Public License as published by
# the Free Software Foundation; either version 3 of the License, or (at your
# option) any later version.
# 
# This program is distributed in the hope that it will be useful, but
# WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
# or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU Lesser General Public
# License for more details.
# 
# You should have received a copy of the GNU Lesser General Public License
# along with this program.  If not, see http://www.gnu.org/licenses/.
