Search foomatic-rip in /usr/lib/cups/filter as this is the
needed filter, not the binary in /usr/bin.
Last-Update: 2013-12-06
Didier Raboud
6 years ago
86 | 86 | dnl check for FOOMATIC |
87 | 87 | dnl -------------------------------------------------------------------------- |
88 | 88 | |
89 | AC_PATH_PROG(FOOMATIC_RIP,foomatic-rip,,[/usr/bin:/bin:/usr/local/bin:/opt/bin:$PATH]) | |
89 | AC_PATH_PROG(FOOMATIC_RIP,foomatic-rip,,[/usr/lib/cups/filter:/usr/bin:/bin:/usr/local/bin:/opt/bin:$PATH]) | |
90 | 90 | if test -z "$FOOMATIC_RIP"; then |
91 | 91 | echo "ERROR: This driver requires foomatic-rip." |
92 | echo "Please install the 'foomatic-filters' package first." | |
92 | echo "Please install the 'foomatic-filters' or 'cups-filters' (>= 1.0.42) package first." | |
93 | 93 | echo "See http://www.linuxprinting.org/foomatic.html" |
94 | 94 | echo "(Some distributions, e.g. SuSE, deliver foomatic-rip with CUPS)" |
95 | 95 | exit 1 |