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

Annotation of OpenXM/src/ox_pari/make-configure, Revision 1.2

1.1       ohara       1: #!/bin/sh
1.2     ! takayama    2: # $OpenXM: OpenXM/src/ox_pari/make-configure,v 1.1 2016/09/22 10:20:30 ohara Exp $
1.1       ohara       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:     ;;
1.2     ! takayama   13: "-d"|"--disable-shared")
        !            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} --disable-shared
        !            23: fi
        !            24: ;;
1.1       ohara      25: *)
                     26: if [ ! -f ./.configure_done ]; then
                     27:     if [ ! -f ./Makefile.in ]; then
                     28:                automake
                     29:        fi
                     30:     if [ ! -x ./configure ]; then
                     31:                autoconf
                     32:        fi
                     33:     touch ${cache_file}
                     34:     ./configure --prefix=${prefix} --cache-file=${cache_file}
                     35: fi
                     36:     ;;
                     37: esac
                     38: touch .configure_done

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