#!/bin/sh

function hook_preconfigure {
	configure_opts="${configure_opts} -C --prefix=${INSTALL_ROOT_nto}/${cpudir}"
	if [ "${TARGET_SYSNAME}" == "linux" ] ; then 
		configure_opts="${configure_opts} --without-krb4"
		configure_opts="${configure_opts} --without-gssapi"
	fi

	if test "${TARGET_SYSNAME}" = nto -a "${SYSNAME}" != nto; then
	    configure_opts="${configure_opts} --with-editor=vi"
	fi
}

function hook_premake {
	unset make_CC
}

function hook_pinfo {
    cd src
	gen_pinfo -e cvs usr/bin USE="%2>%C --help" "DESCRIPTION=The Concurrent Versions System" 
}
