comdlg32: GetPrinterW and GetPrinterDriverW return the size in bytes so don't multipl...
[wine] / configure
CommitLineData
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
16DUALCASE=1; export DUALCASE # for MKS sh
f5818d2f
AJ
17if 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
24else
dc9f3843
AJ
25 case `(set -o) 2>/dev/null` in
26 *posix*) set -o posix ;;
27esac
28
f5818d2f 29fi
dc9f3843
AJ
30
31
f5818d2f 32
fc6ffb29
AJ
33
34# PATH needs CR
35# Avoid depending upon Character Ranges.
36as_cr_letters='abcdefghijklmnopqrstuvwxyz'
37as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
38as_cr_Letters=$as_cr_letters$as_cr_LETTERS
39as_cr_digits='0123456789'
40as_cr_alnum=$as_cr_Letters$as_cr_digits
41
abf5048b
AJ
42as_nl='
43'
44export as_nl
45# Printing a long string crashes Solaris 7 /usr/bin/printf.
46as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
47as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
48as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
49if (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'
52else
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'
72fi
73
74# The user is always right.
75if 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
81fi
82
daa2886c 83# Support unset when possible.
875927f6 84if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
daa2886c
AJ
85 as_unset=unset
86else
87 as_unset=false
88fi
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
96IFS=" "" $as_nl"
97
98# Find who we are. Look in the path if we contain no directory separator.
99case $0 in
100 *[\\/]* ) as_myself=$0 ;;
101 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
102for as_dir in $PATH
103do
104 IFS=$as_save_IFS
105 test -z "$as_dir" && as_dir=.
106 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
107done
108IFS=$as_save_IFS
109
110 ;;
111esac
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.
114if test "x$as_myself" = x; then
115 as_myself=$0
116fi
117if 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; }
120fi
121
11af04e3 122# Work around bugs in pre-3.0 UWIN ksh.
fc6ffb29
AJ
123for as_var in ENV MAIL MAILPATH
124do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
125done
11af04e3
AJ
126PS1='$ '
127PS2='> '
128PS4='+ '
129
130# NLS nuisances.
abf5048b
AJ
131LC_ALL=C
132export LC_ALL
133LANGUAGE=C
134export LANGUAGE
11af04e3
AJ
135
136# Required to use basename.
fc6ffb29
AJ
137if expr a : '\(a\)' >/dev/null 2>&1 &&
138 test "X`expr 00001 : '.*\(...\)'`" = X001; then
11af04e3
AJ
139 as_expr=expr
140else
141 as_expr=false
142fi
143
fc6ffb29 144if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
11af04e3
AJ
145 as_basename=basename
146else
147 as_basename=false
148fi
daa2886c
AJ
149
150
f5818d2f 151# Name of the executable.
fc6ffb29 152as_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
175if test "x$CONFIG_SHELL" = x; then
176 if (eval ":") 2>/dev/null; then
177 as_have_required=yes
178else
179 as_have_required=no
daa2886c
AJ
180fi
181
abf5048b 182 if test $as_have_required = yes && (eval ":
fc6ffb29
AJ
183(as_func_return () {
184 (exit \$1)
185}
186as_func_success () {
187 as_func_return 0
188}
189as_func_failure () {
190 as_func_return 1
191}
192as_func_ret_success () {
193 return 0
194}
195as_func_ret_failure () {
196 return 1
197}
daa2886c 198
fc6ffb29
AJ
199exitcode=0
200if as_func_success; then
201 :
202else
203 exitcode=1
204 echo as_func_success failed.
205fi
daa2886c 206
fc6ffb29
AJ
207if as_func_failure; then
208 exitcode=1
209 echo as_func_failure succeeded.
210fi
211
212if as_func_ret_success; then
213 :
214else
215 exitcode=1
216 echo as_func_ret_success failed.
217fi
218
219if as_func_ret_failure; then
220 exitcode=1
221 echo as_func_ret_failure succeeded.
222fi
223
224if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
225 :
226else
227 exitcode=1
228 echo positional parameters were not saved.
229fi
230
231test \$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 :
240else
241 as_candidate_shells=
daa2886c 242 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
dc9f3843 243for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
daa2886c
AJ
244do
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
253done
254IFS=$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
261if 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
268else
dc9f3843
AJ
269 case `(set -o) 2>/dev/null` in
270 *posix*) set -o posix ;;
271esac
272
fc6ffb29 273fi
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
282if 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
289else
dc9f3843
AJ
290 case `(set -o) 2>/dev/null` in
291 *posix*) set -o posix ;;
292esac
293
fc6ffb29 294fi
dc9f3843 295
fc6ffb29
AJ
296
297:
298(as_func_return () {
299 (exit $1)
300}
301as_func_success () {
302 as_func_return 0
303}
304as_func_failure () {
305 as_func_return 1
306}
307as_func_ret_success () {
308 return 0
309}
310as_func_ret_failure () {
311 return 1
312}
313
314exitcode=0
315if as_func_success; then
316 :
317else
318 exitcode=1
319 echo as_func_success failed.
320fi
321
322if as_func_failure; then
323 exitcode=1
324 echo as_func_failure succeeded.
325fi
326
327if as_func_ret_success; then
328 :
329else
330 exitcode=1
331 echo as_func_ret_success failed.
332fi
333
334if as_func_ret_failure; then
335 exitcode=1
336 echo as_func_ret_failure succeeded.
337fi
338
339if ( set x; as_func_ret_success y && test x = "$1" ); then
340 :
341else
342 exitcode=1
343 echo positional parameters were not saved.
344fi
345
346test $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
357fi
358
359fi
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
369fi
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; }
378fi
379
380
381fi
382
383fi
384
385
386
387(eval "as_func_return () {
388 (exit \$1)
389}
390as_func_success () {
391 as_func_return 0
392}
393as_func_failure () {
394 as_func_return 1
395}
396as_func_ret_success () {
397 return 0
398}
399as_func_ret_failure () {
400 return 1
401}
402
403exitcode=0
404if as_func_success; then
405 :
406else
407 exitcode=1
408 echo as_func_success failed.
409fi
410
411if as_func_failure; then
412 exitcode=1
413 echo as_func_failure succeeded.
414fi
415
416if as_func_ret_success; then
417 :
418else
419 exitcode=1
420 echo as_func_ret_success failed.
421fi
422
423if as_func_ret_failure; then
424 exitcode=1
425 echo as_func_ret_failure succeeded.
426fi
427
428if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
429 :
430else
431 exitcode=1
432 echo positional parameters were not saved.
433fi
434
435test \$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 488if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
fc6ffb29
AJ
489 as_dirname=dirname
490else
491 as_dirname=false
492fi
493
494ECHO_C= ECHO_N= ECHO_T=
495case `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 503esac
fc6ffb29
AJ
504if expr a : '\(a\)' >/dev/null 2>&1 &&
505 test "X`expr 00001 : '.*\(...\)'`" = X001; then
f5818d2f
AJ
506 as_expr=expr
507else
508 as_expr=false
509fi
510
511rm -f conf$$ conf$$.exe conf$$.file
fc6ffb29
AJ
512if test -d conf$$.dir; then
513 rm -f conf$$.dir/conf$$.file
514else
515 rm -f conf$$.dir
abf5048b
AJ
516 mkdir conf$$.dir 2>/dev/null
517fi
518if (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
532else
533 as_ln_s='cp -p'
534fi
fc6ffb29
AJ
535rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
536rmdir conf$$.dir 2>/dev/null
f5818d2f 537
11af04e3
AJ
538if mkdir -p . 2>/dev/null; then
539 as_mkdir_p=:
540else
875927f6 541 test -d ./-p && rmdir ./-p
11af04e3
AJ
542 as_mkdir_p=false
543fi
544
dc9f3843
AJ
545if test -x / >/dev/null 2>&1; then
546 as_test_x='test -x'
fc6ffb29 547else
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 565fi
dc9f3843 566as_executable_p=$as_test_x
f5818d2f 567
daa2886c 568# Sed expression to map a string onto a valid CPP name.
875927f6 569as_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 572as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
f5818d2f 573
f5818d2f 574
daa2886c 575
fc6ffb29 576exec 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.
581ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
582
f5818d2f
AJ
583#
584# Initializations.
585#
e2991ea7 586ac_default_prefix=/usr/local
fc6ffb29 587ac_clean_files=
11af04e3 588ac_config_libobj_dir=.
fc6ffb29 589LIBOBJS=
f5818d2f
AJ
590cross_compiling=no
591subdirs=
daa2886c
AJ
592MFLAGS=
593MAKEFLAGS=
f5818d2f
AJ
594SHELL=${CONFIG_SHELL-/bin/sh}
595
daa2886c
AJ
596# Identity of this package.
597PACKAGE_NAME='Wine'
598PACKAGE_TARNAME='wine'
12c80905
AJ
599PACKAGE_VERSION='1.1.9'
600PACKAGE_STRING='Wine 1.1.9'
875927f6 601PACKAGE_BUGREPORT='wine-devel@winehq.org'
daa2886c 602
f5818d2f
AJ
603ac_unique_file="server/atom.c"
604# Factoring default headers for most tests.
605ac_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
640ac_subst_vars='LTLIBOBJS
641LIBOBJS
642ALL_WINETEST_DEPENDS
643ALL_PROGRAM_BIN_INSTALL_DIRS
644ALL_PROGRAM_INSTALL_DIRS
645ALL_PROGRAM_DIRS
646ALL_TEST_DIRS
647ALL_IMPLIB_DIRS
648ALL_DLL_DIRS
649ALL_TOP_DIRS
650ALL_MAKEFILE_DEPENDS
651ALL_MAKEFILES
652ALL_MAKERULES
653DEPENDENCIES
654LDAPLIBS
655LIBPOLL
656LIBDL
657EXTRA_BINARIES
658MAIN_BINARY
659SOCKETLIBS
660CRTLIBS
661LDPATH
662BUILTINFLAG
663EXTRACFLAGS
664FONTCONFIGINCL
665CUPSINCL
666AUDIOIOLIBS
667ALSALIBS
668ESDLIBS
669ESDINCL
670ESDCONFIG
671FREETYPEINCL
672FREETYPELIBS
673ft_devel
674LCMSLIBS
675RESOLVLIBS
676GPHOTO2INCL
677GPHOTO2LIBS
678gphoto2port_devel
679gphoto2_devel
680SANEINCL
681sane_devel
682GNUTLSINCL
683HALINCL
684XSLTINCL
abf5048b
AJ
685XML2INCL
686XML2LIBS
687NASLIBS
688CROSSTEST
689CROSSWINDRES
690CROSSCC
691CARBONLIB
692COREAUDIO
693DISKARBITRATIONLIB
694LDEXECFLAGS
695IOKITLIB
696COREFOUNDATIONLIB
697SECURITYLIB
698MINGWAR
699DLLWRAP
700DLLTOOL
701LDD
702LDRPATH_LOCAL
703LDRPATH_INSTALL
704IMPLIBEXT
705LIBEXT
706LDDLLFLAGS
707LDSHARED
708DLLFLAGS
709DLLEXT
710OPENGL_LIBS
711XLIB
712LIBPTHREAD
713PRELINK
714ICOTOOL
715RSVG
716PKG_CONFIG
717FONTFORGE
718LINTFLAGS
719LINT
720INSTALL_DATA
721INSTALL_SCRIPT
722INSTALL_PROGRAM
723LDCONFIG
724EGREP
725GREP
726LN
727LN_S
728WINDRES
729STRIP
730RANLIB
731ARFLAGS
732ac_ct_AR
733AR
734ac_ct_NM
735NM
736ac_ct_LD
737LD
738ac_ct_AS
739AS
740BISON
741FLEX
742X_EXTRA_LIBS
743X_LIBS
744X_PRE_LIBS
745X_CFLAGS
746CPP
747XMKMF
748TOOLSDIR
749CPPBIN
750ac_ct_CXX
751CXXFLAGS
752CXX
753OBJEXT
754EXEEXT
755ac_ct_CC
756CPPFLAGS
757LDFLAGS
758CFLAGS
759CC
760SET_MAKE
761WIN16_INSTALL
762WIN16_FILES
763host_os
764host_vendor
765host_cpu
766host
767build_os
768build_vendor
769build_cpu
770build
771MAINTAINER_MODE
772target_alias
773host_alias
fc6ffb29 774build_alias
abf5048b
AJ
775LIBS
776ECHO_T
777ECHO_N
778ECHO_C
779DEFS
780mandir
781localedir
782libdir
783psdir
784pdfdir
785dvidir
786htmldir
787infodir
788docdir
789oldincludedir
790includedir
791localstatedir
792sharedstatedir
793sysconfdir
794datadir
795datarootdir
796libexecdir
797sbindir
798bindir
799program_transform_name
800prefix
801exec_prefix
802PACKAGE_BUGREPORT
803PACKAGE_STRING
804PACKAGE_VERSION
805PACKAGE_TARNAME
806PACKAGE_NAME
807PATH_SEPARATOR
808SHELL'
809ac_subst_files='MAKE_RULES
810MAKE_DLL_RULES
811MAKE_IMPLIB_RULES
812MAKE_TEST_RULES
813MAKE_PROG_RULES'
814ac_user_opts='
815enable_option_checking
816enable_win16
817enable_win64
35078f4b 818enable_tests
abf5048b
AJ
819enable_maintainer_mode
820with_alsa
821with_audioio
822with_capi
823with_cms
824with_coreaudio
825with_cups
826with_curses
827with_esd
828with_fontconfig
829with_freetype
830with_gphoto
831with_glu
832with_gnutls
833with_hal
834with_jack
835with_jpeg
836with_ldap
837with_nas
838with_opengl
839with_openssl
840with_oss
841with_png
842with_sane
843with_xcomposite
844with_xcursor
845with_xinerama
846with_xinput
847with_xml
848with_xrandr
849with_xrender
850with_xshape
851with_xshm
852with_xslt
853with_xxf86vm
854with_wine_tools
855with_x
856'
857 ac_precious_vars='build_alias
fc6ffb29
AJ
858host_alias
859target_alias
fc6ffb29
AJ
860CC
861CFLAGS
862LDFLAGS
abf5048b 863LIBS
fc6ffb29 864CPPFLAGS
fc6ffb29
AJ
865CXX
866CXXFLAGS
abf5048b 867CCC
fc6ffb29
AJ
868XMKMF
869CPP'
870
daa2886c 871
e2991ea7 872# Initialize some variables set by options.
f5818d2f
AJ
873ac_init_help=
874ac_init_version=false
abf5048b
AJ
875ac_unrecognized_opts=
876ac_unrecognized_sep=
e2991ea7
AJ
877# The variables have the same names as the options, with
878# dashes changed to underlines.
f5818d2f 879cache_file=/dev/null
e2991ea7 880exec_prefix=NONE
e2991ea7 881no_create=
e2991ea7
AJ
882no_recursion=
883prefix=NONE
884program_prefix=NONE
885program_suffix=NONE
886program_transform_name=s,x,x,
887silent=
888site=
889srcdir=
e2991ea7
AJ
890verbose=
891x_includes=NONE
892x_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
900bindir='${exec_prefix}/bin'
901sbindir='${exec_prefix}/sbin'
902libexecdir='${exec_prefix}/libexec'
fc6ffb29
AJ
903datarootdir='${prefix}/share'
904datadir='${datarootdir}'
d7d4fdf8
AJ
905sysconfdir='${prefix}/etc'
906sharedstatedir='${prefix}/com'
907localstatedir='${prefix}/var'
d7d4fdf8
AJ
908includedir='${prefix}/include'
909oldincludedir='/usr/include'
fc6ffb29
AJ
910docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
911infodir='${datarootdir}/info'
912htmldir='${docdir}'
913dvidir='${docdir}'
914pdfdir='${docdir}'
915psdir='${docdir}'
916libdir='${exec_prefix}/lib'
917localedir='${datarootdir}/locale'
918mandir='${datarootdir}/man'
e2991ea7 919
e2991ea7 920ac_prev=
fc6ffb29 921ac_dashdash=
e2991ea7
AJ
922for ac_option
923do
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
1259Try \`$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
1281done
1282
1283if 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 1287fi
e2991ea7 1288
abf5048b
AJ
1289if 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
1296fi
1297
1298# Check all directory arguments for consistency.
fc6ffb29
AJ
1299for 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 1303do
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
1318done
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
1323build=$build_alias
1324host=$host_alias
1325target=$target_alias
1326
daa2886c 1327# FIXME: To remove some day.
f5818d2f
AJ
1328if 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
1336fi
e2991ea7 1337
f5818d2f
AJ
1338ac_tool_prefix=
1339test -n "$host_alias" && ac_tool_prefix=$host_alias-
e2991ea7 1340
f5818d2f 1341test "$silent" = yes && exec 6>/dev/null
e2991ea7 1342
daa2886c 1343
fc6ffb29
AJ
1344ac_pwd=`pwd` && test -n "$ac_pwd" &&
1345ac_ls_di=`ls -di .` &&
1346ac_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; }; }
1349test "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.
1355if 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
1385else
1386 ac_srcdir_defaulted=no
1387fi
fc6ffb29
AJ
1388if 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 1392fi
fc6ffb29
AJ
1393ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1394ac_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=.
1399if test "$ac_abs_confdir" = "$ac_pwd"; then
1400 srcdir=.
1401fi
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.
1405case $srcdir in
1406*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1407esac
1408for 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}
1413done
f5818d2f
AJ
1414
1415#
1416# Report the --help message.
1417#
1418if 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
1424Usage: $0 [OPTION]... [VAR=VALUE]...
1425
1426To assign environment variables (e.g., CC, CFLAGS...), specify them as
1427VAR=VALUE. See below for descriptions of some of the useful variables.
1428
1429Defaults for the options are specified in brackets.
1430
1431Configuration:
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
1442Installation 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
1448By default, \`make install' will install all the files in
1449\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1450an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1451for instance \`--prefix=\$HOME'.
1452
1453For better control, use the options below.
1454
1455Fine 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
1479X features:
1480 --x-includes=DIR X include files are in DIR
1481 --x-libraries=DIR X library files are in DIR
1482
1483System 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
1487fi
1488
1489if 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
1495Optional 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
1506Optional 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
1546Some 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
1559Use these variables to override the choices made by `configure' or to help
1560it to find libraries and programs with nonstandard names/locations.
1561
875927f6 1562Report bugs to <wine-devel@winehq.org>.
daa2886c 1563_ACEOF
fc6ffb29 1564ac_status=$?
f5818d2f
AJ
1565fi
1566
1567if 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
1575case "$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 ;;
1585esac
1586ac_abs_top_builddir=$ac_pwd
1587ac_abs_builddir=$ac_pwd$ac_dir_suffix
1588# for backward compatibility:
1589ac_top_builddir=$ac_top_build_prefix
f5818d2f 1590
daa2886c 1591case $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 1604esac
fc6ffb29 1605ac_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
1620fi
e2991ea7 1621
fc6ffb29 1622test -n "$ac_init_help" && exit $ac_status
f5818d2f 1623if $ac_init_version; then
daa2886c 1624 cat <<\_ACEOF
12c80905 1625Wine configure 1.1.9
abf5048b 1626generated by GNU Autoconf 2.63
f5818d2f 1627
fc6ffb29 1628Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
abf5048b 16292002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
f5818d2f
AJ
1630This configure script is free software; the Free Software Foundation
1631gives unlimited permission to copy, distribute and modify it.
daa2886c 1632_ACEOF
fc6ffb29 1633 exit
f5818d2f 1634fi
fc6ffb29 1635cat >config.log <<_ACEOF
f5818d2f
AJ
1636This file contains any messages produced by compilers while
1637running configure, to aid debugging if configure makes a mistake.
1638
12c80905 1639It was created by Wine $as_me 1.1.9, which was
abf5048b 1640generated by GNU Autoconf 2.63. Invocation command line was
f5818d2f
AJ
1641
1642 $ $0 $@
1643
daa2886c 1644_ACEOF
fc6ffb29 1645exec 5>>config.log
f5818d2f
AJ
1646{
1647cat <<_ASUNAME
daa2886c
AJ
1648## --------- ##
1649## Platform. ##
1650## --------- ##
f5818d2f
AJ
1651
1652hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1653uname -m = `(uname -m) 2>/dev/null || echo unknown`
1654uname -r = `(uname -r) 2>/dev/null || echo unknown`
1655uname -s = `(uname -s) 2>/dev/null || echo unknown`
1656uname -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
1671as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1672for as_dir in $PATH
1673do
1674 IFS=$as_save_IFS
1675 test -z "$as_dir" && as_dir=.
abf5048b 1676 $as_echo "PATH: $as_dir"
daa2886c 1677done
fc6ffb29 1678IFS=$as_save_IFS
daa2886c 1679
f5818d2f
AJ
1680} >&5
1681
daa2886c
AJ
1682cat >&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 1697ac_configure_args=
e24bcc77
AJ
1698ac_configure_args0=
1699ac_configure_args1=
e24bcc77
AJ
1700ac_must_keep_next=false
1701for ac_pass in 1 2
f5818d2f 1702do
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 1736done
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
1745trap '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
1840for ac_signal in 1 2 13 15; do
1841 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1842done
1843ac_signal=0
1844
1845# confdefs.h avoids OS command line length limits that DEFS can exceed.
fc6ffb29 1846rm -f -r conftest* confdefs.h
f5818d2f 1847
daa2886c
AJ
1848# Predefined preprocessor variables.
1849
1850cat >>confdefs.h <<_ACEOF
1851#define PACKAGE_NAME "$PACKAGE_NAME"
1852_ACEOF
1853
1854
1855cat >>confdefs.h <<_ACEOF
1856#define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1857_ACEOF
1858
1859
1860cat >>confdefs.h <<_ACEOF
1861#define PACKAGE_VERSION "$PACKAGE_VERSION"
1862_ACEOF
1863
1864
1865cat >>confdefs.h <<_ACEOF
1866#define PACKAGE_STRING "$PACKAGE_STRING"
1867_ACEOF
1868
1869
1870cat >>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.
1877ac_site_file1=NONE
1878ac_site_file2=NONE
fc6ffb29 1879if test -n "$CONFIG_SITE"; then
abf5048b 1880 ac_site_file1=$CONFIG_SITE
fc6ffb29 1881elif test "x$prefix" != xNONE; then
abf5048b
AJ
1882 ac_site_file1=$prefix/share/config.site
1883 ac_site_file2=$prefix/etc/config.site
fc6ffb29 1884else
abf5048b
AJ
1885 ac_site_file1=$ac_default_prefix/share/config.site
1886 ac_site_file2=$ac_default_prefix/etc/config.site
e2991ea7 1887fi
abf5048b 1888for ac_site_file in "$ac_site_file1" "$ac_site_file2"
fc6ffb29 1889do
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
1897done
1898
1899if 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 1910else
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
1914fi
1915
1916# Check that the precious variables saved in the cache have kept the same
1917# value.
1918ac_cache_corrupted=false
fc6ffb29 1919for 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
1965done
1966if $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
1974fi
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
2000ac_ext=c
2001ac_cpp='$CPP $CPPFLAGS'
2002ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2003ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2004ac_compiler_gnu=$ac_cv_c_compiler_gnu
daa2886c 2005
e2991ea7 2006
11af04e3 2007
fc6ffb29 2008ac_config_headers="$ac_config_headers include/config.h"
18f92e76 2009
d7d4fdf8 2010ac_aux_dir=
0ebeb530
JW
2011for 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
2025done
2026if 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 2030fi
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.
2036ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2037ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2038ac_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 2044if test "${enable_win16+set}" = set; then
fc6ffb29
AJ
2045 enableval=$enable_win16;
2046fi
c728efc3 2047
fc6ffb29 2048# Check whether --enable-win64 was given.
2aa8e871 2049if test "${enable_win64+set}" = set; then
fc6ffb29
AJ
2050 enableval=$enable_win64;
2051fi
2aa8e871 2052
35078f4b
AJ
2053# Check whether --enable-tests was given.
2054if test "${enable_tests+set}" = set; then
2055 enableval=$enable_tests;
2056fi
2057
9d037226
AJ
2058# Check whether --enable-maintainer-mode was given.
2059if test "${enable_maintainer_mode+set}" = set; then
2060 enableval=$enable_maintainer_mode;
2061else
2062 MAINTAINER_MODE=\#
2063
2064fi
2065
b8074991
AJ
2066
2067
a41f0f1b
AJ
2068# Check whether --with-alsa was given.
2069if 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
2071fi
2072
2073
2074# Check whether --with-audioio was given.
2075if test "${with_audioio+set}" = set; then
2076 withval=$with_audioio; if test "x$withval" = "xno"; then ac_cv_header_libaudioio_h=no; fi
2077fi
2078
2079
2080# Check whether --with-capi was given.
2081if 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
2083fi
2084
2085
2086# Check whether --with-cms was given.
2087if 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
2089fi
2090
2091
2092# Check whether --with-coreaudio was given.
2093if test "${with_coreaudio+set}" = set; then
2094 withval=$with_coreaudio; if test "x$withval" = "xno"; then ac_cv_header_CoreAudio_CoreAudio_h=no; fi
2095fi
2096
2097
2098# Check whether --with-cups was given.
2099if test "${with_cups+set}" = set; then
289ea338 2100 withval=$with_cups;
a41f0f1b
AJ
2101fi
2102
2103
2104# Check whether --with-curses was given.
2105if 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
2107fi
2108
2109
2110# Check whether --with-esd was given.
2111if test "${with_esd+set}" = set; then
2112 withval=$with_esd;
2113fi
2114
2115
2116# Check whether --with-fontconfig was given.
2117if test "${with_fontconfig+set}" = set; then
2118 withval=$with_fontconfig; if test "x$withval" = "xno"; then ac_cv_header_fontconfig_fontconfig_h=no; fi
2119fi
2120
2121
a20c0e12
AJ
2122# Check whether --with-freetype was given.
2123if test "${with_freetype+set}" = set; then
2124 withval=$with_freetype;
2125fi
2126
2127
a41f0f1b
AJ
2128# Check whether --with-gphoto was given.
2129if test "${with_gphoto+set}" = set; then
2130 withval=$with_gphoto;
2131fi
2132
2133
ad798735
AJ
2134# Check whether --with-glu was given.
2135if test "${with_glu+set}" = set; then
2136 withval=$with_glu; if test "x$withval" = "xno"; then ac_cv_header_GL_glu_h=no; fi
2137fi
2138
2139
874c9ef6
HV
2140# Check whether --with-gnutls was given.
2141if test "${with_gnutls+set}" = set; then
2142 withval=$with_gnutls;
2143fi
2144
2145
a41f0f1b
AJ
2146# Check whether --with-hal was given.
2147if test "${with_hal+set}" = set; then
2148 withval=$with_hal;
2149fi
2150
2151
2152# Check whether --with-jack was given.
2153if test "${with_jack+set}" = set; then
2154 withval=$with_jack; if test "x$withval" = "xno"; then ac_cv_header_jack_jack_h=no; fi
2155fi
2156
2157
2158# Check whether --with-jpeg was given.
2159if test "${with_jpeg+set}" = set; then
2160 withval=$with_jpeg; if test "x$withval" = "xno"; then ac_cv_header_jpeglib_h=no; fi
2161fi
2162
2163
2164# Check whether --with-ldap was given.
2165if 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
2167fi
2168
2169
2170# Check whether --with-nas was given.
2171if test "${with_nas+set}" = set; then
2172 withval=$with_nas; if test "x$withval" = "xno"; then ac_cv_header_audio_audiolib_h=no; fi
2173fi
2174
2175
fc6ffb29 2176# Check whether --with-opengl was given.
b8074991 2177if test "${with_opengl+set}" = set; then
fc6ffb29
AJ
2178 withval=$with_opengl;
2179fi
f90efa9c
AJ
2180
2181
a41f0f1b
AJ
2182# Check whether --with-openssl was given.
2183if 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
2185fi
2186
2187
2188# Check whether --with-oss was given.
2189if 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
2191fi
2192
2193
2194# Check whether --with-png was given.
2195if test "${with_png+set}" = set; then
2196 withval=$with_png; if test "x$withval" = "xno"; then ac_cv_header_png_h=no; fi
2197fi
2198
2199
2200# Check whether --with-sane was given.
2201if test "${with_sane+set}" = set; then
2202 withval=$with_sane;
2203fi
2204
2205
2206# Check whether --with-xcomposite was given.
2207if 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
2209fi
2210
2211
2212# Check whether --with-xcursor was given.
2213if 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
2215fi
2216
2217
2218# Check whether --with-xinerama was given.
2219if 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
2221fi
2222
2223
2224# Check whether --with-xinput was given.
2225if 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
2227fi
2228
2229
2230# Check whether --with-xml was given.
2231if test "${with_xml+set}" = set; then
2232 withval=$with_xml;
2233fi
2234
2235
2236# Check whether --with-xrandr was given.
2237if 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
2239fi
2240
2241
2242# Check whether --with-xrender was given.
2243if 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
2245fi
2246
2247
2248# Check whether --with-xshape was given.
2249if 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
2251fi
2252
2253
2254# Check whether --with-xshm was given.
2255if 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
2257fi
2258
2259
2260# Check whether --with-xslt was given.
2261if test "${with_xslt+set}" = set; then
2262 withval=$with_xslt;
2263fi
2264
2265
a49beb4c
FG
2266# Check whether --with-xxf86vm was given.
2267if 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
2269fi
2270
2271
2272
fc6ffb29 2273# Check whether --with-wine-tools was given.
fc01b729 2274if test "${with_wine_tools+set}" = set; then
fc6ffb29
AJ
2275 withval=$with_wine_tools;
2276fi
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 2287if test "${ac_cv_build+set}" = set; then
abf5048b 2288 $as_echo_n "(cached) " >&6
f5818d2f 2289else
fc6ffb29
AJ
2290 ac_build_alias=$build_alias
2291test "x$ac_build_alias" = x &&
0ebeb530 2292 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
fc6ffb29 2293test "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 2297ac_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
2302fi
abf5048b
AJ
2303{ $as_echo "$as_me:$LINENO: result: $ac_cv_build" >&5
2304$as_echo "$ac_cv_build" >&6; }
fc6ffb29
AJ
2305case $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; }; };;
2310esac
f5818d2f 2311build=$ac_cv_build
fc6ffb29
AJ
2312ac_save_IFS=$IFS; IFS='-'
2313set x $ac_cv_build
2314shift
2315build_cpu=$1
2316build_vendor=$2
2317shift; shift
2318# Remember, the first character of IFS is used to create $*,
2319# except with old shells:
2320build_os=$*
2321IFS=$ac_save_IFS
2322case $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 2327if test "${ac_cv_host+set}" = set; then
abf5048b 2328 $as_echo_n "(cached) " >&6
f5818d2f 2329else
fc6ffb29
AJ
2330 if test "x$host_alias" = x; then
2331 ac_cv_host=$ac_cv_build
2332else
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 2337fi
f5818d2f
AJ
2338
2339fi
abf5048b
AJ
2340{ $as_echo "$as_me:$LINENO: result: $ac_cv_host" >&5
2341$as_echo "$ac_cv_host" >&6; }
fc6ffb29
AJ
2342case $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; }; };;
2347esac
f5818d2f 2348host=$ac_cv_host
fc6ffb29
AJ
2349ac_save_IFS=$IFS; IFS='-'
2350set x $ac_cv_host
2351shift
2352host_cpu=$1
2353host_vendor=$2
2354shift; shift
2355# Remember, the first character of IFS is used to create $*,
2356# except with old shells:
2357host_os=$*
2358IFS=$ac_save_IFS
2359case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
f5818d2f 2360
daa2886c 2361
2aa8e871
AJ
2362case $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 ;;
2374esac
2375
71440f35
AJ
2376case $host_cpu in
2377 *i[3456789]86*)
2378 if test "x$enable_win16" != "xno"
2379 then
2380 enable_win16="yes"
2381 fi
2382 ;;
2383esac
2384
2385WIN16_FILES="\$(WIN16_FILES)"
2386
2387WIN16_INSTALL="\$(WIN16_INSTALL)"
2388
2389if test "x$enable_win16" != "xyes"
2390then
2391 WIN16_FILES=""
2392 WIN16_INSTALL=""
2393fi
2394
73b724e7
AJ
2395case "$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 2399You 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
2401You need to run 'make distclean' in the source tree first." >&2;}
2402 { (exit 1); exit 1; }; }
2403 fi ;;
2404esac
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; }
2409set x ${MAKE-make}
2410ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
fc6ffb29 2411if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
abf5048b 2412 $as_echo_n "(cached) " >&6
f5818d2f 2413else
daa2886c 2414 cat >conftest.make <<\_ACEOF
fc6ffb29 2415SHELL = /bin/sh
e2991ea7 2416all:
0ebeb530 2417 @echo '@@@%%%=$(MAKE)=@@@%%%'
daa2886c 2418_ACEOF
e2991ea7 2419# GNU make sometimes prints "make[1]: Entering...", which would confuse us.
0ebeb530
JW
2420case `${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;;
2425esac
f5818d2f 2426rm -f conftest.make
e2991ea7 2427fi
0ebeb530 2428if 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=
2432else
abf5048b
AJ
2433 { $as_echo "$as_me:$LINENO: result: no" >&5
2434$as_echo "no" >&6; }
e2991ea7
AJ
2435 SET_MAKE="MAKE=${MAKE-make}"
2436fi
2437
f5818d2f
AJ
2438ac_ext=c
2439ac_cpp='$CPP $CPPFLAGS'
2440ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2441ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2442ac_compiler_gnu=$ac_cv_c_compiler_gnu
2443if 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.
2445set 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 2448if test "${ac_cv_prog_CC+set}" = set; then
abf5048b 2449 $as_echo_n "(cached) " >&6
f5818d2f
AJ
2450else
2451 if test -n "$CC"; then
2452 ac_cv_prog_CC="$CC" # Let the user override the test.
2453else
daa2886c
AJ
2454as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2455for as_dir in $PATH
2456do
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
2465done
f5818d2f 2466done
fc6ffb29 2467IFS=$as_save_IFS
f5818d2f
AJ
2468
2469fi
2470fi
2471CC=$ac_cv_prog_CC
2472if test -n "$CC"; then
abf5048b
AJ
2473 { $as_echo "$as_me:$LINENO: result: $CC" >&5
2474$as_echo "$CC" >&6; }
f5818d2f 2475else
abf5048b
AJ
2476 { $as_echo "$as_me:$LINENO: result: no" >&5
2477$as_echo "no" >&6; }
f5818d2f
AJ
2478fi
2479
fc6ffb29 2480
f5818d2f
AJ
2481fi
2482if 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 2485set 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 2488if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
abf5048b 2489 $as_echo_n "(cached) " >&6
f5818d2f
AJ
2490else
2491 if test -n "$ac_ct_CC"; then
2492 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2493else
daa2886c
AJ
2494as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2495for as_dir in $PATH
2496do
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
2505done
f5818d2f 2506done
fc6ffb29 2507IFS=$as_save_IFS
f5818d2f
AJ
2508
2509fi
2510fi
2511ac_ct_CC=$ac_cv_prog_ac_ct_CC
2512if 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 2515else
abf5048b
AJ
2516 { $as_echo "$as_me:$LINENO: result: no" >&5
2517$as_echo "no" >&6; }
f5818d2f
AJ
2518fi
2519
fc6ffb29
AJ
2520 if test "x$ac_ct_CC" = x; then
2521 CC=""
2522 else
2523 case $cross_compiling:$ac_tool_warned in
2524yes:)
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
2527ac_tool_warned=yes ;;
2528esac
2529 CC=$ac_ct_CC
2530 fi
f5818d2f
AJ
2531else
2532 CC="$ac_cv_prog_CC"
2533fi
2534
2535if 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 2538set 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 2541if test "${ac_cv_prog_CC+set}" = set; then
abf5048b 2542 $as_echo_n "(cached) " >&6
e2991ea7
AJ
2543else
2544 if test -n "$CC"; then
2545 ac_cv_prog_CC="$CC" # Let the user override the test.
2546else
daa2886c
AJ
2547as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2548for as_dir in $PATH
2549do
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
2558done
f5818d2f 2559done
fc6ffb29 2560IFS=$as_save_IFS
f5818d2f 2561
e2991ea7
AJ
2562fi
2563fi
f5818d2f 2564CC=$ac_cv_prog_CC
e2991ea7 2565if test -n "$CC"; then
abf5048b
AJ
2566 { $as_echo "$as_me:$LINENO: result: $CC" >&5
2567$as_echo "$CC" >&6; }
f5818d2f 2568else
abf5048b
AJ
2569 { $as_echo "$as_me:$LINENO: result: no" >&5
2570$as_echo "no" >&6; }
f5818d2f
AJ
2571fi
2572
e2991ea7 2573
fc6ffb29 2574 fi
f5818d2f 2575fi
b817f4fb
AJ
2576if test -z "$CC"; then
2577 # Extract the first word of "cc", so it can be a program name with args.
2578set 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 2581if test "${ac_cv_prog_CC+set}" = set; then
abf5048b 2582 $as_echo_n "(cached) " >&6
b817f4fb
AJ
2583else
2584 if test -n "$CC"; then
2585 ac_cv_prog_CC="$CC" # Let the user override the test.
2586else
b817f4fb 2587 ac_prog_rejected=no
daa2886c
AJ
2588as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2589for as_dir in $PATH
2590do
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
2603done
f5818d2f 2604done
fc6ffb29 2605IFS=$as_save_IFS
f5818d2f 2606
b817f4fb
AJ
2607if 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
2618fi
2619fi
2620fi
f5818d2f 2621CC=$ac_cv_prog_CC
b817f4fb 2622if test -n "$CC"; then
abf5048b
AJ
2623 { $as_echo "$as_me:$LINENO: result: $CC" >&5
2624$as_echo "$CC" >&6; }
b817f4fb 2625else
abf5048b
AJ
2626 { $as_echo "$as_me:$LINENO: result: no" >&5
2627$as_echo "no" >&6; }
b817f4fb
AJ
2628fi
2629
fc6ffb29 2630
f5818d2f
AJ
2631fi
2632if 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.
2637set 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 2640if test "${ac_cv_prog_CC+set}" = set; then
abf5048b 2641 $as_echo_n "(cached) " >&6
f5818d2f
AJ
2642else
2643 if test -n "$CC"; then
18ad24a7
EP
2644 ac_cv_prog_CC="$CC" # Let the user override the test.
2645else
daa2886c
AJ
2646as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2647for as_dir in $PATH
2648do
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
2657done
f5818d2f 2658done
fc6ffb29 2659IFS=$as_save_IFS
f5818d2f 2660
18ad24a7
EP
2661fi
2662fi
f5818d2f 2663CC=$ac_cv_prog_CC
18ad24a7 2664if test -n "$CC"; then
abf5048b
AJ
2665 { $as_echo "$as_me:$LINENO: result: $CC" >&5
2666$as_echo "$CC" >&6; }
18ad24a7 2667else
abf5048b
AJ
2668 { $as_echo "$as_me:$LINENO: result: no" >&5
2669$as_echo "no" >&6; }
b817f4fb 2670fi
e2991ea7 2671
fc6ffb29 2672
f5818d2f
AJ
2673 test -n "$CC" && break
2674 done
2675fi
2676if test -z "$CC"; then
2677 ac_ct_CC=$CC
fc6ffb29 2678 for ac_prog in cl.exe
f5818d2f
AJ
2679do
2680 # Extract the first word of "$ac_prog", so it can be a program name with args.
2681set 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 2684if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
abf5048b 2685 $as_echo_n "(cached) " >&6
f5818d2f
AJ
2686else
2687 if test -n "$ac_ct_CC"; then
2688 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2689else
daa2886c
AJ
2690as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2691for as_dir in $PATH
2692do
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
2701done
f5818d2f 2702done
fc6ffb29 2703IFS=$as_save_IFS
da0cfb36 2704
f5818d2f
AJ
2705fi
2706fi
2707ac_ct_CC=$ac_cv_prog_ac_ct_CC
2708if 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 2711else
abf5048b
AJ
2712 { $as_echo "$as_me:$LINENO: result: no" >&5
2713$as_echo "no" >&6; }
f5818d2f 2714fi
da0cfb36 2715
fc6ffb29 2716
f5818d2f
AJ
2717 test -n "$ac_ct_CC" && break
2718done
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
2724yes:)
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
2727ac_tool_warned=yes ;;
2728esac
2729 CC=$ac_ct_CC
2730 fi
f5818d2f
AJ
2731fi
2732
2733fi
2734
daa2886c 2735
abf5048b
AJ
2736test -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 2739See \`config.log' for more details." >&5
abf5048b 2740$as_echo "$as_me: error: no acceptable C compiler found in \$PATH
e24bcc77 2741See \`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
2746set X $ac_compile
2747ac_compiler=$2
0ebeb530
JW
2748{ (ac_try="$ac_compiler --version >&5"
2749case "(($ac_try" in
2750 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2751 *) ac_try_echo=$ac_try;;
2752esac
abf5048b
AJ
2753eval 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"
2760case "(($ac_try" in
2761 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2762 *) ac_try_echo=$ac_try;;
2763esac
abf5048b
AJ
2764eval 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"
2771case "(($ac_try" in
2772 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2773 *) ac_try_echo=$ac_try;;
2774esac
abf5048b
AJ
2775eval 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
2782cat >conftest.$ac_ext <<_ACEOF
e24bcc77
AJ
2783/* confdefs.h. */
2784_ACEOF
2785cat confdefs.h >>conftest.$ac_ext
2786cat >>conftest.$ac_ext <<_ACEOF
2787/* end confdefs.h. */
18ad24a7 2788
f5818d2f
AJ
2789int
2790main ()
2791{
2792
2793 ;
2794 return 0;
2795}
2796_ACEOF
2797ac_clean_files_save=$ac_clean_files
abf5048b 2798ac_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; }
2804ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2805
2806# The possible output files:
2807ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
2808
0ebeb530
JW
2809ac_rmfiles=
2810for ac_file in $ac_files
2811do
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
2816done
2817rm -f $ac_rmfiles
fc6ffb29 2818
0ebeb530
JW
2819if { (ac_try="$ac_link_default"
2820case "(($ac_try" in
2821 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2822 *) ac_try_echo=$ac_try;;
2823esac
abf5048b
AJ
2824eval 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 2835for ac_file in $ac_files ''
e24bcc77 2836do
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
2859done
0ebeb530 2860test "$ac_cv_exeext" = no && ac_cv_exeext=
fc6ffb29 2861
f5818d2f 2862else
78bd1948
AJ
2863 ac_file=''
2864fi
2865
abf5048b
AJ
2866{ $as_echo "$as_me:$LINENO: result: $ac_file" >&5
2867$as_echo "$ac_file" >&6; }
78bd1948 2868if test -z "$ac_file"; then
abf5048b 2869 $as_echo "$as_me: failed program was:" >&5
e24bcc77
AJ
2870sed '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 2875See \`config.log' for more details." >&5
abf5048b 2876$as_echo "$as_me: error: C compiler cannot create executables
e24bcc77 2877See \`config.log' for more details." >&2;}
abf5048b 2878 { (exit 77); exit 77; }; }; }
f5818d2f
AJ
2879fi
2880
0ebeb530 2881ac_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.
2889if 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;;
2894esac
abf5048b
AJ
2895eval 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
2909If you meant to cross compile, use \`--host'.
2910See \`config.log' for more details." >&5
abf5048b 2911$as_echo "$as_me: error: cannot run C compiled programs.
e24bcc77
AJ
2912If you meant to cross compile, use \`--host'.
2913See \`config.log' for more details." >&2;}
abf5048b 2914 { (exit 1); exit 1; }; }; }
f5818d2f 2915 fi
7e6ae4ba 2916 fi
f5818d2f 2917fi
abf5048b
AJ
2918{ $as_echo "$as_me:$LINENO: result: yes" >&5
2919$as_echo "yes" >&6; }
f5818d2f 2920
abf5048b 2921rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
0ebeb530
JW
2922ac_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
2932if { (ac_try="$ac_link"
2933case "(($ac_try" in
2934 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2935 *) ac_try_echo=$ac_try;;
2936esac
abf5048b
AJ
2937eval 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'.
2947for 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
2955done
da0cfb36 2956else
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 2960See \`config.log' for more details." >&5
abf5048b 2961$as_echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
e24bcc77 2962See \`config.log' for more details." >&2;}
abf5048b 2963 { (exit 1); exit 1; }; }; }
da0cfb36 2964fi
da0cfb36 2965
0ebeb530 2966rm -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
2970rm -f conftest.$ac_ext
f5818d2f
AJ
2971EXEEXT=$ac_cv_exeext
2972ac_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 2975if test "${ac_cv_objext+set}" = set; then
abf5048b 2976 $as_echo_n "(cached) " >&6
e2991ea7 2977else
0ebeb530
JW
2978 cat >conftest.$ac_ext <<_ACEOF
2979/* confdefs.h. */
2980_ACEOF
2981cat confdefs.h >>conftest.$ac_ext
2982cat >>conftest.$ac_ext <<_ACEOF
2983/* end confdefs.h. */
2984
2985int
2986main ()
2987{
2988
2989 ;
2990 return 0;
2991}
2992_ACEOF
2993rm -f conftest.o conftest.obj
2994if { (ac_try="$ac_compile"
2995case "(($ac_try" in
2996 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2997 *) ac_try_echo=$ac_try;;
2998esac
abf5048b
AJ
2999eval 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
3012done
18ad24a7 3013else
abf5048b 3014 $as_echo "$as_me: failed program was:" >&5
e24bcc77
AJ
3015sed '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 3020See \`config.log' for more details." >&5
abf5048b 3021$as_echo "$as_me: error: cannot compute suffix of object files: cannot compile
e24bcc77 3022See \`config.log' for more details." >&2;}
abf5048b 3023 { (exit 1); exit 1; }; }; }
18ad24a7
EP
3024fi
3025
0ebeb530 3026rm -f conftest.$ac_cv_objext conftest.$ac_ext
f5818d2f 3027fi
abf5048b
AJ
3028{ $as_echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
3029$as_echo "$ac_cv_objext" >&6; }
f5818d2f
AJ
3030OBJEXT=$ac_cv_objext
3031ac_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 3034if test "${ac_cv_c_compiler_gnu+set}" = set; then
abf5048b 3035 $as_echo_n "(cached) " >&6
e2991ea7 3036else
f5818d2f 3037 cat >conftest.$ac_ext <<_ACEOF
e24bcc77
AJ
3038/* confdefs.h. */
3039_ACEOF
3040cat confdefs.h >>conftest.$ac_ext
3041cat >>conftest.$ac_ext <<_ACEOF
3042/* end confdefs.h. */
f5818d2f
AJ
3043
3044int
3045main ()
3046{
3047#ifndef __GNUC__
3048 choke me
3049#endif
3050
3051 ;
3052 return 0;
3053}
3054_ACEOF
3055rm -f conftest.$ac_objext
0ebeb530
JW
3056if { (ac_try="$ac_compile"
3057case "(($ac_try" in
3058 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3059 *) ac_try_echo=$ac_try;;
3060esac
abf5048b
AJ
3061eval 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
3074else
abf5048b 3075 $as_echo "$as_me: failed program was:" >&5
e24bcc77
AJ
3076sed 's/^/| /' conftest.$ac_ext >&5
3077
fc6ffb29 3078 ac_compiler_gnu=no
f5818d2f 3079fi
fc6ffb29 3080
0ebeb530 3081rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
f5818d2f
AJ
3082ac_cv_c_compiler_gnu=$ac_compiler_gnu
3083
3084fi
abf5048b
AJ
3085{ $as_echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
3086$as_echo "$ac_cv_c_compiler_gnu" >&6; }
3087if test $ac_compiler_gnu = yes; then
3088 GCC=yes
3089else
3090 GCC=
3091fi
f5818d2f
AJ
3092ac_test_CFLAGS=${CFLAGS+set}
3093ac_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 3096if test "${ac_cv_prog_cc_g+set}" = set; then
abf5048b 3097 $as_echo_n "(cached) " >&6
f5818d2f 3098else
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
3106cat confdefs.h >>conftest.$ac_ext
3107cat >>conftest.$ac_ext <<_ACEOF
3108/* end confdefs.h. */
3109
3110int
3111main ()
3112{
3113
3114 ;
3115 return 0;
3116}
3117_ACEOF
3118rm -f conftest.$ac_objext
0ebeb530
JW
3119if { (ac_try="$ac_compile"
3120case "(($ac_try" in
3121 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3122 *) ac_try_echo=$ac_try;;
3123esac
abf5048b
AJ
3124eval 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
3137else
abf5048b 3138 $as_echo "$as_me: failed program was:" >&5
fc6ffb29
AJ
3139sed 's/^/| /' conftest.$ac_ext >&5
3140
3141 CFLAGS=""
3142 cat >conftest.$ac_ext <<_ACEOF
3143/* confdefs.h. */
3144_ACEOF
3145cat confdefs.h >>conftest.$ac_ext
3146cat >>conftest.$ac_ext <<_ACEOF
3147/* end confdefs.h. */
3148
3149int
3150main ()
3151{
3152
3153 ;
3154 return 0;
3155}
3156_ACEOF
3157rm -f conftest.$ac_objext
0ebeb530
JW
3158if { (ac_try="$ac_compile"
3159case "(($ac_try" in
3160 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3161 *) ac_try_echo=$ac_try;;
3162esac
abf5048b
AJ
3163eval 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 :
3176else
abf5048b 3177 $as_echo "$as_me: failed program was:" >&5
fc6ffb29
AJ
3178sed '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
3185cat confdefs.h >>conftest.$ac_ext
3186cat >>conftest.$ac_ext <<_ACEOF
3187/* end confdefs.h. */
f5818d2f
AJ
3188
3189int
3190main ()
3191{
3192
3193 ;
3194 return 0;
3195}
3196_ACEOF
3197rm -f conftest.$ac_objext
0ebeb530
JW
3198if { (ac_try="$ac_compile"
3199case "(($ac_try" in
3200 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3201 *) ac_try_echo=$ac_try;;
3202esac
abf5048b
AJ
3203eval 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 3216else
abf5048b 3217 $as_echo "$as_me: failed program was:" >&5
e24bcc77
AJ
3218sed 's/^/| /' conftest.$ac_ext >&5
3219
fc6ffb29
AJ
3220
3221fi
3222
0ebeb530 3223rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
fc6ffb29
AJ
3224fi
3225
0ebeb530 3226rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
e2991ea7 3227fi
fc6ffb29 3228
0ebeb530 3229rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
fc6ffb29 3230 ac_c_werror_flag=$ac_save_c_werror_flag
e2991ea7 3231fi
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 3234if test "$ac_test_CFLAGS" = set; then
f5818d2f 3235 CFLAGS=$ac_save_CFLAGS
18ad24a7
EP
3236elif 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
3242else
18ad24a7
EP
3243 if test "$GCC" = yes; then
3244 CFLAGS="-O2"
3245 else
3246 CFLAGS=
3247 fi
e2991ea7 3248fi
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 3251if test "${ac_cv_prog_cc_c89+set}" = set; then
abf5048b 3252 $as_echo_n "(cached) " >&6
11af04e3 3253else
fc6ffb29 3254 ac_cv_prog_cc_c89=no
11af04e3
AJ
3255ac_save_CC=$CC
3256cat >conftest.$ac_ext <<_ACEOF
e24bcc77
AJ
3257/* confdefs.h. */
3258_ACEOF
3259cat confdefs.h >>conftest.$ac_ext
3260cat >>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. */
3267struct buf { int x; };
3268FILE * (*rcsopen) (struct buf *, struct stat *, int);
3269static char *e (p, i)
3270 char **p;
3271 int i;
3272{
3273 return p[i];
3274}
3275static 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
3292int 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'
3297int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3298
11af04e3
AJ
3299int test (int i, double x);
3300struct s1 {int (*f) (int a);};
3301struct s2 {int (*f) (double a);};
3302int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3303int argc;
3304char **argv;
3305int
3306main ()
3307{
3308return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3309 ;
3310 return 0;
3311}
3312_ACEOF
fc6ffb29
AJ
3313for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3314 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
11af04e3
AJ
3315do
3316 CC="$ac_save_CC $ac_arg"
3317 rm -f conftest.$ac_objext
0ebeb530
JW
3318if { (ac_try="$ac_compile"
3319case "(($ac_try" in
3320 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3321 *) ac_try_echo=$ac_try;;
3322esac
abf5048b
AJ
3323eval 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 3336else
abf5048b 3337 $as_echo "$as_me: failed program was:" >&5
e24bcc77
AJ
3338sed 's/^/| /' conftest.$ac_ext >&5
3339
fc6ffb29 3340
11af04e3 3341fi
fc6ffb29 3342
0ebeb530 3343rm -f core conftest.err conftest.$ac_objext
fc6ffb29 3344 test "x$ac_cv_prog_cc_c89" != "xno" && break
11af04e3 3345done
fc6ffb29 3346rm -f conftest.$ac_ext
11af04e3
AJ
3347CC=$ac_save_CC
3348
3349fi
fc6ffb29
AJ
3350# AC_CACHE_VAL
3351case "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
3362esac
3363
e24bcc77 3364
f5818d2f
AJ
3365ac_ext=c
3366ac_cpp='$CPP $CPPFLAGS'
3367ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3368ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3369ac_compiler_gnu=$ac_cv_c_compiler_gnu
e2991ea7 3370
fc6ffb29 3371ac_ext=cpp
f41c2b21
DP
3372ac_cpp='$CXXCPP $CPPFLAGS'
3373ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3374ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3375ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
fc6ffb29
AJ
3376if 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.
3384set 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 3387if test "${ac_cv_prog_CXX+set}" = set; then
abf5048b 3388 $as_echo_n "(cached) " >&6
f41c2b21
DP
3389else
3390 if test -n "$CXX"; then
3391 ac_cv_prog_CXX="$CXX" # Let the user override the test.
3392else
3393as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3394for as_dir in $PATH
3395do
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
3404done
3405done
fc6ffb29 3406IFS=$as_save_IFS
f41c2b21
DP
3407
3408fi
3409fi
3410CXX=$ac_cv_prog_CXX
3411if test -n "$CXX"; then
abf5048b
AJ
3412 { $as_echo "$as_me:$LINENO: result: $CXX" >&5
3413$as_echo "$CXX" >&6; }
f41c2b21 3414else
abf5048b
AJ
3415 { $as_echo "$as_me:$LINENO: result: no" >&5
3416$as_echo "no" >&6; }
f41c2b21
DP
3417fi
3418
fc6ffb29 3419
f41c2b21
DP
3420 test -n "$CXX" && break
3421 done
3422fi
3423if 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
3426do
3427 # Extract the first word of "$ac_prog", so it can be a program name with args.
3428set 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 3431if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
abf5048b 3432 $as_echo_n "(cached) " >&6
f41c2b21
DP
3433else
3434 if test -n "$ac_ct_CXX"; then
3435 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
3436else
3437as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3438for as_dir in $PATH
3439do
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
3448done
3449done
fc6ffb29 3450IFS=$as_save_IFS
f41c2b21
DP
3451
3452fi
3453fi
3454ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
3455if 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 3458else
abf5048b
AJ
3459 { $as_echo "$as_me:$LINENO: result: no" >&5
3460$as_echo "no" >&6; }
f41c2b21
DP
3461fi
3462
fc6ffb29 3463
f41c2b21
DP
3464 test -n "$ac_ct_CXX" && break
3465done
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
3471yes:)
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
3474ac_tool_warned=yes ;;
3475esac
3476 CXX=$ac_ct_CXX
3477 fi
f41c2b21
DP
3478fi
3479
fc6ffb29
AJ
3480 fi
3481fi
f41c2b21 3482# Provide some information about the compiler.
abf5048b
AJ
3483$as_echo "$as_me:$LINENO: checking for C++ compiler version" >&5
3484set X $ac_compile
3485ac_compiler=$2
0ebeb530
JW
3486{ (ac_try="$ac_compiler --version >&5"
3487case "(($ac_try" in
3488 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3489 *) ac_try_echo=$ac_try;;
3490esac
abf5048b
AJ
3491eval 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"
3498case "(($ac_try" in
3499 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3500 *) ac_try_echo=$ac_try;;
3501esac
abf5048b
AJ
3502eval 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"
3509case "(($ac_try" in
3510 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3511 *) ac_try_echo=$ac_try;;
3512esac
abf5048b
AJ
3513eval 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 3522if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
abf5048b 3523 $as_echo_n "(cached) " >&6
f41c2b21
DP
3524else
3525 cat >conftest.$ac_ext <<_ACEOF
3526/* confdefs.h. */
3527_ACEOF
3528cat confdefs.h >>conftest.$ac_ext
3529cat >>conftest.$ac_ext <<_ACEOF
3530/* end confdefs.h. */
3531
3532int
3533main ()
3534{
3535#ifndef __GNUC__
3536 choke me
3537#endif
3538
3539 ;
3540 return 0;
3541}
3542_ACEOF
3543rm -f conftest.$ac_objext
0ebeb530
JW
3544if { (ac_try="$ac_compile"
3545case "(($ac_try" in
3546 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3547 *) ac_try_echo=$ac_try;;
3548esac
abf5048b
AJ
3549eval 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
3562else
abf5048b 3563 $as_echo "$as_me: failed program was:" >&5
f41c2b21
DP
3564sed 's/^/| /' conftest.$ac_ext >&5
3565
fc6ffb29 3566 ac_compiler_gnu=no
f41c2b21 3567fi
fc6ffb29 3568
0ebeb530 3569rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
f41c2b21
DP
3570ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
3571
3572fi
abf5048b
AJ
3573{ $as_echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
3574$as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
3575if test $ac_compiler_gnu = yes; then
3576 GXX=yes
3577else
3578 GXX=
3579fi
f41c2b21
DP
3580ac_test_CXXFLAGS=${CXXFLAGS+set}
3581ac_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 3584if test "${ac_cv_prog_cxx_g+set}" = set; then
abf5048b 3585 $as_echo_n "(cached) " >&6
f41c2b21 3586else
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
3594cat confdefs.h >>conftest.$ac_ext
3595cat >>conftest.$ac_ext <<_ACEOF
3596/* end confdefs.h. */
3597
3598int
3599main ()
3600{
3601
3602 ;
3603 return 0;
3604}
3605_ACEOF
3606rm -f conftest.$ac_objext
0ebeb530
JW
3607if { (ac_try="$ac_compile"
3608case "(($ac_try" in
3609 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3610 *) ac_try_echo=$ac_try;;
3611esac
abf5048b
AJ
3612eval 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
3625else
abf5048b 3626 $as_echo "$as_me: failed program was:" >&5
f41c2b21
DP
3627sed 's/^/| /' conftest.$ac_ext >&5
3628
fc6ffb29
AJ
3629 CXXFLAGS=""
3630 cat >conftest.$ac_ext <<_ACEOF
f41c2b21
DP
3631/* confdefs.h. */
3632_ACEOF
3633cat confdefs.h >>conftest.$ac_ext
3634cat >>conftest.$ac_ext <<_ACEOF
3635/* end confdefs.h. */
fc6ffb29 3636
f41c2b21
DP
3637int
3638main ()
3639{
fc6ffb29 3640
f41c2b21
DP
3641 ;
3642 return 0;
3643}
3644_ACEOF
3645rm -f conftest.$ac_objext
0ebeb530
JW
3646if { (ac_try="$ac_compile"
3647case "(($ac_try" in
3648 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3649 *) ac_try_echo=$ac_try;;
3650esac
abf5048b
AJ
3651eval 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 :
3664else
abf5048b 3665 $as_echo "$as_me: failed program was:" >&5
f41c2b21
DP
3666sed '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
3673cat confdefs.h >>conftest.$ac_ext
3674cat >>conftest.$ac_ext <<_ACEOF
3675/* end confdefs.h. */
fc6ffb29 3676
f41c2b21
DP
3677int
3678main ()
3679{
fc6ffb29 3680
f41c2b21
DP
3681 ;
3682 return 0;
3683}
3684_ACEOF
3685rm -f conftest.$ac_objext
0ebeb530
JW
3686if { (ac_try="$ac_compile"
3687case "(($ac_try" in
3688 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3689 *) ac_try_echo=$ac_try;;
3690esac
abf5048b
AJ
3691eval 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 3704else
abf5048b 3705 $as_echo "$as_me: failed program was:" >&5
f41c2b21
DP
3706sed 's/^/| /' conftest.$ac_ext >&5
3707
fc6ffb29 3708
f41c2b21 3709fi
fc6ffb29 3710
0ebeb530 3711rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
fc6ffb29
AJ
3712fi
3713
0ebeb530 3714rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
f41c2b21
DP
3715fi
3716
0ebeb530 3717rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
fc6ffb29
AJ
3718 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
3719fi
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
3722if test "$ac_test_CXXFLAGS" = set; then
3723 CXXFLAGS=$ac_save_CXXFLAGS
3724elif 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
3730else
3731 if test "$GXX" = yes; then
3732 CXXFLAGS="-O2"
3733 else
3734 CXXFLAGS=
3735 fi
3736fi
f41c2b21
DP
3737ac_ext=c
3738ac_cpp='$CPP $CPPFLAGS'
3739ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3740ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3741ac_compiler_gnu=$ac_cv_c_compiler_gnu
3742
3e61ef7d
AJ
3743if 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.
3745set 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 3748if test "${ac_cv_prog_CPPBIN+set}" = set; then
abf5048b 3749 $as_echo_n "(cached) " >&6
f41c2b21 3750else
a631ef63
AJ
3751 if test -n "$CPPBIN"; then
3752 ac_cv_prog_CPPBIN="$CPPBIN" # Let the user override the test.
f41c2b21
DP
3753else
3754as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3755for as_dir in $PATH
3756do
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
3765done
3766done
fc6ffb29 3767IFS=$as_save_IFS
f41c2b21
DP
3768
3769fi
3770fi
a631ef63
AJ
3771CPPBIN=$ac_cv_prog_CPPBIN
3772if test -n "$CPPBIN"; then
abf5048b
AJ
3773 { $as_echo "$as_me:$LINENO: result: $CPPBIN" >&5
3774$as_echo "$CPPBIN" >&6; }
f41c2b21 3775else
abf5048b
AJ
3776 { $as_echo "$as_me:$LINENO: result: no" >&5
3777$as_echo "no" >&6; }
f41c2b21
DP
3778fi
3779
fc6ffb29 3780
3e61ef7d 3781fi
a631ef63
AJ
3782if 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.
3785set 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 3788if test "${ac_cv_prog_ac_ct_CPPBIN+set}" = set; then
abf5048b 3789 $as_echo_n "(cached) " >&6
3e61ef7d 3790else
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
3793else
3794as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3795for as_dir in $PATH
3796do
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
3805done
3806done
fc6ffb29 3807IFS=$as_save_IFS
3e61ef7d 3808
3e61ef7d
AJ
3809fi
3810fi
a631ef63
AJ
3811ac_ct_CPPBIN=$ac_cv_prog_ac_ct_CPPBIN
3812if 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 3815else
abf5048b
AJ
3816 { $as_echo "$as_me:$LINENO: result: no" >&5
3817$as_echo "no" >&6; }
3e61ef7d
AJ
3818fi
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
3824yes:)
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
3827ac_tool_warned=yes ;;
3828esac
3829 CPPBIN=$ac_ct_CPPBIN
3830 fi
3e61ef7d 3831else
a631ef63 3832 CPPBIN="$ac_cv_prog_CPPBIN"
3e61ef7d
AJ
3833fi
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 3838if test "${wine_cv_toolsdir+set}" = set; then
abf5048b 3839 $as_echo_n "(cached) " >&6
f41c2b21
DP
3840else
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
3859fi
abf5048b
AJ
3860{ $as_echo "$as_me:$LINENO: result: $wine_cv_toolsdir" >&5
3861$as_echo "$wine_cv_toolsdir" >&6; }
f41c2b21
DP
3862TOOLSDIR=$wine_cv_toolsdir
3863
3864
3865
f5818d2f
AJ
3866ac_ext=c
3867ac_cpp='$CPP $CPPFLAGS'
3868ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3869ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3870ac_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.
3874if test -n "$CPP" && test -d "$CPP"; then
3875 CPP=
3876fi
3877if test -z "$CPP"; then
f5818d2f 3878 if test "${ac_cv_prog_CPP+set}" = set; then
abf5048b 3879 $as_echo_n "(cached) " >&6
f5818d2f
AJ
3880else
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
3885for ac_c_preproc_warn_flag in '' yes
3886do
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
3896cat confdefs.h >>conftest.$ac_ext
3897cat >>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
3906if { (ac_try="$ac_cpp conftest.$ac_ext"
3907case "(($ac_try" in
3908 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3909 *) ac_try_echo=$ac_try;;
3910esac
abf5048b
AJ
3911eval 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 :
3924else
abf5048b 3925 $as_echo "$as_me: failed program was:" >&5
e24bcc77
AJ
3926sed 's/^/| /' conftest.$ac_ext >&5
3927
f5818d2f
AJ
3928 # Broken: fails on valid input.
3929continue
3930fi
fc6ffb29 3931
f5818d2f
AJ
3932rm -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
3939cat confdefs.h >>conftest.$ac_ext
3940cat >>conftest.$ac_ext <<_ACEOF
3941/* end confdefs.h. */
f5818d2f
AJ
3942#include <ac_nonexistent.h>
3943_ACEOF
0ebeb530
JW
3944if { (ac_try="$ac_cpp conftest.$ac_ext"
3945case "(($ac_try" in
3946 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3947 *) ac_try_echo=$ac_try;;
3948esac
abf5048b
AJ
3949eval 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.
3962continue
18ad24a7 3963else
abf5048b 3964 $as_echo "$as_me: failed program was:" >&5
e24bcc77
AJ
3965sed 's/^/| /' conftest.$ac_ext >&5
3966
f5818d2f
AJ
3967 # Passes both tests.
3968ac_preproc_ok=:
3969break
3970fi
fc6ffb29 3971
f5818d2f
AJ
3972rm -f conftest.err conftest.$ac_ext
3973
3974done
3975# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3976rm -f conftest.err conftest.$ac_ext
3977if $ac_preproc_ok; then
3978 break
3979fi
3980
3981 done
3982 ac_cv_prog_CPP=$CPP
3983
3984fi
3985 CPP=$ac_cv_prog_CPP
3986else
3987 ac_cv_prog_CPP=$CPP
3988fi
abf5048b
AJ
3989{ $as_echo "$as_me:$LINENO: result: $CPP" >&5
3990$as_echo "$CPP" >&6; }
f5818d2f
AJ
3991ac_preproc_ok=false
3992for ac_c_preproc_warn_flag in '' yes
3993do
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
4003cat confdefs.h >>conftest.$ac_ext
4004cat >>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
4013if { (ac_try="$ac_cpp conftest.$ac_ext"
4014case "(($ac_try" in
4015 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4016 *) ac_try_echo=$ac_try;;
4017esac
abf5048b
AJ
4018eval 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 :
4031else
abf5048b 4032 $as_echo "$as_me: failed program was:" >&5
e24bcc77
AJ
4033sed 's/^/| /' conftest.$ac_ext >&5
4034
f5818d2f
AJ
4035 # Broken: fails on valid input.
4036continue
e2991ea7 4037fi
fc6ffb29 4038
f5818d2f
AJ
4039rm -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
4046cat confdefs.h >>conftest.$ac_ext
4047cat >>conftest.$ac_ext <<_ACEOF
4048/* end confdefs.h. */
f5818d2f
AJ
4049#include <ac_nonexistent.h>
4050_ACEOF
0ebeb530
JW
4051if { (ac_try="$ac_cpp conftest.$ac_ext"
4052case "(($ac_try" in
4053 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4054 *) ac_try_echo=$ac_try;;
4055esac
abf5048b
AJ
4056eval 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.
4069continue
4070else
abf5048b 4071 $as_echo "$as_me: failed program was:" >&5
e24bcc77
AJ
4072sed 's/^/| /' conftest.$ac_ext >&5
4073
f5818d2f
AJ
4074 # Passes both tests.
4075ac_preproc_ok=:
4076break
e2991ea7 4077fi
fc6ffb29 4078
f5818d2f
AJ
4079rm -f conftest.err conftest.$ac_ext
4080
4081done
4082# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4083rm -f conftest.err conftest.$ac_ext
4084if $ac_preproc_ok; then
4085 :
e2991ea7 4086else
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 4090See \`config.log' for more details." >&5
abf5048b 4091$as_echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
e24bcc77 4092See \`config.log' for more details." >&2;}
abf5048b 4093 { (exit 1); exit 1; }; }; }
e2991ea7 4094fi
e2991ea7 4095
f5818d2f
AJ
4096ac_ext=c
4097ac_cpp='$CPP $CPPFLAGS'
4098ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4099ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4100ac_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 4108if test "${with_x+set}" = set; then
fc6ffb29
AJ
4109 withval=$with_x;
4110fi
e2991ea7 4111
b817f4fb 4112# $have_x is `yes', `no', `disabled', or empty when we do not yet know.
e2991ea7 4113if test "x$with_x" = xno; then
b817f4fb
AJ
4114 # The user explicitly disabled X.
4115 have_x=disabled
e2991ea7 4116else
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
4123else
4124 # One or both of the vars are not set, and there is no cached value.
f5818d2f 4125ac_x_includes=no ac_x_libraries=no
fc6ffb29 4126rm -f -r conftest.dir
f5818d2f
AJ
4127if mkdir conftest.dir; then
4128 cd conftest.dir
daa2886c 4129 cat >Imakefile <<'_ACEOF'
0ebeb530
JW
4130incroot:
4131 @echo incroot='${INCROOT}'
4132usrlibdir:
4133 @echo usrlibdir='${USRLIBDIR}'
4134libdir:
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
4163fi
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.
4167ac_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
4202if 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
4208cat confdefs.h >>conftest.$ac_ext
4209cat >>conftest.$ac_ext <<_ACEOF
4210/* end confdefs.h. */
0ebeb530 4211#include <X11/Xlib.h>
f5818d2f 4212_ACEOF
0ebeb530
JW
4213if { (ac_try="$ac_cpp conftest.$ac_ext"
4214case "(($ac_try" in
4215 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4216 *) ac_try_echo=$ac_try;;
4217esac
abf5048b
AJ
4218eval 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.
4231ac_x_includes=
e2991ea7 4232else
abf5048b 4233 $as_echo "$as_me: failed program was:" >&5
e24bcc77
AJ
4234sed '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
4241done
e2991ea7 4242fi
fc6ffb29 4243
f5818d2f
AJ
4244rm -f conftest.err conftest.$ac_ext
4245fi # $ac_x_includes = no
b817f4fb 4246
f5818d2f 4247if 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
4256cat confdefs.h >>conftest.$ac_ext
4257cat >>conftest.$ac_ext <<_ACEOF
4258/* end confdefs.h. */
d7d3169d 4259#include <X11/Xlib.h>
f5818d2f
AJ
4260int
4261main ()
4262{
d7d3169d 4263XrmInitialize ()
f5818d2f
AJ
4264 ;
4265 return 0;
4266}
4267_ACEOF
4268rm -f conftest.$ac_objext conftest$ac_exeext
0ebeb530
JW
4269if { (ac_try="$ac_link"
4270case "(($ac_try" in
4271 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4272 *) ac_try_echo=$ac_try;;
4273esac
abf5048b
AJ
4274eval 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.
4291ac_x_libraries=
e2991ea7 4292else
abf5048b 4293 $as_echo "$as_me: failed program was:" >&5
e24bcc77
AJ
4294sed 's/^/| /' conftest.$ac_ext >&5
4295
fc6ffb29 4296 LIBS=$ac_save_LIBS
abf5048b 4297for ac_dir in `$as_echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
e2991ea7 4298do
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
4306done
4307fi
fc6ffb29 4308
abf5048b 4309rm -rf conftest.dSYM
f0ca586f 4310rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
875927f6 4311 conftest$ac_exeext conftest.$ac_ext
f5818d2f 4312fi # $ac_x_libraries = no
b817f4fb 4313
0ebeb530
JW
4314case $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'"
4323esac
e2991ea7 4324fi
0ebeb530
JW
4325;; #(
4326 *) have_x=yes;;
4327 esac
b817f4fb 4328 eval "$ac_cv_have_x"
e2991ea7
AJ
4329fi # $with_x != no
4330
b817f4fb 4331if 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 4335else
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
4345fi
4346
b817f4fb 4347if 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 4350cat >>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
4355else
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
4373cat confdefs.h >>conftest.$ac_ext
4374cat >>conftest.$ac_ext <<_ACEOF
4375/* end confdefs.h. */
ff8331ea 4376
f5818d2f
AJ
4377int
4378main ()
4379{
da0cfb36 4380
f5818d2f
AJ
4381 ;
4382 return 0;
4383}
4384_ACEOF
4385rm -f conftest.$ac_objext conftest$ac_exeext
0ebeb530
JW
4386if { (ac_try="$ac_link"
4387case "(($ac_try" in
4388 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4389 *) ac_try_echo=$ac_try;;
4390esac
abf5048b
AJ
4391eval 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 4409else
abf5048b 4410 $as_echo "$as_me: failed program was:" >&5
e24bcc77
AJ
4411sed '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
4417cat confdefs.h >>conftest.$ac_ext
4418cat >>conftest.$ac_ext <<_ACEOF
4419/* end confdefs.h. */
da0cfb36 4420
f5818d2f
AJ
4421int
4422main ()
4423{
da0cfb36 4424
f5818d2f
AJ
4425 ;
4426 return 0;
4427}
4428_ACEOF
4429rm -f conftest.$ac_objext conftest$ac_exeext
0ebeb530
JW
4430if { (ac_try="$ac_link"
4431case "(($ac_try" in
4432 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4433 *) ac_try_echo=$ac_try;;
4434esac
abf5048b
AJ
4435eval 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 4453else
abf5048b 4454 $as_echo "$as_me: failed program was:" >&5
e24bcc77
AJ
4455sed '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 4459fi
fc6ffb29 4460
abf5048b 4461rm -rf conftest.dSYM
f0ca586f 4462rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
875927f6 4463 conftest$ac_exeext conftest.$ac_ext
c8278926
AJ
4464fi
4465
abf5048b 4466rm -rf conftest.dSYM
f0ca586f 4467rm -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
4487cat confdefs.h >>conftest.$ac_ext
4488cat >>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
4495extern "C"
4496#endif
f5818d2f
AJ
4497char XOpenDisplay ();
4498int
4499main ()
4500{
fc6ffb29 4501return XOpenDisplay ();
f5818d2f
AJ
4502 ;
4503 return 0;
4504}
4505_ACEOF
4506rm -f conftest.$ac_objext conftest$ac_exeext
0ebeb530
JW
4507if { (ac_try="$ac_link"
4508case "(($ac_try" in
4509 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4510 *) ac_try_echo=$ac_try;;
4511esac
abf5048b
AJ
4512eval 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 4528else
abf5048b 4529 $as_echo "$as_me: failed program was:" >&5
e24bcc77
AJ
4530sed '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 4534if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
abf5048b 4535 $as_echo_n "(cached) " >&6
f5818d2f
AJ
4536else
4537 ac_check_lib_save_LIBS=$LIBS
4538LIBS="-ldnet $LIBS"
4539cat >conftest.$ac_ext <<_ACEOF
e24bcc77
AJ
4540/* confdefs.h. */
4541_ACEOF
4542cat confdefs.h >>conftest.$ac_ext
4543cat >>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
4550extern "C"
4551#endif
f5818d2f
AJ
4552char dnet_ntoa ();
4553int
4554main ()
4555{
fc6ffb29 4556return dnet_ntoa ();
f5818d2f
AJ
4557 ;
4558 return 0;
4559}
4560_ACEOF
4561rm -f conftest.$ac_objext conftest$ac_exeext
0ebeb530
JW
4562if { (ac_try="$ac_link"
4563case "(($ac_try" in
4564 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4565 *) ac_try_echo=$ac_try;;
4566esac
abf5048b
AJ
4567eval 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
4583else
abf5048b 4584 $as_echo "$as_me: failed program was:" >&5
e24bcc77
AJ
4585sed 's/^/| /' conftest.$ac_ext >&5
4586
fc6ffb29 4587 ac_cv_lib_dnet_dnet_ntoa=no
f5818d2f 4588fi
fc6ffb29 4589
abf5048b 4590rm -rf conftest.dSYM
f0ca586f 4591rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
875927f6 4592 conftest$ac_exeext conftest.$ac_ext
f5818d2f
AJ
4593LIBS=$ac_check_lib_save_LIBS
4594fi
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; }
4597if test "x$ac_cv_lib_dnet_dnet_ntoa" = x""yes; then
ff8331ea 4598 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
ff8331ea
AJ
4599fi
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 4604if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then
abf5048b 4605 $as_echo_n "(cached) " >&6
ff8331ea 4606else
f5818d2f 4607 ac_check_lib_save_LIBS=$LIBS
ff8331ea 4608LIBS="-ldnet_stub $LIBS"
f5818d2f 4609cat >conftest.$ac_ext <<_ACEOF
e24bcc77
AJ
4610/* confdefs.h. */
4611_ACEOF
4612cat confdefs.h >>conftest.$ac_ext
4613cat >>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
4620extern "C"
4621#endif
f5818d2f
AJ
4622char dnet_ntoa ();
4623int
4624main ()
4625{
fc6ffb29 4626return dnet_ntoa ();
f5818d2f
AJ
4627 ;
4628 return 0;
4629}
4630_ACEOF
4631rm -f conftest.$ac_objext conftest$ac_exeext
0ebeb530
JW
4632if { (ac_try="$ac_link"
4633case "(($ac_try" in
4634 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4635 *) ac_try_echo=$ac_try;;
4636esac
abf5048b
AJ
4637eval 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
4653else
abf5048b 4654 $as_echo "$as_me: failed program was:" >&5
e24bcc77
AJ
4655sed 's/^/| /' conftest.$ac_ext >&5
4656
fc6ffb29 4657 ac_cv_lib_dnet_stub_dnet_ntoa=no
f5818d2f 4658fi
fc6ffb29 4659
abf5048b 4660rm -rf conftest.dSYM
f0ca586f 4661rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
875927f6 4662 conftest$ac_exeext conftest.$ac_ext
f5818d2f
AJ
4663LIBS=$ac_check_lib_save_LIBS
4664fi
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; }
4667if test "x$ac_cv_lib_dnet_stub_dnet_ntoa" = x""yes; then
ff8331ea 4668 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
ff8331ea
AJ
4669fi
4670
4671 fi
f5818d2f 4672fi
fc6ffb29 4673
abf5048b 4674rm -rf conftest.dSYM
f0ca586f 4675rm -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 4689if test "${ac_cv_func_gethostbyname+set}" = set; then
abf5048b 4690 $as_echo_n "(cached) " >&6
f5818d2f
AJ
4691else
4692 cat >conftest.$ac_ext <<_ACEOF
e24bcc77
AJ
4693/* confdefs.h. */
4694_ACEOF
4695cat confdefs.h >>conftest.$ac_ext
4696cat >>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
4719extern "C"
4720#endif
f5818d2f 4721char 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 4726choke me
da0cfb36
AJ
4727#endif
4728
e24bcc77
AJ
4729int
4730main ()
4731{
fc6ffb29 4732return gethostbyname ();
f5818d2f
AJ
4733 ;
4734 return 0;
4735}
4736_ACEOF
4737rm -f conftest.$ac_objext conftest$ac_exeext
0ebeb530
JW
4738if { (ac_try="$ac_link"
4739case "(($ac_try" in
4740 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4741 *) ac_try_echo=$ac_try;;
4742esac
abf5048b
AJ
4743eval 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
4759else
abf5048b 4760 $as_echo "$as_me: failed program was:" >&5
e24bcc77
AJ
4761sed 's/^/| /' conftest.$ac_ext >&5
4762
fc6ffb29 4763 ac_cv_func_gethostbyname=no
f5818d2f 4764fi
fc6ffb29 4765
abf5048b 4766rm -rf conftest.dSYM
f0ca586f 4767rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
875927f6 4768 conftest$ac_exeext conftest.$ac_ext
f5818d2f 4769fi
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 4776if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
abf5048b 4777 $as_echo_n "(cached) " >&6
ff8331ea 4778else
f5818d2f 4779 ac_check_lib_save_LIBS=$LIBS
ff8331ea 4780LIBS="-lnsl $LIBS"
f5818d2f 4781cat >conftest.$ac_ext <<_ACEOF
e24bcc77
AJ
4782/* confdefs.h. */
4783_ACEOF
4784cat confdefs.h >>conftest.$ac_ext
4785cat >>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
4792extern "C"
4793#endif
f5818d2f
AJ
4794char gethostbyname ();
4795int
4796main ()
4797{
fc6ffb29 4798return gethostbyname ();
f5818d2f
AJ
4799 ;
4800 return 0;
4801}
4802_ACEOF
4803rm -f conftest.$ac_objext conftest$ac_exeext
0ebeb530
JW
4804if { (ac_try="$ac_link"
4805case "(($ac_try" in
4806 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4807 *) ac_try_echo=$ac_try;;
4808esac
abf5048b
AJ
4809eval 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
4825else
abf5048b 4826 $as_echo "$as_me: failed program was:" >&5
e24bcc77
AJ
4827sed 's/^/| /' conftest.$ac_ext >&5
4828
fc6ffb29 4829 ac_cv_lib_nsl_gethostbyname=no
f5818d2f 4830fi
fc6ffb29 4831
abf5048b 4832rm -rf conftest.dSYM
f0ca586f 4833rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
875927f6 4834 conftest$ac_exeext conftest.$ac_ext
f5818d2f
AJ
4835LIBS=$ac_check_lib_save_LIBS
4836fi
abf5048b
AJ
4837{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
4838$as_echo "$ac_cv_lib_nsl_gethostbyname" >&6; }
4839if test "x$ac_cv_lib_nsl_gethostbyname" = x""yes; then
f5818d2f
AJ
4840 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
4841fi
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 4846if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then
abf5048b 4847 $as_echo_n "(cached) " >&6
ff8331ea 4848else
f5818d2f
AJ
4849 ac_check_lib_save_LIBS=$LIBS
4850LIBS="-lbsd $LIBS"
4851cat >conftest.$ac_ext <<_ACEOF
e24bcc77
AJ
4852/* confdefs.h. */
4853_ACEOF
4854cat confdefs.h >>conftest.$ac_ext
4855cat >>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
4862extern "C"
4863#endif
f5818d2f
AJ
4864char gethostbyname ();
4865int
4866main ()
4867{
fc6ffb29 4868return gethostbyname ();
f5818d2f
AJ
4869 ;
4870 return 0;
4871}
4872_ACEOF
4873rm -f conftest.$ac_objext conftest$ac_exeext
0ebeb530
JW
4874if { (ac_try="$ac_link"
4875case "(($ac_try" in
4876 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4877 *) ac_try_echo=$ac_try;;
4878esac
abf5048b
AJ
4879eval 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
4895else
abf5048b 4896 $as_echo "$as_me: failed program was:" >&5
e24bcc77
AJ
4897sed 's/^/| /' conftest.$ac_ext >&5
4898
fc6ffb29 4899 ac_cv_lib_bsd_gethostbyname=no
f5818d2f 4900fi
fc6ffb29 4901
abf5048b 4902rm -rf conftest.dSYM
f0ca586f 4903rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
875927f6 4904 conftest$ac_exeext conftest.$ac_ext
f5818d2f
AJ
4905LIBS=$ac_check_lib_save_LIBS
4906fi
abf5048b
AJ
4907{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gethostbyname" >&5
4908$as_echo "$ac_cv_lib_bsd_gethostbyname" >&6; }
4909if test "x$ac_cv_lib_bsd_gethostbyname" = x""yes; then
f5818d2f 4910 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
ff8331ea
AJ
4911fi
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 4925if test "${ac_cv_func_connect+set}" = set; then
abf5048b 4926 $as_echo_n "(cached) " >&6
f5818d2f
AJ
4927else
4928 cat >conftest.$ac_ext <<_ACEOF
e24bcc77
AJ
4929/* confdefs.h. */
4930_ACEOF
4931cat confdefs.h >>conftest.$ac_ext
4932cat >>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
4955extern "C"
4956#endif
f5818d2f 4957char 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 4962choke me
da0cfb36
AJ
4963#endif
4964
e24bcc77
AJ
4965int
4966main ()
4967{
fc6ffb29 4968return connect ();
f5818d2f
AJ
4969 ;
4970 return 0;
4971}
4972_ACEOF
4973rm -f conftest.$ac_objext conftest$ac_exeext
0ebeb530
JW
4974if { (ac_try="$ac_link"
4975case "(($ac_try" in
4976 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4977 *) ac_try_echo=$ac_try;;
4978esac
abf5048b
AJ
4979eval 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
4995else
abf5048b 4996 $as_echo "$as_me: failed program was:" >&5
e24bcc77
AJ
4997sed 's/^/| /' conftest.$ac_ext >&5
4998
fc6ffb29 4999 ac_cv_func_connect=no
f5818d2f 5000fi
fc6ffb29 5001
abf5048b 5002rm -rf conftest.dSYM
f0ca586f 5003rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
875927f6 5004 conftest$ac_exeext conftest.$ac_ext
f5818d2f 5005fi
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 5012if test "${ac_cv_lib_socket_connect+set}" = set; then
abf5048b 5013 $as_echo_n "(cached) " >&6
ff8331ea 5014else
f5818d2f 5015 ac_check_lib_save_LIBS=$LIBS
da0cfb36 5016LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
f5818d2f 5017cat >conftest.$ac_ext <<_ACEOF
e24bcc77
AJ
5018/* confdefs.h. */
5019_ACEOF
5020cat confdefs.h >>conftest.$ac_ext
5021cat >>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
5028extern "C"
5029#endif
f5818d2f
AJ
5030char connect ();
5031int
5032main ()
5033{
fc6ffb29 5034return connect ();
f5818d2f
AJ
5035 ;
5036 return 0;
5037}
5038_ACEOF
5039rm -f conftest.$ac_objext conftest$ac_exeext
0ebeb530
JW
5040if { (ac_try="$ac_link"
5041case "(($ac_try" in
5042 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5043 *) ac_try_echo=$ac_try;;
5044esac
abf5048b
AJ
5045eval 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
5061else
abf5048b 5062 $as_echo "$as_me: failed program was:" >&5
e24bcc77
AJ
5063sed 's/^/| /' conftest.$ac_ext >&5
5064
fc6ffb29 5065 ac_cv_lib_socket_connect=no
f5818d2f 5066fi
fc6ffb29 5067
abf5048b 5068rm -rf conftest.dSYM
f0ca586f 5069rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
875927f6 5070 conftest$ac_exeext conftest.$ac_ext
f5818d2f
AJ
5071LIBS=$ac_check_lib_save_LIBS
5072fi
abf5048b
AJ
5073{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
5074$as_echo "$ac_cv_lib_socket_connect" >&6; }
5075if test "x$ac_cv_lib_socket_connect" = x""yes; then
da0cfb36 5076 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
ff8331ea
AJ
5077fi
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 5084if test "${ac_cv_func_remove+set}" = set; then
abf5048b 5085 $as_echo_n "(cached) " >&6
da0cfb36 5086else
f5818d2f 5087 cat >conftest.$ac_ext <<_ACEOF
e24bcc77
AJ
5088/* confdefs.h. */
5089_ACEOF
5090cat confdefs.h >>conftest.$ac_ext
5091cat >>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
5114extern "C"
5115#endif
f5818d2f 5116char 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 5121choke me
da0cfb36
AJ
5122#endif
5123
e24bcc77
AJ
5124int
5125main ()
5126{
fc6ffb29 5127return remove ();
f5818d2f
AJ
5128 ;
5129 return 0;
5130}
5131_ACEOF
5132rm -f conftest.$ac_objext conftest$ac_exeext
0ebeb530
JW
5133if { (ac_try="$ac_link"
5134case "(($ac_try" in
5135 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5136 *) ac_try_echo=$ac_try;;
5137esac
abf5048b
AJ
5138eval 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
5154else
abf5048b 5155 $as_echo "$as_me: failed program was:" >&5
e24bcc77
AJ
5156sed 's/^/| /' conftest.$ac_ext >&5
5157
fc6ffb29 5158 ac_cv_func_remove=no
f5818d2f 5159fi
fc6ffb29 5160
abf5048b 5161rm -rf conftest.dSYM
f0ca586f 5162rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
875927f6 5163 conftest$ac_exeext conftest.$ac_ext
f5818d2f 5164fi
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 5171if test "${ac_cv_lib_posix_remove+set}" = set; then
abf5048b 5172 $as_echo_n "(cached) " >&6
e2bfa4c7 5173else
f5818d2f 5174 ac_check_lib_save_LIBS=$LIBS
da0cfb36 5175LIBS="-lposix $LIBS"
f5818d2f 5176cat >conftest.$ac_ext <<_ACEOF
e24bcc77
AJ
5177/* confdefs.h. */
5178_ACEOF
5179cat confdefs.h >>conftest.$ac_ext
5180cat >>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
5187extern "C"
5188#endif
f5818d2f
AJ
5189char remove ();
5190int
5191main ()
5192{
fc6ffb29 5193return remove ();
f5818d2f
AJ
5194 ;
5195 return 0;
5196}
5197_ACEOF
5198rm -f conftest.$ac_objext conftest$ac_exeext
0ebeb530
JW
5199if { (ac_try="$ac_link"
5200case "(($ac_try" in
5201 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5202 *) ac_try_echo=$ac_try;;
5203esac
abf5048b
AJ
5204eval 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
5220else
abf5048b 5221 $as_echo "$as_me: failed program was:" >&5
e24bcc77
AJ
5222sed 's/^/| /' conftest.$ac_ext >&5
5223
fc6ffb29 5224 ac_cv_lib_posix_remove=no
f5818d2f 5225fi
fc6ffb29 5226
abf5048b 5227rm -rf conftest.dSYM
f0ca586f 5228rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
875927f6 5229 conftest$ac_exeext conftest.$ac_ext
f5818d2f
AJ
5230LIBS=$ac_check_lib_save_LIBS
5231fi
abf5048b
AJ
5232{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_posix_remove" >&5
5233$as_echo "$ac_cv_lib_posix_remove" >&6; }
5234if test "x$ac_cv_lib_posix_remove" = x""yes; then
da0cfb36 5235 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
da0cfb36
AJ
5236fi
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 5243if test "${ac_cv_func_shmat+set}" = set; then
abf5048b 5244 $as_echo_n "(cached) " >&6
da0cfb36 5245else
f5818d2f 5246 cat >conftest.$ac_ext <<_ACEOF
e24bcc77
AJ
5247/* confdefs.h. */
5248_ACEOF
5249cat confdefs.h >>conftest.$ac_ext
5250cat >>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
5273extern "C"
5274#endif
f5818d2f 5275char 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 5280choke me
da0cfb36
AJ
5281#endif
5282
e24bcc77
AJ
5283int
5284main ()
5285{
fc6ffb29 5286return shmat ();
f5818d2f
AJ
5287 ;
5288 return 0;
5289}
5290_ACEOF
5291rm -f conftest.$ac_objext conftest$ac_exeext
0ebeb530
JW
5292if { (ac_try="$ac_link"
5293case "(($ac_try" in
5294 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5295 *) ac_try_echo=$ac_try;;
5296esac
abf5048b
AJ
5297eval 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
5313else
abf5048b 5314 $as_echo "$as_me: failed program was:" >&5
e24bcc77
AJ
5315sed 's/^/| /' conftest.$ac_ext >&5
5316
fc6ffb29 5317 ac_cv_func_shmat=no
f5818d2f 5318fi
fc6ffb29 5319
abf5048b 5320rm -rf conftest.dSYM
f0ca586f 5321rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
875927f6 5322 conftest$ac_exeext conftest.$ac_ext
f5818d2f 5323fi
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 5330if test "${ac_cv_lib_ipc_shmat+set}" = set; then
abf5048b 5331 $as_echo_n "(cached) " >&6
da0cfb36 5332else
f5818d2f 5333 ac_check_lib_save_LIBS=$LIBS
da0cfb36 5334LIBS="-lipc $LIBS"
f5818d2f 5335cat >conftest.$ac_ext <<_ACEOF
e24bcc77
AJ
5336/* confdefs.h. */
5337_ACEOF
5338cat confdefs.h >>conftest.$ac_ext
5339cat >>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
5346extern "C"
5347#endif
f5818d2f
AJ
5348char shmat ();
5349int
5350main ()
5351{
fc6ffb29 5352return shmat ();
f5818d2f
AJ
5353 ;
5354 return 0;
5355}
5356_ACEOF
5357rm -f conftest.$ac_objext conftest$ac_exeext
0ebeb530
JW
5358if { (ac_try="$ac_link"
5359case "(($ac_try" in
5360 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5361 *) ac_try_echo=$ac_try;;
5362esac
abf5048b
AJ
5363eval 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
5379else
abf5048b 5380 $as_echo "$as_me: failed program was:" >&5
e24bcc77
AJ
5381sed 's/^/| /' conftest.$ac_ext >&5
5382
fc6ffb29 5383 ac_cv_lib_ipc_shmat=no
f5818d2f 5384fi
fc6ffb29 5385
abf5048b 5386rm -rf conftest.dSYM
f0ca586f 5387rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
875927f6 5388 conftest$ac_exeext conftest.$ac_ext
f5818d2f
AJ
5389LIBS=$ac_check_lib_save_LIBS
5390fi
abf5048b
AJ
5391{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_ipc_shmat" >&5
5392$as_echo "$ac_cv_lib_ipc_shmat" >&6; }
5393if test "x$ac_cv_lib_ipc_shmat" = x""yes; then
da0cfb36 5394 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
e2bfa4c7
AJ
5395fi
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 5411if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then
abf5048b 5412 $as_echo_n "(cached) " >&6
f5818d2f
AJ
5413else
5414 ac_check_lib_save_LIBS=$LIBS
18ad24a7 5415LIBS="-lICE $X_EXTRA_LIBS $LIBS"
f5818d2f 5416cat >conftest.$ac_ext <<_ACEOF
e24bcc77
AJ
5417/* confdefs.h. */
5418_ACEOF
5419cat confdefs.h >>conftest.$ac_ext
5420cat >>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
5427extern "C"
5428#endif
f5818d2f
AJ
5429char IceConnectionNumber ();
5430int
5431main ()
5432{
fc6ffb29 5433return IceConnectionNumber ();
f5818d2f
AJ
5434 ;
5435 return 0;
5436}
5437_ACEOF
5438rm -f conftest.$ac_objext conftest$ac_exeext
0ebeb530
JW
5439if { (ac_try="$ac_link"
5440case "(($ac_try" in
5441 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5442 *) ac_try_echo=$ac_try;;
5443esac
abf5048b
AJ
5444eval 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
5460else
abf5048b 5461 $as_echo "$as_me: failed program was:" >&5
e24bcc77
AJ
5462sed 's/^/| /' conftest.$ac_ext >&5
5463
fc6ffb29 5464 ac_cv_lib_ICE_IceConnectionNumber=no
f5818d2f 5465fi
fc6ffb29 5466
abf5048b 5467rm -rf conftest.dSYM
f0ca586f 5468rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
875927f6 5469 conftest$ac_exeext conftest.$ac_ext
f5818d2f
AJ
5470LIBS=$ac_check_lib_save_LIBS
5471fi
abf5048b
AJ
5472{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
5473$as_echo "$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
5474if test "x$ac_cv_lib_ICE_IceConnectionNumber" = x""yes; then
da0cfb36 5475 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
da0cfb36
AJ
5476fi
5477
f5818d2f 5478 LDFLAGS=$ac_save_LDFLAGS
da0cfb36 5479
ff8331ea
AJ
5480fi
5481
e2991ea7 5482
4091627c 5483for ac_prog in flex
5c5a6217 5484do
f5818d2f 5485 # Extract the first word of "$ac_prog", so it can be a program name with args.
5c5a6217 5486set 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 5489if test "${ac_cv_prog_FLEX+set}" = set; then
abf5048b 5490 $as_echo_n "(cached) " >&6
5c5a6217 5491else
4091627c
AJ
5492 if test -n "$FLEX"; then
5493 ac_cv_prog_FLEX="$FLEX" # Let the user override the test.
5c5a6217 5494else
daa2886c
AJ
5495as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5496for as_dir in $PATH
5497do
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
5506done
f5818d2f 5507done
fc6ffb29 5508IFS=$as_save_IFS
f5818d2f 5509
5c5a6217
MM
5510fi
5511fi
4091627c
AJ
5512FLEX=$ac_cv_prog_FLEX
5513if test -n "$FLEX"; then
abf5048b
AJ
5514 { $as_echo "$as_me:$LINENO: result: $FLEX" >&5
5515$as_echo "$FLEX" >&6; }
5c5a6217 5516else
abf5048b
AJ
5517 { $as_echo "$as_me:$LINENO: result: no" >&5
5518$as_echo "no" >&6; }
5c5a6217
MM
5519fi
5520
fc6ffb29 5521
4091627c 5522 test -n "$FLEX" && break
5c5a6217 5523done
4091627c 5524test -n "$FLEX" || FLEX="none"
5c5a6217 5525
4091627c 5526if test "$FLEX" = "none"
5c5a6217 5527then
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 5531fi
c068f670
MM
5532
5533for ac_prog in bison
b53bb419 5534do
f5818d2f 5535 # Extract the first word of "$ac_prog", so it can be a program name with args.
b53bb419 5536set 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 5539if test "${ac_cv_prog_BISON+set}" = set; then
abf5048b 5540 $as_echo_n "(cached) " >&6
b53bb419 5541else
c068f670
MM
5542 if test -n "$BISON"; then
5543 ac_cv_prog_BISON="$BISON" # Let the user override the test.
b53bb419 5544else
daa2886c
AJ
5545as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5546for as_dir in $PATH
5547do
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
5556done
f5818d2f 5557done
fc6ffb29 5558IFS=$as_save_IFS
f5818d2f 5559
b53bb419
MM
5560fi
5561fi
c068f670
MM
5562BISON=$ac_cv_prog_BISON
5563if test -n "$BISON"; then
abf5048b
AJ
5564 { $as_echo "$as_me:$LINENO: result: $BISON" >&5
5565$as_echo "$BISON" >&6; }
b53bb419 5566else
abf5048b
AJ
5567 { $as_echo "$as_me:$LINENO: result: no" >&5
5568$as_echo "no" >&6; }
b53bb419
MM
5569fi
5570
fc6ffb29 5571
c068f670 5572 test -n "$BISON" && break
b53bb419 5573done
c068f670 5574test -n "$BISON" || BISON="none"
b53bb419 5575
c068f670 5576if test "$BISON" = "none"
b53bb419 5577then
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; }; }
5581fi
fc01b729 5582
1d4db787 5583if 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.
5587set 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 5590if test "${ac_cv_prog_AS+set}" = set; then
abf5048b 5591 $as_echo_n "(cached) " >&6
1d4db787
MM
5592else
5593 if test -n "$AS"; then
5594 ac_cv_prog_AS="$AS" # Let the user override the test.
5595else
5596as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5597for as_dir in $PATH
5598do
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
5607done
5608done
fc6ffb29 5609IFS=$as_save_IFS
1d4db787
MM
5610
5611fi
5612fi
5613AS=$ac_cv_prog_AS
5614if test -n "$AS"; then
abf5048b
AJ
5615 { $as_echo "$as_me:$LINENO: result: $AS" >&5
5616$as_echo "$AS" >&6; }
1d4db787 5617else
abf5048b
AJ
5618 { $as_echo "$as_me:$LINENO: result: no" >&5
5619$as_echo "no" >&6; }
1d4db787
MM
5620fi
5621
fc6ffb29 5622
c80c290e
AJ
5623 test -n "$AS" && break
5624 done
1d4db787 5625fi
c80c290e 5626if test -z "$AS"; then
1d4db787 5627 ac_ct_AS=$AS
c80c290e
AJ
5628 for ac_prog in gas as
5629do
5630 # Extract the first word of "$ac_prog", so it can be a program name with args.
5631set 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 5634if test "${ac_cv_prog_ac_ct_AS+set}" = set; then
abf5048b 5635 $as_echo_n "(cached) " >&6
1d4db787
MM
5636else
5637 if test -n "$ac_ct_AS"; then
5638 ac_cv_prog_ac_ct_AS="$ac_ct_AS" # Let the user override the test.
5639else
5640as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5641for as_dir in $PATH
5642do
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
5651done
5652done
fc6ffb29 5653IFS=$as_save_IFS
1d4db787 5654
1d4db787
MM
5655fi
5656fi
5657ac_ct_AS=$ac_cv_prog_ac_ct_AS
5658if 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 5661else
abf5048b
AJ
5662 { $as_echo "$as_me:$LINENO: result: no" >&5
5663$as_echo "no" >&6; }
1d4db787
MM
5664fi
5665
fc6ffb29 5666
c80c290e
AJ
5667 test -n "$ac_ct_AS" && break
5668done
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
5674yes:)
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
5677ac_tool_warned=yes ;;
5678esac
5679 AS=$ac_ct_AS
5680 fi
1d4db787
MM
5681fi
5682
eb5f89c5 5683if 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.
5687set 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 5690if test "${ac_cv_prog_LD+set}" = set; then
abf5048b 5691 $as_echo_n "(cached) " >&6
eb5f89c5
AJ
5692else
5693 if test -n "$LD"; then
5694 ac_cv_prog_LD="$LD" # Let the user override the test.
5695else
5696as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5697for as_dir in $PATH
5698do
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
5707done
5708done
fc6ffb29 5709IFS=$as_save_IFS
eb5f89c5
AJ
5710
5711fi
5712fi
5713LD=$ac_cv_prog_LD
5714if test -n "$LD"; then
abf5048b
AJ
5715 { $as_echo "$as_me:$LINENO: result: $LD" >&5
5716$as_echo "$LD" >&6; }
eb5f89c5 5717else
abf5048b
AJ
5718 { $as_echo "$as_me:$LINENO: result: no" >&5
5719$as_echo "no" >&6; }
eb5f89c5
AJ
5720fi
5721
fc6ffb29 5722
86bd0461
FG
5723 test -n "$LD" && break
5724 done
eb5f89c5 5725fi
86bd0461 5726if test -z "$LD"; then
eb5f89c5 5727 ac_ct_LD=$LD
86bd0461
FG
5728 for ac_prog in ld gld
5729do
5730 # Extract the first word of "$ac_prog", so it can be a program name with args.
5731set 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 5734if test "${ac_cv_prog_ac_ct_LD+set}" = set; then
abf5048b 5735 $as_echo_n "(cached) " >&6
eb5f89c5
AJ
5736else
5737 if test -n "$ac_ct_LD"; then
5738 ac_cv_prog_ac_ct_LD="$ac_ct_LD" # Let the user override the test.
5739else
5740as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5741for as_dir in $PATH
5742do
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
5751done
5752done
fc6ffb29 5753IFS=$as_save_IFS
eb5f89c5 5754
eb5f89c5
AJ
5755fi
5756fi
5757ac_ct_LD=$ac_cv_prog_ac_ct_LD
5758if 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 5761else
abf5048b
AJ
5762 { $as_echo "$as_me:$LINENO: result: no" >&5
5763$as_echo "no" >&6; }
eb5f89c5
AJ
5764fi
5765
86bd0461
FG
5766
5767 test -n "$ac_ct_LD" && break
5768done
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
5774yes:)
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
5777ac_tool_warned=yes ;;
5778esac
5779 LD=$ac_ct_LD
5780 fi
86bd0461
FG
5781fi
5782
5783if 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.
5787set 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 5790if test "${ac_cv_prog_NM+set}" = set; then
abf5048b 5791 $as_echo_n "(cached) " >&6
86bd0461
FG
5792else
5793 if test -n "$NM"; then
5794 ac_cv_prog_NM="$NM" # Let the user override the test.
5795else
5796as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5797for as_dir in $PATH
5798do
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
5807done
5808done
5809IFS=$as_save_IFS
5810
5811fi
5812fi
5813NM=$ac_cv_prog_NM
5814if test -n "$NM"; then
abf5048b
AJ
5815 { $as_echo "$as_me:$LINENO: result: $NM" >&5
5816$as_echo "$NM" >&6; }
eb5f89c5 5817else
abf5048b
AJ
5818 { $as_echo "$as_me:$LINENO: result: no" >&5
5819$as_echo "no" >&6; }
86bd0461
FG
5820fi
5821
5822
5823 test -n "$NM" && break
5824 done
5825fi
5826if test -z "$NM"; then
5827 ac_ct_NM=$NM
5828 for ac_prog in nm gnm
5829do
5830 # Extract the first word of "$ac_prog", so it can be a program name with args.
5831set 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 5834if test "${ac_cv_prog_ac_ct_NM+set}" = set; then
abf5048b 5835 $as_echo_n "(cached) " >&6
86bd0461
FG
5836else
5837 if test -n "$ac_ct_NM"; then
5838 ac_cv_prog_ac_ct_NM="$ac_ct_NM" # Let the user override the test.
5839else
5840as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5841for as_dir in $PATH
5842do
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
5851done
5852done
5853IFS=$as_save_IFS
5854
5855fi
5856fi
5857ac_ct_NM=$ac_cv_prog_ac_ct_NM
5858if 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 5861else
abf5048b
AJ
5862 { $as_echo "$as_me:$LINENO: result: no" >&5
5863$as_echo "no" >&6; }
86bd0461
FG
5864fi
5865
5866
5867 test -n "$ac_ct_NM" && break
5868done
5869
5870 if test "x$ac_ct_NM" = x; then
5871 NM="nm"
5872 else
5873 case $cross_compiling:$ac_tool_warned in
5874yes:)
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
5877ac_tool_warned=yes ;;
5878esac
5879 NM=$ac_ct_NM
5880 fi
eb5f89c5
AJ
5881fi
5882
fc01b729 5883if 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.
5887set 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 5890if test "${ac_cv_prog_AR+set}" = set; then
abf5048b 5891 $as_echo_n "(cached) " >&6
fc01b729
AJ
5892else
5893 if test -n "$AR"; then
5894 ac_cv_prog_AR="$AR" # Let the user override the test.
5895else
5896as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5897for as_dir in $PATH
5898do
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
5907done
5908done
fc6ffb29 5909IFS=$as_save_IFS
fc01b729
AJ
5910
5911fi
5912fi
5913AR=$ac_cv_prog_AR
5914if test -n "$AR"; then
abf5048b
AJ
5915 { $as_echo "$as_me:$LINENO: result: $AR" >&5
5916$as_echo "$AR" >&6; }
fc01b729 5917else
abf5048b
AJ
5918 { $as_echo "$as_me:$LINENO: result: no" >&5
5919$as_echo "no" >&6; }
fc01b729
AJ
5920fi
5921
fc6ffb29 5922
86bd0461
FG
5923 test -n "$AR" && break
5924 done
fc01b729 5925fi
86bd0461 5926if test -z "$AR"; then
fc01b729 5927 ac_ct_AR=$AR
86bd0461
FG
5928 for ac_prog in ar gar
5929do
5930 # Extract the first word of "$ac_prog", so it can be a program name with args.
5931set 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 5934if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
abf5048b 5935 $as_echo_n "(cached) " >&6
fc01b729
AJ
5936else
5937 if test -n "$ac_ct_AR"; then
5938 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
5939else
5940as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5941for as_dir in $PATH
5942do
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
5951done
5952done
fc6ffb29 5953IFS=$as_save_IFS
fc01b729 5954
fc01b729
AJ
5955fi
5956fi
5957ac_ct_AR=$ac_cv_prog_ac_ct_AR
5958if 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 5961else
abf5048b
AJ
5962 { $as_echo "$as_me:$LINENO: result: no" >&5
5963$as_echo "no" >&6; }
fc01b729
AJ
5964fi
5965
86bd0461
FG
5966
5967 test -n "$ac_ct_AR" && break
5968done
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
5974yes:)
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
5977ac_tool_warned=yes ;;
5978esac
5979 AR=$ac_ct_AR
5980 fi
fc01b729
AJ
5981fi
5982
0c694d71
RS
5983ARFLAGS=rc
5984
f5818d2f
AJ
5985if 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.
5987set 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 5990if test "${ac_cv_prog_RANLIB+set}" = set; then
abf5048b 5991 $as_echo_n "(cached) " >&6
ff8331ea
AJ
5992else
5993 if test -n "$RANLIB"; then
5994 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
5995else
daa2886c
AJ
5996as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5997for as_dir in $PATH
5998do
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
6007done
f5818d2f 6008done
fc6ffb29 6009IFS=$as_save_IFS
f5818d2f 6010
e2991ea7 6011fi
e2991ea7 6012fi
f5818d2f 6013RANLIB=$ac_cv_prog_RANLIB
ff8331ea 6014if test -n "$RANLIB"; then
abf5048b
AJ
6015 { $as_echo "$as_me:$LINENO: result: $RANLIB" >&5
6016$as_echo "$RANLIB" >&6; }
f5818d2f 6017else
abf5048b
AJ
6018 { $as_echo "$as_me:$LINENO: result: no" >&5
6019$as_echo "no" >&6; }
f5818d2f
AJ
6020fi
6021
fc6ffb29 6022
f5818d2f
AJ
6023fi
6024if 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.
6027set 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 6030if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
abf5048b 6031 $as_echo_n "(cached) " >&6
f5818d2f
AJ
6032else
6033 if test -n "$ac_ct_RANLIB"; then
6034 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
6035else
daa2886c
AJ
6036as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6037for as_dir in $PATH
6038do
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
6047done
f5818d2f 6048done
fc6ffb29 6049IFS=$as_save_IFS
f5818d2f 6050
f5818d2f
AJ
6051fi
6052fi
6053ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
6054if 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 6057else
abf5048b
AJ
6058 { $as_echo "$as_me:$LINENO: result: no" >&5
6059$as_echo "no" >&6; }
f5818d2f
AJ
6060fi
6061
fc6ffb29
AJ
6062 if test "x$ac_ct_RANLIB" = x; then
6063 RANLIB=":"
6064 else
6065 case $cross_compiling:$ac_tool_warned in
6066yes:)
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
6069ac_tool_warned=yes ;;
6070esac
6071 RANLIB=$ac_ct_RANLIB
6072 fi
ff8331ea 6073else
f5818d2f 6074 RANLIB="$ac_cv_prog_RANLIB"
ff8331ea 6075fi
e2991ea7 6076
fc01b729
AJ
6077if 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.
6079set 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 6082if test "${ac_cv_prog_STRIP+set}" = set; then
abf5048b 6083 $as_echo_n "(cached) " >&6
fc01b729
AJ
6084else
6085 if test -n "$STRIP"; then
6086 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
6087else
6088as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6089for as_dir in $PATH
6090do
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
6099done
6100done
fc6ffb29 6101IFS=$as_save_IFS
fc01b729
AJ
6102
6103fi
6104fi
6105STRIP=$ac_cv_prog_STRIP
6106if test -n "$STRIP"; then
abf5048b
AJ
6107 { $as_echo "$as_me:$LINENO: result: $STRIP" >&5
6108$as_echo "$STRIP" >&6; }
fc01b729 6109else
abf5048b
AJ
6110 { $as_echo "$as_me:$LINENO: result: no" >&5
6111$as_echo "no" >&6; }
fc01b729
AJ
6112fi
6113
fc6ffb29 6114
fc01b729
AJ
6115fi
6116if 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.
6119set 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 6122if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
abf5048b 6123 $as_echo_n "(cached) " >&6
fc01b729
AJ
6124else
6125 if test -n "$ac_ct_STRIP"; then
6126 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
6127else
6128as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6129for as_dir in $PATH
6130do
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
6139done
6140done
fc6ffb29 6141IFS=$as_save_IFS
fc01b729 6142
fc01b729
AJ
6143fi
6144fi
6145ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
6146if 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 6149else
abf5048b
AJ
6150 { $as_echo "$as_me:$LINENO: result: no" >&5
6151$as_echo "no" >&6; }
fc01b729
AJ
6152fi
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
6158yes:)
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
6161ac_tool_warned=yes ;;
6162esac
6163 STRIP=$ac_ct_STRIP
6164 fi
fc01b729
AJ
6165else
6166 STRIP="$ac_cv_prog_STRIP"
6167fi
6168
6169if 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.
6171set 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 6174if test "${ac_cv_prog_WINDRES+set}" = set; then
abf5048b 6175 $as_echo_n "(cached) " >&6
fc01b729
AJ
6176else
6177 if test -n "$WINDRES"; then
6178 ac_cv_prog_WINDRES="$WINDRES" # Let the user override the test.
6179else
6180as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6181for as_dir in $PATH
6182do
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
6191done
6192done
fc6ffb29 6193IFS=$as_save_IFS
fc01b729
AJ
6194
6195fi
6196fi
6197WINDRES=$ac_cv_prog_WINDRES
6198if test -n "$WINDRES"; then
abf5048b
AJ
6199 { $as_echo "$as_me:$LINENO: result: $WINDRES" >&5
6200$as_echo "$WINDRES" >&6; }
fc01b729 6201else
abf5048b
AJ
6202 { $as_echo "$as_me:$LINENO: result: no" >&5
6203$as_echo "no" >&6; }
fc01b729
AJ
6204fi
6205
fc6ffb29 6206
fc01b729
AJ
6207fi
6208if 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.
6211set 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 6214if test "${ac_cv_prog_ac_ct_WINDRES+set}" = set; then
abf5048b 6215 $as_echo_n "(cached) " >&6
fc01b729
AJ
6216else
6217 if test -n "$ac_ct_WINDRES"; then
6218 ac_cv_prog_ac_ct_WINDRES="$ac_ct_WINDRES" # Let the user override the test.
6219else
6220as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6221for as_dir in $PATH
6222do
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
6231done
6232done
fc6ffb29 6233IFS=$as_save_IFS
fc01b729 6234
fc01b729
AJ
6235fi
6236fi
6237ac_ct_WINDRES=$ac_cv_prog_ac_ct_WINDRES
6238if 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 6241else
abf5048b
AJ
6242 { $as_echo "$as_me:$LINENO: result: no" >&5
6243$as_echo "no" >&6; }
fc01b729
AJ
6244fi
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
6250yes:)
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
6253ac_tool_warned=yes ;;
6254esac
6255 WINDRES=$ac_ct_WINDRES
6256 fi
fc01b729
AJ
6257else
6258 WINDRES="$ac_cv_prog_WINDRES"
6259fi
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
6263LN_S=$as_ln_s
6264if test "$LN_S" = "ln -s"; then
abf5048b
AJ
6265 { $as_echo "$as_me:$LINENO: result: yes" >&5
6266$as_echo "yes" >&6; }
641ee76a 6267else
abf5048b
AJ
6268 { $as_echo "$as_me:$LINENO: result: no, using $LN_S" >&5
6269$as_echo "no, using $LN_S" >&6; }
641ee76a
AJ
6270fi
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
6274rm -f conf$$ conf$$.file
6275echo >conf$$.file
6276if 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
6281else
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
6286fi
6287rm -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 6290if test "${ac_cv_path_GREP+set}" = set; then
abf5048b 6291 $as_echo_n "(cached) " >&6
fc6ffb29 6292else
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
6297for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
6298do
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
6307case `"$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
6331esac
6332
abf5048b
AJ
6333 $ac_path_GREP_found && break 3
6334 done
fc6ffb29
AJ
6335 done
6336done
fc6ffb29 6337IFS=$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
6343else
6344 ac_cv_path_GREP=$GREP
6345fi
6346
fc6ffb29 6347fi
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 6355if test "${ac_cv_path_EGREP+set}" = set; then
abf5048b 6356 $as_echo_n "(cached) " >&6
fc6ffb29
AJ
6357else
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
6365for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
6366do
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
6375case `"$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
6399esac
6400
abf5048b
AJ
6401 $ac_path_EGREP_found && break 3
6402 done
fc6ffb29
AJ
6403 done
6404done
fc6ffb29 6405IFS=$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
6411else
6412 ac_cv_path_EGREP=$EGREP
6413fi
6414
fc6ffb29 6415 fi
c626491b 6416fi
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.
6423set 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 6426if test "${ac_cv_path_LDCONFIG+set}" = set; then
abf5048b 6427 $as_echo_n "(cached) " >&6
ffe6b767 6428else
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 6435for as_dir in /sbin /usr/sbin $PATH
daa2886c
AJ
6436do
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
6445done
f5818d2f 6446done
fc6ffb29 6447IFS=$as_save_IFS
f5818d2f 6448
318f4cef 6449 test -z "$ac_cv_path_LDCONFIG" && ac_cv_path_LDCONFIG="true"
ffe6b767
JJ
6450 ;;
6451esac
6452fi
f5818d2f 6453LDCONFIG=$ac_cv_path_LDCONFIG
f5818d2f 6454if test -n "$LDCONFIG"; then
abf5048b
AJ
6455 { $as_echo "$as_me:$LINENO: result: $LDCONFIG" >&5
6456$as_echo "$LDCONFIG" >&6; }
d48ca948 6457else
abf5048b
AJ
6458 { $as_echo "$as_me:$LINENO: result: no" >&5
6459$as_echo "no" >&6; }
d48ca948
HT
6460fi
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
6479if test -z "$INSTALL"; then
6480if test "${ac_cv_path_install+set}" = set; then
abf5048b 6481 $as_echo_n "(cached) " >&6
e24bcc77
AJ
6482else
6483 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6484for as_dir in $PATH
6485do
6486 IFS=$as_save_IFS
6487 test -z "$as_dir" && as_dir=.
6488 # Account for people who put trailing slashes in PATH elements.
6489case $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 ;;
6527esac
abf5048b 6528
e24bcc77 6529done
fc6ffb29 6530IFS=$as_save_IFS
e24bcc77 6531
abf5048b 6532rm -rf conftest.one conftest.two conftest.dir
e24bcc77
AJ
6533
6534fi
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
6544fi
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.
6550test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
6551
6552test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
6553
6554test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
6555
6556case "$INSTALL" in
8418d8f3 6557 [\\/$]* | ?:[\\/]* ) ;;
e24bcc77
AJ
6558 *) INSTALL="\\\$(TOPSRCDIR)/$INSTALL" ;;
6559esac
daa2886c 6560
a9be64e2
PS
6561for ac_prog in lclint lint
6562do
f5818d2f 6563 # Extract the first word of "$ac_prog", so it can be a program name with args.
a9be64e2 6564set 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 6567if test "${ac_cv_prog_LINT+set}" = set; then
abf5048b 6568 $as_echo_n "(cached) " >&6
a9be64e2
PS
6569else
6570 if test -n "$LINT"; then
6571 ac_cv_prog_LINT="$LINT" # Let the user override the test.
6572else
daa2886c
AJ
6573as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6574for as_dir in $PATH
6575do
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
6584done
f5818d2f 6585done
fc6ffb29 6586IFS=$as_save_IFS
f5818d2f 6587
a9be64e2
PS
6588fi
6589fi
f5818d2f 6590LINT=$ac_cv_prog_LINT
a9be64e2 6591if test -n "$LINT"; then
abf5048b
AJ
6592 { $as_echo "$as_me:$LINENO: result: $LINT" >&5
6593$as_echo "$LINT" >&6; }
a9be64e2 6594else
abf5048b
AJ
6595 { $as_echo "$as_me:$LINENO: result: no" >&5
6596$as_echo "no" >&6; }
a9be64e2
PS
6597fi
6598
fc6ffb29 6599
f5818d2f 6600 test -n "$LINT" && break
a9be64e2
PS
6601done
6602
6603if test "$LINT" = "lint"
6604then
6605 LINTFLAGS="$LINTFLAGS -errchk=%all,no%longptr64 -errhdr=%user -Ncheck=macro -Nlevel=4"
6606 fi
6607
daa2886c
AJ
6608
6609
00acb5f7
HD
6610for ac_prog in fontforge
6611do
6612 # Extract the first word of "$ac_prog", so it can be a program name with args.
6613set 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 6616if test "${ac_cv_prog_FONTFORGE+set}" = set; then
abf5048b 6617 $as_echo_n "(cached) " >&6
00acb5f7
HD
6618else
6619 if test -n "$FONTFORGE"; then
6620 ac_cv_prog_FONTFORGE="$FONTFORGE" # Let the user override the test.
6621else
6622as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6623for as_dir in $PATH
6624do
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
6633done
6634done
fc6ffb29 6635IFS=$as_save_IFS
00acb5f7
HD
6636
6637fi
6638fi
6639FONTFORGE=$ac_cv_prog_FONTFORGE
6640if test -n "$FONTFORGE"; then
abf5048b
AJ
6641 { $as_echo "$as_me:$LINENO: result: $FONTFORGE" >&5
6642$as_echo "$FONTFORGE" >&6; }
00acb5f7 6643else
abf5048b
AJ
6644 { $as_echo "$as_me:$LINENO: result: no" >&5
6645$as_echo "no" >&6; }
00acb5f7
HD
6646fi
6647
fc6ffb29 6648
00acb5f7
HD
6649 test -n "$FONTFORGE" && break
6650done
6651test -n "$FONTFORGE" || FONTFORGE="false"
b817a3c5 6652
90c75bdd
MM
6653for ac_prog in pkg-config
6654do
6655 # Extract the first word of "$ac_prog", so it can be a program name with args.
6656set 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 6659if test "${ac_cv_prog_PKG_CONFIG+set}" = set; then
abf5048b 6660 $as_echo_n "(cached) " >&6
90c75bdd
MM
6661else
6662 if test -n "$PKG_CONFIG"; then
6663 ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
6664else
6665as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6666for as_dir in $PATH
6667do
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
6676done
6677done
fc6ffb29 6678IFS=$as_save_IFS
90c75bdd
MM
6679
6680fi
6681fi
6682PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
6683if test -n "$PKG_CONFIG"; then
abf5048b
AJ
6684 { $as_echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
6685$as_echo "$PKG_CONFIG" >&6; }
90c75bdd 6686else
abf5048b
AJ
6687 { $as_echo "$as_me:$LINENO: result: no" >&5
6688$as_echo "no" >&6; }
90c75bdd
MM
6689fi
6690
fc6ffb29 6691
90c75bdd
MM
6692 test -n "$PKG_CONFIG" && break
6693done
6694test -n "$PKG_CONFIG" || PKG_CONFIG="false"
6695
dc4a475f
AJ
6696for ac_prog in rsvg
6697do
6698 # Extract the first word of "$ac_prog", so it can be a program name with args.
6699set 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 6702if test "${ac_cv_prog_RSVG+set}" = set; then
abf5048b 6703 $as_echo_n "(cached) " >&6
dc4a475f
AJ
6704else
6705 if test -n "$RSVG"; then
6706 ac_cv_prog_RSVG="$RSVG" # Let the user override the test.
6707else
6708as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6709for as_dir in $PATH
6710do
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
6719done
6720done
6721IFS=$as_save_IFS
6722
6723fi
6724fi
6725RSVG=$ac_cv_prog_RSVG
6726if test -n "$RSVG"; then
abf5048b
AJ
6727 { $as_echo "$as_me:$LINENO: result: $RSVG" >&5
6728$as_echo "$RSVG" >&6; }
dc4a475f 6729else
abf5048b
AJ
6730 { $as_echo "$as_me:$LINENO: result: no" >&5
6731$as_echo "no" >&6; }
dc4a475f
AJ
6732fi
6733
6734
6735 test -n "$RSVG" && break
6736done
6737test -n "$RSVG" || RSVG="false"
6738
6739for ac_prog in icotool
6740do
6741 # Extract the first word of "$ac_prog", so it can be a program name with args.
6742set 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 6745if test "${ac_cv_prog_ICOTOOL+set}" = set; then
abf5048b 6746 $as_echo_n "(cached) " >&6
dc4a475f
AJ
6747else
6748 if test -n "$ICOTOOL"; then
6749 ac_cv_prog_ICOTOOL="$ICOTOOL" # Let the user override the test.
6750else
6751as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6752for as_dir in $PATH
6753do
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
6762done
6763done
6764IFS=$as_save_IFS
6765
6766fi
6767fi
6768ICOTOOL=$ac_cv_prog_ICOTOOL
6769if test -n "$ICOTOOL"; then
abf5048b
AJ
6770 { $as_echo "$as_me:$LINENO: result: $ICOTOOL" >&5
6771$as_echo "$ICOTOOL" >&6; }
dc4a475f 6772else
abf5048b
AJ
6773 { $as_echo "$as_me:$LINENO: result: no" >&5
6774$as_echo "no" >&6; }
dc4a475f
AJ
6775fi
6776
6777
6778 test -n "$ICOTOOL" && break
6779done
6780test -n "$ICOTOOL" || ICOTOOL="false"
6781
6782
6783if test "${enable_maintainer_mode+set}" = set
6784then
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
6788fi
b817a3c5 6789
adbb0988
AJ
6790case $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.
6793set 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 6796if test "${ac_cv_path_PRELINK+set}" = set; then
abf5048b 6797 $as_echo_n "(cached) " >&6
adbb0988 6798else
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
6805for as_dir in /sbin /usr/sbin $PATH
6806do
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
6815done
6816done
fc6ffb29 6817IFS=$as_save_IFS
adbb0988 6818
3d08f5d9
AJ
6819 test -z "$ac_cv_path_PRELINK" && ac_cv_path_PRELINK="false"
6820 ;;
6821esac
adbb0988 6822fi
3d08f5d9 6823PRELINK=$ac_cv_path_PRELINK
adbb0988 6824if test -n "$PRELINK"; then
abf5048b
AJ
6825 { $as_echo "$as_me:$LINENO: result: $PRELINK" >&5
6826$as_echo "$PRELINK" >&6; }
adbb0988 6827else
abf5048b
AJ
6828 { $as_echo "$as_me:$LINENO: result: no" >&5
6829$as_echo "no" >&6; }
adbb0988
AJ
6830fi
6831
fc6ffb29 6832
adbb0988
AJ
6833 ;;
6834esac
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 6840if test "${ac_cv_lib_i386_i386_set_ldt+set}" = set; then
abf5048b 6841 $as_echo_n "(cached) " >&6
902da699 6842else
f5818d2f 6843 ac_check_lib_save_LIBS=$LIBS
902da699 6844LIBS="-li386 $LIBS"
f5818d2f 6845cat >conftest.$ac_ext <<_ACEOF
e24bcc77
AJ
6846/* confdefs.h. */
6847_ACEOF
6848cat confdefs.h >>conftest.$ac_ext
6849cat >>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
6856extern "C"
6857#endif
f5818d2f
AJ
6858char i386_set_ldt ();
6859int
6860main ()
6861{
fc6ffb29 6862return i386_set_ldt ();
f5818d2f
AJ
6863 ;
6864 return 0;
6865}
6866_ACEOF
6867rm -f conftest.$ac_objext conftest$ac_exeext
0ebeb530
JW
6868if { (ac_try="$ac_link"
6869case "(($ac_try" in
6870 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6871 *) ac_try_echo=$ac_try;;
6872esac
abf5048b
AJ
6873eval 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
6889else
abf5048b 6890 $as_echo "$as_me: failed program was:" >&5
e24bcc77
AJ
6891sed 's/^/| /' conftest.$ac_ext >&5
6892
fc6ffb29 6893 ac_cv_lib_i386_i386_set_ldt=no
f5818d2f 6894fi
fc6ffb29 6895
abf5048b 6896rm -rf conftest.dSYM
f0ca586f 6897rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
875927f6 6898 conftest$ac_exeext conftest.$ac_ext
f5818d2f
AJ
6899LIBS=$ac_check_lib_save_LIBS
6900fi
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; }
6903if 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
6910fi
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 6915if test "${ac_cv_lib_ossaudio__oss_ioctl+set}" = set; then
abf5048b 6916 $as_echo_n "(cached) " >&6
ecc7669d 6917else
f5818d2f 6918 ac_check_lib_save_LIBS=$LIBS
ecc7669d 6919LIBS="-lossaudio $LIBS"
f5818d2f 6920cat >conftest.$ac_ext <<_ACEOF
e24bcc77
AJ
6921/* confdefs.h. */
6922_ACEOF
6923cat confdefs.h >>conftest.$ac_ext
6924cat >>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
6931extern "C"
6932#endif
f5818d2f
AJ
6933char _oss_ioctl ();
6934int
6935main ()
6936{
fc6ffb29 6937return _oss_ioctl ();
f5818d2f
AJ
6938 ;
6939 return 0;
6940}
6941_ACEOF
6942rm -f conftest.$ac_objext conftest$ac_exeext
0ebeb530
JW
6943if { (ac_try="$ac_link"
6944case "(($ac_try" in
6945 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6946 *) ac_try_echo=$ac_try;;
6947esac
abf5048b
AJ
6948eval 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
6964else
abf5048b 6965 $as_echo "$as_me: failed program was:" >&5
e24bcc77
AJ
6966sed 's/^/| /' conftest.$ac_ext >&5
6967
fc6ffb29 6968 ac_cv_lib_ossaudio__oss_ioctl=no
f5818d2f 6969fi
fc6ffb29 6970
abf5048b 6971rm -rf conftest.dSYM
f0ca586f 6972rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
875927f6 6973 conftest$ac_exeext conftest.$ac_ext
f5818d2f
AJ
6974LIBS=$ac_check_lib_save_LIBS
6975fi
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; }
6978if 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
6985fi
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 6989if test "${ac_cv_lib_pthread_pthread_create+set}" = set; then
abf5048b 6990 $as_echo_n "(cached) " >&6
f5818d2f
AJ
6991else
6992 ac_check_lib_save_LIBS=$LIBS
e533e972 6993LIBS="-lpthread $LIBS"
f5818d2f 6994cat >conftest.$ac_ext <<_ACEOF
e24bcc77
AJ
6995/* confdefs.h. */
6996_ACEOF
6997cat confdefs.h >>conftest.$ac_ext
6998cat >>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
7005extern "C"
7006#endif
e533e972 7007char pthread_create ();
f5818d2f
AJ
7008int
7009main ()
7010{
e533e972 7011return pthread_create ();
f5818d2f
AJ
7012 ;
7013 return 0;
7014}
7015_ACEOF
7016rm -f conftest.$ac_objext conftest$ac_exeext
0ebeb530
JW
7017if { (ac_try="$ac_link"
7018case "(($ac_try" in
7019 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7020 *) ac_try_echo=$ac_try;;
7021esac
abf5048b
AJ
7022eval 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 7038else
abf5048b 7039 $as_echo "$as_me: failed program was:" >&5
e24bcc77
AJ
7040sed 's/^/| /' conftest.$ac_ext >&5
7041
e533e972 7042 ac_cv_lib_pthread_pthread_create=no
f5818d2f 7043fi
fc6ffb29 7044
abf5048b 7045rm -rf conftest.dSYM
f0ca586f 7046rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
875927f6 7047 conftest$ac_exeext conftest.$ac_ext
f5818d2f
AJ
7048LIBS=$ac_check_lib_save_LIBS
7049fi
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; }
7052if test "x$ac_cv_lib_pthread_pthread_create" = x""yes; then
e533e972 7053 LIBPTHREAD="-lpthread"
2e8e2334 7054
ea584724
PS
7055fi
7056
f070fda2 7057
e533e972
AJ
7058XLIB=""
7059
e533e972
AJ
7060OPENGL_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 7066if test "${ac_cv_header_stdc+set}" = set; then
abf5048b 7067 $as_echo_n "(cached) " >&6
f5818d2f
AJ
7068else
7069 cat >conftest.$ac_ext <<_ACEOF
e24bcc77
AJ
7070/* confdefs.h. */
7071_ACEOF
7072cat confdefs.h >>conftest.$ac_ext
7073cat >>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
7080int
7081main ()
7082{
e533e972 7083
f5818d2f
AJ
7084 ;
7085 return 0;
7086}
7087_ACEOF
e533e972
AJ
7088rm -f conftest.$ac_objext
7089if { (ac_try="$ac_compile"
0ebeb530
JW
7090case "(($ac_try" in
7091 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7092 *) ac_try_echo=$ac_try;;
7093esac
abf5048b
AJ
7094eval 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 7107else
abf5048b 7108 $as_echo "$as_me: failed program was:" >&5
e24bcc77
AJ
7109sed 's/^/| /' conftest.$ac_ext >&5
7110
e533e972 7111 ac_cv_header_stdc=no
f5818d2f 7112fi
fc6ffb29 7113
e533e972
AJ
7114rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7115
7116if 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
7121cat confdefs.h >>conftest.$ac_ext
7122cat >>conftest.$ac_ext <<_ACEOF
7123/* end confdefs.h. */
7124#include <string.h>
7125
7126_ACEOF
7127if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7128 $EGREP "memchr" >/dev/null 2>&1; then
7129 :
7130else
7131 ac_cv_header_stdc=no
f5818d2f 7132fi
e533e972
AJ
7133rm -f conftest*
7134
7135fi
7136
7137if 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
7142cat confdefs.h >>conftest.$ac_ext
7143cat >>conftest.$ac_ext <<_ACEOF
7144/* end confdefs.h. */
7145#include <stdlib.h>
f5818d2f 7146
e533e972
AJ
7147_ACEOF
7148if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7149 $EGREP "free" >/dev/null 2>&1; then
7150 :
f5818d2f 7151else
e533e972
AJ
7152 ac_cv_header_stdc=no
7153fi
7154rm -f conftest*
f5818d2f 7155
e533e972
AJ
7156fi
7157
7158if 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 7162else
e533e972 7163 cat >conftest.$ac_ext <<_ACEOF
e24bcc77
AJ
7164/* confdefs.h. */
7165_ACEOF
7166cat confdefs.h >>conftest.$ac_ext
7167cat >>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
7183int
7184main ()
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 7194rm -f conftest$ac_exeext
0ebeb530
JW
7195if { (ac_try="$ac_link"
7196case "(($ac_try" in
7197 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7198 *) ac_try_echo=$ac_try;;
7199esac
abf5048b
AJ
7200eval 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;;
7209esac
abf5048b
AJ
7210eval 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 7217else
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
7220sed 's/^/| /' conftest.$ac_ext >&5
7221
e533e972
AJ
7222( exit $ac_status )
7223ac_cv_header_stdc=no
f5818d2f 7224fi
abf5048b 7225rm -rf conftest.dSYM
e533e972 7226rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
f5818d2f 7227fi
715a55e7 7228
715a55e7 7229
715a55e7 7230fi
ea584724 7231fi
abf5048b
AJ
7232{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
7233$as_echo "$ac_cv_header_stdc" >&6; }
e533e972 7234if test $ac_cv_header_stdc = yes; then
daa2886c 7235
e533e972
AJ
7236cat >>confdefs.h <<\_ACEOF
7237#define STDC_HEADERS 1
e24bcc77 7238_ACEOF
875927f6 7239
e533e972 7240fi
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
7252for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
7253 inttypes.h stdint.h unistd.h
7254do
abf5048b
AJ
7255as_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 7258if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
abf5048b 7259 $as_echo_n "(cached) " >&6
d30dfd24 7260else
e533e972 7261 cat >conftest.$ac_ext <<_ACEOF
e24bcc77
AJ
7262/* confdefs.h. */
7263_ACEOF
7264cat confdefs.h >>conftest.$ac_ext
7265cat >>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
7271rm -f conftest.$ac_objext
7272if { (ac_try="$ac_compile"
0ebeb530
JW
7273case "(($ac_try" in
7274 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7275 *) ac_try_echo=$ac_try;;
7276esac
abf5048b
AJ
7277eval 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 7290else
abf5048b 7291 $as_echo "$as_me: failed program was:" >&5
e24bcc77
AJ
7292sed 's/^/| /' conftest.$ac_ext >&5
7293
e533e972 7294 eval "$as_ac_Header=no"
3b943bca 7295fi
fc6ffb29 7296
e533e972 7297rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3b943bca 7298fi
abf5048b
AJ
7299ac_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; }
7303as_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
7310fi
7311
7312done
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
7427for 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 7541do
abf5048b 7542as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
fc6ffb29 7543if { 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 7546if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
abf5048b 7547 $as_echo_n "(cached) " >&6
daa2886c 7548fi
abf5048b
AJ
7549ac_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 7553else
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 7557cat >conftest.$ac_ext <<_ACEOF
e24bcc77
AJ
7558/* confdefs.h. */
7559_ACEOF
7560cat confdefs.h >>conftest.$ac_ext
7561cat >>conftest.$ac_ext <<_ACEOF
7562/* end confdefs.h. */
daa2886c 7563$ac_includes_default
f5818d2f
AJ
7564#include <$ac_header>
7565_ACEOF
daa2886c 7566rm -f conftest.$ac_objext
0ebeb530
JW
7567if { (ac_try="$ac_compile"
7568case "(($ac_try" in
7569 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7570 *) ac_try_echo=$ac_try;;
7571esac
abf5048b
AJ
7572eval 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
7585else
abf5048b 7586 $as_echo "$as_me: failed program was:" >&5
e24bcc77
AJ
7587sed 's/^/| /' conftest.$ac_ext >&5
7588
fc6ffb29 7589 ac_header_compiler=no
daa2886c 7590fi
fc6ffb29 7591
0ebeb530 7592rm -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 7599cat >conftest.$ac_ext <<_ACEOF
e24bcc77
AJ
7600/* confdefs.h. */
7601_ACEOF
7602cat confdefs.h >>conftest.$ac_ext
7603cat >>conftest.$ac_ext <<_ACEOF
7604/* end confdefs.h. */
daa2886c
AJ
7605#include <$ac_header>
7606_ACEOF
0ebeb530
JW
7607if { (ac_try="$ac_cpp conftest.$ac_ext"
7608case "(($ac_try" in
7609 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7610 *) ac_try_echo=$ac_try;;
7611esac
abf5048b
AJ
7612eval 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 7625else
abf5048b 7626 $as_echo "$as_me: failed program was:" >&5
e24bcc77
AJ
7627sed 's/^/| /' conftest.$ac_ext >&5
7628
daa2886c 7629 ac_header_preproc=no
24110288 7630fi
fc6ffb29 7631
f5818d2f 7632rm -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
7637case $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 7665esac
abf5048b
AJ
7666{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
7667$as_echo_n "checking for $ac_header... " >&6; }
fc6ffb29 7668if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
abf5048b 7669 $as_echo_n "(cached) " >&6
daa2886c 7670else
875927f6 7671 eval "$as_ac_Header=\$ac_header_preproc"
24110288 7672fi
abf5048b
AJ
7673ac_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
7678fi
abf5048b
AJ
7679as_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 7686fi
f5818d2f 7687
7ff12568 7688done
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 7692if test "${ac_cv_header_stat_broken+set}" = set; then
abf5048b 7693 $as_echo_n "(cached) " >&6
f5818d2f 7694else
044b5c41 7695 cat >conftest.$ac_ext <<_ACEOF
e24bcc77
AJ
7696/* confdefs.h. */
7697_ACEOF
7698cat confdefs.h >>conftest.$ac_ext
7699cat >>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 7705extern char c1[S_ISBLK (S_IFDIR) ? -1 : 1];
7ff12568 7706#endif
255b486c 7707
fc6ffb29 7708#if defined S_ISBLK && defined S_IFCHR
f0ca586f 7709extern char c2[S_ISBLK (S_IFCHR) ? -1 : 1];
7ff12568 7710#endif
255b486c 7711
fc6ffb29 7712#if defined S_ISLNK && defined S_IFREG
f0ca586f 7713extern char c3[S_ISLNK (S_IFREG) ? -1 : 1];
7ff12568 7714#endif
f5818d2f 7715
fc6ffb29 7716#if defined S_ISSOCK && defined S_IFREG
f0ca586f 7717extern char c4[S_ISSOCK (S_IFREG) ? -1 : 1];
f5818d2f 7718#endif
7ff12568 7719
f5818d2f 7720_ACEOF
f0ca586f
PK
7721rm -f conftest.$ac_objext
7722if { (ac_try="$ac_compile"
7723case "(($ac_try" in
7724 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7725 *) ac_try_echo=$ac_try;;
7726esac
abf5048b
AJ
7727eval 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 7740else
abf5048b 7741 $as_echo "$as_me: failed program was:" >&5
f0ca586f
PK
7742sed 's/^/| /' conftest.$ac_ext >&5
7743
7744 ac_cv_header_stat_broken=yes
f5818d2f 7745fi
7ff12568 7746
f0ca586f 7747rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
f5818d2f 7748fi
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 7751if test $ac_cv_header_stat_broken = yes; then
f5818d2f 7752
daa2886c 7753cat >>confdefs.h <<\_ACEOF
7ff12568 7754#define STAT_MACROS_BROKEN 1
daa2886c 7755_ACEOF
c90fb25c 7756
c90fb25c
OK
7757fi
7758
daa2886c 7759
7ff12568 7760
2d6d4e96
HL
7761
7762
7763
7764
7765for ac_header in sys/mount.h sys/statfs.h sys/user.h sys/vfs.h
b079add3 7766do
abf5048b
AJ
7767as_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 7770if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
abf5048b 7771 $as_echo_n "(cached) " >&6
b079add3
AJ
7772else
7773 cat >conftest.$ac_ext <<_ACEOF
7774/* confdefs.h. */
7775_ACEOF
7776cat confdefs.h >>conftest.$ac_ext
7777cat >>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
7786rm -f conftest.$ac_objext
0ebeb530
JW
7787if { (ac_try="$ac_compile"
7788case "(($ac_try" in
7789 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7790 *) ac_try_echo=$ac_try;;
7791esac
abf5048b
AJ
7792eval 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"
7805else
abf5048b 7806 $as_echo "$as_me: failed program was:" >&5
b079add3
AJ
7807sed 's/^/| /' conftest.$ac_ext >&5
7808
fc6ffb29 7809 eval "$as_ac_Header=no"
b079add3 7810fi
fc6ffb29 7811
0ebeb530 7812rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
b079add3 7813fi
abf5048b
AJ
7814ac_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; }
7818as_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
7825fi
7826
7827done
7828
7829
7830
7ff12568
RK
7831
7832
7833
7834
7835
2569635c
MA
7836
7837
dfb308a6
AJ
7838
7839
7840
7841
7842for 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 7856do
abf5048b
AJ
7857as_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 7860if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
abf5048b 7861 $as_echo_n "(cached) " >&6
2569635c
MA
7862else
7863 cat >conftest.$ac_ext <<_ACEOF
7864/* confdefs.h. */
7865_ACEOF
7866cat confdefs.h >>conftest.$ac_ext
7867cat >>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
7885rm -f conftest.$ac_objext
7886if { (ac_try="$ac_compile"
7887case "(($ac_try" in
7888 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7889 *) ac_try_echo=$ac_try;;
7890esac
abf5048b
AJ
7891eval 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"
7904else
abf5048b 7905 $as_echo "$as_me: failed program was:" >&5
2569635c
MA
7906sed 's/^/| /' conftest.$ac_ext >&5
7907
7908 eval "$as_ac_Header=no"
7909fi
7910
7911rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7912fi
abf5048b
AJ
7913ac_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; }
7917as_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
7924fi
7925
7926done
7927
2569635c
MA
7928
7929
6d4eab9a 7930
020b0ef6 7931
beea4d30
ED
7932
7933for ac_header in netinet/tcp_var.h netinet/udp_var.h netinet/icmp_var.h netinet/tcp_timer.h
7ff12568 7934do
abf5048b
AJ
7935as_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 7938if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
abf5048b 7939 $as_echo_n "(cached) " >&6
7ff12568
RK
7940else
7941 cat >conftest.$ac_ext <<_ACEOF
7942/* confdefs.h. */
7943_ACEOF
7944cat confdefs.h >>conftest.$ac_ext
7945cat >>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
7978rm -f conftest.$ac_objext
0ebeb530
JW
7979if { (ac_try="$ac_compile"
7980case "(($ac_try" in
7981 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7982 *) ac_try_echo=$ac_try;;
7983esac
abf5048b
AJ
7984eval 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"
7997else
abf5048b 7998 $as_echo "$as_me: failed program was:" >&5
7ff12568
RK
7999sed 's/^/| /' conftest.$ac_ext >&5
8000
fc6ffb29 8001 eval "$as_ac_Header=no"
7ff12568 8002fi
fc6ffb29 8003
0ebeb530 8004rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7ff12568 8005fi
abf5048b
AJ
8006ac_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; }
8010as_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
8017fi
8018
7ff12568 8019done
daa2886c 8020
7ff12568 8021
2d6d4e96 8022
faf05dfd
FG
8023for ac_header in linux/ipx.h
8024do
abf5048b
AJ
8025as_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 8028if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
abf5048b 8029 $as_echo_n "(cached) " >&6
faf05dfd
FG
8030else
8031 cat >conftest.$ac_ext <<_ACEOF
8032/* confdefs.h. */
8033_ACEOF
8034cat confdefs.h >>conftest.$ac_ext
8035cat >>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
8047rm -f conftest.$ac_objext
8048if { (ac_try="$ac_compile"
8049case "(($ac_try" in
8050 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8051 *) ac_try_echo=$ac_try;;
8052esac
abf5048b
AJ
8053eval 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"
8066else
abf5048b 8067 $as_echo "$as_me: failed program was:" >&5
faf05dfd
FG
8068sed 's/^/| /' conftest.$ac_ext >&5
8069
8070 eval "$as_ac_Header=no"
8071fi
8072
8073rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8074fi
abf5048b
AJ
8075ac_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; }
8079as_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
8086fi
8087
8088done
8089
8090
8091
2d6d4e96
HL
8092for ac_header in resolv.h
8093do
abf5048b
AJ
8094as_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 8097if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
abf5048b 8098 $as_echo_n "(cached) " >&6
d94475bd 8099else
2d6d4e96 8100 cat >conftest.$ac_ext <<_ACEOF
e24bcc77
AJ
8101/* confdefs.h. */
8102_ACEOF
8103cat confdefs.h >>conftest.$ac_ext
8104cat >>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 8119rm -f conftest.$ac_objext
0ebeb530
JW
8120if { (ac_try="$ac_compile"
8121case "(($ac_try" in
8122 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8123 *) ac_try_echo=$ac_try;;
8124esac
abf5048b
AJ
8125eval 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 8138else
abf5048b 8139 $as_echo "$as_me: failed program was:" >&5
e24bcc77
AJ
8140sed 's/^/| /' conftest.$ac_ext >&5
8141
fc6ffb29 8142 eval "$as_ac_Header=no"
f5818d2f 8143fi
fc6ffb29 8144
0ebeb530 8145rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
f5818d2f 8146fi
abf5048b
AJ
8147ac_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; }
8151as_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 8158fi
f5818d2f 8159
2d6d4e96 8160done
7ff12568 8161
2d6d4e96
HL
8162
8163
8164for ac_header in ucontext.h
8165do
abf5048b
AJ
8166as_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 8169if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
abf5048b 8170 $as_echo_n "(cached) " >&6
02e90087 8171else
2d6d4e96 8172 cat >conftest.$ac_ext <<_ACEOF
e24bcc77
AJ
8173/* confdefs.h. */
8174_ACEOF
8175cat confdefs.h >>conftest.$ac_ext
8176cat >>conftest.$ac_ext <<_ACEOF
8177/* end confdefs.h. */
2d6d4e96 8178#include <signal.h>
f5818d2f 8179
60833da9
TC
8180#include <$ac_header>
8181_ACEOF
8182rm -f conftest.$ac_objext
8183if { (ac_try="$ac_compile"
8184case "(($ac_try" in
8185 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8186 *) ac_try_echo=$ac_try;;
8187esac
abf5048b
AJ
8188eval 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"
8201else
abf5048b 8202 $as_echo "$as_me: failed program was:" >&5
60833da9
TC
8203sed 's/^/| /' conftest.$ac_ext >&5
8204
8205 eval "$as_ac_Header=no"
8206fi
8207
8208rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8209fi
abf5048b
AJ
8210ac_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; }
8214as_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
8221fi
8222
8223done
8224
8225
8226
8227for ac_header in sys/thr.h
8228do
abf5048b
AJ
8229as_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 8232if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
abf5048b 8233 $as_echo_n "(cached) " >&6
60833da9
TC
8234else
8235 cat >conftest.$ac_ext <<_ACEOF
8236/* confdefs.h. */
8237_ACEOF
8238cat confdefs.h >>conftest.$ac_ext
8239cat >>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
8248rm -f conftest.$ac_objext
8249if { (ac_try="$ac_compile"
8250case "(($ac_try" in
8251 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8252 *) ac_try_echo=$ac_try;;
8253esac
abf5048b
AJ
8254eval 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"
8267else
abf5048b 8268 $as_echo "$as_me: failed program was:" >&5
4ff90b47
GP
8269sed 's/^/| /' conftest.$ac_ext >&5
8270
8271 eval "$as_ac_Header=no"
8272fi
8273
8274rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8275fi
abf5048b
AJ
8276ac_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; }
8280as_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
8287fi
8288
8289done
8290
8291
8292
8293for ac_header in pthread_np.h
8294do
abf5048b
AJ
8295as_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 8298if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
abf5048b 8299 $as_echo_n "(cached) " >&6
4ff90b47
GP
8300else
8301 cat >conftest.$ac_ext <<_ACEOF
8302/* confdefs.h. */
8303_ACEOF
8304cat confdefs.h >>conftest.$ac_ext
8305cat >>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 8313rm -f conftest.$ac_objext
0ebeb530
JW
8314if { (ac_try="$ac_compile"
8315case "(($ac_try" in
8316 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8317 *) ac_try_echo=$ac_try;;
8318esac
abf5048b
AJ
8319eval 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 8332else
abf5048b 8333 $as_echo "$as_me: failed program was:" >&5
e24bcc77
AJ
8334sed 's/^/| /' conftest.$ac_ext >&5
8335
fc6ffb29 8336 eval "$as_ac_Header=no"
f5818d2f 8337fi
fc6ffb29 8338
0ebeb530 8339rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
f5818d2f 8340fi
abf5048b
AJ
8341ac_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; }
8345as_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
8352fi
8353
2d6d4e96 8354done
daa2886c 8355
2d6d4e96
HL
8356
8357
faf05dfd 8358for ac_header in linux/videodev.h
2d6d4e96 8359do
abf5048b
AJ
8360as_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 8363if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
abf5048b 8364 $as_echo_n "(cached) " >&6
399931a2 8365else
2d6d4e96 8366 cat >conftest.$ac_ext <<_ACEOF
e24bcc77
AJ
8367/* confdefs.h. */
8368_ACEOF
8369cat confdefs.h >>conftest.$ac_ext
8370cat >>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 8382rm -f conftest.$ac_objext
0ebeb530
JW
8383if { (ac_try="$ac_compile"
8384case "(($ac_try" in
8385 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8386 *) ac_try_echo=$ac_try;;
8387esac
abf5048b
AJ
8388eval 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 8401else
abf5048b 8402 $as_echo "$as_me: failed program was:" >&5
e24bcc77
AJ
8403sed 's/^/| /' conftest.$ac_ext >&5
8404
fc6ffb29 8405 eval "$as_ac_Header=no"
f5818d2f 8406fi
fc6ffb29 8407
0ebeb530 8408rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
f5818d2f 8409fi
abf5048b
AJ
8410ac_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; }
8414as_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
8421fi
8422
2d6d4e96 8423done
daa2886c 8424
2d6d4e96
HL
8425
8426
8427for ac_header in linux/capi.h
8428do
abf5048b
AJ
8429as_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 8432if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
abf5048b 8433 $as_echo_n "(cached) " >&6
2d6d4e96
HL
8434else
8435 cat >conftest.$ac_ext <<_ACEOF
8436/* confdefs.h. */
8437_ACEOF
8f174bc6
AP
8438cat confdefs.h >>conftest.$ac_ext
8439cat >>conftest.$ac_ext <<_ACEOF
8440/* end confdefs.h. */
2d6d4e96 8441#define __user
7ff12568 8442
2d6d4e96 8443#include <$ac_header>
8f174bc6 8444_ACEOF
2d6d4e96 8445rm -f conftest.$ac_objext
0ebeb530
JW
8446if { (ac_try="$ac_compile"
8447case "(($ac_try" in
8448 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8449 *) ac_try_echo=$ac_try;;
8450esac
abf5048b
AJ
8451eval 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 8464else
abf5048b 8465 $as_echo "$as_me: failed program was:" >&5
7ff12568
RK
8466sed 's/^/| /' conftest.$ac_ext >&5
8467
fc6ffb29 8468 eval "$as_ac_Header=no"
7ff12568 8469fi
fc6ffb29 8470
0ebeb530 8471rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7ff12568 8472fi
abf5048b
AJ
8473ac_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; }
8477as_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
8484fi
8485
8486done
8487
8488
8489
a3097628 8490DLLEXT=""
2d6d4e96 8491
a3097628 8492DLLFLAGS="-D_REENTRANT"
2d6d4e96 8493
a3097628 8494LDSHARED=""
2d6d4e96 8495
a3097628 8496LDDLLFLAGS=""
2d6d4e96 8497
a3097628 8498LIBEXT="so"
2d6d4e96 8499
a3097628 8500IMPLIBEXT="def"
2d6d4e96 8501
a3097628 8502LDRPATH_INSTALL=""
7d00b050 8503
a3097628 8504LDRPATH_LOCAL=""
23e2cb1f 8505
a3097628
AJ
8506# Extract the first word of "ldd", so it can be a program name with args.
8507set 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 8510if test "${ac_cv_path_LDD+set}" = set; then
abf5048b 8511 $as_echo_n "(cached) " >&6
2d6d4e96 8512else
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
8519as_dummy="/sbin:/usr/sbin:$PATH"
8520for as_dir in $as_dummy
8521do
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
8530done
8531done
8532IFS=$as_save_IFS
7ff12568 8533
a3097628
AJ
8534 test -z "$ac_cv_path_LDD" && ac_cv_path_LDD="true"
8535 ;;
0ebeb530 8536esac
7ff12568 8537fi
a3097628
AJ
8538LDD=$ac_cv_path_LDD
8539if test -n "$LDD"; then
abf5048b
AJ
8540 { $as_echo "$as_me:$LINENO: result: $LDD" >&5
8541$as_echo "$LDD" >&6; }
a3097628 8542else
abf5048b
AJ
8543 { $as_echo "$as_me:$LINENO: result: no" >&5
8544$as_echo "no" >&6; }
2d6d4e96 8545fi
7ff12568 8546
2d6d4e96
HL
8547
8548
a3097628
AJ
8549case $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.
8553set 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 8556if test "${ac_cv_prog_DLLTOOL+set}" = set; then
abf5048b 8557 $as_echo_n "(cached) " >&6
7ff12568 8558else
a3097628
AJ
8559 if test -n "$DLLTOOL"; then
8560 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
7ff12568 8561else
a3097628
AJ
8562as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8563for as_dir in $PATH
8564do
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
8573done
8574done
8575IFS=$as_save_IFS
7ff12568 8576
7ff12568 8577fi
7ff12568 8578fi
a3097628
AJ
8579DLLTOOL=$ac_cv_prog_DLLTOOL
8580if test -n "$DLLTOOL"; then
abf5048b
AJ
8581 { $as_echo "$as_me:$LINENO: result: $DLLTOOL" >&5
8582$as_echo "$DLLTOOL" >&6; }
a3097628 8583else
abf5048b
AJ
8584 { $as_echo "$as_me:$LINENO: result: no" >&5
8585$as_echo "no" >&6; }
7ff12568
RK
8586fi
8587
7ff12568 8588
a3097628
AJ
8589fi
8590if 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.
8593set 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 8596if test "${ac_cv_prog_ac_ct_DLLTOOL+set}" = set; then
abf5048b 8597 $as_echo_n "(cached) " >&6
2d6d4e96 8598else
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 8601else
a3097628
AJ
8602as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8603for as_dir in $PATH
8604do
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
8613done
8614done
8615IFS=$as_save_IFS
8f174bc6 8616
a3097628
AJ
8617fi
8618fi
8619ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
8620if 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 8623else
abf5048b
AJ
8624 { $as_echo "$as_me:$LINENO: result: no" >&5
8625$as_echo "no" >&6; }
8f174bc6 8626fi
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
8632yes:)
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
8635ac_tool_warned=yes ;;
8636esac
8637 DLLTOOL=$ac_ct_DLLTOOL
8638 fi
8639else
8640 DLLTOOL="$ac_cv_prog_DLLTOOL"
2d6d4e96 8641fi
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.
8645set 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 8648if test "${ac_cv_prog_DLLWRAP+set}" = set; then
abf5048b 8649 $as_echo_n "(cached) " >&6
a3097628
AJ
8650else
8651 if test -n "$DLLWRAP"; then
8652 ac_cv_prog_DLLWRAP="$DLLWRAP" # Let the user override the test.
8653else
8654as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8655for as_dir in $PATH
8656do
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
8665done
8666done
8667IFS=$as_save_IFS
2d6d4e96
HL
8668
8669fi
a3097628
AJ
8670fi
8671DLLWRAP=$ac_cv_prog_DLLWRAP
8672if test -n "$DLLWRAP"; then
abf5048b
AJ
8673 { $as_echo "$as_me:$LINENO: result: $DLLWRAP" >&5
8674$as_echo "$DLLWRAP" >&6; }
a3097628 8675else
abf5048b
AJ
8676 { $as_echo "$as_me:$LINENO: result: no" >&5
8677$as_echo "no" >&6; }
a3097628 8678fi
2d6d4e96 8679
92ec21bd 8680
a3097628
AJ
8681fi
8682if 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.
8685set 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 8688if test "${ac_cv_prog_ac_ct_DLLWRAP+set}" = set; then
abf5048b 8689 $as_echo_n "(cached) " >&6
92ec21bd 8690else
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 8693else
a3097628
AJ
8694as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8695for as_dir in $PATH
8696do
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
8705done
8706done
8707IFS=$as_save_IFS
92ec21bd 8708
92ec21bd 8709fi
92ec21bd 8710fi
a3097628
AJ
8711ac_ct_DLLWRAP=$ac_cv_prog_ac_ct_DLLWRAP
8712if 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 8715else
abf5048b
AJ
8716 { $as_echo "$as_me:$LINENO: result: no" >&5
8717$as_echo "no" >&6; }
f5818d2f 8718fi
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
8724yes:)
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
8727ac_tool_warned=yes ;;
8728esac
8729 DLLWRAP=$ac_ct_DLLWRAP
8730 fi
8731else
8732 DLLWRAP="$ac_cv_prog_DLLWRAP"
8733fi
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.
8737set 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 8740if test "${ac_cv_prog_MINGWAR+set}" = set; then
abf5048b 8741 $as_echo_n "(cached) " >&6
5ff00774 8742else
a3097628
AJ
8743 if test -n "$MINGWAR"; then
8744 ac_cv_prog_MINGWAR="$MINGWAR" # Let the user override the test.
f5818d2f 8745else
a3097628
AJ
8746as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8747for as_dir in $PATH
8748do
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
8757done
8758done
8759IFS=$as_save_IFS
e24bcc77 8760
f5818d2f 8761fi
f5818d2f 8762fi
a3097628
AJ
8763MINGWAR=$ac_cv_prog_MINGWAR
8764if test -n "$MINGWAR"; then
abf5048b
AJ
8765 { $as_echo "$as_me:$LINENO: result: $MINGWAR" >&5
8766$as_echo "$MINGWAR" >&6; }
a3097628 8767else
abf5048b
AJ
8768 { $as_echo "$as_me:$LINENO: result: no" >&5
8769$as_echo "no" >&6; }
a3097628 8770fi
6bb6d4c2 8771
5a2da4ee 8772
2d6d4e96 8773fi
a3097628
AJ
8774if 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.
8777set 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 8780if test "${ac_cv_prog_ac_ct_MINGWAR+set}" = set; then
abf5048b 8781 $as_echo_n "(cached) " >&6
a3097628
AJ
8782else
8783 if test -n "$ac_ct_MINGWAR"; then
8784 ac_cv_prog_ac_ct_MINGWAR="$ac_ct_MINGWAR" # Let the user override the test.
8785else
8786as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8787for as_dir in $PATH
8788do
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
8797done
8798done
8799IFS=$as_save_IFS
2d6d4e96 8800
a3097628
AJ
8801fi
8802fi
8803ac_ct_MINGWAR=$ac_cv_prog_ac_ct_MINGWAR
8804if 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 8807else
abf5048b
AJ
8808 { $as_echo "$as_me:$LINENO: result: no" >&5
8809$as_echo "no" >&6; }
a3097628 8810fi
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
8816yes:)
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 8819ac_tool_warned=yes ;;
0ebeb530 8820esac
a3097628
AJ
8821 MINGWAR=$ac_ct_MINGWAR
8822 fi
8823else
8824 MINGWAR="$ac_cv_prog_MINGWAR"
8825fi
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 8886if test "${ac_cv_c_dll_gnuelf+set}" = set; then
abf5048b 8887 $as_echo_n "(cached) " >&6
ef799c46 8888else
a3097628
AJ
8889 ac_wine_try_cflags_saved=$CFLAGS
8890CFLAGS="$CFLAGS -fPIC -shared -Wl,-Bsymbolic"
ef799c46 8891cat >conftest.$ac_ext <<_ACEOF
a3097628 8892void myfunc() {}
ef799c46
JC
8893_ACEOF
8894rm -f conftest.$ac_objext conftest$ac_exeext
0ebeb530
JW
8895if { (ac_try="$ac_link"
8896case "(($ac_try" in
8897 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8898 *) ac_try_echo=$ac_try;;
8899esac
abf5048b
AJ
8900eval 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 8916else
abf5048b 8917 $as_echo "$as_me: failed program was:" >&5
ef799c46
JC
8918sed 's/^/| /' conftest.$ac_ext >&5
8919
a3097628 8920 ac_cv_c_dll_gnuelf="no"
ef799c46 8921fi
fc6ffb29 8922
abf5048b 8923rm -rf conftest.dSYM
f0ca586f 8924rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
875927f6 8925 conftest$ac_exeext conftest.$ac_ext
a3097628 8926CFLAGS=$ac_wine_try_cflags_saved
ef799c46 8927fi
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 8936if test "${ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1+set}" = set; then
abf5048b 8937 $as_echo_n "(cached) " >&6
a3097628
AJ
8938else
8939 ac_wine_try_cflags_saved=$CFLAGS
8940CFLAGS="$CFLAGS -fPIC -shared -Wl,-soname,confest.so.1"
8941cat >conftest.$ac_ext <<_ACEOF
7d00b050
AJ
8942/* confdefs.h. */
8943_ACEOF
8944cat confdefs.h >>conftest.$ac_ext
8945cat >>conftest.$ac_ext <<_ACEOF
8946/* end confdefs.h. */
a3097628 8947
7d00b050
AJ
8948int
8949main ()
8950{
a3097628 8951
7d00b050
AJ
8952 ;
8953 return 0;
8954}
8955_ACEOF
a3097628
AJ
8956rm -f conftest.$ac_objext conftest$ac_exeext
8957if { (ac_try="$ac_link"
7d00b050
AJ
8958case "(($ac_try" in
8959 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8960 *) ac_try_echo=$ac_try;;
8961esac
abf5048b
AJ
8962eval 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 8978else
abf5048b 8979 $as_echo "$as_me: failed program was:" >&5
7d00b050
AJ
8980sed 's/^/| /' conftest.$ac_ext >&5
8981
a3097628 8982 ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1=no
7d00b050
AJ
8983fi
8984
abf5048b 8985rm -rf conftest.dSYM
a3097628
AJ
8986rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8987 conftest$ac_exeext conftest.$ac_ext
8988CFLAGS=$ac_wine_try_cflags_saved
8989fi
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
8992if test $ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1 = yes; then
8993 LDSHARED="\$(CC) -shared \$(SONAME:%=-Wl,-soname,%)"
8994else
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 8997if test "${ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1+set}" = set; then
abf5048b 8998 $as_echo_n "(cached) " >&6
6f670b13 8999else
a3097628
AJ
9000 ac_wine_try_cflags_saved=$CFLAGS
9001CFLAGS="$CFLAGS -fPIC -shared -Wl,-h,confest.so.1"
9002cat >conftest.$ac_ext <<_ACEOF
e24bcc77
AJ
9003/* confdefs.h. */
9004_ACEOF
9005cat confdefs.h >>conftest.$ac_ext
9006cat >>conftest.$ac_ext <<_ACEOF
9007/* end confdefs.h. */
2d6d4e96 9008
a3097628
AJ
9009int
9010main ()
9011{
9012
9013 ;
9014 return 0;
9015}
6f670b13 9016_ACEOF
a3097628
AJ
9017rm -f conftest.$ac_objext conftest$ac_exeext
9018if { (ac_try="$ac_link"
0ebeb530
JW
9019case "(($ac_try" in
9020 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9021 *) ac_try_echo=$ac_try;;
9022esac
abf5048b
AJ
9023eval 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 9039else
abf5048b 9040 $as_echo "$as_me: failed program was:" >&5
e24bcc77
AJ
9041sed 's/^/| /' conftest.$ac_ext >&5
9042
a3097628 9043 ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1=no
6f670b13 9044fi
fc6ffb29 9045
abf5048b 9046rm -rf conftest.dSYM
a3097628
AJ
9047rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9048 conftest$ac_exeext conftest.$ac_ext
9049CFLAGS=$ac_wine_try_cflags_saved
9050fi
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
9053if test $ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1 = yes; then
9054 LDSHARED="\$(CC) -shared \$(SONAME:%=-Wl,-h,%)"
6f670b13 9055fi
6f670b13 9056
2d6d4e96
HL
9057fi
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 9062if test "${ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs+set}" = set; then
abf5048b 9063 $as_echo_n "(cached) " >&6
6f670b13 9064else
a3097628
AJ
9065 ac_wine_try_cflags_saved=$CFLAGS
9066CFLAGS="$CFLAGS -fPIC -shared -Wl,-Bsymbolic,-z,defs"
9067cat >conftest.$ac_ext <<_ACEOF
e24bcc77
AJ
9068/* confdefs.h. */
9069_ACEOF
9070cat confdefs.h >>conftest.$ac_ext
9071cat >>conftest.$ac_ext <<_ACEOF
9072/* end confdefs.h. */
a3097628 9073
2d6d4e96
HL
9074int
9075main ()
9076{
a3097628 9077
2d6d4e96
HL
9078 ;
9079 return 0;
9080}
6f670b13 9081_ACEOF
a3097628
AJ
9082rm -f conftest.$ac_objext conftest$ac_exeext
9083if { (ac_try="$ac_link"
0ebeb530
JW
9084case "(($ac_try" in
9085 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9086 *) ac_try_echo=$ac_try;;
9087esac
abf5048b
AJ
9088eval 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 9104else
abf5048b 9105 $as_echo "$as_me: failed program was:" >&5
e24bcc77
AJ
9106sed 's/^/| /' conftest.$ac_ext >&5
9107
a3097628 9108 ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs=no
6f670b13 9109fi
fc6ffb29 9110
abf5048b 9111rm -rf conftest.dSYM
a3097628
AJ
9112rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9113 conftest$ac_exeext conftest.$ac_ext
9114CFLAGS=$ac_wine_try_cflags_saved
9115fi
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
9118if test $ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs = yes; then
9119 LDDLLFLAGS="$LDDLLFLAGS,-z,defs"
6f670b13
FG
9120fi
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 9125if 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 9127else
a3097628
AJ
9128 ac_wine_try_cflags_saved=$CFLAGS
9129CFLAGS="$CFLAGS -fPIC -shared -Wl,-Bsymbolic,-init,__wine_spec_init,-fini,__wine_spec_fini"
6f670b13 9130cat >conftest.$ac_ext <<_ACEOF
e24bcc77
AJ
9131/* confdefs.h. */
9132_ACEOF
9133cat confdefs.h >>conftest.$ac_ext
9134cat >>conftest.$ac_ext <<_ACEOF
9135/* end confdefs.h. */
6f670b13 9136
6f670b13
FG
9137int
9138main ()
9139{
a3097628 9140
6f670b13
FG
9141 ;
9142 return 0;
9143}
9144_ACEOF
9145rm -f conftest.$ac_objext conftest$ac_exeext
0ebeb530
JW
9146if { (ac_try="$ac_link"
9147case "(($ac_try" in
9148 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9149 *) ac_try_echo=$ac_try;;
9150esac
abf5048b
AJ
9151eval 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 9167else
abf5048b 9168 $as_echo "$as_me: failed program was:" >&5
e24bcc77
AJ
9169sed '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 9172fi
fc6ffb29 9173
abf5048b 9174rm -rf conftest.dSYM
f0ca586f 9175rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
875927f6 9176 conftest$ac_exeext conftest.$ac_ext
a3097628 9177CFLAGS=$ac_wine_try_cflags_saved
6f670b13 9178fi
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
9181if 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
9183fi
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 9189if test "${ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map+set}" = set; then
abf5048b 9190 $as_echo_n "(cached) " >&6
dcc2d6c2 9191else
a3097628
AJ
9192 ac_wine_try_cflags_saved=$CFLAGS
9193CFLAGS="$CFLAGS -fPIC -shared -Wl,--version-script=conftest.map"
dcc2d6c2
MM
9194cat >conftest.$ac_ext <<_ACEOF
9195/* confdefs.h. */
9196_ACEOF
9197cat confdefs.h >>conftest.$ac_ext
9198cat >>conftest.$ac_ext <<_ACEOF
9199/* end confdefs.h. */
2d6d4e96 9200
2d6d4e96
HL
9201int
9202main ()
9203{
a3097628 9204
2d6d4e96
HL
9205 ;
9206 return 0;
9207}
9208_ACEOF
9209rm -f conftest.$ac_objext conftest$ac_exeext
0ebeb530
JW
9210if { (ac_try="$ac_link"
9211case "(($ac_try" in
9212 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9213 *) ac_try_echo=$ac_try;;
9214esac
abf5048b
AJ
9215eval 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 9231else
abf5048b 9232 $as_echo "$as_me: failed program was:" >&5
2d6d4e96
HL
9233sed 's/^/| /' conftest.$ac_ext >&5
9234
a3097628 9235 ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map=no
2d6d4e96 9236fi
fc6ffb29 9237
abf5048b 9238rm -rf conftest.dSYM
f0ca586f 9239rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
2d6d4e96 9240 conftest$ac_exeext conftest.$ac_ext
a3097628 9241CFLAGS=$ac_wine_try_cflags_saved
2d6d4e96 9242fi
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
9245if test $ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map = yes; then
9246 LDSHARED="$LDSHARED \$(VERSCRIPT:%=-Wl,--version-script=%)"
2d6d4e96
HL
9247fi
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 9253if test "${ac_cv_cflags__fPIC__Wl___export_dynamic+set}" = set; then
abf5048b 9254 $as_echo_n "(cached) " >&6
2d6d4e96 9255else
a3097628
AJ
9256 ac_wine_try_cflags_saved=$CFLAGS
9257CFLAGS="$CFLAGS -fPIC -Wl,--export-dynamic"
2d6d4e96
HL
9258cat >conftest.$ac_ext <<_ACEOF
9259/* confdefs.h. */
9260_ACEOF
9261cat confdefs.h >>conftest.$ac_ext
9262cat >>conftest.$ac_ext <<_ACEOF
9263/* end confdefs.h. */
a3097628
AJ
9264
9265int
9266main ()
9267{
9268
9269 ;
9270 return 0;
9271}
2d6d4e96 9272_ACEOF
a3097628
AJ
9273rm -f conftest.$ac_objext conftest$ac_exeext
9274if { (ac_try="$ac_link"
0ebeb530
JW
9275case "(($ac_try" in
9276 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9277 *) ac_try_echo=$ac_try;;
9278esac
abf5048b
AJ
9279eval 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 9295else
abf5048b 9296 $as_echo "$as_me: failed program was:" >&5
dcc2d6c2
MM
9297sed 's/^/| /' conftest.$ac_ext >&5
9298
a3097628
AJ
9299 ac_cv_cflags__fPIC__Wl___export_dynamic=no
9300fi
9301
abf5048b 9302rm -rf conftest.dSYM
a3097628
AJ
9303rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9304 conftest$ac_exeext conftest.$ac_ext
9305CFLAGS=$ac_wine_try_cflags_saved
9306fi
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
9309if test $ac_cv_cflags__fPIC__Wl___export_dynamic = yes; then
9310 LDEXECFLAGS="-Wl,--export-dynamic"
9311
dcc2d6c2 9312fi
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 9318if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
abf5048b 9319 $as_echo_n "(cached) " >&6
a3097628
AJ
9320else
9321 ac_wine_try_cflags_saved=$CFLAGS
9322CFLAGS="$CFLAGS -fPIC -Wl,--rpath,\$ORIGIN/../lib"
dcc2d6c2
MM
9323cat >conftest.$ac_ext <<_ACEOF
9324/* confdefs.h. */
9325_ACEOF
9326cat confdefs.h >>conftest.$ac_ext
9327cat >>conftest.$ac_ext <<_ACEOF
9328/* end confdefs.h. */
a3097628
AJ
9329
9330int
9331main ()
9332{
9333
9334 ;
9335 return 0;
9336}
dcc2d6c2 9337_ACEOF
a3097628
AJ
9338rm -f conftest.$ac_objext conftest$ac_exeext
9339if { (ac_try="$ac_link"
0ebeb530
JW
9340case "(($ac_try" in
9341 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9342 *) ac_try_echo=$ac_try;;
9343esac
abf5048b
AJ
9344eval 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 9360else
abf5048b 9361 $as_echo "$as_me: failed program was:" >&5
dcc2d6c2
MM
9362sed 's/^/| /' conftest.$ac_ext >&5
9363
a3097628 9364 eval "$as_ac_var=no"
dcc2d6c2 9365fi
fc6ffb29 9366
abf5048b 9367rm -rf conftest.dSYM
a3097628
AJ
9368rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9369 conftest$ac_exeext conftest.$ac_ext
9370CFLAGS=$ac_wine_try_cflags_saved
dcc2d6c2 9371fi
abf5048b
AJ
9372ac_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; }
9376if 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"
9380else
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 9384if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
abf5048b 9385 $as_echo_n "(cached) " >&6
dcc2d6c2 9386else
a3097628
AJ
9387 ac_wine_try_cflags_saved=$CFLAGS
9388CFLAGS="$CFLAGS -fPIC -Wl,-R,\$ORIGIN/../lib"
9389cat >conftest.$ac_ext <<_ACEOF
dcc2d6c2
MM
9390/* confdefs.h. */
9391_ACEOF
9392cat confdefs.h >>conftest.$ac_ext
9393cat >>conftest.$ac_ext <<_ACEOF
9394/* end confdefs.h. */
9395
a3097628
AJ
9396int
9397main ()
9398{
9399
9400 ;
9401 return 0;
9402}
dcc2d6c2 9403_ACEOF
a3097628
AJ
9404rm -f conftest.$ac_objext conftest$ac_exeext
9405if { (ac_try="$ac_link"
0ebeb530
JW
9406case "(($ac_try" in
9407 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9408 *) ac_try_echo=$ac_try;;
9409esac
abf5048b
AJ
9410eval 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 9426else
abf5048b 9427 $as_echo "$as_me: failed program was:" >&5
dcc2d6c2
MM
9428sed 's/^/| /' conftest.$ac_ext >&5
9429
a3097628 9430 eval "$as_ac_var=no"
dcc2d6c2 9431fi
fc6ffb29 9432
abf5048b 9433rm -rf conftest.dSYM
a3097628
AJ
9434rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9435 conftest$ac_exeext conftest.$ac_ext
9436CFLAGS=$ac_wine_try_cflags_saved
dcc2d6c2 9437fi
abf5048b
AJ
9438ac_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; }
9442if 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"
9446fi
dcc2d6c2 9447
dcc2d6c2
MM
9448fi
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 9453if test "${ac_cv_cflags__Wl___enable_new_dtags+set}" = set; then
abf5048b 9454 $as_echo_n "(cached) " >&6
f4077ae5
TC
9455else
9456 ac_wine_try_cflags_saved=$CFLAGS
9457CFLAGS="$CFLAGS -Wl,--enable-new-dtags"
9458cat >conftest.$ac_ext <<_ACEOF
9459/* confdefs.h. */
9460_ACEOF
9461cat confdefs.h >>conftest.$ac_ext
9462cat >>conftest.$ac_ext <<_ACEOF
9463/* end confdefs.h. */
9464
9465int
9466main ()
9467{
9468
9469 ;
9470 return 0;
9471}
9472_ACEOF
9473rm -f conftest.$ac_objext conftest$ac_exeext
9474if { (ac_try="$ac_link"
9475case "(($ac_try" in
9476 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9477 *) ac_try_echo=$ac_try;;
9478esac
abf5048b
AJ
9479eval 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
9495else
abf5048b 9496 $as_echo "$as_me: failed program was:" >&5
f4077ae5
TC
9497sed 's/^/| /' conftest.$ac_ext >&5
9498
9499 ac_cv_cflags__Wl___enable_new_dtags=no
9500fi
9501
abf5048b 9502rm -rf conftest.dSYM
f4077ae5
TC
9503rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9504 conftest$ac_exeext conftest.$ac_ext
9505CFLAGS=$ac_wine_try_cflags_saved
9506fi
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
9509if test $ac_cv_cflags__Wl___enable_new_dtags = yes; then
9510 LDRPATH_INSTALL="$LDRPATH_INSTALL -Wl,--enable-new-dtags"
9511fi
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 9518if test "${ac_cv_cflags__Wl___section_start__interp_0x7bf00400+set}" = set; then
abf5048b 9519 $as_echo_n "(cached) " >&6
70adb8f5 9520else
a3097628
AJ
9521 ac_wine_try_cflags_saved=$CFLAGS
9522CFLAGS="$CFLAGS -Wl,--section-start,.interp=0x7bf00400"
70adb8f5
MM
9523cat >conftest.$ac_ext <<_ACEOF
9524/* confdefs.h. */
9525_ACEOF
9526cat confdefs.h >>conftest.$ac_ext
9527cat >>conftest.$ac_ext <<_ACEOF
9528/* end confdefs.h. */
9529
70adb8f5
MM
9530int
9531main ()
9532{
a3097628 9533
70adb8f5
MM
9534 ;
9535 return 0;
9536}
9537_ACEOF
9538rm -f conftest.$ac_objext conftest$ac_exeext
0ebeb530
JW
9539if { (ac_try="$ac_link"
9540case "(($ac_try" in
9541 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9542 *) ac_try_echo=$ac_try;;
9543esac
abf5048b
AJ
9544eval 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 9560else
abf5048b 9561 $as_echo "$as_me: failed program was:" >&5
70adb8f5
MM
9562sed 's/^/| /' conftest.$ac_ext >&5
9563
a3097628 9564 ac_cv_cflags__Wl___section_start__interp_0x7bf00400=no
70adb8f5 9565fi
fc6ffb29 9566
abf5048b 9567rm -rf conftest.dSYM
f0ca586f 9568rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
70adb8f5 9569 conftest$ac_exeext conftest.$ac_ext
a3097628
AJ
9570CFLAGS=$ac_wine_try_cflags_saved
9571fi
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
9574if test $ac_cv_cflags__Wl___section_start__interp_0x7bf00400 = yes; then
9575 LDEXECFLAGS="$LDEXECFLAGS -Wl,--section-start,.interp=0x7bf00400"
70adb8f5 9576fi
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 9584if test "${ac_cv_c_dll_unixware+set}" = set; then
abf5048b 9585 $as_echo_n "(cached) " >&6
575d8944 9586else
a3097628
AJ
9587 ac_wine_try_cflags_saved=$CFLAGS
9588CFLAGS="$CFLAGS -fPIC -Wl,-G,-h,conftest.so.1.0,-B,symbolic"
575d8944 9589cat >conftest.$ac_ext <<_ACEOF
a3097628 9590void myfunc() {}
575d8944 9591_ACEOF
a3097628
AJ
9592rm -f conftest.$ac_objext conftest$ac_exeext
9593if { (ac_try="$ac_link"
9594case "(($ac_try" in
9595 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9596 *) ac_try_echo=$ac_try;;
9597esac
abf5048b
AJ
9598eval 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"
9614else
abf5048b 9615 $as_echo "$as_me: failed program was:" >&5
a3097628 9616sed 's/^/| /' conftest.$ac_ext >&5
575d8944 9617
a3097628
AJ
9618 ac_cv_c_dll_unixware="no"
9619fi
9620
abf5048b 9621rm -rf conftest.dSYM
a3097628
AJ
9622rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9623 conftest$ac_exeext conftest.$ac_ext
9624CFLAGS=$ac_wine_try_cflags_saved
9625fi
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 9636if test "${ac_cv_c_dll_hpux+set}" = set; then
abf5048b 9637 $as_echo_n "(cached) " >&6
a3097628
AJ
9638else
9639 ac_wine_try_cflags_saved=$CFLAGS
9640CFLAGS="$CFLAGS -shared"
9641cat >conftest.$ac_ext <<_ACEOF
9642void myfunc() {}
575d8944
GP
9643_ACEOF
9644rm -f conftest.$ac_objext conftest$ac_exeext
9645if { (ac_try="$ac_link"
9646case "(($ac_try" in
9647 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9648 *) ac_try_echo=$ac_try;;
9649esac
abf5048b
AJ
9650eval 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 9666else
abf5048b 9667 $as_echo "$as_me: failed program was:" >&5
575d8944
GP
9668sed 's/^/| /' conftest.$ac_ext >&5
9669
a3097628 9670 ac_cv_c_dll_hpux="no"
575d8944
GP
9671fi
9672
abf5048b 9673rm -rf conftest.dSYM
575d8944
GP
9674rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9675 conftest$ac_exeext conftest.$ac_ext
a3097628 9676CFLAGS=$ac_wine_try_cflags_saved
575d8944 9677fi
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 ;;
9690esac
a3097628 9691
9fb81984 9692enable_winequartz_drv=${enable_winequartz_drv:-no}
a3097628 9693
9fb81984 9694if test "$LIBEXT" = "a"; then
abf5048b 9695 { { $as_echo "$as_me:$LINENO: error: could not find a way to build shared libraries.
9fb81984
AJ
9696It is currently not possible to build Wine without shared library
9697(.so) support to allow transparent switch between .so and .dll files.
9698If 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
9701It is currently not possible to build Wine without shared library
9702(.so) support to allow transparent switch between .so and .dll files.
9703If you are using Linux, you will need a newer binutils.
9704" >&2;}
9705 { (exit 1); exit 1; }; }
9706fi
9707
9708if test "$cross_compiling" = "no" -a "$LIBEXT" != "dll"
9709then
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
9711do
9712 # Extract the first word of "$ac_prog", so it can be a program name with args.
9713set 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 9716if test "${ac_cv_prog_CROSSCC+set}" = set; then
abf5048b 9717 $as_echo_n "(cached) " >&6
575d8944 9718else
a3097628
AJ
9719 if test -n "$CROSSCC"; then
9720 ac_cv_prog_CROSSCC="$CROSSCC" # Let the user override the test.
9721else
9722as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9723for as_dir in $PATH
9724do
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
9733done
9734done
9735IFS=$as_save_IFS
9736
9737fi
9738fi
9739CROSSCC=$ac_cv_prog_CROSSCC
9740if test -n "$CROSSCC"; then
abf5048b
AJ
9741 { $as_echo "$as_me:$LINENO: result: $CROSSCC" >&5
9742$as_echo "$CROSSCC" >&6; }
a3097628 9743else
abf5048b
AJ
9744 { $as_echo "$as_me:$LINENO: result: no" >&5
9745$as_echo "no" >&6; }
575d8944
GP
9746fi
9747
9748
a3097628
AJ
9749 test -n "$CROSSCC" && break
9750done
9751test -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
9754do
9755 # Extract the first word of "$ac_prog", so it can be a program name with args.
9756set 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 9759if test "${ac_cv_prog_DLLTOOL+set}" = set; then
abf5048b 9760 $as_echo_n "(cached) " >&6
a3097628
AJ
9761else
9762 if test -n "$DLLTOOL"; then
9763 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
9764else
9765as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9766for as_dir in $PATH
9767do
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
9776done
9777done
9778IFS=$as_save_IFS
9779
9780fi
9781fi
9782DLLTOOL=$ac_cv_prog_DLLTOOL
9783if test -n "$DLLTOOL"; then
abf5048b
AJ
9784 { $as_echo "$as_me:$LINENO: result: $DLLTOOL" >&5
9785$as_echo "$DLLTOOL" >&6; }
a3097628 9786else
abf5048b
AJ
9787 { $as_echo "$as_me:$LINENO: result: no" >&5
9788$as_echo "no" >&6; }
70adb8f5
MM
9789fi
9790
a3097628
AJ
9791
9792 test -n "$DLLTOOL" && break
9793done
9794test -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
9797do
9798 # Extract the first word of "$ac_prog", so it can be a program name with args.
9799set 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 9802if test "${ac_cv_prog_CROSSWINDRES+set}" = set; then
abf5048b 9803 $as_echo_n "(cached) " >&6
a3097628
AJ
9804else
9805 if test -n "$CROSSWINDRES"; then
9806 ac_cv_prog_CROSSWINDRES="$CROSSWINDRES" # Let the user override the test.
9807else
9808as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9809for as_dir in $PATH
9810do
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
9819done
9820done
9821IFS=$as_save_IFS
9822
9823fi
9824fi
9825CROSSWINDRES=$ac_cv_prog_CROSSWINDRES
9826if test -n "$CROSSWINDRES"; then
abf5048b
AJ
9827 { $as_echo "$as_me:$LINENO: result: $CROSSWINDRES" >&5
9828$as_echo "$CROSSWINDRES" >&6; }
a3097628 9829else
abf5048b
AJ
9830 { $as_echo "$as_me:$LINENO: result: no" >&5
9831$as_echo "no" >&6; }
f3719a88
MM
9832fi
9833
a3097628
AJ
9834
9835 test -n "$CROSSWINDRES" && break
f3719a88 9836done
a3097628 9837test -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
9840do
9841 # Extract the first word of "$ac_prog", so it can be a program name with args.
9842set 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 9845if test "${ac_cv_prog_MINGWAR+set}" = set; then
abf5048b 9846 $as_echo_n "(cached) " >&6
a3097628
AJ
9847else
9848 if test -n "$MINGWAR"; then
9849 ac_cv_prog_MINGWAR="$MINGWAR" # Let the user override the test.
9850else
9851as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9852for as_dir in $PATH
9853do
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
9862done
9863done
9864IFS=$as_save_IFS
2d6d4e96 9865
a3097628
AJ
9866fi
9867fi
9868MINGWAR=$ac_cv_prog_MINGWAR
9869if test -n "$MINGWAR"; then
abf5048b
AJ
9870 { $as_echo "$as_me:$LINENO: result: $MINGWAR" >&5
9871$as_echo "$MINGWAR" >&6; }
2d6d4e96 9872else
abf5048b
AJ
9873 { $as_echo "$as_me:$LINENO: result: no" >&5
9874$as_echo "no" >&6; }
2d6d4e96 9875fi
f3719a88
MM
9876
9877
a3097628
AJ
9878 test -n "$MINGWAR" && break
9879done
9880test -n "$MINGWAR" || MINGWAR="false"
2d6d4e96 9881
9fb81984
AJ
9882 if test "$CROSSCC" != "false"
9883 then
9884 CROSSTEST="\$(CROSSTEST)"
dbb535e4 9885
9fb81984 9886 fi
a3097628 9887fi
2d6d4e96 9888
2d6d4e96 9889
a3097628 9890if test "$have_x" = "yes"
2d6d4e96 9891then
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 9898if test "${ac_cv_lib_soname_X11+set}" = set; then
abf5048b 9899 $as_echo_n "(cached) " >&6
a851854a
AJ
9900else
9901 ac_check_soname_save_LIBS=$LIBS
9902LIBS="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
9903 cat >conftest.$ac_ext <<_ACEOF
9904/* confdefs.h. */
9905_ACEOF
9906cat confdefs.h >>conftest.$ac_ext
9907cat >>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
9914extern "C"
9915#endif
9916char XCreateWindow ();
9917int
9918main ()
9919{
9920return XCreateWindow ();
9921 ;
9922 return 0;
9923}
9924_ACEOF
9925rm -f conftest.$ac_objext conftest$ac_exeext
9926if { (ac_try="$ac_link"
9927case "(($ac_try" in
9928 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9929 *) ac_try_echo=$ac_try;;
9930esac
abf5048b
AJ
9931eval 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
9951else
abf5048b 9952 $as_echo "$as_me: failed program was:" >&5
a851854a
AJ
9953sed 's/^/| /' conftest.$ac_ext >&5
9954
9955
9956fi
9957
abf5048b 9958rm -rf conftest.dSYM
a851854a
AJ
9959rm -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
9962fi
9963if 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
9967else
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
9971cat >>confdefs.h <<_ACEOF
9972#define SONAME_LIBX11 "$ac_cv_lib_soname_X11"
9973_ACEOF
9974
9975
9976fi
9977
abf5048b
AJ
9978 { $as_echo "$as_me:$LINENO: checking for -lXext" >&5
9979$as_echo_n "checking for -lXext... " >&6; }
a851854a 9980if test "${ac_cv_lib_soname_Xext+set}" = set; then
abf5048b 9981 $as_echo_n "(cached) " >&6
a851854a
AJ
9982else
9983 ac_check_soname_save_LIBS=$LIBS
9984LIBS="-lXext $X_LIBS -lX11 $X_EXTRA_LIBS $LIBS"
9985 cat >conftest.$ac_ext <<_ACEOF
9986/* confdefs.h. */
9987_ACEOF
9988cat confdefs.h >>conftest.$ac_ext
9989cat >>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
9996extern "C"
9997#endif
9998char XextCreateExtension ();
9999int
10000main ()
10001{
10002return XextCreateExtension ();
10003 ;
10004 return 0;
10005}
10006_ACEOF
10007rm -f conftest.$ac_objext conftest$ac_exeext
10008if { (ac_try="$ac_link"
10009case "(($ac_try" in
10010 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10011 *) ac_try_echo=$ac_try;;
10012esac
abf5048b
AJ
10013eval 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
10033else
abf5048b 10034 $as_echo "$as_me: failed program was:" >&5
a851854a
AJ
10035sed 's/^/| /' conftest.$ac_ext >&5
10036
10037
10038fi
10039
abf5048b 10040rm -rf conftest.dSYM
a851854a
AJ
10041rm -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
10044fi
10045if 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
10049else
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
10053cat >>confdefs.h <<_ACEOF
10054#define SONAME_LIBXEXT "$ac_cv_lib_soname_Xext"
10055_ACEOF
10056
10057
10058fi
10059
10060
a3097628
AJ
10061
10062
10063
10064
10065
10066
10067
10068
10069
10070
10071
42584658 10072
a3097628
AJ
10073for 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 10085do
abf5048b
AJ
10086as_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 10089if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
abf5048b 10090 $as_echo_n "(cached) " >&6
f3719a88 10091else
a3097628 10092 cat >conftest.$ac_ext <<_ACEOF
f3719a88
MM
10093/* confdefs.h. */
10094_ACEOF
10095cat confdefs.h >>conftest.$ac_ext
10096cat >>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
10107rm -f conftest.$ac_objext
0ebeb530
JW
10108if { (ac_try="$ac_compile"
10109case "(($ac_try" in
10110 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10111 *) ac_try_echo=$ac_try;;
10112esac
abf5048b
AJ
10113eval 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 10126else
abf5048b 10127 $as_echo "$as_me: failed program was:" >&5
f3719a88
MM
10128sed 's/^/| /' conftest.$ac_ext >&5
10129
a3097628 10130 eval "$as_ac_Header=no"
f3719a88 10131fi
fc6ffb29 10132
0ebeb530 10133rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
f3719a88 10134fi
abf5048b
AJ
10135ac_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; }
10139as_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
10146fi
10147
10148done
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 10155if test "${ac_cv_lib_X11_XkbQueryExtension+set}" = set; then
abf5048b 10156 $as_echo_n "(cached) " >&6
f3719a88
MM
10157else
10158 ac_check_lib_save_LIBS=$LIBS
a3097628 10159LIBS="-lX11 $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
f3719a88
MM
10160cat >conftest.$ac_ext <<_ACEOF
10161/* confdefs.h. */
10162_ACEOF
10163cat confdefs.h >>conftest.$ac_ext
10164cat >>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
10171extern "C"
10172#endif
a3097628 10173char XkbQueryExtension ();
f3719a88
MM
10174int
10175main ()
10176{
a3097628 10177return XkbQueryExtension ();
f3719a88
MM
10178 ;
10179 return 0;
10180}
10181_ACEOF
10182rm -f conftest.$ac_objext conftest$ac_exeext
0ebeb530
JW
10183if { (ac_try="$ac_link"
10184case "(($ac_try" in
10185 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10186 *) ac_try_echo=$ac_try;;
10187esac
abf5048b
AJ
10188eval 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 10204else
abf5048b 10205 $as_echo "$as_me: failed program was:" >&5
f3719a88
MM
10206sed 's/^/| /' conftest.$ac_ext >&5
10207
a3097628 10208 ac_cv_lib_X11_XkbQueryExtension=no
f3719a88 10209fi
fc6ffb29 10210
abf5048b 10211rm -rf conftest.dSYM
f0ca586f 10212rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
f3719a88
MM
10213 conftest$ac_exeext conftest.$ac_ext
10214LIBS=$ac_check_lib_save_LIBS
10215fi
abf5048b
AJ
10216{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_X11_XkbQueryExtension" >&5
10217$as_echo "$ac_cv_lib_X11_XkbQueryExtension" >&6; }
10218if test "x$ac_cv_lib_X11_XkbQueryExtension" = x""yes; then
f3719a88
MM
10219
10220cat >>confdefs.h <<\_ACEOF
a3097628 10221#define HAVE_XKB 1
f3719a88
MM
10222_ACEOF
10223
19a988a2
AJ
10224fi
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 10232if test "${ac_cv_lib_soname_Xcursor+set}" = set; then
abf5048b 10233 $as_echo_n "(cached) " >&6
19a988a2
AJ
10234else
10235 ac_check_soname_save_LIBS=$LIBS
10236LIBS="-lXcursor $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
10237 cat >conftest.$ac_ext <<_ACEOF
10238/* confdefs.h. */
10239_ACEOF
10240cat confdefs.h >>conftest.$ac_ext
10241cat >>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
10248extern "C"
10249#endif
10250char XcursorImageLoadCursor ();
10251int
10252main ()
10253{
10254return XcursorImageLoadCursor ();
10255 ;
10256 return 0;
10257}
10258_ACEOF
10259rm -f conftest.$ac_objext conftest$ac_exeext
10260if { (ac_try="$ac_link"
10261case "(($ac_try" in
10262 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10263 *) ac_try_echo=$ac_try;;
10264esac
abf5048b
AJ
10265eval 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
10285else
abf5048b 10286 $as_echo "$as_me: failed program was:" >&5
19a988a2
AJ
10287sed 's/^/| /' conftest.$ac_ext >&5
10288
10289
10290fi
10291
abf5048b 10292rm -rf conftest.dSYM
19a988a2
AJ
10293rm -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
10296fi
10297if 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
10301else
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
10305cat >>confdefs.h <<_ACEOF
10306#define SONAME_LIBXCURSOR "$ac_cv_lib_soname_Xcursor"
10307_ACEOF
10308
10309
d68d4335
AJ
10310fi
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 10318This 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
10320This is an error since --with-xcursor was requested." >&2;}
10321 { (exit 1); exit 1; }; } ;;
10322esac
10323fi
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 10330if test "${ac_cv_lib_soname_Xi+set}" = set; then
abf5048b 10331 $as_echo_n "(cached) " >&6
d68d4335
AJ
10332else
10333 ac_check_soname_save_LIBS=$LIBS
10334LIBS="-lXi $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
10335 cat >conftest.$ac_ext <<_ACEOF
10336/* confdefs.h. */
10337_ACEOF
10338cat confdefs.h >>conftest.$ac_ext
10339cat >>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
10346extern "C"
10347#endif
10348char XOpenDevice ();
10349int
10350main ()
10351{
10352return XOpenDevice ();
10353 ;
10354 return 0;
10355}
10356_ACEOF
10357rm -f conftest.$ac_objext conftest$ac_exeext
10358if { (ac_try="$ac_link"
10359case "(($ac_try" in
10360 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10361 *) ac_try_echo=$ac_try;;
10362esac
abf5048b
AJ
10363eval 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
10383else
abf5048b 10384 $as_echo "$as_me: failed program was:" >&5
d68d4335
AJ
10385sed 's/^/| /' conftest.$ac_ext >&5
10386
10387
10388fi
10389
abf5048b 10390rm -rf conftest.dSYM
d68d4335
AJ
10391rm -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
10394fi
10395if 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
10399else
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
10403cat >>confdefs.h <<_ACEOF
10404#define SONAME_LIBXI "$ac_cv_lib_soname_Xi"
10405_ACEOF
10406
10407
90c75bdd 10408fi
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 10416This 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
10418This is an error since --with-xinput was requested." >&2;}
10419 { (exit 1); exit 1; }; } ;;
10420esac
10421fi
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 10428if test "${ac_cv_lib_Xext_XShmQueryExtension+set}" = set; then
abf5048b 10429 $as_echo_n "(cached) " >&6
daa2886c 10430else
73482144 10431 ac_check_lib_save_LIBS=$LIBS
a3097628 10432LIBS="-lXext $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
daa2886c 10433cat >conftest.$ac_ext <<_ACEOF
e24bcc77
AJ
10434/* confdefs.h. */
10435_ACEOF
10436cat confdefs.h >>conftest.$ac_ext
10437cat >>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
10444extern "C"
10445#endif
a3097628 10446char XShmQueryExtension ();
73482144
AJ
10447int
10448main ()
10449{
a3097628 10450return XShmQueryExtension ();
73482144
AJ
10451 ;
10452 return 0;
10453}
daa2886c 10454_ACEOF
73482144 10455rm -f conftest.$ac_objext conftest$ac_exeext
0ebeb530
JW
10456if { (ac_try="$ac_link"
10457case "(($ac_try" in
10458 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10459 *) ac_try_echo=$ac_try;;
10460esac
abf5048b
AJ
10461eval 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 10477else
abf5048b 10478 $as_echo "$as_me: failed program was:" >&5
e24bcc77
AJ
10479sed 's/^/| /' conftest.$ac_ext >&5
10480
a3097628 10481 ac_cv_lib_Xext_XShmQueryExtension=no
24110288 10482fi
fc6ffb29 10483
abf5048b 10484rm -rf conftest.dSYM
f0ca586f 10485rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
73482144
AJ
10486 conftest$ac_exeext conftest.$ac_ext
10487LIBS=$ac_check_lib_save_LIBS
10488fi
abf5048b
AJ
10489{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XShmQueryExtension" >&5
10490$as_echo "$ac_cv_lib_Xext_XShmQueryExtension" >&6; }
10491if test "x$ac_cv_lib_Xext_XShmQueryExtension" = x""yes; then
24110288 10492
73482144 10493cat >>confdefs.h <<\_ACEOF
a3097628 10494#define HAVE_LIBXXSHM 1
73482144
AJ
10495_ACEOF
10496
6a530aba
LZ
10497fi
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 10505This 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
10507This is an error since --with-xshm was requested." >&2;}
10508 { (exit 1); exit 1; }; } ;;
10509esac
f9dec94f
AJ
10510fi
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 10517if test "${ac_cv_lib_Xext_XShapeQueryExtension+set}" = set; then
abf5048b 10518 $as_echo_n "(cached) " >&6
6a530aba
LZ
10519else
10520 ac_check_lib_save_LIBS=$LIBS
a3097628 10521LIBS="-lXext $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
6a530aba
LZ
10522cat >conftest.$ac_ext <<_ACEOF
10523/* confdefs.h. */
10524_ACEOF
10525cat confdefs.h >>conftest.$ac_ext
10526cat >>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
10533extern "C"
10534#endif
a3097628 10535char XShapeQueryExtension ();
6a530aba
LZ
10536int
10537main ()
10538{
a3097628 10539return XShapeQueryExtension ();
6a530aba
LZ
10540 ;
10541 return 0;
10542}
10543_ACEOF
10544rm -f conftest.$ac_objext conftest$ac_exeext
10545if { (ac_try="$ac_link"
10546case "(($ac_try" in
10547 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10548 *) ac_try_echo=$ac_try;;
10549esac
abf5048b
AJ
10550eval 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 10566else
abf5048b 10567 $as_echo "$as_me: failed program was:" >&5
6a530aba
LZ
10568sed 's/^/| /' conftest.$ac_ext >&5
10569
a3097628 10570 ac_cv_lib_Xext_XShapeQueryExtension=no
6a530aba
LZ
10571fi
10572
abf5048b 10573rm -rf conftest.dSYM
6a530aba
LZ
10574rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10575 conftest$ac_exeext conftest.$ac_ext
10576LIBS=$ac_check_lib_save_LIBS
10577fi
abf5048b
AJ
10578{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
10579$as_echo "$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
10580if test "x$ac_cv_lib_Xext_XShapeQueryExtension" = x""yes; then
fc6ffb29 10581
a3097628
AJ
10582cat >>confdefs.h <<\_ACEOF
10583#define HAVE_LIBXSHAPE 1
2d6d4e96 10584_ACEOF
a3097628
AJ
10585
10586fi
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 10594This 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
10596This is an error since --with-xshape was requested." >&2;}
10597 { (exit 1); exit 1; }; } ;;
10598esac
f9dec94f
AJ
10599fi
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 10606if test "${ac_cv_lib_soname_Xxf86vm+set}" = set; then
abf5048b 10607 $as_echo_n "(cached) " >&6
2d6d4e96 10608else
a49beb4c 10609 ac_check_soname_save_LIBS=$LIBS
a3097628 10610LIBS="-lXxf86vm $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
a49beb4c 10611 cat >conftest.$ac_ext <<_ACEOF
2d6d4e96
HL
10612/* confdefs.h. */
10613_ACEOF
10614cat confdefs.h >>conftest.$ac_ext
10615cat >>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
10622extern "C"
10623#endif
a3097628 10624char XF86VidModeQueryExtension ();
2d6d4e96
HL
10625int
10626main ()
10627{
a3097628 10628return XF86VidModeQueryExtension ();
2d6d4e96
HL
10629 ;
10630 return 0;
10631}
10632_ACEOF
10633rm -f conftest.$ac_objext conftest$ac_exeext
0ebeb530
JW
10634if { (ac_try="$ac_link"
10635case "(($ac_try" in
10636 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10637 *) ac_try_echo=$ac_try;;
10638esac
abf5048b
AJ
10639eval 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 10659else
abf5048b 10660 $as_echo "$as_me: failed program was:" >&5
2d6d4e96
HL
10661sed 's/^/| /' conftest.$ac_ext >&5
10662
a49beb4c 10663
2d6d4e96 10664fi
fc6ffb29 10665
abf5048b 10666rm -rf conftest.dSYM
f0ca586f 10667rm -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 10670fi
a49beb4c 10671if 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 10675else
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
10679cat >>confdefs.h <<_ACEOF
10680#define SONAME_LIBXXF86VM "$ac_cv_lib_soname_Xxf86vm"
2d6d4e96
HL
10681_ACEOF
10682
2d6d4e96 10683
00068989
AJ
10684fi
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 10692This 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 10694This is an error since --with-xxf86vm was requested." >&2;}
a41f0f1b
AJ
10695 { (exit 1); exit 1; }; } ;;
10696esac
f9dec94f
AJ
10697fi
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 10704if test "${ac_cv_lib_soname_Xrender+set}" = set; then
abf5048b 10705 $as_echo_n "(cached) " >&6
629639ee
AJ
10706else
10707 ac_check_soname_save_LIBS=$LIBS
10708LIBS="-lXrender $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
10709 cat >conftest.$ac_ext <<_ACEOF
00068989
AJ
10710/* confdefs.h. */
10711_ACEOF
10712cat confdefs.h >>conftest.$ac_ext
10713cat >>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
10720extern "C"
10721#endif
10722char XRenderQueryExtension ();
a3097628
AJ
10723int
10724main ()
10725{
629639ee 10726return XRenderQueryExtension ();
a3097628
AJ
10727 ;
10728 return 0;
10729}
00068989 10730_ACEOF
629639ee
AJ
10731rm -f conftest.$ac_objext conftest$ac_exeext
10732if { (ac_try="$ac_link"
0ebeb530
JW
10733case "(($ac_try" in
10734 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10735 *) ac_try_echo=$ac_try;;
10736esac
abf5048b
AJ
10737eval 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
10757else
abf5048b 10758 $as_echo "$as_me: failed program was:" >&5
629639ee
AJ
10759sed 's/^/| /' conftest.$ac_ext >&5
10760
10761
10762fi
10763
abf5048b 10764rm -rf conftest.dSYM
629639ee
AJ
10765rm -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
10768fi
10769if 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
10773else
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
10777cat >>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 10783if test "${ac_cv_lib_Xrender_XRenderSetPictureTransform+set}" = set; then
abf5048b 10784 $as_echo_n "(cached) " >&6
af928ecb 10785else
629639ee
AJ
10786 ac_check_lib_save_LIBS=$LIBS
10787LIBS="-lXrender $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
10788cat >conftest.$ac_ext <<_ACEOF
af928ecb
AJ
10789/* confdefs.h. */
10790_ACEOF
10791cat confdefs.h >>conftest.$ac_ext
10792cat >>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
10799extern "C"
10800#endif
629639ee 10801char XRenderSetPictureTransform ();
af928ecb
AJ
10802int
10803main ()
10804{
629639ee 10805return XRenderSetPictureTransform ();
af928ecb
AJ
10806 ;
10807 return 0;
10808}
10809_ACEOF
10810rm -f conftest.$ac_objext conftest$ac_exeext
10811if { (ac_try="$ac_link"
10812case "(($ac_try" in
10813 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10814 *) ac_try_echo=$ac_try;;
10815esac
abf5048b
AJ
10816eval 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 10832else
abf5048b 10833 $as_echo "$as_me: failed program was:" >&5
af928ecb
AJ
10834sed 's/^/| /' conftest.$ac_ext >&5
10835
629639ee 10836 ac_cv_lib_Xrender_XRenderSetPictureTransform=no
af928ecb
AJ
10837fi
10838
abf5048b 10839rm -rf conftest.dSYM
af928ecb
AJ
10840rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10841 conftest$ac_exeext conftest.$ac_ext
629639ee 10842LIBS=$ac_check_lib_save_LIBS
af928ecb 10843fi
abf5048b
AJ
10844{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_Xrender_XRenderSetPictureTransform" >&5
10845$as_echo "$ac_cv_lib_Xrender_XRenderSetPictureTransform" >&6; }
10846if test "x$ac_cv_lib_Xrender_XRenderSetPictureTransform" = x""yes; then
af928ecb 10847
629639ee
AJ
10848cat >>confdefs.h <<\_ACEOF
10849#define HAVE_XRENDERSETPICTURETRANSFORM 1
a3097628
AJ
10850_ACEOF
10851
af928ecb
AJ
10852fi
10853
00068989 10854fi
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 10863This 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
10865This is an error since --with-xrender was requested." >&2;}
10866 { (exit 1); exit 1; }; } ;;
10867esac
f9dec94f
AJ
10868fi
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
10876cat confdefs.h >>conftest.$ac_ext
10877cat >>conftest.$ac_ext <<_ACEOF
10878/* end confdefs.h. */
10879#include <X11/Xlib.h>
10880#include <X11/extensions/Xrandr.h>
10881int
10882main ()
10883{
10884static typeof(XRRSetScreenConfigAndRate) * func;
10885 ;
10886 return 0;
10887}
10888_ACEOF
10889rm -f conftest.$ac_objext
10890if { (ac_try="$ac_compile"
10891case "(($ac_try" in
10892 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10893 *) ac_try_echo=$ac_try;;
10894esac
abf5048b
AJ
10895eval 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 10909if test "${ac_cv_lib_soname_Xrandr+set}" = set; then
abf5048b 10910 $as_echo_n "(cached) " >&6
a3097628 10911else
629639ee
AJ
10912 ac_check_soname_save_LIBS=$LIBS
10913LIBS="-lXrandr $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
10914 cat >conftest.$ac_ext <<_ACEOF
00068989
AJ
10915/* confdefs.h. */
10916_ACEOF
10917cat confdefs.h >>conftest.$ac_ext
10918cat >>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
10925extern "C"
10926#endif
629639ee 10927char XRRQueryExtension ();
a3097628
AJ
10928int
10929main ()
10930{
629639ee 10931return XRRQueryExtension ();
a3097628
AJ
10932 ;
10933 return 0;
10934}
00068989 10935_ACEOF
a3097628
AJ
10936rm -f conftest.$ac_objext conftest$ac_exeext
10937if { (ac_try="$ac_link"
0ebeb530
JW
10938case "(($ac_try" in
10939 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10940 *) ac_try_echo=$ac_try;;
10941esac
abf5048b
AJ
10942eval 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 10962else
abf5048b 10963 $as_echo "$as_me: failed program was:" >&5
00068989
AJ
10964sed 's/^/| /' conftest.$ac_ext >&5
10965
629639ee 10966
00068989 10967fi
fc6ffb29 10968
abf5048b 10969rm -rf conftest.dSYM
a3097628
AJ
10970rm -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 10973fi
629639ee 10974if 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 10978else
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
10982cat >>confdefs.h <<_ACEOF
10983#define SONAME_LIBXRANDR "$ac_cv_lib_soname_Xrandr"
00068989 10984_ACEOF
b18b9f37 10985
629639ee 10986
b18b9f37
AJ
10987fi
10988
629639ee 10989else
abf5048b 10990 $as_echo "$as_me: failed program was:" >&5
629639ee
AJ
10991sed 's/^/| /' conftest.$ac_ext >&5
10992
10993
10994fi
10995
10996rm -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 11003This 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
11005This is an error since --with-xrandr was requested." >&2;}
11006 { (exit 1); exit 1; }; } ;;
11007esac
f9dec94f
AJ
11008fi
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
11016cat confdefs.h >>conftest.$ac_ext
11017cat >>conftest.$ac_ext <<_ACEOF
11018/* end confdefs.h. */
a3097628
AJ
11019#include <X11/Xlib.h>
11020#include <X11/extensions/Xinerama.h>
00068989
AJ
11021int
11022main ()
11023{
a3097628 11024static typeof(XineramaQueryScreens) * func;
00068989
AJ
11025 ;
11026 return 0;
11027}
11028_ACEOF
a3097628
AJ
11029rm -f conftest.$ac_objext
11030if { (ac_try="$ac_compile"
0ebeb530
JW
11031case "(($ac_try" in
11032 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11033 *) ac_try_echo=$ac_try;;
11034esac
abf5048b
AJ
11035eval 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 11049if test "${ac_cv_lib_soname_Xinerama+set}" = set; then
abf5048b 11050 $as_echo_n "(cached) " >&6
35d2fd7a
AJ
11051else
11052 ac_check_soname_save_LIBS=$LIBS
11053LIBS="-lXinerama $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
11054 cat >conftest.$ac_ext <<_ACEOF
11055/* confdefs.h. */
11056_ACEOF
11057cat confdefs.h >>conftest.$ac_ext
11058cat >>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
11065extern "C"
11066#endif
11067char XineramaQueryScreens ();
11068int
11069main ()
11070{
11071return XineramaQueryScreens ();
11072 ;
11073 return 0;
11074}
11075_ACEOF
11076rm -f conftest.$ac_objext conftest$ac_exeext
11077if { (ac_try="$ac_link"
11078case "(($ac_try" in
11079 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11080 *) ac_try_echo=$ac_try;;
11081esac
abf5048b
AJ
11082eval 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
11102else
abf5048b 11103 $as_echo "$as_me: failed program was:" >&5
35d2fd7a
AJ
11104sed 's/^/| /' conftest.$ac_ext >&5
11105
11106
11107fi
11108
abf5048b 11109rm -rf conftest.dSYM
35d2fd7a
AJ
11110rm -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
11113fi
11114if 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
11118else
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
11122cat >>confdefs.h <<_ACEOF
11123#define SONAME_LIBXINERAMA "$ac_cv_lib_soname_Xinerama"
a3097628
AJ
11124_ACEOF
11125
35d2fd7a
AJ
11126
11127fi
11128
00068989 11129else
abf5048b 11130 $as_echo "$as_me: failed program was:" >&5
00068989
AJ
11131sed 's/^/| /' conftest.$ac_ext >&5
11132
fc6ffb29 11133
a3097628
AJ
11134fi
11135
11136rm -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 11143This 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
11145This is an error since --with-xinerama was requested." >&2;}
11146 { (exit 1); exit 1; }; } ;;
11147esac
f9dec94f
AJ
11148fi
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 11155if test "${ac_cv_lib_soname_Xcomposite+set}" = set; then
abf5048b 11156 $as_echo_n "(cached) " >&6
42584658
CR
11157else
11158 ac_check_soname_save_LIBS=$LIBS
11159LIBS="-lXcomposite $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
11160 cat >conftest.$ac_ext <<_ACEOF
11161/* confdefs.h. */
11162_ACEOF
11163cat confdefs.h >>conftest.$ac_ext
11164cat >>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
11171extern "C"
11172#endif
11173char XCompositeRedirectWindow ();
11174int
11175main ()
11176{
11177return XCompositeRedirectWindow ();
11178 ;
11179 return 0;
11180}
11181_ACEOF
11182rm -f conftest.$ac_objext conftest$ac_exeext
11183if { (ac_try="$ac_link"
11184case "(($ac_try" in
11185 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11186 *) ac_try_echo=$ac_try;;
11187esac
abf5048b
AJ
11188eval 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
11208else
abf5048b 11209 $as_echo "$as_me: failed program was:" >&5
42584658
CR
11210sed 's/^/| /' conftest.$ac_ext >&5
11211
11212
11213fi
11214
abf5048b 11215rm -rf conftest.dSYM
42584658
CR
11216rm -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
11219fi
11220if 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
11224else
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
11228cat >>confdefs.h <<_ACEOF
11229#define SONAME_LIBXCOMPOSITE "$ac_cv_lib_soname_Xcomposite"
11230_ACEOF
11231
11232
11233fi
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 11241This 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
11243This is an error since --with-xcomposite was requested." >&2;}
11244 { (exit 1); exit 1; }; } ;;
11245esac
42584658
CR
11246fi
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 11251if test "${ac_cv_member_XICCallback_callback+set}" = set; then
abf5048b 11252 $as_echo_n "(cached) " >&6
75e40229
KK
11253else
11254 cat >conftest.$ac_ext <<_ACEOF
11255/* confdefs.h. */
11256_ACEOF
11257cat confdefs.h >>conftest.$ac_ext
11258cat >>conftest.$ac_ext <<_ACEOF
11259/* end confdefs.h. */
11260#ifdef HAVE_X11_XLIB_H
11261#include <X11/Xlib.h>
11262#endif
11263
11264int
11265main ()
11266{
11267static XICCallback ac_aggr;
11268if (ac_aggr.callback)
11269return 0;
11270 ;
11271 return 0;
11272}
11273_ACEOF
11274rm -f conftest.$ac_objext
11275if { (ac_try="$ac_compile"
11276case "(($ac_try" in
11277 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11278 *) ac_try_echo=$ac_try;;
11279esac
abf5048b
AJ
11280eval 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
11293else
abf5048b 11294 $as_echo "$as_me: failed program was:" >&5
75e40229
KK
11295sed 's/^/| /' conftest.$ac_ext >&5
11296
11297 cat >conftest.$ac_ext <<_ACEOF
11298/* confdefs.h. */
11299_ACEOF
11300cat confdefs.h >>conftest.$ac_ext
11301cat >>conftest.$ac_ext <<_ACEOF
11302/* end confdefs.h. */
11303#ifdef HAVE_X11_XLIB_H
11304#include <X11/Xlib.h>
11305#endif
11306
11307int
11308main ()
11309{
11310static XICCallback ac_aggr;
11311if (sizeof ac_aggr.callback)
11312return 0;
11313 ;
11314 return 0;
11315}
11316_ACEOF
11317rm -f conftest.$ac_objext
11318if { (ac_try="$ac_compile"
11319case "(($ac_try" in
11320 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11321 *) ac_try_echo=$ac_try;;
11322esac
abf5048b
AJ
11323eval 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
11336else
abf5048b 11337 $as_echo "$as_me: failed program was:" >&5
75e40229
KK
11338sed 's/^/| /' conftest.$ac_ext >&5
11339
11340 ac_cv_member_XICCallback_callback=no
11341fi
11342
11343rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11344fi
11345
11346rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11347fi
abf5048b
AJ
11348{ $as_echo "$as_me:$LINENO: result: $ac_cv_member_XICCallback_callback" >&5
11349$as_echo "$ac_cv_member_XICCallback_callback" >&6; }
11350if test "x$ac_cv_member_XICCallback_callback" = x""yes; then
75e40229
KK
11351
11352cat >>confdefs.h <<_ACEOF
11353#define HAVE_XICCALLBACK_CALLBACK 1
11354_ACEOF
11355
11356
11357fi
11358
11359
a3097628 11360
a41f0f1b
AJ
11361 opengl_msg=""
11362 if test "x$with_opengl" != "xno"
a3097628
AJ
11363 then
11364
11365
11366
11367
11368for ac_header in GL/gl.h GL/glx.h GL/glext.h GL/glu.h
11369do
abf5048b
AJ
11370as_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 11373if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
abf5048b 11374 $as_echo_n "(cached) " >&6
b18b9f37 11375else
a3097628 11376 cat >conftest.$ac_ext <<_ACEOF
b18b9f37
AJ
11377/* confdefs.h. */
11378_ACEOF
11379cat confdefs.h >>conftest.$ac_ext
11380cat >>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
11388rm -f conftest.$ac_objext
11389if { (ac_try="$ac_compile"
0ebeb530
JW
11390case "(($ac_try" in
11391 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11392 *) ac_try_echo=$ac_try;;
11393esac
abf5048b
AJ
11394eval 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 11407else
abf5048b 11408 $as_echo "$as_me: failed program was:" >&5
b18b9f37
AJ
11409sed 's/^/| /' conftest.$ac_ext >&5
11410
a3097628 11411 eval "$as_ac_Header=no"
b18b9f37 11412fi
fc6ffb29 11413
a3097628 11414rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
b18b9f37 11415fi
abf5048b
AJ
11416ac_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; }
11420as_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
11427fi
11428
a3097628 11429done
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 11435if test "${wine_cv_opengl_header_version_OK+set}" = set; then
abf5048b 11436 $as_echo_n "(cached) " >&6
2d6d4e96 11437else
a3097628 11438 cat >conftest.$ac_ext <<_ACEOF
2d6d4e96
HL
11439/* confdefs.h. */
11440_ACEOF
11441cat confdefs.h >>conftest.$ac_ext
11442cat >>conftest.$ac_ext <<_ACEOF
11443/* end confdefs.h. */
a3097628 11444#include <GL/gl.h>
2d6d4e96
HL
11445int
11446main ()
11447{
a3097628 11448GLenum test = GL_UNSIGNED_SHORT_5_6_5;
2d6d4e96
HL
11449 ;
11450 return 0;
11451}
11452_ACEOF
a3097628
AJ
11453rm -f conftest.$ac_objext
11454if { (ac_try="$ac_compile"
0ebeb530
JW
11455case "(($ac_try" in
11456 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11457 *) ac_try_echo=$ac_try;;
11458esac
abf5048b
AJ
11459eval 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 11472else
abf5048b 11473 $as_echo "$as_me: failed program was:" >&5
2d6d4e96
HL
11474sed 's/^/| /' conftest.$ac_ext >&5
11475
a3097628 11476 wine_cv_opengl_header_version_OK="no"
2d6d4e96 11477fi
fc6ffb29 11478
a3097628 11479rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2d6d4e96 11480fi
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 11488if test "${ac_cv_lib_soname_GL+set}" = set; then
abf5048b 11489 $as_echo_n "(cached) " >&6
2d6d4e96 11490else
31353e1e 11491 ac_check_soname_save_LIBS=$LIBS
a3097628 11492LIBS="-lGL $X_LIBS -lXext -lX11 -lm $X_EXTRA_LIBS $LIBS"
31353e1e 11493 cat >conftest.$ac_ext <<_ACEOF
2d6d4e96
HL
11494/* confdefs.h. */
11495_ACEOF
11496cat confdefs.h >>conftest.$ac_ext
11497cat >>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
11504extern "C"
11505#endif
a3097628 11506char glXCreateContext ();
2d6d4e96
HL
11507int
11508main ()
11509{
a3097628 11510return glXCreateContext ();
2d6d4e96
HL
11511 ;
11512 return 0;
11513}
11514_ACEOF
11515rm -f conftest.$ac_objext conftest$ac_exeext
0ebeb530
JW
11516if { (ac_try="$ac_link"
11517case "(($ac_try" in
11518 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11519 *) ac_try_echo=$ac_try;;
11520esac
abf5048b
AJ
11521eval 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 11541else
abf5048b 11542 $as_echo "$as_me: failed program was:" >&5
2d6d4e96
HL
11543sed 's/^/| /' conftest.$ac_ext >&5
11544
31353e1e 11545
d701ee22
FG
11546fi
11547
abf5048b 11548rm -rf conftest.dSYM
d701ee22
FG
11549rm -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
11552fi
11553if 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 11558if test "${ac_cv_lib_soname_GL+set}" = set; then
abf5048b 11559 $as_echo_n "(cached) " >&6
d701ee22
FG
11560else
11561 ac_check_soname_save_LIBS=$LIBS
11562LIBS="-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
11566cat confdefs.h >>conftest.$ac_ext
11567cat >>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
11574extern "C"
11575#endif
11576char glXCreateContext ();
11577int
11578main ()
11579{
11580return glXCreateContext ();
11581 ;
11582 return 0;
11583}
11584_ACEOF
11585rm -f conftest.$ac_objext conftest$ac_exeext
11586if { (ac_try="$ac_link"
11587case "(($ac_try" in
11588 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11589 *) ac_try_echo=$ac_try;;
11590esac
abf5048b
AJ
11591eval 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
11611else
abf5048b 11612 $as_echo "$as_me: failed program was:" >&5
d701ee22
FG
11613sed 's/^/| /' conftest.$ac_ext >&5
11614
11615
2d6d4e96 11616fi
fc6ffb29 11617
abf5048b 11618rm -rf conftest.dSYM
f0ca586f 11619rm -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 11622fi
31353e1e 11623if 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 11629This 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
11633else
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
11637cat >>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
11643cat >>confdefs.h <<\_ACEOF
11644#define HAVE_OPENGL 1
11645_ACEOF
11646
11647fi
11648
31353e1e 11649else
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
11653cat >>confdefs.h <<_ACEOF
11654#define SONAME_LIBGL "$ac_cv_lib_soname_GL"
11655_ACEOF
11656
11657 OPENGL_LIBS="-lGL"
a3097628
AJ
11658
11659cat >>confdefs.h <<\_ACEOF
11660#define HAVE_OPENGL 1
11661_ACEOF
11662
8f1d42eb 11663fi
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 11669if test "${ac_cv_lib_soname_GLU+set}" = set; then
abf5048b 11670 $as_echo_n "(cached) " >&6
f5f37a85 11671else
ad798735 11672 ac_check_soname_save_LIBS=$LIBS
f9dec94f 11673LIBS="-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
11677cat confdefs.h >>conftest.$ac_ext
11678cat >>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
11685extern "C"
11686#endif
a3097628 11687char gluLookAt ();
f5f37a85
AJ
11688int
11689main ()
11690{
a3097628 11691return gluLookAt ();
f5f37a85
AJ
11692 ;
11693 return 0;
11694}
11695_ACEOF
11696rm -f conftest.$ac_objext conftest$ac_exeext
11697if { (ac_try="$ac_link"
11698case "(($ac_try" in
11699 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11700 *) ac_try_echo=$ac_try;;
11701esac
abf5048b
AJ
11702eval 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 11722else
abf5048b 11723 $as_echo "$as_me: failed program was:" >&5
a3097628 11724sed 's/^/| /' conftest.$ac_ext >&5
73482144 11725
ad798735 11726
73482144 11727fi
a3097628 11728
abf5048b 11729rm -rf conftest.dSYM
a3097628
AJ
11730rm -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 11733fi
ad798735 11734if 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 11738else
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
11742cat >>confdefs.h <<_ACEOF
11743#define SONAME_LIBGLU "$ac_cv_lib_soname_GLU"
11744_ACEOF
11745
dbb535e4 11746
ad798735
AJ
11747fi
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 11755This 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
11757This is an error since --with-glu was requested." >&2;}
11758 { (exit 1); exit 1; }; } ;;
11759esac
73482144
AJ
11760fi
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
11777OpenGL and Direct3D won't be supported." ;;
11778 xno) ;;
abf5048b 11779 *) { { $as_echo "$as_me:$LINENO: error: $opengl_msg
a41f0f1b
AJ
11780OpenGL and Direct3D won't be supported.
11781This is an error since --with-opengl was requested." >&5
abf5048b 11782$as_echo "$as_me: error: $opengl_msg
a41f0f1b
AJ
11783OpenGL and Direct3D won't be supported.
11784This is an error since --with-opengl was requested." >&2;}
11785 { (exit 1); exit 1; }; } ;;
11786esac
11787fi
11788
f9dec94f 11789
a3097628 11790 NASLIBS=""
fc6ffb29 11791
82776020 11792
a3097628
AJ
11793for ac_header in audio/audiolib.h
11794do
abf5048b 11795as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
a3097628 11796if { 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 11799if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
abf5048b 11800 $as_echo_n "(cached) " >&6
daa2886c 11801fi
abf5048b
AJ
11802ac_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 11806else
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 11810cat >conftest.$ac_ext <<_ACEOF
e24bcc77
AJ
11811/* confdefs.h. */
11812_ACEOF
11813cat confdefs.h >>conftest.$ac_ext
11814cat >>conftest.$ac_ext <<_ACEOF
11815/* end confdefs.h. */
daa2886c 11816$ac_includes_default
a3097628 11817#include <$ac_header>
daa2886c
AJ
11818_ACEOF
11819rm -f conftest.$ac_objext
0ebeb530
JW
11820if { (ac_try="$ac_compile"
11821case "(($ac_try" in
11822 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11823 *) ac_try_echo=$ac_try;;
11824esac
abf5048b
AJ
11825eval 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
11838else
abf5048b 11839 $as_echo "$as_me: failed program was:" >&5
e24bcc77
AJ
11840sed 's/^/| /' conftest.$ac_ext >&5
11841
fc6ffb29 11842 ac_header_compiler=no
daa2886c 11843fi
fc6ffb29 11844
0ebeb530 11845rm -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 11852cat >conftest.$ac_ext <<_ACEOF
e24bcc77
AJ
11853/* confdefs.h. */
11854_ACEOF
11855cat confdefs.h >>conftest.$ac_ext
11856cat >>conftest.$ac_ext <<_ACEOF
11857/* end confdefs.h. */
a3097628 11858#include <$ac_header>
f5818d2f 11859_ACEOF
0ebeb530
JW
11860if { (ac_try="$ac_cpp conftest.$ac_ext"
11861case "(($ac_try" in
11862 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11863 *) ac_try_echo=$ac_try;;
11864esac
abf5048b
AJ
11865eval 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 11878else
abf5048b 11879 $as_echo "$as_me: failed program was:" >&5
e24bcc77
AJ
11880sed 's/^/| /' conftest.$ac_ext >&5
11881
daa2886c 11882 ac_header_preproc=no
24110288 11883fi
fc6ffb29 11884
f5818d2f 11885rm -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
11890case $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 11918esac
abf5048b
AJ
11919{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
11920$as_echo_n "checking for $ac_header... " >&6; }
a3097628 11921if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
abf5048b 11922 $as_echo_n "(cached) " >&6
daa2886c 11923else
a3097628 11924 eval "$as_ac_Header=\$ac_header_preproc"
24110288 11925fi
abf5048b
AJ
11926ac_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
11931fi
abf5048b
AJ
11932as_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 11939for ac_header in audio/soundlib.h
40e7ef3a 11940do
abf5048b
AJ
11941as_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 11944if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
abf5048b 11945 $as_echo_n "(cached) " >&6
40e7ef3a 11946else
a3097628 11947 cat >conftest.$ac_ext <<_ACEOF
40e7ef3a
MM
11948/* confdefs.h. */
11949_ACEOF
11950cat confdefs.h >>conftest.$ac_ext
11951cat >>conftest.$ac_ext <<_ACEOF
11952/* end confdefs.h. */
a3097628
AJ
11953#include <audio/audiolib.h>
11954
11955#include <$ac_header>
40e7ef3a
MM
11956_ACEOF
11957rm -f conftest.$ac_objext
0ebeb530
JW
11958if { (ac_try="$ac_compile"
11959case "(($ac_try" in
11960 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11961 *) ac_try_echo=$ac_try;;
11962esac
abf5048b
AJ
11963eval 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 11976else
abf5048b 11977 $as_echo "$as_me: failed program was:" >&5
40e7ef3a
MM
11978sed 's/^/| /' conftest.$ac_ext >&5
11979
a3097628 11980 eval "$as_ac_Header=no"
40e7ef3a 11981fi
fc6ffb29 11982
0ebeb530 11983rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
a3097628 11984fi
abf5048b
AJ
11985ac_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; }
11989as_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
11996fi
11997
11998done
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 12002if test "${ac_cv_lib_audio_AuCreateFlow+set}" = set; then
abf5048b 12003 $as_echo_n "(cached) " >&6
a3097628
AJ
12004else
12005 ac_check_lib_save_LIBS=$LIBS
12006LIBS="-laudio -lXt $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
40e7ef3a
MM
12007cat >conftest.$ac_ext <<_ACEOF
12008/* confdefs.h. */
12009_ACEOF
12010cat confdefs.h >>conftest.$ac_ext
12011cat >>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
12018extern "C"
12019#endif
12020char AuCreateFlow ();
12021int
12022main ()
12023{
12024return AuCreateFlow ();
12025 ;
12026 return 0;
12027}
40e7ef3a 12028_ACEOF
a3097628
AJ
12029rm -f conftest.$ac_objext conftest$ac_exeext
12030if { (ac_try="$ac_link"
0ebeb530
JW
12031case "(($ac_try" in
12032 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12033 *) ac_try_echo=$ac_try;;
12034esac
abf5048b
AJ
12035eval 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 12051else
abf5048b 12052 $as_echo "$as_me: failed program was:" >&5
40e7ef3a
MM
12053sed 's/^/| /' conftest.$ac_ext >&5
12054
a3097628 12055 ac_cv_lib_audio_AuCreateFlow=no
40e7ef3a 12056fi
fc6ffb29 12057
abf5048b 12058rm -rf conftest.dSYM
a3097628
AJ
12059rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12060 conftest$ac_exeext conftest.$ac_ext
12061LIBS=$ac_check_lib_save_LIBS
40e7ef3a 12062fi
abf5048b
AJ
12063{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_audio_AuCreateFlow" >&5
12064$as_echo "$ac_cv_lib_audio_AuCreateFlow" >&6; }
12065if test "x$ac_cv_lib_audio_AuCreateFlow" = x""yes; then
40e7ef3a 12066
a3097628
AJ
12067cat >>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 12073if test "${ac_cv_lib_Xau_XauGetBestAuthByAddr+set}" = set; then
abf5048b 12074 $as_echo_n "(cached) " >&6
40e7ef3a
MM
12075else
12076 ac_check_lib_save_LIBS=$LIBS
a3097628 12077LIBS="-lXau $X_LIBS $LIBS"
40e7ef3a
MM
12078cat >conftest.$ac_ext <<_ACEOF
12079/* confdefs.h. */
12080_ACEOF
12081cat confdefs.h >>conftest.$ac_ext
12082cat >>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
12089extern "C"
12090#endif
a3097628 12091char XauGetBestAuthByAddr ();
40e7ef3a
MM
12092int
12093main ()
12094{
a3097628 12095return XauGetBestAuthByAddr ();
40e7ef3a
MM
12096 ;
12097 return 0;
12098}
12099_ACEOF
12100rm -f conftest.$ac_objext conftest$ac_exeext
0ebeb530
JW
12101if { (ac_try="$ac_link"
12102case "(($ac_try" in
12103 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12104 *) ac_try_echo=$ac_try;;
12105esac
abf5048b
AJ
12106eval 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 12122else
abf5048b 12123 $as_echo "$as_me: failed program was:" >&5
40e7ef3a
MM
12124sed 's/^/| /' conftest.$ac_ext >&5
12125
a3097628 12126 ac_cv_lib_Xau_XauGetBestAuthByAddr=no
40e7ef3a 12127fi
fc6ffb29 12128
abf5048b 12129rm -rf conftest.dSYM
f0ca586f 12130rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40e7ef3a
MM
12131 conftest$ac_exeext conftest.$ac_ext
12132LIBS=$ac_check_lib_save_LIBS
12133fi
abf5048b
AJ
12134{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_Xau_XauGetBestAuthByAddr" >&5
12135$as_echo "$ac_cv_lib_Xau_XauGetBestAuthByAddr" >&6; }
12136if test "x$ac_cv_lib_Xau_XauGetBestAuthByAddr" = x""yes; then
a3097628
AJ
12137 NASLIBS="-lXau -laudio -lXt $X_LIBS -lXext -lX11 $X_EXTRA_LIBS"
12138else
12139 NASLIBS="-laudio -lXt $X_LIBS -lXext -lX11 $X_EXTRA_LIBS"
12140fi
40e7ef3a 12141
40e7ef3a 12142
40e7ef3a
MM
12143fi
12144
40e7ef3a
MM
12145fi
12146
a3097628
AJ
12147done
12148
40e7ef3a 12149
40e7ef3a 12150 CPPFLAGS="$ac_save_CPPFLAGS"
a3097628
AJ
12151else
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
12158fi
12159if 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 12163without 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 12165Use 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 12167without 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 12169Use the --without-x option if you really want this." >&2;}
a41f0f1b
AJ
12170 { (exit 1); exit 1; }; } ;;
12171esac
40e7ef3a
MM
12172fi
12173
a3097628 12174
a41f0f1b 12175
a3097628
AJ
12176XML2LIBS=""
12177
12178XML2INCL=""
12179
a3097628
AJ
12180XSLTINCL=""
12181
a41f0f1b 12182if test "x$with_xml" != "xno"
6b0720f5 12183then
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
12195for ac_header in libxml/parser.h
12196do
abf5048b 12197as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
a3097628 12198if { 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 12201if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
abf5048b 12202 $as_echo_n "(cached) " >&6
a3097628 12203fi
abf5048b
AJ
12204ac_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
12208else
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 12212cat >conftest.$ac_ext <<_ACEOF
e24bcc77
AJ
12213/* confdefs.h. */
12214_ACEOF
12215cat confdefs.h >>conftest.$ac_ext
12216cat >>conftest.$ac_ext <<_ACEOF
12217/* end confdefs.h. */
a3097628
AJ
12218$ac_includes_default
12219#include <$ac_header>
daa2886c 12220_ACEOF
a3097628
AJ
12221rm -f conftest.$ac_objext
12222if { (ac_try="$ac_compile"
0ebeb530
JW
12223case "(($ac_try" in
12224 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12225 *) ac_try_echo=$ac_try;;
12226esac
abf5048b
AJ
12227eval 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
12240else
abf5048b 12241 $as_echo "$as_me: failed program was:" >&5
a3097628
AJ
12242sed 's/^/| /' conftest.$ac_ext >&5
12243
12244 ac_header_compiler=no
12245fi
12246
12247rm -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
12254cat >conftest.$ac_ext <<_ACEOF
12255/* confdefs.h. */
12256_ACEOF
12257cat confdefs.h >>conftest.$ac_ext
12258cat >>conftest.$ac_ext <<_ACEOF
12259/* end confdefs.h. */
12260#include <$ac_header>
12261_ACEOF
12262if { (ac_try="$ac_cpp conftest.$ac_ext"
12263case "(($ac_try" in
bb168aab
AJ
12264 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12265 *) ac_try_echo=$ac_try;;
12266esac
abf5048b
AJ
12267eval 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 12280else
abf5048b 12281 $as_echo "$as_me: failed program was:" >&5
e24bcc77
AJ
12282sed 's/^/| /' conftest.$ac_ext >&5
12283
a3097628 12284 ac_header_preproc=no
6b0720f5 12285fi
fc6ffb29 12286
a3097628 12287rm -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?
12292case $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 ;;
12320esac
abf5048b
AJ
12321{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
12322$as_echo_n "checking for $ac_header... " >&6; }
a3097628 12323if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
abf5048b 12324 $as_echo_n "(cached) " >&6
a3097628
AJ
12325else
12326 eval "$as_ac_Header=\$ac_header_preproc"
6b0720f5 12327fi
abf5048b
AJ
12328ac_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 12333fi
abf5048b
AJ
12334as_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 12342if test "${ac_cv_lib_xml2_xmlParseMemory+set}" = set; then
abf5048b 12343 $as_echo_n "(cached) " >&6
6b0720f5
SQH
12344else
12345 ac_check_lib_save_LIBS=$LIBS
a3097628 12346LIBS="-lxml2 $ac_xml_libs $LIBS"
6b0720f5 12347cat >conftest.$ac_ext <<_ACEOF
e24bcc77
AJ
12348/* confdefs.h. */
12349_ACEOF
12350cat confdefs.h >>conftest.$ac_ext
12351cat >>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
12358extern "C"
12359#endif
a3097628 12360char xmlParseMemory ();
6b0720f5
SQH
12361int
12362main ()
12363{
a3097628 12364return xmlParseMemory ();
6b0720f5
SQH
12365 ;
12366 return 0;
12367}
12368_ACEOF
12369rm -f conftest.$ac_objext conftest$ac_exeext
0ebeb530
JW
12370if { (ac_try="$ac_link"
12371case "(($ac_try" in
12372 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12373 *) ac_try_echo=$ac_try;;
12374esac
abf5048b
AJ
12375eval 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 12391else
abf5048b 12392 $as_echo "$as_me: failed program was:" >&5
e24bcc77
AJ
12393sed 's/^/| /' conftest.$ac_ext >&5
12394
a3097628 12395 ac_cv_lib_xml2_xmlParseMemory=no
6b0720f5 12396fi
fc6ffb29 12397
abf5048b 12398rm -rf conftest.dSYM
f0ca586f 12399rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
875927f6 12400 conftest$ac_exeext conftest.$ac_ext
6b0720f5
SQH
12401LIBS=$ac_check_lib_save_LIBS
12402fi
abf5048b
AJ
12403{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_xml2_xmlParseMemory" >&5
12404$as_echo "$ac_cv_lib_xml2_xmlParseMemory" >&6; }
12405if test "x$ac_cv_lib_xml2_xmlParseMemory" = x""yes; then
6b0720f5 12406
daa2886c 12407cat >>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
12413fi
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 12417if test "${ac_cv_lib_xml2_xmlReadMemory+set}" = set; then
abf5048b 12418 $as_echo_n "(cached) " >&6
4ee8290b 12419else
73482144 12420 ac_check_lib_save_LIBS=$LIBS
a3097628 12421LIBS="-lxml2 $ac_xml_libs $LIBS"
2d6d4e96
HL
12422cat >conftest.$ac_ext <<_ACEOF
12423/* confdefs.h. */
12424_ACEOF
12425cat confdefs.h >>conftest.$ac_ext
12426cat >>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
12433extern "C"
12434#endif
a3097628 12435char xmlReadMemory ();
2d6d4e96
HL
12436int
12437main ()
12438{
a3097628 12439return xmlReadMemory ();
2d6d4e96
HL
12440 ;
12441 return 0;
12442}
12443_ACEOF
12444rm -f conftest.$ac_objext conftest$ac_exeext
0ebeb530
JW
12445if { (ac_try="$ac_link"
12446case "(($ac_try" in
12447 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12448 *) ac_try_echo=$ac_try;;
12449esac
abf5048b
AJ
12450eval 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 12466else
abf5048b 12467 $as_echo "$as_me: failed program was:" >&5
2d6d4e96
HL
12468sed 's/^/| /' conftest.$ac_ext >&5
12469
a3097628 12470 ac_cv_lib_xml2_xmlReadMemory=no
2d6d4e96 12471fi
fc6ffb29 12472
abf5048b 12473rm -rf conftest.dSYM
f0ca586f 12474rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
2d6d4e96
HL
12475 conftest$ac_exeext conftest.$ac_ext
12476LIBS=$ac_check_lib_save_LIBS
12477fi
abf5048b
AJ
12478{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_xml2_xmlReadMemory" >&5
12479$as_echo "$ac_cv_lib_xml2_xmlReadMemory" >&6; }
12480if test "x$ac_cv_lib_xml2_xmlReadMemory" = x""yes; then
2d6d4e96
HL
12481
12482cat >>confdefs.h <<\_ACEOF
a3097628 12483#define HAVE_XMLREADMEMORY 1
2d6d4e96
HL
12484_ACEOF
12485
2d6d4e96
HL
12486fi
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 12490if test "${ac_cv_lib_xml2_xmlNewDocPI+set}" = set; then
abf5048b 12491 $as_echo_n "(cached) " >&6
2d6d4e96
HL
12492else
12493 ac_check_lib_save_LIBS=$LIBS
a3097628 12494LIBS="-lxml2 $ac_xml_libs $LIBS"
4ee8290b 12495cat >conftest.$ac_ext <<_ACEOF
4ee8290b
AJ
12496/* confdefs.h. */
12497_ACEOF
12498cat confdefs.h >>conftest.$ac_ext
12499cat >>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
12506extern "C"
12507#endif
a3097628 12508char xmlNewDocPI ();
4ee8290b
AJ
12509int
12510main ()
12511{
a3097628 12512return xmlNewDocPI ();
4ee8290b
AJ
12513 ;
12514 return 0;
12515}
12516_ACEOF
12517rm -f conftest.$ac_objext conftest$ac_exeext
0ebeb530
JW
12518if { (ac_try="$ac_link"
12519case "(($ac_try" in
12520 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12521 *) ac_try_echo=$ac_try;;
12522esac
abf5048b
AJ
12523eval 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 12539else
abf5048b 12540 $as_echo "$as_me: failed program was:" >&5
4ee8290b
AJ
12541sed 's/^/| /' conftest.$ac_ext >&5
12542
a3097628 12543 ac_cv_lib_xml2_xmlNewDocPI=no
4ee8290b 12544fi
fc6ffb29 12545
abf5048b 12546rm -rf conftest.dSYM
f0ca586f 12547rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
875927f6 12548 conftest$ac_exeext conftest.$ac_ext
73482144 12549LIBS=$ac_check_lib_save_LIBS
4ee8290b 12550fi
abf5048b
AJ
12551{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_xml2_xmlNewDocPI" >&5
12552$as_echo "$ac_cv_lib_xml2_xmlNewDocPI" >&6; }
12553if test "x$ac_cv_lib_xml2_xmlNewDocPI" = x""yes; then
a3097628
AJ
12554
12555cat >>confdefs.h <<\_ACEOF
12556#define HAVE_XMLNEWDOCPI 1
12557_ACEOF
12558
12559fi
12560
12561
12562fi
12563
12564done
12565
a41f0f1b
AJ
12566 CPPFLAGS="$ac_save_CPPFLAGS"
12567fi
f9dec94f 12568if 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 12573This 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
12575This is an error since --with-xml was requested." >&2;}
12576 { (exit 1); exit 1; }; } ;;
12577esac
f9dec94f
AJ
12578fi
12579
12580
a41f0f1b 12581if test "x$with_xslt" != "xno"
a3097628 12582then
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
12595for ac_header in libxslt/pattern.h libxslt/transform.h
12596do
abf5048b
AJ
12597as_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 12600if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
abf5048b 12601 $as_echo_n "(cached) " >&6
d3447022 12602else
a3097628 12603 cat >conftest.$ac_ext <<_ACEOF
d3447022
HL
12604/* confdefs.h. */
12605_ACEOF
12606cat confdefs.h >>conftest.$ac_ext
12607cat >>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
12615rm -f conftest.$ac_objext
12616if { (ac_try="$ac_compile"
0ebeb530
JW
12617case "(($ac_try" in
12618 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12619 *) ac_try_echo=$ac_try;;
12620esac
abf5048b
AJ
12621eval 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 12634else
abf5048b 12635 $as_echo "$as_me: failed program was:" >&5
d3447022
HL
12636sed 's/^/| /' conftest.$ac_ext >&5
12637
a3097628 12638 eval "$as_ac_Header=no"
d3447022
HL
12639fi
12640
a3097628 12641rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
d3447022 12642fi
abf5048b
AJ
12643ac_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; }
12647as_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
12654fi
12655
12656done
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; }
12663if test "${ac_cv_lib_soname_xslt+set}" = set; then
abf5048b 12664 $as_echo_n "(cached) " >&6
b2c62c94 12665else
3d384f17 12666 ac_check_soname_save_LIBS=$LIBS
a3097628 12667LIBS="-lxslt $ac_xslt_libs $LIBS"
3d384f17 12668 cat >conftest.$ac_ext <<_ACEOF
b2c62c94
HL
12669/* confdefs.h. */
12670_ACEOF
12671cat confdefs.h >>conftest.$ac_ext
12672cat >>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
12679extern "C"
b2c62c94 12680#endif
a3097628 12681char xsltCompilePattern ();
b2c62c94
HL
12682int
12683main ()
12684{
a3097628 12685return xsltCompilePattern ();
b2c62c94
HL
12686 ;
12687 return 0;
12688}
12689_ACEOF
12690rm -f conftest.$ac_objext conftest$ac_exeext
0ebeb530
JW
12691if { (ac_try="$ac_link"
12692case "(($ac_try" in
12693 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12694 *) ac_try_echo=$ac_try;;
12695esac
abf5048b
AJ
12696eval 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 12716else
abf5048b 12717 $as_echo "$as_me: failed program was:" >&5
b2c62c94
HL
12718sed 's/^/| /' conftest.$ac_ext >&5
12719
3d384f17 12720
b2c62c94 12721fi
fc6ffb29 12722
abf5048b 12723rm -rf conftest.dSYM
f0ca586f 12724rm -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 12727fi
3d384f17
FG
12728if 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 12732else
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
12736cat >>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
12741fi
12742
12743 fi
a41f0f1b 12744fi
3d384f17 12745if 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 12750This 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
12752This is an error since --with-xslt was requested." >&2;}
12753 { (exit 1); exit 1; }; } ;;
12754esac
f9dec94f
AJ
12755fi
12756
82776020 12757
a3097628
AJ
12758HALINCL=""
12759
a41f0f1b 12760if test "x$with_hal" != "xno" -a "$PKG_CONFIG" != "false"
a3097628
AJ
12761then
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
12768for ac_header in dbus/dbus.h hal/libhal.h
12769do
abf5048b 12770as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
a3097628 12771if { 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 12774if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
abf5048b 12775 $as_echo_n "(cached) " >&6
a3097628 12776fi
abf5048b
AJ
12777ac_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 12781else
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
12785cat >conftest.$ac_ext <<_ACEOF
12786/* confdefs.h. */
12787_ACEOF
12788cat confdefs.h >>conftest.$ac_ext
12789cat >>conftest.$ac_ext <<_ACEOF
12790/* end confdefs.h. */
12791$ac_includes_default
12792#include <$ac_header>
12793_ACEOF
12794rm -f conftest.$ac_objext
12795if { (ac_try="$ac_compile"
12796case "(($ac_try" in
12797 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12798 *) ac_try_echo=$ac_try;;
12799esac
abf5048b
AJ
12800eval 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 12813else
abf5048b 12814 $as_echo "$as_me: failed program was:" >&5
a3097628 12815sed 's/^/| /' conftest.$ac_ext >&5
d9ef88cd 12816
a3097628 12817 ac_header_compiler=no
d9ef88cd
MM
12818fi
12819
a3097628 12820rm -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
12827cat >conftest.$ac_ext <<_ACEOF
12828/* confdefs.h. */
12829_ACEOF
12830cat confdefs.h >>conftest.$ac_ext
12831cat >>conftest.$ac_ext <<_ACEOF
12832/* end confdefs.h. */
12833#include <$ac_header>
12834_ACEOF
12835if { (ac_try="$ac_cpp conftest.$ac_ext"
12836case "(($ac_try" in
12837 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12838 *) ac_try_echo=$ac_try;;
12839esac
abf5048b
AJ
12840eval 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 12853else
abf5048b 12854 $as_echo "$as_me: failed program was:" >&5
a3097628 12855sed 's/^/| /' conftest.$ac_ext >&5
d9ef88cd 12856
a3097628 12857 ac_header_preproc=no
d9ef88cd 12858fi
a3097628
AJ
12859
12860rm -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?
12865case $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 ;;
12893esac
abf5048b
AJ
12894{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
12895$as_echo_n "checking for $ac_header... " >&6; }
a3097628 12896if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
abf5048b 12897 $as_echo_n "(cached) " >&6
d9ef88cd 12898else
a3097628 12899 eval "$as_ac_Header=\$ac_header_preproc"
d9ef88cd 12900fi
abf5048b
AJ
12901ac_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 12906fi
abf5048b
AJ
12907as_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
12914fi
12915
a3097628
AJ
12916done
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 12922if test "${ac_cv_lib_dbus_1_dbus_connection_close+set}" = set; then
abf5048b 12923 $as_echo_n "(cached) " >&6
ea524def
HL
12924else
12925 ac_check_lib_save_LIBS=$LIBS
c1099bb7 12926LIBS="-ldbus-1 $ac_hal_libs $LIBS"
ea524def
HL
12927cat >conftest.$ac_ext <<_ACEOF
12928/* confdefs.h. */
12929_ACEOF
12930cat confdefs.h >>conftest.$ac_ext
12931cat >>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
12938extern "C"
12939#endif
c1099bb7 12940char dbus_connection_close ();
ea524def
HL
12941int
12942main ()
12943{
c1099bb7 12944return dbus_connection_close ();
ea524def
HL
12945 ;
12946 return 0;
12947}
12948_ACEOF
12949rm -f conftest.$ac_objext conftest$ac_exeext
0ebeb530
JW
12950if { (ac_try="$ac_link"
12951case "(($ac_try" in
12952 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12953 *) ac_try_echo=$ac_try;;
12954esac
abf5048b
AJ
12955eval 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 12971else
abf5048b 12972 $as_echo "$as_me: failed program was:" >&5
ea524def
HL
12973sed 's/^/| /' conftest.$ac_ext >&5
12974
c1099bb7 12975 ac_cv_lib_dbus_1_dbus_connection_close=no
ea524def 12976fi
fc6ffb29 12977
abf5048b 12978rm -rf conftest.dSYM
f0ca586f 12979rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
ea524def
HL
12980 conftest$ac_exeext conftest.$ac_ext
12981LIBS=$ac_check_lib_save_LIBS
12982fi
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; }
12985if 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 12988if test "${ac_cv_lib_soname_hal+set}" = set; then
abf5048b 12989 $as_echo_n "(cached) " >&6
f5818d2f 12990else
c1099bb7
AJ
12991 ac_check_soname_save_LIBS=$LIBS
12992LIBS="-lhal $ac_hal_libs $LIBS"
12993 cat >conftest.$ac_ext <<_ACEOF
e24bcc77
AJ
12994/* confdefs.h. */
12995_ACEOF
12996cat confdefs.h >>conftest.$ac_ext
12997cat >>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
13004extern "C"
13005#endif
c1099bb7 13006char libhal_ctx_new ();
a3097628
AJ
13007int
13008main ()
13009{
c1099bb7 13010return libhal_ctx_new ();
a3097628
AJ
13011 ;
13012 return 0;
13013}
daa2886c 13014_ACEOF
a3097628
AJ
13015rm -f conftest.$ac_objext conftest$ac_exeext
13016if { (ac_try="$ac_link"
0ebeb530
JW
13017case "(($ac_try" in
13018 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13019 *) ac_try_echo=$ac_try;;
13020esac
abf5048b
AJ
13021eval 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 13041else
abf5048b 13042 $as_echo "$as_me: failed program was:" >&5
e24bcc77
AJ
13043sed 's/^/| /' conftest.$ac_ext >&5
13044
c1099bb7 13045
daa2886c 13046fi
fc6ffb29 13047
abf5048b 13048rm -rf conftest.dSYM
a3097628
AJ
13049rm -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 13052fi
c1099bb7 13053if 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 13057else
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
13061cat >>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
13066fi
13067
40432fef 13068fi
daa2886c 13069
a3097628
AJ
13070 fi
13071 CPPFLAGS="$ac_save_CPPFLAGS"
13072fi
f9dec94f 13073if 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 13078This 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
13080This is an error since --with-hal was requested." >&2;}
13081 { (exit 1); exit 1; }; } ;;
13082esac
f9dec94f
AJ
13083fi
13084
40432fef 13085
874c9ef6
HV
13086if test "x$with_gnutls" != "xno" -a "$PKG_CONFIG" != "false"
13087then
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 13095if test "${ac_cv_header_gnutls_gnutls_h+set}" = set; then
abf5048b 13096 $as_echo_n "(cached) " >&6
874c9ef6 13097fi
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
13100else
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
13104cat >conftest.$ac_ext <<_ACEOF
13105/* confdefs.h. */
13106_ACEOF
13107cat confdefs.h >>conftest.$ac_ext
13108cat >>conftest.$ac_ext <<_ACEOF
13109/* end confdefs.h. */
13110$ac_includes_default
13111#include <gnutls/gnutls.h>
13112_ACEOF
13113rm -f conftest.$ac_objext
13114if { (ac_try="$ac_compile"
13115case "(($ac_try" in
13116 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13117 *) ac_try_echo=$ac_try;;
13118esac
abf5048b
AJ
13119eval 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
13132else
abf5048b 13133 $as_echo "$as_me: failed program was:" >&5
874c9ef6
HV
13134sed 's/^/| /' conftest.$ac_ext >&5
13135
13136 ac_header_compiler=no
13137fi
13138
13139rm -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
13146cat >conftest.$ac_ext <<_ACEOF
13147/* confdefs.h. */
13148_ACEOF
13149cat confdefs.h >>conftest.$ac_ext
13150cat >>conftest.$ac_ext <<_ACEOF
13151/* end confdefs.h. */
13152#include <gnutls/gnutls.h>
13153_ACEOF
13154if { (ac_try="$ac_cpp conftest.$ac_ext"
13155case "(($ac_try" in
13156 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13157 *) ac_try_echo=$ac_try;;
13158esac
abf5048b
AJ
13159eval 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
13172else
abf5048b 13173 $as_echo "$as_me: failed program was:" >&5
874c9ef6
HV
13174sed 's/^/| /' conftest.$ac_ext >&5
13175
13176 ac_header_preproc=no
13177fi
13178
13179rm -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?
13184case $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 ;;
13212esac
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 13215if test "${ac_cv_header_gnutls_gnutls_h+set}" = set; then
abf5048b 13216 $as_echo_n "(cached) " >&6
874c9ef6
HV
13217else
13218 ac_cv_header_gnutls_gnutls_h=$ac_header_preproc
13219fi
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
13223fi
abf5048b 13224if test "x$ac_cv_header_gnutls_gnutls_h" = x""yes; then
3aae9546
FG
13225 cat >conftest.$ac_ext <<_ACEOF
13226/* confdefs.h. */
13227_ACEOF
13228cat confdefs.h >>conftest.$ac_ext
13229cat >>conftest.$ac_ext <<_ACEOF
13230/* end confdefs.h. */
13231#include <gnutls/gnutls.h>
13232int
13233main ()
13234{
13235typeof(gnutls_transport_set_errno) *pfunc;
13236 ;
13237 return 0;
13238}
13239_ACEOF
13240rm -f conftest.$ac_objext
13241if { (ac_try="$ac_compile"
13242case "(($ac_try" in
13243 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13244 *) ac_try_echo=$ac_try;;
13245esac
abf5048b
AJ
13246eval 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 13260if test "${ac_cv_lib_soname_gnutls+set}" = set; then
abf5048b 13261 $as_echo_n "(cached) " >&6
874c9ef6
HV
13262else
13263 ac_check_soname_save_LIBS=$LIBS
13264LIBS="-lgnutls $ac_gnutls_libs $LIBS"
13265 cat >conftest.$ac_ext <<_ACEOF
13266/* confdefs.h. */
13267_ACEOF
13268cat confdefs.h >>conftest.$ac_ext
13269cat >>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
13276extern "C"
13277#endif
13278char gnutls_global_init ();
13279int
13280main ()
13281{
13282return gnutls_global_init ();
13283 ;
13284 return 0;
13285}
13286_ACEOF
13287rm -f conftest.$ac_objext conftest$ac_exeext
13288if { (ac_try="$ac_link"
13289case "(($ac_try" in
13290 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13291 *) ac_try_echo=$ac_try;;
13292esac
abf5048b
AJ
13293eval 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
13313else
abf5048b 13314 $as_echo "$as_me: failed program was:" >&5
874c9ef6
HV
13315sed 's/^/| /' conftest.$ac_ext >&5
13316
13317
13318fi
13319
abf5048b 13320rm -rf conftest.dSYM
874c9ef6
HV
13321rm -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
13324fi
13325if 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
13329else
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
13333cat >>confdefs.h <<_ACEOF
13334#define SONAME_LIBGNUTLS "$ac_cv_lib_soname_gnutls"
13335_ACEOF
13336
13337 GNUTLSINCL="$ac_gnutls_cflags"
13338
13339fi
13340
3aae9546 13341else
abf5048b 13342 $as_echo "$as_me: failed program was:" >&5
3aae9546
FG
13343sed 's/^/| /' conftest.$ac_ext >&5
13344
13345
13346fi
13347
13348rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
874c9ef6
HV
13349fi
13350
13351
13352 CPPFLAGS="$ac_save_CPPFLAGS"
13353fi
13354if 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 13359This 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
13361This is an error since --with-gnutls was requested." >&2;}
13362 { (exit 1); exit 1; }; } ;;
13363esac
13364fi
13365
13366
a3097628
AJ
13367CURSESLIBS=""
13368if test "$ac_cv_header_ncurses_h" = "yes"
13369then
abf5048b
AJ
13370 { $as_echo "$as_me:$LINENO: checking for -lncurses" >&5
13371$as_echo_n "checking for -lncurses... " >&6; }
d0783774 13372if test "${ac_cv_lib_soname_ncurses+set}" = set; then
abf5048b 13373 $as_echo_n "(cached) " >&6
a3097628 13374else
d0783774 13375 ac_check_soname_save_LIBS=$LIBS
a3097628 13376LIBS="-lncurses $LIBS"
d0783774 13377 cat >conftest.$ac_ext <<_ACEOF
e24bcc77
AJ
13378/* confdefs.h. */
13379_ACEOF
13380cat confdefs.h >>conftest.$ac_ext
13381cat >>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
13388extern "C"
13389#endif
13390char waddch ();
13391int
13392main ()
13393{
13394return waddch ();
13395 ;
13396 return 0;
13397}
f5818d2f 13398_ACEOF
a3097628
AJ
13399rm -f conftest.$ac_objext conftest$ac_exeext
13400if { (ac_try="$ac_link"
0ebeb530
JW
13401case "(($ac_try" in
13402 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13403 *) ac_try_echo=$ac_try;;
13404esac
abf5048b
AJ
13405eval 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 13425else
abf5048b 13426 $as_echo "$as_me: failed program was:" >&5
e24bcc77
AJ
13427sed 's/^/| /' conftest.$ac_ext >&5
13428
d0783774 13429
18d7573c 13430fi
fc6ffb29 13431
abf5048b 13432rm -rf conftest.dSYM
a3097628
AJ
13433rm -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 13436fi
d0783774 13437if 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
13441else
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
13445cat >>confdefs.h <<_ACEOF
13446#define SONAME_LIBNCURSES "$ac_cv_lib_soname_ncurses"
13447_ACEOF
13448
13449 CURSESLIBS="-lncurses"
a3097628
AJ
13450fi
13451
13452elif test "$ac_cv_header_curses_h" = "yes"
13453then
abf5048b
AJ
13454 { $as_echo "$as_me:$LINENO: checking for -lcurses" >&5
13455$as_echo_n "checking for -lcurses... " >&6; }
d0783774 13456if test "${ac_cv_lib_soname_curses+set}" = set; then
abf5048b 13457 $as_echo_n "(cached) " >&6
d8a6c278 13458else
d0783774 13459 ac_check_soname_save_LIBS=$LIBS
a3097628 13460LIBS="-lcurses $LIBS"
d0783774 13461 cat >conftest.$ac_ext <<_ACEOF
d8a6c278
HD
13462/* confdefs.h. */
13463_ACEOF
13464cat confdefs.h >>conftest.$ac_ext
13465cat >>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
13472extern "C"
13473#endif
13474char waddch ();
d8a6c278
HD
13475int
13476main ()
13477{
a3097628 13478return waddch ();
d8a6c278
HD
13479 ;
13480 return 0;
13481}
13482_ACEOF
a3097628
AJ
13483rm -f conftest.$ac_objext conftest$ac_exeext
13484if { (ac_try="$ac_link"
0ebeb530
JW
13485case "(($ac_try" in
13486 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13487 *) ac_try_echo=$ac_try;;
13488esac
abf5048b
AJ
13489eval 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 13509else
abf5048b 13510 $as_echo "$as_me: failed program was:" >&5
d8a6c278
HD
13511sed 's/^/| /' conftest.$ac_ext >&5
13512
d0783774 13513
d8a6c278 13514fi
d8a6c278 13515
abf5048b 13516rm -rf conftest.dSYM
a3097628
AJ
13517rm -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 13520fi
d0783774 13521if 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
13525else
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
13529cat >>confdefs.h <<_ACEOF
13530#define SONAME_LIBCURSES "$ac_cv_lib_soname_curses"
13531_ACEOF
13532
13533 CURSESLIBS="-lcurses"
d8a6c278
HD
13534fi
13535
a3097628
AJ
13536fi
13537ac_save_LIBS="$LIBS"
13538LIBS="$LIBS $CURSESLIBS"
35bca77f 13539
a3097628 13540for ac_func in mousemask
35bca77f 13541do
abf5048b
AJ
13542as_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 13545if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
abf5048b 13546 $as_echo_n "(cached) " >&6
35bca77f
HD
13547else
13548 cat >conftest.$ac_ext <<_ACEOF
13549/* confdefs.h. */
13550_ACEOF
13551cat confdefs.h >>conftest.$ac_ext
13552cat >>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
13575extern "C"
35bca77f 13576#endif
35bca77f
HD
13577char $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 13582choke me
35bca77f
HD
13583#endif
13584
13585int
13586main ()
13587{
fc6ffb29 13588return $ac_func ();
35bca77f
HD
13589 ;
13590 return 0;
13591}
13592_ACEOF
13593rm -f conftest.$ac_objext conftest$ac_exeext
0ebeb530
JW
13594if { (ac_try="$ac_link"
13595case "(($ac_try" in
13596 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13597 *) ac_try_echo=$ac_try;;
13598esac
abf5048b
AJ
13599eval 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"
13615else
abf5048b 13616 $as_echo "$as_me: failed program was:" >&5
35bca77f
HD
13617sed 's/^/| /' conftest.$ac_ext >&5
13618
fc6ffb29 13619 eval "$as_ac_var=no"
35bca77f 13620fi
fc6ffb29 13621
abf5048b 13622rm -rf conftest.dSYM
f0ca586f 13623rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
35bca77f
HD
13624 conftest$ac_exeext conftest.$ac_ext
13625fi
abf5048b
AJ
13626ac_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; }
13630as_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
13637fi
13638done
13639
a3097628 13640LIBS="$ac_save_LIBS"
f9dec94f 13641if 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 13646This 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
13648This is an error since --with-curses was requested." >&2;}
13649 { (exit 1); exit 1; }; } ;;
13650esac
f9dec94f
AJ
13651fi
13652
f5818d2f 13653
a3097628
AJ
13654# Extract the first word of "sane-config", so it can be a program name with args.
13655set 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 13658if test "${ac_cv_prog_sane_devel+set}" = set; then
abf5048b 13659 $as_echo_n "(cached) " >&6
a3097628
AJ
13660else
13661 if test -n "$sane_devel"; then
13662 ac_cv_prog_sane_devel="$sane_devel" # Let the user override the test.
13663else
13664as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13665for as_dir in $PATH
13666do
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
13675done
13676done
13677IFS=$as_save_IFS
9b1d3726 13678
a3097628
AJ
13679 test -z "$ac_cv_prog_sane_devel" && ac_cv_prog_sane_devel="no"
13680fi
13681fi
13682sane_devel=$ac_cv_prog_sane_devel
13683if test -n "$sane_devel"; then
abf5048b
AJ
13684 { $as_echo "$as_me:$LINENO: result: $sane_devel" >&5
13685$as_echo "$sane_devel" >&6; }
a3097628 13686else
abf5048b
AJ
13687 { $as_echo "$as_me:$LINENO: result: no" >&5
13688$as_echo "no" >&6; }
563598d4
IP
13689fi
13690
00acb5f7 13691
a41f0f1b 13692if test "$sane_devel" != "no" -a "x$with_sane" != "xno"
a3097628 13693then
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 13701if test "${ac_cv_header_sane_sane_h+set}" = set; then
abf5048b 13702 $as_echo_n "(cached) " >&6
a3097628 13703fi
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 13706else
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 13710cat >conftest.$ac_ext <<_ACEOF
e24bcc77
AJ
13711/* confdefs.h. */
13712_ACEOF
13713cat confdefs.h >>conftest.$ac_ext
13714cat >>conftest.$ac_ext <<_ACEOF
13715/* end confdefs.h. */
a3097628
AJ
13716$ac_includes_default
13717#include <sane/sane.h>
f5818d2f
AJ
13718_ACEOF
13719rm -f conftest.$ac_objext
0ebeb530
JW
13720if { (ac_try="$ac_compile"
13721case "(($ac_try" in
13722 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13723 *) ac_try_echo=$ac_try;;
13724esac
abf5048b
AJ
13725eval 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 13738else
abf5048b 13739 $as_echo "$as_me: failed program was:" >&5
e24bcc77
AJ
13740sed 's/^/| /' conftest.$ac_ext >&5
13741
a3097628 13742 ac_header_compiler=no
6509fa93 13743fi
fc6ffb29 13744
0ebeb530 13745rm -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
13752cat >conftest.$ac_ext <<_ACEOF
13753/* confdefs.h. */
13754_ACEOF
13755cat confdefs.h >>conftest.$ac_ext
13756cat >>conftest.$ac_ext <<_ACEOF
13757/* end confdefs.h. */
13758#include <sane/sane.h>
13759_ACEOF
13760if { (ac_try="$ac_cpp conftest.$ac_ext"
13761case "(($ac_try" in
13762 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13763 *) ac_try_echo=$ac_try;;
13764esac
abf5048b
AJ
13765eval 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
13778else
abf5048b 13779 $as_echo "$as_me: failed program was:" >&5
a3097628
AJ
13780sed 's/^/| /' conftest.$ac_ext >&5
13781
13782 ac_header_preproc=no
f5818d2f 13783fi
a3097628
AJ
13784
13785rm -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?
13790case $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 ;;
13818esac
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 13821if test "${ac_cv_header_sane_sane_h+set}" = set; then
abf5048b 13822 $as_echo_n "(cached) " >&6
a3097628
AJ
13823else
13824 ac_cv_header_sane_sane_h=$ac_header_preproc
13825fi
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
13829fi
abf5048b
AJ
13830if 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 13833if test "${ac_cv_lib_soname_sane+set}" = set; then
abf5048b 13834 $as_echo_n "(cached) " >&6
418e74b5
AJ
13835else
13836 ac_check_soname_save_LIBS=$LIBS
a9d7babd 13837LIBS="-lsane $ac_sane_libs $LIBS"
418e74b5
AJ
13838 cat >conftest.$ac_ext <<_ACEOF
13839/* confdefs.h. */
13840_ACEOF
13841cat confdefs.h >>conftest.$ac_ext
13842cat >>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
13849extern "C"
13850#endif
13851char sane_init ();
13852int
13853main ()
13854{
13855return sane_init ();
13856 ;
13857 return 0;
13858}
daa2886c 13859_ACEOF
418e74b5
AJ
13860rm -f conftest.$ac_objext conftest$ac_exeext
13861if { (ac_try="$ac_link"
13862case "(($ac_try" in
13863 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13864 *) ac_try_echo=$ac_try;;
13865esac
abf5048b
AJ
13866eval 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
13886else
abf5048b 13887 $as_echo "$as_me: failed program was:" >&5
418e74b5
AJ
13888sed 's/^/| /' conftest.$ac_ext >&5
13889
13890
13891fi
13892
abf5048b 13893rm -rf conftest.dSYM
418e74b5
AJ
13894rm -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
13897fi
13898if 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 13902else
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
13906cat >>confdefs.h <<_ACEOF
13907#define SONAME_LIBSANE "$ac_cv_lib_soname_sane"
13908_ACEOF
13909
13910 SANEINCL="$ac_sane_incl"
13911
13912fi
13913
a3097628
AJ
13914fi
13915
13916
13917 CPPFLAGS="$ac_save_CPPFLAGS"
13918fi
f9dec94f 13919if 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 13924This 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
13926This is an error since --with-sane was requested." >&2;}
13927 { (exit 1); exit 1; }; } ;;
13928esac
f9dec94f
AJ
13929fi
13930
a3097628
AJ
13931
13932# Extract the first word of "gphoto2-config", so it can be a program name with args.
13933set 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 13936if test "${ac_cv_prog_gphoto2_devel+set}" = set; then
abf5048b 13937 $as_echo_n "(cached) " >&6
a3097628
AJ
13938else
13939 if test -n "$gphoto2_devel"; then
13940 ac_cv_prog_gphoto2_devel="$gphoto2_devel" # Let the user override the test.
13941else
13942as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13943for as_dir in $PATH
13944do
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
13953done
13954done
13955IFS=$as_save_IFS
13956
13957 test -z "$ac_cv_prog_gphoto2_devel" && ac_cv_prog_gphoto2_devel="no"
13958fi
13959fi
13960gphoto2_devel=$ac_cv_prog_gphoto2_devel
13961if test -n "$gphoto2_devel"; then
abf5048b
AJ
13962 { $as_echo "$as_me:$LINENO: result: $gphoto2_devel" >&5
13963$as_echo "$gphoto2_devel" >&6; }
a3097628 13964else
abf5048b
AJ
13965 { $as_echo "$as_me:$LINENO: result: no" >&5
13966$as_echo "no" >&6; }
a3097628
AJ
13967fi
13968
13969
13970# Extract the first word of "gphoto2-port-config", so it can be a program name with args.
13971set 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 13974if test "${ac_cv_prog_gphoto2port_devel+set}" = set; then
abf5048b 13975 $as_echo_n "(cached) " >&6
a3097628
AJ
13976else
13977 if test -n "$gphoto2port_devel"; then
13978 ac_cv_prog_gphoto2port_devel="$gphoto2port_devel" # Let the user override the test.
13979else
13980as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13981for as_dir in $PATH
13982do
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
13991done
13992done
13993IFS=$as_save_IFS
13994
13995 test -z "$ac_cv_prog_gphoto2port_devel" && ac_cv_prog_gphoto2port_devel="no"
6509fa93 13996fi
a3097628
AJ
13997fi
13998gphoto2port_devel=$ac_cv_prog_gphoto2port_devel
13999if test -n "$gphoto2port_devel"; then
abf5048b
AJ
14000 { $as_echo "$as_me:$LINENO: result: $gphoto2port_devel" >&5
14001$as_echo "$gphoto2port_devel" >&6; }
5ee517ac 14002else
abf5048b
AJ
14003 { $as_echo "$as_me:$LINENO: result: no" >&5
14004$as_echo "no" >&6; }
5ee517ac 14005fi
fc6ffb29 14006
5ee517ac 14007
a41f0f1b 14008if test "$gphoto2_devel" != "no" -a "$gphoto2port_devel" != "no" -a "x$with_gphoto" != "xno"
a3097628 14009then
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 14024if test "${ac_cv_header_gphoto2_camera_h+set}" = set; then
abf5048b 14025 $as_echo_n "(cached) " >&6
a3097628 14026fi
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 14029else
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 14033cat >conftest.$ac_ext <<_ACEOF
e24bcc77
AJ
14034/* confdefs.h. */
14035_ACEOF
14036cat confdefs.h >>conftest.$ac_ext
14037cat >>conftest.$ac_ext <<_ACEOF
14038/* end confdefs.h. */
a3097628
AJ
14039$ac_includes_default
14040#include <gphoto2-camera.h>
5ee517ac 14041_ACEOF
a3097628
AJ
14042rm -f conftest.$ac_objext
14043if { (ac_try="$ac_compile"
0ebeb530
JW
14044case "(($ac_try" in
14045 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14046 *) ac_try_echo=$ac_try;;
14047esac
abf5048b
AJ
14048eval 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 14061else
abf5048b 14062 $as_echo "$as_me: failed program was:" >&5
e24bcc77
AJ
14063sed 's/^/| /' conftest.$ac_ext >&5
14064
a3097628 14065 ac_header_compiler=no
5ee517ac 14066fi
5ee517ac 14067
a3097628 14068rm -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 14075cat >conftest.$ac_ext <<_ACEOF
b2d937d5
AJ
14076/* confdefs.h. */
14077_ACEOF
14078cat confdefs.h >>conftest.$ac_ext
14079cat >>conftest.$ac_ext <<_ACEOF
14080/* end confdefs.h. */
a3097628 14081#include <gphoto2-camera.h>
b2d937d5 14082_ACEOF
a3097628 14083if { (ac_try="$ac_cpp conftest.$ac_ext"
0ebeb530
JW
14084case "(($ac_try" in
14085 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14086 *) ac_try_echo=$ac_try;;
14087esac
abf5048b
AJ
14088eval 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 14101else
abf5048b 14102 $as_echo "$as_me: failed program was:" >&5
b2d937d5
AJ
14103sed 's/^/| /' conftest.$ac_ext >&5
14104
a3097628 14105 ac_header_preproc=no
b2d937d5 14106fi
fc6ffb29 14107
a3097628 14108rm -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?
14113case $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 ;;
14141esac
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 14144if test "${ac_cv_header_gphoto2_camera_h+set}" = set; then
abf5048b 14145 $as_echo_n "(cached) " >&6
a3097628
AJ
14146else
14147 ac_cv_header_gphoto2_camera_h=$ac_header_preproc
b2d937d5 14148fi
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
14152fi
abf5048b
AJ
14153if 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 14156if test "${ac_cv_lib_gphoto2_gp_camera_new+set}" = set; then
abf5048b 14157 $as_echo_n "(cached) " >&6
80e34dbb 14158else
a3097628 14159 ac_check_lib_save_LIBS=$LIBS
4bc03fe8 14160LIBS="-lgphoto2 $ac_gphoto2_libs $LIBS"
a3097628 14161cat >conftest.$ac_ext <<_ACEOF
80e34dbb
AJ
14162/* confdefs.h. */
14163_ACEOF
14164cat confdefs.h >>conftest.$ac_ext
14165cat >>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
14172extern "C"
14173#endif
14174char gp_camera_new ();
80e34dbb
AJ
14175int
14176main ()
14177{
a3097628 14178return gp_camera_new ();
80e34dbb
AJ
14179 ;
14180 return 0;
14181}
14182_ACEOF
a3097628
AJ
14183rm -f conftest.$ac_objext conftest$ac_exeext
14184if { (ac_try="$ac_link"
0ebeb530
JW
14185case "(($ac_try" in
14186 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14187 *) ac_try_echo=$ac_try;;
14188esac
abf5048b
AJ
14189eval 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 14205else
abf5048b 14206 $as_echo "$as_me: failed program was:" >&5
80e34dbb
AJ
14207sed 's/^/| /' conftest.$ac_ext >&5
14208
a3097628 14209 ac_cv_lib_gphoto2_gp_camera_new=no
80e34dbb 14210fi
fc6ffb29 14211
abf5048b 14212rm -rf conftest.dSYM
a3097628
AJ
14213rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14214 conftest$ac_exeext conftest.$ac_ext
14215LIBS=$ac_check_lib_save_LIBS
80e34dbb 14216fi
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; }
14219if test "x$ac_cv_lib_gphoto2_gp_camera_new" = x""yes; then
80e34dbb 14220
a3097628
AJ
14221cat >>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
14229fi
14230
a3097628
AJ
14231fi
14232
80e34dbb 14233
a3097628 14234 CPPFLAGS="$ac_save_CPPFLAGS"
80e34dbb 14235fi
f9dec94f 14236if 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 14241This 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
14243This is an error since --with-gphoto was requested." >&2;}
14244 { (exit 1); exit 1; }; } ;;
14245esac
f9dec94f
AJ
14246fi
14247
14248
a3097628 14249
a3097628 14250RESOLVLIBS=""
80e34dbb 14251
a3097628
AJ
14252if test "$ac_cv_header_resolv_h" = "yes"
14253then
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 14256if test "${ac_cv_lib_resolv_res_query+set}" = set; then
abf5048b 14257 $as_echo_n "(cached) " >&6
821ab863 14258else
a3097628
AJ
14259 ac_check_lib_save_LIBS=$LIBS
14260LIBS="-lresolv $LIBS"
14261cat >conftest.$ac_ext <<_ACEOF
821ab863
AJ
14262/* confdefs.h. */
14263_ACEOF
14264cat confdefs.h >>conftest.$ac_ext
14265cat >>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
14272extern "C"
821ab863 14273#endif
a3097628 14274char res_query ();
821ab863
AJ
14275int
14276main ()
14277{
a3097628 14278return res_query ();
821ab863
AJ
14279 ;
14280 return 0;
14281}
14282_ACEOF
14283rm -f conftest.$ac_objext conftest$ac_exeext
0ebeb530
JW
14284if { (ac_try="$ac_link"
14285case "(($ac_try" in
14286 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14287 *) ac_try_echo=$ac_try;;
14288esac
abf5048b
AJ
14289eval 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 14305else
abf5048b 14306 $as_echo "$as_me: failed program was:" >&5
821ab863
AJ
14307sed 's/^/| /' conftest.$ac_ext >&5
14308
a3097628 14309 ac_cv_lib_resolv_res_query=no
821ab863 14310fi
fc6ffb29 14311
abf5048b 14312rm -rf conftest.dSYM
f0ca586f 14313rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
875927f6 14314 conftest$ac_exeext conftest.$ac_ext
a3097628 14315LIBS=$ac_check_lib_save_LIBS
821ab863 14316fi
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; }
14319if test "x$ac_cv_lib_resolv_res_query" = x""yes; then
a3097628
AJ
14320
14321cat >>confdefs.h <<\_ACEOF
14322#define HAVE_RESOLV 1
821ab863
AJ
14323_ACEOF
14324
a3097628 14325 RESOLVLIBS="-lresolv"
821ab863 14326fi
daa2886c 14327
73482144 14328fi
2a91e3f9 14329
a3097628 14330LCMSLIBS=""
fc6ffb29 14331
a3097628 14332if test "$ac_cv_header_lcms_h" = "yes" -o "$ac_cv_header_lcms_lcms_h" = "yes"
73482144 14333then
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 14336if test "${ac_cv_lib_lcms_cmsOpenProfileFromFile+set}" = set; then
abf5048b 14337 $as_echo_n "(cached) " >&6
2a91e3f9 14338else
73482144 14339 ac_check_lib_save_LIBS=$LIBS
a3097628 14340LIBS="-llcms $LIBS"
2a91e3f9 14341cat >conftest.$ac_ext <<_ACEOF
e24bcc77
AJ
14342/* confdefs.h. */
14343_ACEOF
14344cat confdefs.h >>conftest.$ac_ext
14345cat >>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
14352extern "C"
14353#endif
a3097628 14354char cmsOpenProfileFromFile ();
73482144
AJ
14355int
14356main ()
14357{
a3097628 14358return cmsOpenProfileFromFile ();
73482144
AJ
14359 ;
14360 return 0;
14361}
2a91e3f9 14362_ACEOF
73482144 14363rm -f conftest.$ac_objext conftest$ac_exeext
0ebeb530
JW
14364if { (ac_try="$ac_link"
14365case "(($ac_try" in
14366 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14367 *) ac_try_echo=$ac_try;;
14368esac
abf5048b
AJ
14369eval 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 14385else
abf5048b 14386 $as_echo "$as_me: failed program was:" >&5
e24bcc77
AJ
14387sed 's/^/| /' conftest.$ac_ext >&5
14388
a3097628 14389 ac_cv_lib_lcms_cmsOpenProfileFromFile=no
2a91e3f9 14390fi
fc6ffb29 14391
abf5048b 14392rm -rf conftest.dSYM
f0ca586f 14393rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
73482144
AJ
14394 conftest$ac_exeext conftest.$ac_ext
14395LIBS=$ac_check_lib_save_LIBS
14396fi
abf5048b
AJ
14397{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_lcms_cmsOpenProfileFromFile" >&5
14398$as_echo "$ac_cv_lib_lcms_cmsOpenProfileFromFile" >&6; }
14399if test "x$ac_cv_lib_lcms_cmsOpenProfileFromFile" = x""yes; then
73482144
AJ
14400
14401cat >>confdefs.h <<\_ACEOF
a3097628 14402#define HAVE_LCMS 1
2a91e3f9 14403_ACEOF
e24bcc77 14404
a3097628 14405 LCMSLIBS="-llcms"
2a91e3f9 14406fi
875927f6 14407
2a91e3f9 14408fi
82e06804 14409if 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 14414This 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
14416This is an error since --with-cms was requested." >&2;}
14417 { (exit 1); exit 1; }; } ;;
14418esac
f9dec94f
AJ
14419fi
14420
2a91e3f9 14421
bcba2705
FG
14422for ac_prog in freetype-config freetype2-config
14423do
14424 # Extract the first word of "$ac_prog", so it can be a program name with args.
14425set 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 14428if test "${ac_cv_prog_ft_devel+set}" = set; then
abf5048b 14429 $as_echo_n "(cached) " >&6
2a91e3f9 14430else
bcba2705
FG
14431 if test -n "$ft_devel"; then
14432 ac_cv_prog_ft_devel="$ft_devel" # Let the user override the test.
2a91e3f9 14433else
bcba2705
FG
14434as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14435for as_dir in $PATH
14436do
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
14445done
14446done
14447IFS=$as_save_IFS
e24bcc77 14448
2a91e3f9 14449fi
2a91e3f9 14450fi
bcba2705
FG
14451ft_devel=$ac_cv_prog_ft_devel
14452if test -n "$ft_devel"; then
abf5048b
AJ
14453 { $as_echo "$as_me:$LINENO: result: $ft_devel" >&5
14454$as_echo "$ft_devel" >&6; }
bcba2705 14455else
abf5048b
AJ
14456 { $as_echo "$as_me:$LINENO: result: no" >&5
14457$as_echo "no" >&6; }
bcba2705
FG
14458fi
14459
14460
14461 test -n "$ft_devel" && break
14462done
14463test -n "$ft_devel" || ft_devel="false"
14464
14465if test "$ft_devel" != "false" -a "x$with_freetype" != "xno"
14466then
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 14471if test "${ac_cv_lib_soname_freetype+set}" = set; then
abf5048b 14472 $as_echo_n "(cached) " >&6
a3097628 14473else
bcba2705
FG
14474 ac_check_soname_save_LIBS=$LIBS
14475LIBS="-lfreetype $ac_freetype_libs $LIBS"
14476 cat >conftest.$ac_ext <<_ACEOF
00fdd9fc
AJ
14477/* confdefs.h. */
14478_ACEOF
14479cat confdefs.h >>conftest.$ac_ext
14480cat >>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
14487extern "C"
73482144 14488#endif
bcba2705 14489char FT_Init_FreeType ();
73482144
AJ
14490int
14491main ()
14492{
bcba2705 14493return FT_Init_FreeType ();
73482144
AJ
14494 ;
14495 return 0;
14496}
00fdd9fc 14497_ACEOF
a3097628
AJ
14498rm -f conftest.$ac_objext conftest$ac_exeext
14499if { (ac_try="$ac_link"
0ebeb530
JW
14500case "(($ac_try" in
14501 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14502 *) ac_try_echo=$ac_try;;
14503esac
abf5048b
AJ
14504eval 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 14524else
abf5048b 14525 $as_echo "$as_me: failed program was:" >&5
00fdd9fc
AJ
14526sed 's/^/| /' conftest.$ac_ext >&5
14527
bcba2705 14528
a3097628 14529fi
fc6ffb29 14530
abf5048b 14531rm -rf conftest.dSYM
a3097628
AJ
14532rm -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 14535fi
bcba2705 14536if 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
14540else
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
14544cat >>confdefs.h <<_ACEOF
14545#define SONAME_LIBFREETYPE "$ac_cv_lib_soname_freetype"
a3097628
AJ
14546_ACEOF
14547
bcba2705 14548 ft_lib=yes
00fdd9fc 14549fi
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
14567for 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 14579do
abf5048b
AJ
14580as_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 14583if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
abf5048b 14584 $as_echo_n "(cached) " >&6
00fdd9fc 14585else
a3097628 14586 cat >conftest.$ac_ext <<_ACEOF
00fdd9fc
AJ
14587/* confdefs.h. */
14588_ACEOF
14589cat confdefs.h >>conftest.$ac_ext
14590cat >>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
14598rm -f conftest.$ac_objext
14599if { (ac_try="$ac_compile"
0ebeb530
JW
14600case "(($ac_try" in
14601 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14602 *) ac_try_echo=$ac_try;;
14603esac
abf5048b
AJ
14604eval 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 14617else
abf5048b 14618 $as_echo "$as_me: failed program was:" >&5
00fdd9fc
AJ
14619sed 's/^/| /' conftest.$ac_ext >&5
14620
bcba2705 14621 eval "$as_ac_Header=no"
00fdd9fc 14622fi
fc6ffb29 14623
bcba2705 14624rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73482144 14625fi
abf5048b
AJ
14626ac_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; }
14630as_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 14637fi
bcba2705 14638
a3097628
AJ
14639done
14640
14641 cat >conftest.$ac_ext <<_ACEOF
efca0f6a
AJ
14642/* confdefs.h. */
14643_ACEOF
14644cat confdefs.h >>conftest.$ac_ext
14645cat >>conftest.$ac_ext <<_ACEOF
14646/* end confdefs.h. */
a3097628
AJ
14647#include <ft2build.h>
14648 #include <freetype/fttrigon.h>
efca0f6a 14649_ACEOF
a3097628 14650if { (ac_try="$ac_cpp conftest.$ac_ext"
0ebeb530
JW
14651case "(($ac_try" in
14652 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14653 *) ac_try_echo=$ac_try;;
14654esac
abf5048b
AJ
14655eval 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
14668cat >>confdefs.h <<\_ACEOF
14669#define HAVE_FREETYPE_FTTRIGON_H 1
14670_ACEOF
14671
14672 wine_cv_fttrigon=yes
efca0f6a 14673else
abf5048b 14674 $as_echo "$as_me: failed program was:" >&5
efca0f6a
AJ
14675sed 's/^/| /' conftest.$ac_ext >&5
14676
a3097628 14677 wine_cv_fttrigon=no
182d150a 14678fi
efca0f6a 14679
a3097628 14680rm -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 14683if test "${ac_cv_type_FT_TrueTypeEngineType+set}" = set; then
abf5048b 14684 $as_echo_n "(cached) " >&6
f8cb48b5 14685else
abf5048b
AJ
14686 ac_cv_type_FT_TrueTypeEngineType=no
14687cat >conftest.$ac_ext <<_ACEOF
f8cb48b5
AJ
14688/* confdefs.h. */
14689_ACEOF
14690cat confdefs.h >>conftest.$ac_ext
14691cat >>conftest.$ac_ext <<_ACEOF
14692/* end confdefs.h. */
a3097628 14693#include <freetype/ftmodapi.h>
f8cb48b5
AJ
14694
14695int
14696main ()
14697{
abf5048b
AJ
14698if (sizeof (FT_TrueTypeEngineType))
14699 return 0;
f8cb48b5
AJ
14700 ;
14701 return 0;
14702}
14703_ACEOF
a3097628
AJ
14704rm -f conftest.$ac_objext
14705if { (ac_try="$ac_compile"
0ebeb530
JW
14706case "(($ac_try" in
14707 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14708 *) ac_try_echo=$ac_try;;
14709esac
abf5048b
AJ
14710eval 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
14725cat confdefs.h >>conftest.$ac_ext
14726cat >>conftest.$ac_ext <<_ACEOF
14727/* end confdefs.h. */
14728#include <freetype/ftmodapi.h>
14729
14730int
14731main ()
14732{
14733if (sizeof ((FT_TrueTypeEngineType)))
14734 return 0;
14735 ;
14736 return 0;
14737}
14738_ACEOF
14739rm -f conftest.$ac_objext
14740if { (ac_try="$ac_compile"
14741case "(($ac_try" in
14742 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14743 *) ac_try_echo=$ac_try;;
14744esac
14745eval 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 :
14758else
14759 $as_echo "$as_me: failed program was:" >&5
14760sed 's/^/| /' conftest.$ac_ext >&5
14761
14762 ac_cv_type_FT_TrueTypeEngineType=yes
14763fi
14764
14765rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14766else
14767 $as_echo "$as_me: failed program was:" >&5
14768sed 's/^/| /' conftest.$ac_ext >&5
14769
14770
14771fi
fc6ffb29 14772
a3097628 14773rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
f8cb48b5 14774fi
abf5048b
AJ
14775{ $as_echo "$as_me:$LINENO: result: $ac_cv_type_FT_TrueTypeEngineType" >&5
14776$as_echo "$ac_cv_type_FT_TrueTypeEngineType" >&6; }
14777if test "x$ac_cv_type_FT_TrueTypeEngineType" = x""yes; then
a3097628
AJ
14778
14779cat >>confdefs.h <<_ACEOF
14780#define HAVE_FT_TRUETYPEENGINETYPE 1
14781_ACEOF
14782
14783
182d150a 14784fi
f8cb48b5 14785
a3097628 14786 ac_save_CFLAGS="$CFLAGS"
24a55f38 14787 CFLAGS="$CFLAGS $ac_freetype_libs"
a3097628
AJ
14788
14789for ac_func in FT_Load_Sfnt_Table
14790do
abf5048b
AJ
14791as_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 14794if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
abf5048b 14795 $as_echo_n "(cached) " >&6
d75cc5aa 14796else
a3097628 14797 cat >conftest.$ac_ext <<_ACEOF
d75cc5aa
AJ
14798/* confdefs.h. */
14799_ACEOF
14800cat confdefs.h >>conftest.$ac_ext
14801cat >>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
14824extern "C"
14825#endif
14826char $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
14831choke me
14832#endif
d75cc5aa
AJ
14833
14834int
14835main ()
14836{
a3097628 14837return $ac_func ();
d75cc5aa
AJ
14838 ;
14839 return 0;
14840}
14841_ACEOF
14842rm -f conftest.$ac_objext conftest$ac_exeext
14843if { (ac_try="$ac_link"
14844case "(($ac_try" in
14845 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14846 *) ac_try_echo=$ac_try;;
14847esac
abf5048b
AJ
14848eval 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 14864else
abf5048b 14865 $as_echo "$as_me: failed program was:" >&5
d75cc5aa
AJ
14866sed 's/^/| /' conftest.$ac_ext >&5
14867
a3097628 14868 eval "$as_ac_var=no"
d75cc5aa
AJ
14869fi
14870
abf5048b 14871rm -rf conftest.dSYM
f0ca586f 14872rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
d75cc5aa 14873 conftest$ac_exeext conftest.$ac_ext
d75cc5aa 14874fi
abf5048b
AJ
14875ac_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; }
14879as_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 14886fi
a3097628 14887done
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
14894cat >>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
14904fi
a20c0e12
AJ
14905if 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 14909Use 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
14911Use the --without-freetype option if you really want this." >&2;}
14912 { (exit 1); exit 1; }; } ;;
14913esac
a3097628
AJ
14914fi
14915
6de0af1e 14916test "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 14920if test "${ac_cv_c_ppdev+set}" = set; then
abf5048b 14921 $as_echo_n "(cached) " >&6
c509bc4d
MM
14922else
14923 cat >conftest.$ac_ext <<_ACEOF
c509bc4d
MM
14924/* confdefs.h. */
14925_ACEOF
14926cat confdefs.h >>conftest.$ac_ext
14927cat >>conftest.$ac_ext <<_ACEOF
14928/* end confdefs.h. */
a3097628 14929#include <linux/ppdev.h>
c509bc4d
MM
14930int
14931main ()
14932{
a3097628 14933ioctl (1,PPCLAIM,0)
c509bc4d
MM
14934 ;
14935 return 0;
14936}
14937_ACEOF
14938rm -f conftest.$ac_objext
0ebeb530
JW
14939if { (ac_try="$ac_compile"
14940case "(($ac_try" in
14941 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14942 *) ac_try_echo=$ac_try;;
14943esac
abf5048b
AJ
14944eval 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 14957else
abf5048b 14958 $as_echo "$as_me: failed program was:" >&5
c509bc4d
MM
14959sed 's/^/| /' conftest.$ac_ext >&5
14960
a3097628 14961 ac_cv_c_ppdev="no"
c509bc4d 14962fi
fc6ffb29 14963
0ebeb530 14964rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
c509bc4d 14965fi
abf5048b
AJ
14966{ $as_echo "$as_me:$LINENO: result: $ac_cv_c_ppdev" >&5
14967$as_echo "$ac_cv_c_ppdev" >&6; }
a3097628
AJ
14968if test "$ac_cv_c_ppdev" = "yes"
14969then
b7443722 14970
a3097628
AJ
14971cat >>confdefs.h <<\_ACEOF
14972#define HAVE_PPDEV 1
14973_ACEOF
b7443722 14974
a3097628
AJ
14975fi
14976
abf5048b
AJ
14977{ $as_echo "$as_me:$LINENO: checking for va_copy" >&5
14978$as_echo_n "checking for va_copy... " >&6; }
a3097628 14979if test "${ac_cv_c_va_copy+set}" = set; then
abf5048b 14980 $as_echo_n "(cached) " >&6
b7443722
MM
14981else
14982 cat >conftest.$ac_ext <<_ACEOF
14983/* confdefs.h. */
14984_ACEOF
14985cat confdefs.h >>conftest.$ac_ext
14986cat >>conftest.$ac_ext <<_ACEOF
14987/* end confdefs.h. */
a3097628 14988#include <stdarg.h>
b7443722
MM
14989int
14990main ()
14991{
a3097628 14992va_list ap1, ap2; va_copy(ap1,ap2);
b7443722
MM
14993 ;
14994 return 0;
14995}
14996_ACEOF
a3097628
AJ
14997rm -f conftest.$ac_objext conftest$ac_exeext
14998if { (ac_try="$ac_link"
0ebeb530
JW
14999case "(($ac_try" in
15000 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15001 *) ac_try_echo=$ac_try;;
15002esac
abf5048b
AJ
15003eval 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 15019else
abf5048b 15020 $as_echo "$as_me: failed program was:" >&5
b7443722
MM
15021sed 's/^/| /' conftest.$ac_ext >&5
15022
a3097628 15023 ac_cv_c_va_copy="no"
b7443722 15024fi
fc6ffb29 15025
abf5048b 15026rm -rf conftest.dSYM
a3097628
AJ
15027rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15028 conftest$ac_exeext conftest.$ac_ext
15029
4f8c37b4 15030fi
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
15033if test "$ac_cv_c_va_copy" = "yes"
15034then
4f8c37b4 15035
a3097628
AJ
15036cat >>confdefs.h <<\_ACEOF
15037#define HAVE_VA_COPY 1
15038_ACEOF
daa2886c 15039
a3097628 15040fi
abf5048b
AJ
15041{ $as_echo "$as_me:$LINENO: checking for __va_copy" >&5
15042$as_echo_n "checking for __va_copy... " >&6; }
a3097628 15043if test "${ac_cv_c___va_copy+set}" = set; then
abf5048b 15044 $as_echo_n "(cached) " >&6
84555cc7
AJ
15045else
15046 cat >conftest.$ac_ext <<_ACEOF
e24bcc77
AJ
15047/* confdefs.h. */
15048_ACEOF
15049cat confdefs.h >>conftest.$ac_ext
15050cat >>conftest.$ac_ext <<_ACEOF
15051/* end confdefs.h. */
a3097628 15052#include <stdarg.h>
f5818d2f
AJ
15053int
15054main ()
15055{
a3097628 15056va_list ap1, ap2; __va_copy(ap1,ap2);
f5818d2f
AJ
15057 ;
15058 return 0;
15059}
15060_ACEOF
15061rm -f conftest.$ac_objext conftest$ac_exeext
0ebeb530
JW
15062if { (ac_try="$ac_link"
15063case "(($ac_try" in
15064 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15065 *) ac_try_echo=$ac_try;;
15066esac
abf5048b
AJ
15067eval 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 15083else
abf5048b 15084 $as_echo "$as_me: failed program was:" >&5
e24bcc77
AJ
15085sed 's/^/| /' conftest.$ac_ext >&5
15086
a3097628
AJ
15087 ac_cv_c___va_copy="no"
15088fi
15089
abf5048b 15090rm -rf conftest.dSYM
a3097628
AJ
15091rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15092 conftest$ac_exeext conftest.$ac_ext
15093
15094fi
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
15097if test "$ac_cv_c___va_copy" = "yes"
15098then
15099
15100cat >>confdefs.h <<\_ACEOF
15101#define HAVE___VA_COPY 1
15102_ACEOF
15103
15104fi
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 15108if test "${ac_cv_type_pthread_rwlock_t+set}" = set; then
abf5048b 15109 $as_echo_n "(cached) " >&6
a3097628 15110else
abf5048b
AJ
15111 ac_cv_type_pthread_rwlock_t=no
15112cat >conftest.$ac_ext <<_ACEOF
e24bcc77
AJ
15113/* confdefs.h. */
15114_ACEOF
15115cat confdefs.h >>conftest.$ac_ext
15116cat >>conftest.$ac_ext <<_ACEOF
15117/* end confdefs.h. */
a3097628
AJ
15118#define _GNU_SOURCE
15119#include <pthread.h>
57807fa1 15120
57807fa1
GM
15121int
15122main ()
15123{
abf5048b
AJ
15124if (sizeof (pthread_rwlock_t))
15125 return 0;
15126 ;
a3097628 15127 return 0;
abf5048b
AJ
15128}
15129_ACEOF
15130rm -f conftest.$ac_objext
15131if { (ac_try="$ac_compile"
15132case "(($ac_try" in
15133 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15134 *) ac_try_echo=$ac_try;;
15135esac
15136eval 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
15151cat confdefs.h >>conftest.$ac_ext
15152cat >>conftest.$ac_ext <<_ACEOF
15153/* end confdefs.h. */
15154#define _GNU_SOURCE
15155#include <pthread.h>
15156
15157int
15158main ()
15159{
15160if (sizeof ((pthread_rwlock_t)))
15161 return 0;
57807fa1
GM
15162 ;
15163 return 0;
15164}
15165_ACEOF
a3097628
AJ
15166rm -f conftest.$ac_objext
15167if { (ac_try="$ac_compile"
0ebeb530
JW
15168case "(($ac_try" in
15169 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15170 *) ac_try_echo=$ac_try;;
15171esac
abf5048b
AJ
15172eval 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 :
15185else
15186 $as_echo "$as_me: failed program was:" >&5
15187sed 's/^/| /' conftest.$ac_ext >&5
15188
15189 ac_cv_type_pthread_rwlock_t=yes
15190fi
15191
15192rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57807fa1 15193else
abf5048b 15194 $as_echo "$as_me: failed program was:" >&5
e24bcc77
AJ
15195sed 's/^/| /' conftest.$ac_ext >&5
15196
abf5048b 15197
84555cc7 15198fi
fc6ffb29 15199
a3097628 15200rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
84555cc7 15201fi
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; }
15204if test "x$ac_cv_type_pthread_rwlock_t" = x""yes; then
84555cc7 15205
a3097628
AJ
15206cat >>confdefs.h <<_ACEOF
15207#define HAVE_PTHREAD_RWLOCK_T 1
84555cc7 15208_ACEOF
57807fa1
GM
15209
15210
a3097628 15211fi
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 15214if test "${ac_cv_type_pthread_rwlockattr_t+set}" = set; then
abf5048b 15215 $as_echo_n "(cached) " >&6
8cc3a5e4 15216else
abf5048b
AJ
15217 ac_cv_type_pthread_rwlockattr_t=no
15218cat >conftest.$ac_ext <<_ACEOF
e24bcc77
AJ
15219/* confdefs.h. */
15220_ACEOF
15221cat confdefs.h >>conftest.$ac_ext
15222cat >>conftest.$ac_ext <<_ACEOF
15223/* end confdefs.h. */
a3097628
AJ
15224#define _GNU_SOURCE
15225#include <pthread.h>
15226
f5818d2f
AJ
15227int
15228main ()
15229{
abf5048b
AJ
15230if (sizeof (pthread_rwlockattr_t))
15231 return 0;
15232 ;
a3097628 15233 return 0;
abf5048b
AJ
15234}
15235_ACEOF
15236rm -f conftest.$ac_objext
15237if { (ac_try="$ac_compile"
15238case "(($ac_try" in
15239 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15240 *) ac_try_echo=$ac_try;;
15241esac
15242eval 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
15257cat confdefs.h >>conftest.$ac_ext
15258cat >>conftest.$ac_ext <<_ACEOF
15259/* end confdefs.h. */
15260#define _GNU_SOURCE
15261#include <pthread.h>
15262
15263int
15264main ()
15265{
15266if (sizeof ((pthread_rwlockattr_t)))
15267 return 0;
f5818d2f
AJ
15268 ;
15269 return 0;
15270}
15271_ACEOF
a3097628
AJ
15272rm -f conftest.$ac_objext
15273if { (ac_try="$ac_compile"
0ebeb530
JW
15274case "(($ac_try" in
15275 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15276 *) ac_try_echo=$ac_try;;
15277esac
abf5048b
AJ
15278eval 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 15291else
abf5048b 15292 $as_echo "$as_me: failed program was:" >&5
e24bcc77
AJ
15293sed 's/^/| /' conftest.$ac_ext >&5
15294
abf5048b 15295 ac_cv_type_pthread_rwlockattr_t=yes
fa3a5360 15296fi
fc6ffb29 15297
a3097628 15298rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
abf5048b
AJ
15299else
15300 $as_echo "$as_me: failed program was:" >&5
15301sed 's/^/| /' conftest.$ac_ext >&5
15302
15303
fa3a5360 15304fi
abf5048b
AJ
15305
15306rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15307fi
15308{ $as_echo "$as_me:$LINENO: result: $ac_cv_type_pthread_rwlockattr_t" >&5
15309$as_echo "$ac_cv_type_pthread_rwlockattr_t" >&6; }
15310if test "x$ac_cv_type_pthread_rwlockattr_t" = x""yes; then
84555cc7 15311
a3097628
AJ
15312cat >>confdefs.h <<_ACEOF
15313#define HAVE_PTHREAD_RWLOCKATTR_T 1
84555cc7 15314_ACEOF
fa3a5360 15315
fa3a5360
AJ
15316
15317fi
15318
15319
a3097628
AJ
15320ac_wine_check_funcs_save_LIBS="$LIBS"
15321LIBS="$LIBS $LIBPTHREAD"
ada5e652 15322
1f11333c 15323
13a93b4a 15324
7bf07d15 15325
a3097628
AJ
15326for ac_func in \
15327 pthread_attr_get_np \
15328 pthread_getattr_np \
15329 pthread_get_stackaddr_np \
15330 pthread_get_stacksize_np
ada5e652 15331do
abf5048b
AJ
15332as_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 15335if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
abf5048b 15336 $as_echo_n "(cached) " >&6
ada5e652 15337else
a3097628
AJ
15338 cat >conftest.$ac_ext <<_ACEOF
15339/* confdefs.h. */
15340_ACEOF
15341cat confdefs.h >>conftest.$ac_ext
15342cat >>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
15365extern "C"
15366#endif
15367char $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
15372choke me
15373#endif
73482144 15374
a3097628
AJ
15375int
15376main ()
15377{
15378return $ac_func ();
15379 ;
15380 return 0;
15381}
15382_ACEOF
15383rm -f conftest.$ac_objext conftest$ac_exeext
15384if { (ac_try="$ac_link"
15385case "(($ac_try" in
15386 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15387 *) ac_try_echo=$ac_try;;
15388esac
abf5048b
AJ
15389eval 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 15405else
abf5048b 15406 $as_echo "$as_me: failed program was:" >&5
a3097628 15407sed 's/^/| /' conftest.$ac_ext >&5
e24bcc77 15408
a3097628 15409 eval "$as_ac_var=no"
fa3a5360 15410fi
a3097628 15411
abf5048b 15412rm -rf conftest.dSYM
a3097628
AJ
15413rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15414 conftest$ac_exeext conftest.$ac_ext
73482144 15415fi
abf5048b
AJ
15416ac_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; }
15420as_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 15427fi
a3097628 15428done
8cc3a5e4 15429
a3097628 15430LIBS="$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.
15433set 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 15436if test "${ac_cv_path_ESDCONFIG+set}" = set; then
abf5048b 15437 $as_echo_n "(cached) " >&6
fa3a5360 15438else
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
15445for as_dir in $PATH
15446do
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
15455done
15456done
fc6ffb29 15457IFS=$as_save_IFS
73482144 15458
a3097628
AJ
15459 ;;
15460esac
73482144 15461fi
a3097628
AJ
15462ESDCONFIG=$ac_cv_path_ESDCONFIG
15463if test -n "$ESDCONFIG"; then
abf5048b
AJ
15464 { $as_echo "$as_me:$LINENO: result: $ESDCONFIG" >&5
15465$as_echo "$ESDCONFIG" >&6; }
73482144 15466else
abf5048b
AJ
15467 { $as_echo "$as_me:$LINENO: result: no" >&5
15468$as_echo "no" >&6; }
8cc3a5e4
AJ
15469fi
15470
e533e972 15471
a41f0f1b 15472if test "x$with_esd" != xno -a "x$ESDCONFIG" != x -a "x$ESDCONFIG" != x'"$ESDCONFIG"';
a3097628 15473then
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 15486if test "${ac_cv_lib_esd_esd_open_sound+set}" = set; then
abf5048b 15487 $as_echo_n "(cached) " >&6
2ffc7e2c 15488else
a3097628 15489 ac_check_lib_save_LIBS=$LIBS
e9b1a406 15490LIBS="-lesd $ac_esd_libs $LIBS"
a3097628
AJ
15491cat >conftest.$ac_ext <<_ACEOF
15492/* confdefs.h. */
15493_ACEOF
15494cat confdefs.h >>conftest.$ac_ext
15495cat >>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
15502extern "C"
15503#endif
15504char esd_open_sound ();
15505int
15506main ()
15507{
15508return esd_open_sound ();
15509 ;
15510 return 0;
15511}
15512_ACEOF
15513rm -f conftest.$ac_objext conftest$ac_exeext
15514if { (ac_try="$ac_link"
15515case "(($ac_try" in
15516 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15517 *) ac_try_echo=$ac_try;;
15518esac
abf5048b
AJ
15519eval 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 15535else
abf5048b 15536 $as_echo "$as_me: failed program was:" >&5
a3097628 15537sed 's/^/| /' conftest.$ac_ext >&5
2ffc7e2c 15538
a3097628 15539 ac_cv_lib_esd_esd_open_sound=no
2ffc7e2c 15540fi
a3097628 15541
abf5048b 15542rm -rf conftest.dSYM
a3097628
AJ
15543rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15544 conftest$ac_exeext conftest.$ac_ext
15545LIBS=$ac_check_lib_save_LIBS
2ffc7e2c 15546fi
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; }
15549if 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
15555cat >>confdefs.h <<\_ACEOF
15556#define HAVE_ESD 1
15557_ACEOF
2ffc7e2c
AJ
15558
15559fi
a3097628
AJ
15560
15561 CFLAGS="$save_CFLAGS"
2ffc7e2c 15562fi
a3097628
AJ
15563
15564ALSALIBS=""
15565
15566if test "$ac_cv_header_sys_asoundlib_h" = "yes" -o "$ac_cv_header_alsa_asoundlib_h" = "yes"
15567then
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 15570if test "${ac_cv_lib_asound_snd_pcm_hw_params_get_access+set}" = set; then
abf5048b 15571 $as_echo_n "(cached) " >&6
2ffc7e2c 15572else
a3097628
AJ
15573 ac_check_lib_save_LIBS=$LIBS
15574LIBS="-lasound $LIBS"
15575cat >conftest.$ac_ext <<_ACEOF
15576/* confdefs.h. */
15577_ACEOF
15578cat confdefs.h >>conftest.$ac_ext
15579cat >>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
15586extern "C"
15587#endif
15588char snd_pcm_hw_params_get_access ();
15589int
15590main ()
15591{
15592return snd_pcm_hw_params_get_access ();
15593 ;
15594 return 0;
15595}
15596_ACEOF
15597rm -f conftest.$ac_objext conftest$ac_exeext
15598if { (ac_try="$ac_link"
15599case "(($ac_try" in
15600 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15601 *) ac_try_echo=$ac_try;;
2ffc7e2c 15602esac
abf5048b
AJ
15603eval 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 15619else
abf5048b 15620 $as_echo "$as_me: failed program was:" >&5
a3097628
AJ
15621sed 's/^/| /' conftest.$ac_ext >&5
15622
15623 ac_cv_lib_asound_snd_pcm_hw_params_get_access=no
2ffc7e2c
AJ
15624fi
15625
abf5048b 15626rm -rf conftest.dSYM
a3097628
AJ
15627rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15628 conftest$ac_exeext conftest.$ac_ext
15629LIBS=$ac_check_lib_save_LIBS
15630fi
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; }
15633if 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
15637cat confdefs.h >>conftest.$ac_ext
15638cat >>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
15645int
15646main ()
15647{
15648int ret = snd_pcm_hw_params_get_access(NULL, NULL)
15649 ;
15650 return 0;
15651}
15652_ACEOF
15653rm -f conftest.$ac_objext
15654if { (ac_try="$ac_compile"
15655case "(($ac_try" in
15656 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15657 *) ac_try_echo=$ac_try;;
15658esac
abf5048b
AJ
15659eval 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
15672cat >>confdefs.h <<\_ACEOF
15673#define HAVE_ALSA 1
15674_ACEOF
42b81ea0 15675
a3097628
AJ
15676 ALSALIBS="-lasound"
15677else
abf5048b 15678 $as_echo "$as_me: failed program was:" >&5
a3097628 15679sed 's/^/| /' conftest.$ac_ext >&5
42b81ea0 15680
f0ca586f 15681
a3097628 15682fi
42b81ea0 15683
a3097628
AJ
15684rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15685fi
4e686043 15686
a3097628
AJ
15687fi
15688
a3097628
AJ
15689AUDIOIOLIBS=""
15690
15691if test "$ac_cv_header_libaudioio_h" = "yes"
15692then
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 15695if test "${ac_cv_lib_audioio_AudioIOGetVersion+set}" = set; then
abf5048b 15696 $as_echo_n "(cached) " >&6
e533e972 15697else
a3097628
AJ
15698 ac_check_lib_save_LIBS=$LIBS
15699LIBS="-laudioio $LIBS"
e533e972 15700cat >conftest.$ac_ext <<_ACEOF
a3097628
AJ
15701/* confdefs.h. */
15702_ACEOF
15703cat confdefs.h >>conftest.$ac_ext
15704cat >>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
15711extern "C"
15712#endif
15713char AudioIOGetVersion ();
15714int
15715main ()
15716{
15717return AudioIOGetVersion ();
15718 ;
15719 return 0;
15720}
e533e972
AJ
15721_ACEOF
15722rm -f conftest.$ac_objext conftest$ac_exeext
15723if { (ac_try="$ac_link"
15724case "(($ac_try" in
15725 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15726 *) ac_try_echo=$ac_try;;
15727esac
abf5048b
AJ
15728eval 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 15744else
abf5048b 15745 $as_echo "$as_me: failed program was:" >&5
e533e972 15746sed 's/^/| /' conftest.$ac_ext >&5
73482144 15747
a3097628 15748 ac_cv_lib_audioio_AudioIOGetVersion=no
e533e972 15749fi
daa2886c 15750
abf5048b 15751rm -rf conftest.dSYM
f0ca586f 15752rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
e533e972 15753 conftest$ac_exeext conftest.$ac_ext
a3097628 15754LIBS=$ac_check_lib_save_LIBS
e533e972 15755fi
abf5048b
AJ
15756{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_audioio_AudioIOGetVersion" >&5
15757$as_echo "$ac_cv_lib_audioio_AudioIOGetVersion" >&6; }
15758if test "x$ac_cv_lib_audioio_AudioIOGetVersion" = x""yes; then
a3097628
AJ
15759 AUDIOIOLIBS="-laudioio"
15760
15761cat >>confdefs.h <<\_ACEOF
15762#define HAVE_LIBAUDIOIO 1
15763_ACEOF
15764
15765fi
15766
15767fi
15768
15769
15770if test "$ac_cv_header_capi20_h" = "yes" -a "$ac_cv_header_linux_capi_h" = "yes"
15771then
abf5048b
AJ
15772 { $as_echo "$as_me:$LINENO: checking for -lcapi20" >&5
15773$as_echo_n "checking for -lcapi20... " >&6; }
3336e9bf 15774if test "${ac_cv_lib_soname_capi20+set}" = set; then
abf5048b 15775 $as_echo_n "(cached) " >&6
93a5b868 15776else
3336e9bf 15777 ac_check_soname_save_LIBS=$LIBS
a3097628 15778LIBS="-lcapi20 $LIBS"
3336e9bf 15779 cat >conftest.$ac_ext <<_ACEOF
e24bcc77
AJ
15780/* confdefs.h. */
15781_ACEOF
15782cat confdefs.h >>conftest.$ac_ext
15783cat >>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
15790extern "C"
15791#endif
15792char capi20_register ();
e24bcc77
AJ
15793int
15794main ()
15795{
a3097628 15796return capi20_register ();
f5818d2f
AJ
15797 ;
15798 return 0;
15799}
15800_ACEOF
15801rm -f conftest.$ac_objext conftest$ac_exeext
0ebeb530
JW
15802if { (ac_try="$ac_link"
15803case "(($ac_try" in
15804 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15805 *) ac_try_echo=$ac_try;;
15806esac
abf5048b
AJ
15807eval 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 15827else
abf5048b 15828 $as_echo "$as_me: failed program was:" >&5
e24bcc77
AJ
15829sed 's/^/| /' conftest.$ac_ext >&5
15830
3336e9bf 15831
93a5b868 15832fi
fc6ffb29 15833
abf5048b 15834rm -rf conftest.dSYM
f0ca586f 15835rm -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 15838fi
3336e9bf 15839if 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 15843else
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
15847cat >>confdefs.h <<_ACEOF
15848#define SONAME_LIBCAPI20 "$ac_cv_lib_soname_capi20"
a3097628
AJ
15849_ACEOF
15850
3336e9bf 15851
702d3556
AJ
15852fi
15853
15854fi
f9dec94f 15855if 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 15860This 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
15862This is an error since --with-capi was requested." >&2;}
15863 { (exit 1); exit 1; }; } ;;
15864esac
f9dec94f
AJ
15865fi
15866
702d3556 15867
289ea338
FG
15868CUPSINCL=""
15869
15870if test "x$with_cups" != "xno"
702d3556 15871then
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
15877for ac_header in cups/cups.h
15878do
abf5048b 15879as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
289ea338 15880if { 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 15883if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
abf5048b 15884 $as_echo_n "(cached) " >&6
289ea338 15885fi
abf5048b
AJ
15886ac_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
15890else
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
15894cat >conftest.$ac_ext <<_ACEOF
15895/* confdefs.h. */
15896_ACEOF
15897cat confdefs.h >>conftest.$ac_ext
15898cat >>conftest.$ac_ext <<_ACEOF
15899/* end confdefs.h. */
15900$ac_includes_default
15901#include <$ac_header>
15902_ACEOF
15903rm -f conftest.$ac_objext
15904if { (ac_try="$ac_compile"
15905case "(($ac_try" in
15906 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15907 *) ac_try_echo=$ac_try;;
15908esac
abf5048b
AJ
15909eval 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
15922else
abf5048b 15923 $as_echo "$as_me: failed program was:" >&5
289ea338
FG
15924sed 's/^/| /' conftest.$ac_ext >&5
15925
15926 ac_header_compiler=no
15927fi
15928
15929rm -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
15936cat >conftest.$ac_ext <<_ACEOF
15937/* confdefs.h. */
15938_ACEOF
15939cat confdefs.h >>conftest.$ac_ext
15940cat >>conftest.$ac_ext <<_ACEOF
15941/* end confdefs.h. */
15942#include <$ac_header>
15943_ACEOF
15944if { (ac_try="$ac_cpp conftest.$ac_ext"
15945case "(($ac_try" in
15946 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15947 *) ac_try_echo=$ac_try;;
15948esac
abf5048b
AJ
15949eval 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
15962else
abf5048b 15963 $as_echo "$as_me: failed program was:" >&5
289ea338
FG
15964sed 's/^/| /' conftest.$ac_ext >&5
15965
15966 ac_header_preproc=no
15967fi
15968
15969rm -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?
15974case $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 ;;
16002esac
abf5048b
AJ
16003{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
16004$as_echo_n "checking for $ac_header... " >&6; }
289ea338 16005if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
abf5048b 16006 $as_echo_n "(cached) " >&6
289ea338
FG
16007else
16008 eval "$as_ac_Header=\$ac_header_preproc"
16009fi
abf5048b
AJ
16010ac_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
16015fi
abf5048b
AJ
16016as_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 16024if test "${ac_cv_lib_soname_cups+set}" = set; then
abf5048b 16025 $as_echo_n "(cached) " >&6
702d3556
AJ
16026else
16027 ac_check_soname_save_LIBS=$LIBS
289ea338 16028LIBS="-lcups $ac_cups_libs $LIBS"
702d3556
AJ
16029 cat >conftest.$ac_ext <<_ACEOF
16030/* confdefs.h. */
16031_ACEOF
16032cat confdefs.h >>conftest.$ac_ext
16033cat >>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
16040extern "C"
16041#endif
16042char cupsGetDefault ();
16043int
16044main ()
16045{
16046return cupsGetDefault ();
16047 ;
16048 return 0;
16049}
16050_ACEOF
16051rm -f conftest.$ac_objext conftest$ac_exeext
16052if { (ac_try="$ac_link"
16053case "(($ac_try" in
16054 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16055 *) ac_try_echo=$ac_try;;
16056esac
abf5048b
AJ
16057eval 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
16077else
abf5048b 16078 $as_echo "$as_me: failed program was:" >&5
702d3556
AJ
16079sed 's/^/| /' conftest.$ac_ext >&5
16080
16081
16082fi
16083
abf5048b 16084rm -rf conftest.dSYM
702d3556
AJ
16085rm -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
16088fi
16089if 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
16093else
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
16097cat >>confdefs.h <<_ACEOF
16098#define SONAME_LIBCUPS "$ac_cv_lib_soname_cups"
16099_ACEOF
16100
289ea338
FG
16101 CUPSINCL="$ac_cups_cflags"
16102fi
702d3556 16103
34200c35
AJ
16104fi
16105
289ea338
FG
16106done
16107
16108 CPPFLAGS="$ac_save_CPPFLAGS"
34200c35 16109fi
f9dec94f 16110if 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 16115This 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
16117This is an error since --with-cups was requested." >&2;}
16118 { (exit 1); exit 1; }; } ;;
16119esac
f9dec94f
AJ
16120fi
16121
34200c35
AJ
16122
16123if test "$ac_cv_header_jack_jack_h" = "yes"
16124then
abf5048b
AJ
16125 { $as_echo "$as_me:$LINENO: checking for -ljack" >&5
16126$as_echo_n "checking for -ljack... " >&6; }
34200c35 16127if test "${ac_cv_lib_soname_jack+set}" = set; then
abf5048b 16128 $as_echo_n "(cached) " >&6
34200c35
AJ
16129else
16130 ac_check_soname_save_LIBS=$LIBS
16131LIBS="-ljack $LIBS"
16132 cat >conftest.$ac_ext <<_ACEOF
16133/* confdefs.h. */
16134_ACEOF
16135cat confdefs.h >>conftest.$ac_ext
16136cat >>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
16143extern "C"
16144#endif
16145char jack_client_new ();
16146int
16147main ()
16148{
16149return jack_client_new ();
16150 ;
16151 return 0;
16152}
16153_ACEOF
16154rm -f conftest.$ac_objext conftest$ac_exeext
16155if { (ac_try="$ac_link"
16156case "(($ac_try" in
16157 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16158 *) ac_try_echo=$ac_try;;
16159esac
abf5048b
AJ
16160eval 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
16180else
abf5048b 16181 $as_echo "$as_me: failed program was:" >&5
34200c35
AJ
16182sed 's/^/| /' conftest.$ac_ext >&5
16183
16184
16185fi
16186
abf5048b 16187rm -rf conftest.dSYM
34200c35
AJ
16188rm -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
16191fi
16192if 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
16196else
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
16200cat >>confdefs.h <<_ACEOF
16201#define SONAME_LIBJACK "$ac_cv_lib_soname_jack"
16202_ACEOF
16203
16204
ccd5f284
AJ
16205fi
16206
16207fi
16208
16209if test "$ac_cv_header_fontconfig_fontconfig_h" = "yes"
16210then
abf5048b
AJ
16211 { $as_echo "$as_me:$LINENO: checking for -lfontconfig" >&5
16212$as_echo_n "checking for -lfontconfig... " >&6; }
ccd5f284 16213if test "${ac_cv_lib_soname_fontconfig+set}" = set; then
abf5048b 16214 $as_echo_n "(cached) " >&6
ccd5f284
AJ
16215else
16216 ac_check_soname_save_LIBS=$LIBS
16217LIBS="-lfontconfig $LIBS"
16218 cat >conftest.$ac_ext <<_ACEOF
16219/* confdefs.h. */
16220_ACEOF
16221cat confdefs.h >>conftest.$ac_ext
16222cat >>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
16229extern "C"
16230#endif
16231char FcInit ();
16232int
16233main ()
16234{
16235return FcInit ();
16236 ;
16237 return 0;
16238}
16239_ACEOF
16240rm -f conftest.$ac_objext conftest$ac_exeext
16241if { (ac_try="$ac_link"
16242case "(($ac_try" in
16243 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16244 *) ac_try_echo=$ac_try;;
16245esac
abf5048b
AJ
16246eval 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
16266else
abf5048b 16267 $as_echo "$as_me: failed program was:" >&5
ccd5f284
AJ
16268sed 's/^/| /' conftest.$ac_ext >&5
16269
16270
16271fi
16272
abf5048b 16273rm -rf conftest.dSYM
ccd5f284
AJ
16274rm -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
16277fi
16278if 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
16282else
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
16286cat >>confdefs.h <<_ACEOF
16287#define SONAME_LIBFONTCONFIG "$ac_cv_lib_soname_fontconfig"
16288_ACEOF
16289
16290
f91909b3
AJ
16291fi
16292
a41f0f1b 16293elif test -n "$X_CFLAGS" -a "x$with_fontconfig" != "xno"
5c076730
AJ
16294then
16295 ac_save_CPPFLAGS="$CPPFLAGS"
16296 CPPFLAGS="$CPPFLAGS $X_CFLAGS"
16297 $as_unset ac_cv_header_fontconfig_fontconfig_h
16298
16299for ac_header in fontconfig/fontconfig.h
16300do
abf5048b 16301as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
5c076730 16302if { 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 16305if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
abf5048b 16306 $as_echo_n "(cached) " >&6
5c076730 16307fi
abf5048b
AJ
16308ac_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
16312else
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
16316cat >conftest.$ac_ext <<_ACEOF
16317/* confdefs.h. */
16318_ACEOF
16319cat confdefs.h >>conftest.$ac_ext
16320cat >>conftest.$ac_ext <<_ACEOF
16321/* end confdefs.h. */
16322$ac_includes_default
16323#include <$ac_header>
16324_ACEOF
16325rm -f conftest.$ac_objext
16326if { (ac_try="$ac_compile"
16327case "(($ac_try" in
16328 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16329 *) ac_try_echo=$ac_try;;
16330esac
abf5048b
AJ
16331eval 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
16344else
abf5048b 16345 $as_echo "$as_me: failed program was:" >&5
5c076730
AJ
16346sed 's/^/| /' conftest.$ac_ext >&5
16347
16348 ac_header_compiler=no
16349fi
16350
16351rm -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
16358cat >conftest.$ac_ext <<_ACEOF
16359/* confdefs.h. */
16360_ACEOF
16361cat confdefs.h >>conftest.$ac_ext
16362cat >>conftest.$ac_ext <<_ACEOF
16363/* end confdefs.h. */
16364#include <$ac_header>
16365_ACEOF
16366if { (ac_try="$ac_cpp conftest.$ac_ext"
16367case "(($ac_try" in
16368 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16369 *) ac_try_echo=$ac_try;;
16370esac
abf5048b
AJ
16371eval 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
16384else
abf5048b 16385 $as_echo "$as_me: failed program was:" >&5
5c076730
AJ
16386sed 's/^/| /' conftest.$ac_ext >&5
16387
16388 ac_header_preproc=no
16389fi
16390
16391rm -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?
16396case $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 ;;
16424esac
abf5048b
AJ
16425{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
16426$as_echo_n "checking for $ac_header... " >&6; }
5c076730 16427if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
abf5048b 16428 $as_echo_n "(cached) " >&6
5c076730
AJ
16429else
16430 eval "$as_ac_Header=\$ac_header_preproc"
16431fi
abf5048b
AJ
16432ac_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
16437fi
abf5048b
AJ
16438as_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
16445fi
16446
16447done
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 16456if test "${ac_cv_lib_soname_fontconfig+set}" = set; then
abf5048b 16457 $as_echo_n "(cached) " >&6
5c076730
AJ
16458else
16459 ac_check_soname_save_LIBS=$LIBS
16460LIBS="-lfontconfig $X_LIBS $LIBS"
16461 cat >conftest.$ac_ext <<_ACEOF
16462/* confdefs.h. */
16463_ACEOF
16464cat confdefs.h >>conftest.$ac_ext
16465cat >>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
16472extern "C"
16473#endif
16474char FcInit ();
16475int
16476main ()
16477{
16478return FcInit ();
16479 ;
16480 return 0;
16481}
16482_ACEOF
16483rm -f conftest.$ac_objext conftest$ac_exeext
16484if { (ac_try="$ac_link"
16485case "(($ac_try" in
16486 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16487 *) ac_try_echo=$ac_try;;
16488esac
abf5048b
AJ
16489eval 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
16509else
abf5048b 16510 $as_echo "$as_me: failed program was:" >&5
5c076730
AJ
16511sed 's/^/| /' conftest.$ac_ext >&5
16512
16513
16514fi
16515
abf5048b 16516rm -rf conftest.dSYM
5c076730
AJ
16517rm -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
16520fi
16521if 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
16525else
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
16529cat >>confdefs.h <<_ACEOF
16530#define SONAME_LIBFONTCONFIG "$ac_cv_lib_soname_fontconfig"
16531_ACEOF
16532
16533
16534fi
16535
16536 fi
f91909b3 16537fi
7f674966 16538if 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 16543This 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
16545This is an error since --with-fontconfig was requested." >&2;}
16546 { (exit 1); exit 1; }; } ;;
16547esac
7f674966
AJ
16548fi
16549
f91909b3
AJ
16550
16551if test "$ac_cv_header_openssl_err_h" = "yes" -a "$ac_cv_header_openssl_ssl_h" = "yes"
16552then
abf5048b
AJ
16553 { $as_echo "$as_me:$LINENO: checking for -lssl" >&5
16554$as_echo_n "checking for -lssl... " >&6; }
f91909b3 16555if test "${ac_cv_lib_soname_ssl+set}" = set; then
abf5048b 16556 $as_echo_n "(cached) " >&6
f91909b3
AJ
16557else
16558 ac_check_soname_save_LIBS=$LIBS
16559LIBS="-lssl $LIBS"
16560 cat >conftest.$ac_ext <<_ACEOF
16561/* confdefs.h. */
16562_ACEOF
16563cat confdefs.h >>conftest.$ac_ext
16564cat >>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
16571extern "C"
16572#endif
16573char SSL_library_init ();
16574int
16575main ()
16576{
16577return SSL_library_init ();
16578 ;
16579 return 0;
16580}
16581_ACEOF
16582rm -f conftest.$ac_objext conftest$ac_exeext
16583if { (ac_try="$ac_link"
16584case "(($ac_try" in
16585 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16586 *) ac_try_echo=$ac_try;;
16587esac
abf5048b
AJ
16588eval 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
16608else
abf5048b 16609 $as_echo "$as_me: failed program was:" >&5
f91909b3
AJ
16610sed 's/^/| /' conftest.$ac_ext >&5
16611
16612
16613fi
16614
abf5048b 16615rm -rf conftest.dSYM
f91909b3
AJ
16616rm -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
16619fi
16620if 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
16624else
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
16628cat >>confdefs.h <<_ACEOF
16629#define SONAME_LIBSSL "$ac_cv_lib_soname_ssl"
16630_ACEOF
16631
16632
16633fi
16634
abf5048b
AJ
16635 { $as_echo "$as_me:$LINENO: checking for -lcrypto" >&5
16636$as_echo_n "checking for -lcrypto... " >&6; }
f91909b3 16637if test "${ac_cv_lib_soname_crypto+set}" = set; then
abf5048b 16638 $as_echo_n "(cached) " >&6
f91909b3
AJ
16639else
16640 ac_check_soname_save_LIBS=$LIBS
16641LIBS="-lcrypto $LIBS"
16642 cat >conftest.$ac_ext <<_ACEOF
16643/* confdefs.h. */
16644_ACEOF
16645cat confdefs.h >>conftest.$ac_ext
16646cat >>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
16653extern "C"
16654#endif
16655char BIO_new_socket ();
16656int
16657main ()
16658{
16659return BIO_new_socket ();
16660 ;
16661 return 0;
16662}
16663_ACEOF
16664rm -f conftest.$ac_objext conftest$ac_exeext
16665if { (ac_try="$ac_link"
16666case "(($ac_try" in
16667 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16668 *) ac_try_echo=$ac_try;;
16669esac
abf5048b
AJ
16670eval 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
16690else
abf5048b 16691 $as_echo "$as_me: failed program was:" >&5
f91909b3
AJ
16692sed 's/^/| /' conftest.$ac_ext >&5
16693
16694
16695fi
16696
abf5048b 16697rm -rf conftest.dSYM
f91909b3
AJ
16698rm -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
16701fi
16702if 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
16706else
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
16710cat >>confdefs.h <<_ACEOF
16711#define SONAME_LIBCRYPTO "$ac_cv_lib_soname_crypto"
16712_ACEOF
16713
16714
d0fddf4f
AJ
16715fi
16716
16717fi
8354e6a9 16718if 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 16723This 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
16725This is an error since --with-openssl was requested." >&2;}
16726 { (exit 1); exit 1; }; } ;;
16727esac
7f674966
AJ
16728fi
16729
d0fddf4f
AJ
16730
16731if test "$ac_cv_header_jpeglib_h" = "yes"
16732then
abf5048b
AJ
16733 { $as_echo "$as_me:$LINENO: checking for -ljpeg" >&5
16734$as_echo_n "checking for -ljpeg... " >&6; }
d0fddf4f 16735if test "${ac_cv_lib_soname_jpeg+set}" = set; then
abf5048b 16736 $as_echo_n "(cached) " >&6
d0fddf4f
AJ
16737else
16738 ac_check_soname_save_LIBS=$LIBS
16739LIBS="-ljpeg $LIBS"
16740 cat >conftest.$ac_ext <<_ACEOF
16741/* confdefs.h. */
16742_ACEOF
16743cat confdefs.h >>conftest.$ac_ext
16744cat >>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
16751extern "C"
16752#endif
16753char jpeg_start_decompress ();
16754int
16755main ()
16756{
16757return jpeg_start_decompress ();
16758 ;
16759 return 0;
16760}
16761_ACEOF
16762rm -f conftest.$ac_objext conftest$ac_exeext
16763if { (ac_try="$ac_link"
16764case "(($ac_try" in
16765 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16766 *) ac_try_echo=$ac_try;;
16767esac
abf5048b
AJ
16768eval 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
16788else
abf5048b 16789 $as_echo "$as_me: failed program was:" >&5
d0fddf4f
AJ
16790sed 's/^/| /' conftest.$ac_ext >&5
16791
16792
16793fi
16794
abf5048b 16795rm -rf conftest.dSYM
d0fddf4f
AJ
16796rm -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
16799fi
16800if 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
16804else
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
16808cat >>confdefs.h <<_ACEOF
16809#define SONAME_LIBJPEG "$ac_cv_lib_soname_jpeg"
16810_ACEOF
16811
16812
00302152
AJ
16813fi
16814
16815fi
7f674966 16816if 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 16821This 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
16823This is an error since --with-jpeg was requested." >&2;}
16824 { (exit 1); exit 1; }; } ;;
16825esac
7f674966
AJ
16826fi
16827
00302152
AJ
16828
16829if test "$ac_cv_header_png_h" = "yes"
16830then
abf5048b
AJ
16831 { $as_echo "$as_me:$LINENO: checking for -lpng" >&5
16832$as_echo_n "checking for -lpng... " >&6; }
00302152 16833if test "${ac_cv_lib_soname_png+set}" = set; then
abf5048b 16834 $as_echo_n "(cached) " >&6
00302152
AJ
16835else
16836 ac_check_soname_save_LIBS=$LIBS
082e39f9 16837LIBS="-lpng -lm $LIBS"
00302152
AJ
16838 cat >conftest.$ac_ext <<_ACEOF
16839/* confdefs.h. */
16840_ACEOF
16841cat confdefs.h >>conftest.$ac_ext
16842cat >>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
16849extern "C"
16850#endif
16851char png_create_read_struct ();
16852int
16853main ()
16854{
16855return png_create_read_struct ();
16856 ;
16857 return 0;
16858}
16859_ACEOF
16860rm -f conftest.$ac_objext conftest$ac_exeext
16861if { (ac_try="$ac_link"
16862case "(($ac_try" in
16863 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16864 *) ac_try_echo=$ac_try;;
16865esac
abf5048b
AJ
16866eval 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
16886else
abf5048b 16887 $as_echo "$as_me: failed program was:" >&5
00302152
AJ
16888sed 's/^/| /' conftest.$ac_ext >&5
16889
16890
16891fi
16892
abf5048b 16893rm -rf conftest.dSYM
00302152
AJ
16894rm -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
16897fi
16898if 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
16902else
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
16906cat >>confdefs.h <<_ACEOF
16907#define SONAME_LIBPNG "$ac_cv_lib_soname_png"
16908_ACEOF
16909
16910
a3097628
AJ
16911fi
16912
16913fi
7f674966 16914if 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 16919This 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
16921This is an error since --with-png was requested." >&2;}
16922 { (exit 1); exit 1; }; } ;;
16923esac
7f674966
AJ
16924fi
16925
a3097628 16926
abf5048b
AJ
16927{ $as_echo "$as_me:$LINENO: checking for -lodbc" >&5
16928$as_echo_n "checking for -lodbc... " >&6; }
84f8ab6b 16929if test "${ac_cv_lib_soname_odbc+set}" = set; then
abf5048b 16930 $as_echo_n "(cached) " >&6
84f8ab6b
AJ
16931else
16932 ac_check_soname_save_LIBS=$LIBS
16933LIBS="-lodbc $LIBS"
16934 cat >conftest.$ac_ext <<_ACEOF
16935/* confdefs.h. */
16936_ACEOF
16937cat confdefs.h >>conftest.$ac_ext
16938cat >>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
16945extern "C"
16946#endif
16947char SQLConnect ();
16948int
16949main ()
16950{
16951return SQLConnect ();
16952 ;
16953 return 0;
16954}
16955_ACEOF
16956rm -f conftest.$ac_objext conftest$ac_exeext
16957if { (ac_try="$ac_link"
16958case "(($ac_try" in
16959 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16960 *) ac_try_echo=$ac_try;;
16961esac
abf5048b
AJ
16962eval 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
16982else
abf5048b 16983 $as_echo "$as_me: failed program was:" >&5
84f8ab6b
AJ
16984sed 's/^/| /' conftest.$ac_ext >&5
16985
16986
16987fi
16988
abf5048b 16989rm -rf conftest.dSYM
84f8ab6b
AJ
16990rm -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
16993fi
16994if 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
17001else
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
17005cat >>confdefs.h <<_ACEOF
17006#define SONAME_LIBODBC "$ac_cv_lib_soname_odbc"
17007_ACEOF
17008
17009
17010fi
17011
17012
3089a9f2 17013if 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
17018then
17019 wine_warnings="$wine_warnings|No sound system was found. Windows applications will be silent."
f9dec94f
AJ
17020fi
17021
17022
a3097628
AJ
17023EXTRACFLAGS=""
17024
17025if test "x${GCC}" = "xyes"
17026then
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 17031if test "${ac_cv_c_gcc_strength_bug+set}" = set; then
abf5048b 17032 $as_echo_n "(cached) " >&6
0623a6f3 17033else
a3097628
AJ
17034 if test "$cross_compiling" = yes; then
17035 ac_cv_c_gcc_strength_bug="yes"
17036else
17037 cat >conftest.$ac_ext <<_ACEOF
e24bcc77
AJ
17038/* confdefs.h. */
17039_ACEOF
17040cat confdefs.h >>conftest.$ac_ext
17041cat >>conftest.$ac_ext <<_ACEOF
17042/* end confdefs.h. */
a3097628 17043int L[4] = {0,1,2,3};
f5818d2f
AJ
17044int
17045main ()
17046{
a3097628
AJ
17047static 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 17058rm -f conftest$ac_exeext
0ebeb530
JW
17059if { (ac_try="$ac_link"
17060case "(($ac_try" in
17061 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17062 *) ac_try_echo=$ac_try;;
17063esac
abf5048b
AJ
17064eval 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;;
17073esac
abf5048b
AJ
17074eval 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 17081else
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
17084sed 's/^/| /' conftest.$ac_ext >&5
17085
a3097628
AJ
17086( exit $ac_status )
17087ac_cv_c_gcc_strength_bug="yes"
fa3a5360 17088fi
abf5048b 17089rm -rf conftest.dSYM
a3097628 17090rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
182d150a
AJ
17091fi
17092
a3097628 17093
182d150a 17094fi
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 17105if test "${ac_cv_cflags__fshort_wchar+set}" = set; then
abf5048b 17106 $as_echo_n "(cached) " >&6
266c609d 17107else
e533e972 17108 ac_wine_try_cflags_saved=$CFLAGS
a3097628 17109CFLAGS="$CFLAGS -fshort-wchar"
e533e972 17110cat >conftest.$ac_ext <<_ACEOF
266c609d
AJ
17111/* confdefs.h. */
17112_ACEOF
17113cat confdefs.h >>conftest.$ac_ext
17114cat >>conftest.$ac_ext <<_ACEOF
17115/* end confdefs.h. */
266c609d
AJ
17116
17117int
17118main ()
17119{
e533e972 17120
266c609d
AJ
17121 ;
17122 return 0;
17123}
17124_ACEOF
17125rm -f conftest.$ac_objext conftest$ac_exeext
0ebeb530
JW
17126if { (ac_try="$ac_link"
17127case "(($ac_try" in
17128 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17129 *) ac_try_echo=$ac_try;;
17130esac
abf5048b
AJ
17131eval 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 17147else
abf5048b 17148 $as_echo "$as_me: failed program was:" >&5
266c609d
AJ
17149sed 's/^/| /' conftest.$ac_ext >&5
17150
a3097628 17151 ac_cv_cflags__fshort_wchar=no
266c609d 17152fi
fc6ffb29 17153
abf5048b 17154rm -rf conftest.dSYM
f0ca586f 17155rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
266c609d 17156 conftest$ac_exeext conftest.$ac_ext
e533e972 17157CFLAGS=$ac_wine_try_cflags_saved
266c609d 17158fi
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 17161if test $ac_cv_cflags__fshort_wchar = yes; then
fa3a5360 17162
a3097628
AJ
17163cat >>confdefs.h <<\_ACEOF
17164#define CC_FLAG_SHORT_WCHAR "-fshort-wchar"
17165_ACEOF
182d150a 17166
6538cb44
AJ
17167fi
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 17171if test "${ac_cv_cflags__fno_builtin+set}" = set; then
abf5048b 17172 $as_echo_n "(cached) " >&6
6538cb44
AJ
17173else
17174 ac_wine_try_cflags_saved=$CFLAGS
17175CFLAGS="$CFLAGS -fno-builtin"
17176cat >conftest.$ac_ext <<_ACEOF
17177/* confdefs.h. */
17178_ACEOF
17179cat confdefs.h >>conftest.$ac_ext
17180cat >>conftest.$ac_ext <<_ACEOF
17181/* end confdefs.h. */
17182
17183int
17184main ()
17185{
17186
17187 ;
17188 return 0;
17189}
17190_ACEOF
17191rm -f conftest.$ac_objext conftest$ac_exeext
17192if { (ac_try="$ac_link"
17193case "(($ac_try" in
17194 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17195 *) ac_try_echo=$ac_try;;
17196esac
abf5048b
AJ
17197eval 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
17213else
abf5048b 17214 $as_echo "$as_me: failed program was:" >&5
6538cb44
AJ
17215sed 's/^/| /' conftest.$ac_ext >&5
17216
17217 ac_cv_cflags__fno_builtin=no
17218fi
17219
abf5048b 17220rm -rf conftest.dSYM
6538cb44
AJ
17221rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
17222 conftest$ac_exeext conftest.$ac_ext
17223CFLAGS=$ac_wine_try_cflags_saved
17224fi
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
17227if test $ac_cv_cflags__fno_builtin = yes; then
17228 BUILTINFLAG="-fno-builtin"
17229
a3097628
AJ
17230fi
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 17234if test "${ac_cv_cflags__fno_strict_aliasing+set}" = set; then
abf5048b 17235 $as_echo_n "(cached) " >&6
7e6ae4ba 17236else
67e8dc68 17237 ac_wine_try_cflags_saved=$CFLAGS
a3097628 17238CFLAGS="$CFLAGS -fno-strict-aliasing"
67e8dc68 17239cat >conftest.$ac_ext <<_ACEOF
e533e972
AJ
17240/* confdefs.h. */
17241_ACEOF
17242cat confdefs.h >>conftest.$ac_ext
17243cat >>conftest.$ac_ext <<_ACEOF
17244/* end confdefs.h. */
17245
17246int
17247main ()
17248{
17249
17250 ;
17251 return 0;
17252}
f5818d2f
AJ
17253_ACEOF
17254rm -f conftest.$ac_objext conftest$ac_exeext
0ebeb530
JW
17255if { (ac_try="$ac_link"
17256case "(($ac_try" in
17257 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17258 *) ac_try_echo=$ac_try;;
17259esac
abf5048b
AJ
17260eval 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 17276else
abf5048b 17277 $as_echo "$as_me: failed program was:" >&5
e24bcc77
AJ
17278sed 's/^/| /' conftest.$ac_ext >&5
17279
a3097628 17280 ac_cv_cflags__fno_strict_aliasing=no
7e6ae4ba 17281fi
fc6ffb29 17282
abf5048b 17283rm -rf conftest.dSYM
f0ca586f 17284rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
875927f6 17285 conftest$ac_exeext conftest.$ac_ext
67e8dc68 17286CFLAGS=$ac_wine_try_cflags_saved
f5818d2f 17287fi
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
17290if test $ac_cv_cflags__fno_strict_aliasing = yes; then
17291 EXTRACFLAGS="$EXTRACFLAGS -fno-strict-aliasing"
182d150a
AJ
17292fi
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 17296if test "${ac_cv_cflags__Wdeclaration_after_statement+set}" = set; then
abf5048b 17297 $as_echo_n "(cached) " >&6
0ebeb530 17298else
182d150a 17299 ac_wine_try_cflags_saved=$CFLAGS
a3097628 17300CFLAGS="$CFLAGS -Wdeclaration-after-statement"
0ebeb530
JW
17301cat >conftest.$ac_ext <<_ACEOF
17302/* confdefs.h. */
17303_ACEOF
17304cat confdefs.h >>conftest.$ac_ext
17305cat >>conftest.$ac_ext <<_ACEOF
17306/* end confdefs.h. */
17307
17308int
17309main ()
17310{
17311
17312 ;
17313 return 0;
17314}
17315_ACEOF
17316rm -f conftest.$ac_objext conftest$ac_exeext
17317if { (ac_try="$ac_link"
17318case "(($ac_try" in
17319 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17320 *) ac_try_echo=$ac_try;;
17321esac
abf5048b
AJ
17322eval 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 17338else
abf5048b 17339 $as_echo "$as_me: failed program was:" >&5
0ebeb530
JW
17340sed 's/^/| /' conftest.$ac_ext >&5
17341
a3097628 17342 ac_cv_cflags__Wdeclaration_after_statement=no
0ebeb530
JW
17343fi
17344
abf5048b 17345rm -rf conftest.dSYM
f0ca586f 17346rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
0ebeb530
JW
17347 conftest$ac_exeext conftest.$ac_ext
17348CFLAGS=$ac_wine_try_cflags_saved
17349fi
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
17352if test $ac_cv_cflags__Wdeclaration_after_statement = yes; then
17353 EXTRACFLAGS="$EXTRACFLAGS -Wdeclaration-after-statement"
182d150a
AJ
17354fi
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 17358if test "${ac_cv_cflags__Wwrite_strings+set}" = set; then
abf5048b 17359 $as_echo_n "(cached) " >&6
0ebeb530
JW
17360else
17361 ac_wine_try_cflags_saved=$CFLAGS
a3097628 17362CFLAGS="$CFLAGS -Wwrite-strings"
0ebeb530
JW
17363cat >conftest.$ac_ext <<_ACEOF
17364/* confdefs.h. */
17365_ACEOF
17366cat confdefs.h >>conftest.$ac_ext
17367cat >>conftest.$ac_ext <<_ACEOF
17368/* end confdefs.h. */
17369
17370int
17371main ()
17372{
17373
17374 ;
17375 return 0;
17376}
17377_ACEOF
17378rm -f conftest.$ac_objext conftest$ac_exeext
17379if { (ac_try="$ac_link"
17380case "(($ac_try" in
17381 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17382 *) ac_try_echo=$ac_try;;
17383esac
abf5048b
AJ
17384eval 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 17400else
abf5048b 17401 $as_echo "$as_me: failed program was:" >&5
0ebeb530
JW
17402sed 's/^/| /' conftest.$ac_ext >&5
17403
a3097628 17404 ac_cv_cflags__Wwrite_strings=no
0ebeb530
JW
17405fi
17406
abf5048b 17407rm -rf conftest.dSYM
f0ca586f 17408rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
0ebeb530
JW
17409 conftest$ac_exeext conftest.$ac_ext
17410CFLAGS=$ac_wine_try_cflags_saved
17411fi
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
17414if test $ac_cv_cflags__Wwrite_strings = yes; then
17415 EXTRACFLAGS="$EXTRACFLAGS -Wwrite-strings"
182d150a 17416fi
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 17420if test "${ac_cv_cflags__Wtype_limits+set}" = set; then
abf5048b 17421 $as_echo_n "(cached) " >&6
701ef1d8
GP
17422else
17423 ac_wine_try_cflags_saved=$CFLAGS
17424CFLAGS="$CFLAGS -Wtype-limits"
17425cat >conftest.$ac_ext <<_ACEOF
17426/* confdefs.h. */
17427_ACEOF
17428cat confdefs.h >>conftest.$ac_ext
17429cat >>conftest.$ac_ext <<_ACEOF
17430/* end confdefs.h. */
17431
17432int
17433main ()
17434{
17435
17436 ;
17437 return 0;
17438}
17439_ACEOF
17440rm -f conftest.$ac_objext conftest$ac_exeext
17441if { (ac_try="$ac_link"
17442case "(($ac_try" in
17443 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17444 *) ac_try_echo=$ac_try;;
17445esac
abf5048b
AJ
17446eval 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
17462else
abf5048b 17463 $as_echo "$as_me: failed program was:" >&5
701ef1d8
GP
17464sed 's/^/| /' conftest.$ac_ext >&5
17465
17466 ac_cv_cflags__Wtype_limits=no
17467fi
17468
abf5048b 17469rm -rf conftest.dSYM
701ef1d8
GP
17470rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
17471 conftest$ac_exeext conftest.$ac_ext
17472CFLAGS=$ac_wine_try_cflags_saved
17473fi
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
17476if test $ac_cv_cflags__Wtype_limits = yes; then
17477 EXTRACFLAGS="$EXTRACFLAGS -Wtype-limits"
17478fi
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 17485if test "${ac_cv_c_string_h_warnings+set}" = set; then
abf5048b 17486 $as_echo_n "(cached) " >&6
f2abe47d 17487else
a3097628 17488 cat >conftest.$ac_ext <<_ACEOF
e24bcc77
AJ
17489/* confdefs.h. */
17490_ACEOF
17491cat confdefs.h >>conftest.$ac_ext
17492cat >>conftest.$ac_ext <<_ACEOF
17493/* end confdefs.h. */
a3097628 17494#include <string.h>
f2abe47d
AJ
17495int
17496main ()
17497{
17498
17499 ;
17500 return 0;
17501}
17502_ACEOF
a3097628
AJ
17503rm -f conftest.$ac_objext
17504if { (ac_try="$ac_compile"
0ebeb530
JW
17505case "(($ac_try" in
17506 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17507 *) ac_try_echo=$ac_try;;
17508esac
abf5048b
AJ
17509eval 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 17522else
abf5048b 17523 $as_echo "$as_me: failed program was:" >&5
e24bcc77
AJ
17524sed 's/^/| /' conftest.$ac_ext >&5
17525
a3097628 17526 ac_cv_c_string_h_warnings=yes
f2abe47d 17527fi
fc6ffb29 17528
a3097628 17529rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
f2abe47d 17530fi
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 17538fi
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 17543if test "${ac_cv_asm_func_def+set}" = set; then
abf5048b 17544 $as_echo_n "(cached) " >&6
36048242 17545else
a3097628 17546 cat >conftest.$ac_ext <<_ACEOF
36048242
AJ
17547/* confdefs.h. */
17548_ACEOF
17549cat confdefs.h >>conftest.$ac_ext
17550cat >>conftest.$ac_ext <<_ACEOF
17551/* end confdefs.h. */
17552
17553int
17554main ()
17555{
a3097628 17556asm("\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
17561rm -f conftest.$ac_objext conftest$ac_exeext
0ebeb530
JW
17562if { (ac_try="$ac_link"
17563case "(($ac_try" in
17564 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17565 *) ac_try_echo=$ac_try;;
17566esac
abf5048b
AJ
17567eval 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 17583else
abf5048b 17584 $as_echo "$as_me: failed program was:" >&5
36048242
AJ
17585sed 's/^/| /' conftest.$ac_ext >&5
17586
a3097628
AJ
17587 cat >conftest.$ac_ext <<_ACEOF
17588/* confdefs.h. */
17589_ACEOF
17590cat confdefs.h >>conftest.$ac_ext
17591cat >>conftest.$ac_ext <<_ACEOF
17592/* end confdefs.h. */
36048242 17593
a3097628
AJ
17594int
17595main ()
17596{
17597asm("\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
17602rm -f conftest.$ac_objext conftest$ac_exeext
0ebeb530
JW
17603if { (ac_try="$ac_link"
17604case "(($ac_try" in
17605 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17606 *) ac_try_echo=$ac_try;;
17607esac
abf5048b
AJ
17608eval 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 17624else
abf5048b 17625 $as_echo "$as_me: failed program was:" >&5
440ff6db
AJ
17626sed 's/^/| /' conftest.$ac_ext >&5
17627
a3097628
AJ
17628 cat >conftest.$ac_ext <<_ACEOF
17629/* confdefs.h. */
17630_ACEOF
17631cat confdefs.h >>conftest.$ac_ext
17632cat >>conftest.$ac_ext <<_ACEOF
17633/* end confdefs.h. */
e533e972 17634
a3097628
AJ
17635int
17636main ()
17637{
17638asm("\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
17643rm -f conftest.$ac_objext conftest$ac_exeext
0ebeb530
JW
17644if { (ac_try="$ac_link"
17645case "(($ac_try" in
17646 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17647 *) ac_try_echo=$ac_try;;
17648esac
abf5048b
AJ
17649eval 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 17665else
abf5048b 17666 $as_echo "$as_me: failed program was:" >&5
a3097628 17667sed 's/^/| /' conftest.$ac_ext >&5
e533e972 17668
a3097628 17669 ac_cv_asm_func_def="unknown"
e533e972 17670fi
a3097628 17671
abf5048b 17672rm -rf conftest.dSYM
a3097628
AJ
17673rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
17674 conftest$ac_exeext conftest.$ac_ext
e533e972 17675fi
a3097628 17676
abf5048b 17677rm -rf conftest.dSYM
a3097628
AJ
17678rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
17679 conftest$ac_exeext conftest.$ac_ext
e533e972
AJ
17680fi
17681
abf5048b 17682rm -rf conftest.dSYM
a3097628
AJ
17683rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
17684 conftest$ac_exeext conftest.$ac_ext
17685fi
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
17691case "$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 ;;
17712esac
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 17717if test "${ac_cv_c_extern_prefix+set}" = set; then
abf5048b 17718 $as_echo_n "(cached) " >&6
2ffc7e2c 17719else
a3097628
AJ
17720 cat >conftest.$ac_ext <<_ACEOF
17721/* confdefs.h. */
17722_ACEOF
17723cat confdefs.h >>conftest.$ac_ext
17724cat >>conftest.$ac_ext <<_ACEOF
17725/* end confdefs.h. */
17726extern int ac_test;
17727int
17728main ()
17729{
17730asm(".globl _ac_test\n_ac_test:\t.long 0"); if (ac_test) return 1
17731 ;
17732 return 0;
17733}
17734_ACEOF
17735rm -f conftest.$ac_objext conftest$ac_exeext
17736if { (ac_try="$ac_link"
17737case "(($ac_try" in
17738 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17739 *) ac_try_echo=$ac_try;;
17740esac
abf5048b
AJ
17741eval 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 17757else
abf5048b 17758 $as_echo "$as_me: failed program was:" >&5
a3097628 17759sed 's/^/| /' conftest.$ac_ext >&5
2ffc7e2c 17760
a3097628 17761 ac_cv_c_extern_prefix="no"
2ffc7e2c 17762fi
a3097628 17763
abf5048b 17764rm -rf conftest.dSYM
a3097628
AJ
17765rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
17766 conftest$ac_exeext conftest.$ac_ext
2ffc7e2c 17767fi
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
17773if test "$ac_cv_c_extern_prefix" = "yes"
17774then
17775 cat >>confdefs.h <<\_ACEOF
17776#define __ASM_NAME(name) "_" name
17777_ACEOF
17778
17779else
17780 cat >>confdefs.h <<\_ACEOF
17781#define __ASM_NAME(name) name
17782_ACEOF
e533e972 17783
e533e972
AJ
17784fi
17785
a3097628 17786
3a0233d6
AJ
17787LDPATH=""
17788
e533e972
AJ
17789case $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
17803esac
17804
17805case $host_os in
17806 mingw32*)
17807 CRTLIBS="-lmsvcrt"
17808
17809 SOCKETLIBS="-lws2_32"
17810
17811 ;;
17812esac
17813
17814MAIN_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 ;;
17830esac
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
17903for 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
17975do
abf5048b
AJ
17976as_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 17979if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
abf5048b 17980 $as_echo_n "(cached) " >&6
9557d1bf 17981else
9557d1bf 17982 cat >conftest.$ac_ext <<_ACEOF
9557d1bf
MM
17983/* confdefs.h. */
17984_ACEOF
17985cat confdefs.h >>conftest.$ac_ext
17986cat >>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
18009extern "C"
18010#endif
e533e972
AJ
18011char $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
18016choke me
18017#endif
18018
9557d1bf
MM
18019int
18020main ()
18021{
e533e972 18022return $ac_func ();
9557d1bf
MM
18023 ;
18024 return 0;
18025}
18026_ACEOF
18027rm -f conftest.$ac_objext conftest$ac_exeext
0ebeb530
JW
18028if { (ac_try="$ac_link"
18029case "(($ac_try" in
18030 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18031 *) ac_try_echo=$ac_try;;
18032esac
abf5048b
AJ
18033eval 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 18049else
abf5048b 18050 $as_echo "$as_me: failed program was:" >&5
9557d1bf
MM
18051sed 's/^/| /' conftest.$ac_ext >&5
18052
e533e972 18053 eval "$as_ac_var=no"
9557d1bf 18054fi
fc6ffb29 18055
abf5048b 18056rm -rf conftest.dSYM
f0ca586f 18057rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
875927f6 18058 conftest$ac_exeext conftest.$ac_ext
9557d1bf 18059fi
abf5048b
AJ
18060ac_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; }
18064as_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 18071fi
e533e972 18072done
e82dfab2 18073
e533e972
AJ
18074
18075if test "$ac_cv_func_dlopen" = no
18076then
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 18079if test "${ac_cv_lib_dl_dlopen+set}" = set; then
abf5048b 18080 $as_echo_n "(cached) " >&6
e82dfab2 18081else
e533e972
AJ
18082 ac_check_lib_save_LIBS=$LIBS
18083LIBS="-ldl $LIBS"
18084cat >conftest.$ac_ext <<_ACEOF
e82dfab2
HD
18085/* confdefs.h. */
18086_ACEOF
18087cat confdefs.h >>conftest.$ac_ext
18088cat >>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
18095extern "C"
18096#endif
e533e972 18097char dlopen ();
e82dfab2
HD
18098int
18099main ()
18100{
e533e972 18101return dlopen ();
e82dfab2
HD
18102 ;
18103 return 0;
18104}
18105_ACEOF
18106rm -f conftest.$ac_objext conftest$ac_exeext
0ebeb530
JW
18107if { (ac_try="$ac_link"
18108case "(($ac_try" in
18109 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18110 *) ac_try_echo=$ac_try;;
18111esac
abf5048b
AJ
18112eval 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 18128else
abf5048b 18129 $as_echo "$as_me: failed program was:" >&5
e82dfab2
HD
18130sed 's/^/| /' conftest.$ac_ext >&5
18131
e533e972 18132 ac_cv_lib_dl_dlopen=no
e82dfab2 18133fi
fc6ffb29 18134
abf5048b 18135rm -rf conftest.dSYM
f0ca586f 18136rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
e82dfab2 18137 conftest$ac_exeext conftest.$ac_ext
e533e972 18138LIBS=$ac_check_lib_save_LIBS
e82dfab2 18139fi
abf5048b
AJ
18140{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
18141$as_echo "$ac_cv_lib_dl_dlopen" >&6; }
18142if 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
18148fi
18149
e533e972
AJ
18150fi
18151ac_wine_check_funcs_save_LIBS="$LIBS"
18152LIBS="$LIBS $LIBDL"
18153
18154for ac_func in dladdr
18155do
abf5048b
AJ
18156as_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 18159if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
abf5048b 18160 $as_echo_n "(cached) " >&6
1bb94039 18161else
f5818d2f 18162 cat >conftest.$ac_ext <<_ACEOF
e24bcc77
AJ
18163/* confdefs.h. */
18164_ACEOF
18165cat confdefs.h >>conftest.$ac_ext
18166cat >>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
18189extern "C"
18190#endif
e533e972
AJ
18191char $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
18196choke me
18197#endif
18198
f5818d2f
AJ
18199int
18200main ()
18201{
e533e972 18202return $ac_func ();
f5818d2f
AJ
18203 ;
18204 return 0;
18205}
18206_ACEOF
18207rm -f conftest.$ac_objext conftest$ac_exeext
0ebeb530
JW
18208if { (ac_try="$ac_link"
18209case "(($ac_try" in
18210 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18211 *) ac_try_echo=$ac_try;;
18212esac
abf5048b
AJ
18213eval 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 18229else
abf5048b 18230 $as_echo "$as_me: failed program was:" >&5
e24bcc77
AJ
18231sed 's/^/| /' conftest.$ac_ext >&5
18232
e533e972 18233 eval "$as_ac_var=no"
f5818d2f 18234fi
fc6ffb29 18235
abf5048b 18236rm -rf conftest.dSYM
f0ca586f 18237rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
875927f6 18238 conftest$ac_exeext conftest.$ac_ext
f5818d2f 18239fi
abf5048b
AJ
18240ac_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; }
18244as_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 18251fi
e533e972 18252done
1bb94039 18253
e533e972
AJ
18254LIBS="$ac_wine_check_funcs_save_LIBS"
18255
18256if test "$ac_cv_func_poll" = no
18257then
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 18260if test "${ac_cv_lib_poll_poll+set}" = set; then
abf5048b 18261 $as_echo_n "(cached) " >&6
1bb94039 18262else
bcba2705
FG
18263 ac_check_lib_save_LIBS=$LIBS
18264LIBS="-lpoll $LIBS"
18265cat >conftest.$ac_ext <<_ACEOF
18266/* confdefs.h. */
18267_ACEOF
18268cat confdefs.h >>conftest.$ac_ext
18269cat >>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
18276extern "C"
18277#endif
18278char poll ();
18279int
18280main ()
18281{
18282return poll ();
18283 ;
18284 return 0;
18285}
18286_ACEOF
18287rm -f conftest.$ac_objext conftest$ac_exeext
18288if { (ac_try="$ac_link"
18289case "(($ac_try" in
18290 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18291 *) ac_try_echo=$ac_try;;
18292esac
abf5048b
AJ
18293eval 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
18309else
abf5048b 18310 $as_echo "$as_me: failed program was:" >&5
bcba2705
FG
18311sed 's/^/| /' conftest.$ac_ext >&5
18312
18313 ac_cv_lib_poll_poll=no
18314fi
18315
abf5048b 18316rm -rf conftest.dSYM
bcba2705
FG
18317rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
18318 conftest$ac_exeext conftest.$ac_ext
18319LIBS=$ac_check_lib_save_LIBS
18320fi
abf5048b
AJ
18321{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_poll_poll" >&5
18322$as_echo "$ac_cv_lib_poll_poll" >&6; }
18323if 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
18329fi
18330
18331fi
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 18335if test "${ac_cv_search_gethostbyname+set}" = set; then
abf5048b 18336 $as_echo_n "(cached) " >&6
bcba2705
FG
18337else
18338 ac_func_search_save_LIBS=$LIBS
18339cat >conftest.$ac_ext <<_ACEOF
18340/* confdefs.h. */
18341_ACEOF
18342cat confdefs.h >>conftest.$ac_ext
18343cat >>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
18350extern "C"
18351#endif
18352char gethostbyname ();
18353int
18354main ()
18355{
18356return gethostbyname ();
18357 ;
18358 return 0;
18359}
18360_ACEOF
18361for 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
18369if { (ac_try="$ac_link"
18370case "(($ac_try" in
18371 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18372 *) ac_try_echo=$ac_try;;
18373esac
abf5048b
AJ
18374eval 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
18390else
abf5048b 18391 $as_echo "$as_me: failed program was:" >&5
bcba2705
FG
18392sed 's/^/| /' conftest.$ac_ext >&5
18393
18394
18395fi
18396
abf5048b 18397rm -rf conftest.dSYM
bcba2705
FG
18398rm -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
18402fi
18403done
18404if test "${ac_cv_search_gethostbyname+set}" = set; then
18405 :
18406else
18407 ac_cv_search_gethostbyname=no
18408fi
18409rm conftest.$ac_ext
18410LIBS=$ac_func_search_save_LIBS
18411fi
abf5048b
AJ
18412{ $as_echo "$as_me:$LINENO: result: $ac_cv_search_gethostbyname" >&5
18413$as_echo "$ac_cv_search_gethostbyname" >&6; }
bcba2705
FG
18414ac_res=$ac_cv_search_gethostbyname
18415if test "$ac_res" != no; then
18416 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
18417
18418fi
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 18423if test "${ac_cv_search_connect+set}" = set; then
abf5048b 18424 $as_echo_n "(cached) " >&6
bcba2705
FG
18425else
18426 ac_func_search_save_LIBS=$LIBS
18427cat >conftest.$ac_ext <<_ACEOF
18428/* confdefs.h. */
18429_ACEOF
18430cat confdefs.h >>conftest.$ac_ext
18431cat >>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
18438extern "C"
18439#endif
18440char connect ();
18441int
18442main ()
18443{
18444return connect ();
18445 ;
18446 return 0;
18447}
18448_ACEOF
18449for 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
18457if { (ac_try="$ac_link"
18458case "(($ac_try" in
18459 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18460 *) ac_try_echo=$ac_try;;
18461esac
abf5048b
AJ
18462eval 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
18478else
abf5048b 18479 $as_echo "$as_me: failed program was:" >&5
bcba2705
FG
18480sed 's/^/| /' conftest.$ac_ext >&5
18481
18482
18483fi
18484
abf5048b 18485rm -rf conftest.dSYM
bcba2705
FG
18486rm -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
18490fi
18491done
18492if test "${ac_cv_search_connect+set}" = set; then
18493 :
18494else
18495 ac_cv_search_connect=no
18496fi
18497rm conftest.$ac_ext
18498LIBS=$ac_func_search_save_LIBS
18499fi
abf5048b
AJ
18500{ $as_echo "$as_me:$LINENO: result: $ac_cv_search_connect" >&5
18501$as_echo "$ac_cv_search_connect" >&6; }
bcba2705
FG
18502ac_res=$ac_cv_search_connect
18503if test "$ac_res" != no; then
18504 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
18505
18506fi
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 18511if test "${ac_cv_search_inet_aton+set}" = set; then
abf5048b 18512 $as_echo_n "(cached) " >&6
bcba2705
FG
18513else
18514 ac_func_search_save_LIBS=$LIBS
18515cat >conftest.$ac_ext <<_ACEOF
18516/* confdefs.h. */
18517_ACEOF
18518cat confdefs.h >>conftest.$ac_ext
18519cat >>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
18526extern "C"
18527#endif
18528char inet_aton ();
18529int
18530main ()
18531{
18532return inet_aton ();
18533 ;
18534 return 0;
18535}
18536_ACEOF
18537for 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
18545if { (ac_try="$ac_link"
18546case "(($ac_try" in
18547 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18548 *) ac_try_echo=$ac_try;;
18549esac
abf5048b
AJ
18550eval 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
18566else
abf5048b 18567 $as_echo "$as_me: failed program was:" >&5
bcba2705
FG
18568sed 's/^/| /' conftest.$ac_ext >&5
18569
18570
18571fi
18572
abf5048b 18573rm -rf conftest.dSYM
bcba2705
FG
18574rm -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
18578fi
18579done
18580if test "${ac_cv_search_inet_aton+set}" = set; then
18581 :
18582else
18583 ac_cv_search_inet_aton=no
18584fi
18585rm conftest.$ac_ext
18586LIBS=$ac_func_search_save_LIBS
18587fi
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
18590ac_res=$ac_cv_search_inet_aton
18591if test "$ac_res" != no; then
18592 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
18593
18594fi
18595
18596
18597
18598
18599
18600
18601
18602
18603
18604
18605for ac_func in \
18606 getaddrinfo \
18607 getnameinfo \
18608 getnetbyname \
18609 getprotobyname \
18610 getprotobynumber \
18611 getservbyport \
18612 inet_network \
18613 sendmsg \
18614
18615do
abf5048b
AJ
18616as_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 18619if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
abf5048b 18620 $as_echo_n "(cached) " >&6
bcba2705
FG
18621else
18622 cat >conftest.$ac_ext <<_ACEOF
e24bcc77
AJ
18623/* confdefs.h. */
18624_ACEOF
18625cat confdefs.h >>conftest.$ac_ext
18626cat >>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
18649extern "C"
18650#endif
bcba2705
FG
18651char $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
18656choke me
18657#endif
18658
f5818d2f
AJ
18659int
18660main ()
18661{
bcba2705 18662return $ac_func ();
f5818d2f
AJ
18663 ;
18664 return 0;
18665}
18666_ACEOF
18667rm -f conftest.$ac_objext conftest$ac_exeext
0ebeb530
JW
18668if { (ac_try="$ac_link"
18669case "(($ac_try" in
18670 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18671 *) ac_try_echo=$ac_try;;
18672esac
abf5048b
AJ
18673eval 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 18689else
abf5048b 18690 $as_echo "$as_me: failed program was:" >&5
e24bcc77
AJ
18691sed 's/^/| /' conftest.$ac_ext >&5
18692
bcba2705 18693 eval "$as_ac_var=no"
1bb94039 18694fi
fc6ffb29 18695
abf5048b 18696rm -rf conftest.dSYM
f0ca586f 18697rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
875927f6 18698 conftest$ac_exeext conftest.$ac_ext
1bb94039 18699fi
abf5048b
AJ
18700ac_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; }
18704as_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 18711fi
bcba2705 18712done
1bb94039 18713
e533e972 18714
bcba2705
FG
18715LDAPLIBS=""
18716
18717if test "$ac_cv_header_ldap_h" = "yes" -a "$ac_cv_header_lber_h" = "yes"
18718then
abf5048b
AJ
18719 { $as_echo "$as_me:$LINENO: checking for LDAPSortKey" >&5
18720$as_echo_n "checking for LDAPSortKey... " >&6; }
bcba2705 18721if test "${ac_cv_type_LDAPSortKey+set}" = set; then
abf5048b 18722 $as_echo_n "(cached) " >&6
f5818d2f 18723else
abf5048b
AJ
18724 ac_cv_type_LDAPSortKey=no
18725cat >conftest.$ac_ext <<_ACEOF
e24bcc77
AJ
18726/* confdefs.h. */
18727_ACEOF
18728cat confdefs.h >>conftest.$ac_ext
18729cat >>conftest.$ac_ext <<_ACEOF
18730/* end confdefs.h. */
bcba2705 18731#include <ldap.h>
875927f6 18732
e24bcc77
AJ
18733int
18734main ()
18735{
abf5048b
AJ
18736if (sizeof (LDAPSortKey))
18737 return 0;
18738 ;
bcba2705 18739 return 0;
abf5048b
AJ
18740}
18741_ACEOF
18742rm -f conftest.$ac_objext
18743if { (ac_try="$ac_compile"
18744case "(($ac_try" in
18745 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18746 *) ac_try_echo=$ac_try;;
18747esac
18748eval 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
18763cat confdefs.h >>conftest.$ac_ext
18764cat >>conftest.$ac_ext <<_ACEOF
18765/* end confdefs.h. */
18766#include <ldap.h>
18767
18768int
18769main ()
18770{
18771if (sizeof ((LDAPSortKey)))
18772 return 0;
f5818d2f
AJ
18773 ;
18774 return 0;
18775}
18776_ACEOF
bcba2705
FG
18777rm -f conftest.$ac_objext
18778if { (ac_try="$ac_compile"
0ebeb530
JW
18779case "(($ac_try" in
18780 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18781 *) ac_try_echo=$ac_try;;
18782esac
abf5048b
AJ
18783eval 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 18796else
abf5048b 18797 $as_echo "$as_me: failed program was:" >&5
e24bcc77
AJ
18798sed 's/^/| /' conftest.$ac_ext >&5
18799
abf5048b 18800 ac_cv_type_LDAPSortKey=yes
1bb94039 18801fi
daa2886c 18802
bcba2705 18803rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
abf5048b
AJ
18804else
18805 $as_echo "$as_me: failed program was:" >&5
18806sed 's/^/| /' conftest.$ac_ext >&5
18807
18808
e533e972 18809fi
abf5048b
AJ
18810
18811rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18812fi
18813{ $as_echo "$as_me:$LINENO: result: $ac_cv_type_LDAPSortKey" >&5
18814$as_echo "$ac_cv_type_LDAPSortKey" >&6; }
18815if 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 18818if test "${ac_cv_lib_ldap_r_ldap_initialize+set}" = set; then
abf5048b 18819 $as_echo_n "(cached) " >&6
f5818d2f 18820else
bcba2705
FG
18821 ac_check_lib_save_LIBS=$LIBS
18822LIBS="-lldap_r $LIBPTHREAD $LIBS"
e533e972 18823cat >conftest.$ac_ext <<_ACEOF
e24bcc77
AJ
18824/* confdefs.h. */
18825_ACEOF
18826cat confdefs.h >>conftest.$ac_ext
18827cat >>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
18834extern "C"
18835#endif
bcba2705 18836char ldap_initialize ();
e24bcc77
AJ
18837int
18838main ()
18839{
bcba2705 18840return ldap_initialize ();
f5818d2f
AJ
18841 ;
18842 return 0;
18843}
18844_ACEOF
bcba2705 18845rm -f conftest.$ac_objext conftest$ac_exeext
0ebeb530
JW
18846if { (ac_try="$ac_link"
18847case "(($ac_try" in
18848 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18849 *) ac_try_echo=$ac_try;;
18850esac
abf5048b
AJ
18851eval 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 18867else
abf5048b 18868 $as_echo "$as_me: failed program was:" >&5
e24bcc77
AJ
18869sed 's/^/| /' conftest.$ac_ext >&5
18870
bcba2705 18871 ac_cv_lib_ldap_r_ldap_initialize=no
f5818d2f 18872fi
fc6ffb29 18873
abf5048b 18874rm -rf conftest.dSYM
f0ca586f 18875rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
bcba2705
FG
18876 conftest$ac_exeext conftest.$ac_ext
18877LIBS=$ac_check_lib_save_LIBS
e533e972 18878fi
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; }
18881if 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 18884if test "${ac_cv_lib_lber_ber_init+set}" = set; then
abf5048b 18885 $as_echo_n "(cached) " >&6
1089260f 18886else
bcba2705
FG
18887 ac_check_lib_save_LIBS=$LIBS
18888LIBS="-llber $LIBPTHREAD $LIBS"
1089260f
AJ
18889cat >conftest.$ac_ext <<_ACEOF
18890/* confdefs.h. */
18891_ACEOF
18892cat confdefs.h >>conftest.$ac_ext
18893cat >>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
18900extern "C"
18901#endif
bcba2705 18902char ber_init ();
1089260f
AJ
18903int
18904main ()
18905{
bcba2705 18906return ber_init ();
1089260f
AJ
18907 ;
18908 return 0;
18909}
18910_ACEOF
bcba2705 18911rm -f conftest.$ac_objext conftest$ac_exeext
1089260f
AJ
18912if { (ac_try="$ac_link"
18913case "(($ac_try" in
18914 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18915 *) ac_try_echo=$ac_try;;
18916esac
abf5048b
AJ
18917eval 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 18933else
abf5048b 18934 $as_echo "$as_me: failed program was:" >&5
1089260f
AJ
18935sed 's/^/| /' conftest.$ac_ext >&5
18936
bcba2705 18937 ac_cv_lib_lber_ber_init=no
1089260f
AJ
18938fi
18939
abf5048b 18940rm -rf conftest.dSYM
f0ca586f 18941rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
bcba2705
FG
18942 conftest$ac_exeext conftest.$ac_ext
18943LIBS=$ac_check_lib_save_LIBS
1089260f 18944fi
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; }
18947if test "x$ac_cv_lib_lber_ber_init" = x""yes; then
bcba2705
FG
18948
18949cat >>confdefs.h <<\_ACEOF
18950#define HAVE_LDAP 1
18951_ACEOF
18952
18953 LDAPLIBS="-lldap_r -llber"
28710419 18954fi
1089260f
AJ
18955
18956fi
daa2886c 18957
bcba2705 18958fi
daa2886c 18959
bcba2705
FG
18960 ac_wine_check_funcs_save_LIBS="$LIBS"
18961LIBS="$LIBS $LDAPLIBS $LIBPTHREAD"
41c59964
BT
18962
18963
18964
18965
18966
18967
18968
28710419 18969
41c59964 18970for 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 18979do
abf5048b
AJ
18980as_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 18983if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
abf5048b 18984 $as_echo_n "(cached) " >&6
41c59964
BT
18985else
18986 cat >conftest.$ac_ext <<_ACEOF
18987/* confdefs.h. */
18988_ACEOF
18989cat confdefs.h >>conftest.$ac_ext
18990cat >>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
19013extern "C"
19014#endif
19015char $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
19020choke me
19021#endif
19022
19023int
19024main ()
19025{
19026return $ac_func ();
19027 ;
19028 return 0;
19029}
19030_ACEOF
19031rm -f conftest.$ac_objext conftest$ac_exeext
19032if { (ac_try="$ac_link"
19033case "(($ac_try" in
19034 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19035 *) ac_try_echo=$ac_try;;
19036esac
abf5048b
AJ
19037eval 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"
19053else
abf5048b 19054 $as_echo "$as_me: failed program was:" >&5
41c59964
BT
19055sed 's/^/| /' conftest.$ac_ext >&5
19056
19057 eval "$as_ac_var=no"
19058fi
19059
abf5048b 19060rm -rf conftest.dSYM
41c59964
BT
19061rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
19062 conftest$ac_exeext conftest.$ac_ext
19063fi
abf5048b
AJ
19064ac_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; }
19068as_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
19075fi
19076done
19077
bcba2705
FG
19078LIBS="$ac_wine_check_funcs_save_LIBS"
19079fi
19080if 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 19085This 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
19087This is an error since --with-ldap was requested." >&2;}
19088 { (exit 1); exit 1; }; } ;;
19089esac
19090fi
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 19096if test "${ac_cv_c_const+set}" = set; then
abf5048b 19097 $as_echo_n "(cached) " >&6
f5818d2f
AJ
19098else
19099 cat >conftest.$ac_ext <<_ACEOF
e24bcc77
AJ
19100/* confdefs.h. */
19101_ACEOF
19102cat confdefs.h >>conftest.$ac_ext
19103cat >>conftest.$ac_ext <<_ACEOF
19104/* end confdefs.h. */
f41c2b21 19105
f5818d2f
AJ
19106int
19107main ()
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
19163rm -f conftest.$ac_objext
0ebeb530
JW
19164if { (ac_try="$ac_compile"
19165case "(($ac_try" in
19166 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19167 *) ac_try_echo=$ac_try;;
19168esac
abf5048b
AJ
19169eval 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 19182else
abf5048b 19183 $as_echo "$as_me: failed program was:" >&5
e24bcc77
AJ
19184sed 's/^/| /' conftest.$ac_ext >&5
19185
fc6ffb29 19186 ac_cv_c_const=no
c7c217b3 19187fi
fc6ffb29 19188
0ebeb530 19189rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
f5818d2f 19190fi
abf5048b
AJ
19191{ $as_echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
19192$as_echo "$ac_cv_c_const" >&6; }
f41c2b21 19193if test $ac_cv_c_const = no; then
5769d1de 19194
f41c2b21 19195cat >>confdefs.h <<\_ACEOF
abf5048b 19196#define const /**/
5769d1de
AJ
19197_ACEOF
19198
5769d1de 19199fi
f41c2b21 19200
abf5048b
AJ
19201{ $as_echo "$as_me:$LINENO: checking for inline" >&5
19202$as_echo_n "checking for inline... " >&6; }
f41c2b21 19203if test "${ac_cv_c_inline+set}" = set; then
abf5048b 19204 $as_echo_n "(cached) " >&6
5769d1de 19205else
f41c2b21
DP
19206 ac_cv_c_inline=no
19207for ac_kw in inline __inline__ __inline; do
5769d1de 19208 cat >conftest.$ac_ext <<_ACEOF
e24bcc77
AJ
19209/* confdefs.h. */
19210_ACEOF
19211cat confdefs.h >>conftest.$ac_ext
f41c2b21
DP
19212cat >>conftest.$ac_ext <<_ACEOF
19213/* end confdefs.h. */
19214#ifndef __cplusplus
19215typedef int foo_t;
19216static $ac_kw foo_t static_foo () {return 0; }
19217$ac_kw foo_t foo () {return 0; }
19218#endif
19219
5769d1de
AJ
19220_ACEOF
19221rm -f conftest.$ac_objext
0ebeb530
JW
19222if { (ac_try="$ac_compile"
19223case "(($ac_try" in
19224 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19225 *) ac_try_echo=$ac_try;;
19226esac
abf5048b
AJ
19227eval 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 19240else
abf5048b 19241 $as_echo "$as_me: failed program was:" >&5
e24bcc77
AJ
19242sed 's/^/| /' conftest.$ac_ext >&5
19243
fc6ffb29 19244
5769d1de 19245fi
fc6ffb29 19246
0ebeb530 19247rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
fc6ffb29 19248 test "$ac_cv_c_inline" != no && break
f41c2b21 19249done
f5818d2f 19250
f41c2b21 19251fi
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
19256case $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 ;;
19269esac
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 19273if test "${ac_cv_type_mode_t+set}" = set; then
abf5048b 19274 $as_echo_n "(cached) " >&6
f5818d2f 19275else
abf5048b
AJ
19276 ac_cv_type_mode_t=no
19277cat >conftest.$ac_ext <<_ACEOF
e24bcc77
AJ
19278/* confdefs.h. */
19279_ACEOF
19280cat confdefs.h >>conftest.$ac_ext
19281cat >>conftest.$ac_ext <<_ACEOF
19282/* end confdefs.h. */
f5818d2f
AJ
19283$ac_includes_default
19284int
19285main ()
19286{
abf5048b
AJ
19287if (sizeof (mode_t))
19288 return 0;
f5818d2f
AJ
19289 ;
19290 return 0;
19291}
19292_ACEOF
19293rm -f conftest.$ac_objext
0ebeb530
JW
19294if { (ac_try="$ac_compile"
19295case "(($ac_try" in
19296 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19297 *) ac_try_echo=$ac_try;;
19298esac
abf5048b
AJ
19299eval 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
19314cat confdefs.h >>conftest.$ac_ext
19315cat >>conftest.$ac_ext <<_ACEOF
19316/* end confdefs.h. */
f5818d2f
AJ
19317$ac_includes_default
19318int
19319main ()
19320{
abf5048b
AJ
19321if (sizeof ((mode_t)))
19322 return 0;
f5818d2f
AJ
19323 ;
19324 return 0;
19325}
19326_ACEOF
19327rm -f conftest.$ac_objext
0ebeb530
JW
19328if { (ac_try="$ac_compile"
19329case "(($ac_try" in
19330 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19331 *) ac_try_echo=$ac_try;;
19332esac
abf5048b
AJ
19333eval 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 :
19346else
19347 $as_echo "$as_me: failed program was:" >&5
19348sed 's/^/| /' conftest.$ac_ext >&5
19349
19350 ac_cv_type_mode_t=yes
19351fi
19352
19353rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
f41c2b21 19354else
abf5048b 19355 $as_echo "$as_me: failed program was:" >&5
f41c2b21
DP
19356sed 's/^/| /' conftest.$ac_ext >&5
19357
abf5048b 19358
f41c2b21 19359fi
fc6ffb29 19360
0ebeb530 19361rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
f41c2b21 19362fi
abf5048b
AJ
19363{ $as_echo "$as_me:$LINENO: result: $ac_cv_type_mode_t" >&5
19364$as_echo "$ac_cv_type_mode_t" >&6; }
19365if test "x$ac_cv_type_mode_t" = x""yes; then
f41c2b21
DP
19366
19367cat >>confdefs.h <<_ACEOF
abf5048b 19368#define HAVE_MODE_T 1
f41c2b21
DP
19369_ACEOF
19370
19371
19372fi
abf5048b
AJ
19373{ $as_echo "$as_me:$LINENO: checking for off_t" >&5
19374$as_echo_n "checking for off_t... " >&6; }
19375if test "${ac_cv_type_off_t+set}" = set; then
19376 $as_echo_n "(cached) " >&6
f41c2b21 19377else
abf5048b
AJ
19378 ac_cv_type_off_t=no
19379cat >conftest.$ac_ext <<_ACEOF
e24bcc77
AJ
19380/* confdefs.h. */
19381_ACEOF
19382cat confdefs.h >>conftest.$ac_ext
19383cat >>conftest.$ac_ext <<_ACEOF
19384/* end confdefs.h. */
f5818d2f
AJ
19385$ac_includes_default
19386int
19387main ()
19388{
abf5048b
AJ
19389if (sizeof (off_t))
19390 return 0;
f5818d2f
AJ
19391 ;
19392 return 0;
19393}
19394_ACEOF
19395rm -f conftest.$ac_objext
0ebeb530
JW
19396if { (ac_try="$ac_compile"
19397case "(($ac_try" in
19398 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19399 *) ac_try_echo=$ac_try;;
19400esac
abf5048b
AJ
19401eval 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
19416cat confdefs.h >>conftest.$ac_ext
19417cat >>conftest.$ac_ext <<_ACEOF
19418/* end confdefs.h. */
daa2886c 19419$ac_includes_default
daa2886c
AJ
19420int
19421main ()
19422{
abf5048b
AJ
19423if (sizeof ((off_t)))
19424 return 0;
19425 ;
19426 return 0;
19427}
19428_ACEOF
19429rm -f conftest.$ac_objext
19430if { (ac_try="$ac_compile"
19431case "(($ac_try" in
19432 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19433 *) ac_try_echo=$ac_try;;
19434esac
19435eval 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 :
19448else
19449 $as_echo "$as_me: failed program was:" >&5
19450sed 's/^/| /' conftest.$ac_ext >&5
19451
19452 ac_cv_type_off_t=yes
19453fi
19454
19455rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19456else
19457 $as_echo "$as_me: failed program was:" >&5
19458sed 's/^/| /' conftest.$ac_ext >&5
19459
19460
19461fi
19462
19463rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19464fi
19465{ $as_echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
19466$as_echo "$ac_cv_type_off_t" >&6; }
19467if test "x$ac_cv_type_off_t" = x""yes; then
19468
19469cat >>confdefs.h <<_ACEOF
19470#define HAVE_OFF_T 1
19471_ACEOF
19472
19473
19474fi
19475{ $as_echo "$as_me:$LINENO: checking for pid_t" >&5
19476$as_echo_n "checking for pid_t... " >&6; }
19477if test "${ac_cv_type_pid_t+set}" = set; then
19478 $as_echo_n "(cached) " >&6
19479else
19480 ac_cv_type_pid_t=no
19481cat >conftest.$ac_ext <<_ACEOF
19482/* confdefs.h. */
19483_ACEOF
19484cat confdefs.h >>conftest.$ac_ext
19485cat >>conftest.$ac_ext <<_ACEOF
19486/* end confdefs.h. */
19487$ac_includes_default
19488int
19489main ()
19490{
19491if (sizeof (pid_t))
19492 return 0;
19493 ;
19494 return 0;
19495}
19496_ACEOF
19497rm -f conftest.$ac_objext
19498if { (ac_try="$ac_compile"
19499case "(($ac_try" in
19500 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19501 *) ac_try_echo=$ac_try;;
19502esac
19503eval 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
19518cat confdefs.h >>conftest.$ac_ext
19519cat >>conftest.$ac_ext <<_ACEOF
19520/* end confdefs.h. */
19521$ac_includes_default
19522int
19523main ()
19524{
19525if (sizeof ((pid_t)))
19526 return 0;
19527 ;
19528 return 0;
19529}
19530_ACEOF
19531rm -f conftest.$ac_objext
19532if { (ac_try="$ac_compile"
19533case "(($ac_try" in
19534 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19535 *) ac_try_echo=$ac_try;;
19536esac
19537eval 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 :
19550else
19551 $as_echo "$as_me: failed program was:" >&5
19552sed 's/^/| /' conftest.$ac_ext >&5
19553
19554 ac_cv_type_pid_t=yes
19555fi
19556
19557rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19558else
19559 $as_echo "$as_me: failed program was:" >&5
19560sed 's/^/| /' conftest.$ac_ext >&5
19561
19562
19563fi
19564
19565rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19566fi
19567{ $as_echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
19568$as_echo "$ac_cv_type_pid_t" >&6; }
19569if test "x$ac_cv_type_pid_t" = x""yes; then
19570
19571cat >>confdefs.h <<_ACEOF
19572#define HAVE_PID_T 1
19573_ACEOF
19574
19575
19576fi
19577{ $as_echo "$as_me:$LINENO: checking for size_t" >&5
19578$as_echo_n "checking for size_t... " >&6; }
19579if test "${ac_cv_type_size_t+set}" = set; then
19580 $as_echo_n "(cached) " >&6
19581else
19582 ac_cv_type_size_t=no
19583cat >conftest.$ac_ext <<_ACEOF
19584/* confdefs.h. */
19585_ACEOF
19586cat confdefs.h >>conftest.$ac_ext
19587cat >>conftest.$ac_ext <<_ACEOF
19588/* end confdefs.h. */
19589$ac_includes_default
19590int
19591main ()
19592{
19593if (sizeof (size_t))
19594 return 0;
19595 ;
19596 return 0;
19597}
19598_ACEOF
19599rm -f conftest.$ac_objext
19600if { (ac_try="$ac_compile"
19601case "(($ac_try" in
19602 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19603 *) ac_try_echo=$ac_try;;
19604esac
19605eval 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
19620cat confdefs.h >>conftest.$ac_ext
19621cat >>conftest.$ac_ext <<_ACEOF
19622/* end confdefs.h. */
19623$ac_includes_default
19624int
19625main ()
19626{
19627if (sizeof ((size_t)))
19628 return 0;
19629 ;
19630 return 0;
19631}
19632_ACEOF
19633rm -f conftest.$ac_objext
19634if { (ac_try="$ac_compile"
19635case "(($ac_try" in
19636 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19637 *) ac_try_echo=$ac_try;;
19638esac
19639eval 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 :
19652else
19653 $as_echo "$as_me: failed program was:" >&5
19654sed 's/^/| /' conftest.$ac_ext >&5
19655
19656 ac_cv_type_size_t=yes
19657fi
19658
19659rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19660else
19661 $as_echo "$as_me: failed program was:" >&5
19662sed 's/^/| /' conftest.$ac_ext >&5
19663
19664
19665fi
19666
19667rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19668fi
19669{ $as_echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
19670$as_echo "$ac_cv_type_size_t" >&6; }
19671if test "x$ac_cv_type_size_t" = x""yes; then
19672
19673cat >>confdefs.h <<_ACEOF
19674#define HAVE_SIZE_T 1
19675_ACEOF
19676
19677
19678fi
19679{ $as_echo "$as_me:$LINENO: checking for ssize_t" >&5
19680$as_echo_n "checking for ssize_t... " >&6; }
19681if test "${ac_cv_type_ssize_t+set}" = set; then
19682 $as_echo_n "(cached) " >&6
19683else
19684 ac_cv_type_ssize_t=no
19685cat >conftest.$ac_ext <<_ACEOF
19686/* confdefs.h. */
19687_ACEOF
19688cat confdefs.h >>conftest.$ac_ext
19689cat >>conftest.$ac_ext <<_ACEOF
19690/* end confdefs.h. */
19691$ac_includes_default
19692int
19693main ()
19694{
19695if (sizeof (ssize_t))
19696 return 0;
19697 ;
19698 return 0;
19699}
19700_ACEOF
19701rm -f conftest.$ac_objext
19702if { (ac_try="$ac_compile"
19703case "(($ac_try" in
19704 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19705 *) ac_try_echo=$ac_try;;
19706esac
19707eval 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
19722cat confdefs.h >>conftest.$ac_ext
19723cat >>conftest.$ac_ext <<_ACEOF
19724/* end confdefs.h. */
19725$ac_includes_default
19726int
19727main ()
19728{
19729if (sizeof ((ssize_t)))
19730 return 0;
19731 ;
19732 return 0;
19733}
19734_ACEOF
19735rm -f conftest.$ac_objext
19736if { (ac_try="$ac_compile"
19737case "(($ac_try" in
19738 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19739 *) ac_try_echo=$ac_try;;
19740esac
19741eval 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 :
19754else
19755 $as_echo "$as_me: failed program was:" >&5
19756sed 's/^/| /' conftest.$ac_ext >&5
19757
19758 ac_cv_type_ssize_t=yes
19759fi
19760
19761rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19762else
19763 $as_echo "$as_me: failed program was:" >&5
19764sed 's/^/| /' conftest.$ac_ext >&5
19765
19766
19767fi
19768
19769rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19770fi
19771{ $as_echo "$as_me:$LINENO: result: $ac_cv_type_ssize_t" >&5
19772$as_echo "$ac_cv_type_ssize_t" >&6; }
19773if test "x$ac_cv_type_ssize_t" = x""yes; then
19774
19775cat >>confdefs.h <<_ACEOF
19776#define HAVE_SSIZE_T 1
19777_ACEOF
19778
19779
19780fi
19781{ $as_echo "$as_me:$LINENO: checking for long long" >&5
19782$as_echo_n "checking for long long... " >&6; }
19783if test "${ac_cv_type_long_long+set}" = set; then
19784 $as_echo_n "(cached) " >&6
19785else
19786 ac_cv_type_long_long=no
19787cat >conftest.$ac_ext <<_ACEOF
19788/* confdefs.h. */
19789_ACEOF
19790cat confdefs.h >>conftest.$ac_ext
19791cat >>conftest.$ac_ext <<_ACEOF
19792/* end confdefs.h. */
19793$ac_includes_default
19794int
19795main ()
19796{
19797if (sizeof (long long))
19798 return 0;
19799 ;
19800 return 0;
19801}
19802_ACEOF
19803rm -f conftest.$ac_objext
19804if { (ac_try="$ac_compile"
19805case "(($ac_try" in
19806 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19807 *) ac_try_echo=$ac_try;;
19808esac
19809eval 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
19824cat confdefs.h >>conftest.$ac_ext
19825cat >>conftest.$ac_ext <<_ACEOF
19826/* end confdefs.h. */
19827$ac_includes_default
19828int
19829main ()
19830{
19831if (sizeof ((long long)))
19832 return 0;
19833 ;
f41c2b21 19834 return 0;
abf5048b
AJ
19835}
19836_ACEOF
19837rm -f conftest.$ac_objext
19838if { (ac_try="$ac_compile"
19839case "(($ac_try" in
19840 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19841 *) ac_try_echo=$ac_try;;
19842esac
19843eval 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 :
19856else
19857 $as_echo "$as_me: failed program was:" >&5
19858sed 's/^/| /' conftest.$ac_ext >&5
19859
19860 ac_cv_type_long_long=yes
19861fi
19862
19863rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19864else
19865 $as_echo "$as_me: failed program was:" >&5
19866sed 's/^/| /' conftest.$ac_ext >&5
19867
19868
19869fi
19870
19871rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19872fi
19873{ $as_echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
19874$as_echo "$ac_cv_type_long_long" >&6; }
19875if test "x$ac_cv_type_long_long" = x""yes; then
19876
19877cat >>confdefs.h <<_ACEOF
19878#define HAVE_LONG_LONG 1
19879_ACEOF
19880
19881
19882fi
19883{ $as_echo "$as_me:$LINENO: checking for fsblkcnt_t" >&5
19884$as_echo_n "checking for fsblkcnt_t... " >&6; }
19885if test "${ac_cv_type_fsblkcnt_t+set}" = set; then
19886 $as_echo_n "(cached) " >&6
19887else
19888 ac_cv_type_fsblkcnt_t=no
19889cat >conftest.$ac_ext <<_ACEOF
19890/* confdefs.h. */
19891_ACEOF
19892cat confdefs.h >>conftest.$ac_ext
19893cat >>conftest.$ac_ext <<_ACEOF
19894/* end confdefs.h. */
19895$ac_includes_default
19896int
19897main ()
19898{
19899if (sizeof (fsblkcnt_t))
19900 return 0;
19901 ;
f41c2b21 19902 return 0;
abf5048b
AJ
19903}
19904_ACEOF
19905rm -f conftest.$ac_objext
19906if { (ac_try="$ac_compile"
19907case "(($ac_try" in
19908 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19909 *) ac_try_echo=$ac_try;;
19910esac
19911eval 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
19926cat confdefs.h >>conftest.$ac_ext
19927cat >>conftest.$ac_ext <<_ACEOF
19928/* end confdefs.h. */
19929$ac_includes_default
19930int
19931main ()
19932{
19933if (sizeof ((fsblkcnt_t)))
19934 return 0;
daa2886c
AJ
19935 ;
19936 return 0;
19937}
19938_ACEOF
19939rm -f conftest.$ac_objext
0ebeb530
JW
19940if { (ac_try="$ac_compile"
19941case "(($ac_try" in
19942 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19943 *) ac_try_echo=$ac_try;;
19944esac
abf5048b
AJ
19945eval 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 :
19958else
19959 $as_echo "$as_me: failed program was:" >&5
19960sed 's/^/| /' conftest.$ac_ext >&5
19961
19962 ac_cv_type_fsblkcnt_t=yes
19963fi
19964
19965rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
f41c2b21 19966else
abf5048b 19967 $as_echo "$as_me: failed program was:" >&5
f41c2b21
DP
19968sed 's/^/| /' conftest.$ac_ext >&5
19969
abf5048b 19970
f41c2b21 19971fi
fc6ffb29 19972
0ebeb530 19973rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
f41c2b21 19974fi
abf5048b
AJ
19975{ $as_echo "$as_me:$LINENO: result: $ac_cv_type_fsblkcnt_t" >&5
19976$as_echo "$ac_cv_type_fsblkcnt_t" >&6; }
19977if test "x$ac_cv_type_fsblkcnt_t" = x""yes; then
f41c2b21
DP
19978
19979cat >>confdefs.h <<_ACEOF
abf5048b 19980#define HAVE_FSBLKCNT_T 1
f41c2b21
DP
19981_ACEOF
19982
19983
19984fi
abf5048b
AJ
19985{ $as_echo "$as_me:$LINENO: checking for fsfilcnt_t" >&5
19986$as_echo_n "checking for fsfilcnt_t... " >&6; }
19987if test "${ac_cv_type_fsfilcnt_t+set}" = set; then
19988 $as_echo_n "(cached) " >&6
f41c2b21 19989else
abf5048b
AJ
19990 ac_cv_type_fsfilcnt_t=no
19991cat >conftest.$ac_ext <<_ACEOF
e24bcc77
AJ
19992/* confdefs.h. */
19993_ACEOF
19994cat confdefs.h >>conftest.$ac_ext
19995cat >>conftest.$ac_ext <<_ACEOF
19996/* end confdefs.h. */
f5818d2f
AJ
19997$ac_includes_default
19998int
19999main ()
20000{
abf5048b
AJ
20001if (sizeof (fsfilcnt_t))
20002 return 0;
f5818d2f
AJ
20003 ;
20004 return 0;
20005}
20006_ACEOF
20007rm -f conftest.$ac_objext
0ebeb530
JW
20008if { (ac_try="$ac_compile"
20009case "(($ac_try" in
20010 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20011 *) ac_try_echo=$ac_try;;
20012esac
abf5048b
AJ
20013eval 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
20028cat confdefs.h >>conftest.$ac_ext
20029cat >>conftest.$ac_ext <<_ACEOF
20030/* end confdefs.h. */
f5818d2f
AJ
20031$ac_includes_default
20032int
20033main ()
20034{
abf5048b
AJ
20035if (sizeof ((fsfilcnt_t)))
20036 return 0;
f5818d2f
AJ
20037 ;
20038 return 0;
20039}
20040_ACEOF
20041rm -f conftest.$ac_objext
0ebeb530
JW
20042if { (ac_try="$ac_compile"
20043case "(($ac_try" in
20044 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20045 *) ac_try_echo=$ac_try;;
20046esac
abf5048b
AJ
20047eval 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 :
20060else
20061 $as_echo "$as_me: failed program was:" >&5
20062sed 's/^/| /' conftest.$ac_ext >&5
20063
20064 ac_cv_type_fsfilcnt_t=yes
20065fi
20066
20067rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
f5818d2f 20068else
abf5048b 20069 $as_echo "$as_me: failed program was:" >&5
e24bcc77
AJ
20070sed 's/^/| /' conftest.$ac_ext >&5
20071
abf5048b 20072
f5818d2f 20073fi
fc6ffb29 20074
0ebeb530 20075rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
f5818d2f 20076fi
abf5048b
AJ
20077{ $as_echo "$as_me:$LINENO: result: $ac_cv_type_fsfilcnt_t" >&5
20078$as_echo "$ac_cv_type_fsfilcnt_t" >&6; }
20079if test "x$ac_cv_type_fsfilcnt_t" = x""yes; then
f41c2b21 20080
daa2886c 20081cat >>confdefs.h <<_ACEOF
abf5048b 20082#define HAVE_FSFILCNT_T 1
daa2886c
AJ
20083_ACEOF
20084
20085
13af4891 20086fi
abf5048b
AJ
20087
20088{ $as_echo "$as_me:$LINENO: checking for sigset_t" >&5
20089$as_echo_n "checking for sigset_t... " >&6; }
20090if test "${ac_cv_type_sigset_t+set}" = set; then
20091 $as_echo_n "(cached) " >&6
13af4891 20092else
abf5048b
AJ
20093 ac_cv_type_sigset_t=no
20094cat >conftest.$ac_ext <<_ACEOF
13af4891
AJ
20095/* confdefs.h. */
20096_ACEOF
20097cat confdefs.h >>conftest.$ac_ext
20098cat >>conftest.$ac_ext <<_ACEOF
20099/* end confdefs.h. */
abf5048b
AJ
20100#include <sys/types.h>
20101#include <signal.h>
20102
13af4891
AJ
20103int
20104main ()
20105{
abf5048b
AJ
20106if (sizeof (sigset_t))
20107 return 0;
13af4891
AJ
20108 ;
20109 return 0;
20110}
20111_ACEOF
20112rm -f conftest.$ac_objext
0ebeb530
JW
20113if { (ac_try="$ac_compile"
20114case "(($ac_try" in
20115 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20116 *) ac_try_echo=$ac_try;;
20117esac
abf5048b
AJ
20118eval 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
20133cat confdefs.h >>conftest.$ac_ext
20134cat >>conftest.$ac_ext <<_ACEOF
20135/* end confdefs.h. */
abf5048b
AJ
20136#include <sys/types.h>
20137#include <signal.h>
20138
13af4891
AJ
20139int
20140main ()
20141{
abf5048b
AJ
20142if (sizeof ((sigset_t)))
20143 return 0;
13af4891
AJ
20144 ;
20145 return 0;
20146}
20147_ACEOF
20148rm -f conftest.$ac_objext
0ebeb530
JW
20149if { (ac_try="$ac_compile"
20150case "(($ac_try" in
20151 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20152 *) ac_try_echo=$ac_try;;
20153esac
abf5048b
AJ
20154eval 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 :
20167else
20168 $as_echo "$as_me: failed program was:" >&5
20169sed 's/^/| /' conftest.$ac_ext >&5
20170
20171 ac_cv_type_sigset_t=yes
20172fi
20173
20174rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13af4891 20175else
abf5048b 20176 $as_echo "$as_me: failed program was:" >&5
13af4891
AJ
20177sed 's/^/| /' conftest.$ac_ext >&5
20178
abf5048b 20179
13af4891 20180fi
fc6ffb29 20181
0ebeb530 20182rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13af4891 20183fi
abf5048b
AJ
20184{ $as_echo "$as_me:$LINENO: result: $ac_cv_type_sigset_t" >&5
20185$as_echo "$ac_cv_type_sigset_t" >&6; }
20186if test "x$ac_cv_type_sigset_t" = x""yes; then
13af4891
AJ
20187
20188cat >>confdefs.h <<_ACEOF
abf5048b 20189#define HAVE_SIGSET_T 1
13af4891
AJ
20190_ACEOF
20191
20192
10a6c560
PM
20193fi
20194
abf5048b
AJ
20195{ $as_echo "$as_me:$LINENO: checking for request_sense" >&5
20196$as_echo_n "checking for request_sense... " >&6; }
20197if test "${ac_cv_type_request_sense+set}" = set; then
20198 $as_echo_n "(cached) " >&6
10a6c560 20199else
abf5048b
AJ
20200 ac_cv_type_request_sense=no
20201cat >conftest.$ac_ext <<_ACEOF
10a6c560
PM
20202/* confdefs.h. */
20203_ACEOF
20204cat confdefs.h >>conftest.$ac_ext
20205cat >>conftest.$ac_ext <<_ACEOF
20206/* end confdefs.h. */
abf5048b 20207#include <linux/cdrom.h>
10a6c560
PM
20208
20209int
20210main ()
20211{
abf5048b
AJ
20212if (sizeof (request_sense))
20213 return 0;
10a6c560
PM
20214 ;
20215 return 0;
20216}
20217_ACEOF
20218rm -f conftest.$ac_objext
0ebeb530
JW
20219if { (ac_try="$ac_compile"
20220case "(($ac_try" in
20221 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20222 *) ac_try_echo=$ac_try;;
20223esac
abf5048b
AJ
20224eval 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
20239cat confdefs.h >>conftest.$ac_ext
20240cat >>conftest.$ac_ext <<_ACEOF
20241/* end confdefs.h. */
20242#include <linux/cdrom.h>
20243
20244int
20245main ()
20246{
abf5048b
AJ
20247if (sizeof ((request_sense)))
20248 return 0;
b8b15f3e
GP
20249 ;
20250 return 0;
20251}
20252_ACEOF
20253rm -f conftest.$ac_objext
0ebeb530
JW
20254if { (ac_try="$ac_compile"
20255case "(($ac_try" in
20256 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20257 *) ac_try_echo=$ac_try;;
20258esac
abf5048b
AJ
20259eval 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 :
20272else
20273 $as_echo "$as_me: failed program was:" >&5
20274sed 's/^/| /' conftest.$ac_ext >&5
20275
20276 ac_cv_type_request_sense=yes
20277fi
20278
20279rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
b8b15f3e 20280else
abf5048b 20281 $as_echo "$as_me: failed program was:" >&5
b8b15f3e
GP
20282sed 's/^/| /' conftest.$ac_ext >&5
20283
abf5048b 20284
b8b15f3e 20285fi
fc6ffb29 20286
0ebeb530 20287rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
b8b15f3e 20288fi
abf5048b
AJ
20289{ $as_echo "$as_me:$LINENO: result: $ac_cv_type_request_sense" >&5
20290$as_echo "$ac_cv_type_request_sense" >&6; }
20291if test "x$ac_cv_type_request_sense" = x""yes; then
b8b15f3e
GP
20292
20293cat >>confdefs.h <<_ACEOF
20294#define HAVE_REQUEST_SENSE 1
20295_ACEOF
20296
20297
f41c2b21
DP
20298fi
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 20303if test "${ac_cv_member_struct_ff_effect_direction+set}" = set; then
abf5048b 20304 $as_echo_n "(cached) " >&6
e491e8f8
DR
20305else
20306 cat >conftest.$ac_ext <<_ACEOF
20307/* confdefs.h. */
20308_ACEOF
20309cat confdefs.h >>conftest.$ac_ext
20310cat >>conftest.$ac_ext <<_ACEOF
20311/* end confdefs.h. */
20312#ifdef HAVE_LINUX_INPUT_H
20313#include <linux/input.h>
20314#endif
20315
20316int
20317main ()
20318{
20319static struct ff_effect ac_aggr;
20320if (ac_aggr.direction)
20321return 0;
20322 ;
20323 return 0;
20324}
20325_ACEOF
20326rm -f conftest.$ac_objext
0ebeb530
JW
20327if { (ac_try="$ac_compile"
20328case "(($ac_try" in
20329 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20330 *) ac_try_echo=$ac_try;;
20331esac
abf5048b
AJ
20332eval 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
20345else
abf5048b 20346 $as_echo "$as_me: failed program was:" >&5
e491e8f8
DR
20347sed 's/^/| /' conftest.$ac_ext >&5
20348
fc6ffb29 20349 cat >conftest.$ac_ext <<_ACEOF
e491e8f8
DR
20350/* confdefs.h. */
20351_ACEOF
20352cat confdefs.h >>conftest.$ac_ext
20353cat >>conftest.$ac_ext <<_ACEOF
20354/* end confdefs.h. */
20355#ifdef HAVE_LINUX_INPUT_H
20356#include <linux/input.h>
20357#endif
20358
20359int
20360main ()
20361{
20362static struct ff_effect ac_aggr;
20363if (sizeof ac_aggr.direction)
20364return 0;
20365 ;
20366 return 0;
20367}
20368_ACEOF
20369rm -f conftest.$ac_objext
0ebeb530
JW
20370if { (ac_try="$ac_compile"
20371case "(($ac_try" in
20372 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20373 *) ac_try_echo=$ac_try;;
20374esac
abf5048b
AJ
20375eval 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
20388else
abf5048b 20389 $as_echo "$as_me: failed program was:" >&5
e491e8f8
DR
20390sed 's/^/| /' conftest.$ac_ext >&5
20391
fc6ffb29 20392 ac_cv_member_struct_ff_effect_direction=no
e491e8f8 20393fi
fc6ffb29 20394
0ebeb530 20395rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
e491e8f8 20396fi
fc6ffb29 20397
0ebeb530 20398rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
e491e8f8 20399fi
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; }
20402if test "x$ac_cv_member_struct_ff_effect_direction" = x""yes; then
e491e8f8
DR
20403
20404cat >>confdefs.h <<_ACEOF
20405#define HAVE_STRUCT_FF_EFFECT_DIRECTION 1
20406_ACEOF
20407
20408
20409fi
20410
20411
abf5048b
AJ
20412{ $as_echo "$as_me:$LINENO: checking for sigaddset" >&5
20413$as_echo_n "checking for sigaddset... " >&6; }
10a6c560 20414if test "${wine_cv_have_sigaddset+set}" = set; then
abf5048b 20415 $as_echo_n "(cached) " >&6
10a6c560
PM
20416else
20417 cat >conftest.$ac_ext <<_ACEOF
20418/* confdefs.h. */
20419_ACEOF
20420cat confdefs.h >>conftest.$ac_ext
20421cat >>conftest.$ac_ext <<_ACEOF
20422/* end confdefs.h. */
20423#include <signal.h>
20424int
20425main ()
20426{
20427sigset_t set; sigaddset(&set,SIGTERM);
20428 ;
20429 return 0;
20430}
20431_ACEOF
20432rm -f conftest.$ac_objext conftest$ac_exeext
0ebeb530
JW
20433if { (ac_try="$ac_link"
20434case "(($ac_try" in
20435 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20436 *) ac_try_echo=$ac_try;;
20437esac
abf5048b
AJ
20438eval 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
20454else
abf5048b 20455 $as_echo "$as_me: failed program was:" >&5
10a6c560
PM
20456sed 's/^/| /' conftest.$ac_ext >&5
20457
fc6ffb29 20458 wine_cv_have_sigaddset=no
10a6c560 20459fi
fc6ffb29 20460
abf5048b 20461rm -rf conftest.dSYM
f0ca586f 20462rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10a6c560
PM
20463 conftest$ac_exeext conftest.$ac_ext
20464fi
abf5048b
AJ
20465{ $as_echo "$as_me:$LINENO: result: $wine_cv_have_sigaddset" >&5
20466$as_echo "$wine_cv_have_sigaddset" >&6; }
10a6c560
PM
20467if test "$wine_cv_have_sigaddset" = "yes"
20468then
20469
20470cat >>confdefs.h <<\_ACEOF
20471#define HAVE_SIGADDSET 1
20472_ACEOF
20473
20474fi
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 20479if test "${wine_cv_linux_gethostbyname_r_6+set}" = set; then
abf5048b 20480 $as_echo_n "(cached) " >&6
ff7a61f8 20481else
f5818d2f 20482 cat >conftest.$ac_ext <<_ACEOF
e24bcc77
AJ
20483/* confdefs.h. */
20484_ACEOF
20485cat confdefs.h >>conftest.$ac_ext
20486cat >>conftest.$ac_ext <<_ACEOF
20487/* end confdefs.h. */
ff7a61f8 20488#include <netdb.h>
f5818d2f
AJ
20489int
20490main ()
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 20509rm -f conftest.$ac_objext conftest$ac_exeext
0ebeb530
JW
20510if { (ac_try="$ac_link"
20511case "(($ac_try" in
20512 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20513 *) ac_try_echo=$ac_try;;
20514esac
abf5048b
AJ
20515eval 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
20531else
abf5048b 20532 $as_echo "$as_me: failed program was:" >&5
e24bcc77
AJ
20533sed 's/^/| /' conftest.$ac_ext >&5
20534
fc6ffb29 20535 wine_cv_linux_gethostbyname_r_6=no
f5818d2f 20536
ff7a61f8 20537fi
fc6ffb29 20538
abf5048b 20539rm -rf conftest.dSYM
f0ca586f 20540rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
dfd315b4 20541 conftest$ac_exeext conftest.$ac_ext
ff7a61f8 20542
f5818d2f 20543fi
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 20549cat >>confdefs.h <<\_ACEOF
ff7a61f8 20550#define HAVE_LINUX_GETHOSTBYNAME_R_6 1
daa2886c 20551_ACEOF
ff7a61f8
RK
20552
20553 fi
20554
028e9a17
MM
20555if test "$ac_cv_header_linux_joystick_h" = "yes"
20556then
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 20559if test "${wine_cv_linux_joystick_22_api+set}" = set; then
abf5048b 20560 $as_echo_n "(cached) " >&6
028e9a17 20561else
f5818d2f 20562 cat >conftest.$ac_ext <<_ACEOF
e24bcc77
AJ
20563/* confdefs.h. */
20564_ACEOF
20565cat confdefs.h >>conftest.$ac_ext
20566cat >>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
20578int
20579main ()
20580{
028e9a17 20581/*empty*/
f5818d2f
AJ
20582 ;
20583 return 0;
20584}
20585_ACEOF
20586rm -f conftest.$ac_objext
0ebeb530
JW
20587if { (ac_try="$ac_compile"
20588case "(($ac_try" in
20589 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20590 *) ac_try_echo=$ac_try;;
20591esac
abf5048b
AJ
20592eval 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
20605else
abf5048b 20606 $as_echo "$as_me: failed program was:" >&5
e24bcc77
AJ
20607sed 's/^/| /' conftest.$ac_ext >&5
20608
fc6ffb29 20609 wine_cv_linux_joystick_22_api=no
028e9a17 20610fi
fc6ffb29 20611
0ebeb530 20612rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
028e9a17 20613
f5818d2f 20614fi
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 20620cat >>confdefs.h <<\_ACEOF
028e9a17 20621#define HAVE_LINUX_22_JOYSTICK_API 1
daa2886c 20622_ACEOF
028e9a17
MM
20623
20624 fi
20625fi
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 20630if test "${ac_cv_member_struct_statfs_f_bfree+set}" = set; then
abf5048b 20631 $as_echo_n "(cached) " >&6
c7c217b3 20632else
f5818d2f 20633 cat >conftest.$ac_ext <<_ACEOF
e24bcc77
AJ
20634/* confdefs.h. */
20635_ACEOF
20636cat confdefs.h >>conftest.$ac_ext
20637cat >>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
20653int
20654main ()
20655{
5537dbbf
AJ
20656static struct statfs ac_aggr;
20657if (ac_aggr.f_bfree)
20658return 0;
f5818d2f
AJ
20659 ;
20660 return 0;
20661}
20662_ACEOF
20663rm -f conftest.$ac_objext
0ebeb530
JW
20664if { (ac_try="$ac_compile"
20665case "(($ac_try" in
20666 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20667 *) ac_try_echo=$ac_try;;
20668esac
abf5048b
AJ
20669eval 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 20682else
abf5048b 20683 $as_echo "$as_me: failed program was:" >&5
e24bcc77
AJ
20684sed 's/^/| /' conftest.$ac_ext >&5
20685
fc6ffb29 20686 cat >conftest.$ac_ext <<_ACEOF
5537dbbf
AJ
20687/* confdefs.h. */
20688_ACEOF
20689cat confdefs.h >>conftest.$ac_ext
20690cat >>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
20706int
20707main ()
20708{
20709static struct statfs ac_aggr;
20710if (sizeof ac_aggr.f_bfree)
20711return 0;
20712 ;
20713 return 0;
20714}
daa2886c 20715_ACEOF
5537dbbf 20716rm -f conftest.$ac_objext
0ebeb530
JW
20717if { (ac_try="$ac_compile"
20718case "(($ac_try" in
20719 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20720 *) ac_try_echo=$ac_try;;
20721esac
abf5048b
AJ
20722eval 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
20735else
abf5048b 20736 $as_echo "$as_me: failed program was:" >&5
5537dbbf 20737sed 's/^/| /' conftest.$ac_ext >&5
c7c217b3 20738
fc6ffb29 20739 ac_cv_member_struct_statfs_f_bfree=no
c7c217b3 20740fi
fc6ffb29 20741
0ebeb530 20742rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5537dbbf 20743fi
fc6ffb29 20744
0ebeb530 20745rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5537dbbf 20746fi
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; }
20749if test "x$ac_cv_member_struct_statfs_f_bfree" = x""yes; then
c7c217b3 20750
5537dbbf
AJ
20751cat >>confdefs.h <<_ACEOF
20752#define HAVE_STRUCT_STATFS_F_BFREE 1
20753_ACEOF
daa2886c
AJ
20754
20755
5537dbbf 20756fi
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 20759if test "${ac_cv_member_struct_statfs_f_bavail+set}" = set; then
abf5048b 20760 $as_echo_n "(cached) " >&6
dadf78ff 20761else
f5818d2f 20762 cat >conftest.$ac_ext <<_ACEOF
e24bcc77
AJ
20763/* confdefs.h. */
20764_ACEOF
20765cat confdefs.h >>conftest.$ac_ext
20766cat >>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
20782int
20783main ()
20784{
5537dbbf
AJ
20785static struct statfs ac_aggr;
20786if (ac_aggr.f_bavail)
20787return 0;
f5818d2f
AJ
20788 ;
20789 return 0;
20790}
20791_ACEOF
20792rm -f conftest.$ac_objext
0ebeb530
JW
20793if { (ac_try="$ac_compile"
20794case "(($ac_try" in
20795 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20796 *) ac_try_echo=$ac_try;;
20797esac
abf5048b
AJ
20798eval 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 20811else
abf5048b 20812 $as_echo "$as_me: failed program was:" >&5
e24bcc77
AJ
20813sed 's/^/| /' conftest.$ac_ext >&5
20814
fc6ffb29 20815 cat >conftest.$ac_ext <<_ACEOF
5537dbbf
AJ
20816/* confdefs.h. */
20817_ACEOF
20818cat confdefs.h >>conftest.$ac_ext
20819cat >>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
20835int
20836main ()
20837{
20838static struct statfs ac_aggr;
20839if (sizeof ac_aggr.f_bavail)
20840return 0;
20841 ;
20842 return 0;
20843}
20844_ACEOF
20845rm -f conftest.$ac_objext
0ebeb530
JW
20846if { (ac_try="$ac_compile"
20847case "(($ac_try" in
20848 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20849 *) ac_try_echo=$ac_try;;
20850esac
abf5048b
AJ
20851eval 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
20864else
abf5048b 20865 $as_echo "$as_me: failed program was:" >&5
5537dbbf
AJ
20866sed 's/^/| /' conftest.$ac_ext >&5
20867
fc6ffb29 20868 ac_cv_member_struct_statfs_f_bavail=no
5537dbbf 20869fi
fc6ffb29 20870
0ebeb530 20871rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
f5818d2f 20872fi
fc6ffb29 20873
0ebeb530 20874rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
f5818d2f 20875fi
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; }
20878if test "x$ac_cv_member_struct_statfs_f_bavail" = x""yes; then
f5818d2f 20879
5537dbbf
AJ
20880cat >>confdefs.h <<_ACEOF
20881#define HAVE_STRUCT_STATFS_F_BAVAIL 1
daa2886c 20882_ACEOF
dadf78ff 20883
dadf78ff 20884
13af4891 20885fi
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 20888if test "${ac_cv_member_struct_statfs_f_frsize+set}" = set; then
abf5048b 20889 $as_echo_n "(cached) " >&6
13af4891
AJ
20890else
20891 cat >conftest.$ac_ext <<_ACEOF
20892/* confdefs.h. */
20893_ACEOF
20894cat confdefs.h >>conftest.$ac_ext
20895cat >>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
20911int
20912main ()
20913{
20914static struct statfs ac_aggr;
20915if (ac_aggr.f_frsize)
20916return 0;
20917 ;
20918 return 0;
20919}
20920_ACEOF
20921rm -f conftest.$ac_objext
0ebeb530
JW
20922if { (ac_try="$ac_compile"
20923case "(($ac_try" in
20924 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20925 *) ac_try_echo=$ac_try;;
20926esac
abf5048b
AJ
20927eval 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
20940else
abf5048b 20941 $as_echo "$as_me: failed program was:" >&5
13af4891
AJ
20942sed 's/^/| /' conftest.$ac_ext >&5
20943
fc6ffb29 20944 cat >conftest.$ac_ext <<_ACEOF
13af4891
AJ
20945/* confdefs.h. */
20946_ACEOF
20947cat confdefs.h >>conftest.$ac_ext
20948cat >>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
20964int
20965main ()
20966{
20967static struct statfs ac_aggr;
20968if (sizeof ac_aggr.f_frsize)
20969return 0;
20970 ;
20971 return 0;
20972}
20973_ACEOF
20974rm -f conftest.$ac_objext
0ebeb530
JW
20975if { (ac_try="$ac_compile"
20976case "(($ac_try" in
20977 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20978 *) ac_try_echo=$ac_try;;
20979esac
abf5048b
AJ
20980eval 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
20993else
abf5048b 20994 $as_echo "$as_me: failed program was:" >&5
13af4891
AJ
20995sed 's/^/| /' conftest.$ac_ext >&5
20996
fc6ffb29 20997 ac_cv_member_struct_statfs_f_frsize=no
13af4891 20998fi
fc6ffb29 20999
0ebeb530 21000rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13af4891 21001fi
fc6ffb29 21002
0ebeb530 21003rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13af4891 21004fi
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; }
21007if test "x$ac_cv_member_struct_statfs_f_frsize" = x""yes; then
13af4891
AJ
21008
21009cat >>confdefs.h <<_ACEOF
21010#define HAVE_STRUCT_STATFS_F_FRSIZE 1
21011_ACEOF
21012
21013
21014fi
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 21017if test "${ac_cv_member_struct_statfs_f_ffree+set}" = set; then
abf5048b 21018 $as_echo_n "(cached) " >&6
13af4891
AJ
21019else
21020 cat >conftest.$ac_ext <<_ACEOF
21021/* confdefs.h. */
21022_ACEOF
21023cat confdefs.h >>conftest.$ac_ext
21024cat >>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
21040int
21041main ()
21042{
21043static struct statfs ac_aggr;
21044if (ac_aggr.f_ffree)
21045return 0;
21046 ;
21047 return 0;
21048}
21049_ACEOF
21050rm -f conftest.$ac_objext
0ebeb530
JW
21051if { (ac_try="$ac_compile"
21052case "(($ac_try" in
21053 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21054 *) ac_try_echo=$ac_try;;
21055esac
abf5048b
AJ
21056eval 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
21069else
abf5048b 21070 $as_echo "$as_me: failed program was:" >&5
13af4891
AJ
21071sed 's/^/| /' conftest.$ac_ext >&5
21072
fc6ffb29 21073 cat >conftest.$ac_ext <<_ACEOF
13af4891
AJ
21074/* confdefs.h. */
21075_ACEOF
21076cat confdefs.h >>conftest.$ac_ext
21077cat >>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
21093int
21094main ()
21095{
21096static struct statfs ac_aggr;
21097if (sizeof ac_aggr.f_ffree)
21098return 0;
21099 ;
21100 return 0;
21101}
21102_ACEOF
21103rm -f conftest.$ac_objext
0ebeb530
JW
21104if { (ac_try="$ac_compile"
21105case "(($ac_try" in
21106 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21107 *) ac_try_echo=$ac_try;;
21108esac
abf5048b
AJ
21109eval 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
21122else
abf5048b 21123 $as_echo "$as_me: failed program was:" >&5
13af4891
AJ
21124sed 's/^/| /' conftest.$ac_ext >&5
21125
fc6ffb29 21126 ac_cv_member_struct_statfs_f_ffree=no
13af4891 21127fi
fc6ffb29 21128
0ebeb530 21129rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13af4891 21130fi
fc6ffb29 21131
0ebeb530 21132rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13af4891 21133fi
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; }
21136if test "x$ac_cv_member_struct_statfs_f_ffree" = x""yes; then
13af4891
AJ
21137
21138cat >>confdefs.h <<_ACEOF
21139#define HAVE_STRUCT_STATFS_F_FFREE 1
21140_ACEOF
21141
21142
21143fi
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 21146if test "${ac_cv_member_struct_statfs_f_favail+set}" = set; then
abf5048b 21147 $as_echo_n "(cached) " >&6
13af4891
AJ
21148else
21149 cat >conftest.$ac_ext <<_ACEOF
21150/* confdefs.h. */
21151_ACEOF
21152cat confdefs.h >>conftest.$ac_ext
21153cat >>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
21169int
21170main ()
21171{
21172static struct statfs ac_aggr;
21173if (ac_aggr.f_favail)
21174return 0;
21175 ;
21176 return 0;
21177}
21178_ACEOF
21179rm -f conftest.$ac_objext
0ebeb530
JW
21180if { (ac_try="$ac_compile"
21181case "(($ac_try" in
21182 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21183 *) ac_try_echo=$ac_try;;
21184esac
abf5048b
AJ
21185eval 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
21198else
abf5048b 21199 $as_echo "$as_me: failed program was:" >&5
13af4891
AJ
21200sed 's/^/| /' conftest.$ac_ext >&5
21201
fc6ffb29 21202 cat >conftest.$ac_ext <<_ACEOF
13af4891
AJ
21203/* confdefs.h. */
21204_ACEOF
21205cat confdefs.h >>conftest.$ac_ext
21206cat >>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
21222int
21223main ()
21224{
21225static struct statfs ac_aggr;
21226if (sizeof ac_aggr.f_favail)
21227return 0;
21228 ;
21229 return 0;
21230}
21231_ACEOF
21232rm -f conftest.$ac_objext
0ebeb530
JW
21233if { (ac_try="$ac_compile"
21234case "(($ac_try" in
21235 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21236 *) ac_try_echo=$ac_try;;
21237esac
abf5048b
AJ
21238eval 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
21251else
abf5048b 21252 $as_echo "$as_me: failed program was:" >&5
13af4891
AJ
21253sed 's/^/| /' conftest.$ac_ext >&5
21254
fc6ffb29 21255 ac_cv_member_struct_statfs_f_favail=no
13af4891 21256fi
fc6ffb29 21257
0ebeb530 21258rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13af4891 21259fi
fc6ffb29 21260
0ebeb530 21261rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13af4891 21262fi
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; }
21265if test "x$ac_cv_member_struct_statfs_f_favail" = x""yes; then
13af4891
AJ
21266
21267cat >>confdefs.h <<_ACEOF
21268#define HAVE_STRUCT_STATFS_F_FAVAIL 1
21269_ACEOF
21270
21271
b859a686 21272fi
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 21275if test "${ac_cv_member_struct_statfs_f_namelen+set}" = set; then
abf5048b 21276 $as_echo_n "(cached) " >&6
b859a686
AJ
21277else
21278 cat >conftest.$ac_ext <<_ACEOF
21279/* confdefs.h. */
21280_ACEOF
21281cat confdefs.h >>conftest.$ac_ext
21282cat >>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
21298int
21299main ()
21300{
21301static struct statfs ac_aggr;
21302if (ac_aggr.f_namelen)
21303return 0;
21304 ;
21305 return 0;
21306}
21307_ACEOF
21308rm -f conftest.$ac_objext
0ebeb530
JW
21309if { (ac_try="$ac_compile"
21310case "(($ac_try" in
21311 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21312 *) ac_try_echo=$ac_try;;
21313esac
abf5048b
AJ
21314eval 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
21327else
abf5048b 21328 $as_echo "$as_me: failed program was:" >&5
b859a686
AJ
21329sed 's/^/| /' conftest.$ac_ext >&5
21330
fc6ffb29 21331 cat >conftest.$ac_ext <<_ACEOF
b859a686
AJ
21332/* confdefs.h. */
21333_ACEOF
21334cat confdefs.h >>conftest.$ac_ext
21335cat >>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
21351int
21352main ()
21353{
21354static struct statfs ac_aggr;
21355if (sizeof ac_aggr.f_namelen)
21356return 0;
21357 ;
21358 return 0;
21359}
21360_ACEOF
21361rm -f conftest.$ac_objext
0ebeb530
JW
21362if { (ac_try="$ac_compile"
21363case "(($ac_try" in
21364 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21365 *) ac_try_echo=$ac_try;;
21366esac
abf5048b
AJ
21367eval 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
21380else
abf5048b 21381 $as_echo "$as_me: failed program was:" >&5
b859a686
AJ
21382sed 's/^/| /' conftest.$ac_ext >&5
21383
fc6ffb29 21384 ac_cv_member_struct_statfs_f_namelen=no
b859a686 21385fi
fc6ffb29 21386
0ebeb530 21387rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
b859a686 21388fi
fc6ffb29 21389
0ebeb530 21390rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
b859a686 21391fi
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; }
21394if test "x$ac_cv_member_struct_statfs_f_namelen" = x""yes; then
b859a686
AJ
21395
21396cat >>confdefs.h <<_ACEOF
21397#define HAVE_STRUCT_STATFS_F_NAMELEN 1
21398_ACEOF
21399
21400
13af4891
AJ
21401fi
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 21406if test "${ac_cv_member_struct_statvfs_f_blocks+set}" = set; then
abf5048b 21407 $as_echo_n "(cached) " >&6
13af4891
AJ
21408else
21409 cat >conftest.$ac_ext <<_ACEOF
21410/* confdefs.h. */
21411_ACEOF
21412cat confdefs.h >>conftest.$ac_ext
21413cat >>conftest.$ac_ext <<_ACEOF
21414/* end confdefs.h. */
21415#ifdef HAVE_SYS_STATVFS_H
21416#include <sys/statvfs.h>
21417#endif
21418
21419int
21420main ()
21421{
21422static struct statvfs ac_aggr;
21423if (ac_aggr.f_blocks)
21424return 0;
21425 ;
21426 return 0;
21427}
21428_ACEOF
21429rm -f conftest.$ac_objext
0ebeb530
JW
21430if { (ac_try="$ac_compile"
21431case "(($ac_try" in
21432 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21433 *) ac_try_echo=$ac_try;;
21434esac
abf5048b
AJ
21435eval 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
21448else
abf5048b 21449 $as_echo "$as_me: failed program was:" >&5
13af4891
AJ
21450sed 's/^/| /' conftest.$ac_ext >&5
21451
fc6ffb29 21452 cat >conftest.$ac_ext <<_ACEOF
13af4891
AJ
21453/* confdefs.h. */
21454_ACEOF
21455cat confdefs.h >>conftest.$ac_ext
21456cat >>conftest.$ac_ext <<_ACEOF
21457/* end confdefs.h. */
21458#ifdef HAVE_SYS_STATVFS_H
21459#include <sys/statvfs.h>
21460#endif
21461
21462int
21463main ()
21464{
21465static struct statvfs ac_aggr;
21466if (sizeof ac_aggr.f_blocks)
21467return 0;
21468 ;
21469 return 0;
21470}
21471_ACEOF
21472rm -f conftest.$ac_objext
0ebeb530
JW
21473if { (ac_try="$ac_compile"
21474case "(($ac_try" in
21475 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21476 *) ac_try_echo=$ac_try;;
21477esac
abf5048b
AJ
21478eval 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
21491else
abf5048b 21492 $as_echo "$as_me: failed program was:" >&5
13af4891
AJ
21493sed 's/^/| /' conftest.$ac_ext >&5
21494
fc6ffb29 21495 ac_cv_member_struct_statvfs_f_blocks=no
13af4891 21496fi
fc6ffb29 21497
0ebeb530 21498rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13af4891 21499fi
fc6ffb29 21500
0ebeb530 21501rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13af4891 21502fi
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; }
21505if test "x$ac_cv_member_struct_statvfs_f_blocks" = x""yes; then
13af4891
AJ
21506
21507cat >>confdefs.h <<_ACEOF
21508#define HAVE_STRUCT_STATVFS_F_BLOCKS 1
21509_ACEOF
21510
21511
5537dbbf 21512fi
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 21517if test "${ac_cv_member_struct_msghdr_msg_accrights+set}" = set; then
abf5048b 21518 $as_echo_n "(cached) " >&6
829fe323 21519else
f5818d2f 21520 cat >conftest.$ac_ext <<_ACEOF
e24bcc77
AJ
21521/* confdefs.h. */
21522_ACEOF
21523cat confdefs.h >>conftest.$ac_ext
21524cat >>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
21534int
21535main ()
21536{
5537dbbf
AJ
21537static struct msghdr ac_aggr;
21538if (ac_aggr.msg_accrights)
21539return 0;
f5818d2f
AJ
21540 ;
21541 return 0;
21542}
21543_ACEOF
21544rm -f conftest.$ac_objext
0ebeb530
JW
21545if { (ac_try="$ac_compile"
21546case "(($ac_try" in
21547 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21548 *) ac_try_echo=$ac_try;;
21549esac
abf5048b
AJ
21550eval 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 21563else
abf5048b 21564 $as_echo "$as_me: failed program was:" >&5
e24bcc77
AJ
21565sed 's/^/| /' conftest.$ac_ext >&5
21566
fc6ffb29 21567 cat >conftest.$ac_ext <<_ACEOF
5537dbbf
AJ
21568/* confdefs.h. */
21569_ACEOF
21570cat confdefs.h >>conftest.$ac_ext
21571cat >>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
21581int
21582main ()
21583{
21584static struct msghdr ac_aggr;
21585if (sizeof ac_aggr.msg_accrights)
21586return 0;
21587 ;
21588 return 0;
21589}
daa2886c 21590_ACEOF
5537dbbf 21591rm -f conftest.$ac_objext
0ebeb530
JW
21592if { (ac_try="$ac_compile"
21593case "(($ac_try" in
21594 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21595 *) ac_try_echo=$ac_try;;
21596esac
abf5048b
AJ
21597eval 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
21610else
abf5048b 21611 $as_echo "$as_me: failed program was:" >&5
5537dbbf 21612sed 's/^/| /' conftest.$ac_ext >&5
829fe323 21613
fc6ffb29 21614 ac_cv_member_struct_msghdr_msg_accrights=no
5537dbbf 21615fi
fc6ffb29 21616
0ebeb530 21617rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5537dbbf 21618fi
fc6ffb29 21619
0ebeb530 21620rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
829fe323 21621fi
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; }
21624if test "x$ac_cv_member_struct_msghdr_msg_accrights" = x""yes; then
829fe323 21625
5537dbbf
AJ
21626cat >>confdefs.h <<_ACEOF
21627#define HAVE_STRUCT_MSGHDR_MSG_ACCRIGHTS 1
21628_ACEOF
daa2886c
AJ
21629
21630
5537dbbf 21631fi
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 21634if test "${ac_cv_member_struct_sockaddr_sa_len+set}" = set; then
abf5048b 21635 $as_echo_n "(cached) " >&6
2d33ab91 21636else
f5818d2f 21637 cat >conftest.$ac_ext <<_ACEOF
e24bcc77
AJ
21638/* confdefs.h. */
21639_ACEOF
21640cat confdefs.h >>conftest.$ac_ext
21641cat >>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
21651int
21652main ()
21653{
5537dbbf
AJ
21654static struct sockaddr ac_aggr;
21655if (ac_aggr.sa_len)
21656return 0;
f5818d2f
AJ
21657 ;
21658 return 0;
21659}
21660_ACEOF
21661rm -f conftest.$ac_objext
0ebeb530
JW
21662if { (ac_try="$ac_compile"
21663case "(($ac_try" in
21664 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21665 *) ac_try_echo=$ac_try;;
21666esac
abf5048b
AJ
21667eval 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 21680else
abf5048b 21681 $as_echo "$as_me: failed program was:" >&5
e24bcc77
AJ
21682sed 's/^/| /' conftest.$ac_ext >&5
21683
fc6ffb29 21684 cat >conftest.$ac_ext <<_ACEOF
5537dbbf
AJ
21685/* confdefs.h. */
21686_ACEOF
21687cat confdefs.h >>conftest.$ac_ext
21688cat >>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
21698int
21699main ()
21700{
21701static struct sockaddr ac_aggr;
21702if (sizeof ac_aggr.sa_len)
21703return 0;
21704 ;
21705 return 0;
21706}
daa2886c 21707_ACEOF
5537dbbf 21708rm -f conftest.$ac_objext
0ebeb530
JW
21709if { (ac_try="$ac_compile"
21710case "(($ac_try" in
21711 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21712 *) ac_try_echo=$ac_try;;
21713esac
abf5048b
AJ
21714eval 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
21727else
abf5048b 21728 $as_echo "$as_me: failed program was:" >&5
5537dbbf 21729sed 's/^/| /' conftest.$ac_ext >&5
09da966c 21730
fc6ffb29 21731 ac_cv_member_struct_sockaddr_sa_len=no
5537dbbf 21732fi
fc6ffb29 21733
0ebeb530 21734rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5537dbbf 21735fi
fc6ffb29 21736
0ebeb530 21737rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
09da966c 21738fi
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; }
21741if test "x$ac_cv_member_struct_sockaddr_sa_len" = x""yes; then
09da966c 21742
5537dbbf
AJ
21743cat >>confdefs.h <<_ACEOF
21744#define HAVE_STRUCT_SOCKADDR_SA_LEN 1
21745_ACEOF
daa2886c
AJ
21746
21747
5537dbbf 21748fi
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 21751if test "${ac_cv_member_struct_sockaddr_un_sun_len+set}" = set; then
abf5048b 21752 $as_echo_n "(cached) " >&6
09da966c 21753else
f5818d2f 21754 cat >conftest.$ac_ext <<_ACEOF
e24bcc77
AJ
21755/* confdefs.h. */
21756_ACEOF
21757cat confdefs.h >>conftest.$ac_ext
21758cat >>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
21768int
21769main ()
21770{
5537dbbf
AJ
21771static struct sockaddr_un ac_aggr;
21772if (ac_aggr.sun_len)
21773return 0;
f5818d2f
AJ
21774 ;
21775 return 0;
21776}
21777_ACEOF
21778rm -f conftest.$ac_objext
0ebeb530
JW
21779if { (ac_try="$ac_compile"
21780case "(($ac_try" in
21781 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21782 *) ac_try_echo=$ac_try;;
21783esac
abf5048b
AJ
21784eval 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 21797else
abf5048b 21798 $as_echo "$as_me: failed program was:" >&5
e24bcc77
AJ
21799sed 's/^/| /' conftest.$ac_ext >&5
21800
fc6ffb29 21801 cat >conftest.$ac_ext <<_ACEOF
5537dbbf
AJ
21802/* confdefs.h. */
21803_ACEOF
21804cat confdefs.h >>conftest.$ac_ext
21805cat >>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
21815int
21816main ()
21817{
21818static struct sockaddr_un ac_aggr;
21819if (sizeof ac_aggr.sun_len)
21820return 0;
21821 ;
21822 return 0;
21823}
21824_ACEOF
21825rm -f conftest.$ac_objext
0ebeb530
JW
21826if { (ac_try="$ac_compile"
21827case "(($ac_try" in
21828 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21829 *) ac_try_echo=$ac_try;;
21830esac
abf5048b
AJ
21831eval 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
21844else
abf5048b 21845 $as_echo "$as_me: failed program was:" >&5
5537dbbf
AJ
21846sed 's/^/| /' conftest.$ac_ext >&5
21847
fc6ffb29 21848 ac_cv_member_struct_sockaddr_un_sun_len=no
f5818d2f 21849fi
fc6ffb29 21850
0ebeb530 21851rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
f5818d2f 21852fi
fc6ffb29 21853
0ebeb530 21854rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5537dbbf 21855fi
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; }
21858if test "x$ac_cv_member_struct_sockaddr_un_sun_len" = x""yes; then
f5818d2f 21859
5537dbbf
AJ
21860cat >>confdefs.h <<_ACEOF
21861#define HAVE_STRUCT_SOCKADDR_UN_SUN_LEN 1
21862_ACEOF
21863
21864
21865fi
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 21870if test "${ac_cv_member_scsireq_t_cmd+set}" = set; then
abf5048b 21871 $as_echo_n "(cached) " >&6
ea64a36a
DT
21872else
21873 cat >conftest.$ac_ext <<_ACEOF
21874/* confdefs.h. */
21875_ACEOF
21876cat confdefs.h >>conftest.$ac_ext
21877cat >>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
21884int
21885main ()
21886{
21887static scsireq_t ac_aggr;
21888if (ac_aggr.cmd)
21889return 0;
21890 ;
21891 return 0;
21892}
21893_ACEOF
21894rm -f conftest.$ac_objext
0ebeb530
JW
21895if { (ac_try="$ac_compile"
21896case "(($ac_try" in
21897 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21898 *) ac_try_echo=$ac_try;;
21899esac
abf5048b
AJ
21900eval 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
21913else
abf5048b 21914 $as_echo "$as_me: failed program was:" >&5
ea64a36a
DT
21915sed 's/^/| /' conftest.$ac_ext >&5
21916
fc6ffb29 21917 cat >conftest.$ac_ext <<_ACEOF
ea64a36a
DT
21918/* confdefs.h. */
21919_ACEOF
21920cat confdefs.h >>conftest.$ac_ext
21921cat >>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
21928int
21929main ()
21930{
21931static scsireq_t ac_aggr;
21932if (sizeof ac_aggr.cmd)
21933return 0;
21934 ;
21935 return 0;
21936}
21937_ACEOF
21938rm -f conftest.$ac_objext
0ebeb530
JW
21939if { (ac_try="$ac_compile"
21940case "(($ac_try" in
21941 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21942 *) ac_try_echo=$ac_try;;
21943esac
abf5048b
AJ
21944eval 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
21957else
abf5048b 21958 $as_echo "$as_me: failed program was:" >&5
ea64a36a
DT
21959sed 's/^/| /' conftest.$ac_ext >&5
21960
fc6ffb29 21961 ac_cv_member_scsireq_t_cmd=no
ea64a36a 21962fi
fc6ffb29 21963
0ebeb530 21964rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
ea64a36a 21965fi
fc6ffb29 21966
0ebeb530 21967rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
ea64a36a 21968fi
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; }
21971if test "x$ac_cv_member_scsireq_t_cmd" = x""yes; then
ea64a36a
DT
21972
21973cat >>confdefs.h <<_ACEOF
21974#define HAVE_SCSIREQ_T_CMD 1
21975_ACEOF
21976
21977
21978fi
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 21981if test "${ac_cv_member_sg_io_hdr_t_interface_id+set}" = set; then
abf5048b 21982 $as_echo_n "(cached) " >&6
ea64a36a
DT
21983else
21984 cat >conftest.$ac_ext <<_ACEOF
21985/* confdefs.h. */
21986_ACEOF
21987cat confdefs.h >>conftest.$ac_ext
21988cat >>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
21995int
21996main ()
21997{
21998static sg_io_hdr_t ac_aggr;
21999if (ac_aggr.interface_id)
22000return 0;
22001 ;
22002 return 0;
22003}
22004_ACEOF
22005rm -f conftest.$ac_objext
0ebeb530
JW
22006if { (ac_try="$ac_compile"
22007case "(($ac_try" in
22008 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22009 *) ac_try_echo=$ac_try;;
22010esac
abf5048b
AJ
22011eval 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
22024else
abf5048b 22025 $as_echo "$as_me: failed program was:" >&5
ea64a36a
DT
22026sed 's/^/| /' conftest.$ac_ext >&5
22027
fc6ffb29 22028 cat >conftest.$ac_ext <<_ACEOF
ea64a36a
DT
22029/* confdefs.h. */
22030_ACEOF
22031cat confdefs.h >>conftest.$ac_ext
22032cat >>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
22039int
22040main ()
22041{
22042static sg_io_hdr_t ac_aggr;
22043if (sizeof ac_aggr.interface_id)
22044return 0;
22045 ;
22046 return 0;
22047}
22048_ACEOF
22049rm -f conftest.$ac_objext
0ebeb530
JW
22050if { (ac_try="$ac_compile"
22051case "(($ac_try" in
22052 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22053 *) ac_try_echo=$ac_try;;
22054esac
abf5048b
AJ
22055eval 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
22068else
abf5048b 22069 $as_echo "$as_me: failed program was:" >&5
ea64a36a
DT
22070sed 's/^/| /' conftest.$ac_ext >&5
22071
fc6ffb29 22072 ac_cv_member_sg_io_hdr_t_interface_id=no
ea64a36a 22073fi
fc6ffb29 22074
0ebeb530 22075rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
ea64a36a 22076fi
fc6ffb29 22077
0ebeb530 22078rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
ea64a36a 22079fi
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; }
22082if test "x$ac_cv_member_sg_io_hdr_t_interface_id" = x""yes; then
ea64a36a
DT
22083
22084cat >>confdefs.h <<_ACEOF
22085#define HAVE_SG_IO_HDR_T_INTERFACE_ID 1
22086_ACEOF
22087
22088
22089fi
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 22094if test "${ac_cv_member_siginfo_t_si_fd+set}" = set; then
abf5048b 22095 $as_echo_n "(cached) " >&6
5537dbbf
AJ
22096else
22097 cat >conftest.$ac_ext <<_ACEOF
5537dbbf
AJ
22098/* confdefs.h. */
22099_ACEOF
22100cat confdefs.h >>conftest.$ac_ext
22101cat >>conftest.$ac_ext <<_ACEOF
22102/* end confdefs.h. */
22103#include <signal.h>
22104
22105int
22106main ()
22107{
22108static siginfo_t ac_aggr;
22109if (ac_aggr.si_fd)
22110return 0;
22111 ;
22112 return 0;
22113}
22114_ACEOF
22115rm -f conftest.$ac_objext
0ebeb530
JW
22116if { (ac_try="$ac_compile"
22117case "(($ac_try" in
22118 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22119 *) ac_try_echo=$ac_try;;
22120esac
abf5048b
AJ
22121eval 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
22134else
abf5048b 22135 $as_echo "$as_me: failed program was:" >&5
5537dbbf
AJ
22136sed 's/^/| /' conftest.$ac_ext >&5
22137
fc6ffb29 22138 cat >conftest.$ac_ext <<_ACEOF
5537dbbf 22139/* confdefs.h. */
daa2886c 22140_ACEOF
5537dbbf
AJ
22141cat confdefs.h >>conftest.$ac_ext
22142cat >>conftest.$ac_ext <<_ACEOF
22143/* end confdefs.h. */
22144#include <signal.h>
2d33ab91 22145
5537dbbf
AJ
22146int
22147main ()
22148{
22149static siginfo_t ac_aggr;
22150if (sizeof ac_aggr.si_fd)
22151return 0;
22152 ;
22153 return 0;
22154}
22155_ACEOF
22156rm -f conftest.$ac_objext
0ebeb530
JW
22157if { (ac_try="$ac_compile"
22158case "(($ac_try" in
22159 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22160 *) ac_try_echo=$ac_try;;
22161esac
abf5048b
AJ
22162eval 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
22175else
abf5048b 22176 $as_echo "$as_me: failed program was:" >&5
5537dbbf
AJ
22177sed 's/^/| /' conftest.$ac_ext >&5
22178
fc6ffb29 22179 ac_cv_member_siginfo_t_si_fd=no
5537dbbf 22180fi
fc6ffb29 22181
0ebeb530 22182rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5537dbbf 22183fi
fc6ffb29 22184
0ebeb530 22185rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2d33ab91 22186fi
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; }
22189if test "x$ac_cv_member_siginfo_t_si_fd" = x""yes; then
2d33ab91 22190
5537dbbf
AJ
22191cat >>confdefs.h <<_ACEOF
22192#define HAVE_SIGINFO_T_SI_FD 1
22193_ACEOF
22194
22195
22196fi
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 22201if test "${ac_cv_member_struct_mtget_mt_blksiz+set}" = set; then
abf5048b 22202 $as_echo_n "(cached) " >&6
36bdc64e
GP
22203else
22204 cat >conftest.$ac_ext <<_ACEOF
22205/* confdefs.h. */
22206_ACEOF
22207cat confdefs.h >>conftest.$ac_ext
22208cat >>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
22215int
22216main ()
22217{
22218static struct mtget ac_aggr;
22219if (ac_aggr.mt_blksiz)
22220return 0;
22221 ;
22222 return 0;
22223}
22224_ACEOF
22225rm -f conftest.$ac_objext
0ebeb530
JW
22226if { (ac_try="$ac_compile"
22227case "(($ac_try" in
22228 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22229 *) ac_try_echo=$ac_try;;
22230esac
abf5048b
AJ
22231eval 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
22244else
abf5048b 22245 $as_echo "$as_me: failed program was:" >&5
36bdc64e
GP
22246sed 's/^/| /' conftest.$ac_ext >&5
22247
fc6ffb29 22248 cat >conftest.$ac_ext <<_ACEOF
36bdc64e
GP
22249/* confdefs.h. */
22250_ACEOF
22251cat confdefs.h >>conftest.$ac_ext
22252cat >>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
22259int
22260main ()
22261{
22262static struct mtget ac_aggr;
22263if (sizeof ac_aggr.mt_blksiz)
22264return 0;
22265 ;
22266 return 0;
22267}
22268_ACEOF
22269rm -f conftest.$ac_objext
0ebeb530 22270if { (ac_try="$ac_compile"
dc9f3843 22271case "(($ac_try" in
0ebeb530
JW
22272 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22273 *) ac_try_echo=$ac_try;;
22274esac
abf5048b
AJ
22275eval 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
22288else
abf5048b 22289 $as_echo "$as_me: failed program was:" >&5
36bdc64e
GP
22290sed 's/^/| /' conftest.$ac_ext >&5
22291
fc6ffb29 22292 ac_cv_member_struct_mtget_mt_blksiz=no
36bdc64e 22293fi
fc6ffb29 22294
0ebeb530 22295rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36bdc64e 22296fi
fc6ffb29 22297
0ebeb530 22298rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36bdc64e 22299fi
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; }
22302if test "x$ac_cv_member_struct_mtget_mt_blksiz" = x""yes; then
36bdc64e
GP
22303
22304cat >>confdefs.h <<_ACEOF
22305#define HAVE_STRUCT_MTGET_MT_BLKSIZ 1
22306_ACEOF
22307
22308
22309fi
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 22312if test "${ac_cv_member_struct_mtget_mt_gstat+set}" = set; then
abf5048b 22313 $as_echo_n "(cached) " >&6
36bdc64e
GP
22314else
22315 cat >conftest.$ac_ext <<_ACEOF
22316/* confdefs.h. */
22317_ACEOF
22318cat confdefs.h >>conftest.$ac_ext
22319cat >>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
22326int
22327main ()
22328{
22329static struct mtget ac_aggr;
22330if (ac_aggr.mt_gstat)
22331return 0;
22332 ;
22333 return 0;
22334}
22335_ACEOF
22336rm -f conftest.$ac_objext
0ebeb530
JW
22337if { (ac_try="$ac_compile"
22338case "(($ac_try" in
22339 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22340 *) ac_try_echo=$ac_try;;
22341esac
abf5048b
AJ
22342eval 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
22355else
abf5048b 22356 $as_echo "$as_me: failed program was:" >&5
36bdc64e
GP
22357sed 's/^/| /' conftest.$ac_ext >&5
22358
fc6ffb29 22359 cat >conftest.$ac_ext <<_ACEOF
36bdc64e
GP
22360/* confdefs.h. */
22361_ACEOF
22362cat confdefs.h >>conftest.$ac_ext
22363cat >>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
22370int
22371main ()
22372{
22373static struct mtget ac_aggr;
22374if (sizeof ac_aggr.mt_gstat)
22375return 0;
22376 ;
22377 return 0;
22378}
22379_ACEOF
22380rm -f conftest.$ac_objext
0ebeb530
JW
22381if { (ac_try="$ac_compile"
22382case "(($ac_try" in
22383 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22384 *) ac_try_echo=$ac_try;;
22385esac
abf5048b
AJ
22386eval 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
22399else
abf5048b 22400 $as_echo "$as_me: failed program was:" >&5
36bdc64e
GP
22401sed 's/^/| /' conftest.$ac_ext >&5
22402
fc6ffb29 22403 ac_cv_member_struct_mtget_mt_gstat=no
36bdc64e 22404fi
fc6ffb29 22405
0ebeb530 22406rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36bdc64e 22407fi
fc6ffb29 22408
0ebeb530 22409rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36bdc64e 22410fi
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; }
22413if test "x$ac_cv_member_struct_mtget_mt_gstat" = x""yes; then
36bdc64e
GP
22414
22415cat >>confdefs.h <<_ACEOF
22416#define HAVE_STRUCT_MTGET_MT_GSTAT 1
22417_ACEOF
22418
22419
571d9fb0 22420fi
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 22423if test "${ac_cv_member_struct_mtget_mt_blkno+set}" = set; then
abf5048b 22424 $as_echo_n "(cached) " >&6
571d9fb0
GP
22425else
22426 cat >conftest.$ac_ext <<_ACEOF
22427/* confdefs.h. */
22428_ACEOF
22429cat confdefs.h >>conftest.$ac_ext
22430cat >>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
22437int
22438main ()
22439{
22440static struct mtget ac_aggr;
22441if (ac_aggr.mt_blkno)
22442return 0;
22443 ;
22444 return 0;
22445}
22446_ACEOF
22447rm -f conftest.$ac_objext
0ebeb530
JW
22448if { (ac_try="$ac_compile"
22449case "(($ac_try" in
22450 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22451 *) ac_try_echo=$ac_try;;
22452esac
abf5048b
AJ
22453eval 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
22466else
abf5048b 22467 $as_echo "$as_me: failed program was:" >&5
571d9fb0
GP
22468sed 's/^/| /' conftest.$ac_ext >&5
22469
fc6ffb29 22470 cat >conftest.$ac_ext <<_ACEOF
571d9fb0
GP
22471/* confdefs.h. */
22472_ACEOF
22473cat confdefs.h >>conftest.$ac_ext
22474cat >>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
22481int
22482main ()
22483{
22484static struct mtget ac_aggr;
22485if (sizeof ac_aggr.mt_blkno)
22486return 0;
22487 ;
22488 return 0;
22489}
22490_ACEOF
22491rm -f conftest.$ac_objext
0ebeb530
JW
22492if { (ac_try="$ac_compile"
22493case "(($ac_try" in
22494 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22495 *) ac_try_echo=$ac_try;;
22496esac
abf5048b
AJ
22497eval 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
22510else
abf5048b 22511 $as_echo "$as_me: failed program was:" >&5
571d9fb0
GP
22512sed 's/^/| /' conftest.$ac_ext >&5
22513
fc6ffb29 22514 ac_cv_member_struct_mtget_mt_blkno=no
571d9fb0 22515fi
fc6ffb29 22516
0ebeb530 22517rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
571d9fb0 22518fi
fc6ffb29 22519
0ebeb530 22520rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
571d9fb0 22521fi
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; }
22524if test "x$ac_cv_member_struct_mtget_mt_blkno" = x""yes; then
571d9fb0
GP
22525
22526cat >>confdefs.h <<_ACEOF
22527#define HAVE_STRUCT_MTGET_MT_BLKNO 1
22528_ACEOF
22529
22530
36bdc64e
GP
22531fi
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 22536if test "${ac_cv_member_struct_option_name+set}" = set; then
abf5048b 22537 $as_echo_n "(cached) " >&6
db89a54b
AJ
22538else
22539 cat >conftest.$ac_ext <<_ACEOF
db89a54b
AJ
22540/* confdefs.h. */
22541_ACEOF
22542cat confdefs.h >>conftest.$ac_ext
22543cat >>conftest.$ac_ext <<_ACEOF
22544/* end confdefs.h. */
22545#ifdef HAVE_GETOPT_H
22546#include <getopt.h>
22547#endif
22548
22549int
22550main ()
22551{
22552static struct option ac_aggr;
22553if (ac_aggr.name)
22554return 0;
22555 ;
22556 return 0;
22557}
22558_ACEOF
22559rm -f conftest.$ac_objext
0ebeb530
JW
22560if { (ac_try="$ac_compile"
22561case "(($ac_try" in
22562 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22563 *) ac_try_echo=$ac_try;;
22564esac
abf5048b
AJ
22565eval 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
22578else
abf5048b 22579 $as_echo "$as_me: failed program was:" >&5
db89a54b
AJ
22580sed 's/^/| /' conftest.$ac_ext >&5
22581
fc6ffb29 22582 cat >conftest.$ac_ext <<_ACEOF
db89a54b
AJ
22583/* confdefs.h. */
22584_ACEOF
22585cat confdefs.h >>conftest.$ac_ext
22586cat >>conftest.$ac_ext <<_ACEOF
22587/* end confdefs.h. */
22588#ifdef HAVE_GETOPT_H
22589#include <getopt.h>
22590#endif
22591
22592int
22593main ()
22594{
22595static struct option ac_aggr;
22596if (sizeof ac_aggr.name)
22597return 0;
22598 ;
22599 return 0;
22600}
22601_ACEOF
22602rm -f conftest.$ac_objext
0ebeb530
JW
22603if { (ac_try="$ac_compile"
22604case "(($ac_try" in
22605 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22606 *) ac_try_echo=$ac_try;;
22607esac
abf5048b
AJ
22608eval 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
22621else
abf5048b 22622 $as_echo "$as_me: failed program was:" >&5
db89a54b
AJ
22623sed 's/^/| /' conftest.$ac_ext >&5
22624
fc6ffb29 22625 ac_cv_member_struct_option_name=no
db89a54b 22626fi
fc6ffb29 22627
0ebeb530 22628rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
db89a54b 22629fi
fc6ffb29 22630
0ebeb530 22631rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
db89a54b 22632fi
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; }
22635if test "x$ac_cv_member_struct_option_name" = x""yes; then
db89a54b
AJ
22636
22637cat >>confdefs.h <<_ACEOF
22638#define HAVE_STRUCT_OPTION_NAME 1
22639_ACEOF
22640
22641
22642fi
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 22647if test "${ac_cv_member_struct_stat_st_blocks+set}" = set; then
abf5048b 22648 $as_echo_n "(cached) " >&6
d6507196
PR
22649else
22650 cat >conftest.$ac_ext <<_ACEOF
d6507196
PR
22651/* confdefs.h. */
22652_ACEOF
22653cat confdefs.h >>conftest.$ac_ext
22654cat >>conftest.$ac_ext <<_ACEOF
22655/* end confdefs.h. */
22656$ac_includes_default
22657int
22658main ()
22659{
22660static struct stat ac_aggr;
22661if (ac_aggr.st_blocks)
22662return 0;
22663 ;
22664 return 0;
22665}
22666_ACEOF
22667rm -f conftest.$ac_objext
0ebeb530
JW
22668if { (ac_try="$ac_compile"
22669case "(($ac_try" in
22670 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22671 *) ac_try_echo=$ac_try;;
22672esac
abf5048b
AJ
22673eval 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
22686else
abf5048b 22687 $as_echo "$as_me: failed program was:" >&5
d6507196
PR
22688sed 's/^/| /' conftest.$ac_ext >&5
22689
fc6ffb29 22690 cat >conftest.$ac_ext <<_ACEOF
d6507196
PR
22691/* confdefs.h. */
22692_ACEOF
22693cat confdefs.h >>conftest.$ac_ext
22694cat >>conftest.$ac_ext <<_ACEOF
22695/* end confdefs.h. */
22696$ac_includes_default
22697int
22698main ()
22699{
22700static struct stat ac_aggr;
22701if (sizeof ac_aggr.st_blocks)
22702return 0;
22703 ;
22704 return 0;
22705}
22706_ACEOF
22707rm -f conftest.$ac_objext
0ebeb530
JW
22708if { (ac_try="$ac_compile"
22709case "(($ac_try" in
22710 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22711 *) ac_try_echo=$ac_try;;
22712esac
abf5048b
AJ
22713eval 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
22726else
abf5048b 22727 $as_echo "$as_me: failed program was:" >&5
d6507196
PR
22728sed 's/^/| /' conftest.$ac_ext >&5
22729
fc6ffb29 22730 ac_cv_member_struct_stat_st_blocks=no
d6507196 22731fi
fc6ffb29 22732
0ebeb530 22733rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
d6507196 22734fi
fc6ffb29 22735
0ebeb530 22736rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
d6507196 22737fi
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; }
22740if test "x$ac_cv_member_struct_stat_st_blocks" = x""yes; then
d6507196
PR
22741
22742cat >>confdefs.h <<_ACEOF
22743#define HAVE_STRUCT_STAT_ST_BLOCKS 1
22744_ACEOF
22745
22746
af2d274f 22747fi
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 22750if test "${ac_cv_member_struct_stat_st_mtim+set}" = set; then
abf5048b 22751 $as_echo_n "(cached) " >&6
af2d274f
MK
22752else
22753 cat >conftest.$ac_ext <<_ACEOF
22754/* confdefs.h. */
22755_ACEOF
22756cat confdefs.h >>conftest.$ac_ext
22757cat >>conftest.$ac_ext <<_ACEOF
22758/* end confdefs.h. */
22759$ac_includes_default
22760int
22761main ()
22762{
22763static struct stat ac_aggr;
22764if (ac_aggr.st_mtim)
22765return 0;
22766 ;
22767 return 0;
22768}
22769_ACEOF
22770rm -f conftest.$ac_objext
22771if { (ac_try="$ac_compile"
22772case "(($ac_try" in
22773 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22774 *) ac_try_echo=$ac_try;;
22775esac
abf5048b
AJ
22776eval 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
22789else
abf5048b 22790 $as_echo "$as_me: failed program was:" >&5
af2d274f
MK
22791sed 's/^/| /' conftest.$ac_ext >&5
22792
22793 cat >conftest.$ac_ext <<_ACEOF
22794/* confdefs.h. */
22795_ACEOF
22796cat confdefs.h >>conftest.$ac_ext
22797cat >>conftest.$ac_ext <<_ACEOF
22798/* end confdefs.h. */
22799$ac_includes_default
22800int
22801main ()
22802{
22803static struct stat ac_aggr;
22804if (sizeof ac_aggr.st_mtim)
22805return 0;
22806 ;
22807 return 0;
22808}
22809_ACEOF
22810rm -f conftest.$ac_objext
22811if { (ac_try="$ac_compile"
22812case "(($ac_try" in
22813 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22814 *) ac_try_echo=$ac_try;;
22815esac
abf5048b
AJ
22816eval 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
22829else
abf5048b 22830 $as_echo "$as_me: failed program was:" >&5
af2d274f
MK
22831sed 's/^/| /' conftest.$ac_ext >&5
22832
22833 ac_cv_member_struct_stat_st_mtim=no
22834fi
22835
22836rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22837fi
22838
22839rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22840fi
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; }
22843if test "x$ac_cv_member_struct_stat_st_mtim" = x""yes; then
af2d274f
MK
22844
22845cat >>confdefs.h <<_ACEOF
22846#define HAVE_STRUCT_STAT_ST_MTIM 1
22847_ACEOF
22848
22849
22850fi
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 22853if test "${ac_cv_member_struct_stat_st_ctim+set}" = set; then
abf5048b 22854 $as_echo_n "(cached) " >&6
af2d274f
MK
22855else
22856 cat >conftest.$ac_ext <<_ACEOF
22857/* confdefs.h. */
22858_ACEOF
22859cat confdefs.h >>conftest.$ac_ext
22860cat >>conftest.$ac_ext <<_ACEOF
22861/* end confdefs.h. */
22862$ac_includes_default
22863int
22864main ()
22865{
22866static struct stat ac_aggr;
22867if (ac_aggr.st_ctim)
22868return 0;
22869 ;
22870 return 0;
22871}
22872_ACEOF
22873rm -f conftest.$ac_objext
22874if { (ac_try="$ac_compile"
22875case "(($ac_try" in
22876 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22877 *) ac_try_echo=$ac_try;;
22878esac
abf5048b
AJ
22879eval 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
22892else
abf5048b 22893 $as_echo "$as_me: failed program was:" >&5
af2d274f
MK
22894sed 's/^/| /' conftest.$ac_ext >&5
22895
22896 cat >conftest.$ac_ext <<_ACEOF
22897/* confdefs.h. */
22898_ACEOF
22899cat confdefs.h >>conftest.$ac_ext
22900cat >>conftest.$ac_ext <<_ACEOF
22901/* end confdefs.h. */
22902$ac_includes_default
22903int
22904main ()
22905{
22906static struct stat ac_aggr;
22907if (sizeof ac_aggr.st_ctim)
22908return 0;
22909 ;
22910 return 0;
22911}
22912_ACEOF
22913rm -f conftest.$ac_objext
22914if { (ac_try="$ac_compile"
22915case "(($ac_try" in
22916 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22917 *) ac_try_echo=$ac_try;;
22918esac
abf5048b
AJ
22919eval 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
22932else
abf5048b 22933 $as_echo "$as_me: failed program was:" >&5
af2d274f
MK
22934sed 's/^/| /' conftest.$ac_ext >&5
22935
22936 ac_cv_member_struct_stat_st_ctim=no
22937fi
22938
22939rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22940fi
22941
22942rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22943fi
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; }
22946if test "x$ac_cv_member_struct_stat_st_ctim" = x""yes; then
af2d274f
MK
22947
22948cat >>confdefs.h <<_ACEOF
22949#define HAVE_STRUCT_STAT_ST_CTIM 1
22950_ACEOF
22951
22952
22953fi
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 22956if test "${ac_cv_member_struct_stat_st_atim+set}" = set; then
abf5048b 22957 $as_echo_n "(cached) " >&6
af2d274f
MK
22958else
22959 cat >conftest.$ac_ext <<_ACEOF
22960/* confdefs.h. */
22961_ACEOF
22962cat confdefs.h >>conftest.$ac_ext
22963cat >>conftest.$ac_ext <<_ACEOF
22964/* end confdefs.h. */
22965$ac_includes_default
22966int
22967main ()
22968{
22969static struct stat ac_aggr;
22970if (ac_aggr.st_atim)
22971return 0;
22972 ;
22973 return 0;
22974}
22975_ACEOF
22976rm -f conftest.$ac_objext
22977if { (ac_try="$ac_compile"
22978case "(($ac_try" in
22979 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22980 *) ac_try_echo=$ac_try;;
22981esac
abf5048b
AJ
22982eval 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
22995else
abf5048b 22996 $as_echo "$as_me: failed program was:" >&5
af2d274f
MK
22997sed 's/^/| /' conftest.$ac_ext >&5
22998
22999 cat >conftest.$ac_ext <<_ACEOF
23000/* confdefs.h. */
23001_ACEOF
23002cat confdefs.h >>conftest.$ac_ext
23003cat >>conftest.$ac_ext <<_ACEOF
23004/* end confdefs.h. */
23005$ac_includes_default
23006int
23007main ()
23008{
23009static struct stat ac_aggr;
23010if (sizeof ac_aggr.st_atim)
23011return 0;
23012 ;
23013 return 0;
23014}
23015_ACEOF
23016rm -f conftest.$ac_objext
23017if { (ac_try="$ac_compile"
23018case "(($ac_try" in
23019 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23020 *) ac_try_echo=$ac_try;;
23021esac
abf5048b
AJ
23022eval 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
23035else
abf5048b 23036 $as_echo "$as_me: failed program was:" >&5
af2d274f
MK
23037sed 's/^/| /' conftest.$ac_ext >&5
23038
23039 ac_cv_member_struct_stat_st_atim=no
23040fi
23041
23042rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23043fi
23044
23045rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23046fi
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; }
23049if test "x$ac_cv_member_struct_stat_st_atim" = x""yes; then
af2d274f
MK
23050
23051cat >>confdefs.h <<_ACEOF
23052#define HAVE_STRUCT_STAT_ST_ATIM 1
23053_ACEOF
23054
23055
d6507196
PR
23056fi
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 23061if test "${ac_cv_member_struct_sockaddr_in6_sin6_scope_id+set}" = set; then
abf5048b 23062 $as_echo_n "(cached) " >&6
40a6a74a
VL
23063else
23064 cat >conftest.$ac_ext <<_ACEOF
23065/* confdefs.h. */
23066_ACEOF
23067cat confdefs.h >>conftest.$ac_ext
23068cat >>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
23077int
23078main ()
23079{
23080static struct sockaddr_in6 ac_aggr;
23081if (ac_aggr.sin6_scope_id)
23082return 0;
23083 ;
23084 return 0;
23085}
23086_ACEOF
23087rm -f conftest.$ac_objext
0ebeb530
JW
23088if { (ac_try="$ac_compile"
23089case "(($ac_try" in
23090 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23091 *) ac_try_echo=$ac_try;;
23092esac
abf5048b
AJ
23093eval 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
23106else
abf5048b 23107 $as_echo "$as_me: failed program was:" >&5
40a6a74a
VL
23108sed 's/^/| /' conftest.$ac_ext >&5
23109
fc6ffb29 23110 cat >conftest.$ac_ext <<_ACEOF
40a6a74a
VL
23111/* confdefs.h. */
23112_ACEOF
23113cat confdefs.h >>conftest.$ac_ext
23114cat >>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
23123int
23124main ()
23125{
23126static struct sockaddr_in6 ac_aggr;
23127if (sizeof ac_aggr.sin6_scope_id)
23128return 0;
23129 ;
23130 return 0;
23131}
23132_ACEOF
23133rm -f conftest.$ac_objext
0ebeb530
JW
23134if { (ac_try="$ac_compile"
23135case "(($ac_try" in
23136 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23137 *) ac_try_echo=$ac_try;;
23138esac
abf5048b
AJ
23139eval 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
23152else
abf5048b 23153 $as_echo "$as_me: failed program was:" >&5
40a6a74a
VL
23154sed 's/^/| /' conftest.$ac_ext >&5
23155
fc6ffb29 23156 ac_cv_member_struct_sockaddr_in6_sin6_scope_id=no
40a6a74a 23157fi
fc6ffb29 23158
0ebeb530 23159rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40a6a74a 23160fi
fc6ffb29 23161
0ebeb530 23162rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40a6a74a 23163fi
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; }
23166if test "x$ac_cv_member_struct_sockaddr_in6_sin6_scope_id" = x""yes; then
40a6a74a
VL
23167
23168cat >>confdefs.h <<_ACEOF
23169#define HAVE_STRUCT_SOCKADDR_IN6_SIN6_SCOPE_ID 1
23170_ACEOF
23171
23172
23173fi
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 23178if test "${ac_cv_member_ns_msg__msg_ptr+set}" = set; then
abf5048b 23179 $as_echo_n "(cached) " >&6
788e30f1
AJ
23180else
23181 cat >conftest.$ac_ext <<_ACEOF
23182/* confdefs.h. */
23183_ACEOF
23184cat confdefs.h >>conftest.$ac_ext
23185cat >>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
23197int
23198main ()
23199{
23200static ns_msg ac_aggr;
23201if (ac_aggr._msg_ptr)
23202return 0;
23203 ;
23204 return 0;
23205}
23206_ACEOF
23207rm -f conftest.$ac_objext
0ebeb530
JW
23208if { (ac_try="$ac_compile"
23209case "(($ac_try" in
23210 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23211 *) ac_try_echo=$ac_try;;
23212esac
abf5048b
AJ
23213eval 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
23226else
abf5048b 23227 $as_echo "$as_me: failed program was:" >&5
788e30f1
AJ
23228sed 's/^/| /' conftest.$ac_ext >&5
23229
23230 cat >conftest.$ac_ext <<_ACEOF
23231/* confdefs.h. */
23232_ACEOF
23233cat confdefs.h >>conftest.$ac_ext
23234cat >>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
23246int
23247main ()
23248{
23249static ns_msg ac_aggr;
23250if (sizeof ac_aggr._msg_ptr)
23251return 0;
23252 ;
23253 return 0;
23254}
23255_ACEOF
23256rm -f conftest.$ac_objext
0ebeb530
JW
23257if { (ac_try="$ac_compile"
23258case "(($ac_try" in
23259 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23260 *) ac_try_echo=$ac_try;;
23261esac
abf5048b
AJ
23262eval 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
23275else
abf5048b 23276 $as_echo "$as_me: failed program was:" >&5
788e30f1
AJ
23277sed 's/^/| /' conftest.$ac_ext >&5
23278
23279 ac_cv_member_ns_msg__msg_ptr=no
23280fi
23281
0ebeb530 23282rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
788e30f1
AJ
23283fi
23284
0ebeb530 23285rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
788e30f1 23286fi
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; }
23289if test "x$ac_cv_member_ns_msg__msg_ptr" = x""yes; then
788e30f1
AJ
23290
23291cat >>confdefs.h <<_ACEOF
23292#define HAVE_NS_MSG__MSG_PTR 1
23293_ACEOF
23294
23295
23296fi
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 23301if test "${ac_cv_have_timezone+set}" = set; then
abf5048b 23302 $as_echo_n "(cached) " >&6
6618b035
PK
23303else
23304 cat >conftest.$ac_ext <<_ACEOF
23305/* confdefs.h. */
23306_ACEOF
23307cat confdefs.h >>conftest.$ac_ext
23308cat >>conftest.$ac_ext <<_ACEOF
23309/* end confdefs.h. */
23310#include <time.h>
23311int
23312main ()
23313{
ff2bd661 23314timezone = 1
6618b035
PK
23315 ;
23316 return 0;
23317}
23318_ACEOF
23319rm -f conftest.$ac_objext conftest$ac_exeext
0ebeb530
JW
23320if { (ac_try="$ac_link"
23321case "(($ac_try" in
23322 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23323 *) ac_try_echo=$ac_try;;
23324esac
abf5048b
AJ
23325eval 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"
23341else
abf5048b 23342 $as_echo "$as_me: failed program was:" >&5
6618b035
PK
23343sed 's/^/| /' conftest.$ac_ext >&5
23344
fc6ffb29 23345 ac_cv_have_timezone="no"
6618b035 23346fi
fc6ffb29 23347
abf5048b 23348rm -rf conftest.dSYM
f0ca586f 23349rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6618b035
PK
23350 conftest$ac_exeext conftest.$ac_ext
23351fi
abf5048b
AJ
23352{ $as_echo "$as_me:$LINENO: result: $ac_cv_have_timezone" >&5
23353$as_echo "$ac_cv_have_timezone" >&6; }
6618b035
PK
23354if test "$ac_cv_have_timezone" = "yes"
23355then
23356
23357cat >>confdefs.h <<\_ACEOF
23358#define HAVE_TIMEZONE 1
23359_ACEOF
23360
23361fi
abf5048b
AJ
23362{ $as_echo "$as_me:$LINENO: checking for daylight variable" >&5
23363$as_echo_n "checking for daylight variable... " >&6; }
6618b035 23364if test "${ac_cv_have_daylight+set}" = set; then
abf5048b 23365 $as_echo_n "(cached) " >&6
6618b035
PK
23366else
23367 cat >conftest.$ac_ext <<_ACEOF
23368/* confdefs.h. */
23369_ACEOF
23370cat confdefs.h >>conftest.$ac_ext
23371cat >>conftest.$ac_ext <<_ACEOF
23372/* end confdefs.h. */
23373#include <time.h>
23374int
23375main ()
23376{
ff2bd661 23377daylight = 1
6618b035
PK
23378 ;
23379 return 0;
23380}
23381_ACEOF
23382rm -f conftest.$ac_objext conftest$ac_exeext
0ebeb530
JW
23383if { (ac_try="$ac_link"
23384case "(($ac_try" in
23385 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23386 *) ac_try_echo=$ac_try;;
23387esac
abf5048b
AJ
23388eval 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"
23404else
abf5048b 23405 $as_echo "$as_me: failed program was:" >&5
6618b035
PK
23406sed 's/^/| /' conftest.$ac_ext >&5
23407
fc6ffb29 23408 ac_cv_have_daylight="no"
6618b035 23409fi
fc6ffb29 23410
abf5048b 23411rm -rf conftest.dSYM
f0ca586f 23412rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6618b035
PK
23413 conftest$ac_exeext conftest.$ac_ext
23414fi
abf5048b
AJ
23415{ $as_echo "$as_me:$LINENO: result: $ac_cv_have_daylight" >&5
23416$as_echo "$ac_cv_have_daylight" >&6; }
6618b035
PK
23417if test "$ac_cv_have_daylight" = "yes"
23418then
23419
23420cat >>confdefs.h <<\_ACEOF
23421#define HAVE_DAYLIGHT 1
23422_ACEOF
23423
23424fi
23425
abf5048b
AJ
23426{ $as_echo "$as_me:$LINENO: checking for isinf" >&5
23427$as_echo_n "checking for isinf... " >&6; }
4992b659 23428if test "${ac_cv_have_isinf+set}" = set; then
abf5048b 23429 $as_echo_n "(cached) " >&6
4992b659
PS
23430else
23431 cat >conftest.$ac_ext <<_ACEOF
23432/* confdefs.h. */
23433_ACEOF
23434cat confdefs.h >>conftest.$ac_ext
23435cat >>conftest.$ac_ext <<_ACEOF
23436/* end confdefs.h. */
23437#include <math.h>
23438int
23439main ()
23440{
2fef93a8 23441float f = 0.0; int i=isinf(f)
4992b659
PS
23442 ;
23443 return 0;
23444}
23445_ACEOF
23446rm -f conftest.$ac_objext conftest$ac_exeext
23447if { (ac_try="$ac_link"
23448case "(($ac_try" in
23449 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23450 *) ac_try_echo=$ac_try;;
23451esac
abf5048b
AJ
23452eval 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"
23468else
abf5048b 23469 $as_echo "$as_me: failed program was:" >&5
4992b659
PS
23470sed 's/^/| /' conftest.$ac_ext >&5
23471
23472 ac_cv_have_isinf="no"
23473fi
23474
abf5048b 23475rm -rf conftest.dSYM
4992b659
PS
23476rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
23477 conftest$ac_exeext conftest.$ac_ext
23478fi
abf5048b
AJ
23479{ $as_echo "$as_me:$LINENO: result: $ac_cv_have_isinf" >&5
23480$as_echo "$ac_cv_have_isinf" >&6; }
4992b659
PS
23481if test "$ac_cv_have_isinf" = "yes"
23482then
23483
23484cat >>confdefs.h <<\_ACEOF
23485#define HAVE_ISINF 1
23486_ACEOF
23487
23488fi
23489
abf5048b
AJ
23490{ $as_echo "$as_me:$LINENO: checking for isnan" >&5
23491$as_echo_n "checking for isnan... " >&6; }
1715dcbb 23492if test "${ac_cv_have_isnan+set}" = set; then
abf5048b 23493 $as_echo_n "(cached) " >&6
1715dcbb
JC
23494else
23495 cat >conftest.$ac_ext <<_ACEOF
23496/* confdefs.h. */
23497_ACEOF
23498cat confdefs.h >>conftest.$ac_ext
23499cat >>conftest.$ac_ext <<_ACEOF
23500/* end confdefs.h. */
23501#include <math.h>
23502int
23503main ()
23504{
23505float f = 0.0; int i=isnan(f)
23506 ;
23507 return 0;
23508}
23509_ACEOF
23510rm -f conftest.$ac_objext conftest$ac_exeext
23511if { (ac_try="$ac_link"
23512case "(($ac_try" in
23513 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23514 *) ac_try_echo=$ac_try;;
23515esac
abf5048b
AJ
23516eval 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"
23532else
abf5048b 23533 $as_echo "$as_me: failed program was:" >&5
1715dcbb
JC
23534sed 's/^/| /' conftest.$ac_ext >&5
23535
23536 ac_cv_have_isnan="no"
23537fi
23538
abf5048b 23539rm -rf conftest.dSYM
1715dcbb
JC
23540rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
23541 conftest$ac_exeext conftest.$ac_ext
23542fi
abf5048b
AJ
23543{ $as_echo "$as_me:$LINENO: result: $ac_cv_have_isnan" >&5
23544$as_echo "$ac_cv_have_isnan" >&6; }
1715dcbb
JC
23545if test "$ac_cv_have_isnan" = "yes"
23546then
23547
23548cat >>confdefs.h <<\_ACEOF
23549#define HAVE_ISNAN 1
23550_ACEOF
23551
23552fi
23553
daa2886c 23554
fc01b729 23555case $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 23558if test "${ac_cv_cpp_def___i386__+set}" = set; then
abf5048b 23559 $as_echo_n "(cached) " >&6
51d46ba9 23560else
f5818d2f 23561 cat >conftest.$ac_ext <<_ACEOF
e24bcc77
AJ
23562/* confdefs.h. */
23563_ACEOF
23564cat confdefs.h >>conftest.$ac_ext
23565cat >>conftest.$ac_ext <<_ACEOF
23566/* end confdefs.h. */
f5818d2f 23567#ifndef __i386__
51d46ba9
AJ
23568yes
23569#endif
f5818d2f 23570_ACEOF
51d46ba9 23571if (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 23574else
05783b55 23575 ac_cv_cpp_def___i386__=no
51d46ba9
AJ
23576fi
23577rm -f conftest*
23578
23579fi
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
23582if test $ac_cv_cpp_def___i386__ = yes; then
23583 CFLAGS="$CFLAGS -D__i386__"
23584 LINTFLAGS="$LINTFLAGS -D__i386__"
e3be5642
AJ
23585fi
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 23589if test "${ac_cv_cpp_def___x86_64__+set}" = set; then
abf5048b 23590 $as_echo_n "(cached) " >&6
e3be5642
AJ
23591else
23592 cat >conftest.$ac_ext <<_ACEOF
23593/* confdefs.h. */
23594_ACEOF
23595cat confdefs.h >>conftest.$ac_ext
23596cat >>conftest.$ac_ext <<_ACEOF
23597/* end confdefs.h. */
23598#ifndef __x86_64__
23599yes
23600#endif
23601_ACEOF
23602if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
23603 $EGREP "yes" >/dev/null 2>&1; then
23604 ac_cv_cpp_def___x86_64__=yes
23605else
23606 ac_cv_cpp_def___x86_64__=no
23607fi
23608rm -f conftest*
23609
23610fi
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
23613if test $ac_cv_cpp_def___x86_64__ = yes; then
23614 CFLAGS="$CFLAGS -D__x86_64__"
23615 LINTFLAGS="$LINTFLAGS -D__x86_64__"
51d46ba9 23616fi
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 23620if test "${ac_cv_cpp_def___ALPHA__+set}" = set; then
abf5048b 23621 $as_echo_n "(cached) " >&6
69b67861
SE
23622else
23623 cat >conftest.$ac_ext <<_ACEOF
e24bcc77
AJ
23624/* confdefs.h. */
23625_ACEOF
23626cat confdefs.h >>conftest.$ac_ext
23627cat >>conftest.$ac_ext <<_ACEOF
23628/* end confdefs.h. */
69b67861
SE
23629#ifndef __ALPHA__
23630yes
23631#endif
23632_ACEOF
23633if (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 23636else
05783b55 23637 ac_cv_cpp_def___ALPHA__=no
69b67861
SE
23638fi
23639rm -f conftest*
23640
23641fi
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
23644if test $ac_cv_cpp_def___ALPHA__ = yes; then
23645 CFLAGS="$CFLAGS -D__ALPHA__"
23646 LINTFLAGS="$LINTFLAGS -D__ALPHA__"
69b67861 23647fi
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 23651if test "${ac_cv_cpp_def___sparc__+set}" = set; then
abf5048b 23652 $as_echo_n "(cached) " >&6
57807fa1
GM
23653else
23654 cat >conftest.$ac_ext <<_ACEOF
e24bcc77
AJ
23655/* confdefs.h. */
23656_ACEOF
23657cat confdefs.h >>conftest.$ac_ext
23658cat >>conftest.$ac_ext <<_ACEOF
23659/* end confdefs.h. */
57807fa1
GM
23660#ifndef __sparc__
23661yes
23662#endif
23663_ACEOF
23664if (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 23667else
05783b55 23668 ac_cv_cpp_def___sparc__=no
57807fa1
GM
23669fi
23670rm -f conftest*
23671
23672fi
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
23675if test $ac_cv_cpp_def___sparc__ = yes; then
23676 CFLAGS="$CFLAGS -D__sparc__"
23677 LINTFLAGS="$LINTFLAGS -D__sparc__"
b64b7deb
PH
23678fi
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 23682if test "${ac_cv_cpp_def___powerpc__+set}" = set; then
abf5048b 23683 $as_echo_n "(cached) " >&6
b64b7deb
PH
23684else
23685 cat >conftest.$ac_ext <<_ACEOF
b64b7deb
PH
23686/* confdefs.h. */
23687_ACEOF
23688cat confdefs.h >>conftest.$ac_ext
23689cat >>conftest.$ac_ext <<_ACEOF
23690/* end confdefs.h. */
23691#ifndef __powerpc__
23692yes
23693#endif
23694_ACEOF
23695if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
23696 $EGREP "yes" >/dev/null 2>&1; then
23697 ac_cv_cpp_def___powerpc__=yes
23698else
23699 ac_cv_cpp_def___powerpc__=no
23700fi
23701rm -f conftest*
23702
23703fi
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
23706if test $ac_cv_cpp_def___powerpc__ = yes; then
23707 CFLAGS="$CFLAGS -D__powerpc__"
23708 LINTFLAGS="$LINTFLAGS -D__powerpc__"
57807fa1 23709fi
05783b55
AJ
23710 ;;
23711esac
57807fa1
GM
23712
23713case $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 23716if test "${ac_cv_cpp_def___sun__+set}" = set; then
abf5048b 23717 $as_echo_n "(cached) " >&6
57807fa1
GM
23718else
23719 cat >conftest.$ac_ext <<_ACEOF
e24bcc77
AJ
23720/* confdefs.h. */
23721_ACEOF
23722cat confdefs.h >>conftest.$ac_ext
23723cat >>conftest.$ac_ext <<_ACEOF
23724/* end confdefs.h. */
57807fa1
GM
23725#ifndef __sun__
23726yes
23727#endif
23728_ACEOF
23729if (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 23732else
05783b55 23733 ac_cv_cpp_def___sun__=no
57807fa1
GM
23734fi
23735rm -f conftest*
23736
23737fi
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
23740if test $ac_cv_cpp_def___sun__ = yes; then
23741 CFLAGS="$CFLAGS -D__sun__"
23742 LINTFLAGS="$LINTFLAGS -D__sun__"
57807fa1 23743fi
05783b55
AJ
23744 ;;
23745esac
57807fa1
GM
23746
23747
32ab895e
AJ
23748DEPENDENCIES="### Dependencies:
23749
8598a4c6
AJ
23750.INIT: Makefile
23751.BEGIN: Makefile
23752Makefile: 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
23762ALL_MAKERULES=""
23763
23764ALL_MAKEFILES=""
23765
23766ALL_MAKEFILE_DEPENDS="# Makefile dependencies"
23767
23768
6de0af1e
AJ
23769ALL_TOP_DIRS=""
23770
49163da1
AJ
23771ALL_DLL_DIRS=""
23772
23773ALL_IMPLIB_DIRS=""
23774
23775ALL_TEST_DIRS=""
23776
4051eaf7
AJ
23777ALL_PROGRAM_DIRS=""
23778
23779ALL_PROGRAM_INSTALL_DIRS=""
23780
23781ALL_PROGRAM_BIN_INSTALL_DIRS=""
23782
49163da1 23783
daa2886c
AJ
23784
23785
23786
c4704c2d
AJ
23787ac_config_commands="$ac_config_commands include/stamp-h"
23788
23789
7dfc4477 23790ac_config_commands="$ac_config_commands dlls/gdi32/enhmfdrv"
89118568 23791
7dfc4477 23792ac_config_commands="$ac_config_commands dlls/gdi32/mfdrv"
89118568 23793
1c60e3bf 23794ac_config_commands="$ac_config_commands dlls/kernel32/nls"
f5818d2f 23795
b8a2e3b8 23796ac_config_commands="$ac_config_commands dlls/user32/resources"
f5818d2f 23797
fc6ffb29 23798ac_config_commands="$ac_config_commands dlls/wineps.drv/data"
f5818d2f 23799
fc6ffb29 23800ac_config_commands="$ac_config_commands include/wine"
f5818d2f 23801
f5818d2f 23802
a360e934
AJ
23803ALL_MAKERULES="$ALL_MAKERULES \\
23804 Make.rules"
23805ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
23806Make.rules: Make.rules.in"
f5818d2f 23807MAKE_RULES=Make.rules
a360e934 23808ac_config_files="$ac_config_files Make.rules"
f5818d2f 23809
a360e934
AJ
23810ALL_MAKERULES="$ALL_MAKERULES \\
23811 dlls/Makedll.rules"
23812ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
23813dlls/Makedll.rules: dlls/Makedll.rules.in Make.rules"
f5818d2f 23814MAKE_DLL_RULES=dlls/Makedll.rules
a360e934 23815ac_config_files="$ac_config_files dlls/Makedll.rules"
d0edc5fe 23816
a360e934
AJ
23817ALL_MAKERULES="$ALL_MAKERULES \\
23818 dlls/Makeimplib.rules"
23819ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
23820dlls/Makeimplib.rules: dlls/Makeimplib.rules.in Make.rules"
633b12d5 23821MAKE_IMPLIB_RULES=dlls/Makeimplib.rules
a360e934 23822ac_config_files="$ac_config_files dlls/Makeimplib.rules"
633b12d5 23823
a360e934
AJ
23824ALL_MAKERULES="$ALL_MAKERULES \\
23825 dlls/Maketest.rules"
23826ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
23827dlls/Maketest.rules: dlls/Maketest.rules.in Make.rules"
edeee89c 23828MAKE_TEST_RULES=dlls/Maketest.rules
a360e934 23829ac_config_files="$ac_config_files dlls/Maketest.rules"
edeee89c 23830
a360e934
AJ
23831ALL_MAKERULES="$ALL_MAKERULES \\
23832 programs/Makeprog.rules"
23833ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
23834programs/Makeprog.rules: programs/Makeprog.rules.in Make.rules"
626f425b 23835MAKE_PROG_RULES=programs/Makeprog.rules
a360e934 23836ac_config_files="$ac_config_files programs/Makeprog.rules"
626f425b 23837
daa2886c 23838
fbc80d79 23839
49163da1 23840
a360e934
AJ
23841ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
23842Makefile: Makefile.in Make.rules"
fbc80d79
MM
23843ac_config_files="$ac_config_files Makefile"
23844
a360e934
AJ
23845ALL_MAKEFILES="$ALL_MAKEFILES \\
23846 dlls/Makefile"
6de0af1e
AJ
23847test "x$enable_dlls" != xno && ALL_TOP_DIRS="$ALL_TOP_DIRS \\
23848 dlls"
a360e934
AJ
23849ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
23850dlls/Makefile: dlls/Makefile.in Make.rules"
fbc80d79
MM
23851ac_config_files="$ac_config_files dlls/Makefile"
23852
a360e934
AJ
23853ALL_MAKEFILES="$ALL_MAKEFILES \\
23854 dlls/acledit/Makefile"
485cc59c 23855test "x$enable_acledit" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\
49163da1 23856 acledit"
a360e934
AJ
23857ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
23858dlls/acledit/Makefile: dlls/acledit/Makefile.in dlls/Makedll.rules"
0da02fb2
EP
23859ac_config_files="$ac_config_files dlls/acledit/Makefile"
23860
a360e934
AJ
23861ALL_MAKEFILES="$ALL_MAKEFILES \\
23862 dlls/activeds/Makefile"
485cc59c 23863test "x$enable_activeds" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\
49163da1 23864 activeds"
a360e934
AJ
23865ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
23866dlls/activeds/Makefile: dlls/activeds/Makefile.in dlls/Makedll.rules"
fbc80d79
MM
23867ac_config_files="$ac_config_files dlls/activeds/Makefile"
23868
a360e934
AJ
23869ALL_MAKEFILES="$ALL_MAKEFILES \\
23870 dlls/actxprxy/Makefile"
485cc59c 23871test "x$enable_actxprxy" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\
49163da1 23872 actxprxy"
a360e934
AJ
23873ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
23874dlls/actxprxy/Makefile: dlls/actxprxy/Makefile.in dlls/Makedll.rules"
e8c7c068
RS
23875ac_config_files="$ac_config_files dlls/actxprxy/Makefile"
23876
a360e934
AJ
23877ALL_MAKEFILES="$ALL_MAKEFILES \\
23878 dlls/adsiid/Makefile"
485cc59c 23879test "x$enable_adsiid" != xno && ALL_IMPLIB_DIRS="$ALL_IMPLIB_DIRS \\
49163da1 23880 adsiid"
a360e934
AJ
23881ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
23882dlls/adsiid/Makefile: dlls/adsiid/Makefile.in dlls/Makeimplib.rules"
76e08969
RS
23883ac_config_files="$ac_config_files dlls/adsiid/Makefile"
23884
a360e934
AJ
23885ALL_MAKEFILES="$ALL_MAKEFILES \\
23886 dlls/advapi32/Makefile"
485cc59c 23887test "x$enable_advapi32" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\
49163da1 23888 advapi32"
a360e934
AJ
23889ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
23890dlls/advapi32/Makefile: dlls/advapi32/Makefile.in dlls/Makedll.rules"
fbc80d79
MM
23891ac_config_files="$ac_config_files dlls/advapi32/Makefile"
23892
a360e934
AJ
23893ALL_MAKEFILES="$ALL_MAKEFILES \\
23894 dlls/advapi32/tests/Makefile"
35078f4b 23895test "x$enable_tests" != xno && ALL_TEST_DIRS="$ALL_TEST_DIRS \\
49163da1 23896 advapi32/tests"
a360e934
AJ
23897ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
23898dlls/advapi32/tests/Makefile: dlls/advapi32/tests/Makefile.in dlls/Maketest.rules"
fbc80d79
MM
23899ac_config_files="$ac_config_files dlls/advapi32/tests/Makefile"
23900
a360e934
AJ
23901ALL_MAKEFILES="$ALL_MAKEFILES \\
23902 dlls/advpack/Makefile"
485cc59c 23903test "x$enable_advpack" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\
49163da1 23904 advpack"
a360e934
AJ
23905ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
23906dlls/advpack/Makefile: dlls/advpack/Makefile.in dlls/Makedll.rules"
fbc80d79
MM
23907ac_config_files="$ac_config_files dlls/advpack/Makefile"
23908
a360e934
AJ
23909ALL_MAKEFILES="$ALL_MAKEFILES \\
23910 dlls/advpack/tests/Makefile"
35078f4b 23911test "x$enable_tests" != xno && ALL_TEST_DIRS="$ALL_TEST_DIRS \\
49163da1 23912 advpack/tests"
a360e934
AJ
23913ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
23914dlls/advpack/tests/Makefile: dlls/advpack/tests/Makefile.in dlls/Maketest.rules"
fbc80d79
MM
23915ac_config_files="$ac_config_files dlls/advpack/tests/Makefile"
23916
a360e934
AJ
23917ALL_MAKEFILES="$ALL_MAKEFILES \\
23918 dlls/amstream/Makefile"
485cc59c 23919test "x$enable_amstream" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\
49163da1 23920 amstream"
a360e934
AJ
23921ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
23922dlls/amstream/Makefile: dlls/amstream/Makefile.in dlls/Makedll.rules"
fbc80d79
MM
23923ac_config_files="$ac_config_files dlls/amstream/Makefile"
23924
a360e934
AJ
23925ALL_MAKEFILES="$ALL_MAKEFILES \\
23926 dlls/appwiz.cpl/Makefile"
485cc59c 23927test "x$enable_appwiz_cpl" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\
49163da1 23928 appwiz.cpl"
a360e934
AJ
23929ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
23930dlls/appwiz.cpl/Makefile: dlls/appwiz.cpl/Makefile.in dlls/Makedll.rules"
f4e6489e
OR
23931ac_config_files="$ac_config_files dlls/appwiz.cpl/Makefile"
23932
a360e934
AJ
23933ALL_MAKEFILES="$ALL_MAKEFILES \\
23934 dlls/atl/Makefile"
485cc59c 23935test "x$enable_atl" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\
49163da1 23936 atl"
a360e934
AJ
23937ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
23938dlls/atl/Makefile: dlls/atl/Makefile.in dlls/Makedll.rules"
fbc80d79
MM
23939ac_config_files="$ac_config_files dlls/atl/Makefile"
23940
a360e934
AJ
23941ALL_MAKEFILES="$ALL_MAKEFILES \\
23942 dlls/avicap32/Makefile"
485cc59c 23943test "x$enable_avicap32" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\
49163da1 23944 avicap32"
a360e934
AJ
23945ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
23946dlls/avicap32/Makefile: dlls/avicap32/Makefile.in dlls/Makedll.rules"
fbc80d79
MM
23947ac_config_files="$ac_config_files dlls/avicap32/Makefile"
23948
a360e934
AJ
23949ALL_MAKEFILES="$ALL_MAKEFILES \\
23950 dlls/avifil32/Makefile"
485cc59c 23951test "x$enable_avifil32" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\
49163da1 23952 avifil32"
a360e934
AJ
23953ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
23954dlls/avifil32/Makefile: dlls/avifil32/Makefile.in dlls/Makedll.rules"
fbc80d79
MM
23955ac_config_files="$ac_config_files dlls/avifil32/Makefile"
23956
a360e934
AJ
23957ALL_MAKEFILES="$ALL_MAKEFILES \\
23958 dlls/browseui/Makefile"
485cc59c 23959test "x$enable_browseui" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\
49163da1 23960 browseui"
a360e934
AJ
23961ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
23962dlls/browseui/Makefile: dlls/browseui/Makefile.in dlls/Makedll.rules"
fbc80d79
MM
23963ac_config_files="$ac_config_files dlls/browseui/Makefile"
23964
a360e934
AJ
23965ALL_MAKEFILES="$ALL_MAKEFILES \\
23966 dlls/browseui/tests/Makefile"
35078f4b 23967test "x$enable_tests" != xno && ALL_TEST_DIRS="$ALL_TEST_DIRS \\
49163da1 23968 browseui/tests"
a360e934
AJ
23969ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
23970dlls/browseui/tests/Makefile: dlls/browseui/tests/Makefile.in dlls/Maketest.rules"
fbc80d79
MM
23971ac_config_files="$ac_config_files dlls/browseui/tests/Makefile"
23972
a360e934
AJ
23973ALL_MAKEFILES="$ALL_MAKEFILES \\
23974 dlls/cabinet/Makefile"
485cc59c 23975test "x$enable_cabinet" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\
49163da1 23976 cabinet"
a360e934
AJ
23977ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
23978dlls/cabinet/Makefile: dlls/cabinet/Makefile.in dlls/Makedll.rules"
fbc80d79
MM
23979ac_config_files="$ac_config_files dlls/cabinet/Makefile"
23980
a360e934
AJ
23981ALL_MAKEFILES="$ALL_MAKEFILES \\
23982 dlls/cabinet/tests/Makefile"
35078f4b 23983test "x$enable_tests" != xno && ALL_TEST_DIRS="$ALL_TEST_DIRS \\
49163da1 23984 cabinet/tests"
a360e934
AJ
23985ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
23986dlls/cabinet/tests/Makefile: dlls/cabinet/tests/Makefile.in dlls/Maketest.rules"
fbc80d79
MM
23987ac_config_files="$ac_config_files dlls/cabinet/tests/Makefile"
23988
a360e934
AJ
23989ALL_MAKEFILES="$ALL_MAKEFILES \\
23990 dlls/capi2032/Makefile"
485cc59c 23991test "x$enable_capi2032" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\
49163da1 23992 capi2032"
a360e934
AJ
23993ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
23994dlls/capi2032/Makefile: dlls/capi2032/Makefile.in dlls/Makedll.rules"
fbc80d79
MM
23995ac_config_files="$ac_config_files dlls/capi2032/Makefile"
23996
a360e934
AJ
23997ALL_MAKEFILES="$ALL_MAKEFILES \\
23998 dlls/cards/Makefile"
485cc59c 23999test "x$enable_cards" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\
49163da1 24000 cards"
a360e934
AJ
24001ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
24002dlls/cards/Makefile: dlls/cards/Makefile.in dlls/Makedll.rules"
fbc80d79
MM
24003ac_config_files="$ac_config_files dlls/cards/Makefile"
24004
a360e934
AJ
24005ALL_MAKEFILES="$ALL_MAKEFILES \\
24006 dlls/cfgmgr32/Makefile"
485cc59c 24007test "x$enable_cfgmgr32" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\
49163da1 24008 cfgmgr32"
a360e934
AJ
24009ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
24010dlls/cfgmgr32/Makefile: dlls/cfgmgr32/Makefile.in dlls/Makedll.rules"
fbc80d79
MM
24011ac_config_files="$ac_config_files dlls/cfgmgr32/Makefile"
24012
a360e934
AJ
24013ALL_MAKEFILES="$ALL_MAKEFILES \\
24014 dlls/clusapi/Makefile"
485cc59c 24015test "x$enable_clusapi" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\
49163da1 24016 clusapi"
a360e934
AJ
24017ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
24018dlls/clusapi/Makefile: dlls/clusapi/Makefile.in dlls/Makedll.rules"
fbc80d79
MM
24019ac_config_files="$ac_config_files dlls/clusapi/Makefile"
24020
a360e934
AJ
24021ALL_MAKEFILES="$ALL_MAKEFILES \\
24022 dlls/comcat/Makefile"
485cc59c 24023test "x$enable_comcat" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\
49163da1 24024 comcat"
a360e934
AJ
24025ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
24026dlls/comcat/Makefile: dlls/comcat/Makefile.in dlls/Makedll.rules"
fbc80d79
MM
24027ac_config_files="$ac_config_files dlls/comcat/Makefile"
24028
a360e934
AJ
24029ALL_MAKEFILES="$ALL_MAKEFILES \\
24030 dlls/comcat/tests/Makefile"
35078f4b 24031test "x$enable_tests" != xno && ALL_TEST_DIRS="$ALL_TEST_DIRS \\
49163da1 24032 comcat/tests"
a360e934
AJ
24033ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
24034dlls/comcat/tests/Makefile: dlls/comcat/tests/Makefile.in dlls/Maketest.rules"
fbc80d79
MM
24035ac_config_files="$ac_config_files dlls/comcat/tests/Makefile"
24036
a360e934
AJ
24037ALL_MAKEFILES="$ALL_MAKEFILES \\
24038 dlls/comctl32/Makefile"
485cc59c 24039test "x$enable_comctl32" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\
49163da1 24040 comctl32"
a360e934
AJ
24041ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
24042dlls/comctl32/Makefile: dlls/comctl32/Makefile.in dlls/Makedll.rules"
fbc80d79
MM
24043ac_config_files="$ac_config_files dlls/comctl32/Makefile"
24044
a360e934
AJ
24045ALL_MAKEFILES="$ALL_MAKEFILES \\
24046 dlls/comctl32/tests/Makefile"
35078f4b 24047test "x$enable_tests" != xno && ALL_TEST_DIRS="$ALL_TEST_DIRS \\
49163da1 24048 comctl32/tests"
a360e934
AJ
24049ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
24050dlls/comctl32/tests/Makefile: dlls/comctl32/tests/Makefile.in dlls/Maketest.rules"
fbc80d79
MM
24051ac_config_files="$ac_config_files dlls/comctl32/tests/Makefile"
24052
a360e934
AJ
24053ALL_MAKEFILES="$ALL_MAKEFILES \\
24054 dlls/comdlg32/Makefile"
485cc59c 24055test "x$enable_comdlg32" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\
49163da1 24056 comdlg32"
a360e934
AJ
24057ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
24058dlls/comdlg32/Makefile: dlls/comdlg32/Makefile.in dlls/Makedll.rules"
fbc80d79
MM
24059ac_config_files="$ac_config_files dlls/comdlg32/Makefile"
24060
a360e934
AJ
24061ALL_MAKEFILES="$ALL_MAKEFILES \\
24062 dlls/comdlg32/tests/Makefile"
35078f4b 24063test "x$enable_tests" != xno && ALL_TEST_DIRS="$ALL_TEST_DIRS \\
49163da1 24064 comdlg32/tests"
a360e934
AJ
24065ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
24066dlls/comdlg32/tests/Makefile: dlls/comdlg32/tests/Makefile.in dlls/Maketest.rules"
fbc80d79
MM
24067ac_config_files="$ac_config_files dlls/comdlg32/tests/Makefile"
24068
a360e934
AJ
24069ALL_MAKEFILES="$ALL_MAKEFILES \\
24070 dlls/compstui/Makefile"
485cc59c 24071test "x$enable_compstui" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\
49163da1 24072 compstui"
a360e934
AJ
24073ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
24074dlls/compstui/Makefile: dlls/compstui/Makefile.in dlls/Makedll.rules"
fbc80d79
MM
24075ac_config_files="$ac_config_files dlls/compstui/Makefile"
24076
a360e934
AJ
24077ALL_MAKEFILES="$ALL_MAKEFILES \\
24078 dlls/credui/Makefile"
485cc59c 24079test "x$enable_credui" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\
49163da1 24080 credui"
a360e934
AJ
24081ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
24082dlls/credui/Makefile: dlls/credui/Makefile.in dlls/Makedll.rules"
fbc80d79
MM
24083ac_config_files="$ac_config_files dlls/credui/Makefile"
24084
a360e934
AJ
24085ALL_MAKEFILES="$ALL_MAKEFILES \\
24086 dlls/credui/tests/Makefile"
35078f4b 24087test "x$enable_tests" != xno && ALL_TEST_DIRS="$ALL_TEST_DIRS \\
49163da1 24088 credui/tests"
a360e934
AJ
24089ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
24090dlls/credui/tests/Makefile: dlls/credui/tests/Makefile.in dlls/Maketest.rules"
e146591c
RS
24091ac_config_files="$ac_config_files dlls/credui/tests/Makefile"
24092
a360e934
AJ
24093ALL_MAKEFILES="$ALL_MAKEFILES \\
24094 dlls/crtdll/Makefile"
485cc59c 24095test "x$enable_crtdll" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\
49163da1 24096 crtdll"
a360e934
AJ
24097ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
24098dlls/crtdll/Makefile: dlls/crtdll/Makefile.in dlls/Makedll.rules"
fbc80d79
MM
24099ac_config_files="$ac_config_files dlls/crtdll/Makefile"
24100
a360e934
AJ
24101ALL_MAKEFILES="$ALL_MAKEFILES \\
24102 dlls/crypt32/Makefile"
485cc59c 24103test "x$enable_crypt32" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\
49163da1 24104 crypt32"
a360e934
AJ
24105ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
24106dlls/crypt32/Makefile: dlls/crypt32/Makefile.in dlls/Makedll.rules"
fbc80d79
MM
24107ac_config_files="$ac_config_files dlls/crypt32/Makefile"
24108
a360e934
AJ
24109ALL_MAKEFILES="$ALL_MAKEFILES \\
24110 dlls/crypt32/tests/Makefile"
35078f4b 24111test "x$enable_tests" != xno && ALL_TEST_DIRS="$ALL_TEST_DIRS \\
49163da1 24112 crypt32/tests"
a360e934
AJ
24113ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
24114dlls/crypt32/tests/Makefile: dlls/crypt32/tests/Makefile.in dlls/Maketest.rules"
fbc80d79
MM
24115ac_config_files="$ac_config_files dlls/crypt32/tests/Makefile"
24116
a360e934
AJ
24117ALL_MAKEFILES="$ALL_MAKEFILES \\
24118 dlls/cryptdlg/Makefile"
485cc59c 24119test "x$enable_cryptdlg" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\
49163da1 24120 cryptdlg"
a360e934
AJ
24121ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
24122dlls/cryptdlg/Makefile: dlls/cryptdlg/Makefile.in dlls/Makedll.rules"
f9308217
ML
24123ac_config_files="$ac_config_files dlls/cryptdlg/Makefile"
24124
a360e934
AJ
24125ALL_MAKEFILES="$ALL_MAKEFILES \\
24126 dlls/cryptdll/Makefile"
485cc59c 24127test "x$enable_cryptdll" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\
49163da1 24128 cryptdll"
a360e934
AJ
24129ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
24130dlls/cryptdll/Makefile: dlls/cryptdll/Makefile.in dlls/Makedll.rules"
fbc80d79
MM
24131ac_config_files="$ac_config_files dlls/cryptdll/Makefile"
24132
a360e934
AJ
24133ALL_MAKEFILES="$ALL_MAKEFILES \\
24134 dlls/cryptnet/Makefile"
485cc59c 24135test "x$enable_cryptnet" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\
49163da1 24136 cryptnet"
a360e934
AJ
24137ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
24138dlls/cryptnet/Makefile: dlls/cryptnet/Makefile.in dlls/Makedll.rules"
fbc80d79
MM
24139ac_config_files="$ac_config_files dlls/cryptnet/Makefile"
24140
a360e934
AJ
24141ALL_MAKEFILES="$ALL_MAKEFILES \\
24142 dlls/cryptnet/tests/Makefile"
35078f4b 24143test "x$enable_tests" != xno && ALL_TEST_DIRS="$ALL_TEST_DIRS \\
49163da1 24144 cryptnet/tests"
a360e934
AJ
24145ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
24146dlls/cryptnet/tests/Makefile: dlls/cryptnet/tests/Makefile.in dlls/Maketest.rules"
322bcddf
JL
24147ac_config_files="$ac_config_files dlls/cryptnet/tests/Makefile"
24148
a360e934
AJ
24149ALL_MAKEFILES="$ALL_MAKEFILES \\
24150 dlls/cryptui/Makefile"
485cc59c 24151test "x$enable_cryptui" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\
49163da1 24152 cryptui"
a360e934
AJ
24153ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
24154dlls/cryptui/Makefile: dlls/cryptui/Makefile.in dlls/Makedll.rules"
2016c63e
JL
24155ac_config_files="$ac_config_files dlls/cryptui/Makefile"
24156
7e0e1a1f
JL
24157ALL_MAKEFILES="$ALL_MAKEFILES \\
24158 dlls/cryptui/tests/Makefile"
35078f4b 24159test "x$enable_tests" != xno && ALL_TEST_DIRS="$ALL_TEST_DIRS \\
7e0e1a1f
JL
24160 cryptui/tests"
24161ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
24162dlls/cryptui/tests/Makefile: dlls/cryptui/tests/Makefile.in dlls/Maketest.rules"
24163ac_config_files="$ac_config_files dlls/cryptui/tests/Makefile"
24164
a360e934
AJ
24165ALL_MAKEFILES="$ALL_MAKEFILES \\
24166 dlls/ctapi32/Makefile"
485cc59c 24167test "x$enable_ctapi32" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\
49163da1 24168 ctapi32"
a360e934
AJ
24169ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
24170dlls/ctapi32/Makefile: dlls/ctapi32/Makefile.in dlls/Makedll.rules"
f89c6de7
CE
24171ac_config_files="$ac_config_files dlls/ctapi32/Makefile"
24172
a360e934
AJ
24173ALL_MAKEFILES="$ALL_MAKEFILES \\
24174 dlls/ctl3d32/Makefile"
485cc59c 24175test "x$enable_ctl3d32" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\
49163da1 24176 ctl3d32"
a360e934
AJ
24177ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
24178dlls/ctl3d32/Makefile: dlls/ctl3d32/Makefile.in dlls/Makedll.rules"
fbc80d79
MM
24179ac_config_files="$ac_config_files dlls/ctl3d32/Makefile"
24180
a360e934
AJ
24181ALL_MAKEFILES="$ALL_MAKEFILES \\
24182 dlls/d3d10/Makefile"
485cc59c 24183test "x$enable_d3d10" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\
49163da1 24184 d3d10"
a360e934
AJ
24185ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
24186dlls/d3d10/Makefile: dlls/d3d10/Makefile.in dlls/Makedll.rules"
0db109ff
KA
24187ac_config_files="$ac_config_files dlls/d3d10/Makefile"
24188
65e614a9
HV
24189ALL_MAKEFILES="$ALL_MAKEFILES \\
24190 dlls/d3d10/tests/Makefile"
35078f4b 24191test "x$enable_tests" != xno && ALL_TEST_DIRS="$ALL_TEST_DIRS \\
65e614a9
HV
24192 d3d10/tests"
24193ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
24194dlls/d3d10/tests/Makefile: dlls/d3d10/tests/Makefile.in dlls/Maketest.rules"
24195ac_config_files="$ac_config_files dlls/d3d10/tests/Makefile"
24196
078fc191
HV
24197ALL_MAKEFILES="$ALL_MAKEFILES \\
24198 dlls/d3d10core/Makefile"
24199test "x$enable_d3d10core" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\
24200 d3d10core"
24201ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
24202dlls/d3d10core/Makefile: dlls/d3d10core/Makefile.in dlls/Makedll.rules"
24203ac_config_files="$ac_config_files dlls/d3d10core/Makefile"
24204
1dad7595
HV
24205ALL_MAKEFILES="$ALL_MAKEFILES \\
24206 dlls/d3d10core/tests/Makefile"
35078f4b 24207test "x$enable_tests" != xno && ALL_TEST_DIRS="$ALL_TEST_DIRS \\
1dad7595
HV
24208 d3d10core/tests"
24209ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
24210dlls/d3d10core/tests/Makefile: dlls/d3d10core/tests/Makefile.in dlls/Maketest.rules"
24211ac_config_files="$ac_config_files dlls/d3d10core/tests/Makefile"
24212
a360e934
AJ
24213ALL_MAKEFILES="$ALL_MAKEFILES \\
24214 dlls/d3d8/Makefile"
485cc59c 24215test "x$enable_d3d8" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\
49163da1 24216 d3d8"
a360e934
AJ
24217ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
24218dlls/d3d8/Makefile: dlls/d3d8/Makefile.in dlls/Makedll.rules"
fbc80d79
MM
24219ac_config_files="$ac_config_files dlls/d3d8/Makefile"
24220
a360e934
AJ
24221ALL_MAKEFILES="$ALL_MAKEFILES \\
24222 dlls/d3d8/tests/Makefile"
35078f4b 24223test "x$enable_tests" != xno && ALL_TEST_DIRS="$ALL_TEST_DIRS \\
49163da1 24224 d3d8/tests"
a360e934
AJ
24225ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
24226dlls/d3d8/tests/Makefile: dlls/d3d8/tests/Makefile.in dlls/Maketest.rules"
fbc80d79
MM
24227ac_config_files="$ac_config_files dlls/d3d8/tests/Makefile"
24228
a360e934
AJ
24229ALL_MAKEFILES="$ALL_MAKEFILES \\
24230 dlls/d3d9/Makefile"
485cc59c 24231test "x$enable_d3d9" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\
49163da1 24232 d3d9"
a360e934
AJ
24233ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
24234dlls/d3d9/Makefile: dlls/d3d9/Makefile.in dlls/Makedll.rules"
fbc80d79
MM
24235ac_config_files="$ac_config_files dlls/d3d9/Makefile"
24236
a360e934
AJ
24237ALL_MAKEFILES="$ALL_MAKEFILES \\
24238 dlls/d3d9/tests/Makefile"
35078f4b 24239test "x$enable_tests" != xno && ALL_TEST_DIRS="$ALL_TEST_DIRS \\
49163da1 24240 d3d9/tests"
a360e934
AJ
24241ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
24242dlls/d3d9/tests/Makefile: dlls/d3d9/tests/Makefile.in dlls/Maketest.rules"
fbc80d79
MM
24243ac_config_files="$ac_config_files dlls/d3d9/tests/Makefile"
24244
a360e934
AJ
24245ALL_MAKEFILES="$ALL_MAKEFILES \\
24246 dlls/d3dim/Makefile"
485cc59c 24247test "x$enable_d3dim" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\
49163da1 24248 d3dim"
a360e934
AJ
24249ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
24250dlls/d3dim/Makefile: dlls/d3dim/Makefile.in dlls/Makedll.rules"
fbc80d79
MM
24251ac_config_files="$ac_config_files dlls/d3dim/Makefile"
24252
a360e934
AJ
24253ALL_MAKEFILES="$ALL_MAKEFILES \\
24254 dlls/d3drm/Makefile"
485cc59c 24255test "x$enable_d3drm" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\
49163da1 24256 d3drm"
a360e934
AJ
24257ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
24258dlls/d3drm/Makefile: dlls/d3drm/Makefile.in dlls/Makedll.rules"
fbc80d79
MM
24259ac_config_files="$ac_config_files dlls/d3drm/Makefile"
24260
a360e934
AJ
24261ALL_MAKEFILES="$ALL_MAKEFILES \\
24262 dlls/d3drm/tests/Makefile"
35078f4b 24263test "x$enable_tests" != xno && ALL_TEST_DIRS="$ALL_TEST_DIRS \\
49163da1 24264 d3drm/tests"
a360e934
AJ
24265ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
24266dlls/d3drm/tests/Makefile: dlls/d3drm/tests/Makefile.in dlls/Maketest.rules"
f50800b2
DA
24267ac_config_files="$ac_config_files dlls/d3drm/tests/Makefile"
24268
a360e934
AJ
24269ALL_MAKEFILES="$ALL_MAKEFILES \\
24270 dlls/d3dx8/Makefile"
485cc59c 24271test "x$enable_d3dx8" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\
49163da1 24272 d3dx8"
a360e934
AJ
24273ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
24274dlls/d3dx8/Makefile: dlls/d3dx8/Makefile.in dlls/Makedll.rules"
fbc80d79
MM
24275ac_config_files="$ac_config_files dlls/d3dx8/Makefile"
24276
a360e934
AJ
24277ALL_MAKEFILES="$ALL_MAKEFILES \\
24278 dlls/d3dx8/tests/Makefile"
35078f4b 24279test "x$enable_tests" != xno && ALL_TEST_DIRS="$ALL_TEST_DIRS \\
49163da1 24280 d3dx8/tests"
a360e934
AJ
24281ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
24282dlls/d3dx8/tests/Makefile: dlls/d3dx8/tests/Makefile.in dlls/Maketest.rules"
e4ba8eb4
DA
24283ac_config_files="$ac_config_files dlls/d3dx8/tests/Makefile"
24284
a360e934
AJ
24285ALL_MAKEFILES="$ALL_MAKEFILES \\
24286 dlls/d3dx9_24/Makefile"
485cc59c 24287test "x$enable_d3dx9_24" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\
49163da1 24288 d3dx9_24"
a360e934
AJ
24289ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
24290dlls/d3dx9_24/Makefile: dlls/d3dx9_24/Makefile.in dlls/Makedll.rules"
6f834d35
TW
24291ac_config_files="$ac_config_files dlls/d3dx9_24/Makefile"
24292
a360e934
AJ
24293ALL_MAKEFILES="$ALL_MAKEFILES \\
24294 dlls/d3dx9_25/Makefile"
485cc59c 24295test "x$enable_d3dx9_25" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\
49163da1 24296 d3dx9_25"
a360e934
AJ
24297ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
24298dlls/d3dx9_25/Makefile: dlls/d3dx9_25/Makefile.in dlls/Makedll.rules"
e9c16391
TW
24299ac_config_files="$ac_config_files dlls/d3dx9_25/Makefile"
24300
a360e934
AJ
24301ALL_MAKEFILES="$ALL_MAKEFILES \\
24302 dlls/d3dx9_26/Makefile"
485cc59c 24303test "x$enable_d3dx9_26" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\
49163da1 24304 d3dx9_26"
a360e934
AJ
24305ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
24306dlls/d3dx9_26/Makefile: dlls/d3dx9_26/Makefile.in dlls/Makedll.rules"
409b19b9
TW
24307ac_config_files="$ac_config_files dlls/d3dx9_26/Makefile"
24308
a360e934
AJ
24309ALL_MAKEFILES="$ALL_MAKEFILES \\
24310 dlls/d3dx9_27/Makefile"
485cc59c 24311test "x$enable_d3dx9_27" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\
49163da1 24312 d3dx9_27"
a360e934
AJ
24313ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
24314dlls/d3dx9_27/Makefile: dlls/d3dx9_27/Makefile.in dlls/Makedll.rules"
409b19b9
TW
24315ac_config_files="$ac_config_files dlls/d3dx9_27/Makefile"
24316
a360e934
AJ
24317ALL_MAKEFILES="$ALL_MAKEFILES \\
24318 dlls/d3dx9_28/Makefile"
485cc59c 24319test "x$enable_d3dx9_28" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\
49163da1 24320 d3dx9_28"
a360e934
AJ
24321ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
24322dlls/d3dx9_28/Makefile: dlls/d3dx9_28/Makefile.in dlls/Makedll.rules"
2aa1505a
TW
24323ac_config_files="$ac_config_files dlls/d3dx9_28/Makefile"
24324
a360e934
AJ
24325ALL_MAKEFILES="$ALL_MAKEFILES \\
24326 dlls/d3dx9_29/Makefile"
485cc59c 24327test "x$enable_d3dx9_29" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\
49163da1 24328 d3dx9_29"
a360e934
AJ
24329ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
24330dlls/d3dx9_29/Makefile: dlls/d3dx9_29/Makefile.in dlls/Makedll.rules"
2aa1505a
TW
24331ac_config_files="$ac_config_files dlls/d3dx9_29/Makefile"
24332
a360e934
AJ
24333ALL_MAKEFILES="$ALL_MAKEFILES \\
24334 dlls/d3dx9_30/Makefile"
485cc59c 24335test "x$enable_d3dx9_30" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\
49163da1 24336 d3dx9_30"
a360e934
AJ
24337ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
24338dlls/d3dx9_30/Makefile: dlls/d3dx9_30/Makefile.in dlls/Makedll.rules"
2aa1505a
TW
24339ac_config_files="$ac_config_files dlls/d3dx9_30/Makefile"
24340
a360e934
AJ
24341ALL_MAKEFILES="$ALL_MAKEFILES \\
24342 dlls/d3dx9_31/Makefile"
485cc59c 24343test "x$enable_d3dx9_31" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\
49163da1 24344 d3dx9_31"
a360e934
AJ
24345ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
24346dlls/d3dx9_31/Makefile: dlls/d3dx9_31/Makefile.in dlls/Makedll.rules"
e4866622
TW
24347ac_config_files="$ac_config_files dlls/d3dx9_31/Makefile"
24348
a360e934
AJ
24349ALL_MAKEFILES="$ALL_MAKEFILES \\
24350 dlls/d3dx9_32/Makefile"
485cc59c 24351test "x$enable_d3dx9_32" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\
49163da1 24352 d3dx9_32"
a360e934
AJ
24353ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
24354dlls/d3dx9_32/Makefile: dlls/d3dx9_32/Makefile.in dlls/Makedll.rules"
df0a694f
TW
24355ac_config_files="$ac_config_files dlls/d3dx9_32/Makefile"
24356
a360e934
AJ
24357ALL_MAKEFILES="$ALL_MAKEFILES \\
24358 dlls/d3dx9_33/Makefile"
485cc59c 24359test "x$enable_d3dx9_33" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\
49163da1 24360 d3dx9_33"
a360e934
AJ
24361ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
24362dlls/d3dx9_33/Makefile: dlls/d3dx9_33/Makefile.in dlls/Makedll.rules"
df0a694f
TW
24363ac_config_files="$ac_config_files dlls/d3dx9_33/Makefile"
24364
a360e934
AJ
24365ALL_MAKEFILES="$ALL_MAKEFILES \\
24366 dlls/d3dx9_34/Makefile"
485cc59c 24367test "x$enable_d3dx9_34" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\
49163da1 24368 d3dx9_34"
a360e934
AJ
24369ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
24370dlls/d3dx9_34/Makefile: dlls/d3dx9_34/Makefile.in dlls/Makedll.rules"
df0a694f
TW
24371ac_config_files="$ac_config_files dlls/d3dx9_34/Makefile"
24372
a360e934
AJ
24373ALL_MAKEFILES="$ALL_MAKEFILES \\
24374 dlls/d3dx9_35/Makefile"
485cc59c 24375test "x$enable_d3dx9_35" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\
49163da1 24376 d3dx9_35"
a360e934
AJ
24377ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
24378dlls/d3dx9_35/Makefile: dlls/d3dx9_35/Makefile.in dlls/Makedll.rules"
df0a694f
TW
24379ac_config_files="$ac_config_files dlls/d3dx9_35/Makefile"
24380
a360e934
AJ
24381ALL_MAKEFILES="$ALL_MAKEFILES \\
24382 dlls/d3dx9_36/Makefile"
485cc59c 24383test "x$enable_d3dx9_36" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\
49163da1 24384 d3dx9_36"
a360e934
AJ
24385ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
24386dlls/d3dx9_36/Makefile: dlls/d3dx9_36/Makefile.in dlls/Makedll.rules"
87fefc7e
TW
24387ac_config_files="$ac_config_files dlls/d3dx9_36/Makefile"
24388
a360e934
AJ
24389ALL_MAKEFILES="$ALL_MAKEFILES \\
24390 dlls/d3dx9_36/tests/Makefile"
35078f4b 24391test "x$enable_tests" != xno && ALL_TEST_DIRS="$ALL_TEST_DIRS \\
49163da1 24392 d3dx9_36/tests"
a360e934
AJ
24393ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
24394dlls/d3dx9_36/tests/Makefile: dlls/d3dx9_36/tests/Makefile.in dlls/Maketest.rules"
b67290b9
PN
24395ac_config_files="$ac_config_files dlls/d3dx9_36/tests/Makefile"
24396
a360e934
AJ
24397ALL_MAKEFILES="$ALL_MAKEFILES \\
24398 dlls/d3dx9_37/Makefile"
485cc59c 24399test "x$enable_d3dx9_37" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\
49163da1 24400 d3dx9_37"
a360e934
AJ
24401ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
24402dlls/d3dx9_37/Makefile: dlls/d3dx9_37/Makefile.in dlls/Makedll.rules"
be0799fc
TW
24403ac_config_files="$ac_config_files dlls/d3dx9_37/Makefile"
24404
a360e934
AJ
24405ALL_MAKEFILES="$ALL_MAKEFILES \\
24406 dlls/d3dxof/Makefile"
485cc59c 24407test "x$enable_d3dxof" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\
49163da1 24408 d3dxof"
a360e934
AJ
24409ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
24410dlls/d3dxof/Makefile: dlls/d3dxof/Makefile.in dlls/Makedll.rules"
fbc80d79
MM
24411ac_config_files="$ac_config_files dlls/d3dxof/Makefile"
24412
a360e934
AJ
24413ALL_MAKEFILES="$ALL_MAKEFILES \\
24414 dlls/d3dxof/tests/Makefile"
35078f4b 24415test "x$enable_tests" != xno && ALL_TEST_DIRS="$ALL_TEST_DIRS \\
49163da1 24416 d3dxof/tests"
a360e934
AJ
24417ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
24418dlls/d3dxof/tests/Makefile: dlls/d3dxof/tests/Makefile.in dlls/Maketest.rules"
04d72cdd
CC
24419ac_config_files="$ac_config_files dlls/d3dxof/tests/Makefile"
24420
a360e934
AJ
24421ALL_MAKEFILES="$ALL_MAKEFILES \\
24422 dlls/dbghelp/Makefile"
485cc59c 24423test "x$enable_dbghelp" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\
49163da1 24424 dbghelp"
a360e934
AJ
24425ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
24426dlls/dbghelp/Makefile: dlls/dbghelp/Makefile.in dlls/Makedll.rules"
fbc80d79
MM
24427ac_config_files="$ac_config_files dlls/dbghelp/Makefile"
24428
a360e934
AJ
24429ALL_MAKEFILES="$ALL_MAKEFILES \\
24430 dlls/dciman32/Makefile"
485cc59c 24431test "x$enable_dciman32" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\
49163da1 24432 dciman32"
a360e934
AJ
24433ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
24434dlls/dciman32/Makefile: dlls/dciman32/Makefile.in dlls/Makedll.rules"
fbc80d79
MM
24435ac_config_files="$ac_config_files dlls/dciman32/Makefile"
24436
a360e934
AJ
24437ALL_MAKEFILES="$ALL_MAKEFILES \\
24438 dlls/ddraw/Makefile"
485cc59c 24439test "x$enable_ddraw" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\
49163da1 24440 ddraw"
a360e934
AJ
24441ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
24442dlls/ddraw/Makefile: dlls/ddraw/Makefile.in dlls/Makedll.rules"
fbc80d79
MM
24443ac_config_files="$ac_config_files dlls/ddraw/Makefile"
24444
a360e934
AJ
24445ALL_MAKEFILES="$ALL_MAKEFILES \\
24446 dlls/ddraw/tests/Makefile"
35078f4b 24447test "x$enable_tests" != xno && ALL_TEST_DIRS="$ALL_TEST_DIRS \\
49163da1 24448 ddraw/tests"
a360e934
AJ
24449ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
24450dlls/ddraw/tests/Makefile: dlls/ddraw/tests/Makefile.in dlls/Maketest.rules"
fbc80d79
MM
24451ac_config_files="$ac_config_files dlls/ddraw/tests/Makefile"
24452
a360e934
AJ
24453ALL_MAKEFILES="$ALL_MAKEFILES \\
24454 dlls/ddrawex/Makefile"
485cc59c 24455test "x$enable_ddrawex" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\
49163da1 24456 ddrawex"
a360e934
AJ
24457ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
24458dlls/ddrawex/Makefile: dlls/ddrawex/Makefile.in dlls/Makedll.rules"
fbc80d79
MM
24459ac_config_files="$ac_config_files dlls/ddrawex/Makefile"
24460
a360e934
AJ
24461ALL_MAKEFILES="$ALL_MAKEFILES \\
24462 dlls/devenum/Makefile"
485cc59c 24463test "x$enable_devenum" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\
49163da1 24464 devenum"
a360e934
AJ
24465ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
24466dlls/devenum/Makefile: dlls/devenum/Makefile.in dlls/Makedll.rules"
fbc80d79
MM
24467ac_config_files="$ac_config_files dlls/devenum/Makefile"
24468
a360e934
AJ
24469ALL_MAKEFILES="$ALL_MAKEFILES \\
24470 dlls/dinput/Makefile"
485cc59c 24471test "x$enable_dinput" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\
49163da1 24472 dinput"
a360e934
AJ
24473ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
24474dlls/dinput/Makefile: dlls/dinput/Makefile.in dlls/Makedll.rules"
fbc80d79
MM
24475ac_config_files="$ac_config_files dlls/dinput/Makefile"
24476
a360e934
AJ
24477ALL_MAKEFILES="$ALL_MAKEFILES \\
24478 dlls/dinput/tests/Makefile"
35078f4b 24479test "x$enable_tests" != xno && ALL_TEST_DIRS="$ALL_TEST_DIRS \\
49163da1 24480 dinput/tests"
a360e934
AJ
24481ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
24482dlls/dinput/tests/Makefile: dlls/dinput/tests/Makefile.in dlls/Maketest.rules"
fbc80d79
MM
24483ac_config_files="$ac_config_files dlls/dinput/tests/Makefile"
24484
a360e934
AJ
24485ALL_MAKEFILES="$ALL_MAKEFILES \\
24486 dlls/dinput8/Makefile"
485cc59c 24487test "x$enable_dinput8" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\
49163da1 24488 dinput8"
a360e934
AJ
24489ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
24490dlls/dinput8/Makefile: dlls/dinput8/Makefile.in dlls/Makedll.rules"
fbc80d79
MM
24491ac_config_files="$ac_config_files dlls/dinput8/Makefile"
24492
a360e934
AJ
24493ALL_MAKEFILES="$ALL_MAKEFILES \\
24494 dlls/dmband/Makefile"
485cc59c 24495test "x$enable_dmband" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\
49163da1 24496 dmband"
a360e934
AJ
24497ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
24498dlls/dmband/Makefile: dlls/dmband/Makefile.in dlls/Makedll.rules"
fbc80d79
MM
24499ac_config_files="$ac_config_files dlls/dmband/Makefile"
24500
a360e934
AJ
24501ALL_MAKEFILES="$ALL_MAKEFILES \\
24502 dlls/dmcompos/Makefile"
485cc59c 24503test "x$enable_dmcompos" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\
49163da1 24504 dmcompos"
a360e934
AJ
24505ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
24506dlls/dmcompos/Makefile: dlls/dmcompos/Makefile.in dlls/Makedll.rules"
fbc80d79
MM
24507ac_config_files="$ac_config_files dlls/dmcompos/Makefile"
24508
a360e934
AJ
24509ALL_MAKEFILES="$ALL_MAKEFILES \\
24510 dlls/dmime/Makefile"
485cc59c 24511test "x$enable_dmime" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\
49163da1 24512 dmime"
a360e934
AJ
24513ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
24514dlls/dmime/Makefile: dlls/dmime/Makefile.in dlls/Makedll.rules"
fbc80d79
MM
24515ac_config_files="$ac_config_files dlls/dmime/Makefile"
24516
a360e934
AJ
24517ALL_MAKEFILES="$ALL_MAKEFILES \\
24518 dlls/dmloader/Makefile"
485cc59c 24519test "x$enable_dmloader" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\
49163da1 24520 dmloader"
a360e934
AJ
24521ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
24522dlls/dmloader/Makefile: dlls/dmloader/Makefile.in dlls/Makedll.rules"
fbc80d79
MM
24523ac_config_files="$ac_config_files dlls/dmloader/Makefile"
24524
a360e934
AJ
24525ALL_MAKEFILES="$ALL_MAKEFILES \\
24526 dlls/dmscript/Makefile"
485cc59c 24527test "x$enable_dmscript" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\
49163da1 24528 dmscript"
a360e934
AJ
24529ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
24530dlls/dmscript/Makefile: dlls/dmscript/Makefile.in dlls/Makedll.rules"
fbc80d79
MM
24531ac_config_files="$ac_config_files dlls/dmscript/Makefile"
24532
a360e934
AJ
24533ALL_MAKEFILES="$ALL_MAKEFILES \\
24534 dlls/dmstyle/Makefile"
485cc59c 24535test "x$enable_dmstyle" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\
49163da1 24536 dmstyle"
a360e934
AJ
24537ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
24538dlls/dmstyle/Makefile: dlls/dmstyle/Makefile.in dlls/Makedll.rules"
fbc80d79
MM
24539ac_config_files="$ac_config_files dlls/dmstyle/Makefile"
24540
a360e934
AJ
24541ALL_MAKEFILES="$ALL_MAKEFILES \\
24542 dlls/dmsynth/Makefile"
485cc59c 24543test "x$enable_dmsynth" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\
49163da1 24544 dmsynth"
a360e934
AJ
24545ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
24546dlls/dmsynth/Makefile: dlls/dmsynth/Makefile.in dlls/Makedll.rules"
fbc80d79
MM
24547ac_config_files="$ac_config_files dlls/dmsynth/Makefile"
24548
a360e934
AJ
24549ALL_MAKEFILES="$ALL_MAKEFILES \\
24550 dlls/dmusic/Makefile"
485cc59c 24551test "x$enable_dmusic" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\
49163da1 24552 dmusic"
a360e934
AJ
24553ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
24554dlls/dmusic/Makefile: dlls/dmusic/Makefile.in dlls/Makedll.rules"
fbc80d79
MM
24555ac_config_files="$ac_config_files dlls/dmusic/Makefile"
24556
a360e934
AJ
24557ALL_MAKEFILES="$ALL_MAKEFILES \\
24558 dlls/dmusic32/Makefile"
485cc59c 24559test "x$enable_dmusic32" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\
49163da1 24560 dmusic32"
a360e934
AJ
24561ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
24562dlls/dmusic32/Makefile: dlls/dmusic32/Makefile.in dlls/Makedll.rules"
fbc80d79
MM
24563ac_config_files="$ac_config_files dlls/dmusic32/Makefile"
24564
a360e934
AJ
24565ALL_MAKEFILES="$ALL_MAKEFILES \\
24566 dlls/dnsapi/Makefile"
485cc59c 24567test "x$enable_dnsapi" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\
49163da1 24568 dnsapi"
a360e934
AJ
24569ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
24570dlls/dnsapi/Makefile: dlls/dnsapi/Makefile.in dlls/Makedll.rules"
fbc80d79
MM
24571ac_config_files="$ac_config_files dlls/dnsapi/Makefile"
24572
a360e934
AJ
24573ALL_MAKEFILES="$ALL_MAKEFILES \\
24574 dlls/dnsapi/tests/Makefile"
35078f4b 24575test "x$enable_tests" != xno && ALL_TEST_DIRS="$ALL_TEST_DIRS \\
49163da1 24576 dnsapi/tests"
a360e934
AJ
24577ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
24578dlls/dnsapi/tests/Makefile: dlls/dnsapi/tests/Makefile.in dlls/Maketest.rules"
fbc80d79
MM
24579ac_config_files="$ac_config_files dlls/dnsapi/tests/Makefile"
24580
a360e934
AJ
24581ALL_MAKEFILES="$ALL_MAKEFILES \\
24582 dlls/dplay/Makefile"
485cc59c 24583test "x$enable_dplay" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\
49163da1 24584 dplay"
a360e934
AJ
24585ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
24586dlls/dplay/Makefile: dlls/dplay/Makefile.in dlls/Makedll.rules"
fbc80d79
MM
24587ac_config_files="$ac_config_files dlls/dplay/Makefile"
24588
a360e934
AJ
24589ALL_MAKEFILES="$ALL_MAKEFILES \\
24590 dlls/dplayx/Makefile"
485cc59c 24591test "x$enable_dplayx" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\
49163da1 24592 dplayx"
a360e934
AJ
24593ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
24594dlls/dplayx/Makefile: dlls/dplayx/Makefile.in dlls/Makedll.rules"
fbc80d79
MM
24595ac_config_files="$ac_config_files dlls/dplayx/Makefile"
24596
a360e934
AJ
24597ALL_MAKEFILES="$ALL_MAKEFILES \\
24598 dlls/dplayx/tests/Makefile"
35078f4b 24599test "x$enable_tests" != xno && ALL_TEST_DIRS="$ALL_TEST_DIRS \\
49163da1 24600 dplayx/tests"
a360e934
AJ
24601ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
24602dlls/dplayx/tests/Makefile: dlls/dplayx/tests/Makefile.in dlls/Maketest.rules"
d1331e62
AP
24603ac_config_files="$ac_config_files dlls/dplayx/tests/Makefile"
24604
a360e934
AJ
24605ALL_MAKEFILES="$ALL_MAKEFILES \\
24606 dlls/dpnaddr/Makefile"
485cc59c 24607test "x$enable_dpnaddr" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\
49163da1 24608 dpnaddr"
a360e934
AJ
24609ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
24610dlls/dpnaddr/Makefile: dlls/dpnaddr/Makefile.in dlls/Makedll.rules"
8caf0787
LCBP
24611ac_config_files="$ac_config_files dlls/dpnaddr/Makefile"
24612
a360e934
AJ
24613ALL_MAKEFILES="$ALL_MAKEFILES \\
24614 dlls/dpnet/Makefile"
485cc59c 24615test "x$enable_dpnet" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\
49163da1 24616 dpnet"
a360e934
AJ
24617ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
24618dlls/dpnet/Makefile: dlls/dpnet/Makefile.in dlls/Makedll.rules"
fbc80d79
MM
24619ac_config_files="$ac_config_files dlls/dpnet/Makefile"
24620
a360e934
AJ
24621ALL_MAKEFILES="$ALL_MAKEFILES \\
24622 dlls/dpnhpast/Makefile"
485cc59c 24623test "x$enable_dpnhpast" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\
49163da1 24624 dpnhpast"
a360e934
AJ
24625ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
24626dlls/dpnhpast/Makefile: dlls/dpnhpast/Makefile.in dlls/Makedll.rules"
fbc80d79
MM
24627ac_config_files="$ac_config_files dlls/dpnhpast/Makefile"
24628
a360e934
AJ
24629ALL_MAKEFILES="$ALL_MAKEFILES \\
24630 dlls/dpnlobby/Makefile"
485cc59c 24631test "x$enable_dpnlobby" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\
49163da1 24632 dpnlobby"
a360e934
AJ
24633ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
24634dlls/dpnlobby/Makefile: dlls/dpnlobby/Makefile.in dlls/Makedll.rules"
5996c132
LBP
24635ac_config_files="$ac_config_files dlls/dpnlobby/Makefile"
24636
a360e934
AJ
24637ALL_MAKEFILES="$ALL_MAKEFILES \\
24638 dlls/dpwsockx/Makefile"
485cc59c 24639test "x$enable_dpwsockx" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\
49163da1 24640 dpwsockx"
a360e934
AJ
24641ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
24642dlls/dpwsockx/Makefile: dlls/dpwsockx/Makefile.in dlls/Makedll.rules"
9d2a1e8a
IB
24643ac_config_files="$ac_config_files dlls/dpwsockx/Makefile"
24644
a360e934
AJ
24645ALL_MAKEFILES="$ALL_MAKEFILES \\
24646 dlls/dsound/Makefile"
485cc59c 24647test "x$enable_dsound" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\
49163da1 24648 dsound"
a360e934
AJ
24649ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
24650dlls/dsound/Makefile: dlls/dsound/Makefile.in dlls/Makedll.rules"
fbc80d79
MM
24651ac_config_files="$ac_config_files dlls/dsound/Makefile"
24652
a360e934
AJ
24653ALL_MAKEFILES="$ALL_MAKEFILES \\
24654 dlls/dsound/tests/Makefile"
35078f4b 24655test "x$enable_tests" != xno && ALL_TEST_DIRS="$ALL_TEST_DIRS \\
49163da1 24656 dsound/tests"
a360e934
AJ
24657ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
24658dlls/dsound/tests/Makefile: dlls/dsound/tests/Makefile.in dlls/Maketest.rules"
fbc80d79
MM
24659ac_config_files="$ac_config_files dlls/dsound/tests/Makefile"
24660
a360e934
AJ
24661ALL_MAKEFILES="$ALL_MAKEFILES \\
24662 dlls/dssenh/Makefile"
485cc59c 24663test "x$enable_dssenh" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\
49163da1 24664 dssenh"
a360e934
AJ
24665ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
24666dlls/dssenh/Makefile: dlls/dssenh/Makefile.in dlls/Makedll.rules"
2472e81c
ML
24667ac_config_files="$ac_config_files dlls/dssenh/Makefile"
24668
a360e934
AJ
24669ALL_MAKEFILES="$ALL_MAKEFILES \\
24670 dlls/dswave/Makefile"
485cc59c 24671test "x$enable_dswave" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\
49163da1 24672 dswave"
a360e934
AJ
24673ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
24674dlls/dswave/Makefile: dlls/dswave/Makefile.in dlls/Makedll.rules"
fbc80d79
MM
24675ac_config_files="$ac_config_files dlls/dswave/Makefile"
24676
a360e934
AJ
24677ALL_MAKEFILES="$ALL_MAKEFILES \\
24678 dlls/dwmapi/Makefile"
485cc59c 24679test "x$enable_dwmapi" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\
49163da1 24680 dwmapi"
a360e934
AJ
24681ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
24682dlls/dwmapi/Makefile: dlls/dwmapi/Makefile.in dlls/Makedll.rules"
c0ddd5e3
KA
24683ac_config_files="$ac_config_files dlls/dwmapi/Makefile"
24684
a360e934
AJ
24685ALL_MAKEFILES="$ALL_MAKEFILES \\
24686 dlls/dxdiagn/Makefile"
485cc59c 24687test "x$enable_dxdiagn" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\
49163da1 24688 dxdiagn"
a360e934
AJ
24689ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
24690dlls/dxdiagn/Makefile: dlls/dxdiagn/Makefile.in dlls/Makedll.rules"
fbc80d79
MM
24691ac_config_files="$ac_config_files dlls/dxdiagn/Makefile"
24692
a360e934
AJ
24693ALL_MAKEFILES="$ALL_MAKEFILES \\
24694 dlls/dxerr8/Makefile"
485cc59c 24695test "x$enable_dxerr8" != xno && ALL_IMPLIB_DIRS="$ALL_IMPLIB_DIRS \\
49163da1 24696 dxerr8"
a360e934
AJ
24697ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
24698dlls/dxerr8/Makefile: dlls/dxerr8/Makefile.in dlls/Makeimplib.rules"
fbc80d79
MM
24699ac_config_files="$ac_config_files dlls/dxerr8/Makefile"
24700
a360e934
AJ
24701ALL_MAKEFILES="$ALL_MAKEFILES \\
24702 dlls/dxerr9/Makefile"
485cc59c 24703test "x$enable_dxerr9" != xno && ALL_IMPLIB_DIRS="$ALL_IMPLIB_DIRS \\
49163da1 24704 dxerr9"
a360e934
AJ
24705ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
24706dlls/dxerr9/Makefile: dlls/dxerr9/Makefile.in dlls/Makeimplib.rules"
fbc80d79
MM
24707ac_config_files="$ac_config_files dlls/dxerr9/Makefile"
24708
9e376213
HV
24709ALL_MAKEFILES="$ALL_MAKEFILES \\
24710 dlls/dxgi/Makefile"
24711test "x$enable_dxgi" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\
24712 dxgi"
24713ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
24714dlls/dxgi/Makefile: dlls/dxgi/Makefile.in dlls/Makedll.rules"
24715ac_config_files="$ac_config_files dlls/dxgi/Makefile"
24716
1dea8291
HV
24717ALL_MAKEFILES="$ALL_MAKEFILES \\
24718 dlls/dxgi/tests/Makefile"
35078f4b 24719test "x$enable_tests" != xno && ALL_TEST_DIRS="$ALL_TEST_DIRS \\
1dea8291
HV
24720 dxgi/tests"
24721ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
24722dlls/dxgi/tests/Makefile: dlls/dxgi/tests/Makefile.in dlls/Maketest.rules"
24723ac_config_files="$ac_config_files dlls/dxgi/tests/Makefile"
24724
a360e934
AJ
24725ALL_MAKEFILES="$ALL_MAKEFILES \\
24726 dlls/dxguid/Makefile"
485cc59c 24727test "x$enable_dxguid" != xno && ALL_IMPLIB_DIRS="$ALL_IMPLIB_DIRS \\
49163da1 24728 dxguid"
a360e934
AJ
24729ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
24730dlls/dxguid/Makefile: dlls/dxguid/Makefile.in dlls/Makeimplib.rules"
fbc80d79
MM
24731ac_config_files="$ac_config_files dlls/dxguid/Makefile"
24732
a360e934
AJ
24733ALL_MAKEFILES="$ALL_MAKEFILES \\
24734 dlls/faultrep/Makefile"
485cc59c 24735test "x$enable_faultrep" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\
49163da1 24736 faultrep"
a360e934
AJ
24737ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
24738dlls/faultrep/Makefile: dlls/faultrep/Makefile.in dlls/Makedll.rules"
a2cd6430
PDT
24739ac_config_files="$ac_config_files dlls/faultrep/Makefile"
24740
a360e934
AJ
24741ALL_MAKEFILES="$ALL_MAKEFILES \\
24742 dlls/fusion/Makefile"
485cc59c 24743test "x$enable_fusion" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\
49163da1 24744 fusion"
a360e934
AJ
24745ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
24746dlls/fusion/Makefile: dlls/fusion/Makefile.in dlls/Makedll.rules"
c0b3af34
JH
24747ac_config_files="$ac_config_files dlls/fusion/Makefile"
24748
a360e934
AJ
24749ALL_MAKEFILES="$ALL_MAKEFILES \\
24750 dlls/fusion/tests/Makefile"
35078f4b 24751test "x$enable_tests" != xno && ALL_TEST_DIRS="$ALL_TEST_DIRS \\
49163da1 24752 fusion/tests"
a360e934
AJ
24753ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
24754dlls/fusion/tests/Makefile: dlls/fusion/tests/Makefile.in dlls/Maketest.rules"
9e021cff
JH
24755ac_config_files="$ac_config_files dlls/fusion/tests/Makefile"
24756
a360e934
AJ
24757ALL_MAKEFILES="$ALL_MAKEFILES \\
24758 dlls/gdi32/Makefile"
485cc59c 24759test "x$enable_gdi32" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\
49163da1 24760 gdi32"
a360e934
AJ
24761ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
24762dlls/gdi32/Makefile: dlls/gdi32/Makefile.in dlls/Makedll.rules"
fbc80d79
MM
24763ac_config_files="$ac_config_files dlls/gdi32/Makefile"
24764
a360e934
AJ
24765ALL_MAKEFILES="$ALL_MAKEFILES \\
24766 dlls/gdi32/tests/Makefile"
35078f4b 24767test "x$enable_tests" != xno && ALL_TEST_DIRS="$ALL_TEST_DIRS \\
49163da1 24768 gdi32/tests"
a360e934
AJ
24769ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
24770dlls/gdi32/tests/Makefile: dlls/gdi32/tests/Makefile.in dlls/Maketest.rules"
fbc80d79
MM
24771ac_config_files="$ac_config_files dlls/gdi32/tests/Makefile"
24772
a360e934
AJ
24773ALL_MAKEFILES="$ALL_MAKEFILES \\
24774 dlls/gdiplus/Makefile"
485cc59c 24775test "x$enable_gdiplus" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\
49163da1 24776 gdiplus"
a360e934
AJ
24777ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
24778dlls/gdiplus/Makefile: dlls/gdiplus/Makefile.in dlls/Makedll.rules"
bed761c9
ES
24779ac_config_files="$ac_config_files dlls/gdiplus/Makefile"
24780
a360e934
AJ
24781ALL_MAKEFILES="$ALL_MAKEFILES \\
24782 dlls/gdiplus/tests/Makefile"
35078f4b 24783test "x$enable_tests" != xno && ALL_TEST_DIRS="$ALL_TEST_DIRS \\
49163da1 24784 gdiplus/tests"
a360e934
AJ
24785ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
24786dlls/gdiplus/tests/Makefile: dlls/gdiplus/tests/Makefile.in dlls/Maketest.rules"
fcd7a62e
ES
24787ac_config_files="$ac_config_files dlls/gdiplus/tests/Makefile"
24788
a360e934
AJ
24789ALL_MAKEFILES="$ALL_MAKEFILES \\
24790 dlls/glu32/Makefile"
485cc59c 24791test "x$enable_glu32" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\
49163da1 24792 glu32"
a360e934
AJ
24793ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
24794dlls/glu32/Makefile: dlls/glu32/Makefile.in dlls/Makedll.rules"
fbc80d79
MM
24795ac_config_files="$ac_config_files dlls/glu32/Makefile"
24796
a360e934
AJ
24797ALL_MAKEFILES="$ALL_MAKEFILES \\
24798 dlls/gphoto2.ds/Makefile"
485cc59c 24799test "x$enable_gphoto2_ds" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\
49163da1 24800 gphoto2.ds"
a360e934
AJ
24801ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
24802dlls/gphoto2.ds/Makefile: dlls/gphoto2.ds/Makefile.in dlls/Makedll.rules"
fbc80d79
MM
24803ac_config_files="$ac_config_files dlls/gphoto2.ds/Makefile"
24804
a360e934
AJ
24805ALL_MAKEFILES="$ALL_MAKEFILES \\
24806 dlls/gpkcsp/Makefile"
485cc59c 24807test "x$enable_gpkcsp" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\
49163da1 24808 gpkcsp"
a360e934
AJ
24809ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
24810dlls/gpkcsp/Makefile: dlls/gpkcsp/Makefile.in dlls/Makedll.rules"
e4576c80
ML
24811ac_config_files="$ac_config_files dlls/gpkcsp/Makefile"
24812
a360e934
AJ
24813ALL_MAKEFILES="$ALL_MAKEFILES \\
24814 dlls/hal/Makefile"
485cc59c 24815test "x$enable_hal" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\
49163da1 24816 hal"
a360e934
AJ
24817ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
24818dlls/hal/Makefile: dlls/hal/Makefile.in dlls/Makedll.rules"
d2d68702
AJ
24819ac_config_files="$ac_config_files dlls/hal/Makefile"
24820
a360e934
AJ
24821ALL_MAKEFILES="$ALL_MAKEFILES \\
24822 dlls/hhctrl.ocx/Makefile"
485cc59c 24823test "x$enable_hhctrl_ocx" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\
49163da1 24824 hhctrl.ocx"
a360e934
AJ
24825ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
24826dlls/hhctrl.ocx/Makefile: dlls/hhctrl.ocx/Makefile.in dlls/Makedll.rules"
fbc80d79
MM
24827ac_config_files="$ac_config_files dlls/hhctrl.ocx/Makefile"
24828
a360e934
AJ
24829ALL_MAKEFILES="$ALL_MAKEFILES \\
24830 dlls/hid/Makefile"
485cc59c 24831test "x$enable_hid" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\
49163da1 24832 hid"
a360e934
AJ
24833ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
24834dlls/hid/Makefile: dlls/hid/Makefile.in dlls/Makedll.rules"
fbc80d79
MM
24835ac_config_files="$ac_config_files dlls/hid/Makefile"
24836
a360e934
AJ
24837ALL_MAKEFILES="$ALL_MAKEFILES \\
24838 dlls/hlink/Makefile"
485cc59c 24839test "x$enable_hlink" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\
49163da1 24840 hlink"
a360e934
AJ
24841ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
24842dlls/hlink/Makefile: dlls/hlink/Makefile.in dlls/Makedll.rules"
fbc80d79
MM
24843ac_config_files="$ac_config_files dlls/hlink/Makefile"
24844
a360e934
AJ
24845ALL_MAKEFILES="$ALL_MAKEFILES \\
24846 dlls/hlink/tests/Makefile"
35078f4b 24847test "x$enable_tests" != xno && ALL_TEST_DIRS="$ALL_TEST_DIRS \\
49163da1 24848 hlink/tests"
a360e934
AJ
24849ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
24850dlls/hlink/tests/Makefile: dlls/hlink/tests/Makefile.in dlls/Maketest.rules"
fbc80d79
MM
24851ac_config_files="$ac_config_files dlls/hlink/tests/Makefile"
24852
a360e934
AJ
24853ALL_MAKEFILES="$ALL_MAKEFILES \\
24854 dlls/hnetcfg/Makefile"
485cc59c 24855test "x$enable_hnetcfg" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\
49163da1 24856 hnetcfg"
a360e934
AJ
24857ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
24858dlls/hnetcfg/Makefile: dlls/hnetcfg/Makefile.in dlls/Makedll.rules"
a00aa039
JL
24859ac_config_files="$ac_config_files dlls/hnetcfg/Makefile"
24860
a360e934
AJ
24861ALL_MAKEFILES="$ALL_MAKEFILES \\
24862 dlls/iccvid/Makefile"
485cc59c 24863test "x$enable_iccvid" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\
49163da1 24864 iccvid"
a360e934
AJ
24865ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
24866dlls/iccvid/Makefile: dlls/iccvid/Makefile.in dlls/Makedll.rules"
fbc80d79
MM
24867ac_config_files="$ac_config_files dlls/iccvid/Makefile"
24868
a360e934
AJ
24869ALL_MAKEFILES="$ALL_MAKEFILES \\
24870 dlls/icmp/Makefile"
485cc59c 24871test "x$enable_icmp" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\
49163da1 24872 icmp"
a360e934
AJ
24873ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
24874dlls/icmp/Makefile: dlls/icmp/Makefile.in dlls/Makedll.rules"
fbc80d79
MM
24875ac_config_files="$ac_config_files dlls/icmp/Makefile"
24876
a360e934
AJ
24877ALL_MAKEFILES="$ALL_MAKEFILES \\
24878 dlls/ifsmgr.vxd/Makefile"
485cc59c 24879test "x$enable_ifsmgr_vxd" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\
49163da1 24880 ifsmgr.vxd"
a360e934
AJ
24881ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
24882dlls/ifsmgr.vxd/Makefile: dlls/ifsmgr.vxd/Makefile.in dlls/Makedll.rules"
fbc80d79
MM
24883ac_config_files="$ac_config_files dlls/ifsmgr.vxd/Makefile"
24884
a360e934
AJ
24885ALL_MAKEFILES="$ALL_MAKEFILES \\
24886 dlls/imaadp32.acm/Makefile"
485cc59c 24887test "x$enable_imaadp32_acm" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\
49163da1 24888 imaadp32.acm"
a360e934
AJ
24889ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
24890dlls/imaadp32.acm/Makefile: dlls/imaadp32.acm/Makefile.in dlls/Makedll.rules"
fbc80d79
MM
24891ac_config_files="$ac_config_files dlls/imaadp32.acm/Makefile"
24892
a360e934
AJ
24893ALL_MAKEFILES="$ALL_MAKEFILES \\
24894 dlls/imagehlp/Makefile"
485cc59c 24895test "x$enable_imagehlp" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\
49163da1 24896 imagehlp"
a360e934
AJ
24897ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
24898dlls/imagehlp/Makefile: dlls/imagehlp/Makefile.in dlls/Makedll.rules"
fbc80d79
MM
24899ac_config_files="$ac_config_files dlls/imagehlp/Makefile"
24900
a360e934
AJ
24901ALL_MAKEFILES="$ALL_MAKEFILES \\
24902 dlls/imm32/Makefile"
485cc59c 24903test "x$enable_imm32" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\
49163da1 24904 imm32"
a360e934
AJ
24905ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
24906dlls/imm32/Makefile: dlls/imm32/Makefile.in dlls/Makedll.rules"
fbc80d79
MM
24907ac_config_files="$ac_config_files dlls/imm32/Makefile"
24908
a360e934
AJ
24909ALL_MAKEFILES="$ALL_MAKEFILES \\
24910 dlls/imm32/tests/Makefile"
35078f4b 24911test "x$enable_tests" != xno && ALL_TEST_DIRS="$ALL_TEST_DIRS \\
49163da1 24912 imm32/tests"
a360e934
AJ
24913ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
24914dlls/imm32/tests/Makefile: dlls/imm32/tests/Makefile.in dlls/Maketest.rules"
0a31ab7e
MJ
24915ac_config_files="$ac_config_files dlls/imm32/tests/Makefile"
24916
a360e934
AJ
24917ALL_MAKEFILES="$ALL_MAKEFILES \\
24918 dlls/inetcomm/Makefile"
485cc59c 24919test "x$enable_inetcomm" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\
49163da1 24920 inetcomm"
a360e934
AJ
24921ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
24922dlls/inetcomm/Makefile: dlls/inetcomm/Makefile.in dlls/Makedll.rules"
beab2c17
RS
24923ac_config_files="$ac_config_files dlls/inetcomm/Makefile"
24924
a360e934
AJ
24925ALL_MAKEFILES="$ALL_MAKEFILES \\
24926 dlls/inetcomm/tests/Makefile"
35078f4b 24927test "x$enable_tests" != xno && ALL_TEST_DIRS="$ALL_TEST_DIRS \\
49163da1 24928 inetcomm/tests"
a360e934
AJ
24929ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
24930dlls/inetcomm/tests/Makefile: dlls/inetcomm/tests/Makefile.in dlls/Maketest.rules"
ba6b7e8b
HD
24931ac_config_files="$ac_config_files dlls/inetcomm/tests/Makefile"
24932
a360e934
AJ
24933ALL_MAKEFILES="$ALL_MAKEFILES \\
24934 dlls/inetmib1/Makefile"
485cc59c 24935test "x$enable_inetmib1" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\
49163da1 24936 inetmib1"
a360e934
AJ
24937ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
24938dlls/inetmib1/Makefile: dlls/inetmib1/Makefile.in dlls/Makedll.rules"
17231579
JL
24939ac_config_files="$ac_config_files dlls/inetmib1/Makefile"
24940
a360e934
AJ
24941ALL_MAKEFILES="$ALL_MAKEFILES \\
24942 dlls/inetmib1/tests/Makefile"
35078f4b 24943test "x$enable_tests" != xno && ALL_TEST_DIRS="$ALL_TEST_DIRS \\
49163da1 24944 inetmib1/tests"
a360e934
AJ
24945ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
24946dlls/inetmib1/tests/Makefile: dlls/inetmib1/tests/Makefile.in dlls/Maketest.rules"
cca77db0
JL
24947ac_config_files="$ac_config_files dlls/inetmib1/tests/Makefile"
24948
a360e934
AJ
24949ALL_MAKEFILES="$ALL_MAKEFILES \\
24950 dlls/infosoft/Makefile"
485cc59c 24951test "x$enable_infosoft" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\
49163da1 24952 infosoft"
a360e934
AJ
24953ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
24954dlls/infosoft/Makefile: dlls/infosoft/Makefile.in dlls/Makedll.rules"
fbc80d79
MM
24955ac_config_files="$ac_config_files dlls/infosoft/Makefile"
24956
a360e934
AJ
24957ALL_MAKEFILES="$ALL_MAKEFILES \\
24958 dlls/infosoft/tests/Makefile"
35078f4b 24959test "x$enable_tests" != xno && ALL_TEST_DIRS="$ALL_TEST_DIRS \\
49163da1 24960 infosoft/tests"
a360e934
AJ
24961ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
24962dlls/infosoft/tests/Makefile: dlls/infosoft/tests/Makefile.in dlls/Maketest.rules"
fbc80d79
MM
24963ac_config_files="$ac_config_files dlls/infosoft/tests/Makefile"
24964
a360e934
AJ
24965ALL_MAKEFILES="$ALL_MAKEFILES \\
24966 dlls/initpki/Makefile"
485cc59c 24967test "x$enable_initpki" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\
49163da1 24968 initpki"
a360e934
AJ
24969ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
24970dlls/initpki/Makefile: dlls/initpki/Makefile.in dlls/Makedll.rules"
7c3d24bf
ML
24971ac_config_files="$ac_config_files dlls/initpki/Makefile"
24972
a360e934
AJ
24973ALL_MAKEFILES="$ALL_MAKEFILES \\
24974 dlls/inkobj/Makefile"
485cc59c 24975test "x$enable_inkobj" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\
49163da1 24976 inkobj"
a360e934
AJ
24977ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
24978dlls/inkobj/Makefile: dlls/inkobj/Makefile.in dlls/Makedll.rules"
e9252251
JK
24979ac_config_files="$ac_config_files dlls/inkobj/Makefile"
24980
a360e934
AJ
24981ALL_MAKEFILES="$ALL_MAKEFILES \\
24982 dlls/inseng/Makefile"
485cc59c 24983test "x$enable_inseng" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\
49163da1 24984 inseng"
a360e934
AJ
24985ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
24986dlls/inseng/Makefile: dlls/inseng/Makefile.in dlls/Makedll.rules"
fbc80d79
MM
24987ac_config_files="$ac_config_files dlls/inseng/Makefile"
24988
a360e934
AJ
24989ALL_MAKEFILES="$ALL_MAKEFILES \\
24990 dlls/iphlpapi/Makefile"
485cc59c 24991test "x$enable_iphlpapi" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\
49163da1 24992 iphlpapi"
a360e934
AJ
24993ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
24994dlls/iphlpapi/Makefile: dlls/iphlpapi/Makefile.in dlls/Makedll.rules"
fbc80d79
MM
24995ac_config_files="$ac_config_files dlls/iphlpapi/Makefile"
24996
a360e934
AJ
24997ALL_MAKEFILES="$ALL_MAKEFILES \\
24998 dlls/iphlpapi/tests/Makefile"
35078f4b 24999test "x$enable_tests" != xno && ALL_TEST_DIRS="$ALL_TEST_DIRS \\
49163da1 25000 iphlpapi/tests"
a360e934
AJ
25001ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
25002dlls/iphlpapi/tests/Makefile: dlls/iphlpapi/tests/Makefile.in dlls/Maketest.rules"
fbc80d79
MM
25003ac_config_files="$ac_config_files dlls/iphlpapi/tests/Makefile"
25004
a360e934
AJ
25005ALL_MAKEFILES="$ALL_MAKEFILES \\
25006 dlls/itircl/Makefile"
485cc59c 25007test "x$enable_itircl" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\
49163da1 25008 itircl"
a360e934
AJ
25009ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
25010dlls/itircl/Makefile: dlls/itircl/Makefile.in dlls/Makedll.rules"
58b0686e
JH
25011ac_config_files="$ac_config_files dlls/itircl/Makefile"
25012
a360e934
AJ
25013ALL_MAKEFILES="$ALL_MAKEFILES \\
25014 dlls/itss/Makefile"
485cc59c 25015test "x$enable_itss" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\
49163da1 25016 itss"
a360e934
AJ
25017ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
25018dlls/itss/Makefile: dlls/itss/Makefile.in dlls/Makedll.rules"
fbc80d79
MM
25019ac_config_files="$ac_config_files dlls/itss/Makefile"
25020
a360e934
AJ
25021ALL_MAKEFILES="$ALL_MAKEFILES \\
25022 dlls/itss/tests/Makefile"
35078f4b 25023test "x$enable_tests" != xno && ALL_TEST_DIRS="$ALL_TEST_DIRS \\
49163da1 25024 itss/tests"
a360e934
AJ
25025ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
25026dlls/itss/tests/Makefile: dlls/itss/tests/Makefile.in dlls/Maketest.rules"
fbc80d79
MM
25027ac_config_files="$ac_config_files dlls/itss/tests/Makefile"
25028
a360e934
AJ
25029ALL_MAKEFILES="$ALL_MAKEFILES \\
25030 dlls/jscript/Makefile"
485cc59c 25031test "x$enable_jscript" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\
49163da1 25032 jscript"
a360e934
AJ
25033ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
25034dlls/jscript/Makefile: dlls/jscript/Makefile.in dlls/Makedll.rules"
fa23a2c4
JC
25035ac_config_files="$ac_config_files dlls/jscript/Makefile"
25036
a360e934
AJ
25037ALL_MAKEFILES="$ALL_MAKEFILES \\
25038 dlls/jscript/tests/Makefile"
35078f4b 25039test "x$enable_tests" != xno && ALL_TEST_DIRS="$ALL_TEST_DIRS \\
49163da1 25040 jscript/tests"
a360e934
AJ
25041ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
25042dlls/jscript/tests/Makefile: dlls/jscript/tests/Makefile.in dlls/Maketest.rules"
63ebe019
JC
25043ac_config_files="$ac_config_files dlls/jscript/tests/Makefile"
25044
a360e934
AJ
25045ALL_MAKEFILES="$ALL_MAKEFILES \\
25046 dlls/kernel32/Makefile"
485cc59c 25047test "x$enable_kernel32" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\
49163da1 25048 kernel32"
a360e934
AJ
25049ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
25050dlls/kernel32/Makefile: dlls/kernel32/Makefile.in dlls/Makedll.rules"
fbc80d79
MM
25051ac_config_files="$ac_config_files dlls/kernel32/Makefile"
25052
a360e934
AJ
25053ALL_MAKEFILES="$ALL_MAKEFILES \\
25054 dlls/kernel32/tests/Makefile"
35078f4b 25055test "x$enable_tests" != xno && ALL_TEST_DIRS="$ALL_TEST_DIRS \\
49163da1 25056 kernel32/tests"
a360e934
AJ
25057ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
25058dlls/kernel32/tests/Makefile: dlls/kernel32/tests/Makefile.in dlls/Maketest.rules"
fbc80d79
MM
25059ac_config_files="$ac_config_files dlls/kernel32/tests/Makefile"
25060
a360e934
AJ
25061ALL_MAKEFILES="$ALL_MAKEFILES \\
25062 dlls/localspl/Makefile"
485cc59c 25063test "x$enable_localspl" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\
49163da1 25064 localspl"
a360e934
AJ
25065ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
25066dlls/localspl/Makefile: dlls/localspl/Makefile.in dlls/Makedll.rules"
fbc80d79
MM
25067ac_config_files="$ac_config_files dlls/localspl/Makefile"
25068
a360e934
AJ
25069ALL_MAKEFILES="$ALL_MAKEFILES \\
25070 dlls/localspl/tests/Makefile"
35078f4b 25071test "x$enable_tests" != xno && ALL_TEST_DIRS="$ALL_TEST_DIRS \\
49163da1 25072 localspl/tests"
a360e934
AJ
25073ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
25074dlls/localspl/tests/Makefile: dlls/localspl/tests/Makefile.in dlls/Maketest.rules"
fbc80d79
MM
25075ac_config_files="$ac_config_files dlls/localspl/tests/Makefile"
25076
a360e934
AJ
25077ALL_MAKEFILES="$ALL_MAKEFILES \\
25078 dlls/localui/Makefile"
485cc59c 25079test "x$enable_localui" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\
49163da1 25080 localui"
a360e934
AJ
25081ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
25082dlls/localui/Makefile: dlls/localui/Makefile.in dlls/Makedll.rules"
d24bc087
DR
25083ac_config_files="$ac_config_files dlls/localui/Makefile"
25084
a360e934
AJ
25085ALL_MAKEFILES="$ALL_MAKEFILES \\
25086 dlls/localui/tests/Makefile"
35078f4b 25087test "x$enable_tests" != xno && ALL_TEST_DIRS="$ALL_TEST_DIRS \\
49163da1 25088 localui/tests"
a360e934
AJ
25089ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
25090dlls/localui/tests/Makefile: dlls/localui/tests/Makefile.in dlls/Maketest.rules"
62e92795
DR
25091ac_config_files="$ac_config_files dlls/localui/tests/Makefile"
25092
a360e934
AJ
25093ALL_MAKEFILES="$ALL_MAKEFILES \\
25094 dlls/lz32/Makefile"
485cc59c 25095test "x$enable_lz32" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\
49163da1 25096 lz32"
a360e934
AJ
25097ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
25098dlls/lz32/Makefile: dlls/lz32/Makefile.in dlls/Makedll.rules"
fbc80d79
MM
25099ac_config_files="$ac_config_files dlls/lz32/Makefile"
25100
a360e934
AJ
25101ALL_MAKEFILES="$ALL_MAKEFILES \\
25102 dlls/lz32/tests/Makefile"
35078f4b 25103test "x$enable_tests" != xno && ALL_TEST_DIRS="$ALL_TEST_DIRS \\
49163da1 25104 lz32/tests"
a360e934
AJ
25105ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
25106dlls/lz32/tests/Makefile: dlls/lz32/tests/Makefile.in dlls/Maketest.rules"
fbc80d79
MM
25107ac_config_files="$ac_config_files dlls/lz32/tests/Makefile"
25108
a360e934
AJ
25109ALL_MAKEFILES="$ALL_MAKEFILES \\
25110 dlls/mapi32/Makefile"
485cc59c 25111test "x$enable_mapi32" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\
49163da1 25112 mapi32"
a360e934
AJ
25113ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
25114dlls/mapi32/Makefile: dlls/mapi32/Makefile.in dlls/Makedll.rules"
fbc80d79
MM
25115ac_config_files="$ac_config_files dlls/mapi32/Makefile"
25116
a360e934
AJ
25117ALL_MAKEFILES="$ALL_MAKEFILES \\
25118 dlls/mapi32/tests/Makefile"
35078f4b 25119test "x$enable_tests" != xno && ALL_TEST_DIRS="$ALL_TEST_DIRS \\
49163da1 25120 mapi32/tests"
a360e934
AJ
25121ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
25122dlls/mapi32/tests/Makefile: dlls/mapi32/tests/Makefile.in dlls/Maketest.rules"
fbc80d79
MM
25123ac_config_files="$ac_config_files dlls/mapi32/tests/Makefile"
25124
a360e934
AJ
25125ALL_MAKEFILES="$ALL_MAKEFILES \\
25126 dlls/mciavi32/Makefile"
485cc59c 25127test "x$enable_mciavi32" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\
49163da1 25128 mciavi32"
a360e934
AJ
25129ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
25130dlls/mciavi32/Makefile: dlls/mciavi32/Makefile.in dlls/Makedll.rules"
fbc80d79
MM
25131ac_config_files="$ac_config_files dlls/mciavi32/Makefile"
25132
a360e934
AJ
25133ALL_MAKEFILES="$ALL_MAKEFILES \\
25134 dlls/mcicda/Makefile"
485cc59c 25135test "x$enable_mcicda" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\
49163da1 25136 mcicda"
a360e934
AJ
25137ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
25138dlls/mcicda/Makefile: dlls/mcicda/Makefile.in dlls/Makedll.rules"
fbc80d79
MM
25139ac_config_files="$ac_config_files dlls/mcicda/Makefile"
25140
a360e934
AJ
25141ALL_MAKEFILES="$ALL_MAKEFILES \\
25142 dlls/mciseq/Makefile"
485cc59c 25143test "x$enable_mciseq" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\
49163da1 25144 mciseq"
a360e934
AJ
25145ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
25146dlls/mciseq/Makefile: dlls/mciseq/Makefile.in dlls/Makedll.rules"
fbc80d79
MM
25147ac_config_files="$ac_config_files dlls/mciseq/Makefile"
25148
a360e934
AJ
25149ALL_MAKEFILES="$ALL_MAKEFILES \\
25150 dlls/mciwave/Makefile"
485cc59c 25151test "x$enable_mciwave" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\
49163da1 25152 mciwave"
a360e934
AJ
25153ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
25154dlls/mciwave/Makefile: dlls/mciwave/Makefile.in dlls/Makedll.rules"
fbc80d79
MM
25155ac_config_files="$ac_config_files dlls/mciwave/Makefile"
25156
a360e934
AJ
25157ALL_MAKEFILES="$ALL_MAKEFILES \\
25158 dlls/midimap/Makefile"
485cc59c 25159test "x$enable_midimap" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\
49163da1 25160 midimap"
a360e934
AJ
25161ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
25162dlls/midimap/Makefile: dlls/midimap/Makefile.in dlls/Makedll.rules"
fbc80d79
MM
25163ac_config_files="$ac_config_files dlls/midimap/Makefile"
25164
a360e934
AJ
25165ALL_MAKEFILES="$ALL_MAKEFILES \\
25166 dlls/mlang/Makefile"
485cc59c 25167test "x$enable_mlang" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\
49163da1 25168 mlang"
a360e934
AJ
25169ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
25170dlls/mlang/Makefile: dlls/mlang/Makefile.in dlls/Makedll.rules"
fbc80d79
MM
25171ac_config_files="$ac_config_files dlls/mlang/Makefile"
25172
a360e934
AJ
25173ALL_MAKEFILES="$ALL_MAKEFILES \\
25174 dlls/mlang/tests/Makefile"
35078f4b 25175test "x$enable_tests" != xno && ALL_TEST_DIRS="$ALL_TEST_DIRS \\
49163da1 25176 mlang/tests"
a360e934
AJ
25177ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
25178dlls/mlang/tests/Makefile: dlls/mlang/tests/Makefile.in dlls/Maketest.rules"
fbc80d79
MM
25179ac_config_files="$ac_config_files dlls/mlang/tests/Makefile"
25180
a360e934
AJ
25181ALL_MAKEFILES="$ALL_MAKEFILES \\
25182 dlls/mmdevldr.vxd/Makefile"
485cc59c 25183test "x$enable_mmdevldr_vxd" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\
49163da1 25184 mmdevldr.vxd"
a360e934
AJ
25185ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
25186dlls/mmdevldr.vxd/Makefile: dlls/mmdevldr.vxd/Makefile.in dlls/Makedll.rules"
fbc80d79
MM
25187ac_config_files="$ac_config_files dlls/mmdevldr.vxd/Makefile"
25188
a360e934
AJ
25189ALL_MAKEFILES="$ALL_MAKEFILES \\
25190 dlls/monodebg.vxd/Makefile"
485cc59c 25191test "x$enable_monodebg_vxd" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\
49163da1 25192 monodebg.vxd"
a360e934
AJ
25193ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
25194dlls/monodebg.vxd/Makefile: dlls/monodebg.vxd/Makefile.in dlls/Makedll.rules"
fbc80d79
MM
25195ac_config_files="$ac_config_files dlls/monodebg.vxd/Makefile"
25196
a360e934
AJ
25197ALL_MAKEFILES="$ALL_MAKEFILES \\
25198 dlls/mountmgr.sys/Makefile"
485cc59c 25199test "x$enable_mountmgr_sys" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\
49163da1 25200 mountmgr.sys"
a360e934
AJ
25201ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
25202dlls/mountmgr.sys/Makefile: dlls/mountmgr.sys/Makefile.in dlls/Makedll.rules"
43dc80e6
AJ
25203ac_config_files="$ac_config_files dlls/mountmgr.sys/Makefile"
25204
a360e934
AJ
25205ALL_MAKEFILES="$ALL_MAKEFILES \\
25206 dlls/mpr/Makefile"
485cc59c 25207test "x$enable_mpr" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\
49163da1 25208 mpr"
a360e934
AJ
25209ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
25210dlls/mpr/Makefile: dlls/mpr/Makefile.in dlls/Makedll.rules"
fbc80d79
MM
25211ac_config_files="$ac_config_files dlls/mpr/Makefile"
25212
a360e934
AJ
25213ALL_MAKEFILES="$ALL_MAKEFILES \\
25214 dlls/mprapi/Makefile"
485cc59c 25215test "x$enable_mprapi" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\
49163da1 25216 mprapi"
a360e934
AJ
25217ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
25218dlls/mprapi/Makefile: dlls/mprapi/Makefile.in dlls/Makedll.rules"
fbc80d79
MM
25219ac_config_files="$ac_config_files dlls/mprapi/Makefile"
25220
a360e934
AJ
25221ALL_MAKEFILES="$ALL_MAKEFILES \\
25222 dlls/msacm32.drv/Makefile"
485cc59c 25223test "x$enable_msacm32_drv" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\
49163da1 25224 msacm32.drv"
a360e934
AJ
25225ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
25226dlls/msacm32.drv/Makefile: dlls/msacm32.drv/Makefile.in dlls/Makedll.rules"
fbc80d79
MM
25227ac_config_files="$ac_config_files dlls/msacm32.drv/Makefile"
25228
a360e934
AJ
25229ALL_MAKEFILES="$ALL_MAKEFILES \\
25230 dlls/msacm32/Makefile"
485cc59c 25231test "x$enable_msacm32" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\
49163da1 25232 msacm32"
a360e934
AJ
25233ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
25234dlls/msacm32/Makefile: dlls/msacm32/Makefile.in dlls/Makedll.rules"
fbc80d79
MM
25235ac_config_files="$ac_config_files dlls/msacm32/Makefile"
25236
a360e934
AJ
25237ALL_MAKEFILES="$ALL_MAKEFILES \\
25238 dlls/msacm32/tests/Makefile"
35078f4b 25239test "x$enable_tests" != xno && ALL_TEST_DIRS="$ALL_TEST_DIRS \\
49163da1 25240 msacm32/tests"
a360e934
AJ
25241ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
25242dlls/msacm32/tests/Makefile: dlls/msacm32/tests/Makefile.in dlls/Maketest.rules"
fbc80d79
MM
25243ac_config_files="$ac_config_files dlls/msacm32/tests/Makefile"
25244
a360e934
AJ
25245ALL_MAKEFILES="$ALL_MAKEFILES \\
25246 dlls/msadp32.acm/Makefile"
485cc59c 25247test "x$enable_msadp32_acm" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\
49163da1 25248 msadp32.acm"
a360e934
AJ
25249ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
25250dlls/msadp32.acm/Makefile: dlls/msadp32.acm/Makefile.in dlls/Makedll.rules"
fbc80d79
MM
25251ac_config_files="$ac_config_files dlls/msadp32.acm/Makefile"
25252
a360e934
AJ
25253ALL_MAKEFILES="$ALL_MAKEFILES \\
25254 dlls/mscat32/Makefile"
485cc59c 25255test "x$enable_mscat32" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\
49163da1 25256 mscat32"
a360e934
AJ
25257ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
25258dlls/mscat32/Makefile: dlls/mscat32/Makefile.in dlls/Makedll.rules"
6103f312
ANS
25259ac_config_files="$ac_config_files dlls/mscat32/Makefile"
25260
a360e934
AJ
25261ALL_MAKEFILES="$ALL_MAKEFILES \\
25262 dlls/mscms/Makefile"
485cc59c 25263test "x$enable_mscms" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\
49163da1 25264 mscms"
a360e934
AJ
25265ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
25266dlls/mscms/Makefile: dlls/mscms/Makefile.in dlls/Makedll.rules"
fbc80d79
MM
25267ac_config_files="$ac_config_files dlls/mscms/Makefile"
25268
a360e934
AJ
25269ALL_MAKEFILES="$ALL_MAKEFILES \\
25270 dlls/mscms/tests/Makefile"
35078f4b 25271test "x$enable_tests" != xno && ALL_TEST_DIRS="$ALL_TEST_DIRS \\
49163da1 25272 mscms/tests"
a360e934
AJ
25273ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
25274dlls/mscms/tests/Makefile: dlls/mscms/tests/Makefile.in dlls/Maketest.rules"
fbc80d79
MM
25275ac_config_files="$ac_config_files dlls/mscms/tests/Makefile"
25276
a360e934
AJ
25277ALL_MAKEFILES="$ALL_MAKEFILES \\
25278 dlls/mscoree/Makefile"
485cc59c 25279test "x$enable_mscoree" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\
49163da1 25280 mscoree"
a360e934
AJ
25281ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
25282dlls/mscoree/Makefile: dlls/mscoree/Makefile.in dlls/Makedll.rules"
fbc80d79
MM
25283ac_config_files="$ac_config_files dlls/mscoree/Makefile"
25284
a360e934
AJ
25285ALL_MAKEFILES="$ALL_MAKEFILES \\
25286 dlls/msdmo/Makefile"
485cc59c 25287test "x$enable_msdmo" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\
49163da1 25288 msdmo"
a360e934
AJ
25289ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
25290dlls/msdmo/Makefile: dlls/msdmo/Makefile.in dlls/Makedll.rules"
fbc80d79
MM
25291ac_config_files="$ac_config_files dlls/msdmo/Makefile"
25292
a360e934
AJ
25293ALL_MAKEFILES="$ALL_MAKEFILES \\
25294 dlls/msftedit/Makefile"
485cc59c 25295test "x$enable_msftedit" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\
49163da1 25296 msftedit"
a360e934
AJ
25297ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
25298dlls/msftedit/Makefile: dlls/msftedit/Makefile.in dlls/Makedll.rules"
fbc80d79
MM
25299ac_config_files="$ac_config_files dlls/msftedit/Makefile"
25300
a360e934
AJ
25301ALL_MAKEFILES="$ALL_MAKEFILES \\
25302 dlls/msg711.acm/Makefile"
485cc59c 25303test "x$enable_msg711_acm" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\
49163da1 25304 msg711.acm"
a360e934
AJ
25305ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
25306dlls/msg711.acm/Makefile: dlls/msg711.acm/Makefile.in dlls/Makedll.rules"
fbc80d79
MM
25307ac_config_files="$ac_config_files dlls/msg711.acm/Makefile"
25308
a360e934
AJ
25309ALL_MAKEFILES="$ALL_MAKEFILES \\
25310 dlls/mshtml.tlb/Makefile"
485cc59c 25311test "x$enable_mshtml_tlb" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\
49163da1 25312 mshtml.tlb"
a360e934
AJ
25313ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
25314dlls/mshtml.tlb/Makefile: dlls/mshtml.tlb/Makefile.in dlls/Makedll.rules"
021d06a4
JC
25315ac_config_files="$ac_config_files dlls/mshtml.tlb/Makefile"
25316
a360e934
AJ
25317ALL_MAKEFILES="$ALL_MAKEFILES \\
25318 dlls/mshtml/Makefile"
485cc59c 25319test "x$enable_mshtml" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\
49163da1 25320 mshtml"
a360e934
AJ
25321ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
25322dlls/mshtml/Makefile: dlls/mshtml/Makefile.in dlls/Makedll.rules"
fbc80d79
MM
25323ac_config_files="$ac_config_files dlls/mshtml/Makefile"
25324
a360e934
AJ
25325ALL_MAKEFILES="$ALL_MAKEFILES \\
25326 dlls/mshtml/tests/Makefile"
35078f4b 25327test "x$enable_tests" != xno && ALL_TEST_DIRS="$ALL_TEST_DIRS \\
49163da1 25328 mshtml/tests"
a360e934
AJ
25329ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
25330dlls/mshtml/tests/Makefile: dlls/mshtml/tests/Makefile.in dlls/Maketest.rules"
fbc80d79
MM
25331ac_config_files="$ac_config_files dlls/mshtml/tests/Makefile"
25332
a360e934
AJ
25333ALL_MAKEFILES="$ALL_MAKEFILES \\
25334 dlls/msi/Makefile"
485cc59c 25335test "x$enable_msi" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\
49163da1 25336 msi"
a360e934
AJ
25337ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
25338dlls/msi/Makefile: dlls/msi/Makefile.in dlls/Makedll.rules"
fbc80d79
MM
25339ac_config_files="$ac_config_files dlls/msi/Makefile"
25340
a360e934
AJ
25341ALL_MAKEFILES="$ALL_MAKEFILES \\
25342 dlls/msi/tests/Makefile"
35078f4b 25343test "x$enable_tests" != xno && ALL_TEST_DIRS="$ALL_TEST_DIRS \\
49163da1 25344 msi/tests"
a360e934
AJ
25345ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
25346dlls/msi/tests/Makefile: dlls/msi/tests/Makefile.in dlls/Maketest.rules"
fbc80d79
MM
25347ac_config_files="$ac_config_files dlls/msi/tests/Makefile"
25348
a360e934
AJ
25349ALL_MAKEFILES="$ALL_MAKEFILES \\
25350 dlls/msimg32/Makefile"
485cc59c 25351test "x$enable_msimg32" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\
49163da1 25352 msimg32"
a360e934
AJ
25353ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
25354dlls/msimg32/Makefile: dlls/msimg32/Makefile.in dlls/Makedll.rules"
fbc80d79
MM
25355ac_config_files="$ac_config_files dlls/msimg32/Makefile"
25356
a360e934
AJ
25357ALL_MAKEFILES="$ALL_MAKEFILES \\
25358 dlls/msimtf/Makefile"
485cc59c 25359test "x$enable_msimtf" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\
49163da1 25360 msimtf"
a360e934
AJ
25361ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
25362dlls/msimtf/Makefile: dlls/msimtf/Makefile.in dlls/Makedll.rules"
44a808fb
JC
25363ac_config_files="$ac_config_files dlls/msimtf/Makefile"
25364
a360e934
AJ
25365ALL_MAKEFILES="$ALL_MAKEFILES \\
25366 dlls/msisip/Makefile"
485cc59c 25367test "x$enable_msisip" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\
49163da1 25368 msisip"
a360e934
AJ
25369ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
25370dlls/msisip/Makefile: dlls/msisip/Makefile.in dlls/Makedll.rules"
8a6c2c2b
JL
25371ac_config_files="$ac_config_files dlls/msisip/Makefile"
25372
a360e934
AJ
25373ALL_MAKEFILES="$ALL_MAKEFILES \\
25374 dlls/msisys.ocx/Makefile"
485cc59c 25375test "x$enable_msisys_ocx" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\
49163da1 25376 msisys.ocx"
a360e934
AJ
25377ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
25378dlls/msisys.ocx/Makefile: dlls/msisys.ocx/Makefile.in dlls/Makedll.rules"
fbc80d79
MM
25379ac_config_files="$ac_config_files dlls/msisys.ocx/Makefile"
25380
a360e934
AJ
25381ALL_MAKEFILES="$ALL_MAKEFILES \\
25382 dlls/msnet32/Makefile"
485cc59c 25383test "x$enable_msnet32" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\
49163da1 25384 msnet32"
a360e934
AJ
25385ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
25386dlls/msnet32/Makefile: dlls/msnet32/Makefile.in dlls/Makedll.rules"
fbc80d79
MM
25387ac_config_files="$ac_config_files dlls/msnet32/Makefile"
25388
a360e934
AJ
25389ALL_MAKEFILES="$ALL_MAKEFILES \\
25390 dlls/msrle32/Makefile"
485cc59c 25391test "x$enable_msrle32" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\
49163da1 25392 msrle32"
a360e934
AJ
25393ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
25394dlls/msrle32/Makefile: dlls/msrle32/Makefile.in dlls/Makedll.rules"
fbc80d79
MM
25395ac_config_files="$ac_config_files dlls/msrle32/Makefile"
25396
a360e934
AJ
25397ALL_MAKEFILES="$ALL_MAKEFILES \\
25398 dlls/mssip32/Makefile"
485cc59c 25399test "x$enable_mssip32" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\
49163da1 25400 mssip32"
a360e934
AJ
25401ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
25402dlls/mssip32/Makefile: dlls/mssip32/Makefile.in dlls/Makedll.rules"
c438d239
ML
25403ac_config_files="$ac_config_files dlls/mssip32/Makefile"
25404
a360e934
AJ
25405ALL_MAKEFILES="$ALL_MAKEFILES \\
25406 dlls/mstask/Makefile"
485cc59c 25407test "x$enable_mstask" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\
49163da1 25408 mstask"
a360e934
AJ
25409ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
25410dlls/mstask/Makefile: dlls/mstask/Makefile.in dlls/Makedll.rules"
80ee225f
RS
25411ac_config_files="$ac_config_files dlls/mstask/Makefile"
25412
a360e934
AJ
25413ALL_MAKEFILES="$ALL_MAKEFILES \\
25414 dlls/mstask/tests/Makefile"
35078f4b 25415test "x$enable_tests" != xno && ALL_TEST_DIRS="$ALL_TEST_DIRS \\
49163da1 25416 mstask/tests"
a360e934
AJ
25417ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
25418dlls/mstask/tests/Makefile: dlls/mstask/tests/Makefile.in dlls/Maketest.rules"
3842ab09
AJ
25419ac_config_files="$ac_config_files dlls/mstask/tests/Makefile"
25420
a360e934
AJ
25421ALL_MAKEFILES="$ALL_MAKEFILES \\
25422 dlls/msvcirt/Makefile"
485cc59c 25423test "x$enable_msvcirt" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\
49163da1 25424 msvcirt"
a360e934
AJ
25425ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
25426dlls/msvcirt/Makefile: dlls/msvcirt/Makefile.in dlls/Makedll.rules"
455a4994
AJ
25427ac_config_files="$ac_config_files dlls/msvcirt/Makefile"
25428
a360e934
AJ
25429ALL_MAKEFILES="$ALL_MAKEFILES \\
25430 dlls/msvcr71/Makefile"
485cc59c 25431test "x$enable_msvcr71" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\
49163da1 25432 msvcr71"
a360e934
AJ
25433ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
25434dlls/msvcr71/Makefile: dlls/msvcr71/Makefile.in dlls/Makedll.rules"
67815c6b
HL
25435ac_config_files="$ac_config_files dlls/msvcr71/Makefile"
25436
a360e934
AJ
25437ALL_MAKEFILES="$ALL_MAKEFILES \\
25438 dlls/msvcrt/Makefile"
485cc59c 25439test "x$enable_msvcrt" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\
49163da1 25440 msvcrt"
a360e934
AJ
25441ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
25442dlls/msvcrt/Makefile: dlls/msvcrt/Makefile.in dlls/Makedll.rules"
fbc80d79
MM
25443ac_config_files="$ac_config_files dlls/msvcrt/Makefile"
25444
a360e934
AJ
25445ALL_MAKEFILES="$ALL_MAKEFILES \\
25446 dlls/msvcrt/tests/Makefile"
35078f4b 25447test "x$enable_tests" != xno && ALL_TEST_DIRS="$ALL_TEST_DIRS \\
49163da1 25448 msvcrt/tests"
a360e934
AJ
25449ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
25450dlls/msvcrt/tests/Makefile: dlls/msvcrt/tests/Makefile.in dlls/Maketest.rules"
fbc80d79
MM
25451ac_config_files="$ac_config_files dlls/msvcrt/tests/Makefile"
25452
a360e934
AJ
25453ALL_MAKEFILES="$ALL_MAKEFILES \\
25454 dlls/msvcrt20/Makefile"
485cc59c 25455test "x$enable_msvcrt20" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\
49163da1 25456 msvcrt20"
a360e934
AJ
25457ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
25458dlls/msvcrt20/Makefile: dlls/msvcrt20/Makefile.in dlls/Makedll.rules"
fbc80d79
MM
25459ac_config_files="$ac_config_files dlls/msvcrt20/Makefile"
25460
a360e934
AJ
25461ALL_MAKEFILES="$ALL_MAKEFILES \\
25462 dlls/msvcrt40/Makefile"
485cc59c 25463test "x$enable_msvcrt40" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\
49163da1 25464 msvcrt40"
a360e934
AJ
25465ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
25466dlls/msvcrt40/Makefile: dlls/msvcrt40/Makefile.in dlls/Makedll.rules"
fbc80d79
MM
25467ac_config_files="$ac_config_files dlls/msvcrt40/Makefile"
25468
a360e934
AJ
25469ALL_MAKEFILES="$ALL_MAKEFILES \\
25470 dlls/msvcrtd/Makefile"
485cc59c 25471test "x$enable_msvcrtd" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\
49163da1 25472 msvcrtd"
a360e934
AJ
25473ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
25474dlls/msvcrtd/Makefile: dlls/msvcrtd/Makefile.in dlls/Makedll.rules"
fbc80d79
MM
25475ac_config_files="$ac_config_files dlls/msvcrtd/Makefile"
25476
a360e934
AJ
25477ALL_MAKEFILES="$ALL_MAKEFILES \\
25478 dlls/msvcrtd/tests/Makefile"
35078f4b 25479test "x$enable_tests" != xno && ALL_TEST_DIRS="$ALL_TEST_DIRS \\
49163da1 25480 msvcrtd/tests"
a360e934
AJ
25481ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
25482dlls/msvcrtd/tests/Makefile: dlls/msvcrtd/tests/Makefile.in dlls/Maketest.rules"
fbc80d79
MM
25483ac_config_files="$ac_config_files dlls/msvcrtd/tests/Makefile"
25484
a360e934
AJ
25485ALL_MAKEFILES="$ALL_MAKEFILES \\
25486 dlls/msvfw32/Makefile"
485cc59c 25487test "x$enable_msvfw32" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\
49163da1 25488 msvfw32"
a360e934
AJ
25489ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
25490dlls/msvfw32/Makefile: dlls/msvfw32/Makefile.in dlls/Makedll.rules"
fbc80d79
MM
25491ac_config_files="$ac_config_files dlls/msvfw32/Makefile"
25492
a360e934
AJ
25493ALL_MAKEFILES="$ALL_MAKEFILES \\
25494 dlls/msvidc32/Makefile"
485cc59c 25495test "x$enable_msvidc32" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\
49163da1 25496 msvidc32"
a360e934
AJ
25497ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
25498dlls/msvidc32/Makefile: dlls/msvidc32/Makefile.in dlls/Makedll.rules"
fbc80d79
MM
25499ac_config_files="$ac_config_files dlls/msvidc32/Makefile"
25500
a360e934
AJ
25501ALL_MAKEFILES="$ALL_MAKEFILES \\
25502 dlls/mswsock/Makefile"
485cc59c 25503test "x$enable_mswsock" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\
49163da1 25504 mswsock"
a360e934
AJ
25505ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
25506dlls/mswsock/Makefile: dlls/mswsock/Makefile.in dlls/Makedll.rules"
fbc80d79
MM
25507ac_config_files="$ac_config_files dlls/mswsock/Makefile"
25508
a360e934
AJ
25509ALL_MAKEFILES="$ALL_MAKEFILES \\
25510 dlls/msxml3/Makefile"
485cc59c 25511test "x$enable_msxml3" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\
49163da1 25512 msxml3"
a360e934
AJ
25513ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
25514dlls/msxml3/Makefile: dlls/msxml3/Makefile.in dlls/Makedll.rules"
fbc80d79
MM
25515ac_config_files="$ac_config_files dlls/msxml3/Makefile"
25516
a360e934
AJ
25517ALL_MAKEFILES="$ALL_MAKEFILES \\
25518 dlls/msxml3/tests/Makefile"
35078f4b 25519test "x$enable_tests" != xno && ALL_TEST_DIRS="$ALL_TEST_DIRS \\
49163da1 25520 msxml3/tests"
a360e934
AJ
25521ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
25522dlls/msxml3/tests/Makefile: dlls/msxml3/tests/Makefile.in dlls/Maketest.rules"
fbc80d79
MM
25523ac_config_files="$ac_config_files dlls/msxml3/tests/Makefile"
25524
a360e934
AJ
25525ALL_MAKEFILES="$ALL_MAKEFILES \\
25526 dlls/nddeapi/Makefile"
485cc59c 25527test "x$enable_nddeapi" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\
49163da1 25528 nddeapi"
a360e934
AJ
25529ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
25530dlls/nddeapi/Makefile: dlls/nddeapi/Makefile.in dlls/Makedll.rules"
fbc80d79
MM
25531ac_config_files="$ac_config_files dlls/nddeapi/Makefile"
25532
a360e934
AJ
25533ALL_MAKEFILES="$ALL_MAKEFILES \\
25534 dlls/netapi32/Makefile"
485cc59c 25535test "x$enable_netapi32" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\
49163da1 25536 netapi32"
a360e934
AJ
25537ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
25538dlls/netapi32/Makefile: dlls/netapi32/Makefile.in dlls/Makedll.rules"
fbc80d79
MM
25539ac_config_files="$ac_config_files dlls/netapi32/Makefile"
25540
a360e934
AJ
25541ALL_MAKEFILES="$ALL_MAKEFILES \\
25542 dlls/netapi32/tests/Makefile"
35078f4b 25543test "x$enable_tests" != xno && ALL_TEST_DIRS="$ALL_TEST_DIRS \\
49163da1 25544 netapi32/tests"
a360e934
AJ
25545ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
25546dlls/netapi32/tests/Makefile: dlls/netapi32/tests/Makefile.in dlls/Maketest.rules"
fbc80d79
MM
25547ac_config_files="$ac_config_files dlls/netapi32/tests/Makefile"
25548
a360e934
AJ
25549ALL_MAKEFILES="$ALL_MAKEFILES \\
25550 dlls/newdev/Makefile"
485cc59c 25551test "x$enable_newdev" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\
49163da1 25552 newdev"
a360e934
AJ
25553ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
25554dlls/newdev/Makefile: dlls/newdev/Makefile.in dlls/Makedll.rules"
fbc80d79
MM
25555ac_config_files="$ac_config_files dlls/newdev/Makefile"
25556
a360e934
AJ
25557ALL_MAKEFILES="$ALL_MAKEFILES \\
25558 dlls/ntdll/Makefile"
485cc59c 25559test "x$enable_ntdll" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\
49163da1 25560 ntdll"
a360e934
AJ
25561ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
25562dlls/ntdll/Makefile: dlls/ntdll/Makefile.in dlls/Makedll.rules"
fbc80d79
MM
25563ac_config_files="$ac_config_files dlls/ntdll/Makefile"
25564
a360e934
AJ
25565ALL_MAKEFILES="$ALL_MAKEFILES \\
25566 dlls/ntdll/tests/Makefile"
35078f4b 25567test "x$enable_tests" != xno && ALL_TEST_DIRS="$ALL_TEST_DIRS \\
49163da1 25568 ntdll/tests"
a360e934
AJ
25569ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
25570dlls/ntdll/tests/Makefile: dlls/ntdll/tests/Makefile.in dlls/Maketest.rules"
fbc80d79
MM
25571ac_config_files="$ac_config_files dlls/ntdll/tests/Makefile"
25572
a360e934
AJ
25573ALL_MAKEFILES="$ALL_MAKEFILES \\
25574 dlls/ntdsapi/Makefile"
485cc59c 25575test "x$enable_ntdsapi" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\
49163da1 25576 ntdsapi"
a360e934
AJ
25577ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
25578dlls/ntdsapi/Makefile: dlls/ntdsapi/Makefile.in dlls/Makedll.rules"
fbc80d79
MM
25579ac_config_files="$ac_config_files dlls/ntdsapi/Makefile"
25580
a360e934
AJ
25581ALL_MAKEFILES="$ALL_MAKEFILES \\
25582 dlls/ntdsapi/tests/Makefile"
35078f4b 25583test "x$enable_tests" != xno && ALL_TEST_DIRS="$ALL_TEST_DIRS \\
49163da1 25584 ntdsapi/tests"
a360e934
AJ
25585ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
25586dlls/ntdsapi/tests/Makefile: dlls/ntdsapi/tests/Makefile.in dlls/Maketest.rules"
5db45041
RS
25587ac_config_files="$ac_config_files dlls/ntdsapi/tests/Makefile"
25588
a360e934
AJ
25589ALL_MAKEFILES="$ALL_MAKEFILES \\
25590 dlls/ntoskrnl.exe/Makefile"
485cc59c 25591test "x$enable_ntoskrnl_exe" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\
49163da1 25592 ntoskrnl.exe"
a360e934
AJ
25593ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
25594dlls/ntoskrnl.exe/Makefile: dlls/ntoskrnl.exe/Makefile.in dlls/Makedll.rules"
12c169d2
AJ
25595ac_config_files="$ac_config_files dlls/ntoskrnl.exe/Makefile"
25596
a360e934
AJ
25597ALL_MAKEFILES="$ALL_MAKEFILES \\
25598 dlls/ntprint/Makefile"
485cc59c 25599test "x$enable_ntprint" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\
49163da1 25600 ntprint"
a360e934
AJ
25601ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
25602dlls/ntprint/Makefile: dlls/ntprint/Makefile.in dlls/Makedll.rules"
a8697b58
DR
25603ac_config_files="$ac_config_files dlls/ntprint/Makefile"
25604
a360e934
AJ
25605ALL_MAKEFILES="$ALL_MAKEFILES \\
25606 dlls/ntprint/tests/Makefile"
35078f4b 25607test "x$enable_tests" != xno && ALL_TEST_DIRS="$ALL_TEST_DIRS \\
49163da1 25608 ntprint/tests"
a360e934
AJ
25609ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
25610dlls/ntprint/tests/Makefile: dlls/ntprint/tests/Makefile.in dlls/Maketest.rules"
a114483e
DR
25611ac_config_files="$ac_config_files dlls/ntprint/tests/Makefile"
25612
a360e934
AJ
25613ALL_MAKEFILES="$ALL_MAKEFILES \\
25614 dlls/objsel/Makefile"
485cc59c 25615test "x$enable_objsel" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\
49163da1 25616 objsel"
a360e934
AJ
25617ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
25618dlls/objsel/Makefile: dlls/objsel/Makefile.in dlls/Makedll.rules"
fbc80d79
MM
25619ac_config_files="$ac_config_files dlls/objsel/Makefile"
25620
a360e934
AJ
25621ALL_MAKEFILES="$ALL_MAKEFILES \\
25622 dlls/odbc32/Makefile"
485cc59c 25623test "x$enable_odbc32" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\
49163da1 25624 odbc32"
a360e934
AJ
25625ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
25626dlls/odbc32/Makefile: dlls/odbc32/Makefile.in dlls/Makedll.rules"
fbc80d79
MM
25627ac_config_files="$ac_config_files dlls/odbc32/Makefile"
25628
a360e934
AJ
25629ALL_MAKEFILES="$ALL_MAKEFILES \\
25630 dlls/odbccp32/Makefile"
485cc59c 25631test "x$enable_odbccp32" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\
49163da1 25632 odbccp32"
a360e934
AJ
25633ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
25634dlls/odbccp32/Makefile: dlls/odbccp32/Makefile.in dlls/Makedll.rules"
fbc80d79
MM
25635ac_config_files="$ac_config_files dlls/odbccp32/Makefile"
25636
a360e934
AJ
25637ALL_MAKEFILES="$ALL_MAKEFILES \\
25638 dlls/odbccp32/tests/Makefile"
35078f4b 25639test "x$enable_tests" != xno && ALL_TEST_DIRS="$ALL_TEST_DIRS \\
49163da1 25640 odbccp32/tests"
a360e934
AJ
25641ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
25642dlls/odbccp32/tests/Makefile: dlls/odbccp32/tests/Makefile.in dlls/Maketest.rules"
fbc80d79
MM
25643ac_config_files="$ac_config_files dlls/odbccp32/tests/Makefile"
25644
a360e934
AJ
25645ALL_MAKEFILES="$ALL_MAKEFILES \\
25646 dlls/ole32/Makefile"
485cc59c 25647test "x$enable_ole32" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\
49163da1 25648 ole32"
a360e934
AJ
25649ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
25650dlls/ole32/Makefile: dlls/ole32/Makefile.in dlls/Makedll.rules"
fbc80d79
MM
25651ac_config_files="$ac_config_files dlls/ole32/Makefile"
25652
a360e934
AJ
25653ALL_MAKEFILES="$ALL_MAKEFILES \\
25654 dlls/ole32/tests/Makefile"
35078f4b 25655test "x$enable_tests" != xno && ALL_TEST_DIRS="$ALL_TEST_DIRS \\
49163da1 25656 ole32/tests"
a360e934
AJ
25657ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
25658dlls/ole32/tests/Makefile: dlls/ole32/tests/Makefile.in dlls/Maketest.rules"
fbc80d79
MM
25659ac_config_files="$ac_config_files dlls/ole32/tests/Makefile"
25660
a360e934
AJ
25661ALL_MAKEFILES="$ALL_MAKEFILES \\
25662 dlls/oleacc/Makefile"
485cc59c 25663test "x$enable_oleacc" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\
49163da1 25664 oleacc"
a360e934
AJ
25665ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
25666dlls/oleacc/Makefile: dlls/oleacc/Makefile.in dlls/Makedll.rules"
fbc80d79
MM
25667ac_config_files="$ac_config_files dlls/oleacc/Makefile"
25668
e2399a96
NS
25669ALL_MAKEFILES="$ALL_MAKEFILES \\
25670 dlls/oleacc/tests/Makefile"
35078f4b 25671test "x$enable_tests" != xno && ALL_TEST_DIRS="$ALL_TEST_DIRS \\
e2399a96
NS
25672 oleacc/tests"
25673ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
25674dlls/oleacc/tests/Makefile: dlls/oleacc/tests/Makefile.in dlls/Maketest.rules"
25675ac_config_files="$ac_config_files dlls/oleacc/tests/Makefile"
25676
a360e934
AJ
25677ALL_MAKEFILES="$ALL_MAKEFILES \\
25678 dlls/oleaut32/Makefile"
485cc59c 25679test "x$enable_oleaut32" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\
49163da1 25680 oleaut32"
a360e934
AJ
25681ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
25682dlls/oleaut32/Makefile: dlls/oleaut32/Makefile.in dlls/Makedll.rules"
fbc80d79
MM
25683ac_config_files="$ac_config_files dlls/oleaut32/Makefile"
25684
a360e934
AJ
25685ALL_MAKEFILES="$ALL_MAKEFILES \\
25686 dlls/oleaut32/tests/Makefile"
35078f4b 25687test "x$enable_tests" != xno && ALL_TEST_DIRS="$ALL_TEST_DIRS \\
49163da1 25688 oleaut32/tests"
a360e934
AJ
25689ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
25690dlls/oleaut32/tests/Makefile: dlls/oleaut32/tests/Makefile.in dlls/Maketest.rules"
fbc80d79
MM
25691ac_config_files="$ac_config_files dlls/oleaut32/tests/Makefile"
25692
a360e934
AJ
25693ALL_MAKEFILES="$ALL_MAKEFILES \\
25694 dlls/olecli32/Makefile"
485cc59c 25695test "x$enable_olecli32" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\
49163da1 25696 olecli32"
a360e934
AJ
25697ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
25698dlls/olecli32/Makefile: dlls/olecli32/Makefile.in dlls/Makedll.rules"
fbc80d79
MM
25699ac_config_files="$ac_config_files dlls/olecli32/Makefile"
25700
a360e934
AJ
25701ALL_MAKEFILES="$ALL_MAKEFILES \\
25702 dlls/oledlg/Makefile"
485cc59c 25703test "x$enable_oledlg" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\
49163da1 25704 oledlg"
a360e934
AJ
25705ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
25706dlls/oledlg/Makefile: dlls/oledlg/Makefile.in dlls/Makedll.rules"
fbc80d79
MM
25707ac_config_files="$ac_config_files dlls/oledlg/Makefile"
25708
a360e934
AJ
25709ALL_MAKEFILES="$ALL_MAKEFILES \\
25710 dlls/olepro32/Makefile"
485cc59c 25711test "x$enable_olepro32" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\
49163da1 25712 olepro32"
a360e934
AJ
25713ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
25714dlls/olepro32/Makefile: dlls/olepro32/Makefile.in dlls/Makedll.rules"
fbc80d79
MM
25715ac_config_files="$ac_config_files dlls/olepro32/Makefile"
25716
a360e934
AJ
25717ALL_MAKEFILES="$ALL_MAKEFILES \\
25718 dlls/olesvr32/Makefile"
485cc59c 25719test "x$enable_olesvr32" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\
49163da1 25720 olesvr32"
a360e934
AJ
25721ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
25722dlls/olesvr32/Makefile: dlls/olesvr32/Makefile.in dlls/Makedll.rules"
fbc80d79
MM
25723ac_config_files="$ac_config_files dlls/olesvr32/Makefile"
25724
a360e934
AJ
25725ALL_MAKEFILES="$ALL_MAKEFILES \\
25726 dlls/olethk32/Makefile"
485cc59c 25727test "x$enable_olethk32" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\
49163da1 25728 olethk32"
a360e934
AJ
25729ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
25730dlls/olethk32/Makefile: dlls/olethk32/Makefile.in dlls/Makedll.rules"
7db1bd9f
SL
25731ac_config_files="$ac_config_files dlls/olethk32/Makefile"
25732
a360e934
AJ
25733ALL_MAKEFILES="$ALL_MAKEFILES \\
25734 dlls/opengl32/Makefile"
485cc59c 25735test "x$enable_opengl32" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\
49163da1 25736 opengl32"
a360e934
AJ
25737ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
25738dlls/opengl32/Makefile: dlls/opengl32/Makefile.in dlls/Makedll.rules"
fbc80d79
MM
25739ac_config_files="$ac_config_files dlls/opengl32/Makefile"
25740
a360e934
AJ
25741ALL_MAKEFILES="$ALL_MAKEFILES \\
25742 dlls/opengl32/tests/Makefile"
35078f4b 25743test "x$enable_tests" != xno && ALL_TEST_DIRS="$ALL_TEST_DIRS \\
49163da1 25744 opengl32/tests"
a360e934
AJ
25745ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
25746dlls/opengl32/tests/Makefile: dlls/opengl32/tests/Makefile.in dlls/Maketest.rules"
219269c0
RC
25747ac_config_files="$ac_config_files dlls/opengl32/tests/Makefile"
25748
a360e934
AJ
25749ALL_MAKEFILES="$ALL_MAKEFILES \\
25750 dlls/pdh/Makefile"
485cc59c 25751test "x$enable_pdh" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\
49163da1 25752 pdh"
a360e934
AJ
25753ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
25754dlls/pdh/Makefile: dlls/pdh/Makefile.in dlls/Makedll.rules"
41f15a76
AT
25755ac_config_files="$ac_config_files dlls/pdh/Makefile"
25756
a360e934
AJ
25757ALL_MAKEFILES="$ALL_MAKEFILES \\
25758 dlls/pdh/tests/Makefile"
35078f4b 25759test "x$enable_tests" != xno && ALL_TEST_DIRS="$ALL_TEST_DIRS \\
49163da1 25760 pdh/tests"
a360e934
AJ
25761ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
25762dlls/pdh/tests/Makefile: dlls/pdh/tests/Makefile.in dlls/Maketest.rules"
0a6f6874
HL
25763ac_config_files="$ac_config_files dlls/pdh/tests/Makefile"
25764
a360e934
AJ
25765ALL_MAKEFILES="$ALL_MAKEFILES \\
25766 dlls/powrprof/Makefile"
485cc59c 25767test "x$enable_powrprof" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\
49163da1 25768 powrprof"
a360e934
AJ
25769ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
25770dlls/powrprof/Makefile: dlls/powrprof/Makefile.in dlls/Makedll.rules"
fbc80d79
MM
25771ac_config_files="$ac_config_files dlls/powrprof/Makefile"
25772
a360e934
AJ
25773ALL_MAKEFILES="$ALL_MAKEFILES \\
25774 dlls/printui/Makefile"
485cc59c 25775test "x$enable_printui" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\
49163da1 25776 printui"
a360e934
AJ
25777ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
25778dlls/printui/Makefile: dlls/printui/Makefile.in dlls/Makedll.rules"
3fd4a536
DR
25779ac_config_files="$ac_config_files dlls/printui/Makefile"
25780
a360e934
AJ
25781ALL_MAKEFILES="$ALL_MAKEFILES \\
25782 dlls/propsys/Makefile"
485cc59c 25783test "x$enable_propsys" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\
49163da1 25784 propsys"
a360e934
AJ
25785ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
25786dlls/propsys/Makefile: dlls/propsys/Makefile.in dlls/Makedll.rules"
07588027
JH
25787ac_config_files="$ac_config_files dlls/propsys/Makefile"
25788
a360e934
AJ
25789ALL_MAKEFILES="$ALL_MAKEFILES \\
25790 dlls/psapi/Makefile"
485cc59c 25791test "x$enable_psapi" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\
49163da1 25792 psapi"
a360e934
AJ
25793ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
25794dlls/psapi/Makefile: dlls/psapi/Makefile.in dlls/Makedll.rules"
fbc80d79
MM
25795ac_config_files="$ac_config_files dlls/psapi/Makefile"
25796
a360e934
AJ
25797ALL_MAKEFILES="$ALL_MAKEFILES \\
25798 dlls/psapi/tests/Makefile"
35078f4b 25799test "x$enable_tests" != xno && ALL_TEST_DIRS="$ALL_TEST_DIRS \\
49163da1 25800 psapi/tests"
a360e934
AJ
25801ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
25802dlls/psapi/tests/Makefile: dlls/psapi/tests/Makefile.in dlls/Maketest.rules"
fbc80d79
MM
25803ac_config_files="$ac_config_files dlls/psapi/tests/Makefile"
25804
a360e934
AJ
25805ALL_MAKEFILES="$ALL_MAKEFILES \\
25806 dlls/pstorec/Makefile"
485cc59c 25807test "x$enable_pstorec" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\
49163da1 25808 pstorec"
a360e934
AJ
25809ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
25810dlls/pstorec/Makefile: dlls/pstorec/Makefile.in dlls/Makedll.rules"
fbc80d79
MM
25811ac_config_files="$ac_config_files dlls/pstorec/Makefile"
25812
a360e934
AJ
25813ALL_MAKEFILES="$ALL_MAKEFILES \\
25814 dlls/qcap/Makefile"
485cc59c 25815test "x$enable_qcap" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\
49163da1 25816 qcap"
a360e934
AJ
25817ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
25818dlls/qcap/Makefile: dlls/qcap/Makefile.in dlls/Makedll.rules"
fbc80d79
MM
25819ac_config_files="$ac_config_files dlls/qcap/Makefile"
25820
a360e934
AJ
25821ALL_MAKEFILES="$ALL_MAKEFILES \\
25822 dlls/qedit/Makefile"
485cc59c 25823test "x$enable_qedit" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\
49163da1 25824 qedit"
a360e934
AJ
25825ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
25826dlls/qedit/Makefile: dlls/qedit/Makefile.in dlls/Makedll.rules"
6de8be71
LZ
25827ac_config_files="$ac_config_files dlls/qedit/Makefile"
25828
a360e934
AJ
25829ALL_MAKEFILES="$ALL_MAKEFILES \\
25830 dlls/qedit/tests/Makefile"
35078f4b 25831test "x$enable_tests" != xno && ALL_TEST_DIRS="$ALL_TEST_DIRS \\
49163da1 25832 qedit/tests"
a360e934
AJ
25833ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
25834dlls/qedit/tests/Makefile: dlls/qedit/tests/Makefile.in dlls/Maketest.rules"
e8551a07
LZ
25835ac_config_files="$ac_config_files dlls/qedit/tests/Makefile"
25836
a360e934
AJ
25837ALL_MAKEFILES="$ALL_MAKEFILES \\
25838 dlls/qmgr/Makefile"
485cc59c 25839test "x$enable_qmgr" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\
49163da1 25840 qmgr"
a360e934
AJ
25841ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
25842dlls/qmgr/Makefile: dlls/qmgr/Makefile.in dlls/Makedll.rules"
2b0255f6
RS
25843ac_config_files="$ac_config_files dlls/qmgr/Makefile"
25844
a360e934
AJ
25845ALL_MAKEFILES="$ALL_MAKEFILES \\
25846 dlls/qmgr/tests/Makefile"
35078f4b 25847test "x$enable_tests" != xno && ALL_TEST_DIRS="$ALL_TEST_DIRS \\
49163da1 25848 qmgr/tests"
a360e934
AJ
25849ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
25850dlls/qmgr/tests/Makefile: dlls/qmgr/tests/Makefile.in dlls/Maketest.rules"
884e7e7b
RS
25851ac_config_files="$ac_config_files dlls/qmgr/tests/Makefile"
25852
a360e934
AJ
25853ALL_MAKEFILES="$ALL_MAKEFILES \\
25854 dlls/qmgrprxy/Makefile"
485cc59c 25855test "x$enable_qmgrprxy" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\
49163da1 25856 qmgrprxy"
a360e934
AJ
25857ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
25858dlls/qmgrprxy/Makefile: dlls/qmgrprxy/Makefile.in dlls/Makedll.rules"
00ef4e58
RS
25859ac_config_files="$ac_config_files dlls/qmgrprxy/Makefile"
25860
a360e934
AJ
25861ALL_MAKEFILES="$ALL_MAKEFILES \\
25862 dlls/quartz/Makefile"
485cc59c 25863test "x$enable_quartz" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\
49163da1 25864 quartz"
a360e934
AJ
25865ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
25866dlls/quartz/Makefile: dlls/quartz/Makefile.in dlls/Makedll.rules"
fbc80d79
MM
25867ac_config_files="$ac_config_files dlls/quartz/Makefile"
25868
a360e934
AJ
25869ALL_MAKEFILES="$ALL_MAKEFILES \\
25870 dlls/quartz/tests/Makefile"
35078f4b 25871test "x$enable_tests" != xno && ALL_TEST_DIRS="$ALL_TEST_DIRS \\
49163da1 25872 quartz/tests"
a360e934
AJ
25873ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
25874dlls/quartz/tests/Makefile: dlls/quartz/tests/Makefile.in dlls/Maketest.rules"
fbc80d79
MM
25875ac_config_files="$ac_config_files dlls/quartz/tests/Makefile"
25876
a360e934
AJ
25877ALL_MAKEFILES="$ALL_MAKEFILES \\
25878 dlls/query/Makefile"
485cc59c 25879test "x$enable_query" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\
49163da1 25880 query"
a360e934
AJ
25881ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
25882dlls/query/Makefile: dlls/query/Makefile.in dlls/Makedll.rules"
fbc80d79
MM
25883ac_config_files="$ac_config_files dlls/query/Makefile"
25884
a360e934
AJ
25885ALL_MAKEFILES="$ALL_MAKEFILES \\
25886 dlls/rasapi32/Makefile"
485cc59c 25887test "x$enable_rasapi32" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\
49163da1 25888 rasapi32"
a360e934
AJ
25889ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
25890dlls/rasapi32/Makefile: dlls/rasapi32/Makefile.in dlls/Makedll.rules"
fbc80d79
MM
25891ac_config_files="$ac_config_files dlls/rasapi32/Makefile"
25892
a360e934
AJ
25893ALL_MAKEFILES="$ALL_MAKEFILES \\
25894 dlls/rasapi32/tests/Makefile"
35078f4b 25895test "x$enable_tests" != xno && ALL_TEST_DIRS="$ALL_TEST_DIRS \\
49163da1 25896 rasapi32/tests"
a360e934
AJ
25897ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
25898dlls/rasapi32/tests/Makefile: dlls/rasapi32/tests/Makefile.in dlls/Maketest.rules"
b8c6d8e5
SL
25899ac_config_files="$ac_config_files dlls/rasapi32/tests/Makefile"
25900
a360e934
AJ
25901ALL_MAKEFILES="$ALL_MAKEFILES \\
25902 dlls/resutils/Makefile"
485cc59c 25903test "x$enable_resutils" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\
49163da1 25904 resutils"
a360e934
AJ
25905ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
25906dlls/resutils/Makefile: dlls/resutils/Makefile.in dlls/Makedll.rules"
fbc80d79
MM
25907ac_config_files="$ac_config_files dlls/resutils/Makefile"
25908
a360e934
AJ
25909ALL_MAKEFILES="$ALL_MAKEFILES \\
25910 dlls/riched20/Makefile"
485cc59c 25911test "x$enable_riched20" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\
49163da1 25912 riched20"
a360e934
AJ
25913ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
25914dlls/riched20/Makefile: dlls/riched20/Makefile.in dlls/Makedll.rules"
fbc80d79
MM
25915ac_config_files="$ac_config_files dlls/riched20/Makefile"
25916
a360e934
AJ
25917ALL_MAKEFILES="$ALL_MAKEFILES \\
25918 dlls/riched20/tests/Makefile"
35078f4b 25919test "x$enable_tests" != xno && ALL_TEST_DIRS="$ALL_TEST_DIRS \\
49163da1 25920 riched20/tests"
a360e934
AJ
25921ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
25922dlls/riched20/tests/Makefile: dlls/riched20/tests/Makefile.in dlls/Maketest.rules"
fbc80d79
MM
25923ac_config_files="$ac_config_files dlls/riched20/tests/Makefile"
25924
a360e934
AJ
25925ALL_MAKEFILES="$ALL_MAKEFILES \\
25926 dlls/riched32/Makefile"
485cc59c 25927test "x$enable_riched32" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\
49163da1 25928 riched32"
a360e934
AJ
25929ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
25930dlls/riched32/Makefile: dlls/riched32/Makefile.in dlls/Makedll.rules"
fbc80d79
MM
25931ac_config_files="$ac_config_files dlls/riched32/Makefile"
25932
a360e934
AJ
25933ALL_MAKEFILES="$ALL_MAKEFILES \\
25934 dlls/riched32/tests/Makefile"
35078f4b 25935test "x$enable_tests" != xno && ALL_TEST_DIRS="$ALL_TEST_DIRS \\
49163da1 25936 riched32/tests"
a360e934
AJ
25937ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
25938dlls/riched32/tests/Makefile: dlls/riched32/tests/Makefile.in dlls/Maketest.rules"
74cd5903
AVL
25939ac_config_files="$ac_config_files dlls/riched32/tests/Makefile"
25940
a360e934
AJ
25941ALL_MAKEFILES="$ALL_MAKEFILES \\
25942 dlls/rpcrt4/Makefile"
485cc59c 25943test "x$enable_rpcrt4" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\
49163da1 25944 rpcrt4"
a360e934
AJ
25945ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
25946dlls/rpcrt4/Makefile: dlls/rpcrt4/Makefile.in dlls/Makedll.rules"
fbc80d79
MM
25947ac_config_files="$ac_config_files dlls/rpcrt4/Makefile"
25948
a360e934
AJ
25949ALL_MAKEFILES="$ALL_MAKEFILES \\
25950 dlls/rpcrt4/tests/Makefile"
35078f4b 25951test "x$enable_tests" != xno && ALL_TEST_DIRS="$ALL_TEST_DIRS \\
49163da1 25952 rpcrt4/tests"
a360e934
AJ
25953ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
25954dlls/rpcrt4/tests/Makefile: dlls/rpcrt4/tests/Makefile.in dlls/Maketest.rules"
fbc80d79
MM
25955ac_config_files="$ac_config_files dlls/rpcrt4/tests/Makefile"
25956
a360e934
AJ
25957ALL_MAKEFILES="$ALL_MAKEFILES \\
25958 dlls/rsabase/Makefile"
485cc59c 25959test "x$enable_rsabase" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\
49163da1 25960 rsabase"
a360e934
AJ
25961ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
25962dlls/rsabase/Makefile: dlls/rsabase/Makefile.in dlls/Makedll.rules"
fbc80d79
MM
25963ac_config_files="$ac_config_files dlls/rsabase/Makefile"
25964
a360e934
AJ
25965ALL_MAKEFILES="$ALL_MAKEFILES \\
25966 dlls/rsaenh/Makefile"
485cc59c 25967test "x$enable_rsaenh" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\
49163da1 25968 rsaenh"
a360e934
AJ
25969ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
25970dlls/rsaenh/Makefile: dlls/rsaenh/Makefile.in dlls/Makedll.rules"
fbc80d79
MM
25971ac_config_files="$ac_config_files dlls/rsaenh/Makefile"
25972
a360e934
AJ
25973ALL_MAKEFILES="$ALL_MAKEFILES \\
25974 dlls/rsaenh/tests/Makefile"
35078f4b 25975test "x$enable_tests" != xno && ALL_TEST_DIRS="$ALL_TEST_DIRS \\
49163da1 25976 rsaenh/tests"
a360e934
AJ
25977ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
25978dlls/rsaenh/tests/Makefile: dlls/rsaenh/tests/Makefile.in dlls/Maketest.rules"
fbc80d79
MM
25979ac_config_files="$ac_config_files dlls/rsaenh/tests/Makefile"
25980
a360e934
AJ
25981ALL_MAKEFILES="$ALL_MAKEFILES \\
25982 dlls/sane.ds/Makefile"
485cc59c 25983test "x$enable_sane_ds" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\
49163da1 25984 sane.ds"
a360e934
AJ
25985ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
25986dlls/sane.ds/Makefile: dlls/sane.ds/Makefile.in dlls/Makedll.rules"
fbc80d79
MM
25987ac_config_files="$ac_config_files dlls/sane.ds/Makefile"
25988
a360e934
AJ
25989ALL_MAKEFILES="$ALL_MAKEFILES \\
25990 dlls/sccbase/Makefile"
485cc59c 25991test "x$enable_sccbase" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\
49163da1 25992 sccbase"
a360e934
AJ
25993ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
25994dlls/sccbase/Makefile: dlls/sccbase/Makefile.in dlls/Makedll.rules"
322d4cab
ML
25995ac_config_files="$ac_config_files dlls/sccbase/Makefile"
25996
a360e934
AJ
25997ALL_MAKEFILES="$ALL_MAKEFILES \\
25998 dlls/schannel/Makefile"
485cc59c 25999test "x$enable_schannel" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\
49163da1 26000 schannel"
a360e934
AJ
26001ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
26002dlls/schannel/Makefile: dlls/schannel/Makefile.in dlls/Makedll.rules"
361c6f20
RS
26003ac_config_files="$ac_config_files dlls/schannel/Makefile"
26004
a360e934
AJ
26005ALL_MAKEFILES="$ALL_MAKEFILES \\
26006 dlls/schannel/tests/Makefile"
35078f4b 26007test "x$enable_tests" != xno && ALL_TEST_DIRS="$ALL_TEST_DIRS \\
49163da1 26008 schannel/tests"
a360e934
AJ
26009ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
26010dlls/schannel/tests/Makefile: dlls/schannel/tests/Makefile.in dlls/Maketest.rules"
735df246
YF
26011ac_config_files="$ac_config_files dlls/schannel/tests/Makefile"
26012
a360e934
AJ
26013ALL_MAKEFILES="$ALL_MAKEFILES \\
26014 dlls/secur32/Makefile"
485cc59c 26015test "x$enable_secur32" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\
49163da1 26016 secur32"
a360e934
AJ
26017ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
26018dlls/secur32/Makefile: dlls/secur32/Makefile.in dlls/Makedll.rules"
fbc80d79
MM
26019ac_config_files="$ac_config_files dlls/secur32/Makefile"
26020
a360e934
AJ
26021ALL_MAKEFILES="$ALL_MAKEFILES \\
26022 dlls/secur32/tests/Makefile"
35078f4b 26023test "x$enable_tests" != xno && ALL_TEST_DIRS="$ALL_TEST_DIRS \\
49163da1 26024 secur32/tests"
a360e934
AJ
26025ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
26026dlls/secur32/tests/Makefile: dlls/secur32/tests/Makefile.in dlls/Maketest.rules"
fbc80d79
MM
26027ac_config_files="$ac_config_files dlls/secur32/tests/Makefile"
26028
a360e934
AJ
26029ALL_MAKEFILES="$ALL_MAKEFILES \\
26030 dlls/security/Makefile"
485cc59c 26031test "x$enable_security" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\
49163da1 26032 security"
a360e934
AJ
26033ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
26034dlls/security/Makefile: dlls/security/Makefile.in dlls/Makedll.rules"
fbc80d79
MM
26035ac_config_files="$ac_config_files dlls/security/Makefile"
26036
a360e934
AJ
26037ALL_MAKEFILES="$ALL_MAKEFILES \\
26038 dlls/sensapi/Makefile"
485cc59c 26039test "x$enable_sensapi" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\
49163da1 26040 sensapi"
a360e934
AJ
26041ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
26042dlls/sensapi/Makefile: dlls/sensapi/Makefile.in dlls/Makedll.rules"
fbc80d79
MM
26043ac_config_files="$ac_config_files dlls/sensapi/Makefile"
26044
a360e934
AJ
26045ALL_MAKEFILES="$ALL_MAKEFILES \\
26046 dlls/serialui/Makefile"
485cc59c 26047test "x$enable_serialui" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\
49163da1 26048 serialui"
a360e934
AJ
26049ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
26050dlls/serialui/Makefile: dlls/serialui/Makefile.in dlls/Makedll.rules"
fbc80d79
MM
26051ac_config_files="$ac_config_files dlls/serialui/Makefile"
26052
a360e934
AJ
26053ALL_MAKEFILES="$ALL_MAKEFILES \\
26054 dlls/serialui/tests/Makefile"
35078f4b 26055test "x$enable_tests" != xno && ALL_TEST_DIRS="$ALL_TEST_DIRS \\
49163da1 26056 serialui/tests"
a360e934
AJ
26057ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
26058dlls/serialui/tests/Makefile: dlls/serialui/tests/Makefile.in dlls/Maketest.rules"
fbc80d79
MM
26059ac_config_files="$ac_config_files dlls/serialui/tests/Makefile"
26060
a360e934
AJ
26061ALL_MAKEFILES="$ALL_MAKEFILES \\
26062 dlls/setupapi/Makefile"
485cc59c 26063test "x$enable_setupapi" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\
49163da1 26064 setupapi"
a360e934
AJ
26065ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
26066dlls/setupapi/Makefile: dlls/setupapi/Makefile.in dlls/Makedll.rules"
fbc80d79
MM
26067ac_config_files="$ac_config_files dlls/setupapi/Makefile"
26068
a360e934
AJ
26069ALL_MAKEFILES="$ALL_MAKEFILES \\
26070 dlls/setupapi/tests/Makefile"
35078f4b 26071test "x$enable_tests" != xno && ALL_TEST_DIRS="$ALL_TEST_DIRS \\
49163da1 26072 setupapi/tests"
a360e934
AJ
26073ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
26074dlls/setupapi/tests/Makefile: dlls/setupapi/tests/Makefile.in dlls/Maketest.rules"
fbc80d79
MM
26075ac_config_files="$ac_config_files dlls/setupapi/tests/Makefile"
26076
a360e934
AJ
26077ALL_MAKEFILES="$ALL_MAKEFILES \\
26078 dlls/sfc/Makefile"
485cc59c 26079test "x$enable_sfc" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\
49163da1 26080 sfc"
a360e934
AJ
26081ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
26082dlls/sfc/Makefile: dlls/sfc/Makefile.in dlls/Makedll.rules"
fbc80d79
MM
26083ac_config_files="$ac_config_files dlls/sfc/Makefile"
26084
a360e934
AJ
26085ALL_MAKEFILES="$ALL_MAKEFILES \\
26086 dlls/sfc_os/Makefile"
485cc59c 26087test "x$enable_sfc_os" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\
49163da1 26088 sfc_os"
a360e934
AJ
26089ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
26090dlls/sfc_os/Makefile: dlls/sfc_os/Makefile.in dlls/Makedll.rules"
fbc80d79
MM
26091ac_config_files="$ac_config_files dlls/sfc_os/Makefile"
26092
a360e934
AJ
26093ALL_MAKEFILES="$ALL_MAKEFILES \\
26094 dlls/shdoclc/Makefile"
485cc59c 26095test "x$enable_shdoclc" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\
49163da1 26096 shdoclc"
a360e934
AJ
26097ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
26098dlls/shdoclc/Makefile: dlls/shdoclc/Makefile.in dlls/Makedll.rules"
fbc80d79
MM
26099ac_config_files="$ac_config_files dlls/shdoclc/Makefile"
26100
a360e934
AJ
26101ALL_MAKEFILES="$ALL_MAKEFILES \\
26102 dlls/shdocvw/Makefile"
485cc59c 26103test "x$enable_shdocvw" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\
49163da1 26104 shdocvw"
a360e934
AJ
26105ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
26106dlls/shdocvw/Makefile: dlls/shdocvw/Makefile.in dlls/Makedll.rules"
fbc80d79
MM
26107ac_config_files="$ac_config_files dlls/shdocvw/Makefile"
26108
a360e934
AJ
26109ALL_MAKEFILES="$ALL_MAKEFILES \\
26110 dlls/shdocvw/tests/Makefile"
35078f4b 26111test "x$enable_tests" != xno && ALL_TEST_DIRS="$ALL_TEST_DIRS \\
49163da1 26112 shdocvw/tests"
a360e934
AJ
26113ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
26114dlls/shdocvw/tests/Makefile: dlls/shdocvw/tests/Makefile.in dlls/Maketest.rules"
fbc80d79
MM
26115ac_config_files="$ac_config_files dlls/shdocvw/tests/Makefile"
26116
a360e934
AJ
26117ALL_MAKEFILES="$ALL_MAKEFILES \\
26118 dlls/shell32/Makefile"
485cc59c 26119test "x$enable_shell32" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\
49163da1 26120 shell32"
a360e934
AJ
26121ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
26122dlls/shell32/Makefile: dlls/shell32/Makefile.in dlls/Makedll.rules"
fbc80d79
MM
26123ac_config_files="$ac_config_files dlls/shell32/Makefile"
26124
a360e934
AJ
26125ALL_MAKEFILES="$ALL_MAKEFILES \\
26126 dlls/shell32/tests/Makefile"
35078f4b 26127test "x$enable_tests" != xno && ALL_TEST_DIRS="$ALL_TEST_DIRS \\
49163da1 26128 shell32/tests"
a360e934
AJ
26129ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
26130dlls/shell32/tests/Makefile: dlls/shell32/tests/Makefile.in dlls/Maketest.rules"
fbc80d79
MM
26131ac_config_files="$ac_config_files dlls/shell32/tests/Makefile"
26132
a360e934
AJ
26133ALL_MAKEFILES="$ALL_MAKEFILES \\
26134 dlls/shfolder/Makefile"
485cc59c 26135test "x$enable_shfolder" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\
49163da1 26136 shfolder"
a360e934
AJ
26137ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
26138dlls/shfolder/Makefile: dlls/shfolder/Makefile.in dlls/Makedll.rules"
fbc80d79
MM
26139ac_config_files="$ac_config_files dlls/shfolder/Makefile"
26140
a360e934
AJ
26141ALL_MAKEFILES="$ALL_MAKEFILES \\
26142 dlls/shlwapi/Makefile"
485cc59c 26143test "x$enable_shlwapi" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\
49163da1 26144 shlwapi"
a360e934
AJ
26145ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
26146dlls/shlwapi/Makefile: dlls/shlwapi/Makefile.in dlls/Makedll.rules"
fbc80d79
MM
26147ac_config_files="$ac_config_files dlls/shlwapi/Makefile"
26148
a360e934
AJ
26149ALL_MAKEFILES="$ALL_MAKEFILES \\
26150 dlls/shlwapi/tests/Makefile"
35078f4b 26151test "x$enable_tests" != xno && ALL_TEST_DIRS="$ALL_TEST_DIRS \\
49163da1 26152 shlwapi/tests"
a360e934
AJ
26153ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
26154dlls/shlwapi/tests/Makefile: dlls/shlwapi/tests/Makefile.in dlls/Maketest.rules"
fbc80d79
MM
26155ac_config_files="$ac_config_files dlls/shlwapi/tests/Makefile"
26156
a360e934
AJ
26157ALL_MAKEFILES="$ALL_MAKEFILES \\
26158 dlls/slbcsp/Makefile"
485cc59c 26159test "x$enable_slbcsp" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\
49163da1 26160 slbcsp"
a360e934
AJ
26161ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
26162dlls/slbcsp/Makefile: dlls/slbcsp/Makefile.in dlls/Makedll.rules"
b3a9699a
ML
26163ac_config_files="$ac_config_files dlls/slbcsp/Makefile"
26164
a360e934
AJ
26165ALL_MAKEFILES="$ALL_MAKEFILES \\
26166 dlls/slc/Makefile"
485cc59c 26167test "x$enable_slc" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\
49163da1 26168 slc"
a360e934
AJ
26169ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
26170dlls/slc/Makefile: dlls/slc/Makefile.in dlls/Makedll.rules"
ea563709
ALH
26171ac_config_files="$ac_config_files dlls/slc/Makefile"
26172
a360e934
AJ
26173ALL_MAKEFILES="$ALL_MAKEFILES \\
26174 dlls/snmpapi/Makefile"
485cc59c 26175test "x$enable_snmpapi" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\
49163da1 26176 snmpapi"
a360e934
AJ
26177ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
26178dlls/snmpapi/Makefile: dlls/snmpapi/Makefile.in dlls/Makedll.rules"
fbc80d79
MM
26179ac_config_files="$ac_config_files dlls/snmpapi/Makefile"
26180
a360e934
AJ
26181ALL_MAKEFILES="$ALL_MAKEFILES \\
26182 dlls/snmpapi/tests/Makefile"
35078f4b 26183test "x$enable_tests" != xno && ALL_TEST_DIRS="$ALL_TEST_DIRS \\
49163da1 26184 snmpapi/tests"
a360e934
AJ
26185ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
26186dlls/snmpapi/tests/Makefile: dlls/snmpapi/tests/Makefile.in dlls/Maketest.rules"
fbc80d79
MM
26187ac_config_files="$ac_config_files dlls/snmpapi/tests/Makefile"
26188
a360e934
AJ
26189ALL_MAKEFILES="$ALL_MAKEFILES \\
26190 dlls/softpub/Makefile"
485cc59c 26191test "x$enable_softpub" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\
49163da1 26192 softpub"
a360e934
AJ
26193ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
26194dlls/softpub/Makefile: dlls/softpub/Makefile.in dlls/Makedll.rules"
e11826f5
ML
26195ac_config_files="$ac_config_files dlls/softpub/Makefile"
26196
a360e934
AJ
26197ALL_MAKEFILES="$ALL_MAKEFILES \\
26198 dlls/spoolss/Makefile"
485cc59c 26199test "x$enable_spoolss" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\
49163da1 26200 spoolss"
a360e934
AJ
26201ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
26202dlls/spoolss/Makefile: dlls/spoolss/Makefile.in dlls/Makedll.rules"
fbc80d79
MM
26203ac_config_files="$ac_config_files dlls/spoolss/Makefile"
26204
a360e934
AJ
26205ALL_MAKEFILES="$ALL_MAKEFILES \\
26206 dlls/spoolss/tests/Makefile"
35078f4b 26207test "x$enable_tests" != xno && ALL_TEST_DIRS="$ALL_TEST_DIRS \\
49163da1 26208 spoolss/tests"
a360e934
AJ
26209ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
26210dlls/spoolss/tests/Makefile: dlls/spoolss/tests/Makefile.in dlls/Maketest.rules"
cf122bab
DR
26211ac_config_files="$ac_config_files dlls/spoolss/tests/Makefile"
26212
a360e934
AJ
26213ALL_MAKEFILES="$ALL_MAKEFILES \\
26214 dlls/stdole2.tlb/Makefile"
485cc59c 26215test "x$enable_stdole2_tlb" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\
49163da1 26216 stdole2.tlb"
a360e934
AJ
26217ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
26218dlls/stdole2.tlb/Makefile: dlls/stdole2.tlb/Makefile.in dlls/Makedll.rules"
fbc80d79
MM
26219ac_config_files="$ac_config_files dlls/stdole2.tlb/Makefile"
26220
a360e934
AJ
26221ALL_MAKEFILES="$ALL_MAKEFILES \\
26222 dlls/stdole32.tlb/Makefile"
485cc59c 26223test "x$enable_stdole32_tlb" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\
49163da1 26224 stdole32.tlb"
a360e934
AJ
26225ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
26226dlls/stdole32.tlb/Makefile: dlls/stdole32.tlb/Makefile.in dlls/Makedll.rules"
fbc80d79
MM
26227ac_config_files="$ac_config_files dlls/stdole32.tlb/Makefile"
26228
a360e934
AJ
26229ALL_MAKEFILES="$ALL_MAKEFILES \\
26230 dlls/sti/Makefile"
485cc59c 26231test "x$enable_sti" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\
49163da1 26232 sti"
a360e934
AJ
26233ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
26234dlls/sti/Makefile: dlls/sti/Makefile.in dlls/Makedll.rules"
fbc80d79
MM
26235ac_config_files="$ac_config_files dlls/sti/Makefile"
26236
a360e934
AJ
26237ALL_MAKEFILES="$ALL_MAKEFILES \\
26238 dlls/strmiids/Makefile"
485cc59c 26239test "x$enable_strmiids" != xno && ALL_IMPLIB_DIRS="$ALL_IMPLIB_DIRS \\
49163da1 26240 strmiids"
a360e934
AJ
26241ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
26242dlls/strmiids/Makefile: dlls/strmiids/Makefile.in dlls/Makeimplib.rules"
fbc80d79
MM
26243ac_config_files="$ac_config_files dlls/strmiids/Makefile"
26244
a360e934
AJ
26245ALL_MAKEFILES="$ALL_MAKEFILES \\
26246 dlls/svrapi/Makefile"
485cc59c 26247test "x$enable_svrapi" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\
49163da1 26248 svrapi"
a360e934
AJ
26249ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
26250dlls/svrapi/Makefile: dlls/svrapi/Makefile.in dlls/Makedll.rules"
fbc80d79
MM
26251ac_config_files="$ac_config_files dlls/svrapi/Makefile"
26252
a360e934
AJ
26253ALL_MAKEFILES="$ALL_MAKEFILES \\
26254 dlls/sxs/Makefile"
485cc59c 26255test "x$enable_sxs" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\
49163da1 26256 sxs"
a360e934
AJ
26257ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
26258dlls/sxs/Makefile: dlls/sxs/Makefile.in dlls/Makedll.rules"
74977dae
ED
26259ac_config_files="$ac_config_files dlls/sxs/Makefile"
26260
a360e934
AJ
26261ALL_MAKEFILES="$ALL_MAKEFILES \\
26262 dlls/tapi32/Makefile"
485cc59c 26263test "x$enable_tapi32" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\
49163da1 26264 tapi32"
a360e934
AJ
26265ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
26266dlls/tapi32/Makefile: dlls/tapi32/Makefile.in dlls/Makedll.rules"
fbc80d79
MM
26267ac_config_files="$ac_config_files dlls/tapi32/Makefile"
26268
a360e934
AJ
26269ALL_MAKEFILES="$ALL_MAKEFILES \\
26270 dlls/twain_32/Makefile"
485cc59c 26271test "x$enable_twain_32" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\
49163da1 26272 twain_32"
a360e934
AJ
26273ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
26274dlls/twain_32/Makefile: dlls/twain_32/Makefile.in dlls/Makedll.rules"
fbc80d79
MM
26275ac_config_files="$ac_config_files dlls/twain_32/Makefile"
26276
a360e934
AJ
26277ALL_MAKEFILES="$ALL_MAKEFILES \\
26278 dlls/unicows/Makefile"
485cc59c 26279test "x$enable_unicows" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\
49163da1 26280 unicows"
a360e934
AJ
26281ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
26282dlls/unicows/Makefile: dlls/unicows/Makefile.in dlls/Makedll.rules"
fbc80d79
MM
26283ac_config_files="$ac_config_files dlls/unicows/Makefile"
26284
a360e934
AJ
26285ALL_MAKEFILES="$ALL_MAKEFILES \\
26286 dlls/url/Makefile"
485cc59c 26287test "x$enable_url" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\
49163da1 26288 url"
a360e934
AJ
26289ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
26290dlls/url/Makefile: dlls/url/Makefile.in dlls/Makedll.rules"
fbc80d79
MM
26291ac_config_files="$ac_config_files dlls/url/Makefile"
26292
a360e934
AJ
26293ALL_MAKEFILES="$ALL_MAKEFILES \\
26294 dlls/urlmon/Makefile"
485cc59c 26295test "x$enable_urlmon" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\
49163da1 26296 urlmon"
a360e934
AJ
26297ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
26298dlls/urlmon/Makefile: dlls/urlmon/Makefile.in dlls/Makedll.rules"
fbc80d79
MM
26299ac_config_files="$ac_config_files dlls/urlmon/Makefile"
26300
a360e934
AJ
26301ALL_MAKEFILES="$ALL_MAKEFILES \\
26302 dlls/urlmon/tests/Makefile"
35078f4b 26303test "x$enable_tests" != xno && ALL_TEST_DIRS="$ALL_TEST_DIRS \\
49163da1 26304 urlmon/tests"
a360e934
AJ
26305ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
26306dlls/urlmon/tests/Makefile: dlls/urlmon/tests/Makefile.in dlls/Maketest.rules"
fbc80d79
MM
26307ac_config_files="$ac_config_files dlls/urlmon/tests/Makefile"
26308
a360e934
AJ
26309ALL_MAKEFILES="$ALL_MAKEFILES \\
26310 dlls/user32/Makefile"
485cc59c 26311test "x$enable_user32" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\
49163da1 26312 user32"
a360e934
AJ
26313ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
26314dlls/user32/Makefile: dlls/user32/Makefile.in dlls/Makedll.rules"
fbc80d79
MM
26315ac_config_files="$ac_config_files dlls/user32/Makefile"
26316
a360e934
AJ
26317ALL_MAKEFILES="$ALL_MAKEFILES \\
26318 dlls/user32/tests/Makefile"
35078f4b 26319test "x$enable_tests" != xno && ALL_TEST_DIRS="$ALL_TEST_DIRS \\
49163da1 26320 user32/tests"
a360e934
AJ
26321ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
26322dlls/user32/tests/Makefile: dlls/user32/tests/Makefile.in dlls/Maketest.rules"
fbc80d79
MM
26323ac_config_files="$ac_config_files dlls/user32/tests/Makefile"
26324
a360e934
AJ
26325ALL_MAKEFILES="$ALL_MAKEFILES \\
26326 dlls/userenv/Makefile"
485cc59c 26327test "x$enable_userenv" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\
49163da1 26328 userenv"
a360e934
AJ
26329ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
26330dlls/userenv/Makefile: dlls/userenv/Makefile.in dlls/Makedll.rules"
fbc80d79
MM
26331ac_config_files="$ac_config_files dlls/userenv/Makefile"
26332
a360e934
AJ
26333ALL_MAKEFILES="$ALL_MAKEFILES \\
26334 dlls/userenv/tests/Makefile"
35078f4b 26335test "x$enable_tests" != xno && ALL_TEST_DIRS="$ALL_TEST_DIRS \\
49163da1 26336 userenv/tests"
a360e934
AJ
26337ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
26338dlls/userenv/tests/Makefile: dlls/userenv/tests/Makefile.in dlls/Maketest.rules"
ffb04579
LZ
26339ac_config_files="$ac_config_files dlls/userenv/tests/Makefile"
26340
a360e934
AJ
26341ALL_MAKEFILES="$ALL_MAKEFILES \\
26342 dlls/usp10/Makefile"
485cc59c 26343test "x$enable_usp10" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\
49163da1 26344 usp10"
a360e934
AJ
26345ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
26346dlls/usp10/Makefile: dlls/usp10/Makefile.in dlls/Makedll.rules"
fbc80d79
MM
26347ac_config_files="$ac_config_files dlls/usp10/Makefile"
26348
a360e934
AJ
26349ALL_MAKEFILES="$ALL_MAKEFILES \\
26350 dlls/usp10/tests/Makefile"
35078f4b 26351test "x$enable_tests" != xno && ALL_TEST_DIRS="$ALL_TEST_DIRS \\
49163da1 26352 usp10/tests"
a360e934
AJ
26353ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
26354dlls/usp10/tests/Makefile: dlls/usp10/tests/Makefile.in dlls/Maketest.rules"
fbc80d79
MM
26355ac_config_files="$ac_config_files dlls/usp10/tests/Makefile"
26356
a360e934
AJ
26357ALL_MAKEFILES="$ALL_MAKEFILES \\
26358 dlls/uuid/Makefile"
485cc59c 26359test "x$enable_uuid" != xno && ALL_IMPLIB_DIRS="$ALL_IMPLIB_DIRS \\
49163da1 26360 uuid"
a360e934
AJ
26361ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
26362dlls/uuid/Makefile: dlls/uuid/Makefile.in dlls/Makeimplib.rules"
fbc80d79
MM
26363ac_config_files="$ac_config_files dlls/uuid/Makefile"
26364
a360e934
AJ
26365ALL_MAKEFILES="$ALL_MAKEFILES \\
26366 dlls/uxtheme/Makefile"
485cc59c 26367test "x$enable_uxtheme" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\
49163da1 26368 uxtheme"
a360e934
AJ
26369ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
26370dlls/uxtheme/Makefile: dlls/uxtheme/Makefile.in dlls/Makedll.rules"
fbc80d79
MM
26371ac_config_files="$ac_config_files dlls/uxtheme/Makefile"
26372
a360e934
AJ
26373ALL_MAKEFILES="$ALL_MAKEFILES \\
26374 dlls/uxtheme/tests/Makefile"
35078f4b 26375test "x$enable_tests" != xno && ALL_TEST_DIRS="$ALL_TEST_DIRS \\
49163da1 26376 uxtheme/tests"
a360e934
AJ
26377ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
26378dlls/uxtheme/tests/Makefile: dlls/uxtheme/tests/Makefile.in dlls/Maketest.rules"
fbc80d79
MM
26379ac_config_files="$ac_config_files dlls/uxtheme/tests/Makefile"
26380
a360e934
AJ
26381ALL_MAKEFILES="$ALL_MAKEFILES \\
26382 dlls/vdhcp.vxd/Makefile"
485cc59c 26383test "x$enable_vdhcp_vxd" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\
49163da1 26384 vdhcp.vxd"
a360e934
AJ
26385ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
26386dlls/vdhcp.vxd/Makefile: dlls/vdhcp.vxd/Makefile.in dlls/Makedll.rules"
fbc80d79
MM
26387ac_config_files="$ac_config_files dlls/vdhcp.vxd/Makefile"
26388
a360e934
AJ
26389ALL_MAKEFILES="$ALL_MAKEFILES \\
26390 dlls/vdmdbg/Makefile"
485cc59c 26391test "x$enable_vdmdbg" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\
49163da1 26392 vdmdbg"
a360e934
AJ
26393ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
26394dlls/vdmdbg/Makefile: dlls/vdmdbg/Makefile.in dlls/Makedll.rules"
fbc80d79
MM
26395ac_config_files="$ac_config_files dlls/vdmdbg/Makefile"
26396
a360e934
AJ
26397ALL_MAKEFILES="$ALL_MAKEFILES \\
26398 dlls/version/Makefile"
485cc59c 26399test "x$enable_version" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\
49163da1 26400 version"
a360e934
AJ
26401ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
26402dlls/version/Makefile: dlls/version/Makefile.in dlls/Makedll.rules"
fbc80d79
MM
26403ac_config_files="$ac_config_files dlls/version/Makefile"
26404
a360e934
AJ
26405ALL_MAKEFILES="$ALL_MAKEFILES \\
26406 dlls/version/tests/Makefile"
35078f4b 26407test "x$enable_tests" != xno && ALL_TEST_DIRS="$ALL_TEST_DIRS \\
49163da1 26408 version/tests"
a360e934
AJ
26409ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
26410dlls/version/tests/Makefile: dlls/version/tests/Makefile.in dlls/Maketest.rules"
fbc80d79
MM
26411ac_config_files="$ac_config_files dlls/version/tests/Makefile"
26412
a360e934
AJ
26413ALL_MAKEFILES="$ALL_MAKEFILES \\
26414 dlls/vmm.vxd/Makefile"
485cc59c 26415test "x$enable_vmm_vxd" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\
49163da1 26416 vmm.vxd"
a360e934
AJ
26417ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
26418dlls/vmm.vxd/Makefile: dlls/vmm.vxd/Makefile.in dlls/Makedll.rules"
fbc80d79
MM
26419ac_config_files="$ac_config_files dlls/vmm.vxd/Makefile"
26420
a360e934
AJ
26421ALL_MAKEFILES="$ALL_MAKEFILES \\
26422 dlls/vnbt.vxd/Makefile"
485cc59c 26423test "x$enable_vnbt_vxd" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\
49163da1 26424 vnbt.vxd"
a360e934
AJ
26425ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
26426dlls/vnbt.vxd/Makefile: dlls/vnbt.vxd/Makefile.in dlls/Makedll.rules"
fbc80d79
MM
26427ac_config_files="$ac_config_files dlls/vnbt.vxd/Makefile"
26428
a360e934
AJ
26429ALL_MAKEFILES="$ALL_MAKEFILES \\
26430 dlls/vnetbios.vxd/Makefile"
485cc59c 26431test "x$enable_vnetbios_vxd" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\
49163da1 26432 vnetbios.vxd"
a360e934
AJ
26433ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
26434dlls/vnetbios.vxd/Makefile: dlls/vnetbios.vxd/Makefile.in dlls/Makedll.rules"
fbc80d79
MM
26435ac_config_files="$ac_config_files dlls/vnetbios.vxd/Makefile"
26436
a360e934
AJ
26437ALL_MAKEFILES="$ALL_MAKEFILES \\
26438 dlls/vtdapi.vxd/Makefile"
485cc59c 26439test "x$enable_vtdapi_vxd" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\
49163da1 26440 vtdapi.vxd"
a360e934
AJ
26441ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
26442dlls/vtdapi.vxd/Makefile: dlls/vtdapi.vxd/Makefile.in dlls/Makedll.rules"
fbc80d79
MM
26443ac_config_files="$ac_config_files dlls/vtdapi.vxd/Makefile"
26444
a360e934
AJ
26445ALL_MAKEFILES="$ALL_MAKEFILES \\
26446 dlls/vwin32.vxd/Makefile"
485cc59c 26447test "x$enable_vwin32_vxd" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\
49163da1 26448 vwin32.vxd"
a360e934
AJ
26449ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
26450dlls/vwin32.vxd/Makefile: dlls/vwin32.vxd/Makefile.in dlls/Makedll.rules"
fbc80d79
MM
26451ac_config_files="$ac_config_files dlls/vwin32.vxd/Makefile"
26452
a360e934
AJ
26453ALL_MAKEFILES="$ALL_MAKEFILES \\
26454 dlls/w32skrnl/Makefile"
485cc59c 26455test "x$enable_w32skrnl" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\
49163da1 26456 w32skrnl"
a360e934
AJ
26457ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
26458dlls/w32skrnl/Makefile: dlls/w32skrnl/Makefile.in dlls/Makedll.rules"
fbc80d79
MM
26459ac_config_files="$ac_config_files dlls/w32skrnl/Makefile"
26460
a360e934
AJ
26461ALL_MAKEFILES="$ALL_MAKEFILES \\
26462 dlls/winealsa.drv/Makefile"
485cc59c 26463test "x$enable_winealsa_drv" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\
49163da1 26464 winealsa.drv"
a360e934
AJ
26465ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
26466dlls/winealsa.drv/Makefile: dlls/winealsa.drv/Makefile.in dlls/Makedll.rules"
fbc80d79
MM
26467ac_config_files="$ac_config_files dlls/winealsa.drv/Makefile"
26468
a360e934
AJ
26469ALL_MAKEFILES="$ALL_MAKEFILES \\
26470 dlls/wineaudioio.drv/Makefile"
485cc59c 26471test "x$enable_wineaudioio_drv" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\
49163da1 26472 wineaudioio.drv"
a360e934
AJ
26473ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
26474dlls/wineaudioio.drv/Makefile: dlls/wineaudioio.drv/Makefile.in dlls/Makedll.rules"
fbc80d79
MM
26475ac_config_files="$ac_config_files dlls/wineaudioio.drv/Makefile"
26476
a360e934
AJ
26477ALL_MAKEFILES="$ALL_MAKEFILES \\
26478 dlls/winecoreaudio.drv/Makefile"
485cc59c 26479test "x$enable_winecoreaudio_drv" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\
49163da1 26480 winecoreaudio.drv"
a360e934
AJ
26481ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
26482dlls/winecoreaudio.drv/Makefile: dlls/winecoreaudio.drv/Makefile.in dlls/Makedll.rules"
fbc80d79
MM
26483ac_config_files="$ac_config_files dlls/winecoreaudio.drv/Makefile"
26484
a360e934
AJ
26485ALL_MAKEFILES="$ALL_MAKEFILES \\
26486 dlls/winecrt0/Makefile"
485cc59c 26487test "x$enable_winecrt0" != xno && ALL_IMPLIB_DIRS="$ALL_IMPLIB_DIRS \\
49163da1 26488 winecrt0"
a360e934
AJ
26489ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
26490dlls/winecrt0/Makefile: dlls/winecrt0/Makefile.in dlls/Makeimplib.rules"
fbc80d79
MM
26491ac_config_files="$ac_config_files dlls/winecrt0/Makefile"
26492
a360e934
AJ
26493ALL_MAKEFILES="$ALL_MAKEFILES \\
26494 dlls/wined3d/Makefile"
485cc59c 26495test "x$enable_wined3d" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\
49163da1 26496 wined3d"
a360e934
AJ
26497ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
26498dlls/wined3d/Makefile: dlls/wined3d/Makefile.in dlls/Makedll.rules"
fbc80d79
MM
26499ac_config_files="$ac_config_files dlls/wined3d/Makefile"
26500
a360e934
AJ
26501ALL_MAKEFILES="$ALL_MAKEFILES \\
26502 dlls/winedos/Makefile"
485cc59c 26503test "x$enable_winedos" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\
49163da1 26504 winedos"
a360e934
AJ
26505ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
26506dlls/winedos/Makefile: dlls/winedos/Makefile.in dlls/Makedll.rules"
fbc80d79
MM
26507ac_config_files="$ac_config_files dlls/winedos/Makefile"
26508
a360e934
AJ
26509ALL_MAKEFILES="$ALL_MAKEFILES \\
26510 dlls/wineesd.drv/Makefile"
485cc59c 26511test "x$enable_wineesd_drv" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\
49163da1 26512 wineesd.drv"
a360e934
AJ
26513ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
26514dlls/wineesd.drv/Makefile: dlls/wineesd.drv/Makefile.in dlls/Makedll.rules"
fbc80d79
MM
26515ac_config_files="$ac_config_files dlls/wineesd.drv/Makefile"
26516
a360e934
AJ
26517ALL_MAKEFILES="$ALL_MAKEFILES \\
26518 dlls/winejack.drv/Makefile"
485cc59c 26519test "x$enable_winejack_drv" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\
49163da1 26520 winejack.drv"
a360e934
AJ
26521ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
26522dlls/winejack.drv/Makefile: dlls/winejack.drv/Makefile.in dlls/Makedll.rules"
fbc80d79
MM
26523ac_config_files="$ac_config_files dlls/winejack.drv/Makefile"
26524
a360e934
AJ
26525ALL_MAKEFILES="$ALL_MAKEFILES \\
26526 dlls/winejoystick.drv/Makefile"
485cc59c 26527test "x$enable_winejoystick_drv" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\
49163da1 26528 winejoystick.drv"
a360e934
AJ
26529ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
26530dlls/winejoystick.drv/Makefile: dlls/winejoystick.drv/Makefile.in dlls/Makedll.rules"
fbc80d79
MM
26531ac_config_files="$ac_config_files dlls/winejoystick.drv/Makefile"
26532
a360e934
AJ
26533ALL_MAKEFILES="$ALL_MAKEFILES \\
26534 dlls/winemp3.acm/Makefile"
485cc59c 26535test "x$enable_winemp3_acm" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\
49163da1 26536 winemp3.acm"
a360e934
AJ
26537ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
26538dlls/winemp3.acm/Makefile: dlls/winemp3.acm/Makefile.in dlls/Makedll.rules"
fbc80d79
MM
26539ac_config_files="$ac_config_files dlls/winemp3.acm/Makefile"
26540
a360e934
AJ
26541ALL_MAKEFILES="$ALL_MAKEFILES \\
26542 dlls/winenas.drv/Makefile"
485cc59c 26543test "x$enable_winenas_drv" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\
49163da1 26544 winenas.drv"
a360e934
AJ
26545ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
26546dlls/winenas.drv/Makefile: dlls/winenas.drv/Makefile.in dlls/Makedll.rules"
fbc80d79
MM
26547ac_config_files="$ac_config_files dlls/winenas.drv/Makefile"
26548
a360e934
AJ
26549ALL_MAKEFILES="$ALL_MAKEFILES \\
26550 dlls/wineoss.drv/Makefile"
485cc59c 26551test "x$enable_wineoss_drv" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\
49163da1 26552 wineoss.drv"
a360e934
AJ
26553ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
26554dlls/wineoss.drv/Makefile: dlls/wineoss.drv/Makefile.in dlls/Makedll.rules"
fbc80d79
MM
26555ac_config_files="$ac_config_files dlls/wineoss.drv/Makefile"
26556
a360e934
AJ
26557ALL_MAKEFILES="$ALL_MAKEFILES \\
26558 dlls/wineps.drv/Makefile"
485cc59c 26559test "x$enable_wineps_drv" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\
49163da1 26560 wineps.drv"
a360e934
AJ
26561ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
26562dlls/wineps.drv/Makefile: dlls/wineps.drv/Makefile.in dlls/Makedll.rules"
fbc80d79
MM
26563ac_config_files="$ac_config_files dlls/wineps.drv/Makefile"
26564
a360e934
AJ
26565ALL_MAKEFILES="$ALL_MAKEFILES \\
26566 dlls/winequartz.drv/Makefile"
485cc59c 26567test "x$enable_winequartz_drv" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\
49163da1 26568 winequartz.drv"
a360e934
AJ
26569ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
26570dlls/winequartz.drv/Makefile: dlls/winequartz.drv/Makefile.in dlls/Makedll.rules"
fbc80d79
MM
26571ac_config_files="$ac_config_files dlls/winequartz.drv/Makefile"
26572
a360e934
AJ
26573ALL_MAKEFILES="$ALL_MAKEFILES \\
26574 dlls/winex11.drv/Makefile"
485cc59c 26575test "x$enable_winex11_drv" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\
49163da1 26576 winex11.drv"
a360e934
AJ
26577ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
26578dlls/winex11.drv/Makefile: dlls/winex11.drv/Makefile.in dlls/Makedll.rules"
fbc80d79
MM
26579ac_config_files="$ac_config_files dlls/winex11.drv/Makefile"
26580
a360e934
AJ
26581ALL_MAKEFILES="$ALL_MAKEFILES \\
26582 dlls/wing32/Makefile"
485cc59c 26583test "x$enable_wing32" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\
49163da1 26584 wing32"
a360e934
AJ
26585ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
26586dlls/wing32/Makefile: dlls/wing32/Makefile.in dlls/Makedll.rules"
fbc80d79
MM
26587ac_config_files="$ac_config_files dlls/wing32/Makefile"
26588
a360e934
AJ
26589ALL_MAKEFILES="$ALL_MAKEFILES \\
26590 dlls/winhttp/Makefile"
485cc59c 26591test "x$enable_winhttp" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\
49163da1 26592 winhttp"
a360e934
AJ
26593ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
26594dlls/winhttp/Makefile: dlls/winhttp/Makefile.in dlls/Makedll.rules"
21572967
JC
26595ac_config_files="$ac_config_files dlls/winhttp/Makefile"
26596
a360e934
AJ
26597ALL_MAKEFILES="$ALL_MAKEFILES \\
26598 dlls/winhttp/tests/Makefile"
35078f4b 26599test "x$enable_tests" != xno && ALL_TEST_DIRS="$ALL_TEST_DIRS \\
49163da1 26600 winhttp/tests"
a360e934
AJ
26601ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
26602dlls/winhttp/tests/Makefile: dlls/winhttp/tests/Makefile.in dlls/Maketest.rules"
b2be840e
ZB
26603ac_config_files="$ac_config_files dlls/winhttp/tests/Makefile"
26604
a360e934
AJ
26605ALL_MAKEFILES="$ALL_MAKEFILES \\
26606 dlls/wininet/Makefile"
485cc59c 26607test "x$enable_wininet" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\
49163da1 26608 wininet"
a360e934
AJ
26609ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
26610dlls/wininet/Makefile: dlls/wininet/Makefile.in dlls/Makedll.rules"
fbc80d79
MM
26611ac_config_files="$ac_config_files dlls/wininet/Makefile"
26612
a360e934
AJ
26613ALL_MAKEFILES="$ALL_MAKEFILES \\
26614 dlls/wininet/tests/Makefile"
35078f4b 26615test "x$enable_tests" != xno && ALL_TEST_DIRS="$ALL_TEST_DIRS \\
49163da1 26616 wininet/tests"
a360e934
AJ
26617ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
26618dlls/wininet/tests/Makefile: dlls/wininet/tests/Makefile.in dlls/Maketest.rules"
fbc80d79
MM
26619ac_config_files="$ac_config_files dlls/wininet/tests/Makefile"
26620
a360e934
AJ
26621ALL_MAKEFILES="$ALL_MAKEFILES \\
26622 dlls/winmm/Makefile"
485cc59c 26623test "x$enable_winmm" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\
49163da1 26624 winmm"
a360e934
AJ
26625ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
26626dlls/winmm/Makefile: dlls/winmm/Makefile.in dlls/Makedll.rules"
fbc80d79
MM
26627ac_config_files="$ac_config_files dlls/winmm/Makefile"
26628
a360e934
AJ
26629ALL_MAKEFILES="$ALL_MAKEFILES \\
26630 dlls/winmm/tests/Makefile"
35078f4b 26631test "x$enable_tests" != xno && ALL_TEST_DIRS="$ALL_TEST_DIRS \\
49163da1 26632 winmm/tests"
a360e934
AJ
26633ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
26634dlls/winmm/tests/Makefile: dlls/winmm/tests/Makefile.in dlls/Maketest.rules"
fbc80d79
MM
26635ac_config_files="$ac_config_files dlls/winmm/tests/Makefile"
26636
a360e934
AJ
26637ALL_MAKEFILES="$ALL_MAKEFILES \\
26638 dlls/winnls32/Makefile"
485cc59c 26639test "x$enable_winnls32" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\
49163da1 26640 winnls32"
a360e934
AJ
26641ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
26642dlls/winnls32/Makefile: dlls/winnls32/Makefile.in dlls/Makedll.rules"
fbc80d79
MM
26643ac_config_files="$ac_config_files dlls/winnls32/Makefile"
26644
a360e934
AJ
26645ALL_MAKEFILES="$ALL_MAKEFILES \\
26646 dlls/winscard/Makefile"
485cc59c 26647test "x$enable_winscard" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\
49163da1 26648 winscard"
a360e934
AJ
26649ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
26650dlls/winscard/Makefile: dlls/winscard/Makefile.in dlls/Makedll.rules"
23df68d8
MI
26651ac_config_files="$ac_config_files dlls/winscard/Makefile"
26652
a360e934
AJ
26653ALL_MAKEFILES="$ALL_MAKEFILES \\
26654 dlls/winspool.drv/Makefile"
485cc59c 26655test "x$enable_winspool_drv" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\
49163da1 26656 winspool.drv"
a360e934
AJ
26657ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
26658dlls/winspool.drv/Makefile: dlls/winspool.drv/Makefile.in dlls/Makedll.rules"
fbc80d79
MM
26659ac_config_files="$ac_config_files dlls/winspool.drv/Makefile"
26660
a360e934
AJ
26661ALL_MAKEFILES="$ALL_MAKEFILES \\
26662 dlls/winspool.drv/tests/Makefile"
35078f4b 26663test "x$enable_tests" != xno && ALL_TEST_DIRS="$ALL_TEST_DIRS \\
49163da1 26664 winspool.drv/tests"
a360e934
AJ
26665ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
26666dlls/winspool.drv/tests/Makefile: dlls/winspool.drv/tests/Makefile.in dlls/Maketest.rules"
fbc80d79
MM
26667ac_config_files="$ac_config_files dlls/winspool.drv/tests/Makefile"
26668
a360e934
AJ
26669ALL_MAKEFILES="$ALL_MAKEFILES \\
26670 dlls/wintab32/Makefile"
485cc59c 26671test "x$enable_wintab32" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\
49163da1 26672 wintab32"
a360e934
AJ
26673ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
26674dlls/wintab32/Makefile: dlls/wintab32/Makefile.in dlls/Makedll.rules"
fbc80d79
MM
26675ac_config_files="$ac_config_files dlls/wintab32/Makefile"
26676
a360e934
AJ
26677ALL_MAKEFILES="$ALL_MAKEFILES \\
26678 dlls/wintrust/Makefile"
485cc59c 26679test "x$enable_wintrust" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\
49163da1 26680 wintrust"
a360e934
AJ
26681ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
26682dlls/wintrust/Makefile: dlls/wintrust/Makefile.in dlls/Makedll.rules"
fbc80d79
MM
26683ac_config_files="$ac_config_files dlls/wintrust/Makefile"
26684
a360e934
AJ
26685ALL_MAKEFILES="$ALL_MAKEFILES \\
26686 dlls/wintrust/tests/Makefile"
35078f4b 26687test "x$enable_tests" != xno && ALL_TEST_DIRS="$ALL_TEST_DIRS \\
49163da1 26688 wintrust/tests"
a360e934
AJ
26689ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
26690dlls/wintrust/tests/Makefile: dlls/wintrust/tests/Makefile.in dlls/Maketest.rules"
fbc80d79
MM
26691ac_config_files="$ac_config_files dlls/wintrust/tests/Makefile"
26692
a360e934
AJ
26693ALL_MAKEFILES="$ALL_MAKEFILES \\
26694 dlls/wldap32/Makefile"
485cc59c 26695test "x$enable_wldap32" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\
49163da1 26696 wldap32"
a360e934
AJ
26697ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
26698dlls/wldap32/Makefile: dlls/wldap32/Makefile.in dlls/Makedll.rules"
fbc80d79
MM
26699ac_config_files="$ac_config_files dlls/wldap32/Makefile"
26700
b9813873
HL
26701ALL_MAKEFILES="$ALL_MAKEFILES \\
26702 dlls/wldap32/tests/Makefile"
35078f4b 26703test "x$enable_tests" != xno && ALL_TEST_DIRS="$ALL_TEST_DIRS \\
b9813873
HL
26704 wldap32/tests"
26705ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
26706dlls/wldap32/tests/Makefile: dlls/wldap32/tests/Makefile.in dlls/Maketest.rules"
26707ac_config_files="$ac_config_files dlls/wldap32/tests/Makefile"
26708
a360e934
AJ
26709ALL_MAKEFILES="$ALL_MAKEFILES \\
26710 dlls/wmi/Makefile"
485cc59c 26711test "x$enable_wmi" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\
49163da1 26712 wmi"
a360e934
AJ
26713ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
26714dlls/wmi/Makefile: dlls/wmi/Makefile.in dlls/Makedll.rules"
4328d92d
MM
26715ac_config_files="$ac_config_files dlls/wmi/Makefile"
26716
a360e934
AJ
26717ALL_MAKEFILES="$ALL_MAKEFILES \\
26718 dlls/wnaspi32/Makefile"
485cc59c 26719test "x$enable_wnaspi32" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\
49163da1 26720 wnaspi32"
a360e934
AJ
26721ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
26722dlls/wnaspi32/Makefile: dlls/wnaspi32/Makefile.in dlls/Makedll.rules"
fbc80d79
MM
26723ac_config_files="$ac_config_files dlls/wnaspi32/Makefile"
26724
a360e934
AJ
26725ALL_MAKEFILES="$ALL_MAKEFILES \\
26726 dlls/wow32/Makefile"
485cc59c 26727test "x$enable_wow32" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\
49163da1 26728 wow32"
a360e934
AJ
26729ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
26730dlls/wow32/Makefile: dlls/wow32/Makefile.in dlls/Makedll.rules"
fbc80d79
MM
26731ac_config_files="$ac_config_files dlls/wow32/Makefile"
26732
a360e934
AJ
26733ALL_MAKEFILES="$ALL_MAKEFILES \\
26734 dlls/ws2_32/Makefile"
485cc59c 26735test "x$enable_ws2_32" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\
49163da1 26736 ws2_32"
a360e934
AJ
26737ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
26738dlls/ws2_32/Makefile: dlls/ws2_32/Makefile.in dlls/Makedll.rules"
fbc80d79
MM
26739ac_config_files="$ac_config_files dlls/ws2_32/Makefile"
26740
a360e934
AJ
26741ALL_MAKEFILES="$ALL_MAKEFILES \\
26742 dlls/ws2_32/tests/Makefile"
35078f4b 26743test "x$enable_tests" != xno && ALL_TEST_DIRS="$ALL_TEST_DIRS \\
49163da1 26744 ws2_32/tests"
a360e934
AJ
26745ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
26746dlls/ws2_32/tests/Makefile: dlls/ws2_32/tests/Makefile.in dlls/Maketest.rules"
fbc80d79
MM
26747ac_config_files="$ac_config_files dlls/ws2_32/tests/Makefile"
26748
a360e934
AJ
26749ALL_MAKEFILES="$ALL_MAKEFILES \\
26750 dlls/wsock32/Makefile"
485cc59c 26751test "x$enable_wsock32" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\
49163da1 26752 wsock32"
a360e934
AJ
26753ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
26754dlls/wsock32/Makefile: dlls/wsock32/Makefile.in dlls/Makedll.rules"
fbc80d79
MM
26755ac_config_files="$ac_config_files dlls/wsock32/Makefile"
26756
a360e934
AJ
26757ALL_MAKEFILES="$ALL_MAKEFILES \\
26758 dlls/wtsapi32/Makefile"
485cc59c 26759test "x$enable_wtsapi32" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\
49163da1 26760 wtsapi32"
a360e934
AJ
26761ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
26762dlls/wtsapi32/Makefile: dlls/wtsapi32/Makefile.in dlls/Makedll.rules"
fbc80d79
MM
26763ac_config_files="$ac_config_files dlls/wtsapi32/Makefile"
26764
68ede59f
AF
26765ALL_MAKEFILES="$ALL_MAKEFILES \\
26766 dlls/xinput1_1/Makefile"
26767test "x$enable_xinput1_1" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\
26768 xinput1_1"
26769ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
26770dlls/xinput1_1/Makefile: dlls/xinput1_1/Makefile.in dlls/Makedll.rules"
26771ac_config_files="$ac_config_files dlls/xinput1_1/Makefile"
26772
85a4a1dd
AF
26773ALL_MAKEFILES="$ALL_MAKEFILES \\
26774 dlls/xinput1_2/Makefile"
26775test "x$enable_xinput1_2" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\
26776 xinput1_2"
26777ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
26778dlls/xinput1_2/Makefile: dlls/xinput1_2/Makefile.in dlls/Makedll.rules"
26779ac_config_files="$ac_config_files dlls/xinput1_2/Makefile"
26780
457a22de
AF
26781ALL_MAKEFILES="$ALL_MAKEFILES \\
26782 dlls/xinput1_3/Makefile"
26783test "x$enable_xinput1_3" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\
26784 xinput1_3"
26785ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
26786dlls/xinput1_3/Makefile: dlls/xinput1_3/Makefile.in dlls/Makedll.rules"
26787ac_config_files="$ac_config_files dlls/xinput1_3/Makefile"
26788
29789a8e
AF
26789ALL_MAKEFILES="$ALL_MAKEFILES \\
26790 dlls/xinput1_3/tests/Makefile"
35078f4b 26791test "x$enable_tests" != xno && ALL_TEST_DIRS="$ALL_TEST_DIRS \\
29789a8e
AF
26792 xinput1_3/tests"
26793ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
26794dlls/xinput1_3/tests/Makefile: dlls/xinput1_3/tests/Makefile.in dlls/Maketest.rules"
26795ac_config_files="$ac_config_files dlls/xinput1_3/tests/Makefile"
26796
c4cd3bc7
AF
26797ALL_MAKEFILES="$ALL_MAKEFILES \\
26798 dlls/xinput9_1_0/Makefile"
26799test "x$enable_xinput9_1_0" != xno && ALL_DLL_DIRS="$ALL_DLL_DIRS \\
26800 xinput9_1_0"
26801ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
26802dlls/xinput9_1_0/Makefile: dlls/xinput9_1_0/Makefile.in dlls/Makedll.rules"
26803ac_config_files="$ac_config_files dlls/xinput9_1_0/Makefile"
26804
a360e934
AJ
26805ALL_MAKEFILES="$ALL_MAKEFILES \\
26806 documentation/Makefile"
6de0af1e
AJ
26807test "x$enable_documentation" != xno && ALL_TOP_DIRS="$ALL_TOP_DIRS \\
26808 documentation"
a360e934
AJ
26809ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
26810documentation/Makefile: documentation/Makefile.in Make.rules"
fbc80d79
MM
26811ac_config_files="$ac_config_files documentation/Makefile"
26812
a360e934
AJ
26813ALL_MAKEFILES="$ALL_MAKEFILES \\
26814 fonts/Makefile"
6de0af1e
AJ
26815test "x$enable_fonts" != xno && ALL_TOP_DIRS="$ALL_TOP_DIRS \\
26816 fonts"
a360e934
AJ
26817ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
26818fonts/Makefile: fonts/Makefile.in Make.rules"
fbc80d79
MM
26819ac_config_files="$ac_config_files fonts/Makefile"
26820
a360e934
AJ
26821ALL_MAKEFILES="$ALL_MAKEFILES \\
26822 include/Makefile"
6de0af1e
AJ
26823test "x$enable_include" != xno && ALL_TOP_DIRS="$ALL_TOP_DIRS \\
26824 include"
a360e934
AJ
26825ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
26826include/Makefile: include/Makefile.in Make.rules"
fbc80d79
MM
26827ac_config_files="$ac_config_files include/Makefile"
26828
a360e934
AJ
26829ALL_MAKEFILES="$ALL_MAKEFILES \\
26830 libs/Makefile"
6de0af1e
AJ
26831test "x$enable_libs" != xno && ALL_TOP_DIRS="$ALL_TOP_DIRS \\
26832 libs"
a360e934
AJ
26833ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
26834libs/Makefile: libs/Makefile.in Make.rules"
fbc80d79
MM
26835ac_config_files="$ac_config_files libs/Makefile"
26836
a360e934
AJ
26837ALL_MAKEFILES="$ALL_MAKEFILES \\
26838 libs/port/Makefile"
49163da1 26839
a360e934
AJ
26840ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
26841libs/port/Makefile: libs/port/Makefile.in Make.rules"
fbc80d79
MM
26842ac_config_files="$ac_config_files libs/port/Makefile"
26843
a360e934
AJ
26844ALL_MAKEFILES="$ALL_MAKEFILES \\
26845 libs/wine/Makefile"
49163da1 26846
a360e934
AJ
26847ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
26848libs/wine/Makefile: libs/wine/Makefile.in Make.rules"
fbc80d79
MM
26849ac_config_files="$ac_config_files libs/wine/Makefile"
26850
a360e934
AJ
26851ALL_MAKEFILES="$ALL_MAKEFILES \\
26852 libs/wpp/Makefile"
49163da1 26853
a360e934
AJ
26854ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
26855libs/wpp/Makefile: libs/wpp/Makefile.in Make.rules"
fbc80d79
MM
26856ac_config_files="$ac_config_files libs/wpp/Makefile"
26857
a360e934
AJ
26858ALL_MAKEFILES="$ALL_MAKEFILES \\
26859 loader/Makefile"
6de0af1e
AJ
26860test "x$enable_loader" != xno && ALL_TOP_DIRS="$ALL_TOP_DIRS \\
26861 loader"
a360e934
AJ
26862ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
26863loader/Makefile: loader/Makefile.in Make.rules"
fbc80d79
MM
26864ac_config_files="$ac_config_files loader/Makefile"
26865
a360e934
AJ
26866ALL_MAKEFILES="$ALL_MAKEFILES \\
26867 programs/Makefile"
6de0af1e
AJ
26868test "x$enable_programs" != xno && ALL_TOP_DIRS="$ALL_TOP_DIRS \\
26869 programs"
a360e934
AJ
26870ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
26871programs/Makefile: programs/Makefile.in Make.rules"
fbc80d79
MM
26872ac_config_files="$ac_config_files programs/Makefile"
26873
a360e934
AJ
26874ALL_MAKEFILES="$ALL_MAKEFILES \\
26875 programs/clock/Makefile"
4051eaf7
AJ
26876test "x$enable_clock" != xno && ALL_PROGRAM_DIRS="$ALL_PROGRAM_DIRS \\
26877 clock" && ALL_PROGRAM_INSTALL_DIRS="$ALL_PROGRAM_INSTALL_DIRS \\
26878 clock"
a360e934
AJ
26879ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
26880programs/clock/Makefile: programs/clock/Makefile.in programs/Makeprog.rules"
fbc80d79
MM
26881ac_config_files="$ac_config_files programs/clock/Makefile"
26882
a360e934
AJ
26883ALL_MAKEFILES="$ALL_MAKEFILES \\
26884 programs/cmd/Makefile"
4051eaf7
AJ
26885test "x$enable_cmd" != xno && ALL_PROGRAM_DIRS="$ALL_PROGRAM_DIRS \\
26886 cmd" && ALL_PROGRAM_INSTALL_DIRS="$ALL_PROGRAM_INSTALL_DIRS \\
26887 cmd"
a360e934
AJ
26888ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
26889programs/cmd/Makefile: programs/cmd/Makefile.in programs/Makeprog.rules"
fbc80d79
MM
26890ac_config_files="$ac_config_files programs/cmd/Makefile"
26891
a360e934
AJ
26892ALL_MAKEFILES="$ALL_MAKEFILES \\
26893 programs/cmdlgtst/Makefile"
4051eaf7
AJ
26894test "x$enable_cmdlgtst" != xno && ALL_PROGRAM_DIRS="$ALL_PROGRAM_DIRS \\
26895 cmdlgtst"
a360e934
AJ
26896ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
26897programs/cmdlgtst/Makefile: programs/cmdlgtst/Makefile.in programs/Makeprog.rules"
fbc80d79
MM
26898ac_config_files="$ac_config_files programs/cmdlgtst/Makefile"
26899
a360e934
AJ
26900ALL_MAKEFILES="$ALL_MAKEFILES \\
26901 programs/control/Makefile"
4051eaf7
AJ
26902test "x$enable_control" != xno && ALL_PROGRAM_DIRS="$ALL_PROGRAM_DIRS \\
26903 control" && ALL_PROGRAM_INSTALL_DIRS="$ALL_PROGRAM_INSTALL_DIRS \\
26904 control"
a360e934
AJ
26905ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
26906programs/control/Makefile: programs/control/Makefile.in programs/Makeprog.rules"
fbc80d79
MM
26907ac_config_files="$ac_config_files programs/control/Makefile"
26908
a360e934
AJ
26909ALL_MAKEFILES="$ALL_MAKEFILES \\
26910 programs/eject/Makefile"
4051eaf7
AJ
26911test "x$enable_eject" != xno && ALL_PROGRAM_DIRS="$ALL_PROGRAM_DIRS \\
26912 eject" && ALL_PROGRAM_INSTALL_DIRS="$ALL_PROGRAM_INSTALL_DIRS \\
26913 eject"
a360e934
AJ
26914ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
26915programs/eject/Makefile: programs/eject/Makefile.in programs/Makeprog.rules"
fbc80d79
MM
26916ac_config_files="$ac_config_files programs/eject/Makefile"
26917
a360e934
AJ
26918ALL_MAKEFILES="$ALL_MAKEFILES \\
26919 programs/expand/Makefile"
4051eaf7
AJ
26920test "x$enable_expand" != xno && ALL_PROGRAM_DIRS="$ALL_PROGRAM_DIRS \\
26921 expand" && ALL_PROGRAM_INSTALL_DIRS="$ALL_PROGRAM_INSTALL_DIRS \\
26922 expand"
a360e934
AJ
26923ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
26924programs/expand/Makefile: programs/expand/Makefile.in programs/Makeprog.rules"
fbc80d79
MM
26925ac_config_files="$ac_config_files programs/expand/Makefile"
26926
a360e934
AJ
26927ALL_MAKEFILES="$ALL_MAKEFILES \\
26928 programs/explorer/Makefile"
4051eaf7
AJ
26929test "x$enable_explorer" != xno && ALL_PROGRAM_DIRS="$ALL_PROGRAM_DIRS \\
26930 explorer" && ALL_PROGRAM_INSTALL_DIRS="$ALL_PROGRAM_INSTALL_DIRS \\
26931 explorer"
a360e934
AJ
26932ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
26933programs/explorer/Makefile: programs/explorer/Makefile.in programs/Makeprog.rules"
fbc80d79
MM
26934ac_config_files="$ac_config_files programs/explorer/Makefile"
26935
a360e934
AJ
26936ALL_MAKEFILES="$ALL_MAKEFILES \\
26937 programs/hh/Makefile"
4051eaf7
AJ
26938test "x$enable_hh" != xno && ALL_PROGRAM_DIRS="$ALL_PROGRAM_DIRS \\
26939 hh" && ALL_PROGRAM_INSTALL_DIRS="$ALL_PROGRAM_INSTALL_DIRS \\
26940 hh"
a360e934
AJ
26941ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
26942programs/hh/Makefile: programs/hh/Makefile.in programs/Makeprog.rules"
fbc80d79
MM
26943ac_config_files="$ac_config_files programs/hh/Makefile"
26944
a360e934
AJ
26945ALL_MAKEFILES="$ALL_MAKEFILES \\
26946 programs/icinfo/Makefile"
4051eaf7
AJ
26947test "x$enable_icinfo" != xno && ALL_PROGRAM_DIRS="$ALL_PROGRAM_DIRS \\
26948 icinfo" && ALL_PROGRAM_INSTALL_DIRS="$ALL_PROGRAM_INSTALL_DIRS \\
26949 icinfo"
a360e934
AJ
26950ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
26951programs/icinfo/Makefile: programs/icinfo/Makefile.in programs/Makeprog.rules"
fbc80d79
MM
26952ac_config_files="$ac_config_files programs/icinfo/Makefile"
26953
a360e934
AJ
26954ALL_MAKEFILES="$ALL_MAKEFILES \\
26955 programs/iexplore/Makefile"
4051eaf7
AJ
26956test "x$enable_iexplore" != xno && ALL_PROGRAM_DIRS="$ALL_PROGRAM_DIRS \\
26957 iexplore" && ALL_PROGRAM_INSTALL_DIRS="$ALL_PROGRAM_INSTALL_DIRS \\
26958 iexplore"
a360e934
AJ
26959ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
26960programs/iexplore/Makefile: programs/iexplore/Makefile.in programs/Makeprog.rules"
fbc80d79
MM
26961ac_config_files="$ac_config_files programs/iexplore/Makefile"
26962
a360e934
AJ
26963ALL_MAKEFILES="$ALL_MAKEFILES \\
26964 programs/msiexec/Makefile"
4051eaf7
AJ
26965test "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
26969ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
26970programs/msiexec/Makefile: programs/msiexec/Makefile.in programs/Makeprog.rules"
fbc80d79
MM
26971ac_config_files="$ac_config_files programs/msiexec/Makefile"
26972
a360e934
AJ
26973ALL_MAKEFILES="$ALL_MAKEFILES \\
26974 programs/net/Makefile"
4051eaf7
AJ
26975test "x$enable_net" != xno && ALL_PROGRAM_DIRS="$ALL_PROGRAM_DIRS \\
26976 net" && ALL_PROGRAM_INSTALL_DIRS="$ALL_PROGRAM_INSTALL_DIRS \\
26977 net"
a360e934
AJ
26978ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
26979programs/net/Makefile: programs/net/Makefile.in programs/Makeprog.rules"
451616ee
TS
26980ac_config_files="$ac_config_files programs/net/Makefile"
26981
a360e934
AJ
26982ALL_MAKEFILES="$ALL_MAKEFILES \\
26983 programs/notepad/Makefile"
4051eaf7
AJ
26984test "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
26988ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
26989programs/notepad/Makefile: programs/notepad/Makefile.in programs/Makeprog.rules"
fbc80d79
MM
26990ac_config_files="$ac_config_files programs/notepad/Makefile"
26991
a360e934
AJ
26992ALL_MAKEFILES="$ALL_MAKEFILES \\
26993 programs/oleview/Makefile"
4051eaf7
AJ
26994test "x$enable_oleview" != xno && ALL_PROGRAM_DIRS="$ALL_PROGRAM_DIRS \\
26995 oleview" && ALL_PROGRAM_INSTALL_DIRS="$ALL_PROGRAM_INSTALL_DIRS \\
26996 oleview"
a360e934
AJ
26997ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
26998programs/oleview/Makefile: programs/oleview/Makefile.in programs/Makeprog.rules"
fbc80d79
MM
26999ac_config_files="$ac_config_files programs/oleview/Makefile"
27000
a360e934
AJ
27001ALL_MAKEFILES="$ALL_MAKEFILES \\
27002 programs/progman/Makefile"
4051eaf7
AJ
27003test "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
27007ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
27008programs/progman/Makefile: programs/progman/Makefile.in programs/Makeprog.rules"
fbc80d79
MM
27009ac_config_files="$ac_config_files programs/progman/Makefile"
27010
a360e934
AJ
27011ALL_MAKEFILES="$ALL_MAKEFILES \\
27012 programs/reg/Makefile"
4051eaf7
AJ
27013test "x$enable_reg" != xno && ALL_PROGRAM_DIRS="$ALL_PROGRAM_DIRS \\
27014 reg" && ALL_PROGRAM_INSTALL_DIRS="$ALL_PROGRAM_INSTALL_DIRS \\
27015 reg"
a360e934
AJ
27016ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
27017programs/reg/Makefile: programs/reg/Makefile.in programs/Makeprog.rules"
2087ad46
AR
27018ac_config_files="$ac_config_files programs/reg/Makefile"
27019
a360e934
AJ
27020ALL_MAKEFILES="$ALL_MAKEFILES \\
27021 programs/regedit/Makefile"
4051eaf7
AJ
27022test "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
27026ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
27027programs/regedit/Makefile: programs/regedit/Makefile.in programs/Makeprog.rules"
fbc80d79
MM
27028ac_config_files="$ac_config_files programs/regedit/Makefile"
27029
a360e934
AJ
27030ALL_MAKEFILES="$ALL_MAKEFILES \\
27031 programs/regsvr32/Makefile"
4051eaf7
AJ
27032test "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
27036ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
27037programs/regsvr32/Makefile: programs/regsvr32/Makefile.in programs/Makeprog.rules"
fbc80d79
MM
27038ac_config_files="$ac_config_files programs/regsvr32/Makefile"
27039
a360e934
AJ
27040ALL_MAKEFILES="$ALL_MAKEFILES \\
27041 programs/rpcss/Makefile"
4051eaf7
AJ
27042test "x$enable_rpcss" != xno && ALL_PROGRAM_DIRS="$ALL_PROGRAM_DIRS \\
27043 rpcss" && ALL_PROGRAM_INSTALL_DIRS="$ALL_PROGRAM_INSTALL_DIRS \\
27044 rpcss"
a360e934
AJ
27045ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
27046programs/rpcss/Makefile: programs/rpcss/Makefile.in programs/Makeprog.rules"
fbc80d79
MM
27047ac_config_files="$ac_config_files programs/rpcss/Makefile"
27048
a360e934
AJ
27049ALL_MAKEFILES="$ALL_MAKEFILES \\
27050 programs/rundll32/Makefile"
4051eaf7
AJ
27051test "x$enable_rundll32" != xno && ALL_PROGRAM_DIRS="$ALL_PROGRAM_DIRS \\
27052 rundll32" && ALL_PROGRAM_INSTALL_DIRS="$ALL_PROGRAM_INSTALL_DIRS \\
27053 rundll32"
a360e934
AJ
27054ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
27055programs/rundll32/Makefile: programs/rundll32/Makefile.in programs/Makeprog.rules"
fbc80d79
MM
27056ac_config_files="$ac_config_files programs/rundll32/Makefile"
27057
a360e934
AJ
27058ALL_MAKEFILES="$ALL_MAKEFILES \\
27059 programs/secedit/Makefile"
4051eaf7
AJ
27060test "x$enable_secedit" != xno && ALL_PROGRAM_DIRS="$ALL_PROGRAM_DIRS \\
27061 secedit" && ALL_PROGRAM_INSTALL_DIRS="$ALL_PROGRAM_INSTALL_DIRS \\
27062 secedit"
a360e934
AJ
27063ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
27064programs/secedit/Makefile: programs/secedit/Makefile.in programs/Makeprog.rules"
6547fef3
LL
27065ac_config_files="$ac_config_files programs/secedit/Makefile"
27066
a360e934
AJ
27067ALL_MAKEFILES="$ALL_MAKEFILES \\
27068 programs/services/Makefile"
4051eaf7
AJ
27069test "x$enable_services" != xno && ALL_PROGRAM_DIRS="$ALL_PROGRAM_DIRS \\
27070 services" && ALL_PROGRAM_INSTALL_DIRS="$ALL_PROGRAM_INSTALL_DIRS \\
27071 services"
a360e934
AJ
27072ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
27073programs/services/Makefile: programs/services/Makefile.in programs/Makeprog.rules"
7bd0efa1
MZ
27074ac_config_files="$ac_config_files programs/services/Makefile"
27075
a360e934
AJ
27076ALL_MAKEFILES="$ALL_MAKEFILES \\
27077 programs/spoolsv/Makefile"
4051eaf7
AJ
27078test "x$enable_spoolsv" != xno && ALL_PROGRAM_DIRS="$ALL_PROGRAM_DIRS \\
27079 spoolsv" && ALL_PROGRAM_INSTALL_DIRS="$ALL_PROGRAM_INSTALL_DIRS \\
27080 spoolsv"
a360e934
AJ
27081ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
27082programs/spoolsv/Makefile: programs/spoolsv/Makefile.in programs/Makeprog.rules"
d1ddc9c1
JC
27083ac_config_files="$ac_config_files programs/spoolsv/Makefile"
27084
a360e934
AJ
27085ALL_MAKEFILES="$ALL_MAKEFILES \\
27086 programs/start/Makefile"
4051eaf7
AJ
27087test "x$enable_start" != xno && ALL_PROGRAM_DIRS="$ALL_PROGRAM_DIRS \\
27088 start" && ALL_PROGRAM_INSTALL_DIRS="$ALL_PROGRAM_INSTALL_DIRS \\
27089 start"
a360e934
AJ
27090ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
27091programs/start/Makefile: programs/start/Makefile.in programs/Makeprog.rules"
fbc80d79
MM
27092ac_config_files="$ac_config_files programs/start/Makefile"
27093
a360e934
AJ
27094ALL_MAKEFILES="$ALL_MAKEFILES \\
27095 programs/svchost/Makefile"
4051eaf7
AJ
27096test "x$enable_svchost" != xno && ALL_PROGRAM_DIRS="$ALL_PROGRAM_DIRS \\
27097 svchost" && ALL_PROGRAM_INSTALL_DIRS="$ALL_PROGRAM_INSTALL_DIRS \\
27098 svchost"
a360e934
AJ
27099ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
27100programs/svchost/Makefile: programs/svchost/Makefile.in programs/Makeprog.rules"
4714c4fa
RS
27101ac_config_files="$ac_config_files programs/svchost/Makefile"
27102
a360e934
AJ
27103ALL_MAKEFILES="$ALL_MAKEFILES \\
27104 programs/taskmgr/Makefile"
4051eaf7
AJ
27105test "x$enable_taskmgr" != xno && ALL_PROGRAM_DIRS="$ALL_PROGRAM_DIRS \\
27106 taskmgr" && ALL_PROGRAM_INSTALL_DIRS="$ALL_PROGRAM_INSTALL_DIRS \\
27107 taskmgr"
a360e934
AJ
27108ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
27109programs/taskmgr/Makefile: programs/taskmgr/Makefile.in programs/Makeprog.rules"
fbc80d79
MM
27110ac_config_files="$ac_config_files programs/taskmgr/Makefile"
27111
a360e934
AJ
27112ALL_MAKEFILES="$ALL_MAKEFILES \\
27113 programs/uninstaller/Makefile"
4051eaf7
AJ
27114test "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
27118ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
27119programs/uninstaller/Makefile: programs/uninstaller/Makefile.in programs/Makeprog.rules"
fbc80d79
MM
27120ac_config_files="$ac_config_files programs/uninstaller/Makefile"
27121
a360e934
AJ
27122ALL_MAKEFILES="$ALL_MAKEFILES \\
27123 programs/view/Makefile"
4051eaf7
AJ
27124test "x$enable_view" != xno && ALL_PROGRAM_DIRS="$ALL_PROGRAM_DIRS \\
27125 view"
a360e934
AJ
27126ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
27127programs/view/Makefile: programs/view/Makefile.in programs/Makeprog.rules"
fbc80d79
MM
27128ac_config_files="$ac_config_files programs/view/Makefile"
27129
a360e934
AJ
27130ALL_MAKEFILES="$ALL_MAKEFILES \\
27131 programs/wineboot/Makefile"
4051eaf7
AJ
27132test "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
27136ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
27137programs/wineboot/Makefile: programs/wineboot/Makefile.in programs/Makeprog.rules"
fbc80d79
MM
27138ac_config_files="$ac_config_files programs/wineboot/Makefile"
27139
a360e934
AJ
27140ALL_MAKEFILES="$ALL_MAKEFILES \\
27141 programs/winebrowser/Makefile"
4051eaf7
AJ
27142test "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
27146ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
27147programs/winebrowser/Makefile: programs/winebrowser/Makefile.in programs/Makeprog.rules"
fbc80d79
MM
27148ac_config_files="$ac_config_files programs/winebrowser/Makefile"
27149
a360e934
AJ
27150ALL_MAKEFILES="$ALL_MAKEFILES \\
27151 programs/winecfg/Makefile"
4051eaf7
AJ
27152test "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
27156ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
27157programs/winecfg/Makefile: programs/winecfg/Makefile.in programs/Makeprog.rules"
fbc80d79
MM
27158ac_config_files="$ac_config_files programs/winecfg/Makefile"
27159
a360e934
AJ
27160ALL_MAKEFILES="$ALL_MAKEFILES \\
27161 programs/wineconsole/Makefile"
4051eaf7
AJ
27162test "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
27166ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
27167programs/wineconsole/Makefile: programs/wineconsole/Makefile.in programs/Makeprog.rules"
fbc80d79
MM
27168ac_config_files="$ac_config_files programs/wineconsole/Makefile"
27169
a360e934
AJ
27170ALL_MAKEFILES="$ALL_MAKEFILES \\
27171 programs/winedbg/Makefile"
4051eaf7
AJ
27172test "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
27176ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
27177programs/winedbg/Makefile: programs/winedbg/Makefile.in programs/Makeprog.rules"
fbc80d79
MM
27178ac_config_files="$ac_config_files programs/winedbg/Makefile"
27179
a360e934
AJ
27180ALL_MAKEFILES="$ALL_MAKEFILES \\
27181 programs/winedevice/Makefile"
4051eaf7
AJ
27182test "x$enable_winedevice" != xno && ALL_PROGRAM_DIRS="$ALL_PROGRAM_DIRS \\
27183 winedevice" && ALL_PROGRAM_INSTALL_DIRS="$ALL_PROGRAM_INSTALL_DIRS \\
27184 winedevice"
a360e934
AJ
27185ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
27186programs/winedevice/Makefile: programs/winedevice/Makefile.in programs/Makeprog.rules"
c81d0995
AJ
27187ac_config_files="$ac_config_files programs/winedevice/Makefile"
27188
a360e934
AJ
27189ALL_MAKEFILES="$ALL_MAKEFILES \\
27190 programs/winefile/Makefile"
4051eaf7
AJ
27191test "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
27195ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
27196programs/winefile/Makefile: programs/winefile/Makefile.in programs/Makeprog.rules"
fbc80d79
MM
27197ac_config_files="$ac_config_files programs/winefile/Makefile"
27198
a360e934
AJ
27199ALL_MAKEFILES="$ALL_MAKEFILES \\
27200 programs/winemenubuilder/Makefile"
4051eaf7
AJ
27201test "x$enable_winemenubuilder" != xno && ALL_PROGRAM_DIRS="$ALL_PROGRAM_DIRS \\
27202 winemenubuilder" && ALL_PROGRAM_INSTALL_DIRS="$ALL_PROGRAM_INSTALL_DIRS \\
27203 winemenubuilder"
a360e934
AJ
27204ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
27205programs/winemenubuilder/Makefile: programs/winemenubuilder/Makefile.in programs/Makeprog.rules"
fbc80d79
MM
27206ac_config_files="$ac_config_files programs/winemenubuilder/Makefile"
27207
a360e934
AJ
27208ALL_MAKEFILES="$ALL_MAKEFILES \\
27209 programs/winemine/Makefile"
4051eaf7
AJ
27210test "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
27214ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
27215programs/winemine/Makefile: programs/winemine/Makefile.in programs/Makeprog.rules"
fbc80d79
MM
27216ac_config_files="$ac_config_files programs/winemine/Makefile"
27217
a360e934
AJ
27218ALL_MAKEFILES="$ALL_MAKEFILES \\
27219 programs/winepath/Makefile"
4051eaf7
AJ
27220test "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
27224ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
27225programs/winepath/Makefile: programs/winepath/Makefile.in programs/Makeprog.rules"
fbc80d79
MM
27226ac_config_files="$ac_config_files programs/winepath/Makefile"
27227
a360e934
AJ
27228ALL_MAKEFILES="$ALL_MAKEFILES \\
27229 programs/winetest/Makefile"
4051eaf7
AJ
27230test "x$enable_winetest" != xno && ALL_PROGRAM_DIRS="$ALL_PROGRAM_DIRS \\
27231 winetest"
a360e934
AJ
27232ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
27233programs/winetest/Makefile: programs/winetest/Makefile.in programs/Makeprog.rules"
fbc80d79
MM
27234ac_config_files="$ac_config_files programs/winetest/Makefile"
27235
a360e934
AJ
27236ALL_MAKEFILES="$ALL_MAKEFILES \\
27237 programs/winevdm/Makefile"
4051eaf7
AJ
27238test "x$enable_winevdm" != xno && ALL_PROGRAM_DIRS="$ALL_PROGRAM_DIRS \\
27239 winevdm" && ALL_PROGRAM_INSTALL_DIRS="$ALL_PROGRAM_INSTALL_DIRS \\
27240 winevdm"
a360e934
AJ
27241ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
27242programs/winevdm/Makefile: programs/winevdm/Makefile.in programs/Makeprog.rules"
fbc80d79
MM
27243ac_config_files="$ac_config_files programs/winevdm/Makefile"
27244
a360e934
AJ
27245ALL_MAKEFILES="$ALL_MAKEFILES \\
27246 programs/winhlp32/Makefile"
4051eaf7
AJ
27247test "x$enable_winhlp32" != xno && ALL_PROGRAM_DIRS="$ALL_PROGRAM_DIRS \\
27248 winhlp32" && ALL_PROGRAM_INSTALL_DIRS="$ALL_PROGRAM_INSTALL_DIRS \\
27249 winhlp32"
a360e934
AJ
27250ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
27251programs/winhlp32/Makefile: programs/winhlp32/Makefile.in programs/Makeprog.rules"
a795f36a 27252ac_config_files="$ac_config_files programs/winhlp32/Makefile"
fbc80d79 27253
a360e934
AJ
27254ALL_MAKEFILES="$ALL_MAKEFILES \\
27255 programs/winver/Makefile"
4051eaf7
AJ
27256test "x$enable_winver" != xno && ALL_PROGRAM_DIRS="$ALL_PROGRAM_DIRS \\
27257 winver" && ALL_PROGRAM_INSTALL_DIRS="$ALL_PROGRAM_INSTALL_DIRS \\
27258 winver"
a360e934
AJ
27259ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
27260programs/winver/Makefile: programs/winver/Makefile.in programs/Makeprog.rules"
fbc80d79
MM
27261ac_config_files="$ac_config_files programs/winver/Makefile"
27262
a360e934
AJ
27263ALL_MAKEFILES="$ALL_MAKEFILES \\
27264 programs/wordpad/Makefile"
4051eaf7
AJ
27265test "x$enable_wordpad" != xno && ALL_PROGRAM_DIRS="$ALL_PROGRAM_DIRS \\
27266 wordpad" && ALL_PROGRAM_INSTALL_DIRS="$ALL_PROGRAM_INSTALL_DIRS \\
27267 wordpad"
a360e934
AJ
27268ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
27269programs/wordpad/Makefile: programs/wordpad/Makefile.in programs/Makeprog.rules"
fbc80d79
MM
27270ac_config_files="$ac_config_files programs/wordpad/Makefile"
27271
a360e934
AJ
27272ALL_MAKEFILES="$ALL_MAKEFILES \\
27273 programs/write/Makefile"
4051eaf7
AJ
27274test "x$enable_write" != xno && ALL_PROGRAM_DIRS="$ALL_PROGRAM_DIRS \\
27275 write" && ALL_PROGRAM_INSTALL_DIRS="$ALL_PROGRAM_INSTALL_DIRS \\
27276 write"
a360e934
AJ
27277ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
27278programs/write/Makefile: programs/write/Makefile.in programs/Makeprog.rules"
2777a94d
MZ
27279ac_config_files="$ac_config_files programs/write/Makefile"
27280
a360e934
AJ
27281ALL_MAKEFILES="$ALL_MAKEFILES \\
27282 programs/xcopy/Makefile"
4051eaf7
AJ
27283test "x$enable_xcopy" != xno && ALL_PROGRAM_DIRS="$ALL_PROGRAM_DIRS \\
27284 xcopy" && ALL_PROGRAM_INSTALL_DIRS="$ALL_PROGRAM_INSTALL_DIRS \\
27285 xcopy"
a360e934
AJ
27286ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
27287programs/xcopy/Makefile: programs/xcopy/Makefile.in programs/Makeprog.rules"
921edab7
JE
27288ac_config_files="$ac_config_files programs/xcopy/Makefile"
27289
a360e934
AJ
27290ALL_MAKEFILES="$ALL_MAKEFILES \\
27291 server/Makefile"
6de0af1e
AJ
27292test "x$enable_server" != xno && ALL_TOP_DIRS="$ALL_TOP_DIRS \\
27293 server"
a360e934
AJ
27294ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
27295server/Makefile: server/Makefile.in Make.rules"
fbc80d79
MM
27296ac_config_files="$ac_config_files server/Makefile"
27297
a360e934
AJ
27298ALL_MAKEFILES="$ALL_MAKEFILES \\
27299 tools/Makefile"
6de0af1e
AJ
27300test "x$enable_tools" != xno && ALL_TOP_DIRS="$ALL_TOP_DIRS \\
27301 tools"
a360e934
AJ
27302ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
27303tools/Makefile: tools/Makefile.in Make.rules"
fbc80d79
MM
27304ac_config_files="$ac_config_files tools/Makefile"
27305
a360e934
AJ
27306ALL_MAKEFILES="$ALL_MAKEFILES \\
27307 tools/widl/Makefile"
49163da1 27308
a360e934
AJ
27309ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
27310tools/widl/Makefile: tools/widl/Makefile.in Make.rules"
fbc80d79
MM
27311ac_config_files="$ac_config_files tools/widl/Makefile"
27312
a360e934
AJ
27313ALL_MAKEFILES="$ALL_MAKEFILES \\
27314 tools/winebuild/Makefile"
49163da1 27315
a360e934
AJ
27316ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
27317tools/winebuild/Makefile: tools/winebuild/Makefile.in Make.rules"
fbc80d79
MM
27318ac_config_files="$ac_config_files tools/winebuild/Makefile"
27319
a360e934
AJ
27320ALL_MAKEFILES="$ALL_MAKEFILES \\
27321 tools/winedump/Makefile"
49163da1 27322
a360e934
AJ
27323ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
27324tools/winedump/Makefile: tools/winedump/Makefile.in Make.rules"
fbc80d79
MM
27325ac_config_files="$ac_config_files tools/winedump/Makefile"
27326
a360e934
AJ
27327ALL_MAKEFILES="$ALL_MAKEFILES \\
27328 tools/winegcc/Makefile"
49163da1 27329
a360e934
AJ
27330ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
27331tools/winegcc/Makefile: tools/winegcc/Makefile.in Make.rules"
fbc80d79
MM
27332ac_config_files="$ac_config_files tools/winegcc/Makefile"
27333
a360e934
AJ
27334ALL_MAKEFILES="$ALL_MAKEFILES \\
27335 tools/wmc/Makefile"
49163da1 27336
a360e934
AJ
27337ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
27338tools/wmc/Makefile: tools/wmc/Makefile.in Make.rules"
fbc80d79
MM
27339ac_config_files="$ac_config_files tools/wmc/Makefile"
27340
a360e934
AJ
27341ALL_MAKEFILES="$ALL_MAKEFILES \\
27342 tools/wrc/Makefile"
49163da1 27343
a360e934
AJ
27344ALL_MAKEFILE_DEPENDS="$ALL_MAKEFILE_DEPENDS
27345tools/wrc/Makefile: tools/wrc/Makefile.in Make.rules"
fbc80d79 27346ac_config_files="$ac_config_files tools/wrc/Makefile"
daa2886c 27347
626f425b 27348
67828b60
AJ
27349
27350ALL_WINETEST_DEPENDS="# Test binaries"
27351
27352for dir in $ALL_TEST_DIRS
27353do
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
27361done
27362
f5818d2f 27363cat >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
27425if 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
27435fi
27436rm -f confcache
27437
e2991ea7
AJ
27438test "x$prefix" = xNONE && prefix=$ac_default_prefix
27439# Let make expand exec_prefix.
27440test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
27441
18f92e76 27442DEFS=-DHAVE_CONFIG_H
e2991ea7 27443
11af04e3
AJ
27444ac_libobjs=
27445ac_ltlibobjs=
27446for 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
27454done
27455LIBOBJS=$ac_libobjs
27456
27457LTLIBOBJS=$ac_ltlibobjs
27458
27459
daa2886c 27460
e2991ea7 27461: ${CONFIG_STATUS=./config.status}
abf5048b 27462ac_write_fail=0
f5818d2f
AJ
27463ac_clean_files_save=$ac_clean_files
27464ac_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;}
27467cat >$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 27474debug=false
e24bcc77
AJ
27475ac_cs_recheck=false
27476ac_cs_silent=false
f5818d2f 27477SHELL=\${CONFIG_SHELL-$SHELL}
f5818d2f
AJ
27478_ACEOF
27479
abf5048b 27480cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
daa2886c
AJ
27481## --------------------- ##
27482## M4sh Initialization. ##
27483## --------------------- ##
27484
dc9f3843
AJ
27485# Be more Bourne compatible
27486DUALCASE=1; export DUALCASE # for MKS sh
f5818d2f
AJ
27487if 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
27494else
dc9f3843
AJ
27495 case `(set -o) 2>/dev/null` in
27496 *posix*) set -o posix ;;
27497esac
27498
f5818d2f 27499fi
dc9f3843
AJ
27500
27501
f5818d2f 27502
fc6ffb29
AJ
27503
27504# PATH needs CR
27505# Avoid depending upon Character Ranges.
27506as_cr_letters='abcdefghijklmnopqrstuvwxyz'
27507as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
27508as_cr_Letters=$as_cr_letters$as_cr_LETTERS
27509as_cr_digits='0123456789'
27510as_cr_alnum=$as_cr_Letters$as_cr_digits
27511
abf5048b
AJ
27512as_nl='
27513'
27514export as_nl
27515# Printing a long string crashes Solaris 7 /usr/bin/printf.
27516as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
27517as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
27518as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
27519if (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'
27522else
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'
27542fi
27543
27544# The user is always right.
27545if 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
27551fi
27552
daa2886c 27553# Support unset when possible.
875927f6 27554if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
daa2886c
AJ
27555 as_unset=unset
27556else
27557 as_unset=false
27558fi
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
27566IFS=" "" $as_nl"
27567
27568# Find who we are. Look in the path if we contain no directory separator.
27569case $0 in
27570 *[\\/]* ) as_myself=$0 ;;
27571 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
27572for as_dir in $PATH
27573do
27574 IFS=$as_save_IFS
27575 test -z "$as_dir" && as_dir=.
27576 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
27577done
27578IFS=$as_save_IFS
27579
27580 ;;
27581esac
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.
27584if test "x$as_myself" = x; then
27585 as_myself=$0
27586fi
27587if 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; }
27590fi
27591
11af04e3 27592# Work around bugs in pre-3.0 UWIN ksh.
fc6ffb29
AJ
27593for as_var in ENV MAIL MAILPATH
27594do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
27595done
11af04e3
AJ
27596PS1='$ '
27597PS2='> '
27598PS4='+ '
27599
27600# NLS nuisances.
abf5048b
AJ
27601LC_ALL=C
27602export LC_ALL
27603LANGUAGE=C
27604export LANGUAGE
11af04e3
AJ
27605
27606# Required to use basename.
fc6ffb29
AJ
27607if expr a : '\(a\)' >/dev/null 2>&1 &&
27608 test "X`expr 00001 : '.*\(...\)'`" = X001; then
11af04e3
AJ
27609 as_expr=expr
27610else
27611 as_expr=false
27612fi
27613
fc6ffb29 27614if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
11af04e3
AJ
27615 as_basename=basename
27616else
27617 as_basename=false
27618fi
daa2886c
AJ
27619
27620
f5818d2f 27621# Name of the executable.
fc6ffb29 27622as_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 27689if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
fc6ffb29
AJ
27690 as_dirname=dirname
27691else
27692 as_dirname=false
27693fi
27694
27695ECHO_C= ECHO_N= ECHO_T=
27696case `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 27704esac
fc6ffb29
AJ
27705if expr a : '\(a\)' >/dev/null 2>&1 &&
27706 test "X`expr 00001 : '.*\(...\)'`" = X001; then
f5818d2f
AJ
27707 as_expr=expr
27708else
27709 as_expr=false
27710fi
27711
27712rm -f conf$$ conf$$.exe conf$$.file
fc6ffb29
AJ
27713if test -d conf$$.dir; then
27714 rm -f conf$$.dir/conf$$.file
27715else
27716 rm -f conf$$.dir
abf5048b
AJ
27717 mkdir conf$$.dir 2>/dev/null
27718fi
27719if (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
27733else
27734 as_ln_s='cp -p'
27735fi
fc6ffb29
AJ
27736rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
27737rmdir conf$$.dir 2>/dev/null
f5818d2f 27738
11af04e3
AJ
27739if mkdir -p . 2>/dev/null; then
27740 as_mkdir_p=:
27741else
875927f6 27742 test -d ./-p && rmdir ./-p
11af04e3
AJ
27743 as_mkdir_p=false
27744fi
27745
dc9f3843
AJ
27746if test -x / >/dev/null 2>&1; then
27747 as_test_x='test -x'
fc6ffb29 27748else
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 27766fi
dc9f3843 27767as_executable_p=$as_test_x
f5818d2f 27768
daa2886c 27769# Sed expression to map a string onto a valid CPP name.
875927f6 27770as_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 27773as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
f5818d2f 27774
f5818d2f 27775
f5818d2f
AJ
27776exec 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.
27781ac_log="
12c80905 27782This file was extended by Wine $as_me 1.1.9, which was
abf5048b 27783generated 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
27791on `(hostname || uname -n) 2>/dev/null | sed 1q`
27792"
27793
f5818d2f
AJ
27794_ACEOF
27795
abf5048b
AJ
27796case $ac_config_files in *"
27797"*) set x $ac_config_files; shift; ac_config_files=$*;;
27798esac
27799
27800case $ac_config_headers in *"
27801"*) set x $ac_config_headers; shift; ac_config_headers=$*;;
27802esac
27803
27804
27805cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
f5818d2f 27806# Files that config.status was made for.
fc6ffb29
AJ
27807config_files="$ac_config_files"
27808config_headers="$ac_config_headers"
27809config_commands="$ac_config_commands"
f5818d2f 27810
fc6ffb29 27811_ACEOF
f5818d2f 27812
abf5048b 27813cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
f5818d2f
AJ
27814ac_cs_usage="\
27815\`$as_me' instantiates files from templates according to the
27816current configuration.
27817
abf5048b 27818Usage: $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
27831Configuration files:
27832$config_files
27833
27834Configuration headers:
27835$config_headers
27836
27837Configuration commands:
27838$config_commands
27839
27840Report bugs to <bug-autoconf@gnu.org>."
f5818d2f 27841
fc6ffb29 27842_ACEOF
abf5048b 27843cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
f5818d2f 27844ac_cs_version="\\
12c80905 27845Wine config.status 1.1.9
abf5048b
AJ
27846configured by $0, generated by GNU Autoconf 2.63,
27847 with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
f5818d2f 27848
abf5048b 27849Copyright (C) 2008 Free Software Foundation, Inc.
f5818d2f
AJ
27850This config.status script is free software; the Free Software Foundation
27851gives unlimited permission to copy, distribute and modify it."
fc6ffb29
AJ
27852
27853ac_pwd='$ac_pwd'
27854srcdir='$srcdir'
27855INSTALL='$INSTALL'
abf5048b 27856test -n "\$AWK" || AWK=awk
daa2886c 27857_ACEOF
f5818d2f 27858
abf5048b
AJ
27859cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
27860# The default lists apply if the user does not specify any file.
f5818d2f
AJ
27861ac_need_defaults=:
27862while test $# != 0
e2991ea7 27863do
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
27902Try \`$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 27912Try \`$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
27920done
27921
e24bcc77
AJ
27922ac_configure_extra_args=
27923
27924if $ac_cs_silent; then
27925 exec 6>/dev/null
27926 ac_configure_extra_args="$ac_configure_extra_args --silent"
27927fi
27928
27929_ACEOF
abf5048b 27930cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
e24bcc77 27931if \$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
27938fi
27939
f5818d2f 27940_ACEOF
abf5048b 27941cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
fc6ffb29
AJ
27942exec 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 27952cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
fc6ffb29 27953_ACEOF
daa2886c 27954
abf5048b 27955cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
fc6ffb29
AJ
27956
27957# Handling of arguments.
f5818d2f
AJ
27958for ac_config_target in $ac_config_targets
27959do
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
28412done
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.
28419if $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
28423fi
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
28457if test -n "$CONFIG_FILES"; then
28458
abf5048b
AJ
28459if $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=
28467else
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 ":" }'
28476fi
28477ac_cr='\r'
28478ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
28479if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
28480 ac_cs_awk_cr='\\r'
28481else
28482 ac_cs_awk_cr=$ac_cr
28483fi
fc6ffb29 28484
abf5048b
AJ
28485echo '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; }; }
28500rm -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; }; }
28510ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
fc6ffb29
AJ
28511ac_delim='%!_!# '
28512for 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 28528done
abf5048b
AJ
28529rm -f conf$$subs.sh
28530
28531cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
28532cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&
28533_ACEOF
28534sed -n '
28535h
28536s/^/S["/; s/!.*/"]=/
28537p
28538g
28539s/^[^!]*!//
28540:repl
28541t repl
28542s/'"$ac_delim"'$//
28543t delim
28544:nl
28545h
28546s/\(.\{148\}\).*/\1/
28547t more1
28548s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
28549p
28550n
28551b repl
28552:more1
28553s/["\\]/\\&/g; s/^/"/; s/$/"\\/
28554p
28555g
28556s/.\{148\}//
28557t nl
28558:delim
28559h
28560s/\(.\{148\}\).*/\1/
28561t more2
28562s/["\\]/\\&/g; s/^/"/; s/$/"/
28563p
28564b
28565:more2
28566s/["\\]/\\&/g; s/^/"/; s/$/"\\/
28567p
28568g
28569s/.\{148\}//
28570t delim
28571' <conf$$subs.awk | sed '
28572/^[^""]/{
28573 N
28574 s/\n//
fc6ffb29 28575}
abf5048b
AJ
28576' >>$CONFIG_STATUS || ac_write_fail=1
28577rm -f conf$$subs.awk
28578cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
28579_ACAWK
28580cat >>"\$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
28613cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
28614if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
28615 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
28616else
28617 cat
28618fi < "$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).
28628if test "x$srcdir" = x.; then
28629 ac_vpsub='/^[ ]*VPATH[ ]*=/{
28630s/:*\$(srcdir):*/:/
28631s/:*\${srcdir}:*/:/
28632s/:*@srcdir@:*/:/
28633s/^\([^=]*=[ ]*\):*/\1/
28634s/:*$//
28635s/^[^=]*=[ ]*$//
28636}'
28637fi
28638
abf5048b 28639cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
fc6ffb29
AJ
28640fi # 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'.
28645if test -n "$CONFIG_HEADERS"; then
28646cat >"$tmp/defines.awk" <<\_ACAWK ||
28647BEGIN {
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.
28656ac_delim='%!_!# '
28657for 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
28668done
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
28674ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
28675sed -n '
28676s/.\{148\}/&'"$ac_delim"'/g
28677t rset
28678:rset
28679s/^[ ]*#[ ]*define[ ][ ]*/ /
28680t def
28681d
28682:def
28683s/\\$//
28684t bsnl
28685s/["\\]/\\&/g
28686s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
28687D["\1"]=" \3"/p
28688s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
28689d
28690:bsnl
28691s/["\\]/\\&/g
28692s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
28693D["\1"]=" \3\\\\\\n"\\/p
28694t cont
28695s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
28696t cont
28697d
28698:cont
28699n
28700s/.\{148\}/&'"$ac_delim"'/g
28701t clear
28702:clear
28703s/\\$//
28704t bsnlc
28705s/["\\]/\\&/g; s/^/"/; s/$/"/p
28706d
28707:bsnlc
28708s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
28709b cont
28710' <confdefs.h | sed '
28711s/'"$ac_delim"'/"\\\
28712"/g' >>$CONFIG_STATUS || ac_write_fail=1
28713
28714cat >>$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
28748cat >>$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; }; }
28752fi # test -n "$CONFIG_HEADERS"
28753
fc6ffb29 28754
abf5048b
AJ
28755eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
28756shift
28757for ac_tag
fc6ffb29
AJ
28758do
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
28896case "$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 ;;
28906esac
28907ac_abs_top_builddir=$ac_pwd
28908ac_abs_builddir=$ac_pwd$ac_dir_suffix
28909# for backward compatibility:
28910ac_top_builddir=$ac_top_build_prefix
daa2886c
AJ
28911
28912case $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 28925esac
fc6ffb29 28926ac_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 28941cat >>$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 28944ac_datarootdir_hack=; ac_datarootdir_seen=
875927f6 28945
abf5048b
AJ
28946ac_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'
28957case `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 28963cat >>$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' ;;
28971esac
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
28977cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
28978ac_sed_extra="$ac_vpsub
f5818d2f 28979$extrasub
daa2886c 28980_ACEOF
abf5048b 28981cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
f5818d2f
AJ
28982:t
28983/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
abf5048b 28984s|@configure_input@|$ac_sed_conf_input|;t t
fc6ffb29 28985s&@top_builddir@&$ac_top_builddir_sub&;t t
abf5048b 28986s&@top_build_prefix@&$ac_top_build_prefix&;t t
fc6ffb29
AJ
28987s&@srcdir@&$ac_srcdir&;t t
28988s&@abs_srcdir@&$ac_abs_srcdir&;t t
28989s&@top_srcdir@&$ac_top_srcdir&;t t
28990s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
28991s&@builddir@&$ac_builddir&;t t
28992s&@abs_builddir@&$ac_abs_builddir&;t t
28993s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
28994s&@INSTALL@&$ac_INSTALL&;t t
28995$ac_datarootdir_hack
abf5048b
AJ
28996"
28997eval sed \"\$ac_sed_extra\" "$ac_file_inputs" |
28998if $ac_cs_awk_getline; then
28999 $AWK -f "$tmp/subs.awk"
29000else
29001 $AWK -f "$tmp/subs.awk" | $SHELL
29002fi >$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
29007test -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 29011which 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
29013which 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 29077done # for ac_tag
e2991ea7 29078
87a2f8df 29079
f5818d2f 29080{ (exit 0); exit 0; }
daa2886c 29081_ACEOF
e2991ea7 29082chmod +x $CONFIG_STATUS
f5818d2f
AJ
29083ac_clean_files=$ac_clean_files_save
29084
abf5048b
AJ
29085test $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.
29099if 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; }
29110fi
abf5048b
AJ
29111if 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;}
29114fi
e2991ea7 29115
daa2886c 29116
e3bd111b
AJ
29117if test "$no_create" = "yes"
29118then
29119 exit 0
29120fi
29121
f9dec94f 29122ac_save_IFS="$IFS"
a41f0f1b
AJ
29123if 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 29133fi
4736c993 29134IFS="|"
f9dec94f 29135for 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
29142done
29143IFS="$ac_save_IFS"
99d026fb 29144
a41f0f1b
AJ
29145echo "
29146$as_me: Finished. Do '${ac_make} depend && ${ac_make}' to compile Wine.
29147" >&6
e2991ea7 29148