summaryrefslogtreecommitdiffstats
path: root/tdeprint/cups/configure.in.in
diff options
context:
space:
mode:
Diffstat (limited to 'tdeprint/cups/configure.in.in')
-rw-r--r--tdeprint/cups/configure.in.in18
1 files changed, 18 insertions, 0 deletions
diff --git a/tdeprint/cups/configure.in.in b/tdeprint/cups/configure.in.in
new file mode 100644
index 000000000..b37ba67a1
--- /dev/null
+++ b/tdeprint/cups/configure.in.in
@@ -0,0 +1,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