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
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
|
--- configure.orig 2011-04-13 11:06:34.000000000 +0200
+++ configure 2011-04-13 11:07:44.000000000 +0200
@@ -854,7 +723,10 @@ CHEESE_CFLAGS
HAVE_XTEST_FALSE
HAVE_XTEST_TRUE
XTEST_LIBS
+OS_FREEBSD
OS_LINUX
+HAL_LIBS
+HAL_CFLAGS
UDEV_LIBS
UDEV_CFLAGS
PKG_CONFIG_LIBDIR
@@ -1059,6 +934,8 @@ PKG_CONFIG_PATH
PKG_CONFIG_LIBDIR
UDEV_CFLAGS
UDEV_LIBS
+HAL_CFLAGS
+HAL_LIBS
CHEESE_CFLAGS
CHEESE_LIBS
CHEESE_GTK_CFLAGS
@@ -1739,6 +1618,8 @@ Some influential environment variables:
path overriding pkg-config's built-in search path
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
@@ -14255,6 +15037,80 @@ $as_echo "#define HAVE_UDEV 1" >>confdef
UDEV_PKG=gudev-1.0
fi
+HAL_PKG=
+
+pkg_failed=no
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for HAL" >&5
+$as_echo_n "checking for HAL... " >&6; }
+
+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:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"dbus-1 hal\""; } >&5
+ ($PKG_CONFIG --exists --print-errors "dbus-1 hal") 2>&5
+ ac_status=$?
+ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
+ test $ac_status = 0; }; then
+ pkg_cv_HAL_CFLAGS=`$PKG_CONFIG --cflags "dbus-1 hal" 2>/dev/null`
+else
+ pkg_failed=yes
+fi
+ else
+ pkg_failed=untried
+fi
+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:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"dbus-1 hal\""; } >&5
+ ($PKG_CONFIG --exists --print-errors "dbus-1 hal") 2>&5
+ ac_status=$?
+ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
+ test $ac_status = 0; }; then
+ pkg_cv_HAL_LIBS=`$PKG_CONFIG --libs "dbus-1 hal" 2>/dev/null`
+else
+ pkg_failed=yes
+fi
+ else
+ pkg_failed=untried
+fi
+
+
+
+if test $pkg_failed = yes; then
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
+
+if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
+ _pkg_short_errors_supported=yes
+else
+ _pkg_short_errors_supported=no
+fi
+ if test $_pkg_short_errors_supported = yes; then
+ HAL_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "dbus-1 hal" 2>&1`
+ else
+ HAL_PKG_ERRORS=`$PKG_CONFIG --print-errors "dbus-1 hal" 2>&1`
+ fi
+ # Put the nasty error message in config.log where it belongs
+ echo "$HAL_PKG_ERRORS" >&5
+
+ HAL_PKG=
+elif test $pkg_failed = untried; then
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
+ HAL_PKG=
+else
+ HAL_CFLAGS=$pkg_cv_HAL_CFLAGS
+ HAL_LIBS=$pkg_cv_HAL_LIBS
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
+$as_echo "yes" >&6; }
+
+$as_echo "#define HAVE_HAL 1" >>confdefs.h
+
+ HAL_PKG=hal
+fi
+
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking operating system" >&5
$as_echo_n "checking operating system... " >&6; }
case $host in
@@ -14269,6 +15125,17 @@ $as_echo "Linux" >&6; }
as_fn_error $? "libgudev is required under Linux and not installed" "$LINENO" 5
fi
;;
+ *-freebsd*)
+
+$as_echo "#define OS_FREEBSD /**/" >>confdefs.h
+
+
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: FreeBSD" >&5
+$as_echo "FreeBSD" >&6; }
+ if test x$HAL_PKG = "x" ; then
+ as_fn_error $? "hal is required under FreeBSD and not installed" "$LINENO" 5
+ fi
+ ;;
*)
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported operating system" >&5
$as_echo "unsupported operating system" >&6; }
@@ -14370,7 +15237,8 @@ if test -n "$CHEESE_CFLAGS"; then
clutter-1.0 >= \$CLUTTER_REQUIRED \\
clutter-gst-1.0 >= \$CLUTTERGST_REQUIRED \\
mx-1.0 \\
- \$UDEV_PKG
+ \$UDEV_PKG \\
+ \$HAL_PKG
\""; } >&5
($PKG_CONFIG --exists --print-errors "\
glib-2.0 >= $GLIB_REQUIRED \
@@ -14383,7 +15251,8 @@ if test -n "$CHEESE_CFLAGS"; then
clutter-1.0 >= $CLUTTER_REQUIRED \
clutter-gst-1.0 >= $CLUTTERGST_REQUIRED \
mx-1.0 \
- $UDEV_PKG
+ $UDEV_PKG \
+ $HAL_PKG
") 2>&5
ac_status=$?
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
@@ -14399,7 +15268,8 @@ if test -n "$CHEESE_CFLAGS"; then
clutter-1.0 >= $CLUTTER_REQUIRED \
clutter-gst-1.0 >= $CLUTTERGST_REQUIRED \
mx-1.0 \
- $UDEV_PKG
+ $UDEV_PKG \
+ $HAL_PKG
" 2>/dev/null`
else
pkg_failed=yes
@@ -14422,7 +15292,8 @@ if test -n "$CHEESE_LIBS"; then
clutter-1.0 >= \$CLUTTER_REQUIRED \\
clutter-gst-1.0 >= \$CLUTTERGST_REQUIRED \\
mx-1.0 \\
- \$UDEV_PKG
+ \$UDEV_PKG \\
+ \$HAL_PKG
\""; } >&5
($PKG_CONFIG --exists --print-errors "\
glib-2.0 >= $GLIB_REQUIRED \
@@ -14435,7 +15306,8 @@ if test -n "$CHEESE_LIBS"; then
clutter-1.0 >= $CLUTTER_REQUIRED \
clutter-gst-1.0 >= $CLUTTERGST_REQUIRED \
mx-1.0 \
- $UDEV_PKG
+ $UDEV_PKG \
+ $HAL_PKG
") 2>&5
ac_status=$?
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
@@ -14451,7 +15323,8 @@ if test -n "$CHEESE_LIBS"; then
clutter-1.0 >= $CLUTTER_REQUIRED \
clutter-gst-1.0 >= $CLUTTERGST_REQUIRED \
mx-1.0 \
- $UDEV_PKG
+ $UDEV_PKG \
+ $HAL_PKG
" 2>/dev/null`
else
pkg_failed=yes
@@ -14483,7 +15356,8 @@ fi
clutter-1.0 >= $CLUTTER_REQUIRED \
clutter-gst-1.0 >= $CLUTTERGST_REQUIRED \
mx-1.0 \
- $UDEV_PKG
+ $UDEV_PKG \
+ $HAL_PKG
" 2>&1`
else
CHEESE_PKG_ERRORS=`$PKG_CONFIG --print-errors "\
@@ -14497,7 +15371,8 @@ fi
clutter-1.0 >= $CLUTTER_REQUIRED \
clutter-gst-1.0 >= $CLUTTERGST_REQUIRED \
mx-1.0 \
- $UDEV_PKG
+ $UDEV_PKG \
+ $HAL_PKG
" 2>&1`
fi
# Put the nasty error message in config.log where it belongs
@@ -14514,7 +15389,8 @@ fi
clutter-1.0 >= $CLUTTER_REQUIRED \
clutter-gst-1.0 >= $CLUTTERGST_REQUIRED \
mx-1.0 \
- $UDEV_PKG
+ $UDEV_PKG \
+ $HAL_PKG
) were not met:
$CHEESE_PKG_ERRORS
@@ -14570,6 +15446,7 @@ if test -n "$CHEESE_GTK_CFLAGS"; then
gee-1.0 >= \$GEE_REQUIRED \\
libcanberra-gtk3 >= \$LIBCANBERRA_REQUIRED \\
\$UDEV_PKG \\
+ \$HAL_PKG \\
gnome-video-effects
\""; } >&5
($PKG_CONFIG --exists --print-errors "\
@@ -14582,6 +15459,7 @@ if test -n "$CHEESE_GTK_CFLAGS"; then
gee-1.0 >= $GEE_REQUIRED \
libcanberra-gtk3 >= $LIBCANBERRA_REQUIRED \
$UDEV_PKG \
+ $HAL_PKG \
gnome-video-effects
") 2>&5
ac_status=$?
@@ -14597,6 +15475,7 @@ if test -n "$CHEESE_GTK_CFLAGS"; then
gee-1.0 >= $GEE_REQUIRED \
libcanberra-gtk3 >= $LIBCANBERRA_REQUIRED \
$UDEV_PKG \
+ $HAL_PKG \
gnome-video-effects
" 2>/dev/null`
else
@@ -14619,6 +15498,7 @@ if test -n "$CHEESE_GTK_LIBS"; then
gee-1.0 >= \$GEE_REQUIRED \\
libcanberra-gtk3 >= \$LIBCANBERRA_REQUIRED \\
\$UDEV_PKG \\
+ \$HAL_PKG \\
gnome-video-effects
\""; } >&5
($PKG_CONFIG --exists --print-errors "\
@@ -14631,6 +15511,7 @@ if test -n "$CHEESE_GTK_LIBS"; then
gee-1.0 >= $GEE_REQUIRED \
libcanberra-gtk3 >= $LIBCANBERRA_REQUIRED \
$UDEV_PKG \
+ $HAL_PKG \
gnome-video-effects
") 2>&5
ac_status=$?
@@ -14646,6 +15527,7 @@ if test -n "$CHEESE_GTK_LIBS"; then
gee-1.0 >= $GEE_REQUIRED \
libcanberra-gtk3 >= $LIBCANBERRA_REQUIRED \
$UDEV_PKG \
+ $HAL_PKG \
gnome-video-effects
" 2>/dev/null`
else
@@ -14677,6 +15559,7 @@ fi
gee-1.0 >= $GEE_REQUIRED \
libcanberra-gtk3 >= $LIBCANBERRA_REQUIRED \
$UDEV_PKG \
+ $HAL_PKG \
gnome-video-effects
" 2>&1`
else
@@ -14690,6 +15573,7 @@ fi
gee-1.0 >= $GEE_REQUIRED \
libcanberra-gtk3 >= $LIBCANBERRA_REQUIRED \
$UDEV_PKG \
+ $HAL_PKG \
gnome-video-effects
" 2>&1`
fi
@@ -14706,6 +15590,7 @@ fi
gee-1.0 >= $GEE_REQUIRED \
libcanberra-gtk3 >= $LIBCANBERRA_REQUIRED \
$UDEV_PKG \
+ $HAL_PKG \
gnome-video-effects
) were not met:
|