dnl Whether to install the PostScript driver
AC_MSG_CHECKING([installation of PS driver needed])
ac_cups_share_test="/usr/share/cups /usr/local/share/cups /opt/share/cups /opt/local/share/cups"
cups_modeldir=""
for d in $ac_cups_share_test; do
	if test -d $d && test -d $d/model; then
		cups_modeldir=$d/model
		break
	fi
done

AC_SUBST(cups_modeldir)

if test -n "$cups_modeldir"; then
	AC_MSG_RESULT(yes)
else
	AC_MSG_RESULT(no)
fi

