Merge pull request #268619 from tweag/lib-descriptions
[NixPkgs.git] / pkgs / misc / drivers / epson-escpr / cups-filter-ppd-dirs.patch
blobb9f198b14b74f812e1d2eb97571e416742902a67
1 diff --git a/configure b/configure_new
2 index 12b4662..6ec641c 100755
3 --- a/configure
4 +++ b/configure_new
5 @@ -12162,55 +12162,8 @@ else
6 $as_echo "no" >&6; }
7 fi
11 -if test "xNONE" != "x${prefix}" ; then
12 - cups_default_prefix="${prefix}"
13 -else
14 - cups_default_prefix="${ac_default_prefix}"
15 -fi
18 -# Check whether --with-cupsfilterdir was given.
19 -if test "${with_cupsfilterdir+set}" = set; then :
20 - withval=$with_cupsfilterdir;
21 -else
22 - with_cupsfilterdir=no
23 -fi
25 -if test "xno" = "x${with_cupsfilterdir}"; then
26 - if test "xyes" = "x$have_cups_config" ; then
27 - CUPS_FILTER_DIR="${cups_default_prefix}`cups-config --serverbin | sed -e 's,^/[^/][^/]*,,'`/filter"
28 - else
29 - CUPS_FILTER_DIR="${cups_default_prefix}/lib/cups/filter"
30 - fi
31 -else
32 - CUPS_FILTER_DIR="${with_cupsfilterdir}"
33 -fi
36 -# Check whether --with-cupsppddir was given.
37 -if test "${with_cupsppddir+set}" = set; then :
38 - withval=$with_cupsppddir;
39 -else
40 - with_cupsppddir=no
41 -fi
43 -if test "xno" = "x${with_cupsppddir}"; then
44 - if test -d "${cups_default_prefix}/share/ppd" ; then
45 - CUPS_PPD_DIR="${cups_default_prefix}/share/ppd"
46 - elif test "xyes" = "x$have_cups_config" ; then
47 - CUPS_PPD_DIR="${cups_default_prefix}`cups-config --datadir | sed -e 's,^/[^/][^/]*,,'`/model"
48 - else
49 - CUPS_PPD_DIR="${cups_default_prefix}/share/cups/model"
50 - fi
51 -else
52 - CUPS_PPD_DIR="${with_cupsppddir}"
53 -fi
58 +CUPS_FILTER_DIR="${prefix}/lib/cups/filter"
59 +CUPS_PPD_DIR="${prefix}/share/cups/model"
61 # Check whether --enable-lsb was given.
62 if test "${enable_lsb+set}" = set; then :