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