@@ -0,0 +1,55 @@
1+diff --git a/configure.orig b/configure
2+index e9d400f..dac1943 100755
3+--- a/configure.orig
4++++ b/configure
5+@@ -12184,48 +12184,8 @@ esac
6+ # *) ESCPR_LIB_NAME="escpr2_32" ;;
7+ #esac
8+
9+-
10+-
11+-# Check whether --with-cupsfilterdir was given.
12+-if test "${with_cupsfilterdir+set}" = set; then :
13+- withval=$with_cupsfilterdir;
14+-else
15+- with_cupsfilterdir=no
16+-fi
17+-
18+-if test "xno" = "x${with_cupsfilterdir}"; then
19+- if test "xyes" = "x$have_cups_config" ; then
20+- CUPS_FILTER_DIR="${cups_default_prefix}`cups-config --serverbin | sed -e 's,^/[^/][^/]*,,'`/filter"
21+- else
22+- CUPS_FILTER_DIR="${cups_default_prefix}/lib/cups/filter"
23+- fi
24+-else
25+- CUPS_FILTER_DIR="${with_cupsfilterdir}"
26+-fi
27+-
28+-
29+-# Check whether --with-cupsppddir was given.
30+-if test "${with_cupsppddir+set}" = set; then :
31+- withval=$with_cupsppddir;
32+-else
33+- with_cupsppddir=no
34+-fi
35+-
36+-if test "xno" = "x${with_cupsppddir}"; then
37+- if test -d "${cups_default_prefix}/share/ppd" ; then
38+- CUPS_PPD_DIR="${cups_default_prefix}/share/ppd"
39+- elif test "xyes" = "x$have_cups_config" ; then
40+- CUPS_PPD_DIR="${cups_default_prefix}`cups-config --datadir | sed -e 's,^/[^/][^/]*,,'`/model"
41+- else
42+- CUPS_PPD_DIR="${cups_default_prefix}/share/cups/model"
43+- fi
44+-else
45+- CUPS_PPD_DIR="${with_cupsppddir}"
46+-fi
47+-
48+-
49+-
50+-
51++CUPS_FILTER_DIR="${prefix}/lib/cups/filter"
52++CUPS_PPD_DIR="${prefix}/share/cups/model"
53+
54+ # Check whether --enable-lsb was given.
55+ if test "${enable_lsb+set}" = set; then :