Commit | Line | Data |
---|---|---|
e2991ea7 | 1 | #! /bin/sh |
e2991ea7 | 2 | # Guess values for system-dependent variables and create Makefiles. |
12c80905 | 3 | # Generated by GNU Autoconf 2.63 for Wine 1.1.9. |
e2991ea7 | 4 | # |
875927f6 AJ |
5 | # Report bugs to <wine-devel@winehq.org>. |
6 | # | |
fc6ffb29 | 7 | # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, |
abf5048b | 8 | # 2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc. |
e2991ea7 AJ |
9 | # This configure script is free software; the Free Software Foundation |
10 | # gives unlimited permission to copy, distribute and modify it. | |
daa2886c AJ |
11 | ## --------------------- ## |
12 | ## M4sh Initialization. ## | |
13 | ## --------------------- ## | |
f5818d2f | 14 | |
dc9f3843 AJ |
15 | # Be more Bourne compatible |
16 | DUALCASE=1; export DUALCASE # for MKS sh | |
f5818d2f AJ |
17 | if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then |
18 | emulate sh | |
19 | NULLCMD=: | |
abf5048b | 20 | # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which |
11af04e3 AJ |
21 | # is contrary to our usage. Disable this feature. |
22 | alias -g '${1+"$@"}'='"$@"' | |
fc6ffb29 AJ |
23 | setopt NO_GLOB_SUBST |
24 | else | |
dc9f3843 AJ |
25 | case `(set -o) 2>/dev/null` in |
26 | *posix*) set -o posix ;; | |
27 | esac | |
28 | ||
f5818d2f | 29 | fi |
dc9f3843 AJ |
30 | |
31 | ||
f5818d2f | 32 | |
fc6ffb29 AJ |
33 | |
34 | # PATH needs CR | |
35 | # Avoid depending upon Character Ranges. | |
36 | as_cr_letters='abcdefghijklmnopqrstuvwxyz' | |
37 | as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' | |
38 | as_cr_Letters=$as_cr_letters$as_cr_LETTERS | |
39 | as_cr_digits='0123456789' | |
40 | as_cr_alnum=$as_cr_Letters$as_cr_digits | |
41 | ||
abf5048b AJ |
42 | as_nl=' |
43 | ' | |
44 | export as_nl | |
45 | # Printing a long string crashes Solaris 7 /usr/bin/printf. | |
46 | as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' | |
47 | as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo | |
48 | as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo | |
49 | if (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then | |
50 | as_echo='printf %s\n' | |
51 | as_echo_n='printf %s' | |
52 | else | |
53 | if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then | |
54 | as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"' | |
55 | as_echo_n='/usr/ucb/echo -n' | |
fc6ffb29 | 56 | else |
abf5048b AJ |
57 | as_echo_body='eval expr "X$1" : "X\\(.*\\)"' |
58 | as_echo_n_body='eval | |
59 | arg=$1; | |
60 | case $arg in | |
61 | *"$as_nl"*) | |
62 | expr "X$arg" : "X\\(.*\\)$as_nl"; | |
63 | arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;; | |
64 | esac; | |
65 | expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl" | |
66 | ' | |
67 | export as_echo_n_body | |
68 | as_echo_n='sh -c $as_echo_n_body as_echo' | |
fc6ffb29 | 69 | fi |
abf5048b AJ |
70 | export as_echo_body |
71 | as_echo='sh -c $as_echo_body as_echo' | |
72 | fi | |
73 | ||
74 | # The user is always right. | |
75 | if test "${PATH_SEPARATOR+set}" != set; then | |
76 | PATH_SEPARATOR=: | |
77 | (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && { | |
78 | (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 || | |
79 | PATH_SEPARATOR=';' | |
80 | } | |
fc6ffb29 AJ |
81 | fi |
82 | ||
daa2886c | 83 | # Support unset when possible. |
875927f6 | 84 | if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then |
daa2886c AJ |
85 | as_unset=unset |
86 | else | |
87 | as_unset=false | |
88 | fi | |
89 | ||
11af04e3 | 90 | |
fc6ffb29 AJ |
91 | # IFS |
92 | # We need space, tab and new line, in precisely that order. Quoting is | |
93 | # there to prevent editors from complaining about space-tab. | |
94 | # (If _AS_PATH_WALK were called with IFS unset, it would disable word | |
95 | # splitting by setting IFS to empty value.) | |
fc6ffb29 AJ |
96 | IFS=" "" $as_nl" |
97 | ||
98 | # Find who we are. Look in the path if we contain no directory separator. | |
99 | case $0 in | |
100 | *[\\/]* ) as_myself=$0 ;; | |
101 | *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | |
102 | for as_dir in $PATH | |
103 | do | |
104 | IFS=$as_save_IFS | |
105 | test -z "$as_dir" && as_dir=. | |
106 | test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break | |
107 | done | |
108 | IFS=$as_save_IFS | |
109 | ||
110 | ;; | |
111 | esac | |
112 | # We did not find ourselves, most probably we were run as `sh COMMAND' | |
113 | # in which case we are not to be found in the path. | |
114 | if test "x$as_myself" = x; then | |
115 | as_myself=$0 | |
116 | fi | |
117 | if test ! -f "$as_myself"; then | |
abf5048b | 118 | $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 |
fc6ffb29 AJ |
119 | { (exit 1); exit 1; } |
120 | fi | |
121 | ||
11af04e3 | 122 | # Work around bugs in pre-3.0 UWIN ksh. |
fc6ffb29 AJ |
123 | for as_var in ENV MAIL MAILPATH |
124 | do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var | |
125 | done | |
11af04e3 AJ |
126 | PS1='$ ' |
127 | PS2='> ' | |
128 | PS4='+ ' | |
129 | ||
130 | # NLS nuisances. | |
abf5048b AJ |
131 | LC_ALL=C |
132 | export LC_ALL | |
133 | LANGUAGE=C | |
134 | export LANGUAGE | |
11af04e3 AJ |
135 | |
136 | # Required to use basename. | |
fc6ffb29 AJ |
137 | if expr a : '\(a\)' >/dev/null 2>&1 && |
138 | test "X`expr 00001 : '.*\(...\)'`" = X001; then | |
11af04e3 AJ |
139 | as_expr=expr |
140 | else | |
141 | as_expr=false | |
142 | fi | |
143 | ||
fc6ffb29 | 144 | if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then |
11af04e3 AJ |
145 | as_basename=basename |
146 | else | |
147 | as_basename=false | |
148 | fi | |
daa2886c AJ |
149 | |
150 | ||
f5818d2f | 151 | # Name of the executable. |
fc6ffb29 | 152 | as_me=`$as_basename -- "$0" || |
daa2886c AJ |
153 | $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ |
154 | X"$0" : 'X\(//\)$' \| \ | |
fc6ffb29 | 155 | X"$0" : 'X\(/\)' \| . 2>/dev/null || |
abf5048b | 156 | $as_echo X/"$0" | |
fc6ffb29 AJ |
157 | sed '/^.*\/\([^/][^/]*\)\/*$/{ |
158 | s//\1/ | |
159 | q | |
160 | } | |
161 | /^X\/\(\/\/\)$/{ | |
162 | s//\1/ | |
163 | q | |
164 | } | |
165 | /^X\/\(\/\).*/{ | |
166 | s//\1/ | |
167 | q | |
168 | } | |
169 | s/.*/./; q'` | |
daa2886c | 170 | |
fc6ffb29 AJ |
171 | # CDPATH. |
172 | $as_unset CDPATH | |
11af04e3 | 173 | |
daa2886c | 174 | |
fc6ffb29 AJ |
175 | if test "x$CONFIG_SHELL" = x; then |
176 | if (eval ":") 2>/dev/null; then | |
177 | as_have_required=yes | |
178 | else | |
179 | as_have_required=no | |
daa2886c AJ |
180 | fi |
181 | ||
abf5048b | 182 | if test $as_have_required = yes && (eval ": |
fc6ffb29 AJ |
183 | (as_func_return () { |
184 | (exit \$1) | |
185 | } | |
186 | as_func_success () { | |
187 | as_func_return 0 | |
188 | } | |
189 | as_func_failure () { | |
190 | as_func_return 1 | |
191 | } | |
192 | as_func_ret_success () { | |
193 | return 0 | |
194 | } | |
195 | as_func_ret_failure () { | |
196 | return 1 | |
197 | } | |
daa2886c | 198 | |
fc6ffb29 AJ |
199 | exitcode=0 |
200 | if as_func_success; then | |
201 | : | |
202 | else | |
203 | exitcode=1 | |
204 | echo as_func_success failed. | |
205 | fi | |
daa2886c | 206 | |
fc6ffb29 AJ |
207 | if as_func_failure; then |
208 | exitcode=1 | |
209 | echo as_func_failure succeeded. | |
210 | fi | |
211 | ||
212 | if as_func_ret_success; then | |
213 | : | |
214 | else | |
215 | exitcode=1 | |
216 | echo as_func_ret_success failed. | |
217 | fi | |
218 | ||
219 | if as_func_ret_failure; then | |
220 | exitcode=1 | |
221 | echo as_func_ret_failure succeeded. | |
222 | fi | |
223 | ||
224 | if ( set x; as_func_ret_success y && test x = \"\$1\" ); then | |
225 | : | |
226 | else | |
227 | exitcode=1 | |
228 | echo positional parameters were not saved. | |
229 | fi | |
230 | ||
231 | test \$exitcode = 0) || { (exit 1); exit 1; } | |
232 | ||
233 | ( | |
234 | as_lineno_1=\$LINENO | |
235 | as_lineno_2=\$LINENO | |
236 | test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" && | |
237 | test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; } | |
238 | ") 2> /dev/null; then | |
239 | : | |
240 | else | |
241 | as_candidate_shells= | |
daa2886c | 242 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
dc9f3843 | 243 | for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH |
daa2886c AJ |
244 | do |
245 | IFS=$as_save_IFS | |
246 | test -z "$as_dir" && as_dir=. | |
fc6ffb29 | 247 | case $as_dir in |
daa2886c | 248 | /*) |
fc6ffb29 AJ |
249 | for as_base in sh bash ksh sh5; do |
250 | as_candidate_shells="$as_candidate_shells $as_dir/$as_base" | |
251 | done;; | |
252 | esac | |
253 | done | |
254 | IFS=$as_save_IFS | |
255 | ||
256 | ||
257 | for as_shell in $as_candidate_shells $SHELL; do | |
0ebeb530 JW |
258 | # Try only shells that exist, to save several forks. |
259 | if { test -f "$as_shell" || test -f "$as_shell.exe"; } && | |
260 | { ("$as_shell") 2> /dev/null <<\_ASEOF | |
fc6ffb29 AJ |
261 | if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then |
262 | emulate sh | |
263 | NULLCMD=: | |
abf5048b | 264 | # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which |
fc6ffb29 AJ |
265 | # is contrary to our usage. Disable this feature. |
266 | alias -g '${1+"$@"}'='"$@"' | |
267 | setopt NO_GLOB_SUBST | |
268 | else | |
dc9f3843 AJ |
269 | case `(set -o) 2>/dev/null` in |
270 | *posix*) set -o posix ;; | |
271 | esac | |
272 | ||
fc6ffb29 | 273 | fi |
dc9f3843 | 274 | |
fc6ffb29 AJ |
275 | |
276 | : | |
277 | _ASEOF | |
278 | }; then | |
279 | CONFIG_SHELL=$as_shell | |
280 | as_have_required=yes | |
0ebeb530 | 281 | if { "$as_shell" 2> /dev/null <<\_ASEOF |
fc6ffb29 AJ |
282 | if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then |
283 | emulate sh | |
284 | NULLCMD=: | |
abf5048b | 285 | # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which |
fc6ffb29 AJ |
286 | # is contrary to our usage. Disable this feature. |
287 | alias -g '${1+"$@"}'='"$@"' | |
288 | setopt NO_GLOB_SUBST | |
289 | else | |
dc9f3843 AJ |
290 | case `(set -o) 2>/dev/null` in |
291 | *posix*) set -o posix ;; | |
292 | esac | |
293 | ||
fc6ffb29 | 294 | fi |
dc9f3843 | 295 | |
fc6ffb29 AJ |
296 | |
297 | : | |
298 | (as_func_return () { | |
299 | (exit $1) | |
300 | } | |
301 | as_func_success () { | |
302 | as_func_return 0 | |
303 | } | |
304 | as_func_failure () { | |
305 | as_func_return 1 | |
306 | } | |
307 | as_func_ret_success () { | |
308 | return 0 | |
309 | } | |
310 | as_func_ret_failure () { | |
311 | return 1 | |
312 | } | |
313 | ||
314 | exitcode=0 | |
315 | if as_func_success; then | |
316 | : | |
317 | else | |
318 | exitcode=1 | |
319 | echo as_func_success failed. | |
320 | fi | |
321 | ||
322 | if as_func_failure; then | |
323 | exitcode=1 | |
324 | echo as_func_failure succeeded. | |
325 | fi | |
326 | ||
327 | if as_func_ret_success; then | |
328 | : | |
329 | else | |
330 | exitcode=1 | |
331 | echo as_func_ret_success failed. | |
332 | fi | |
333 | ||
334 | if as_func_ret_failure; then | |
335 | exitcode=1 | |
336 | echo as_func_ret_failure succeeded. | |
337 | fi | |
338 | ||
339 | if ( set x; as_func_ret_success y && test x = "$1" ); then | |
340 | : | |
341 | else | |
342 | exitcode=1 | |
343 | echo positional parameters were not saved. | |
344 | fi | |
345 | ||
346 | test $exitcode = 0) || { (exit 1); exit 1; } | |
347 | ||
348 | ( | |
daa2886c AJ |
349 | as_lineno_1=$LINENO |
350 | as_lineno_2=$LINENO | |
daa2886c | 351 | test "x$as_lineno_1" != "x$as_lineno_2" && |
fc6ffb29 AJ |
352 | test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; } |
353 | ||
354 | _ASEOF | |
355 | }; then | |
356 | break | |
357 | fi | |
358 | ||
359 | fi | |
360 | ||
361 | done | |
362 | ||
363 | if test "x$CONFIG_SHELL" != x; then | |
364 | for as_var in BASH_ENV ENV | |
abf5048b AJ |
365 | do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var |
366 | done | |
367 | export CONFIG_SHELL | |
368 | exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"} | |
fc6ffb29 AJ |
369 | fi |
370 | ||
371 | ||
372 | if test $as_have_required = no; then | |
373 | echo This script requires a shell more modern than all the | |
374 | echo shells that I found on your system. Please install a | |
375 | echo modern shell, or manually run the script under such a | |
376 | echo shell if you do have one. | |
377 | { (exit 1); exit 1; } | |
378 | fi | |
379 | ||
380 | ||
381 | fi | |
382 | ||
383 | fi | |
384 | ||
385 | ||
386 | ||
387 | (eval "as_func_return () { | |
388 | (exit \$1) | |
389 | } | |
390 | as_func_success () { | |
391 | as_func_return 0 | |
392 | } | |
393 | as_func_failure () { | |
394 | as_func_return 1 | |
395 | } | |
396 | as_func_ret_success () { | |
397 | return 0 | |
398 | } | |
399 | as_func_ret_failure () { | |
400 | return 1 | |
401 | } | |
402 | ||
403 | exitcode=0 | |
404 | if as_func_success; then | |
405 | : | |
406 | else | |
407 | exitcode=1 | |
408 | echo as_func_success failed. | |
409 | fi | |
410 | ||
411 | if as_func_failure; then | |
412 | exitcode=1 | |
413 | echo as_func_failure succeeded. | |
414 | fi | |
415 | ||
416 | if as_func_ret_success; then | |
417 | : | |
418 | else | |
419 | exitcode=1 | |
420 | echo as_func_ret_success failed. | |
421 | fi | |
422 | ||
423 | if as_func_ret_failure; then | |
424 | exitcode=1 | |
425 | echo as_func_ret_failure succeeded. | |
426 | fi | |
427 | ||
428 | if ( set x; as_func_ret_success y && test x = \"\$1\" ); then | |
429 | : | |
430 | else | |
431 | exitcode=1 | |
432 | echo positional parameters were not saved. | |
433 | fi | |
434 | ||
435 | test \$exitcode = 0") || { | |
436 | echo No shell found that supports shell functions. | |
abf5048b AJ |
437 | echo Please tell bug-autoconf@gnu.org about your system, |
438 | echo including any error possibly output before this message. | |
439 | echo This can help us improve future autoconf versions. | |
440 | echo Configuration will now proceed without shell functions. | |
fc6ffb29 AJ |
441 | } |
442 | ||
443 | ||
444 | ||
445 | as_lineno_1=$LINENO | |
446 | as_lineno_2=$LINENO | |
447 | test "x$as_lineno_1" != "x$as_lineno_2" && | |
448 | test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || { | |
daa2886c AJ |
449 | |
450 | # Create $as_me.lineno as a copy of $as_myself, but with $LINENO | |
451 | # uniformly replaced by the line number. The first 'sed' inserts a | |
fc6ffb29 AJ |
452 | # line-number line after each line using $LINENO; the second 'sed' |
453 | # does the real work. The second script uses 'N' to pair each | |
454 | # line-number line with the line containing $LINENO, and appends | |
455 | # trailing '-' during substitution so that $LINENO is not a special | |
456 | # case at line end. | |
daa2886c | 457 | # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the |
fc6ffb29 AJ |
458 | # scripts with optimization help from Paolo Bonzini. Blame Lee |
459 | # E. McMahon (1931-1989) for sed's syntax. :-) | |
460 | sed -n ' | |
461 | p | |
462 | /[$]LINENO/= | |
463 | ' <$as_myself | | |
daa2886c | 464 | sed ' |
fc6ffb29 AJ |
465 | s/[$]LINENO.*/&-/ |
466 | t lineno | |
467 | b | |
468 | :lineno | |
daa2886c | 469 | N |
fc6ffb29 AJ |
470 | :loop |
471 | s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/ | |
daa2886c | 472 | t loop |
fc6ffb29 | 473 | s/-\n.*// |
daa2886c | 474 | ' >$as_me.lineno && |
fc6ffb29 | 475 | chmod +x "$as_me.lineno" || |
abf5048b | 476 | { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2 |
daa2886c AJ |
477 | { (exit 1); exit 1; }; } |
478 | ||
479 | # Don't try to exec as it changes $[0], causing all sort of problems | |
480 | # (the dirname of $[0] is not the place where we might find the | |
fc6ffb29 AJ |
481 | # original and so on. Autoconf is especially sensitive to this). |
482 | . "./$as_me.lineno" | |
daa2886c AJ |
483 | # Exit status is that of the last command. |
484 | exit | |
485 | } | |
486 | ||
487 | ||
0ebeb530 | 488 | if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then |
fc6ffb29 AJ |
489 | as_dirname=dirname |
490 | else | |
491 | as_dirname=false | |
492 | fi | |
493 | ||
494 | ECHO_C= ECHO_N= ECHO_T= | |
495 | case `echo -n x` in | |
496 | -n*) | |
497 | case `echo 'x\c'` in | |
498 | *c*) ECHO_T=' ';; # ECHO_T is single tab character. | |
499 | *) ECHO_C='\c';; | |
500 | esac;; | |
501 | *) | |
502 | ECHO_N='-n';; | |
daa2886c | 503 | esac |
fc6ffb29 AJ |
504 | if expr a : '\(a\)' >/dev/null 2>&1 && |
505 | test "X`expr 00001 : '.*\(...\)'`" = X001; then | |
f5818d2f AJ |
506 | as_expr=expr |
507 | else | |
508 | as_expr=false | |
509 | fi | |
510 | ||
511 | rm -f conf$$ conf$$.exe conf$$.file | |
fc6ffb29 AJ |
512 | if test -d conf$$.dir; then |
513 | rm -f conf$$.dir/conf$$.file | |
514 | else | |
515 | rm -f conf$$.dir | |
abf5048b AJ |
516 | mkdir conf$$.dir 2>/dev/null |
517 | fi | |
518 | if (echo >conf$$.file) 2>/dev/null; then | |
519 | if ln -s conf$$.file conf$$ 2>/dev/null; then | |
520 | as_ln_s='ln -s' | |
521 | # ... but there are two gotchas: | |
522 | # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. | |
523 | # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. | |
524 | # In both cases, we have to default to `cp -p'. | |
525 | ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || | |
526 | as_ln_s='cp -p' | |
527 | elif ln conf$$.file conf$$ 2>/dev/null; then | |
528 | as_ln_s=ln | |
529 | else | |
f5818d2f | 530 | as_ln_s='cp -p' |
abf5048b | 531 | fi |
f5818d2f AJ |
532 | else |
533 | as_ln_s='cp -p' | |
534 | fi | |
fc6ffb29 AJ |
535 | rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file |
536 | rmdir conf$$.dir 2>/dev/null | |
f5818d2f | 537 | |
11af04e3 AJ |
538 | if mkdir -p . 2>/dev/null; then |
539 | as_mkdir_p=: | |
540 | else | |
875927f6 | 541 | test -d ./-p && rmdir ./-p |
11af04e3 AJ |
542 | as_mkdir_p=false |
543 | fi | |
544 | ||
dc9f3843 AJ |
545 | if test -x / >/dev/null 2>&1; then |
546 | as_test_x='test -x' | |
fc6ffb29 | 547 | else |
dc9f3843 AJ |
548 | if ls -dL / >/dev/null 2>&1; then |
549 | as_ls_L_option=L | |
550 | else | |
551 | as_ls_L_option= | |
552 | fi | |
553 | as_test_x=' | |
554 | eval sh -c '\'' | |
555 | if test -d "$1"; then | |
abf5048b | 556 | test -d "$1/."; |
dc9f3843 AJ |
557 | else |
558 | case $1 in | |
abf5048b | 559 | -*)set "./$1";; |
dc9f3843 AJ |
560 | esac; |
561 | case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in | |
562 | ???[sx]*):;;*)false;;esac;fi | |
563 | '\'' sh | |
564 | ' | |
fc6ffb29 | 565 | fi |
dc9f3843 | 566 | as_executable_p=$as_test_x |
f5818d2f | 567 | |
daa2886c | 568 | # Sed expression to map a string onto a valid CPP name. |
875927f6 | 569 | as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" |
daa2886c AJ |
570 | |
571 | # Sed expression to map a string onto a valid variable name. | |
875927f6 | 572 | as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" |
f5818d2f | 573 | |
f5818d2f | 574 | |
daa2886c | 575 | |
fc6ffb29 | 576 | exec 7<&0 </dev/null 6>&1 |
f5818d2f AJ |
577 | |
578 | # Name of the host. | |
579 | # hostname on some systems (SVR3.2, Linux) returns a bogus exit status, | |
580 | # so uname gets run too. | |
581 | ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q` | |
582 | ||
f5818d2f AJ |
583 | # |
584 | # Initializations. | |
585 | # | |
e2991ea7 | 586 | ac_default_prefix=/usr/local |
fc6ffb29 | 587 | ac_clean_files= |
11af04e3 | 588 | ac_config_libobj_dir=. |
fc6ffb29 | 589 | LIBOBJS= |
f5818d2f AJ |
590 | cross_compiling=no |
591 | subdirs= | |
daa2886c AJ |
592 | MFLAGS= |
593 | MAKEFLAGS= | |
f5818d2f AJ |
594 | SHELL=${CONFIG_SHELL-/bin/sh} |
595 | ||
daa2886c AJ |
596 | # Identity of this package. |
597 | PACKAGE_NAME='Wine' | |
598 | PACKAGE_TARNAME='wine' | |
12c80905 AJ |
599 | PACKAGE_VERSION='1.1.9' |
600 | PACKAGE_STRING='Wine 1.1.9' | |
875927f6 | 601 | PACKAGE_BUGREPORT='wine-devel@winehq.org' |
daa2886c | 602 | |
f5818d2f AJ |
603 | ac_unique_file="server/atom.c" |
604 | # Factoring default headers for most tests. | |
605 | ac_includes_default="\ | |
606 | #include <stdio.h> | |
f0ca586f | 607 | #ifdef HAVE_SYS_TYPES_H |
f5818d2f AJ |
608 | # include <sys/types.h> |
609 | #endif | |
f0ca586f | 610 | #ifdef HAVE_SYS_STAT_H |
f5818d2f AJ |
611 | # include <sys/stat.h> |
612 | #endif | |
f0ca586f | 613 | #ifdef STDC_HEADERS |
f5818d2f AJ |
614 | # include <stdlib.h> |
615 | # include <stddef.h> | |
616 | #else | |
f0ca586f | 617 | # ifdef HAVE_STDLIB_H |
f5818d2f AJ |
618 | # include <stdlib.h> |
619 | # endif | |
620 | #endif | |
f0ca586f PK |
621 | #ifdef HAVE_STRING_H |
622 | # if !defined STDC_HEADERS && defined HAVE_MEMORY_H | |
f5818d2f AJ |
623 | # include <memory.h> |
624 | # endif | |
625 | # include <string.h> | |
626 | #endif | |
f0ca586f | 627 | #ifdef HAVE_STRINGS_H |
f5818d2f AJ |
628 | # include <strings.h> |
629 | #endif | |
f0ca586f | 630 | #ifdef HAVE_INTTYPES_H |
f5818d2f | 631 | # include <inttypes.h> |
fc6ffb29 | 632 | #endif |
f0ca586f | 633 | #ifdef HAVE_STDINT_H |
fc6ffb29 | 634 | # include <stdint.h> |
f5818d2f | 635 | #endif |
f0ca586f | 636 | #ifdef HAVE_UNISTD_H |
f5818d2f AJ |
637 | # include <unistd.h> |
638 | #endif" | |
e2991ea7 | 639 | |
abf5048b AJ |
640 | ac_subst_vars='LTLIBOBJS |
641 | LIBOBJS | |
642 | ALL_WINETEST_DEPENDS | |
643 | ALL_PROGRAM_BIN_INSTALL_DIRS | |
644 | ALL_PROGRAM_INSTALL_DIRS | |
645 | ALL_PROGRAM_DIRS | |
646 | ALL_TEST_DIRS | |
647 | ALL_IMPLIB_DIRS | |
648 | ALL_DLL_DIRS | |
649 | ALL_TOP_DIRS | |
650 | ALL_MAKEFILE_DEPENDS | |
651 | ALL_MAKEFILES | |
652 | ALL_MAKERULES | |
653 | DEPENDENCIES | |
654 | LDAPLIBS | |
655 | LIBPOLL | |
656 | LIBDL | |
657 | EXTRA_BINARIES | |
658 | MAIN_BINARY | |
659 | SOCKETLIBS | |
660 | CRTLIBS | |
661 | LDPATH | |
662 | BUILTINFLAG | |
663 | EXTRACFLAGS | |
664 | FONTCONFIGINCL | |
665 | CUPSINCL | |
666 | AUDIOIOLIBS | |
667 | ALSALIBS | |
668 | ESDLIBS | |
669 | ESDINCL | |
670 | ESDCONFIG | |
671 | FREETYPEINCL | |
672 | FREETYPELIBS | |
673 | ft_devel | |
674 | LCMSLIBS | |
675 | RESOLVLIBS | |
676 | GPHOTO2INCL | |
677 | GPHOTO2LIBS | |
678 | gphoto2port_devel | |
679 | gphoto2_devel | |
680 | SANEINCL | |
681 | sane_devel | |
682 | GNUTLSINCL | |
683 | HALINCL | |
684 | XSLTINCL | |
abf5048b AJ |
685 | XML2INCL |
686 | XML2LIBS | |
687 | NASLIBS | |
688 | CROSSTEST | |
689 | CROSSWINDRES | |
690 | CROSSCC | |
691 | CARBONLIB | |
692 | COREAUDIO | |
693 | DISKARBITRATIONLIB | |
694 | LDEXECFLAGS | |
695 | IOKITLIB | |
696 | COREFOUNDATIONLIB | |
697 | SECURITYLIB | |
698 | MINGWAR | |
699 | DLLWRAP | |
700 | DLLTOOL | |
701 | LDD | |
702 | LDRPATH_LOCAL | |
703 | LDRPATH_INSTALL | |
704 | IMPLIBEXT | |
705 | LIBEXT | |
706 | LDDLLFLAGS | |
707 | LDSHARED | |
708 | DLLFLAGS | |
709 | DLLEXT | |
710 | OPENGL_LIBS | |
711 | XLIB | |
712 | LIBPTHREAD | |
713 | PRELINK | |
714 | ICOTOOL | |
715 | RSVG | |
716 | PKG_CONFIG | |
717 | FONTFORGE | |
718 | LINTFLAGS | |
719 | LINT | |
720 | INSTALL_DATA | |
721 | INSTALL_SCRIPT | |
722 | INSTALL_PROGRAM | |
723 | LDCONFIG | |
724 | EGREP | |
725 | GREP | |
726 | LN | |
727 | LN_S | |
728 | WINDRES | |
729 | STRIP | |
730 | RANLIB | |
731 | ARFLAGS | |
732 | ac_ct_AR | |
733 | AR | |
734 | ac_ct_NM | |
735 | NM | |
736 | ac_ct_LD | |
737 | LD | |
738 | ac_ct_AS | |
739 | AS | |
740 | BISON | |
741 | FLEX | |
742 | X_EXTRA_LIBS | |
743 | X_LIBS | |
744 | X_PRE_LIBS | |
745 | X_CFLAGS | |
746 | CPP | |
747 | XMKMF | |
748 | TOOLSDIR | |
749 | CPPBIN | |
750 | ac_ct_CXX | |
751 | CXXFLAGS | |
752 | CXX | |
753 | OBJEXT | |
754 | EXEEXT | |
755 | ac_ct_CC | |
756 | CPPFLAGS | |
757 | LDFLAGS | |
758 | CFLAGS | |
759 | CC | |
760 | SET_MAKE | |
761 | WIN16_INSTALL | |
762 | WIN16_FILES | |
763 | host_os | |
764 | host_vendor | |
765 | host_cpu | |
766 | host | |
767 | build_os | |
768 | build_vendor | |
769 | build_cpu | |
770 | build | |
771 | MAINTAINER_MODE | |
772 | target_alias | |
773 | host_alias | |
fc6ffb29 | 774 | build_alias |
abf5048b AJ |
775 | LIBS |
776 | ECHO_T | |
777 | ECHO_N | |
778 | ECHO_C | |
779 | DEFS | |
780 | mandir | |
781 | localedir | |
782 | libdir | |
783 | psdir | |
784 | pdfdir | |
785 | dvidir | |
786 | htmldir | |
787 | infodir | |
788 | docdir | |
789 | oldincludedir | |
790 | includedir | |
791 | localstatedir | |
792 | sharedstatedir | |
793 | sysconfdir | |
794 | datadir | |
795 | datarootdir | |
796 | libexecdir | |
797 | sbindir | |
798 | bindir | |
799 | program_transform_name | |
800 | prefix | |
801 | exec_prefix | |
802 | PACKAGE_BUGREPORT | |
803 | PACKAGE_STRING | |
804 | PACKAGE_VERSION | |
805 | PACKAGE_TARNAME | |
806 | PACKAGE_NAME | |
807 | PATH_SEPARATOR | |
808 | SHELL' | |
809 | ac_subst_files='MAKE_RULES | |
810 | MAKE_DLL_RULES | |
811 | MAKE_IMPLIB_RULES | |
812 | MAKE_TEST_RULES | |
813 | MAKE_PROG_RULES' | |
814 | ac_user_opts=' | |
815 | enable_option_checking | |
816 | enable_win16 | |
817 | enable_win64 | |
35078f4b | 818 | enable_tests |
abf5048b AJ |
819 | enable_maintainer_mode |
820 | with_alsa | |
821 | with_audioio | |
822 | with_capi | |
823 | with_cms | |
824 | with_coreaudio | |
825 | with_cups | |
826 | with_curses | |
827 | with_esd | |
828 | with_fontconfig | |
829 | with_freetype | |
830 | with_gphoto | |
831 | with_glu | |
832 | with_gnutls | |
833 | with_hal | |
834 | with_jack | |
835 | with_jpeg | |
836 | with_ldap | |
837 | with_nas | |
838 | with_opengl | |
839 | with_openssl | |
840 | with_oss | |
841 | with_png | |
842 | with_sane | |
843 | with_xcomposite | |
844 | with_xcursor | |
845 | with_xinerama | |
846 | with_xinput | |
847 | with_xml | |
848 | with_xrandr | |
849 | with_xrender | |
850 | with_xshape | |
851 | with_xshm | |
852 | with_xslt | |
853 | with_xxf86vm | |
854 | with_wine_tools | |
855 | with_x | |
856 | ' | |
857 | ac_precious_vars='build_alias | |
fc6ffb29 AJ |
858 | host_alias |
859 | target_alias | |
fc6ffb29 AJ |
860 | CC |
861 | CFLAGS | |
862 | LDFLAGS | |
abf5048b | 863 | LIBS |
fc6ffb29 | 864 | CPPFLAGS |
fc6ffb29 AJ |
865 | CXX |
866 | CXXFLAGS | |
abf5048b | 867 | CCC |
fc6ffb29 AJ |
868 | XMKMF |
869 | CPP' | |
870 | ||
daa2886c | 871 | |
e2991ea7 | 872 | # Initialize some variables set by options. |
f5818d2f AJ |
873 | ac_init_help= |
874 | ac_init_version=false | |
abf5048b AJ |
875 | ac_unrecognized_opts= |
876 | ac_unrecognized_sep= | |
e2991ea7 AJ |
877 | # The variables have the same names as the options, with |
878 | # dashes changed to underlines. | |
f5818d2f | 879 | cache_file=/dev/null |
e2991ea7 | 880 | exec_prefix=NONE |
e2991ea7 | 881 | no_create= |
e2991ea7 AJ |
882 | no_recursion= |
883 | prefix=NONE | |
884 | program_prefix=NONE | |
885 | program_suffix=NONE | |
886 | program_transform_name=s,x,x, | |
887 | silent= | |
888 | site= | |
889 | srcdir= | |
e2991ea7 AJ |
890 | verbose= |
891 | x_includes=NONE | |
892 | x_libraries=NONE | |
f5818d2f AJ |
893 | |
894 | # Installation directory options. | |
895 | # These are left unexpanded so users can "make install exec_prefix=/foo" | |
896 | # and all the variables that are supposed to be based on exec_prefix | |
897 | # by default will actually change. | |
898 | # Use braces instead of parens because sh, perl, etc. also accept them. | |
fc6ffb29 | 899 | # (The list follows the same order as the GNU Coding Standards.) |
d7d4fdf8 AJ |
900 | bindir='${exec_prefix}/bin' |
901 | sbindir='${exec_prefix}/sbin' | |
902 | libexecdir='${exec_prefix}/libexec' | |
fc6ffb29 AJ |
903 | datarootdir='${prefix}/share' |
904 | datadir='${datarootdir}' | |
d7d4fdf8 AJ |
905 | sysconfdir='${prefix}/etc' |
906 | sharedstatedir='${prefix}/com' | |
907 | localstatedir='${prefix}/var' | |
d7d4fdf8 AJ |
908 | includedir='${prefix}/include' |
909 | oldincludedir='/usr/include' | |
fc6ffb29 AJ |
910 | docdir='${datarootdir}/doc/${PACKAGE_TARNAME}' |
911 | infodir='${datarootdir}/info' | |
912 | htmldir='${docdir}' | |
913 | dvidir='${docdir}' | |
914 | pdfdir='${docdir}' | |
915 | psdir='${docdir}' | |
916 | libdir='${exec_prefix}/lib' | |
917 | localedir='${datarootdir}/locale' | |
918 | mandir='${datarootdir}/man' | |
e2991ea7 | 919 | |
e2991ea7 | 920 | ac_prev= |
fc6ffb29 | 921 | ac_dashdash= |
e2991ea7 AJ |
922 | for ac_option |
923 | do | |
e2991ea7 AJ |
924 | # If the previous option needs an argument, assign it. |
925 | if test -n "$ac_prev"; then | |
fc6ffb29 | 926 | eval $ac_prev=\$ac_option |
e2991ea7 AJ |
927 | ac_prev= |
928 | continue | |
929 | fi | |
930 | ||
fc6ffb29 AJ |
931 | case $ac_option in |
932 | *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;; | |
933 | *) ac_optarg=yes ;; | |
934 | esac | |
e2991ea7 AJ |
935 | |
936 | # Accept the important Cygnus configure options, so we can diagnose typos. | |
937 | ||
fc6ffb29 AJ |
938 | case $ac_dashdash$ac_option in |
939 | --) | |
940 | ac_dashdash=yes ;; | |
e2991ea7 | 941 | |
d7d4fdf8 AJ |
942 | -bindir | --bindir | --bindi | --bind | --bin | --bi) |
943 | ac_prev=bindir ;; | |
944 | -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*) | |
f5818d2f | 945 | bindir=$ac_optarg ;; |
d7d4fdf8 AJ |
946 | |
947 | -build | --build | --buil | --bui | --bu) | |
f5818d2f | 948 | ac_prev=build_alias ;; |
d7d4fdf8 | 949 | -build=* | --build=* | --buil=* | --bui=* | --bu=*) |
f5818d2f | 950 | build_alias=$ac_optarg ;; |
e2991ea7 AJ |
951 | |
952 | -cache-file | --cache-file | --cache-fil | --cache-fi \ | |
953 | | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c) | |
954 | ac_prev=cache_file ;; | |
955 | -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \ | |
956 | | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*) | |
f5818d2f AJ |
957 | cache_file=$ac_optarg ;; |
958 | ||
959 | --config-cache | -C) | |
960 | cache_file=config.cache ;; | |
e2991ea7 | 961 | |
fc6ffb29 | 962 | -datadir | --datadir | --datadi | --datad) |
d7d4fdf8 | 963 | ac_prev=datadir ;; |
fc6ffb29 | 964 | -datadir=* | --datadir=* | --datadi=* | --datad=*) |
f5818d2f | 965 | datadir=$ac_optarg ;; |
d7d4fdf8 | 966 | |
fc6ffb29 AJ |
967 | -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \ |
968 | | --dataroo | --dataro | --datar) | |
969 | ac_prev=datarootdir ;; | |
970 | -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \ | |
971 | | --dataroot=* | --dataroo=* | --dataro=* | --datar=*) | |
972 | datarootdir=$ac_optarg ;; | |
973 | ||
e2991ea7 | 974 | -disable-* | --disable-*) |
abf5048b | 975 | ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'` |
e2991ea7 | 976 | # Reject names that are not valid shell variable names. |
abf5048b AJ |
977 | expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && |
978 | { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2 | |
f5818d2f | 979 | { (exit 1); exit 1; }; } |
abf5048b AJ |
980 | ac_useropt_orig=$ac_useropt |
981 | ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` | |
982 | case $ac_user_opts in | |
983 | *" | |
984 | "enable_$ac_useropt" | |
985 | "*) ;; | |
986 | *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig" | |
987 | ac_unrecognized_sep=', ';; | |
988 | esac | |
989 | eval enable_$ac_useropt=no ;; | |
fc6ffb29 AJ |
990 | |
991 | -docdir | --docdir | --docdi | --doc | --do) | |
992 | ac_prev=docdir ;; | |
993 | -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*) | |
994 | docdir=$ac_optarg ;; | |
995 | ||
996 | -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv) | |
997 | ac_prev=dvidir ;; | |
998 | -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*) | |
999 | dvidir=$ac_optarg ;; | |
e2991ea7 AJ |
1000 | |
1001 | -enable-* | --enable-*) | |
abf5048b | 1002 | ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'` |
e2991ea7 | 1003 | # Reject names that are not valid shell variable names. |
abf5048b AJ |
1004 | expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && |
1005 | { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2 | |
f5818d2f | 1006 | { (exit 1); exit 1; }; } |
abf5048b AJ |
1007 | ac_useropt_orig=$ac_useropt |
1008 | ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` | |
1009 | case $ac_user_opts in | |
1010 | *" | |
1011 | "enable_$ac_useropt" | |
1012 | "*) ;; | |
1013 | *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig" | |
1014 | ac_unrecognized_sep=', ';; | |
1015 | esac | |
1016 | eval enable_$ac_useropt=\$ac_optarg ;; | |
e2991ea7 AJ |
1017 | |
1018 | -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \ | |
1019 | | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \ | |
1020 | | --exec | --exe | --ex) | |
1021 | ac_prev=exec_prefix ;; | |
1022 | -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \ | |
1023 | | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \ | |
1024 | | --exec=* | --exe=* | --ex=*) | |
f5818d2f | 1025 | exec_prefix=$ac_optarg ;; |
e2991ea7 AJ |
1026 | |
1027 | -gas | --gas | --ga | --g) | |
1028 | # Obsolete; use --with-gas. | |
1029 | with_gas=yes ;; | |
1030 | ||
f5818d2f AJ |
1031 | -help | --help | --hel | --he | -h) |
1032 | ac_init_help=long ;; | |
1033 | -help=r* | --help=r* | --hel=r* | --he=r* | -hr*) | |
1034 | ac_init_help=recursive ;; | |
1035 | -help=s* | --help=s* | --hel=s* | --he=s* | -hs*) | |
1036 | ac_init_help=short ;; | |
e2991ea7 AJ |
1037 | |
1038 | -host | --host | --hos | --ho) | |
f5818d2f | 1039 | ac_prev=host_alias ;; |
e2991ea7 | 1040 | -host=* | --host=* | --hos=* | --ho=*) |
f5818d2f | 1041 | host_alias=$ac_optarg ;; |
e2991ea7 | 1042 | |
fc6ffb29 AJ |
1043 | -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht) |
1044 | ac_prev=htmldir ;; | |
1045 | -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \ | |
1046 | | --ht=*) | |
1047 | htmldir=$ac_optarg ;; | |
1048 | ||
d7d4fdf8 AJ |
1049 | -includedir | --includedir | --includedi | --included | --include \ |
1050 | | --includ | --inclu | --incl | --inc) | |
1051 | ac_prev=includedir ;; | |
1052 | -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \ | |
1053 | | --includ=* | --inclu=* | --incl=* | --inc=*) | |
f5818d2f | 1054 | includedir=$ac_optarg ;; |
d7d4fdf8 AJ |
1055 | |
1056 | -infodir | --infodir | --infodi | --infod | --info | --inf) | |
1057 | ac_prev=infodir ;; | |
1058 | -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*) | |
f5818d2f | 1059 | infodir=$ac_optarg ;; |
d7d4fdf8 AJ |
1060 | |
1061 | -libdir | --libdir | --libdi | --libd) | |
1062 | ac_prev=libdir ;; | |
1063 | -libdir=* | --libdir=* | --libdi=* | --libd=*) | |
f5818d2f | 1064 | libdir=$ac_optarg ;; |
d7d4fdf8 AJ |
1065 | |
1066 | -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \ | |
1067 | | --libexe | --libex | --libe) | |
1068 | ac_prev=libexecdir ;; | |
1069 | -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \ | |
1070 | | --libexe=* | --libex=* | --libe=*) | |
f5818d2f | 1071 | libexecdir=$ac_optarg ;; |
d7d4fdf8 | 1072 | |
fc6ffb29 AJ |
1073 | -localedir | --localedir | --localedi | --localed | --locale) |
1074 | ac_prev=localedir ;; | |
1075 | -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*) | |
1076 | localedir=$ac_optarg ;; | |
1077 | ||
d7d4fdf8 | 1078 | -localstatedir | --localstatedir | --localstatedi | --localstated \ |
fc6ffb29 | 1079 | | --localstate | --localstat | --localsta | --localst | --locals) |
d7d4fdf8 AJ |
1080 | ac_prev=localstatedir ;; |
1081 | -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \ | |
fc6ffb29 | 1082 | | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*) |
f5818d2f | 1083 | localstatedir=$ac_optarg ;; |
d7d4fdf8 AJ |
1084 | |
1085 | -mandir | --mandir | --mandi | --mand | --man | --ma | --m) | |
1086 | ac_prev=mandir ;; | |
1087 | -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*) | |
f5818d2f | 1088 | mandir=$ac_optarg ;; |
d7d4fdf8 | 1089 | |
e2991ea7 AJ |
1090 | -nfp | --nfp | --nf) |
1091 | # Obsolete; use --without-fp. | |
1092 | with_fp=no ;; | |
1093 | ||
1094 | -no-create | --no-create | --no-creat | --no-crea | --no-cre \ | |
daa2886c | 1095 | | --no-cr | --no-c | -n) |
e2991ea7 AJ |
1096 | no_create=yes ;; |
1097 | ||
1098 | -no-recursion | --no-recursion | --no-recursio | --no-recursi \ | |
1099 | | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) | |
1100 | no_recursion=yes ;; | |
1101 | ||
d7d4fdf8 AJ |
1102 | -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \ |
1103 | | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \ | |
1104 | | --oldin | --oldi | --old | --ol | --o) | |
1105 | ac_prev=oldincludedir ;; | |
1106 | -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \ | |
1107 | | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \ | |
1108 | | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*) | |
f5818d2f | 1109 | oldincludedir=$ac_optarg ;; |
d7d4fdf8 | 1110 | |
e2991ea7 AJ |
1111 | -prefix | --prefix | --prefi | --pref | --pre | --pr | --p) |
1112 | ac_prev=prefix ;; | |
1113 | -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*) | |
f5818d2f | 1114 | prefix=$ac_optarg ;; |
e2991ea7 AJ |
1115 | |
1116 | -program-prefix | --program-prefix | --program-prefi | --program-pref \ | |
1117 | | --program-pre | --program-pr | --program-p) | |
1118 | ac_prev=program_prefix ;; | |
1119 | -program-prefix=* | --program-prefix=* | --program-prefi=* \ | |
1120 | | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*) | |
f5818d2f | 1121 | program_prefix=$ac_optarg ;; |
e2991ea7 AJ |
1122 | |
1123 | -program-suffix | --program-suffix | --program-suffi | --program-suff \ | |
1124 | | --program-suf | --program-su | --program-s) | |
1125 | ac_prev=program_suffix ;; | |
1126 | -program-suffix=* | --program-suffix=* | --program-suffi=* \ | |
1127 | | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*) | |
f5818d2f | 1128 | program_suffix=$ac_optarg ;; |
e2991ea7 AJ |
1129 | |
1130 | -program-transform-name | --program-transform-name \ | |
1131 | | --program-transform-nam | --program-transform-na \ | |
1132 | | --program-transform-n | --program-transform- \ | |
1133 | | --program-transform | --program-transfor \ | |
1134 | | --program-transfo | --program-transf \ | |
1135 | | --program-trans | --program-tran \ | |
1136 | | --progr-tra | --program-tr | --program-t) | |
1137 | ac_prev=program_transform_name ;; | |
1138 | -program-transform-name=* | --program-transform-name=* \ | |
1139 | | --program-transform-nam=* | --program-transform-na=* \ | |
1140 | | --program-transform-n=* | --program-transform-=* \ | |
1141 | | --program-transform=* | --program-transfor=* \ | |
1142 | | --program-transfo=* | --program-transf=* \ | |
1143 | | --program-trans=* | --program-tran=* \ | |
1144 | | --progr-tra=* | --program-tr=* | --program-t=*) | |
f5818d2f | 1145 | program_transform_name=$ac_optarg ;; |
e2991ea7 | 1146 | |
fc6ffb29 AJ |
1147 | -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd) |
1148 | ac_prev=pdfdir ;; | |
1149 | -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*) | |
1150 | pdfdir=$ac_optarg ;; | |
1151 | ||
1152 | -psdir | --psdir | --psdi | --psd | --ps) | |
1153 | ac_prev=psdir ;; | |
1154 | -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*) | |
1155 | psdir=$ac_optarg ;; | |
1156 | ||
e2991ea7 AJ |
1157 | -q | -quiet | --quiet | --quie | --qui | --qu | --q \ |
1158 | | -silent | --silent | --silen | --sile | --sil) | |
1159 | silent=yes ;; | |
1160 | ||
d7d4fdf8 AJ |
1161 | -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb) |
1162 | ac_prev=sbindir ;; | |
1163 | -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \ | |
1164 | | --sbi=* | --sb=*) | |
f5818d2f | 1165 | sbindir=$ac_optarg ;; |
d7d4fdf8 AJ |
1166 | |
1167 | -sharedstatedir | --sharedstatedir | --sharedstatedi \ | |
1168 | | --sharedstated | --sharedstate | --sharedstat | --sharedsta \ | |
1169 | | --sharedst | --shareds | --shared | --share | --shar \ | |
1170 | | --sha | --sh) | |
1171 | ac_prev=sharedstatedir ;; | |
1172 | -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \ | |
1173 | | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \ | |
1174 | | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \ | |
1175 | | --sha=* | --sh=*) | |
f5818d2f | 1176 | sharedstatedir=$ac_optarg ;; |
d7d4fdf8 | 1177 | |
e2991ea7 AJ |
1178 | -site | --site | --sit) |
1179 | ac_prev=site ;; | |
1180 | -site=* | --site=* | --sit=*) | |
f5818d2f | 1181 | site=$ac_optarg ;; |
e2991ea7 AJ |
1182 | |
1183 | -srcdir | --srcdir | --srcdi | --srcd | --src | --sr) | |
1184 | ac_prev=srcdir ;; | |
1185 | -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*) | |
f5818d2f | 1186 | srcdir=$ac_optarg ;; |
e2991ea7 | 1187 | |
d7d4fdf8 AJ |
1188 | -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \ |
1189 | | --syscon | --sysco | --sysc | --sys | --sy) | |
1190 | ac_prev=sysconfdir ;; | |
1191 | -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \ | |
1192 | | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*) | |
f5818d2f | 1193 | sysconfdir=$ac_optarg ;; |
d7d4fdf8 | 1194 | |
e2991ea7 | 1195 | -target | --target | --targe | --targ | --tar | --ta | --t) |
f5818d2f | 1196 | ac_prev=target_alias ;; |
e2991ea7 | 1197 | -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*) |
f5818d2f | 1198 | target_alias=$ac_optarg ;; |
e2991ea7 AJ |
1199 | |
1200 | -v | -verbose | --verbose | --verbos | --verbo | --verb) | |
1201 | verbose=yes ;; | |
1202 | ||
f5818d2f AJ |
1203 | -version | --version | --versio | --versi | --vers | -V) |
1204 | ac_init_version=: ;; | |
e2991ea7 AJ |
1205 | |
1206 | -with-* | --with-*) | |
abf5048b | 1207 | ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'` |
e2991ea7 | 1208 | # Reject names that are not valid shell variable names. |
abf5048b AJ |
1209 | expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && |
1210 | { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2 | |
f5818d2f | 1211 | { (exit 1); exit 1; }; } |
abf5048b AJ |
1212 | ac_useropt_orig=$ac_useropt |
1213 | ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` | |
1214 | case $ac_user_opts in | |
1215 | *" | |
1216 | "with_$ac_useropt" | |
1217 | "*) ;; | |
1218 | *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig" | |
1219 | ac_unrecognized_sep=', ';; | |
1220 | esac | |
1221 | eval with_$ac_useropt=\$ac_optarg ;; | |
e2991ea7 AJ |
1222 | |
1223 | -without-* | --without-*) | |
abf5048b | 1224 | ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'` |
e2991ea7 | 1225 | # Reject names that are not valid shell variable names. |
abf5048b AJ |
1226 | expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && |
1227 | { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2 | |
f5818d2f | 1228 | { (exit 1); exit 1; }; } |
abf5048b AJ |
1229 | ac_useropt_orig=$ac_useropt |
1230 | ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` | |
1231 | case $ac_user_opts in | |
1232 | *" | |
1233 | "with_$ac_useropt" | |
1234 | "*) ;; | |
1235 | *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig" | |
1236 | ac_unrecognized_sep=', ';; | |
1237 | esac | |
1238 | eval with_$ac_useropt=no ;; | |
e2991ea7 AJ |
1239 | |
1240 | --x) | |
1241 | # Obsolete; use --with-x. | |
1242 | with_x=yes ;; | |
1243 | ||
1244 | -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \ | |
1245 | | --x-incl | --x-inc | --x-in | --x-i) | |
1246 | ac_prev=x_includes ;; | |
1247 | -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \ | |
1248 | | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*) | |
f5818d2f | 1249 | x_includes=$ac_optarg ;; |
e2991ea7 AJ |
1250 | |
1251 | -x-libraries | --x-libraries | --x-librarie | --x-librari \ | |
1252 | | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l) | |
1253 | ac_prev=x_libraries ;; | |
1254 | -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \ | |
1255 | | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*) | |
f5818d2f | 1256 | x_libraries=$ac_optarg ;; |
e2991ea7 | 1257 | |
abf5048b | 1258 | -*) { $as_echo "$as_me: error: unrecognized option: $ac_option |
f5818d2f AJ |
1259 | Try \`$0 --help' for more information." >&2 |
1260 | { (exit 1); exit 1; }; } | |
e2991ea7 AJ |
1261 | ;; |
1262 | ||
f5818d2f AJ |
1263 | *=*) |
1264 | ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='` | |
1265 | # Reject names that are not valid shell variable names. | |
1266 | expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null && | |
abf5048b | 1267 | { $as_echo "$as_me: error: invalid variable name: $ac_envvar" >&2 |
f5818d2f | 1268 | { (exit 1); exit 1; }; } |
fc6ffb29 | 1269 | eval $ac_envvar=\$ac_optarg |
f5818d2f AJ |
1270 | export $ac_envvar ;; |
1271 | ||
d7d4fdf8 | 1272 | *) |
f5818d2f | 1273 | # FIXME: should be removed in autoconf 3.0. |
abf5048b | 1274 | $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2 |
f5818d2f | 1275 | expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null && |
abf5048b | 1276 | $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2 |
f5818d2f | 1277 | : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option} |
e2991ea7 AJ |
1278 | ;; |
1279 | ||
1280 | esac | |
1281 | done | |
1282 | ||
1283 | if test -n "$ac_prev"; then | |
f5818d2f | 1284 | ac_option=--`echo $ac_prev | sed 's/_/-/g'` |
abf5048b | 1285 | { $as_echo "$as_me: error: missing argument to $ac_option" >&2 |
f5818d2f | 1286 | { (exit 1); exit 1; }; } |
e2991ea7 | 1287 | fi |
e2991ea7 | 1288 | |
abf5048b AJ |
1289 | if test -n "$ac_unrecognized_opts"; then |
1290 | case $enable_option_checking in | |
1291 | no) ;; | |
1292 | fatal) { $as_echo "$as_me: error: unrecognized options: $ac_unrecognized_opts" >&2 | |
1293 | { (exit 1); exit 1; }; } ;; | |
1294 | *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;; | |
1295 | esac | |
1296 | fi | |
1297 | ||
1298 | # Check all directory arguments for consistency. | |
fc6ffb29 AJ |
1299 | for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \ |
1300 | datadir sysconfdir sharedstatedir localstatedir includedir \ | |
1301 | oldincludedir docdir infodir htmldir dvidir pdfdir psdir \ | |
1302 | libdir localedir mandir | |
e2991ea7 | 1303 | do |
fc6ffb29 | 1304 | eval ac_val=\$$ac_var |
abf5048b AJ |
1305 | # Remove trailing slashes. |
1306 | case $ac_val in | |
1307 | */ ) | |
1308 | ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'` | |
1309 | eval $ac_var=\$ac_val;; | |
1310 | esac | |
1311 | # Be sure to have absolute directory names. | |
f5818d2f | 1312 | case $ac_val in |
fc6ffb29 AJ |
1313 | [\\/$]* | ?:[\\/]* ) continue;; |
1314 | NONE | '' ) case $ac_var in *prefix ) continue;; esac;; | |
e2991ea7 | 1315 | esac |
abf5048b | 1316 | { $as_echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2 |
fc6ffb29 | 1317 | { (exit 1); exit 1; }; } |
e2991ea7 AJ |
1318 | done |
1319 | ||
f5818d2f AJ |
1320 | # There might be people who depend on the old broken behavior: `$host' |
1321 | # used to hold the argument of --host etc. | |
daa2886c | 1322 | # FIXME: To remove some day. |
f5818d2f AJ |
1323 | build=$build_alias |
1324 | host=$host_alias | |
1325 | target=$target_alias | |
1326 | ||
daa2886c | 1327 | # FIXME: To remove some day. |
f5818d2f AJ |
1328 | if test "x$host_alias" != x; then |
1329 | if test "x$build_alias" = x; then | |
1330 | cross_compiling=maybe | |
abf5048b | 1331 | $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host. |
f5818d2f AJ |
1332 | If a cross compiler is detected then cross compile mode will be used." >&2 |
1333 | elif test "x$build_alias" != "x$host_alias"; then | |
1334 | cross_compiling=yes | |
1335 | fi | |
1336 | fi | |
e2991ea7 | 1337 | |
f5818d2f AJ |
1338 | ac_tool_prefix= |
1339 | test -n "$host_alias" && ac_tool_prefix=$host_alias- | |
e2991ea7 | 1340 | |
f5818d2f | 1341 | test "$silent" = yes && exec 6>/dev/null |
e2991ea7 | 1342 | |
daa2886c | 1343 | |
fc6ffb29 AJ |
1344 | ac_pwd=`pwd` && test -n "$ac_pwd" && |
1345 | ac_ls_di=`ls -di .` && | |
1346 | ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` || | |
abf5048b | 1347 | { $as_echo "$as_me: error: working directory cannot be determined" >&2 |
fc6ffb29 AJ |
1348 | { (exit 1); exit 1; }; } |
1349 | test "X$ac_ls_di" = "X$ac_pwd_ls_di" || | |
abf5048b | 1350 | { $as_echo "$as_me: error: pwd does not report name of working directory" >&2 |
fc6ffb29 AJ |
1351 | { (exit 1); exit 1; }; } |
1352 | ||
1353 | ||
e2991ea7 AJ |
1354 | # Find the source files, if location was not specified. |
1355 | if test -z "$srcdir"; then | |
1356 | ac_srcdir_defaulted=yes | |
fc6ffb29 | 1357 | # Try the directory containing this script, then the parent directory. |
abf5048b AJ |
1358 | ac_confdir=`$as_dirname -- "$as_myself" || |
1359 | $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ | |
1360 | X"$as_myself" : 'X\(//\)[^/]' \| \ | |
1361 | X"$as_myself" : 'X\(//\)$' \| \ | |
1362 | X"$as_myself" : 'X\(/\)' \| . 2>/dev/null || | |
1363 | $as_echo X"$as_myself" | | |
fc6ffb29 AJ |
1364 | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ |
1365 | s//\1/ | |
1366 | q | |
1367 | } | |
1368 | /^X\(\/\/\)[^/].*/{ | |
1369 | s//\1/ | |
1370 | q | |
1371 | } | |
1372 | /^X\(\/\/\)$/{ | |
1373 | s//\1/ | |
1374 | q | |
1375 | } | |
1376 | /^X\(\/\).*/{ | |
1377 | s//\1/ | |
1378 | q | |
1379 | } | |
1380 | s/.*/./; q'` | |
e2991ea7 | 1381 | srcdir=$ac_confdir |
fc6ffb29 | 1382 | if test ! -r "$srcdir/$ac_unique_file"; then |
e2991ea7 AJ |
1383 | srcdir=.. |
1384 | fi | |
1385 | else | |
1386 | ac_srcdir_defaulted=no | |
1387 | fi | |
fc6ffb29 AJ |
1388 | if test ! -r "$srcdir/$ac_unique_file"; then |
1389 | test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .." | |
abf5048b | 1390 | { $as_echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2 |
f5818d2f | 1391 | { (exit 1); exit 1; }; } |
e2991ea7 | 1392 | fi |
fc6ffb29 AJ |
1393 | ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work" |
1394 | ac_abs_confdir=`( | |
abf5048b | 1395 | cd "$srcdir" && test -r "./$ac_unique_file" || { $as_echo "$as_me: error: $ac_msg" >&2 |
11af04e3 | 1396 | { (exit 1); exit 1; }; } |
fc6ffb29 AJ |
1397 | pwd)` |
1398 | # When building in place, set srcdir=. | |
1399 | if test "$ac_abs_confdir" = "$ac_pwd"; then | |
1400 | srcdir=. | |
1401 | fi | |
1402 | # Remove unnecessary trailing slashes from srcdir. | |
1403 | # Double slashes in file names in object file debugging info | |
1404 | # mess up M-x gdb in Emacs. | |
1405 | case $srcdir in | |
1406 | */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;; | |
1407 | esac | |
1408 | for ac_var in $ac_precious_vars; do | |
1409 | eval ac_env_${ac_var}_set=\${${ac_var}+set} | |
1410 | eval ac_env_${ac_var}_value=\$${ac_var} | |
1411 | eval ac_cv_env_${ac_var}_set=\${${ac_var}+set} | |
1412 | eval ac_cv_env_${ac_var}_value=\$${ac_var} | |
1413 | done | |
f5818d2f AJ |
1414 | |
1415 | # | |
1416 | # Report the --help message. | |
1417 | # | |
1418 | if test "$ac_init_help" = "long"; then | |
1419 | # Omit some internal or obsolete options to make the list less imposing. | |
1420 | # This message is too long to be a string in the A/UX 3.1 sh. | |
daa2886c | 1421 | cat <<_ACEOF |
12c80905 | 1422 | \`configure' configures Wine 1.1.9 to adapt to many kinds of systems. |
f5818d2f AJ |
1423 | |
1424 | Usage: $0 [OPTION]... [VAR=VALUE]... | |
1425 | ||
1426 | To assign environment variables (e.g., CC, CFLAGS...), specify them as | |
1427 | VAR=VALUE. See below for descriptions of some of the useful variables. | |
1428 | ||
1429 | Defaults for the options are specified in brackets. | |
1430 | ||
1431 | Configuration: | |
1432 | -h, --help display this help and exit | |
1433 | --help=short display options specific to this package | |
1434 | --help=recursive display the short help of all the included packages | |
1435 | -V, --version display version information and exit | |
1436 | -q, --quiet, --silent do not print \`checking...' messages | |
1437 | --cache-file=FILE cache test results in FILE [disabled] | |
1438 | -C, --config-cache alias for \`--cache-file=config.cache' | |
1439 | -n, --no-create do not create output files | |
1440 | --srcdir=DIR find the sources in DIR [configure dir or \`..'] | |
1441 | ||
f5818d2f AJ |
1442 | Installation directories: |
1443 | --prefix=PREFIX install architecture-independent files in PREFIX | |
abf5048b | 1444 | [$ac_default_prefix] |
f5818d2f | 1445 | --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX |
abf5048b | 1446 | [PREFIX] |
f5818d2f AJ |
1447 | |
1448 | By default, \`make install' will install all the files in | |
1449 | \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify | |
1450 | an installation prefix other than \`$ac_default_prefix' using \`--prefix', | |
1451 | for instance \`--prefix=\$HOME'. | |
1452 | ||
1453 | For better control, use the options below. | |
1454 | ||
1455 | Fine tuning of the installation directories: | |
abf5048b AJ |
1456 | --bindir=DIR user executables [EPREFIX/bin] |
1457 | --sbindir=DIR system admin executables [EPREFIX/sbin] | |
1458 | --libexecdir=DIR program executables [EPREFIX/libexec] | |
1459 | --sysconfdir=DIR read-only single-machine data [PREFIX/etc] | |
1460 | --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com] | |
1461 | --localstatedir=DIR modifiable single-machine data [PREFIX/var] | |
1462 | --libdir=DIR object code libraries [EPREFIX/lib] | |
1463 | --includedir=DIR C header files [PREFIX/include] | |
1464 | --oldincludedir=DIR C header files for non-gcc [/usr/include] | |
1465 | --datarootdir=DIR read-only arch.-independent data root [PREFIX/share] | |
1466 | --datadir=DIR read-only architecture-independent data [DATAROOTDIR] | |
1467 | --infodir=DIR info documentation [DATAROOTDIR/info] | |
1468 | --localedir=DIR locale-dependent data [DATAROOTDIR/locale] | |
1469 | --mandir=DIR man documentation [DATAROOTDIR/man] | |
1470 | --docdir=DIR documentation root [DATAROOTDIR/doc/wine] | |
1471 | --htmldir=DIR html documentation [DOCDIR] | |
1472 | --dvidir=DIR dvi documentation [DOCDIR] | |
1473 | --pdfdir=DIR pdf documentation [DOCDIR] | |
1474 | --psdir=DIR ps documentation [DOCDIR] | |
daa2886c | 1475 | _ACEOF |
f5818d2f | 1476 | |
daa2886c | 1477 | cat <<\_ACEOF |
f5818d2f AJ |
1478 | |
1479 | X features: | |
1480 | --x-includes=DIR X include files are in DIR | |
1481 | --x-libraries=DIR X library files are in DIR | |
1482 | ||
1483 | System types: | |
1484 | --build=BUILD configure for building on BUILD [guessed] | |
daa2886c | 1485 | --host=HOST cross-compile to build programs to run on HOST [BUILD] |
daa2886c | 1486 | _ACEOF |
f5818d2f AJ |
1487 | fi |
1488 | ||
1489 | if test -n "$ac_init_help"; then | |
1490 | case $ac_init_help in | |
12c80905 | 1491 | short | recursive ) echo "Configuration of Wine 1.1.9:";; |
f5818d2f | 1492 | esac |
daa2886c | 1493 | cat <<\_ACEOF |
f5818d2f AJ |
1494 | |
1495 | Optional Features: | |
abf5048b | 1496 | --disable-option-checking ignore unrecognized --enable/--with options |
f5818d2f AJ |
1497 | --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no) |
1498 | --enable-FEATURE[=ARG] include FEATURE [ARG=yes] | |
53fa0d54 | 1499 | --disable-win16 do not include Win16 support |
2aa8e871 AJ |
1500 | --enable-win64 build a Win64 emulator on AMD64 (won't run Win32 |
1501 | binaries) | |
35078f4b | 1502 | --disable-tests do not build the regression tests |
9d037226 AJ |
1503 | --enable-maintainer-mode |
1504 | enable maintainer-specific build rules | |
f5818d2f AJ |
1505 | |
1506 | Optional Packages: | |
1507 | --with-PACKAGE[=ARG] use PACKAGE [ARG=yes] | |
1508 | --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no) | |
a41f0f1b AJ |
1509 | --without-alsa do not use the Alsa sound support |
1510 | --without-audioio do not use the AudioIO sound support | |
1511 | --without-capi do not use CAPI (ISDN support) | |
1512 | --without-cms do not use CMS (color management support) | |
1513 | --without-coreaudio do not use the CoreAudio sound support | |
1514 | --without-cups do not use CUPS | |
1515 | --without-curses do not use (n)curses | |
1516 | --without-esd do not use the EsounD sound support | |
1517 | --without-fontconfig do not use fontconfig | |
a20c0e12 | 1518 | --without-freetype do not use the FreeType library |
a41f0f1b | 1519 | --without-gphoto do not use gphoto (Digital Camera support) |
ad798735 | 1520 | --without-glu do not use the GLU library |
874c9ef6 | 1521 | --without-gnutls do not use GnuTLS (schannel support) |
a41f0f1b AJ |
1522 | --without-hal do not use HAL (dynamic device support) |
1523 | --without-jack do not use the Jack sound support | |
1524 | --without-jpeg do not use JPEG | |
1525 | --without-ldap do not use LDAP | |
1526 | --without-nas do not use the NAS sound support | |
53fa0d54 | 1527 | --without-opengl do not use OpenGL |
a41f0f1b AJ |
1528 | --without-openssl do not use OpenSSL |
1529 | --without-oss do not use the OSS sound support | |
1530 | --without-png do not use PNG | |
1531 | --without-sane do not use SANE (scanner support) | |
1532 | --without-xcomposite do not use the Xcomposite extension | |
1533 | --without-xcursor do not use the Xcursor extension | |
1534 | --without-xinerama do not use Xinerama (multi-monitor support) | |
1535 | --without-xinput do not use the Xinput extension | |
1536 | --without-xml do not use XML | |
1537 | --without-xrandr do not use Xrandr (resolution changes) | |
1538 | --without-xrender do not use the Xrender extension | |
1539 | --without-xshape do not use the Xshape extension | |
1540 | --without-xshm do not use XShm (shared memory extension) | |
1541 | --without-xslt do not use XSLT | |
a49beb4c | 1542 | --without-xxf86vm do not use XFree video mode extension |
a41f0f1b | 1543 | --with-wine-tools=DIR use Wine tools from directory DIR |
f5818d2f AJ |
1544 | --with-x use the X Window System |
1545 | ||
1546 | Some influential environment variables: | |
53fa0d54 EP |
1547 | CC C compiler command |
1548 | CFLAGS C compiler flags | |
1549 | LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a | |
1550 | nonstandard directory <lib dir> | |
dc9f3843 | 1551 | LIBS libraries to pass to the linker, e.g. -l<library> |
fc6ffb29 AJ |
1552 | CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if |
1553 | you have headers in a nonstandard directory <include dir> | |
f41c2b21 DP |
1554 | CXX C++ compiler command |
1555 | CXXFLAGS C++ compiler flags | |
fc6ffb29 | 1556 | XMKMF Path to xmkmf, Makefile generator for X Window System |
53fa0d54 | 1557 | CPP C preprocessor |
f5818d2f AJ |
1558 | |
1559 | Use these variables to override the choices made by `configure' or to help | |
1560 | it to find libraries and programs with nonstandard names/locations. | |
1561 | ||
875927f6 | 1562 | Report bugs to <wine-devel@winehq.org>. |
daa2886c | 1563 | _ACEOF |
fc6ffb29 | 1564 | ac_status=$? |
f5818d2f AJ |
1565 | fi |
1566 | ||
1567 | if test "$ac_init_help" = "recursive"; then | |
1568 | # If there are subdirs, report their specific --help. | |
daa2886c | 1569 | for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue |
abf5048b AJ |
1570 | test -d "$ac_dir" || |
1571 | { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } || | |
1572 | continue | |
daa2886c AJ |
1573 | ac_builddir=. |
1574 | ||
fc6ffb29 AJ |
1575 | case "$ac_dir" in |
1576 | .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; | |
1577 | *) | |
abf5048b | 1578 | ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` |
fc6ffb29 | 1579 | # A ".." for each directory in $ac_dir_suffix. |
abf5048b | 1580 | ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` |
fc6ffb29 AJ |
1581 | case $ac_top_builddir_sub in |
1582 | "") ac_top_builddir_sub=. ac_top_build_prefix= ;; | |
1583 | *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; | |
1584 | esac ;; | |
1585 | esac | |
1586 | ac_abs_top_builddir=$ac_pwd | |
1587 | ac_abs_builddir=$ac_pwd$ac_dir_suffix | |
1588 | # for backward compatibility: | |
1589 | ac_top_builddir=$ac_top_build_prefix | |
f5818d2f | 1590 | |
daa2886c | 1591 | case $srcdir in |
fc6ffb29 | 1592 | .) # We are building in place. |
daa2886c | 1593 | ac_srcdir=. |
fc6ffb29 AJ |
1594 | ac_top_srcdir=$ac_top_builddir_sub |
1595 | ac_abs_top_srcdir=$ac_pwd ;; | |
1596 | [\\/]* | ?:[\\/]* ) # Absolute name. | |
daa2886c | 1597 | ac_srcdir=$srcdir$ac_dir_suffix; |
fc6ffb29 AJ |
1598 | ac_top_srcdir=$srcdir |
1599 | ac_abs_top_srcdir=$srcdir ;; | |
1600 | *) # Relative name. | |
1601 | ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix | |
1602 | ac_top_srcdir=$ac_top_build_prefix$srcdir | |
1603 | ac_abs_top_srcdir=$ac_pwd/$srcdir ;; | |
875927f6 | 1604 | esac |
fc6ffb29 | 1605 | ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix |
daa2886c | 1606 | |
fc6ffb29 AJ |
1607 | cd "$ac_dir" || { ac_status=$?; continue; } |
1608 | # Check for guested configure. | |
0ebeb530 | 1609 | if test -f "$ac_srcdir/configure.gnu"; then |
fc6ffb29 | 1610 | echo && |
0ebeb530 JW |
1611 | $SHELL "$ac_srcdir/configure.gnu" --help=recursive |
1612 | elif test -f "$ac_srcdir/configure"; then | |
fc6ffb29 | 1613 | echo && |
0ebeb530 | 1614 | $SHELL "$ac_srcdir/configure" --help=recursive |
f5818d2f | 1615 | else |
abf5048b | 1616 | $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2 |
fc6ffb29 AJ |
1617 | fi || ac_status=$? |
1618 | cd "$ac_pwd" || { ac_status=$?; break; } | |
f5818d2f AJ |
1619 | done |
1620 | fi | |
e2991ea7 | 1621 | |
fc6ffb29 | 1622 | test -n "$ac_init_help" && exit $ac_status |
f5818d2f | 1623 | if $ac_init_version; then |
daa2886c | 1624 | cat <<\_ACEOF |
12c80905 | 1625 | Wine configure 1.1.9 |
abf5048b | 1626 | generated by GNU Autoconf 2.63 |
f5818d2f | 1627 | |
fc6ffb29 | 1628 | Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, |
abf5048b | 1629 | 2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc. |
f5818d2f AJ |
1630 | This configure script is free software; the Free Software Foundation |
1631 | gives unlimited permission to copy, distribute and modify it. | |
daa2886c | 1632 | _ACEOF |
fc6ffb29 | 1633 | exit |
f5818d2f | 1634 | fi |
fc6ffb29 | 1635 | cat >config.log <<_ACEOF |
f5818d2f AJ |
1636 | This file contains any messages produced by compilers while |
1637 | running configure, to aid debugging if configure makes a mistake. | |
1638 | ||
12c80905 | 1639 | It was created by Wine $as_me 1.1.9, which was |
abf5048b | 1640 | generated by GNU Autoconf 2.63. Invocation command line was |
f5818d2f AJ |
1641 | |
1642 | $ $0 $@ | |
1643 | ||
daa2886c | 1644 | _ACEOF |
fc6ffb29 | 1645 | exec 5>>config.log |
f5818d2f AJ |
1646 | { |
1647 | cat <<_ASUNAME | |
daa2886c AJ |
1648 | ## --------- ## |
1649 | ## Platform. ## | |
1650 | ## --------- ## | |
f5818d2f AJ |
1651 | |
1652 | hostname = `(hostname || uname -n) 2>/dev/null | sed 1q` | |
1653 | uname -m = `(uname -m) 2>/dev/null || echo unknown` | |
1654 | uname -r = `(uname -r) 2>/dev/null || echo unknown` | |
1655 | uname -s = `(uname -s) 2>/dev/null || echo unknown` | |
1656 | uname -v = `(uname -v) 2>/dev/null || echo unknown` | |
1657 | ||
1658 | /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown` | |
1659 | /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown` | |
1660 | ||
1661 | /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown` | |
1662 | /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown` | |
1663 | /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown` | |
fc6ffb29 | 1664 | /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown` |
f5818d2f AJ |
1665 | /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown` |
1666 | /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown` | |
1667 | /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown` | |
1668 | ||
f5818d2f | 1669 | _ASUNAME |
daa2886c AJ |
1670 | |
1671 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | |
1672 | for as_dir in $PATH | |
1673 | do | |
1674 | IFS=$as_save_IFS | |
1675 | test -z "$as_dir" && as_dir=. | |
abf5048b | 1676 | $as_echo "PATH: $as_dir" |
daa2886c | 1677 | done |
fc6ffb29 | 1678 | IFS=$as_save_IFS |
daa2886c | 1679 | |
f5818d2f AJ |
1680 | } >&5 |
1681 | ||
daa2886c AJ |
1682 | cat >&5 <<_ACEOF |
1683 | ||
1684 | ||
1685 | ## ----------- ## | |
1686 | ## Core tests. ## | |
1687 | ## ----------- ## | |
1688 | ||
1689 | _ACEOF | |
f5818d2f | 1690 | |
f5818d2f AJ |
1691 | |
1692 | # Keep a trace of the command line. | |
1693 | # Strip out --no-create and --no-recursion so they do not pile up. | |
e24bcc77 | 1694 | # Strip out --silent because we don't want to record it for future runs. |
f5818d2f | 1695 | # Also quote any args containing shell meta-characters. |
e24bcc77 | 1696 | # Make two passes to allow for proper duplicate-argument suppression. |
f5818d2f | 1697 | ac_configure_args= |
e24bcc77 AJ |
1698 | ac_configure_args0= |
1699 | ac_configure_args1= | |
e24bcc77 AJ |
1700 | ac_must_keep_next=false |
1701 | for ac_pass in 1 2 | |
f5818d2f | 1702 | do |
e24bcc77 AJ |
1703 | for ac_arg |
1704 | do | |
1705 | case $ac_arg in | |
1706 | -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;; | |
1707 | -q | -quiet | --quiet | --quie | --qui | --qu | --q \ | |
1708 | | -silent | --silent | --silen | --sile | --sil) | |
1709 | continue ;; | |
fc6ffb29 | 1710 | *\'*) |
abf5048b | 1711 | ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; |
e24bcc77 AJ |
1712 | esac |
1713 | case $ac_pass in | |
1714 | 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;; | |
1715 | 2) | |
1716 | ac_configure_args1="$ac_configure_args1 '$ac_arg'" | |
1717 | if test $ac_must_keep_next = true; then | |
875927f6 | 1718 | ac_must_keep_next=false # Got value, back to normal. |
e24bcc77 | 1719 | else |
875927f6 AJ |
1720 | case $ac_arg in |
1721 | *=* | --config-cache | -C | -disable-* | --disable-* \ | |
1722 | | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \ | |
1723 | | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \ | |
1724 | | -with-* | --with-* | -without-* | --without-* | --x) | |
1725 | case "$ac_configure_args0 " in | |
1726 | "$ac_configure_args1"*" '$ac_arg' "* ) continue ;; | |
1727 | esac | |
1728 | ;; | |
1729 | -* ) ac_must_keep_next=true ;; | |
1730 | esac | |
e24bcc77 | 1731 | fi |
0ebeb530 | 1732 | ac_configure_args="$ac_configure_args '$ac_arg'" |
e24bcc77 AJ |
1733 | ;; |
1734 | esac | |
1735 | done | |
f5818d2f | 1736 | done |
e24bcc77 AJ |
1737 | $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; } |
1738 | $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; } | |
f5818d2f AJ |
1739 | |
1740 | # When interrupted or exit'd, cleanup temporary files, and complete | |
1741 | # config.log. We remove comments because anyway the quotes in there | |
1742 | # would cause problems or look ugly. | |
fc6ffb29 AJ |
1743 | # WARNING: Use '\'' to represent an apostrophe within the trap. |
1744 | # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug. | |
f5818d2f AJ |
1745 | trap 'exit_status=$? |
1746 | # Save into config.log some information that might help in debugging. | |
daa2886c AJ |
1747 | { |
1748 | echo | |
11af04e3 | 1749 | |
daa2886c AJ |
1750 | cat <<\_ASBOX |
1751 | ## ---------------- ## | |
1752 | ## Cache variables. ## | |
1753 | ## ---------------- ## | |
1754 | _ASBOX | |
1755 | echo | |
1756 | # The following way of writing the cache mishandles newlines in values, | |
fc6ffb29 AJ |
1757 | ( |
1758 | for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do | |
1759 | eval ac_val=\$$ac_var | |
1760 | case $ac_val in #( | |
1761 | *${as_nl}*) | |
1762 | case $ac_var in #( | |
abf5048b AJ |
1763 | *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: cache variable $ac_var contains a newline" >&5 |
1764 | $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; | |
fc6ffb29 AJ |
1765 | esac |
1766 | case $ac_var in #( | |
1767 | _ | IFS | as_nl) ;; #( | |
abf5048b | 1768 | BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( |
fc6ffb29 AJ |
1769 | *) $as_unset $ac_var ;; |
1770 | esac ;; | |
1771 | esac | |
1772 | done | |
f5818d2f | 1773 | (set) 2>&1 | |
fc6ffb29 AJ |
1774 | case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #( |
1775 | *${as_nl}ac_space=\ *) | |
f5818d2f | 1776 | sed -n \ |
fc6ffb29 AJ |
1777 | "s/'\''/'\''\\\\'\'''\''/g; |
1778 | s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p" | |
1779 | ;; #( | |
f5818d2f | 1780 | *) |
fc6ffb29 | 1781 | sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" |
f5818d2f | 1782 | ;; |
fc6ffb29 AJ |
1783 | esac | |
1784 | sort | |
1785 | ) | |
daa2886c | 1786 | echo |
11af04e3 AJ |
1787 | |
1788 | cat <<\_ASBOX | |
1789 | ## ----------------- ## | |
1790 | ## Output variables. ## | |
1791 | ## ----------------- ## | |
1792 | _ASBOX | |
1793 | echo | |
1794 | for ac_var in $ac_subst_vars | |
1795 | do | |
fc6ffb29 | 1796 | eval ac_val=\$$ac_var |
0ebeb530 | 1797 | case $ac_val in |
abf5048b | 1798 | *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; |
0ebeb530 | 1799 | esac |
abf5048b | 1800 | $as_echo "$ac_var='\''$ac_val'\''" |
11af04e3 AJ |
1801 | done | sort |
1802 | echo | |
1803 | ||
1804 | if test -n "$ac_subst_files"; then | |
1805 | cat <<\_ASBOX | |
fc6ffb29 AJ |
1806 | ## ------------------- ## |
1807 | ## File substitutions. ## | |
1808 | ## ------------------- ## | |
11af04e3 AJ |
1809 | _ASBOX |
1810 | echo | |
1811 | for ac_var in $ac_subst_files | |
1812 | do | |
fc6ffb29 | 1813 | eval ac_val=\$$ac_var |
0ebeb530 | 1814 | case $ac_val in |
abf5048b | 1815 | *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; |
0ebeb530 | 1816 | esac |
abf5048b | 1817 | $as_echo "$ac_var='\''$ac_val'\''" |
11af04e3 AJ |
1818 | done | sort |
1819 | echo | |
1820 | fi | |
1821 | ||
daa2886c AJ |
1822 | if test -s confdefs.h; then |
1823 | cat <<\_ASBOX | |
1824 | ## ----------- ## | |
1825 | ## confdefs.h. ## | |
1826 | ## ----------- ## | |
1827 | _ASBOX | |
1828 | echo | |
fc6ffb29 | 1829 | cat confdefs.h |
daa2886c AJ |
1830 | echo |
1831 | fi | |
1832 | test "$ac_signal" != 0 && | |
abf5048b AJ |
1833 | $as_echo "$as_me: caught signal $ac_signal" |
1834 | $as_echo "$as_me: exit $exit_status" | |
daa2886c | 1835 | } >&5 |
fc6ffb29 AJ |
1836 | rm -f core *.core core.conftest.* && |
1837 | rm -f -r conftest* confdefs* conf$$* $ac_clean_files && | |
f5818d2f | 1838 | exit $exit_status |
fc6ffb29 | 1839 | ' 0 |
f5818d2f AJ |
1840 | for ac_signal in 1 2 13 15; do |
1841 | trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal | |
1842 | done | |
1843 | ac_signal=0 | |
1844 | ||
1845 | # confdefs.h avoids OS command line length limits that DEFS can exceed. | |
fc6ffb29 | 1846 | rm -f -r conftest* confdefs.h |
f5818d2f | 1847 | |
daa2886c AJ |
1848 | # Predefined preprocessor variables. |
1849 | ||
1850 | cat >>confdefs.h <<_ACEOF | |
1851 | #define PACKAGE_NAME "$PACKAGE_NAME" | |
1852 | _ACEOF | |
1853 | ||
1854 | ||
1855 | cat >>confdefs.h <<_ACEOF | |
1856 | #define PACKAGE_TARNAME "$PACKAGE_TARNAME" | |
1857 | _ACEOF | |
1858 | ||
1859 | ||
1860 | cat >>confdefs.h <<_ACEOF | |
1861 | #define PACKAGE_VERSION "$PACKAGE_VERSION" | |
1862 | _ACEOF | |
1863 | ||
1864 | ||
1865 | cat >>confdefs.h <<_ACEOF | |
1866 | #define PACKAGE_STRING "$PACKAGE_STRING" | |
1867 | _ACEOF | |
1868 | ||
1869 | ||
1870 | cat >>confdefs.h <<_ACEOF | |
1871 | #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT" | |
1872 | _ACEOF | |
1873 | ||
1874 | ||
f5818d2f | 1875 | # Let the site file select an alternate cache file if it wants to. |
abf5048b AJ |
1876 | # Prefer an explicitly selected file to automatically selected ones. |
1877 | ac_site_file1=NONE | |
1878 | ac_site_file2=NONE | |
fc6ffb29 | 1879 | if test -n "$CONFIG_SITE"; then |
abf5048b | 1880 | ac_site_file1=$CONFIG_SITE |
fc6ffb29 | 1881 | elif test "x$prefix" != xNONE; then |
abf5048b AJ |
1882 | ac_site_file1=$prefix/share/config.site |
1883 | ac_site_file2=$prefix/etc/config.site | |
fc6ffb29 | 1884 | else |
abf5048b AJ |
1885 | ac_site_file1=$ac_default_prefix/share/config.site |
1886 | ac_site_file2=$ac_default_prefix/etc/config.site | |
e2991ea7 | 1887 | fi |
abf5048b | 1888 | for ac_site_file in "$ac_site_file1" "$ac_site_file2" |
fc6ffb29 | 1889 | do |
abf5048b | 1890 | test "x$ac_site_file" = xNONE && continue |
e2991ea7 | 1891 | if test -r "$ac_site_file"; then |
abf5048b AJ |
1892 | { $as_echo "$as_me:$LINENO: loading site script $ac_site_file" >&5 |
1893 | $as_echo "$as_me: loading site script $ac_site_file" >&6;} | |
daa2886c | 1894 | sed 's/^/| /' "$ac_site_file" >&5 |
e2991ea7 AJ |
1895 | . "$ac_site_file" |
1896 | fi | |
1897 | done | |
1898 | ||
1899 | if test -r "$cache_file"; then | |
f5818d2f AJ |
1900 | # Some versions of bash will fail to source /dev/null (special |
1901 | # files actually), so we avoid doing that. | |
1902 | if test -f "$cache_file"; then | |
abf5048b AJ |
1903 | { $as_echo "$as_me:$LINENO: loading cache $cache_file" >&5 |
1904 | $as_echo "$as_me: loading cache $cache_file" >&6;} | |
f5818d2f | 1905 | case $cache_file in |
0ebeb530 JW |
1906 | [\\/]* | ?:[\\/]* ) . "$cache_file";; |
1907 | *) . "./$cache_file";; | |
f5818d2f AJ |
1908 | esac |
1909 | fi | |
e2991ea7 | 1910 | else |
abf5048b AJ |
1911 | { $as_echo "$as_me:$LINENO: creating cache $cache_file" >&5 |
1912 | $as_echo "$as_me: creating cache $cache_file" >&6;} | |
f5818d2f AJ |
1913 | >$cache_file |
1914 | fi | |
1915 | ||
1916 | # Check that the precious variables saved in the cache have kept the same | |
1917 | # value. | |
1918 | ac_cache_corrupted=false | |
fc6ffb29 | 1919 | for ac_var in $ac_precious_vars; do |
f5818d2f AJ |
1920 | eval ac_old_set=\$ac_cv_env_${ac_var}_set |
1921 | eval ac_new_set=\$ac_env_${ac_var}_set | |
fc6ffb29 AJ |
1922 | eval ac_old_val=\$ac_cv_env_${ac_var}_value |
1923 | eval ac_new_val=\$ac_env_${ac_var}_value | |
f5818d2f AJ |
1924 | case $ac_old_set,$ac_new_set in |
1925 | set,) | |
abf5048b AJ |
1926 | { $as_echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5 |
1927 | $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;} | |
f5818d2f AJ |
1928 | ac_cache_corrupted=: ;; |
1929 | ,set) | |
abf5048b AJ |
1930 | { $as_echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5 |
1931 | $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;} | |
f5818d2f AJ |
1932 | ac_cache_corrupted=: ;; |
1933 | ,);; | |
1934 | *) | |
1935 | if test "x$ac_old_val" != "x$ac_new_val"; then | |
abf5048b AJ |
1936 | # differences in whitespace do not lead to failure. |
1937 | ac_old_val_w=`echo x $ac_old_val` | |
1938 | ac_new_val_w=`echo x $ac_new_val` | |
1939 | if test "$ac_old_val_w" != "$ac_new_val_w"; then | |
1940 | { $as_echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5 | |
1941 | $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;} | |
1942 | ac_cache_corrupted=: | |
1943 | else | |
1944 | { $as_echo "$as_me:$LINENO: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5 | |
1945 | $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;} | |
1946 | eval $ac_var=\$ac_old_val | |
1947 | fi | |
1948 | { $as_echo "$as_me:$LINENO: former value: \`$ac_old_val'" >&5 | |
1949 | $as_echo "$as_me: former value: \`$ac_old_val'" >&2;} | |
1950 | { $as_echo "$as_me:$LINENO: current value: \`$ac_new_val'" >&5 | |
1951 | $as_echo "$as_me: current value: \`$ac_new_val'" >&2;} | |
f5818d2f AJ |
1952 | fi;; |
1953 | esac | |
daa2886c | 1954 | # Pass precious variables to config.status. |
f5818d2f AJ |
1955 | if test "$ac_new_set" = set; then |
1956 | case $ac_new_val in | |
abf5048b | 1957 | *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;; |
daa2886c AJ |
1958 | *) ac_arg=$ac_var=$ac_new_val ;; |
1959 | esac | |
1960 | case " $ac_configure_args " in | |
1961 | *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy. | |
1962 | *) ac_configure_args="$ac_configure_args '$ac_arg'" ;; | |
f5818d2f AJ |
1963 | esac |
1964 | fi | |
1965 | done | |
1966 | if $ac_cache_corrupted; then | |
abf5048b AJ |
1967 | { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5 |
1968 | $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} | |
1969 | { $as_echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5 | |
1970 | $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;} | |
1971 | { { $as_echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5 | |
1972 | $as_echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;} | |
f5818d2f | 1973 | { (exit 1); exit 1; }; } |
e2991ea7 AJ |
1974 | fi |
1975 | ||
daa2886c AJ |
1976 | |
1977 | ||
1978 | ||
1979 | ||
1980 | ||
1981 | ||
1982 | ||
1983 | ||
1984 | ||
1985 | ||
1986 | ||
1987 | ||
1988 | ||
1989 | ||
1990 | ||
1991 | ||
1992 | ||
1993 | ||
1994 | ||
1995 | ||
1996 | ||
1997 | ||
1998 | ||
1999 | ||
fc6ffb29 AJ |
2000 | ac_ext=c |
2001 | ac_cpp='$CPP $CPPFLAGS' | |
2002 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' | |
2003 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' | |
2004 | ac_compiler_gnu=$ac_cv_c_compiler_gnu | |
daa2886c | 2005 | |
e2991ea7 | 2006 | |
11af04e3 | 2007 | |
fc6ffb29 | 2008 | ac_config_headers="$ac_config_headers include/config.h" |
18f92e76 | 2009 | |
d7d4fdf8 | 2010 | ac_aux_dir= |
0ebeb530 JW |
2011 | for ac_dir in tools "$srcdir"/tools; do |
2012 | if test -f "$ac_dir/install-sh"; then | |
d7d4fdf8 AJ |
2013 | ac_aux_dir=$ac_dir |
2014 | ac_install_sh="$ac_aux_dir/install-sh -c" | |
2015 | break | |
0ebeb530 | 2016 | elif test -f "$ac_dir/install.sh"; then |
d7d4fdf8 AJ |
2017 | ac_aux_dir=$ac_dir |
2018 | ac_install_sh="$ac_aux_dir/install.sh -c" | |
2019 | break | |
0ebeb530 | 2020 | elif test -f "$ac_dir/shtool"; then |
f5818d2f AJ |
2021 | ac_aux_dir=$ac_dir |
2022 | ac_install_sh="$ac_aux_dir/shtool install -c" | |
2023 | break | |
d7d4fdf8 AJ |
2024 | fi |
2025 | done | |
2026 | if test -z "$ac_aux_dir"; then | |
abf5048b AJ |
2027 | { { $as_echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in tools \"$srcdir\"/tools" >&5 |
2028 | $as_echo "$as_me: error: cannot find install-sh or install.sh in tools \"$srcdir\"/tools" >&2;} | |
f5818d2f | 2029 | { (exit 1); exit 1; }; } |
d7d4fdf8 | 2030 | fi |
0ebeb530 JW |
2031 | |
2032 | # These three variables are undocumented and unsupported, | |
2033 | # and are intended to be withdrawn in a future Autoconf release. | |
2034 | # They can cause serious problems if a builder's source tree is in a directory | |
2035 | # whose full name contains unusual characters. | |
2036 | ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var. | |
2037 | ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var. | |
2038 | ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var. | |
2039 | ||
ff8331ea | 2040 | |
daa2886c AJ |
2041 | |
2042 | ||
fc6ffb29 | 2043 | # Check whether --enable-win16 was given. |
c728efc3 | 2044 | if test "${enable_win16+set}" = set; then |
fc6ffb29 AJ |
2045 | enableval=$enable_win16; |
2046 | fi | |
c728efc3 | 2047 | |
fc6ffb29 | 2048 | # Check whether --enable-win64 was given. |
2aa8e871 | 2049 | if test "${enable_win64+set}" = set; then |
fc6ffb29 AJ |
2050 | enableval=$enable_win64; |
2051 | fi | |
2aa8e871 | 2052 | |
35078f4b AJ |
2053 | # Check whether --enable-tests was given. |
2054 | if test "${enable_tests+set}" = set; then | |
2055 | enableval=$enable_tests; | |
2056 | fi | |
2057 | ||
9d037226 AJ |
2058 | # Check whether --enable-maintainer-mode was given. |
2059 | if test "${enable_maintainer_mode+set}" = set; then | |
2060 | enableval=$enable_maintainer_mode; | |
2061 | else | |
2062 | MAINTAINER_MODE=\# | |
2063 | ||
2064 | fi | |
2065 | ||
b8074991 AJ |
2066 | |
2067 | ||
a41f0f1b AJ |
2068 | # Check whether --with-alsa was given. |
2069 | if test "${with_alsa+set}" = set; then | |
2070 | withval=$with_alsa; if test "x$withval" = "xno"; then ac_cv_header_sys_asoundlib_h=no; ac_cv_header_alsa_asoundlib_h=no; fi | |
2071 | fi | |
2072 | ||
2073 | ||
2074 | # Check whether --with-audioio was given. | |
2075 | if test "${with_audioio+set}" = set; then | |
2076 | withval=$with_audioio; if test "x$withval" = "xno"; then ac_cv_header_libaudioio_h=no; fi | |
2077 | fi | |
2078 | ||
2079 | ||
2080 | # Check whether --with-capi was given. | |
2081 | if test "${with_capi+set}" = set; then | |
2082 | withval=$with_capi; if test "x$withval" = "xno"; then ac_cv_header_capi20_h=no; ac_cv_header_linux_capi_h=no; fi | |
2083 | fi | |
2084 | ||
2085 | ||
2086 | # Check whether --with-cms was given. | |
2087 | if test "${with_cms+set}" = set; then | |
2088 | withval=$with_cms; if test "x$withval" = "xno"; then ac_cv_header_lcms_h=no; ac_cv_header_lcms_lcms_h=no; fi | |
2089 | fi | |
2090 | ||
2091 | ||
2092 | # Check whether --with-coreaudio was given. | |
2093 | if test "${with_coreaudio+set}" = set; then | |
2094 | withval=$with_coreaudio; if test "x$withval" = "xno"; then ac_cv_header_CoreAudio_CoreAudio_h=no; fi | |
2095 | fi | |
2096 | ||
2097 | ||
2098 | # Check whether --with-cups was given. | |
2099 | if test "${with_cups+set}" = set; then | |
289ea338 | 2100 | withval=$with_cups; |
a41f0f1b AJ |
2101 | fi |
2102 | ||
2103 | ||
2104 | # Check whether --with-curses was given. | |
2105 | if test "${with_curses+set}" = set; then | |
2106 | withval=$with_curses; if test "x$withval" = "xno"; then ac_cv_header_ncurses_h=no; ac_cv_header_curses_h=no; fi | |
2107 | fi | |
2108 | ||
2109 | ||
2110 | # Check whether --with-esd was given. | |
2111 | if test "${with_esd+set}" = set; then | |
2112 | withval=$with_esd; | |
2113 | fi | |
2114 | ||
2115 | ||
2116 | # Check whether --with-fontconfig was given. | |
2117 | if test "${with_fontconfig+set}" = set; then | |
2118 | withval=$with_fontconfig; if test "x$withval" = "xno"; then ac_cv_header_fontconfig_fontconfig_h=no; fi | |
2119 | fi | |
2120 | ||
2121 | ||
a20c0e12 AJ |
2122 | # Check whether --with-freetype was given. |
2123 | if test "${with_freetype+set}" = set; then | |
2124 | withval=$with_freetype; | |
2125 | fi | |
2126 | ||
2127 | ||
a41f0f1b AJ |
2128 | # Check whether --with-gphoto was given. |
2129 | if test "${with_gphoto+set}" = set; then | |
2130 | withval=$with_gphoto; | |
2131 | fi | |
2132 | ||
2133 | ||
ad798735 AJ |
2134 | # Check whether --with-glu was given. |
2135 | if test "${with_glu+set}" = set; then | |
2136 | withval=$with_glu; if test "x$withval" = "xno"; then ac_cv_header_GL_glu_h=no; fi | |
2137 | fi | |
2138 | ||
2139 | ||
874c9ef6 HV |
2140 | # Check whether --with-gnutls was given. |
2141 | if test "${with_gnutls+set}" = set; then | |
2142 | withval=$with_gnutls; | |
2143 | fi | |
2144 | ||
2145 | ||
a41f0f1b AJ |
2146 | # Check whether --with-hal was given. |
2147 | if test "${with_hal+set}" = set; then | |
2148 | withval=$with_hal; | |
2149 | fi | |
2150 | ||
2151 | ||
2152 | # Check whether --with-jack was given. | |
2153 | if test "${with_jack+set}" = set; then | |
2154 | withval=$with_jack; if test "x$withval" = "xno"; then ac_cv_header_jack_jack_h=no; fi | |
2155 | fi | |
2156 | ||
2157 | ||
2158 | # Check whether --with-jpeg was given. | |
2159 | if test "${with_jpeg+set}" = set; then | |
2160 | withval=$with_jpeg; if test "x$withval" = "xno"; then ac_cv_header_jpeglib_h=no; fi | |
2161 | fi | |
2162 | ||
2163 | ||
2164 | # Check whether --with-ldap was given. | |
2165 | if test "${with_ldap+set}" = set; then | |
2166 | withval=$with_ldap; if test "x$withval" = "xno"; then ac_cv_header_ldap_h=no; ac_cv_header_lber_h=no; fi | |
2167 | fi | |
2168 | ||
2169 | ||
2170 | # Check whether --with-nas was given. | |
2171 | if test "${with_nas+set}" = set; then | |
2172 | withval=$with_nas; if test "x$withval" = "xno"; then ac_cv_header_audio_audiolib_h=no; fi | |
2173 | fi | |
2174 | ||
2175 | ||
fc6ffb29 | 2176 | # Check whether --with-opengl was given. |
b8074991 | 2177 | if test "${with_opengl+set}" = set; then |
fc6ffb29 AJ |
2178 | withval=$with_opengl; |
2179 | fi | |
f90efa9c AJ |
2180 | |
2181 | ||
a41f0f1b AJ |
2182 | # Check whether --with-openssl was given. |
2183 | if test "${with_openssl+set}" = set; then | |
2184 | withval=$with_openssl; if test "x$withval" = "xno"; then ac_cv_header_openssl_err_h=no; ac_cv_header_openssl_ssl_h=no; fi | |
2185 | fi | |
2186 | ||
2187 | ||
2188 | # Check whether --with-oss was given. | |
2189 | if test "${with_oss+set}" = set; then | |
2190 | withval=$with_oss; if test "x$withval" = "xno"; then ac_cv_header_soundcard_h=no; ac_cv_header_sys_soundcard_h=no; ac_cv_header_machine_soundcard_h=no; fi | |
2191 | fi | |
2192 | ||
2193 | ||
2194 | # Check whether --with-png was given. | |
2195 | if test "${with_png+set}" = set; then | |
2196 | withval=$with_png; if test "x$withval" = "xno"; then ac_cv_header_png_h=no; fi | |
2197 | fi | |
2198 | ||
2199 | ||
2200 | # Check whether --with-sane was given. | |
2201 | if test "${with_sane+set}" = set; then | |
2202 | withval=$with_sane; | |
2203 | fi | |
2204 | ||
2205 | ||
2206 | # Check whether --with-xcomposite was given. | |
2207 | if test "${with_xcomposite+set}" = set; then | |
2208 | withval=$with_xcomposite; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xcomposite_h=no; fi | |
2209 | fi | |
2210 | ||
2211 | ||
2212 | # Check whether --with-xcursor was given. | |
2213 | if test "${with_xcursor+set}" = set; then | |
2214 | withval=$with_xcursor; if test "x$withval" = "xno"; then ac_cv_header_X11_Xcursor_Xcursor_h=no; fi | |
2215 | fi | |
2216 | ||
2217 | ||
2218 | # Check whether --with-xinerama was given. | |
2219 | if test "${with_xinerama+set}" = set; then | |
2220 | withval=$with_xinerama; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xinerama_h=no; fi | |
2221 | fi | |
2222 | ||
2223 | ||
2224 | # Check whether --with-xinput was given. | |
2225 | if test "${with_xinput+set}" = set; then | |
2226 | withval=$with_xinput; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput_h=no; fi | |
2227 | fi | |
2228 | ||
2229 | ||
2230 | # Check whether --with-xml was given. | |
2231 | if test "${with_xml+set}" = set; then | |
2232 | withval=$with_xml; | |
2233 | fi | |
2234 | ||
2235 | ||
2236 | # Check whether --with-xrandr was given. | |
2237 | if test "${with_xrandr+set}" = set; then | |
2238 | withval=$with_xrandr; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrandr_h=no; fi | |
2239 | fi | |
2240 | ||
2241 | ||
2242 | # Check whether --with-xrender was given. | |
2243 | if test "${with_xrender+set}" = set; then | |
2244 | withval=$with_xrender; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrender_h=no; fi | |
2245 | fi | |
2246 | ||
2247 | ||
2248 | # Check whether --with-xshape was given. | |
2249 | if test "${with_xshape+set}" = set; then | |
2250 | withval=$with_xshape; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_shape_h=no; fi | |
2251 | fi | |
2252 | ||
2253 | ||
2254 | # Check whether --with-xshm was given. | |
2255 | if test "${with_xshm+set}" = set; then | |
2256 | withval=$with_xshm; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XShm_h=no; fi | |
2257 | fi | |
2258 | ||
2259 | ||
2260 | # Check whether --with-xslt was given. | |
2261 | if test "${with_xslt+set}" = set; then | |
2262 | withval=$with_xslt; | |
2263 | fi | |
2264 | ||
2265 | ||
a49beb4c FG |
2266 | # Check whether --with-xxf86vm was given. |
2267 | if test "${with_xxf86vm+set}" = set; then | |
2268 | withval=$with_xxf86vm; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_xf86vmode_h=no; fi | |
a41f0f1b AJ |
2269 | fi |
2270 | ||
2271 | ||
2272 | ||
fc6ffb29 | 2273 | # Check whether --with-wine-tools was given. |
fc01b729 | 2274 | if test "${with_wine_tools+set}" = set; then |
fc6ffb29 AJ |
2275 | withval=$with_wine_tools; |
2276 | fi | |
fc01b729 | 2277 | |
fc01b729 | 2278 | |
f5818d2f | 2279 | # Make sure we can run config.sub. |
0ebeb530 | 2280 | $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 || |
abf5048b AJ |
2281 | { { $as_echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5 |
2282 | $as_echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;} | |
f5818d2f AJ |
2283 | { (exit 1); exit 1; }; } |
2284 | ||
abf5048b AJ |
2285 | { $as_echo "$as_me:$LINENO: checking build system type" >&5 |
2286 | $as_echo_n "checking build system type... " >&6; } | |
f5818d2f | 2287 | if test "${ac_cv_build+set}" = set; then |
abf5048b | 2288 | $as_echo_n "(cached) " >&6 |
f5818d2f | 2289 | else |
fc6ffb29 AJ |
2290 | ac_build_alias=$build_alias |
2291 | test "x$ac_build_alias" = x && | |
0ebeb530 | 2292 | ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"` |
fc6ffb29 | 2293 | test "x$ac_build_alias" = x && |
abf5048b AJ |
2294 | { { $as_echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5 |
2295 | $as_echo "$as_me: error: cannot guess build type; you must specify one" >&2;} | |
f5818d2f | 2296 | { (exit 1); exit 1; }; } |
0ebeb530 | 2297 | ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` || |
abf5048b AJ |
2298 | { { $as_echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5 |
2299 | $as_echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;} | |
f5818d2f AJ |
2300 | { (exit 1); exit 1; }; } |
2301 | ||
2302 | fi | |
abf5048b AJ |
2303 | { $as_echo "$as_me:$LINENO: result: $ac_cv_build" >&5 |
2304 | $as_echo "$ac_cv_build" >&6; } | |
fc6ffb29 AJ |
2305 | case $ac_cv_build in |
2306 | *-*-*) ;; | |
abf5048b AJ |
2307 | *) { { $as_echo "$as_me:$LINENO: error: invalid value of canonical build" >&5 |
2308 | $as_echo "$as_me: error: invalid value of canonical build" >&2;} | |
fc6ffb29 AJ |
2309 | { (exit 1); exit 1; }; };; |
2310 | esac | |
f5818d2f | 2311 | build=$ac_cv_build |
fc6ffb29 AJ |
2312 | ac_save_IFS=$IFS; IFS='-' |
2313 | set x $ac_cv_build | |
2314 | shift | |
2315 | build_cpu=$1 | |
2316 | build_vendor=$2 | |
2317 | shift; shift | |
2318 | # Remember, the first character of IFS is used to create $*, | |
2319 | # except with old shells: | |
2320 | build_os=$* | |
2321 | IFS=$ac_save_IFS | |
2322 | case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac | |
2323 | ||
2324 | ||
abf5048b AJ |
2325 | { $as_echo "$as_me:$LINENO: checking host system type" >&5 |
2326 | $as_echo_n "checking host system type... " >&6; } | |
f5818d2f | 2327 | if test "${ac_cv_host+set}" = set; then |
abf5048b | 2328 | $as_echo_n "(cached) " >&6 |
f5818d2f | 2329 | else |
fc6ffb29 AJ |
2330 | if test "x$host_alias" = x; then |
2331 | ac_cv_host=$ac_cv_build | |
2332 | else | |
0ebeb530 | 2333 | ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` || |
abf5048b AJ |
2334 | { { $as_echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5 |
2335 | $as_echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;} | |
f5818d2f | 2336 | { (exit 1); exit 1; }; } |
fc6ffb29 | 2337 | fi |
f5818d2f AJ |
2338 | |
2339 | fi | |
abf5048b AJ |
2340 | { $as_echo "$as_me:$LINENO: result: $ac_cv_host" >&5 |
2341 | $as_echo "$ac_cv_host" >&6; } | |
fc6ffb29 AJ |
2342 | case $ac_cv_host in |
2343 | *-*-*) ;; | |
abf5048b AJ |
2344 | *) { { $as_echo "$as_me:$LINENO: error: invalid value of canonical host" >&5 |
2345 | $as_echo "$as_me: error: invalid value of canonical host" >&2;} | |
fc6ffb29 AJ |
2346 | { (exit 1); exit 1; }; };; |
2347 | esac | |
f5818d2f | 2348 | host=$ac_cv_host |
fc6ffb29 AJ |
2349 | ac_save_IFS=$IFS; IFS='-' |
2350 | set x $ac_cv_host | |
2351 | shift | |
2352 | host_cpu=$1 | |
2353 | host_vendor=$2 | |
2354 | shift; shift | |
2355 | # Remember, the first character of IFS is used to create $*, | |
2356 | # except with old shells: | |
2357 | host_os=$* | |
2358 | IFS=$ac_save_IFS | |
2359 | case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac | |
f5818d2f | 2360 | |
daa2886c | 2361 | |
2aa8e871 AJ |
2362 | case $host in |
2363 | x86_64*linux*) | |
2364 | if test "x$enable_win64" != "xyes" | |
2365 | then | |
06076371 AJ |
2366 | CC="${CC:-gcc} -m32" |
2367 | CXX="${CXX:-g++} -m32" | |
2368 | LD="${LD:-ld} -m elf_i386" | |
2369 | AS="${AS:-as} --32" | |
bbcf9864 | 2370 | host_cpu="i386" |
93f094c5 | 2371 | notice_platform="32-bit " |
2aa8e871 AJ |
2372 | fi |
2373 | ;; | |
2374 | esac | |
2375 | ||
71440f35 AJ |
2376 | case $host_cpu in |
2377 | *i[3456789]86*) | |
2378 | if test "x$enable_win16" != "xno" | |
2379 | then | |
2380 | enable_win16="yes" | |
2381 | fi | |
2382 | ;; | |
2383 | esac | |
2384 | ||
2385 | WIN16_FILES="\$(WIN16_FILES)" | |
2386 | ||
2387 | WIN16_INSTALL="\$(WIN16_INSTALL)" | |
2388 | ||
2389 | if test "x$enable_win16" != "xyes" | |
2390 | then | |
2391 | WIN16_FILES="" | |
2392 | WIN16_INSTALL="" | |
2393 | fi | |
2394 | ||
73b724e7 AJ |
2395 | case "$srcdir" in |
2396 | .) ;; | |
2397 | *) if test -f "$srcdir/Makefile" -o -f "$srcdir/include/config.h"; then | |
abf5048b | 2398 | { { $as_echo "$as_me:$LINENO: error: you are building out of the source tree, but the source tree contains object files. |
73b724e7 | 2399 | You need to run 'make distclean' in the source tree first." >&5 |
abf5048b | 2400 | $as_echo "$as_me: error: you are building out of the source tree, but the source tree contains object files. |
73b724e7 AJ |
2401 | You need to run 'make distclean' in the source tree first." >&2;} |
2402 | { (exit 1); exit 1; }; } | |
2403 | fi ;; | |
2404 | esac | |
2405 | ||
71440f35 | 2406 | |
abf5048b AJ |
2407 | { $as_echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5 |
2408 | $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; } | |
2409 | set x ${MAKE-make} | |
2410 | ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'` | |
fc6ffb29 | 2411 | if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then |
abf5048b | 2412 | $as_echo_n "(cached) " >&6 |
f5818d2f | 2413 | else |
daa2886c | 2414 | cat >conftest.make <<\_ACEOF |
fc6ffb29 | 2415 | SHELL = /bin/sh |
e2991ea7 | 2416 | all: |
0ebeb530 | 2417 | @echo '@@@%%%=$(MAKE)=@@@%%%' |
daa2886c | 2418 | _ACEOF |
e2991ea7 | 2419 | # GNU make sometimes prints "make[1]: Entering...", which would confuse us. |
0ebeb530 JW |
2420 | case `${MAKE-make} -f conftest.make 2>/dev/null` in |
2421 | *@@@%%%=?*=@@@%%%*) | |
2422 | eval ac_cv_prog_make_${ac_make}_set=yes;; | |
2423 | *) | |
2424 | eval ac_cv_prog_make_${ac_make}_set=no;; | |
2425 | esac | |
f5818d2f | 2426 | rm -f conftest.make |
e2991ea7 | 2427 | fi |
0ebeb530 | 2428 | if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then |
abf5048b AJ |
2429 | { $as_echo "$as_me:$LINENO: result: yes" >&5 |
2430 | $as_echo "yes" >&6; } | |
e2991ea7 AJ |
2431 | SET_MAKE= |
2432 | else | |
abf5048b AJ |
2433 | { $as_echo "$as_me:$LINENO: result: no" >&5 |
2434 | $as_echo "no" >&6; } | |
e2991ea7 AJ |
2435 | SET_MAKE="MAKE=${MAKE-make}" |
2436 | fi | |
2437 | ||
f5818d2f AJ |
2438 | ac_ext=c |
2439 | ac_cpp='$CPP $CPPFLAGS' | |
2440 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' | |
2441 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' | |
2442 | ac_compiler_gnu=$ac_cv_c_compiler_gnu | |
2443 | if test -n "$ac_tool_prefix"; then | |
2444 | # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. | |
2445 | set dummy ${ac_tool_prefix}gcc; ac_word=$2 | |
abf5048b AJ |
2446 | { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 |
2447 | $as_echo_n "checking for $ac_word... " >&6; } | |
f5818d2f | 2448 | if test "${ac_cv_prog_CC+set}" = set; then |
abf5048b | 2449 | $as_echo_n "(cached) " >&6 |
f5818d2f AJ |
2450 | else |
2451 | if test -n "$CC"; then | |
2452 | ac_cv_prog_CC="$CC" # Let the user override the test. | |
2453 | else | |
daa2886c AJ |
2454 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
2455 | for as_dir in $PATH | |
2456 | do | |
2457 | IFS=$as_save_IFS | |
2458 | test -z "$as_dir" && as_dir=. | |
2459 | for ac_exec_ext in '' $ac_executable_extensions; do | |
dc9f3843 | 2460 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
daa2886c | 2461 | ac_cv_prog_CC="${ac_tool_prefix}gcc" |
abf5048b | 2462 | $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
daa2886c AJ |
2463 | break 2 |
2464 | fi | |
2465 | done | |
f5818d2f | 2466 | done |
fc6ffb29 | 2467 | IFS=$as_save_IFS |
f5818d2f AJ |
2468 | |
2469 | fi | |
2470 | fi | |
2471 | CC=$ac_cv_prog_CC | |
2472 | if test -n "$CC"; then | |
abf5048b AJ |
2473 | { $as_echo "$as_me:$LINENO: result: $CC" >&5 |
2474 | $as_echo "$CC" >&6; } | |
f5818d2f | 2475 | else |
abf5048b AJ |
2476 | { $as_echo "$as_me:$LINENO: result: no" >&5 |
2477 | $as_echo "no" >&6; } | |
f5818d2f AJ |
2478 | fi |
2479 | ||
fc6ffb29 | 2480 | |
f5818d2f AJ |
2481 | fi |
2482 | if test -z "$ac_cv_prog_CC"; then | |
2483 | ac_ct_CC=$CC | |
2484 | # Extract the first word of "gcc", so it can be a program name with args. | |
e2991ea7 | 2485 | set dummy gcc; ac_word=$2 |
abf5048b AJ |
2486 | { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 |
2487 | $as_echo_n "checking for $ac_word... " >&6; } | |
f5818d2f | 2488 | if test "${ac_cv_prog_ac_ct_CC+set}" = set; then |
abf5048b | 2489 | $as_echo_n "(cached) " >&6 |
f5818d2f AJ |
2490 | else |
2491 | if test -n "$ac_ct_CC"; then | |
2492 | ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. | |
2493 | else | |
daa2886c AJ |
2494 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
2495 | for as_dir in $PATH | |
2496 | do | |
2497 | IFS=$as_save_IFS | |
2498 | test -z "$as_dir" && as_dir=. | |
2499 | for ac_exec_ext in '' $ac_executable_extensions; do | |
dc9f3843 | 2500 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
daa2886c | 2501 | ac_cv_prog_ac_ct_CC="gcc" |
abf5048b | 2502 | $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
daa2886c AJ |
2503 | break 2 |
2504 | fi | |
2505 | done | |
f5818d2f | 2506 | done |
fc6ffb29 | 2507 | IFS=$as_save_IFS |
f5818d2f AJ |
2508 | |
2509 | fi | |
2510 | fi | |
2511 | ac_ct_CC=$ac_cv_prog_ac_ct_CC | |
2512 | if test -n "$ac_ct_CC"; then | |
abf5048b AJ |
2513 | { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 |
2514 | $as_echo "$ac_ct_CC" >&6; } | |
f5818d2f | 2515 | else |
abf5048b AJ |
2516 | { $as_echo "$as_me:$LINENO: result: no" >&5 |
2517 | $as_echo "no" >&6; } | |
f5818d2f AJ |
2518 | fi |
2519 | ||
fc6ffb29 AJ |
2520 | if test "x$ac_ct_CC" = x; then |
2521 | CC="" | |
2522 | else | |
2523 | case $cross_compiling:$ac_tool_warned in | |
2524 | yes:) | |
abf5048b AJ |
2525 | { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5 |
2526 | $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} | |
fc6ffb29 AJ |
2527 | ac_tool_warned=yes ;; |
2528 | esac | |
2529 | CC=$ac_ct_CC | |
2530 | fi | |
f5818d2f AJ |
2531 | else |
2532 | CC="$ac_cv_prog_CC" | |
2533 | fi | |
2534 | ||
2535 | if test -z "$CC"; then | |
fc6ffb29 AJ |
2536 | if test -n "$ac_tool_prefix"; then |
2537 | # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args. | |
f5818d2f | 2538 | set dummy ${ac_tool_prefix}cc; ac_word=$2 |
abf5048b AJ |
2539 | { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 |
2540 | $as_echo_n "checking for $ac_word... " >&6; } | |
f5818d2f | 2541 | if test "${ac_cv_prog_CC+set}" = set; then |
abf5048b | 2542 | $as_echo_n "(cached) " >&6 |
e2991ea7 AJ |
2543 | else |
2544 | if test -n "$CC"; then | |
2545 | ac_cv_prog_CC="$CC" # Let the user override the test. | |
2546 | else | |
daa2886c AJ |
2547 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
2548 | for as_dir in $PATH | |
2549 | do | |
2550 | IFS=$as_save_IFS | |
2551 | test -z "$as_dir" && as_dir=. | |
2552 | for ac_exec_ext in '' $ac_executable_extensions; do | |
dc9f3843 | 2553 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
daa2886c | 2554 | ac_cv_prog_CC="${ac_tool_prefix}cc" |
abf5048b | 2555 | $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
daa2886c AJ |
2556 | break 2 |
2557 | fi | |
2558 | done | |
f5818d2f | 2559 | done |
fc6ffb29 | 2560 | IFS=$as_save_IFS |
f5818d2f | 2561 | |
e2991ea7 AJ |
2562 | fi |
2563 | fi | |
f5818d2f | 2564 | CC=$ac_cv_prog_CC |
e2991ea7 | 2565 | if test -n "$CC"; then |
abf5048b AJ |
2566 | { $as_echo "$as_me:$LINENO: result: $CC" >&5 |
2567 | $as_echo "$CC" >&6; } | |
f5818d2f | 2568 | else |
abf5048b AJ |
2569 | { $as_echo "$as_me:$LINENO: result: no" >&5 |
2570 | $as_echo "no" >&6; } | |
f5818d2f AJ |
2571 | fi |
2572 | ||
e2991ea7 | 2573 | |
fc6ffb29 | 2574 | fi |
f5818d2f | 2575 | fi |
b817f4fb AJ |
2576 | if test -z "$CC"; then |
2577 | # Extract the first word of "cc", so it can be a program name with args. | |
2578 | set dummy cc; ac_word=$2 | |
abf5048b AJ |
2579 | { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 |
2580 | $as_echo_n "checking for $ac_word... " >&6; } | |
f5818d2f | 2581 | if test "${ac_cv_prog_CC+set}" = set; then |
abf5048b | 2582 | $as_echo_n "(cached) " >&6 |
b817f4fb AJ |
2583 | else |
2584 | if test -n "$CC"; then | |
2585 | ac_cv_prog_CC="$CC" # Let the user override the test. | |
2586 | else | |
b817f4fb | 2587 | ac_prog_rejected=no |
daa2886c AJ |
2588 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
2589 | for as_dir in $PATH | |
2590 | do | |
2591 | IFS=$as_save_IFS | |
2592 | test -z "$as_dir" && as_dir=. | |
2593 | for ac_exec_ext in '' $ac_executable_extensions; do | |
dc9f3843 | 2594 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
daa2886c AJ |
2595 | if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then |
2596 | ac_prog_rejected=yes | |
2597 | continue | |
2598 | fi | |
2599 | ac_cv_prog_CC="cc" | |
abf5048b | 2600 | $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
daa2886c AJ |
2601 | break 2 |
2602 | fi | |
2603 | done | |
f5818d2f | 2604 | done |
fc6ffb29 | 2605 | IFS=$as_save_IFS |
f5818d2f | 2606 | |
b817f4fb AJ |
2607 | if test $ac_prog_rejected = yes; then |
2608 | # We found a bogon in the path, so make sure we never use it. | |
2609 | set dummy $ac_cv_prog_CC | |
2610 | shift | |
f5818d2f | 2611 | if test $# != 0; then |
b817f4fb AJ |
2612 | # We chose a different compiler from the bogus one. |
2613 | # However, it has the same basename, so the bogon will be chosen | |
2614 | # first if we set CC to just the basename; use the full file name. | |
2615 | shift | |
11af04e3 | 2616 | ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@" |
b817f4fb AJ |
2617 | fi |
2618 | fi | |
2619 | fi | |
2620 | fi | |
f5818d2f | 2621 | CC=$ac_cv_prog_CC |
b817f4fb | 2622 | if test -n "$CC"; then |
abf5048b AJ |
2623 | { $as_echo "$as_me:$LINENO: result: $CC" >&5 |
2624 | $as_echo "$CC" >&6; } | |
b817f4fb | 2625 | else |
abf5048b AJ |
2626 | { $as_echo "$as_me:$LINENO: result: no" >&5 |
2627 | $as_echo "no" >&6; } | |
b817f4fb AJ |
2628 | fi |
2629 | ||
fc6ffb29 | 2630 | |
f5818d2f AJ |
2631 | fi |
2632 | if test -z "$CC"; then | |
2633 | if test -n "$ac_tool_prefix"; then | |
fc6ffb29 | 2634 | for ac_prog in cl.exe |
f5818d2f AJ |
2635 | do |
2636 | # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. | |
2637 | set dummy $ac_tool_prefix$ac_prog; ac_word=$2 | |
abf5048b AJ |
2638 | { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 |
2639 | $as_echo_n "checking for $ac_word... " >&6; } | |
f5818d2f | 2640 | if test "${ac_cv_prog_CC+set}" = set; then |
abf5048b | 2641 | $as_echo_n "(cached) " >&6 |
f5818d2f AJ |
2642 | else |
2643 | if test -n "$CC"; then | |
18ad24a7 EP |
2644 | ac_cv_prog_CC="$CC" # Let the user override the test. |
2645 | else | |
daa2886c AJ |
2646 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
2647 | for as_dir in $PATH | |
2648 | do | |
2649 | IFS=$as_save_IFS | |
2650 | test -z "$as_dir" && as_dir=. | |
2651 | for ac_exec_ext in '' $ac_executable_extensions; do | |
dc9f3843 | 2652 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
daa2886c | 2653 | ac_cv_prog_CC="$ac_tool_prefix$ac_prog" |
abf5048b | 2654 | $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
daa2886c AJ |
2655 | break 2 |
2656 | fi | |
2657 | done | |
f5818d2f | 2658 | done |
fc6ffb29 | 2659 | IFS=$as_save_IFS |
f5818d2f | 2660 | |
18ad24a7 EP |
2661 | fi |
2662 | fi | |
f5818d2f | 2663 | CC=$ac_cv_prog_CC |
18ad24a7 | 2664 | if test -n "$CC"; then |
abf5048b AJ |
2665 | { $as_echo "$as_me:$LINENO: result: $CC" >&5 |
2666 | $as_echo "$CC" >&6; } | |
18ad24a7 | 2667 | else |
abf5048b AJ |
2668 | { $as_echo "$as_me:$LINENO: result: no" >&5 |
2669 | $as_echo "no" >&6; } | |
b817f4fb | 2670 | fi |
e2991ea7 | 2671 | |
fc6ffb29 | 2672 | |
f5818d2f AJ |
2673 | test -n "$CC" && break |
2674 | done | |
2675 | fi | |
2676 | if test -z "$CC"; then | |
2677 | ac_ct_CC=$CC | |
fc6ffb29 | 2678 | for ac_prog in cl.exe |
f5818d2f AJ |
2679 | do |
2680 | # Extract the first word of "$ac_prog", so it can be a program name with args. | |
2681 | set dummy $ac_prog; ac_word=$2 | |
abf5048b AJ |
2682 | { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 |
2683 | $as_echo_n "checking for $ac_word... " >&6; } | |
f5818d2f | 2684 | if test "${ac_cv_prog_ac_ct_CC+set}" = set; then |
abf5048b | 2685 | $as_echo_n "(cached) " >&6 |
f5818d2f AJ |
2686 | else |
2687 | if test -n "$ac_ct_CC"; then | |
2688 | ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. | |
2689 | else | |
daa2886c AJ |
2690 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
2691 | for as_dir in $PATH | |
2692 | do | |
2693 | IFS=$as_save_IFS | |
2694 | test -z "$as_dir" && as_dir=. | |
2695 | for ac_exec_ext in '' $ac_executable_extensions; do | |
dc9f3843 | 2696 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
daa2886c | 2697 | ac_cv_prog_ac_ct_CC="$ac_prog" |
abf5048b | 2698 | $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
daa2886c AJ |
2699 | break 2 |
2700 | fi | |
2701 | done | |
f5818d2f | 2702 | done |
fc6ffb29 | 2703 | IFS=$as_save_IFS |
da0cfb36 | 2704 | |
f5818d2f AJ |
2705 | fi |
2706 | fi | |
2707 | ac_ct_CC=$ac_cv_prog_ac_ct_CC | |
2708 | if test -n "$ac_ct_CC"; then | |
abf5048b AJ |
2709 | { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 |
2710 | $as_echo "$ac_ct_CC" >&6; } | |
f5818d2f | 2711 | else |
abf5048b AJ |
2712 | { $as_echo "$as_me:$LINENO: result: no" >&5 |
2713 | $as_echo "no" >&6; } | |
f5818d2f | 2714 | fi |
da0cfb36 | 2715 | |
fc6ffb29 | 2716 | |
f5818d2f AJ |
2717 | test -n "$ac_ct_CC" && break |
2718 | done | |
18ad24a7 | 2719 | |
fc6ffb29 AJ |
2720 | if test "x$ac_ct_CC" = x; then |
2721 | CC="" | |
2722 | else | |
2723 | case $cross_compiling:$ac_tool_warned in | |
2724 | yes:) | |
abf5048b AJ |
2725 | { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5 |
2726 | $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} | |
fc6ffb29 AJ |
2727 | ac_tool_warned=yes ;; |
2728 | esac | |
2729 | CC=$ac_ct_CC | |
2730 | fi | |
f5818d2f AJ |
2731 | fi |
2732 | ||
2733 | fi | |
2734 | ||
daa2886c | 2735 | |
abf5048b AJ |
2736 | test -z "$CC" && { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5 |
2737 | $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} | |
2738 | { { $as_echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH | |
e24bcc77 | 2739 | See \`config.log' for more details." >&5 |
abf5048b | 2740 | $as_echo "$as_me: error: no acceptable C compiler found in \$PATH |
e24bcc77 | 2741 | See \`config.log' for more details." >&2;} |
abf5048b | 2742 | { (exit 1); exit 1; }; }; } |
f5818d2f AJ |
2743 | |
2744 | # Provide some information about the compiler. | |
abf5048b AJ |
2745 | $as_echo "$as_me:$LINENO: checking for C compiler version" >&5 |
2746 | set X $ac_compile | |
2747 | ac_compiler=$2 | |
0ebeb530 JW |
2748 | { (ac_try="$ac_compiler --version >&5" |
2749 | case "(($ac_try" in | |
2750 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
2751 | *) ac_try_echo=$ac_try;; | |
2752 | esac | |
abf5048b AJ |
2753 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
2754 | $as_echo "$ac_try_echo") >&5 | |
0ebeb530 | 2755 | (eval "$ac_compiler --version >&5") 2>&5 |
f5818d2f | 2756 | ac_status=$? |
abf5048b | 2757 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
f5818d2f | 2758 | (exit $ac_status); } |
0ebeb530 JW |
2759 | { (ac_try="$ac_compiler -v >&5" |
2760 | case "(($ac_try" in | |
2761 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
2762 | *) ac_try_echo=$ac_try;; | |
2763 | esac | |
abf5048b AJ |
2764 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
2765 | $as_echo "$ac_try_echo") >&5 | |
0ebeb530 | 2766 | (eval "$ac_compiler -v >&5") 2>&5 |
f5818d2f | 2767 | ac_status=$? |
abf5048b | 2768 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
f5818d2f | 2769 | (exit $ac_status); } |
0ebeb530 JW |
2770 | { (ac_try="$ac_compiler -V >&5" |
2771 | case "(($ac_try" in | |
2772 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
2773 | *) ac_try_echo=$ac_try;; | |
2774 | esac | |
abf5048b AJ |
2775 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
2776 | $as_echo "$ac_try_echo") >&5 | |
0ebeb530 | 2777 | (eval "$ac_compiler -V >&5") 2>&5 |
f5818d2f | 2778 | ac_status=$? |
abf5048b | 2779 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
f5818d2f AJ |
2780 | (exit $ac_status); } |
2781 | ||
2782 | cat >conftest.$ac_ext <<_ACEOF | |
e24bcc77 AJ |
2783 | /* confdefs.h. */ |
2784 | _ACEOF | |
2785 | cat confdefs.h >>conftest.$ac_ext | |
2786 | cat >>conftest.$ac_ext <<_ACEOF | |
2787 | /* end confdefs.h. */ | |
18ad24a7 | 2788 | |
f5818d2f AJ |
2789 | int |
2790 | main () | |
2791 | { | |
2792 | ||
2793 | ; | |
2794 | return 0; | |
2795 | } | |
2796 | _ACEOF | |
2797 | ac_clean_files_save=$ac_clean_files | |
abf5048b | 2798 | ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out" |
f5818d2f AJ |
2799 | # Try to create an executable without -o first, disregard a.out. |
2800 | # It will help us diagnose broken compilers, and finding out an intuition | |
2801 | # of exeext. | |
abf5048b AJ |
2802 | { $as_echo "$as_me:$LINENO: checking for C compiler default output file name" >&5 |
2803 | $as_echo_n "checking for C compiler default output file name... " >&6; } | |
2804 | ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` | |
2805 | ||
2806 | # The possible output files: | |
2807 | ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*" | |
2808 | ||
0ebeb530 JW |
2809 | ac_rmfiles= |
2810 | for ac_file in $ac_files | |
2811 | do | |
2812 | case $ac_file in | |
abf5048b | 2813 | *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;; |
0ebeb530 JW |
2814 | * ) ac_rmfiles="$ac_rmfiles $ac_file";; |
2815 | esac | |
2816 | done | |
2817 | rm -f $ac_rmfiles | |
fc6ffb29 | 2818 | |
0ebeb530 JW |
2819 | if { (ac_try="$ac_link_default" |
2820 | case "(($ac_try" in | |
2821 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
2822 | *) ac_try_echo=$ac_try;; | |
2823 | esac | |
abf5048b AJ |
2824 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
2825 | $as_echo "$ac_try_echo") >&5 | |
0ebeb530 | 2826 | (eval "$ac_link_default") 2>&5 |
f5818d2f | 2827 | ac_status=$? |
abf5048b | 2828 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
f5818d2f | 2829 | (exit $ac_status); }; then |
0ebeb530 JW |
2830 | # Autoconf-2.13 could set the ac_cv_exeext variable to `no'. |
2831 | # So ignore a value of `no', otherwise this would lead to `EXEEXT = no' | |
2832 | # in a Makefile. We should not override ac_cv_exeext if it was cached, | |
2833 | # so that the user can short-circuit this test for compilers unknown to | |
2834 | # Autoconf. | |
78bd1948 | 2835 | for ac_file in $ac_files '' |
e24bcc77 | 2836 | do |
11af04e3 | 2837 | test -f "$ac_file" || continue |
f5818d2f | 2838 | case $ac_file in |
abf5048b | 2839 | *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) |
0ebeb530 JW |
2840 | ;; |
2841 | [ab].out ) | |
2842 | # We found the default executable, but exeext='' is most | |
2843 | # certainly right. | |
2844 | break;; | |
2845 | *.* ) | |
2846 | if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no; | |
2847 | then :; else | |
2848 | ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` | |
2849 | fi | |
2850 | # We set ac_cv_exeext here because the later test for it is not | |
2851 | # safe: cross compilers may not add the suffix if given an `-o' | |
2852 | # argument, so we may need to know it at that point already. | |
2853 | # Even if this section looks crufty: it has the advantage of | |
2854 | # actually working. | |
2855 | break;; | |
2856 | * ) | |
2857 | break;; | |
f5818d2f AJ |
2858 | esac |
2859 | done | |
0ebeb530 | 2860 | test "$ac_cv_exeext" = no && ac_cv_exeext= |
fc6ffb29 | 2861 | |
f5818d2f | 2862 | else |
78bd1948 AJ |
2863 | ac_file='' |
2864 | fi | |
2865 | ||
abf5048b AJ |
2866 | { $as_echo "$as_me:$LINENO: result: $ac_file" >&5 |
2867 | $as_echo "$ac_file" >&6; } | |
78bd1948 | 2868 | if test -z "$ac_file"; then |
abf5048b | 2869 | $as_echo "$as_me: failed program was:" >&5 |
e24bcc77 AJ |
2870 | sed 's/^/| /' conftest.$ac_ext >&5 |
2871 | ||
abf5048b AJ |
2872 | { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5 |
2873 | $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} | |
2874 | { { $as_echo "$as_me:$LINENO: error: C compiler cannot create executables | |
e24bcc77 | 2875 | See \`config.log' for more details." >&5 |
abf5048b | 2876 | $as_echo "$as_me: error: C compiler cannot create executables |
e24bcc77 | 2877 | See \`config.log' for more details." >&2;} |
abf5048b | 2878 | { (exit 77); exit 77; }; }; } |
f5818d2f AJ |
2879 | fi |
2880 | ||
0ebeb530 | 2881 | ac_exeext=$ac_cv_exeext |
0ebeb530 | 2882 | |
fc6ffb29 | 2883 | # Check that the compiler produces executables we can run. If not, either |
f5818d2f | 2884 | # the compiler is broken, or we cross compile. |
abf5048b AJ |
2885 | { $as_echo "$as_me:$LINENO: checking whether the C compiler works" >&5 |
2886 | $as_echo_n "checking whether the C compiler works... " >&6; } | |
f5818d2f AJ |
2887 | # FIXME: These cross compiler hacks should be removed for Autoconf 3.0 |
2888 | # If not cross compiling, check that we can run a simple program. | |
2889 | if test "$cross_compiling" != yes; then | |
2890 | if { ac_try='./$ac_file' | |
0ebeb530 JW |
2891 | { (case "(($ac_try" in |
2892 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
2893 | *) ac_try_echo=$ac_try;; | |
2894 | esac | |
abf5048b AJ |
2895 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
2896 | $as_echo "$ac_try_echo") >&5 | |
0ebeb530 | 2897 | (eval "$ac_try") 2>&5 |
f5818d2f | 2898 | ac_status=$? |
abf5048b | 2899 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
f5818d2f AJ |
2900 | (exit $ac_status); }; }; then |
2901 | cross_compiling=no | |
7e6ae4ba | 2902 | else |
f5818d2f AJ |
2903 | if test "$cross_compiling" = maybe; then |
2904 | cross_compiling=yes | |
2905 | else | |
abf5048b AJ |
2906 | { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5 |
2907 | $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} | |
2908 | { { $as_echo "$as_me:$LINENO: error: cannot run C compiled programs. | |
e24bcc77 AJ |
2909 | If you meant to cross compile, use \`--host'. |
2910 | See \`config.log' for more details." >&5 | |
abf5048b | 2911 | $as_echo "$as_me: error: cannot run C compiled programs. |
e24bcc77 AJ |
2912 | If you meant to cross compile, use \`--host'. |
2913 | See \`config.log' for more details." >&2;} | |
abf5048b | 2914 | { (exit 1); exit 1; }; }; } |
f5818d2f | 2915 | fi |
7e6ae4ba | 2916 | fi |
f5818d2f | 2917 | fi |
abf5048b AJ |
2918 | { $as_echo "$as_me:$LINENO: result: yes" >&5 |
2919 | $as_echo "yes" >&6; } | |
f5818d2f | 2920 | |
abf5048b | 2921 | rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out |
0ebeb530 JW |
2922 | ac_clean_files=$ac_clean_files_save |
2923 | # Check that the compiler produces executables we can run. If not, either | |
2924 | # the compiler is broken, or we cross compile. | |
abf5048b AJ |
2925 | { $as_echo "$as_me:$LINENO: checking whether we are cross compiling" >&5 |
2926 | $as_echo_n "checking whether we are cross compiling... " >&6; } | |
2927 | { $as_echo "$as_me:$LINENO: result: $cross_compiling" >&5 | |
2928 | $as_echo "$cross_compiling" >&6; } | |
fc6ffb29 | 2929 | |
abf5048b AJ |
2930 | { $as_echo "$as_me:$LINENO: checking for suffix of executables" >&5 |
2931 | $as_echo_n "checking for suffix of executables... " >&6; } | |
0ebeb530 JW |
2932 | if { (ac_try="$ac_link" |
2933 | case "(($ac_try" in | |
2934 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
2935 | *) ac_try_echo=$ac_try;; | |
2936 | esac | |
abf5048b AJ |
2937 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
2938 | $as_echo "$ac_try_echo") >&5 | |
0ebeb530 | 2939 | (eval "$ac_link") 2>&5 |
f5818d2f | 2940 | ac_status=$? |
abf5048b | 2941 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
f5818d2f | 2942 | (exit $ac_status); }; then |
0ebeb530 JW |
2943 | # If both `conftest.exe' and `conftest' are `present' (well, observable) |
2944 | # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will | |
2945 | # work properly (i.e., refer to `conftest.exe'), while it won't with | |
2946 | # `rm'. | |
2947 | for ac_file in conftest.exe conftest conftest.*; do | |
2948 | test -f "$ac_file" || continue | |
2949 | case $ac_file in | |
abf5048b | 2950 | *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;; |
0ebeb530 JW |
2951 | *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` |
2952 | break;; | |
2953 | * ) break;; | |
2954 | esac | |
2955 | done | |
da0cfb36 | 2956 | else |
abf5048b AJ |
2957 | { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5 |
2958 | $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} | |
2959 | { { $as_echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link | |
e24bcc77 | 2960 | See \`config.log' for more details." >&5 |
abf5048b | 2961 | $as_echo "$as_me: error: cannot compute suffix of executables: cannot compile and link |
e24bcc77 | 2962 | See \`config.log' for more details." >&2;} |
abf5048b | 2963 | { (exit 1); exit 1; }; }; } |
da0cfb36 | 2964 | fi |
da0cfb36 | 2965 | |
0ebeb530 | 2966 | rm -f conftest$ac_cv_exeext |
abf5048b AJ |
2967 | { $as_echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5 |
2968 | $as_echo "$ac_cv_exeext" >&6; } | |
0ebeb530 JW |
2969 | |
2970 | rm -f conftest.$ac_ext | |
f5818d2f AJ |
2971 | EXEEXT=$ac_cv_exeext |
2972 | ac_exeext=$EXEEXT | |
abf5048b AJ |
2973 | { $as_echo "$as_me:$LINENO: checking for suffix of object files" >&5 |
2974 | $as_echo_n "checking for suffix of object files... " >&6; } | |
f5818d2f | 2975 | if test "${ac_cv_objext+set}" = set; then |
abf5048b | 2976 | $as_echo_n "(cached) " >&6 |
e2991ea7 | 2977 | else |
0ebeb530 JW |
2978 | cat >conftest.$ac_ext <<_ACEOF |
2979 | /* confdefs.h. */ | |
2980 | _ACEOF | |
2981 | cat confdefs.h >>conftest.$ac_ext | |
2982 | cat >>conftest.$ac_ext <<_ACEOF | |
2983 | /* end confdefs.h. */ | |
2984 | ||
2985 | int | |
2986 | main () | |
2987 | { | |
2988 | ||
2989 | ; | |
2990 | return 0; | |
2991 | } | |
2992 | _ACEOF | |
2993 | rm -f conftest.o conftest.obj | |
2994 | if { (ac_try="$ac_compile" | |
2995 | case "(($ac_try" in | |
2996 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
2997 | *) ac_try_echo=$ac_try;; | |
2998 | esac | |
abf5048b AJ |
2999 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
3000 | $as_echo "$ac_try_echo") >&5 | |
0ebeb530 | 3001 | (eval "$ac_compile") 2>&5 |
f5818d2f | 3002 | ac_status=$? |
abf5048b | 3003 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
f5818d2f | 3004 | (exit $ac_status); }; then |
fc6ffb29 AJ |
3005 | for ac_file in conftest.o conftest.obj conftest.*; do |
3006 | test -f "$ac_file" || continue; | |
f5818d2f | 3007 | case $ac_file in |
abf5048b | 3008 | *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;; |
f5818d2f AJ |
3009 | *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'` |
3010 | break;; | |
3011 | esac | |
3012 | done | |
18ad24a7 | 3013 | else |
abf5048b | 3014 | $as_echo "$as_me: failed program was:" >&5 |
e24bcc77 AJ |
3015 | sed 's/^/| /' conftest.$ac_ext >&5 |
3016 | ||
abf5048b AJ |
3017 | { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5 |
3018 | $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} | |
3019 | { { $as_echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile | |
e24bcc77 | 3020 | See \`config.log' for more details." >&5 |
abf5048b | 3021 | $as_echo "$as_me: error: cannot compute suffix of object files: cannot compile |
e24bcc77 | 3022 | See \`config.log' for more details." >&2;} |
abf5048b | 3023 | { (exit 1); exit 1; }; }; } |
18ad24a7 EP |
3024 | fi |
3025 | ||
0ebeb530 | 3026 | rm -f conftest.$ac_cv_objext conftest.$ac_ext |
f5818d2f | 3027 | fi |
abf5048b AJ |
3028 | { $as_echo "$as_me:$LINENO: result: $ac_cv_objext" >&5 |
3029 | $as_echo "$ac_cv_objext" >&6; } | |
f5818d2f AJ |
3030 | OBJEXT=$ac_cv_objext |
3031 | ac_objext=$OBJEXT | |
abf5048b AJ |
3032 | { $as_echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5 |
3033 | $as_echo_n "checking whether we are using the GNU C compiler... " >&6; } | |
f5818d2f | 3034 | if test "${ac_cv_c_compiler_gnu+set}" = set; then |
abf5048b | 3035 | $as_echo_n "(cached) " >&6 |
e2991ea7 | 3036 | else |
f5818d2f | 3037 | cat >conftest.$ac_ext <<_ACEOF |
e24bcc77 AJ |
3038 | /* confdefs.h. */ |
3039 | _ACEOF | |
3040 | cat confdefs.h >>conftest.$ac_ext | |
3041 | cat >>conftest.$ac_ext <<_ACEOF | |
3042 | /* end confdefs.h. */ | |
f5818d2f AJ |
3043 | |
3044 | int | |
3045 | main () | |
3046 | { | |
3047 | #ifndef __GNUC__ | |
3048 | choke me | |
3049 | #endif | |
3050 | ||
3051 | ; | |
3052 | return 0; | |
3053 | } | |
3054 | _ACEOF | |
3055 | rm -f conftest.$ac_objext | |
0ebeb530 JW |
3056 | if { (ac_try="$ac_compile" |
3057 | case "(($ac_try" in | |
3058 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
3059 | *) ac_try_echo=$ac_try;; | |
3060 | esac | |
abf5048b AJ |
3061 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
3062 | $as_echo "$ac_try_echo") >&5 | |
0ebeb530 | 3063 | (eval "$ac_compile") 2>conftest.er1 |
f5818d2f | 3064 | ac_status=$? |
875927f6 AJ |
3065 | grep -v '^ *+' conftest.er1 >conftest.err |
3066 | rm -f conftest.er1 | |
3067 | cat conftest.err >&5 | |
abf5048b | 3068 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
dc9f3843 AJ |
3069 | (exit $ac_status); } && { |
3070 | test -z "$ac_c_werror_flag" || | |
3071 | test ! -s conftest.err | |
3072 | } && test -s conftest.$ac_objext; then | |
f5818d2f AJ |
3073 | ac_compiler_gnu=yes |
3074 | else | |
abf5048b | 3075 | $as_echo "$as_me: failed program was:" >&5 |
e24bcc77 AJ |
3076 | sed 's/^/| /' conftest.$ac_ext >&5 |
3077 | ||
fc6ffb29 | 3078 | ac_compiler_gnu=no |
f5818d2f | 3079 | fi |
fc6ffb29 | 3080 | |
0ebeb530 | 3081 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
f5818d2f AJ |
3082 | ac_cv_c_compiler_gnu=$ac_compiler_gnu |
3083 | ||
3084 | fi | |
abf5048b AJ |
3085 | { $as_echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5 |
3086 | $as_echo "$ac_cv_c_compiler_gnu" >&6; } | |
3087 | if test $ac_compiler_gnu = yes; then | |
3088 | GCC=yes | |
3089 | else | |
3090 | GCC= | |
3091 | fi | |
f5818d2f AJ |
3092 | ac_test_CFLAGS=${CFLAGS+set} |
3093 | ac_save_CFLAGS=$CFLAGS | |
abf5048b AJ |
3094 | { $as_echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5 |
3095 | $as_echo_n "checking whether $CC accepts -g... " >&6; } | |
f5818d2f | 3096 | if test "${ac_cv_prog_cc_g+set}" = set; then |
abf5048b | 3097 | $as_echo_n "(cached) " >&6 |
f5818d2f | 3098 | else |
fc6ffb29 AJ |
3099 | ac_save_c_werror_flag=$ac_c_werror_flag |
3100 | ac_c_werror_flag=yes | |
3101 | ac_cv_prog_cc_g=no | |
3102 | CFLAGS="-g" | |
3103 | cat >conftest.$ac_ext <<_ACEOF | |
3104 | /* confdefs.h. */ | |
3105 | _ACEOF | |
3106 | cat confdefs.h >>conftest.$ac_ext | |
3107 | cat >>conftest.$ac_ext <<_ACEOF | |
3108 | /* end confdefs.h. */ | |
3109 | ||
3110 | int | |
3111 | main () | |
3112 | { | |
3113 | ||
3114 | ; | |
3115 | return 0; | |
3116 | } | |
3117 | _ACEOF | |
3118 | rm -f conftest.$ac_objext | |
0ebeb530 JW |
3119 | if { (ac_try="$ac_compile" |
3120 | case "(($ac_try" in | |
3121 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
3122 | *) ac_try_echo=$ac_try;; | |
3123 | esac | |
abf5048b AJ |
3124 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
3125 | $as_echo "$ac_try_echo") >&5 | |
0ebeb530 | 3126 | (eval "$ac_compile") 2>conftest.er1 |
fc6ffb29 AJ |
3127 | ac_status=$? |
3128 | grep -v '^ *+' conftest.er1 >conftest.err | |
3129 | rm -f conftest.er1 | |
3130 | cat conftest.err >&5 | |
abf5048b | 3131 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
dc9f3843 AJ |
3132 | (exit $ac_status); } && { |
3133 | test -z "$ac_c_werror_flag" || | |
3134 | test ! -s conftest.err | |
3135 | } && test -s conftest.$ac_objext; then | |
fc6ffb29 AJ |
3136 | ac_cv_prog_cc_g=yes |
3137 | else | |
abf5048b | 3138 | $as_echo "$as_me: failed program was:" >&5 |
fc6ffb29 AJ |
3139 | sed 's/^/| /' conftest.$ac_ext >&5 |
3140 | ||
3141 | CFLAGS="" | |
3142 | cat >conftest.$ac_ext <<_ACEOF | |
3143 | /* confdefs.h. */ | |
3144 | _ACEOF | |
3145 | cat confdefs.h >>conftest.$ac_ext | |
3146 | cat >>conftest.$ac_ext <<_ACEOF | |
3147 | /* end confdefs.h. */ | |
3148 | ||
3149 | int | |
3150 | main () | |
3151 | { | |
3152 | ||
3153 | ; | |
3154 | return 0; | |
3155 | } | |
3156 | _ACEOF | |
3157 | rm -f conftest.$ac_objext | |
0ebeb530 JW |
3158 | if { (ac_try="$ac_compile" |
3159 | case "(($ac_try" in | |
3160 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
3161 | *) ac_try_echo=$ac_try;; | |
3162 | esac | |
abf5048b AJ |
3163 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
3164 | $as_echo "$ac_try_echo") >&5 | |
0ebeb530 | 3165 | (eval "$ac_compile") 2>conftest.er1 |
fc6ffb29 AJ |
3166 | ac_status=$? |
3167 | grep -v '^ *+' conftest.er1 >conftest.err | |
3168 | rm -f conftest.er1 | |
3169 | cat conftest.err >&5 | |
abf5048b | 3170 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
dc9f3843 AJ |
3171 | (exit $ac_status); } && { |
3172 | test -z "$ac_c_werror_flag" || | |
3173 | test ! -s conftest.err | |
3174 | } && test -s conftest.$ac_objext; then | |
fc6ffb29 AJ |
3175 | : |
3176 | else | |
abf5048b | 3177 | $as_echo "$as_me: failed program was:" >&5 |
fc6ffb29 AJ |
3178 | sed 's/^/| /' conftest.$ac_ext >&5 |
3179 | ||
3180 | ac_c_werror_flag=$ac_save_c_werror_flag | |
3181 | CFLAGS="-g" | |
3182 | cat >conftest.$ac_ext <<_ACEOF | |
e24bcc77 AJ |
3183 | /* confdefs.h. */ |
3184 | _ACEOF | |
3185 | cat confdefs.h >>conftest.$ac_ext | |
3186 | cat >>conftest.$ac_ext <<_ACEOF | |
3187 | /* end confdefs.h. */ | |
f5818d2f AJ |
3188 | |
3189 | int | |
3190 | main () | |
3191 | { | |
3192 | ||
3193 | ; | |
3194 | return 0; | |
3195 | } | |
3196 | _ACEOF | |
3197 | rm -f conftest.$ac_objext | |
0ebeb530 JW |
3198 | if { (ac_try="$ac_compile" |
3199 | case "(($ac_try" in | |
3200 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
3201 | *) ac_try_echo=$ac_try;; | |
3202 | esac | |
abf5048b AJ |
3203 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
3204 | $as_echo "$ac_try_echo") >&5 | |
0ebeb530 | 3205 | (eval "$ac_compile") 2>conftest.er1 |
f5818d2f | 3206 | ac_status=$? |
875927f6 AJ |
3207 | grep -v '^ *+' conftest.er1 >conftest.err |
3208 | rm -f conftest.er1 | |
3209 | cat conftest.err >&5 | |
abf5048b | 3210 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
dc9f3843 AJ |
3211 | (exit $ac_status); } && { |
3212 | test -z "$ac_c_werror_flag" || | |
3213 | test ! -s conftest.err | |
3214 | } && test -s conftest.$ac_objext; then | |
7e6ae4ba | 3215 | ac_cv_prog_cc_g=yes |
e2991ea7 | 3216 | else |
abf5048b | 3217 | $as_echo "$as_me: failed program was:" >&5 |
e24bcc77 AJ |
3218 | sed 's/^/| /' conftest.$ac_ext >&5 |
3219 | ||
fc6ffb29 AJ |
3220 | |
3221 | fi | |
3222 | ||
0ebeb530 | 3223 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
fc6ffb29 AJ |
3224 | fi |
3225 | ||
0ebeb530 | 3226 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
e2991ea7 | 3227 | fi |
fc6ffb29 | 3228 | |
0ebeb530 | 3229 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
fc6ffb29 | 3230 | ac_c_werror_flag=$ac_save_c_werror_flag |
e2991ea7 | 3231 | fi |
abf5048b AJ |
3232 | { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5 |
3233 | $as_echo "$ac_cv_prog_cc_g" >&6; } | |
18ad24a7 | 3234 | if test "$ac_test_CFLAGS" = set; then |
f5818d2f | 3235 | CFLAGS=$ac_save_CFLAGS |
18ad24a7 EP |
3236 | elif test $ac_cv_prog_cc_g = yes; then |
3237 | if test "$GCC" = yes; then | |
da0cfb36 AJ |
3238 | CFLAGS="-g -O2" |
3239 | else | |
18ad24a7 | 3240 | CFLAGS="-g" |
e2991ea7 AJ |
3241 | fi |
3242 | else | |
18ad24a7 EP |
3243 | if test "$GCC" = yes; then |
3244 | CFLAGS="-O2" | |
3245 | else | |
3246 | CFLAGS= | |
3247 | fi | |
e2991ea7 | 3248 | fi |
abf5048b AJ |
3249 | { $as_echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5 |
3250 | $as_echo_n "checking for $CC option to accept ISO C89... " >&6; } | |
fc6ffb29 | 3251 | if test "${ac_cv_prog_cc_c89+set}" = set; then |
abf5048b | 3252 | $as_echo_n "(cached) " >&6 |
11af04e3 | 3253 | else |
fc6ffb29 | 3254 | ac_cv_prog_cc_c89=no |
11af04e3 AJ |
3255 | ac_save_CC=$CC |
3256 | cat >conftest.$ac_ext <<_ACEOF | |
e24bcc77 AJ |
3257 | /* confdefs.h. */ |
3258 | _ACEOF | |
3259 | cat confdefs.h >>conftest.$ac_ext | |
3260 | cat >>conftest.$ac_ext <<_ACEOF | |
3261 | /* end confdefs.h. */ | |
11af04e3 AJ |
3262 | #include <stdarg.h> |
3263 | #include <stdio.h> | |
3264 | #include <sys/types.h> | |
3265 | #include <sys/stat.h> | |
3266 | /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */ | |
3267 | struct buf { int x; }; | |
3268 | FILE * (*rcsopen) (struct buf *, struct stat *, int); | |
3269 | static char *e (p, i) | |
3270 | char **p; | |
3271 | int i; | |
3272 | { | |
3273 | return p[i]; | |
3274 | } | |
3275 | static char *f (char * (*g) (char **, int), char **p, ...) | |
3276 | { | |
3277 | char *s; | |
3278 | va_list v; | |
3279 | va_start (v,p); | |
3280 | s = g (p, va_arg (v,int)); | |
3281 | va_end (v); | |
3282 | return s; | |
3283 | } | |
875927f6 AJ |
3284 | |
3285 | /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has | |
3286 | function prototypes and stuff, but not '\xHH' hex character constants. | |
3287 | These don't provoke an error unfortunately, instead are silently treated | |
fc6ffb29 | 3288 | as 'x'. The following induces an error, until -std is added to get |
875927f6 AJ |
3289 | proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an |
3290 | array size at least. It's necessary to write '\x00'==0 to get something | |
fc6ffb29 | 3291 | that's true only with -std. */ |
875927f6 AJ |
3292 | int osf4_cc_array ['\x00' == 0 ? 1 : -1]; |
3293 | ||
f5f37a85 AJ |
3294 | /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters |
3295 | inside strings and character constants. */ | |
3296 | #define FOO(x) 'x' | |
3297 | int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1]; | |
3298 | ||
11af04e3 AJ |
3299 | int test (int i, double x); |
3300 | struct s1 {int (*f) (int a);}; | |
3301 | struct s2 {int (*f) (double a);}; | |
3302 | int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int); | |
3303 | int argc; | |
3304 | char **argv; | |
3305 | int | |
3306 | main () | |
3307 | { | |
3308 | return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]; | |
3309 | ; | |
3310 | return 0; | |
3311 | } | |
3312 | _ACEOF | |
fc6ffb29 AJ |
3313 | for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \ |
3314 | -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" | |
11af04e3 AJ |
3315 | do |
3316 | CC="$ac_save_CC $ac_arg" | |
3317 | rm -f conftest.$ac_objext | |
0ebeb530 JW |
3318 | if { (ac_try="$ac_compile" |
3319 | case "(($ac_try" in | |
3320 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
3321 | *) ac_try_echo=$ac_try;; | |
3322 | esac | |
abf5048b AJ |
3323 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
3324 | $as_echo "$ac_try_echo") >&5 | |
0ebeb530 | 3325 | (eval "$ac_compile") 2>conftest.er1 |
11af04e3 | 3326 | ac_status=$? |
875927f6 AJ |
3327 | grep -v '^ *+' conftest.er1 >conftest.err |
3328 | rm -f conftest.er1 | |
3329 | cat conftest.err >&5 | |
abf5048b | 3330 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
dc9f3843 AJ |
3331 | (exit $ac_status); } && { |
3332 | test -z "$ac_c_werror_flag" || | |
3333 | test ! -s conftest.err | |
3334 | } && test -s conftest.$ac_objext; then | |
fc6ffb29 | 3335 | ac_cv_prog_cc_c89=$ac_arg |
11af04e3 | 3336 | else |
abf5048b | 3337 | $as_echo "$as_me: failed program was:" >&5 |
e24bcc77 AJ |
3338 | sed 's/^/| /' conftest.$ac_ext >&5 |
3339 | ||
fc6ffb29 | 3340 | |
11af04e3 | 3341 | fi |
fc6ffb29 | 3342 | |
0ebeb530 | 3343 | rm -f core conftest.err conftest.$ac_objext |
fc6ffb29 | 3344 | test "x$ac_cv_prog_cc_c89" != "xno" && break |
11af04e3 | 3345 | done |
fc6ffb29 | 3346 | rm -f conftest.$ac_ext |
11af04e3 AJ |
3347 | CC=$ac_save_CC |
3348 | ||
3349 | fi | |
fc6ffb29 AJ |
3350 | # AC_CACHE_VAL |
3351 | case "x$ac_cv_prog_cc_c89" in | |
3352 | x) | |
abf5048b AJ |
3353 | { $as_echo "$as_me:$LINENO: result: none needed" >&5 |
3354 | $as_echo "none needed" >&6; } ;; | |
fc6ffb29 | 3355 | xno) |
abf5048b AJ |
3356 | { $as_echo "$as_me:$LINENO: result: unsupported" >&5 |
3357 | $as_echo "unsupported" >&6; } ;; | |
11af04e3 | 3358 | *) |
fc6ffb29 | 3359 | CC="$CC $ac_cv_prog_cc_c89" |
abf5048b AJ |
3360 | { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5 |
3361 | $as_echo "$ac_cv_prog_cc_c89" >&6; } ;; | |
11af04e3 AJ |
3362 | esac |
3363 | ||
e24bcc77 | 3364 | |
f5818d2f AJ |
3365 | ac_ext=c |
3366 | ac_cpp='$CPP $CPPFLAGS' | |
3367 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' | |
3368 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' | |
3369 | ac_compiler_gnu=$ac_cv_c_compiler_gnu | |
e2991ea7 | 3370 | |
fc6ffb29 | 3371 | ac_ext=cpp |
f41c2b21 DP |
3372 | ac_cpp='$CXXCPP $CPPFLAGS' |
3373 | ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' | |
3374 | ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' | |
3375 | ac_compiler_gnu=$ac_cv_cxx_compiler_gnu | |
fc6ffb29 AJ |
3376 | if test -z "$CXX"; then |
3377 | if test -n "$CCC"; then | |
3378 | CXX=$CCC | |
3379 | else | |
3380 | if test -n "$ac_tool_prefix"; then | |
3381 | for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC | |
f41c2b21 DP |
3382 | do |
3383 | # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. | |
3384 | set dummy $ac_tool_prefix$ac_prog; ac_word=$2 | |
abf5048b AJ |
3385 | { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 |
3386 | $as_echo_n "checking for $ac_word... " >&6; } | |
f41c2b21 | 3387 | if test "${ac_cv_prog_CXX+set}" = set; then |
abf5048b | 3388 | $as_echo_n "(cached) " >&6 |
f41c2b21 DP |
3389 | else |
3390 | if test -n "$CXX"; then | |
3391 | ac_cv_prog_CXX="$CXX" # Let the user override the test. | |
3392 | else | |
3393 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | |
3394 | for as_dir in $PATH | |
3395 | do | |
3396 | IFS=$as_save_IFS | |
3397 | test -z "$as_dir" && as_dir=. | |
3398 | for ac_exec_ext in '' $ac_executable_extensions; do | |
dc9f3843 | 3399 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
f41c2b21 | 3400 | ac_cv_prog_CXX="$ac_tool_prefix$ac_prog" |
abf5048b | 3401 | $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
f41c2b21 DP |
3402 | break 2 |
3403 | fi | |
3404 | done | |
3405 | done | |
fc6ffb29 | 3406 | IFS=$as_save_IFS |
f41c2b21 DP |
3407 | |
3408 | fi | |
3409 | fi | |
3410 | CXX=$ac_cv_prog_CXX | |
3411 | if test -n "$CXX"; then | |
abf5048b AJ |
3412 | { $as_echo "$as_me:$LINENO: result: $CXX" >&5 |
3413 | $as_echo "$CXX" >&6; } | |
f41c2b21 | 3414 | else |
abf5048b AJ |
3415 | { $as_echo "$as_me:$LINENO: result: no" >&5 |
3416 | $as_echo "no" >&6; } | |
f41c2b21 DP |
3417 | fi |
3418 | ||
fc6ffb29 | 3419 | |
f41c2b21 DP |
3420 | test -n "$CXX" && break |
3421 | done | |
3422 | fi | |
3423 | if test -z "$CXX"; then | |
3424 | ac_ct_CXX=$CXX | |
fc6ffb29 | 3425 | for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC |
f41c2b21 DP |
3426 | do |
3427 | # Extract the first word of "$ac_prog", so it can be a program name with args. | |
3428 | set dummy $ac_prog; ac_word=$2 | |
abf5048b AJ |
3429 | { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 |
3430 | $as_echo_n "checking for $ac_word... " >&6; } | |
f41c2b21 | 3431 | if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then |
abf5048b | 3432 | $as_echo_n "(cached) " >&6 |
f41c2b21 DP |
3433 | else |
3434 | if test -n "$ac_ct_CXX"; then | |
3435 | ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test. | |
3436 | else | |
3437 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | |
3438 | for as_dir in $PATH | |
3439 | do | |
3440 | IFS=$as_save_IFS | |
3441 | test -z "$as_dir" && as_dir=. | |
3442 | for ac_exec_ext in '' $ac_executable_extensions; do | |
dc9f3843 | 3443 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
f41c2b21 | 3444 | ac_cv_prog_ac_ct_CXX="$ac_prog" |
abf5048b | 3445 | $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
f41c2b21 DP |
3446 | break 2 |
3447 | fi | |
3448 | done | |
3449 | done | |
fc6ffb29 | 3450 | IFS=$as_save_IFS |
f41c2b21 DP |
3451 | |
3452 | fi | |
3453 | fi | |
3454 | ac_ct_CXX=$ac_cv_prog_ac_ct_CXX | |
3455 | if test -n "$ac_ct_CXX"; then | |
abf5048b AJ |
3456 | { $as_echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5 |
3457 | $as_echo "$ac_ct_CXX" >&6; } | |
f41c2b21 | 3458 | else |
abf5048b AJ |
3459 | { $as_echo "$as_me:$LINENO: result: no" >&5 |
3460 | $as_echo "no" >&6; } | |
f41c2b21 DP |
3461 | fi |
3462 | ||
fc6ffb29 | 3463 | |
f41c2b21 DP |
3464 | test -n "$ac_ct_CXX" && break |
3465 | done | |
f41c2b21 | 3466 | |
fc6ffb29 AJ |
3467 | if test "x$ac_ct_CXX" = x; then |
3468 | CXX="g++" | |
3469 | else | |
3470 | case $cross_compiling:$ac_tool_warned in | |
3471 | yes:) | |
abf5048b AJ |
3472 | { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5 |
3473 | $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} | |
fc6ffb29 AJ |
3474 | ac_tool_warned=yes ;; |
3475 | esac | |
3476 | CXX=$ac_ct_CXX | |
3477 | fi | |
f41c2b21 DP |
3478 | fi |
3479 | ||
fc6ffb29 AJ |
3480 | fi |
3481 | fi | |
f41c2b21 | 3482 | # Provide some information about the compiler. |
abf5048b AJ |
3483 | $as_echo "$as_me:$LINENO: checking for C++ compiler version" >&5 |
3484 | set X $ac_compile | |
3485 | ac_compiler=$2 | |
0ebeb530 JW |
3486 | { (ac_try="$ac_compiler --version >&5" |
3487 | case "(($ac_try" in | |
3488 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
3489 | *) ac_try_echo=$ac_try;; | |
3490 | esac | |
abf5048b AJ |
3491 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
3492 | $as_echo "$ac_try_echo") >&5 | |
0ebeb530 | 3493 | (eval "$ac_compiler --version >&5") 2>&5 |
f41c2b21 | 3494 | ac_status=$? |
abf5048b | 3495 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
f41c2b21 | 3496 | (exit $ac_status); } |
0ebeb530 JW |
3497 | { (ac_try="$ac_compiler -v >&5" |
3498 | case "(($ac_try" in | |
3499 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
3500 | *) ac_try_echo=$ac_try;; | |
3501 | esac | |
abf5048b AJ |
3502 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
3503 | $as_echo "$ac_try_echo") >&5 | |
0ebeb530 | 3504 | (eval "$ac_compiler -v >&5") 2>&5 |
f41c2b21 | 3505 | ac_status=$? |
abf5048b | 3506 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
f41c2b21 | 3507 | (exit $ac_status); } |
0ebeb530 JW |
3508 | { (ac_try="$ac_compiler -V >&5" |
3509 | case "(($ac_try" in | |
3510 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
3511 | *) ac_try_echo=$ac_try;; | |
3512 | esac | |
abf5048b AJ |
3513 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
3514 | $as_echo "$ac_try_echo") >&5 | |
0ebeb530 | 3515 | (eval "$ac_compiler -V >&5") 2>&5 |
f41c2b21 | 3516 | ac_status=$? |
abf5048b | 3517 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
f41c2b21 DP |
3518 | (exit $ac_status); } |
3519 | ||
abf5048b AJ |
3520 | { $as_echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5 |
3521 | $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; } | |
f41c2b21 | 3522 | if test "${ac_cv_cxx_compiler_gnu+set}" = set; then |
abf5048b | 3523 | $as_echo_n "(cached) " >&6 |
f41c2b21 DP |
3524 | else |
3525 | cat >conftest.$ac_ext <<_ACEOF | |
3526 | /* confdefs.h. */ | |
3527 | _ACEOF | |
3528 | cat confdefs.h >>conftest.$ac_ext | |
3529 | cat >>conftest.$ac_ext <<_ACEOF | |
3530 | /* end confdefs.h. */ | |
3531 | ||
3532 | int | |
3533 | main () | |
3534 | { | |
3535 | #ifndef __GNUC__ | |
3536 | choke me | |
3537 | #endif | |
3538 | ||
3539 | ; | |
3540 | return 0; | |
3541 | } | |
3542 | _ACEOF | |
3543 | rm -f conftest.$ac_objext | |
0ebeb530 JW |
3544 | if { (ac_try="$ac_compile" |
3545 | case "(($ac_try" in | |
3546 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
3547 | *) ac_try_echo=$ac_try;; | |
3548 | esac | |
abf5048b AJ |
3549 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
3550 | $as_echo "$ac_try_echo") >&5 | |
0ebeb530 | 3551 | (eval "$ac_compile") 2>conftest.er1 |
f41c2b21 DP |
3552 | ac_status=$? |
3553 | grep -v '^ *+' conftest.er1 >conftest.err | |
3554 | rm -f conftest.er1 | |
3555 | cat conftest.err >&5 | |
abf5048b | 3556 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
dc9f3843 AJ |
3557 | (exit $ac_status); } && { |
3558 | test -z "$ac_cxx_werror_flag" || | |
3559 | test ! -s conftest.err | |
3560 | } && test -s conftest.$ac_objext; then | |
f41c2b21 DP |
3561 | ac_compiler_gnu=yes |
3562 | else | |
abf5048b | 3563 | $as_echo "$as_me: failed program was:" >&5 |
f41c2b21 DP |
3564 | sed 's/^/| /' conftest.$ac_ext >&5 |
3565 | ||
fc6ffb29 | 3566 | ac_compiler_gnu=no |
f41c2b21 | 3567 | fi |
fc6ffb29 | 3568 | |
0ebeb530 | 3569 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
f41c2b21 DP |
3570 | ac_cv_cxx_compiler_gnu=$ac_compiler_gnu |
3571 | ||
3572 | fi | |
abf5048b AJ |
3573 | { $as_echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5 |
3574 | $as_echo "$ac_cv_cxx_compiler_gnu" >&6; } | |
3575 | if test $ac_compiler_gnu = yes; then | |
3576 | GXX=yes | |
3577 | else | |
3578 | GXX= | |
3579 | fi | |
f41c2b21 DP |
3580 | ac_test_CXXFLAGS=${CXXFLAGS+set} |
3581 | ac_save_CXXFLAGS=$CXXFLAGS | |
abf5048b AJ |
3582 | { $as_echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5 |
3583 | $as_echo_n "checking whether $CXX accepts -g... " >&6; } | |
f41c2b21 | 3584 | if test "${ac_cv_prog_cxx_g+set}" = set; then |
abf5048b | 3585 | $as_echo_n "(cached) " >&6 |
f41c2b21 | 3586 | else |
fc6ffb29 AJ |
3587 | ac_save_cxx_werror_flag=$ac_cxx_werror_flag |
3588 | ac_cxx_werror_flag=yes | |
3589 | ac_cv_prog_cxx_g=no | |
3590 | CXXFLAGS="-g" | |
3591 | cat >conftest.$ac_ext <<_ACEOF | |
f41c2b21 DP |
3592 | /* confdefs.h. */ |
3593 | _ACEOF | |
3594 | cat confdefs.h >>conftest.$ac_ext | |
3595 | cat >>conftest.$ac_ext <<_ACEOF | |
3596 | /* end confdefs.h. */ | |
3597 | ||
3598 | int | |
3599 | main () | |
3600 | { | |
3601 | ||
3602 | ; | |
3603 | return 0; | |
3604 | } | |
3605 | _ACEOF | |
3606 | rm -f conftest.$ac_objext | |
0ebeb530 JW |
3607 | if { (ac_try="$ac_compile" |
3608 | case "(($ac_try" in | |
3609 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
3610 | *) ac_try_echo=$ac_try;; | |
3611 | esac | |
abf5048b AJ |
3612 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
3613 | $as_echo "$ac_try_echo") >&5 | |
0ebeb530 | 3614 | (eval "$ac_compile") 2>conftest.er1 |
f41c2b21 DP |
3615 | ac_status=$? |
3616 | grep -v '^ *+' conftest.er1 >conftest.err | |
3617 | rm -f conftest.er1 | |
3618 | cat conftest.err >&5 | |
abf5048b | 3619 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
dc9f3843 AJ |
3620 | (exit $ac_status); } && { |
3621 | test -z "$ac_cxx_werror_flag" || | |
3622 | test ! -s conftest.err | |
3623 | } && test -s conftest.$ac_objext; then | |
f41c2b21 DP |
3624 | ac_cv_prog_cxx_g=yes |
3625 | else | |
abf5048b | 3626 | $as_echo "$as_me: failed program was:" >&5 |
f41c2b21 DP |
3627 | sed 's/^/| /' conftest.$ac_ext >&5 |
3628 | ||
fc6ffb29 AJ |
3629 | CXXFLAGS="" |
3630 | cat >conftest.$ac_ext <<_ACEOF | |
f41c2b21 DP |
3631 | /* confdefs.h. */ |
3632 | _ACEOF | |
3633 | cat confdefs.h >>conftest.$ac_ext | |
3634 | cat >>conftest.$ac_ext <<_ACEOF | |
3635 | /* end confdefs.h. */ | |
fc6ffb29 | 3636 | |
f41c2b21 DP |
3637 | int |
3638 | main () | |
3639 | { | |
fc6ffb29 | 3640 | |
f41c2b21 DP |
3641 | ; |
3642 | return 0; | |
3643 | } | |
3644 | _ACEOF | |
3645 | rm -f conftest.$ac_objext | |
0ebeb530 JW |
3646 | if { (ac_try="$ac_compile" |
3647 | case "(($ac_try" in | |
3648 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
3649 | *) ac_try_echo=$ac_try;; | |
3650 | esac | |
abf5048b AJ |
3651 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
3652 | $as_echo "$ac_try_echo") >&5 | |
0ebeb530 | 3653 | (eval "$ac_compile") 2>conftest.er1 |
f41c2b21 DP |
3654 | ac_status=$? |
3655 | grep -v '^ *+' conftest.er1 >conftest.err | |
3656 | rm -f conftest.er1 | |
3657 | cat conftest.err >&5 | |
abf5048b | 3658 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
dc9f3843 AJ |
3659 | (exit $ac_status); } && { |
3660 | test -z "$ac_cxx_werror_flag" || | |
3661 | test ! -s conftest.err | |
3662 | } && test -s conftest.$ac_objext; then | |
f41c2b21 DP |
3663 | : |
3664 | else | |
abf5048b | 3665 | $as_echo "$as_me: failed program was:" >&5 |
f41c2b21 DP |
3666 | sed 's/^/| /' conftest.$ac_ext >&5 |
3667 | ||
fc6ffb29 AJ |
3668 | ac_cxx_werror_flag=$ac_save_cxx_werror_flag |
3669 | CXXFLAGS="-g" | |
3670 | cat >conftest.$ac_ext <<_ACEOF | |
f41c2b21 DP |
3671 | /* confdefs.h. */ |
3672 | _ACEOF | |
3673 | cat confdefs.h >>conftest.$ac_ext | |
3674 | cat >>conftest.$ac_ext <<_ACEOF | |
3675 | /* end confdefs.h. */ | |
fc6ffb29 | 3676 | |
f41c2b21 DP |
3677 | int |
3678 | main () | |
3679 | { | |
fc6ffb29 | 3680 | |
f41c2b21 DP |
3681 | ; |
3682 | return 0; | |
3683 | } | |
3684 | _ACEOF | |
3685 | rm -f conftest.$ac_objext | |
0ebeb530 JW |
3686 | if { (ac_try="$ac_compile" |
3687 | case "(($ac_try" in | |
3688 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
3689 | *) ac_try_echo=$ac_try;; | |
3690 | esac | |
abf5048b AJ |
3691 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
3692 | $as_echo "$ac_try_echo") >&5 | |
0ebeb530 | 3693 | (eval "$ac_compile") 2>conftest.er1 |
f41c2b21 DP |
3694 | ac_status=$? |
3695 | grep -v '^ *+' conftest.er1 >conftest.err | |
3696 | rm -f conftest.er1 | |
3697 | cat conftest.err >&5 | |
abf5048b | 3698 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
dc9f3843 AJ |
3699 | (exit $ac_status); } && { |
3700 | test -z "$ac_cxx_werror_flag" || | |
3701 | test ! -s conftest.err | |
3702 | } && test -s conftest.$ac_objext; then | |
fc6ffb29 | 3703 | ac_cv_prog_cxx_g=yes |
f41c2b21 | 3704 | else |
abf5048b | 3705 | $as_echo "$as_me: failed program was:" >&5 |
f41c2b21 DP |
3706 | sed 's/^/| /' conftest.$ac_ext >&5 |
3707 | ||
fc6ffb29 | 3708 | |
f41c2b21 | 3709 | fi |
fc6ffb29 | 3710 | |
0ebeb530 | 3711 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
fc6ffb29 AJ |
3712 | fi |
3713 | ||
0ebeb530 | 3714 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
f41c2b21 DP |
3715 | fi |
3716 | ||
0ebeb530 | 3717 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
fc6ffb29 AJ |
3718 | ac_cxx_werror_flag=$ac_save_cxx_werror_flag |
3719 | fi | |
abf5048b AJ |
3720 | { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5 |
3721 | $as_echo "$ac_cv_prog_cxx_g" >&6; } | |
fc6ffb29 AJ |
3722 | if test "$ac_test_CXXFLAGS" = set; then |
3723 | CXXFLAGS=$ac_save_CXXFLAGS | |
3724 | elif test $ac_cv_prog_cxx_g = yes; then | |
3725 | if test "$GXX" = yes; then | |
3726 | CXXFLAGS="-g -O2" | |
3727 | else | |
3728 | CXXFLAGS="-g" | |
3729 | fi | |
3730 | else | |
3731 | if test "$GXX" = yes; then | |
3732 | CXXFLAGS="-O2" | |
3733 | else | |
3734 | CXXFLAGS= | |
3735 | fi | |
3736 | fi | |
f41c2b21 DP |
3737 | ac_ext=c |
3738 | ac_cpp='$CPP $CPPFLAGS' | |
3739 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' | |
3740 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' | |
3741 | ac_compiler_gnu=$ac_cv_c_compiler_gnu | |
3742 | ||
3e61ef7d AJ |
3743 | if test -n "$ac_tool_prefix"; then |
3744 | # Extract the first word of "${ac_tool_prefix}cpp", so it can be a program name with args. | |
3745 | set dummy ${ac_tool_prefix}cpp; ac_word=$2 | |
abf5048b AJ |
3746 | { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 |
3747 | $as_echo_n "checking for $ac_word... " >&6; } | |
a631ef63 | 3748 | if test "${ac_cv_prog_CPPBIN+set}" = set; then |
abf5048b | 3749 | $as_echo_n "(cached) " >&6 |
f41c2b21 | 3750 | else |
a631ef63 AJ |
3751 | if test -n "$CPPBIN"; then |
3752 | ac_cv_prog_CPPBIN="$CPPBIN" # Let the user override the test. | |
f41c2b21 DP |
3753 | else |
3754 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | |
3755 | for as_dir in $PATH | |
3756 | do | |
3757 | IFS=$as_save_IFS | |
3758 | test -z "$as_dir" && as_dir=. | |
3759 | for ac_exec_ext in '' $ac_executable_extensions; do | |
dc9f3843 | 3760 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
a631ef63 | 3761 | ac_cv_prog_CPPBIN="${ac_tool_prefix}cpp" |
abf5048b | 3762 | $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
f41c2b21 DP |
3763 | break 2 |
3764 | fi | |
3765 | done | |
3766 | done | |
fc6ffb29 | 3767 | IFS=$as_save_IFS |
f41c2b21 DP |
3768 | |
3769 | fi | |
3770 | fi | |
a631ef63 AJ |
3771 | CPPBIN=$ac_cv_prog_CPPBIN |
3772 | if test -n "$CPPBIN"; then | |
abf5048b AJ |
3773 | { $as_echo "$as_me:$LINENO: result: $CPPBIN" >&5 |
3774 | $as_echo "$CPPBIN" >&6; } | |
f41c2b21 | 3775 | else |
abf5048b AJ |
3776 | { $as_echo "$as_me:$LINENO: result: no" >&5 |
3777 | $as_echo "no" >&6; } | |
f41c2b21 DP |
3778 | fi |
3779 | ||
fc6ffb29 | 3780 | |
3e61ef7d | 3781 | fi |
a631ef63 AJ |
3782 | if test -z "$ac_cv_prog_CPPBIN"; then |
3783 | ac_ct_CPPBIN=$CPPBIN | |
3e61ef7d AJ |
3784 | # Extract the first word of "cpp", so it can be a program name with args. |
3785 | set dummy cpp; ac_word=$2 | |
abf5048b AJ |
3786 | { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 |
3787 | $as_echo_n "checking for $ac_word... " >&6; } | |
a631ef63 | 3788 | if test "${ac_cv_prog_ac_ct_CPPBIN+set}" = set; then |
abf5048b | 3789 | $as_echo_n "(cached) " >&6 |
3e61ef7d | 3790 | else |
a631ef63 AJ |
3791 | if test -n "$ac_ct_CPPBIN"; then |
3792 | ac_cv_prog_ac_ct_CPPBIN="$ac_ct_CPPBIN" # Let the user override the test. | |
3e61ef7d AJ |
3793 | else |
3794 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | |
3795 | for as_dir in $PATH | |
3796 | do | |
3797 | IFS=$as_save_IFS | |
3798 | test -z "$as_dir" && as_dir=. | |
3799 | for ac_exec_ext in '' $ac_executable_extensions; do | |
dc9f3843 | 3800 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
a631ef63 | 3801 | ac_cv_prog_ac_ct_CPPBIN="cpp" |
abf5048b | 3802 | $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
3e61ef7d AJ |
3803 | break 2 |
3804 | fi | |
3805 | done | |
3806 | done | |
fc6ffb29 | 3807 | IFS=$as_save_IFS |
3e61ef7d | 3808 | |
3e61ef7d AJ |
3809 | fi |
3810 | fi | |
a631ef63 AJ |
3811 | ac_ct_CPPBIN=$ac_cv_prog_ac_ct_CPPBIN |
3812 | if test -n "$ac_ct_CPPBIN"; then | |
abf5048b AJ |
3813 | { $as_echo "$as_me:$LINENO: result: $ac_ct_CPPBIN" >&5 |
3814 | $as_echo "$ac_ct_CPPBIN" >&6; } | |
3e61ef7d | 3815 | else |
abf5048b AJ |
3816 | { $as_echo "$as_me:$LINENO: result: no" >&5 |
3817 | $as_echo "no" >&6; } | |
3e61ef7d AJ |
3818 | fi |
3819 | ||
fc6ffb29 AJ |
3820 | if test "x$ac_ct_CPPBIN" = x; then |
3821 | CPPBIN="cpp" | |
3822 | else | |
3823 | case $cross_compiling:$ac_tool_warned in | |
3824 | yes:) | |
abf5048b AJ |
3825 | { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5 |
3826 | $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} | |
fc6ffb29 AJ |
3827 | ac_tool_warned=yes ;; |
3828 | esac | |
3829 | CPPBIN=$ac_ct_CPPBIN | |
3830 | fi | |
3e61ef7d | 3831 | else |
a631ef63 | 3832 | CPPBIN="$ac_cv_prog_CPPBIN" |
3e61ef7d AJ |
3833 | fi |
3834 | ||
f41c2b21 | 3835 | |
abf5048b AJ |
3836 | { $as_echo "$as_me:$LINENO: checking for the directory containing the Wine tools" >&5 |
3837 | $as_echo_n "checking for the directory containing the Wine tools... " >&6; } | |
f41c2b21 | 3838 | if test "${wine_cv_toolsdir+set}" = set; then |
abf5048b | 3839 | $as_echo_n "(cached) " >&6 |
f41c2b21 DP |
3840 | else |
3841 | if test -z "$with_wine_tools"; then | |
3842 | if test "$cross_compiling" = "yes"; then | |
abf5048b AJ |
3843 | { { $as_echo "$as_me:$LINENO: error: you must use the --with-wine-tools option when cross-compiling." >&5 |
3844 | $as_echo "$as_me: error: you must use the --with-wine-tools option when cross-compiling." >&2;} | |
f41c2b21 DP |
3845 | { (exit 1); exit 1; }; } |
3846 | else | |
3847 | wine_cv_toolsdir="\$(TOPOBJDIR)" | |
3848 | fi | |
3849 | elif test -d "$with_wine_tools/tools/winebuild"; then | |
3850 | case $with_wine_tools in | |
3851 | /*) wine_cv_toolsdir="$with_wine_tools" ;; | |
3852 | *) wine_cv_toolsdir="\$(TOPOBJDIR)/$with_wine_tools" ;; | |
3853 | esac | |
3854 | else | |
abf5048b AJ |
3855 | { { $as_echo "$as_me:$LINENO: error: could not find Wine tools in $with_wine_tools." >&5 |
3856 | $as_echo "$as_me: error: could not find Wine tools in $with_wine_tools." >&2;} | |
f41c2b21 DP |
3857 | { (exit 1); exit 1; }; } |
3858 | fi | |
3859 | fi | |
abf5048b AJ |
3860 | { $as_echo "$as_me:$LINENO: result: $wine_cv_toolsdir" >&5 |
3861 | $as_echo "$wine_cv_toolsdir" >&6; } | |
f41c2b21 DP |
3862 | TOOLSDIR=$wine_cv_toolsdir |
3863 | ||
3864 | ||
3865 | ||
f5818d2f AJ |
3866 | ac_ext=c |
3867 | ac_cpp='$CPP $CPPFLAGS' | |
3868 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' | |
3869 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' | |
3870 | ac_compiler_gnu=$ac_cv_c_compiler_gnu | |
abf5048b AJ |
3871 | { $as_echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5 |
3872 | $as_echo_n "checking how to run the C preprocessor... " >&6; } | |
e2991ea7 AJ |
3873 | # On Suns, sometimes $CPP names a directory. |
3874 | if test -n "$CPP" && test -d "$CPP"; then | |
3875 | CPP= | |
3876 | fi | |
3877 | if test -z "$CPP"; then | |
f5818d2f | 3878 | if test "${ac_cv_prog_CPP+set}" = set; then |
abf5048b | 3879 | $as_echo_n "(cached) " >&6 |
f5818d2f AJ |
3880 | else |
3881 | # Double quotes because CPP needs to be expanded | |
3882 | for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp" | |
3883 | do | |
3884 | ac_preproc_ok=false | |
3885 | for ac_c_preproc_warn_flag in '' yes | |
3886 | do | |
3887 | # Use a header file that comes with gcc, so configuring glibc | |
3888 | # with a fresh cross-compiler works. | |
e24bcc77 AJ |
3889 | # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since |
3890 | # <limits.h> exists even on freestanding compilers. | |
e2991ea7 | 3891 | # On the NeXT, cc -E runs the code through the compiler's parser, |
f5818d2f AJ |
3892 | # not just through cpp. "Syntax error" is here to catch this case. |
3893 | cat >conftest.$ac_ext <<_ACEOF | |
e24bcc77 AJ |
3894 | /* confdefs.h. */ |
3895 | _ACEOF | |
3896 | cat confdefs.h >>conftest.$ac_ext | |
3897 | cat >>conftest.$ac_ext <<_ACEOF | |
3898 | /* end confdefs.h. */ | |
3899 | #ifdef __STDC__ | |
3900 | # include <limits.h> | |
3901 | #else | |
3902 | # include <assert.h> | |
3903 | #endif | |
875927f6 | 3904 | Syntax error |
f5818d2f | 3905 | _ACEOF |
0ebeb530 JW |
3906 | if { (ac_try="$ac_cpp conftest.$ac_ext" |
3907 | case "(($ac_try" in | |
3908 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
3909 | *) ac_try_echo=$ac_try;; | |
3910 | esac | |
abf5048b AJ |
3911 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
3912 | $as_echo "$ac_try_echo") >&5 | |
0ebeb530 | 3913 | (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 |
f5818d2f | 3914 | ac_status=$? |
11af04e3 | 3915 | grep -v '^ *+' conftest.er1 >conftest.err |
f5818d2f AJ |
3916 | rm -f conftest.er1 |
3917 | cat conftest.err >&5 | |
abf5048b | 3918 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
dc9f3843 AJ |
3919 | (exit $ac_status); } >/dev/null && { |
3920 | test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || | |
3921 | test ! -s conftest.err | |
3922 | }; then | |
e2991ea7 AJ |
3923 | : |
3924 | else | |
abf5048b | 3925 | $as_echo "$as_me: failed program was:" >&5 |
e24bcc77 AJ |
3926 | sed 's/^/| /' conftest.$ac_ext >&5 |
3927 | ||
f5818d2f AJ |
3928 | # Broken: fails on valid input. |
3929 | continue | |
3930 | fi | |
fc6ffb29 | 3931 | |
f5818d2f AJ |
3932 | rm -f conftest.err conftest.$ac_ext |
3933 | ||
fc6ffb29 | 3934 | # OK, works on sane cases. Now check whether nonexistent headers |
f5818d2f AJ |
3935 | # can be detected and how. |
3936 | cat >conftest.$ac_ext <<_ACEOF | |
e24bcc77 AJ |
3937 | /* confdefs.h. */ |
3938 | _ACEOF | |
3939 | cat confdefs.h >>conftest.$ac_ext | |
3940 | cat >>conftest.$ac_ext <<_ACEOF | |
3941 | /* end confdefs.h. */ | |
f5818d2f AJ |
3942 | #include <ac_nonexistent.h> |
3943 | _ACEOF | |
0ebeb530 JW |
3944 | if { (ac_try="$ac_cpp conftest.$ac_ext" |
3945 | case "(($ac_try" in | |
3946 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
3947 | *) ac_try_echo=$ac_try;; | |
3948 | esac | |
abf5048b AJ |
3949 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
3950 | $as_echo "$ac_try_echo") >&5 | |
0ebeb530 | 3951 | (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 |
f5818d2f | 3952 | ac_status=$? |
11af04e3 | 3953 | grep -v '^ *+' conftest.er1 >conftest.err |
f5818d2f AJ |
3954 | rm -f conftest.er1 |
3955 | cat conftest.err >&5 | |
abf5048b | 3956 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
dc9f3843 AJ |
3957 | (exit $ac_status); } >/dev/null && { |
3958 | test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || | |
3959 | test ! -s conftest.err | |
3960 | }; then | |
f5818d2f AJ |
3961 | # Broken: success on invalid input. |
3962 | continue | |
18ad24a7 | 3963 | else |
abf5048b | 3964 | $as_echo "$as_me: failed program was:" >&5 |
e24bcc77 AJ |
3965 | sed 's/^/| /' conftest.$ac_ext >&5 |
3966 | ||
f5818d2f AJ |
3967 | # Passes both tests. |
3968 | ac_preproc_ok=: | |
3969 | break | |
3970 | fi | |
fc6ffb29 | 3971 | |
f5818d2f AJ |
3972 | rm -f conftest.err conftest.$ac_ext |
3973 | ||
3974 | done | |
3975 | # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. | |
3976 | rm -f conftest.err conftest.$ac_ext | |
3977 | if $ac_preproc_ok; then | |
3978 | break | |
3979 | fi | |
3980 | ||
3981 | done | |
3982 | ac_cv_prog_CPP=$CPP | |
3983 | ||
3984 | fi | |
3985 | CPP=$ac_cv_prog_CPP | |
3986 | else | |
3987 | ac_cv_prog_CPP=$CPP | |
3988 | fi | |
abf5048b AJ |
3989 | { $as_echo "$as_me:$LINENO: result: $CPP" >&5 |
3990 | $as_echo "$CPP" >&6; } | |
f5818d2f AJ |
3991 | ac_preproc_ok=false |
3992 | for ac_c_preproc_warn_flag in '' yes | |
3993 | do | |
3994 | # Use a header file that comes with gcc, so configuring glibc | |
3995 | # with a fresh cross-compiler works. | |
e24bcc77 AJ |
3996 | # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since |
3997 | # <limits.h> exists even on freestanding compilers. | |
f5818d2f AJ |
3998 | # On the NeXT, cc -E runs the code through the compiler's parser, |
3999 | # not just through cpp. "Syntax error" is here to catch this case. | |
4000 | cat >conftest.$ac_ext <<_ACEOF | |
e24bcc77 AJ |
4001 | /* confdefs.h. */ |
4002 | _ACEOF | |
4003 | cat confdefs.h >>conftest.$ac_ext | |
4004 | cat >>conftest.$ac_ext <<_ACEOF | |
4005 | /* end confdefs.h. */ | |
4006 | #ifdef __STDC__ | |
4007 | # include <limits.h> | |
4008 | #else | |
4009 | # include <assert.h> | |
4010 | #endif | |
875927f6 | 4011 | Syntax error |
f5818d2f | 4012 | _ACEOF |
0ebeb530 JW |
4013 | if { (ac_try="$ac_cpp conftest.$ac_ext" |
4014 | case "(($ac_try" in | |
4015 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
4016 | *) ac_try_echo=$ac_try;; | |
4017 | esac | |
abf5048b AJ |
4018 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
4019 | $as_echo "$ac_try_echo") >&5 | |
0ebeb530 | 4020 | (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 |
f5818d2f | 4021 | ac_status=$? |
11af04e3 | 4022 | grep -v '^ *+' conftest.er1 >conftest.err |
f5818d2f AJ |
4023 | rm -f conftest.er1 |
4024 | cat conftest.err >&5 | |
abf5048b | 4025 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
dc9f3843 AJ |
4026 | (exit $ac_status); } >/dev/null && { |
4027 | test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || | |
4028 | test ! -s conftest.err | |
4029 | }; then | |
e2991ea7 AJ |
4030 | : |
4031 | else | |
abf5048b | 4032 | $as_echo "$as_me: failed program was:" >&5 |
e24bcc77 AJ |
4033 | sed 's/^/| /' conftest.$ac_ext >&5 |
4034 | ||
f5818d2f AJ |
4035 | # Broken: fails on valid input. |
4036 | continue | |
e2991ea7 | 4037 | fi |
fc6ffb29 | 4038 | |
f5818d2f AJ |
4039 | rm -f conftest.err conftest.$ac_ext |
4040 | ||
fc6ffb29 | 4041 | # OK, works on sane cases. Now check whether nonexistent headers |
f5818d2f AJ |
4042 | # can be detected and how. |
4043 | cat >conftest.$ac_ext <<_ACEOF | |
e24bcc77 AJ |
4044 | /* confdefs.h. */ |
4045 | _ACEOF | |
4046 | cat confdefs.h >>conftest.$ac_ext | |
4047 | cat >>conftest.$ac_ext <<_ACEOF | |
4048 | /* end confdefs.h. */ | |
f5818d2f AJ |
4049 | #include <ac_nonexistent.h> |
4050 | _ACEOF | |
0ebeb530 JW |
4051 | if { (ac_try="$ac_cpp conftest.$ac_ext" |
4052 | case "(($ac_try" in | |
4053 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
4054 | *) ac_try_echo=$ac_try;; | |
4055 | esac | |
abf5048b AJ |
4056 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
4057 | $as_echo "$ac_try_echo") >&5 | |
0ebeb530 | 4058 | (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 |
f5818d2f | 4059 | ac_status=$? |
11af04e3 | 4060 | grep -v '^ *+' conftest.er1 >conftest.err |
f5818d2f AJ |
4061 | rm -f conftest.er1 |
4062 | cat conftest.err >&5 | |
abf5048b | 4063 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
dc9f3843 AJ |
4064 | (exit $ac_status); } >/dev/null && { |
4065 | test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || | |
4066 | test ! -s conftest.err | |
4067 | }; then | |
f5818d2f AJ |
4068 | # Broken: success on invalid input. |
4069 | continue | |
4070 | else | |
abf5048b | 4071 | $as_echo "$as_me: failed program was:" >&5 |
e24bcc77 AJ |
4072 | sed 's/^/| /' conftest.$ac_ext >&5 |
4073 | ||
f5818d2f AJ |
4074 | # Passes both tests. |
4075 | ac_preproc_ok=: | |
4076 | break | |
e2991ea7 | 4077 | fi |
fc6ffb29 | 4078 | |
f5818d2f AJ |
4079 | rm -f conftest.err conftest.$ac_ext |
4080 | ||
4081 | done | |
4082 | # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. | |
4083 | rm -f conftest.err conftest.$ac_ext | |
4084 | if $ac_preproc_ok; then | |
4085 | : | |
e2991ea7 | 4086 | else |
abf5048b AJ |
4087 | { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5 |
4088 | $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} | |
4089 | { { $as_echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check | |
e24bcc77 | 4090 | See \`config.log' for more details." >&5 |
abf5048b | 4091 | $as_echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check |
e24bcc77 | 4092 | See \`config.log' for more details." >&2;} |
abf5048b | 4093 | { (exit 1); exit 1; }; }; } |
e2991ea7 | 4094 | fi |
e2991ea7 | 4095 | |
f5818d2f AJ |
4096 | ac_ext=c |
4097 | ac_cpp='$CPP $CPPFLAGS' | |
4098 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' | |
4099 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' | |
4100 | ac_compiler_gnu=$ac_cv_c_compiler_gnu | |
4101 | ||
daa2886c | 4102 | |
abf5048b AJ |
4103 | { $as_echo "$as_me:$LINENO: checking for X" >&5 |
4104 | $as_echo_n "checking for X... " >&6; } | |
e2991ea7 | 4105 | |
daa2886c | 4106 | |
fc6ffb29 | 4107 | # Check whether --with-x was given. |
d7d4fdf8 | 4108 | if test "${with_x+set}" = set; then |
fc6ffb29 AJ |
4109 | withval=$with_x; |
4110 | fi | |
e2991ea7 | 4111 | |
b817f4fb | 4112 | # $have_x is `yes', `no', `disabled', or empty when we do not yet know. |
e2991ea7 | 4113 | if test "x$with_x" = xno; then |
b817f4fb AJ |
4114 | # The user explicitly disabled X. |
4115 | have_x=disabled | |
e2991ea7 | 4116 | else |
0ebeb530 | 4117 | case $x_includes,$x_libraries in #( |
abf5048b AJ |
4118 | *\'*) { { $as_echo "$as_me:$LINENO: error: cannot use X directory names containing '" >&5 |
4119 | $as_echo "$as_me: error: cannot use X directory names containing '" >&2;} | |
0ebeb530 JW |
4120 | { (exit 1); exit 1; }; };; #( |
4121 | *,NONE | NONE,*) if test "${ac_cv_have_x+set}" = set; then | |
abf5048b | 4122 | $as_echo_n "(cached) " >&6 |
e2991ea7 AJ |
4123 | else |
4124 | # One or both of the vars are not set, and there is no cached value. | |
f5818d2f | 4125 | ac_x_includes=no ac_x_libraries=no |
fc6ffb29 | 4126 | rm -f -r conftest.dir |
f5818d2f AJ |
4127 | if mkdir conftest.dir; then |
4128 | cd conftest.dir | |
daa2886c | 4129 | cat >Imakefile <<'_ACEOF' |
0ebeb530 JW |
4130 | incroot: |
4131 | @echo incroot='${INCROOT}' | |
4132 | usrlibdir: | |
4133 | @echo usrlibdir='${USRLIBDIR}' | |
4134 | libdir: | |
4135 | @echo libdir='${LIBDIR}' | |
daa2886c | 4136 | _ACEOF |
fc6ffb29 | 4137 | if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then |
e2991ea7 | 4138 | # GNU make sometimes prints "make[1]: Entering...", which would confuse us. |
0ebeb530 JW |
4139 | for ac_var in incroot usrlibdir libdir; do |
4140 | eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`" | |
4141 | done | |
e2991ea7 | 4142 | # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR. |
abf5048b | 4143 | for ac_extension in a so sl dylib la dll; do |
0ebeb530 JW |
4144 | if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" && |
4145 | test -f "$ac_im_libdir/libX11.$ac_extension"; then | |
875927f6 | 4146 | ac_im_usrlibdir=$ac_im_libdir; break |
e2991ea7 AJ |
4147 | fi |
4148 | done | |
da0cfb36 AJ |
4149 | # Screen out bogus values from the imake configuration. They are |
4150 | # bogus both because they are the default anyway, and because | |
4151 | # using them would break gcc on systems where it needs fixed includes. | |
f5818d2f | 4152 | case $ac_im_incroot in |
fc6ffb29 | 4153 | /usr/include) ac_x_includes= ;; |
f5818d2f | 4154 | *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;; |
e2991ea7 | 4155 | esac |
f5818d2f | 4156 | case $ac_im_usrlibdir in |
abf5048b | 4157 | /usr/lib | /usr/lib64 | /lib | /lib64) ;; |
f5818d2f | 4158 | *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;; |
e2991ea7 AJ |
4159 | esac |
4160 | fi | |
4161 | cd .. | |
fc6ffb29 | 4162 | rm -f -r conftest.dir |
e2991ea7 AJ |
4163 | fi |
4164 | ||
f5818d2f AJ |
4165 | # Standard set of common directories for X headers. |
4166 | # Check X11 before X11Rn because it is often a symlink to the current release. | |
4167 | ac_x_header_dirs=' | |
4168 | /usr/X11/include | |
4169 | /usr/X11R6/include | |
4170 | /usr/X11R5/include | |
4171 | /usr/X11R4/include | |
4172 | ||
4173 | /usr/include/X11 | |
4174 | /usr/include/X11R6 | |
4175 | /usr/include/X11R5 | |
4176 | /usr/include/X11R4 | |
4177 | ||
4178 | /usr/local/X11/include | |
4179 | /usr/local/X11R6/include | |
4180 | /usr/local/X11R5/include | |
4181 | /usr/local/X11R4/include | |
4182 | ||
4183 | /usr/local/include/X11 | |
4184 | /usr/local/include/X11R6 | |
4185 | /usr/local/include/X11R5 | |
4186 | /usr/local/include/X11R4 | |
4187 | ||
4188 | /usr/X386/include | |
4189 | /usr/x386/include | |
4190 | /usr/XFree86/include/X11 | |
4191 | ||
4192 | /usr/include | |
4193 | /usr/local/include | |
4194 | /usr/unsupported/include | |
4195 | /usr/athena/include | |
4196 | /usr/local/x11r5/include | |
4197 | /usr/lpp/Xamples/include | |
4198 | ||
4199 | /usr/openwin/include | |
4200 | /usr/openwin/share/include' | |
4201 | ||
4202 | if test "$ac_x_includes" = no; then | |
fc6ffb29 | 4203 | # Guess where to find include files, by looking for Xlib.h. |
b817f4fb | 4204 | # First, try using that file with no special directory specified. |
f5818d2f | 4205 | cat >conftest.$ac_ext <<_ACEOF |
e24bcc77 AJ |
4206 | /* confdefs.h. */ |
4207 | _ACEOF | |
4208 | cat confdefs.h >>conftest.$ac_ext | |
4209 | cat >>conftest.$ac_ext <<_ACEOF | |
4210 | /* end confdefs.h. */ | |
0ebeb530 | 4211 | #include <X11/Xlib.h> |
f5818d2f | 4212 | _ACEOF |
0ebeb530 JW |
4213 | if { (ac_try="$ac_cpp conftest.$ac_ext" |
4214 | case "(($ac_try" in | |
4215 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
4216 | *) ac_try_echo=$ac_try;; | |
4217 | esac | |
abf5048b AJ |
4218 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
4219 | $as_echo "$ac_try_echo") >&5 | |
0ebeb530 | 4220 | (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 |
f5818d2f | 4221 | ac_status=$? |
11af04e3 | 4222 | grep -v '^ *+' conftest.er1 >conftest.err |
f5818d2f AJ |
4223 | rm -f conftest.er1 |
4224 | cat conftest.err >&5 | |
abf5048b | 4225 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
dc9f3843 AJ |
4226 | (exit $ac_status); } >/dev/null && { |
4227 | test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || | |
4228 | test ! -s conftest.err | |
4229 | }; then | |
b817f4fb AJ |
4230 | # We can compile using X headers with no special include directory. |
4231 | ac_x_includes= | |
e2991ea7 | 4232 | else |
abf5048b | 4233 | $as_echo "$as_me: failed program was:" >&5 |
e24bcc77 AJ |
4234 | sed 's/^/| /' conftest.$ac_ext >&5 |
4235 | ||
f5818d2f | 4236 | for ac_dir in $ac_x_header_dirs; do |
d7d3169d | 4237 | if test -r "$ac_dir/X11/Xlib.h"; then |
f5818d2f AJ |
4238 | ac_x_includes=$ac_dir |
4239 | break | |
4240 | fi | |
4241 | done | |
e2991ea7 | 4242 | fi |
fc6ffb29 | 4243 | |
f5818d2f AJ |
4244 | rm -f conftest.err conftest.$ac_ext |
4245 | fi # $ac_x_includes = no | |
b817f4fb | 4246 | |
f5818d2f | 4247 | if test "$ac_x_libraries" = no; then |
b817f4fb | 4248 | # Check for the libraries. |
b817f4fb AJ |
4249 | # See if we find them without any special options. |
4250 | # Don't add to $LIBS permanently. | |
f5818d2f | 4251 | ac_save_LIBS=$LIBS |
d01063e1 | 4252 | LIBS="-lX11 $LIBS" |
f5818d2f | 4253 | cat >conftest.$ac_ext <<_ACEOF |
e24bcc77 AJ |
4254 | /* confdefs.h. */ |
4255 | _ACEOF | |
4256 | cat confdefs.h >>conftest.$ac_ext | |
4257 | cat >>conftest.$ac_ext <<_ACEOF | |
4258 | /* end confdefs.h. */ | |
d7d3169d | 4259 | #include <X11/Xlib.h> |
f5818d2f AJ |
4260 | int |
4261 | main () | |
4262 | { | |
d7d3169d | 4263 | XrmInitialize () |
f5818d2f AJ |
4264 | ; |
4265 | return 0; | |
4266 | } | |
4267 | _ACEOF | |
4268 | rm -f conftest.$ac_objext conftest$ac_exeext | |
0ebeb530 JW |
4269 | if { (ac_try="$ac_link" |
4270 | case "(($ac_try" in | |
4271 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
4272 | *) ac_try_echo=$ac_try;; | |
4273 | esac | |
abf5048b AJ |
4274 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
4275 | $as_echo "$ac_try_echo") >&5 | |
0ebeb530 | 4276 | (eval "$ac_link") 2>conftest.er1 |
f5818d2f | 4277 | ac_status=$? |
875927f6 AJ |
4278 | grep -v '^ *+' conftest.er1 >conftest.err |
4279 | rm -f conftest.er1 | |
4280 | cat conftest.err >&5 | |
abf5048b | 4281 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
dc9f3843 AJ |
4282 | (exit $ac_status); } && { |
4283 | test -z "$ac_c_werror_flag" || | |
4284 | test ! -s conftest.err | |
abf5048b AJ |
4285 | } && test -s conftest$ac_exeext && { |
4286 | test "$cross_compiling" = yes || | |
4287 | $as_test_x conftest$ac_exeext | |
4288 | }; then | |
f5818d2f | 4289 | LIBS=$ac_save_LIBS |
b817f4fb AJ |
4290 | # We can link X programs with no special library path. |
4291 | ac_x_libraries= | |
e2991ea7 | 4292 | else |
abf5048b | 4293 | $as_echo "$as_me: failed program was:" >&5 |
e24bcc77 AJ |
4294 | sed 's/^/| /' conftest.$ac_ext >&5 |
4295 | ||
fc6ffb29 | 4296 | LIBS=$ac_save_LIBS |
abf5048b | 4297 | for ac_dir in `$as_echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g` |
e2991ea7 | 4298 | do |
f5818d2f | 4299 | # Don't even attempt the hair of trying to link an X program! |
abf5048b | 4300 | for ac_extension in a so sl dylib la dll; do |
d01063e1 | 4301 | if test -r "$ac_dir/libX11.$ac_extension"; then |
b817f4fb | 4302 | ac_x_libraries=$ac_dir |
e2991ea7 AJ |
4303 | break 2 |
4304 | fi | |
4305 | done | |
4306 | done | |
4307 | fi | |
fc6ffb29 | 4308 | |
abf5048b | 4309 | rm -rf conftest.dSYM |
f0ca586f | 4310 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ |
875927f6 | 4311 | conftest$ac_exeext conftest.$ac_ext |
f5818d2f | 4312 | fi # $ac_x_libraries = no |
b817f4fb | 4313 | |
0ebeb530 JW |
4314 | case $ac_x_includes,$ac_x_libraries in #( |
4315 | no,* | *,no | *\'*) | |
4316 | # Didn't find X, or a directory has "'" in its name. | |
4317 | ac_cv_have_x="have_x=no";; #( | |
4318 | *) | |
4319 | # Record where we found X for the cache. | |
4320 | ac_cv_have_x="have_x=yes\ | |
4321 | ac_x_includes='$ac_x_includes'\ | |
4322 | ac_x_libraries='$ac_x_libraries'" | |
4323 | esac | |
e2991ea7 | 4324 | fi |
0ebeb530 JW |
4325 | ;; #( |
4326 | *) have_x=yes;; | |
4327 | esac | |
b817f4fb | 4328 | eval "$ac_cv_have_x" |
e2991ea7 AJ |
4329 | fi # $with_x != no |
4330 | ||
b817f4fb | 4331 | if test "$have_x" != yes; then |
abf5048b AJ |
4332 | { $as_echo "$as_me:$LINENO: result: $have_x" >&5 |
4333 | $as_echo "$have_x" >&6; } | |
b817f4fb | 4334 | no_x=yes |
e2991ea7 | 4335 | else |
b817f4fb | 4336 | # If each of the values was on the command line, it overrides each guess. |
e2991ea7 AJ |
4337 | test "x$x_includes" = xNONE && x_includes=$ac_x_includes |
4338 | test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries | |
b817f4fb | 4339 | # Update the cache value to reflect the command line values. |
0ebeb530 JW |
4340 | ac_cv_have_x="have_x=yes\ |
4341 | ac_x_includes='$x_includes'\ | |
4342 | ac_x_libraries='$x_libraries'" | |
abf5048b AJ |
4343 | { $as_echo "$as_me:$LINENO: result: libraries $x_libraries, headers $x_includes" >&5 |
4344 | $as_echo "libraries $x_libraries, headers $x_includes" >&6; } | |
e2991ea7 AJ |
4345 | fi |
4346 | ||
b817f4fb | 4347 | if test "$no_x" = yes; then |
ff8331ea | 4348 | # Not all programs may use this symbol, but it does not hurt to define it. |
f5818d2f | 4349 | |
daa2886c | 4350 | cat >>confdefs.h <<\_ACEOF |
da0cfb36 | 4351 | #define X_DISPLAY_MISSING 1 |
daa2886c | 4352 | _ACEOF |
da0cfb36 AJ |
4353 | |
4354 | X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS= | |
ff8331ea AJ |
4355 | else |
4356 | if test -n "$x_includes"; then | |
4357 | X_CFLAGS="$X_CFLAGS -I$x_includes" | |
4358 | fi | |
4359 | ||
ff8331ea AJ |
4360 | # It would also be nice to do this for all -L options, not just this one. |
4361 | if test -n "$x_libraries"; then | |
4362 | X_LIBS="$X_LIBS -L$x_libraries" | |
da0cfb36 AJ |
4363 | # For Solaris; some versions of Sun CC require a space after -R and |
4364 | # others require no space. Words are not sufficient . . . . | |
abf5048b AJ |
4365 | { $as_echo "$as_me:$LINENO: checking whether -R must be followed by a space" >&5 |
4366 | $as_echo_n "checking whether -R must be followed by a space... " >&6; } | |
c8278926 AJ |
4367 | ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries" |
4368 | ac_xsave_c_werror_flag=$ac_c_werror_flag | |
4369 | ac_c_werror_flag=yes | |
4370 | cat >conftest.$ac_ext <<_ACEOF | |
e24bcc77 AJ |
4371 | /* confdefs.h. */ |
4372 | _ACEOF | |
4373 | cat confdefs.h >>conftest.$ac_ext | |
4374 | cat >>conftest.$ac_ext <<_ACEOF | |
4375 | /* end confdefs.h. */ | |
ff8331ea | 4376 | |
f5818d2f AJ |
4377 | int |
4378 | main () | |
4379 | { | |
da0cfb36 | 4380 | |
f5818d2f AJ |
4381 | ; |
4382 | return 0; | |
4383 | } | |
4384 | _ACEOF | |
4385 | rm -f conftest.$ac_objext conftest$ac_exeext | |
0ebeb530 JW |
4386 | if { (ac_try="$ac_link" |
4387 | case "(($ac_try" in | |
4388 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
4389 | *) ac_try_echo=$ac_try;; | |
4390 | esac | |
abf5048b AJ |
4391 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
4392 | $as_echo "$ac_try_echo") >&5 | |
0ebeb530 | 4393 | (eval "$ac_link") 2>conftest.er1 |
f5818d2f | 4394 | ac_status=$? |
875927f6 AJ |
4395 | grep -v '^ *+' conftest.er1 >conftest.err |
4396 | rm -f conftest.er1 | |
4397 | cat conftest.err >&5 | |
abf5048b | 4398 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
dc9f3843 AJ |
4399 | (exit $ac_status); } && { |
4400 | test -z "$ac_c_werror_flag" || | |
4401 | test ! -s conftest.err | |
abf5048b AJ |
4402 | } && test -s conftest$ac_exeext && { |
4403 | test "$cross_compiling" = yes || | |
4404 | $as_test_x conftest$ac_exeext | |
4405 | }; then | |
4406 | { $as_echo "$as_me:$LINENO: result: no" >&5 | |
4407 | $as_echo "no" >&6; } | |
c8278926 | 4408 | X_LIBS="$X_LIBS -R$x_libraries" |
ff8331ea | 4409 | else |
abf5048b | 4410 | $as_echo "$as_me: failed program was:" >&5 |
e24bcc77 AJ |
4411 | sed 's/^/| /' conftest.$ac_ext >&5 |
4412 | ||
da0cfb36 | 4413 | LIBS="$ac_xsave_LIBS -R $x_libraries" |
c8278926 | 4414 | cat >conftest.$ac_ext <<_ACEOF |
e24bcc77 AJ |
4415 | /* confdefs.h. */ |
4416 | _ACEOF | |
4417 | cat confdefs.h >>conftest.$ac_ext | |
4418 | cat >>conftest.$ac_ext <<_ACEOF | |
4419 | /* end confdefs.h. */ | |
da0cfb36 | 4420 | |
f5818d2f AJ |
4421 | int |
4422 | main () | |
4423 | { | |
da0cfb36 | 4424 | |
f5818d2f AJ |
4425 | ; |
4426 | return 0; | |
4427 | } | |
4428 | _ACEOF | |
4429 | rm -f conftest.$ac_objext conftest$ac_exeext | |
0ebeb530 JW |
4430 | if { (ac_try="$ac_link" |
4431 | case "(($ac_try" in | |
4432 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
4433 | *) ac_try_echo=$ac_try;; | |
4434 | esac | |
abf5048b AJ |
4435 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
4436 | $as_echo "$ac_try_echo") >&5 | |
0ebeb530 | 4437 | (eval "$ac_link") 2>conftest.er1 |
f5818d2f | 4438 | ac_status=$? |
875927f6 AJ |
4439 | grep -v '^ *+' conftest.er1 >conftest.err |
4440 | rm -f conftest.er1 | |
4441 | cat conftest.err >&5 | |
abf5048b | 4442 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
dc9f3843 AJ |
4443 | (exit $ac_status); } && { |
4444 | test -z "$ac_c_werror_flag" || | |
4445 | test ! -s conftest.err | |
abf5048b AJ |
4446 | } && test -s conftest$ac_exeext && { |
4447 | test "$cross_compiling" = yes || | |
4448 | $as_test_x conftest$ac_exeext | |
4449 | }; then | |
4450 | { $as_echo "$as_me:$LINENO: result: yes" >&5 | |
4451 | $as_echo "yes" >&6; } | |
c8278926 | 4452 | X_LIBS="$X_LIBS -R $x_libraries" |
ff8331ea | 4453 | else |
abf5048b | 4454 | $as_echo "$as_me: failed program was:" >&5 |
e24bcc77 AJ |
4455 | sed 's/^/| /' conftest.$ac_ext >&5 |
4456 | ||
abf5048b AJ |
4457 | { $as_echo "$as_me:$LINENO: result: neither works" >&5 |
4458 | $as_echo "neither works" >&6; } | |
ff8331ea | 4459 | fi |
fc6ffb29 | 4460 | |
abf5048b | 4461 | rm -rf conftest.dSYM |
f0ca586f | 4462 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ |
875927f6 | 4463 | conftest$ac_exeext conftest.$ac_ext |
c8278926 AJ |
4464 | fi |
4465 | ||
abf5048b | 4466 | rm -rf conftest.dSYM |
f0ca586f | 4467 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ |
c8278926 AJ |
4468 | conftest$ac_exeext conftest.$ac_ext |
4469 | ac_c_werror_flag=$ac_xsave_c_werror_flag | |
4470 | LIBS=$ac_xsave_LIBS | |
da0cfb36 | 4471 | fi |
ff8331ea AJ |
4472 | |
4473 | # Check for system-dependent libraries X programs must link with. | |
da0cfb36 AJ |
4474 | # Do this before checking for the system-independent R6 libraries |
4475 | # (-lICE), since we may need -lsocket or whatever for X linking. | |
ff8331ea AJ |
4476 | |
4477 | if test "$ISC" = yes; then | |
4478 | X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet" | |
4479 | else | |
f5818d2f AJ |
4480 | # Martyn Johnson says this is needed for Ultrix, if the X |
4481 | # libraries were built with DECnet support. And Karl Berry says | |
ff8331ea | 4482 | # the Alpha needs dnet_stub (dnet does not exist). |
f5818d2f AJ |
4483 | ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11" |
4484 | cat >conftest.$ac_ext <<_ACEOF | |
e24bcc77 AJ |
4485 | /* confdefs.h. */ |
4486 | _ACEOF | |
4487 | cat confdefs.h >>conftest.$ac_ext | |
4488 | cat >>conftest.$ac_ext <<_ACEOF | |
4489 | /* end confdefs.h. */ | |
f5818d2f | 4490 | |
fc6ffb29 AJ |
4491 | /* Override any GCC internal prototype to avoid an error. |
4492 | Use char because int might match the return type of a GCC | |
4493 | builtin and then its argument prototype would still apply. */ | |
f5818d2f AJ |
4494 | #ifdef __cplusplus |
4495 | extern "C" | |
4496 | #endif | |
f5818d2f AJ |
4497 | char XOpenDisplay (); |
4498 | int | |
4499 | main () | |
4500 | { | |
fc6ffb29 | 4501 | return XOpenDisplay (); |
f5818d2f AJ |
4502 | ; |
4503 | return 0; | |
4504 | } | |
4505 | _ACEOF | |
4506 | rm -f conftest.$ac_objext conftest$ac_exeext | |
0ebeb530 JW |
4507 | if { (ac_try="$ac_link" |
4508 | case "(($ac_try" in | |
4509 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
4510 | *) ac_try_echo=$ac_try;; | |
4511 | esac | |
abf5048b AJ |
4512 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
4513 | $as_echo "$ac_try_echo") >&5 | |
0ebeb530 | 4514 | (eval "$ac_link") 2>conftest.er1 |
f5818d2f | 4515 | ac_status=$? |
875927f6 AJ |
4516 | grep -v '^ *+' conftest.er1 >conftest.err |
4517 | rm -f conftest.er1 | |
4518 | cat conftest.err >&5 | |
abf5048b | 4519 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
dc9f3843 AJ |
4520 | (exit $ac_status); } && { |
4521 | test -z "$ac_c_werror_flag" || | |
4522 | test ! -s conftest.err | |
abf5048b AJ |
4523 | } && test -s conftest$ac_exeext && { |
4524 | test "$cross_compiling" = yes || | |
4525 | $as_test_x conftest$ac_exeext | |
4526 | }; then | |
f5818d2f | 4527 | : |
ff8331ea | 4528 | else |
abf5048b | 4529 | $as_echo "$as_me: failed program was:" >&5 |
e24bcc77 AJ |
4530 | sed 's/^/| /' conftest.$ac_ext >&5 |
4531 | ||
abf5048b AJ |
4532 | { $as_echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5 |
4533 | $as_echo_n "checking for dnet_ntoa in -ldnet... " >&6; } | |
f5818d2f | 4534 | if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then |
abf5048b | 4535 | $as_echo_n "(cached) " >&6 |
f5818d2f AJ |
4536 | else |
4537 | ac_check_lib_save_LIBS=$LIBS | |
4538 | LIBS="-ldnet $LIBS" | |
4539 | cat >conftest.$ac_ext <<_ACEOF | |
e24bcc77 AJ |
4540 | /* confdefs.h. */ |
4541 | _ACEOF | |
4542 | cat confdefs.h >>conftest.$ac_ext | |
4543 | cat >>conftest.$ac_ext <<_ACEOF | |
4544 | /* end confdefs.h. */ | |
ff8331ea | 4545 | |
fc6ffb29 AJ |
4546 | /* Override any GCC internal prototype to avoid an error. |
4547 | Use char because int might match the return type of a GCC | |
4548 | builtin and then its argument prototype would still apply. */ | |
f5818d2f AJ |
4549 | #ifdef __cplusplus |
4550 | extern "C" | |
4551 | #endif | |
f5818d2f AJ |
4552 | char dnet_ntoa (); |
4553 | int | |
4554 | main () | |
4555 | { | |
fc6ffb29 | 4556 | return dnet_ntoa (); |
f5818d2f AJ |
4557 | ; |
4558 | return 0; | |
4559 | } | |
4560 | _ACEOF | |
4561 | rm -f conftest.$ac_objext conftest$ac_exeext | |
0ebeb530 JW |
4562 | if { (ac_try="$ac_link" |
4563 | case "(($ac_try" in | |
4564 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
4565 | *) ac_try_echo=$ac_try;; | |
4566 | esac | |
abf5048b AJ |
4567 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
4568 | $as_echo "$ac_try_echo") >&5 | |
0ebeb530 | 4569 | (eval "$ac_link") 2>conftest.er1 |
f5818d2f | 4570 | ac_status=$? |
875927f6 AJ |
4571 | grep -v '^ *+' conftest.er1 >conftest.err |
4572 | rm -f conftest.er1 | |
4573 | cat conftest.err >&5 | |
abf5048b | 4574 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
dc9f3843 AJ |
4575 | (exit $ac_status); } && { |
4576 | test -z "$ac_c_werror_flag" || | |
4577 | test ! -s conftest.err | |
abf5048b AJ |
4578 | } && test -s conftest$ac_exeext && { |
4579 | test "$cross_compiling" = yes || | |
4580 | $as_test_x conftest$ac_exeext | |
4581 | }; then | |
f5818d2f AJ |
4582 | ac_cv_lib_dnet_dnet_ntoa=yes |
4583 | else | |
abf5048b | 4584 | $as_echo "$as_me: failed program was:" >&5 |
e24bcc77 AJ |
4585 | sed 's/^/| /' conftest.$ac_ext >&5 |
4586 | ||
fc6ffb29 | 4587 | ac_cv_lib_dnet_dnet_ntoa=no |
f5818d2f | 4588 | fi |
fc6ffb29 | 4589 | |
abf5048b | 4590 | rm -rf conftest.dSYM |
f0ca586f | 4591 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ |
875927f6 | 4592 | conftest$ac_exeext conftest.$ac_ext |
f5818d2f AJ |
4593 | LIBS=$ac_check_lib_save_LIBS |
4594 | fi | |
abf5048b AJ |
4595 | { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5 |
4596 | $as_echo "$ac_cv_lib_dnet_dnet_ntoa" >&6; } | |
4597 | if test "x$ac_cv_lib_dnet_dnet_ntoa" = x""yes; then | |
ff8331ea | 4598 | X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet" |
ff8331ea AJ |
4599 | fi |
4600 | ||
59730ae1 | 4601 | if test $ac_cv_lib_dnet_dnet_ntoa = no; then |
abf5048b AJ |
4602 | { $as_echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet_stub" >&5 |
4603 | $as_echo_n "checking for dnet_ntoa in -ldnet_stub... " >&6; } | |
f5818d2f | 4604 | if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then |
abf5048b | 4605 | $as_echo_n "(cached) " >&6 |
ff8331ea | 4606 | else |
f5818d2f | 4607 | ac_check_lib_save_LIBS=$LIBS |
ff8331ea | 4608 | LIBS="-ldnet_stub $LIBS" |
f5818d2f | 4609 | cat >conftest.$ac_ext <<_ACEOF |
e24bcc77 AJ |
4610 | /* confdefs.h. */ |
4611 | _ACEOF | |
4612 | cat confdefs.h >>conftest.$ac_ext | |
4613 | cat >>conftest.$ac_ext <<_ACEOF | |
4614 | /* end confdefs.h. */ | |
f5818d2f | 4615 | |
fc6ffb29 AJ |
4616 | /* Override any GCC internal prototype to avoid an error. |
4617 | Use char because int might match the return type of a GCC | |
4618 | builtin and then its argument prototype would still apply. */ | |
f5818d2f AJ |
4619 | #ifdef __cplusplus |
4620 | extern "C" | |
4621 | #endif | |
f5818d2f AJ |
4622 | char dnet_ntoa (); |
4623 | int | |
4624 | main () | |
4625 | { | |
fc6ffb29 | 4626 | return dnet_ntoa (); |
f5818d2f AJ |
4627 | ; |
4628 | return 0; | |
4629 | } | |
4630 | _ACEOF | |
4631 | rm -f conftest.$ac_objext conftest$ac_exeext | |
0ebeb530 JW |
4632 | if { (ac_try="$ac_link" |
4633 | case "(($ac_try" in | |
4634 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
4635 | *) ac_try_echo=$ac_try;; | |
4636 | esac | |
abf5048b AJ |
4637 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
4638 | $as_echo "$ac_try_echo") >&5 | |
0ebeb530 | 4639 | (eval "$ac_link") 2>conftest.er1 |
f5818d2f | 4640 | ac_status=$? |
875927f6 AJ |
4641 | grep -v '^ *+' conftest.er1 >conftest.err |
4642 | rm -f conftest.er1 | |
4643 | cat conftest.err >&5 | |
abf5048b | 4644 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
dc9f3843 AJ |
4645 | (exit $ac_status); } && { |
4646 | test -z "$ac_c_werror_flag" || | |
4647 | test ! -s conftest.err | |
abf5048b AJ |
4648 | } && test -s conftest$ac_exeext && { |
4649 | test "$cross_compiling" = yes || | |
4650 | $as_test_x conftest$ac_exeext | |
4651 | }; then | |
f5818d2f AJ |
4652 | ac_cv_lib_dnet_stub_dnet_ntoa=yes |
4653 | else | |
abf5048b | 4654 | $as_echo "$as_me: failed program was:" >&5 |
e24bcc77 AJ |
4655 | sed 's/^/| /' conftest.$ac_ext >&5 |
4656 | ||
fc6ffb29 | 4657 | ac_cv_lib_dnet_stub_dnet_ntoa=no |
f5818d2f | 4658 | fi |
fc6ffb29 | 4659 | |
abf5048b | 4660 | rm -rf conftest.dSYM |
f0ca586f | 4661 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ |
875927f6 | 4662 | conftest$ac_exeext conftest.$ac_ext |
f5818d2f AJ |
4663 | LIBS=$ac_check_lib_save_LIBS |
4664 | fi | |
abf5048b AJ |
4665 | { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5 |
4666 | $as_echo "$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; } | |
4667 | if test "x$ac_cv_lib_dnet_stub_dnet_ntoa" = x""yes; then | |
ff8331ea | 4668 | X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub" |
ff8331ea AJ |
4669 | fi |
4670 | ||
4671 | fi | |
f5818d2f | 4672 | fi |
fc6ffb29 | 4673 | |
abf5048b | 4674 | rm -rf conftest.dSYM |
f0ca586f | 4675 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ |
875927f6 | 4676 | conftest$ac_exeext conftest.$ac_ext |
f5818d2f | 4677 | LIBS="$ac_xsave_LIBS" |
ff8331ea AJ |
4678 | |
4679 | # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT, | |
4680 | # to get the SysV transport functions. | |
f5818d2f | 4681 | # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4) |
da0cfb36 AJ |
4682 | # needs -lnsl. |
4683 | # The nsl library prevents programs from opening the X display | |
f5818d2f AJ |
4684 | # on Irix 5.2, according to T.E. Dickey. |
4685 | # The functions gethostbyname, getservbyname, and inet_addr are | |
4686 | # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking. | |
abf5048b AJ |
4687 | { $as_echo "$as_me:$LINENO: checking for gethostbyname" >&5 |
4688 | $as_echo_n "checking for gethostbyname... " >&6; } | |
f5818d2f | 4689 | if test "${ac_cv_func_gethostbyname+set}" = set; then |
abf5048b | 4690 | $as_echo_n "(cached) " >&6 |
f5818d2f AJ |
4691 | else |
4692 | cat >conftest.$ac_ext <<_ACEOF | |
e24bcc77 AJ |
4693 | /* confdefs.h. */ |
4694 | _ACEOF | |
4695 | cat confdefs.h >>conftest.$ac_ext | |
4696 | cat >>conftest.$ac_ext <<_ACEOF | |
4697 | /* end confdefs.h. */ | |
875927f6 AJ |
4698 | /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname. |
4699 | For example, HP-UX 11i <limits.h> declares gettimeofday. */ | |
4700 | #define gethostbyname innocuous_gethostbyname | |
4701 | ||
da0cfb36 | 4702 | /* System header to define __stub macros and hopefully few prototypes, |
e24bcc77 AJ |
4703 | which can conflict with char gethostbyname (); below. |
4704 | Prefer <limits.h> to <assert.h> if __STDC__ is defined, since | |
4705 | <limits.h> exists even on freestanding compilers. */ | |
875927f6 | 4706 | |
e24bcc77 AJ |
4707 | #ifdef __STDC__ |
4708 | # include <limits.h> | |
4709 | #else | |
4710 | # include <assert.h> | |
4711 | #endif | |
875927f6 AJ |
4712 | |
4713 | #undef gethostbyname | |
4714 | ||
fc6ffb29 AJ |
4715 | /* Override any GCC internal prototype to avoid an error. |
4716 | Use char because int might match the return type of a GCC | |
4717 | builtin and then its argument prototype would still apply. */ | |
f5818d2f AJ |
4718 | #ifdef __cplusplus |
4719 | extern "C" | |
4720 | #endif | |
f5818d2f | 4721 | char gethostbyname (); |
da0cfb36 AJ |
4722 | /* The GNU C library defines this for functions which it implements |
4723 | to always fail with ENOSYS. Some functions are actually named | |
4724 | something starting with __ and the normal name is an alias. */ | |
fc6ffb29 | 4725 | #if defined __stub_gethostbyname || defined __stub___gethostbyname |
da0cfb36 | 4726 | choke me |
da0cfb36 AJ |
4727 | #endif |
4728 | ||
e24bcc77 AJ |
4729 | int |
4730 | main () | |
4731 | { | |
fc6ffb29 | 4732 | return gethostbyname (); |
f5818d2f AJ |
4733 | ; |
4734 | return 0; | |
4735 | } | |
4736 | _ACEOF | |
4737 | rm -f conftest.$ac_objext conftest$ac_exeext | |
0ebeb530 JW |
4738 | if { (ac_try="$ac_link" |
4739 | case "(($ac_try" in | |
4740 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
4741 | *) ac_try_echo=$ac_try;; | |
4742 | esac | |
abf5048b AJ |
4743 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
4744 | $as_echo "$ac_try_echo") >&5 | |
0ebeb530 | 4745 | (eval "$ac_link") 2>conftest.er1 |
f5818d2f | 4746 | ac_status=$? |
875927f6 AJ |
4747 | grep -v '^ *+' conftest.er1 >conftest.err |
4748 | rm -f conftest.er1 | |
4749 | cat conftest.err >&5 | |
abf5048b | 4750 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
dc9f3843 AJ |
4751 | (exit $ac_status); } && { |
4752 | test -z "$ac_c_werror_flag" || | |
4753 | test ! -s conftest.err | |
abf5048b AJ |
4754 | } && test -s conftest$ac_exeext && { |
4755 | test "$cross_compiling" = yes || | |
4756 | $as_test_x conftest$ac_exeext | |
4757 | }; then | |
f5818d2f AJ |
4758 | ac_cv_func_gethostbyname=yes |
4759 | else | |
abf5048b | 4760 | $as_echo "$as_me: failed program was:" >&5 |
e24bcc77 AJ |
4761 | sed 's/^/| /' conftest.$ac_ext >&5 |
4762 | ||
fc6ffb29 | 4763 | ac_cv_func_gethostbyname=no |
f5818d2f | 4764 | fi |
fc6ffb29 | 4765 | |
abf5048b | 4766 | rm -rf conftest.dSYM |
f0ca586f | 4767 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ |
875927f6 | 4768 | conftest$ac_exeext conftest.$ac_ext |
f5818d2f | 4769 | fi |
abf5048b AJ |
4770 | { $as_echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5 |
4771 | $as_echo "$ac_cv_func_gethostbyname" >&6; } | |
da0cfb36 AJ |
4772 | |
4773 | if test $ac_cv_func_gethostbyname = no; then | |
abf5048b AJ |
4774 | { $as_echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5 |
4775 | $as_echo_n "checking for gethostbyname in -lnsl... " >&6; } | |
f5818d2f | 4776 | if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then |
abf5048b | 4777 | $as_echo_n "(cached) " >&6 |
ff8331ea | 4778 | else |
f5818d2f | 4779 | ac_check_lib_save_LIBS=$LIBS |
ff8331ea | 4780 | LIBS="-lnsl $LIBS" |
f5818d2f | 4781 | cat >conftest.$ac_ext <<_ACEOF |
e24bcc77 AJ |
4782 | /* confdefs.h. */ |
4783 | _ACEOF | |
4784 | cat confdefs.h >>conftest.$ac_ext | |
4785 | cat >>conftest.$ac_ext <<_ACEOF | |
4786 | /* end confdefs.h. */ | |
f5818d2f | 4787 | |
fc6ffb29 AJ |
4788 | /* Override any GCC internal prototype to avoid an error. |
4789 | Use char because int might match the return type of a GCC | |
4790 | builtin and then its argument prototype would still apply. */ | |
f5818d2f AJ |
4791 | #ifdef __cplusplus |
4792 | extern "C" | |
4793 | #endif | |
f5818d2f AJ |
4794 | char gethostbyname (); |
4795 | int | |
4796 | main () | |
4797 | { | |
fc6ffb29 | 4798 | return gethostbyname (); |
f5818d2f AJ |
4799 | ; |
4800 | return 0; | |
4801 | } | |
4802 | _ACEOF | |
4803 | rm -f conftest.$ac_objext conftest$ac_exeext | |
0ebeb530 JW |
4804 | if { (ac_try="$ac_link" |
4805 | case "(($ac_try" in | |
4806 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
4807 | *) ac_try_echo=$ac_try;; | |
4808 | esac | |
abf5048b AJ |
4809 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
4810 | $as_echo "$ac_try_echo") >&5 | |
0ebeb530 | 4811 | (eval "$ac_link") 2>conftest.er1 |
f5818d2f | 4812 | ac_status=$? |
875927f6 AJ |
4813 | grep -v '^ *+' conftest.er1 >conftest.err |
4814 | rm -f conftest.er1 | |
4815 | cat conftest.err >&5 | |
abf5048b | 4816 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
dc9f3843 AJ |
4817 | (exit $ac_status); } && { |
4818 | test -z "$ac_c_werror_flag" || | |
4819 | test ! -s conftest.err | |
abf5048b AJ |
4820 | } && test -s conftest$ac_exeext && { |
4821 | test "$cross_compiling" = yes || | |
4822 | $as_test_x conftest$ac_exeext | |
4823 | }; then | |
f5818d2f AJ |
4824 | ac_cv_lib_nsl_gethostbyname=yes |
4825 | else | |
abf5048b | 4826 | $as_echo "$as_me: failed program was:" >&5 |
e24bcc77 AJ |
4827 | sed 's/^/| /' conftest.$ac_ext >&5 |
4828 | ||
fc6ffb29 | 4829 | ac_cv_lib_nsl_gethostbyname=no |
f5818d2f | 4830 | fi |
fc6ffb29 | 4831 | |
abf5048b | 4832 | rm -rf conftest.dSYM |
f0ca586f | 4833 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ |
875927f6 | 4834 | conftest$ac_exeext conftest.$ac_ext |
f5818d2f AJ |
4835 | LIBS=$ac_check_lib_save_LIBS |
4836 | fi | |
abf5048b AJ |
4837 | { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5 |
4838 | $as_echo "$ac_cv_lib_nsl_gethostbyname" >&6; } | |
4839 | if test "x$ac_cv_lib_nsl_gethostbyname" = x""yes; then | |
f5818d2f AJ |
4840 | X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl" |
4841 | fi | |
ff8331ea | 4842 | |
f5818d2f | 4843 | if test $ac_cv_lib_nsl_gethostbyname = no; then |
abf5048b AJ |
4844 | { $as_echo "$as_me:$LINENO: checking for gethostbyname in -lbsd" >&5 |
4845 | $as_echo_n "checking for gethostbyname in -lbsd... " >&6; } | |
f5818d2f | 4846 | if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then |
abf5048b | 4847 | $as_echo_n "(cached) " >&6 |
ff8331ea | 4848 | else |
f5818d2f AJ |
4849 | ac_check_lib_save_LIBS=$LIBS |
4850 | LIBS="-lbsd $LIBS" | |
4851 | cat >conftest.$ac_ext <<_ACEOF | |
e24bcc77 AJ |
4852 | /* confdefs.h. */ |
4853 | _ACEOF | |
4854 | cat confdefs.h >>conftest.$ac_ext | |
4855 | cat >>conftest.$ac_ext <<_ACEOF | |
4856 | /* end confdefs.h. */ | |
ff8331ea | 4857 | |
fc6ffb29 AJ |
4858 | /* Override any GCC internal prototype to avoid an error. |
4859 | Use char because int might match the return type of a GCC | |
4860 | builtin and then its argument prototype would still apply. */ | |
f5818d2f AJ |
4861 | #ifdef __cplusplus |
4862 | extern "C" | |
4863 | #endif | |
f5818d2f AJ |
4864 | char gethostbyname (); |
4865 | int | |
4866 | main () | |
4867 | { | |
fc6ffb29 | 4868 | return gethostbyname (); |
f5818d2f AJ |
4869 | ; |
4870 | return 0; | |
4871 | } | |
4872 | _ACEOF | |
4873 | rm -f conftest.$ac_objext conftest$ac_exeext | |
0ebeb530 JW |
4874 | if { (ac_try="$ac_link" |
4875 | case "(($ac_try" in | |
4876 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
4877 | *) ac_try_echo=$ac_try;; | |
4878 | esac | |
abf5048b AJ |
4879 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
4880 | $as_echo "$ac_try_echo") >&5 | |
0ebeb530 | 4881 | (eval "$ac_link") 2>conftest.er1 |
f5818d2f | 4882 | ac_status=$? |
875927f6 AJ |
4883 | grep -v '^ *+' conftest.er1 >conftest.err |
4884 | rm -f conftest.er1 | |
4885 | cat conftest.err >&5 | |
abf5048b | 4886 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
dc9f3843 AJ |
4887 | (exit $ac_status); } && { |
4888 | test -z "$ac_c_werror_flag" || | |
4889 | test ! -s conftest.err | |
abf5048b AJ |
4890 | } && test -s conftest$ac_exeext && { |
4891 | test "$cross_compiling" = yes || | |
4892 | $as_test_x conftest$ac_exeext | |
4893 | }; then | |
f5818d2f AJ |
4894 | ac_cv_lib_bsd_gethostbyname=yes |
4895 | else | |
abf5048b | 4896 | $as_echo "$as_me: failed program was:" >&5 |
e24bcc77 AJ |
4897 | sed 's/^/| /' conftest.$ac_ext >&5 |
4898 | ||
fc6ffb29 | 4899 | ac_cv_lib_bsd_gethostbyname=no |
f5818d2f | 4900 | fi |
fc6ffb29 | 4901 | |
abf5048b | 4902 | rm -rf conftest.dSYM |
f0ca586f | 4903 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ |
875927f6 | 4904 | conftest$ac_exeext conftest.$ac_ext |
f5818d2f AJ |
4905 | LIBS=$ac_check_lib_save_LIBS |
4906 | fi | |
abf5048b AJ |
4907 | { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gethostbyname" >&5 |
4908 | $as_echo "$ac_cv_lib_bsd_gethostbyname" >&6; } | |
4909 | if test "x$ac_cv_lib_bsd_gethostbyname" = x""yes; then | |
f5818d2f | 4910 | X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd" |
ff8331ea AJ |
4911 | fi |
4912 | ||
f5818d2f | 4913 | fi |
da0cfb36 | 4914 | fi |
ff8331ea AJ |
4915 | |
4916 | # lieder@skyler.mavd.honeywell.com says without -lsocket, | |
da0cfb36 AJ |
4917 | # socket/setsockopt and other routines are undefined under SCO ODT |
4918 | # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary | |
f5818d2f | 4919 | # on later versions), says Simon Leinen: it contains gethostby* |
11af04e3 | 4920 | # variants that don't use the name server (or something). -lsocket |
f5818d2f AJ |
4921 | # must be given before -lnsl if both are needed. We assume that |
4922 | # if connect needs -lnsl, so does gethostbyname. | |
abf5048b AJ |
4923 | { $as_echo "$as_me:$LINENO: checking for connect" >&5 |
4924 | $as_echo_n "checking for connect... " >&6; } | |
f5818d2f | 4925 | if test "${ac_cv_func_connect+set}" = set; then |
abf5048b | 4926 | $as_echo_n "(cached) " >&6 |
f5818d2f AJ |
4927 | else |
4928 | cat >conftest.$ac_ext <<_ACEOF | |
e24bcc77 AJ |
4929 | /* confdefs.h. */ |
4930 | _ACEOF | |
4931 | cat confdefs.h >>conftest.$ac_ext | |
4932 | cat >>conftest.$ac_ext <<_ACEOF | |
4933 | /* end confdefs.h. */ | |
875927f6 AJ |
4934 | /* Define connect to an innocuous variant, in case <limits.h> declares connect. |
4935 | For example, HP-UX 11i <limits.h> declares gettimeofday. */ | |
4936 | #define connect innocuous_connect | |
4937 | ||
da0cfb36 | 4938 | /* System header to define __stub macros and hopefully few prototypes, |
e24bcc77 AJ |
4939 | which can conflict with char connect (); below. |
4940 | Prefer <limits.h> to <assert.h> if __STDC__ is defined, since | |
4941 | <limits.h> exists even on freestanding compilers. */ | |
875927f6 | 4942 | |
e24bcc77 AJ |
4943 | #ifdef __STDC__ |
4944 | # include <limits.h> | |
4945 | #else | |
4946 | # include <assert.h> | |
4947 | #endif | |
875927f6 AJ |
4948 | |
4949 | #undef connect | |
4950 | ||
fc6ffb29 AJ |
4951 | /* Override any GCC internal prototype to avoid an error. |
4952 | Use char because int might match the return type of a GCC | |
4953 | builtin and then its argument prototype would still apply. */ | |
f5818d2f AJ |
4954 | #ifdef __cplusplus |
4955 | extern "C" | |
4956 | #endif | |
f5818d2f | 4957 | char connect (); |
da0cfb36 AJ |
4958 | /* The GNU C library defines this for functions which it implements |
4959 | to always fail with ENOSYS. Some functions are actually named | |
4960 | something starting with __ and the normal name is an alias. */ | |
fc6ffb29 | 4961 | #if defined __stub_connect || defined __stub___connect |
da0cfb36 | 4962 | choke me |
da0cfb36 AJ |
4963 | #endif |
4964 | ||
e24bcc77 AJ |
4965 | int |
4966 | main () | |
4967 | { | |
fc6ffb29 | 4968 | return connect (); |
f5818d2f AJ |
4969 | ; |
4970 | return 0; | |
4971 | } | |
4972 | _ACEOF | |
4973 | rm -f conftest.$ac_objext conftest$ac_exeext | |
0ebeb530 JW |
4974 | if { (ac_try="$ac_link" |
4975 | case "(($ac_try" in | |
4976 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
4977 | *) ac_try_echo=$ac_try;; | |
4978 | esac | |
abf5048b AJ |
4979 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
4980 | $as_echo "$ac_try_echo") >&5 | |
0ebeb530 | 4981 | (eval "$ac_link") 2>conftest.er1 |
f5818d2f | 4982 | ac_status=$? |
875927f6 AJ |
4983 | grep -v '^ *+' conftest.er1 >conftest.err |
4984 | rm -f conftest.er1 | |
4985 | cat conftest.err >&5 | |
abf5048b | 4986 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
dc9f3843 AJ |
4987 | (exit $ac_status); } && { |
4988 | test -z "$ac_c_werror_flag" || | |
4989 | test ! -s conftest.err | |
abf5048b AJ |
4990 | } && test -s conftest$ac_exeext && { |
4991 | test "$cross_compiling" = yes || | |
4992 | $as_test_x conftest$ac_exeext | |
4993 | }; then | |
f5818d2f AJ |
4994 | ac_cv_func_connect=yes |
4995 | else | |
abf5048b | 4996 | $as_echo "$as_me: failed program was:" >&5 |
e24bcc77 AJ |
4997 | sed 's/^/| /' conftest.$ac_ext >&5 |
4998 | ||
fc6ffb29 | 4999 | ac_cv_func_connect=no |
f5818d2f | 5000 | fi |
fc6ffb29 | 5001 | |
abf5048b | 5002 | rm -rf conftest.dSYM |
f0ca586f | 5003 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ |
875927f6 | 5004 | conftest$ac_exeext conftest.$ac_ext |
f5818d2f | 5005 | fi |
abf5048b AJ |
5006 | { $as_echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5 |
5007 | $as_echo "$ac_cv_func_connect" >&6; } | |
da0cfb36 AJ |
5008 | |
5009 | if test $ac_cv_func_connect = no; then | |
abf5048b AJ |
5010 | { $as_echo "$as_me:$LINENO: checking for connect in -lsocket" >&5 |
5011 | $as_echo_n "checking for connect in -lsocket... " >&6; } | |
f5818d2f | 5012 | if test "${ac_cv_lib_socket_connect+set}" = set; then |
abf5048b | 5013 | $as_echo_n "(cached) " >&6 |
ff8331ea | 5014 | else |
f5818d2f | 5015 | ac_check_lib_save_LIBS=$LIBS |
da0cfb36 | 5016 | LIBS="-lsocket $X_EXTRA_LIBS $LIBS" |
f5818d2f | 5017 | cat >conftest.$ac_ext <<_ACEOF |
e24bcc77 AJ |
5018 | /* confdefs.h. */ |
5019 | _ACEOF | |
5020 | cat confdefs.h >>conftest.$ac_ext | |
5021 | cat >>conftest.$ac_ext <<_ACEOF | |
5022 | /* end confdefs.h. */ | |
f5818d2f | 5023 | |
fc6ffb29 AJ |
5024 | /* Override any GCC internal prototype to avoid an error. |
5025 | Use char because int might match the return type of a GCC | |
5026 | builtin and then its argument prototype would still apply. */ | |
f5818d2f AJ |
5027 | #ifdef __cplusplus |
5028 | extern "C" | |
5029 | #endif | |
f5818d2f AJ |
5030 | char connect (); |
5031 | int | |
5032 | main () | |
5033 | { | |
fc6ffb29 | 5034 | return connect (); |
f5818d2f AJ |
5035 | ; |
5036 | return 0; | |
5037 | } | |
5038 | _ACEOF | |
5039 | rm -f conftest.$ac_objext conftest$ac_exeext | |
0ebeb530 JW |
5040 | if { (ac_try="$ac_link" |
5041 | case "(($ac_try" in | |
5042 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
5043 | *) ac_try_echo=$ac_try;; | |
5044 | esac | |
abf5048b AJ |
5045 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
5046 | $as_echo "$ac_try_echo") >&5 | |
0ebeb530 | 5047 | (eval "$ac_link") 2>conftest.er1 |
f5818d2f | 5048 | ac_status=$? |
875927f6 AJ |
5049 | grep -v '^ *+' conftest.er1 >conftest.err |
5050 | rm -f conftest.er1 | |
5051 | cat conftest.err >&5 | |
abf5048b | 5052 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
dc9f3843 AJ |
5053 | (exit $ac_status); } && { |
5054 | test -z "$ac_c_werror_flag" || | |
5055 | test ! -s conftest.err | |
abf5048b AJ |
5056 | } && test -s conftest$ac_exeext && { |
5057 | test "$cross_compiling" = yes || | |
5058 | $as_test_x conftest$ac_exeext | |
5059 | }; then | |
f5818d2f AJ |
5060 | ac_cv_lib_socket_connect=yes |
5061 | else | |
abf5048b | 5062 | $as_echo "$as_me: failed program was:" >&5 |
e24bcc77 AJ |
5063 | sed 's/^/| /' conftest.$ac_ext >&5 |
5064 | ||
fc6ffb29 | 5065 | ac_cv_lib_socket_connect=no |
f5818d2f | 5066 | fi |
fc6ffb29 | 5067 | |
abf5048b | 5068 | rm -rf conftest.dSYM |
f0ca586f | 5069 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ |
875927f6 | 5070 | conftest$ac_exeext conftest.$ac_ext |
f5818d2f AJ |
5071 | LIBS=$ac_check_lib_save_LIBS |
5072 | fi | |
abf5048b AJ |
5073 | { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5 |
5074 | $as_echo "$ac_cv_lib_socket_connect" >&6; } | |
5075 | if test "x$ac_cv_lib_socket_connect" = x""yes; then | |
da0cfb36 | 5076 | X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS" |
ff8331ea AJ |
5077 | fi |
5078 | ||
da0cfb36 AJ |
5079 | fi |
5080 | ||
f5818d2f | 5081 | # Guillermo Gomez says -lposix is necessary on A/UX. |
abf5048b AJ |
5082 | { $as_echo "$as_me:$LINENO: checking for remove" >&5 |
5083 | $as_echo_n "checking for remove... " >&6; } | |
f5818d2f | 5084 | if test "${ac_cv_func_remove+set}" = set; then |
abf5048b | 5085 | $as_echo_n "(cached) " >&6 |
da0cfb36 | 5086 | else |
f5818d2f | 5087 | cat >conftest.$ac_ext <<_ACEOF |
e24bcc77 AJ |
5088 | /* confdefs.h. */ |
5089 | _ACEOF | |
5090 | cat confdefs.h >>conftest.$ac_ext | |
5091 | cat >>conftest.$ac_ext <<_ACEOF | |
5092 | /* end confdefs.h. */ | |
875927f6 AJ |
5093 | /* Define remove to an innocuous variant, in case <limits.h> declares remove. |
5094 | For example, HP-UX 11i <limits.h> declares gettimeofday. */ | |
5095 | #define remove innocuous_remove | |
5096 | ||
da0cfb36 | 5097 | /* System header to define __stub macros and hopefully few prototypes, |
e24bcc77 AJ |
5098 | which can conflict with char remove (); below. |
5099 | Prefer <limits.h> to <assert.h> if __STDC__ is defined, since | |
5100 | <limits.h> exists even on freestanding compilers. */ | |
875927f6 | 5101 | |
e24bcc77 AJ |
5102 | #ifdef __STDC__ |
5103 | # include <limits.h> | |
5104 | #else | |
5105 | # include <assert.h> | |
5106 | #endif | |
875927f6 AJ |
5107 | |
5108 | #undef remove | |
5109 | ||
fc6ffb29 AJ |
5110 | /* Override any GCC internal prototype to avoid an error. |
5111 | Use char because int might match the return type of a GCC | |
5112 | builtin and then its argument prototype would still apply. */ | |
f5818d2f AJ |
5113 | #ifdef __cplusplus |
5114 | extern "C" | |
5115 | #endif | |
f5818d2f | 5116 | char remove (); |
da0cfb36 AJ |
5117 | /* The GNU C library defines this for functions which it implements |
5118 | to always fail with ENOSYS. Some functions are actually named | |
5119 | something starting with __ and the normal name is an alias. */ | |
fc6ffb29 | 5120 | #if defined __stub_remove || defined __stub___remove |
da0cfb36 | 5121 | choke me |
da0cfb36 AJ |
5122 | #endif |
5123 | ||
e24bcc77 AJ |
5124 | int |
5125 | main () | |
5126 | { | |
fc6ffb29 | 5127 | return remove (); |
f5818d2f AJ |
5128 | ; |
5129 | return 0; | |
5130 | } | |
5131 | _ACEOF | |
5132 | rm -f conftest.$ac_objext conftest$ac_exeext | |
0ebeb530 JW |
5133 | if { (ac_try="$ac_link" |
5134 | case "(($ac_try" in | |
5135 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
5136 | *) ac_try_echo=$ac_try;; | |
5137 | esac | |
abf5048b AJ |
5138 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
5139 | $as_echo "$ac_try_echo") >&5 | |
0ebeb530 | 5140 | (eval "$ac_link") 2>conftest.er1 |
f5818d2f | 5141 | ac_status=$? |
875927f6 AJ |
5142 | grep -v '^ *+' conftest.er1 >conftest.err |
5143 | rm -f conftest.er1 | |
5144 | cat conftest.err >&5 | |
abf5048b | 5145 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
dc9f3843 AJ |
5146 | (exit $ac_status); } && { |
5147 | test -z "$ac_c_werror_flag" || | |
5148 | test ! -s conftest.err | |
abf5048b AJ |
5149 | } && test -s conftest$ac_exeext && { |
5150 | test "$cross_compiling" = yes || | |
5151 | $as_test_x conftest$ac_exeext | |
5152 | }; then | |
f5818d2f AJ |
5153 | ac_cv_func_remove=yes |
5154 | else | |
abf5048b | 5155 | $as_echo "$as_me: failed program was:" >&5 |
e24bcc77 AJ |
5156 | sed 's/^/| /' conftest.$ac_ext >&5 |
5157 | ||
fc6ffb29 | 5158 | ac_cv_func_remove=no |
f5818d2f | 5159 | fi |
fc6ffb29 | 5160 | |
abf5048b | 5161 | rm -rf conftest.dSYM |
f0ca586f | 5162 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ |
875927f6 | 5163 | conftest$ac_exeext conftest.$ac_ext |
f5818d2f | 5164 | fi |
abf5048b AJ |
5165 | { $as_echo "$as_me:$LINENO: result: $ac_cv_func_remove" >&5 |
5166 | $as_echo "$ac_cv_func_remove" >&6; } | |
da0cfb36 AJ |
5167 | |
5168 | if test $ac_cv_func_remove = no; then | |
abf5048b AJ |
5169 | { $as_echo "$as_me:$LINENO: checking for remove in -lposix" >&5 |
5170 | $as_echo_n "checking for remove in -lposix... " >&6; } | |
f5818d2f | 5171 | if test "${ac_cv_lib_posix_remove+set}" = set; then |
abf5048b | 5172 | $as_echo_n "(cached) " >&6 |
e2bfa4c7 | 5173 | else |
f5818d2f | 5174 | ac_check_lib_save_LIBS=$LIBS |
da0cfb36 | 5175 | LIBS="-lposix $LIBS" |
f5818d2f | 5176 | cat >conftest.$ac_ext <<_ACEOF |
e24bcc77 AJ |
5177 | /* confdefs.h. */ |
5178 | _ACEOF | |
5179 | cat confdefs.h >>conftest.$ac_ext | |
5180 | cat >>conftest.$ac_ext <<_ACEOF | |
5181 | /* end confdefs.h. */ | |
f5818d2f | 5182 | |
fc6ffb29 AJ |
5183 | /* Override any GCC internal prototype to avoid an error. |
5184 | Use char because int might match the return type of a GCC | |
5185 | builtin and then its argument prototype would still apply. */ | |
f5818d2f AJ |
5186 | #ifdef __cplusplus |
5187 | extern "C" | |
5188 | #endif | |
f5818d2f AJ |
5189 | char remove (); |
5190 | int | |
5191 | main () | |
5192 | { | |
fc6ffb29 | 5193 | return remove (); |
f5818d2f AJ |
5194 | ; |
5195 | return 0; | |
5196 | } | |
5197 | _ACEOF | |
5198 | rm -f conftest.$ac_objext conftest$ac_exeext | |
0ebeb530 JW |
5199 | if { (ac_try="$ac_link" |
5200 | case "(($ac_try" in | |
5201 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
5202 | *) ac_try_echo=$ac_try;; | |
5203 | esac | |
abf5048b AJ |
5204 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
5205 | $as_echo "$ac_try_echo") >&5 | |
0ebeb530 | 5206 | (eval "$ac_link") 2>conftest.er1 |
f5818d2f | 5207 | ac_status=$? |
875927f6 AJ |
5208 | grep -v '^ *+' conftest.er1 >conftest.err |
5209 | rm -f conftest.er1 | |
5210 | cat conftest.err >&5 | |
abf5048b | 5211 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
dc9f3843 AJ |
5212 | (exit $ac_status); } && { |
5213 | test -z "$ac_c_werror_flag" || | |
5214 | test ! -s conftest.err | |
abf5048b AJ |
5215 | } && test -s conftest$ac_exeext && { |
5216 | test "$cross_compiling" = yes || | |
5217 | $as_test_x conftest$ac_exeext | |
5218 | }; then | |
f5818d2f AJ |
5219 | ac_cv_lib_posix_remove=yes |
5220 | else | |
abf5048b | 5221 | $as_echo "$as_me: failed program was:" >&5 |
e24bcc77 AJ |
5222 | sed 's/^/| /' conftest.$ac_ext >&5 |
5223 | ||
fc6ffb29 | 5224 | ac_cv_lib_posix_remove=no |
f5818d2f | 5225 | fi |
fc6ffb29 | 5226 | |
abf5048b | 5227 | rm -rf conftest.dSYM |
f0ca586f | 5228 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ |
875927f6 | 5229 | conftest$ac_exeext conftest.$ac_ext |
f5818d2f AJ |
5230 | LIBS=$ac_check_lib_save_LIBS |
5231 | fi | |
abf5048b AJ |
5232 | { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_posix_remove" >&5 |
5233 | $as_echo "$ac_cv_lib_posix_remove" >&6; } | |
5234 | if test "x$ac_cv_lib_posix_remove" = x""yes; then | |
da0cfb36 | 5235 | X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix" |
da0cfb36 AJ |
5236 | fi |
5237 | ||
5238 | fi | |
5239 | ||
5240 | # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay. | |
abf5048b AJ |
5241 | { $as_echo "$as_me:$LINENO: checking for shmat" >&5 |
5242 | $as_echo_n "checking for shmat... " >&6; } | |
f5818d2f | 5243 | if test "${ac_cv_func_shmat+set}" = set; then |
abf5048b | 5244 | $as_echo_n "(cached) " >&6 |
da0cfb36 | 5245 | else |
f5818d2f | 5246 | cat >conftest.$ac_ext <<_ACEOF |
e24bcc77 AJ |
5247 | /* confdefs.h. */ |
5248 | _ACEOF | |
5249 | cat confdefs.h >>conftest.$ac_ext | |
5250 | cat >>conftest.$ac_ext <<_ACEOF | |
5251 | /* end confdefs.h. */ | |
875927f6 AJ |
5252 | /* Define shmat to an innocuous variant, in case <limits.h> declares shmat. |
5253 | For example, HP-UX 11i <limits.h> declares gettimeofday. */ | |
5254 | #define shmat innocuous_shmat | |
5255 | ||
da0cfb36 | 5256 | /* System header to define __stub macros and hopefully few prototypes, |
e24bcc77 AJ |
5257 | which can conflict with char shmat (); below. |
5258 | Prefer <limits.h> to <assert.h> if __STDC__ is defined, since | |
5259 | <limits.h> exists even on freestanding compilers. */ | |
875927f6 | 5260 | |
e24bcc77 AJ |
5261 | #ifdef __STDC__ |
5262 | # include <limits.h> | |
5263 | #else | |
5264 | # include <assert.h> | |
5265 | #endif | |
875927f6 AJ |
5266 | |
5267 | #undef shmat | |
5268 | ||
fc6ffb29 AJ |
5269 | /* Override any GCC internal prototype to avoid an error. |
5270 | Use char because int might match the return type of a GCC | |
5271 | builtin and then its argument prototype would still apply. */ | |
f5818d2f AJ |
5272 | #ifdef __cplusplus |
5273 | extern "C" | |
5274 | #endif | |
f5818d2f | 5275 | char shmat (); |
da0cfb36 AJ |
5276 | /* The GNU C library defines this for functions which it implements |
5277 | to always fail with ENOSYS. Some functions are actually named | |
5278 | something starting with __ and the normal name is an alias. */ | |
fc6ffb29 | 5279 | #if defined __stub_shmat || defined __stub___shmat |
da0cfb36 | 5280 | choke me |
da0cfb36 AJ |
5281 | #endif |
5282 | ||
e24bcc77 AJ |
5283 | int |
5284 | main () | |
5285 | { | |
fc6ffb29 | 5286 | return shmat (); |
f5818d2f AJ |
5287 | ; |
5288 | return 0; | |
5289 | } | |
5290 | _ACEOF | |
5291 | rm -f conftest.$ac_objext conftest$ac_exeext | |
0ebeb530 JW |
5292 | if { (ac_try="$ac_link" |
5293 | case "(($ac_try" in | |
5294 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
5295 | *) ac_try_echo=$ac_try;; | |
5296 | esac | |
abf5048b AJ |
5297 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
5298 | $as_echo "$ac_try_echo") >&5 | |
0ebeb530 | 5299 | (eval "$ac_link") 2>conftest.er1 |
f5818d2f | 5300 | ac_status=$? |
875927f6 AJ |
5301 | grep -v '^ *+' conftest.er1 >conftest.err |
5302 | rm -f conftest.er1 | |
5303 | cat conftest.err >&5 | |
abf5048b | 5304 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
dc9f3843 AJ |
5305 | (exit $ac_status); } && { |
5306 | test -z "$ac_c_werror_flag" || | |
5307 | test ! -s conftest.err | |
abf5048b AJ |
5308 | } && test -s conftest$ac_exeext && { |
5309 | test "$cross_compiling" = yes || | |
5310 | $as_test_x conftest$ac_exeext | |
5311 | }; then | |
f5818d2f AJ |
5312 | ac_cv_func_shmat=yes |
5313 | else | |
abf5048b | 5314 | $as_echo "$as_me: failed program was:" >&5 |
e24bcc77 AJ |
5315 | sed 's/^/| /' conftest.$ac_ext >&5 |
5316 | ||
fc6ffb29 | 5317 | ac_cv_func_shmat=no |
f5818d2f | 5318 | fi |
fc6ffb29 | 5319 | |
abf5048b | 5320 | rm -rf conftest.dSYM |
f0ca586f | 5321 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ |
875927f6 | 5322 | conftest$ac_exeext conftest.$ac_ext |
f5818d2f | 5323 | fi |
abf5048b AJ |
5324 | { $as_echo "$as_me:$LINENO: result: $ac_cv_func_shmat" >&5 |
5325 | $as_echo "$ac_cv_func_shmat" >&6; } | |
da0cfb36 AJ |
5326 | |
5327 | if test $ac_cv_func_shmat = no; then | |
abf5048b AJ |
5328 | { $as_echo "$as_me:$LINENO: checking for shmat in -lipc" >&5 |
5329 | $as_echo_n "checking for shmat in -lipc... " >&6; } | |
f5818d2f | 5330 | if test "${ac_cv_lib_ipc_shmat+set}" = set; then |
abf5048b | 5331 | $as_echo_n "(cached) " >&6 |
da0cfb36 | 5332 | else |
f5818d2f | 5333 | ac_check_lib_save_LIBS=$LIBS |
da0cfb36 | 5334 | LIBS="-lipc $LIBS" |
f5818d2f | 5335 | cat >conftest.$ac_ext <<_ACEOF |
e24bcc77 AJ |
5336 | /* confdefs.h. */ |
5337 | _ACEOF | |
5338 | cat confdefs.h >>conftest.$ac_ext | |
5339 | cat >>conftest.$ac_ext <<_ACEOF | |
5340 | /* end confdefs.h. */ | |
f5818d2f | 5341 | |
fc6ffb29 AJ |
5342 | /* Override any GCC internal prototype to avoid an error. |
5343 | Use char because int might match the return type of a GCC | |
5344 | builtin and then its argument prototype would still apply. */ | |
f5818d2f AJ |
5345 | #ifdef __cplusplus |
5346 | extern "C" | |
5347 | #endif | |
f5818d2f AJ |
5348 | char shmat (); |
5349 | int | |
5350 | main () | |
5351 | { | |
fc6ffb29 | 5352 | return shmat (); |
f5818d2f AJ |
5353 | ; |
5354 | return 0; | |
5355 | } | |
5356 | _ACEOF | |
5357 | rm -f conftest.$ac_objext conftest$ac_exeext | |
0ebeb530 JW |
5358 | if { (ac_try="$ac_link" |
5359 | case "(($ac_try" in | |
5360 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
5361 | *) ac_try_echo=$ac_try;; | |
5362 | esac | |
abf5048b AJ |
5363 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
5364 | $as_echo "$ac_try_echo") >&5 | |
0ebeb530 | 5365 | (eval "$ac_link") 2>conftest.er1 |
f5818d2f | 5366 | ac_status=$? |
875927f6 AJ |
5367 | grep -v '^ *+' conftest.er1 >conftest.err |
5368 | rm -f conftest.er1 | |
5369 | cat conftest.err >&5 | |
abf5048b | 5370 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
dc9f3843 AJ |
5371 | (exit $ac_status); } && { |
5372 | test -z "$ac_c_werror_flag" || | |
5373 | test ! -s conftest.err | |
abf5048b AJ |
5374 | } && test -s conftest$ac_exeext && { |
5375 | test "$cross_compiling" = yes || | |
5376 | $as_test_x conftest$ac_exeext | |
5377 | }; then | |
f5818d2f AJ |
5378 | ac_cv_lib_ipc_shmat=yes |
5379 | else | |
abf5048b | 5380 | $as_echo "$as_me: failed program was:" >&5 |
e24bcc77 AJ |
5381 | sed 's/^/| /' conftest.$ac_ext >&5 |
5382 | ||
fc6ffb29 | 5383 | ac_cv_lib_ipc_shmat=no |
f5818d2f | 5384 | fi |
fc6ffb29 | 5385 | |
abf5048b | 5386 | rm -rf conftest.dSYM |
f0ca586f | 5387 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ |
875927f6 | 5388 | conftest$ac_exeext conftest.$ac_ext |
f5818d2f AJ |
5389 | LIBS=$ac_check_lib_save_LIBS |
5390 | fi | |
abf5048b AJ |
5391 | { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_ipc_shmat" >&5 |
5392 | $as_echo "$ac_cv_lib_ipc_shmat" >&6; } | |
5393 | if test "x$ac_cv_lib_ipc_shmat" = x""yes; then | |
da0cfb36 | 5394 | X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc" |
e2bfa4c7 AJ |
5395 | fi |
5396 | ||
ff8331ea AJ |
5397 | fi |
5398 | fi | |
da0cfb36 AJ |
5399 | |
5400 | # Check for libraries that X11R6 Xt/Xaw programs need. | |
f5818d2f | 5401 | ac_save_LDFLAGS=$LDFLAGS |
da0cfb36 AJ |
5402 | test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries" |
5403 | # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to | |
5404 | # check for ICE first), but we must link in the order -lSM -lICE or | |
5405 | # we get undefined symbols. So assume we have SM if we have ICE. | |
5406 | # These have to be linked with before -lX11, unlike the other | |
5407 | # libraries we check for below, so use a different variable. | |
f5818d2f | 5408 | # John Interrante, Karl Berry |
abf5048b AJ |
5409 | { $as_echo "$as_me:$LINENO: checking for IceConnectionNumber in -lICE" >&5 |
5410 | $as_echo_n "checking for IceConnectionNumber in -lICE... " >&6; } | |
f5818d2f | 5411 | if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then |
abf5048b | 5412 | $as_echo_n "(cached) " >&6 |
f5818d2f AJ |
5413 | else |
5414 | ac_check_lib_save_LIBS=$LIBS | |
18ad24a7 | 5415 | LIBS="-lICE $X_EXTRA_LIBS $LIBS" |
f5818d2f | 5416 | cat >conftest.$ac_ext <<_ACEOF |
e24bcc77 AJ |
5417 | /* confdefs.h. */ |
5418 | _ACEOF | |
5419 | cat confdefs.h >>conftest.$ac_ext | |
5420 | cat >>conftest.$ac_ext <<_ACEOF | |
5421 | /* end confdefs.h. */ | |
f5818d2f | 5422 | |
fc6ffb29 AJ |
5423 | /* Override any GCC internal prototype to avoid an error. |
5424 | Use char because int might match the return type of a GCC | |
5425 | builtin and then its argument prototype would still apply. */ | |
f5818d2f AJ |
5426 | #ifdef __cplusplus |
5427 | extern "C" | |
5428 | #endif | |
f5818d2f AJ |
5429 | char IceConnectionNumber (); |
5430 | int | |
5431 | main () | |
5432 | { | |
fc6ffb29 | 5433 | return IceConnectionNumber (); |
f5818d2f AJ |
5434 | ; |
5435 | return 0; | |
5436 | } | |
5437 | _ACEOF | |
5438 | rm -f conftest.$ac_objext conftest$ac_exeext | |
0ebeb530 JW |
5439 | if { (ac_try="$ac_link" |
5440 | case "(($ac_try" in | |
5441 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
5442 | *) ac_try_echo=$ac_try;; | |
5443 | esac | |
abf5048b AJ |
5444 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
5445 | $as_echo "$ac_try_echo") >&5 | |
0ebeb530 | 5446 | (eval "$ac_link") 2>conftest.er1 |
f5818d2f | 5447 | ac_status=$? |
875927f6 AJ |
5448 | grep -v '^ *+' conftest.er1 >conftest.err |
5449 | rm -f conftest.er1 | |
5450 | cat conftest.err >&5 | |
abf5048b | 5451 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
dc9f3843 AJ |
5452 | (exit $ac_status); } && { |
5453 | test -z "$ac_c_werror_flag" || | |
5454 | test ! -s conftest.err | |
abf5048b AJ |
5455 | } && test -s conftest$ac_exeext && { |
5456 | test "$cross_compiling" = yes || | |
5457 | $as_test_x conftest$ac_exeext | |
5458 | }; then | |
f5818d2f AJ |
5459 | ac_cv_lib_ICE_IceConnectionNumber=yes |
5460 | else | |
abf5048b | 5461 | $as_echo "$as_me: failed program was:" >&5 |
e24bcc77 AJ |
5462 | sed 's/^/| /' conftest.$ac_ext >&5 |
5463 | ||
fc6ffb29 | 5464 | ac_cv_lib_ICE_IceConnectionNumber=no |
f5818d2f | 5465 | fi |
fc6ffb29 | 5466 | |
abf5048b | 5467 | rm -rf conftest.dSYM |
f0ca586f | 5468 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ |
875927f6 | 5469 | conftest$ac_exeext conftest.$ac_ext |
f5818d2f AJ |
5470 | LIBS=$ac_check_lib_save_LIBS |
5471 | fi | |
abf5048b AJ |
5472 | { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5 |
5473 | $as_echo "$ac_cv_lib_ICE_IceConnectionNumber" >&6; } | |
5474 | if test "x$ac_cv_lib_ICE_IceConnectionNumber" = x""yes; then | |
da0cfb36 | 5475 | X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE" |
da0cfb36 AJ |
5476 | fi |
5477 | ||
f5818d2f | 5478 | LDFLAGS=$ac_save_LDFLAGS |
da0cfb36 | 5479 | |
ff8331ea AJ |
5480 | fi |
5481 | ||
e2991ea7 | 5482 | |
4091627c | 5483 | for ac_prog in flex |
5c5a6217 | 5484 | do |
f5818d2f | 5485 | # Extract the first word of "$ac_prog", so it can be a program name with args. |
5c5a6217 | 5486 | set dummy $ac_prog; ac_word=$2 |
abf5048b AJ |
5487 | { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 |
5488 | $as_echo_n "checking for $ac_word... " >&6; } | |
4091627c | 5489 | if test "${ac_cv_prog_FLEX+set}" = set; then |
abf5048b | 5490 | $as_echo_n "(cached) " >&6 |
5c5a6217 | 5491 | else |
4091627c AJ |
5492 | if test -n "$FLEX"; then |
5493 | ac_cv_prog_FLEX="$FLEX" # Let the user override the test. | |
5c5a6217 | 5494 | else |
daa2886c AJ |
5495 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
5496 | for as_dir in $PATH | |
5497 | do | |
5498 | IFS=$as_save_IFS | |
5499 | test -z "$as_dir" && as_dir=. | |
5500 | for ac_exec_ext in '' $ac_executable_extensions; do | |
dc9f3843 | 5501 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
4091627c | 5502 | ac_cv_prog_FLEX="$ac_prog" |
abf5048b | 5503 | $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
daa2886c AJ |
5504 | break 2 |
5505 | fi | |
5506 | done | |
f5818d2f | 5507 | done |
fc6ffb29 | 5508 | IFS=$as_save_IFS |
f5818d2f | 5509 | |
5c5a6217 MM |
5510 | fi |
5511 | fi | |
4091627c AJ |
5512 | FLEX=$ac_cv_prog_FLEX |
5513 | if test -n "$FLEX"; then | |
abf5048b AJ |
5514 | { $as_echo "$as_me:$LINENO: result: $FLEX" >&5 |
5515 | $as_echo "$FLEX" >&6; } | |
5c5a6217 | 5516 | else |
abf5048b AJ |
5517 | { $as_echo "$as_me:$LINENO: result: no" >&5 |
5518 | $as_echo "no" >&6; } | |
5c5a6217 MM |
5519 | fi |
5520 | ||
fc6ffb29 | 5521 | |
4091627c | 5522 | test -n "$FLEX" && break |
5c5a6217 | 5523 | done |
4091627c | 5524 | test -n "$FLEX" || FLEX="none" |
5c5a6217 | 5525 | |
4091627c | 5526 | if test "$FLEX" = "none" |
5c5a6217 | 5527 | then |
abf5048b AJ |
5528 | { { $as_echo "$as_me:$LINENO: error: no suitable flex found. Please install the 'flex' package." >&5 |
5529 | $as_echo "$as_me: error: no suitable flex found. Please install the 'flex' package." >&2;} | |
f5818d2f | 5530 | { (exit 1); exit 1; }; } |
5c5a6217 | 5531 | fi |
c068f670 MM |
5532 | |
5533 | for ac_prog in bison | |
b53bb419 | 5534 | do |
f5818d2f | 5535 | # Extract the first word of "$ac_prog", so it can be a program name with args. |
b53bb419 | 5536 | set dummy $ac_prog; ac_word=$2 |
abf5048b AJ |
5537 | { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 |
5538 | $as_echo_n "checking for $ac_word... " >&6; } | |
c068f670 | 5539 | if test "${ac_cv_prog_BISON+set}" = set; then |
abf5048b | 5540 | $as_echo_n "(cached) " >&6 |
b53bb419 | 5541 | else |
c068f670 MM |
5542 | if test -n "$BISON"; then |
5543 | ac_cv_prog_BISON="$BISON" # Let the user override the test. | |
b53bb419 | 5544 | else |
daa2886c AJ |
5545 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
5546 | for as_dir in $PATH | |
5547 | do | |
5548 | IFS=$as_save_IFS | |
5549 | test -z "$as_dir" && as_dir=. | |
5550 | for ac_exec_ext in '' $ac_executable_extensions; do | |
dc9f3843 | 5551 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
c068f670 | 5552 | ac_cv_prog_BISON="$ac_prog" |
abf5048b | 5553 | $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
daa2886c AJ |
5554 | break 2 |
5555 | fi | |
5556 | done | |
f5818d2f | 5557 | done |
fc6ffb29 | 5558 | IFS=$as_save_IFS |
f5818d2f | 5559 | |
b53bb419 MM |
5560 | fi |
5561 | fi | |
c068f670 MM |
5562 | BISON=$ac_cv_prog_BISON |
5563 | if test -n "$BISON"; then | |
abf5048b AJ |
5564 | { $as_echo "$as_me:$LINENO: result: $BISON" >&5 |
5565 | $as_echo "$BISON" >&6; } | |
b53bb419 | 5566 | else |
abf5048b AJ |
5567 | { $as_echo "$as_me:$LINENO: result: no" >&5 |
5568 | $as_echo "no" >&6; } | |
b53bb419 MM |
5569 | fi |
5570 | ||
fc6ffb29 | 5571 | |
c068f670 | 5572 | test -n "$BISON" && break |
b53bb419 | 5573 | done |
c068f670 | 5574 | test -n "$BISON" || BISON="none" |
b53bb419 | 5575 | |
c068f670 | 5576 | if test "$BISON" = "none" |
b53bb419 | 5577 | then |
abf5048b AJ |
5578 | { { $as_echo "$as_me:$LINENO: error: no suitable bison found. Please install the 'bison' package." >&5 |
5579 | $as_echo "$as_me: error: no suitable bison found. Please install the 'bison' package." >&2;} | |
f5818d2f AJ |
5580 | { (exit 1); exit 1; }; } |
5581 | fi | |
fc01b729 | 5582 | |
1d4db787 | 5583 | if test -n "$ac_tool_prefix"; then |
c80c290e AJ |
5584 | for ac_prog in gas as |
5585 | do | |
5586 | # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. | |
5587 | set dummy $ac_tool_prefix$ac_prog; ac_word=$2 | |
abf5048b AJ |
5588 | { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 |
5589 | $as_echo_n "checking for $ac_word... " >&6; } | |
1d4db787 | 5590 | if test "${ac_cv_prog_AS+set}" = set; then |
abf5048b | 5591 | $as_echo_n "(cached) " >&6 |
1d4db787 MM |
5592 | else |
5593 | if test -n "$AS"; then | |
5594 | ac_cv_prog_AS="$AS" # Let the user override the test. | |
5595 | else | |
5596 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | |
5597 | for as_dir in $PATH | |
5598 | do | |
5599 | IFS=$as_save_IFS | |
5600 | test -z "$as_dir" && as_dir=. | |
5601 | for ac_exec_ext in '' $ac_executable_extensions; do | |
dc9f3843 | 5602 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
c80c290e | 5603 | ac_cv_prog_AS="$ac_tool_prefix$ac_prog" |
abf5048b | 5604 | $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
1d4db787 MM |
5605 | break 2 |
5606 | fi | |
5607 | done | |
5608 | done | |
fc6ffb29 | 5609 | IFS=$as_save_IFS |
1d4db787 MM |
5610 | |
5611 | fi | |
5612 | fi | |
5613 | AS=$ac_cv_prog_AS | |
5614 | if test -n "$AS"; then | |
abf5048b AJ |
5615 | { $as_echo "$as_me:$LINENO: result: $AS" >&5 |
5616 | $as_echo "$AS" >&6; } | |
1d4db787 | 5617 | else |
abf5048b AJ |
5618 | { $as_echo "$as_me:$LINENO: result: no" >&5 |
5619 | $as_echo "no" >&6; } | |
1d4db787 MM |
5620 | fi |
5621 | ||
fc6ffb29 | 5622 | |
c80c290e AJ |
5623 | test -n "$AS" && break |
5624 | done | |
1d4db787 | 5625 | fi |
c80c290e | 5626 | if test -z "$AS"; then |
1d4db787 | 5627 | ac_ct_AS=$AS |
c80c290e AJ |
5628 | for ac_prog in gas as |
5629 | do | |
5630 | # Extract the first word of "$ac_prog", so it can be a program name with args. | |
5631 | set dummy $ac_prog; ac_word=$2 | |
abf5048b AJ |
5632 | { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 |
5633 | $as_echo_n "checking for $ac_word... " >&6; } | |
1d4db787 | 5634 | if test "${ac_cv_prog_ac_ct_AS+set}" = set; then |
abf5048b | 5635 | $as_echo_n "(cached) " >&6 |
1d4db787 MM |
5636 | else |
5637 | if test -n "$ac_ct_AS"; then | |
5638 | ac_cv_prog_ac_ct_AS="$ac_ct_AS" # Let the user override the test. | |
5639 | else | |
5640 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | |
5641 | for as_dir in $PATH | |
5642 | do | |
5643 | IFS=$as_save_IFS | |
5644 | test -z "$as_dir" && as_dir=. | |
5645 | for ac_exec_ext in '' $ac_executable_extensions; do | |
dc9f3843 | 5646 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
c80c290e | 5647 | ac_cv_prog_ac_ct_AS="$ac_prog" |
abf5048b | 5648 | $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
1d4db787 MM |
5649 | break 2 |
5650 | fi | |
5651 | done | |
5652 | done | |
fc6ffb29 | 5653 | IFS=$as_save_IFS |
1d4db787 | 5654 | |
1d4db787 MM |
5655 | fi |
5656 | fi | |
5657 | ac_ct_AS=$ac_cv_prog_ac_ct_AS | |
5658 | if test -n "$ac_ct_AS"; then | |
abf5048b AJ |
5659 | { $as_echo "$as_me:$LINENO: result: $ac_ct_AS" >&5 |
5660 | $as_echo "$ac_ct_AS" >&6; } | |
1d4db787 | 5661 | else |
abf5048b AJ |
5662 | { $as_echo "$as_me:$LINENO: result: no" >&5 |
5663 | $as_echo "no" >&6; } | |
1d4db787 MM |
5664 | fi |
5665 | ||
fc6ffb29 | 5666 | |
c80c290e AJ |
5667 | test -n "$ac_ct_AS" && break |
5668 | done | |
c80c290e | 5669 | |
fc6ffb29 AJ |
5670 | if test "x$ac_ct_AS" = x; then |
5671 | AS="as" | |
5672 | else | |
5673 | case $cross_compiling:$ac_tool_warned in | |
5674 | yes:) | |
abf5048b AJ |
5675 | { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5 |
5676 | $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} | |
fc6ffb29 AJ |
5677 | ac_tool_warned=yes ;; |
5678 | esac | |
5679 | AS=$ac_ct_AS | |
5680 | fi | |
1d4db787 MM |
5681 | fi |
5682 | ||
eb5f89c5 | 5683 | if test -n "$ac_tool_prefix"; then |
86bd0461 FG |
5684 | for ac_prog in ld gld |
5685 | do | |
5686 | # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. | |
5687 | set dummy $ac_tool_prefix$ac_prog; ac_word=$2 | |
abf5048b AJ |
5688 | { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 |
5689 | $as_echo_n "checking for $ac_word... " >&6; } | |
eb5f89c5 | 5690 | if test "${ac_cv_prog_LD+set}" = set; then |
abf5048b | 5691 | $as_echo_n "(cached) " >&6 |
eb5f89c5 AJ |
5692 | else |
5693 | if test -n "$LD"; then | |
5694 | ac_cv_prog_LD="$LD" # Let the user override the test. | |
5695 | else | |
5696 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | |
5697 | for as_dir in $PATH | |
5698 | do | |
5699 | IFS=$as_save_IFS | |
5700 | test -z "$as_dir" && as_dir=. | |
5701 | for ac_exec_ext in '' $ac_executable_extensions; do | |
dc9f3843 | 5702 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
86bd0461 | 5703 | ac_cv_prog_LD="$ac_tool_prefix$ac_prog" |
abf5048b | 5704 | $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
eb5f89c5 AJ |
5705 | break 2 |
5706 | fi | |
5707 | done | |
5708 | done | |
fc6ffb29 | 5709 | IFS=$as_save_IFS |
eb5f89c5 AJ |
5710 | |
5711 | fi | |
5712 | fi | |
5713 | LD=$ac_cv_prog_LD | |
5714 | if test -n "$LD"; then | |
abf5048b AJ |
5715 | { $as_echo "$as_me:$LINENO: result: $LD" >&5 |
5716 | $as_echo "$LD" >&6; } | |
eb5f89c5 | 5717 | else |
abf5048b AJ |
5718 | { $as_echo "$as_me:$LINENO: result: no" >&5 |
5719 | $as_echo "no" >&6; } | |
eb5f89c5 AJ |
5720 | fi |
5721 | ||
fc6ffb29 | 5722 | |
86bd0461 FG |
5723 | test -n "$LD" && break |
5724 | done | |
eb5f89c5 | 5725 | fi |
86bd0461 | 5726 | if test -z "$LD"; then |
eb5f89c5 | 5727 | ac_ct_LD=$LD |
86bd0461 FG |
5728 | for ac_prog in ld gld |
5729 | do | |
5730 | # Extract the first word of "$ac_prog", so it can be a program name with args. | |
5731 | set dummy $ac_prog; ac_word=$2 | |
abf5048b AJ |
5732 | { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 |
5733 | $as_echo_n "checking for $ac_word... " >&6; } | |
eb5f89c5 | 5734 | if test "${ac_cv_prog_ac_ct_LD+set}" = set; then |
abf5048b | 5735 | $as_echo_n "(cached) " >&6 |
eb5f89c5 AJ |
5736 | else |
5737 | if test -n "$ac_ct_LD"; then | |
5738 | ac_cv_prog_ac_ct_LD="$ac_ct_LD" # Let the user override the test. | |
5739 | else | |
5740 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | |
5741 | for as_dir in $PATH | |
5742 | do | |
5743 | IFS=$as_save_IFS | |
5744 | test -z "$as_dir" && as_dir=. | |
5745 | for ac_exec_ext in '' $ac_executable_extensions; do | |
dc9f3843 | 5746 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
86bd0461 | 5747 | ac_cv_prog_ac_ct_LD="$ac_prog" |
abf5048b | 5748 | $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
eb5f89c5 AJ |
5749 | break 2 |
5750 | fi | |
5751 | done | |
5752 | done | |
fc6ffb29 | 5753 | IFS=$as_save_IFS |
eb5f89c5 | 5754 | |
eb5f89c5 AJ |
5755 | fi |
5756 | fi | |
5757 | ac_ct_LD=$ac_cv_prog_ac_ct_LD | |
5758 | if test -n "$ac_ct_LD"; then | |
abf5048b AJ |
5759 | { $as_echo "$as_me:$LINENO: result: $ac_ct_LD" >&5 |
5760 | $as_echo "$ac_ct_LD" >&6; } | |
eb5f89c5 | 5761 | else |
abf5048b AJ |
5762 | { $as_echo "$as_me:$LINENO: result: no" >&5 |
5763 | $as_echo "no" >&6; } | |
eb5f89c5 AJ |
5764 | fi |
5765 | ||
86bd0461 FG |
5766 | |
5767 | test -n "$ac_ct_LD" && break | |
5768 | done | |
5769 | ||
fc6ffb29 AJ |
5770 | if test "x$ac_ct_LD" = x; then |
5771 | LD="ld" | |
5772 | else | |
5773 | case $cross_compiling:$ac_tool_warned in | |
5774 | yes:) | |
abf5048b AJ |
5775 | { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5 |
5776 | $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} | |
fc6ffb29 AJ |
5777 | ac_tool_warned=yes ;; |
5778 | esac | |
5779 | LD=$ac_ct_LD | |
5780 | fi | |
86bd0461 FG |
5781 | fi |
5782 | ||
5783 | if test -n "$ac_tool_prefix"; then | |
5784 | for ac_prog in nm gnm | |
5785 | do | |
5786 | # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. | |
5787 | set dummy $ac_tool_prefix$ac_prog; ac_word=$2 | |
abf5048b AJ |
5788 | { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 |
5789 | $as_echo_n "checking for $ac_word... " >&6; } | |
86bd0461 | 5790 | if test "${ac_cv_prog_NM+set}" = set; then |
abf5048b | 5791 | $as_echo_n "(cached) " >&6 |
86bd0461 FG |
5792 | else |
5793 | if test -n "$NM"; then | |
5794 | ac_cv_prog_NM="$NM" # Let the user override the test. | |
5795 | else | |
5796 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | |
5797 | for as_dir in $PATH | |
5798 | do | |
5799 | IFS=$as_save_IFS | |
5800 | test -z "$as_dir" && as_dir=. | |
5801 | for ac_exec_ext in '' $ac_executable_extensions; do | |
5802 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then | |
5803 | ac_cv_prog_NM="$ac_tool_prefix$ac_prog" | |
abf5048b | 5804 | $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
86bd0461 FG |
5805 | break 2 |
5806 | fi | |
5807 | done | |
5808 | done | |
5809 | IFS=$as_save_IFS | |
5810 | ||
5811 | fi | |
5812 | fi | |
5813 | NM=$ac_cv_prog_NM | |
5814 | if test -n "$NM"; then | |
abf5048b AJ |
5815 | { $as_echo "$as_me:$LINENO: result: $NM" >&5 |
5816 | $as_echo "$NM" >&6; } | |
eb5f89c5 | 5817 | else |
abf5048b AJ |
5818 | { $as_echo "$as_me:$LINENO: result: no" >&5 |
5819 | $as_echo "no" >&6; } | |
86bd0461 FG |
5820 | fi |
5821 | ||
5822 | ||
5823 | test -n "$NM" && break | |
5824 | done | |
5825 | fi | |
5826 | if test -z "$NM"; then | |
5827 | ac_ct_NM=$NM | |
5828 | for ac_prog in nm gnm | |
5829 | do | |
5830 | # Extract the first word of "$ac_prog", so it can be a program name with args. | |
5831 | set dummy $ac_prog; ac_word=$2 | |
abf5048b AJ |
5832 | { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 |
5833 | $as_echo_n "checking for $ac_word... " >&6; } | |
86bd0461 | 5834 | if test "${ac_cv_prog_ac_ct_NM+set}" = set; then |
abf5048b | 5835 | $as_echo_n "(cached) " >&6 |
86bd0461 FG |
5836 | else |
5837 | if test -n "$ac_ct_NM"; then | |
5838 | ac_cv_prog_ac_ct_NM="$ac_ct_NM" # Let the user override the test. | |
5839 | else | |
5840 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | |
5841 | for as_dir in $PATH | |
5842 | do | |
5843 | IFS=$as_save_IFS | |
5844 | test -z "$as_dir" && as_dir=. | |
5845 | for ac_exec_ext in '' $ac_executable_extensions; do | |
5846 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then | |
5847 | ac_cv_prog_ac_ct_NM="$ac_prog" | |
abf5048b | 5848 | $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
86bd0461 FG |
5849 | break 2 |
5850 | fi | |
5851 | done | |
5852 | done | |
5853 | IFS=$as_save_IFS | |
5854 | ||
5855 | fi | |
5856 | fi | |
5857 | ac_ct_NM=$ac_cv_prog_ac_ct_NM | |
5858 | if test -n "$ac_ct_NM"; then | |
abf5048b AJ |
5859 | { $as_echo "$as_me:$LINENO: result: $ac_ct_NM" >&5 |
5860 | $as_echo "$ac_ct_NM" >&6; } | |
86bd0461 | 5861 | else |
abf5048b AJ |
5862 | { $as_echo "$as_me:$LINENO: result: no" >&5 |
5863 | $as_echo "no" >&6; } | |
86bd0461 FG |
5864 | fi |
5865 | ||
5866 | ||
5867 | test -n "$ac_ct_NM" && break | |
5868 | done | |
5869 | ||
5870 | if test "x$ac_ct_NM" = x; then | |
5871 | NM="nm" | |
5872 | else | |
5873 | case $cross_compiling:$ac_tool_warned in | |
5874 | yes:) | |
abf5048b AJ |
5875 | { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5 |
5876 | $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} | |
86bd0461 FG |
5877 | ac_tool_warned=yes ;; |
5878 | esac | |
5879 | NM=$ac_ct_NM | |
5880 | fi | |
eb5f89c5 AJ |
5881 | fi |
5882 | ||
fc01b729 | 5883 | if test -n "$ac_tool_prefix"; then |
86bd0461 FG |
5884 | for ac_prog in ar gar |
5885 | do | |
5886 | # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. | |
5887 | set dummy $ac_tool_prefix$ac_prog; ac_word=$2 | |
abf5048b AJ |
5888 | { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 |
5889 | $as_echo_n "checking for $ac_word... " >&6; } | |
fc01b729 | 5890 | if test "${ac_cv_prog_AR+set}" = set; then |
abf5048b | 5891 | $as_echo_n "(cached) " >&6 |
fc01b729 AJ |
5892 | else |
5893 | if test -n "$AR"; then | |
5894 | ac_cv_prog_AR="$AR" # Let the user override the test. | |
5895 | else | |
5896 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | |
5897 | for as_dir in $PATH | |
5898 | do | |
5899 | IFS=$as_save_IFS | |
5900 | test -z "$as_dir" && as_dir=. | |
5901 | for ac_exec_ext in '' $ac_executable_extensions; do | |
dc9f3843 | 5902 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
86bd0461 | 5903 | ac_cv_prog_AR="$ac_tool_prefix$ac_prog" |
abf5048b | 5904 | $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
fc01b729 AJ |
5905 | break 2 |
5906 | fi | |
5907 | done | |
5908 | done | |
fc6ffb29 | 5909 | IFS=$as_save_IFS |
fc01b729 AJ |
5910 | |
5911 | fi | |
5912 | fi | |
5913 | AR=$ac_cv_prog_AR | |
5914 | if test -n "$AR"; then | |
abf5048b AJ |
5915 | { $as_echo "$as_me:$LINENO: result: $AR" >&5 |
5916 | $as_echo "$AR" >&6; } | |
fc01b729 | 5917 | else |
abf5048b AJ |
5918 | { $as_echo "$as_me:$LINENO: result: no" >&5 |
5919 | $as_echo "no" >&6; } | |
fc01b729 AJ |
5920 | fi |
5921 | ||
fc6ffb29 | 5922 | |
86bd0461 FG |
5923 | test -n "$AR" && break |
5924 | done | |
fc01b729 | 5925 | fi |
86bd0461 | 5926 | if test -z "$AR"; then |
fc01b729 | 5927 | ac_ct_AR=$AR |
86bd0461 FG |
5928 | for ac_prog in ar gar |
5929 | do | |
5930 | # Extract the first word of "$ac_prog", so it can be a program name with args. | |
5931 | set dummy $ac_prog; ac_word=$2 | |
abf5048b AJ |
5932 | { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 |
5933 | $as_echo_n "checking for $ac_word... " >&6; } | |
fc01b729 | 5934 | if test "${ac_cv_prog_ac_ct_AR+set}" = set; then |
abf5048b | 5935 | $as_echo_n "(cached) " >&6 |
fc01b729 AJ |
5936 | else |
5937 | if test -n "$ac_ct_AR"; then | |
5938 | ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test. | |
5939 | else | |
5940 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | |
5941 | for as_dir in $PATH | |
5942 | do | |
5943 | IFS=$as_save_IFS | |
5944 | test -z "$as_dir" && as_dir=. | |
5945 | for ac_exec_ext in '' $ac_executable_extensions; do | |
dc9f3843 | 5946 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
86bd0461 | 5947 | ac_cv_prog_ac_ct_AR="$ac_prog" |
abf5048b | 5948 | $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
fc01b729 AJ |
5949 | break 2 |
5950 | fi | |
5951 | done | |
5952 | done | |
fc6ffb29 | 5953 | IFS=$as_save_IFS |
fc01b729 | 5954 | |
fc01b729 AJ |
5955 | fi |
5956 | fi | |
5957 | ac_ct_AR=$ac_cv_prog_ac_ct_AR | |
5958 | if test -n "$ac_ct_AR"; then | |
abf5048b AJ |
5959 | { $as_echo "$as_me:$LINENO: result: $ac_ct_AR" >&5 |
5960 | $as_echo "$ac_ct_AR" >&6; } | |
fc01b729 | 5961 | else |
abf5048b AJ |
5962 | { $as_echo "$as_me:$LINENO: result: no" >&5 |
5963 | $as_echo "no" >&6; } | |
fc01b729 AJ |
5964 | fi |
5965 | ||
86bd0461 FG |
5966 | |
5967 | test -n "$ac_ct_AR" && break | |
5968 | done | |
5969 | ||
fc6ffb29 AJ |
5970 | if test "x$ac_ct_AR" = x; then |
5971 | AR="ar" | |
5972 | else | |
5973 | case $cross_compiling:$ac_tool_warned in | |
5974 | yes:) | |
abf5048b AJ |
5975 | { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5 |
5976 | $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} | |
fc6ffb29 AJ |
5977 | ac_tool_warned=yes ;; |
5978 | esac | |
5979 | AR=$ac_ct_AR | |
5980 | fi | |
fc01b729 AJ |
5981 | fi |
5982 | ||
0c694d71 RS |
5983 | ARFLAGS=rc |
5984 | ||
f5818d2f AJ |
5985 | if test -n "$ac_tool_prefix"; then |
5986 | # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args. | |
5987 | set dummy ${ac_tool_prefix}ranlib; ac_word=$2 | |
abf5048b AJ |
5988 | { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 |
5989 | $as_echo_n "checking for $ac_word... " >&6; } | |
f5818d2f | 5990 | if test "${ac_cv_prog_RANLIB+set}" = set; then |
abf5048b | 5991 | $as_echo_n "(cached) " >&6 |
ff8331ea AJ |
5992 | else |
5993 | if test -n "$RANLIB"; then | |
5994 | ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test. | |
5995 | else | |
daa2886c AJ |
5996 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
5997 | for as_dir in $PATH | |
5998 | do | |
5999 | IFS=$as_save_IFS | |
6000 | test -z "$as_dir" && as_dir=. | |
6001 | for ac_exec_ext in '' $ac_executable_extensions; do | |
dc9f3843 | 6002 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
daa2886c | 6003 | ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib" |
abf5048b | 6004 | $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
daa2886c AJ |
6005 | break 2 |
6006 | fi | |
6007 | done | |
f5818d2f | 6008 | done |
fc6ffb29 | 6009 | IFS=$as_save_IFS |
f5818d2f | 6010 | |
e2991ea7 | 6011 | fi |
e2991ea7 | 6012 | fi |
f5818d2f | 6013 | RANLIB=$ac_cv_prog_RANLIB |
ff8331ea | 6014 | if test -n "$RANLIB"; then |
abf5048b AJ |
6015 | { $as_echo "$as_me:$LINENO: result: $RANLIB" >&5 |
6016 | $as_echo "$RANLIB" >&6; } | |
f5818d2f | 6017 | else |
abf5048b AJ |
6018 | { $as_echo "$as_me:$LINENO: result: no" >&5 |
6019 | $as_echo "no" >&6; } | |
f5818d2f AJ |
6020 | fi |
6021 | ||
fc6ffb29 | 6022 | |
f5818d2f AJ |
6023 | fi |
6024 | if test -z "$ac_cv_prog_RANLIB"; then | |
6025 | ac_ct_RANLIB=$RANLIB | |
6026 | # Extract the first word of "ranlib", so it can be a program name with args. | |
6027 | set dummy ranlib; ac_word=$2 | |
abf5048b AJ |
6028 | { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 |
6029 | $as_echo_n "checking for $ac_word... " >&6; } | |
f5818d2f | 6030 | if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then |
abf5048b | 6031 | $as_echo_n "(cached) " >&6 |
f5818d2f AJ |
6032 | else |
6033 | if test -n "$ac_ct_RANLIB"; then | |
6034 | ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test. | |
6035 | else | |
daa2886c AJ |
6036 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
6037 | for as_dir in $PATH | |
6038 | do | |
6039 | IFS=$as_save_IFS | |
6040 | test -z "$as_dir" && as_dir=. | |
6041 | for ac_exec_ext in '' $ac_executable_extensions; do | |
dc9f3843 | 6042 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
daa2886c | 6043 | ac_cv_prog_ac_ct_RANLIB="ranlib" |
abf5048b | 6044 | $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
daa2886c AJ |
6045 | break 2 |
6046 | fi | |
6047 | done | |
f5818d2f | 6048 | done |
fc6ffb29 | 6049 | IFS=$as_save_IFS |
f5818d2f | 6050 | |
f5818d2f AJ |
6051 | fi |
6052 | fi | |
6053 | ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB | |
6054 | if test -n "$ac_ct_RANLIB"; then | |
abf5048b AJ |
6055 | { $as_echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5 |
6056 | $as_echo "$ac_ct_RANLIB" >&6; } | |
f5818d2f | 6057 | else |
abf5048b AJ |
6058 | { $as_echo "$as_me:$LINENO: result: no" >&5 |
6059 | $as_echo "no" >&6; } | |
f5818d2f AJ |
6060 | fi |
6061 | ||
fc6ffb29 AJ |
6062 | if test "x$ac_ct_RANLIB" = x; then |
6063 | RANLIB=":" | |
6064 | else | |
6065 | case $cross_compiling:$ac_tool_warned in | |
6066 | yes:) | |
abf5048b AJ |
6067 | { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5 |
6068 | $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} | |
fc6ffb29 AJ |
6069 | ac_tool_warned=yes ;; |
6070 | esac | |
6071 | RANLIB=$ac_ct_RANLIB | |
6072 | fi | |
ff8331ea | 6073 | else |
f5818d2f | 6074 | RANLIB="$ac_cv_prog_RANLIB" |
ff8331ea | 6075 | fi |
e2991ea7 | 6076 | |
fc01b729 AJ |
6077 | if test -n "$ac_tool_prefix"; then |
6078 | # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args. | |
6079 | set dummy ${ac_tool_prefix}strip; ac_word=$2 | |
abf5048b AJ |
6080 | { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 |
6081 | $as_echo_n "checking for $ac_word... " >&6; } | |
fc01b729 | 6082 | if test "${ac_cv_prog_STRIP+set}" = set; then |
abf5048b | 6083 | $as_echo_n "(cached) " >&6 |
fc01b729 AJ |
6084 | else |
6085 | if test -n "$STRIP"; then | |
6086 | ac_cv_prog_STRIP="$STRIP" # Let the user override the test. | |
6087 | else | |
6088 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | |
6089 | for as_dir in $PATH | |
6090 | do | |
6091 | IFS=$as_save_IFS | |
6092 | test -z "$as_dir" && as_dir=. | |
6093 | for ac_exec_ext in '' $ac_executable_extensions; do | |
dc9f3843 | 6094 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
fc01b729 | 6095 | ac_cv_prog_STRIP="${ac_tool_prefix}strip" |
abf5048b | 6096 | $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
fc01b729 AJ |
6097 | break 2 |
6098 | fi | |
6099 | done | |
6100 | done | |
fc6ffb29 | 6101 | IFS=$as_save_IFS |
fc01b729 AJ |
6102 | |
6103 | fi | |
6104 | fi | |
6105 | STRIP=$ac_cv_prog_STRIP | |
6106 | if test -n "$STRIP"; then | |
abf5048b AJ |
6107 | { $as_echo "$as_me:$LINENO: result: $STRIP" >&5 |
6108 | $as_echo "$STRIP" >&6; } | |
fc01b729 | 6109 | else |
abf5048b AJ |
6110 | { $as_echo "$as_me:$LINENO: result: no" >&5 |
6111 | $as_echo "no" >&6; } | |
fc01b729 AJ |
6112 | fi |
6113 | ||
fc6ffb29 | 6114 | |
fc01b729 AJ |
6115 | fi |
6116 | if test -z "$ac_cv_prog_STRIP"; then | |
6117 | ac_ct_STRIP=$STRIP | |
6118 | # Extract the first word of "strip", so it can be a program name with args. | |
6119 | set dummy strip; ac_word=$2 | |
abf5048b AJ |
6120 | { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 |
6121 | $as_echo_n "checking for $ac_word... " >&6; } | |
fc01b729 | 6122 | if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then |
abf5048b | 6123 | $as_echo_n "(cached) " >&6 |
fc01b729 AJ |
6124 | else |
6125 | if test -n "$ac_ct_STRIP"; then | |
6126 | ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test. | |
6127 | else | |
6128 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | |
6129 | for as_dir in $PATH | |
6130 | do | |
6131 | IFS=$as_save_IFS | |
6132 | test -z "$as_dir" && as_dir=. | |
6133 | for ac_exec_ext in '' $ac_executable_extensions; do | |
dc9f3843 | 6134 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
fc01b729 | 6135 | ac_cv_prog_ac_ct_STRIP="strip" |
abf5048b | 6136 | $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
fc01b729 AJ |
6137 | break 2 |
6138 | fi | |
6139 | done | |
6140 | done | |
fc6ffb29 | 6141 | IFS=$as_save_IFS |
fc01b729 | 6142 | |
fc01b729 AJ |
6143 | fi |
6144 | fi | |
6145 | ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP | |
6146 | if test -n "$ac_ct_STRIP"; then | |
abf5048b AJ |
6147 | { $as_echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5 |
6148 | $as_echo "$ac_ct_STRIP" >&6; } | |
fc01b729 | 6149 | else |
abf5048b AJ |
6150 | { $as_echo "$as_me:$LINENO: result: no" >&5 |
6151 | $as_echo "no" >&6; } | |
fc01b729 AJ |
6152 | fi |
6153 | ||
fc6ffb29 AJ |
6154 | if test "x$ac_ct_STRIP" = x; then |
6155 | STRIP="strip" | |
6156 | else | |
6157 | case $cross_compiling:$ac_tool_warned in | |
6158 | yes:) | |
abf5048b AJ |
6159 | { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5 |
6160 | $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} | |
fc6ffb29 AJ |
6161 | ac_tool_warned=yes ;; |
6162 | esac | |
6163 | STRIP=$ac_ct_STRIP | |
6164 | fi | |
fc01b729 AJ |
6165 | else |
6166 | STRIP="$ac_cv_prog_STRIP" | |
6167 | fi | |
6168 | ||
6169 | if test -n "$ac_tool_prefix"; then | |
6170 | # Extract the first word of "${ac_tool_prefix}windres", so it can be a program name with args. | |
6171 | set dummy ${ac_tool_prefix}windres; ac_word=$2 | |
abf5048b AJ |
6172 | { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 |
6173 | $as_echo_n "checking for $ac_word... " >&6; } | |
fc01b729 | 6174 | if test "${ac_cv_prog_WINDRES+set}" = set; then |
abf5048b | 6175 | $as_echo_n "(cached) " >&6 |
fc01b729 AJ |
6176 | else |
6177 | if test -n "$WINDRES"; then | |
6178 | ac_cv_prog_WINDRES="$WINDRES" # Let the user override the test. | |
6179 | else | |
6180 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | |
6181 | for as_dir in $PATH | |
6182 | do | |
6183 | IFS=$as_save_IFS | |
6184 | test -z "$as_dir" && as_dir=. | |
6185 | for ac_exec_ext in '' $ac_executable_extensions; do | |
dc9f3843 | 6186 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
fc01b729 | 6187 | ac_cv_prog_WINDRES="${ac_tool_prefix}windres" |
abf5048b | 6188 | $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
fc01b729 AJ |
6189 | break 2 |
6190 | fi | |
6191 | done | |
6192 | done | |
fc6ffb29 | 6193 | IFS=$as_save_IFS |
fc01b729 AJ |
6194 | |
6195 | fi | |
6196 | fi | |
6197 | WINDRES=$ac_cv_prog_WINDRES | |
6198 | if test -n "$WINDRES"; then | |
abf5048b AJ |
6199 | { $as_echo "$as_me:$LINENO: result: $WINDRES" >&5 |
6200 | $as_echo "$WINDRES" >&6; } | |
fc01b729 | 6201 | else |
abf5048b AJ |
6202 | { $as_echo "$as_me:$LINENO: result: no" >&5 |
6203 | $as_echo "no" >&6; } | |
fc01b729 AJ |
6204 | fi |
6205 | ||
fc6ffb29 | 6206 | |
fc01b729 AJ |
6207 | fi |
6208 | if test -z "$ac_cv_prog_WINDRES"; then | |
6209 | ac_ct_WINDRES=$WINDRES | |
6210 | # Extract the first word of "windres", so it can be a program name with args. | |
6211 | set dummy windres; ac_word=$2 | |
abf5048b AJ |
6212 | { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 |
6213 | $as_echo_n "checking for $ac_word... " >&6; } | |
fc01b729 | 6214 | if test "${ac_cv_prog_ac_ct_WINDRES+set}" = set; then |
abf5048b | 6215 | $as_echo_n "(cached) " >&6 |
fc01b729 AJ |
6216 | else |
6217 | if test -n "$ac_ct_WINDRES"; then | |
6218 | ac_cv_prog_ac_ct_WINDRES="$ac_ct_WINDRES" # Let the user override the test. | |
6219 | else | |
6220 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | |
6221 | for as_dir in $PATH | |
6222 | do | |
6223 | IFS=$as_save_IFS | |
6224 | test -z "$as_dir" && as_dir=. | |
6225 | for ac_exec_ext in '' $ac_executable_extensions; do | |
dc9f3843 | 6226 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
fc01b729 | 6227 | ac_cv_prog_ac_ct_WINDRES="windres" |
abf5048b | 6228 | $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
fc01b729 AJ |
6229 | break 2 |
6230 | fi | |
6231 | done | |
6232 | done | |
fc6ffb29 | 6233 | IFS=$as_save_IFS |
fc01b729 | 6234 | |
fc01b729 AJ |
6235 | fi |
6236 | fi | |
6237 | ac_ct_WINDRES=$ac_cv_prog_ac_ct_WINDRES | |
6238 | if test -n "$ac_ct_WINDRES"; then | |
abf5048b AJ |
6239 | { $as_echo "$as_me:$LINENO: result: $ac_ct_WINDRES" >&5 |
6240 | $as_echo "$ac_ct_WINDRES" >&6; } | |
fc01b729 | 6241 | else |
abf5048b AJ |
6242 | { $as_echo "$as_me:$LINENO: result: no" >&5 |
6243 | $as_echo "no" >&6; } | |
fc01b729 AJ |
6244 | fi |
6245 | ||
fc6ffb29 AJ |
6246 | if test "x$ac_ct_WINDRES" = x; then |
6247 | WINDRES="false" | |
6248 | else | |
6249 | case $cross_compiling:$ac_tool_warned in | |
6250 | yes:) | |
abf5048b AJ |
6251 | { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5 |
6252 | $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} | |
fc6ffb29 AJ |
6253 | ac_tool_warned=yes ;; |
6254 | esac | |
6255 | WINDRES=$ac_ct_WINDRES | |
6256 | fi | |
fc01b729 AJ |
6257 | else |
6258 | WINDRES="$ac_cv_prog_WINDRES" | |
6259 | fi | |
6260 | ||
abf5048b AJ |
6261 | { $as_echo "$as_me:$LINENO: checking whether ln -s works" >&5 |
6262 | $as_echo_n "checking whether ln -s works... " >&6; } | |
f5818d2f AJ |
6263 | LN_S=$as_ln_s |
6264 | if test "$LN_S" = "ln -s"; then | |
abf5048b AJ |
6265 | { $as_echo "$as_me:$LINENO: result: yes" >&5 |
6266 | $as_echo "yes" >&6; } | |
641ee76a | 6267 | else |
abf5048b AJ |
6268 | { $as_echo "$as_me:$LINENO: result: no, using $LN_S" >&5 |
6269 | $as_echo "no, using $LN_S" >&6; } | |
641ee76a AJ |
6270 | fi |
6271 | ||
abf5048b AJ |
6272 | { $as_echo "$as_me:$LINENO: checking whether ln works" >&5 |
6273 | $as_echo_n "checking whether ln works... " >&6; } | |
df234a9f AJ |
6274 | rm -f conf$$ conf$$.file |
6275 | echo >conf$$.file | |
6276 | if ln conf$$.file conf$$ 2>/dev/null; then | |
6277 | LN=ln | |
6278 | ||
abf5048b AJ |
6279 | { $as_echo "$as_me:$LINENO: result: yes" >&5 |
6280 | $as_echo "yes" >&6; } | |
df234a9f AJ |
6281 | else |
6282 | LN="cp -p" | |
6283 | ||
abf5048b AJ |
6284 | { $as_echo "$as_me:$LINENO: result: no, using $LN" >&5 |
6285 | $as_echo "no, using $LN" >&6; } | |
df234a9f AJ |
6286 | fi |
6287 | rm -f conf$$ conf$$.file | |
abf5048b AJ |
6288 | { $as_echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5 |
6289 | $as_echo_n "checking for grep that handles long lines and -e... " >&6; } | |
fc6ffb29 | 6290 | if test "${ac_cv_path_GREP+set}" = set; then |
abf5048b | 6291 | $as_echo_n "(cached) " >&6 |
fc6ffb29 | 6292 | else |
abf5048b | 6293 | if test -z "$GREP"; then |
fc6ffb29 | 6294 | ac_path_GREP_found=false |
abf5048b AJ |
6295 | # Loop through the user's path and test for each of PROGNAME-LIST |
6296 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | |
fc6ffb29 AJ |
6297 | for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin |
6298 | do | |
6299 | IFS=$as_save_IFS | |
6300 | test -z "$as_dir" && as_dir=. | |
6301 | for ac_prog in grep ggrep; do | |
abf5048b AJ |
6302 | for ac_exec_ext in '' $ac_executable_extensions; do |
6303 | ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext" | |
6304 | { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue | |
6305 | # Check for GNU ac_path_GREP and select it if it is found. | |
fc6ffb29 AJ |
6306 | # Check for GNU $ac_path_GREP |
6307 | case `"$ac_path_GREP" --version 2>&1` in | |
6308 | *GNU*) | |
6309 | ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;; | |
6310 | *) | |
6311 | ac_count=0 | |
abf5048b | 6312 | $as_echo_n 0123456789 >"conftest.in" |
fc6ffb29 AJ |
6313 | while : |
6314 | do | |
6315 | cat "conftest.in" "conftest.in" >"conftest.tmp" | |
6316 | mv "conftest.tmp" "conftest.in" | |
6317 | cp "conftest.in" "conftest.nl" | |
abf5048b | 6318 | $as_echo 'GREP' >> "conftest.nl" |
fc6ffb29 AJ |
6319 | "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break |
6320 | diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break | |
6321 | ac_count=`expr $ac_count + 1` | |
6322 | if test $ac_count -gt ${ac_path_GREP_max-0}; then | |
6323 | # Best one so far, save it but keep looking for a better one | |
6324 | ac_cv_path_GREP="$ac_path_GREP" | |
6325 | ac_path_GREP_max=$ac_count | |
6326 | fi | |
6327 | # 10*(2^10) chars as input seems more than enough | |
6328 | test $ac_count -gt 10 && break | |
6329 | done | |
0ebeb530 | 6330 | rm -f conftest.in conftest.tmp conftest.nl conftest.out;; |
fc6ffb29 AJ |
6331 | esac |
6332 | ||
abf5048b AJ |
6333 | $ac_path_GREP_found && break 3 |
6334 | done | |
fc6ffb29 AJ |
6335 | done |
6336 | done | |
fc6ffb29 | 6337 | IFS=$as_save_IFS |
abf5048b AJ |
6338 | if test -z "$ac_cv_path_GREP"; then |
6339 | { { $as_echo "$as_me:$LINENO: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5 | |
6340 | $as_echo "$as_me: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;} | |
fc6ffb29 | 6341 | { (exit 1); exit 1; }; } |
abf5048b | 6342 | fi |
fc6ffb29 AJ |
6343 | else |
6344 | ac_cv_path_GREP=$GREP | |
6345 | fi | |
6346 | ||
fc6ffb29 | 6347 | fi |
abf5048b AJ |
6348 | { $as_echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5 |
6349 | $as_echo "$ac_cv_path_GREP" >&6; } | |
fc6ffb29 AJ |
6350 | GREP="$ac_cv_path_GREP" |
6351 | ||
6352 | ||
abf5048b AJ |
6353 | { $as_echo "$as_me:$LINENO: checking for egrep" >&5 |
6354 | $as_echo_n "checking for egrep... " >&6; } | |
fc6ffb29 | 6355 | if test "${ac_cv_path_EGREP+set}" = set; then |
abf5048b | 6356 | $as_echo_n "(cached) " >&6 |
fc6ffb29 AJ |
6357 | else |
6358 | if echo a | $GREP -E '(a|b)' >/dev/null 2>&1 | |
6359 | then ac_cv_path_EGREP="$GREP -E" | |
6360 | else | |
abf5048b | 6361 | if test -z "$EGREP"; then |
fc6ffb29 | 6362 | ac_path_EGREP_found=false |
abf5048b AJ |
6363 | # Loop through the user's path and test for each of PROGNAME-LIST |
6364 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | |
fc6ffb29 AJ |
6365 | for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin |
6366 | do | |
6367 | IFS=$as_save_IFS | |
6368 | test -z "$as_dir" && as_dir=. | |
6369 | for ac_prog in egrep; do | |
abf5048b AJ |
6370 | for ac_exec_ext in '' $ac_executable_extensions; do |
6371 | ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext" | |
6372 | { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue | |
6373 | # Check for GNU ac_path_EGREP and select it if it is found. | |
fc6ffb29 AJ |
6374 | # Check for GNU $ac_path_EGREP |
6375 | case `"$ac_path_EGREP" --version 2>&1` in | |
6376 | *GNU*) | |
6377 | ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;; | |
6378 | *) | |
6379 | ac_count=0 | |
abf5048b | 6380 | $as_echo_n 0123456789 >"conftest.in" |
fc6ffb29 AJ |
6381 | while : |
6382 | do | |
6383 | cat "conftest.in" "conftest.in" >"conftest.tmp" | |
6384 | mv "conftest.tmp" "conftest.in" | |
6385 | cp "conftest.in" "conftest.nl" | |
abf5048b | 6386 | $as_echo 'EGREP' >> "conftest.nl" |
fc6ffb29 AJ |
6387 | "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break |
6388 | diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break | |
6389 | ac_count=`expr $ac_count + 1` | |
6390 | if test $ac_count -gt ${ac_path_EGREP_max-0}; then | |
6391 | # Best one so far, save it but keep looking for a better one | |
6392 | ac_cv_path_EGREP="$ac_path_EGREP" | |
6393 | ac_path_EGREP_max=$ac_count | |
c626491b | 6394 | fi |
fc6ffb29 AJ |
6395 | # 10*(2^10) chars as input seems more than enough |
6396 | test $ac_count -gt 10 && break | |
6397 | done | |
0ebeb530 | 6398 | rm -f conftest.in conftest.tmp conftest.nl conftest.out;; |
fc6ffb29 AJ |
6399 | esac |
6400 | ||
abf5048b AJ |
6401 | $ac_path_EGREP_found && break 3 |
6402 | done | |
fc6ffb29 AJ |
6403 | done |
6404 | done | |
fc6ffb29 | 6405 | IFS=$as_save_IFS |
abf5048b AJ |
6406 | if test -z "$ac_cv_path_EGREP"; then |
6407 | { { $as_echo "$as_me:$LINENO: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5 | |
6408 | $as_echo "$as_me: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;} | |
fc6ffb29 | 6409 | { (exit 1); exit 1; }; } |
abf5048b | 6410 | fi |
fc6ffb29 AJ |
6411 | else |
6412 | ac_cv_path_EGREP=$EGREP | |
6413 | fi | |
6414 | ||
fc6ffb29 | 6415 | fi |
c626491b | 6416 | fi |
abf5048b AJ |
6417 | { $as_echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5 |
6418 | $as_echo "$ac_cv_path_EGREP" >&6; } | |
fc6ffb29 | 6419 | EGREP="$ac_cv_path_EGREP" |
c626491b AJ |
6420 | |
6421 | ||
ffe6b767 JJ |
6422 | # Extract the first word of "ldconfig", so it can be a program name with args. |
6423 | set dummy ldconfig; ac_word=$2 | |
abf5048b AJ |
6424 | { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 |
6425 | $as_echo_n "checking for $ac_word... " >&6; } | |
f5818d2f | 6426 | if test "${ac_cv_path_LDCONFIG+set}" = set; then |
abf5048b | 6427 | $as_echo_n "(cached) " >&6 |
ffe6b767 | 6428 | else |
f5818d2f AJ |
6429 | case $LDCONFIG in |
6430 | [\\/]* | ?:[\\/]*) | |
ffe6b767 JJ |
6431 | ac_cv_path_LDCONFIG="$LDCONFIG" # Let the user override the test with a path. |
6432 | ;; | |
6433 | *) | |
daa2886c | 6434 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
91372b39 | 6435 | for as_dir in /sbin /usr/sbin $PATH |
daa2886c AJ |
6436 | do |
6437 | IFS=$as_save_IFS | |
6438 | test -z "$as_dir" && as_dir=. | |
6439 | for ac_exec_ext in '' $ac_executable_extensions; do | |
dc9f3843 | 6440 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
daa2886c | 6441 | ac_cv_path_LDCONFIG="$as_dir/$ac_word$ac_exec_ext" |
abf5048b | 6442 | $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
daa2886c AJ |
6443 | break 2 |
6444 | fi | |
6445 | done | |
f5818d2f | 6446 | done |
fc6ffb29 | 6447 | IFS=$as_save_IFS |
f5818d2f | 6448 | |
318f4cef | 6449 | test -z "$ac_cv_path_LDCONFIG" && ac_cv_path_LDCONFIG="true" |
ffe6b767 JJ |
6450 | ;; |
6451 | esac | |
6452 | fi | |
f5818d2f | 6453 | LDCONFIG=$ac_cv_path_LDCONFIG |
f5818d2f | 6454 | if test -n "$LDCONFIG"; then |
abf5048b AJ |
6455 | { $as_echo "$as_me:$LINENO: result: $LDCONFIG" >&5 |
6456 | $as_echo "$LDCONFIG" >&6; } | |
d48ca948 | 6457 | else |
abf5048b AJ |
6458 | { $as_echo "$as_me:$LINENO: result: no" >&5 |
6459 | $as_echo "no" >&6; } | |
d48ca948 HT |
6460 | fi |
6461 | ||
fc6ffb29 | 6462 | |
e24bcc77 AJ |
6463 | # Find a good install program. We prefer a C program (faster), |
6464 | # so one script is as good as another. But avoid the broken or | |
6465 | # incompatible versions: | |
6466 | # SysV /etc/install, /usr/sbin/install | |
6467 | # SunOS /usr/etc/install | |
6468 | # IRIX /sbin/install | |
6469 | # AIX /bin/install | |
6470 | # AmigaOS /C/install, which installs bootblocks on floppy discs | |
6471 | # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag | |
6472 | # AFS /usr/afsws/bin/install, which mishandles nonexistent args | |
6473 | # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" | |
875927f6 | 6474 | # OS/2's system install, which has a completely different semantic |
e24bcc77 | 6475 | # ./install, which can be erroneously created by make from ./install.sh. |
abf5048b AJ |
6476 | # Reject install programs that cannot install multiple files. |
6477 | { $as_echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5 | |
6478 | $as_echo_n "checking for a BSD-compatible install... " >&6; } | |
e24bcc77 AJ |
6479 | if test -z "$INSTALL"; then |
6480 | if test "${ac_cv_path_install+set}" = set; then | |
abf5048b | 6481 | $as_echo_n "(cached) " >&6 |
e24bcc77 AJ |
6482 | else |
6483 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | |
6484 | for as_dir in $PATH | |
6485 | do | |
6486 | IFS=$as_save_IFS | |
6487 | test -z "$as_dir" && as_dir=. | |
6488 | # Account for people who put trailing slashes in PATH elements. | |
6489 | case $as_dir/ in | |
6490 | ./ | .// | /cC/* | \ | |
6491 | /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \ | |
875927f6 | 6492 | ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \ |
e24bcc77 AJ |
6493 | /usr/ucb/* ) ;; |
6494 | *) | |
6495 | # OSF1 and SCO ODT 3.0 have their own names for install. | |
6496 | # Don't use installbsd from OSF since it installs stuff as root | |
6497 | # by default. | |
6498 | for ac_prog in ginstall scoinst install; do | |
6499 | for ac_exec_ext in '' $ac_executable_extensions; do | |
dc9f3843 | 6500 | if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then |
875927f6 AJ |
6501 | if test $ac_prog = install && |
6502 | grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then | |
6503 | # AIX install. It has an incompatible calling convention. | |
6504 | : | |
6505 | elif test $ac_prog = install && | |
6506 | grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then | |
6507 | # program-specific install script used by HP pwplus--don't use. | |
6508 | : | |
6509 | else | |
abf5048b AJ |
6510 | rm -rf conftest.one conftest.two conftest.dir |
6511 | echo one > conftest.one | |
6512 | echo two > conftest.two | |
6513 | mkdir conftest.dir | |
6514 | if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" && | |
6515 | test -s conftest.one && test -s conftest.two && | |
6516 | test -s conftest.dir/conftest.one && | |
6517 | test -s conftest.dir/conftest.two | |
6518 | then | |
6519 | ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c" | |
6520 | break 3 | |
6521 | fi | |
875927f6 AJ |
6522 | fi |
6523 | fi | |
e24bcc77 AJ |
6524 | done |
6525 | done | |
6526 | ;; | |
6527 | esac | |
abf5048b | 6528 | |
e24bcc77 | 6529 | done |
fc6ffb29 | 6530 | IFS=$as_save_IFS |
e24bcc77 | 6531 | |
abf5048b | 6532 | rm -rf conftest.one conftest.two conftest.dir |
e24bcc77 AJ |
6533 | |
6534 | fi | |
6535 | if test "${ac_cv_path_install+set}" = set; then | |
6536 | INSTALL=$ac_cv_path_install | |
6537 | else | |
fc6ffb29 AJ |
6538 | # As a last resort, use the slow shell script. Don't cache a |
6539 | # value for INSTALL within a source directory, because that will | |
e24bcc77 | 6540 | # break other packages using the cache if that directory is |
fc6ffb29 | 6541 | # removed, or if the value is a relative name. |
e24bcc77 AJ |
6542 | INSTALL=$ac_install_sh |
6543 | fi | |
6544 | fi | |
abf5048b AJ |
6545 | { $as_echo "$as_me:$LINENO: result: $INSTALL" >&5 |
6546 | $as_echo "$INSTALL" >&6; } | |
e24bcc77 AJ |
6547 | |
6548 | # Use test -z because SunOS4 sh mishandles braces in ${var-val}. | |
6549 | # It thinks the first close brace ends the variable substitution. | |
6550 | test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}' | |
6551 | ||
6552 | test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}' | |
6553 | ||
6554 | test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' | |
6555 | ||
6556 | case "$INSTALL" in | |
8418d8f3 | 6557 | [\\/$]* | ?:[\\/]* ) ;; |
e24bcc77 AJ |
6558 | *) INSTALL="\\\$(TOPSRCDIR)/$INSTALL" ;; |
6559 | esac | |
daa2886c | 6560 | |
a9be64e2 PS |
6561 | for ac_prog in lclint lint |
6562 | do | |
f5818d2f | 6563 | # Extract the first word of "$ac_prog", so it can be a program name with args. |
a9be64e2 | 6564 | set dummy $ac_prog; ac_word=$2 |
abf5048b AJ |
6565 | { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 |
6566 | $as_echo_n "checking for $ac_word... " >&6; } | |
f5818d2f | 6567 | if test "${ac_cv_prog_LINT+set}" = set; then |
abf5048b | 6568 | $as_echo_n "(cached) " >&6 |
a9be64e2 PS |
6569 | else |
6570 | if test -n "$LINT"; then | |
6571 | ac_cv_prog_LINT="$LINT" # Let the user override the test. | |
6572 | else | |
daa2886c AJ |
6573 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
6574 | for as_dir in $PATH | |
6575 | do | |
6576 | IFS=$as_save_IFS | |
6577 | test -z "$as_dir" && as_dir=. | |
6578 | for ac_exec_ext in '' $ac_executable_extensions; do | |
dc9f3843 | 6579 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
daa2886c | 6580 | ac_cv_prog_LINT="$ac_prog" |
abf5048b | 6581 | $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
daa2886c AJ |
6582 | break 2 |
6583 | fi | |
6584 | done | |
f5818d2f | 6585 | done |
fc6ffb29 | 6586 | IFS=$as_save_IFS |
f5818d2f | 6587 | |
a9be64e2 PS |
6588 | fi |
6589 | fi | |
f5818d2f | 6590 | LINT=$ac_cv_prog_LINT |
a9be64e2 | 6591 | if test -n "$LINT"; then |
abf5048b AJ |
6592 | { $as_echo "$as_me:$LINENO: result: $LINT" >&5 |
6593 | $as_echo "$LINT" >&6; } | |
a9be64e2 | 6594 | else |
abf5048b AJ |
6595 | { $as_echo "$as_me:$LINENO: result: no" >&5 |
6596 | $as_echo "no" >&6; } | |
a9be64e2 PS |
6597 | fi |
6598 | ||
fc6ffb29 | 6599 | |
f5818d2f | 6600 | test -n "$LINT" && break |
a9be64e2 PS |
6601 | done |
6602 | ||
6603 | if test "$LINT" = "lint" | |
6604 | then | |
6605 | LINTFLAGS="$LINTFLAGS -errchk=%all,no%longptr64 -errhdr=%user -Ncheck=macro -Nlevel=4" | |
6606 | fi | |
6607 | ||
daa2886c AJ |
6608 | |
6609 | ||
00acb5f7 HD |
6610 | for ac_prog in fontforge |
6611 | do | |
6612 | # Extract the first word of "$ac_prog", so it can be a program name with args. | |
6613 | set dummy $ac_prog; ac_word=$2 | |
abf5048b AJ |
6614 | { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 |
6615 | $as_echo_n "checking for $ac_word... " >&6; } | |
00acb5f7 | 6616 | if test "${ac_cv_prog_FONTFORGE+set}" = set; then |
abf5048b | 6617 | $as_echo_n "(cached) " >&6 |
00acb5f7 HD |
6618 | else |
6619 | if test -n "$FONTFORGE"; then | |
6620 | ac_cv_prog_FONTFORGE="$FONTFORGE" # Let the user override the test. | |
6621 | else | |
6622 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | |
6623 | for as_dir in $PATH | |
6624 | do | |
6625 | IFS=$as_save_IFS | |
6626 | test -z "$as_dir" && as_dir=. | |
6627 | for ac_exec_ext in '' $ac_executable_extensions; do | |
dc9f3843 | 6628 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
00acb5f7 | 6629 | ac_cv_prog_FONTFORGE="$ac_prog" |
abf5048b | 6630 | $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
00acb5f7 HD |
6631 | break 2 |
6632 | fi | |
6633 | done | |
6634 | done | |
fc6ffb29 | 6635 | IFS=$as_save_IFS |
00acb5f7 HD |
6636 | |
6637 | fi | |
6638 | fi | |
6639 | FONTFORGE=$ac_cv_prog_FONTFORGE | |
6640 | if test -n "$FONTFORGE"; then | |
abf5048b AJ |
6641 | { $as_echo "$as_me:$LINENO: result: $FONTFORGE" >&5 |
6642 | $as_echo "$FONTFORGE" >&6; } | |
00acb5f7 | 6643 | else |
abf5048b AJ |
6644 | { $as_echo "$as_me:$LINENO: result: no" >&5 |
6645 | $as_echo "no" >&6; } | |
00acb5f7 HD |
6646 | fi |
6647 | ||
fc6ffb29 | 6648 | |
00acb5f7 HD |
6649 | test -n "$FONTFORGE" && break |
6650 | done | |
6651 | test -n "$FONTFORGE" || FONTFORGE="false" | |
b817a3c5 | 6652 | |
90c75bdd MM |
6653 | for ac_prog in pkg-config |
6654 | do | |
6655 | # Extract the first word of "$ac_prog", so it can be a program name with args. | |
6656 | set dummy $ac_prog; ac_word=$2 | |
abf5048b AJ |
6657 | { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 |
6658 | $as_echo_n "checking for $ac_word... " >&6; } | |
90c75bdd | 6659 | if test "${ac_cv_prog_PKG_CONFIG+set}" = set; then |
abf5048b | 6660 | $as_echo_n "(cached) " >&6 |
90c75bdd MM |
6661 | else |
6662 | if test -n "$PKG_CONFIG"; then | |
6663 | ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test. | |
6664 | else | |
6665 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | |
6666 | for as_dir in $PATH | |
6667 | do | |
6668 | IFS=$as_save_IFS | |
6669 | test -z "$as_dir" && as_dir=. | |
6670 | for ac_exec_ext in '' $ac_executable_extensions; do | |
dc9f3843 | 6671 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
90c75bdd | 6672 | ac_cv_prog_PKG_CONFIG="$ac_prog" |
abf5048b | 6673 | $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
90c75bdd MM |
6674 | break 2 |
6675 | fi | |
6676 | done | |
6677 | done | |
fc6ffb29 | 6678 | IFS=$as_save_IFS |
90c75bdd MM |
6679 | |
6680 | fi | |
6681 | fi | |
6682 | PKG_CONFIG=$ac_cv_prog_PKG_CONFIG | |
6683 | if test -n "$PKG_CONFIG"; then | |
abf5048b AJ |
6684 | { $as_echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5 |
6685 | $as_echo "$PKG_CONFIG" >&6; } | |
90c75bdd | 6686 | else |
abf5048b AJ |
6687 | { $as_echo "$as_me:$LINENO: result: no" >&5 |
6688 | $as_echo "no" >&6; } | |
90c75bdd MM |
6689 | fi |
6690 | ||
fc6ffb29 | 6691 | |
90c75bdd MM |
6692 | test -n "$PKG_CONFIG" && break |
6693 | done | |
6694 | test -n "$PKG_CONFIG" || PKG_CONFIG="false" | |
6695 | ||
dc4a475f AJ |
6696 | for ac_prog in rsvg |
6697 | do | |
6698 | # Extract the first word of "$ac_prog", so it can be a program name with args. | |
6699 | set dummy $ac_prog; ac_word=$2 | |
abf5048b AJ |
6700 | { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 |
6701 | $as_echo_n "checking for $ac_word... " >&6; } | |
dc4a475f | 6702 | if test "${ac_cv_prog_RSVG+set}" = set; then |
abf5048b | 6703 | $as_echo_n "(cached) " >&6 |
dc4a475f AJ |
6704 | else |
6705 | if test -n "$RSVG"; then | |
6706 | ac_cv_prog_RSVG="$RSVG" # Let the user override the test. | |
6707 | else | |
6708 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | |
6709 | for as_dir in $PATH | |
6710 | do | |
6711 | IFS=$as_save_IFS | |
6712 | test -z "$as_dir" && as_dir=. | |
6713 | for ac_exec_ext in '' $ac_executable_extensions; do | |
6714 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then | |
6715 | ac_cv_prog_RSVG="$ac_prog" | |
abf5048b | 6716 | $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
dc4a475f AJ |
6717 | break 2 |
6718 | fi | |
6719 | done | |
6720 | done | |
6721 | IFS=$as_save_IFS | |
6722 | ||
6723 | fi | |
6724 | fi | |
6725 | RSVG=$ac_cv_prog_RSVG | |
6726 | if test -n "$RSVG"; then | |
abf5048b AJ |
6727 | { $as_echo "$as_me:$LINENO: result: $RSVG" >&5 |
6728 | $as_echo "$RSVG" >&6; } | |
dc4a475f | 6729 | else |
abf5048b AJ |
6730 | { $as_echo "$as_me:$LINENO: result: no" >&5 |
6731 | $as_echo "no" >&6; } | |
dc4a475f AJ |
6732 | fi |
6733 | ||
6734 | ||
6735 | test -n "$RSVG" && break | |
6736 | done | |
6737 | test -n "$RSVG" || RSVG="false" | |
6738 | ||
6739 | for ac_prog in icotool | |
6740 | do | |
6741 | # Extract the first word of "$ac_prog", so it can be a program name with args. | |
6742 | set dummy $ac_prog; ac_word=$2 | |
abf5048b AJ |
6743 | { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 |
6744 | $as_echo_n "checking for $ac_word... " >&6; } | |
dc4a475f | 6745 | if test "${ac_cv_prog_ICOTOOL+set}" = set; then |
abf5048b | 6746 | $as_echo_n "(cached) " >&6 |
dc4a475f AJ |
6747 | else |
6748 | if test -n "$ICOTOOL"; then | |
6749 | ac_cv_prog_ICOTOOL="$ICOTOOL" # Let the user override the test. | |
6750 | else | |
6751 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | |
6752 | for as_dir in $PATH | |
6753 | do | |
6754 | IFS=$as_save_IFS | |
6755 | test -z "$as_dir" && as_dir=. | |
6756 | for ac_exec_ext in '' $ac_executable_extensions; do | |
6757 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then | |
6758 | ac_cv_prog_ICOTOOL="$ac_prog" | |
abf5048b | 6759 | $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
dc4a475f AJ |
6760 | break 2 |
6761 | fi | |
6762 | done | |
6763 | done | |
6764 | IFS=$as_save_IFS | |
6765 | ||
6766 | fi | |
6767 | fi | |
6768 | ICOTOOL=$ac_cv_prog_ICOTOOL | |
6769 | if test -n "$ICOTOOL"; then | |
abf5048b AJ |
6770 | { $as_echo "$as_me:$LINENO: result: $ICOTOOL" >&5 |
6771 | $as_echo "$ICOTOOL" >&6; } | |
dc4a475f | 6772 | else |
abf5048b AJ |
6773 | { $as_echo "$as_me:$LINENO: result: no" >&5 |
6774 | $as_echo "no" >&6; } | |
dc4a475f AJ |
6775 | fi |
6776 | ||
6777 | ||
6778 | test -n "$ICOTOOL" && break | |
6779 | done | |
6780 | test -n "$ICOTOOL" || ICOTOOL="false" | |
6781 | ||
6782 | ||
6783 | if test "${enable_maintainer_mode+set}" = set | |
6784 | then | |
8ad6049a | 6785 | if test "$FONTFORGE" = "false"; then wine_warnings="$wine_warnings|fontforge is missing, fonts can't be rebuilt."; fi |
dc4a475f AJ |
6786 | if test "$RSVG" = "false"; then wine_warnings="$wine_warnings|rsvg is missing, icons can't be rebuilt."; fi |
6787 | if test "$ICOTOOL" = "false"; then wine_warnings="$wine_warnings|icotool is missing, icons can't be rebuilt."; fi | |
6788 | fi | |
b817a3c5 | 6789 | |
adbb0988 AJ |
6790 | case $host_cpu in |
6791 | *i[3456789]86*) | |
3d08f5d9 AJ |
6792 | # Extract the first word of "prelink", so it can be a program name with args. |
6793 | set dummy prelink; ac_word=$2 | |
abf5048b AJ |
6794 | { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 |
6795 | $as_echo_n "checking for $ac_word... " >&6; } | |
3d08f5d9 | 6796 | if test "${ac_cv_path_PRELINK+set}" = set; then |
abf5048b | 6797 | $as_echo_n "(cached) " >&6 |
adbb0988 | 6798 | else |
3d08f5d9 AJ |
6799 | case $PRELINK in |
6800 | [\\/]* | ?:[\\/]*) | |
6801 | ac_cv_path_PRELINK="$PRELINK" # Let the user override the test with a path. | |
6802 | ;; | |
6803 | *) | |
6804 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | |
adbb0988 AJ |
6805 | for as_dir in /sbin /usr/sbin $PATH |
6806 | do | |
6807 | IFS=$as_save_IFS | |
6808 | test -z "$as_dir" && as_dir=. | |
6809 | for ac_exec_ext in '' $ac_executable_extensions; do | |
dc9f3843 | 6810 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
3d08f5d9 | 6811 | ac_cv_path_PRELINK="$as_dir/$ac_word$ac_exec_ext" |
abf5048b | 6812 | $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
adbb0988 AJ |
6813 | break 2 |
6814 | fi | |
6815 | done | |
6816 | done | |
fc6ffb29 | 6817 | IFS=$as_save_IFS |
adbb0988 | 6818 | |
3d08f5d9 AJ |
6819 | test -z "$ac_cv_path_PRELINK" && ac_cv_path_PRELINK="false" |
6820 | ;; | |
6821 | esac | |
adbb0988 | 6822 | fi |
3d08f5d9 | 6823 | PRELINK=$ac_cv_path_PRELINK |
adbb0988 | 6824 | if test -n "$PRELINK"; then |
abf5048b AJ |
6825 | { $as_echo "$as_me:$LINENO: result: $PRELINK" >&5 |
6826 | $as_echo "$PRELINK" >&6; } | |
adbb0988 | 6827 | else |
abf5048b AJ |
6828 | { $as_echo "$as_me:$LINENO: result: no" >&5 |
6829 | $as_echo "no" >&6; } | |
adbb0988 AJ |
6830 | fi |
6831 | ||
fc6ffb29 | 6832 | |
adbb0988 AJ |
6833 | ;; |
6834 | esac | |
6835 | ||
daa2886c AJ |
6836 | |
6837 | ||
abf5048b AJ |
6838 | { $as_echo "$as_me:$LINENO: checking for i386_set_ldt in -li386" >&5 |
6839 | $as_echo_n "checking for i386_set_ldt in -li386... " >&6; } | |
f5818d2f | 6840 | if test "${ac_cv_lib_i386_i386_set_ldt+set}" = set; then |
abf5048b | 6841 | $as_echo_n "(cached) " >&6 |
902da699 | 6842 | else |
f5818d2f | 6843 | ac_check_lib_save_LIBS=$LIBS |
902da699 | 6844 | LIBS="-li386 $LIBS" |
f5818d2f | 6845 | cat >conftest.$ac_ext <<_ACEOF |
e24bcc77 AJ |
6846 | /* confdefs.h. */ |
6847 | _ACEOF | |
6848 | cat confdefs.h >>conftest.$ac_ext | |
6849 | cat >>conftest.$ac_ext <<_ACEOF | |
6850 | /* end confdefs.h. */ | |
f5818d2f | 6851 | |
fc6ffb29 AJ |
6852 | /* Override any GCC internal prototype to avoid an error. |
6853 | Use char because int might match the return type of a GCC | |
6854 | builtin and then its argument prototype would still apply. */ | |
f5818d2f AJ |
6855 | #ifdef __cplusplus |
6856 | extern "C" | |
6857 | #endif | |
f5818d2f AJ |
6858 | char i386_set_ldt (); |
6859 | int | |
6860 | main () | |
6861 | { | |
fc6ffb29 | 6862 | return i386_set_ldt (); |
f5818d2f AJ |
6863 | ; |
6864 | return 0; | |
6865 | } | |
6866 | _ACEOF | |
6867 | rm -f conftest.$ac_objext conftest$ac_exeext | |
0ebeb530 JW |
6868 | if { (ac_try="$ac_link" |
6869 | case "(($ac_try" in | |
6870 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
6871 | *) ac_try_echo=$ac_try;; | |
6872 | esac | |
abf5048b AJ |
6873 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
6874 | $as_echo "$ac_try_echo") >&5 | |
0ebeb530 | 6875 | (eval "$ac_link") 2>conftest.er1 |
f5818d2f | 6876 | ac_status=$? |
875927f6 AJ |
6877 | grep -v '^ *+' conftest.er1 >conftest.err |
6878 | rm -f conftest.er1 | |
6879 | cat conftest.err >&5 | |
abf5048b | 6880 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
dc9f3843 AJ |
6881 | (exit $ac_status); } && { |
6882 | test -z "$ac_c_werror_flag" || | |
6883 | test ! -s conftest.err | |
abf5048b AJ |
6884 | } && test -s conftest$ac_exeext && { |
6885 | test "$cross_compiling" = yes || | |
6886 | $as_test_x conftest$ac_exeext | |
6887 | }; then | |
f5818d2f AJ |
6888 | ac_cv_lib_i386_i386_set_ldt=yes |
6889 | else | |
abf5048b | 6890 | $as_echo "$as_me: failed program was:" >&5 |
e24bcc77 AJ |
6891 | sed 's/^/| /' conftest.$ac_ext >&5 |
6892 | ||
fc6ffb29 | 6893 | ac_cv_lib_i386_i386_set_ldt=no |
f5818d2f | 6894 | fi |
fc6ffb29 | 6895 | |
abf5048b | 6896 | rm -rf conftest.dSYM |
f0ca586f | 6897 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ |
875927f6 | 6898 | conftest$ac_exeext conftest.$ac_ext |
f5818d2f AJ |
6899 | LIBS=$ac_check_lib_save_LIBS |
6900 | fi | |
abf5048b AJ |
6901 | { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_i386_i386_set_ldt" >&5 |
6902 | $as_echo "$ac_cv_lib_i386_i386_set_ldt" >&6; } | |
6903 | if test "x$ac_cv_lib_i386_i386_set_ldt" = x""yes; then | |
daa2886c | 6904 | cat >>confdefs.h <<_ACEOF |
f5818d2f | 6905 | #define HAVE_LIBI386 1 |
daa2886c | 6906 | _ACEOF |
02e90087 AJ |
6907 | |
6908 | LIBS="-li386 $LIBS" | |
6909 | ||
02e90087 AJ |
6910 | fi |
6911 | ||
daa2886c | 6912 | |
abf5048b AJ |
6913 | { $as_echo "$as_me:$LINENO: checking for _oss_ioctl in -lossaudio" >&5 |
6914 | $as_echo_n "checking for _oss_ioctl in -lossaudio... " >&6; } | |
f5818d2f | 6915 | if test "${ac_cv_lib_ossaudio__oss_ioctl+set}" = set; then |
abf5048b | 6916 | $as_echo_n "(cached) " >&6 |
ecc7669d | 6917 | else |
f5818d2f | 6918 | ac_check_lib_save_LIBS=$LIBS |
ecc7669d | 6919 | LIBS="-lossaudio $LIBS" |
f5818d2f | 6920 | cat >conftest.$ac_ext <<_ACEOF |
e24bcc77 AJ |
6921 | /* confdefs.h. */ |
6922 | _ACEOF | |
6923 | cat confdefs.h >>conftest.$ac_ext | |
6924 | cat >>conftest.$ac_ext <<_ACEOF | |
6925 | /* end confdefs.h. */ | |
f5818d2f | 6926 | |
fc6ffb29 AJ |
6927 | /* Override any GCC internal prototype to avoid an error. |
6928 | Use char because int might match the return type of a GCC | |
6929 | builtin and then its argument prototype would still apply. */ | |
f5818d2f AJ |
6930 | #ifdef __cplusplus |
6931 | extern "C" | |
6932 | #endif | |
f5818d2f AJ |
6933 | char _oss_ioctl (); |
6934 | int | |
6935 | main () | |
6936 | { | |
fc6ffb29 | 6937 | return _oss_ioctl (); |
f5818d2f AJ |
6938 | ; |
6939 | return 0; | |
6940 | } | |
6941 | _ACEOF | |
6942 | rm -f conftest.$ac_objext conftest$ac_exeext | |
0ebeb530 JW |
6943 | if { (ac_try="$ac_link" |
6944 | case "(($ac_try" in | |
6945 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
6946 | *) ac_try_echo=$ac_try;; | |
6947 | esac | |
abf5048b AJ |
6948 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
6949 | $as_echo "$ac_try_echo") >&5 | |
0ebeb530 | 6950 | (eval "$ac_link") 2>conftest.er1 |
f5818d2f | 6951 | ac_status=$? |
875927f6 AJ |
6952 | grep -v '^ *+' conftest.er1 >conftest.err |
6953 | rm -f conftest.er1 | |
6954 | cat conftest.err >&5 | |
abf5048b | 6955 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
dc9f3843 AJ |
6956 | (exit $ac_status); } && { |
6957 | test -z "$ac_c_werror_flag" || | |
6958 | test ! -s conftest.err | |
abf5048b AJ |
6959 | } && test -s conftest$ac_exeext && { |
6960 | test "$cross_compiling" = yes || | |
6961 | $as_test_x conftest$ac_exeext | |
6962 | }; then | |
f5818d2f AJ |
6963 | ac_cv_lib_ossaudio__oss_ioctl=yes |
6964 | else | |
abf5048b | 6965 | $as_echo "$as_me: failed program was:" >&5 |
e24bcc77 AJ |
6966 | sed 's/^/| /' conftest.$ac_ext >&5 |
6967 | ||
fc6ffb29 | 6968 | ac_cv_lib_ossaudio__oss_ioctl=no |
f5818d2f | 6969 | fi |
fc6ffb29 | 6970 | |
abf5048b | 6971 | rm -rf conftest.dSYM |
f0ca586f | 6972 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ |
875927f6 | 6973 | conftest$ac_exeext conftest.$ac_ext |
f5818d2f AJ |
6974 | LIBS=$ac_check_lib_save_LIBS |
6975 | fi | |
abf5048b AJ |
6976 | { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_ossaudio__oss_ioctl" >&5 |
6977 | $as_echo "$ac_cv_lib_ossaudio__oss_ioctl" >&6; } | |
6978 | if test "x$ac_cv_lib_ossaudio__oss_ioctl" = x""yes; then | |
daa2886c | 6979 | cat >>confdefs.h <<_ACEOF |
f5818d2f | 6980 | #define HAVE_LIBOSSAUDIO 1 |
daa2886c | 6981 | _ACEOF |
ecc7669d TV |
6982 | |
6983 | LIBS="-lossaudio $LIBS" | |
6984 | ||
ecc7669d TV |
6985 | fi |
6986 | ||
abf5048b AJ |
6987 | { $as_echo "$as_me:$LINENO: checking for pthread_create in -lpthread" >&5 |
6988 | $as_echo_n "checking for pthread_create in -lpthread... " >&6; } | |
e533e972 | 6989 | if test "${ac_cv_lib_pthread_pthread_create+set}" = set; then |
abf5048b | 6990 | $as_echo_n "(cached) " >&6 |
f5818d2f AJ |
6991 | else |
6992 | ac_check_lib_save_LIBS=$LIBS | |
e533e972 | 6993 | LIBS="-lpthread $LIBS" |
f5818d2f | 6994 | cat >conftest.$ac_ext <<_ACEOF |
e24bcc77 AJ |
6995 | /* confdefs.h. */ |
6996 | _ACEOF | |
6997 | cat confdefs.h >>conftest.$ac_ext | |
6998 | cat >>conftest.$ac_ext <<_ACEOF | |
6999 | /* end confdefs.h. */ | |
f5818d2f | 7000 | |
fc6ffb29 AJ |
7001 | /* Override any GCC internal prototype to avoid an error. |
7002 | Use char because int might match the return type of a GCC | |
7003 | builtin and then its argument prototype would still apply. */ | |
f5818d2f AJ |
7004 | #ifdef __cplusplus |
7005 | extern "C" | |
7006 | #endif | |
e533e972 | 7007 | char pthread_create (); |
f5818d2f AJ |
7008 | int |
7009 | main () | |
7010 | { | |
e533e972 | 7011 | return pthread_create (); |
f5818d2f AJ |
7012 | ; |
7013 | return 0; | |
7014 | } | |
7015 | _ACEOF | |
7016 | rm -f conftest.$ac_objext conftest$ac_exeext | |
0ebeb530 JW |
7017 | if { (ac_try="$ac_link" |
7018 | case "(($ac_try" in | |
7019 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
7020 | *) ac_try_echo=$ac_try;; | |
7021 | esac | |
abf5048b AJ |
7022 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
7023 | $as_echo "$ac_try_echo") >&5 | |
0ebeb530 | 7024 | (eval "$ac_link") 2>conftest.er1 |
f5818d2f | 7025 | ac_status=$? |
875927f6 AJ |
7026 | grep -v '^ *+' conftest.er1 >conftest.err |
7027 | rm -f conftest.er1 | |
7028 | cat conftest.err >&5 | |
abf5048b | 7029 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
dc9f3843 AJ |
7030 | (exit $ac_status); } && { |
7031 | test -z "$ac_c_werror_flag" || | |
7032 | test ! -s conftest.err | |
abf5048b AJ |
7033 | } && test -s conftest$ac_exeext && { |
7034 | test "$cross_compiling" = yes || | |
7035 | $as_test_x conftest$ac_exeext | |
7036 | }; then | |
e533e972 | 7037 | ac_cv_lib_pthread_pthread_create=yes |
f5818d2f | 7038 | else |
abf5048b | 7039 | $as_echo "$as_me: failed program was:" >&5 |
e24bcc77 AJ |
7040 | sed 's/^/| /' conftest.$ac_ext >&5 |
7041 | ||
e533e972 | 7042 | ac_cv_lib_pthread_pthread_create=no |
f5818d2f | 7043 | fi |
fc6ffb29 | 7044 | |
abf5048b | 7045 | rm -rf conftest.dSYM |
f0ca586f | 7046 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ |
875927f6 | 7047 | conftest$ac_exeext conftest.$ac_ext |
f5818d2f AJ |
7048 | LIBS=$ac_check_lib_save_LIBS |
7049 | fi | |
abf5048b AJ |
7050 | { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_pthread_pthread_create" >&5 |
7051 | $as_echo "$ac_cv_lib_pthread_pthread_create" >&6; } | |
7052 | if test "x$ac_cv_lib_pthread_pthread_create" = x""yes; then | |
e533e972 | 7053 | LIBPTHREAD="-lpthread" |
2e8e2334 | 7054 | |
ea584724 PS |
7055 | fi |
7056 | ||
f070fda2 | 7057 | |
e533e972 AJ |
7058 | XLIB="" |
7059 | ||
e533e972 AJ |
7060 | OPENGL_LIBS="" |
7061 | ||
7062 | ||
7063 | ||
abf5048b AJ |
7064 | { $as_echo "$as_me:$LINENO: checking for ANSI C header files" >&5 |
7065 | $as_echo_n "checking for ANSI C header files... " >&6; } | |
e533e972 | 7066 | if test "${ac_cv_header_stdc+set}" = set; then |
abf5048b | 7067 | $as_echo_n "(cached) " >&6 |
f5818d2f AJ |
7068 | else |
7069 | cat >conftest.$ac_ext <<_ACEOF | |
e24bcc77 AJ |
7070 | /* confdefs.h. */ |
7071 | _ACEOF | |
7072 | cat confdefs.h >>conftest.$ac_ext | |
7073 | cat >>conftest.$ac_ext <<_ACEOF | |
7074 | /* end confdefs.h. */ | |
e533e972 AJ |
7075 | #include <stdlib.h> |
7076 | #include <stdarg.h> | |
7077 | #include <string.h> | |
7078 | #include <float.h> | |
715a55e7 | 7079 | |
e24bcc77 AJ |
7080 | int |
7081 | main () | |
7082 | { | |
e533e972 | 7083 | |
f5818d2f AJ |
7084 | ; |
7085 | return 0; | |
7086 | } | |
7087 | _ACEOF | |
e533e972 AJ |
7088 | rm -f conftest.$ac_objext |
7089 | if { (ac_try="$ac_compile" | |
0ebeb530 JW |
7090 | case "(($ac_try" in |
7091 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
7092 | *) ac_try_echo=$ac_try;; | |
7093 | esac | |
abf5048b AJ |
7094 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
7095 | $as_echo "$ac_try_echo") >&5 | |
e533e972 | 7096 | (eval "$ac_compile") 2>conftest.er1 |
f5818d2f | 7097 | ac_status=$? |
875927f6 AJ |
7098 | grep -v '^ *+' conftest.er1 >conftest.err |
7099 | rm -f conftest.er1 | |
7100 | cat conftest.err >&5 | |
abf5048b | 7101 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
dc9f3843 AJ |
7102 | (exit $ac_status); } && { |
7103 | test -z "$ac_c_werror_flag" || | |
7104 | test ! -s conftest.err | |
7105 | } && test -s conftest.$ac_objext; then | |
e533e972 | 7106 | ac_cv_header_stdc=yes |
f5818d2f | 7107 | else |
abf5048b | 7108 | $as_echo "$as_me: failed program was:" >&5 |
e24bcc77 AJ |
7109 | sed 's/^/| /' conftest.$ac_ext >&5 |
7110 | ||
e533e972 | 7111 | ac_cv_header_stdc=no |
f5818d2f | 7112 | fi |
fc6ffb29 | 7113 | |
e533e972 AJ |
7114 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
7115 | ||
7116 | if test $ac_cv_header_stdc = yes; then | |
7117 | # SunOS 4.x string.h does not declare mem*, contrary to ANSI. | |
7118 | cat >conftest.$ac_ext <<_ACEOF | |
7119 | /* confdefs.h. */ | |
7120 | _ACEOF | |
7121 | cat confdefs.h >>conftest.$ac_ext | |
7122 | cat >>conftest.$ac_ext <<_ACEOF | |
7123 | /* end confdefs.h. */ | |
7124 | #include <string.h> | |
7125 | ||
7126 | _ACEOF | |
7127 | if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | | |
7128 | $EGREP "memchr" >/dev/null 2>&1; then | |
7129 | : | |
7130 | else | |
7131 | ac_cv_header_stdc=no | |
f5818d2f | 7132 | fi |
e533e972 AJ |
7133 | rm -f conftest* |
7134 | ||
7135 | fi | |
7136 | ||
7137 | if test $ac_cv_header_stdc = yes; then | |
7138 | # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. | |
7139 | cat >conftest.$ac_ext <<_ACEOF | |
7140 | /* confdefs.h. */ | |
daa2886c | 7141 | _ACEOF |
e533e972 AJ |
7142 | cat confdefs.h >>conftest.$ac_ext |
7143 | cat >>conftest.$ac_ext <<_ACEOF | |
7144 | /* end confdefs.h. */ | |
7145 | #include <stdlib.h> | |
f5818d2f | 7146 | |
e533e972 AJ |
7147 | _ACEOF |
7148 | if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | | |
7149 | $EGREP "free" >/dev/null 2>&1; then | |
7150 | : | |
f5818d2f | 7151 | else |
e533e972 AJ |
7152 | ac_cv_header_stdc=no |
7153 | fi | |
7154 | rm -f conftest* | |
f5818d2f | 7155 | |
e533e972 AJ |
7156 | fi |
7157 | ||
7158 | if test $ac_cv_header_stdc = yes; then | |
7159 | # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. | |
7160 | if test "$cross_compiling" = yes; then | |
7161 | : | |
f5818d2f | 7162 | else |
e533e972 | 7163 | cat >conftest.$ac_ext <<_ACEOF |
e24bcc77 AJ |
7164 | /* confdefs.h. */ |
7165 | _ACEOF | |
7166 | cat confdefs.h >>conftest.$ac_ext | |
7167 | cat >>conftest.$ac_ext <<_ACEOF | |
7168 | /* end confdefs.h. */ | |
e533e972 AJ |
7169 | #include <ctype.h> |
7170 | #include <stdlib.h> | |
7171 | #if ((' ' & 0x0FF) == 0x020) | |
7172 | # define ISLOWER(c) ('a' <= (c) && (c) <= 'z') | |
7173 | # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) | |
7174 | #else | |
7175 | # define ISLOWER(c) \ | |
7176 | (('a' <= (c) && (c) <= 'i') \ | |
7177 | || ('j' <= (c) && (c) <= 'r') \ | |
7178 | || ('s' <= (c) && (c) <= 'z')) | |
7179 | # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c)) | |
f5818d2f | 7180 | #endif |
e533e972 AJ |
7181 | |
7182 | #define XOR(e, f) (((e) && !(f)) || (!(e) && (f))) | |
f5818d2f AJ |
7183 | int |
7184 | main () | |
7185 | { | |
e533e972 AJ |
7186 | int i; |
7187 | for (i = 0; i < 256; i++) | |
7188 | if (XOR (islower (i), ISLOWER (i)) | |
7189 | || toupper (i) != TOUPPER (i)) | |
7190 | return 2; | |
f5818d2f AJ |
7191 | return 0; |
7192 | } | |
7193 | _ACEOF | |
e533e972 | 7194 | rm -f conftest$ac_exeext |
0ebeb530 JW |
7195 | if { (ac_try="$ac_link" |
7196 | case "(($ac_try" in | |
7197 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
7198 | *) ac_try_echo=$ac_try;; | |
7199 | esac | |
abf5048b AJ |
7200 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
7201 | $as_echo "$ac_try_echo") >&5 | |
e533e972 | 7202 | (eval "$ac_link") 2>&5 |
f5818d2f | 7203 | ac_status=$? |
abf5048b | 7204 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
e533e972 | 7205 | (exit $ac_status); } && { ac_try='./conftest$ac_exeext' |
0ebeb530 JW |
7206 | { (case "(($ac_try" in |
7207 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
7208 | *) ac_try_echo=$ac_try;; | |
7209 | esac | |
abf5048b AJ |
7210 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
7211 | $as_echo "$ac_try_echo") >&5 | |
0ebeb530 | 7212 | (eval "$ac_try") 2>&5 |
f5818d2f | 7213 | ac_status=$? |
abf5048b | 7214 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
f5818d2f | 7215 | (exit $ac_status); }; }; then |
e533e972 | 7216 | : |
f5818d2f | 7217 | else |
abf5048b AJ |
7218 | $as_echo "$as_me: program exited with status $ac_status" >&5 |
7219 | $as_echo "$as_me: failed program was:" >&5 | |
e24bcc77 AJ |
7220 | sed 's/^/| /' conftest.$ac_ext >&5 |
7221 | ||
e533e972 AJ |
7222 | ( exit $ac_status ) |
7223 | ac_cv_header_stdc=no | |
f5818d2f | 7224 | fi |
abf5048b | 7225 | rm -rf conftest.dSYM |
e533e972 | 7226 | rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext |
f5818d2f | 7227 | fi |
715a55e7 | 7228 | |
715a55e7 | 7229 | |
715a55e7 | 7230 | fi |
ea584724 | 7231 | fi |
abf5048b AJ |
7232 | { $as_echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5 |
7233 | $as_echo "$ac_cv_header_stdc" >&6; } | |
e533e972 | 7234 | if test $ac_cv_header_stdc = yes; then |
daa2886c | 7235 | |
e533e972 AJ |
7236 | cat >>confdefs.h <<\_ACEOF |
7237 | #define STDC_HEADERS 1 | |
e24bcc77 | 7238 | _ACEOF |
875927f6 | 7239 | |
e533e972 | 7240 | fi |
875927f6 | 7241 | |
e533e972 | 7242 | # On IRIX 5.3, sys/types and inttypes.h are conflicting. |
875927f6 | 7243 | |
875927f6 | 7244 | |
c555274d | 7245 | |
e24bcc77 | 7246 | |
fc6ffb29 | 7247 | |
c555274d | 7248 | |
c555274d | 7249 | |
e533e972 AJ |
7250 | |
7251 | ||
7252 | for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \ | |
7253 | inttypes.h stdint.h unistd.h | |
7254 | do | |
abf5048b AJ |
7255 | as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` |
7256 | { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 | |
7257 | $as_echo_n "checking for $ac_header... " >&6; } | |
e533e972 | 7258 | if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then |
abf5048b | 7259 | $as_echo_n "(cached) " >&6 |
d30dfd24 | 7260 | else |
e533e972 | 7261 | cat >conftest.$ac_ext <<_ACEOF |
e24bcc77 AJ |
7262 | /* confdefs.h. */ |
7263 | _ACEOF | |
7264 | cat confdefs.h >>conftest.$ac_ext | |
7265 | cat >>conftest.$ac_ext <<_ACEOF | |
7266 | /* end confdefs.h. */ | |
e533e972 | 7267 | $ac_includes_default |
f5818d2f | 7268 | |
e533e972 | 7269 | #include <$ac_header> |
f5818d2f | 7270 | _ACEOF |
e533e972 AJ |
7271 | rm -f conftest.$ac_objext |
7272 | if { (ac_try="$ac_compile" | |
0ebeb530 JW |
7273 | case "(($ac_try" in |
7274 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
7275 | *) ac_try_echo=$ac_try;; | |
7276 | esac | |
abf5048b AJ |
7277 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
7278 | $as_echo "$ac_try_echo") >&5 | |
e533e972 | 7279 | (eval "$ac_compile") 2>conftest.er1 |
f5818d2f | 7280 | ac_status=$? |
875927f6 AJ |
7281 | grep -v '^ *+' conftest.er1 >conftest.err |
7282 | rm -f conftest.er1 | |
7283 | cat conftest.err >&5 | |
abf5048b | 7284 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
dc9f3843 AJ |
7285 | (exit $ac_status); } && { |
7286 | test -z "$ac_c_werror_flag" || | |
7287 | test ! -s conftest.err | |
7288 | } && test -s conftest.$ac_objext; then | |
e533e972 | 7289 | eval "$as_ac_Header=yes" |
3b943bca | 7290 | else |
abf5048b | 7291 | $as_echo "$as_me: failed program was:" >&5 |
e24bcc77 AJ |
7292 | sed 's/^/| /' conftest.$ac_ext >&5 |
7293 | ||
e533e972 | 7294 | eval "$as_ac_Header=no" |
3b943bca | 7295 | fi |
fc6ffb29 | 7296 | |
e533e972 | 7297 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
3b943bca | 7298 | fi |
abf5048b AJ |
7299 | ac_res=`eval 'as_val=${'$as_ac_Header'} |
7300 | $as_echo "$as_val"'` | |
7301 | { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 | |
7302 | $as_echo "$ac_res" >&6; } | |
7303 | as_val=`eval 'as_val=${'$as_ac_Header'} | |
7304 | $as_echo "$as_val"'` | |
7305 | if test "x$as_val" = x""yes; then | |
daa2886c | 7306 | cat >>confdefs.h <<_ACEOF |
abf5048b | 7307 | #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 |
728bedcf MM |
7308 | _ACEOF |
7309 | ||
728bedcf MM |
7310 | fi |
7311 | ||
7312 | done | |
7313 | ||
7314 | ||
daa2886c | 7315 | |
7ff12568 RK |
7316 | |
7317 | ||
7318 | ||
7319 | ||
7320 | ||
7321 | ||
7322 | ||
7323 | ||
7324 | ||
7325 | ||
7326 | ||
7327 | ||
7328 | ||
7329 | ||
7330 | ||
7331 | ||
7332 | ||
7333 | ||
7334 | ||
7335 | ||
7336 | ||
7337 | ||
7338 | ||
7339 | ||
7340 | ||
7341 | ||
7342 | ||
7343 | ||
7344 | ||
7345 | ||
7346 | ||
7347 | ||
7348 | ||
7349 | ||
7350 | ||
7351 | ||
7352 | ||
7353 | ||
7354 | ||
7355 | ||
7356 | ||
7357 | ||
7358 | ||
7359 | ||
7360 | ||
7361 | ||
7362 | ||
7363 | ||
7364 | ||
7365 | ||
7366 | ||
7367 | ||
7368 | ||
7369 | ||
7370 | ||
7371 | ||
7372 | ||
7373 | ||
7374 | ||
7375 | ||
7376 | ||
7377 | ||
7378 | ||
7379 | ||
7380 | ||
7381 | ||
7382 | ||
7383 | ||
7ff12568 RK |
7384 | |
7385 | ||
7386 | ||
7387 | ||
7388 | ||
7389 | ||
7390 | ||
7391 | ||
7392 | ||
7393 | ||
73482144 AJ |
7394 | |
7395 | ||
7396 | ||
7397 | ||
7398 | ||
7399 | ||
7400 | ||
7401 | ||
7402 | ||
7403 | ||
7ff12568 | 7404 | |
a2bbacb0 | 7405 | |
57279184 | 7406 | |
64c07786 EM |
7407 | |
7408 | ||
888eaae7 | 7409 | |
ea524def HL |
7410 | |
7411 | ||
0f6c0394 | 7412 | |
ebe0484d | 7413 | |
1e5153cf | 7414 | |
0cd0626d | 7415 | |
144a5353 EM |
7416 | |
7417 | ||
9603ee07 | 7418 | |
08884514 | 7419 | |
66f45a5b | 7420 | |
150b5dca | 7421 | |
6d4eab9a | 7422 | |
0a2c94e8 | 7423 | |
87175c61 | 7424 | |
7ff12568 RK |
7425 | |
7426 | ||
7427 | for ac_header in \ | |
144a5353 | 7428 | AudioUnit/AudioUnit.h \ |
08884514 | 7429 | Carbon/Carbon.h \ |
144a5353 | 7430 | CoreAudio/CoreAudio.h \ |
66f45a5b | 7431 | DiskArbitration/DiskArbitration.h \ |
0f6c0394 | 7432 | IOKit/IOKitLib.h \ |
020b0ef6 | 7433 | alias.h \ |
73482144 | 7434 | alsa/asoundlib.h \ |
7ff12568 RK |
7435 | arpa/inet.h \ |
7436 | arpa/nameser.h \ | |
888eaae7 | 7437 | asm/types.h \ |
73482144 | 7438 | capi20.h \ |
73482144 | 7439 | curses.h \ |
7ff12568 | 7440 | direct.h \ |
87175c61 | 7441 | dirent.h \ |
73482144 | 7442 | dlfcn.h \ |
7ff12568 RK |
7443 | elf.h \ |
7444 | float.h \ | |
7445 | fontconfig/fontconfig.h \ | |
7446 | getopt.h \ | |
7ff12568 RK |
7447 | ieeefp.h \ |
7448 | io.h \ | |
7449 | jack/jack.h \ | |
7450 | jpeglib.h \ | |
ea524def | 7451 | lber.h \ |
7ff12568 | 7452 | lcms.h \ |
73482144 | 7453 | lcms/lcms.h \ |
ea524def | 7454 | ldap.h \ |
73482144 | 7455 | libaudioio.h \ |
7ff12568 RK |
7456 | link.h \ |
7457 | linux/cdrom.h \ | |
7458 | linux/compiler.h \ | |
7459 | linux/hdreg.h \ | |
7460 | linux/input.h \ | |
7461 | linux/ioctl.h \ | |
7462 | linux/joystick.h \ | |
7463 | linux/major.h \ | |
7464 | linux/param.h \ | |
7465 | linux/serial.h \ | |
7466 | linux/ucdrom.h \ | |
150b5dca | 7467 | mach/mach.h \ |
64c07786 | 7468 | mach/machine.h \ |
7ff12568 | 7469 | machine/cpu.h \ |
64c07786 | 7470 | machine/limits.h \ |
73482144 | 7471 | machine/soundcard.h \ |
7ff12568 | 7472 | mntent.h \ |
73482144 | 7473 | ncurses.h \ |
7ff12568 RK |
7474 | netdb.h \ |
7475 | netinet/in.h \ | |
7476 | netinet/in_systm.h \ | |
7477 | netinet/tcp.h \ | |
7478 | netinet/tcp_fsm.h \ | |
1e5153cf | 7479 | openssl/err.h \ |
7ff12568 | 7480 | openssl/ssl.h \ |
00302152 | 7481 | png.h \ |
57279184 | 7482 | poll.h \ |
7ff12568 RK |
7483 | process.h \ |
7484 | pthread.h \ | |
7ff12568 RK |
7485 | pwd.h \ |
7486 | regex.h \ | |
7487 | sched.h \ | |
7ff12568 RK |
7488 | scsi/scsi.h \ |
7489 | scsi/scsi_ioctl.h \ | |
73482144 AJ |
7490 | scsi/sg.h \ |
7491 | soundcard.h \ | |
7ff12568 RK |
7492 | stdint.h \ |
7493 | strings.h \ | |
73482144 | 7494 | sys/asoundlib.h \ |
7ff12568 RK |
7495 | sys/cdio.h \ |
7496 | sys/elf32.h \ | |
7ff12568 | 7497 | sys/epoll.h \ |
73482144 | 7498 | sys/errno.h \ |
c8278926 | 7499 | sys/event.h \ |
7ff12568 | 7500 | sys/exec_elf.h \ |
7ff12568 | 7501 | sys/filio.h \ |
7ff12568 RK |
7502 | sys/ioctl.h \ |
7503 | sys/ipc.h \ | |
ebe0484d | 7504 | sys/limits.h \ |
7ff12568 RK |
7505 | sys/link.h \ |
7506 | sys/lwp.h \ | |
7507 | sys/mman.h \ | |
7508 | sys/modem.h \ | |
7509 | sys/msg.h \ | |
0844b702 | 7510 | sys/mtio.h \ |
7ff12568 RK |
7511 | sys/param.h \ |
7512 | sys/poll.h \ | |
9603ee07 | 7513 | sys/prctl.h \ |
7ff12568 RK |
7514 | sys/ptrace.h \ |
7515 | sys/reg.h \ | |
0cd0626d | 7516 | sys/resource.h \ |
7ff12568 RK |
7517 | sys/scsiio.h \ |
7518 | sys/shm.h \ | |
7519 | sys/signal.h \ | |
7520 | sys/socket.h \ | |
2569635c | 7521 | sys/socketvar.h \ |
7ff12568 | 7522 | sys/sockio.h \ |
73482144 | 7523 | sys/soundcard.h \ |
7ff12568 RK |
7524 | sys/statvfs.h \ |
7525 | sys/strtio.h \ | |
7526 | sys/syscall.h \ | |
7527 | sys/sysctl.h \ | |
7528 | sys/time.h \ | |
7529 | sys/times.h \ | |
7530 | sys/uio.h \ | |
7531 | sys/un.h \ | |
7ff12568 RK |
7532 | sys/vm86.h \ |
7533 | sys/wait.h \ | |
7534 | syscall.h \ | |
7535 | termios.h \ | |
7536 | unistd.h \ | |
7537 | utime.h \ | |
0a2c94e8 JR |
7538 | valgrind/memcheck.h \ |
7539 | valgrind/valgrind.h | |
7ff12568 | 7540 | |
24110288 | 7541 | do |
abf5048b | 7542 | as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` |
fc6ffb29 | 7543 | if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then |
abf5048b AJ |
7544 | { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 |
7545 | $as_echo_n "checking for $ac_header... " >&6; } | |
fc6ffb29 | 7546 | if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then |
abf5048b | 7547 | $as_echo_n "(cached) " >&6 |
daa2886c | 7548 | fi |
abf5048b AJ |
7549 | ac_res=`eval 'as_val=${'$as_ac_Header'} |
7550 | $as_echo "$as_val"'` | |
7551 | { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 | |
7552 | $as_echo "$ac_res" >&6; } | |
f5818d2f | 7553 | else |
daa2886c | 7554 | # Is the header compilable? |
abf5048b AJ |
7555 | { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5 |
7556 | $as_echo_n "checking $ac_header usability... " >&6; } | |
daa2886c | 7557 | cat >conftest.$ac_ext <<_ACEOF |
e24bcc77 AJ |
7558 | /* confdefs.h. */ |
7559 | _ACEOF | |
7560 | cat confdefs.h >>conftest.$ac_ext | |
7561 | cat >>conftest.$ac_ext <<_ACEOF | |
7562 | /* end confdefs.h. */ | |
daa2886c | 7563 | $ac_includes_default |
f5818d2f AJ |
7564 | #include <$ac_header> |
7565 | _ACEOF | |
daa2886c | 7566 | rm -f conftest.$ac_objext |
0ebeb530 JW |
7567 | if { (ac_try="$ac_compile" |
7568 | case "(($ac_try" in | |
7569 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
7570 | *) ac_try_echo=$ac_try;; | |
7571 | esac | |
abf5048b AJ |
7572 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
7573 | $as_echo "$ac_try_echo") >&5 | |
0ebeb530 | 7574 | (eval "$ac_compile") 2>conftest.er1 |
daa2886c | 7575 | ac_status=$? |
875927f6 AJ |
7576 | grep -v '^ *+' conftest.er1 >conftest.err |
7577 | rm -f conftest.er1 | |
7578 | cat conftest.err >&5 | |
abf5048b | 7579 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
dc9f3843 AJ |
7580 | (exit $ac_status); } && { |
7581 | test -z "$ac_c_werror_flag" || | |
7582 | test ! -s conftest.err | |
7583 | } && test -s conftest.$ac_objext; then | |
daa2886c AJ |
7584 | ac_header_compiler=yes |
7585 | else | |
abf5048b | 7586 | $as_echo "$as_me: failed program was:" >&5 |
e24bcc77 AJ |
7587 | sed 's/^/| /' conftest.$ac_ext >&5 |
7588 | ||
fc6ffb29 | 7589 | ac_header_compiler=no |
daa2886c | 7590 | fi |
fc6ffb29 | 7591 | |
0ebeb530 | 7592 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
abf5048b AJ |
7593 | { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 |
7594 | $as_echo "$ac_header_compiler" >&6; } | |
daa2886c AJ |
7595 | |
7596 | # Is the header present? | |
abf5048b AJ |
7597 | { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5 |
7598 | $as_echo_n "checking $ac_header presence... " >&6; } | |
daa2886c | 7599 | cat >conftest.$ac_ext <<_ACEOF |
e24bcc77 AJ |
7600 | /* confdefs.h. */ |
7601 | _ACEOF | |
7602 | cat confdefs.h >>conftest.$ac_ext | |
7603 | cat >>conftest.$ac_ext <<_ACEOF | |
7604 | /* end confdefs.h. */ | |
daa2886c AJ |
7605 | #include <$ac_header> |
7606 | _ACEOF | |
0ebeb530 JW |
7607 | if { (ac_try="$ac_cpp conftest.$ac_ext" |
7608 | case "(($ac_try" in | |
7609 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
7610 | *) ac_try_echo=$ac_try;; | |
7611 | esac | |
abf5048b AJ |
7612 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
7613 | $as_echo "$ac_try_echo") >&5 | |
0ebeb530 | 7614 | (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 |
f5818d2f | 7615 | ac_status=$? |
11af04e3 | 7616 | grep -v '^ *+' conftest.er1 >conftest.err |
f5818d2f AJ |
7617 | rm -f conftest.er1 |
7618 | cat conftest.err >&5 | |
abf5048b | 7619 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
dc9f3843 AJ |
7620 | (exit $ac_status); } >/dev/null && { |
7621 | test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || | |
7622 | test ! -s conftest.err | |
7623 | }; then | |
daa2886c | 7624 | ac_header_preproc=yes |
f5818d2f | 7625 | else |
abf5048b | 7626 | $as_echo "$as_me: failed program was:" >&5 |
e24bcc77 AJ |
7627 | sed 's/^/| /' conftest.$ac_ext >&5 |
7628 | ||
daa2886c | 7629 | ac_header_preproc=no |
24110288 | 7630 | fi |
fc6ffb29 | 7631 | |
f5818d2f | 7632 | rm -f conftest.err conftest.$ac_ext |
abf5048b AJ |
7633 | { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 |
7634 | $as_echo "$ac_header_preproc" >&6; } | |
daa2886c AJ |
7635 | |
7636 | # So? What about this header? | |
875927f6 AJ |
7637 | case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in |
7638 | yes:no: ) | |
abf5048b AJ |
7639 | { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 |
7640 | $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} | |
7641 | { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 | |
7642 | $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} | |
875927f6 | 7643 | ac_header_preproc=yes |
e24bcc77 | 7644 | ;; |
875927f6 | 7645 | no:yes:* ) |
abf5048b AJ |
7646 | { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 |
7647 | $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} | |
7648 | { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 | |
7649 | $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} | |
7650 | { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 | |
7651 | $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} | |
7652 | { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 | |
7653 | $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} | |
7654 | { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 | |
7655 | $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} | |
7656 | { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 | |
7657 | $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} | |
fc6ffb29 | 7658 | ( cat <<\_ASBOX |
e24bcc77 | 7659 | ## ------------------------------------ ## |
875927f6 | 7660 | ## Report this to wine-devel@winehq.org ## |
e24bcc77 AJ |
7661 | ## ------------------------------------ ## |
7662 | _ASBOX | |
fc6ffb29 | 7663 | ) | sed "s/^/$as_me: WARNING: /" >&2 |
e24bcc77 | 7664 | ;; |
daa2886c | 7665 | esac |
abf5048b AJ |
7666 | { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 |
7667 | $as_echo_n "checking for $ac_header... " >&6; } | |
fc6ffb29 | 7668 | if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then |
abf5048b | 7669 | $as_echo_n "(cached) " >&6 |
daa2886c | 7670 | else |
875927f6 | 7671 | eval "$as_ac_Header=\$ac_header_preproc" |
24110288 | 7672 | fi |
abf5048b AJ |
7673 | ac_res=`eval 'as_val=${'$as_ac_Header'} |
7674 | $as_echo "$as_val"'` | |
7675 | { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 | |
7676 | $as_echo "$ac_res" >&6; } | |
daa2886c AJ |
7677 | |
7678 | fi | |
abf5048b AJ |
7679 | as_val=`eval 'as_val=${'$as_ac_Header'} |
7680 | $as_echo "$as_val"'` | |
7681 | if test "x$as_val" = x""yes; then | |
daa2886c | 7682 | cat >>confdefs.h <<_ACEOF |
abf5048b | 7683 | #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 |
daa2886c AJ |
7684 | _ACEOF |
7685 | ||
7ff12568 | 7686 | fi |
f5818d2f | 7687 | |
7ff12568 | 7688 | done |
255b486c | 7689 | |
abf5048b AJ |
7690 | { $as_echo "$as_me:$LINENO: checking whether stat file-mode macros are broken" >&5 |
7691 | $as_echo_n "checking whether stat file-mode macros are broken... " >&6; } | |
7ff12568 | 7692 | if test "${ac_cv_header_stat_broken+set}" = set; then |
abf5048b | 7693 | $as_echo_n "(cached) " >&6 |
f5818d2f | 7694 | else |
044b5c41 | 7695 | cat >conftest.$ac_ext <<_ACEOF |
e24bcc77 AJ |
7696 | /* confdefs.h. */ |
7697 | _ACEOF | |
7698 | cat confdefs.h >>conftest.$ac_ext | |
7699 | cat >>conftest.$ac_ext <<_ACEOF | |
7700 | /* end confdefs.h. */ | |
7ff12568 RK |
7701 | #include <sys/types.h> |
7702 | #include <sys/stat.h> | |
044b5c41 | 7703 | |
fc6ffb29 | 7704 | #if defined S_ISBLK && defined S_IFDIR |
f0ca586f | 7705 | extern char c1[S_ISBLK (S_IFDIR) ? -1 : 1]; |
7ff12568 | 7706 | #endif |
255b486c | 7707 | |
fc6ffb29 | 7708 | #if defined S_ISBLK && defined S_IFCHR |
f0ca586f | 7709 | extern char c2[S_ISBLK (S_IFCHR) ? -1 : 1]; |
7ff12568 | 7710 | #endif |
255b486c | 7711 | |
fc6ffb29 | 7712 | #if defined S_ISLNK && defined S_IFREG |
f0ca586f | 7713 | extern char c3[S_ISLNK (S_IFREG) ? -1 : 1]; |
7ff12568 | 7714 | #endif |
f5818d2f | 7715 | |
fc6ffb29 | 7716 | #if defined S_ISSOCK && defined S_IFREG |
f0ca586f | 7717 | extern char c4[S_ISSOCK (S_IFREG) ? -1 : 1]; |
f5818d2f | 7718 | #endif |
7ff12568 | 7719 | |
f5818d2f | 7720 | _ACEOF |
f0ca586f PK |
7721 | rm -f conftest.$ac_objext |
7722 | if { (ac_try="$ac_compile" | |
7723 | case "(($ac_try" in | |
7724 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
7725 | *) ac_try_echo=$ac_try;; | |
7726 | esac | |
abf5048b AJ |
7727 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
7728 | $as_echo "$ac_try_echo") >&5 | |
f0ca586f PK |
7729 | (eval "$ac_compile") 2>conftest.er1 |
7730 | ac_status=$? | |
7731 | grep -v '^ *+' conftest.er1 >conftest.err | |
7732 | rm -f conftest.er1 | |
7733 | cat conftest.err >&5 | |
abf5048b | 7734 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
dc9f3843 AJ |
7735 | (exit $ac_status); } && { |
7736 | test -z "$ac_c_werror_flag" || | |
7737 | test ! -s conftest.err | |
7738 | } && test -s conftest.$ac_objext; then | |
7ff12568 | 7739 | ac_cv_header_stat_broken=no |
f0ca586f | 7740 | else |
abf5048b | 7741 | $as_echo "$as_me: failed program was:" >&5 |
f0ca586f PK |
7742 | sed 's/^/| /' conftest.$ac_ext >&5 |
7743 | ||
7744 | ac_cv_header_stat_broken=yes | |
f5818d2f | 7745 | fi |
7ff12568 | 7746 | |
f0ca586f | 7747 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
f5818d2f | 7748 | fi |
abf5048b AJ |
7749 | { $as_echo "$as_me:$LINENO: result: $ac_cv_header_stat_broken" >&5 |
7750 | $as_echo "$ac_cv_header_stat_broken" >&6; } | |
7ff12568 | 7751 | if test $ac_cv_header_stat_broken = yes; then |
f5818d2f | 7752 | |
daa2886c | 7753 | cat >>confdefs.h <<\_ACEOF |
7ff12568 | 7754 | #define STAT_MACROS_BROKEN 1 |
daa2886c | 7755 | _ACEOF |
c90fb25c | 7756 | |
c90fb25c OK |
7757 | fi |
7758 | ||
daa2886c | 7759 | |
7ff12568 | 7760 | |
2d6d4e96 HL |
7761 | |
7762 | ||
7763 | ||
7764 | ||
7765 | for ac_header in sys/mount.h sys/statfs.h sys/user.h sys/vfs.h | |
b079add3 | 7766 | do |
abf5048b AJ |
7767 | as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` |
7768 | { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 | |
7769 | $as_echo_n "checking for $ac_header... " >&6; } | |
fc6ffb29 | 7770 | if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then |
abf5048b | 7771 | $as_echo_n "(cached) " >&6 |
b079add3 AJ |
7772 | else |
7773 | cat >conftest.$ac_ext <<_ACEOF | |
7774 | /* confdefs.h. */ | |
7775 | _ACEOF | |
7776 | cat confdefs.h >>conftest.$ac_ext | |
7777 | cat >>conftest.$ac_ext <<_ACEOF | |
7778 | /* end confdefs.h. */ | |
2d6d4e96 | 7779 | #include <sys/types.h> |
9e67edfc | 7780 | #ifdef HAVE_SYS_PARAM_H |
2d6d4e96 HL |
7781 | # include <sys/param.h> |
7782 | #endif | |
b079add3 AJ |
7783 | |
7784 | #include <$ac_header> | |
7785 | _ACEOF | |
7786 | rm -f conftest.$ac_objext | |
0ebeb530 JW |
7787 | if { (ac_try="$ac_compile" |
7788 | case "(($ac_try" in | |
7789 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
7790 | *) ac_try_echo=$ac_try;; | |
7791 | esac | |
abf5048b AJ |
7792 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
7793 | $as_echo "$ac_try_echo") >&5 | |
0ebeb530 | 7794 | (eval "$ac_compile") 2>conftest.er1 |
b079add3 AJ |
7795 | ac_status=$? |
7796 | grep -v '^ *+' conftest.er1 >conftest.err | |
7797 | rm -f conftest.er1 | |
7798 | cat conftest.err >&5 | |
abf5048b | 7799 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
dc9f3843 AJ |
7800 | (exit $ac_status); } && { |
7801 | test -z "$ac_c_werror_flag" || | |
7802 | test ! -s conftest.err | |
7803 | } && test -s conftest.$ac_objext; then | |
b079add3 AJ |
7804 | eval "$as_ac_Header=yes" |
7805 | else | |
abf5048b | 7806 | $as_echo "$as_me: failed program was:" >&5 |
b079add3 AJ |
7807 | sed 's/^/| /' conftest.$ac_ext >&5 |
7808 | ||
fc6ffb29 | 7809 | eval "$as_ac_Header=no" |
b079add3 | 7810 | fi |
fc6ffb29 | 7811 | |
0ebeb530 | 7812 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
b079add3 | 7813 | fi |
abf5048b AJ |
7814 | ac_res=`eval 'as_val=${'$as_ac_Header'} |
7815 | $as_echo "$as_val"'` | |
7816 | { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 | |
7817 | $as_echo "$ac_res" >&6; } | |
7818 | as_val=`eval 'as_val=${'$as_ac_Header'} | |
7819 | $as_echo "$as_val"'` | |
7820 | if test "x$as_val" = x""yes; then | |
b079add3 | 7821 | cat >>confdefs.h <<_ACEOF |
abf5048b | 7822 | #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 |
b079add3 AJ |
7823 | _ACEOF |
7824 | ||
7825 | fi | |
7826 | ||
7827 | done | |
7828 | ||
7829 | ||
7830 | ||
7ff12568 RK |
7831 | |
7832 | ||
7833 | ||
7834 | ||
7835 | ||
2569635c MA |
7836 | |
7837 | ||
dfb308a6 AJ |
7838 | |
7839 | ||
7840 | ||
7841 | ||
7842 | for ac_header in \ | |
7843 | netinet/ip.h \ | |
7844 | net/if.h \ | |
7845 | net/if_arp.h \ | |
7846 | net/if_dl.h \ | |
7847 | net/if_types.h \ | |
7848 | net/route.h \ | |
7849 | netinet/if_ether.h \ | |
7850 | netinet/in_pcb.h \ | |
7851 | netinet/ip_icmp.h \ | |
7852 | netinet/ip_var.h \ | |
7853 | netinet/udp.h \ | |
7854 | netipx/ipx.h \ | |
7855 | ||
2569635c | 7856 | do |
abf5048b AJ |
7857 | as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` |
7858 | { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 | |
7859 | $as_echo_n "checking for $ac_header... " >&6; } | |
2569635c | 7860 | if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then |
abf5048b | 7861 | $as_echo_n "(cached) " >&6 |
2569635c MA |
7862 | else |
7863 | cat >conftest.$ac_ext <<_ACEOF | |
7864 | /* confdefs.h. */ | |
7865 | _ACEOF | |
7866 | cat confdefs.h >>conftest.$ac_ext | |
7867 | cat >>conftest.$ac_ext <<_ACEOF | |
7868 | /* end confdefs.h. */ | |
7869 | #include <sys/types.h> | |
9e67edfc | 7870 | #ifdef HAVE_SYS_SOCKET_H |
2569635c MA |
7871 | # include <sys/socket.h> |
7872 | #endif | |
9e67edfc | 7873 | #ifdef HAVE_SYS_SOCKETVAR_H |
a609fee4 KT |
7874 | # include <sys/socketvar.h> |
7875 | #endif | |
9e67edfc | 7876 | #ifdef HAVE_NETINET_IN_H |
ffd78b15 KT |
7877 | # include <netinet/in.h> |
7878 | #endif | |
dfb308a6 AJ |
7879 | #ifdef HAVE_NETINET_IP_H |
7880 | # include <netinet/ip.h> | |
7881 | #endif | |
2569635c MA |
7882 | |
7883 | #include <$ac_header> | |
7884 | _ACEOF | |
7885 | rm -f conftest.$ac_objext | |
7886 | if { (ac_try="$ac_compile" | |
7887 | case "(($ac_try" in | |
7888 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
7889 | *) ac_try_echo=$ac_try;; | |
7890 | esac | |
abf5048b AJ |
7891 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
7892 | $as_echo "$ac_try_echo") >&5 | |
2569635c MA |
7893 | (eval "$ac_compile") 2>conftest.er1 |
7894 | ac_status=$? | |
7895 | grep -v '^ *+' conftest.er1 >conftest.err | |
7896 | rm -f conftest.er1 | |
7897 | cat conftest.err >&5 | |
abf5048b | 7898 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2569635c MA |
7899 | (exit $ac_status); } && { |
7900 | test -z "$ac_c_werror_flag" || | |
7901 | test ! -s conftest.err | |
7902 | } && test -s conftest.$ac_objext; then | |
7903 | eval "$as_ac_Header=yes" | |
7904 | else | |
abf5048b | 7905 | $as_echo "$as_me: failed program was:" >&5 |
2569635c MA |
7906 | sed 's/^/| /' conftest.$ac_ext >&5 |
7907 | ||
7908 | eval "$as_ac_Header=no" | |
7909 | fi | |
7910 | ||
7911 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | |
7912 | fi | |
abf5048b AJ |
7913 | ac_res=`eval 'as_val=${'$as_ac_Header'} |
7914 | $as_echo "$as_val"'` | |
7915 | { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 | |
7916 | $as_echo "$ac_res" >&6; } | |
7917 | as_val=`eval 'as_val=${'$as_ac_Header'} | |
7918 | $as_echo "$as_val"'` | |
7919 | if test "x$as_val" = x""yes; then | |
2569635c | 7920 | cat >>confdefs.h <<_ACEOF |
abf5048b | 7921 | #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 |
2569635c MA |
7922 | _ACEOF |
7923 | ||
7924 | fi | |
7925 | ||
7926 | done | |
7927 | ||
2569635c MA |
7928 | |
7929 | ||
6d4eab9a | 7930 | |
020b0ef6 | 7931 | |
beea4d30 ED |
7932 | |
7933 | for ac_header in netinet/tcp_var.h netinet/udp_var.h netinet/icmp_var.h netinet/tcp_timer.h | |
7ff12568 | 7934 | do |
abf5048b AJ |
7935 | as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` |
7936 | { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 | |
7937 | $as_echo_n "checking for $ac_header... " >&6; } | |
fc6ffb29 | 7938 | if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then |
abf5048b | 7939 | $as_echo_n "(cached) " >&6 |
7ff12568 RK |
7940 | else |
7941 | cat >conftest.$ac_ext <<_ACEOF | |
7942 | /* confdefs.h. */ | |
7943 | _ACEOF | |
7944 | cat confdefs.h >>conftest.$ac_ext | |
7945 | cat >>conftest.$ac_ext <<_ACEOF | |
7946 | /* end confdefs.h. */ | |
2d6d4e96 | 7947 | #include <sys/types.h> |
020b0ef6 ED |
7948 | #ifdef HAVE_ALIAS_H |
7949 | # include <alias.h> | |
7950 | #endif | |
9e67edfc | 7951 | #ifdef HAVE_SYS_SOCKET_H |
2d6d4e96 HL |
7952 | # include <sys/socket.h> |
7953 | #endif | |
9e67edfc | 7954 | #ifdef HAVE_SYS_SOCKETVAR_H |
2569635c MA |
7955 | # include <sys/socketvar.h> |
7956 | #endif | |
9e67edfc | 7957 | #ifdef HAVE_NETINET_IN_H |
2569635c MA |
7958 | # include <netinet/in.h> |
7959 | #endif | |
dfb308a6 AJ |
7960 | #ifdef HAVE_NETINET_IP_H |
7961 | # include <netinet/ip.h> | |
7962 | #endif | |
6d4eab9a ED |
7963 | #ifdef HAVE_NETINET_IP_VAR_H |
7964 | # include <netinet/ip_var.h> | |
7965 | #endif | |
020b0ef6 ED |
7966 | #ifdef HAVE_NETINET_IP_ICMP_H |
7967 | # include <netinet/ip_icmp.h> | |
7968 | #endif | |
6d4eab9a ED |
7969 | #ifdef HAVE_NETINET_UDP_H |
7970 | # include <netinet/udp.h> | |
7971 | #endif | |
2569635c MA |
7972 | #ifdef HAVE_NETINET_TCP_H |
7973 | # include <netinet/tcp.h> | |
7974 | #endif | |
7ff12568 RK |
7975 | |
7976 | #include <$ac_header> | |
7977 | _ACEOF | |
7978 | rm -f conftest.$ac_objext | |
0ebeb530 JW |
7979 | if { (ac_try="$ac_compile" |
7980 | case "(($ac_try" in | |
7981 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
7982 | *) ac_try_echo=$ac_try;; | |
7983 | esac | |
abf5048b AJ |
7984 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
7985 | $as_echo "$ac_try_echo") >&5 | |
0ebeb530 | 7986 | (eval "$ac_compile") 2>conftest.er1 |
7ff12568 RK |
7987 | ac_status=$? |
7988 | grep -v '^ *+' conftest.er1 >conftest.err | |
7989 | rm -f conftest.er1 | |
7990 | cat conftest.err >&5 | |
abf5048b | 7991 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
dc9f3843 AJ |
7992 | (exit $ac_status); } && { |
7993 | test -z "$ac_c_werror_flag" || | |
7994 | test ! -s conftest.err | |
7995 | } && test -s conftest.$ac_objext; then | |
7ff12568 RK |
7996 | eval "$as_ac_Header=yes" |
7997 | else | |
abf5048b | 7998 | $as_echo "$as_me: failed program was:" >&5 |
7ff12568 RK |
7999 | sed 's/^/| /' conftest.$ac_ext >&5 |
8000 | ||
fc6ffb29 | 8001 | eval "$as_ac_Header=no" |
7ff12568 | 8002 | fi |
fc6ffb29 | 8003 | |
0ebeb530 | 8004 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
7ff12568 | 8005 | fi |
abf5048b AJ |
8006 | ac_res=`eval 'as_val=${'$as_ac_Header'} |
8007 | $as_echo "$as_val"'` | |
8008 | { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 | |
8009 | $as_echo "$ac_res" >&6; } | |
8010 | as_val=`eval 'as_val=${'$as_ac_Header'} | |
8011 | $as_echo "$as_val"'` | |
8012 | if test "x$as_val" = x""yes; then | |
7ff12568 | 8013 | cat >>confdefs.h <<_ACEOF |
abf5048b | 8014 | #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 |
daa2886c | 8015 | _ACEOF |
5b6879c5 | 8016 | |
5b6879c5 FJ |
8017 | fi |
8018 | ||
7ff12568 | 8019 | done |
daa2886c | 8020 | |
7ff12568 | 8021 | |
2d6d4e96 | 8022 | |
faf05dfd FG |
8023 | for ac_header in linux/ipx.h |
8024 | do | |
abf5048b AJ |
8025 | as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` |
8026 | { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 | |
8027 | $as_echo_n "checking for $ac_header... " >&6; } | |
faf05dfd | 8028 | if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then |
abf5048b | 8029 | $as_echo_n "(cached) " >&6 |
faf05dfd FG |
8030 | else |
8031 | cat >conftest.$ac_ext <<_ACEOF | |
8032 | /* confdefs.h. */ | |
8033 | _ACEOF | |
8034 | cat confdefs.h >>conftest.$ac_ext | |
8035 | cat >>conftest.$ac_ext <<_ACEOF | |
8036 | /* end confdefs.h. */ | |
8037 | #include <sys/types.h> | |
8038 | #ifdef HAVE_ASM_TYPES_H | |
8039 | # include <asm/types.h> | |
8040 | #endif | |
9e67edfc | 8041 | #ifdef HAVE_SYS_SOCKET_H |
faf05dfd FG |
8042 | # include <sys/socket.h> |
8043 | #endif | |
8044 | ||
8045 | #include <$ac_header> | |
8046 | _ACEOF | |
8047 | rm -f conftest.$ac_objext | |
8048 | if { (ac_try="$ac_compile" | |
8049 | case "(($ac_try" in | |
8050 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
8051 | *) ac_try_echo=$ac_try;; | |
8052 | esac | |
abf5048b AJ |
8053 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
8054 | $as_echo "$ac_try_echo") >&5 | |
faf05dfd FG |
8055 | (eval "$ac_compile") 2>conftest.er1 |
8056 | ac_status=$? | |
8057 | grep -v '^ *+' conftest.er1 >conftest.err | |
8058 | rm -f conftest.er1 | |
8059 | cat conftest.err >&5 | |
abf5048b | 8060 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
dc9f3843 AJ |
8061 | (exit $ac_status); } && { |
8062 | test -z "$ac_c_werror_flag" || | |
8063 | test ! -s conftest.err | |
8064 | } && test -s conftest.$ac_objext; then | |
faf05dfd FG |
8065 | eval "$as_ac_Header=yes" |
8066 | else | |
abf5048b | 8067 | $as_echo "$as_me: failed program was:" >&5 |
faf05dfd FG |
8068 | sed 's/^/| /' conftest.$ac_ext >&5 |
8069 | ||
8070 | eval "$as_ac_Header=no" | |
8071 | fi | |
8072 | ||
8073 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | |
8074 | fi | |
abf5048b AJ |
8075 | ac_res=`eval 'as_val=${'$as_ac_Header'} |
8076 | $as_echo "$as_val"'` | |
8077 | { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 | |
8078 | $as_echo "$ac_res" >&6; } | |
8079 | as_val=`eval 'as_val=${'$as_ac_Header'} | |
8080 | $as_echo "$as_val"'` | |
8081 | if test "x$as_val" = x""yes; then | |
faf05dfd | 8082 | cat >>confdefs.h <<_ACEOF |
abf5048b | 8083 | #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 |
faf05dfd FG |
8084 | _ACEOF |
8085 | ||
8086 | fi | |
8087 | ||
8088 | done | |
8089 | ||
8090 | ||
8091 | ||
2d6d4e96 HL |
8092 | for ac_header in resolv.h |
8093 | do | |
abf5048b AJ |
8094 | as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` |
8095 | { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 | |
8096 | $as_echo_n "checking for $ac_header... " >&6; } | |
fc6ffb29 | 8097 | if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then |
abf5048b | 8098 | $as_echo_n "(cached) " >&6 |
d94475bd | 8099 | else |
2d6d4e96 | 8100 | cat >conftest.$ac_ext <<_ACEOF |
e24bcc77 AJ |
8101 | /* confdefs.h. */ |
8102 | _ACEOF | |
8103 | cat confdefs.h >>conftest.$ac_ext | |
8104 | cat >>conftest.$ac_ext <<_ACEOF | |
8105 | /* end confdefs.h. */ | |
2d6d4e96 | 8106 | #include <sys/types.h> |
9e67edfc | 8107 | #ifdef HAVE_SYS_SOCKET_H |
2d6d4e96 HL |
8108 | # include <sys/socket.h> |
8109 | #endif | |
9e67edfc | 8110 | #ifdef HAVE_NETINET_IN_H |
2d6d4e96 HL |
8111 | # include <netinet/in.h> |
8112 | #endif | |
9e67edfc | 8113 | #ifdef HAVE_ARPA_NAMESER_H |
2d6d4e96 HL |
8114 | # include <arpa/nameser.h> |
8115 | #endif | |
f5818d2f | 8116 | |
2d6d4e96 | 8117 | #include <$ac_header> |
f5818d2f | 8118 | _ACEOF |
2d6d4e96 | 8119 | rm -f conftest.$ac_objext |
0ebeb530 JW |
8120 | if { (ac_try="$ac_compile" |
8121 | case "(($ac_try" in | |
8122 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
8123 | *) ac_try_echo=$ac_try;; | |
8124 | esac | |
abf5048b AJ |
8125 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
8126 | $as_echo "$ac_try_echo") >&5 | |
0ebeb530 | 8127 | (eval "$ac_compile") 2>conftest.er1 |
f5818d2f | 8128 | ac_status=$? |
875927f6 AJ |
8129 | grep -v '^ *+' conftest.er1 >conftest.err |
8130 | rm -f conftest.er1 | |
8131 | cat conftest.err >&5 | |
abf5048b | 8132 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
dc9f3843 AJ |
8133 | (exit $ac_status); } && { |
8134 | test -z "$ac_c_werror_flag" || | |
8135 | test ! -s conftest.err | |
8136 | } && test -s conftest.$ac_objext; then | |
2d6d4e96 | 8137 | eval "$as_ac_Header=yes" |
f5818d2f | 8138 | else |
abf5048b | 8139 | $as_echo "$as_me: failed program was:" >&5 |
e24bcc77 AJ |
8140 | sed 's/^/| /' conftest.$ac_ext >&5 |
8141 | ||
fc6ffb29 | 8142 | eval "$as_ac_Header=no" |
f5818d2f | 8143 | fi |
fc6ffb29 | 8144 | |
0ebeb530 | 8145 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
f5818d2f | 8146 | fi |
abf5048b AJ |
8147 | ac_res=`eval 'as_val=${'$as_ac_Header'} |
8148 | $as_echo "$as_val"'` | |
8149 | { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 | |
8150 | $as_echo "$ac_res" >&6; } | |
8151 | as_val=`eval 'as_val=${'$as_ac_Header'} | |
8152 | $as_echo "$as_val"'` | |
8153 | if test "x$as_val" = x""yes; then | |
2d6d4e96 | 8154 | cat >>confdefs.h <<_ACEOF |
abf5048b | 8155 | #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 |
daa2886c | 8156 | _ACEOF |
10ad97c8 | 8157 | |
7ff12568 | 8158 | fi |
f5818d2f | 8159 | |
2d6d4e96 | 8160 | done |
7ff12568 | 8161 | |
2d6d4e96 HL |
8162 | |
8163 | ||
8164 | for ac_header in ucontext.h | |
8165 | do | |
abf5048b AJ |
8166 | as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` |
8167 | { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 | |
8168 | $as_echo_n "checking for $ac_header... " >&6; } | |
fc6ffb29 | 8169 | if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then |
abf5048b | 8170 | $as_echo_n "(cached) " >&6 |
02e90087 | 8171 | else |
2d6d4e96 | 8172 | cat >conftest.$ac_ext <<_ACEOF |
e24bcc77 AJ |
8173 | /* confdefs.h. */ |
8174 | _ACEOF | |
8175 | cat confdefs.h >>conftest.$ac_ext | |
8176 | cat >>conftest.$ac_ext <<_ACEOF | |
8177 | /* end confdefs.h. */ | |
2d6d4e96 | 8178 | #include <signal.h> |
f5818d2f | 8179 | |
60833da9 TC |
8180 | #include <$ac_header> |
8181 | _ACEOF | |
8182 | rm -f conftest.$ac_objext | |
8183 | if { (ac_try="$ac_compile" | |
8184 | case "(($ac_try" in | |
8185 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
8186 | *) ac_try_echo=$ac_try;; | |
8187 | esac | |
abf5048b AJ |
8188 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
8189 | $as_echo "$ac_try_echo") >&5 | |
60833da9 TC |
8190 | (eval "$ac_compile") 2>conftest.er1 |
8191 | ac_status=$? | |
8192 | grep -v '^ *+' conftest.er1 >conftest.err | |
8193 | rm -f conftest.er1 | |
8194 | cat conftest.err >&5 | |
abf5048b | 8195 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
60833da9 TC |
8196 | (exit $ac_status); } && { |
8197 | test -z "$ac_c_werror_flag" || | |
8198 | test ! -s conftest.err | |
8199 | } && test -s conftest.$ac_objext; then | |
8200 | eval "$as_ac_Header=yes" | |
8201 | else | |
abf5048b | 8202 | $as_echo "$as_me: failed program was:" >&5 |
60833da9 TC |
8203 | sed 's/^/| /' conftest.$ac_ext >&5 |
8204 | ||
8205 | eval "$as_ac_Header=no" | |
8206 | fi | |
8207 | ||
8208 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | |
8209 | fi | |
abf5048b AJ |
8210 | ac_res=`eval 'as_val=${'$as_ac_Header'} |
8211 | $as_echo "$as_val"'` | |
8212 | { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 | |
8213 | $as_echo "$ac_res" >&6; } | |
8214 | as_val=`eval 'as_val=${'$as_ac_Header'} | |
8215 | $as_echo "$as_val"'` | |
8216 | if test "x$as_val" = x""yes; then | |
60833da9 | 8217 | cat >>confdefs.h <<_ACEOF |
abf5048b | 8218 | #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 |
60833da9 TC |
8219 | _ACEOF |
8220 | ||
8221 | fi | |
8222 | ||
8223 | done | |
8224 | ||
8225 | ||
8226 | ||
8227 | for ac_header in sys/thr.h | |
8228 | do | |
abf5048b AJ |
8229 | as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` |
8230 | { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 | |
8231 | $as_echo_n "checking for $ac_header... " >&6; } | |
60833da9 | 8232 | if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then |
abf5048b | 8233 | $as_echo_n "(cached) " >&6 |
60833da9 TC |
8234 | else |
8235 | cat >conftest.$ac_ext <<_ACEOF | |
8236 | /* confdefs.h. */ | |
8237 | _ACEOF | |
8238 | cat confdefs.h >>conftest.$ac_ext | |
8239 | cat >>conftest.$ac_ext <<_ACEOF | |
8240 | /* end confdefs.h. */ | |
8241 | #include <sys/types.h> | |
9e67edfc | 8242 | #ifdef HAVE_UCONTEXT_H |
60833da9 TC |
8243 | #include <ucontext.h> |
8244 | #endif | |
8245 | ||
4ff90b47 GP |
8246 | #include <$ac_header> |
8247 | _ACEOF | |
8248 | rm -f conftest.$ac_objext | |
8249 | if { (ac_try="$ac_compile" | |
8250 | case "(($ac_try" in | |
8251 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
8252 | *) ac_try_echo=$ac_try;; | |
8253 | esac | |
abf5048b AJ |
8254 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
8255 | $as_echo "$ac_try_echo") >&5 | |
4ff90b47 GP |
8256 | (eval "$ac_compile") 2>conftest.er1 |
8257 | ac_status=$? | |
8258 | grep -v '^ *+' conftest.er1 >conftest.err | |
8259 | rm -f conftest.er1 | |
8260 | cat conftest.err >&5 | |
abf5048b | 8261 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
dc9f3843 AJ |
8262 | (exit $ac_status); } && { |
8263 | test -z "$ac_c_werror_flag" || | |
8264 | test ! -s conftest.err | |
8265 | } && test -s conftest.$ac_objext; then | |
4ff90b47 GP |
8266 | eval "$as_ac_Header=yes" |
8267 | else | |
abf5048b | 8268 | $as_echo "$as_me: failed program was:" >&5 |
4ff90b47 GP |
8269 | sed 's/^/| /' conftest.$ac_ext >&5 |
8270 | ||
8271 | eval "$as_ac_Header=no" | |
8272 | fi | |
8273 | ||
8274 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | |
8275 | fi | |
abf5048b AJ |
8276 | ac_res=`eval 'as_val=${'$as_ac_Header'} |
8277 | $as_echo "$as_val"'` | |
8278 | { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 | |
8279 | $as_echo "$ac_res" >&6; } | |
8280 | as_val=`eval 'as_val=${'$as_ac_Header'} | |
8281 | $as_echo "$as_val"'` | |
8282 | if test "x$as_val" = x""yes; then | |
4ff90b47 | 8283 | cat >>confdefs.h <<_ACEOF |
abf5048b | 8284 | #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 |
4ff90b47 GP |
8285 | _ACEOF |
8286 | ||
8287 | fi | |
8288 | ||
8289 | done | |
8290 | ||
8291 | ||
8292 | ||
8293 | for ac_header in pthread_np.h | |
8294 | do | |
abf5048b AJ |
8295 | as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` |
8296 | { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 | |
8297 | $as_echo_n "checking for $ac_header... " >&6; } | |
4ff90b47 | 8298 | if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then |
abf5048b | 8299 | $as_echo_n "(cached) " >&6 |
4ff90b47 GP |
8300 | else |
8301 | cat >conftest.$ac_ext <<_ACEOF | |
8302 | /* confdefs.h. */ | |
8303 | _ACEOF | |
8304 | cat confdefs.h >>conftest.$ac_ext | |
8305 | cat >>conftest.$ac_ext <<_ACEOF | |
8306 | /* end confdefs.h. */ | |
8307 | #ifdef HAVE_PTHREAD_H | |
8308 | #include <pthread.h> | |
8309 | #endif | |
8310 | ||
2d6d4e96 | 8311 | #include <$ac_header> |
f5818d2f | 8312 | _ACEOF |
2d6d4e96 | 8313 | rm -f conftest.$ac_objext |
0ebeb530 JW |
8314 | if { (ac_try="$ac_compile" |
8315 | case "(($ac_try" in | |
8316 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
8317 | *) ac_try_echo=$ac_try;; | |
8318 | esac | |
abf5048b AJ |
8319 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
8320 | $as_echo "$ac_try_echo") >&5 | |
0ebeb530 | 8321 | (eval "$ac_compile") 2>conftest.er1 |
f5818d2f | 8322 | ac_status=$? |
875927f6 AJ |
8323 | grep -v '^ *+' conftest.er1 >conftest.err |
8324 | rm -f conftest.er1 | |
8325 | cat conftest.err >&5 | |
abf5048b | 8326 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
dc9f3843 AJ |
8327 | (exit $ac_status); } && { |
8328 | test -z "$ac_c_werror_flag" || | |
8329 | test ! -s conftest.err | |
8330 | } && test -s conftest.$ac_objext; then | |
2d6d4e96 | 8331 | eval "$as_ac_Header=yes" |
f5818d2f | 8332 | else |
abf5048b | 8333 | $as_echo "$as_me: failed program was:" >&5 |
e24bcc77 AJ |
8334 | sed 's/^/| /' conftest.$ac_ext >&5 |
8335 | ||
fc6ffb29 | 8336 | eval "$as_ac_Header=no" |
f5818d2f | 8337 | fi |
fc6ffb29 | 8338 | |
0ebeb530 | 8339 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
f5818d2f | 8340 | fi |
abf5048b AJ |
8341 | ac_res=`eval 'as_val=${'$as_ac_Header'} |
8342 | $as_echo "$as_val"'` | |
8343 | { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 | |
8344 | $as_echo "$ac_res" >&6; } | |
8345 | as_val=`eval 'as_val=${'$as_ac_Header'} | |
8346 | $as_echo "$as_val"'` | |
8347 | if test "x$as_val" = x""yes; then | |
2d6d4e96 | 8348 | cat >>confdefs.h <<_ACEOF |
abf5048b | 8349 | #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 |
daa2886c | 8350 | _ACEOF |
10ad97c8 | 8351 | |
f2b77ccb JS |
8352 | fi |
8353 | ||
2d6d4e96 | 8354 | done |
daa2886c | 8355 | |
2d6d4e96 HL |
8356 | |
8357 | ||
faf05dfd | 8358 | for ac_header in linux/videodev.h |
2d6d4e96 | 8359 | do |
abf5048b AJ |
8360 | as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` |
8361 | { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 | |
8362 | $as_echo_n "checking for $ac_header... " >&6; } | |
fc6ffb29 | 8363 | if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then |
abf5048b | 8364 | $as_echo_n "(cached) " >&6 |
399931a2 | 8365 | else |
2d6d4e96 | 8366 | cat >conftest.$ac_ext <<_ACEOF |
e24bcc77 AJ |
8367 | /* confdefs.h. */ |
8368 | _ACEOF | |
8369 | cat confdefs.h >>conftest.$ac_ext | |
8370 | cat >>conftest.$ac_ext <<_ACEOF | |
8371 | /* end confdefs.h. */ | |
2d6d4e96 HL |
8372 | #ifdef HAVE_SYS_TIME_H |
8373 | #include <sys/time.h> | |
f5818d2f | 8374 | #endif |
2d6d4e96 HL |
8375 | #include <sys/types.h> |
8376 | #ifdef HAVE_ASM_TYPES_H | |
8377 | #include <asm/types.h> | |
8378 | #endif | |
8379 | ||
8380 | #include <$ac_header> | |
f5818d2f | 8381 | _ACEOF |
2d6d4e96 | 8382 | rm -f conftest.$ac_objext |
0ebeb530 JW |
8383 | if { (ac_try="$ac_compile" |
8384 | case "(($ac_try" in | |
8385 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
8386 | *) ac_try_echo=$ac_try;; | |
8387 | esac | |
abf5048b AJ |
8388 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
8389 | $as_echo "$ac_try_echo") >&5 | |
0ebeb530 | 8390 | (eval "$ac_compile") 2>conftest.er1 |
f5818d2f | 8391 | ac_status=$? |
875927f6 AJ |
8392 | grep -v '^ *+' conftest.er1 >conftest.err |
8393 | rm -f conftest.er1 | |
8394 | cat conftest.err >&5 | |
abf5048b | 8395 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
dc9f3843 AJ |
8396 | (exit $ac_status); } && { |
8397 | test -z "$ac_c_werror_flag" || | |
8398 | test ! -s conftest.err | |
8399 | } && test -s conftest.$ac_objext; then | |
2d6d4e96 | 8400 | eval "$as_ac_Header=yes" |
f5818d2f | 8401 | else |
abf5048b | 8402 | $as_echo "$as_me: failed program was:" >&5 |
e24bcc77 AJ |
8403 | sed 's/^/| /' conftest.$ac_ext >&5 |
8404 | ||
fc6ffb29 | 8405 | eval "$as_ac_Header=no" |
f5818d2f | 8406 | fi |
fc6ffb29 | 8407 | |
0ebeb530 | 8408 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
f5818d2f | 8409 | fi |
abf5048b AJ |
8410 | ac_res=`eval 'as_val=${'$as_ac_Header'} |
8411 | $as_echo "$as_val"'` | |
8412 | { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 | |
8413 | $as_echo "$ac_res" >&6; } | |
8414 | as_val=`eval 'as_val=${'$as_ac_Header'} | |
8415 | $as_echo "$as_val"'` | |
8416 | if test "x$as_val" = x""yes; then | |
2d6d4e96 | 8417 | cat >>confdefs.h <<_ACEOF |
abf5048b | 8418 | #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 |
daa2886c | 8419 | _ACEOF |
f2b77ccb | 8420 | |
399931a2 SC |
8421 | fi |
8422 | ||
2d6d4e96 | 8423 | done |
daa2886c | 8424 | |
2d6d4e96 HL |
8425 | |
8426 | ||
8427 | for ac_header in linux/capi.h | |
8428 | do | |
abf5048b AJ |
8429 | as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` |
8430 | { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 | |
8431 | $as_echo_n "checking for $ac_header... " >&6; } | |
fc6ffb29 | 8432 | if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then |
abf5048b | 8433 | $as_echo_n "(cached) " >&6 |
2d6d4e96 HL |
8434 | else |
8435 | cat >conftest.$ac_ext <<_ACEOF | |
8436 | /* confdefs.h. */ | |
8437 | _ACEOF | |
8f174bc6 AP |
8438 | cat confdefs.h >>conftest.$ac_ext |
8439 | cat >>conftest.$ac_ext <<_ACEOF | |
8440 | /* end confdefs.h. */ | |
2d6d4e96 | 8441 | #define __user |
7ff12568 | 8442 | |
2d6d4e96 | 8443 | #include <$ac_header> |
8f174bc6 | 8444 | _ACEOF |
2d6d4e96 | 8445 | rm -f conftest.$ac_objext |
0ebeb530 JW |
8446 | if { (ac_try="$ac_compile" |
8447 | case "(($ac_try" in | |
8448 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
8449 | *) ac_try_echo=$ac_try;; | |
8450 | esac | |
abf5048b AJ |
8451 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
8452 | $as_echo "$ac_try_echo") >&5 | |
0ebeb530 | 8453 | (eval "$ac_compile") 2>conftest.er1 |
8f174bc6 | 8454 | ac_status=$? |
875927f6 AJ |
8455 | grep -v '^ *+' conftest.er1 >conftest.err |
8456 | rm -f conftest.er1 | |
8457 | cat conftest.err >&5 | |
abf5048b | 8458 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
dc9f3843 AJ |
8459 | (exit $ac_status); } && { |
8460 | test -z "$ac_c_werror_flag" || | |
8461 | test ! -s conftest.err | |
8462 | } && test -s conftest.$ac_objext; then | |
2d6d4e96 | 8463 | eval "$as_ac_Header=yes" |
7ff12568 | 8464 | else |
abf5048b | 8465 | $as_echo "$as_me: failed program was:" >&5 |
7ff12568 RK |
8466 | sed 's/^/| /' conftest.$ac_ext >&5 |
8467 | ||
fc6ffb29 | 8468 | eval "$as_ac_Header=no" |
7ff12568 | 8469 | fi |
fc6ffb29 | 8470 | |
0ebeb530 | 8471 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
7ff12568 | 8472 | fi |
abf5048b AJ |
8473 | ac_res=`eval 'as_val=${'$as_ac_Header'} |
8474 | $as_echo "$as_val"'` | |
8475 | { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 | |
8476 | $as_echo "$ac_res" >&6; } | |
8477 | as_val=`eval 'as_val=${'$as_ac_Header'} | |
8478 | $as_echo "$as_val"'` | |
8479 | if test "x$as_val" = x""yes; then | |
2d6d4e96 | 8480 | cat >>confdefs.h <<_ACEOF |
abf5048b | 8481 | #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 |
2d6d4e96 | 8482 | _ACEOF |
7ff12568 | 8483 | |
2d6d4e96 HL |
8484 | fi |
8485 | ||
8486 | done | |
8487 | ||
8488 | ||
8489 | ||
a3097628 | 8490 | DLLEXT="" |
2d6d4e96 | 8491 | |
a3097628 | 8492 | DLLFLAGS="-D_REENTRANT" |
2d6d4e96 | 8493 | |
a3097628 | 8494 | LDSHARED="" |
2d6d4e96 | 8495 | |
a3097628 | 8496 | LDDLLFLAGS="" |
2d6d4e96 | 8497 | |
a3097628 | 8498 | LIBEXT="so" |
2d6d4e96 | 8499 | |
a3097628 | 8500 | IMPLIBEXT="def" |
2d6d4e96 | 8501 | |
a3097628 | 8502 | LDRPATH_INSTALL="" |
7d00b050 | 8503 | |
a3097628 | 8504 | LDRPATH_LOCAL="" |
23e2cb1f | 8505 | |
a3097628 AJ |
8506 | # Extract the first word of "ldd", so it can be a program name with args. |
8507 | set dummy ldd; ac_word=$2 | |
abf5048b AJ |
8508 | { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 |
8509 | $as_echo_n "checking for $ac_word... " >&6; } | |
a3097628 | 8510 | if test "${ac_cv_path_LDD+set}" = set; then |
abf5048b | 8511 | $as_echo_n "(cached) " >&6 |
2d6d4e96 | 8512 | else |
a3097628 AJ |
8513 | case $LDD in |
8514 | [\\/]* | ?:[\\/]*) | |
8515 | ac_cv_path_LDD="$LDD" # Let the user override the test with a path. | |
8516 | ;; | |
8517 | *) | |
8518 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | |
8519 | as_dummy="/sbin:/usr/sbin:$PATH" | |
8520 | for as_dir in $as_dummy | |
8521 | do | |
8522 | IFS=$as_save_IFS | |
8523 | test -z "$as_dir" && as_dir=. | |
8524 | for ac_exec_ext in '' $ac_executable_extensions; do | |
8525 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then | |
8526 | ac_cv_path_LDD="$as_dir/$ac_word$ac_exec_ext" | |
abf5048b | 8527 | $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
a3097628 AJ |
8528 | break 2 |
8529 | fi | |
8530 | done | |
8531 | done | |
8532 | IFS=$as_save_IFS | |
7ff12568 | 8533 | |
a3097628 AJ |
8534 | test -z "$ac_cv_path_LDD" && ac_cv_path_LDD="true" |
8535 | ;; | |
0ebeb530 | 8536 | esac |
7ff12568 | 8537 | fi |
a3097628 AJ |
8538 | LDD=$ac_cv_path_LDD |
8539 | if test -n "$LDD"; then | |
abf5048b AJ |
8540 | { $as_echo "$as_me:$LINENO: result: $LDD" >&5 |
8541 | $as_echo "$LDD" >&6; } | |
a3097628 | 8542 | else |
abf5048b AJ |
8543 | { $as_echo "$as_me:$LINENO: result: no" >&5 |
8544 | $as_echo "no" >&6; } | |
2d6d4e96 | 8545 | fi |
7ff12568 | 8546 | |
2d6d4e96 HL |
8547 | |
8548 | ||
a3097628 AJ |
8549 | case $host_os in |
8550 | cygwin*|mingw32*) | |
8551 | if test -n "$ac_tool_prefix"; then | |
8552 | # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args. | |
8553 | set dummy ${ac_tool_prefix}dlltool; ac_word=$2 | |
abf5048b AJ |
8554 | { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 |
8555 | $as_echo_n "checking for $ac_word... " >&6; } | |
a3097628 | 8556 | if test "${ac_cv_prog_DLLTOOL+set}" = set; then |
abf5048b | 8557 | $as_echo_n "(cached) " >&6 |
7ff12568 | 8558 | else |
a3097628 AJ |
8559 | if test -n "$DLLTOOL"; then |
8560 | ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test. | |
7ff12568 | 8561 | else |
a3097628 AJ |
8562 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
8563 | for as_dir in $PATH | |
8564 | do | |
8565 | IFS=$as_save_IFS | |
8566 | test -z "$as_dir" && as_dir=. | |
8567 | for ac_exec_ext in '' $ac_executable_extensions; do | |
8568 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then | |
8569 | ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool" | |
abf5048b | 8570 | $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
a3097628 AJ |
8571 | break 2 |
8572 | fi | |
8573 | done | |
8574 | done | |
8575 | IFS=$as_save_IFS | |
7ff12568 | 8576 | |
7ff12568 | 8577 | fi |
7ff12568 | 8578 | fi |
a3097628 AJ |
8579 | DLLTOOL=$ac_cv_prog_DLLTOOL |
8580 | if test -n "$DLLTOOL"; then | |
abf5048b AJ |
8581 | { $as_echo "$as_me:$LINENO: result: $DLLTOOL" >&5 |
8582 | $as_echo "$DLLTOOL" >&6; } | |
a3097628 | 8583 | else |
abf5048b AJ |
8584 | { $as_echo "$as_me:$LINENO: result: no" >&5 |
8585 | $as_echo "no" >&6; } | |
7ff12568 RK |
8586 | fi |
8587 | ||
7ff12568 | 8588 | |
a3097628 AJ |
8589 | fi |
8590 | if test -z "$ac_cv_prog_DLLTOOL"; then | |
8591 | ac_ct_DLLTOOL=$DLLTOOL | |
8592 | # Extract the first word of "dlltool", so it can be a program name with args. | |
8593 | set dummy dlltool; ac_word=$2 | |
abf5048b AJ |
8594 | { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 |
8595 | $as_echo_n "checking for $ac_word... " >&6; } | |
a3097628 | 8596 | if test "${ac_cv_prog_ac_ct_DLLTOOL+set}" = set; then |
abf5048b | 8597 | $as_echo_n "(cached) " >&6 |
2d6d4e96 | 8598 | else |
a3097628 AJ |
8599 | if test -n "$ac_ct_DLLTOOL"; then |
8600 | ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test. | |
c7c9f939 | 8601 | else |
a3097628 AJ |
8602 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
8603 | for as_dir in $PATH | |
8604 | do | |
8605 | IFS=$as_save_IFS | |
8606 | test -z "$as_dir" && as_dir=. | |
8607 | for ac_exec_ext in '' $ac_executable_extensions; do | |
8608 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then | |
8609 | ac_cv_prog_ac_ct_DLLTOOL="dlltool" | |
abf5048b | 8610 | $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
a3097628 AJ |
8611 | break 2 |
8612 | fi | |
8613 | done | |
8614 | done | |
8615 | IFS=$as_save_IFS | |
8f174bc6 | 8616 | |
a3097628 AJ |
8617 | fi |
8618 | fi | |
8619 | ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL | |
8620 | if test -n "$ac_ct_DLLTOOL"; then | |
abf5048b AJ |
8621 | { $as_echo "$as_me:$LINENO: result: $ac_ct_DLLTOOL" >&5 |
8622 | $as_echo "$ac_ct_DLLTOOL" >&6; } | |
a3097628 | 8623 | else |
abf5048b AJ |
8624 | { $as_echo "$as_me:$LINENO: result: no" >&5 |
8625 | $as_echo "no" >&6; } | |
8f174bc6 | 8626 | fi |
fc6ffb29 | 8627 | |
a3097628 AJ |
8628 | if test "x$ac_ct_DLLTOOL" = x; then |
8629 | DLLTOOL="false" | |
8630 | else | |
8631 | case $cross_compiling:$ac_tool_warned in | |
8632 | yes:) | |
abf5048b AJ |
8633 | { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5 |
8634 | $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} | |
a3097628 AJ |
8635 | ac_tool_warned=yes ;; |
8636 | esac | |
8637 | DLLTOOL=$ac_ct_DLLTOOL | |
8638 | fi | |
8639 | else | |
8640 | DLLTOOL="$ac_cv_prog_DLLTOOL" | |
2d6d4e96 | 8641 | fi |
2d6d4e96 | 8642 | |
a3097628 AJ |
8643 | if test -n "$ac_tool_prefix"; then |
8644 | # Extract the first word of "${ac_tool_prefix}dllwrap", so it can be a program name with args. | |
8645 | set dummy ${ac_tool_prefix}dllwrap; ac_word=$2 | |
abf5048b AJ |
8646 | { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 |
8647 | $as_echo_n "checking for $ac_word... " >&6; } | |
a3097628 | 8648 | if test "${ac_cv_prog_DLLWRAP+set}" = set; then |
abf5048b | 8649 | $as_echo_n "(cached) " >&6 |
a3097628 AJ |
8650 | else |
8651 | if test -n "$DLLWRAP"; then | |
8652 | ac_cv_prog_DLLWRAP="$DLLWRAP" # Let the user override the test. | |
8653 | else | |
8654 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | |
8655 | for as_dir in $PATH | |
8656 | do | |
8657 | IFS=$as_save_IFS | |
8658 | test -z "$as_dir" && as_dir=. | |
8659 | for ac_exec_ext in '' $ac_executable_extensions; do | |
8660 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then | |
8661 | ac_cv_prog_DLLWRAP="${ac_tool_prefix}dllwrap" | |
abf5048b | 8662 | $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
a3097628 AJ |
8663 | break 2 |
8664 | fi | |
8665 | done | |
8666 | done | |
8667 | IFS=$as_save_IFS | |
2d6d4e96 HL |
8668 | |
8669 | fi | |
a3097628 AJ |
8670 | fi |
8671 | DLLWRAP=$ac_cv_prog_DLLWRAP | |
8672 | if test -n "$DLLWRAP"; then | |
abf5048b AJ |
8673 | { $as_echo "$as_me:$LINENO: result: $DLLWRAP" >&5 |
8674 | $as_echo "$DLLWRAP" >&6; } | |
a3097628 | 8675 | else |
abf5048b AJ |
8676 | { $as_echo "$as_me:$LINENO: result: no" >&5 |
8677 | $as_echo "no" >&6; } | |
a3097628 | 8678 | fi |
2d6d4e96 | 8679 | |
92ec21bd | 8680 | |
a3097628 AJ |
8681 | fi |
8682 | if test -z "$ac_cv_prog_DLLWRAP"; then | |
8683 | ac_ct_DLLWRAP=$DLLWRAP | |
8684 | # Extract the first word of "dllwrap", so it can be a program name with args. | |
8685 | set dummy dllwrap; ac_word=$2 | |
abf5048b AJ |
8686 | { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 |
8687 | $as_echo_n "checking for $ac_word... " >&6; } | |
a3097628 | 8688 | if test "${ac_cv_prog_ac_ct_DLLWRAP+set}" = set; then |
abf5048b | 8689 | $as_echo_n "(cached) " >&6 |
92ec21bd | 8690 | else |
a3097628 AJ |
8691 | if test -n "$ac_ct_DLLWRAP"; then |
8692 | ac_cv_prog_ac_ct_DLLWRAP="$ac_ct_DLLWRAP" # Let the user override the test. | |
92ec21bd | 8693 | else |
a3097628 AJ |
8694 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
8695 | for as_dir in $PATH | |
8696 | do | |
8697 | IFS=$as_save_IFS | |
8698 | test -z "$as_dir" && as_dir=. | |
8699 | for ac_exec_ext in '' $ac_executable_extensions; do | |
8700 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then | |
8701 | ac_cv_prog_ac_ct_DLLWRAP="dllwrap" | |
abf5048b | 8702 | $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
a3097628 AJ |
8703 | break 2 |
8704 | fi | |
8705 | done | |
8706 | done | |
8707 | IFS=$as_save_IFS | |
92ec21bd | 8708 | |
92ec21bd | 8709 | fi |
92ec21bd | 8710 | fi |
a3097628 AJ |
8711 | ac_ct_DLLWRAP=$ac_cv_prog_ac_ct_DLLWRAP |
8712 | if test -n "$ac_ct_DLLWRAP"; then | |
abf5048b AJ |
8713 | { $as_echo "$as_me:$LINENO: result: $ac_ct_DLLWRAP" >&5 |
8714 | $as_echo "$ac_ct_DLLWRAP" >&6; } | |
a3097628 | 8715 | else |
abf5048b AJ |
8716 | { $as_echo "$as_me:$LINENO: result: no" >&5 |
8717 | $as_echo "no" >&6; } | |
f5818d2f | 8718 | fi |
5c085704 | 8719 | |
a3097628 AJ |
8720 | if test "x$ac_ct_DLLWRAP" = x; then |
8721 | DLLWRAP="false" | |
8722 | else | |
8723 | case $cross_compiling:$ac_tool_warned in | |
8724 | yes:) | |
abf5048b AJ |
8725 | { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5 |
8726 | $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} | |
a3097628 AJ |
8727 | ac_tool_warned=yes ;; |
8728 | esac | |
8729 | DLLWRAP=$ac_ct_DLLWRAP | |
8730 | fi | |
8731 | else | |
8732 | DLLWRAP="$ac_cv_prog_DLLWRAP" | |
8733 | fi | |
2d6d4e96 | 8734 | |
a3097628 AJ |
8735 | if test -n "$ac_tool_prefix"; then |
8736 | # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args. | |
8737 | set dummy ${ac_tool_prefix}ar; ac_word=$2 | |
abf5048b AJ |
8738 | { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 |
8739 | $as_echo_n "checking for $ac_word... " >&6; } | |
a3097628 | 8740 | if test "${ac_cv_prog_MINGWAR+set}" = set; then |
abf5048b | 8741 | $as_echo_n "(cached) " >&6 |
5ff00774 | 8742 | else |
a3097628 AJ |
8743 | if test -n "$MINGWAR"; then |
8744 | ac_cv_prog_MINGWAR="$MINGWAR" # Let the user override the test. | |
f5818d2f | 8745 | else |
a3097628 AJ |
8746 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
8747 | for as_dir in $PATH | |
8748 | do | |
8749 | IFS=$as_save_IFS | |
8750 | test -z "$as_dir" && as_dir=. | |
8751 | for ac_exec_ext in '' $ac_executable_extensions; do | |
8752 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then | |
8753 | ac_cv_prog_MINGWAR="${ac_tool_prefix}ar" | |
abf5048b | 8754 | $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
a3097628 AJ |
8755 | break 2 |
8756 | fi | |
8757 | done | |
8758 | done | |
8759 | IFS=$as_save_IFS | |
e24bcc77 | 8760 | |
f5818d2f | 8761 | fi |
f5818d2f | 8762 | fi |
a3097628 AJ |
8763 | MINGWAR=$ac_cv_prog_MINGWAR |
8764 | if test -n "$MINGWAR"; then | |
abf5048b AJ |
8765 | { $as_echo "$as_me:$LINENO: result: $MINGWAR" >&5 |
8766 | $as_echo "$MINGWAR" >&6; } | |
a3097628 | 8767 | else |
abf5048b AJ |
8768 | { $as_echo "$as_me:$LINENO: result: no" >&5 |
8769 | $as_echo "no" >&6; } | |
a3097628 | 8770 | fi |
6bb6d4c2 | 8771 | |
5a2da4ee | 8772 | |
2d6d4e96 | 8773 | fi |
a3097628 AJ |
8774 | if test -z "$ac_cv_prog_MINGWAR"; then |
8775 | ac_ct_MINGWAR=$MINGWAR | |
8776 | # Extract the first word of "ar", so it can be a program name with args. | |
8777 | set dummy ar; ac_word=$2 | |
abf5048b AJ |
8778 | { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 |
8779 | $as_echo_n "checking for $ac_word... " >&6; } | |
a3097628 | 8780 | if test "${ac_cv_prog_ac_ct_MINGWAR+set}" = set; then |
abf5048b | 8781 | $as_echo_n "(cached) " >&6 |
a3097628 AJ |
8782 | else |
8783 | if test -n "$ac_ct_MINGWAR"; then | |
8784 | ac_cv_prog_ac_ct_MINGWAR="$ac_ct_MINGWAR" # Let the user override the test. | |
8785 | else | |
8786 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | |
8787 | for as_dir in $PATH | |
8788 | do | |
8789 | IFS=$as_save_IFS | |
8790 | test -z "$as_dir" && as_dir=. | |
8791 | for ac_exec_ext in '' $ac_executable_extensions; do | |
8792 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then | |
8793 | ac_cv_prog_ac_ct_MINGWAR="ar" | |
abf5048b | 8794 | $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
a3097628 AJ |
8795 | break 2 |
8796 | fi | |
8797 | done | |
8798 | done | |
8799 | IFS=$as_save_IFS | |
2d6d4e96 | 8800 | |
a3097628 AJ |
8801 | fi |
8802 | fi | |
8803 | ac_ct_MINGWAR=$ac_cv_prog_ac_ct_MINGWAR | |
8804 | if test -n "$ac_ct_MINGWAR"; then | |
abf5048b AJ |
8805 | { $as_echo "$as_me:$LINENO: result: $ac_ct_MINGWAR" >&5 |
8806 | $as_echo "$ac_ct_MINGWAR" >&6; } | |
a3097628 | 8807 | else |
abf5048b AJ |
8808 | { $as_echo "$as_me:$LINENO: result: no" >&5 |
8809 | $as_echo "no" >&6; } | |
a3097628 | 8810 | fi |
2d6d4e96 | 8811 | |
a3097628 AJ |
8812 | if test "x$ac_ct_MINGWAR" = x; then |
8813 | MINGWAR="false" | |
8814 | else | |
8815 | case $cross_compiling:$ac_tool_warned in | |
8816 | yes:) | |
abf5048b AJ |
8817 | { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5 |
8818 | $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} | |
a3097628 | 8819 | ac_tool_warned=yes ;; |
0ebeb530 | 8820 | esac |
a3097628 AJ |
8821 | MINGWAR=$ac_ct_MINGWAR |
8822 | fi | |
8823 | else | |
8824 | MINGWAR="$ac_cv_prog_MINGWAR" | |
8825 | fi | |
2d6d4e96 | 8826 | |
a3097628 AJ |
8827 | if test "$DLLWRAP" = "false"; then |
8828 | LIBEXT="a" | |
8829 | else | |
8830 | LIBEXT="dll" | |
8831 | fi | |
8832 | IMPLIBEXT="a" | |
8833 | WIN16_FILES="" | |
8834 | WIN16_INSTALL="" | |
ec1ebfb1 AJ |
8835 | enable_iphlpapi=${enable_iphlpapi:-no} |
8836 | enable_kernel32=${enable_kernel32:-no} | |
8837 | enable_msvcrt=${enable_msvcrt:-no} | |
8838 | enable_ntdll=${enable_ntdll:-no} | |
8839 | enable_ws2_32=${enable_ws2_32:-no} | |
8840 | enable_loader=${enable_loader:-no} | |
8841 | enable_server=${enable_server:-no} | |
a3097628 AJ |
8842 | ;; |
8843 | darwin*|macosx*) | |
8844 | DLLEXT=".so" | |
8845 | LIBEXT="dylib" | |
8846 | DLLFLAGS="$DLLFLAGS -fPIC" | |
8847 | LDDLLFLAGS="-bundle -multiply_defined suppress" | |
8848 | LIBWINE_LDFLAGS="-multiply_defined suppress" | |
8849 | LDSHARED="\$(CC) -dynamiclib" | |
8850 | STRIP="$STRIP -x" | |
8851 | LDRPATH_LOCAL="&& install_name_tool -change @executable_path/\`\$(RELPATH) \$(bindir) \$(libdir)\`/libwine.1.dylib @executable_path/\$(TOPOBJDIR)/libs/wine/libwine.1.dylib \$@ || \$(RM) \$@" | |
312a1db3 RS |
8852 | SECURITYLIB="-framework Security -framework CoreFoundation" |
8853 | ||
8854 | COREFOUNDATIONLIB="-framework CoreFoundation" | |
2d6d4e96 | 8855 | |
a3097628 | 8856 | IOKITLIB="-framework IOKit -framework CoreFoundation" |
e24bcc77 | 8857 | |
a3097628 | 8858 | LDEXECFLAGS="-image_base 0x7bf00000 -Wl,-segaddr,WINE_DOS,0x00000000,-segaddr,WINE_SHARED_HEAP,0x7f000000" |
fc6ffb29 | 8859 | |
a3097628 AJ |
8860 | if test "$ac_cv_header_DiskArbitration_DiskArbitration_h" = "yes" |
8861 | then | |
8862 | DISKARBITRATIONLIB="-framework DiskArbitration -framework CoreFoundation" | |
fc6ffb29 | 8863 | |
a3097628 AJ |
8864 | fi |
8865 | if test "$ac_cv_header_CoreAudio_CoreAudio_h" = "yes" -a "$ac_cv_header_AudioUnit_AudioUnit_h" = "yes" | |
8866 | then | |
8867 | COREAUDIO="-framework CoreAudio -framework AudioUnit -framework CoreServices -framework AudioToolbox -framework CoreMIDI" | |
b63ab445 | 8868 | |
a3097628 AJ |
8869 | fi |
8870 | case $host_cpu in | |
8871 | *powerpc*) | |
8872 | LDDLLFLAGS="$LDDLLFLAGS -read_only_relocs warning" ;; | |
8873 | esac | |
8874 | if test "$ac_cv_header_Carbon_Carbon_h" = "yes" | |
8875 | then | |
8876 | CARBONLIB="-framework Carbon" | |
8877 | ||
dbb535e4 | 8878 | enable_winequartz_drv=${enable_winequartz_drv:-yes} |
a3097628 AJ |
8879 | fi |
8880 | ;; | |
8881 | *) | |
8882 | DLLFLAGS="$DLLFLAGS -fPIC" | |
8883 | DLLEXT=".so" | |
abf5048b AJ |
8884 | { $as_echo "$as_me:$LINENO: checking whether we can build a GNU style ELF dll" >&5 |
8885 | $as_echo_n "checking whether we can build a GNU style ELF dll... " >&6; } | |
a3097628 | 8886 | if test "${ac_cv_c_dll_gnuelf+set}" = set; then |
abf5048b | 8887 | $as_echo_n "(cached) " >&6 |
ef799c46 | 8888 | else |
a3097628 AJ |
8889 | ac_wine_try_cflags_saved=$CFLAGS |
8890 | CFLAGS="$CFLAGS -fPIC -shared -Wl,-Bsymbolic" | |
ef799c46 | 8891 | cat >conftest.$ac_ext <<_ACEOF |
a3097628 | 8892 | void myfunc() {} |
ef799c46 JC |
8893 | _ACEOF |
8894 | rm -f conftest.$ac_objext conftest$ac_exeext | |
0ebeb530 JW |
8895 | if { (ac_try="$ac_link" |
8896 | case "(($ac_try" in | |
8897 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
8898 | *) ac_try_echo=$ac_try;; | |
8899 | esac | |
abf5048b AJ |
8900 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
8901 | $as_echo "$ac_try_echo") >&5 | |
0ebeb530 | 8902 | (eval "$ac_link") 2>conftest.er1 |
ef799c46 | 8903 | ac_status=$? |
875927f6 AJ |
8904 | grep -v '^ *+' conftest.er1 >conftest.err |
8905 | rm -f conftest.er1 | |
8906 | cat conftest.err >&5 | |
abf5048b | 8907 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
dc9f3843 AJ |
8908 | (exit $ac_status); } && { |
8909 | test -z "$ac_c_werror_flag" || | |
8910 | test ! -s conftest.err | |
abf5048b AJ |
8911 | } && test -s conftest$ac_exeext && { |
8912 | test "$cross_compiling" = yes || | |
8913 | $as_test_x conftest$ac_exeext | |
8914 | }; then | |
a3097628 | 8915 | ac_cv_c_dll_gnuelf="yes" |
ef799c46 | 8916 | else |
abf5048b | 8917 | $as_echo "$as_me: failed program was:" >&5 |
ef799c46 JC |
8918 | sed 's/^/| /' conftest.$ac_ext >&5 |
8919 | ||
a3097628 | 8920 | ac_cv_c_dll_gnuelf="no" |
ef799c46 | 8921 | fi |
fc6ffb29 | 8922 | |
abf5048b | 8923 | rm -rf conftest.dSYM |
f0ca586f | 8924 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ |
875927f6 | 8925 | conftest$ac_exeext conftest.$ac_ext |
a3097628 | 8926 | CFLAGS=$ac_wine_try_cflags_saved |
ef799c46 | 8927 | fi |
abf5048b AJ |
8928 | { $as_echo "$as_me:$LINENO: result: $ac_cv_c_dll_gnuelf" >&5 |
8929 | $as_echo "$ac_cv_c_dll_gnuelf" >&6; } | |
a3097628 AJ |
8930 | if test "$ac_cv_c_dll_gnuelf" = "yes" |
8931 | then | |
8932 | LDSHARED="\$(CC) -shared" | |
8933 | LDDLLFLAGS="-shared -Wl,-Bsymbolic" | |
abf5048b AJ |
8934 | { $as_echo "$as_me:$LINENO: checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1" >&5 |
8935 | $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1... " >&6; } | |
a3097628 | 8936 | if test "${ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1+set}" = set; then |
abf5048b | 8937 | $as_echo_n "(cached) " >&6 |
a3097628 AJ |
8938 | else |
8939 | ac_wine_try_cflags_saved=$CFLAGS | |
8940 | CFLAGS="$CFLAGS -fPIC -shared -Wl,-soname,confest.so.1" | |
8941 | cat >conftest.$ac_ext <<_ACEOF | |
7d00b050 AJ |
8942 | /* confdefs.h. */ |
8943 | _ACEOF | |
8944 | cat confdefs.h >>conftest.$ac_ext | |
8945 | cat >>conftest.$ac_ext <<_ACEOF | |
8946 | /* end confdefs.h. */ | |
a3097628 | 8947 | |
7d00b050 AJ |
8948 | int |
8949 | main () | |
8950 | { | |
a3097628 | 8951 | |
7d00b050 AJ |
8952 | ; |
8953 | return 0; | |
8954 | } | |
8955 | _ACEOF | |
a3097628 AJ |
8956 | rm -f conftest.$ac_objext conftest$ac_exeext |
8957 | if { (ac_try="$ac_link" | |
7d00b050 AJ |
8958 | case "(($ac_try" in |
8959 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
8960 | *) ac_try_echo=$ac_try;; | |
8961 | esac | |
abf5048b AJ |
8962 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
8963 | $as_echo "$ac_try_echo") >&5 | |
a3097628 | 8964 | (eval "$ac_link") 2>conftest.er1 |
7d00b050 AJ |
8965 | ac_status=$? |
8966 | grep -v '^ *+' conftest.er1 >conftest.err | |
8967 | rm -f conftest.er1 | |
8968 | cat conftest.err >&5 | |
abf5048b | 8969 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
dc9f3843 AJ |
8970 | (exit $ac_status); } && { |
8971 | test -z "$ac_c_werror_flag" || | |
8972 | test ! -s conftest.err | |
abf5048b AJ |
8973 | } && test -s conftest$ac_exeext && { |
8974 | test "$cross_compiling" = yes || | |
8975 | $as_test_x conftest$ac_exeext | |
8976 | }; then | |
a3097628 | 8977 | ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1=yes |
7d00b050 | 8978 | else |
abf5048b | 8979 | $as_echo "$as_me: failed program was:" >&5 |
7d00b050 AJ |
8980 | sed 's/^/| /' conftest.$ac_ext >&5 |
8981 | ||
a3097628 | 8982 | ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1=no |
7d00b050 AJ |
8983 | fi |
8984 | ||
abf5048b | 8985 | rm -rf conftest.dSYM |
a3097628 AJ |
8986 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ |
8987 | conftest$ac_exeext conftest.$ac_ext | |
8988 | CFLAGS=$ac_wine_try_cflags_saved | |
8989 | fi | |
abf5048b AJ |
8990 | { $as_echo "$as_me:$LINENO: result: $ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" >&5 |
8991 | $as_echo "$ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" >&6; } | |
a3097628 AJ |
8992 | if test $ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1 = yes; then |
8993 | LDSHARED="\$(CC) -shared \$(SONAME:%=-Wl,-soname,%)" | |
8994 | else | |
abf5048b AJ |
8995 | { $as_echo "$as_me:$LINENO: checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1" >&5 |
8996 | $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1... " >&6; } | |
a3097628 | 8997 | if test "${ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1+set}" = set; then |
abf5048b | 8998 | $as_echo_n "(cached) " >&6 |
6f670b13 | 8999 | else |
a3097628 AJ |
9000 | ac_wine_try_cflags_saved=$CFLAGS |
9001 | CFLAGS="$CFLAGS -fPIC -shared -Wl,-h,confest.so.1" | |
9002 | cat >conftest.$ac_ext <<_ACEOF | |
e24bcc77 AJ |
9003 | /* confdefs.h. */ |
9004 | _ACEOF | |
9005 | cat confdefs.h >>conftest.$ac_ext | |
9006 | cat >>conftest.$ac_ext <<_ACEOF | |
9007 | /* end confdefs.h. */ | |
2d6d4e96 | 9008 | |
a3097628 AJ |
9009 | int |
9010 | main () | |
9011 | { | |
9012 | ||
9013 | ; | |
9014 | return 0; | |
9015 | } | |
6f670b13 | 9016 | _ACEOF |
a3097628 AJ |
9017 | rm -f conftest.$ac_objext conftest$ac_exeext |
9018 | if { (ac_try="$ac_link" | |
0ebeb530 JW |
9019 | case "(($ac_try" in |
9020 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
9021 | *) ac_try_echo=$ac_try;; | |
9022 | esac | |
abf5048b AJ |
9023 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
9024 | $as_echo "$ac_try_echo") >&5 | |
a3097628 | 9025 | (eval "$ac_link") 2>conftest.er1 |
6f670b13 | 9026 | ac_status=$? |
875927f6 AJ |
9027 | grep -v '^ *+' conftest.er1 >conftest.err |
9028 | rm -f conftest.er1 | |
9029 | cat conftest.err >&5 | |
abf5048b | 9030 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
dc9f3843 AJ |
9031 | (exit $ac_status); } && { |
9032 | test -z "$ac_c_werror_flag" || | |
9033 | test ! -s conftest.err | |
abf5048b AJ |
9034 | } && test -s conftest$ac_exeext && { |
9035 | test "$cross_compiling" = yes || | |
9036 | $as_test_x conftest$ac_exeext | |
9037 | }; then | |
a3097628 | 9038 | ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1=yes |
6f670b13 | 9039 | else |
abf5048b | 9040 | $as_echo "$as_me: failed program was:" >&5 |
e24bcc77 AJ |
9041 | sed 's/^/| /' conftest.$ac_ext >&5 |
9042 | ||
a3097628 | 9043 | ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1=no |
6f670b13 | 9044 | fi |
fc6ffb29 | 9045 | |
abf5048b | 9046 | rm -rf conftest.dSYM |
a3097628 AJ |
9047 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ |
9048 | conftest$ac_exeext conftest.$ac_ext | |
9049 | CFLAGS=$ac_wine_try_cflags_saved | |
9050 | fi | |
abf5048b AJ |
9051 | { $as_echo "$as_me:$LINENO: result: $ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&5 |
9052 | $as_echo "$ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&6; } | |
a3097628 AJ |
9053 | if test $ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1 = yes; then |
9054 | LDSHARED="\$(CC) -shared \$(SONAME:%=-Wl,-h,%)" | |
6f670b13 | 9055 | fi |
6f670b13 | 9056 | |
2d6d4e96 HL |
9057 | fi |
9058 | ||
2d6d4e96 | 9059 | |
abf5048b AJ |
9060 | { $as_echo "$as_me:$LINENO: checking whether the compiler supports -fPIC -shared -Wl,-Bsymbolic,-z,defs" >&5 |
9061 | $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,-Bsymbolic,-z,defs... " >&6; } | |
a3097628 | 9062 | if test "${ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs+set}" = set; then |
abf5048b | 9063 | $as_echo_n "(cached) " >&6 |
6f670b13 | 9064 | else |
a3097628 AJ |
9065 | ac_wine_try_cflags_saved=$CFLAGS |
9066 | CFLAGS="$CFLAGS -fPIC -shared -Wl,-Bsymbolic,-z,defs" | |
9067 | cat >conftest.$ac_ext <<_ACEOF | |
e24bcc77 AJ |
9068 | /* confdefs.h. */ |
9069 | _ACEOF | |
9070 | cat confdefs.h >>conftest.$ac_ext | |
9071 | cat >>conftest.$ac_ext <<_ACEOF | |
9072 | /* end confdefs.h. */ | |
a3097628 | 9073 | |
2d6d4e96 HL |
9074 | int |
9075 | main () | |
9076 | { | |
a3097628 | 9077 | |
2d6d4e96 HL |
9078 | ; |
9079 | return 0; | |
9080 | } | |
6f670b13 | 9081 | _ACEOF |
a3097628 AJ |
9082 | rm -f conftest.$ac_objext conftest$ac_exeext |
9083 | if { (ac_try="$ac_link" | |
0ebeb530 JW |
9084 | case "(($ac_try" in |
9085 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
9086 | *) ac_try_echo=$ac_try;; | |
9087 | esac | |
abf5048b AJ |
9088 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
9089 | $as_echo "$ac_try_echo") >&5 | |
a3097628 | 9090 | (eval "$ac_link") 2>conftest.er1 |
6f670b13 | 9091 | ac_status=$? |
875927f6 AJ |
9092 | grep -v '^ *+' conftest.er1 >conftest.err |
9093 | rm -f conftest.er1 | |
9094 | cat conftest.err >&5 | |
abf5048b | 9095 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
dc9f3843 AJ |
9096 | (exit $ac_status); } && { |
9097 | test -z "$ac_c_werror_flag" || | |
9098 | test ! -s conftest.err | |
abf5048b AJ |
9099 | } && test -s conftest$ac_exeext && { |
9100 | test "$cross_compiling" = yes || | |
9101 | $as_test_x conftest$ac_exeext | |
9102 | }; then | |
a3097628 | 9103 | ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs=yes |
6f670b13 | 9104 | else |
abf5048b | 9105 | $as_echo "$as_me: failed program was:" >&5 |
e24bcc77 AJ |
9106 | sed 's/^/| /' conftest.$ac_ext >&5 |
9107 | ||
a3097628 | 9108 | ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs=no |
6f670b13 | 9109 | fi |
fc6ffb29 | 9110 | |
abf5048b | 9111 | rm -rf conftest.dSYM |
a3097628 AJ |
9112 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ |
9113 | conftest$ac_exeext conftest.$ac_ext | |
9114 | CFLAGS=$ac_wine_try_cflags_saved | |
9115 | fi | |
abf5048b AJ |
9116 | { $as_echo "$as_me:$LINENO: result: $ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs" >&5 |
9117 | $as_echo "$ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs" >&6; } | |
a3097628 AJ |
9118 | if test $ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs = yes; then |
9119 | LDDLLFLAGS="$LDDLLFLAGS,-z,defs" | |
6f670b13 FG |
9120 | fi |
9121 | ||
a3097628 | 9122 | |
abf5048b AJ |
9123 | { $as_echo "$as_me:$LINENO: checking whether the compiler supports -fPIC -shared -Wl,-Bsymbolic,-init,__wine_spec_init,-fini,__wine_spec_fini" >&5 |
9124 | $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,-Bsymbolic,-init,__wine_spec_init,-fini,__wine_spec_fini... " >&6; } | |
a3097628 | 9125 | if test "${ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini+set}" = set; then |
abf5048b | 9126 | $as_echo_n "(cached) " >&6 |
6f670b13 | 9127 | else |
a3097628 AJ |
9128 | ac_wine_try_cflags_saved=$CFLAGS |
9129 | CFLAGS="$CFLAGS -fPIC -shared -Wl,-Bsymbolic,-init,__wine_spec_init,-fini,__wine_spec_fini" | |
6f670b13 | 9130 | cat >conftest.$ac_ext <<_ACEOF |
e24bcc77 AJ |
9131 | /* confdefs.h. */ |
9132 | _ACEOF | |
9133 | cat confdefs.h >>conftest.$ac_ext | |
9134 | cat >>conftest.$ac_ext <<_ACEOF | |
9135 | /* end confdefs.h. */ | |
6f670b13 | 9136 | |
6f670b13 FG |
9137 | int |
9138 | main () | |
9139 | { | |
a3097628 | 9140 | |
6f670b13 FG |
9141 | ; |
9142 | return 0; | |
9143 | } | |
9144 | _ACEOF | |
9145 | rm -f conftest.$ac_objext conftest$ac_exeext | |
0ebeb530 JW |
9146 | if { (ac_try="$ac_link" |
9147 | case "(($ac_try" in | |
9148 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
9149 | *) ac_try_echo=$ac_try;; | |
9150 | esac | |
abf5048b AJ |
9151 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
9152 | $as_echo "$ac_try_echo") >&5 | |
0ebeb530 | 9153 | (eval "$ac_link") 2>conftest.er1 |
6f670b13 | 9154 | ac_status=$? |
875927f6 AJ |
9155 | grep -v '^ *+' conftest.er1 >conftest.err |
9156 | rm -f conftest.er1 | |
9157 | cat conftest.err >&5 | |
abf5048b | 9158 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
dc9f3843 AJ |
9159 | (exit $ac_status); } && { |
9160 | test -z "$ac_c_werror_flag" || | |
9161 | test ! -s conftest.err | |
abf5048b AJ |
9162 | } && test -s conftest$ac_exeext && { |
9163 | test "$cross_compiling" = yes || | |
9164 | $as_test_x conftest$ac_exeext | |
9165 | }; then | |
a3097628 | 9166 | ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini=yes |
6f670b13 | 9167 | else |
abf5048b | 9168 | $as_echo "$as_me: failed program was:" >&5 |
e24bcc77 AJ |
9169 | sed 's/^/| /' conftest.$ac_ext >&5 |
9170 | ||
a3097628 | 9171 | ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini=no |
6f670b13 | 9172 | fi |
fc6ffb29 | 9173 | |
abf5048b | 9174 | rm -rf conftest.dSYM |
f0ca586f | 9175 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ |
875927f6 | 9176 | conftest$ac_exeext conftest.$ac_ext |
a3097628 | 9177 | CFLAGS=$ac_wine_try_cflags_saved |
6f670b13 | 9178 | fi |
abf5048b AJ |
9179 | { $as_echo "$as_me:$LINENO: result: $ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini" >&5 |
9180 | $as_echo "$ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini" >&6; } | |
a3097628 AJ |
9181 | if test $ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini = yes; then |
9182 | LDDLLFLAGS="$LDDLLFLAGS,-init,__wine_spec_init,-fini,__wine_spec_fini" | |
c84c4784 AJ |
9183 | fi |
9184 | ||
dcc2d6c2 | 9185 | |
a3097628 | 9186 | echo '{ global: *; };' >conftest.map |
abf5048b AJ |
9187 | { $as_echo "$as_me:$LINENO: checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map" >&5 |
9188 | $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map... " >&6; } | |
a3097628 | 9189 | if test "${ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map+set}" = set; then |
abf5048b | 9190 | $as_echo_n "(cached) " >&6 |
dcc2d6c2 | 9191 | else |
a3097628 AJ |
9192 | ac_wine_try_cflags_saved=$CFLAGS |
9193 | CFLAGS="$CFLAGS -fPIC -shared -Wl,--version-script=conftest.map" | |
dcc2d6c2 MM |
9194 | cat >conftest.$ac_ext <<_ACEOF |
9195 | /* confdefs.h. */ | |
9196 | _ACEOF | |
9197 | cat confdefs.h >>conftest.$ac_ext | |
9198 | cat >>conftest.$ac_ext <<_ACEOF | |
9199 | /* end confdefs.h. */ | |
2d6d4e96 | 9200 | |
2d6d4e96 HL |
9201 | int |
9202 | main () | |
9203 | { | |
a3097628 | 9204 | |
2d6d4e96 HL |
9205 | ; |
9206 | return 0; | |
9207 | } | |
9208 | _ACEOF | |
9209 | rm -f conftest.$ac_objext conftest$ac_exeext | |
0ebeb530 JW |
9210 | if { (ac_try="$ac_link" |
9211 | case "(($ac_try" in | |
9212 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
9213 | *) ac_try_echo=$ac_try;; | |
9214 | esac | |
abf5048b AJ |
9215 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
9216 | $as_echo "$ac_try_echo") >&5 | |
0ebeb530 | 9217 | (eval "$ac_link") 2>conftest.er1 |
2d6d4e96 HL |
9218 | ac_status=$? |
9219 | grep -v '^ *+' conftest.er1 >conftest.err | |
9220 | rm -f conftest.er1 | |
9221 | cat conftest.err >&5 | |
abf5048b | 9222 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
dc9f3843 AJ |
9223 | (exit $ac_status); } && { |
9224 | test -z "$ac_c_werror_flag" || | |
9225 | test ! -s conftest.err | |
abf5048b AJ |
9226 | } && test -s conftest$ac_exeext && { |
9227 | test "$cross_compiling" = yes || | |
9228 | $as_test_x conftest$ac_exeext | |
9229 | }; then | |
a3097628 | 9230 | ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map=yes |
2d6d4e96 | 9231 | else |
abf5048b | 9232 | $as_echo "$as_me: failed program was:" >&5 |
2d6d4e96 HL |
9233 | sed 's/^/| /' conftest.$ac_ext >&5 |
9234 | ||
a3097628 | 9235 | ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map=no |
2d6d4e96 | 9236 | fi |
fc6ffb29 | 9237 | |
abf5048b | 9238 | rm -rf conftest.dSYM |
f0ca586f | 9239 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ |
2d6d4e96 | 9240 | conftest$ac_exeext conftest.$ac_ext |
a3097628 | 9241 | CFLAGS=$ac_wine_try_cflags_saved |
2d6d4e96 | 9242 | fi |
abf5048b AJ |
9243 | { $as_echo "$as_me:$LINENO: result: $ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" >&5 |
9244 | $as_echo "$ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" >&6; } | |
a3097628 AJ |
9245 | if test $ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map = yes; then |
9246 | LDSHARED="$LDSHARED \$(VERSCRIPT:%=-Wl,--version-script=%)" | |
2d6d4e96 HL |
9247 | fi |
9248 | ||
a3097628 | 9249 | rm -f conftest.map |
2d6d4e96 | 9250 | |
abf5048b AJ |
9251 | { $as_echo "$as_me:$LINENO: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5 |
9252 | $as_echo_n "checking whether the compiler supports -fPIC -Wl,--export-dynamic... " >&6; } | |
a3097628 | 9253 | if test "${ac_cv_cflags__fPIC__Wl___export_dynamic+set}" = set; then |
abf5048b | 9254 | $as_echo_n "(cached) " >&6 |
2d6d4e96 | 9255 | else |
a3097628 AJ |
9256 | ac_wine_try_cflags_saved=$CFLAGS |
9257 | CFLAGS="$CFLAGS -fPIC -Wl,--export-dynamic" | |
2d6d4e96 HL |
9258 | cat >conftest.$ac_ext <<_ACEOF |
9259 | /* confdefs.h. */ | |
9260 | _ACEOF | |
9261 | cat confdefs.h >>conftest.$ac_ext | |
9262 | cat >>conftest.$ac_ext <<_ACEOF | |
9263 | /* end confdefs.h. */ | |
a3097628 AJ |
9264 | |
9265 | int | |
9266 | main () | |
9267 | { | |
9268 | ||
9269 | ; | |
9270 | return 0; | |
9271 | } | |
2d6d4e96 | 9272 | _ACEOF |
a3097628 AJ |
9273 | rm -f conftest.$ac_objext conftest$ac_exeext |
9274 | if { (ac_try="$ac_link" | |
0ebeb530 JW |
9275 | case "(($ac_try" in |
9276 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
9277 | *) ac_try_echo=$ac_try;; | |
9278 | esac | |
abf5048b AJ |
9279 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
9280 | $as_echo "$ac_try_echo") >&5 | |
a3097628 | 9281 | (eval "$ac_link") 2>conftest.er1 |
2d6d4e96 HL |
9282 | ac_status=$? |
9283 | grep -v '^ *+' conftest.er1 >conftest.err | |
9284 | rm -f conftest.er1 | |
9285 | cat conftest.err >&5 | |
abf5048b | 9286 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
dc9f3843 AJ |
9287 | (exit $ac_status); } && { |
9288 | test -z "$ac_c_werror_flag" || | |
9289 | test ! -s conftest.err | |
abf5048b AJ |
9290 | } && test -s conftest$ac_exeext && { |
9291 | test "$cross_compiling" = yes || | |
9292 | $as_test_x conftest$ac_exeext | |
9293 | }; then | |
a3097628 | 9294 | ac_cv_cflags__fPIC__Wl___export_dynamic=yes |
dcc2d6c2 | 9295 | else |
abf5048b | 9296 | $as_echo "$as_me: failed program was:" >&5 |
dcc2d6c2 MM |
9297 | sed 's/^/| /' conftest.$ac_ext >&5 |
9298 | ||
a3097628 AJ |
9299 | ac_cv_cflags__fPIC__Wl___export_dynamic=no |
9300 | fi | |
9301 | ||
abf5048b | 9302 | rm -rf conftest.dSYM |
a3097628 AJ |
9303 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ |
9304 | conftest$ac_exeext conftest.$ac_ext | |
9305 | CFLAGS=$ac_wine_try_cflags_saved | |
9306 | fi | |
abf5048b AJ |
9307 | { $as_echo "$as_me:$LINENO: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5 |
9308 | $as_echo "$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; } | |
a3097628 AJ |
9309 | if test $ac_cv_cflags__fPIC__Wl___export_dynamic = yes; then |
9310 | LDEXECFLAGS="-Wl,--export-dynamic" | |
9311 | ||
dcc2d6c2 | 9312 | fi |
fc6ffb29 | 9313 | |
dcc2d6c2 | 9314 | |
abf5048b AJ |
9315 | as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,--rpath,\$ORIGIN/../lib" | $as_tr_sh` |
9316 | { $as_echo "$as_me:$LINENO: checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib" >&5 | |
9317 | $as_echo_n "checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib... " >&6; } | |
a3097628 | 9318 | if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then |
abf5048b | 9319 | $as_echo_n "(cached) " >&6 |
a3097628 AJ |
9320 | else |
9321 | ac_wine_try_cflags_saved=$CFLAGS | |
9322 | CFLAGS="$CFLAGS -fPIC -Wl,--rpath,\$ORIGIN/../lib" | |
dcc2d6c2 MM |
9323 | cat >conftest.$ac_ext <<_ACEOF |
9324 | /* confdefs.h. */ | |
9325 | _ACEOF | |
9326 | cat confdefs.h >>conftest.$ac_ext | |
9327 | cat >>conftest.$ac_ext <<_ACEOF | |
9328 | /* end confdefs.h. */ | |
a3097628 AJ |
9329 | |
9330 | int | |
9331 | main () | |
9332 | { | |
9333 | ||
9334 | ; | |
9335 | return 0; | |
9336 | } | |
dcc2d6c2 | 9337 | _ACEOF |
a3097628 AJ |
9338 | rm -f conftest.$ac_objext conftest$ac_exeext |
9339 | if { (ac_try="$ac_link" | |
0ebeb530 JW |
9340 | case "(($ac_try" in |
9341 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
9342 | *) ac_try_echo=$ac_try;; | |
9343 | esac | |
abf5048b AJ |
9344 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
9345 | $as_echo "$ac_try_echo") >&5 | |
a3097628 | 9346 | (eval "$ac_link") 2>conftest.er1 |
dcc2d6c2 MM |
9347 | ac_status=$? |
9348 | grep -v '^ *+' conftest.er1 >conftest.err | |
9349 | rm -f conftest.er1 | |
9350 | cat conftest.err >&5 | |
abf5048b | 9351 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
a3097628 AJ |
9352 | (exit $ac_status); } && { |
9353 | test -z "$ac_c_werror_flag" || | |
dc9f3843 | 9354 | test ! -s conftest.err |
abf5048b AJ |
9355 | } && test -s conftest$ac_exeext && { |
9356 | test "$cross_compiling" = yes || | |
9357 | $as_test_x conftest$ac_exeext | |
9358 | }; then | |
a3097628 | 9359 | eval "$as_ac_var=yes" |
dcc2d6c2 | 9360 | else |
abf5048b | 9361 | $as_echo "$as_me: failed program was:" >&5 |
dcc2d6c2 MM |
9362 | sed 's/^/| /' conftest.$ac_ext >&5 |
9363 | ||
a3097628 | 9364 | eval "$as_ac_var=no" |
dcc2d6c2 | 9365 | fi |
fc6ffb29 | 9366 | |
abf5048b | 9367 | rm -rf conftest.dSYM |
a3097628 AJ |
9368 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ |
9369 | conftest$ac_exeext conftest.$ac_ext | |
9370 | CFLAGS=$ac_wine_try_cflags_saved | |
dcc2d6c2 | 9371 | fi |
abf5048b AJ |
9372 | ac_res=`eval 'as_val=${'$as_ac_var'} |
9373 | $as_echo "$as_val"'` | |
9374 | { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 | |
9375 | $as_echo "$ac_res" >&6; } | |
9376 | if test `eval 'as_val=${'$as_ac_var'} | |
9377 | $as_echo "$as_val"'` = yes; then | |
a3097628 AJ |
9378 | LDRPATH_INSTALL="-Wl,--rpath,\\\$\$ORIGIN/\`\$(RELPATH) \$(bindir) \$(libdir)\`" |
9379 | LDRPATH_LOCAL="-Wl,--rpath,\\\$\$ORIGIN/\$(TOPOBJDIR)/libs/wine" | |
9380 | else | |
abf5048b AJ |
9381 | as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,-R,\$ORIGIN/../lib" | $as_tr_sh` |
9382 | { $as_echo "$as_me:$LINENO: checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib" >&5 | |
9383 | $as_echo_n "checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib... " >&6; } | |
a3097628 | 9384 | if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then |
abf5048b | 9385 | $as_echo_n "(cached) " >&6 |
dcc2d6c2 | 9386 | else |
a3097628 AJ |
9387 | ac_wine_try_cflags_saved=$CFLAGS |
9388 | CFLAGS="$CFLAGS -fPIC -Wl,-R,\$ORIGIN/../lib" | |
9389 | cat >conftest.$ac_ext <<_ACEOF | |
dcc2d6c2 MM |
9390 | /* confdefs.h. */ |
9391 | _ACEOF | |
9392 | cat confdefs.h >>conftest.$ac_ext | |
9393 | cat >>conftest.$ac_ext <<_ACEOF | |
9394 | /* end confdefs.h. */ | |
9395 | ||
a3097628 AJ |
9396 | int |
9397 | main () | |
9398 | { | |
9399 | ||
9400 | ; | |
9401 | return 0; | |
9402 | } | |
dcc2d6c2 | 9403 | _ACEOF |
a3097628 AJ |
9404 | rm -f conftest.$ac_objext conftest$ac_exeext |
9405 | if { (ac_try="$ac_link" | |
0ebeb530 JW |
9406 | case "(($ac_try" in |
9407 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
9408 | *) ac_try_echo=$ac_try;; | |
9409 | esac | |
abf5048b AJ |
9410 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
9411 | $as_echo "$ac_try_echo") >&5 | |
a3097628 | 9412 | (eval "$ac_link") 2>conftest.er1 |
dcc2d6c2 MM |
9413 | ac_status=$? |
9414 | grep -v '^ *+' conftest.er1 >conftest.err | |
9415 | rm -f conftest.er1 | |
9416 | cat conftest.err >&5 | |
abf5048b | 9417 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
dc9f3843 AJ |
9418 | (exit $ac_status); } && { |
9419 | test -z "$ac_c_werror_flag" || | |
9420 | test ! -s conftest.err | |
abf5048b AJ |
9421 | } && test -s conftest$ac_exeext && { |
9422 | test "$cross_compiling" = yes || | |
9423 | $as_test_x conftest$ac_exeext | |
9424 | }; then | |
a3097628 | 9425 | eval "$as_ac_var=yes" |
dcc2d6c2 | 9426 | else |
abf5048b | 9427 | $as_echo "$as_me: failed program was:" >&5 |
dcc2d6c2 MM |
9428 | sed 's/^/| /' conftest.$ac_ext >&5 |
9429 | ||
a3097628 | 9430 | eval "$as_ac_var=no" |
dcc2d6c2 | 9431 | fi |
fc6ffb29 | 9432 | |
abf5048b | 9433 | rm -rf conftest.dSYM |
a3097628 AJ |
9434 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ |
9435 | conftest$ac_exeext conftest.$ac_ext | |
9436 | CFLAGS=$ac_wine_try_cflags_saved | |
dcc2d6c2 | 9437 | fi |
abf5048b AJ |
9438 | ac_res=`eval 'as_val=${'$as_ac_var'} |
9439 | $as_echo "$as_val"'` | |
9440 | { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 | |
9441 | $as_echo "$ac_res" >&6; } | |
9442 | if test `eval 'as_val=${'$as_ac_var'} | |
9443 | $as_echo "$as_val"'` = yes; then | |
a3097628 AJ |
9444 | LDRPATH_INSTALL="-Wl,-R,\\\$\$ORIGIN/\`\$(RELPATH) \$(bindir) \$(libdir)\`" |
9445 | LDRPATH_LOCAL="-Wl,-R,\\\$\$ORIGIN/\$(TOPOBJDIR)/libs/wine" | |
9446 | fi | |
dcc2d6c2 | 9447 | |
dcc2d6c2 MM |
9448 | fi |
9449 | ||
2d6d4e96 | 9450 | |
abf5048b AJ |
9451 | { $as_echo "$as_me:$LINENO: checking whether the compiler supports -Wl,--enable-new-dtags" >&5 |
9452 | $as_echo_n "checking whether the compiler supports -Wl,--enable-new-dtags... " >&6; } | |
f4077ae5 | 9453 | if test "${ac_cv_cflags__Wl___enable_new_dtags+set}" = set; then |
abf5048b | 9454 | $as_echo_n "(cached) " >&6 |
f4077ae5 TC |
9455 | else |
9456 | ac_wine_try_cflags_saved=$CFLAGS | |
9457 | CFLAGS="$CFLAGS -Wl,--enable-new-dtags" | |
9458 | cat >conftest.$ac_ext <<_ACEOF | |
9459 | /* confdefs.h. */ | |
9460 | _ACEOF | |
9461 | cat confdefs.h >>conftest.$ac_ext | |
9462 | cat >>conftest.$ac_ext <<_ACEOF | |
9463 | /* end confdefs.h. */ | |
9464 | ||
9465 | int | |
9466 | main () | |
9467 | { | |
9468 | ||
9469 | ; | |
9470 | return 0; | |
9471 | } | |
9472 | _ACEOF | |
9473 | rm -f conftest.$ac_objext conftest$ac_exeext | |
9474 | if { (ac_try="$ac_link" | |
9475 | case "(($ac_try" in | |
9476 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
9477 | *) ac_try_echo=$ac_try;; | |
9478 | esac | |
abf5048b AJ |
9479 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
9480 | $as_echo "$ac_try_echo") >&5 | |
f4077ae5 TC |
9481 | (eval "$ac_link") 2>conftest.er1 |
9482 | ac_status=$? | |
9483 | grep -v '^ *+' conftest.er1 >conftest.err | |
9484 | rm -f conftest.er1 | |
9485 | cat conftest.err >&5 | |
abf5048b | 9486 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
f4077ae5 TC |
9487 | (exit $ac_status); } && { |
9488 | test -z "$ac_c_werror_flag" || | |
9489 | test ! -s conftest.err | |
abf5048b AJ |
9490 | } && test -s conftest$ac_exeext && { |
9491 | test "$cross_compiling" = yes || | |
9492 | $as_test_x conftest$ac_exeext | |
9493 | }; then | |
f4077ae5 TC |
9494 | ac_cv_cflags__Wl___enable_new_dtags=yes |
9495 | else | |
abf5048b | 9496 | $as_echo "$as_me: failed program was:" >&5 |
f4077ae5 TC |
9497 | sed 's/^/| /' conftest.$ac_ext >&5 |
9498 | ||
9499 | ac_cv_cflags__Wl___enable_new_dtags=no | |
9500 | fi | |
9501 | ||
abf5048b | 9502 | rm -rf conftest.dSYM |
f4077ae5 TC |
9503 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ |
9504 | conftest$ac_exeext conftest.$ac_ext | |
9505 | CFLAGS=$ac_wine_try_cflags_saved | |
9506 | fi | |
abf5048b AJ |
9507 | { $as_echo "$as_me:$LINENO: result: $ac_cv_cflags__Wl___enable_new_dtags" >&5 |
9508 | $as_echo "$ac_cv_cflags__Wl___enable_new_dtags" >&6; } | |
f4077ae5 TC |
9509 | if test $ac_cv_cflags__Wl___enable_new_dtags = yes; then |
9510 | LDRPATH_INSTALL="$LDRPATH_INSTALL -Wl,--enable-new-dtags" | |
9511 | fi | |
9512 | ||
9513 | ||
a3097628 AJ |
9514 | case $host_cpu in |
9515 | *i[3456789]86* | x86_64) | |
abf5048b AJ |
9516 | { $as_echo "$as_me:$LINENO: checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400" >&5 |
9517 | $as_echo_n "checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400... " >&6; } | |
a3097628 | 9518 | if test "${ac_cv_cflags__Wl___section_start__interp_0x7bf00400+set}" = set; then |
abf5048b | 9519 | $as_echo_n "(cached) " >&6 |
70adb8f5 | 9520 | else |
a3097628 AJ |
9521 | ac_wine_try_cflags_saved=$CFLAGS |
9522 | CFLAGS="$CFLAGS -Wl,--section-start,.interp=0x7bf00400" | |
70adb8f5 MM |
9523 | cat >conftest.$ac_ext <<_ACEOF |
9524 | /* confdefs.h. */ | |
9525 | _ACEOF | |
9526 | cat confdefs.h >>conftest.$ac_ext | |
9527 | cat >>conftest.$ac_ext <<_ACEOF | |
9528 | /* end confdefs.h. */ | |
9529 | ||
70adb8f5 MM |
9530 | int |
9531 | main () | |
9532 | { | |
a3097628 | 9533 | |
70adb8f5 MM |
9534 | ; |
9535 | return 0; | |
9536 | } | |
9537 | _ACEOF | |
9538 | rm -f conftest.$ac_objext conftest$ac_exeext | |
0ebeb530 JW |
9539 | if { (ac_try="$ac_link" |
9540 | case "(($ac_try" in | |
9541 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
9542 | *) ac_try_echo=$ac_try;; | |
9543 | esac | |
abf5048b AJ |
9544 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
9545 | $as_echo "$ac_try_echo") >&5 | |
0ebeb530 | 9546 | (eval "$ac_link") 2>conftest.er1 |
70adb8f5 MM |
9547 | ac_status=$? |
9548 | grep -v '^ *+' conftest.er1 >conftest.err | |
9549 | rm -f conftest.er1 | |
9550 | cat conftest.err >&5 | |
abf5048b | 9551 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
dc9f3843 AJ |
9552 | (exit $ac_status); } && { |
9553 | test -z "$ac_c_werror_flag" || | |
9554 | test ! -s conftest.err | |
abf5048b AJ |
9555 | } && test -s conftest$ac_exeext && { |
9556 | test "$cross_compiling" = yes || | |
9557 | $as_test_x conftest$ac_exeext | |
9558 | }; then | |
a3097628 | 9559 | ac_cv_cflags__Wl___section_start__interp_0x7bf00400=yes |
70adb8f5 | 9560 | else |
abf5048b | 9561 | $as_echo "$as_me: failed program was:" >&5 |
70adb8f5 MM |
9562 | sed 's/^/| /' conftest.$ac_ext >&5 |
9563 | ||
a3097628 | 9564 | ac_cv_cflags__Wl___section_start__interp_0x7bf00400=no |
70adb8f5 | 9565 | fi |
fc6ffb29 | 9566 | |
abf5048b | 9567 | rm -rf conftest.dSYM |
f0ca586f | 9568 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ |
70adb8f5 | 9569 | conftest$ac_exeext conftest.$ac_ext |
a3097628 AJ |
9570 | CFLAGS=$ac_wine_try_cflags_saved |
9571 | fi | |
abf5048b AJ |
9572 | { $as_echo "$as_me:$LINENO: result: $ac_cv_cflags__Wl___section_start__interp_0x7bf00400" >&5 |
9573 | $as_echo "$ac_cv_cflags__Wl___section_start__interp_0x7bf00400" >&6; } | |
a3097628 AJ |
9574 | if test $ac_cv_cflags__Wl___section_start__interp_0x7bf00400 = yes; then |
9575 | LDEXECFLAGS="$LDEXECFLAGS -Wl,--section-start,.interp=0x7bf00400" | |
70adb8f5 | 9576 | fi |
70adb8f5 | 9577 | |
a3097628 AJ |
9578 | ;; |
9579 | esac | |
70adb8f5 | 9580 | |
a3097628 | 9581 | else |
abf5048b AJ |
9582 | { $as_echo "$as_me:$LINENO: checking whether we can build a UnixWare (Solaris) dll" >&5 |
9583 | $as_echo_n "checking whether we can build a UnixWare (Solaris) dll... " >&6; } | |
a3097628 | 9584 | if test "${ac_cv_c_dll_unixware+set}" = set; then |
abf5048b | 9585 | $as_echo_n "(cached) " >&6 |
575d8944 | 9586 | else |
a3097628 AJ |
9587 | ac_wine_try_cflags_saved=$CFLAGS |
9588 | CFLAGS="$CFLAGS -fPIC -Wl,-G,-h,conftest.so.1.0,-B,symbolic" | |
575d8944 | 9589 | cat >conftest.$ac_ext <<_ACEOF |
a3097628 | 9590 | void myfunc() {} |
575d8944 | 9591 | _ACEOF |
a3097628 AJ |
9592 | rm -f conftest.$ac_objext conftest$ac_exeext |
9593 | if { (ac_try="$ac_link" | |
9594 | case "(($ac_try" in | |
9595 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
9596 | *) ac_try_echo=$ac_try;; | |
9597 | esac | |
abf5048b AJ |
9598 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
9599 | $as_echo "$ac_try_echo") >&5 | |
a3097628 AJ |
9600 | (eval "$ac_link") 2>conftest.er1 |
9601 | ac_status=$? | |
9602 | grep -v '^ *+' conftest.er1 >conftest.err | |
9603 | rm -f conftest.er1 | |
9604 | cat conftest.err >&5 | |
abf5048b | 9605 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
a3097628 AJ |
9606 | (exit $ac_status); } && { |
9607 | test -z "$ac_c_werror_flag" || | |
9608 | test ! -s conftest.err | |
abf5048b AJ |
9609 | } && test -s conftest$ac_exeext && { |
9610 | test "$cross_compiling" = yes || | |
9611 | $as_test_x conftest$ac_exeext | |
9612 | }; then | |
a3097628 AJ |
9613 | ac_cv_c_dll_unixware="yes" |
9614 | else | |
abf5048b | 9615 | $as_echo "$as_me: failed program was:" >&5 |
a3097628 | 9616 | sed 's/^/| /' conftest.$ac_ext >&5 |
575d8944 | 9617 | |
a3097628 AJ |
9618 | ac_cv_c_dll_unixware="no" |
9619 | fi | |
9620 | ||
abf5048b | 9621 | rm -rf conftest.dSYM |
a3097628 AJ |
9622 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ |
9623 | conftest$ac_exeext conftest.$ac_ext | |
9624 | CFLAGS=$ac_wine_try_cflags_saved | |
9625 | fi | |
abf5048b AJ |
9626 | { $as_echo "$as_me:$LINENO: result: $ac_cv_c_dll_unixware" >&5 |
9627 | $as_echo "$ac_cv_c_dll_unixware" >&6; } | |
a3097628 AJ |
9628 | if test "$ac_cv_c_dll_unixware" = "yes" |
9629 | then | |
9630 | LDSHARED="\$(CC) -Wl,-G \$(SONAME:%=-Wl,-h,%)" | |
9631 | LDDLLFLAGS="-Wl,-G,-B,symbolic" | |
9632 | ||
9633 | else | |
abf5048b AJ |
9634 | { $as_echo "$as_me:$LINENO: checking whether we can build an HP-UX dll" >&5 |
9635 | $as_echo_n "checking whether we can build an HP-UX dll... " >&6; } | |
a3097628 | 9636 | if test "${ac_cv_c_dll_hpux+set}" = set; then |
abf5048b | 9637 | $as_echo_n "(cached) " >&6 |
a3097628 AJ |
9638 | else |
9639 | ac_wine_try_cflags_saved=$CFLAGS | |
9640 | CFLAGS="$CFLAGS -shared" | |
9641 | cat >conftest.$ac_ext <<_ACEOF | |
9642 | void myfunc() {} | |
575d8944 GP |
9643 | _ACEOF |
9644 | rm -f conftest.$ac_objext conftest$ac_exeext | |
9645 | if { (ac_try="$ac_link" | |
9646 | case "(($ac_try" in | |
9647 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
9648 | *) ac_try_echo=$ac_try;; | |
9649 | esac | |
abf5048b AJ |
9650 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
9651 | $as_echo "$ac_try_echo") >&5 | |
575d8944 GP |
9652 | (eval "$ac_link") 2>conftest.er1 |
9653 | ac_status=$? | |
9654 | grep -v '^ *+' conftest.er1 >conftest.err | |
9655 | rm -f conftest.er1 | |
9656 | cat conftest.err >&5 | |
abf5048b | 9657 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
575d8944 GP |
9658 | (exit $ac_status); } && { |
9659 | test -z "$ac_c_werror_flag" || | |
9660 | test ! -s conftest.err | |
abf5048b AJ |
9661 | } && test -s conftest$ac_exeext && { |
9662 | test "$cross_compiling" = yes || | |
9663 | $as_test_x conftest$ac_exeext | |
9664 | }; then | |
a3097628 | 9665 | ac_cv_c_dll_hpux="yes" |
575d8944 | 9666 | else |
abf5048b | 9667 | $as_echo "$as_me: failed program was:" >&5 |
575d8944 GP |
9668 | sed 's/^/| /' conftest.$ac_ext >&5 |
9669 | ||
a3097628 | 9670 | ac_cv_c_dll_hpux="no" |
575d8944 GP |
9671 | fi |
9672 | ||
abf5048b | 9673 | rm -rf conftest.dSYM |
575d8944 GP |
9674 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ |
9675 | conftest$ac_exeext conftest.$ac_ext | |
a3097628 | 9676 | CFLAGS=$ac_wine_try_cflags_saved |
575d8944 | 9677 | fi |
abf5048b AJ |
9678 | { $as_echo "$as_me:$LINENO: result: $ac_cv_c_dll_hpux" >&5 |
9679 | $as_echo "$ac_cv_c_dll_hpux" >&6; } | |
a3097628 AJ |
9680 | if test "$ac_cv_c_dll_hpux" = "yes" |
9681 | then | |
9682 | LIBEXT="sl" | |
9683 | DLLEXT=".sl" | |
9684 | LDDLLFLAGS="-shared -fPIC" | |
9685 | LDSHARED="\$(CC) -shared" | |
9686 | fi | |
9687 | fi | |
9688 | fi | |
9fb81984 AJ |
9689 | ;; |
9690 | esac | |
a3097628 | 9691 | |
9fb81984 | 9692 | enable_winequartz_drv=${enable_winequartz_drv:-no} |
a3097628 | 9693 | |
9fb81984 | 9694 | if test "$LIBEXT" = "a"; then |
abf5048b | 9695 | { { $as_echo "$as_me:$LINENO: error: could not find a way to build shared libraries. |
9fb81984 AJ |
9696 | It is currently not possible to build Wine without shared library |
9697 | (.so) support to allow transparent switch between .so and .dll files. | |
9698 | If you are using Linux, you will need a newer binutils. | |
9699 | " >&5 | |
abf5048b | 9700 | $as_echo "$as_me: error: could not find a way to build shared libraries. |
9fb81984 AJ |
9701 | It is currently not possible to build Wine without shared library |
9702 | (.so) support to allow transparent switch between .so and .dll files. | |
9703 | If you are using Linux, you will need a newer binutils. | |
9704 | " >&2;} | |
9705 | { (exit 1); exit 1; }; } | |
9706 | fi | |
9707 | ||
9708 | if test "$cross_compiling" = "no" -a "$LIBEXT" != "dll" | |
9709 | then | |
9710 | for ac_prog in i586-mingw32msvc-gcc i386-mingw32msvc-gcc i686-mingw32-gcc i586-mingw32-gcc i486-mingw32-gcc i386-mingw32-gcc mingw32-gcc mingw-gcc | |
a3097628 AJ |
9711 | do |
9712 | # Extract the first word of "$ac_prog", so it can be a program name with args. | |
9713 | set dummy $ac_prog; ac_word=$2 | |
abf5048b AJ |
9714 | { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 |
9715 | $as_echo_n "checking for $ac_word... " >&6; } | |
a3097628 | 9716 | if test "${ac_cv_prog_CROSSCC+set}" = set; then |
abf5048b | 9717 | $as_echo_n "(cached) " >&6 |
575d8944 | 9718 | else |
a3097628 AJ |
9719 | if test -n "$CROSSCC"; then |
9720 | ac_cv_prog_CROSSCC="$CROSSCC" # Let the user override the test. | |
9721 | else | |
9722 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | |
9723 | for as_dir in $PATH | |
9724 | do | |
9725 | IFS=$as_save_IFS | |
9726 | test -z "$as_dir" && as_dir=. | |
9727 | for ac_exec_ext in '' $ac_executable_extensions; do | |
9728 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then | |
9729 | ac_cv_prog_CROSSCC="$ac_prog" | |
abf5048b | 9730 | $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
a3097628 AJ |
9731 | break 2 |
9732 | fi | |
9733 | done | |
9734 | done | |
9735 | IFS=$as_save_IFS | |
9736 | ||
9737 | fi | |
9738 | fi | |
9739 | CROSSCC=$ac_cv_prog_CROSSCC | |
9740 | if test -n "$CROSSCC"; then | |
abf5048b AJ |
9741 | { $as_echo "$as_me:$LINENO: result: $CROSSCC" >&5 |
9742 | $as_echo "$CROSSCC" >&6; } | |
a3097628 | 9743 | else |
abf5048b AJ |
9744 | { $as_echo "$as_me:$LINENO: result: no" >&5 |
9745 | $as_echo "no" >&6; } | |
575d8944 GP |
9746 | fi |
9747 | ||
9748 | ||
a3097628 AJ |
9749 | test -n "$CROSSCC" && break |
9750 | done | |
9751 | test -n "$CROSSCC" || CROSSCC="false" | |
9752 | ||
9fb81984 | 9753 | for ac_prog in i586-mingw32msvc-dlltool i386-mingw32msvc-dlltool i686-mingw32-dlltool i586-mingw32-dlltool i486-mingw32-dlltool i386-mingw32-dlltool mingw32-dlltool mingw-dlltool |
a3097628 AJ |
9754 | do |
9755 | # Extract the first word of "$ac_prog", so it can be a program name with args. | |
9756 | set dummy $ac_prog; ac_word=$2 | |
abf5048b AJ |
9757 | { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 |
9758 | $as_echo_n "checking for $ac_word... " >&6; } | |
a3097628 | 9759 | if test "${ac_cv_prog_DLLTOOL+set}" = set; then |
abf5048b | 9760 | $as_echo_n "(cached) " >&6 |
a3097628 AJ |
9761 | else |
9762 | if test -n "$DLLTOOL"; then | |
9763 | ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test. | |
9764 | else | |
9765 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | |
9766 | for as_dir in $PATH | |
9767 | do | |
9768 | IFS=$as_save_IFS | |
9769 | test -z "$as_dir" && as_dir=. | |
9770 | for ac_exec_ext in '' $ac_executable_extensions; do | |
9771 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then | |
9772 | ac_cv_prog_DLLTOOL="$ac_prog" | |
abf5048b | 9773 | $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
a3097628 AJ |
9774 | break 2 |
9775 | fi | |
9776 | done | |
9777 | done | |
9778 | IFS=$as_save_IFS | |
9779 | ||
9780 | fi | |
9781 | fi | |
9782 | DLLTOOL=$ac_cv_prog_DLLTOOL | |
9783 | if test -n "$DLLTOOL"; then | |
abf5048b AJ |
9784 | { $as_echo "$as_me:$LINENO: result: $DLLTOOL" >&5 |
9785 | $as_echo "$DLLTOOL" >&6; } | |
a3097628 | 9786 | else |
abf5048b AJ |
9787 | { $as_echo "$as_me:$LINENO: result: no" >&5 |
9788 | $as_echo "no" >&6; } | |
70adb8f5 MM |
9789 | fi |
9790 | ||
a3097628 AJ |
9791 | |
9792 | test -n "$DLLTOOL" && break | |
9793 | done | |
9794 | test -n "$DLLTOOL" || DLLTOOL="false" | |
9795 | ||
9fb81984 | 9796 | for ac_prog in i586-mingw32msvc-windres i386-mingw32msvc-windres i686-mingw32-windres i586-mingw32-windres i486-mingw32-windres i386-mingw32-windres mingw32-windres mingw-windres |
a3097628 AJ |
9797 | do |
9798 | # Extract the first word of "$ac_prog", so it can be a program name with args. | |
9799 | set dummy $ac_prog; ac_word=$2 | |
abf5048b AJ |
9800 | { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 |
9801 | $as_echo_n "checking for $ac_word... " >&6; } | |
a3097628 | 9802 | if test "${ac_cv_prog_CROSSWINDRES+set}" = set; then |
abf5048b | 9803 | $as_echo_n "(cached) " >&6 |
a3097628 AJ |
9804 | else |
9805 | if test -n "$CROSSWINDRES"; then | |
9806 | ac_cv_prog_CROSSWINDRES="$CROSSWINDRES" # Let the user override the test. | |
9807 | else | |
9808 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | |
9809 | for as_dir in $PATH | |
9810 | do | |
9811 | IFS=$as_save_IFS | |
9812 | test -z "$as_dir" && as_dir=. | |
9813 | for ac_exec_ext in '' $ac_executable_extensions; do | |
9814 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then | |
9815 | ac_cv_prog_CROSSWINDRES="$ac_prog" | |
abf5048b | 9816 | $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
a3097628 AJ |
9817 | break 2 |
9818 | fi | |
9819 | done | |
9820 | done | |
9821 | IFS=$as_save_IFS | |
9822 | ||
9823 | fi | |
9824 | fi | |
9825 | CROSSWINDRES=$ac_cv_prog_CROSSWINDRES | |
9826 | if test -n "$CROSSWINDRES"; then | |
abf5048b AJ |
9827 | { $as_echo "$as_me:$LINENO: result: $CROSSWINDRES" >&5 |
9828 | $as_echo "$CROSSWINDRES" >&6; } | |
a3097628 | 9829 | else |
abf5048b AJ |
9830 | { $as_echo "$as_me:$LINENO: result: no" >&5 |
9831 | $as_echo "no" >&6; } | |
f3719a88 MM |
9832 | fi |
9833 | ||
a3097628 AJ |
9834 | |
9835 | test -n "$CROSSWINDRES" && break | |
f3719a88 | 9836 | done |
a3097628 | 9837 | test -n "$CROSSWINDRES" || CROSSWINDRES="false" |
f3719a88 | 9838 | |
9fb81984 | 9839 | for ac_prog in i586-mingw32msvc-ar i386-mingw32msvc-ar i686-mingw32-ar i586-mingw32-ar i486-mingw32-ar i386-mingw32-ar mingw32-ar mingw-ar |
a3097628 AJ |
9840 | do |
9841 | # Extract the first word of "$ac_prog", so it can be a program name with args. | |
9842 | set dummy $ac_prog; ac_word=$2 | |
abf5048b AJ |
9843 | { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 |
9844 | $as_echo_n "checking for $ac_word... " >&6; } | |
a3097628 | 9845 | if test "${ac_cv_prog_MINGWAR+set}" = set; then |
abf5048b | 9846 | $as_echo_n "(cached) " >&6 |
a3097628 AJ |
9847 | else |
9848 | if test -n "$MINGWAR"; then | |
9849 | ac_cv_prog_MINGWAR="$MINGWAR" # Let the user override the test. | |
9850 | else | |
9851 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | |
9852 | for as_dir in $PATH | |
9853 | do | |
9854 | IFS=$as_save_IFS | |
9855 | test -z "$as_dir" && as_dir=. | |
9856 | for ac_exec_ext in '' $ac_executable_extensions; do | |
9857 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then | |
9858 | ac_cv_prog_MINGWAR="$ac_prog" | |
abf5048b | 9859 | $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
a3097628 AJ |
9860 | break 2 |
9861 | fi | |
9862 | done | |
9863 | done | |
9864 | IFS=$as_save_IFS | |
2d6d4e96 | 9865 | |
a3097628 AJ |
9866 | fi |
9867 | fi | |
9868 | MINGWAR=$ac_cv_prog_MINGWAR | |
9869 | if test -n "$MINGWAR"; then | |
abf5048b AJ |
9870 | { $as_echo "$as_me:$LINENO: result: $MINGWAR" >&5 |
9871 | $as_echo "$MINGWAR" >&6; } | |
2d6d4e96 | 9872 | else |
abf5048b AJ |
9873 | { $as_echo "$as_me:$LINENO: result: no" >&5 |
9874 | $as_echo "no" >&6; } | |
2d6d4e96 | 9875 | fi |
f3719a88 MM |
9876 | |
9877 | ||
a3097628 AJ |
9878 | test -n "$MINGWAR" && break |
9879 | done | |
9880 | test -n "$MINGWAR" || MINGWAR="false" | |
2d6d4e96 | 9881 | |
9fb81984 AJ |
9882 | if test "$CROSSCC" != "false" |
9883 | then | |
9884 | CROSSTEST="\$(CROSSTEST)" | |
dbb535e4 | 9885 | |
9fb81984 | 9886 | fi |
a3097628 | 9887 | fi |
2d6d4e96 | 9888 | |
2d6d4e96 | 9889 | |
a3097628 | 9890 | if test "$have_x" = "yes" |
2d6d4e96 | 9891 | then |
a3097628 AJ |
9892 | XLIB="-lXext -lX11" |
9893 | ac_save_CPPFLAGS="$CPPFLAGS" | |
9894 | CPPFLAGS="$CPPFLAGS $X_CFLAGS" | |
2d6d4e96 | 9895 | |
abf5048b AJ |
9896 | { $as_echo "$as_me:$LINENO: checking for -lX11" >&5 |
9897 | $as_echo_n "checking for -lX11... " >&6; } | |
a851854a | 9898 | if test "${ac_cv_lib_soname_X11+set}" = set; then |
abf5048b | 9899 | $as_echo_n "(cached) " >&6 |
a851854a AJ |
9900 | else |
9901 | ac_check_soname_save_LIBS=$LIBS | |
9902 | LIBS="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS" | |
9903 | cat >conftest.$ac_ext <<_ACEOF | |
9904 | /* confdefs.h. */ | |
9905 | _ACEOF | |
9906 | cat confdefs.h >>conftest.$ac_ext | |
9907 | cat >>conftest.$ac_ext <<_ACEOF | |
9908 | /* end confdefs.h. */ | |
9909 | ||
9910 | /* Override any GCC internal prototype to avoid an error. | |
9911 | Use char because int might match the return type of a GCC | |
9912 | builtin and then its argument prototype would still apply. */ | |
9913 | #ifdef __cplusplus | |
9914 | extern "C" | |
9915 | #endif | |
9916 | char XCreateWindow (); | |
9917 | int | |
9918 | main () | |
9919 | { | |
9920 | return XCreateWindow (); | |
9921 | ; | |
9922 | return 0; | |
9923 | } | |
9924 | _ACEOF | |
9925 | rm -f conftest.$ac_objext conftest$ac_exeext | |
9926 | if { (ac_try="$ac_link" | |
9927 | case "(($ac_try" in | |
9928 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
9929 | *) ac_try_echo=$ac_try;; | |
9930 | esac | |
abf5048b AJ |
9931 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
9932 | $as_echo "$ac_try_echo") >&5 | |
a851854a AJ |
9933 | (eval "$ac_link") 2>conftest.er1 |
9934 | ac_status=$? | |
9935 | grep -v '^ *+' conftest.er1 >conftest.err | |
9936 | rm -f conftest.er1 | |
9937 | cat conftest.err >&5 | |
abf5048b | 9938 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
a851854a AJ |
9939 | (exit $ac_status); } && { |
9940 | test -z "$ac_c_werror_flag" || | |
9941 | test ! -s conftest.err | |
abf5048b AJ |
9942 | } && test -s conftest$ac_exeext && { |
9943 | test "$cross_compiling" = yes || | |
9944 | $as_test_x conftest$ac_exeext | |
9945 | }; then | |
a851854a AJ |
9946 | case "$LIBEXT" in |
9947 | dll) ;; | |
9948 | dylib) ac_cv_lib_soname_X11=`otool -L conftest$ac_exeext | grep "libX11\\.[0-9A-Za-z.]*dylib" | sed -e "s/^.*\/\(libX11\.[0-9A-Za-z.]*dylib\).*$/\1/"';2,$d'` ;; | |
9949 | *) ac_cv_lib_soname_X11=`$ac_cv_path_LDD conftest$ac_exeext | grep "libX11\\.$LIBEXT" | sed -e "s/^.*\(libX11\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;; | |
9950 | esac | |
9951 | else | |
abf5048b | 9952 | $as_echo "$as_me: failed program was:" >&5 |
a851854a AJ |
9953 | sed 's/^/| /' conftest.$ac_ext >&5 |
9954 | ||
9955 | ||
9956 | fi | |
9957 | ||
abf5048b | 9958 | rm -rf conftest.dSYM |
a851854a AJ |
9959 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ |
9960 | conftest$ac_exeext conftest.$ac_ext | |
9961 | LIBS=$ac_check_soname_save_LIBS | |
9962 | fi | |
9963 | if test "x$ac_cv_lib_soname_X11" = "x"; then | |
abf5048b AJ |
9964 | { $as_echo "$as_me:$LINENO: result: not found" >&5 |
9965 | $as_echo "not found" >&6; } | |
a851854a AJ |
9966 | |
9967 | else | |
abf5048b AJ |
9968 | { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_soname_X11" >&5 |
9969 | $as_echo "$ac_cv_lib_soname_X11" >&6; } | |
a851854a AJ |
9970 | |
9971 | cat >>confdefs.h <<_ACEOF | |
9972 | #define SONAME_LIBX11 "$ac_cv_lib_soname_X11" | |
9973 | _ACEOF | |
9974 | ||
9975 | ||
9976 | fi | |
9977 | ||
abf5048b AJ |
9978 | { $as_echo "$as_me:$LINENO: checking for -lXext" >&5 |
9979 | $as_echo_n "checking for -lXext... " >&6; } | |
a851854a | 9980 | if test "${ac_cv_lib_soname_Xext+set}" = set; then |
abf5048b | 9981 | $as_echo_n "(cached) " >&6 |
a851854a AJ |
9982 | else |
9983 | ac_check_soname_save_LIBS=$LIBS | |
9984 | LIBS="-lXext $X_LIBS -lX11 $X_EXTRA_LIBS $LIBS" | |
9985 | cat >conftest.$ac_ext <<_ACEOF | |
9986 | /* confdefs.h. */ | |
9987 | _ACEOF | |
9988 | cat confdefs.h >>conftest.$ac_ext | |
9989 | cat >>conftest.$ac_ext <<_ACEOF | |
9990 | /* end confdefs.h. */ | |
9991 | ||
9992 | /* Override any GCC internal prototype to avoid an error. | |
9993 | Use char because int might match the return type of a GCC | |
9994 | builtin and then its argument prototype would still apply. */ | |
9995 | #ifdef __cplusplus | |
9996 | extern "C" | |
9997 | #endif | |
9998 | char XextCreateExtension (); | |
9999 | int | |
10000 | main () | |
10001 | { | |
10002 | return XextCreateExtension (); | |
10003 | ; | |
10004 | return 0; | |
10005 | } | |
10006 | _ACEOF | |
10007 | rm -f conftest.$ac_objext conftest$ac_exeext | |
10008 | if { (ac_try="$ac_link" | |
10009 | case "(($ac_try" in | |
10010 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
10011 | *) ac_try_echo=$ac_try;; | |
10012 | esac | |
abf5048b AJ |
10013 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
10014 | $as_echo "$ac_try_echo") >&5 | |
a851854a AJ |
10015 | (eval "$ac_link") 2>conftest.er1 |
10016 | ac_status=$? | |
10017 | grep -v '^ *+' conftest.er1 >conftest.err | |
10018 | rm -f conftest.er1 | |
10019 | cat conftest.err >&5 | |
abf5048b | 10020 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
a851854a AJ |
10021 | (exit $ac_status); } && { |
10022 | test -z "$ac_c_werror_flag" || | |
10023 | test ! -s conftest.err | |
abf5048b AJ |
10024 | } && test -s conftest$ac_exeext && { |
10025 | test "$cross_compiling" = yes || | |
10026 | $as_test_x conftest$ac_exeext | |
10027 | }; then | |
a851854a AJ |
10028 | case "$LIBEXT" in |
10029 | dll) ;; | |
10030 | dylib) ac_cv_lib_soname_Xext=`otool -L conftest$ac_exeext | grep "libXext\\.[0-9A-Za-z.]*dylib" | sed -e "s/^.*\/\(libXext\.[0-9A-Za-z.]*dylib\).*$/\1/"';2,$d'` ;; | |
10031 | *) ac_cv_lib_soname_Xext=`$ac_cv_path_LDD conftest$ac_exeext | grep "libXext\\.$LIBEXT" | sed -e "s/^.*\(libXext\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;; | |
10032 | esac | |
10033 | else | |
abf5048b | 10034 | $as_echo "$as_me: failed program was:" >&5 |
a851854a AJ |
10035 | sed 's/^/| /' conftest.$ac_ext >&5 |
10036 | ||
10037 | ||
10038 | fi | |
10039 | ||
abf5048b | 10040 | rm -rf conftest.dSYM |
a851854a AJ |
10041 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ |
10042 | conftest$ac_exeext conftest.$ac_ext | |
10043 | LIBS=$ac_check_soname_save_LIBS | |
10044 | fi | |
10045 | if test "x$ac_cv_lib_soname_Xext" = "x"; then | |
abf5048b AJ |
10046 | { $as_echo "$as_me:$LINENO: result: not found" >&5 |
10047 | $as_echo "not found" >&6; } | |
a851854a AJ |
10048 | |
10049 | else | |
abf5048b AJ |
10050 | { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_soname_Xext" >&5 |
10051 | $as_echo "$ac_cv_lib_soname_Xext" >&6; } | |
a851854a AJ |
10052 | |
10053 | cat >>confdefs.h <<_ACEOF | |
10054 | #define SONAME_LIBXEXT "$ac_cv_lib_soname_Xext" | |
10055 | _ACEOF | |
10056 | ||
10057 | ||
10058 | fi | |
10059 | ||
10060 | ||
a3097628 AJ |
10061 | |
10062 | ||
10063 | ||
10064 | ||
10065 | ||
10066 | ||
10067 | ||
10068 | ||
10069 | ||
10070 | ||
10071 | ||
42584658 | 10072 | |
a3097628 AJ |
10073 | for ac_header in X11/Xlib.h \ |
10074 | X11/XKBlib.h \ | |
10075 | X11/Xutil.h \ | |
10076 | X11/Xcursor/Xcursor.h \ | |
10077 | X11/extensions/shape.h \ | |
10078 | X11/extensions/XInput.h \ | |
10079 | X11/extensions/XShm.h \ | |
42584658 | 10080 | X11/extensions/Xcomposite.h \ |
a3097628 AJ |
10081 | X11/extensions/Xinerama.h \ |
10082 | X11/extensions/Xrandr.h \ | |
10083 | X11/extensions/Xrender.h \ | |
10084 | X11/extensions/xf86vmode.h | |
f3719a88 | 10085 | do |
abf5048b AJ |
10086 | as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` |
10087 | { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 | |
10088 | $as_echo_n "checking for $ac_header... " >&6; } | |
fc6ffb29 | 10089 | if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then |
abf5048b | 10090 | $as_echo_n "(cached) " >&6 |
f3719a88 | 10091 | else |
a3097628 | 10092 | cat >conftest.$ac_ext <<_ACEOF |
f3719a88 MM |
10093 | /* confdefs.h. */ |
10094 | _ACEOF | |
10095 | cat confdefs.h >>conftest.$ac_ext | |
10096 | cat >>conftest.$ac_ext <<_ACEOF | |
10097 | /* end confdefs.h. */ | |
a3097628 AJ |
10098 | #ifdef HAVE_X11_XLIB_H |
10099 | # include <X11/Xlib.h> | |
10100 | #endif | |
10101 | #ifdef HAVE_X11_XUTIL_H | |
10102 | # include <X11/Xutil.h> | |
10103 | #endif | |
10104 | ||
f3719a88 MM |
10105 | #include <$ac_header> |
10106 | _ACEOF | |
10107 | rm -f conftest.$ac_objext | |
0ebeb530 JW |
10108 | if { (ac_try="$ac_compile" |
10109 | case "(($ac_try" in | |
10110 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
10111 | *) ac_try_echo=$ac_try;; | |
10112 | esac | |
abf5048b AJ |
10113 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
10114 | $as_echo "$ac_try_echo") >&5 | |
0ebeb530 | 10115 | (eval "$ac_compile") 2>conftest.er1 |
f3719a88 MM |
10116 | ac_status=$? |
10117 | grep -v '^ *+' conftest.er1 >conftest.err | |
10118 | rm -f conftest.er1 | |
10119 | cat conftest.err >&5 | |
abf5048b | 10120 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
dc9f3843 AJ |
10121 | (exit $ac_status); } && { |
10122 | test -z "$ac_c_werror_flag" || | |
10123 | test ! -s conftest.err | |
10124 | } && test -s conftest.$ac_objext; then | |
a3097628 | 10125 | eval "$as_ac_Header=yes" |
f3719a88 | 10126 | else |
abf5048b | 10127 | $as_echo "$as_me: failed program was:" >&5 |
f3719a88 MM |
10128 | sed 's/^/| /' conftest.$ac_ext >&5 |
10129 | ||
a3097628 | 10130 | eval "$as_ac_Header=no" |
f3719a88 | 10131 | fi |
fc6ffb29 | 10132 | |
0ebeb530 | 10133 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
f3719a88 | 10134 | fi |
abf5048b AJ |
10135 | ac_res=`eval 'as_val=${'$as_ac_Header'} |
10136 | $as_echo "$as_val"'` | |
10137 | { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 | |
10138 | $as_echo "$ac_res" >&6; } | |
10139 | as_val=`eval 'as_val=${'$as_ac_Header'} | |
10140 | $as_echo "$as_val"'` | |
10141 | if test "x$as_val" = x""yes; then | |
f3719a88 | 10142 | cat >>confdefs.h <<_ACEOF |
abf5048b | 10143 | #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 |
f3719a88 | 10144 | _ACEOF |
a3097628 AJ |
10145 | |
10146 | fi | |
10147 | ||
10148 | done | |
10149 | ||
10150 | ||
10151 | if test "$ac_cv_header_X11_XKBlib_h" = "yes" | |
10152 | then | |
abf5048b AJ |
10153 | { $as_echo "$as_me:$LINENO: checking for XkbQueryExtension in -lX11" >&5 |
10154 | $as_echo_n "checking for XkbQueryExtension in -lX11... " >&6; } | |
a3097628 | 10155 | if test "${ac_cv_lib_X11_XkbQueryExtension+set}" = set; then |
abf5048b | 10156 | $as_echo_n "(cached) " >&6 |
f3719a88 MM |
10157 | else |
10158 | ac_check_lib_save_LIBS=$LIBS | |
a3097628 | 10159 | LIBS="-lX11 $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS" |
f3719a88 MM |
10160 | cat >conftest.$ac_ext <<_ACEOF |
10161 | /* confdefs.h. */ | |
10162 | _ACEOF | |
10163 | cat confdefs.h >>conftest.$ac_ext | |
10164 | cat >>conftest.$ac_ext <<_ACEOF | |
10165 | /* end confdefs.h. */ | |
10166 | ||
fc6ffb29 AJ |
10167 | /* Override any GCC internal prototype to avoid an error. |
10168 | Use char because int might match the return type of a GCC | |
10169 | builtin and then its argument prototype would still apply. */ | |
f3719a88 MM |
10170 | #ifdef __cplusplus |
10171 | extern "C" | |
10172 | #endif | |
a3097628 | 10173 | char XkbQueryExtension (); |
f3719a88 MM |
10174 | int |
10175 | main () | |
10176 | { | |
a3097628 | 10177 | return XkbQueryExtension (); |
f3719a88 MM |
10178 | ; |
10179 | return 0; | |
10180 | } | |
10181 | _ACEOF | |
10182 | rm -f conftest.$ac_objext conftest$ac_exeext | |
0ebeb530 JW |
10183 | if { (ac_try="$ac_link" |
10184 | case "(($ac_try" in | |
10185 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
10186 | *) ac_try_echo=$ac_try;; | |
10187 | esac | |
abf5048b AJ |
10188 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
10189 | $as_echo "$ac_try_echo") >&5 | |
0ebeb530 | 10190 | (eval "$ac_link") 2>conftest.er1 |
f3719a88 MM |
10191 | ac_status=$? |
10192 | grep -v '^ *+' conftest.er1 >conftest.err | |
10193 | rm -f conftest.er1 | |
10194 | cat conftest.err >&5 | |
abf5048b | 10195 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
dc9f3843 AJ |
10196 | (exit $ac_status); } && { |
10197 | test -z "$ac_c_werror_flag" || | |
10198 | test ! -s conftest.err | |
abf5048b AJ |
10199 | } && test -s conftest$ac_exeext && { |
10200 | test "$cross_compiling" = yes || | |
10201 | $as_test_x conftest$ac_exeext | |
10202 | }; then | |
a3097628 | 10203 | ac_cv_lib_X11_XkbQueryExtension=yes |
f3719a88 | 10204 | else |
abf5048b | 10205 | $as_echo "$as_me: failed program was:" >&5 |
f3719a88 MM |
10206 | sed 's/^/| /' conftest.$ac_ext >&5 |
10207 | ||
a3097628 | 10208 | ac_cv_lib_X11_XkbQueryExtension=no |
f3719a88 | 10209 | fi |
fc6ffb29 | 10210 | |
abf5048b | 10211 | rm -rf conftest.dSYM |
f0ca586f | 10212 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ |
f3719a88 MM |
10213 | conftest$ac_exeext conftest.$ac_ext |
10214 | LIBS=$ac_check_lib_save_LIBS | |
10215 | fi | |
abf5048b AJ |
10216 | { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_X11_XkbQueryExtension" >&5 |
10217 | $as_echo "$ac_cv_lib_X11_XkbQueryExtension" >&6; } | |
10218 | if test "x$ac_cv_lib_X11_XkbQueryExtension" = x""yes; then | |
f3719a88 MM |
10219 | |
10220 | cat >>confdefs.h <<\_ACEOF | |
a3097628 | 10221 | #define HAVE_XKB 1 |
f3719a88 MM |
10222 | _ACEOF |
10223 | ||
19a988a2 AJ |
10224 | fi |
10225 | ||
10226 | fi | |
10227 | ||
10228 | if test "$ac_cv_header_X11_Xcursor_Xcursor_h" = "yes" | |
10229 | then | |
abf5048b AJ |
10230 | { $as_echo "$as_me:$LINENO: checking for -lXcursor" >&5 |
10231 | $as_echo_n "checking for -lXcursor... " >&6; } | |
19a988a2 | 10232 | if test "${ac_cv_lib_soname_Xcursor+set}" = set; then |
abf5048b | 10233 | $as_echo_n "(cached) " >&6 |
19a988a2 AJ |
10234 | else |
10235 | ac_check_soname_save_LIBS=$LIBS | |
10236 | LIBS="-lXcursor $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS" | |
10237 | cat >conftest.$ac_ext <<_ACEOF | |
10238 | /* confdefs.h. */ | |
10239 | _ACEOF | |
10240 | cat confdefs.h >>conftest.$ac_ext | |
10241 | cat >>conftest.$ac_ext <<_ACEOF | |
10242 | /* end confdefs.h. */ | |
10243 | ||
10244 | /* Override any GCC internal prototype to avoid an error. | |
10245 | Use char because int might match the return type of a GCC | |
10246 | builtin and then its argument prototype would still apply. */ | |
10247 | #ifdef __cplusplus | |
10248 | extern "C" | |
10249 | #endif | |
10250 | char XcursorImageLoadCursor (); | |
10251 | int | |
10252 | main () | |
10253 | { | |
10254 | return XcursorImageLoadCursor (); | |
10255 | ; | |
10256 | return 0; | |
10257 | } | |
10258 | _ACEOF | |
10259 | rm -f conftest.$ac_objext conftest$ac_exeext | |
10260 | if { (ac_try="$ac_link" | |
10261 | case "(($ac_try" in | |
10262 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
10263 | *) ac_try_echo=$ac_try;; | |
10264 | esac | |
abf5048b AJ |
10265 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
10266 | $as_echo "$ac_try_echo") >&5 | |
19a988a2 AJ |
10267 | (eval "$ac_link") 2>conftest.er1 |
10268 | ac_status=$? | |
10269 | grep -v '^ *+' conftest.er1 >conftest.err | |
10270 | rm -f conftest.er1 | |
10271 | cat conftest.err >&5 | |
abf5048b | 10272 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
19a988a2 AJ |
10273 | (exit $ac_status); } && { |
10274 | test -z "$ac_c_werror_flag" || | |
10275 | test ! -s conftest.err | |
abf5048b AJ |
10276 | } && test -s conftest$ac_exeext && { |
10277 | test "$cross_compiling" = yes || | |
10278 | $as_test_x conftest$ac_exeext | |
10279 | }; then | |
19a988a2 AJ |
10280 | case "$LIBEXT" in |
10281 | dll) ;; | |
10282 | dylib) ac_cv_lib_soname_Xcursor=`otool -L conftest$ac_exeext | grep "libXcursor\\.[0-9A-Za-z.]*dylib" | sed -e "s/^.*\/\(libXcursor\.[0-9A-Za-z.]*dylib\).*$/\1/"';2,$d'` ;; | |
10283 | *) ac_cv_lib_soname_Xcursor=`$ac_cv_path_LDD conftest$ac_exeext | grep "libXcursor\\.$LIBEXT" | sed -e "s/^.*\(libXcursor\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;; | |
10284 | esac | |
10285 | else | |
abf5048b | 10286 | $as_echo "$as_me: failed program was:" >&5 |
19a988a2 AJ |
10287 | sed 's/^/| /' conftest.$ac_ext >&5 |
10288 | ||
10289 | ||
10290 | fi | |
10291 | ||
abf5048b | 10292 | rm -rf conftest.dSYM |
19a988a2 AJ |
10293 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ |
10294 | conftest$ac_exeext conftest.$ac_ext | |
10295 | LIBS=$ac_check_soname_save_LIBS | |
10296 | fi | |
10297 | if test "x$ac_cv_lib_soname_Xcursor" = "x"; then | |
abf5048b AJ |
10298 | { $as_echo "$as_me:$LINENO: result: not found" >&5 |
10299 | $as_echo "not found" >&6; } | |
19a988a2 AJ |
10300 | |
10301 | else | |
abf5048b AJ |
10302 | { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_soname_Xcursor" >&5 |
10303 | $as_echo "$ac_cv_lib_soname_Xcursor" >&6; } | |
19a988a2 AJ |
10304 | |
10305 | cat >>confdefs.h <<_ACEOF | |
10306 | #define SONAME_LIBXCURSOR "$ac_cv_lib_soname_Xcursor" | |
10307 | _ACEOF | |
10308 | ||
10309 | ||
d68d4335 AJ |
10310 | fi |
10311 | ||
10312 | fi | |
a41f0f1b AJ |
10313 | if test "x$ac_cv_lib_soname_Xcursor" = "x"; then |
10314 | case "x$with_xcursor" in | |
93f094c5 | 10315 | x) wine_notices="$wine_notices|libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported." ;; |
a41f0f1b | 10316 | xno) ;; |
abf5048b | 10317 | *) { { $as_echo "$as_me:$LINENO: error: libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported. |
a41f0f1b | 10318 | This is an error since --with-xcursor was requested." >&5 |
abf5048b | 10319 | $as_echo "$as_me: error: libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported. |
a41f0f1b AJ |
10320 | This is an error since --with-xcursor was requested." >&2;} |
10321 | { (exit 1); exit 1; }; } ;; | |
10322 | esac | |
10323 | fi | |
10324 | ||
d68d4335 AJ |
10325 | |
10326 | if test "$ac_cv_header_X11_extensions_XInput_h" = "yes" | |
10327 | then | |
abf5048b AJ |
10328 | { $as_echo "$as_me:$LINENO: checking for -lXi" >&5 |
10329 | $as_echo_n "checking for -lXi... " >&6; } | |
d68d4335 | 10330 | if test "${ac_cv_lib_soname_Xi+set}" = set; then |
abf5048b | 10331 | $as_echo_n "(cached) " >&6 |
d68d4335 AJ |
10332 | else |
10333 | ac_check_soname_save_LIBS=$LIBS | |
10334 | LIBS="-lXi $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS" | |
10335 | cat >conftest.$ac_ext <<_ACEOF | |
10336 | /* confdefs.h. */ | |
10337 | _ACEOF | |
10338 | cat confdefs.h >>conftest.$ac_ext | |
10339 | cat >>conftest.$ac_ext <<_ACEOF | |
10340 | /* end confdefs.h. */ | |
10341 | ||
10342 | /* Override any GCC internal prototype to avoid an error. | |
10343 | Use char because int might match the return type of a GCC | |
10344 | builtin and then its argument prototype would still apply. */ | |
10345 | #ifdef __cplusplus | |
10346 | extern "C" | |
10347 | #endif | |
10348 | char XOpenDevice (); | |
10349 | int | |
10350 | main () | |
10351 | { | |
10352 | return XOpenDevice (); | |
10353 | ; | |
10354 | return 0; | |
10355 | } | |
10356 | _ACEOF | |
10357 | rm -f conftest.$ac_objext conftest$ac_exeext | |
10358 | if { (ac_try="$ac_link" | |
10359 | case "(($ac_try" in | |
10360 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
10361 | *) ac_try_echo=$ac_try;; | |
10362 | esac | |
abf5048b AJ |
10363 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
10364 | $as_echo "$ac_try_echo") >&5 | |
d68d4335 AJ |
10365 | (eval "$ac_link") 2>conftest.er1 |
10366 | ac_status=$? | |
10367 | grep -v '^ *+' conftest.er1 >conftest.err | |
10368 | rm -f conftest.er1 | |
10369 | cat conftest.err >&5 | |
abf5048b | 10370 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
d68d4335 AJ |
10371 | (exit $ac_status); } && { |
10372 | test -z "$ac_c_werror_flag" || | |
10373 | test ! -s conftest.err | |
abf5048b AJ |
10374 | } && test -s conftest$ac_exeext && { |
10375 | test "$cross_compiling" = yes || | |
10376 | $as_test_x conftest$ac_exeext | |
10377 | }; then | |
d68d4335 AJ |
10378 | case "$LIBEXT" in |
10379 | dll) ;; | |
10380 | dylib) ac_cv_lib_soname_Xi=`otool -L conftest$ac_exeext | grep "libXi\\.[0-9A-Za-z.]*dylib" | sed -e "s/^.*\/\(libXi\.[0-9A-Za-z.]*dylib\).*$/\1/"';2,$d'` ;; | |
10381 | *) ac_cv_lib_soname_Xi=`$ac_cv_path_LDD conftest$ac_exeext | grep "libXi\\.$LIBEXT" | sed -e "s/^.*\(libXi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;; | |
10382 | esac | |
10383 | else | |
abf5048b | 10384 | $as_echo "$as_me: failed program was:" >&5 |
d68d4335 AJ |
10385 | sed 's/^/| /' conftest.$ac_ext >&5 |
10386 | ||
10387 | ||
10388 | fi | |
10389 | ||
abf5048b | 10390 | rm -rf conftest.dSYM |
d68d4335 AJ |
10391 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ |
10392 | conftest$ac_exeext conftest.$ac_ext | |
10393 | LIBS=$ac_check_soname_save_LIBS | |
10394 | fi | |
10395 | if test "x$ac_cv_lib_soname_Xi" = "x"; then | |
abf5048b AJ |
10396 | { $as_echo "$as_me:$LINENO: result: not found" >&5 |
10397 | $as_echo "not found" >&6; } | |
d68d4335 AJ |
10398 | |
10399 | else | |
abf5048b AJ |
10400 | { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_soname_Xi" >&5 |
10401 | $as_echo "$ac_cv_lib_soname_Xi" >&6; } | |
d68d4335 AJ |
10402 | |
10403 | cat >>confdefs.h <<_ACEOF | |
10404 | #define SONAME_LIBXI "$ac_cv_lib_soname_Xi" | |
10405 | _ACEOF | |
10406 | ||
10407 | ||
90c75bdd | 10408 | fi |
dcc2d6c2 | 10409 | |
a3097628 | 10410 | fi |
a41f0f1b AJ |
10411 | if test "x$ac_cv_lib_soname_Xi" = "x"; then |
10412 | case "x$with_xinput" in | |
93f094c5 | 10413 | x) wine_notices="$wine_notices|libxi ${notice_platform}development files not found, the Xinput extension won't be supported." ;; |
a41f0f1b | 10414 | xno) ;; |
abf5048b | 10415 | *) { { $as_echo "$as_me:$LINENO: error: libxi ${notice_platform}development files not found, the Xinput extension won't be supported. |
a41f0f1b | 10416 | This is an error since --with-xinput was requested." >&5 |
abf5048b | 10417 | $as_echo "$as_me: error: libxi ${notice_platform}development files not found, the Xinput extension won't be supported. |
a41f0f1b AJ |
10418 | This is an error since --with-xinput was requested." >&2;} |
10419 | { (exit 1); exit 1; }; } ;; | |
10420 | esac | |
10421 | fi | |
10422 | ||
a3097628 AJ |
10423 | |
10424 | if test "$ac_cv_header_X11_extensions_XShm_h" = "yes" | |
10425 | then | |
abf5048b AJ |
10426 | { $as_echo "$as_me:$LINENO: checking for XShmQueryExtension in -lXext" >&5 |
10427 | $as_echo_n "checking for XShmQueryExtension in -lXext... " >&6; } | |
a3097628 | 10428 | if test "${ac_cv_lib_Xext_XShmQueryExtension+set}" = set; then |
abf5048b | 10429 | $as_echo_n "(cached) " >&6 |
daa2886c | 10430 | else |
73482144 | 10431 | ac_check_lib_save_LIBS=$LIBS |
a3097628 | 10432 | LIBS="-lXext $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS" |
daa2886c | 10433 | cat >conftest.$ac_ext <<_ACEOF |
e24bcc77 AJ |
10434 | /* confdefs.h. */ |
10435 | _ACEOF | |
10436 | cat confdefs.h >>conftest.$ac_ext | |
10437 | cat >>conftest.$ac_ext <<_ACEOF | |
10438 | /* end confdefs.h. */ | |
73482144 | 10439 | |
fc6ffb29 AJ |
10440 | /* Override any GCC internal prototype to avoid an error. |
10441 | Use char because int might match the return type of a GCC | |
10442 | builtin and then its argument prototype would still apply. */ | |
73482144 AJ |
10443 | #ifdef __cplusplus |
10444 | extern "C" | |
10445 | #endif | |
a3097628 | 10446 | char XShmQueryExtension (); |
73482144 AJ |
10447 | int |
10448 | main () | |
10449 | { | |
a3097628 | 10450 | return XShmQueryExtension (); |
73482144 AJ |
10451 | ; |
10452 | return 0; | |
10453 | } | |
daa2886c | 10454 | _ACEOF |
73482144 | 10455 | rm -f conftest.$ac_objext conftest$ac_exeext |
0ebeb530 JW |
10456 | if { (ac_try="$ac_link" |
10457 | case "(($ac_try" in | |
10458 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
10459 | *) ac_try_echo=$ac_try;; | |
10460 | esac | |
abf5048b AJ |
10461 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
10462 | $as_echo "$ac_try_echo") >&5 | |
0ebeb530 | 10463 | (eval "$ac_link") 2>conftest.er1 |
daa2886c | 10464 | ac_status=$? |
875927f6 AJ |
10465 | grep -v '^ *+' conftest.er1 >conftest.err |
10466 | rm -f conftest.er1 | |
10467 | cat conftest.err >&5 | |
abf5048b | 10468 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
dc9f3843 AJ |
10469 | (exit $ac_status); } && { |
10470 | test -z "$ac_c_werror_flag" || | |
10471 | test ! -s conftest.err | |
abf5048b AJ |
10472 | } && test -s conftest$ac_exeext && { |
10473 | test "$cross_compiling" = yes || | |
10474 | $as_test_x conftest$ac_exeext | |
10475 | }; then | |
a3097628 | 10476 | ac_cv_lib_Xext_XShmQueryExtension=yes |
daa2886c | 10477 | else |
abf5048b | 10478 | $as_echo "$as_me: failed program was:" >&5 |
e24bcc77 AJ |
10479 | sed 's/^/| /' conftest.$ac_ext >&5 |
10480 | ||
a3097628 | 10481 | ac_cv_lib_Xext_XShmQueryExtension=no |
24110288 | 10482 | fi |
fc6ffb29 | 10483 | |
abf5048b | 10484 | rm -rf conftest.dSYM |
f0ca586f | 10485 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ |
73482144 AJ |
10486 | conftest$ac_exeext conftest.$ac_ext |
10487 | LIBS=$ac_check_lib_save_LIBS | |
10488 | fi | |
abf5048b AJ |
10489 | { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XShmQueryExtension" >&5 |
10490 | $as_echo "$ac_cv_lib_Xext_XShmQueryExtension" >&6; } | |
10491 | if test "x$ac_cv_lib_Xext_XShmQueryExtension" = x""yes; then | |
24110288 | 10492 | |
73482144 | 10493 | cat >>confdefs.h <<\_ACEOF |
a3097628 | 10494 | #define HAVE_LIBXXSHM 1 |
73482144 AJ |
10495 | _ACEOF |
10496 | ||
6a530aba LZ |
10497 | fi |
10498 | ||
a3097628 | 10499 | fi |
f9dec94f | 10500 | if test "$ac_cv_lib_Xext_XShmQueryExtension" != "yes"; then |
a41f0f1b | 10501 | case "x$with_xshm" in |
93f094c5 | 10502 | x) wine_notices="$wine_notices|XShm ${notice_platform}development files not found, X Shared Memory won't be supported." ;; |
a41f0f1b | 10503 | xno) ;; |
abf5048b | 10504 | *) { { $as_echo "$as_me:$LINENO: error: XShm ${notice_platform}development files not found, X Shared Memory won't be supported. |
a41f0f1b | 10505 | This is an error since --with-xshm was requested." >&5 |
abf5048b | 10506 | $as_echo "$as_me: error: XShm ${notice_platform}development files not found, X Shared Memory won't be supported. |
a41f0f1b AJ |
10507 | This is an error since --with-xshm was requested." >&2;} |
10508 | { (exit 1); exit 1; }; } ;; | |
10509 | esac | |
f9dec94f AJ |
10510 | fi |
10511 | ||
a3097628 AJ |
10512 | |
10513 | if test "$ac_cv_header_X11_extensions_shape_h" = "yes" | |
10514 | then | |
abf5048b AJ |
10515 | { $as_echo "$as_me:$LINENO: checking for XShapeQueryExtension in -lXext" >&5 |
10516 | $as_echo_n "checking for XShapeQueryExtension in -lXext... " >&6; } | |
a3097628 | 10517 | if test "${ac_cv_lib_Xext_XShapeQueryExtension+set}" = set; then |
abf5048b | 10518 | $as_echo_n "(cached) " >&6 |
6a530aba LZ |
10519 | else |
10520 | ac_check_lib_save_LIBS=$LIBS | |
a3097628 | 10521 | LIBS="-lXext $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS" |
6a530aba LZ |
10522 | cat >conftest.$ac_ext <<_ACEOF |
10523 | /* confdefs.h. */ | |
10524 | _ACEOF | |
10525 | cat confdefs.h >>conftest.$ac_ext | |
10526 | cat >>conftest.$ac_ext <<_ACEOF | |
10527 | /* end confdefs.h. */ | |
10528 | ||
10529 | /* Override any GCC internal prototype to avoid an error. | |
10530 | Use char because int might match the return type of a GCC | |
10531 | builtin and then its argument prototype would still apply. */ | |
10532 | #ifdef __cplusplus | |
10533 | extern "C" | |
10534 | #endif | |
a3097628 | 10535 | char XShapeQueryExtension (); |
6a530aba LZ |
10536 | int |
10537 | main () | |
10538 | { | |
a3097628 | 10539 | return XShapeQueryExtension (); |
6a530aba LZ |
10540 | ; |
10541 | return 0; | |
10542 | } | |
10543 | _ACEOF | |
10544 | rm -f conftest.$ac_objext conftest$ac_exeext | |
10545 | if { (ac_try="$ac_link" | |
10546 | case "(($ac_try" in | |
10547 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
10548 | *) ac_try_echo=$ac_try;; | |
10549 | esac | |
abf5048b AJ |
10550 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
10551 | $as_echo "$ac_try_echo") >&5 | |
6a530aba LZ |
10552 | (eval "$ac_link") 2>conftest.er1 |
10553 | ac_status=$? | |
10554 | grep -v '^ *+' conftest.er1 >conftest.err | |
10555 | rm -f conftest.er1 | |
10556 | cat conftest.err >&5 | |
abf5048b | 10557 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
dc9f3843 AJ |
10558 | (exit $ac_status); } && { |
10559 | test -z "$ac_c_werror_flag" || | |
10560 | test ! -s conftest.err | |
abf5048b AJ |
10561 | } && test -s conftest$ac_exeext && { |
10562 | test "$cross_compiling" = yes || | |
10563 | $as_test_x conftest$ac_exeext | |
10564 | }; then | |
a3097628 | 10565 | ac_cv_lib_Xext_XShapeQueryExtension=yes |
6a530aba | 10566 | else |
abf5048b | 10567 | $as_echo "$as_me: failed program was:" >&5 |
6a530aba LZ |
10568 | sed 's/^/| /' conftest.$ac_ext >&5 |
10569 | ||
a3097628 | 10570 | ac_cv_lib_Xext_XShapeQueryExtension=no |
6a530aba LZ |
10571 | fi |
10572 | ||
abf5048b | 10573 | rm -rf conftest.dSYM |
6a530aba LZ |
10574 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ |
10575 | conftest$ac_exeext conftest.$ac_ext | |
10576 | LIBS=$ac_check_lib_save_LIBS | |
10577 | fi | |
abf5048b AJ |
10578 | { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5 |
10579 | $as_echo "$ac_cv_lib_Xext_XShapeQueryExtension" >&6; } | |
10580 | if test "x$ac_cv_lib_Xext_XShapeQueryExtension" = x""yes; then | |
fc6ffb29 | 10581 | |
a3097628 AJ |
10582 | cat >>confdefs.h <<\_ACEOF |
10583 | #define HAVE_LIBXSHAPE 1 | |
2d6d4e96 | 10584 | _ACEOF |
a3097628 AJ |
10585 | |
10586 | fi | |
10587 | ||
10588 | fi | |
f9dec94f | 10589 | if test "$ac_cv_lib_Xext_XShapeQueryExtension" != "yes"; then |
a41f0f1b | 10590 | case "x$with_xshape" in |
93f094c5 | 10591 | x) wine_notices="$wine_notices|XShape ${notice_platform}development files not found, XShape won't be supported." ;; |
a41f0f1b | 10592 | xno) ;; |
abf5048b | 10593 | *) { { $as_echo "$as_me:$LINENO: error: XShape ${notice_platform}development files not found, XShape won't be supported. |
a41f0f1b | 10594 | This is an error since --with-xshape was requested." >&5 |
abf5048b | 10595 | $as_echo "$as_me: error: XShape ${notice_platform}development files not found, XShape won't be supported. |
a41f0f1b AJ |
10596 | This is an error since --with-xshape was requested." >&2;} |
10597 | { (exit 1); exit 1; }; } ;; | |
10598 | esac | |
f9dec94f AJ |
10599 | fi |
10600 | ||
a3097628 AJ |
10601 | |
10602 | if test "$ac_cv_header_X11_extensions_xf86vmode_h" = "yes" | |
10603 | then | |
abf5048b AJ |
10604 | { $as_echo "$as_me:$LINENO: checking for -lXxf86vm" >&5 |
10605 | $as_echo_n "checking for -lXxf86vm... " >&6; } | |
a49beb4c | 10606 | if test "${ac_cv_lib_soname_Xxf86vm+set}" = set; then |
abf5048b | 10607 | $as_echo_n "(cached) " >&6 |
2d6d4e96 | 10608 | else |
a49beb4c | 10609 | ac_check_soname_save_LIBS=$LIBS |
a3097628 | 10610 | LIBS="-lXxf86vm $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS" |
a49beb4c | 10611 | cat >conftest.$ac_ext <<_ACEOF |
2d6d4e96 HL |
10612 | /* confdefs.h. */ |
10613 | _ACEOF | |
10614 | cat confdefs.h >>conftest.$ac_ext | |
10615 | cat >>conftest.$ac_ext <<_ACEOF | |
10616 | /* end confdefs.h. */ | |
10617 | ||
fc6ffb29 AJ |
10618 | /* Override any GCC internal prototype to avoid an error. |
10619 | Use char because int might match the return type of a GCC | |
10620 | builtin and then its argument prototype would still apply. */ | |
2d6d4e96 HL |
10621 | #ifdef __cplusplus |
10622 | extern "C" | |
10623 | #endif | |
a3097628 | 10624 | char XF86VidModeQueryExtension (); |
2d6d4e96 HL |
10625 | int |
10626 | main () | |
10627 | { | |
a3097628 | 10628 | return XF86VidModeQueryExtension (); |
2d6d4e96 HL |
10629 | ; |
10630 | return 0; | |
10631 | } | |
10632 | _ACEOF | |
10633 | rm -f conftest.$ac_objext conftest$ac_exeext | |
0ebeb530 JW |
10634 | if { (ac_try="$ac_link" |
10635 | case "(($ac_try" in | |
10636 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
10637 | *) ac_try_echo=$ac_try;; | |
10638 | esac | |
abf5048b AJ |
10639 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
10640 | $as_echo "$ac_try_echo") >&5 | |
0ebeb530 | 10641 | (eval "$ac_link") 2>conftest.er1 |
2d6d4e96 HL |
10642 | ac_status=$? |
10643 | grep -v '^ *+' conftest.er1 >conftest.err | |
10644 | rm -f conftest.er1 | |
10645 | cat conftest.err >&5 | |
abf5048b | 10646 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
dc9f3843 AJ |
10647 | (exit $ac_status); } && { |
10648 | test -z "$ac_c_werror_flag" || | |
10649 | test ! -s conftest.err | |
abf5048b AJ |
10650 | } && test -s conftest$ac_exeext && { |
10651 | test "$cross_compiling" = yes || | |
10652 | $as_test_x conftest$ac_exeext | |
10653 | }; then | |
a49beb4c FG |
10654 | case "$LIBEXT" in |
10655 | dll) ;; | |
10656 | dylib) ac_cv_lib_soname_Xxf86vm=`otool -L conftest$ac_exeext | grep "libXxf86vm\\.[0-9A-Za-z.]*dylib" | sed -e "s/^.*\/\(libXxf86vm\.[0-9A-Za-z.]*dylib\).*$/\1/"';2,$d'` ;; | |
10657 | *) ac_cv_lib_soname_Xxf86vm=`$ac_cv_path_LDD conftest$ac_exeext | grep "libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\(libXxf86vm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;; | |
10658 | esac | |
2d6d4e96 | 10659 | else |
abf5048b | 10660 | $as_echo "$as_me: failed program was:" >&5 |
2d6d4e96 HL |
10661 | sed 's/^/| /' conftest.$ac_ext >&5 |
10662 | ||
a49beb4c | 10663 | |
2d6d4e96 | 10664 | fi |
fc6ffb29 | 10665 | |
abf5048b | 10666 | rm -rf conftest.dSYM |
f0ca586f | 10667 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ |
2d6d4e96 | 10668 | conftest$ac_exeext conftest.$ac_ext |
a49beb4c | 10669 | LIBS=$ac_check_soname_save_LIBS |
2d6d4e96 | 10670 | fi |
a49beb4c | 10671 | if test "x$ac_cv_lib_soname_Xxf86vm" = "x"; then |
abf5048b AJ |
10672 | { $as_echo "$as_me:$LINENO: result: not found" >&5 |
10673 | $as_echo "not found" >&6; } | |
2d6d4e96 | 10674 | |
a49beb4c | 10675 | else |
abf5048b AJ |
10676 | { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_soname_Xxf86vm" >&5 |
10677 | $as_echo "$ac_cv_lib_soname_Xxf86vm" >&6; } | |
a49beb4c FG |
10678 | |
10679 | cat >>confdefs.h <<_ACEOF | |
10680 | #define SONAME_LIBXXF86VM "$ac_cv_lib_soname_Xxf86vm" | |
2d6d4e96 HL |
10681 | _ACEOF |
10682 | ||
2d6d4e96 | 10683 | |
00068989 AJ |
10684 | fi |
10685 | ||
a3097628 | 10686 | fi |
a49beb4c FG |
10687 | if test "x$ac_cv_lib_soname_Xxf86vm" = "x"; then |
10688 | case "x$with_xxf86vm" in | |
93f094c5 | 10689 | x) wine_notices="$wine_notices|libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported." ;; |
a41f0f1b | 10690 | xno) ;; |
abf5048b | 10691 | *) { { $as_echo "$as_me:$LINENO: error: libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported. |
a49beb4c | 10692 | This is an error since --with-xxf86vm was requested." >&5 |
abf5048b | 10693 | $as_echo "$as_me: error: libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported. |
a49beb4c | 10694 | This is an error since --with-xxf86vm was requested." >&2;} |
a41f0f1b AJ |
10695 | { (exit 1); exit 1; }; } ;; |
10696 | esac | |
f9dec94f AJ |
10697 | fi |
10698 | ||
00068989 | 10699 | |
a851854a | 10700 | if test "$ac_cv_header_X11_extensions_Xrender_h" = "yes" -a "x$ac_cv_lib_soname_X11" != "x" -a "x$ac_cv_lib_soname_Xext" != "x" |
a3097628 | 10701 | then |
abf5048b AJ |
10702 | { $as_echo "$as_me:$LINENO: checking for -lXrender" >&5 |
10703 | $as_echo_n "checking for -lXrender... " >&6; } | |
629639ee | 10704 | if test "${ac_cv_lib_soname_Xrender+set}" = set; then |
abf5048b | 10705 | $as_echo_n "(cached) " >&6 |
629639ee AJ |
10706 | else |
10707 | ac_check_soname_save_LIBS=$LIBS | |
10708 | LIBS="-lXrender $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS" | |
10709 | cat >conftest.$ac_ext <<_ACEOF | |
00068989 AJ |
10710 | /* confdefs.h. */ |
10711 | _ACEOF | |
10712 | cat confdefs.h >>conftest.$ac_ext | |
10713 | cat >>conftest.$ac_ext <<_ACEOF | |
10714 | /* end confdefs.h. */ | |
629639ee AJ |
10715 | |
10716 | /* Override any GCC internal prototype to avoid an error. | |
10717 | Use char because int might match the return type of a GCC | |
10718 | builtin and then its argument prototype would still apply. */ | |
10719 | #ifdef __cplusplus | |
10720 | extern "C" | |
10721 | #endif | |
10722 | char XRenderQueryExtension (); | |
a3097628 AJ |
10723 | int |
10724 | main () | |
10725 | { | |
629639ee | 10726 | return XRenderQueryExtension (); |
a3097628 AJ |
10727 | ; |
10728 | return 0; | |
10729 | } | |
00068989 | 10730 | _ACEOF |
629639ee AJ |
10731 | rm -f conftest.$ac_objext conftest$ac_exeext |
10732 | if { (ac_try="$ac_link" | |
0ebeb530 JW |
10733 | case "(($ac_try" in |
10734 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
10735 | *) ac_try_echo=$ac_try;; | |
10736 | esac | |
abf5048b AJ |
10737 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
10738 | $as_echo "$ac_try_echo") >&5 | |
629639ee | 10739 | (eval "$ac_link") 2>conftest.er1 |
00068989 AJ |
10740 | ac_status=$? |
10741 | grep -v '^ *+' conftest.er1 >conftest.err | |
10742 | rm -f conftest.er1 | |
10743 | cat conftest.err >&5 | |
abf5048b | 10744 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
dc9f3843 AJ |
10745 | (exit $ac_status); } && { |
10746 | test -z "$ac_c_werror_flag" || | |
10747 | test ! -s conftest.err | |
abf5048b AJ |
10748 | } && test -s conftest$ac_exeext && { |
10749 | test "$cross_compiling" = yes || | |
10750 | $as_test_x conftest$ac_exeext | |
10751 | }; then | |
629639ee AJ |
10752 | case "$LIBEXT" in |
10753 | dll) ;; | |
10754 | dylib) ac_cv_lib_soname_Xrender=`otool -L conftest$ac_exeext | grep "libXrender\\.[0-9A-Za-z.]*dylib" | sed -e "s/^.*\/\(libXrender\.[0-9A-Za-z.]*dylib\).*$/\1/"';2,$d'` ;; | |
10755 | *) ac_cv_lib_soname_Xrender=`$ac_cv_path_LDD conftest$ac_exeext | grep "libXrender\\.$LIBEXT" | sed -e "s/^.*\(libXrender\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;; | |
10756 | esac | |
10757 | else | |
abf5048b | 10758 | $as_echo "$as_me: failed program was:" >&5 |
629639ee AJ |
10759 | sed 's/^/| /' conftest.$ac_ext >&5 |
10760 | ||
10761 | ||
10762 | fi | |
10763 | ||
abf5048b | 10764 | rm -rf conftest.dSYM |
629639ee AJ |
10765 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ |
10766 | conftest$ac_exeext conftest.$ac_ext | |
10767 | LIBS=$ac_check_soname_save_LIBS | |
10768 | fi | |
10769 | if test "x$ac_cv_lib_soname_Xrender" = "x"; then | |
abf5048b AJ |
10770 | { $as_echo "$as_me:$LINENO: result: not found" >&5 |
10771 | $as_echo "not found" >&6; } | |
629639ee AJ |
10772 | |
10773 | else | |
abf5048b AJ |
10774 | { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_soname_Xrender" >&5 |
10775 | $as_echo "$ac_cv_lib_soname_Xrender" >&6; } | |
629639ee AJ |
10776 | |
10777 | cat >>confdefs.h <<_ACEOF | |
10778 | #define SONAME_LIBXRENDER "$ac_cv_lib_soname_Xrender" | |
10779 | _ACEOF | |
10780 | ||
abf5048b AJ |
10781 | { $as_echo "$as_me:$LINENO: checking for XRenderSetPictureTransform in -lXrender" >&5 |
10782 | $as_echo_n "checking for XRenderSetPictureTransform in -lXrender... " >&6; } | |
629639ee | 10783 | if test "${ac_cv_lib_Xrender_XRenderSetPictureTransform+set}" = set; then |
abf5048b | 10784 | $as_echo_n "(cached) " >&6 |
af928ecb | 10785 | else |
629639ee AJ |
10786 | ac_check_lib_save_LIBS=$LIBS |
10787 | LIBS="-lXrender $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS" | |
10788 | cat >conftest.$ac_ext <<_ACEOF | |
af928ecb AJ |
10789 | /* confdefs.h. */ |
10790 | _ACEOF | |
10791 | cat confdefs.h >>conftest.$ac_ext | |
10792 | cat >>conftest.$ac_ext <<_ACEOF | |
10793 | /* end confdefs.h. */ | |
a3097628 | 10794 | |
af928ecb AJ |
10795 | /* Override any GCC internal prototype to avoid an error. |
10796 | Use char because int might match the return type of a GCC | |
10797 | builtin and then its argument prototype would still apply. */ | |
10798 | #ifdef __cplusplus | |
10799 | extern "C" | |
10800 | #endif | |
629639ee | 10801 | char XRenderSetPictureTransform (); |
af928ecb AJ |
10802 | int |
10803 | main () | |
10804 | { | |
629639ee | 10805 | return XRenderSetPictureTransform (); |
af928ecb AJ |
10806 | ; |
10807 | return 0; | |
10808 | } | |
10809 | _ACEOF | |
10810 | rm -f conftest.$ac_objext conftest$ac_exeext | |
10811 | if { (ac_try="$ac_link" | |
10812 | case "(($ac_try" in | |
10813 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
10814 | *) ac_try_echo=$ac_try;; | |
10815 | esac | |
abf5048b AJ |
10816 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
10817 | $as_echo "$ac_try_echo") >&5 | |
af928ecb AJ |
10818 | (eval "$ac_link") 2>conftest.er1 |
10819 | ac_status=$? | |
10820 | grep -v '^ *+' conftest.er1 >conftest.err | |
10821 | rm -f conftest.er1 | |
10822 | cat conftest.err >&5 | |
abf5048b | 10823 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
af928ecb AJ |
10824 | (exit $ac_status); } && { |
10825 | test -z "$ac_c_werror_flag" || | |
10826 | test ! -s conftest.err | |
abf5048b AJ |
10827 | } && test -s conftest$ac_exeext && { |
10828 | test "$cross_compiling" = yes || | |
10829 | $as_test_x conftest$ac_exeext | |
10830 | }; then | |
629639ee | 10831 | ac_cv_lib_Xrender_XRenderSetPictureTransform=yes |
af928ecb | 10832 | else |
abf5048b | 10833 | $as_echo "$as_me: failed program was:" >&5 |
af928ecb AJ |
10834 | sed 's/^/| /' conftest.$ac_ext >&5 |
10835 | ||
629639ee | 10836 | ac_cv_lib_Xrender_XRenderSetPictureTransform=no |
af928ecb AJ |
10837 | fi |
10838 | ||
abf5048b | 10839 | rm -rf conftest.dSYM |
af928ecb AJ |
10840 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ |
10841 | conftest$ac_exeext conftest.$ac_ext | |
629639ee | 10842 | LIBS=$ac_check_lib_save_LIBS |
af928ecb | 10843 | fi |
abf5048b AJ |
10844 | { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_Xrender_XRenderSetPictureTransform" >&5 |
10845 | $as_echo "$ac_cv_lib_Xrender_XRenderSetPictureTransform" >&6; } | |
10846 | if test "x$ac_cv_lib_Xrender_XRenderSetPictureTransform" = x""yes; then | |
af928ecb | 10847 | |
629639ee AJ |
10848 | cat >>confdefs.h <<\_ACEOF |
10849 | #define HAVE_XRENDERSETPICTURETRANSFORM 1 | |
a3097628 AJ |
10850 | _ACEOF |
10851 | ||
af928ecb AJ |
10852 | fi |
10853 | ||
00068989 | 10854 | fi |
fc6ffb29 | 10855 | |
629639ee | 10856 | |
a3097628 | 10857 | fi |
f9dec94f | 10858 | if test "x$ac_cv_lib_soname_Xrender" = "x"; then |
a41f0f1b | 10859 | case "x$with_xrender" in |
93f094c5 | 10860 | x) wine_warnings="$wine_warnings|libxrender ${notice_platform}development files not found, XRender won't be supported." ;; |
a41f0f1b | 10861 | xno) ;; |
abf5048b | 10862 | *) { { $as_echo "$as_me:$LINENO: error: libxrender ${notice_platform}development files not found, XRender won't be supported. |
a41f0f1b | 10863 | This is an error since --with-xrender was requested." >&5 |
abf5048b | 10864 | $as_echo "$as_me: error: libxrender ${notice_platform}development files not found, XRender won't be supported. |
a41f0f1b AJ |
10865 | This is an error since --with-xrender was requested." >&2;} |
10866 | { (exit 1); exit 1; }; } ;; | |
10867 | esac | |
f9dec94f AJ |
10868 | fi |
10869 | ||
00068989 | 10870 | |
629639ee | 10871 | if test "$ac_cv_header_X11_extensions_Xrandr_h" = "yes" -a "x$ac_cv_lib_soname_Xrender" != "x" |
a3097628 | 10872 | then |
629639ee AJ |
10873 | cat >conftest.$ac_ext <<_ACEOF |
10874 | /* confdefs.h. */ | |
10875 | _ACEOF | |
10876 | cat confdefs.h >>conftest.$ac_ext | |
10877 | cat >>conftest.$ac_ext <<_ACEOF | |
10878 | /* end confdefs.h. */ | |
10879 | #include <X11/Xlib.h> | |
10880 | #include <X11/extensions/Xrandr.h> | |
10881 | int | |
10882 | main () | |
10883 | { | |
10884 | static typeof(XRRSetScreenConfigAndRate) * func; | |
10885 | ; | |
10886 | return 0; | |
10887 | } | |
10888 | _ACEOF | |
10889 | rm -f conftest.$ac_objext | |
10890 | if { (ac_try="$ac_compile" | |
10891 | case "(($ac_try" in | |
10892 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
10893 | *) ac_try_echo=$ac_try;; | |
10894 | esac | |
abf5048b AJ |
10895 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
10896 | $as_echo "$ac_try_echo") >&5 | |
629639ee AJ |
10897 | (eval "$ac_compile") 2>conftest.er1 |
10898 | ac_status=$? | |
10899 | grep -v '^ *+' conftest.er1 >conftest.err | |
10900 | rm -f conftest.er1 | |
10901 | cat conftest.err >&5 | |
abf5048b | 10902 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
629639ee AJ |
10903 | (exit $ac_status); } && { |
10904 | test -z "$ac_c_werror_flag" || | |
10905 | test ! -s conftest.err | |
10906 | } && test -s conftest.$ac_objext; then | |
abf5048b AJ |
10907 | { $as_echo "$as_me:$LINENO: checking for -lXrandr" >&5 |
10908 | $as_echo_n "checking for -lXrandr... " >&6; } | |
629639ee | 10909 | if test "${ac_cv_lib_soname_Xrandr+set}" = set; then |
abf5048b | 10910 | $as_echo_n "(cached) " >&6 |
a3097628 | 10911 | else |
629639ee AJ |
10912 | ac_check_soname_save_LIBS=$LIBS |
10913 | LIBS="-lXrandr $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS" | |
10914 | cat >conftest.$ac_ext <<_ACEOF | |
00068989 AJ |
10915 | /* confdefs.h. */ |
10916 | _ACEOF | |
10917 | cat confdefs.h >>conftest.$ac_ext | |
10918 | cat >>conftest.$ac_ext <<_ACEOF | |
10919 | /* end confdefs.h. */ | |
a3097628 AJ |
10920 | |
10921 | /* Override any GCC internal prototype to avoid an error. | |
10922 | Use char because int might match the return type of a GCC | |
10923 | builtin and then its argument prototype would still apply. */ | |
10924 | #ifdef __cplusplus | |
10925 | extern "C" | |
10926 | #endif | |
629639ee | 10927 | char XRRQueryExtension (); |
a3097628 AJ |
10928 | int |
10929 | main () | |
10930 | { | |
629639ee | 10931 | return XRRQueryExtension (); |
a3097628 AJ |
10932 | ; |
10933 | return 0; | |
10934 | } | |
00068989 | 10935 | _ACEOF |
a3097628 AJ |
10936 | rm -f conftest.$ac_objext conftest$ac_exeext |
10937 | if { (ac_try="$ac_link" | |
0ebeb530 JW |
10938 | case "(($ac_try" in |
10939 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
10940 | *) ac_try_echo=$ac_try;; | |
10941 | esac | |
abf5048b AJ |
10942 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
10943 | $as_echo "$ac_try_echo") >&5 | |
a3097628 | 10944 | (eval "$ac_link") 2>conftest.er1 |
00068989 AJ |
10945 | ac_status=$? |
10946 | grep -v '^ *+' conftest.er1 >conftest.err | |
10947 | rm -f conftest.er1 | |
10948 | cat conftest.err >&5 | |
abf5048b | 10949 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
a3097628 AJ |
10950 | (exit $ac_status); } && { |
10951 | test -z "$ac_c_werror_flag" || | |
dc9f3843 | 10952 | test ! -s conftest.err |
abf5048b AJ |
10953 | } && test -s conftest$ac_exeext && { |
10954 | test "$cross_compiling" = yes || | |
10955 | $as_test_x conftest$ac_exeext | |
10956 | }; then | |
629639ee AJ |
10957 | case "$LIBEXT" in |
10958 | dll) ;; | |
10959 | dylib) ac_cv_lib_soname_Xrandr=`otool -L conftest$ac_exeext | grep "libXrandr\\.[0-9A-Za-z.]*dylib" | sed -e "s/^.*\/\(libXrandr\.[0-9A-Za-z.]*dylib\).*$/\1/"';2,$d'` ;; | |
10960 | *) ac_cv_lib_soname_Xrandr=`$ac_cv_path_LDD conftest$ac_exeext | grep "libXrandr\\.$LIBEXT" | sed -e "s/^.*\(libXrandr\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;; | |
10961 | esac | |
00068989 | 10962 | else |
abf5048b | 10963 | $as_echo "$as_me: failed program was:" >&5 |
00068989 AJ |
10964 | sed 's/^/| /' conftest.$ac_ext >&5 |
10965 | ||
629639ee | 10966 | |
00068989 | 10967 | fi |
fc6ffb29 | 10968 | |
abf5048b | 10969 | rm -rf conftest.dSYM |
a3097628 AJ |
10970 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ |
10971 | conftest$ac_exeext conftest.$ac_ext | |
629639ee | 10972 | LIBS=$ac_check_soname_save_LIBS |
00068989 | 10973 | fi |
629639ee | 10974 | if test "x$ac_cv_lib_soname_Xrandr" = "x"; then |
abf5048b AJ |
10975 | { $as_echo "$as_me:$LINENO: result: not found" >&5 |
10976 | $as_echo "not found" >&6; } | |
00068989 | 10977 | |
629639ee | 10978 | else |
abf5048b AJ |
10979 | { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_soname_Xrandr" >&5 |
10980 | $as_echo "$ac_cv_lib_soname_Xrandr" >&6; } | |
629639ee AJ |
10981 | |
10982 | cat >>confdefs.h <<_ACEOF | |
10983 | #define SONAME_LIBXRANDR "$ac_cv_lib_soname_Xrandr" | |
00068989 | 10984 | _ACEOF |
b18b9f37 | 10985 | |
629639ee | 10986 | |
b18b9f37 AJ |
10987 | fi |
10988 | ||
629639ee | 10989 | else |
abf5048b | 10990 | $as_echo "$as_me: failed program was:" >&5 |
629639ee AJ |
10991 | sed 's/^/| /' conftest.$ac_ext >&5 |
10992 | ||
10993 | ||
10994 | fi | |
10995 | ||
10996 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | |
a3097628 | 10997 | fi |
f9dec94f | 10998 | if test "x$ac_cv_lib_soname_Xrandr" = "x"; then |
a41f0f1b | 10999 | case "x$with_xrandr" in |
93f094c5 | 11000 | x) wine_notices="$wine_notices|libxrandr ${notice_platform}development files not found, XRandr won't be supported." ;; |
a41f0f1b | 11001 | xno) ;; |
abf5048b | 11002 | *) { { $as_echo "$as_me:$LINENO: error: libxrandr ${notice_platform}development files not found, XRandr won't be supported. |
a41f0f1b | 11003 | This is an error since --with-xrandr was requested." >&5 |
abf5048b | 11004 | $as_echo "$as_me: error: libxrandr ${notice_platform}development files not found, XRandr won't be supported. |
a41f0f1b AJ |
11005 | This is an error since --with-xrandr was requested." >&2;} |
11006 | { (exit 1); exit 1; }; } ;; | |
11007 | esac | |
f9dec94f AJ |
11008 | fi |
11009 | ||
b18b9f37 | 11010 | |
a3097628 AJ |
11011 | if test "$ac_cv_header_X11_extensions_Xinerama_h" = "yes" |
11012 | then | |
11013 | cat >conftest.$ac_ext <<_ACEOF | |
00068989 AJ |
11014 | /* confdefs.h. */ |
11015 | _ACEOF | |
11016 | cat confdefs.h >>conftest.$ac_ext | |
11017 | cat >>conftest.$ac_ext <<_ACEOF | |
11018 | /* end confdefs.h. */ | |
a3097628 AJ |
11019 | #include <X11/Xlib.h> |
11020 | #include <X11/extensions/Xinerama.h> | |
00068989 AJ |
11021 | int |
11022 | main () | |
11023 | { | |
a3097628 | 11024 | static typeof(XineramaQueryScreens) * func; |
00068989 AJ |
11025 | ; |
11026 | return 0; | |
11027 | } | |
11028 | _ACEOF | |
a3097628 AJ |
11029 | rm -f conftest.$ac_objext |
11030 | if { (ac_try="$ac_compile" | |
0ebeb530 JW |
11031 | case "(($ac_try" in |
11032 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
11033 | *) ac_try_echo=$ac_try;; | |
11034 | esac | |
abf5048b AJ |
11035 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
11036 | $as_echo "$ac_try_echo") >&5 | |
a3097628 | 11037 | (eval "$ac_compile") 2>conftest.er1 |
00068989 AJ |
11038 | ac_status=$? |
11039 | grep -v '^ *+' conftest.er1 >conftest.err | |
11040 | rm -f conftest.er1 | |
11041 | cat conftest.err >&5 | |
abf5048b | 11042 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
dc9f3843 AJ |
11043 | (exit $ac_status); } && { |
11044 | test -z "$ac_c_werror_flag" || | |
11045 | test ! -s conftest.err | |
a3097628 | 11046 | } && test -s conftest.$ac_objext; then |
abf5048b AJ |
11047 | { $as_echo "$as_me:$LINENO: checking for -lXinerama" >&5 |
11048 | $as_echo_n "checking for -lXinerama... " >&6; } | |
35d2fd7a | 11049 | if test "${ac_cv_lib_soname_Xinerama+set}" = set; then |
abf5048b | 11050 | $as_echo_n "(cached) " >&6 |
35d2fd7a AJ |
11051 | else |
11052 | ac_check_soname_save_LIBS=$LIBS | |
11053 | LIBS="-lXinerama $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS" | |
11054 | cat >conftest.$ac_ext <<_ACEOF | |
11055 | /* confdefs.h. */ | |
11056 | _ACEOF | |
11057 | cat confdefs.h >>conftest.$ac_ext | |
11058 | cat >>conftest.$ac_ext <<_ACEOF | |
11059 | /* end confdefs.h. */ | |
a3097628 | 11060 | |
35d2fd7a AJ |
11061 | /* Override any GCC internal prototype to avoid an error. |
11062 | Use char because int might match the return type of a GCC | |
11063 | builtin and then its argument prototype would still apply. */ | |
11064 | #ifdef __cplusplus | |
11065 | extern "C" | |
11066 | #endif | |
11067 | char XineramaQueryScreens (); | |
11068 | int | |
11069 | main () | |
11070 | { | |
11071 | return XineramaQueryScreens (); | |
11072 | ; | |
11073 | return 0; | |
11074 | } | |
11075 | _ACEOF | |
11076 | rm -f conftest.$ac_objext conftest$ac_exeext | |
11077 | if { (ac_try="$ac_link" | |
11078 | case "(($ac_try" in | |
11079 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
11080 | *) ac_try_echo=$ac_try;; | |
11081 | esac | |
abf5048b AJ |
11082 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
11083 | $as_echo "$ac_try_echo") >&5 | |
35d2fd7a AJ |
11084 | (eval "$ac_link") 2>conftest.er1 |
11085 | ac_status=$? | |
11086 | grep -v '^ *+' conftest.er1 >conftest.err | |
11087 | rm -f conftest.er1 | |
11088 | cat conftest.err >&5 | |
abf5048b | 11089 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
35d2fd7a AJ |
11090 | (exit $ac_status); } && { |
11091 | test -z "$ac_c_werror_flag" || | |
11092 | test ! -s conftest.err | |
abf5048b AJ |
11093 | } && test -s conftest$ac_exeext && { |
11094 | test "$cross_compiling" = yes || | |
11095 | $as_test_x conftest$ac_exeext | |
11096 | }; then | |
35d2fd7a AJ |
11097 | case "$LIBEXT" in |
11098 | dll) ;; | |
11099 | dylib) ac_cv_lib_soname_Xinerama=`otool -L conftest$ac_exeext | grep "libXinerama\\.[0-9A-Za-z.]*dylib" | sed -e "s/^.*\/\(libXinerama\.[0-9A-Za-z.]*dylib\).*$/\1/"';2,$d'` ;; | |
11100 | *) ac_cv_lib_soname_Xinerama=`$ac_cv_path_LDD conftest$ac_exeext | grep "libXinerama\\.$LIBEXT" | sed -e "s/^.*\(libXinerama\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;; | |
11101 | esac | |
11102 | else | |
abf5048b | 11103 | $as_echo "$as_me: failed program was:" >&5 |
35d2fd7a AJ |
11104 | sed 's/^/| /' conftest.$ac_ext >&5 |
11105 | ||
11106 | ||
11107 | fi | |
11108 | ||
abf5048b | 11109 | rm -rf conftest.dSYM |
35d2fd7a AJ |
11110 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ |
11111 | conftest$ac_exeext conftest.$ac_ext | |
11112 | LIBS=$ac_check_soname_save_LIBS | |
11113 | fi | |
11114 | if test "x$ac_cv_lib_soname_Xinerama" = "x"; then | |
abf5048b AJ |
11115 | { $as_echo "$as_me:$LINENO: result: not found" >&5 |
11116 | $as_echo "not found" >&6; } | |
35d2fd7a AJ |
11117 | |
11118 | else | |
abf5048b AJ |
11119 | { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_soname_Xinerama" >&5 |
11120 | $as_echo "$ac_cv_lib_soname_Xinerama" >&6; } | |
35d2fd7a AJ |
11121 | |
11122 | cat >>confdefs.h <<_ACEOF | |
11123 | #define SONAME_LIBXINERAMA "$ac_cv_lib_soname_Xinerama" | |
a3097628 AJ |
11124 | _ACEOF |
11125 | ||
35d2fd7a AJ |
11126 | |
11127 | fi | |
11128 | ||
00068989 | 11129 | else |
abf5048b | 11130 | $as_echo "$as_me: failed program was:" >&5 |
00068989 AJ |
11131 | sed 's/^/| /' conftest.$ac_ext >&5 |
11132 | ||
fc6ffb29 | 11133 | |
a3097628 AJ |
11134 | fi |
11135 | ||
11136 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | |
11137 | fi | |
f9dec94f | 11138 | if test "x$ac_cv_lib_soname_Xinerama" = "x"; then |
a41f0f1b | 11139 | case "x$with_xinerama" in |
93f094c5 | 11140 | x) wine_notices="$wine_notices|libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported." ;; |
a41f0f1b | 11141 | xno) ;; |
abf5048b | 11142 | *) { { $as_echo "$as_me:$LINENO: error: libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported. |
a41f0f1b | 11143 | This is an error since --with-xinerama was requested." >&5 |
abf5048b | 11144 | $as_echo "$as_me: error: libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported. |
a41f0f1b AJ |
11145 | This is an error since --with-xinerama was requested." >&2;} |
11146 | { (exit 1); exit 1; }; } ;; | |
11147 | esac | |
f9dec94f AJ |
11148 | fi |
11149 | ||
a3097628 | 11150 | |
42584658 CR |
11151 | if test "$ac_cv_header_X11_extensions_Xcomposite_h" = "yes" |
11152 | then | |
abf5048b AJ |
11153 | { $as_echo "$as_me:$LINENO: checking for -lXcomposite" >&5 |
11154 | $as_echo_n "checking for -lXcomposite... " >&6; } | |
42584658 | 11155 | if test "${ac_cv_lib_soname_Xcomposite+set}" = set; then |
abf5048b | 11156 | $as_echo_n "(cached) " >&6 |
42584658 CR |
11157 | else |
11158 | ac_check_soname_save_LIBS=$LIBS | |
11159 | LIBS="-lXcomposite $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS" | |
11160 | cat >conftest.$ac_ext <<_ACEOF | |
11161 | /* confdefs.h. */ | |
11162 | _ACEOF | |
11163 | cat confdefs.h >>conftest.$ac_ext | |
11164 | cat >>conftest.$ac_ext <<_ACEOF | |
11165 | /* end confdefs.h. */ | |
11166 | ||
11167 | /* Override any GCC internal prototype to avoid an error. | |
11168 | Use char because int might match the return type of a GCC | |
11169 | builtin and then its argument prototype would still apply. */ | |
11170 | #ifdef __cplusplus | |
11171 | extern "C" | |
11172 | #endif | |
11173 | char XCompositeRedirectWindow (); | |
11174 | int | |
11175 | main () | |
11176 | { | |
11177 | return XCompositeRedirectWindow (); | |
11178 | ; | |
11179 | return 0; | |
11180 | } | |
11181 | _ACEOF | |
11182 | rm -f conftest.$ac_objext conftest$ac_exeext | |
11183 | if { (ac_try="$ac_link" | |
11184 | case "(($ac_try" in | |
11185 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
11186 | *) ac_try_echo=$ac_try;; | |
11187 | esac | |
abf5048b AJ |
11188 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
11189 | $as_echo "$ac_try_echo") >&5 | |
42584658 CR |
11190 | (eval "$ac_link") 2>conftest.er1 |
11191 | ac_status=$? | |
11192 | grep -v '^ *+' conftest.er1 >conftest.err | |
11193 | rm -f conftest.er1 | |
11194 | cat conftest.err >&5 | |
abf5048b | 11195 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
42584658 CR |
11196 | (exit $ac_status); } && { |
11197 | test -z "$ac_c_werror_flag" || | |
11198 | test ! -s conftest.err | |
abf5048b AJ |
11199 | } && test -s conftest$ac_exeext && { |
11200 | test "$cross_compiling" = yes || | |
11201 | $as_test_x conftest$ac_exeext | |
11202 | }; then | |
42584658 CR |
11203 | case "$LIBEXT" in |
11204 | dll) ;; | |
11205 | dylib) ac_cv_lib_soname_Xcomposite=`otool -L conftest$ac_exeext | grep "libXcomposite\\.[0-9A-Za-z.]*dylib" | sed -e "s/^.*\/\(libXcomposite\.[0-9A-Za-z.]*dylib\).*$/\1/"';2,$d'` ;; | |
11206 | *) ac_cv_lib_soname_Xcomposite=`$ac_cv_path_LDD conftest$ac_exeext | grep "libXcomposite\\.$LIBEXT" | sed -e "s/^.*\(libXcomposite\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;; | |
11207 | esac | |
11208 | else | |
abf5048b | 11209 | $as_echo "$as_me: failed program was:" >&5 |
42584658 CR |
11210 | sed 's/^/| /' conftest.$ac_ext >&5 |
11211 | ||
11212 | ||
11213 | fi | |
11214 | ||
abf5048b | 11215 | rm -rf conftest.dSYM |
42584658 CR |
11216 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ |
11217 | conftest$ac_exeext conftest.$ac_ext | |
11218 | LIBS=$ac_check_soname_save_LIBS | |
11219 | fi | |
11220 | if test "x$ac_cv_lib_soname_Xcomposite" = "x"; then | |
abf5048b AJ |
11221 | { $as_echo "$as_me:$LINENO: result: not found" >&5 |
11222 | $as_echo "not found" >&6; } | |
42584658 CR |
11223 | |
11224 | else | |
abf5048b AJ |
11225 | { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_soname_Xcomposite" >&5 |
11226 | $as_echo "$ac_cv_lib_soname_Xcomposite" >&6; } | |
42584658 CR |
11227 | |
11228 | cat >>confdefs.h <<_ACEOF | |
11229 | #define SONAME_LIBXCOMPOSITE "$ac_cv_lib_soname_Xcomposite" | |
11230 | _ACEOF | |
11231 | ||
11232 | ||
11233 | fi | |
11234 | ||
11235 | fi | |
11236 | if test "x$ac_cv_lib_soname_Xcomposite" = "x"; then | |
a41f0f1b | 11237 | case "x$with_xcomposite" in |
93f094c5 | 11238 | x) wine_notices="$wine_notices|libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported." ;; |
a41f0f1b | 11239 | xno) ;; |
abf5048b | 11240 | *) { { $as_echo "$as_me:$LINENO: error: libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported. |
a41f0f1b | 11241 | This is an error since --with-xcomposite was requested." >&5 |
abf5048b | 11242 | $as_echo "$as_me: error: libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported. |
a41f0f1b AJ |
11243 | This is an error since --with-xcomposite was requested." >&2;} |
11244 | { (exit 1); exit 1; }; } ;; | |
11245 | esac | |
42584658 CR |
11246 | fi |
11247 | ||
11248 | ||
abf5048b AJ |
11249 | { $as_echo "$as_me:$LINENO: checking for XICCallback.callback" >&5 |
11250 | $as_echo_n "checking for XICCallback.callback... " >&6; } | |
75e40229 | 11251 | if test "${ac_cv_member_XICCallback_callback+set}" = set; then |
abf5048b | 11252 | $as_echo_n "(cached) " >&6 |
75e40229 KK |
11253 | else |
11254 | cat >conftest.$ac_ext <<_ACEOF | |
11255 | /* confdefs.h. */ | |
11256 | _ACEOF | |
11257 | cat confdefs.h >>conftest.$ac_ext | |
11258 | cat >>conftest.$ac_ext <<_ACEOF | |
11259 | /* end confdefs.h. */ | |
11260 | #ifdef HAVE_X11_XLIB_H | |
11261 | #include <X11/Xlib.h> | |
11262 | #endif | |
11263 | ||
11264 | int | |
11265 | main () | |
11266 | { | |
11267 | static XICCallback ac_aggr; | |
11268 | if (ac_aggr.callback) | |
11269 | return 0; | |
11270 | ; | |
11271 | return 0; | |
11272 | } | |
11273 | _ACEOF | |
11274 | rm -f conftest.$ac_objext | |
11275 | if { (ac_try="$ac_compile" | |
11276 | case "(($ac_try" in | |
11277 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
11278 | *) ac_try_echo=$ac_try;; | |
11279 | esac | |
abf5048b AJ |
11280 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
11281 | $as_echo "$ac_try_echo") >&5 | |
75e40229 KK |
11282 | (eval "$ac_compile") 2>conftest.er1 |
11283 | ac_status=$? | |
11284 | grep -v '^ *+' conftest.er1 >conftest.err | |
11285 | rm -f conftest.er1 | |
11286 | cat conftest.err >&5 | |
abf5048b | 11287 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
75e40229 KK |
11288 | (exit $ac_status); } && { |
11289 | test -z "$ac_c_werror_flag" || | |
11290 | test ! -s conftest.err | |
11291 | } && test -s conftest.$ac_objext; then | |
11292 | ac_cv_member_XICCallback_callback=yes | |
11293 | else | |
abf5048b | 11294 | $as_echo "$as_me: failed program was:" >&5 |
75e40229 KK |
11295 | sed 's/^/| /' conftest.$ac_ext >&5 |
11296 | ||
11297 | cat >conftest.$ac_ext <<_ACEOF | |
11298 | /* confdefs.h. */ | |
11299 | _ACEOF | |
11300 | cat confdefs.h >>conftest.$ac_ext | |
11301 | cat >>conftest.$ac_ext <<_ACEOF | |
11302 | /* end confdefs.h. */ | |
11303 | #ifdef HAVE_X11_XLIB_H | |
11304 | #include <X11/Xlib.h> | |
11305 | #endif | |
11306 | ||
11307 | int | |
11308 | main () | |
11309 | { | |
11310 | static XICCallback ac_aggr; | |
11311 | if (sizeof ac_aggr.callback) | |
11312 | return 0; | |
11313 | ; | |
11314 | return 0; | |
11315 | } | |
11316 | _ACEOF | |
11317 | rm -f conftest.$ac_objext | |
11318 | if { (ac_try="$ac_compile" | |
11319 | case "(($ac_try" in | |
11320 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
11321 | *) ac_try_echo=$ac_try;; | |
11322 | esac | |
abf5048b AJ |
11323 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
11324 | $as_echo "$ac_try_echo") >&5 | |
75e40229 KK |
11325 | (eval "$ac_compile") 2>conftest.er1 |
11326 | ac_status=$? | |
11327 | grep -v '^ *+' conftest.er1 >conftest.err | |
11328 | rm -f conftest.er1 | |
11329 | cat conftest.err >&5 | |
abf5048b | 11330 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
75e40229 KK |
11331 | (exit $ac_status); } && { |
11332 | test -z "$ac_c_werror_flag" || | |
11333 | test ! -s conftest.err | |
11334 | } && test -s conftest.$ac_objext; then | |
11335 | ac_cv_member_XICCallback_callback=yes | |
11336 | else | |
abf5048b | 11337 | $as_echo "$as_me: failed program was:" >&5 |
75e40229 KK |
11338 | sed 's/^/| /' conftest.$ac_ext >&5 |
11339 | ||
11340 | ac_cv_member_XICCallback_callback=no | |
11341 | fi | |
11342 | ||
11343 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | |
11344 | fi | |
11345 | ||
11346 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | |
11347 | fi | |
abf5048b AJ |
11348 | { $as_echo "$as_me:$LINENO: result: $ac_cv_member_XICCallback_callback" >&5 |
11349 | $as_echo "$ac_cv_member_XICCallback_callback" >&6; } | |
11350 | if test "x$ac_cv_member_XICCallback_callback" = x""yes; then | |
75e40229 KK |
11351 | |
11352 | cat >>confdefs.h <<_ACEOF | |
11353 | #define HAVE_XICCALLBACK_CALLBACK 1 | |
11354 | _ACEOF | |
11355 | ||
11356 | ||
11357 | fi | |
11358 | ||
11359 | ||
a3097628 | 11360 | |
a41f0f1b AJ |
11361 | opengl_msg="" |
11362 | if test "x$with_opengl" != "xno" | |
a3097628 AJ |
11363 | then |
11364 | ||
11365 | ||
11366 | ||
11367 | ||
11368 | for ac_header in GL/gl.h GL/glx.h GL/glext.h GL/glu.h | |
11369 | do | |
abf5048b AJ |
11370 | as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` |
11371 | { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 | |
11372 | $as_echo_n "checking for $ac_header... " >&6; } | |
a3097628 | 11373 | if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then |
abf5048b | 11374 | $as_echo_n "(cached) " >&6 |
b18b9f37 | 11375 | else |
a3097628 | 11376 | cat >conftest.$ac_ext <<_ACEOF |
b18b9f37 AJ |
11377 | /* confdefs.h. */ |
11378 | _ACEOF | |
11379 | cat confdefs.h >>conftest.$ac_ext | |
11380 | cat >>conftest.$ac_ext <<_ACEOF | |
11381 | /* end confdefs.h. */ | |
a3097628 AJ |
11382 | #ifdef HAVE_GL_GLX_H |
11383 | # include <GL/glx.h> | |
b18b9f37 | 11384 | #endif |
a3097628 AJ |
11385 | |
11386 | #include <$ac_header> | |
b18b9f37 | 11387 | _ACEOF |
a3097628 AJ |
11388 | rm -f conftest.$ac_objext |
11389 | if { (ac_try="$ac_compile" | |
0ebeb530 JW |
11390 | case "(($ac_try" in |
11391 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
11392 | *) ac_try_echo=$ac_try;; | |
11393 | esac | |
abf5048b AJ |
11394 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
11395 | $as_echo "$ac_try_echo") >&5 | |
a3097628 | 11396 | (eval "$ac_compile") 2>conftest.er1 |
b18b9f37 AJ |
11397 | ac_status=$? |
11398 | grep -v '^ *+' conftest.er1 >conftest.err | |
11399 | rm -f conftest.er1 | |
11400 | cat conftest.err >&5 | |
abf5048b | 11401 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
dc9f3843 AJ |
11402 | (exit $ac_status); } && { |
11403 | test -z "$ac_c_werror_flag" || | |
11404 | test ! -s conftest.err | |
a3097628 AJ |
11405 | } && test -s conftest.$ac_objext; then |
11406 | eval "$as_ac_Header=yes" | |
b18b9f37 | 11407 | else |
abf5048b | 11408 | $as_echo "$as_me: failed program was:" >&5 |
b18b9f37 AJ |
11409 | sed 's/^/| /' conftest.$ac_ext >&5 |
11410 | ||
a3097628 | 11411 | eval "$as_ac_Header=no" |
b18b9f37 | 11412 | fi |
fc6ffb29 | 11413 | |
a3097628 | 11414 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
b18b9f37 | 11415 | fi |
abf5048b AJ |
11416 | ac_res=`eval 'as_val=${'$as_ac_Header'} |
11417 | $as_echo "$as_val"'` | |
11418 | { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 | |
11419 | $as_echo "$ac_res" >&6; } | |
11420 | as_val=`eval 'as_val=${'$as_ac_Header'} | |
11421 | $as_echo "$as_val"'` | |
11422 | if test "x$as_val" = x""yes; then | |
a3097628 | 11423 | cat >>confdefs.h <<_ACEOF |
abf5048b | 11424 | #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 |
00068989 AJ |
11425 | _ACEOF |
11426 | ||
2d6d4e96 HL |
11427 | fi |
11428 | ||
a3097628 | 11429 | done |
2d6d4e96 | 11430 | |
a3097628 AJ |
11431 | if test "$ac_cv_header_GL_gl_h" = "yes" -a "$ac_cv_header_GL_glx_h" = "yes" |
11432 | then | |
abf5048b AJ |
11433 | { $as_echo "$as_me:$LINENO: checking for up-to-date OpenGL version" >&5 |
11434 | $as_echo_n "checking for up-to-date OpenGL version... " >&6; } | |
a3097628 | 11435 | if test "${wine_cv_opengl_header_version_OK+set}" = set; then |
abf5048b | 11436 | $as_echo_n "(cached) " >&6 |
2d6d4e96 | 11437 | else |
a3097628 | 11438 | cat >conftest.$ac_ext <<_ACEOF |
2d6d4e96 HL |
11439 | /* confdefs.h. */ |
11440 | _ACEOF | |
11441 | cat confdefs.h >>conftest.$ac_ext | |
11442 | cat >>conftest.$ac_ext <<_ACEOF | |
11443 | /* end confdefs.h. */ | |
a3097628 | 11444 | #include <GL/gl.h> |
2d6d4e96 HL |
11445 | int |
11446 | main () | |
11447 | { | |
a3097628 | 11448 | GLenum test = GL_UNSIGNED_SHORT_5_6_5; |
2d6d4e96 HL |
11449 | ; |
11450 | return 0; | |
11451 | } | |
11452 | _ACEOF | |
a3097628 AJ |
11453 | rm -f conftest.$ac_objext |
11454 | if { (ac_try="$ac_compile" | |
0ebeb530 JW |
11455 | case "(($ac_try" in |
11456 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
11457 | *) ac_try_echo=$ac_try;; | |
11458 | esac | |
abf5048b AJ |
11459 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
11460 | $as_echo "$ac_try_echo") >&5 | |
a3097628 | 11461 | (eval "$ac_compile") 2>conftest.er1 |
2d6d4e96 HL |
11462 | ac_status=$? |
11463 | grep -v '^ *+' conftest.er1 >conftest.err | |
11464 | rm -f conftest.er1 | |
11465 | cat conftest.err >&5 | |
abf5048b | 11466 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
dc9f3843 AJ |
11467 | (exit $ac_status); } && { |
11468 | test -z "$ac_c_werror_flag" || | |
11469 | test ! -s conftest.err | |
a3097628 AJ |
11470 | } && test -s conftest.$ac_objext; then |
11471 | wine_cv_opengl_header_version_OK="yes" | |
2d6d4e96 | 11472 | else |
abf5048b | 11473 | $as_echo "$as_me: failed program was:" >&5 |
2d6d4e96 HL |
11474 | sed 's/^/| /' conftest.$ac_ext >&5 |
11475 | ||
a3097628 | 11476 | wine_cv_opengl_header_version_OK="no" |
2d6d4e96 | 11477 | fi |
fc6ffb29 | 11478 | |
a3097628 | 11479 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
2d6d4e96 | 11480 | fi |
abf5048b AJ |
11481 | { $as_echo "$as_me:$LINENO: result: $wine_cv_opengl_header_version_OK" >&5 |
11482 | $as_echo "$wine_cv_opengl_header_version_OK" >&6; } | |
2d6d4e96 | 11483 | |
a3097628 AJ |
11484 | if test "$wine_cv_opengl_header_version_OK" = "yes" |
11485 | then | |
abf5048b AJ |
11486 | { $as_echo "$as_me:$LINENO: checking for -lGL" >&5 |
11487 | $as_echo_n "checking for -lGL... " >&6; } | |
31353e1e | 11488 | if test "${ac_cv_lib_soname_GL+set}" = set; then |
abf5048b | 11489 | $as_echo_n "(cached) " >&6 |
2d6d4e96 | 11490 | else |
31353e1e | 11491 | ac_check_soname_save_LIBS=$LIBS |
a3097628 | 11492 | LIBS="-lGL $X_LIBS -lXext -lX11 -lm $X_EXTRA_LIBS $LIBS" |
31353e1e | 11493 | cat >conftest.$ac_ext <<_ACEOF |
2d6d4e96 HL |
11494 | /* confdefs.h. */ |
11495 | _ACEOF | |
11496 | cat confdefs.h >>conftest.$ac_ext | |
11497 | cat >>conftest.$ac_ext <<_ACEOF | |
11498 | /* end confdefs.h. */ | |
11499 | ||
fc6ffb29 AJ |
11500 | /* Override any GCC internal prototype to avoid an error. |
11501 | Use char because int might match the return type of a GCC | |
11502 | builtin and then its argument prototype would still apply. */ | |
2d6d4e96 HL |
11503 | #ifdef __cplusplus |
11504 | extern "C" | |
11505 | #endif | |
a3097628 | 11506 | char glXCreateContext (); |
2d6d4e96 HL |
11507 | int |
11508 | main () | |
11509 | { | |
a3097628 | 11510 | return glXCreateContext (); |
2d6d4e96 HL |
11511 | ; |
11512 | return 0; | |
11513 | } | |
11514 | _ACEOF | |
11515 | rm -f conftest.$ac_objext conftest$ac_exeext | |
0ebeb530 JW |
11516 | if { (ac_try="$ac_link" |
11517 | case "(($ac_try" in | |
11518 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
11519 | *) ac_try_echo=$ac_try;; | |
11520 | esac | |
abf5048b AJ |
11521 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
11522 | $as_echo "$ac_try_echo") >&5 | |
0ebeb530 | 11523 | (eval "$ac_link") 2>conftest.er1 |
2d6d4e96 HL |
11524 | ac_status=$? |
11525 | grep -v '^ *+' conftest.er1 >conftest.err | |
11526 | rm -f conftest.er1 | |
11527 | cat conftest.err >&5 | |
abf5048b | 11528 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
dc9f3843 AJ |
11529 | (exit $ac_status); } && { |
11530 | test -z "$ac_c_werror_flag" || | |
11531 | test ! -s conftest.err | |
abf5048b AJ |
11532 | } && test -s conftest$ac_exeext && { |
11533 | test "$cross_compiling" = yes || | |
11534 | $as_test_x conftest$ac_exeext | |
11535 | }; then | |
31353e1e AJ |
11536 | case "$LIBEXT" in |
11537 | dll) ;; | |
11538 | dylib) ac_cv_lib_soname_GL=`otool -L conftest$ac_exeext | grep "libGL\\.[0-9A-Za-z.]*dylib" | sed -e "s/^.*\/\(libGL\.[0-9A-Za-z.]*dylib\).*$/\1/"';2,$d'` ;; | |
11539 | *) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;; | |
11540 | esac | |
2d6d4e96 | 11541 | else |
abf5048b | 11542 | $as_echo "$as_me: failed program was:" >&5 |
2d6d4e96 HL |
11543 | sed 's/^/| /' conftest.$ac_ext >&5 |
11544 | ||
31353e1e | 11545 | |
d701ee22 FG |
11546 | fi |
11547 | ||
abf5048b | 11548 | rm -rf conftest.dSYM |
d701ee22 FG |
11549 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ |
11550 | conftest$ac_exeext conftest.$ac_ext | |
11551 | LIBS=$ac_check_soname_save_LIBS | |
11552 | fi | |
11553 | if test "x$ac_cv_lib_soname_GL" = "x"; then | |
abf5048b AJ |
11554 | { $as_echo "$as_me:$LINENO: result: not found" >&5 |
11555 | $as_echo "not found" >&6; } | |
11556 | { $as_echo "$as_me:$LINENO: checking for -lGL" >&5 | |
11557 | $as_echo_n "checking for -lGL... " >&6; } | |
d701ee22 | 11558 | if test "${ac_cv_lib_soname_GL+set}" = set; then |
abf5048b | 11559 | $as_echo_n "(cached) " >&6 |
d701ee22 FG |
11560 | else |
11561 | ac_check_soname_save_LIBS=$LIBS | |
11562 | LIBS="-lGL $X_LIBS -lXext -lX11 -lm $X_EXTRA_LIBS -dylib_file /System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGL.dylib:/System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGL.dylib $LIBS" | |
11563 | cat >conftest.$ac_ext <<_ACEOF | |
11564 | /* confdefs.h. */ | |
11565 | _ACEOF | |
11566 | cat confdefs.h >>conftest.$ac_ext | |
11567 | cat >>conftest.$ac_ext <<_ACEOF | |
11568 | /* end confdefs.h. */ | |
11569 | ||
11570 | /* Override any GCC internal prototype to avoid an error. | |
11571 | Use char because int might match the return type of a GCC | |
11572 | builtin and then its argument prototype would still apply. */ | |
11573 | #ifdef __cplusplus | |
11574 | extern "C" | |
11575 | #endif | |
11576 | char glXCreateContext (); | |
11577 | int | |
11578 | main () | |
11579 | { | |
11580 | return glXCreateContext (); | |
11581 | ; | |
11582 | return 0; | |
11583 | } | |
11584 | _ACEOF | |
11585 | rm -f conftest.$ac_objext conftest$ac_exeext | |
11586 | if { (ac_try="$ac_link" | |
11587 | case "(($ac_try" in | |
11588 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
11589 | *) ac_try_echo=$ac_try;; | |
11590 | esac | |
abf5048b AJ |
11591 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
11592 | $as_echo "$ac_try_echo") >&5 | |
d701ee22 FG |
11593 | (eval "$ac_link") 2>conftest.er1 |
11594 | ac_status=$? | |
11595 | grep -v '^ *+' conftest.er1 >conftest.err | |
11596 | rm -f conftest.er1 | |
11597 | cat conftest.err >&5 | |
abf5048b | 11598 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
d701ee22 FG |
11599 | (exit $ac_status); } && { |
11600 | test -z "$ac_c_werror_flag" || | |
11601 | test ! -s conftest.err | |
abf5048b AJ |
11602 | } && test -s conftest$ac_exeext && { |
11603 | test "$cross_compiling" = yes || | |
11604 | $as_test_x conftest$ac_exeext | |
11605 | }; then | |
d701ee22 FG |
11606 | case "$LIBEXT" in |
11607 | dll) ;; | |
11608 | dylib) ac_cv_lib_soname_GL=`otool -L conftest$ac_exeext | grep "libGL\\.[0-9A-Za-z.]*dylib" | sed -e "s/^.*\/\(libGL\.[0-9A-Za-z.]*dylib\).*$/\1/"';2,$d'` ;; | |
11609 | *) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;; | |
11610 | esac | |
11611 | else | |
abf5048b | 11612 | $as_echo "$as_me: failed program was:" >&5 |
d701ee22 FG |
11613 | sed 's/^/| /' conftest.$ac_ext >&5 |
11614 | ||
11615 | ||
2d6d4e96 | 11616 | fi |
fc6ffb29 | 11617 | |
abf5048b | 11618 | rm -rf conftest.dSYM |
f0ca586f | 11619 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ |
2d6d4e96 | 11620 | conftest$ac_exeext conftest.$ac_ext |
31353e1e | 11621 | LIBS=$ac_check_soname_save_LIBS |
2d6d4e96 | 11622 | fi |
31353e1e | 11623 | if test "x$ac_cv_lib_soname_GL" = "x"; then |
abf5048b AJ |
11624 | { $as_echo "$as_me:$LINENO: result: not found" >&5 |
11625 | $as_echo "not found" >&6; } | |
f9dec94f | 11626 | if test -f /usr/X11R6/lib/libGL.a |
d701ee22 | 11627 | then |
a41f0f1b | 11628 | opengl_msg="/usr/X11R6/lib/libGL.a is present on your system. |
f9dec94f | 11629 | This probably prevents linking to OpenGL. Try deleting the file and restarting configure." |
d701ee22 | 11630 | else |
a41f0f1b | 11631 | opengl_msg="No OpenGL library found on this system." |
d701ee22 FG |
11632 | fi |
11633 | else | |
abf5048b AJ |
11634 | { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_soname_GL" >&5 |
11635 | $as_echo "$ac_cv_lib_soname_GL" >&6; } | |
d701ee22 FG |
11636 | |
11637 | cat >>confdefs.h <<_ACEOF | |
11638 | #define SONAME_LIBGL "$ac_cv_lib_soname_GL" | |
11639 | _ACEOF | |
11640 | ||
11641 | OPENGL_LIBS="-Xlinker -dylib_file -Xlinker /System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGL.dylib:/System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGL.dylib -lGL" | |
d701ee22 FG |
11642 | |
11643 | cat >>confdefs.h <<\_ACEOF | |
11644 | #define HAVE_OPENGL 1 | |
11645 | _ACEOF | |
11646 | ||
11647 | fi | |
11648 | ||
31353e1e | 11649 | else |
abf5048b AJ |
11650 | { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_soname_GL" >&5 |
11651 | $as_echo "$ac_cv_lib_soname_GL" >&6; } | |
31353e1e AJ |
11652 | |
11653 | cat >>confdefs.h <<_ACEOF | |
11654 | #define SONAME_LIBGL "$ac_cv_lib_soname_GL" | |
11655 | _ACEOF | |
11656 | ||
11657 | OPENGL_LIBS="-lGL" | |
a3097628 AJ |
11658 | |
11659 | cat >>confdefs.h <<\_ACEOF | |
11660 | #define HAVE_OPENGL 1 | |
11661 | _ACEOF | |
11662 | ||
8f1d42eb | 11663 | fi |
f5f37a85 | 11664 | |
ad798735 AJ |
11665 | if test "$ac_cv_header_GL_glu_h" = "yes" |
11666 | then | |
abf5048b AJ |
11667 | { $as_echo "$as_me:$LINENO: checking for -lGLU" >&5 |
11668 | $as_echo_n "checking for -lGLU... " >&6; } | |
ad798735 | 11669 | if test "${ac_cv_lib_soname_GLU+set}" = set; then |
abf5048b | 11670 | $as_echo_n "(cached) " >&6 |
f5f37a85 | 11671 | else |
ad798735 | 11672 | ac_check_soname_save_LIBS=$LIBS |
f9dec94f | 11673 | LIBS="-lGLU $OPENGL_LIBS $X_LIBS $X_PRE_LIBS -lXext -lX11 -lm $X_EXTRA_LIBS $LIBS" |
ad798735 | 11674 | cat >conftest.$ac_ext <<_ACEOF |
f5f37a85 AJ |
11675 | /* confdefs.h. */ |
11676 | _ACEOF | |
11677 | cat confdefs.h >>conftest.$ac_ext | |
11678 | cat >>conftest.$ac_ext <<_ACEOF | |
11679 | /* end confdefs.h. */ | |
f5f37a85 AJ |
11680 | |
11681 | /* Override any GCC internal prototype to avoid an error. | |
11682 | Use char because int might match the return type of a GCC | |
11683 | builtin and then its argument prototype would still apply. */ | |
11684 | #ifdef __cplusplus | |
11685 | extern "C" | |
11686 | #endif | |
a3097628 | 11687 | char gluLookAt (); |
f5f37a85 AJ |
11688 | int |
11689 | main () | |
11690 | { | |
a3097628 | 11691 | return gluLookAt (); |
f5f37a85 AJ |
11692 | ; |
11693 | return 0; | |
11694 | } | |
11695 | _ACEOF | |
11696 | rm -f conftest.$ac_objext conftest$ac_exeext | |
11697 | if { (ac_try="$ac_link" | |
11698 | case "(($ac_try" in | |
11699 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
11700 | *) ac_try_echo=$ac_try;; | |
11701 | esac | |
abf5048b AJ |
11702 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
11703 | $as_echo "$ac_try_echo") >&5 | |
f5f37a85 AJ |
11704 | (eval "$ac_link") 2>conftest.er1 |
11705 | ac_status=$? | |
11706 | grep -v '^ *+' conftest.er1 >conftest.err | |
11707 | rm -f conftest.er1 | |
11708 | cat conftest.err >&5 | |
abf5048b | 11709 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
dc9f3843 AJ |
11710 | (exit $ac_status); } && { |
11711 | test -z "$ac_c_werror_flag" || | |
11712 | test ! -s conftest.err | |
abf5048b AJ |
11713 | } && test -s conftest$ac_exeext && { |
11714 | test "$cross_compiling" = yes || | |
11715 | $as_test_x conftest$ac_exeext | |
11716 | }; then | |
ad798735 AJ |
11717 | case "$LIBEXT" in |
11718 | dll) ;; | |
11719 | dylib) ac_cv_lib_soname_GLU=`otool -L conftest$ac_exeext | grep "libGLU\\.[0-9A-Za-z.]*dylib" | sed -e "s/^.*\/\(libGLU\.[0-9A-Za-z.]*dylib\).*$/\1/"';2,$d'` ;; | |
11720 | *) ac_cv_lib_soname_GLU=`$ac_cv_path_LDD conftest$ac_exeext | grep "libGLU\\.$LIBEXT" | sed -e "s/^.*\(libGLU\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;; | |
11721 | esac | |
a3097628 | 11722 | else |
abf5048b | 11723 | $as_echo "$as_me: failed program was:" >&5 |
a3097628 | 11724 | sed 's/^/| /' conftest.$ac_ext >&5 |
73482144 | 11725 | |
ad798735 | 11726 | |
73482144 | 11727 | fi |
a3097628 | 11728 | |
abf5048b | 11729 | rm -rf conftest.dSYM |
a3097628 AJ |
11730 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ |
11731 | conftest$ac_exeext conftest.$ac_ext | |
ad798735 | 11732 | LIBS=$ac_check_soname_save_LIBS |
73482144 | 11733 | fi |
ad798735 | 11734 | if test "x$ac_cv_lib_soname_GLU" = "x"; then |
abf5048b AJ |
11735 | { $as_echo "$as_me:$LINENO: result: not found" >&5 |
11736 | $as_echo "not found" >&6; } | |
a3097628 | 11737 | |
ad798735 | 11738 | else |
abf5048b AJ |
11739 | { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_soname_GLU" >&5 |
11740 | $as_echo "$ac_cv_lib_soname_GLU" >&6; } | |
ad798735 AJ |
11741 | |
11742 | cat >>confdefs.h <<_ACEOF | |
11743 | #define SONAME_LIBGLU "$ac_cv_lib_soname_GLU" | |
11744 | _ACEOF | |
11745 | ||
dbb535e4 | 11746 | |
ad798735 AJ |
11747 | fi |
11748 | ||
11749 | fi | |
11750 | if test "x$ac_cv_lib_soname_GLU" = "x"; then | |
11751 | case "x$with_glu" in | |
93f094c5 | 11752 | x) wine_notices="$wine_notices|libGLU ${notice_platform}development files not found, GLU won't be supported." ;; |
ad798735 | 11753 | xno) ;; |
abf5048b | 11754 | *) { { $as_echo "$as_me:$LINENO: error: libGLU ${notice_platform}development files not found, GLU won't be supported. |
ad798735 | 11755 | This is an error since --with-glu was requested." >&5 |
abf5048b | 11756 | $as_echo "$as_me: error: libGLU ${notice_platform}development files not found, GLU won't be supported. |
ad798735 AJ |
11757 | This is an error since --with-glu was requested." >&2;} |
11758 | { (exit 1); exit 1; }; } ;; | |
11759 | esac | |
73482144 AJ |
11760 | fi |
11761 | ||
f9dec94f | 11762 | else |
a41f0f1b | 11763 | opengl_msg="Old Mesa headers detected. Consider upgrading your Mesa libraries." |
a3097628 AJ |
11764 | fi |
11765 | else | |
a41f0f1b | 11766 | opengl_msg="OpenGL development headers not found." |
a3097628 | 11767 | fi |
8e9504da AJ |
11768 | test -n "$opengl_msg" && enable_opengl32=${enable_opengl32:-no} |
11769 | test "x$ac_cv_lib_soname_GLU" = "x" && enable_glu32=${enable_glu32:-no} | |
11770 | else | |
11771 | enable_opengl32=${enable_opengl32:-no} | |
11772 | enable_glu32=${enable_glu32:-no} | |
a3097628 | 11773 | fi |
a41f0f1b AJ |
11774 | if test -n "$opengl_msg"; then |
11775 | case "x$with_opengl" in | |
11776 | x) wine_warnings="$wine_warnings|$opengl_msg | |
11777 | OpenGL and Direct3D won't be supported." ;; | |
11778 | xno) ;; | |
abf5048b | 11779 | *) { { $as_echo "$as_me:$LINENO: error: $opengl_msg |
a41f0f1b AJ |
11780 | OpenGL and Direct3D won't be supported. |
11781 | This is an error since --with-opengl was requested." >&5 | |
abf5048b | 11782 | $as_echo "$as_me: error: $opengl_msg |
a41f0f1b AJ |
11783 | OpenGL and Direct3D won't be supported. |
11784 | This is an error since --with-opengl was requested." >&2;} | |
11785 | { (exit 1); exit 1; }; } ;; | |
11786 | esac | |
11787 | fi | |
11788 | ||
f9dec94f | 11789 | |
a3097628 | 11790 | NASLIBS="" |
fc6ffb29 | 11791 | |
82776020 | 11792 | |
a3097628 AJ |
11793 | for ac_header in audio/audiolib.h |
11794 | do | |
abf5048b | 11795 | as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` |
a3097628 | 11796 | if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then |
abf5048b AJ |
11797 | { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 |
11798 | $as_echo_n "checking for $ac_header... " >&6; } | |
a3097628 | 11799 | if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then |
abf5048b | 11800 | $as_echo_n "(cached) " >&6 |
daa2886c | 11801 | fi |
abf5048b AJ |
11802 | ac_res=`eval 'as_val=${'$as_ac_Header'} |
11803 | $as_echo "$as_val"'` | |
11804 | { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 | |
11805 | $as_echo "$ac_res" >&6; } | |
f5818d2f | 11806 | else |
daa2886c | 11807 | # Is the header compilable? |
abf5048b AJ |
11808 | { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5 |
11809 | $as_echo_n "checking $ac_header usability... " >&6; } | |
daa2886c | 11810 | cat >conftest.$ac_ext <<_ACEOF |
e24bcc77 AJ |
11811 | /* confdefs.h. */ |
11812 | _ACEOF | |
11813 | cat confdefs.h >>conftest.$ac_ext | |
11814 | cat >>conftest.$ac_ext <<_ACEOF | |
11815 | /* end confdefs.h. */ | |
daa2886c | 11816 | $ac_includes_default |
a3097628 | 11817 | #include <$ac_header> |
daa2886c AJ |
11818 | _ACEOF |
11819 | rm -f conftest.$ac_objext | |
0ebeb530 JW |
11820 | if { (ac_try="$ac_compile" |
11821 | case "(($ac_try" in | |
11822 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
11823 | *) ac_try_echo=$ac_try;; | |
11824 | esac | |
abf5048b AJ |
11825 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
11826 | $as_echo "$ac_try_echo") >&5 | |
0ebeb530 | 11827 | (eval "$ac_compile") 2>conftest.er1 |
daa2886c | 11828 | ac_status=$? |
875927f6 AJ |
11829 | grep -v '^ *+' conftest.er1 >conftest.err |
11830 | rm -f conftest.er1 | |
11831 | cat conftest.err >&5 | |
abf5048b | 11832 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
dc9f3843 AJ |
11833 | (exit $ac_status); } && { |
11834 | test -z "$ac_c_werror_flag" || | |
11835 | test ! -s conftest.err | |
11836 | } && test -s conftest.$ac_objext; then | |
daa2886c AJ |
11837 | ac_header_compiler=yes |
11838 | else | |
abf5048b | 11839 | $as_echo "$as_me: failed program was:" >&5 |
e24bcc77 AJ |
11840 | sed 's/^/| /' conftest.$ac_ext >&5 |
11841 | ||
fc6ffb29 | 11842 | ac_header_compiler=no |
daa2886c | 11843 | fi |
fc6ffb29 | 11844 | |
0ebeb530 | 11845 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
abf5048b AJ |
11846 | { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 |
11847 | $as_echo "$ac_header_compiler" >&6; } | |
daa2886c AJ |
11848 | |
11849 | # Is the header present? | |
abf5048b AJ |
11850 | { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5 |
11851 | $as_echo_n "checking $ac_header presence... " >&6; } | |
daa2886c | 11852 | cat >conftest.$ac_ext <<_ACEOF |
e24bcc77 AJ |
11853 | /* confdefs.h. */ |
11854 | _ACEOF | |
11855 | cat confdefs.h >>conftest.$ac_ext | |
11856 | cat >>conftest.$ac_ext <<_ACEOF | |
11857 | /* end confdefs.h. */ | |
a3097628 | 11858 | #include <$ac_header> |
f5818d2f | 11859 | _ACEOF |
0ebeb530 JW |
11860 | if { (ac_try="$ac_cpp conftest.$ac_ext" |
11861 | case "(($ac_try" in | |
11862 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
11863 | *) ac_try_echo=$ac_try;; | |
11864 | esac | |
abf5048b AJ |
11865 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
11866 | $as_echo "$ac_try_echo") >&5 | |
0ebeb530 | 11867 | (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 |
f5818d2f | 11868 | ac_status=$? |
11af04e3 | 11869 | grep -v '^ *+' conftest.er1 >conftest.err |
f5818d2f AJ |
11870 | rm -f conftest.er1 |
11871 | cat conftest.err >&5 | |
abf5048b | 11872 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
dc9f3843 AJ |
11873 | (exit $ac_status); } >/dev/null && { |
11874 | test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || | |
11875 | test ! -s conftest.err | |
11876 | }; then | |
daa2886c | 11877 | ac_header_preproc=yes |
f5818d2f | 11878 | else |
abf5048b | 11879 | $as_echo "$as_me: failed program was:" >&5 |
e24bcc77 AJ |
11880 | sed 's/^/| /' conftest.$ac_ext >&5 |
11881 | ||
daa2886c | 11882 | ac_header_preproc=no |
24110288 | 11883 | fi |
fc6ffb29 | 11884 | |
f5818d2f | 11885 | rm -f conftest.err conftest.$ac_ext |
abf5048b AJ |
11886 | { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 |
11887 | $as_echo "$ac_header_preproc" >&6; } | |
daa2886c AJ |
11888 | |
11889 | # So? What about this header? | |
875927f6 AJ |
11890 | case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in |
11891 | yes:no: ) | |
abf5048b AJ |
11892 | { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 |
11893 | $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} | |
11894 | { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 | |
11895 | $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} | |
875927f6 | 11896 | ac_header_preproc=yes |
e24bcc77 | 11897 | ;; |
875927f6 | 11898 | no:yes:* ) |
abf5048b AJ |
11899 | { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 |
11900 | $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} | |
11901 | { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 | |
11902 | $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} | |
11903 | { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 | |
11904 | $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} | |
11905 | { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 | |
11906 | $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} | |
11907 | { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 | |
11908 | $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} | |
11909 | { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 | |
11910 | $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} | |
fc6ffb29 | 11911 | ( cat <<\_ASBOX |
e24bcc77 | 11912 | ## ------------------------------------ ## |
875927f6 | 11913 | ## Report this to wine-devel@winehq.org ## |
e24bcc77 AJ |
11914 | ## ------------------------------------ ## |
11915 | _ASBOX | |
fc6ffb29 | 11916 | ) | sed "s/^/$as_me: WARNING: /" >&2 |
e24bcc77 | 11917 | ;; |
daa2886c | 11918 | esac |
abf5048b AJ |
11919 | { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 |
11920 | $as_echo_n "checking for $ac_header... " >&6; } | |
a3097628 | 11921 | if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then |
abf5048b | 11922 | $as_echo_n "(cached) " >&6 |
daa2886c | 11923 | else |
a3097628 | 11924 | eval "$as_ac_Header=\$ac_header_preproc" |
24110288 | 11925 | fi |
abf5048b AJ |
11926 | ac_res=`eval 'as_val=${'$as_ac_Header'} |
11927 | $as_echo "$as_val"'` | |
11928 | { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 | |
11929 | $as_echo "$ac_res" >&6; } | |
daa2886c AJ |
11930 | |
11931 | fi | |
abf5048b AJ |
11932 | as_val=`eval 'as_val=${'$as_ac_Header'} |
11933 | $as_echo "$as_val"'` | |
11934 | if test "x$as_val" = x""yes; then | |
a3097628 | 11935 | cat >>confdefs.h <<_ACEOF |
abf5048b | 11936 | #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 |
daa2886c | 11937 | _ACEOF |
e884f9ca | 11938 | |
a3097628 | 11939 | for ac_header in audio/soundlib.h |
40e7ef3a | 11940 | do |
abf5048b AJ |
11941 | as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` |
11942 | { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 | |
11943 | $as_echo_n "checking for $ac_header... " >&6; } | |
a3097628 | 11944 | if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then |
abf5048b | 11945 | $as_echo_n "(cached) " >&6 |
40e7ef3a | 11946 | else |
a3097628 | 11947 | cat >conftest.$ac_ext <<_ACEOF |
40e7ef3a MM |
11948 | /* confdefs.h. */ |
11949 | _ACEOF | |
11950 | cat confdefs.h >>conftest.$ac_ext | |
11951 | cat >>conftest.$ac_ext <<_ACEOF | |
11952 | /* end confdefs.h. */ | |
a3097628 AJ |
11953 | #include <audio/audiolib.h> |
11954 | ||
11955 | #include <$ac_header> | |
40e7ef3a MM |
11956 | _ACEOF |
11957 | rm -f conftest.$ac_objext | |
0ebeb530 JW |
11958 | if { (ac_try="$ac_compile" |
11959 | case "(($ac_try" in | |
11960 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
11961 | *) ac_try_echo=$ac_try;; | |
11962 | esac | |
abf5048b AJ |
11963 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
11964 | $as_echo "$ac_try_echo") >&5 | |
0ebeb530 | 11965 | (eval "$ac_compile") 2>conftest.er1 |
40e7ef3a MM |
11966 | ac_status=$? |
11967 | grep -v '^ *+' conftest.er1 >conftest.err | |
11968 | rm -f conftest.er1 | |
11969 | cat conftest.err >&5 | |
abf5048b | 11970 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
dc9f3843 AJ |
11971 | (exit $ac_status); } && { |
11972 | test -z "$ac_c_werror_flag" || | |
11973 | test ! -s conftest.err | |
11974 | } && test -s conftest.$ac_objext; then | |
a3097628 | 11975 | eval "$as_ac_Header=yes" |
40e7ef3a | 11976 | else |
abf5048b | 11977 | $as_echo "$as_me: failed program was:" >&5 |
40e7ef3a MM |
11978 | sed 's/^/| /' conftest.$ac_ext >&5 |
11979 | ||
a3097628 | 11980 | eval "$as_ac_Header=no" |
40e7ef3a | 11981 | fi |
fc6ffb29 | 11982 | |
0ebeb530 | 11983 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
a3097628 | 11984 | fi |
abf5048b AJ |
11985 | ac_res=`eval 'as_val=${'$as_ac_Header'} |
11986 | $as_echo "$as_val"'` | |
11987 | { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 | |
11988 | $as_echo "$ac_res" >&6; } | |
11989 | as_val=`eval 'as_val=${'$as_ac_Header'} | |
11990 | $as_echo "$as_val"'` | |
11991 | if test "x$as_val" = x""yes; then | |
a3097628 | 11992 | cat >>confdefs.h <<_ACEOF |
abf5048b | 11993 | #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 |
a3097628 AJ |
11994 | _ACEOF |
11995 | ||
11996 | fi | |
11997 | ||
11998 | done | |
40e7ef3a | 11999 | |
abf5048b AJ |
12000 | { $as_echo "$as_me:$LINENO: checking for AuCreateFlow in -laudio" >&5 |
12001 | $as_echo_n "checking for AuCreateFlow in -laudio... " >&6; } | |
a3097628 | 12002 | if test "${ac_cv_lib_audio_AuCreateFlow+set}" = set; then |
abf5048b | 12003 | $as_echo_n "(cached) " >&6 |
a3097628 AJ |
12004 | else |
12005 | ac_check_lib_save_LIBS=$LIBS | |
12006 | LIBS="-laudio -lXt $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS" | |
40e7ef3a MM |
12007 | cat >conftest.$ac_ext <<_ACEOF |
12008 | /* confdefs.h. */ | |
12009 | _ACEOF | |
12010 | cat confdefs.h >>conftest.$ac_ext | |
12011 | cat >>conftest.$ac_ext <<_ACEOF | |
12012 | /* end confdefs.h. */ | |
a3097628 AJ |
12013 | |
12014 | /* Override any GCC internal prototype to avoid an error. | |
12015 | Use char because int might match the return type of a GCC | |
12016 | builtin and then its argument prototype would still apply. */ | |
12017 | #ifdef __cplusplus | |
12018 | extern "C" | |
12019 | #endif | |
12020 | char AuCreateFlow (); | |
12021 | int | |
12022 | main () | |
12023 | { | |
12024 | return AuCreateFlow (); | |
12025 | ; | |
12026 | return 0; | |
12027 | } | |
40e7ef3a | 12028 | _ACEOF |
a3097628 AJ |
12029 | rm -f conftest.$ac_objext conftest$ac_exeext |
12030 | if { (ac_try="$ac_link" | |
0ebeb530 JW |
12031 | case "(($ac_try" in |
12032 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
12033 | *) ac_try_echo=$ac_try;; | |
12034 | esac | |
abf5048b AJ |
12035 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
12036 | $as_echo "$ac_try_echo") >&5 | |
a3097628 | 12037 | (eval "$ac_link") 2>conftest.er1 |
40e7ef3a MM |
12038 | ac_status=$? |
12039 | grep -v '^ *+' conftest.er1 >conftest.err | |
12040 | rm -f conftest.er1 | |
12041 | cat conftest.err >&5 | |
abf5048b | 12042 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
a3097628 AJ |
12043 | (exit $ac_status); } && { |
12044 | test -z "$ac_c_werror_flag" || | |
dc9f3843 | 12045 | test ! -s conftest.err |
abf5048b AJ |
12046 | } && test -s conftest$ac_exeext && { |
12047 | test "$cross_compiling" = yes || | |
12048 | $as_test_x conftest$ac_exeext | |
12049 | }; then | |
a3097628 | 12050 | ac_cv_lib_audio_AuCreateFlow=yes |
40e7ef3a | 12051 | else |
abf5048b | 12052 | $as_echo "$as_me: failed program was:" >&5 |
40e7ef3a MM |
12053 | sed 's/^/| /' conftest.$ac_ext >&5 |
12054 | ||
a3097628 | 12055 | ac_cv_lib_audio_AuCreateFlow=no |
40e7ef3a | 12056 | fi |
fc6ffb29 | 12057 | |
abf5048b | 12058 | rm -rf conftest.dSYM |
a3097628 AJ |
12059 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ |
12060 | conftest$ac_exeext conftest.$ac_ext | |
12061 | LIBS=$ac_check_lib_save_LIBS | |
40e7ef3a | 12062 | fi |
abf5048b AJ |
12063 | { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_audio_AuCreateFlow" >&5 |
12064 | $as_echo "$ac_cv_lib_audio_AuCreateFlow" >&6; } | |
12065 | if test "x$ac_cv_lib_audio_AuCreateFlow" = x""yes; then | |
40e7ef3a | 12066 | |
a3097628 AJ |
12067 | cat >>confdefs.h <<\_ACEOF |
12068 | #define HAVE_NAS 1 | |
12069 | _ACEOF | |
12070 | ||
abf5048b AJ |
12071 | { $as_echo "$as_me:$LINENO: checking for XauGetBestAuthByAddr in -lXau" >&5 |
12072 | $as_echo_n "checking for XauGetBestAuthByAddr in -lXau... " >&6; } | |
a3097628 | 12073 | if test "${ac_cv_lib_Xau_XauGetBestAuthByAddr+set}" = set; then |
abf5048b | 12074 | $as_echo_n "(cached) " >&6 |
40e7ef3a MM |
12075 | else |
12076 | ac_check_lib_save_LIBS=$LIBS | |
a3097628 | 12077 | LIBS="-lXau $X_LIBS $LIBS" |
40e7ef3a MM |
12078 | cat >conftest.$ac_ext <<_ACEOF |
12079 | /* confdefs.h. */ | |
12080 | _ACEOF | |
12081 | cat confdefs.h >>conftest.$ac_ext | |
12082 | cat >>conftest.$ac_ext <<_ACEOF | |
12083 | /* end confdefs.h. */ | |
12084 | ||
fc6ffb29 AJ |
12085 | /* Override any GCC internal prototype to avoid an error. |
12086 | Use char because int might match the return type of a GCC | |
12087 | builtin and then its argument prototype would still apply. */ | |
40e7ef3a MM |
12088 | #ifdef __cplusplus |
12089 | extern "C" | |
12090 | #endif | |
a3097628 | 12091 | char XauGetBestAuthByAddr (); |
40e7ef3a MM |
12092 | int |
12093 | main () | |
12094 | { | |
a3097628 | 12095 | return XauGetBestAuthByAddr (); |
40e7ef3a MM |
12096 | ; |
12097 | return 0; | |
12098 | } | |
12099 | _ACEOF | |
12100 | rm -f conftest.$ac_objext conftest$ac_exeext | |
0ebeb530 JW |
12101 | if { (ac_try="$ac_link" |
12102 | case "(($ac_try" in | |
12103 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
12104 | *) ac_try_echo=$ac_try;; | |
12105 | esac | |
abf5048b AJ |
12106 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
12107 | $as_echo "$ac_try_echo") >&5 | |
0ebeb530 | 12108 | (eval "$ac_link") 2>conftest.er1 |
40e7ef3a MM |
12109 | ac_status=$? |
12110 | grep -v '^ *+' conftest.er1 >conftest.err | |
12111 | rm -f conftest.er1 | |
12112 | cat conftest.err >&5 | |
abf5048b | 12113 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
dc9f3843 AJ |
12114 | (exit $ac_status); } && { |
12115 | test -z "$ac_c_werror_flag" || | |
12116 | test ! -s conftest.err | |
abf5048b AJ |
12117 | } && test -s conftest$ac_exeext && { |
12118 | test "$cross_compiling" = yes || | |
12119 | $as_test_x conftest$ac_exeext | |
12120 | }; then | |
a3097628 | 12121 | ac_cv_lib_Xau_XauGetBestAuthByAddr=yes |
40e7ef3a | 12122 | else |
abf5048b | 12123 | $as_echo "$as_me: failed program was:" >&5 |
40e7ef3a MM |
12124 | sed 's/^/| /' conftest.$ac_ext >&5 |
12125 | ||
a3097628 | 12126 | ac_cv_lib_Xau_XauGetBestAuthByAddr=no |
40e7ef3a | 12127 | fi |
fc6ffb29 | 12128 | |
abf5048b | 12129 | rm -rf conftest.dSYM |
f0ca586f | 12130 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ |
40e7ef3a MM |
12131 | conftest$ac_exeext conftest.$ac_ext |
12132 | LIBS=$ac_check_lib_save_LIBS | |
12133 | fi | |
abf5048b AJ |
12134 | { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_Xau_XauGetBestAuthByAddr" >&5 |
12135 | $as_echo "$ac_cv_lib_Xau_XauGetBestAuthByAddr" >&6; } | |
12136 | if test "x$ac_cv_lib_Xau_XauGetBestAuthByAddr" = x""yes; then | |
a3097628 AJ |
12137 | NASLIBS="-lXau -laudio -lXt $X_LIBS -lXext -lX11 $X_EXTRA_LIBS" |
12138 | else | |
12139 | NASLIBS="-laudio -lXt $X_LIBS -lXext -lX11 $X_EXTRA_LIBS" | |
12140 | fi | |
40e7ef3a | 12141 | |
40e7ef3a | 12142 | |
40e7ef3a MM |
12143 | fi |
12144 | ||
40e7ef3a MM |
12145 | fi |
12146 | ||
a3097628 AJ |
12147 | done |
12148 | ||
40e7ef3a | 12149 | |
40e7ef3a | 12150 | CPPFLAGS="$ac_save_CPPFLAGS" |
a3097628 AJ |
12151 | else |
12152 | XLIB="" | |
12153 | X_CFLAGS="" | |
12154 | X_LIBS="" | |
dbb535e4 AJ |
12155 | enable_winex11_drv=${enable_winex11_drv:-no} |
12156 | enable_opengl32=${enable_opengl32:-no} | |
12157 | enable_glu32=${enable_glu32:-no} | |
a41f0f1b AJ |
12158 | fi |
12159 | if test "x$XLIB" = "x"; then | |
12160 | case "x$with_x" in | |
a41f0f1b | 12161 | xno) ;; |
d2c8bfbf | 12162 | *) { { $as_echo "$as_me:$LINENO: error: X ${notice_platform}development files not found. Wine will be built |
f9dec94f | 12163 | without X support, which probably isn't what you want. You will need to install |
d2c8bfbf | 12164 | ${notice_platform}development packages of Xlib/Xfree86 at the very least. |
76adea11 | 12165 | Use the --without-x option if you really want this." >&5 |
d2c8bfbf | 12166 | $as_echo "$as_me: error: X ${notice_platform}development files not found. Wine will be built |
a41f0f1b | 12167 | without X support, which probably isn't what you want. You will need to install |
d2c8bfbf | 12168 | ${notice_platform}development packages of Xlib/Xfree86 at the very least. |
76adea11 | 12169 | Use the --without-x option if you really want this." >&2;} |
a41f0f1b AJ |
12170 | { (exit 1); exit 1; }; } ;; |
12171 | esac | |
40e7ef3a MM |
12172 | fi |
12173 | ||
a3097628 | 12174 | |
a41f0f1b | 12175 | |
a3097628 AJ |
12176 | XML2LIBS="" |
12177 | ||
12178 | XML2INCL="" | |
12179 | ||
a3097628 AJ |
12180 | XSLTINCL="" |
12181 | ||
a41f0f1b | 12182 | if test "x$with_xml" != "xno" |
6b0720f5 | 12183 | then |
a41f0f1b AJ |
12184 | ac_save_CPPFLAGS="$CPPFLAGS" |
12185 | if test "$PKG_CONFIG" != "false" | |
12186 | then | |
12187 | ac_xml_libs="`$PKG_CONFIG --libs libxml-2.0 2>/dev/null`" | |
12188 | ac_xml_cflags="`$PKG_CONFIG --cflags libxml-2.0 2>/dev/null`" | |
12189 | else | |
12190 | ac_xml_libs="`xml2-config --libs 2>/dev/null`" | |
12191 | ac_xml_cflags="`xml2-config --cflags 2>/dev/null`" | |
12192 | fi | |
12193 | CPPFLAGS="$CPPFLAGS $ac_xml_cflags" | |
a3097628 AJ |
12194 | |
12195 | for ac_header in libxml/parser.h | |
12196 | do | |
abf5048b | 12197 | as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` |
a3097628 | 12198 | if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then |
abf5048b AJ |
12199 | { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 |
12200 | $as_echo_n "checking for $ac_header... " >&6; } | |
a3097628 | 12201 | if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then |
abf5048b | 12202 | $as_echo_n "(cached) " >&6 |
a3097628 | 12203 | fi |
abf5048b AJ |
12204 | ac_res=`eval 'as_val=${'$as_ac_Header'} |
12205 | $as_echo "$as_val"'` | |
12206 | { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 | |
12207 | $as_echo "$ac_res" >&6; } | |
a3097628 AJ |
12208 | else |
12209 | # Is the header compilable? | |
abf5048b AJ |
12210 | { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5 |
12211 | $as_echo_n "checking $ac_header usability... " >&6; } | |
a3097628 | 12212 | cat >conftest.$ac_ext <<_ACEOF |
e24bcc77 AJ |
12213 | /* confdefs.h. */ |
12214 | _ACEOF | |
12215 | cat confdefs.h >>conftest.$ac_ext | |
12216 | cat >>conftest.$ac_ext <<_ACEOF | |
12217 | /* end confdefs.h. */ | |
a3097628 AJ |
12218 | $ac_includes_default |
12219 | #include <$ac_header> | |
daa2886c | 12220 | _ACEOF |
a3097628 AJ |
12221 | rm -f conftest.$ac_objext |
12222 | if { (ac_try="$ac_compile" | |
0ebeb530 JW |
12223 | case "(($ac_try" in |
12224 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
12225 | *) ac_try_echo=$ac_try;; | |
12226 | esac | |
abf5048b AJ |
12227 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
12228 | $as_echo "$ac_try_echo") >&5 | |
a3097628 | 12229 | (eval "$ac_compile") 2>conftest.er1 |
daa2886c | 12230 | ac_status=$? |
a3097628 AJ |
12231 | grep -v '^ *+' conftest.er1 >conftest.err |
12232 | rm -f conftest.er1 | |
12233 | cat conftest.err >&5 | |
abf5048b | 12234 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
a3097628 AJ |
12235 | (exit $ac_status); } && { |
12236 | test -z "$ac_c_werror_flag" || | |
12237 | test ! -s conftest.err | |
12238 | } && test -s conftest.$ac_objext; then | |
12239 | ac_header_compiler=yes | |
12240 | else | |
abf5048b | 12241 | $as_echo "$as_me: failed program was:" >&5 |
a3097628 AJ |
12242 | sed 's/^/| /' conftest.$ac_ext >&5 |
12243 | ||
12244 | ac_header_compiler=no | |
12245 | fi | |
12246 | ||
12247 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | |
abf5048b AJ |
12248 | { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 |
12249 | $as_echo "$ac_header_compiler" >&6; } | |
a3097628 AJ |
12250 | |
12251 | # Is the header present? | |
abf5048b AJ |
12252 | { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5 |
12253 | $as_echo_n "checking $ac_header presence... " >&6; } | |
a3097628 AJ |
12254 | cat >conftest.$ac_ext <<_ACEOF |
12255 | /* confdefs.h. */ | |
12256 | _ACEOF | |
12257 | cat confdefs.h >>conftest.$ac_ext | |
12258 | cat >>conftest.$ac_ext <<_ACEOF | |
12259 | /* end confdefs.h. */ | |
12260 | #include <$ac_header> | |
12261 | _ACEOF | |
12262 | if { (ac_try="$ac_cpp conftest.$ac_ext" | |
12263 | case "(($ac_try" in | |
bb168aab AJ |
12264 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
12265 | *) ac_try_echo=$ac_try;; | |
12266 | esac | |
abf5048b AJ |
12267 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
12268 | $as_echo "$ac_try_echo") >&5 | |
a3097628 | 12269 | (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 |
bb168aab | 12270 | ac_status=$? |
a3097628 AJ |
12271 | grep -v '^ *+' conftest.er1 >conftest.err |
12272 | rm -f conftest.er1 | |
12273 | cat conftest.err >&5 | |
abf5048b | 12274 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
a3097628 AJ |
12275 | (exit $ac_status); } >/dev/null && { |
12276 | test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || | |
12277 | test ! -s conftest.err | |
12278 | }; then | |
12279 | ac_header_preproc=yes | |
6b0720f5 | 12280 | else |
abf5048b | 12281 | $as_echo "$as_me: failed program was:" >&5 |
e24bcc77 AJ |
12282 | sed 's/^/| /' conftest.$ac_ext >&5 |
12283 | ||
a3097628 | 12284 | ac_header_preproc=no |
6b0720f5 | 12285 | fi |
fc6ffb29 | 12286 | |
a3097628 | 12287 | rm -f conftest.err conftest.$ac_ext |
abf5048b AJ |
12288 | { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 |
12289 | $as_echo "$ac_header_preproc" >&6; } | |
bb168aab | 12290 | |
a3097628 AJ |
12291 | # So? What about this header? |
12292 | case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in | |
12293 | yes:no: ) | |
abf5048b AJ |
12294 | { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 |
12295 | $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} | |
12296 | { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 | |
12297 | $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} | |
a3097628 AJ |
12298 | ac_header_preproc=yes |
12299 | ;; | |
12300 | no:yes:* ) | |
abf5048b AJ |
12301 | { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 |
12302 | $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} | |
12303 | { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 | |
12304 | $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} | |
12305 | { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 | |
12306 | $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} | |
12307 | { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 | |
12308 | $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} | |
12309 | { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 | |
12310 | $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} | |
12311 | { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 | |
12312 | $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} | |
a3097628 AJ |
12313 | ( cat <<\_ASBOX |
12314 | ## ------------------------------------ ## | |
12315 | ## Report this to wine-devel@winehq.org ## | |
12316 | ## ------------------------------------ ## | |
12317 | _ASBOX | |
12318 | ) | sed "s/^/$as_me: WARNING: /" >&2 | |
12319 | ;; | |
12320 | esac | |
abf5048b AJ |
12321 | { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 |
12322 | $as_echo_n "checking for $ac_header... " >&6; } | |
a3097628 | 12323 | if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then |
abf5048b | 12324 | $as_echo_n "(cached) " >&6 |
a3097628 AJ |
12325 | else |
12326 | eval "$as_ac_Header=\$ac_header_preproc" | |
6b0720f5 | 12327 | fi |
abf5048b AJ |
12328 | ac_res=`eval 'as_val=${'$as_ac_Header'} |
12329 | $as_echo "$as_val"'` | |
12330 | { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 | |
12331 | $as_echo "$ac_res" >&6; } | |
daa2886c | 12332 | |
a3097628 | 12333 | fi |
abf5048b AJ |
12334 | as_val=`eval 'as_val=${'$as_ac_Header'} |
12335 | $as_echo "$as_val"'` | |
12336 | if test "x$as_val" = x""yes; then | |
a3097628 | 12337 | cat >>confdefs.h <<_ACEOF |
abf5048b | 12338 | #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 |
a3097628 | 12339 | _ACEOF |
abf5048b AJ |
12340 | { $as_echo "$as_me:$LINENO: checking for xmlParseMemory in -lxml2" >&5 |
12341 | $as_echo_n "checking for xmlParseMemory in -lxml2... " >&6; } | |
a3097628 | 12342 | if test "${ac_cv_lib_xml2_xmlParseMemory+set}" = set; then |
abf5048b | 12343 | $as_echo_n "(cached) " >&6 |
6b0720f5 SQH |
12344 | else |
12345 | ac_check_lib_save_LIBS=$LIBS | |
a3097628 | 12346 | LIBS="-lxml2 $ac_xml_libs $LIBS" |
6b0720f5 | 12347 | cat >conftest.$ac_ext <<_ACEOF |
e24bcc77 AJ |
12348 | /* confdefs.h. */ |
12349 | _ACEOF | |
12350 | cat confdefs.h >>conftest.$ac_ext | |
12351 | cat >>conftest.$ac_ext <<_ACEOF | |
12352 | /* end confdefs.h. */ | |
6b0720f5 | 12353 | |
fc6ffb29 AJ |
12354 | /* Override any GCC internal prototype to avoid an error. |
12355 | Use char because int might match the return type of a GCC | |
12356 | builtin and then its argument prototype would still apply. */ | |
6b0720f5 SQH |
12357 | #ifdef __cplusplus |
12358 | extern "C" | |
12359 | #endif | |
a3097628 | 12360 | char xmlParseMemory (); |
6b0720f5 SQH |
12361 | int |
12362 | main () | |
12363 | { | |
a3097628 | 12364 | return xmlParseMemory (); |
6b0720f5 SQH |
12365 | ; |
12366 | return 0; | |
12367 | } | |
12368 | _ACEOF | |
12369 | rm -f conftest.$ac_objext conftest$ac_exeext | |
0ebeb530 JW |
12370 | if { (ac_try="$ac_link" |
12371 | case "(($ac_try" in | |
12372 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
12373 | *) ac_try_echo=$ac_try;; | |
12374 | esac | |
abf5048b AJ |
12375 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
12376 | $as_echo "$ac_try_echo") >&5 | |
0ebeb530 | 12377 | (eval "$ac_link") 2>conftest.er1 |
6b0720f5 | 12378 | ac_status=$? |
875927f6 AJ |
12379 | grep -v '^ *+' conftest.er1 >conftest.err |
12380 | rm -f conftest.er1 | |
12381 | cat conftest.err >&5 | |
abf5048b | 12382 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
dc9f3843 AJ |
12383 | (exit $ac_status); } && { |
12384 | test -z "$ac_c_werror_flag" || | |
12385 | test ! -s conftest.err | |
abf5048b AJ |
12386 | } && test -s conftest$ac_exeext && { |
12387 | test "$cross_compiling" = yes || | |
12388 | $as_test_x conftest$ac_exeext | |
12389 | }; then | |
a3097628 | 12390 | ac_cv_lib_xml2_xmlParseMemory=yes |
6b0720f5 | 12391 | else |
abf5048b | 12392 | $as_echo "$as_me: failed program was:" >&5 |
e24bcc77 AJ |
12393 | sed 's/^/| /' conftest.$ac_ext >&5 |
12394 | ||
a3097628 | 12395 | ac_cv_lib_xml2_xmlParseMemory=no |
6b0720f5 | 12396 | fi |
fc6ffb29 | 12397 | |
abf5048b | 12398 | rm -rf conftest.dSYM |
f0ca586f | 12399 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ |
875927f6 | 12400 | conftest$ac_exeext conftest.$ac_ext |
6b0720f5 SQH |
12401 | LIBS=$ac_check_lib_save_LIBS |
12402 | fi | |
abf5048b AJ |
12403 | { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_xml2_xmlParseMemory" >&5 |
12404 | $as_echo "$ac_cv_lib_xml2_xmlParseMemory" >&6; } | |
12405 | if test "x$ac_cv_lib_xml2_xmlParseMemory" = x""yes; then | |
6b0720f5 | 12406 | |
daa2886c | 12407 | cat >>confdefs.h <<\_ACEOF |
a3097628 | 12408 | #define HAVE_LIBXML2 1 |
daa2886c | 12409 | _ACEOF |
6b0720f5 | 12410 | |
a41f0f1b AJ |
12411 | XML2LIBS="$ac_xml_libs" |
12412 | XML2INCL="$ac_xml_cflags" | |
6b0720f5 SQH |
12413 | fi |
12414 | ||
abf5048b AJ |
12415 | { $as_echo "$as_me:$LINENO: checking for xmlReadMemory in -lxml2" >&5 |
12416 | $as_echo_n "checking for xmlReadMemory in -lxml2... " >&6; } | |
a3097628 | 12417 | if test "${ac_cv_lib_xml2_xmlReadMemory+set}" = set; then |
abf5048b | 12418 | $as_echo_n "(cached) " >&6 |
4ee8290b | 12419 | else |
73482144 | 12420 | ac_check_lib_save_LIBS=$LIBS |
a3097628 | 12421 | LIBS="-lxml2 $ac_xml_libs $LIBS" |
2d6d4e96 HL |
12422 | cat >conftest.$ac_ext <<_ACEOF |
12423 | /* confdefs.h. */ | |
12424 | _ACEOF | |
12425 | cat confdefs.h >>conftest.$ac_ext | |
12426 | cat >>conftest.$ac_ext <<_ACEOF | |
12427 | /* end confdefs.h. */ | |
12428 | ||
fc6ffb29 AJ |
12429 | /* Override any GCC internal prototype to avoid an error. |
12430 | Use char because int might match the return type of a GCC | |
12431 | builtin and then its argument prototype would still apply. */ | |
2d6d4e96 HL |
12432 | #ifdef __cplusplus |
12433 | extern "C" | |
12434 | #endif | |
a3097628 | 12435 | char xmlReadMemory (); |
2d6d4e96 HL |
12436 | int |
12437 | main () | |
12438 | { | |
a3097628 | 12439 | return xmlReadMemory (); |
2d6d4e96 HL |
12440 | ; |
12441 | return 0; | |
12442 | } | |
12443 | _ACEOF | |
12444 | rm -f conftest.$ac_objext conftest$ac_exeext | |
0ebeb530 JW |
12445 | if { (ac_try="$ac_link" |
12446 | case "(($ac_try" in | |
12447 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
12448 | *) ac_try_echo=$ac_try;; | |
12449 | esac | |
abf5048b AJ |
12450 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
12451 | $as_echo "$ac_try_echo") >&5 | |
0ebeb530 | 12452 | (eval "$ac_link") 2>conftest.er1 |
2d6d4e96 HL |
12453 | ac_status=$? |
12454 | grep -v '^ *+' conftest.er1 >conftest.err | |
12455 | rm -f conftest.er1 | |
12456 | cat conftest.err >&5 | |
abf5048b | 12457 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
dc9f3843 AJ |
12458 | (exit $ac_status); } && { |
12459 | test -z "$ac_c_werror_flag" || | |
12460 | test ! -s conftest.err | |
abf5048b AJ |
12461 | } && test -s conftest$ac_exeext && { |
12462 | test "$cross_compiling" = yes || | |
12463 | $as_test_x conftest$ac_exeext | |
12464 | }; then | |
a3097628 | 12465 | ac_cv_lib_xml2_xmlReadMemory=yes |
2d6d4e96 | 12466 | else |
abf5048b | 12467 | $as_echo "$as_me: failed program was:" >&5 |
2d6d4e96 HL |
12468 | sed 's/^/| /' conftest.$ac_ext >&5 |
12469 | ||
a3097628 | 12470 | ac_cv_lib_xml2_xmlReadMemory=no |
2d6d4e96 | 12471 | fi |
fc6ffb29 | 12472 | |
abf5048b | 12473 | rm -rf conftest.dSYM |
f0ca586f | 12474 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ |
2d6d4e96 HL |
12475 | conftest$ac_exeext conftest.$ac_ext |
12476 | LIBS=$ac_check_lib_save_LIBS | |
12477 | fi | |
abf5048b AJ |
12478 | { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_xml2_xmlReadMemory" >&5 |
12479 | $as_echo "$ac_cv_lib_xml2_xmlReadMemory" >&6; } | |
12480 | if test "x$ac_cv_lib_xml2_xmlReadMemory" = x""yes; then | |
2d6d4e96 HL |
12481 | |
12482 | cat >>confdefs.h <<\_ACEOF | |
a3097628 | 12483 | #define HAVE_XMLREADMEMORY 1 |
2d6d4e96 HL |
12484 | _ACEOF |
12485 | ||
2d6d4e96 HL |
12486 | fi |
12487 | ||
abf5048b AJ |
12488 | { $as_echo "$as_me:$LINENO: checking for xmlNewDocPI in -lxml2" >&5 |
12489 | $as_echo_n "checking for xmlNewDocPI in -lxml2... " >&6; } | |
a3097628 | 12490 | if test "${ac_cv_lib_xml2_xmlNewDocPI+set}" = set; then |
abf5048b | 12491 | $as_echo_n "(cached) " >&6 |
2d6d4e96 HL |
12492 | else |
12493 | ac_check_lib_save_LIBS=$LIBS | |
a3097628 | 12494 | LIBS="-lxml2 $ac_xml_libs $LIBS" |
4ee8290b | 12495 | cat >conftest.$ac_ext <<_ACEOF |
4ee8290b AJ |
12496 | /* confdefs.h. */ |
12497 | _ACEOF | |
12498 | cat confdefs.h >>conftest.$ac_ext | |
12499 | cat >>conftest.$ac_ext <<_ACEOF | |
12500 | /* end confdefs.h. */ | |
4ee8290b | 12501 | |
fc6ffb29 AJ |
12502 | /* Override any GCC internal prototype to avoid an error. |
12503 | Use char because int might match the return type of a GCC | |
12504 | builtin and then its argument prototype would still apply. */ | |
73482144 AJ |
12505 | #ifdef __cplusplus |
12506 | extern "C" | |
12507 | #endif | |
a3097628 | 12508 | char xmlNewDocPI (); |
4ee8290b AJ |
12509 | int |
12510 | main () | |
12511 | { | |
a3097628 | 12512 | return xmlNewDocPI (); |
4ee8290b AJ |
12513 | ; |
12514 | return 0; | |
12515 | } | |
12516 | _ACEOF | |
12517 | rm -f conftest.$ac_objext conftest$ac_exeext | |
0ebeb530 JW |
12518 | if { (ac_try="$ac_link" |
12519 | case "(($ac_try" in | |
12520 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
12521 | *) ac_try_echo=$ac_try;; | |
12522 | esac | |
abf5048b AJ |
12523 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
12524 | $as_echo "$ac_try_echo") >&5 | |
0ebeb530 | 12525 | (eval "$ac_link") 2>conftest.er1 |
4ee8290b | 12526 | ac_status=$? |
875927f6 AJ |
12527 | grep -v '^ *+' conftest.er1 >conftest.err |
12528 | rm -f conftest.er1 | |
12529 | cat conftest.err >&5 | |
abf5048b | 12530 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
dc9f3843 AJ |
12531 | (exit $ac_status); } && { |
12532 | test -z "$ac_c_werror_flag" || | |
12533 | test ! -s conftest.err | |
abf5048b AJ |
12534 | } && test -s conftest$ac_exeext && { |
12535 | test "$cross_compiling" = yes || | |
12536 | $as_test_x conftest$ac_exeext | |
12537 | }; then | |
a3097628 | 12538 | ac_cv_lib_xml2_xmlNewDocPI=yes |
4ee8290b | 12539 | else |
abf5048b | 12540 | $as_echo "$as_me: failed program was:" >&5 |
4ee8290b AJ |
12541 | sed 's/^/| /' conftest.$ac_ext >&5 |
12542 | ||
a3097628 | 12543 | ac_cv_lib_xml2_xmlNewDocPI=no |
4ee8290b | 12544 | fi |
fc6ffb29 | 12545 | |
abf5048b | 12546 | rm -rf conftest.dSYM |
f0ca586f | 12547 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ |
875927f6 | 12548 | conftest$ac_exeext conftest.$ac_ext |
73482144 | 12549 | LIBS=$ac_check_lib_save_LIBS |
4ee8290b | 12550 | fi |
abf5048b AJ |
12551 | { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_xml2_xmlNewDocPI" >&5 |
12552 | $as_echo "$ac_cv_lib_xml2_xmlNewDocPI" >&6; } | |
12553 | if test "x$ac_cv_lib_xml2_xmlNewDocPI" = x""yes; then | |
a3097628 AJ |
12554 | |
12555 | cat >>confdefs.h <<\_ACEOF | |
12556 | #define HAVE_XMLNEWDOCPI 1 | |
12557 | _ACEOF | |
12558 | ||
12559 | fi | |
12560 | ||
12561 | ||
12562 | fi | |
12563 | ||
12564 | done | |
12565 | ||
a41f0f1b AJ |
12566 | CPPFLAGS="$ac_save_CPPFLAGS" |
12567 | fi | |
f9dec94f | 12568 | if test "$ac_cv_lib_xml2_xmlParseMemory" != "yes"; then |
a41f0f1b | 12569 | case "x$with_xml" in |
93f094c5 | 12570 | x) wine_warnings="$wine_warnings|libxml2 ${notice_platform}development files not found, XML won't be supported." ;; |
a41f0f1b | 12571 | xno) ;; |
abf5048b | 12572 | *) { { $as_echo "$as_me:$LINENO: error: libxml2 ${notice_platform}development files not found, XML won't be supported. |
a41f0f1b | 12573 | This is an error since --with-xml was requested." >&5 |
abf5048b | 12574 | $as_echo "$as_me: error: libxml2 ${notice_platform}development files not found, XML won't be supported. |
a41f0f1b AJ |
12575 | This is an error since --with-xml was requested." >&2;} |
12576 | { (exit 1); exit 1; }; } ;; | |
12577 | esac | |
f9dec94f AJ |
12578 | fi |
12579 | ||
12580 | ||
a41f0f1b | 12581 | if test "x$with_xslt" != "xno" |
a3097628 | 12582 | then |
a41f0f1b AJ |
12583 | if test "$PKG_CONFIG" != "false" |
12584 | then | |
12585 | ac_xslt_libs="`$PKG_CONFIG --libs libxslt 2>/dev/null`" | |
12586 | ac_xslt_cflags="`$PKG_CONFIG --cflags libxslt 2>/dev/null`" | |
12587 | else | |
12588 | ac_xslt_libs="`xslt-config --libs 2>/dev/null`" | |
12589 | ac_xslt_cflags="`xslt-config --cflags 2>/dev/null`" | |
12590 | fi | |
9d7f7bfc | 12591 | ac_save_CPPFLAGS="$CPPFLAGS" |
a41f0f1b | 12592 | CPPFLAGS="$CPPFLAGS $ac_xslt_cflags" |
a3097628 AJ |
12593 | |
12594 | ||
12595 | for ac_header in libxslt/pattern.h libxslt/transform.h | |
12596 | do | |
abf5048b AJ |
12597 | as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` |
12598 | { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 | |
12599 | $as_echo_n "checking for $ac_header... " >&6; } | |
a3097628 | 12600 | if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then |
abf5048b | 12601 | $as_echo_n "(cached) " >&6 |
d3447022 | 12602 | else |
a3097628 | 12603 | cat >conftest.$ac_ext <<_ACEOF |
d3447022 HL |
12604 | /* confdefs.h. */ |
12605 | _ACEOF | |
12606 | cat confdefs.h >>conftest.$ac_ext | |
12607 | cat >>conftest.$ac_ext <<_ACEOF | |
12608 | /* end confdefs.h. */ | |
a3097628 AJ |
12609 | #ifdef HAVE_LIBXSLT_PATTERN_H |
12610 | # include <libxslt/pattern.h> | |
d3447022 | 12611 | #endif |
a3097628 AJ |
12612 | |
12613 | #include <$ac_header> | |
d3447022 | 12614 | _ACEOF |
a3097628 AJ |
12615 | rm -f conftest.$ac_objext |
12616 | if { (ac_try="$ac_compile" | |
0ebeb530 JW |
12617 | case "(($ac_try" in |
12618 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
12619 | *) ac_try_echo=$ac_try;; | |
12620 | esac | |
abf5048b AJ |
12621 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
12622 | $as_echo "$ac_try_echo") >&5 | |
a3097628 | 12623 | (eval "$ac_compile") 2>conftest.er1 |
d3447022 HL |
12624 | ac_status=$? |
12625 | grep -v '^ *+' conftest.er1 >conftest.err | |
12626 | rm -f conftest.er1 | |
12627 | cat conftest.err >&5 | |
abf5048b | 12628 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
dc9f3843 AJ |
12629 | (exit $ac_status); } && { |
12630 | test -z "$ac_c_werror_flag" || | |
12631 | test ! -s conftest.err | |
a3097628 AJ |
12632 | } && test -s conftest.$ac_objext; then |
12633 | eval "$as_ac_Header=yes" | |
d3447022 | 12634 | else |
abf5048b | 12635 | $as_echo "$as_me: failed program was:" >&5 |
d3447022 HL |
12636 | sed 's/^/| /' conftest.$ac_ext >&5 |
12637 | ||
a3097628 | 12638 | eval "$as_ac_Header=no" |
d3447022 HL |
12639 | fi |
12640 | ||
a3097628 | 12641 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
d3447022 | 12642 | fi |
abf5048b AJ |
12643 | ac_res=`eval 'as_val=${'$as_ac_Header'} |
12644 | $as_echo "$as_val"'` | |
12645 | { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 | |
12646 | $as_echo "$ac_res" >&6; } | |
12647 | as_val=`eval 'as_val=${'$as_ac_Header'} | |
12648 | $as_echo "$as_val"'` | |
12649 | if test "x$as_val" = x""yes; then | |
a3097628 | 12650 | cat >>confdefs.h <<_ACEOF |
abf5048b | 12651 | #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 |
a3097628 | 12652 | _ACEOF |
9d7f7bfc LZ |
12653 | |
12654 | fi | |
12655 | ||
12656 | done | |
12657 | ||
12658 | CPPFLAGS="$ac_save_CPPFLAGS" | |
12659 | if test "$ac_cv_header_libxslt_transform_h" = "yes" | |
12660 | then | |
3d384f17 FG |
12661 | { $as_echo "$as_me:$LINENO: checking for -lxslt" >&5 |
12662 | $as_echo_n "checking for -lxslt... " >&6; } | |
12663 | if test "${ac_cv_lib_soname_xslt+set}" = set; then | |
abf5048b | 12664 | $as_echo_n "(cached) " >&6 |
b2c62c94 | 12665 | else |
3d384f17 | 12666 | ac_check_soname_save_LIBS=$LIBS |
a3097628 | 12667 | LIBS="-lxslt $ac_xslt_libs $LIBS" |
3d384f17 | 12668 | cat >conftest.$ac_ext <<_ACEOF |
b2c62c94 HL |
12669 | /* confdefs.h. */ |
12670 | _ACEOF | |
12671 | cat confdefs.h >>conftest.$ac_ext | |
12672 | cat >>conftest.$ac_ext <<_ACEOF | |
12673 | /* end confdefs.h. */ | |
b2c62c94 | 12674 | |
fc6ffb29 AJ |
12675 | /* Override any GCC internal prototype to avoid an error. |
12676 | Use char because int might match the return type of a GCC | |
12677 | builtin and then its argument prototype would still apply. */ | |
b2c62c94 HL |
12678 | #ifdef __cplusplus |
12679 | extern "C" | |
b2c62c94 | 12680 | #endif |
a3097628 | 12681 | char xsltCompilePattern (); |
b2c62c94 HL |
12682 | int |
12683 | main () | |
12684 | { | |
a3097628 | 12685 | return xsltCompilePattern (); |
b2c62c94 HL |
12686 | ; |
12687 | return 0; | |
12688 | } | |
12689 | _ACEOF | |
12690 | rm -f conftest.$ac_objext conftest$ac_exeext | |
0ebeb530 JW |
12691 | if { (ac_try="$ac_link" |
12692 | case "(($ac_try" in | |
12693 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
12694 | *) ac_try_echo=$ac_try;; | |
12695 | esac | |
abf5048b AJ |
12696 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
12697 | $as_echo "$ac_try_echo") >&5 | |
0ebeb530 | 12698 | (eval "$ac_link") 2>conftest.er1 |
b2c62c94 HL |
12699 | ac_status=$? |
12700 | grep -v '^ *+' conftest.er1 >conftest.err | |
12701 | rm -f conftest.er1 | |
12702 | cat conftest.err >&5 | |
abf5048b | 12703 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
dc9f3843 AJ |
12704 | (exit $ac_status); } && { |
12705 | test -z "$ac_c_werror_flag" || | |
12706 | test ! -s conftest.err | |
abf5048b AJ |
12707 | } && test -s conftest$ac_exeext && { |
12708 | test "$cross_compiling" = yes || | |
12709 | $as_test_x conftest$ac_exeext | |
12710 | }; then | |
3d384f17 FG |
12711 | case "$LIBEXT" in |
12712 | dll) ;; | |
12713 | dylib) ac_cv_lib_soname_xslt=`otool -L conftest$ac_exeext | grep "libxslt\\.[0-9A-Za-z.]*dylib" | sed -e "s/^.*\/\(libxslt\.[0-9A-Za-z.]*dylib\).*$/\1/"';2,$d'` ;; | |
12714 | *) ac_cv_lib_soname_xslt=`$ac_cv_path_LDD conftest$ac_exeext | grep "libxslt\\.$LIBEXT" | sed -e "s/^.*\(libxslt\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;; | |
12715 | esac | |
b2c62c94 | 12716 | else |
abf5048b | 12717 | $as_echo "$as_me: failed program was:" >&5 |
b2c62c94 HL |
12718 | sed 's/^/| /' conftest.$ac_ext >&5 |
12719 | ||
3d384f17 | 12720 | |
b2c62c94 | 12721 | fi |
fc6ffb29 | 12722 | |
abf5048b | 12723 | rm -rf conftest.dSYM |
f0ca586f | 12724 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ |
b2c62c94 | 12725 | conftest$ac_exeext conftest.$ac_ext |
3d384f17 | 12726 | LIBS=$ac_check_soname_save_LIBS |
b2c62c94 | 12727 | fi |
3d384f17 FG |
12728 | if test "x$ac_cv_lib_soname_xslt" = "x"; then |
12729 | { $as_echo "$as_me:$LINENO: result: not found" >&5 | |
12730 | $as_echo "not found" >&6; } | |
9d7f7bfc | 12731 | |
9d7f7bfc | 12732 | else |
3d384f17 FG |
12733 | { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_soname_xslt" >&5 |
12734 | $as_echo "$ac_cv_lib_soname_xslt" >&6; } | |
9d7f7bfc | 12735 | |
3d384f17 FG |
12736 | cat >>confdefs.h <<_ACEOF |
12737 | #define SONAME_LIBXSLT "$ac_cv_lib_soname_xslt" | |
9d7f7bfc | 12738 | _ACEOF |
ea524def | 12739 | |
3d384f17 | 12740 | XSLTINCL="$ac_xslt_cflags" |
9d7f7bfc LZ |
12741 | fi |
12742 | ||
12743 | fi | |
a41f0f1b | 12744 | fi |
3d384f17 | 12745 | if test "x$ac_cv_lib_soname_xslt" = "x"; then |
a41f0f1b | 12746 | case "x$with_xslt" in |
93f094c5 | 12747 | x) wine_warnings="$wine_warnings|libxslt ${notice_platform}development files not found, xslt won't be supported." ;; |
a41f0f1b | 12748 | xno) ;; |
abf5048b | 12749 | *) { { $as_echo "$as_me:$LINENO: error: libxslt ${notice_platform}development files not found, xslt won't be supported. |
a41f0f1b | 12750 | This is an error since --with-xslt was requested." >&5 |
abf5048b | 12751 | $as_echo "$as_me: error: libxslt ${notice_platform}development files not found, xslt won't be supported. |
a41f0f1b AJ |
12752 | This is an error since --with-xslt was requested." >&2;} |
12753 | { (exit 1); exit 1; }; } ;; | |
12754 | esac | |
f9dec94f AJ |
12755 | fi |
12756 | ||
82776020 | 12757 | |
a3097628 AJ |
12758 | HALINCL="" |
12759 | ||
a41f0f1b | 12760 | if test "x$with_hal" != "xno" -a "$PKG_CONFIG" != "false" |
a3097628 AJ |
12761 | then |
12762 | ac_save_CPPFLAGS="$CPPFLAGS" | |
12763 | ac_hal_libs="`$PKG_CONFIG --libs hal 2>/dev/null`" | |
12764 | ac_hal_cflags="`$PKG_CONFIG --cflags hal 2>/dev/null`" | |
12765 | CPPFLAGS="$CPPFLAGS $ac_hal_cflags" | |
12766 | ||
12767 | ||
12768 | for ac_header in dbus/dbus.h hal/libhal.h | |
12769 | do | |
abf5048b | 12770 | as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` |
a3097628 | 12771 | if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then |
abf5048b AJ |
12772 | { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 |
12773 | $as_echo_n "checking for $ac_header... " >&6; } | |
a3097628 | 12774 | if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then |
abf5048b | 12775 | $as_echo_n "(cached) " >&6 |
a3097628 | 12776 | fi |
abf5048b AJ |
12777 | ac_res=`eval 'as_val=${'$as_ac_Header'} |
12778 | $as_echo "$as_val"'` | |
12779 | { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 | |
12780 | $as_echo "$ac_res" >&6; } | |
d9ef88cd | 12781 | else |
a3097628 | 12782 | # Is the header compilable? |
abf5048b AJ |
12783 | { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5 |
12784 | $as_echo_n "checking $ac_header usability... " >&6; } | |
a3097628 AJ |
12785 | cat >conftest.$ac_ext <<_ACEOF |
12786 | /* confdefs.h. */ | |
12787 | _ACEOF | |
12788 | cat confdefs.h >>conftest.$ac_ext | |
12789 | cat >>conftest.$ac_ext <<_ACEOF | |
12790 | /* end confdefs.h. */ | |
12791 | $ac_includes_default | |
12792 | #include <$ac_header> | |
12793 | _ACEOF | |
12794 | rm -f conftest.$ac_objext | |
12795 | if { (ac_try="$ac_compile" | |
12796 | case "(($ac_try" in | |
12797 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
12798 | *) ac_try_echo=$ac_try;; | |
12799 | esac | |
abf5048b AJ |
12800 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
12801 | $as_echo "$ac_try_echo") >&5 | |
a3097628 AJ |
12802 | (eval "$ac_compile") 2>conftest.er1 |
12803 | ac_status=$? | |
12804 | grep -v '^ *+' conftest.er1 >conftest.err | |
12805 | rm -f conftest.er1 | |
12806 | cat conftest.err >&5 | |
abf5048b | 12807 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
a3097628 AJ |
12808 | (exit $ac_status); } && { |
12809 | test -z "$ac_c_werror_flag" || | |
12810 | test ! -s conftest.err | |
12811 | } && test -s conftest.$ac_objext; then | |
12812 | ac_header_compiler=yes | |
d9ef88cd | 12813 | else |
abf5048b | 12814 | $as_echo "$as_me: failed program was:" >&5 |
a3097628 | 12815 | sed 's/^/| /' conftest.$ac_ext >&5 |
d9ef88cd | 12816 | |
a3097628 | 12817 | ac_header_compiler=no |
d9ef88cd MM |
12818 | fi |
12819 | ||
a3097628 | 12820 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
abf5048b AJ |
12821 | { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 |
12822 | $as_echo "$ac_header_compiler" >&6; } | |
d9ef88cd | 12823 | |
a3097628 | 12824 | # Is the header present? |
abf5048b AJ |
12825 | { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5 |
12826 | $as_echo_n "checking $ac_header presence... " >&6; } | |
a3097628 AJ |
12827 | cat >conftest.$ac_ext <<_ACEOF |
12828 | /* confdefs.h. */ | |
12829 | _ACEOF | |
12830 | cat confdefs.h >>conftest.$ac_ext | |
12831 | cat >>conftest.$ac_ext <<_ACEOF | |
12832 | /* end confdefs.h. */ | |
12833 | #include <$ac_header> | |
12834 | _ACEOF | |
12835 | if { (ac_try="$ac_cpp conftest.$ac_ext" | |
12836 | case "(($ac_try" in | |
12837 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
12838 | *) ac_try_echo=$ac_try;; | |
12839 | esac | |
abf5048b AJ |
12840 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
12841 | $as_echo "$ac_try_echo") >&5 | |
a3097628 AJ |
12842 | (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 |
12843 | ac_status=$? | |
12844 | grep -v '^ *+' conftest.er1 >conftest.err | |
12845 | rm -f conftest.er1 | |
12846 | cat conftest.err >&5 | |
abf5048b | 12847 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
a3097628 AJ |
12848 | (exit $ac_status); } >/dev/null && { |
12849 | test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || | |
12850 | test ! -s conftest.err | |
12851 | }; then | |
12852 | ac_header_preproc=yes | |
d9ef88cd | 12853 | else |
abf5048b | 12854 | $as_echo "$as_me: failed program was:" >&5 |
a3097628 | 12855 | sed 's/^/| /' conftest.$ac_ext >&5 |
d9ef88cd | 12856 | |
a3097628 | 12857 | ac_header_preproc=no |
d9ef88cd | 12858 | fi |
a3097628 AJ |
12859 | |
12860 | rm -f conftest.err conftest.$ac_ext | |
abf5048b AJ |
12861 | { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 |
12862 | $as_echo "$ac_header_preproc" >&6; } | |
a3097628 AJ |
12863 | |
12864 | # So? What about this header? | |
12865 | case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in | |
12866 | yes:no: ) | |
abf5048b AJ |
12867 | { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 |
12868 | $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} | |
12869 | { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 | |
12870 | $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} | |
a3097628 AJ |
12871 | ac_header_preproc=yes |
12872 | ;; | |
12873 | no:yes:* ) | |
abf5048b AJ |
12874 | { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 |
12875 | $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} | |
12876 | { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 | |
12877 | $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} | |
12878 | { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 | |
12879 | $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} | |
12880 | { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 | |
12881 | $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} | |
12882 | { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 | |
12883 | $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} | |
12884 | { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 | |
12885 | $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} | |
a3097628 AJ |
12886 | ( cat <<\_ASBOX |
12887 | ## ------------------------------------ ## | |
12888 | ## Report this to wine-devel@winehq.org ## | |
12889 | ## ------------------------------------ ## | |
12890 | _ASBOX | |
12891 | ) | sed "s/^/$as_me: WARNING: /" >&2 | |
12892 | ;; | |
12893 | esac | |
abf5048b AJ |
12894 | { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 |
12895 | $as_echo_n "checking for $ac_header... " >&6; } | |
a3097628 | 12896 | if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then |
abf5048b | 12897 | $as_echo_n "(cached) " >&6 |
d9ef88cd | 12898 | else |
a3097628 | 12899 | eval "$as_ac_Header=\$ac_header_preproc" |
d9ef88cd | 12900 | fi |
abf5048b AJ |
12901 | ac_res=`eval 'as_val=${'$as_ac_Header'} |
12902 | $as_echo "$as_val"'` | |
12903 | { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 | |
12904 | $as_echo "$ac_res" >&6; } | |
d9ef88cd | 12905 | |
a3097628 | 12906 | fi |
abf5048b AJ |
12907 | as_val=`eval 'as_val=${'$as_ac_Header'} |
12908 | $as_echo "$as_val"'` | |
12909 | if test "x$as_val" = x""yes; then | |
a3097628 | 12910 | cat >>confdefs.h <<_ACEOF |
abf5048b | 12911 | #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 |
a3097628 | 12912 | _ACEOF |
d9ef88cd | 12913 | |
d9ef88cd MM |
12914 | fi |
12915 | ||
a3097628 AJ |
12916 | done |
12917 | ||
12918 | if test "$ac_cv_header_dbus_dbus_h" = "yes" -a "$ac_cv_header_hal_libhal_h" = "yes" | |
12919 | then | |
abf5048b AJ |
12920 | { $as_echo "$as_me:$LINENO: checking for dbus_connection_close in -ldbus-1" >&5 |
12921 | $as_echo_n "checking for dbus_connection_close in -ldbus-1... " >&6; } | |
c1099bb7 | 12922 | if test "${ac_cv_lib_dbus_1_dbus_connection_close+set}" = set; then |
abf5048b | 12923 | $as_echo_n "(cached) " >&6 |
ea524def HL |
12924 | else |
12925 | ac_check_lib_save_LIBS=$LIBS | |
c1099bb7 | 12926 | LIBS="-ldbus-1 $ac_hal_libs $LIBS" |
ea524def HL |
12927 | cat >conftest.$ac_ext <<_ACEOF |
12928 | /* confdefs.h. */ | |
12929 | _ACEOF | |
12930 | cat confdefs.h >>conftest.$ac_ext | |
12931 | cat >>conftest.$ac_ext <<_ACEOF | |
12932 | /* end confdefs.h. */ | |
12933 | ||
fc6ffb29 AJ |
12934 | /* Override any GCC internal prototype to avoid an error. |
12935 | Use char because int might match the return type of a GCC | |
12936 | builtin and then its argument prototype would still apply. */ | |
ea524def HL |
12937 | #ifdef __cplusplus |
12938 | extern "C" | |
12939 | #endif | |
c1099bb7 | 12940 | char dbus_connection_close (); |
ea524def HL |
12941 | int |
12942 | main () | |
12943 | { | |
c1099bb7 | 12944 | return dbus_connection_close (); |
ea524def HL |
12945 | ; |
12946 | return 0; | |
12947 | } | |
12948 | _ACEOF | |
12949 | rm -f conftest.$ac_objext conftest$ac_exeext | |
0ebeb530 JW |
12950 | if { (ac_try="$ac_link" |
12951 | case "(($ac_try" in | |
12952 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
12953 | *) ac_try_echo=$ac_try;; | |
12954 | esac | |
abf5048b AJ |
12955 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
12956 | $as_echo "$ac_try_echo") >&5 | |
0ebeb530 | 12957 | (eval "$ac_link") 2>conftest.er1 |
ea524def HL |
12958 | ac_status=$? |
12959 | grep -v '^ *+' conftest.er1 >conftest.err | |
12960 | rm -f conftest.er1 | |
12961 | cat conftest.err >&5 | |
abf5048b | 12962 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
dc9f3843 AJ |
12963 | (exit $ac_status); } && { |
12964 | test -z "$ac_c_werror_flag" || | |
12965 | test ! -s conftest.err | |
abf5048b AJ |
12966 | } && test -s conftest$ac_exeext && { |
12967 | test "$cross_compiling" = yes || | |
12968 | $as_test_x conftest$ac_exeext | |
12969 | }; then | |
c1099bb7 | 12970 | ac_cv_lib_dbus_1_dbus_connection_close=yes |
ea524def | 12971 | else |
abf5048b | 12972 | $as_echo "$as_me: failed program was:" >&5 |
ea524def HL |
12973 | sed 's/^/| /' conftest.$ac_ext >&5 |
12974 | ||
c1099bb7 | 12975 | ac_cv_lib_dbus_1_dbus_connection_close=no |
ea524def | 12976 | fi |
fc6ffb29 | 12977 | |
abf5048b | 12978 | rm -rf conftest.dSYM |
f0ca586f | 12979 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ |
ea524def HL |
12980 | conftest$ac_exeext conftest.$ac_ext |
12981 | LIBS=$ac_check_lib_save_LIBS | |
12982 | fi | |
abf5048b AJ |
12983 | { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dbus_1_dbus_connection_close" >&5 |
12984 | $as_echo "$ac_cv_lib_dbus_1_dbus_connection_close" >&6; } | |
12985 | if test "x$ac_cv_lib_dbus_1_dbus_connection_close" = x""yes; then | |
12986 | { $as_echo "$as_me:$LINENO: checking for -lhal" >&5 | |
12987 | $as_echo_n "checking for -lhal... " >&6; } | |
c1099bb7 | 12988 | if test "${ac_cv_lib_soname_hal+set}" = set; then |
abf5048b | 12989 | $as_echo_n "(cached) " >&6 |
f5818d2f | 12990 | else |
c1099bb7 AJ |
12991 | ac_check_soname_save_LIBS=$LIBS |
12992 | LIBS="-lhal $ac_hal_libs $LIBS" | |
12993 | cat >conftest.$ac_ext <<_ACEOF | |
e24bcc77 AJ |
12994 | /* confdefs.h. */ |
12995 | _ACEOF | |
12996 | cat confdefs.h >>conftest.$ac_ext | |
12997 | cat >>conftest.$ac_ext <<_ACEOF | |
12998 | /* end confdefs.h. */ | |
9c269172 | 12999 | |
a3097628 AJ |
13000 | /* Override any GCC internal prototype to avoid an error. |
13001 | Use char because int might match the return type of a GCC | |
13002 | builtin and then its argument prototype would still apply. */ | |
13003 | #ifdef __cplusplus | |
13004 | extern "C" | |
13005 | #endif | |
c1099bb7 | 13006 | char libhal_ctx_new (); |
a3097628 AJ |
13007 | int |
13008 | main () | |
13009 | { | |
c1099bb7 | 13010 | return libhal_ctx_new (); |
a3097628 AJ |
13011 | ; |
13012 | return 0; | |
13013 | } | |
daa2886c | 13014 | _ACEOF |
a3097628 AJ |
13015 | rm -f conftest.$ac_objext conftest$ac_exeext |
13016 | if { (ac_try="$ac_link" | |
0ebeb530 JW |
13017 | case "(($ac_try" in |
13018 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
13019 | *) ac_try_echo=$ac_try;; | |
13020 | esac | |
abf5048b AJ |
13021 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
13022 | $as_echo "$ac_try_echo") >&5 | |
a3097628 | 13023 | (eval "$ac_link") 2>conftest.er1 |
daa2886c | 13024 | ac_status=$? |
875927f6 AJ |
13025 | grep -v '^ *+' conftest.er1 >conftest.err |
13026 | rm -f conftest.er1 | |
13027 | cat conftest.err >&5 | |
abf5048b | 13028 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
dc9f3843 AJ |
13029 | (exit $ac_status); } && { |
13030 | test -z "$ac_c_werror_flag" || | |
13031 | test ! -s conftest.err | |
abf5048b AJ |
13032 | } && test -s conftest$ac_exeext && { |
13033 | test "$cross_compiling" = yes || | |
13034 | $as_test_x conftest$ac_exeext | |
13035 | }; then | |
c1099bb7 AJ |
13036 | case "$LIBEXT" in |
13037 | dll) ;; | |
13038 | dylib) ac_cv_lib_soname_hal=`otool -L conftest$ac_exeext | grep "libhal\\.[0-9A-Za-z.]*dylib" | sed -e "s/^.*\/\(libhal\.[0-9A-Za-z.]*dylib\).*$/\1/"';2,$d'` ;; | |
13039 | *) ac_cv_lib_soname_hal=`$ac_cv_path_LDD conftest$ac_exeext | grep "libhal\\.$LIBEXT" | sed -e "s/^.*\(libhal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;; | |
13040 | esac | |
daa2886c | 13041 | else |
abf5048b | 13042 | $as_echo "$as_me: failed program was:" >&5 |
e24bcc77 AJ |
13043 | sed 's/^/| /' conftest.$ac_ext >&5 |
13044 | ||
c1099bb7 | 13045 | |
daa2886c | 13046 | fi |
fc6ffb29 | 13047 | |
abf5048b | 13048 | rm -rf conftest.dSYM |
a3097628 AJ |
13049 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ |
13050 | conftest$ac_exeext conftest.$ac_ext | |
c1099bb7 | 13051 | LIBS=$ac_check_soname_save_LIBS |
40432fef | 13052 | fi |
c1099bb7 | 13053 | if test "x$ac_cv_lib_soname_hal" = "x"; then |
abf5048b AJ |
13054 | { $as_echo "$as_me:$LINENO: result: not found" >&5 |
13055 | $as_echo "not found" >&6; } | |
a3097628 | 13056 | |
c1099bb7 | 13057 | else |
abf5048b AJ |
13058 | { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_soname_hal" >&5 |
13059 | $as_echo "$ac_cv_lib_soname_hal" >&6; } | |
c1099bb7 AJ |
13060 | |
13061 | cat >>confdefs.h <<_ACEOF | |
13062 | #define SONAME_LIBHAL "$ac_cv_lib_soname_hal" | |
daa2886c | 13063 | _ACEOF |
f5818d2f | 13064 | |
c1099bb7 | 13065 | HALINCL="$ac_hal_cflags" |
a3097628 AJ |
13066 | fi |
13067 | ||
40432fef | 13068 | fi |
daa2886c | 13069 | |
a3097628 AJ |
13070 | fi |
13071 | CPPFLAGS="$ac_save_CPPFLAGS" | |
13072 | fi | |
f9dec94f | 13073 | if test "x$ac_cv_lib_soname_hal" = "x"; then |
a41f0f1b | 13074 | case "x$with_hal" in |
93f094c5 | 13075 | x) wine_notices="$wine_notices|libhal ${notice_platform}development files not found, no dynamic device support." ;; |
a41f0f1b | 13076 | xno) ;; |
abf5048b | 13077 | *) { { $as_echo "$as_me:$LINENO: error: libhal ${notice_platform}development files not found, no dynamic device support. |
a41f0f1b | 13078 | This is an error since --with-hal was requested." >&5 |
abf5048b | 13079 | $as_echo "$as_me: error: libhal ${notice_platform}development files not found, no dynamic device support. |
a41f0f1b AJ |
13080 | This is an error since --with-hal was requested." >&2;} |
13081 | { (exit 1); exit 1; }; } ;; | |
13082 | esac | |
f9dec94f AJ |
13083 | fi |
13084 | ||
40432fef | 13085 | |
874c9ef6 HV |
13086 | if test "x$with_gnutls" != "xno" -a "$PKG_CONFIG" != "false" |
13087 | then | |
13088 | ac_save_CPPFLAGS="$CPPFLAGS" | |
13089 | ac_gnutls_libs="`$PKG_CONFIG --libs gnutls 2>/dev/null`" | |
13090 | ac_gnutls_cflags="`$PKG_CONFIG --cflags gnutls 2>/dev/null`" | |
13091 | CPPFLAGS="$CPPFLAGS $ac_gnutls_cflags" | |
13092 | if test "${ac_cv_header_gnutls_gnutls_h+set}" = set; then | |
abf5048b AJ |
13093 | { $as_echo "$as_me:$LINENO: checking for gnutls/gnutls.h" >&5 |
13094 | $as_echo_n "checking for gnutls/gnutls.h... " >&6; } | |
874c9ef6 | 13095 | if test "${ac_cv_header_gnutls_gnutls_h+set}" = set; then |
abf5048b | 13096 | $as_echo_n "(cached) " >&6 |
874c9ef6 | 13097 | fi |
abf5048b AJ |
13098 | { $as_echo "$as_me:$LINENO: result: $ac_cv_header_gnutls_gnutls_h" >&5 |
13099 | $as_echo "$ac_cv_header_gnutls_gnutls_h" >&6; } | |
874c9ef6 HV |
13100 | else |
13101 | # Is the header compilable? | |
abf5048b AJ |
13102 | { $as_echo "$as_me:$LINENO: checking gnutls/gnutls.h usability" >&5 |
13103 | $as_echo_n "checking gnutls/gnutls.h usability... " >&6; } | |
874c9ef6 HV |
13104 | cat >conftest.$ac_ext <<_ACEOF |
13105 | /* confdefs.h. */ | |
13106 | _ACEOF | |
13107 | cat confdefs.h >>conftest.$ac_ext | |
13108 | cat >>conftest.$ac_ext <<_ACEOF | |
13109 | /* end confdefs.h. */ | |
13110 | $ac_includes_default | |
13111 | #include <gnutls/gnutls.h> | |
13112 | _ACEOF | |
13113 | rm -f conftest.$ac_objext | |
13114 | if { (ac_try="$ac_compile" | |
13115 | case "(($ac_try" in | |
13116 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
13117 | *) ac_try_echo=$ac_try;; | |
13118 | esac | |
abf5048b AJ |
13119 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
13120 | $as_echo "$ac_try_echo") >&5 | |
874c9ef6 HV |
13121 | (eval "$ac_compile") 2>conftest.er1 |
13122 | ac_status=$? | |
13123 | grep -v '^ *+' conftest.er1 >conftest.err | |
13124 | rm -f conftest.er1 | |
13125 | cat conftest.err >&5 | |
abf5048b | 13126 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
874c9ef6 HV |
13127 | (exit $ac_status); } && { |
13128 | test -z "$ac_c_werror_flag" || | |
13129 | test ! -s conftest.err | |
13130 | } && test -s conftest.$ac_objext; then | |
13131 | ac_header_compiler=yes | |
13132 | else | |
abf5048b | 13133 | $as_echo "$as_me: failed program was:" >&5 |
874c9ef6 HV |
13134 | sed 's/^/| /' conftest.$ac_ext >&5 |
13135 | ||
13136 | ac_header_compiler=no | |
13137 | fi | |
13138 | ||
13139 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | |
abf5048b AJ |
13140 | { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 |
13141 | $as_echo "$ac_header_compiler" >&6; } | |
874c9ef6 HV |
13142 | |
13143 | # Is the header present? | |
abf5048b AJ |
13144 | { $as_echo "$as_me:$LINENO: checking gnutls/gnutls.h presence" >&5 |
13145 | $as_echo_n "checking gnutls/gnutls.h presence... " >&6; } | |
874c9ef6 HV |
13146 | cat >conftest.$ac_ext <<_ACEOF |
13147 | /* confdefs.h. */ | |
13148 | _ACEOF | |
13149 | cat confdefs.h >>conftest.$ac_ext | |
13150 | cat >>conftest.$ac_ext <<_ACEOF | |
13151 | /* end confdefs.h. */ | |
13152 | #include <gnutls/gnutls.h> | |
13153 | _ACEOF | |
13154 | if { (ac_try="$ac_cpp conftest.$ac_ext" | |
13155 | case "(($ac_try" in | |
13156 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
13157 | *) ac_try_echo=$ac_try;; | |
13158 | esac | |
abf5048b AJ |
13159 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
13160 | $as_echo "$ac_try_echo") >&5 | |
874c9ef6 HV |
13161 | (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 |
13162 | ac_status=$? | |
13163 | grep -v '^ *+' conftest.er1 >conftest.err | |
13164 | rm -f conftest.er1 | |
13165 | cat conftest.err >&5 | |
abf5048b | 13166 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
874c9ef6 HV |
13167 | (exit $ac_status); } >/dev/null && { |
13168 | test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || | |
13169 | test ! -s conftest.err | |
13170 | }; then | |
13171 | ac_header_preproc=yes | |
13172 | else | |
abf5048b | 13173 | $as_echo "$as_me: failed program was:" >&5 |
874c9ef6 HV |
13174 | sed 's/^/| /' conftest.$ac_ext >&5 |
13175 | ||
13176 | ac_header_preproc=no | |
13177 | fi | |
13178 | ||
13179 | rm -f conftest.err conftest.$ac_ext | |
abf5048b AJ |
13180 | { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 |
13181 | $as_echo "$ac_header_preproc" >&6; } | |
874c9ef6 HV |
13182 | |
13183 | # So? What about this header? | |
13184 | case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in | |
13185 | yes:no: ) | |
abf5048b AJ |
13186 | { $as_echo "$as_me:$LINENO: WARNING: gnutls/gnutls.h: accepted by the compiler, rejected by the preprocessor!" >&5 |
13187 | $as_echo "$as_me: WARNING: gnutls/gnutls.h: accepted by the compiler, rejected by the preprocessor!" >&2;} | |
13188 | { $as_echo "$as_me:$LINENO: WARNING: gnutls/gnutls.h: proceeding with the compiler's result" >&5 | |
13189 | $as_echo "$as_me: WARNING: gnutls/gnutls.h: proceeding with the compiler's result" >&2;} | |
874c9ef6 HV |
13190 | ac_header_preproc=yes |
13191 | ;; | |
13192 | no:yes:* ) | |
abf5048b AJ |
13193 | { $as_echo "$as_me:$LINENO: WARNING: gnutls/gnutls.h: present but cannot be compiled" >&5 |
13194 | $as_echo "$as_me: WARNING: gnutls/gnutls.h: present but cannot be compiled" >&2;} | |
13195 | { $as_echo "$as_me:$LINENO: WARNING: gnutls/gnutls.h: check for missing prerequisite headers?" >&5 | |
13196 | $as_echo "$as_me: WARNING: gnutls/gnutls.h: check for missing prerequisite headers?" >&2;} | |
13197 | { $as_echo "$as_me:$LINENO: WARNING: gnutls/gnutls.h: see the Autoconf documentation" >&5 | |
13198 | $as_echo "$as_me: WARNING: gnutls/gnutls.h: see the Autoconf documentation" >&2;} | |
13199 | { $as_echo "$as_me:$LINENO: WARNING: gnutls/gnutls.h: section \"Present But Cannot Be Compiled\"" >&5 | |
13200 | $as_echo "$as_me: WARNING: gnutls/gnutls.h: section \"Present But Cannot Be Compiled\"" >&2;} | |
13201 | { $as_echo "$as_me:$LINENO: WARNING: gnutls/gnutls.h: proceeding with the preprocessor's result" >&5 | |
13202 | $as_echo "$as_me: WARNING: gnutls/gnutls.h: proceeding with the preprocessor's result" >&2;} | |
13203 | { $as_echo "$as_me:$LINENO: WARNING: gnutls/gnutls.h: in the future, the compiler will take precedence" >&5 | |
13204 | $as_echo "$as_me: WARNING: gnutls/gnutls.h: in the future, the compiler will take precedence" >&2;} | |
874c9ef6 HV |
13205 | ( cat <<\_ASBOX |
13206 | ## ------------------------------------ ## | |
13207 | ## Report this to wine-devel@winehq.org ## | |
13208 | ## ------------------------------------ ## | |
13209 | _ASBOX | |
13210 | ) | sed "s/^/$as_me: WARNING: /" >&2 | |
13211 | ;; | |
13212 | esac | |
abf5048b AJ |
13213 | { $as_echo "$as_me:$LINENO: checking for gnutls/gnutls.h" >&5 |
13214 | $as_echo_n "checking for gnutls/gnutls.h... " >&6; } | |
874c9ef6 | 13215 | if test "${ac_cv_header_gnutls_gnutls_h+set}" = set; then |
abf5048b | 13216 | $as_echo_n "(cached) " >&6 |
874c9ef6 HV |
13217 | else |
13218 | ac_cv_header_gnutls_gnutls_h=$ac_header_preproc | |
13219 | fi | |
abf5048b AJ |
13220 | { $as_echo "$as_me:$LINENO: result: $ac_cv_header_gnutls_gnutls_h" >&5 |
13221 | $as_echo "$ac_cv_header_gnutls_gnutls_h" >&6; } | |
874c9ef6 HV |
13222 | |
13223 | fi | |
abf5048b | 13224 | if test "x$ac_cv_header_gnutls_gnutls_h" = x""yes; then |
3aae9546 FG |
13225 | cat >conftest.$ac_ext <<_ACEOF |
13226 | /* confdefs.h. */ | |
13227 | _ACEOF | |
13228 | cat confdefs.h >>conftest.$ac_ext | |
13229 | cat >>conftest.$ac_ext <<_ACEOF | |
13230 | /* end confdefs.h. */ | |
13231 | #include <gnutls/gnutls.h> | |
13232 | int | |
13233 | main () | |
13234 | { | |
13235 | typeof(gnutls_transport_set_errno) *pfunc; | |
13236 | ; | |
13237 | return 0; | |
13238 | } | |
13239 | _ACEOF | |
13240 | rm -f conftest.$ac_objext | |
13241 | if { (ac_try="$ac_compile" | |
13242 | case "(($ac_try" in | |
13243 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
13244 | *) ac_try_echo=$ac_try;; | |
13245 | esac | |
abf5048b AJ |
13246 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
13247 | $as_echo "$ac_try_echo") >&5 | |
3aae9546 FG |
13248 | (eval "$ac_compile") 2>conftest.er1 |
13249 | ac_status=$? | |
13250 | grep -v '^ *+' conftest.er1 >conftest.err | |
13251 | rm -f conftest.er1 | |
13252 | cat conftest.err >&5 | |
abf5048b | 13253 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
3aae9546 FG |
13254 | (exit $ac_status); } && { |
13255 | test -z "$ac_c_werror_flag" || | |
13256 | test ! -s conftest.err | |
13257 | } && test -s conftest.$ac_objext; then | |
abf5048b AJ |
13258 | { $as_echo "$as_me:$LINENO: checking for -lgnutls" >&5 |
13259 | $as_echo_n "checking for -lgnutls... " >&6; } | |
874c9ef6 | 13260 | if test "${ac_cv_lib_soname_gnutls+set}" = set; then |
abf5048b | 13261 | $as_echo_n "(cached) " >&6 |
874c9ef6 HV |
13262 | else |
13263 | ac_check_soname_save_LIBS=$LIBS | |
13264 | LIBS="-lgnutls $ac_gnutls_libs $LIBS" | |
13265 | cat >conftest.$ac_ext <<_ACEOF | |
13266 | /* confdefs.h. */ | |
13267 | _ACEOF | |
13268 | cat confdefs.h >>conftest.$ac_ext | |
13269 | cat >>conftest.$ac_ext <<_ACEOF | |
13270 | /* end confdefs.h. */ | |
13271 | ||
13272 | /* Override any GCC internal prototype to avoid an error. | |
13273 | Use char because int might match the return type of a GCC | |
13274 | builtin and then its argument prototype would still apply. */ | |
13275 | #ifdef __cplusplus | |
13276 | extern "C" | |
13277 | #endif | |
13278 | char gnutls_global_init (); | |
13279 | int | |
13280 | main () | |
13281 | { | |
13282 | return gnutls_global_init (); | |
13283 | ; | |
13284 | return 0; | |
13285 | } | |
13286 | _ACEOF | |
13287 | rm -f conftest.$ac_objext conftest$ac_exeext | |
13288 | if { (ac_try="$ac_link" | |
13289 | case "(($ac_try" in | |
13290 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
13291 | *) ac_try_echo=$ac_try;; | |
13292 | esac | |
abf5048b AJ |
13293 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
13294 | $as_echo "$ac_try_echo") >&5 | |
874c9ef6 HV |
13295 | (eval "$ac_link") 2>conftest.er1 |
13296 | ac_status=$? | |
13297 | grep -v '^ *+' conftest.er1 >conftest.err | |
13298 | rm -f conftest.er1 | |
13299 | cat conftest.err >&5 | |
abf5048b | 13300 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
874c9ef6 HV |
13301 | (exit $ac_status); } && { |
13302 | test -z "$ac_c_werror_flag" || | |
13303 | test ! -s conftest.err | |
abf5048b AJ |
13304 | } && test -s conftest$ac_exeext && { |
13305 | test "$cross_compiling" = yes || | |
13306 | $as_test_x conftest$ac_exeext | |
13307 | }; then | |
874c9ef6 HV |
13308 | case "$LIBEXT" in |
13309 | dll) ;; | |
13310 | dylib) ac_cv_lib_soname_gnutls=`otool -L conftest$ac_exeext | grep "libgnutls\\.[0-9A-Za-z.]*dylib" | sed -e "s/^.*\/\(libgnutls\.[0-9A-Za-z.]*dylib\).*$/\1/"';2,$d'` ;; | |
13311 | *) ac_cv_lib_soname_gnutls=`$ac_cv_path_LDD conftest$ac_exeext | grep "libgnutls\\.$LIBEXT" | sed -e "s/^.*\(libgnutls\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;; | |
13312 | esac | |
13313 | else | |
abf5048b | 13314 | $as_echo "$as_me: failed program was:" >&5 |
874c9ef6 HV |
13315 | sed 's/^/| /' conftest.$ac_ext >&5 |
13316 | ||
13317 | ||
13318 | fi | |
13319 | ||
abf5048b | 13320 | rm -rf conftest.dSYM |
874c9ef6 HV |
13321 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ |
13322 | conftest$ac_exeext conftest.$ac_ext | |
13323 | LIBS=$ac_check_soname_save_LIBS | |
13324 | fi | |
13325 | if test "x$ac_cv_lib_soname_gnutls" = "x"; then | |
abf5048b AJ |
13326 | { $as_echo "$as_me:$LINENO: result: not found" >&5 |
13327 | $as_echo "not found" >&6; } | |
874c9ef6 HV |
13328 | |
13329 | else | |
abf5048b AJ |
13330 | { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_soname_gnutls" >&5 |
13331 | $as_echo "$ac_cv_lib_soname_gnutls" >&6; } | |
874c9ef6 HV |
13332 | |
13333 | cat >>confdefs.h <<_ACEOF | |
13334 | #define SONAME_LIBGNUTLS "$ac_cv_lib_soname_gnutls" | |
13335 | _ACEOF | |
13336 | ||
13337 | GNUTLSINCL="$ac_gnutls_cflags" | |
13338 | ||
13339 | fi | |
13340 | ||
3aae9546 | 13341 | else |
abf5048b | 13342 | $as_echo "$as_me: failed program was:" >&5 |
3aae9546 FG |
13343 | sed 's/^/| /' conftest.$ac_ext >&5 |
13344 | ||
13345 | ||
13346 | fi | |
13347 | ||
13348 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | |
874c9ef6 HV |
13349 | fi |
13350 | ||
13351 | ||
13352 | CPPFLAGS="$ac_save_CPPFLAGS" | |
13353 | fi | |
13354 | if test "x$ac_cv_lib_soname_gnutls" = "x"; then | |
13355 | case "x$with_gnutls" in | |
93f094c5 | 13356 | x) wine_notices="$wine_notices|libgnutls ${notice_platform}development files not found, no schannel support." ;; |
874c9ef6 | 13357 | xno) ;; |
abf5048b | 13358 | *) { { $as_echo "$as_me:$LINENO: error: libgnutls ${notice_platform}development files not found, no schannel support. |
874c9ef6 | 13359 | This is an error since --with-gnutls was requested." >&5 |
abf5048b | 13360 | $as_echo "$as_me: error: libgnutls ${notice_platform}development files not found, no schannel support. |
874c9ef6 HV |
13361 | This is an error since --with-gnutls was requested." >&2;} |
13362 | { (exit 1); exit 1; }; } ;; | |
13363 | esac | |
13364 | fi | |
13365 | ||
13366 | ||
a3097628 AJ |
13367 | CURSESLIBS="" |
13368 | if test "$ac_cv_header_ncurses_h" = "yes" | |
13369 | then | |
abf5048b AJ |
13370 | { $as_echo "$as_me:$LINENO: checking for -lncurses" >&5 |
13371 | $as_echo_n "checking for -lncurses... " >&6; } | |
d0783774 | 13372 | if test "${ac_cv_lib_soname_ncurses+set}" = set; then |
abf5048b | 13373 | $as_echo_n "(cached) " >&6 |
a3097628 | 13374 | else |
d0783774 | 13375 | ac_check_soname_save_LIBS=$LIBS |
a3097628 | 13376 | LIBS="-lncurses $LIBS" |
d0783774 | 13377 | cat >conftest.$ac_ext <<_ACEOF |
e24bcc77 AJ |
13378 | /* confdefs.h. */ |
13379 | _ACEOF | |
13380 | cat confdefs.h >>conftest.$ac_ext | |
13381 | cat >>conftest.$ac_ext <<_ACEOF | |
13382 | /* end confdefs.h. */ | |
a3097628 AJ |
13383 | |
13384 | /* Override any GCC internal prototype to avoid an error. | |
13385 | Use char because int might match the return type of a GCC | |
13386 | builtin and then its argument prototype would still apply. */ | |
13387 | #ifdef __cplusplus | |
13388 | extern "C" | |
13389 | #endif | |
13390 | char waddch (); | |
13391 | int | |
13392 | main () | |
13393 | { | |
13394 | return waddch (); | |
13395 | ; | |
13396 | return 0; | |
13397 | } | |
f5818d2f | 13398 | _ACEOF |
a3097628 AJ |
13399 | rm -f conftest.$ac_objext conftest$ac_exeext |
13400 | if { (ac_try="$ac_link" | |
0ebeb530 JW |
13401 | case "(($ac_try" in |
13402 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
13403 | *) ac_try_echo=$ac_try;; | |
13404 | esac | |
abf5048b AJ |
13405 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
13406 | $as_echo "$ac_try_echo") >&5 | |
a3097628 | 13407 | (eval "$ac_link") 2>conftest.er1 |
f5818d2f | 13408 | ac_status=$? |
11af04e3 | 13409 | grep -v '^ *+' conftest.er1 >conftest.err |
f5818d2f AJ |
13410 | rm -f conftest.er1 |
13411 | cat conftest.err >&5 | |
abf5048b | 13412 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
a3097628 AJ |
13413 | (exit $ac_status); } && { |
13414 | test -z "$ac_c_werror_flag" || | |
dc9f3843 | 13415 | test ! -s conftest.err |
abf5048b AJ |
13416 | } && test -s conftest$ac_exeext && { |
13417 | test "$cross_compiling" = yes || | |
13418 | $as_test_x conftest$ac_exeext | |
13419 | }; then | |
d0783774 AJ |
13420 | case "$LIBEXT" in |
13421 | dll) ;; | |
13422 | dylib) ac_cv_lib_soname_ncurses=`otool -L conftest$ac_exeext | grep "libncurses\\.[0-9A-Za-z.]*dylib" | sed -e "s/^.*\/\(libncurses\.[0-9A-Za-z.]*dylib\).*$/\1/"';2,$d'` ;; | |
13423 | *) ac_cv_lib_soname_ncurses=`$ac_cv_path_LDD conftest$ac_exeext | grep "libncurses\\.$LIBEXT" | sed -e "s/^.*\(libncurses\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;; | |
13424 | esac | |
18d7573c | 13425 | else |
abf5048b | 13426 | $as_echo "$as_me: failed program was:" >&5 |
e24bcc77 AJ |
13427 | sed 's/^/| /' conftest.$ac_ext >&5 |
13428 | ||
d0783774 | 13429 | |
18d7573c | 13430 | fi |
fc6ffb29 | 13431 | |
abf5048b | 13432 | rm -rf conftest.dSYM |
a3097628 AJ |
13433 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ |
13434 | conftest$ac_exeext conftest.$ac_ext | |
d0783774 | 13435 | LIBS=$ac_check_soname_save_LIBS |
a3097628 | 13436 | fi |
d0783774 | 13437 | if test "x$ac_cv_lib_soname_ncurses" = "x"; then |
abf5048b AJ |
13438 | { $as_echo "$as_me:$LINENO: result: not found" >&5 |
13439 | $as_echo "not found" >&6; } | |
d0783774 AJ |
13440 | |
13441 | else | |
abf5048b AJ |
13442 | { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_soname_ncurses" >&5 |
13443 | $as_echo "$ac_cv_lib_soname_ncurses" >&6; } | |
d0783774 AJ |
13444 | |
13445 | cat >>confdefs.h <<_ACEOF | |
13446 | #define SONAME_LIBNCURSES "$ac_cv_lib_soname_ncurses" | |
13447 | _ACEOF | |
13448 | ||
13449 | CURSESLIBS="-lncurses" | |
a3097628 AJ |
13450 | fi |
13451 | ||
13452 | elif test "$ac_cv_header_curses_h" = "yes" | |
13453 | then | |
abf5048b AJ |
13454 | { $as_echo "$as_me:$LINENO: checking for -lcurses" >&5 |
13455 | $as_echo_n "checking for -lcurses... " >&6; } | |
d0783774 | 13456 | if test "${ac_cv_lib_soname_curses+set}" = set; then |
abf5048b | 13457 | $as_echo_n "(cached) " >&6 |
d8a6c278 | 13458 | else |
d0783774 | 13459 | ac_check_soname_save_LIBS=$LIBS |
a3097628 | 13460 | LIBS="-lcurses $LIBS" |
d0783774 | 13461 | cat >conftest.$ac_ext <<_ACEOF |
d8a6c278 HD |
13462 | /* confdefs.h. */ |
13463 | _ACEOF | |
13464 | cat confdefs.h >>conftest.$ac_ext | |
13465 | cat >>conftest.$ac_ext <<_ACEOF | |
13466 | /* end confdefs.h. */ | |
d8a6c278 | 13467 | |
a3097628 AJ |
13468 | /* Override any GCC internal prototype to avoid an error. |
13469 | Use char because int might match the return type of a GCC | |
13470 | builtin and then its argument prototype would still apply. */ | |
13471 | #ifdef __cplusplus | |
13472 | extern "C" | |
13473 | #endif | |
13474 | char waddch (); | |
d8a6c278 HD |
13475 | int |
13476 | main () | |
13477 | { | |
a3097628 | 13478 | return waddch (); |
d8a6c278 HD |
13479 | ; |
13480 | return 0; | |
13481 | } | |
13482 | _ACEOF | |
a3097628 AJ |
13483 | rm -f conftest.$ac_objext conftest$ac_exeext |
13484 | if { (ac_try="$ac_link" | |
0ebeb530 JW |
13485 | case "(($ac_try" in |
13486 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
13487 | *) ac_try_echo=$ac_try;; | |
13488 | esac | |
abf5048b AJ |
13489 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
13490 | $as_echo "$ac_try_echo") >&5 | |
a3097628 | 13491 | (eval "$ac_link") 2>conftest.er1 |
d8a6c278 HD |
13492 | ac_status=$? |
13493 | grep -v '^ *+' conftest.er1 >conftest.err | |
13494 | rm -f conftest.er1 | |
13495 | cat conftest.err >&5 | |
abf5048b | 13496 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
dc9f3843 AJ |
13497 | (exit $ac_status); } && { |
13498 | test -z "$ac_c_werror_flag" || | |
13499 | test ! -s conftest.err | |
abf5048b AJ |
13500 | } && test -s conftest$ac_exeext && { |
13501 | test "$cross_compiling" = yes || | |
13502 | $as_test_x conftest$ac_exeext | |
13503 | }; then | |
d0783774 AJ |
13504 | case "$LIBEXT" in |
13505 | dll) ;; | |
13506 | dylib) ac_cv_lib_soname_curses=`otool -L conftest$ac_exeext | grep "libcurses\\.[0-9A-Za-z.]*dylib" | sed -e "s/^.*\/\(libcurses\.[0-9A-Za-z.]*dylib\).*$/\1/"';2,$d'` ;; | |
13507 | *) ac_cv_lib_soname_curses=`$ac_cv_path_LDD conftest$ac_exeext | grep "libcurses\\.$LIBEXT" | sed -e "s/^.*\(libcurses\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;; | |
13508 | esac | |
d8a6c278 | 13509 | else |
abf5048b | 13510 | $as_echo "$as_me: failed program was:" >&5 |
d8a6c278 HD |
13511 | sed 's/^/| /' conftest.$ac_ext >&5 |
13512 | ||
d0783774 | 13513 | |
d8a6c278 | 13514 | fi |
d8a6c278 | 13515 | |
abf5048b | 13516 | rm -rf conftest.dSYM |
a3097628 AJ |
13517 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ |
13518 | conftest$ac_exeext conftest.$ac_ext | |
d0783774 | 13519 | LIBS=$ac_check_soname_save_LIBS |
a3097628 | 13520 | fi |
d0783774 | 13521 | if test "x$ac_cv_lib_soname_curses" = "x"; then |
abf5048b AJ |
13522 | { $as_echo "$as_me:$LINENO: result: not found" >&5 |
13523 | $as_echo "not found" >&6; } | |
d0783774 AJ |
13524 | |
13525 | else | |
abf5048b AJ |
13526 | { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_soname_curses" >&5 |
13527 | $as_echo "$ac_cv_lib_soname_curses" >&6; } | |
d0783774 AJ |
13528 | |
13529 | cat >>confdefs.h <<_ACEOF | |
13530 | #define SONAME_LIBCURSES "$ac_cv_lib_soname_curses" | |
13531 | _ACEOF | |
13532 | ||
13533 | CURSESLIBS="-lcurses" | |
d8a6c278 HD |
13534 | fi |
13535 | ||
a3097628 AJ |
13536 | fi |
13537 | ac_save_LIBS="$LIBS" | |
13538 | LIBS="$LIBS $CURSESLIBS" | |
35bca77f | 13539 | |
a3097628 | 13540 | for ac_func in mousemask |
35bca77f | 13541 | do |
abf5048b AJ |
13542 | as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` |
13543 | { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5 | |
13544 | $as_echo_n "checking for $ac_func... " >&6; } | |
fc6ffb29 | 13545 | if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then |
abf5048b | 13546 | $as_echo_n "(cached) " >&6 |
35bca77f HD |
13547 | else |
13548 | cat >conftest.$ac_ext <<_ACEOF | |
13549 | /* confdefs.h. */ | |
13550 | _ACEOF | |
13551 | cat confdefs.h >>conftest.$ac_ext | |
13552 | cat >>conftest.$ac_ext <<_ACEOF | |
13553 | /* end confdefs.h. */ | |
13554 | /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func. | |
13555 | For example, HP-UX 11i <limits.h> declares gettimeofday. */ | |
13556 | #define $ac_func innocuous_$ac_func | |
13557 | ||
13558 | /* System header to define __stub macros and hopefully few prototypes, | |
13559 | which can conflict with char $ac_func (); below. | |
13560 | Prefer <limits.h> to <assert.h> if __STDC__ is defined, since | |
13561 | <limits.h> exists even on freestanding compilers. */ | |
13562 | ||
13563 | #ifdef __STDC__ | |
13564 | # include <limits.h> | |
13565 | #else | |
13566 | # include <assert.h> | |
13567 | #endif | |
13568 | ||
13569 | #undef $ac_func | |
13570 | ||
fc6ffb29 AJ |
13571 | /* Override any GCC internal prototype to avoid an error. |
13572 | Use char because int might match the return type of a GCC | |
13573 | builtin and then its argument prototype would still apply. */ | |
35bca77f HD |
13574 | #ifdef __cplusplus |
13575 | extern "C" | |
35bca77f | 13576 | #endif |
35bca77f HD |
13577 | char $ac_func (); |
13578 | /* The GNU C library defines this for functions which it implements | |
13579 | to always fail with ENOSYS. Some functions are actually named | |
13580 | something starting with __ and the normal name is an alias. */ | |
fc6ffb29 | 13581 | #if defined __stub_$ac_func || defined __stub___$ac_func |
35bca77f | 13582 | choke me |
35bca77f HD |
13583 | #endif |
13584 | ||
13585 | int | |
13586 | main () | |
13587 | { | |
fc6ffb29 | 13588 | return $ac_func (); |
35bca77f HD |
13589 | ; |
13590 | return 0; | |
13591 | } | |
13592 | _ACEOF | |
13593 | rm -f conftest.$ac_objext conftest$ac_exeext | |
0ebeb530 JW |
13594 | if { (ac_try="$ac_link" |
13595 | case "(($ac_try" in | |
13596 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
13597 | *) ac_try_echo=$ac_try;; | |
13598 | esac | |
abf5048b AJ |
13599 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
13600 | $as_echo "$ac_try_echo") >&5 | |
0ebeb530 | 13601 | (eval "$ac_link") 2>conftest.er1 |
35bca77f HD |
13602 | ac_status=$? |
13603 | grep -v '^ *+' conftest.er1 >conftest.err | |
13604 | rm -f conftest.er1 | |
13605 | cat conftest.err >&5 | |
abf5048b | 13606 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
dc9f3843 AJ |
13607 | (exit $ac_status); } && { |
13608 | test -z "$ac_c_werror_flag" || | |
13609 | test ! -s conftest.err | |
abf5048b AJ |
13610 | } && test -s conftest$ac_exeext && { |
13611 | test "$cross_compiling" = yes || | |
13612 | $as_test_x conftest$ac_exeext | |
13613 | }; then | |
35bca77f HD |
13614 | eval "$as_ac_var=yes" |
13615 | else | |
abf5048b | 13616 | $as_echo "$as_me: failed program was:" >&5 |
35bca77f HD |
13617 | sed 's/^/| /' conftest.$ac_ext >&5 |
13618 | ||
fc6ffb29 | 13619 | eval "$as_ac_var=no" |
35bca77f | 13620 | fi |
fc6ffb29 | 13621 | |
abf5048b | 13622 | rm -rf conftest.dSYM |
f0ca586f | 13623 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ |
35bca77f HD |
13624 | conftest$ac_exeext conftest.$ac_ext |
13625 | fi | |
abf5048b AJ |
13626 | ac_res=`eval 'as_val=${'$as_ac_var'} |
13627 | $as_echo "$as_val"'` | |
13628 | { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 | |
13629 | $as_echo "$ac_res" >&6; } | |
13630 | as_val=`eval 'as_val=${'$as_ac_var'} | |
13631 | $as_echo "$as_val"'` | |
13632 | if test "x$as_val" = x""yes; then | |
35bca77f | 13633 | cat >>confdefs.h <<_ACEOF |
abf5048b | 13634 | #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 |
35bca77f HD |
13635 | _ACEOF |
13636 | ||
13637 | fi | |
13638 | done | |
13639 | ||
a3097628 | 13640 | LIBS="$ac_save_LIBS" |
f9dec94f | 13641 | if test "x$ac_cv_lib_soname_curses$ac_cv_lib_soname_ncurses" = "x"; then |
a41f0f1b | 13642 | case "x$with_curses" in |
93f094c5 | 13643 | x) wine_notices="$wine_notices|lib(n)curses ${notice_platform}development files not found, curses won't be supported." ;; |
a41f0f1b | 13644 | xno) ;; |
abf5048b | 13645 | *) { { $as_echo "$as_me:$LINENO: error: lib(n)curses ${notice_platform}development files not found, curses won't be supported. |
a41f0f1b | 13646 | This is an error since --with-curses was requested." >&5 |
abf5048b | 13647 | $as_echo "$as_me: error: lib(n)curses ${notice_platform}development files not found, curses won't be supported. |
a41f0f1b AJ |
13648 | This is an error since --with-curses was requested." >&2;} |
13649 | { (exit 1); exit 1; }; } ;; | |
13650 | esac | |
f9dec94f AJ |
13651 | fi |
13652 | ||
f5818d2f | 13653 | |
a3097628 AJ |
13654 | # Extract the first word of "sane-config", so it can be a program name with args. |
13655 | set dummy sane-config; ac_word=$2 | |
abf5048b AJ |
13656 | { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 |
13657 | $as_echo_n "checking for $ac_word... " >&6; } | |
a3097628 | 13658 | if test "${ac_cv_prog_sane_devel+set}" = set; then |
abf5048b | 13659 | $as_echo_n "(cached) " >&6 |
a3097628 AJ |
13660 | else |
13661 | if test -n "$sane_devel"; then | |
13662 | ac_cv_prog_sane_devel="$sane_devel" # Let the user override the test. | |
13663 | else | |
13664 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | |
13665 | for as_dir in $PATH | |
13666 | do | |
13667 | IFS=$as_save_IFS | |
13668 | test -z "$as_dir" && as_dir=. | |
13669 | for ac_exec_ext in '' $ac_executable_extensions; do | |
13670 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then | |
13671 | ac_cv_prog_sane_devel="sane-config" | |
abf5048b | 13672 | $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
a3097628 AJ |
13673 | break 2 |
13674 | fi | |
13675 | done | |
13676 | done | |
13677 | IFS=$as_save_IFS | |
9b1d3726 | 13678 | |
a3097628 AJ |
13679 | test -z "$ac_cv_prog_sane_devel" && ac_cv_prog_sane_devel="no" |
13680 | fi | |
13681 | fi | |
13682 | sane_devel=$ac_cv_prog_sane_devel | |
13683 | if test -n "$sane_devel"; then | |
abf5048b AJ |
13684 | { $as_echo "$as_me:$LINENO: result: $sane_devel" >&5 |
13685 | $as_echo "$sane_devel" >&6; } | |
a3097628 | 13686 | else |
abf5048b AJ |
13687 | { $as_echo "$as_me:$LINENO: result: no" >&5 |
13688 | $as_echo "no" >&6; } | |
563598d4 IP |
13689 | fi |
13690 | ||
00acb5f7 | 13691 | |
a41f0f1b | 13692 | if test "$sane_devel" != "no" -a "x$with_sane" != "xno" |
a3097628 | 13693 | then |
418e74b5 | 13694 | ac_sane_incl="`$sane_devel --cflags`" |
a9d7babd | 13695 | ac_sane_libs="`$sane_devel --ldflags`" |
a3097628 | 13696 | ac_save_CPPFLAGS="$CPPFLAGS" |
418e74b5 | 13697 | CPPFLAGS="$CPPFLAGS $ac_sane_incl" |
a3097628 | 13698 | if test "${ac_cv_header_sane_sane_h+set}" = set; then |
abf5048b AJ |
13699 | { $as_echo "$as_me:$LINENO: checking for sane/sane.h" >&5 |
13700 | $as_echo_n "checking for sane/sane.h... " >&6; } | |
a3097628 | 13701 | if test "${ac_cv_header_sane_sane_h+set}" = set; then |
abf5048b | 13702 | $as_echo_n "(cached) " >&6 |
a3097628 | 13703 | fi |
abf5048b AJ |
13704 | { $as_echo "$as_me:$LINENO: result: $ac_cv_header_sane_sane_h" >&5 |
13705 | $as_echo "$ac_cv_header_sane_sane_h" >&6; } | |
6509fa93 | 13706 | else |
a3097628 | 13707 | # Is the header compilable? |
abf5048b AJ |
13708 | { $as_echo "$as_me:$LINENO: checking sane/sane.h usability" >&5 |
13709 | $as_echo_n "checking sane/sane.h usability... " >&6; } | |
a3097628 | 13710 | cat >conftest.$ac_ext <<_ACEOF |
e24bcc77 AJ |
13711 | /* confdefs.h. */ |
13712 | _ACEOF | |
13713 | cat confdefs.h >>conftest.$ac_ext | |
13714 | cat >>conftest.$ac_ext <<_ACEOF | |
13715 | /* end confdefs.h. */ | |
a3097628 AJ |
13716 | $ac_includes_default |
13717 | #include <sane/sane.h> | |
f5818d2f AJ |
13718 | _ACEOF |
13719 | rm -f conftest.$ac_objext | |
0ebeb530 JW |
13720 | if { (ac_try="$ac_compile" |
13721 | case "(($ac_try" in | |
13722 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
13723 | *) ac_try_echo=$ac_try;; | |
13724 | esac | |
abf5048b AJ |
13725 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
13726 | $as_echo "$ac_try_echo") >&5 | |
0ebeb530 | 13727 | (eval "$ac_compile") 2>conftest.er1 |
f5818d2f | 13728 | ac_status=$? |
875927f6 AJ |
13729 | grep -v '^ *+' conftest.er1 >conftest.err |
13730 | rm -f conftest.er1 | |
13731 | cat conftest.err >&5 | |
abf5048b | 13732 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
dc9f3843 AJ |
13733 | (exit $ac_status); } && { |
13734 | test -z "$ac_c_werror_flag" || | |
13735 | test ! -s conftest.err | |
13736 | } && test -s conftest.$ac_objext; then | |
a3097628 | 13737 | ac_header_compiler=yes |
6509fa93 | 13738 | else |
abf5048b | 13739 | $as_echo "$as_me: failed program was:" >&5 |
e24bcc77 AJ |
13740 | sed 's/^/| /' conftest.$ac_ext >&5 |
13741 | ||
a3097628 | 13742 | ac_header_compiler=no |
6509fa93 | 13743 | fi |
fc6ffb29 | 13744 | |
0ebeb530 | 13745 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
abf5048b AJ |
13746 | { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 |
13747 | $as_echo "$ac_header_compiler" >&6; } | |
a3097628 AJ |
13748 | |
13749 | # Is the header present? | |
abf5048b AJ |
13750 | { $as_echo "$as_me:$LINENO: checking sane/sane.h presence" >&5 |
13751 | $as_echo_n "checking sane/sane.h presence... " >&6; } | |
a3097628 AJ |
13752 | cat >conftest.$ac_ext <<_ACEOF |
13753 | /* confdefs.h. */ | |
13754 | _ACEOF | |
13755 | cat confdefs.h >>conftest.$ac_ext | |
13756 | cat >>conftest.$ac_ext <<_ACEOF | |
13757 | /* end confdefs.h. */ | |
13758 | #include <sane/sane.h> | |
13759 | _ACEOF | |
13760 | if { (ac_try="$ac_cpp conftest.$ac_ext" | |
13761 | case "(($ac_try" in | |
13762 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
13763 | *) ac_try_echo=$ac_try;; | |
13764 | esac | |
abf5048b AJ |
13765 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
13766 | $as_echo "$ac_try_echo") >&5 | |
a3097628 AJ |
13767 | (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 |
13768 | ac_status=$? | |
13769 | grep -v '^ *+' conftest.er1 >conftest.err | |
13770 | rm -f conftest.er1 | |
13771 | cat conftest.err >&5 | |
abf5048b | 13772 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
a3097628 AJ |
13773 | (exit $ac_status); } >/dev/null && { |
13774 | test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || | |
13775 | test ! -s conftest.err | |
13776 | }; then | |
13777 | ac_header_preproc=yes | |
13778 | else | |
abf5048b | 13779 | $as_echo "$as_me: failed program was:" >&5 |
a3097628 AJ |
13780 | sed 's/^/| /' conftest.$ac_ext >&5 |
13781 | ||
13782 | ac_header_preproc=no | |
f5818d2f | 13783 | fi |
a3097628 AJ |
13784 | |
13785 | rm -f conftest.err conftest.$ac_ext | |
abf5048b AJ |
13786 | { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 |
13787 | $as_echo "$ac_header_preproc" >&6; } | |
a3097628 AJ |
13788 | |
13789 | # So? What about this header? | |
13790 | case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in | |
13791 | yes:no: ) | |
abf5048b AJ |
13792 | { $as_echo "$as_me:$LINENO: WARNING: sane/sane.h: accepted by the compiler, rejected by the preprocessor!" >&5 |
13793 | $as_echo "$as_me: WARNING: sane/sane.h: accepted by the compiler, rejected by the preprocessor!" >&2;} | |
13794 | { $as_echo "$as_me:$LINENO: WARNING: sane/sane.h: proceeding with the compiler's result" >&5 | |
13795 | $as_echo "$as_me: WARNING: sane/sane.h: proceeding with the compiler's result" >&2;} | |
a3097628 AJ |
13796 | ac_header_preproc=yes |
13797 | ;; | |
13798 | no:yes:* ) | |
abf5048b AJ |
13799 | { $as_echo "$as_me:$LINENO: WARNING: sane/sane.h: present but cannot be compiled" >&5 |
13800 | $as_echo "$as_me: WARNING: sane/sane.h: present but cannot be compiled" >&2;} | |
13801 | { $as_echo "$as_me:$LINENO: WARNING: sane/sane.h: check for missing prerequisite headers?" >&5 | |
13802 | $as_echo "$as_me: WARNING: sane/sane.h: check for missing prerequisite headers?" >&2;} | |
13803 | { $as_echo "$as_me:$LINENO: WARNING: sane/sane.h: see the Autoconf documentation" >&5 | |
13804 | $as_echo "$as_me: WARNING: sane/sane.h: see the Autoconf documentation" >&2;} | |
13805 | { $as_echo "$as_me:$LINENO: WARNING: sane/sane.h: section \"Present But Cannot Be Compiled\"" >&5 | |
13806 | $as_echo "$as_me: WARNING: sane/sane.h: section \"Present But Cannot Be Compiled\"" >&2;} | |
13807 | { $as_echo "$as_me:$LINENO: WARNING: sane/sane.h: proceeding with the preprocessor's result" >&5 | |
13808 | $as_echo "$as_me: WARNING: sane/sane.h: proceeding with the preprocessor's result" >&2;} | |
13809 | { $as_echo "$as_me:$LINENO: WARNING: sane/sane.h: in the future, the compiler will take precedence" >&5 | |
13810 | $as_echo "$as_me: WARNING: sane/sane.h: in the future, the compiler will take precedence" >&2;} | |
a3097628 AJ |
13811 | ( cat <<\_ASBOX |
13812 | ## ------------------------------------ ## | |
13813 | ## Report this to wine-devel@winehq.org ## | |
13814 | ## ------------------------------------ ## | |
13815 | _ASBOX | |
13816 | ) | sed "s/^/$as_me: WARNING: /" >&2 | |
13817 | ;; | |
13818 | esac | |
abf5048b AJ |
13819 | { $as_echo "$as_me:$LINENO: checking for sane/sane.h" >&5 |
13820 | $as_echo_n "checking for sane/sane.h... " >&6; } | |
a3097628 | 13821 | if test "${ac_cv_header_sane_sane_h+set}" = set; then |
abf5048b | 13822 | $as_echo_n "(cached) " >&6 |
a3097628 AJ |
13823 | else |
13824 | ac_cv_header_sane_sane_h=$ac_header_preproc | |
13825 | fi | |
abf5048b AJ |
13826 | { $as_echo "$as_me:$LINENO: result: $ac_cv_header_sane_sane_h" >&5 |
13827 | $as_echo "$ac_cv_header_sane_sane_h" >&6; } | |
a3097628 AJ |
13828 | |
13829 | fi | |
abf5048b AJ |
13830 | if test "x$ac_cv_header_sane_sane_h" = x""yes; then |
13831 | { $as_echo "$as_me:$LINENO: checking for -lsane" >&5 | |
13832 | $as_echo_n "checking for -lsane... " >&6; } | |
418e74b5 | 13833 | if test "${ac_cv_lib_soname_sane+set}" = set; then |
abf5048b | 13834 | $as_echo_n "(cached) " >&6 |
418e74b5 AJ |
13835 | else |
13836 | ac_check_soname_save_LIBS=$LIBS | |
a9d7babd | 13837 | LIBS="-lsane $ac_sane_libs $LIBS" |
418e74b5 AJ |
13838 | cat >conftest.$ac_ext <<_ACEOF |
13839 | /* confdefs.h. */ | |
13840 | _ACEOF | |
13841 | cat confdefs.h >>conftest.$ac_ext | |
13842 | cat >>conftest.$ac_ext <<_ACEOF | |
13843 | /* end confdefs.h. */ | |
f5818d2f | 13844 | |
418e74b5 AJ |
13845 | /* Override any GCC internal prototype to avoid an error. |
13846 | Use char because int might match the return type of a GCC | |
13847 | builtin and then its argument prototype would still apply. */ | |
13848 | #ifdef __cplusplus | |
13849 | extern "C" | |
13850 | #endif | |
13851 | char sane_init (); | |
13852 | int | |
13853 | main () | |
13854 | { | |
13855 | return sane_init (); | |
13856 | ; | |
13857 | return 0; | |
13858 | } | |
daa2886c | 13859 | _ACEOF |
418e74b5 AJ |
13860 | rm -f conftest.$ac_objext conftest$ac_exeext |
13861 | if { (ac_try="$ac_link" | |
13862 | case "(($ac_try" in | |
13863 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
13864 | *) ac_try_echo=$ac_try;; | |
13865 | esac | |
abf5048b AJ |
13866 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
13867 | $as_echo "$ac_try_echo") >&5 | |
418e74b5 AJ |
13868 | (eval "$ac_link") 2>conftest.er1 |
13869 | ac_status=$? | |
13870 | grep -v '^ *+' conftest.er1 >conftest.err | |
13871 | rm -f conftest.er1 | |
13872 | cat conftest.err >&5 | |
abf5048b | 13873 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
418e74b5 AJ |
13874 | (exit $ac_status); } && { |
13875 | test -z "$ac_c_werror_flag" || | |
13876 | test ! -s conftest.err | |
abf5048b AJ |
13877 | } && test -s conftest$ac_exeext && { |
13878 | test "$cross_compiling" = yes || | |
13879 | $as_test_x conftest$ac_exeext | |
13880 | }; then | |
418e74b5 AJ |
13881 | case "$LIBEXT" in |
13882 | dll) ;; | |
13883 | dylib) ac_cv_lib_soname_sane=`otool -L conftest$ac_exeext | grep "libsane\\.[0-9A-Za-z.]*dylib" | sed -e "s/^.*\/\(libsane\.[0-9A-Za-z.]*dylib\).*$/\1/"';2,$d'` ;; | |
13884 | *) ac_cv_lib_soname_sane=`$ac_cv_path_LDD conftest$ac_exeext | grep "libsane\\.$LIBEXT" | sed -e "s/^.*\(libsane\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;; | |
13885 | esac | |
13886 | else | |
abf5048b | 13887 | $as_echo "$as_me: failed program was:" >&5 |
418e74b5 AJ |
13888 | sed 's/^/| /' conftest.$ac_ext >&5 |
13889 | ||
13890 | ||
13891 | fi | |
13892 | ||
abf5048b | 13893 | rm -rf conftest.dSYM |
418e74b5 AJ |
13894 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ |
13895 | conftest$ac_exeext conftest.$ac_ext | |
13896 | LIBS=$ac_check_soname_save_LIBS | |
13897 | fi | |
13898 | if test "x$ac_cv_lib_soname_sane" = "x"; then | |
abf5048b AJ |
13899 | { $as_echo "$as_me:$LINENO: result: not found" >&5 |
13900 | $as_echo "not found" >&6; } | |
6509fa93 | 13901 | |
a3097628 | 13902 | else |
abf5048b AJ |
13903 | { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_soname_sane" >&5 |
13904 | $as_echo "$ac_cv_lib_soname_sane" >&6; } | |
418e74b5 AJ |
13905 | |
13906 | cat >>confdefs.h <<_ACEOF | |
13907 | #define SONAME_LIBSANE "$ac_cv_lib_soname_sane" | |
13908 | _ACEOF | |
13909 | ||
13910 | SANEINCL="$ac_sane_incl" | |
13911 | ||
13912 | fi | |
13913 | ||
a3097628 AJ |
13914 | fi |
13915 | ||
13916 | ||
13917 | CPPFLAGS="$ac_save_CPPFLAGS" | |
13918 | fi | |
f9dec94f | 13919 | if test "x$ac_cv_lib_soname_sane" = "x"; then |
a41f0f1b | 13920 | case "x$with_sane" in |
93f094c5 | 13921 | x) wine_notices="$wine_notices|libsane ${notice_platform}development files not found, scanners won't be supported." ;; |
a41f0f1b | 13922 | xno) ;; |
abf5048b | 13923 | *) { { $as_echo "$as_me:$LINENO: error: libsane ${notice_platform}development files not found, scanners won't be supported. |
a41f0f1b | 13924 | This is an error since --with-sane was requested." >&5 |
abf5048b | 13925 | $as_echo "$as_me: error: libsane ${notice_platform}development files not found, scanners won't be supported. |
a41f0f1b AJ |
13926 | This is an error since --with-sane was requested." >&2;} |
13927 | { (exit 1); exit 1; }; } ;; | |
13928 | esac | |
f9dec94f AJ |
13929 | fi |
13930 | ||
a3097628 AJ |
13931 | |
13932 | # Extract the first word of "gphoto2-config", so it can be a program name with args. | |
13933 | set dummy gphoto2-config; ac_word=$2 | |
abf5048b AJ |
13934 | { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 |
13935 | $as_echo_n "checking for $ac_word... " >&6; } | |
a3097628 | 13936 | if test "${ac_cv_prog_gphoto2_devel+set}" = set; then |
abf5048b | 13937 | $as_echo_n "(cached) " >&6 |
a3097628 AJ |
13938 | else |
13939 | if test -n "$gphoto2_devel"; then | |
13940 | ac_cv_prog_gphoto2_devel="$gphoto2_devel" # Let the user override the test. | |
13941 | else | |
13942 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | |
13943 | for as_dir in $PATH | |
13944 | do | |
13945 | IFS=$as_save_IFS | |
13946 | test -z "$as_dir" && as_dir=. | |
13947 | for ac_exec_ext in '' $ac_executable_extensions; do | |
13948 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then | |
13949 | ac_cv_prog_gphoto2_devel="gphoto2-config" | |
abf5048b | 13950 | $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
a3097628 AJ |
13951 | break 2 |
13952 | fi | |
13953 | done | |
13954 | done | |
13955 | IFS=$as_save_IFS | |
13956 | ||
13957 | test -z "$ac_cv_prog_gphoto2_devel" && ac_cv_prog_gphoto2_devel="no" | |
13958 | fi | |
13959 | fi | |
13960 | gphoto2_devel=$ac_cv_prog_gphoto2_devel | |
13961 | if test -n "$gphoto2_devel"; then | |
abf5048b AJ |
13962 | { $as_echo "$as_me:$LINENO: result: $gphoto2_devel" >&5 |
13963 | $as_echo "$gphoto2_devel" >&6; } | |
a3097628 | 13964 | else |
abf5048b AJ |
13965 | { $as_echo "$as_me:$LINENO: result: no" >&5 |
13966 | $as_echo "no" >&6; } | |
a3097628 AJ |
13967 | fi |
13968 | ||
13969 | ||
13970 | # Extract the first word of "gphoto2-port-config", so it can be a program name with args. | |
13971 | set dummy gphoto2-port-config; ac_word=$2 | |
abf5048b AJ |
13972 | { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 |
13973 | $as_echo_n "checking for $ac_word... " >&6; } | |
a3097628 | 13974 | if test "${ac_cv_prog_gphoto2port_devel+set}" = set; then |
abf5048b | 13975 | $as_echo_n "(cached) " >&6 |
a3097628 AJ |
13976 | else |
13977 | if test -n "$gphoto2port_devel"; then | |
13978 | ac_cv_prog_gphoto2port_devel="$gphoto2port_devel" # Let the user override the test. | |
13979 | else | |
13980 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | |
13981 | for as_dir in $PATH | |
13982 | do | |
13983 | IFS=$as_save_IFS | |
13984 | test -z "$as_dir" && as_dir=. | |
13985 | for ac_exec_ext in '' $ac_executable_extensions; do | |
13986 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then | |
13987 | ac_cv_prog_gphoto2port_devel="gphoto2-port-config" | |
abf5048b | 13988 | $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
a3097628 AJ |
13989 | break 2 |
13990 | fi | |
13991 | done | |
13992 | done | |
13993 | IFS=$as_save_IFS | |
13994 | ||
13995 | test -z "$ac_cv_prog_gphoto2port_devel" && ac_cv_prog_gphoto2port_devel="no" | |
6509fa93 | 13996 | fi |
a3097628 AJ |
13997 | fi |
13998 | gphoto2port_devel=$ac_cv_prog_gphoto2port_devel | |
13999 | if test -n "$gphoto2port_devel"; then | |
abf5048b AJ |
14000 | { $as_echo "$as_me:$LINENO: result: $gphoto2port_devel" >&5 |
14001 | $as_echo "$gphoto2port_devel" >&6; } | |
5ee517ac | 14002 | else |
abf5048b AJ |
14003 | { $as_echo "$as_me:$LINENO: result: no" >&5 |
14004 | $as_echo "no" >&6; } | |
5ee517ac | 14005 | fi |
fc6ffb29 | 14006 | |
5ee517ac | 14007 | |
a41f0f1b | 14008 | if test "$gphoto2_devel" != "no" -a "$gphoto2port_devel" != "no" -a "x$with_gphoto" != "xno" |
a3097628 | 14009 | then |
f9dec94f AJ |
14010 | ac_gphoto2_incl="`$gphoto2_devel --cflags` `$gphoto2port_devel --cflags`" |
14011 | ac_gphoto2_libs="" | |
a3097628 AJ |
14012 | for i in `$gphoto2_devel --libs` `$gphoto2port_devel --libs` |
14013 | do | |
14014 | case "$i" in | |
14015 | -L/usr/lib|-L/usr/lib64) ;; | |
f9dec94f | 14016 | -L*|-l*) ac_gphoto2_libs="$ac_gphoto2_libs $i";; |
a3097628 AJ |
14017 | esac |
14018 | done | |
14019 | ac_save_CPPFLAGS="$CPPFLAGS" | |
f9dec94f | 14020 | CPPFLAGS="$CPPFLAGS $ac_gphoto2_incl" |
a3097628 | 14021 | if test "${ac_cv_header_gphoto2_camera_h+set}" = set; then |
abf5048b AJ |
14022 | { $as_echo "$as_me:$LINENO: checking for gphoto2-camera.h" >&5 |
14023 | $as_echo_n "checking for gphoto2-camera.h... " >&6; } | |
a3097628 | 14024 | if test "${ac_cv_header_gphoto2_camera_h+set}" = set; then |
abf5048b | 14025 | $as_echo_n "(cached) " >&6 |
a3097628 | 14026 | fi |
abf5048b AJ |
14027 | { $as_echo "$as_me:$LINENO: result: $ac_cv_header_gphoto2_camera_h" >&5 |
14028 | $as_echo "$ac_cv_header_gphoto2_camera_h" >&6; } | |
5ee517ac | 14029 | else |
a3097628 | 14030 | # Is the header compilable? |
abf5048b AJ |
14031 | { $as_echo "$as_me:$LINENO: checking gphoto2-camera.h usability" >&5 |
14032 | $as_echo_n "checking gphoto2-camera.h usability... " >&6; } | |
a3097628 | 14033 | cat >conftest.$ac_ext <<_ACEOF |
e24bcc77 AJ |
14034 | /* confdefs.h. */ |
14035 | _ACEOF | |
14036 | cat confdefs.h >>conftest.$ac_ext | |
14037 | cat >>conftest.$ac_ext <<_ACEOF | |
14038 | /* end confdefs.h. */ | |
a3097628 AJ |
14039 | $ac_includes_default |
14040 | #include <gphoto2-camera.h> | |
5ee517ac | 14041 | _ACEOF |
a3097628 AJ |
14042 | rm -f conftest.$ac_objext |
14043 | if { (ac_try="$ac_compile" | |
0ebeb530 JW |
14044 | case "(($ac_try" in |
14045 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
14046 | *) ac_try_echo=$ac_try;; | |
14047 | esac | |
abf5048b AJ |
14048 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
14049 | $as_echo "$ac_try_echo") >&5 | |
a3097628 | 14050 | (eval "$ac_compile") 2>conftest.er1 |
5ee517ac | 14051 | ac_status=$? |
875927f6 AJ |
14052 | grep -v '^ *+' conftest.er1 >conftest.err |
14053 | rm -f conftest.er1 | |
14054 | cat conftest.err >&5 | |
abf5048b | 14055 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
dc9f3843 AJ |
14056 | (exit $ac_status); } && { |
14057 | test -z "$ac_c_werror_flag" || | |
14058 | test ! -s conftest.err | |
a3097628 AJ |
14059 | } && test -s conftest.$ac_objext; then |
14060 | ac_header_compiler=yes | |
5ee517ac | 14061 | else |
abf5048b | 14062 | $as_echo "$as_me: failed program was:" >&5 |
e24bcc77 AJ |
14063 | sed 's/^/| /' conftest.$ac_ext >&5 |
14064 | ||
a3097628 | 14065 | ac_header_compiler=no |
5ee517ac | 14066 | fi |
5ee517ac | 14067 | |
a3097628 | 14068 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
abf5048b AJ |
14069 | { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 |
14070 | $as_echo "$ac_header_compiler" >&6; } | |
5ee517ac | 14071 | |
a3097628 | 14072 | # Is the header present? |
abf5048b AJ |
14073 | { $as_echo "$as_me:$LINENO: checking gphoto2-camera.h presence" >&5 |
14074 | $as_echo_n "checking gphoto2-camera.h presence... " >&6; } | |
a3097628 | 14075 | cat >conftest.$ac_ext <<_ACEOF |
b2d937d5 AJ |
14076 | /* confdefs.h. */ |
14077 | _ACEOF | |
14078 | cat confdefs.h >>conftest.$ac_ext | |
14079 | cat >>conftest.$ac_ext <<_ACEOF | |
14080 | /* end confdefs.h. */ | |
a3097628 | 14081 | #include <gphoto2-camera.h> |
b2d937d5 | 14082 | _ACEOF |
a3097628 | 14083 | if { (ac_try="$ac_cpp conftest.$ac_ext" |
0ebeb530 JW |
14084 | case "(($ac_try" in |
14085 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
14086 | *) ac_try_echo=$ac_try;; | |
14087 | esac | |
abf5048b AJ |
14088 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
14089 | $as_echo "$ac_try_echo") >&5 | |
a3097628 | 14090 | (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 |
b2d937d5 | 14091 | ac_status=$? |
875927f6 AJ |
14092 | grep -v '^ *+' conftest.er1 >conftest.err |
14093 | rm -f conftest.er1 | |
14094 | cat conftest.err >&5 | |
abf5048b | 14095 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
a3097628 AJ |
14096 | (exit $ac_status); } >/dev/null && { |
14097 | test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || | |
dc9f3843 | 14098 | test ! -s conftest.err |
a3097628 AJ |
14099 | }; then |
14100 | ac_header_preproc=yes | |
b2d937d5 | 14101 | else |
abf5048b | 14102 | $as_echo "$as_me: failed program was:" >&5 |
b2d937d5 AJ |
14103 | sed 's/^/| /' conftest.$ac_ext >&5 |
14104 | ||
a3097628 | 14105 | ac_header_preproc=no |
b2d937d5 | 14106 | fi |
fc6ffb29 | 14107 | |
a3097628 | 14108 | rm -f conftest.err conftest.$ac_ext |
abf5048b AJ |
14109 | { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 |
14110 | $as_echo "$ac_header_preproc" >&6; } | |
b2d937d5 | 14111 | |
a3097628 AJ |
14112 | # So? What about this header? |
14113 | case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in | |
14114 | yes:no: ) | |
abf5048b AJ |
14115 | { $as_echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: accepted by the compiler, rejected by the preprocessor!" >&5 |
14116 | $as_echo "$as_me: WARNING: gphoto2-camera.h: accepted by the compiler, rejected by the preprocessor!" >&2;} | |
14117 | { $as_echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: proceeding with the compiler's result" >&5 | |
14118 | $as_echo "$as_me: WARNING: gphoto2-camera.h: proceeding with the compiler's result" >&2;} | |
a3097628 AJ |
14119 | ac_header_preproc=yes |
14120 | ;; | |
14121 | no:yes:* ) | |
abf5048b AJ |
14122 | { $as_echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: present but cannot be compiled" >&5 |
14123 | $as_echo "$as_me: WARNING: gphoto2-camera.h: present but cannot be compiled" >&2;} | |
14124 | { $as_echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: check for missing prerequisite headers?" >&5 | |
14125 | $as_echo "$as_me: WARNING: gphoto2-camera.h: check for missing prerequisite headers?" >&2;} | |
14126 | { $as_echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: see the Autoconf documentation" >&5 | |
14127 | $as_echo "$as_me: WARNING: gphoto2-camera.h: see the Autoconf documentation" >&2;} | |
14128 | { $as_echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: section \"Present But Cannot Be Compiled\"" >&5 | |
14129 | $as_echo "$as_me: WARNING: gphoto2-camera.h: section \"Present But Cannot Be Compiled\"" >&2;} | |
14130 | { $as_echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: proceeding with the preprocessor's result" >&5 | |
14131 | $as_echo "$as_me: WARNING: gphoto2-camera.h: proceeding with the preprocessor's result" >&2;} | |
14132 | { $as_echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: in the future, the compiler will take precedence" >&5 | |
14133 | $as_echo "$as_me: WARNING: gphoto2-camera.h: in the future, the compiler will take precedence" >&2;} | |
a3097628 AJ |
14134 | ( cat <<\_ASBOX |
14135 | ## ------------------------------------ ## | |
14136 | ## Report this to wine-devel@winehq.org ## | |
14137 | ## ------------------------------------ ## | |
14138 | _ASBOX | |
14139 | ) | sed "s/^/$as_me: WARNING: /" >&2 | |
14140 | ;; | |
14141 | esac | |
abf5048b AJ |
14142 | { $as_echo "$as_me:$LINENO: checking for gphoto2-camera.h" >&5 |
14143 | $as_echo_n "checking for gphoto2-camera.h... " >&6; } | |
a3097628 | 14144 | if test "${ac_cv_header_gphoto2_camera_h+set}" = set; then |
abf5048b | 14145 | $as_echo_n "(cached) " >&6 |
a3097628 AJ |
14146 | else |
14147 | ac_cv_header_gphoto2_camera_h=$ac_header_preproc | |
b2d937d5 | 14148 | fi |
abf5048b AJ |
14149 | { $as_echo "$as_me:$LINENO: result: $ac_cv_header_gphoto2_camera_h" >&5 |
14150 | $as_echo "$ac_cv_header_gphoto2_camera_h" >&6; } | |
b2d937d5 AJ |
14151 | |
14152 | fi | |
abf5048b AJ |
14153 | if test "x$ac_cv_header_gphoto2_camera_h" = x""yes; then |
14154 | { $as_echo "$as_me:$LINENO: checking for gp_camera_new in -lgphoto2" >&5 | |
14155 | $as_echo_n "checking for gp_camera_new in -lgphoto2... " >&6; } | |
a3097628 | 14156 | if test "${ac_cv_lib_gphoto2_gp_camera_new+set}" = set; then |
abf5048b | 14157 | $as_echo_n "(cached) " >&6 |
80e34dbb | 14158 | else |
a3097628 | 14159 | ac_check_lib_save_LIBS=$LIBS |
4bc03fe8 | 14160 | LIBS="-lgphoto2 $ac_gphoto2_libs $LIBS" |
a3097628 | 14161 | cat >conftest.$ac_ext <<_ACEOF |
80e34dbb AJ |
14162 | /* confdefs.h. */ |
14163 | _ACEOF | |
14164 | cat confdefs.h >>conftest.$ac_ext | |
14165 | cat >>conftest.$ac_ext <<_ACEOF | |
14166 | /* end confdefs.h. */ | |
80e34dbb | 14167 | |
a3097628 AJ |
14168 | /* Override any GCC internal prototype to avoid an error. |
14169 | Use char because int might match the return type of a GCC | |
14170 | builtin and then its argument prototype would still apply. */ | |
14171 | #ifdef __cplusplus | |
14172 | extern "C" | |
14173 | #endif | |
14174 | char gp_camera_new (); | |
80e34dbb AJ |
14175 | int |
14176 | main () | |
14177 | { | |
a3097628 | 14178 | return gp_camera_new (); |
80e34dbb AJ |
14179 | ; |
14180 | return 0; | |
14181 | } | |
14182 | _ACEOF | |
a3097628 AJ |
14183 | rm -f conftest.$ac_objext conftest$ac_exeext |
14184 | if { (ac_try="$ac_link" | |
0ebeb530 JW |
14185 | case "(($ac_try" in |
14186 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
14187 | *) ac_try_echo=$ac_try;; | |
14188 | esac | |
abf5048b AJ |
14189 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
14190 | $as_echo "$ac_try_echo") >&5 | |
a3097628 | 14191 | (eval "$ac_link") 2>conftest.er1 |
80e34dbb | 14192 | ac_status=$? |
875927f6 AJ |
14193 | grep -v '^ *+' conftest.er1 >conftest.err |
14194 | rm -f conftest.er1 | |
14195 | cat conftest.err >&5 | |
abf5048b | 14196 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
dc9f3843 AJ |
14197 | (exit $ac_status); } && { |
14198 | test -z "$ac_c_werror_flag" || | |
14199 | test ! -s conftest.err | |
abf5048b AJ |
14200 | } && test -s conftest$ac_exeext && { |
14201 | test "$cross_compiling" = yes || | |
14202 | $as_test_x conftest$ac_exeext | |
14203 | }; then | |
a3097628 | 14204 | ac_cv_lib_gphoto2_gp_camera_new=yes |
80e34dbb | 14205 | else |
abf5048b | 14206 | $as_echo "$as_me: failed program was:" >&5 |
80e34dbb AJ |
14207 | sed 's/^/| /' conftest.$ac_ext >&5 |
14208 | ||
a3097628 | 14209 | ac_cv_lib_gphoto2_gp_camera_new=no |
80e34dbb | 14210 | fi |
fc6ffb29 | 14211 | |
abf5048b | 14212 | rm -rf conftest.dSYM |
a3097628 AJ |
14213 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ |
14214 | conftest$ac_exeext conftest.$ac_ext | |
14215 | LIBS=$ac_check_lib_save_LIBS | |
80e34dbb | 14216 | fi |
abf5048b AJ |
14217 | { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_gphoto2_gp_camera_new" >&5 |
14218 | $as_echo "$ac_cv_lib_gphoto2_gp_camera_new" >&6; } | |
14219 | if test "x$ac_cv_lib_gphoto2_gp_camera_new" = x""yes; then | |
80e34dbb | 14220 | |
a3097628 AJ |
14221 | cat >>confdefs.h <<\_ACEOF |
14222 | #define HAVE_GPHOTO2 1 | |
80e34dbb AJ |
14223 | _ACEOF |
14224 | ||
f9dec94f AJ |
14225 | GPHOTO2LIBS="$ac_gphoto2_libs" |
14226 | ||
14227 | GPHOTO2INCL="$ac_gphoto2_incl" | |
14228 | ||
a3097628 AJ |
14229 | fi |
14230 | ||
a3097628 AJ |
14231 | fi |
14232 | ||
80e34dbb | 14233 | |
a3097628 | 14234 | CPPFLAGS="$ac_save_CPPFLAGS" |
80e34dbb | 14235 | fi |
f9dec94f | 14236 | if test "$ac_cv_lib_gphoto2_gp_camera_new" != "yes"; then |
a41f0f1b | 14237 | case "x$with_gphoto" in |
93f094c5 | 14238 | x) wine_notices="$wine_notices|libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported." ;; |
a41f0f1b | 14239 | xno) ;; |
abf5048b | 14240 | *) { { $as_echo "$as_me:$LINENO: error: libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported. |
a41f0f1b | 14241 | This is an error since --with-gphoto was requested." >&5 |
abf5048b | 14242 | $as_echo "$as_me: error: libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported. |
a41f0f1b AJ |
14243 | This is an error since --with-gphoto was requested." >&2;} |
14244 | { (exit 1); exit 1; }; } ;; | |
14245 | esac | |
f9dec94f AJ |
14246 | fi |
14247 | ||
14248 | ||
a3097628 | 14249 | |
a3097628 | 14250 | RESOLVLIBS="" |
80e34dbb | 14251 | |
a3097628 AJ |
14252 | if test "$ac_cv_header_resolv_h" = "yes" |
14253 | then | |
abf5048b AJ |
14254 | { $as_echo "$as_me:$LINENO: checking for res_query in -lresolv" >&5 |
14255 | $as_echo_n "checking for res_query in -lresolv... " >&6; } | |
a3097628 | 14256 | if test "${ac_cv_lib_resolv_res_query+set}" = set; then |
abf5048b | 14257 | $as_echo_n "(cached) " >&6 |
821ab863 | 14258 | else |
a3097628 AJ |
14259 | ac_check_lib_save_LIBS=$LIBS |
14260 | LIBS="-lresolv $LIBS" | |
14261 | cat >conftest.$ac_ext <<_ACEOF | |
821ab863 AJ |
14262 | /* confdefs.h. */ |
14263 | _ACEOF | |
14264 | cat confdefs.h >>conftest.$ac_ext | |
14265 | cat >>conftest.$ac_ext <<_ACEOF | |
14266 | /* end confdefs.h. */ | |
875927f6 | 14267 | |
fc6ffb29 AJ |
14268 | /* Override any GCC internal prototype to avoid an error. |
14269 | Use char because int might match the return type of a GCC | |
14270 | builtin and then its argument prototype would still apply. */ | |
821ab863 AJ |
14271 | #ifdef __cplusplus |
14272 | extern "C" | |
821ab863 | 14273 | #endif |
a3097628 | 14274 | char res_query (); |
821ab863 AJ |
14275 | int |
14276 | main () | |
14277 | { | |
a3097628 | 14278 | return res_query (); |
821ab863 AJ |
14279 | ; |
14280 | return 0; | |
14281 | } | |
14282 | _ACEOF | |
14283 | rm -f conftest.$ac_objext conftest$ac_exeext | |
0ebeb530 JW |
14284 | if { (ac_try="$ac_link" |
14285 | case "(($ac_try" in | |
14286 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
14287 | *) ac_try_echo=$ac_try;; | |
14288 | esac | |
abf5048b AJ |
14289 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
14290 | $as_echo "$ac_try_echo") >&5 | |
0ebeb530 | 14291 | (eval "$ac_link") 2>conftest.er1 |
821ab863 | 14292 | ac_status=$? |
875927f6 AJ |
14293 | grep -v '^ *+' conftest.er1 >conftest.err |
14294 | rm -f conftest.er1 | |
14295 | cat conftest.err >&5 | |
abf5048b | 14296 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
dc9f3843 AJ |
14297 | (exit $ac_status); } && { |
14298 | test -z "$ac_c_werror_flag" || | |
14299 | test ! -s conftest.err | |
abf5048b AJ |
14300 | } && test -s conftest$ac_exeext && { |
14301 | test "$cross_compiling" = yes || | |
14302 | $as_test_x conftest$ac_exeext | |
14303 | }; then | |
a3097628 | 14304 | ac_cv_lib_resolv_res_query=yes |
821ab863 | 14305 | else |
abf5048b | 14306 | $as_echo "$as_me: failed program was:" >&5 |
821ab863 AJ |
14307 | sed 's/^/| /' conftest.$ac_ext >&5 |
14308 | ||
a3097628 | 14309 | ac_cv_lib_resolv_res_query=no |
821ab863 | 14310 | fi |
fc6ffb29 | 14311 | |
abf5048b | 14312 | rm -rf conftest.dSYM |
f0ca586f | 14313 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ |
875927f6 | 14314 | conftest$ac_exeext conftest.$ac_ext |
a3097628 | 14315 | LIBS=$ac_check_lib_save_LIBS |
821ab863 | 14316 | fi |
abf5048b AJ |
14317 | { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_res_query" >&5 |
14318 | $as_echo "$ac_cv_lib_resolv_res_query" >&6; } | |
14319 | if test "x$ac_cv_lib_resolv_res_query" = x""yes; then | |
a3097628 AJ |
14320 | |
14321 | cat >>confdefs.h <<\_ACEOF | |
14322 | #define HAVE_RESOLV 1 | |
821ab863 AJ |
14323 | _ACEOF |
14324 | ||
a3097628 | 14325 | RESOLVLIBS="-lresolv" |
821ab863 | 14326 | fi |
daa2886c | 14327 | |
73482144 | 14328 | fi |
2a91e3f9 | 14329 | |
a3097628 | 14330 | LCMSLIBS="" |
fc6ffb29 | 14331 | |
a3097628 | 14332 | if test "$ac_cv_header_lcms_h" = "yes" -o "$ac_cv_header_lcms_lcms_h" = "yes" |
73482144 | 14333 | then |
abf5048b AJ |
14334 | { $as_echo "$as_me:$LINENO: checking for cmsOpenProfileFromFile in -llcms" >&5 |
14335 | $as_echo_n "checking for cmsOpenProfileFromFile in -llcms... " >&6; } | |
a3097628 | 14336 | if test "${ac_cv_lib_lcms_cmsOpenProfileFromFile+set}" = set; then |
abf5048b | 14337 | $as_echo_n "(cached) " >&6 |
2a91e3f9 | 14338 | else |
73482144 | 14339 | ac_check_lib_save_LIBS=$LIBS |
a3097628 | 14340 | LIBS="-llcms $LIBS" |
2a91e3f9 | 14341 | cat >conftest.$ac_ext <<_ACEOF |
e24bcc77 AJ |
14342 | /* confdefs.h. */ |
14343 | _ACEOF | |
14344 | cat confdefs.h >>conftest.$ac_ext | |
14345 | cat >>conftest.$ac_ext <<_ACEOF | |
14346 | /* end confdefs.h. */ | |
73482144 | 14347 | |
fc6ffb29 AJ |
14348 | /* Override any GCC internal prototype to avoid an error. |
14349 | Use char because int might match the return type of a GCC | |
14350 | builtin and then its argument prototype would still apply. */ | |
73482144 AJ |
14351 | #ifdef __cplusplus |
14352 | extern "C" | |
14353 | #endif | |
a3097628 | 14354 | char cmsOpenProfileFromFile (); |
73482144 AJ |
14355 | int |
14356 | main () | |
14357 | { | |
a3097628 | 14358 | return cmsOpenProfileFromFile (); |
73482144 AJ |
14359 | ; |
14360 | return 0; | |
14361 | } | |
2a91e3f9 | 14362 | _ACEOF |
73482144 | 14363 | rm -f conftest.$ac_objext conftest$ac_exeext |
0ebeb530 JW |
14364 | if { (ac_try="$ac_link" |
14365 | case "(($ac_try" in | |
14366 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
14367 | *) ac_try_echo=$ac_try;; | |
14368 | esac | |
abf5048b AJ |
14369 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
14370 | $as_echo "$ac_try_echo") >&5 | |
0ebeb530 | 14371 | (eval "$ac_link") 2>conftest.er1 |
2a91e3f9 | 14372 | ac_status=$? |
875927f6 AJ |
14373 | grep -v '^ *+' conftest.er1 >conftest.err |
14374 | rm -f conftest.er1 | |
14375 | cat conftest.err >&5 | |
abf5048b | 14376 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
dc9f3843 AJ |
14377 | (exit $ac_status); } && { |
14378 | test -z "$ac_c_werror_flag" || | |
14379 | test ! -s conftest.err | |
abf5048b AJ |
14380 | } && test -s conftest$ac_exeext && { |
14381 | test "$cross_compiling" = yes || | |
14382 | $as_test_x conftest$ac_exeext | |
14383 | }; then | |
a3097628 | 14384 | ac_cv_lib_lcms_cmsOpenProfileFromFile=yes |
2a91e3f9 | 14385 | else |
abf5048b | 14386 | $as_echo "$as_me: failed program was:" >&5 |
e24bcc77 AJ |
14387 | sed 's/^/| /' conftest.$ac_ext >&5 |
14388 | ||
a3097628 | 14389 | ac_cv_lib_lcms_cmsOpenProfileFromFile=no |
2a91e3f9 | 14390 | fi |
fc6ffb29 | 14391 | |
abf5048b | 14392 | rm -rf conftest.dSYM |
f0ca586f | 14393 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ |
73482144 AJ |
14394 | conftest$ac_exeext conftest.$ac_ext |
14395 | LIBS=$ac_check_lib_save_LIBS | |
14396 | fi | |
abf5048b AJ |
14397 | { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_lcms_cmsOpenProfileFromFile" >&5 |
14398 | $as_echo "$ac_cv_lib_lcms_cmsOpenProfileFromFile" >&6; } | |
14399 | if test "x$ac_cv_lib_lcms_cmsOpenProfileFromFile" = x""yes; then | |
73482144 AJ |
14400 | |
14401 | cat >>confdefs.h <<\_ACEOF | |
a3097628 | 14402 | #define HAVE_LCMS 1 |
2a91e3f9 | 14403 | _ACEOF |
e24bcc77 | 14404 | |
a3097628 | 14405 | LCMSLIBS="-llcms" |
2a91e3f9 | 14406 | fi |
875927f6 | 14407 | |
2a91e3f9 | 14408 | fi |
82e06804 | 14409 | if test "$ac_cv_lib_lcms_cmsOpenProfileFromFile" != "yes"; then |
a41f0f1b | 14410 | case "x$with_cms" in |
93f094c5 | 14411 | x) wine_notices="$wine_notices|liblcms ${notice_platform}development files not found, Color Management won't be supported." ;; |
a41f0f1b | 14412 | xno) ;; |
abf5048b | 14413 | *) { { $as_echo "$as_me:$LINENO: error: liblcms ${notice_platform}development files not found, Color Management won't be supported. |
a41f0f1b | 14414 | This is an error since --with-cms was requested." >&5 |
abf5048b | 14415 | $as_echo "$as_me: error: liblcms ${notice_platform}development files not found, Color Management won't be supported. |
a41f0f1b AJ |
14416 | This is an error since --with-cms was requested." >&2;} |
14417 | { (exit 1); exit 1; }; } ;; | |
14418 | esac | |
f9dec94f AJ |
14419 | fi |
14420 | ||
2a91e3f9 | 14421 | |
bcba2705 FG |
14422 | for ac_prog in freetype-config freetype2-config |
14423 | do | |
14424 | # Extract the first word of "$ac_prog", so it can be a program name with args. | |
14425 | set dummy $ac_prog; ac_word=$2 | |
abf5048b AJ |
14426 | { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 |
14427 | $as_echo_n "checking for $ac_word... " >&6; } | |
bcba2705 | 14428 | if test "${ac_cv_prog_ft_devel+set}" = set; then |
abf5048b | 14429 | $as_echo_n "(cached) " >&6 |
2a91e3f9 | 14430 | else |
bcba2705 FG |
14431 | if test -n "$ft_devel"; then |
14432 | ac_cv_prog_ft_devel="$ft_devel" # Let the user override the test. | |
2a91e3f9 | 14433 | else |
bcba2705 FG |
14434 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
14435 | for as_dir in $PATH | |
14436 | do | |
14437 | IFS=$as_save_IFS | |
14438 | test -z "$as_dir" && as_dir=. | |
14439 | for ac_exec_ext in '' $ac_executable_extensions; do | |
14440 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then | |
14441 | ac_cv_prog_ft_devel="$ac_prog" | |
abf5048b | 14442 | $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
bcba2705 FG |
14443 | break 2 |
14444 | fi | |
14445 | done | |
14446 | done | |
14447 | IFS=$as_save_IFS | |
e24bcc77 | 14448 | |
2a91e3f9 | 14449 | fi |
2a91e3f9 | 14450 | fi |
bcba2705 FG |
14451 | ft_devel=$ac_cv_prog_ft_devel |
14452 | if test -n "$ft_devel"; then | |
abf5048b AJ |
14453 | { $as_echo "$as_me:$LINENO: result: $ft_devel" >&5 |
14454 | $as_echo "$ft_devel" >&6; } | |
bcba2705 | 14455 | else |
abf5048b AJ |
14456 | { $as_echo "$as_me:$LINENO: result: no" >&5 |
14457 | $as_echo "no" >&6; } | |
bcba2705 FG |
14458 | fi |
14459 | ||
14460 | ||
14461 | test -n "$ft_devel" && break | |
14462 | done | |
14463 | test -n "$ft_devel" || ft_devel="false" | |
14464 | ||
14465 | if test "$ft_devel" != "false" -a "x$with_freetype" != "xno" | |
14466 | then | |
14467 | ac_freetype_libs=`$ft_devel --libs` | |
14468 | ac_freetype_incl=`$ft_devel --cflags` | |
abf5048b AJ |
14469 | { $as_echo "$as_me:$LINENO: checking for -lfreetype" >&5 |
14470 | $as_echo_n "checking for -lfreetype... " >&6; } | |
bcba2705 | 14471 | if test "${ac_cv_lib_soname_freetype+set}" = set; then |
abf5048b | 14472 | $as_echo_n "(cached) " >&6 |
a3097628 | 14473 | else |
bcba2705 FG |
14474 | ac_check_soname_save_LIBS=$LIBS |
14475 | LIBS="-lfreetype $ac_freetype_libs $LIBS" | |
14476 | cat >conftest.$ac_ext <<_ACEOF | |
00fdd9fc AJ |
14477 | /* confdefs.h. */ |
14478 | _ACEOF | |
14479 | cat confdefs.h >>conftest.$ac_ext | |
14480 | cat >>conftest.$ac_ext <<_ACEOF | |
14481 | /* end confdefs.h. */ | |
a3097628 AJ |
14482 | |
14483 | /* Override any GCC internal prototype to avoid an error. | |
14484 | Use char because int might match the return type of a GCC | |
14485 | builtin and then its argument prototype would still apply. */ | |
14486 | #ifdef __cplusplus | |
14487 | extern "C" | |
73482144 | 14488 | #endif |
bcba2705 | 14489 | char FT_Init_FreeType (); |
73482144 AJ |
14490 | int |
14491 | main () | |
14492 | { | |
bcba2705 | 14493 | return FT_Init_FreeType (); |
73482144 AJ |
14494 | ; |
14495 | return 0; | |
14496 | } | |
00fdd9fc | 14497 | _ACEOF |
a3097628 AJ |
14498 | rm -f conftest.$ac_objext conftest$ac_exeext |
14499 | if { (ac_try="$ac_link" | |
0ebeb530 JW |
14500 | case "(($ac_try" in |
14501 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
14502 | *) ac_try_echo=$ac_try;; | |
14503 | esac | |
abf5048b AJ |
14504 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
14505 | $as_echo "$ac_try_echo") >&5 | |
a3097628 | 14506 | (eval "$ac_link") 2>conftest.er1 |
00fdd9fc | 14507 | ac_status=$? |
875927f6 AJ |
14508 | grep -v '^ *+' conftest.er1 >conftest.err |
14509 | rm -f conftest.er1 | |
14510 | cat conftest.err >&5 | |
abf5048b | 14511 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
dc9f3843 AJ |
14512 | (exit $ac_status); } && { |
14513 | test -z "$ac_c_werror_flag" || | |
14514 | test ! -s conftest.err | |
abf5048b AJ |
14515 | } && test -s conftest$ac_exeext && { |
14516 | test "$cross_compiling" = yes || | |
14517 | $as_test_x conftest$ac_exeext | |
14518 | }; then | |
bcba2705 FG |
14519 | case "$LIBEXT" in |
14520 | dll) ;; | |
14521 | dylib) ac_cv_lib_soname_freetype=`otool -L conftest$ac_exeext | grep "libfreetype\\.[0-9A-Za-z.]*dylib" | sed -e "s/^.*\/\(libfreetype\.[0-9A-Za-z.]*dylib\).*$/\1/"';2,$d'` ;; | |
14522 | *) ac_cv_lib_soname_freetype=`$ac_cv_path_LDD conftest$ac_exeext | grep "libfreetype\\.$LIBEXT" | sed -e "s/^.*\(libfreetype\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;; | |
14523 | esac | |
00fdd9fc | 14524 | else |
abf5048b | 14525 | $as_echo "$as_me: failed program was:" >&5 |
00fdd9fc AJ |
14526 | sed 's/^/| /' conftest.$ac_ext >&5 |
14527 | ||
bcba2705 | 14528 | |
a3097628 | 14529 | fi |
fc6ffb29 | 14530 | |
abf5048b | 14531 | rm -rf conftest.dSYM |
a3097628 AJ |
14532 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ |
14533 | conftest$ac_exeext conftest.$ac_ext | |
bcba2705 | 14534 | LIBS=$ac_check_soname_save_LIBS |
00fdd9fc | 14535 | fi |
bcba2705 | 14536 | if test "x$ac_cv_lib_soname_freetype" = "x"; then |
abf5048b AJ |
14537 | { $as_echo "$as_me:$LINENO: result: not found" >&5 |
14538 | $as_echo "not found" >&6; } | |
bcba2705 FG |
14539 | ft_lib=no |
14540 | else | |
abf5048b AJ |
14541 | { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_soname_freetype" >&5 |
14542 | $as_echo "$ac_cv_lib_soname_freetype" >&6; } | |
fc6ffb29 | 14543 | |
bcba2705 FG |
14544 | cat >>confdefs.h <<_ACEOF |
14545 | #define SONAME_LIBFREETYPE "$ac_cv_lib_soname_freetype" | |
a3097628 AJ |
14546 | _ACEOF |
14547 | ||
bcba2705 | 14548 | ft_lib=yes |
00fdd9fc | 14549 | fi |
00fdd9fc | 14550 | |
bcba2705 FG |
14551 | if test "$ft_lib" = "yes" |
14552 | then | |
14553 | ac_save_CPPFLAGS="$CPPFLAGS" | |
14554 | CPPFLAGS="$ac_freetype_incl $CPPFLAGS" | |
00fdd9fc AJ |
14555 | |
14556 | ||
73482144 | 14557 | |
a3097628 AJ |
14558 | |
14559 | ||
032dbfe4 HL |
14560 | |
14561 | ||
14562 | ||
14563 | ||
bcba2705 FG |
14564 | |
14565 | ||
14566 | ||
14567 | for ac_header in ft2build.h \ | |
14568 | freetype/freetype.h \ | |
14569 | freetype/ftglyph.h \ | |
14570 | freetype/fttypes.h \ | |
14571 | freetype/tttables.h \ | |
14572 | freetype/ftnames.h \ | |
14573 | freetype/ftsnames.h \ | |
14574 | freetype/ttnameid.h \ | |
14575 | freetype/ftoutln.h \ | |
14576 | freetype/ftwinfnt.h \ | |
14577 | freetype/ftmodapi.h \ | |
14578 | freetype/internal/sfnt.h | |
a3097628 | 14579 | do |
abf5048b AJ |
14580 | as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` |
14581 | { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 | |
14582 | $as_echo_n "checking for $ac_header... " >&6; } | |
bcba2705 | 14583 | if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then |
abf5048b | 14584 | $as_echo_n "(cached) " >&6 |
00fdd9fc | 14585 | else |
a3097628 | 14586 | cat >conftest.$ac_ext <<_ACEOF |
00fdd9fc AJ |
14587 | /* confdefs.h. */ |
14588 | _ACEOF | |
14589 | cat confdefs.h >>conftest.$ac_ext | |
14590 | cat >>conftest.$ac_ext <<_ACEOF | |
14591 | /* end confdefs.h. */ | |
bcba2705 FG |
14592 | #ifdef HAVE_FT2BUILD_H |
14593 | # include <ft2build.h> | |
14594 | #endif | |
a3097628 | 14595 | |
bcba2705 | 14596 | #include <$ac_header> |
00fdd9fc | 14597 | _ACEOF |
bcba2705 FG |
14598 | rm -f conftest.$ac_objext |
14599 | if { (ac_try="$ac_compile" | |
0ebeb530 JW |
14600 | case "(($ac_try" in |
14601 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
14602 | *) ac_try_echo=$ac_try;; | |
14603 | esac | |
abf5048b AJ |
14604 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
14605 | $as_echo "$ac_try_echo") >&5 | |
bcba2705 | 14606 | (eval "$ac_compile") 2>conftest.er1 |
00fdd9fc | 14607 | ac_status=$? |
875927f6 AJ |
14608 | grep -v '^ *+' conftest.er1 >conftest.err |
14609 | rm -f conftest.er1 | |
14610 | cat conftest.err >&5 | |
abf5048b | 14611 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
dc9f3843 AJ |
14612 | (exit $ac_status); } && { |
14613 | test -z "$ac_c_werror_flag" || | |
14614 | test ! -s conftest.err | |
bcba2705 FG |
14615 | } && test -s conftest.$ac_objext; then |
14616 | eval "$as_ac_Header=yes" | |
00fdd9fc | 14617 | else |
abf5048b | 14618 | $as_echo "$as_me: failed program was:" >&5 |
00fdd9fc AJ |
14619 | sed 's/^/| /' conftest.$ac_ext >&5 |
14620 | ||
bcba2705 | 14621 | eval "$as_ac_Header=no" |
00fdd9fc | 14622 | fi |
fc6ffb29 | 14623 | |
bcba2705 | 14624 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
73482144 | 14625 | fi |
abf5048b AJ |
14626 | ac_res=`eval 'as_val=${'$as_ac_Header'} |
14627 | $as_echo "$as_val"'` | |
14628 | { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 | |
14629 | $as_echo "$ac_res" >&6; } | |
14630 | as_val=`eval 'as_val=${'$as_ac_Header'} | |
14631 | $as_echo "$as_val"'` | |
14632 | if test "x$as_val" = x""yes; then | |
a3097628 | 14633 | cat >>confdefs.h <<_ACEOF |
abf5048b | 14634 | #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 |
73482144 | 14635 | _ACEOF |
00fdd9fc | 14636 | |
00fdd9fc | 14637 | fi |
bcba2705 | 14638 | |
a3097628 AJ |
14639 | done |
14640 | ||
14641 | cat >conftest.$ac_ext <<_ACEOF | |
efca0f6a AJ |
14642 | /* confdefs.h. */ |
14643 | _ACEOF | |
14644 | cat confdefs.h >>conftest.$ac_ext | |
14645 | cat >>conftest.$ac_ext <<_ACEOF | |
14646 | /* end confdefs.h. */ | |
a3097628 AJ |
14647 | #include <ft2build.h> |
14648 | #include <freetype/fttrigon.h> | |
efca0f6a | 14649 | _ACEOF |
a3097628 | 14650 | if { (ac_try="$ac_cpp conftest.$ac_ext" |
0ebeb530 JW |
14651 | case "(($ac_try" in |
14652 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
14653 | *) ac_try_echo=$ac_try;; | |
14654 | esac | |
abf5048b AJ |
14655 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
14656 | $as_echo "$ac_try_echo") >&5 | |
a3097628 | 14657 | (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 |
efca0f6a | 14658 | ac_status=$? |
875927f6 AJ |
14659 | grep -v '^ *+' conftest.er1 >conftest.err |
14660 | rm -f conftest.er1 | |
14661 | cat conftest.err >&5 | |
abf5048b | 14662 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
a3097628 AJ |
14663 | (exit $ac_status); } >/dev/null && { |
14664 | test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || | |
dc9f3843 | 14665 | test ! -s conftest.err |
a3097628 AJ |
14666 | }; then |
14667 | ||
14668 | cat >>confdefs.h <<\_ACEOF | |
14669 | #define HAVE_FREETYPE_FTTRIGON_H 1 | |
14670 | _ACEOF | |
14671 | ||
14672 | wine_cv_fttrigon=yes | |
efca0f6a | 14673 | else |
abf5048b | 14674 | $as_echo "$as_me: failed program was:" >&5 |
efca0f6a AJ |
14675 | sed 's/^/| /' conftest.$ac_ext >&5 |
14676 | ||
a3097628 | 14677 | wine_cv_fttrigon=no |
182d150a | 14678 | fi |
efca0f6a | 14679 | |
a3097628 | 14680 | rm -f conftest.err conftest.$ac_ext |
abf5048b AJ |
14681 | { $as_echo "$as_me:$LINENO: checking for FT_TrueTypeEngineType" >&5 |
14682 | $as_echo_n "checking for FT_TrueTypeEngineType... " >&6; } | |
a3097628 | 14683 | if test "${ac_cv_type_FT_TrueTypeEngineType+set}" = set; then |
abf5048b | 14684 | $as_echo_n "(cached) " >&6 |
f8cb48b5 | 14685 | else |
abf5048b AJ |
14686 | ac_cv_type_FT_TrueTypeEngineType=no |
14687 | cat >conftest.$ac_ext <<_ACEOF | |
f8cb48b5 AJ |
14688 | /* confdefs.h. */ |
14689 | _ACEOF | |
14690 | cat confdefs.h >>conftest.$ac_ext | |
14691 | cat >>conftest.$ac_ext <<_ACEOF | |
14692 | /* end confdefs.h. */ | |
a3097628 | 14693 | #include <freetype/ftmodapi.h> |
f8cb48b5 AJ |
14694 | |
14695 | int | |
14696 | main () | |
14697 | { | |
abf5048b AJ |
14698 | if (sizeof (FT_TrueTypeEngineType)) |
14699 | return 0; | |
f8cb48b5 AJ |
14700 | ; |
14701 | return 0; | |
14702 | } | |
14703 | _ACEOF | |
a3097628 AJ |
14704 | rm -f conftest.$ac_objext |
14705 | if { (ac_try="$ac_compile" | |
0ebeb530 JW |
14706 | case "(($ac_try" in |
14707 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
14708 | *) ac_try_echo=$ac_try;; | |
14709 | esac | |
abf5048b AJ |
14710 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
14711 | $as_echo "$ac_try_echo") >&5 | |
a3097628 | 14712 | (eval "$ac_compile") 2>conftest.er1 |
f8cb48b5 AJ |
14713 | ac_status=$? |
14714 | grep -v '^ *+' conftest.er1 >conftest.err | |
14715 | rm -f conftest.er1 | |
14716 | cat conftest.err >&5 | |
abf5048b | 14717 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
dc9f3843 AJ |
14718 | (exit $ac_status); } && { |
14719 | test -z "$ac_c_werror_flag" || | |
14720 | test ! -s conftest.err | |
a3097628 | 14721 | } && test -s conftest.$ac_objext; then |
abf5048b AJ |
14722 | cat >conftest.$ac_ext <<_ACEOF |
14723 | /* confdefs.h. */ | |
14724 | _ACEOF | |
14725 | cat confdefs.h >>conftest.$ac_ext | |
14726 | cat >>conftest.$ac_ext <<_ACEOF | |
14727 | /* end confdefs.h. */ | |
14728 | #include <freetype/ftmodapi.h> | |
14729 | ||
14730 | int | |
14731 | main () | |
14732 | { | |
14733 | if (sizeof ((FT_TrueTypeEngineType))) | |
14734 | return 0; | |
14735 | ; | |
14736 | return 0; | |
14737 | } | |
14738 | _ACEOF | |
14739 | rm -f conftest.$ac_objext | |
14740 | if { (ac_try="$ac_compile" | |
14741 | case "(($ac_try" in | |
14742 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
14743 | *) ac_try_echo=$ac_try;; | |
14744 | esac | |
14745 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | |
14746 | $as_echo "$ac_try_echo") >&5 | |
14747 | (eval "$ac_compile") 2>conftest.er1 | |
14748 | ac_status=$? | |
14749 | grep -v '^ *+' conftest.er1 >conftest.err | |
14750 | rm -f conftest.er1 | |
14751 | cat conftest.err >&5 | |
14752 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
14753 | (exit $ac_status); } && { | |
14754 | test -z "$ac_c_werror_flag" || | |
14755 | test ! -s conftest.err | |
14756 | } && test -s conftest.$ac_objext; then | |
14757 | : | |
14758 | else | |
14759 | $as_echo "$as_me: failed program was:" >&5 | |
14760 | sed 's/^/| /' conftest.$ac_ext >&5 | |
14761 | ||
14762 | ac_cv_type_FT_TrueTypeEngineType=yes | |
14763 | fi | |
14764 | ||
14765 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | |
14766 | else | |
14767 | $as_echo "$as_me: failed program was:" >&5 | |
14768 | sed 's/^/| /' conftest.$ac_ext >&5 | |
14769 | ||
14770 | ||
14771 | fi | |
fc6ffb29 | 14772 | |
a3097628 | 14773 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
f8cb48b5 | 14774 | fi |
abf5048b AJ |
14775 | { $as_echo "$as_me:$LINENO: result: $ac_cv_type_FT_TrueTypeEngineType" >&5 |
14776 | $as_echo "$ac_cv_type_FT_TrueTypeEngineType" >&6; } | |
14777 | if test "x$ac_cv_type_FT_TrueTypeEngineType" = x""yes; then | |
a3097628 AJ |
14778 | |
14779 | cat >>confdefs.h <<_ACEOF | |
14780 | #define HAVE_FT_TRUETYPEENGINETYPE 1 | |
14781 | _ACEOF | |
14782 | ||
14783 | ||
182d150a | 14784 | fi |
f8cb48b5 | 14785 | |
a3097628 | 14786 | ac_save_CFLAGS="$CFLAGS" |
24a55f38 | 14787 | CFLAGS="$CFLAGS $ac_freetype_libs" |
a3097628 AJ |
14788 | |
14789 | for ac_func in FT_Load_Sfnt_Table | |
14790 | do | |
abf5048b AJ |
14791 | as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` |
14792 | { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5 | |
14793 | $as_echo_n "checking for $ac_func... " >&6; } | |
a3097628 | 14794 | if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then |
abf5048b | 14795 | $as_echo_n "(cached) " >&6 |
d75cc5aa | 14796 | else |
a3097628 | 14797 | cat >conftest.$ac_ext <<_ACEOF |
d75cc5aa AJ |
14798 | /* confdefs.h. */ |
14799 | _ACEOF | |
14800 | cat confdefs.h >>conftest.$ac_ext | |
14801 | cat >>conftest.$ac_ext <<_ACEOF | |
14802 | /* end confdefs.h. */ | |
a3097628 AJ |
14803 | /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func. |
14804 | For example, HP-UX 11i <limits.h> declares gettimeofday. */ | |
14805 | #define $ac_func innocuous_$ac_func | |
14806 | ||
14807 | /* System header to define __stub macros and hopefully few prototypes, | |
14808 | which can conflict with char $ac_func (); below. | |
14809 | Prefer <limits.h> to <assert.h> if __STDC__ is defined, since | |
14810 | <limits.h> exists even on freestanding compilers. */ | |
14811 | ||
14812 | #ifdef __STDC__ | |
14813 | # include <limits.h> | |
14814 | #else | |
14815 | # include <assert.h> | |
14816 | #endif | |
14817 | ||
14818 | #undef $ac_func | |
14819 | ||
14820 | /* Override any GCC internal prototype to avoid an error. | |
14821 | Use char because int might match the return type of a GCC | |
14822 | builtin and then its argument prototype would still apply. */ | |
14823 | #ifdef __cplusplus | |
14824 | extern "C" | |
14825 | #endif | |
14826 | char $ac_func (); | |
14827 | /* The GNU C library defines this for functions which it implements | |
14828 | to always fail with ENOSYS. Some functions are actually named | |
14829 | something starting with __ and the normal name is an alias. */ | |
14830 | #if defined __stub_$ac_func || defined __stub___$ac_func | |
14831 | choke me | |
14832 | #endif | |
d75cc5aa AJ |
14833 | |
14834 | int | |
14835 | main () | |
14836 | { | |
a3097628 | 14837 | return $ac_func (); |
d75cc5aa AJ |
14838 | ; |
14839 | return 0; | |
14840 | } | |
14841 | _ACEOF | |
14842 | rm -f conftest.$ac_objext conftest$ac_exeext | |
14843 | if { (ac_try="$ac_link" | |
14844 | case "(($ac_try" in | |
14845 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
14846 | *) ac_try_echo=$ac_try;; | |
14847 | esac | |
abf5048b AJ |
14848 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
14849 | $as_echo "$ac_try_echo") >&5 | |
d75cc5aa AJ |
14850 | (eval "$ac_link") 2>conftest.er1 |
14851 | ac_status=$? | |
14852 | grep -v '^ *+' conftest.er1 >conftest.err | |
14853 | rm -f conftest.er1 | |
14854 | cat conftest.err >&5 | |
abf5048b | 14855 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
dc9f3843 AJ |
14856 | (exit $ac_status); } && { |
14857 | test -z "$ac_c_werror_flag" || | |
14858 | test ! -s conftest.err | |
abf5048b AJ |
14859 | } && test -s conftest$ac_exeext && { |
14860 | test "$cross_compiling" = yes || | |
14861 | $as_test_x conftest$ac_exeext | |
14862 | }; then | |
a3097628 | 14863 | eval "$as_ac_var=yes" |
d75cc5aa | 14864 | else |
abf5048b | 14865 | $as_echo "$as_me: failed program was:" >&5 |
d75cc5aa AJ |
14866 | sed 's/^/| /' conftest.$ac_ext >&5 |
14867 | ||
a3097628 | 14868 | eval "$as_ac_var=no" |
d75cc5aa AJ |
14869 | fi |
14870 | ||
abf5048b | 14871 | rm -rf conftest.dSYM |
f0ca586f | 14872 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ |
d75cc5aa | 14873 | conftest$ac_exeext conftest.$ac_ext |
d75cc5aa | 14874 | fi |
abf5048b AJ |
14875 | ac_res=`eval 'as_val=${'$as_ac_var'} |
14876 | $as_echo "$as_val"'` | |
14877 | { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 | |
14878 | $as_echo "$ac_res" >&6; } | |
14879 | as_val=`eval 'as_val=${'$as_ac_var'} | |
14880 | $as_echo "$as_val"'` | |
14881 | if test "x$as_val" = x""yes; then | |
a3097628 | 14882 | cat >>confdefs.h <<_ACEOF |
abf5048b | 14883 | #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 |
a3097628 AJ |
14884 | _ACEOF |
14885 | ||
182d150a | 14886 | fi |
a3097628 | 14887 | done |
182d150a | 14888 | |
a3097628 AJ |
14889 | CFLAGS="$ac_save_CFLAGS" |
14890 | CPPFLAGS="$ac_save_CPPFLAGS" | |
14891 | if test "$ac_cv_header_freetype_freetype_h" = "yes" -a "$wine_cv_fttrigon" = "yes" | |
14892 | then | |
d75cc5aa | 14893 | |
a3097628 AJ |
14894 | cat >>confdefs.h <<\_ACEOF |
14895 | #define HAVE_FREETYPE 1 | |
14896 | _ACEOF | |
14897 | ||
24a55f38 AJ |
14898 | FREETYPELIBS="$ac_freetype_libs" |
14899 | ||
14900 | FREETYPEINCL="$ac_freetype_incl" | |
14901 | ||
a3097628 AJ |
14902 | fi |
14903 | fi | |
14904 | fi | |
a20c0e12 AJ |
14905 | if test "x$FREETYPELIBS" = "x"; then |
14906 | case "x$with_freetype" in | |
14907 | xno) ;; | |
d2c8bfbf | 14908 | *) { { $as_echo "$as_me:$LINENO: error: FreeType ${notice_platform}development files not found. Fonts will not be built. |
a20c0e12 | 14909 | Use the --without-freetype option if you really want this." >&5 |
d2c8bfbf | 14910 | $as_echo "$as_me: error: FreeType ${notice_platform}development files not found. Fonts will not be built. |
a20c0e12 AJ |
14911 | Use the --without-freetype option if you really want this." >&2;} |
14912 | { (exit 1); exit 1; }; } ;; | |
14913 | esac | |
a3097628 AJ |
14914 | fi |
14915 | ||
6de0af1e | 14916 | test "x$FREETYPELIBS" = "x" && enable_fonts=${enable_fonts:-no} |
a20c0e12 | 14917 | |
abf5048b AJ |
14918 | { $as_echo "$as_me:$LINENO: checking for parport header/ppdev.h" >&5 |
14919 | $as_echo_n "checking for parport header/ppdev.h... " >&6; } | |
a3097628 | 14920 | if test "${ac_cv_c_ppdev+set}" = set; then |
abf5048b | 14921 | $as_echo_n "(cached) " >&6 |
c509bc4d MM |
14922 | else |
14923 | cat >conftest.$ac_ext <<_ACEOF | |
c509bc4d MM |
14924 | /* confdefs.h. */ |
14925 | _ACEOF | |
14926 | cat confdefs.h >>conftest.$ac_ext | |
14927 | cat >>conftest.$ac_ext <<_ACEOF | |
14928 | /* end confdefs.h. */ | |
a3097628 | 14929 | #include <linux/ppdev.h> |
c509bc4d MM |
14930 | int |
14931 | main () | |
14932 | { | |
a3097628 | 14933 | ioctl (1,PPCLAIM,0) |
c509bc4d MM |
14934 | ; |
14935 | return 0; | |
14936 | } | |
14937 | _ACEOF | |
14938 | rm -f conftest.$ac_objext | |
0ebeb530 JW |
14939 | if { (ac_try="$ac_compile" |
14940 | case "(($ac_try" in | |
14941 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
14942 | *) ac_try_echo=$ac_try;; | |
14943 | esac | |
abf5048b AJ |
14944 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
14945 | $as_echo "$ac_try_echo") >&5 | |
0ebeb530 | 14946 | (eval "$ac_compile") 2>conftest.er1 |
c509bc4d | 14947 | ac_status=$? |
875927f6 AJ |
14948 | grep -v '^ *+' conftest.er1 >conftest.err |
14949 | rm -f conftest.er1 | |
14950 | cat conftest.err >&5 | |
abf5048b | 14951 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
dc9f3843 AJ |
14952 | (exit $ac_status); } && { |
14953 | test -z "$ac_c_werror_flag" || | |
14954 | test ! -s conftest.err | |
14955 | } && test -s conftest.$ac_objext; then | |
a3097628 | 14956 | ac_cv_c_ppdev="yes" |
c509bc4d | 14957 | else |
abf5048b | 14958 | $as_echo "$as_me: failed program was:" >&5 |
c509bc4d MM |
14959 | sed 's/^/| /' conftest.$ac_ext >&5 |
14960 | ||
a3097628 | 14961 | ac_cv_c_ppdev="no" |
c509bc4d | 14962 | fi |
fc6ffb29 | 14963 | |
0ebeb530 | 14964 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
c509bc4d | 14965 | fi |
abf5048b AJ |
14966 | { $as_echo "$as_me:$LINENO: result: $ac_cv_c_ppdev" >&5 |
14967 | $as_echo "$ac_cv_c_ppdev" >&6; } | |
a3097628 AJ |
14968 | if test "$ac_cv_c_ppdev" = "yes" |
14969 | then | |
b7443722 | 14970 | |
a3097628 AJ |
14971 | cat >>confdefs.h <<\_ACEOF |
14972 | #define HAVE_PPDEV 1 | |
14973 | _ACEOF | |
b7443722 | 14974 | |
a3097628 AJ |
14975 | fi |
14976 | ||
abf5048b AJ |
14977 | { $as_echo "$as_me:$LINENO: checking for va_copy" >&5 |
14978 | $as_echo_n "checking for va_copy... " >&6; } | |
a3097628 | 14979 | if test "${ac_cv_c_va_copy+set}" = set; then |
abf5048b | 14980 | $as_echo_n "(cached) " >&6 |
b7443722 MM |
14981 | else |
14982 | cat >conftest.$ac_ext <<_ACEOF | |
14983 | /* confdefs.h. */ | |
14984 | _ACEOF | |
14985 | cat confdefs.h >>conftest.$ac_ext | |
14986 | cat >>conftest.$ac_ext <<_ACEOF | |
14987 | /* end confdefs.h. */ | |
a3097628 | 14988 | #include <stdarg.h> |
b7443722 MM |
14989 | int |
14990 | main () | |
14991 | { | |
a3097628 | 14992 | va_list ap1, ap2; va_copy(ap1,ap2); |
b7443722 MM |
14993 | ; |
14994 | return 0; | |
14995 | } | |
14996 | _ACEOF | |
a3097628 AJ |
14997 | rm -f conftest.$ac_objext conftest$ac_exeext |
14998 | if { (ac_try="$ac_link" | |
0ebeb530 JW |
14999 | case "(($ac_try" in |
15000 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
15001 | *) ac_try_echo=$ac_try;; | |
15002 | esac | |
abf5048b AJ |
15003 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
15004 | $as_echo "$ac_try_echo") >&5 | |
a3097628 | 15005 | (eval "$ac_link") 2>conftest.er1 |
b7443722 MM |
15006 | ac_status=$? |
15007 | grep -v '^ *+' conftest.er1 >conftest.err | |
15008 | rm -f conftest.er1 | |
15009 | cat conftest.err >&5 | |
abf5048b | 15010 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
dc9f3843 AJ |
15011 | (exit $ac_status); } && { |
15012 | test -z "$ac_c_werror_flag" || | |
15013 | test ! -s conftest.err | |
abf5048b AJ |
15014 | } && test -s conftest$ac_exeext && { |
15015 | test "$cross_compiling" = yes || | |
15016 | $as_test_x conftest$ac_exeext | |
15017 | }; then | |
a3097628 | 15018 | ac_cv_c_va_copy="yes" |
b7443722 | 15019 | else |
abf5048b | 15020 | $as_echo "$as_me: failed program was:" >&5 |
b7443722 MM |
15021 | sed 's/^/| /' conftest.$ac_ext >&5 |
15022 | ||
a3097628 | 15023 | ac_cv_c_va_copy="no" |
b7443722 | 15024 | fi |
fc6ffb29 | 15025 | |
abf5048b | 15026 | rm -rf conftest.dSYM |
a3097628 AJ |
15027 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ |
15028 | conftest$ac_exeext conftest.$ac_ext | |
15029 | ||
4f8c37b4 | 15030 | fi |
abf5048b AJ |
15031 | { $as_echo "$as_me:$LINENO: result: $ac_cv_c_va_copy" >&5 |
15032 | $as_echo "$ac_cv_c_va_copy" >&6; } | |
a3097628 AJ |
15033 | if test "$ac_cv_c_va_copy" = "yes" |
15034 | then | |
4f8c37b4 | 15035 | |
a3097628 AJ |
15036 | cat >>confdefs.h <<\_ACEOF |
15037 | #define HAVE_VA_COPY 1 | |
15038 | _ACEOF | |
daa2886c | 15039 | |
a3097628 | 15040 | fi |
abf5048b AJ |
15041 | { $as_echo "$as_me:$LINENO: checking for __va_copy" >&5 |
15042 | $as_echo_n "checking for __va_copy... " >&6; } | |
a3097628 | 15043 | if test "${ac_cv_c___va_copy+set}" = set; then |
abf5048b | 15044 | $as_echo_n "(cached) " >&6 |
84555cc7 AJ |
15045 | else |
15046 | cat >conftest.$ac_ext <<_ACEOF | |
e24bcc77 AJ |
15047 | /* confdefs.h. */ |
15048 | _ACEOF | |
15049 | cat confdefs.h >>conftest.$ac_ext | |
15050 | cat >>conftest.$ac_ext <<_ACEOF | |
15051 | /* end confdefs.h. */ | |
a3097628 | 15052 | #include <stdarg.h> |
f5818d2f AJ |
15053 | int |
15054 | main () | |
15055 | { | |
a3097628 | 15056 | va_list ap1, ap2; __va_copy(ap1,ap2); |
f5818d2f AJ |
15057 | ; |
15058 | return 0; | |
15059 | } | |
15060 | _ACEOF | |
15061 | rm -f conftest.$ac_objext conftest$ac_exeext | |
0ebeb530 JW |
15062 | if { (ac_try="$ac_link" |
15063 | case "(($ac_try" in | |
15064 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
15065 | *) ac_try_echo=$ac_try;; | |
15066 | esac | |
abf5048b AJ |
15067 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
15068 | $as_echo "$ac_try_echo") >&5 | |
0ebeb530 | 15069 | (eval "$ac_link") 2>conftest.er1 |
f5818d2f | 15070 | ac_status=$? |
875927f6 AJ |
15071 | grep -v '^ *+' conftest.er1 >conftest.err |
15072 | rm -f conftest.er1 | |
15073 | cat conftest.err >&5 | |
abf5048b | 15074 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
dc9f3843 AJ |
15075 | (exit $ac_status); } && { |
15076 | test -z "$ac_c_werror_flag" || | |
15077 | test ! -s conftest.err | |
abf5048b AJ |
15078 | } && test -s conftest$ac_exeext && { |
15079 | test "$cross_compiling" = yes || | |
15080 | $as_test_x conftest$ac_exeext | |
15081 | }; then | |
a3097628 | 15082 | ac_cv_c___va_copy="yes" |
c77cbbcd | 15083 | else |
abf5048b | 15084 | $as_echo "$as_me: failed program was:" >&5 |
e24bcc77 AJ |
15085 | sed 's/^/| /' conftest.$ac_ext >&5 |
15086 | ||
a3097628 AJ |
15087 | ac_cv_c___va_copy="no" |
15088 | fi | |
15089 | ||
abf5048b | 15090 | rm -rf conftest.dSYM |
a3097628 AJ |
15091 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ |
15092 | conftest$ac_exeext conftest.$ac_ext | |
15093 | ||
15094 | fi | |
abf5048b AJ |
15095 | { $as_echo "$as_me:$LINENO: result: $ac_cv_c___va_copy" >&5 |
15096 | $as_echo "$ac_cv_c___va_copy" >&6; } | |
a3097628 AJ |
15097 | if test "$ac_cv_c___va_copy" = "yes" |
15098 | then | |
15099 | ||
15100 | cat >>confdefs.h <<\_ACEOF | |
15101 | #define HAVE___VA_COPY 1 | |
15102 | _ACEOF | |
15103 | ||
15104 | fi | |
15105 | ||
abf5048b AJ |
15106 | { $as_echo "$as_me:$LINENO: checking for pthread_rwlock_t" >&5 |
15107 | $as_echo_n "checking for pthread_rwlock_t... " >&6; } | |
a3097628 | 15108 | if test "${ac_cv_type_pthread_rwlock_t+set}" = set; then |
abf5048b | 15109 | $as_echo_n "(cached) " >&6 |
a3097628 | 15110 | else |
abf5048b AJ |
15111 | ac_cv_type_pthread_rwlock_t=no |
15112 | cat >conftest.$ac_ext <<_ACEOF | |
e24bcc77 AJ |
15113 | /* confdefs.h. */ |
15114 | _ACEOF | |
15115 | cat confdefs.h >>conftest.$ac_ext | |
15116 | cat >>conftest.$ac_ext <<_ACEOF | |
15117 | /* end confdefs.h. */ | |
a3097628 AJ |
15118 | #define _GNU_SOURCE |
15119 | #include <pthread.h> | |
57807fa1 | 15120 | |
57807fa1 GM |
15121 | int |
15122 | main () | |
15123 | { | |
abf5048b AJ |
15124 | if (sizeof (pthread_rwlock_t)) |
15125 | return 0; | |
15126 | ; | |
a3097628 | 15127 | return 0; |
abf5048b AJ |
15128 | } |
15129 | _ACEOF | |
15130 | rm -f conftest.$ac_objext | |
15131 | if { (ac_try="$ac_compile" | |
15132 | case "(($ac_try" in | |
15133 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
15134 | *) ac_try_echo=$ac_try;; | |
15135 | esac | |
15136 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | |
15137 | $as_echo "$ac_try_echo") >&5 | |
15138 | (eval "$ac_compile") 2>conftest.er1 | |
15139 | ac_status=$? | |
15140 | grep -v '^ *+' conftest.er1 >conftest.err | |
15141 | rm -f conftest.er1 | |
15142 | cat conftest.err >&5 | |
15143 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
15144 | (exit $ac_status); } && { | |
15145 | test -z "$ac_c_werror_flag" || | |
15146 | test ! -s conftest.err | |
15147 | } && test -s conftest.$ac_objext; then | |
15148 | cat >conftest.$ac_ext <<_ACEOF | |
15149 | /* confdefs.h. */ | |
15150 | _ACEOF | |
15151 | cat confdefs.h >>conftest.$ac_ext | |
15152 | cat >>conftest.$ac_ext <<_ACEOF | |
15153 | /* end confdefs.h. */ | |
15154 | #define _GNU_SOURCE | |
15155 | #include <pthread.h> | |
15156 | ||
15157 | int | |
15158 | main () | |
15159 | { | |
15160 | if (sizeof ((pthread_rwlock_t))) | |
15161 | return 0; | |
57807fa1 GM |
15162 | ; |
15163 | return 0; | |
15164 | } | |
15165 | _ACEOF | |
a3097628 AJ |
15166 | rm -f conftest.$ac_objext |
15167 | if { (ac_try="$ac_compile" | |
0ebeb530 JW |
15168 | case "(($ac_try" in |
15169 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
15170 | *) ac_try_echo=$ac_try;; | |
15171 | esac | |
abf5048b AJ |
15172 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
15173 | $as_echo "$ac_try_echo") >&5 | |
a3097628 | 15174 | (eval "$ac_compile") 2>conftest.er1 |
57807fa1 | 15175 | ac_status=$? |
875927f6 AJ |
15176 | grep -v '^ *+' conftest.er1 >conftest.err |
15177 | rm -f conftest.er1 | |
15178 | cat conftest.err >&5 | |
abf5048b | 15179 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
dc9f3843 AJ |
15180 | (exit $ac_status); } && { |
15181 | test -z "$ac_c_werror_flag" || | |
15182 | test ! -s conftest.err | |
a3097628 | 15183 | } && test -s conftest.$ac_objext; then |
abf5048b AJ |
15184 | : |
15185 | else | |
15186 | $as_echo "$as_me: failed program was:" >&5 | |
15187 | sed 's/^/| /' conftest.$ac_ext >&5 | |
15188 | ||
15189 | ac_cv_type_pthread_rwlock_t=yes | |
15190 | fi | |
15191 | ||
15192 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | |
57807fa1 | 15193 | else |
abf5048b | 15194 | $as_echo "$as_me: failed program was:" >&5 |
e24bcc77 AJ |
15195 | sed 's/^/| /' conftest.$ac_ext >&5 |
15196 | ||
abf5048b | 15197 | |
84555cc7 | 15198 | fi |
fc6ffb29 | 15199 | |
a3097628 | 15200 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
84555cc7 | 15201 | fi |
abf5048b AJ |
15202 | { $as_echo "$as_me:$LINENO: result: $ac_cv_type_pthread_rwlock_t" >&5 |
15203 | $as_echo "$ac_cv_type_pthread_rwlock_t" >&6; } | |
15204 | if test "x$ac_cv_type_pthread_rwlock_t" = x""yes; then | |
84555cc7 | 15205 | |
a3097628 AJ |
15206 | cat >>confdefs.h <<_ACEOF |
15207 | #define HAVE_PTHREAD_RWLOCK_T 1 | |
84555cc7 | 15208 | _ACEOF |
57807fa1 GM |
15209 | |
15210 | ||
a3097628 | 15211 | fi |
abf5048b AJ |
15212 | { $as_echo "$as_me:$LINENO: checking for pthread_rwlockattr_t" >&5 |
15213 | $as_echo_n "checking for pthread_rwlockattr_t... " >&6; } | |
a3097628 | 15214 | if test "${ac_cv_type_pthread_rwlockattr_t+set}" = set; then |
abf5048b | 15215 | $as_echo_n "(cached) " >&6 |
8cc3a5e4 | 15216 | else |
abf5048b AJ |
15217 | ac_cv_type_pthread_rwlockattr_t=no |
15218 | cat >conftest.$ac_ext <<_ACEOF | |
e24bcc77 AJ |
15219 | /* confdefs.h. */ |
15220 | _ACEOF | |
15221 | cat confdefs.h >>conftest.$ac_ext | |
15222 | cat >>conftest.$ac_ext <<_ACEOF | |
15223 | /* end confdefs.h. */ | |
a3097628 AJ |
15224 | #define _GNU_SOURCE |
15225 | #include <pthread.h> | |
15226 | ||
f5818d2f AJ |
15227 | int |
15228 | main () | |
15229 | { | |
abf5048b AJ |
15230 | if (sizeof (pthread_rwlockattr_t)) |
15231 | return 0; | |
15232 | ; | |
a3097628 | 15233 | return 0; |
abf5048b AJ |
15234 | } |
15235 | _ACEOF | |
15236 | rm -f conftest.$ac_objext | |
15237 | if { (ac_try="$ac_compile" | |
15238 | case "(($ac_try" in | |
15239 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
15240 | *) ac_try_echo=$ac_try;; | |
15241 | esac | |
15242 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | |
15243 | $as_echo "$ac_try_echo") >&5 | |
15244 | (eval "$ac_compile") 2>conftest.er1 | |
15245 | ac_status=$? | |
15246 | grep -v '^ *+' conftest.er1 >conftest.err | |
15247 | rm -f conftest.er1 | |
15248 | cat conftest.err >&5 | |
15249 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
15250 | (exit $ac_status); } && { | |
15251 | test -z "$ac_c_werror_flag" || | |
15252 | test ! -s conftest.err | |
15253 | } && test -s conftest.$ac_objext; then | |
15254 | cat >conftest.$ac_ext <<_ACEOF | |
15255 | /* confdefs.h. */ | |
15256 | _ACEOF | |
15257 | cat confdefs.h >>conftest.$ac_ext | |
15258 | cat >>conftest.$ac_ext <<_ACEOF | |
15259 | /* end confdefs.h. */ | |
15260 | #define _GNU_SOURCE | |
15261 | #include <pthread.h> | |
15262 | ||
15263 | int | |
15264 | main () | |
15265 | { | |
15266 | if (sizeof ((pthread_rwlockattr_t))) | |
15267 | return 0; | |
f5818d2f AJ |
15268 | ; |
15269 | return 0; | |
15270 | } | |
15271 | _ACEOF | |
a3097628 AJ |
15272 | rm -f conftest.$ac_objext |
15273 | if { (ac_try="$ac_compile" | |
0ebeb530 JW |
15274 | case "(($ac_try" in |
15275 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
15276 | *) ac_try_echo=$ac_try;; | |
15277 | esac | |
abf5048b AJ |
15278 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
15279 | $as_echo "$ac_try_echo") >&5 | |
a3097628 | 15280 | (eval "$ac_compile") 2>conftest.er1 |
fa3a5360 | 15281 | ac_status=$? |
875927f6 AJ |
15282 | grep -v '^ *+' conftest.er1 >conftest.err |
15283 | rm -f conftest.er1 | |
15284 | cat conftest.err >&5 | |
abf5048b | 15285 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
dc9f3843 AJ |
15286 | (exit $ac_status); } && { |
15287 | test -z "$ac_c_werror_flag" || | |
15288 | test ! -s conftest.err | |
a3097628 | 15289 | } && test -s conftest.$ac_objext; then |
abf5048b | 15290 | : |
fa3a5360 | 15291 | else |
abf5048b | 15292 | $as_echo "$as_me: failed program was:" >&5 |
e24bcc77 AJ |
15293 | sed 's/^/| /' conftest.$ac_ext >&5 |
15294 | ||
abf5048b | 15295 | ac_cv_type_pthread_rwlockattr_t=yes |
fa3a5360 | 15296 | fi |
fc6ffb29 | 15297 | |
a3097628 | 15298 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
abf5048b AJ |
15299 | else |
15300 | $as_echo "$as_me: failed program was:" >&5 | |
15301 | sed 's/^/| /' conftest.$ac_ext >&5 | |
15302 | ||
15303 | ||
fa3a5360 | 15304 | fi |
abf5048b AJ |
15305 | |
15306 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | |
15307 | fi | |
15308 | { $as_echo "$as_me:$LINENO: result: $ac_cv_type_pthread_rwlockattr_t" >&5 | |
15309 | $as_echo "$ac_cv_type_pthread_rwlockattr_t" >&6; } | |
15310 | if test "x$ac_cv_type_pthread_rwlockattr_t" = x""yes; then | |
84555cc7 | 15311 | |
a3097628 AJ |
15312 | cat >>confdefs.h <<_ACEOF |
15313 | #define HAVE_PTHREAD_RWLOCKATTR_T 1 | |
84555cc7 | 15314 | _ACEOF |
fa3a5360 | 15315 | |
fa3a5360 AJ |
15316 | |
15317 | fi | |
15318 | ||
15319 | ||
a3097628 AJ |
15320 | ac_wine_check_funcs_save_LIBS="$LIBS" |
15321 | LIBS="$LIBS $LIBPTHREAD" | |
ada5e652 | 15322 | |
1f11333c | 15323 | |
13a93b4a | 15324 | |
7bf07d15 | 15325 | |
a3097628 AJ |
15326 | for ac_func in \ |
15327 | pthread_attr_get_np \ | |
15328 | pthread_getattr_np \ | |
15329 | pthread_get_stackaddr_np \ | |
15330 | pthread_get_stacksize_np | |
ada5e652 | 15331 | do |
abf5048b AJ |
15332 | as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` |
15333 | { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5 | |
15334 | $as_echo_n "checking for $ac_func... " >&6; } | |
a3097628 | 15335 | if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then |
abf5048b | 15336 | $as_echo_n "(cached) " >&6 |
ada5e652 | 15337 | else |
a3097628 AJ |
15338 | cat >conftest.$ac_ext <<_ACEOF |
15339 | /* confdefs.h. */ | |
15340 | _ACEOF | |
15341 | cat confdefs.h >>conftest.$ac_ext | |
15342 | cat >>conftest.$ac_ext <<_ACEOF | |
15343 | /* end confdefs.h. */ | |
15344 | /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func. | |
15345 | For example, HP-UX 11i <limits.h> declares gettimeofday. */ | |
15346 | #define $ac_func innocuous_$ac_func | |
ada5e652 | 15347 | |
a3097628 AJ |
15348 | /* System header to define __stub macros and hopefully few prototypes, |
15349 | which can conflict with char $ac_func (); below. | |
15350 | Prefer <limits.h> to <assert.h> if __STDC__ is defined, since | |
15351 | <limits.h> exists even on freestanding compilers. */ | |
fc6ffb29 | 15352 | |
a3097628 AJ |
15353 | #ifdef __STDC__ |
15354 | # include <limits.h> | |
15355 | #else | |
15356 | # include <assert.h> | |
15357 | #endif | |
ada5e652 | 15358 | |
a3097628 | 15359 | #undef $ac_func |
ada5e652 | 15360 | |
a3097628 AJ |
15361 | /* Override any GCC internal prototype to avoid an error. |
15362 | Use char because int might match the return type of a GCC | |
15363 | builtin and then its argument prototype would still apply. */ | |
15364 | #ifdef __cplusplus | |
15365 | extern "C" | |
15366 | #endif | |
15367 | char $ac_func (); | |
15368 | /* The GNU C library defines this for functions which it implements | |
15369 | to always fail with ENOSYS. Some functions are actually named | |
15370 | something starting with __ and the normal name is an alias. */ | |
15371 | #if defined __stub_$ac_func || defined __stub___$ac_func | |
15372 | choke me | |
15373 | #endif | |
73482144 | 15374 | |
a3097628 AJ |
15375 | int |
15376 | main () | |
15377 | { | |
15378 | return $ac_func (); | |
15379 | ; | |
15380 | return 0; | |
15381 | } | |
15382 | _ACEOF | |
15383 | rm -f conftest.$ac_objext conftest$ac_exeext | |
15384 | if { (ac_try="$ac_link" | |
15385 | case "(($ac_try" in | |
15386 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
15387 | *) ac_try_echo=$ac_try;; | |
15388 | esac | |
abf5048b AJ |
15389 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
15390 | $as_echo "$ac_try_echo") >&5 | |
a3097628 AJ |
15391 | (eval "$ac_link") 2>conftest.er1 |
15392 | ac_status=$? | |
15393 | grep -v '^ *+' conftest.er1 >conftest.err | |
15394 | rm -f conftest.er1 | |
15395 | cat conftest.err >&5 | |
abf5048b | 15396 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
a3097628 AJ |
15397 | (exit $ac_status); } && { |
15398 | test -z "$ac_c_werror_flag" || | |
15399 | test ! -s conftest.err | |
abf5048b AJ |
15400 | } && test -s conftest$ac_exeext && { |
15401 | test "$cross_compiling" = yes || | |
15402 | $as_test_x conftest$ac_exeext | |
15403 | }; then | |
a3097628 | 15404 | eval "$as_ac_var=yes" |
73482144 | 15405 | else |
abf5048b | 15406 | $as_echo "$as_me: failed program was:" >&5 |
a3097628 | 15407 | sed 's/^/| /' conftest.$ac_ext >&5 |
e24bcc77 | 15408 | |
a3097628 | 15409 | eval "$as_ac_var=no" |
fa3a5360 | 15410 | fi |
a3097628 | 15411 | |
abf5048b | 15412 | rm -rf conftest.dSYM |
a3097628 AJ |
15413 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ |
15414 | conftest$ac_exeext conftest.$ac_ext | |
73482144 | 15415 | fi |
abf5048b AJ |
15416 | ac_res=`eval 'as_val=${'$as_ac_var'} |
15417 | $as_echo "$as_val"'` | |
15418 | { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 | |
15419 | $as_echo "$ac_res" >&6; } | |
15420 | as_val=`eval 'as_val=${'$as_ac_var'} | |
15421 | $as_echo "$as_val"'` | |
15422 | if test "x$as_val" = x""yes; then | |
a3097628 | 15423 | cat >>confdefs.h <<_ACEOF |
abf5048b | 15424 | #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 |
a3097628 AJ |
15425 | _ACEOF |
15426 | ||
73482144 | 15427 | fi |
a3097628 | 15428 | done |
8cc3a5e4 | 15429 | |
a3097628 | 15430 | LIBS="$ac_wine_check_funcs_save_LIBS" |
fc6ffb29 | 15431 | |
a3097628 AJ |
15432 | # Extract the first word of "esd-config", so it can be a program name with args. |
15433 | set dummy esd-config; ac_word=$2 | |
abf5048b AJ |
15434 | { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 |
15435 | $as_echo_n "checking for $ac_word... " >&6; } | |
a3097628 | 15436 | if test "${ac_cv_path_ESDCONFIG+set}" = set; then |
abf5048b | 15437 | $as_echo_n "(cached) " >&6 |
fa3a5360 | 15438 | else |
a3097628 AJ |
15439 | case $ESDCONFIG in |
15440 | [\\/]* | ?:[\\/]*) | |
15441 | ac_cv_path_ESDCONFIG="$ESDCONFIG" # Let the user override the test with a path. | |
15442 | ;; | |
15443 | *) | |
15444 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | |
73482144 AJ |
15445 | for as_dir in $PATH |
15446 | do | |
15447 | IFS=$as_save_IFS | |
15448 | test -z "$as_dir" && as_dir=. | |
15449 | for ac_exec_ext in '' $ac_executable_extensions; do | |
dc9f3843 | 15450 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
a3097628 | 15451 | ac_cv_path_ESDCONFIG="$as_dir/$ac_word$ac_exec_ext" |
abf5048b | 15452 | $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
73482144 AJ |
15453 | break 2 |
15454 | fi | |
15455 | done | |
15456 | done | |
fc6ffb29 | 15457 | IFS=$as_save_IFS |
73482144 | 15458 | |
a3097628 AJ |
15459 | ;; |
15460 | esac | |
73482144 | 15461 | fi |
a3097628 AJ |
15462 | ESDCONFIG=$ac_cv_path_ESDCONFIG |
15463 | if test -n "$ESDCONFIG"; then | |
abf5048b AJ |
15464 | { $as_echo "$as_me:$LINENO: result: $ESDCONFIG" >&5 |
15465 | $as_echo "$ESDCONFIG" >&6; } | |
73482144 | 15466 | else |
abf5048b AJ |
15467 | { $as_echo "$as_me:$LINENO: result: no" >&5 |
15468 | $as_echo "no" >&6; } | |
8cc3a5e4 AJ |
15469 | fi |
15470 | ||
e533e972 | 15471 | |
a41f0f1b | 15472 | if test "x$with_esd" != xno -a "x$ESDCONFIG" != x -a "x$ESDCONFIG" != x'"$ESDCONFIG"'; |
a3097628 | 15473 | then |
e9b1a406 | 15474 | ac_esd_incl="" |
a3097628 AJ |
15475 | for i in `$ESDCONFIG --cflags` |
15476 | do | |
15477 | case "$i" in | |
e9b1a406 | 15478 | -I*) ac_esd_incl="$ac_esd_incl $i";; |
a3097628 AJ |
15479 | esac |
15480 | done | |
e9b1a406 | 15481 | ac_esd_libs=`$ESDCONFIG --libs` |
a3097628 | 15482 | save_CFLAGS="$CFLAGS" |
e9b1a406 | 15483 | CFLAGS="$CFLAGS $ac_esd_incl" |
abf5048b AJ |
15484 | { $as_echo "$as_me:$LINENO: checking for esd_open_sound in -lesd" >&5 |
15485 | $as_echo_n "checking for esd_open_sound in -lesd... " >&6; } | |
a3097628 | 15486 | if test "${ac_cv_lib_esd_esd_open_sound+set}" = set; then |
abf5048b | 15487 | $as_echo_n "(cached) " >&6 |
2ffc7e2c | 15488 | else |
a3097628 | 15489 | ac_check_lib_save_LIBS=$LIBS |
e9b1a406 | 15490 | LIBS="-lesd $ac_esd_libs $LIBS" |
a3097628 AJ |
15491 | cat >conftest.$ac_ext <<_ACEOF |
15492 | /* confdefs.h. */ | |
15493 | _ACEOF | |
15494 | cat confdefs.h >>conftest.$ac_ext | |
15495 | cat >>conftest.$ac_ext <<_ACEOF | |
15496 | /* end confdefs.h. */ | |
15497 | ||
15498 | /* Override any GCC internal prototype to avoid an error. | |
15499 | Use char because int might match the return type of a GCC | |
15500 | builtin and then its argument prototype would still apply. */ | |
15501 | #ifdef __cplusplus | |
15502 | extern "C" | |
15503 | #endif | |
15504 | char esd_open_sound (); | |
15505 | int | |
15506 | main () | |
15507 | { | |
15508 | return esd_open_sound (); | |
15509 | ; | |
15510 | return 0; | |
15511 | } | |
15512 | _ACEOF | |
15513 | rm -f conftest.$ac_objext conftest$ac_exeext | |
15514 | if { (ac_try="$ac_link" | |
15515 | case "(($ac_try" in | |
15516 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
15517 | *) ac_try_echo=$ac_try;; | |
15518 | esac | |
abf5048b AJ |
15519 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
15520 | $as_echo "$ac_try_echo") >&5 | |
a3097628 AJ |
15521 | (eval "$ac_link") 2>conftest.er1 |
15522 | ac_status=$? | |
15523 | grep -v '^ *+' conftest.er1 >conftest.err | |
15524 | rm -f conftest.er1 | |
15525 | cat conftest.err >&5 | |
abf5048b | 15526 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
a3097628 AJ |
15527 | (exit $ac_status); } && { |
15528 | test -z "$ac_c_werror_flag" || | |
15529 | test ! -s conftest.err | |
abf5048b AJ |
15530 | } && test -s conftest$ac_exeext && { |
15531 | test "$cross_compiling" = yes || | |
15532 | $as_test_x conftest$ac_exeext | |
15533 | }; then | |
a3097628 | 15534 | ac_cv_lib_esd_esd_open_sound=yes |
2ffc7e2c | 15535 | else |
abf5048b | 15536 | $as_echo "$as_me: failed program was:" >&5 |
a3097628 | 15537 | sed 's/^/| /' conftest.$ac_ext >&5 |
2ffc7e2c | 15538 | |
a3097628 | 15539 | ac_cv_lib_esd_esd_open_sound=no |
2ffc7e2c | 15540 | fi |
a3097628 | 15541 | |
abf5048b | 15542 | rm -rf conftest.dSYM |
a3097628 AJ |
15543 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ |
15544 | conftest$ac_exeext conftest.$ac_ext | |
15545 | LIBS=$ac_check_lib_save_LIBS | |
2ffc7e2c | 15546 | fi |
abf5048b AJ |
15547 | { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_esd_esd_open_sound" >&5 |
15548 | $as_echo "$ac_cv_lib_esd_esd_open_sound" >&6; } | |
15549 | if test "x$ac_cv_lib_esd_esd_open_sound" = x""yes; then | |
e9b1a406 | 15550 | ESDINCL="$ac_esd_incl" |
2ffc7e2c | 15551 | |
e9b1a406 | 15552 | ESDLIBS="$ac_esd_libs" |
2ffc7e2c | 15553 | |
a3097628 AJ |
15554 | |
15555 | cat >>confdefs.h <<\_ACEOF | |
15556 | #define HAVE_ESD 1 | |
15557 | _ACEOF | |
2ffc7e2c AJ |
15558 | |
15559 | fi | |
a3097628 AJ |
15560 | |
15561 | CFLAGS="$save_CFLAGS" | |
2ffc7e2c | 15562 | fi |
a3097628 AJ |
15563 | |
15564 | ALSALIBS="" | |
15565 | ||
15566 | if test "$ac_cv_header_sys_asoundlib_h" = "yes" -o "$ac_cv_header_alsa_asoundlib_h" = "yes" | |
15567 | then | |
abf5048b AJ |
15568 | { $as_echo "$as_me:$LINENO: checking for snd_pcm_hw_params_get_access in -lasound" >&5 |
15569 | $as_echo_n "checking for snd_pcm_hw_params_get_access in -lasound... " >&6; } | |
a3097628 | 15570 | if test "${ac_cv_lib_asound_snd_pcm_hw_params_get_access+set}" = set; then |
abf5048b | 15571 | $as_echo_n "(cached) " >&6 |
2ffc7e2c | 15572 | else |
a3097628 AJ |
15573 | ac_check_lib_save_LIBS=$LIBS |
15574 | LIBS="-lasound $LIBS" | |
15575 | cat >conftest.$ac_ext <<_ACEOF | |
15576 | /* confdefs.h. */ | |
15577 | _ACEOF | |
15578 | cat confdefs.h >>conftest.$ac_ext | |
15579 | cat >>conftest.$ac_ext <<_ACEOF | |
15580 | /* end confdefs.h. */ | |
2ffc7e2c | 15581 | |
a3097628 AJ |
15582 | /* Override any GCC internal prototype to avoid an error. |
15583 | Use char because int might match the return type of a GCC | |
15584 | builtin and then its argument prototype would still apply. */ | |
15585 | #ifdef __cplusplus | |
15586 | extern "C" | |
15587 | #endif | |
15588 | char snd_pcm_hw_params_get_access (); | |
15589 | int | |
15590 | main () | |
15591 | { | |
15592 | return snd_pcm_hw_params_get_access (); | |
15593 | ; | |
15594 | return 0; | |
15595 | } | |
15596 | _ACEOF | |
15597 | rm -f conftest.$ac_objext conftest$ac_exeext | |
15598 | if { (ac_try="$ac_link" | |
15599 | case "(($ac_try" in | |
15600 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
15601 | *) ac_try_echo=$ac_try;; | |
2ffc7e2c | 15602 | esac |
abf5048b AJ |
15603 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
15604 | $as_echo "$ac_try_echo") >&5 | |
a3097628 AJ |
15605 | (eval "$ac_link") 2>conftest.er1 |
15606 | ac_status=$? | |
15607 | grep -v '^ *+' conftest.er1 >conftest.err | |
15608 | rm -f conftest.er1 | |
15609 | cat conftest.err >&5 | |
abf5048b | 15610 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
a3097628 AJ |
15611 | (exit $ac_status); } && { |
15612 | test -z "$ac_c_werror_flag" || | |
15613 | test ! -s conftest.err | |
abf5048b AJ |
15614 | } && test -s conftest$ac_exeext && { |
15615 | test "$cross_compiling" = yes || | |
15616 | $as_test_x conftest$ac_exeext | |
15617 | }; then | |
a3097628 | 15618 | ac_cv_lib_asound_snd_pcm_hw_params_get_access=yes |
2ffc7e2c | 15619 | else |
abf5048b | 15620 | $as_echo "$as_me: failed program was:" >&5 |
a3097628 AJ |
15621 | sed 's/^/| /' conftest.$ac_ext >&5 |
15622 | ||
15623 | ac_cv_lib_asound_snd_pcm_hw_params_get_access=no | |
2ffc7e2c AJ |
15624 | fi |
15625 | ||
abf5048b | 15626 | rm -rf conftest.dSYM |
a3097628 AJ |
15627 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ |
15628 | conftest$ac_exeext conftest.$ac_ext | |
15629 | LIBS=$ac_check_lib_save_LIBS | |
15630 | fi | |
abf5048b AJ |
15631 | { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_asound_snd_pcm_hw_params_get_access" >&5 |
15632 | $as_echo "$ac_cv_lib_asound_snd_pcm_hw_params_get_access" >&6; } | |
15633 | if test "x$ac_cv_lib_asound_snd_pcm_hw_params_get_access" = x""yes; then | |
a3097628 AJ |
15634 | cat >conftest.$ac_ext <<_ACEOF |
15635 | /* confdefs.h. */ | |
15636 | _ACEOF | |
15637 | cat confdefs.h >>conftest.$ac_ext | |
15638 | cat >>conftest.$ac_ext <<_ACEOF | |
15639 | /* end confdefs.h. */ | |
15640 | #ifdef HAVE_ALSA_ASOUNDLIB_H | |
15641 | #include <alsa/asoundlib.h> | |
15642 | #elif defined(HAVE_SYS_ASOUNDLIB_H) | |
15643 | #include <sys/asoundlib.h> | |
15644 | #endif | |
15645 | int | |
15646 | main () | |
15647 | { | |
15648 | int ret = snd_pcm_hw_params_get_access(NULL, NULL) | |
15649 | ; | |
15650 | return 0; | |
15651 | } | |
15652 | _ACEOF | |
15653 | rm -f conftest.$ac_objext | |
15654 | if { (ac_try="$ac_compile" | |
15655 | case "(($ac_try" in | |
15656 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
15657 | *) ac_try_echo=$ac_try;; | |
15658 | esac | |
abf5048b AJ |
15659 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
15660 | $as_echo "$ac_try_echo") >&5 | |
a3097628 AJ |
15661 | (eval "$ac_compile") 2>conftest.er1 |
15662 | ac_status=$? | |
15663 | grep -v '^ *+' conftest.er1 >conftest.err | |
15664 | rm -f conftest.er1 | |
15665 | cat conftest.err >&5 | |
abf5048b | 15666 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
a3097628 AJ |
15667 | (exit $ac_status); } && { |
15668 | test -z "$ac_c_werror_flag" || | |
15669 | test ! -s conftest.err | |
15670 | } && test -s conftest.$ac_objext; then | |
42b81ea0 | 15671 | |
a3097628 AJ |
15672 | cat >>confdefs.h <<\_ACEOF |
15673 | #define HAVE_ALSA 1 | |
15674 | _ACEOF | |
42b81ea0 | 15675 | |
a3097628 AJ |
15676 | ALSALIBS="-lasound" |
15677 | else | |
abf5048b | 15678 | $as_echo "$as_me: failed program was:" >&5 |
a3097628 | 15679 | sed 's/^/| /' conftest.$ac_ext >&5 |
42b81ea0 | 15680 | |
f0ca586f | 15681 | |
a3097628 | 15682 | fi |
42b81ea0 | 15683 | |
a3097628 AJ |
15684 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
15685 | fi | |
4e686043 | 15686 | |
a3097628 AJ |
15687 | fi |
15688 | ||
a3097628 AJ |
15689 | AUDIOIOLIBS="" |
15690 | ||
15691 | if test "$ac_cv_header_libaudioio_h" = "yes" | |
15692 | then | |
abf5048b AJ |
15693 | { $as_echo "$as_me:$LINENO: checking for AudioIOGetVersion in -laudioio" >&5 |
15694 | $as_echo_n "checking for AudioIOGetVersion in -laudioio... " >&6; } | |
a3097628 | 15695 | if test "${ac_cv_lib_audioio_AudioIOGetVersion+set}" = set; then |
abf5048b | 15696 | $as_echo_n "(cached) " >&6 |
e533e972 | 15697 | else |
a3097628 AJ |
15698 | ac_check_lib_save_LIBS=$LIBS |
15699 | LIBS="-laudioio $LIBS" | |
e533e972 | 15700 | cat >conftest.$ac_ext <<_ACEOF |
a3097628 AJ |
15701 | /* confdefs.h. */ |
15702 | _ACEOF | |
15703 | cat confdefs.h >>conftest.$ac_ext | |
15704 | cat >>conftest.$ac_ext <<_ACEOF | |
15705 | /* end confdefs.h. */ | |
15706 | ||
15707 | /* Override any GCC internal prototype to avoid an error. | |
15708 | Use char because int might match the return type of a GCC | |
15709 | builtin and then its argument prototype would still apply. */ | |
15710 | #ifdef __cplusplus | |
15711 | extern "C" | |
15712 | #endif | |
15713 | char AudioIOGetVersion (); | |
15714 | int | |
15715 | main () | |
15716 | { | |
15717 | return AudioIOGetVersion (); | |
15718 | ; | |
15719 | return 0; | |
15720 | } | |
e533e972 AJ |
15721 | _ACEOF |
15722 | rm -f conftest.$ac_objext conftest$ac_exeext | |
15723 | if { (ac_try="$ac_link" | |
15724 | case "(($ac_try" in | |
15725 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
15726 | *) ac_try_echo=$ac_try;; | |
15727 | esac | |
abf5048b AJ |
15728 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
15729 | $as_echo "$ac_try_echo") >&5 | |
e533e972 AJ |
15730 | (eval "$ac_link") 2>conftest.er1 |
15731 | ac_status=$? | |
15732 | grep -v '^ *+' conftest.er1 >conftest.err | |
15733 | rm -f conftest.er1 | |
15734 | cat conftest.err >&5 | |
abf5048b | 15735 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
dc9f3843 AJ |
15736 | (exit $ac_status); } && { |
15737 | test -z "$ac_c_werror_flag" || | |
15738 | test ! -s conftest.err | |
abf5048b AJ |
15739 | } && test -s conftest$ac_exeext && { |
15740 | test "$cross_compiling" = yes || | |
15741 | $as_test_x conftest$ac_exeext | |
15742 | }; then | |
a3097628 | 15743 | ac_cv_lib_audioio_AudioIOGetVersion=yes |
73482144 | 15744 | else |
abf5048b | 15745 | $as_echo "$as_me: failed program was:" >&5 |
e533e972 | 15746 | sed 's/^/| /' conftest.$ac_ext >&5 |
73482144 | 15747 | |
a3097628 | 15748 | ac_cv_lib_audioio_AudioIOGetVersion=no |
e533e972 | 15749 | fi |
daa2886c | 15750 | |
abf5048b | 15751 | rm -rf conftest.dSYM |
f0ca586f | 15752 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ |
e533e972 | 15753 | conftest$ac_exeext conftest.$ac_ext |
a3097628 | 15754 | LIBS=$ac_check_lib_save_LIBS |
e533e972 | 15755 | fi |
abf5048b AJ |
15756 | { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_audioio_AudioIOGetVersion" >&5 |
15757 | $as_echo "$ac_cv_lib_audioio_AudioIOGetVersion" >&6; } | |
15758 | if test "x$ac_cv_lib_audioio_AudioIOGetVersion" = x""yes; then | |
a3097628 AJ |
15759 | AUDIOIOLIBS="-laudioio" |
15760 | ||
15761 | cat >>confdefs.h <<\_ACEOF | |
15762 | #define HAVE_LIBAUDIOIO 1 | |
15763 | _ACEOF | |
15764 | ||
15765 | fi | |
15766 | ||
15767 | fi | |
15768 | ||
15769 | ||
15770 | if test "$ac_cv_header_capi20_h" = "yes" -a "$ac_cv_header_linux_capi_h" = "yes" | |
15771 | then | |
abf5048b AJ |
15772 | { $as_echo "$as_me:$LINENO: checking for -lcapi20" >&5 |
15773 | $as_echo_n "checking for -lcapi20... " >&6; } | |
3336e9bf | 15774 | if test "${ac_cv_lib_soname_capi20+set}" = set; then |
abf5048b | 15775 | $as_echo_n "(cached) " >&6 |
93a5b868 | 15776 | else |
3336e9bf | 15777 | ac_check_soname_save_LIBS=$LIBS |
a3097628 | 15778 | LIBS="-lcapi20 $LIBS" |
3336e9bf | 15779 | cat >conftest.$ac_ext <<_ACEOF |
e24bcc77 AJ |
15780 | /* confdefs.h. */ |
15781 | _ACEOF | |
15782 | cat confdefs.h >>conftest.$ac_ext | |
15783 | cat >>conftest.$ac_ext <<_ACEOF | |
15784 | /* end confdefs.h. */ | |
fa3a5360 | 15785 | |
a3097628 AJ |
15786 | /* Override any GCC internal prototype to avoid an error. |
15787 | Use char because int might match the return type of a GCC | |
15788 | builtin and then its argument prototype would still apply. */ | |
15789 | #ifdef __cplusplus | |
15790 | extern "C" | |
15791 | #endif | |
15792 | char capi20_register (); | |
e24bcc77 AJ |
15793 | int |
15794 | main () | |
15795 | { | |
a3097628 | 15796 | return capi20_register (); |
f5818d2f AJ |
15797 | ; |
15798 | return 0; | |
15799 | } | |
15800 | _ACEOF | |
15801 | rm -f conftest.$ac_objext conftest$ac_exeext | |
0ebeb530 JW |
15802 | if { (ac_try="$ac_link" |
15803 | case "(($ac_try" in | |
15804 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
15805 | *) ac_try_echo=$ac_try;; | |
15806 | esac | |
abf5048b AJ |
15807 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
15808 | $as_echo "$ac_try_echo") >&5 | |
0ebeb530 | 15809 | (eval "$ac_link") 2>conftest.er1 |
f5818d2f | 15810 | ac_status=$? |
875927f6 AJ |
15811 | grep -v '^ *+' conftest.er1 >conftest.err |
15812 | rm -f conftest.er1 | |
15813 | cat conftest.err >&5 | |
abf5048b | 15814 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
dc9f3843 AJ |
15815 | (exit $ac_status); } && { |
15816 | test -z "$ac_c_werror_flag" || | |
15817 | test ! -s conftest.err | |
abf5048b AJ |
15818 | } && test -s conftest$ac_exeext && { |
15819 | test "$cross_compiling" = yes || | |
15820 | $as_test_x conftest$ac_exeext | |
15821 | }; then | |
3336e9bf AJ |
15822 | case "$LIBEXT" in |
15823 | dll) ;; | |
15824 | dylib) ac_cv_lib_soname_capi20=`otool -L conftest$ac_exeext | grep "libcapi20\\.[0-9A-Za-z.]*dylib" | sed -e "s/^.*\/\(libcapi20\.[0-9A-Za-z.]*dylib\).*$/\1/"';2,$d'` ;; | |
15825 | *) ac_cv_lib_soname_capi20=`$ac_cv_path_LDD conftest$ac_exeext | grep "libcapi20\\.$LIBEXT" | sed -e "s/^.*\(libcapi20\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;; | |
15826 | esac | |
93a5b868 | 15827 | else |
abf5048b | 15828 | $as_echo "$as_me: failed program was:" >&5 |
e24bcc77 AJ |
15829 | sed 's/^/| /' conftest.$ac_ext >&5 |
15830 | ||
3336e9bf | 15831 | |
93a5b868 | 15832 | fi |
fc6ffb29 | 15833 | |
abf5048b | 15834 | rm -rf conftest.dSYM |
f0ca586f | 15835 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ |
875927f6 | 15836 | conftest$ac_exeext conftest.$ac_ext |
3336e9bf | 15837 | LIBS=$ac_check_soname_save_LIBS |
93a5b868 | 15838 | fi |
3336e9bf | 15839 | if test "x$ac_cv_lib_soname_capi20" = "x"; then |
abf5048b AJ |
15840 | { $as_echo "$as_me:$LINENO: result: not found" >&5 |
15841 | $as_echo "not found" >&6; } | |
a3097628 | 15842 | |
3336e9bf | 15843 | else |
abf5048b AJ |
15844 | { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_soname_capi20" >&5 |
15845 | $as_echo "$ac_cv_lib_soname_capi20" >&6; } | |
3336e9bf AJ |
15846 | |
15847 | cat >>confdefs.h <<_ACEOF | |
15848 | #define SONAME_LIBCAPI20 "$ac_cv_lib_soname_capi20" | |
a3097628 AJ |
15849 | _ACEOF |
15850 | ||
3336e9bf | 15851 | |
702d3556 AJ |
15852 | fi |
15853 | ||
15854 | fi | |
f9dec94f | 15855 | if test "x$ac_cv_lib_soname_capi20" = "x"; then |
a41f0f1b | 15856 | case "x$with_capi" in |
93f094c5 | 15857 | x) wine_notices="$wine_notices|libcapi20 ${notice_platform}development files not found, ISDN won't be supported." ;; |
a41f0f1b | 15858 | xno) ;; |
abf5048b | 15859 | *) { { $as_echo "$as_me:$LINENO: error: libcapi20 ${notice_platform}development files not found, ISDN won't be supported. |
a41f0f1b | 15860 | This is an error since --with-capi was requested." >&5 |
abf5048b | 15861 | $as_echo "$as_me: error: libcapi20 ${notice_platform}development files not found, ISDN won't be supported. |
a41f0f1b AJ |
15862 | This is an error since --with-capi was requested." >&2;} |
15863 | { (exit 1); exit 1; }; } ;; | |
15864 | esac | |
f9dec94f AJ |
15865 | fi |
15866 | ||
702d3556 | 15867 | |
289ea338 FG |
15868 | CUPSINCL="" |
15869 | ||
15870 | if test "x$with_cups" != "xno" | |
702d3556 | 15871 | then |
289ea338 FG |
15872 | ac_save_CPPFLAGS="$CPPFLAGS" |
15873 | ac_cups_cflags=`cups-config --cflags 2>/dev/null` | |
a991a568 | 15874 | ac_cups_libs=`cups-config --ldflags 2>/dev/null` |
289ea338 FG |
15875 | CPPFLAGS="$CPPFLAGS $ac_cups_cflags" |
15876 | ||
15877 | for ac_header in cups/cups.h | |
15878 | do | |
abf5048b | 15879 | as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` |
289ea338 | 15880 | if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then |
abf5048b AJ |
15881 | { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 |
15882 | $as_echo_n "checking for $ac_header... " >&6; } | |
289ea338 | 15883 | if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then |
abf5048b | 15884 | $as_echo_n "(cached) " >&6 |
289ea338 | 15885 | fi |
abf5048b AJ |
15886 | ac_res=`eval 'as_val=${'$as_ac_Header'} |
15887 | $as_echo "$as_val"'` | |
15888 | { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 | |
15889 | $as_echo "$ac_res" >&6; } | |
289ea338 FG |
15890 | else |
15891 | # Is the header compilable? | |
abf5048b AJ |
15892 | { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5 |
15893 | $as_echo_n "checking $ac_header usability... " >&6; } | |
289ea338 FG |
15894 | cat >conftest.$ac_ext <<_ACEOF |
15895 | /* confdefs.h. */ | |
15896 | _ACEOF | |
15897 | cat confdefs.h >>conftest.$ac_ext | |
15898 | cat >>conftest.$ac_ext <<_ACEOF | |
15899 | /* end confdefs.h. */ | |
15900 | $ac_includes_default | |
15901 | #include <$ac_header> | |
15902 | _ACEOF | |
15903 | rm -f conftest.$ac_objext | |
15904 | if { (ac_try="$ac_compile" | |
15905 | case "(($ac_try" in | |
15906 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
15907 | *) ac_try_echo=$ac_try;; | |
15908 | esac | |
abf5048b AJ |
15909 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
15910 | $as_echo "$ac_try_echo") >&5 | |
289ea338 FG |
15911 | (eval "$ac_compile") 2>conftest.er1 |
15912 | ac_status=$? | |
15913 | grep -v '^ *+' conftest.er1 >conftest.err | |
15914 | rm -f conftest.er1 | |
15915 | cat conftest.err >&5 | |
abf5048b | 15916 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
289ea338 FG |
15917 | (exit $ac_status); } && { |
15918 | test -z "$ac_c_werror_flag" || | |
15919 | test ! -s conftest.err | |
15920 | } && test -s conftest.$ac_objext; then | |
15921 | ac_header_compiler=yes | |
15922 | else | |
abf5048b | 15923 | $as_echo "$as_me: failed program was:" >&5 |
289ea338 FG |
15924 | sed 's/^/| /' conftest.$ac_ext >&5 |
15925 | ||
15926 | ac_header_compiler=no | |
15927 | fi | |
15928 | ||
15929 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | |
abf5048b AJ |
15930 | { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 |
15931 | $as_echo "$ac_header_compiler" >&6; } | |
289ea338 FG |
15932 | |
15933 | # Is the header present? | |
abf5048b AJ |
15934 | { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5 |
15935 | $as_echo_n "checking $ac_header presence... " >&6; } | |
289ea338 FG |
15936 | cat >conftest.$ac_ext <<_ACEOF |
15937 | /* confdefs.h. */ | |
15938 | _ACEOF | |
15939 | cat confdefs.h >>conftest.$ac_ext | |
15940 | cat >>conftest.$ac_ext <<_ACEOF | |
15941 | /* end confdefs.h. */ | |
15942 | #include <$ac_header> | |
15943 | _ACEOF | |
15944 | if { (ac_try="$ac_cpp conftest.$ac_ext" | |
15945 | case "(($ac_try" in | |
15946 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
15947 | *) ac_try_echo=$ac_try;; | |
15948 | esac | |
abf5048b AJ |
15949 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
15950 | $as_echo "$ac_try_echo") >&5 | |
289ea338 FG |
15951 | (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 |
15952 | ac_status=$? | |
15953 | grep -v '^ *+' conftest.er1 >conftest.err | |
15954 | rm -f conftest.er1 | |
15955 | cat conftest.err >&5 | |
abf5048b | 15956 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
289ea338 FG |
15957 | (exit $ac_status); } >/dev/null && { |
15958 | test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || | |
15959 | test ! -s conftest.err | |
15960 | }; then | |
15961 | ac_header_preproc=yes | |
15962 | else | |
abf5048b | 15963 | $as_echo "$as_me: failed program was:" >&5 |
289ea338 FG |
15964 | sed 's/^/| /' conftest.$ac_ext >&5 |
15965 | ||
15966 | ac_header_preproc=no | |
15967 | fi | |
15968 | ||
15969 | rm -f conftest.err conftest.$ac_ext | |
abf5048b AJ |
15970 | { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 |
15971 | $as_echo "$ac_header_preproc" >&6; } | |
289ea338 FG |
15972 | |
15973 | # So? What about this header? | |
15974 | case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in | |
15975 | yes:no: ) | |
abf5048b AJ |
15976 | { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 |
15977 | $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} | |
15978 | { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 | |
15979 | $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} | |
289ea338 FG |
15980 | ac_header_preproc=yes |
15981 | ;; | |
15982 | no:yes:* ) | |
abf5048b AJ |
15983 | { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 |
15984 | $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} | |
15985 | { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 | |
15986 | $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} | |
15987 | { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 | |
15988 | $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} | |
15989 | { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 | |
15990 | $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} | |
15991 | { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 | |
15992 | $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} | |
15993 | { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 | |
15994 | $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} | |
289ea338 FG |
15995 | ( cat <<\_ASBOX |
15996 | ## ------------------------------------ ## | |
15997 | ## Report this to wine-devel@winehq.org ## | |
15998 | ## ------------------------------------ ## | |
15999 | _ASBOX | |
16000 | ) | sed "s/^/$as_me: WARNING: /" >&2 | |
16001 | ;; | |
16002 | esac | |
abf5048b AJ |
16003 | { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 |
16004 | $as_echo_n "checking for $ac_header... " >&6; } | |
289ea338 | 16005 | if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then |
abf5048b | 16006 | $as_echo_n "(cached) " >&6 |
289ea338 FG |
16007 | else |
16008 | eval "$as_ac_Header=\$ac_header_preproc" | |
16009 | fi | |
abf5048b AJ |
16010 | ac_res=`eval 'as_val=${'$as_ac_Header'} |
16011 | $as_echo "$as_val"'` | |
16012 | { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 | |
16013 | $as_echo "$ac_res" >&6; } | |
289ea338 FG |
16014 | |
16015 | fi | |
abf5048b AJ |
16016 | as_val=`eval 'as_val=${'$as_ac_Header'} |
16017 | $as_echo "$as_val"'` | |
16018 | if test "x$as_val" = x""yes; then | |
289ea338 | 16019 | cat >>confdefs.h <<_ACEOF |
abf5048b | 16020 | #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 |
289ea338 | 16021 | _ACEOF |
abf5048b AJ |
16022 | { $as_echo "$as_me:$LINENO: checking for -lcups" >&5 |
16023 | $as_echo_n "checking for -lcups... " >&6; } | |
702d3556 | 16024 | if test "${ac_cv_lib_soname_cups+set}" = set; then |
abf5048b | 16025 | $as_echo_n "(cached) " >&6 |
702d3556 AJ |
16026 | else |
16027 | ac_check_soname_save_LIBS=$LIBS | |
289ea338 | 16028 | LIBS="-lcups $ac_cups_libs $LIBS" |
702d3556 AJ |
16029 | cat >conftest.$ac_ext <<_ACEOF |
16030 | /* confdefs.h. */ | |
16031 | _ACEOF | |
16032 | cat confdefs.h >>conftest.$ac_ext | |
16033 | cat >>conftest.$ac_ext <<_ACEOF | |
16034 | /* end confdefs.h. */ | |
16035 | ||
16036 | /* Override any GCC internal prototype to avoid an error. | |
16037 | Use char because int might match the return type of a GCC | |
16038 | builtin and then its argument prototype would still apply. */ | |
16039 | #ifdef __cplusplus | |
16040 | extern "C" | |
16041 | #endif | |
16042 | char cupsGetDefault (); | |
16043 | int | |
16044 | main () | |
16045 | { | |
16046 | return cupsGetDefault (); | |
16047 | ; | |
16048 | return 0; | |
16049 | } | |
16050 | _ACEOF | |
16051 | rm -f conftest.$ac_objext conftest$ac_exeext | |
16052 | if { (ac_try="$ac_link" | |
16053 | case "(($ac_try" in | |
16054 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
16055 | *) ac_try_echo=$ac_try;; | |
16056 | esac | |
abf5048b AJ |
16057 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
16058 | $as_echo "$ac_try_echo") >&5 | |
702d3556 AJ |
16059 | (eval "$ac_link") 2>conftest.er1 |
16060 | ac_status=$? | |
16061 | grep -v '^ *+' conftest.er1 >conftest.err | |
16062 | rm -f conftest.er1 | |
16063 | cat conftest.err >&5 | |
abf5048b | 16064 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
702d3556 AJ |
16065 | (exit $ac_status); } && { |
16066 | test -z "$ac_c_werror_flag" || | |
16067 | test ! -s conftest.err | |
abf5048b AJ |
16068 | } && test -s conftest$ac_exeext && { |
16069 | test "$cross_compiling" = yes || | |
16070 | $as_test_x conftest$ac_exeext | |
16071 | }; then | |
702d3556 AJ |
16072 | case "$LIBEXT" in |
16073 | dll) ;; | |
16074 | dylib) ac_cv_lib_soname_cups=`otool -L conftest$ac_exeext | grep "libcups\\.[0-9A-Za-z.]*dylib" | sed -e "s/^.*\/\(libcups\.[0-9A-Za-z.]*dylib\).*$/\1/"';2,$d'` ;; | |
16075 | *) ac_cv_lib_soname_cups=`$ac_cv_path_LDD conftest$ac_exeext | grep "libcups\\.$LIBEXT" | sed -e "s/^.*\(libcups\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;; | |
16076 | esac | |
16077 | else | |
abf5048b | 16078 | $as_echo "$as_me: failed program was:" >&5 |
702d3556 AJ |
16079 | sed 's/^/| /' conftest.$ac_ext >&5 |
16080 | ||
16081 | ||
16082 | fi | |
16083 | ||
abf5048b | 16084 | rm -rf conftest.dSYM |
702d3556 AJ |
16085 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ |
16086 | conftest$ac_exeext conftest.$ac_ext | |
16087 | LIBS=$ac_check_soname_save_LIBS | |
16088 | fi | |
16089 | if test "x$ac_cv_lib_soname_cups" = "x"; then | |
abf5048b AJ |
16090 | { $as_echo "$as_me:$LINENO: result: not found" >&5 |
16091 | $as_echo "not found" >&6; } | |
702d3556 AJ |
16092 | |
16093 | else | |
abf5048b AJ |
16094 | { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_soname_cups" >&5 |
16095 | $as_echo "$ac_cv_lib_soname_cups" >&6; } | |
702d3556 AJ |
16096 | |
16097 | cat >>confdefs.h <<_ACEOF | |
16098 | #define SONAME_LIBCUPS "$ac_cv_lib_soname_cups" | |
16099 | _ACEOF | |
16100 | ||
289ea338 FG |
16101 | CUPSINCL="$ac_cups_cflags" |
16102 | fi | |
702d3556 | 16103 | |
34200c35 AJ |
16104 | fi |
16105 | ||
289ea338 FG |
16106 | done |
16107 | ||
16108 | CPPFLAGS="$ac_save_CPPFLAGS" | |
34200c35 | 16109 | fi |
f9dec94f | 16110 | if test "x$ac_cv_lib_soname_cups" = "x"; then |
a41f0f1b | 16111 | case "x$with_cups" in |
93f094c5 | 16112 | x) wine_notices="$wine_notices|libcups ${notice_platform}development files not found, CUPS won't be supported." ;; |
a41f0f1b | 16113 | xno) ;; |
abf5048b | 16114 | *) { { $as_echo "$as_me:$LINENO: error: libcups ${notice_platform}development files not found, CUPS won't be supported. |
a41f0f1b | 16115 | This is an error since --with-cups was requested." >&5 |
abf5048b | 16116 | $as_echo "$as_me: error: libcups ${notice_platform}development files not found, CUPS won't be supported. |
a41f0f1b AJ |
16117 | This is an error since --with-cups was requested." >&2;} |
16118 | { (exit 1); exit 1; }; } ;; | |
16119 | esac | |
f9dec94f AJ |
16120 | fi |
16121 | ||
34200c35 AJ |
16122 | |
16123 | if test "$ac_cv_header_jack_jack_h" = "yes" | |
16124 | then | |
abf5048b AJ |
16125 | { $as_echo "$as_me:$LINENO: checking for -ljack" >&5 |
16126 | $as_echo_n "checking for -ljack... " >&6; } | |
34200c35 | 16127 | if test "${ac_cv_lib_soname_jack+set}" = set; then |
abf5048b | 16128 | $as_echo_n "(cached) " >&6 |
34200c35 AJ |
16129 | else |
16130 | ac_check_soname_save_LIBS=$LIBS | |
16131 | LIBS="-ljack $LIBS" | |
16132 | cat >conftest.$ac_ext <<_ACEOF | |
16133 | /* confdefs.h. */ | |
16134 | _ACEOF | |
16135 | cat confdefs.h >>conftest.$ac_ext | |
16136 | cat >>conftest.$ac_ext <<_ACEOF | |
16137 | /* end confdefs.h. */ | |
16138 | ||
16139 | /* Override any GCC internal prototype to avoid an error. | |
16140 | Use char because int might match the return type of a GCC | |
16141 | builtin and then its argument prototype would still apply. */ | |
16142 | #ifdef __cplusplus | |
16143 | extern "C" | |
16144 | #endif | |
16145 | char jack_client_new (); | |
16146 | int | |
16147 | main () | |
16148 | { | |
16149 | return jack_client_new (); | |
16150 | ; | |
16151 | return 0; | |
16152 | } | |
16153 | _ACEOF | |
16154 | rm -f conftest.$ac_objext conftest$ac_exeext | |
16155 | if { (ac_try="$ac_link" | |
16156 | case "(($ac_try" in | |
16157 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
16158 | *) ac_try_echo=$ac_try;; | |
16159 | esac | |
abf5048b AJ |
16160 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
16161 | $as_echo "$ac_try_echo") >&5 | |
34200c35 AJ |
16162 | (eval "$ac_link") 2>conftest.er1 |
16163 | ac_status=$? | |
16164 | grep -v '^ *+' conftest.er1 >conftest.err | |
16165 | rm -f conftest.er1 | |
16166 | cat conftest.err >&5 | |
abf5048b | 16167 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
34200c35 AJ |
16168 | (exit $ac_status); } && { |
16169 | test -z "$ac_c_werror_flag" || | |
16170 | test ! -s conftest.err | |
abf5048b AJ |
16171 | } && test -s conftest$ac_exeext && { |
16172 | test "$cross_compiling" = yes || | |
16173 | $as_test_x conftest$ac_exeext | |
16174 | }; then | |
34200c35 AJ |
16175 | case "$LIBEXT" in |
16176 | dll) ;; | |
90a6fb04 FG |
16177 | dylib) ac_cv_lib_soname_jack=`otool -L conftest$ac_exeext | grep "libjack-*[0-9.]*\\.[0-9A-Za-z.]*dylib" | sed -e "s/^.*\/\(libjack-*[0-9.]*\.[0-9A-Za-z.]*dylib\).*$/\1/"';2,$d'` ;; |
16178 | *) ac_cv_lib_soname_jack=`$ac_cv_path_LDD conftest$ac_exeext | grep "libjack-*[0-9.]*\\.$LIBEXT" | sed -e "s/^.*\(libjack-*[0-9.]*\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;; | |
34200c35 AJ |
16179 | esac |
16180 | else | |
abf5048b | 16181 | $as_echo "$as_me: failed program was:" >&5 |
34200c35 AJ |
16182 | sed 's/^/| /' conftest.$ac_ext >&5 |
16183 | ||
16184 | ||
16185 | fi | |
16186 | ||
abf5048b | 16187 | rm -rf conftest.dSYM |
34200c35 AJ |
16188 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ |
16189 | conftest$ac_exeext conftest.$ac_ext | |
16190 | LIBS=$ac_check_soname_save_LIBS | |
16191 | fi | |
16192 | if test "x$ac_cv_lib_soname_jack" = "x"; then | |
abf5048b AJ |
16193 | { $as_echo "$as_me:$LINENO: result: not found" >&5 |
16194 | $as_echo "not found" >&6; } | |
34200c35 AJ |
16195 | |
16196 | else | |
abf5048b AJ |
16197 | { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_soname_jack" >&5 |
16198 | $as_echo "$ac_cv_lib_soname_jack" >&6; } | |
34200c35 AJ |
16199 | |
16200 | cat >>confdefs.h <<_ACEOF | |
16201 | #define SONAME_LIBJACK "$ac_cv_lib_soname_jack" | |
16202 | _ACEOF | |
16203 | ||
16204 | ||
ccd5f284 AJ |
16205 | fi |
16206 | ||
16207 | fi | |
16208 | ||
16209 | if test "$ac_cv_header_fontconfig_fontconfig_h" = "yes" | |
16210 | then | |
abf5048b AJ |
16211 | { $as_echo "$as_me:$LINENO: checking for -lfontconfig" >&5 |
16212 | $as_echo_n "checking for -lfontconfig... " >&6; } | |
ccd5f284 | 16213 | if test "${ac_cv_lib_soname_fontconfig+set}" = set; then |
abf5048b | 16214 | $as_echo_n "(cached) " >&6 |
ccd5f284 AJ |
16215 | else |
16216 | ac_check_soname_save_LIBS=$LIBS | |
16217 | LIBS="-lfontconfig $LIBS" | |
16218 | cat >conftest.$ac_ext <<_ACEOF | |
16219 | /* confdefs.h. */ | |
16220 | _ACEOF | |
16221 | cat confdefs.h >>conftest.$ac_ext | |
16222 | cat >>conftest.$ac_ext <<_ACEOF | |
16223 | /* end confdefs.h. */ | |
16224 | ||
16225 | /* Override any GCC internal prototype to avoid an error. | |
16226 | Use char because int might match the return type of a GCC | |
16227 | builtin and then its argument prototype would still apply. */ | |
16228 | #ifdef __cplusplus | |
16229 | extern "C" | |
16230 | #endif | |
16231 | char FcInit (); | |
16232 | int | |
16233 | main () | |
16234 | { | |
16235 | return FcInit (); | |
16236 | ; | |
16237 | return 0; | |
16238 | } | |
16239 | _ACEOF | |
16240 | rm -f conftest.$ac_objext conftest$ac_exeext | |
16241 | if { (ac_try="$ac_link" | |
16242 | case "(($ac_try" in | |
16243 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
16244 | *) ac_try_echo=$ac_try;; | |
16245 | esac | |
abf5048b AJ |
16246 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
16247 | $as_echo "$ac_try_echo") >&5 | |
ccd5f284 AJ |
16248 | (eval "$ac_link") 2>conftest.er1 |
16249 | ac_status=$? | |
16250 | grep -v '^ *+' conftest.er1 >conftest.err | |
16251 | rm -f conftest.er1 | |
16252 | cat conftest.err >&5 | |
abf5048b | 16253 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
ccd5f284 AJ |
16254 | (exit $ac_status); } && { |
16255 | test -z "$ac_c_werror_flag" || | |
16256 | test ! -s conftest.err | |
abf5048b AJ |
16257 | } && test -s conftest$ac_exeext && { |
16258 | test "$cross_compiling" = yes || | |
16259 | $as_test_x conftest$ac_exeext | |
16260 | }; then | |
ccd5f284 AJ |
16261 | case "$LIBEXT" in |
16262 | dll) ;; | |
16263 | dylib) ac_cv_lib_soname_fontconfig=`otool -L conftest$ac_exeext | grep "libfontconfig\\.[0-9A-Za-z.]*dylib" | sed -e "s/^.*\/\(libfontconfig\.[0-9A-Za-z.]*dylib\).*$/\1/"';2,$d'` ;; | |
16264 | *) ac_cv_lib_soname_fontconfig=`$ac_cv_path_LDD conftest$ac_exeext | grep "libfontconfig\\.$LIBEXT" | sed -e "s/^.*\(libfontconfig\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;; | |
16265 | esac | |
16266 | else | |
abf5048b | 16267 | $as_echo "$as_me: failed program was:" >&5 |
ccd5f284 AJ |
16268 | sed 's/^/| /' conftest.$ac_ext >&5 |
16269 | ||
16270 | ||
16271 | fi | |
16272 | ||
abf5048b | 16273 | rm -rf conftest.dSYM |
ccd5f284 AJ |
16274 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ |
16275 | conftest$ac_exeext conftest.$ac_ext | |
16276 | LIBS=$ac_check_soname_save_LIBS | |
16277 | fi | |
16278 | if test "x$ac_cv_lib_soname_fontconfig" = "x"; then | |
abf5048b AJ |
16279 | { $as_echo "$as_me:$LINENO: result: not found" >&5 |
16280 | $as_echo "not found" >&6; } | |
ccd5f284 AJ |
16281 | |
16282 | else | |
abf5048b AJ |
16283 | { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_soname_fontconfig" >&5 |
16284 | $as_echo "$ac_cv_lib_soname_fontconfig" >&6; } | |
ccd5f284 AJ |
16285 | |
16286 | cat >>confdefs.h <<_ACEOF | |
16287 | #define SONAME_LIBFONTCONFIG "$ac_cv_lib_soname_fontconfig" | |
16288 | _ACEOF | |
16289 | ||
16290 | ||
f91909b3 AJ |
16291 | fi |
16292 | ||
a41f0f1b | 16293 | elif test -n "$X_CFLAGS" -a "x$with_fontconfig" != "xno" |
5c076730 AJ |
16294 | then |
16295 | ac_save_CPPFLAGS="$CPPFLAGS" | |
16296 | CPPFLAGS="$CPPFLAGS $X_CFLAGS" | |
16297 | $as_unset ac_cv_header_fontconfig_fontconfig_h | |
16298 | ||
16299 | for ac_header in fontconfig/fontconfig.h | |
16300 | do | |
abf5048b | 16301 | as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` |
5c076730 | 16302 | if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then |
abf5048b AJ |
16303 | { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 |
16304 | $as_echo_n "checking for $ac_header... " >&6; } | |
5c076730 | 16305 | if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then |
abf5048b | 16306 | $as_echo_n "(cached) " >&6 |
5c076730 | 16307 | fi |
abf5048b AJ |
16308 | ac_res=`eval 'as_val=${'$as_ac_Header'} |
16309 | $as_echo "$as_val"'` | |
16310 | { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 | |
16311 | $as_echo "$ac_res" >&6; } | |
5c076730 AJ |
16312 | else |
16313 | # Is the header compilable? | |
abf5048b AJ |
16314 | { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5 |
16315 | $as_echo_n "checking $ac_header usability... " >&6; } | |
5c076730 AJ |
16316 | cat >conftest.$ac_ext <<_ACEOF |
16317 | /* confdefs.h. */ | |
16318 | _ACEOF | |
16319 | cat confdefs.h >>conftest.$ac_ext | |
16320 | cat >>conftest.$ac_ext <<_ACEOF | |
16321 | /* end confdefs.h. */ | |
16322 | $ac_includes_default | |
16323 | #include <$ac_header> | |
16324 | _ACEOF | |
16325 | rm -f conftest.$ac_objext | |
16326 | if { (ac_try="$ac_compile" | |
16327 | case "(($ac_try" in | |
16328 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
16329 | *) ac_try_echo=$ac_try;; | |
16330 | esac | |
abf5048b AJ |
16331 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
16332 | $as_echo "$ac_try_echo") >&5 | |
5c076730 AJ |
16333 | (eval "$ac_compile") 2>conftest.er1 |
16334 | ac_status=$? | |
16335 | grep -v '^ *+' conftest.er1 >conftest.err | |
16336 | rm -f conftest.er1 | |
16337 | cat conftest.err >&5 | |
abf5048b | 16338 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
5c076730 AJ |
16339 | (exit $ac_status); } && { |
16340 | test -z "$ac_c_werror_flag" || | |
16341 | test ! -s conftest.err | |
16342 | } && test -s conftest.$ac_objext; then | |
16343 | ac_header_compiler=yes | |
16344 | else | |
abf5048b | 16345 | $as_echo "$as_me: failed program was:" >&5 |
5c076730 AJ |
16346 | sed 's/^/| /' conftest.$ac_ext >&5 |
16347 | ||
16348 | ac_header_compiler=no | |
16349 | fi | |
16350 | ||
16351 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | |
abf5048b AJ |
16352 | { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 |
16353 | $as_echo "$ac_header_compiler" >&6; } | |
5c076730 AJ |
16354 | |
16355 | # Is the header present? | |
abf5048b AJ |
16356 | { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5 |
16357 | $as_echo_n "checking $ac_header presence... " >&6; } | |
5c076730 AJ |
16358 | cat >conftest.$ac_ext <<_ACEOF |
16359 | /* confdefs.h. */ | |
16360 | _ACEOF | |
16361 | cat confdefs.h >>conftest.$ac_ext | |
16362 | cat >>conftest.$ac_ext <<_ACEOF | |
16363 | /* end confdefs.h. */ | |
16364 | #include <$ac_header> | |
16365 | _ACEOF | |
16366 | if { (ac_try="$ac_cpp conftest.$ac_ext" | |
16367 | case "(($ac_try" in | |
16368 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
16369 | *) ac_try_echo=$ac_try;; | |
16370 | esac | |
abf5048b AJ |
16371 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
16372 | $as_echo "$ac_try_echo") >&5 | |
5c076730 AJ |
16373 | (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 |
16374 | ac_status=$? | |
16375 | grep -v '^ *+' conftest.er1 >conftest.err | |
16376 | rm -f conftest.er1 | |
16377 | cat conftest.err >&5 | |
abf5048b | 16378 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
5c076730 AJ |
16379 | (exit $ac_status); } >/dev/null && { |
16380 | test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || | |
16381 | test ! -s conftest.err | |
16382 | }; then | |
16383 | ac_header_preproc=yes | |
16384 | else | |
abf5048b | 16385 | $as_echo "$as_me: failed program was:" >&5 |
5c076730 AJ |
16386 | sed 's/^/| /' conftest.$ac_ext >&5 |
16387 | ||
16388 | ac_header_preproc=no | |
16389 | fi | |
16390 | ||
16391 | rm -f conftest.err conftest.$ac_ext | |
abf5048b AJ |
16392 | { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 |
16393 | $as_echo "$ac_header_preproc" >&6; } | |
5c076730 AJ |
16394 | |
16395 | # So? What about this header? | |
16396 | case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in | |
16397 | yes:no: ) | |
abf5048b AJ |
16398 | { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 |
16399 | $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} | |
16400 | { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 | |
16401 | $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} | |
5c076730 AJ |
16402 | ac_header_preproc=yes |
16403 | ;; | |
16404 | no:yes:* ) | |
abf5048b AJ |
16405 | { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 |
16406 | $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} | |
16407 | { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 | |
16408 | $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} | |
16409 | { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 | |
16410 | $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} | |
16411 | { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 | |
16412 | $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} | |
16413 | { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 | |
16414 | $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} | |
16415 | { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 | |
16416 | $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} | |
5c076730 AJ |
16417 | ( cat <<\_ASBOX |
16418 | ## ------------------------------------ ## | |
16419 | ## Report this to wine-devel@winehq.org ## | |
16420 | ## ------------------------------------ ## | |
16421 | _ASBOX | |
16422 | ) | sed "s/^/$as_me: WARNING: /" >&2 | |
16423 | ;; | |
16424 | esac | |
abf5048b AJ |
16425 | { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 |
16426 | $as_echo_n "checking for $ac_header... " >&6; } | |
5c076730 | 16427 | if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then |
abf5048b | 16428 | $as_echo_n "(cached) " >&6 |
5c076730 AJ |
16429 | else |
16430 | eval "$as_ac_Header=\$ac_header_preproc" | |
16431 | fi | |
abf5048b AJ |
16432 | ac_res=`eval 'as_val=${'$as_ac_Header'} |
16433 | $as_echo "$as_val"'` | |
16434 | { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 | |
16435 | $as_echo "$ac_res" >&6; } | |
5c076730 AJ |
16436 | |
16437 | fi | |
abf5048b AJ |
16438 | as_val=`eval 'as_val=${'$as_ac_Header'} |
16439 | $as_echo "$as_val"'` | |
16440 | if test "x$as_val" = x""yes; then | |
5c076730 | 16441 | cat >>confdefs.h <<_ACEOF |
abf5048b | 16442 | #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 |
5c076730 AJ |
16443 | _ACEOF |
16444 | ||
16445 | fi | |
16446 | ||
16447 | done | |
16448 | ||
16449 | CPPFLAGS="$ac_save_CPPFLAGS" | |
16450 | if test "$ac_cv_header_fontconfig_fontconfig_h" = "yes" | |
16451 | then | |
16452 | FONTCONFIGINCL="$X_CFLAGS" | |
16453 | ||
abf5048b AJ |
16454 | { $as_echo "$as_me:$LINENO: checking for -lfontconfig" >&5 |
16455 | $as_echo_n "checking for -lfontconfig... " >&6; } | |
5c076730 | 16456 | if test "${ac_cv_lib_soname_fontconfig+set}" = set; then |
abf5048b | 16457 | $as_echo_n "(cached) " >&6 |
5c076730 AJ |
16458 | else |
16459 | ac_check_soname_save_LIBS=$LIBS | |
16460 | LIBS="-lfontconfig $X_LIBS $LIBS" | |
16461 | cat >conftest.$ac_ext <<_ACEOF | |
16462 | /* confdefs.h. */ | |
16463 | _ACEOF | |
16464 | cat confdefs.h >>conftest.$ac_ext | |
16465 | cat >>conftest.$ac_ext <<_ACEOF | |
16466 | /* end confdefs.h. */ | |
16467 | ||
16468 | /* Override any GCC internal prototype to avoid an error. | |
16469 | Use char because int might match the return type of a GCC | |
16470 | builtin and then its argument prototype would still apply. */ | |
16471 | #ifdef __cplusplus | |
16472 | extern "C" | |
16473 | #endif | |
16474 | char FcInit (); | |
16475 | int | |
16476 | main () | |
16477 | { | |
16478 | return FcInit (); | |
16479 | ; | |
16480 | return 0; | |
16481 | } | |
16482 | _ACEOF | |
16483 | rm -f conftest.$ac_objext conftest$ac_exeext | |
16484 | if { (ac_try="$ac_link" | |
16485 | case "(($ac_try" in | |
16486 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
16487 | *) ac_try_echo=$ac_try;; | |
16488 | esac | |
abf5048b AJ |
16489 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
16490 | $as_echo "$ac_try_echo") >&5 | |
5c076730 AJ |
16491 | (eval "$ac_link") 2>conftest.er1 |
16492 | ac_status=$? | |
16493 | grep -v '^ *+' conftest.er1 >conftest.err | |
16494 | rm -f conftest.er1 | |
16495 | cat conftest.err >&5 | |
abf5048b | 16496 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
5c076730 AJ |
16497 | (exit $ac_status); } && { |
16498 | test -z "$ac_c_werror_flag" || | |
16499 | test ! -s conftest.err | |
abf5048b AJ |
16500 | } && test -s conftest$ac_exeext && { |
16501 | test "$cross_compiling" = yes || | |
16502 | $as_test_x conftest$ac_exeext | |
16503 | }; then | |
5c076730 AJ |
16504 | case "$LIBEXT" in |
16505 | dll) ;; | |
16506 | dylib) ac_cv_lib_soname_fontconfig=`otool -L conftest$ac_exeext | grep "libfontconfig\\.[0-9A-Za-z.]*dylib" | sed -e "s/^.*\/\(libfontconfig\.[0-9A-Za-z.]*dylib\).*$/\1/"';2,$d'` ;; | |
16507 | *) ac_cv_lib_soname_fontconfig=`$ac_cv_path_LDD conftest$ac_exeext | grep "libfontconfig\\.$LIBEXT" | sed -e "s/^.*\(libfontconfig\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;; | |
16508 | esac | |
16509 | else | |
abf5048b | 16510 | $as_echo "$as_me: failed program was:" >&5 |
5c076730 AJ |
16511 | sed 's/^/| /' conftest.$ac_ext >&5 |
16512 | ||
16513 | ||
16514 | fi | |
16515 | ||
abf5048b | 16516 | rm -rf conftest.dSYM |
5c076730 AJ |
16517 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ |
16518 | conftest$ac_exeext conftest.$ac_ext | |
16519 | LIBS=$ac_check_soname_save_LIBS | |
16520 | fi | |
16521 | if test "x$ac_cv_lib_soname_fontconfig" = "x"; then | |
abf5048b AJ |
16522 | { $as_echo "$as_me:$LINENO: result: not found" >&5 |
16523 | $as_echo "not found" >&6; } | |
5c076730 AJ |
16524 | |
16525 | else | |
abf5048b AJ |
16526 | { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_soname_fontconfig" >&5 |
16527 | $as_echo "$ac_cv_lib_soname_fontconfig" >&6; } | |
5c076730 AJ |
16528 | |
16529 | cat >>confdefs.h <<_ACEOF | |
16530 | #define SONAME_LIBFONTCONFIG "$ac_cv_lib_soname_fontconfig" | |
16531 | _ACEOF | |
16532 | ||
16533 | ||
16534 | fi | |
16535 | ||
16536 | fi | |
f91909b3 | 16537 | fi |
7f674966 | 16538 | if test "x$ac_cv_lib_soname_fontconfig" = "x"; then |
a41f0f1b | 16539 | case "x$with_fontconfig" in |
93f094c5 | 16540 | x) wine_notices="$wine_notices|fontconfig ${notice_platform}development files not found, fontconfig won't be supported." ;; |
a41f0f1b | 16541 | xno) ;; |
abf5048b | 16542 | *) { { $as_echo "$as_me:$LINENO: error: fontconfig ${notice_platform}development files not found, fontconfig won't be supported. |
a41f0f1b | 16543 | This is an error since --with-fontconfig was requested." >&5 |
abf5048b | 16544 | $as_echo "$as_me: error: fontconfig ${notice_platform}development files not found, fontconfig won't be supported. |
a41f0f1b AJ |
16545 | This is an error since --with-fontconfig was requested." >&2;} |
16546 | { (exit 1); exit 1; }; } ;; | |
16547 | esac | |
7f674966 AJ |
16548 | fi |
16549 | ||
f91909b3 AJ |
16550 | |
16551 | if test "$ac_cv_header_openssl_err_h" = "yes" -a "$ac_cv_header_openssl_ssl_h" = "yes" | |
16552 | then | |
abf5048b AJ |
16553 | { $as_echo "$as_me:$LINENO: checking for -lssl" >&5 |
16554 | $as_echo_n "checking for -lssl... " >&6; } | |
f91909b3 | 16555 | if test "${ac_cv_lib_soname_ssl+set}" = set; then |
abf5048b | 16556 | $as_echo_n "(cached) " >&6 |
f91909b3 AJ |
16557 | else |
16558 | ac_check_soname_save_LIBS=$LIBS | |
16559 | LIBS="-lssl $LIBS" | |
16560 | cat >conftest.$ac_ext <<_ACEOF | |
16561 | /* confdefs.h. */ | |
16562 | _ACEOF | |
16563 | cat confdefs.h >>conftest.$ac_ext | |
16564 | cat >>conftest.$ac_ext <<_ACEOF | |
16565 | /* end confdefs.h. */ | |
16566 | ||
16567 | /* Override any GCC internal prototype to avoid an error. | |
16568 | Use char because int might match the return type of a GCC | |
16569 | builtin and then its argument prototype would still apply. */ | |
16570 | #ifdef __cplusplus | |
16571 | extern "C" | |
16572 | #endif | |
16573 | char SSL_library_init (); | |
16574 | int | |
16575 | main () | |
16576 | { | |
16577 | return SSL_library_init (); | |
16578 | ; | |
16579 | return 0; | |
16580 | } | |
16581 | _ACEOF | |
16582 | rm -f conftest.$ac_objext conftest$ac_exeext | |
16583 | if { (ac_try="$ac_link" | |
16584 | case "(($ac_try" in | |
16585 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
16586 | *) ac_try_echo=$ac_try;; | |
16587 | esac | |
abf5048b AJ |
16588 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
16589 | $as_echo "$ac_try_echo") >&5 | |
f91909b3 AJ |
16590 | (eval "$ac_link") 2>conftest.er1 |
16591 | ac_status=$? | |
16592 | grep -v '^ *+' conftest.er1 >conftest.err | |
16593 | rm -f conftest.er1 | |
16594 | cat conftest.err >&5 | |
abf5048b | 16595 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
f91909b3 AJ |
16596 | (exit $ac_status); } && { |
16597 | test -z "$ac_c_werror_flag" || | |
16598 | test ! -s conftest.err | |
abf5048b AJ |
16599 | } && test -s conftest$ac_exeext && { |
16600 | test "$cross_compiling" = yes || | |
16601 | $as_test_x conftest$ac_exeext | |
16602 | }; then | |
f91909b3 AJ |
16603 | case "$LIBEXT" in |
16604 | dll) ;; | |
16605 | dylib) ac_cv_lib_soname_ssl=`otool -L conftest$ac_exeext | grep "libssl\\.[0-9A-Za-z.]*dylib" | sed -e "s/^.*\/\(libssl\.[0-9A-Za-z.]*dylib\).*$/\1/"';2,$d'` ;; | |
16606 | *) ac_cv_lib_soname_ssl=`$ac_cv_path_LDD conftest$ac_exeext | grep "libssl\\.$LIBEXT" | sed -e "s/^.*\(libssl\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;; | |
16607 | esac | |
16608 | else | |
abf5048b | 16609 | $as_echo "$as_me: failed program was:" >&5 |
f91909b3 AJ |
16610 | sed 's/^/| /' conftest.$ac_ext >&5 |
16611 | ||
16612 | ||
16613 | fi | |
16614 | ||
abf5048b | 16615 | rm -rf conftest.dSYM |
f91909b3 AJ |
16616 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ |
16617 | conftest$ac_exeext conftest.$ac_ext | |
16618 | LIBS=$ac_check_soname_save_LIBS | |
16619 | fi | |
16620 | if test "x$ac_cv_lib_soname_ssl" = "x"; then | |
abf5048b AJ |
16621 | { $as_echo "$as_me:$LINENO: result: not found" >&5 |
16622 | $as_echo "not found" >&6; } | |
f91909b3 AJ |
16623 | |
16624 | else | |
abf5048b AJ |
16625 | { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_soname_ssl" >&5 |
16626 | $as_echo "$ac_cv_lib_soname_ssl" >&6; } | |
f91909b3 AJ |
16627 | |
16628 | cat >>confdefs.h <<_ACEOF | |
16629 | #define SONAME_LIBSSL "$ac_cv_lib_soname_ssl" | |
16630 | _ACEOF | |
16631 | ||
16632 | ||
16633 | fi | |
16634 | ||
abf5048b AJ |
16635 | { $as_echo "$as_me:$LINENO: checking for -lcrypto" >&5 |
16636 | $as_echo_n "checking for -lcrypto... " >&6; } | |
f91909b3 | 16637 | if test "${ac_cv_lib_soname_crypto+set}" = set; then |
abf5048b | 16638 | $as_echo_n "(cached) " >&6 |
f91909b3 AJ |
16639 | else |
16640 | ac_check_soname_save_LIBS=$LIBS | |
16641 | LIBS="-lcrypto $LIBS" | |
16642 | cat >conftest.$ac_ext <<_ACEOF | |
16643 | /* confdefs.h. */ | |
16644 | _ACEOF | |
16645 | cat confdefs.h >>conftest.$ac_ext | |
16646 | cat >>conftest.$ac_ext <<_ACEOF | |
16647 | /* end confdefs.h. */ | |
16648 | ||
16649 | /* Override any GCC internal prototype to avoid an error. | |
16650 | Use char because int might match the return type of a GCC | |
16651 | builtin and then its argument prototype would still apply. */ | |
16652 | #ifdef __cplusplus | |
16653 | extern "C" | |
16654 | #endif | |
16655 | char BIO_new_socket (); | |
16656 | int | |
16657 | main () | |
16658 | { | |
16659 | return BIO_new_socket (); | |
16660 | ; | |
16661 | return 0; | |
16662 | } | |
16663 | _ACEOF | |
16664 | rm -f conftest.$ac_objext conftest$ac_exeext | |
16665 | if { (ac_try="$ac_link" | |
16666 | case "(($ac_try" in | |
16667 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
16668 | *) ac_try_echo=$ac_try;; | |
16669 | esac | |
abf5048b AJ |
16670 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
16671 | $as_echo "$ac_try_echo") >&5 | |
f91909b3 AJ |
16672 | (eval "$ac_link") 2>conftest.er1 |
16673 | ac_status=$? | |
16674 | grep -v '^ *+' conftest.er1 >conftest.err | |
16675 | rm -f conftest.er1 | |
16676 | cat conftest.err >&5 | |
abf5048b | 16677 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
f91909b3 AJ |
16678 | (exit $ac_status); } && { |
16679 | test -z "$ac_c_werror_flag" || | |
16680 | test ! -s conftest.err | |
abf5048b AJ |
16681 | } && test -s conftest$ac_exeext && { |
16682 | test "$cross_compiling" = yes || | |
16683 | $as_test_x conftest$ac_exeext | |
16684 | }; then | |
f91909b3 AJ |
16685 | case "$LIBEXT" in |
16686 | dll) ;; | |
16687 | dylib) ac_cv_lib_soname_crypto=`otool -L conftest$ac_exeext | grep "libcrypto\\.[0-9A-Za-z.]*dylib" | sed -e "s/^.*\/\(libcrypto\.[0-9A-Za-z.]*dylib\).*$/\1/"';2,$d'` ;; | |
16688 | *) ac_cv_lib_soname_crypto=`$ac_cv_path_LDD conftest$ac_exeext | grep "libcrypto\\.$LIBEXT" | sed -e "s/^.*\(libcrypto\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;; | |
16689 | esac | |
16690 | else | |
abf5048b | 16691 | $as_echo "$as_me: failed program was:" >&5 |
f91909b3 AJ |
16692 | sed 's/^/| /' conftest.$ac_ext >&5 |
16693 | ||
16694 | ||
16695 | fi | |
16696 | ||
abf5048b | 16697 | rm -rf conftest.dSYM |
f91909b3 AJ |
16698 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ |
16699 | conftest$ac_exeext conftest.$ac_ext | |
16700 | LIBS=$ac_check_soname_save_LIBS | |
16701 | fi | |
16702 | if test "x$ac_cv_lib_soname_crypto" = "x"; then | |
abf5048b AJ |
16703 | { $as_echo "$as_me:$LINENO: result: not found" >&5 |
16704 | $as_echo "not found" >&6; } | |
f91909b3 AJ |
16705 | |
16706 | else | |
abf5048b AJ |
16707 | { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_soname_crypto" >&5 |
16708 | $as_echo "$ac_cv_lib_soname_crypto" >&6; } | |
f91909b3 AJ |
16709 | |
16710 | cat >>confdefs.h <<_ACEOF | |
16711 | #define SONAME_LIBCRYPTO "$ac_cv_lib_soname_crypto" | |
16712 | _ACEOF | |
16713 | ||
16714 | ||
d0fddf4f AJ |
16715 | fi |
16716 | ||
16717 | fi | |
8354e6a9 | 16718 | if test "x$ac_cv_lib_soname_ssl" = "x" -o "x$ac_cv_lib_soname_crypto" = "x"; then |
a41f0f1b | 16719 | case "x$with_openssl" in |
93f094c5 | 16720 | x) wine_warnings="$wine_warnings|OpenSSL ${notice_platform}development files not found, SSL won't be supported." ;; |
a41f0f1b | 16721 | xno) ;; |
abf5048b | 16722 | *) { { $as_echo "$as_me:$LINENO: error: OpenSSL ${notice_platform}development files not found, SSL won't be supported. |
a41f0f1b | 16723 | This is an error since --with-openssl was requested." >&5 |
abf5048b | 16724 | $as_echo "$as_me: error: OpenSSL ${notice_platform}development files not found, SSL won't be supported. |
a41f0f1b AJ |
16725 | This is an error since --with-openssl was requested." >&2;} |
16726 | { (exit 1); exit 1; }; } ;; | |
16727 | esac | |
7f674966 AJ |
16728 | fi |
16729 | ||
d0fddf4f AJ |
16730 | |
16731 | if test "$ac_cv_header_jpeglib_h" = "yes" | |
16732 | then | |
abf5048b AJ |
16733 | { $as_echo "$as_me:$LINENO: checking for -ljpeg" >&5 |
16734 | $as_echo_n "checking for -ljpeg... " >&6; } | |
d0fddf4f | 16735 | if test "${ac_cv_lib_soname_jpeg+set}" = set; then |
abf5048b | 16736 | $as_echo_n "(cached) " >&6 |
d0fddf4f AJ |
16737 | else |
16738 | ac_check_soname_save_LIBS=$LIBS | |
16739 | LIBS="-ljpeg $LIBS" | |
16740 | cat >conftest.$ac_ext <<_ACEOF | |
16741 | /* confdefs.h. */ | |
16742 | _ACEOF | |
16743 | cat confdefs.h >>conftest.$ac_ext | |
16744 | cat >>conftest.$ac_ext <<_ACEOF | |
16745 | /* end confdefs.h. */ | |
16746 | ||
16747 | /* Override any GCC internal prototype to avoid an error. | |
16748 | Use char because int might match the return type of a GCC | |
16749 | builtin and then its argument prototype would still apply. */ | |
16750 | #ifdef __cplusplus | |
16751 | extern "C" | |
16752 | #endif | |
16753 | char jpeg_start_decompress (); | |
16754 | int | |
16755 | main () | |
16756 | { | |
16757 | return jpeg_start_decompress (); | |
16758 | ; | |
16759 | return 0; | |
16760 | } | |
16761 | _ACEOF | |
16762 | rm -f conftest.$ac_objext conftest$ac_exeext | |
16763 | if { (ac_try="$ac_link" | |
16764 | case "(($ac_try" in | |
16765 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
16766 | *) ac_try_echo=$ac_try;; | |
16767 | esac | |
abf5048b AJ |
16768 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
16769 | $as_echo "$ac_try_echo") >&5 | |
d0fddf4f AJ |
16770 | (eval "$ac_link") 2>conftest.er1 |
16771 | ac_status=$? | |
16772 | grep -v '^ *+' conftest.er1 >conftest.err | |
16773 | rm -f conftest.er1 | |
16774 | cat conftest.err >&5 | |
abf5048b | 16775 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
d0fddf4f AJ |
16776 | (exit $ac_status); } && { |
16777 | test -z "$ac_c_werror_flag" || | |
16778 | test ! -s conftest.err | |
abf5048b AJ |
16779 | } && test -s conftest$ac_exeext && { |
16780 | test "$cross_compiling" = yes || | |
16781 | $as_test_x conftest$ac_exeext | |
16782 | }; then | |
d0fddf4f AJ |
16783 | case "$LIBEXT" in |
16784 | dll) ;; | |
16785 | dylib) ac_cv_lib_soname_jpeg=`otool -L conftest$ac_exeext | grep "libjpeg\\.[0-9A-Za-z.]*dylib" | sed -e "s/^.*\/\(libjpeg\.[0-9A-Za-z.]*dylib\).*$/\1/"';2,$d'` ;; | |
16786 | *) ac_cv_lib_soname_jpeg=`$ac_cv_path_LDD conftest$ac_exeext | grep "libjpeg\\.$LIBEXT" | sed -e "s/^.*\(libjpeg\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;; | |
16787 | esac | |
16788 | else | |
abf5048b | 16789 | $as_echo "$as_me: failed program was:" >&5 |
d0fddf4f AJ |
16790 | sed 's/^/| /' conftest.$ac_ext >&5 |
16791 | ||
16792 | ||
16793 | fi | |
16794 | ||
abf5048b | 16795 | rm -rf conftest.dSYM |
d0fddf4f AJ |
16796 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ |
16797 | conftest$ac_exeext conftest.$ac_ext | |
16798 | LIBS=$ac_check_soname_save_LIBS | |
16799 | fi | |
16800 | if test "x$ac_cv_lib_soname_jpeg" = "x"; then | |
abf5048b AJ |
16801 | { $as_echo "$as_me:$LINENO: result: not found" >&5 |
16802 | $as_echo "not found" >&6; } | |
d0fddf4f AJ |
16803 | |
16804 | else | |
abf5048b AJ |
16805 | { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_soname_jpeg" >&5 |
16806 | $as_echo "$ac_cv_lib_soname_jpeg" >&6; } | |
d0fddf4f AJ |
16807 | |
16808 | cat >>confdefs.h <<_ACEOF | |
16809 | #define SONAME_LIBJPEG "$ac_cv_lib_soname_jpeg" | |
16810 | _ACEOF | |
16811 | ||
16812 | ||
00302152 AJ |
16813 | fi |
16814 | ||
16815 | fi | |
7f674966 | 16816 | if test "x$ac_cv_lib_soname_jpeg" = "x"; then |
a41f0f1b | 16817 | case "x$with_jpeg" in |
93f094c5 | 16818 | x) wine_warnings="$wine_warnings|libjpeg ${notice_platform}development files not found, JPEG won't be supported." ;; |
a41f0f1b | 16819 | xno) ;; |
abf5048b | 16820 | *) { { $as_echo "$as_me:$LINENO: error: libjpeg ${notice_platform}development files not found, JPEG won't be supported. |
a41f0f1b | 16821 | This is an error since --with-jpeg was requested." >&5 |
abf5048b | 16822 | $as_echo "$as_me: error: libjpeg ${notice_platform}development files not found, JPEG won't be supported. |
a41f0f1b AJ |
16823 | This is an error since --with-jpeg was requested." >&2;} |
16824 | { (exit 1); exit 1; }; } ;; | |
16825 | esac | |
7f674966 AJ |
16826 | fi |
16827 | ||
00302152 AJ |
16828 | |
16829 | if test "$ac_cv_header_png_h" = "yes" | |
16830 | then | |
abf5048b AJ |
16831 | { $as_echo "$as_me:$LINENO: checking for -lpng" >&5 |
16832 | $as_echo_n "checking for -lpng... " >&6; } | |
00302152 | 16833 | if test "${ac_cv_lib_soname_png+set}" = set; then |
abf5048b | 16834 | $as_echo_n "(cached) " >&6 |
00302152 AJ |
16835 | else |
16836 | ac_check_soname_save_LIBS=$LIBS | |
082e39f9 | 16837 | LIBS="-lpng -lm $LIBS" |
00302152 AJ |
16838 | cat >conftest.$ac_ext <<_ACEOF |
16839 | /* confdefs.h. */ | |
16840 | _ACEOF | |
16841 | cat confdefs.h >>conftest.$ac_ext | |
16842 | cat >>conftest.$ac_ext <<_ACEOF | |
16843 | /* end confdefs.h. */ | |
16844 | ||
16845 | /* Override any GCC internal prototype to avoid an error. | |
16846 | Use char because int might match the return type of a GCC | |
16847 | builtin and then its argument prototype would still apply. */ | |
16848 | #ifdef __cplusplus | |
16849 | extern "C" | |
16850 | #endif | |
16851 | char png_create_read_struct (); | |
16852 | int | |
16853 | main () | |
16854 | { | |
16855 | return png_create_read_struct (); | |
16856 | ; | |
16857 | return 0; | |
16858 | } | |
16859 | _ACEOF | |
16860 | rm -f conftest.$ac_objext conftest$ac_exeext | |
16861 | if { (ac_try="$ac_link" | |
16862 | case "(($ac_try" in | |
16863 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
16864 | *) ac_try_echo=$ac_try;; | |
16865 | esac | |
abf5048b AJ |
16866 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
16867 | $as_echo "$ac_try_echo") >&5 | |
00302152 AJ |
16868 | (eval "$ac_link") 2>conftest.er1 |
16869 | ac_status=$? | |
16870 | grep -v '^ *+' conftest.er1 >conftest.err | |
16871 | rm -f conftest.er1 | |
16872 | cat conftest.err >&5 | |
abf5048b | 16873 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
00302152 AJ |
16874 | (exit $ac_status); } && { |
16875 | test -z "$ac_c_werror_flag" || | |
16876 | test ! -s conftest.err | |
abf5048b AJ |
16877 | } && test -s conftest$ac_exeext && { |
16878 | test "$cross_compiling" = yes || | |
16879 | $as_test_x conftest$ac_exeext | |
16880 | }; then | |
00302152 AJ |
16881 | case "$LIBEXT" in |
16882 | dll) ;; | |
16883 | dylib) ac_cv_lib_soname_png=`otool -L conftest$ac_exeext | grep "libpng[0-9]*\\.[0-9A-Za-z.]*dylib" | sed -e "s/^.*\/\(libpng[0-9]*\.[0-9A-Za-z.]*dylib\).*$/\1/"';2,$d'` ;; | |
16884 | *) ac_cv_lib_soname_png=`$ac_cv_path_LDD conftest$ac_exeext | grep "libpng[0-9]*\\.$LIBEXT" | sed -e "s/^.*\(libpng[0-9]*\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;; | |
16885 | esac | |
16886 | else | |
abf5048b | 16887 | $as_echo "$as_me: failed program was:" >&5 |
00302152 AJ |
16888 | sed 's/^/| /' conftest.$ac_ext >&5 |
16889 | ||
16890 | ||
16891 | fi | |
16892 | ||
abf5048b | 16893 | rm -rf conftest.dSYM |
00302152 AJ |
16894 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ |
16895 | conftest$ac_exeext conftest.$ac_ext | |
16896 | LIBS=$ac_check_soname_save_LIBS | |
16897 | fi | |
16898 | if test "x$ac_cv_lib_soname_png" = "x"; then | |
abf5048b AJ |
16899 | { $as_echo "$as_me:$LINENO: result: not found" >&5 |
16900 | $as_echo "not found" >&6; } | |
00302152 AJ |
16901 | |
16902 | else | |
abf5048b AJ |
16903 | { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_soname_png" >&5 |
16904 | $as_echo "$ac_cv_lib_soname_png" >&6; } | |
00302152 AJ |
16905 | |
16906 | cat >>confdefs.h <<_ACEOF | |
16907 | #define SONAME_LIBPNG "$ac_cv_lib_soname_png" | |
16908 | _ACEOF | |
16909 | ||
16910 | ||
a3097628 AJ |
16911 | fi |
16912 | ||
16913 | fi | |
7f674966 | 16914 | if test "x$ac_cv_lib_soname_png" = "x"; then |
a41f0f1b | 16915 | case "x$with_png" in |
93f094c5 | 16916 | x) wine_warnings="$wine_warnings|libpng ${notice_platform}development files not found, PNG won't be supported." ;; |
a41f0f1b | 16917 | xno) ;; |
abf5048b | 16918 | *) { { $as_echo "$as_me:$LINENO: error: libpng ${notice_platform}development files not found, PNG won't be supported. |
a41f0f1b | 16919 | This is an error since --with-png was requested." >&5 |
abf5048b | 16920 | $as_echo "$as_me: error: libpng ${notice_platform}development files not found, PNG won't be supported. |
a41f0f1b AJ |
16921 | This is an error since --with-png was requested." >&2;} |
16922 | { (exit 1); exit 1; }; } ;; | |
16923 | esac | |
7f674966 AJ |
16924 | fi |
16925 | ||
a3097628 | 16926 | |
abf5048b AJ |
16927 | { $as_echo "$as_me:$LINENO: checking for -lodbc" >&5 |
16928 | $as_echo_n "checking for -lodbc... " >&6; } | |
84f8ab6b | 16929 | if test "${ac_cv_lib_soname_odbc+set}" = set; then |
abf5048b | 16930 | $as_echo_n "(cached) " >&6 |
84f8ab6b AJ |
16931 | else |
16932 | ac_check_soname_save_LIBS=$LIBS | |
16933 | LIBS="-lodbc $LIBS" | |
16934 | cat >conftest.$ac_ext <<_ACEOF | |
16935 | /* confdefs.h. */ | |
16936 | _ACEOF | |
16937 | cat confdefs.h >>conftest.$ac_ext | |
16938 | cat >>conftest.$ac_ext <<_ACEOF | |
16939 | /* end confdefs.h. */ | |
16940 | ||
16941 | /* Override any GCC internal prototype to avoid an error. | |
16942 | Use char because int might match the return type of a GCC | |
16943 | builtin and then its argument prototype would still apply. */ | |
16944 | #ifdef __cplusplus | |
16945 | extern "C" | |
16946 | #endif | |
16947 | char SQLConnect (); | |
16948 | int | |
16949 | main () | |
16950 | { | |
16951 | return SQLConnect (); | |
16952 | ; | |
16953 | return 0; | |
16954 | } | |
16955 | _ACEOF | |
16956 | rm -f conftest.$ac_objext conftest$ac_exeext | |
16957 | if { (ac_try="$ac_link" | |
16958 | case "(($ac_try" in | |
16959 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
16960 | *) ac_try_echo=$ac_try;; | |
16961 | esac | |
abf5048b AJ |
16962 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
16963 | $as_echo "$ac_try_echo") >&5 | |
84f8ab6b AJ |
16964 | (eval "$ac_link") 2>conftest.er1 |
16965 | ac_status=$? | |
16966 | grep -v '^ *+' conftest.er1 >conftest.err | |
16967 | rm -f conftest.er1 | |
16968 | cat conftest.err >&5 | |
abf5048b | 16969 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
84f8ab6b AJ |
16970 | (exit $ac_status); } && { |
16971 | test -z "$ac_c_werror_flag" || | |
16972 | test ! -s conftest.err | |
abf5048b AJ |
16973 | } && test -s conftest$ac_exeext && { |
16974 | test "$cross_compiling" = yes || | |
16975 | $as_test_x conftest$ac_exeext | |
16976 | }; then | |
84f8ab6b AJ |
16977 | case "$LIBEXT" in |
16978 | dll) ;; | |
16979 | dylib) ac_cv_lib_soname_odbc=`otool -L conftest$ac_exeext | grep "libodbc\\.[0-9A-Za-z.]*dylib" | sed -e "s/^.*\/\(libodbc\.[0-9A-Za-z.]*dylib\).*$/\1/"';2,$d'` ;; | |
16980 | *) ac_cv_lib_soname_odbc=`$ac_cv_path_LDD conftest$ac_exeext | grep "libodbc\\.$LIBEXT" | sed -e "s/^.*\(libodbc\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;; | |
16981 | esac | |
16982 | else | |
abf5048b | 16983 | $as_echo "$as_me: failed program was:" >&5 |
84f8ab6b AJ |
16984 | sed 's/^/| /' conftest.$ac_ext >&5 |
16985 | ||
16986 | ||
16987 | fi | |
16988 | ||
abf5048b | 16989 | rm -rf conftest.dSYM |
84f8ab6b AJ |
16990 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ |
16991 | conftest$ac_exeext conftest.$ac_ext | |
16992 | LIBS=$ac_check_soname_save_LIBS | |
16993 | fi | |
16994 | if test "x$ac_cv_lib_soname_odbc" = "x"; then | |
abf5048b AJ |
16995 | { $as_echo "$as_me:$LINENO: result: not found" >&5 |
16996 | $as_echo "not found" >&6; } | |
84f8ab6b AJ |
16997 | cat >>confdefs.h <<_ACEOF |
16998 | #define SONAME_LIBODBC "libodbc.$LIBEXT" | |
16999 | _ACEOF | |
17000 | ||
17001 | else | |
abf5048b AJ |
17002 | { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_soname_odbc" >&5 |
17003 | $as_echo "$ac_cv_lib_soname_odbc" >&6; } | |
84f8ab6b AJ |
17004 | |
17005 | cat >>confdefs.h <<_ACEOF | |
17006 | #define SONAME_LIBODBC "$ac_cv_lib_soname_odbc" | |
17007 | _ACEOF | |
17008 | ||
17009 | ||
17010 | fi | |
17011 | ||
17012 | ||
3089a9f2 | 17013 | if test "x$ALSALIBS$AUDIOIOLIBS$COREAUDIO$NASLIBS$ESDLIBS$ac_cv_lib_soname_jack" = "x" -a \ |
a41f0f1b AJ |
17014 | "$ac_cv_header_sys_soundcard_h" != "yes" -a \ |
17015 | "$ac_cv_header_machine_soundcard_h" != "yes" -a \ | |
17016 | "$ac_cv_header_soundcard_h" != "yes" -a \ | |
17017 | "x$with_alsa$with_audioio$with_coreaudio$with_nas$with_esd$with_jack$with_oss" != xnonononononono | |
17018 | then | |
17019 | wine_warnings="$wine_warnings|No sound system was found. Windows applications will be silent." | |
f9dec94f AJ |
17020 | fi |
17021 | ||
17022 | ||
a3097628 AJ |
17023 | EXTRACFLAGS="" |
17024 | ||
17025 | if test "x${GCC}" = "xyes" | |
17026 | then | |
17027 | EXTRACFLAGS="-Wall -pipe" | |
17028 | ||
abf5048b AJ |
17029 | { $as_echo "$as_me:$LINENO: checking for gcc strength-reduce bug" >&5 |
17030 | $as_echo_n "checking for gcc strength-reduce bug... " >&6; } | |
a3097628 | 17031 | if test "${ac_cv_c_gcc_strength_bug+set}" = set; then |
abf5048b | 17032 | $as_echo_n "(cached) " >&6 |
0623a6f3 | 17033 | else |
a3097628 AJ |
17034 | if test "$cross_compiling" = yes; then |
17035 | ac_cv_c_gcc_strength_bug="yes" | |
17036 | else | |
17037 | cat >conftest.$ac_ext <<_ACEOF | |
e24bcc77 AJ |
17038 | /* confdefs.h. */ |
17039 | _ACEOF | |
17040 | cat confdefs.h >>conftest.$ac_ext | |
17041 | cat >>conftest.$ac_ext <<_ACEOF | |
17042 | /* end confdefs.h. */ | |
a3097628 | 17043 | int L[4] = {0,1,2,3}; |
f5818d2f AJ |
17044 | int |
17045 | main () | |
17046 | { | |
a3097628 AJ |
17047 | static int Array[3]; |
17048 | unsigned int B = 3; | |
17049 | int i; | |
17050 | for(i=0; i<B; i++) Array[i] = i - 3; | |
17051 | for(i=0; i<4 - 1; i++) L[i] = L[i + 1]; | |
17052 | L[i] = 4; | |
17053 | exit( Array[1] != -2 || L[2] != 3) | |
f5818d2f AJ |
17054 | ; |
17055 | return 0; | |
17056 | } | |
17057 | _ACEOF | |
a3097628 | 17058 | rm -f conftest$ac_exeext |
0ebeb530 JW |
17059 | if { (ac_try="$ac_link" |
17060 | case "(($ac_try" in | |
17061 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
17062 | *) ac_try_echo=$ac_try;; | |
17063 | esac | |
abf5048b AJ |
17064 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
17065 | $as_echo "$ac_try_echo") >&5 | |
a3097628 | 17066 | (eval "$ac_link") 2>&5 |
f5818d2f | 17067 | ac_status=$? |
abf5048b | 17068 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
a3097628 AJ |
17069 | (exit $ac_status); } && { ac_try='./conftest$ac_exeext' |
17070 | { (case "(($ac_try" in | |
17071 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
17072 | *) ac_try_echo=$ac_try;; | |
17073 | esac | |
abf5048b AJ |
17074 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
17075 | $as_echo "$ac_try_echo") >&5 | |
a3097628 AJ |
17076 | (eval "$ac_try") 2>&5 |
17077 | ac_status=$? | |
abf5048b | 17078 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
a3097628 AJ |
17079 | (exit $ac_status); }; }; then |
17080 | ac_cv_c_gcc_strength_bug="no" | |
0623a6f3 | 17081 | else |
abf5048b AJ |
17082 | $as_echo "$as_me: program exited with status $ac_status" >&5 |
17083 | $as_echo "$as_me: failed program was:" >&5 | |
e24bcc77 AJ |
17084 | sed 's/^/| /' conftest.$ac_ext >&5 |
17085 | ||
a3097628 AJ |
17086 | ( exit $ac_status ) |
17087 | ac_cv_c_gcc_strength_bug="yes" | |
fa3a5360 | 17088 | fi |
abf5048b | 17089 | rm -rf conftest.dSYM |
a3097628 | 17090 | rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext |
182d150a AJ |
17091 | fi |
17092 | ||
a3097628 | 17093 | |
182d150a | 17094 | fi |
abf5048b AJ |
17095 | { $as_echo "$as_me:$LINENO: result: $ac_cv_c_gcc_strength_bug" >&5 |
17096 | $as_echo "$ac_cv_c_gcc_strength_bug" >&6; } | |
a3097628 AJ |
17097 | if test "$ac_cv_c_gcc_strength_bug" = "yes" |
17098 | then | |
17099 | EXTRACFLAGS="$EXTRACFLAGS -fno-strength-reduce" | |
17100 | fi | |
182d150a | 17101 | |
266c609d | 17102 | |
abf5048b AJ |
17103 | { $as_echo "$as_me:$LINENO: checking whether the compiler supports -fshort-wchar" >&5 |
17104 | $as_echo_n "checking whether the compiler supports -fshort-wchar... " >&6; } | |
a3097628 | 17105 | if test "${ac_cv_cflags__fshort_wchar+set}" = set; then |
abf5048b | 17106 | $as_echo_n "(cached) " >&6 |
266c609d | 17107 | else |
e533e972 | 17108 | ac_wine_try_cflags_saved=$CFLAGS |
a3097628 | 17109 | CFLAGS="$CFLAGS -fshort-wchar" |
e533e972 | 17110 | cat >conftest.$ac_ext <<_ACEOF |
266c609d AJ |
17111 | /* confdefs.h. */ |
17112 | _ACEOF | |
17113 | cat confdefs.h >>conftest.$ac_ext | |
17114 | cat >>conftest.$ac_ext <<_ACEOF | |
17115 | /* end confdefs.h. */ | |
266c609d AJ |
17116 | |
17117 | int | |
17118 | main () | |
17119 | { | |
e533e972 | 17120 | |
266c609d AJ |
17121 | ; |
17122 | return 0; | |
17123 | } | |
17124 | _ACEOF | |
17125 | rm -f conftest.$ac_objext conftest$ac_exeext | |
0ebeb530 JW |
17126 | if { (ac_try="$ac_link" |
17127 | case "(($ac_try" in | |
17128 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
17129 | *) ac_try_echo=$ac_try;; | |
17130 | esac | |
abf5048b AJ |
17131 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
17132 | $as_echo "$ac_try_echo") >&5 | |
0ebeb530 | 17133 | (eval "$ac_link") 2>conftest.er1 |
266c609d AJ |
17134 | ac_status=$? |
17135 | grep -v '^ *+' conftest.er1 >conftest.err | |
17136 | rm -f conftest.er1 | |
17137 | cat conftest.err >&5 | |
abf5048b | 17138 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
dc9f3843 AJ |
17139 | (exit $ac_status); } && { |
17140 | test -z "$ac_c_werror_flag" || | |
17141 | test ! -s conftest.err | |
abf5048b AJ |
17142 | } && test -s conftest$ac_exeext && { |
17143 | test "$cross_compiling" = yes || | |
17144 | $as_test_x conftest$ac_exeext | |
17145 | }; then | |
a3097628 | 17146 | ac_cv_cflags__fshort_wchar=yes |
266c609d | 17147 | else |
abf5048b | 17148 | $as_echo "$as_me: failed program was:" >&5 |
266c609d AJ |
17149 | sed 's/^/| /' conftest.$ac_ext >&5 |
17150 | ||
a3097628 | 17151 | ac_cv_cflags__fshort_wchar=no |
266c609d | 17152 | fi |
fc6ffb29 | 17153 | |
abf5048b | 17154 | rm -rf conftest.dSYM |
f0ca586f | 17155 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ |
266c609d | 17156 | conftest$ac_exeext conftest.$ac_ext |
e533e972 | 17157 | CFLAGS=$ac_wine_try_cflags_saved |
266c609d | 17158 | fi |
abf5048b AJ |
17159 | { $as_echo "$as_me:$LINENO: result: $ac_cv_cflags__fshort_wchar" >&5 |
17160 | $as_echo "$ac_cv_cflags__fshort_wchar" >&6; } | |
a3097628 | 17161 | if test $ac_cv_cflags__fshort_wchar = yes; then |
fa3a5360 | 17162 | |
a3097628 AJ |
17163 | cat >>confdefs.h <<\_ACEOF |
17164 | #define CC_FLAG_SHORT_WCHAR "-fshort-wchar" | |
17165 | _ACEOF | |
182d150a | 17166 | |
6538cb44 AJ |
17167 | fi |
17168 | ||
abf5048b AJ |
17169 | { $as_echo "$as_me:$LINENO: checking whether the compiler supports -fno-builtin" >&5 |
17170 | $as_echo_n "checking whether the compiler supports -fno-builtin... " >&6; } | |
6538cb44 | 17171 | if test "${ac_cv_cflags__fno_builtin+set}" = set; then |
abf5048b | 17172 | $as_echo_n "(cached) " >&6 |
6538cb44 AJ |
17173 | else |
17174 | ac_wine_try_cflags_saved=$CFLAGS | |
17175 | CFLAGS="$CFLAGS -fno-builtin" | |
17176 | cat >conftest.$ac_ext <<_ACEOF | |
17177 | /* confdefs.h. */ | |
17178 | _ACEOF | |
17179 | cat confdefs.h >>conftest.$ac_ext | |
17180 | cat >>conftest.$ac_ext <<_ACEOF | |
17181 | /* end confdefs.h. */ | |
17182 | ||
17183 | int | |
17184 | main () | |
17185 | { | |
17186 | ||
17187 | ; | |
17188 | return 0; | |
17189 | } | |
17190 | _ACEOF | |
17191 | rm -f conftest.$ac_objext conftest$ac_exeext | |
17192 | if { (ac_try="$ac_link" | |
17193 | case "(($ac_try" in | |
17194 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
17195 | *) ac_try_echo=$ac_try;; | |
17196 | esac | |
abf5048b AJ |
17197 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
17198 | $as_echo "$ac_try_echo") >&5 | |
6538cb44 AJ |
17199 | (eval "$ac_link") 2>conftest.er1 |
17200 | ac_status=$? | |
17201 | grep -v '^ *+' conftest.er1 >conftest.err | |
17202 | rm -f conftest.er1 | |
17203 | cat conftest.err >&5 | |
abf5048b | 17204 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
6538cb44 AJ |
17205 | (exit $ac_status); } && { |
17206 | test -z "$ac_c_werror_flag" || | |
17207 | test ! -s conftest.err | |
abf5048b AJ |
17208 | } && test -s conftest$ac_exeext && { |
17209 | test "$cross_compiling" = yes || | |
17210 | $as_test_x conftest$ac_exeext | |
17211 | }; then | |
6538cb44 AJ |
17212 | ac_cv_cflags__fno_builtin=yes |
17213 | else | |
abf5048b | 17214 | $as_echo "$as_me: failed program was:" >&5 |
6538cb44 AJ |
17215 | sed 's/^/| /' conftest.$ac_ext >&5 |
17216 | ||
17217 | ac_cv_cflags__fno_builtin=no | |
17218 | fi | |
17219 | ||
abf5048b | 17220 | rm -rf conftest.dSYM |
6538cb44 AJ |
17221 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ |
17222 | conftest$ac_exeext conftest.$ac_ext | |
17223 | CFLAGS=$ac_wine_try_cflags_saved | |
17224 | fi | |
abf5048b AJ |
17225 | { $as_echo "$as_me:$LINENO: result: $ac_cv_cflags__fno_builtin" >&5 |
17226 | $as_echo "$ac_cv_cflags__fno_builtin" >&6; } | |
6538cb44 AJ |
17227 | if test $ac_cv_cflags__fno_builtin = yes; then |
17228 | BUILTINFLAG="-fno-builtin" | |
17229 | ||
a3097628 AJ |
17230 | fi |
17231 | ||
abf5048b AJ |
17232 | { $as_echo "$as_me:$LINENO: checking whether the compiler supports -fno-strict-aliasing" >&5 |
17233 | $as_echo_n "checking whether the compiler supports -fno-strict-aliasing... " >&6; } | |
a3097628 | 17234 | if test "${ac_cv_cflags__fno_strict_aliasing+set}" = set; then |
abf5048b | 17235 | $as_echo_n "(cached) " >&6 |
7e6ae4ba | 17236 | else |
67e8dc68 | 17237 | ac_wine_try_cflags_saved=$CFLAGS |
a3097628 | 17238 | CFLAGS="$CFLAGS -fno-strict-aliasing" |
67e8dc68 | 17239 | cat >conftest.$ac_ext <<_ACEOF |
e533e972 AJ |
17240 | /* confdefs.h. */ |
17241 | _ACEOF | |
17242 | cat confdefs.h >>conftest.$ac_ext | |
17243 | cat >>conftest.$ac_ext <<_ACEOF | |
17244 | /* end confdefs.h. */ | |
17245 | ||
17246 | int | |
17247 | main () | |
17248 | { | |
17249 | ||
17250 | ; | |
17251 | return 0; | |
17252 | } | |
f5818d2f AJ |
17253 | _ACEOF |
17254 | rm -f conftest.$ac_objext conftest$ac_exeext | |
0ebeb530 JW |
17255 | if { (ac_try="$ac_link" |
17256 | case "(($ac_try" in | |
17257 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
17258 | *) ac_try_echo=$ac_try;; | |
17259 | esac | |
abf5048b AJ |
17260 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
17261 | $as_echo "$ac_try_echo") >&5 | |
0ebeb530 | 17262 | (eval "$ac_link") 2>conftest.er1 |
f5818d2f | 17263 | ac_status=$? |
875927f6 AJ |
17264 | grep -v '^ *+' conftest.er1 >conftest.err |
17265 | rm -f conftest.er1 | |
17266 | cat conftest.err >&5 | |
abf5048b | 17267 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
dc9f3843 AJ |
17268 | (exit $ac_status); } && { |
17269 | test -z "$ac_c_werror_flag" || | |
17270 | test ! -s conftest.err | |
abf5048b AJ |
17271 | } && test -s conftest$ac_exeext && { |
17272 | test "$cross_compiling" = yes || | |
17273 | $as_test_x conftest$ac_exeext | |
17274 | }; then | |
a3097628 | 17275 | ac_cv_cflags__fno_strict_aliasing=yes |
7e6ae4ba | 17276 | else |
abf5048b | 17277 | $as_echo "$as_me: failed program was:" >&5 |
e24bcc77 AJ |
17278 | sed 's/^/| /' conftest.$ac_ext >&5 |
17279 | ||
a3097628 | 17280 | ac_cv_cflags__fno_strict_aliasing=no |
7e6ae4ba | 17281 | fi |
fc6ffb29 | 17282 | |
abf5048b | 17283 | rm -rf conftest.dSYM |
f0ca586f | 17284 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ |
875927f6 | 17285 | conftest$ac_exeext conftest.$ac_ext |
67e8dc68 | 17286 | CFLAGS=$ac_wine_try_cflags_saved |
f5818d2f | 17287 | fi |
abf5048b AJ |
17288 | { $as_echo "$as_me:$LINENO: result: $ac_cv_cflags__fno_strict_aliasing" >&5 |
17289 | $as_echo "$ac_cv_cflags__fno_strict_aliasing" >&6; } | |
a3097628 AJ |
17290 | if test $ac_cv_cflags__fno_strict_aliasing = yes; then |
17291 | EXTRACFLAGS="$EXTRACFLAGS -fno-strict-aliasing" | |
182d150a AJ |
17292 | fi |
17293 | ||
abf5048b AJ |
17294 | { $as_echo "$as_me:$LINENO: checking whether the compiler supports -Wdeclaration-after-statement" >&5 |
17295 | $as_echo_n "checking whether the compiler supports -Wdeclaration-after-statement... " >&6; } | |
a3097628 | 17296 | if test "${ac_cv_cflags__Wdeclaration_after_statement+set}" = set; then |
abf5048b | 17297 | $as_echo_n "(cached) " >&6 |
0ebeb530 | 17298 | else |
182d150a | 17299 | ac_wine_try_cflags_saved=$CFLAGS |
a3097628 | 17300 | CFLAGS="$CFLAGS -Wdeclaration-after-statement" |
0ebeb530 JW |
17301 | cat >conftest.$ac_ext <<_ACEOF |
17302 | /* confdefs.h. */ | |
17303 | _ACEOF | |
17304 | cat confdefs.h >>conftest.$ac_ext | |
17305 | cat >>conftest.$ac_ext <<_ACEOF | |
17306 | /* end confdefs.h. */ | |
17307 | ||
17308 | int | |
17309 | main () | |
17310 | { | |
17311 | ||
17312 | ; | |
17313 | return 0; | |
17314 | } | |
17315 | _ACEOF | |
17316 | rm -f conftest.$ac_objext conftest$ac_exeext | |
17317 | if { (ac_try="$ac_link" | |
17318 | case "(($ac_try" in | |
17319 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
17320 | *) ac_try_echo=$ac_try;; | |
17321 | esac | |
abf5048b AJ |
17322 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
17323 | $as_echo "$ac_try_echo") >&5 | |
0ebeb530 JW |
17324 | (eval "$ac_link") 2>conftest.er1 |
17325 | ac_status=$? | |
17326 | grep -v '^ *+' conftest.er1 >conftest.err | |
17327 | rm -f conftest.er1 | |
17328 | cat conftest.err >&5 | |
abf5048b | 17329 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
dc9f3843 AJ |
17330 | (exit $ac_status); } && { |
17331 | test -z "$ac_c_werror_flag" || | |
17332 | test ! -s conftest.err | |
abf5048b AJ |
17333 | } && test -s conftest$ac_exeext && { |
17334 | test "$cross_compiling" = yes || | |
17335 | $as_test_x conftest$ac_exeext | |
17336 | }; then | |
a3097628 | 17337 | ac_cv_cflags__Wdeclaration_after_statement=yes |
0ebeb530 | 17338 | else |
abf5048b | 17339 | $as_echo "$as_me: failed program was:" >&5 |
0ebeb530 JW |
17340 | sed 's/^/| /' conftest.$ac_ext >&5 |
17341 | ||
a3097628 | 17342 | ac_cv_cflags__Wdeclaration_after_statement=no |
0ebeb530 JW |
17343 | fi |
17344 | ||
abf5048b | 17345 | rm -rf conftest.dSYM |
f0ca586f | 17346 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ |
0ebeb530 JW |
17347 | conftest$ac_exeext conftest.$ac_ext |
17348 | CFLAGS=$ac_wine_try_cflags_saved | |
17349 | fi | |
abf5048b AJ |
17350 | { $as_echo "$as_me:$LINENO: result: $ac_cv_cflags__Wdeclaration_after_statement" >&5 |
17351 | $as_echo "$ac_cv_cflags__Wdeclaration_after_statement" >&6; } | |
a3097628 AJ |
17352 | if test $ac_cv_cflags__Wdeclaration_after_statement = yes; then |
17353 | EXTRACFLAGS="$EXTRACFLAGS -Wdeclaration-after-statement" | |
182d150a AJ |
17354 | fi |
17355 | ||
abf5048b AJ |
17356 | { $as_echo "$as_me:$LINENO: checking whether the compiler supports -Wwrite-strings" >&5 |
17357 | $as_echo_n "checking whether the compiler supports -Wwrite-strings... " >&6; } | |
a3097628 | 17358 | if test "${ac_cv_cflags__Wwrite_strings+set}" = set; then |
abf5048b | 17359 | $as_echo_n "(cached) " >&6 |
0ebeb530 JW |
17360 | else |
17361 | ac_wine_try_cflags_saved=$CFLAGS | |
a3097628 | 17362 | CFLAGS="$CFLAGS -Wwrite-strings" |
0ebeb530 JW |
17363 | cat >conftest.$ac_ext <<_ACEOF |
17364 | /* confdefs.h. */ | |
17365 | _ACEOF | |
17366 | cat confdefs.h >>conftest.$ac_ext | |
17367 | cat >>conftest.$ac_ext <<_ACEOF | |
17368 | /* end confdefs.h. */ | |
17369 | ||
17370 | int | |
17371 | main () | |
17372 | { | |
17373 | ||
17374 | ; | |
17375 | return 0; | |
17376 | } | |
17377 | _ACEOF | |
17378 | rm -f conftest.$ac_objext conftest$ac_exeext | |
17379 | if { (ac_try="$ac_link" | |
17380 | case "(($ac_try" in | |
17381 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
17382 | *) ac_try_echo=$ac_try;; | |
17383 | esac | |
abf5048b AJ |
17384 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
17385 | $as_echo "$ac_try_echo") >&5 | |
0ebeb530 JW |
17386 | (eval "$ac_link") 2>conftest.er1 |
17387 | ac_status=$? | |
17388 | grep -v '^ *+' conftest.er1 >conftest.err | |
17389 | rm -f conftest.er1 | |
17390 | cat conftest.err >&5 | |
abf5048b | 17391 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
dc9f3843 AJ |
17392 | (exit $ac_status); } && { |
17393 | test -z "$ac_c_werror_flag" || | |
17394 | test ! -s conftest.err | |
abf5048b AJ |
17395 | } && test -s conftest$ac_exeext && { |
17396 | test "$cross_compiling" = yes || | |
17397 | $as_test_x conftest$ac_exeext | |
17398 | }; then | |
a3097628 | 17399 | ac_cv_cflags__Wwrite_strings=yes |
0ebeb530 | 17400 | else |
abf5048b | 17401 | $as_echo "$as_me: failed program was:" >&5 |
0ebeb530 JW |
17402 | sed 's/^/| /' conftest.$ac_ext >&5 |
17403 | ||
a3097628 | 17404 | ac_cv_cflags__Wwrite_strings=no |
0ebeb530 JW |
17405 | fi |
17406 | ||
abf5048b | 17407 | rm -rf conftest.dSYM |
f0ca586f | 17408 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ |
0ebeb530 JW |
17409 | conftest$ac_exeext conftest.$ac_ext |
17410 | CFLAGS=$ac_wine_try_cflags_saved | |
17411 | fi | |
abf5048b AJ |
17412 | { $as_echo "$as_me:$LINENO: result: $ac_cv_cflags__Wwrite_strings" >&5 |
17413 | $as_echo "$ac_cv_cflags__Wwrite_strings" >&6; } | |
a3097628 AJ |
17414 | if test $ac_cv_cflags__Wwrite_strings = yes; then |
17415 | EXTRACFLAGS="$EXTRACFLAGS -Wwrite-strings" | |
182d150a | 17416 | fi |
e533e972 | 17417 | |
abf5048b AJ |
17418 | { $as_echo "$as_me:$LINENO: checking whether the compiler supports -Wtype-limits" >&5 |
17419 | $as_echo_n "checking whether the compiler supports -Wtype-limits... " >&6; } | |
701ef1d8 | 17420 | if test "${ac_cv_cflags__Wtype_limits+set}" = set; then |
abf5048b | 17421 | $as_echo_n "(cached) " >&6 |
701ef1d8 GP |
17422 | else |
17423 | ac_wine_try_cflags_saved=$CFLAGS | |
17424 | CFLAGS="$CFLAGS -Wtype-limits" | |
17425 | cat >conftest.$ac_ext <<_ACEOF | |
17426 | /* confdefs.h. */ | |
17427 | _ACEOF | |
17428 | cat confdefs.h >>conftest.$ac_ext | |
17429 | cat >>conftest.$ac_ext <<_ACEOF | |
17430 | /* end confdefs.h. */ | |
17431 | ||
17432 | int | |
17433 | main () | |
17434 | { | |
17435 | ||
17436 | ; | |
17437 | return 0; | |
17438 | } | |
17439 | _ACEOF | |
17440 | rm -f conftest.$ac_objext conftest$ac_exeext | |
17441 | if { (ac_try="$ac_link" | |
17442 | case "(($ac_try" in | |
17443 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
17444 | *) ac_try_echo=$ac_try;; | |
17445 | esac | |
abf5048b AJ |
17446 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
17447 | $as_echo "$ac_try_echo") >&5 | |
701ef1d8 GP |
17448 | (eval "$ac_link") 2>conftest.er1 |
17449 | ac_status=$? | |
17450 | grep -v '^ *+' conftest.er1 >conftest.err | |
17451 | rm -f conftest.er1 | |
17452 | cat conftest.err >&5 | |
abf5048b | 17453 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
701ef1d8 GP |
17454 | (exit $ac_status); } && { |
17455 | test -z "$ac_c_werror_flag" || | |
17456 | test ! -s conftest.err | |
abf5048b AJ |
17457 | } && test -s conftest$ac_exeext && { |
17458 | test "$cross_compiling" = yes || | |
17459 | $as_test_x conftest$ac_exeext | |
17460 | }; then | |
701ef1d8 GP |
17461 | ac_cv_cflags__Wtype_limits=yes |
17462 | else | |
abf5048b | 17463 | $as_echo "$as_me: failed program was:" >&5 |
701ef1d8 GP |
17464 | sed 's/^/| /' conftest.$ac_ext >&5 |
17465 | ||
17466 | ac_cv_cflags__Wtype_limits=no | |
17467 | fi | |
17468 | ||
abf5048b | 17469 | rm -rf conftest.dSYM |
701ef1d8 GP |
17470 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ |
17471 | conftest$ac_exeext conftest.$ac_ext | |
17472 | CFLAGS=$ac_wine_try_cflags_saved | |
17473 | fi | |
abf5048b AJ |
17474 | { $as_echo "$as_me:$LINENO: result: $ac_cv_cflags__Wtype_limits" >&5 |
17475 | $as_echo "$ac_cv_cflags__Wtype_limits" >&6; } | |
701ef1d8 GP |
17476 | if test $ac_cv_cflags__Wtype_limits = yes; then |
17477 | EXTRACFLAGS="$EXTRACFLAGS -Wtype-limits" | |
17478 | fi | |
17479 | ||
0ebeb530 | 17480 | |
a3097628 AJ |
17481 | saved_CFLAGS="$CFLAGS" |
17482 | CFLAGS="$CFLAGS -Wpointer-arith -Werror" | |
abf5048b AJ |
17483 | { $as_echo "$as_me:$LINENO: checking for broken string.h that generates warnings" >&5 |
17484 | $as_echo_n "checking for broken string.h that generates warnings... " >&6; } | |
a3097628 | 17485 | if test "${ac_cv_c_string_h_warnings+set}" = set; then |
abf5048b | 17486 | $as_echo_n "(cached) " >&6 |
f2abe47d | 17487 | else |
a3097628 | 17488 | cat >conftest.$ac_ext <<_ACEOF |
e24bcc77 AJ |
17489 | /* confdefs.h. */ |
17490 | _ACEOF | |
17491 | cat confdefs.h >>conftest.$ac_ext | |
17492 | cat >>conftest.$ac_ext <<_ACEOF | |
17493 | /* end confdefs.h. */ | |
a3097628 | 17494 | #include <string.h> |
f2abe47d AJ |
17495 | int |
17496 | main () | |
17497 | { | |
17498 | ||
17499 | ; | |
17500 | return 0; | |
17501 | } | |
17502 | _ACEOF | |
a3097628 AJ |
17503 | rm -f conftest.$ac_objext |
17504 | if { (ac_try="$ac_compile" | |
0ebeb530 JW |
17505 | case "(($ac_try" in |
17506 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
17507 | *) ac_try_echo=$ac_try;; | |
17508 | esac | |
abf5048b AJ |
17509 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
17510 | $as_echo "$ac_try_echo") >&5 | |
a3097628 | 17511 | (eval "$ac_compile") 2>conftest.er1 |
f2abe47d | 17512 | ac_status=$? |
875927f6 AJ |
17513 | grep -v '^ *+' conftest.er1 >conftest.err |
17514 | rm -f conftest.er1 | |
17515 | cat conftest.err >&5 | |
abf5048b | 17516 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
dc9f3843 AJ |
17517 | (exit $ac_status); } && { |
17518 | test -z "$ac_c_werror_flag" || | |
17519 | test ! -s conftest.err | |
a3097628 AJ |
17520 | } && test -s conftest.$ac_objext; then |
17521 | ac_cv_c_string_h_warnings=no | |
f2abe47d | 17522 | else |
abf5048b | 17523 | $as_echo "$as_me: failed program was:" >&5 |
e24bcc77 AJ |
17524 | sed 's/^/| /' conftest.$ac_ext >&5 |
17525 | ||
a3097628 | 17526 | ac_cv_c_string_h_warnings=yes |
f2abe47d | 17527 | fi |
fc6ffb29 | 17528 | |
a3097628 | 17529 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
f2abe47d | 17530 | fi |
abf5048b AJ |
17531 | { $as_echo "$as_me:$LINENO: result: $ac_cv_c_string_h_warnings" >&5 |
17532 | $as_echo "$ac_cv_c_string_h_warnings" >&6; } | |
a3097628 AJ |
17533 | CFLAGS="$saved_CFLAGS" |
17534 | if test "$ac_cv_c_string_h_warnings" = "no" | |
17535 | then | |
17536 | EXTRACFLAGS="$EXTRACFLAGS -Wpointer-arith" | |
17537 | fi | |
182d150a | 17538 | fi |
e533e972 | 17539 | |
4d52d379 | 17540 | |
abf5048b AJ |
17541 | { $as_echo "$as_me:$LINENO: checking how to define a function in assembly code" >&5 |
17542 | $as_echo_n "checking how to define a function in assembly code... " >&6; } | |
a3097628 | 17543 | if test "${ac_cv_asm_func_def+set}" = set; then |
abf5048b | 17544 | $as_echo_n "(cached) " >&6 |
36048242 | 17545 | else |
a3097628 | 17546 | cat >conftest.$ac_ext <<_ACEOF |
36048242 AJ |
17547 | /* confdefs.h. */ |
17548 | _ACEOF | |
17549 | cat confdefs.h >>conftest.$ac_ext | |
17550 | cat >>conftest.$ac_ext <<_ACEOF | |
17551 | /* end confdefs.h. */ | |
17552 | ||
17553 | int | |
17554 | main () | |
17555 | { | |
a3097628 | 17556 | asm("\t.globl _ac_test\n\t.def _ac_test; .scl 2; .type 32; .endef\n_ac_test:\t.long 0"); |
36048242 AJ |
17557 | ; |
17558 | return 0; | |
17559 | } | |
17560 | _ACEOF | |
17561 | rm -f conftest.$ac_objext conftest$ac_exeext | |
0ebeb530 JW |
17562 | if { (ac_try="$ac_link" |
17563 | case "(($ac_try" in | |
17564 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
17565 | *) ac_try_echo=$ac_try;; | |
17566 | esac | |
abf5048b AJ |
17567 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
17568 | $as_echo "$ac_try_echo") >&5 | |
0ebeb530 | 17569 | (eval "$ac_link") 2>conftest.er1 |
36048242 AJ |
17570 | ac_status=$? |
17571 | grep -v '^ *+' conftest.er1 >conftest.err | |
17572 | rm -f conftest.er1 | |
17573 | cat conftest.err >&5 | |
abf5048b | 17574 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
dc9f3843 AJ |
17575 | (exit $ac_status); } && { |
17576 | test -z "$ac_c_werror_flag" || | |
17577 | test ! -s conftest.err | |
abf5048b AJ |
17578 | } && test -s conftest$ac_exeext && { |
17579 | test "$cross_compiling" = yes || | |
17580 | $as_test_x conftest$ac_exeext | |
17581 | }; then | |
a3097628 | 17582 | ac_cv_asm_func_def=".def" |
36048242 | 17583 | else |
abf5048b | 17584 | $as_echo "$as_me: failed program was:" >&5 |
36048242 AJ |
17585 | sed 's/^/| /' conftest.$ac_ext >&5 |
17586 | ||
a3097628 AJ |
17587 | cat >conftest.$ac_ext <<_ACEOF |
17588 | /* confdefs.h. */ | |
17589 | _ACEOF | |
17590 | cat confdefs.h >>conftest.$ac_ext | |
17591 | cat >>conftest.$ac_ext <<_ACEOF | |
17592 | /* end confdefs.h. */ | |
36048242 | 17593 | |
a3097628 AJ |
17594 | int |
17595 | main () | |
17596 | { | |
17597 | asm("\t.globl _ac_test\n\t.type _ac_test,@function\n_ac_test:\t.long 0"); | |
17598 | ; | |
17599 | return 0; | |
17600 | } | |
440ff6db AJ |
17601 | _ACEOF |
17602 | rm -f conftest.$ac_objext conftest$ac_exeext | |
0ebeb530 JW |
17603 | if { (ac_try="$ac_link" |
17604 | case "(($ac_try" in | |
17605 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
17606 | *) ac_try_echo=$ac_try;; | |
17607 | esac | |
abf5048b AJ |
17608 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
17609 | $as_echo "$ac_try_echo") >&5 | |
0ebeb530 | 17610 | (eval "$ac_link") 2>conftest.er1 |
440ff6db AJ |
17611 | ac_status=$? |
17612 | grep -v '^ *+' conftest.er1 >conftest.err | |
17613 | rm -f conftest.er1 | |
17614 | cat conftest.err >&5 | |
abf5048b | 17615 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
dc9f3843 AJ |
17616 | (exit $ac_status); } && { |
17617 | test -z "$ac_c_werror_flag" || | |
17618 | test ! -s conftest.err | |
abf5048b AJ |
17619 | } && test -s conftest$ac_exeext && { |
17620 | test "$cross_compiling" = yes || | |
17621 | $as_test_x conftest$ac_exeext | |
17622 | }; then | |
a3097628 | 17623 | ac_cv_asm_func_def=".type @function" |
440ff6db | 17624 | else |
abf5048b | 17625 | $as_echo "$as_me: failed program was:" >&5 |
440ff6db AJ |
17626 | sed 's/^/| /' conftest.$ac_ext >&5 |
17627 | ||
a3097628 AJ |
17628 | cat >conftest.$ac_ext <<_ACEOF |
17629 | /* confdefs.h. */ | |
17630 | _ACEOF | |
17631 | cat confdefs.h >>conftest.$ac_ext | |
17632 | cat >>conftest.$ac_ext <<_ACEOF | |
17633 | /* end confdefs.h. */ | |
e533e972 | 17634 | |
a3097628 AJ |
17635 | int |
17636 | main () | |
17637 | { | |
17638 | asm("\t.globl _ac_test\n\t.type _ac_test,2\n_ac_test:\t.long 0"); | |
17639 | ; | |
17640 | return 0; | |
17641 | } | |
ef2d04d4 AJ |
17642 | _ACEOF |
17643 | rm -f conftest.$ac_objext conftest$ac_exeext | |
0ebeb530 JW |
17644 | if { (ac_try="$ac_link" |
17645 | case "(($ac_try" in | |
17646 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
17647 | *) ac_try_echo=$ac_try;; | |
17648 | esac | |
abf5048b AJ |
17649 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
17650 | $as_echo "$ac_try_echo") >&5 | |
0ebeb530 | 17651 | (eval "$ac_link") 2>conftest.er1 |
ef2d04d4 | 17652 | ac_status=$? |
875927f6 AJ |
17653 | grep -v '^ *+' conftest.er1 >conftest.err |
17654 | rm -f conftest.er1 | |
17655 | cat conftest.err >&5 | |
abf5048b | 17656 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
dc9f3843 AJ |
17657 | (exit $ac_status); } && { |
17658 | test -z "$ac_c_werror_flag" || | |
17659 | test ! -s conftest.err | |
abf5048b AJ |
17660 | } && test -s conftest$ac_exeext && { |
17661 | test "$cross_compiling" = yes || | |
17662 | $as_test_x conftest$ac_exeext | |
17663 | }; then | |
a3097628 | 17664 | ac_cv_asm_func_def=".type 2" |
e533e972 | 17665 | else |
abf5048b | 17666 | $as_echo "$as_me: failed program was:" >&5 |
a3097628 | 17667 | sed 's/^/| /' conftest.$ac_ext >&5 |
e533e972 | 17668 | |
a3097628 | 17669 | ac_cv_asm_func_def="unknown" |
e533e972 | 17670 | fi |
a3097628 | 17671 | |
abf5048b | 17672 | rm -rf conftest.dSYM |
a3097628 AJ |
17673 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ |
17674 | conftest$ac_exeext conftest.$ac_ext | |
e533e972 | 17675 | fi |
a3097628 | 17676 | |
abf5048b | 17677 | rm -rf conftest.dSYM |
a3097628 AJ |
17678 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ |
17679 | conftest$ac_exeext conftest.$ac_ext | |
e533e972 AJ |
17680 | fi |
17681 | ||
abf5048b | 17682 | rm -rf conftest.dSYM |
a3097628 AJ |
17683 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ |
17684 | conftest$ac_exeext conftest.$ac_ext | |
17685 | fi | |
abf5048b AJ |
17686 | { $as_echo "$as_me:$LINENO: result: $ac_cv_asm_func_def" >&5 |
17687 | $as_echo "$ac_cv_asm_func_def" >&6; } | |
e533e972 | 17688 | |
e533e972 | 17689 | |
a3097628 AJ |
17690 | |
17691 | case "$ac_cv_asm_func_def" in | |
17692 | ".def") | |
17693 | cat >>confdefs.h <<\_ACEOF | |
17694 | #define __ASM_FUNC(name) ".def " __ASM_NAME(name) "; .scl 2; .type 32; .endef" | |
17695 | _ACEOF | |
17696 | ;; | |
17697 | ".type @function") | |
17698 | cat >>confdefs.h <<\_ACEOF | |
17699 | #define __ASM_FUNC(name) ".type " __ASM_NAME(name) ",@function" | |
17700 | _ACEOF | |
17701 | ;; | |
17702 | ".type 2") | |
17703 | cat >>confdefs.h <<\_ACEOF | |
17704 | #define __ASM_FUNC(name) ".type " __ASM_NAME(name) ",2" | |
17705 | _ACEOF | |
17706 | ;; | |
17707 | *) | |
17708 | cat >>confdefs.h <<\_ACEOF | |
17709 | #define __ASM_FUNC(name) "" | |
17710 | _ACEOF | |
17711 | ;; | |
17712 | esac | |
17713 | ||
17714 | ||
abf5048b AJ |
17715 | { $as_echo "$as_me:$LINENO: checking whether external symbols need an underscore prefix" >&5 |
17716 | $as_echo_n "checking whether external symbols need an underscore prefix... " >&6; } | |
a3097628 | 17717 | if test "${ac_cv_c_extern_prefix+set}" = set; then |
abf5048b | 17718 | $as_echo_n "(cached) " >&6 |
2ffc7e2c | 17719 | else |
a3097628 AJ |
17720 | cat >conftest.$ac_ext <<_ACEOF |
17721 | /* confdefs.h. */ | |
17722 | _ACEOF | |
17723 | cat confdefs.h >>conftest.$ac_ext | |
17724 | cat >>conftest.$ac_ext <<_ACEOF | |
17725 | /* end confdefs.h. */ | |
17726 | extern int ac_test; | |
17727 | int | |
17728 | main () | |
17729 | { | |
17730 | asm(".globl _ac_test\n_ac_test:\t.long 0"); if (ac_test) return 1 | |
17731 | ; | |
17732 | return 0; | |
17733 | } | |
17734 | _ACEOF | |
17735 | rm -f conftest.$ac_objext conftest$ac_exeext | |
17736 | if { (ac_try="$ac_link" | |
17737 | case "(($ac_try" in | |
17738 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
17739 | *) ac_try_echo=$ac_try;; | |
17740 | esac | |
abf5048b AJ |
17741 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
17742 | $as_echo "$ac_try_echo") >&5 | |
a3097628 AJ |
17743 | (eval "$ac_link") 2>conftest.er1 |
17744 | ac_status=$? | |
17745 | grep -v '^ *+' conftest.er1 >conftest.err | |
17746 | rm -f conftest.er1 | |
17747 | cat conftest.err >&5 | |
abf5048b | 17748 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
a3097628 AJ |
17749 | (exit $ac_status); } && { |
17750 | test -z "$ac_c_werror_flag" || | |
17751 | test ! -s conftest.err | |
abf5048b AJ |
17752 | } && test -s conftest$ac_exeext && { |
17753 | test "$cross_compiling" = yes || | |
17754 | $as_test_x conftest$ac_exeext | |
17755 | }; then | |
a3097628 | 17756 | ac_cv_c_extern_prefix="yes" |
2ffc7e2c | 17757 | else |
abf5048b | 17758 | $as_echo "$as_me: failed program was:" >&5 |
a3097628 | 17759 | sed 's/^/| /' conftest.$ac_ext >&5 |
2ffc7e2c | 17760 | |
a3097628 | 17761 | ac_cv_c_extern_prefix="no" |
2ffc7e2c | 17762 | fi |
a3097628 | 17763 | |
abf5048b | 17764 | rm -rf conftest.dSYM |
a3097628 AJ |
17765 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ |
17766 | conftest$ac_exeext conftest.$ac_ext | |
2ffc7e2c | 17767 | fi |
abf5048b AJ |
17768 | { $as_echo "$as_me:$LINENO: result: $ac_cv_c_extern_prefix" >&5 |
17769 | $as_echo "$ac_cv_c_extern_prefix" >&6; } | |
2ffc7e2c AJ |
17770 | |
17771 | ||
2ffc7e2c | 17772 | |
a3097628 AJ |
17773 | if test "$ac_cv_c_extern_prefix" = "yes" |
17774 | then | |
17775 | cat >>confdefs.h <<\_ACEOF | |
17776 | #define __ASM_NAME(name) "_" name | |
17777 | _ACEOF | |
17778 | ||
17779 | else | |
17780 | cat >>confdefs.h <<\_ACEOF | |
17781 | #define __ASM_NAME(name) name | |
17782 | _ACEOF | |
e533e972 | 17783 | |
e533e972 AJ |
17784 | fi |
17785 | ||
a3097628 | 17786 | |
3a0233d6 AJ |
17787 | LDPATH="" |
17788 | ||
e533e972 AJ |
17789 | case $build_os in |
17790 | cygwin*|mingw32*) | |
17791 | LDPATH="PATH=\"\$(TOOLSDIR)/libs/wine:\$\$PATH\"" | |
3a0233d6 | 17792 | ;; |
e533e972 | 17793 | darwin*|macosx*) |
3a0233d6 AJ |
17794 | ;; |
17795 | linux*|solaris*) if test -z "$LDRPATH_LOCAL" | |
17796 | then | |
17797 | LDPATH="LD_LIBRARY_PATH=\"\$(TOOLSDIR)/libs/wine:\$\$LD_LIBRARY_PATH\"" | |
17798 | fi | |
17799 | ;; | |
e533e972 AJ |
17800 | *) |
17801 | LDPATH="LD_LIBRARY_PATH=\"\$(TOOLSDIR)/libs/wine:\$\$LD_LIBRARY_PATH\"" | |
3a0233d6 | 17802 | ;; |
e533e972 AJ |
17803 | esac |
17804 | ||
17805 | case $host_os in | |
17806 | mingw32*) | |
17807 | CRTLIBS="-lmsvcrt" | |
17808 | ||
17809 | SOCKETLIBS="-lws2_32" | |
17810 | ||
17811 | ;; | |
17812 | esac | |
17813 | ||
17814 | MAIN_BINARY="wine-pthread" | |
17815 | case $host_cpu in | |
17816 | *i[3456789]86*) | |
17817 | case $host_os in | |
17818 | linux* | k*bsd*-gnu) | |
17819 | MAIN_BINARY="wine-glibc" | |
17820 | ||
17821 | EXTRA_BINARIES="wine-kthread wine-pthread wine-preloader" | |
9f5c69c9 TC |
17822 | ;; |
17823 | freebsd*) | |
17824 | MAIN_BINARY="wine-freebsd" | |
17825 | ||
17826 | EXTRA_BINARIES="wine-pthread" | |
e533e972 AJ |
17827 | ;; |
17828 | esac | |
17829 | ;; | |
17830 | esac | |
17831 | ||
17832 | ||
5a95cfbd | 17833 | |
e533e972 AJ |
17834 | |
17835 | ||
17836 | ||
17837 | ||
17838 | ||
17839 | ||
17840 | ||
17841 | ||
17842 | ||
17843 | ||
17844 | ||
17845 | ||
17846 | ||
17847 | ||
17848 | ||
17849 | ||
17850 | ||
17851 | ||
17852 | ||
17853 | ||
17854 | ||
17855 | ||
17856 | ||
17857 | ||
17858 | ||
17859 | ||
17860 | ||
17861 | ||
17862 | ||
17863 | ||
17864 | ||
17865 | ||
17866 | ||
17867 | ||
17868 | ||
17869 | ||
17870 | ||
17871 | ||
17872 | ||
17873 | ||
17874 | ||
17875 | ||
17876 | ||
17877 | ||
17878 | ||
17879 | ||
17880 | ||
17881 | ||
17882 | ||
17883 | ||
17884 | ||
17885 | ||
17886 | ||
e533e972 AJ |
17887 | |
17888 | ||
a9f214cb | 17889 | |
6c04a187 | 17890 | |
fd133237 | 17891 | |
ff96bd6a | 17892 | |
e9f5bce3 RS |
17893 | |
17894 | ||
17895 | ||
17896 | ||
ff96bd6a | 17897 | |
0c4f152e | 17898 | |
39f67279 | 17899 | |
87175c61 | 17900 | |
e533e972 AJ |
17901 | |
17902 | ||
17903 | for ac_func in \ | |
e533e972 AJ |
17904 | _pclose \ |
17905 | _popen \ | |
17906 | _snprintf \ | |
17907 | _spawnvp \ | |
ff96bd6a | 17908 | _strdup \ |
e533e972 AJ |
17909 | _stricmp \ |
17910 | _strnicmp \ | |
e9f5bce3 RS |
17911 | _strtoi64 \ |
17912 | _strtoui64 \ | |
e533e972 AJ |
17913 | _vsnprintf \ |
17914 | asctime_r \ | |
17915 | chsize \ | |
17916 | clone \ | |
e533e972 AJ |
17917 | dlopen \ |
17918 | epoll_create \ | |
17919 | ffs \ | |
17920 | finite \ | |
17921 | fork \ | |
17922 | fpclass \ | |
17923 | fstatfs \ | |
17924 | fstatvfs \ | |
17925 | ftruncate \ | |
17926 | futimes \ | |
17927 | futimesat \ | |
a9f214cb | 17928 | getdirentries \ |
e533e972 AJ |
17929 | getopt_long \ |
17930 | getpagesize \ | |
e533e972 | 17931 | getpwuid \ |
e533e972 AJ |
17932 | gettid \ |
17933 | gettimeofday \ | |
17934 | getuid \ | |
fd133237 | 17935 | inet_pton \ |
e533e972 AJ |
17936 | kqueue \ |
17937 | lstat \ | |
17938 | memmove \ | |
17939 | mmap \ | |
17940 | pclose \ | |
17941 | poll \ | |
17942 | popen \ | |
17943 | prctl \ | |
17944 | pread \ | |
17945 | pwrite \ | |
87175c61 | 17946 | readdir \ |
e533e972 AJ |
17947 | readlink \ |
17948 | rfork \ | |
17949 | sched_yield \ | |
17950 | select \ | |
39f67279 | 17951 | setproctitle \ |
e533e972 AJ |
17952 | setrlimit \ |
17953 | settimeofday \ | |
17954 | sigaltstack \ | |
17955 | sigprocmask \ | |
17956 | snprintf \ | |
17957 | spawnvp \ | |
17958 | statfs \ | |
17959 | statvfs \ | |
17960 | strcasecmp \ | |
ff96bd6a | 17961 | strdup \ |
e533e972 AJ |
17962 | strerror \ |
17963 | strncasecmp \ | |
6c04a187 | 17964 | strtold \ |
e9f5bce3 RS |
17965 | strtoll \ |
17966 | strtoull \ | |
e533e972 | 17967 | tcgetattr \ |
0c4f152e | 17968 | thr_kill2 \ |
e533e972 AJ |
17969 | timegm \ |
17970 | usleep \ | |
17971 | vsnprintf \ | |
17972 | wait4 \ | |
17973 | waitpid \ | |
17974 | ||
17975 | do | |
abf5048b AJ |
17976 | as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` |
17977 | { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5 | |
17978 | $as_echo_n "checking for $ac_func... " >&6; } | |
e533e972 | 17979 | if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then |
abf5048b | 17980 | $as_echo_n "(cached) " >&6 |
9557d1bf | 17981 | else |
9557d1bf | 17982 | cat >conftest.$ac_ext <<_ACEOF |
9557d1bf MM |
17983 | /* confdefs.h. */ |
17984 | _ACEOF | |
17985 | cat confdefs.h >>conftest.$ac_ext | |
17986 | cat >>conftest.$ac_ext <<_ACEOF | |
17987 | /* end confdefs.h. */ | |
e533e972 AJ |
17988 | /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func. |
17989 | For example, HP-UX 11i <limits.h> declares gettimeofday. */ | |
17990 | #define $ac_func innocuous_$ac_func | |
17991 | ||
17992 | /* System header to define __stub macros and hopefully few prototypes, | |
17993 | which can conflict with char $ac_func (); below. | |
17994 | Prefer <limits.h> to <assert.h> if __STDC__ is defined, since | |
17995 | <limits.h> exists even on freestanding compilers. */ | |
17996 | ||
17997 | #ifdef __STDC__ | |
17998 | # include <limits.h> | |
17999 | #else | |
18000 | # include <assert.h> | |
18001 | #endif | |
18002 | ||
18003 | #undef $ac_func | |
9557d1bf | 18004 | |
fc6ffb29 AJ |
18005 | /* Override any GCC internal prototype to avoid an error. |
18006 | Use char because int might match the return type of a GCC | |
18007 | builtin and then its argument prototype would still apply. */ | |
9557d1bf MM |
18008 | #ifdef __cplusplus |
18009 | extern "C" | |
18010 | #endif | |
e533e972 AJ |
18011 | char $ac_func (); |
18012 | /* The GNU C library defines this for functions which it implements | |
18013 | to always fail with ENOSYS. Some functions are actually named | |
18014 | something starting with __ and the normal name is an alias. */ | |
18015 | #if defined __stub_$ac_func || defined __stub___$ac_func | |
18016 | choke me | |
18017 | #endif | |
18018 | ||
9557d1bf MM |
18019 | int |
18020 | main () | |
18021 | { | |
e533e972 | 18022 | return $ac_func (); |
9557d1bf MM |
18023 | ; |
18024 | return 0; | |
18025 | } | |
18026 | _ACEOF | |
18027 | rm -f conftest.$ac_objext conftest$ac_exeext | |
0ebeb530 JW |
18028 | if { (ac_try="$ac_link" |
18029 | case "(($ac_try" in | |
18030 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
18031 | *) ac_try_echo=$ac_try;; | |
18032 | esac | |
abf5048b AJ |
18033 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
18034 | $as_echo "$ac_try_echo") >&5 | |
0ebeb530 | 18035 | (eval "$ac_link") 2>conftest.er1 |
9557d1bf | 18036 | ac_status=$? |
875927f6 AJ |
18037 | grep -v '^ *+' conftest.er1 >conftest.err |
18038 | rm -f conftest.er1 | |
18039 | cat conftest.err >&5 | |
abf5048b | 18040 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
dc9f3843 AJ |
18041 | (exit $ac_status); } && { |
18042 | test -z "$ac_c_werror_flag" || | |
18043 | test ! -s conftest.err | |
abf5048b AJ |
18044 | } && test -s conftest$ac_exeext && { |
18045 | test "$cross_compiling" = yes || | |
18046 | $as_test_x conftest$ac_exeext | |
18047 | }; then | |
e533e972 | 18048 | eval "$as_ac_var=yes" |
9557d1bf | 18049 | else |
abf5048b | 18050 | $as_echo "$as_me: failed program was:" >&5 |
9557d1bf MM |
18051 | sed 's/^/| /' conftest.$ac_ext >&5 |
18052 | ||
e533e972 | 18053 | eval "$as_ac_var=no" |
9557d1bf | 18054 | fi |
fc6ffb29 | 18055 | |
abf5048b | 18056 | rm -rf conftest.dSYM |
f0ca586f | 18057 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ |
875927f6 | 18058 | conftest$ac_exeext conftest.$ac_ext |
9557d1bf | 18059 | fi |
abf5048b AJ |
18060 | ac_res=`eval 'as_val=${'$as_ac_var'} |
18061 | $as_echo "$as_val"'` | |
18062 | { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 | |
18063 | $as_echo "$ac_res" >&6; } | |
18064 | as_val=`eval 'as_val=${'$as_ac_var'} | |
18065 | $as_echo "$as_val"'` | |
18066 | if test "x$as_val" = x""yes; then | |
e533e972 | 18067 | cat >>confdefs.h <<_ACEOF |
abf5048b | 18068 | #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 |
9557d1bf | 18069 | _ACEOF |
30de3e8e | 18070 | |
9557d1bf | 18071 | fi |
e533e972 | 18072 | done |
e82dfab2 | 18073 | |
e533e972 AJ |
18074 | |
18075 | if test "$ac_cv_func_dlopen" = no | |
18076 | then | |
abf5048b AJ |
18077 | { $as_echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5 |
18078 | $as_echo_n "checking for dlopen in -ldl... " >&6; } | |
e533e972 | 18079 | if test "${ac_cv_lib_dl_dlopen+set}" = set; then |
abf5048b | 18080 | $as_echo_n "(cached) " >&6 |
e82dfab2 | 18081 | else |
e533e972 AJ |
18082 | ac_check_lib_save_LIBS=$LIBS |
18083 | LIBS="-ldl $LIBS" | |
18084 | cat >conftest.$ac_ext <<_ACEOF | |
e82dfab2 HD |
18085 | /* confdefs.h. */ |
18086 | _ACEOF | |
18087 | cat confdefs.h >>conftest.$ac_ext | |
18088 | cat >>conftest.$ac_ext <<_ACEOF | |
18089 | /* end confdefs.h. */ | |
18090 | ||
fc6ffb29 AJ |
18091 | /* Override any GCC internal prototype to avoid an error. |
18092 | Use char because int might match the return type of a GCC | |
18093 | builtin and then its argument prototype would still apply. */ | |
e82dfab2 HD |
18094 | #ifdef __cplusplus |
18095 | extern "C" | |
18096 | #endif | |
e533e972 | 18097 | char dlopen (); |
e82dfab2 HD |
18098 | int |
18099 | main () | |
18100 | { | |
e533e972 | 18101 | return dlopen (); |
e82dfab2 HD |
18102 | ; |
18103 | return 0; | |
18104 | } | |
18105 | _ACEOF | |
18106 | rm -f conftest.$ac_objext conftest$ac_exeext | |
0ebeb530 JW |
18107 | if { (ac_try="$ac_link" |
18108 | case "(($ac_try" in | |
18109 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
18110 | *) ac_try_echo=$ac_try;; | |
18111 | esac | |
abf5048b AJ |
18112 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
18113 | $as_echo "$ac_try_echo") >&5 | |
0ebeb530 | 18114 | (eval "$ac_link") 2>conftest.er1 |
e82dfab2 HD |
18115 | ac_status=$? |
18116 | grep -v '^ *+' conftest.er1 >conftest.err | |
18117 | rm -f conftest.er1 | |
18118 | cat conftest.err >&5 | |
abf5048b | 18119 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
dc9f3843 AJ |
18120 | (exit $ac_status); } && { |
18121 | test -z "$ac_c_werror_flag" || | |
18122 | test ! -s conftest.err | |
abf5048b AJ |
18123 | } && test -s conftest$ac_exeext && { |
18124 | test "$cross_compiling" = yes || | |
18125 | $as_test_x conftest$ac_exeext | |
18126 | }; then | |
e533e972 | 18127 | ac_cv_lib_dl_dlopen=yes |
e82dfab2 | 18128 | else |
abf5048b | 18129 | $as_echo "$as_me: failed program was:" >&5 |
e82dfab2 HD |
18130 | sed 's/^/| /' conftest.$ac_ext >&5 |
18131 | ||
e533e972 | 18132 | ac_cv_lib_dl_dlopen=no |
e82dfab2 | 18133 | fi |
fc6ffb29 | 18134 | |
abf5048b | 18135 | rm -rf conftest.dSYM |
f0ca586f | 18136 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ |
e82dfab2 | 18137 | conftest$ac_exeext conftest.$ac_ext |
e533e972 | 18138 | LIBS=$ac_check_lib_save_LIBS |
e82dfab2 | 18139 | fi |
abf5048b AJ |
18140 | { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5 |
18141 | $as_echo "$ac_cv_lib_dl_dlopen" >&6; } | |
18142 | if test "x$ac_cv_lib_dl_dlopen" = x""yes; then | |
e533e972 AJ |
18143 | cat >>confdefs.h <<\_ACEOF |
18144 | #define HAVE_DLOPEN 1 | |
e82dfab2 | 18145 | _ACEOF |
e533e972 | 18146 | LIBDL="-ldl" |
30de3e8e | 18147 | |
e82dfab2 HD |
18148 | fi |
18149 | ||
e533e972 AJ |
18150 | fi |
18151 | ac_wine_check_funcs_save_LIBS="$LIBS" | |
18152 | LIBS="$LIBS $LIBDL" | |
18153 | ||
18154 | for ac_func in dladdr | |
18155 | do | |
abf5048b AJ |
18156 | as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` |
18157 | { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5 | |
18158 | $as_echo_n "checking for $ac_func... " >&6; } | |
e533e972 | 18159 | if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then |
abf5048b | 18160 | $as_echo_n "(cached) " >&6 |
1bb94039 | 18161 | else |
f5818d2f | 18162 | cat >conftest.$ac_ext <<_ACEOF |
e24bcc77 AJ |
18163 | /* confdefs.h. */ |
18164 | _ACEOF | |
18165 | cat confdefs.h >>conftest.$ac_ext | |
18166 | cat >>conftest.$ac_ext <<_ACEOF | |
18167 | /* end confdefs.h. */ | |
e533e972 AJ |
18168 | /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func. |
18169 | For example, HP-UX 11i <limits.h> declares gettimeofday. */ | |
18170 | #define $ac_func innocuous_$ac_func | |
18171 | ||
18172 | /* System header to define __stub macros and hopefully few prototypes, | |
18173 | which can conflict with char $ac_func (); below. | |
18174 | Prefer <limits.h> to <assert.h> if __STDC__ is defined, since | |
18175 | <limits.h> exists even on freestanding compilers. */ | |
18176 | ||
18177 | #ifdef __STDC__ | |
18178 | # include <limits.h> | |
18179 | #else | |
18180 | # include <assert.h> | |
18181 | #endif | |
18182 | ||
18183 | #undef $ac_func | |
82776020 | 18184 | |
fc6ffb29 AJ |
18185 | /* Override any GCC internal prototype to avoid an error. |
18186 | Use char because int might match the return type of a GCC | |
18187 | builtin and then its argument prototype would still apply. */ | |
82776020 AJ |
18188 | #ifdef __cplusplus |
18189 | extern "C" | |
18190 | #endif | |
e533e972 AJ |
18191 | char $ac_func (); |
18192 | /* The GNU C library defines this for functions which it implements | |
18193 | to always fail with ENOSYS. Some functions are actually named | |
18194 | something starting with __ and the normal name is an alias. */ | |
18195 | #if defined __stub_$ac_func || defined __stub___$ac_func | |
18196 | choke me | |
18197 | #endif | |
18198 | ||
f5818d2f AJ |
18199 | int |
18200 | main () | |
18201 | { | |
e533e972 | 18202 | return $ac_func (); |
f5818d2f AJ |
18203 | ; |
18204 | return 0; | |
18205 | } | |
18206 | _ACEOF | |
18207 | rm -f conftest.$ac_objext conftest$ac_exeext | |
0ebeb530 JW |
18208 | if { (ac_try="$ac_link" |
18209 | case "(($ac_try" in | |
18210 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
18211 | *) ac_try_echo=$ac_try;; | |
18212 | esac | |
abf5048b AJ |
18213 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
18214 | $as_echo "$ac_try_echo") >&5 | |
0ebeb530 | 18215 | (eval "$ac_link") 2>conftest.er1 |
f5818d2f | 18216 | ac_status=$? |
875927f6 AJ |
18217 | grep -v '^ *+' conftest.er1 >conftest.err |
18218 | rm -f conftest.er1 | |
18219 | cat conftest.err >&5 | |
abf5048b | 18220 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
dc9f3843 AJ |
18221 | (exit $ac_status); } && { |
18222 | test -z "$ac_c_werror_flag" || | |
18223 | test ! -s conftest.err | |
abf5048b AJ |
18224 | } && test -s conftest$ac_exeext && { |
18225 | test "$cross_compiling" = yes || | |
18226 | $as_test_x conftest$ac_exeext | |
18227 | }; then | |
e533e972 | 18228 | eval "$as_ac_var=yes" |
f5818d2f | 18229 | else |
abf5048b | 18230 | $as_echo "$as_me: failed program was:" >&5 |
e24bcc77 AJ |
18231 | sed 's/^/| /' conftest.$ac_ext >&5 |
18232 | ||
e533e972 | 18233 | eval "$as_ac_var=no" |
f5818d2f | 18234 | fi |
fc6ffb29 | 18235 | |
abf5048b | 18236 | rm -rf conftest.dSYM |
f0ca586f | 18237 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ |
875927f6 | 18238 | conftest$ac_exeext conftest.$ac_ext |
f5818d2f | 18239 | fi |
abf5048b AJ |
18240 | ac_res=`eval 'as_val=${'$as_ac_var'} |
18241 | $as_echo "$as_val"'` | |
18242 | { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 | |
18243 | $as_echo "$ac_res" >&6; } | |
18244 | as_val=`eval 'as_val=${'$as_ac_var'} | |
18245 | $as_echo "$as_val"'` | |
18246 | if test "x$as_val" = x""yes; then | |
e533e972 | 18247 | cat >>confdefs.h <<_ACEOF |
abf5048b | 18248 | #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 |
daa2886c | 18249 | _ACEOF |
30de3e8e | 18250 | |
1bb94039 | 18251 | fi |
e533e972 | 18252 | done |
1bb94039 | 18253 | |
e533e972 AJ |
18254 | LIBS="$ac_wine_check_funcs_save_LIBS" |
18255 | ||
18256 | if test "$ac_cv_func_poll" = no | |
18257 | then | |
abf5048b AJ |
18258 | { $as_echo "$as_me:$LINENO: checking for poll in -lpoll" >&5 |
18259 | $as_echo_n "checking for poll in -lpoll... " >&6; } | |
e533e972 | 18260 | if test "${ac_cv_lib_poll_poll+set}" = set; then |
abf5048b | 18261 | $as_echo_n "(cached) " >&6 |
1bb94039 | 18262 | else |
bcba2705 FG |
18263 | ac_check_lib_save_LIBS=$LIBS |
18264 | LIBS="-lpoll $LIBS" | |
18265 | cat >conftest.$ac_ext <<_ACEOF | |
18266 | /* confdefs.h. */ | |
18267 | _ACEOF | |
18268 | cat confdefs.h >>conftest.$ac_ext | |
18269 | cat >>conftest.$ac_ext <<_ACEOF | |
18270 | /* end confdefs.h. */ | |
18271 | ||
18272 | /* Override any GCC internal prototype to avoid an error. | |
18273 | Use char because int might match the return type of a GCC | |
18274 | builtin and then its argument prototype would still apply. */ | |
18275 | #ifdef __cplusplus | |
18276 | extern "C" | |
18277 | #endif | |
18278 | char poll (); | |
18279 | int | |
18280 | main () | |
18281 | { | |
18282 | return poll (); | |
18283 | ; | |
18284 | return 0; | |
18285 | } | |
18286 | _ACEOF | |
18287 | rm -f conftest.$ac_objext conftest$ac_exeext | |
18288 | if { (ac_try="$ac_link" | |
18289 | case "(($ac_try" in | |
18290 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
18291 | *) ac_try_echo=$ac_try;; | |
18292 | esac | |
abf5048b AJ |
18293 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
18294 | $as_echo "$ac_try_echo") >&5 | |
bcba2705 FG |
18295 | (eval "$ac_link") 2>conftest.er1 |
18296 | ac_status=$? | |
18297 | grep -v '^ *+' conftest.er1 >conftest.err | |
18298 | rm -f conftest.er1 | |
18299 | cat conftest.err >&5 | |
abf5048b | 18300 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
bcba2705 FG |
18301 | (exit $ac_status); } && { |
18302 | test -z "$ac_c_werror_flag" || | |
18303 | test ! -s conftest.err | |
abf5048b AJ |
18304 | } && test -s conftest$ac_exeext && { |
18305 | test "$cross_compiling" = yes || | |
18306 | $as_test_x conftest$ac_exeext | |
18307 | }; then | |
bcba2705 FG |
18308 | ac_cv_lib_poll_poll=yes |
18309 | else | |
abf5048b | 18310 | $as_echo "$as_me: failed program was:" >&5 |
bcba2705 FG |
18311 | sed 's/^/| /' conftest.$ac_ext >&5 |
18312 | ||
18313 | ac_cv_lib_poll_poll=no | |
18314 | fi | |
18315 | ||
abf5048b | 18316 | rm -rf conftest.dSYM |
bcba2705 FG |
18317 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ |
18318 | conftest$ac_exeext conftest.$ac_ext | |
18319 | LIBS=$ac_check_lib_save_LIBS | |
18320 | fi | |
abf5048b AJ |
18321 | { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_poll_poll" >&5 |
18322 | $as_echo "$ac_cv_lib_poll_poll" >&6; } | |
18323 | if test "x$ac_cv_lib_poll_poll" = x""yes; then | |
bcba2705 FG |
18324 | cat >>confdefs.h <<\_ACEOF |
18325 | #define HAVE_POLL 1 | |
18326 | _ACEOF | |
18327 | LIBPOLL="-lpoll" | |
18328 | ||
18329 | fi | |
18330 | ||
18331 | fi | |
18332 | ||
abf5048b AJ |
18333 | { $as_echo "$as_me:$LINENO: checking for library containing gethostbyname" >&5 |
18334 | $as_echo_n "checking for library containing gethostbyname... " >&6; } | |
bcba2705 | 18335 | if test "${ac_cv_search_gethostbyname+set}" = set; then |
abf5048b | 18336 | $as_echo_n "(cached) " >&6 |
bcba2705 FG |
18337 | else |
18338 | ac_func_search_save_LIBS=$LIBS | |
18339 | cat >conftest.$ac_ext <<_ACEOF | |
18340 | /* confdefs.h. */ | |
18341 | _ACEOF | |
18342 | cat confdefs.h >>conftest.$ac_ext | |
18343 | cat >>conftest.$ac_ext <<_ACEOF | |
18344 | /* end confdefs.h. */ | |
18345 | ||
18346 | /* Override any GCC internal prototype to avoid an error. | |
18347 | Use char because int might match the return type of a GCC | |
18348 | builtin and then its argument prototype would still apply. */ | |
18349 | #ifdef __cplusplus | |
18350 | extern "C" | |
18351 | #endif | |
18352 | char gethostbyname (); | |
18353 | int | |
18354 | main () | |
18355 | { | |
18356 | return gethostbyname (); | |
18357 | ; | |
18358 | return 0; | |
18359 | } | |
18360 | _ACEOF | |
18361 | for ac_lib in '' nsl; do | |
18362 | if test -z "$ac_lib"; then | |
18363 | ac_res="none required" | |
18364 | else | |
18365 | ac_res=-l$ac_lib | |
18366 | LIBS="-l$ac_lib $ac_func_search_save_LIBS" | |
18367 | fi | |
18368 | rm -f conftest.$ac_objext conftest$ac_exeext | |
18369 | if { (ac_try="$ac_link" | |
18370 | case "(($ac_try" in | |
18371 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
18372 | *) ac_try_echo=$ac_try;; | |
18373 | esac | |
abf5048b AJ |
18374 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
18375 | $as_echo "$ac_try_echo") >&5 | |
bcba2705 FG |
18376 | (eval "$ac_link") 2>conftest.er1 |
18377 | ac_status=$? | |
18378 | grep -v '^ *+' conftest.er1 >conftest.err | |
18379 | rm -f conftest.er1 | |
18380 | cat conftest.err >&5 | |
abf5048b | 18381 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
bcba2705 FG |
18382 | (exit $ac_status); } && { |
18383 | test -z "$ac_c_werror_flag" || | |
18384 | test ! -s conftest.err | |
abf5048b AJ |
18385 | } && test -s conftest$ac_exeext && { |
18386 | test "$cross_compiling" = yes || | |
18387 | $as_test_x conftest$ac_exeext | |
18388 | }; then | |
bcba2705 FG |
18389 | ac_cv_search_gethostbyname=$ac_res |
18390 | else | |
abf5048b | 18391 | $as_echo "$as_me: failed program was:" >&5 |
bcba2705 FG |
18392 | sed 's/^/| /' conftest.$ac_ext >&5 |
18393 | ||
18394 | ||
18395 | fi | |
18396 | ||
abf5048b | 18397 | rm -rf conftest.dSYM |
bcba2705 FG |
18398 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ |
18399 | conftest$ac_exeext | |
18400 | if test "${ac_cv_search_gethostbyname+set}" = set; then | |
18401 | break | |
18402 | fi | |
18403 | done | |
18404 | if test "${ac_cv_search_gethostbyname+set}" = set; then | |
18405 | : | |
18406 | else | |
18407 | ac_cv_search_gethostbyname=no | |
18408 | fi | |
18409 | rm conftest.$ac_ext | |
18410 | LIBS=$ac_func_search_save_LIBS | |
18411 | fi | |
abf5048b AJ |
18412 | { $as_echo "$as_me:$LINENO: result: $ac_cv_search_gethostbyname" >&5 |
18413 | $as_echo "$ac_cv_search_gethostbyname" >&6; } | |
bcba2705 FG |
18414 | ac_res=$ac_cv_search_gethostbyname |
18415 | if test "$ac_res" != no; then | |
18416 | test "$ac_res" = "none required" || LIBS="$ac_res $LIBS" | |
18417 | ||
18418 | fi | |
18419 | ||
18420 | ||
abf5048b AJ |
18421 | { $as_echo "$as_me:$LINENO: checking for library containing connect" >&5 |
18422 | $as_echo_n "checking for library containing connect... " >&6; } | |
bcba2705 | 18423 | if test "${ac_cv_search_connect+set}" = set; then |
abf5048b | 18424 | $as_echo_n "(cached) " >&6 |
bcba2705 FG |
18425 | else |
18426 | ac_func_search_save_LIBS=$LIBS | |
18427 | cat >conftest.$ac_ext <<_ACEOF | |
18428 | /* confdefs.h. */ | |
18429 | _ACEOF | |
18430 | cat confdefs.h >>conftest.$ac_ext | |
18431 | cat >>conftest.$ac_ext <<_ACEOF | |
18432 | /* end confdefs.h. */ | |
18433 | ||
18434 | /* Override any GCC internal prototype to avoid an error. | |
18435 | Use char because int might match the return type of a GCC | |
18436 | builtin and then its argument prototype would still apply. */ | |
18437 | #ifdef __cplusplus | |
18438 | extern "C" | |
18439 | #endif | |
18440 | char connect (); | |
18441 | int | |
18442 | main () | |
18443 | { | |
18444 | return connect (); | |
18445 | ; | |
18446 | return 0; | |
18447 | } | |
18448 | _ACEOF | |
18449 | for ac_lib in '' socket; do | |
18450 | if test -z "$ac_lib"; then | |
18451 | ac_res="none required" | |
18452 | else | |
18453 | ac_res=-l$ac_lib | |
18454 | LIBS="-l$ac_lib $ac_func_search_save_LIBS" | |
18455 | fi | |
18456 | rm -f conftest.$ac_objext conftest$ac_exeext | |
18457 | if { (ac_try="$ac_link" | |
18458 | case "(($ac_try" in | |
18459 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
18460 | *) ac_try_echo=$ac_try;; | |
18461 | esac | |
abf5048b AJ |
18462 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
18463 | $as_echo "$ac_try_echo") >&5 | |
bcba2705 FG |
18464 | (eval "$ac_link") 2>conftest.er1 |
18465 | ac_status=$? | |
18466 | grep -v '^ *+' conftest.er1 >conftest.err | |
18467 | rm -f conftest.er1 | |
18468 | cat conftest.err >&5 | |
abf5048b | 18469 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
bcba2705 FG |
18470 | (exit $ac_status); } && { |
18471 | test -z "$ac_c_werror_flag" || | |
18472 | test ! -s conftest.err | |
abf5048b AJ |
18473 | } && test -s conftest$ac_exeext && { |
18474 | test "$cross_compiling" = yes || | |
18475 | $as_test_x conftest$ac_exeext | |
18476 | }; then | |
bcba2705 FG |
18477 | ac_cv_search_connect=$ac_res |
18478 | else | |
abf5048b | 18479 | $as_echo "$as_me: failed program was:" >&5 |
bcba2705 FG |
18480 | sed 's/^/| /' conftest.$ac_ext >&5 |
18481 | ||
18482 | ||
18483 | fi | |
18484 | ||
abf5048b | 18485 | rm -rf conftest.dSYM |
bcba2705 FG |
18486 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ |
18487 | conftest$ac_exeext | |
18488 | if test "${ac_cv_search_connect+set}" = set; then | |
18489 | break | |
18490 | fi | |
18491 | done | |
18492 | if test "${ac_cv_search_connect+set}" = set; then | |
18493 | : | |
18494 | else | |
18495 | ac_cv_search_connect=no | |
18496 | fi | |
18497 | rm conftest.$ac_ext | |
18498 | LIBS=$ac_func_search_save_LIBS | |
18499 | fi | |
abf5048b AJ |
18500 | { $as_echo "$as_me:$LINENO: result: $ac_cv_search_connect" >&5 |
18501 | $as_echo "$ac_cv_search_connect" >&6; } | |
bcba2705 FG |
18502 | ac_res=$ac_cv_search_connect |
18503 | if test "$ac_res" != no; then | |
18504 | test "$ac_res" = "none required" || LIBS="$ac_res $LIBS" | |
18505 | ||
18506 | fi | |
18507 | ||
18508 | ||
abf5048b AJ |
18509 | { $as_echo "$as_me:$LINENO: checking for library containing inet_aton" >&5 |
18510 | $as_echo_n "checking for library containing inet_aton... " >&6; } | |
bcba2705 | 18511 | if test "${ac_cv_search_inet_aton+set}" = set; then |
abf5048b | 18512 | $as_echo_n "(cached) " >&6 |
bcba2705 FG |
18513 | else |
18514 | ac_func_search_save_LIBS=$LIBS | |
18515 | cat >conftest.$ac_ext <<_ACEOF | |
18516 | /* confdefs.h. */ | |
18517 | _ACEOF | |
18518 | cat confdefs.h >>conftest.$ac_ext | |
18519 | cat >>conftest.$ac_ext <<_ACEOF | |
18520 | /* end confdefs.h. */ | |
18521 | ||
18522 | /* Override any GCC internal prototype to avoid an error. | |
18523 | Use char because int might match the return type of a GCC | |
18524 | builtin and then its argument prototype would still apply. */ | |
18525 | #ifdef __cplusplus | |
18526 | extern "C" | |
18527 | #endif | |
18528 | char inet_aton (); | |
18529 | int | |
18530 | main () | |
18531 | { | |
18532 | return inet_aton (); | |
18533 | ; | |
18534 | return 0; | |
18535 | } | |
18536 | _ACEOF | |
18537 | for ac_lib in '' resolv; do | |
18538 | if test -z "$ac_lib"; then | |
18539 | ac_res="none required" | |
18540 | else | |
18541 | ac_res=-l$ac_lib | |
18542 | LIBS="-l$ac_lib $ac_func_search_save_LIBS" | |
18543 | fi | |
18544 | rm -f conftest.$ac_objext conftest$ac_exeext | |
18545 | if { (ac_try="$ac_link" | |
18546 | case "(($ac_try" in | |
18547 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
18548 | *) ac_try_echo=$ac_try;; | |
18549 | esac | |
abf5048b AJ |
18550 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
18551 | $as_echo "$ac_try_echo") >&5 | |
bcba2705 FG |
18552 | (eval "$ac_link") 2>conftest.er1 |
18553 | ac_status=$? | |
18554 | grep -v '^ *+' conftest.er1 >conftest.err | |
18555 | rm -f conftest.er1 | |
18556 | cat conftest.err >&5 | |
abf5048b | 18557 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
bcba2705 FG |
18558 | (exit $ac_status); } && { |
18559 | test -z "$ac_c_werror_flag" || | |
18560 | test ! -s conftest.err | |
abf5048b AJ |
18561 | } && test -s conftest$ac_exeext && { |
18562 | test "$cross_compiling" = yes || | |
18563 | $as_test_x conftest$ac_exeext | |
18564 | }; then | |
bcba2705 FG |
18565 | ac_cv_search_inet_aton=$ac_res |
18566 | else | |
abf5048b | 18567 | $as_echo "$as_me: failed program was:" >&5 |
bcba2705 FG |
18568 | sed 's/^/| /' conftest.$ac_ext >&5 |
18569 | ||
18570 | ||
18571 | fi | |
18572 | ||
abf5048b | 18573 | rm -rf conftest.dSYM |
bcba2705 FG |
18574 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ |
18575 | conftest$ac_exeext | |
18576 | if test "${ac_cv_search_inet_aton+set}" = set; then | |
18577 | break | |
18578 | fi | |
18579 | done | |
18580 | if test "${ac_cv_search_inet_aton+set}" = set; then | |
18581 | : | |
18582 | else | |
18583 | ac_cv_search_inet_aton=no | |
18584 | fi | |
18585 | rm conftest.$ac_ext | |
18586 | LIBS=$ac_func_search_save_LIBS | |
18587 | fi | |
abf5048b AJ |
18588 | { $as_echo "$as_me:$LINENO: result: $ac_cv_search_inet_aton" >&5 |
18589 | $as_echo "$ac_cv_search_inet_aton" >&6; } | |
bcba2705 FG |
18590 | ac_res=$ac_cv_search_inet_aton |
18591 | if test "$ac_res" != no; then | |
18592 | test "$ac_res" = "none required" || LIBS="$ac_res $LIBS" | |
18593 | ||
18594 | fi | |
18595 | ||
18596 | ||
18597 | ||
18598 | ||
18599 | ||
18600 | ||
18601 | ||
18602 | ||
18603 | ||
18604 | ||
18605 | for ac_func in \ | |
18606 | getaddrinfo \ | |
18607 | getnameinfo \ | |
18608 | getnetbyname \ | |
18609 | getprotobyname \ | |
18610 | getprotobynumber \ | |
18611 | getservbyport \ | |
18612 | inet_network \ | |
18613 | sendmsg \ | |
18614 | ||
18615 | do | |
abf5048b AJ |
18616 | as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` |
18617 | { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5 | |
18618 | $as_echo_n "checking for $ac_func... " >&6; } | |
bcba2705 | 18619 | if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then |
abf5048b | 18620 | $as_echo_n "(cached) " >&6 |
bcba2705 FG |
18621 | else |
18622 | cat >conftest.$ac_ext <<_ACEOF | |
e24bcc77 AJ |
18623 | /* confdefs.h. */ |
18624 | _ACEOF | |
18625 | cat confdefs.h >>conftest.$ac_ext | |
18626 | cat >>conftest.$ac_ext <<_ACEOF | |
18627 | /* end confdefs.h. */ | |
bcba2705 FG |
18628 | /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func. |
18629 | For example, HP-UX 11i <limits.h> declares gettimeofday. */ | |
18630 | #define $ac_func innocuous_$ac_func | |
18631 | ||
18632 | /* System header to define __stub macros and hopefully few prototypes, | |
18633 | which can conflict with char $ac_func (); below. | |
18634 | Prefer <limits.h> to <assert.h> if __STDC__ is defined, since | |
18635 | <limits.h> exists even on freestanding compilers. */ | |
18636 | ||
18637 | #ifdef __STDC__ | |
18638 | # include <limits.h> | |
18639 | #else | |
18640 | # include <assert.h> | |
18641 | #endif | |
18642 | ||
18643 | #undef $ac_func | |
1bb94039 | 18644 | |
fc6ffb29 AJ |
18645 | /* Override any GCC internal prototype to avoid an error. |
18646 | Use char because int might match the return type of a GCC | |
18647 | builtin and then its argument prototype would still apply. */ | |
82776020 AJ |
18648 | #ifdef __cplusplus |
18649 | extern "C" | |
18650 | #endif | |
bcba2705 FG |
18651 | char $ac_func (); |
18652 | /* The GNU C library defines this for functions which it implements | |
18653 | to always fail with ENOSYS. Some functions are actually named | |
18654 | something starting with __ and the normal name is an alias. */ | |
18655 | #if defined __stub_$ac_func || defined __stub___$ac_func | |
18656 | choke me | |
18657 | #endif | |
18658 | ||
f5818d2f AJ |
18659 | int |
18660 | main () | |
18661 | { | |
bcba2705 | 18662 | return $ac_func (); |
f5818d2f AJ |
18663 | ; |
18664 | return 0; | |
18665 | } | |
18666 | _ACEOF | |
18667 | rm -f conftest.$ac_objext conftest$ac_exeext | |
0ebeb530 JW |
18668 | if { (ac_try="$ac_link" |
18669 | case "(($ac_try" in | |
18670 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
18671 | *) ac_try_echo=$ac_try;; | |
18672 | esac | |
abf5048b AJ |
18673 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
18674 | $as_echo "$ac_try_echo") >&5 | |
0ebeb530 | 18675 | (eval "$ac_link") 2>conftest.er1 |
f5818d2f | 18676 | ac_status=$? |
875927f6 AJ |
18677 | grep -v '^ *+' conftest.er1 >conftest.err |
18678 | rm -f conftest.er1 | |
18679 | cat conftest.err >&5 | |
abf5048b | 18680 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
dc9f3843 AJ |
18681 | (exit $ac_status); } && { |
18682 | test -z "$ac_c_werror_flag" || | |
18683 | test ! -s conftest.err | |
abf5048b AJ |
18684 | } && test -s conftest$ac_exeext && { |
18685 | test "$cross_compiling" = yes || | |
18686 | $as_test_x conftest$ac_exeext | |
18687 | }; then | |
bcba2705 | 18688 | eval "$as_ac_var=yes" |
1bb94039 | 18689 | else |
abf5048b | 18690 | $as_echo "$as_me: failed program was:" >&5 |
e24bcc77 AJ |
18691 | sed 's/^/| /' conftest.$ac_ext >&5 |
18692 | ||
bcba2705 | 18693 | eval "$as_ac_var=no" |
1bb94039 | 18694 | fi |
fc6ffb29 | 18695 | |
abf5048b | 18696 | rm -rf conftest.dSYM |
f0ca586f | 18697 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ |
875927f6 | 18698 | conftest$ac_exeext conftest.$ac_ext |
1bb94039 | 18699 | fi |
abf5048b AJ |
18700 | ac_res=`eval 'as_val=${'$as_ac_var'} |
18701 | $as_echo "$as_val"'` | |
18702 | { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 | |
18703 | $as_echo "$ac_res" >&6; } | |
18704 | as_val=`eval 'as_val=${'$as_ac_var'} | |
18705 | $as_echo "$as_val"'` | |
18706 | if test "x$as_val" = x""yes; then | |
bcba2705 | 18707 | cat >>confdefs.h <<_ACEOF |
abf5048b | 18708 | #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 |
f5818d2f | 18709 | _ACEOF |
30de3e8e | 18710 | |
1bb94039 | 18711 | fi |
bcba2705 | 18712 | done |
1bb94039 | 18713 | |
e533e972 | 18714 | |
bcba2705 FG |
18715 | LDAPLIBS="" |
18716 | ||
18717 | if test "$ac_cv_header_ldap_h" = "yes" -a "$ac_cv_header_lber_h" = "yes" | |
18718 | then | |
abf5048b AJ |
18719 | { $as_echo "$as_me:$LINENO: checking for LDAPSortKey" >&5 |
18720 | $as_echo_n "checking for LDAPSortKey... " >&6; } | |
bcba2705 | 18721 | if test "${ac_cv_type_LDAPSortKey+set}" = set; then |
abf5048b | 18722 | $as_echo_n "(cached) " >&6 |
f5818d2f | 18723 | else |
abf5048b AJ |
18724 | ac_cv_type_LDAPSortKey=no |
18725 | cat >conftest.$ac_ext <<_ACEOF | |
e24bcc77 AJ |
18726 | /* confdefs.h. */ |
18727 | _ACEOF | |
18728 | cat confdefs.h >>conftest.$ac_ext | |
18729 | cat >>conftest.$ac_ext <<_ACEOF | |
18730 | /* end confdefs.h. */ | |
bcba2705 | 18731 | #include <ldap.h> |
875927f6 | 18732 | |
e24bcc77 AJ |
18733 | int |
18734 | main () | |
18735 | { | |
abf5048b AJ |
18736 | if (sizeof (LDAPSortKey)) |
18737 | return 0; | |
18738 | ; | |
bcba2705 | 18739 | return 0; |
abf5048b AJ |
18740 | } |
18741 | _ACEOF | |
18742 | rm -f conftest.$ac_objext | |
18743 | if { (ac_try="$ac_compile" | |
18744 | case "(($ac_try" in | |
18745 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
18746 | *) ac_try_echo=$ac_try;; | |
18747 | esac | |
18748 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | |
18749 | $as_echo "$ac_try_echo") >&5 | |
18750 | (eval "$ac_compile") 2>conftest.er1 | |
18751 | ac_status=$? | |
18752 | grep -v '^ *+' conftest.er1 >conftest.err | |
18753 | rm -f conftest.er1 | |
18754 | cat conftest.err >&5 | |
18755 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
18756 | (exit $ac_status); } && { | |
18757 | test -z "$ac_c_werror_flag" || | |
18758 | test ! -s conftest.err | |
18759 | } && test -s conftest.$ac_objext; then | |
18760 | cat >conftest.$ac_ext <<_ACEOF | |
18761 | /* confdefs.h. */ | |
18762 | _ACEOF | |
18763 | cat confdefs.h >>conftest.$ac_ext | |
18764 | cat >>conftest.$ac_ext <<_ACEOF | |
18765 | /* end confdefs.h. */ | |
18766 | #include <ldap.h> | |
18767 | ||
18768 | int | |
18769 | main () | |
18770 | { | |
18771 | if (sizeof ((LDAPSortKey))) | |
18772 | return 0; | |
f5818d2f AJ |
18773 | ; |
18774 | return 0; | |
18775 | } | |
18776 | _ACEOF | |
bcba2705 FG |
18777 | rm -f conftest.$ac_objext |
18778 | if { (ac_try="$ac_compile" | |
0ebeb530 JW |
18779 | case "(($ac_try" in |
18780 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
18781 | *) ac_try_echo=$ac_try;; | |
18782 | esac | |
abf5048b AJ |
18783 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
18784 | $as_echo "$ac_try_echo") >&5 | |
bcba2705 | 18785 | (eval "$ac_compile") 2>conftest.er1 |
f5818d2f | 18786 | ac_status=$? |
875927f6 AJ |
18787 | grep -v '^ *+' conftest.er1 >conftest.err |
18788 | rm -f conftest.er1 | |
18789 | cat conftest.err >&5 | |
abf5048b | 18790 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
dc9f3843 AJ |
18791 | (exit $ac_status); } && { |
18792 | test -z "$ac_c_werror_flag" || | |
18793 | test ! -s conftest.err | |
bcba2705 | 18794 | } && test -s conftest.$ac_objext; then |
abf5048b | 18795 | : |
f5818d2f | 18796 | else |
abf5048b | 18797 | $as_echo "$as_me: failed program was:" >&5 |
e24bcc77 AJ |
18798 | sed 's/^/| /' conftest.$ac_ext >&5 |
18799 | ||
abf5048b | 18800 | ac_cv_type_LDAPSortKey=yes |
1bb94039 | 18801 | fi |
daa2886c | 18802 | |
bcba2705 | 18803 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
abf5048b AJ |
18804 | else |
18805 | $as_echo "$as_me: failed program was:" >&5 | |
18806 | sed 's/^/| /' conftest.$ac_ext >&5 | |
18807 | ||
18808 | ||
e533e972 | 18809 | fi |
abf5048b AJ |
18810 | |
18811 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | |
18812 | fi | |
18813 | { $as_echo "$as_me:$LINENO: result: $ac_cv_type_LDAPSortKey" >&5 | |
18814 | $as_echo "$ac_cv_type_LDAPSortKey" >&6; } | |
18815 | if test "x$ac_cv_type_LDAPSortKey" = x""yes; then | |
18816 | { $as_echo "$as_me:$LINENO: checking for ldap_initialize in -lldap_r" >&5 | |
18817 | $as_echo_n "checking for ldap_initialize in -lldap_r... " >&6; } | |
bcba2705 | 18818 | if test "${ac_cv_lib_ldap_r_ldap_initialize+set}" = set; then |
abf5048b | 18819 | $as_echo_n "(cached) " >&6 |
f5818d2f | 18820 | else |
bcba2705 FG |
18821 | ac_check_lib_save_LIBS=$LIBS |
18822 | LIBS="-lldap_r $LIBPTHREAD $LIBS" | |
e533e972 | 18823 | cat >conftest.$ac_ext <<_ACEOF |
e24bcc77 AJ |
18824 | /* confdefs.h. */ |
18825 | _ACEOF | |
18826 | cat confdefs.h >>conftest.$ac_ext | |
18827 | cat >>conftest.$ac_ext <<_ACEOF | |
18828 | /* end confdefs.h. */ | |
875927f6 | 18829 | |
fc6ffb29 AJ |
18830 | /* Override any GCC internal prototype to avoid an error. |
18831 | Use char because int might match the return type of a GCC | |
18832 | builtin and then its argument prototype would still apply. */ | |
f5818d2f AJ |
18833 | #ifdef __cplusplus |
18834 | extern "C" | |
18835 | #endif | |
bcba2705 | 18836 | char ldap_initialize (); |
e24bcc77 AJ |
18837 | int |
18838 | main () | |
18839 | { | |
bcba2705 | 18840 | return ldap_initialize (); |
f5818d2f AJ |
18841 | ; |
18842 | return 0; | |
18843 | } | |
18844 | _ACEOF | |
bcba2705 | 18845 | rm -f conftest.$ac_objext conftest$ac_exeext |
0ebeb530 JW |
18846 | if { (ac_try="$ac_link" |
18847 | case "(($ac_try" in | |
18848 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
18849 | *) ac_try_echo=$ac_try;; | |
18850 | esac | |
abf5048b AJ |
18851 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
18852 | $as_echo "$ac_try_echo") >&5 | |
0ebeb530 | 18853 | (eval "$ac_link") 2>conftest.er1 |
f5818d2f | 18854 | ac_status=$? |
875927f6 AJ |
18855 | grep -v '^ *+' conftest.er1 >conftest.err |
18856 | rm -f conftest.er1 | |
18857 | cat conftest.err >&5 | |
abf5048b | 18858 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
dc9f3843 AJ |
18859 | (exit $ac_status); } && { |
18860 | test -z "$ac_c_werror_flag" || | |
18861 | test ! -s conftest.err | |
abf5048b AJ |
18862 | } && test -s conftest$ac_exeext && { |
18863 | test "$cross_compiling" = yes || | |
18864 | $as_test_x conftest$ac_exeext | |
18865 | }; then | |
bcba2705 | 18866 | ac_cv_lib_ldap_r_ldap_initialize=yes |
f5818d2f | 18867 | else |
abf5048b | 18868 | $as_echo "$as_me: failed program was:" >&5 |
e24bcc77 AJ |
18869 | sed 's/^/| /' conftest.$ac_ext >&5 |
18870 | ||
bcba2705 | 18871 | ac_cv_lib_ldap_r_ldap_initialize=no |
f5818d2f | 18872 | fi |
fc6ffb29 | 18873 | |
abf5048b | 18874 | rm -rf conftest.dSYM |
f0ca586f | 18875 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ |
bcba2705 FG |
18876 | conftest$ac_exeext conftest.$ac_ext |
18877 | LIBS=$ac_check_lib_save_LIBS | |
e533e972 | 18878 | fi |
abf5048b AJ |
18879 | { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_ldap_r_ldap_initialize" >&5 |
18880 | $as_echo "$ac_cv_lib_ldap_r_ldap_initialize" >&6; } | |
18881 | if test "x$ac_cv_lib_ldap_r_ldap_initialize" = x""yes; then | |
18882 | { $as_echo "$as_me:$LINENO: checking for ber_init in -llber" >&5 | |
18883 | $as_echo_n "checking for ber_init in -llber... " >&6; } | |
bcba2705 | 18884 | if test "${ac_cv_lib_lber_ber_init+set}" = set; then |
abf5048b | 18885 | $as_echo_n "(cached) " >&6 |
1089260f | 18886 | else |
bcba2705 FG |
18887 | ac_check_lib_save_LIBS=$LIBS |
18888 | LIBS="-llber $LIBPTHREAD $LIBS" | |
1089260f AJ |
18889 | cat >conftest.$ac_ext <<_ACEOF |
18890 | /* confdefs.h. */ | |
18891 | _ACEOF | |
18892 | cat confdefs.h >>conftest.$ac_ext | |
18893 | cat >>conftest.$ac_ext <<_ACEOF | |
18894 | /* end confdefs.h. */ | |
18895 | ||
18896 | /* Override any GCC internal prototype to avoid an error. | |
18897 | Use char because int might match the return type of a GCC | |
18898 | builtin and then its argument prototype would still apply. */ | |
18899 | #ifdef __cplusplus | |
18900 | extern "C" | |
18901 | #endif | |
bcba2705 | 18902 | char ber_init (); |
1089260f AJ |
18903 | int |
18904 | main () | |
18905 | { | |
bcba2705 | 18906 | return ber_init (); |
1089260f AJ |
18907 | ; |
18908 | return 0; | |
18909 | } | |
18910 | _ACEOF | |
bcba2705 | 18911 | rm -f conftest.$ac_objext conftest$ac_exeext |
1089260f AJ |
18912 | if { (ac_try="$ac_link" |
18913 | case "(($ac_try" in | |
18914 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
18915 | *) ac_try_echo=$ac_try;; | |
18916 | esac | |
abf5048b AJ |
18917 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
18918 | $as_echo "$ac_try_echo") >&5 | |
1089260f AJ |
18919 | (eval "$ac_link") 2>conftest.er1 |
18920 | ac_status=$? | |
18921 | grep -v '^ *+' conftest.er1 >conftest.err | |
18922 | rm -f conftest.er1 | |
18923 | cat conftest.err >&5 | |
abf5048b | 18924 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
dc9f3843 AJ |
18925 | (exit $ac_status); } && { |
18926 | test -z "$ac_c_werror_flag" || | |
18927 | test ! -s conftest.err | |
abf5048b AJ |
18928 | } && test -s conftest$ac_exeext && { |
18929 | test "$cross_compiling" = yes || | |
18930 | $as_test_x conftest$ac_exeext | |
18931 | }; then | |
bcba2705 | 18932 | ac_cv_lib_lber_ber_init=yes |
1089260f | 18933 | else |
abf5048b | 18934 | $as_echo "$as_me: failed program was:" >&5 |
1089260f AJ |
18935 | sed 's/^/| /' conftest.$ac_ext >&5 |
18936 | ||
bcba2705 | 18937 | ac_cv_lib_lber_ber_init=no |
1089260f AJ |
18938 | fi |
18939 | ||
abf5048b | 18940 | rm -rf conftest.dSYM |
f0ca586f | 18941 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ |
bcba2705 FG |
18942 | conftest$ac_exeext conftest.$ac_ext |
18943 | LIBS=$ac_check_lib_save_LIBS | |
1089260f | 18944 | fi |
abf5048b AJ |
18945 | { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_lber_ber_init" >&5 |
18946 | $as_echo "$ac_cv_lib_lber_ber_init" >&6; } | |
18947 | if test "x$ac_cv_lib_lber_ber_init" = x""yes; then | |
bcba2705 FG |
18948 | |
18949 | cat >>confdefs.h <<\_ACEOF | |
18950 | #define HAVE_LDAP 1 | |
18951 | _ACEOF | |
18952 | ||
18953 | LDAPLIBS="-lldap_r -llber" | |
28710419 | 18954 | fi |
1089260f AJ |
18955 | |
18956 | fi | |
daa2886c | 18957 | |
bcba2705 | 18958 | fi |
daa2886c | 18959 | |
bcba2705 FG |
18960 | ac_wine_check_funcs_save_LIBS="$LIBS" |
18961 | LIBS="$LIBS $LDAPLIBS $LIBPTHREAD" | |
41c59964 BT |
18962 | |
18963 | ||
18964 | ||
18965 | ||
18966 | ||
18967 | ||
18968 | ||
28710419 | 18969 | |
41c59964 | 18970 | for ac_func in \ |
bcba2705 FG |
18971 | ldap_count_references \ |
18972 | ldap_first_reference \ | |
18973 | ldap_next_reference \ | |
18974 | ldap_parse_reference \ | |
18975 | ldap_parse_sort_control \ | |
18976 | ldap_parse_sortresponse_control \ | |
18977 | ldap_parse_vlv_control \ | |
18978 | ldap_parse_vlvresponse_control | |
41c59964 | 18979 | do |
abf5048b AJ |
18980 | as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` |
18981 | { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5 | |
18982 | $as_echo_n "checking for $ac_func... " >&6; } | |
41c59964 | 18983 | if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then |
abf5048b | 18984 | $as_echo_n "(cached) " >&6 |
41c59964 BT |
18985 | else |
18986 | cat >conftest.$ac_ext <<_ACEOF | |
18987 | /* confdefs.h. */ | |
18988 | _ACEOF | |
18989 | cat confdefs.h >>conftest.$ac_ext | |
18990 | cat >>conftest.$ac_ext <<_ACEOF | |
18991 | /* end confdefs.h. */ | |
18992 | /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func. | |
18993 | For example, HP-UX 11i <limits.h> declares gettimeofday. */ | |
18994 | #define $ac_func innocuous_$ac_func | |
18995 | ||
18996 | /* System header to define __stub macros and hopefully few prototypes, | |
18997 | which can conflict with char $ac_func (); below. | |
18998 | Prefer <limits.h> to <assert.h> if __STDC__ is defined, since | |
18999 | <limits.h> exists even on freestanding compilers. */ | |
19000 | ||
19001 | #ifdef __STDC__ | |
19002 | # include <limits.h> | |
19003 | #else | |
19004 | # include <assert.h> | |
19005 | #endif | |
19006 | ||
19007 | #undef $ac_func | |
19008 | ||
19009 | /* Override any GCC internal prototype to avoid an error. | |
19010 | Use char because int might match the return type of a GCC | |
19011 | builtin and then its argument prototype would still apply. */ | |
19012 | #ifdef __cplusplus | |
19013 | extern "C" | |
19014 | #endif | |
19015 | char $ac_func (); | |
19016 | /* The GNU C library defines this for functions which it implements | |
19017 | to always fail with ENOSYS. Some functions are actually named | |
19018 | something starting with __ and the normal name is an alias. */ | |
19019 | #if defined __stub_$ac_func || defined __stub___$ac_func | |
19020 | choke me | |
19021 | #endif | |
19022 | ||
19023 | int | |
19024 | main () | |
19025 | { | |
19026 | return $ac_func (); | |
19027 | ; | |
19028 | return 0; | |
19029 | } | |
19030 | _ACEOF | |
19031 | rm -f conftest.$ac_objext conftest$ac_exeext | |
19032 | if { (ac_try="$ac_link" | |
19033 | case "(($ac_try" in | |
19034 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
19035 | *) ac_try_echo=$ac_try;; | |
19036 | esac | |
abf5048b AJ |
19037 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
19038 | $as_echo "$ac_try_echo") >&5 | |
41c59964 BT |
19039 | (eval "$ac_link") 2>conftest.er1 |
19040 | ac_status=$? | |
19041 | grep -v '^ *+' conftest.er1 >conftest.err | |
19042 | rm -f conftest.er1 | |
19043 | cat conftest.err >&5 | |
abf5048b | 19044 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
41c59964 BT |
19045 | (exit $ac_status); } && { |
19046 | test -z "$ac_c_werror_flag" || | |
19047 | test ! -s conftest.err | |
abf5048b AJ |
19048 | } && test -s conftest$ac_exeext && { |
19049 | test "$cross_compiling" = yes || | |
19050 | $as_test_x conftest$ac_exeext | |
19051 | }; then | |
41c59964 BT |
19052 | eval "$as_ac_var=yes" |
19053 | else | |
abf5048b | 19054 | $as_echo "$as_me: failed program was:" >&5 |
41c59964 BT |
19055 | sed 's/^/| /' conftest.$ac_ext >&5 |
19056 | ||
19057 | eval "$as_ac_var=no" | |
19058 | fi | |
19059 | ||
abf5048b | 19060 | rm -rf conftest.dSYM |
41c59964 BT |
19061 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ |
19062 | conftest$ac_exeext conftest.$ac_ext | |
19063 | fi | |
abf5048b AJ |
19064 | ac_res=`eval 'as_val=${'$as_ac_var'} |
19065 | $as_echo "$as_val"'` | |
19066 | { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 | |
19067 | $as_echo "$ac_res" >&6; } | |
19068 | as_val=`eval 'as_val=${'$as_ac_var'} | |
19069 | $as_echo "$as_val"'` | |
19070 | if test "x$as_val" = x""yes; then | |
41c59964 | 19071 | cat >>confdefs.h <<_ACEOF |
abf5048b | 19072 | #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 |
41c59964 BT |
19073 | _ACEOF |
19074 | ||
19075 | fi | |
19076 | done | |
19077 | ||
bcba2705 FG |
19078 | LIBS="$ac_wine_check_funcs_save_LIBS" |
19079 | fi | |
19080 | if test "x$LDAPLIBS" = "x"; then | |
19081 | case "x$with_ldap" in | |
93f094c5 | 19082 | x) wine_notices="$wine_notices|libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported." ;; |
bcba2705 | 19083 | xno) ;; |
abf5048b | 19084 | *) { { $as_echo "$as_me:$LINENO: error: libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported. |
bcba2705 | 19085 | This is an error since --with-ldap was requested." >&5 |
abf5048b | 19086 | $as_echo "$as_me: error: libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported. |
bcba2705 FG |
19087 | This is an error since --with-ldap was requested." >&2;} |
19088 | { (exit 1); exit 1; }; } ;; | |
19089 | esac | |
19090 | fi | |
19091 | ||
41c59964 BT |
19092 | |
19093 | ||
abf5048b AJ |
19094 | { $as_echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5 |
19095 | $as_echo_n "checking for an ANSI C-conforming const... " >&6; } | |
f41c2b21 | 19096 | if test "${ac_cv_c_const+set}" = set; then |
abf5048b | 19097 | $as_echo_n "(cached) " >&6 |
f5818d2f AJ |
19098 | else |
19099 | cat >conftest.$ac_ext <<_ACEOF | |
e24bcc77 AJ |
19100 | /* confdefs.h. */ |
19101 | _ACEOF | |
19102 | cat confdefs.h >>conftest.$ac_ext | |
19103 | cat >>conftest.$ac_ext <<_ACEOF | |
19104 | /* end confdefs.h. */ | |
f41c2b21 | 19105 | |
f5818d2f AJ |
19106 | int |
19107 | main () | |
19108 | { | |
f41c2b21 DP |
19109 | /* FIXME: Include the comments suggested by Paul. */ |
19110 | #ifndef __cplusplus | |
19111 | /* Ultrix mips cc rejects this. */ | |
19112 | typedef int charset[2]; | |
f0ca586f | 19113 | const charset cs; |
f41c2b21 | 19114 | /* SunOS 4.1.1 cc rejects this. */ |
f0ca586f PK |
19115 | char const *const *pcpcc; |
19116 | char **ppc; | |
f41c2b21 DP |
19117 | /* NEC SVR4.0.2 mips cc rejects this. */ |
19118 | struct point {int x, y;}; | |
19119 | static struct point const zero = {0,0}; | |
19120 | /* AIX XL C 1.02.0.0 rejects this. | |
19121 | It does not let you subtract one const X* pointer from another in | |
19122 | an arm of an if-expression whose if-part is not a constant | |
19123 | expression */ | |
19124 | const char *g = "string"; | |
f0ca586f | 19125 | pcpcc = &g + (g ? g-g : 0); |
f41c2b21 | 19126 | /* HPUX 7.0 cc rejects these. */ |
f0ca586f PK |
19127 | ++pcpcc; |
19128 | ppc = (char**) pcpcc; | |
19129 | pcpcc = (char const *const *) ppc; | |
f41c2b21 DP |
19130 | { /* SCO 3.2v4 cc rejects this. */ |
19131 | char *t; | |
19132 | char const *s = 0 ? (char *) 0 : (char const *) 0; | |
19133 | ||
19134 | *t++ = 0; | |
fc6ffb29 | 19135 | if (s) return 0; |
f41c2b21 DP |
19136 | } |
19137 | { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */ | |
19138 | int x[] = {25, 17}; | |
19139 | const int *foo = &x[0]; | |
19140 | ++foo; | |
19141 | } | |
19142 | { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */ | |
19143 | typedef const int *iptr; | |
19144 | iptr p = 0; | |
19145 | ++p; | |
19146 | } | |
19147 | { /* AIX XL C 1.02.0.0 rejects this saying | |
19148 | "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */ | |
19149 | struct s { int j; const int *ap[3]; }; | |
19150 | struct s *b; b->j = 5; | |
19151 | } | |
19152 | { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */ | |
19153 | const int foo = 10; | |
fc6ffb29 | 19154 | if (!foo) return 0; |
f41c2b21 | 19155 | } |
f0ca586f | 19156 | return !cs[0] && !zero.x; |
f41c2b21 DP |
19157 | #endif |
19158 | ||
f5818d2f AJ |
19159 | ; |
19160 | return 0; | |
19161 | } | |
19162 | _ACEOF | |
19163 | rm -f conftest.$ac_objext | |
0ebeb530 JW |
19164 | if { (ac_try="$ac_compile" |
19165 | case "(($ac_try" in | |
19166 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
19167 | *) ac_try_echo=$ac_try;; | |
19168 | esac | |
abf5048b AJ |
19169 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
19170 | $as_echo "$ac_try_echo") >&5 | |
0ebeb530 | 19171 | (eval "$ac_compile") 2>conftest.er1 |
f5818d2f | 19172 | ac_status=$? |
875927f6 AJ |
19173 | grep -v '^ *+' conftest.er1 >conftest.err |
19174 | rm -f conftest.er1 | |
19175 | cat conftest.err >&5 | |
abf5048b | 19176 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
dc9f3843 AJ |
19177 | (exit $ac_status); } && { |
19178 | test -z "$ac_c_werror_flag" || | |
19179 | test ! -s conftest.err | |
19180 | } && test -s conftest.$ac_objext; then | |
f41c2b21 | 19181 | ac_cv_c_const=yes |
f5818d2f | 19182 | else |
abf5048b | 19183 | $as_echo "$as_me: failed program was:" >&5 |
e24bcc77 AJ |
19184 | sed 's/^/| /' conftest.$ac_ext >&5 |
19185 | ||
fc6ffb29 | 19186 | ac_cv_c_const=no |
c7c217b3 | 19187 | fi |
fc6ffb29 | 19188 | |
0ebeb530 | 19189 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
f5818d2f | 19190 | fi |
abf5048b AJ |
19191 | { $as_echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5 |
19192 | $as_echo "$ac_cv_c_const" >&6; } | |
f41c2b21 | 19193 | if test $ac_cv_c_const = no; then |
5769d1de | 19194 | |
f41c2b21 | 19195 | cat >>confdefs.h <<\_ACEOF |
abf5048b | 19196 | #define const /**/ |
5769d1de AJ |
19197 | _ACEOF |
19198 | ||
5769d1de | 19199 | fi |
f41c2b21 | 19200 | |
abf5048b AJ |
19201 | { $as_echo "$as_me:$LINENO: checking for inline" >&5 |
19202 | $as_echo_n "checking for inline... " >&6; } | |
f41c2b21 | 19203 | if test "${ac_cv_c_inline+set}" = set; then |
abf5048b | 19204 | $as_echo_n "(cached) " >&6 |
5769d1de | 19205 | else |
f41c2b21 DP |
19206 | ac_cv_c_inline=no |
19207 | for ac_kw in inline __inline__ __inline; do | |
5769d1de | 19208 | cat >conftest.$ac_ext <<_ACEOF |
e24bcc77 AJ |
19209 | /* confdefs.h. */ |
19210 | _ACEOF | |
19211 | cat confdefs.h >>conftest.$ac_ext | |
f41c2b21 DP |
19212 | cat >>conftest.$ac_ext <<_ACEOF |
19213 | /* end confdefs.h. */ | |
19214 | #ifndef __cplusplus | |
19215 | typedef int foo_t; | |
19216 | static $ac_kw foo_t static_foo () {return 0; } | |
19217 | $ac_kw foo_t foo () {return 0; } | |
19218 | #endif | |
19219 | ||
5769d1de AJ |
19220 | _ACEOF |
19221 | rm -f conftest.$ac_objext | |
0ebeb530 JW |
19222 | if { (ac_try="$ac_compile" |
19223 | case "(($ac_try" in | |
19224 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
19225 | *) ac_try_echo=$ac_try;; | |
19226 | esac | |
abf5048b AJ |
19227 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
19228 | $as_echo "$ac_try_echo") >&5 | |
0ebeb530 | 19229 | (eval "$ac_compile") 2>conftest.er1 |
5769d1de | 19230 | ac_status=$? |
875927f6 AJ |
19231 | grep -v '^ *+' conftest.er1 >conftest.err |
19232 | rm -f conftest.er1 | |
19233 | cat conftest.err >&5 | |
abf5048b | 19234 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
dc9f3843 AJ |
19235 | (exit $ac_status); } && { |
19236 | test -z "$ac_c_werror_flag" || | |
19237 | test ! -s conftest.err | |
19238 | } && test -s conftest.$ac_objext; then | |
fc6ffb29 | 19239 | ac_cv_c_inline=$ac_kw |
f5818d2f | 19240 | else |
abf5048b | 19241 | $as_echo "$as_me: failed program was:" >&5 |
e24bcc77 AJ |
19242 | sed 's/^/| /' conftest.$ac_ext >&5 |
19243 | ||
fc6ffb29 | 19244 | |
5769d1de | 19245 | fi |
fc6ffb29 | 19246 | |
0ebeb530 | 19247 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
fc6ffb29 | 19248 | test "$ac_cv_c_inline" != no && break |
f41c2b21 | 19249 | done |
f5818d2f | 19250 | |
f41c2b21 | 19251 | fi |
abf5048b AJ |
19252 | { $as_echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5 |
19253 | $as_echo "$ac_cv_c_inline" >&6; } | |
c7c217b3 | 19254 | |
5769d1de | 19255 | |
f41c2b21 DP |
19256 | case $ac_cv_c_inline in |
19257 | inline | yes) ;; | |
19258 | *) | |
19259 | case $ac_cv_c_inline in | |
19260 | no) ac_val=;; | |
19261 | *) ac_val=$ac_cv_c_inline;; | |
19262 | esac | |
19263 | cat >>confdefs.h <<_ACEOF | |
19264 | #ifndef __cplusplus | |
19265 | #define inline $ac_val | |
19266 | #endif | |
19267 | _ACEOF | |
19268 | ;; | |
19269 | esac | |
c7c217b3 | 19270 | |
abf5048b AJ |
19271 | { $as_echo "$as_me:$LINENO: checking for mode_t" >&5 |
19272 | $as_echo_n "checking for mode_t... " >&6; } | |
f41c2b21 | 19273 | if test "${ac_cv_type_mode_t+set}" = set; then |
abf5048b | 19274 | $as_echo_n "(cached) " >&6 |
f5818d2f | 19275 | else |
abf5048b AJ |
19276 | ac_cv_type_mode_t=no |
19277 | cat >conftest.$ac_ext <<_ACEOF | |
e24bcc77 AJ |
19278 | /* confdefs.h. */ |
19279 | _ACEOF | |
19280 | cat confdefs.h >>conftest.$ac_ext | |
19281 | cat >>conftest.$ac_ext <<_ACEOF | |
19282 | /* end confdefs.h. */ | |
f5818d2f AJ |
19283 | $ac_includes_default |
19284 | int | |
19285 | main () | |
19286 | { | |
abf5048b AJ |
19287 | if (sizeof (mode_t)) |
19288 | return 0; | |
f5818d2f AJ |
19289 | ; |
19290 | return 0; | |
19291 | } | |
19292 | _ACEOF | |
19293 | rm -f conftest.$ac_objext | |
0ebeb530 JW |
19294 | if { (ac_try="$ac_compile" |
19295 | case "(($ac_try" in | |
19296 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
19297 | *) ac_try_echo=$ac_try;; | |
19298 | esac | |
abf5048b AJ |
19299 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
19300 | $as_echo "$ac_try_echo") >&5 | |
0ebeb530 | 19301 | (eval "$ac_compile") 2>conftest.er1 |
f5818d2f | 19302 | ac_status=$? |
875927f6 AJ |
19303 | grep -v '^ *+' conftest.er1 >conftest.err |
19304 | rm -f conftest.er1 | |
19305 | cat conftest.err >&5 | |
abf5048b | 19306 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
dc9f3843 AJ |
19307 | (exit $ac_status); } && { |
19308 | test -z "$ac_c_werror_flag" || | |
19309 | test ! -s conftest.err | |
19310 | } && test -s conftest.$ac_objext; then | |
f41c2b21 | 19311 | cat >conftest.$ac_ext <<_ACEOF |
e24bcc77 AJ |
19312 | /* confdefs.h. */ |
19313 | _ACEOF | |
19314 | cat confdefs.h >>conftest.$ac_ext | |
19315 | cat >>conftest.$ac_ext <<_ACEOF | |
19316 | /* end confdefs.h. */ | |
f5818d2f AJ |
19317 | $ac_includes_default |
19318 | int | |
19319 | main () | |
19320 | { | |
abf5048b AJ |
19321 | if (sizeof ((mode_t))) |
19322 | return 0; | |
f5818d2f AJ |
19323 | ; |
19324 | return 0; | |
19325 | } | |
19326 | _ACEOF | |
19327 | rm -f conftest.$ac_objext | |
0ebeb530 JW |
19328 | if { (ac_try="$ac_compile" |
19329 | case "(($ac_try" in | |
19330 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
19331 | *) ac_try_echo=$ac_try;; | |
19332 | esac | |
abf5048b AJ |
19333 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
19334 | $as_echo "$ac_try_echo") >&5 | |
0ebeb530 | 19335 | (eval "$ac_compile") 2>conftest.er1 |
f5818d2f | 19336 | ac_status=$? |
875927f6 AJ |
19337 | grep -v '^ *+' conftest.er1 >conftest.err |
19338 | rm -f conftest.er1 | |
19339 | cat conftest.err >&5 | |
abf5048b | 19340 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
dc9f3843 AJ |
19341 | (exit $ac_status); } && { |
19342 | test -z "$ac_c_werror_flag" || | |
19343 | test ! -s conftest.err | |
19344 | } && test -s conftest.$ac_objext; then | |
abf5048b AJ |
19345 | : |
19346 | else | |
19347 | $as_echo "$as_me: failed program was:" >&5 | |
19348 | sed 's/^/| /' conftest.$ac_ext >&5 | |
19349 | ||
19350 | ac_cv_type_mode_t=yes | |
19351 | fi | |
19352 | ||
19353 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | |
f41c2b21 | 19354 | else |
abf5048b | 19355 | $as_echo "$as_me: failed program was:" >&5 |
f41c2b21 DP |
19356 | sed 's/^/| /' conftest.$ac_ext >&5 |
19357 | ||
abf5048b | 19358 | |
f41c2b21 | 19359 | fi |
fc6ffb29 | 19360 | |
0ebeb530 | 19361 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
f41c2b21 | 19362 | fi |
abf5048b AJ |
19363 | { $as_echo "$as_me:$LINENO: result: $ac_cv_type_mode_t" >&5 |
19364 | $as_echo "$ac_cv_type_mode_t" >&6; } | |
19365 | if test "x$ac_cv_type_mode_t" = x""yes; then | |
f41c2b21 DP |
19366 | |
19367 | cat >>confdefs.h <<_ACEOF | |
abf5048b | 19368 | #define HAVE_MODE_T 1 |
f41c2b21 DP |
19369 | _ACEOF |
19370 | ||
19371 | ||
19372 | fi | |
abf5048b AJ |
19373 | { $as_echo "$as_me:$LINENO: checking for off_t" >&5 |
19374 | $as_echo_n "checking for off_t... " >&6; } | |
19375 | if test "${ac_cv_type_off_t+set}" = set; then | |
19376 | $as_echo_n "(cached) " >&6 | |
f41c2b21 | 19377 | else |
abf5048b AJ |
19378 | ac_cv_type_off_t=no |
19379 | cat >conftest.$ac_ext <<_ACEOF | |
e24bcc77 AJ |
19380 | /* confdefs.h. */ |
19381 | _ACEOF | |
19382 | cat confdefs.h >>conftest.$ac_ext | |
19383 | cat >>conftest.$ac_ext <<_ACEOF | |
19384 | /* end confdefs.h. */ | |
f5818d2f AJ |
19385 | $ac_includes_default |
19386 | int | |
19387 | main () | |
19388 | { | |
abf5048b AJ |
19389 | if (sizeof (off_t)) |
19390 | return 0; | |
f5818d2f AJ |
19391 | ; |
19392 | return 0; | |
19393 | } | |
19394 | _ACEOF | |
19395 | rm -f conftest.$ac_objext | |
0ebeb530 JW |
19396 | if { (ac_try="$ac_compile" |
19397 | case "(($ac_try" in | |
19398 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
19399 | *) ac_try_echo=$ac_try;; | |
19400 | esac | |
abf5048b AJ |
19401 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
19402 | $as_echo "$ac_try_echo") >&5 | |
0ebeb530 | 19403 | (eval "$ac_compile") 2>conftest.er1 |
f5818d2f | 19404 | ac_status=$? |
875927f6 AJ |
19405 | grep -v '^ *+' conftest.er1 >conftest.err |
19406 | rm -f conftest.er1 | |
19407 | cat conftest.err >&5 | |
abf5048b | 19408 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
dc9f3843 AJ |
19409 | (exit $ac_status); } && { |
19410 | test -z "$ac_c_werror_flag" || | |
19411 | test ! -s conftest.err | |
19412 | } && test -s conftest.$ac_objext; then | |
f41c2b21 | 19413 | cat >conftest.$ac_ext <<_ACEOF |
e24bcc77 AJ |
19414 | /* confdefs.h. */ |
19415 | _ACEOF | |
19416 | cat confdefs.h >>conftest.$ac_ext | |
19417 | cat >>conftest.$ac_ext <<_ACEOF | |
19418 | /* end confdefs.h. */ | |
daa2886c | 19419 | $ac_includes_default |
daa2886c AJ |
19420 | int |
19421 | main () | |
19422 | { | |
abf5048b AJ |
19423 | if (sizeof ((off_t))) |
19424 | return 0; | |
19425 | ; | |
19426 | return 0; | |
19427 | } | |
19428 | _ACEOF | |
19429 | rm -f conftest.$ac_objext | |
19430 | if { (ac_try="$ac_compile" | |
19431 | case "(($ac_try" in | |
19432 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
19433 | *) ac_try_echo=$ac_try;; | |
19434 | esac | |
19435 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | |
19436 | $as_echo "$ac_try_echo") >&5 | |
19437 | (eval "$ac_compile") 2>conftest.er1 | |
19438 | ac_status=$? | |
19439 | grep -v '^ *+' conftest.er1 >conftest.err | |
19440 | rm -f conftest.er1 | |
19441 | cat conftest.err >&5 | |
19442 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
19443 | (exit $ac_status); } && { | |
19444 | test -z "$ac_c_werror_flag" || | |
19445 | test ! -s conftest.err | |
19446 | } && test -s conftest.$ac_objext; then | |
19447 | : | |
19448 | else | |
19449 | $as_echo "$as_me: failed program was:" >&5 | |
19450 | sed 's/^/| /' conftest.$ac_ext >&5 | |
19451 | ||
19452 | ac_cv_type_off_t=yes | |
19453 | fi | |
19454 | ||
19455 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | |
19456 | else | |
19457 | $as_echo "$as_me: failed program was:" >&5 | |
19458 | sed 's/^/| /' conftest.$ac_ext >&5 | |
19459 | ||
19460 | ||
19461 | fi | |
19462 | ||
19463 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | |
19464 | fi | |
19465 | { $as_echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5 | |
19466 | $as_echo "$ac_cv_type_off_t" >&6; } | |
19467 | if test "x$ac_cv_type_off_t" = x""yes; then | |
19468 | ||
19469 | cat >>confdefs.h <<_ACEOF | |
19470 | #define HAVE_OFF_T 1 | |
19471 | _ACEOF | |
19472 | ||
19473 | ||
19474 | fi | |
19475 | { $as_echo "$as_me:$LINENO: checking for pid_t" >&5 | |
19476 | $as_echo_n "checking for pid_t... " >&6; } | |
19477 | if test "${ac_cv_type_pid_t+set}" = set; then | |
19478 | $as_echo_n "(cached) " >&6 | |
19479 | else | |
19480 | ac_cv_type_pid_t=no | |
19481 | cat >conftest.$ac_ext <<_ACEOF | |
19482 | /* confdefs.h. */ | |
19483 | _ACEOF | |
19484 | cat confdefs.h >>conftest.$ac_ext | |
19485 | cat >>conftest.$ac_ext <<_ACEOF | |
19486 | /* end confdefs.h. */ | |
19487 | $ac_includes_default | |
19488 | int | |
19489 | main () | |
19490 | { | |
19491 | if (sizeof (pid_t)) | |
19492 | return 0; | |
19493 | ; | |
19494 | return 0; | |
19495 | } | |
19496 | _ACEOF | |
19497 | rm -f conftest.$ac_objext | |
19498 | if { (ac_try="$ac_compile" | |
19499 | case "(($ac_try" in | |
19500 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
19501 | *) ac_try_echo=$ac_try;; | |
19502 | esac | |
19503 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | |
19504 | $as_echo "$ac_try_echo") >&5 | |
19505 | (eval "$ac_compile") 2>conftest.er1 | |
19506 | ac_status=$? | |
19507 | grep -v '^ *+' conftest.er1 >conftest.err | |
19508 | rm -f conftest.er1 | |
19509 | cat conftest.err >&5 | |
19510 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
19511 | (exit $ac_status); } && { | |
19512 | test -z "$ac_c_werror_flag" || | |
19513 | test ! -s conftest.err | |
19514 | } && test -s conftest.$ac_objext; then | |
19515 | cat >conftest.$ac_ext <<_ACEOF | |
19516 | /* confdefs.h. */ | |
19517 | _ACEOF | |
19518 | cat confdefs.h >>conftest.$ac_ext | |
19519 | cat >>conftest.$ac_ext <<_ACEOF | |
19520 | /* end confdefs.h. */ | |
19521 | $ac_includes_default | |
19522 | int | |
19523 | main () | |
19524 | { | |
19525 | if (sizeof ((pid_t))) | |
19526 | return 0; | |
19527 | ; | |
19528 | return 0; | |
19529 | } | |
19530 | _ACEOF | |
19531 | rm -f conftest.$ac_objext | |
19532 | if { (ac_try="$ac_compile" | |
19533 | case "(($ac_try" in | |
19534 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
19535 | *) ac_try_echo=$ac_try;; | |
19536 | esac | |
19537 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | |
19538 | $as_echo "$ac_try_echo") >&5 | |
19539 | (eval "$ac_compile") 2>conftest.er1 | |
19540 | ac_status=$? | |
19541 | grep -v '^ *+' conftest.er1 >conftest.err | |
19542 | rm -f conftest.er1 | |
19543 | cat conftest.err >&5 | |
19544 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
19545 | (exit $ac_status); } && { | |
19546 | test -z "$ac_c_werror_flag" || | |
19547 | test ! -s conftest.err | |
19548 | } && test -s conftest.$ac_objext; then | |
19549 | : | |
19550 | else | |
19551 | $as_echo "$as_me: failed program was:" >&5 | |
19552 | sed 's/^/| /' conftest.$ac_ext >&5 | |
19553 | ||
19554 | ac_cv_type_pid_t=yes | |
19555 | fi | |
19556 | ||
19557 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | |
19558 | else | |
19559 | $as_echo "$as_me: failed program was:" >&5 | |
19560 | sed 's/^/| /' conftest.$ac_ext >&5 | |
19561 | ||
19562 | ||
19563 | fi | |
19564 | ||
19565 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | |
19566 | fi | |
19567 | { $as_echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5 | |
19568 | $as_echo "$ac_cv_type_pid_t" >&6; } | |
19569 | if test "x$ac_cv_type_pid_t" = x""yes; then | |
19570 | ||
19571 | cat >>confdefs.h <<_ACEOF | |
19572 | #define HAVE_PID_T 1 | |
19573 | _ACEOF | |
19574 | ||
19575 | ||
19576 | fi | |
19577 | { $as_echo "$as_me:$LINENO: checking for size_t" >&5 | |
19578 | $as_echo_n "checking for size_t... " >&6; } | |
19579 | if test "${ac_cv_type_size_t+set}" = set; then | |
19580 | $as_echo_n "(cached) " >&6 | |
19581 | else | |
19582 | ac_cv_type_size_t=no | |
19583 | cat >conftest.$ac_ext <<_ACEOF | |
19584 | /* confdefs.h. */ | |
19585 | _ACEOF | |
19586 | cat confdefs.h >>conftest.$ac_ext | |
19587 | cat >>conftest.$ac_ext <<_ACEOF | |
19588 | /* end confdefs.h. */ | |
19589 | $ac_includes_default | |
19590 | int | |
19591 | main () | |
19592 | { | |
19593 | if (sizeof (size_t)) | |
19594 | return 0; | |
19595 | ; | |
19596 | return 0; | |
19597 | } | |
19598 | _ACEOF | |
19599 | rm -f conftest.$ac_objext | |
19600 | if { (ac_try="$ac_compile" | |
19601 | case "(($ac_try" in | |
19602 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
19603 | *) ac_try_echo=$ac_try;; | |
19604 | esac | |
19605 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | |
19606 | $as_echo "$ac_try_echo") >&5 | |
19607 | (eval "$ac_compile") 2>conftest.er1 | |
19608 | ac_status=$? | |
19609 | grep -v '^ *+' conftest.er1 >conftest.err | |
19610 | rm -f conftest.er1 | |
19611 | cat conftest.err >&5 | |
19612 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
19613 | (exit $ac_status); } && { | |
19614 | test -z "$ac_c_werror_flag" || | |
19615 | test ! -s conftest.err | |
19616 | } && test -s conftest.$ac_objext; then | |
19617 | cat >conftest.$ac_ext <<_ACEOF | |
19618 | /* confdefs.h. */ | |
19619 | _ACEOF | |
19620 | cat confdefs.h >>conftest.$ac_ext | |
19621 | cat >>conftest.$ac_ext <<_ACEOF | |
19622 | /* end confdefs.h. */ | |
19623 | $ac_includes_default | |
19624 | int | |
19625 | main () | |
19626 | { | |
19627 | if (sizeof ((size_t))) | |
19628 | return 0; | |
19629 | ; | |
19630 | return 0; | |
19631 | } | |
19632 | _ACEOF | |
19633 | rm -f conftest.$ac_objext | |
19634 | if { (ac_try="$ac_compile" | |
19635 | case "(($ac_try" in | |
19636 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
19637 | *) ac_try_echo=$ac_try;; | |
19638 | esac | |
19639 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | |
19640 | $as_echo "$ac_try_echo") >&5 | |
19641 | (eval "$ac_compile") 2>conftest.er1 | |
19642 | ac_status=$? | |
19643 | grep -v '^ *+' conftest.er1 >conftest.err | |
19644 | rm -f conftest.er1 | |
19645 | cat conftest.err >&5 | |
19646 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
19647 | (exit $ac_status); } && { | |
19648 | test -z "$ac_c_werror_flag" || | |
19649 | test ! -s conftest.err | |
19650 | } && test -s conftest.$ac_objext; then | |
19651 | : | |
19652 | else | |
19653 | $as_echo "$as_me: failed program was:" >&5 | |
19654 | sed 's/^/| /' conftest.$ac_ext >&5 | |
19655 | ||
19656 | ac_cv_type_size_t=yes | |
19657 | fi | |
19658 | ||
19659 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | |
19660 | else | |
19661 | $as_echo "$as_me: failed program was:" >&5 | |
19662 | sed 's/^/| /' conftest.$ac_ext >&5 | |
19663 | ||
19664 | ||
19665 | fi | |
19666 | ||
19667 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | |
19668 | fi | |
19669 | { $as_echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5 | |
19670 | $as_echo "$ac_cv_type_size_t" >&6; } | |
19671 | if test "x$ac_cv_type_size_t" = x""yes; then | |
19672 | ||
19673 | cat >>confdefs.h <<_ACEOF | |
19674 | #define HAVE_SIZE_T 1 | |
19675 | _ACEOF | |
19676 | ||
19677 | ||
19678 | fi | |
19679 | { $as_echo "$as_me:$LINENO: checking for ssize_t" >&5 | |
19680 | $as_echo_n "checking for ssize_t... " >&6; } | |
19681 | if test "${ac_cv_type_ssize_t+set}" = set; then | |
19682 | $as_echo_n "(cached) " >&6 | |
19683 | else | |
19684 | ac_cv_type_ssize_t=no | |
19685 | cat >conftest.$ac_ext <<_ACEOF | |
19686 | /* confdefs.h. */ | |
19687 | _ACEOF | |
19688 | cat confdefs.h >>conftest.$ac_ext | |
19689 | cat >>conftest.$ac_ext <<_ACEOF | |
19690 | /* end confdefs.h. */ | |
19691 | $ac_includes_default | |
19692 | int | |
19693 | main () | |
19694 | { | |
19695 | if (sizeof (ssize_t)) | |
19696 | return 0; | |
19697 | ; | |
19698 | return 0; | |
19699 | } | |
19700 | _ACEOF | |
19701 | rm -f conftest.$ac_objext | |
19702 | if { (ac_try="$ac_compile" | |
19703 | case "(($ac_try" in | |
19704 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
19705 | *) ac_try_echo=$ac_try;; | |
19706 | esac | |
19707 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | |
19708 | $as_echo "$ac_try_echo") >&5 | |
19709 | (eval "$ac_compile") 2>conftest.er1 | |
19710 | ac_status=$? | |
19711 | grep -v '^ *+' conftest.er1 >conftest.err | |
19712 | rm -f conftest.er1 | |
19713 | cat conftest.err >&5 | |
19714 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
19715 | (exit $ac_status); } && { | |
19716 | test -z "$ac_c_werror_flag" || | |
19717 | test ! -s conftest.err | |
19718 | } && test -s conftest.$ac_objext; then | |
19719 | cat >conftest.$ac_ext <<_ACEOF | |
19720 | /* confdefs.h. */ | |
19721 | _ACEOF | |
19722 | cat confdefs.h >>conftest.$ac_ext | |
19723 | cat >>conftest.$ac_ext <<_ACEOF | |
19724 | /* end confdefs.h. */ | |
19725 | $ac_includes_default | |
19726 | int | |
19727 | main () | |
19728 | { | |
19729 | if (sizeof ((ssize_t))) | |
19730 | return 0; | |
19731 | ; | |
19732 | return 0; | |
19733 | } | |
19734 | _ACEOF | |
19735 | rm -f conftest.$ac_objext | |
19736 | if { (ac_try="$ac_compile" | |
19737 | case "(($ac_try" in | |
19738 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
19739 | *) ac_try_echo=$ac_try;; | |
19740 | esac | |
19741 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | |
19742 | $as_echo "$ac_try_echo") >&5 | |
19743 | (eval "$ac_compile") 2>conftest.er1 | |
19744 | ac_status=$? | |
19745 | grep -v '^ *+' conftest.er1 >conftest.err | |
19746 | rm -f conftest.er1 | |
19747 | cat conftest.err >&5 | |
19748 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
19749 | (exit $ac_status); } && { | |
19750 | test -z "$ac_c_werror_flag" || | |
19751 | test ! -s conftest.err | |
19752 | } && test -s conftest.$ac_objext; then | |
19753 | : | |
19754 | else | |
19755 | $as_echo "$as_me: failed program was:" >&5 | |
19756 | sed 's/^/| /' conftest.$ac_ext >&5 | |
19757 | ||
19758 | ac_cv_type_ssize_t=yes | |
19759 | fi | |
19760 | ||
19761 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | |
19762 | else | |
19763 | $as_echo "$as_me: failed program was:" >&5 | |
19764 | sed 's/^/| /' conftest.$ac_ext >&5 | |
19765 | ||
19766 | ||
19767 | fi | |
19768 | ||
19769 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | |
19770 | fi | |
19771 | { $as_echo "$as_me:$LINENO: result: $ac_cv_type_ssize_t" >&5 | |
19772 | $as_echo "$ac_cv_type_ssize_t" >&6; } | |
19773 | if test "x$ac_cv_type_ssize_t" = x""yes; then | |
19774 | ||
19775 | cat >>confdefs.h <<_ACEOF | |
19776 | #define HAVE_SSIZE_T 1 | |
19777 | _ACEOF | |
19778 | ||
19779 | ||
19780 | fi | |
19781 | { $as_echo "$as_me:$LINENO: checking for long long" >&5 | |
19782 | $as_echo_n "checking for long long... " >&6; } | |
19783 | if test "${ac_cv_type_long_long+set}" = set; then | |
19784 | $as_echo_n "(cached) " >&6 | |
19785 | else | |
19786 | ac_cv_type_long_long=no | |
19787 | cat >conftest.$ac_ext <<_ACEOF | |
19788 | /* confdefs.h. */ | |
19789 | _ACEOF | |
19790 | cat confdefs.h >>conftest.$ac_ext | |
19791 | cat >>conftest.$ac_ext <<_ACEOF | |
19792 | /* end confdefs.h. */ | |
19793 | $ac_includes_default | |
19794 | int | |
19795 | main () | |
19796 | { | |
19797 | if (sizeof (long long)) | |
19798 | return 0; | |
19799 | ; | |
19800 | return 0; | |
19801 | } | |
19802 | _ACEOF | |
19803 | rm -f conftest.$ac_objext | |
19804 | if { (ac_try="$ac_compile" | |
19805 | case "(($ac_try" in | |
19806 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
19807 | *) ac_try_echo=$ac_try;; | |
19808 | esac | |
19809 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | |
19810 | $as_echo "$ac_try_echo") >&5 | |
19811 | (eval "$ac_compile") 2>conftest.er1 | |
19812 | ac_status=$? | |
19813 | grep -v '^ *+' conftest.er1 >conftest.err | |
19814 | rm -f conftest.er1 | |
19815 | cat conftest.err >&5 | |
19816 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
19817 | (exit $ac_status); } && { | |
19818 | test -z "$ac_c_werror_flag" || | |
19819 | test ! -s conftest.err | |
19820 | } && test -s conftest.$ac_objext; then | |
19821 | cat >conftest.$ac_ext <<_ACEOF | |
19822 | /* confdefs.h. */ | |
19823 | _ACEOF | |
19824 | cat confdefs.h >>conftest.$ac_ext | |
19825 | cat >>conftest.$ac_ext <<_ACEOF | |
19826 | /* end confdefs.h. */ | |
19827 | $ac_includes_default | |
19828 | int | |
19829 | main () | |
19830 | { | |
19831 | if (sizeof ((long long))) | |
19832 | return 0; | |
19833 | ; | |
f41c2b21 | 19834 | return 0; |
abf5048b AJ |
19835 | } |
19836 | _ACEOF | |
19837 | rm -f conftest.$ac_objext | |
19838 | if { (ac_try="$ac_compile" | |
19839 | case "(($ac_try" in | |
19840 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
19841 | *) ac_try_echo=$ac_try;; | |
19842 | esac | |
19843 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | |
19844 | $as_echo "$ac_try_echo") >&5 | |
19845 | (eval "$ac_compile") 2>conftest.er1 | |
19846 | ac_status=$? | |
19847 | grep -v '^ *+' conftest.er1 >conftest.err | |
19848 | rm -f conftest.er1 | |
19849 | cat conftest.err >&5 | |
19850 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
19851 | (exit $ac_status); } && { | |
19852 | test -z "$ac_c_werror_flag" || | |
19853 | test ! -s conftest.err | |
19854 | } && test -s conftest.$ac_objext; then | |
19855 | : | |
19856 | else | |
19857 | $as_echo "$as_me: failed program was:" >&5 | |
19858 | sed 's/^/| /' conftest.$ac_ext >&5 | |
19859 | ||
19860 | ac_cv_type_long_long=yes | |
19861 | fi | |
19862 | ||
19863 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | |
19864 | else | |
19865 | $as_echo "$as_me: failed program was:" >&5 | |
19866 | sed 's/^/| /' conftest.$ac_ext >&5 | |
19867 | ||
19868 | ||
19869 | fi | |
19870 | ||
19871 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | |
19872 | fi | |
19873 | { $as_echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5 | |
19874 | $as_echo "$ac_cv_type_long_long" >&6; } | |
19875 | if test "x$ac_cv_type_long_long" = x""yes; then | |
19876 | ||
19877 | cat >>confdefs.h <<_ACEOF | |
19878 | #define HAVE_LONG_LONG 1 | |
19879 | _ACEOF | |
19880 | ||
19881 | ||
19882 | fi | |
19883 | { $as_echo "$as_me:$LINENO: checking for fsblkcnt_t" >&5 | |
19884 | $as_echo_n "checking for fsblkcnt_t... " >&6; } | |
19885 | if test "${ac_cv_type_fsblkcnt_t+set}" = set; then | |
19886 | $as_echo_n "(cached) " >&6 | |
19887 | else | |
19888 | ac_cv_type_fsblkcnt_t=no | |
19889 | cat >conftest.$ac_ext <<_ACEOF | |
19890 | /* confdefs.h. */ | |
19891 | _ACEOF | |
19892 | cat confdefs.h >>conftest.$ac_ext | |
19893 | cat >>conftest.$ac_ext <<_ACEOF | |
19894 | /* end confdefs.h. */ | |
19895 | $ac_includes_default | |
19896 | int | |
19897 | main () | |
19898 | { | |
19899 | if (sizeof (fsblkcnt_t)) | |
19900 | return 0; | |
19901 | ; | |
f41c2b21 | 19902 | return 0; |
abf5048b AJ |
19903 | } |
19904 | _ACEOF | |
19905 | rm -f conftest.$ac_objext | |
19906 | if { (ac_try="$ac_compile" | |
19907 | case "(($ac_try" in | |
19908 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
19909 | *) ac_try_echo=$ac_try;; | |
19910 | esac | |
19911 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | |
19912 | $as_echo "$ac_try_echo") >&5 | |
19913 | (eval "$ac_compile") 2>conftest.er1 | |
19914 | ac_status=$? | |
19915 | grep -v '^ *+' conftest.er1 >conftest.err | |
19916 | rm -f conftest.er1 | |
19917 | cat conftest.err >&5 | |
19918 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
19919 | (exit $ac_status); } && { | |
19920 | test -z "$ac_c_werror_flag" || | |
19921 | test ! -s conftest.err | |
19922 | } && test -s conftest.$ac_objext; then | |
19923 | cat >conftest.$ac_ext <<_ACEOF | |
19924 | /* confdefs.h. */ | |
19925 | _ACEOF | |
19926 | cat confdefs.h >>conftest.$ac_ext | |
19927 | cat >>conftest.$ac_ext <<_ACEOF | |
19928 | /* end confdefs.h. */ | |
19929 | $ac_includes_default | |
19930 | int | |
19931 | main () | |
19932 | { | |
19933 | if (sizeof ((fsblkcnt_t))) | |
19934 | return 0; | |
daa2886c AJ |
19935 | ; |
19936 | return 0; | |
19937 | } | |
19938 | _ACEOF | |
19939 | rm -f conftest.$ac_objext | |
0ebeb530 JW |
19940 | if { (ac_try="$ac_compile" |
19941 | case "(($ac_try" in | |
19942 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
19943 | *) ac_try_echo=$ac_try;; | |
19944 | esac | |
abf5048b AJ |
19945 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
19946 | $as_echo "$ac_try_echo") >&5 | |
0ebeb530 | 19947 | (eval "$ac_compile") 2>conftest.er1 |
daa2886c | 19948 | ac_status=$? |
875927f6 AJ |
19949 | grep -v '^ *+' conftest.er1 >conftest.err |
19950 | rm -f conftest.er1 | |
19951 | cat conftest.err >&5 | |
abf5048b | 19952 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
dc9f3843 AJ |
19953 | (exit $ac_status); } && { |
19954 | test -z "$ac_c_werror_flag" || | |
19955 | test ! -s conftest.err | |
19956 | } && test -s conftest.$ac_objext; then | |
abf5048b AJ |
19957 | : |
19958 | else | |
19959 | $as_echo "$as_me: failed program was:" >&5 | |
19960 | sed 's/^/| /' conftest.$ac_ext >&5 | |
19961 | ||
19962 | ac_cv_type_fsblkcnt_t=yes | |
19963 | fi | |
19964 | ||
19965 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | |
f41c2b21 | 19966 | else |
abf5048b | 19967 | $as_echo "$as_me: failed program was:" >&5 |
f41c2b21 DP |
19968 | sed 's/^/| /' conftest.$ac_ext >&5 |
19969 | ||
abf5048b | 19970 | |
f41c2b21 | 19971 | fi |
fc6ffb29 | 19972 | |
0ebeb530 | 19973 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
f41c2b21 | 19974 | fi |
abf5048b AJ |
19975 | { $as_echo "$as_me:$LINENO: result: $ac_cv_type_fsblkcnt_t" >&5 |
19976 | $as_echo "$ac_cv_type_fsblkcnt_t" >&6; } | |
19977 | if test "x$ac_cv_type_fsblkcnt_t" = x""yes; then | |
f41c2b21 DP |
19978 | |
19979 | cat >>confdefs.h <<_ACEOF | |
abf5048b | 19980 | #define HAVE_FSBLKCNT_T 1 |
f41c2b21 DP |
19981 | _ACEOF |
19982 | ||
19983 | ||
19984 | fi | |
abf5048b AJ |
19985 | { $as_echo "$as_me:$LINENO: checking for fsfilcnt_t" >&5 |
19986 | $as_echo_n "checking for fsfilcnt_t... " >&6; } | |
19987 | if test "${ac_cv_type_fsfilcnt_t+set}" = set; then | |
19988 | $as_echo_n "(cached) " >&6 | |
f41c2b21 | 19989 | else |
abf5048b AJ |
19990 | ac_cv_type_fsfilcnt_t=no |
19991 | cat >conftest.$ac_ext <<_ACEOF | |
e24bcc77 AJ |
19992 | /* confdefs.h. */ |
19993 | _ACEOF | |
19994 | cat confdefs.h >>conftest.$ac_ext | |
19995 | cat >>conftest.$ac_ext <<_ACEOF | |
19996 | /* end confdefs.h. */ | |
f5818d2f AJ |
19997 | $ac_includes_default |
19998 | int | |
19999 | main () | |
20000 | { | |
abf5048b AJ |
20001 | if (sizeof (fsfilcnt_t)) |
20002 | return 0; | |
f5818d2f AJ |
20003 | ; |
20004 | return 0; | |
20005 | } | |
20006 | _ACEOF | |
20007 | rm -f conftest.$ac_objext | |
0ebeb530 JW |
20008 | if { (ac_try="$ac_compile" |
20009 | case "(($ac_try" in | |
20010 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
20011 | *) ac_try_echo=$ac_try;; | |
20012 | esac | |
abf5048b AJ |
20013 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
20014 | $as_echo "$ac_try_echo") >&5 | |
0ebeb530 | 20015 | (eval "$ac_compile") 2>conftest.er1 |
f5818d2f | 20016 | ac_status=$? |
875927f6 AJ |
20017 | grep -v '^ *+' conftest.er1 >conftest.err |
20018 | rm -f conftest.er1 | |
20019 | cat conftest.err >&5 | |
abf5048b | 20020 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
dc9f3843 AJ |
20021 | (exit $ac_status); } && { |
20022 | test -z "$ac_c_werror_flag" || | |
20023 | test ! -s conftest.err | |
20024 | } && test -s conftest.$ac_objext; then | |
f5818d2f | 20025 | cat >conftest.$ac_ext <<_ACEOF |
e24bcc77 AJ |
20026 | /* confdefs.h. */ |
20027 | _ACEOF | |
20028 | cat confdefs.h >>conftest.$ac_ext | |
20029 | cat >>conftest.$ac_ext <<_ACEOF | |
20030 | /* end confdefs.h. */ | |
f5818d2f AJ |
20031 | $ac_includes_default |
20032 | int | |
20033 | main () | |
20034 | { | |
abf5048b AJ |
20035 | if (sizeof ((fsfilcnt_t))) |
20036 | return 0; | |
f5818d2f AJ |
20037 | ; |
20038 | return 0; | |
20039 | } | |
20040 | _ACEOF | |
20041 | rm -f conftest.$ac_objext | |
0ebeb530 JW |
20042 | if { (ac_try="$ac_compile" |
20043 | case "(($ac_try" in | |
20044 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
20045 | *) ac_try_echo=$ac_try;; | |
20046 | esac | |
abf5048b AJ |
20047 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
20048 | $as_echo "$ac_try_echo") >&5 | |
0ebeb530 | 20049 | (eval "$ac_compile") 2>conftest.er1 |
f5818d2f | 20050 | ac_status=$? |
875927f6 AJ |
20051 | grep -v '^ *+' conftest.er1 >conftest.err |
20052 | rm -f conftest.er1 | |
20053 | cat conftest.err >&5 | |
abf5048b | 20054 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
dc9f3843 AJ |
20055 | (exit $ac_status); } && { |
20056 | test -z "$ac_c_werror_flag" || | |
20057 | test ! -s conftest.err | |
20058 | } && test -s conftest.$ac_objext; then | |
abf5048b AJ |
20059 | : |
20060 | else | |
20061 | $as_echo "$as_me: failed program was:" >&5 | |
20062 | sed 's/^/| /' conftest.$ac_ext >&5 | |
20063 | ||
20064 | ac_cv_type_fsfilcnt_t=yes | |
20065 | fi | |
20066 | ||
20067 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | |
f5818d2f | 20068 | else |
abf5048b | 20069 | $as_echo "$as_me: failed program was:" >&5 |
e24bcc77 AJ |
20070 | sed 's/^/| /' conftest.$ac_ext >&5 |
20071 | ||
abf5048b | 20072 | |
f5818d2f | 20073 | fi |
fc6ffb29 | 20074 | |
0ebeb530 | 20075 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
f5818d2f | 20076 | fi |
abf5048b AJ |
20077 | { $as_echo "$as_me:$LINENO: result: $ac_cv_type_fsfilcnt_t" >&5 |
20078 | $as_echo "$ac_cv_type_fsfilcnt_t" >&6; } | |
20079 | if test "x$ac_cv_type_fsfilcnt_t" = x""yes; then | |
f41c2b21 | 20080 | |
daa2886c | 20081 | cat >>confdefs.h <<_ACEOF |
abf5048b | 20082 | #define HAVE_FSFILCNT_T 1 |
daa2886c AJ |
20083 | _ACEOF |
20084 | ||
20085 | ||
13af4891 | 20086 | fi |
abf5048b AJ |
20087 | |
20088 | { $as_echo "$as_me:$LINENO: checking for sigset_t" >&5 | |
20089 | $as_echo_n "checking for sigset_t... " >&6; } | |
20090 | if test "${ac_cv_type_sigset_t+set}" = set; then | |
20091 | $as_echo_n "(cached) " >&6 | |
13af4891 | 20092 | else |
abf5048b AJ |
20093 | ac_cv_type_sigset_t=no |
20094 | cat >conftest.$ac_ext <<_ACEOF | |
13af4891 AJ |
20095 | /* confdefs.h. */ |
20096 | _ACEOF | |
20097 | cat confdefs.h >>conftest.$ac_ext | |
20098 | cat >>conftest.$ac_ext <<_ACEOF | |
20099 | /* end confdefs.h. */ | |
abf5048b AJ |
20100 | #include <sys/types.h> |
20101 | #include <signal.h> | |
20102 | ||
13af4891 AJ |
20103 | int |
20104 | main () | |
20105 | { | |
abf5048b AJ |
20106 | if (sizeof (sigset_t)) |
20107 | return 0; | |
13af4891 AJ |
20108 | ; |
20109 | return 0; | |
20110 | } | |
20111 | _ACEOF | |
20112 | rm -f conftest.$ac_objext | |
0ebeb530 JW |
20113 | if { (ac_try="$ac_compile" |
20114 | case "(($ac_try" in | |
20115 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
20116 | *) ac_try_echo=$ac_try;; | |
20117 | esac | |
abf5048b AJ |
20118 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
20119 | $as_echo "$ac_try_echo") >&5 | |
0ebeb530 | 20120 | (eval "$ac_compile") 2>conftest.er1 |
13af4891 AJ |
20121 | ac_status=$? |
20122 | grep -v '^ *+' conftest.er1 >conftest.err | |
20123 | rm -f conftest.er1 | |
20124 | cat conftest.err >&5 | |
abf5048b | 20125 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
dc9f3843 AJ |
20126 | (exit $ac_status); } && { |
20127 | test -z "$ac_c_werror_flag" || | |
20128 | test ! -s conftest.err | |
20129 | } && test -s conftest.$ac_objext; then | |
13af4891 AJ |
20130 | cat >conftest.$ac_ext <<_ACEOF |
20131 | /* confdefs.h. */ | |
20132 | _ACEOF | |
20133 | cat confdefs.h >>conftest.$ac_ext | |
20134 | cat >>conftest.$ac_ext <<_ACEOF | |
20135 | /* end confdefs.h. */ | |
abf5048b AJ |
20136 | #include <sys/types.h> |
20137 | #include <signal.h> | |
20138 | ||
13af4891 AJ |
20139 | int |
20140 | main () | |
20141 | { | |
abf5048b AJ |
20142 | if (sizeof ((sigset_t))) |
20143 | return 0; | |
13af4891 AJ |
20144 | ; |
20145 | return 0; | |
20146 | } | |
20147 | _ACEOF | |
20148 | rm -f conftest.$ac_objext | |
0ebeb530 JW |
20149 | if { (ac_try="$ac_compile" |
20150 | case "(($ac_try" in | |
20151 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
20152 | *) ac_try_echo=$ac_try;; | |
20153 | esac | |
abf5048b AJ |
20154 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
20155 | $as_echo "$ac_try_echo") >&5 | |
0ebeb530 | 20156 | (eval "$ac_compile") 2>conftest.er1 |
13af4891 AJ |
20157 | ac_status=$? |
20158 | grep -v '^ *+' conftest.er1 >conftest.err | |
20159 | rm -f conftest.er1 | |
20160 | cat conftest.err >&5 | |
abf5048b | 20161 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
dc9f3843 AJ |
20162 | (exit $ac_status); } && { |
20163 | test -z "$ac_c_werror_flag" || | |
20164 | test ! -s conftest.err | |
20165 | } && test -s conftest.$ac_objext; then | |
abf5048b AJ |
20166 | : |
20167 | else | |
20168 | $as_echo "$as_me: failed program was:" >&5 | |
20169 | sed 's/^/| /' conftest.$ac_ext >&5 | |
20170 | ||
20171 | ac_cv_type_sigset_t=yes | |
20172 | fi | |
20173 | ||
20174 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | |
13af4891 | 20175 | else |
abf5048b | 20176 | $as_echo "$as_me: failed program was:" >&5 |
13af4891 AJ |
20177 | sed 's/^/| /' conftest.$ac_ext >&5 |
20178 | ||
abf5048b | 20179 | |
13af4891 | 20180 | fi |
fc6ffb29 | 20181 | |
0ebeb530 | 20182 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
13af4891 | 20183 | fi |
abf5048b AJ |
20184 | { $as_echo "$as_me:$LINENO: result: $ac_cv_type_sigset_t" >&5 |
20185 | $as_echo "$ac_cv_type_sigset_t" >&6; } | |
20186 | if test "x$ac_cv_type_sigset_t" = x""yes; then | |
13af4891 AJ |
20187 | |
20188 | cat >>confdefs.h <<_ACEOF | |
abf5048b | 20189 | #define HAVE_SIGSET_T 1 |
13af4891 AJ |
20190 | _ACEOF |
20191 | ||
20192 | ||
10a6c560 PM |
20193 | fi |
20194 | ||
abf5048b AJ |
20195 | { $as_echo "$as_me:$LINENO: checking for request_sense" >&5 |
20196 | $as_echo_n "checking for request_sense... " >&6; } | |
20197 | if test "${ac_cv_type_request_sense+set}" = set; then | |
20198 | $as_echo_n "(cached) " >&6 | |
10a6c560 | 20199 | else |
abf5048b AJ |
20200 | ac_cv_type_request_sense=no |
20201 | cat >conftest.$ac_ext <<_ACEOF | |
10a6c560 PM |
20202 | /* confdefs.h. */ |
20203 | _ACEOF | |
20204 | cat confdefs.h >>conftest.$ac_ext | |
20205 | cat >>conftest.$ac_ext <<_ACEOF | |
20206 | /* end confdefs.h. */ | |
abf5048b | 20207 | #include <linux/cdrom.h> |
10a6c560 PM |
20208 | |
20209 | int | |
20210 | main () | |
20211 | { | |
abf5048b AJ |
20212 | if (sizeof (request_sense)) |
20213 | return 0; | |
10a6c560 PM |
20214 | ; |
20215 | return 0; | |
20216 | } | |
20217 | _ACEOF | |
20218 | rm -f conftest.$ac_objext | |
0ebeb530 JW |
20219 | if { (ac_try="$ac_compile" |
20220 | case "(($ac_try" in | |
20221 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
20222 | *) ac_try_echo=$ac_try;; | |
20223 | esac | |
abf5048b AJ |
20224 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
20225 | $as_echo "$ac_try_echo") >&5 | |
0ebeb530 | 20226 | (eval "$ac_compile") 2>conftest.er1 |
10a6c560 PM |
20227 | ac_status=$? |
20228 | grep -v '^ *+' conftest.er1 >conftest.err | |
20229 | rm -f conftest.er1 | |
20230 | cat conftest.err >&5 | |
abf5048b | 20231 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
dc9f3843 AJ |
20232 | (exit $ac_status); } && { |
20233 | test -z "$ac_c_werror_flag" || | |
20234 | test ! -s conftest.err | |
20235 | } && test -s conftest.$ac_objext; then | |
b8b15f3e GP |
20236 | cat >conftest.$ac_ext <<_ACEOF |
20237 | /* confdefs.h. */ | |
20238 | _ACEOF | |
20239 | cat confdefs.h >>conftest.$ac_ext | |
20240 | cat >>conftest.$ac_ext <<_ACEOF | |
20241 | /* end confdefs.h. */ | |
20242 | #include <linux/cdrom.h> | |
20243 | ||
20244 | int | |
20245 | main () | |
20246 | { | |
abf5048b AJ |
20247 | if (sizeof ((request_sense))) |
20248 | return 0; | |
b8b15f3e GP |
20249 | ; |
20250 | return 0; | |
20251 | } | |
20252 | _ACEOF | |
20253 | rm -f conftest.$ac_objext | |
0ebeb530 JW |
20254 | if { (ac_try="$ac_compile" |
20255 | case "(($ac_try" in | |
20256 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
20257 | *) ac_try_echo=$ac_try;; | |
20258 | esac | |
abf5048b AJ |
20259 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
20260 | $as_echo "$ac_try_echo") >&5 | |
0ebeb530 | 20261 | (eval "$ac_compile") 2>conftest.er1 |
b8b15f3e GP |
20262 | ac_status=$? |
20263 | grep -v '^ *+' conftest.er1 >conftest.err | |
20264 | rm -f conftest.er1 | |
20265 | cat conftest.err >&5 | |
abf5048b | 20266 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
dc9f3843 AJ |
20267 | (exit $ac_status); } && { |
20268 | test -z "$ac_c_werror_flag" || | |
20269 | test ! -s conftest.err | |
20270 | } && test -s conftest.$ac_objext; then | |
abf5048b AJ |
20271 | : |
20272 | else | |
20273 | $as_echo "$as_me: failed program was:" >&5 | |
20274 | sed 's/^/| /' conftest.$ac_ext >&5 | |
20275 | ||
20276 | ac_cv_type_request_sense=yes | |
20277 | fi | |
20278 | ||
20279 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | |
b8b15f3e | 20280 | else |
abf5048b | 20281 | $as_echo "$as_me: failed program was:" >&5 |
b8b15f3e GP |
20282 | sed 's/^/| /' conftest.$ac_ext >&5 |
20283 | ||
abf5048b | 20284 | |
b8b15f3e | 20285 | fi |
fc6ffb29 | 20286 | |
0ebeb530 | 20287 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
b8b15f3e | 20288 | fi |
abf5048b AJ |
20289 | { $as_echo "$as_me:$LINENO: result: $ac_cv_type_request_sense" >&5 |
20290 | $as_echo "$ac_cv_type_request_sense" >&6; } | |
20291 | if test "x$ac_cv_type_request_sense" = x""yes; then | |
b8b15f3e GP |
20292 | |
20293 | cat >>confdefs.h <<_ACEOF | |
20294 | #define HAVE_REQUEST_SENSE 1 | |
20295 | _ACEOF | |
20296 | ||
20297 | ||
f41c2b21 DP |
20298 | fi |
20299 | ||
c7c217b3 | 20300 | |
abf5048b AJ |
20301 | { $as_echo "$as_me:$LINENO: checking for struct ff_effect.direction" >&5 |
20302 | $as_echo_n "checking for struct ff_effect.direction... " >&6; } | |
e491e8f8 | 20303 | if test "${ac_cv_member_struct_ff_effect_direction+set}" = set; then |
abf5048b | 20304 | $as_echo_n "(cached) " >&6 |
e491e8f8 DR |
20305 | else |
20306 | cat >conftest.$ac_ext <<_ACEOF | |
20307 | /* confdefs.h. */ | |
20308 | _ACEOF | |
20309 | cat confdefs.h >>conftest.$ac_ext | |
20310 | cat >>conftest.$ac_ext <<_ACEOF | |
20311 | /* end confdefs.h. */ | |
20312 | #ifdef HAVE_LINUX_INPUT_H | |
20313 | #include <linux/input.h> | |
20314 | #endif | |
20315 | ||
20316 | int | |
20317 | main () | |
20318 | { | |
20319 | static struct ff_effect ac_aggr; | |
20320 | if (ac_aggr.direction) | |
20321 | return 0; | |
20322 | ; | |
20323 | return 0; | |
20324 | } | |
20325 | _ACEOF | |
20326 | rm -f conftest.$ac_objext | |
0ebeb530 JW |
20327 | if { (ac_try="$ac_compile" |
20328 | case "(($ac_try" in | |
20329 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
20330 | *) ac_try_echo=$ac_try;; | |
20331 | esac | |
abf5048b AJ |
20332 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
20333 | $as_echo "$ac_try_echo") >&5 | |
0ebeb530 | 20334 | (eval "$ac_compile") 2>conftest.er1 |
e491e8f8 DR |
20335 | ac_status=$? |
20336 | grep -v '^ *+' conftest.er1 >conftest.err | |
20337 | rm -f conftest.er1 | |
20338 | cat conftest.err >&5 | |
abf5048b | 20339 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
dc9f3843 AJ |
20340 | (exit $ac_status); } && { |
20341 | test -z "$ac_c_werror_flag" || | |
20342 | test ! -s conftest.err | |
20343 | } && test -s conftest.$ac_objext; then | |
e491e8f8 DR |
20344 | ac_cv_member_struct_ff_effect_direction=yes |
20345 | else | |
abf5048b | 20346 | $as_echo "$as_me: failed program was:" >&5 |
e491e8f8 DR |
20347 | sed 's/^/| /' conftest.$ac_ext >&5 |
20348 | ||
fc6ffb29 | 20349 | cat >conftest.$ac_ext <<_ACEOF |
e491e8f8 DR |
20350 | /* confdefs.h. */ |
20351 | _ACEOF | |
20352 | cat confdefs.h >>conftest.$ac_ext | |
20353 | cat >>conftest.$ac_ext <<_ACEOF | |
20354 | /* end confdefs.h. */ | |
20355 | #ifdef HAVE_LINUX_INPUT_H | |
20356 | #include <linux/input.h> | |
20357 | #endif | |
20358 | ||
20359 | int | |
20360 | main () | |
20361 | { | |
20362 | static struct ff_effect ac_aggr; | |
20363 | if (sizeof ac_aggr.direction) | |
20364 | return 0; | |
20365 | ; | |
20366 | return 0; | |
20367 | } | |
20368 | _ACEOF | |
20369 | rm -f conftest.$ac_objext | |
0ebeb530 JW |
20370 | if { (ac_try="$ac_compile" |
20371 | case "(($ac_try" in | |
20372 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
20373 | *) ac_try_echo=$ac_try;; | |
20374 | esac | |
abf5048b AJ |
20375 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
20376 | $as_echo "$ac_try_echo") >&5 | |
0ebeb530 | 20377 | (eval "$ac_compile") 2>conftest.er1 |
e491e8f8 DR |
20378 | ac_status=$? |
20379 | grep -v '^ *+' conftest.er1 >conftest.err | |
20380 | rm -f conftest.er1 | |
20381 | cat conftest.err >&5 | |
abf5048b | 20382 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
dc9f3843 AJ |
20383 | (exit $ac_status); } && { |
20384 | test -z "$ac_c_werror_flag" || | |
20385 | test ! -s conftest.err | |
20386 | } && test -s conftest.$ac_objext; then | |
e491e8f8 DR |
20387 | ac_cv_member_struct_ff_effect_direction=yes |
20388 | else | |
abf5048b | 20389 | $as_echo "$as_me: failed program was:" >&5 |
e491e8f8 DR |
20390 | sed 's/^/| /' conftest.$ac_ext >&5 |
20391 | ||
fc6ffb29 | 20392 | ac_cv_member_struct_ff_effect_direction=no |
e491e8f8 | 20393 | fi |
fc6ffb29 | 20394 | |
0ebeb530 | 20395 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
e491e8f8 | 20396 | fi |
fc6ffb29 | 20397 | |
0ebeb530 | 20398 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
e491e8f8 | 20399 | fi |
abf5048b AJ |
20400 | { $as_echo "$as_me:$LINENO: result: $ac_cv_member_struct_ff_effect_direction" >&5 |
20401 | $as_echo "$ac_cv_member_struct_ff_effect_direction" >&6; } | |
20402 | if test "x$ac_cv_member_struct_ff_effect_direction" = x""yes; then | |
e491e8f8 DR |
20403 | |
20404 | cat >>confdefs.h <<_ACEOF | |
20405 | #define HAVE_STRUCT_FF_EFFECT_DIRECTION 1 | |
20406 | _ACEOF | |
20407 | ||
20408 | ||
20409 | fi | |
20410 | ||
20411 | ||
abf5048b AJ |
20412 | { $as_echo "$as_me:$LINENO: checking for sigaddset" >&5 |
20413 | $as_echo_n "checking for sigaddset... " >&6; } | |
10a6c560 | 20414 | if test "${wine_cv_have_sigaddset+set}" = set; then |
abf5048b | 20415 | $as_echo_n "(cached) " >&6 |
10a6c560 PM |
20416 | else |
20417 | cat >conftest.$ac_ext <<_ACEOF | |
20418 | /* confdefs.h. */ | |
20419 | _ACEOF | |
20420 | cat confdefs.h >>conftest.$ac_ext | |
20421 | cat >>conftest.$ac_ext <<_ACEOF | |
20422 | /* end confdefs.h. */ | |
20423 | #include <signal.h> | |
20424 | int | |
20425 | main () | |
20426 | { | |
20427 | sigset_t set; sigaddset(&set,SIGTERM); | |
20428 | ; | |
20429 | return 0; | |
20430 | } | |
20431 | _ACEOF | |
20432 | rm -f conftest.$ac_objext conftest$ac_exeext | |
0ebeb530 JW |
20433 | if { (ac_try="$ac_link" |
20434 | case "(($ac_try" in | |
20435 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
20436 | *) ac_try_echo=$ac_try;; | |
20437 | esac | |
abf5048b AJ |
20438 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
20439 | $as_echo "$ac_try_echo") >&5 | |
0ebeb530 | 20440 | (eval "$ac_link") 2>conftest.er1 |
10a6c560 PM |
20441 | ac_status=$? |
20442 | grep -v '^ *+' conftest.er1 >conftest.err | |
20443 | rm -f conftest.er1 | |
20444 | cat conftest.err >&5 | |
abf5048b | 20445 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
dc9f3843 AJ |
20446 | (exit $ac_status); } && { |
20447 | test -z "$ac_c_werror_flag" || | |
20448 | test ! -s conftest.err | |
abf5048b AJ |
20449 | } && test -s conftest$ac_exeext && { |
20450 | test "$cross_compiling" = yes || | |
20451 | $as_test_x conftest$ac_exeext | |
20452 | }; then | |
10a6c560 PM |
20453 | wine_cv_have_sigaddset=yes |
20454 | else | |
abf5048b | 20455 | $as_echo "$as_me: failed program was:" >&5 |
10a6c560 PM |
20456 | sed 's/^/| /' conftest.$ac_ext >&5 |
20457 | ||
fc6ffb29 | 20458 | wine_cv_have_sigaddset=no |
10a6c560 | 20459 | fi |
fc6ffb29 | 20460 | |
abf5048b | 20461 | rm -rf conftest.dSYM |
f0ca586f | 20462 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ |
10a6c560 PM |
20463 | conftest$ac_exeext conftest.$ac_ext |
20464 | fi | |
abf5048b AJ |
20465 | { $as_echo "$as_me:$LINENO: result: $wine_cv_have_sigaddset" >&5 |
20466 | $as_echo "$wine_cv_have_sigaddset" >&6; } | |
10a6c560 PM |
20467 | if test "$wine_cv_have_sigaddset" = "yes" |
20468 | then | |
20469 | ||
20470 | cat >>confdefs.h <<\_ACEOF | |
20471 | #define HAVE_SIGADDSET 1 | |
20472 | _ACEOF | |
20473 | ||
20474 | fi | |
20475 | ||
daa2886c | 20476 | |
abf5048b AJ |
20477 | { $as_echo "$as_me:$LINENO: checking whether we can use re-entrant gethostbyname_r Linux style" >&5 |
20478 | $as_echo_n "checking whether we can use re-entrant gethostbyname_r Linux style... " >&6; } | |
f5818d2f | 20479 | if test "${wine_cv_linux_gethostbyname_r_6+set}" = set; then |
abf5048b | 20480 | $as_echo_n "(cached) " >&6 |
ff7a61f8 | 20481 | else |
f5818d2f | 20482 | cat >conftest.$ac_ext <<_ACEOF |
e24bcc77 AJ |
20483 | /* confdefs.h. */ |
20484 | _ACEOF | |
20485 | cat confdefs.h >>conftest.$ac_ext | |
20486 | cat >>conftest.$ac_ext <<_ACEOF | |
20487 | /* end confdefs.h. */ | |
ff7a61f8 | 20488 | #include <netdb.h> |
f5818d2f AJ |
20489 | int |
20490 | main () | |
20491 | { | |
ff7a61f8 | 20492 | |
20d9bade | 20493 | char *name=0; |
ff7a61f8 RK |
20494 | struct hostent he; |
20495 | struct hostent *result; | |
20d9bade | 20496 | char *buf=0; |
ff7a61f8 RK |
20497 | int bufsize=0; |
20498 | int res,errnr; | |
20d9bade | 20499 | char *addr=0; |
ff7a61f8 RK |
20500 | int addrlen=0; |
20501 | int addrtype=0; | |
20502 | res=gethostbyname_r(name,&he,buf,bufsize,&result,&errnr); | |
20503 | res=gethostbyaddr_r(addr, addrlen, addrtype,&he,buf,bufsize,&result,&errnr); | |
f5818d2f AJ |
20504 | |
20505 | ; | |
20506 | return 0; | |
20507 | } | |
20508 | _ACEOF | |
dfd315b4 | 20509 | rm -f conftest.$ac_objext conftest$ac_exeext |
0ebeb530 JW |
20510 | if { (ac_try="$ac_link" |
20511 | case "(($ac_try" in | |
20512 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
20513 | *) ac_try_echo=$ac_try;; | |
20514 | esac | |
abf5048b AJ |
20515 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
20516 | $as_echo "$ac_try_echo") >&5 | |
0ebeb530 | 20517 | (eval "$ac_link") 2>conftest.er1 |
f5818d2f | 20518 | ac_status=$? |
875927f6 AJ |
20519 | grep -v '^ *+' conftest.er1 >conftest.err |
20520 | rm -f conftest.er1 | |
20521 | cat conftest.err >&5 | |
abf5048b | 20522 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
dc9f3843 AJ |
20523 | (exit $ac_status); } && { |
20524 | test -z "$ac_c_werror_flag" || | |
20525 | test ! -s conftest.err | |
abf5048b AJ |
20526 | } && test -s conftest$ac_exeext && { |
20527 | test "$cross_compiling" = yes || | |
20528 | $as_test_x conftest$ac_exeext | |
20529 | }; then | |
ff7a61f8 RK |
20530 | wine_cv_linux_gethostbyname_r_6=yes |
20531 | else | |
abf5048b | 20532 | $as_echo "$as_me: failed program was:" >&5 |
e24bcc77 AJ |
20533 | sed 's/^/| /' conftest.$ac_ext >&5 |
20534 | ||
fc6ffb29 | 20535 | wine_cv_linux_gethostbyname_r_6=no |
f5818d2f | 20536 | |
ff7a61f8 | 20537 | fi |
fc6ffb29 | 20538 | |
abf5048b | 20539 | rm -rf conftest.dSYM |
f0ca586f | 20540 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ |
dfd315b4 | 20541 | conftest$ac_exeext conftest.$ac_ext |
ff7a61f8 | 20542 | |
f5818d2f | 20543 | fi |
abf5048b AJ |
20544 | { $as_echo "$as_me:$LINENO: result: $wine_cv_linux_gethostbyname_r_6" >&5 |
20545 | $as_echo "$wine_cv_linux_gethostbyname_r_6" >&6; } | |
ff7a61f8 RK |
20546 | if test "$wine_cv_linux_gethostbyname_r_6" = "yes" |
20547 | then | |
f5818d2f | 20548 | |
daa2886c | 20549 | cat >>confdefs.h <<\_ACEOF |
ff7a61f8 | 20550 | #define HAVE_LINUX_GETHOSTBYNAME_R_6 1 |
daa2886c | 20551 | _ACEOF |
ff7a61f8 RK |
20552 | |
20553 | fi | |
20554 | ||
028e9a17 MM |
20555 | if test "$ac_cv_header_linux_joystick_h" = "yes" |
20556 | then | |
abf5048b AJ |
20557 | { $as_echo "$as_me:$LINENO: checking whether linux/joystick.h uses the Linux 2.2+ API" >&5 |
20558 | $as_echo_n "checking whether linux/joystick.h uses the Linux 2.2+ API... " >&6; } | |
f5818d2f | 20559 | if test "${wine_cv_linux_joystick_22_api+set}" = set; then |
abf5048b | 20560 | $as_echo_n "(cached) " >&6 |
028e9a17 | 20561 | else |
f5818d2f | 20562 | cat >conftest.$ac_ext <<_ACEOF |
e24bcc77 AJ |
20563 | /* confdefs.h. */ |
20564 | _ACEOF | |
20565 | cat confdefs.h >>conftest.$ac_ext | |
20566 | cat >>conftest.$ac_ext <<_ACEOF | |
20567 | /* end confdefs.h. */ | |
028e9a17 MM |
20568 | |
20569 | #include <sys/ioctl.h> | |
7c434992 | 20570 | #include <sys/types.h> |
028e9a17 MM |
20571 | #include <linux/joystick.h> |
20572 | ||
20573 | struct js_event blub; | |
605a9c39 MM |
20574 | #if !defined(JS_EVENT_AXIS) || !defined(JS_EVENT_BUTTON) |
20575 | #error "no 2.2 header" | |
20576 | #endif | |
f5818d2f AJ |
20577 | |
20578 | int | |
20579 | main () | |
20580 | { | |
028e9a17 | 20581 | /*empty*/ |
f5818d2f AJ |
20582 | ; |
20583 | return 0; | |
20584 | } | |
20585 | _ACEOF | |
20586 | rm -f conftest.$ac_objext | |
0ebeb530 JW |
20587 | if { (ac_try="$ac_compile" |
20588 | case "(($ac_try" in | |
20589 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
20590 | *) ac_try_echo=$ac_try;; | |
20591 | esac | |
abf5048b AJ |
20592 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
20593 | $as_echo "$ac_try_echo") >&5 | |
0ebeb530 | 20594 | (eval "$ac_compile") 2>conftest.er1 |
f5818d2f | 20595 | ac_status=$? |
875927f6 AJ |
20596 | grep -v '^ *+' conftest.er1 >conftest.err |
20597 | rm -f conftest.er1 | |
20598 | cat conftest.err >&5 | |
abf5048b | 20599 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
dc9f3843 AJ |
20600 | (exit $ac_status); } && { |
20601 | test -z "$ac_c_werror_flag" || | |
20602 | test ! -s conftest.err | |
20603 | } && test -s conftest.$ac_objext; then | |
028e9a17 MM |
20604 | wine_cv_linux_joystick_22_api=yes |
20605 | else | |
abf5048b | 20606 | $as_echo "$as_me: failed program was:" >&5 |
e24bcc77 AJ |
20607 | sed 's/^/| /' conftest.$ac_ext >&5 |
20608 | ||
fc6ffb29 | 20609 | wine_cv_linux_joystick_22_api=no |
028e9a17 | 20610 | fi |
fc6ffb29 | 20611 | |
0ebeb530 | 20612 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
028e9a17 | 20613 | |
f5818d2f | 20614 | fi |
abf5048b AJ |
20615 | { $as_echo "$as_me:$LINENO: result: $wine_cv_linux_joystick_22_api" >&5 |
20616 | $as_echo "$wine_cv_linux_joystick_22_api" >&6; } | |
87d224ac | 20617 | if test "$wine_cv_linux_joystick_22_api" = "yes" |
028e9a17 | 20618 | then |
f5818d2f | 20619 | |
daa2886c | 20620 | cat >>confdefs.h <<\_ACEOF |
028e9a17 | 20621 | #define HAVE_LINUX_22_JOYSTICK_API 1 |
daa2886c | 20622 | _ACEOF |
028e9a17 MM |
20623 | |
20624 | fi | |
20625 | fi | |
20626 | ||
daa2886c | 20627 | |
abf5048b AJ |
20628 | { $as_echo "$as_me:$LINENO: checking for struct statfs.f_bfree" >&5 |
20629 | $as_echo_n "checking for struct statfs.f_bfree... " >&6; } | |
5537dbbf | 20630 | if test "${ac_cv_member_struct_statfs_f_bfree+set}" = set; then |
abf5048b | 20631 | $as_echo_n "(cached) " >&6 |
c7c217b3 | 20632 | else |
f5818d2f | 20633 | cat >conftest.$ac_ext <<_ACEOF |
e24bcc77 AJ |
20634 | /* confdefs.h. */ |
20635 | _ACEOF | |
20636 | cat confdefs.h >>conftest.$ac_ext | |
20637 | cat >>conftest.$ac_ext <<_ACEOF | |
20638 | /* end confdefs.h. */ | |
f5818d2f AJ |
20639 | #include <sys/types.h> |
20640 | #ifdef HAVE_SYS_PARAM_H | |
20641 | # include <sys/param.h> | |
20642 | #endif | |
55b74483 | 20643 | #ifdef HAVE_SYS_MOUNT_H |
f5818d2f | 20644 | # include <sys/mount.h> |
55b74483 RM |
20645 | #endif |
20646 | #ifdef HAVE_SYS_VFS_H | |
20647 | # include <sys/vfs.h> | |
20648 | #endif | |
20649 | #ifdef HAVE_SYS_STATFS_H | |
20650 | # include <sys/statfs.h> | |
f5818d2f | 20651 | #endif |
5537dbbf | 20652 | |
f5818d2f AJ |
20653 | int |
20654 | main () | |
20655 | { | |
5537dbbf AJ |
20656 | static struct statfs ac_aggr; |
20657 | if (ac_aggr.f_bfree) | |
20658 | return 0; | |
f5818d2f AJ |
20659 | ; |
20660 | return 0; | |
20661 | } | |
20662 | _ACEOF | |
20663 | rm -f conftest.$ac_objext | |
0ebeb530 JW |
20664 | if { (ac_try="$ac_compile" |
20665 | case "(($ac_try" in | |
20666 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
20667 | *) ac_try_echo=$ac_try;; | |
20668 | esac | |
abf5048b AJ |
20669 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
20670 | $as_echo "$ac_try_echo") >&5 | |
0ebeb530 | 20671 | (eval "$ac_compile") 2>conftest.er1 |
f5818d2f | 20672 | ac_status=$? |
875927f6 AJ |
20673 | grep -v '^ *+' conftest.er1 >conftest.err |
20674 | rm -f conftest.er1 | |
20675 | cat conftest.err >&5 | |
abf5048b | 20676 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
dc9f3843 AJ |
20677 | (exit $ac_status); } && { |
20678 | test -z "$ac_c_werror_flag" || | |
20679 | test ! -s conftest.err | |
20680 | } && test -s conftest.$ac_objext; then | |
5537dbbf | 20681 | ac_cv_member_struct_statfs_f_bfree=yes |
f5818d2f | 20682 | else |
abf5048b | 20683 | $as_echo "$as_me: failed program was:" >&5 |
e24bcc77 AJ |
20684 | sed 's/^/| /' conftest.$ac_ext >&5 |
20685 | ||
fc6ffb29 | 20686 | cat >conftest.$ac_ext <<_ACEOF |
5537dbbf AJ |
20687 | /* confdefs.h. */ |
20688 | _ACEOF | |
20689 | cat confdefs.h >>conftest.$ac_ext | |
20690 | cat >>conftest.$ac_ext <<_ACEOF | |
20691 | /* end confdefs.h. */ | |
20692 | #include <sys/types.h> | |
20693 | #ifdef HAVE_SYS_PARAM_H | |
20694 | # include <sys/param.h> | |
20695 | #endif | |
55b74483 | 20696 | #ifdef HAVE_SYS_MOUNT_H |
5537dbbf | 20697 | # include <sys/mount.h> |
55b74483 RM |
20698 | #endif |
20699 | #ifdef HAVE_SYS_VFS_H | |
20700 | # include <sys/vfs.h> | |
20701 | #endif | |
20702 | #ifdef HAVE_SYS_STATFS_H | |
20703 | # include <sys/statfs.h> | |
5537dbbf | 20704 | #endif |
f5818d2f | 20705 | |
5537dbbf AJ |
20706 | int |
20707 | main () | |
20708 | { | |
20709 | static struct statfs ac_aggr; | |
20710 | if (sizeof ac_aggr.f_bfree) | |
20711 | return 0; | |
20712 | ; | |
20713 | return 0; | |
20714 | } | |
daa2886c | 20715 | _ACEOF |
5537dbbf | 20716 | rm -f conftest.$ac_objext |
0ebeb530 JW |
20717 | if { (ac_try="$ac_compile" |
20718 | case "(($ac_try" in | |
20719 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
20720 | *) ac_try_echo=$ac_try;; | |
20721 | esac | |
abf5048b AJ |
20722 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
20723 | $as_echo "$ac_try_echo") >&5 | |
0ebeb530 | 20724 | (eval "$ac_compile") 2>conftest.er1 |
5537dbbf | 20725 | ac_status=$? |
875927f6 AJ |
20726 | grep -v '^ *+' conftest.er1 >conftest.err |
20727 | rm -f conftest.er1 | |
20728 | cat conftest.err >&5 | |
abf5048b | 20729 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
dc9f3843 AJ |
20730 | (exit $ac_status); } && { |
20731 | test -z "$ac_c_werror_flag" || | |
20732 | test ! -s conftest.err | |
20733 | } && test -s conftest.$ac_objext; then | |
5537dbbf AJ |
20734 | ac_cv_member_struct_statfs_f_bfree=yes |
20735 | else | |
abf5048b | 20736 | $as_echo "$as_me: failed program was:" >&5 |
5537dbbf | 20737 | sed 's/^/| /' conftest.$ac_ext >&5 |
c7c217b3 | 20738 | |
fc6ffb29 | 20739 | ac_cv_member_struct_statfs_f_bfree=no |
c7c217b3 | 20740 | fi |
fc6ffb29 | 20741 | |
0ebeb530 | 20742 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
5537dbbf | 20743 | fi |
fc6ffb29 | 20744 | |
0ebeb530 | 20745 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
5537dbbf | 20746 | fi |
abf5048b AJ |
20747 | { $as_echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_bfree" >&5 |
20748 | $as_echo "$ac_cv_member_struct_statfs_f_bfree" >&6; } | |
20749 | if test "x$ac_cv_member_struct_statfs_f_bfree" = x""yes; then | |
c7c217b3 | 20750 | |
5537dbbf AJ |
20751 | cat >>confdefs.h <<_ACEOF |
20752 | #define HAVE_STRUCT_STATFS_F_BFREE 1 | |
20753 | _ACEOF | |
daa2886c AJ |
20754 | |
20755 | ||
5537dbbf | 20756 | fi |
abf5048b AJ |
20757 | { $as_echo "$as_me:$LINENO: checking for struct statfs.f_bavail" >&5 |
20758 | $as_echo_n "checking for struct statfs.f_bavail... " >&6; } | |
5537dbbf | 20759 | if test "${ac_cv_member_struct_statfs_f_bavail+set}" = set; then |
abf5048b | 20760 | $as_echo_n "(cached) " >&6 |
dadf78ff | 20761 | else |
f5818d2f | 20762 | cat >conftest.$ac_ext <<_ACEOF |
e24bcc77 AJ |
20763 | /* confdefs.h. */ |
20764 | _ACEOF | |
20765 | cat confdefs.h >>conftest.$ac_ext | |
20766 | cat >>conftest.$ac_ext <<_ACEOF | |
20767 | /* end confdefs.h. */ | |
f5818d2f AJ |
20768 | #include <sys/types.h> |
20769 | #ifdef HAVE_SYS_PARAM_H | |
20770 | # include <sys/param.h> | |
20771 | #endif | |
55b74483 | 20772 | #ifdef HAVE_SYS_MOUNT_H |
f5818d2f | 20773 | # include <sys/mount.h> |
55b74483 RM |
20774 | #endif |
20775 | #ifdef HAVE_SYS_VFS_H | |
20776 | # include <sys/vfs.h> | |
20777 | #endif | |
20778 | #ifdef HAVE_SYS_STATFS_H | |
20779 | # include <sys/statfs.h> | |
f5818d2f | 20780 | #endif |
5537dbbf | 20781 | |
f5818d2f AJ |
20782 | int |
20783 | main () | |
20784 | { | |
5537dbbf AJ |
20785 | static struct statfs ac_aggr; |
20786 | if (ac_aggr.f_bavail) | |
20787 | return 0; | |
f5818d2f AJ |
20788 | ; |
20789 | return 0; | |
20790 | } | |
20791 | _ACEOF | |
20792 | rm -f conftest.$ac_objext | |
0ebeb530 JW |
20793 | if { (ac_try="$ac_compile" |
20794 | case "(($ac_try" in | |
20795 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
20796 | *) ac_try_echo=$ac_try;; | |
20797 | esac | |
abf5048b AJ |
20798 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
20799 | $as_echo "$ac_try_echo") >&5 | |
0ebeb530 | 20800 | (eval "$ac_compile") 2>conftest.er1 |
f5818d2f | 20801 | ac_status=$? |
875927f6 AJ |
20802 | grep -v '^ *+' conftest.er1 >conftest.err |
20803 | rm -f conftest.er1 | |
20804 | cat conftest.err >&5 | |
abf5048b | 20805 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
dc9f3843 AJ |
20806 | (exit $ac_status); } && { |
20807 | test -z "$ac_c_werror_flag" || | |
20808 | test ! -s conftest.err | |
20809 | } && test -s conftest.$ac_objext; then | |
5537dbbf | 20810 | ac_cv_member_struct_statfs_f_bavail=yes |
f5818d2f | 20811 | else |
abf5048b | 20812 | $as_echo "$as_me: failed program was:" >&5 |
e24bcc77 AJ |
20813 | sed 's/^/| /' conftest.$ac_ext >&5 |
20814 | ||
fc6ffb29 | 20815 | cat >conftest.$ac_ext <<_ACEOF |
5537dbbf AJ |
20816 | /* confdefs.h. */ |
20817 | _ACEOF | |
20818 | cat confdefs.h >>conftest.$ac_ext | |
20819 | cat >>conftest.$ac_ext <<_ACEOF | |
20820 | /* end confdefs.h. */ | |
20821 | #include <sys/types.h> | |
20822 | #ifdef HAVE_SYS_PARAM_H | |
20823 | # include <sys/param.h> | |
20824 | #endif | |
55b74483 | 20825 | #ifdef HAVE_SYS_MOUNT_H |
5537dbbf | 20826 | # include <sys/mount.h> |
55b74483 RM |
20827 | #endif |
20828 | #ifdef HAVE_SYS_VFS_H | |
20829 | # include <sys/vfs.h> | |
20830 | #endif | |
20831 | #ifdef HAVE_SYS_STATFS_H | |
20832 | # include <sys/statfs.h> | |
5537dbbf AJ |
20833 | #endif |
20834 | ||
20835 | int | |
20836 | main () | |
20837 | { | |
20838 | static struct statfs ac_aggr; | |
20839 | if (sizeof ac_aggr.f_bavail) | |
20840 | return 0; | |
20841 | ; | |
20842 | return 0; | |
20843 | } | |
20844 | _ACEOF | |
20845 | rm -f conftest.$ac_objext | |
0ebeb530 JW |
20846 | if { (ac_try="$ac_compile" |
20847 | case "(($ac_try" in | |
20848 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
20849 | *) ac_try_echo=$ac_try;; | |
20850 | esac | |
abf5048b AJ |
20851 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
20852 | $as_echo "$ac_try_echo") >&5 | |
0ebeb530 | 20853 | (eval "$ac_compile") 2>conftest.er1 |
5537dbbf | 20854 | ac_status=$? |
875927f6 AJ |
20855 | grep -v '^ *+' conftest.er1 >conftest.err |
20856 | rm -f conftest.er1 | |
20857 | cat conftest.err >&5 | |
abf5048b | 20858 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
dc9f3843 AJ |
20859 | (exit $ac_status); } && { |
20860 | test -z "$ac_c_werror_flag" || | |
20861 | test ! -s conftest.err | |
20862 | } && test -s conftest.$ac_objext; then | |
5537dbbf AJ |
20863 | ac_cv_member_struct_statfs_f_bavail=yes |
20864 | else | |
abf5048b | 20865 | $as_echo "$as_me: failed program was:" >&5 |
5537dbbf AJ |
20866 | sed 's/^/| /' conftest.$ac_ext >&5 |
20867 | ||
fc6ffb29 | 20868 | ac_cv_member_struct_statfs_f_bavail=no |
5537dbbf | 20869 | fi |
fc6ffb29 | 20870 | |
0ebeb530 | 20871 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
f5818d2f | 20872 | fi |
fc6ffb29 | 20873 | |
0ebeb530 | 20874 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
f5818d2f | 20875 | fi |
abf5048b AJ |
20876 | { $as_echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_bavail" >&5 |
20877 | $as_echo "$ac_cv_member_struct_statfs_f_bavail" >&6; } | |
20878 | if test "x$ac_cv_member_struct_statfs_f_bavail" = x""yes; then | |
f5818d2f | 20879 | |
5537dbbf AJ |
20880 | cat >>confdefs.h <<_ACEOF |
20881 | #define HAVE_STRUCT_STATFS_F_BAVAIL 1 | |
daa2886c | 20882 | _ACEOF |
dadf78ff | 20883 | |
dadf78ff | 20884 | |
13af4891 | 20885 | fi |
abf5048b AJ |
20886 | { $as_echo "$as_me:$LINENO: checking for struct statfs.f_frsize" >&5 |
20887 | $as_echo_n "checking for struct statfs.f_frsize... " >&6; } | |
13af4891 | 20888 | if test "${ac_cv_member_struct_statfs_f_frsize+set}" = set; then |
abf5048b | 20889 | $as_echo_n "(cached) " >&6 |
13af4891 AJ |
20890 | else |
20891 | cat >conftest.$ac_ext <<_ACEOF | |
20892 | /* confdefs.h. */ | |
20893 | _ACEOF | |
20894 | cat confdefs.h >>conftest.$ac_ext | |
20895 | cat >>conftest.$ac_ext <<_ACEOF | |
20896 | /* end confdefs.h. */ | |
20897 | #include <sys/types.h> | |
20898 | #ifdef HAVE_SYS_PARAM_H | |
20899 | # include <sys/param.h> | |
20900 | #endif | |
55b74483 | 20901 | #ifdef HAVE_SYS_MOUNT_H |
13af4891 | 20902 | # include <sys/mount.h> |
55b74483 RM |
20903 | #endif |
20904 | #ifdef HAVE_SYS_VFS_H | |
20905 | # include <sys/vfs.h> | |
20906 | #endif | |
20907 | #ifdef HAVE_SYS_STATFS_H | |
20908 | # include <sys/statfs.h> | |
13af4891 AJ |
20909 | #endif |
20910 | ||
20911 | int | |
20912 | main () | |
20913 | { | |
20914 | static struct statfs ac_aggr; | |
20915 | if (ac_aggr.f_frsize) | |
20916 | return 0; | |
20917 | ; | |
20918 | return 0; | |
20919 | } | |
20920 | _ACEOF | |
20921 | rm -f conftest.$ac_objext | |
0ebeb530 JW |
20922 | if { (ac_try="$ac_compile" |
20923 | case "(($ac_try" in | |
20924 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
20925 | *) ac_try_echo=$ac_try;; | |
20926 | esac | |
abf5048b AJ |
20927 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
20928 | $as_echo "$ac_try_echo") >&5 | |
0ebeb530 | 20929 | (eval "$ac_compile") 2>conftest.er1 |
13af4891 AJ |
20930 | ac_status=$? |
20931 | grep -v '^ *+' conftest.er1 >conftest.err | |
20932 | rm -f conftest.er1 | |
20933 | cat conftest.err >&5 | |
abf5048b | 20934 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
dc9f3843 AJ |
20935 | (exit $ac_status); } && { |
20936 | test -z "$ac_c_werror_flag" || | |
20937 | test ! -s conftest.err | |
20938 | } && test -s conftest.$ac_objext; then | |
13af4891 AJ |
20939 | ac_cv_member_struct_statfs_f_frsize=yes |
20940 | else | |
abf5048b | 20941 | $as_echo "$as_me: failed program was:" >&5 |
13af4891 AJ |
20942 | sed 's/^/| /' conftest.$ac_ext >&5 |
20943 | ||
fc6ffb29 | 20944 | cat >conftest.$ac_ext <<_ACEOF |
13af4891 AJ |
20945 | /* confdefs.h. */ |
20946 | _ACEOF | |
20947 | cat confdefs.h >>conftest.$ac_ext | |
20948 | cat >>conftest.$ac_ext <<_ACEOF | |
20949 | /* end confdefs.h. */ | |
20950 | #include <sys/types.h> | |
20951 | #ifdef HAVE_SYS_PARAM_H | |
20952 | # include <sys/param.h> | |
20953 | #endif | |
55b74483 | 20954 | #ifdef HAVE_SYS_MOUNT_H |
13af4891 | 20955 | # include <sys/mount.h> |
55b74483 RM |
20956 | #endif |
20957 | #ifdef HAVE_SYS_VFS_H | |
20958 | # include <sys/vfs.h> | |
20959 | #endif | |
20960 | #ifdef HAVE_SYS_STATFS_H | |
20961 | # include <sys/statfs.h> | |
13af4891 AJ |
20962 | #endif |
20963 | ||
20964 | int | |
20965 | main () | |
20966 | { | |
20967 | static struct statfs ac_aggr; | |
20968 | if (sizeof ac_aggr.f_frsize) | |
20969 | return 0; | |
20970 | ; | |
20971 | return 0; | |
20972 | } | |
20973 | _ACEOF | |
20974 | rm -f conftest.$ac_objext | |
0ebeb530 JW |
20975 | if { (ac_try="$ac_compile" |
20976 | case "(($ac_try" in | |
20977 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
20978 | *) ac_try_echo=$ac_try;; | |
20979 | esac | |
abf5048b AJ |
20980 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
20981 | $as_echo "$ac_try_echo") >&5 | |
0ebeb530 | 20982 | (eval "$ac_compile") 2>conftest.er1 |
13af4891 AJ |
20983 | ac_status=$? |
20984 | grep -v '^ *+' conftest.er1 >conftest.err | |
20985 | rm -f conftest.er1 | |
20986 | cat conftest.err >&5 | |
abf5048b | 20987 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
dc9f3843 AJ |
20988 | (exit $ac_status); } && { |
20989 | test -z "$ac_c_werror_flag" || | |
20990 | test ! -s conftest.err | |
20991 | } && test -s conftest.$ac_objext; then | |
13af4891 AJ |
20992 | ac_cv_member_struct_statfs_f_frsize=yes |
20993 | else | |
abf5048b | 20994 | $as_echo "$as_me: failed program was:" >&5 |
13af4891 AJ |
20995 | sed 's/^/| /' conftest.$ac_ext >&5 |
20996 | ||
fc6ffb29 | 20997 | ac_cv_member_struct_statfs_f_frsize=no |
13af4891 | 20998 | fi |
fc6ffb29 | 20999 | |
0ebeb530 | 21000 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
13af4891 | 21001 | fi |
fc6ffb29 | 21002 | |
0ebeb530 | 21003 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
13af4891 | 21004 | fi |
abf5048b AJ |
21005 | { $as_echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_frsize" >&5 |
21006 | $as_echo "$ac_cv_member_struct_statfs_f_frsize" >&6; } | |
21007 | if test "x$ac_cv_member_struct_statfs_f_frsize" = x""yes; then | |
13af4891 AJ |
21008 | |
21009 | cat >>confdefs.h <<_ACEOF | |
21010 | #define HAVE_STRUCT_STATFS_F_FRSIZE 1 | |
21011 | _ACEOF | |
21012 | ||
21013 | ||
21014 | fi | |
abf5048b AJ |
21015 | { $as_echo "$as_me:$LINENO: checking for struct statfs.f_ffree" >&5 |
21016 | $as_echo_n "checking for struct statfs.f_ffree... " >&6; } | |
13af4891 | 21017 | if test "${ac_cv_member_struct_statfs_f_ffree+set}" = set; then |
abf5048b | 21018 | $as_echo_n "(cached) " >&6 |
13af4891 AJ |
21019 | else |
21020 | cat >conftest.$ac_ext <<_ACEOF | |
21021 | /* confdefs.h. */ | |
21022 | _ACEOF | |
21023 | cat confdefs.h >>conftest.$ac_ext | |
21024 | cat >>conftest.$ac_ext <<_ACEOF | |
21025 | /* end confdefs.h. */ | |
21026 | #include <sys/types.h> | |
21027 | #ifdef HAVE_SYS_PARAM_H | |
21028 | # include <sys/param.h> | |
21029 | #endif | |
55b74483 | 21030 | #ifdef HAVE_SYS_MOUNT_H |
13af4891 | 21031 | # include <sys/mount.h> |
55b74483 RM |
21032 | #endif |
21033 | #ifdef HAVE_SYS_VFS_H | |
21034 | # include <sys/vfs.h> | |
21035 | #endif | |
21036 | #ifdef HAVE_SYS_STATFS_H | |
21037 | # include <sys/statfs.h> | |
13af4891 AJ |
21038 | #endif |
21039 | ||
21040 | int | |
21041 | main () | |
21042 | { | |
21043 | static struct statfs ac_aggr; | |
21044 | if (ac_aggr.f_ffree) | |
21045 | return 0; | |
21046 | ; | |
21047 | return 0; | |
21048 | } | |
21049 | _ACEOF | |
21050 | rm -f conftest.$ac_objext | |
0ebeb530 JW |
21051 | if { (ac_try="$ac_compile" |
21052 | case "(($ac_try" in | |
21053 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
21054 | *) ac_try_echo=$ac_try;; | |
21055 | esac | |
abf5048b AJ |
21056 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
21057 | $as_echo "$ac_try_echo") >&5 | |
0ebeb530 | 21058 | (eval "$ac_compile") 2>conftest.er1 |
13af4891 AJ |
21059 | ac_status=$? |
21060 | grep -v '^ *+' conftest.er1 >conftest.err | |
21061 | rm -f conftest.er1 | |
21062 | cat conftest.err >&5 | |
abf5048b | 21063 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
dc9f3843 AJ |
21064 | (exit $ac_status); } && { |
21065 | test -z "$ac_c_werror_flag" || | |
21066 | test ! -s conftest.err | |
21067 | } && test -s conftest.$ac_objext; then | |
13af4891 AJ |
21068 | ac_cv_member_struct_statfs_f_ffree=yes |
21069 | else | |
abf5048b | 21070 | $as_echo "$as_me: failed program was:" >&5 |
13af4891 AJ |
21071 | sed 's/^/| /' conftest.$ac_ext >&5 |
21072 | ||
fc6ffb29 | 21073 | cat >conftest.$ac_ext <<_ACEOF |
13af4891 AJ |
21074 | /* confdefs.h. */ |
21075 | _ACEOF | |
21076 | cat confdefs.h >>conftest.$ac_ext | |
21077 | cat >>conftest.$ac_ext <<_ACEOF | |
21078 | /* end confdefs.h. */ | |
21079 | #include <sys/types.h> | |
21080 | #ifdef HAVE_SYS_PARAM_H | |
21081 | # include <sys/param.h> | |
21082 | #endif | |
55b74483 | 21083 | #ifdef HAVE_SYS_MOUNT_H |
13af4891 | 21084 | # include <sys/mount.h> |
55b74483 RM |
21085 | #endif |
21086 | #ifdef HAVE_SYS_VFS_H | |
21087 | # include <sys/vfs.h> | |
21088 | #endif | |
21089 | #ifdef HAVE_SYS_STATFS_H | |
21090 | # include <sys/statfs.h> | |
13af4891 AJ |
21091 | #endif |
21092 | ||
21093 | int | |
21094 | main () | |
21095 | { | |
21096 | static struct statfs ac_aggr; | |
21097 | if (sizeof ac_aggr.f_ffree) | |
21098 | return 0; | |
21099 | ; | |
21100 | return 0; | |
21101 | } | |
21102 | _ACEOF | |
21103 | rm -f conftest.$ac_objext | |
0ebeb530 JW |
21104 | if { (ac_try="$ac_compile" |
21105 | case "(($ac_try" in | |
21106 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
21107 | *) ac_try_echo=$ac_try;; | |
21108 | esac | |
abf5048b AJ |
21109 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
21110 | $as_echo "$ac_try_echo") >&5 | |
0ebeb530 | 21111 | (eval "$ac_compile") 2>conftest.er1 |
13af4891 AJ |
21112 | ac_status=$? |
21113 | grep -v '^ *+' conftest.er1 >conftest.err | |
21114 | rm -f conftest.er1 | |
21115 | cat conftest.err >&5 | |
abf5048b | 21116 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
dc9f3843 AJ |
21117 | (exit $ac_status); } && { |
21118 | test -z "$ac_c_werror_flag" || | |
21119 | test ! -s conftest.err | |
21120 | } && test -s conftest.$ac_objext; then | |
13af4891 AJ |
21121 | ac_cv_member_struct_statfs_f_ffree=yes |
21122 | else | |
abf5048b | 21123 | $as_echo "$as_me: failed program was:" >&5 |
13af4891 AJ |
21124 | sed 's/^/| /' conftest.$ac_ext >&5 |
21125 | ||
fc6ffb29 | 21126 | ac_cv_member_struct_statfs_f_ffree=no |
13af4891 | 21127 | fi |
fc6ffb29 | 21128 | |
0ebeb530 | 21129 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
13af4891 | 21130 | fi |
fc6ffb29 | 21131 | |
0ebeb530 | 21132 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
13af4891 | 21133 | fi |
abf5048b AJ |
21134 | { $as_echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_ffree" >&5 |
21135 | $as_echo "$ac_cv_member_struct_statfs_f_ffree" >&6; } | |
21136 | if test "x$ac_cv_member_struct_statfs_f_ffree" = x""yes; then | |
13af4891 AJ |
21137 | |
21138 | cat >>confdefs.h <<_ACEOF | |
21139 | #define HAVE_STRUCT_STATFS_F_FFREE 1 | |
21140 | _ACEOF | |
21141 | ||
21142 | ||
21143 | fi | |
abf5048b AJ |
21144 | { $as_echo "$as_me:$LINENO: checking for struct statfs.f_favail" >&5 |
21145 | $as_echo_n "checking for struct statfs.f_favail... " >&6; } | |
13af4891 | 21146 | if test "${ac_cv_member_struct_statfs_f_favail+set}" = set; then |
abf5048b | 21147 | $as_echo_n "(cached) " >&6 |
13af4891 AJ |
21148 | else |
21149 | cat >conftest.$ac_ext <<_ACEOF | |
21150 | /* confdefs.h. */ | |
21151 | _ACEOF | |
21152 | cat confdefs.h >>conftest.$ac_ext | |
21153 | cat >>conftest.$ac_ext <<_ACEOF | |
21154 | /* end confdefs.h. */ | |
21155 | #include <sys/types.h> | |
21156 | #ifdef HAVE_SYS_PARAM_H | |
21157 | # include <sys/param.h> | |
21158 | #endif | |
55b74483 | 21159 | #ifdef HAVE_SYS_MOUNT_H |
13af4891 | 21160 | # include <sys/mount.h> |
55b74483 RM |
21161 | #endif |
21162 | #ifdef HAVE_SYS_VFS_H | |
21163 | # include <sys/vfs.h> | |
21164 | #endif | |
21165 | #ifdef HAVE_SYS_STATFS_H | |
21166 | # include <sys/statfs.h> | |
13af4891 AJ |
21167 | #endif |
21168 | ||
21169 | int | |
21170 | main () | |
21171 | { | |
21172 | static struct statfs ac_aggr; | |
21173 | if (ac_aggr.f_favail) | |
21174 | return 0; | |
21175 | ; | |
21176 | return 0; | |
21177 | } | |
21178 | _ACEOF | |
21179 | rm -f conftest.$ac_objext | |
0ebeb530 JW |
21180 | if { (ac_try="$ac_compile" |
21181 | case "(($ac_try" in | |
21182 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
21183 | *) ac_try_echo=$ac_try;; | |
21184 | esac | |
abf5048b AJ |
21185 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
21186 | $as_echo "$ac_try_echo") >&5 | |
0ebeb530 | 21187 | (eval "$ac_compile") 2>conftest.er1 |
13af4891 AJ |
21188 | ac_status=$? |
21189 | grep -v '^ *+' conftest.er1 >conftest.err | |
21190 | rm -f conftest.er1 | |
21191 | cat conftest.err >&5 | |
abf5048b | 21192 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
dc9f3843 AJ |
21193 | (exit $ac_status); } && { |
21194 | test -z "$ac_c_werror_flag" || | |
21195 | test ! -s conftest.err | |
21196 | } && test -s conftest.$ac_objext; then | |
13af4891 AJ |
21197 | ac_cv_member_struct_statfs_f_favail=yes |
21198 | else | |
abf5048b | 21199 | $as_echo "$as_me: failed program was:" >&5 |
13af4891 AJ |
21200 | sed 's/^/| /' conftest.$ac_ext >&5 |
21201 | ||
fc6ffb29 | 21202 | cat >conftest.$ac_ext <<_ACEOF |
13af4891 AJ |
21203 | /* confdefs.h. */ |
21204 | _ACEOF | |
21205 | cat confdefs.h >>conftest.$ac_ext | |
21206 | cat >>conftest.$ac_ext <<_ACEOF | |
21207 | /* end confdefs.h. */ | |
21208 | #include <sys/types.h> | |
21209 | #ifdef HAVE_SYS_PARAM_H | |
21210 | # include <sys/param.h> | |
21211 | #endif | |
55b74483 | 21212 | #ifdef HAVE_SYS_MOUNT_H |
13af4891 | 21213 | # include <sys/mount.h> |
55b74483 RM |
21214 | #endif |
21215 | #ifdef HAVE_SYS_VFS_H | |
21216 | # include <sys/vfs.h> | |
21217 | #endif | |
21218 | #ifdef HAVE_SYS_STATFS_H | |
21219 | # include <sys/statfs.h> | |
13af4891 AJ |
21220 | #endif |
21221 | ||
21222 | int | |
21223 | main () | |
21224 | { | |
21225 | static struct statfs ac_aggr; | |
21226 | if (sizeof ac_aggr.f_favail) | |
21227 | return 0; | |
21228 | ; | |
21229 | return 0; | |
21230 | } | |
21231 | _ACEOF | |
21232 | rm -f conftest.$ac_objext | |
0ebeb530 JW |
21233 | if { (ac_try="$ac_compile" |
21234 | case "(($ac_try" in | |
21235 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
21236 | *) ac_try_echo=$ac_try;; | |
21237 | esac | |
abf5048b AJ |
21238 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
21239 | $as_echo "$ac_try_echo") >&5 | |
0ebeb530 | 21240 | (eval "$ac_compile") 2>conftest.er1 |
13af4891 AJ |
21241 | ac_status=$? |
21242 | grep -v '^ *+' conftest.er1 >conftest.err | |
21243 | rm -f conftest.er1 | |
21244 | cat conftest.err >&5 | |
abf5048b | 21245 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
dc9f3843 AJ |
21246 | (exit $ac_status); } && { |
21247 | test -z "$ac_c_werror_flag" || | |
21248 | test ! -s conftest.err | |
21249 | } && test -s conftest.$ac_objext; then | |
13af4891 AJ |
21250 | ac_cv_member_struct_statfs_f_favail=yes |
21251 | else | |
abf5048b | 21252 | $as_echo "$as_me: failed program was:" >&5 |
13af4891 AJ |
21253 | sed 's/^/| /' conftest.$ac_ext >&5 |
21254 | ||
fc6ffb29 | 21255 | ac_cv_member_struct_statfs_f_favail=no |
13af4891 | 21256 | fi |
fc6ffb29 | 21257 | |
0ebeb530 | 21258 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
13af4891 | 21259 | fi |
fc6ffb29 | 21260 | |
0ebeb530 | 21261 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
13af4891 | 21262 | fi |
abf5048b AJ |
21263 | { $as_echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_favail" >&5 |
21264 | $as_echo "$ac_cv_member_struct_statfs_f_favail" >&6; } | |
21265 | if test "x$ac_cv_member_struct_statfs_f_favail" = x""yes; then | |
13af4891 AJ |
21266 | |
21267 | cat >>confdefs.h <<_ACEOF | |
21268 | #define HAVE_STRUCT_STATFS_F_FAVAIL 1 | |
21269 | _ACEOF | |
21270 | ||
21271 | ||
b859a686 | 21272 | fi |
abf5048b AJ |
21273 | { $as_echo "$as_me:$LINENO: checking for struct statfs.f_namelen" >&5 |
21274 | $as_echo_n "checking for struct statfs.f_namelen... " >&6; } | |
b859a686 | 21275 | if test "${ac_cv_member_struct_statfs_f_namelen+set}" = set; then |
abf5048b | 21276 | $as_echo_n "(cached) " >&6 |
b859a686 AJ |
21277 | else |
21278 | cat >conftest.$ac_ext <<_ACEOF | |
21279 | /* confdefs.h. */ | |
21280 | _ACEOF | |
21281 | cat confdefs.h >>conftest.$ac_ext | |
21282 | cat >>conftest.$ac_ext <<_ACEOF | |
21283 | /* end confdefs.h. */ | |
21284 | #include <sys/types.h> | |
21285 | #ifdef HAVE_SYS_PARAM_H | |
21286 | # include <sys/param.h> | |
21287 | #endif | |
55b74483 | 21288 | #ifdef HAVE_SYS_MOUNT_H |
b859a686 | 21289 | # include <sys/mount.h> |
55b74483 RM |
21290 | #endif |
21291 | #ifdef HAVE_SYS_VFS_H | |
21292 | # include <sys/vfs.h> | |
21293 | #endif | |
21294 | #ifdef HAVE_SYS_STATFS_H | |
21295 | # include <sys/statfs.h> | |
b859a686 AJ |
21296 | #endif |
21297 | ||
21298 | int | |
21299 | main () | |
21300 | { | |
21301 | static struct statfs ac_aggr; | |
21302 | if (ac_aggr.f_namelen) | |
21303 | return 0; | |
21304 | ; | |
21305 | return 0; | |
21306 | } | |
21307 | _ACEOF | |
21308 | rm -f conftest.$ac_objext | |
0ebeb530 JW |
21309 | if { (ac_try="$ac_compile" |
21310 | case "(($ac_try" in | |
21311 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
21312 | *) ac_try_echo=$ac_try;; | |
21313 | esac | |
abf5048b AJ |
21314 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
21315 | $as_echo "$ac_try_echo") >&5 | |
0ebeb530 | 21316 | (eval "$ac_compile") 2>conftest.er1 |
b859a686 AJ |
21317 | ac_status=$? |
21318 | grep -v '^ *+' conftest.er1 >conftest.err | |
21319 | rm -f conftest.er1 | |
21320 | cat conftest.err >&5 | |
abf5048b | 21321 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
dc9f3843 AJ |
21322 | (exit $ac_status); } && { |
21323 | test -z "$ac_c_werror_flag" || | |
21324 | test ! -s conftest.err | |
21325 | } && test -s conftest.$ac_objext; then | |
b859a686 AJ |
21326 | ac_cv_member_struct_statfs_f_namelen=yes |
21327 | else | |
abf5048b | 21328 | $as_echo "$as_me: failed program was:" >&5 |
b859a686 AJ |
21329 | sed 's/^/| /' conftest.$ac_ext >&5 |
21330 | ||
fc6ffb29 | 21331 | cat >conftest.$ac_ext <<_ACEOF |
b859a686 AJ |
21332 | /* confdefs.h. */ |
21333 | _ACEOF | |
21334 | cat confdefs.h >>conftest.$ac_ext | |
21335 | cat >>conftest.$ac_ext <<_ACEOF | |
21336 | /* end confdefs.h. */ | |
21337 | #include <sys/types.h> | |
21338 | #ifdef HAVE_SYS_PARAM_H | |
21339 | # include <sys/param.h> | |
21340 | #endif | |
55b74483 | 21341 | #ifdef HAVE_SYS_MOUNT_H |
b859a686 | 21342 | # include <sys/mount.h> |
55b74483 RM |
21343 | #endif |
21344 | #ifdef HAVE_SYS_VFS_H | |
21345 | # include <sys/vfs.h> | |
21346 | #endif | |
21347 | #ifdef HAVE_SYS_STATFS_H | |
21348 | # include <sys/statfs.h> | |
b859a686 AJ |
21349 | #endif |
21350 | ||
21351 | int | |
21352 | main () | |
21353 | { | |
21354 | static struct statfs ac_aggr; | |
21355 | if (sizeof ac_aggr.f_namelen) | |
21356 | return 0; | |
21357 | ; | |
21358 | return 0; | |
21359 | } | |
21360 | _ACEOF | |
21361 | rm -f conftest.$ac_objext | |
0ebeb530 JW |
21362 | if { (ac_try="$ac_compile" |
21363 | case "(($ac_try" in | |
21364 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
21365 | *) ac_try_echo=$ac_try;; | |
21366 | esac | |
abf5048b AJ |
21367 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
21368 | $as_echo "$ac_try_echo") >&5 | |
0ebeb530 | 21369 | (eval "$ac_compile") 2>conftest.er1 |
b859a686 AJ |
21370 | ac_status=$? |
21371 | grep -v '^ *+' conftest.er1 >conftest.err | |
21372 | rm -f conftest.er1 | |
21373 | cat conftest.err >&5 | |
abf5048b | 21374 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
dc9f3843 AJ |
21375 | (exit $ac_status); } && { |
21376 | test -z "$ac_c_werror_flag" || | |
21377 | test ! -s conftest.err | |
21378 | } && test -s conftest.$ac_objext; then | |
b859a686 AJ |
21379 | ac_cv_member_struct_statfs_f_namelen=yes |
21380 | else | |
abf5048b | 21381 | $as_echo "$as_me: failed program was:" >&5 |
b859a686 AJ |
21382 | sed 's/^/| /' conftest.$ac_ext >&5 |
21383 | ||
fc6ffb29 | 21384 | ac_cv_member_struct_statfs_f_namelen=no |
b859a686 | 21385 | fi |
fc6ffb29 | 21386 | |
0ebeb530 | 21387 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
b859a686 | 21388 | fi |
fc6ffb29 | 21389 | |
0ebeb530 | 21390 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
b859a686 | 21391 | fi |
abf5048b AJ |
21392 | { $as_echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_namelen" >&5 |
21393 | $as_echo "$ac_cv_member_struct_statfs_f_namelen" >&6; } | |
21394 | if test "x$ac_cv_member_struct_statfs_f_namelen" = x""yes; then | |
b859a686 AJ |
21395 | |
21396 | cat >>confdefs.h <<_ACEOF | |
21397 | #define HAVE_STRUCT_STATFS_F_NAMELEN 1 | |
21398 | _ACEOF | |
21399 | ||
21400 | ||
13af4891 AJ |
21401 | fi |
21402 | ||
21403 | ||
abf5048b AJ |
21404 | { $as_echo "$as_me:$LINENO: checking for struct statvfs.f_blocks" >&5 |
21405 | $as_echo_n "checking for struct statvfs.f_blocks... " >&6; } | |
13af4891 | 21406 | if test "${ac_cv_member_struct_statvfs_f_blocks+set}" = set; then |
abf5048b | 21407 | $as_echo_n "(cached) " >&6 |
13af4891 AJ |
21408 | else |
21409 | cat >conftest.$ac_ext <<_ACEOF | |
21410 | /* confdefs.h. */ | |
21411 | _ACEOF | |
21412 | cat confdefs.h >>conftest.$ac_ext | |
21413 | cat >>conftest.$ac_ext <<_ACEOF | |
21414 | /* end confdefs.h. */ | |
21415 | #ifdef HAVE_SYS_STATVFS_H | |
21416 | #include <sys/statvfs.h> | |
21417 | #endif | |
21418 | ||
21419 | int | |
21420 | main () | |
21421 | { | |
21422 | static struct statvfs ac_aggr; | |
21423 | if (ac_aggr.f_blocks) | |
21424 | return 0; | |
21425 | ; | |
21426 | return 0; | |
21427 | } | |
21428 | _ACEOF | |
21429 | rm -f conftest.$ac_objext | |
0ebeb530 JW |
21430 | if { (ac_try="$ac_compile" |
21431 | case "(($ac_try" in | |
21432 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
21433 | *) ac_try_echo=$ac_try;; | |
21434 | esac | |
abf5048b AJ |
21435 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
21436 | $as_echo "$ac_try_echo") >&5 | |
0ebeb530 | 21437 | (eval "$ac_compile") 2>conftest.er1 |
13af4891 AJ |
21438 | ac_status=$? |
21439 | grep -v '^ *+' conftest.er1 >conftest.err | |
21440 | rm -f conftest.er1 | |
21441 | cat conftest.err >&5 | |
abf5048b | 21442 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
dc9f3843 AJ |
21443 | (exit $ac_status); } && { |
21444 | test -z "$ac_c_werror_flag" || | |
21445 | test ! -s conftest.err | |
21446 | } && test -s conftest.$ac_objext; then | |
13af4891 AJ |
21447 | ac_cv_member_struct_statvfs_f_blocks=yes |
21448 | else | |
abf5048b | 21449 | $as_echo "$as_me: failed program was:" >&5 |
13af4891 AJ |
21450 | sed 's/^/| /' conftest.$ac_ext >&5 |
21451 | ||
fc6ffb29 | 21452 | cat >conftest.$ac_ext <<_ACEOF |
13af4891 AJ |
21453 | /* confdefs.h. */ |
21454 | _ACEOF | |
21455 | cat confdefs.h >>conftest.$ac_ext | |
21456 | cat >>conftest.$ac_ext <<_ACEOF | |
21457 | /* end confdefs.h. */ | |
21458 | #ifdef HAVE_SYS_STATVFS_H | |
21459 | #include <sys/statvfs.h> | |
21460 | #endif | |
21461 | ||
21462 | int | |
21463 | main () | |
21464 | { | |
21465 | static struct statvfs ac_aggr; | |
21466 | if (sizeof ac_aggr.f_blocks) | |
21467 | return 0; | |
21468 | ; | |
21469 | return 0; | |
21470 | } | |
21471 | _ACEOF | |
21472 | rm -f conftest.$ac_objext | |
0ebeb530 JW |
21473 | if { (ac_try="$ac_compile" |
21474 | case "(($ac_try" in | |
21475 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
21476 | *) ac_try_echo=$ac_try;; | |
21477 | esac | |
abf5048b AJ |
21478 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
21479 | $as_echo "$ac_try_echo") >&5 | |
0ebeb530 | 21480 | (eval "$ac_compile") 2>conftest.er1 |
13af4891 AJ |
21481 | ac_status=$? |
21482 | grep -v '^ *+' conftest.er1 >conftest.err | |
21483 | rm -f conftest.er1 | |
21484 | cat conftest.err >&5 | |
abf5048b | 21485 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
dc9f3843 AJ |
21486 | (exit $ac_status); } && { |
21487 | test -z "$ac_c_werror_flag" || | |
21488 | test ! -s conftest.err | |
21489 | } && test -s conftest.$ac_objext; then | |
13af4891 AJ |
21490 | ac_cv_member_struct_statvfs_f_blocks=yes |
21491 | else | |
abf5048b | 21492 | $as_echo "$as_me: failed program was:" >&5 |
13af4891 AJ |
21493 | sed 's/^/| /' conftest.$ac_ext >&5 |
21494 | ||
fc6ffb29 | 21495 | ac_cv_member_struct_statvfs_f_blocks=no |
13af4891 | 21496 | fi |
fc6ffb29 | 21497 | |
0ebeb530 | 21498 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
13af4891 | 21499 | fi |
fc6ffb29 | 21500 | |
0ebeb530 | 21501 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
13af4891 | 21502 | fi |
abf5048b AJ |
21503 | { $as_echo "$as_me:$LINENO: result: $ac_cv_member_struct_statvfs_f_blocks" >&5 |
21504 | $as_echo "$ac_cv_member_struct_statvfs_f_blocks" >&6; } | |
21505 | if test "x$ac_cv_member_struct_statvfs_f_blocks" = x""yes; then | |
13af4891 AJ |
21506 | |
21507 | cat >>confdefs.h <<_ACEOF | |
21508 | #define HAVE_STRUCT_STATVFS_F_BLOCKS 1 | |
21509 | _ACEOF | |
21510 | ||
21511 | ||
5537dbbf | 21512 | fi |
daa2886c AJ |
21513 | |
21514 | ||
abf5048b AJ |
21515 | { $as_echo "$as_me:$LINENO: checking for struct msghdr.msg_accrights" >&5 |
21516 | $as_echo_n "checking for struct msghdr.msg_accrights... " >&6; } | |
5537dbbf | 21517 | if test "${ac_cv_member_struct_msghdr_msg_accrights+set}" = set; then |
abf5048b | 21518 | $as_echo_n "(cached) " >&6 |
829fe323 | 21519 | else |
f5818d2f | 21520 | cat >conftest.$ac_ext <<_ACEOF |
e24bcc77 AJ |
21521 | /* confdefs.h. */ |
21522 | _ACEOF | |
21523 | cat confdefs.h >>conftest.$ac_ext | |
21524 | cat >>conftest.$ac_ext <<_ACEOF | |
21525 | /* end confdefs.h. */ | |
829fe323 | 21526 | #include <sys/types.h> |
63ae7fee PS |
21527 | #ifdef HAVE_SYS_SOCKET_H |
21528 | # include <sys/socket.h> | |
21529 | #endif | |
5537dbbf AJ |
21530 | #ifdef HAVE_SYS_UN_H |
21531 | # include <sys/un.h> | |
21532 | #endif | |
21533 | ||
f5818d2f AJ |
21534 | int |
21535 | main () | |
21536 | { | |
5537dbbf AJ |
21537 | static struct msghdr ac_aggr; |
21538 | if (ac_aggr.msg_accrights) | |
21539 | return 0; | |
f5818d2f AJ |
21540 | ; |
21541 | return 0; | |
21542 | } | |
21543 | _ACEOF | |
21544 | rm -f conftest.$ac_objext | |
0ebeb530 JW |
21545 | if { (ac_try="$ac_compile" |
21546 | case "(($ac_try" in | |
21547 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
21548 | *) ac_try_echo=$ac_try;; | |
21549 | esac | |
abf5048b AJ |
21550 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
21551 | $as_echo "$ac_try_echo") >&5 | |
0ebeb530 | 21552 | (eval "$ac_compile") 2>conftest.er1 |
f5818d2f | 21553 | ac_status=$? |
875927f6 AJ |
21554 | grep -v '^ *+' conftest.er1 >conftest.err |
21555 | rm -f conftest.er1 | |
21556 | cat conftest.err >&5 | |
abf5048b | 21557 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
dc9f3843 AJ |
21558 | (exit $ac_status); } && { |
21559 | test -z "$ac_c_werror_flag" || | |
21560 | test ! -s conftest.err | |
21561 | } && test -s conftest.$ac_objext; then | |
5537dbbf | 21562 | ac_cv_member_struct_msghdr_msg_accrights=yes |
f5818d2f | 21563 | else |
abf5048b | 21564 | $as_echo "$as_me: failed program was:" >&5 |
e24bcc77 AJ |
21565 | sed 's/^/| /' conftest.$ac_ext >&5 |
21566 | ||
fc6ffb29 | 21567 | cat >conftest.$ac_ext <<_ACEOF |
5537dbbf AJ |
21568 | /* confdefs.h. */ |
21569 | _ACEOF | |
21570 | cat confdefs.h >>conftest.$ac_ext | |
21571 | cat >>conftest.$ac_ext <<_ACEOF | |
21572 | /* end confdefs.h. */ | |
21573 | #include <sys/types.h> | |
21574 | #ifdef HAVE_SYS_SOCKET_H | |
21575 | # include <sys/socket.h> | |
21576 | #endif | |
21577 | #ifdef HAVE_SYS_UN_H | |
21578 | # include <sys/un.h> | |
21579 | #endif | |
f5818d2f | 21580 | |
5537dbbf AJ |
21581 | int |
21582 | main () | |
21583 | { | |
21584 | static struct msghdr ac_aggr; | |
21585 | if (sizeof ac_aggr.msg_accrights) | |
21586 | return 0; | |
21587 | ; | |
21588 | return 0; | |
21589 | } | |
daa2886c | 21590 | _ACEOF |
5537dbbf | 21591 | rm -f conftest.$ac_objext |
0ebeb530 JW |
21592 | if { (ac_try="$ac_compile" |
21593 | case "(($ac_try" in | |
21594 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
21595 | *) ac_try_echo=$ac_try;; | |
21596 | esac | |
abf5048b AJ |
21597 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
21598 | $as_echo "$ac_try_echo") >&5 | |
0ebeb530 | 21599 | (eval "$ac_compile") 2>conftest.er1 |
5537dbbf | 21600 | ac_status=$? |
875927f6 AJ |
21601 | grep -v '^ *+' conftest.er1 >conftest.err |
21602 | rm -f conftest.er1 | |
21603 | cat conftest.err >&5 | |
abf5048b | 21604 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
dc9f3843 AJ |
21605 | (exit $ac_status); } && { |
21606 | test -z "$ac_c_werror_flag" || | |
21607 | test ! -s conftest.err | |
21608 | } && test -s conftest.$ac_objext; then | |
5537dbbf AJ |
21609 | ac_cv_member_struct_msghdr_msg_accrights=yes |
21610 | else | |
abf5048b | 21611 | $as_echo "$as_me: failed program was:" >&5 |
5537dbbf | 21612 | sed 's/^/| /' conftest.$ac_ext >&5 |
829fe323 | 21613 | |
fc6ffb29 | 21614 | ac_cv_member_struct_msghdr_msg_accrights=no |
5537dbbf | 21615 | fi |
fc6ffb29 | 21616 | |
0ebeb530 | 21617 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
5537dbbf | 21618 | fi |
fc6ffb29 | 21619 | |
0ebeb530 | 21620 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
829fe323 | 21621 | fi |
abf5048b AJ |
21622 | { $as_echo "$as_me:$LINENO: result: $ac_cv_member_struct_msghdr_msg_accrights" >&5 |
21623 | $as_echo "$ac_cv_member_struct_msghdr_msg_accrights" >&6; } | |
21624 | if test "x$ac_cv_member_struct_msghdr_msg_accrights" = x""yes; then | |
829fe323 | 21625 | |
5537dbbf AJ |
21626 | cat >>confdefs.h <<_ACEOF |
21627 | #define HAVE_STRUCT_MSGHDR_MSG_ACCRIGHTS 1 | |
21628 | _ACEOF | |
daa2886c AJ |
21629 | |
21630 | ||
5537dbbf | 21631 | fi |
abf5048b AJ |
21632 | { $as_echo "$as_me:$LINENO: checking for struct sockaddr.sa_len" >&5 |
21633 | $as_echo_n "checking for struct sockaddr.sa_len... " >&6; } | |
5537dbbf | 21634 | if test "${ac_cv_member_struct_sockaddr_sa_len+set}" = set; then |
abf5048b | 21635 | $as_echo_n "(cached) " >&6 |
2d33ab91 | 21636 | else |
f5818d2f | 21637 | cat >conftest.$ac_ext <<_ACEOF |
e24bcc77 AJ |
21638 | /* confdefs.h. */ |
21639 | _ACEOF | |
21640 | cat confdefs.h >>conftest.$ac_ext | |
21641 | cat >>conftest.$ac_ext <<_ACEOF | |
21642 | /* end confdefs.h. */ | |
2d33ab91 | 21643 | #include <sys/types.h> |
63ae7fee PS |
21644 | #ifdef HAVE_SYS_SOCKET_H |
21645 | # include <sys/socket.h> | |
21646 | #endif | |
5537dbbf AJ |
21647 | #ifdef HAVE_SYS_UN_H |
21648 | # include <sys/un.h> | |
21649 | #endif | |
21650 | ||
f5818d2f AJ |
21651 | int |
21652 | main () | |
21653 | { | |
5537dbbf AJ |
21654 | static struct sockaddr ac_aggr; |
21655 | if (ac_aggr.sa_len) | |
21656 | return 0; | |
f5818d2f AJ |
21657 | ; |
21658 | return 0; | |
21659 | } | |
21660 | _ACEOF | |
21661 | rm -f conftest.$ac_objext | |
0ebeb530 JW |
21662 | if { (ac_try="$ac_compile" |
21663 | case "(($ac_try" in | |
21664 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
21665 | *) ac_try_echo=$ac_try;; | |
21666 | esac | |
abf5048b AJ |
21667 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
21668 | $as_echo "$ac_try_echo") >&5 | |
0ebeb530 | 21669 | (eval "$ac_compile") 2>conftest.er1 |
f5818d2f | 21670 | ac_status=$? |
875927f6 AJ |
21671 | grep -v '^ *+' conftest.er1 >conftest.err |
21672 | rm -f conftest.er1 | |
21673 | cat conftest.err >&5 | |
abf5048b | 21674 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
dc9f3843 AJ |
21675 | (exit $ac_status); } && { |
21676 | test -z "$ac_c_werror_flag" || | |
21677 | test ! -s conftest.err | |
21678 | } && test -s conftest.$ac_objext; then | |
5537dbbf | 21679 | ac_cv_member_struct_sockaddr_sa_len=yes |
09da966c | 21680 | else |
abf5048b | 21681 | $as_echo "$as_me: failed program was:" >&5 |
e24bcc77 AJ |
21682 | sed 's/^/| /' conftest.$ac_ext >&5 |
21683 | ||
fc6ffb29 | 21684 | cat >conftest.$ac_ext <<_ACEOF |
5537dbbf AJ |
21685 | /* confdefs.h. */ |
21686 | _ACEOF | |
21687 | cat confdefs.h >>conftest.$ac_ext | |
21688 | cat >>conftest.$ac_ext <<_ACEOF | |
21689 | /* end confdefs.h. */ | |
21690 | #include <sys/types.h> | |
21691 | #ifdef HAVE_SYS_SOCKET_H | |
21692 | # include <sys/socket.h> | |
21693 | #endif | |
21694 | #ifdef HAVE_SYS_UN_H | |
21695 | # include <sys/un.h> | |
21696 | #endif | |
09da966c | 21697 | |
5537dbbf AJ |
21698 | int |
21699 | main () | |
21700 | { | |
21701 | static struct sockaddr ac_aggr; | |
21702 | if (sizeof ac_aggr.sa_len) | |
21703 | return 0; | |
21704 | ; | |
21705 | return 0; | |
21706 | } | |
daa2886c | 21707 | _ACEOF |
5537dbbf | 21708 | rm -f conftest.$ac_objext |
0ebeb530 JW |
21709 | if { (ac_try="$ac_compile" |
21710 | case "(($ac_try" in | |
21711 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
21712 | *) ac_try_echo=$ac_try;; | |
21713 | esac | |
abf5048b AJ |
21714 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
21715 | $as_echo "$ac_try_echo") >&5 | |
0ebeb530 | 21716 | (eval "$ac_compile") 2>conftest.er1 |
5537dbbf | 21717 | ac_status=$? |
875927f6 AJ |
21718 | grep -v '^ *+' conftest.er1 >conftest.err |
21719 | rm -f conftest.er1 | |
21720 | cat conftest.err >&5 | |
abf5048b | 21721 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
dc9f3843 AJ |
21722 | (exit $ac_status); } && { |
21723 | test -z "$ac_c_werror_flag" || | |
21724 | test ! -s conftest.err | |
21725 | } && test -s conftest.$ac_objext; then | |
5537dbbf AJ |
21726 | ac_cv_member_struct_sockaddr_sa_len=yes |
21727 | else | |
abf5048b | 21728 | $as_echo "$as_me: failed program was:" >&5 |
5537dbbf | 21729 | sed 's/^/| /' conftest.$ac_ext >&5 |
09da966c | 21730 | |
fc6ffb29 | 21731 | ac_cv_member_struct_sockaddr_sa_len=no |
5537dbbf | 21732 | fi |
fc6ffb29 | 21733 | |
0ebeb530 | 21734 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
5537dbbf | 21735 | fi |
fc6ffb29 | 21736 | |
0ebeb530 | 21737 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
09da966c | 21738 | fi |
abf5048b AJ |
21739 | { $as_echo "$as_me:$LINENO: result: $ac_cv_member_struct_sockaddr_sa_len" >&5 |
21740 | $as_echo "$ac_cv_member_struct_sockaddr_sa_len" >&6; } | |
21741 | if test "x$ac_cv_member_struct_sockaddr_sa_len" = x""yes; then | |
09da966c | 21742 | |
5537dbbf AJ |
21743 | cat >>confdefs.h <<_ACEOF |
21744 | #define HAVE_STRUCT_SOCKADDR_SA_LEN 1 | |
21745 | _ACEOF | |
daa2886c AJ |
21746 | |
21747 | ||
5537dbbf | 21748 | fi |
abf5048b AJ |
21749 | { $as_echo "$as_me:$LINENO: checking for struct sockaddr_un.sun_len" >&5 |
21750 | $as_echo_n "checking for struct sockaddr_un.sun_len... " >&6; } | |
5537dbbf | 21751 | if test "${ac_cv_member_struct_sockaddr_un_sun_len+set}" = set; then |
abf5048b | 21752 | $as_echo_n "(cached) " >&6 |
09da966c | 21753 | else |
f5818d2f | 21754 | cat >conftest.$ac_ext <<_ACEOF |
e24bcc77 AJ |
21755 | /* confdefs.h. */ |
21756 | _ACEOF | |
21757 | cat confdefs.h >>conftest.$ac_ext | |
21758 | cat >>conftest.$ac_ext <<_ACEOF | |
21759 | /* end confdefs.h. */ | |
09da966c | 21760 | #include <sys/types.h> |
63ae7fee PS |
21761 | #ifdef HAVE_SYS_SOCKET_H |
21762 | # include <sys/socket.h> | |
21763 | #endif | |
21764 | #ifdef HAVE_SYS_UN_H | |
21765 | # include <sys/un.h> | |
21766 | #endif | |
5537dbbf | 21767 | |
f5818d2f AJ |
21768 | int |
21769 | main () | |
21770 | { | |
5537dbbf AJ |
21771 | static struct sockaddr_un ac_aggr; |
21772 | if (ac_aggr.sun_len) | |
21773 | return 0; | |
f5818d2f AJ |
21774 | ; |
21775 | return 0; | |
21776 | } | |
21777 | _ACEOF | |
21778 | rm -f conftest.$ac_objext | |
0ebeb530 JW |
21779 | if { (ac_try="$ac_compile" |
21780 | case "(($ac_try" in | |
21781 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
21782 | *) ac_try_echo=$ac_try;; | |
21783 | esac | |
abf5048b AJ |
21784 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
21785 | $as_echo "$ac_try_echo") >&5 | |
0ebeb530 | 21786 | (eval "$ac_compile") 2>conftest.er1 |
f5818d2f | 21787 | ac_status=$? |
875927f6 AJ |
21788 | grep -v '^ *+' conftest.er1 >conftest.err |
21789 | rm -f conftest.er1 | |
21790 | cat conftest.err >&5 | |
abf5048b | 21791 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
dc9f3843 AJ |
21792 | (exit $ac_status); } && { |
21793 | test -z "$ac_c_werror_flag" || | |
21794 | test ! -s conftest.err | |
21795 | } && test -s conftest.$ac_objext; then | |
5537dbbf | 21796 | ac_cv_member_struct_sockaddr_un_sun_len=yes |
f5818d2f | 21797 | else |
abf5048b | 21798 | $as_echo "$as_me: failed program was:" >&5 |
e24bcc77 AJ |
21799 | sed 's/^/| /' conftest.$ac_ext >&5 |
21800 | ||
fc6ffb29 | 21801 | cat >conftest.$ac_ext <<_ACEOF |
5537dbbf AJ |
21802 | /* confdefs.h. */ |
21803 | _ACEOF | |
21804 | cat confdefs.h >>conftest.$ac_ext | |
21805 | cat >>conftest.$ac_ext <<_ACEOF | |
21806 | /* end confdefs.h. */ | |
21807 | #include <sys/types.h> | |
21808 | #ifdef HAVE_SYS_SOCKET_H | |
21809 | # include <sys/socket.h> | |
21810 | #endif | |
21811 | #ifdef HAVE_SYS_UN_H | |
21812 | # include <sys/un.h> | |
21813 | #endif | |
21814 | ||
21815 | int | |
21816 | main () | |
21817 | { | |
21818 | static struct sockaddr_un ac_aggr; | |
21819 | if (sizeof ac_aggr.sun_len) | |
21820 | return 0; | |
21821 | ; | |
21822 | return 0; | |
21823 | } | |
21824 | _ACEOF | |
21825 | rm -f conftest.$ac_objext | |
0ebeb530 JW |
21826 | if { (ac_try="$ac_compile" |
21827 | case "(($ac_try" in | |
21828 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
21829 | *) ac_try_echo=$ac_try;; | |
21830 | esac | |
abf5048b AJ |
21831 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
21832 | $as_echo "$ac_try_echo") >&5 | |
0ebeb530 | 21833 | (eval "$ac_compile") 2>conftest.er1 |
5537dbbf | 21834 | ac_status=$? |
875927f6 AJ |
21835 | grep -v '^ *+' conftest.er1 >conftest.err |
21836 | rm -f conftest.er1 | |
21837 | cat conftest.err >&5 | |
abf5048b | 21838 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
dc9f3843 AJ |
21839 | (exit $ac_status); } && { |
21840 | test -z "$ac_c_werror_flag" || | |
21841 | test ! -s conftest.err | |
21842 | } && test -s conftest.$ac_objext; then | |
5537dbbf AJ |
21843 | ac_cv_member_struct_sockaddr_un_sun_len=yes |
21844 | else | |
abf5048b | 21845 | $as_echo "$as_me: failed program was:" >&5 |
5537dbbf AJ |
21846 | sed 's/^/| /' conftest.$ac_ext >&5 |
21847 | ||
fc6ffb29 | 21848 | ac_cv_member_struct_sockaddr_un_sun_len=no |
f5818d2f | 21849 | fi |
fc6ffb29 | 21850 | |
0ebeb530 | 21851 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
f5818d2f | 21852 | fi |
fc6ffb29 | 21853 | |
0ebeb530 | 21854 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
5537dbbf | 21855 | fi |
abf5048b AJ |
21856 | { $as_echo "$as_me:$LINENO: result: $ac_cv_member_struct_sockaddr_un_sun_len" >&5 |
21857 | $as_echo "$ac_cv_member_struct_sockaddr_un_sun_len" >&6; } | |
21858 | if test "x$ac_cv_member_struct_sockaddr_un_sun_len" = x""yes; then | |
f5818d2f | 21859 | |
5537dbbf AJ |
21860 | cat >>confdefs.h <<_ACEOF |
21861 | #define HAVE_STRUCT_SOCKADDR_UN_SUN_LEN 1 | |
21862 | _ACEOF | |
21863 | ||
21864 | ||
21865 | fi | |
21866 | ||
21867 | ||
abf5048b AJ |
21868 | { $as_echo "$as_me:$LINENO: checking for scsireq_t.cmd" >&5 |
21869 | $as_echo_n "checking for scsireq_t.cmd... " >&6; } | |
ea64a36a | 21870 | if test "${ac_cv_member_scsireq_t_cmd+set}" = set; then |
abf5048b | 21871 | $as_echo_n "(cached) " >&6 |
ea64a36a DT |
21872 | else |
21873 | cat >conftest.$ac_ext <<_ACEOF | |
21874 | /* confdefs.h. */ | |
21875 | _ACEOF | |
21876 | cat confdefs.h >>conftest.$ac_ext | |
21877 | cat >>conftest.$ac_ext <<_ACEOF | |
21878 | /* end confdefs.h. */ | |
21879 | #include <sys/types.h> | |
21880 | #ifdef HAVE_SCSI_SG_H | |
21881 | #include <scsi/sg.h> | |
21882 | #endif | |
21883 | ||
21884 | int | |
21885 | main () | |
21886 | { | |
21887 | static scsireq_t ac_aggr; | |
21888 | if (ac_aggr.cmd) | |
21889 | return 0; | |
21890 | ; | |
21891 | return 0; | |
21892 | } | |
21893 | _ACEOF | |
21894 | rm -f conftest.$ac_objext | |
0ebeb530 JW |
21895 | if { (ac_try="$ac_compile" |
21896 | case "(($ac_try" in | |
21897 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
21898 | *) ac_try_echo=$ac_try;; | |
21899 | esac | |
abf5048b AJ |
21900 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
21901 | $as_echo "$ac_try_echo") >&5 | |
0ebeb530 | 21902 | (eval "$ac_compile") 2>conftest.er1 |
ea64a36a DT |
21903 | ac_status=$? |
21904 | grep -v '^ *+' conftest.er1 >conftest.err | |
21905 | rm -f conftest.er1 | |
21906 | cat conftest.err >&5 | |
abf5048b | 21907 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
dc9f3843 AJ |
21908 | (exit $ac_status); } && { |
21909 | test -z "$ac_c_werror_flag" || | |
21910 | test ! -s conftest.err | |
21911 | } && test -s conftest.$ac_objext; then | |
ea64a36a DT |
21912 | ac_cv_member_scsireq_t_cmd=yes |
21913 | else | |
abf5048b | 21914 | $as_echo "$as_me: failed program was:" >&5 |
ea64a36a DT |
21915 | sed 's/^/| /' conftest.$ac_ext >&5 |
21916 | ||
fc6ffb29 | 21917 | cat >conftest.$ac_ext <<_ACEOF |
ea64a36a DT |
21918 | /* confdefs.h. */ |
21919 | _ACEOF | |
21920 | cat confdefs.h >>conftest.$ac_ext | |
21921 | cat >>conftest.$ac_ext <<_ACEOF | |
21922 | /* end confdefs.h. */ | |
21923 | #include <sys/types.h> | |
21924 | #ifdef HAVE_SCSI_SG_H | |
21925 | #include <scsi/sg.h> | |
21926 | #endif | |
21927 | ||
21928 | int | |
21929 | main () | |
21930 | { | |
21931 | static scsireq_t ac_aggr; | |
21932 | if (sizeof ac_aggr.cmd) | |
21933 | return 0; | |
21934 | ; | |
21935 | return 0; | |
21936 | } | |
21937 | _ACEOF | |
21938 | rm -f conftest.$ac_objext | |
0ebeb530 JW |
21939 | if { (ac_try="$ac_compile" |
21940 | case "(($ac_try" in | |
21941 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
21942 | *) ac_try_echo=$ac_try;; | |
21943 | esac | |
abf5048b AJ |
21944 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
21945 | $as_echo "$ac_try_echo") >&5 | |
0ebeb530 | 21946 | (eval "$ac_compile") 2>conftest.er1 |
ea64a36a DT |
21947 | ac_status=$? |
21948 | grep -v '^ *+' conftest.er1 >conftest.err | |
21949 | rm -f conftest.er1 | |
21950 | cat conftest.err >&5 | |
abf5048b | 21951 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
dc9f3843 AJ |
21952 | (exit $ac_status); } && { |
21953 | test -z "$ac_c_werror_flag" || | |
21954 | test ! -s conftest.err | |
21955 | } && test -s conftest.$ac_objext; then | |
ea64a36a DT |
21956 | ac_cv_member_scsireq_t_cmd=yes |
21957 | else | |
abf5048b | 21958 | $as_echo "$as_me: failed program was:" >&5 |
ea64a36a DT |
21959 | sed 's/^/| /' conftest.$ac_ext >&5 |
21960 | ||
fc6ffb29 | 21961 | ac_cv_member_scsireq_t_cmd=no |
ea64a36a | 21962 | fi |
fc6ffb29 | 21963 | |
0ebeb530 | 21964 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
ea64a36a | 21965 | fi |
fc6ffb29 | 21966 | |
0ebeb530 | 21967 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
ea64a36a | 21968 | fi |
abf5048b AJ |
21969 | { $as_echo "$as_me:$LINENO: result: $ac_cv_member_scsireq_t_cmd" >&5 |
21970 | $as_echo "$ac_cv_member_scsireq_t_cmd" >&6; } | |
21971 | if test "x$ac_cv_member_scsireq_t_cmd" = x""yes; then | |
ea64a36a DT |
21972 | |
21973 | cat >>confdefs.h <<_ACEOF | |
21974 | #define HAVE_SCSIREQ_T_CMD 1 | |
21975 | _ACEOF | |
21976 | ||
21977 | ||
21978 | fi | |
abf5048b AJ |
21979 | { $as_echo "$as_me:$LINENO: checking for sg_io_hdr_t.interface_id" >&5 |
21980 | $as_echo_n "checking for sg_io_hdr_t.interface_id... " >&6; } | |
ea64a36a | 21981 | if test "${ac_cv_member_sg_io_hdr_t_interface_id+set}" = set; then |
abf5048b | 21982 | $as_echo_n "(cached) " >&6 |
ea64a36a DT |
21983 | else |
21984 | cat >conftest.$ac_ext <<_ACEOF | |
21985 | /* confdefs.h. */ | |
21986 | _ACEOF | |
21987 | cat confdefs.h >>conftest.$ac_ext | |
21988 | cat >>conftest.$ac_ext <<_ACEOF | |
21989 | /* end confdefs.h. */ | |
21990 | #include <sys/types.h> | |
21991 | #ifdef HAVE_SCSI_SG_H | |
21992 | #include <scsi/sg.h> | |
21993 | #endif | |
21994 | ||
21995 | int | |
21996 | main () | |
21997 | { | |
21998 | static sg_io_hdr_t ac_aggr; | |
21999 | if (ac_aggr.interface_id) | |
22000 | return 0; | |
22001 | ; | |
22002 | return 0; | |
22003 | } | |
22004 | _ACEOF | |
22005 | rm -f conftest.$ac_objext | |
0ebeb530 JW |
22006 | if { (ac_try="$ac_compile" |
22007 | case "(($ac_try" in | |
22008 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
22009 | *) ac_try_echo=$ac_try;; | |
22010 | esac | |
abf5048b AJ |
22011 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
22012 | $as_echo "$ac_try_echo") >&5 | |
0ebeb530 | 22013 | (eval "$ac_compile") 2>conftest.er1 |
ea64a36a DT |
22014 | ac_status=$? |
22015 | grep -v '^ *+' conftest.er1 >conftest.err | |
22016 | rm -f conftest.er1 | |
22017 | cat conftest.err >&5 | |
abf5048b | 22018 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
dc9f3843 AJ |
22019 | (exit $ac_status); } && { |
22020 | test -z "$ac_c_werror_flag" || | |
22021 | test ! -s conftest.err | |
22022 | } && test -s conftest.$ac_objext; then | |
ea64a36a DT |
22023 | ac_cv_member_sg_io_hdr_t_interface_id=yes |
22024 | else | |
abf5048b | 22025 | $as_echo "$as_me: failed program was:" >&5 |
ea64a36a DT |
22026 | sed 's/^/| /' conftest.$ac_ext >&5 |
22027 | ||
fc6ffb29 | 22028 | cat >conftest.$ac_ext <<_ACEOF |
ea64a36a DT |
22029 | /* confdefs.h. */ |
22030 | _ACEOF | |
22031 | cat confdefs.h >>conftest.$ac_ext | |
22032 | cat >>conftest.$ac_ext <<_ACEOF | |
22033 | /* end confdefs.h. */ | |
22034 | #include <sys/types.h> | |
22035 | #ifdef HAVE_SCSI_SG_H | |
22036 | #include <scsi/sg.h> | |
22037 | #endif | |
22038 | ||
22039 | int | |
22040 | main () | |
22041 | { | |
22042 | static sg_io_hdr_t ac_aggr; | |
22043 | if (sizeof ac_aggr.interface_id) | |
22044 | return 0; | |
22045 | ; | |
22046 | return 0; | |
22047 | } | |
22048 | _ACEOF | |
22049 | rm -f conftest.$ac_objext | |
0ebeb530 JW |
22050 | if { (ac_try="$ac_compile" |
22051 | case "(($ac_try" in | |
22052 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
22053 | *) ac_try_echo=$ac_try;; | |
22054 | esac | |
abf5048b AJ |
22055 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
22056 | $as_echo "$ac_try_echo") >&5 | |
0ebeb530 | 22057 | (eval "$ac_compile") 2>conftest.er1 |
ea64a36a DT |
22058 | ac_status=$? |
22059 | grep -v '^ *+' conftest.er1 >conftest.err | |
22060 | rm -f conftest.er1 | |
22061 | cat conftest.err >&5 | |
abf5048b | 22062 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
dc9f3843 AJ |
22063 | (exit $ac_status); } && { |
22064 | test -z "$ac_c_werror_flag" || | |
22065 | test ! -s conftest.err | |
22066 | } && test -s conftest.$ac_objext; then | |
ea64a36a DT |
22067 | ac_cv_member_sg_io_hdr_t_interface_id=yes |
22068 | else | |
abf5048b | 22069 | $as_echo "$as_me: failed program was:" >&5 |
ea64a36a DT |
22070 | sed 's/^/| /' conftest.$ac_ext >&5 |
22071 | ||
fc6ffb29 | 22072 | ac_cv_member_sg_io_hdr_t_interface_id=no |
ea64a36a | 22073 | fi |
fc6ffb29 | 22074 | |
0ebeb530 | 22075 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
ea64a36a | 22076 | fi |
fc6ffb29 | 22077 | |
0ebeb530 | 22078 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
ea64a36a | 22079 | fi |
abf5048b AJ |
22080 | { $as_echo "$as_me:$LINENO: result: $ac_cv_member_sg_io_hdr_t_interface_id" >&5 |
22081 | $as_echo "$ac_cv_member_sg_io_hdr_t_interface_id" >&6; } | |
22082 | if test "x$ac_cv_member_sg_io_hdr_t_interface_id" = x""yes; then | |
ea64a36a DT |
22083 | |
22084 | cat >>confdefs.h <<_ACEOF | |
22085 | #define HAVE_SG_IO_HDR_T_INTERFACE_ID 1 | |
22086 | _ACEOF | |
22087 | ||
22088 | ||
22089 | fi | |
22090 | ||
22091 | ||
abf5048b AJ |
22092 | { $as_echo "$as_me:$LINENO: checking for siginfo_t.si_fd" >&5 |
22093 | $as_echo_n "checking for siginfo_t.si_fd... " >&6; } | |
5537dbbf | 22094 | if test "${ac_cv_member_siginfo_t_si_fd+set}" = set; then |
abf5048b | 22095 | $as_echo_n "(cached) " >&6 |
5537dbbf AJ |
22096 | else |
22097 | cat >conftest.$ac_ext <<_ACEOF | |
5537dbbf AJ |
22098 | /* confdefs.h. */ |
22099 | _ACEOF | |
22100 | cat confdefs.h >>conftest.$ac_ext | |
22101 | cat >>conftest.$ac_ext <<_ACEOF | |
22102 | /* end confdefs.h. */ | |
22103 | #include <signal.h> | |
22104 | ||
22105 | int | |
22106 | main () | |
22107 | { | |
22108 | static siginfo_t ac_aggr; | |
22109 | if (ac_aggr.si_fd) | |
22110 | return 0; | |
22111 | ; | |
22112 | return 0; | |
22113 | } | |
22114 | _ACEOF | |
22115 | rm -f conftest.$ac_objext | |
0ebeb530 JW |
22116 | if { (ac_try="$ac_compile" |
22117 | case "(($ac_try" in | |
22118 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
22119 | *) ac_try_echo=$ac_try;; | |
22120 | esac | |
abf5048b AJ |
22121 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
22122 | $as_echo "$ac_try_echo") >&5 | |
0ebeb530 | 22123 | (eval "$ac_compile") 2>conftest.er1 |
5537dbbf | 22124 | ac_status=$? |
875927f6 AJ |
22125 | grep -v '^ *+' conftest.er1 >conftest.err |
22126 | rm -f conftest.er1 | |
22127 | cat conftest.err >&5 | |
abf5048b | 22128 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
dc9f3843 AJ |
22129 | (exit $ac_status); } && { |
22130 | test -z "$ac_c_werror_flag" || | |
22131 | test ! -s conftest.err | |
22132 | } && test -s conftest.$ac_objext; then | |
5537dbbf AJ |
22133 | ac_cv_member_siginfo_t_si_fd=yes |
22134 | else | |
abf5048b | 22135 | $as_echo "$as_me: failed program was:" >&5 |
5537dbbf AJ |
22136 | sed 's/^/| /' conftest.$ac_ext >&5 |
22137 | ||
fc6ffb29 | 22138 | cat >conftest.$ac_ext <<_ACEOF |
5537dbbf | 22139 | /* confdefs.h. */ |
daa2886c | 22140 | _ACEOF |
5537dbbf AJ |
22141 | cat confdefs.h >>conftest.$ac_ext |
22142 | cat >>conftest.$ac_ext <<_ACEOF | |
22143 | /* end confdefs.h. */ | |
22144 | #include <signal.h> | |
2d33ab91 | 22145 | |
5537dbbf AJ |
22146 | int |
22147 | main () | |
22148 | { | |
22149 | static siginfo_t ac_aggr; | |
22150 | if (sizeof ac_aggr.si_fd) | |
22151 | return 0; | |
22152 | ; | |
22153 | return 0; | |
22154 | } | |
22155 | _ACEOF | |
22156 | rm -f conftest.$ac_objext | |
0ebeb530 JW |
22157 | if { (ac_try="$ac_compile" |
22158 | case "(($ac_try" in | |
22159 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
22160 | *) ac_try_echo=$ac_try;; | |
22161 | esac | |
abf5048b AJ |
22162 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
22163 | $as_echo "$ac_try_echo") >&5 | |
0ebeb530 | 22164 | (eval "$ac_compile") 2>conftest.er1 |
5537dbbf | 22165 | ac_status=$? |
875927f6 AJ |
22166 | grep -v '^ *+' conftest.er1 >conftest.err |
22167 | rm -f conftest.er1 | |
22168 | cat conftest.err >&5 | |
abf5048b | 22169 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
dc9f3843 AJ |
22170 | (exit $ac_status); } && { |
22171 | test -z "$ac_c_werror_flag" || | |
22172 | test ! -s conftest.err | |
22173 | } && test -s conftest.$ac_objext; then | |
5537dbbf AJ |
22174 | ac_cv_member_siginfo_t_si_fd=yes |
22175 | else | |
abf5048b | 22176 | $as_echo "$as_me: failed program was:" >&5 |
5537dbbf AJ |
22177 | sed 's/^/| /' conftest.$ac_ext >&5 |
22178 | ||
fc6ffb29 | 22179 | ac_cv_member_siginfo_t_si_fd=no |
5537dbbf | 22180 | fi |
fc6ffb29 | 22181 | |
0ebeb530 | 22182 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
5537dbbf | 22183 | fi |
fc6ffb29 | 22184 | |
0ebeb530 | 22185 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
2d33ab91 | 22186 | fi |
abf5048b AJ |
22187 | { $as_echo "$as_me:$LINENO: result: $ac_cv_member_siginfo_t_si_fd" >&5 |
22188 | $as_echo "$ac_cv_member_siginfo_t_si_fd" >&6; } | |
22189 | if test "x$ac_cv_member_siginfo_t_si_fd" = x""yes; then | |
2d33ab91 | 22190 | |
5537dbbf AJ |
22191 | cat >>confdefs.h <<_ACEOF |
22192 | #define HAVE_SIGINFO_T_SI_FD 1 | |
22193 | _ACEOF | |
22194 | ||
22195 | ||
22196 | fi | |
daa2886c AJ |
22197 | |
22198 | ||
abf5048b AJ |
22199 | { $as_echo "$as_me:$LINENO: checking for struct mtget.mt_blksiz" >&5 |
22200 | $as_echo_n "checking for struct mtget.mt_blksiz... " >&6; } | |
36bdc64e | 22201 | if test "${ac_cv_member_struct_mtget_mt_blksiz+set}" = set; then |
abf5048b | 22202 | $as_echo_n "(cached) " >&6 |
36bdc64e GP |
22203 | else |
22204 | cat >conftest.$ac_ext <<_ACEOF | |
22205 | /* confdefs.h. */ | |
22206 | _ACEOF | |
22207 | cat confdefs.h >>conftest.$ac_ext | |
22208 | cat >>conftest.$ac_ext <<_ACEOF | |
22209 | /* end confdefs.h. */ | |
368dab37 | 22210 | #include <sys/types.h> |
36bdc64e GP |
22211 | #ifdef HAVE_SYS_MTIO_H |
22212 | #include <sys/mtio.h> | |
22213 | #endif | |
22214 | ||
22215 | int | |
22216 | main () | |
22217 | { | |
22218 | static struct mtget ac_aggr; | |
22219 | if (ac_aggr.mt_blksiz) | |
22220 | return 0; | |
22221 | ; | |
22222 | return 0; | |
22223 | } | |
22224 | _ACEOF | |
22225 | rm -f conftest.$ac_objext | |
0ebeb530 JW |
22226 | if { (ac_try="$ac_compile" |
22227 | case "(($ac_try" in | |
22228 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
22229 | *) ac_try_echo=$ac_try;; | |
22230 | esac | |
abf5048b AJ |
22231 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
22232 | $as_echo "$ac_try_echo") >&5 | |
0ebeb530 | 22233 | (eval "$ac_compile") 2>conftest.er1 |
36bdc64e GP |
22234 | ac_status=$? |
22235 | grep -v '^ *+' conftest.er1 >conftest.err | |
22236 | rm -f conftest.er1 | |
22237 | cat conftest.err >&5 | |
abf5048b | 22238 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
dc9f3843 AJ |
22239 | (exit $ac_status); } && { |
22240 | test -z "$ac_c_werror_flag" || | |
22241 | test ! -s conftest.err | |
22242 | } && test -s conftest.$ac_objext; then | |
36bdc64e GP |
22243 | ac_cv_member_struct_mtget_mt_blksiz=yes |
22244 | else | |
abf5048b | 22245 | $as_echo "$as_me: failed program was:" >&5 |
36bdc64e GP |
22246 | sed 's/^/| /' conftest.$ac_ext >&5 |
22247 | ||
fc6ffb29 | 22248 | cat >conftest.$ac_ext <<_ACEOF |
36bdc64e GP |
22249 | /* confdefs.h. */ |
22250 | _ACEOF | |
22251 | cat confdefs.h >>conftest.$ac_ext | |
22252 | cat >>conftest.$ac_ext <<_ACEOF | |
22253 | /* end confdefs.h. */ | |
368dab37 | 22254 | #include <sys/types.h> |
36bdc64e GP |
22255 | #ifdef HAVE_SYS_MTIO_H |
22256 | #include <sys/mtio.h> | |
22257 | #endif | |
22258 | ||
22259 | int | |
22260 | main () | |
22261 | { | |
22262 | static struct mtget ac_aggr; | |
22263 | if (sizeof ac_aggr.mt_blksiz) | |
22264 | return 0; | |
22265 | ; | |
22266 | return 0; | |
22267 | } | |
22268 | _ACEOF | |
22269 | rm -f conftest.$ac_objext | |
0ebeb530 | 22270 | if { (ac_try="$ac_compile" |
dc9f3843 | 22271 | case "(($ac_try" in |
0ebeb530 JW |
22272 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
22273 | *) ac_try_echo=$ac_try;; | |
22274 | esac | |
abf5048b AJ |
22275 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
22276 | $as_echo "$ac_try_echo") >&5 | |
dc9f3843 | 22277 | (eval "$ac_compile") 2>conftest.er1 |
36bdc64e | 22278 | ac_status=$? |
dc9f3843 AJ |
22279 | grep -v '^ *+' conftest.er1 >conftest.err |
22280 | rm -f conftest.er1 | |
22281 | cat conftest.err >&5 | |
abf5048b | 22282 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
dc9f3843 AJ |
22283 | (exit $ac_status); } && { |
22284 | test -z "$ac_c_werror_flag" || | |
22285 | test ! -s conftest.err | |
22286 | } && test -s conftest.$ac_objext; then | |
36bdc64e GP |
22287 | ac_cv_member_struct_mtget_mt_blksiz=yes |
22288 | else | |
abf5048b | 22289 | $as_echo "$as_me: failed program was:" >&5 |
36bdc64e GP |
22290 | sed 's/^/| /' conftest.$ac_ext >&5 |
22291 | ||
fc6ffb29 | 22292 | ac_cv_member_struct_mtget_mt_blksiz=no |
36bdc64e | 22293 | fi |
fc6ffb29 | 22294 | |
0ebeb530 | 22295 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
36bdc64e | 22296 | fi |
fc6ffb29 | 22297 | |
0ebeb530 | 22298 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
36bdc64e | 22299 | fi |
abf5048b AJ |
22300 | { $as_echo "$as_me:$LINENO: result: $ac_cv_member_struct_mtget_mt_blksiz" >&5 |
22301 | $as_echo "$ac_cv_member_struct_mtget_mt_blksiz" >&6; } | |
22302 | if test "x$ac_cv_member_struct_mtget_mt_blksiz" = x""yes; then | |
36bdc64e GP |
22303 | |
22304 | cat >>confdefs.h <<_ACEOF | |
22305 | #define HAVE_STRUCT_MTGET_MT_BLKSIZ 1 | |
22306 | _ACEOF | |
22307 | ||
22308 | ||
22309 | fi | |
abf5048b AJ |
22310 | { $as_echo "$as_me:$LINENO: checking for struct mtget.mt_gstat" >&5 |
22311 | $as_echo_n "checking for struct mtget.mt_gstat... " >&6; } | |
36bdc64e | 22312 | if test "${ac_cv_member_struct_mtget_mt_gstat+set}" = set; then |
abf5048b | 22313 | $as_echo_n "(cached) " >&6 |
36bdc64e GP |
22314 | else |
22315 | cat >conftest.$ac_ext <<_ACEOF | |
22316 | /* confdefs.h. */ | |
22317 | _ACEOF | |
22318 | cat confdefs.h >>conftest.$ac_ext | |
22319 | cat >>conftest.$ac_ext <<_ACEOF | |
22320 | /* end confdefs.h. */ | |
368dab37 | 22321 | #include <sys/types.h> |
36bdc64e GP |
22322 | #ifdef HAVE_SYS_MTIO_H |
22323 | #include <sys/mtio.h> | |
22324 | #endif | |
22325 | ||
22326 | int | |
22327 | main () | |
22328 | { | |
22329 | static struct mtget ac_aggr; | |
22330 | if (ac_aggr.mt_gstat) | |
22331 | return 0; | |
22332 | ; | |
22333 | return 0; | |
22334 | } | |
22335 | _ACEOF | |
22336 | rm -f conftest.$ac_objext | |
0ebeb530 JW |
22337 | if { (ac_try="$ac_compile" |
22338 | case "(($ac_try" in | |
22339 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
22340 | *) ac_try_echo=$ac_try;; | |
22341 | esac | |
abf5048b AJ |
22342 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
22343 | $as_echo "$ac_try_echo") >&5 | |
0ebeb530 | 22344 | (eval "$ac_compile") 2>conftest.er1 |
36bdc64e GP |
22345 | ac_status=$? |
22346 | grep -v '^ *+' conftest.er1 >conftest.err | |
22347 | rm -f conftest.er1 | |
22348 | cat conftest.err >&5 | |
abf5048b | 22349 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
dc9f3843 AJ |
22350 | (exit $ac_status); } && { |
22351 | test -z "$ac_c_werror_flag" || | |
22352 | test ! -s conftest.err | |
22353 | } && test -s conftest.$ac_objext; then | |
36bdc64e GP |
22354 | ac_cv_member_struct_mtget_mt_gstat=yes |
22355 | else | |
abf5048b | 22356 | $as_echo "$as_me: failed program was:" >&5 |
36bdc64e GP |
22357 | sed 's/^/| /' conftest.$ac_ext >&5 |
22358 | ||
fc6ffb29 | 22359 | cat >conftest.$ac_ext <<_ACEOF |
36bdc64e GP |
22360 | /* confdefs.h. */ |
22361 | _ACEOF | |
22362 | cat confdefs.h >>conftest.$ac_ext | |
22363 | cat >>conftest.$ac_ext <<_ACEOF | |
22364 | /* end confdefs.h. */ | |
368dab37 | 22365 | #include <sys/types.h> |
36bdc64e GP |
22366 | #ifdef HAVE_SYS_MTIO_H |
22367 | #include <sys/mtio.h> | |
22368 | #endif | |
22369 | ||
22370 | int | |
22371 | main () | |
22372 | { | |
22373 | static struct mtget ac_aggr; | |
22374 | if (sizeof ac_aggr.mt_gstat) | |
22375 | return 0; | |
22376 | ; | |
22377 | return 0; | |
22378 | } | |
22379 | _ACEOF | |
22380 | rm -f conftest.$ac_objext | |
0ebeb530 JW |
22381 | if { (ac_try="$ac_compile" |
22382 | case "(($ac_try" in | |
22383 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
22384 | *) ac_try_echo=$ac_try;; | |
22385 | esac | |
abf5048b AJ |
22386 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
22387 | $as_echo "$ac_try_echo") >&5 | |
0ebeb530 | 22388 | (eval "$ac_compile") 2>conftest.er1 |
36bdc64e GP |
22389 | ac_status=$? |
22390 | grep -v '^ *+' conftest.er1 >conftest.err | |
22391 | rm -f conftest.er1 | |
22392 | cat conftest.err >&5 | |
abf5048b | 22393 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
dc9f3843 AJ |
22394 | (exit $ac_status); } && { |
22395 | test -z "$ac_c_werror_flag" || | |
22396 | test ! -s conftest.err | |
22397 | } && test -s conftest.$ac_objext; then | |
36bdc64e GP |
22398 | ac_cv_member_struct_mtget_mt_gstat=yes |
22399 | else | |
abf5048b | 22400 | $as_echo "$as_me: failed program was:" >&5 |
36bdc64e GP |
22401 | sed 's/^/| /' conftest.$ac_ext >&5 |
22402 | ||
fc6ffb29 | 22403 | ac_cv_member_struct_mtget_mt_gstat=no |
36bdc64e | 22404 | fi |
fc6ffb29 | 22405 | |
0ebeb530 | 22406 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
36bdc64e | 22407 | fi |
fc6ffb29 | 22408 | |
0ebeb530 | 22409 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
36bdc64e | 22410 | fi |
abf5048b AJ |
22411 | { $as_echo "$as_me:$LINENO: result: $ac_cv_member_struct_mtget_mt_gstat" >&5 |
22412 | $as_echo "$ac_cv_member_struct_mtget_mt_gstat" >&6; } | |
22413 | if test "x$ac_cv_member_struct_mtget_mt_gstat" = x""yes; then | |
36bdc64e GP |
22414 | |
22415 | cat >>confdefs.h <<_ACEOF | |
22416 | #define HAVE_STRUCT_MTGET_MT_GSTAT 1 | |
22417 | _ACEOF | |
22418 | ||
22419 | ||
571d9fb0 | 22420 | fi |
abf5048b AJ |
22421 | { $as_echo "$as_me:$LINENO: checking for struct mtget.mt_blkno" >&5 |
22422 | $as_echo_n "checking for struct mtget.mt_blkno... " >&6; } | |
571d9fb0 | 22423 | if test "${ac_cv_member_struct_mtget_mt_blkno+set}" = set; then |
abf5048b | 22424 | $as_echo_n "(cached) " >&6 |
571d9fb0 GP |
22425 | else |
22426 | cat >conftest.$ac_ext <<_ACEOF | |
22427 | /* confdefs.h. */ | |
22428 | _ACEOF | |
22429 | cat confdefs.h >>conftest.$ac_ext | |
22430 | cat >>conftest.$ac_ext <<_ACEOF | |
22431 | /* end confdefs.h. */ | |
368dab37 | 22432 | #include <sys/types.h> |
571d9fb0 GP |
22433 | #ifdef HAVE_SYS_MTIO_H |
22434 | #include <sys/mtio.h> | |
22435 | #endif | |
22436 | ||
22437 | int | |
22438 | main () | |
22439 | { | |
22440 | static struct mtget ac_aggr; | |
22441 | if (ac_aggr.mt_blkno) | |
22442 | return 0; | |
22443 | ; | |
22444 | return 0; | |
22445 | } | |
22446 | _ACEOF | |
22447 | rm -f conftest.$ac_objext | |
0ebeb530 JW |
22448 | if { (ac_try="$ac_compile" |
22449 | case "(($ac_try" in | |
22450 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
22451 | *) ac_try_echo=$ac_try;; | |
22452 | esac | |
abf5048b AJ |
22453 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
22454 | $as_echo "$ac_try_echo") >&5 | |
0ebeb530 | 22455 | (eval "$ac_compile") 2>conftest.er1 |
571d9fb0 GP |
22456 | ac_status=$? |
22457 | grep -v '^ *+' conftest.er1 >conftest.err | |
22458 | rm -f conftest.er1 | |
22459 | cat conftest.err >&5 | |
abf5048b | 22460 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
dc9f3843 AJ |
22461 | (exit $ac_status); } && { |
22462 | test -z "$ac_c_werror_flag" || | |
22463 | test ! -s conftest.err | |
22464 | } && test -s conftest.$ac_objext; then | |
571d9fb0 GP |
22465 | ac_cv_member_struct_mtget_mt_blkno=yes |
22466 | else | |
abf5048b | 22467 | $as_echo "$as_me: failed program was:" >&5 |
571d9fb0 GP |
22468 | sed 's/^/| /' conftest.$ac_ext >&5 |
22469 | ||
fc6ffb29 | 22470 | cat >conftest.$ac_ext <<_ACEOF |
571d9fb0 GP |
22471 | /* confdefs.h. */ |
22472 | _ACEOF | |
22473 | cat confdefs.h >>conftest.$ac_ext | |
22474 | cat >>conftest.$ac_ext <<_ACEOF | |
22475 | /* end confdefs.h. */ | |
368dab37 | 22476 | #include <sys/types.h> |
571d9fb0 GP |
22477 | #ifdef HAVE_SYS_MTIO_H |
22478 | #include <sys/mtio.h> | |
22479 | #endif | |
22480 | ||
22481 | int | |
22482 | main () | |
22483 | { | |
22484 | static struct mtget ac_aggr; | |
22485 | if (sizeof ac_aggr.mt_blkno) | |
22486 | return 0; | |
22487 | ; | |
22488 | return 0; | |
22489 | } | |
22490 | _ACEOF | |
22491 | rm -f conftest.$ac_objext | |
0ebeb530 JW |
22492 | if { (ac_try="$ac_compile" |
22493 | case "(($ac_try" in | |
22494 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
22495 | *) ac_try_echo=$ac_try;; | |
22496 | esac | |
abf5048b AJ |
22497 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
22498 | $as_echo "$ac_try_echo") >&5 | |
0ebeb530 | 22499 | (eval "$ac_compile") 2>conftest.er1 |
571d9fb0 GP |
22500 | ac_status=$? |
22501 | grep -v '^ *+' conftest.er1 >conftest.err | |
22502 | rm -f conftest.er1 | |
22503 | cat conftest.err >&5 | |
abf5048b | 22504 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
dc9f3843 AJ |
22505 | (exit $ac_status); } && { |
22506 | test -z "$ac_c_werror_flag" || | |
22507 | test ! -s conftest.err | |
22508 | } && test -s conftest.$ac_objext; then | |
571d9fb0 GP |
22509 | ac_cv_member_struct_mtget_mt_blkno=yes |
22510 | else | |
abf5048b | 22511 | $as_echo "$as_me: failed program was:" >&5 |
571d9fb0 GP |
22512 | sed 's/^/| /' conftest.$ac_ext >&5 |
22513 | ||
fc6ffb29 | 22514 | ac_cv_member_struct_mtget_mt_blkno=no |
571d9fb0 | 22515 | fi |
fc6ffb29 | 22516 | |
0ebeb530 | 22517 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
571d9fb0 | 22518 | fi |
fc6ffb29 | 22519 | |
0ebeb530 | 22520 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
571d9fb0 | 22521 | fi |
abf5048b AJ |
22522 | { $as_echo "$as_me:$LINENO: result: $ac_cv_member_struct_mtget_mt_blkno" >&5 |
22523 | $as_echo "$ac_cv_member_struct_mtget_mt_blkno" >&6; } | |
22524 | if test "x$ac_cv_member_struct_mtget_mt_blkno" = x""yes; then | |
571d9fb0 GP |
22525 | |
22526 | cat >>confdefs.h <<_ACEOF | |
22527 | #define HAVE_STRUCT_MTGET_MT_BLKNO 1 | |
22528 | _ACEOF | |
22529 | ||
22530 | ||
36bdc64e GP |
22531 | fi |
22532 | ||
22533 | ||
abf5048b AJ |
22534 | { $as_echo "$as_me:$LINENO: checking for struct option.name" >&5 |
22535 | $as_echo_n "checking for struct option.name... " >&6; } | |
db89a54b | 22536 | if test "${ac_cv_member_struct_option_name+set}" = set; then |
abf5048b | 22537 | $as_echo_n "(cached) " >&6 |
db89a54b AJ |
22538 | else |
22539 | cat >conftest.$ac_ext <<_ACEOF | |
db89a54b AJ |
22540 | /* confdefs.h. */ |
22541 | _ACEOF | |
22542 | cat confdefs.h >>conftest.$ac_ext | |
22543 | cat >>conftest.$ac_ext <<_ACEOF | |
22544 | /* end confdefs.h. */ | |
22545 | #ifdef HAVE_GETOPT_H | |
22546 | #include <getopt.h> | |
22547 | #endif | |
22548 | ||
22549 | int | |
22550 | main () | |
22551 | { | |
22552 | static struct option ac_aggr; | |
22553 | if (ac_aggr.name) | |
22554 | return 0; | |
22555 | ; | |
22556 | return 0; | |
22557 | } | |
22558 | _ACEOF | |
22559 | rm -f conftest.$ac_objext | |
0ebeb530 JW |
22560 | if { (ac_try="$ac_compile" |
22561 | case "(($ac_try" in | |
22562 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
22563 | *) ac_try_echo=$ac_try;; | |
22564 | esac | |
abf5048b AJ |
22565 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
22566 | $as_echo "$ac_try_echo") >&5 | |
0ebeb530 | 22567 | (eval "$ac_compile") 2>conftest.er1 |
db89a54b | 22568 | ac_status=$? |
875927f6 AJ |
22569 | grep -v '^ *+' conftest.er1 >conftest.err |
22570 | rm -f conftest.er1 | |
22571 | cat conftest.err >&5 | |
abf5048b | 22572 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
dc9f3843 AJ |
22573 | (exit $ac_status); } && { |
22574 | test -z "$ac_c_werror_flag" || | |
22575 | test ! -s conftest.err | |
22576 | } && test -s conftest.$ac_objext; then | |
db89a54b AJ |
22577 | ac_cv_member_struct_option_name=yes |
22578 | else | |
abf5048b | 22579 | $as_echo "$as_me: failed program was:" >&5 |
db89a54b AJ |
22580 | sed 's/^/| /' conftest.$ac_ext >&5 |
22581 | ||
fc6ffb29 | 22582 | cat >conftest.$ac_ext <<_ACEOF |
db89a54b AJ |
22583 | /* confdefs.h. */ |
22584 | _ACEOF | |
22585 | cat confdefs.h >>conftest.$ac_ext | |
22586 | cat >>conftest.$ac_ext <<_ACEOF | |
22587 | /* end confdefs.h. */ | |
22588 | #ifdef HAVE_GETOPT_H | |
22589 | #include <getopt.h> | |
22590 | #endif | |
22591 | ||
22592 | int | |
22593 | main () | |
22594 | { | |
22595 | static struct option ac_aggr; | |
22596 | if (sizeof ac_aggr.name) | |
22597 | return 0; | |
22598 | ; | |
22599 | return 0; | |
22600 | } | |
22601 | _ACEOF | |
22602 | rm -f conftest.$ac_objext | |
0ebeb530 JW |
22603 | if { (ac_try="$ac_compile" |
22604 | case "(($ac_try" in | |
22605 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
22606 | *) ac_try_echo=$ac_try;; | |
22607 | esac | |
abf5048b AJ |
22608 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
22609 | $as_echo "$ac_try_echo") >&5 | |
0ebeb530 | 22610 | (eval "$ac_compile") 2>conftest.er1 |
db89a54b | 22611 | ac_status=$? |
875927f6 AJ |
22612 | grep -v '^ *+' conftest.er1 >conftest.err |
22613 | rm -f conftest.er1 | |
22614 | cat conftest.err >&5 | |
abf5048b | 22615 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
dc9f3843 AJ |
22616 | (exit $ac_status); } && { |
22617 | test -z "$ac_c_werror_flag" || | |
22618 | test ! -s conftest.err | |
22619 | } && test -s conftest.$ac_objext; then | |
db89a54b AJ |
22620 | ac_cv_member_struct_option_name=yes |
22621 | else | |
abf5048b | 22622 | $as_echo "$as_me: failed program was:" >&5 |
db89a54b AJ |
22623 | sed 's/^/| /' conftest.$ac_ext >&5 |
22624 | ||
fc6ffb29 | 22625 | ac_cv_member_struct_option_name=no |
db89a54b | 22626 | fi |
fc6ffb29 | 22627 | |
0ebeb530 | 22628 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
db89a54b | 22629 | fi |
fc6ffb29 | 22630 | |
0ebeb530 | 22631 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
db89a54b | 22632 | fi |
abf5048b AJ |
22633 | { $as_echo "$as_me:$LINENO: result: $ac_cv_member_struct_option_name" >&5 |
22634 | $as_echo "$ac_cv_member_struct_option_name" >&6; } | |
22635 | if test "x$ac_cv_member_struct_option_name" = x""yes; then | |
db89a54b AJ |
22636 | |
22637 | cat >>confdefs.h <<_ACEOF | |
22638 | #define HAVE_STRUCT_OPTION_NAME 1 | |
22639 | _ACEOF | |
22640 | ||
22641 | ||
22642 | fi | |
22643 | ||
22644 | ||
abf5048b AJ |
22645 | { $as_echo "$as_me:$LINENO: checking for struct stat.st_blocks" >&5 |
22646 | $as_echo_n "checking for struct stat.st_blocks... " >&6; } | |
d6507196 | 22647 | if test "${ac_cv_member_struct_stat_st_blocks+set}" = set; then |
abf5048b | 22648 | $as_echo_n "(cached) " >&6 |
d6507196 PR |
22649 | else |
22650 | cat >conftest.$ac_ext <<_ACEOF | |
d6507196 PR |
22651 | /* confdefs.h. */ |
22652 | _ACEOF | |
22653 | cat confdefs.h >>conftest.$ac_ext | |
22654 | cat >>conftest.$ac_ext <<_ACEOF | |
22655 | /* end confdefs.h. */ | |
22656 | $ac_includes_default | |
22657 | int | |
22658 | main () | |
22659 | { | |
22660 | static struct stat ac_aggr; | |
22661 | if (ac_aggr.st_blocks) | |
22662 | return 0; | |
22663 | ; | |
22664 | return 0; | |
22665 | } | |
22666 | _ACEOF | |
22667 | rm -f conftest.$ac_objext | |
0ebeb530 JW |
22668 | if { (ac_try="$ac_compile" |
22669 | case "(($ac_try" in | |
22670 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
22671 | *) ac_try_echo=$ac_try;; | |
22672 | esac | |
abf5048b AJ |
22673 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
22674 | $as_echo "$ac_try_echo") >&5 | |
0ebeb530 | 22675 | (eval "$ac_compile") 2>conftest.er1 |
d6507196 | 22676 | ac_status=$? |
875927f6 AJ |
22677 | grep -v '^ *+' conftest.er1 >conftest.err |
22678 | rm -f conftest.er1 | |
22679 | cat conftest.err >&5 | |
abf5048b | 22680 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
dc9f3843 AJ |
22681 | (exit $ac_status); } && { |
22682 | test -z "$ac_c_werror_flag" || | |
22683 | test ! -s conftest.err | |
22684 | } && test -s conftest.$ac_objext; then | |
d6507196 PR |
22685 | ac_cv_member_struct_stat_st_blocks=yes |
22686 | else | |
abf5048b | 22687 | $as_echo "$as_me: failed program was:" >&5 |
d6507196 PR |
22688 | sed 's/^/| /' conftest.$ac_ext >&5 |
22689 | ||
fc6ffb29 | 22690 | cat >conftest.$ac_ext <<_ACEOF |
d6507196 PR |
22691 | /* confdefs.h. */ |
22692 | _ACEOF | |
22693 | cat confdefs.h >>conftest.$ac_ext | |
22694 | cat >>conftest.$ac_ext <<_ACEOF | |
22695 | /* end confdefs.h. */ | |
22696 | $ac_includes_default | |
22697 | int | |
22698 | main () | |
22699 | { | |
22700 | static struct stat ac_aggr; | |
22701 | if (sizeof ac_aggr.st_blocks) | |
22702 | return 0; | |
22703 | ; | |
22704 | return 0; | |
22705 | } | |
22706 | _ACEOF | |
22707 | rm -f conftest.$ac_objext | |
0ebeb530 JW |
22708 | if { (ac_try="$ac_compile" |
22709 | case "(($ac_try" in | |
22710 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
22711 | *) ac_try_echo=$ac_try;; | |
22712 | esac | |
abf5048b AJ |
22713 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
22714 | $as_echo "$ac_try_echo") >&5 | |
0ebeb530 | 22715 | (eval "$ac_compile") 2>conftest.er1 |
d6507196 | 22716 | ac_status=$? |
875927f6 AJ |
22717 | grep -v '^ *+' conftest.er1 >conftest.err |
22718 | rm -f conftest.er1 | |
22719 | cat conftest.err >&5 | |
abf5048b | 22720 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
dc9f3843 AJ |
22721 | (exit $ac_status); } && { |
22722 | test -z "$ac_c_werror_flag" || | |
22723 | test ! -s conftest.err | |
22724 | } && test -s conftest.$ac_objext; then | |
d6507196 PR |
22725 | ac_cv_member_struct_stat_st_blocks=yes |
22726 | else | |
abf5048b | 22727 | $as_echo "$as_me: failed program was:" >&5 |
d6507196 PR |
22728 | sed 's/^/| /' conftest.$ac_ext >&5 |
22729 | ||
fc6ffb29 | 22730 | ac_cv_member_struct_stat_st_blocks=no |
d6507196 | 22731 | fi |
fc6ffb29 | 22732 | |
0ebeb530 | 22733 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
d6507196 | 22734 | fi |
fc6ffb29 | 22735 | |
0ebeb530 | 22736 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
d6507196 | 22737 | fi |
abf5048b AJ |
22738 | { $as_echo "$as_me:$LINENO: result: $ac_cv_member_struct_stat_st_blocks" >&5 |
22739 | $as_echo "$ac_cv_member_struct_stat_st_blocks" >&6; } | |
22740 | if test "x$ac_cv_member_struct_stat_st_blocks" = x""yes; then | |
d6507196 PR |
22741 | |
22742 | cat >>confdefs.h <<_ACEOF | |
22743 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | |
22744 | _ACEOF | |
22745 | ||
22746 | ||
af2d274f | 22747 | fi |
abf5048b AJ |
22748 | { $as_echo "$as_me:$LINENO: checking for struct stat.st_mtim" >&5 |
22749 | $as_echo_n "checking for struct stat.st_mtim... " >&6; } | |
af2d274f | 22750 | if test "${ac_cv_member_struct_stat_st_mtim+set}" = set; then |
abf5048b | 22751 | $as_echo_n "(cached) " >&6 |
af2d274f MK |
22752 | else |
22753 | cat >conftest.$ac_ext <<_ACEOF | |
22754 | /* confdefs.h. */ | |
22755 | _ACEOF | |
22756 | cat confdefs.h >>conftest.$ac_ext | |
22757 | cat >>conftest.$ac_ext <<_ACEOF | |
22758 | /* end confdefs.h. */ | |
22759 | $ac_includes_default | |
22760 | int | |
22761 | main () | |
22762 | { | |
22763 | static struct stat ac_aggr; | |
22764 | if (ac_aggr.st_mtim) | |
22765 | return 0; | |
22766 | ; | |
22767 | return 0; | |
22768 | } | |
22769 | _ACEOF | |
22770 | rm -f conftest.$ac_objext | |
22771 | if { (ac_try="$ac_compile" | |
22772 | case "(($ac_try" in | |
22773 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
22774 | *) ac_try_echo=$ac_try;; | |
22775 | esac | |
abf5048b AJ |
22776 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
22777 | $as_echo "$ac_try_echo") >&5 | |
af2d274f MK |
22778 | (eval "$ac_compile") 2>conftest.er1 |
22779 | ac_status=$? | |
22780 | grep -v '^ *+' conftest.er1 >conftest.err | |
22781 | rm -f conftest.er1 | |
22782 | cat conftest.err >&5 | |
abf5048b | 22783 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
af2d274f MK |
22784 | (exit $ac_status); } && { |
22785 | test -z "$ac_c_werror_flag" || | |
22786 | test ! -s conftest.err | |
22787 | } && test -s conftest.$ac_objext; then | |
22788 | ac_cv_member_struct_stat_st_mtim=yes | |
22789 | else | |
abf5048b | 22790 | $as_echo "$as_me: failed program was:" >&5 |
af2d274f MK |
22791 | sed 's/^/| /' conftest.$ac_ext >&5 |
22792 | ||
22793 | cat >conftest.$ac_ext <<_ACEOF | |
22794 | /* confdefs.h. */ | |
22795 | _ACEOF | |
22796 | cat confdefs.h >>conftest.$ac_ext | |
22797 | cat >>conftest.$ac_ext <<_ACEOF | |
22798 | /* end confdefs.h. */ | |
22799 | $ac_includes_default | |
22800 | int | |
22801 | main () | |
22802 | { | |
22803 | static struct stat ac_aggr; | |
22804 | if (sizeof ac_aggr.st_mtim) | |
22805 | return 0; | |
22806 | ; | |
22807 | return 0; | |
22808 | } | |
22809 | _ACEOF | |
22810 | rm -f conftest.$ac_objext | |
22811 | if { (ac_try="$ac_compile" | |
22812 | case "(($ac_try" in | |
22813 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
22814 | *) ac_try_echo=$ac_try;; | |
22815 | esac | |
abf5048b AJ |
22816 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
22817 | $as_echo "$ac_try_echo") >&5 | |
af2d274f MK |
22818 | (eval "$ac_compile") 2>conftest.er1 |
22819 | ac_status=$? | |
22820 | grep -v '^ *+' conftest.er1 >conftest.err | |
22821 | rm -f conftest.er1 | |
22822 | cat conftest.err >&5 | |
abf5048b | 22823 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
af2d274f MK |
22824 | (exit $ac_status); } && { |
22825 | test -z "$ac_c_werror_flag" || | |
22826 | test ! -s conftest.err | |
22827 | } && test -s conftest.$ac_objext; then | |
22828 | ac_cv_member_struct_stat_st_mtim=yes | |
22829 | else | |
abf5048b | 22830 | $as_echo "$as_me: failed program was:" >&5 |
af2d274f MK |
22831 | sed 's/^/| /' conftest.$ac_ext >&5 |
22832 | ||
22833 | ac_cv_member_struct_stat_st_mtim=no | |
22834 | fi | |
22835 | ||
22836 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | |
22837 | fi | |
22838 | ||
22839 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | |
22840 | fi | |
abf5048b AJ |
22841 | { $as_echo "$as_me:$LINENO: result: $ac_cv_member_struct_stat_st_mtim" >&5 |
22842 | $as_echo "$ac_cv_member_struct_stat_st_mtim" >&6; } | |
22843 | if test "x$ac_cv_member_struct_stat_st_mtim" = x""yes; then | |
af2d274f MK |
22844 | |
22845 | cat >>confdefs.h <<_ACEOF | |
22846 | #define HAVE_STRUCT_STAT_ST_MTIM 1 | |
22847 | _ACEOF | |
22848 | ||
22849 | ||
22850 | fi | |
abf5048b AJ |
22851 | { $as_echo "$as_me:$LINENO: checking for struct stat.st_ctim" >&5 |
22852 | $as_echo_n "checking for struct stat.st_ctim... " >&6; } | |
af2d274f | 22853 | if test "${ac_cv_member_struct_stat_st_ctim+set}" = set; then |
abf5048b | 22854 | $as_echo_n "(cached) " >&6 |
af2d274f MK |
22855 | else |
22856 | cat >conftest.$ac_ext <<_ACEOF | |
22857 | /* confdefs.h. */ | |
22858 | _ACEOF | |
22859 | cat confdefs.h >>conftest.$ac_ext | |
22860 | cat >>conftest.$ac_ext <<_ACEOF | |
22861 | /* end confdefs.h. */ | |
22862 | $ac_includes_default | |
22863 | int | |
22864 | main () | |
22865 | { | |
22866 | static struct stat ac_aggr; | |
22867 | if (ac_aggr.st_ctim) | |
22868 | return 0; | |
22869 | ; | |
22870 | return 0; | |
22871 | } | |
22872 | _ACEOF | |
22873 | rm -f conftest.$ac_objext | |
22874 | if { (ac_try="$ac_compile" | |
22875 | case "(($ac_try" in | |
22876 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
22877 | *) ac_try_echo=$ac_try;; | |
22878 | esac | |
abf5048b AJ |
22879 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
22880 | $as_echo "$ac_try_echo") >&5 | |
af2d274f MK |
22881 | (eval "$ac_compile") 2>conftest.er1 |
22882 | ac_status=$? | |
22883 | grep -v '^ *+' conftest.er1 >conftest.err | |
22884 | rm -f conftest.er1 | |
22885 | cat conftest.err >&5 | |
abf5048b | 22886 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
af2d274f MK |
22887 | (exit $ac_status); } && { |
22888 | test -z "$ac_c_werror_flag" || | |
22889 | test ! -s conftest.err | |
22890 | } && test -s conftest.$ac_objext; then | |
22891 | ac_cv_member_struct_stat_st_ctim=yes | |
22892 | else | |
abf5048b | 22893 | $as_echo "$as_me: failed program was:" >&5 |
af2d274f MK |
22894 | sed 's/^/| /' conftest.$ac_ext >&5 |
22895 | ||
22896 | cat >conftest.$ac_ext <<_ACEOF | |
22897 | /* confdefs.h. */ | |
22898 | _ACEOF | |
22899 | cat confdefs.h >>conftest.$ac_ext | |
22900 | cat >>conftest.$ac_ext <<_ACEOF | |
22901 | /* end confdefs.h. */ | |
22902 | $ac_includes_default | |
22903 | int | |
22904 | main () | |
22905 | { | |
22906 | static struct stat ac_aggr; | |
22907 | if (sizeof ac_aggr.st_ctim) | |
22908 | return 0; | |
22909 | ; | |
22910 | return 0; | |
22911 | } | |
22912 | _ACEOF | |
22913 | rm -f conftest.$ac_objext | |
22914 | if { (ac_try="$ac_compile" | |
22915 | case "(($ac_try" in | |
22916 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
22917 | *) ac_try_echo=$ac_try;; | |
22918 | esac | |
abf5048b AJ |
22919 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
22920 | $as_echo "$ac_try_echo") >&5 | |
af2d274f MK |
22921 | (eval "$ac_compile") 2>conftest.er1 |
22922 | ac_status=$? | |
22923 | grep -v '^ *+' conftest.er1 >conftest.err | |
22924 | rm -f conftest.er1 | |
22925 | cat conftest.err >&5 | |
abf5048b | 22926 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
af2d274f MK |
22927 | (exit $ac_status); } && { |
22928 | test -z "$ac_c_werror_flag" || | |
22929 | test ! -s conftest.err | |
22930 | } && test -s conftest.$ac_objext; then | |
22931 | ac_cv_member_struct_stat_st_ctim=yes | |
22932 | else | |
abf5048b | 22933 | $as_echo "$as_me: failed program was:" >&5 |
af2d274f MK |
22934 | sed 's/^/| /' conftest.$ac_ext >&5 |
22935 | ||
22936 | ac_cv_member_struct_stat_st_ctim=no | |
22937 | fi | |
22938 | ||
22939 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | |
22940 | fi | |
22941 | ||
22942 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | |
22943 | fi | |
abf5048b AJ |
22944 | { $as_echo "$as_me:$LINENO: result: $ac_cv_member_struct_stat_st_ctim" >&5 |
22945 | $as_echo "$ac_cv_member_struct_stat_st_ctim" >&6; } | |
22946 | if test "x$ac_cv_member_struct_stat_st_ctim" = x""yes; then | |
af2d274f MK |
22947 | |
22948 | cat >>confdefs.h <<_ACEOF | |
22949 | #define HAVE_STRUCT_STAT_ST_CTIM 1 | |
22950 | _ACEOF | |
22951 | ||
22952 | ||
22953 | fi | |
abf5048b AJ |
22954 | { $as_echo "$as_me:$LINENO: checking for struct stat.st_atim" >&5 |
22955 | $as_echo_n "checking for struct stat.st_atim... " >&6; } | |
af2d274f | 22956 | if test "${ac_cv_member_struct_stat_st_atim+set}" = set; then |
abf5048b | 22957 | $as_echo_n "(cached) " >&6 |
af2d274f MK |
22958 | else |
22959 | cat >conftest.$ac_ext <<_ACEOF | |
22960 | /* confdefs.h. */ | |
22961 | _ACEOF | |
22962 | cat confdefs.h >>conftest.$ac_ext | |
22963 | cat >>conftest.$ac_ext <<_ACEOF | |
22964 | /* end confdefs.h. */ | |
22965 | $ac_includes_default | |
22966 | int | |
22967 | main () | |
22968 | { | |
22969 | static struct stat ac_aggr; | |
22970 | if (ac_aggr.st_atim) | |
22971 | return 0; | |
22972 | ; | |
22973 | return 0; | |
22974 | } | |
22975 | _ACEOF | |
22976 | rm -f conftest.$ac_objext | |
22977 | if { (ac_try="$ac_compile" | |
22978 | case "(($ac_try" in | |
22979 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
22980 | *) ac_try_echo=$ac_try;; | |
22981 | esac | |
abf5048b AJ |
22982 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
22983 | $as_echo "$ac_try_echo") >&5 | |
af2d274f MK |
22984 | (eval "$ac_compile") 2>conftest.er1 |
22985 | ac_status=$? | |
22986 | grep -v '^ *+' conftest.er1 >conftest.err | |
22987 | rm -f conftest.er1 | |
22988 | cat conftest.err >&5 | |
abf5048b | 22989 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
af2d274f MK |
22990 | (exit $ac_status); } && { |
22991 | test -z "$ac_c_werror_flag" || | |
22992 | test ! -s conftest.err | |
22993 | } && test -s conftest.$ac_objext; then | |
22994 | ac_cv_member_struct_stat_st_atim=yes | |
22995 | else | |
abf5048b | 22996 | $as_echo "$as_me: failed program was:" >&5 |
af2d274f MK |
22997 | sed 's/^/| /' conftest.$ac_ext >&5 |
22998 | ||
22999 | cat >conftest.$ac_ext <<_ACEOF | |
23000 | /* confdefs.h. */ | |
23001 | _ACEOF | |
23002 | cat confdefs.h >>conftest.$ac_ext | |
23003 | cat >>conftest.$ac_ext <<_ACEOF | |
23004 | /* end confdefs.h. */ | |
23005 | $ac_includes_default | |
23006 | int | |
23007 | main () | |
23008 | { | |
23009 | static struct stat ac_aggr; | |
23010 | if (sizeof ac_aggr.st_atim) | |
23011 | return 0; | |
23012 | ; | |
23013 | return 0; | |
23014 | } | |
23015 | _ACEOF | |
23016 | rm -f conftest.$ac_objext | |
23017 | if { (ac_try="$ac_compile" | |
23018 | case "(($ac_try" in | |
23019 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
23020 | *) ac_try_echo=$ac_try;; | |
23021 | esac | |
abf5048b AJ |
23022 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
23023 | $as_echo "$ac_try_echo") >&5 | |
af2d274f MK |
23024 | (eval "$ac_compile") 2>conftest.er1 |
23025 | ac_status=$? | |
23026 | grep -v '^ *+' conftest.er1 >conftest.err | |
23027 | rm -f conftest.er1 | |
23028 | cat conftest.err >&5 | |
abf5048b | 23029 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
af2d274f MK |
23030 | (exit $ac_status); } && { |
23031 | test -z "$ac_c_werror_flag" || | |
23032 | test ! -s conftest.err | |
23033 | } && test -s conftest.$ac_objext; then | |
23034 | ac_cv_member_struct_stat_st_atim=yes | |
23035 | else | |
abf5048b | 23036 | $as_echo "$as_me: failed program was:" >&5 |
af2d274f MK |
23037 | sed 's/^/| /' conftest.$ac_ext >&5 |
23038 | ||
23039 | ac_cv_member_struct_stat_st_atim=no | |
23040 | fi | |
23041 | ||
23042 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | |
23043 | fi | |
23044 | ||
23045 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | |
23046 | fi | |
abf5048b AJ |
23047 | { $as_echo "$as_me:$LINENO: result: $ac_cv_member_struct_stat_st_atim" >&5 |
23048 | $as_echo "$ac_cv_member_struct_stat_st_atim" >&6; } | |
23049 | if test "x$ac_cv_member_struct_stat_st_atim" = x""yes; then | |
af2d274f MK |
23050 | |
23051 | cat >>confdefs.h <<_ACEOF | |
23052 | #define HAVE_STRUCT_STAT_ST_ATIM 1 | |
23053 | _ACEOF | |
23054 | ||
23055 | ||
d6507196 PR |
23056 | fi |
23057 | ||
23058 | ||
abf5048b AJ |
23059 | { $as_echo "$as_me:$LINENO: checking for struct sockaddr_in6.sin6_scope_id" >&5 |
23060 | $as_echo_n "checking for struct sockaddr_in6.sin6_scope_id... " >&6; } | |
40a6a74a | 23061 | if test "${ac_cv_member_struct_sockaddr_in6_sin6_scope_id+set}" = set; then |
abf5048b | 23062 | $as_echo_n "(cached) " >&6 |
40a6a74a VL |
23063 | else |
23064 | cat >conftest.$ac_ext <<_ACEOF | |
23065 | /* confdefs.h. */ | |
23066 | _ACEOF | |
23067 | cat confdefs.h >>conftest.$ac_ext | |
23068 | cat >>conftest.$ac_ext <<_ACEOF | |
23069 | /* end confdefs.h. */ | |
23070 | #ifdef HAVE_SYS_TYPES_H | |
23071 | #include <sys/types.h> | |
23072 | #endif | |
23073 | #ifdef HAVE_NETINET_IN_H | |
23074 | #include <netinet/in.h> | |
23075 | #endif | |
23076 | ||
23077 | int | |
23078 | main () | |
23079 | { | |
23080 | static struct sockaddr_in6 ac_aggr; | |
23081 | if (ac_aggr.sin6_scope_id) | |
23082 | return 0; | |
23083 | ; | |
23084 | return 0; | |
23085 | } | |
23086 | _ACEOF | |
23087 | rm -f conftest.$ac_objext | |
0ebeb530 JW |
23088 | if { (ac_try="$ac_compile" |
23089 | case "(($ac_try" in | |
23090 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
23091 | *) ac_try_echo=$ac_try;; | |
23092 | esac | |
abf5048b AJ |
23093 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
23094 | $as_echo "$ac_try_echo") >&5 | |
0ebeb530 | 23095 | (eval "$ac_compile") 2>conftest.er1 |
40a6a74a VL |
23096 | ac_status=$? |
23097 | grep -v '^ *+' conftest.er1 >conftest.err | |
23098 | rm -f conftest.er1 | |
23099 | cat conftest.err >&5 | |
abf5048b | 23100 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
dc9f3843 AJ |
23101 | (exit $ac_status); } && { |
23102 | test -z "$ac_c_werror_flag" || | |
23103 | test ! -s conftest.err | |
23104 | } && test -s conftest.$ac_objext; then | |
40a6a74a VL |
23105 | ac_cv_member_struct_sockaddr_in6_sin6_scope_id=yes |
23106 | else | |
abf5048b | 23107 | $as_echo "$as_me: failed program was:" >&5 |
40a6a74a VL |
23108 | sed 's/^/| /' conftest.$ac_ext >&5 |
23109 | ||
fc6ffb29 | 23110 | cat >conftest.$ac_ext <<_ACEOF |
40a6a74a VL |
23111 | /* confdefs.h. */ |
23112 | _ACEOF | |
23113 | cat confdefs.h >>conftest.$ac_ext | |
23114 | cat >>conftest.$ac_ext <<_ACEOF | |
23115 | /* end confdefs.h. */ | |
23116 | #ifdef HAVE_SYS_TYPES_H | |
23117 | #include <sys/types.h> | |
23118 | #endif | |
23119 | #ifdef HAVE_NETINET_IN_H | |
23120 | #include <netinet/in.h> | |
23121 | #endif | |
23122 | ||
23123 | int | |
23124 | main () | |
23125 | { | |
23126 | static struct sockaddr_in6 ac_aggr; | |
23127 | if (sizeof ac_aggr.sin6_scope_id) | |
23128 | return 0; | |
23129 | ; | |
23130 | return 0; | |
23131 | } | |
23132 | _ACEOF | |
23133 | rm -f conftest.$ac_objext | |
0ebeb530 JW |
23134 | if { (ac_try="$ac_compile" |
23135 | case "(($ac_try" in | |
23136 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
23137 | *) ac_try_echo=$ac_try;; | |
23138 | esac | |
abf5048b AJ |
23139 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
23140 | $as_echo "$ac_try_echo") >&5 | |
0ebeb530 | 23141 | (eval "$ac_compile") 2>conftest.er1 |
40a6a74a VL |
23142 | ac_status=$? |
23143 | grep -v '^ *+' conftest.er1 >conftest.err | |
23144 | rm -f conftest.er1 | |
23145 | cat conftest.err >&5 | |
abf5048b | 23146 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
dc9f3843 AJ |
23147 | (exit $ac_status); } && { |
23148 | test -z "$ac_c_werror_flag" || | |
23149 | test ! -s conftest.err | |
23150 | } && test -s conftest.$ac_objext; then | |
40a6a74a VL |
23151 | ac_cv_member_struct_sockaddr_in6_sin6_scope_id=yes |
23152 | else | |
abf5048b | 23153 | $as_echo "$as_me: failed program was:" >&5 |
40a6a74a VL |
23154 | sed 's/^/| /' conftest.$ac_ext >&5 |
23155 | ||
fc6ffb29 | 23156 | ac_cv_member_struct_sockaddr_in6_sin6_scope_id=no |
40a6a74a | 23157 | fi |
fc6ffb29 | 23158 | |
0ebeb530 | 23159 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
40a6a74a | 23160 | fi |
fc6ffb29 | 23161 | |
0ebeb530 | 23162 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
40a6a74a | 23163 | fi |
abf5048b AJ |
23164 | { $as_echo "$as_me:$LINENO: result: $ac_cv_member_struct_sockaddr_in6_sin6_scope_id" >&5 |
23165 | $as_echo "$ac_cv_member_struct_sockaddr_in6_sin6_scope_id" >&6; } | |
23166 | if test "x$ac_cv_member_struct_sockaddr_in6_sin6_scope_id" = x""yes; then | |
40a6a74a VL |
23167 | |
23168 | cat >>confdefs.h <<_ACEOF | |
23169 | #define HAVE_STRUCT_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | |
23170 | _ACEOF | |
23171 | ||
23172 | ||
23173 | fi | |
23174 | ||
23175 | ||
abf5048b AJ |
23176 | { $as_echo "$as_me:$LINENO: checking for ns_msg._msg_ptr" >&5 |
23177 | $as_echo_n "checking for ns_msg._msg_ptr... " >&6; } | |
788e30f1 | 23178 | if test "${ac_cv_member_ns_msg__msg_ptr+set}" = set; then |
abf5048b | 23179 | $as_echo_n "(cached) " >&6 |
788e30f1 AJ |
23180 | else |
23181 | cat >conftest.$ac_ext <<_ACEOF | |
23182 | /* confdefs.h. */ | |
23183 | _ACEOF | |
23184 | cat confdefs.h >>conftest.$ac_ext | |
23185 | cat >>conftest.$ac_ext <<_ACEOF | |
23186 | /* end confdefs.h. */ | |
23187 | #ifdef HAVE_SYS_TYPES_H | |
23188 | #include <sys/types.h> | |
23189 | #endif | |
23190 | #ifdef HAVE_NETINET_IN_H | |
23191 | # include <netinet/in.h> | |
23192 | #endif | |
23193 | #ifdef HAVE_ARPA_NAMESER_H | |
23194 | # include <arpa/nameser.h> | |
23195 | #endif | |
23196 | ||
23197 | int | |
23198 | main () | |
23199 | { | |
23200 | static ns_msg ac_aggr; | |
23201 | if (ac_aggr._msg_ptr) | |
23202 | return 0; | |
23203 | ; | |
23204 | return 0; | |
23205 | } | |
23206 | _ACEOF | |
23207 | rm -f conftest.$ac_objext | |
0ebeb530 JW |
23208 | if { (ac_try="$ac_compile" |
23209 | case "(($ac_try" in | |
23210 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
23211 | *) ac_try_echo=$ac_try;; | |
23212 | esac | |
abf5048b AJ |
23213 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
23214 | $as_echo "$ac_try_echo") >&5 | |
0ebeb530 | 23215 | (eval "$ac_compile") 2>conftest.er1 |
788e30f1 AJ |
23216 | ac_status=$? |
23217 | grep -v '^ *+' conftest.er1 >conftest.err | |
23218 | rm -f conftest.er1 | |
23219 | cat conftest.err >&5 | |
abf5048b | 23220 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
dc9f3843 AJ |
23221 | (exit $ac_status); } && { |
23222 | test -z "$ac_c_werror_flag" || | |
23223 | test ! -s conftest.err | |
23224 | } && test -s conftest.$ac_objext; then | |
788e30f1 AJ |
23225 | ac_cv_member_ns_msg__msg_ptr=yes |
23226 | else | |
abf5048b | 23227 | $as_echo "$as_me: failed program was:" >&5 |
788e30f1 AJ |
23228 | sed 's/^/| /' conftest.$ac_ext >&5 |
23229 | ||
23230 | cat >conftest.$ac_ext <<_ACEOF | |
23231 | /* confdefs.h. */ | |
23232 | _ACEOF | |
23233 | cat confdefs.h >>conftest.$ac_ext | |
23234 | cat >>conftest.$ac_ext <<_ACEOF | |
23235 | /* end confdefs.h. */ | |
23236 | #ifdef HAVE_SYS_TYPES_H | |
23237 | #include <sys/types.h> | |
23238 | #endif | |
23239 | #ifdef HAVE_NETINET_IN_H | |
23240 | # include <netinet/in.h> | |
23241 | #endif | |
23242 | #ifdef HAVE_ARPA_NAMESER_H | |
23243 | # include <arpa/nameser.h> | |
23244 | #endif | |
23245 | ||
23246 | int | |
23247 | main () | |
23248 | { | |
23249 | static ns_msg ac_aggr; | |
23250 | if (sizeof ac_aggr._msg_ptr) | |
23251 | return 0; | |
23252 | ; | |
23253 | return 0; | |
23254 | } | |
23255 | _ACEOF | |
23256 | rm -f conftest.$ac_objext | |
0ebeb530 JW |
23257 | if { (ac_try="$ac_compile" |
23258 | case "(($ac_try" in | |
23259 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
23260 | *) ac_try_echo=$ac_try;; | |
23261 | esac | |
abf5048b AJ |
23262 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
23263 | $as_echo "$ac_try_echo") >&5 | |
0ebeb530 | 23264 | (eval "$ac_compile") 2>conftest.er1 |
788e30f1 AJ |
23265 | ac_status=$? |
23266 | grep -v '^ *+' conftest.er1 >conftest.err | |
23267 | rm -f conftest.er1 | |
23268 | cat conftest.err >&5 | |
abf5048b | 23269 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
dc9f3843 AJ |
23270 | (exit $ac_status); } && { |
23271 | test -z "$ac_c_werror_flag" || | |
23272 | test ! -s conftest.err | |
23273 | } && test -s conftest.$ac_objext; then | |
788e30f1 AJ |
23274 | ac_cv_member_ns_msg__msg_ptr=yes |
23275 | else | |
abf5048b | 23276 | $as_echo "$as_me: failed program was:" >&5 |
788e30f1 AJ |
23277 | sed 's/^/| /' conftest.$ac_ext >&5 |
23278 | ||
23279 | ac_cv_member_ns_msg__msg_ptr=no | |
23280 | fi | |
23281 | ||
0ebeb530 | 23282 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
788e30f1 AJ |
23283 | fi |
23284 | ||
0ebeb530 | 23285 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
788e30f1 | 23286 | fi |
abf5048b AJ |
23287 | { $as_echo "$as_me:$LINENO: result: $ac_cv_member_ns_msg__msg_ptr" >&5 |
23288 | $as_echo "$ac_cv_member_ns_msg__msg_ptr" >&6; } | |
23289 | if test "x$ac_cv_member_ns_msg__msg_ptr" = x""yes; then | |
788e30f1 AJ |
23290 | |
23291 | cat >>confdefs.h <<_ACEOF | |
23292 | #define HAVE_NS_MSG__MSG_PTR 1 | |
23293 | _ACEOF | |
23294 | ||
23295 | ||
23296 | fi | |
23297 | ||
23298 | ||
abf5048b AJ |
23299 | { $as_echo "$as_me:$LINENO: checking for timezone variable" >&5 |
23300 | $as_echo_n "checking for timezone variable... " >&6; } | |
6618b035 | 23301 | if test "${ac_cv_have_timezone+set}" = set; then |
abf5048b | 23302 | $as_echo_n "(cached) " >&6 |
6618b035 PK |
23303 | else |
23304 | cat >conftest.$ac_ext <<_ACEOF | |
23305 | /* confdefs.h. */ | |
23306 | _ACEOF | |
23307 | cat confdefs.h >>conftest.$ac_ext | |
23308 | cat >>conftest.$ac_ext <<_ACEOF | |
23309 | /* end confdefs.h. */ | |
23310 | #include <time.h> | |
23311 | int | |
23312 | main () | |
23313 | { | |
ff2bd661 | 23314 | timezone = 1 |
6618b035 PK |
23315 | ; |
23316 | return 0; | |
23317 | } | |
23318 | _ACEOF | |
23319 | rm -f conftest.$ac_objext conftest$ac_exeext | |
0ebeb530 JW |
23320 | if { (ac_try="$ac_link" |
23321 | case "(($ac_try" in | |
23322 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
23323 | *) ac_try_echo=$ac_try;; | |
23324 | esac | |
abf5048b AJ |
23325 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
23326 | $as_echo "$ac_try_echo") >&5 | |
0ebeb530 | 23327 | (eval "$ac_link") 2>conftest.er1 |
6618b035 PK |
23328 | ac_status=$? |
23329 | grep -v '^ *+' conftest.er1 >conftest.err | |
23330 | rm -f conftest.er1 | |
23331 | cat conftest.err >&5 | |
abf5048b | 23332 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
dc9f3843 AJ |
23333 | (exit $ac_status); } && { |
23334 | test -z "$ac_c_werror_flag" || | |
23335 | test ! -s conftest.err | |
abf5048b AJ |
23336 | } && test -s conftest$ac_exeext && { |
23337 | test "$cross_compiling" = yes || | |
23338 | $as_test_x conftest$ac_exeext | |
23339 | }; then | |
6618b035 PK |
23340 | ac_cv_have_timezone="yes" |
23341 | else | |
abf5048b | 23342 | $as_echo "$as_me: failed program was:" >&5 |
6618b035 PK |
23343 | sed 's/^/| /' conftest.$ac_ext >&5 |
23344 | ||
fc6ffb29 | 23345 | ac_cv_have_timezone="no" |
6618b035 | 23346 | fi |
fc6ffb29 | 23347 | |
abf5048b | 23348 | rm -rf conftest.dSYM |
f0ca586f | 23349 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ |
6618b035 PK |
23350 | conftest$ac_exeext conftest.$ac_ext |
23351 | fi | |
abf5048b AJ |
23352 | { $as_echo "$as_me:$LINENO: result: $ac_cv_have_timezone" >&5 |
23353 | $as_echo "$ac_cv_have_timezone" >&6; } | |
6618b035 PK |
23354 | if test "$ac_cv_have_timezone" = "yes" |
23355 | then | |
23356 | ||
23357 | cat >>confdefs.h <<\_ACEOF | |
23358 | #define HAVE_TIMEZONE 1 | |
23359 | _ACEOF | |
23360 | ||
23361 | fi | |
abf5048b AJ |
23362 | { $as_echo "$as_me:$LINENO: checking for daylight variable" >&5 |
23363 | $as_echo_n "checking for daylight variable... " >&6; } | |
6618b035 | 23364 | if test "${ac_cv_have_daylight+set}" = set; then |
abf5048b | 23365 | $as_echo_n "(cached) " >&6 |
6618b035 PK |
23366 | else |
23367 | cat >conftest.$ac_ext <<_ACEOF | |
23368 | /* confdefs.h. */ | |
23369 | _ACEOF | |
23370 | cat confdefs.h >>conftest.$ac_ext | |
23371 | cat >>conftest.$ac_ext <<_ACEOF | |
23372 | /* end confdefs.h. */ | |
23373 | #include <time.h> | |
23374 | int | |
23375 | main () | |
23376 | { | |
ff2bd661 | 23377 | daylight = 1 |
6618b035 PK |
23378 | ; |
23379 | return 0; | |
23380 | } | |
23381 | _ACEOF | |
23382 | rm -f conftest.$ac_objext conftest$ac_exeext | |
0ebeb530 JW |
23383 | if { (ac_try="$ac_link" |
23384 | case "(($ac_try" in | |
23385 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
23386 | *) ac_try_echo=$ac_try;; | |
23387 | esac | |
abf5048b AJ |
23388 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
23389 | $as_echo "$ac_try_echo") >&5 | |
0ebeb530 | 23390 | (eval "$ac_link") 2>conftest.er1 |
6618b035 PK |
23391 | ac_status=$? |
23392 | grep -v '^ *+' conftest.er1 >conftest.err | |
23393 | rm -f conftest.er1 | |
23394 | cat conftest.err >&5 | |
abf5048b | 23395 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
dc9f3843 AJ |
23396 | (exit $ac_status); } && { |
23397 | test -z "$ac_c_werror_flag" || | |
23398 | test ! -s conftest.err | |
abf5048b AJ |
23399 | } && test -s conftest$ac_exeext && { |
23400 | test "$cross_compiling" = yes || | |
23401 | $as_test_x conftest$ac_exeext | |
23402 | }; then | |
6618b035 PK |
23403 | ac_cv_have_daylight="yes" |
23404 | else | |
abf5048b | 23405 | $as_echo "$as_me: failed program was:" >&5 |
6618b035 PK |
23406 | sed 's/^/| /' conftest.$ac_ext >&5 |
23407 | ||
fc6ffb29 | 23408 | ac_cv_have_daylight="no" |
6618b035 | 23409 | fi |
fc6ffb29 | 23410 | |
abf5048b | 23411 | rm -rf conftest.dSYM |
f0ca586f | 23412 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ |
6618b035 PK |
23413 | conftest$ac_exeext conftest.$ac_ext |
23414 | fi | |
abf5048b AJ |
23415 | { $as_echo "$as_me:$LINENO: result: $ac_cv_have_daylight" >&5 |
23416 | $as_echo "$ac_cv_have_daylight" >&6; } | |
6618b035 PK |
23417 | if test "$ac_cv_have_daylight" = "yes" |
23418 | then | |
23419 | ||
23420 | cat >>confdefs.h <<\_ACEOF | |
23421 | #define HAVE_DAYLIGHT 1 | |
23422 | _ACEOF | |
23423 | ||
23424 | fi | |
23425 | ||
abf5048b AJ |
23426 | { $as_echo "$as_me:$LINENO: checking for isinf" >&5 |
23427 | $as_echo_n "checking for isinf... " >&6; } | |
4992b659 | 23428 | if test "${ac_cv_have_isinf+set}" = set; then |
abf5048b | 23429 | $as_echo_n "(cached) " >&6 |
4992b659 PS |
23430 | else |
23431 | cat >conftest.$ac_ext <<_ACEOF | |
23432 | /* confdefs.h. */ | |
23433 | _ACEOF | |
23434 | cat confdefs.h >>conftest.$ac_ext | |
23435 | cat >>conftest.$ac_ext <<_ACEOF | |
23436 | /* end confdefs.h. */ | |
23437 | #include <math.h> | |
23438 | int | |
23439 | main () | |
23440 | { | |
2fef93a8 | 23441 | float f = 0.0; int i=isinf(f) |
4992b659 PS |
23442 | ; |
23443 | return 0; | |
23444 | } | |
23445 | _ACEOF | |
23446 | rm -f conftest.$ac_objext conftest$ac_exeext | |
23447 | if { (ac_try="$ac_link" | |
23448 | case "(($ac_try" in | |
23449 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
23450 | *) ac_try_echo=$ac_try;; | |
23451 | esac | |
abf5048b AJ |
23452 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
23453 | $as_echo "$ac_try_echo") >&5 | |
4992b659 PS |
23454 | (eval "$ac_link") 2>conftest.er1 |
23455 | ac_status=$? | |
23456 | grep -v '^ *+' conftest.er1 >conftest.err | |
23457 | rm -f conftest.er1 | |
23458 | cat conftest.err >&5 | |
abf5048b | 23459 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
4992b659 PS |
23460 | (exit $ac_status); } && { |
23461 | test -z "$ac_c_werror_flag" || | |
23462 | test ! -s conftest.err | |
abf5048b AJ |
23463 | } && test -s conftest$ac_exeext && { |
23464 | test "$cross_compiling" = yes || | |
23465 | $as_test_x conftest$ac_exeext | |
23466 | }; then | |
4992b659 PS |
23467 | ac_cv_have_isinf="yes" |
23468 | else | |
abf5048b | 23469 | $as_echo "$as_me: failed program was:" >&5 |
4992b659 PS |
23470 | sed 's/^/| /' conftest.$ac_ext >&5 |
23471 | ||
23472 | ac_cv_have_isinf="no" | |
23473 | fi | |
23474 | ||
abf5048b | 23475 | rm -rf conftest.dSYM |
4992b659 PS |
23476 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ |
23477 | conftest$ac_exeext conftest.$ac_ext | |
23478 | fi | |
abf5048b AJ |
23479 | { $as_echo "$as_me:$LINENO: result: $ac_cv_have_isinf" >&5 |
23480 | $as_echo "$ac_cv_have_isinf" >&6; } | |
4992b659 PS |
23481 | if test "$ac_cv_have_isinf" = "yes" |
23482 | then | |
23483 | ||
23484 | cat >>confdefs.h <<\_ACEOF | |
23485 | #define HAVE_ISINF 1 | |
23486 | _ACEOF | |
23487 | ||
23488 | fi | |
23489 | ||
abf5048b AJ |
23490 | { $as_echo "$as_me:$LINENO: checking for isnan" >&5 |
23491 | $as_echo_n "checking for isnan... " >&6; } | |
1715dcbb | 23492 | if test "${ac_cv_have_isnan+set}" = set; then |
abf5048b | 23493 | $as_echo_n "(cached) " >&6 |
1715dcbb JC |
23494 | else |
23495 | cat >conftest.$ac_ext <<_ACEOF | |
23496 | /* confdefs.h. */ | |
23497 | _ACEOF | |
23498 | cat confdefs.h >>conftest.$ac_ext | |
23499 | cat >>conftest.$ac_ext <<_ACEOF | |
23500 | /* end confdefs.h. */ | |
23501 | #include <math.h> | |
23502 | int | |
23503 | main () | |
23504 | { | |
23505 | float f = 0.0; int i=isnan(f) | |
23506 | ; | |
23507 | return 0; | |
23508 | } | |
23509 | _ACEOF | |
23510 | rm -f conftest.$ac_objext conftest$ac_exeext | |
23511 | if { (ac_try="$ac_link" | |
23512 | case "(($ac_try" in | |
23513 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
23514 | *) ac_try_echo=$ac_try;; | |
23515 | esac | |
abf5048b AJ |
23516 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
23517 | $as_echo "$ac_try_echo") >&5 | |
1715dcbb JC |
23518 | (eval "$ac_link") 2>conftest.er1 |
23519 | ac_status=$? | |
23520 | grep -v '^ *+' conftest.er1 >conftest.err | |
23521 | rm -f conftest.er1 | |
23522 | cat conftest.err >&5 | |
abf5048b | 23523 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
1715dcbb JC |
23524 | (exit $ac_status); } && { |
23525 | test -z "$ac_c_werror_flag" || | |
23526 | test ! -s conftest.err | |
abf5048b AJ |
23527 | } && test -s conftest$ac_exeext && { |
23528 | test "$cross_compiling" = yes || | |
23529 | $as_test_x conftest$ac_exeext | |
23530 | }; then | |
1715dcbb JC |
23531 | ac_cv_have_isnan="yes" |
23532 | else | |
abf5048b | 23533 | $as_echo "$as_me: failed program was:" >&5 |
1715dcbb JC |
23534 | sed 's/^/| /' conftest.$ac_ext >&5 |
23535 | ||
23536 | ac_cv_have_isnan="no" | |
23537 | fi | |
23538 | ||
abf5048b | 23539 | rm -rf conftest.dSYM |
1715dcbb JC |
23540 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ |
23541 | conftest$ac_exeext conftest.$ac_ext | |
23542 | fi | |
abf5048b AJ |
23543 | { $as_echo "$as_me:$LINENO: result: $ac_cv_have_isnan" >&5 |
23544 | $as_echo "$ac_cv_have_isnan" >&6; } | |
1715dcbb JC |
23545 | if test "$ac_cv_have_isnan" = "yes" |
23546 | then | |
23547 | ||
23548 | cat >>confdefs.h <<\_ACEOF | |
23549 | #define HAVE_ISNAN 1 | |
23550 | _ACEOF | |
23551 | ||
23552 | fi | |
23553 | ||
daa2886c | 23554 | |
fc01b729 | 23555 | case $host_cpu in |
abf5048b AJ |
23556 | *i[3456789]86*) { $as_echo "$as_me:$LINENO: checking whether we need to define __i386__" >&5 |
23557 | $as_echo_n "checking whether we need to define __i386__... " >&6; } | |
05783b55 | 23558 | if test "${ac_cv_cpp_def___i386__+set}" = set; then |
abf5048b | 23559 | $as_echo_n "(cached) " >&6 |
51d46ba9 | 23560 | else |
f5818d2f | 23561 | cat >conftest.$ac_ext <<_ACEOF |
e24bcc77 AJ |
23562 | /* confdefs.h. */ |
23563 | _ACEOF | |
23564 | cat confdefs.h >>conftest.$ac_ext | |
23565 | cat >>conftest.$ac_ext <<_ACEOF | |
23566 | /* end confdefs.h. */ | |
f5818d2f | 23567 | #ifndef __i386__ |
51d46ba9 AJ |
23568 | yes |
23569 | #endif | |
f5818d2f | 23570 | _ACEOF |
51d46ba9 | 23571 | if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
11af04e3 | 23572 | $EGREP "yes" >/dev/null 2>&1; then |
05783b55 | 23573 | ac_cv_cpp_def___i386__=yes |
51d46ba9 | 23574 | else |
05783b55 | 23575 | ac_cv_cpp_def___i386__=no |
51d46ba9 AJ |
23576 | fi |
23577 | rm -f conftest* | |
23578 | ||
23579 | fi | |
abf5048b AJ |
23580 | { $as_echo "$as_me:$LINENO: result: $ac_cv_cpp_def___i386__" >&5 |
23581 | $as_echo "$ac_cv_cpp_def___i386__" >&6; } | |
05783b55 AJ |
23582 | if test $ac_cv_cpp_def___i386__ = yes; then |
23583 | CFLAGS="$CFLAGS -D__i386__" | |
23584 | LINTFLAGS="$LINTFLAGS -D__i386__" | |
e3be5642 AJ |
23585 | fi |
23586 | ;; | |
abf5048b AJ |
23587 | *x86_64*) { $as_echo "$as_me:$LINENO: checking whether we need to define __x86_64__" >&5 |
23588 | $as_echo_n "checking whether we need to define __x86_64__... " >&6; } | |
e3be5642 | 23589 | if test "${ac_cv_cpp_def___x86_64__+set}" = set; then |
abf5048b | 23590 | $as_echo_n "(cached) " >&6 |
e3be5642 AJ |
23591 | else |
23592 | cat >conftest.$ac_ext <<_ACEOF | |
23593 | /* confdefs.h. */ | |
23594 | _ACEOF | |
23595 | cat confdefs.h >>conftest.$ac_ext | |
23596 | cat >>conftest.$ac_ext <<_ACEOF | |
23597 | /* end confdefs.h. */ | |
23598 | #ifndef __x86_64__ | |
23599 | yes | |
23600 | #endif | |
23601 | _ACEOF | |
23602 | if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | | |
23603 | $EGREP "yes" >/dev/null 2>&1; then | |
23604 | ac_cv_cpp_def___x86_64__=yes | |
23605 | else | |
23606 | ac_cv_cpp_def___x86_64__=no | |
23607 | fi | |
23608 | rm -f conftest* | |
23609 | ||
23610 | fi | |
abf5048b AJ |
23611 | { $as_echo "$as_me:$LINENO: result: $ac_cv_cpp_def___x86_64__" >&5 |
23612 | $as_echo "$ac_cv_cpp_def___x86_64__" >&6; } | |
e3be5642 AJ |
23613 | if test $ac_cv_cpp_def___x86_64__ = yes; then |
23614 | CFLAGS="$CFLAGS -D__x86_64__" | |
23615 | LINTFLAGS="$LINTFLAGS -D__x86_64__" | |
51d46ba9 | 23616 | fi |
05783b55 | 23617 | ;; |
abf5048b AJ |
23618 | *alpha*) { $as_echo "$as_me:$LINENO: checking whether we need to define __ALPHA__" >&5 |
23619 | $as_echo_n "checking whether we need to define __ALPHA__... " >&6; } | |
05783b55 | 23620 | if test "${ac_cv_cpp_def___ALPHA__+set}" = set; then |
abf5048b | 23621 | $as_echo_n "(cached) " >&6 |
69b67861 SE |
23622 | else |
23623 | cat >conftest.$ac_ext <<_ACEOF | |
e24bcc77 AJ |
23624 | /* confdefs.h. */ |
23625 | _ACEOF | |
23626 | cat confdefs.h >>conftest.$ac_ext | |
23627 | cat >>conftest.$ac_ext <<_ACEOF | |
23628 | /* end confdefs.h. */ | |
69b67861 SE |
23629 | #ifndef __ALPHA__ |
23630 | yes | |
23631 | #endif | |
23632 | _ACEOF | |
23633 | if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | | |
23634 | $EGREP "yes" >/dev/null 2>&1; then | |
05783b55 | 23635 | ac_cv_cpp_def___ALPHA__=yes |
69b67861 | 23636 | else |
05783b55 | 23637 | ac_cv_cpp_def___ALPHA__=no |
69b67861 SE |
23638 | fi |
23639 | rm -f conftest* | |
23640 | ||
23641 | fi | |
abf5048b AJ |
23642 | { $as_echo "$as_me:$LINENO: result: $ac_cv_cpp_def___ALPHA__" >&5 |
23643 | $as_echo "$ac_cv_cpp_def___ALPHA__" >&6; } | |
05783b55 AJ |
23644 | if test $ac_cv_cpp_def___ALPHA__ = yes; then |
23645 | CFLAGS="$CFLAGS -D__ALPHA__" | |
23646 | LINTFLAGS="$LINTFLAGS -D__ALPHA__" | |
69b67861 | 23647 | fi |
05783b55 | 23648 | ;; |
abf5048b AJ |
23649 | *sparc*) { $as_echo "$as_me:$LINENO: checking whether we need to define __sparc__" >&5 |
23650 | $as_echo_n "checking whether we need to define __sparc__... " >&6; } | |
05783b55 | 23651 | if test "${ac_cv_cpp_def___sparc__+set}" = set; then |
abf5048b | 23652 | $as_echo_n "(cached) " >&6 |
57807fa1 GM |
23653 | else |
23654 | cat >conftest.$ac_ext <<_ACEOF | |
e24bcc77 AJ |
23655 | /* confdefs.h. */ |
23656 | _ACEOF | |
23657 | cat confdefs.h >>conftest.$ac_ext | |
23658 | cat >>conftest.$ac_ext <<_ACEOF | |
23659 | /* end confdefs.h. */ | |
57807fa1 GM |
23660 | #ifndef __sparc__ |
23661 | yes | |
23662 | #endif | |
23663 | _ACEOF | |
23664 | if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | | |
11af04e3 | 23665 | $EGREP "yes" >/dev/null 2>&1; then |
05783b55 | 23666 | ac_cv_cpp_def___sparc__=yes |
57807fa1 | 23667 | else |
05783b55 | 23668 | ac_cv_cpp_def___sparc__=no |
57807fa1 GM |
23669 | fi |
23670 | rm -f conftest* | |
23671 | ||
23672 | fi | |
abf5048b AJ |
23673 | { $as_echo "$as_me:$LINENO: result: $ac_cv_cpp_def___sparc__" >&5 |
23674 | $as_echo "$ac_cv_cpp_def___sparc__" >&6; } | |
05783b55 AJ |
23675 | if test $ac_cv_cpp_def___sparc__ = yes; then |
23676 | CFLAGS="$CFLAGS -D__sparc__" | |
23677 | LINTFLAGS="$LINTFLAGS -D__sparc__" | |
b64b7deb PH |
23678 | fi |
23679 | ;; | |
abf5048b AJ |
23680 | *powerpc*) { $as_echo "$as_me:$LINENO: checking whether we need to define __powerpc__" >&5 |
23681 | $as_echo_n "checking whether we need to define __powerpc__... " >&6; } | |
b64b7deb | 23682 | if test "${ac_cv_cpp_def___powerpc__+set}" = set; then |
abf5048b | 23683 | $as_echo_n "(cached) " >&6 |
b64b7deb PH |
23684 | else |
23685 | cat >conftest.$ac_ext <<_ACEOF | |
b64b7deb PH |
23686 | /* confdefs.h. */ |
23687 | _ACEOF | |
23688 | cat confdefs.h >>conftest.$ac_ext | |
23689 | cat >>conftest.$ac_ext <<_ACEOF | |
23690 | /* end confdefs.h. */ | |
23691 | #ifndef __powerpc__ | |
23692 | yes | |
23693 | #endif | |
23694 | _ACEOF | |
23695 | if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | | |
23696 | $EGREP "yes" >/dev/null 2>&1; then | |
23697 | ac_cv_cpp_def___powerpc__=yes | |
23698 | else | |
23699 | ac_cv_cpp_def___powerpc__=no | |
23700 | fi | |
23701 | rm -f conftest* | |
23702 | ||
23703 | fi | |
abf5048b AJ |
23704 | { $as_echo "$as_me:$LINENO: result: $ac_cv_cpp_def___powerpc__" >&5 |
23705 | $as_echo "$ac_cv_cpp_def___powerpc__" >&6; } | |
b64b7deb PH |
23706 | if test $ac_cv_cpp_def___powerpc__ = yes; then |
23707 | CFLAGS="$CFLAGS -D__powerpc__" | |
23708 | LINTFLAGS="$LINTFLAGS -D__powerpc__" | |
57807fa1 | 23709 | fi |
05783b55 AJ |
23710 | ;; |
23711 | esac | |
57807fa1 GM |
23712 | |
23713 | case $host_vendor in | |
abf5048b AJ |
23714 | *sun*) { $as_echo "$as_me:$LINENO: checking whether we need to define __sun__" >&5 |
23715 | $as_echo_n "checking whether we need to define __sun__... " >&6; } | |
05783b55 | 23716 | if test "${ac_cv_cpp_def___sun__+set}" = set; then |
abf5048b | 23717 | $as_echo_n "(cached) " >&6 |
57807fa1 GM |
23718 | else |
23719 | cat >conftest.$ac_ext <<_ACEOF | |
e24bcc77 AJ |
23720 | /* confdefs.h. */ |
23721 | _ACEOF | |
23722 | cat confdefs.h >>conftest.$ac_ext | |
23723 | cat >>conftest.$ac_ext <<_ACEOF | |
23724 | /* end confdefs.h. */ | |
57807fa1 GM |
23725 | #ifndef __sun__ |
23726 | yes | |
23727 | #endif | |
23728 | _ACEOF | |
23729 | if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | | |
11af04e3 | 23730 | $EGREP "yes" >/dev/null 2>&1; then |
05783b55 | 23731 | ac_cv_cpp_def___sun__=yes |
57807fa1 | 23732 | else |
05783b55 | 23733 | ac_cv_cpp_def___sun__=no |
57807fa1 GM |
23734 | fi |
23735 | rm -f conftest* | |
23736 | ||
23737 | fi | |
abf5048b AJ |
23738 | { $as_echo "$as_me:$LINENO: result: $ac_cv_cpp_def___sun__" >&5 |
23739 | $as_echo "$ac_cv_cpp_def___sun__" >&6; } | |
05783b55 AJ |
23740 | if test $ac_cv_cpp_def___sun__ = yes; then |
23741 | CFLAGS="$CFLAGS -D__sun__" | |
23742 | LINTFLAGS="$LINTFLAGS -D__sun__" | |
57807fa1 | 23743 | fi |
05783b55 AJ |
23744 | ;; |
23745 | esac | |
57807fa1 GM |
23746 | |
23747 | ||
32ab895e AJ |
23748 | DEPENDENCIES="### Dependencies: |
23749 | ||
8598a4c6 AJ |
23750 | .INIT: Makefile |
23751 | .BEGIN: Makefile | |
23752 | Makefile: dummy | |
23753 | -\$(MAKEDEP) -C\$(SRCDIR) -S\$(TOPSRCDIR) -T\$(TOPOBJDIR) \$(EXTRAINCL) \$(DEPEND_SRCS) | |
23754 | ||
a4b6ee36 | 23755 | \$(OBJS): \$(IDL_GEN_HEADERS) |
12c19620 | 23756 | \$(IDL_GEN_C_SRCS:.c=.o): \$(IDL_GEN_C_SRCS) |
da19122f | 23757 | \$(RC_SRCS:.rc=.res): \$(IDL_TLB_SRCS:.idl=.tlb) |
32ab895e AJ |
23758 | \$(LEX_SRCS:.l=.yy.o): \$(LEX_SRCS:.l=.yy.c) |
23759 | \$(BISON_SRCS:.y=.tab.o): \$(BISON_SRCS:.y=.tab.c)" | |
23760 | ||
23761 | ||
a360e934 AJ |
23762 | ALL_MAKERULES="" |
23763 | ||
23764 | ALL_MAKEFILES="" | |
23765 | ||
23766 | ALL_MAKEFILE_DEPENDS="# Makefile dependencies" | |
23767 | ||
23768 | ||
6de0af1e AJ |
23769 | ALL_TOP_DIRS="" |
23770 | ||
49163da1 AJ |
23771 | ALL_DLL_DIRS="" |
23772 | ||
23773 | ALL_IMPLIB_DIRS="" | |
23774 | ||
23775 | ALL_TEST_DIRS="" | |
23776 | ||
4051eaf7 AJ |
23777 | ALL_PROGRAM_DIRS="" |
23778 | ||
23779 | ALL_PROGRAM_INSTALL_DIRS="" | |
23780 | ||
23781 | ALL_PROGRAM_BIN_INSTALL_DIRS="" | |
23782 | ||
49163da1 | 23783 | |
daa2886c AJ |
23784 | |
23785 | ||
23786 | ||
c4704c2d AJ |
23787 | ac_config_commands="$ac_config_commands include/stamp-h" |
23788 | ||
23789 | ||
7dfc4477 | 23790 | ac_config_commands="$ac_config_commands dlls/gdi32/enhmfdrv" |
89118568 | 23791 | |
7dfc4477 | 23792 | ac_config_commands="$ac_config_commands dlls/gdi32/mfdrv" |
89118568 | 23793 | |
1c60e3bf | 23794 | ac_config_commands="$ac_config_commands dlls/kernel32/nls" |
f5818d2f | 23795 | |
b8a2e3b8 | 23796 | ac_config_commands="$ac_config_commands dlls/user32/resources" |
f5818d2f | 23797 | |
fc6ffb29 | 23798 | ac_config_commands="$ac_config_commands dlls/wineps.drv/data" |
f5818d2f | 23799 | |
fc6ffb29 | 23800 | ac_config_commands="$ac_config_commands include/wine" |
f5818d2f | 23801 | |
f5818d2f | 23802 | |
a360e934 AJ |
23803 | ALL_MAKERULES="$ALL_MAKERULES \\ |
23804 | Make.rules" | |
23805 | ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS | |
23806 | Make.rules: Make.rules.in" | |
f5818d2f | 23807 | MAKE_RULES=Make.rules |
a360e934 | 23808 | ac_config_files="$ac_config_files Make.rules" |
f5818d2f | 23809 | |
a360e934 AJ |
23810 | ALL_MAKERULES="$ALL_MAKERULES \\ |
23811 | dlls/Makedll.rules" | |
23812 | ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS | |
23813 | dlls/Makedll.rules: dlls/Makedll.rules.in Make.rules" | |
f5818d2f | 23814 | MAKE_DLL_RULES=dlls/Makedll.rules |
a360e934 | 23815 | ac_config_files="$ac_config_files dlls/Makedll.rules" |
d0edc5fe | 23816 | |
a360e934 AJ |
23817 | ALL_MAKERULES="$ALL_MAKERULES \\ |
23818 | dlls/Makeimplib.rules" | |
23819 | ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS | |
23820 | dlls/Makeimplib.rules: dlls/Makeimplib.rules.in Make.rules" | |
633b12d5 | 23821 | MAKE_IMPLIB_RULES=dlls/Makeimplib.rules |
a360e934 | 23822 | ac_config_files="$ac_config_files dlls/Makeimplib.rules" |
633b12d5 | 23823 | |
a360e934 AJ |
23824 | ALL_MAKERULES="$ALL_MAKERULES \\ |
23825 | dlls/Maketest.rules" | |
23826 | ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS | |
23827 | dlls/Maketest.rules: dlls/Maketest.rules.in Make.rules" | |
edeee89c | 23828 | MAKE_TEST_RULES=dlls/Maketest.rules |
a360e934 | 23829 | ac_config_files="$ac_config_files dlls/Maketest.rules" |
edeee89c | 23830 | |
a360e934 AJ |
23831 | ALL_MAKERULES="$ALL_MAKERULES \\ |
23832 | programs/Makeprog.rules" | |
23833 | ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS | |
23834 | programs/Makeprog.rules: programs/Makeprog.rules.in Make.rules" | |
626f425b | 23835 | MAKE_PROG_RULES=programs/Makeprog.rules |
a360e934 | 23836 | ac_config_files="$ac_config_files programs/Makeprog.rules" |
626f425b | 23837 | |
daa2886c | 23838 | |
fbc80d79 | 23839 | |
49163da1 | 23840 | |
a360e934 AJ |
23841 | ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS |
23842 | Makefile: Makefile.in Make.rules" | |
fbc80d79 MM |
23843 | ac_config_files="$ac_config_files Makefile" |
23844 | ||
a360e934 AJ |
23845 | ALL_MAKEFILES="$ALL_MAKEFILES \\ |
23846 | dlls/Makefile" | |
6de0af1e AJ |
23847 | test "x$enable_dlls" != xno && ALL_TOP_DIRS="$ALL_TOP_DIRS \\ |
23848 | dlls" | |
a360e934 AJ |
23849 | ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS |
23850 | dlls/Makefile: dlls/Makefile.in Make.rules" | |
fbc80d79 MM |
23851 | ac_config_files="$ac_config_files dlls/Makefile" |
23852 | ||
a360e934 AJ |
23853 | ALL_MAKEFILES="$ALL_MAKEFILES \\ |
23854 | dlls/acledit/Makefile" | |
485cc59c | 23855 | test "x$enable_acledit" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\ |
49163da1 | 23856 | acledit" |
a360e934 AJ |
23857 | ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS |
23858 | dlls/acledit/Makefile: dlls/acledit/Makefile.in dlls/Makedll.rules" | |
0da02fb2 EP |
23859 | ac_config_files="$ac_config_files dlls/acledit/Makefile" |
23860 | ||
a360e934 AJ |
23861 | ALL_MAKEFILES="$ALL_MAKEFILES \\ |
23862 | dlls/activeds/Makefile" | |
485cc59c | 23863 | test "x$enable_activeds" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\ |
49163da1 | 23864 | activeds" |
a360e934 AJ |
23865 | ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS |
23866 | dlls/activeds/Makefile: dlls/activeds/Makefile.in dlls/Makedll.rules" | |
fbc80d79 MM |
23867 | ac_config_files="$ac_config_files dlls/activeds/Makefile" |
23868 | ||
a360e934 AJ |
23869 | ALL_MAKEFILES="$ALL_MAKEFILES \\ |
23870 | dlls/actxprxy/Makefile" | |
485cc59c | 23871 | test "x$enable_actxprxy" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\ |
49163da1 | 23872 | actxprxy" |
a360e934 AJ |
23873 | ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS |
23874 | dlls/actxprxy/Makefile: dlls/actxprxy/Makefile.in dlls/Makedll.rules" | |
e8c7c068 RS |
23875 | ac_config_files="$ac_config_files dlls/actxprxy/Makefile" |
23876 | ||
a360e934 AJ |
23877 | ALL_MAKEFILES="$ALL_MAKEFILES \\ |
23878 | dlls/adsiid/Makefile" | |
485cc59c | 23879 | test "x$enable_adsiid" != xno && ALL_IMPLIB_DIRS="$ALL_IMPLIB_DIRS \\ |
49163da1 | 23880 | adsiid" |
a360e934 AJ |
23881 | ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS |
23882 | dlls/adsiid/Makefile: dlls/adsiid/Makefile.in dlls/Makeimplib.rules" | |
76e08969 RS |
23883 | ac_config_files="$ac_config_files dlls/adsiid/Makefile" |
23884 | ||
a360e934 AJ |
23885 | ALL_MAKEFILES="$ALL_MAKEFILES \\ |
23886 | dlls/advapi32/Makefile" | |
485cc59c | 23887 | test "x$enable_advapi32" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\ |
49163da1 | 23888 | advapi32" |
a360e934 AJ |
23889 | ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS |
23890 | dlls/advapi32/Makefile: dlls/advapi32/Makefile.in dlls/Makedll.rules" | |
fbc80d79 MM |
23891 | ac_config_files="$ac_config_files dlls/advapi32/Makefile" |
23892 | ||
a360e934 AJ |
23893 | ALL_MAKEFILES="$ALL_MAKEFILES \\ |
23894 | dlls/advapi32/tests/Makefile" | |
35078f4b | 23895 | test "x$enable_tests" != xno && ALL_TEST_DIRS="$ALL_TEST_DIRS \\ |
49163da1 | 23896 | advapi32/tests" |
a360e934 AJ |
23897 | ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS |
23898 | dlls/advapi32/tests/Makefile: dlls/advapi32/tests/Makefile.in dlls/Maketest.rules" | |
fbc80d79 MM |
23899 | ac_config_files="$ac_config_files dlls/advapi32/tests/Makefile" |
23900 | ||
a360e934 AJ |
23901 | ALL_MAKEFILES="$ALL_MAKEFILES \\ |
23902 | dlls/advpack/Makefile" | |
485cc59c | 23903 | test "x$enable_advpack" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\ |
49163da1 | 23904 | advpack" |
a360e934 AJ |
23905 | ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS |
23906 | dlls/advpack/Makefile: dlls/advpack/Makefile.in dlls/Makedll.rules" | |
fbc80d79 MM |
23907 | ac_config_files="$ac_config_files dlls/advpack/Makefile" |
23908 | ||
a360e934 AJ |
23909 | ALL_MAKEFILES="$ALL_MAKEFILES \\ |
23910 | dlls/advpack/tests/Makefile" | |
35078f4b | 23911 | test "x$enable_tests" != xno && ALL_TEST_DIRS="$ALL_TEST_DIRS \\ |
49163da1 | 23912 | advpack/tests" |
a360e934 AJ |
23913 | ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS |
23914 | dlls/advpack/tests/Makefile: dlls/advpack/tests/Makefile.in dlls/Maketest.rules" | |
fbc80d79 MM |
23915 | ac_config_files="$ac_config_files dlls/advpack/tests/Makefile" |
23916 | ||
a360e934 AJ |
23917 | ALL_MAKEFILES="$ALL_MAKEFILES \\ |
23918 | dlls/amstream/Makefile" | |
485cc59c | 23919 | test "x$enable_amstream" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\ |
49163da1 | 23920 | amstream" |
a360e934 AJ |
23921 | ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS |
23922 | dlls/amstream/Makefile: dlls/amstream/Makefile.in dlls/Makedll.rules" | |
fbc80d79 MM |
23923 | ac_config_files="$ac_config_files dlls/amstream/Makefile" |
23924 | ||
a360e934 AJ |
23925 | ALL_MAKEFILES="$ALL_MAKEFILES \\ |
23926 | dlls/appwiz.cpl/Makefile" | |
485cc59c | 23927 | test "x$enable_appwiz_cpl" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\ |
49163da1 | 23928 | appwiz.cpl" |
a360e934 AJ |
23929 | ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS |
23930 | dlls/appwiz.cpl/Makefile: dlls/appwiz.cpl/Makefile.in dlls/Makedll.rules" | |
f4e6489e OR |
23931 | ac_config_files="$ac_config_files dlls/appwiz.cpl/Makefile" |
23932 | ||
a360e934 AJ |
23933 | ALL_MAKEFILES="$ALL_MAKEFILES \\ |
23934 | dlls/atl/Makefile" | |
485cc59c | 23935 | test "x$enable_atl" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\ |
49163da1 | 23936 | atl" |
a360e934 AJ |
23937 | ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS |
23938 | dlls/atl/Makefile: dlls/atl/Makefile.in dlls/Makedll.rules" | |
fbc80d79 MM |
23939 | ac_config_files="$ac_config_files dlls/atl/Makefile" |
23940 | ||
a360e934 AJ |
23941 | ALL_MAKEFILES="$ALL_MAKEFILES \\ |
23942 | dlls/avicap32/Makefile" | |
485cc59c | 23943 | test "x$enable_avicap32" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\ |
49163da1 | 23944 | avicap32" |
a360e934 AJ |
23945 | ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS |
23946 | dlls/avicap32/Makefile: dlls/avicap32/Makefile.in dlls/Makedll.rules" | |
fbc80d79 MM |
23947 | ac_config_files="$ac_config_files dlls/avicap32/Makefile" |
23948 | ||
a360e934 AJ |
23949 | ALL_MAKEFILES="$ALL_MAKEFILES \\ |
23950 | dlls/avifil32/Makefile" | |
485cc59c | 23951 | test "x$enable_avifil32" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\ |
49163da1 | 23952 | avifil32" |
a360e934 AJ |
23953 | ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS |
23954 | dlls/avifil32/Makefile: dlls/avifil32/Makefile.in dlls/Makedll.rules" | |
fbc80d79 MM |
23955 | ac_config_files="$ac_config_files dlls/avifil32/Makefile" |
23956 | ||
a360e934 AJ |
23957 | ALL_MAKEFILES="$ALL_MAKEFILES \\ |
23958 | dlls/browseui/Makefile" | |
485cc59c | 23959 | test "x$enable_browseui" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\ |
49163da1 | 23960 | browseui" |
a360e934 AJ |
23961 | ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS |
23962 | dlls/browseui/Makefile: dlls/browseui/Makefile.in dlls/Makedll.rules" | |
fbc80d79 MM |
23963 | ac_config_files="$ac_config_files dlls/browseui/Makefile" |
23964 | ||
a360e934 AJ |
23965 | ALL_MAKEFILES="$ALL_MAKEFILES \\ |
23966 | dlls/browseui/tests/Makefile" | |
35078f4b | 23967 | test "x$enable_tests" != xno && ALL_TEST_DIRS="$ALL_TEST_DIRS \\ |
49163da1 | 23968 | browseui/tests" |
a360e934 AJ |
23969 | ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS |
23970 | dlls/browseui/tests/Makefile: dlls/browseui/tests/Makefile.in dlls/Maketest.rules" | |
fbc80d79 MM |
23971 | ac_config_files="$ac_config_files dlls/browseui/tests/Makefile" |
23972 | ||
a360e934 AJ |
23973 | ALL_MAKEFILES="$ALL_MAKEFILES \\ |
23974 | dlls/cabinet/Makefile" | |
485cc59c | 23975 | test "x$enable_cabinet" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\ |
49163da1 | 23976 | cabinet" |
a360e934 AJ |
23977 | ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS |
23978 | dlls/cabinet/Makefile: dlls/cabinet/Makefile.in dlls/Makedll.rules" | |
fbc80d79 MM |
23979 | ac_config_files="$ac_config_files dlls/cabinet/Makefile" |
23980 | ||
a360e934 AJ |
23981 | ALL_MAKEFILES="$ALL_MAKEFILES \\ |
23982 | dlls/cabinet/tests/Makefile" | |
35078f4b | 23983 | test "x$enable_tests" != xno && ALL_TEST_DIRS="$ALL_TEST_DIRS \\ |
49163da1 | 23984 | cabinet/tests" |
a360e934 AJ |
23985 | ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS |
23986 | dlls/cabinet/tests/Makefile: dlls/cabinet/tests/Makefile.in dlls/Maketest.rules" | |
fbc80d79 MM |
23987 | ac_config_files="$ac_config_files dlls/cabinet/tests/Makefile" |
23988 | ||
a360e934 AJ |
23989 | ALL_MAKEFILES="$ALL_MAKEFILES \\ |
23990 | dlls/capi2032/Makefile" | |
485cc59c | 23991 | test "x$enable_capi2032" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\ |
49163da1 | 23992 | capi2032" |
a360e934 AJ |
23993 | ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS |
23994 | dlls/capi2032/Makefile: dlls/capi2032/Makefile.in dlls/Makedll.rules" | |
fbc80d79 MM |
23995 | ac_config_files="$ac_config_files dlls/capi2032/Makefile" |
23996 | ||
a360e934 AJ |
23997 | ALL_MAKEFILES="$ALL_MAKEFILES \\ |
23998 | dlls/cards/Makefile" | |
485cc59c | 23999 | test "x$enable_cards" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\ |
49163da1 | 24000 | cards" |
a360e934 AJ |
24001 | ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS |
24002 | dlls/cards/Makefile: dlls/cards/Makefile.in dlls/Makedll.rules" | |
fbc80d79 MM |
24003 | ac_config_files="$ac_config_files dlls/cards/Makefile" |
24004 | ||
a360e934 AJ |
24005 | ALL_MAKEFILES="$ALL_MAKEFILES \\ |
24006 | dlls/cfgmgr32/Makefile" | |
485cc59c | 24007 | test "x$enable_cfgmgr32" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\ |
49163da1 | 24008 | cfgmgr32" |
a360e934 AJ |
24009 | ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS |
24010 | dlls/cfgmgr32/Makefile: dlls/cfgmgr32/Makefile.in dlls/Makedll.rules" | |
fbc80d79 MM |
24011 | ac_config_files="$ac_config_files dlls/cfgmgr32/Makefile" |
24012 | ||
a360e934 AJ |
24013 | ALL_MAKEFILES="$ALL_MAKEFILES \\ |
24014 | dlls/clusapi/Makefile" | |
485cc59c | 24015 | test "x$enable_clusapi" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\ |
49163da1 | 24016 | clusapi" |
a360e934 AJ |
24017 | ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS |
24018 | dlls/clusapi/Makefile: dlls/clusapi/Makefile.in dlls/Makedll.rules" | |
fbc80d79 MM |
24019 | ac_config_files="$ac_config_files dlls/clusapi/Makefile" |
24020 | ||
a360e934 AJ |
24021 | ALL_MAKEFILES="$ALL_MAKEFILES \\ |
24022 | dlls/comcat/Makefile" | |
485cc59c | 24023 | test "x$enable_comcat" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\ |
49163da1 | 24024 | comcat" |
a360e934 AJ |
24025 | ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS |
24026 | dlls/comcat/Makefile: dlls/comcat/Makefile.in dlls/Makedll.rules" | |
fbc80d79 MM |
24027 | ac_config_files="$ac_config_files dlls/comcat/Makefile" |
24028 | ||
a360e934 AJ |
24029 | ALL_MAKEFILES="$ALL_MAKEFILES \\ |
24030 | dlls/comcat/tests/Makefile" | |
35078f4b | 24031 | test "x$enable_tests" != xno && ALL_TEST_DIRS="$ALL_TEST_DIRS \\ |
49163da1 | 24032 | comcat/tests" |
a360e934 AJ |
24033 | ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS |
24034 | dlls/comcat/tests/Makefile: dlls/comcat/tests/Makefile.in dlls/Maketest.rules" | |
fbc80d79 MM |
24035 | ac_config_files="$ac_config_files dlls/comcat/tests/Makefile" |
24036 | ||
a360e934 AJ |
24037 | ALL_MAKEFILES="$ALL_MAKEFILES \\ |
24038 | dlls/comctl32/Makefile" | |
485cc59c | 24039 | test "x$enable_comctl32" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\ |
49163da1 | 24040 | comctl32" |
a360e934 AJ |
24041 | ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS |
24042 | dlls/comctl32/Makefile: dlls/comctl32/Makefile.in dlls/Makedll.rules" | |
fbc80d79 MM |
24043 | ac_config_files="$ac_config_files dlls/comctl32/Makefile" |
24044 | ||
a360e934 AJ |
24045 | ALL_MAKEFILES="$ALL_MAKEFILES \\ |
24046 | dlls/comctl32/tests/Makefile" | |
35078f4b | 24047 | test "x$enable_tests" != xno && ALL_TEST_DIRS="$ALL_TEST_DIRS \\ |
49163da1 | 24048 | comctl32/tests" |
a360e934 AJ |
24049 | ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS |
24050 | dlls/comctl32/tests/Makefile: dlls/comctl32/tests/Makefile.in dlls/Maketest.rules" | |
fbc80d79 MM |
24051 | ac_config_files="$ac_config_files dlls/comctl32/tests/Makefile" |
24052 | ||
a360e934 AJ |
24053 | ALL_MAKEFILES="$ALL_MAKEFILES \\ |
24054 | dlls/comdlg32/Makefile" | |
485cc59c | 24055 | test "x$enable_comdlg32" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\ |
49163da1 | 24056 | comdlg32" |
a360e934 AJ |
24057 | ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS |
24058 | dlls/comdlg32/Makefile: dlls/comdlg32/Makefile.in dlls/Makedll.rules" | |
fbc80d79 MM |
24059 | ac_config_files="$ac_config_files dlls/comdlg32/Makefile" |
24060 | ||
a360e934 AJ |
24061 | ALL_MAKEFILES="$ALL_MAKEFILES \\ |
24062 | dlls/comdlg32/tests/Makefile" | |
35078f4b | 24063 | test "x$enable_tests" != xno && ALL_TEST_DIRS="$ALL_TEST_DIRS \\ |
49163da1 | 24064 | comdlg32/tests" |
a360e934 AJ |
24065 | ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS |
24066 | dlls/comdlg32/tests/Makefile: dlls/comdlg32/tests/Makefile.in dlls/Maketest.rules" | |
fbc80d79 MM |
24067 | ac_config_files="$ac_config_files dlls/comdlg32/tests/Makefile" |
24068 | ||
a360e934 AJ |
24069 | ALL_MAKEFILES="$ALL_MAKEFILES \\ |
24070 | dlls/compstui/Makefile" | |
485cc59c | 24071 | test "x$enable_compstui" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\ |
49163da1 | 24072 | compstui" |
a360e934 AJ |
24073 | ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS |
24074 | dlls/compstui/Makefile: dlls/compstui/Makefile.in dlls/Makedll.rules" | |
fbc80d79 MM |
24075 | ac_config_files="$ac_config_files dlls/compstui/Makefile" |
24076 | ||
a360e934 AJ |
24077 | ALL_MAKEFILES="$ALL_MAKEFILES \\ |
24078 | dlls/credui/Makefile" | |
485cc59c | 24079 | test "x$enable_credui" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\ |
49163da1 | 24080 | credui" |
a360e934 AJ |
24081 | ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS |
24082 | dlls/credui/Makefile: dlls/credui/Makefile.in dlls/Makedll.rules" | |
fbc80d79 MM |
24083 | ac_config_files="$ac_config_files dlls/credui/Makefile" |
24084 | ||
a360e934 AJ |
24085 | ALL_MAKEFILES="$ALL_MAKEFILES \\ |
24086 | dlls/credui/tests/Makefile" | |
35078f4b | 24087 | test "x$enable_tests" != xno && ALL_TEST_DIRS="$ALL_TEST_DIRS \\ |
49163da1 | 24088 | credui/tests" |
a360e934 AJ |
24089 | ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS |
24090 | dlls/credui/tests/Makefile: dlls/credui/tests/Makefile.in dlls/Maketest.rules" | |
e146591c RS |
24091 | ac_config_files="$ac_config_files dlls/credui/tests/Makefile" |
24092 | ||
a360e934 AJ |
24093 | ALL_MAKEFILES="$ALL_MAKEFILES \\ |
24094 | dlls/crtdll/Makefile" | |
485cc59c | 24095 | test "x$enable_crtdll" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\ |
49163da1 | 24096 | crtdll" |
a360e934 AJ |
24097 | ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS |
24098 | dlls/crtdll/Makefile: dlls/crtdll/Makefile.in dlls/Makedll.rules" | |
fbc80d79 MM |
24099 | ac_config_files="$ac_config_files dlls/crtdll/Makefile" |
24100 | ||
a360e934 AJ |
24101 | ALL_MAKEFILES="$ALL_MAKEFILES \\ |
24102 | dlls/crypt32/Makefile" | |
485cc59c | 24103 | test "x$enable_crypt32" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\ |
49163da1 | 24104 | crypt32" |
a360e934 AJ |
24105 | ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS |
24106 | dlls/crypt32/Makefile: dlls/crypt32/Makefile.in dlls/Makedll.rules" | |
fbc80d79 MM |
24107 | ac_config_files="$ac_config_files dlls/crypt32/Makefile" |
24108 | ||
a360e934 AJ |
24109 | ALL_MAKEFILES="$ALL_MAKEFILES \\ |
24110 | dlls/crypt32/tests/Makefile" | |
35078f4b | 24111 | test "x$enable_tests" != xno && ALL_TEST_DIRS="$ALL_TEST_DIRS \\ |
49163da1 | 24112 | crypt32/tests" |
a360e934 AJ |
24113 | ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS |
24114 | dlls/crypt32/tests/Makefile: dlls/crypt32/tests/Makefile.in dlls/Maketest.rules" | |
fbc80d79 MM |
24115 | ac_config_files="$ac_config_files dlls/crypt32/tests/Makefile" |
24116 | ||
a360e934 AJ |
24117 | ALL_MAKEFILES="$ALL_MAKEFILES \\ |
24118 | dlls/cryptdlg/Makefile" | |
485cc59c | 24119 | test "x$enable_cryptdlg" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\ |
49163da1 | 24120 | cryptdlg" |
a360e934 AJ |
24121 | ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS |
24122 | dlls/cryptdlg/Makefile: dlls/cryptdlg/Makefile.in dlls/Makedll.rules" | |
f9308217 ML |
24123 | ac_config_files="$ac_config_files dlls/cryptdlg/Makefile" |
24124 | ||
a360e934 AJ |
24125 | ALL_MAKEFILES="$ALL_MAKEFILES \\ |
24126 | dlls/cryptdll/Makefile" | |
485cc59c | 24127 | test "x$enable_cryptdll" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\ |
49163da1 | 24128 | cryptdll" |
a360e934 AJ |
24129 | ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS |
24130 | dlls/cryptdll/Makefile: dlls/cryptdll/Makefile.in dlls/Makedll.rules" | |
fbc80d79 MM |
24131 | ac_config_files="$ac_config_files dlls/cryptdll/Makefile" |
24132 | ||
a360e934 AJ |
24133 | ALL_MAKEFILES="$ALL_MAKEFILES \\ |
24134 | dlls/cryptnet/Makefile" | |
485cc59c | 24135 | test "x$enable_cryptnet" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\ |
49163da1 | 24136 | cryptnet" |
a360e934 AJ |
24137 | ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS |
24138 | dlls/cryptnet/Makefile: dlls/cryptnet/Makefile.in dlls/Makedll.rules" | |
fbc80d79 MM |
24139 | ac_config_files="$ac_config_files dlls/cryptnet/Makefile" |
24140 | ||
a360e934 AJ |
24141 | ALL_MAKEFILES="$ALL_MAKEFILES \\ |
24142 | dlls/cryptnet/tests/Makefile" | |
35078f4b | 24143 | test "x$enable_tests" != xno && ALL_TEST_DIRS="$ALL_TEST_DIRS \\ |
49163da1 | 24144 | cryptnet/tests" |
a360e934 AJ |
24145 | ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS |
24146 | dlls/cryptnet/tests/Makefile: dlls/cryptnet/tests/Makefile.in dlls/Maketest.rules" | |
322bcddf JL |
24147 | ac_config_files="$ac_config_files dlls/cryptnet/tests/Makefile" |
24148 | ||
a360e934 AJ |
24149 | ALL_MAKEFILES="$ALL_MAKEFILES \\ |
24150 | dlls/cryptui/Makefile" | |
485cc59c | 24151 | test "x$enable_cryptui" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\ |
49163da1 | 24152 | cryptui" |
a360e934 AJ |
24153 | ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS |
24154 | dlls/cryptui/Makefile: dlls/cryptui/Makefile.in dlls/Makedll.rules" | |
2016c63e JL |
24155 | ac_config_files="$ac_config_files dlls/cryptui/Makefile" |
24156 | ||
7e0e1a1f JL |
24157 | ALL_MAKEFILES="$ALL_MAKEFILES \\ |
24158 | dlls/cryptui/tests/Makefile" | |
35078f4b | 24159 | test "x$enable_tests" != xno && ALL_TEST_DIRS="$ALL_TEST_DIRS \\ |
7e0e1a1f JL |
24160 | cryptui/tests" |
24161 | ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS | |
24162 | dlls/cryptui/tests/Makefile: dlls/cryptui/tests/Makefile.in dlls/Maketest.rules" | |
24163 | ac_config_files="$ac_config_files dlls/cryptui/tests/Makefile" | |
24164 | ||
a360e934 AJ |
24165 | ALL_MAKEFILES="$ALL_MAKEFILES \\ |
24166 | dlls/ctapi32/Makefile" | |
485cc59c | 24167 | test "x$enable_ctapi32" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\ |
49163da1 | 24168 | ctapi32" |
a360e934 AJ |
24169 | ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS |
24170 | dlls/ctapi32/Makefile: dlls/ctapi32/Makefile.in dlls/Makedll.rules" | |
f89c6de7 CE |
24171 | ac_config_files="$ac_config_files dlls/ctapi32/Makefile" |
24172 | ||
a360e934 AJ |
24173 | ALL_MAKEFILES="$ALL_MAKEFILES \\ |
24174 | dlls/ctl3d32/Makefile" | |
485cc59c | 24175 | test "x$enable_ctl3d32" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\ |
49163da1 | 24176 | ctl3d32" |
a360e934 AJ |
24177 | ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS |
24178 | dlls/ctl3d32/Makefile: dlls/ctl3d32/Makefile.in dlls/Makedll.rules" | |
fbc80d79 MM |
24179 | ac_config_files="$ac_config_files dlls/ctl3d32/Makefile" |
24180 | ||
a360e934 AJ |
24181 | ALL_MAKEFILES="$ALL_MAKEFILES \\ |
24182 | dlls/d3d10/Makefile" | |
485cc59c | 24183 | test "x$enable_d3d10" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\ |
49163da1 | 24184 | d3d10" |
a360e934 AJ |
24185 | ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS |
24186 | dlls/d3d10/Makefile: dlls/d3d10/Makefile.in dlls/Makedll.rules" | |
0db109ff KA |
24187 | ac_config_files="$ac_config_files dlls/d3d10/Makefile" |
24188 | ||
65e614a9 HV |
24189 | ALL_MAKEFILES="$ALL_MAKEFILES \\ |
24190 | dlls/d3d10/tests/Makefile" | |
35078f4b | 24191 | test "x$enable_tests" != xno && ALL_TEST_DIRS="$ALL_TEST_DIRS \\ |
65e614a9 HV |
24192 | d3d10/tests" |
24193 | ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS | |
24194 | dlls/d3d10/tests/Makefile: dlls/d3d10/tests/Makefile.in dlls/Maketest.rules" | |
24195 | ac_config_files="$ac_config_files dlls/d3d10/tests/Makefile" | |
24196 | ||
078fc191 HV |
24197 | ALL_MAKEFILES="$ALL_MAKEFILES \\ |
24198 | dlls/d3d10core/Makefile" | |
24199 | test "x$enable_d3d10core" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\ | |
24200 | d3d10core" | |
24201 | ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS | |
24202 | dlls/d3d10core/Makefile: dlls/d3d10core/Makefile.in dlls/Makedll.rules" | |
24203 | ac_config_files="$ac_config_files dlls/d3d10core/Makefile" | |
24204 | ||
1dad7595 HV |
24205 | ALL_MAKEFILES="$ALL_MAKEFILES \\ |
24206 | dlls/d3d10core/tests/Makefile" | |
35078f4b | 24207 | test "x$enable_tests" != xno && ALL_TEST_DIRS="$ALL_TEST_DIRS \\ |
1dad7595 HV |
24208 | d3d10core/tests" |
24209 | ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS | |
24210 | dlls/d3d10core/tests/Makefile: dlls/d3d10core/tests/Makefile.in dlls/Maketest.rules" | |
24211 | ac_config_files="$ac_config_files dlls/d3d10core/tests/Makefile" | |
24212 | ||
a360e934 AJ |
24213 | ALL_MAKEFILES="$ALL_MAKEFILES \\ |
24214 | dlls/d3d8/Makefile" | |
485cc59c | 24215 | test "x$enable_d3d8" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\ |
49163da1 | 24216 | d3d8" |
a360e934 AJ |
24217 | ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS |
24218 | dlls/d3d8/Makefile: dlls/d3d8/Makefile.in dlls/Makedll.rules" | |
fbc80d79 MM |
24219 | ac_config_files="$ac_config_files dlls/d3d8/Makefile" |
24220 | ||
a360e934 AJ |
24221 | ALL_MAKEFILES="$ALL_MAKEFILES \\ |
24222 | dlls/d3d8/tests/Makefile" | |
35078f4b | 24223 | test "x$enable_tests" != xno && ALL_TEST_DIRS="$ALL_TEST_DIRS \\ |
49163da1 | 24224 | d3d8/tests" |
a360e934 AJ |
24225 | ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS |
24226 | dlls/d3d8/tests/Makefile: dlls/d3d8/tests/Makefile.in dlls/Maketest.rules" | |
fbc80d79 MM |
24227 | ac_config_files="$ac_config_files dlls/d3d8/tests/Makefile" |
24228 | ||
a360e934 AJ |
24229 | ALL_MAKEFILES="$ALL_MAKEFILES \\ |
24230 | dlls/d3d9/Makefile" | |
485cc59c | 24231 | test "x$enable_d3d9" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\ |
49163da1 | 24232 | d3d9" |
a360e934 AJ |
24233 | ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS |
24234 | dlls/d3d9/Makefile: dlls/d3d9/Makefile.in dlls/Makedll.rules" | |
fbc80d79 MM |
24235 | ac_config_files="$ac_config_files dlls/d3d9/Makefile" |
24236 | ||
a360e934 AJ |
24237 | ALL_MAKEFILES="$ALL_MAKEFILES \\ |
24238 | dlls/d3d9/tests/Makefile" | |
35078f4b | 24239 | test "x$enable_tests" != xno && ALL_TEST_DIRS="$ALL_TEST_DIRS \\ |
49163da1 | 24240 | d3d9/tests" |
a360e934 AJ |
24241 | ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS |
24242 | dlls/d3d9/tests/Makefile: dlls/d3d9/tests/Makefile.in dlls/Maketest.rules" | |
fbc80d79 MM |
24243 | ac_config_files="$ac_config_files dlls/d3d9/tests/Makefile" |
24244 | ||
a360e934 AJ |
24245 | ALL_MAKEFILES="$ALL_MAKEFILES \\ |
24246 | dlls/d3dim/Makefile" | |
485cc59c | 24247 | test "x$enable_d3dim" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\ |
49163da1 | 24248 | d3dim" |
a360e934 AJ |
24249 | ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS |
24250 | dlls/d3dim/Makefile: dlls/d3dim/Makefile.in dlls/Makedll.rules" | |
fbc80d79 MM |
24251 | ac_config_files="$ac_config_files dlls/d3dim/Makefile" |
24252 | ||
a360e934 AJ |
24253 | ALL_MAKEFILES="$ALL_MAKEFILES \\ |
24254 | dlls/d3drm/Makefile" | |
485cc59c | 24255 | test "x$enable_d3drm" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\ |
49163da1 | 24256 | d3drm" |
a360e934 AJ |
24257 | ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS |
24258 | dlls/d3drm/Makefile: dlls/d3drm/Makefile.in dlls/Makedll.rules" | |
fbc80d79 MM |
24259 | ac_config_files="$ac_config_files dlls/d3drm/Makefile" |
24260 | ||
a360e934 AJ |
24261 | ALL_MAKEFILES="$ALL_MAKEFILES \\ |
24262 | dlls/d3drm/tests/Makefile" | |
35078f4b | 24263 | test "x$enable_tests" != xno && ALL_TEST_DIRS="$ALL_TEST_DIRS \\ |
49163da1 | 24264 | d3drm/tests" |
a360e934 AJ |
24265 | ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS |
24266 | dlls/d3drm/tests/Makefile: dlls/d3drm/tests/Makefile.in dlls/Maketest.rules" | |
f50800b2 DA |
24267 | ac_config_files="$ac_config_files dlls/d3drm/tests/Makefile" |
24268 | ||
a360e934 AJ |
24269 | ALL_MAKEFILES="$ALL_MAKEFILES \\ |
24270 | dlls/d3dx8/Makefile" | |
485cc59c | 24271 | test "x$enable_d3dx8" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\ |
49163da1 | 24272 | d3dx8" |
a360e934 AJ |
24273 | ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS |
24274 | dlls/d3dx8/Makefile: dlls/d3dx8/Makefile.in dlls/Makedll.rules" | |
fbc80d79 MM |
24275 | ac_config_files="$ac_config_files dlls/d3dx8/Makefile" |
24276 | ||
a360e934 AJ |
24277 | ALL_MAKEFILES="$ALL_MAKEFILES \\ |
24278 | dlls/d3dx8/tests/Makefile" | |
35078f4b | 24279 | test "x$enable_tests" != xno && ALL_TEST_DIRS="$ALL_TEST_DIRS \\ |
49163da1 | 24280 | d3dx8/tests" |
a360e934 AJ |
24281 | ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS |
24282 | dlls/d3dx8/tests/Makefile: dlls/d3dx8/tests/Makefile.in dlls/Maketest.rules" | |
e4ba8eb4 DA |
24283 | ac_config_files="$ac_config_files dlls/d3dx8/tests/Makefile" |
24284 | ||
a360e934 AJ |
24285 | ALL_MAKEFILES="$ALL_MAKEFILES \\ |
24286 | dlls/d3dx9_24/Makefile" | |
485cc59c | 24287 | test "x$enable_d3dx9_24" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\ |
49163da1 | 24288 | d3dx9_24" |
a360e934 AJ |
24289 | ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS |
24290 | dlls/d3dx9_24/Makefile: dlls/d3dx9_24/Makefile.in dlls/Makedll.rules" | |
6f834d35 TW |
24291 | ac_config_files="$ac_config_files dlls/d3dx9_24/Makefile" |
24292 | ||
a360e934 AJ |
24293 | ALL_MAKEFILES="$ALL_MAKEFILES \\ |
24294 | dlls/d3dx9_25/Makefile" | |
485cc59c | 24295 | test "x$enable_d3dx9_25" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\ |
49163da1 | 24296 | d3dx9_25" |
a360e934 AJ |
24297 | ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS |
24298 | dlls/d3dx9_25/Makefile: dlls/d3dx9_25/Makefile.in dlls/Makedll.rules" | |
e9c16391 TW |
24299 | ac_config_files="$ac_config_files dlls/d3dx9_25/Makefile" |
24300 | ||
a360e934 AJ |
24301 | ALL_MAKEFILES="$ALL_MAKEFILES \\ |
24302 | dlls/d3dx9_26/Makefile" | |
485cc59c | 24303 | test "x$enable_d3dx9_26" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\ |
49163da1 | 24304 | d3dx9_26" |
a360e934 AJ |
24305 | ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS |
24306 | dlls/d3dx9_26/Makefile: dlls/d3dx9_26/Makefile.in dlls/Makedll.rules" | |
409b19b9 TW |
24307 | ac_config_files="$ac_config_files dlls/d3dx9_26/Makefile" |
24308 | ||
a360e934 AJ |
24309 | ALL_MAKEFILES="$ALL_MAKEFILES \\ |
24310 | dlls/d3dx9_27/Makefile" | |
485cc59c | 24311 | test "x$enable_d3dx9_27" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\ |
49163da1 | 24312 | d3dx9_27" |
a360e934 AJ |
24313 | ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS |
24314 | dlls/d3dx9_27/Makefile: dlls/d3dx9_27/Makefile.in dlls/Makedll.rules" | |
409b19b9 TW |
24315 | ac_config_files="$ac_config_files dlls/d3dx9_27/Makefile" |
24316 | ||
a360e934 AJ |
24317 | ALL_MAKEFILES="$ALL_MAKEFILES \\ |
24318 | dlls/d3dx9_28/Makefile" | |
485cc59c | 24319 | test "x$enable_d3dx9_28" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\ |
49163da1 | 24320 | d3dx9_28" |
a360e934 AJ |
24321 | ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS |
24322 | dlls/d3dx9_28/Makefile: dlls/d3dx9_28/Makefile.in dlls/Makedll.rules" | |
2aa1505a TW |
24323 | ac_config_files="$ac_config_files dlls/d3dx9_28/Makefile" |
24324 | ||
a360e934 AJ |
24325 | ALL_MAKEFILES="$ALL_MAKEFILES \\ |
24326 | dlls/d3dx9_29/Makefile" | |
485cc59c | 24327 | test "x$enable_d3dx9_29" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\ |
49163da1 | 24328 | d3dx9_29" |
a360e934 AJ |
24329 | ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS |
24330 | dlls/d3dx9_29/Makefile: dlls/d3dx9_29/Makefile.in dlls/Makedll.rules" | |
2aa1505a TW |
24331 | ac_config_files="$ac_config_files dlls/d3dx9_29/Makefile" |
24332 | ||
a360e934 AJ |
24333 | ALL_MAKEFILES="$ALL_MAKEFILES \\ |
24334 | dlls/d3dx9_30/Makefile" | |
485cc59c | 24335 | test "x$enable_d3dx9_30" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\ |
49163da1 | 24336 | d3dx9_30" |
a360e934 AJ |
24337 | ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS |
24338 | dlls/d3dx9_30/Makefile: dlls/d3dx9_30/Makefile.in dlls/Makedll.rules" | |
2aa1505a TW |
24339 | ac_config_files="$ac_config_files dlls/d3dx9_30/Makefile" |
24340 | ||
a360e934 AJ |
24341 | ALL_MAKEFILES="$ALL_MAKEFILES \\ |
24342 | dlls/d3dx9_31/Makefile" | |
485cc59c | 24343 | test "x$enable_d3dx9_31" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\ |
49163da1 | 24344 | d3dx9_31" |
a360e934 AJ |
24345 | ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS |
24346 | dlls/d3dx9_31/Makefile: dlls/d3dx9_31/Makefile.in dlls/Makedll.rules" | |
e4866622 TW |
24347 | ac_config_files="$ac_config_files dlls/d3dx9_31/Makefile" |
24348 | ||
a360e934 AJ |
24349 | ALL_MAKEFILES="$ALL_MAKEFILES \\ |
24350 | dlls/d3dx9_32/Makefile" | |
485cc59c | 24351 | test "x$enable_d3dx9_32" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\ |
49163da1 | 24352 | d3dx9_32" |
a360e934 AJ |
24353 | ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS |
24354 | dlls/d3dx9_32/Makefile: dlls/d3dx9_32/Makefile.in dlls/Makedll.rules" | |
df0a694f TW |
24355 | ac_config_files="$ac_config_files dlls/d3dx9_32/Makefile" |
24356 | ||
a360e934 AJ |
24357 | ALL_MAKEFILES="$ALL_MAKEFILES \\ |
24358 | dlls/d3dx9_33/Makefile" | |
485cc59c | 24359 | test "x$enable_d3dx9_33" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\ |
49163da1 | 24360 | d3dx9_33" |
a360e934 AJ |
24361 | ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS |
24362 | dlls/d3dx9_33/Makefile: dlls/d3dx9_33/Makefile.in dlls/Makedll.rules" | |
df0a694f TW |
24363 | ac_config_files="$ac_config_files dlls/d3dx9_33/Makefile" |
24364 | ||
a360e934 AJ |
24365 | ALL_MAKEFILES="$ALL_MAKEFILES \\ |
24366 | dlls/d3dx9_34/Makefile" | |
485cc59c | 24367 | test "x$enable_d3dx9_34" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\ |
49163da1 | 24368 | d3dx9_34" |
a360e934 AJ |
24369 | ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS |
24370 | dlls/d3dx9_34/Makefile: dlls/d3dx9_34/Makefile.in dlls/Makedll.rules" | |
df0a694f TW |
24371 | ac_config_files="$ac_config_files dlls/d3dx9_34/Makefile" |
24372 | ||
a360e934 AJ |
24373 | ALL_MAKEFILES="$ALL_MAKEFILES \\ |
24374 | dlls/d3dx9_35/Makefile" | |
485cc59c | 24375 | test "x$enable_d3dx9_35" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\ |
49163da1 | 24376 | d3dx9_35" |
a360e934 AJ |
24377 | ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS |
24378 | dlls/d3dx9_35/Makefile: dlls/d3dx9_35/Makefile.in dlls/Makedll.rules" | |
df0a694f TW |
24379 | ac_config_files="$ac_config_files dlls/d3dx9_35/Makefile" |
24380 | ||
a360e934 AJ |
24381 | ALL_MAKEFILES="$ALL_MAKEFILES \\ |
24382 | dlls/d3dx9_36/Makefile" | |
485cc59c | 24383 | test "x$enable_d3dx9_36" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\ |
49163da1 | 24384 | d3dx9_36" |
a360e934 AJ |
24385 | ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS |
24386 | dlls/d3dx9_36/Makefile: dlls/d3dx9_36/Makefile.in dlls/Makedll.rules" | |
87fefc7e TW |
24387 | ac_config_files="$ac_config_files dlls/d3dx9_36/Makefile" |
24388 | ||
a360e934 AJ |
24389 | ALL_MAKEFILES="$ALL_MAKEFILES \\ |
24390 | dlls/d3dx9_36/tests/Makefile" | |
35078f4b | 24391 | test "x$enable_tests" != xno && ALL_TEST_DIRS="$ALL_TEST_DIRS \\ |
49163da1 | 24392 | d3dx9_36/tests" |
a360e934 AJ |
24393 | ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS |
24394 | dlls/d3dx9_36/tests/Makefile: dlls/d3dx9_36/tests/Makefile.in dlls/Maketest.rules" | |
b67290b9 PN |
24395 | ac_config_files="$ac_config_files dlls/d3dx9_36/tests/Makefile" |
24396 | ||
a360e934 AJ |
24397 | ALL_MAKEFILES="$ALL_MAKEFILES \\ |
24398 | dlls/d3dx9_37/Makefile" | |
485cc59c | 24399 | test "x$enable_d3dx9_37" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\ |
49163da1 | 24400 | d3dx9_37" |
a360e934 AJ |
24401 | ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS |
24402 | dlls/d3dx9_37/Makefile: dlls/d3dx9_37/Makefile.in dlls/Makedll.rules" | |
be0799fc TW |
24403 | ac_config_files="$ac_config_files dlls/d3dx9_37/Makefile" |
24404 | ||
a360e934 AJ |
24405 | ALL_MAKEFILES="$ALL_MAKEFILES \\ |
24406 | dlls/d3dxof/Makefile" | |
485cc59c | 24407 | test "x$enable_d3dxof" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\ |
49163da1 | 24408 | d3dxof" |
a360e934 AJ |
24409 | ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS |
24410 | dlls/d3dxof/Makefile: dlls/d3dxof/Makefile.in dlls/Makedll.rules" | |
fbc80d79 MM |
24411 | ac_config_files="$ac_config_files dlls/d3dxof/Makefile" |
24412 | ||
a360e934 AJ |
24413 | ALL_MAKEFILES="$ALL_MAKEFILES \\ |
24414 | dlls/d3dxof/tests/Makefile" | |
35078f4b | 24415 | test "x$enable_tests" != xno && ALL_TEST_DIRS="$ALL_TEST_DIRS \\ |
49163da1 | 24416 | d3dxof/tests" |
a360e934 AJ |
24417 | ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS |
24418 | dlls/d3dxof/tests/Makefile: dlls/d3dxof/tests/Makefile.in dlls/Maketest.rules" | |
04d72cdd CC |
24419 | ac_config_files="$ac_config_files dlls/d3dxof/tests/Makefile" |
24420 | ||
a360e934 AJ |
24421 | ALL_MAKEFILES="$ALL_MAKEFILES \\ |
24422 | dlls/dbghelp/Makefile" | |
485cc59c | 24423 | test "x$enable_dbghelp" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\ |
49163da1 | 24424 | dbghelp" |
a360e934 AJ |
24425 | ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS |
24426 | dlls/dbghelp/Makefile: dlls/dbghelp/Makefile.in dlls/Makedll.rules" | |
fbc80d79 MM |
24427 | ac_config_files="$ac_config_files dlls/dbghelp/Makefile" |
24428 | ||
a360e934 AJ |
24429 | ALL_MAKEFILES="$ALL_MAKEFILES \\ |
24430 | dlls/dciman32/Makefile" | |
485cc59c | 24431 | test "x$enable_dciman32" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\ |
49163da1 | 24432 | dciman32" |
a360e934 AJ |
24433 | ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS |
24434 | dlls/dciman32/Makefile: dlls/dciman32/Makefile.in dlls/Makedll.rules" | |
fbc80d79 MM |
24435 | ac_config_files="$ac_config_files dlls/dciman32/Makefile" |
24436 | ||
a360e934 AJ |
24437 | ALL_MAKEFILES="$ALL_MAKEFILES \\ |
24438 | dlls/ddraw/Makefile" | |
485cc59c | 24439 | test "x$enable_ddraw" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\ |
49163da1 | 24440 | ddraw" |
a360e934 AJ |
24441 | ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS |
24442 | dlls/ddraw/Makefile: dlls/ddraw/Makefile.in dlls/Makedll.rules" | |
fbc80d79 MM |
24443 | ac_config_files="$ac_config_files dlls/ddraw/Makefile" |
24444 | ||
a360e934 AJ |
24445 | ALL_MAKEFILES="$ALL_MAKEFILES \\ |
24446 | dlls/ddraw/tests/Makefile" | |
35078f4b | 24447 | test "x$enable_tests" != xno && ALL_TEST_DIRS="$ALL_TEST_DIRS \\ |
49163da1 | 24448 | ddraw/tests" |
a360e934 AJ |
24449 | ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS |
24450 | dlls/ddraw/tests/Makefile: dlls/ddraw/tests/Makefile.in dlls/Maketest.rules" | |
fbc80d79 MM |
24451 | ac_config_files="$ac_config_files dlls/ddraw/tests/Makefile" |
24452 | ||
a360e934 AJ |
24453 | ALL_MAKEFILES="$ALL_MAKEFILES \\ |
24454 | dlls/ddrawex/Makefile" | |
485cc59c | 24455 | test "x$enable_ddrawex" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\ |
49163da1 | 24456 | ddrawex" |
a360e934 AJ |
24457 | ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS |
24458 | dlls/ddrawex/Makefile: dlls/ddrawex/Makefile.in dlls/Makedll.rules" | |
fbc80d79 MM |
24459 | ac_config_files="$ac_config_files dlls/ddrawex/Makefile" |
24460 | ||
a360e934 AJ |
24461 | ALL_MAKEFILES="$ALL_MAKEFILES \\ |
24462 | dlls/devenum/Makefile" | |
485cc59c | 24463 | test "x$enable_devenum" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\ |
49163da1 | 24464 | devenum" |
a360e934 AJ |
24465 | ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS |
24466 | dlls/devenum/Makefile: dlls/devenum/Makefile.in dlls/Makedll.rules" | |
fbc80d79 MM |
24467 | ac_config_files="$ac_config_files dlls/devenum/Makefile" |
24468 | ||
a360e934 AJ |
24469 | ALL_MAKEFILES="$ALL_MAKEFILES \\ |
24470 | dlls/dinput/Makefile" | |
485cc59c | 24471 | test "x$enable_dinput" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\ |
49163da1 | 24472 | dinput" |
a360e934 AJ |
24473 | ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS |
24474 | dlls/dinput/Makefile: dlls/dinput/Makefile.in dlls/Makedll.rules" | |
fbc80d79 MM |
24475 | ac_config_files="$ac_config_files dlls/dinput/Makefile" |
24476 | ||
a360e934 AJ |
24477 | ALL_MAKEFILES="$ALL_MAKEFILES \\ |
24478 | dlls/dinput/tests/Makefile" | |
35078f4b | 24479 | test "x$enable_tests" != xno && ALL_TEST_DIRS="$ALL_TEST_DIRS \\ |
49163da1 | 24480 | dinput/tests" |
a360e934 AJ |
24481 | ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS |
24482 | dlls/dinput/tests/Makefile: dlls/dinput/tests/Makefile.in dlls/Maketest.rules" | |
fbc80d79 MM |
24483 | ac_config_files="$ac_config_files dlls/dinput/tests/Makefile" |
24484 | ||
a360e934 AJ |
24485 | ALL_MAKEFILES="$ALL_MAKEFILES \\ |
24486 | dlls/dinput8/Makefile" | |
485cc59c | 24487 | test "x$enable_dinput8" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\ |
49163da1 | 24488 | dinput8" |
a360e934 AJ |
24489 | ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS |
24490 | dlls/dinput8/Makefile: dlls/dinput8/Makefile.in dlls/Makedll.rules" | |
fbc80d79 MM |
24491 | ac_config_files="$ac_config_files dlls/dinput8/Makefile" |
24492 | ||
a360e934 AJ |
24493 | ALL_MAKEFILES="$ALL_MAKEFILES \\ |
24494 | dlls/dmband/Makefile" | |
485cc59c | 24495 | test "x$enable_dmband" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\ |
49163da1 | 24496 | dmband" |
a360e934 AJ |
24497 | ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS |
24498 | dlls/dmband/Makefile: dlls/dmband/Makefile.in dlls/Makedll.rules" | |
fbc80d79 MM |
24499 | ac_config_files="$ac_config_files dlls/dmband/Makefile" |
24500 | ||
a360e934 AJ |
24501 | ALL_MAKEFILES="$ALL_MAKEFILES \\ |
24502 | dlls/dmcompos/Makefile" | |
485cc59c | 24503 | test "x$enable_dmcompos" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\ |
49163da1 | 24504 | dmcompos" |
a360e934 AJ |
24505 | ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS |
24506 | dlls/dmcompos/Makefile: dlls/dmcompos/Makefile.in dlls/Makedll.rules" | |
fbc80d79 MM |
24507 | ac_config_files="$ac_config_files dlls/dmcompos/Makefile" |
24508 | ||
a360e934 AJ |
24509 | ALL_MAKEFILES="$ALL_MAKEFILES \\ |
24510 | dlls/dmime/Makefile" | |
485cc59c | 24511 | test "x$enable_dmime" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\ |
49163da1 | 24512 | dmime" |
a360e934 AJ |
24513 | ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS |
24514 | dlls/dmime/Makefile: dlls/dmime/Makefile.in dlls/Makedll.rules" | |
fbc80d79 MM |
24515 | ac_config_files="$ac_config_files dlls/dmime/Makefile" |
24516 | ||
a360e934 AJ |
24517 | ALL_MAKEFILES="$ALL_MAKEFILES \\ |
24518 | dlls/dmloader/Makefile" | |
485cc59c | 24519 | test "x$enable_dmloader" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\ |
49163da1 | 24520 | dmloader" |
a360e934 AJ |
24521 | ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS |
24522 | dlls/dmloader/Makefile: dlls/dmloader/Makefile.in dlls/Makedll.rules" | |
fbc80d79 MM |
24523 | ac_config_files="$ac_config_files dlls/dmloader/Makefile" |
24524 | ||
a360e934 AJ |
24525 | ALL_MAKEFILES="$ALL_MAKEFILES \\ |
24526 | dlls/dmscript/Makefile" | |
485cc59c | 24527 | test "x$enable_dmscript" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\ |
49163da1 | 24528 | dmscript" |
a360e934 AJ |
24529 | ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS |
24530 | dlls/dmscript/Makefile: dlls/dmscript/Makefile.in dlls/Makedll.rules" | |
fbc80d79 MM |
24531 | ac_config_files="$ac_config_files dlls/dmscript/Makefile" |
24532 | ||
a360e934 AJ |
24533 | ALL_MAKEFILES="$ALL_MAKEFILES \\ |
24534 | dlls/dmstyle/Makefile" | |
485cc59c | 24535 | test "x$enable_dmstyle" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\ |
49163da1 | 24536 | dmstyle" |
a360e934 AJ |
24537 | ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS |
24538 | dlls/dmstyle/Makefile: dlls/dmstyle/Makefile.in dlls/Makedll.rules" | |
fbc80d79 MM |
24539 | ac_config_files="$ac_config_files dlls/dmstyle/Makefile" |
24540 | ||
a360e934 AJ |
24541 | ALL_MAKEFILES="$ALL_MAKEFILES \\ |
24542 | dlls/dmsynth/Makefile" | |
485cc59c | 24543 | test "x$enable_dmsynth" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\ |
49163da1 | 24544 | dmsynth" |
a360e934 AJ |
24545 | ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS |
24546 | dlls/dmsynth/Makefile: dlls/dmsynth/Makefile.in dlls/Makedll.rules" | |
fbc80d79 MM |
24547 | ac_config_files="$ac_config_files dlls/dmsynth/Makefile" |
24548 | ||
a360e934 AJ |
24549 | ALL_MAKEFILES="$ALL_MAKEFILES \\ |
24550 | dlls/dmusic/Makefile" | |
485cc59c | 24551 | test "x$enable_dmusic" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\ |
49163da1 | 24552 | dmusic" |
a360e934 AJ |
24553 | ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS |
24554 | dlls/dmusic/Makefile: dlls/dmusic/Makefile.in dlls/Makedll.rules" | |
fbc80d79 MM |
24555 | ac_config_files="$ac_config_files dlls/dmusic/Makefile" |
24556 | ||
a360e934 AJ |
24557 | ALL_MAKEFILES="$ALL_MAKEFILES \\ |
24558 | dlls/dmusic32/Makefile" | |
485cc59c | 24559 | test "x$enable_dmusic32" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\ |
49163da1 | 24560 | dmusic32" |
a360e934 AJ |
24561 | ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS |
24562 | dlls/dmusic32/Makefile: dlls/dmusic32/Makefile.in dlls/Makedll.rules" | |
fbc80d79 MM |
24563 | ac_config_files="$ac_config_files dlls/dmusic32/Makefile" |
24564 | ||
a360e934 AJ |
24565 | ALL_MAKEFILES="$ALL_MAKEFILES \\ |
24566 | dlls/dnsapi/Makefile" | |
485cc59c | 24567 | test "x$enable_dnsapi" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\ |
49163da1 | 24568 | dnsapi" |
a360e934 AJ |
24569 | ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS |
24570 | dlls/dnsapi/Makefile: dlls/dnsapi/Makefile.in dlls/Makedll.rules" | |
fbc80d79 MM |
24571 | ac_config_files="$ac_config_files dlls/dnsapi/Makefile" |
24572 | ||
a360e934 AJ |
24573 | ALL_MAKEFILES="$ALL_MAKEFILES \\ |
24574 | dlls/dnsapi/tests/Makefile" | |
35078f4b | 24575 | test "x$enable_tests" != xno && ALL_TEST_DIRS="$ALL_TEST_DIRS \\ |
49163da1 | 24576 | dnsapi/tests" |
a360e934 AJ |
24577 | ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS |
24578 | dlls/dnsapi/tests/Makefile: dlls/dnsapi/tests/Makefile.in dlls/Maketest.rules" | |
fbc80d79 MM |
24579 | ac_config_files="$ac_config_files dlls/dnsapi/tests/Makefile" |
24580 | ||
a360e934 AJ |
24581 | ALL_MAKEFILES="$ALL_MAKEFILES \\ |
24582 | dlls/dplay/Makefile" | |
485cc59c | 24583 | test "x$enable_dplay" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\ |
49163da1 | 24584 | dplay" |
a360e934 AJ |
24585 | ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS |
24586 | dlls/dplay/Makefile: dlls/dplay/Makefile.in dlls/Makedll.rules" | |
fbc80d79 MM |
24587 | ac_config_files="$ac_config_files dlls/dplay/Makefile" |
24588 | ||
a360e934 AJ |
24589 | ALL_MAKEFILES="$ALL_MAKEFILES \\ |
24590 | dlls/dplayx/Makefile" | |
485cc59c | 24591 | test "x$enable_dplayx" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\ |
49163da1 | 24592 | dplayx" |
a360e934 AJ |
24593 | ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS |
24594 | dlls/dplayx/Makefile: dlls/dplayx/Makefile.in dlls/Makedll.rules" | |
fbc80d79 MM |
24595 | ac_config_files="$ac_config_files dlls/dplayx/Makefile" |
24596 | ||
a360e934 AJ |
24597 | ALL_MAKEFILES="$ALL_MAKEFILES \\ |
24598 | dlls/dplayx/tests/Makefile" | |
35078f4b | 24599 | test "x$enable_tests" != xno && ALL_TEST_DIRS="$ALL_TEST_DIRS \\ |
49163da1 | 24600 | dplayx/tests" |
a360e934 AJ |
24601 | ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS |
24602 | dlls/dplayx/tests/Makefile: dlls/dplayx/tests/Makefile.in dlls/Maketest.rules" | |
d1331e62 AP |
24603 | ac_config_files="$ac_config_files dlls/dplayx/tests/Makefile" |
24604 | ||
a360e934 AJ |
24605 | ALL_MAKEFILES="$ALL_MAKEFILES \\ |
24606 | dlls/dpnaddr/Makefile" | |
485cc59c | 24607 | test "x$enable_dpnaddr" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\ |
49163da1 | 24608 | dpnaddr" |
a360e934 AJ |
24609 | ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS |
24610 | dlls/dpnaddr/Makefile: dlls/dpnaddr/Makefile.in dlls/Makedll.rules" | |
8caf0787 LCBP |
24611 | ac_config_files="$ac_config_files dlls/dpnaddr/Makefile" |
24612 | ||
a360e934 AJ |
24613 | ALL_MAKEFILES="$ALL_MAKEFILES \\ |
24614 | dlls/dpnet/Makefile" | |
485cc59c | 24615 | test "x$enable_dpnet" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\ |
49163da1 | 24616 | dpnet" |
a360e934 AJ |
24617 | ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS |
24618 | dlls/dpnet/Makefile: dlls/dpnet/Makefile.in dlls/Makedll.rules" | |
fbc80d79 MM |
24619 | ac_config_files="$ac_config_files dlls/dpnet/Makefile" |
24620 | ||
a360e934 AJ |
24621 | ALL_MAKEFILES="$ALL_MAKEFILES \\ |
24622 | dlls/dpnhpast/Makefile" | |
485cc59c | 24623 | test "x$enable_dpnhpast" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\ |
49163da1 | 24624 | dpnhpast" |
a360e934 AJ |
24625 | ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS |
24626 | dlls/dpnhpast/Makefile: dlls/dpnhpast/Makefile.in dlls/Makedll.rules" | |
fbc80d79 MM |
24627 | ac_config_files="$ac_config_files dlls/dpnhpast/Makefile" |
24628 | ||
a360e934 AJ |
24629 | ALL_MAKEFILES="$ALL_MAKEFILES \\ |
24630 | dlls/dpnlobby/Makefile" | |
485cc59c | 24631 | test "x$enable_dpnlobby" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\ |
49163da1 | 24632 | dpnlobby" |
a360e934 AJ |
24633 | ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS |
24634 | dlls/dpnlobby/Makefile: dlls/dpnlobby/Makefile.in dlls/Makedll.rules" | |
5996c132 LBP |
24635 | ac_config_files="$ac_config_files dlls/dpnlobby/Makefile" |
24636 | ||
a360e934 AJ |
24637 | ALL_MAKEFILES="$ALL_MAKEFILES \\ |
24638 | dlls/dpwsockx/Makefile" | |
485cc59c | 24639 | test "x$enable_dpwsockx" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\ |
49163da1 | 24640 | dpwsockx" |
a360e934 AJ |
24641 | ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS |
24642 | dlls/dpwsockx/Makefile: dlls/dpwsockx/Makefile.in dlls/Makedll.rules" | |
9d2a1e8a IB |
24643 | ac_config_files="$ac_config_files dlls/dpwsockx/Makefile" |
24644 | ||
a360e934 AJ |
24645 | ALL_MAKEFILES="$ALL_MAKEFILES \\ |
24646 | dlls/dsound/Makefile" | |
485cc59c | 24647 | test "x$enable_dsound" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\ |
49163da1 | 24648 | dsound" |
a360e934 AJ |
24649 | ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS |
24650 | dlls/dsound/Makefile: dlls/dsound/Makefile.in dlls/Makedll.rules" | |
fbc80d79 MM |
24651 | ac_config_files="$ac_config_files dlls/dsound/Makefile" |
24652 | ||
a360e934 AJ |
24653 | ALL_MAKEFILES="$ALL_MAKEFILES \\ |
24654 | dlls/dsound/tests/Makefile" | |
35078f4b | 24655 | test "x$enable_tests" != xno && ALL_TEST_DIRS="$ALL_TEST_DIRS \\ |
49163da1 | 24656 | dsound/tests" |
a360e934 AJ |
24657 | ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS |
24658 | dlls/dsound/tests/Makefile: dlls/dsound/tests/Makefile.in dlls/Maketest.rules" | |
fbc80d79 MM |
24659 | ac_config_files="$ac_config_files dlls/dsound/tests/Makefile" |
24660 | ||
a360e934 AJ |
24661 | ALL_MAKEFILES="$ALL_MAKEFILES \\ |
24662 | dlls/dssenh/Makefile" | |
485cc59c | 24663 | test "x$enable_dssenh" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\ |
49163da1 | 24664 | dssenh" |
a360e934 AJ |
24665 | ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS |
24666 | dlls/dssenh/Makefile: dlls/dssenh/Makefile.in dlls/Makedll.rules" | |
2472e81c ML |
24667 | ac_config_files="$ac_config_files dlls/dssenh/Makefile" |
24668 | ||
a360e934 AJ |
24669 | ALL_MAKEFILES="$ALL_MAKEFILES \\ |
24670 | dlls/dswave/Makefile" | |
485cc59c | 24671 | test "x$enable_dswave" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\ |
49163da1 | 24672 | dswave" |
a360e934 AJ |
24673 | ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS |
24674 | dlls/dswave/Makefile: dlls/dswave/Makefile.in dlls/Makedll.rules" | |
fbc80d79 MM |
24675 | ac_config_files="$ac_config_files dlls/dswave/Makefile" |
24676 | ||
a360e934 AJ |
24677 | ALL_MAKEFILES="$ALL_MAKEFILES \\ |
24678 | dlls/dwmapi/Makefile" | |
485cc59c | 24679 | test "x$enable_dwmapi" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\ |
49163da1 | 24680 | dwmapi" |
a360e934 AJ |
24681 | ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS |
24682 | dlls/dwmapi/Makefile: dlls/dwmapi/Makefile.in dlls/Makedll.rules" | |
c0ddd5e3 KA |
24683 | ac_config_files="$ac_config_files dlls/dwmapi/Makefile" |
24684 | ||
a360e934 AJ |
24685 | ALL_MAKEFILES="$ALL_MAKEFILES \\ |
24686 | dlls/dxdiagn/Makefile" | |
485cc59c | 24687 | test "x$enable_dxdiagn" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\ |
49163da1 | 24688 | dxdiagn" |
a360e934 AJ |
24689 | ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS |
24690 | dlls/dxdiagn/Makefile: dlls/dxdiagn/Makefile.in dlls/Makedll.rules" | |
fbc80d79 MM |
24691 | ac_config_files="$ac_config_files dlls/dxdiagn/Makefile" |
24692 | ||
a360e934 AJ |
24693 | ALL_MAKEFILES="$ALL_MAKEFILES \\ |
24694 | dlls/dxerr8/Makefile" | |
485cc59c | 24695 | test "x$enable_dxerr8" != xno && ALL_IMPLIB_DIRS="$ALL_IMPLIB_DIRS \\ |
49163da1 | 24696 | dxerr8" |
a360e934 AJ |
24697 | ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS |
24698 | dlls/dxerr8/Makefile: dlls/dxerr8/Makefile.in dlls/Makeimplib.rules" | |
fbc80d79 MM |
24699 | ac_config_files="$ac_config_files dlls/dxerr8/Makefile" |
24700 | ||
a360e934 AJ |
24701 | ALL_MAKEFILES="$ALL_MAKEFILES \\ |
24702 | dlls/dxerr9/Makefile" | |
485cc59c | 24703 | test "x$enable_dxerr9" != xno && ALL_IMPLIB_DIRS="$ALL_IMPLIB_DIRS \\ |
49163da1 | 24704 | dxerr9" |
a360e934 AJ |
24705 | ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS |
24706 | dlls/dxerr9/Makefile: dlls/dxerr9/Makefile.in dlls/Makeimplib.rules" | |
fbc80d79 MM |
24707 | ac_config_files="$ac_config_files dlls/dxerr9/Makefile" |
24708 | ||
9e376213 HV |
24709 | ALL_MAKEFILES="$ALL_MAKEFILES \\ |
24710 | dlls/dxgi/Makefile" | |
24711 | test "x$enable_dxgi" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\ | |
24712 | dxgi" | |
24713 | ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS | |
24714 | dlls/dxgi/Makefile: dlls/dxgi/Makefile.in dlls/Makedll.rules" | |
24715 | ac_config_files="$ac_config_files dlls/dxgi/Makefile" | |
24716 | ||
1dea8291 HV |
24717 | ALL_MAKEFILES="$ALL_MAKEFILES \\ |
24718 | dlls/dxgi/tests/Makefile" | |
35078f4b | 24719 | test "x$enable_tests" != xno && ALL_TEST_DIRS="$ALL_TEST_DIRS \\ |
1dea8291 HV |
24720 | dxgi/tests" |
24721 | ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS | |
24722 | dlls/dxgi/tests/Makefile: dlls/dxgi/tests/Makefile.in dlls/Maketest.rules" | |
24723 | ac_config_files="$ac_config_files dlls/dxgi/tests/Makefile" | |
24724 | ||
a360e934 AJ |
24725 | ALL_MAKEFILES="$ALL_MAKEFILES \\ |
24726 | dlls/dxguid/Makefile" | |
485cc59c | 24727 | test "x$enable_dxguid" != xno && ALL_IMPLIB_DIRS="$ALL_IMPLIB_DIRS \\ |
49163da1 | 24728 | dxguid" |
a360e934 AJ |
24729 | ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS |
24730 | dlls/dxguid/Makefile: dlls/dxguid/Makefile.in dlls/Makeimplib.rules" | |
fbc80d79 MM |
24731 | ac_config_files="$ac_config_files dlls/dxguid/Makefile" |
24732 | ||
a360e934 AJ |
24733 | ALL_MAKEFILES="$ALL_MAKEFILES \\ |
24734 | dlls/faultrep/Makefile" | |
485cc59c | 24735 | test "x$enable_faultrep" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\ |
49163da1 | 24736 | faultrep" |
a360e934 AJ |
24737 | ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS |
24738 | dlls/faultrep/Makefile: dlls/faultrep/Makefile.in dlls/Makedll.rules" | |
a2cd6430 PDT |
24739 | ac_config_files="$ac_config_files dlls/faultrep/Makefile" |
24740 | ||
a360e934 AJ |
24741 | ALL_MAKEFILES="$ALL_MAKEFILES \\ |
24742 | dlls/fusion/Makefile" | |
485cc59c | 24743 | test "x$enable_fusion" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\ |
49163da1 | 24744 | fusion" |
a360e934 AJ |
24745 | ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS |
24746 | dlls/fusion/Makefile: dlls/fusion/Makefile.in dlls/Makedll.rules" | |
c0b3af34 JH |
24747 | ac_config_files="$ac_config_files dlls/fusion/Makefile" |
24748 | ||
a360e934 AJ |
24749 | ALL_MAKEFILES="$ALL_MAKEFILES \\ |
24750 | dlls/fusion/tests/Makefile" | |
35078f4b | 24751 | test "x$enable_tests" != xno && ALL_TEST_DIRS="$ALL_TEST_DIRS \\ |
49163da1 | 24752 | fusion/tests" |
a360e934 AJ |
24753 | ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS |
24754 | dlls/fusion/tests/Makefile: dlls/fusion/tests/Makefile.in dlls/Maketest.rules" | |
9e021cff JH |
24755 | ac_config_files="$ac_config_files dlls/fusion/tests/Makefile" |
24756 | ||
a360e934 AJ |
24757 | ALL_MAKEFILES="$ALL_MAKEFILES \\ |
24758 | dlls/gdi32/Makefile" | |
485cc59c | 24759 | test "x$enable_gdi32" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\ |
49163da1 | 24760 | gdi32" |
a360e934 AJ |
24761 | ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS |
24762 | dlls/gdi32/Makefile: dlls/gdi32/Makefile.in dlls/Makedll.rules" | |
fbc80d79 MM |
24763 | ac_config_files="$ac_config_files dlls/gdi32/Makefile" |
24764 | ||
a360e934 AJ |
24765 | ALL_MAKEFILES="$ALL_MAKEFILES \\ |
24766 | dlls/gdi32/tests/Makefile" | |
35078f4b | 24767 | test "x$enable_tests" != xno && ALL_TEST_DIRS="$ALL_TEST_DIRS \\ |
49163da1 | 24768 | gdi32/tests" |
a360e934 AJ |
24769 | ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS |
24770 | dlls/gdi32/tests/Makefile: dlls/gdi32/tests/Makefile.in dlls/Maketest.rules" | |
fbc80d79 MM |
24771 | ac_config_files="$ac_config_files dlls/gdi32/tests/Makefile" |
24772 | ||
a360e934 AJ |
24773 | ALL_MAKEFILES="$ALL_MAKEFILES \\ |
24774 | dlls/gdiplus/Makefile" | |
485cc59c | 24775 | test "x$enable_gdiplus" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\ |
49163da1 | 24776 | gdiplus" |
a360e934 AJ |
24777 | ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS |
24778 | dlls/gdiplus/Makefile: dlls/gdiplus/Makefile.in dlls/Makedll.rules" | |
bed761c9 ES |
24779 | ac_config_files="$ac_config_files dlls/gdiplus/Makefile" |
24780 | ||
a360e934 AJ |
24781 | ALL_MAKEFILES="$ALL_MAKEFILES \\ |
24782 | dlls/gdiplus/tests/Makefile" | |
35078f4b | 24783 | test "x$enable_tests" != xno && ALL_TEST_DIRS="$ALL_TEST_DIRS \\ |
49163da1 | 24784 | gdiplus/tests" |
a360e934 AJ |
24785 | ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS |
24786 | dlls/gdiplus/tests/Makefile: dlls/gdiplus/tests/Makefile.in dlls/Maketest.rules" | |
fcd7a62e ES |
24787 | ac_config_files="$ac_config_files dlls/gdiplus/tests/Makefile" |
24788 | ||
a360e934 AJ |
24789 | ALL_MAKEFILES="$ALL_MAKEFILES \\ |
24790 | dlls/glu32/Makefile" | |
485cc59c | 24791 | test "x$enable_glu32" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\ |
49163da1 | 24792 | glu32" |
a360e934 AJ |
24793 | ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS |
24794 | dlls/glu32/Makefile: dlls/glu32/Makefile.in dlls/Makedll.rules" | |
fbc80d79 MM |
24795 | ac_config_files="$ac_config_files dlls/glu32/Makefile" |
24796 | ||
a360e934 AJ |
24797 | ALL_MAKEFILES="$ALL_MAKEFILES \\ |
24798 | dlls/gphoto2.ds/Makefile" | |
485cc59c | 24799 | test "x$enable_gphoto2_ds" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\ |
49163da1 | 24800 | gphoto2.ds" |
a360e934 AJ |
24801 | ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS |
24802 | dlls/gphoto2.ds/Makefile: dlls/gphoto2.ds/Makefile.in dlls/Makedll.rules" | |
fbc80d79 MM |
24803 | ac_config_files="$ac_config_files dlls/gphoto2.ds/Makefile" |
24804 | ||
a360e934 AJ |
24805 | ALL_MAKEFILES="$ALL_MAKEFILES \\ |
24806 | dlls/gpkcsp/Makefile" | |
485cc59c | 24807 | test "x$enable_gpkcsp" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\ |
49163da1 | 24808 | gpkcsp" |
a360e934 AJ |
24809 | ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS |
24810 | dlls/gpkcsp/Makefile: dlls/gpkcsp/Makefile.in dlls/Makedll.rules" | |
e4576c80 ML |
24811 | ac_config_files="$ac_config_files dlls/gpkcsp/Makefile" |
24812 | ||
a360e934 AJ |
24813 | ALL_MAKEFILES="$ALL_MAKEFILES \\ |
24814 | dlls/hal/Makefile" | |
485cc59c | 24815 | test "x$enable_hal" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\ |
49163da1 | 24816 | hal" |
a360e934 AJ |
24817 | ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS |
24818 | dlls/hal/Makefile: dlls/hal/Makefile.in dlls/Makedll.rules" | |
d2d68702 AJ |
24819 | ac_config_files="$ac_config_files dlls/hal/Makefile" |
24820 | ||
a360e934 AJ |
24821 | ALL_MAKEFILES="$ALL_MAKEFILES \\ |
24822 | dlls/hhctrl.ocx/Makefile" | |
485cc59c | 24823 | test "x$enable_hhctrl_ocx" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\ |
49163da1 | 24824 | hhctrl.ocx" |
a360e934 AJ |
24825 | ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS |
24826 | dlls/hhctrl.ocx/Makefile: dlls/hhctrl.ocx/Makefile.in dlls/Makedll.rules" | |
fbc80d79 MM |
24827 | ac_config_files="$ac_config_files dlls/hhctrl.ocx/Makefile" |
24828 | ||
a360e934 AJ |
24829 | ALL_MAKEFILES="$ALL_MAKEFILES \\ |
24830 | dlls/hid/Makefile" | |
485cc59c | 24831 | test "x$enable_hid" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\ |
49163da1 | 24832 | hid" |
a360e934 AJ |
24833 | ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS |
24834 | dlls/hid/Makefile: dlls/hid/Makefile.in dlls/Makedll.rules" | |
fbc80d79 MM |
24835 | ac_config_files="$ac_config_files dlls/hid/Makefile" |
24836 | ||
a360e934 AJ |
24837 | ALL_MAKEFILES="$ALL_MAKEFILES \\ |
24838 | dlls/hlink/Makefile" | |
485cc59c | 24839 | test "x$enable_hlink" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\ |
49163da1 | 24840 | hlink" |
a360e934 AJ |
24841 | ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS |
24842 | dlls/hlink/Makefile: dlls/hlink/Makefile.in dlls/Makedll.rules" | |
fbc80d79 MM |
24843 | ac_config_files="$ac_config_files dlls/hlink/Makefile" |
24844 | ||
a360e934 AJ |
24845 | ALL_MAKEFILES="$ALL_MAKEFILES \\ |
24846 | dlls/hlink/tests/Makefile" | |
35078f4b | 24847 | test "x$enable_tests" != xno && ALL_TEST_DIRS="$ALL_TEST_DIRS \\ |
49163da1 | 24848 | hlink/tests" |
a360e934 AJ |
24849 | ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS |
24850 | dlls/hlink/tests/Makefile: dlls/hlink/tests/Makefile.in dlls/Maketest.rules" | |
fbc80d79 MM |
24851 | ac_config_files="$ac_config_files dlls/hlink/tests/Makefile" |
24852 | ||
a360e934 AJ |
24853 | ALL_MAKEFILES="$ALL_MAKEFILES \\ |
24854 | dlls/hnetcfg/Makefile" | |
485cc59c | 24855 | test "x$enable_hnetcfg" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\ |
49163da1 | 24856 | hnetcfg" |
a360e934 AJ |
24857 | ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS |
24858 | dlls/hnetcfg/Makefile: dlls/hnetcfg/Makefile.in dlls/Makedll.rules" | |
a00aa039 JL |
24859 | ac_config_files="$ac_config_files dlls/hnetcfg/Makefile" |
24860 | ||
a360e934 AJ |
24861 | ALL_MAKEFILES="$ALL_MAKEFILES \\ |
24862 | dlls/iccvid/Makefile" | |
485cc59c | 24863 | test "x$enable_iccvid" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\ |
49163da1 | 24864 | iccvid" |
a360e934 AJ |
24865 | ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS |
24866 | dlls/iccvid/Makefile: dlls/iccvid/Makefile.in dlls/Makedll.rules" | |
fbc80d79 MM |
24867 | ac_config_files="$ac_config_files dlls/iccvid/Makefile" |
24868 | ||
a360e934 AJ |
24869 | ALL_MAKEFILES="$ALL_MAKEFILES \\ |
24870 | dlls/icmp/Makefile" | |
485cc59c | 24871 | test "x$enable_icmp" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\ |
49163da1 | 24872 | icmp" |
a360e934 AJ |
24873 | ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS |
24874 | dlls/icmp/Makefile: dlls/icmp/Makefile.in dlls/Makedll.rules" | |
fbc80d79 MM |
24875 | ac_config_files="$ac_config_files dlls/icmp/Makefile" |
24876 | ||
a360e934 AJ |
24877 | ALL_MAKEFILES="$ALL_MAKEFILES \\ |
24878 | dlls/ifsmgr.vxd/Makefile" | |
485cc59c | 24879 | test "x$enable_ifsmgr_vxd" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\ |
49163da1 | 24880 | ifsmgr.vxd" |
a360e934 AJ |
24881 | ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS |
24882 | dlls/ifsmgr.vxd/Makefile: dlls/ifsmgr.vxd/Makefile.in dlls/Makedll.rules" | |
fbc80d79 MM |
24883 | ac_config_files="$ac_config_files dlls/ifsmgr.vxd/Makefile" |
24884 | ||
a360e934 AJ |
24885 | ALL_MAKEFILES="$ALL_MAKEFILES \\ |
24886 | dlls/imaadp32.acm/Makefile" | |
485cc59c | 24887 | test "x$enable_imaadp32_acm" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\ |
49163da1 | 24888 | imaadp32.acm" |
a360e934 AJ |
24889 | ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS |
24890 | dlls/imaadp32.acm/Makefile: dlls/imaadp32.acm/Makefile.in dlls/Makedll.rules" | |
fbc80d79 MM |
24891 | ac_config_files="$ac_config_files dlls/imaadp32.acm/Makefile" |
24892 | ||
a360e934 AJ |
24893 | ALL_MAKEFILES="$ALL_MAKEFILES \\ |
24894 | dlls/imagehlp/Makefile" | |
485cc59c | 24895 | test "x$enable_imagehlp" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\ |
49163da1 | 24896 | imagehlp" |
a360e934 AJ |
24897 | ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS |
24898 | dlls/imagehlp/Makefile: dlls/imagehlp/Makefile.in dlls/Makedll.rules" | |
fbc80d79 MM |
24899 | ac_config_files="$ac_config_files dlls/imagehlp/Makefile" |
24900 | ||
a360e934 AJ |
24901 | ALL_MAKEFILES="$ALL_MAKEFILES \\ |
24902 | dlls/imm32/Makefile" | |
485cc59c | 24903 | test "x$enable_imm32" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\ |
49163da1 | 24904 | imm32" |
a360e934 AJ |
24905 | ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS |
24906 | dlls/imm32/Makefile: dlls/imm32/Makefile.in dlls/Makedll.rules" | |
fbc80d79 MM |
24907 | ac_config_files="$ac_config_files dlls/imm32/Makefile" |
24908 | ||
a360e934 AJ |
24909 | ALL_MAKEFILES="$ALL_MAKEFILES \\ |
24910 | dlls/imm32/tests/Makefile" | |
35078f4b | 24911 | test "x$enable_tests" != xno && ALL_TEST_DIRS="$ALL_TEST_DIRS \\ |
49163da1 | 24912 | imm32/tests" |
a360e934 AJ |
24913 | ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS |
24914 | dlls/imm32/tests/Makefile: dlls/imm32/tests/Makefile.in dlls/Maketest.rules" | |
0a31ab7e MJ |
24915 | ac_config_files="$ac_config_files dlls/imm32/tests/Makefile" |
24916 | ||
a360e934 AJ |
24917 | ALL_MAKEFILES="$ALL_MAKEFILES \\ |
24918 | dlls/inetcomm/Makefile" | |
485cc59c | 24919 | test "x$enable_inetcomm" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\ |
49163da1 | 24920 | inetcomm" |
a360e934 AJ |
24921 | ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS |
24922 | dlls/inetcomm/Makefile: dlls/inetcomm/Makefile.in dlls/Makedll.rules" | |
beab2c17 RS |
24923 | ac_config_files="$ac_config_files dlls/inetcomm/Makefile" |
24924 | ||
a360e934 AJ |
24925 | ALL_MAKEFILES="$ALL_MAKEFILES \\ |
24926 | dlls/inetcomm/tests/Makefile" | |
35078f4b | 24927 | test "x$enable_tests" != xno && ALL_TEST_DIRS="$ALL_TEST_DIRS \\ |
49163da1 | 24928 | inetcomm/tests" |
a360e934 AJ |
24929 | ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS |
24930 | dlls/inetcomm/tests/Makefile: dlls/inetcomm/tests/Makefile.in dlls/Maketest.rules" | |
ba6b7e8b HD |
24931 | ac_config_files="$ac_config_files dlls/inetcomm/tests/Makefile" |
24932 | ||
a360e934 AJ |
24933 | ALL_MAKEFILES="$ALL_MAKEFILES \\ |
24934 | dlls/inetmib1/Makefile" | |
485cc59c | 24935 | test "x$enable_inetmib1" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\ |
49163da1 | 24936 | inetmib1" |
a360e934 AJ |
24937 | ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS |
24938 | dlls/inetmib1/Makefile: dlls/inetmib1/Makefile.in dlls/Makedll.rules" | |
17231579 JL |
24939 | ac_config_files="$ac_config_files dlls/inetmib1/Makefile" |
24940 | ||
a360e934 AJ |
24941 | ALL_MAKEFILES="$ALL_MAKEFILES \\ |
24942 | dlls/inetmib1/tests/Makefile" | |
35078f4b | 24943 | test "x$enable_tests" != xno && ALL_TEST_DIRS="$ALL_TEST_DIRS \\ |
49163da1 | 24944 | inetmib1/tests" |
a360e934 AJ |
24945 | ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS |
24946 | dlls/inetmib1/tests/Makefile: dlls/inetmib1/tests/Makefile.in dlls/Maketest.rules" | |
cca77db0 JL |
24947 | ac_config_files="$ac_config_files dlls/inetmib1/tests/Makefile" |
24948 | ||
a360e934 AJ |
24949 | ALL_MAKEFILES="$ALL_MAKEFILES \\ |
24950 | dlls/infosoft/Makefile" | |
485cc59c | 24951 | test "x$enable_infosoft" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\ |
49163da1 | 24952 | infosoft" |
a360e934 AJ |
24953 | ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS |
24954 | dlls/infosoft/Makefile: dlls/infosoft/Makefile.in dlls/Makedll.rules" | |
fbc80d79 MM |
24955 | ac_config_files="$ac_config_files dlls/infosoft/Makefile" |
24956 | ||
a360e934 AJ |
24957 | ALL_MAKEFILES="$ALL_MAKEFILES \\ |
24958 | dlls/infosoft/tests/Makefile" | |
35078f4b | 24959 | test "x$enable_tests" != xno && ALL_TEST_DIRS="$ALL_TEST_DIRS \\ |
49163da1 | 24960 | infosoft/tests" |
a360e934 AJ |
24961 | ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS |
24962 | dlls/infosoft/tests/Makefile: dlls/infosoft/tests/Makefile.in dlls/Maketest.rules" | |
fbc80d79 MM |
24963 | ac_config_files="$ac_config_files dlls/infosoft/tests/Makefile" |
24964 | ||
a360e934 AJ |
24965 | ALL_MAKEFILES="$ALL_MAKEFILES \\ |
24966 | dlls/initpki/Makefile" | |
485cc59c | 24967 | test "x$enable_initpki" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\ |
49163da1 | 24968 | initpki" |
a360e934 AJ |
24969 | ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS |
24970 | dlls/initpki/Makefile: dlls/initpki/Makefile.in dlls/Makedll.rules" | |
7c3d24bf ML |
24971 | ac_config_files="$ac_config_files dlls/initpki/Makefile" |
24972 | ||
a360e934 AJ |
24973 | ALL_MAKEFILES="$ALL_MAKEFILES \\ |
24974 | dlls/inkobj/Makefile" | |
485cc59c | 24975 | test "x$enable_inkobj" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\ |
49163da1 | 24976 | inkobj" |
a360e934 AJ |
24977 | ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS |
24978 | dlls/inkobj/Makefile: dlls/inkobj/Makefile.in dlls/Makedll.rules" | |
e9252251 JK |
24979 | ac_config_files="$ac_config_files dlls/inkobj/Makefile" |
24980 | ||
a360e934 AJ |
24981 | ALL_MAKEFILES="$ALL_MAKEFILES \\ |
24982 | dlls/inseng/Makefile" | |
485cc59c | 24983 | test "x$enable_inseng" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\ |
49163da1 | 24984 | inseng" |
a360e934 AJ |
24985 | ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS |
24986 | dlls/inseng/Makefile: dlls/inseng/Makefile.in dlls/Makedll.rules" | |
fbc80d79 MM |
24987 | ac_config_files="$ac_config_files dlls/inseng/Makefile" |
24988 | ||
a360e934 AJ |
24989 | ALL_MAKEFILES="$ALL_MAKEFILES \\ |
24990 | dlls/iphlpapi/Makefile" | |
485cc59c | 24991 | test "x$enable_iphlpapi" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\ |
49163da1 | 24992 | iphlpapi" |
a360e934 AJ |
24993 | ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS |
24994 | dlls/iphlpapi/Makefile: dlls/iphlpapi/Makefile.in dlls/Makedll.rules" | |
fbc80d79 MM |
24995 | ac_config_files="$ac_config_files dlls/iphlpapi/Makefile" |
24996 | ||
a360e934 AJ |
24997 | ALL_MAKEFILES="$ALL_MAKEFILES \\ |
24998 | dlls/iphlpapi/tests/Makefile" | |
35078f4b | 24999 | test "x$enable_tests" != xno && ALL_TEST_DIRS="$ALL_TEST_DIRS \\ |
49163da1 | 25000 | iphlpapi/tests" |
a360e934 AJ |
25001 | ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS |
25002 | dlls/iphlpapi/tests/Makefile: dlls/iphlpapi/tests/Makefile.in dlls/Maketest.rules" | |
fbc80d79 MM |
25003 | ac_config_files="$ac_config_files dlls/iphlpapi/tests/Makefile" |
25004 | ||
a360e934 AJ |
25005 | ALL_MAKEFILES="$ALL_MAKEFILES \\ |
25006 | dlls/itircl/Makefile" | |
485cc59c | 25007 | test "x$enable_itircl" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\ |
49163da1 | 25008 | itircl" |
a360e934 AJ |
25009 | ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS |
25010 | dlls/itircl/Makefile: dlls/itircl/Makefile.in dlls/Makedll.rules" | |
58b0686e JH |
25011 | ac_config_files="$ac_config_files dlls/itircl/Makefile" |
25012 | ||
a360e934 AJ |
25013 | ALL_MAKEFILES="$ALL_MAKEFILES \\ |
25014 | dlls/itss/Makefile" | |
485cc59c | 25015 | test "x$enable_itss" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\ |
49163da1 | 25016 | itss" |
a360e934 AJ |
25017 | ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS |
25018 | dlls/itss/Makefile: dlls/itss/Makefile.in dlls/Makedll.rules" | |
fbc80d79 MM |
25019 | ac_config_files="$ac_config_files dlls/itss/Makefile" |
25020 | ||
a360e934 AJ |
25021 | ALL_MAKEFILES="$ALL_MAKEFILES \\ |
25022 | dlls/itss/tests/Makefile" | |
35078f4b | 25023 | test "x$enable_tests" != xno && ALL_TEST_DIRS="$ALL_TEST_DIRS \\ |
49163da1 | 25024 | itss/tests" |
a360e934 AJ |
25025 | ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS |
25026 | dlls/itss/tests/Makefile: dlls/itss/tests/Makefile.in dlls/Maketest.rules" | |
fbc80d79 MM |
25027 | ac_config_files="$ac_config_files dlls/itss/tests/Makefile" |
25028 | ||
a360e934 AJ |
25029 | ALL_MAKEFILES="$ALL_MAKEFILES \\ |
25030 | dlls/jscript/Makefile" | |
485cc59c | 25031 | test "x$enable_jscript" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\ |
49163da1 | 25032 | jscript" |
a360e934 AJ |
25033 | ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS |
25034 | dlls/jscript/Makefile: dlls/jscript/Makefile.in dlls/Makedll.rules" | |
fa23a2c4 JC |
25035 | ac_config_files="$ac_config_files dlls/jscript/Makefile" |
25036 | ||
a360e934 AJ |
25037 | ALL_MAKEFILES="$ALL_MAKEFILES \\ |
25038 | dlls/jscript/tests/Makefile" | |
35078f4b | 25039 | test "x$enable_tests" != xno && ALL_TEST_DIRS="$ALL_TEST_DIRS \\ |
49163da1 | 25040 | jscript/tests" |
a360e934 AJ |
25041 | ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS |
25042 | dlls/jscript/tests/Makefile: dlls/jscript/tests/Makefile.in dlls/Maketest.rules" | |
63ebe019 JC |
25043 | ac_config_files="$ac_config_files dlls/jscript/tests/Makefile" |
25044 | ||
a360e934 AJ |
25045 | ALL_MAKEFILES="$ALL_MAKEFILES \\ |
25046 | dlls/kernel32/Makefile" | |
485cc59c | 25047 | test "x$enable_kernel32" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\ |
49163da1 | 25048 | kernel32" |
a360e934 AJ |
25049 | ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS |
25050 | dlls/kernel32/Makefile: dlls/kernel32/Makefile.in dlls/Makedll.rules" | |
fbc80d79 MM |
25051 | ac_config_files="$ac_config_files dlls/kernel32/Makefile" |
25052 | ||
a360e934 AJ |
25053 | ALL_MAKEFILES="$ALL_MAKEFILES \\ |
25054 | dlls/kernel32/tests/Makefile" | |
35078f4b | 25055 | test "x$enable_tests" != xno && ALL_TEST_DIRS="$ALL_TEST_DIRS \\ |
49163da1 | 25056 | kernel32/tests" |
a360e934 AJ |
25057 | ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS |
25058 | dlls/kernel32/tests/Makefile: dlls/kernel32/tests/Makefile.in dlls/Maketest.rules" | |
fbc80d79 MM |
25059 | ac_config_files="$ac_config_files dlls/kernel32/tests/Makefile" |
25060 | ||
a360e934 AJ |
25061 | ALL_MAKEFILES="$ALL_MAKEFILES \\ |
25062 | dlls/localspl/Makefile" | |
485cc59c | 25063 | test "x$enable_localspl" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\ |
49163da1 | 25064 | localspl" |
a360e934 AJ |
25065 | ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS |
25066 | dlls/localspl/Makefile: dlls/localspl/Makefile.in dlls/Makedll.rules" | |
fbc80d79 MM |
25067 | ac_config_files="$ac_config_files dlls/localspl/Makefile" |
25068 | ||
a360e934 AJ |
25069 | ALL_MAKEFILES="$ALL_MAKEFILES \\ |
25070 | dlls/localspl/tests/Makefile" | |
35078f4b | 25071 | test "x$enable_tests" != xno && ALL_TEST_DIRS="$ALL_TEST_DIRS \\ |
49163da1 | 25072 | localspl/tests" |
a360e934 AJ |
25073 | ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS |
25074 | dlls/localspl/tests/Makefile: dlls/localspl/tests/Makefile.in dlls/Maketest.rules" | |
fbc80d79 MM |
25075 | ac_config_files="$ac_config_files dlls/localspl/tests/Makefile" |
25076 | ||
a360e934 AJ |
25077 | ALL_MAKEFILES="$ALL_MAKEFILES \\ |
25078 | dlls/localui/Makefile" | |
485cc59c | 25079 | test "x$enable_localui" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\ |
49163da1 | 25080 | localui" |
a360e934 AJ |
25081 | ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS |
25082 | dlls/localui/Makefile: dlls/localui/Makefile.in dlls/Makedll.rules" | |
d24bc087 DR |
25083 | ac_config_files="$ac_config_files dlls/localui/Makefile" |
25084 | ||
a360e934 AJ |
25085 | ALL_MAKEFILES="$ALL_MAKEFILES \\ |
25086 | dlls/localui/tests/Makefile" | |
35078f4b | 25087 | test "x$enable_tests" != xno && ALL_TEST_DIRS="$ALL_TEST_DIRS \\ |
49163da1 | 25088 | localui/tests" |
a360e934 AJ |
25089 | ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS |
25090 | dlls/localui/tests/Makefile: dlls/localui/tests/Makefile.in dlls/Maketest.rules" | |
62e92795 DR |
25091 | ac_config_files="$ac_config_files dlls/localui/tests/Makefile" |
25092 | ||
a360e934 AJ |
25093 | ALL_MAKEFILES="$ALL_MAKEFILES \\ |
25094 | dlls/lz32/Makefile" | |
485cc59c | 25095 | test "x$enable_lz32" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\ |
49163da1 | 25096 | lz32" |
a360e934 AJ |
25097 | ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS |
25098 | dlls/lz32/Makefile: dlls/lz32/Makefile.in dlls/Makedll.rules" | |
fbc80d79 MM |
25099 | ac_config_files="$ac_config_files dlls/lz32/Makefile" |
25100 | ||
a360e934 AJ |
25101 | ALL_MAKEFILES="$ALL_MAKEFILES \\ |
25102 | dlls/lz32/tests/Makefile" | |
35078f4b | 25103 | test "x$enable_tests" != xno && ALL_TEST_DIRS="$ALL_TEST_DIRS \\ |
49163da1 | 25104 | lz32/tests" |
a360e934 AJ |
25105 | ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS |
25106 | dlls/lz32/tests/Makefile: dlls/lz32/tests/Makefile.in dlls/Maketest.rules" | |
fbc80d79 MM |
25107 | ac_config_files="$ac_config_files dlls/lz32/tests/Makefile" |
25108 | ||
a360e934 AJ |
25109 | ALL_MAKEFILES="$ALL_MAKEFILES \\ |
25110 | dlls/mapi32/Makefile" | |
485cc59c | 25111 | test "x$enable_mapi32" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\ |
49163da1 | 25112 | mapi32" |
a360e934 AJ |
25113 | ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS |
25114 | dlls/mapi32/Makefile: dlls/mapi32/Makefile.in dlls/Makedll.rules" | |
fbc80d79 MM |
25115 | ac_config_files="$ac_config_files dlls/mapi32/Makefile" |
25116 | ||
a360e934 AJ |
25117 | ALL_MAKEFILES="$ALL_MAKEFILES \\ |
25118 | dlls/mapi32/tests/Makefile" | |
35078f4b | 25119 | test "x$enable_tests" != xno && ALL_TEST_DIRS="$ALL_TEST_DIRS \\ |
49163da1 | 25120 | mapi32/tests" |
a360e934 AJ |
25121 | ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS |
25122 | dlls/mapi32/tests/Makefile: dlls/mapi32/tests/Makefile.in dlls/Maketest.rules" | |
fbc80d79 MM |
25123 | ac_config_files="$ac_config_files dlls/mapi32/tests/Makefile" |
25124 | ||
a360e934 AJ |
25125 | ALL_MAKEFILES="$ALL_MAKEFILES \\ |
25126 | dlls/mciavi32/Makefile" | |
485cc59c | 25127 | test "x$enable_mciavi32" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\ |
49163da1 | 25128 | mciavi32" |
a360e934 AJ |
25129 | ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS |
25130 | dlls/mciavi32/Makefile: dlls/mciavi32/Makefile.in dlls/Makedll.rules" | |
fbc80d79 MM |
25131 | ac_config_files="$ac_config_files dlls/mciavi32/Makefile" |
25132 | ||
a360e934 AJ |
25133 | ALL_MAKEFILES="$ALL_MAKEFILES \\ |
25134 | dlls/mcicda/Makefile" | |
485cc59c | 25135 | test "x$enable_mcicda" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\ |
49163da1 | 25136 | mcicda" |
a360e934 AJ |
25137 | ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS |
25138 | dlls/mcicda/Makefile: dlls/mcicda/Makefile.in dlls/Makedll.rules" | |
fbc80d79 MM |
25139 | ac_config_files="$ac_config_files dlls/mcicda/Makefile" |
25140 | ||
a360e934 AJ |
25141 | ALL_MAKEFILES="$ALL_MAKEFILES \\ |
25142 | dlls/mciseq/Makefile" | |
485cc59c | 25143 | test "x$enable_mciseq" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\ |
49163da1 | 25144 | mciseq" |
a360e934 AJ |
25145 | ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS |
25146 | dlls/mciseq/Makefile: dlls/mciseq/Makefile.in dlls/Makedll.rules" | |
fbc80d79 MM |
25147 | ac_config_files="$ac_config_files dlls/mciseq/Makefile" |
25148 | ||
a360e934 AJ |
25149 | ALL_MAKEFILES="$ALL_MAKEFILES \\ |
25150 | dlls/mciwave/Makefile" | |
485cc59c | 25151 | test "x$enable_mciwave" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\ |
49163da1 | 25152 | mciwave" |
a360e934 AJ |
25153 | ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS |
25154 | dlls/mciwave/Makefile: dlls/mciwave/Makefile.in dlls/Makedll.rules" | |
fbc80d79 MM |
25155 | ac_config_files="$ac_config_files dlls/mciwave/Makefile" |
25156 | ||
a360e934 AJ |
25157 | ALL_MAKEFILES="$ALL_MAKEFILES \\ |
25158 | dlls/midimap/Makefile" | |
485cc59c | 25159 | test "x$enable_midimap" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\ |
49163da1 | 25160 | midimap" |
a360e934 AJ |
25161 | ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS |
25162 | dlls/midimap/Makefile: dlls/midimap/Makefile.in dlls/Makedll.rules" | |
fbc80d79 MM |
25163 | ac_config_files="$ac_config_files dlls/midimap/Makefile" |
25164 | ||
a360e934 AJ |
25165 | ALL_MAKEFILES="$ALL_MAKEFILES \\ |
25166 | dlls/mlang/Makefile" | |
485cc59c | 25167 | test "x$enable_mlang" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\ |
49163da1 | 25168 | mlang" |
a360e934 AJ |
25169 | ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS |
25170 | dlls/mlang/Makefile: dlls/mlang/Makefile.in dlls/Makedll.rules" | |
fbc80d79 MM |
25171 | ac_config_files="$ac_config_files dlls/mlang/Makefile" |
25172 | ||
a360e934 AJ |
25173 | ALL_MAKEFILES="$ALL_MAKEFILES \\ |
25174 | dlls/mlang/tests/Makefile" | |
35078f4b | 25175 | test "x$enable_tests" != xno && ALL_TEST_DIRS="$ALL_TEST_DIRS \\ |
49163da1 | 25176 | mlang/tests" |
a360e934 AJ |
25177 | ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS |
25178 | dlls/mlang/tests/Makefile: dlls/mlang/tests/Makefile.in dlls/Maketest.rules" | |
fbc80d79 MM |
25179 | ac_config_files="$ac_config_files dlls/mlang/tests/Makefile" |
25180 | ||
a360e934 AJ |
25181 | ALL_MAKEFILES="$ALL_MAKEFILES \\ |
25182 | dlls/mmdevldr.vxd/Makefile" | |
485cc59c | 25183 | test "x$enable_mmdevldr_vxd" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\ |
49163da1 | 25184 | mmdevldr.vxd" |
a360e934 AJ |
25185 | ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS |
25186 | dlls/mmdevldr.vxd/Makefile: dlls/mmdevldr.vxd/Makefile.in dlls/Makedll.rules" | |
fbc80d79 MM |
25187 | ac_config_files="$ac_config_files dlls/mmdevldr.vxd/Makefile" |
25188 | ||
a360e934 AJ |
25189 | ALL_MAKEFILES="$ALL_MAKEFILES \\ |
25190 | dlls/monodebg.vxd/Makefile" | |
485cc59c | 25191 | test "x$enable_monodebg_vxd" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\ |
49163da1 | 25192 | monodebg.vxd" |
a360e934 AJ |
25193 | ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS |
25194 | dlls/monodebg.vxd/Makefile: dlls/monodebg.vxd/Makefile.in dlls/Makedll.rules" | |
fbc80d79 MM |
25195 | ac_config_files="$ac_config_files dlls/monodebg.vxd/Makefile" |
25196 | ||
a360e934 AJ |
25197 | ALL_MAKEFILES="$ALL_MAKEFILES \\ |
25198 | dlls/mountmgr.sys/Makefile" | |
485cc59c | 25199 | test "x$enable_mountmgr_sys" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\ |
49163da1 | 25200 | mountmgr.sys" |
a360e934 AJ |
25201 | ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS |
25202 | dlls/mountmgr.sys/Makefile: dlls/mountmgr.sys/Makefile.in dlls/Makedll.rules" | |
43dc80e6 AJ |
25203 | ac_config_files="$ac_config_files dlls/mountmgr.sys/Makefile" |
25204 | ||
a360e934 AJ |
25205 | ALL_MAKEFILES="$ALL_MAKEFILES \\ |
25206 | dlls/mpr/Makefile" | |
485cc59c | 25207 | test "x$enable_mpr" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\ |
49163da1 | 25208 | mpr" |
a360e934 AJ |
25209 | ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS |
25210 | dlls/mpr/Makefile: dlls/mpr/Makefile.in dlls/Makedll.rules" | |
fbc80d79 MM |
25211 | ac_config_files="$ac_config_files dlls/mpr/Makefile" |
25212 | ||
a360e934 AJ |
25213 | ALL_MAKEFILES="$ALL_MAKEFILES \\ |
25214 | dlls/mprapi/Makefile" | |
485cc59c | 25215 | test "x$enable_mprapi" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\ |
49163da1 | 25216 | mprapi" |
a360e934 AJ |
25217 | ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS |
25218 | dlls/mprapi/Makefile: dlls/mprapi/Makefile.in dlls/Makedll.rules" | |
fbc80d79 MM |
25219 | ac_config_files="$ac_config_files dlls/mprapi/Makefile" |
25220 | ||
a360e934 AJ |
25221 | ALL_MAKEFILES="$ALL_MAKEFILES \\ |
25222 | dlls/msacm32.drv/Makefile" | |
485cc59c | 25223 | test "x$enable_msacm32_drv" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\ |
49163da1 | 25224 | msacm32.drv" |
a360e934 AJ |
25225 | ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS |
25226 | dlls/msacm32.drv/Makefile: dlls/msacm32.drv/Makefile.in dlls/Makedll.rules" | |
fbc80d79 MM |
25227 | ac_config_files="$ac_config_files dlls/msacm32.drv/Makefile" |
25228 | ||
a360e934 AJ |
25229 | ALL_MAKEFILES="$ALL_MAKEFILES \\ |
25230 | dlls/msacm32/Makefile" | |
485cc59c | 25231 | test "x$enable_msacm32" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\ |
49163da1 | 25232 | msacm32" |
a360e934 AJ |
25233 | ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS |
25234 | dlls/msacm32/Makefile: dlls/msacm32/Makefile.in dlls/Makedll.rules" | |
fbc80d79 MM |
25235 | ac_config_files="$ac_config_files dlls/msacm32/Makefile" |
25236 | ||
a360e934 AJ |
25237 | ALL_MAKEFILES="$ALL_MAKEFILES \\ |
25238 | dlls/msacm32/tests/Makefile" | |
35078f4b | 25239 | test "x$enable_tests" != xno && ALL_TEST_DIRS="$ALL_TEST_DIRS \\ |
49163da1 | 25240 | msacm32/tests" |
a360e934 AJ |
25241 | ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS |
25242 | dlls/msacm32/tests/Makefile: dlls/msacm32/tests/Makefile.in dlls/Maketest.rules" | |
fbc80d79 MM |
25243 | ac_config_files="$ac_config_files dlls/msacm32/tests/Makefile" |
25244 | ||
a360e934 AJ |
25245 | ALL_MAKEFILES="$ALL_MAKEFILES \\ |
25246 | dlls/msadp32.acm/Makefile" | |
485cc59c | 25247 | test "x$enable_msadp32_acm" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\ |
49163da1 | 25248 | msadp32.acm" |
a360e934 AJ |
25249 | ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS |
25250 | dlls/msadp32.acm/Makefile: dlls/msadp32.acm/Makefile.in dlls/Makedll.rules" | |
fbc80d79 MM |
25251 | ac_config_files="$ac_config_files dlls/msadp32.acm/Makefile" |
25252 | ||
a360e934 AJ |
25253 | ALL_MAKEFILES="$ALL_MAKEFILES \\ |
25254 | dlls/mscat32/Makefile" | |
485cc59c | 25255 | test "x$enable_mscat32" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\ |
49163da1 | 25256 | mscat32" |
a360e934 AJ |
25257 | ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS |
25258 | dlls/mscat32/Makefile: dlls/mscat32/Makefile.in dlls/Makedll.rules" | |
6103f312 ANS |
25259 | ac_config_files="$ac_config_files dlls/mscat32/Makefile" |
25260 | ||
a360e934 AJ |
25261 | ALL_MAKEFILES="$ALL_MAKEFILES \\ |
25262 | dlls/mscms/Makefile" | |
485cc59c | 25263 | test "x$enable_mscms" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\ |
49163da1 | 25264 | mscms" |
a360e934 AJ |
25265 | ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS |
25266 | dlls/mscms/Makefile: dlls/mscms/Makefile.in dlls/Makedll.rules" | |
fbc80d79 MM |
25267 | ac_config_files="$ac_config_files dlls/mscms/Makefile" |
25268 | ||
a360e934 AJ |
25269 | ALL_MAKEFILES="$ALL_MAKEFILES \\ |
25270 | dlls/mscms/tests/Makefile" | |
35078f4b | 25271 | test "x$enable_tests" != xno && ALL_TEST_DIRS="$ALL_TEST_DIRS \\ |
49163da1 | 25272 | mscms/tests" |
a360e934 AJ |
25273 | ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS |
25274 | dlls/mscms/tests/Makefile: dlls/mscms/tests/Makefile.in dlls/Maketest.rules" | |
fbc80d79 MM |
25275 | ac_config_files="$ac_config_files dlls/mscms/tests/Makefile" |
25276 | ||
a360e934 AJ |
25277 | ALL_MAKEFILES="$ALL_MAKEFILES \\ |
25278 | dlls/mscoree/Makefile" | |
485cc59c | 25279 | test "x$enable_mscoree" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\ |
49163da1 | 25280 | mscoree" |
a360e934 AJ |
25281 | ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS |
25282 | dlls/mscoree/Makefile: dlls/mscoree/Makefile.in dlls/Makedll.rules" | |
fbc80d79 MM |
25283 | ac_config_files="$ac_config_files dlls/mscoree/Makefile" |
25284 | ||
a360e934 AJ |
25285 | ALL_MAKEFILES="$ALL_MAKEFILES \\ |
25286 | dlls/msdmo/Makefile" | |
485cc59c | 25287 | test "x$enable_msdmo" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\ |
49163da1 | 25288 | msdmo" |
a360e934 AJ |
25289 | ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS |
25290 | dlls/msdmo/Makefile: dlls/msdmo/Makefile.in dlls/Makedll.rules" | |
fbc80d79 MM |
25291 | ac_config_files="$ac_config_files dlls/msdmo/Makefile" |
25292 | ||
a360e934 AJ |
25293 | ALL_MAKEFILES="$ALL_MAKEFILES \\ |
25294 | dlls/msftedit/Makefile" | |
485cc59c | 25295 | test "x$enable_msftedit" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\ |
49163da1 | 25296 | msftedit" |
a360e934 AJ |
25297 | ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS |
25298 | dlls/msftedit/Makefile: dlls/msftedit/Makefile.in dlls/Makedll.rules" | |
fbc80d79 MM |
25299 | ac_config_files="$ac_config_files dlls/msftedit/Makefile" |
25300 | ||
a360e934 AJ |
25301 | ALL_MAKEFILES="$ALL_MAKEFILES \\ |
25302 | dlls/msg711.acm/Makefile" | |
485cc59c | 25303 | test "x$enable_msg711_acm" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\ |
49163da1 | 25304 | msg711.acm" |
a360e934 AJ |
25305 | ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS |
25306 | dlls/msg711.acm/Makefile: dlls/msg711.acm/Makefile.in dlls/Makedll.rules" | |
fbc80d79 MM |
25307 | ac_config_files="$ac_config_files dlls/msg711.acm/Makefile" |
25308 | ||
a360e934 AJ |
25309 | ALL_MAKEFILES="$ALL_MAKEFILES \\ |
25310 | dlls/mshtml.tlb/Makefile" | |
485cc59c | 25311 | test "x$enable_mshtml_tlb" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\ |
49163da1 | 25312 | mshtml.tlb" |
a360e934 AJ |
25313 | ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS |
25314 | dlls/mshtml.tlb/Makefile: dlls/mshtml.tlb/Makefile.in dlls/Makedll.rules" | |
021d06a4 JC |
25315 | ac_config_files="$ac_config_files dlls/mshtml.tlb/Makefile" |
25316 | ||
a360e934 AJ |
25317 | ALL_MAKEFILES="$ALL_MAKEFILES \\ |
25318 | dlls/mshtml/Makefile" | |
485cc59c | 25319 | test "x$enable_mshtml" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\ |
49163da1 | 25320 | mshtml" |
a360e934 AJ |
25321 | ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS |
25322 | dlls/mshtml/Makefile: dlls/mshtml/Makefile.in dlls/Makedll.rules" | |
fbc80d79 MM |
25323 | ac_config_files="$ac_config_files dlls/mshtml/Makefile" |
25324 | ||
a360e934 AJ |
25325 | ALL_MAKEFILES="$ALL_MAKEFILES \\ |
25326 | dlls/mshtml/tests/Makefile" | |
35078f4b | 25327 | test "x$enable_tests" != xno && ALL_TEST_DIRS="$ALL_TEST_DIRS \\ |
49163da1 | 25328 | mshtml/tests" |
a360e934 AJ |
25329 | ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS |
25330 | dlls/mshtml/tests/Makefile: dlls/mshtml/tests/Makefile.in dlls/Maketest.rules" | |
fbc80d79 MM |
25331 | ac_config_files="$ac_config_files dlls/mshtml/tests/Makefile" |
25332 | ||
a360e934 AJ |
25333 | ALL_MAKEFILES="$ALL_MAKEFILES \\ |
25334 | dlls/msi/Makefile" | |
485cc59c | 25335 | test "x$enable_msi" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\ |
49163da1 | 25336 | msi" |
a360e934 AJ |
25337 | ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS |
25338 | dlls/msi/Makefile: dlls/msi/Makefile.in dlls/Makedll.rules" | |
fbc80d79 MM |
25339 | ac_config_files="$ac_config_files dlls/msi/Makefile" |
25340 | ||
a360e934 AJ |
25341 | ALL_MAKEFILES="$ALL_MAKEFILES \\ |
25342 | dlls/msi/tests/Makefile" | |
35078f4b | 25343 | test "x$enable_tests" != xno && ALL_TEST_DIRS="$ALL_TEST_DIRS \\ |
49163da1 | 25344 | msi/tests" |
a360e934 AJ |
25345 | ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS |
25346 | dlls/msi/tests/Makefile: dlls/msi/tests/Makefile.in dlls/Maketest.rules" | |
fbc80d79 MM |
25347 | ac_config_files="$ac_config_files dlls/msi/tests/Makefile" |
25348 | ||
a360e934 AJ |
25349 | ALL_MAKEFILES="$ALL_MAKEFILES \\ |
25350 | dlls/msimg32/Makefile" | |
485cc59c | 25351 | test "x$enable_msimg32" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\ |
49163da1 | 25352 | msimg32" |
a360e934 AJ |
25353 | ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS |
25354 | dlls/msimg32/Makefile: dlls/msimg32/Makefile.in dlls/Makedll.rules" | |
fbc80d79 MM |
25355 | ac_config_files="$ac_config_files dlls/msimg32/Makefile" |
25356 | ||
a360e934 AJ |
25357 | ALL_MAKEFILES="$ALL_MAKEFILES \\ |
25358 | dlls/msimtf/Makefile" | |
485cc59c | 25359 | test "x$enable_msimtf" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\ |
49163da1 | 25360 | msimtf" |
a360e934 AJ |
25361 | ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS |
25362 | dlls/msimtf/Makefile: dlls/msimtf/Makefile.in dlls/Makedll.rules" | |
44a808fb JC |
25363 | ac_config_files="$ac_config_files dlls/msimtf/Makefile" |
25364 | ||
a360e934 AJ |
25365 | ALL_MAKEFILES="$ALL_MAKEFILES \\ |
25366 | dlls/msisip/Makefile" | |
485cc59c | 25367 | test "x$enable_msisip" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\ |
49163da1 | 25368 | msisip" |
a360e934 AJ |
25369 | ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS |
25370 | dlls/msisip/Makefile: dlls/msisip/Makefile.in dlls/Makedll.rules" | |
8a6c2c2b JL |
25371 | ac_config_files="$ac_config_files dlls/msisip/Makefile" |
25372 | ||
a360e934 AJ |
25373 | ALL_MAKEFILES="$ALL_MAKEFILES \\ |
25374 | dlls/msisys.ocx/Makefile" | |
485cc59c | 25375 | test "x$enable_msisys_ocx" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\ |
49163da1 | 25376 | msisys.ocx" |
a360e934 AJ |
25377 | ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS |
25378 | dlls/msisys.ocx/Makefile: dlls/msisys.ocx/Makefile.in dlls/Makedll.rules" | |
fbc80d79 MM |
25379 | ac_config_files="$ac_config_files dlls/msisys.ocx/Makefile" |
25380 | ||
a360e934 AJ |
25381 | ALL_MAKEFILES="$ALL_MAKEFILES \\ |
25382 | dlls/msnet32/Makefile" | |
485cc59c | 25383 | test "x$enable_msnet32" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\ |
49163da1 | 25384 | msnet32" |
a360e934 AJ |
25385 | ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS |
25386 | dlls/msnet32/Makefile: dlls/msnet32/Makefile.in dlls/Makedll.rules" | |
fbc80d79 MM |
25387 | ac_config_files="$ac_config_files dlls/msnet32/Makefile" |
25388 | ||
a360e934 AJ |
25389 | ALL_MAKEFILES="$ALL_MAKEFILES \\ |
25390 | dlls/msrle32/Makefile" | |
485cc59c | 25391 | test "x$enable_msrle32" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\ |
49163da1 | 25392 | msrle32" |
a360e934 AJ |
25393 | ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS |
25394 | dlls/msrle32/Makefile: dlls/msrle32/Makefile.in dlls/Makedll.rules" | |
fbc80d79 MM |
25395 | ac_config_files="$ac_config_files dlls/msrle32/Makefile" |
25396 | ||
a360e934 AJ |
25397 | ALL_MAKEFILES="$ALL_MAKEFILES \\ |
25398 | dlls/mssip32/Makefile" | |
485cc59c | 25399 | test "x$enable_mssip32" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\ |
49163da1 | 25400 | mssip32" |
a360e934 AJ |
25401 | ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS |
25402 | dlls/mssip32/Makefile: dlls/mssip32/Makefile.in dlls/Makedll.rules" | |
c438d239 ML |
25403 | ac_config_files="$ac_config_files dlls/mssip32/Makefile" |
25404 | ||
a360e934 AJ |
25405 | ALL_MAKEFILES="$ALL_MAKEFILES \\ |
25406 | dlls/mstask/Makefile" | |
485cc59c | 25407 | test "x$enable_mstask" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\ |
49163da1 | 25408 | mstask" |
a360e934 AJ |
25409 | ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS |
25410 | dlls/mstask/Makefile: dlls/mstask/Makefile.in dlls/Makedll.rules" | |
80ee225f RS |
25411 | ac_config_files="$ac_config_files dlls/mstask/Makefile" |
25412 | ||
a360e934 AJ |
25413 | ALL_MAKEFILES="$ALL_MAKEFILES \\ |
25414 | dlls/mstask/tests/Makefile" | |
35078f4b | 25415 | test "x$enable_tests" != xno && ALL_TEST_DIRS="$ALL_TEST_DIRS \\ |
49163da1 | 25416 | mstask/tests" |
a360e934 AJ |
25417 | ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS |
25418 | dlls/mstask/tests/Makefile: dlls/mstask/tests/Makefile.in dlls/Maketest.rules" | |
3842ab09 AJ |
25419 | ac_config_files="$ac_config_files dlls/mstask/tests/Makefile" |
25420 | ||
a360e934 AJ |
25421 | ALL_MAKEFILES="$ALL_MAKEFILES \\ |
25422 | dlls/msvcirt/Makefile" | |
485cc59c | 25423 | test "x$enable_msvcirt" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\ |
49163da1 | 25424 | msvcirt" |
a360e934 AJ |
25425 | ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS |
25426 | dlls/msvcirt/Makefile: dlls/msvcirt/Makefile.in dlls/Makedll.rules" | |
455a4994 AJ |
25427 | ac_config_files="$ac_config_files dlls/msvcirt/Makefile" |
25428 | ||
a360e934 AJ |
25429 | ALL_MAKEFILES="$ALL_MAKEFILES \\ |
25430 | dlls/msvcr71/Makefile" | |
485cc59c | 25431 | test "x$enable_msvcr71" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\ |
49163da1 | 25432 | msvcr71" |
a360e934 AJ |
25433 | ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS |
25434 | dlls/msvcr71/Makefile: dlls/msvcr71/Makefile.in dlls/Makedll.rules" | |
67815c6b HL |
25435 | ac_config_files="$ac_config_files dlls/msvcr71/Makefile" |
25436 | ||
a360e934 AJ |
25437 | ALL_MAKEFILES="$ALL_MAKEFILES \\ |
25438 | dlls/msvcrt/Makefile" | |
485cc59c | 25439 | test "x$enable_msvcrt" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\ |
49163da1 | 25440 | msvcrt" |
a360e934 AJ |
25441 | ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS |
25442 | dlls/msvcrt/Makefile: dlls/msvcrt/Makefile.in dlls/Makedll.rules" | |
fbc80d79 MM |
25443 | ac_config_files="$ac_config_files dlls/msvcrt/Makefile" |
25444 | ||
a360e934 AJ |
25445 | ALL_MAKEFILES="$ALL_MAKEFILES \\ |
25446 | dlls/msvcrt/tests/Makefile" | |
35078f4b | 25447 | test "x$enable_tests" != xno && ALL_TEST_DIRS="$ALL_TEST_DIRS \\ |
49163da1 | 25448 | msvcrt/tests" |
a360e934 AJ |
25449 | ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS |
25450 | dlls/msvcrt/tests/Makefile: dlls/msvcrt/tests/Makefile.in dlls/Maketest.rules" | |
fbc80d79 MM |
25451 | ac_config_files="$ac_config_files dlls/msvcrt/tests/Makefile" |
25452 | ||
a360e934 AJ |
25453 | ALL_MAKEFILES="$ALL_MAKEFILES \\ |
25454 | dlls/msvcrt20/Makefile" | |
485cc59c | 25455 | test "x$enable_msvcrt20" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\ |
49163da1 | 25456 | msvcrt20" |
a360e934 AJ |
25457 | ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS |
25458 | dlls/msvcrt20/Makefile: dlls/msvcrt20/Makefile.in dlls/Makedll.rules" | |
fbc80d79 MM |
25459 | ac_config_files="$ac_config_files dlls/msvcrt20/Makefile" |
25460 | ||
a360e934 AJ |
25461 | ALL_MAKEFILES="$ALL_MAKEFILES \\ |
25462 | dlls/msvcrt40/Makefile" | |
485cc59c | 25463 | test "x$enable_msvcrt40" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\ |
49163da1 | 25464 | msvcrt40" |
a360e934 AJ |
25465 | ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS |
25466 | dlls/msvcrt40/Makefile: dlls/msvcrt40/Makefile.in dlls/Makedll.rules" | |
fbc80d79 MM |
25467 | ac_config_files="$ac_config_files dlls/msvcrt40/Makefile" |
25468 | ||
a360e934 AJ |
25469 | ALL_MAKEFILES="$ALL_MAKEFILES \\ |
25470 | dlls/msvcrtd/Makefile" | |
485cc59c | 25471 | test "x$enable_msvcrtd" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\ |
49163da1 | 25472 | msvcrtd" |
a360e934 AJ |
25473 | ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS |
25474 | dlls/msvcrtd/Makefile: dlls/msvcrtd/Makefile.in dlls/Makedll.rules" | |
fbc80d79 MM |
25475 | ac_config_files="$ac_config_files dlls/msvcrtd/Makefile" |
25476 | ||
a360e934 AJ |
25477 | ALL_MAKEFILES="$ALL_MAKEFILES \\ |
25478 | dlls/msvcrtd/tests/Makefile" | |
35078f4b | 25479 | test "x$enable_tests" != xno && ALL_TEST_DIRS="$ALL_TEST_DIRS \\ |
49163da1 | 25480 | msvcrtd/tests" |
a360e934 AJ |
25481 | ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS |
25482 | dlls/msvcrtd/tests/Makefile: dlls/msvcrtd/tests/Makefile.in dlls/Maketest.rules" | |
fbc80d79 MM |
25483 | ac_config_files="$ac_config_files dlls/msvcrtd/tests/Makefile" |
25484 | ||
a360e934 AJ |
25485 | ALL_MAKEFILES="$ALL_MAKEFILES \\ |
25486 | dlls/msvfw32/Makefile" | |
485cc59c | 25487 | test "x$enable_msvfw32" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\ |
49163da1 | 25488 | msvfw32" |
a360e934 AJ |
25489 | ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS |
25490 | dlls/msvfw32/Makefile: dlls/msvfw32/Makefile.in dlls/Makedll.rules" | |
fbc80d79 MM |
25491 | ac_config_files="$ac_config_files dlls/msvfw32/Makefile" |
25492 | ||
a360e934 AJ |
25493 | ALL_MAKEFILES="$ALL_MAKEFILES \\ |
25494 | dlls/msvidc32/Makefile" | |
485cc59c | 25495 | test "x$enable_msvidc32" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\ |
49163da1 | 25496 | msvidc32" |
a360e934 AJ |
25497 | ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS |
25498 | dlls/msvidc32/Makefile: dlls/msvidc32/Makefile.in dlls/Makedll.rules" | |
fbc80d79 MM |
25499 | ac_config_files="$ac_config_files dlls/msvidc32/Makefile" |
25500 | ||
a360e934 AJ |
25501 | ALL_MAKEFILES="$ALL_MAKEFILES \\ |
25502 | dlls/mswsock/Makefile" | |
485cc59c | 25503 | test "x$enable_mswsock" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\ |
49163da1 | 25504 | mswsock" |
a360e934 AJ |
25505 | ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS |
25506 | dlls/mswsock/Makefile: dlls/mswsock/Makefile.in dlls/Makedll.rules" | |
fbc80d79 MM |
25507 | ac_config_files="$ac_config_files dlls/mswsock/Makefile" |
25508 | ||
a360e934 AJ |
25509 | ALL_MAKEFILES="$ALL_MAKEFILES \\ |
25510 | dlls/msxml3/Makefile" | |
485cc59c | 25511 | test "x$enable_msxml3" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\ |
49163da1 | 25512 | msxml3" |
a360e934 AJ |
25513 | ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS |
25514 | dlls/msxml3/Makefile: dlls/msxml3/Makefile.in dlls/Makedll.rules" | |
fbc80d79 MM |
25515 | ac_config_files="$ac_config_files dlls/msxml3/Makefile" |
25516 | ||
a360e934 AJ |
25517 | ALL_MAKEFILES="$ALL_MAKEFILES \\ |
25518 | dlls/msxml3/tests/Makefile" | |
35078f4b | 25519 | test "x$enable_tests" != xno && ALL_TEST_DIRS="$ALL_TEST_DIRS \\ |
49163da1 | 25520 | msxml3/tests" |
a360e934 AJ |
25521 | ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS |
25522 | dlls/msxml3/tests/Makefile: dlls/msxml3/tests/Makefile.in dlls/Maketest.rules" | |
fbc80d79 MM |
25523 | ac_config_files="$ac_config_files dlls/msxml3/tests/Makefile" |
25524 | ||
a360e934 AJ |
25525 | ALL_MAKEFILES="$ALL_MAKEFILES \\ |
25526 | dlls/nddeapi/Makefile" | |
485cc59c | 25527 | test "x$enable_nddeapi" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\ |
49163da1 | 25528 | nddeapi" |
a360e934 AJ |
25529 | ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS |
25530 | dlls/nddeapi/Makefile: dlls/nddeapi/Makefile.in dlls/Makedll.rules" | |
fbc80d79 MM |
25531 | ac_config_files="$ac_config_files dlls/nddeapi/Makefile" |
25532 | ||
a360e934 AJ |
25533 | ALL_MAKEFILES="$ALL_MAKEFILES \\ |
25534 | dlls/netapi32/Makefile" | |
485cc59c | 25535 | test "x$enable_netapi32" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\ |
49163da1 | 25536 | netapi32" |
a360e934 AJ |
25537 | ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS |
25538 | dlls/netapi32/Makefile: dlls/netapi32/Makefile.in dlls/Makedll.rules" | |
fbc80d79 MM |
25539 | ac_config_files="$ac_config_files dlls/netapi32/Makefile" |
25540 | ||
a360e934 AJ |
25541 | ALL_MAKEFILES="$ALL_MAKEFILES \\ |
25542 | dlls/netapi32/tests/Makefile" | |
35078f4b | 25543 | test "x$enable_tests" != xno && ALL_TEST_DIRS="$ALL_TEST_DIRS \\ |
49163da1 | 25544 | netapi32/tests" |
a360e934 AJ |
25545 | ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS |
25546 | dlls/netapi32/tests/Makefile: dlls/netapi32/tests/Makefile.in dlls/Maketest.rules" | |
fbc80d79 MM |
25547 | ac_config_files="$ac_config_files dlls/netapi32/tests/Makefile" |
25548 | ||
a360e934 AJ |
25549 | ALL_MAKEFILES="$ALL_MAKEFILES \\ |
25550 | dlls/newdev/Makefile" | |
485cc59c | 25551 | test "x$enable_newdev" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\ |
49163da1 | 25552 | newdev" |
a360e934 AJ |
25553 | ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS |
25554 | dlls/newdev/Makefile: dlls/newdev/Makefile.in dlls/Makedll.rules" | |
fbc80d79 MM |
25555 | ac_config_files="$ac_config_files dlls/newdev/Makefile" |
25556 | ||
a360e934 AJ |
25557 | ALL_MAKEFILES="$ALL_MAKEFILES \\ |
25558 | dlls/ntdll/Makefile" | |
485cc59c | 25559 | test "x$enable_ntdll" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\ |
49163da1 | 25560 | ntdll" |
a360e934 AJ |
25561 | ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS |
25562 | dlls/ntdll/Makefile: dlls/ntdll/Makefile.in dlls/Makedll.rules" | |
fbc80d79 MM |
25563 | ac_config_files="$ac_config_files dlls/ntdll/Makefile" |
25564 | ||
a360e934 AJ |
25565 | ALL_MAKEFILES="$ALL_MAKEFILES \\ |
25566 | dlls/ntdll/tests/Makefile" | |
35078f4b | 25567 | test "x$enable_tests" != xno && ALL_TEST_DIRS="$ALL_TEST_DIRS \\ |
49163da1 | 25568 | ntdll/tests" |
a360e934 AJ |
25569 | ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS |
25570 | dlls/ntdll/tests/Makefile: dlls/ntdll/tests/Makefile.in dlls/Maketest.rules" | |
fbc80d79 MM |
25571 | ac_config_files="$ac_config_files dlls/ntdll/tests/Makefile" |
25572 | ||
a360e934 AJ |
25573 | ALL_MAKEFILES="$ALL_MAKEFILES \\ |
25574 | dlls/ntdsapi/Makefile" | |
485cc59c | 25575 | test "x$enable_ntdsapi" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\ |
49163da1 | 25576 | ntdsapi" |
a360e934 AJ |
25577 | ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS |
25578 | dlls/ntdsapi/Makefile: dlls/ntdsapi/Makefile.in dlls/Makedll.rules" | |
fbc80d79 MM |
25579 | ac_config_files="$ac_config_files dlls/ntdsapi/Makefile" |
25580 | ||
a360e934 AJ |
25581 | ALL_MAKEFILES="$ALL_MAKEFILES \\ |
25582 | dlls/ntdsapi/tests/Makefile" | |
35078f4b | 25583 | test "x$enable_tests" != xno && ALL_TEST_DIRS="$ALL_TEST_DIRS \\ |
49163da1 | 25584 | ntdsapi/tests" |
a360e934 AJ |
25585 | ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS |
25586 | dlls/ntdsapi/tests/Makefile: dlls/ntdsapi/tests/Makefile.in dlls/Maketest.rules" | |
5db45041 RS |
25587 | ac_config_files="$ac_config_files dlls/ntdsapi/tests/Makefile" |
25588 | ||
a360e934 AJ |
25589 | ALL_MAKEFILES="$ALL_MAKEFILES \\ |
25590 | dlls/ntoskrnl.exe/Makefile" | |
485cc59c | 25591 | test "x$enable_ntoskrnl_exe" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\ |
49163da1 | 25592 | ntoskrnl.exe" |
a360e934 AJ |
25593 | ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS |
25594 | dlls/ntoskrnl.exe/Makefile: dlls/ntoskrnl.exe/Makefile.in dlls/Makedll.rules" | |
12c169d2 AJ |
25595 | ac_config_files="$ac_config_files dlls/ntoskrnl.exe/Makefile" |
25596 | ||
a360e934 AJ |
25597 | ALL_MAKEFILES="$ALL_MAKEFILES \\ |
25598 | dlls/ntprint/Makefile" | |
485cc59c | 25599 | test "x$enable_ntprint" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\ |
49163da1 | 25600 | ntprint" |
a360e934 AJ |
25601 | ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS |
25602 | dlls/ntprint/Makefile: dlls/ntprint/Makefile.in dlls/Makedll.rules" | |
a8697b58 DR |
25603 | ac_config_files="$ac_config_files dlls/ntprint/Makefile" |
25604 | ||
a360e934 AJ |
25605 | ALL_MAKEFILES="$ALL_MAKEFILES \\ |
25606 | dlls/ntprint/tests/Makefile" | |
35078f4b | 25607 | test "x$enable_tests" != xno && ALL_TEST_DIRS="$ALL_TEST_DIRS \\ |
49163da1 | 25608 | ntprint/tests" |
a360e934 AJ |
25609 | ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS |
25610 | dlls/ntprint/tests/Makefile: dlls/ntprint/tests/Makefile.in dlls/Maketest.rules" | |
a114483e DR |
25611 | ac_config_files="$ac_config_files dlls/ntprint/tests/Makefile" |
25612 | ||
a360e934 AJ |
25613 | ALL_MAKEFILES="$ALL_MAKEFILES \\ |
25614 | dlls/objsel/Makefile" | |
485cc59c | 25615 | test "x$enable_objsel" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\ |
49163da1 | 25616 | objsel" |
a360e934 AJ |
25617 | ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS |
25618 | dlls/objsel/Makefile: dlls/objsel/Makefile.in dlls/Makedll.rules" | |
fbc80d79 MM |
25619 | ac_config_files="$ac_config_files dlls/objsel/Makefile" |
25620 | ||
a360e934 AJ |
25621 | ALL_MAKEFILES="$ALL_MAKEFILES \\ |
25622 | dlls/odbc32/Makefile" | |
485cc59c | 25623 | test "x$enable_odbc32" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\ |
49163da1 | 25624 | odbc32" |
a360e934 AJ |
25625 | ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS |
25626 | dlls/odbc32/Makefile: dlls/odbc32/Makefile.in dlls/Makedll.rules" | |
fbc80d79 MM |
25627 | ac_config_files="$ac_config_files dlls/odbc32/Makefile" |
25628 | ||
a360e934 AJ |
25629 | ALL_MAKEFILES="$ALL_MAKEFILES \\ |
25630 | dlls/odbccp32/Makefile" | |
485cc59c | 25631 | test "x$enable_odbccp32" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\ |
49163da1 | 25632 | odbccp32" |
a360e934 AJ |
25633 | ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS |
25634 | dlls/odbccp32/Makefile: dlls/odbccp32/Makefile.in dlls/Makedll.rules" | |
fbc80d79 MM |
25635 | ac_config_files="$ac_config_files dlls/odbccp32/Makefile" |
25636 | ||
a360e934 AJ |
25637 | ALL_MAKEFILES="$ALL_MAKEFILES \\ |
25638 | dlls/odbccp32/tests/Makefile" | |
35078f4b | 25639 | test "x$enable_tests" != xno && ALL_TEST_DIRS="$ALL_TEST_DIRS \\ |
49163da1 | 25640 | odbccp32/tests" |
a360e934 AJ |
25641 | ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS |
25642 | dlls/odbccp32/tests/Makefile: dlls/odbccp32/tests/Makefile.in dlls/Maketest.rules" | |
fbc80d79 MM |
25643 | ac_config_files="$ac_config_files dlls/odbccp32/tests/Makefile" |
25644 | ||
a360e934 AJ |
25645 | ALL_MAKEFILES="$ALL_MAKEFILES \\ |
25646 | dlls/ole32/Makefile" | |
485cc59c | 25647 | test "x$enable_ole32" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\ |
49163da1 | 25648 | ole32" |
a360e934 AJ |
25649 | ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS |
25650 | dlls/ole32/Makefile: dlls/ole32/Makefile.in dlls/Makedll.rules" | |
fbc80d79 MM |
25651 | ac_config_files="$ac_config_files dlls/ole32/Makefile" |
25652 | ||
a360e934 AJ |
25653 | ALL_MAKEFILES="$ALL_MAKEFILES \\ |
25654 | dlls/ole32/tests/Makefile" | |
35078f4b | 25655 | test "x$enable_tests" != xno && ALL_TEST_DIRS="$ALL_TEST_DIRS \\ |
49163da1 | 25656 | ole32/tests" |
a360e934 AJ |
25657 | ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS |
25658 | dlls/ole32/tests/Makefile: dlls/ole32/tests/Makefile.in dlls/Maketest.rules" | |
fbc80d79 MM |
25659 | ac_config_files="$ac_config_files dlls/ole32/tests/Makefile" |
25660 | ||
a360e934 AJ |
25661 | ALL_MAKEFILES="$ALL_MAKEFILES \\ |
25662 | dlls/oleacc/Makefile" | |
485cc59c | 25663 | test "x$enable_oleacc" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\ |
49163da1 | 25664 | oleacc" |
a360e934 AJ |
25665 | ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS |
25666 | dlls/oleacc/Makefile: dlls/oleacc/Makefile.in dlls/Makedll.rules" | |
fbc80d79 MM |
25667 | ac_config_files="$ac_config_files dlls/oleacc/Makefile" |
25668 | ||
e2399a96 NS |
25669 | ALL_MAKEFILES="$ALL_MAKEFILES \\ |
25670 | dlls/oleacc/tests/Makefile" | |
35078f4b | 25671 | test "x$enable_tests" != xno && ALL_TEST_DIRS="$ALL_TEST_DIRS \\ |
e2399a96 NS |
25672 | oleacc/tests" |
25673 | ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS | |
25674 | dlls/oleacc/tests/Makefile: dlls/oleacc/tests/Makefile.in dlls/Maketest.rules" | |
25675 | ac_config_files="$ac_config_files dlls/oleacc/tests/Makefile" | |
25676 | ||
a360e934 AJ |
25677 | ALL_MAKEFILES="$ALL_MAKEFILES \\ |
25678 | dlls/oleaut32/Makefile" | |
485cc59c | 25679 | test "x$enable_oleaut32" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\ |
49163da1 | 25680 | oleaut32" |
a360e934 AJ |
25681 | ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS |
25682 | dlls/oleaut32/Makefile: dlls/oleaut32/Makefile.in dlls/Makedll.rules" | |
fbc80d79 MM |
25683 | ac_config_files="$ac_config_files dlls/oleaut32/Makefile" |
25684 | ||
a360e934 AJ |
25685 | ALL_MAKEFILES="$ALL_MAKEFILES \\ |
25686 | dlls/oleaut32/tests/Makefile" | |
35078f4b | 25687 | test "x$enable_tests" != xno && ALL_TEST_DIRS="$ALL_TEST_DIRS \\ |
49163da1 | 25688 | oleaut32/tests" |
a360e934 AJ |
25689 | ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS |
25690 | dlls/oleaut32/tests/Makefile: dlls/oleaut32/tests/Makefile.in dlls/Maketest.rules" | |
fbc80d79 MM |
25691 | ac_config_files="$ac_config_files dlls/oleaut32/tests/Makefile" |
25692 | ||
a360e934 AJ |
25693 | ALL_MAKEFILES="$ALL_MAKEFILES \\ |
25694 | dlls/olecli32/Makefile" | |
485cc59c | 25695 | test "x$enable_olecli32" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\ |
49163da1 | 25696 | olecli32" |
a360e934 AJ |
25697 | ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS |
25698 | dlls/olecli32/Makefile: dlls/olecli32/Makefile.in dlls/Makedll.rules" | |
fbc80d79 MM |
25699 | ac_config_files="$ac_config_files dlls/olecli32/Makefile" |
25700 | ||
a360e934 AJ |
25701 | ALL_MAKEFILES="$ALL_MAKEFILES \\ |
25702 | dlls/oledlg/Makefile" | |
485cc59c | 25703 | test "x$enable_oledlg" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\ |
49163da1 | 25704 | oledlg" |
a360e934 AJ |
25705 | ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS |
25706 | dlls/oledlg/Makefile: dlls/oledlg/Makefile.in dlls/Makedll.rules" | |
fbc80d79 MM |
25707 | ac_config_files="$ac_config_files dlls/oledlg/Makefile" |
25708 | ||
a360e934 AJ |
25709 | ALL_MAKEFILES="$ALL_MAKEFILES \\ |
25710 | dlls/olepro32/Makefile" | |
485cc59c | 25711 | test "x$enable_olepro32" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\ |
49163da1 | 25712 | olepro32" |
a360e934 AJ |
25713 | ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS |
25714 | dlls/olepro32/Makefile: dlls/olepro32/Makefile.in dlls/Makedll.rules" | |
fbc80d79 MM |
25715 | ac_config_files="$ac_config_files dlls/olepro32/Makefile" |
25716 | ||
a360e934 AJ |
25717 | ALL_MAKEFILES="$ALL_MAKEFILES \\ |
25718 | dlls/olesvr32/Makefile" | |
485cc59c | 25719 | test "x$enable_olesvr32" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\ |
49163da1 | 25720 | olesvr32" |
a360e934 AJ |
25721 | ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS |
25722 | dlls/olesvr32/Makefile: dlls/olesvr32/Makefile.in dlls/Makedll.rules" | |
fbc80d79 MM |
25723 | ac_config_files="$ac_config_files dlls/olesvr32/Makefile" |
25724 | ||
a360e934 AJ |
25725 | ALL_MAKEFILES="$ALL_MAKEFILES \\ |
25726 | dlls/olethk32/Makefile" | |
485cc59c | 25727 | test "x$enable_olethk32" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\ |
49163da1 | 25728 | olethk32" |
a360e934 AJ |
25729 | ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS |
25730 | dlls/olethk32/Makefile: dlls/olethk32/Makefile.in dlls/Makedll.rules" | |
7db1bd9f SL |
25731 | ac_config_files="$ac_config_files dlls/olethk32/Makefile" |
25732 | ||
a360e934 AJ |
25733 | ALL_MAKEFILES="$ALL_MAKEFILES \\ |
25734 | dlls/opengl32/Makefile" | |
485cc59c | 25735 | test "x$enable_opengl32" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\ |
49163da1 | 25736 | opengl32" |
a360e934 AJ |
25737 | ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS |
25738 | dlls/opengl32/Makefile: dlls/opengl32/Makefile.in dlls/Makedll.rules" | |
fbc80d79 MM |
25739 | ac_config_files="$ac_config_files dlls/opengl32/Makefile" |
25740 | ||
a360e934 AJ |
25741 | ALL_MAKEFILES="$ALL_MAKEFILES \\ |
25742 | dlls/opengl32/tests/Makefile" | |
35078f4b | 25743 | test "x$enable_tests" != xno && ALL_TEST_DIRS="$ALL_TEST_DIRS \\ |
49163da1 | 25744 | opengl32/tests" |
a360e934 AJ |
25745 | ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS |
25746 | dlls/opengl32/tests/Makefile: dlls/opengl32/tests/Makefile.in dlls/Maketest.rules" | |
219269c0 RC |
25747 | ac_config_files="$ac_config_files dlls/opengl32/tests/Makefile" |
25748 | ||
a360e934 AJ |
25749 | ALL_MAKEFILES="$ALL_MAKEFILES \\ |
25750 | dlls/pdh/Makefile" | |
485cc59c | 25751 | test "x$enable_pdh" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\ |
49163da1 | 25752 | pdh" |
a360e934 AJ |
25753 | ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS |
25754 | dlls/pdh/Makefile: dlls/pdh/Makefile.in dlls/Makedll.rules" | |
41f15a76 AT |
25755 | ac_config_files="$ac_config_files dlls/pdh/Makefile" |
25756 | ||
a360e934 AJ |
25757 | ALL_MAKEFILES="$ALL_MAKEFILES \\ |
25758 | dlls/pdh/tests/Makefile" | |
35078f4b | 25759 | test "x$enable_tests" != xno && ALL_TEST_DIRS="$ALL_TEST_DIRS \\ |
49163da1 | 25760 | pdh/tests" |
a360e934 AJ |
25761 | ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS |
25762 | dlls/pdh/tests/Makefile: dlls/pdh/tests/Makefile.in dlls/Maketest.rules" | |
0a6f6874 HL |
25763 | ac_config_files="$ac_config_files dlls/pdh/tests/Makefile" |
25764 | ||
a360e934 AJ |
25765 | ALL_MAKEFILES="$ALL_MAKEFILES \\ |
25766 | dlls/powrprof/Makefile" | |
485cc59c | 25767 | test "x$enable_powrprof" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\ |
49163da1 | 25768 | powrprof" |
a360e934 AJ |
25769 | ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS |
25770 | dlls/powrprof/Makefile: dlls/powrprof/Makefile.in dlls/Makedll.rules" | |
fbc80d79 MM |
25771 | ac_config_files="$ac_config_files dlls/powrprof/Makefile" |
25772 | ||
a360e934 AJ |
25773 | ALL_MAKEFILES="$ALL_MAKEFILES \\ |
25774 | dlls/printui/Makefile" | |
485cc59c | 25775 | test "x$enable_printui" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\ |
49163da1 | 25776 | printui" |
a360e934 AJ |
25777 | ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS |
25778 | dlls/printui/Makefile: dlls/printui/Makefile.in dlls/Makedll.rules" | |
3fd4a536 DR |
25779 | ac_config_files="$ac_config_files dlls/printui/Makefile" |
25780 | ||
a360e934 AJ |
25781 | ALL_MAKEFILES="$ALL_MAKEFILES \\ |
25782 | dlls/propsys/Makefile" | |
485cc59c | 25783 | test "x$enable_propsys" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\ |
49163da1 | 25784 | propsys" |
a360e934 AJ |
25785 | ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS |
25786 | dlls/propsys/Makefile: dlls/propsys/Makefile.in dlls/Makedll.rules" | |
07588027 JH |
25787 | ac_config_files="$ac_config_files dlls/propsys/Makefile" |
25788 | ||
a360e934 AJ |
25789 | ALL_MAKEFILES="$ALL_MAKEFILES \\ |
25790 | dlls/psapi/Makefile" | |
485cc59c | 25791 | test "x$enable_psapi" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\ |
49163da1 | 25792 | psapi" |
a360e934 AJ |
25793 | ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS |
25794 | dlls/psapi/Makefile: dlls/psapi/Makefile.in dlls/Makedll.rules" | |
fbc80d79 MM |
25795 | ac_config_files="$ac_config_files dlls/psapi/Makefile" |
25796 | ||
a360e934 AJ |
25797 | ALL_MAKEFILES="$ALL_MAKEFILES \\ |
25798 | dlls/psapi/tests/Makefile" | |
35078f4b | 25799 | test "x$enable_tests" != xno && ALL_TEST_DIRS="$ALL_TEST_DIRS \\ |
49163da1 | 25800 | psapi/tests" |
a360e934 AJ |
25801 | ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS |
25802 | dlls/psapi/tests/Makefile: dlls/psapi/tests/Makefile.in dlls/Maketest.rules" | |
fbc80d79 MM |
25803 | ac_config_files="$ac_config_files dlls/psapi/tests/Makefile" |
25804 | ||
a360e934 AJ |
25805 | ALL_MAKEFILES="$ALL_MAKEFILES \\ |
25806 | dlls/pstorec/Makefile" | |
485cc59c | 25807 | test "x$enable_pstorec" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\ |
49163da1 | 25808 | pstorec" |
a360e934 AJ |
25809 | ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS |
25810 | dlls/pstorec/Makefile: dlls/pstorec/Makefile.in dlls/Makedll.rules" | |
fbc80d79 MM |
25811 | ac_config_files="$ac_config_files dlls/pstorec/Makefile" |
25812 | ||
a360e934 AJ |
25813 | ALL_MAKEFILES="$ALL_MAKEFILES \\ |
25814 | dlls/qcap/Makefile" | |
485cc59c | 25815 | test "x$enable_qcap" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\ |
49163da1 | 25816 | qcap" |
a360e934 AJ |
25817 | ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS |
25818 | dlls/qcap/Makefile: dlls/qcap/Makefile.in dlls/Makedll.rules" | |
fbc80d79 MM |
25819 | ac_config_files="$ac_config_files dlls/qcap/Makefile" |
25820 | ||
a360e934 AJ |
25821 | ALL_MAKEFILES="$ALL_MAKEFILES \\ |
25822 | dlls/qedit/Makefile" | |
485cc59c | 25823 | test "x$enable_qedit" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\ |
49163da1 | 25824 | qedit" |
a360e934 AJ |
25825 | ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS |
25826 | dlls/qedit/Makefile: dlls/qedit/Makefile.in dlls/Makedll.rules" | |
6de8be71 LZ |
25827 | ac_config_files="$ac_config_files dlls/qedit/Makefile" |
25828 | ||
a360e934 AJ |
25829 | ALL_MAKEFILES="$ALL_MAKEFILES \\ |
25830 | dlls/qedit/tests/Makefile" | |
35078f4b | 25831 | test "x$enable_tests" != xno && ALL_TEST_DIRS="$ALL_TEST_DIRS \\ |
49163da1 | 25832 | qedit/tests" |
a360e934 AJ |
25833 | ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS |
25834 | dlls/qedit/tests/Makefile: dlls/qedit/tests/Makefile.in dlls/Maketest.rules" | |
e8551a07 LZ |
25835 | ac_config_files="$ac_config_files dlls/qedit/tests/Makefile" |
25836 | ||
a360e934 AJ |
25837 | ALL_MAKEFILES="$ALL_MAKEFILES \\ |
25838 | dlls/qmgr/Makefile" | |
485cc59c | 25839 | test "x$enable_qmgr" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\ |
49163da1 | 25840 | qmgr" |
a360e934 AJ |
25841 | ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS |
25842 | dlls/qmgr/Makefile: dlls/qmgr/Makefile.in dlls/Makedll.rules" | |
2b0255f6 RS |
25843 | ac_config_files="$ac_config_files dlls/qmgr/Makefile" |
25844 | ||
a360e934 AJ |
25845 | ALL_MAKEFILES="$ALL_MAKEFILES \\ |
25846 | dlls/qmgr/tests/Makefile" | |
35078f4b | 25847 | test "x$enable_tests" != xno && ALL_TEST_DIRS="$ALL_TEST_DIRS \\ |
49163da1 | 25848 | qmgr/tests" |
a360e934 AJ |
25849 | ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS |
25850 | dlls/qmgr/tests/Makefile: dlls/qmgr/tests/Makefile.in dlls/Maketest.rules" | |
884e7e7b RS |
25851 | ac_config_files="$ac_config_files dlls/qmgr/tests/Makefile" |
25852 | ||
a360e934 AJ |
25853 | ALL_MAKEFILES="$ALL_MAKEFILES \\ |
25854 | dlls/qmgrprxy/Makefile" | |
485cc59c | 25855 | test "x$enable_qmgrprxy" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\ |
49163da1 | 25856 | qmgrprxy" |
a360e934 AJ |
25857 | ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS |
25858 | dlls/qmgrprxy/Makefile: dlls/qmgrprxy/Makefile.in dlls/Makedll.rules" | |
00ef4e58 RS |
25859 | ac_config_files="$ac_config_files dlls/qmgrprxy/Makefile" |
25860 | ||
a360e934 AJ |
25861 | ALL_MAKEFILES="$ALL_MAKEFILES \\ |
25862 | dlls/quartz/Makefile" | |
485cc59c | 25863 | test "x$enable_quartz" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\ |
49163da1 | 25864 | quartz" |
a360e934 AJ |
25865 | ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS |
25866 | dlls/quartz/Makefile: dlls/quartz/Makefile.in dlls/Makedll.rules" | |
fbc80d79 MM |
25867 | ac_config_files="$ac_config_files dlls/quartz/Makefile" |
25868 | ||
a360e934 AJ |
25869 | ALL_MAKEFILES="$ALL_MAKEFILES \\ |
25870 | dlls/quartz/tests/Makefile" | |
35078f4b | 25871 | test "x$enable_tests" != xno && ALL_TEST_DIRS="$ALL_TEST_DIRS \\ |
49163da1 | 25872 | quartz/tests" |
a360e934 AJ |
25873 | ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS |
25874 | dlls/quartz/tests/Makefile: dlls/quartz/tests/Makefile.in dlls/Maketest.rules" | |
fbc80d79 MM |
25875 | ac_config_files="$ac_config_files dlls/quartz/tests/Makefile" |
25876 | ||
a360e934 AJ |
25877 | ALL_MAKEFILES="$ALL_MAKEFILES \\ |
25878 | dlls/query/Makefile" | |
485cc59c | 25879 | test "x$enable_query" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\ |
49163da1 | 25880 | query" |
a360e934 AJ |
25881 | ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS |
25882 | dlls/query/Makefile: dlls/query/Makefile.in dlls/Makedll.rules" | |
fbc80d79 MM |
25883 | ac_config_files="$ac_config_files dlls/query/Makefile" |
25884 | ||
a360e934 AJ |
25885 | ALL_MAKEFILES="$ALL_MAKEFILES \\ |
25886 | dlls/rasapi32/Makefile" | |
485cc59c | 25887 | test "x$enable_rasapi32" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\ |
49163da1 | 25888 | rasapi32" |
a360e934 AJ |
25889 | ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS |
25890 | dlls/rasapi32/Makefile: dlls/rasapi32/Makefile.in dlls/Makedll.rules" | |
fbc80d79 MM |
25891 | ac_config_files="$ac_config_files dlls/rasapi32/Makefile" |
25892 | ||
a360e934 AJ |
25893 | ALL_MAKEFILES="$ALL_MAKEFILES \\ |
25894 | dlls/rasapi32/tests/Makefile" | |
35078f4b | 25895 | test "x$enable_tests" != xno && ALL_TEST_DIRS="$ALL_TEST_DIRS \\ |
49163da1 | 25896 | rasapi32/tests" |
a360e934 AJ |
25897 | ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS |
25898 | dlls/rasapi32/tests/Makefile: dlls/rasapi32/tests/Makefile.in dlls/Maketest.rules" | |
b8c6d8e5 SL |
25899 | ac_config_files="$ac_config_files dlls/rasapi32/tests/Makefile" |
25900 | ||
a360e934 AJ |
25901 | ALL_MAKEFILES="$ALL_MAKEFILES \\ |
25902 | dlls/resutils/Makefile" | |
485cc59c | 25903 | test "x$enable_resutils" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\ |
49163da1 | 25904 | resutils" |
a360e934 AJ |
25905 | ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS |
25906 | dlls/resutils/Makefile: dlls/resutils/Makefile.in dlls/Makedll.rules" | |
fbc80d79 MM |
25907 | ac_config_files="$ac_config_files dlls/resutils/Makefile" |
25908 | ||
a360e934 AJ |
25909 | ALL_MAKEFILES="$ALL_MAKEFILES \\ |
25910 | dlls/riched20/Makefile" | |
485cc59c | 25911 | test "x$enable_riched20" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\ |
49163da1 | 25912 | riched20" |
a360e934 AJ |
25913 | ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS |
25914 | dlls/riched20/Makefile: dlls/riched20/Makefile.in dlls/Makedll.rules" | |
fbc80d79 MM |
25915 | ac_config_files="$ac_config_files dlls/riched20/Makefile" |
25916 | ||
a360e934 AJ |
25917 | ALL_MAKEFILES="$ALL_MAKEFILES \\ |
25918 | dlls/riched20/tests/Makefile" | |
35078f4b | 25919 | test "x$enable_tests" != xno && ALL_TEST_DIRS="$ALL_TEST_DIRS \\ |
49163da1 | 25920 | riched20/tests" |
a360e934 AJ |
25921 | ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS |
25922 | dlls/riched20/tests/Makefile: dlls/riched20/tests/Makefile.in dlls/Maketest.rules" | |
fbc80d79 MM |
25923 | ac_config_files="$ac_config_files dlls/riched20/tests/Makefile" |
25924 | ||
a360e934 AJ |
25925 | ALL_MAKEFILES="$ALL_MAKEFILES \\ |
25926 | dlls/riched32/Makefile" | |
485cc59c | 25927 | test "x$enable_riched32" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\ |
49163da1 | 25928 | riched32" |
a360e934 AJ |
25929 | ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS |
25930 | dlls/riched32/Makefile: dlls/riched32/Makefile.in dlls/Makedll.rules" | |
fbc80d79 MM |
25931 | ac_config_files="$ac_config_files dlls/riched32/Makefile" |
25932 | ||
a360e934 AJ |
25933 | ALL_MAKEFILES="$ALL_MAKEFILES \\ |
25934 | dlls/riched32/tests/Makefile" | |
35078f4b | 25935 | test "x$enable_tests" != xno && ALL_TEST_DIRS="$ALL_TEST_DIRS \\ |
49163da1 | 25936 | riched32/tests" |
a360e934 AJ |
25937 | ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS |
25938 | dlls/riched32/tests/Makefile: dlls/riched32/tests/Makefile.in dlls/Maketest.rules" | |
74cd5903 AVL |
25939 | ac_config_files="$ac_config_files dlls/riched32/tests/Makefile" |
25940 | ||
a360e934 AJ |
25941 | ALL_MAKEFILES="$ALL_MAKEFILES \\ |
25942 | dlls/rpcrt4/Makefile" | |
485cc59c | 25943 | test "x$enable_rpcrt4" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\ |
49163da1 | 25944 | rpcrt4" |
a360e934 AJ |
25945 | ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS |
25946 | dlls/rpcrt4/Makefile: dlls/rpcrt4/Makefile.in dlls/Makedll.rules" | |
fbc80d79 MM |
25947 | ac_config_files="$ac_config_files dlls/rpcrt4/Makefile" |
25948 | ||
a360e934 AJ |
25949 | ALL_MAKEFILES="$ALL_MAKEFILES \\ |
25950 | dlls/rpcrt4/tests/Makefile" | |
35078f4b | 25951 | test "x$enable_tests" != xno && ALL_TEST_DIRS="$ALL_TEST_DIRS \\ |
49163da1 | 25952 | rpcrt4/tests" |
a360e934 AJ |
25953 | ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS |
25954 | dlls/rpcrt4/tests/Makefile: dlls/rpcrt4/tests/Makefile.in dlls/Maketest.rules" | |
fbc80d79 MM |
25955 | ac_config_files="$ac_config_files dlls/rpcrt4/tests/Makefile" |
25956 | ||
a360e934 AJ |
25957 | ALL_MAKEFILES="$ALL_MAKEFILES \\ |
25958 | dlls/rsabase/Makefile" | |
485cc59c | 25959 | test "x$enable_rsabase" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\ |
49163da1 | 25960 | rsabase" |
a360e934 AJ |
25961 | ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS |
25962 | dlls/rsabase/Makefile: dlls/rsabase/Makefile.in dlls/Makedll.rules" | |
fbc80d79 MM |
25963 | ac_config_files="$ac_config_files dlls/rsabase/Makefile" |
25964 | ||
a360e934 AJ |
25965 | ALL_MAKEFILES="$ALL_MAKEFILES \\ |
25966 | dlls/rsaenh/Makefile" | |
485cc59c | 25967 | test "x$enable_rsaenh" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\ |
49163da1 | 25968 | rsaenh" |
a360e934 AJ |
25969 | ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS |
25970 | dlls/rsaenh/Makefile: dlls/rsaenh/Makefile.in dlls/Makedll.rules" | |
fbc80d79 MM |
25971 | ac_config_files="$ac_config_files dlls/rsaenh/Makefile" |
25972 | ||
a360e934 AJ |
25973 | ALL_MAKEFILES="$ALL_MAKEFILES \\ |
25974 | dlls/rsaenh/tests/Makefile" | |
35078f4b | 25975 | test "x$enable_tests" != xno && ALL_TEST_DIRS="$ALL_TEST_DIRS \\ |
49163da1 | 25976 | rsaenh/tests" |
a360e934 AJ |
25977 | ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS |
25978 | dlls/rsaenh/tests/Makefile: dlls/rsaenh/tests/Makefile.in dlls/Maketest.rules" | |
fbc80d79 MM |
25979 | ac_config_files="$ac_config_files dlls/rsaenh/tests/Makefile" |
25980 | ||
a360e934 AJ |
25981 | ALL_MAKEFILES="$ALL_MAKEFILES \\ |
25982 | dlls/sane.ds/Makefile" | |
485cc59c | 25983 | test "x$enable_sane_ds" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\ |
49163da1 | 25984 | sane.ds" |
a360e934 AJ |
25985 | ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS |
25986 | dlls/sane.ds/Makefile: dlls/sane.ds/Makefile.in dlls/Makedll.rules" | |
fbc80d79 MM |
25987 | ac_config_files="$ac_config_files dlls/sane.ds/Makefile" |
25988 | ||
a360e934 AJ |
25989 | ALL_MAKEFILES="$ALL_MAKEFILES \\ |
25990 | dlls/sccbase/Makefile" | |
485cc59c | 25991 | test "x$enable_sccbase" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\ |
49163da1 | 25992 | sccbase" |
a360e934 AJ |
25993 | ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS |
25994 | dlls/sccbase/Makefile: dlls/sccbase/Makefile.in dlls/Makedll.rules" | |
322d4cab ML |
25995 | ac_config_files="$ac_config_files dlls/sccbase/Makefile" |
25996 | ||
a360e934 AJ |
25997 | ALL_MAKEFILES="$ALL_MAKEFILES \\ |
25998 | dlls/schannel/Makefile" | |
485cc59c | 25999 | test "x$enable_schannel" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\ |
49163da1 | 26000 | schannel" |
a360e934 AJ |
26001 | ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS |
26002 | dlls/schannel/Makefile: dlls/schannel/Makefile.in dlls/Makedll.rules" | |
361c6f20 RS |
26003 | ac_config_files="$ac_config_files dlls/schannel/Makefile" |
26004 | ||
a360e934 AJ |
26005 | ALL_MAKEFILES="$ALL_MAKEFILES \\ |
26006 | dlls/schannel/tests/Makefile" | |
35078f4b | 26007 | test "x$enable_tests" != xno && ALL_TEST_DIRS="$ALL_TEST_DIRS \\ |
49163da1 | 26008 | schannel/tests" |
a360e934 AJ |
26009 | ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS |
26010 | dlls/schannel/tests/Makefile: dlls/schannel/tests/Makefile.in dlls/Maketest.rules" | |
735df246 YF |
26011 | ac_config_files="$ac_config_files dlls/schannel/tests/Makefile" |
26012 | ||
a360e934 AJ |
26013 | ALL_MAKEFILES="$ALL_MAKEFILES \\ |
26014 | dlls/secur32/Makefile" | |
485cc59c | 26015 | test "x$enable_secur32" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\ |
49163da1 | 26016 | secur32" |
a360e934 AJ |
26017 | ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS |
26018 | dlls/secur32/Makefile: dlls/secur32/Makefile.in dlls/Makedll.rules" | |
fbc80d79 MM |
26019 | ac_config_files="$ac_config_files dlls/secur32/Makefile" |
26020 | ||
a360e934 AJ |
26021 | ALL_MAKEFILES="$ALL_MAKEFILES \\ |
26022 | dlls/secur32/tests/Makefile" | |
35078f4b | 26023 | test "x$enable_tests" != xno && ALL_TEST_DIRS="$ALL_TEST_DIRS \\ |
49163da1 | 26024 | secur32/tests" |
a360e934 AJ |
26025 | ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS |
26026 | dlls/secur32/tests/Makefile: dlls/secur32/tests/Makefile.in dlls/Maketest.rules" | |
fbc80d79 MM |
26027 | ac_config_files="$ac_config_files dlls/secur32/tests/Makefile" |
26028 | ||
a360e934 AJ |
26029 | ALL_MAKEFILES="$ALL_MAKEFILES \\ |
26030 | dlls/security/Makefile" | |
485cc59c | 26031 | test "x$enable_security" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\ |
49163da1 | 26032 | security" |
a360e934 AJ |
26033 | ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS |
26034 | dlls/security/Makefile: dlls/security/Makefile.in dlls/Makedll.rules" | |
fbc80d79 MM |
26035 | ac_config_files="$ac_config_files dlls/security/Makefile" |
26036 | ||
a360e934 AJ |
26037 | ALL_MAKEFILES="$ALL_MAKEFILES \\ |
26038 | dlls/sensapi/Makefile" | |
485cc59c | 26039 | test "x$enable_sensapi" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\ |
49163da1 | 26040 | sensapi" |
a360e934 AJ |
26041 | ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS |
26042 | dlls/sensapi/Makefile: dlls/sensapi/Makefile.in dlls/Makedll.rules" | |
fbc80d79 MM |
26043 | ac_config_files="$ac_config_files dlls/sensapi/Makefile" |
26044 | ||
a360e934 AJ |
26045 | ALL_MAKEFILES="$ALL_MAKEFILES \\ |
26046 | dlls/serialui/Makefile" | |
485cc59c | 26047 | test "x$enable_serialui" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\ |
49163da1 | 26048 | serialui" |
a360e934 AJ |
26049 | ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS |
26050 | dlls/serialui/Makefile: dlls/serialui/Makefile.in dlls/Makedll.rules" | |
fbc80d79 MM |
26051 | ac_config_files="$ac_config_files dlls/serialui/Makefile" |
26052 | ||
a360e934 AJ |
26053 | ALL_MAKEFILES="$ALL_MAKEFILES \\ |
26054 | dlls/serialui/tests/Makefile" | |
35078f4b | 26055 | test "x$enable_tests" != xno && ALL_TEST_DIRS="$ALL_TEST_DIRS \\ |
49163da1 | 26056 | serialui/tests" |
a360e934 AJ |
26057 | ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS |
26058 | dlls/serialui/tests/Makefile: dlls/serialui/tests/Makefile.in dlls/Maketest.rules" | |
fbc80d79 MM |
26059 | ac_config_files="$ac_config_files dlls/serialui/tests/Makefile" |
26060 | ||
a360e934 AJ |
26061 | ALL_MAKEFILES="$ALL_MAKEFILES \\ |
26062 | dlls/setupapi/Makefile" | |
485cc59c | 26063 | test "x$enable_setupapi" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\ |
49163da1 | 26064 | setupapi" |
a360e934 AJ |
26065 | ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS |
26066 | dlls/setupapi/Makefile: dlls/setupapi/Makefile.in dlls/Makedll.rules" | |
fbc80d79 MM |
26067 | ac_config_files="$ac_config_files dlls/setupapi/Makefile" |
26068 | ||
a360e934 AJ |
26069 | ALL_MAKEFILES="$ALL_MAKEFILES \\ |
26070 | dlls/setupapi/tests/Makefile" | |
35078f4b | 26071 | test "x$enable_tests" != xno && ALL_TEST_DIRS="$ALL_TEST_DIRS \\ |
49163da1 | 26072 | setupapi/tests" |
a360e934 AJ |
26073 | ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS |
26074 | dlls/setupapi/tests/Makefile: dlls/setupapi/tests/Makefile.in dlls/Maketest.rules" | |
fbc80d79 MM |
26075 | ac_config_files="$ac_config_files dlls/setupapi/tests/Makefile" |
26076 | ||
a360e934 AJ |
26077 | ALL_MAKEFILES="$ALL_MAKEFILES \\ |
26078 | dlls/sfc/Makefile" | |
485cc59c | 26079 | test "x$enable_sfc" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\ |
49163da1 | 26080 | sfc" |
a360e934 AJ |
26081 | ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS |
26082 | dlls/sfc/Makefile: dlls/sfc/Makefile.in dlls/Makedll.rules" | |
fbc80d79 MM |
26083 | ac_config_files="$ac_config_files dlls/sfc/Makefile" |
26084 | ||
a360e934 AJ |
26085 | ALL_MAKEFILES="$ALL_MAKEFILES \\ |
26086 | dlls/sfc_os/Makefile" | |
485cc59c | 26087 | test "x$enable_sfc_os" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\ |
49163da1 | 26088 | sfc_os" |
a360e934 AJ |
26089 | ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS |
26090 | dlls/sfc_os/Makefile: dlls/sfc_os/Makefile.in dlls/Makedll.rules" | |
fbc80d79 MM |
26091 | ac_config_files="$ac_config_files dlls/sfc_os/Makefile" |
26092 | ||
a360e934 AJ |
26093 | ALL_MAKEFILES="$ALL_MAKEFILES \\ |
26094 | dlls/shdoclc/Makefile" | |
485cc59c | 26095 | test "x$enable_shdoclc" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\ |
49163da1 | 26096 | shdoclc" |
a360e934 AJ |
26097 | ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS |
26098 | dlls/shdoclc/Makefile: dlls/shdoclc/Makefile.in dlls/Makedll.rules" | |
fbc80d79 MM |
26099 | ac_config_files="$ac_config_files dlls/shdoclc/Makefile" |
26100 | ||
a360e934 AJ |
26101 | ALL_MAKEFILES="$ALL_MAKEFILES \\ |
26102 | dlls/shdocvw/Makefile" | |
485cc59c | 26103 | test "x$enable_shdocvw" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\ |
49163da1 | 26104 | shdocvw" |
a360e934 AJ |
26105 | ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS |
26106 | dlls/shdocvw/Makefile: dlls/shdocvw/Makefile.in dlls/Makedll.rules" | |
fbc80d79 MM |
26107 | ac_config_files="$ac_config_files dlls/shdocvw/Makefile" |
26108 | ||
a360e934 AJ |
26109 | ALL_MAKEFILES="$ALL_MAKEFILES \\ |
26110 | dlls/shdocvw/tests/Makefile" | |
35078f4b | 26111 | test "x$enable_tests" != xno && ALL_TEST_DIRS="$ALL_TEST_DIRS \\ |
49163da1 | 26112 | shdocvw/tests" |
a360e934 AJ |
26113 | ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS |
26114 | dlls/shdocvw/tests/Makefile: dlls/shdocvw/tests/Makefile.in dlls/Maketest.rules" | |
fbc80d79 MM |
26115 | ac_config_files="$ac_config_files dlls/shdocvw/tests/Makefile" |
26116 | ||
a360e934 AJ |
26117 | ALL_MAKEFILES="$ALL_MAKEFILES \\ |
26118 | dlls/shell32/Makefile" | |
485cc59c | 26119 | test "x$enable_shell32" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\ |
49163da1 | 26120 | shell32" |
a360e934 AJ |
26121 | ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS |
26122 | dlls/shell32/Makefile: dlls/shell32/Makefile.in dlls/Makedll.rules" | |
fbc80d79 MM |
26123 | ac_config_files="$ac_config_files dlls/shell32/Makefile" |
26124 | ||
a360e934 AJ |
26125 | ALL_MAKEFILES="$ALL_MAKEFILES \\ |
26126 | dlls/shell32/tests/Makefile" | |
35078f4b | 26127 | test "x$enable_tests" != xno && ALL_TEST_DIRS="$ALL_TEST_DIRS \\ |
49163da1 | 26128 | shell32/tests" |
a360e934 AJ |
26129 | ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS |
26130 | dlls/shell32/tests/Makefile: dlls/shell32/tests/Makefile.in dlls/Maketest.rules" | |
fbc80d79 MM |
26131 | ac_config_files="$ac_config_files dlls/shell32/tests/Makefile" |
26132 | ||
a360e934 AJ |
26133 | ALL_MAKEFILES="$ALL_MAKEFILES \\ |
26134 | dlls/shfolder/Makefile" | |
485cc59c | 26135 | test "x$enable_shfolder" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\ |
49163da1 | 26136 | shfolder" |
a360e934 AJ |
26137 | ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS |
26138 | dlls/shfolder/Makefile: dlls/shfolder/Makefile.in dlls/Makedll.rules" | |
fbc80d79 MM |
26139 | ac_config_files="$ac_config_files dlls/shfolder/Makefile" |
26140 | ||
a360e934 AJ |
26141 | ALL_MAKEFILES="$ALL_MAKEFILES \\ |
26142 | dlls/shlwapi/Makefile" | |
485cc59c | 26143 | test "x$enable_shlwapi" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\ |
49163da1 | 26144 | shlwapi" |
a360e934 AJ |
26145 | ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS |
26146 | dlls/shlwapi/Makefile: dlls/shlwapi/Makefile.in dlls/Makedll.rules" | |
fbc80d79 MM |
26147 | ac_config_files="$ac_config_files dlls/shlwapi/Makefile" |
26148 | ||
a360e934 AJ |
26149 | ALL_MAKEFILES="$ALL_MAKEFILES \\ |
26150 | dlls/shlwapi/tests/Makefile" | |
35078f4b | 26151 | test "x$enable_tests" != xno && ALL_TEST_DIRS="$ALL_TEST_DIRS \\ |
49163da1 | 26152 | shlwapi/tests" |
a360e934 AJ |
26153 | ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS |
26154 | dlls/shlwapi/tests/Makefile: dlls/shlwapi/tests/Makefile.in dlls/Maketest.rules" | |
fbc80d79 MM |
26155 | ac_config_files="$ac_config_files dlls/shlwapi/tests/Makefile" |
26156 | ||
a360e934 AJ |
26157 | ALL_MAKEFILES="$ALL_MAKEFILES \\ |
26158 | dlls/slbcsp/Makefile" | |
485cc59c | 26159 | test "x$enable_slbcsp" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\ |
49163da1 | 26160 | slbcsp" |
a360e934 AJ |
26161 | ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS |
26162 | dlls/slbcsp/Makefile: dlls/slbcsp/Makefile.in dlls/Makedll.rules" | |
b3a9699a ML |
26163 | ac_config_files="$ac_config_files dlls/slbcsp/Makefile" |
26164 | ||
a360e934 AJ |
26165 | ALL_MAKEFILES="$ALL_MAKEFILES \\ |
26166 | dlls/slc/Makefile" | |
485cc59c | 26167 | test "x$enable_slc" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\ |
49163da1 | 26168 | slc" |
a360e934 AJ |
26169 | ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS |
26170 | dlls/slc/Makefile: dlls/slc/Makefile.in dlls/Makedll.rules" | |
ea563709 ALH |
26171 | ac_config_files="$ac_config_files dlls/slc/Makefile" |
26172 | ||
a360e934 AJ |
26173 | ALL_MAKEFILES="$ALL_MAKEFILES \\ |
26174 | dlls/snmpapi/Makefile" | |
485cc59c | 26175 | test "x$enable_snmpapi" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\ |
49163da1 | 26176 | snmpapi" |
a360e934 AJ |
26177 | ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS |
26178 | dlls/snmpapi/Makefile: dlls/snmpapi/Makefile.in dlls/Makedll.rules" | |
fbc80d79 MM |
26179 | ac_config_files="$ac_config_files dlls/snmpapi/Makefile" |
26180 | ||
a360e934 AJ |
26181 | ALL_MAKEFILES="$ALL_MAKEFILES \\ |
26182 | dlls/snmpapi/tests/Makefile" | |
35078f4b | 26183 | test "x$enable_tests" != xno && ALL_TEST_DIRS="$ALL_TEST_DIRS \\ |
49163da1 | 26184 | snmpapi/tests" |
a360e934 AJ |
26185 | ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS |
26186 | dlls/snmpapi/tests/Makefile: dlls/snmpapi/tests/Makefile.in dlls/Maketest.rules" | |
fbc80d79 MM |
26187 | ac_config_files="$ac_config_files dlls/snmpapi/tests/Makefile" |
26188 | ||
a360e934 AJ |
26189 | ALL_MAKEFILES="$ALL_MAKEFILES \\ |
26190 | dlls/softpub/Makefile" | |
485cc59c | 26191 | test "x$enable_softpub" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\ |
49163da1 | 26192 | softpub" |
a360e934 AJ |
26193 | ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS |
26194 | dlls/softpub/Makefile: dlls/softpub/Makefile.in dlls/Makedll.rules" | |
e11826f5 ML |
26195 | ac_config_files="$ac_config_files dlls/softpub/Makefile" |
26196 | ||
a360e934 AJ |
26197 | ALL_MAKEFILES="$ALL_MAKEFILES \\ |
26198 | dlls/spoolss/Makefile" | |
485cc59c | 26199 | test "x$enable_spoolss" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\ |
49163da1 | 26200 | spoolss" |
a360e934 AJ |
26201 | ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS |
26202 | dlls/spoolss/Makefile: dlls/spoolss/Makefile.in dlls/Makedll.rules" | |
fbc80d79 MM |
26203 | ac_config_files="$ac_config_files dlls/spoolss/Makefile" |
26204 | ||
a360e934 AJ |
26205 | ALL_MAKEFILES="$ALL_MAKEFILES \\ |
26206 | dlls/spoolss/tests/Makefile" | |
35078f4b | 26207 | test "x$enable_tests" != xno && ALL_TEST_DIRS="$ALL_TEST_DIRS \\ |
49163da1 | 26208 | spoolss/tests" |
a360e934 AJ |
26209 | ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS |
26210 | dlls/spoolss/tests/Makefile: dlls/spoolss/tests/Makefile.in dlls/Maketest.rules" | |
cf122bab DR |
26211 | ac_config_files="$ac_config_files dlls/spoolss/tests/Makefile" |
26212 | ||
a360e934 AJ |
26213 | ALL_MAKEFILES="$ALL_MAKEFILES \\ |
26214 | dlls/stdole2.tlb/Makefile" | |
485cc59c | 26215 | test "x$enable_stdole2_tlb" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\ |
49163da1 | 26216 | stdole2.tlb" |
a360e934 AJ |
26217 | ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS |
26218 | dlls/stdole2.tlb/Makefile: dlls/stdole2.tlb/Makefile.in dlls/Makedll.rules" | |
fbc80d79 MM |
26219 | ac_config_files="$ac_config_files dlls/stdole2.tlb/Makefile" |
26220 | ||
a360e934 AJ |
26221 | ALL_MAKEFILES="$ALL_MAKEFILES \\ |
26222 | dlls/stdole32.tlb/Makefile" | |
485cc59c | 26223 | test "x$enable_stdole32_tlb" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\ |
49163da1 | 26224 | stdole32.tlb" |
a360e934 AJ |
26225 | ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS |
26226 | dlls/stdole32.tlb/Makefile: dlls/stdole32.tlb/Makefile.in dlls/Makedll.rules" | |
fbc80d79 MM |
26227 | ac_config_files="$ac_config_files dlls/stdole32.tlb/Makefile" |
26228 | ||
a360e934 AJ |
26229 | ALL_MAKEFILES="$ALL_MAKEFILES \\ |
26230 | dlls/sti/Makefile" | |
485cc59c | 26231 | test "x$enable_sti" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\ |
49163da1 | 26232 | sti" |
a360e934 AJ |
26233 | ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS |
26234 | dlls/sti/Makefile: dlls/sti/Makefile.in dlls/Makedll.rules" | |
fbc80d79 MM |
26235 | ac_config_files="$ac_config_files dlls/sti/Makefile" |
26236 | ||
a360e934 AJ |
26237 | ALL_MAKEFILES="$ALL_MAKEFILES \\ |
26238 | dlls/strmiids/Makefile" | |
485cc59c | 26239 | test "x$enable_strmiids" != xno && ALL_IMPLIB_DIRS="$ALL_IMPLIB_DIRS \\ |
49163da1 | 26240 | strmiids" |
a360e934 AJ |
26241 | ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS |
26242 | dlls/strmiids/Makefile: dlls/strmiids/Makefile.in dlls/Makeimplib.rules" | |
fbc80d79 MM |
26243 | ac_config_files="$ac_config_files dlls/strmiids/Makefile" |
26244 | ||
a360e934 AJ |
26245 | ALL_MAKEFILES="$ALL_MAKEFILES \\ |
26246 | dlls/svrapi/Makefile" | |
485cc59c | 26247 | test "x$enable_svrapi" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\ |
49163da1 | 26248 | svrapi" |
a360e934 AJ |
26249 | ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS |
26250 | dlls/svrapi/Makefile: dlls/svrapi/Makefile.in dlls/Makedll.rules" | |
fbc80d79 MM |
26251 | ac_config_files="$ac_config_files dlls/svrapi/Makefile" |
26252 | ||
a360e934 AJ |
26253 | ALL_MAKEFILES="$ALL_MAKEFILES \\ |
26254 | dlls/sxs/Makefile" | |
485cc59c | 26255 | test "x$enable_sxs" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\ |
49163da1 | 26256 | sxs" |
a360e934 AJ |
26257 | ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS |
26258 | dlls/sxs/Makefile: dlls/sxs/Makefile.in dlls/Makedll.rules" | |
74977dae ED |
26259 | ac_config_files="$ac_config_files dlls/sxs/Makefile" |
26260 | ||
a360e934 AJ |
26261 | ALL_MAKEFILES="$ALL_MAKEFILES \\ |
26262 | dlls/tapi32/Makefile" | |
485cc59c | 26263 | test "x$enable_tapi32" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\ |
49163da1 | 26264 | tapi32" |
a360e934 AJ |
26265 | ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS |
26266 | dlls/tapi32/Makefile: dlls/tapi32/Makefile.in dlls/Makedll.rules" | |
fbc80d79 MM |
26267 | ac_config_files="$ac_config_files dlls/tapi32/Makefile" |
26268 | ||
a360e934 AJ |
26269 | ALL_MAKEFILES="$ALL_MAKEFILES \\ |
26270 | dlls/twain_32/Makefile" | |
485cc59c | 26271 | test "x$enable_twain_32" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\ |
49163da1 | 26272 | twain_32" |
a360e934 AJ |
26273 | ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS |
26274 | dlls/twain_32/Makefile: dlls/twain_32/Makefile.in dlls/Makedll.rules" | |
fbc80d79 MM |
26275 | ac_config_files="$ac_config_files dlls/twain_32/Makefile" |
26276 | ||
a360e934 AJ |
26277 | ALL_MAKEFILES="$ALL_MAKEFILES \\ |
26278 | dlls/unicows/Makefile" | |
485cc59c | 26279 | test "x$enable_unicows" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\ |
49163da1 | 26280 | unicows" |
a360e934 AJ |
26281 | ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS |
26282 | dlls/unicows/Makefile: dlls/unicows/Makefile.in dlls/Makedll.rules" | |
fbc80d79 MM |
26283 | ac_config_files="$ac_config_files dlls/unicows/Makefile" |
26284 | ||
a360e934 AJ |
26285 | ALL_MAKEFILES="$ALL_MAKEFILES \\ |
26286 | dlls/url/Makefile" | |
485cc59c | 26287 | test "x$enable_url" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\ |
49163da1 | 26288 | url" |
a360e934 AJ |
26289 | ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS |
26290 | dlls/url/Makefile: dlls/url/Makefile.in dlls/Makedll.rules" | |
fbc80d79 MM |
26291 | ac_config_files="$ac_config_files dlls/url/Makefile" |
26292 | ||
a360e934 AJ |
26293 | ALL_MAKEFILES="$ALL_MAKEFILES \\ |
26294 | dlls/urlmon/Makefile" | |
485cc59c | 26295 | test "x$enable_urlmon" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\ |
49163da1 | 26296 | urlmon" |
a360e934 AJ |
26297 | ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS |
26298 | dlls/urlmon/Makefile: dlls/urlmon/Makefile.in dlls/Makedll.rules" | |
fbc80d79 MM |
26299 | ac_config_files="$ac_config_files dlls/urlmon/Makefile" |
26300 | ||
a360e934 AJ |
26301 | ALL_MAKEFILES="$ALL_MAKEFILES \\ |
26302 | dlls/urlmon/tests/Makefile" | |
35078f4b | 26303 | test "x$enable_tests" != xno && ALL_TEST_DIRS="$ALL_TEST_DIRS \\ |
49163da1 | 26304 | urlmon/tests" |
a360e934 AJ |
26305 | ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS |
26306 | dlls/urlmon/tests/Makefile: dlls/urlmon/tests/Makefile.in dlls/Maketest.rules" | |
fbc80d79 MM |
26307 | ac_config_files="$ac_config_files dlls/urlmon/tests/Makefile" |
26308 | ||
a360e934 AJ |
26309 | ALL_MAKEFILES="$ALL_MAKEFILES \\ |
26310 | dlls/user32/Makefile" | |
485cc59c | 26311 | test "x$enable_user32" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\ |
49163da1 | 26312 | user32" |
a360e934 AJ |
26313 | ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS |
26314 | dlls/user32/Makefile: dlls/user32/Makefile.in dlls/Makedll.rules" | |
fbc80d79 MM |
26315 | ac_config_files="$ac_config_files dlls/user32/Makefile" |
26316 | ||
a360e934 AJ |
26317 | ALL_MAKEFILES="$ALL_MAKEFILES \\ |
26318 | dlls/user32/tests/Makefile" | |
35078f4b | 26319 | test "x$enable_tests" != xno && ALL_TEST_DIRS="$ALL_TEST_DIRS \\ |
49163da1 | 26320 | user32/tests" |
a360e934 AJ |
26321 | ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS |
26322 | dlls/user32/tests/Makefile: dlls/user32/tests/Makefile.in dlls/Maketest.rules" | |
fbc80d79 MM |
26323 | ac_config_files="$ac_config_files dlls/user32/tests/Makefile" |
26324 | ||
a360e934 AJ |
26325 | ALL_MAKEFILES="$ALL_MAKEFILES \\ |
26326 | dlls/userenv/Makefile" | |
485cc59c | 26327 | test "x$enable_userenv" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\ |
49163da1 | 26328 | userenv" |
a360e934 AJ |
26329 | ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS |
26330 | dlls/userenv/Makefile: dlls/userenv/Makefile.in dlls/Makedll.rules" | |
fbc80d79 MM |
26331 | ac_config_files="$ac_config_files dlls/userenv/Makefile" |
26332 | ||
a360e934 AJ |
26333 | ALL_MAKEFILES="$ALL_MAKEFILES \\ |
26334 | dlls/userenv/tests/Makefile" | |
35078f4b | 26335 | test "x$enable_tests" != xno && ALL_TEST_DIRS="$ALL_TEST_DIRS \\ |
49163da1 | 26336 | userenv/tests" |
a360e934 AJ |
26337 | ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS |
26338 | dlls/userenv/tests/Makefile: dlls/userenv/tests/Makefile.in dlls/Maketest.rules" | |
ffb04579 LZ |
26339 | ac_config_files="$ac_config_files dlls/userenv/tests/Makefile" |
26340 | ||
a360e934 AJ |
26341 | ALL_MAKEFILES="$ALL_MAKEFILES \\ |
26342 | dlls/usp10/Makefile" | |
485cc59c | 26343 | test "x$enable_usp10" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\ |
49163da1 | 26344 | usp10" |
a360e934 AJ |
26345 | ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS |
26346 | dlls/usp10/Makefile: dlls/usp10/Makefile.in dlls/Makedll.rules" | |
fbc80d79 MM |
26347 | ac_config_files="$ac_config_files dlls/usp10/Makefile" |
26348 | ||
a360e934 AJ |
26349 | ALL_MAKEFILES="$ALL_MAKEFILES \\ |
26350 | dlls/usp10/tests/Makefile" | |
35078f4b | 26351 | test "x$enable_tests" != xno && ALL_TEST_DIRS="$ALL_TEST_DIRS \\ |
49163da1 | 26352 | usp10/tests" |
a360e934 AJ |
26353 | ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS |
26354 | dlls/usp10/tests/Makefile: dlls/usp10/tests/Makefile.in dlls/Maketest.rules" | |
fbc80d79 MM |
26355 | ac_config_files="$ac_config_files dlls/usp10/tests/Makefile" |
26356 | ||
a360e934 AJ |
26357 | ALL_MAKEFILES="$ALL_MAKEFILES \\ |
26358 | dlls/uuid/Makefile" | |
485cc59c | 26359 | test "x$enable_uuid" != xno && ALL_IMPLIB_DIRS="$ALL_IMPLIB_DIRS \\ |
49163da1 | 26360 | uuid" |
a360e934 AJ |
26361 | ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS |
26362 | dlls/uuid/Makefile: dlls/uuid/Makefile.in dlls/Makeimplib.rules" | |
fbc80d79 MM |
26363 | ac_config_files="$ac_config_files dlls/uuid/Makefile" |
26364 | ||
a360e934 AJ |
26365 | ALL_MAKEFILES="$ALL_MAKEFILES \\ |
26366 | dlls/uxtheme/Makefile" | |
485cc59c | 26367 | test "x$enable_uxtheme" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\ |
49163da1 | 26368 | uxtheme" |
a360e934 AJ |
26369 | ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS |
26370 | dlls/uxtheme/Makefile: dlls/uxtheme/Makefile.in dlls/Makedll.rules" | |
fbc80d79 MM |
26371 | ac_config_files="$ac_config_files dlls/uxtheme/Makefile" |
26372 | ||
a360e934 AJ |
26373 | ALL_MAKEFILES="$ALL_MAKEFILES \\ |
26374 | dlls/uxtheme/tests/Makefile" | |
35078f4b | 26375 | test "x$enable_tests" != xno && ALL_TEST_DIRS="$ALL_TEST_DIRS \\ |
49163da1 | 26376 | uxtheme/tests" |
a360e934 AJ |
26377 | ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS |
26378 | dlls/uxtheme/tests/Makefile: dlls/uxtheme/tests/Makefile.in dlls/Maketest.rules" | |
fbc80d79 MM |
26379 | ac_config_files="$ac_config_files dlls/uxtheme/tests/Makefile" |
26380 | ||
a360e934 AJ |
26381 | ALL_MAKEFILES="$ALL_MAKEFILES \\ |
26382 | dlls/vdhcp.vxd/Makefile" | |
485cc59c | 26383 | test "x$enable_vdhcp_vxd" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\ |
49163da1 | 26384 | vdhcp.vxd" |
a360e934 AJ |
26385 | ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS |
26386 | dlls/vdhcp.vxd/Makefile: dlls/vdhcp.vxd/Makefile.in dlls/Makedll.rules" | |
fbc80d79 MM |
26387 | ac_config_files="$ac_config_files dlls/vdhcp.vxd/Makefile" |
26388 | ||
a360e934 AJ |
26389 | ALL_MAKEFILES="$ALL_MAKEFILES \\ |
26390 | dlls/vdmdbg/Makefile" | |
485cc59c | 26391 | test "x$enable_vdmdbg" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\ |
49163da1 | 26392 | vdmdbg" |
a360e934 AJ |
26393 | ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS |
26394 | dlls/vdmdbg/Makefile: dlls/vdmdbg/Makefile.in dlls/Makedll.rules" | |
fbc80d79 MM |
26395 | ac_config_files="$ac_config_files dlls/vdmdbg/Makefile" |
26396 | ||
a360e934 AJ |
26397 | ALL_MAKEFILES="$ALL_MAKEFILES \\ |
26398 | dlls/version/Makefile" | |
485cc59c | 26399 | test "x$enable_version" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\ |
49163da1 | 26400 | version" |
a360e934 AJ |
26401 | ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS |
26402 | dlls/version/Makefile: dlls/version/Makefile.in dlls/Makedll.rules" | |
fbc80d79 MM |
26403 | ac_config_files="$ac_config_files dlls/version/Makefile" |
26404 | ||
a360e934 AJ |
26405 | ALL_MAKEFILES="$ALL_MAKEFILES \\ |
26406 | dlls/version/tests/Makefile" | |
35078f4b | 26407 | test "x$enable_tests" != xno && ALL_TEST_DIRS="$ALL_TEST_DIRS \\ |
49163da1 | 26408 | version/tests" |
a360e934 AJ |
26409 | ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS |
26410 | dlls/version/tests/Makefile: dlls/version/tests/Makefile.in dlls/Maketest.rules" | |
fbc80d79 MM |
26411 | ac_config_files="$ac_config_files dlls/version/tests/Makefile" |
26412 | ||
a360e934 AJ |
26413 | ALL_MAKEFILES="$ALL_MAKEFILES \\ |
26414 | dlls/vmm.vxd/Makefile" | |
485cc59c | 26415 | test "x$enable_vmm_vxd" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\ |
49163da1 | 26416 | vmm.vxd" |
a360e934 AJ |
26417 | ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS |
26418 | dlls/vmm.vxd/Makefile: dlls/vmm.vxd/Makefile.in dlls/Makedll.rules" | |
fbc80d79 MM |
26419 | ac_config_files="$ac_config_files dlls/vmm.vxd/Makefile" |
26420 | ||
a360e934 AJ |
26421 | ALL_MAKEFILES="$ALL_MAKEFILES \\ |
26422 | dlls/vnbt.vxd/Makefile" | |
485cc59c | 26423 | test "x$enable_vnbt_vxd" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\ |
49163da1 | 26424 | vnbt.vxd" |
a360e934 AJ |
26425 | ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS |
26426 | dlls/vnbt.vxd/Makefile: dlls/vnbt.vxd/Makefile.in dlls/Makedll.rules" | |
fbc80d79 MM |
26427 | ac_config_files="$ac_config_files dlls/vnbt.vxd/Makefile" |
26428 | ||
a360e934 AJ |
26429 | ALL_MAKEFILES="$ALL_MAKEFILES \\ |
26430 | dlls/vnetbios.vxd/Makefile" | |
485cc59c | 26431 | test "x$enable_vnetbios_vxd" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\ |
49163da1 | 26432 | vnetbios.vxd" |
a360e934 AJ |
26433 | ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS |
26434 | dlls/vnetbios.vxd/Makefile: dlls/vnetbios.vxd/Makefile.in dlls/Makedll.rules" | |
fbc80d79 MM |
26435 | ac_config_files="$ac_config_files dlls/vnetbios.vxd/Makefile" |
26436 | ||
a360e934 AJ |
26437 | ALL_MAKEFILES="$ALL_MAKEFILES \\ |
26438 | dlls/vtdapi.vxd/Makefile" | |
485cc59c | 26439 | test "x$enable_vtdapi_vxd" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\ |
49163da1 | 26440 | vtdapi.vxd" |
a360e934 AJ |
26441 | ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS |
26442 | dlls/vtdapi.vxd/Makefile: dlls/vtdapi.vxd/Makefile.in dlls/Makedll.rules" | |
fbc80d79 MM |
26443 | ac_config_files="$ac_config_files dlls/vtdapi.vxd/Makefile" |
26444 | ||
a360e934 AJ |
26445 | ALL_MAKEFILES="$ALL_MAKEFILES \\ |
26446 | dlls/vwin32.vxd/Makefile" | |
485cc59c | 26447 | test "x$enable_vwin32_vxd" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\ |
49163da1 | 26448 | vwin32.vxd" |
a360e934 AJ |
26449 | ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS |
26450 | dlls/vwin32.vxd/Makefile: dlls/vwin32.vxd/Makefile.in dlls/Makedll.rules" | |
fbc80d79 MM |
26451 | ac_config_files="$ac_config_files dlls/vwin32.vxd/Makefile" |
26452 | ||
a360e934 AJ |
26453 | ALL_MAKEFILES="$ALL_MAKEFILES \\ |
26454 | dlls/w32skrnl/Makefile" | |
485cc59c | 26455 | test "x$enable_w32skrnl" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\ |
49163da1 | 26456 | w32skrnl" |
a360e934 AJ |
26457 | ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS |
26458 | dlls/w32skrnl/Makefile: dlls/w32skrnl/Makefile.in dlls/Makedll.rules" | |
fbc80d79 MM |
26459 | ac_config_files="$ac_config_files dlls/w32skrnl/Makefile" |
26460 | ||
a360e934 AJ |
26461 | ALL_MAKEFILES="$ALL_MAKEFILES \\ |
26462 | dlls/winealsa.drv/Makefile" | |
485cc59c | 26463 | test "x$enable_winealsa_drv" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\ |
49163da1 | 26464 | winealsa.drv" |
a360e934 AJ |
26465 | ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS |
26466 | dlls/winealsa.drv/Makefile: dlls/winealsa.drv/Makefile.in dlls/Makedll.rules" | |
fbc80d79 MM |
26467 | ac_config_files="$ac_config_files dlls/winealsa.drv/Makefile" |
26468 | ||
a360e934 AJ |
26469 | ALL_MAKEFILES="$ALL_MAKEFILES \\ |
26470 | dlls/wineaudioio.drv/Makefile" | |
485cc59c | 26471 | test "x$enable_wineaudioio_drv" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\ |
49163da1 | 26472 | wineaudioio.drv" |
a360e934 AJ |
26473 | ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS |
26474 | dlls/wineaudioio.drv/Makefile: dlls/wineaudioio.drv/Makefile.in dlls/Makedll.rules" | |
fbc80d79 MM |
26475 | ac_config_files="$ac_config_files dlls/wineaudioio.drv/Makefile" |
26476 | ||
a360e934 AJ |
26477 | ALL_MAKEFILES="$ALL_MAKEFILES \\ |
26478 | dlls/winecoreaudio.drv/Makefile" | |
485cc59c | 26479 | test "x$enable_winecoreaudio_drv" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\ |
49163da1 | 26480 | winecoreaudio.drv" |
a360e934 AJ |
26481 | ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS |
26482 | dlls/winecoreaudio.drv/Makefile: dlls/winecoreaudio.drv/Makefile.in dlls/Makedll.rules" | |
fbc80d79 MM |
26483 | ac_config_files="$ac_config_files dlls/winecoreaudio.drv/Makefile" |
26484 | ||
a360e934 AJ |
26485 | ALL_MAKEFILES="$ALL_MAKEFILES \\ |
26486 | dlls/winecrt0/Makefile" | |
485cc59c | 26487 | test "x$enable_winecrt0" != xno && ALL_IMPLIB_DIRS="$ALL_IMPLIB_DIRS \\ |
49163da1 | 26488 | winecrt0" |
a360e934 AJ |
26489 | ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS |
26490 | dlls/winecrt0/Makefile: dlls/winecrt0/Makefile.in dlls/Makeimplib.rules" | |
fbc80d79 MM |
26491 | ac_config_files="$ac_config_files dlls/winecrt0/Makefile" |
26492 | ||
a360e934 AJ |
26493 | ALL_MAKEFILES="$ALL_MAKEFILES \\ |
26494 | dlls/wined3d/Makefile" | |
485cc59c | 26495 | test "x$enable_wined3d" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\ |
49163da1 | 26496 | wined3d" |
a360e934 AJ |
26497 | ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS |
26498 | dlls/wined3d/Makefile: dlls/wined3d/Makefile.in dlls/Makedll.rules" | |
fbc80d79 MM |
26499 | ac_config_files="$ac_config_files dlls/wined3d/Makefile" |
26500 | ||
a360e934 AJ |
26501 | ALL_MAKEFILES="$ALL_MAKEFILES \\ |
26502 | dlls/winedos/Makefile" | |
485cc59c | 26503 | test "x$enable_winedos" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\ |
49163da1 | 26504 | winedos" |
a360e934 AJ |
26505 | ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS |
26506 | dlls/winedos/Makefile: dlls/winedos/Makefile.in dlls/Makedll.rules" | |
fbc80d79 MM |
26507 | ac_config_files="$ac_config_files dlls/winedos/Makefile" |
26508 | ||
a360e934 AJ |
26509 | ALL_MAKEFILES="$ALL_MAKEFILES \\ |
26510 | dlls/wineesd.drv/Makefile" | |
485cc59c | 26511 | test "x$enable_wineesd_drv" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\ |
49163da1 | 26512 | wineesd.drv" |
a360e934 AJ |
26513 | ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS |
26514 | dlls/wineesd.drv/Makefile: dlls/wineesd.drv/Makefile.in dlls/Makedll.rules" | |
fbc80d79 MM |
26515 | ac_config_files="$ac_config_files dlls/wineesd.drv/Makefile" |
26516 | ||
a360e934 AJ |
26517 | ALL_MAKEFILES="$ALL_MAKEFILES \\ |
26518 | dlls/winejack.drv/Makefile" | |
485cc59c | 26519 | test "x$enable_winejack_drv" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\ |
49163da1 | 26520 | winejack.drv" |
a360e934 AJ |
26521 | ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS |
26522 | dlls/winejack.drv/Makefile: dlls/winejack.drv/Makefile.in dlls/Makedll.rules" | |
fbc80d79 MM |
26523 | ac_config_files="$ac_config_files dlls/winejack.drv/Makefile" |
26524 | ||
a360e934 AJ |
26525 | ALL_MAKEFILES="$ALL_MAKEFILES \\ |
26526 | dlls/winejoystick.drv/Makefile" | |
485cc59c | 26527 | test "x$enable_winejoystick_drv" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\ |
49163da1 | 26528 | winejoystick.drv" |
a360e934 AJ |
26529 | ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS |
26530 | dlls/winejoystick.drv/Makefile: dlls/winejoystick.drv/Makefile.in dlls/Makedll.rules" | |
fbc80d79 MM |
26531 | ac_config_files="$ac_config_files dlls/winejoystick.drv/Makefile" |
26532 | ||
a360e934 AJ |
26533 | ALL_MAKEFILES="$ALL_MAKEFILES \\ |
26534 | dlls/winemp3.acm/Makefile" | |
485cc59c | 26535 | test "x$enable_winemp3_acm" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\ |
49163da1 | 26536 | winemp3.acm" |
a360e934 AJ |
26537 | ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS |
26538 | dlls/winemp3.acm/Makefile: dlls/winemp3.acm/Makefile.in dlls/Makedll.rules" | |
fbc80d79 MM |
26539 | ac_config_files="$ac_config_files dlls/winemp3.acm/Makefile" |
26540 | ||
a360e934 AJ |
26541 | ALL_MAKEFILES="$ALL_MAKEFILES \\ |
26542 | dlls/winenas.drv/Makefile" | |
485cc59c | 26543 | test "x$enable_winenas_drv" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\ |
49163da1 | 26544 | winenas.drv" |
a360e934 AJ |
26545 | ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS |
26546 | dlls/winenas.drv/Makefile: dlls/winenas.drv/Makefile.in dlls/Makedll.rules" | |
fbc80d79 MM |
26547 | ac_config_files="$ac_config_files dlls/winenas.drv/Makefile" |
26548 | ||
a360e934 AJ |
26549 | ALL_MAKEFILES="$ALL_MAKEFILES \\ |
26550 | dlls/wineoss.drv/Makefile" | |
485cc59c | 26551 | test "x$enable_wineoss_drv" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\ |
49163da1 | 26552 | wineoss.drv" |
a360e934 AJ |
26553 | ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS |
26554 | dlls/wineoss.drv/Makefile: dlls/wineoss.drv/Makefile.in dlls/Makedll.rules" | |
fbc80d79 MM |
26555 | ac_config_files="$ac_config_files dlls/wineoss.drv/Makefile" |
26556 | ||
a360e934 AJ |
26557 | ALL_MAKEFILES="$ALL_MAKEFILES \\ |
26558 | dlls/wineps.drv/Makefile" | |
485cc59c | 26559 | test "x$enable_wineps_drv" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\ |
49163da1 | 26560 | wineps.drv" |
a360e934 AJ |
26561 | ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS |
26562 | dlls/wineps.drv/Makefile: dlls/wineps.drv/Makefile.in dlls/Makedll.rules" | |
fbc80d79 MM |
26563 | ac_config_files="$ac_config_files dlls/wineps.drv/Makefile" |
26564 | ||
a360e934 AJ |
26565 | ALL_MAKEFILES="$ALL_MAKEFILES \\ |
26566 | dlls/winequartz.drv/Makefile" | |
485cc59c | 26567 | test "x$enable_winequartz_drv" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\ |
49163da1 | 26568 | winequartz.drv" |
a360e934 AJ |
26569 | ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS |
26570 | dlls/winequartz.drv/Makefile: dlls/winequartz.drv/Makefile.in dlls/Makedll.rules" | |
fbc80d79 MM |
26571 | ac_config_files="$ac_config_files dlls/winequartz.drv/Makefile" |
26572 | ||
a360e934 AJ |
26573 | ALL_MAKEFILES="$ALL_MAKEFILES \\ |
26574 | dlls/winex11.drv/Makefile" | |
485cc59c | 26575 | test "x$enable_winex11_drv" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\ |
49163da1 | 26576 | winex11.drv" |
a360e934 AJ |
26577 | ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS |
26578 | dlls/winex11.drv/Makefile: dlls/winex11.drv/Makefile.in dlls/Makedll.rules" | |
fbc80d79 MM |
26579 | ac_config_files="$ac_config_files dlls/winex11.drv/Makefile" |
26580 | ||
a360e934 AJ |
26581 | ALL_MAKEFILES="$ALL_MAKEFILES \\ |
26582 | dlls/wing32/Makefile" | |
485cc59c | 26583 | test "x$enable_wing32" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\ |
49163da1 | 26584 | wing32" |
a360e934 AJ |
26585 | ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS |
26586 | dlls/wing32/Makefile: dlls/wing32/Makefile.in dlls/Makedll.rules" | |
fbc80d79 MM |
26587 | ac_config_files="$ac_config_files dlls/wing32/Makefile" |
26588 | ||
a360e934 AJ |
26589 | ALL_MAKEFILES="$ALL_MAKEFILES \\ |
26590 | dlls/winhttp/Makefile" | |
485cc59c | 26591 | test "x$enable_winhttp" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\ |
49163da1 | 26592 | winhttp" |
a360e934 AJ |
26593 | ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS |
26594 | dlls/winhttp/Makefile: dlls/winhttp/Makefile.in dlls/Makedll.rules" | |
21572967 JC |
26595 | ac_config_files="$ac_config_files dlls/winhttp/Makefile" |
26596 | ||
a360e934 AJ |
26597 | ALL_MAKEFILES="$ALL_MAKEFILES \\ |
26598 | dlls/winhttp/tests/Makefile" | |
35078f4b | 26599 | test "x$enable_tests" != xno && ALL_TEST_DIRS="$ALL_TEST_DIRS \\ |
49163da1 | 26600 | winhttp/tests" |
a360e934 AJ |
26601 | ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS |
26602 | dlls/winhttp/tests/Makefile: dlls/winhttp/tests/Makefile.in dlls/Maketest.rules" | |
b2be840e ZB |
26603 | ac_config_files="$ac_config_files dlls/winhttp/tests/Makefile" |
26604 | ||
a360e934 AJ |
26605 | ALL_MAKEFILES="$ALL_MAKEFILES \\ |
26606 | dlls/wininet/Makefile" | |
485cc59c | 26607 | test "x$enable_wininet" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\ |
49163da1 | 26608 | wininet" |
a360e934 AJ |
26609 | ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS |
26610 | dlls/wininet/Makefile: dlls/wininet/Makefile.in dlls/Makedll.rules" | |
fbc80d79 MM |
26611 | ac_config_files="$ac_config_files dlls/wininet/Makefile" |
26612 | ||
a360e934 AJ |
26613 | ALL_MAKEFILES="$ALL_MAKEFILES \\ |
26614 | dlls/wininet/tests/Makefile" | |
35078f4b | 26615 | test "x$enable_tests" != xno && ALL_TEST_DIRS="$ALL_TEST_DIRS \\ |
49163da1 | 26616 | wininet/tests" |
a360e934 AJ |
26617 | ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS |
26618 | dlls/wininet/tests/Makefile: dlls/wininet/tests/Makefile.in dlls/Maketest.rules" | |
fbc80d79 MM |
26619 | ac_config_files="$ac_config_files dlls/wininet/tests/Makefile" |
26620 | ||
a360e934 AJ |
26621 | ALL_MAKEFILES="$ALL_MAKEFILES \\ |
26622 | dlls/winmm/Makefile" | |
485cc59c | 26623 | test "x$enable_winmm" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\ |
49163da1 | 26624 | winmm" |
a360e934 AJ |
26625 | ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS |
26626 | dlls/winmm/Makefile: dlls/winmm/Makefile.in dlls/Makedll.rules" | |
fbc80d79 MM |
26627 | ac_config_files="$ac_config_files dlls/winmm/Makefile" |
26628 | ||
a360e934 AJ |
26629 | ALL_MAKEFILES="$ALL_MAKEFILES \\ |
26630 | dlls/winmm/tests/Makefile" | |
35078f4b | 26631 | test "x$enable_tests" != xno && ALL_TEST_DIRS="$ALL_TEST_DIRS \\ |
49163da1 | 26632 | winmm/tests" |
a360e934 AJ |
26633 | ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS |
26634 | dlls/winmm/tests/Makefile: dlls/winmm/tests/Makefile.in dlls/Maketest.rules" | |
fbc80d79 MM |
26635 | ac_config_files="$ac_config_files dlls/winmm/tests/Makefile" |
26636 | ||
a360e934 AJ |
26637 | ALL_MAKEFILES="$ALL_MAKEFILES \\ |
26638 | dlls/winnls32/Makefile" | |
485cc59c | 26639 | test "x$enable_winnls32" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\ |
49163da1 | 26640 | winnls32" |
a360e934 AJ |
26641 | ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS |
26642 | dlls/winnls32/Makefile: dlls/winnls32/Makefile.in dlls/Makedll.rules" | |
fbc80d79 MM |
26643 | ac_config_files="$ac_config_files dlls/winnls32/Makefile" |
26644 | ||
a360e934 AJ |
26645 | ALL_MAKEFILES="$ALL_MAKEFILES \\ |
26646 | dlls/winscard/Makefile" | |
485cc59c | 26647 | test "x$enable_winscard" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\ |
49163da1 | 26648 | winscard" |
a360e934 AJ |
26649 | ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS |
26650 | dlls/winscard/Makefile: dlls/winscard/Makefile.in dlls/Makedll.rules" | |
23df68d8 MI |
26651 | ac_config_files="$ac_config_files dlls/winscard/Makefile" |
26652 | ||
a360e934 AJ |
26653 | ALL_MAKEFILES="$ALL_MAKEFILES \\ |
26654 | dlls/winspool.drv/Makefile" | |
485cc59c | 26655 | test "x$enable_winspool_drv" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\ |
49163da1 | 26656 | winspool.drv" |
a360e934 AJ |
26657 | ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS |
26658 | dlls/winspool.drv/Makefile: dlls/winspool.drv/Makefile.in dlls/Makedll.rules" | |
fbc80d79 MM |
26659 | ac_config_files="$ac_config_files dlls/winspool.drv/Makefile" |
26660 | ||
a360e934 AJ |
26661 | ALL_MAKEFILES="$ALL_MAKEFILES \\ |
26662 | dlls/winspool.drv/tests/Makefile" | |
35078f4b | 26663 | test "x$enable_tests" != xno && ALL_TEST_DIRS="$ALL_TEST_DIRS \\ |
49163da1 | 26664 | winspool.drv/tests" |
a360e934 AJ |
26665 | ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS |
26666 | dlls/winspool.drv/tests/Makefile: dlls/winspool.drv/tests/Makefile.in dlls/Maketest.rules" | |
fbc80d79 MM |
26667 | ac_config_files="$ac_config_files dlls/winspool.drv/tests/Makefile" |
26668 | ||
a360e934 AJ |
26669 | ALL_MAKEFILES="$ALL_MAKEFILES \\ |
26670 | dlls/wintab32/Makefile" | |
485cc59c | 26671 | test "x$enable_wintab32" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\ |
49163da1 | 26672 | wintab32" |
a360e934 AJ |
26673 | ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS |
26674 | dlls/wintab32/Makefile: dlls/wintab32/Makefile.in dlls/Makedll.rules" | |
fbc80d79 MM |
26675 | ac_config_files="$ac_config_files dlls/wintab32/Makefile" |
26676 | ||
a360e934 AJ |
26677 | ALL_MAKEFILES="$ALL_MAKEFILES \\ |
26678 | dlls/wintrust/Makefile" | |
485cc59c | 26679 | test "x$enable_wintrust" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\ |
49163da1 | 26680 | wintrust" |
a360e934 AJ |
26681 | ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS |
26682 | dlls/wintrust/Makefile: dlls/wintrust/Makefile.in dlls/Makedll.rules" | |
fbc80d79 MM |
26683 | ac_config_files="$ac_config_files dlls/wintrust/Makefile" |
26684 | ||
a360e934 AJ |
26685 | ALL_MAKEFILES="$ALL_MAKEFILES \\ |
26686 | dlls/wintrust/tests/Makefile" | |
35078f4b | 26687 | test "x$enable_tests" != xno && ALL_TEST_DIRS="$ALL_TEST_DIRS \\ |
49163da1 | 26688 | wintrust/tests" |
a360e934 AJ |
26689 | ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS |
26690 | dlls/wintrust/tests/Makefile: dlls/wintrust/tests/Makefile.in dlls/Maketest.rules" | |
fbc80d79 MM |
26691 | ac_config_files="$ac_config_files dlls/wintrust/tests/Makefile" |
26692 | ||
a360e934 AJ |
26693 | ALL_MAKEFILES="$ALL_MAKEFILES \\ |
26694 | dlls/wldap32/Makefile" | |
485cc59c | 26695 | test "x$enable_wldap32" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\ |
49163da1 | 26696 | wldap32" |
a360e934 AJ |
26697 | ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS |
26698 | dlls/wldap32/Makefile: dlls/wldap32/Makefile.in dlls/Makedll.rules" | |
fbc80d79 MM |
26699 | ac_config_files="$ac_config_files dlls/wldap32/Makefile" |
26700 | ||
b9813873 HL |
26701 | ALL_MAKEFILES="$ALL_MAKEFILES \\ |
26702 | dlls/wldap32/tests/Makefile" | |
35078f4b | 26703 | test "x$enable_tests" != xno && ALL_TEST_DIRS="$ALL_TEST_DIRS \\ |
b9813873 HL |
26704 | wldap32/tests" |
26705 | ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS | |
26706 | dlls/wldap32/tests/Makefile: dlls/wldap32/tests/Makefile.in dlls/Maketest.rules" | |
26707 | ac_config_files="$ac_config_files dlls/wldap32/tests/Makefile" | |
26708 | ||
a360e934 AJ |
26709 | ALL_MAKEFILES="$ALL_MAKEFILES \\ |
26710 | dlls/wmi/Makefile" | |
485cc59c | 26711 | test "x$enable_wmi" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\ |
49163da1 | 26712 | wmi" |
a360e934 AJ |
26713 | ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS |
26714 | dlls/wmi/Makefile: dlls/wmi/Makefile.in dlls/Makedll.rules" | |
4328d92d MM |
26715 | ac_config_files="$ac_config_files dlls/wmi/Makefile" |
26716 | ||
a360e934 AJ |
26717 | ALL_MAKEFILES="$ALL_MAKEFILES \\ |
26718 | dlls/wnaspi32/Makefile" | |
485cc59c | 26719 | test "x$enable_wnaspi32" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\ |
49163da1 | 26720 | wnaspi32" |
a360e934 AJ |
26721 | ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS |
26722 | dlls/wnaspi32/Makefile: dlls/wnaspi32/Makefile.in dlls/Makedll.rules" | |
fbc80d79 MM |
26723 | ac_config_files="$ac_config_files dlls/wnaspi32/Makefile" |
26724 | ||
a360e934 AJ |
26725 | ALL_MAKEFILES="$ALL_MAKEFILES \\ |
26726 | dlls/wow32/Makefile" | |
485cc59c | 26727 | test "x$enable_wow32" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\ |
49163da1 | 26728 | wow32" |
a360e934 AJ |
26729 | ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS |
26730 | dlls/wow32/Makefile: dlls/wow32/Makefile.in dlls/Makedll.rules" | |
fbc80d79 MM |
26731 | ac_config_files="$ac_config_files dlls/wow32/Makefile" |
26732 | ||
a360e934 AJ |
26733 | ALL_MAKEFILES="$ALL_MAKEFILES \\ |
26734 | dlls/ws2_32/Makefile" | |
485cc59c | 26735 | test "x$enable_ws2_32" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\ |
49163da1 | 26736 | ws2_32" |
a360e934 AJ |
26737 | ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS |
26738 | dlls/ws2_32/Makefile: dlls/ws2_32/Makefile.in dlls/Makedll.rules" | |
fbc80d79 MM |
26739 | ac_config_files="$ac_config_files dlls/ws2_32/Makefile" |
26740 | ||
a360e934 AJ |
26741 | ALL_MAKEFILES="$ALL_MAKEFILES \\ |
26742 | dlls/ws2_32/tests/Makefile" | |
35078f4b | 26743 | test "x$enable_tests" != xno && ALL_TEST_DIRS="$ALL_TEST_DIRS \\ |
49163da1 | 26744 | ws2_32/tests" |
a360e934 AJ |
26745 | ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS |
26746 | dlls/ws2_32/tests/Makefile: dlls/ws2_32/tests/Makefile.in dlls/Maketest.rules" | |
fbc80d79 MM |
26747 | ac_config_files="$ac_config_files dlls/ws2_32/tests/Makefile" |
26748 | ||
a360e934 AJ |
26749 | ALL_MAKEFILES="$ALL_MAKEFILES \\ |
26750 | dlls/wsock32/Makefile" | |
485cc59c | 26751 | test "x$enable_wsock32" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\ |
49163da1 | 26752 | wsock32" |
a360e934 AJ |
26753 | ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS |
26754 | dlls/wsock32/Makefile: dlls/wsock32/Makefile.in dlls/Makedll.rules" | |
fbc80d79 MM |
26755 | ac_config_files="$ac_config_files dlls/wsock32/Makefile" |
26756 | ||
a360e934 AJ |
26757 | ALL_MAKEFILES="$ALL_MAKEFILES \\ |
26758 | dlls/wtsapi32/Makefile" | |
485cc59c | 26759 | test "x$enable_wtsapi32" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\ |
49163da1 | 26760 | wtsapi32" |
a360e934 AJ |
26761 | ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS |
26762 | dlls/wtsapi32/Makefile: dlls/wtsapi32/Makefile.in dlls/Makedll.rules" | |
fbc80d79 MM |
26763 | ac_config_files="$ac_config_files dlls/wtsapi32/Makefile" |
26764 | ||
68ede59f AF |
26765 | ALL_MAKEFILES="$ALL_MAKEFILES \\ |
26766 | dlls/xinput1_1/Makefile" | |
26767 | test "x$enable_xinput1_1" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\ | |
26768 | xinput1_1" | |
26769 | ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS | |
26770 | dlls/xinput1_1/Makefile: dlls/xinput1_1/Makefile.in dlls/Makedll.rules" | |
26771 | ac_config_files="$ac_config_files dlls/xinput1_1/Makefile" | |
26772 | ||
85a4a1dd AF |
26773 | ALL_MAKEFILES="$ALL_MAKEFILES \\ |
26774 | dlls/xinput1_2/Makefile" | |
26775 | test "x$enable_xinput1_2" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\ | |
26776 | xinput1_2" | |
26777 | ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS | |
26778 | dlls/xinput1_2/Makefile: dlls/xinput1_2/Makefile.in dlls/Makedll.rules" | |
26779 | ac_config_files="$ac_config_files dlls/xinput1_2/Makefile" | |
26780 | ||
457a22de AF |
26781 | ALL_MAKEFILES="$ALL_MAKEFILES \\ |
26782 | dlls/xinput1_3/Makefile" | |
26783 | test "x$enable_xinput1_3" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\ | |
26784 | xinput1_3" | |
26785 | ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS | |
26786 | dlls/xinput1_3/Makefile: dlls/xinput1_3/Makefile.in dlls/Makedll.rules" | |
26787 | ac_config_files="$ac_config_files dlls/xinput1_3/Makefile" | |
26788 | ||
29789a8e AF |
26789 | ALL_MAKEFILES="$ALL_MAKEFILES \\ |
26790 | dlls/xinput1_3/tests/Makefile" | |
35078f4b | 26791 | test "x$enable_tests" != xno && ALL_TEST_DIRS="$ALL_TEST_DIRS \\ |
29789a8e AF |
26792 | xinput1_3/tests" |
26793 | ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS | |
26794 | dlls/xinput1_3/tests/Makefile: dlls/xinput1_3/tests/Makefile.in dlls/Maketest.rules" | |
26795 | ac_config_files="$ac_config_files dlls/xinput1_3/tests/Makefile" | |
26796 | ||
c4cd3bc7 AF |
26797 | ALL_MAKEFILES="$ALL_MAKEFILES \\ |
26798 | dlls/xinput9_1_0/Makefile" | |
26799 | test "x$enable_xinput9_1_0" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\ | |
26800 | xinput9_1_0" | |
26801 | ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS | |
26802 | dlls/xinput9_1_0/Makefile: dlls/xinput9_1_0/Makefile.in dlls/Makedll.rules" | |
26803 | ac_config_files="$ac_config_files dlls/xinput9_1_0/Makefile" | |
26804 | ||
a360e934 AJ |
26805 | ALL_MAKEFILES="$ALL_MAKEFILES \\ |
26806 | documentation/Makefile" | |
6de0af1e AJ |
26807 | test "x$enable_documentation" != xno && ALL_TOP_DIRS="$ALL_TOP_DIRS \\ |
26808 | documentation" | |
a360e934 AJ |
26809 | ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS |
26810 | documentation/Makefile: documentation/Makefile.in Make.rules" | |
fbc80d79 MM |
26811 | ac_config_files="$ac_config_files documentation/Makefile" |
26812 | ||
a360e934 AJ |
26813 | ALL_MAKEFILES="$ALL_MAKEFILES \\ |
26814 | fonts/Makefile" | |
6de0af1e AJ |
26815 | test "x$enable_fonts" != xno && ALL_TOP_DIRS="$ALL_TOP_DIRS \\ |
26816 | fonts" | |
a360e934 AJ |
26817 | ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS |
26818 | fonts/Makefile: fonts/Makefile.in Make.rules" | |
fbc80d79 MM |
26819 | ac_config_files="$ac_config_files fonts/Makefile" |
26820 | ||
a360e934 AJ |
26821 | ALL_MAKEFILES="$ALL_MAKEFILES \\ |
26822 | include/Makefile" | |
6de0af1e AJ |
26823 | test "x$enable_include" != xno && ALL_TOP_DIRS="$ALL_TOP_DIRS \\ |
26824 | include" | |
a360e934 AJ |
26825 | ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS |
26826 | include/Makefile: include/Makefile.in Make.rules" | |
fbc80d79 MM |
26827 | ac_config_files="$ac_config_files include/Makefile" |
26828 | ||
a360e934 AJ |
26829 | ALL_MAKEFILES="$ALL_MAKEFILES \\ |
26830 | libs/Makefile" | |
6de0af1e AJ |
26831 | test "x$enable_libs" != xno && ALL_TOP_DIRS="$ALL_TOP_DIRS \\ |
26832 | libs" | |
a360e934 AJ |
26833 | ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS |
26834 | libs/Makefile: libs/Makefile.in Make.rules" | |
fbc80d79 MM |
26835 | ac_config_files="$ac_config_files libs/Makefile" |
26836 | ||
a360e934 AJ |
26837 | ALL_MAKEFILES="$ALL_MAKEFILES \\ |
26838 | libs/port/Makefile" | |
49163da1 | 26839 | |
a360e934 AJ |
26840 | ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS |
26841 | libs/port/Makefile: libs/port/Makefile.in Make.rules" | |
fbc80d79 MM |
26842 | ac_config_files="$ac_config_files libs/port/Makefile" |
26843 | ||
a360e934 AJ |
26844 | ALL_MAKEFILES="$ALL_MAKEFILES \\ |
26845 | libs/wine/Makefile" | |
49163da1 | 26846 | |
a360e934 AJ |
26847 | ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS |
26848 | libs/wine/Makefile: libs/wine/Makefile.in Make.rules" | |
fbc80d79 MM |
26849 | ac_config_files="$ac_config_files libs/wine/Makefile" |
26850 | ||
a360e934 AJ |
26851 | ALL_MAKEFILES="$ALL_MAKEFILES \\ |
26852 | libs/wpp/Makefile" | |
49163da1 | 26853 | |
a360e934 AJ |
26854 | ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS |
26855 | libs/wpp/Makefile: libs/wpp/Makefile.in Make.rules" | |
fbc80d79 MM |
26856 | ac_config_files="$ac_config_files libs/wpp/Makefile" |
26857 | ||
a360e934 AJ |
26858 | ALL_MAKEFILES="$ALL_MAKEFILES \\ |
26859 | loader/Makefile" | |
6de0af1e AJ |
26860 | test "x$enable_loader" != xno && ALL_TOP_DIRS="$ALL_TOP_DIRS \\ |
26861 | loader" | |
a360e934 AJ |
26862 | ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS |
26863 | loader/Makefile: loader/Makefile.in Make.rules" | |
fbc80d79 MM |
26864 | ac_config_files="$ac_config_files loader/Makefile" |
26865 | ||
a360e934 AJ |
26866 | ALL_MAKEFILES="$ALL_MAKEFILES \\ |
26867 | programs/Makefile" | |
6de0af1e AJ |
26868 | test "x$enable_programs" != xno && ALL_TOP_DIRS="$ALL_TOP_DIRS \\ |
26869 | programs" | |
a360e934 AJ |
26870 | ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS |
26871 | programs/Makefile: programs/Makefile.in Make.rules" | |
fbc80d79 MM |
26872 | ac_config_files="$ac_config_files programs/Makefile" |
26873 | ||
a360e934 AJ |
26874 | ALL_MAKEFILES="$ALL_MAKEFILES \\ |
26875 | programs/clock/Makefile" | |
4051eaf7 AJ |
26876 | test "x$enable_clock" != xno && ALL_PROGRAM_DIRS="$ALL_PROGRAM_DIRS \\ |
26877 | clock" && ALL_PROGRAM_INSTALL_DIRS="$ALL_PROGRAM_INSTALL_DIRS \\ | |
26878 | clock" | |
a360e934 AJ |
26879 | ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS |
26880 | programs/clock/Makefile: programs/clock/Makefile.in programs/Makeprog.rules" | |
fbc80d79 MM |
26881 | ac_config_files="$ac_config_files programs/clock/Makefile" |
26882 | ||
a360e934 AJ |
26883 | ALL_MAKEFILES="$ALL_MAKEFILES \\ |
26884 | programs/cmd/Makefile" | |
4051eaf7 AJ |
26885 | test "x$enable_cmd" != xno && ALL_PROGRAM_DIRS="$ALL_PROGRAM_DIRS \\ |
26886 | cmd" && ALL_PROGRAM_INSTALL_DIRS="$ALL_PROGRAM_INSTALL_DIRS \\ | |
26887 | cmd" | |
a360e934 AJ |
26888 | ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS |
26889 | programs/cmd/Makefile: programs/cmd/Makefile.in programs/Makeprog.rules" | |
fbc80d79 MM |
26890 | ac_config_files="$ac_config_files programs/cmd/Makefile" |
26891 | ||
a360e934 AJ |
26892 | ALL_MAKEFILES="$ALL_MAKEFILES \\ |
26893 | programs/cmdlgtst/Makefile" | |
4051eaf7 AJ |
26894 | test "x$enable_cmdlgtst" != xno && ALL_PROGRAM_DIRS="$ALL_PROGRAM_DIRS \\ |
26895 | cmdlgtst" | |
a360e934 AJ |
26896 | ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS |
26897 | programs/cmdlgtst/Makefile: programs/cmdlgtst/Makefile.in programs/Makeprog.rules" | |
fbc80d79 MM |
26898 | ac_config_files="$ac_config_files programs/cmdlgtst/Makefile" |
26899 | ||
a360e934 AJ |
26900 | ALL_MAKEFILES="$ALL_MAKEFILES \\ |
26901 | programs/control/Makefile" | |
4051eaf7 AJ |
26902 | test "x$enable_control" != xno && ALL_PROGRAM_DIRS="$ALL_PROGRAM_DIRS \\ |
26903 | control" && ALL_PROGRAM_INSTALL_DIRS="$ALL_PROGRAM_INSTALL_DIRS \\ | |
26904 | control" | |
a360e934 AJ |
26905 | ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS |
26906 | programs/control/Makefile: programs/control/Makefile.in programs/Makeprog.rules" | |
fbc80d79 MM |
26907 | ac_config_files="$ac_config_files programs/control/Makefile" |
26908 | ||
a360e934 AJ |
26909 | ALL_MAKEFILES="$ALL_MAKEFILES \\ |
26910 | programs/eject/Makefile" | |
4051eaf7 AJ |
26911 | test "x$enable_eject" != xno && ALL_PROGRAM_DIRS="$ALL_PROGRAM_DIRS \\ |
26912 | eject" && ALL_PROGRAM_INSTALL_DIRS="$ALL_PROGRAM_INSTALL_DIRS \\ | |
26913 | eject" | |
a360e934 AJ |
26914 | ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS |
26915 | programs/eject/Makefile: programs/eject/Makefile.in programs/Makeprog.rules" | |
fbc80d79 MM |
26916 | ac_config_files="$ac_config_files programs/eject/Makefile" |
26917 | ||
a360e934 AJ |
26918 | ALL_MAKEFILES="$ALL_MAKEFILES \\ |
26919 | programs/expand/Makefile" | |
4051eaf7 AJ |
26920 | test "x$enable_expand" != xno && ALL_PROGRAM_DIRS="$ALL_PROGRAM_DIRS \\ |
26921 | expand" && ALL_PROGRAM_INSTALL_DIRS="$ALL_PROGRAM_INSTALL_DIRS \\ | |
26922 | expand" | |
a360e934 AJ |
26923 | ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS |
26924 | programs/expand/Makefile: programs/expand/Makefile.in programs/Makeprog.rules" | |
fbc80d79 MM |
26925 | ac_config_files="$ac_config_files programs/expand/Makefile" |
26926 | ||
a360e934 AJ |
26927 | ALL_MAKEFILES="$ALL_MAKEFILES \\ |
26928 | programs/explorer/Makefile" | |
4051eaf7 AJ |
26929 | test "x$enable_explorer" != xno && ALL_PROGRAM_DIRS="$ALL_PROGRAM_DIRS \\ |
26930 | explorer" && ALL_PROGRAM_INSTALL_DIRS="$ALL_PROGRAM_INSTALL_DIRS \\ | |
26931 | explorer" | |
a360e934 AJ |
26932 | ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS |
26933 | programs/explorer/Makefile: programs/explorer/Makefile.in programs/Makeprog.rules" | |
fbc80d79 MM |
26934 | ac_config_files="$ac_config_files programs/explorer/Makefile" |
26935 | ||
a360e934 AJ |
26936 | ALL_MAKEFILES="$ALL_MAKEFILES \\ |
26937 | programs/hh/Makefile" | |
4051eaf7 AJ |
26938 | test "x$enable_hh" != xno && ALL_PROGRAM_DIRS="$ALL_PROGRAM_DIRS \\ |
26939 | hh" && ALL_PROGRAM_INSTALL_DIRS="$ALL_PROGRAM_INSTALL_DIRS \\ | |
26940 | hh" | |
a360e934 AJ |
26941 | ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS |
26942 | programs/hh/Makefile: programs/hh/Makefile.in programs/Makeprog.rules" | |
fbc80d79 MM |
26943 | ac_config_files="$ac_config_files programs/hh/Makefile" |
26944 | ||
a360e934 AJ |
26945 | ALL_MAKEFILES="$ALL_MAKEFILES \\ |
26946 | programs/icinfo/Makefile" | |
4051eaf7 AJ |
26947 | test "x$enable_icinfo" != xno && ALL_PROGRAM_DIRS="$ALL_PROGRAM_DIRS \\ |
26948 | icinfo" && ALL_PROGRAM_INSTALL_DIRS="$ALL_PROGRAM_INSTALL_DIRS \\ | |
26949 | icinfo" | |
a360e934 AJ |
26950 | ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS |
26951 | programs/icinfo/Makefile: programs/icinfo/Makefile.in programs/Makeprog.rules" | |
fbc80d79 MM |
26952 | ac_config_files="$ac_config_files programs/icinfo/Makefile" |
26953 | ||
a360e934 AJ |
26954 | ALL_MAKEFILES="$ALL_MAKEFILES \\ |
26955 | programs/iexplore/Makefile" | |
4051eaf7 AJ |
26956 | test "x$enable_iexplore" != xno && ALL_PROGRAM_DIRS="$ALL_PROGRAM_DIRS \\ |
26957 | iexplore" && ALL_PROGRAM_INSTALL_DIRS="$ALL_PROGRAM_INSTALL_DIRS \\ | |
26958 | iexplore" | |
a360e934 AJ |
26959 | ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS |
26960 | programs/iexplore/Makefile: programs/iexplore/Makefile.in programs/Makeprog.rules" | |
fbc80d79 MM |
26961 | ac_config_files="$ac_config_files programs/iexplore/Makefile" |
26962 | ||
a360e934 AJ |
26963 | ALL_MAKEFILES="$ALL_MAKEFILES \\ |
26964 | programs/msiexec/Makefile" | |
4051eaf7 AJ |
26965 | test "x$enable_msiexec" != xno && ALL_PROGRAM_DIRS="$ALL_PROGRAM_DIRS \\ |
26966 | msiexec" && ALL_PROGRAM_INSTALL_DIRS="$ALL_PROGRAM_INSTALL_DIRS \\ | |
26967 | msiexec" && ALL_PROGRAM_BIN_INSTALL_DIRS="$ALL_PROGRAM_BIN_INSTALL_DIRS \\ | |
26968 | msiexec" | |
a360e934 AJ |
26969 | ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS |
26970 | programs/msiexec/Makefile: programs/msiexec/Makefile.in programs/Makeprog.rules" | |
fbc80d79 MM |
26971 | ac_config_files="$ac_config_files programs/msiexec/Makefile" |
26972 | ||
a360e934 AJ |
26973 | ALL_MAKEFILES="$ALL_MAKEFILES \\ |
26974 | programs/net/Makefile" | |
4051eaf7 AJ |
26975 | test "x$enable_net" != xno && ALL_PROGRAM_DIRS="$ALL_PROGRAM_DIRS \\ |
26976 | net" && ALL_PROGRAM_INSTALL_DIRS="$ALL_PROGRAM_INSTALL_DIRS \\ | |
26977 | net" | |
a360e934 AJ |
26978 | ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS |
26979 | programs/net/Makefile: programs/net/Makefile.in programs/Makeprog.rules" | |
451616ee TS |
26980 | ac_config_files="$ac_config_files programs/net/Makefile" |
26981 | ||
a360e934 AJ |
26982 | ALL_MAKEFILES="$ALL_MAKEFILES \\ |
26983 | programs/notepad/Makefile" | |
4051eaf7 AJ |
26984 | test "x$enable_notepad" != xno && ALL_PROGRAM_DIRS="$ALL_PROGRAM_DIRS \\ |
26985 | notepad" && ALL_PROGRAM_INSTALL_DIRS="$ALL_PROGRAM_INSTALL_DIRS \\ | |
26986 | notepad" && ALL_PROGRAM_BIN_INSTALL_DIRS="$ALL_PROGRAM_BIN_INSTALL_DIRS \\ | |
26987 | notepad" | |
a360e934 AJ |
26988 | ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS |
26989 | programs/notepad/Makefile: programs/notepad/Makefile.in programs/Makeprog.rules" | |
fbc80d79 MM |
26990 | ac_config_files="$ac_config_files programs/notepad/Makefile" |
26991 | ||
a360e934 AJ |
26992 | ALL_MAKEFILES="$ALL_MAKEFILES \\ |
26993 | programs/oleview/Makefile" | |
4051eaf7 AJ |
26994 | test "x$enable_oleview" != xno && ALL_PROGRAM_DIRS="$ALL_PROGRAM_DIRS \\ |
26995 | oleview" && ALL_PROGRAM_INSTALL_DIRS="$ALL_PROGRAM_INSTALL_DIRS \\ | |
26996 | oleview" | |
a360e934 AJ |
26997 | ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS |
26998 | programs/oleview/Makefile: programs/oleview/Makefile.in programs/Makeprog.rules" | |
fbc80d79 MM |
26999 | ac_config_files="$ac_config_files programs/oleview/Makefile" |
27000 | ||
a360e934 AJ |
27001 | ALL_MAKEFILES="$ALL_MAKEFILES \\ |
27002 | programs/progman/Makefile" | |
4051eaf7 AJ |
27003 | test "x$enable_progman" != xno && ALL_PROGRAM_DIRS="$ALL_PROGRAM_DIRS \\ |
27004 | progman" && ALL_PROGRAM_INSTALL_DIRS="$ALL_PROGRAM_INSTALL_DIRS \\ | |
27005 | progman" && ALL_PROGRAM_BIN_INSTALL_DIRS="$ALL_PROGRAM_BIN_INSTALL_DIRS \\ | |
27006 | progman" | |
a360e934 AJ |
27007 | ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS |
27008 | programs/progman/Makefile: programs/progman/Makefile.in programs/Makeprog.rules" | |
fbc80d79 MM |
27009 | ac_config_files="$ac_config_files programs/progman/Makefile" |
27010 | ||
a360e934 AJ |
27011 | ALL_MAKEFILES="$ALL_MAKEFILES \\ |
27012 | programs/reg/Makefile" | |
4051eaf7 AJ |
27013 | test "x$enable_reg" != xno && ALL_PROGRAM_DIRS="$ALL_PROGRAM_DIRS \\ |
27014 | reg" && ALL_PROGRAM_INSTALL_DIRS="$ALL_PROGRAM_INSTALL_DIRS \\ | |
27015 | reg" | |
a360e934 AJ |
27016 | ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS |
27017 | programs/reg/Makefile: programs/reg/Makefile.in programs/Makeprog.rules" | |
2087ad46 AR |
27018 | ac_config_files="$ac_config_files programs/reg/Makefile" |
27019 | ||
a360e934 AJ |
27020 | ALL_MAKEFILES="$ALL_MAKEFILES \\ |
27021 | programs/regedit/Makefile" | |
4051eaf7 AJ |
27022 | test "x$enable_regedit" != xno && ALL_PROGRAM_DIRS="$ALL_PROGRAM_DIRS \\ |
27023 | regedit" && ALL_PROGRAM_INSTALL_DIRS="$ALL_PROGRAM_INSTALL_DIRS \\ | |
27024 | regedit" && ALL_PROGRAM_BIN_INSTALL_DIRS="$ALL_PROGRAM_BIN_INSTALL_DIRS \\ | |
27025 | regedit" | |
a360e934 AJ |
27026 | ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS |
27027 | programs/regedit/Makefile: programs/regedit/Makefile.in programs/Makeprog.rules" | |
fbc80d79 MM |
27028 | ac_config_files="$ac_config_files programs/regedit/Makefile" |
27029 | ||
a360e934 AJ |
27030 | ALL_MAKEFILES="$ALL_MAKEFILES \\ |
27031 | programs/regsvr32/Makefile" | |
4051eaf7 AJ |
27032 | test "x$enable_regsvr32" != xno && ALL_PROGRAM_DIRS="$ALL_PROGRAM_DIRS \\ |
27033 | regsvr32" && ALL_PROGRAM_INSTALL_DIRS="$ALL_PROGRAM_INSTALL_DIRS \\ | |
27034 | regsvr32" && ALL_PROGRAM_BIN_INSTALL_DIRS="$ALL_PROGRAM_BIN_INSTALL_DIRS \\ | |
27035 | regsvr32" | |
a360e934 AJ |
27036 | ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS |
27037 | programs/regsvr32/Makefile: programs/regsvr32/Makefile.in programs/Makeprog.rules" | |
fbc80d79 MM |
27038 | ac_config_files="$ac_config_files programs/regsvr32/Makefile" |
27039 | ||
a360e934 AJ |
27040 | ALL_MAKEFILES="$ALL_MAKEFILES \\ |
27041 | programs/rpcss/Makefile" | |
4051eaf7 AJ |
27042 | test "x$enable_rpcss" != xno && ALL_PROGRAM_DIRS="$ALL_PROGRAM_DIRS \\ |
27043 | rpcss" && ALL_PROGRAM_INSTALL_DIRS="$ALL_PROGRAM_INSTALL_DIRS \\ | |
27044 | rpcss" | |
a360e934 AJ |
27045 | ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS |
27046 | programs/rpcss/Makefile: programs/rpcss/Makefile.in programs/Makeprog.rules" | |
fbc80d79 MM |
27047 | ac_config_files="$ac_config_files programs/rpcss/Makefile" |
27048 | ||
a360e934 AJ |
27049 | ALL_MAKEFILES="$ALL_MAKEFILES \\ |
27050 | programs/rundll32/Makefile" | |
4051eaf7 AJ |
27051 | test "x$enable_rundll32" != xno && ALL_PROGRAM_DIRS="$ALL_PROGRAM_DIRS \\ |
27052 | rundll32" && ALL_PROGRAM_INSTALL_DIRS="$ALL_PROGRAM_INSTALL_DIRS \\ | |
27053 | rundll32" | |
a360e934 AJ |
27054 | ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS |
27055 | programs/rundll32/Makefile: programs/rundll32/Makefile.in programs/Makeprog.rules" | |
fbc80d79 MM |
27056 | ac_config_files="$ac_config_files programs/rundll32/Makefile" |
27057 | ||
a360e934 AJ |
27058 | ALL_MAKEFILES="$ALL_MAKEFILES \\ |
27059 | programs/secedit/Makefile" | |
4051eaf7 AJ |
27060 | test "x$enable_secedit" != xno && ALL_PROGRAM_DIRS="$ALL_PROGRAM_DIRS \\ |
27061 | secedit" && ALL_PROGRAM_INSTALL_DIRS="$ALL_PROGRAM_INSTALL_DIRS \\ | |
27062 | secedit" | |
a360e934 AJ |
27063 | ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS |
27064 | programs/secedit/Makefile: programs/secedit/Makefile.in programs/Makeprog.rules" | |
6547fef3 LL |
27065 | ac_config_files="$ac_config_files programs/secedit/Makefile" |
27066 | ||
a360e934 AJ |
27067 | ALL_MAKEFILES="$ALL_MAKEFILES \\ |
27068 | programs/services/Makefile" | |
4051eaf7 AJ |
27069 | test "x$enable_services" != xno && ALL_PROGRAM_DIRS="$ALL_PROGRAM_DIRS \\ |
27070 | services" && ALL_PROGRAM_INSTALL_DIRS="$ALL_PROGRAM_INSTALL_DIRS \\ | |
27071 | services" | |
a360e934 AJ |
27072 | ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS |
27073 | programs/services/Makefile: programs/services/Makefile.in programs/Makeprog.rules" | |
7bd0efa1 MZ |
27074 | ac_config_files="$ac_config_files programs/services/Makefile" |
27075 | ||
a360e934 AJ |
27076 | ALL_MAKEFILES="$ALL_MAKEFILES \\ |
27077 | programs/spoolsv/Makefile" | |
4051eaf7 AJ |
27078 | test "x$enable_spoolsv" != xno && ALL_PROGRAM_DIRS="$ALL_PROGRAM_DIRS \\ |
27079 | spoolsv" && ALL_PROGRAM_INSTALL_DIRS="$ALL_PROGRAM_INSTALL_DIRS \\ | |
27080 | spoolsv" | |
a360e934 AJ |
27081 | ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS |
27082 | programs/spoolsv/Makefile: programs/spoolsv/Makefile.in programs/Makeprog.rules" | |
d1ddc9c1 JC |
27083 | ac_config_files="$ac_config_files programs/spoolsv/Makefile" |
27084 | ||
a360e934 AJ |
27085 | ALL_MAKEFILES="$ALL_MAKEFILES \\ |
27086 | programs/start/Makefile" | |
4051eaf7 AJ |
27087 | test "x$enable_start" != xno && ALL_PROGRAM_DIRS="$ALL_PROGRAM_DIRS \\ |
27088 | start" && ALL_PROGRAM_INSTALL_DIRS="$ALL_PROGRAM_INSTALL_DIRS \\ | |
27089 | start" | |
a360e934 AJ |
27090 | ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS |
27091 | programs/start/Makefile: programs/start/Makefile.in programs/Makeprog.rules" | |
fbc80d79 MM |
27092 | ac_config_files="$ac_config_files programs/start/Makefile" |
27093 | ||
a360e934 AJ |
27094 | ALL_MAKEFILES="$ALL_MAKEFILES \\ |
27095 | programs/svchost/Makefile" | |
4051eaf7 AJ |
27096 | test "x$enable_svchost" != xno && ALL_PROGRAM_DIRS="$ALL_PROGRAM_DIRS \\ |
27097 | svchost" && ALL_PROGRAM_INSTALL_DIRS="$ALL_PROGRAM_INSTALL_DIRS \\ | |
27098 | svchost" | |
a360e934 AJ |
27099 | ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS |
27100 | programs/svchost/Makefile: programs/svchost/Makefile.in programs/Makeprog.rules" | |
4714c4fa RS |
27101 | ac_config_files="$ac_config_files programs/svchost/Makefile" |
27102 | ||
a360e934 AJ |
27103 | ALL_MAKEFILES="$ALL_MAKEFILES \\ |
27104 | programs/taskmgr/Makefile" | |
4051eaf7 AJ |
27105 | test "x$enable_taskmgr" != xno && ALL_PROGRAM_DIRS="$ALL_PROGRAM_DIRS \\ |
27106 | taskmgr" && ALL_PROGRAM_INSTALL_DIRS="$ALL_PROGRAM_INSTALL_DIRS \\ | |
27107 | taskmgr" | |
a360e934 AJ |
27108 | ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS |
27109 | programs/taskmgr/Makefile: programs/taskmgr/Makefile.in programs/Makeprog.rules" | |
fbc80d79 MM |
27110 | ac_config_files="$ac_config_files programs/taskmgr/Makefile" |
27111 | ||
a360e934 AJ |
27112 | ALL_MAKEFILES="$ALL_MAKEFILES \\ |
27113 | programs/uninstaller/Makefile" | |
4051eaf7 AJ |
27114 | test "x$enable_uninstaller" != xno && ALL_PROGRAM_DIRS="$ALL_PROGRAM_DIRS \\ |
27115 | uninstaller" && ALL_PROGRAM_INSTALL_DIRS="$ALL_PROGRAM_INSTALL_DIRS \\ | |
27116 | uninstaller" && ALL_PROGRAM_BIN_INSTALL_DIRS="$ALL_PROGRAM_BIN_INSTALL_DIRS \\ | |
27117 | uninstaller" | |
a360e934 AJ |
27118 | ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS |
27119 | programs/uninstaller/Makefile: programs/uninstaller/Makefile.in programs/Makeprog.rules" | |
fbc80d79 MM |
27120 | ac_config_files="$ac_config_files programs/uninstaller/Makefile" |
27121 | ||
a360e934 AJ |
27122 | ALL_MAKEFILES="$ALL_MAKEFILES \\ |
27123 | programs/view/Makefile" | |
4051eaf7 AJ |
27124 | test "x$enable_view" != xno && ALL_PROGRAM_DIRS="$ALL_PROGRAM_DIRS \\ |
27125 | view" | |
a360e934 AJ |
27126 | ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS |
27127 | programs/view/Makefile: programs/view/Makefile.in programs/Makeprog.rules" | |
fbc80d79 MM |
27128 | ac_config_files="$ac_config_files programs/view/Makefile" |
27129 | ||
a360e934 AJ |
27130 | ALL_MAKEFILES="$ALL_MAKEFILES \\ |
27131 | programs/wineboot/Makefile" | |
4051eaf7 AJ |
27132 | test "x$enable_wineboot" != xno && ALL_PROGRAM_DIRS="$ALL_PROGRAM_DIRS \\ |
27133 | wineboot" && ALL_PROGRAM_INSTALL_DIRS="$ALL_PROGRAM_INSTALL_DIRS \\ | |
27134 | wineboot" && ALL_PROGRAM_BIN_INSTALL_DIRS="$ALL_PROGRAM_BIN_INSTALL_DIRS \\ | |
27135 | wineboot" | |
a360e934 AJ |
27136 | ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS |
27137 | programs/wineboot/Makefile: programs/wineboot/Makefile.in programs/Makeprog.rules" | |
fbc80d79 MM |
27138 | ac_config_files="$ac_config_files programs/wineboot/Makefile" |
27139 | ||
a360e934 AJ |
27140 | ALL_MAKEFILES="$ALL_MAKEFILES \\ |
27141 | programs/winebrowser/Makefile" | |
4051eaf7 AJ |
27142 | test "x$enable_winebrowser" != xno && ALL_PROGRAM_DIRS="$ALL_PROGRAM_DIRS \\ |
27143 | winebrowser" && ALL_PROGRAM_INSTALL_DIRS="$ALL_PROGRAM_INSTALL_DIRS \\ | |
27144 | winebrowser" && ALL_PROGRAM_BIN_INSTALL_DIRS="$ALL_PROGRAM_BIN_INSTALL_DIRS \\ | |
27145 | winebrowser" | |
a360e934 AJ |
27146 | ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS |
27147 | programs/winebrowser/Makefile: programs/winebrowser/Makefile.in programs/Makeprog.rules" | |
fbc80d79 MM |
27148 | ac_config_files="$ac_config_files programs/winebrowser/Makefile" |
27149 | ||
a360e934 AJ |
27150 | ALL_MAKEFILES="$ALL_MAKEFILES \\ |
27151 | programs/winecfg/Makefile" | |
4051eaf7 AJ |
27152 | test "x$enable_winecfg" != xno && ALL_PROGRAM_DIRS="$ALL_PROGRAM_DIRS \\ |
27153 | winecfg" && ALL_PROGRAM_INSTALL_DIRS="$ALL_PROGRAM_INSTALL_DIRS \\ | |
27154 | winecfg" && ALL_PROGRAM_BIN_INSTALL_DIRS="$ALL_PROGRAM_BIN_INSTALL_DIRS \\ | |
27155 | winecfg" | |
a360e934 AJ |
27156 | ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS |
27157 | programs/winecfg/Makefile: programs/winecfg/Makefile.in programs/Makeprog.rules" | |
fbc80d79 MM |
27158 | ac_config_files="$ac_config_files programs/winecfg/Makefile" |
27159 | ||
a360e934 AJ |
27160 | ALL_MAKEFILES="$ALL_MAKEFILES \\ |
27161 | programs/wineconsole/Makefile" | |
4051eaf7 AJ |
27162 | test "x$enable_wineconsole" != xno && ALL_PROGRAM_DIRS="$ALL_PROGRAM_DIRS \\ |
27163 | wineconsole" && ALL_PROGRAM_INSTALL_DIRS="$ALL_PROGRAM_INSTALL_DIRS \\ | |
27164 | wineconsole" && ALL_PROGRAM_BIN_INSTALL_DIRS="$ALL_PROGRAM_BIN_INSTALL_DIRS \\ | |
27165 | wineconsole" | |
a360e934 AJ |
27166 | ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS |
27167 | programs/wineconsole/Makefile: programs/wineconsole/Makefile.in programs/Makeprog.rules" | |
fbc80d79 MM |
27168 | ac_config_files="$ac_config_files programs/wineconsole/Makefile" |
27169 | ||
a360e934 AJ |
27170 | ALL_MAKEFILES="$ALL_MAKEFILES \\ |
27171 | programs/winedbg/Makefile" | |
4051eaf7 AJ |
27172 | test "x$enable_winedbg" != xno && ALL_PROGRAM_DIRS="$ALL_PROGRAM_DIRS \\ |
27173 | winedbg" && ALL_PROGRAM_INSTALL_DIRS="$ALL_PROGRAM_INSTALL_DIRS \\ | |
27174 | winedbg" && ALL_PROGRAM_BIN_INSTALL_DIRS="$ALL_PROGRAM_BIN_INSTALL_DIRS \\ | |
27175 | winedbg" | |
a360e934 AJ |
27176 | ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS |
27177 | programs/winedbg/Makefile: programs/winedbg/Makefile.in programs/Makeprog.rules" | |
fbc80d79 MM |
27178 | ac_config_files="$ac_config_files programs/winedbg/Makefile" |
27179 | ||
a360e934 AJ |
27180 | ALL_MAKEFILES="$ALL_MAKEFILES \\ |
27181 | programs/winedevice/Makefile" | |
4051eaf7 AJ |
27182 | test "x$enable_winedevice" != xno && ALL_PROGRAM_DIRS="$ALL_PROGRAM_DIRS \\ |
27183 | winedevice" && ALL_PROGRAM_INSTALL_DIRS="$ALL_PROGRAM_INSTALL_DIRS \\ | |
27184 | winedevice" | |
a360e934 AJ |
27185 | ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS |
27186 | programs/winedevice/Makefile: programs/winedevice/Makefile.in programs/Makeprog.rules" | |
c81d0995 AJ |
27187 | ac_config_files="$ac_config_files programs/winedevice/Makefile" |
27188 | ||
a360e934 AJ |
27189 | ALL_MAKEFILES="$ALL_MAKEFILES \\ |
27190 | programs/winefile/Makefile" | |
4051eaf7 AJ |
27191 | test "x$enable_winefile" != xno && ALL_PROGRAM_DIRS="$ALL_PROGRAM_DIRS \\ |
27192 | winefile" && ALL_PROGRAM_INSTALL_DIRS="$ALL_PROGRAM_INSTALL_DIRS \\ | |
27193 | winefile" && ALL_PROGRAM_BIN_INSTALL_DIRS="$ALL_PROGRAM_BIN_INSTALL_DIRS \\ | |
27194 | winefile" | |
a360e934 AJ |
27195 | ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS |
27196 | programs/winefile/Makefile: programs/winefile/Makefile.in programs/Makeprog.rules" | |
fbc80d79 MM |
27197 | ac_config_files="$ac_config_files programs/winefile/Makefile" |
27198 | ||
a360e934 AJ |
27199 | ALL_MAKEFILES="$ALL_MAKEFILES \\ |
27200 | programs/winemenubuilder/Makefile" | |
4051eaf7 AJ |
27201 | test "x$enable_winemenubuilder" != xno && ALL_PROGRAM_DIRS="$ALL_PROGRAM_DIRS \\ |
27202 | winemenubuilder" && ALL_PROGRAM_INSTALL_DIRS="$ALL_PROGRAM_INSTALL_DIRS \\ | |
27203 | winemenubuilder" | |
a360e934 AJ |
27204 | ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS |
27205 | programs/winemenubuilder/Makefile: programs/winemenubuilder/Makefile.in programs/Makeprog.rules" | |
fbc80d79 MM |
27206 | ac_config_files="$ac_config_files programs/winemenubuilder/Makefile" |
27207 | ||
a360e934 AJ |
27208 | ALL_MAKEFILES="$ALL_MAKEFILES \\ |
27209 | programs/winemine/Makefile" | |
4051eaf7 AJ |
27210 | test "x$enable_winemine" != xno && ALL_PROGRAM_DIRS="$ALL_PROGRAM_DIRS \\ |
27211 | winemine" && ALL_PROGRAM_INSTALL_DIRS="$ALL_PROGRAM_INSTALL_DIRS \\ | |
27212 | winemine" && ALL_PROGRAM_BIN_INSTALL_DIRS="$ALL_PROGRAM_BIN_INSTALL_DIRS \\ | |
27213 | winemine" | |
a360e934 AJ |
27214 | ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS |
27215 | programs/winemine/Makefile: programs/winemine/Makefile.in programs/Makeprog.rules" | |
fbc80d79 MM |
27216 | ac_config_files="$ac_config_files programs/winemine/Makefile" |
27217 | ||
a360e934 AJ |
27218 | ALL_MAKEFILES="$ALL_MAKEFILES \\ |
27219 | programs/winepath/Makefile" | |
4051eaf7 AJ |
27220 | test "x$enable_winepath" != xno && ALL_PROGRAM_DIRS="$ALL_PROGRAM_DIRS \\ |
27221 | winepath" && ALL_PROGRAM_INSTALL_DIRS="$ALL_PROGRAM_INSTALL_DIRS \\ | |
27222 | winepath" && ALL_PROGRAM_BIN_INSTALL_DIRS="$ALL_PROGRAM_BIN_INSTALL_DIRS \\ | |
27223 | winepath" | |
a360e934 AJ |
27224 | ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS |
27225 | programs/winepath/Makefile: programs/winepath/Makefile.in programs/Makeprog.rules" | |
fbc80d79 MM |
27226 | ac_config_files="$ac_config_files programs/winepath/Makefile" |
27227 | ||
a360e934 AJ |
27228 | ALL_MAKEFILES="$ALL_MAKEFILES \\ |
27229 | programs/winetest/Makefile" | |
4051eaf7 AJ |
27230 | test "x$enable_winetest" != xno && ALL_PROGRAM_DIRS="$ALL_PROGRAM_DIRS \\ |
27231 | winetest" | |
a360e934 AJ |
27232 | ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS |
27233 | programs/winetest/Makefile: programs/winetest/Makefile.in programs/Makeprog.rules" | |
fbc80d79 MM |
27234 | ac_config_files="$ac_config_files programs/winetest/Makefile" |
27235 | ||
a360e934 AJ |
27236 | ALL_MAKEFILES="$ALL_MAKEFILES \\ |
27237 | programs/winevdm/Makefile" | |
4051eaf7 AJ |
27238 | test "x$enable_winevdm" != xno && ALL_PROGRAM_DIRS="$ALL_PROGRAM_DIRS \\ |
27239 | winevdm" && ALL_PROGRAM_INSTALL_DIRS="$ALL_PROGRAM_INSTALL_DIRS \\ | |
27240 | winevdm" | |
a360e934 AJ |
27241 | ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS |
27242 | programs/winevdm/Makefile: programs/winevdm/Makefile.in programs/Makeprog.rules" | |
fbc80d79 MM |
27243 | ac_config_files="$ac_config_files programs/winevdm/Makefile" |
27244 | ||
a360e934 AJ |
27245 | ALL_MAKEFILES="$ALL_MAKEFILES \\ |
27246 | programs/winhlp32/Makefile" | |
4051eaf7 AJ |
27247 | test "x$enable_winhlp32" != xno && ALL_PROGRAM_DIRS="$ALL_PROGRAM_DIRS \\ |
27248 | winhlp32" && ALL_PROGRAM_INSTALL_DIRS="$ALL_PROGRAM_INSTALL_DIRS \\ | |
27249 | winhlp32" | |
a360e934 AJ |
27250 | ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS |
27251 | programs/winhlp32/Makefile: programs/winhlp32/Makefile.in programs/Makeprog.rules" | |
a795f36a | 27252 | ac_config_files="$ac_config_files programs/winhlp32/Makefile" |
fbc80d79 | 27253 | |
a360e934 AJ |
27254 | ALL_MAKEFILES="$ALL_MAKEFILES \\ |
27255 | programs/winver/Makefile" | |
4051eaf7 AJ |
27256 | test "x$enable_winver" != xno && ALL_PROGRAM_DIRS="$ALL_PROGRAM_DIRS \\ |
27257 | winver" && ALL_PROGRAM_INSTALL_DIRS="$ALL_PROGRAM_INSTALL_DIRS \\ | |
27258 | winver" | |
a360e934 AJ |
27259 | ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS |
27260 | programs/winver/Makefile: programs/winver/Makefile.in programs/Makeprog.rules" | |
fbc80d79 MM |
27261 | ac_config_files="$ac_config_files programs/winver/Makefile" |
27262 | ||
a360e934 AJ |
27263 | ALL_MAKEFILES="$ALL_MAKEFILES \\ |
27264 | programs/wordpad/Makefile" | |
4051eaf7 AJ |
27265 | test "x$enable_wordpad" != xno && ALL_PROGRAM_DIRS="$ALL_PROGRAM_DIRS \\ |
27266 | wordpad" && ALL_PROGRAM_INSTALL_DIRS="$ALL_PROGRAM_INSTALL_DIRS \\ | |
27267 | wordpad" | |
a360e934 AJ |
27268 | ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS |
27269 | programs/wordpad/Makefile: programs/wordpad/Makefile.in programs/Makeprog.rules" | |
fbc80d79 MM |
27270 | ac_config_files="$ac_config_files programs/wordpad/Makefile" |
27271 | ||
a360e934 AJ |
27272 | ALL_MAKEFILES="$ALL_MAKEFILES \\ |
27273 | programs/write/Makefile" | |
4051eaf7 AJ |
27274 | test "x$enable_write" != xno && ALL_PROGRAM_DIRS="$ALL_PROGRAM_DIRS \\ |
27275 | write" && ALL_PROGRAM_INSTALL_DIRS="$ALL_PROGRAM_INSTALL_DIRS \\ | |
27276 | write" | |
a360e934 AJ |
27277 | ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS |
27278 | programs/write/Makefile: programs/write/Makefile.in programs/Makeprog.rules" | |
2777a94d MZ |
27279 | ac_config_files="$ac_config_files programs/write/Makefile" |
27280 | ||
a360e934 AJ |
27281 | ALL_MAKEFILES="$ALL_MAKEFILES \\ |
27282 | programs/xcopy/Makefile" | |
4051eaf7 AJ |
27283 | test "x$enable_xcopy" != xno && ALL_PROGRAM_DIRS="$ALL_PROGRAM_DIRS \\ |
27284 | xcopy" && ALL_PROGRAM_INSTALL_DIRS="$ALL_PROGRAM_INSTALL_DIRS \\ | |
27285 | xcopy" | |
a360e934 AJ |
27286 | ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS |
27287 | programs/xcopy/Makefile: programs/xcopy/Makefile.in programs/Makeprog.rules" | |
921edab7 JE |
27288 | ac_config_files="$ac_config_files programs/xcopy/Makefile" |
27289 | ||
a360e934 AJ |
27290 | ALL_MAKEFILES="$ALL_MAKEFILES \\ |
27291 | server/Makefile" | |
6de0af1e AJ |
27292 | test "x$enable_server" != xno && ALL_TOP_DIRS="$ALL_TOP_DIRS \\ |
27293 | server" | |
a360e934 AJ |
27294 | ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS |
27295 | server/Makefile: server/Makefile.in Make.rules" | |
fbc80d79 MM |
27296 | ac_config_files="$ac_config_files server/Makefile" |
27297 | ||
a360e934 AJ |
27298 | ALL_MAKEFILES="$ALL_MAKEFILES \\ |
27299 | tools/Makefile" | |
6de0af1e AJ |
27300 | test "x$enable_tools" != xno && ALL_TOP_DIRS="$ALL_TOP_DIRS \\ |
27301 | tools" | |
a360e934 AJ |
27302 | ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS |
27303 | tools/Makefile: tools/Makefile.in Make.rules" | |
fbc80d79 MM |
27304 | ac_config_files="$ac_config_files tools/Makefile" |
27305 | ||
a360e934 AJ |
27306 | ALL_MAKEFILES="$ALL_MAKEFILES \\ |
27307 | tools/widl/Makefile" | |
49163da1 | 27308 | |
a360e934 AJ |
27309 | ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS |
27310 | tools/widl/Makefile: tools/widl/Makefile.in Make.rules" | |
fbc80d79 MM |
27311 | ac_config_files="$ac_config_files tools/widl/Makefile" |
27312 | ||
a360e934 AJ |
27313 | ALL_MAKEFILES="$ALL_MAKEFILES \\ |
27314 | tools/winebuild/Makefile" | |
49163da1 | 27315 | |
a360e934 AJ |
27316 | ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS |
27317 | tools/winebuild/Makefile: tools/winebuild/Makefile.in Make.rules" | |
fbc80d79 MM |
27318 | ac_config_files="$ac_config_files tools/winebuild/Makefile" |
27319 | ||
a360e934 AJ |
27320 | ALL_MAKEFILES="$ALL_MAKEFILES \\ |
27321 | tools/winedump/Makefile" | |
49163da1 | 27322 | |
a360e934 AJ |
27323 | ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS |
27324 | tools/winedump/Makefile: tools/winedump/Makefile.in Make.rules" | |
fbc80d79 MM |
27325 | ac_config_files="$ac_config_files tools/winedump/Makefile" |
27326 | ||
a360e934 AJ |
27327 | ALL_MAKEFILES="$ALL_MAKEFILES \\ |
27328 | tools/winegcc/Makefile" | |
49163da1 | 27329 | |
a360e934 AJ |
27330 | ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS |
27331 | tools/winegcc/Makefile: tools/winegcc/Makefile.in Make.rules" | |
fbc80d79 MM |
27332 | ac_config_files="$ac_config_files tools/winegcc/Makefile" |
27333 | ||
a360e934 AJ |
27334 | ALL_MAKEFILES="$ALL_MAKEFILES \\ |
27335 | tools/wmc/Makefile" | |
49163da1 | 27336 | |
a360e934 AJ |
27337 | ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS |
27338 | tools/wmc/Makefile: tools/wmc/Makefile.in Make.rules" | |
fbc80d79 MM |
27339 | ac_config_files="$ac_config_files tools/wmc/Makefile" |
27340 | ||
a360e934 AJ |
27341 | ALL_MAKEFILES="$ALL_MAKEFILES \\ |
27342 | tools/wrc/Makefile" | |
49163da1 | 27343 | |
a360e934 AJ |
27344 | ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS |
27345 | tools/wrc/Makefile: tools/wrc/Makefile.in Make.rules" | |
fbc80d79 | 27346 | ac_config_files="$ac_config_files tools/wrc/Makefile" |
daa2886c | 27347 | |
626f425b | 27348 | |
67828b60 AJ |
27349 | |
27350 | ALL_WINETEST_DEPENDS="# Test binaries" | |
27351 | ||
27352 | for dir in $ALL_TEST_DIRS | |
27353 | do | |
27354 | if test "$dir" != "\\" | |
27355 | then | |
27356 | testname=`expr $dir : '\(.*\)/tests'`_test.exe | |
27357 | ALL_WINETEST_DEPENDS="$ALL_WINETEST_DEPENDS | |
27358 | $testname: \$(DLLDIR)/$dir/$testname\$(DLLEXT) | |
27359 | cp \$(DLLDIR)/$dir/$testname\$(DLLEXT) \$@ && \$(STRIP) \$@" | |
27360 | fi | |
27361 | done | |
27362 | ||
f5818d2f | 27363 | cat >confcache <<\_ACEOF |
e2991ea7 AJ |
27364 | # This file is a shell script that caches the results of configure |
27365 | # tests run on this system so they can be shared between configure | |
f5818d2f AJ |
27366 | # scripts and configure runs, see configure's option --config-cache. |
27367 | # It is not useful on other systems. If it contains results you don't | |
27368 | # want to keep, you may remove or edit it. | |
e2991ea7 | 27369 | # |
f5818d2f AJ |
27370 | # config.status only pays attention to the cache file if you give it |
27371 | # the --recheck option to rerun configure. | |
e2991ea7 | 27372 | # |
11af04e3 | 27373 | # `ac_cv_env_foo' variables (set or unset) will be overridden when |
f5818d2f AJ |
27374 | # loading this file, other *unset* `ac_cv_foo' will be assigned the |
27375 | # following values. | |
27376 | ||
27377 | _ACEOF | |
27378 | ||
7e6ae4ba AJ |
27379 | # The following way of writing the cache mishandles newlines in values, |
27380 | # but we know of no workaround that is simple, portable, and efficient. | |
fc6ffb29 | 27381 | # So, we kill variables containing newlines. |
e2991ea7 AJ |
27382 | # Ultrix sh set writes to stderr and can't be redirected directly, |
27383 | # and sets the high bit in the cache file unless we assign to the vars. | |
fc6ffb29 AJ |
27384 | ( |
27385 | for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do | |
27386 | eval ac_val=\$$ac_var | |
27387 | case $ac_val in #( | |
27388 | *${as_nl}*) | |
27389 | case $ac_var in #( | |
abf5048b AJ |
27390 | *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: cache variable $ac_var contains a newline" >&5 |
27391 | $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; | |
fc6ffb29 AJ |
27392 | esac |
27393 | case $ac_var in #( | |
27394 | _ | IFS | as_nl) ;; #( | |
abf5048b | 27395 | BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( |
fc6ffb29 AJ |
27396 | *) $as_unset $ac_var ;; |
27397 | esac ;; | |
27398 | esac | |
27399 | done | |
27400 | ||
f5818d2f | 27401 | (set) 2>&1 | |
fc6ffb29 AJ |
27402 | case $as_nl`(ac_space=' '; set) 2>&1` in #( |
27403 | *${as_nl}ac_space=\ *) | |
f5818d2f AJ |
27404 | # `set' does not quote correctly, so add quotes (double-quote |
27405 | # substitution turns \\\\ into \\, and sed turns \\ into \). | |
27406 | sed -n \ | |
875927f6 AJ |
27407 | "s/'/'\\\\''/g; |
27408 | s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p" | |
fc6ffb29 | 27409 | ;; #( |
f5818d2f AJ |
27410 | *) |
27411 | # `set' quotes correctly as required by POSIX, so do not add quotes. | |
fc6ffb29 | 27412 | sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" |
f5818d2f | 27413 | ;; |
fc6ffb29 AJ |
27414 | esac | |
27415 | sort | |
27416 | ) | | |
f5818d2f | 27417 | sed ' |
fc6ffb29 | 27418 | /^ac_cv_env_/b end |
f5818d2f | 27419 | t clear |
fc6ffb29 | 27420 | :clear |
f5818d2f AJ |
27421 | s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/ |
27422 | t end | |
fc6ffb29 AJ |
27423 | s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/ |
27424 | :end' >>confcache | |
0ebeb530 JW |
27425 | if diff "$cache_file" confcache >/dev/null 2>&1; then :; else |
27426 | if test -w "$cache_file"; then | |
fc6ffb29 | 27427 | test "x$cache_file" != "x/dev/null" && |
abf5048b AJ |
27428 | { $as_echo "$as_me:$LINENO: updating cache $cache_file" >&5 |
27429 | $as_echo "$as_me: updating cache $cache_file" >&6;} | |
f5818d2f | 27430 | cat confcache >$cache_file |
e2991ea7 | 27431 | else |
abf5048b AJ |
27432 | { $as_echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5 |
27433 | $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;} | |
e2991ea7 AJ |
27434 | fi |
27435 | fi | |
27436 | rm -f confcache | |
27437 | ||
e2991ea7 AJ |
27438 | test "x$prefix" = xNONE && prefix=$ac_default_prefix |
27439 | # Let make expand exec_prefix. | |
27440 | test "x$exec_prefix" = xNONE && exec_prefix='${prefix}' | |
27441 | ||
18f92e76 | 27442 | DEFS=-DHAVE_CONFIG_H |
e2991ea7 | 27443 | |
11af04e3 AJ |
27444 | ac_libobjs= |
27445 | ac_ltlibobjs= | |
27446 | for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue | |
27447 | # 1. Remove the extension, and $U if already installed. | |
fc6ffb29 | 27448 | ac_script='s/\$U\././;s/\.o$//;s/\.obj$//' |
abf5048b | 27449 | ac_i=`$as_echo "$ac_i" | sed "$ac_script"` |
fc6ffb29 AJ |
27450 | # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR |
27451 | # will be set to the directory where LIBOBJS objects are built. | |
27452 | ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext" | |
27453 | ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo' | |
11af04e3 AJ |
27454 | done |
27455 | LIBOBJS=$ac_libobjs | |
27456 | ||
27457 | LTLIBOBJS=$ac_ltlibobjs | |
27458 | ||
27459 | ||
daa2886c | 27460 | |
e2991ea7 | 27461 | : ${CONFIG_STATUS=./config.status} |
abf5048b | 27462 | ac_write_fail=0 |
f5818d2f AJ |
27463 | ac_clean_files_save=$ac_clean_files |
27464 | ac_clean_files="$ac_clean_files $CONFIG_STATUS" | |
abf5048b AJ |
27465 | { $as_echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5 |
27466 | $as_echo "$as_me: creating $CONFIG_STATUS" >&6;} | |
27467 | cat >$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 | |
f5818d2f | 27468 | #! $SHELL |
daa2886c | 27469 | # Generated by $as_me. |
e2991ea7 | 27470 | # Run this file to recreate the current configuration. |
e2991ea7 | 27471 | # Compiler output produced by configure, useful for debugging |
f5818d2f | 27472 | # configure, is in config.log if it exists. |
e2991ea7 | 27473 | |
f5818d2f | 27474 | debug=false |
e24bcc77 AJ |
27475 | ac_cs_recheck=false |
27476 | ac_cs_silent=false | |
f5818d2f | 27477 | SHELL=\${CONFIG_SHELL-$SHELL} |
f5818d2f AJ |
27478 | _ACEOF |
27479 | ||
abf5048b | 27480 | cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 |
daa2886c AJ |
27481 | ## --------------------- ## |
27482 | ## M4sh Initialization. ## | |
27483 | ## --------------------- ## | |
27484 | ||
dc9f3843 AJ |
27485 | # Be more Bourne compatible |
27486 | DUALCASE=1; export DUALCASE # for MKS sh | |
f5818d2f AJ |
27487 | if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then |
27488 | emulate sh | |
27489 | NULLCMD=: | |
abf5048b | 27490 | # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which |
11af04e3 AJ |
27491 | # is contrary to our usage. Disable this feature. |
27492 | alias -g '${1+"$@"}'='"$@"' | |
fc6ffb29 AJ |
27493 | setopt NO_GLOB_SUBST |
27494 | else | |
dc9f3843 AJ |
27495 | case `(set -o) 2>/dev/null` in |
27496 | *posix*) set -o posix ;; | |
27497 | esac | |
27498 | ||
f5818d2f | 27499 | fi |
dc9f3843 AJ |
27500 | |
27501 | ||
f5818d2f | 27502 | |
fc6ffb29 AJ |
27503 | |
27504 | # PATH needs CR | |
27505 | # Avoid depending upon Character Ranges. | |
27506 | as_cr_letters='abcdefghijklmnopqrstuvwxyz' | |
27507 | as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' | |
27508 | as_cr_Letters=$as_cr_letters$as_cr_LETTERS | |
27509 | as_cr_digits='0123456789' | |
27510 | as_cr_alnum=$as_cr_Letters$as_cr_digits | |
27511 | ||
abf5048b AJ |
27512 | as_nl=' |
27513 | ' | |
27514 | export as_nl | |
27515 | # Printing a long string crashes Solaris 7 /usr/bin/printf. | |
27516 | as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' | |
27517 | as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo | |
27518 | as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo | |
27519 | if (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then | |
27520 | as_echo='printf %s\n' | |
27521 | as_echo_n='printf %s' | |
27522 | else | |
27523 | if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then | |
27524 | as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"' | |
27525 | as_echo_n='/usr/ucb/echo -n' | |
fc6ffb29 | 27526 | else |
abf5048b AJ |
27527 | as_echo_body='eval expr "X$1" : "X\\(.*\\)"' |
27528 | as_echo_n_body='eval | |
27529 | arg=$1; | |
27530 | case $arg in | |
27531 | *"$as_nl"*) | |
27532 | expr "X$arg" : "X\\(.*\\)$as_nl"; | |
27533 | arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;; | |
27534 | esac; | |
27535 | expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl" | |
27536 | ' | |
27537 | export as_echo_n_body | |
27538 | as_echo_n='sh -c $as_echo_n_body as_echo' | |
fc6ffb29 | 27539 | fi |
abf5048b AJ |
27540 | export as_echo_body |
27541 | as_echo='sh -c $as_echo_body as_echo' | |
27542 | fi | |
27543 | ||
27544 | # The user is always right. | |
27545 | if test "${PATH_SEPARATOR+set}" != set; then | |
27546 | PATH_SEPARATOR=: | |
27547 | (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && { | |
27548 | (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 || | |
27549 | PATH_SEPARATOR=';' | |
27550 | } | |
fc6ffb29 AJ |
27551 | fi |
27552 | ||
daa2886c | 27553 | # Support unset when possible. |
875927f6 | 27554 | if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then |
daa2886c AJ |
27555 | as_unset=unset |
27556 | else | |
27557 | as_unset=false | |
27558 | fi | |
27559 | ||
11af04e3 | 27560 | |
fc6ffb29 AJ |
27561 | # IFS |
27562 | # We need space, tab and new line, in precisely that order. Quoting is | |
27563 | # there to prevent editors from complaining about space-tab. | |
27564 | # (If _AS_PATH_WALK were called with IFS unset, it would disable word | |
27565 | # splitting by setting IFS to empty value.) | |
fc6ffb29 AJ |
27566 | IFS=" "" $as_nl" |
27567 | ||
27568 | # Find who we are. Look in the path if we contain no directory separator. | |
27569 | case $0 in | |
27570 | *[\\/]* ) as_myself=$0 ;; | |
27571 | *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | |
27572 | for as_dir in $PATH | |
27573 | do | |
27574 | IFS=$as_save_IFS | |
27575 | test -z "$as_dir" && as_dir=. | |
27576 | test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break | |
27577 | done | |
27578 | IFS=$as_save_IFS | |
27579 | ||
27580 | ;; | |
27581 | esac | |
27582 | # We did not find ourselves, most probably we were run as `sh COMMAND' | |
27583 | # in which case we are not to be found in the path. | |
27584 | if test "x$as_myself" = x; then | |
27585 | as_myself=$0 | |
27586 | fi | |
27587 | if test ! -f "$as_myself"; then | |
abf5048b | 27588 | $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 |
fc6ffb29 AJ |
27589 | { (exit 1); exit 1; } |
27590 | fi | |
27591 | ||
11af04e3 | 27592 | # Work around bugs in pre-3.0 UWIN ksh. |
fc6ffb29 AJ |
27593 | for as_var in ENV MAIL MAILPATH |
27594 | do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var | |
27595 | done | |
11af04e3 AJ |
27596 | PS1='$ ' |
27597 | PS2='> ' | |
27598 | PS4='+ ' | |
27599 | ||
27600 | # NLS nuisances. | |
abf5048b AJ |
27601 | LC_ALL=C |
27602 | export LC_ALL | |
27603 | LANGUAGE=C | |
27604 | export LANGUAGE | |
11af04e3 AJ |
27605 | |
27606 | # Required to use basename. | |
fc6ffb29 AJ |
27607 | if expr a : '\(a\)' >/dev/null 2>&1 && |
27608 | test "X`expr 00001 : '.*\(...\)'`" = X001; then | |
11af04e3 AJ |
27609 | as_expr=expr |
27610 | else | |
27611 | as_expr=false | |
27612 | fi | |
27613 | ||
fc6ffb29 | 27614 | if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then |
11af04e3 AJ |
27615 | as_basename=basename |
27616 | else | |
27617 | as_basename=false | |
27618 | fi | |
daa2886c AJ |
27619 | |
27620 | ||
f5818d2f | 27621 | # Name of the executable. |
fc6ffb29 | 27622 | as_me=`$as_basename -- "$0" || |
daa2886c AJ |
27623 | $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ |
27624 | X"$0" : 'X\(//\)$' \| \ | |
fc6ffb29 | 27625 | X"$0" : 'X\(/\)' \| . 2>/dev/null || |
abf5048b | 27626 | $as_echo X/"$0" | |
fc6ffb29 AJ |
27627 | sed '/^.*\/\([^/][^/]*\)\/*$/{ |
27628 | s//\1/ | |
27629 | q | |
27630 | } | |
27631 | /^X\/\(\/\/\)$/{ | |
27632 | s//\1/ | |
27633 | q | |
27634 | } | |
27635 | /^X\/\(\/\).*/{ | |
27636 | s//\1/ | |
27637 | q | |
27638 | } | |
27639 | s/.*/./; q'` | |
daa2886c | 27640 | |
fc6ffb29 AJ |
27641 | # CDPATH. |
27642 | $as_unset CDPATH | |
11af04e3 | 27643 | |
daa2886c AJ |
27644 | |
27645 | ||
27646 | as_lineno_1=$LINENO | |
27647 | as_lineno_2=$LINENO | |
daa2886c | 27648 | test "x$as_lineno_1" != "x$as_lineno_2" && |
fc6ffb29 | 27649 | test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || { |
daa2886c AJ |
27650 | |
27651 | # Create $as_me.lineno as a copy of $as_myself, but with $LINENO | |
27652 | # uniformly replaced by the line number. The first 'sed' inserts a | |
fc6ffb29 AJ |
27653 | # line-number line after each line using $LINENO; the second 'sed' |
27654 | # does the real work. The second script uses 'N' to pair each | |
27655 | # line-number line with the line containing $LINENO, and appends | |
27656 | # trailing '-' during substitution so that $LINENO is not a special | |
27657 | # case at line end. | |
daa2886c | 27658 | # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the |
fc6ffb29 AJ |
27659 | # scripts with optimization help from Paolo Bonzini. Blame Lee |
27660 | # E. McMahon (1931-1989) for sed's syntax. :-) | |
27661 | sed -n ' | |
27662 | p | |
27663 | /[$]LINENO/= | |
27664 | ' <$as_myself | | |
daa2886c | 27665 | sed ' |
fc6ffb29 AJ |
27666 | s/[$]LINENO.*/&-/ |
27667 | t lineno | |
27668 | b | |
27669 | :lineno | |
daa2886c | 27670 | N |
fc6ffb29 AJ |
27671 | :loop |
27672 | s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/ | |
daa2886c | 27673 | t loop |
fc6ffb29 | 27674 | s/-\n.*// |
daa2886c | 27675 | ' >$as_me.lineno && |
fc6ffb29 | 27676 | chmod +x "$as_me.lineno" || |
abf5048b | 27677 | { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2 |
daa2886c AJ |
27678 | { (exit 1); exit 1; }; } |
27679 | ||
27680 | # Don't try to exec as it changes $[0], causing all sort of problems | |
27681 | # (the dirname of $[0] is not the place where we might find the | |
fc6ffb29 AJ |
27682 | # original and so on. Autoconf is especially sensitive to this). |
27683 | . "./$as_me.lineno" | |
daa2886c AJ |
27684 | # Exit status is that of the last command. |
27685 | exit | |
27686 | } | |
27687 | ||
27688 | ||
0ebeb530 | 27689 | if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then |
fc6ffb29 AJ |
27690 | as_dirname=dirname |
27691 | else | |
27692 | as_dirname=false | |
27693 | fi | |
27694 | ||
27695 | ECHO_C= ECHO_N= ECHO_T= | |
27696 | case `echo -n x` in | |
27697 | -n*) | |
27698 | case `echo 'x\c'` in | |
27699 | *c*) ECHO_T=' ';; # ECHO_T is single tab character. | |
27700 | *) ECHO_C='\c';; | |
27701 | esac;; | |
27702 | *) | |
27703 | ECHO_N='-n';; | |
daa2886c | 27704 | esac |
fc6ffb29 AJ |
27705 | if expr a : '\(a\)' >/dev/null 2>&1 && |
27706 | test "X`expr 00001 : '.*\(...\)'`" = X001; then | |
f5818d2f AJ |
27707 | as_expr=expr |
27708 | else | |
27709 | as_expr=false | |
27710 | fi | |
27711 | ||
27712 | rm -f conf$$ conf$$.exe conf$$.file | |
fc6ffb29 AJ |
27713 | if test -d conf$$.dir; then |
27714 | rm -f conf$$.dir/conf$$.file | |
27715 | else | |
27716 | rm -f conf$$.dir | |
abf5048b AJ |
27717 | mkdir conf$$.dir 2>/dev/null |
27718 | fi | |
27719 | if (echo >conf$$.file) 2>/dev/null; then | |
27720 | if ln -s conf$$.file conf$$ 2>/dev/null; then | |
27721 | as_ln_s='ln -s' | |
27722 | # ... but there are two gotchas: | |
27723 | # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. | |
27724 | # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. | |
27725 | # In both cases, we have to default to `cp -p'. | |
27726 | ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || | |
27727 | as_ln_s='cp -p' | |
27728 | elif ln conf$$.file conf$$ 2>/dev/null; then | |
27729 | as_ln_s=ln | |
27730 | else | |
f5818d2f | 27731 | as_ln_s='cp -p' |
abf5048b | 27732 | fi |
f5818d2f AJ |
27733 | else |
27734 | as_ln_s='cp -p' | |
27735 | fi | |
fc6ffb29 AJ |
27736 | rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file |
27737 | rmdir conf$$.dir 2>/dev/null | |
f5818d2f | 27738 | |
11af04e3 AJ |
27739 | if mkdir -p . 2>/dev/null; then |
27740 | as_mkdir_p=: | |
27741 | else | |
875927f6 | 27742 | test -d ./-p && rmdir ./-p |
11af04e3 AJ |
27743 | as_mkdir_p=false |
27744 | fi | |
27745 | ||
dc9f3843 AJ |
27746 | if test -x / >/dev/null 2>&1; then |
27747 | as_test_x='test -x' | |
fc6ffb29 | 27748 | else |
dc9f3843 AJ |
27749 | if ls -dL / >/dev/null 2>&1; then |
27750 | as_ls_L_option=L | |
27751 | else | |
27752 | as_ls_L_option= | |
27753 | fi | |
27754 | as_test_x=' | |
27755 | eval sh -c '\'' | |
27756 | if test -d "$1"; then | |
abf5048b | 27757 | test -d "$1/."; |
dc9f3843 AJ |
27758 | else |
27759 | case $1 in | |
abf5048b | 27760 | -*)set "./$1";; |
dc9f3843 AJ |
27761 | esac; |
27762 | case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in | |
27763 | ???[sx]*):;;*)false;;esac;fi | |
27764 | '\'' sh | |
27765 | ' | |
fc6ffb29 | 27766 | fi |
dc9f3843 | 27767 | as_executable_p=$as_test_x |
f5818d2f | 27768 | |
daa2886c | 27769 | # Sed expression to map a string onto a valid CPP name. |
875927f6 | 27770 | as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" |
daa2886c AJ |
27771 | |
27772 | # Sed expression to map a string onto a valid variable name. | |
875927f6 | 27773 | as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" |
f5818d2f | 27774 | |
f5818d2f | 27775 | |
f5818d2f AJ |
27776 | exec 6>&1 |
27777 | ||
fc6ffb29 | 27778 | # Save the log message, to keep $[0] and so on meaningful, and to |
daa2886c | 27779 | # report actual input values of CONFIG_FILES etc. instead of their |
fc6ffb29 AJ |
27780 | # values after options handling. |
27781 | ac_log=" | |
12c80905 | 27782 | This file was extended by Wine $as_me 1.1.9, which was |
abf5048b | 27783 | generated by GNU Autoconf 2.63. Invocation command line was |
daa2886c AJ |
27784 | |
27785 | CONFIG_FILES = $CONFIG_FILES | |
27786 | CONFIG_HEADERS = $CONFIG_HEADERS | |
27787 | CONFIG_LINKS = $CONFIG_LINKS | |
27788 | CONFIG_COMMANDS = $CONFIG_COMMANDS | |
27789 | $ $0 $@ | |
27790 | ||
fc6ffb29 AJ |
27791 | on `(hostname || uname -n) 2>/dev/null | sed 1q` |
27792 | " | |
27793 | ||
f5818d2f AJ |
27794 | _ACEOF |
27795 | ||
abf5048b AJ |
27796 | case $ac_config_files in *" |
27797 | "*) set x $ac_config_files; shift; ac_config_files=$*;; | |
27798 | esac | |
27799 | ||
27800 | case $ac_config_headers in *" | |
27801 | "*) set x $ac_config_headers; shift; ac_config_headers=$*;; | |
27802 | esac | |
27803 | ||
27804 | ||
27805 | cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 | |
f5818d2f | 27806 | # Files that config.status was made for. |
fc6ffb29 AJ |
27807 | config_files="$ac_config_files" |
27808 | config_headers="$ac_config_headers" | |
27809 | config_commands="$ac_config_commands" | |
f5818d2f | 27810 | |
fc6ffb29 | 27811 | _ACEOF |
f5818d2f | 27812 | |
abf5048b | 27813 | cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 |
f5818d2f AJ |
27814 | ac_cs_usage="\ |
27815 | \`$as_me' instantiates files from templates according to the | |
27816 | current configuration. | |
27817 | ||
abf5048b | 27818 | Usage: $0 [OPTION]... [FILE]... |
f5818d2f AJ |
27819 | |
27820 | -h, --help print this help, then exit | |
78bd1948 | 27821 | -V, --version print version number and configuration settings, then exit |
abf5048b AJ |
27822 | -q, --quiet, --silent |
27823 | do not print progress messages | |
f5818d2f AJ |
27824 | -d, --debug don't remove temporary files |
27825 | --recheck update $as_me by reconfiguring in the same conditions | |
abf5048b AJ |
27826 | --file=FILE[:TEMPLATE] |
27827 | instantiate the configuration file FILE | |
27828 | --header=FILE[:TEMPLATE] | |
27829 | instantiate the configuration header FILE | |
f5818d2f AJ |
27830 | |
27831 | Configuration files: | |
27832 | $config_files | |
27833 | ||
27834 | Configuration headers: | |
27835 | $config_headers | |
27836 | ||
27837 | Configuration commands: | |
27838 | $config_commands | |
27839 | ||
27840 | Report bugs to <bug-autoconf@gnu.org>." | |
f5818d2f | 27841 | |
fc6ffb29 | 27842 | _ACEOF |
abf5048b | 27843 | cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 |
f5818d2f | 27844 | ac_cs_version="\\ |
12c80905 | 27845 | Wine config.status 1.1.9 |
abf5048b AJ |
27846 | configured by $0, generated by GNU Autoconf 2.63, |
27847 | with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\" | |
f5818d2f | 27848 | |
abf5048b | 27849 | Copyright (C) 2008 Free Software Foundation, Inc. |
f5818d2f AJ |
27850 | This config.status script is free software; the Free Software Foundation |
27851 | gives unlimited permission to copy, distribute and modify it." | |
fc6ffb29 AJ |
27852 | |
27853 | ac_pwd='$ac_pwd' | |
27854 | srcdir='$srcdir' | |
27855 | INSTALL='$INSTALL' | |
abf5048b | 27856 | test -n "\$AWK" || AWK=awk |
daa2886c | 27857 | _ACEOF |
f5818d2f | 27858 | |
abf5048b AJ |
27859 | cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 |
27860 | # The default lists apply if the user does not specify any file. | |
f5818d2f AJ |
27861 | ac_need_defaults=: |
27862 | while test $# != 0 | |
e2991ea7 | 27863 | do |
f5818d2f AJ |
27864 | case $1 in |
27865 | --*=*) | |
fc6ffb29 AJ |
27866 | ac_option=`expr "X$1" : 'X\([^=]*\)='` |
27867 | ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'` | |
11af04e3 AJ |
27868 | ac_shift=: |
27869 | ;; | |
fc6ffb29 | 27870 | *) |
11af04e3 AJ |
27871 | ac_option=$1 |
27872 | ac_optarg=$2 | |
27873 | ac_shift=shift | |
f5818d2f | 27874 | ;; |
f5818d2f AJ |
27875 | esac |
27876 | ||
11af04e3 | 27877 | case $ac_option in |
f5818d2f | 27878 | # Handling of the options. |
e24bcc77 AJ |
27879 | -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r) |
27880 | ac_cs_recheck=: ;; | |
fc6ffb29 | 27881 | --version | --versio | --versi | --vers | --ver | --ve | --v | -V ) |
abf5048b | 27882 | $as_echo "$ac_cs_version"; exit ;; |
fc6ffb29 | 27883 | --debug | --debu | --deb | --de | --d | -d ) |
f5818d2f AJ |
27884 | debug=: ;; |
27885 | --file | --fil | --fi | --f ) | |
11af04e3 | 27886 | $ac_shift |
abf5048b AJ |
27887 | case $ac_optarg in |
27888 | *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; | |
27889 | esac | |
27890 | CONFIG_FILES="$CONFIG_FILES '$ac_optarg'" | |
f5818d2f AJ |
27891 | ac_need_defaults=false;; |
27892 | --header | --heade | --head | --hea ) | |
11af04e3 | 27893 | $ac_shift |
abf5048b AJ |
27894 | case $ac_optarg in |
27895 | *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; | |
27896 | esac | |
27897 | CONFIG_HEADERS="$CONFIG_HEADERS '$ac_optarg'" | |
f5818d2f | 27898 | ac_need_defaults=false;; |
fc6ffb29 AJ |
27899 | --he | --h) |
27900 | # Conflict between --help and --header | |
abf5048b | 27901 | { $as_echo "$as_me: error: ambiguous option: $1 |
fc6ffb29 AJ |
27902 | Try \`$0 --help' for more information." >&2 |
27903 | { (exit 1); exit 1; }; };; | |
27904 | --help | --hel | -h ) | |
abf5048b | 27905 | $as_echo "$ac_cs_usage"; exit ;; |
e24bcc77 AJ |
27906 | -q | -quiet | --quiet | --quie | --qui | --qu | --q \ |
27907 | | -silent | --silent | --silen | --sile | --sil | --si | --s) | |
27908 | ac_cs_silent=: ;; | |
f5818d2f AJ |
27909 | |
27910 | # This is an error. | |
abf5048b | 27911 | -*) { $as_echo "$as_me: error: unrecognized option: $1 |
fc6ffb29 | 27912 | Try \`$0 --help' for more information." >&2 |
f5818d2f AJ |
27913 | { (exit 1); exit 1; }; } ;; |
27914 | ||
fc6ffb29 AJ |
27915 | *) ac_config_targets="$ac_config_targets $1" |
27916 | ac_need_defaults=false ;; | |
f5818d2f | 27917 | |
e2991ea7 | 27918 | esac |
f5818d2f | 27919 | shift |
e2991ea7 AJ |
27920 | done |
27921 | ||
e24bcc77 AJ |
27922 | ac_configure_extra_args= |
27923 | ||
27924 | if $ac_cs_silent; then | |
27925 | exec 6>/dev/null | |
27926 | ac_configure_extra_args="$ac_configure_extra_args --silent" | |
27927 | fi | |
27928 | ||
27929 | _ACEOF | |
abf5048b | 27930 | cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 |
e24bcc77 | 27931 | if \$ac_cs_recheck; then |
abf5048b AJ |
27932 | set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion |
27933 | shift | |
27934 | \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6 | |
27935 | CONFIG_SHELL='$SHELL' | |
fc6ffb29 | 27936 | export CONFIG_SHELL |
abf5048b | 27937 | exec "\$@" |
e24bcc77 AJ |
27938 | fi |
27939 | ||
f5818d2f | 27940 | _ACEOF |
abf5048b | 27941 | cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 |
fc6ffb29 AJ |
27942 | exec 5>>config.log |
27943 | { | |
27944 | echo | |
27945 | sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX | |
27946 | ## Running $as_me. ## | |
27947 | _ASBOX | |
abf5048b | 27948 | $as_echo "$ac_log" |
fc6ffb29 | 27949 | } >&5 |
e2991ea7 | 27950 | |
fc6ffb29 | 27951 | _ACEOF |
abf5048b | 27952 | cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 |
fc6ffb29 | 27953 | _ACEOF |
daa2886c | 27954 | |
abf5048b | 27955 | cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 |
fc6ffb29 AJ |
27956 | |
27957 | # Handling of arguments. | |
f5818d2f AJ |
27958 | for ac_config_target in $ac_config_targets |
27959 | do | |
fc6ffb29 AJ |
27960 | case $ac_config_target in |
27961 | "include/config.h") CONFIG_HEADERS="$CONFIG_HEADERS include/config.h" ;; | |
c4704c2d | 27962 | "include/stamp-h") CONFIG_COMMANDS="$CONFIG_COMMANDS include/stamp-h" ;; |
7dfc4477 AJ |
27963 | "dlls/gdi32/enhmfdrv") CONFIG_COMMANDS="$CONFIG_COMMANDS dlls/gdi32/enhmfdrv" ;; |
27964 | "dlls/gdi32/mfdrv") CONFIG_COMMANDS="$CONFIG_COMMANDS dlls/gdi32/mfdrv" ;; | |
1c60e3bf | 27965 | "dlls/kernel32/nls") CONFIG_COMMANDS="$CONFIG_COMMANDS dlls/kernel32/nls" ;; |
b8a2e3b8 | 27966 | "dlls/user32/resources") CONFIG_COMMANDS="$CONFIG_COMMANDS dlls/user32/resources" ;; |
fc6ffb29 AJ |
27967 | "dlls/wineps.drv/data") CONFIG_COMMANDS="$CONFIG_COMMANDS dlls/wineps.drv/data" ;; |
27968 | "include/wine") CONFIG_COMMANDS="$CONFIG_COMMANDS include/wine" ;; | |
27969 | "Make.rules") CONFIG_FILES="$CONFIG_FILES Make.rules" ;; | |
27970 | "dlls/Makedll.rules") CONFIG_FILES="$CONFIG_FILES dlls/Makedll.rules" ;; | |
27971 | "dlls/Makeimplib.rules") CONFIG_FILES="$CONFIG_FILES dlls/Makeimplib.rules" ;; | |
27972 | "dlls/Maketest.rules") CONFIG_FILES="$CONFIG_FILES dlls/Maketest.rules" ;; | |
fc6ffb29 AJ |
27973 | "programs/Makeprog.rules") CONFIG_FILES="$CONFIG_FILES programs/Makeprog.rules" ;; |
27974 | "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;; | |
27975 | "dlls/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/Makefile" ;; | |
0da02fb2 | 27976 | "dlls/acledit/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/acledit/Makefile" ;; |
fc6ffb29 | 27977 | "dlls/activeds/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/activeds/Makefile" ;; |
e8c7c068 | 27978 | "dlls/actxprxy/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/actxprxy/Makefile" ;; |
76e08969 | 27979 | "dlls/adsiid/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/adsiid/Makefile" ;; |
fc6ffb29 AJ |
27980 | "dlls/advapi32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/advapi32/Makefile" ;; |
27981 | "dlls/advapi32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/advapi32/tests/Makefile" ;; | |
27982 | "dlls/advpack/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/advpack/Makefile" ;; | |
27983 | "dlls/advpack/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/advpack/tests/Makefile" ;; | |
27984 | "dlls/amstream/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/amstream/Makefile" ;; | |
f4e6489e | 27985 | "dlls/appwiz.cpl/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/appwiz.cpl/Makefile" ;; |
fc6ffb29 AJ |
27986 | "dlls/atl/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/atl/Makefile" ;; |
27987 | "dlls/avicap32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/avicap32/Makefile" ;; | |
27988 | "dlls/avifil32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/avifil32/Makefile" ;; | |
ea0361f3 | 27989 | "dlls/browseui/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/browseui/Makefile" ;; |
7206e106 | 27990 | "dlls/browseui/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/browseui/tests/Makefile" ;; |
fc6ffb29 AJ |
27991 | "dlls/cabinet/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/cabinet/Makefile" ;; |
27992 | "dlls/cabinet/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/cabinet/tests/Makefile" ;; | |
27993 | "dlls/capi2032/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/capi2032/Makefile" ;; | |
27994 | "dlls/cards/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/cards/Makefile" ;; | |
27995 | "dlls/cfgmgr32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/cfgmgr32/Makefile" ;; | |
493bc6b8 | 27996 | "dlls/clusapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/clusapi/Makefile" ;; |
fc6ffb29 | 27997 | "dlls/comcat/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/comcat/Makefile" ;; |
9c3b12bd | 27998 | "dlls/comcat/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/comcat/tests/Makefile" ;; |
fc6ffb29 AJ |
27999 | "dlls/comctl32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/comctl32/Makefile" ;; |
28000 | "dlls/comctl32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/comctl32/tests/Makefile" ;; | |
28001 | "dlls/comdlg32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/comdlg32/Makefile" ;; | |
955fe0da | 28002 | "dlls/comdlg32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/comdlg32/tests/Makefile" ;; |
5640b56e | 28003 | "dlls/compstui/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/compstui/Makefile" ;; |
c82fde40 | 28004 | "dlls/credui/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/credui/Makefile" ;; |
e146591c | 28005 | "dlls/credui/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/credui/tests/Makefile" ;; |
fc6ffb29 AJ |
28006 | "dlls/crtdll/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/crtdll/Makefile" ;; |
28007 | "dlls/crypt32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/crypt32/Makefile" ;; | |
28008 | "dlls/crypt32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/crypt32/tests/Makefile" ;; | |
f9308217 | 28009 | "dlls/cryptdlg/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/cryptdlg/Makefile" ;; |
fc6ffb29 | 28010 | "dlls/cryptdll/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/cryptdll/Makefile" ;; |
d2ee3872 | 28011 | "dlls/cryptnet/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/cryptnet/Makefile" ;; |
322bcddf | 28012 | "dlls/cryptnet/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/cryptnet/tests/Makefile" ;; |
2016c63e | 28013 | "dlls/cryptui/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/cryptui/Makefile" ;; |
7e0e1a1f | 28014 | "dlls/cryptui/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/cryptui/tests/Makefile" ;; |
f89c6de7 | 28015 | "dlls/ctapi32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ctapi32/Makefile" ;; |
fc6ffb29 | 28016 | "dlls/ctl3d32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ctl3d32/Makefile" ;; |
0db109ff | 28017 | "dlls/d3d10/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3d10/Makefile" ;; |
65e614a9 | 28018 | "dlls/d3d10/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3d10/tests/Makefile" ;; |
078fc191 | 28019 | "dlls/d3d10core/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3d10core/Makefile" ;; |
1dad7595 | 28020 | "dlls/d3d10core/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3d10core/tests/Makefile" ;; |
fc6ffb29 AJ |
28021 | "dlls/d3d8/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3d8/Makefile" ;; |
28022 | "dlls/d3d8/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3d8/tests/Makefile" ;; | |
28023 | "dlls/d3d9/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3d9/Makefile" ;; | |
28024 | "dlls/d3d9/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3d9/tests/Makefile" ;; | |
28025 | "dlls/d3dim/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3dim/Makefile" ;; | |
28026 | "dlls/d3drm/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3drm/Makefile" ;; | |
f50800b2 | 28027 | "dlls/d3drm/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3drm/tests/Makefile" ;; |
fc6ffb29 | 28028 | "dlls/d3dx8/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3dx8/Makefile" ;; |
e4ba8eb4 | 28029 | "dlls/d3dx8/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3dx8/tests/Makefile" ;; |
6f834d35 | 28030 | "dlls/d3dx9_24/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3dx9_24/Makefile" ;; |
e9c16391 | 28031 | "dlls/d3dx9_25/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3dx9_25/Makefile" ;; |
409b19b9 TW |
28032 | "dlls/d3dx9_26/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3dx9_26/Makefile" ;; |
28033 | "dlls/d3dx9_27/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3dx9_27/Makefile" ;; | |
2aa1505a TW |
28034 | "dlls/d3dx9_28/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3dx9_28/Makefile" ;; |
28035 | "dlls/d3dx9_29/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3dx9_29/Makefile" ;; | |
28036 | "dlls/d3dx9_30/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3dx9_30/Makefile" ;; | |
e4866622 | 28037 | "dlls/d3dx9_31/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3dx9_31/Makefile" ;; |
df0a694f TW |
28038 | "dlls/d3dx9_32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3dx9_32/Makefile" ;; |
28039 | "dlls/d3dx9_33/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3dx9_33/Makefile" ;; | |
28040 | "dlls/d3dx9_34/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3dx9_34/Makefile" ;; | |
28041 | "dlls/d3dx9_35/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3dx9_35/Makefile" ;; | |
87fefc7e | 28042 | "dlls/d3dx9_36/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3dx9_36/Makefile" ;; |
b67290b9 | 28043 | "dlls/d3dx9_36/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3dx9_36/tests/Makefile" ;; |
be0799fc | 28044 | "dlls/d3dx9_37/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3dx9_37/Makefile" ;; |
fc6ffb29 | 28045 | "dlls/d3dxof/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3dxof/Makefile" ;; |
04d72cdd | 28046 | "dlls/d3dxof/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3dxof/tests/Makefile" ;; |
fc6ffb29 AJ |
28047 | "dlls/dbghelp/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dbghelp/Makefile" ;; |
28048 | "dlls/dciman32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dciman32/Makefile" ;; | |
28049 | "dlls/ddraw/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ddraw/Makefile" ;; | |
28050 | "dlls/ddraw/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ddraw/tests/Makefile" ;; | |
fe70c54a | 28051 | "dlls/ddrawex/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ddrawex/Makefile" ;; |
fc6ffb29 AJ |
28052 | "dlls/devenum/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/devenum/Makefile" ;; |
28053 | "dlls/dinput/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dinput/Makefile" ;; | |
28054 | "dlls/dinput/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dinput/tests/Makefile" ;; | |
28055 | "dlls/dinput8/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dinput8/Makefile" ;; | |
28056 | "dlls/dmband/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dmband/Makefile" ;; | |
28057 | "dlls/dmcompos/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dmcompos/Makefile" ;; | |
28058 | "dlls/dmime/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dmime/Makefile" ;; | |
28059 | "dlls/dmloader/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dmloader/Makefile" ;; | |
28060 | "dlls/dmscript/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dmscript/Makefile" ;; | |
28061 | "dlls/dmstyle/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dmstyle/Makefile" ;; | |
28062 | "dlls/dmsynth/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dmsynth/Makefile" ;; | |
28063 | "dlls/dmusic/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dmusic/Makefile" ;; | |
28064 | "dlls/dmusic32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dmusic32/Makefile" ;; | |
28065 | "dlls/dnsapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dnsapi/Makefile" ;; | |
28066 | "dlls/dnsapi/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dnsapi/tests/Makefile" ;; | |
28067 | "dlls/dplay/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dplay/Makefile" ;; | |
28068 | "dlls/dplayx/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dplayx/Makefile" ;; | |
d1331e62 | 28069 | "dlls/dplayx/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dplayx/tests/Makefile" ;; |
8caf0787 | 28070 | "dlls/dpnaddr/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dpnaddr/Makefile" ;; |
fc6ffb29 AJ |
28071 | "dlls/dpnet/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dpnet/Makefile" ;; |
28072 | "dlls/dpnhpast/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dpnhpast/Makefile" ;; | |
5996c132 | 28073 | "dlls/dpnlobby/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dpnlobby/Makefile" ;; |
9d2a1e8a | 28074 | "dlls/dpwsockx/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dpwsockx/Makefile" ;; |
fc6ffb29 AJ |
28075 | "dlls/dsound/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dsound/Makefile" ;; |
28076 | "dlls/dsound/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dsound/tests/Makefile" ;; | |
2472e81c | 28077 | "dlls/dssenh/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dssenh/Makefile" ;; |
fc6ffb29 | 28078 | "dlls/dswave/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dswave/Makefile" ;; |
c0ddd5e3 | 28079 | "dlls/dwmapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dwmapi/Makefile" ;; |
fc6ffb29 AJ |
28080 | "dlls/dxdiagn/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dxdiagn/Makefile" ;; |
28081 | "dlls/dxerr8/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dxerr8/Makefile" ;; | |
28082 | "dlls/dxerr9/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dxerr9/Makefile" ;; | |
9e376213 | 28083 | "dlls/dxgi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dxgi/Makefile" ;; |
1dea8291 | 28084 | "dlls/dxgi/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dxgi/tests/Makefile" ;; |
fc6ffb29 | 28085 | "dlls/dxguid/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dxguid/Makefile" ;; |
a2cd6430 | 28086 | "dlls/faultrep/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/faultrep/Makefile" ;; |
c0b3af34 | 28087 | "dlls/fusion/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/fusion/Makefile" ;; |
9e021cff | 28088 | "dlls/fusion/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/fusion/tests/Makefile" ;; |
7dfc4477 AJ |
28089 | "dlls/gdi32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/gdi32/Makefile" ;; |
28090 | "dlls/gdi32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/gdi32/tests/Makefile" ;; | |
bed761c9 | 28091 | "dlls/gdiplus/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/gdiplus/Makefile" ;; |
fcd7a62e | 28092 | "dlls/gdiplus/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/gdiplus/tests/Makefile" ;; |
fc6ffb29 | 28093 | "dlls/glu32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/glu32/Makefile" ;; |
fc6ffb29 | 28094 | "dlls/gphoto2.ds/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/gphoto2.ds/Makefile" ;; |
e4576c80 | 28095 | "dlls/gpkcsp/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/gpkcsp/Makefile" ;; |
d2d68702 | 28096 | "dlls/hal/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/hal/Makefile" ;; |
fc6ffb29 | 28097 | "dlls/hhctrl.ocx/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/hhctrl.ocx/Makefile" ;; |
b89cafaf | 28098 | "dlls/hid/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/hid/Makefile" ;; |
b732e9b4 | 28099 | "dlls/hlink/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/hlink/Makefile" ;; |
a430db9e | 28100 | "dlls/hlink/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/hlink/tests/Makefile" ;; |
a00aa039 | 28101 | "dlls/hnetcfg/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/hnetcfg/Makefile" ;; |
fc6ffb29 AJ |
28102 | "dlls/iccvid/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/iccvid/Makefile" ;; |
28103 | "dlls/icmp/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/icmp/Makefile" ;; | |
28104 | "dlls/ifsmgr.vxd/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ifsmgr.vxd/Makefile" ;; | |
28105 | "dlls/imaadp32.acm/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/imaadp32.acm/Makefile" ;; | |
28106 | "dlls/imagehlp/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/imagehlp/Makefile" ;; | |
28107 | "dlls/imm32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/imm32/Makefile" ;; | |
0a31ab7e | 28108 | "dlls/imm32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/imm32/tests/Makefile" ;; |
beab2c17 | 28109 | "dlls/inetcomm/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/inetcomm/Makefile" ;; |
ba6b7e8b | 28110 | "dlls/inetcomm/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/inetcomm/tests/Makefile" ;; |
17231579 | 28111 | "dlls/inetmib1/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/inetmib1/Makefile" ;; |
cca77db0 | 28112 | "dlls/inetmib1/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/inetmib1/tests/Makefile" ;; |
4d3877b6 | 28113 | "dlls/infosoft/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/infosoft/Makefile" ;; |
b5871fa5 | 28114 | "dlls/infosoft/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/infosoft/tests/Makefile" ;; |
7c3d24bf | 28115 | "dlls/initpki/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/initpki/Makefile" ;; |
e9252251 | 28116 | "dlls/inkobj/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/inkobj/Makefile" ;; |
4d3877b6 | 28117 | "dlls/inseng/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/inseng/Makefile" ;; |
fc6ffb29 AJ |
28118 | "dlls/iphlpapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/iphlpapi/Makefile" ;; |
28119 | "dlls/iphlpapi/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/iphlpapi/tests/Makefile" ;; | |
58b0686e | 28120 | "dlls/itircl/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/itircl/Makefile" ;; |
fc6ffb29 | 28121 | "dlls/itss/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/itss/Makefile" ;; |
1e65d474 | 28122 | "dlls/itss/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/itss/tests/Makefile" ;; |
fa23a2c4 | 28123 | "dlls/jscript/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/jscript/Makefile" ;; |
63ebe019 | 28124 | "dlls/jscript/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/jscript/tests/Makefile" ;; |
489d87d1 AJ |
28125 | "dlls/kernel32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/kernel32/Makefile" ;; |
28126 | "dlls/kernel32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/kernel32/tests/Makefile" ;; | |
2198d836 | 28127 | "dlls/localspl/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/localspl/Makefile" ;; |
ecb97fc2 | 28128 | "dlls/localspl/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/localspl/tests/Makefile" ;; |
d24bc087 | 28129 | "dlls/localui/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/localui/Makefile" ;; |
62e92795 | 28130 | "dlls/localui/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/localui/tests/Makefile" ;; |
fc6ffb29 AJ |
28131 | "dlls/lz32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/lz32/Makefile" ;; |
28132 | "dlls/lz32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/lz32/tests/Makefile" ;; | |
28133 | "dlls/mapi32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mapi32/Makefile" ;; | |
28134 | "dlls/mapi32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mapi32/tests/Makefile" ;; | |
28135 | "dlls/mciavi32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mciavi32/Makefile" ;; | |
28136 | "dlls/mcicda/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mcicda/Makefile" ;; | |
28137 | "dlls/mciseq/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mciseq/Makefile" ;; | |
28138 | "dlls/mciwave/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mciwave/Makefile" ;; | |
28139 | "dlls/midimap/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/midimap/Makefile" ;; | |
28140 | "dlls/mlang/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mlang/Makefile" ;; | |
28141 | "dlls/mlang/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mlang/tests/Makefile" ;; | |
28142 | "dlls/mmdevldr.vxd/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mmdevldr.vxd/Makefile" ;; | |
28143 | "dlls/monodebg.vxd/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/monodebg.vxd/Makefile" ;; | |
43dc80e6 | 28144 | "dlls/mountmgr.sys/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mountmgr.sys/Makefile" ;; |
fc6ffb29 AJ |
28145 | "dlls/mpr/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mpr/Makefile" ;; |
28146 | "dlls/mprapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mprapi/Makefile" ;; | |
28147 | "dlls/msacm32.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msacm32.drv/Makefile" ;; | |
28148 | "dlls/msacm32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msacm32/Makefile" ;; | |
28149 | "dlls/msacm32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msacm32/tests/Makefile" ;; | |
28150 | "dlls/msadp32.acm/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msadp32.acm/Makefile" ;; | |
6103f312 | 28151 | "dlls/mscat32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mscat32/Makefile" ;; |
fc6ffb29 AJ |
28152 | "dlls/mscms/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mscms/Makefile" ;; |
28153 | "dlls/mscms/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mscms/tests/Makefile" ;; | |
4fe6c3fa | 28154 | "dlls/mscoree/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mscoree/Makefile" ;; |
fc6ffb29 AJ |
28155 | "dlls/msdmo/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msdmo/Makefile" ;; |
28156 | "dlls/msftedit/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msftedit/Makefile" ;; | |
28157 | "dlls/msg711.acm/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msg711.acm/Makefile" ;; | |
021d06a4 | 28158 | "dlls/mshtml.tlb/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mshtml.tlb/Makefile" ;; |
fc6ffb29 AJ |
28159 | "dlls/mshtml/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mshtml/Makefile" ;; |
28160 | "dlls/mshtml/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mshtml/tests/Makefile" ;; | |
28161 | "dlls/msi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msi/Makefile" ;; | |
28162 | "dlls/msi/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msi/tests/Makefile" ;; | |
28163 | "dlls/msimg32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msimg32/Makefile" ;; | |
44a808fb | 28164 | "dlls/msimtf/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msimtf/Makefile" ;; |
8a6c2c2b | 28165 | "dlls/msisip/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msisip/Makefile" ;; |
fc6ffb29 AJ |
28166 | "dlls/msisys.ocx/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msisys.ocx/Makefile" ;; |
28167 | "dlls/msnet32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msnet32/Makefile" ;; | |
28168 | "dlls/msrle32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msrle32/Makefile" ;; | |
c438d239 | 28169 | "dlls/mssip32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mssip32/Makefile" ;; |
80ee225f | 28170 | "dlls/mstask/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mstask/Makefile" ;; |
3842ab09 | 28171 | "dlls/mstask/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mstask/tests/Makefile" ;; |
455a4994 | 28172 | "dlls/msvcirt/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msvcirt/Makefile" ;; |
67815c6b | 28173 | "dlls/msvcr71/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msvcr71/Makefile" ;; |
fc6ffb29 AJ |
28174 | "dlls/msvcrt/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msvcrt/Makefile" ;; |
28175 | "dlls/msvcrt/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msvcrt/tests/Makefile" ;; | |
28176 | "dlls/msvcrt20/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msvcrt20/Makefile" ;; | |
28177 | "dlls/msvcrt40/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msvcrt40/Makefile" ;; | |
28178 | "dlls/msvcrtd/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msvcrtd/Makefile" ;; | |
28179 | "dlls/msvcrtd/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msvcrtd/tests/Makefile" ;; | |
28180 | "dlls/msvfw32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msvfw32/Makefile" ;; | |
28181 | "dlls/msvidc32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msvidc32/Makefile" ;; | |
28182 | "dlls/mswsock/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mswsock/Makefile" ;; | |
28183 | "dlls/msxml3/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msxml3/Makefile" ;; | |
28184 | "dlls/msxml3/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msxml3/tests/Makefile" ;; | |
0b4eafad | 28185 | "dlls/nddeapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/nddeapi/Makefile" ;; |
fc6ffb29 AJ |
28186 | "dlls/netapi32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/netapi32/Makefile" ;; |
28187 | "dlls/netapi32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/netapi32/tests/Makefile" ;; | |
28188 | "dlls/newdev/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/newdev/Makefile" ;; | |
28189 | "dlls/ntdll/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ntdll/Makefile" ;; | |
28190 | "dlls/ntdll/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ntdll/tests/Makefile" ;; | |
28191 | "dlls/ntdsapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ntdsapi/Makefile" ;; | |
5db45041 | 28192 | "dlls/ntdsapi/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ntdsapi/tests/Makefile" ;; |
12c169d2 | 28193 | "dlls/ntoskrnl.exe/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ntoskrnl.exe/Makefile" ;; |
a8697b58 | 28194 | "dlls/ntprint/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ntprint/Makefile" ;; |
a114483e | 28195 | "dlls/ntprint/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ntprint/tests/Makefile" ;; |
fc6ffb29 AJ |
28196 | "dlls/objsel/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/objsel/Makefile" ;; |
28197 | "dlls/odbc32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/odbc32/Makefile" ;; | |
28198 | "dlls/odbccp32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/odbccp32/Makefile" ;; | |
cf6e0d82 | 28199 | "dlls/odbccp32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/odbccp32/tests/Makefile" ;; |
fc6ffb29 AJ |
28200 | "dlls/ole32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ole32/Makefile" ;; |
28201 | "dlls/ole32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ole32/tests/Makefile" ;; | |
28202 | "dlls/oleacc/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/oleacc/Makefile" ;; | |
e2399a96 | 28203 | "dlls/oleacc/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/oleacc/tests/Makefile" ;; |
fc6ffb29 AJ |
28204 | "dlls/oleaut32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/oleaut32/Makefile" ;; |
28205 | "dlls/oleaut32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/oleaut32/tests/Makefile" ;; | |
28206 | "dlls/olecli32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/olecli32/Makefile" ;; | |
28207 | "dlls/oledlg/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/oledlg/Makefile" ;; | |
28208 | "dlls/olepro32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/olepro32/Makefile" ;; | |
28209 | "dlls/olesvr32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/olesvr32/Makefile" ;; | |
7db1bd9f | 28210 | "dlls/olethk32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/olethk32/Makefile" ;; |
fc6ffb29 | 28211 | "dlls/opengl32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/opengl32/Makefile" ;; |
219269c0 | 28212 | "dlls/opengl32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/opengl32/tests/Makefile" ;; |
41f15a76 | 28213 | "dlls/pdh/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/pdh/Makefile" ;; |
0a6f6874 | 28214 | "dlls/pdh/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/pdh/tests/Makefile" ;; |
fc6ffb29 | 28215 | "dlls/powrprof/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/powrprof/Makefile" ;; |
3fd4a536 | 28216 | "dlls/printui/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/printui/Makefile" ;; |
07588027 | 28217 | "dlls/propsys/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/propsys/Makefile" ;; |
fc6ffb29 AJ |
28218 | "dlls/psapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/psapi/Makefile" ;; |
28219 | "dlls/psapi/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/psapi/tests/Makefile" ;; | |
acb7f8ab | 28220 | "dlls/pstorec/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/pstorec/Makefile" ;; |
fc6ffb29 | 28221 | "dlls/qcap/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/qcap/Makefile" ;; |
6de8be71 | 28222 | "dlls/qedit/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/qedit/Makefile" ;; |
e8551a07 | 28223 | "dlls/qedit/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/qedit/tests/Makefile" ;; |
2b0255f6 | 28224 | "dlls/qmgr/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/qmgr/Makefile" ;; |
884e7e7b | 28225 | "dlls/qmgr/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/qmgr/tests/Makefile" ;; |
00ef4e58 | 28226 | "dlls/qmgrprxy/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/qmgrprxy/Makefile" ;; |
fc6ffb29 AJ |
28227 | "dlls/quartz/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/quartz/Makefile" ;; |
28228 | "dlls/quartz/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/quartz/tests/Makefile" ;; | |
defbc49b | 28229 | "dlls/query/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/query/Makefile" ;; |
fc6ffb29 | 28230 | "dlls/rasapi32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/rasapi32/Makefile" ;; |
b8c6d8e5 | 28231 | "dlls/rasapi32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/rasapi32/tests/Makefile" ;; |
3ac07aa0 | 28232 | "dlls/resutils/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/resutils/Makefile" ;; |
fc6ffb29 AJ |
28233 | "dlls/riched20/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/riched20/Makefile" ;; |
28234 | "dlls/riched20/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/riched20/tests/Makefile" ;; | |
28235 | "dlls/riched32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/riched32/Makefile" ;; | |
74cd5903 | 28236 | "dlls/riched32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/riched32/tests/Makefile" ;; |
fc6ffb29 AJ |
28237 | "dlls/rpcrt4/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/rpcrt4/Makefile" ;; |
28238 | "dlls/rpcrt4/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/rpcrt4/tests/Makefile" ;; | |
28239 | "dlls/rsabase/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/rsabase/Makefile" ;; | |
fc6ffb29 AJ |
28240 | "dlls/rsaenh/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/rsaenh/Makefile" ;; |
28241 | "dlls/rsaenh/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/rsaenh/tests/Makefile" ;; | |
28242 | "dlls/sane.ds/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/sane.ds/Makefile" ;; | |
322d4cab | 28243 | "dlls/sccbase/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/sccbase/Makefile" ;; |
361c6f20 | 28244 | "dlls/schannel/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/schannel/Makefile" ;; |
735df246 | 28245 | "dlls/schannel/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/schannel/tests/Makefile" ;; |
fc6ffb29 AJ |
28246 | "dlls/secur32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/secur32/Makefile" ;; |
28247 | "dlls/secur32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/secur32/tests/Makefile" ;; | |
28248 | "dlls/security/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/security/Makefile" ;; | |
28249 | "dlls/sensapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/sensapi/Makefile" ;; | |
28250 | "dlls/serialui/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/serialui/Makefile" ;; | |
8650c570 | 28251 | "dlls/serialui/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/serialui/tests/Makefile" ;; |
fc6ffb29 AJ |
28252 | "dlls/setupapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/setupapi/Makefile" ;; |
28253 | "dlls/setupapi/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/setupapi/tests/Makefile" ;; | |
28254 | "dlls/sfc/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/sfc/Makefile" ;; | |
161897e1 | 28255 | "dlls/sfc_os/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/sfc_os/Makefile" ;; |
2d3a5a61 | 28256 | "dlls/shdoclc/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/shdoclc/Makefile" ;; |
fc6ffb29 AJ |
28257 | "dlls/shdocvw/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/shdocvw/Makefile" ;; |
28258 | "dlls/shdocvw/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/shdocvw/tests/Makefile" ;; | |
28259 | "dlls/shell32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/shell32/Makefile" ;; | |
28260 | "dlls/shell32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/shell32/tests/Makefile" ;; | |
28261 | "dlls/shfolder/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/shfolder/Makefile" ;; | |
28262 | "dlls/shlwapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/shlwapi/Makefile" ;; | |
28263 | "dlls/shlwapi/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/shlwapi/tests/Makefile" ;; | |
b3a9699a | 28264 | "dlls/slbcsp/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/slbcsp/Makefile" ;; |
ea563709 | 28265 | "dlls/slc/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/slc/Makefile" ;; |
fc6ffb29 | 28266 | "dlls/snmpapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/snmpapi/Makefile" ;; |
396f6c05 | 28267 | "dlls/snmpapi/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/snmpapi/tests/Makefile" ;; |
e11826f5 | 28268 | "dlls/softpub/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/softpub/Makefile" ;; |
fc6ffb29 | 28269 | "dlls/spoolss/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/spoolss/Makefile" ;; |
cf122bab | 28270 | "dlls/spoolss/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/spoolss/tests/Makefile" ;; |
fc6ffb29 AJ |
28271 | "dlls/stdole2.tlb/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/stdole2.tlb/Makefile" ;; |
28272 | "dlls/stdole32.tlb/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/stdole32.tlb/Makefile" ;; | |
28273 | "dlls/sti/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/sti/Makefile" ;; | |
28274 | "dlls/strmiids/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/strmiids/Makefile" ;; | |
bb497631 | 28275 | "dlls/svrapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/svrapi/Makefile" ;; |
74977dae | 28276 | "dlls/sxs/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/sxs/Makefile" ;; |
fc6ffb29 AJ |
28277 | "dlls/tapi32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/tapi32/Makefile" ;; |
28278 | "dlls/twain_32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/twain_32/Makefile" ;; | |
28279 | "dlls/unicows/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/unicows/Makefile" ;; | |
28280 | "dlls/url/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/url/Makefile" ;; | |
28281 | "dlls/urlmon/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/urlmon/Makefile" ;; | |
28282 | "dlls/urlmon/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/urlmon/tests/Makefile" ;; | |
b8a2e3b8 AJ |
28283 | "dlls/user32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/user32/Makefile" ;; |
28284 | "dlls/user32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/user32/tests/Makefile" ;; | |
a6ea0f61 | 28285 | "dlls/userenv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/userenv/Makefile" ;; |
ffb04579 | 28286 | "dlls/userenv/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/userenv/tests/Makefile" ;; |
fc6ffb29 AJ |
28287 | "dlls/usp10/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/usp10/Makefile" ;; |
28288 | "dlls/usp10/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/usp10/tests/Makefile" ;; | |
28289 | "dlls/uuid/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/uuid/Makefile" ;; | |
28290 | "dlls/uxtheme/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/uxtheme/Makefile" ;; | |
569a452d | 28291 | "dlls/uxtheme/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/uxtheme/tests/Makefile" ;; |
fc6ffb29 AJ |
28292 | "dlls/vdhcp.vxd/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/vdhcp.vxd/Makefile" ;; |
28293 | "dlls/vdmdbg/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/vdmdbg/Makefile" ;; | |
28294 | "dlls/version/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/version/Makefile" ;; | |
28295 | "dlls/version/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/version/tests/Makefile" ;; | |
28296 | "dlls/vmm.vxd/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/vmm.vxd/Makefile" ;; | |
28297 | "dlls/vnbt.vxd/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/vnbt.vxd/Makefile" ;; | |
28298 | "dlls/vnetbios.vxd/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/vnetbios.vxd/Makefile" ;; | |
28299 | "dlls/vtdapi.vxd/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/vtdapi.vxd/Makefile" ;; | |
28300 | "dlls/vwin32.vxd/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/vwin32.vxd/Makefile" ;; | |
28301 | "dlls/w32skrnl/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/w32skrnl/Makefile" ;; | |
01905338 | 28302 | "dlls/winealsa.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winealsa.drv/Makefile" ;; |
f972d662 | 28303 | "dlls/wineaudioio.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wineaudioio.drv/Makefile" ;; |
9402089e | 28304 | "dlls/winecoreaudio.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winecoreaudio.drv/Makefile" ;; |
fc6ffb29 AJ |
28305 | "dlls/winecrt0/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winecrt0/Makefile" ;; |
28306 | "dlls/wined3d/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wined3d/Makefile" ;; | |
28307 | "dlls/winedos/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winedos/Makefile" ;; | |
851e6d7c | 28308 | "dlls/wineesd.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wineesd.drv/Makefile" ;; |
7fc151d6 | 28309 | "dlls/winejack.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winejack.drv/Makefile" ;; |
f231a70f | 28310 | "dlls/winejoystick.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winejoystick.drv/Makefile" ;; |
fc6ffb29 | 28311 | "dlls/winemp3.acm/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winemp3.acm/Makefile" ;; |
ae0380d9 | 28312 | "dlls/winenas.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winenas.drv/Makefile" ;; |
dc3961bc | 28313 | "dlls/wineoss.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wineoss.drv/Makefile" ;; |
fc6ffb29 | 28314 | "dlls/wineps.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wineps.drv/Makefile" ;; |
08884514 | 28315 | "dlls/winequartz.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winequartz.drv/Makefile" ;; |
bdb4fab7 | 28316 | "dlls/winex11.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winex11.drv/Makefile" ;; |
47e6fb4d | 28317 | "dlls/wing32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wing32/Makefile" ;; |
21572967 | 28318 | "dlls/winhttp/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winhttp/Makefile" ;; |
b2be840e | 28319 | "dlls/winhttp/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winhttp/tests/Makefile" ;; |
fc6ffb29 AJ |
28320 | "dlls/wininet/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wininet/Makefile" ;; |
28321 | "dlls/wininet/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wininet/tests/Makefile" ;; | |
28322 | "dlls/winmm/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winmm/Makefile" ;; | |
fc6ffb29 | 28323 | "dlls/winmm/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winmm/tests/Makefile" ;; |
fc6ffb29 | 28324 | "dlls/winnls32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winnls32/Makefile" ;; |
23df68d8 | 28325 | "dlls/winscard/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winscard/Makefile" ;; |
fc6ffb29 AJ |
28326 | "dlls/winspool.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winspool.drv/Makefile" ;; |
28327 | "dlls/winspool.drv/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winspool.drv/tests/Makefile" ;; | |
28328 | "dlls/wintab32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wintab32/Makefile" ;; | |
28329 | "dlls/wintrust/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wintrust/Makefile" ;; | |
95bb9032 | 28330 | "dlls/wintrust/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wintrust/tests/Makefile" ;; |
fc6ffb29 | 28331 | "dlls/wldap32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wldap32/Makefile" ;; |
b9813873 | 28332 | "dlls/wldap32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wldap32/tests/Makefile" ;; |
4328d92d | 28333 | "dlls/wmi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wmi/Makefile" ;; |
fc6ffb29 AJ |
28334 | "dlls/wnaspi32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wnaspi32/Makefile" ;; |
28335 | "dlls/wow32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wow32/Makefile" ;; | |
28336 | "dlls/ws2_32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ws2_32/Makefile" ;; | |
28337 | "dlls/ws2_32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ws2_32/tests/Makefile" ;; | |
28338 | "dlls/wsock32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wsock32/Makefile" ;; | |
28339 | "dlls/wtsapi32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wtsapi32/Makefile" ;; | |
68ede59f | 28340 | "dlls/xinput1_1/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/xinput1_1/Makefile" ;; |
85a4a1dd | 28341 | "dlls/xinput1_2/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/xinput1_2/Makefile" ;; |
457a22de | 28342 | "dlls/xinput1_3/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/xinput1_3/Makefile" ;; |
29789a8e | 28343 | "dlls/xinput1_3/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/xinput1_3/tests/Makefile" ;; |
c4cd3bc7 | 28344 | "dlls/xinput9_1_0/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/xinput9_1_0/Makefile" ;; |
fc6ffb29 AJ |
28345 | "documentation/Makefile") CONFIG_FILES="$CONFIG_FILES documentation/Makefile" ;; |
28346 | "fonts/Makefile") CONFIG_FILES="$CONFIG_FILES fonts/Makefile" ;; | |
28347 | "include/Makefile") CONFIG_FILES="$CONFIG_FILES include/Makefile" ;; | |
28348 | "libs/Makefile") CONFIG_FILES="$CONFIG_FILES libs/Makefile" ;; | |
28349 | "libs/port/Makefile") CONFIG_FILES="$CONFIG_FILES libs/port/Makefile" ;; | |
fc6ffb29 AJ |
28350 | "libs/wine/Makefile") CONFIG_FILES="$CONFIG_FILES libs/wine/Makefile" ;; |
28351 | "libs/wpp/Makefile") CONFIG_FILES="$CONFIG_FILES libs/wpp/Makefile" ;; | |
28352 | "loader/Makefile") CONFIG_FILES="$CONFIG_FILES loader/Makefile" ;; | |
28353 | "programs/Makefile") CONFIG_FILES="$CONFIG_FILES programs/Makefile" ;; | |
28354 | "programs/clock/Makefile") CONFIG_FILES="$CONFIG_FILES programs/clock/Makefile" ;; | |
39857443 | 28355 | "programs/cmd/Makefile") CONFIG_FILES="$CONFIG_FILES programs/cmd/Makefile" ;; |
fc6ffb29 AJ |
28356 | "programs/cmdlgtst/Makefile") CONFIG_FILES="$CONFIG_FILES programs/cmdlgtst/Makefile" ;; |
28357 | "programs/control/Makefile") CONFIG_FILES="$CONFIG_FILES programs/control/Makefile" ;; | |
28358 | "programs/eject/Makefile") CONFIG_FILES="$CONFIG_FILES programs/eject/Makefile" ;; | |
28359 | "programs/expand/Makefile") CONFIG_FILES="$CONFIG_FILES programs/expand/Makefile" ;; | |
28360 | "programs/explorer/Makefile") CONFIG_FILES="$CONFIG_FILES programs/explorer/Makefile" ;; | |
28361 | "programs/hh/Makefile") CONFIG_FILES="$CONFIG_FILES programs/hh/Makefile" ;; | |
28362 | "programs/icinfo/Makefile") CONFIG_FILES="$CONFIG_FILES programs/icinfo/Makefile" ;; | |
28363 | "programs/iexplore/Makefile") CONFIG_FILES="$CONFIG_FILES programs/iexplore/Makefile" ;; | |
28364 | "programs/msiexec/Makefile") CONFIG_FILES="$CONFIG_FILES programs/msiexec/Makefile" ;; | |
451616ee | 28365 | "programs/net/Makefile") CONFIG_FILES="$CONFIG_FILES programs/net/Makefile" ;; |
fc6ffb29 | 28366 | "programs/notepad/Makefile") CONFIG_FILES="$CONFIG_FILES programs/notepad/Makefile" ;; |
68f590cf | 28367 | "programs/oleview/Makefile") CONFIG_FILES="$CONFIG_FILES programs/oleview/Makefile" ;; |
fc6ffb29 | 28368 | "programs/progman/Makefile") CONFIG_FILES="$CONFIG_FILES programs/progman/Makefile" ;; |
2087ad46 | 28369 | "programs/reg/Makefile") CONFIG_FILES="$CONFIG_FILES programs/reg/Makefile" ;; |
fc6ffb29 AJ |
28370 | "programs/regedit/Makefile") CONFIG_FILES="$CONFIG_FILES programs/regedit/Makefile" ;; |
28371 | "programs/regsvr32/Makefile") CONFIG_FILES="$CONFIG_FILES programs/regsvr32/Makefile" ;; | |
28372 | "programs/rpcss/Makefile") CONFIG_FILES="$CONFIG_FILES programs/rpcss/Makefile" ;; | |
28373 | "programs/rundll32/Makefile") CONFIG_FILES="$CONFIG_FILES programs/rundll32/Makefile" ;; | |
6547fef3 | 28374 | "programs/secedit/Makefile") CONFIG_FILES="$CONFIG_FILES programs/secedit/Makefile" ;; |
7bd0efa1 | 28375 | "programs/services/Makefile") CONFIG_FILES="$CONFIG_FILES programs/services/Makefile" ;; |
d1ddc9c1 | 28376 | "programs/spoolsv/Makefile") CONFIG_FILES="$CONFIG_FILES programs/spoolsv/Makefile" ;; |
fc6ffb29 | 28377 | "programs/start/Makefile") CONFIG_FILES="$CONFIG_FILES programs/start/Makefile" ;; |
4714c4fa | 28378 | "programs/svchost/Makefile") CONFIG_FILES="$CONFIG_FILES programs/svchost/Makefile" ;; |
fc6ffb29 AJ |
28379 | "programs/taskmgr/Makefile") CONFIG_FILES="$CONFIG_FILES programs/taskmgr/Makefile" ;; |
28380 | "programs/uninstaller/Makefile") CONFIG_FILES="$CONFIG_FILES programs/uninstaller/Makefile" ;; | |
28381 | "programs/view/Makefile") CONFIG_FILES="$CONFIG_FILES programs/view/Makefile" ;; | |
fc6ffb29 AJ |
28382 | "programs/wineboot/Makefile") CONFIG_FILES="$CONFIG_FILES programs/wineboot/Makefile" ;; |
28383 | "programs/winebrowser/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winebrowser/Makefile" ;; | |
28384 | "programs/winecfg/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winecfg/Makefile" ;; | |
28385 | "programs/wineconsole/Makefile") CONFIG_FILES="$CONFIG_FILES programs/wineconsole/Makefile" ;; | |
28386 | "programs/winedbg/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winedbg/Makefile" ;; | |
c81d0995 | 28387 | "programs/winedevice/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winedevice/Makefile" ;; |
fc6ffb29 AJ |
28388 | "programs/winefile/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winefile/Makefile" ;; |
28389 | "programs/winemenubuilder/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winemenubuilder/Makefile" ;; | |
28390 | "programs/winemine/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winemine/Makefile" ;; | |
28391 | "programs/winepath/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winepath/Makefile" ;; | |
28392 | "programs/winetest/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winetest/Makefile" ;; | |
28393 | "programs/winevdm/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winevdm/Makefile" ;; | |
a795f36a | 28394 | "programs/winhlp32/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winhlp32/Makefile" ;; |
fc6ffb29 AJ |
28395 | "programs/winver/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winver/Makefile" ;; |
28396 | "programs/wordpad/Makefile") CONFIG_FILES="$CONFIG_FILES programs/wordpad/Makefile" ;; | |
2777a94d | 28397 | "programs/write/Makefile") CONFIG_FILES="$CONFIG_FILES programs/write/Makefile" ;; |
921edab7 | 28398 | "programs/xcopy/Makefile") CONFIG_FILES="$CONFIG_FILES programs/xcopy/Makefile" ;; |
fc6ffb29 AJ |
28399 | "server/Makefile") CONFIG_FILES="$CONFIG_FILES server/Makefile" ;; |
28400 | "tools/Makefile") CONFIG_FILES="$CONFIG_FILES tools/Makefile" ;; | |
28401 | "tools/widl/Makefile") CONFIG_FILES="$CONFIG_FILES tools/widl/Makefile" ;; | |
fc6ffb29 AJ |
28402 | "tools/winebuild/Makefile") CONFIG_FILES="$CONFIG_FILES tools/winebuild/Makefile" ;; |
28403 | "tools/winedump/Makefile") CONFIG_FILES="$CONFIG_FILES tools/winedump/Makefile" ;; | |
28404 | "tools/winegcc/Makefile") CONFIG_FILES="$CONFIG_FILES tools/winegcc/Makefile" ;; | |
28405 | "tools/wmc/Makefile") CONFIG_FILES="$CONFIG_FILES tools/wmc/Makefile" ;; | |
28406 | "tools/wrc/Makefile") CONFIG_FILES="$CONFIG_FILES tools/wrc/Makefile" ;; | |
28407 | ||
abf5048b AJ |
28408 | *) { { $as_echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5 |
28409 | $as_echo "$as_me: error: invalid argument: $ac_config_target" >&2;} | |
f5818d2f AJ |
28410 | { (exit 1); exit 1; }; };; |
28411 | esac | |
28412 | done | |
28413 | ||
fc6ffb29 | 28414 | |
f5818d2f AJ |
28415 | # If the user did not use the arguments to specify the items to instantiate, |
28416 | # then the envvar interface is used. Set only those that are not. | |
28417 | # We use the long form for the default assignment because of an extremely | |
28418 | # bizarre bug on SunOS 4.1.3. | |
28419 | if $ac_need_defaults; then | |
28420 | test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files | |
28421 | test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers | |
28422 | test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands | |
28423 | fi | |
28424 | ||
e24bcc77 | 28425 | # Have a temporary directory for convenience. Make it in the build tree |
fc6ffb29 | 28426 | # simply because there is no reason against having it here, and in addition, |
e24bcc77 | 28427 | # creating and moving files from /tmp can sometimes cause problems. |
fc6ffb29 AJ |
28428 | # Hook for its removal unless debugging. |
28429 | # Note that there is a small window in which the directory will not be cleaned: | |
28430 | # after its creation but before its name has been assigned to `$tmp'. | |
f5818d2f AJ |
28431 | $debug || |
28432 | { | |
fc6ffb29 AJ |
28433 | tmp= |
28434 | trap 'exit_status=$? | |
28435 | { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status | |
28436 | ' 0 | |
f5818d2f AJ |
28437 | trap '{ (exit 1); exit 1; }' 1 2 13 15 |
28438 | } | |
f5818d2f | 28439 | # Create a (secure) tmp directory for tmp files. |
e24bcc77 | 28440 | |
f5818d2f | 28441 | { |
fc6ffb29 | 28442 | tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` && |
f5818d2f AJ |
28443 | test -n "$tmp" && test -d "$tmp" |
28444 | } || | |
28445 | { | |
fc6ffb29 AJ |
28446 | tmp=./conf$$-$RANDOM |
28447 | (umask 077 && mkdir "$tmp") | |
f5818d2f AJ |
28448 | } || |
28449 | { | |
abf5048b | 28450 | $as_echo "$as_me: cannot create a temporary directory in ." >&2 |
f5818d2f AJ |
28451 | { (exit 1); exit 1; } |
28452 | } | |
28453 | ||
abf5048b AJ |
28454 | # Set up the scripts for CONFIG_FILES section. |
28455 | # No need to generate them if there are no CONFIG_FILES. | |
28456 | # This happens for instance with `./config.status config.h'. | |
fc6ffb29 AJ |
28457 | if test -n "$CONFIG_FILES"; then |
28458 | ||
abf5048b AJ |
28459 | if $AWK 'BEGIN { getline <"/dev/null" }' </dev/null 2>/dev/null; then |
28460 | ac_cs_awk_getline=: | |
28461 | ac_cs_awk_pipe_init= | |
28462 | ac_cs_awk_read_file=' | |
28463 | while ((getline aline < (F[key])) > 0) | |
28464 | print(aline) | |
28465 | close(F[key])' | |
28466 | ac_cs_awk_pipe_fini= | |
28467 | else | |
28468 | ac_cs_awk_getline=false | |
28469 | ac_cs_awk_pipe_init="print \"cat <<'|#_!!_#|' &&\"" | |
28470 | ac_cs_awk_read_file=' | |
28471 | print "|#_!!_#|" | |
28472 | print "cat " F[key] " &&" | |
28473 | '$ac_cs_awk_pipe_init | |
28474 | # The final `:' finishes the AND list. | |
28475 | ac_cs_awk_pipe_fini='END { print "|#_!!_#|"; print ":" }' | |
28476 | fi | |
28477 | ac_cr='\r' | |
28478 | ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null` | |
28479 | if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then | |
28480 | ac_cs_awk_cr='\\r' | |
28481 | else | |
28482 | ac_cs_awk_cr=$ac_cr | |
28483 | fi | |
fc6ffb29 | 28484 | |
abf5048b AJ |
28485 | echo 'BEGIN {' >"$tmp/subs1.awk" && |
28486 | _ACEOF | |
fc6ffb29 | 28487 | |
abf5048b AJ |
28488 | # Create commands to substitute file output variables. |
28489 | { | |
28490 | echo "cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1" && | |
28491 | echo 'cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&' && | |
28492 | echo "$ac_subst_files" | sed 's/.*/F["&"]="$&"/' && | |
28493 | echo "_ACAWK" && | |
28494 | echo "_ACEOF" | |
28495 | } >conf$$files.sh && | |
28496 | . ./conf$$files.sh || | |
28497 | { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5 | |
28498 | $as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;} | |
28499 | { (exit 1); exit 1; }; } | |
28500 | rm -f conf$$files.sh | |
fc6ffb29 | 28501 | |
abf5048b AJ |
28502 | { |
28503 | echo "cat >conf$$subs.awk <<_ACEOF" && | |
28504 | echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' && | |
28505 | echo "_ACEOF" | |
28506 | } >conf$$subs.sh || | |
28507 | { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5 | |
28508 | $as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;} | |
28509 | { (exit 1); exit 1; }; } | |
28510 | ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'` | |
fc6ffb29 AJ |
28511 | ac_delim='%!_!# ' |
28512 | for ac_last_try in false false false false false :; do | |
abf5048b AJ |
28513 | . ./conf$$subs.sh || |
28514 | { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5 | |
28515 | $as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;} | |
28516 | { (exit 1); exit 1; }; } | |
28517 | ||
28518 | ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X` | |
28519 | if test $ac_delim_n = $ac_delim_num; then | |
fc6ffb29 AJ |
28520 | break |
28521 | elif $ac_last_try; then | |
abf5048b AJ |
28522 | { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5 |
28523 | $as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;} | |
fc6ffb29 AJ |
28524 | { (exit 1); exit 1; }; } |
28525 | else | |
28526 | ac_delim="$ac_delim!$ac_delim _$ac_delim!! " | |
da0cfb36 | 28527 | fi |
fc6ffb29 | 28528 | done |
abf5048b AJ |
28529 | rm -f conf$$subs.sh |
28530 | ||
28531 | cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 | |
28532 | cat >>"\$tmp/subs1.awk" <<\\_ACAWK && | |
28533 | _ACEOF | |
28534 | sed -n ' | |
28535 | h | |
28536 | s/^/S["/; s/!.*/"]=/ | |
28537 | p | |
28538 | g | |
28539 | s/^[^!]*!// | |
28540 | :repl | |
28541 | t repl | |
28542 | s/'"$ac_delim"'$// | |
28543 | t delim | |
28544 | :nl | |
28545 | h | |
28546 | s/\(.\{148\}\).*/\1/ | |
28547 | t more1 | |
28548 | s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/ | |
28549 | p | |
28550 | n | |
28551 | b repl | |
28552 | :more1 | |
28553 | s/["\\]/\\&/g; s/^/"/; s/$/"\\/ | |
28554 | p | |
28555 | g | |
28556 | s/.\{148\}// | |
28557 | t nl | |
28558 | :delim | |
28559 | h | |
28560 | s/\(.\{148\}\).*/\1/ | |
28561 | t more2 | |
28562 | s/["\\]/\\&/g; s/^/"/; s/$/"/ | |
28563 | p | |
28564 | b | |
28565 | :more2 | |
28566 | s/["\\]/\\&/g; s/^/"/; s/$/"\\/ | |
28567 | p | |
28568 | g | |
28569 | s/.\{148\}// | |
28570 | t delim | |
28571 | ' <conf$$subs.awk | sed ' | |
28572 | /^[^""]/{ | |
28573 | N | |
28574 | s/\n// | |
fc6ffb29 | 28575 | } |
abf5048b AJ |
28576 | ' >>$CONFIG_STATUS || ac_write_fail=1 |
28577 | rm -f conf$$subs.awk | |
28578 | cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 | |
28579 | _ACAWK | |
28580 | cat >>"\$tmp/subs1.awk" <<_ACAWK && | |
28581 | for (key in S) S_is_set[key] = 1 | |
28582 | FS = "\a" | |
28583 | \$ac_cs_awk_pipe_init | |
fc6ffb29 | 28584 | } |
abf5048b AJ |
28585 | { |
28586 | line = $ 0 | |
28587 | nfields = split(line, field, "@") | |
28588 | substed = 0 | |
28589 | len = length(field[1]) | |
28590 | for (i = 2; i < nfields; i++) { | |
28591 | key = field[i] | |
28592 | keylen = length(key) | |
28593 | if (S_is_set[key]) { | |
28594 | value = S[key] | |
28595 | line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3) | |
28596 | len += length(value) + length(field[++i]) | |
28597 | substed = 1 | |
28598 | } else | |
28599 | len += 1 + keylen | |
28600 | } | |
28601 | if (nfields == 3 && !substed) { | |
28602 | key = field[2] | |
28603 | if (F[key] != "" && line ~ /^[ ]*@.*@[ ]*$/) { | |
28604 | \$ac_cs_awk_read_file | |
28605 | next | |
28606 | } | |
28607 | } | |
28608 | print line | |
fc6ffb29 | 28609 | } |
abf5048b AJ |
28610 | \$ac_cs_awk_pipe_fini |
28611 | _ACAWK | |
fc6ffb29 | 28612 | _ACEOF |
abf5048b AJ |
28613 | cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 |
28614 | if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then | |
28615 | sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g" | |
28616 | else | |
28617 | cat | |
28618 | fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \ | |
28619 | || { { $as_echo "$as_me:$LINENO: error: could not setup config files machinery" >&5 | |
28620 | $as_echo "$as_me: error: could not setup config files machinery" >&2;} | |
fc6ffb29 | 28621 | { (exit 1); exit 1; }; } |
fc6ffb29 | 28622 | _ACEOF |
fc6ffb29 AJ |
28623 | |
28624 | # VPATH may cause trouble with some makes, so we remove $(srcdir), | |
28625 | # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and | |
28626 | # trailing colons and then remove the whole line if VPATH becomes empty | |
28627 | # (actually we leave an empty line to preserve line numbers). | |
28628 | if test "x$srcdir" = x.; then | |
28629 | ac_vpsub='/^[ ]*VPATH[ ]*=/{ | |
28630 | s/:*\$(srcdir):*/:/ | |
28631 | s/:*\${srcdir}:*/:/ | |
28632 | s/:*@srcdir@:*/:/ | |
28633 | s/^\([^=]*=[ ]*\):*/\1/ | |
28634 | s/:*$// | |
28635 | s/^[^=]*=[ ]*$// | |
28636 | }' | |
28637 | fi | |
28638 | ||
abf5048b | 28639 | cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 |
fc6ffb29 AJ |
28640 | fi # test -n "$CONFIG_FILES" |
28641 | ||
abf5048b AJ |
28642 | # Set up the scripts for CONFIG_HEADERS section. |
28643 | # No need to generate them if there are no CONFIG_HEADERS. | |
28644 | # This happens for instance with `./config.status Makefile'. | |
28645 | if test -n "$CONFIG_HEADERS"; then | |
28646 | cat >"$tmp/defines.awk" <<\_ACAWK || | |
28647 | BEGIN { | |
28648 | _ACEOF | |
28649 | ||
28650 | # Transform confdefs.h into an awk script `defines.awk', embedded as | |
28651 | # here-document in config.status, that substitutes the proper values into | |
28652 | # config.h.in to produce config.h. | |
28653 | ||
28654 | # Create a delimiter string that does not exist in confdefs.h, to ease | |
28655 | # handling of long lines. | |
28656 | ac_delim='%!_!# ' | |
28657 | for ac_last_try in false false :; do | |
28658 | ac_t=`sed -n "/$ac_delim/p" confdefs.h` | |
28659 | if test -z "$ac_t"; then | |
28660 | break | |
28661 | elif $ac_last_try; then | |
28662 | { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_HEADERS" >&5 | |
28663 | $as_echo "$as_me: error: could not make $CONFIG_HEADERS" >&2;} | |
28664 | { (exit 1); exit 1; }; } | |
28665 | else | |
28666 | ac_delim="$ac_delim!$ac_delim _$ac_delim!! " | |
28667 | fi | |
28668 | done | |
28669 | ||
28670 | # For the awk script, D is an array of macro values keyed by name, | |
28671 | # likewise P contains macro parameters if any. Preserve backslash | |
28672 | # newline sequences. | |
28673 | ||
28674 | ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]* | |
28675 | sed -n ' | |
28676 | s/.\{148\}/&'"$ac_delim"'/g | |
28677 | t rset | |
28678 | :rset | |
28679 | s/^[ ]*#[ ]*define[ ][ ]*/ / | |
28680 | t def | |
28681 | d | |
28682 | :def | |
28683 | s/\\$// | |
28684 | t bsnl | |
28685 | s/["\\]/\\&/g | |
28686 | s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\ | |
28687 | D["\1"]=" \3"/p | |
28688 | s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p | |
28689 | d | |
28690 | :bsnl | |
28691 | s/["\\]/\\&/g | |
28692 | s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\ | |
28693 | D["\1"]=" \3\\\\\\n"\\/p | |
28694 | t cont | |
28695 | s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p | |
28696 | t cont | |
28697 | d | |
28698 | :cont | |
28699 | n | |
28700 | s/.\{148\}/&'"$ac_delim"'/g | |
28701 | t clear | |
28702 | :clear | |
28703 | s/\\$// | |
28704 | t bsnlc | |
28705 | s/["\\]/\\&/g; s/^/"/; s/$/"/p | |
28706 | d | |
28707 | :bsnlc | |
28708 | s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p | |
28709 | b cont | |
28710 | ' <confdefs.h | sed ' | |
28711 | s/'"$ac_delim"'/"\\\ | |
28712 | "/g' >>$CONFIG_STATUS || ac_write_fail=1 | |
28713 | ||
28714 | cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 | |
28715 | for (key in D) D_is_set[key] = 1 | |
28716 | FS = "\a" | |
28717 | } | |
28718 | /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ { | |
28719 | line = \$ 0 | |
28720 | split(line, arg, " ") | |
28721 | if (arg[1] == "#") { | |
28722 | defundef = arg[2] | |
28723 | mac1 = arg[3] | |
28724 | } else { | |
28725 | defundef = substr(arg[1], 2) | |
28726 | mac1 = arg[2] | |
28727 | } | |
28728 | split(mac1, mac2, "(") #) | |
28729 | macro = mac2[1] | |
28730 | prefix = substr(line, 1, index(line, defundef) - 1) | |
28731 | if (D_is_set[macro]) { | |
28732 | # Preserve the white space surrounding the "#". | |
28733 | print prefix "define", macro P[macro] D[macro] | |
28734 | next | |
28735 | } else { | |
28736 | # Replace #undef with comments. This is necessary, for example, | |
28737 | # in the case of _POSIX_SOURCE, which is predefined and required | |
28738 | # on some systems where configure will not decide to define it. | |
28739 | if (defundef == "undef") { | |
28740 | print "/*", prefix defundef, macro, "*/" | |
28741 | next | |
28742 | } | |
28743 | } | |
28744 | } | |
28745 | { print } | |
28746 | _ACAWK | |
28747 | _ACEOF | |
28748 | cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 | |
28749 | { { $as_echo "$as_me:$LINENO: error: could not setup config headers machinery" >&5 | |
28750 | $as_echo "$as_me: error: could not setup config headers machinery" >&2;} | |
28751 | { (exit 1); exit 1; }; } | |
28752 | fi # test -n "$CONFIG_HEADERS" | |
28753 | ||
fc6ffb29 | 28754 | |
abf5048b AJ |
28755 | eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS" |
28756 | shift | |
28757 | for ac_tag | |
fc6ffb29 AJ |
28758 | do |
28759 | case $ac_tag in | |
28760 | :[FHLC]) ac_mode=$ac_tag; continue;; | |
28761 | esac | |
28762 | case $ac_mode$ac_tag in | |
28763 | :[FHL]*:*);; | |
abf5048b AJ |
28764 | :L* | :C*:*) { { $as_echo "$as_me:$LINENO: error: invalid tag $ac_tag" >&5 |
28765 | $as_echo "$as_me: error: invalid tag $ac_tag" >&2;} | |
fc6ffb29 AJ |
28766 | { (exit 1); exit 1; }; };; |
28767 | :[FH]-) ac_tag=-:-;; | |
28768 | :[FH]*) ac_tag=$ac_tag:$ac_tag.in;; | |
e2991ea7 | 28769 | esac |
fc6ffb29 AJ |
28770 | ac_save_IFS=$IFS |
28771 | IFS=: | |
28772 | set x $ac_tag | |
28773 | IFS=$ac_save_IFS | |
28774 | shift | |
28775 | ac_file=$1 | |
28776 | shift | |
e2991ea7 | 28777 | |
fc6ffb29 AJ |
28778 | case $ac_mode in |
28779 | :L) ac_source=$1;; | |
28780 | :[FH]) | |
28781 | ac_file_inputs= | |
28782 | for ac_f | |
28783 | do | |
28784 | case $ac_f in | |
28785 | -) ac_f="$tmp/stdin";; | |
28786 | *) # Look for the file first in the build tree, then in the source tree | |
28787 | # (if the path is not absolute). The absolute path cannot be DOS-style, | |
28788 | # because $ac_f cannot contain `:'. | |
28789 | test -f "$ac_f" || | |
28790 | case $ac_f in | |
28791 | [\\/$]*) false;; | |
28792 | *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";; | |
28793 | esac || | |
abf5048b AJ |
28794 | { { $as_echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5 |
28795 | $as_echo "$as_me: error: cannot find input file: $ac_f" >&2;} | |
fc6ffb29 AJ |
28796 | { (exit 1); exit 1; }; };; |
28797 | esac | |
abf5048b AJ |
28798 | case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac |
28799 | ac_file_inputs="$ac_file_inputs '$ac_f'" | |
fc6ffb29 AJ |
28800 | done |
28801 | ||
28802 | # Let's still pretend it is `configure' which instantiates (i.e., don't | |
28803 | # use $as_me), people would be surprised to read: | |
28804 | # /* config.h. Generated by config.status. */ | |
abf5048b AJ |
28805 | configure_input='Generated from '` |
28806 | $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g' | |
28807 | `' by configure.' | |
fc6ffb29 AJ |
28808 | if test x"$ac_file" != x-; then |
28809 | configure_input="$ac_file. $configure_input" | |
abf5048b AJ |
28810 | { $as_echo "$as_me:$LINENO: creating $ac_file" >&5 |
28811 | $as_echo "$as_me: creating $ac_file" >&6;} | |
fc6ffb29 | 28812 | fi |
abf5048b AJ |
28813 | # Neutralize special characters interpreted by sed in replacement strings. |
28814 | case $configure_input in #( | |
28815 | *\&* | *\|* | *\\* ) | |
28816 | ac_sed_conf_input=`$as_echo "$configure_input" | | |
28817 | sed 's/[\\\\&|]/\\\\&/g'`;; #( | |
28818 | *) ac_sed_conf_input=$configure_input;; | |
28819 | esac | |
fc6ffb29 AJ |
28820 | |
28821 | case $ac_tag in | |
abf5048b AJ |
28822 | *:-:* | *:-) cat >"$tmp/stdin" \ |
28823 | || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5 | |
28824 | $as_echo "$as_me: error: could not create $ac_file" >&2;} | |
28825 | { (exit 1); exit 1; }; } ;; | |
fc6ffb29 AJ |
28826 | esac |
28827 | ;; | |
28828 | esac | |
28829 | ||
28830 | ac_dir=`$as_dirname -- "$ac_file" || | |
daa2886c | 28831 | $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
875927f6 AJ |
28832 | X"$ac_file" : 'X\(//\)[^/]' \| \ |
28833 | X"$ac_file" : 'X\(//\)$' \| \ | |
fc6ffb29 | 28834 | X"$ac_file" : 'X\(/\)' \| . 2>/dev/null || |
abf5048b | 28835 | $as_echo X"$ac_file" | |
fc6ffb29 AJ |
28836 | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ |
28837 | s//\1/ | |
28838 | q | |
28839 | } | |
28840 | /^X\(\/\/\)[^/].*/{ | |
28841 | s//\1/ | |
28842 | q | |
28843 | } | |
28844 | /^X\(\/\/\)$/{ | |
28845 | s//\1/ | |
28846 | q | |
28847 | } | |
28848 | /^X\(\/\).*/{ | |
28849 | s//\1/ | |
28850 | q | |
28851 | } | |
28852 | s/.*/./; q'` | |
28853 | { as_dir="$ac_dir" | |
28854 | case $as_dir in #( | |
28855 | -*) as_dir=./$as_dir;; | |
28856 | esac | |
28857 | test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || { | |
11af04e3 | 28858 | as_dirs= |
fc6ffb29 AJ |
28859 | while :; do |
28860 | case $as_dir in #( | |
abf5048b | 28861 | *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( |
fc6ffb29 AJ |
28862 | *) as_qdir=$as_dir;; |
28863 | esac | |
28864 | as_dirs="'$as_qdir' $as_dirs" | |
28865 | as_dir=`$as_dirname -- "$as_dir" || | |
11af04e3 | 28866 | $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
875927f6 AJ |
28867 | X"$as_dir" : 'X\(//\)[^/]' \| \ |
28868 | X"$as_dir" : 'X\(//\)$' \| \ | |
fc6ffb29 | 28869 | X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || |
abf5048b | 28870 | $as_echo X"$as_dir" | |
fc6ffb29 AJ |
28871 | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ |
28872 | s//\1/ | |
28873 | q | |
28874 | } | |
28875 | /^X\(\/\/\)[^/].*/{ | |
28876 | s//\1/ | |
28877 | q | |
28878 | } | |
28879 | /^X\(\/\/\)$/{ | |
28880 | s//\1/ | |
28881 | q | |
28882 | } | |
28883 | /^X\(\/\).*/{ | |
28884 | s//\1/ | |
28885 | q | |
28886 | } | |
28887 | s/.*/./; q'` | |
28888 | test -d "$as_dir" && break | |
11af04e3 | 28889 | done |
fc6ffb29 | 28890 | test -z "$as_dirs" || eval "mkdir $as_dirs" |
abf5048b AJ |
28891 | } || test -d "$as_dir" || { { $as_echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5 |
28892 | $as_echo "$as_me: error: cannot create directory $as_dir" >&2;} | |
11af04e3 | 28893 | { (exit 1); exit 1; }; }; } |
daa2886c | 28894 | ac_builddir=. |
e2991ea7 | 28895 | |
fc6ffb29 AJ |
28896 | case "$ac_dir" in |
28897 | .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; | |
28898 | *) | |
abf5048b | 28899 | ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` |
fc6ffb29 | 28900 | # A ".." for each directory in $ac_dir_suffix. |
abf5048b | 28901 | ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` |
fc6ffb29 AJ |
28902 | case $ac_top_builddir_sub in |
28903 | "") ac_top_builddir_sub=. ac_top_build_prefix= ;; | |
28904 | *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; | |
28905 | esac ;; | |
28906 | esac | |
28907 | ac_abs_top_builddir=$ac_pwd | |
28908 | ac_abs_builddir=$ac_pwd$ac_dir_suffix | |
28909 | # for backward compatibility: | |
28910 | ac_top_builddir=$ac_top_build_prefix | |
daa2886c AJ |
28911 | |
28912 | case $srcdir in | |
fc6ffb29 | 28913 | .) # We are building in place. |
daa2886c | 28914 | ac_srcdir=. |
fc6ffb29 AJ |
28915 | ac_top_srcdir=$ac_top_builddir_sub |
28916 | ac_abs_top_srcdir=$ac_pwd ;; | |
28917 | [\\/]* | ?:[\\/]* ) # Absolute name. | |
daa2886c | 28918 | ac_srcdir=$srcdir$ac_dir_suffix; |
fc6ffb29 AJ |
28919 | ac_top_srcdir=$srcdir |
28920 | ac_abs_top_srcdir=$srcdir ;; | |
28921 | *) # Relative name. | |
28922 | ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix | |
28923 | ac_top_srcdir=$ac_top_build_prefix$srcdir | |
28924 | ac_abs_top_srcdir=$ac_pwd/$srcdir ;; | |
daa2886c | 28925 | esac |
fc6ffb29 | 28926 | ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix |
875927f6 | 28927 | |
daa2886c | 28928 | |
fc6ffb29 AJ |
28929 | case $ac_mode in |
28930 | :F) | |
28931 | # | |
28932 | # CONFIG_FILE | |
28933 | # | |
e2991ea7 | 28934 | |
f5818d2f AJ |
28935 | case $INSTALL in |
28936 | [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;; | |
fc6ffb29 | 28937 | *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;; |
d7d4fdf8 | 28938 | esac |
fc6ffb29 | 28939 | _ACEOF |
da0cfb36 | 28940 | |
abf5048b | 28941 | cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 |
fc6ffb29 AJ |
28942 | # If the template does not know about datarootdir, expand it. |
28943 | # FIXME: This hack should be removed a few years after 2.60. | |
0ebeb530 | 28944 | ac_datarootdir_hack=; ac_datarootdir_seen= |
875927f6 | 28945 | |
abf5048b AJ |
28946 | ac_sed_dataroot=' |
28947 | /datarootdir/ { | |
fc6ffb29 AJ |
28948 | p |
28949 | q | |
28950 | } | |
28951 | /@datadir@/p | |
28952 | /@docdir@/p | |
28953 | /@infodir@/p | |
28954 | /@localedir@/p | |
28955 | /@mandir@/p | |
abf5048b AJ |
28956 | ' |
28957 | case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in | |
0ebeb530 | 28958 | *datarootdir*) ac_datarootdir_seen=yes;; |
fc6ffb29 | 28959 | *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*) |
abf5048b AJ |
28960 | { $as_echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5 |
28961 | $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;} | |
daa2886c | 28962 | _ACEOF |
abf5048b | 28963 | cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 |
fc6ffb29 AJ |
28964 | ac_datarootdir_hack=' |
28965 | s&@datadir@&$datadir&g | |
28966 | s&@docdir@&$docdir&g | |
28967 | s&@infodir@&$infodir&g | |
28968 | s&@localedir@&$localedir&g | |
28969 | s&@mandir@&$mandir&g | |
28970 | s&\\\${datarootdir}&$datarootdir&g' ;; | |
28971 | esac | |
28972 | _ACEOF | |
28973 | ||
28974 | # Neutralize VPATH when `$srcdir' = `.'. | |
28975 | # Shell code in configure.ac might set extrasub. | |
28976 | # FIXME: do we really want to maintain this feature? | |
abf5048b AJ |
28977 | cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 |
28978 | ac_sed_extra="$ac_vpsub | |
f5818d2f | 28979 | $extrasub |
daa2886c | 28980 | _ACEOF |
abf5048b | 28981 | cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 |
f5818d2f AJ |
28982 | :t |
28983 | /@[a-zA-Z_][a-zA-Z_0-9]*@/!b | |
abf5048b | 28984 | s|@configure_input@|$ac_sed_conf_input|;t t |
fc6ffb29 | 28985 | s&@top_builddir@&$ac_top_builddir_sub&;t t |
abf5048b | 28986 | s&@top_build_prefix@&$ac_top_build_prefix&;t t |
fc6ffb29 AJ |
28987 | s&@srcdir@&$ac_srcdir&;t t |
28988 | s&@abs_srcdir@&$ac_abs_srcdir&;t t | |
28989 | s&@top_srcdir@&$ac_top_srcdir&;t t | |
28990 | s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t | |
28991 | s&@builddir@&$ac_builddir&;t t | |
28992 | s&@abs_builddir@&$ac_abs_builddir&;t t | |
28993 | s&@abs_top_builddir@&$ac_abs_top_builddir&;t t | |
28994 | s&@INSTALL@&$ac_INSTALL&;t t | |
28995 | $ac_datarootdir_hack | |
abf5048b AJ |
28996 | " |
28997 | eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | | |
28998 | if $ac_cs_awk_getline; then | |
28999 | $AWK -f "$tmp/subs.awk" | |
29000 | else | |
29001 | $AWK -f "$tmp/subs.awk" | $SHELL | |
29002 | fi >$tmp/out \ | |
29003 | || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5 | |
29004 | $as_echo "$as_me: error: could not create $ac_file" >&2;} | |
29005 | { (exit 1); exit 1; }; } | |
fc6ffb29 | 29006 | |
0ebeb530 JW |
29007 | test -z "$ac_datarootdir_hack$ac_datarootdir_seen" && |
29008 | { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } && | |
f5f37a85 | 29009 | { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } && |
abf5048b | 29010 | { $as_echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir' |
0ebeb530 | 29011 | which seems to be undefined. Please make sure it is defined." >&5 |
abf5048b | 29012 | $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir' |
0ebeb530 JW |
29013 | which seems to be undefined. Please make sure it is defined." >&2;} |
29014 | ||
fc6ffb29 | 29015 | rm -f "$tmp/stdin" |
f5818d2f | 29016 | case $ac_file in |
abf5048b AJ |
29017 | -) cat "$tmp/out" && rm -f "$tmp/out";; |
29018 | *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";; | |
29019 | esac \ | |
29020 | || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5 | |
29021 | $as_echo "$as_me: error: could not create $ac_file" >&2;} | |
29022 | { (exit 1); exit 1; }; } | |
fc6ffb29 AJ |
29023 | ;; |
29024 | :H) | |
29025 | # | |
29026 | # CONFIG_HEADER | |
29027 | # | |
f5818d2f | 29028 | if test x"$ac_file" != x-; then |
abf5048b AJ |
29029 | { |
29030 | $as_echo "/* $configure_input */" \ | |
29031 | && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" | |
29032 | } >"$tmp/config.h" \ | |
29033 | || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5 | |
29034 | $as_echo "$as_me: error: could not create $ac_file" >&2;} | |
29035 | { (exit 1); exit 1; }; } | |
29036 | if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then | |
29037 | { $as_echo "$as_me:$LINENO: $ac_file is unchanged" >&5 | |
29038 | $as_echo "$as_me: $ac_file is unchanged" >&6;} | |
f5818d2f | 29039 | else |
abf5048b AJ |
29040 | rm -f "$ac_file" |
29041 | mv "$tmp/config.h" "$ac_file" \ | |
29042 | || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5 | |
29043 | $as_echo "$as_me: error: could not create $ac_file" >&2;} | |
29044 | { (exit 1); exit 1; }; } | |
18f92e76 | 29045 | fi |
f5818d2f | 29046 | else |
abf5048b AJ |
29047 | $as_echo "/* $configure_input */" \ |
29048 | && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \ | |
29049 | || { { $as_echo "$as_me:$LINENO: error: could not create -" >&5 | |
29050 | $as_echo "$as_me: error: could not create -" >&2;} | |
29051 | { (exit 1); exit 1; }; } | |
18f92e76 | 29052 | fi |
fc6ffb29 | 29053 | ;; |
875927f6 | 29054 | |
abf5048b AJ |
29055 | :C) { $as_echo "$as_me:$LINENO: executing $ac_file commands" >&5 |
29056 | $as_echo "$as_me: executing $ac_file commands" >&6;} | |
fc6ffb29 AJ |
29057 | ;; |
29058 | esac | |
daa2886c AJ |
29059 | |
29060 | ||
fc6ffb29 | 29061 | case $ac_file$ac_mode in |
c4704c2d | 29062 | "include/stamp-h":C) echo timestamp > include/stamp-h ;; |
abf5048b AJ |
29063 | "dlls/gdi32/enhmfdrv":C) test -d "dlls/gdi32/enhmfdrv" || ({ $as_echo "$as_me:$LINENO: creating dlls/gdi32/enhmfdrv" >&5 |
29064 | $as_echo "$as_me: creating dlls/gdi32/enhmfdrv" >&6;} && mkdir "dlls/gdi32/enhmfdrv") ;; | |
29065 | "dlls/gdi32/mfdrv":C) test -d "dlls/gdi32/mfdrv" || ({ $as_echo "$as_me:$LINENO: creating dlls/gdi32/mfdrv" >&5 | |
29066 | $as_echo "$as_me: creating dlls/gdi32/mfdrv" >&6;} && mkdir "dlls/gdi32/mfdrv") ;; | |
29067 | "dlls/kernel32/nls":C) test -d "dlls/kernel32/nls" || ({ $as_echo "$as_me:$LINENO: creating dlls/kernel32/nls" >&5 | |
29068 | $as_echo "$as_me: creating dlls/kernel32/nls" >&6;} && mkdir "dlls/kernel32/nls") ;; | |
29069 | "dlls/user32/resources":C) test -d "dlls/user32/resources" || ({ $as_echo "$as_me:$LINENO: creating dlls/user32/resources" >&5 | |
29070 | $as_echo "$as_me: creating dlls/user32/resources" >&6;} && mkdir "dlls/user32/resources") ;; | |
29071 | "dlls/wineps.drv/data":C) test -d "dlls/wineps.drv/data" || ({ $as_echo "$as_me:$LINENO: creating dlls/wineps.drv/data" >&5 | |
29072 | $as_echo "$as_me: creating dlls/wineps.drv/data" >&6;} && mkdir "dlls/wineps.drv/data") ;; | |
29073 | "include/wine":C) test -d "include/wine" || ({ $as_echo "$as_me:$LINENO: creating include/wine" >&5 | |
29074 | $as_echo "$as_me: creating include/wine" >&6;} && mkdir "include/wine") ;; | |
fc6ffb29 | 29075 | |
f5818d2f | 29076 | esac |
fc6ffb29 | 29077 | done # for ac_tag |
e2991ea7 | 29078 | |
87a2f8df | 29079 | |
f5818d2f | 29080 | { (exit 0); exit 0; } |
daa2886c | 29081 | _ACEOF |
e2991ea7 | 29082 | chmod +x $CONFIG_STATUS |
f5818d2f AJ |
29083 | ac_clean_files=$ac_clean_files_save |
29084 | ||
abf5048b AJ |
29085 | test $ac_write_fail = 0 || |
29086 | { { $as_echo "$as_me:$LINENO: error: write failure creating $CONFIG_STATUS" >&5 | |
29087 | $as_echo "$as_me: error: write failure creating $CONFIG_STATUS" >&2;} | |
29088 | { (exit 1); exit 1; }; } | |
29089 | ||
daa2886c | 29090 | |
f5818d2f AJ |
29091 | # configure is writing to config.log, and then calls config.status. |
29092 | # config.status does its own redirection, appending to config.log. | |
29093 | # Unfortunately, on DOS this fails, as config.log is still kept open | |
29094 | # by configure, so config.status won't be able to write to it; its | |
29095 | # output is simply discarded. So we exec the FD to /dev/null, | |
29096 | # effectively closing config.log, so it can be properly (re)opened and | |
29097 | # appended to by config.status. When coming back to configure, we | |
29098 | # need to make the FD available again. | |
29099 | if test "$no_create" != yes; then | |
29100 | ac_cs_success=: | |
e24bcc77 AJ |
29101 | ac_config_status_args= |
29102 | test "$silent" = yes && | |
29103 | ac_config_status_args="$ac_config_status_args --quiet" | |
f5818d2f | 29104 | exec 5>/dev/null |
e24bcc77 | 29105 | $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false |
f5818d2f AJ |
29106 | exec 5>>config.log |
29107 | # Use ||, not &&, to avoid exiting from the if with $? = 1, which | |
29108 | # would make configure fail if this is the last instruction. | |
29109 | $ac_cs_success || { (exit 1); exit 1; } | |
29110 | fi | |
abf5048b AJ |
29111 | if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then |
29112 | { $as_echo "$as_me:$LINENO: WARNING: unrecognized options: $ac_unrecognized_opts" >&5 | |
29113 | $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;} | |
29114 | fi | |
e2991ea7 | 29115 | |
daa2886c | 29116 | |
e3bd111b AJ |
29117 | if test "$no_create" = "yes" |
29118 | then | |
29119 | exit 0 | |
29120 | fi | |
29121 | ||
f9dec94f | 29122 | ac_save_IFS="$IFS" |
a41f0f1b AJ |
29123 | if test "x$wine_notices != "x; then |
29124 | echo >&6 | |
4736c993 | 29125 | IFS="|" |
f9dec94f | 29126 | for msg in $wine_notices; do |
4736c993 | 29127 | IFS="$ac_save_IFS" |
f9dec94f | 29128 | if test -n "$msg"; then |
abf5048b AJ |
29129 | { $as_echo "$as_me:$LINENO: $msg" >&5 |
29130 | $as_echo "$as_me: $msg" >&6;} | |
f9dec94f AJ |
29131 | fi |
29132 | done | |
99d026fb | 29133 | fi |
4736c993 | 29134 | IFS="|" |
f9dec94f | 29135 | for msg in $wine_warnings; do |
4736c993 | 29136 | IFS="$ac_save_IFS" |
f9dec94f AJ |
29137 | if test -n "$msg"; then |
29138 | echo >&2 | |
abf5048b AJ |
29139 | { $as_echo "$as_me:$LINENO: WARNING: $msg" >&5 |
29140 | $as_echo "$as_me: WARNING: $msg" >&2;} | |
f9dec94f AJ |
29141 | fi |
29142 | done | |
29143 | IFS="$ac_save_IFS" | |
99d026fb | 29144 | |
a41f0f1b AJ |
29145 | echo " |
29146 | $as_me: Finished. Do '${ac_make} depend && ${ac_make}' to compile Wine. | |
29147 | " >&6 | |
e2991ea7 | 29148 |