[BACK]Return to make-configure CVS log [TXT][DIR] Up to [local] / OpenXM / src / ox_toolkit

Annotation of OpenXM/src/ox_toolkit/make-configure, Revision 1.4

1.1       ohara       1: #!/bin/sh
1.4     ! ohara       2: # $OpenXM: OpenXM/src/ox_toolkit/make-configure,v 1.3 2004/12/15 12:17:32 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}
        !            11:     ./configure --prefix=${prefix} --with-gmp --cache-file=${cache_file}
        !            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}
        !            22:     ./configure --prefix=${prefix} --with-gmp --cache-file=${cache_file}
1.1       ohara      23: fi
1.2       ohara      24:     ;;
                     25: esac
1.1       ohara      26: touch .configure_done

FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>