version 1.3, 2004/12/15 12:17:32 |
version 1.4, 2005/01/17 22:54:46 |
|
|
#!/bin/sh |
#!/bin/sh |
# $OpenXM: OpenXM/src/ox_toolkit/make-configure,v 1.2 2004/06/28 12:39:11 ohara Exp $ |
# $OpenXM: OpenXM/src/ox_toolkit/make-configure,v 1.3 2004/12/15 12:17:32 ohara Exp $ |
|
|
prefix=`cd ../..; pwd` |
prefix=`cd ../..; pwd` |
|
cache_file=`pwd`/config.cache |
case "$1" in |
case "$1" in |
"-f"|"--force") |
"-f"|"--force") |
automake |
automake |
autoconf |
autoconf |
./configure --prefix=${prefix} --with-gmp |
touch ${cache_file} |
;; |
./configure --prefix=${prefix} --with-gmp --cache-file=${cache_file} |
|
;; |
*) |
*) |
if [ ! -f ./.configure_done ]; then |
if [ ! -f ./.configure_done ]; then |
if [ ! -f ./Makefile.in ]; then |
if [ ! -f ./Makefile.in ]; then |
Line 16 if [ ! -f ./.configure_done ]; then |
|
Line 18 if [ ! -f ./.configure_done ]; then |
|
if [ ! -x ./configure ]; then |
if [ ! -x ./configure ]; then |
autoconf |
autoconf |
fi |
fi |
./configure --prefix=${prefix} --with-gmp |
touch ${cache_file} |
|
./configure --prefix=${prefix} --with-gmp --cache-file=${cache_file} |
fi |
fi |
;; |
;; |
esac |
esac |