version 1.4, 2005/01/17 22:54:46 |
version 1.6, 2021/03/24 14:32:48 |
|
|
#!/bin/sh |
#!/bin/sh |
# $OpenXM: OpenXM/src/ox_toolkit/make-configure,v 1.3 2004/12/15 12:17:32 ohara Exp $ |
# $OpenXM: OpenXM/src/ox_toolkit/make-configure,v 1.5 2019/01/28 04:51:51 takayama Exp $ |
|
|
prefix=`cd ../..; pwd` |
prefix=`cd ../..; pwd` |
cache_file=`pwd`/config.cache |
cache_file=`pwd`/config.cache |
|
|
automake |
automake |
autoconf |
autoconf |
touch ${cache_file} |
touch ${cache_file} |
./configure --prefix=${prefix} --with-gmp --cache-file=${cache_file} |
if [ -z $TARGET_TYPE ]; then |
|
./configure --prefix=${prefix} --with-gmp --cache-file=${cache_file} --enable-shared |
|
else |
|
./configure --host=${TARGET_TYPE} --prefix=${prefix} --with-gmp --cache-file=${cache_file} --enable-shared |
|
fi |
;; |
;; |
*) |
*) |
if [ ! -f ./.configure_done ]; then |
if [ ! -f ./.configure_done ]; then |
Line 19 if [ ! -f ./.configure_done ]; then |
|
Line 23 if [ ! -f ./.configure_done ]; then |
|
autoconf |
autoconf |
fi |
fi |
touch ${cache_file} |
touch ${cache_file} |
./configure --prefix=${prefix} --with-gmp --cache-file=${cache_file} |
if [ -z $TARGET_TYPE ]; then |
|
./configure --prefix=${prefix} --with-gmp --cache-file=${cache_file} --enable-shared |
|
else |
|
./configure --host=${TARGET_TYPE} --prefix=${prefix} --with-gmp --cache-file=${cache_file} --enable-shared |
|
fi |
fi |
fi |
;; |
;; |
esac |
esac |