[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.6

1.1       ohara       1: #!/bin/sh
1.6     ! fujimoto    2: # $OpenXM: OpenXM/src/ox_toolkit/make-configure,v 1.5 2019/01/28 04:51:51 takayama 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.6     ! fujimoto   11:     if [ -z $TARGET_TYPE ]; then
        !            12:         ./configure --prefix=${prefix} --with-gmp --cache-file=${cache_file} --enable-shared
        !            13:     else
        !            14:         ./configure --host=${TARGET_TYPE} --prefix=${prefix} --with-gmp --cache-file=${cache_file} --enable-shared
        !            15:     fi
1.4       ohara      16:     ;;
1.2       ohara      17: *)
1.1       ohara      18: if [ ! -f ./.configure_done ]; then
1.2       ohara      19:     if [ ! -f ./Makefile.in ]; then
                     20:                automake
                     21:        fi
1.1       ohara      22:     if [ ! -x ./configure ]; then
                     23:                autoconf
                     24:        fi
1.4       ohara      25:     touch ${cache_file}
1.6     ! fujimoto   26:     if [ -z $TARGET_TYPE ]; then
        !            27:         ./configure --prefix=${prefix} --with-gmp --cache-file=${cache_file} --enable-shared
        !            28:     else
        !            29:         ./configure --host=${TARGET_TYPE} --prefix=${prefix} --with-gmp --cache-file=${cache_file} --enable-shared
        !            30:     fi
1.1       ohara      31: fi
1.2       ohara      32:     ;;
                     33: esac
1.1       ohara      34: touch .configure_done

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