version 1.1, 2016/09/22 10:20:30 |
version 1.2, 2016/09/23 03:04:22 |
|
|
#!/bin/sh |
#!/bin/sh |
# $OpenXM$ |
# $OpenXM: OpenXM/src/ox_pari/make-configure,v 1.1 2016/09/22 10:20:30 ohara Exp $ |
|
|
prefix=`cd ../..; pwd` |
prefix=`cd ../..; pwd` |
cache_file=`pwd`/config.cache |
cache_file=`pwd`/config.cache |
|
|
touch ${cache_file} |
touch ${cache_file} |
./configure --prefix=${prefix} --cache-file=${cache_file} |
./configure --prefix=${prefix} --cache-file=${cache_file} |
;; |
;; |
|
"-d"|"--disable-shared") |
|
if [ ! -f ./.configure_done ]; then |
|
if [ ! -f ./Makefile.in ]; then |
|
automake |
|
fi |
|
if [ ! -x ./configure ]; then |
|
autoconf |
|
fi |
|
touch ${cache_file} |
|
./configure --prefix=${prefix} --cache-file=${cache_file} --disable-shared |
|
fi |
|
;; |
*) |
*) |
if [ ! -f ./.configure_done ]; then |
if [ ! -f ./.configure_done ]; then |
if [ ! -f ./Makefile.in ]; then |
if [ ! -f ./Makefile.in ]; then |