Skip to content

Commit

Permalink
Fix configure script.
Browse files Browse the repository at this point in the history
  • Loading branch information
michaelrsweet committed Nov 4, 2023
1 parent 159a9b5 commit b4eaf8a
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion configure
Original file line number Diff line number Diff line change
Expand Up @@ -3950,7 +3950,7 @@ fi
if test "x$SYSTEMDDIR" = x
then :

DBUSDIR="$($PKGCONFIG --variable=systemd_util_dir systemd)"
SYSTEMDDIR="$($PKGCONFIG --variable=systemd_util_dir systemd)"

fi
if test "x$SYSTEMDDIR" = x
Expand Down
2 changes: 1 addition & 1 deletion configure.ac
Original file line number Diff line number Diff line change
Expand Up @@ -149,7 +149,7 @@ AS_IF([test "x$enable_dbus" != xno], [
AC_MSG_ERROR([No default D-Bus directory found, use --with-dbusdir option.])
])
AS_IF([test "x$SYSTEMDDIR" = x], [
DBUSDIR="$($PKGCONFIG --variable=systemd_util_dir systemd)"
SYSTEMDDIR="$($PKGCONFIG --variable=systemd_util_dir systemd)"
])
AS_IF([test "x$SYSTEMDDIR" = x], [
AC_MSG_ERROR([No default systemd directory found, use --with-systemddir option.])
Expand Down
8 changes: 4 additions & 4 deletions daemon/drivers.c
Original file line number Diff line number Diff line change
Expand Up @@ -243,10 +243,10 @@ LocalDriverCallback(
attr = ippFindAttribute(response, "document-format-supported", IPP_TAG_MIMETYPE);
if (ippContainsString(attr, "application/pdf"))
data->format = "application/pdf";
else if (ippContainsString(attr, "application/postscript"))
data->format = "application/postscript";
else if (ippContainsString(attr, "application/vnd.hp-pcl"))
data->format = "application/vnd.hp-pcl";
else if (ippContainsString(attr, "image/urf"))
data->format = "image/urf";
else if (ippContainsString(attr, "image/pwg-raster"))
data->format = "image/pwg-raster";

// pages-per-minute[-color]
data->ppm = ippGetInteger(ippFindAttribute(response, "pages-per-minute", IPP_TAG_INTEGER), 0);
Expand Down

0 comments on commit b4eaf8a

Please sign in to comment.