summaryrefslogtreecommitdiffstats
path: root/kdeprint/cups/configure.in.in
blob: b37ba67a18f71fb9a792ba221e1817d60907c366 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
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