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

File: [local] / OpenXM / src / oxc / make-configure (download)

Revision 1.2, Fri Sep 23 05:37:43 2016 UTC (7 years, 7 months ago) by takayama
Branch: MAIN
CVS Tags: HEAD
Changes since 1.1: +17 -1 lines

configure-oxc is added.

#!/bin/sh
# $OpenXM: OpenXM/src/oxc/make-configure,v 1.2 2016/09/23 05:37:43 takayama Exp $

case "$1" in
"-d"|"--disable-shared")
if [ ! -f ./.configure_done ]; then 
    if [ ! -f ./Makefile.in ]; then 
		automake 
  	fi
    if [ ! -x ./configure ]; then 
		autoconf 
  	fi
    touch ${cache_file}
    ./configure --enable-shared=no
fi
;;
*)
if [ ! -f ./.configure_done ]; then 
    if [ ! -x ./configure ]; then 
		autoconf 
  	fi
    ./configure 
fi
;;
esac
touch .configure_done