summaryrefslogtreecommitdiff
path: root/x11-toolkits/gtk30/files/patch-configure
blob: 7339100636a2048cc858b361c0c3ed887c370cf8 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
--- configure.orig	2021-07-08 12:18:36 UTC
+++ configure
@@ -4139,9 +4139,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
@@ -27875,9 +27881,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
 
 
 ################################################################