summaryrefslogtreecommitdiffstats
path: root/multimedia/cheese/files/patch-configure
blob: f0bc10f9740d719c99d9a2b824229adf8fcda354 (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
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
--- configure.orig  2010-04-16 22:54:43.000000000 -0400
+++ configure   2010-04-16 22:56:36.000000000 -0400
@@ -800,8 +800,8 @@ HAVE_XTEST_FALSE
 HAVE_XTEST_TRUE
 XTEST_LIBS
 OS_LINUX
-UDEV_LIBS
-UDEV_CFLAGS
+HAL_LIBS
+HAL_CFLAGS
 HAVE_GNOME_DOC_UTILS_FALSE
 HAVE_GNOME_DOC_UTILS_TRUE
 DISTCHECK_CONFIGURE_FLAGS
@@ -1008,8 +1008,8 @@ LIBS
 CPPFLAGS
 CPP
 PKG_CONFIG
-UDEV_CFLAGS
-UDEV_LIBS
+HAL_CFLAGS
+HAL_LIBS
 CHEESE_CFLAGS
 CHEESE_LIBS'
 
@@ -1688,8 +1688,8 @@ Some influential environment variables:
               you have headers in a nonstandard directory <include dir>
   CPP         C preprocessor
   PKG_CONFIG  path to pkg-config utility
-  UDEV_CFLAGS C compiler flags for UDEV, overriding pkg-config
-  UDEV_LIBS   linker flags for UDEV, overriding pkg-config
+  HAL_CFLAGS C compiler flags for HAL, overriding pkg-config
+  HAL_LIBS   linker flags for HAL, overriding pkg-config
   CHEESE_CFLAGS
               C compiler flags for CHEESE, overriding pkg-config
   CHEESE_LIBS linker flags for CHEESE, overriding pkg-config
@@ -15729,38 +15729,38 @@ LIBRSVG_REQUIRED=2.18.0
 # Check for udev
 #*******************************************************************************
 
-UDEV_PKG=
+HAL_PKG=
 
 pkg_failed=no
-{ $as_echo "$as_me:$LINENO: checking for UDEV" >&5
-$as_echo_n "checking for UDEV... " >&6; }
+{ $as_echo "$as_me:$LINENO: checking for HAL" >&5
+$as_echo_n "checking for HAL... " >&6; }
 
-if test -n "$UDEV_CFLAGS"; then
-    pkg_cv_UDEV_CFLAGS="$UDEV_CFLAGS"
+if test -n "$HAL_CFLAGS"; then
+    pkg_cv_HAL_CFLAGS="$HAL_CFLAGS"
  elif test -n "$PKG_CONFIG"; then
     if test -n "$PKG_CONFIG" && \
-    { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gudev-1.0\"") >&5
-  ($PKG_CONFIG --exists --print-errors "gudev-1.0") 2>&5
+    { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"hal\"") >&5
+  ($PKG_CONFIG --exists --print-errors "hal") 2>&5
   ac_status=$?
   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   (exit $ac_status); }; then
-  pkg_cv_UDEV_CFLAGS=`$PKG_CONFIG --cflags "gudev-1.0" 2>/dev/null`
+  pkg_cv_HAL_CFLAGS=`$PKG_CONFIG --cflags "hal" 2>/dev/null`
 else
   pkg_failed=yes
 fi
  else
     pkg_failed=untried
 fi
-if test -n "$UDEV_LIBS"; then
-    pkg_cv_UDEV_LIBS="$UDEV_LIBS"
+if test -n "$HAL_LIBS"; then
+    pkg_cv_HAL_LIBS="$HAL_LIBS"
  elif test -n "$PKG_CONFIG"; then
     if test -n "$PKG_CONFIG" && \
-    { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gudev-1.0\"") >&5
-  ($PKG_CONFIG --exists --print-errors "gudev-1.0") 2>&5
+    { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"hal\"") >&5
+  ($PKG_CONFIG --exists --print-errors "hal") 2>&5
   ac_status=$?
   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   (exit $ac_status); }; then
-  pkg_cv_UDEV_LIBS=`$PKG_CONFIG --libs "gudev-1.0" 2>/dev/null`
+  pkg_cv_HAL_LIBS=`$PKG_CONFIG --libs "hal" 2>/dev/null`
 else
   pkg_failed=yes
 fi
@@ -15778,29 +15778,29 @@ else
         _pkg_short_errors_supported=no
 fi
         if test $_pkg_short_errors_supported = yes; then
-           UDEV_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "gudev-1.0" 2>&1`
+           HAL_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "hal" 2>&1`
         else
-           UDEV_PKG_ERRORS=`$PKG_CONFIG --print-errors "gudev-1.0" 2>&1`
+           HAL_PKG_ERRORS=`$PKG_CONFIG --print-errors "hal" 2>&1`
         fi
    # Put the nasty error message in config.log where it belongs
-   echo "$UDEV_PKG_ERRORS" >&5
+   echo "$HAL_PKG_ERRORS" >&5
 
    { $as_echo "$as_me:$LINENO: result: no" >&5
 $as_echo "no" >&6; }
-                UDEV_PKG=
+                HAL_PKG=
 elif test $pkg_failed = untried; then
-   UDEV_PKG=
+   HAL_PKG=
 else
-   UDEV_CFLAGS=$pkg_cv_UDEV_CFLAGS
-   UDEV_LIBS=$pkg_cv_UDEV_LIBS
+   HAL_CFLAGS=$pkg_cv_HAL_CFLAGS
+   HAL_LIBS=$pkg_cv_HAL_LIBS
         { $as_echo "$as_me:$LINENO: result: yes" >&5
 $as_echo "yes" >&6; }
 
 cat >>confdefs.h <<\_ACEOF
-#define HAVE_UDEV 1
+#define HAVE_HAL 1
 _ACEOF
 
-         UDEV_PKG=gudev-1.0
+         HAL_PKG=hal
 fi
 
 { $as_echo "$as_me:$LINENO: checking operating system" >&5
@@ -15815,7 +15815,7 @@ _ACEOF
 
        { $as_echo "$as_me:$LINENO: result: Linux" >&5
 $as_echo "Linux" >&6; }
-       if test x$UDEV_PKG = "x" ; then
+       if test x$HAL_PKG = "x" ; then
            { { $as_echo "$as_me:$LINENO: error: libgudev is required under Linux and not installed" >&5
 $as_echo "$as_me: error: libgudev is required under Linux and not installed" >&2;}
    { (exit 1); exit 1; }; }
@@ -16213,7 +16213,7 @@ if test -n "$CHEESE_CFLAGS"; then
   dbus-glib-1 >= \$DBUS_GLIB_REQUIRED \\
   pangocairo >= \$PANGOCAIRO_REQUIRED \\
   librsvg-2.0 >= \$LIBRSVG_REQUIRED
-  libcanberra-gtk \$UDEV_PKG\"") >&5
+  libcanberra-gtk \$HAL_PKG\"") >&5
   ($PKG_CONFIG --exists --print-errors "\
   glib-2.0 >= $GLIB_REQUIRED \
   gobject-2.0 >= $GOBJECT_REQUIRED \
@@ -16229,7 +16229,7 @@ if test -n "$CHEESE_CFLAGS"; then
   dbus-glib-1 >= $DBUS_GLIB_REQUIRED \
   pangocairo >= $PANGOCAIRO_REQUIRED \
   librsvg-2.0 >= $LIBRSVG_REQUIRED
-  libcanberra-gtk $UDEV_PKG") 2>&5
+  libcanberra-gtk $HAL_PKG") 2>&5
   ac_status=$?
   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   (exit $ac_status); }; then
@@ -16248,7 +16248,7 @@ if test -n "$CHEESE_CFLAGS"; then
   dbus-glib-1 >= $DBUS_GLIB_REQUIRED \
   pangocairo >= $PANGOCAIRO_REQUIRED \
   librsvg-2.0 >= $LIBRSVG_REQUIRED
-  libcanberra-gtk $UDEV_PKG" 2>/dev/null`
+  libcanberra-gtk $HAL_PKG" 2>/dev/null`
 else
   pkg_failed=yes
 fi
@@ -16274,7 +16274,7 @@ if test -n "$CHEESE_LIBS"; then
   dbus-glib-1 >= \$DBUS_GLIB_REQUIRED \\
   pangocairo >= \$PANGOCAIRO_REQUIRED \\
   librsvg-2.0 >= \$LIBRSVG_REQUIRED
-  libcanberra-gtk \$UDEV_PKG\"") >&5
+  libcanberra-gtk \$HAL_PKG\"") >&5
   ($PKG_CONFIG --exists --print-errors "\
   glib-2.0 >= $GLIB_REQUIRED \
   gobject-2.0 >= $GOBJECT_REQUIRED \
@@ -16290,7 +16290,7 @@ if test -n "$CHEESE_LIBS"; then
   dbus-glib-1 >= $DBUS_GLIB_REQUIRED \
   pangocairo >= $PANGOCAIRO_REQUIRED \
   librsvg-2.0 >= $LIBRSVG_REQUIRED
-  libcanberra-gtk $UDEV_PKG") 2>&5
+  libcanberra-gtk $HAL_PKG") 2>&5
   ac_status=$?
   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   (exit $ac_status); }; then
@@ -16309,7 +16309,7 @@ if test -n "$CHEESE_LIBS"; then
   dbus-glib-1 >= $DBUS_GLIB_REQUIRED \
   pangocairo >= $PANGOCAIRO_REQUIRED \
   librsvg-2.0 >= $LIBRSVG_REQUIRED
-  libcanberra-gtk $UDEV_PKG" 2>/dev/null`
+  libcanberra-gtk $HAL_PKG" 2>/dev/null`
 else
   pkg_failed=yes
 fi
@@ -16342,7 +16342,7 @@ fi
   dbus-glib-1 >= $DBUS_GLIB_REQUIRED \
   pangocairo >= $PANGOCAIRO_REQUIRED \
   librsvg-2.0 >= $LIBRSVG_REQUIRED
-  libcanberra-gtk $UDEV_PKG" 2>&1`
+  libcanberra-gtk $HAL_PKG" 2>&1`
         else
            CHEESE_PKG_ERRORS=`$PKG_CONFIG --print-errors "\
   glib-2.0 >= $GLIB_REQUIRED \
@@ -16359,7 +16359,7 @@ fi
   dbus-glib-1 >= $DBUS_GLIB_REQUIRED \
   pangocairo >= $PANGOCAIRO_REQUIRED \
   librsvg-2.0 >= $LIBRSVG_REQUIRED
-  libcanberra-gtk $UDEV_PKG" 2>&1`
+  libcanberra-gtk $HAL_PKG" 2>&1`
         fi
    # Put the nasty error message in config.log where it belongs
    echo "$CHEESE_PKG_ERRORS" >&5
@@ -16379,7 +16379,7 @@ fi
   dbus-glib-1 >= $DBUS_GLIB_REQUIRED \
   pangocairo >= $PANGOCAIRO_REQUIRED \
   librsvg-2.0 >= $LIBRSVG_REQUIRED
-  libcanberra-gtk $UDEV_PKG) were not met:
+  libcanberra-gtk $HAL_PKG) were not met:
 
 $CHEESE_PKG_ERRORS
 
@@ -16405,7 +16405,7 @@ $as_echo "$as_me: error: Package require
   dbus-glib-1 >= $DBUS_GLIB_REQUIRED \
   pangocairo >= $PANGOCAIRO_REQUIRED \
   librsvg-2.0 >= $LIBRSVG_REQUIRED
-  libcanberra-gtk $UDEV_PKG) were not met:
+  libcanberra-gtk $HAL_PKG) were not met:
 
 $CHEESE_PKG_ERRORS