Return to make-configure CVS log | Up to [local] / OpenXM / src / ox_pari |
File: [local] / OpenXM / src / ox_pari / make-configure (download)
Revision 1.2, Fri Sep 23 03:04:22 2016 UTC (7 years, 9 months ago) by takayama
make configure-static forces to configure for static linking in asir2000 and ox_pari. Bug: it calls make configure in advance, then configures for asir2000 and ox_pari are called two times. |
#!/bin/sh # $OpenXM: OpenXM/src/ox_pari/make-configure,v 1.2 2016/09/23 03:04:22 takayama Exp $ prefix=`cd ../..; pwd` cache_file=`pwd`/config.cache case "$1" in "-f"|"--force") automake autoconf touch ${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 ./Makefile.in ]; then automake fi if [ ! -x ./configure ]; then autoconf fi touch ${cache_file} ./configure --prefix=${prefix} --cache-file=${cache_file} fi ;; esac touch .configure_done