--- configure.orig	2018-03-12 21:34:40 UTC
+++ configure
@@ -4108,9 +4108,15 @@ GAIL_LT_CURRENT_MINUS_AGE=0
 
 # Workaround for https://bugzilla.gnome.org/show_bug.cgi?id=721346 until fixed upstream in autoconf-archive
 if test "$cross_compiling" = "no"; then
+  if test -n "$CC"; then
+    CC_FOR_BUILD=$CC
+  fi
   if test -n "$CFLAGS"; then
     CFLAGS_FOR_BUILD=$CFLAGS
   fi
+  if test -n "$CPP"; then
+    CPP_FOR_BUILD=$CPP
+  fi
   if test -n "$CPPFLAGS"; then
     CPPFLAGS_FOR_BUILD=$CPPFLAGS
   fi
@@ -27955,9 +27961,7 @@ fi
 if test "$have_cups" = "yes"; then
   GTK_PRINT_BACKENDS="$GTK_PRINT_BACKENDS,cups"
 fi
-if test "$have_papi" != "yes" -a "$have_cups" != "yes"; then
   GTK_PRINT_BACKENDS="$GTK_PRINT_BACKENDS,lpr"
-fi
 if test "$have_cloudprint" = "yes"; then
   GTK_PRINT_BACKENDS="$GTK_PRINT_BACKENDS,cloudprint"
 fi
