Annotation of OpenXM/src/ox_toolkit/make-configure, Revision 1.5
1.1 ohara 1: #!/bin/sh
1.5 ! takayama 2: # $OpenXM: OpenXM/src/ox_toolkit/make-configure,v 1.4 2005/01/17 22:54:46 ohara Exp $
1.2 ohara 3:
1.3 ohara 4: prefix=`cd ../..; pwd`
1.4 ohara 5: cache_file=`pwd`/config.cache
1.2 ohara 6: case "$1" in
7: "-f"|"--force")
1.4 ohara 8: automake
9: autoconf
10: touch ${cache_file}
1.5 ! takayama 11: ./configure --prefix=${prefix} --with-gmp --cache-file=${cache_file} --enable-shared
1.4 ohara 12: ;;
1.2 ohara 13: *)
1.1 ohara 14: if [ ! -f ./.configure_done ]; then
1.2 ohara 15: if [ ! -f ./Makefile.in ]; then
16: automake
17: fi
1.1 ohara 18: if [ ! -x ./configure ]; then
19: autoconf
20: fi
1.4 ohara 21: touch ${cache_file}
1.5 ! takayama 22: ./configure --prefix=${prefix} --with-gmp --cache-file=${cache_file} --enable-shared
1.1 ohara 23: fi
1.2 ohara 24: ;;
25: esac
1.1 ohara 26: touch .configure_done
FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>