summaryrefslogtreecommitdiff
path: root/graphics/sane-backends/files/patch-configure
blob: d9ed8b71fa0da49248a10ebb7d4375c7824b0d65 (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
29
--- configure.orig	2020-02-02 11:58:46 UTC
+++ configure
@@ -22138,7 +22138,7 @@ $as_echo_n "checking whether pthread_t is integer... "
 int
 main ()
 {
-pthread_t k; k * 1;
+pthread_t k; k = (pthread_t) -1;
   ;
   return 0;
 }
@@ -26130,7 +26130,7 @@ for be in ${BACKENDS}; do
     ;;
 
     v4l)
-    if test "${have_linux_ioctl_defines}" != "yes" \
+    if test "${have_libv4l1}" != "yes" \
       || test "${have_libv4l1}" != "yes"; then
       echo "*** $be backend requires v4l libraries - $DISABLE_MSG"
       backend_supported="no"
@@ -26339,7 +26339,7 @@ for be in ${BACKENDS}; do
     ;;
 
     v4l)
-    if test "${have_linux_ioctl_defines}" != "yes" \
+    if test "${have_libv4l1}" != "yes" \
       || test "${have_libv4l1}" != "yes"; then
       echo "*** $be backend requires v4l libraries - $DISABLE_MSG"
       backend_supported="no"