#!/bin/sh ############################################################ # Copyright (c) 2009-2010 by Aleksey Cheusov # # See LICENSE file in the distribution. ############################################################ set -e LC_ALL=C export LC_ALL ################################################## # options usage (){ cat < "$tmpc" <"$tmperr"; then echo 1 else # SunPro may leave object files in current directory. # We need not this garbage. Also we cannot use smart shell # expansions because of crappy Solaris' /bin/sh. tmpbase=`basename "$tmpc" | sed 's/[.][^.]*$//'` rm -f ${tmpbase}.o echo 0 fi } check_and_cache "checking for function implementation ${funcname}${libs_msg}" "$cache" "$@" ################################################## # clean-ups cleanup ################################################## # finishing if test "$ret" -eq 1; then printme 'yes\n' 1>&2 else printme 'no\n' 1>&2 fi echo $ret