=================================================================== RCS file: /home/cvs/OpenXM/src/ox_toolkit/make-configure,v retrieving revision 1.2 retrieving revision 1.5 diff -u -p -r1.2 -r1.5 --- OpenXM/src/ox_toolkit/make-configure 2004/06/28 12:39:11 1.2 +++ OpenXM/src/ox_toolkit/make-configure 2019/01/28 04:51:51 1.5 @@ -1,12 +1,15 @@ #!/bin/sh -# $OpenXM: OpenXM/src/ox_toolkit/make-configure,v 1.1 2000/02/08 20:34:14 ohara Exp $ +# $OpenXM: OpenXM/src/ox_toolkit/make-configure,v 1.4 2005/01/17 22:54:46 ohara Exp $ +prefix=`cd ../..; pwd` +cache_file=`pwd`/config.cache case "$1" in "-f"|"--force") - automake - autoconf - ./configure --prefix="$(cd ../..; pwd)" - ;; + automake + autoconf + touch ${cache_file} + ./configure --prefix=${prefix} --with-gmp --cache-file=${cache_file} --enable-shared + ;; *) if [ ! -f ./.configure_done ]; then if [ ! -f ./Makefile.in ]; then @@ -15,7 +18,8 @@ if [ ! -f ./.configure_done ]; then if [ ! -x ./configure ]; then autoconf fi - ./configure --prefix="$(cd ../..; pwd)" + touch ${cache_file} + ./configure --prefix=${prefix} --with-gmp --cache-file=${cache_file} --enable-shared fi ;; esac