mfplay: Handle user sinks.
[wine.git] / configure
blob39639235469ab8a6d87519ed22862215b7b5aa76
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.69 for Wine 6.6.
5 # Report bugs to <wine-devel@winehq.org>.
8 # Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
11 # This configure script is free software; the Free Software Foundation
12 # gives unlimited permission to copy, distribute and modify it.
13 ## -------------------- ##
14 ## M4sh Initialization. ##
15 ## -------------------- ##
17 # Be more Bourne compatible
18 DUALCASE=1; export DUALCASE # for MKS sh
19 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
20 emulate sh
21 NULLCMD=:
22 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
23 # is contrary to our usage. Disable this feature.
24 alias -g '${1+"$@"}'='"$@"'
25 setopt NO_GLOB_SUBST
26 else
27 case `(set -o) 2>/dev/null` in #(
28 *posix*) :
29 set -o posix ;; #(
30 *) :
32 esac
36 as_nl='
38 export as_nl
39 # Printing a long string crashes Solaris 7 /usr/bin/printf.
40 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
41 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
42 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
43 # Prefer a ksh shell builtin over an external printf program on Solaris,
44 # but without wasting forks for bash or zsh.
45 if test -z "$BASH_VERSION$ZSH_VERSION" \
46 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
47 as_echo='print -r --'
48 as_echo_n='print -rn --'
49 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
50 as_echo='printf %s\n'
51 as_echo_n='printf %s'
52 else
53 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
54 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
55 as_echo_n='/usr/ucb/echo -n'
56 else
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"
67 export as_echo_n_body
68 as_echo_n='sh -c $as_echo_n_body as_echo'
70 export as_echo_body
71 as_echo='sh -c $as_echo_body as_echo'
74 # The user is always right.
75 if test "${PATH_SEPARATOR+set}" != set; then
76 PATH_SEPARATOR=:
77 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
78 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
79 PATH_SEPARATOR=';'
84 # IFS
85 # We need space, tab and new line, in precisely that order. Quoting is
86 # there to prevent editors from complaining about space-tab.
87 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
88 # splitting by setting IFS to empty value.)
89 IFS=" "" $as_nl"
91 # Find who we are. Look in the path if we contain no directory separator.
92 as_myself=
93 case $0 in #((
94 *[\\/]* ) as_myself=$0 ;;
95 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
96 for as_dir in $PATH
98 IFS=$as_save_IFS
99 test -z "$as_dir" && as_dir=.
100 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
101 done
102 IFS=$as_save_IFS
105 esac
106 # We did not find ourselves, most probably we were run as `sh COMMAND'
107 # in which case we are not to be found in the path.
108 if test "x$as_myself" = x; then
109 as_myself=$0
111 if test ! -f "$as_myself"; then
112 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
113 exit 1
116 # Unset variables that we do not need and which cause bugs (e.g. in
117 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
118 # suppresses any "Segmentation fault" message there. '((' could
119 # trigger a bug in pdksh 5.2.14.
120 for as_var in BASH_ENV ENV MAIL MAILPATH
121 do eval test x\${$as_var+set} = xset \
122 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
123 done
124 PS1='$ '
125 PS2='> '
126 PS4='+ '
128 # NLS nuisances.
129 LC_ALL=C
130 export LC_ALL
131 LANGUAGE=C
132 export LANGUAGE
134 # CDPATH.
135 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
137 # Use a proper internal environment variable to ensure we don't fall
138 # into an infinite loop, continuously re-executing ourselves.
139 if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then
140 _as_can_reexec=no; export _as_can_reexec;
141 # We cannot yet assume a decent shell, so we have to provide a
142 # neutralization value for shells without unset; and this also
143 # works around shells that cannot unset nonexistent variables.
144 # Preserve -v and -x to the replacement shell.
145 BASH_ENV=/dev/null
146 ENV=/dev/null
147 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
148 case $- in # ((((
149 *v*x* | *x*v* ) as_opts=-vx ;;
150 *v* ) as_opts=-v ;;
151 *x* ) as_opts=-x ;;
152 * ) as_opts= ;;
153 esac
154 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
155 # Admittedly, this is quite paranoid, since all the known shells bail
156 # out after a failed `exec'.
157 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
158 as_fn_exit 255
160 # We don't want this to propagate to other subprocesses.
161 { _as_can_reexec=; unset _as_can_reexec;}
162 if test "x$CONFIG_SHELL" = x; then
163 as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
164 emulate sh
165 NULLCMD=:
166 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
167 # is contrary to our usage. Disable this feature.
168 alias -g '\${1+\"\$@\"}'='\"\$@\"'
169 setopt NO_GLOB_SUBST
170 else
171 case \`(set -o) 2>/dev/null\` in #(
172 *posix*) :
173 set -o posix ;; #(
174 *) :
176 esac
179 as_required="as_fn_return () { (exit \$1); }
180 as_fn_success () { as_fn_return 0; }
181 as_fn_failure () { as_fn_return 1; }
182 as_fn_ret_success () { return 0; }
183 as_fn_ret_failure () { return 1; }
185 exitcode=0
186 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
187 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
188 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
189 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
190 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
192 else
193 exitcode=1; echo positional parameters were not saved.
195 test x\$exitcode = x0 || exit 1
196 test -x / || exit 1"
197 as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
198 as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
199 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
200 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
201 test \$(( 1 + 1 )) = 2 || exit 1"
202 if (eval "$as_required") 2>/dev/null; then :
203 as_have_required=yes
204 else
205 as_have_required=no
207 if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
209 else
210 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
211 as_found=false
212 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
214 IFS=$as_save_IFS
215 test -z "$as_dir" && as_dir=.
216 as_found=:
217 case $as_dir in #(
219 for as_base in sh bash ksh sh5; do
220 # Try only shells that exist, to save several forks.
221 as_shell=$as_dir/$as_base
222 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
223 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
224 CONFIG_SHELL=$as_shell as_have_required=yes
225 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
226 break 2
229 done;;
230 esac
231 as_found=false
232 done
233 $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
234 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
235 CONFIG_SHELL=$SHELL as_have_required=yes
236 fi; }
237 IFS=$as_save_IFS
240 if test "x$CONFIG_SHELL" != x; then :
241 export CONFIG_SHELL
242 # We cannot yet assume a decent shell, so we have to provide a
243 # neutralization value for shells without unset; and this also
244 # works around shells that cannot unset nonexistent variables.
245 # Preserve -v and -x to the replacement shell.
246 BASH_ENV=/dev/null
247 ENV=/dev/null
248 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
249 case $- in # ((((
250 *v*x* | *x*v* ) as_opts=-vx ;;
251 *v* ) as_opts=-v ;;
252 *x* ) as_opts=-x ;;
253 * ) as_opts= ;;
254 esac
255 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
256 # Admittedly, this is quite paranoid, since all the known shells bail
257 # out after a failed `exec'.
258 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
259 exit 255
262 if test x$as_have_required = xno; then :
263 $as_echo "$0: This script requires a shell more modern than all"
264 $as_echo "$0: the shells that I found on your system."
265 if test x${ZSH_VERSION+set} = xset ; then
266 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
267 $as_echo "$0: be upgraded to zsh 4.3.4 or later."
268 else
269 $as_echo "$0: Please tell bug-autoconf@gnu.org and
270 $0: wine-devel@winehq.org about your system, including any
271 $0: error possibly output before this message. Then install
272 $0: a modern shell, or manually run the script under such a
273 $0: shell if you do have one."
275 exit 1
279 SHELL=${CONFIG_SHELL-/bin/sh}
280 export SHELL
281 # Unset more variables known to interfere with behavior of common tools.
282 CLICOLOR_FORCE= GREP_OPTIONS=
283 unset CLICOLOR_FORCE GREP_OPTIONS
285 ## --------------------- ##
286 ## M4sh Shell Functions. ##
287 ## --------------------- ##
288 # as_fn_unset VAR
289 # ---------------
290 # Portably unset VAR.
291 as_fn_unset ()
293 { eval $1=; unset $1;}
295 as_unset=as_fn_unset
297 # as_fn_set_status STATUS
298 # -----------------------
299 # Set $? to STATUS, without forking.
300 as_fn_set_status ()
302 return $1
303 } # as_fn_set_status
305 # as_fn_exit STATUS
306 # -----------------
307 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
308 as_fn_exit ()
310 set +e
311 as_fn_set_status $1
312 exit $1
313 } # as_fn_exit
315 # as_fn_mkdir_p
316 # -------------
317 # Create "$as_dir" as a directory, including parents if necessary.
318 as_fn_mkdir_p ()
321 case $as_dir in #(
322 -*) as_dir=./$as_dir;;
323 esac
324 test -d "$as_dir" || eval $as_mkdir_p || {
325 as_dirs=
326 while :; do
327 case $as_dir in #(
328 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
329 *) as_qdir=$as_dir;;
330 esac
331 as_dirs="'$as_qdir' $as_dirs"
332 as_dir=`$as_dirname -- "$as_dir" ||
333 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
334 X"$as_dir" : 'X\(//\)[^/]' \| \
335 X"$as_dir" : 'X\(//\)$' \| \
336 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
337 $as_echo X"$as_dir" |
338 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
339 s//\1/
342 /^X\(\/\/\)[^/].*/{
343 s//\1/
346 /^X\(\/\/\)$/{
347 s//\1/
350 /^X\(\/\).*/{
351 s//\1/
354 s/.*/./; q'`
355 test -d "$as_dir" && break
356 done
357 test -z "$as_dirs" || eval "mkdir $as_dirs"
358 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
361 } # as_fn_mkdir_p
363 # as_fn_executable_p FILE
364 # -----------------------
365 # Test if FILE is an executable regular file.
366 as_fn_executable_p ()
368 test -f "$1" && test -x "$1"
369 } # as_fn_executable_p
370 # as_fn_append VAR VALUE
371 # ----------------------
372 # Append the text in VALUE to the end of the definition contained in VAR. Take
373 # advantage of any shell optimizations that allow amortized linear growth over
374 # repeated appends, instead of the typical quadratic growth present in naive
375 # implementations.
376 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
377 eval 'as_fn_append ()
379 eval $1+=\$2
381 else
382 as_fn_append ()
384 eval $1=\$$1\$2
386 fi # as_fn_append
388 # as_fn_arith ARG...
389 # ------------------
390 # Perform arithmetic evaluation on the ARGs, and store the result in the
391 # global $as_val. Take advantage of shells that can avoid forks. The arguments
392 # must be portable across $(()) and expr.
393 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
394 eval 'as_fn_arith ()
396 as_val=$(( $* ))
398 else
399 as_fn_arith ()
401 as_val=`expr "$@" || test $? -eq 1`
403 fi # as_fn_arith
406 # as_fn_error STATUS ERROR [LINENO LOG_FD]
407 # ----------------------------------------
408 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
409 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
410 # script with STATUS, using 1 if that was 0.
411 as_fn_error ()
413 as_status=$1; test $as_status -eq 0 && as_status=1
414 if test "$4"; then
415 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
416 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
418 $as_echo "$as_me: error: $2" >&2
419 as_fn_exit $as_status
420 } # as_fn_error
422 if expr a : '\(a\)' >/dev/null 2>&1 &&
423 test "X`expr 00001 : '.*\(...\)'`" = X001; then
424 as_expr=expr
425 else
426 as_expr=false
429 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
430 as_basename=basename
431 else
432 as_basename=false
435 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
436 as_dirname=dirname
437 else
438 as_dirname=false
441 as_me=`$as_basename -- "$0" ||
442 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
443 X"$0" : 'X\(//\)$' \| \
444 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
445 $as_echo X/"$0" |
446 sed '/^.*\/\([^/][^/]*\)\/*$/{
447 s//\1/
450 /^X\/\(\/\/\)$/{
451 s//\1/
454 /^X\/\(\/\).*/{
455 s//\1/
458 s/.*/./; q'`
460 # Avoid depending upon Character Ranges.
461 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
462 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
463 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
464 as_cr_digits='0123456789'
465 as_cr_alnum=$as_cr_Letters$as_cr_digits
468 as_lineno_1=$LINENO as_lineno_1a=$LINENO
469 as_lineno_2=$LINENO as_lineno_2a=$LINENO
470 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
471 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
472 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
473 sed -n '
475 /[$]LINENO/=
476 ' <$as_myself |
477 sed '
478 s/[$]LINENO.*/&-/
479 t lineno
481 :lineno
483 :loop
484 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
485 t loop
486 s/-\n.*//
487 ' >$as_me.lineno &&
488 chmod +x "$as_me.lineno" ||
489 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
491 # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
492 # already done that, so ensure we don't try to do so again and fall
493 # in an infinite loop. This has already happened in practice.
494 _as_can_reexec=no; export _as_can_reexec
495 # Don't try to exec as it changes $[0], causing all sort of problems
496 # (the dirname of $[0] is not the place where we might find the
497 # original and so on. Autoconf is especially sensitive to this).
498 . "./$as_me.lineno"
499 # Exit status is that of the last command.
500 exit
503 ECHO_C= ECHO_N= ECHO_T=
504 case `echo -n x` in #(((((
505 -n*)
506 case `echo 'xy\c'` in
507 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
508 xy) ECHO_C='\c';;
509 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
510 ECHO_T=' ';;
511 esac;;
513 ECHO_N='-n';;
514 esac
516 rm -f conf$$ conf$$.exe conf$$.file
517 if test -d conf$$.dir; then
518 rm -f conf$$.dir/conf$$.file
519 else
520 rm -f conf$$.dir
521 mkdir conf$$.dir 2>/dev/null
523 if (echo >conf$$.file) 2>/dev/null; then
524 if ln -s conf$$.file conf$$ 2>/dev/null; then
525 as_ln_s='ln -s'
526 # ... but there are two gotchas:
527 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
528 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
529 # In both cases, we have to default to `cp -pR'.
530 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
531 as_ln_s='cp -pR'
532 elif ln conf$$.file conf$$ 2>/dev/null; then
533 as_ln_s=ln
534 else
535 as_ln_s='cp -pR'
537 else
538 as_ln_s='cp -pR'
540 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
541 rmdir conf$$.dir 2>/dev/null
543 if mkdir -p . 2>/dev/null; then
544 as_mkdir_p='mkdir -p "$as_dir"'
545 else
546 test -d ./-p && rmdir ./-p
547 as_mkdir_p=false
550 as_test_x='test -x'
551 as_executable_p=as_fn_executable_p
553 # Sed expression to map a string onto a valid CPP name.
554 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
556 # Sed expression to map a string onto a valid variable name.
557 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
560 test -n "$DJDIR" || exec 7<&0 </dev/null
561 exec 6>&1
563 # Name of the host.
564 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
565 # so uname gets run too.
566 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
569 # Initializations.
571 ac_default_prefix=/usr/local
572 ac_clean_files=
573 ac_config_libobj_dir=.
574 LIBOBJS=
575 cross_compiling=no
576 subdirs=
577 MFLAGS=
578 MAKEFLAGS=
580 # Identity of this package.
581 PACKAGE_NAME='Wine'
582 PACKAGE_TARNAME='wine'
583 PACKAGE_VERSION='6.6'
584 PACKAGE_STRING='Wine 6.6'
585 PACKAGE_BUGREPORT='wine-devel@winehq.org'
586 PACKAGE_URL='https://www.winehq.org'
588 ac_unique_file="server/atom.c"
589 # Factoring default headers for most tests.
590 ac_includes_default="\
591 #include <stdio.h>
592 #ifdef HAVE_SYS_TYPES_H
593 # include <sys/types.h>
594 #endif
595 #ifdef HAVE_SYS_STAT_H
596 # include <sys/stat.h>
597 #endif
598 #ifdef STDC_HEADERS
599 # include <stdlib.h>
600 # include <stddef.h>
601 #else
602 # ifdef HAVE_STDLIB_H
603 # include <stdlib.h>
604 # endif
605 #endif
606 #ifdef HAVE_STRING_H
607 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
608 # include <memory.h>
609 # endif
610 # include <string.h>
611 #endif
612 #ifdef HAVE_STRINGS_H
613 # include <strings.h>
614 #endif
615 #ifdef HAVE_INTTYPES_H
616 # include <inttypes.h>
617 #endif
618 #ifdef HAVE_STDINT_H
619 # include <stdint.h>
620 #endif
621 #ifdef HAVE_UNISTD_H
622 # include <unistd.h>
623 #endif"
625 ac_subst_vars='LTLIBOBJS
626 LIBOBJS
627 ALL_VARS_RULES
628 LDAP_LIBS
629 LDAP_CFLAGS
630 RT_LIBS
631 POLL_LIBS
632 TOOLSEXT
633 MSVCRTFLAGS
634 EXTRACFLAGS
635 VKD3D_SHADER_LIBS
636 VKD3D_SHADER_CFLAGS
637 VKD3D_LIBS
638 VKD3D_CFLAGS
639 NETAPI_LIBS
640 NETAPI_CFLAGS
641 PROCSTAT_LIBS
642 KSTAT_LIBS
643 MPG123_LIBS
644 MPG123_CFLAGS
645 TIFF_LIBS
646 TIFF_CFLAGS
647 PNG_LIBS
648 PNG_CFLAGS
649 JXRLIB_LIBS
650 JXRLIB_CFLAGS
651 JPEG_LIBS
652 JPEG_CFLAGS
653 GSSAPI_LIBS
654 GSSAPI_CFLAGS
655 KRB5_LIBS
656 KRB5_CFLAGS
657 FONTCONFIG_LIBS
658 FONTCONFIG_CFLAGS
659 CUPS_LIBS
660 CUPS_CFLAGS
661 CAPI20_LIBS
662 CAPI20_CFLAGS
663 FAUDIO_LIBS
664 FAUDIO_CFLAGS
665 SDL2_LIBS
666 SDL2_CFLAGS
667 UNWIND_LIBS
668 UNWIND_CFLAGS
669 UDEV_LIBS
670 UDEV_CFLAGS
671 OSS4_LIBS
672 OSS4_CFLAGS
673 ALSA_LIBS
674 GSTREAMER_LIBS
675 GSTREAMER_CFLAGS
676 PULSE_LIBS
677 PULSE_CFLAGS
678 GETTEXTPO_LIBS
679 FREETYPE_LIBS
680 FREETYPE_CFLAGS
681 LCMS2_LIBS
682 LCMS2_CFLAGS
683 RESOLV_LIBS
684 GPHOTO2_PORT_LIBS
685 GPHOTO2_PORT_CFLAGS
686 GPHOTO2_LIBS
687 GPHOTO2_CFLAGS
688 USB_LIBS
689 USB_CFLAGS
690 SANE_LIBS
691 SANE_CFLAGS
692 GNUTLS_LIBS
693 GNUTLS_CFLAGS
694 HAL_LIBS
695 HAL_CFLAGS
696 DBUS_LIBS
697 DBUS_CFLAGS
698 INOTIFY_LIBS
699 INOTIFY_CFLAGS
700 XSLT_LIBS
701 XSLT_CFLAGS
702 XML2_LIBS
703 XML2_CFLAGS
704 PCAP_LIBS
705 X_EXTRA_LIBS
706 X_LIBS
707 X_PRE_LIBS
708 X_CFLAGS
709 XMKMF
710 PTHREAD_LIBS
711 EXCESS_PRECISION_CFLAGS
712 CROSSDEBUG
713 DELAYLOADFLAG
714 CROSSLDFLAGS
715 EXTRACROSSCFLAGS
716 CROSSCFLAGS
717 CROSSCC
718 CROSSTARGET
719 LIBWINE_DEPENDS
720 PRELINK
721 WINELOADER_DEPENDS
722 LIBWINE_LDFLAGS
723 LIBWINE_SHAREDLIB
724 METAL_LIBS
725 CARBON_LIBS
726 QUICKTIME_LIBS
727 OPENCL_LIBS
728 OPENAL_LIBS
729 COREAUDIO_LIBS
730 SECURITY_LIBS
731 DISKARBITRATION_LIBS
732 SYSTEMCONFIGURATION_LIBS
733 APPKIT_LIBS
734 CORESERVICES_LIBS
735 APPLICATIONSERVICES_LIBS
736 FORCEFEEDBACK_LIBS
737 IOKIT_LIBS
738 COREFOUNDATION_LIBS
739 OBJCPP
740 ac_ct_OBJC
741 OBJCFLAGS
742 OBJC
743 DLLTOOL
744 WINELOADER_PROGRAMS
745 CONFIGURE_TARGETS
746 DISABLED_SUBDIRS
747 SUBDIRS
748 READELF
749 OTOOL
751 WINEPRELOADER_LDFLAGS
752 WINELOADER_LDFLAGS
753 TOP_INSTALL_DEV
754 TOP_INSTALL_LIB
755 LDEXECFLAGS
756 LDDLLFLAGS
757 DLLFLAGS
759 OPENGL_LIBS
760 I386_LIBS
761 ICOTOOL
762 CONVERT
763 RSVG
764 FONTFORGE
765 PKG_CONFIG
766 MSGFMT
767 LDCONFIG
768 EGREP
769 GREP
770 LN_S
771 RANLIB
772 STRIP
773 ac_ct_AR
775 BISON
776 FLEX
777 TOOLSDIR
778 TARGETFLAGS
780 CPPBIN
781 ac_ct_CXX
782 CXXFLAGS
784 OBJEXT
785 EXEEXT
786 ac_ct_CC
787 CPPFLAGS
788 LDFLAGS
789 CFLAGS
791 SET_MAKE
792 host_os
793 host_vendor
794 host_cpu
795 host
796 build_os
797 build_vendor
798 build_cpu
799 build
800 target_alias
801 host_alias
802 build_alias
803 LIBS
804 ECHO_T
805 ECHO_N
806 ECHO_C
807 DEFS
808 mandir
809 localedir
810 libdir
811 psdir
812 pdfdir
813 dvidir
814 htmldir
815 infodir
816 docdir
817 oldincludedir
818 includedir
819 runstatedir
820 localstatedir
821 sharedstatedir
822 sysconfdir
823 datadir
824 datarootdir
825 libexecdir
826 sbindir
827 bindir
828 program_transform_name
829 prefix
830 exec_prefix
831 PACKAGE_URL
832 PACKAGE_BUGREPORT
833 PACKAGE_STRING
834 PACKAGE_VERSION
835 PACKAGE_TARNAME
836 PACKAGE_NAME
837 PATH_SEPARATOR
838 SHELL'
839 ac_subst_files=''
840 ac_user_opts='
841 enable_option_checking
842 enable_win16
843 enable_win64
844 enable_tests
845 enable_build_id
846 enable_maintainer_mode
847 enable_silent_rules
848 enable_werror
849 with_alsa
850 with_capi
851 with_cms
852 with_coreaudio
853 with_cups
854 with_dbus
855 with_faudio
856 with_float_abi
857 with_fontconfig
858 with_freetype
859 with_gettext
860 with_gettextpo
861 with_gphoto
862 with_gnutls
863 with_gsm
864 with_gssapi
865 with_gstreamer
866 with_hal
867 with_inotify
868 with_jpeg
869 with_jxrlib
870 with_krb5
871 with_ldap
872 with_mingw
873 with_mpg123
874 with_netapi
875 with_openal
876 with_opencl
877 with_opengl
878 with_osmesa
879 with_oss
880 with_pcap
881 with_png
882 with_pthread
883 with_pulse
884 with_quicktime
885 with_sane
886 with_sdl
887 with_tiff
888 with_udev
889 with_unwind
890 with_usb
891 with_v4l2
892 with_vkd3d
893 with_vulkan
894 with_xcomposite
895 with_xcursor
896 with_xfixes
897 with_xinerama
898 with_xinput
899 with_xinput2
900 with_xml
901 with_xrandr
902 with_xrender
903 with_xshape
904 with_xshm
905 with_xslt
906 with_xxf86vm
907 with_wine_tools
908 with_wine64
909 enable_largefile
910 with_x
911 enable_acledit
912 enable_aclui
913 enable_activeds_tlb
914 enable_activeds
915 enable_actxprxy
916 enable_adsiid
917 enable_adsldp
918 enable_adsldpc
919 enable_advapi32
920 enable_advpack
921 enable_amsi
922 enable_amstream
923 enable_api_ms_win_appmodel_identity_l1_1_0
924 enable_api_ms_win_appmodel_runtime_l1_1_1
925 enable_api_ms_win_appmodel_runtime_l1_1_2
926 enable_api_ms_win_core_apiquery_l1_1_0
927 enable_api_ms_win_core_appcompat_l1_1_1
928 enable_api_ms_win_core_appinit_l1_1_0
929 enable_api_ms_win_core_atoms_l1_1_0
930 enable_api_ms_win_core_bem_l1_1_0
931 enable_api_ms_win_core_com_l1_1_0
932 enable_api_ms_win_core_com_l1_1_1
933 enable_api_ms_win_core_com_private_l1_1_0
934 enable_api_ms_win_core_comm_l1_1_0
935 enable_api_ms_win_core_console_l1_1_0
936 enable_api_ms_win_core_console_l2_1_0
937 enable_api_ms_win_core_crt_l1_1_0
938 enable_api_ms_win_core_crt_l2_1_0
939 enable_api_ms_win_core_datetime_l1_1_0
940 enable_api_ms_win_core_datetime_l1_1_1
941 enable_api_ms_win_core_debug_l1_1_0
942 enable_api_ms_win_core_debug_l1_1_1
943 enable_api_ms_win_core_delayload_l1_1_0
944 enable_api_ms_win_core_delayload_l1_1_1
945 enable_api_ms_win_core_errorhandling_l1_1_0
946 enable_api_ms_win_core_errorhandling_l1_1_1
947 enable_api_ms_win_core_errorhandling_l1_1_2
948 enable_api_ms_win_core_errorhandling_l1_1_3
949 enable_api_ms_win_core_fibers_l1_1_0
950 enable_api_ms_win_core_fibers_l1_1_1
951 enable_api_ms_win_core_file_ansi_l2_1_0
952 enable_api_ms_win_core_file_fromapp_l1_1_0
953 enable_api_ms_win_core_file_l1_1_0
954 enable_api_ms_win_core_file_l1_2_0
955 enable_api_ms_win_core_file_l1_2_1
956 enable_api_ms_win_core_file_l1_2_2
957 enable_api_ms_win_core_file_l2_1_0
958 enable_api_ms_win_core_file_l2_1_1
959 enable_api_ms_win_core_file_l2_1_2
960 enable_api_ms_win_core_handle_l1_1_0
961 enable_api_ms_win_core_heap_l1_1_0
962 enable_api_ms_win_core_heap_l1_2_0
963 enable_api_ms_win_core_heap_l2_1_0
964 enable_api_ms_win_core_heap_obsolete_l1_1_0
965 enable_api_ms_win_core_interlocked_l1_1_0
966 enable_api_ms_win_core_interlocked_l1_2_0
967 enable_api_ms_win_core_io_l1_1_0
968 enable_api_ms_win_core_io_l1_1_1
969 enable_api_ms_win_core_job_l1_1_0
970 enable_api_ms_win_core_job_l2_1_0
971 enable_api_ms_win_core_kernel32_legacy_l1_1_0
972 enable_api_ms_win_core_kernel32_legacy_l1_1_1
973 enable_api_ms_win_core_kernel32_legacy_l1_1_2
974 enable_api_ms_win_core_kernel32_private_l1_1_1
975 enable_api_ms_win_core_largeinteger_l1_1_0
976 enable_api_ms_win_core_libraryloader_l1_1_0
977 enable_api_ms_win_core_libraryloader_l1_1_1
978 enable_api_ms_win_core_libraryloader_l1_2_0
979 enable_api_ms_win_core_libraryloader_l1_2_1
980 enable_api_ms_win_core_libraryloader_l1_2_2
981 enable_api_ms_win_core_libraryloader_l2_1_0
982 enable_api_ms_win_core_localization_l1_1_0
983 enable_api_ms_win_core_localization_l1_2_0
984 enable_api_ms_win_core_localization_l1_2_1
985 enable_api_ms_win_core_localization_l1_2_2
986 enable_api_ms_win_core_localization_l2_1_0
987 enable_api_ms_win_core_localization_obsolete_l1_1_0
988 enable_api_ms_win_core_localization_obsolete_l1_2_0
989 enable_api_ms_win_core_localization_obsolete_l1_3_0
990 enable_api_ms_win_core_localization_private_l1_1_0
991 enable_api_ms_win_core_localregistry_l1_1_0
992 enable_api_ms_win_core_memory_l1_1_0
993 enable_api_ms_win_core_memory_l1_1_1
994 enable_api_ms_win_core_memory_l1_1_2
995 enable_api_ms_win_core_memory_l1_1_3
996 enable_api_ms_win_core_memory_l1_1_4
997 enable_api_ms_win_core_misc_l1_1_0
998 enable_api_ms_win_core_namedpipe_ansi_l1_1_0
999 enable_api_ms_win_core_namedpipe_l1_1_0
1000 enable_api_ms_win_core_namedpipe_l1_2_0
1001 enable_api_ms_win_core_namespace_l1_1_0
1002 enable_api_ms_win_core_normalization_l1_1_0
1003 enable_api_ms_win_core_path_l1_1_0
1004 enable_api_ms_win_core_privateprofile_l1_1_1
1005 enable_api_ms_win_core_processenvironment_l1_1_0
1006 enable_api_ms_win_core_processenvironment_l1_2_0
1007 enable_api_ms_win_core_processthreads_l1_1_0
1008 enable_api_ms_win_core_processthreads_l1_1_1
1009 enable_api_ms_win_core_processthreads_l1_1_2
1010 enable_api_ms_win_core_processthreads_l1_1_3
1011 enable_api_ms_win_core_processtopology_obsolete_l1_1_0
1012 enable_api_ms_win_core_profile_l1_1_0
1013 enable_api_ms_win_core_psapi_ansi_l1_1_0
1014 enable_api_ms_win_core_psapi_l1_1_0
1015 enable_api_ms_win_core_psapi_obsolete_l1_1_0
1016 enable_api_ms_win_core_quirks_l1_1_0
1017 enable_api_ms_win_core_realtime_l1_1_0
1018 enable_api_ms_win_core_registry_l1_1_0
1019 enable_api_ms_win_core_registry_l2_1_0
1020 enable_api_ms_win_core_registry_l2_2_0
1021 enable_api_ms_win_core_registryuserspecific_l1_1_0
1022 enable_api_ms_win_core_rtlsupport_l1_1_0
1023 enable_api_ms_win_core_rtlsupport_l1_2_0
1024 enable_api_ms_win_core_shlwapi_legacy_l1_1_0
1025 enable_api_ms_win_core_shlwapi_obsolete_l1_1_0
1026 enable_api_ms_win_core_shlwapi_obsolete_l1_2_0
1027 enable_api_ms_win_core_shutdown_l1_1_0
1028 enable_api_ms_win_core_sidebyside_l1_1_0
1029 enable_api_ms_win_core_string_l1_1_0
1030 enable_api_ms_win_core_string_l2_1_0
1031 enable_api_ms_win_core_string_obsolete_l1_1_0
1032 enable_api_ms_win_core_stringansi_l1_1_0
1033 enable_api_ms_win_core_stringloader_l1_1_1
1034 enable_api_ms_win_core_synch_ansi_l1_1_0
1035 enable_api_ms_win_core_synch_l1_1_0
1036 enable_api_ms_win_core_synch_l1_2_0
1037 enable_api_ms_win_core_synch_l1_2_1
1038 enable_api_ms_win_core_sysinfo_l1_1_0
1039 enable_api_ms_win_core_sysinfo_l1_2_0
1040 enable_api_ms_win_core_sysinfo_l1_2_1
1041 enable_api_ms_win_core_systemtopology_l1_1_0
1042 enable_api_ms_win_core_threadpool_l1_1_0
1043 enable_api_ms_win_core_threadpool_l1_2_0
1044 enable_api_ms_win_core_threadpool_legacy_l1_1_0
1045 enable_api_ms_win_core_threadpool_private_l1_1_0
1046 enable_api_ms_win_core_timezone_l1_1_0
1047 enable_api_ms_win_core_toolhelp_l1_1_0
1048 enable_api_ms_win_core_url_l1_1_0
1049 enable_api_ms_win_core_util_l1_1_0
1050 enable_api_ms_win_core_version_l1_1_0
1051 enable_api_ms_win_core_version_l1_1_1
1052 enable_api_ms_win_core_version_private_l1_1_0
1053 enable_api_ms_win_core_versionansi_l1_1_0
1054 enable_api_ms_win_core_windowserrorreporting_l1_1_0
1055 enable_api_ms_win_core_winrt_error_l1_1_0
1056 enable_api_ms_win_core_winrt_error_l1_1_1
1057 enable_api_ms_win_core_winrt_errorprivate_l1_1_1
1058 enable_api_ms_win_core_winrt_l1_1_0
1059 enable_api_ms_win_core_winrt_registration_l1_1_0
1060 enable_api_ms_win_core_winrt_roparameterizediid_l1_1_0
1061 enable_api_ms_win_core_winrt_string_l1_1_0
1062 enable_api_ms_win_core_winrt_string_l1_1_1
1063 enable_api_ms_win_core_wow64_l1_1_0
1064 enable_api_ms_win_core_wow64_l1_1_1
1065 enable_api_ms_win_core_xstate_l1_1_0
1066 enable_api_ms_win_core_xstate_l2_1_0
1067 enable_api_ms_win_crt_conio_l1_1_0
1068 enable_api_ms_win_crt_convert_l1_1_0
1069 enable_api_ms_win_crt_environment_l1_1_0
1070 enable_api_ms_win_crt_filesystem_l1_1_0
1071 enable_api_ms_win_crt_heap_l1_1_0
1072 enable_api_ms_win_crt_locale_l1_1_0
1073 enable_api_ms_win_crt_math_l1_1_0
1074 enable_api_ms_win_crt_multibyte_l1_1_0
1075 enable_api_ms_win_crt_private_l1_1_0
1076 enable_api_ms_win_crt_process_l1_1_0
1077 enable_api_ms_win_crt_runtime_l1_1_0
1078 enable_api_ms_win_crt_stdio_l1_1_0
1079 enable_api_ms_win_crt_string_l1_1_0
1080 enable_api_ms_win_crt_time_l1_1_0
1081 enable_api_ms_win_crt_utility_l1_1_0
1082 enable_api_ms_win_devices_config_l1_1_0
1083 enable_api_ms_win_devices_config_l1_1_1
1084 enable_api_ms_win_devices_query_l1_1_1
1085 enable_api_ms_win_downlevel_advapi32_l1_1_0
1086 enable_api_ms_win_downlevel_advapi32_l2_1_0
1087 enable_api_ms_win_downlevel_kernel32_l2_1_0
1088 enable_api_ms_win_downlevel_normaliz_l1_1_0
1089 enable_api_ms_win_downlevel_ole32_l1_1_0
1090 enable_api_ms_win_downlevel_shell32_l1_1_0
1091 enable_api_ms_win_downlevel_shlwapi_l1_1_0
1092 enable_api_ms_win_downlevel_shlwapi_l2_1_0
1093 enable_api_ms_win_downlevel_user32_l1_1_0
1094 enable_api_ms_win_downlevel_version_l1_1_0
1095 enable_api_ms_win_dx_d3dkmt_l1_1_0
1096 enable_api_ms_win_eventing_classicprovider_l1_1_0
1097 enable_api_ms_win_eventing_consumer_l1_1_0
1098 enable_api_ms_win_eventing_controller_l1_1_0
1099 enable_api_ms_win_eventing_legacy_l1_1_0
1100 enable_api_ms_win_eventing_provider_l1_1_0
1101 enable_api_ms_win_eventlog_legacy_l1_1_0
1102 enable_api_ms_win_gdi_dpiinfo_l1_1_0
1103 enable_api_ms_win_mm_joystick_l1_1_0
1104 enable_api_ms_win_mm_misc_l1_1_1
1105 enable_api_ms_win_mm_mme_l1_1_0
1106 enable_api_ms_win_mm_time_l1_1_0
1107 enable_api_ms_win_ntuser_dc_access_l1_1_0
1108 enable_api_ms_win_ntuser_rectangle_l1_1_0
1109 enable_api_ms_win_ntuser_sysparams_l1_1_0
1110 enable_api_ms_win_perf_legacy_l1_1_0
1111 enable_api_ms_win_power_base_l1_1_0
1112 enable_api_ms_win_power_setting_l1_1_0
1113 enable_api_ms_win_rtcore_ntuser_draw_l1_1_0
1114 enable_api_ms_win_rtcore_ntuser_private_l1_1_0
1115 enable_api_ms_win_rtcore_ntuser_private_l1_1_4
1116 enable_api_ms_win_rtcore_ntuser_window_l1_1_0
1117 enable_api_ms_win_rtcore_ntuser_winevent_l1_1_0
1118 enable_api_ms_win_rtcore_ntuser_wmpointer_l1_1_0
1119 enable_api_ms_win_rtcore_ntuser_wmpointer_l1_1_3
1120 enable_api_ms_win_security_activedirectoryclient_l1_1_0
1121 enable_api_ms_win_security_audit_l1_1_1
1122 enable_api_ms_win_security_base_l1_1_0
1123 enable_api_ms_win_security_base_l1_2_0
1124 enable_api_ms_win_security_base_private_l1_1_1
1125 enable_api_ms_win_security_credentials_l1_1_0
1126 enable_api_ms_win_security_cryptoapi_l1_1_0
1127 enable_api_ms_win_security_grouppolicy_l1_1_0
1128 enable_api_ms_win_security_lsalookup_l1_1_0
1129 enable_api_ms_win_security_lsalookup_l1_1_1
1130 enable_api_ms_win_security_lsalookup_l2_1_0
1131 enable_api_ms_win_security_lsalookup_l2_1_1
1132 enable_api_ms_win_security_lsapolicy_l1_1_0
1133 enable_api_ms_win_security_provider_l1_1_0
1134 enable_api_ms_win_security_sddl_l1_1_0
1135 enable_api_ms_win_security_systemfunctions_l1_1_0
1136 enable_api_ms_win_service_core_l1_1_0
1137 enable_api_ms_win_service_core_l1_1_1
1138 enable_api_ms_win_service_management_l1_1_0
1139 enable_api_ms_win_service_management_l2_1_0
1140 enable_api_ms_win_service_private_l1_1_1
1141 enable_api_ms_win_service_winsvc_l1_1_0
1142 enable_api_ms_win_service_winsvc_l1_2_0
1143 enable_api_ms_win_shcore_obsolete_l1_1_0
1144 enable_api_ms_win_shcore_scaling_l1_1_0
1145 enable_api_ms_win_shcore_scaling_l1_1_1
1146 enable_api_ms_win_shcore_stream_l1_1_0
1147 enable_api_ms_win_shcore_stream_winrt_l1_1_0
1148 enable_api_ms_win_shcore_thread_l1_1_0
1149 enable_api_ms_win_shell_shellcom_l1_1_0
1150 enable_api_ms_win_shell_shellfolders_l1_1_0
1151 enable_apphelp
1152 enable_appwiz_cpl
1153 enable_atl
1154 enable_atl100
1155 enable_atl110
1156 enable_atl80
1157 enable_atl90
1158 enable_atlthunk
1159 enable_atmlib
1160 enable_authz
1161 enable_avicap32
1162 enable_avifil32
1163 enable_avrt
1164 enable_bcrypt
1165 enable_bluetoothapis
1166 enable_browseui
1167 enable_bthprops_cpl
1168 enable_cabinet
1169 enable_capi2032
1170 enable_cards
1171 enable_cdosys
1172 enable_cfgmgr32
1173 enable_clusapi
1174 enable_combase
1175 enable_comcat
1176 enable_comctl32
1177 enable_comdlg32
1178 enable_compstui
1179 enable_comsvcs
1180 enable_concrt140
1181 enable_connect
1182 enable_credui
1183 enable_crtdll
1184 enable_crypt32
1185 enable_cryptdlg
1186 enable_cryptdll
1187 enable_cryptext
1188 enable_cryptnet
1189 enable_cryptsp
1190 enable_cryptui
1191 enable_ctapi32
1192 enable_ctl3d32
1193 enable_d2d1
1194 enable_d3d10
1195 enable_d3d10_1
1196 enable_d3d10core
1197 enable_d3d11
1198 enable_d3d12
1199 enable_d3d8
1200 enable_d3d8thk
1201 enable_d3d9
1202 enable_d3dcompiler_33
1203 enable_d3dcompiler_34
1204 enable_d3dcompiler_35
1205 enable_d3dcompiler_36
1206 enable_d3dcompiler_37
1207 enable_d3dcompiler_38
1208 enable_d3dcompiler_39
1209 enable_d3dcompiler_40
1210 enable_d3dcompiler_41
1211 enable_d3dcompiler_42
1212 enable_d3dcompiler_43
1213 enable_d3dcompiler_46
1214 enable_d3dcompiler_47
1215 enable_d3dim
1216 enable_d3dim700
1217 enable_d3drm
1218 enable_d3dx10_33
1219 enable_d3dx10_34
1220 enable_d3dx10_35
1221 enable_d3dx10_36
1222 enable_d3dx10_37
1223 enable_d3dx10_38
1224 enable_d3dx10_39
1225 enable_d3dx10_40
1226 enable_d3dx10_41
1227 enable_d3dx10_42
1228 enable_d3dx10_43
1229 enable_d3dx11_42
1230 enable_d3dx11_43
1231 enable_d3dx9_24
1232 enable_d3dx9_25
1233 enable_d3dx9_26
1234 enable_d3dx9_27
1235 enable_d3dx9_28
1236 enable_d3dx9_29
1237 enable_d3dx9_30
1238 enable_d3dx9_31
1239 enable_d3dx9_32
1240 enable_d3dx9_33
1241 enable_d3dx9_34
1242 enable_d3dx9_35
1243 enable_d3dx9_36
1244 enable_d3dx9_37
1245 enable_d3dx9_38
1246 enable_d3dx9_39
1247 enable_d3dx9_40
1248 enable_d3dx9_41
1249 enable_d3dx9_42
1250 enable_d3dx9_43
1251 enable_d3dxof
1252 enable_davclnt
1253 enable_dbgeng
1254 enable_dbghelp
1255 enable_dciman32
1256 enable_dcomp
1257 enable_ddraw
1258 enable_ddrawex
1259 enable_devenum
1260 enable_dhcpcsvc
1261 enable_dhtmled_ocx
1262 enable_difxapi
1263 enable_dinput
1264 enable_dinput8
1265 enable_directmanipulation
1266 enable_dispex
1267 enable_dmband
1268 enable_dmcompos
1269 enable_dmime
1270 enable_dmloader
1271 enable_dmoguids
1272 enable_dmscript
1273 enable_dmstyle
1274 enable_dmsynth
1275 enable_dmusic
1276 enable_dmusic32
1277 enable_dnsapi
1278 enable_dplay
1279 enable_dplayx
1280 enable_dpnaddr
1281 enable_dpnet
1282 enable_dpnhpast
1283 enable_dpnlobby
1284 enable_dpvoice
1285 enable_dpwsockx
1286 enable_drmclien
1287 enable_dsdmo
1288 enable_dsound
1289 enable_dsquery
1290 enable_dssenh
1291 enable_dsuiext
1292 enable_dswave
1293 enable_dwmapi
1294 enable_dwrite
1295 enable_dx8vb
1296 enable_dxdiagn
1297 enable_dxerr8
1298 enable_dxerr9
1299 enable_dxgi
1300 enable_dxguid
1301 enable_dxva2
1302 enable_esent
1303 enable_evr
1304 enable_explorerframe
1305 enable_ext_ms_win_authz_context_l1_1_0
1306 enable_ext_ms_win_domainjoin_netjoin_l1_1_0
1307 enable_ext_ms_win_dwmapi_ext_l1_1_0
1308 enable_ext_ms_win_gdi_dc_create_l1_1_0
1309 enable_ext_ms_win_gdi_dc_create_l1_1_1
1310 enable_ext_ms_win_gdi_dc_l1_2_0
1311 enable_ext_ms_win_gdi_devcaps_l1_1_0
1312 enable_ext_ms_win_gdi_draw_l1_1_0
1313 enable_ext_ms_win_gdi_draw_l1_1_1
1314 enable_ext_ms_win_gdi_font_l1_1_0
1315 enable_ext_ms_win_gdi_font_l1_1_1
1316 enable_ext_ms_win_gdi_render_l1_1_0
1317 enable_ext_ms_win_kernel32_package_current_l1_1_0
1318 enable_ext_ms_win_kernel32_package_l1_1_1
1319 enable_ext_ms_win_ntuser_dialogbox_l1_1_0
1320 enable_ext_ms_win_ntuser_draw_l1_1_0
1321 enable_ext_ms_win_ntuser_gui_l1_1_0
1322 enable_ext_ms_win_ntuser_gui_l1_3_0
1323 enable_ext_ms_win_ntuser_keyboard_l1_3_0
1324 enable_ext_ms_win_ntuser_message_l1_1_0
1325 enable_ext_ms_win_ntuser_message_l1_1_1
1326 enable_ext_ms_win_ntuser_misc_l1_1_0
1327 enable_ext_ms_win_ntuser_misc_l1_2_0
1328 enable_ext_ms_win_ntuser_misc_l1_5_1
1329 enable_ext_ms_win_ntuser_mouse_l1_1_0
1330 enable_ext_ms_win_ntuser_private_l1_1_1
1331 enable_ext_ms_win_ntuser_private_l1_3_1
1332 enable_ext_ms_win_ntuser_rectangle_ext_l1_1_0
1333 enable_ext_ms_win_ntuser_uicontext_ext_l1_1_0
1334 enable_ext_ms_win_ntuser_window_l1_1_0
1335 enable_ext_ms_win_ntuser_window_l1_1_1
1336 enable_ext_ms_win_ntuser_window_l1_1_4
1337 enable_ext_ms_win_ntuser_windowclass_l1_1_0
1338 enable_ext_ms_win_ntuser_windowclass_l1_1_1
1339 enable_ext_ms_win_oleacc_l1_1_0
1340 enable_ext_ms_win_ras_rasapi32_l1_1_0
1341 enable_ext_ms_win_rtcore_gdi_devcaps_l1_1_0
1342 enable_ext_ms_win_rtcore_gdi_object_l1_1_0
1343 enable_ext_ms_win_rtcore_gdi_rgn_l1_1_0
1344 enable_ext_ms_win_rtcore_ntuser_cursor_l1_1_0
1345 enable_ext_ms_win_rtcore_ntuser_dc_access_l1_1_0
1346 enable_ext_ms_win_rtcore_ntuser_dpi_l1_1_0
1347 enable_ext_ms_win_rtcore_ntuser_dpi_l1_2_0
1348 enable_ext_ms_win_rtcore_ntuser_rawinput_l1_1_0
1349 enable_ext_ms_win_rtcore_ntuser_syscolors_l1_1_0
1350 enable_ext_ms_win_rtcore_ntuser_sysparams_l1_1_0
1351 enable_ext_ms_win_security_credui_l1_1_0
1352 enable_ext_ms_win_security_cryptui_l1_1_0
1353 enable_ext_ms_win_shell_comctl32_init_l1_1_0
1354 enable_ext_ms_win_shell_comdlg32_l1_1_0
1355 enable_ext_ms_win_shell_shell32_l1_2_0
1356 enable_ext_ms_win_uxtheme_themes_l1_1_0
1357 enable_faultrep
1358 enable_feclient
1359 enable_fltlib
1360 enable_fltmgr_sys
1361 enable_fntcache
1362 enable_fontsub
1363 enable_fusion
1364 enable_fwpuclnt
1365 enable_gameux
1366 enable_gdi32
1367 enable_gdiplus
1368 enable_glu32
1369 enable_gphoto2_ds
1370 enable_gpkcsp
1371 enable_hal
1372 enable_hhctrl_ocx
1373 enable_hid
1374 enable_hidclass_sys
1375 enable_hlink
1376 enable_hnetcfg
1377 enable_http_sys
1378 enable_httpapi
1379 enable_iccvid
1380 enable_icmp
1381 enable_ieframe
1382 enable_ieproxy
1383 enable_imaadp32_acm
1384 enable_imagehlp
1385 enable_imm32
1386 enable_inetcomm
1387 enable_inetcpl_cpl
1388 enable_inetmib1
1389 enable_infosoft
1390 enable_initpki
1391 enable_inkobj
1392 enable_inseng
1393 enable_iphlpapi
1394 enable_iprop
1395 enable_irprops_cpl
1396 enable_itircl
1397 enable_itss
1398 enable_joy_cpl
1399 enable_jscript
1400 enable_jsproxy
1401 enable_kerberos
1402 enable_kernel32
1403 enable_kernelbase
1404 enable_ksecdd_sys
1405 enable_ksproxy_ax
1406 enable_ksuser
1407 enable_ktmw32
1408 enable_l3codeca_acm
1409 enable_loadperf
1410 enable_localspl
1411 enable_localui
1412 enable_lz32
1413 enable_mapi32
1414 enable_mapistub
1415 enable_mciavi32
1416 enable_mcicda
1417 enable_mciqtz32
1418 enable_mciseq
1419 enable_mciwave
1420 enable_mf
1421 enable_mf3216
1422 enable_mferror
1423 enable_mfmediaengine
1424 enable_mfplat
1425 enable_mfplay
1426 enable_mfreadwrite
1427 enable_mfuuid
1428 enable_mgmtapi
1429 enable_midimap
1430 enable_mlang
1431 enable_mmcndmgr
1432 enable_mmdevapi
1433 enable_mountmgr_sys
1434 enable_mp3dmod
1435 enable_mpr
1436 enable_mprapi
1437 enable_msacm32_drv
1438 enable_msacm32
1439 enable_msado15
1440 enable_msadp32_acm
1441 enable_msasn1
1442 enable_mscat32
1443 enable_mscms
1444 enable_mscoree
1445 enable_mscorwks
1446 enable_msctf
1447 enable_msctfp
1448 enable_msdaps
1449 enable_msdelta
1450 enable_msdmo
1451 enable_msdrm
1452 enable_msftedit
1453 enable_msg711_acm
1454 enable_msgsm32_acm
1455 enable_mshtml_tlb
1456 enable_mshtml
1457 enable_msi
1458 enable_msident
1459 enable_msimg32
1460 enable_msimsg
1461 enable_msimtf
1462 enable_msisip
1463 enable_msisys_ocx
1464 enable_msls31
1465 enable_msnet32
1466 enable_mspatcha
1467 enable_msports
1468 enable_msrle32
1469 enable_msscript_ocx
1470 enable_mssign32
1471 enable_mssip32
1472 enable_mstask
1473 enable_msvcirt
1474 enable_msvcm80
1475 enable_msvcm90
1476 enable_msvcp100
1477 enable_msvcp110
1478 enable_msvcp120
1479 enable_msvcp120_app
1480 enable_msvcp140
1481 enable_msvcp140_1
1482 enable_msvcp60
1483 enable_msvcp70
1484 enable_msvcp71
1485 enable_msvcp80
1486 enable_msvcp90
1487 enable_msvcr100
1488 enable_msvcr110
1489 enable_msvcr120
1490 enable_msvcr120_app
1491 enable_msvcr70
1492 enable_msvcr71
1493 enable_msvcr80
1494 enable_msvcr90
1495 enable_msvcrt
1496 enable_msvcrt20
1497 enable_msvcrt40
1498 enable_msvcrtd
1499 enable_msvfw32
1500 enable_msvidc32
1501 enable_mswsock
1502 enable_msxml
1503 enable_msxml2
1504 enable_msxml3
1505 enable_msxml4
1506 enable_msxml6
1507 enable_mtxdm
1508 enable_ncrypt
1509 enable_nddeapi
1510 enable_ndis_sys
1511 enable_netapi32
1512 enable_netcfgx
1513 enable_netio_sys
1514 enable_netprofm
1515 enable_netutils
1516 enable_newdev
1517 enable_ninput
1518 enable_normaliz
1519 enable_npmshtml
1520 enable_npptools
1521 enable_ntdll
1522 enable_ntdsapi
1523 enable_ntoskrnl_exe
1524 enable_ntprint
1525 enable_objsel
1526 enable_odbc32
1527 enable_odbcbcp
1528 enable_odbccp32
1529 enable_odbccu32
1530 enable_ole32
1531 enable_oleacc
1532 enable_oleaut32
1533 enable_olecli32
1534 enable_oledb32
1535 enable_oledlg
1536 enable_olepro32
1537 enable_olesvr32
1538 enable_olethk32
1539 enable_opcservices
1540 enable_openal32
1541 enable_opencl
1542 enable_opengl32
1543 enable_packager
1544 enable_pdh
1545 enable_photometadatahandler
1546 enable_pidgen
1547 enable_powrprof
1548 enable_printui
1549 enable_prntvpt
1550 enable_propsys
1551 enable_psapi
1552 enable_pstorec
1553 enable_pwrshplugin
1554 enable_qasf
1555 enable_qcap
1556 enable_qdvd
1557 enable_qedit
1558 enable_qmgr
1559 enable_qmgrprxy
1560 enable_quartz
1561 enable_query
1562 enable_qwave
1563 enable_rasapi32
1564 enable_rasdlg
1565 enable_regapi
1566 enable_resutils
1567 enable_riched20
1568 enable_riched32
1569 enable_rpcrt4
1570 enable_rsabase
1571 enable_rsaenh
1572 enable_rstrtmgr
1573 enable_rtutils
1574 enable_rtworkq
1575 enable_samlib
1576 enable_sane_ds
1577 enable_sapi
1578 enable_sas
1579 enable_scarddlg
1580 enable_sccbase
1581 enable_schannel
1582 enable_schedsvc
1583 enable_scrobj
1584 enable_scrrun
1585 enable_scsiport_sys
1586 enable_sechost
1587 enable_secur32
1588 enable_security
1589 enable_sensapi
1590 enable_serialui
1591 enable_setupapi
1592 enable_sfc
1593 enable_sfc_os
1594 enable_shcore
1595 enable_shdoclc
1596 enable_shdocvw
1597 enable_shell32
1598 enable_shfolder
1599 enable_shlwapi
1600 enable_slbcsp
1601 enable_slc
1602 enable_snmpapi
1603 enable_softpub
1604 enable_spoolss
1605 enable_srclient
1606 enable_srvcli
1607 enable_sspicli
1608 enable_stdole2_tlb
1609 enable_stdole32_tlb
1610 enable_sti
1611 enable_strmbase
1612 enable_strmdll
1613 enable_strmiids
1614 enable_svrapi
1615 enable_sxs
1616 enable_t2embed
1617 enable_tapi32
1618 enable_taskschd
1619 enable_tdh
1620 enable_tdi_sys
1621 enable_traffic
1622 enable_twain_32
1623 enable_tzres
1624 enable_ucrtbase
1625 enable_uianimation
1626 enable_uiautomationcore
1627 enable_uiribbon
1628 enable_unicows
1629 enable_updspapi
1630 enable_url
1631 enable_urlmon
1632 enable_usbd_sys
1633 enable_user32
1634 enable_userenv
1635 enable_usp10
1636 enable_utildll
1637 enable_uuid
1638 enable_uxtheme
1639 enable_vbscript
1640 enable_vcomp
1641 enable_vcomp100
1642 enable_vcomp110
1643 enable_vcomp120
1644 enable_vcomp140
1645 enable_vcomp90
1646 enable_vcruntime140
1647 enable_vcruntime140_1
1648 enable_vdmdbg
1649 enable_version
1650 enable_vga
1651 enable_virtdisk
1652 enable_vssapi
1653 enable_vulkan_1
1654 enable_wbemdisp
1655 enable_wbemprox
1656 enable_wbemuuid
1657 enable_wdscore
1658 enable_webservices
1659 enable_websocket
1660 enable_wer
1661 enable_wevtapi
1662 enable_wevtsvc
1663 enable_wiaservc
1664 enable_wimgapi
1665 enable_windows_gaming_input
1666 enable_windows_globalization
1667 enable_windows_media_devices
1668 enable_windows_media_speech
1669 enable_windowscodecs
1670 enable_windowscodecsext
1671 enable_winealsa_drv
1672 enable_wineandroid_drv
1673 enable_winebus_sys
1674 enable_winecoreaudio_drv
1675 enable_winecrt0
1676 enable_wined3d
1677 enable_winegstreamer
1678 enable_winehid_sys
1679 enable_winejoystick_drv
1680 enable_winemac_drv
1681 enable_winemapi
1682 enable_wineoss_drv
1683 enable_wineps_drv
1684 enable_winepulse_drv
1685 enable_wineqtdecoder
1686 enable_wineusb_sys
1687 enable_winevulkan
1688 enable_winex11_drv
1689 enable_wing32
1690 enable_winhttp
1691 enable_wininet
1692 enable_winmm
1693 enable_winnls32
1694 enable_winscard
1695 enable_winspool_drv
1696 enable_winsta
1697 enable_wintab32
1698 enable_wintrust
1699 enable_winusb
1700 enable_wlanapi
1701 enable_wlanui
1702 enable_wldap32
1703 enable_wmasf
1704 enable_wmcodecdspuuid
1705 enable_wmi
1706 enable_wmiutils
1707 enable_wmp
1708 enable_wmphoto
1709 enable_wmvcore
1710 enable_wnaspi32
1711 enable_wow64cpu
1712 enable_wpc
1713 enable_wpcap
1714 enable_ws2_32
1715 enable_wsdapi
1716 enable_wshom_ocx
1717 enable_wsnmp32
1718 enable_wsock32
1719 enable_wtsapi32
1720 enable_wuapi
1721 enable_wuaueng
1722 enable_x3daudio1_0
1723 enable_x3daudio1_1
1724 enable_x3daudio1_2
1725 enable_x3daudio1_3
1726 enable_x3daudio1_4
1727 enable_x3daudio1_5
1728 enable_x3daudio1_6
1729 enable_x3daudio1_7
1730 enable_xactengine2_0
1731 enable_xactengine2_4
1732 enable_xactengine2_7
1733 enable_xactengine2_9
1734 enable_xactengine3_0
1735 enable_xactengine3_1
1736 enable_xactengine3_2
1737 enable_xactengine3_3
1738 enable_xactengine3_4
1739 enable_xactengine3_5
1740 enable_xactengine3_6
1741 enable_xactengine3_7
1742 enable_xapofx1_1
1743 enable_xapofx1_2
1744 enable_xapofx1_3
1745 enable_xapofx1_4
1746 enable_xapofx1_5
1747 enable_xaudio2_0
1748 enable_xaudio2_1
1749 enable_xaudio2_2
1750 enable_xaudio2_3
1751 enable_xaudio2_4
1752 enable_xaudio2_5
1753 enable_xaudio2_6
1754 enable_xaudio2_7
1755 enable_xaudio2_8
1756 enable_xaudio2_9
1757 enable_xinput1_1
1758 enable_xinput1_2
1759 enable_xinput1_3
1760 enable_xinput1_4
1761 enable_xinput9_1_0
1762 enable_xmllite
1763 enable_xolehlp
1764 enable_xpsprint
1765 enable_xpssvcs
1766 enable_fonts
1767 enable_include
1768 enable_port
1769 enable_wine
1770 enable_wpp
1771 enable_loader
1772 enable_nls
1773 enable_po
1774 enable_arp
1775 enable_aspnet_regiis
1776 enable_attrib
1777 enable_cabarc
1778 enable_cacls
1779 enable_chcp_com
1780 enable_clock
1781 enable_cmd
1782 enable_conhost
1783 enable_control
1784 enable_cscript
1785 enable_dism
1786 enable_dplaysvr
1787 enable_dpnsvr
1788 enable_dpvsetup
1789 enable_dxdiag
1790 enable_eject
1791 enable_expand
1792 enable_explorer
1793 enable_extrac32
1794 enable_fc
1795 enable_find
1796 enable_findstr
1797 enable_fsutil
1798 enable_hh
1799 enable_hostname
1800 enable_icacls
1801 enable_icinfo
1802 enable_iexplore
1803 enable_ipconfig
1804 enable_lodctr
1805 enable_mofcomp
1806 enable_mshta
1807 enable_msidb
1808 enable_msiexec
1809 enable_msinfo32
1810 enable_net
1811 enable_netsh
1812 enable_netstat
1813 enable_ngen
1814 enable_notepad
1815 enable_oleview
1816 enable_ping
1817 enable_plugplay
1818 enable_powershell
1819 enable_presentationfontcache
1820 enable_progman
1821 enable_reg
1822 enable_regasm
1823 enable_regedit
1824 enable_regini
1825 enable_regsvcs
1826 enable_regsvr32
1827 enable_rpcss
1828 enable_rundll32
1829 enable_sc
1830 enable_schtasks
1831 enable_sdbinst
1832 enable_secedit
1833 enable_servicemodelreg
1834 enable_services
1835 enable_shutdown
1836 enable_spoolsv
1837 enable_start
1838 enable_subst
1839 enable_svchost
1840 enable_systeminfo
1841 enable_taskkill
1842 enable_tasklist
1843 enable_taskmgr
1844 enable_termsv
1845 enable_uninstaller
1846 enable_unlodctr
1847 enable_view
1848 enable_wevtutil
1849 enable_where
1850 enable_whoami
1851 enable_wineboot
1852 enable_winebrowser
1853 enable_winecfg
1854 enable_wineconsole
1855 enable_winedbg
1856 enable_winedevice
1857 enable_winefile
1858 enable_winemenubuilder
1859 enable_winemine
1860 enable_winemsibuilder
1861 enable_winepath
1862 enable_winetest
1863 enable_winhlp32
1864 enable_winmgmt
1865 enable_winver
1866 enable_wmic
1867 enable_wmplayer
1868 enable_wordpad
1869 enable_write
1870 enable_wscript
1871 enable_wuauserv
1872 enable_wusa
1873 enable_xcopy
1874 enable_server
1875 enable_tools
1876 enable_sfnt2fon
1877 enable_widl
1878 enable_winebuild
1879 enable_winedump
1880 enable_winegcc
1881 enable_winemaker
1882 enable_wmc
1883 enable_wrc
1885 ac_precious_vars='build_alias
1886 host_alias
1887 target_alias
1889 CFLAGS
1890 LDFLAGS
1891 LIBS
1892 CPPFLAGS
1894 CXXFLAGS
1897 OBJC
1898 OBJCFLAGS
1899 OBJCPP
1900 XMKMF
1901 XML2_CFLAGS
1902 XML2_LIBS
1903 XSLT_CFLAGS
1904 XSLT_LIBS
1905 INOTIFY_CFLAGS
1906 INOTIFY_LIBS
1907 DBUS_CFLAGS
1908 DBUS_LIBS
1909 HAL_CFLAGS
1910 HAL_LIBS
1911 GNUTLS_CFLAGS
1912 GNUTLS_LIBS
1913 SANE_CFLAGS
1914 SANE_LIBS
1915 USB_CFLAGS
1916 USB_LIBS
1917 GPHOTO2_CFLAGS
1918 GPHOTO2_LIBS
1919 GPHOTO2_PORT_CFLAGS
1920 GPHOTO2_PORT_LIBS
1921 LCMS2_CFLAGS
1922 LCMS2_LIBS
1923 FREETYPE_CFLAGS
1924 FREETYPE_LIBS
1925 PULSE_CFLAGS
1926 PULSE_LIBS
1927 GSTREAMER_CFLAGS
1928 GSTREAMER_LIBS
1929 UDEV_CFLAGS
1930 UDEV_LIBS
1931 UNWIND_CFLAGS
1932 UNWIND_LIBS
1933 SDL2_CFLAGS
1934 SDL2_LIBS
1935 FAUDIO_CFLAGS
1936 FAUDIO_LIBS
1937 CAPI20_CFLAGS
1938 CAPI20_LIBS
1939 CUPS_CFLAGS
1940 CUPS_LIBS
1941 FONTCONFIG_CFLAGS
1942 FONTCONFIG_LIBS
1943 KRB5_CFLAGS
1944 KRB5_LIBS
1945 GSSAPI_CFLAGS
1946 GSSAPI_LIBS
1947 JPEG_CFLAGS
1948 JPEG_LIBS
1949 JXRLIB_CFLAGS
1950 JXRLIB_LIBS
1951 PNG_CFLAGS
1952 PNG_LIBS
1953 TIFF_CFLAGS
1954 TIFF_LIBS
1955 MPG123_CFLAGS
1956 MPG123_LIBS
1957 NETAPI_CFLAGS
1958 NETAPI_LIBS
1959 VKD3D_CFLAGS
1960 VKD3D_LIBS
1961 VKD3D_SHADER_CFLAGS
1962 VKD3D_SHADER_LIBS
1963 LDAP_CFLAGS
1964 LDAP_LIBS'
1967 # Initialize some variables set by options.
1968 ac_init_help=
1969 ac_init_version=false
1970 ac_unrecognized_opts=
1971 ac_unrecognized_sep=
1972 # The variables have the same names as the options, with
1973 # dashes changed to underlines.
1974 cache_file=/dev/null
1975 exec_prefix=NONE
1976 no_create=
1977 no_recursion=
1978 prefix=NONE
1979 program_prefix=NONE
1980 program_suffix=NONE
1981 program_transform_name=s,x,x,
1982 silent=
1983 site=
1984 srcdir=
1985 verbose=
1986 x_includes=NONE
1987 x_libraries=NONE
1989 # Installation directory options.
1990 # These are left unexpanded so users can "make install exec_prefix=/foo"
1991 # and all the variables that are supposed to be based on exec_prefix
1992 # by default will actually change.
1993 # Use braces instead of parens because sh, perl, etc. also accept them.
1994 # (The list follows the same order as the GNU Coding Standards.)
1995 bindir='${exec_prefix}/bin'
1996 sbindir='${exec_prefix}/sbin'
1997 libexecdir='${exec_prefix}/libexec'
1998 datarootdir='${prefix}/share'
1999 datadir='${datarootdir}'
2000 sysconfdir='${prefix}/etc'
2001 sharedstatedir='${prefix}/com'
2002 localstatedir='${prefix}/var'
2003 runstatedir='${localstatedir}/run'
2004 includedir='${prefix}/include'
2005 oldincludedir='/usr/include'
2006 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
2007 infodir='${datarootdir}/info'
2008 htmldir='${docdir}'
2009 dvidir='${docdir}'
2010 pdfdir='${docdir}'
2011 psdir='${docdir}'
2012 libdir='${exec_prefix}/lib'
2013 localedir='${datarootdir}/locale'
2014 mandir='${datarootdir}/man'
2016 ac_prev=
2017 ac_dashdash=
2018 for ac_option
2020 # If the previous option needs an argument, assign it.
2021 if test -n "$ac_prev"; then
2022 eval $ac_prev=\$ac_option
2023 ac_prev=
2024 continue
2027 case $ac_option in
2028 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
2029 *=) ac_optarg= ;;
2030 *) ac_optarg=yes ;;
2031 esac
2033 # Accept the important Cygnus configure options, so we can diagnose typos.
2035 case $ac_dashdash$ac_option in
2037 ac_dashdash=yes ;;
2039 -bindir | --bindir | --bindi | --bind | --bin | --bi)
2040 ac_prev=bindir ;;
2041 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
2042 bindir=$ac_optarg ;;
2044 -build | --build | --buil | --bui | --bu)
2045 ac_prev=build_alias ;;
2046 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
2047 build_alias=$ac_optarg ;;
2049 -cache-file | --cache-file | --cache-fil | --cache-fi \
2050 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
2051 ac_prev=cache_file ;;
2052 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
2053 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
2054 cache_file=$ac_optarg ;;
2056 --config-cache | -C)
2057 cache_file=config.cache ;;
2059 -datadir | --datadir | --datadi | --datad)
2060 ac_prev=datadir ;;
2061 -datadir=* | --datadir=* | --datadi=* | --datad=*)
2062 datadir=$ac_optarg ;;
2064 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
2065 | --dataroo | --dataro | --datar)
2066 ac_prev=datarootdir ;;
2067 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
2068 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
2069 datarootdir=$ac_optarg ;;
2071 -disable-* | --disable-*)
2072 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
2073 # Reject names that are not valid shell variable names.
2074 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
2075 as_fn_error $? "invalid feature name: $ac_useropt"
2076 ac_useropt_orig=$ac_useropt
2077 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
2078 case $ac_user_opts in
2080 "enable_$ac_useropt"
2081 "*) ;;
2082 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
2083 ac_unrecognized_sep=', ';;
2084 esac
2085 eval enable_$ac_useropt=no ;;
2087 -docdir | --docdir | --docdi | --doc | --do)
2088 ac_prev=docdir ;;
2089 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
2090 docdir=$ac_optarg ;;
2092 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
2093 ac_prev=dvidir ;;
2094 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
2095 dvidir=$ac_optarg ;;
2097 -enable-* | --enable-*)
2098 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
2099 # Reject names that are not valid shell variable names.
2100 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
2101 as_fn_error $? "invalid feature name: $ac_useropt"
2102 ac_useropt_orig=$ac_useropt
2103 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
2104 case $ac_user_opts in
2106 "enable_$ac_useropt"
2107 "*) ;;
2108 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
2109 ac_unrecognized_sep=', ';;
2110 esac
2111 eval enable_$ac_useropt=\$ac_optarg ;;
2113 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
2114 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
2115 | --exec | --exe | --ex)
2116 ac_prev=exec_prefix ;;
2117 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
2118 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
2119 | --exec=* | --exe=* | --ex=*)
2120 exec_prefix=$ac_optarg ;;
2122 -gas | --gas | --ga | --g)
2123 # Obsolete; use --with-gas.
2124 with_gas=yes ;;
2126 -help | --help | --hel | --he | -h)
2127 ac_init_help=long ;;
2128 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
2129 ac_init_help=recursive ;;
2130 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
2131 ac_init_help=short ;;
2133 -host | --host | --hos | --ho)
2134 ac_prev=host_alias ;;
2135 -host=* | --host=* | --hos=* | --ho=*)
2136 host_alias=$ac_optarg ;;
2138 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
2139 ac_prev=htmldir ;;
2140 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
2141 | --ht=*)
2142 htmldir=$ac_optarg ;;
2144 -includedir | --includedir | --includedi | --included | --include \
2145 | --includ | --inclu | --incl | --inc)
2146 ac_prev=includedir ;;
2147 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
2148 | --includ=* | --inclu=* | --incl=* | --inc=*)
2149 includedir=$ac_optarg ;;
2151 -infodir | --infodir | --infodi | --infod | --info | --inf)
2152 ac_prev=infodir ;;
2153 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
2154 infodir=$ac_optarg ;;
2156 -libdir | --libdir | --libdi | --libd)
2157 ac_prev=libdir ;;
2158 -libdir=* | --libdir=* | --libdi=* | --libd=*)
2159 libdir=$ac_optarg ;;
2161 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
2162 | --libexe | --libex | --libe)
2163 ac_prev=libexecdir ;;
2164 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
2165 | --libexe=* | --libex=* | --libe=*)
2166 libexecdir=$ac_optarg ;;
2168 -localedir | --localedir | --localedi | --localed | --locale)
2169 ac_prev=localedir ;;
2170 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
2171 localedir=$ac_optarg ;;
2173 -localstatedir | --localstatedir | --localstatedi | --localstated \
2174 | --localstate | --localstat | --localsta | --localst | --locals)
2175 ac_prev=localstatedir ;;
2176 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
2177 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
2178 localstatedir=$ac_optarg ;;
2180 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
2181 ac_prev=mandir ;;
2182 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
2183 mandir=$ac_optarg ;;
2185 -nfp | --nfp | --nf)
2186 # Obsolete; use --without-fp.
2187 with_fp=no ;;
2189 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
2190 | --no-cr | --no-c | -n)
2191 no_create=yes ;;
2193 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
2194 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
2195 no_recursion=yes ;;
2197 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
2198 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
2199 | --oldin | --oldi | --old | --ol | --o)
2200 ac_prev=oldincludedir ;;
2201 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
2202 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
2203 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
2204 oldincludedir=$ac_optarg ;;
2206 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
2207 ac_prev=prefix ;;
2208 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
2209 prefix=$ac_optarg ;;
2211 -program-prefix | --program-prefix | --program-prefi | --program-pref \
2212 | --program-pre | --program-pr | --program-p)
2213 ac_prev=program_prefix ;;
2214 -program-prefix=* | --program-prefix=* | --program-prefi=* \
2215 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
2216 program_prefix=$ac_optarg ;;
2218 -program-suffix | --program-suffix | --program-suffi | --program-suff \
2219 | --program-suf | --program-su | --program-s)
2220 ac_prev=program_suffix ;;
2221 -program-suffix=* | --program-suffix=* | --program-suffi=* \
2222 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
2223 program_suffix=$ac_optarg ;;
2225 -program-transform-name | --program-transform-name \
2226 | --program-transform-nam | --program-transform-na \
2227 | --program-transform-n | --program-transform- \
2228 | --program-transform | --program-transfor \
2229 | --program-transfo | --program-transf \
2230 | --program-trans | --program-tran \
2231 | --progr-tra | --program-tr | --program-t)
2232 ac_prev=program_transform_name ;;
2233 -program-transform-name=* | --program-transform-name=* \
2234 | --program-transform-nam=* | --program-transform-na=* \
2235 | --program-transform-n=* | --program-transform-=* \
2236 | --program-transform=* | --program-transfor=* \
2237 | --program-transfo=* | --program-transf=* \
2238 | --program-trans=* | --program-tran=* \
2239 | --progr-tra=* | --program-tr=* | --program-t=*)
2240 program_transform_name=$ac_optarg ;;
2242 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
2243 ac_prev=pdfdir ;;
2244 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
2245 pdfdir=$ac_optarg ;;
2247 -psdir | --psdir | --psdi | --psd | --ps)
2248 ac_prev=psdir ;;
2249 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
2250 psdir=$ac_optarg ;;
2252 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2253 | -silent | --silent | --silen | --sile | --sil)
2254 silent=yes ;;
2256 -runstatedir | --runstatedir | --runstatedi | --runstated \
2257 | --runstate | --runstat | --runsta | --runst | --runs \
2258 | --run | --ru | --r)
2259 ac_prev=runstatedir ;;
2260 -runstatedir=* | --runstatedir=* | --runstatedi=* | --runstated=* \
2261 | --runstate=* | --runstat=* | --runsta=* | --runst=* | --runs=* \
2262 | --run=* | --ru=* | --r=*)
2263 runstatedir=$ac_optarg ;;
2265 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
2266 ac_prev=sbindir ;;
2267 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
2268 | --sbi=* | --sb=*)
2269 sbindir=$ac_optarg ;;
2271 -sharedstatedir | --sharedstatedir | --sharedstatedi \
2272 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
2273 | --sharedst | --shareds | --shared | --share | --shar \
2274 | --sha | --sh)
2275 ac_prev=sharedstatedir ;;
2276 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
2277 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
2278 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
2279 | --sha=* | --sh=*)
2280 sharedstatedir=$ac_optarg ;;
2282 -site | --site | --sit)
2283 ac_prev=site ;;
2284 -site=* | --site=* | --sit=*)
2285 site=$ac_optarg ;;
2287 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
2288 ac_prev=srcdir ;;
2289 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
2290 srcdir=$ac_optarg ;;
2292 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
2293 | --syscon | --sysco | --sysc | --sys | --sy)
2294 ac_prev=sysconfdir ;;
2295 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
2296 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
2297 sysconfdir=$ac_optarg ;;
2299 -target | --target | --targe | --targ | --tar | --ta | --t)
2300 ac_prev=target_alias ;;
2301 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
2302 target_alias=$ac_optarg ;;
2304 -v | -verbose | --verbose | --verbos | --verbo | --verb)
2305 verbose=yes ;;
2307 -version | --version | --versio | --versi | --vers | -V)
2308 ac_init_version=: ;;
2310 -with-* | --with-*)
2311 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
2312 # Reject names that are not valid shell variable names.
2313 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
2314 as_fn_error $? "invalid package name: $ac_useropt"
2315 ac_useropt_orig=$ac_useropt
2316 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
2317 case $ac_user_opts in
2319 "with_$ac_useropt"
2320 "*) ;;
2321 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
2322 ac_unrecognized_sep=', ';;
2323 esac
2324 eval with_$ac_useropt=\$ac_optarg ;;
2326 -without-* | --without-*)
2327 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
2328 # Reject names that are not valid shell variable names.
2329 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
2330 as_fn_error $? "invalid package name: $ac_useropt"
2331 ac_useropt_orig=$ac_useropt
2332 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
2333 case $ac_user_opts in
2335 "with_$ac_useropt"
2336 "*) ;;
2337 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
2338 ac_unrecognized_sep=', ';;
2339 esac
2340 eval with_$ac_useropt=no ;;
2342 --x)
2343 # Obsolete; use --with-x.
2344 with_x=yes ;;
2346 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
2347 | --x-incl | --x-inc | --x-in | --x-i)
2348 ac_prev=x_includes ;;
2349 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
2350 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
2351 x_includes=$ac_optarg ;;
2353 -x-libraries | --x-libraries | --x-librarie | --x-librari \
2354 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
2355 ac_prev=x_libraries ;;
2356 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
2357 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
2358 x_libraries=$ac_optarg ;;
2360 -*) as_fn_error $? "unrecognized option: \`$ac_option'
2361 Try \`$0 --help' for more information"
2364 *=*)
2365 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
2366 # Reject names that are not valid shell variable names.
2367 case $ac_envvar in #(
2368 '' | [0-9]* | *[!_$as_cr_alnum]* )
2369 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
2370 esac
2371 eval $ac_envvar=\$ac_optarg
2372 export $ac_envvar ;;
2375 # FIXME: should be removed in autoconf 3.0.
2376 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
2377 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
2378 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
2379 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
2382 esac
2383 done
2385 if test -n "$ac_prev"; then
2386 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
2387 as_fn_error $? "missing argument to $ac_option"
2390 if test -n "$ac_unrecognized_opts"; then
2391 case $enable_option_checking in
2392 no) ;;
2393 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
2394 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
2395 esac
2398 # Check all directory arguments for consistency.
2399 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
2400 datadir sysconfdir sharedstatedir localstatedir includedir \
2401 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
2402 libdir localedir mandir runstatedir
2404 eval ac_val=\$$ac_var
2405 # Remove trailing slashes.
2406 case $ac_val in
2407 */ )
2408 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
2409 eval $ac_var=\$ac_val;;
2410 esac
2411 # Be sure to have absolute directory names.
2412 case $ac_val in
2413 [\\/$]* | ?:[\\/]* ) continue;;
2414 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
2415 esac
2416 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
2417 done
2419 # There might be people who depend on the old broken behavior: `$host'
2420 # used to hold the argument of --host etc.
2421 # FIXME: To remove some day.
2422 build=$build_alias
2423 host=$host_alias
2424 target=$target_alias
2426 # FIXME: To remove some day.
2427 if test "x$host_alias" != x; then
2428 if test "x$build_alias" = x; then
2429 cross_compiling=maybe
2430 elif test "x$build_alias" != "x$host_alias"; then
2431 cross_compiling=yes
2435 ac_tool_prefix=
2436 test -n "$host_alias" && ac_tool_prefix=$host_alias-
2438 test "$silent" = yes && exec 6>/dev/null
2441 ac_pwd=`pwd` && test -n "$ac_pwd" &&
2442 ac_ls_di=`ls -di .` &&
2443 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
2444 as_fn_error $? "working directory cannot be determined"
2445 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
2446 as_fn_error $? "pwd does not report name of working directory"
2449 # Find the source files, if location was not specified.
2450 if test -z "$srcdir"; then
2451 ac_srcdir_defaulted=yes
2452 # Try the directory containing this script, then the parent directory.
2453 ac_confdir=`$as_dirname -- "$as_myself" ||
2454 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
2455 X"$as_myself" : 'X\(//\)[^/]' \| \
2456 X"$as_myself" : 'X\(//\)$' \| \
2457 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
2458 $as_echo X"$as_myself" |
2459 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
2460 s//\1/
2463 /^X\(\/\/\)[^/].*/{
2464 s//\1/
2467 /^X\(\/\/\)$/{
2468 s//\1/
2471 /^X\(\/\).*/{
2472 s//\1/
2475 s/.*/./; q'`
2476 srcdir=$ac_confdir
2477 if test ! -r "$srcdir/$ac_unique_file"; then
2478 srcdir=..
2480 else
2481 ac_srcdir_defaulted=no
2483 if test ! -r "$srcdir/$ac_unique_file"; then
2484 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
2485 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
2487 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
2488 ac_abs_confdir=`(
2489 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
2490 pwd)`
2491 # When building in place, set srcdir=.
2492 if test "$ac_abs_confdir" = "$ac_pwd"; then
2493 srcdir=.
2495 # Remove unnecessary trailing slashes from srcdir.
2496 # Double slashes in file names in object file debugging info
2497 # mess up M-x gdb in Emacs.
2498 case $srcdir in
2499 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
2500 esac
2501 for ac_var in $ac_precious_vars; do
2502 eval ac_env_${ac_var}_set=\${${ac_var}+set}
2503 eval ac_env_${ac_var}_value=\$${ac_var}
2504 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
2505 eval ac_cv_env_${ac_var}_value=\$${ac_var}
2506 done
2509 # Report the --help message.
2511 if test "$ac_init_help" = "long"; then
2512 # Omit some internal or obsolete options to make the list less imposing.
2513 # This message is too long to be a string in the A/UX 3.1 sh.
2514 cat <<_ACEOF
2515 \`configure' configures Wine 6.6 to adapt to many kinds of systems.
2517 Usage: $0 [OPTION]... [VAR=VALUE]...
2519 To assign environment variables (e.g., CC, CFLAGS...), specify them as
2520 VAR=VALUE. See below for descriptions of some of the useful variables.
2522 Defaults for the options are specified in brackets.
2524 Configuration:
2525 -h, --help display this help and exit
2526 --help=short display options specific to this package
2527 --help=recursive display the short help of all the included packages
2528 -V, --version display version information and exit
2529 -q, --quiet, --silent do not print \`checking ...' messages
2530 --cache-file=FILE cache test results in FILE [disabled]
2531 -C, --config-cache alias for \`--cache-file=config.cache'
2532 -n, --no-create do not create output files
2533 --srcdir=DIR find the sources in DIR [configure dir or \`..']
2535 Installation directories:
2536 --prefix=PREFIX install architecture-independent files in PREFIX
2537 [$ac_default_prefix]
2538 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
2539 [PREFIX]
2541 By default, \`make install' will install all the files in
2542 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
2543 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
2544 for instance \`--prefix=\$HOME'.
2546 For better control, use the options below.
2548 Fine tuning of the installation directories:
2549 --bindir=DIR user executables [EPREFIX/bin]
2550 --sbindir=DIR system admin executables [EPREFIX/sbin]
2551 --libexecdir=DIR program executables [EPREFIX/libexec]
2552 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
2553 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
2554 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
2555 --runstatedir=DIR modifiable per-process data [LOCALSTATEDIR/run]
2556 --libdir=DIR object code libraries [EPREFIX/lib]
2557 --includedir=DIR C header files [PREFIX/include]
2558 --oldincludedir=DIR C header files for non-gcc [/usr/include]
2559 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
2560 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
2561 --infodir=DIR info documentation [DATAROOTDIR/info]
2562 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
2563 --mandir=DIR man documentation [DATAROOTDIR/man]
2564 --docdir=DIR documentation root [DATAROOTDIR/doc/wine]
2565 --htmldir=DIR html documentation [DOCDIR]
2566 --dvidir=DIR dvi documentation [DOCDIR]
2567 --pdfdir=DIR pdf documentation [DOCDIR]
2568 --psdir=DIR ps documentation [DOCDIR]
2569 _ACEOF
2571 cat <<\_ACEOF
2573 X features:
2574 --x-includes=DIR X include files are in DIR
2575 --x-libraries=DIR X library files are in DIR
2577 System types:
2578 --build=BUILD configure for building on BUILD [guessed]
2579 --host=HOST cross-compile to build programs to run on HOST [BUILD]
2580 _ACEOF
2583 if test -n "$ac_init_help"; then
2584 case $ac_init_help in
2585 short | recursive ) echo "Configuration of Wine 6.6:";;
2586 esac
2587 cat <<\_ACEOF
2589 Optional Features:
2590 --disable-option-checking ignore unrecognized --enable/--with options
2591 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
2592 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
2593 --disable-win16 do not include Win16 support
2594 --enable-win64 build a Win64 emulator on AMD64 (won't run Win32
2595 binaries)
2596 --disable-tests do not build the regression tests
2597 --enable-build-id include .buildid section in output objects
2598 --enable-maintainer-mode
2599 enable maintainer-specific build rules
2600 --enable-silent-rules use silent build rules (override: "make V=1")
2601 --enable-werror treat compilation warnings as errors
2602 --disable-largefile omit support for large files
2604 Optional Packages:
2605 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
2606 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
2607 --without-alsa do not use the Alsa sound support
2608 --without-capi do not use CAPI (ISDN support)
2609 --without-cms do not use CMS (color management support)
2610 --without-coreaudio do not use the CoreAudio sound support
2611 --without-cups do not use CUPS
2612 --without-dbus do not use DBus (dynamic device support)
2613 --without-faudio do not use FAudio (XAudio2 support)
2614 --with-float-abi=abi specify the ABI (soft|softfp|hard) for ARM platforms
2615 --without-fontconfig do not use fontconfig
2616 --without-freetype do not use the FreeType library
2617 --without-gettext do not use gettext
2618 --with-gettextpo use the GetTextPO library to rebuild po files
2619 --without-gphoto do not use gphoto (Digital Camera support)
2620 --without-gnutls do not use GnuTLS (schannel support)
2621 --without-gsm do not use libgsm (GSM 06.10 codec support)
2622 --without-gssapi do not use GSSAPI (Kerberos SSP support)
2623 --without-gstreamer do not use GStreamer (codecs support)
2624 --without-hal do not use HAL (dynamic device support)
2625 --without-inotify do not use inotify (filesystem change notifications)
2626 --without-jpeg do not use JPEG
2627 --without-jxrlib do not use JPEG-XR
2628 --without-krb5 do not use krb5 (Kerberos)
2629 --without-ldap do not use LDAP
2630 --without-mingw do not use the MinGW cross-compiler
2631 --without-mpg123 do not use the mpg123 library
2632 --without-netapi do not use the Samba NetAPI library
2633 --without-openal do not use OpenAL
2634 --without-opencl do not use OpenCL
2635 --without-opengl do not use OpenGL
2636 --without-osmesa do not use the OSMesa library
2637 --without-oss do not use the OSS sound support
2638 --without-pcap do not use the Packet Capture library
2639 --without-png do not use PNG
2640 --without-pthread do not use the pthread library
2641 --without-pulse do not use PulseAudio sound support
2642 --without-quicktime do not use QuickTime support
2643 --without-sane do not use SANE (scanner support)
2644 --without-sdl do not use SDL
2645 --without-tiff do not use TIFF
2646 --without-udev do not use udev (plug and play support)
2647 --without-unwind do not use the libunwind library (exception
2648 handling)
2649 --without-usb do not use the libusb library
2650 --without-v4l2 do not use v4l2 (video capture)
2651 --without-vkd3d do not use vkd3d (Direct3D 12 support)
2652 --without-vulkan do not use Vulkan
2653 --without-xcomposite do not use the Xcomposite extension
2654 --without-xcursor do not use the Xcursor extension
2655 --without-xfixes do not use Xfixes for clipboard change notifications
2656 --without-xinerama do not use Xinerama (legacy multi-monitor support)
2657 --without-xinput do not use the Xinput extension
2658 --without-xinput2 do not use the Xinput 2 extension
2659 --without-xml do not use XML
2660 --without-xrandr do not use Xrandr (multi-monitor support)
2661 --without-xrender do not use the Xrender extension
2662 --without-xshape do not use the Xshape extension
2663 --without-xshm do not use XShm (shared memory extension)
2664 --without-xslt do not use XSLT
2665 --without-xxf86vm do not use XFree video mode extension
2666 --with-wine-tools=DIR use Wine tools from directory DIR
2667 --with-wine64=DIR use the 64-bit Wine in DIR for a Wow64 build
2668 --with-x use the X Window System
2670 Some influential environment variables:
2671 CC C compiler command
2672 CFLAGS C compiler flags
2673 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
2674 nonstandard directory <lib dir>
2675 LIBS libraries to pass to the linker, e.g. -l<library>
2676 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
2677 you have headers in a nonstandard directory <include dir>
2678 CXX C++ compiler command
2679 CXXFLAGS C++ compiler flags
2680 CPP C preprocessor
2681 OBJC Objective C compiler command
2682 OBJCFLAGS Objective C compiler flags
2683 OBJCPP Objective C preprocessor
2684 XMKMF Path to xmkmf, Makefile generator for X Window System
2685 XML2_CFLAGS C compiler flags for libxml-2.0, overriding pkg-config
2686 XML2_LIBS Linker flags for libxml-2.0, overriding pkg-config
2687 XSLT_CFLAGS C compiler flags for libxslt, overriding pkg-config
2688 XSLT_LIBS Linker flags for libxslt, overriding pkg-config
2689 INOTIFY_CFLAGS
2690 C compiler flags for libinotify, overriding pkg-config
2691 INOTIFY_LIBS
2692 Linker flags for libinotify, overriding pkg-config
2693 DBUS_CFLAGS C compiler flags for dbus-1, overriding pkg-config
2694 DBUS_LIBS Linker flags for dbus-1, overriding pkg-config
2695 HAL_CFLAGS C compiler flags for hal, overriding pkg-config
2696 HAL_LIBS Linker flags for hal, overriding pkg-config
2697 GNUTLS_CFLAGS
2698 C compiler flags for gnutls, overriding pkg-config
2699 GNUTLS_LIBS Linker flags for gnutls, overriding pkg-config
2700 SANE_CFLAGS C compiler flags for sane-backends, overriding pkg-config
2701 SANE_LIBS Linker flags for sane-backends, overriding pkg-config
2702 USB_CFLAGS C compiler flags for libusb-1.0, overriding pkg-config
2703 USB_LIBS Linker flags for libusb-1.0, overriding pkg-config
2704 GPHOTO2_CFLAGS
2705 C compiler flags for libgphoto2, overriding pkg-config
2706 GPHOTO2_LIBS
2707 Linker flags for libgphoto2, overriding pkg-config
2708 GPHOTO2_PORT_CFLAGS
2709 C compiler flags for libgphoto2_port, overriding pkg-config
2710 GPHOTO2_PORT_LIBS
2711 Linker flags for libgphoto2_port, overriding pkg-config
2712 LCMS2_CFLAGS
2713 C compiler flags for lcms2, overriding pkg-config
2714 LCMS2_LIBS Linker flags for lcms2, overriding pkg-config
2715 FREETYPE_CFLAGS
2716 C compiler flags for freetype2, overriding pkg-config
2717 FREETYPE_LIBS
2718 Linker flags for freetype2, overriding pkg-config
2719 PULSE_CFLAGS
2720 C compiler flags for libpulse, overriding pkg-config
2721 PULSE_LIBS Linker flags for libpulse, overriding pkg-config
2722 GSTREAMER_CFLAGS
2723 C compiler flags for gstreamer-1.0 gstreamer-video-1.0
2724 gstreamer-audio-1.0, overriding pkg-config
2725 GSTREAMER_LIBS
2726 Linker flags for gstreamer-1.0 gstreamer-video-1.0
2727 gstreamer-audio-1.0, overriding pkg-config
2728 UDEV_CFLAGS C compiler flags for libudev, overriding pkg-config
2729 UDEV_LIBS Linker flags for libudev, overriding pkg-config
2730 UNWIND_CFLAGS
2731 C compiler flags for libunwind, overriding pkg-config
2732 UNWIND_LIBS Linker flags for libunwind, overriding pkg-config
2733 SDL2_CFLAGS C compiler flags for sdl2, overriding pkg-config
2734 SDL2_LIBS Linker flags for sdl2, overriding pkg-config
2735 FAUDIO_CFLAGS
2736 C compiler flags for FAudio, overriding pkg-config
2737 FAUDIO_LIBS Linker flags for FAudio, overriding pkg-config
2738 CAPI20_CFLAGS
2739 C compiler flags for capi20, overriding pkg-config
2740 CAPI20_LIBS Linker flags for capi20, overriding pkg-config
2741 CUPS_CFLAGS C compiler flags for cups, overriding pkg-config
2742 CUPS_LIBS Linker flags for cups, overriding pkg-config
2743 FONTCONFIG_CFLAGS
2744 C compiler flags for fontconfig, overriding pkg-config
2745 FONTCONFIG_LIBS
2746 Linker flags for fontconfig, overriding pkg-config
2747 KRB5_CFLAGS C compiler flags for krb5, overriding pkg-config
2748 KRB5_LIBS Linker flags for krb5, overriding pkg-config
2749 GSSAPI_CFLAGS
2750 C compiler flags for krb5-gssapi, overriding pkg-config
2751 GSSAPI_LIBS Linker flags for krb5-gssapi, overriding pkg-config
2752 JPEG_CFLAGS C compiler flags for libjpeg, overriding pkg-config
2753 JPEG_LIBS Linker flags for libjpeg, overriding pkg-config
2754 JXRLIB_CFLAGS
2755 C compiler flags for jxrlib, overriding pkg-config
2756 JXRLIB_LIBS Linker flags for jxrlib, overriding pkg-config
2757 PNG_CFLAGS C compiler flags for libpng, overriding pkg-config
2758 PNG_LIBS Linker flags for libpng, overriding pkg-config
2759 TIFF_CFLAGS C compiler flags for libtiff-4, overriding pkg-config
2760 TIFF_LIBS Linker flags for libtiff-4, overriding pkg-config
2761 MPG123_CFLAGS
2762 C compiler flags for libmpg123, overriding pkg-config
2763 MPG123_LIBS Linker flags for libmpg123, overriding pkg-config
2764 NETAPI_CFLAGS
2765 C compiler flags for netapi, overriding pkg-config
2766 NETAPI_LIBS Linker flags for netapi, overriding pkg-config
2767 VKD3D_CFLAGS
2768 C compiler flags for libvkd3d, overriding pkg-config
2769 VKD3D_LIBS Linker flags for libvkd3d, overriding pkg-config
2770 VKD3D_SHADER_CFLAGS
2771 C compiler flags for libvkd3d-shader, overriding pkg-config
2772 VKD3D_SHADER_LIBS
2773 Linker flags for libvkd3d-shader, overriding pkg-config
2774 LDAP_CFLAGS C compiler flags for openldap, overriding pkg-config
2775 LDAP_LIBS Linker flags for openldap, overriding pkg-config
2777 Use these variables to override the choices made by `configure' or to help
2778 it to find libraries and programs with nonstandard names/locations.
2780 Report bugs to <wine-devel@winehq.org>.
2781 Wine home page: <https://www.winehq.org>.
2782 _ACEOF
2783 ac_status=$?
2786 if test "$ac_init_help" = "recursive"; then
2787 # If there are subdirs, report their specific --help.
2788 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
2789 test -d "$ac_dir" ||
2790 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
2791 continue
2792 ac_builddir=.
2794 case "$ac_dir" in
2795 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
2797 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
2798 # A ".." for each directory in $ac_dir_suffix.
2799 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
2800 case $ac_top_builddir_sub in
2801 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
2802 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
2803 esac ;;
2804 esac
2805 ac_abs_top_builddir=$ac_pwd
2806 ac_abs_builddir=$ac_pwd$ac_dir_suffix
2807 # for backward compatibility:
2808 ac_top_builddir=$ac_top_build_prefix
2810 case $srcdir in
2811 .) # We are building in place.
2812 ac_srcdir=.
2813 ac_top_srcdir=$ac_top_builddir_sub
2814 ac_abs_top_srcdir=$ac_pwd ;;
2815 [\\/]* | ?:[\\/]* ) # Absolute name.
2816 ac_srcdir=$srcdir$ac_dir_suffix;
2817 ac_top_srcdir=$srcdir
2818 ac_abs_top_srcdir=$srcdir ;;
2819 *) # Relative name.
2820 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
2821 ac_top_srcdir=$ac_top_build_prefix$srcdir
2822 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
2823 esac
2824 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
2826 cd "$ac_dir" || { ac_status=$?; continue; }
2827 # Check for guested configure.
2828 if test -f "$ac_srcdir/configure.gnu"; then
2829 echo &&
2830 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
2831 elif test -f "$ac_srcdir/configure"; then
2832 echo &&
2833 $SHELL "$ac_srcdir/configure" --help=recursive
2834 else
2835 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
2836 fi || ac_status=$?
2837 cd "$ac_pwd" || { ac_status=$?; break; }
2838 done
2841 test -n "$ac_init_help" && exit $ac_status
2842 if $ac_init_version; then
2843 cat <<\_ACEOF
2844 Wine configure 6.6
2845 generated by GNU Autoconf 2.69
2847 Copyright (C) 2012 Free Software Foundation, Inc.
2848 This configure script is free software; the Free Software Foundation
2849 gives unlimited permission to copy, distribute and modify it.
2850 _ACEOF
2851 exit
2854 ## ------------------------ ##
2855 ## Autoconf initialization. ##
2856 ## ------------------------ ##
2858 # ac_fn_c_try_compile LINENO
2859 # --------------------------
2860 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2861 ac_fn_c_try_compile ()
2863 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2864 rm -f conftest.$ac_objext
2865 if { { ac_try="$ac_compile"
2866 case "(($ac_try" in
2867 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2868 *) ac_try_echo=$ac_try;;
2869 esac
2870 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2871 $as_echo "$ac_try_echo"; } >&5
2872 (eval "$ac_compile") 2>conftest.err
2873 ac_status=$?
2874 if test -s conftest.err; then
2875 grep -v '^ *+' conftest.err >conftest.er1
2876 cat conftest.er1 >&5
2877 mv -f conftest.er1 conftest.err
2879 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2880 test $ac_status = 0; } && {
2881 test -z "$ac_c_werror_flag" ||
2882 test ! -s conftest.err
2883 } && test -s conftest.$ac_objext; then :
2884 ac_retval=0
2885 else
2886 $as_echo "$as_me: failed program was:" >&5
2887 sed 's/^/| /' conftest.$ac_ext >&5
2889 ac_retval=1
2891 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2892 as_fn_set_status $ac_retval
2894 } # ac_fn_c_try_compile
2896 # ac_fn_cxx_try_compile LINENO
2897 # ----------------------------
2898 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2899 ac_fn_cxx_try_compile ()
2901 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2902 rm -f conftest.$ac_objext
2903 if { { ac_try="$ac_compile"
2904 case "(($ac_try" in
2905 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2906 *) ac_try_echo=$ac_try;;
2907 esac
2908 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2909 $as_echo "$ac_try_echo"; } >&5
2910 (eval "$ac_compile") 2>conftest.err
2911 ac_status=$?
2912 if test -s conftest.err; then
2913 grep -v '^ *+' conftest.err >conftest.er1
2914 cat conftest.er1 >&5
2915 mv -f conftest.er1 conftest.err
2917 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2918 test $ac_status = 0; } && {
2919 test -z "$ac_cxx_werror_flag" ||
2920 test ! -s conftest.err
2921 } && test -s conftest.$ac_objext; then :
2922 ac_retval=0
2923 else
2924 $as_echo "$as_me: failed program was:" >&5
2925 sed 's/^/| /' conftest.$ac_ext >&5
2927 ac_retval=1
2929 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2930 as_fn_set_status $ac_retval
2932 } # ac_fn_cxx_try_compile
2934 # ac_fn_c_try_link LINENO
2935 # -----------------------
2936 # Try to link conftest.$ac_ext, and return whether this succeeded.
2937 ac_fn_c_try_link ()
2939 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2940 rm -f conftest.$ac_objext conftest$ac_exeext
2941 if { { ac_try="$ac_link"
2942 case "(($ac_try" in
2943 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2944 *) ac_try_echo=$ac_try;;
2945 esac
2946 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2947 $as_echo "$ac_try_echo"; } >&5
2948 (eval "$ac_link") 2>conftest.err
2949 ac_status=$?
2950 if test -s conftest.err; then
2951 grep -v '^ *+' conftest.err >conftest.er1
2952 cat conftest.er1 >&5
2953 mv -f conftest.er1 conftest.err
2955 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2956 test $ac_status = 0; } && {
2957 test -z "$ac_c_werror_flag" ||
2958 test ! -s conftest.err
2959 } && test -s conftest$ac_exeext && {
2960 test "$cross_compiling" = yes ||
2961 test -x conftest$ac_exeext
2962 }; then :
2963 ac_retval=0
2964 else
2965 $as_echo "$as_me: failed program was:" >&5
2966 sed 's/^/| /' conftest.$ac_ext >&5
2968 ac_retval=1
2970 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2971 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2972 # interfere with the next link command; also delete a directory that is
2973 # left behind by Apple's compiler. We do this before executing the actions.
2974 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2975 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2976 as_fn_set_status $ac_retval
2978 } # ac_fn_c_try_link
2980 # ac_fn_c_try_cpp LINENO
2981 # ----------------------
2982 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
2983 ac_fn_c_try_cpp ()
2985 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2986 if { { ac_try="$ac_cpp conftest.$ac_ext"
2987 case "(($ac_try" in
2988 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2989 *) ac_try_echo=$ac_try;;
2990 esac
2991 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2992 $as_echo "$ac_try_echo"; } >&5
2993 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
2994 ac_status=$?
2995 if test -s conftest.err; then
2996 grep -v '^ *+' conftest.err >conftest.er1
2997 cat conftest.er1 >&5
2998 mv -f conftest.er1 conftest.err
3000 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3001 test $ac_status = 0; } > conftest.i && {
3002 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3003 test ! -s conftest.err
3004 }; then :
3005 ac_retval=0
3006 else
3007 $as_echo "$as_me: failed program was:" >&5
3008 sed 's/^/| /' conftest.$ac_ext >&5
3010 ac_retval=1
3012 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3013 as_fn_set_status $ac_retval
3015 } # ac_fn_c_try_cpp
3017 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
3018 # -------------------------------------------------------
3019 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
3020 # the include files in INCLUDES and setting the cache variable VAR
3021 # accordingly.
3022 ac_fn_c_check_header_mongrel ()
3024 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3025 if eval \${$3+:} false; then :
3026 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3027 $as_echo_n "checking for $2... " >&6; }
3028 if eval \${$3+:} false; then :
3029 $as_echo_n "(cached) " >&6
3031 eval ac_res=\$$3
3032 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3033 $as_echo "$ac_res" >&6; }
3034 else
3035 # Is the header compilable?
3036 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
3037 $as_echo_n "checking $2 usability... " >&6; }
3038 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3039 /* end confdefs.h. */
3041 #include <$2>
3042 _ACEOF
3043 if ac_fn_c_try_compile "$LINENO"; then :
3044 ac_header_compiler=yes
3045 else
3046 ac_header_compiler=no
3048 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3049 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
3050 $as_echo "$ac_header_compiler" >&6; }
3052 # Is the header present?
3053 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
3054 $as_echo_n "checking $2 presence... " >&6; }
3055 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3056 /* end confdefs.h. */
3057 #include <$2>
3058 _ACEOF
3059 if ac_fn_c_try_cpp "$LINENO"; then :
3060 ac_header_preproc=yes
3061 else
3062 ac_header_preproc=no
3064 rm -f conftest.err conftest.i conftest.$ac_ext
3065 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
3066 $as_echo "$ac_header_preproc" >&6; }
3068 # So? What about this header?
3069 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
3070 yes:no: )
3071 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
3072 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
3073 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
3074 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
3076 no:yes:* )
3077 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
3078 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
3079 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
3080 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
3081 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
3082 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
3083 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
3084 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
3085 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
3086 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
3087 ( $as_echo "## ------------------------------------ ##
3088 ## Report this to wine-devel@winehq.org ##
3089 ## ------------------------------------ ##"
3090 ) | sed "s/^/$as_me: WARNING: /" >&2
3092 esac
3093 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3094 $as_echo_n "checking for $2... " >&6; }
3095 if eval \${$3+:} false; then :
3096 $as_echo_n "(cached) " >&6
3097 else
3098 eval "$3=\$ac_header_compiler"
3100 eval ac_res=\$$3
3101 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3102 $as_echo "$ac_res" >&6; }
3104 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3106 } # ac_fn_c_check_header_mongrel
3108 # ac_fn_c_try_run LINENO
3109 # ----------------------
3110 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
3111 # that executables *can* be run.
3112 ac_fn_c_try_run ()
3114 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3115 if { { ac_try="$ac_link"
3116 case "(($ac_try" in
3117 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3118 *) ac_try_echo=$ac_try;;
3119 esac
3120 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3121 $as_echo "$ac_try_echo"; } >&5
3122 (eval "$ac_link") 2>&5
3123 ac_status=$?
3124 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3125 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
3126 { { case "(($ac_try" in
3127 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3128 *) ac_try_echo=$ac_try;;
3129 esac
3130 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3131 $as_echo "$ac_try_echo"; } >&5
3132 (eval "$ac_try") 2>&5
3133 ac_status=$?
3134 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3135 test $ac_status = 0; }; }; then :
3136 ac_retval=0
3137 else
3138 $as_echo "$as_me: program exited with status $ac_status" >&5
3139 $as_echo "$as_me: failed program was:" >&5
3140 sed 's/^/| /' conftest.$ac_ext >&5
3142 ac_retval=$ac_status
3144 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
3145 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3146 as_fn_set_status $ac_retval
3148 } # ac_fn_c_try_run
3150 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
3151 # -------------------------------------------------------
3152 # Tests whether HEADER exists and can be compiled using the include files in
3153 # INCLUDES, setting the cache variable VAR accordingly.
3154 ac_fn_c_check_header_compile ()
3156 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3157 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3158 $as_echo_n "checking for $2... " >&6; }
3159 if eval \${$3+:} false; then :
3160 $as_echo_n "(cached) " >&6
3161 else
3162 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3163 /* end confdefs.h. */
3165 #include <$2>
3166 _ACEOF
3167 if ac_fn_c_try_compile "$LINENO"; then :
3168 eval "$3=yes"
3169 else
3170 eval "$3=no"
3172 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3174 eval ac_res=\$$3
3175 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3176 $as_echo "$ac_res" >&6; }
3177 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3179 } # ac_fn_c_check_header_compile
3181 # ac_fn_objc_try_compile LINENO
3182 # -----------------------------
3183 # Try to compile conftest.$ac_ext, and return whether this succeeded.
3184 ac_fn_objc_try_compile ()
3186 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3187 rm -f conftest.$ac_objext
3188 if { { ac_try="$ac_compile"
3189 case "(($ac_try" in
3190 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3191 *) ac_try_echo=$ac_try;;
3192 esac
3193 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3194 $as_echo "$ac_try_echo"; } >&5
3195 (eval "$ac_compile") 2>conftest.err
3196 ac_status=$?
3197 if test -s conftest.err; then
3198 grep -v '^ *+' conftest.err >conftest.er1
3199 cat conftest.er1 >&5
3200 mv -f conftest.er1 conftest.err
3202 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3203 test $ac_status = 0; } && {
3204 test -z "$ac_objc_werror_flag" ||
3205 test ! -s conftest.err
3206 } && test -s conftest.$ac_objext; then :
3207 ac_retval=0
3208 else
3209 $as_echo "$as_me: failed program was:" >&5
3210 sed 's/^/| /' conftest.$ac_ext >&5
3212 ac_retval=1
3214 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3215 as_fn_set_status $ac_retval
3217 } # ac_fn_objc_try_compile
3219 # ac_fn_objc_try_cpp LINENO
3220 # -------------------------
3221 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
3222 ac_fn_objc_try_cpp ()
3224 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3225 if { { ac_try="$ac_cpp conftest.$ac_ext"
3226 case "(($ac_try" in
3227 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3228 *) ac_try_echo=$ac_try;;
3229 esac
3230 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3231 $as_echo "$ac_try_echo"; } >&5
3232 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
3233 ac_status=$?
3234 if test -s conftest.err; then
3235 grep -v '^ *+' conftest.err >conftest.er1
3236 cat conftest.er1 >&5
3237 mv -f conftest.er1 conftest.err
3239 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3240 test $ac_status = 0; } > conftest.i && {
3241 test -z "$ac_objc_preproc_warn_flag$ac_objc_werror_flag" ||
3242 test ! -s conftest.err
3243 }; then :
3244 ac_retval=0
3245 else
3246 $as_echo "$as_me: failed program was:" >&5
3247 sed 's/^/| /' conftest.$ac_ext >&5
3249 ac_retval=1
3251 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3252 as_fn_set_status $ac_retval
3254 } # ac_fn_objc_try_cpp
3256 # ac_fn_objc_check_header_mongrel LINENO HEADER VAR INCLUDES
3257 # ----------------------------------------------------------
3258 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
3259 # the include files in INCLUDES and setting the cache variable VAR
3260 # accordingly.
3261 ac_fn_objc_check_header_mongrel ()
3263 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3264 if eval \${$3+:} false; then :
3265 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3266 $as_echo_n "checking for $2... " >&6; }
3267 if eval \${$3+:} false; then :
3268 $as_echo_n "(cached) " >&6
3270 eval ac_res=\$$3
3271 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3272 $as_echo "$ac_res" >&6; }
3273 else
3274 # Is the header compilable?
3275 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
3276 $as_echo_n "checking $2 usability... " >&6; }
3277 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3278 /* end confdefs.h. */
3280 #include <$2>
3281 _ACEOF
3282 if ac_fn_objc_try_compile "$LINENO"; then :
3283 ac_header_compiler=yes
3284 else
3285 ac_header_compiler=no
3287 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3288 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
3289 $as_echo "$ac_header_compiler" >&6; }
3291 # Is the header present?
3292 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
3293 $as_echo_n "checking $2 presence... " >&6; }
3294 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3295 /* end confdefs.h. */
3296 #include <$2>
3297 _ACEOF
3298 if ac_fn_objc_try_cpp "$LINENO"; then :
3299 ac_header_preproc=yes
3300 else
3301 ac_header_preproc=no
3303 rm -f conftest.err conftest.i conftest.$ac_ext
3304 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
3305 $as_echo "$ac_header_preproc" >&6; }
3307 # So? What about this header?
3308 case $ac_header_compiler:$ac_header_preproc:$ac_objc_preproc_warn_flag in #((
3309 yes:no: )
3310 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
3311 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
3312 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
3313 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
3315 no:yes:* )
3316 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
3317 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
3318 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
3319 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
3320 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
3321 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
3322 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
3323 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
3324 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
3325 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
3326 ( $as_echo "## ------------------------------------ ##
3327 ## Report this to wine-devel@winehq.org ##
3328 ## ------------------------------------ ##"
3329 ) | sed "s/^/$as_me: WARNING: /" >&2
3331 esac
3332 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3333 $as_echo_n "checking for $2... " >&6; }
3334 if eval \${$3+:} false; then :
3335 $as_echo_n "(cached) " >&6
3336 else
3337 eval "$3=\$ac_header_compiler"
3339 eval ac_res=\$$3
3340 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3341 $as_echo "$ac_res" >&6; }
3343 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3345 } # ac_fn_objc_check_header_mongrel
3347 # ac_fn_c_check_func LINENO FUNC VAR
3348 # ----------------------------------
3349 # Tests whether FUNC exists, setting the cache variable VAR accordingly
3350 ac_fn_c_check_func ()
3352 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3353 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3354 $as_echo_n "checking for $2... " >&6; }
3355 if eval \${$3+:} false; then :
3356 $as_echo_n "(cached) " >&6
3357 else
3358 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3359 /* end confdefs.h. */
3360 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
3361 For example, HP-UX 11i <limits.h> declares gettimeofday. */
3362 #define $2 innocuous_$2
3364 /* System header to define __stub macros and hopefully few prototypes,
3365 which can conflict with char $2 (); below.
3366 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3367 <limits.h> exists even on freestanding compilers. */
3369 #ifdef __STDC__
3370 # include <limits.h>
3371 #else
3372 # include <assert.h>
3373 #endif
3375 #undef $2
3377 /* Override any GCC internal prototype to avoid an error.
3378 Use char because int might match the return type of a GCC
3379 builtin and then its argument prototype would still apply. */
3380 #ifdef __cplusplus
3381 extern "C"
3382 #endif
3383 char $2 ();
3384 /* The GNU C library defines this for functions which it implements
3385 to always fail with ENOSYS. Some functions are actually named
3386 something starting with __ and the normal name is an alias. */
3387 #if defined __stub_$2 || defined __stub___$2
3388 choke me
3389 #endif
3392 main ()
3394 return $2 ();
3396 return 0;
3398 _ACEOF
3399 if ac_fn_c_try_link "$LINENO"; then :
3400 eval "$3=yes"
3401 else
3402 eval "$3=no"
3404 rm -f core conftest.err conftest.$ac_objext \
3405 conftest$ac_exeext conftest.$ac_ext
3407 eval ac_res=\$$3
3408 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3409 $as_echo "$ac_res" >&6; }
3410 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3412 } # ac_fn_c_check_func
3414 # ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
3415 # ----------------------------------------------------
3416 # Tries to find if the field MEMBER exists in type AGGR, after including
3417 # INCLUDES, setting cache variable VAR accordingly.
3418 ac_fn_c_check_member ()
3420 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3421 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
3422 $as_echo_n "checking for $2.$3... " >&6; }
3423 if eval \${$4+:} false; then :
3424 $as_echo_n "(cached) " >&6
3425 else
3426 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3427 /* end confdefs.h. */
3430 main ()
3432 static $2 ac_aggr;
3433 if (ac_aggr.$3)
3434 return 0;
3436 return 0;
3438 _ACEOF
3439 if ac_fn_c_try_compile "$LINENO"; then :
3440 eval "$4=yes"
3441 else
3442 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3443 /* end confdefs.h. */
3446 main ()
3448 static $2 ac_aggr;
3449 if (sizeof ac_aggr.$3)
3450 return 0;
3452 return 0;
3454 _ACEOF
3455 if ac_fn_c_try_compile "$LINENO"; then :
3456 eval "$4=yes"
3457 else
3458 eval "$4=no"
3460 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3462 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3464 eval ac_res=\$$4
3465 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3466 $as_echo "$ac_res" >&6; }
3467 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3469 } # ac_fn_c_check_member
3471 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
3472 # -------------------------------------------
3473 # Tests whether TYPE exists after having included INCLUDES, setting cache
3474 # variable VAR accordingly.
3475 ac_fn_c_check_type ()
3477 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3478 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3479 $as_echo_n "checking for $2... " >&6; }
3480 if eval \${$3+:} false; then :
3481 $as_echo_n "(cached) " >&6
3482 else
3483 eval "$3=no"
3484 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3485 /* end confdefs.h. */
3488 main ()
3490 if (sizeof ($2))
3491 return 0;
3493 return 0;
3495 _ACEOF
3496 if ac_fn_c_try_compile "$LINENO"; then :
3497 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3498 /* end confdefs.h. */
3501 main ()
3503 if (sizeof (($2)))
3504 return 0;
3506 return 0;
3508 _ACEOF
3509 if ac_fn_c_try_compile "$LINENO"; then :
3511 else
3512 eval "$3=yes"
3514 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3516 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3518 eval ac_res=\$$3
3519 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3520 $as_echo "$ac_res" >&6; }
3521 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3523 } # ac_fn_c_check_type
3524 cat >config.log <<_ACEOF
3525 This file contains any messages produced by compilers while
3526 running configure, to aid debugging if configure makes a mistake.
3528 It was created by Wine $as_me 6.6, which was
3529 generated by GNU Autoconf 2.69. Invocation command line was
3531 $ $0 $@
3533 _ACEOF
3534 exec 5>>config.log
3536 cat <<_ASUNAME
3537 ## --------- ##
3538 ## Platform. ##
3539 ## --------- ##
3541 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
3542 uname -m = `(uname -m) 2>/dev/null || echo unknown`
3543 uname -r = `(uname -r) 2>/dev/null || echo unknown`
3544 uname -s = `(uname -s) 2>/dev/null || echo unknown`
3545 uname -v = `(uname -v) 2>/dev/null || echo unknown`
3547 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
3548 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
3550 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
3551 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
3552 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
3553 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
3554 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
3555 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
3556 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
3558 _ASUNAME
3560 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3561 for as_dir in $PATH
3563 IFS=$as_save_IFS
3564 test -z "$as_dir" && as_dir=.
3565 $as_echo "PATH: $as_dir"
3566 done
3567 IFS=$as_save_IFS
3569 } >&5
3571 cat >&5 <<_ACEOF
3574 ## ----------- ##
3575 ## Core tests. ##
3576 ## ----------- ##
3578 _ACEOF
3581 # Keep a trace of the command line.
3582 # Strip out --no-create and --no-recursion so they do not pile up.
3583 # Strip out --silent because we don't want to record it for future runs.
3584 # Also quote any args containing shell meta-characters.
3585 # Make two passes to allow for proper duplicate-argument suppression.
3586 ac_configure_args=
3587 ac_configure_args0=
3588 ac_configure_args1=
3589 ac_must_keep_next=false
3590 for ac_pass in 1 2
3592 for ac_arg
3594 case $ac_arg in
3595 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
3596 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
3597 | -silent | --silent | --silen | --sile | --sil)
3598 continue ;;
3599 *\'*)
3600 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
3601 esac
3602 case $ac_pass in
3603 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
3605 as_fn_append ac_configure_args1 " '$ac_arg'"
3606 if test $ac_must_keep_next = true; then
3607 ac_must_keep_next=false # Got value, back to normal.
3608 else
3609 case $ac_arg in
3610 *=* | --config-cache | -C | -disable-* | --disable-* \
3611 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
3612 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
3613 | -with-* | --with-* | -without-* | --without-* | --x)
3614 case "$ac_configure_args0 " in
3615 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
3616 esac
3618 -* ) ac_must_keep_next=true ;;
3619 esac
3621 as_fn_append ac_configure_args " '$ac_arg'"
3623 esac
3624 done
3625 done
3626 { ac_configure_args0=; unset ac_configure_args0;}
3627 { ac_configure_args1=; unset ac_configure_args1;}
3629 # When interrupted or exit'd, cleanup temporary files, and complete
3630 # config.log. We remove comments because anyway the quotes in there
3631 # would cause problems or look ugly.
3632 # WARNING: Use '\'' to represent an apostrophe within the trap.
3633 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
3634 trap 'exit_status=$?
3635 # Save into config.log some information that might help in debugging.
3637 echo
3639 $as_echo "## ---------------- ##
3640 ## Cache variables. ##
3641 ## ---------------- ##"
3642 echo
3643 # The following way of writing the cache mishandles newlines in values,
3645 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
3646 eval ac_val=\$$ac_var
3647 case $ac_val in #(
3648 *${as_nl}*)
3649 case $ac_var in #(
3650 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
3651 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
3652 esac
3653 case $ac_var in #(
3654 _ | IFS | as_nl) ;; #(
3655 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
3656 *) { eval $ac_var=; unset $ac_var;} ;;
3657 esac ;;
3658 esac
3659 done
3660 (set) 2>&1 |
3661 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
3662 *${as_nl}ac_space=\ *)
3663 sed -n \
3664 "s/'\''/'\''\\\\'\'''\''/g;
3665 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
3666 ;; #(
3668 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
3670 esac |
3671 sort
3673 echo
3675 $as_echo "## ----------------- ##
3676 ## Output variables. ##
3677 ## ----------------- ##"
3678 echo
3679 for ac_var in $ac_subst_vars
3681 eval ac_val=\$$ac_var
3682 case $ac_val in
3683 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3684 esac
3685 $as_echo "$ac_var='\''$ac_val'\''"
3686 done | sort
3687 echo
3689 if test -n "$ac_subst_files"; then
3690 $as_echo "## ------------------- ##
3691 ## File substitutions. ##
3692 ## ------------------- ##"
3693 echo
3694 for ac_var in $ac_subst_files
3696 eval ac_val=\$$ac_var
3697 case $ac_val in
3698 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3699 esac
3700 $as_echo "$ac_var='\''$ac_val'\''"
3701 done | sort
3702 echo
3705 if test -s confdefs.h; then
3706 $as_echo "## ----------- ##
3707 ## confdefs.h. ##
3708 ## ----------- ##"
3709 echo
3710 cat confdefs.h
3711 echo
3713 test "$ac_signal" != 0 &&
3714 $as_echo "$as_me: caught signal $ac_signal"
3715 $as_echo "$as_me: exit $exit_status"
3716 } >&5
3717 rm -f core *.core core.conftest.* &&
3718 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
3719 exit $exit_status
3721 for ac_signal in 1 2 13 15; do
3722 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
3723 done
3724 ac_signal=0
3726 # confdefs.h avoids OS command line length limits that DEFS can exceed.
3727 rm -f -r conftest* confdefs.h
3729 $as_echo "/* confdefs.h */" > confdefs.h
3731 # Predefined preprocessor variables.
3733 cat >>confdefs.h <<_ACEOF
3734 #define PACKAGE_NAME "$PACKAGE_NAME"
3735 _ACEOF
3737 cat >>confdefs.h <<_ACEOF
3738 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
3739 _ACEOF
3741 cat >>confdefs.h <<_ACEOF
3742 #define PACKAGE_VERSION "$PACKAGE_VERSION"
3743 _ACEOF
3745 cat >>confdefs.h <<_ACEOF
3746 #define PACKAGE_STRING "$PACKAGE_STRING"
3747 _ACEOF
3749 cat >>confdefs.h <<_ACEOF
3750 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
3751 _ACEOF
3753 cat >>confdefs.h <<_ACEOF
3754 #define PACKAGE_URL "$PACKAGE_URL"
3755 _ACEOF
3758 # Let the site file select an alternate cache file if it wants to.
3759 # Prefer an explicitly selected file to automatically selected ones.
3760 ac_site_file1=NONE
3761 ac_site_file2=NONE
3762 if test -n "$CONFIG_SITE"; then
3763 # We do not want a PATH search for config.site.
3764 case $CONFIG_SITE in #((
3765 -*) ac_site_file1=./$CONFIG_SITE;;
3766 */*) ac_site_file1=$CONFIG_SITE;;
3767 *) ac_site_file1=./$CONFIG_SITE;;
3768 esac
3769 elif test "x$prefix" != xNONE; then
3770 ac_site_file1=$prefix/share/config.site
3771 ac_site_file2=$prefix/etc/config.site
3772 else
3773 ac_site_file1=$ac_default_prefix/share/config.site
3774 ac_site_file2=$ac_default_prefix/etc/config.site
3776 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
3778 test "x$ac_site_file" = xNONE && continue
3779 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
3780 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
3781 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
3782 sed 's/^/| /' "$ac_site_file" >&5
3783 . "$ac_site_file" \
3784 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3785 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3786 as_fn_error $? "failed to load site script $ac_site_file
3787 See \`config.log' for more details" "$LINENO" 5; }
3789 done
3791 if test -r "$cache_file"; then
3792 # Some versions of bash will fail to source /dev/null (special files
3793 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
3794 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
3795 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
3796 $as_echo "$as_me: loading cache $cache_file" >&6;}
3797 case $cache_file in
3798 [\\/]* | ?:[\\/]* ) . "$cache_file";;
3799 *) . "./$cache_file";;
3800 esac
3802 else
3803 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
3804 $as_echo "$as_me: creating cache $cache_file" >&6;}
3805 >$cache_file
3808 # Check that the precious variables saved in the cache have kept the same
3809 # value.
3810 ac_cache_corrupted=false
3811 for ac_var in $ac_precious_vars; do
3812 eval ac_old_set=\$ac_cv_env_${ac_var}_set
3813 eval ac_new_set=\$ac_env_${ac_var}_set
3814 eval ac_old_val=\$ac_cv_env_${ac_var}_value
3815 eval ac_new_val=\$ac_env_${ac_var}_value
3816 case $ac_old_set,$ac_new_set in
3817 set,)
3818 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
3819 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
3820 ac_cache_corrupted=: ;;
3821 ,set)
3822 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
3823 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
3824 ac_cache_corrupted=: ;;
3825 ,);;
3827 if test "x$ac_old_val" != "x$ac_new_val"; then
3828 # differences in whitespace do not lead to failure.
3829 ac_old_val_w=`echo x $ac_old_val`
3830 ac_new_val_w=`echo x $ac_new_val`
3831 if test "$ac_old_val_w" != "$ac_new_val_w"; then
3832 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
3833 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
3834 ac_cache_corrupted=:
3835 else
3836 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
3837 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
3838 eval $ac_var=\$ac_old_val
3840 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
3841 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
3842 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
3843 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
3844 fi;;
3845 esac
3846 # Pass precious variables to config.status.
3847 if test "$ac_new_set" = set; then
3848 case $ac_new_val in
3849 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
3850 *) ac_arg=$ac_var=$ac_new_val ;;
3851 esac
3852 case " $ac_configure_args " in
3853 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
3854 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
3855 esac
3857 done
3858 if $ac_cache_corrupted; then
3859 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3860 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3861 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
3862 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
3863 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
3865 ## -------------------- ##
3866 ## Main body of script. ##
3867 ## -------------------- ##
3869 ac_ext=c
3870 ac_cpp='$CPP $CPPFLAGS'
3871 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3872 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3873 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3877 ac_config_headers="$ac_config_headers include/config.h"
3879 ac_aux_dir=
3880 for ac_dir in tools "$srcdir"/tools; do
3881 if test -f "$ac_dir/install-sh"; then
3882 ac_aux_dir=$ac_dir
3883 ac_install_sh="$ac_aux_dir/install-sh -c"
3884 break
3885 elif test -f "$ac_dir/install.sh"; then
3886 ac_aux_dir=$ac_dir
3887 ac_install_sh="$ac_aux_dir/install.sh -c"
3888 break
3889 elif test -f "$ac_dir/shtool"; then
3890 ac_aux_dir=$ac_dir
3891 ac_install_sh="$ac_aux_dir/shtool install -c"
3892 break
3894 done
3895 if test -z "$ac_aux_dir"; then
3896 as_fn_error $? "cannot find install-sh, install.sh, or shtool in tools \"$srcdir\"/tools" "$LINENO" 5
3899 # These three variables are undocumented and unsupported,
3900 # and are intended to be withdrawn in a future Autoconf release.
3901 # They can cause serious problems if a builder's source tree is in a directory
3902 # whose full name contains unusual characters.
3903 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
3904 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
3905 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
3909 libwine_version="1.0"
3913 # Check whether --enable-win16 was given.
3914 if test "${enable_win16+set}" = set; then :
3915 enableval=$enable_win16;
3918 # Check whether --enable-win64 was given.
3919 if test "${enable_win64+set}" = set; then :
3920 enableval=$enable_win64;
3923 # Check whether --enable-tests was given.
3924 if test "${enable_tests+set}" = set; then :
3925 enableval=$enable_tests;
3928 # Check whether --enable-build-id was given.
3929 if test "${enable_build_id+set}" = set; then :
3930 enableval=$enable_build_id;
3933 # Check whether --enable-maintainer-mode was given.
3934 if test "${enable_maintainer_mode+set}" = set; then :
3935 enableval=$enable_maintainer_mode;
3938 # Check whether --enable-silent-rules was given.
3939 if test "${enable_silent_rules+set}" = set; then :
3940 enableval=$enable_silent_rules;
3943 # Check whether --enable-werror was given.
3944 if test "${enable_werror+set}" = set; then :
3945 enableval=$enable_werror;
3950 # Check whether --with-alsa was given.
3951 if test "${with_alsa+set}" = set; then :
3952 withval=$with_alsa;
3956 # Check whether --with-capi was given.
3957 if test "${with_capi+set}" = set; then :
3958 withval=$with_capi;
3962 # Check whether --with-cms was given.
3963 if test "${with_cms+set}" = set; then :
3964 withval=$with_cms;
3968 # Check whether --with-coreaudio was given.
3969 if test "${with_coreaudio+set}" = set; then :
3970 withval=$with_coreaudio; if test "x$withval" = "xno"; then ac_cv_header_CoreAudio_CoreAudio_h=no; fi
3974 # Check whether --with-cups was given.
3975 if test "${with_cups+set}" = set; then :
3976 withval=$with_cups;
3980 # Check whether --with-dbus was given.
3981 if test "${with_dbus+set}" = set; then :
3982 withval=$with_dbus;
3986 # Check whether --with-faudio was given.
3987 if test "${with_faudio+set}" = set; then :
3988 withval=$with_faudio;
3992 # Check whether --with-float-abi was given.
3993 if test "${with_float_abi+set}" = set; then :
3994 withval=$with_float_abi;
3998 # Check whether --with-fontconfig was given.
3999 if test "${with_fontconfig+set}" = set; then :
4000 withval=$with_fontconfig;
4004 # Check whether --with-freetype was given.
4005 if test "${with_freetype+set}" = set; then :
4006 withval=$with_freetype;
4010 # Check whether --with-gettext was given.
4011 if test "${with_gettext+set}" = set; then :
4012 withval=$with_gettext;
4016 # Check whether --with-gettextpo was given.
4017 if test "${with_gettextpo+set}" = set; then :
4018 withval=$with_gettextpo; if test "x$withval" = "xno"; then ac_cv_header_gettext_po_h=no; fi
4022 # Check whether --with-gphoto was given.
4023 if test "${with_gphoto+set}" = set; then :
4024 withval=$with_gphoto;
4028 # Check whether --with-gnutls was given.
4029 if test "${with_gnutls+set}" = set; then :
4030 withval=$with_gnutls;
4034 # Check whether --with-gsm was given.
4035 if test "${with_gsm+set}" = set; then :
4036 withval=$with_gsm; if test "x$withval" = "xno"; then ac_cv_header_gsm_h=no; ac_cv_header_gsm_gsm_h=no; fi
4040 # Check whether --with-gssapi was given.
4041 if test "${with_gssapi+set}" = set; then :
4042 withval=$with_gssapi;
4046 # Check whether --with-gstreamer was given.
4047 if test "${with_gstreamer+set}" = set; then :
4048 withval=$with_gstreamer;
4052 # Check whether --with-hal was given.
4053 if test "${with_hal+set}" = set; then :
4054 withval=$with_hal;
4058 # Check whether --with-inotify was given.
4059 if test "${with_inotify+set}" = set; then :
4060 withval=$with_inotify;
4064 # Check whether --with-jpeg was given.
4065 if test "${with_jpeg+set}" = set; then :
4066 withval=$with_jpeg;
4070 # Check whether --with-jxrlib was given.
4071 if test "${with_jxrlib+set}" = set; then :
4072 withval=$with_jxrlib;
4076 # Check whether --with-krb5 was given.
4077 if test "${with_krb5+set}" = set; then :
4078 withval=$with_krb5;
4082 # Check whether --with-ldap was given.
4083 if test "${with_ldap+set}" = set; then :
4084 withval=$with_ldap; if test "x$withval" = "xno"; then ac_cv_header_ldap_h=no; ac_cv_header_lber_h=no; fi
4088 # Check whether --with-mingw was given.
4089 if test "${with_mingw+set}" = set; then :
4090 withval=$with_mingw;
4094 # Check whether --with-mpg123 was given.
4095 if test "${with_mpg123+set}" = set; then :
4096 withval=$with_mpg123;
4100 # Check whether --with-netapi was given.
4101 if test "${with_netapi+set}" = set; then :
4102 withval=$with_netapi;
4106 # Check whether --with-openal was given.
4107 if test "${with_openal+set}" = set; then :
4108 withval=$with_openal; if test "x$withval" = "xno"; then ac_cv_header_AL_al_h=no; ac_cv_header_OpenAL_al_h=no; fi
4112 # Check whether --with-opencl was given.
4113 if test "${with_opencl+set}" = set; then :
4114 withval=$with_opencl; if test "x$withval" = "xno"; then ac_cv_header_CL_cl_h=no; ac_cv_header_OpenCL_opencl_h=no; fi
4118 # Check whether --with-opengl was given.
4119 if test "${with_opengl+set}" = set; then :
4120 withval=$with_opengl;
4124 # Check whether --with-osmesa was given.
4125 if test "${with_osmesa+set}" = set; then :
4126 withval=$with_osmesa;
4130 # Check whether --with-oss was given.
4131 if test "${with_oss+set}" = set; then :
4132 withval=$with_oss;
4136 # Check whether --with-pcap was given.
4137 if test "${with_pcap+set}" = set; then :
4138 withval=$with_pcap; if test "x$withval" = "xno"; then ac_cv_header_pcap_pcap_h=no; fi
4142 # Check whether --with-png was given.
4143 if test "${with_png+set}" = set; then :
4144 withval=$with_png;
4148 # Check whether --with-pthread was given.
4149 if test "${with_pthread+set}" = set; then :
4150 withval=$with_pthread; if test "x$withval" = "xno"; then ac_cv_header_pthread_h=no; fi
4154 # Check whether --with-pulse was given.
4155 if test "${with_pulse+set}" = set; then :
4156 withval=$with_pulse;
4160 # Check whether --with-quicktime was given.
4161 if test "${with_quicktime+set}" = set; then :
4162 withval=$with_quicktime;
4166 # Check whether --with-sane was given.
4167 if test "${with_sane+set}" = set; then :
4168 withval=$with_sane;
4172 # Check whether --with-sdl was given.
4173 if test "${with_sdl+set}" = set; then :
4174 withval=$with_sdl;
4178 # Check whether --with-tiff was given.
4179 if test "${with_tiff+set}" = set; then :
4180 withval=$with_tiff;
4184 # Check whether --with-udev was given.
4185 if test "${with_udev+set}" = set; then :
4186 withval=$with_udev;
4190 # Check whether --with-unwind was given.
4191 if test "${with_unwind+set}" = set; then :
4192 withval=$with_unwind;
4196 # Check whether --with-usb was given.
4197 if test "${with_usb+set}" = set; then :
4198 withval=$with_usb;
4202 # Check whether --with-v4l2 was given.
4203 if test "${with_v4l2+set}" = set; then :
4204 withval=$with_v4l2;
4208 # Check whether --with-vkd3d was given.
4209 if test "${with_vkd3d+set}" = set; then :
4210 withval=$with_vkd3d;
4214 # Check whether --with-vulkan was given.
4215 if test "${with_vulkan+set}" = set; then :
4216 withval=$with_vulkan;
4220 # Check whether --with-xcomposite was given.
4221 if test "${with_xcomposite+set}" = set; then :
4222 withval=$with_xcomposite; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xcomposite_h=no; fi
4226 # Check whether --with-xcursor was given.
4227 if test "${with_xcursor+set}" = set; then :
4228 withval=$with_xcursor; if test "x$withval" = "xno"; then ac_cv_header_X11_Xcursor_Xcursor_h=no; fi
4232 # Check whether --with-xfixes was given.
4233 if test "${with_xfixes+set}" = set; then :
4234 withval=$with_xfixes; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xfixes_h=no; fi
4238 # Check whether --with-xinerama was given.
4239 if test "${with_xinerama+set}" = set; then :
4240 withval=$with_xinerama; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xinerama_h=no; fi
4244 # Check whether --with-xinput was given.
4245 if test "${with_xinput+set}" = set; then :
4246 withval=$with_xinput; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput_h=no; fi
4250 # Check whether --with-xinput2 was given.
4251 if test "${with_xinput2+set}" = set; then :
4252 withval=$with_xinput2; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput2_h=no; fi
4256 # Check whether --with-xml was given.
4257 if test "${with_xml+set}" = set; then :
4258 withval=$with_xml;
4262 # Check whether --with-xrandr was given.
4263 if test "${with_xrandr+set}" = set; then :
4264 withval=$with_xrandr; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrandr_h=no; fi
4268 # Check whether --with-xrender was given.
4269 if test "${with_xrender+set}" = set; then :
4270 withval=$with_xrender; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrender_h=no; fi
4274 # Check whether --with-xshape was given.
4275 if test "${with_xshape+set}" = set; then :
4276 withval=$with_xshape; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_shape_h=no; fi
4280 # Check whether --with-xshm was given.
4281 if test "${with_xshm+set}" = set; then :
4282 withval=$with_xshm; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XShm_h=no; fi
4286 # Check whether --with-xslt was given.
4287 if test "${with_xslt+set}" = set; then :
4288 withval=$with_xslt;
4292 # Check whether --with-xxf86vm was given.
4293 if test "${with_xxf86vm+set}" = set; then :
4294 withval=$with_xxf86vm; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_xf86vmode_h=no; ac_cv_header_X11_extensions_xf86vmproto_h=no; fi
4299 # Check whether --with-wine-tools was given.
4300 if test "${with_wine_tools+set}" = set; then :
4301 withval=$with_wine_tools;
4305 # Check whether --with-wine64 was given.
4306 if test "${with_wine64+set}" = set; then :
4307 withval=$with_wine64;
4311 # Make sure we can run config.sub.
4312 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
4313 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
4315 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
4316 $as_echo_n "checking build system type... " >&6; }
4317 if ${ac_cv_build+:} false; then :
4318 $as_echo_n "(cached) " >&6
4319 else
4320 ac_build_alias=$build_alias
4321 test "x$ac_build_alias" = x &&
4322 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
4323 test "x$ac_build_alias" = x &&
4324 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
4325 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
4326 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
4329 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
4330 $as_echo "$ac_cv_build" >&6; }
4331 case $ac_cv_build in
4332 *-*-*) ;;
4333 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
4334 esac
4335 build=$ac_cv_build
4336 ac_save_IFS=$IFS; IFS='-'
4337 set x $ac_cv_build
4338 shift
4339 build_cpu=$1
4340 build_vendor=$2
4341 shift; shift
4342 # Remember, the first character of IFS is used to create $*,
4343 # except with old shells:
4344 build_os=$*
4345 IFS=$ac_save_IFS
4346 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
4349 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
4350 $as_echo_n "checking host system type... " >&6; }
4351 if ${ac_cv_host+:} false; then :
4352 $as_echo_n "(cached) " >&6
4353 else
4354 if test "x$host_alias" = x; then
4355 ac_cv_host=$ac_cv_build
4356 else
4357 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
4358 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
4362 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
4363 $as_echo "$ac_cv_host" >&6; }
4364 case $ac_cv_host in
4365 *-*-*) ;;
4366 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
4367 esac
4368 host=$ac_cv_host
4369 ac_save_IFS=$IFS; IFS='-'
4370 set x $ac_cv_host
4371 shift
4372 host_cpu=$1
4373 host_vendor=$2
4374 shift; shift
4375 # Remember, the first character of IFS is used to create $*,
4376 # except with old shells:
4377 host_os=$*
4378 IFS=$ac_save_IFS
4379 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
4384 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
4385 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
4386 set x ${MAKE-make}
4387 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
4388 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
4389 $as_echo_n "(cached) " >&6
4390 else
4391 cat >conftest.make <<\_ACEOF
4392 SHELL = /bin/sh
4393 all:
4394 @echo '@@@%%%=$(MAKE)=@@@%%%'
4395 _ACEOF
4396 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
4397 case `${MAKE-make} -f conftest.make 2>/dev/null` in
4398 *@@@%%%=?*=@@@%%%*)
4399 eval ac_cv_prog_make_${ac_make}_set=yes;;
4401 eval ac_cv_prog_make_${ac_make}_set=no;;
4402 esac
4403 rm -f conftest.make
4405 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
4406 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4407 $as_echo "yes" >&6; }
4408 SET_MAKE=
4409 else
4410 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4411 $as_echo "no" >&6; }
4412 SET_MAKE="MAKE=${MAKE-make}"
4415 ac_ext=c
4416 ac_cpp='$CPP $CPPFLAGS'
4417 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4418 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4419 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4420 if test -n "$ac_tool_prefix"; then
4421 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
4422 set dummy ${ac_tool_prefix}gcc; ac_word=$2
4423 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4424 $as_echo_n "checking for $ac_word... " >&6; }
4425 if ${ac_cv_prog_CC+:} false; then :
4426 $as_echo_n "(cached) " >&6
4427 else
4428 if test -n "$CC"; then
4429 ac_cv_prog_CC="$CC" # Let the user override the test.
4430 else
4431 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4432 for as_dir in $PATH
4434 IFS=$as_save_IFS
4435 test -z "$as_dir" && as_dir=.
4436 for ac_exec_ext in '' $ac_executable_extensions; do
4437 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4438 ac_cv_prog_CC="${ac_tool_prefix}gcc"
4439 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4440 break 2
4442 done
4443 done
4444 IFS=$as_save_IFS
4448 CC=$ac_cv_prog_CC
4449 if test -n "$CC"; then
4450 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4451 $as_echo "$CC" >&6; }
4452 else
4453 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4454 $as_echo "no" >&6; }
4459 if test -z "$ac_cv_prog_CC"; then
4460 ac_ct_CC=$CC
4461 # Extract the first word of "gcc", so it can be a program name with args.
4462 set dummy gcc; ac_word=$2
4463 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4464 $as_echo_n "checking for $ac_word... " >&6; }
4465 if ${ac_cv_prog_ac_ct_CC+:} false; then :
4466 $as_echo_n "(cached) " >&6
4467 else
4468 if test -n "$ac_ct_CC"; then
4469 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4470 else
4471 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4472 for as_dir in $PATH
4474 IFS=$as_save_IFS
4475 test -z "$as_dir" && as_dir=.
4476 for ac_exec_ext in '' $ac_executable_extensions; do
4477 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4478 ac_cv_prog_ac_ct_CC="gcc"
4479 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4480 break 2
4482 done
4483 done
4484 IFS=$as_save_IFS
4488 ac_ct_CC=$ac_cv_prog_ac_ct_CC
4489 if test -n "$ac_ct_CC"; then
4490 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4491 $as_echo "$ac_ct_CC" >&6; }
4492 else
4493 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4494 $as_echo "no" >&6; }
4497 if test "x$ac_ct_CC" = x; then
4498 CC=""
4499 else
4500 case $cross_compiling:$ac_tool_warned in
4501 yes:)
4502 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4503 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4504 ac_tool_warned=yes ;;
4505 esac
4506 CC=$ac_ct_CC
4508 else
4509 CC="$ac_cv_prog_CC"
4512 if test -z "$CC"; then
4513 if test -n "$ac_tool_prefix"; then
4514 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
4515 set dummy ${ac_tool_prefix}cc; ac_word=$2
4516 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4517 $as_echo_n "checking for $ac_word... " >&6; }
4518 if ${ac_cv_prog_CC+:} false; then :
4519 $as_echo_n "(cached) " >&6
4520 else
4521 if test -n "$CC"; then
4522 ac_cv_prog_CC="$CC" # Let the user override the test.
4523 else
4524 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4525 for as_dir in $PATH
4527 IFS=$as_save_IFS
4528 test -z "$as_dir" && as_dir=.
4529 for ac_exec_ext in '' $ac_executable_extensions; do
4530 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4531 ac_cv_prog_CC="${ac_tool_prefix}cc"
4532 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4533 break 2
4535 done
4536 done
4537 IFS=$as_save_IFS
4541 CC=$ac_cv_prog_CC
4542 if test -n "$CC"; then
4543 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4544 $as_echo "$CC" >&6; }
4545 else
4546 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4547 $as_echo "no" >&6; }
4553 if test -z "$CC"; then
4554 # Extract the first word of "cc", so it can be a program name with args.
4555 set dummy cc; ac_word=$2
4556 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4557 $as_echo_n "checking for $ac_word... " >&6; }
4558 if ${ac_cv_prog_CC+:} false; then :
4559 $as_echo_n "(cached) " >&6
4560 else
4561 if test -n "$CC"; then
4562 ac_cv_prog_CC="$CC" # Let the user override the test.
4563 else
4564 ac_prog_rejected=no
4565 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4566 for as_dir in $PATH
4568 IFS=$as_save_IFS
4569 test -z "$as_dir" && as_dir=.
4570 for ac_exec_ext in '' $ac_executable_extensions; do
4571 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4572 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
4573 ac_prog_rejected=yes
4574 continue
4576 ac_cv_prog_CC="cc"
4577 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4578 break 2
4580 done
4581 done
4582 IFS=$as_save_IFS
4584 if test $ac_prog_rejected = yes; then
4585 # We found a bogon in the path, so make sure we never use it.
4586 set dummy $ac_cv_prog_CC
4587 shift
4588 if test $# != 0; then
4589 # We chose a different compiler from the bogus one.
4590 # However, it has the same basename, so the bogon will be chosen
4591 # first if we set CC to just the basename; use the full file name.
4592 shift
4593 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
4598 CC=$ac_cv_prog_CC
4599 if test -n "$CC"; then
4600 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4601 $as_echo "$CC" >&6; }
4602 else
4603 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4604 $as_echo "no" >&6; }
4609 if test -z "$CC"; then
4610 if test -n "$ac_tool_prefix"; then
4611 for ac_prog in cl.exe
4613 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4614 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4615 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4616 $as_echo_n "checking for $ac_word... " >&6; }
4617 if ${ac_cv_prog_CC+:} false; then :
4618 $as_echo_n "(cached) " >&6
4619 else
4620 if test -n "$CC"; then
4621 ac_cv_prog_CC="$CC" # Let the user override the test.
4622 else
4623 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4624 for as_dir in $PATH
4626 IFS=$as_save_IFS
4627 test -z "$as_dir" && as_dir=.
4628 for ac_exec_ext in '' $ac_executable_extensions; do
4629 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4630 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
4631 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4632 break 2
4634 done
4635 done
4636 IFS=$as_save_IFS
4640 CC=$ac_cv_prog_CC
4641 if test -n "$CC"; then
4642 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4643 $as_echo "$CC" >&6; }
4644 else
4645 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4646 $as_echo "no" >&6; }
4650 test -n "$CC" && break
4651 done
4653 if test -z "$CC"; then
4654 ac_ct_CC=$CC
4655 for ac_prog in cl.exe
4657 # Extract the first word of "$ac_prog", so it can be a program name with args.
4658 set dummy $ac_prog; ac_word=$2
4659 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4660 $as_echo_n "checking for $ac_word... " >&6; }
4661 if ${ac_cv_prog_ac_ct_CC+:} false; then :
4662 $as_echo_n "(cached) " >&6
4663 else
4664 if test -n "$ac_ct_CC"; then
4665 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4666 else
4667 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4668 for as_dir in $PATH
4670 IFS=$as_save_IFS
4671 test -z "$as_dir" && as_dir=.
4672 for ac_exec_ext in '' $ac_executable_extensions; do
4673 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4674 ac_cv_prog_ac_ct_CC="$ac_prog"
4675 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4676 break 2
4678 done
4679 done
4680 IFS=$as_save_IFS
4684 ac_ct_CC=$ac_cv_prog_ac_ct_CC
4685 if test -n "$ac_ct_CC"; then
4686 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4687 $as_echo "$ac_ct_CC" >&6; }
4688 else
4689 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4690 $as_echo "no" >&6; }
4694 test -n "$ac_ct_CC" && break
4695 done
4697 if test "x$ac_ct_CC" = x; then
4698 CC=""
4699 else
4700 case $cross_compiling:$ac_tool_warned in
4701 yes:)
4702 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4703 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4704 ac_tool_warned=yes ;;
4705 esac
4706 CC=$ac_ct_CC
4713 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4714 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4715 as_fn_error $? "no acceptable C compiler found in \$PATH
4716 See \`config.log' for more details" "$LINENO" 5; }
4718 # Provide some information about the compiler.
4719 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
4720 set X $ac_compile
4721 ac_compiler=$2
4722 for ac_option in --version -v -V -qversion; do
4723 { { ac_try="$ac_compiler $ac_option >&5"
4724 case "(($ac_try" in
4725 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4726 *) ac_try_echo=$ac_try;;
4727 esac
4728 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4729 $as_echo "$ac_try_echo"; } >&5
4730 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4731 ac_status=$?
4732 if test -s conftest.err; then
4733 sed '10a\
4734 ... rest of stderr output deleted ...
4735 10q' conftest.err >conftest.er1
4736 cat conftest.er1 >&5
4738 rm -f conftest.er1 conftest.err
4739 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4740 test $ac_status = 0; }
4741 done
4743 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4744 /* end confdefs.h. */
4747 main ()
4751 return 0;
4753 _ACEOF
4754 ac_clean_files_save=$ac_clean_files
4755 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
4756 # Try to create an executable without -o first, disregard a.out.
4757 # It will help us diagnose broken compilers, and finding out an intuition
4758 # of exeext.
4759 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
4760 $as_echo_n "checking whether the C compiler works... " >&6; }
4761 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
4763 # The possible output files:
4764 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
4766 ac_rmfiles=
4767 for ac_file in $ac_files
4769 case $ac_file in
4770 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4771 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
4772 esac
4773 done
4774 rm -f $ac_rmfiles
4776 if { { ac_try="$ac_link_default"
4777 case "(($ac_try" in
4778 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4779 *) ac_try_echo=$ac_try;;
4780 esac
4781 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4782 $as_echo "$ac_try_echo"; } >&5
4783 (eval "$ac_link_default") 2>&5
4784 ac_status=$?
4785 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4786 test $ac_status = 0; }; then :
4787 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
4788 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
4789 # in a Makefile. We should not override ac_cv_exeext if it was cached,
4790 # so that the user can short-circuit this test for compilers unknown to
4791 # Autoconf.
4792 for ac_file in $ac_files ''
4794 test -f "$ac_file" || continue
4795 case $ac_file in
4796 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
4798 [ab].out )
4799 # We found the default executable, but exeext='' is most
4800 # certainly right.
4801 break;;
4802 *.* )
4803 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
4804 then :; else
4805 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4807 # We set ac_cv_exeext here because the later test for it is not
4808 # safe: cross compilers may not add the suffix if given an `-o'
4809 # argument, so we may need to know it at that point already.
4810 # Even if this section looks crufty: it has the advantage of
4811 # actually working.
4812 break;;
4814 break;;
4815 esac
4816 done
4817 test "$ac_cv_exeext" = no && ac_cv_exeext=
4819 else
4820 ac_file=''
4822 if test -z "$ac_file"; then :
4823 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4824 $as_echo "no" >&6; }
4825 $as_echo "$as_me: failed program was:" >&5
4826 sed 's/^/| /' conftest.$ac_ext >&5
4828 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4829 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4830 as_fn_error 77 "C compiler cannot create executables
4831 See \`config.log' for more details" "$LINENO" 5; }
4832 else
4833 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4834 $as_echo "yes" >&6; }
4836 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
4837 $as_echo_n "checking for C compiler default output file name... " >&6; }
4838 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
4839 $as_echo "$ac_file" >&6; }
4840 ac_exeext=$ac_cv_exeext
4842 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
4843 ac_clean_files=$ac_clean_files_save
4844 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
4845 $as_echo_n "checking for suffix of executables... " >&6; }
4846 if { { ac_try="$ac_link"
4847 case "(($ac_try" in
4848 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4849 *) ac_try_echo=$ac_try;;
4850 esac
4851 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4852 $as_echo "$ac_try_echo"; } >&5
4853 (eval "$ac_link") 2>&5
4854 ac_status=$?
4855 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4856 test $ac_status = 0; }; then :
4857 # If both `conftest.exe' and `conftest' are `present' (well, observable)
4858 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
4859 # work properly (i.e., refer to `conftest.exe'), while it won't with
4860 # `rm'.
4861 for ac_file in conftest.exe conftest conftest.*; do
4862 test -f "$ac_file" || continue
4863 case $ac_file in
4864 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4865 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4866 break;;
4867 * ) break;;
4868 esac
4869 done
4870 else
4871 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4872 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4873 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
4874 See \`config.log' for more details" "$LINENO" 5; }
4876 rm -f conftest conftest$ac_cv_exeext
4877 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
4878 $as_echo "$ac_cv_exeext" >&6; }
4880 rm -f conftest.$ac_ext
4881 EXEEXT=$ac_cv_exeext
4882 ac_exeext=$EXEEXT
4883 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4884 /* end confdefs.h. */
4885 #include <stdio.h>
4887 main ()
4889 FILE *f = fopen ("conftest.out", "w");
4890 return ferror (f) || fclose (f) != 0;
4893 return 0;
4895 _ACEOF
4896 ac_clean_files="$ac_clean_files conftest.out"
4897 # Check that the compiler produces executables we can run. If not, either
4898 # the compiler is broken, or we cross compile.
4899 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
4900 $as_echo_n "checking whether we are cross compiling... " >&6; }
4901 if test "$cross_compiling" != yes; then
4902 { { ac_try="$ac_link"
4903 case "(($ac_try" in
4904 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4905 *) ac_try_echo=$ac_try;;
4906 esac
4907 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4908 $as_echo "$ac_try_echo"; } >&5
4909 (eval "$ac_link") 2>&5
4910 ac_status=$?
4911 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4912 test $ac_status = 0; }
4913 if { ac_try='./conftest$ac_cv_exeext'
4914 { { case "(($ac_try" in
4915 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4916 *) ac_try_echo=$ac_try;;
4917 esac
4918 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4919 $as_echo "$ac_try_echo"; } >&5
4920 (eval "$ac_try") 2>&5
4921 ac_status=$?
4922 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4923 test $ac_status = 0; }; }; then
4924 cross_compiling=no
4925 else
4926 if test "$cross_compiling" = maybe; then
4927 cross_compiling=yes
4928 else
4929 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4930 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4931 as_fn_error $? "cannot run C compiled programs.
4932 If you meant to cross compile, use \`--host'.
4933 See \`config.log' for more details" "$LINENO" 5; }
4937 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
4938 $as_echo "$cross_compiling" >&6; }
4940 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
4941 ac_clean_files=$ac_clean_files_save
4942 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
4943 $as_echo_n "checking for suffix of object files... " >&6; }
4944 if ${ac_cv_objext+:} false; then :
4945 $as_echo_n "(cached) " >&6
4946 else
4947 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4948 /* end confdefs.h. */
4951 main ()
4955 return 0;
4957 _ACEOF
4958 rm -f conftest.o conftest.obj
4959 if { { ac_try="$ac_compile"
4960 case "(($ac_try" in
4961 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4962 *) ac_try_echo=$ac_try;;
4963 esac
4964 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4965 $as_echo "$ac_try_echo"; } >&5
4966 (eval "$ac_compile") 2>&5
4967 ac_status=$?
4968 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4969 test $ac_status = 0; }; then :
4970 for ac_file in conftest.o conftest.obj conftest.*; do
4971 test -f "$ac_file" || continue;
4972 case $ac_file in
4973 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
4974 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
4975 break;;
4976 esac
4977 done
4978 else
4979 $as_echo "$as_me: failed program was:" >&5
4980 sed 's/^/| /' conftest.$ac_ext >&5
4982 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4983 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4984 as_fn_error $? "cannot compute suffix of object files: cannot compile
4985 See \`config.log' for more details" "$LINENO" 5; }
4987 rm -f conftest.$ac_cv_objext conftest.$ac_ext
4989 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
4990 $as_echo "$ac_cv_objext" >&6; }
4991 OBJEXT=$ac_cv_objext
4992 ac_objext=$OBJEXT
4993 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4994 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4995 if ${ac_cv_c_compiler_gnu+:} false; then :
4996 $as_echo_n "(cached) " >&6
4997 else
4998 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4999 /* end confdefs.h. */
5002 main ()
5004 #ifndef __GNUC__
5005 choke me
5006 #endif
5009 return 0;
5011 _ACEOF
5012 if ac_fn_c_try_compile "$LINENO"; then :
5013 ac_compiler_gnu=yes
5014 else
5015 ac_compiler_gnu=no
5017 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5018 ac_cv_c_compiler_gnu=$ac_compiler_gnu
5021 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
5022 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
5023 if test $ac_compiler_gnu = yes; then
5024 GCC=yes
5025 else
5026 GCC=
5028 ac_test_CFLAGS=${CFLAGS+set}
5029 ac_save_CFLAGS=$CFLAGS
5030 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
5031 $as_echo_n "checking whether $CC accepts -g... " >&6; }
5032 if ${ac_cv_prog_cc_g+:} false; then :
5033 $as_echo_n "(cached) " >&6
5034 else
5035 ac_save_c_werror_flag=$ac_c_werror_flag
5036 ac_c_werror_flag=yes
5037 ac_cv_prog_cc_g=no
5038 CFLAGS="-g"
5039 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5040 /* end confdefs.h. */
5043 main ()
5047 return 0;
5049 _ACEOF
5050 if ac_fn_c_try_compile "$LINENO"; then :
5051 ac_cv_prog_cc_g=yes
5052 else
5053 CFLAGS=""
5054 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5055 /* end confdefs.h. */
5058 main ()
5062 return 0;
5064 _ACEOF
5065 if ac_fn_c_try_compile "$LINENO"; then :
5067 else
5068 ac_c_werror_flag=$ac_save_c_werror_flag
5069 CFLAGS="-g"
5070 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5071 /* end confdefs.h. */
5074 main ()
5078 return 0;
5080 _ACEOF
5081 if ac_fn_c_try_compile "$LINENO"; then :
5082 ac_cv_prog_cc_g=yes
5084 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5086 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5088 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5089 ac_c_werror_flag=$ac_save_c_werror_flag
5091 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
5092 $as_echo "$ac_cv_prog_cc_g" >&6; }
5093 if test "$ac_test_CFLAGS" = set; then
5094 CFLAGS=$ac_save_CFLAGS
5095 elif test $ac_cv_prog_cc_g = yes; then
5096 if test "$GCC" = yes; then
5097 CFLAGS="-g -O2"
5098 else
5099 CFLAGS="-g"
5101 else
5102 if test "$GCC" = yes; then
5103 CFLAGS="-O2"
5104 else
5105 CFLAGS=
5108 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
5109 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
5110 if ${ac_cv_prog_cc_c89+:} false; then :
5111 $as_echo_n "(cached) " >&6
5112 else
5113 ac_cv_prog_cc_c89=no
5114 ac_save_CC=$CC
5115 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5116 /* end confdefs.h. */
5117 #include <stdarg.h>
5118 #include <stdio.h>
5119 struct stat;
5120 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
5121 struct buf { int x; };
5122 FILE * (*rcsopen) (struct buf *, struct stat *, int);
5123 static char *e (p, i)
5124 char **p;
5125 int i;
5127 return p[i];
5129 static char *f (char * (*g) (char **, int), char **p, ...)
5131 char *s;
5132 va_list v;
5133 va_start (v,p);
5134 s = g (p, va_arg (v,int));
5135 va_end (v);
5136 return s;
5139 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
5140 function prototypes and stuff, but not '\xHH' hex character constants.
5141 These don't provoke an error unfortunately, instead are silently treated
5142 as 'x'. The following induces an error, until -std is added to get
5143 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
5144 array size at least. It's necessary to write '\x00'==0 to get something
5145 that's true only with -std. */
5146 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
5148 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
5149 inside strings and character constants. */
5150 #define FOO(x) 'x'
5151 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
5153 int test (int i, double x);
5154 struct s1 {int (*f) (int a);};
5155 struct s2 {int (*f) (double a);};
5156 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
5157 int argc;
5158 char **argv;
5160 main ()
5162 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
5164 return 0;
5166 _ACEOF
5167 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
5168 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
5170 CC="$ac_save_CC $ac_arg"
5171 if ac_fn_c_try_compile "$LINENO"; then :
5172 ac_cv_prog_cc_c89=$ac_arg
5174 rm -f core conftest.err conftest.$ac_objext
5175 test "x$ac_cv_prog_cc_c89" != "xno" && break
5176 done
5177 rm -f conftest.$ac_ext
5178 CC=$ac_save_CC
5181 # AC_CACHE_VAL
5182 case "x$ac_cv_prog_cc_c89" in
5184 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
5185 $as_echo "none needed" >&6; } ;;
5186 xno)
5187 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
5188 $as_echo "unsupported" >&6; } ;;
5190 CC="$CC $ac_cv_prog_cc_c89"
5191 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
5192 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
5193 esac
5194 if test "x$ac_cv_prog_cc_c89" != xno; then :
5198 ac_ext=c
5199 ac_cpp='$CPP $CPPFLAGS'
5200 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5201 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5202 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5204 ac_ext=cpp
5205 ac_cpp='$CXXCPP $CPPFLAGS'
5206 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5207 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5208 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
5209 if test -z "$CXX"; then
5210 if test -n "$CCC"; then
5211 CXX=$CCC
5212 else
5213 if test -n "$ac_tool_prefix"; then
5214 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
5216 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5217 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5218 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5219 $as_echo_n "checking for $ac_word... " >&6; }
5220 if ${ac_cv_prog_CXX+:} false; then :
5221 $as_echo_n "(cached) " >&6
5222 else
5223 if test -n "$CXX"; then
5224 ac_cv_prog_CXX="$CXX" # Let the user override the test.
5225 else
5226 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5227 for as_dir in $PATH
5229 IFS=$as_save_IFS
5230 test -z "$as_dir" && as_dir=.
5231 for ac_exec_ext in '' $ac_executable_extensions; do
5232 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5233 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
5234 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5235 break 2
5237 done
5238 done
5239 IFS=$as_save_IFS
5243 CXX=$ac_cv_prog_CXX
5244 if test -n "$CXX"; then
5245 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
5246 $as_echo "$CXX" >&6; }
5247 else
5248 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5249 $as_echo "no" >&6; }
5253 test -n "$CXX" && break
5254 done
5256 if test -z "$CXX"; then
5257 ac_ct_CXX=$CXX
5258 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
5260 # Extract the first word of "$ac_prog", so it can be a program name with args.
5261 set dummy $ac_prog; ac_word=$2
5262 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5263 $as_echo_n "checking for $ac_word... " >&6; }
5264 if ${ac_cv_prog_ac_ct_CXX+:} false; then :
5265 $as_echo_n "(cached) " >&6
5266 else
5267 if test -n "$ac_ct_CXX"; then
5268 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
5269 else
5270 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5271 for as_dir in $PATH
5273 IFS=$as_save_IFS
5274 test -z "$as_dir" && as_dir=.
5275 for ac_exec_ext in '' $ac_executable_extensions; do
5276 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5277 ac_cv_prog_ac_ct_CXX="$ac_prog"
5278 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5279 break 2
5281 done
5282 done
5283 IFS=$as_save_IFS
5287 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
5288 if test -n "$ac_ct_CXX"; then
5289 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
5290 $as_echo "$ac_ct_CXX" >&6; }
5291 else
5292 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5293 $as_echo "no" >&6; }
5297 test -n "$ac_ct_CXX" && break
5298 done
5300 if test "x$ac_ct_CXX" = x; then
5301 CXX="g++"
5302 else
5303 case $cross_compiling:$ac_tool_warned in
5304 yes:)
5305 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5306 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5307 ac_tool_warned=yes ;;
5308 esac
5309 CXX=$ac_ct_CXX
5315 # Provide some information about the compiler.
5316 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
5317 set X $ac_compile
5318 ac_compiler=$2
5319 for ac_option in --version -v -V -qversion; do
5320 { { ac_try="$ac_compiler $ac_option >&5"
5321 case "(($ac_try" in
5322 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5323 *) ac_try_echo=$ac_try;;
5324 esac
5325 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5326 $as_echo "$ac_try_echo"; } >&5
5327 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
5328 ac_status=$?
5329 if test -s conftest.err; then
5330 sed '10a\
5331 ... rest of stderr output deleted ...
5332 10q' conftest.err >conftest.er1
5333 cat conftest.er1 >&5
5335 rm -f conftest.er1 conftest.err
5336 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5337 test $ac_status = 0; }
5338 done
5340 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
5341 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
5342 if ${ac_cv_cxx_compiler_gnu+:} false; then :
5343 $as_echo_n "(cached) " >&6
5344 else
5345 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5346 /* end confdefs.h. */
5349 main ()
5351 #ifndef __GNUC__
5352 choke me
5353 #endif
5356 return 0;
5358 _ACEOF
5359 if ac_fn_cxx_try_compile "$LINENO"; then :
5360 ac_compiler_gnu=yes
5361 else
5362 ac_compiler_gnu=no
5364 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5365 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
5368 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
5369 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
5370 if test $ac_compiler_gnu = yes; then
5371 GXX=yes
5372 else
5373 GXX=
5375 ac_test_CXXFLAGS=${CXXFLAGS+set}
5376 ac_save_CXXFLAGS=$CXXFLAGS
5377 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
5378 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
5379 if ${ac_cv_prog_cxx_g+:} false; then :
5380 $as_echo_n "(cached) " >&6
5381 else
5382 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
5383 ac_cxx_werror_flag=yes
5384 ac_cv_prog_cxx_g=no
5385 CXXFLAGS="-g"
5386 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5387 /* end confdefs.h. */
5390 main ()
5394 return 0;
5396 _ACEOF
5397 if ac_fn_cxx_try_compile "$LINENO"; then :
5398 ac_cv_prog_cxx_g=yes
5399 else
5400 CXXFLAGS=""
5401 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5402 /* end confdefs.h. */
5405 main ()
5409 return 0;
5411 _ACEOF
5412 if ac_fn_cxx_try_compile "$LINENO"; then :
5414 else
5415 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
5416 CXXFLAGS="-g"
5417 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5418 /* end confdefs.h. */
5421 main ()
5425 return 0;
5427 _ACEOF
5428 if ac_fn_cxx_try_compile "$LINENO"; then :
5429 ac_cv_prog_cxx_g=yes
5431 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5433 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5435 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5436 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
5438 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
5439 $as_echo "$ac_cv_prog_cxx_g" >&6; }
5440 if test "$ac_test_CXXFLAGS" = set; then
5441 CXXFLAGS=$ac_save_CXXFLAGS
5442 elif test $ac_cv_prog_cxx_g = yes; then
5443 if test "$GXX" = yes; then
5444 CXXFLAGS="-g -O2"
5445 else
5446 CXXFLAGS="-g"
5448 else
5449 if test "$GXX" = yes; then
5450 CXXFLAGS="-O2"
5451 else
5452 CXXFLAGS=
5455 ac_ext=c
5456 ac_cpp='$CPP $CPPFLAGS'
5457 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5458 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5459 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5461 if test -n "$ac_tool_prefix"; then
5462 # Extract the first word of "${ac_tool_prefix}cpp", so it can be a program name with args.
5463 set dummy ${ac_tool_prefix}cpp; ac_word=$2
5464 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5465 $as_echo_n "checking for $ac_word... " >&6; }
5466 if ${ac_cv_prog_CPPBIN+:} false; then :
5467 $as_echo_n "(cached) " >&6
5468 else
5469 if test -n "$CPPBIN"; then
5470 ac_cv_prog_CPPBIN="$CPPBIN" # Let the user override the test.
5471 else
5472 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5473 for as_dir in $PATH
5475 IFS=$as_save_IFS
5476 test -z "$as_dir" && as_dir=.
5477 for ac_exec_ext in '' $ac_executable_extensions; do
5478 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5479 ac_cv_prog_CPPBIN="${ac_tool_prefix}cpp"
5480 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5481 break 2
5483 done
5484 done
5485 IFS=$as_save_IFS
5489 CPPBIN=$ac_cv_prog_CPPBIN
5490 if test -n "$CPPBIN"; then
5491 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPPBIN" >&5
5492 $as_echo "$CPPBIN" >&6; }
5493 else
5494 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5495 $as_echo "no" >&6; }
5500 if test -z "$ac_cv_prog_CPPBIN"; then
5501 ac_ct_CPPBIN=$CPPBIN
5502 # Extract the first word of "cpp", so it can be a program name with args.
5503 set dummy cpp; ac_word=$2
5504 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5505 $as_echo_n "checking for $ac_word... " >&6; }
5506 if ${ac_cv_prog_ac_ct_CPPBIN+:} false; then :
5507 $as_echo_n "(cached) " >&6
5508 else
5509 if test -n "$ac_ct_CPPBIN"; then
5510 ac_cv_prog_ac_ct_CPPBIN="$ac_ct_CPPBIN" # Let the user override the test.
5511 else
5512 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5513 for as_dir in $PATH
5515 IFS=$as_save_IFS
5516 test -z "$as_dir" && as_dir=.
5517 for ac_exec_ext in '' $ac_executable_extensions; do
5518 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5519 ac_cv_prog_ac_ct_CPPBIN="cpp"
5520 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5521 break 2
5523 done
5524 done
5525 IFS=$as_save_IFS
5529 ac_ct_CPPBIN=$ac_cv_prog_ac_ct_CPPBIN
5530 if test -n "$ac_ct_CPPBIN"; then
5531 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CPPBIN" >&5
5532 $as_echo "$ac_ct_CPPBIN" >&6; }
5533 else
5534 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5535 $as_echo "no" >&6; }
5538 if test "x$ac_ct_CPPBIN" = x; then
5539 CPPBIN="cpp"
5540 else
5541 case $cross_compiling:$ac_tool_warned in
5542 yes:)
5543 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5544 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5545 ac_tool_warned=yes ;;
5546 esac
5547 CPPBIN=$ac_ct_CPPBIN
5549 else
5550 CPPBIN="$ac_cv_prog_CPPBIN"
5554 cat >>confdefs.h <<_ACEOF
5555 #define EXEEXT "$ac_exeext"
5556 _ACEOF
5558 if test -n "$ac_tool_prefix"; then
5559 # Extract the first word of "${ac_tool_prefix}ld", so it can be a program name with args.
5560 set dummy ${ac_tool_prefix}ld; ac_word=$2
5561 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5562 $as_echo_n "checking for $ac_word... " >&6; }
5563 if ${ac_cv_prog_LD+:} false; then :
5564 $as_echo_n "(cached) " >&6
5565 else
5566 if test -n "$LD"; then
5567 ac_cv_prog_LD="$LD" # Let the user override the test.
5568 else
5569 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5570 for as_dir in $PATH
5572 IFS=$as_save_IFS
5573 test -z "$as_dir" && as_dir=.
5574 for ac_exec_ext in '' $ac_executable_extensions; do
5575 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5576 ac_cv_prog_LD="${ac_tool_prefix}ld"
5577 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5578 break 2
5580 done
5581 done
5582 IFS=$as_save_IFS
5586 LD=$ac_cv_prog_LD
5587 if test -n "$LD"; then
5588 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
5589 $as_echo "$LD" >&6; }
5590 else
5591 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5592 $as_echo "no" >&6; }
5597 if test -z "$ac_cv_prog_LD"; then
5598 ac_ct_LD=$LD
5599 # Extract the first word of "ld", so it can be a program name with args.
5600 set dummy ld; ac_word=$2
5601 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5602 $as_echo_n "checking for $ac_word... " >&6; }
5603 if ${ac_cv_prog_ac_ct_LD+:} false; then :
5604 $as_echo_n "(cached) " >&6
5605 else
5606 if test -n "$ac_ct_LD"; then
5607 ac_cv_prog_ac_ct_LD="$ac_ct_LD" # Let the user override the test.
5608 else
5609 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5610 for as_dir in $PATH
5612 IFS=$as_save_IFS
5613 test -z "$as_dir" && as_dir=.
5614 for ac_exec_ext in '' $ac_executable_extensions; do
5615 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5616 ac_cv_prog_ac_ct_LD="ld"
5617 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5618 break 2
5620 done
5621 done
5622 IFS=$as_save_IFS
5626 ac_ct_LD=$ac_cv_prog_ac_ct_LD
5627 if test -n "$ac_ct_LD"; then
5628 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LD" >&5
5629 $as_echo "$ac_ct_LD" >&6; }
5630 else
5631 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5632 $as_echo "no" >&6; }
5635 if test "x$ac_ct_LD" = x; then
5636 LD=""
5637 else
5638 case $cross_compiling:$ac_tool_warned in
5639 yes:)
5640 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5641 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5642 ac_tool_warned=yes ;;
5643 esac
5644 LD=$ac_ct_LD
5646 else
5647 LD="$ac_cv_prog_LD"
5651 case $host in
5652 *-darwin*)
5653 with_fontconfig=${with_fontconfig:-no}
5655 *-mingw32*|*-cygwin*)
5656 enable_win16=${enable_win16:-no}
5657 with_mingw=${with_mingw:-no}
5658 CFLAGS="$CFLAGS -D_WIN32"
5660 esac
5663 case $host in
5664 x86_64*|amd64*)
5665 if test "x$enable_win64" != "xyes" -a "$cross_compiling" != "yes"
5666 then
5667 CC="$CC -m32"
5668 CXX="$CXX -m32"
5670 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC works" >&5
5671 $as_echo_n "checking whether $CC works... " >&6; }
5672 if ${wine_cv_cc_m32+:} false; then :
5673 $as_echo_n "(cached) " >&6
5674 else
5675 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5676 /* end confdefs.h. */
5679 main ()
5683 return 0;
5685 _ACEOF
5686 if ac_fn_c_try_link "$LINENO"; then :
5687 wine_cv_cc_m32=yes
5688 else
5689 wine_cv_cc_m32=no
5691 rm -f core conftest.err conftest.$ac_objext \
5692 conftest$ac_exeext conftest.$ac_ext
5694 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_cc_m32" >&5
5695 $as_echo "$wine_cv_cc_m32" >&6; }
5696 test $wine_cv_cc_m32 != no || as_fn_error $? "Cannot build a 32-bit program, you need to install 32-bit development libraries." "$LINENO" 5
5697 host_cpu="i386"
5698 notice_platform="32-bit "
5699 TARGETFLAGS="$TARGETFLAGS -m32"
5700 PKG_CONFIG_PATH=${PKG_CONFIG_PATH:-/usr/lib/i386-linux-gnu/pkgconfig:/usr/lib32/pkgconfig:/usr/lib/pkgconfig}
5701 export PKG_CONFIG_PATH
5702 enable_win16=${enable_win16:-yes}
5703 with_unwind=${with_unwind:-no}
5704 else
5705 if test "x${GCC}" = "xyes"
5706 then
5707 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports __builtin_ms_va_list" >&5
5708 $as_echo_n "checking whether $CC supports __builtin_ms_va_list... " >&6; }
5709 if ${wine_cv_builtin_ms_va_list+:} false; then :
5710 $as_echo_n "(cached) " >&6
5711 else
5712 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5713 /* end confdefs.h. */
5714 #include <stdarg.h>
5716 main ()
5718 void func(__builtin_ms_va_list *args);
5720 return 0;
5722 _ACEOF
5723 if ac_fn_c_try_compile "$LINENO"; then :
5724 wine_cv_builtin_ms_va_list=yes
5725 else
5726 wine_cv_builtin_ms_va_list=no
5728 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5730 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_builtin_ms_va_list" >&5
5731 $as_echo "$wine_cv_builtin_ms_va_list" >&6; }
5732 test $wine_cv_builtin_ms_va_list != no || as_fn_error $? "You need gcc >= 4.4 or clang >= 3.8 to build Wine as 64-bit." "$LINENO" 5
5734 CC="$CC -m64"
5735 CXX="$CXX -m64"
5736 host_cpu="x86_64"
5737 notice_platform="64-bit "
5738 TARGETFLAGS="$TARGETFLAGS -m64"
5739 enable_wow64cpu=${enable_wow64cpu:-yes}
5742 arm*)
5743 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports Thumb-2" >&5
5744 $as_echo_n "checking whether $CC supports Thumb-2... " >&6; }
5745 if ${wine_cv_thumb2+:} false; then :
5746 $as_echo_n "(cached) " >&6
5747 else
5748 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5749 /* end confdefs.h. */
5752 main ()
5754 asm(".syntax unified\n\t.thumb\n\tldm r0,{r0-r8}");
5756 return 0;
5758 _ACEOF
5759 if ac_fn_c_try_link "$LINENO"; then :
5760 wine_cv_thumb2=yes
5761 else
5762 wine_cv_thumb2=no
5764 rm -f core conftest.err conftest.$ac_objext \
5765 conftest$ac_exeext conftest.$ac_ext
5767 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_thumb2" >&5
5768 $as_echo "$wine_cv_thumb2" >&6; }
5769 if test x"$wine_cv_thumb2" = xyes
5770 then
5771 CFLAGS="$CFLAGS -mthumb"
5772 TARGETFLAGS="$TARGETFLAGS -mthumb"
5773 else
5774 CFLAGS="$CFLAGS -marm"
5775 TARGETFLAGS="$TARGETFLAGS -marm"
5777 case $with_float_abi in
5778 soft|softfp|hard)
5779 float_abi=$with_float_abi ;;
5781 case $host_os in
5782 *eabihf)
5783 float_abi=hard ;;
5785 float_abi=softfp
5786 saved_CFLAGS=$CFLAGS
5787 CFLAGS="$CFLAGS -mfloat-abi=$float_abi"
5788 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -mfloat-abi=$float_abi" >&5
5789 $as_echo_n "checking whether $CC supports -mfloat-abi=$float_abi... " >&6; }
5790 if ${wine_cv_float_abi+:} false; then :
5791 $as_echo_n "(cached) " >&6
5792 else
5793 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5794 /* end confdefs.h. */
5797 main ()
5799 asm("vmrs r2,fpscr");
5801 return 0;
5803 _ACEOF
5804 if ac_fn_c_try_link "$LINENO"; then :
5805 wine_cv_float_abi=yes
5806 else
5807 wine_cv_float_abi=no
5809 rm -f core conftest.err conftest.$ac_objext \
5810 conftest$ac_exeext conftest.$ac_ext
5812 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_float_abi" >&5
5813 $as_echo "$wine_cv_float_abi" >&6; }
5814 if test $wine_cv_float_abi = no
5815 then
5816 float_abi=soft
5817 as_fn_append wine_warnings "|Floating point is not supported for this target. The resulting build won't be compatible with Windows ARM binaries."
5819 CFLAGS=$saved_CFLAGS
5820 esac
5822 esac
5823 CFLAGS="$CFLAGS -mfloat-abi=$float_abi"
5824 TARGETFLAGS="$TARGETFLAGS -mfloat-abi=$float_abi"
5826 aarch64*)
5827 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports __builtin_ms_va_list" >&5
5828 $as_echo_n "checking whether $CC supports __builtin_ms_va_list... " >&6; }
5829 if ${wine_cv_builtin_ms_va_list+:} false; then :
5830 $as_echo_n "(cached) " >&6
5831 else
5832 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5833 /* end confdefs.h. */
5834 #include <stdarg.h>
5836 main ()
5838 void func(__builtin_ms_va_list *args);
5840 return 0;
5842 _ACEOF
5843 if ac_fn_c_try_compile "$LINENO"; then :
5844 wine_cv_builtin_ms_va_list=yes
5845 else
5846 wine_cv_builtin_ms_va_list=no
5848 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5850 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_builtin_ms_va_list" >&5
5851 $as_echo "$wine_cv_builtin_ms_va_list" >&6; }
5852 test $wine_cv_builtin_ms_va_list != no || as_fn_error $? "You need clang >= 5.0 to build Wine for arm64." "$LINENO" 5
5854 i[3456789]86*)
5855 enable_win16=${enable_win16:-yes}
5856 with_unwind=${with_unwind:-no}
5858 esac
5860 enable_win16=${enable_win16:-no}
5861 enable_win64=${enable_win64:-no}
5862 enable_wow64cpu=${enable_wow64cpu:-no}
5864 enable_winetest=${enable_winetest:-$enable_tests}
5866 if test "x$enable_win64" = "xyes"
5867 then
5868 test -z "$with_wine64" || as_fn_error $? "--enable-win64 and --with-wine64 are mutually exclusive.
5869 --enable-win64 should be used in the 64-bit build tree, --with-wine64 in the 32-bit Wow64 build tree." "$LINENO" 5
5870 test "x$libdir" != "x\${exec_prefix}/lib" || libdir="\${exec_prefix}/lib64"
5873 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the directory containing the Wine tools" >&5
5874 $as_echo_n "checking for the directory containing the Wine tools... " >&6; }
5875 if ${wine_cv_toolsdir+:} false; then :
5876 $as_echo_n "(cached) " >&6
5877 else
5878 wine_cv_toolsdir="$with_wine_tools"
5879 if test -z "$with_wine_tools"; then
5880 if test "$cross_compiling" = "yes"; then
5881 as_fn_error $? "you must use the --with-wine-tools option when cross-compiling." "$LINENO" 5
5882 elif test -n "$with_wine64"; then
5883 wine_cv_toolsdir="$with_wine64"
5887 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_toolsdir" >&5
5888 $as_echo "$wine_cv_toolsdir" >&6; }
5889 if test -z "$wine_cv_toolsdir"; then
5890 wine_makedep=tools/makedep
5891 TOOLSDIR="."
5893 elif test -d "$wine_cv_toolsdir/tools/winebuild"; then
5894 wine_makedep=$wine_cv_toolsdir/tools/makedep
5895 TOOLSDIR=$wine_cv_toolsdir
5897 enable_tools=${enable_tools:-no}
5898 test -f "$wine_makedep" || as_fn_error $? "the Wine tools have not yet been built in $wine_cv_toolsdir" "$LINENO" 5
5899 else
5900 as_fn_error $? "could not find Wine tools in $wine_cv_toolsdir" "$LINENO" 5
5902 if test -n "$host_alias" -a "$host_alias" != "$build_alias"
5903 then
5904 TARGETFLAGS="-b $host_alias $TARGETFLAGS"
5907 for ac_prog in flex
5909 # Extract the first word of "$ac_prog", so it can be a program name with args.
5910 set dummy $ac_prog; ac_word=$2
5911 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5912 $as_echo_n "checking for $ac_word... " >&6; }
5913 if ${ac_cv_prog_FLEX+:} false; then :
5914 $as_echo_n "(cached) " >&6
5915 else
5916 if test -n "$FLEX"; then
5917 ac_cv_prog_FLEX="$FLEX" # Let the user override the test.
5918 else
5919 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5920 for as_dir in $PATH
5922 IFS=$as_save_IFS
5923 test -z "$as_dir" && as_dir=.
5924 for ac_exec_ext in '' $ac_executable_extensions; do
5925 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5926 ac_cv_prog_FLEX="$ac_prog"
5927 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5928 break 2
5930 done
5931 done
5932 IFS=$as_save_IFS
5936 FLEX=$ac_cv_prog_FLEX
5937 if test -n "$FLEX"; then
5938 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FLEX" >&5
5939 $as_echo "$FLEX" >&6; }
5940 else
5941 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5942 $as_echo "no" >&6; }
5946 test -n "$FLEX" && break
5947 done
5948 test -n "$FLEX" || FLEX="none"
5950 if test "$FLEX" = "none"
5951 then
5952 as_fn_error $? "no suitable flex found. Please install the 'flex' package." "$LINENO" 5
5954 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether flex is recent enough" >&5
5955 $as_echo_n "checking whether flex is recent enough... " >&6; }
5956 if ${wine_cv_recent_flex+:} false; then :
5957 $as_echo_n "(cached) " >&6
5958 else
5959 cat >conftest.l <<EOF
5960 %top{
5961 #include "prediluvian.h"
5965 if $FLEX -t conftest.l >/dev/null 2>&5
5966 then
5967 wine_cv_recent_flex=yes
5968 else
5969 wine_cv_recent_flex=no
5972 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_recent_flex" >&5
5973 $as_echo "$wine_cv_recent_flex" >&6; }
5974 test $wine_cv_recent_flex != no || as_fn_error $? "Your flex version is too old. Please install flex version 2.5.33 or newer." "$LINENO" 5
5976 for ac_prog in bison
5978 # Extract the first word of "$ac_prog", so it can be a program name with args.
5979 set dummy $ac_prog; ac_word=$2
5980 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5981 $as_echo_n "checking for $ac_word... " >&6; }
5982 if ${ac_cv_prog_BISON+:} false; then :
5983 $as_echo_n "(cached) " >&6
5984 else
5985 if test -n "$BISON"; then
5986 ac_cv_prog_BISON="$BISON" # Let the user override the test.
5987 else
5988 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5989 for as_dir in $PATH
5991 IFS=$as_save_IFS
5992 test -z "$as_dir" && as_dir=.
5993 for ac_exec_ext in '' $ac_executable_extensions; do
5994 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5995 ac_cv_prog_BISON="$ac_prog"
5996 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5997 break 2
5999 done
6000 done
6001 IFS=$as_save_IFS
6005 BISON=$ac_cv_prog_BISON
6006 if test -n "$BISON"; then
6007 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BISON" >&5
6008 $as_echo "$BISON" >&6; }
6009 else
6010 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6011 $as_echo "no" >&6; }
6015 test -n "$BISON" && break
6016 done
6017 test -n "$BISON" || BISON="none"
6019 if test "$BISON" = "none"
6020 then
6021 as_fn_error $? "no suitable bison found. Please install the 'bison' package." "$LINENO" 5
6023 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether bison is recent enough" >&5
6024 $as_echo_n "checking whether bison is recent enough... " >&6; }
6025 if ${wine_cv_recent_bison+:} false; then :
6026 $as_echo_n "(cached) " >&6
6027 else
6028 cat >conftest.y <<EOF
6029 %define parse.error verbose
6031 empty: ;
6033 if $BISON conftest.y >/dev/null 2>&5
6034 then
6035 wine_cv_recent_bison=yes
6036 else
6037 wine_cv_recent_bison=no
6040 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_recent_bison" >&5
6041 $as_echo "$wine_cv_recent_bison" >&6; }
6042 test $wine_cv_recent_bison != no || as_fn_error $? "Your bison version is too old. Please install bison version 3.0 or newer." "$LINENO" 5
6044 if test -n "$ac_tool_prefix"; then
6045 for ac_prog in ar gar
6047 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
6048 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
6049 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6050 $as_echo_n "checking for $ac_word... " >&6; }
6051 if ${ac_cv_prog_AR+:} false; then :
6052 $as_echo_n "(cached) " >&6
6053 else
6054 if test -n "$AR"; then
6055 ac_cv_prog_AR="$AR" # Let the user override the test.
6056 else
6057 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6058 for as_dir in $PATH
6060 IFS=$as_save_IFS
6061 test -z "$as_dir" && as_dir=.
6062 for ac_exec_ext in '' $ac_executable_extensions; do
6063 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6064 ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
6065 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6066 break 2
6068 done
6069 done
6070 IFS=$as_save_IFS
6074 AR=$ac_cv_prog_AR
6075 if test -n "$AR"; then
6076 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
6077 $as_echo "$AR" >&6; }
6078 else
6079 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6080 $as_echo "no" >&6; }
6084 test -n "$AR" && break
6085 done
6087 if test -z "$AR"; then
6088 ac_ct_AR=$AR
6089 for ac_prog in ar gar
6091 # Extract the first word of "$ac_prog", so it can be a program name with args.
6092 set dummy $ac_prog; ac_word=$2
6093 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6094 $as_echo_n "checking for $ac_word... " >&6; }
6095 if ${ac_cv_prog_ac_ct_AR+:} false; then :
6096 $as_echo_n "(cached) " >&6
6097 else
6098 if test -n "$ac_ct_AR"; then
6099 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
6100 else
6101 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6102 for as_dir in $PATH
6104 IFS=$as_save_IFS
6105 test -z "$as_dir" && as_dir=.
6106 for ac_exec_ext in '' $ac_executable_extensions; do
6107 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6108 ac_cv_prog_ac_ct_AR="$ac_prog"
6109 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6110 break 2
6112 done
6113 done
6114 IFS=$as_save_IFS
6118 ac_ct_AR=$ac_cv_prog_ac_ct_AR
6119 if test -n "$ac_ct_AR"; then
6120 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
6121 $as_echo "$ac_ct_AR" >&6; }
6122 else
6123 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6124 $as_echo "no" >&6; }
6128 test -n "$ac_ct_AR" && break
6129 done
6131 if test "x$ac_ct_AR" = x; then
6132 AR="ar"
6133 else
6134 case $cross_compiling:$ac_tool_warned in
6135 yes:)
6136 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6137 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6138 ac_tool_warned=yes ;;
6139 esac
6140 AR=$ac_ct_AR
6144 if test -n "$ac_tool_prefix"; then
6145 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
6146 set dummy ${ac_tool_prefix}strip; ac_word=$2
6147 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6148 $as_echo_n "checking for $ac_word... " >&6; }
6149 if ${ac_cv_prog_STRIP+:} false; then :
6150 $as_echo_n "(cached) " >&6
6151 else
6152 if test -n "$STRIP"; then
6153 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
6154 else
6155 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6156 for as_dir in $PATH
6158 IFS=$as_save_IFS
6159 test -z "$as_dir" && as_dir=.
6160 for ac_exec_ext in '' $ac_executable_extensions; do
6161 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6162 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
6163 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6164 break 2
6166 done
6167 done
6168 IFS=$as_save_IFS
6172 STRIP=$ac_cv_prog_STRIP
6173 if test -n "$STRIP"; then
6174 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
6175 $as_echo "$STRIP" >&6; }
6176 else
6177 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6178 $as_echo "no" >&6; }
6183 if test -z "$ac_cv_prog_STRIP"; then
6184 ac_ct_STRIP=$STRIP
6185 # Extract the first word of "strip", so it can be a program name with args.
6186 set dummy strip; ac_word=$2
6187 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6188 $as_echo_n "checking for $ac_word... " >&6; }
6189 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
6190 $as_echo_n "(cached) " >&6
6191 else
6192 if test -n "$ac_ct_STRIP"; then
6193 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
6194 else
6195 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6196 for as_dir in $PATH
6198 IFS=$as_save_IFS
6199 test -z "$as_dir" && as_dir=.
6200 for ac_exec_ext in '' $ac_executable_extensions; do
6201 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6202 ac_cv_prog_ac_ct_STRIP="strip"
6203 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6204 break 2
6206 done
6207 done
6208 IFS=$as_save_IFS
6212 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
6213 if test -n "$ac_ct_STRIP"; then
6214 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
6215 $as_echo "$ac_ct_STRIP" >&6; }
6216 else
6217 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6218 $as_echo "no" >&6; }
6221 if test "x$ac_ct_STRIP" = x; then
6222 STRIP="strip"
6223 else
6224 case $cross_compiling:$ac_tool_warned in
6225 yes:)
6226 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6227 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6228 ac_tool_warned=yes ;;
6229 esac
6230 STRIP=$ac_ct_STRIP
6232 else
6233 STRIP="$ac_cv_prog_STRIP"
6236 if test -n "$ac_tool_prefix"; then
6237 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
6238 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6239 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6240 $as_echo_n "checking for $ac_word... " >&6; }
6241 if ${ac_cv_prog_RANLIB+:} false; then :
6242 $as_echo_n "(cached) " >&6
6243 else
6244 if test -n "$RANLIB"; then
6245 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
6246 else
6247 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6248 for as_dir in $PATH
6250 IFS=$as_save_IFS
6251 test -z "$as_dir" && as_dir=.
6252 for ac_exec_ext in '' $ac_executable_extensions; do
6253 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6254 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
6255 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6256 break 2
6258 done
6259 done
6260 IFS=$as_save_IFS
6264 RANLIB=$ac_cv_prog_RANLIB
6265 if test -n "$RANLIB"; then
6266 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
6267 $as_echo "$RANLIB" >&6; }
6268 else
6269 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6270 $as_echo "no" >&6; }
6275 if test -z "$ac_cv_prog_RANLIB"; then
6276 ac_ct_RANLIB=$RANLIB
6277 # Extract the first word of "ranlib", so it can be a program name with args.
6278 set dummy ranlib; ac_word=$2
6279 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6280 $as_echo_n "checking for $ac_word... " >&6; }
6281 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
6282 $as_echo_n "(cached) " >&6
6283 else
6284 if test -n "$ac_ct_RANLIB"; then
6285 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
6286 else
6287 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6288 for as_dir in $PATH
6290 IFS=$as_save_IFS
6291 test -z "$as_dir" && as_dir=.
6292 for ac_exec_ext in '' $ac_executable_extensions; do
6293 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6294 ac_cv_prog_ac_ct_RANLIB="ranlib"
6295 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6296 break 2
6298 done
6299 done
6300 IFS=$as_save_IFS
6304 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
6305 if test -n "$ac_ct_RANLIB"; then
6306 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
6307 $as_echo "$ac_ct_RANLIB" >&6; }
6308 else
6309 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6310 $as_echo "no" >&6; }
6313 if test "x$ac_ct_RANLIB" = x; then
6314 RANLIB=":"
6315 else
6316 case $cross_compiling:$ac_tool_warned in
6317 yes:)
6318 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6319 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6320 ac_tool_warned=yes ;;
6321 esac
6322 RANLIB=$ac_ct_RANLIB
6324 else
6325 RANLIB="$ac_cv_prog_RANLIB"
6328 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
6329 $as_echo_n "checking whether ln -s works... " >&6; }
6330 LN_S=$as_ln_s
6331 if test "$LN_S" = "ln -s"; then
6332 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6333 $as_echo "yes" >&6; }
6334 else
6335 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
6336 $as_echo "no, using $LN_S" >&6; }
6339 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
6340 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
6341 if ${ac_cv_path_GREP+:} false; then :
6342 $as_echo_n "(cached) " >&6
6343 else
6344 if test -z "$GREP"; then
6345 ac_path_GREP_found=false
6346 # Loop through the user's path and test for each of PROGNAME-LIST
6347 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6348 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
6350 IFS=$as_save_IFS
6351 test -z "$as_dir" && as_dir=.
6352 for ac_prog in grep ggrep; do
6353 for ac_exec_ext in '' $ac_executable_extensions; do
6354 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
6355 as_fn_executable_p "$ac_path_GREP" || continue
6356 # Check for GNU ac_path_GREP and select it if it is found.
6357 # Check for GNU $ac_path_GREP
6358 case `"$ac_path_GREP" --version 2>&1` in
6359 *GNU*)
6360 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
6362 ac_count=0
6363 $as_echo_n 0123456789 >"conftest.in"
6364 while :
6366 cat "conftest.in" "conftest.in" >"conftest.tmp"
6367 mv "conftest.tmp" "conftest.in"
6368 cp "conftest.in" "conftest.nl"
6369 $as_echo 'GREP' >> "conftest.nl"
6370 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
6371 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
6372 as_fn_arith $ac_count + 1 && ac_count=$as_val
6373 if test $ac_count -gt ${ac_path_GREP_max-0}; then
6374 # Best one so far, save it but keep looking for a better one
6375 ac_cv_path_GREP="$ac_path_GREP"
6376 ac_path_GREP_max=$ac_count
6378 # 10*(2^10) chars as input seems more than enough
6379 test $ac_count -gt 10 && break
6380 done
6381 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
6382 esac
6384 $ac_path_GREP_found && break 3
6385 done
6386 done
6387 done
6388 IFS=$as_save_IFS
6389 if test -z "$ac_cv_path_GREP"; then
6390 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
6392 else
6393 ac_cv_path_GREP=$GREP
6397 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
6398 $as_echo "$ac_cv_path_GREP" >&6; }
6399 GREP="$ac_cv_path_GREP"
6402 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
6403 $as_echo_n "checking for egrep... " >&6; }
6404 if ${ac_cv_path_EGREP+:} false; then :
6405 $as_echo_n "(cached) " >&6
6406 else
6407 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
6408 then ac_cv_path_EGREP="$GREP -E"
6409 else
6410 if test -z "$EGREP"; then
6411 ac_path_EGREP_found=false
6412 # Loop through the user's path and test for each of PROGNAME-LIST
6413 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6414 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
6416 IFS=$as_save_IFS
6417 test -z "$as_dir" && as_dir=.
6418 for ac_prog in egrep; do
6419 for ac_exec_ext in '' $ac_executable_extensions; do
6420 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
6421 as_fn_executable_p "$ac_path_EGREP" || continue
6422 # Check for GNU ac_path_EGREP and select it if it is found.
6423 # Check for GNU $ac_path_EGREP
6424 case `"$ac_path_EGREP" --version 2>&1` in
6425 *GNU*)
6426 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
6428 ac_count=0
6429 $as_echo_n 0123456789 >"conftest.in"
6430 while :
6432 cat "conftest.in" "conftest.in" >"conftest.tmp"
6433 mv "conftest.tmp" "conftest.in"
6434 cp "conftest.in" "conftest.nl"
6435 $as_echo 'EGREP' >> "conftest.nl"
6436 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
6437 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
6438 as_fn_arith $ac_count + 1 && ac_count=$as_val
6439 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
6440 # Best one so far, save it but keep looking for a better one
6441 ac_cv_path_EGREP="$ac_path_EGREP"
6442 ac_path_EGREP_max=$ac_count
6444 # 10*(2^10) chars as input seems more than enough
6445 test $ac_count -gt 10 && break
6446 done
6447 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
6448 esac
6450 $ac_path_EGREP_found && break 3
6451 done
6452 done
6453 done
6454 IFS=$as_save_IFS
6455 if test -z "$ac_cv_path_EGREP"; then
6456 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
6458 else
6459 ac_cv_path_EGREP=$EGREP
6464 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
6465 $as_echo "$ac_cv_path_EGREP" >&6; }
6466 EGREP="$ac_cv_path_EGREP"
6469 # Extract the first word of "ldconfig", so it can be a program name with args.
6470 set dummy ldconfig; ac_word=$2
6471 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6472 $as_echo_n "checking for $ac_word... " >&6; }
6473 if ${ac_cv_path_LDCONFIG+:} false; then :
6474 $as_echo_n "(cached) " >&6
6475 else
6476 case $LDCONFIG in
6477 [\\/]* | ?:[\\/]*)
6478 ac_cv_path_LDCONFIG="$LDCONFIG" # Let the user override the test with a path.
6481 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6482 for as_dir in /sbin /usr/sbin $PATH
6484 IFS=$as_save_IFS
6485 test -z "$as_dir" && as_dir=.
6486 for ac_exec_ext in '' $ac_executable_extensions; do
6487 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6488 ac_cv_path_LDCONFIG="$as_dir/$ac_word$ac_exec_ext"
6489 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6490 break 2
6492 done
6493 done
6494 IFS=$as_save_IFS
6496 test -z "$ac_cv_path_LDCONFIG" && ac_cv_path_LDCONFIG="true"
6498 esac
6500 LDCONFIG=$ac_cv_path_LDCONFIG
6501 if test -n "$LDCONFIG"; then
6502 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDCONFIG" >&5
6503 $as_echo "$LDCONFIG" >&6; }
6504 else
6505 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6506 $as_echo "no" >&6; }
6510 for ac_prog in msgfmt
6512 # Extract the first word of "$ac_prog", so it can be a program name with args.
6513 set dummy $ac_prog; ac_word=$2
6514 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6515 $as_echo_n "checking for $ac_word... " >&6; }
6516 if ${ac_cv_prog_MSGFMT+:} false; then :
6517 $as_echo_n "(cached) " >&6
6518 else
6519 if test -n "$MSGFMT"; then
6520 ac_cv_prog_MSGFMT="$MSGFMT" # Let the user override the test.
6521 else
6522 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6523 for as_dir in $PATH
6525 IFS=$as_save_IFS
6526 test -z "$as_dir" && as_dir=.
6527 for ac_exec_ext in '' $ac_executable_extensions; do
6528 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6529 ac_cv_prog_MSGFMT="$ac_prog"
6530 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6531 break 2
6533 done
6534 done
6535 IFS=$as_save_IFS
6539 MSGFMT=$ac_cv_prog_MSGFMT
6540 if test -n "$MSGFMT"; then
6541 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
6542 $as_echo "$MSGFMT" >&6; }
6543 else
6544 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6545 $as_echo "no" >&6; }
6549 test -n "$MSGFMT" && break
6550 done
6551 test -n "$MSGFMT" || MSGFMT="false"
6553 if ${ac_tool_prefix+:} false; then :
6554 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
6555 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
6556 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6557 $as_echo_n "checking for $ac_word... " >&6; }
6558 if ${ac_cv_prog_PKG_CONFIG+:} false; then :
6559 $as_echo_n "(cached) " >&6
6560 else
6561 if test -n "$PKG_CONFIG"; then
6562 ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
6563 else
6564 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6565 for as_dir in $PATH
6567 IFS=$as_save_IFS
6568 test -z "$as_dir" && as_dir=.
6569 for ac_exec_ext in '' $ac_executable_extensions; do
6570 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6571 ac_cv_prog_PKG_CONFIG="${ac_tool_prefix}pkg-config"
6572 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6573 break 2
6575 done
6576 done
6577 IFS=$as_save_IFS
6581 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
6582 if test -n "$PKG_CONFIG"; then
6583 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
6584 $as_echo "$PKG_CONFIG" >&6; }
6585 else
6586 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6587 $as_echo "no" >&6; }
6592 if ${ac_cv_prog_PKG_CONFIG:+false} :; then :
6593 if test "x$cross_compiling" = xyes; then :
6595 else
6596 { ac_cv_prog_PKG_CONFIG=; unset ac_cv_prog_PKG_CONFIG;}
6597 # Extract the first word of "pkg-config", so it can be a program name with args.
6598 set dummy pkg-config; ac_word=$2
6599 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6600 $as_echo_n "checking for $ac_word... " >&6; }
6601 if ${ac_cv_prog_PKG_CONFIG+:} false; then :
6602 $as_echo_n "(cached) " >&6
6603 else
6604 if test -n "$PKG_CONFIG"; then
6605 ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
6606 else
6607 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6608 for as_dir in $PATH
6610 IFS=$as_save_IFS
6611 test -z "$as_dir" && as_dir=.
6612 for ac_exec_ext in '' $ac_executable_extensions; do
6613 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6614 ac_cv_prog_PKG_CONFIG="pkg-config"
6615 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6616 break 2
6618 done
6619 done
6620 IFS=$as_save_IFS
6624 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
6625 if test -n "$PKG_CONFIG"; then
6626 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
6627 $as_echo "$PKG_CONFIG" >&6; }
6628 else
6629 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6630 $as_echo "no" >&6; }
6635 else
6636 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
6639 if test "x$enable_maintainer_mode" != "xyes"
6640 then
6641 FONTFORGE=""
6642 RSVG=""
6643 CONVERT=""
6644 ICOTOOL=""
6645 else
6646 test "$srcdir" = . || as_fn_error $? "Maintainer mode cannot work out of tree." "$LINENO" 5
6647 for ac_prog in fontforge
6649 # Extract the first word of "$ac_prog", so it can be a program name with args.
6650 set dummy $ac_prog; ac_word=$2
6651 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6652 $as_echo_n "checking for $ac_word... " >&6; }
6653 if ${ac_cv_prog_FONTFORGE+:} false; then :
6654 $as_echo_n "(cached) " >&6
6655 else
6656 if test -n "$FONTFORGE"; then
6657 ac_cv_prog_FONTFORGE="$FONTFORGE" # Let the user override the test.
6658 else
6659 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6660 for as_dir in $PATH
6662 IFS=$as_save_IFS
6663 test -z "$as_dir" && as_dir=.
6664 for ac_exec_ext in '' $ac_executable_extensions; do
6665 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6666 ac_cv_prog_FONTFORGE="$ac_prog"
6667 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6668 break 2
6670 done
6671 done
6672 IFS=$as_save_IFS
6676 FONTFORGE=$ac_cv_prog_FONTFORGE
6677 if test -n "$FONTFORGE"; then
6678 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FONTFORGE" >&5
6679 $as_echo "$FONTFORGE" >&6; }
6680 else
6681 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6682 $as_echo "no" >&6; }
6686 test -n "$FONTFORGE" && break
6687 done
6688 test -n "$FONTFORGE" || FONTFORGE="false"
6690 for ac_prog in rsvg-convert rsvg
6692 # Extract the first word of "$ac_prog", so it can be a program name with args.
6693 set dummy $ac_prog; ac_word=$2
6694 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6695 $as_echo_n "checking for $ac_word... " >&6; }
6696 if ${ac_cv_prog_RSVG+:} false; then :
6697 $as_echo_n "(cached) " >&6
6698 else
6699 if test -n "$RSVG"; then
6700 ac_cv_prog_RSVG="$RSVG" # Let the user override the test.
6701 else
6702 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6703 for as_dir in $PATH
6705 IFS=$as_save_IFS
6706 test -z "$as_dir" && as_dir=.
6707 for ac_exec_ext in '' $ac_executable_extensions; do
6708 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6709 ac_cv_prog_RSVG="$ac_prog"
6710 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6711 break 2
6713 done
6714 done
6715 IFS=$as_save_IFS
6719 RSVG=$ac_cv_prog_RSVG
6720 if test -n "$RSVG"; then
6721 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RSVG" >&5
6722 $as_echo "$RSVG" >&6; }
6723 else
6724 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6725 $as_echo "no" >&6; }
6729 test -n "$RSVG" && break
6730 done
6731 test -n "$RSVG" || RSVG="false"
6733 for ac_prog in convert
6735 # Extract the first word of "$ac_prog", so it can be a program name with args.
6736 set dummy $ac_prog; ac_word=$2
6737 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6738 $as_echo_n "checking for $ac_word... " >&6; }
6739 if ${ac_cv_prog_CONVERT+:} false; then :
6740 $as_echo_n "(cached) " >&6
6741 else
6742 if test -n "$CONVERT"; then
6743 ac_cv_prog_CONVERT="$CONVERT" # Let the user override the test.
6744 else
6745 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6746 for as_dir in $PATH
6748 IFS=$as_save_IFS
6749 test -z "$as_dir" && as_dir=.
6750 for ac_exec_ext in '' $ac_executable_extensions; do
6751 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6752 ac_cv_prog_CONVERT="$ac_prog"
6753 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6754 break 2
6756 done
6757 done
6758 IFS=$as_save_IFS
6762 CONVERT=$ac_cv_prog_CONVERT
6763 if test -n "$CONVERT"; then
6764 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CONVERT" >&5
6765 $as_echo "$CONVERT" >&6; }
6766 else
6767 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6768 $as_echo "no" >&6; }
6772 test -n "$CONVERT" && break
6773 done
6774 test -n "$CONVERT" || CONVERT="false"
6776 for ac_prog in icotool
6778 # Extract the first word of "$ac_prog", so it can be a program name with args.
6779 set dummy $ac_prog; ac_word=$2
6780 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6781 $as_echo_n "checking for $ac_word... " >&6; }
6782 if ${ac_cv_prog_ICOTOOL+:} false; then :
6783 $as_echo_n "(cached) " >&6
6784 else
6785 if test -n "$ICOTOOL"; then
6786 ac_cv_prog_ICOTOOL="$ICOTOOL" # Let the user override the test.
6787 else
6788 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6789 for as_dir in $PATH
6791 IFS=$as_save_IFS
6792 test -z "$as_dir" && as_dir=.
6793 for ac_exec_ext in '' $ac_executable_extensions; do
6794 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6795 ac_cv_prog_ICOTOOL="$ac_prog"
6796 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6797 break 2
6799 done
6800 done
6801 IFS=$as_save_IFS
6805 ICOTOOL=$ac_cv_prog_ICOTOOL
6806 if test -n "$ICOTOOL"; then
6807 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ICOTOOL" >&5
6808 $as_echo "$ICOTOOL" >&6; }
6809 else
6810 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6811 $as_echo "no" >&6; }
6815 test -n "$ICOTOOL" && break
6816 done
6817 test -n "$ICOTOOL" || ICOTOOL="false"
6819 test "$FONTFORGE" != "false" || as_fn_error $? "You need fontforge to rebuild fonts in maintainer mode." "$LINENO" 5
6820 test "$RSVG" != "false" || as_fn_error $? "You need rsvg to rebuild icons in maintainer mode." "$LINENO" 5
6822 if test "$CONVERT" = false
6823 then
6824 as_fn_error $? "You need imagemagick to rebuild icons in maintainer mode." "$LINENO" 5
6825 else
6826 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for recent enough imagemagick" >&5
6827 $as_echo_n "checking for recent enough imagemagick... " >&6; }
6828 convert_version=`convert --version | head -n1`
6829 if test "x$convert_version" != "x"
6830 then
6831 convert_version_major=`expr "$convert_version" : '.* \([0-9]*\)\.[0-9]*'`
6832 convert_version_minor=`expr "$convert_version" : '.* [0-9]*\.\([0-9]*\)'`
6833 if test "$convert_version_major" -eq 6 -a "$convert_version_minor" -lt 6
6834 then
6835 CONVERT=false
6838 if test "$CONVERT" = false
6839 then
6840 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no ($convert_version_major.$convert_version_minor)" >&5
6841 $as_echo "no ($convert_version_major.$convert_version_minor)" >&6; }
6842 as_fn_error $? "You need imagemagick version 6.6 or newer to rebuild icons in maintainer mode." "$LINENO" 5
6843 else
6844 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($convert_version_major.$convert_version_minor)" >&5
6845 $as_echo "yes ($convert_version_major.$convert_version_minor)" >&6; }
6849 if test "$ICOTOOL" = false
6850 then
6851 as_fn_error $? "You need icotool to rebuild icons in maintainer mode." "$LINENO" 5
6852 else
6853 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for recent enough icotool" >&5
6854 $as_echo_n "checking for recent enough icotool... " >&6; }
6855 icotool_version=`icotool --version | head -n1`
6856 if test "x$icotool_version" != "x"
6857 then
6858 icotool_version_major=`expr "$icotool_version" : '.* \([0-9]*\)\.[0-9]*'`
6859 icotool_version_minor=`expr "$icotool_version" : '.* [0-9]*\.\([0-9]*\)'`
6860 if test "$icotool_version_major" -eq 0 -a "$icotool_version_minor" -lt 29
6861 then
6862 ICOTOOL=false
6863 as_fn_append wine_warnings "|icotool version 0.29.0 or newer is needed to rebuild icons."
6866 if test "$ICOTOOL" = false
6867 then
6868 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no ($icotool_version_major.$icotool_version_minor)" >&5
6869 $as_echo "no ($icotool_version_major.$icotool_version_minor)" >&6; }
6870 as_fn_error $? "You need icotool version 0.29.0 or newer to rebuild icons in maintainer mode." "$LINENO" 5
6871 else
6872 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($icotool_version_major.$icotool_version_minor)" >&5
6873 $as_echo "yes ($icotool_version_major.$icotool_version_minor)" >&6; }
6877 with_gettext=yes
6878 with_gettextpo=yes
6880 enable_werror=yes
6883 test "x$with_gettext" != xno || MSGFMT=false
6884 if test "$MSGFMT" != "false"
6885 then
6886 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether msgfmt supports contexts" >&5
6887 $as_echo_n "checking whether msgfmt supports contexts... " >&6; }
6888 if ${wine_cv_msgfmt_contexts+:} false; then :
6889 $as_echo_n "(cached) " >&6
6890 else
6891 cat >conftest.po <<EOF
6892 # comment
6893 msgctxt "ctxt"
6894 msgid "id"
6895 msgstr "str"
6897 if $MSGFMT -o /dev/null conftest.po 2>&5
6898 then
6899 wine_cv_msgfmt_contexts=yes
6900 else
6901 wine_cv_msgfmt_contexts=no
6904 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_msgfmt_contexts" >&5
6905 $as_echo "$wine_cv_msgfmt_contexts" >&6; }
6906 test $wine_cv_msgfmt_contexts != no || MSGFMT=false
6908 if test "$MSGFMT" = false; then :
6909 case "x$with_gettext" in
6910 x) as_fn_append wine_warnings "|gettext tools not found (or too old), translations won't be built." ;;
6911 xno) ;;
6912 *) as_fn_error $? "gettext tools not found (or too old), translations won't be built.
6913 This is an error since --with-gettext was requested." "$LINENO" 5 ;;
6914 esac
6915 enable_po=${enable_po:-no}
6919 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for i386_set_ldt in -li386" >&5
6920 $as_echo_n "checking for i386_set_ldt in -li386... " >&6; }
6921 if ${ac_cv_lib_i386_i386_set_ldt+:} false; then :
6922 $as_echo_n "(cached) " >&6
6923 else
6924 ac_check_lib_save_LIBS=$LIBS
6925 LIBS="-li386 $LIBS"
6926 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6927 /* end confdefs.h. */
6929 /* Override any GCC internal prototype to avoid an error.
6930 Use char because int might match the return type of a GCC
6931 builtin and then its argument prototype would still apply. */
6932 #ifdef __cplusplus
6933 extern "C"
6934 #endif
6935 char i386_set_ldt ();
6937 main ()
6939 return i386_set_ldt ();
6941 return 0;
6943 _ACEOF
6944 if ac_fn_c_try_link "$LINENO"; then :
6945 ac_cv_lib_i386_i386_set_ldt=yes
6946 else
6947 ac_cv_lib_i386_i386_set_ldt=no
6949 rm -f core conftest.err conftest.$ac_objext \
6950 conftest$ac_exeext conftest.$ac_ext
6951 LIBS=$ac_check_lib_save_LIBS
6953 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_i386_i386_set_ldt" >&5
6954 $as_echo "$ac_cv_lib_i386_i386_set_ldt" >&6; }
6955 if test "x$ac_cv_lib_i386_i386_set_ldt" = xyes; then :
6956 I386_LIBS="-li386"
6961 OPENGL_LIBS=""
6965 # Check whether --enable-largefile was given.
6966 if test "${enable_largefile+set}" = set; then :
6967 enableval=$enable_largefile;
6970 if test "$enable_largefile" != no; then
6972 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
6973 $as_echo_n "checking for special C compiler options needed for large files... " >&6; }
6974 if ${ac_cv_sys_largefile_CC+:} false; then :
6975 $as_echo_n "(cached) " >&6
6976 else
6977 ac_cv_sys_largefile_CC=no
6978 if test "$GCC" != yes; then
6979 ac_save_CC=$CC
6980 while :; do
6981 # IRIX 6.2 and later do not support large files by default,
6982 # so use the C compiler's -n32 option if that helps.
6983 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6984 /* end confdefs.h. */
6985 #include <sys/types.h>
6986 /* Check that off_t can represent 2**63 - 1 correctly.
6987 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6988 since some C++ compilers masquerading as C compilers
6989 incorrectly reject 9223372036854775807. */
6990 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6991 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6992 && LARGE_OFF_T % 2147483647 == 1)
6993 ? 1 : -1];
6995 main ()
6999 return 0;
7001 _ACEOF
7002 if ac_fn_c_try_compile "$LINENO"; then :
7003 break
7005 rm -f core conftest.err conftest.$ac_objext
7006 CC="$CC -n32"
7007 if ac_fn_c_try_compile "$LINENO"; then :
7008 ac_cv_sys_largefile_CC=' -n32'; break
7010 rm -f core conftest.err conftest.$ac_objext
7011 break
7012 done
7013 CC=$ac_save_CC
7014 rm -f conftest.$ac_ext
7017 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
7018 $as_echo "$ac_cv_sys_largefile_CC" >&6; }
7019 if test "$ac_cv_sys_largefile_CC" != no; then
7020 CC=$CC$ac_cv_sys_largefile_CC
7023 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
7024 $as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
7025 if ${ac_cv_sys_file_offset_bits+:} false; then :
7026 $as_echo_n "(cached) " >&6
7027 else
7028 while :; do
7029 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7030 /* end confdefs.h. */
7031 #include <sys/types.h>
7032 /* Check that off_t can represent 2**63 - 1 correctly.
7033 We can't simply define LARGE_OFF_T to be 9223372036854775807,
7034 since some C++ compilers masquerading as C compilers
7035 incorrectly reject 9223372036854775807. */
7036 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
7037 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
7038 && LARGE_OFF_T % 2147483647 == 1)
7039 ? 1 : -1];
7041 main ()
7045 return 0;
7047 _ACEOF
7048 if ac_fn_c_try_compile "$LINENO"; then :
7049 ac_cv_sys_file_offset_bits=no; break
7051 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7052 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7053 /* end confdefs.h. */
7054 #define _FILE_OFFSET_BITS 64
7055 #include <sys/types.h>
7056 /* Check that off_t can represent 2**63 - 1 correctly.
7057 We can't simply define LARGE_OFF_T to be 9223372036854775807,
7058 since some C++ compilers masquerading as C compilers
7059 incorrectly reject 9223372036854775807. */
7060 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
7061 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
7062 && LARGE_OFF_T % 2147483647 == 1)
7063 ? 1 : -1];
7065 main ()
7069 return 0;
7071 _ACEOF
7072 if ac_fn_c_try_compile "$LINENO"; then :
7073 ac_cv_sys_file_offset_bits=64; break
7075 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7076 ac_cv_sys_file_offset_bits=unknown
7077 break
7078 done
7080 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
7081 $as_echo "$ac_cv_sys_file_offset_bits" >&6; }
7082 case $ac_cv_sys_file_offset_bits in #(
7083 no | unknown) ;;
7085 cat >>confdefs.h <<_ACEOF
7086 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
7087 _ACEOF
7089 esac
7090 rm -rf conftest*
7091 if test $ac_cv_sys_file_offset_bits = unknown; then
7092 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
7093 $as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
7094 if ${ac_cv_sys_large_files+:} false; then :
7095 $as_echo_n "(cached) " >&6
7096 else
7097 while :; do
7098 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7099 /* end confdefs.h. */
7100 #include <sys/types.h>
7101 /* Check that off_t can represent 2**63 - 1 correctly.
7102 We can't simply define LARGE_OFF_T to be 9223372036854775807,
7103 since some C++ compilers masquerading as C compilers
7104 incorrectly reject 9223372036854775807. */
7105 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
7106 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
7107 && LARGE_OFF_T % 2147483647 == 1)
7108 ? 1 : -1];
7110 main ()
7114 return 0;
7116 _ACEOF
7117 if ac_fn_c_try_compile "$LINENO"; then :
7118 ac_cv_sys_large_files=no; break
7120 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7121 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7122 /* end confdefs.h. */
7123 #define _LARGE_FILES 1
7124 #include <sys/types.h>
7125 /* Check that off_t can represent 2**63 - 1 correctly.
7126 We can't simply define LARGE_OFF_T to be 9223372036854775807,
7127 since some C++ compilers masquerading as C compilers
7128 incorrectly reject 9223372036854775807. */
7129 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
7130 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
7131 && LARGE_OFF_T % 2147483647 == 1)
7132 ? 1 : -1];
7134 main ()
7138 return 0;
7140 _ACEOF
7141 if ac_fn_c_try_compile "$LINENO"; then :
7142 ac_cv_sys_large_files=1; break
7144 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7145 ac_cv_sys_large_files=unknown
7146 break
7147 done
7149 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
7150 $as_echo "$ac_cv_sys_large_files" >&6; }
7151 case $ac_cv_sys_large_files in #(
7152 no | unknown) ;;
7154 cat >>confdefs.h <<_ACEOF
7155 #define _LARGE_FILES $ac_cv_sys_large_files
7156 _ACEOF
7158 esac
7159 rm -rf conftest*
7166 ac_ext=c
7167 ac_cpp='$CPP $CPPFLAGS'
7168 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7169 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7170 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7171 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
7172 $as_echo_n "checking how to run the C preprocessor... " >&6; }
7173 # On Suns, sometimes $CPP names a directory.
7174 if test -n "$CPP" && test -d "$CPP"; then
7175 CPP=
7177 if test -z "$CPP"; then
7178 if ${ac_cv_prog_CPP+:} false; then :
7179 $as_echo_n "(cached) " >&6
7180 else
7181 # Double quotes because CPP needs to be expanded
7182 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
7184 ac_preproc_ok=false
7185 for ac_c_preproc_warn_flag in '' yes
7187 # Use a header file that comes with gcc, so configuring glibc
7188 # with a fresh cross-compiler works.
7189 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7190 # <limits.h> exists even on freestanding compilers.
7191 # On the NeXT, cc -E runs the code through the compiler's parser,
7192 # not just through cpp. "Syntax error" is here to catch this case.
7193 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7194 /* end confdefs.h. */
7195 #ifdef __STDC__
7196 # include <limits.h>
7197 #else
7198 # include <assert.h>
7199 #endif
7200 Syntax error
7201 _ACEOF
7202 if ac_fn_c_try_cpp "$LINENO"; then :
7204 else
7205 # Broken: fails on valid input.
7206 continue
7208 rm -f conftest.err conftest.i conftest.$ac_ext
7210 # OK, works on sane cases. Now check whether nonexistent headers
7211 # can be detected and how.
7212 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7213 /* end confdefs.h. */
7214 #include <ac_nonexistent.h>
7215 _ACEOF
7216 if ac_fn_c_try_cpp "$LINENO"; then :
7217 # Broken: success on invalid input.
7218 continue
7219 else
7220 # Passes both tests.
7221 ac_preproc_ok=:
7222 break
7224 rm -f conftest.err conftest.i conftest.$ac_ext
7226 done
7227 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7228 rm -f conftest.i conftest.err conftest.$ac_ext
7229 if $ac_preproc_ok; then :
7230 break
7233 done
7234 ac_cv_prog_CPP=$CPP
7237 CPP=$ac_cv_prog_CPP
7238 else
7239 ac_cv_prog_CPP=$CPP
7241 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
7242 $as_echo "$CPP" >&6; }
7243 ac_preproc_ok=false
7244 for ac_c_preproc_warn_flag in '' yes
7246 # Use a header file that comes with gcc, so configuring glibc
7247 # with a fresh cross-compiler works.
7248 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7249 # <limits.h> exists even on freestanding compilers.
7250 # On the NeXT, cc -E runs the code through the compiler's parser,
7251 # not just through cpp. "Syntax error" is here to catch this case.
7252 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7253 /* end confdefs.h. */
7254 #ifdef __STDC__
7255 # include <limits.h>
7256 #else
7257 # include <assert.h>
7258 #endif
7259 Syntax error
7260 _ACEOF
7261 if ac_fn_c_try_cpp "$LINENO"; then :
7263 else
7264 # Broken: fails on valid input.
7265 continue
7267 rm -f conftest.err conftest.i conftest.$ac_ext
7269 # OK, works on sane cases. Now check whether nonexistent headers
7270 # can be detected and how.
7271 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7272 /* end confdefs.h. */
7273 #include <ac_nonexistent.h>
7274 _ACEOF
7275 if ac_fn_c_try_cpp "$LINENO"; then :
7276 # Broken: success on invalid input.
7277 continue
7278 else
7279 # Passes both tests.
7280 ac_preproc_ok=:
7281 break
7283 rm -f conftest.err conftest.i conftest.$ac_ext
7285 done
7286 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7287 rm -f conftest.i conftest.err conftest.$ac_ext
7288 if $ac_preproc_ok; then :
7290 else
7291 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
7292 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
7293 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
7294 See \`config.log' for more details" "$LINENO" 5; }
7297 ac_ext=c
7298 ac_cpp='$CPP $CPPFLAGS'
7299 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7300 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7301 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7304 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
7305 $as_echo_n "checking for ANSI C header files... " >&6; }
7306 if ${ac_cv_header_stdc+:} false; then :
7307 $as_echo_n "(cached) " >&6
7308 else
7309 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7310 /* end confdefs.h. */
7311 #include <stdlib.h>
7312 #include <stdarg.h>
7313 #include <string.h>
7314 #include <float.h>
7317 main ()
7321 return 0;
7323 _ACEOF
7324 if ac_fn_c_try_compile "$LINENO"; then :
7325 ac_cv_header_stdc=yes
7326 else
7327 ac_cv_header_stdc=no
7329 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7331 if test $ac_cv_header_stdc = yes; then
7332 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
7333 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7334 /* end confdefs.h. */
7335 #include <string.h>
7337 _ACEOF
7338 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7339 $EGREP "memchr" >/dev/null 2>&1; then :
7341 else
7342 ac_cv_header_stdc=no
7344 rm -f conftest*
7348 if test $ac_cv_header_stdc = yes; then
7349 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
7350 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7351 /* end confdefs.h. */
7352 #include <stdlib.h>
7354 _ACEOF
7355 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7356 $EGREP "free" >/dev/null 2>&1; then :
7358 else
7359 ac_cv_header_stdc=no
7361 rm -f conftest*
7365 if test $ac_cv_header_stdc = yes; then
7366 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
7367 if test "$cross_compiling" = yes; then :
7369 else
7370 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7371 /* end confdefs.h. */
7372 #include <ctype.h>
7373 #include <stdlib.h>
7374 #if ((' ' & 0x0FF) == 0x020)
7375 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
7376 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
7377 #else
7378 # define ISLOWER(c) \
7379 (('a' <= (c) && (c) <= 'i') \
7380 || ('j' <= (c) && (c) <= 'r') \
7381 || ('s' <= (c) && (c) <= 'z'))
7382 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
7383 #endif
7385 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
7387 main ()
7389 int i;
7390 for (i = 0; i < 256; i++)
7391 if (XOR (islower (i), ISLOWER (i))
7392 || toupper (i) != TOUPPER (i))
7393 return 2;
7394 return 0;
7396 _ACEOF
7397 if ac_fn_c_try_run "$LINENO"; then :
7399 else
7400 ac_cv_header_stdc=no
7402 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
7403 conftest.$ac_objext conftest.beam conftest.$ac_ext
7408 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
7409 $as_echo "$ac_cv_header_stdc" >&6; }
7410 if test $ac_cv_header_stdc = yes; then
7412 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
7416 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
7417 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
7418 inttypes.h stdint.h unistd.h
7419 do :
7420 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7421 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
7423 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7424 cat >>confdefs.h <<_ACEOF
7425 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7426 _ACEOF
7430 done
7433 for ac_header in \
7434 AL/al.h \
7435 ApplicationServices/ApplicationServices.h \
7436 AudioToolbox/AudioConverter.h \
7437 AudioUnit/AudioUnit.h \
7438 AudioUnit/AudioComponent.h \
7439 CL/cl.h \
7440 Carbon/Carbon.h \
7441 CommonCrypto/CommonCryptor.h \
7442 CoreAudio/CoreAudio.h \
7443 DiskArbitration/DiskArbitration.h \
7444 EGL/egl.h \
7445 IOKit/IOKitLib.h \
7446 IOKit/hid/IOHIDLib.h \
7447 OpenAL/al.h \
7448 OpenCL/opencl.h \
7449 QuickTime/ImageCompression.h \
7450 Security/Security.h \
7451 SystemConfiguration/SCDynamicStoreCopyDHCPInfo.h \
7452 SystemConfiguration/SCNetworkConfiguration.h \
7453 alias.h \
7454 arpa/inet.h \
7455 arpa/nameser.h \
7456 asm/types.h \
7457 asm/user.h \
7458 dirent.h \
7459 dlfcn.h \
7460 elf.h \
7461 float.h \
7462 fnmatch.h \
7463 getopt.h \
7464 gettext-po.h \
7465 grp.h \
7466 gsm.h \
7467 gsm/gsm.h \
7468 ieeefp.h \
7469 inet/mib2.h \
7470 kstat.h \
7471 libproc.h \
7472 link.h \
7473 linux/cdrom.h \
7474 linux/filter.h \
7475 linux/hdreg.h \
7476 linux/hidraw.h \
7477 linux/input.h \
7478 linux/ioctl.h \
7479 linux/joystick.h \
7480 linux/major.h \
7481 linux/param.h \
7482 linux/serial.h \
7483 linux/types.h \
7484 linux/ucdrom.h \
7485 lwp.h \
7486 mach-o/loader.h \
7487 mach/mach.h \
7488 machine/cpu.h \
7489 machine/sysarch.h \
7490 mntent.h \
7491 netdb.h \
7492 netinet/in.h \
7493 netinet/in_systm.h \
7494 netinet/tcp.h \
7495 netinet/tcp_fsm.h \
7496 pcap/pcap.h \
7497 poll.h \
7498 port.h \
7499 pthread.h \
7500 pwd.h \
7501 sasl/sasl.h \
7502 sched.h \
7503 scsi/scsi.h \
7504 scsi/scsi_ioctl.h \
7505 scsi/sg.h \
7506 stdint.h \
7507 stropts.h \
7508 sys/attr.h \
7509 sys/auxv.h \
7510 sys/cdio.h \
7511 sys/epoll.h \
7512 sys/event.h \
7513 sys/filio.h \
7514 sys/ioctl.h \
7515 sys/ipc.h \
7516 sys/link.h \
7517 sys/mman.h \
7518 sys/modem.h \
7519 sys/msg.h \
7520 sys/mtio.h \
7521 sys/param.h \
7522 sys/poll.h \
7523 sys/prctl.h \
7524 sys/protosw.h \
7525 sys/ptrace.h \
7526 sys/queue.h \
7527 sys/random.h \
7528 sys/resource.h \
7529 sys/scsiio.h \
7530 sys/shm.h \
7531 sys/signal.h \
7532 sys/socket.h \
7533 sys/socketvar.h \
7534 sys/sockio.h \
7535 sys/statvfs.h \
7536 sys/strtio.h \
7537 sys/syscall.h \
7538 sys/sysinfo.h \
7539 sys/tihdr.h \
7540 sys/time.h \
7541 sys/timeout.h \
7542 sys/times.h \
7543 sys/uio.h \
7544 sys/user.h \
7545 sys/utsname.h \
7546 sys/vnode.h \
7547 sys/wait.h \
7548 syscall.h \
7549 termios.h \
7550 unistd.h \
7551 utime.h \
7552 valgrind/memcheck.h \
7553 valgrind/valgrind.h
7555 do :
7556 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7557 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
7558 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7559 cat >>confdefs.h <<_ACEOF
7560 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7561 _ACEOF
7565 done
7567 ac_fn_c_check_header_mongrel "$LINENO" "sys/mkdev.h" "ac_cv_header_sys_mkdev_h" "$ac_includes_default"
7568 if test "x$ac_cv_header_sys_mkdev_h" = xyes; then :
7570 $as_echo "#define MAJOR_IN_MKDEV 1" >>confdefs.h
7575 if test $ac_cv_header_sys_mkdev_h = no; then
7576 ac_fn_c_check_header_mongrel "$LINENO" "sys/sysmacros.h" "ac_cv_header_sys_sysmacros_h" "$ac_includes_default"
7577 if test "x$ac_cv_header_sys_sysmacros_h" = xyes; then :
7579 $as_echo "#define MAJOR_IN_SYSMACROS 1" >>confdefs.h
7585 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stat file-mode macros are broken" >&5
7586 $as_echo_n "checking whether stat file-mode macros are broken... " >&6; }
7587 if ${ac_cv_header_stat_broken+:} false; then :
7588 $as_echo_n "(cached) " >&6
7589 else
7590 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7591 /* end confdefs.h. */
7592 #include <sys/types.h>
7593 #include <sys/stat.h>
7595 #if defined S_ISBLK && defined S_IFDIR
7596 extern char c1[S_ISBLK (S_IFDIR) ? -1 : 1];
7597 #endif
7599 #if defined S_ISBLK && defined S_IFCHR
7600 extern char c2[S_ISBLK (S_IFCHR) ? -1 : 1];
7601 #endif
7603 #if defined S_ISLNK && defined S_IFREG
7604 extern char c3[S_ISLNK (S_IFREG) ? -1 : 1];
7605 #endif
7607 #if defined S_ISSOCK && defined S_IFREG
7608 extern char c4[S_ISSOCK (S_IFREG) ? -1 : 1];
7609 #endif
7611 _ACEOF
7612 if ac_fn_c_try_compile "$LINENO"; then :
7613 ac_cv_header_stat_broken=no
7614 else
7615 ac_cv_header_stat_broken=yes
7617 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7619 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stat_broken" >&5
7620 $as_echo "$ac_cv_header_stat_broken" >&6; }
7621 if test $ac_cv_header_stat_broken = yes; then
7623 $as_echo "#define STAT_MACROS_BROKEN 1" >>confdefs.h
7629 for ac_header in sys/conf.h sys/mount.h sys/statfs.h sys/user.h sys/vfs.h
7630 do :
7631 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7632 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7633 #ifdef HAVE_SYS_PARAM_H
7634 # include <sys/param.h>
7635 #endif
7637 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7638 cat >>confdefs.h <<_ACEOF
7639 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7640 _ACEOF
7644 done
7647 saved_sysctl_h_CFLAGS=$CFLAGS
7648 test "x${GCC}" != xyes || CFLAGS="$CFLAGS -Werror"
7649 for ac_header in sys/sysctl.h
7650 do :
7651 ac_fn_c_check_header_compile "$LINENO" "sys/sysctl.h" "ac_cv_header_sys_sysctl_h" "#include <sys/types.h>
7652 #ifdef HAVE_SYS_PARAM_H
7653 # include <sys/param.h>
7654 #endif
7656 if test "x$ac_cv_header_sys_sysctl_h" = xyes; then :
7657 cat >>confdefs.h <<_ACEOF
7658 #define HAVE_SYS_SYSCTL_H 1
7659 _ACEOF
7663 done
7665 CFLAGS=$saved_sysctl_h_CFLAGS
7667 for ac_header in \
7668 netinet/ip.h \
7669 net/if.h \
7670 net/if_arp.h \
7671 net/if_dl.h \
7672 net/if_types.h \
7673 net/route.h \
7674 netinet/if_ether.h \
7675 netinet/if_inarp.h \
7676 netinet/in_pcb.h \
7677 netinet/ip_icmp.h \
7678 netinet/ip_var.h \
7679 netinet/udp.h \
7680 netipx/ipx.h \
7681 sys/un.h \
7683 do :
7684 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7685 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7686 #ifdef HAVE_SYS_SOCKET_H
7687 # include <sys/socket.h>
7688 #endif
7689 #ifdef HAVE_SYS_SOCKETVAR_H
7690 # include <sys/socketvar.h>
7691 #endif
7692 #ifdef HAVE_NET_ROUTE_H
7693 # include <net/route.h>
7694 #endif
7695 #ifdef HAVE_NETINET_IN_H
7696 # include <netinet/in.h>
7697 #endif
7698 #ifdef HAVE_NETINET_IN_SYSTM_H
7699 # include <netinet/in_systm.h>
7700 #endif
7701 #ifdef HAVE_NET_IF_H
7702 # include <net/if.h>
7703 #endif
7704 #ifdef HAVE_NETINET_IP_H
7705 # include <netinet/ip.h>
7706 #endif
7708 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7709 cat >>confdefs.h <<_ACEOF
7710 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7711 _ACEOF
7715 done
7718 for ac_header in netinet/tcp_timer.h netinet/udp_var.h netinet/icmp_var.h netinet/tcp_var.h
7719 do :
7720 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7721 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7722 #ifdef HAVE_ALIAS_H
7723 # include <alias.h>
7724 #endif
7725 #ifdef HAVE_SYS_SOCKET_H
7726 # include <sys/socket.h>
7727 #endif
7728 #ifdef HAVE_SYS_SOCKETVAR_H
7729 # include <sys/socketvar.h>
7730 #endif
7731 #ifdef HAVE_SYS_TIMEOUT_H
7732 # include <sys/timeout.h>
7733 #endif
7734 #ifdef HAVE_NETINET_IN_H
7735 # include <netinet/in.h>
7736 #endif
7737 #ifdef HAVE_NETINET_IN_SYSTM_H
7738 # include <netinet/in_systm.h>
7739 #endif
7740 #ifdef HAVE_NETINET_IP_H
7741 # include <netinet/ip.h>
7742 #endif
7743 #ifdef HAVE_NETINET_IP_VAR_H
7744 # include <netinet/ip_var.h>
7745 #endif
7746 #ifdef HAVE_NETINET_IP_ICMP_H
7747 # include <netinet/ip_icmp.h>
7748 #endif
7749 #ifdef HAVE_NETINET_UDP_H
7750 # include <netinet/udp.h>
7751 #endif
7752 #ifdef HAVE_NETINET_TCP_H
7753 # include <netinet/tcp.h>
7754 #endif
7755 #ifdef HAVE_NETINET_TCP_TIMER_H
7756 #include <netinet/tcp_timer.h>
7757 #endif
7759 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7760 cat >>confdefs.h <<_ACEOF
7761 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7762 _ACEOF
7766 done
7769 for ac_header in linux/ipx.h linux/irda.h linux/rtnetlink.h
7770 do :
7771 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7772 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7773 #ifdef HAVE_ASM_TYPES_H
7774 # include <asm/types.h>
7775 #endif
7776 #ifdef HAVE_SYS_SOCKET_H
7777 # include <sys/socket.h>
7778 #endif
7779 #ifdef HAVE_LINUX_TYPES_H
7780 # include <linux/types.h>
7781 #endif
7783 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7784 cat >>confdefs.h <<_ACEOF
7785 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7786 _ACEOF
7790 done
7793 for ac_header in resolv.h
7794 do :
7795 ac_fn_c_check_header_compile "$LINENO" "resolv.h" "ac_cv_header_resolv_h" "#include <sys/types.h>
7796 #ifdef HAVE_SYS_SOCKET_H
7797 # include <sys/socket.h>
7798 #endif
7799 #ifdef HAVE_NETINET_IN_H
7800 # include <netinet/in.h>
7801 #endif
7802 #ifdef HAVE_ARPA_NAMESER_H
7803 # include <arpa/nameser.h>
7804 #endif
7806 if test "x$ac_cv_header_resolv_h" = xyes; then :
7807 cat >>confdefs.h <<_ACEOF
7808 #define HAVE_RESOLV_H 1
7809 _ACEOF
7813 done
7816 for ac_header in ifaddrs.h
7817 do :
7818 ac_fn_c_check_header_compile "$LINENO" "ifaddrs.h" "ac_cv_header_ifaddrs_h" "#include <sys/types.h>
7820 if test "x$ac_cv_header_ifaddrs_h" = xyes; then :
7821 cat >>confdefs.h <<_ACEOF
7822 #define HAVE_IFADDRS_H 1
7823 _ACEOF
7827 done
7830 for ac_header in sys/ucontext.h
7831 do :
7832 ac_fn_c_check_header_compile "$LINENO" "sys/ucontext.h" "ac_cv_header_sys_ucontext_h" "#include <signal.h>
7834 if test "x$ac_cv_header_sys_ucontext_h" = xyes; then :
7835 cat >>confdefs.h <<_ACEOF
7836 #define HAVE_SYS_UCONTEXT_H 1
7837 _ACEOF
7841 done
7844 for ac_header in sys/thr.h
7845 do :
7846 ac_fn_c_check_header_compile "$LINENO" "sys/thr.h" "ac_cv_header_sys_thr_h" "#include <sys/types.h>
7847 #ifdef HAVE_SYS_UCONTEXT_H
7848 #include <sys/ucontext.h>
7849 #endif
7851 if test "x$ac_cv_header_sys_thr_h" = xyes; then :
7852 cat >>confdefs.h <<_ACEOF
7853 #define HAVE_SYS_THR_H 1
7854 _ACEOF
7858 done
7861 for ac_header in pthread_np.h
7862 do :
7863 ac_fn_c_check_header_compile "$LINENO" "pthread_np.h" "ac_cv_header_pthread_np_h" "#ifdef HAVE_PTHREAD_H
7864 #include <pthread.h>
7865 #endif
7867 if test "x$ac_cv_header_pthread_np_h" = xyes; then :
7868 cat >>confdefs.h <<_ACEOF
7869 #define HAVE_PTHREAD_NP_H 1
7870 _ACEOF
7874 done
7877 for ac_header in linux/videodev2.h
7878 do :
7879 ac_fn_c_check_header_compile "$LINENO" "linux/videodev2.h" "ac_cv_header_linux_videodev2_h" "#ifdef HAVE_SYS_TIME_H
7880 #include <sys/time.h>
7881 #endif
7882 #include <sys/types.h>
7883 #ifdef HAVE_ASM_TYPES_H
7884 #include <asm/types.h>
7885 #endif
7887 if test "x$ac_cv_header_linux_videodev2_h" = xyes; then :
7888 cat >>confdefs.h <<_ACEOF
7889 #define HAVE_LINUX_VIDEODEV2_H 1
7890 _ACEOF
7894 done
7897 for ac_header in libprocstat.h
7898 do :
7899 ac_fn_c_check_header_compile "$LINENO" "libprocstat.h" "ac_cv_header_libprocstat_h" "#ifdef HAVE_SYS_PARAM_H
7900 #include <sys/param.h>
7901 #endif
7902 #ifdef HAVE_SYS_QUEUE_H
7903 #include <sys/queue.h>
7904 #endif
7905 #ifdef HAVE_SYS_SOCKET_H
7906 #include <sys/socket.h>
7907 #endif
7909 if test "x$ac_cv_header_libprocstat_h" = xyes; then :
7910 cat >>confdefs.h <<_ACEOF
7911 #define HAVE_LIBPROCSTAT_H 1
7912 _ACEOF
7916 done
7920 DLLFLAGS="-D_REENTRANT"
7922 LDDLLFLAGS=""
7924 LDEXECFLAGS=""
7926 TOP_INSTALL_LIB=""
7928 TOP_INSTALL_DEV=""
7930 WINELOADER_LDFLAGS=""
7932 WINEPRELOADER_LDFLAGS=""
7934 LIBEXT="so"
7935 DLLEXT=".so"
7936 # Extract the first word of "ldd", so it can be a program name with args.
7937 set dummy ldd; ac_word=$2
7938 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7939 $as_echo_n "checking for $ac_word... " >&6; }
7940 if ${ac_cv_path_LDD+:} false; then :
7941 $as_echo_n "(cached) " >&6
7942 else
7943 case $LDD in
7944 [\\/]* | ?:[\\/]*)
7945 ac_cv_path_LDD="$LDD" # Let the user override the test with a path.
7948 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7949 as_dummy="/sbin:/usr/sbin:$PATH"
7950 for as_dir in $as_dummy
7952 IFS=$as_save_IFS
7953 test -z "$as_dir" && as_dir=.
7954 for ac_exec_ext in '' $ac_executable_extensions; do
7955 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7956 ac_cv_path_LDD="$as_dir/$ac_word$ac_exec_ext"
7957 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7958 break 2
7960 done
7961 done
7962 IFS=$as_save_IFS
7964 test -z "$ac_cv_path_LDD" && ac_cv_path_LDD="true"
7966 esac
7968 LDD=$ac_cv_path_LDD
7969 if test -n "$LDD"; then
7970 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDD" >&5
7971 $as_echo "$LDD" >&6; }
7972 else
7973 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7974 $as_echo "no" >&6; }
7978 if test -n "$ac_tool_prefix"; then
7979 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
7980 set dummy ${ac_tool_prefix}otool; ac_word=$2
7981 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7982 $as_echo_n "checking for $ac_word... " >&6; }
7983 if ${ac_cv_prog_OTOOL+:} false; then :
7984 $as_echo_n "(cached) " >&6
7985 else
7986 if test -n "$OTOOL"; then
7987 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
7988 else
7989 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7990 for as_dir in $PATH
7992 IFS=$as_save_IFS
7993 test -z "$as_dir" && as_dir=.
7994 for ac_exec_ext in '' $ac_executable_extensions; do
7995 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7996 ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
7997 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7998 break 2
8000 done
8001 done
8002 IFS=$as_save_IFS
8006 OTOOL=$ac_cv_prog_OTOOL
8007 if test -n "$OTOOL"; then
8008 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
8009 $as_echo "$OTOOL" >&6; }
8010 else
8011 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8012 $as_echo "no" >&6; }
8017 if test -z "$ac_cv_prog_OTOOL"; then
8018 ac_ct_OTOOL=$OTOOL
8019 # Extract the first word of "otool", so it can be a program name with args.
8020 set dummy otool; ac_word=$2
8021 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8022 $as_echo_n "checking for $ac_word... " >&6; }
8023 if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
8024 $as_echo_n "(cached) " >&6
8025 else
8026 if test -n "$ac_ct_OTOOL"; then
8027 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
8028 else
8029 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8030 for as_dir in $PATH
8032 IFS=$as_save_IFS
8033 test -z "$as_dir" && as_dir=.
8034 for ac_exec_ext in '' $ac_executable_extensions; do
8035 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8036 ac_cv_prog_ac_ct_OTOOL="otool"
8037 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8038 break 2
8040 done
8041 done
8042 IFS=$as_save_IFS
8046 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
8047 if test -n "$ac_ct_OTOOL"; then
8048 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
8049 $as_echo "$ac_ct_OTOOL" >&6; }
8050 else
8051 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8052 $as_echo "no" >&6; }
8055 if test "x$ac_ct_OTOOL" = x; then
8056 OTOOL="otool"
8057 else
8058 case $cross_compiling:$ac_tool_warned in
8059 yes:)
8060 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8061 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8062 ac_tool_warned=yes ;;
8063 esac
8064 OTOOL=$ac_ct_OTOOL
8066 else
8067 OTOOL="$ac_cv_prog_OTOOL"
8070 if test -n "$ac_tool_prefix"; then
8071 # Extract the first word of "${ac_tool_prefix}readelf", so it can be a program name with args.
8072 set dummy ${ac_tool_prefix}readelf; ac_word=$2
8073 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8074 $as_echo_n "checking for $ac_word... " >&6; }
8075 if ${ac_cv_prog_READELF+:} false; then :
8076 $as_echo_n "(cached) " >&6
8077 else
8078 if test -n "$READELF"; then
8079 ac_cv_prog_READELF="$READELF" # Let the user override the test.
8080 else
8081 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8082 for as_dir in $PATH
8084 IFS=$as_save_IFS
8085 test -z "$as_dir" && as_dir=.
8086 for ac_exec_ext in '' $ac_executable_extensions; do
8087 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8088 ac_cv_prog_READELF="${ac_tool_prefix}readelf"
8089 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8090 break 2
8092 done
8093 done
8094 IFS=$as_save_IFS
8098 READELF=$ac_cv_prog_READELF
8099 if test -n "$READELF"; then
8100 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $READELF" >&5
8101 $as_echo "$READELF" >&6; }
8102 else
8103 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8104 $as_echo "no" >&6; }
8109 if test -z "$ac_cv_prog_READELF"; then
8110 ac_ct_READELF=$READELF
8111 # Extract the first word of "readelf", so it can be a program name with args.
8112 set dummy readelf; ac_word=$2
8113 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8114 $as_echo_n "checking for $ac_word... " >&6; }
8115 if ${ac_cv_prog_ac_ct_READELF+:} false; then :
8116 $as_echo_n "(cached) " >&6
8117 else
8118 if test -n "$ac_ct_READELF"; then
8119 ac_cv_prog_ac_ct_READELF="$ac_ct_READELF" # Let the user override the test.
8120 else
8121 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8122 for as_dir in $PATH
8124 IFS=$as_save_IFS
8125 test -z "$as_dir" && as_dir=.
8126 for ac_exec_ext in '' $ac_executable_extensions; do
8127 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8128 ac_cv_prog_ac_ct_READELF="readelf"
8129 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8130 break 2
8132 done
8133 done
8134 IFS=$as_save_IFS
8138 ac_ct_READELF=$ac_cv_prog_ac_ct_READELF
8139 if test -n "$ac_ct_READELF"; then
8140 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_READELF" >&5
8141 $as_echo "$ac_ct_READELF" >&6; }
8142 else
8143 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8144 $as_echo "no" >&6; }
8147 if test "x$ac_ct_READELF" = x; then
8148 READELF="true"
8149 else
8150 case $cross_compiling:$ac_tool_warned in
8151 yes:)
8152 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8153 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8154 ac_tool_warned=yes ;;
8155 esac
8156 READELF=$ac_ct_READELF
8158 else
8159 READELF="$ac_cv_prog_READELF"
8162 wine_rules_file=conf$$rules.make
8163 rm -f $wine_rules_file
8164 SUBDIRS=""
8166 DISABLED_SUBDIRS=""
8168 CONFIGURE_TARGETS=""
8171 wine_fn_append_file ()
8173 as_fn_append $1 " \\$as_nl $2"
8176 wine_fn_append_rule ()
8178 $as_echo "$1" >>$wine_rules_file
8181 wine_fn_config_makefile ()
8183 wine_fn_append_file SUBDIRS $1
8184 if eval test \"x\$"$2"\" = x"no"; then :
8185 wine_fn_append_file DISABLED_SUBDIRS $1
8189 wine_fn_config_symlink ()
8191 ac_links=$@
8192 wine_fn_append_rule \
8193 "$ac_links:
8194 @./config.status \$@"
8195 for f in $ac_links; do wine_fn_append_file CONFIGURE_TARGETS $f; done
8198 wine_binary="wine"
8199 test "x$enable_win64" != "xyes" || wine_binary="wine64"
8200 WINELOADER_PROGRAMS="$wine_binary"
8202 libwine_soversion=`expr $libwine_version : '\([0-9]*\)\..*'`
8204 case $host_os in
8205 cygwin*|mingw32*)
8206 if test -n "$ac_tool_prefix"; then
8207 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
8208 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
8209 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8210 $as_echo_n "checking for $ac_word... " >&6; }
8211 if ${ac_cv_prog_DLLTOOL+:} false; then :
8212 $as_echo_n "(cached) " >&6
8213 else
8214 if test -n "$DLLTOOL"; then
8215 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
8216 else
8217 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8218 for as_dir in $PATH
8220 IFS=$as_save_IFS
8221 test -z "$as_dir" && as_dir=.
8222 for ac_exec_ext in '' $ac_executable_extensions; do
8223 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8224 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
8225 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8226 break 2
8228 done
8229 done
8230 IFS=$as_save_IFS
8234 DLLTOOL=$ac_cv_prog_DLLTOOL
8235 if test -n "$DLLTOOL"; then
8236 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
8237 $as_echo "$DLLTOOL" >&6; }
8238 else
8239 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8240 $as_echo "no" >&6; }
8245 if test -z "$ac_cv_prog_DLLTOOL"; then
8246 ac_ct_DLLTOOL=$DLLTOOL
8247 # Extract the first word of "dlltool", so it can be a program name with args.
8248 set dummy dlltool; ac_word=$2
8249 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8250 $as_echo_n "checking for $ac_word... " >&6; }
8251 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
8252 $as_echo_n "(cached) " >&6
8253 else
8254 if test -n "$ac_ct_DLLTOOL"; then
8255 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
8256 else
8257 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8258 for as_dir in $PATH
8260 IFS=$as_save_IFS
8261 test -z "$as_dir" && as_dir=.
8262 for ac_exec_ext in '' $ac_executable_extensions; do
8263 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8264 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
8265 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8266 break 2
8268 done
8269 done
8270 IFS=$as_save_IFS
8274 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
8275 if test -n "$ac_ct_DLLTOOL"; then
8276 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
8277 $as_echo "$ac_ct_DLLTOOL" >&6; }
8278 else
8279 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8280 $as_echo "no" >&6; }
8283 if test "x$ac_ct_DLLTOOL" = x; then
8284 DLLTOOL="false"
8285 else
8286 case $cross_compiling:$ac_tool_warned in
8287 yes:)
8288 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8289 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8290 ac_tool_warned=yes ;;
8291 esac
8292 DLLTOOL=$ac_ct_DLLTOOL
8294 else
8295 DLLTOOL="$ac_cv_prog_DLLTOOL"
8298 LIBEXT="dll"
8299 DLLEXT=""
8300 case $host_cpu in
8301 *i[3456]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--disable-stdcall-fixup" >&5
8302 $as_echo_n "checking whether the compiler supports -Wl,--disable-stdcall-fixup... " >&6; }
8303 if ${ac_cv_cflags__Wl___disable_stdcall_fixup+:} false; then :
8304 $as_echo_n "(cached) " >&6
8305 else
8306 ac_wine_try_cflags_saved=$CFLAGS
8307 CFLAGS="$CFLAGS -Wl,--disable-stdcall-fixup"
8308 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8309 /* end confdefs.h. */
8310 int main(int argc, char **argv) { return 0; }
8311 _ACEOF
8312 if ac_fn_c_try_link "$LINENO"; then :
8313 ac_cv_cflags__Wl___disable_stdcall_fixup=yes
8314 else
8315 ac_cv_cflags__Wl___disable_stdcall_fixup=no
8317 rm -f core conftest.err conftest.$ac_objext \
8318 conftest$ac_exeext conftest.$ac_ext
8319 CFLAGS=$ac_wine_try_cflags_saved
8321 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___disable_stdcall_fixup" >&5
8322 $as_echo "$ac_cv_cflags__Wl___disable_stdcall_fixup" >&6; }
8323 if test "x$ac_cv_cflags__Wl___disable_stdcall_fixup" = xyes; then :
8324 LDDLLFLAGS="-Wl,--disable-stdcall-fixup"
8325 fi ;;
8326 esac
8327 enable_iphlpapi=${enable_iphlpapi:-no}
8328 enable_ws2_32=${enable_ws2_32:-no}
8329 enable_loader=${enable_loader:-no}
8330 enable_server=${enable_server:-no}
8331 with_x=${with_x:-no}
8332 with_pthread=${with_pthread:-no}
8335 darwin*|macosx*)
8336 ac_ext=m
8337 ac_cpp='$OBJCPP $CPPFLAGS'
8338 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8339 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8340 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
8342 ac_ext=m
8343 ac_cpp='$OBJCPP $CPPFLAGS'
8344 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8345 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8346 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
8347 if test -n "$ac_tool_prefix"; then
8348 for ac_prog in gcc objcc objc cc CC
8350 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
8351 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
8352 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8353 $as_echo_n "checking for $ac_word... " >&6; }
8354 if ${ac_cv_prog_OBJC+:} false; then :
8355 $as_echo_n "(cached) " >&6
8356 else
8357 if test -n "$OBJC"; then
8358 ac_cv_prog_OBJC="$OBJC" # Let the user override the test.
8359 else
8360 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8361 for as_dir in $PATH
8363 IFS=$as_save_IFS
8364 test -z "$as_dir" && as_dir=.
8365 for ac_exec_ext in '' $ac_executable_extensions; do
8366 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8367 ac_cv_prog_OBJC="$ac_tool_prefix$ac_prog"
8368 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8369 break 2
8371 done
8372 done
8373 IFS=$as_save_IFS
8377 OBJC=$ac_cv_prog_OBJC
8378 if test -n "$OBJC"; then
8379 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJC" >&5
8380 $as_echo "$OBJC" >&6; }
8381 else
8382 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8383 $as_echo "no" >&6; }
8387 test -n "$OBJC" && break
8388 done
8390 if test -z "$OBJC"; then
8391 ac_ct_OBJC=$OBJC
8392 for ac_prog in gcc objcc objc cc CC
8394 # Extract the first word of "$ac_prog", so it can be a program name with args.
8395 set dummy $ac_prog; ac_word=$2
8396 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8397 $as_echo_n "checking for $ac_word... " >&6; }
8398 if ${ac_cv_prog_ac_ct_OBJC+:} false; then :
8399 $as_echo_n "(cached) " >&6
8400 else
8401 if test -n "$ac_ct_OBJC"; then
8402 ac_cv_prog_ac_ct_OBJC="$ac_ct_OBJC" # Let the user override the test.
8403 else
8404 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8405 for as_dir in $PATH
8407 IFS=$as_save_IFS
8408 test -z "$as_dir" && as_dir=.
8409 for ac_exec_ext in '' $ac_executable_extensions; do
8410 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8411 ac_cv_prog_ac_ct_OBJC="$ac_prog"
8412 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8413 break 2
8415 done
8416 done
8417 IFS=$as_save_IFS
8421 ac_ct_OBJC=$ac_cv_prog_ac_ct_OBJC
8422 if test -n "$ac_ct_OBJC"; then
8423 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJC" >&5
8424 $as_echo "$ac_ct_OBJC" >&6; }
8425 else
8426 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8427 $as_echo "no" >&6; }
8431 test -n "$ac_ct_OBJC" && break
8432 done
8434 if test "x$ac_ct_OBJC" = x; then
8435 OBJC="gcc"
8436 else
8437 case $cross_compiling:$ac_tool_warned in
8438 yes:)
8439 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8440 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8441 ac_tool_warned=yes ;;
8442 esac
8443 OBJC=$ac_ct_OBJC
8447 # Provide some information about the compiler.
8448 $as_echo "$as_me:${as_lineno-$LINENO}: checking for Objective C compiler version" >&5
8449 set X $ac_compile
8450 ac_compiler=$2
8451 for ac_option in --version -v -V -qversion; do
8452 { { ac_try="$ac_compiler $ac_option >&5"
8453 case "(($ac_try" in
8454 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8455 *) ac_try_echo=$ac_try;;
8456 esac
8457 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
8458 $as_echo "$ac_try_echo"; } >&5
8459 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
8460 ac_status=$?
8461 if test -s conftest.err; then
8462 sed '10a\
8463 ... rest of stderr output deleted ...
8464 10q' conftest.err >conftest.er1
8465 cat conftest.er1 >&5
8467 rm -f conftest.er1 conftest.err
8468 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8469 test $ac_status = 0; }
8470 done
8472 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU Objective C compiler" >&5
8473 $as_echo_n "checking whether we are using the GNU Objective C compiler... " >&6; }
8474 if ${ac_cv_objc_compiler_gnu+:} false; then :
8475 $as_echo_n "(cached) " >&6
8476 else
8477 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8478 /* end confdefs.h. */
8481 main ()
8483 #ifndef __GNUC__
8484 choke me
8485 #endif
8488 return 0;
8490 _ACEOF
8491 if ac_fn_objc_try_compile "$LINENO"; then :
8492 ac_compiler_gnu=yes
8493 else
8494 ac_compiler_gnu=no
8496 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8497 ac_cv_objc_compiler_gnu=$ac_compiler_gnu
8500 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objc_compiler_gnu" >&5
8501 $as_echo "$ac_cv_objc_compiler_gnu" >&6; }
8502 if test $ac_compiler_gnu = yes; then
8503 GOBJC=yes
8504 else
8505 GOBJC=
8507 ac_test_OBJCFLAGS=${OBJCFLAGS+set}
8508 ac_save_OBJCFLAGS=$OBJCFLAGS
8509 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $OBJC accepts -g" >&5
8510 $as_echo_n "checking whether $OBJC accepts -g... " >&6; }
8511 if ${ac_cv_prog_objc_g+:} false; then :
8512 $as_echo_n "(cached) " >&6
8513 else
8514 ac_save_objc_werror_flag=$ac_objc_werror_flag
8515 ac_objc_werror_flag=yes
8516 ac_cv_prog_objc_g=no
8517 OBJCFLAGS="-g"
8518 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8519 /* end confdefs.h. */
8522 main ()
8526 return 0;
8528 _ACEOF
8529 if ac_fn_objc_try_compile "$LINENO"; then :
8530 ac_cv_prog_objc_g=yes
8531 else
8532 OBJCFLAGS=""
8533 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8534 /* end confdefs.h. */
8537 main ()
8541 return 0;
8543 _ACEOF
8544 if ac_fn_objc_try_compile "$LINENO"; then :
8546 else
8547 ac_objc_werror_flag=$ac_save_objc_werror_flag
8548 OBJCFLAGS="-g"
8549 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8550 /* end confdefs.h. */
8553 main ()
8557 return 0;
8559 _ACEOF
8560 if ac_fn_objc_try_compile "$LINENO"; then :
8561 ac_cv_prog_objc_g=yes
8563 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8565 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8567 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8568 ac_objc_werror_flag=$ac_save_objc_werror_flag
8570 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_objc_g" >&5
8571 $as_echo "$ac_cv_prog_objc_g" >&6; }
8572 if test "$ac_test_OBJCFLAGS" = set; then
8573 OBJCFLAGS=$ac_save_OBJCFLAGS
8574 elif test $ac_cv_prog_objc_g = yes; then
8575 if test "$GOBJC" = yes; then
8576 OBJCFLAGS="-g -O2"
8577 else
8578 OBJCFLAGS="-g"
8580 else
8581 if test "$GOBJC" = yes; then
8582 OBJCFLAGS="-O2"
8583 else
8584 OBJCFLAGS=
8587 ac_ext=m
8588 ac_cpp='$OBJCPP $CPPFLAGS'
8589 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8590 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8591 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
8594 ac_ext=m
8595 ac_cpp='$OBJCPP $CPPFLAGS'
8596 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8597 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8598 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
8599 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the Objective C preprocessor" >&5
8600 $as_echo_n "checking how to run the Objective C preprocessor... " >&6; }
8601 if test -z "$OBJCPP"; then
8602 if ${ac_cv_prog_OBJCPP+:} false; then :
8603 $as_echo_n "(cached) " >&6
8604 else
8605 # Double quotes because OBJCPP needs to be expanded
8606 for OBJCPP in "$OBJC -E" "/lib/cpp"
8608 ac_preproc_ok=false
8609 for ac_objc_preproc_warn_flag in '' yes
8611 # Use a header file that comes with gcc, so configuring glibc
8612 # with a fresh cross-compiler works.
8613 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8614 # <limits.h> exists even on freestanding compilers.
8615 # On the NeXT, cc -E runs the code through the compiler's parser,
8616 # not just through cpp. "Syntax error" is here to catch this case.
8617 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8618 /* end confdefs.h. */
8619 #ifdef __STDC__
8620 # include <limits.h>
8621 #else
8622 # include <assert.h>
8623 #endif
8624 Syntax error
8625 _ACEOF
8626 if ac_fn_objc_try_cpp "$LINENO"; then :
8628 else
8629 # Broken: fails on valid input.
8630 continue
8632 rm -f conftest.err conftest.i conftest.$ac_ext
8634 # OK, works on sane cases. Now check whether nonexistent headers
8635 # can be detected and how.
8636 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8637 /* end confdefs.h. */
8638 #include <ac_nonexistent.h>
8639 _ACEOF
8640 if ac_fn_objc_try_cpp "$LINENO"; then :
8641 # Broken: success on invalid input.
8642 continue
8643 else
8644 # Passes both tests.
8645 ac_preproc_ok=:
8646 break
8648 rm -f conftest.err conftest.i conftest.$ac_ext
8650 done
8651 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
8652 rm -f conftest.i conftest.err conftest.$ac_ext
8653 if $ac_preproc_ok; then :
8654 break
8657 done
8658 ac_cv_prog_OBJCPP=$OBJCPP
8661 OBJCPP=$ac_cv_prog_OBJCPP
8662 else
8663 ac_cv_prog_OBJCPP=$OBJCPP
8665 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJCPP" >&5
8666 $as_echo "$OBJCPP" >&6; }
8667 ac_preproc_ok=false
8668 for ac_objc_preproc_warn_flag in '' yes
8670 # Use a header file that comes with gcc, so configuring glibc
8671 # with a fresh cross-compiler works.
8672 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8673 # <limits.h> exists even on freestanding compilers.
8674 # On the NeXT, cc -E runs the code through the compiler's parser,
8675 # not just through cpp. "Syntax error" is here to catch this case.
8676 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8677 /* end confdefs.h. */
8678 #ifdef __STDC__
8679 # include <limits.h>
8680 #else
8681 # include <assert.h>
8682 #endif
8683 Syntax error
8684 _ACEOF
8685 if ac_fn_objc_try_cpp "$LINENO"; then :
8687 else
8688 # Broken: fails on valid input.
8689 continue
8691 rm -f conftest.err conftest.i conftest.$ac_ext
8693 # OK, works on sane cases. Now check whether nonexistent headers
8694 # can be detected and how.
8695 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8696 /* end confdefs.h. */
8697 #include <ac_nonexistent.h>
8698 _ACEOF
8699 if ac_fn_objc_try_cpp "$LINENO"; then :
8700 # Broken: success on invalid input.
8701 continue
8702 else
8703 # Passes both tests.
8704 ac_preproc_ok=:
8705 break
8707 rm -f conftest.err conftest.i conftest.$ac_ext
8709 done
8710 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
8711 rm -f conftest.i conftest.err conftest.$ac_ext
8712 if $ac_preproc_ok; then :
8714 else
8715 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
8716 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
8717 as_fn_error $? "Objective C preprocessor \"$OBJCPP\" fails sanity check
8718 See \`config.log' for more details" "$LINENO" 5; }
8721 ac_ext=m
8722 ac_cpp='$OBJCPP $CPPFLAGS'
8723 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8724 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8725 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
8728 for ac_header in Metal/Metal.h
8729 do :
8730 ac_fn_objc_check_header_mongrel "$LINENO" "Metal/Metal.h" "ac_cv_header_Metal_Metal_h" "$ac_includes_default"
8731 if test "x$ac_cv_header_Metal_Metal_h" = xyes; then :
8732 cat >>confdefs.h <<_ACEOF
8733 #define HAVE_METAL_METAL_H 1
8734 _ACEOF
8738 done
8740 ac_ext=c
8741 ac_cpp='$CPP $CPPFLAGS'
8742 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8743 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8744 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8746 LIBEXT="dylib"
8747 DLLFLAGS="$DLLFLAGS -fPIC"
8748 LDDLLFLAGS="-fPIC"
8749 COREFOUNDATION_LIBS="-framework CoreFoundation"
8751 IOKIT_LIBS="-framework IOKit -framework CoreFoundation"
8753 FORCEFEEDBACK_LIBS="-framework ForceFeedback -framework CoreFoundation"
8755 APPLICATIONSERVICES_LIBS="-framework ApplicationServices"
8757 CORESERVICES_LIBS="-framework CoreServices"
8759 APPKIT_LIBS="-framework AppKit"
8761 SYSTEMCONFIGURATION_LIBS="-framework SystemConfiguration"
8764 WINELOADER_LDFLAGS="-Wl,-pie,-pagezero_size,0x1000,-sectcreate,__TEXT,__info_plist,loader/wine_info.plist"
8766 wine_can_build_preloader=yes
8767 WINEPRELOADER_LDFLAGS="-nostartfiles -nodefaultlibs -e _start -ldylib1.o -Wl,-image_base,0x7d400000,-pagezero_size,0x1000,-sectcreate,__TEXT,__info_plist,loader/wine_info.plist,-segaddr,WINE_4GB_RESERVE,0x100000000"
8768 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-no_new_main -e _main" >&5
8769 $as_echo_n "checking whether the compiler supports -Wl,-no_new_main -e _main... " >&6; }
8770 if ${ac_cv_cflags__Wl__no_new_main__e__main+:} false; then :
8771 $as_echo_n "(cached) " >&6
8772 else
8773 ac_wine_try_cflags_saved=$CFLAGS
8774 CFLAGS="$CFLAGS -Wl,-no_new_main -e _main"
8775 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8776 /* end confdefs.h. */
8777 int main(int argc, char **argv) { return 0; }
8778 _ACEOF
8779 if ac_fn_c_try_link "$LINENO"; then :
8780 ac_cv_cflags__Wl__no_new_main__e__main=yes
8781 else
8782 ac_cv_cflags__Wl__no_new_main__e__main=no
8784 rm -f core conftest.err conftest.$ac_objext \
8785 conftest$ac_exeext conftest.$ac_ext
8786 CFLAGS=$ac_wine_try_cflags_saved
8788 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__no_new_main__e__main" >&5
8789 $as_echo "$ac_cv_cflags__Wl__no_new_main__e__main" >&6; }
8790 if test "x$ac_cv_cflags__Wl__no_new_main__e__main" = xyes; then :
8791 WINEPRELOADER_LDFLAGS="-Wl,-no_new_main $WINEPRELOADER_LDFLAGS"
8792 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-no_new_main -e _main -nostartfiles -nodefaultlibs" >&5
8793 $as_echo_n "checking whether the compiler supports -Wl,-no_new_main -e _main -nostartfiles -nodefaultlibs... " >&6; }
8794 if ${ac_cv_cflags__Wl__no_new_main__e__main__nostartfiles__nodefaultlibs+:} false; then :
8795 $as_echo_n "(cached) " >&6
8796 else
8797 ac_wine_try_cflags_saved=$CFLAGS
8798 CFLAGS="$CFLAGS -Wl,-no_new_main -e _main -nostartfiles -nodefaultlibs"
8799 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8800 /* end confdefs.h. */
8801 int main(int argc, char **argv) { return 0; }
8802 _ACEOF
8803 if ac_fn_c_try_link "$LINENO"; then :
8804 ac_cv_cflags__Wl__no_new_main__e__main__nostartfiles__nodefaultlibs=yes
8805 else
8806 ac_cv_cflags__Wl__no_new_main__e__main__nostartfiles__nodefaultlibs=no
8808 rm -f core conftest.err conftest.$ac_objext \
8809 conftest$ac_exeext conftest.$ac_ext
8810 CFLAGS=$ac_wine_try_cflags_saved
8812 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__no_new_main__e__main__nostartfiles__nodefaultlibs" >&5
8813 $as_echo "$ac_cv_cflags__Wl__no_new_main__e__main__nostartfiles__nodefaultlibs" >&6; }
8814 if test "x$ac_cv_cflags__Wl__no_new_main__e__main__nostartfiles__nodefaultlibs" = xyes; then :
8815 EXTRACFLAGS="$EXTRACFLAGS -Wl,-no_new_main -e _main -nostartfiles -nodefaultlibs"
8816 else
8817 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-no_new_main -e _main -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs" >&5
8818 $as_echo_n "checking whether the compiler supports -Wl,-no_new_main -e _main -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs... " >&6; }
8819 if ${ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs+:} false; then :
8820 $as_echo_n "(cached) " >&6
8821 else
8822 ac_wine_try_cflags_saved=$CFLAGS
8823 CFLAGS="$CFLAGS -Wl,-no_new_main -e _main -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs"
8824 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8825 /* end confdefs.h. */
8826 int main(int argc, char **argv) { return 0; }
8827 _ACEOF
8828 if ac_fn_c_try_link "$LINENO"; then :
8829 ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs=yes
8830 else
8831 ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs=no
8833 rm -f core conftest.err conftest.$ac_objext \
8834 conftest$ac_exeext conftest.$ac_ext
8835 CFLAGS=$ac_wine_try_cflags_saved
8837 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" >&5
8838 $as_echo "$ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" >&6; }
8839 if test "x$ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" = xyes; then :
8840 WINEPRELOADER_LDFLAGS="-mmacosx-version-min=10.7 $WINEPRELOADER_LDFLAGS"
8841 else
8842 wine_can_build_preloader=no
8845 else
8846 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -nostartfiles -nodefaultlibs" >&5
8847 $as_echo_n "checking whether the compiler supports -nostartfiles -nodefaultlibs... " >&6; }
8848 if ${ac_cv_cflags__nostartfiles__nodefaultlibs+:} false; then :
8849 $as_echo_n "(cached) " >&6
8850 else
8851 ac_wine_try_cflags_saved=$CFLAGS
8852 CFLAGS="$CFLAGS -nostartfiles -nodefaultlibs"
8853 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8854 /* end confdefs.h. */
8855 int main(int argc, char **argv) { return 0; }
8856 _ACEOF
8857 if ac_fn_c_try_link "$LINENO"; then :
8858 ac_cv_cflags__nostartfiles__nodefaultlibs=yes
8859 else
8860 ac_cv_cflags__nostartfiles__nodefaultlibs=no
8862 rm -f core conftest.err conftest.$ac_objext \
8863 conftest$ac_exeext conftest.$ac_ext
8864 CFLAGS=$ac_wine_try_cflags_saved
8866 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__nostartfiles__nodefaultlibs" >&5
8867 $as_echo "$ac_cv_cflags__nostartfiles__nodefaultlibs" >&6; }
8868 if test "x$ac_cv_cflags__nostartfiles__nodefaultlibs" = xyes; then :
8869 EXTRACFLAGS="$EXTRACFLAGS -nostartfiles -nodefaultlibs"
8870 else
8871 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs" >&5
8872 $as_echo_n "checking whether the compiler supports -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs... " >&6; }
8873 if ${ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs+:} false; then :
8874 $as_echo_n "(cached) " >&6
8875 else
8876 ac_wine_try_cflags_saved=$CFLAGS
8877 CFLAGS="$CFLAGS -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs"
8878 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8879 /* end confdefs.h. */
8880 int main(int argc, char **argv) { return 0; }
8881 _ACEOF
8882 if ac_fn_c_try_link "$LINENO"; then :
8883 ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs=yes
8884 else
8885 ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs=no
8887 rm -f core conftest.err conftest.$ac_objext \
8888 conftest$ac_exeext conftest.$ac_ext
8889 CFLAGS=$ac_wine_try_cflags_saved
8891 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" >&5
8892 $as_echo "$ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" >&6; }
8893 if test "x$ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" = xyes; then :
8894 WINEPRELOADER_LDFLAGS="-mmacosx-version-min=10.7 $WINEPRELOADER_LDFLAGS"
8895 else
8896 wine_can_build_preloader=no
8900 if test "$wine_can_build_preloader" = "yes"
8901 then
8902 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-no_pie" >&5
8903 $as_echo_n "checking whether the compiler supports -Wl,-no_pie... " >&6; }
8904 if ${ac_cv_cflags__Wl__no_pie+:} false; then :
8905 $as_echo_n "(cached) " >&6
8906 else
8907 ac_wine_try_cflags_saved=$CFLAGS
8908 CFLAGS="$CFLAGS -Wl,-no_pie"
8909 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8910 /* end confdefs.h. */
8911 int main(int argc, char **argv) { return 0; }
8912 _ACEOF
8913 if ac_fn_c_try_link "$LINENO"; then :
8914 ac_cv_cflags__Wl__no_pie=yes
8915 else
8916 ac_cv_cflags__Wl__no_pie=no
8918 rm -f core conftest.err conftest.$ac_objext \
8919 conftest$ac_exeext conftest.$ac_ext
8920 CFLAGS=$ac_wine_try_cflags_saved
8922 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__no_pie" >&5
8923 $as_echo "$ac_cv_cflags__Wl__no_pie" >&6; }
8924 if test "x$ac_cv_cflags__Wl__no_pie" = xyes; then :
8925 WINEPRELOADER_LDFLAGS="-Wl,-no_pie $WINEPRELOADER_LDFLAGS"
8927 test "$wine_binary" = wine || wine_fn_append_file CONFIGURE_TARGETS "loader/wine-preloader"
8928 WINELOADER_PROGRAMS="$WINELOADER_PROGRAMS $wine_binary-preloader"
8929 else
8930 as_fn_append wine_warnings "|can't build Wine preloader; many programs won't work"
8933 if test "$ac_cv_header_DiskArbitration_DiskArbitration_h" = "yes"
8934 then
8935 DISKARBITRATION_LIBS="-framework DiskArbitration -framework CoreFoundation"
8938 if test "$ac_cv_header_Security_Security_h" = "yes"
8939 then
8940 SECURITY_LIBS="-framework Security -framework CoreFoundation"
8942 ac_save_LIBS="$LIBS"
8943 LIBS="$LIBS $SECURITY_LIBS"
8944 for ac_func in SSLCopyPeerCertificates
8945 do :
8946 ac_fn_c_check_func "$LINENO" "SSLCopyPeerCertificates" "ac_cv_func_SSLCopyPeerCertificates"
8947 if test "x$ac_cv_func_SSLCopyPeerCertificates" = xyes; then :
8948 cat >>confdefs.h <<_ACEOF
8949 #define HAVE_SSLCOPYPEERCERTIFICATES 1
8950 _ACEOF
8953 done
8955 LIBS="$ac_save_LIBS"
8957 if test "$ac_cv_header_CoreAudio_CoreAudio_h" = "yes" -a "$ac_cv_header_AudioUnit_AudioUnit_h" = "yes"
8958 then
8959 if test "$ac_cv_header_AudioUnit_AudioComponent_h" = "yes"
8960 then
8961 COREAUDIO_LIBS="-framework CoreFoundation -framework CoreAudio -framework AudioUnit -framework AudioToolbox -framework CoreMIDI"
8963 else
8964 COREAUDIO_LIBS="-framework CoreAudio -framework AudioUnit -framework CoreServices -framework AudioToolbox -framework CoreMIDI"
8967 enable_winecoreaudio_drv=${enable_winecoreaudio_drv:-yes}
8968 ac_save_LIBS="$LIBS"
8969 LIBS="$LIBS $COREAUDIO_LIBS"
8970 for ac_func in AUGraphAddNode
8971 do :
8972 ac_fn_c_check_func "$LINENO" "AUGraphAddNode" "ac_cv_func_AUGraphAddNode"
8973 if test "x$ac_cv_func_AUGraphAddNode" = xyes; then :
8974 cat >>confdefs.h <<_ACEOF
8975 #define HAVE_AUGRAPHADDNODE 1
8976 _ACEOF
8979 done
8981 LIBS="$ac_save_LIBS"
8983 if test "$ac_cv_header_OpenAL_al_h" = "yes"
8984 then
8985 OPENAL_LIBS="-framework OpenAL"
8988 cat >>confdefs.h <<_ACEOF
8989 #define HAVE_OPENAL 1
8990 _ACEOF
8992 ac_cv_lib_openal=yes
8994 if test "$ac_cv_header_OpenCL_opencl_h" = "yes"
8995 then
8996 OPENCL_LIBS="-framework OpenCL"
8998 ac_cv_lib_OpenCL_clGetPlatformInfo=yes
9000 if test "$ac_cv_header_IOKit_hid_IOHIDLib_h" = "yes"
9001 then
9002 ac_save_LIBS="$LIBS"
9003 LIBS="$LIBS $IOKIT_LIBS"
9004 for ac_func in IOHIDManagerCreate
9005 do :
9006 ac_fn_c_check_func "$LINENO" "IOHIDManagerCreate" "ac_cv_func_IOHIDManagerCreate"
9007 if test "x$ac_cv_func_IOHIDManagerCreate" = xyes; then :
9008 cat >>confdefs.h <<_ACEOF
9009 #define HAVE_IOHIDMANAGERCREATE 1
9010 _ACEOF
9013 done
9015 LIBS="$ac_save_LIBS"
9018 if test "x$with_quicktime" != "xno"
9019 then
9020 if test "$ac_cv_header_QuickTime_ImageCompression_h" = "yes"
9021 then
9022 ac_save_LIBS="$LIBS"
9023 LIBS="-framework QuickTime -framework ApplicationServices -framework CoreVideo $LIBS"
9024 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the QuickTime framework" >&5
9025 $as_echo_n "checking for the QuickTime framework... " >&6; }
9026 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9027 /* end confdefs.h. */
9028 #include <QuickTime/ImageCompression.h>
9030 main ()
9032 CodecManagerVersion(NULL);
9034 return 0;
9036 _ACEOF
9037 if ac_fn_c_try_link "$LINENO"; then :
9038 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
9039 $as_echo "yes" >&6; }
9040 QUICKTIME_LIBS="-framework QuickTime -framework ApplicationServices -framework CoreVideo"
9042 enable_wineqtdecoder=${enable_wineqtdecoder:-yes}
9043 else
9044 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9045 $as_echo "no" >&6; }
9046 ac_cv_header_QuickTime_ImageCompression_h=no
9048 rm -f core conftest.err conftest.$ac_objext \
9049 conftest$ac_exeext conftest.$ac_ext
9050 LIBS="$ac_save_LIBS"
9053 if test "$ac_cv_header_QuickTime_ImageCompression_h" != "yes"; then :
9054 case "x$with_quicktime" in
9055 x) as_fn_append wine_notices "|QuickTime ${notice_platform}development files not found, video decoding won't be supported." ;;
9056 xno) ;;
9057 *) as_fn_error $? "QuickTime ${notice_platform}development files not found, video decoding won't be supported.
9058 This is an error since --with-quicktime was requested." "$LINENO" 5 ;;
9059 esac
9063 if test "$ac_cv_header_Carbon_Carbon_h" = "yes"
9064 then
9065 CARBON_LIBS="-framework Carbon"
9068 if test "$ac_cv_header_Metal_Metal_h" = "yes"
9069 then
9070 METAL_LIBS="-framework Metal -framework QuartzCore"
9074 if test "$ac_cv_header_Metal_Metal_h" = "yes"
9075 then
9076 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether MTLDevice protocol supports registryID property" >&5
9077 $as_echo_n "checking whether MTLDevice protocol supports registryID property... " >&6; }
9078 ac_ext=m
9079 ac_cpp='$OBJCPP $CPPFLAGS'
9080 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9081 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9082 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
9084 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9085 /* end confdefs.h. */
9086 #include <Metal/Metal.h>
9088 main ()
9090 id<MTLDevice> device; device.registryID;
9092 return 0;
9094 _ACEOF
9095 if ac_fn_objc_try_compile "$LINENO"; then :
9096 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
9097 $as_echo "yes" >&6; }
9099 $as_echo "#define HAVE_MTLDEVICE_REGISTRYID 1" >>confdefs.h
9101 else
9102 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9103 $as_echo "no" >&6; }
9105 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9106 ac_ext=c
9107 ac_cpp='$CPP $CPPFLAGS'
9108 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9109 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9110 ac_compiler_gnu=$ac_cv_c_compiler_gnu
9114 if test "$ac_cv_header_ApplicationServices_ApplicationServices_h" = "yes"
9115 then
9116 ac_save_LIBS="$LIBS"
9117 LIBS="$LIBS $APPLICATIONSERVICES_LIBS"
9118 ac_fn_c_check_func "$LINENO" "CGDisplayModeGetWidth" "ac_cv_func_CGDisplayModeGetWidth"
9119 if test "x$ac_cv_func_CGDisplayModeGetWidth" = xyes; then :
9120 enable_winemac_drv=${enable_winemac_drv:-yes}
9123 LIBS="$ac_save_LIBS"
9126 LIBWINE_SHAREDLIB="libwine.$libwine_version.dylib"
9128 LIBWINE_LDFLAGS="-dynamiclib -install_name @rpath/libwine.$libwine_soversion.dylib -Wl,-rpath,@loader_path/ -compatibility_version $libwine_soversion -current_version $libwine_version"
9130 WINELOADER_DEPENDS="wine_info.plist"
9132 TOP_INSTALL_LIB="$TOP_INSTALL_LIB libs/wine/libwine.$libwine_version.dylib libs/wine/libwine.$libwine_soversion.dylib"
9135 linux-android*)
9136 DLLFLAGS="$DLLFLAGS -fPIC"
9137 LDDLLFLAGS="-fPIC"
9138 LDEXECFLAGS="-Wl,-pie"
9139 enable_wineandroid_drv=${enable_wineandroid_drv:-yes}
9140 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
9141 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--export-dynamic... " >&6; }
9142 if ${ac_cv_cflags__fPIC__Wl___export_dynamic+:} false; then :
9143 $as_echo_n "(cached) " >&6
9144 else
9145 ac_wine_try_cflags_saved=$CFLAGS
9146 CFLAGS="$CFLAGS -fPIC -Wl,--export-dynamic"
9147 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9148 /* end confdefs.h. */
9149 int main(int argc, char **argv) { return 0; }
9150 _ACEOF
9151 if ac_fn_c_try_link "$LINENO"; then :
9152 ac_cv_cflags__fPIC__Wl___export_dynamic=yes
9153 else
9154 ac_cv_cflags__fPIC__Wl___export_dynamic=no
9156 rm -f core conftest.err conftest.$ac_objext \
9157 conftest$ac_exeext conftest.$ac_ext
9158 CFLAGS=$ac_wine_try_cflags_saved
9160 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
9161 $as_echo "$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
9162 if test "x$ac_cv_cflags__fPIC__Wl___export_dynamic" = xyes; then :
9163 WINELOADER_LDFLAGS="-Wl,--export-dynamic"
9165 WINEPRELOADER_LDFLAGS="-static -nostartfiles -nodefaultlibs -Wl,-Ttext=0x7d400000"
9167 LIBWINE_SHAREDLIB="libwine.so"
9169 LIBWINE_LDFLAGS="-shared -Wl,-soname,libwine.so"
9171 TOP_INSTALL_LIB="$TOP_INSTALL_LIB libs/wine/libwine.so"
9173 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lEGL" >&5
9174 $as_echo_n "checking for -lEGL... " >&6; }
9175 if ${ac_cv_lib_soname_EGL+:} false; then :
9176 $as_echo_n "(cached) " >&6
9177 else
9178 ac_check_soname_save_LIBS=$LIBS
9179 LIBS="-lEGL $LIBS"
9180 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9181 /* end confdefs.h. */
9183 /* Override any GCC internal prototype to avoid an error.
9184 Use char because int might match the return type of a GCC
9185 builtin and then its argument prototype would still apply. */
9186 #ifdef __cplusplus
9187 extern "C"
9188 #endif
9189 char eglGetProcAddress ();
9191 main ()
9193 return eglGetProcAddress ();
9195 return 0;
9197 _ACEOF
9198 if ac_fn_c_try_link "$LINENO"; then :
9199 case "$LIBEXT" in
9200 dll) ac_cv_lib_soname_EGL=`$ac_cv_path_LDD conftest.exe | grep "EGL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9201 dylib) ac_cv_lib_soname_EGL=`$OTOOL -L conftest$ac_exeext | grep "libEGL\\.[0-9A-Za-z.]*dylib" | sed -e "s/^.*\/\(libEGL\.[0-9A-Za-z.]*dylib\).*$/\1/"';2,$d'` ;;
9202 *) ac_cv_lib_soname_EGL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libEGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libEGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9203 if ${ac_cv_lib_soname_EGL:+false} :; then :
9204 ac_cv_lib_soname_EGL=`$LDD conftest$ac_exeext | grep "libEGL\\.$LIBEXT" | sed -e "s/^.*\(libEGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9205 fi ;;
9206 esac
9207 else
9208 ac_cv_lib_soname_EGL=
9210 rm -f core conftest.err conftest.$ac_objext \
9211 conftest$ac_exeext conftest.$ac_ext
9212 LIBS=$ac_check_soname_save_LIBS
9214 if ${ac_cv_lib_soname_EGL:+false} :; then :
9215 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9216 $as_echo "not found" >&6; }
9218 else
9219 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_EGL" >&5
9220 $as_echo "$ac_cv_lib_soname_EGL" >&6; }
9222 cat >>confdefs.h <<_ACEOF
9223 #define SONAME_LIBEGL "$ac_cv_lib_soname_EGL"
9224 _ACEOF
9228 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGLESv2" >&5
9229 $as_echo_n "checking for -lGLESv2... " >&6; }
9230 if ${ac_cv_lib_soname_GLESv2+:} false; then :
9231 $as_echo_n "(cached) " >&6
9232 else
9233 ac_check_soname_save_LIBS=$LIBS
9234 LIBS="-lGLESv2 $LIBS"
9235 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9236 /* end confdefs.h. */
9238 /* Override any GCC internal prototype to avoid an error.
9239 Use char because int might match the return type of a GCC
9240 builtin and then its argument prototype would still apply. */
9241 #ifdef __cplusplus
9242 extern "C"
9243 #endif
9244 char glFlush ();
9246 main ()
9248 return glFlush ();
9250 return 0;
9252 _ACEOF
9253 if ac_fn_c_try_link "$LINENO"; then :
9254 case "$LIBEXT" in
9255 dll) ac_cv_lib_soname_GLESv2=`$ac_cv_path_LDD conftest.exe | grep "GLESv2" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9256 dylib) ac_cv_lib_soname_GLESv2=`$OTOOL -L conftest$ac_exeext | grep "libGLESv2\\.[0-9A-Za-z.]*dylib" | sed -e "s/^.*\/\(libGLESv2\.[0-9A-Za-z.]*dylib\).*$/\1/"';2,$d'` ;;
9257 *) ac_cv_lib_soname_GLESv2=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGLESv2\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGLESv2\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9258 if ${ac_cv_lib_soname_GLESv2:+false} :; then :
9259 ac_cv_lib_soname_GLESv2=`$LDD conftest$ac_exeext | grep "libGLESv2\\.$LIBEXT" | sed -e "s/^.*\(libGLESv2\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9260 fi ;;
9261 esac
9262 else
9263 ac_cv_lib_soname_GLESv2=
9265 rm -f core conftest.err conftest.$ac_objext \
9266 conftest$ac_exeext conftest.$ac_ext
9267 LIBS=$ac_check_soname_save_LIBS
9269 if ${ac_cv_lib_soname_GLESv2:+false} :; then :
9270 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9271 $as_echo "not found" >&6; }
9273 else
9274 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GLESv2" >&5
9275 $as_echo "$ac_cv_lib_soname_GLESv2" >&6; }
9277 cat >>confdefs.h <<_ACEOF
9278 #define SONAME_LIBGLESV2 "$ac_cv_lib_soname_GLESv2"
9279 _ACEOF
9284 if test "x$exec_prefix" = xNONE
9285 then
9286 case $host_cpu in
9287 *i[3456]86*) exec_prefix='${prefix}/x86' ;;
9288 *x86_64*) exec_prefix='${prefix}/x86_64' ;;
9289 *arm*) exec_prefix='${prefix}/armeabi-v7a' ;;
9290 *aarch64*) exec_prefix='${prefix}/arm64-v8a' ;;
9291 esac
9296 case $host_cpu in
9297 *i[3456789]86*)
9298 DLLFLAGS="$DLLFLAGS -fno-PIC"
9299 LDDLLFLAGS="-fno-PIC"
9300 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-PIC -Wl,-z,notext" >&5
9301 $as_echo_n "checking whether the compiler supports -fno-PIC -Wl,-z,notext... " >&6; }
9302 if ${ac_cv_cflags__fno_PIC__Wl__z_notext+:} false; then :
9303 $as_echo_n "(cached) " >&6
9304 else
9305 ac_wine_try_cflags_saved=$CFLAGS
9306 CFLAGS="$CFLAGS -fno-PIC -Wl,-z,notext"
9307 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9308 /* end confdefs.h. */
9309 int main(int argc, char **argv) { return 0; }
9310 _ACEOF
9311 if ac_fn_c_try_link "$LINENO"; then :
9312 ac_cv_cflags__fno_PIC__Wl__z_notext=yes
9313 else
9314 ac_cv_cflags__fno_PIC__Wl__z_notext=no
9316 rm -f core conftest.err conftest.$ac_objext \
9317 conftest$ac_exeext conftest.$ac_ext
9318 CFLAGS=$ac_wine_try_cflags_saved
9320 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_PIC__Wl__z_notext" >&5
9321 $as_echo "$ac_cv_cflags__fno_PIC__Wl__z_notext" >&6; }
9322 if test "x$ac_cv_cflags__fno_PIC__Wl__z_notext" = xyes; then :
9323 LDDLLFLAGS="$LDDLLFLAGS -Wl,-z,notext"
9327 DLLFLAGS="$DLLFLAGS -fPIC"
9328 LDDLLFLAGS="-fPIC" ;;
9329 esac
9330 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build a GNU style ELF dll" >&5
9331 $as_echo_n "checking whether we can build a GNU style ELF dll... " >&6; }
9332 if ${ac_cv_c_dll_gnuelf+:} false; then :
9333 $as_echo_n "(cached) " >&6
9334 else
9335 ac_wine_try_cflags_saved=$CFLAGS
9336 CFLAGS="$CFLAGS -fPIC -shared -Wl,-Bsymbolic"
9337 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9338 /* end confdefs.h. */
9339 void myfunc() {}
9340 _ACEOF
9341 if ac_fn_c_try_link "$LINENO"; then :
9342 ac_cv_cflags__fPIC__shared__Wl__Bsymbolic=yes
9343 else
9344 ac_cv_cflags__fPIC__shared__Wl__Bsymbolic=no
9346 rm -f core conftest.err conftest.$ac_objext \
9347 conftest$ac_exeext conftest.$ac_ext
9348 CFLAGS=$ac_wine_try_cflags_saved
9349 if test "x$ac_cv_cflags__fPIC__shared__Wl__Bsymbolic" = xyes; then :
9350 ac_cv_c_dll_gnuelf="yes"
9351 else
9352 ac_cv_c_dll_gnuelf="no"
9355 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dll_gnuelf" >&5
9356 $as_echo "$ac_cv_c_dll_gnuelf" >&6; }
9357 if test "$ac_cv_c_dll_gnuelf" = "yes"
9358 then
9359 LIBWINE_LDFLAGS="-shared"
9360 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -shared -Wl,-soname,confest.so.1" >&5
9361 $as_echo_n "checking whether the compiler supports -shared -Wl,-soname,confest.so.1... " >&6; }
9362 if ${ac_cv_cflags__shared__Wl__soname_confest_so_1+:} false; then :
9363 $as_echo_n "(cached) " >&6
9364 else
9365 ac_wine_try_cflags_saved=$CFLAGS
9366 CFLAGS="$CFLAGS -shared -Wl,-soname,confest.so.1"
9367 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9368 /* end confdefs.h. */
9369 int main(int argc, char **argv) { return 0; }
9370 _ACEOF
9371 if ac_fn_c_try_link "$LINENO"; then :
9372 ac_cv_cflags__shared__Wl__soname_confest_so_1=yes
9373 else
9374 ac_cv_cflags__shared__Wl__soname_confest_so_1=no
9376 rm -f core conftest.err conftest.$ac_objext \
9377 conftest$ac_exeext conftest.$ac_ext
9378 CFLAGS=$ac_wine_try_cflags_saved
9380 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__shared__Wl__soname_confest_so_1" >&5
9381 $as_echo "$ac_cv_cflags__shared__Wl__soname_confest_so_1" >&6; }
9382 if test "x$ac_cv_cflags__shared__Wl__soname_confest_so_1" = xyes; then :
9383 LIBWINE_LDFLAGS="-shared -Wl,-soname,libwine.so.$libwine_soversion"
9384 else
9385 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -shared -Wl,-h,confest.so.1" >&5
9386 $as_echo_n "checking whether the compiler supports -shared -Wl,-h,confest.so.1... " >&6; }
9387 if ${ac_cv_cflags__shared__Wl__h_confest_so_1+:} false; then :
9388 $as_echo_n "(cached) " >&6
9389 else
9390 ac_wine_try_cflags_saved=$CFLAGS
9391 CFLAGS="$CFLAGS -shared -Wl,-h,confest.so.1"
9392 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9393 /* end confdefs.h. */
9394 int main(int argc, char **argv) { return 0; }
9395 _ACEOF
9396 if ac_fn_c_try_link "$LINENO"; then :
9397 ac_cv_cflags__shared__Wl__h_confest_so_1=yes
9398 else
9399 ac_cv_cflags__shared__Wl__h_confest_so_1=no
9401 rm -f core conftest.err conftest.$ac_objext \
9402 conftest$ac_exeext conftest.$ac_ext
9403 CFLAGS=$ac_wine_try_cflags_saved
9405 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__shared__Wl__h_confest_so_1" >&5
9406 $as_echo "$ac_cv_cflags__shared__Wl__h_confest_so_1" >&6; }
9407 if test "x$ac_cv_cflags__shared__Wl__h_confest_so_1" = xyes; then :
9408 LIBWINE_LDFLAGS="-shared -Wl,-h,libwine.so.$libwine_soversion"
9412 echo '{ global: *; };' >conftest.map
9413 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -shared -Wl,--version-script=conftest.map" >&5
9414 $as_echo_n "checking whether the compiler supports -shared -Wl,--version-script=conftest.map... " >&6; }
9415 if ${ac_cv_cflags__shared__Wl___version_script_conftest_map+:} false; then :
9416 $as_echo_n "(cached) " >&6
9417 else
9418 ac_wine_try_cflags_saved=$CFLAGS
9419 CFLAGS="$CFLAGS -shared -Wl,--version-script=conftest.map"
9420 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9421 /* end confdefs.h. */
9422 int main(int argc, char **argv) { return 0; }
9423 _ACEOF
9424 if ac_fn_c_try_link "$LINENO"; then :
9425 ac_cv_cflags__shared__Wl___version_script_conftest_map=yes
9426 else
9427 ac_cv_cflags__shared__Wl___version_script_conftest_map=no
9429 rm -f core conftest.err conftest.$ac_objext \
9430 conftest$ac_exeext conftest.$ac_ext
9431 CFLAGS=$ac_wine_try_cflags_saved
9433 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__shared__Wl___version_script_conftest_map" >&5
9434 $as_echo "$ac_cv_cflags__shared__Wl___version_script_conftest_map" >&6; }
9435 if test "x$ac_cv_cflags__shared__Wl___version_script_conftest_map" = xyes; then :
9436 LIBWINE_LDFLAGS="$LIBWINE_LDFLAGS -Wl,--version-script=\$(srcdir)/wine.map"
9438 rm -f conftest.map
9440 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--export-dynamic" >&5
9441 $as_echo_n "checking whether the compiler supports -Wl,--export-dynamic... " >&6; }
9442 if ${ac_cv_cflags__Wl___export_dynamic+:} false; then :
9443 $as_echo_n "(cached) " >&6
9444 else
9445 ac_wine_try_cflags_saved=$CFLAGS
9446 CFLAGS="$CFLAGS -Wl,--export-dynamic"
9447 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9448 /* end confdefs.h. */
9449 int main(int argc, char **argv) { return 0; }
9450 _ACEOF
9451 if ac_fn_c_try_link "$LINENO"; then :
9452 ac_cv_cflags__Wl___export_dynamic=yes
9453 else
9454 ac_cv_cflags__Wl___export_dynamic=no
9456 rm -f core conftest.err conftest.$ac_objext \
9457 conftest$ac_exeext conftest.$ac_ext
9458 CFLAGS=$ac_wine_try_cflags_saved
9460 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___export_dynamic" >&5
9461 $as_echo "$ac_cv_cflags__Wl___export_dynamic" >&6; }
9462 if test "x$ac_cv_cflags__Wl___export_dynamic" = xyes; then :
9463 WINELOADER_LDFLAGS="-Wl,--export-dynamic"
9465 WINEPRELOADER_LDFLAGS="-static -nostartfiles -nodefaultlibs -Wl,-Ttext=0x7d400000"
9467 case $host_cpu in
9468 *i[3456789]86* | x86_64 | *aarch64*)
9469 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-Ttext-segment=0x7bc00000" >&5
9470 $as_echo_n "checking whether the compiler supports -Wl,-Ttext-segment=0x7bc00000... " >&6; }
9471 if ${ac_cv_cflags__Wl__Ttext_segment_0x7bc00000+:} false; then :
9472 $as_echo_n "(cached) " >&6
9473 else
9474 ac_wine_try_cflags_saved=$CFLAGS
9475 CFLAGS="$CFLAGS -Wl,-Ttext-segment=0x7bc00000"
9476 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9477 /* end confdefs.h. */
9478 int main(int argc, char **argv) { return 0; }
9479 _ACEOF
9480 if ac_fn_c_try_link "$LINENO"; then :
9481 ac_cv_cflags__Wl__Ttext_segment_0x7bc00000=yes
9482 else
9483 ac_cv_cflags__Wl__Ttext_segment_0x7bc00000=no
9485 rm -f core conftest.err conftest.$ac_objext \
9486 conftest$ac_exeext conftest.$ac_ext
9487 CFLAGS=$ac_wine_try_cflags_saved
9489 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" >&5
9490 $as_echo "$ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" >&6; }
9491 if test "x$ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" = xyes; then :
9492 case $host_os in
9493 freebsd* | kfreebsd*-gnu) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,-Ttext-segment=0x60000000" ;;
9494 *) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,-Ttext-segment=0x7d000000" ;;
9495 esac
9496 else
9497 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--section-start,.interp=0x7d000400" >&5
9498 $as_echo_n "checking whether the compiler supports -Wl,--section-start,.interp=0x7d000400... " >&6; }
9499 if ${ac_cv_cflags__Wl___section_start__interp_0x7d000400+:} false; then :
9500 $as_echo_n "(cached) " >&6
9501 else
9502 ac_wine_try_cflags_saved=$CFLAGS
9503 CFLAGS="$CFLAGS -Wl,--section-start,.interp=0x7d000400"
9504 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9505 /* end confdefs.h. */
9506 int main(int argc, char **argv) { return 0; }
9507 _ACEOF
9508 if ac_fn_c_try_link "$LINENO"; then :
9509 ac_cv_cflags__Wl___section_start__interp_0x7d000400=yes
9510 else
9511 ac_cv_cflags__Wl___section_start__interp_0x7d000400=no
9513 rm -f core conftest.err conftest.$ac_objext \
9514 conftest$ac_exeext conftest.$ac_ext
9515 CFLAGS=$ac_wine_try_cflags_saved
9517 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___section_start__interp_0x7d000400" >&5
9518 $as_echo "$ac_cv_cflags__Wl___section_start__interp_0x7d000400" >&6; }
9519 if test "x$ac_cv_cflags__Wl___section_start__interp_0x7d000400" = xyes; then :
9520 case $host_os in
9521 freebsd* | kfreebsd*-gnu) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,--section-start,.interp=0x60000400" ;;
9522 *) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,--section-start,.interp=0x7d000400" ;;
9523 esac
9525 # Extract the first word of "prelink", so it can be a program name with args.
9526 set dummy prelink; ac_word=$2
9527 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9528 $as_echo_n "checking for $ac_word... " >&6; }
9529 if ${ac_cv_path_PRELINK+:} false; then :
9530 $as_echo_n "(cached) " >&6
9531 else
9532 case $PRELINK in
9533 [\\/]* | ?:[\\/]*)
9534 ac_cv_path_PRELINK="$PRELINK" # Let the user override the test with a path.
9537 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9538 for as_dir in /sbin /usr/sbin $PATH
9540 IFS=$as_save_IFS
9541 test -z "$as_dir" && as_dir=.
9542 for ac_exec_ext in '' $ac_executable_extensions; do
9543 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9544 ac_cv_path_PRELINK="$as_dir/$ac_word$ac_exec_ext"
9545 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9546 break 2
9548 done
9549 done
9550 IFS=$as_save_IFS
9552 test -z "$ac_cv_path_PRELINK" && ac_cv_path_PRELINK="false"
9554 esac
9556 PRELINK=$ac_cv_path_PRELINK
9557 if test -n "$PRELINK"; then
9558 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PRELINK" >&5
9559 $as_echo "$PRELINK" >&6; }
9560 else
9561 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9562 $as_echo "no" >&6; }
9566 if test "x$PRELINK" = xfalse
9567 then
9568 as_fn_append wine_warnings "|prelink not found and linker does not support relocation, base address of core dlls won't be set correctly."
9571 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-z,max-page-size=0x1000" >&5
9572 $as_echo_n "checking whether the compiler supports -Wl,-z,max-page-size=0x1000... " >&6; }
9573 if ${ac_cv_cflags__Wl__z_max_page_size_0x1000+:} false; then :
9574 $as_echo_n "(cached) " >&6
9575 else
9576 ac_wine_try_cflags_saved=$CFLAGS
9577 CFLAGS="$CFLAGS -Wl,-z,max-page-size=0x1000"
9578 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9579 /* end confdefs.h. */
9580 int main(int argc, char **argv) { return 0; }
9581 _ACEOF
9582 if ac_fn_c_try_link "$LINENO"; then :
9583 ac_cv_cflags__Wl__z_max_page_size_0x1000=yes
9584 else
9585 ac_cv_cflags__Wl__z_max_page_size_0x1000=no
9587 rm -f core conftest.err conftest.$ac_objext \
9588 conftest$ac_exeext conftest.$ac_ext
9589 CFLAGS=$ac_wine_try_cflags_saved
9591 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__z_max_page_size_0x1000" >&5
9592 $as_echo "$ac_cv_cflags__Wl__z_max_page_size_0x1000" >&6; }
9593 if test "x$ac_cv_cflags__Wl__z_max_page_size_0x1000" = xyes; then :
9594 WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,-z,max-page-size=0x1000"
9597 esac
9599 else
9600 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build a UnixWare (Solaris) dll" >&5
9601 $as_echo_n "checking whether we can build a UnixWare (Solaris) dll... " >&6; }
9602 if ${ac_cv_c_dll_unixware+:} false; then :
9603 $as_echo_n "(cached) " >&6
9604 else
9605 ac_wine_try_cflags_saved=$CFLAGS
9606 CFLAGS="$CFLAGS -fPIC -Wl,-G,-h,conftest.so.1.0,-B,symbolic"
9607 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9608 /* end confdefs.h. */
9609 void myfunc() {}
9610 _ACEOF
9611 if ac_fn_c_try_link "$LINENO"; then :
9612 ac_cv_cflags__fPIC__Wl__G__h_conftest_so_1_0__B_symbolic=yes
9613 else
9614 ac_cv_cflags__fPIC__Wl__G__h_conftest_so_1_0__B_symbolic=no
9616 rm -f core conftest.err conftest.$ac_objext \
9617 conftest$ac_exeext conftest.$ac_ext
9618 CFLAGS=$ac_wine_try_cflags_saved
9619 if test "x$ac_cv_cflags__fPIC__Wl__G__h_conftest_so_1_0__B_symbolic" = xyes; then :
9620 ac_cv_c_dll_unixware="yes"
9621 else
9622 ac_cv_c_dll_unixware="no"
9625 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dll_unixware" >&5
9626 $as_echo "$ac_cv_c_dll_unixware" >&6; }
9627 if test "$ac_cv_c_dll_unixware" = "yes"
9628 then
9629 LIBWINE_LDFLAGS="-Wl,-G,-h,libwine.so.$libwine_soversion"
9632 LIBWINE_SHAREDLIB="libwine.so.$libwine_version"
9634 LIBWINE_DEPENDS="wine.map"
9636 TOP_INSTALL_LIB="$TOP_INSTALL_LIB libs/wine/libwine.so.$libwine_version libs/wine/libwine.so.$libwine_soversion"
9638 esac
9640 enable_winecoreaudio_drv=${enable_winecoreaudio_drv:-no}
9641 enable_wineqtdecoder=${enable_wineqtdecoder:-no}
9642 enable_wineandroid_drv=${enable_wineandroid_drv:-no}
9643 enable_winemac_drv=${enable_winemac_drv:-no}
9644 test "$ac_cv_header_linux_joystick_h" = "yes" -o "$ac_cv_header_IOKit_hid_IOHIDLib_h" = "yes" || enable_winejoystick_drv=${enable_winejoystick_drv:-no}
9647 if test "x$with_mingw" != xno
9648 then
9649 case "x$with_mingw" in
9650 x|xyes) case "$host_cpu" in
9651 aarch64*)
9652 ac_prefix_list="aarch64-w64-mingw32-clang aarch64-w64-mingw32-gcc" ;;
9653 arm*)
9654 ac_prefix_list="armv7-w64-mingw32-clang armv7-w64-mingw32-gcc" ;;
9655 i[3456789]86*)
9656 ac_prefix_list="i686-w64-mingw32-gcc i586-w64-mingw32-gcc i486-w64-mingw32-gcc i386-w64-mingw32-gcc i686-pc-mingw32-gcc i586-pc-mingw32-gcc i486-pc-mingw32-gcc i386-pc-mingw32-gcc i686-mingw32msvc-gcc i586-mingw32msvc-gcc i486-mingw32msvc-gcc i386-mingw32msvc-gcc i686-mingw32-gcc i586-mingw32-gcc i486-mingw32-gcc i386-mingw32-gcc
9657 i686-w64-mingw32-clang i586-w64-mingw32-clang i486-w64-mingw32-clang i386-w64-mingw32-clang
9658 mingw32-gcc" ;;
9659 x86_64)
9660 ac_prefix_list="x86_64-pc-mingw32-gcc amd64-pc-mingw32-gcc x86_64-w64-mingw32-gcc amd64-w64-mingw32-gcc x86_64-mingw32msvc-gcc amd64-mingw32msvc-gcc
9661 x86_64-w64-mingw32-clang amd64-w64-mingw32-clang " ;;
9663 ac_prefix_list="" ;;
9664 esac
9665 for ac_prog in $ac_prefix_list
9667 # Extract the first word of "$ac_prog", so it can be a program name with args.
9668 set dummy $ac_prog; ac_word=$2
9669 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9670 $as_echo_n "checking for $ac_word... " >&6; }
9671 if ${ac_cv_prog_CROSSCC+:} false; then :
9672 $as_echo_n "(cached) " >&6
9673 else
9674 if test -n "$CROSSCC"; then
9675 ac_cv_prog_CROSSCC="$CROSSCC" # Let the user override the test.
9676 else
9677 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9678 for as_dir in $PATH
9680 IFS=$as_save_IFS
9681 test -z "$as_dir" && as_dir=.
9682 for ac_exec_ext in '' $ac_executable_extensions; do
9683 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9684 ac_cv_prog_CROSSCC="$ac_prog"
9685 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9686 break 2
9688 done
9689 done
9690 IFS=$as_save_IFS
9694 CROSSCC=$ac_cv_prog_CROSSCC
9695 if test -n "$CROSSCC"; then
9696 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CROSSCC" >&5
9697 $as_echo "$CROSSCC" >&6; }
9698 else
9699 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9700 $as_echo "no" >&6; }
9704 test -n "$CROSSCC" && break
9705 done
9706 test -n "$CROSSCC" || CROSSCC="false"
9708 *) CROSSCC=$with_mingw ;;
9709 esac
9710 if test "$CROSSCC" != "false"
9711 then
9712 ac_save_CC="$CC"
9713 saved_CFLAGS=$CFLAGS
9714 CROSSCFLAGS=${CROSSCFLAGS:-"-g -O2"}
9716 EXTRACROSSCFLAGS="-DWINE_CROSS_PE -Wall"
9720 CC="$CROSSCC"
9721 CFLAGS=$CROSSCFLAGS
9722 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CROSSCC works" >&5
9723 $as_echo_n "checking whether $CROSSCC works... " >&6; }
9724 if ${wine_cv_crosscc+:} false; then :
9725 $as_echo_n "(cached) " >&6
9726 else
9727 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9728 /* end confdefs.h. */
9731 main ()
9735 return 0;
9737 _ACEOF
9738 if ac_fn_c_try_compile "$LINENO"; then :
9739 wine_cv_crosscc=yes
9740 else
9741 wine_cv_crosscc=no
9743 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9745 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_crosscc" >&5
9746 $as_echo "$wine_cv_crosscc" >&6; }
9747 if test $wine_cv_crosscc = yes
9748 then
9749 set x $CROSSCC
9750 shift
9751 while test $# -ge 1
9753 case "$1" in
9754 *-gcc) CROSSTARGET=`expr "$1" : '\(.*\)-gcc'` ;;
9755 *-clang) CROSSTARGET=`expr "$1" : '\(.*\)-clang'` ;;
9756 esac
9757 shift
9758 done
9760 llvm_target=$CROSSTARGET
9761 llvm_cflags="-fuse-ld=lld"
9762 if test -z "$llvm_target"
9763 then
9764 case $host_cpu in
9765 *i[3456789]86*) llvm_target=i686-windows ;;
9766 *) llvm_target=$host_cpu-windows ;;
9767 esac
9769 case $llvm_target in
9770 *windows) llvm_cflags="$llvm_cflags -Wl,-subsystem:console" ;;
9771 esac
9772 as_ac_var=`$as_echo "ac_cv_crosscflags_-target $llvm_target $llvm_cflags" | $as_tr_sh`
9773 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -target $llvm_target $llvm_cflags" >&5
9774 $as_echo_n "checking whether the cross-compiler supports -target $llvm_target $llvm_cflags... " >&6; }
9775 if eval \${$as_ac_var+:} false; then :
9776 $as_echo_n "(cached) " >&6
9777 else
9778 ac_wine_try_cflags_saved=$CFLAGS
9779 ac_wine_try_cflags_saved_cc=$CC
9780 ac_wine_try_cflags_saved_exeext=$ac_exeext
9781 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -target $llvm_target $llvm_cflags"
9782 CC="$CROSSCC"
9783 ac_exeext=".exe"
9784 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9785 /* end confdefs.h. */
9786 int __cdecl mainCRTStartup(void) { return 0; }
9787 _ACEOF
9788 if ac_fn_c_try_link "$LINENO"; then :
9789 eval "$as_ac_var=yes"
9790 else
9791 eval "$as_ac_var=no"
9793 rm -f core conftest.err conftest.$ac_objext \
9794 conftest$ac_exeext conftest.$ac_ext
9795 CFLAGS=$ac_wine_try_cflags_saved
9796 CC=$ac_wine_try_cflags_saved_cc
9797 ac_exeext=$ac_wine_try_cflags_saved_exeext
9799 eval ac_res=\$$as_ac_var
9800 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
9801 $as_echo "$ac_res" >&6; }
9802 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
9803 CROSSTARGET=$llvm_target
9804 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -target $CROSSTARGET"
9805 DELAYLOADFLAG="-Wl,-delayload,"
9807 CFLAGS="$CFLAGS $llvm_cflags"
9810 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -fno-strict-aliasing" >&5
9811 $as_echo_n "checking whether the cross-compiler supports -fno-strict-aliasing... " >&6; }
9812 if ${ac_cv_crosscflags__fno_strict_aliasing+:} false; then :
9813 $as_echo_n "(cached) " >&6
9814 else
9815 ac_wine_try_cflags_saved=$CFLAGS
9816 ac_wine_try_cflags_saved_cc=$CC
9817 ac_wine_try_cflags_saved_exeext=$ac_exeext
9818 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -fno-strict-aliasing"
9819 CC="$CROSSCC"
9820 ac_exeext=".exe"
9821 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9822 /* end confdefs.h. */
9823 int __cdecl mainCRTStartup(void) { return 0; }
9824 _ACEOF
9825 if ac_fn_c_try_link "$LINENO"; then :
9826 ac_cv_crosscflags__fno_strict_aliasing=yes
9827 else
9828 ac_cv_crosscflags__fno_strict_aliasing=no
9830 rm -f core conftest.err conftest.$ac_objext \
9831 conftest$ac_exeext conftest.$ac_ext
9832 CFLAGS=$ac_wine_try_cflags_saved
9833 CC=$ac_wine_try_cflags_saved_cc
9834 ac_exeext=$ac_wine_try_cflags_saved_exeext
9836 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__fno_strict_aliasing" >&5
9837 $as_echo "$ac_cv_crosscflags__fno_strict_aliasing" >&6; }
9838 if test "x$ac_cv_crosscflags__fno_strict_aliasing" = xyes; then :
9839 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -fno-strict-aliasing"
9841 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Werror=unknown-warning-option" >&5
9842 $as_echo_n "checking whether the cross-compiler supports -Werror=unknown-warning-option... " >&6; }
9843 if ${ac_cv_crosscflags__Werror_unknown_warning_option+:} false; then :
9844 $as_echo_n "(cached) " >&6
9845 else
9846 ac_wine_try_cflags_saved=$CFLAGS
9847 ac_wine_try_cflags_saved_cc=$CC
9848 ac_wine_try_cflags_saved_exeext=$ac_exeext
9849 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Werror=unknown-warning-option"
9850 CC="$CROSSCC"
9851 ac_exeext=".exe"
9852 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9853 /* end confdefs.h. */
9854 int __cdecl mainCRTStartup(void) { return 0; }
9855 _ACEOF
9856 if ac_fn_c_try_link "$LINENO"; then :
9857 ac_cv_crosscflags__Werror_unknown_warning_option=yes
9858 else
9859 ac_cv_crosscflags__Werror_unknown_warning_option=no
9861 rm -f core conftest.err conftest.$ac_objext \
9862 conftest$ac_exeext conftest.$ac_ext
9863 CFLAGS=$ac_wine_try_cflags_saved
9864 CC=$ac_wine_try_cflags_saved_cc
9865 ac_exeext=$ac_wine_try_cflags_saved_exeext
9867 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Werror_unknown_warning_option" >&5
9868 $as_echo "$ac_cv_crosscflags__Werror_unknown_warning_option" >&6; }
9869 if test "x$ac_cv_crosscflags__Werror_unknown_warning_option" = xyes; then :
9870 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
9872 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Werror=ignored-optimization-argument" >&5
9873 $as_echo_n "checking whether the cross-compiler supports -Werror=ignored-optimization-argument... " >&6; }
9874 if ${ac_cv_crosscflags__Werror_ignored_optimization_argument+:} false; then :
9875 $as_echo_n "(cached) " >&6
9876 else
9877 ac_wine_try_cflags_saved=$CFLAGS
9878 ac_wine_try_cflags_saved_cc=$CC
9879 ac_wine_try_cflags_saved_exeext=$ac_exeext
9880 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Werror=ignored-optimization-argument"
9881 CC="$CROSSCC"
9882 ac_exeext=".exe"
9883 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9884 /* end confdefs.h. */
9885 int __cdecl mainCRTStartup(void) { return 0; }
9886 _ACEOF
9887 if ac_fn_c_try_link "$LINENO"; then :
9888 ac_cv_crosscflags__Werror_ignored_optimization_argument=yes
9889 else
9890 ac_cv_crosscflags__Werror_ignored_optimization_argument=no
9892 rm -f core conftest.err conftest.$ac_objext \
9893 conftest$ac_exeext conftest.$ac_ext
9894 CFLAGS=$ac_wine_try_cflags_saved
9895 CC=$ac_wine_try_cflags_saved_cc
9896 ac_exeext=$ac_wine_try_cflags_saved_exeext
9898 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Werror_ignored_optimization_argument" >&5
9899 $as_echo "$ac_cv_crosscflags__Werror_ignored_optimization_argument" >&6; }
9900 if test "x$ac_cv_crosscflags__Werror_ignored_optimization_argument" = xyes; then :
9901 CFLAGS="$CFLAGS -Werror=ignored-optimization-argument"
9903 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wdeclaration-after-statement" >&5
9904 $as_echo_n "checking whether the cross-compiler supports -Wdeclaration-after-statement... " >&6; }
9905 if ${ac_cv_crosscflags__Wdeclaration_after_statement+:} false; then :
9906 $as_echo_n "(cached) " >&6
9907 else
9908 ac_wine_try_cflags_saved=$CFLAGS
9909 ac_wine_try_cflags_saved_cc=$CC
9910 ac_wine_try_cflags_saved_exeext=$ac_exeext
9911 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wdeclaration-after-statement"
9912 CC="$CROSSCC"
9913 ac_exeext=".exe"
9914 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9915 /* end confdefs.h. */
9916 int __cdecl mainCRTStartup(void) { return 0; }
9917 _ACEOF
9918 if ac_fn_c_try_link "$LINENO"; then :
9919 ac_cv_crosscflags__Wdeclaration_after_statement=yes
9920 else
9921 ac_cv_crosscflags__Wdeclaration_after_statement=no
9923 rm -f core conftest.err conftest.$ac_objext \
9924 conftest$ac_exeext conftest.$ac_ext
9925 CFLAGS=$ac_wine_try_cflags_saved
9926 CC=$ac_wine_try_cflags_saved_cc
9927 ac_exeext=$ac_wine_try_cflags_saved_exeext
9929 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wdeclaration_after_statement" >&5
9930 $as_echo "$ac_cv_crosscflags__Wdeclaration_after_statement" >&6; }
9931 if test "x$ac_cv_crosscflags__Wdeclaration_after_statement" = xyes; then :
9932 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wdeclaration-after-statement"
9934 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wempty-body" >&5
9935 $as_echo_n "checking whether the cross-compiler supports -Wempty-body... " >&6; }
9936 if ${ac_cv_crosscflags__Wempty_body+:} false; then :
9937 $as_echo_n "(cached) " >&6
9938 else
9939 ac_wine_try_cflags_saved=$CFLAGS
9940 ac_wine_try_cflags_saved_cc=$CC
9941 ac_wine_try_cflags_saved_exeext=$ac_exeext
9942 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wempty-body"
9943 CC="$CROSSCC"
9944 ac_exeext=".exe"
9945 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9946 /* end confdefs.h. */
9947 int __cdecl mainCRTStartup(void) { return 0; }
9948 _ACEOF
9949 if ac_fn_c_try_link "$LINENO"; then :
9950 ac_cv_crosscflags__Wempty_body=yes
9951 else
9952 ac_cv_crosscflags__Wempty_body=no
9954 rm -f core conftest.err conftest.$ac_objext \
9955 conftest$ac_exeext conftest.$ac_ext
9956 CFLAGS=$ac_wine_try_cflags_saved
9957 CC=$ac_wine_try_cflags_saved_cc
9958 ac_exeext=$ac_wine_try_cflags_saved_exeext
9960 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wempty_body" >&5
9961 $as_echo "$ac_cv_crosscflags__Wempty_body" >&6; }
9962 if test "x$ac_cv_crosscflags__Wempty_body" = xyes; then :
9963 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wempty-body"
9965 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wignored-qualifiers" >&5
9966 $as_echo_n "checking whether the cross-compiler supports -Wignored-qualifiers... " >&6; }
9967 if ${ac_cv_crosscflags__Wignored_qualifiers+:} false; then :
9968 $as_echo_n "(cached) " >&6
9969 else
9970 ac_wine_try_cflags_saved=$CFLAGS
9971 ac_wine_try_cflags_saved_cc=$CC
9972 ac_wine_try_cflags_saved_exeext=$ac_exeext
9973 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wignored-qualifiers"
9974 CC="$CROSSCC"
9975 ac_exeext=".exe"
9976 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9977 /* end confdefs.h. */
9978 int __cdecl mainCRTStartup(void) { return 0; }
9979 _ACEOF
9980 if ac_fn_c_try_link "$LINENO"; then :
9981 ac_cv_crosscflags__Wignored_qualifiers=yes
9982 else
9983 ac_cv_crosscflags__Wignored_qualifiers=no
9985 rm -f core conftest.err conftest.$ac_objext \
9986 conftest$ac_exeext conftest.$ac_ext
9987 CFLAGS=$ac_wine_try_cflags_saved
9988 CC=$ac_wine_try_cflags_saved_cc
9989 ac_exeext=$ac_wine_try_cflags_saved_exeext
9991 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wignored_qualifiers" >&5
9992 $as_echo "$ac_cv_crosscflags__Wignored_qualifiers" >&6; }
9993 if test "x$ac_cv_crosscflags__Wignored_qualifiers" = xyes; then :
9994 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wignored-qualifiers"
9996 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Winit-self" >&5
9997 $as_echo_n "checking whether the cross-compiler supports -Winit-self... " >&6; }
9998 if ${ac_cv_crosscflags__Winit_self+:} false; then :
9999 $as_echo_n "(cached) " >&6
10000 else
10001 ac_wine_try_cflags_saved=$CFLAGS
10002 ac_wine_try_cflags_saved_cc=$CC
10003 ac_wine_try_cflags_saved_exeext=$ac_exeext
10004 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Winit-self"
10005 CC="$CROSSCC"
10006 ac_exeext=".exe"
10007 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10008 /* end confdefs.h. */
10009 int __cdecl mainCRTStartup(void) { return 0; }
10010 _ACEOF
10011 if ac_fn_c_try_link "$LINENO"; then :
10012 ac_cv_crosscflags__Winit_self=yes
10013 else
10014 ac_cv_crosscflags__Winit_self=no
10016 rm -f core conftest.err conftest.$ac_objext \
10017 conftest$ac_exeext conftest.$ac_ext
10018 CFLAGS=$ac_wine_try_cflags_saved
10019 CC=$ac_wine_try_cflags_saved_cc
10020 ac_exeext=$ac_wine_try_cflags_saved_exeext
10022 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Winit_self" >&5
10023 $as_echo "$ac_cv_crosscflags__Winit_self" >&6; }
10024 if test "x$ac_cv_crosscflags__Winit_self" = xyes; then :
10025 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Winit-self"
10027 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wpacked-not-aligned" >&5
10028 $as_echo_n "checking whether the cross-compiler supports -Wpacked-not-aligned... " >&6; }
10029 if ${ac_cv_crosscflags__Wpacked_not_aligned+:} false; then :
10030 $as_echo_n "(cached) " >&6
10031 else
10032 ac_wine_try_cflags_saved=$CFLAGS
10033 ac_wine_try_cflags_saved_cc=$CC
10034 ac_wine_try_cflags_saved_exeext=$ac_exeext
10035 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wpacked-not-aligned"
10036 CC="$CROSSCC"
10037 ac_exeext=".exe"
10038 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10039 /* end confdefs.h. */
10040 int __cdecl mainCRTStartup(void) { return 0; }
10041 _ACEOF
10042 if ac_fn_c_try_link "$LINENO"; then :
10043 ac_cv_crosscflags__Wpacked_not_aligned=yes
10044 else
10045 ac_cv_crosscflags__Wpacked_not_aligned=no
10047 rm -f core conftest.err conftest.$ac_objext \
10048 conftest$ac_exeext conftest.$ac_ext
10049 CFLAGS=$ac_wine_try_cflags_saved
10050 CC=$ac_wine_try_cflags_saved_cc
10051 ac_exeext=$ac_wine_try_cflags_saved_exeext
10053 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wpacked_not_aligned" >&5
10054 $as_echo "$ac_cv_crosscflags__Wpacked_not_aligned" >&6; }
10055 if test "x$ac_cv_crosscflags__Wpacked_not_aligned" = xyes; then :
10056 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wno-packed-not-aligned"
10058 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wpragma-pack" >&5
10059 $as_echo_n "checking whether the cross-compiler supports -Wpragma-pack... " >&6; }
10060 if ${ac_cv_crosscflags__Wpragma_pack+:} false; then :
10061 $as_echo_n "(cached) " >&6
10062 else
10063 ac_wine_try_cflags_saved=$CFLAGS
10064 ac_wine_try_cflags_saved_cc=$CC
10065 ac_wine_try_cflags_saved_exeext=$ac_exeext
10066 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wpragma-pack"
10067 CC="$CROSSCC"
10068 ac_exeext=".exe"
10069 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10070 /* end confdefs.h. */
10071 int __cdecl mainCRTStartup(void) { return 0; }
10072 _ACEOF
10073 if ac_fn_c_try_link "$LINENO"; then :
10074 ac_cv_crosscflags__Wpragma_pack=yes
10075 else
10076 ac_cv_crosscflags__Wpragma_pack=no
10078 rm -f core conftest.err conftest.$ac_objext \
10079 conftest$ac_exeext conftest.$ac_ext
10080 CFLAGS=$ac_wine_try_cflags_saved
10081 CC=$ac_wine_try_cflags_saved_cc
10082 ac_exeext=$ac_wine_try_cflags_saved_exeext
10084 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wpragma_pack" >&5
10085 $as_echo "$ac_cv_crosscflags__Wpragma_pack" >&6; }
10086 if test "x$ac_cv_crosscflags__Wpragma_pack" = xyes; then :
10087 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wno-pragma-pack"
10089 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wshift-overflow=2" >&5
10090 $as_echo_n "checking whether the cross-compiler supports -Wshift-overflow=2... " >&6; }
10091 if ${ac_cv_crosscflags__Wshift_overflow_2+:} false; then :
10092 $as_echo_n "(cached) " >&6
10093 else
10094 ac_wine_try_cflags_saved=$CFLAGS
10095 ac_wine_try_cflags_saved_cc=$CC
10096 ac_wine_try_cflags_saved_exeext=$ac_exeext
10097 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wshift-overflow=2"
10098 CC="$CROSSCC"
10099 ac_exeext=".exe"
10100 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10101 /* end confdefs.h. */
10102 int __cdecl mainCRTStartup(void) { return 0; }
10103 _ACEOF
10104 if ac_fn_c_try_link "$LINENO"; then :
10105 ac_cv_crosscflags__Wshift_overflow_2=yes
10106 else
10107 ac_cv_crosscflags__Wshift_overflow_2=no
10109 rm -f core conftest.err conftest.$ac_objext \
10110 conftest$ac_exeext conftest.$ac_ext
10111 CFLAGS=$ac_wine_try_cflags_saved
10112 CC=$ac_wine_try_cflags_saved_cc
10113 ac_exeext=$ac_wine_try_cflags_saved_exeext
10115 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wshift_overflow_2" >&5
10116 $as_echo "$ac_cv_crosscflags__Wshift_overflow_2" >&6; }
10117 if test "x$ac_cv_crosscflags__Wshift_overflow_2" = xyes; then :
10118 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wshift-overflow=2"
10120 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wstrict-prototypes" >&5
10121 $as_echo_n "checking whether the cross-compiler supports -Wstrict-prototypes... " >&6; }
10122 if ${ac_cv_crosscflags__Wstrict_prototypes+:} false; then :
10123 $as_echo_n "(cached) " >&6
10124 else
10125 ac_wine_try_cflags_saved=$CFLAGS
10126 ac_wine_try_cflags_saved_cc=$CC
10127 ac_wine_try_cflags_saved_exeext=$ac_exeext
10128 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wstrict-prototypes"
10129 CC="$CROSSCC"
10130 ac_exeext=".exe"
10131 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10132 /* end confdefs.h. */
10133 int __cdecl mainCRTStartup(void) { return 0; }
10134 _ACEOF
10135 if ac_fn_c_try_link "$LINENO"; then :
10136 ac_cv_crosscflags__Wstrict_prototypes=yes
10137 else
10138 ac_cv_crosscflags__Wstrict_prototypes=no
10140 rm -f core conftest.err conftest.$ac_objext \
10141 conftest$ac_exeext conftest.$ac_ext
10142 CFLAGS=$ac_wine_try_cflags_saved
10143 CC=$ac_wine_try_cflags_saved_cc
10144 ac_exeext=$ac_wine_try_cflags_saved_exeext
10146 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wstrict_prototypes" >&5
10147 $as_echo "$ac_cv_crosscflags__Wstrict_prototypes" >&6; }
10148 if test "x$ac_cv_crosscflags__Wstrict_prototypes" = xyes; then :
10149 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wstrict-prototypes"
10151 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wtype-limits" >&5
10152 $as_echo_n "checking whether the cross-compiler supports -Wtype-limits... " >&6; }
10153 if ${ac_cv_crosscflags__Wtype_limits+:} false; then :
10154 $as_echo_n "(cached) " >&6
10155 else
10156 ac_wine_try_cflags_saved=$CFLAGS
10157 ac_wine_try_cflags_saved_cc=$CC
10158 ac_wine_try_cflags_saved_exeext=$ac_exeext
10159 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wtype-limits"
10160 CC="$CROSSCC"
10161 ac_exeext=".exe"
10162 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10163 /* end confdefs.h. */
10164 int __cdecl mainCRTStartup(void) { return 0; }
10165 _ACEOF
10166 if ac_fn_c_try_link "$LINENO"; then :
10167 ac_cv_crosscflags__Wtype_limits=yes
10168 else
10169 ac_cv_crosscflags__Wtype_limits=no
10171 rm -f core conftest.err conftest.$ac_objext \
10172 conftest$ac_exeext conftest.$ac_ext
10173 CFLAGS=$ac_wine_try_cflags_saved
10174 CC=$ac_wine_try_cflags_saved_cc
10175 ac_exeext=$ac_wine_try_cflags_saved_exeext
10177 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wtype_limits" >&5
10178 $as_echo "$ac_cv_crosscflags__Wtype_limits" >&6; }
10179 if test "x$ac_cv_crosscflags__Wtype_limits" = xyes; then :
10180 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wtype-limits"
10182 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wunused-but-set-parameter" >&5
10183 $as_echo_n "checking whether the cross-compiler supports -Wunused-but-set-parameter... " >&6; }
10184 if ${ac_cv_crosscflags__Wunused_but_set_parameter+:} false; then :
10185 $as_echo_n "(cached) " >&6
10186 else
10187 ac_wine_try_cflags_saved=$CFLAGS
10188 ac_wine_try_cflags_saved_cc=$CC
10189 ac_wine_try_cflags_saved_exeext=$ac_exeext
10190 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wunused-but-set-parameter"
10191 CC="$CROSSCC"
10192 ac_exeext=".exe"
10193 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10194 /* end confdefs.h. */
10195 int __cdecl mainCRTStartup(void) { return 0; }
10196 _ACEOF
10197 if ac_fn_c_try_link "$LINENO"; then :
10198 ac_cv_crosscflags__Wunused_but_set_parameter=yes
10199 else
10200 ac_cv_crosscflags__Wunused_but_set_parameter=no
10202 rm -f core conftest.err conftest.$ac_objext \
10203 conftest$ac_exeext conftest.$ac_ext
10204 CFLAGS=$ac_wine_try_cflags_saved
10205 CC=$ac_wine_try_cflags_saved_cc
10206 ac_exeext=$ac_wine_try_cflags_saved_exeext
10208 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wunused_but_set_parameter" >&5
10209 $as_echo "$ac_cv_crosscflags__Wunused_but_set_parameter" >&6; }
10210 if test "x$ac_cv_crosscflags__Wunused_but_set_parameter" = xyes; then :
10211 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wunused-but-set-parameter"
10213 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wvla" >&5
10214 $as_echo_n "checking whether the cross-compiler supports -Wvla... " >&6; }
10215 if ${ac_cv_crosscflags__Wvla+:} false; then :
10216 $as_echo_n "(cached) " >&6
10217 else
10218 ac_wine_try_cflags_saved=$CFLAGS
10219 ac_wine_try_cflags_saved_cc=$CC
10220 ac_wine_try_cflags_saved_exeext=$ac_exeext
10221 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wvla"
10222 CC="$CROSSCC"
10223 ac_exeext=".exe"
10224 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10225 /* end confdefs.h. */
10226 int __cdecl mainCRTStartup(void) { return 0; }
10227 _ACEOF
10228 if ac_fn_c_try_link "$LINENO"; then :
10229 ac_cv_crosscflags__Wvla=yes
10230 else
10231 ac_cv_crosscflags__Wvla=no
10233 rm -f core conftest.err conftest.$ac_objext \
10234 conftest$ac_exeext conftest.$ac_ext
10235 CFLAGS=$ac_wine_try_cflags_saved
10236 CC=$ac_wine_try_cflags_saved_cc
10237 ac_exeext=$ac_wine_try_cflags_saved_exeext
10239 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wvla" >&5
10240 $as_echo "$ac_cv_crosscflags__Wvla" >&6; }
10241 if test "x$ac_cv_crosscflags__Wvla" = xyes; then :
10242 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wvla"
10244 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wwrite-strings" >&5
10245 $as_echo_n "checking whether the cross-compiler supports -Wwrite-strings... " >&6; }
10246 if ${ac_cv_crosscflags__Wwrite_strings+:} false; then :
10247 $as_echo_n "(cached) " >&6
10248 else
10249 ac_wine_try_cflags_saved=$CFLAGS
10250 ac_wine_try_cflags_saved_cc=$CC
10251 ac_wine_try_cflags_saved_exeext=$ac_exeext
10252 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wwrite-strings"
10253 CC="$CROSSCC"
10254 ac_exeext=".exe"
10255 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10256 /* end confdefs.h. */
10257 int __cdecl mainCRTStartup(void) { return 0; }
10258 _ACEOF
10259 if ac_fn_c_try_link "$LINENO"; then :
10260 ac_cv_crosscflags__Wwrite_strings=yes
10261 else
10262 ac_cv_crosscflags__Wwrite_strings=no
10264 rm -f core conftest.err conftest.$ac_objext \
10265 conftest$ac_exeext conftest.$ac_ext
10266 CFLAGS=$ac_wine_try_cflags_saved
10267 CC=$ac_wine_try_cflags_saved_cc
10268 ac_exeext=$ac_wine_try_cflags_saved_exeext
10270 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wwrite_strings" >&5
10271 $as_echo "$ac_cv_crosscflags__Wwrite_strings" >&6; }
10272 if test "x$ac_cv_crosscflags__Wwrite_strings" = xyes; then :
10273 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wwrite-strings"
10275 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wpointer-arith" >&5
10276 $as_echo_n "checking whether the cross-compiler supports -Wpointer-arith... " >&6; }
10277 if ${ac_cv_crosscflags__Wpointer_arith+:} false; then :
10278 $as_echo_n "(cached) " >&6
10279 else
10280 ac_wine_try_cflags_saved=$CFLAGS
10281 ac_wine_try_cflags_saved_cc=$CC
10282 ac_wine_try_cflags_saved_exeext=$ac_exeext
10283 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wpointer-arith"
10284 CC="$CROSSCC"
10285 ac_exeext=".exe"
10286 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10287 /* end confdefs.h. */
10288 int __cdecl mainCRTStartup(void) { return 0; }
10289 _ACEOF
10290 if ac_fn_c_try_link "$LINENO"; then :
10291 ac_cv_crosscflags__Wpointer_arith=yes
10292 else
10293 ac_cv_crosscflags__Wpointer_arith=no
10295 rm -f core conftest.err conftest.$ac_objext \
10296 conftest$ac_exeext conftest.$ac_ext
10297 CFLAGS=$ac_wine_try_cflags_saved
10298 CC=$ac_wine_try_cflags_saved_cc
10299 ac_exeext=$ac_wine_try_cflags_saved_exeext
10301 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wpointer_arith" >&5
10302 $as_echo "$ac_cv_crosscflags__Wpointer_arith" >&6; }
10303 if test "x$ac_cv_crosscflags__Wpointer_arith" = xyes; then :
10304 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wpointer-arith"
10306 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wlogical-op" >&5
10307 $as_echo_n "checking whether the cross-compiler supports -Wlogical-op... " >&6; }
10308 if ${ac_cv_crosscflags__Wlogical_op+:} false; then :
10309 $as_echo_n "(cached) " >&6
10310 else
10311 ac_wine_try_cflags_saved=$CFLAGS
10312 ac_wine_try_cflags_saved_cc=$CC
10313 ac_wine_try_cflags_saved_exeext=$ac_exeext
10314 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wlogical-op"
10315 CC="$CROSSCC"
10316 ac_exeext=".exe"
10317 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10318 /* end confdefs.h. */
10319 int __cdecl mainCRTStartup(void) { return 0; }
10320 _ACEOF
10321 if ac_fn_c_try_link "$LINENO"; then :
10322 ac_cv_crosscflags__Wlogical_op=yes
10323 else
10324 ac_cv_crosscflags__Wlogical_op=no
10326 rm -f core conftest.err conftest.$ac_objext \
10327 conftest$ac_exeext conftest.$ac_ext
10328 CFLAGS=$ac_wine_try_cflags_saved
10329 CC=$ac_wine_try_cflags_saved_cc
10330 ac_exeext=$ac_wine_try_cflags_saved_exeext
10332 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wlogical_op" >&5
10333 $as_echo "$ac_cv_crosscflags__Wlogical_op" >&6; }
10334 if test "x$ac_cv_crosscflags__Wlogical_op" = xyes; then :
10335 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wlogical-op"
10337 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wabsolute-value" >&5
10338 $as_echo_n "checking whether the cross-compiler supports -Wabsolute-value... " >&6; }
10339 if ${ac_cv_crosscflags__Wabsolute_value+:} false; then :
10340 $as_echo_n "(cached) " >&6
10341 else
10342 ac_wine_try_cflags_saved=$CFLAGS
10343 ac_wine_try_cflags_saved_cc=$CC
10344 ac_wine_try_cflags_saved_exeext=$ac_exeext
10345 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wabsolute-value"
10346 CC="$CROSSCC"
10347 ac_exeext=".exe"
10348 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10349 /* end confdefs.h. */
10350 int __cdecl mainCRTStartup(void) { return 0; }
10351 _ACEOF
10352 if ac_fn_c_try_link "$LINENO"; then :
10353 ac_cv_crosscflags__Wabsolute_value=yes
10354 else
10355 ac_cv_crosscflags__Wabsolute_value=no
10357 rm -f core conftest.err conftest.$ac_objext \
10358 conftest$ac_exeext conftest.$ac_ext
10359 CFLAGS=$ac_wine_try_cflags_saved
10360 CC=$ac_wine_try_cflags_saved_cc
10361 ac_exeext=$ac_wine_try_cflags_saved_exeext
10363 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wabsolute_value" >&5
10364 $as_echo "$ac_cv_crosscflags__Wabsolute_value" >&6; }
10365 if test "x$ac_cv_crosscflags__Wabsolute_value" = xyes; then :
10366 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wabsolute-value"
10369 case $host_cpu in
10370 *i[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -fno-omit-frame-pointer" >&5
10371 $as_echo_n "checking whether the cross-compiler supports -fno-omit-frame-pointer... " >&6; }
10372 if ${ac_cv_crosscflags__fno_omit_frame_pointer+:} false; then :
10373 $as_echo_n "(cached) " >&6
10374 else
10375 ac_wine_try_cflags_saved=$CFLAGS
10376 ac_wine_try_cflags_saved_cc=$CC
10377 ac_wine_try_cflags_saved_exeext=$ac_exeext
10378 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -fno-omit-frame-pointer"
10379 CC="$CROSSCC"
10380 ac_exeext=".exe"
10381 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10382 /* end confdefs.h. */
10383 int __cdecl mainCRTStartup(void) { return 0; }
10384 _ACEOF
10385 if ac_fn_c_try_link "$LINENO"; then :
10386 ac_cv_crosscflags__fno_omit_frame_pointer=yes
10387 else
10388 ac_cv_crosscflags__fno_omit_frame_pointer=no
10390 rm -f core conftest.err conftest.$ac_objext \
10391 conftest$ac_exeext conftest.$ac_ext
10392 CFLAGS=$ac_wine_try_cflags_saved
10393 CC=$ac_wine_try_cflags_saved_cc
10394 ac_exeext=$ac_wine_try_cflags_saved_exeext
10396 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__fno_omit_frame_pointer" >&5
10397 $as_echo "$ac_cv_crosscflags__fno_omit_frame_pointer" >&6; }
10398 if test "x$ac_cv_crosscflags__fno_omit_frame_pointer" = xyes; then :
10399 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -fno-omit-frame-pointer"
10400 fi ;;
10401 x86_64) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wno-format" >&5
10402 $as_echo_n "checking whether the cross-compiler supports -Wno-format... " >&6; }
10403 if ${ac_cv_crosscflags__Wno_format+:} false; then :
10404 $as_echo_n "(cached) " >&6
10405 else
10406 ac_wine_try_cflags_saved=$CFLAGS
10407 ac_wine_try_cflags_saved_cc=$CC
10408 ac_wine_try_cflags_saved_exeext=$ac_exeext
10409 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wno-format"
10410 CC="$CROSSCC"
10411 ac_exeext=".exe"
10412 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10413 /* end confdefs.h. */
10414 int __cdecl mainCRTStartup(void) { return 0; }
10415 _ACEOF
10416 if ac_fn_c_try_link "$LINENO"; then :
10417 ac_cv_crosscflags__Wno_format=yes
10418 else
10419 ac_cv_crosscflags__Wno_format=no
10421 rm -f core conftest.err conftest.$ac_objext \
10422 conftest$ac_exeext conftest.$ac_ext
10423 CFLAGS=$ac_wine_try_cflags_saved
10424 CC=$ac_wine_try_cflags_saved_cc
10425 ac_exeext=$ac_wine_try_cflags_saved_exeext
10427 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wno_format" >&5
10428 $as_echo "$ac_cv_crosscflags__Wno_format" >&6; }
10429 if test "x$ac_cv_crosscflags__Wno_format" = xyes; then :
10430 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wno-format"
10432 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wformat-overflow" >&5
10433 $as_echo_n "checking whether the cross-compiler supports -Wformat-overflow... " >&6; }
10434 if ${ac_cv_crosscflags__Wformat_overflow+:} false; then :
10435 $as_echo_n "(cached) " >&6
10436 else
10437 ac_wine_try_cflags_saved=$CFLAGS
10438 ac_wine_try_cflags_saved_cc=$CC
10439 ac_wine_try_cflags_saved_exeext=$ac_exeext
10440 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wformat-overflow"
10441 CC="$CROSSCC"
10442 ac_exeext=".exe"
10443 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10444 /* end confdefs.h. */
10445 int __cdecl mainCRTStartup(void) { return 0; }
10446 _ACEOF
10447 if ac_fn_c_try_link "$LINENO"; then :
10448 ac_cv_crosscflags__Wformat_overflow=yes
10449 else
10450 ac_cv_crosscflags__Wformat_overflow=no
10452 rm -f core conftest.err conftest.$ac_objext \
10453 conftest$ac_exeext conftest.$ac_ext
10454 CFLAGS=$ac_wine_try_cflags_saved
10455 CC=$ac_wine_try_cflags_saved_cc
10456 ac_exeext=$ac_wine_try_cflags_saved_exeext
10458 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wformat_overflow" >&5
10459 $as_echo "$ac_cv_crosscflags__Wformat_overflow" >&6; }
10460 if test "x$ac_cv_crosscflags__Wformat_overflow" = xyes; then :
10461 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wformat-overflow"
10463 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wnonnull" >&5
10464 $as_echo_n "checking whether the cross-compiler supports -Wnonnull... " >&6; }
10465 if ${ac_cv_crosscflags__Wnonnull+:} false; then :
10466 $as_echo_n "(cached) " >&6
10467 else
10468 ac_wine_try_cflags_saved=$CFLAGS
10469 ac_wine_try_cflags_saved_cc=$CC
10470 ac_wine_try_cflags_saved_exeext=$ac_exeext
10471 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wnonnull"
10472 CC="$CROSSCC"
10473 ac_exeext=".exe"
10474 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10475 /* end confdefs.h. */
10476 int __cdecl mainCRTStartup(void) { return 0; }
10477 _ACEOF
10478 if ac_fn_c_try_link "$LINENO"; then :
10479 ac_cv_crosscflags__Wnonnull=yes
10480 else
10481 ac_cv_crosscflags__Wnonnull=no
10483 rm -f core conftest.err conftest.$ac_objext \
10484 conftest$ac_exeext conftest.$ac_ext
10485 CFLAGS=$ac_wine_try_cflags_saved
10486 CC=$ac_wine_try_cflags_saved_cc
10487 ac_exeext=$ac_wine_try_cflags_saved_exeext
10489 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wnonnull" >&5
10490 $as_echo "$ac_cv_crosscflags__Wnonnull" >&6; }
10491 if test "x$ac_cv_crosscflags__Wnonnull" = xyes; then :
10492 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wnonnull"
10494 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -mcx16" >&5
10495 $as_echo_n "checking whether the cross-compiler supports -mcx16... " >&6; }
10496 if ${ac_cv_crosscflags__mcx16+:} false; then :
10497 $as_echo_n "(cached) " >&6
10498 else
10499 ac_wine_try_cflags_saved=$CFLAGS
10500 ac_wine_try_cflags_saved_cc=$CC
10501 ac_wine_try_cflags_saved_exeext=$ac_exeext
10502 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -mcx16"
10503 CC="$CROSSCC"
10504 ac_exeext=".exe"
10505 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10506 /* end confdefs.h. */
10507 int __cdecl mainCRTStartup(void) { return 0; }
10508 _ACEOF
10509 if ac_fn_c_try_link "$LINENO"; then :
10510 ac_cv_crosscflags__mcx16=yes
10511 else
10512 ac_cv_crosscflags__mcx16=no
10514 rm -f core conftest.err conftest.$ac_objext \
10515 conftest$ac_exeext conftest.$ac_ext
10516 CFLAGS=$ac_wine_try_cflags_saved
10517 CC=$ac_wine_try_cflags_saved_cc
10518 ac_exeext=$ac_wine_try_cflags_saved_exeext
10520 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__mcx16" >&5
10521 $as_echo "$ac_cv_crosscflags__mcx16" >&6; }
10522 if test "x$ac_cv_crosscflags__mcx16" = xyes; then :
10523 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -mcx16"
10524 fi ;;
10525 aarch64) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wno-format" >&5
10526 $as_echo_n "checking whether the cross-compiler supports -Wno-format... " >&6; }
10527 if ${ac_cv_crosscflags__Wno_format+:} false; then :
10528 $as_echo_n "(cached) " >&6
10529 else
10530 ac_wine_try_cflags_saved=$CFLAGS
10531 ac_wine_try_cflags_saved_cc=$CC
10532 ac_wine_try_cflags_saved_exeext=$ac_exeext
10533 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wno-format"
10534 CC="$CROSSCC"
10535 ac_exeext=".exe"
10536 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10537 /* end confdefs.h. */
10538 int __cdecl mainCRTStartup(void) { return 0; }
10539 _ACEOF
10540 if ac_fn_c_try_link "$LINENO"; then :
10541 ac_cv_crosscflags__Wno_format=yes
10542 else
10543 ac_cv_crosscflags__Wno_format=no
10545 rm -f core conftest.err conftest.$ac_objext \
10546 conftest$ac_exeext conftest.$ac_ext
10547 CFLAGS=$ac_wine_try_cflags_saved
10548 CC=$ac_wine_try_cflags_saved_cc
10549 ac_exeext=$ac_wine_try_cflags_saved_exeext
10551 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wno_format" >&5
10552 $as_echo "$ac_cv_crosscflags__Wno_format" >&6; }
10553 if test "x$ac_cv_crosscflags__Wno_format" = xyes; then :
10554 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wno-format"
10555 fi ;;
10556 esac
10559 if test -z "$CROSSDEBUG"
10560 then
10561 for ac_flag in $CROSSCFLAGS; do
10562 case $ac_flag in
10563 -gdwarf*) CROSSDEBUG=dwarf ;;
10564 -gcodeview) CROSSDEBUG=pdb ;;
10565 -g) CROSSDEBUG=${CROSSDEBUG:-dwarf} ;;
10566 esac
10567 done
10569 case $CROSSDEBUG in
10570 *dwarf) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -gdwarf-2" >&5
10571 $as_echo_n "checking whether the cross-compiler supports -gdwarf-2... " >&6; }
10572 if ${ac_cv_crosscflags__gdwarf_2+:} false; then :
10573 $as_echo_n "(cached) " >&6
10574 else
10575 ac_wine_try_cflags_saved=$CFLAGS
10576 ac_wine_try_cflags_saved_cc=$CC
10577 ac_wine_try_cflags_saved_exeext=$ac_exeext
10578 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -gdwarf-2"
10579 CC="$CROSSCC"
10580 ac_exeext=".exe"
10581 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10582 /* end confdefs.h. */
10583 int __cdecl mainCRTStartup(void) { return 0; }
10584 _ACEOF
10585 if ac_fn_c_try_link "$LINENO"; then :
10586 ac_cv_crosscflags__gdwarf_2=yes
10587 else
10588 ac_cv_crosscflags__gdwarf_2=no
10590 rm -f core conftest.err conftest.$ac_objext \
10591 conftest$ac_exeext conftest.$ac_ext
10592 CFLAGS=$ac_wine_try_cflags_saved
10593 CC=$ac_wine_try_cflags_saved_cc
10594 ac_exeext=$ac_wine_try_cflags_saved_exeext
10596 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__gdwarf_2" >&5
10597 $as_echo "$ac_cv_crosscflags__gdwarf_2" >&6; }
10598 if test "x$ac_cv_crosscflags__gdwarf_2" = xyes; then :
10599 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -gdwarf-2"
10601 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -gstrict-dwarf" >&5
10602 $as_echo_n "checking whether the cross-compiler supports -gstrict-dwarf... " >&6; }
10603 if ${ac_cv_crosscflags__gstrict_dwarf+:} false; then :
10604 $as_echo_n "(cached) " >&6
10605 else
10606 ac_wine_try_cflags_saved=$CFLAGS
10607 ac_wine_try_cflags_saved_cc=$CC
10608 ac_wine_try_cflags_saved_exeext=$ac_exeext
10609 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -gstrict-dwarf"
10610 CC="$CROSSCC"
10611 ac_exeext=".exe"
10612 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10613 /* end confdefs.h. */
10614 int __cdecl mainCRTStartup(void) { return 0; }
10615 _ACEOF
10616 if ac_fn_c_try_link "$LINENO"; then :
10617 ac_cv_crosscflags__gstrict_dwarf=yes
10618 else
10619 ac_cv_crosscflags__gstrict_dwarf=no
10621 rm -f core conftest.err conftest.$ac_objext \
10622 conftest$ac_exeext conftest.$ac_ext
10623 CFLAGS=$ac_wine_try_cflags_saved
10624 CC=$ac_wine_try_cflags_saved_cc
10625 ac_exeext=$ac_wine_try_cflags_saved_exeext
10627 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__gstrict_dwarf" >&5
10628 $as_echo "$ac_cv_crosscflags__gstrict_dwarf" >&6; }
10629 if test "x$ac_cv_crosscflags__gstrict_dwarf" = xyes; then :
10630 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -gstrict-dwarf"
10631 fi ;;
10632 pdb) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -gcodeview" >&5
10633 $as_echo_n "checking whether the cross-compiler supports -gcodeview... " >&6; }
10634 if ${ac_cv_crosscflags__gcodeview+:} false; then :
10635 $as_echo_n "(cached) " >&6
10636 else
10637 ac_wine_try_cflags_saved=$CFLAGS
10638 ac_wine_try_cflags_saved_cc=$CC
10639 ac_wine_try_cflags_saved_exeext=$ac_exeext
10640 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -gcodeview"
10641 CC="$CROSSCC"
10642 ac_exeext=".exe"
10643 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10644 /* end confdefs.h. */
10645 int __cdecl mainCRTStartup(void) { return 0; }
10646 _ACEOF
10647 if ac_fn_c_try_link "$LINENO"; then :
10648 ac_cv_crosscflags__gcodeview=yes
10649 else
10650 ac_cv_crosscflags__gcodeview=no
10652 rm -f core conftest.err conftest.$ac_objext \
10653 conftest$ac_exeext conftest.$ac_ext
10654 CFLAGS=$ac_wine_try_cflags_saved
10655 CC=$ac_wine_try_cflags_saved_cc
10656 ac_exeext=$ac_wine_try_cflags_saved_exeext
10658 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__gcodeview" >&5
10659 $as_echo "$ac_cv_crosscflags__gcodeview" >&6; }
10660 if test "x$ac_cv_crosscflags__gcodeview" = xyes; then :
10661 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -gcodeview"
10662 fi ;;
10663 esac
10665 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -fexcess-precision=standard" >&5
10666 $as_echo_n "checking whether the cross-compiler supports -fexcess-precision=standard... " >&6; }
10667 if ${ac_cv_crosscflags__fexcess_precision_standard+:} false; then :
10668 $as_echo_n "(cached) " >&6
10669 else
10670 ac_wine_try_cflags_saved=$CFLAGS
10671 ac_wine_try_cflags_saved_cc=$CC
10672 ac_wine_try_cflags_saved_exeext=$ac_exeext
10673 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -fexcess-precision=standard"
10674 CC="$CROSSCC"
10675 ac_exeext=".exe"
10676 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10677 /* end confdefs.h. */
10678 int __cdecl mainCRTStartup(void) { return 0; }
10679 _ACEOF
10680 if ac_fn_c_try_link "$LINENO"; then :
10681 ac_cv_crosscflags__fexcess_precision_standard=yes
10682 else
10683 ac_cv_crosscflags__fexcess_precision_standard=no
10685 rm -f core conftest.err conftest.$ac_objext \
10686 conftest$ac_exeext conftest.$ac_ext
10687 CFLAGS=$ac_wine_try_cflags_saved
10688 CC=$ac_wine_try_cflags_saved_cc
10689 ac_exeext=$ac_wine_try_cflags_saved_exeext
10691 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__fexcess_precision_standard" >&5
10692 $as_echo "$ac_cv_crosscflags__fexcess_precision_standard" >&6; }
10693 if test "x$ac_cv_crosscflags__fexcess_precision_standard" = xyes; then :
10694 EXCESS_PRECISION_CFLAGS="-fexcess-precision=standard"
10698 if test "x$enable_werror" = "xyes"
10699 then
10700 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Werror" >&5
10701 $as_echo_n "checking whether the cross-compiler supports -Werror... " >&6; }
10702 if ${ac_cv_crosscflags__Werror+:} false; then :
10703 $as_echo_n "(cached) " >&6
10704 else
10705 ac_wine_try_cflags_saved=$CFLAGS
10706 ac_wine_try_cflags_saved_cc=$CC
10707 ac_wine_try_cflags_saved_exeext=$ac_exeext
10708 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Werror"
10709 CC="$CROSSCC"
10710 ac_exeext=".exe"
10711 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10712 /* end confdefs.h. */
10713 int __cdecl mainCRTStartup(void) { return 0; }
10714 _ACEOF
10715 if ac_fn_c_try_link "$LINENO"; then :
10716 ac_cv_crosscflags__Werror=yes
10717 else
10718 ac_cv_crosscflags__Werror=no
10720 rm -f core conftest.err conftest.$ac_objext \
10721 conftest$ac_exeext conftest.$ac_ext
10722 CFLAGS=$ac_wine_try_cflags_saved
10723 CC=$ac_wine_try_cflags_saved_cc
10724 ac_exeext=$ac_wine_try_cflags_saved_exeext
10726 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Werror" >&5
10727 $as_echo "$ac_cv_crosscflags__Werror" >&6; }
10728 if test "x$ac_cv_crosscflags__Werror" = xyes; then :
10729 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Werror"
10732 if test "x$enable_build_id" = "xyes"
10733 then
10734 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wl,--build-id" >&5
10735 $as_echo_n "checking whether the cross-compiler supports -Wl,--build-id... " >&6; }
10736 if ${ac_cv_crosscflags__Wl___build_id+:} false; then :
10737 $as_echo_n "(cached) " >&6
10738 else
10739 ac_wine_try_cflags_saved=$CFLAGS
10740 ac_wine_try_cflags_saved_cc=$CC
10741 ac_wine_try_cflags_saved_exeext=$ac_exeext
10742 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wl,--build-id"
10743 CC="$CROSSCC"
10744 ac_exeext=".exe"
10745 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10746 /* end confdefs.h. */
10747 int __cdecl mainCRTStartup(void) { return 0; }
10748 _ACEOF
10749 if ac_fn_c_try_link "$LINENO"; then :
10750 ac_cv_crosscflags__Wl___build_id=yes
10751 else
10752 ac_cv_crosscflags__Wl___build_id=no
10754 rm -f core conftest.err conftest.$ac_objext \
10755 conftest$ac_exeext conftest.$ac_ext
10756 CFLAGS=$ac_wine_try_cflags_saved
10757 CC=$ac_wine_try_cflags_saved_cc
10758 ac_exeext=$ac_wine_try_cflags_saved_exeext
10760 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wl___build_id" >&5
10761 $as_echo "$ac_cv_crosscflags__Wl___build_id" >&6; }
10762 if test "x$ac_cv_crosscflags__Wl___build_id" = xyes; then :
10763 CROSSCFLAGS="$CROSSCFLAGS -Wl,--build-id"
10764 CROSSLDFLAGS="$CROSSLDFLAGS -Wl,--build-id"
10768 CFLAGS=$saved_CFLAGS
10769 CC="$ac_save_CC"
10772 if test "x$CROSSTARGET" = "x"; then :
10773 case "x$with_mingw" in
10774 x) as_fn_append wine_notices "|MinGW compiler not found, cross-compiling PE files won't be supported." ;;
10775 xno) ;;
10776 *) as_fn_error $? "MinGW compiler not found, cross-compiling PE files won't be supported.
10777 This is an error since --with-mingw was requested." "$LINENO" 5 ;;
10778 esac
10783 if test "$ac_cv_header_pthread_h" = "yes"
10784 then
10785 ac_fn_c_check_func "$LINENO" "pthread_create" "ac_cv_func_pthread_create"
10786 if test "x$ac_cv_func_pthread_create" = xyes; then :
10788 else
10789 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_create in -lpthread" >&5
10790 $as_echo_n "checking for pthread_create in -lpthread... " >&6; }
10791 if ${ac_cv_lib_pthread_pthread_create+:} false; then :
10792 $as_echo_n "(cached) " >&6
10793 else
10794 ac_check_lib_save_LIBS=$LIBS
10795 LIBS="-lpthread $LIBS"
10796 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10797 /* end confdefs.h. */
10799 /* Override any GCC internal prototype to avoid an error.
10800 Use char because int might match the return type of a GCC
10801 builtin and then its argument prototype would still apply. */
10802 #ifdef __cplusplus
10803 extern "C"
10804 #endif
10805 char pthread_create ();
10807 main ()
10809 return pthread_create ();
10811 return 0;
10813 _ACEOF
10814 if ac_fn_c_try_link "$LINENO"; then :
10815 ac_cv_lib_pthread_pthread_create=yes
10816 else
10817 ac_cv_lib_pthread_pthread_create=no
10819 rm -f core conftest.err conftest.$ac_objext \
10820 conftest$ac_exeext conftest.$ac_ext
10821 LIBS=$ac_check_lib_save_LIBS
10823 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_create" >&5
10824 $as_echo "$ac_cv_lib_pthread_pthread_create" >&6; }
10825 if test "x$ac_cv_lib_pthread_pthread_create" = xyes; then :
10826 PTHREAD_LIBS="-lpthread"
10833 if test "x$ac_cv_func_pthread_create" != xyes -a "x$PTHREAD_LIBS" = x; then :
10834 case "x$with_pthread" in
10835 xno) ;;
10836 *) as_fn_error $? "pthread ${notice_platform}development files not found.
10837 Wine cannot support threads without libpthread.
10838 Use the --without-pthread option if you really want this." "$LINENO" 5 ;;
10839 esac
10844 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for X" >&5
10845 $as_echo_n "checking for X... " >&6; }
10848 # Check whether --with-x was given.
10849 if test "${with_x+set}" = set; then :
10850 withval=$with_x;
10853 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
10854 if test "x$with_x" = xno; then
10855 # The user explicitly disabled X.
10856 have_x=disabled
10857 else
10858 case $x_includes,$x_libraries in #(
10859 *\'*) as_fn_error $? "cannot use X directory names containing '" "$LINENO" 5;; #(
10860 *,NONE | NONE,*) if ${ac_cv_have_x+:} false; then :
10861 $as_echo_n "(cached) " >&6
10862 else
10863 # One or both of the vars are not set, and there is no cached value.
10864 ac_x_includes=no ac_x_libraries=no
10865 rm -f -r conftest.dir
10866 if mkdir conftest.dir; then
10867 cd conftest.dir
10868 cat >Imakefile <<'_ACEOF'
10869 incroot:
10870 @echo incroot='${INCROOT}'
10871 usrlibdir:
10872 @echo usrlibdir='${USRLIBDIR}'
10873 libdir:
10874 @echo libdir='${LIBDIR}'
10875 _ACEOF
10876 if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
10877 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
10878 for ac_var in incroot usrlibdir libdir; do
10879 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
10880 done
10881 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
10882 for ac_extension in a so sl dylib la dll; do
10883 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
10884 test -f "$ac_im_libdir/libX11.$ac_extension"; then
10885 ac_im_usrlibdir=$ac_im_libdir; break
10887 done
10888 # Screen out bogus values from the imake configuration. They are
10889 # bogus both because they are the default anyway, and because
10890 # using them would break gcc on systems where it needs fixed includes.
10891 case $ac_im_incroot in
10892 /usr/include) ac_x_includes= ;;
10893 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
10894 esac
10895 case $ac_im_usrlibdir in
10896 /usr/lib | /usr/lib64 | /lib | /lib64) ;;
10897 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
10898 esac
10900 cd ..
10901 rm -f -r conftest.dir
10904 # Standard set of common directories for X headers.
10905 # Check X11 before X11Rn because it is often a symlink to the current release.
10906 ac_x_header_dirs='
10907 /usr/X11/include
10908 /usr/X11R7/include
10909 /usr/X11R6/include
10910 /usr/X11R5/include
10911 /usr/X11R4/include
10913 /usr/include/X11
10914 /usr/include/X11R7
10915 /usr/include/X11R6
10916 /usr/include/X11R5
10917 /usr/include/X11R4
10919 /usr/local/X11/include
10920 /usr/local/X11R7/include
10921 /usr/local/X11R6/include
10922 /usr/local/X11R5/include
10923 /usr/local/X11R4/include
10925 /usr/local/include/X11
10926 /usr/local/include/X11R7
10927 /usr/local/include/X11R6
10928 /usr/local/include/X11R5
10929 /usr/local/include/X11R4
10931 /usr/X386/include
10932 /usr/x386/include
10933 /usr/XFree86/include/X11
10935 /usr/include
10936 /usr/local/include
10937 /usr/unsupported/include
10938 /usr/athena/include
10939 /usr/local/x11r5/include
10940 /usr/lpp/Xamples/include
10942 /usr/openwin/include
10943 /usr/openwin/share/include'
10945 if test "$ac_x_includes" = no; then
10946 # Guess where to find include files, by looking for Xlib.h.
10947 # First, try using that file with no special directory specified.
10948 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10949 /* end confdefs.h. */
10950 #include <X11/Xlib.h>
10951 _ACEOF
10952 if ac_fn_c_try_cpp "$LINENO"; then :
10953 # We can compile using X headers with no special include directory.
10954 ac_x_includes=
10955 else
10956 for ac_dir in $ac_x_header_dirs; do
10957 if test -r "$ac_dir/X11/Xlib.h"; then
10958 ac_x_includes=$ac_dir
10959 break
10961 done
10963 rm -f conftest.err conftest.i conftest.$ac_ext
10964 fi # $ac_x_includes = no
10966 if test "$ac_x_libraries" = no; then
10967 # Check for the libraries.
10968 # See if we find them without any special options.
10969 # Don't add to $LIBS permanently.
10970 ac_save_LIBS=$LIBS
10971 LIBS="-lX11 $LIBS"
10972 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10973 /* end confdefs.h. */
10974 #include <X11/Xlib.h>
10976 main ()
10978 XrmInitialize ()
10980 return 0;
10982 _ACEOF
10983 if ac_fn_c_try_link "$LINENO"; then :
10984 LIBS=$ac_save_LIBS
10985 # We can link X programs with no special library path.
10986 ac_x_libraries=
10987 else
10988 LIBS=$ac_save_LIBS
10989 for ac_dir in `$as_echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
10991 # Don't even attempt the hair of trying to link an X program!
10992 for ac_extension in a so sl dylib la dll; do
10993 if test -r "$ac_dir/libX11.$ac_extension"; then
10994 ac_x_libraries=$ac_dir
10995 break 2
10997 done
10998 done
11000 rm -f core conftest.err conftest.$ac_objext \
11001 conftest$ac_exeext conftest.$ac_ext
11002 fi # $ac_x_libraries = no
11004 case $ac_x_includes,$ac_x_libraries in #(
11005 no,* | *,no | *\'*)
11006 # Didn't find X, or a directory has "'" in its name.
11007 ac_cv_have_x="have_x=no";; #(
11009 # Record where we found X for the cache.
11010 ac_cv_have_x="have_x=yes\
11011 ac_x_includes='$ac_x_includes'\
11012 ac_x_libraries='$ac_x_libraries'"
11013 esac
11015 ;; #(
11016 *) have_x=yes;;
11017 esac
11018 eval "$ac_cv_have_x"
11019 fi # $with_x != no
11021 if test "$have_x" != yes; then
11022 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_x" >&5
11023 $as_echo "$have_x" >&6; }
11024 no_x=yes
11025 else
11026 # If each of the values was on the command line, it overrides each guess.
11027 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
11028 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
11029 # Update the cache value to reflect the command line values.
11030 ac_cv_have_x="have_x=yes\
11031 ac_x_includes='$x_includes'\
11032 ac_x_libraries='$x_libraries'"
11033 { $as_echo "$as_me:${as_lineno-$LINENO}: result: libraries $x_libraries, headers $x_includes" >&5
11034 $as_echo "libraries $x_libraries, headers $x_includes" >&6; }
11037 if test "$no_x" = yes; then
11038 # Not all programs may use this symbol, but it does not hurt to define it.
11040 $as_echo "#define X_DISPLAY_MISSING 1" >>confdefs.h
11042 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
11043 else
11044 if test -n "$x_includes"; then
11045 X_CFLAGS="$X_CFLAGS -I$x_includes"
11048 # It would also be nice to do this for all -L options, not just this one.
11049 if test -n "$x_libraries"; then
11050 X_LIBS="$X_LIBS -L$x_libraries"
11051 # For Solaris; some versions of Sun CC require a space after -R and
11052 # others require no space. Words are not sufficient . . . .
11053 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -R must be followed by a space" >&5
11054 $as_echo_n "checking whether -R must be followed by a space... " >&6; }
11055 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
11056 ac_xsave_c_werror_flag=$ac_c_werror_flag
11057 ac_c_werror_flag=yes
11058 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11059 /* end confdefs.h. */
11062 main ()
11066 return 0;
11068 _ACEOF
11069 if ac_fn_c_try_link "$LINENO"; then :
11070 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11071 $as_echo "no" >&6; }
11072 X_LIBS="$X_LIBS -R$x_libraries"
11073 else
11074 LIBS="$ac_xsave_LIBS -R $x_libraries"
11075 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11076 /* end confdefs.h. */
11079 main ()
11083 return 0;
11085 _ACEOF
11086 if ac_fn_c_try_link "$LINENO"; then :
11087 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11088 $as_echo "yes" >&6; }
11089 X_LIBS="$X_LIBS -R $x_libraries"
11090 else
11091 { $as_echo "$as_me:${as_lineno-$LINENO}: result: neither works" >&5
11092 $as_echo "neither works" >&6; }
11094 rm -f core conftest.err conftest.$ac_objext \
11095 conftest$ac_exeext conftest.$ac_ext
11097 rm -f core conftest.err conftest.$ac_objext \
11098 conftest$ac_exeext conftest.$ac_ext
11099 ac_c_werror_flag=$ac_xsave_c_werror_flag
11100 LIBS=$ac_xsave_LIBS
11103 # Check for system-dependent libraries X programs must link with.
11104 # Do this before checking for the system-independent R6 libraries
11105 # (-lICE), since we may need -lsocket or whatever for X linking.
11107 if test "$ISC" = yes; then
11108 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
11109 else
11110 # Martyn Johnson says this is needed for Ultrix, if the X
11111 # libraries were built with DECnet support. And Karl Berry says
11112 # the Alpha needs dnet_stub (dnet does not exist).
11113 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
11114 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11115 /* end confdefs.h. */
11117 /* Override any GCC internal prototype to avoid an error.
11118 Use char because int might match the return type of a GCC
11119 builtin and then its argument prototype would still apply. */
11120 #ifdef __cplusplus
11121 extern "C"
11122 #endif
11123 char XOpenDisplay ();
11125 main ()
11127 return XOpenDisplay ();
11129 return 0;
11131 _ACEOF
11132 if ac_fn_c_try_link "$LINENO"; then :
11134 else
11135 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet" >&5
11136 $as_echo_n "checking for dnet_ntoa in -ldnet... " >&6; }
11137 if ${ac_cv_lib_dnet_dnet_ntoa+:} false; then :
11138 $as_echo_n "(cached) " >&6
11139 else
11140 ac_check_lib_save_LIBS=$LIBS
11141 LIBS="-ldnet $LIBS"
11142 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11143 /* end confdefs.h. */
11145 /* Override any GCC internal prototype to avoid an error.
11146 Use char because int might match the return type of a GCC
11147 builtin and then its argument prototype would still apply. */
11148 #ifdef __cplusplus
11149 extern "C"
11150 #endif
11151 char dnet_ntoa ();
11153 main ()
11155 return dnet_ntoa ();
11157 return 0;
11159 _ACEOF
11160 if ac_fn_c_try_link "$LINENO"; then :
11161 ac_cv_lib_dnet_dnet_ntoa=yes
11162 else
11163 ac_cv_lib_dnet_dnet_ntoa=no
11165 rm -f core conftest.err conftest.$ac_objext \
11166 conftest$ac_exeext conftest.$ac_ext
11167 LIBS=$ac_check_lib_save_LIBS
11169 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
11170 $as_echo "$ac_cv_lib_dnet_dnet_ntoa" >&6; }
11171 if test "x$ac_cv_lib_dnet_dnet_ntoa" = xyes; then :
11172 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
11175 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
11176 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet_stub" >&5
11177 $as_echo_n "checking for dnet_ntoa in -ldnet_stub... " >&6; }
11178 if ${ac_cv_lib_dnet_stub_dnet_ntoa+:} false; then :
11179 $as_echo_n "(cached) " >&6
11180 else
11181 ac_check_lib_save_LIBS=$LIBS
11182 LIBS="-ldnet_stub $LIBS"
11183 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11184 /* end confdefs.h. */
11186 /* Override any GCC internal prototype to avoid an error.
11187 Use char because int might match the return type of a GCC
11188 builtin and then its argument prototype would still apply. */
11189 #ifdef __cplusplus
11190 extern "C"
11191 #endif
11192 char dnet_ntoa ();
11194 main ()
11196 return dnet_ntoa ();
11198 return 0;
11200 _ACEOF
11201 if ac_fn_c_try_link "$LINENO"; then :
11202 ac_cv_lib_dnet_stub_dnet_ntoa=yes
11203 else
11204 ac_cv_lib_dnet_stub_dnet_ntoa=no
11206 rm -f core conftest.err conftest.$ac_objext \
11207 conftest$ac_exeext conftest.$ac_ext
11208 LIBS=$ac_check_lib_save_LIBS
11210 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
11211 $as_echo "$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
11212 if test "x$ac_cv_lib_dnet_stub_dnet_ntoa" = xyes; then :
11213 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
11218 rm -f core conftest.err conftest.$ac_objext \
11219 conftest$ac_exeext conftest.$ac_ext
11220 LIBS="$ac_xsave_LIBS"
11222 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
11223 # to get the SysV transport functions.
11224 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
11225 # needs -lnsl.
11226 # The nsl library prevents programs from opening the X display
11227 # on Irix 5.2, according to T.E. Dickey.
11228 # The functions gethostbyname, getservbyname, and inet_addr are
11229 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
11230 ac_fn_c_check_func "$LINENO" "gethostbyname" "ac_cv_func_gethostbyname"
11231 if test "x$ac_cv_func_gethostbyname" = xyes; then :
11235 if test $ac_cv_func_gethostbyname = no; then
11236 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnsl" >&5
11237 $as_echo_n "checking for gethostbyname in -lnsl... " >&6; }
11238 if ${ac_cv_lib_nsl_gethostbyname+:} false; then :
11239 $as_echo_n "(cached) " >&6
11240 else
11241 ac_check_lib_save_LIBS=$LIBS
11242 LIBS="-lnsl $LIBS"
11243 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11244 /* end confdefs.h. */
11246 /* Override any GCC internal prototype to avoid an error.
11247 Use char because int might match the return type of a GCC
11248 builtin and then its argument prototype would still apply. */
11249 #ifdef __cplusplus
11250 extern "C"
11251 #endif
11252 char gethostbyname ();
11254 main ()
11256 return gethostbyname ();
11258 return 0;
11260 _ACEOF
11261 if ac_fn_c_try_link "$LINENO"; then :
11262 ac_cv_lib_nsl_gethostbyname=yes
11263 else
11264 ac_cv_lib_nsl_gethostbyname=no
11266 rm -f core conftest.err conftest.$ac_objext \
11267 conftest$ac_exeext conftest.$ac_ext
11268 LIBS=$ac_check_lib_save_LIBS
11270 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_gethostbyname" >&5
11271 $as_echo "$ac_cv_lib_nsl_gethostbyname" >&6; }
11272 if test "x$ac_cv_lib_nsl_gethostbyname" = xyes; then :
11273 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
11276 if test $ac_cv_lib_nsl_gethostbyname = no; then
11277 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lbsd" >&5
11278 $as_echo_n "checking for gethostbyname in -lbsd... " >&6; }
11279 if ${ac_cv_lib_bsd_gethostbyname+:} false; then :
11280 $as_echo_n "(cached) " >&6
11281 else
11282 ac_check_lib_save_LIBS=$LIBS
11283 LIBS="-lbsd $LIBS"
11284 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11285 /* end confdefs.h. */
11287 /* Override any GCC internal prototype to avoid an error.
11288 Use char because int might match the return type of a GCC
11289 builtin and then its argument prototype would still apply. */
11290 #ifdef __cplusplus
11291 extern "C"
11292 #endif
11293 char gethostbyname ();
11295 main ()
11297 return gethostbyname ();
11299 return 0;
11301 _ACEOF
11302 if ac_fn_c_try_link "$LINENO"; then :
11303 ac_cv_lib_bsd_gethostbyname=yes
11304 else
11305 ac_cv_lib_bsd_gethostbyname=no
11307 rm -f core conftest.err conftest.$ac_objext \
11308 conftest$ac_exeext conftest.$ac_ext
11309 LIBS=$ac_check_lib_save_LIBS
11311 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bsd_gethostbyname" >&5
11312 $as_echo "$ac_cv_lib_bsd_gethostbyname" >&6; }
11313 if test "x$ac_cv_lib_bsd_gethostbyname" = xyes; then :
11314 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
11320 # lieder@skyler.mavd.honeywell.com says without -lsocket,
11321 # socket/setsockopt and other routines are undefined under SCO ODT
11322 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
11323 # on later versions), says Simon Leinen: it contains gethostby*
11324 # variants that don't use the name server (or something). -lsocket
11325 # must be given before -lnsl if both are needed. We assume that
11326 # if connect needs -lnsl, so does gethostbyname.
11327 ac_fn_c_check_func "$LINENO" "connect" "ac_cv_func_connect"
11328 if test "x$ac_cv_func_connect" = xyes; then :
11332 if test $ac_cv_func_connect = no; then
11333 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for connect in -lsocket" >&5
11334 $as_echo_n "checking for connect in -lsocket... " >&6; }
11335 if ${ac_cv_lib_socket_connect+:} false; then :
11336 $as_echo_n "(cached) " >&6
11337 else
11338 ac_check_lib_save_LIBS=$LIBS
11339 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
11340 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11341 /* end confdefs.h. */
11343 /* Override any GCC internal prototype to avoid an error.
11344 Use char because int might match the return type of a GCC
11345 builtin and then its argument prototype would still apply. */
11346 #ifdef __cplusplus
11347 extern "C"
11348 #endif
11349 char connect ();
11351 main ()
11353 return connect ();
11355 return 0;
11357 _ACEOF
11358 if ac_fn_c_try_link "$LINENO"; then :
11359 ac_cv_lib_socket_connect=yes
11360 else
11361 ac_cv_lib_socket_connect=no
11363 rm -f core conftest.err conftest.$ac_objext \
11364 conftest$ac_exeext conftest.$ac_ext
11365 LIBS=$ac_check_lib_save_LIBS
11367 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_connect" >&5
11368 $as_echo "$ac_cv_lib_socket_connect" >&6; }
11369 if test "x$ac_cv_lib_socket_connect" = xyes; then :
11370 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
11375 # Guillermo Gomez says -lposix is necessary on A/UX.
11376 ac_fn_c_check_func "$LINENO" "remove" "ac_cv_func_remove"
11377 if test "x$ac_cv_func_remove" = xyes; then :
11381 if test $ac_cv_func_remove = no; then
11382 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for remove in -lposix" >&5
11383 $as_echo_n "checking for remove in -lposix... " >&6; }
11384 if ${ac_cv_lib_posix_remove+:} false; then :
11385 $as_echo_n "(cached) " >&6
11386 else
11387 ac_check_lib_save_LIBS=$LIBS
11388 LIBS="-lposix $LIBS"
11389 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11390 /* end confdefs.h. */
11392 /* Override any GCC internal prototype to avoid an error.
11393 Use char because int might match the return type of a GCC
11394 builtin and then its argument prototype would still apply. */
11395 #ifdef __cplusplus
11396 extern "C"
11397 #endif
11398 char remove ();
11400 main ()
11402 return remove ();
11404 return 0;
11406 _ACEOF
11407 if ac_fn_c_try_link "$LINENO"; then :
11408 ac_cv_lib_posix_remove=yes
11409 else
11410 ac_cv_lib_posix_remove=no
11412 rm -f core conftest.err conftest.$ac_objext \
11413 conftest$ac_exeext conftest.$ac_ext
11414 LIBS=$ac_check_lib_save_LIBS
11416 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix_remove" >&5
11417 $as_echo "$ac_cv_lib_posix_remove" >&6; }
11418 if test "x$ac_cv_lib_posix_remove" = xyes; then :
11419 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
11424 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
11425 ac_fn_c_check_func "$LINENO" "shmat" "ac_cv_func_shmat"
11426 if test "x$ac_cv_func_shmat" = xyes; then :
11430 if test $ac_cv_func_shmat = no; then
11431 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shmat in -lipc" >&5
11432 $as_echo_n "checking for shmat in -lipc... " >&6; }
11433 if ${ac_cv_lib_ipc_shmat+:} false; then :
11434 $as_echo_n "(cached) " >&6
11435 else
11436 ac_check_lib_save_LIBS=$LIBS
11437 LIBS="-lipc $LIBS"
11438 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11439 /* end confdefs.h. */
11441 /* Override any GCC internal prototype to avoid an error.
11442 Use char because int might match the return type of a GCC
11443 builtin and then its argument prototype would still apply. */
11444 #ifdef __cplusplus
11445 extern "C"
11446 #endif
11447 char shmat ();
11449 main ()
11451 return shmat ();
11453 return 0;
11455 _ACEOF
11456 if ac_fn_c_try_link "$LINENO"; then :
11457 ac_cv_lib_ipc_shmat=yes
11458 else
11459 ac_cv_lib_ipc_shmat=no
11461 rm -f core conftest.err conftest.$ac_objext \
11462 conftest$ac_exeext conftest.$ac_ext
11463 LIBS=$ac_check_lib_save_LIBS
11465 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ipc_shmat" >&5
11466 $as_echo "$ac_cv_lib_ipc_shmat" >&6; }
11467 if test "x$ac_cv_lib_ipc_shmat" = xyes; then :
11468 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
11474 # Check for libraries that X11R6 Xt/Xaw programs need.
11475 ac_save_LDFLAGS=$LDFLAGS
11476 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
11477 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
11478 # check for ICE first), but we must link in the order -lSM -lICE or
11479 # we get undefined symbols. So assume we have SM if we have ICE.
11480 # These have to be linked with before -lX11, unlike the other
11481 # libraries we check for below, so use a different variable.
11482 # John Interrante, Karl Berry
11483 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for IceConnectionNumber in -lICE" >&5
11484 $as_echo_n "checking for IceConnectionNumber in -lICE... " >&6; }
11485 if ${ac_cv_lib_ICE_IceConnectionNumber+:} false; then :
11486 $as_echo_n "(cached) " >&6
11487 else
11488 ac_check_lib_save_LIBS=$LIBS
11489 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
11490 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11491 /* end confdefs.h. */
11493 /* Override any GCC internal prototype to avoid an error.
11494 Use char because int might match the return type of a GCC
11495 builtin and then its argument prototype would still apply. */
11496 #ifdef __cplusplus
11497 extern "C"
11498 #endif
11499 char IceConnectionNumber ();
11501 main ()
11503 return IceConnectionNumber ();
11505 return 0;
11507 _ACEOF
11508 if ac_fn_c_try_link "$LINENO"; then :
11509 ac_cv_lib_ICE_IceConnectionNumber=yes
11510 else
11511 ac_cv_lib_ICE_IceConnectionNumber=no
11513 rm -f core conftest.err conftest.$ac_objext \
11514 conftest$ac_exeext conftest.$ac_ext
11515 LIBS=$ac_check_lib_save_LIBS
11517 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
11518 $as_echo "$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
11519 if test "x$ac_cv_lib_ICE_IceConnectionNumber" = xyes; then :
11520 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
11523 LDFLAGS=$ac_save_LDFLAGS
11528 if test "$have_x" = "yes"
11529 then
11530 ac_save_CPPFLAGS="$CPPFLAGS"
11531 CPPFLAGS="$CPPFLAGS $X_CFLAGS"
11533 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lX11" >&5
11534 $as_echo_n "checking for -lX11... " >&6; }
11535 if ${ac_cv_lib_soname_X11+:} false; then :
11536 $as_echo_n "(cached) " >&6
11537 else
11538 ac_check_soname_save_LIBS=$LIBS
11539 LIBS="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
11540 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11541 /* end confdefs.h. */
11543 /* Override any GCC internal prototype to avoid an error.
11544 Use char because int might match the return type of a GCC
11545 builtin and then its argument prototype would still apply. */
11546 #ifdef __cplusplus
11547 extern "C"
11548 #endif
11549 char XCreateWindow ();
11551 main ()
11553 return XCreateWindow ();
11555 return 0;
11557 _ACEOF
11558 if ac_fn_c_try_link "$LINENO"; then :
11559 case "$LIBEXT" in
11560 dll) ac_cv_lib_soname_X11=`$ac_cv_path_LDD conftest.exe | grep "X11" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11561 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'` ;;
11562 *) ac_cv_lib_soname_X11=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libX11\\.$LIBEXT" | sed -e "s/^.*\\[\\(libX11\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11563 if ${ac_cv_lib_soname_X11:+false} :; then :
11564 ac_cv_lib_soname_X11=`$LDD conftest$ac_exeext | grep "libX11\\.$LIBEXT" | sed -e "s/^.*\(libX11\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11565 fi ;;
11566 esac
11567 else
11568 ac_cv_lib_soname_X11=
11570 rm -f core conftest.err conftest.$ac_objext \
11571 conftest$ac_exeext conftest.$ac_ext
11572 LIBS=$ac_check_soname_save_LIBS
11574 if ${ac_cv_lib_soname_X11:+false} :; then :
11575 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11576 $as_echo "not found" >&6; }
11578 else
11579 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_X11" >&5
11580 $as_echo "$ac_cv_lib_soname_X11" >&6; }
11582 cat >>confdefs.h <<_ACEOF
11583 #define SONAME_LIBX11 "$ac_cv_lib_soname_X11"
11584 _ACEOF
11588 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXext" >&5
11589 $as_echo_n "checking for -lXext... " >&6; }
11590 if ${ac_cv_lib_soname_Xext+:} false; then :
11591 $as_echo_n "(cached) " >&6
11592 else
11593 ac_check_soname_save_LIBS=$LIBS
11594 LIBS="-lXext $X_LIBS -lX11 $X_EXTRA_LIBS $LIBS"
11595 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11596 /* end confdefs.h. */
11598 /* Override any GCC internal prototype to avoid an error.
11599 Use char because int might match the return type of a GCC
11600 builtin and then its argument prototype would still apply. */
11601 #ifdef __cplusplus
11602 extern "C"
11603 #endif
11604 char XextCreateExtension ();
11606 main ()
11608 return XextCreateExtension ();
11610 return 0;
11612 _ACEOF
11613 if ac_fn_c_try_link "$LINENO"; then :
11614 case "$LIBEXT" in
11615 dll) ac_cv_lib_soname_Xext=`$ac_cv_path_LDD conftest.exe | grep "Xext" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11616 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'` ;;
11617 *) ac_cv_lib_soname_Xext=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXext\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXext\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11618 if ${ac_cv_lib_soname_Xext:+false} :; then :
11619 ac_cv_lib_soname_Xext=`$LDD conftest$ac_exeext | grep "libXext\\.$LIBEXT" | sed -e "s/^.*\(libXext\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11620 fi ;;
11621 esac
11622 else
11623 ac_cv_lib_soname_Xext=
11625 rm -f core conftest.err conftest.$ac_objext \
11626 conftest$ac_exeext conftest.$ac_ext
11627 LIBS=$ac_check_soname_save_LIBS
11629 if ${ac_cv_lib_soname_Xext:+false} :; then :
11630 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11631 $as_echo "not found" >&6; }
11633 else
11634 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xext" >&5
11635 $as_echo "$ac_cv_lib_soname_Xext" >&6; }
11637 cat >>confdefs.h <<_ACEOF
11638 #define SONAME_LIBXEXT "$ac_cv_lib_soname_Xext"
11639 _ACEOF
11641 X_LIBS="$X_LIBS -lXext"
11643 X_LIBS="$X_LIBS -lX11"
11645 for ac_header in X11/Xlib.h \
11646 X11/XKBlib.h \
11647 X11/Xutil.h \
11648 X11/Xcursor/Xcursor.h \
11649 X11/extensions/shape.h \
11650 X11/extensions/XInput.h \
11651 X11/extensions/XInput2.h \
11652 X11/extensions/XShm.h \
11653 X11/extensions/Xcomposite.h \
11654 X11/extensions/Xfixes.h \
11655 X11/extensions/Xinerama.h \
11656 X11/extensions/Xrandr.h \
11657 X11/extensions/Xrender.h \
11658 X11/extensions/xf86vmode.h \
11659 X11/extensions/xf86vmproto.h
11660 do :
11661 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
11662 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_X11_XLIB_H
11663 # include <X11/Xlib.h>
11664 #endif
11665 #ifdef HAVE_X11_XUTIL_H
11666 # include <X11/Xutil.h>
11667 #endif
11669 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
11670 cat >>confdefs.h <<_ACEOF
11671 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
11672 _ACEOF
11676 done
11679 if test "$ac_cv_header_X11_XKBlib_h" = "yes"
11680 then
11681 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XkbQueryExtension in -lX11" >&5
11682 $as_echo_n "checking for XkbQueryExtension in -lX11... " >&6; }
11683 if ${ac_cv_lib_X11_XkbQueryExtension+:} false; then :
11684 $as_echo_n "(cached) " >&6
11685 else
11686 ac_check_lib_save_LIBS=$LIBS
11687 LIBS="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
11688 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11689 /* end confdefs.h. */
11691 /* Override any GCC internal prototype to avoid an error.
11692 Use char because int might match the return type of a GCC
11693 builtin and then its argument prototype would still apply. */
11694 #ifdef __cplusplus
11695 extern "C"
11696 #endif
11697 char XkbQueryExtension ();
11699 main ()
11701 return XkbQueryExtension ();
11703 return 0;
11705 _ACEOF
11706 if ac_fn_c_try_link "$LINENO"; then :
11707 ac_cv_lib_X11_XkbQueryExtension=yes
11708 else
11709 ac_cv_lib_X11_XkbQueryExtension=no
11711 rm -f core conftest.err conftest.$ac_objext \
11712 conftest$ac_exeext conftest.$ac_ext
11713 LIBS=$ac_check_lib_save_LIBS
11715 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_X11_XkbQueryExtension" >&5
11716 $as_echo "$ac_cv_lib_X11_XkbQueryExtension" >&6; }
11717 if test "x$ac_cv_lib_X11_XkbQueryExtension" = xyes; then :
11719 $as_echo "#define HAVE_XKB 1" >>confdefs.h
11725 if test "$ac_cv_header_X11_Xcursor_Xcursor_h" = "yes"
11726 then
11727 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXcursor" >&5
11728 $as_echo_n "checking for -lXcursor... " >&6; }
11729 if ${ac_cv_lib_soname_Xcursor+:} false; then :
11730 $as_echo_n "(cached) " >&6
11731 else
11732 ac_check_soname_save_LIBS=$LIBS
11733 LIBS="-lXcursor $X_LIBS $X_EXTRA_LIBS $LIBS"
11734 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11735 /* end confdefs.h. */
11737 /* Override any GCC internal prototype to avoid an error.
11738 Use char because int might match the return type of a GCC
11739 builtin and then its argument prototype would still apply. */
11740 #ifdef __cplusplus
11741 extern "C"
11742 #endif
11743 char XcursorImageLoadCursor ();
11745 main ()
11747 return XcursorImageLoadCursor ();
11749 return 0;
11751 _ACEOF
11752 if ac_fn_c_try_link "$LINENO"; then :
11753 case "$LIBEXT" in
11754 dll) ac_cv_lib_soname_Xcursor=`$ac_cv_path_LDD conftest.exe | grep "Xcursor" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11755 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'` ;;
11756 *) ac_cv_lib_soname_Xcursor=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcursor\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcursor\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11757 if ${ac_cv_lib_soname_Xcursor:+false} :; then :
11758 ac_cv_lib_soname_Xcursor=`$LDD conftest$ac_exeext | grep "libXcursor\\.$LIBEXT" | sed -e "s/^.*\(libXcursor\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11759 fi ;;
11760 esac
11761 else
11762 ac_cv_lib_soname_Xcursor=
11764 rm -f core conftest.err conftest.$ac_objext \
11765 conftest$ac_exeext conftest.$ac_ext
11766 LIBS=$ac_check_soname_save_LIBS
11768 if ${ac_cv_lib_soname_Xcursor:+false} :; then :
11769 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11770 $as_echo "not found" >&6; }
11772 else
11773 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcursor" >&5
11774 $as_echo "$ac_cv_lib_soname_Xcursor" >&6; }
11776 cat >>confdefs.h <<_ACEOF
11777 #define SONAME_LIBXCURSOR "$ac_cv_lib_soname_Xcursor"
11778 _ACEOF
11783 if test "x$ac_cv_lib_soname_Xcursor" = "x"; then :
11784 case "x$with_xcursor" in
11785 x) as_fn_append wine_notices "|libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported." ;;
11786 xno) ;;
11787 *) as_fn_error $? "libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported.
11788 This is an error since --with-xcursor was requested." "$LINENO" 5 ;;
11789 esac
11793 if test "$ac_cv_header_X11_extensions_XInput_h" = "yes"
11794 then
11795 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXi" >&5
11796 $as_echo_n "checking for -lXi... " >&6; }
11797 if ${ac_cv_lib_soname_Xi+:} false; then :
11798 $as_echo_n "(cached) " >&6
11799 else
11800 ac_check_soname_save_LIBS=$LIBS
11801 LIBS="-lXi $X_LIBS $X_EXTRA_LIBS $LIBS"
11802 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11803 /* end confdefs.h. */
11805 /* Override any GCC internal prototype to avoid an error.
11806 Use char because int might match the return type of a GCC
11807 builtin and then its argument prototype would still apply. */
11808 #ifdef __cplusplus
11809 extern "C"
11810 #endif
11811 char XOpenDevice ();
11813 main ()
11815 return XOpenDevice ();
11817 return 0;
11819 _ACEOF
11820 if ac_fn_c_try_link "$LINENO"; then :
11821 case "$LIBEXT" in
11822 dll) ac_cv_lib_soname_Xi=`$ac_cv_path_LDD conftest.exe | grep "Xi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11823 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'` ;;
11824 *) ac_cv_lib_soname_Xi=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11825 if ${ac_cv_lib_soname_Xi:+false} :; then :
11826 ac_cv_lib_soname_Xi=`$LDD conftest$ac_exeext | grep "libXi\\.$LIBEXT" | sed -e "s/^.*\(libXi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11827 fi ;;
11828 esac
11829 else
11830 ac_cv_lib_soname_Xi=
11832 rm -f core conftest.err conftest.$ac_objext \
11833 conftest$ac_exeext conftest.$ac_ext
11834 LIBS=$ac_check_soname_save_LIBS
11836 if ${ac_cv_lib_soname_Xi:+false} :; then :
11837 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11838 $as_echo "not found" >&6; }
11840 else
11841 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xi" >&5
11842 $as_echo "$ac_cv_lib_soname_Xi" >&6; }
11844 cat >>confdefs.h <<_ACEOF
11845 #define SONAME_LIBXI "$ac_cv_lib_soname_Xi"
11846 _ACEOF
11851 if test "x$ac_cv_lib_soname_Xi" = "x"; then :
11852 case "x$with_xinput" in
11853 x) as_fn_append wine_notices "|libxi ${notice_platform}development files not found, the Xinput extension won't be supported." ;;
11854 xno) ;;
11855 *) as_fn_error $? "libxi ${notice_platform}development files not found, the Xinput extension won't be supported.
11856 This is an error since --with-xinput was requested." "$LINENO" 5 ;;
11857 esac
11861 if test "x$ac_cv_lib_soname_Xi" != x
11862 then
11863 if test "$ac_cv_header_X11_extensions_XInput2_h" != "yes"; then :
11864 case "x$with_xinput2" in
11865 x) as_fn_append wine_notices "|XInput2 headers not found, the XInput 2 extension won't be supported." ;;
11866 xno) ;;
11867 *) as_fn_error $? "XInput2 headers not found, the XInput 2 extension won't be supported.
11868 This is an error since --with-xinput2 was requested." "$LINENO" 5 ;;
11869 esac
11874 if test "$ac_cv_header_X11_extensions_XShm_h" = "yes"
11875 then
11876 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShmQueryExtension in -lXext" >&5
11877 $as_echo_n "checking for XShmQueryExtension in -lXext... " >&6; }
11878 if ${ac_cv_lib_Xext_XShmQueryExtension+:} false; then :
11879 $as_echo_n "(cached) " >&6
11880 else
11881 ac_check_lib_save_LIBS=$LIBS
11882 LIBS="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
11883 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11884 /* end confdefs.h. */
11886 /* Override any GCC internal prototype to avoid an error.
11887 Use char because int might match the return type of a GCC
11888 builtin and then its argument prototype would still apply. */
11889 #ifdef __cplusplus
11890 extern "C"
11891 #endif
11892 char XShmQueryExtension ();
11894 main ()
11896 return XShmQueryExtension ();
11898 return 0;
11900 _ACEOF
11901 if ac_fn_c_try_link "$LINENO"; then :
11902 ac_cv_lib_Xext_XShmQueryExtension=yes
11903 else
11904 ac_cv_lib_Xext_XShmQueryExtension=no
11906 rm -f core conftest.err conftest.$ac_objext \
11907 conftest$ac_exeext conftest.$ac_ext
11908 LIBS=$ac_check_lib_save_LIBS
11910 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShmQueryExtension" >&5
11911 $as_echo "$ac_cv_lib_Xext_XShmQueryExtension" >&6; }
11912 if test "x$ac_cv_lib_Xext_XShmQueryExtension" = xyes; then :
11914 $as_echo "#define HAVE_LIBXXSHM 1" >>confdefs.h
11919 if test "$ac_cv_lib_Xext_XShmQueryExtension" != "yes"; then :
11920 case "x$with_xshm" in
11921 x) as_fn_append wine_notices "|XShm ${notice_platform}development files not found, X Shared Memory won't be supported." ;;
11922 xno) ;;
11923 *) as_fn_error $? "XShm ${notice_platform}development files not found, X Shared Memory won't be supported.
11924 This is an error since --with-xshm was requested." "$LINENO" 5 ;;
11925 esac
11929 if test "$ac_cv_header_X11_extensions_shape_h" = "yes"
11930 then
11931 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShapeQueryExtension in -lXext" >&5
11932 $as_echo_n "checking for XShapeQueryExtension in -lXext... " >&6; }
11933 if ${ac_cv_lib_Xext_XShapeQueryExtension+:} false; then :
11934 $as_echo_n "(cached) " >&6
11935 else
11936 ac_check_lib_save_LIBS=$LIBS
11937 LIBS="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
11938 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11939 /* end confdefs.h. */
11941 /* Override any GCC internal prototype to avoid an error.
11942 Use char because int might match the return type of a GCC
11943 builtin and then its argument prototype would still apply. */
11944 #ifdef __cplusplus
11945 extern "C"
11946 #endif
11947 char XShapeQueryExtension ();
11949 main ()
11951 return XShapeQueryExtension ();
11953 return 0;
11955 _ACEOF
11956 if ac_fn_c_try_link "$LINENO"; then :
11957 ac_cv_lib_Xext_XShapeQueryExtension=yes
11958 else
11959 ac_cv_lib_Xext_XShapeQueryExtension=no
11961 rm -f core conftest.err conftest.$ac_objext \
11962 conftest$ac_exeext conftest.$ac_ext
11963 LIBS=$ac_check_lib_save_LIBS
11965 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
11966 $as_echo "$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
11967 if test "x$ac_cv_lib_Xext_XShapeQueryExtension" = xyes; then :
11969 $as_echo "#define HAVE_LIBXSHAPE 1" >>confdefs.h
11974 if test "$ac_cv_lib_Xext_XShapeQueryExtension" != "yes"; then :
11975 case "x$with_xshape" in
11976 x) as_fn_append wine_notices "|XShape ${notice_platform}development files not found, XShape won't be supported." ;;
11977 xno) ;;
11978 *) as_fn_error $? "XShape ${notice_platform}development files not found, XShape won't be supported.
11979 This is an error since --with-xshape was requested." "$LINENO" 5 ;;
11980 esac
11984 if test "$ac_cv_header_X11_extensions_xf86vmode_h" = "yes" -o "$ac_cv_header_X11_extensions_xf86vmproto_h" = "yes"
11985 then
11986 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXxf86vm" >&5
11987 $as_echo_n "checking for -lXxf86vm... " >&6; }
11988 if ${ac_cv_lib_soname_Xxf86vm+:} false; then :
11989 $as_echo_n "(cached) " >&6
11990 else
11991 ac_check_soname_save_LIBS=$LIBS
11992 LIBS="-lXxf86vm $X_LIBS $X_EXTRA_LIBS $LIBS"
11993 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11994 /* end confdefs.h. */
11996 /* Override any GCC internal prototype to avoid an error.
11997 Use char because int might match the return type of a GCC
11998 builtin and then its argument prototype would still apply. */
11999 #ifdef __cplusplus
12000 extern "C"
12001 #endif
12002 char XF86VidModeQueryExtension ();
12004 main ()
12006 return XF86VidModeQueryExtension ();
12008 return 0;
12010 _ACEOF
12011 if ac_fn_c_try_link "$LINENO"; then :
12012 case "$LIBEXT" in
12013 dll) ac_cv_lib_soname_Xxf86vm=`$ac_cv_path_LDD conftest.exe | grep "Xxf86vm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12014 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'` ;;
12015 *) ac_cv_lib_soname_Xxf86vm=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXxf86vm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12016 if ${ac_cv_lib_soname_Xxf86vm:+false} :; then :
12017 ac_cv_lib_soname_Xxf86vm=`$LDD conftest$ac_exeext | grep "libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\(libXxf86vm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12018 fi ;;
12019 esac
12020 else
12021 ac_cv_lib_soname_Xxf86vm=
12023 rm -f core conftest.err conftest.$ac_objext \
12024 conftest$ac_exeext conftest.$ac_ext
12025 LIBS=$ac_check_soname_save_LIBS
12027 if ${ac_cv_lib_soname_Xxf86vm:+false} :; then :
12028 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12029 $as_echo "not found" >&6; }
12031 else
12032 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xxf86vm" >&5
12033 $as_echo "$ac_cv_lib_soname_Xxf86vm" >&6; }
12035 cat >>confdefs.h <<_ACEOF
12036 #define SONAME_LIBXXF86VM "$ac_cv_lib_soname_Xxf86vm"
12037 _ACEOF
12042 if test "x$ac_cv_lib_soname_Xxf86vm" = "x"; then :
12043 case "x$with_xxf86vm" in
12044 x) as_fn_append wine_notices "|libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported." ;;
12045 xno) ;;
12046 *) as_fn_error $? "libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported.
12047 This is an error since --with-xxf86vm was requested." "$LINENO" 5 ;;
12048 esac
12052 if test "$ac_cv_header_X11_extensions_Xrender_h" = "yes" -a "x$ac_cv_lib_soname_X11" != "x"
12053 then
12054 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXrender" >&5
12055 $as_echo_n "checking for -lXrender... " >&6; }
12056 if ${ac_cv_lib_soname_Xrender+:} false; then :
12057 $as_echo_n "(cached) " >&6
12058 else
12059 ac_check_soname_save_LIBS=$LIBS
12060 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
12061 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12062 /* end confdefs.h. */
12064 /* Override any GCC internal prototype to avoid an error.
12065 Use char because int might match the return type of a GCC
12066 builtin and then its argument prototype would still apply. */
12067 #ifdef __cplusplus
12068 extern "C"
12069 #endif
12070 char XRenderQueryExtension ();
12072 main ()
12074 return XRenderQueryExtension ();
12076 return 0;
12078 _ACEOF
12079 if ac_fn_c_try_link "$LINENO"; then :
12080 case "$LIBEXT" in
12081 dll) ac_cv_lib_soname_Xrender=`$ac_cv_path_LDD conftest.exe | grep "Xrender" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12082 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'` ;;
12083 *) ac_cv_lib_soname_Xrender=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrender\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrender\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12084 if ${ac_cv_lib_soname_Xrender:+false} :; then :
12085 ac_cv_lib_soname_Xrender=`$LDD conftest$ac_exeext | grep "libXrender\\.$LIBEXT" | sed -e "s/^.*\(libXrender\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12086 fi ;;
12087 esac
12088 else
12089 ac_cv_lib_soname_Xrender=
12091 rm -f core conftest.err conftest.$ac_objext \
12092 conftest$ac_exeext conftest.$ac_ext
12093 LIBS=$ac_check_soname_save_LIBS
12095 if ${ac_cv_lib_soname_Xrender:+false} :; then :
12096 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12097 $as_echo "not found" >&6; }
12099 else
12100 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrender" >&5
12101 $as_echo "$ac_cv_lib_soname_Xrender" >&6; }
12103 cat >>confdefs.h <<_ACEOF
12104 #define SONAME_LIBXRENDER "$ac_cv_lib_soname_Xrender"
12105 _ACEOF
12107 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderSetPictureTransform in -lXrender" >&5
12108 $as_echo_n "checking for XRenderSetPictureTransform in -lXrender... " >&6; }
12109 if ${ac_cv_lib_Xrender_XRenderSetPictureTransform+:} false; then :
12110 $as_echo_n "(cached) " >&6
12111 else
12112 ac_check_lib_save_LIBS=$LIBS
12113 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
12114 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12115 /* end confdefs.h. */
12117 /* Override any GCC internal prototype to avoid an error.
12118 Use char because int might match the return type of a GCC
12119 builtin and then its argument prototype would still apply. */
12120 #ifdef __cplusplus
12121 extern "C"
12122 #endif
12123 char XRenderSetPictureTransform ();
12125 main ()
12127 return XRenderSetPictureTransform ();
12129 return 0;
12131 _ACEOF
12132 if ac_fn_c_try_link "$LINENO"; then :
12133 ac_cv_lib_Xrender_XRenderSetPictureTransform=yes
12134 else
12135 ac_cv_lib_Xrender_XRenderSetPictureTransform=no
12137 rm -f core conftest.err conftest.$ac_objext \
12138 conftest$ac_exeext conftest.$ac_ext
12139 LIBS=$ac_check_lib_save_LIBS
12141 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderSetPictureTransform" >&5
12142 $as_echo "$ac_cv_lib_Xrender_XRenderSetPictureTransform" >&6; }
12143 if test "x$ac_cv_lib_Xrender_XRenderSetPictureTransform" = xyes; then :
12145 $as_echo "#define HAVE_XRENDERSETPICTURETRANSFORM 1" >>confdefs.h
12149 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderCreateLinearGradient in -lXrender" >&5
12150 $as_echo_n "checking for XRenderCreateLinearGradient in -lXrender... " >&6; }
12151 if ${ac_cv_lib_Xrender_XRenderCreateLinearGradient+:} false; then :
12152 $as_echo_n "(cached) " >&6
12153 else
12154 ac_check_lib_save_LIBS=$LIBS
12155 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
12156 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12157 /* end confdefs.h. */
12159 /* Override any GCC internal prototype to avoid an error.
12160 Use char because int might match the return type of a GCC
12161 builtin and then its argument prototype would still apply. */
12162 #ifdef __cplusplus
12163 extern "C"
12164 #endif
12165 char XRenderCreateLinearGradient ();
12167 main ()
12169 return XRenderCreateLinearGradient ();
12171 return 0;
12173 _ACEOF
12174 if ac_fn_c_try_link "$LINENO"; then :
12175 ac_cv_lib_Xrender_XRenderCreateLinearGradient=yes
12176 else
12177 ac_cv_lib_Xrender_XRenderCreateLinearGradient=no
12179 rm -f core conftest.err conftest.$ac_objext \
12180 conftest$ac_exeext conftest.$ac_ext
12181 LIBS=$ac_check_lib_save_LIBS
12183 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&5
12184 $as_echo "$ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&6; }
12185 if test "x$ac_cv_lib_Xrender_XRenderCreateLinearGradient" = xyes; then :
12187 $as_echo "#define HAVE_XRENDERCREATELINEARGRADIENT 1" >>confdefs.h
12194 if test "x$ac_cv_lib_soname_Xrender" = "x"; then :
12195 case "x$with_xrender" in
12196 x) as_fn_append wine_warnings "|libxrender ${notice_platform}development files not found, XRender won't be supported." ;;
12197 xno) ;;
12198 *) as_fn_error $? "libxrender ${notice_platform}development files not found, XRender won't be supported.
12199 This is an error since --with-xrender was requested." "$LINENO" 5 ;;
12200 esac
12204 if test "$ac_cv_header_X11_extensions_Xrandr_h" = "yes" -a "x$ac_cv_lib_soname_Xrender" != "x"
12205 then
12206 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12207 /* end confdefs.h. */
12208 #include <X11/Xlib.h>
12209 #include <X11/extensions/Xrandr.h>
12211 main ()
12213 static typeof(XRRSetScreenConfigAndRate) * func; if (func) return 0;
12215 return 0;
12217 _ACEOF
12218 if ac_fn_c_try_compile "$LINENO"; then :
12219 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXrandr" >&5
12220 $as_echo_n "checking for -lXrandr... " >&6; }
12221 if ${ac_cv_lib_soname_Xrandr+:} false; then :
12222 $as_echo_n "(cached) " >&6
12223 else
12224 ac_check_soname_save_LIBS=$LIBS
12225 LIBS="-lXrandr $X_LIBS $X_EXTRA_LIBS $LIBS"
12226 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12227 /* end confdefs.h. */
12229 /* Override any GCC internal prototype to avoid an error.
12230 Use char because int might match the return type of a GCC
12231 builtin and then its argument prototype would still apply. */
12232 #ifdef __cplusplus
12233 extern "C"
12234 #endif
12235 char XRRQueryExtension ();
12237 main ()
12239 return XRRQueryExtension ();
12241 return 0;
12243 _ACEOF
12244 if ac_fn_c_try_link "$LINENO"; then :
12245 case "$LIBEXT" in
12246 dll) ac_cv_lib_soname_Xrandr=`$ac_cv_path_LDD conftest.exe | grep "Xrandr" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12247 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'` ;;
12248 *) ac_cv_lib_soname_Xrandr=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrandr\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrandr\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12249 if ${ac_cv_lib_soname_Xrandr:+false} :; then :
12250 ac_cv_lib_soname_Xrandr=`$LDD conftest$ac_exeext | grep "libXrandr\\.$LIBEXT" | sed -e "s/^.*\(libXrandr\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12251 fi ;;
12252 esac
12253 else
12254 ac_cv_lib_soname_Xrandr=
12256 rm -f core conftest.err conftest.$ac_objext \
12257 conftest$ac_exeext conftest.$ac_ext
12258 LIBS=$ac_check_soname_save_LIBS
12260 if ${ac_cv_lib_soname_Xrandr:+false} :; then :
12261 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12262 $as_echo "not found" >&6; }
12264 else
12265 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrandr" >&5
12266 $as_echo "$ac_cv_lib_soname_Xrandr" >&6; }
12268 cat >>confdefs.h <<_ACEOF
12269 #define SONAME_LIBXRANDR "$ac_cv_lib_soname_Xrandr"
12270 _ACEOF
12272 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12273 /* end confdefs.h. */
12274 #include <X11/Xlib.h>
12275 #include <X11/extensions/Xrandr.h>
12277 main ()
12279 static typeof(XRRGetProviderResources) *f; if (f) return 0;
12281 return 0;
12283 _ACEOF
12284 if ac_fn_c_try_compile "$LINENO"; then :
12286 $as_echo "#define HAVE_XRRGETPROVIDERRESOURCES 1" >>confdefs.h
12288 else
12289 as_fn_append wine_notices "|libxrandr ${notice_platform}development files too old, XRandR display device handler won't be supported."
12291 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12294 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12296 if test "x$ac_cv_lib_soname_Xrandr" = "x"; then :
12297 case "x$with_xrandr" in
12298 x) as_fn_append wine_notices "|libxrandr ${notice_platform}development files not found, XRandr won't be supported." ;;
12299 xno) ;;
12300 *) as_fn_error $? "libxrandr ${notice_platform}development files not found, XRandr won't be supported.
12301 This is an error since --with-xrandr was requested." "$LINENO" 5 ;;
12302 esac
12306 if test "$ac_cv_header_X11_extensions_Xfixes_h" = "yes"
12307 then
12308 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12309 /* end confdefs.h. */
12310 #include <X11/Xlib.h>
12311 #include <X11/extensions/Xfixes.h>
12313 main ()
12315 static typeof(XFixesQueryVersion) * func; if (func) return 0;
12317 return 0;
12319 _ACEOF
12320 if ac_fn_c_try_compile "$LINENO"; then :
12321 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXfixes" >&5
12322 $as_echo_n "checking for -lXfixes... " >&6; }
12323 if ${ac_cv_lib_soname_Xfixes+:} false; then :
12324 $as_echo_n "(cached) " >&6
12325 else
12326 ac_check_soname_save_LIBS=$LIBS
12327 LIBS="-lXfixes $X_LIBS $X_EXTRA_LIBS $LIBS"
12328 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12329 /* end confdefs.h. */
12331 /* Override any GCC internal prototype to avoid an error.
12332 Use char because int might match the return type of a GCC
12333 builtin and then its argument prototype would still apply. */
12334 #ifdef __cplusplus
12335 extern "C"
12336 #endif
12337 char XFixesQueryVersion ();
12339 main ()
12341 return XFixesQueryVersion ();
12343 return 0;
12345 _ACEOF
12346 if ac_fn_c_try_link "$LINENO"; then :
12347 case "$LIBEXT" in
12348 dll) ac_cv_lib_soname_Xfixes=`$ac_cv_path_LDD conftest.exe | grep "Xfixes" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12349 dylib) ac_cv_lib_soname_Xfixes=`$OTOOL -L conftest$ac_exeext | grep "libXfixes\\.[0-9A-Za-z.]*dylib" | sed -e "s/^.*\/\(libXfixes\.[0-9A-Za-z.]*dylib\).*$/\1/"';2,$d'` ;;
12350 *) ac_cv_lib_soname_Xfixes=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXfixes\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXfixes\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12351 if ${ac_cv_lib_soname_Xfixes:+false} :; then :
12352 ac_cv_lib_soname_Xfixes=`$LDD conftest$ac_exeext | grep "libXfixes\\.$LIBEXT" | sed -e "s/^.*\(libXfixes\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12353 fi ;;
12354 esac
12355 else
12356 ac_cv_lib_soname_Xfixes=
12358 rm -f core conftest.err conftest.$ac_objext \
12359 conftest$ac_exeext conftest.$ac_ext
12360 LIBS=$ac_check_soname_save_LIBS
12362 if ${ac_cv_lib_soname_Xfixes:+false} :; then :
12363 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12364 $as_echo "not found" >&6; }
12366 else
12367 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xfixes" >&5
12368 $as_echo "$ac_cv_lib_soname_Xfixes" >&6; }
12370 cat >>confdefs.h <<_ACEOF
12371 #define SONAME_LIBXFIXES "$ac_cv_lib_soname_Xfixes"
12372 _ACEOF
12377 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12379 if test "x$ac_cv_lib_soname_Xfixes" = "x"; then :
12380 case "x$with_xfixes" in
12381 x) as_fn_append wine_notices "|libxfixes ${notice_platform}development files not found, Xfixes won't be supported." ;;
12382 xno) ;;
12383 *) as_fn_error $? "libxfixes ${notice_platform}development files not found, Xfixes won't be supported.
12384 This is an error since --with-xfixes was requested." "$LINENO" 5 ;;
12385 esac
12389 if test "$ac_cv_header_X11_extensions_Xinerama_h" = "yes"
12390 then
12391 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12392 /* end confdefs.h. */
12393 #include <X11/Xlib.h>
12394 #include <X11/extensions/Xinerama.h>
12396 main ()
12398 static typeof(XineramaQueryScreens) * func; if (func) return 0;
12400 return 0;
12402 _ACEOF
12403 if ac_fn_c_try_compile "$LINENO"; then :
12404 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXinerama" >&5
12405 $as_echo_n "checking for -lXinerama... " >&6; }
12406 if ${ac_cv_lib_soname_Xinerama+:} false; then :
12407 $as_echo_n "(cached) " >&6
12408 else
12409 ac_check_soname_save_LIBS=$LIBS
12410 LIBS="-lXinerama $X_LIBS $X_EXTRA_LIBS $LIBS"
12411 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12412 /* end confdefs.h. */
12414 /* Override any GCC internal prototype to avoid an error.
12415 Use char because int might match the return type of a GCC
12416 builtin and then its argument prototype would still apply. */
12417 #ifdef __cplusplus
12418 extern "C"
12419 #endif
12420 char XineramaQueryScreens ();
12422 main ()
12424 return XineramaQueryScreens ();
12426 return 0;
12428 _ACEOF
12429 if ac_fn_c_try_link "$LINENO"; then :
12430 case "$LIBEXT" in
12431 dll) ac_cv_lib_soname_Xinerama=`$ac_cv_path_LDD conftest.exe | grep "Xinerama" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12432 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'` ;;
12433 *) ac_cv_lib_soname_Xinerama=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXinerama\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXinerama\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12434 if ${ac_cv_lib_soname_Xinerama:+false} :; then :
12435 ac_cv_lib_soname_Xinerama=`$LDD conftest$ac_exeext | grep "libXinerama\\.$LIBEXT" | sed -e "s/^.*\(libXinerama\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12436 fi ;;
12437 esac
12438 else
12439 ac_cv_lib_soname_Xinerama=
12441 rm -f core conftest.err conftest.$ac_objext \
12442 conftest$ac_exeext conftest.$ac_ext
12443 LIBS=$ac_check_soname_save_LIBS
12445 if ${ac_cv_lib_soname_Xinerama:+false} :; then :
12446 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12447 $as_echo "not found" >&6; }
12449 else
12450 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xinerama" >&5
12451 $as_echo "$ac_cv_lib_soname_Xinerama" >&6; }
12453 cat >>confdefs.h <<_ACEOF
12454 #define SONAME_LIBXINERAMA "$ac_cv_lib_soname_Xinerama"
12455 _ACEOF
12460 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12462 if test "x$ac_cv_lib_soname_Xinerama" = "x"; then :
12463 case "x$with_xinerama" in
12464 x) as_fn_append wine_notices "|libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported." ;;
12465 xno) ;;
12466 *) as_fn_error $? "libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported.
12467 This is an error since --with-xinerama was requested." "$LINENO" 5 ;;
12468 esac
12472 if test "$ac_cv_header_X11_extensions_Xcomposite_h" = "yes"
12473 then
12474 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXcomposite" >&5
12475 $as_echo_n "checking for -lXcomposite... " >&6; }
12476 if ${ac_cv_lib_soname_Xcomposite+:} false; then :
12477 $as_echo_n "(cached) " >&6
12478 else
12479 ac_check_soname_save_LIBS=$LIBS
12480 LIBS="-lXcomposite $X_LIBS $X_EXTRA_LIBS $LIBS"
12481 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12482 /* end confdefs.h. */
12484 /* Override any GCC internal prototype to avoid an error.
12485 Use char because int might match the return type of a GCC
12486 builtin and then its argument prototype would still apply. */
12487 #ifdef __cplusplus
12488 extern "C"
12489 #endif
12490 char XCompositeRedirectWindow ();
12492 main ()
12494 return XCompositeRedirectWindow ();
12496 return 0;
12498 _ACEOF
12499 if ac_fn_c_try_link "$LINENO"; then :
12500 case "$LIBEXT" in
12501 dll) ac_cv_lib_soname_Xcomposite=`$ac_cv_path_LDD conftest.exe | grep "Xcomposite" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12502 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'` ;;
12503 *) ac_cv_lib_soname_Xcomposite=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcomposite\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcomposite\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12504 if ${ac_cv_lib_soname_Xcomposite:+false} :; then :
12505 ac_cv_lib_soname_Xcomposite=`$LDD conftest$ac_exeext | grep "libXcomposite\\.$LIBEXT" | sed -e "s/^.*\(libXcomposite\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12506 fi ;;
12507 esac
12508 else
12509 ac_cv_lib_soname_Xcomposite=
12511 rm -f core conftest.err conftest.$ac_objext \
12512 conftest$ac_exeext conftest.$ac_ext
12513 LIBS=$ac_check_soname_save_LIBS
12515 if ${ac_cv_lib_soname_Xcomposite:+false} :; then :
12516 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12517 $as_echo "not found" >&6; }
12519 else
12520 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcomposite" >&5
12521 $as_echo "$ac_cv_lib_soname_Xcomposite" >&6; }
12523 cat >>confdefs.h <<_ACEOF
12524 #define SONAME_LIBXCOMPOSITE "$ac_cv_lib_soname_Xcomposite"
12525 _ACEOF
12530 if test "x$ac_cv_lib_soname_Xcomposite" = "x"; then :
12531 case "x$with_xcomposite" in
12532 x) as_fn_append wine_notices "|libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported." ;;
12533 xno) ;;
12534 *) as_fn_error $? "libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported.
12535 This is an error since --with-xcomposite was requested." "$LINENO" 5 ;;
12536 esac
12540 ac_fn_c_check_member "$LINENO" "XICCallback" "callback" "ac_cv_member_XICCallback_callback" "#ifdef HAVE_X11_XLIB_H
12541 #include <X11/Xlib.h>
12542 #endif
12544 if test "x$ac_cv_member_XICCallback_callback" = xyes; then :
12546 cat >>confdefs.h <<_ACEOF
12547 #define HAVE_XICCALLBACK_CALLBACK 1
12548 _ACEOF
12552 ac_fn_c_check_member "$LINENO" "XEvent" "xcookie" "ac_cv_member_XEvent_xcookie" "#ifdef HAVE_X11_XLIB_H
12553 #include <X11/Xlib.h>
12554 #endif
12556 if test "x$ac_cv_member_XEvent_xcookie" = xyes; then :
12558 cat >>confdefs.h <<_ACEOF
12559 #define HAVE_XEVENT_XCOOKIE 1
12560 _ACEOF
12567 opengl_msg=""
12568 if test "x$with_opengl" != "xno"
12569 then
12570 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
12571 $as_echo_n "checking for -lGL... " >&6; }
12572 if ${ac_cv_lib_soname_GL+:} false; then :
12573 $as_echo_n "(cached) " >&6
12574 else
12575 ac_check_soname_save_LIBS=$LIBS
12576 LIBS="-lGL $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
12577 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12578 /* end confdefs.h. */
12580 /* Override any GCC internal prototype to avoid an error.
12581 Use char because int might match the return type of a GCC
12582 builtin and then its argument prototype would still apply. */
12583 #ifdef __cplusplus
12584 extern "C"
12585 #endif
12586 char glXCreateContext ();
12588 main ()
12590 return glXCreateContext ();
12592 return 0;
12594 _ACEOF
12595 if ac_fn_c_try_link "$LINENO"; then :
12596 case "$LIBEXT" in
12597 dll) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12598 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'` ;;
12599 *) ac_cv_lib_soname_GL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12600 if ${ac_cv_lib_soname_GL:+false} :; then :
12601 ac_cv_lib_soname_GL=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12602 fi ;;
12603 esac
12604 else
12605 ac_cv_lib_soname_GL=
12607 rm -f core conftest.err conftest.$ac_objext \
12608 conftest$ac_exeext conftest.$ac_ext
12609 LIBS=$ac_check_soname_save_LIBS
12611 if ${ac_cv_lib_soname_GL:+false} :; then :
12612 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12613 $as_echo "not found" >&6; }
12614 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
12615 $as_echo_n "checking for -lGL... " >&6; }
12616 if ${ac_cv_lib_soname_GL+:} false; then :
12617 $as_echo_n "(cached) " >&6
12618 else
12619 ac_check_soname_save_LIBS=$LIBS
12620 LIBS="-lGL $X_LIBS -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"
12621 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12622 /* end confdefs.h. */
12624 /* Override any GCC internal prototype to avoid an error.
12625 Use char because int might match the return type of a GCC
12626 builtin and then its argument prototype would still apply. */
12627 #ifdef __cplusplus
12628 extern "C"
12629 #endif
12630 char glXCreateContext ();
12632 main ()
12634 return glXCreateContext ();
12636 return 0;
12638 _ACEOF
12639 if ac_fn_c_try_link "$LINENO"; then :
12640 case "$LIBEXT" in
12641 dll) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12642 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'` ;;
12643 *) ac_cv_lib_soname_GL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12644 if ${ac_cv_lib_soname_GL:+false} :; then :
12645 ac_cv_lib_soname_GL=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12646 fi ;;
12647 esac
12648 else
12649 ac_cv_lib_soname_GL=
12651 rm -f core conftest.err conftest.$ac_objext \
12652 conftest$ac_exeext conftest.$ac_ext
12653 LIBS=$ac_check_soname_save_LIBS
12655 if ${ac_cv_lib_soname_GL:+false} :; then :
12656 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12657 $as_echo "not found" >&6; }
12658 if test -f /usr/X11R6/lib/libGL.a
12659 then
12660 opengl_msg="/usr/X11R6/lib/libGL.a is present on your system.
12661 This probably prevents linking to OpenGL. Try deleting the file and restarting configure."
12662 else
12663 opengl_msg="No OpenGL library found on this system."
12665 else
12666 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
12667 $as_echo "$ac_cv_lib_soname_GL" >&6; }
12669 cat >>confdefs.h <<_ACEOF
12670 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
12671 _ACEOF
12673 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"
12675 else
12676 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
12677 $as_echo "$ac_cv_lib_soname_GL" >&6; }
12679 cat >>confdefs.h <<_ACEOF
12680 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
12681 _ACEOF
12683 OPENGL_LIBS="-lGL"
12685 if test "x$with_osmesa" != "xno"
12686 then
12687 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lOSMesa" >&5
12688 $as_echo_n "checking for -lOSMesa... " >&6; }
12689 if ${ac_cv_lib_soname_OSMesa+:} false; then :
12690 $as_echo_n "(cached) " >&6
12691 else
12692 ac_check_soname_save_LIBS=$LIBS
12693 LIBS="-lOSMesa $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
12694 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12695 /* end confdefs.h. */
12697 /* Override any GCC internal prototype to avoid an error.
12698 Use char because int might match the return type of a GCC
12699 builtin and then its argument prototype would still apply. */
12700 #ifdef __cplusplus
12701 extern "C"
12702 #endif
12703 char OSMesaGetProcAddress ();
12705 main ()
12707 return OSMesaGetProcAddress ();
12709 return 0;
12711 _ACEOF
12712 if ac_fn_c_try_link "$LINENO"; then :
12713 case "$LIBEXT" in
12714 dll) ac_cv_lib_soname_OSMesa=`$ac_cv_path_LDD conftest.exe | grep "OSMesa" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12715 dylib) ac_cv_lib_soname_OSMesa=`$OTOOL -L conftest$ac_exeext | grep "libOSMesa\\.[0-9A-Za-z.]*dylib" | sed -e "s/^.*\/\(libOSMesa\.[0-9A-Za-z.]*dylib\).*$/\1/"';2,$d'` ;;
12716 *) ac_cv_lib_soname_OSMesa=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libOSMesa\\.$LIBEXT" | sed -e "s/^.*\\[\\(libOSMesa\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12717 if ${ac_cv_lib_soname_OSMesa:+false} :; then :
12718 ac_cv_lib_soname_OSMesa=`$LDD conftest$ac_exeext | grep "libOSMesa\\.$LIBEXT" | sed -e "s/^.*\(libOSMesa\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12719 fi ;;
12720 esac
12721 else
12722 ac_cv_lib_soname_OSMesa=
12724 rm -f core conftest.err conftest.$ac_objext \
12725 conftest$ac_exeext conftest.$ac_ext
12726 LIBS=$ac_check_soname_save_LIBS
12728 if ${ac_cv_lib_soname_OSMesa:+false} :; then :
12729 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12730 $as_echo "not found" >&6; }
12732 else
12733 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_OSMesa" >&5
12734 $as_echo "$ac_cv_lib_soname_OSMesa" >&6; }
12736 cat >>confdefs.h <<_ACEOF
12737 #define SONAME_LIBOSMESA "$ac_cv_lib_soname_OSMesa"
12738 _ACEOF
12742 if test "x$ac_cv_lib_soname_OSMesa" = "x"; then :
12743 case "x$with_osmesa" in
12744 x) as_fn_append wine_notices "|libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported." ;;
12745 xno) ;;
12746 *) as_fn_error $? "libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported.
12747 This is an error since --with-osmesa was requested." "$LINENO" 5 ;;
12748 esac
12753 if test -n "$opengl_msg"; then :
12754 case "x$with_opengl" in
12755 x) as_fn_append wine_warnings "|$opengl_msg
12756 OpenGL and Direct3D won't be supported." ;;
12757 xno) ;;
12758 *) as_fn_error $? "$opengl_msg
12759 OpenGL and Direct3D won't be supported.
12760 This is an error since --with-opengl was requested." "$LINENO" 5 ;;
12761 esac
12765 CPPFLAGS="$ac_save_CPPFLAGS"
12766 else
12767 X_CFLAGS=""
12768 X_LIBS=""
12771 if test "$enable_wineandroid_drv$enable_winemac_drv" = "nono"
12772 then
12773 if test "x$X_LIBS" = "x"; then :
12774 case "x$with_x" in
12775 xno) ;;
12776 *) as_fn_error $? "X ${notice_platform}development files not found. Wine will be built
12777 without X support, which probably isn't what you want. You will need
12778 to install ${notice_platform}development packages of Xlib at the very least.
12779 Use the --without-x option if you really want this." "$LINENO" 5 ;;
12780 esac
12781 enable_winex11_drv=${enable_winex11_drv:-no}
12783 else
12784 if test "x$X_LIBS" = "x"; then :
12785 case "x$with_x" in
12786 x) as_fn_append wine_notices "|X ${notice_platform}development files not found, the X11 driver won't be supported." ;;
12787 xno) ;;
12788 *) as_fn_error $? "X ${notice_platform}development files not found, the X11 driver won't be supported.
12789 This is an error since --with-x was requested." "$LINENO" 5 ;;
12790 esac
12791 enable_winex11_drv=${enable_winex11_drv:-no}
12795 if test "$ac_cv_header_CL_cl_h" = "yes"
12796 then
12797 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clGetPlatformInfo in -lOpenCL" >&5
12798 $as_echo_n "checking for clGetPlatformInfo in -lOpenCL... " >&6; }
12799 if ${ac_cv_lib_OpenCL_clGetPlatformInfo+:} false; then :
12800 $as_echo_n "(cached) " >&6
12801 else
12802 ac_check_lib_save_LIBS=$LIBS
12803 LIBS="-lOpenCL $LIBS"
12804 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12805 /* end confdefs.h. */
12807 /* Override any GCC internal prototype to avoid an error.
12808 Use char because int might match the return type of a GCC
12809 builtin and then its argument prototype would still apply. */
12810 #ifdef __cplusplus
12811 extern "C"
12812 #endif
12813 char clGetPlatformInfo ();
12815 main ()
12817 return clGetPlatformInfo ();
12819 return 0;
12821 _ACEOF
12822 if ac_fn_c_try_link "$LINENO"; then :
12823 ac_cv_lib_OpenCL_clGetPlatformInfo=yes
12824 else
12825 ac_cv_lib_OpenCL_clGetPlatformInfo=no
12827 rm -f core conftest.err conftest.$ac_objext \
12828 conftest$ac_exeext conftest.$ac_ext
12829 LIBS=$ac_check_lib_save_LIBS
12831 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_OpenCL_clGetPlatformInfo" >&5
12832 $as_echo "$ac_cv_lib_OpenCL_clGetPlatformInfo" >&6; }
12833 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" = xyes; then :
12834 OPENCL_LIBS="-lOpenCL"
12839 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" != xyes; then :
12840 case "x$with_opencl" in
12841 x) as_fn_append wine_notices "|OpenCL ${notice_platform}development files not found, OpenCL won't be supported." ;;
12842 xno) ;;
12843 *) as_fn_error $? "OpenCL ${notice_platform}development files not found, OpenCL won't be supported.
12844 This is an error since --with-opencl was requested." "$LINENO" 5 ;;
12845 esac
12846 enable_opencl=${enable_opencl:-no}
12849 if test "$ac_cv_header_pcap_pcap_h" = "yes"
12850 then
12851 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pcap_create in -lpcap" >&5
12852 $as_echo_n "checking for pcap_create in -lpcap... " >&6; }
12853 if ${ac_cv_lib_pcap_pcap_create+:} false; then :
12854 $as_echo_n "(cached) " >&6
12855 else
12856 ac_check_lib_save_LIBS=$LIBS
12857 LIBS="-lpcap $LIBS"
12858 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12859 /* end confdefs.h. */
12861 /* Override any GCC internal prototype to avoid an error.
12862 Use char because int might match the return type of a GCC
12863 builtin and then its argument prototype would still apply. */
12864 #ifdef __cplusplus
12865 extern "C"
12866 #endif
12867 char pcap_create ();
12869 main ()
12871 return pcap_create ();
12873 return 0;
12875 _ACEOF
12876 if ac_fn_c_try_link "$LINENO"; then :
12877 ac_cv_lib_pcap_pcap_create=yes
12878 else
12879 ac_cv_lib_pcap_pcap_create=no
12881 rm -f core conftest.err conftest.$ac_objext \
12882 conftest$ac_exeext conftest.$ac_ext
12883 LIBS=$ac_check_lib_save_LIBS
12885 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pcap_pcap_create" >&5
12886 $as_echo "$ac_cv_lib_pcap_pcap_create" >&6; }
12887 if test "x$ac_cv_lib_pcap_pcap_create" = xyes; then :
12888 PCAP_LIBS="-lpcap"
12893 if test "x$ac_cv_lib_pcap_pcap_create" != xyes; then :
12894 case "x$with_pcap" in
12895 x) as_fn_append wine_notices "|pcap ${notice_platform}development files not found, wpcap won't be supported." ;;
12896 xno) ;;
12897 *) as_fn_error $? "pcap ${notice_platform}development files not found, wpcap won't be supported.
12898 This is an error since --with-pcap was requested." "$LINENO" 5 ;;
12899 esac
12900 enable_wpcap=${enable_wpcap:-no}
12904 if test "x$with_xml" != "xno"
12905 then
12906 if ${XML2_CFLAGS:+false} :; then :
12907 if ${PKG_CONFIG+:} false; then :
12908 XML2_CFLAGS=`$PKG_CONFIG --cflags libxml-2.0 2>/dev/null`
12911 test "$cross_compiling" = yes || XML2_CFLAGS=${XML2_CFLAGS:-`${XML2_CONFIG:-xml2-config} --cflags 2>/dev/null`}
12912 if ${XML2_LIBS:+false} :; then :
12913 if ${PKG_CONFIG+:} false; then :
12914 XML2_LIBS=`$PKG_CONFIG --libs libxml-2.0 2>/dev/null`
12917 test "$cross_compiling" = yes || XML2_LIBS=${XML2_LIBS:-`${XML2_CONFIG:-xml2-config} --libs 2>/dev/null`}
12918 XML2_LIBS=${XML2_LIBS:-"-lxml2"}
12919 $as_echo "$as_me:${as_lineno-$LINENO}: libxml-2.0 cflags: $XML2_CFLAGS" >&5
12920 $as_echo "$as_me:${as_lineno-$LINENO}: libxml-2.0 libs: $XML2_LIBS" >&5
12921 ac_save_CPPFLAGS=$CPPFLAGS
12922 CPPFLAGS="$CPPFLAGS $XML2_CFLAGS"
12923 for ac_header in libxml/parser.h libxml/xmlsave.h libxml/SAX2.h
12924 do :
12925 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
12926 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
12927 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
12928 cat >>confdefs.h <<_ACEOF
12929 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
12930 _ACEOF
12934 done
12936 if test "$ac_cv_header_libxml_parser_h" = "yes" -a "$ac_cv_header_libxml_xmlsave_h" = "yes" -a "$ac_cv_header_libxml_SAX2_h" = "yes"
12937 then
12938 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlParseMemory in -lxml2" >&5
12939 $as_echo_n "checking for xmlParseMemory in -lxml2... " >&6; }
12940 if ${ac_cv_lib_xml2_xmlParseMemory+:} false; then :
12941 $as_echo_n "(cached) " >&6
12942 else
12943 ac_check_lib_save_LIBS=$LIBS
12944 LIBS="-lxml2 $XML2_LIBS $LIBS"
12945 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12946 /* end confdefs.h. */
12948 /* Override any GCC internal prototype to avoid an error.
12949 Use char because int might match the return type of a GCC
12950 builtin and then its argument prototype would still apply. */
12951 #ifdef __cplusplus
12952 extern "C"
12953 #endif
12954 char xmlParseMemory ();
12956 main ()
12958 return xmlParseMemory ();
12960 return 0;
12962 _ACEOF
12963 if ac_fn_c_try_link "$LINENO"; then :
12964 ac_cv_lib_xml2_xmlParseMemory=yes
12965 else
12966 ac_cv_lib_xml2_xmlParseMemory=no
12968 rm -f core conftest.err conftest.$ac_objext \
12969 conftest$ac_exeext conftest.$ac_ext
12970 LIBS=$ac_check_lib_save_LIBS
12972 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlParseMemory" >&5
12973 $as_echo "$ac_cv_lib_xml2_xmlParseMemory" >&6; }
12974 if test "x$ac_cv_lib_xml2_xmlParseMemory" = xyes; then :
12976 $as_echo "#define HAVE_LIBXML2 1" >>confdefs.h
12978 else
12979 XML2_LIBS=""
12982 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlReadMemory in -lxml2" >&5
12983 $as_echo_n "checking for xmlReadMemory in -lxml2... " >&6; }
12984 if ${ac_cv_lib_xml2_xmlReadMemory+:} false; then :
12985 $as_echo_n "(cached) " >&6
12986 else
12987 ac_check_lib_save_LIBS=$LIBS
12988 LIBS="-lxml2 $XML2_LIBS $LIBS"
12989 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12990 /* end confdefs.h. */
12992 /* Override any GCC internal prototype to avoid an error.
12993 Use char because int might match the return type of a GCC
12994 builtin and then its argument prototype would still apply. */
12995 #ifdef __cplusplus
12996 extern "C"
12997 #endif
12998 char xmlReadMemory ();
13000 main ()
13002 return xmlReadMemory ();
13004 return 0;
13006 _ACEOF
13007 if ac_fn_c_try_link "$LINENO"; then :
13008 ac_cv_lib_xml2_xmlReadMemory=yes
13009 else
13010 ac_cv_lib_xml2_xmlReadMemory=no
13012 rm -f core conftest.err conftest.$ac_objext \
13013 conftest$ac_exeext conftest.$ac_ext
13014 LIBS=$ac_check_lib_save_LIBS
13016 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlReadMemory" >&5
13017 $as_echo "$ac_cv_lib_xml2_xmlReadMemory" >&6; }
13018 if test "x$ac_cv_lib_xml2_xmlReadMemory" = xyes; then :
13020 $as_echo "#define HAVE_XMLREADMEMORY 1" >>confdefs.h
13024 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlNewDocPI in -lxml2" >&5
13025 $as_echo_n "checking for xmlNewDocPI in -lxml2... " >&6; }
13026 if ${ac_cv_lib_xml2_xmlNewDocPI+:} false; then :
13027 $as_echo_n "(cached) " >&6
13028 else
13029 ac_check_lib_save_LIBS=$LIBS
13030 LIBS="-lxml2 $XML2_LIBS $LIBS"
13031 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13032 /* end confdefs.h. */
13034 /* Override any GCC internal prototype to avoid an error.
13035 Use char because int might match the return type of a GCC
13036 builtin and then its argument prototype would still apply. */
13037 #ifdef __cplusplus
13038 extern "C"
13039 #endif
13040 char xmlNewDocPI ();
13042 main ()
13044 return xmlNewDocPI ();
13046 return 0;
13048 _ACEOF
13049 if ac_fn_c_try_link "$LINENO"; then :
13050 ac_cv_lib_xml2_xmlNewDocPI=yes
13051 else
13052 ac_cv_lib_xml2_xmlNewDocPI=no
13054 rm -f core conftest.err conftest.$ac_objext \
13055 conftest$ac_exeext conftest.$ac_ext
13056 LIBS=$ac_check_lib_save_LIBS
13058 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlNewDocPI" >&5
13059 $as_echo "$ac_cv_lib_xml2_xmlNewDocPI" >&6; }
13060 if test "x$ac_cv_lib_xml2_xmlNewDocPI" = xyes; then :
13062 $as_echo "#define HAVE_XMLNEWDOCPI 1" >>confdefs.h
13066 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlSchemaSetParserStructuredErrors in -lxml2" >&5
13067 $as_echo_n "checking for xmlSchemaSetParserStructuredErrors in -lxml2... " >&6; }
13068 if ${ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors+:} false; then :
13069 $as_echo_n "(cached) " >&6
13070 else
13071 ac_check_lib_save_LIBS=$LIBS
13072 LIBS="-lxml2 $XML2_LIBS $LIBS"
13073 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13074 /* end confdefs.h. */
13076 /* Override any GCC internal prototype to avoid an error.
13077 Use char because int might match the return type of a GCC
13078 builtin and then its argument prototype would still apply. */
13079 #ifdef __cplusplus
13080 extern "C"
13081 #endif
13082 char xmlSchemaSetParserStructuredErrors ();
13084 main ()
13086 return xmlSchemaSetParserStructuredErrors ();
13088 return 0;
13090 _ACEOF
13091 if ac_fn_c_try_link "$LINENO"; then :
13092 ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors=yes
13093 else
13094 ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors=no
13096 rm -f core conftest.err conftest.$ac_objext \
13097 conftest$ac_exeext conftest.$ac_ext
13098 LIBS=$ac_check_lib_save_LIBS
13100 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" >&5
13101 $as_echo "$ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" >&6; }
13102 if test "x$ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" = xyes; then :
13104 $as_echo "#define HAVE_XMLSCHEMASSETPARSERSTRUCTUREDERRORS 1" >>confdefs.h
13108 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlSchemaSetValidStructuredErrors in -lxml2" >&5
13109 $as_echo_n "checking for xmlSchemaSetValidStructuredErrors in -lxml2... " >&6; }
13110 if ${ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors+:} false; then :
13111 $as_echo_n "(cached) " >&6
13112 else
13113 ac_check_lib_save_LIBS=$LIBS
13114 LIBS="-lxml2 $XML2_LIBS $LIBS"
13115 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13116 /* end confdefs.h. */
13118 /* Override any GCC internal prototype to avoid an error.
13119 Use char because int might match the return type of a GCC
13120 builtin and then its argument prototype would still apply. */
13121 #ifdef __cplusplus
13122 extern "C"
13123 #endif
13124 char xmlSchemaSetValidStructuredErrors ();
13126 main ()
13128 return xmlSchemaSetValidStructuredErrors ();
13130 return 0;
13132 _ACEOF
13133 if ac_fn_c_try_link "$LINENO"; then :
13134 ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors=yes
13135 else
13136 ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors=no
13138 rm -f core conftest.err conftest.$ac_objext \
13139 conftest$ac_exeext conftest.$ac_ext
13140 LIBS=$ac_check_lib_save_LIBS
13142 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" >&5
13143 $as_echo "$ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" >&6; }
13144 if test "x$ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" = xyes; then :
13146 $as_echo "#define HAVE_XMLSCHEMASSETVALIDSTRUCTUREDERRORS 1" >>confdefs.h
13150 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlFirstElementChild in -lxml2" >&5
13151 $as_echo_n "checking for xmlFirstElementChild in -lxml2... " >&6; }
13152 if ${ac_cv_lib_xml2_xmlFirstElementChild+:} false; then :
13153 $as_echo_n "(cached) " >&6
13154 else
13155 ac_check_lib_save_LIBS=$LIBS
13156 LIBS="-lxml2 $XML2_LIBS $LIBS"
13157 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13158 /* end confdefs.h. */
13160 /* Override any GCC internal prototype to avoid an error.
13161 Use char because int might match the return type of a GCC
13162 builtin and then its argument prototype would still apply. */
13163 #ifdef __cplusplus
13164 extern "C"
13165 #endif
13166 char xmlFirstElementChild ();
13168 main ()
13170 return xmlFirstElementChild ();
13172 return 0;
13174 _ACEOF
13175 if ac_fn_c_try_link "$LINENO"; then :
13176 ac_cv_lib_xml2_xmlFirstElementChild=yes
13177 else
13178 ac_cv_lib_xml2_xmlFirstElementChild=no
13180 rm -f core conftest.err conftest.$ac_objext \
13181 conftest$ac_exeext conftest.$ac_ext
13182 LIBS=$ac_check_lib_save_LIBS
13184 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlFirstElementChild" >&5
13185 $as_echo "$ac_cv_lib_xml2_xmlFirstElementChild" >&6; }
13186 if test "x$ac_cv_lib_xml2_xmlFirstElementChild" = xyes; then :
13188 $as_echo "#define HAVE_XMLFIRSTELEMENTCHILD 1" >>confdefs.h
13192 ac_fn_c_check_type "$LINENO" "xmlDocProperties" "ac_cv_type_xmlDocProperties" "#include <libxml/tree.h>
13194 if test "x$ac_cv_type_xmlDocProperties" = xyes; then :
13196 $as_echo "#define HAVE_XMLDOC_PROPERTIES 1" >>confdefs.h
13200 else
13201 XML2_CFLAGS=""
13202 XML2_LIBS=""
13204 CPPFLAGS=$ac_save_CPPFLAGS
13207 if test "$ac_cv_lib_xml2_xmlParseMemory" != "yes"; then :
13208 case "x$with_xml" in
13209 x) as_fn_append wine_warnings "|libxml2 ${notice_platform}development files not found (or too old), XML won't be supported." ;;
13210 xno) ;;
13211 *) as_fn_error $? "libxml2 ${notice_platform}development files not found (or too old), XML won't be supported.
13212 This is an error since --with-xml was requested." "$LINENO" 5 ;;
13213 esac
13217 if test "x$with_xslt" != "xno"
13218 then
13219 if ${XSLT_CFLAGS:+false} :; then :
13220 if ${PKG_CONFIG+:} false; then :
13221 XSLT_CFLAGS=`$PKG_CONFIG --cflags libxslt 2>/dev/null`
13224 test "$cross_compiling" = yes || XSLT_CFLAGS=${XSLT_CFLAGS:-`${XSLT_CONFIG:-xslt-config} --cflags 2>/dev/null`}
13225 if ${XSLT_LIBS:+false} :; then :
13226 if ${PKG_CONFIG+:} false; then :
13227 XSLT_LIBS=`$PKG_CONFIG --libs libxslt 2>/dev/null`
13230 test "$cross_compiling" = yes || XSLT_LIBS=${XSLT_LIBS:-`${XSLT_CONFIG:-xslt-config} --libs 2>/dev/null`}
13231 XSLT_LIBS=${XSLT_LIBS:-"-lxml2"}
13232 $as_echo "$as_me:${as_lineno-$LINENO}: libxslt cflags: $XSLT_CFLAGS" >&5
13233 $as_echo "$as_me:${as_lineno-$LINENO}: libxslt libs: $XSLT_LIBS" >&5
13234 ac_save_CPPFLAGS=$CPPFLAGS
13235 CPPFLAGS="$CPPFLAGS $XSLT_CFLAGS"
13236 for ac_header in libxslt/pattern.h libxslt/transform.h
13237 do :
13238 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
13239 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_LIBXSLT_PATTERN_H
13240 # include <libxslt/pattern.h>
13241 #endif
13243 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
13244 cat >>confdefs.h <<_ACEOF
13245 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
13246 _ACEOF
13250 done
13252 if test "$ac_cv_header_libxslt_transform_h" = "yes"
13253 then
13254 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lxslt" >&5
13255 $as_echo_n "checking for -lxslt... " >&6; }
13256 if ${ac_cv_lib_soname_xslt+:} false; then :
13257 $as_echo_n "(cached) " >&6
13258 else
13259 ac_check_soname_save_LIBS=$LIBS
13260 LIBS="-lxslt $XSLT_LIBS $LIBS"
13261 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13262 /* end confdefs.h. */
13264 /* Override any GCC internal prototype to avoid an error.
13265 Use char because int might match the return type of a GCC
13266 builtin and then its argument prototype would still apply. */
13267 #ifdef __cplusplus
13268 extern "C"
13269 #endif
13270 char xsltCompilePattern ();
13272 main ()
13274 return xsltCompilePattern ();
13276 return 0;
13278 _ACEOF
13279 if ac_fn_c_try_link "$LINENO"; then :
13280 case "$LIBEXT" in
13281 dll) ac_cv_lib_soname_xslt=`$ac_cv_path_LDD conftest.exe | grep "xslt" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13282 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'` ;;
13283 *) ac_cv_lib_soname_xslt=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libxslt\\.$LIBEXT" | sed -e "s/^.*\\[\\(libxslt\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13284 if ${ac_cv_lib_soname_xslt:+false} :; then :
13285 ac_cv_lib_soname_xslt=`$LDD conftest$ac_exeext | grep "libxslt\\.$LIBEXT" | sed -e "s/^.*\(libxslt\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13286 fi ;;
13287 esac
13288 else
13289 ac_cv_lib_soname_xslt=
13291 rm -f core conftest.err conftest.$ac_objext \
13292 conftest$ac_exeext conftest.$ac_ext
13293 LIBS=$ac_check_soname_save_LIBS
13295 if ${ac_cv_lib_soname_xslt:+false} :; then :
13296 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13297 $as_echo "not found" >&6; }
13299 else
13300 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_xslt" >&5
13301 $as_echo "$ac_cv_lib_soname_xslt" >&6; }
13303 cat >>confdefs.h <<_ACEOF
13304 #define SONAME_LIBXSLT "$ac_cv_lib_soname_xslt"
13305 _ACEOF
13309 else
13310 XSLT_CFLAGS=""
13312 CPPFLAGS=$ac_save_CPPFLAGS
13315 if test "x$ac_cv_lib_soname_xslt" = "x"; then :
13316 case "x$with_xslt" in
13317 x) as_fn_append wine_warnings "|libxslt ${notice_platform}development files not found, xslt won't be supported." ;;
13318 xno) ;;
13319 *) as_fn_error $? "libxslt ${notice_platform}development files not found, xslt won't be supported.
13320 This is an error since --with-xslt was requested." "$LINENO" 5 ;;
13321 esac
13325 if test "x$with_inotify" != "xno"
13326 then
13327 if ${INOTIFY_CFLAGS:+false} :; then :
13328 if ${PKG_CONFIG+:} false; then :
13329 INOTIFY_CFLAGS=`$PKG_CONFIG --cflags libinotify 2>/dev/null`
13333 if ${INOTIFY_LIBS:+false} :; then :
13334 if ${PKG_CONFIG+:} false; then :
13335 INOTIFY_LIBS=`$PKG_CONFIG --libs libinotify 2>/dev/null`
13340 $as_echo "$as_me:${as_lineno-$LINENO}: libinotify cflags: $INOTIFY_CFLAGS" >&5
13341 $as_echo "$as_me:${as_lineno-$LINENO}: libinotify libs: $INOTIFY_LIBS" >&5
13342 ac_save_CPPFLAGS=$CPPFLAGS
13343 CPPFLAGS="$CPPFLAGS $INOTIFY_CFLAGS"
13344 for ac_header in sys/inotify.h
13345 do :
13346 ac_fn_c_check_header_mongrel "$LINENO" "sys/inotify.h" "ac_cv_header_sys_inotify_h" "$ac_includes_default"
13347 if test "x$ac_cv_header_sys_inotify_h" = xyes; then :
13348 cat >>confdefs.h <<_ACEOF
13349 #define HAVE_SYS_INOTIFY_H 1
13350 _ACEOF
13354 done
13356 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inotify_add_watch in -linotify" >&5
13357 $as_echo_n "checking for inotify_add_watch in -linotify... " >&6; }
13358 if ${ac_cv_lib_inotify_inotify_add_watch+:} false; then :
13359 $as_echo_n "(cached) " >&6
13360 else
13361 ac_check_lib_save_LIBS=$LIBS
13362 LIBS="-linotify $INOTIFY_LIBS $LIBS"
13363 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13364 /* end confdefs.h. */
13366 /* Override any GCC internal prototype to avoid an error.
13367 Use char because int might match the return type of a GCC
13368 builtin and then its argument prototype would still apply. */
13369 #ifdef __cplusplus
13370 extern "C"
13371 #endif
13372 char inotify_add_watch ();
13374 main ()
13376 return inotify_add_watch ();
13378 return 0;
13380 _ACEOF
13381 if ac_fn_c_try_link "$LINENO"; then :
13382 ac_cv_lib_inotify_inotify_add_watch=yes
13383 else
13384 ac_cv_lib_inotify_inotify_add_watch=no
13386 rm -f core conftest.err conftest.$ac_objext \
13387 conftest$ac_exeext conftest.$ac_ext
13388 LIBS=$ac_check_lib_save_LIBS
13390 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_inotify_inotify_add_watch" >&5
13391 $as_echo "$ac_cv_lib_inotify_inotify_add_watch" >&6; }
13392 if test "x$ac_cv_lib_inotify_inotify_add_watch" = xyes; then :
13394 else
13395 INOTIFY_LIBS=""
13398 CPPFLAGS=$ac_save_CPPFLAGS
13401 if test "$ac_cv_header_sys_inotify_h" != "yes"; then :
13402 case "x$with_inotify" in
13403 x) as_fn_append wine_notices "|libinotify ${notice_platform}development files not found (or too old), filesystem change notifications won't be supported." ;;
13404 xno) ;;
13405 *) as_fn_error $? "libinotify ${notice_platform}development files not found (or too old), filesystem change notifications won't be supported.
13406 This is an error since --with-inotify was requested." "$LINENO" 5 ;;
13407 esac
13411 if test "x$with_dbus" != "xno"
13412 then
13413 if ${DBUS_CFLAGS:+false} :; then :
13414 if ${PKG_CONFIG+:} false; then :
13415 DBUS_CFLAGS=`$PKG_CONFIG --cflags dbus-1 2>/dev/null`
13419 if ${DBUS_LIBS:+false} :; then :
13420 if ${PKG_CONFIG+:} false; then :
13421 DBUS_LIBS=`$PKG_CONFIG --libs dbus-1 2>/dev/null`
13426 $as_echo "$as_me:${as_lineno-$LINENO}: dbus-1 cflags: $DBUS_CFLAGS" >&5
13427 $as_echo "$as_me:${as_lineno-$LINENO}: dbus-1 libs: $DBUS_LIBS" >&5
13428 ac_save_CPPFLAGS=$CPPFLAGS
13429 CPPFLAGS="$CPPFLAGS $DBUS_CFLAGS"
13430 ac_fn_c_check_header_mongrel "$LINENO" "dbus/dbus.h" "ac_cv_header_dbus_dbus_h" "$ac_includes_default"
13431 if test "x$ac_cv_header_dbus_dbus_h" = xyes; then :
13432 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ldbus-1" >&5
13433 $as_echo_n "checking for -ldbus-1... " >&6; }
13434 if ${ac_cv_lib_soname_dbus_1+:} false; then :
13435 $as_echo_n "(cached) " >&6
13436 else
13437 ac_check_soname_save_LIBS=$LIBS
13438 LIBS="-ldbus-1 $DBUS_LIBS $LIBS"
13439 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13440 /* end confdefs.h. */
13442 /* Override any GCC internal prototype to avoid an error.
13443 Use char because int might match the return type of a GCC
13444 builtin and then its argument prototype would still apply. */
13445 #ifdef __cplusplus
13446 extern "C"
13447 #endif
13448 char dbus_connection_close ();
13450 main ()
13452 return dbus_connection_close ();
13454 return 0;
13456 _ACEOF
13457 if ac_fn_c_try_link "$LINENO"; then :
13458 case "$LIBEXT" in
13459 dll) ac_cv_lib_soname_dbus_1=`$ac_cv_path_LDD conftest.exe | grep "dbus-1" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13460 dylib) ac_cv_lib_soname_dbus_1=`$OTOOL -L conftest$ac_exeext | grep "libdbus-1\\.[0-9A-Za-z.]*dylib" | sed -e "s/^.*\/\(libdbus-1\.[0-9A-Za-z.]*dylib\).*$/\1/"';2,$d'` ;;
13461 *) ac_cv_lib_soname_dbus_1=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libdbus-1\\.$LIBEXT" | sed -e "s/^.*\\[\\(libdbus-1\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13462 if ${ac_cv_lib_soname_dbus_1:+false} :; then :
13463 ac_cv_lib_soname_dbus_1=`$LDD conftest$ac_exeext | grep "libdbus-1\\.$LIBEXT" | sed -e "s/^.*\(libdbus-1\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13464 fi ;;
13465 esac
13466 else
13467 ac_cv_lib_soname_dbus_1=
13469 rm -f core conftest.err conftest.$ac_objext \
13470 conftest$ac_exeext conftest.$ac_ext
13471 LIBS=$ac_check_soname_save_LIBS
13473 if ${ac_cv_lib_soname_dbus_1:+false} :; then :
13474 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13475 $as_echo "not found" >&6; }
13476 DBUS_CFLAGS=""
13477 else
13478 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_dbus_1" >&5
13479 $as_echo "$ac_cv_lib_soname_dbus_1" >&6; }
13481 cat >>confdefs.h <<_ACEOF
13482 #define SONAME_LIBDBUS_1 "$ac_cv_lib_soname_dbus_1"
13483 _ACEOF
13487 else
13488 DBUS_CFLAGS=""
13492 CPPFLAGS=$ac_save_CPPFLAGS
13495 if test "x$ac_cv_lib_soname_dbus_1" = "x" -a \
13496 "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"; then :
13497 case "x$with_dbus" in
13498 x) as_fn_append wine_notices "|libdbus ${notice_platform}development files not found, no dynamic device support." ;;
13499 xno) ;;
13500 *) as_fn_error $? "libdbus ${notice_platform}development files not found, no dynamic device support.
13501 This is an error since --with-dbus was requested." "$LINENO" 5 ;;
13502 esac
13506 if test "x$with_hal" != "xno" -a "x$ac_cv_lib_soname_dbus_1" != x
13507 then
13508 if ${HAL_CFLAGS:+false} :; then :
13509 if ${PKG_CONFIG+:} false; then :
13510 HAL_CFLAGS=`$PKG_CONFIG --cflags hal 2>/dev/null`
13514 if ${HAL_LIBS:+false} :; then :
13515 if ${PKG_CONFIG+:} false; then :
13516 HAL_LIBS=`$PKG_CONFIG --libs hal 2>/dev/null`
13520 HAL_LIBS=${HAL_LIBS:-"-ldbus-1"}
13521 $as_echo "$as_me:${as_lineno-$LINENO}: hal cflags: $HAL_CFLAGS" >&5
13522 $as_echo "$as_me:${as_lineno-$LINENO}: hal libs: $HAL_LIBS" >&5
13523 ac_save_CPPFLAGS=$CPPFLAGS
13524 CPPFLAGS="$CPPFLAGS $HAL_CFLAGS"
13525 ac_fn_c_check_header_mongrel "$LINENO" "hal/libhal.h" "ac_cv_header_hal_libhal_h" "$ac_includes_default"
13526 if test "x$ac_cv_header_hal_libhal_h" = xyes; then :
13527 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lhal" >&5
13528 $as_echo_n "checking for -lhal... " >&6; }
13529 if ${ac_cv_lib_soname_hal+:} false; then :
13530 $as_echo_n "(cached) " >&6
13531 else
13532 ac_check_soname_save_LIBS=$LIBS
13533 LIBS="-lhal $HAL_LIBS $LIBS"
13534 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13535 /* end confdefs.h. */
13537 /* Override any GCC internal prototype to avoid an error.
13538 Use char because int might match the return type of a GCC
13539 builtin and then its argument prototype would still apply. */
13540 #ifdef __cplusplus
13541 extern "C"
13542 #endif
13543 char libhal_ctx_new ();
13545 main ()
13547 return libhal_ctx_new ();
13549 return 0;
13551 _ACEOF
13552 if ac_fn_c_try_link "$LINENO"; then :
13553 case "$LIBEXT" in
13554 dll) ac_cv_lib_soname_hal=`$ac_cv_path_LDD conftest.exe | grep "hal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13555 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'` ;;
13556 *) ac_cv_lib_soname_hal=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libhal\\.$LIBEXT" | sed -e "s/^.*\\[\\(libhal\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13557 if ${ac_cv_lib_soname_hal:+false} :; then :
13558 ac_cv_lib_soname_hal=`$LDD conftest$ac_exeext | grep "libhal\\.$LIBEXT" | sed -e "s/^.*\(libhal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13559 fi ;;
13560 esac
13561 else
13562 ac_cv_lib_soname_hal=
13564 rm -f core conftest.err conftest.$ac_objext \
13565 conftest$ac_exeext conftest.$ac_ext
13566 LIBS=$ac_check_soname_save_LIBS
13568 if ${ac_cv_lib_soname_hal:+false} :; then :
13569 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13570 $as_echo "not found" >&6; }
13571 HAL_CFLAGS=""
13572 else
13573 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_hal" >&5
13574 $as_echo "$ac_cv_lib_soname_hal" >&6; }
13576 cat >>confdefs.h <<_ACEOF
13577 #define SONAME_LIBHAL "$ac_cv_lib_soname_hal"
13578 _ACEOF
13582 else
13583 HAL_CFLAGS=""
13587 CPPFLAGS=$ac_save_CPPFLAGS
13589 if test "x$ac_cv_lib_soname_hal" = "x" -a \
13590 "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"; then :
13591 case "x$with_hal" in
13592 x) as_fn_append wine_notices "|libhal ${notice_platform}development files not found, no legacy dynamic device support." ;;
13593 xno) ;;
13594 *) as_fn_error $? "libhal ${notice_platform}development files not found, no legacy dynamic device support.
13595 This is an error since --with-hal was requested." "$LINENO" 5 ;;
13596 esac
13601 if test "x$with_gnutls" != "xno"
13602 then
13603 if ${GNUTLS_CFLAGS:+false} :; then :
13604 if ${PKG_CONFIG+:} false; then :
13605 GNUTLS_CFLAGS=`$PKG_CONFIG --cflags gnutls 2>/dev/null`
13609 if ${GNUTLS_LIBS:+false} :; then :
13610 if ${PKG_CONFIG+:} false; then :
13611 GNUTLS_LIBS=`$PKG_CONFIG --libs gnutls 2>/dev/null`
13615 GNUTLS_LIBS=${GNUTLS_LIBS:-"-lgnutls"}
13616 $as_echo "$as_me:${as_lineno-$LINENO}: gnutls cflags: $GNUTLS_CFLAGS" >&5
13617 $as_echo "$as_me:${as_lineno-$LINENO}: gnutls libs: $GNUTLS_LIBS" >&5
13618 ac_save_CPPFLAGS=$CPPFLAGS
13619 CPPFLAGS="$CPPFLAGS $GNUTLS_CFLAGS"
13620 ac_fn_c_check_header_mongrel "$LINENO" "gnutls/gnutls.h" "ac_cv_header_gnutls_gnutls_h" "$ac_includes_default"
13621 if test "x$ac_cv_header_gnutls_gnutls_h" = xyes; then :
13622 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13623 /* end confdefs.h. */
13624 #include <gnutls/gnutls.h>
13625 #include <gnutls/crypto.h>
13627 main ()
13629 static typeof(gnutls_mac_get_key_size) *func; if (func) return 0;
13631 return 0;
13633 _ACEOF
13634 if ac_fn_c_try_compile "$LINENO"; then :
13635 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgnutls" >&5
13636 $as_echo_n "checking for -lgnutls... " >&6; }
13637 if ${ac_cv_lib_soname_gnutls+:} false; then :
13638 $as_echo_n "(cached) " >&6
13639 else
13640 ac_check_soname_save_LIBS=$LIBS
13641 LIBS="-lgnutls $GNUTLS_LIBS $LIBS"
13642 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13643 /* end confdefs.h. */
13645 /* Override any GCC internal prototype to avoid an error.
13646 Use char because int might match the return type of a GCC
13647 builtin and then its argument prototype would still apply. */
13648 #ifdef __cplusplus
13649 extern "C"
13650 #endif
13651 char gnutls_global_init ();
13653 main ()
13655 return gnutls_global_init ();
13657 return 0;
13659 _ACEOF
13660 if ac_fn_c_try_link "$LINENO"; then :
13661 case "$LIBEXT" in
13662 dll) ac_cv_lib_soname_gnutls=`$ac_cv_path_LDD conftest.exe | grep "gnutls" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13663 dylib) ac_cv_lib_soname_gnutls=`$OTOOL -L conftest$ac_exeext | grep "libgnutls\\(-deb0\\)\\{0,1\\}\\.[0-9A-Za-z.]*dylib" | sed -e "s/^.*\/\(libgnutls\\(-deb0\\)\\{0,1\\}\.[0-9A-Za-z.]*dylib\).*$/\1/"';2,$d'` ;;
13664 *) ac_cv_lib_soname_gnutls=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libgnutls\\(-deb0\\)\\{0,1\\}\\.$LIBEXT" | sed -e "s/^.*\\[\\(libgnutls\\(-deb0\\)\\{0,1\\}\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13665 if ${ac_cv_lib_soname_gnutls:+false} :; then :
13666 ac_cv_lib_soname_gnutls=`$LDD conftest$ac_exeext | grep "libgnutls\\(-deb0\\)\\{0,1\\}\\.$LIBEXT" | sed -e "s/^.*\(libgnutls\\(-deb0\\)\\{0,1\\}\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13667 fi ;;
13668 esac
13669 else
13670 ac_cv_lib_soname_gnutls=
13672 rm -f core conftest.err conftest.$ac_objext \
13673 conftest$ac_exeext conftest.$ac_ext
13674 LIBS=$ac_check_soname_save_LIBS
13676 if ${ac_cv_lib_soname_gnutls:+false} :; then :
13677 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13678 $as_echo "not found" >&6; }
13679 GNUTLS_CFLAGS=""
13680 else
13681 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gnutls" >&5
13682 $as_echo "$ac_cv_lib_soname_gnutls" >&6; }
13684 cat >>confdefs.h <<_ACEOF
13685 #define SONAME_LIBGNUTLS "$ac_cv_lib_soname_gnutls"
13686 _ACEOF
13690 ac_wine_check_funcs_save_LIBS="$LIBS"
13691 LIBS="$LIBS $GNUTLS_LIBS"
13692 for ac_func in gnutls_cipher_init
13693 do :
13694 ac_fn_c_check_func "$LINENO" "gnutls_cipher_init" "ac_cv_func_gnutls_cipher_init"
13695 if test "x$ac_cv_func_gnutls_cipher_init" = xyes; then :
13696 cat >>confdefs.h <<_ACEOF
13697 #define HAVE_GNUTLS_CIPHER_INIT 1
13698 _ACEOF
13700 else
13701 as_fn_append wine_notices "|libgnutls ${notice_platform}development files too old, bcrypt encryption won't be supported."
13703 done
13705 LIBS="$ac_wine_check_funcs_save_LIBS"
13707 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13708 else
13709 GNUTLS_CFLAGS=""
13713 CPPFLAGS=$ac_save_CPPFLAGS
13716 if test "x$ac_cv_lib_soname_gnutls" = "x"; then :
13717 case "x$with_gnutls" in
13718 x) as_fn_append wine_warnings "|libgnutls ${notice_platform}development files not found, no schannel support." ;;
13719 xno) ;;
13720 *) as_fn_error $? "libgnutls ${notice_platform}development files not found, no schannel support.
13721 This is an error since --with-gnutls was requested." "$LINENO" 5 ;;
13722 esac
13726 if test "x$with_sane" != "xno"
13727 then
13728 if ${SANE_CFLAGS:+false} :; then :
13729 if ${PKG_CONFIG+:} false; then :
13730 SANE_CFLAGS=`$PKG_CONFIG --cflags sane-backends 2>/dev/null`
13733 test "$cross_compiling" = yes || SANE_CFLAGS=${SANE_CFLAGS:-`${SANE_CONFIG:-sane-config} --cflags 2>/dev/null`}
13734 if ${SANE_LIBS:+false} :; then :
13735 if ${PKG_CONFIG+:} false; then :
13736 SANE_LIBS=`$PKG_CONFIG --libs sane-backends 2>/dev/null`
13739 test "$cross_compiling" = yes || SANE_LIBS=${SANE_LIBS:-`${SANE_CONFIG:-sane-config} --ldflags 2>/dev/null`}
13741 $as_echo "$as_me:${as_lineno-$LINENO}: sane-backends cflags: $SANE_CFLAGS" >&5
13742 $as_echo "$as_me:${as_lineno-$LINENO}: sane-backends libs: $SANE_LIBS" >&5
13743 ac_save_CPPFLAGS=$CPPFLAGS
13744 CPPFLAGS="$CPPFLAGS $SANE_CFLAGS"
13745 ac_fn_c_check_header_mongrel "$LINENO" "sane/sane.h" "ac_cv_header_sane_sane_h" "$ac_includes_default"
13746 if test "x$ac_cv_header_sane_sane_h" = xyes; then :
13747 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lsane" >&5
13748 $as_echo_n "checking for -lsane... " >&6; }
13749 if ${ac_cv_lib_soname_sane+:} false; then :
13750 $as_echo_n "(cached) " >&6
13751 else
13752 ac_check_soname_save_LIBS=$LIBS
13753 LIBS="-lsane $SANE_LIBS $LIBS"
13754 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13755 /* end confdefs.h. */
13757 /* Override any GCC internal prototype to avoid an error.
13758 Use char because int might match the return type of a GCC
13759 builtin and then its argument prototype would still apply. */
13760 #ifdef __cplusplus
13761 extern "C"
13762 #endif
13763 char sane_init ();
13765 main ()
13767 return sane_init ();
13769 return 0;
13771 _ACEOF
13772 if ac_fn_c_try_link "$LINENO"; then :
13773 case "$LIBEXT" in
13774 dll) ac_cv_lib_soname_sane=`$ac_cv_path_LDD conftest.exe | grep "sane" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13775 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'` ;;
13776 *) ac_cv_lib_soname_sane=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libsane\\.$LIBEXT" | sed -e "s/^.*\\[\\(libsane\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13777 if ${ac_cv_lib_soname_sane:+false} :; then :
13778 ac_cv_lib_soname_sane=`$LDD conftest$ac_exeext | grep "libsane\\.$LIBEXT" | sed -e "s/^.*\(libsane\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13779 fi ;;
13780 esac
13781 else
13782 ac_cv_lib_soname_sane=
13784 rm -f core conftest.err conftest.$ac_objext \
13785 conftest$ac_exeext conftest.$ac_ext
13786 LIBS=$ac_check_soname_save_LIBS
13788 if ${ac_cv_lib_soname_sane:+false} :; then :
13789 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13790 $as_echo "not found" >&6; }
13791 SANE_CFLAGS=""
13792 else
13793 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_sane" >&5
13794 $as_echo "$ac_cv_lib_soname_sane" >&6; }
13796 cat >>confdefs.h <<_ACEOF
13797 #define SONAME_LIBSANE "$ac_cv_lib_soname_sane"
13798 _ACEOF
13802 else
13803 SANE_CFLAGS=""
13807 CPPFLAGS=$ac_save_CPPFLAGS
13810 if test "x$ac_cv_lib_soname_sane" = "x"; then :
13811 case "x$with_sane" in
13812 x) as_fn_append wine_notices "|libsane ${notice_platform}development files not found, scanners won't be supported." ;;
13813 xno) ;;
13814 *) as_fn_error $? "libsane ${notice_platform}development files not found, scanners won't be supported.
13815 This is an error since --with-sane was requested." "$LINENO" 5 ;;
13816 esac
13820 if test "x$with_usb" != "xno"
13821 then
13822 if ${USB_CFLAGS:+false} :; then :
13823 if ${PKG_CONFIG+:} false; then :
13824 USB_CFLAGS=`$PKG_CONFIG --cflags libusb-1.0 2>/dev/null`
13828 if ${USB_LIBS:+false} :; then :
13829 if ${PKG_CONFIG+:} false; then :
13830 USB_LIBS=`$PKG_CONFIG --libs libusb-1.0 2>/dev/null`
13834 USB_LIBS=${USB_LIBS:-"-lusb-1.0"}
13835 $as_echo "$as_me:${as_lineno-$LINENO}: libusb-1.0 cflags: $USB_CFLAGS" >&5
13836 $as_echo "$as_me:${as_lineno-$LINENO}: libusb-1.0 libs: $USB_LIBS" >&5
13837 ac_save_CPPFLAGS=$CPPFLAGS
13838 CPPFLAGS="$CPPFLAGS $USB_CFLAGS"
13839 ac_fn_c_check_header_mongrel "$LINENO" "libusb.h" "ac_cv_header_libusb_h" "$ac_includes_default"
13840 if test "x$ac_cv_header_libusb_h" = xyes; then :
13841 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libusb_interrupt_event_handler in -lusb-1.0" >&5
13842 $as_echo_n "checking for libusb_interrupt_event_handler in -lusb-1.0... " >&6; }
13843 if ${ac_cv_lib_usb_1_0_libusb_interrupt_event_handler+:} false; then :
13844 $as_echo_n "(cached) " >&6
13845 else
13846 ac_check_lib_save_LIBS=$LIBS
13847 LIBS="-lusb-1.0 $USB_LIBS $LIBS"
13848 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13849 /* end confdefs.h. */
13851 /* Override any GCC internal prototype to avoid an error.
13852 Use char because int might match the return type of a GCC
13853 builtin and then its argument prototype would still apply. */
13854 #ifdef __cplusplus
13855 extern "C"
13856 #endif
13857 char libusb_interrupt_event_handler ();
13859 main ()
13861 return libusb_interrupt_event_handler ();
13863 return 0;
13865 _ACEOF
13866 if ac_fn_c_try_link "$LINENO"; then :
13867 ac_cv_lib_usb_1_0_libusb_interrupt_event_handler=yes
13868 else
13869 ac_cv_lib_usb_1_0_libusb_interrupt_event_handler=no
13871 rm -f core conftest.err conftest.$ac_objext \
13872 conftest$ac_exeext conftest.$ac_ext
13873 LIBS=$ac_check_lib_save_LIBS
13875 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_usb_1_0_libusb_interrupt_event_handler" >&5
13876 $as_echo "$ac_cv_lib_usb_1_0_libusb_interrupt_event_handler" >&6; }
13877 if test "x$ac_cv_lib_usb_1_0_libusb_interrupt_event_handler" = xyes; then :
13879 else
13880 USB_LIBS=""
13883 else
13884 USB_LIBS=""
13888 CPPFLAGS=$ac_save_CPPFLAGS
13891 if test "$ac_cv_lib_usb_1_0_libusb_interrupt_event_handler" != "yes"; then :
13892 case "x$with_usb" in
13893 x) as_fn_append wine_notices "|libusb-1.0 ${notice_platform}development files not found (or too old), USB devices won't be supported." ;;
13894 xno) ;;
13895 *) as_fn_error $? "libusb-1.0 ${notice_platform}development files not found (or too old), USB devices won't be supported.
13896 This is an error since --with-usb was requested." "$LINENO" 5 ;;
13897 esac
13898 enable_wineusb_sys=${enable_wineusb_sys:-no}
13901 if test "x$with_v4l2" != "xno"
13902 then
13903 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lv4l2" >&5
13904 $as_echo_n "checking for -lv4l2... " >&6; }
13905 if ${ac_cv_lib_soname_v4l2+:} false; then :
13906 $as_echo_n "(cached) " >&6
13907 else
13908 ac_check_soname_save_LIBS=$LIBS
13909 LIBS="-lv4l2 $LIBS"
13910 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13911 /* end confdefs.h. */
13913 /* Override any GCC internal prototype to avoid an error.
13914 Use char because int might match the return type of a GCC
13915 builtin and then its argument prototype would still apply. */
13916 #ifdef __cplusplus
13917 extern "C"
13918 #endif
13919 char v4l2_open ();
13921 main ()
13923 return v4l2_open ();
13925 return 0;
13927 _ACEOF
13928 if ac_fn_c_try_link "$LINENO"; then :
13929 case "$LIBEXT" in
13930 dll) ac_cv_lib_soname_v4l2=`$ac_cv_path_LDD conftest.exe | grep "v4l2" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13931 dylib) ac_cv_lib_soname_v4l2=`$OTOOL -L conftest$ac_exeext | grep "libv4l2\\.[0-9A-Za-z.]*dylib" | sed -e "s/^.*\/\(libv4l2\.[0-9A-Za-z.]*dylib\).*$/\1/"';2,$d'` ;;
13932 *) ac_cv_lib_soname_v4l2=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libv4l2\\.$LIBEXT" | sed -e "s/^.*\\[\\(libv4l2\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13933 if ${ac_cv_lib_soname_v4l2:+false} :; then :
13934 ac_cv_lib_soname_v4l2=`$LDD conftest$ac_exeext | grep "libv4l2\\.$LIBEXT" | sed -e "s/^.*\(libv4l2\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13935 fi ;;
13936 esac
13937 else
13938 ac_cv_lib_soname_v4l2=
13940 rm -f core conftest.err conftest.$ac_objext \
13941 conftest$ac_exeext conftest.$ac_ext
13942 LIBS=$ac_check_soname_save_LIBS
13944 if ${ac_cv_lib_soname_v4l2:+false} :; then :
13945 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13946 $as_echo "not found" >&6; }
13948 else
13949 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_v4l2" >&5
13950 $as_echo "$ac_cv_lib_soname_v4l2" >&6; }
13952 cat >>confdefs.h <<_ACEOF
13953 #define SONAME_LIBV4L2 "$ac_cv_lib_soname_v4l2"
13954 _ACEOF
13959 if test "x$ac_cv_lib_soname_v4l2" = "x"; then :
13960 case "x$with_v4l2" in
13961 x) as_fn_append wine_notices "|libv4l2 ${notice_platform}development files not found." ;;
13962 xno) ;;
13963 *) as_fn_error $? "libv4l2 ${notice_platform}development files not found.
13964 This is an error since --with-v4l2 was requested." "$LINENO" 5 ;;
13965 esac
13969 if test "x$with_gphoto" != "xno"
13970 then
13971 if ${GPHOTO2_CFLAGS:+false} :; then :
13972 if ${PKG_CONFIG+:} false; then :
13973 GPHOTO2_CFLAGS=`$PKG_CONFIG --cflags libgphoto2 2>/dev/null`
13976 test "$cross_compiling" = yes || GPHOTO2_CFLAGS=${GPHOTO2_CFLAGS:-`${GPHOTO2_CONFIG:-gphoto2-config} --cflags 2>/dev/null`}
13977 if ${GPHOTO2_LIBS:+false} :; then :
13978 if ${PKG_CONFIG+:} false; then :
13979 GPHOTO2_LIBS=`$PKG_CONFIG --libs libgphoto2 2>/dev/null`
13982 test "$cross_compiling" = yes || GPHOTO2_LIBS=${GPHOTO2_LIBS:-`${GPHOTO2_CONFIG:-gphoto2-config} --libs 2>/dev/null`}
13983 GPHOTO2_LIBS=${GPHOTO2_LIBS:-"-lgphoto2"}
13984 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2 cflags: $GPHOTO2_CFLAGS" >&5
13985 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2 libs: $GPHOTO2_LIBS" >&5
13986 ac_save_CPPFLAGS=$CPPFLAGS
13987 CPPFLAGS="$CPPFLAGS $GPHOTO2_CFLAGS"
13988 ac_fn_c_check_header_mongrel "$LINENO" "gphoto2-camera.h" "ac_cv_header_gphoto2_camera_h" "$ac_includes_default"
13989 if test "x$ac_cv_header_gphoto2_camera_h" = xyes; then :
13990 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gp_camera_new in -lgphoto2" >&5
13991 $as_echo_n "checking for gp_camera_new in -lgphoto2... " >&6; }
13992 if ${ac_cv_lib_gphoto2_gp_camera_new+:} false; then :
13993 $as_echo_n "(cached) " >&6
13994 else
13995 ac_check_lib_save_LIBS=$LIBS
13996 LIBS="-lgphoto2 $GPHOTO2_LIBS $LIBS"
13997 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13998 /* end confdefs.h. */
14000 /* Override any GCC internal prototype to avoid an error.
14001 Use char because int might match the return type of a GCC
14002 builtin and then its argument prototype would still apply. */
14003 #ifdef __cplusplus
14004 extern "C"
14005 #endif
14006 char gp_camera_new ();
14008 main ()
14010 return gp_camera_new ();
14012 return 0;
14014 _ACEOF
14015 if ac_fn_c_try_link "$LINENO"; then :
14016 ac_cv_lib_gphoto2_gp_camera_new=yes
14017 else
14018 ac_cv_lib_gphoto2_gp_camera_new=no
14020 rm -f core conftest.err conftest.$ac_objext \
14021 conftest$ac_exeext conftest.$ac_ext
14022 LIBS=$ac_check_lib_save_LIBS
14024 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_gp_camera_new" >&5
14025 $as_echo "$ac_cv_lib_gphoto2_gp_camera_new" >&6; }
14026 if test "x$ac_cv_lib_gphoto2_gp_camera_new" = xyes; then :
14028 $as_echo "#define HAVE_GPHOTO2 1" >>confdefs.h
14030 else
14031 GPHOTO2_LIBS=""; GPHOTO2_CFLAGS=""
14034 else
14035 GPHOTO2_LIBS=""; GPHOTO2_CFLAGS=""
14039 CPPFLAGS=$ac_save_CPPFLAGS
14041 if ${GPHOTO2_PORT_CFLAGS:+false} :; then :
14042 if ${PKG_CONFIG+:} false; then :
14043 GPHOTO2_PORT_CFLAGS=`$PKG_CONFIG --cflags libgphoto2_port 2>/dev/null`
14046 test "$cross_compiling" = yes || GPHOTO2_PORT_CFLAGS=${GPHOTO2_PORT_CFLAGS:-`${GPHOTO2_PORT_CONFIG:-gphoto2-port-config} --cflags 2>/dev/null`}
14047 if ${GPHOTO2_PORT_LIBS:+false} :; then :
14048 if ${PKG_CONFIG+:} false; then :
14049 GPHOTO2_PORT_LIBS=`$PKG_CONFIG --libs libgphoto2_port 2>/dev/null`
14052 test "$cross_compiling" = yes || GPHOTO2_PORT_LIBS=${GPHOTO2_PORT_LIBS:-`${GPHOTO2_PORT_CONFIG:-gphoto2-port-config} --libs 2>/dev/null`}
14053 GPHOTO2_PORT_LIBS=${GPHOTO2_PORT_LIBS:-"-lgphoto2_port"}
14054 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2_port cflags: $GPHOTO2_PORT_CFLAGS" >&5
14055 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2_port libs: $GPHOTO2_PORT_LIBS" >&5
14056 ac_save_CPPFLAGS=$CPPFLAGS
14057 CPPFLAGS="$CPPFLAGS $GPHOTO2_PORT_CFLAGS"
14058 ac_fn_c_check_header_mongrel "$LINENO" "gphoto2-port.h" "ac_cv_header_gphoto2_port_h" "$ac_includes_default"
14059 if test "x$ac_cv_header_gphoto2_port_h" = xyes; then :
14060 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gp_port_info_list_new in -lgphoto2_port" >&5
14061 $as_echo_n "checking for gp_port_info_list_new in -lgphoto2_port... " >&6; }
14062 if ${ac_cv_lib_gphoto2_port_gp_port_info_list_new+:} false; then :
14063 $as_echo_n "(cached) " >&6
14064 else
14065 ac_check_lib_save_LIBS=$LIBS
14066 LIBS="-lgphoto2_port $GPHOTO2_PORT_LIBS $LIBS"
14067 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14068 /* end confdefs.h. */
14070 /* Override any GCC internal prototype to avoid an error.
14071 Use char because int might match the return type of a GCC
14072 builtin and then its argument prototype would still apply. */
14073 #ifdef __cplusplus
14074 extern "C"
14075 #endif
14076 char gp_port_info_list_new ();
14078 main ()
14080 return gp_port_info_list_new ();
14082 return 0;
14084 _ACEOF
14085 if ac_fn_c_try_link "$LINENO"; then :
14086 ac_cv_lib_gphoto2_port_gp_port_info_list_new=yes
14087 else
14088 ac_cv_lib_gphoto2_port_gp_port_info_list_new=no
14090 rm -f core conftest.err conftest.$ac_objext \
14091 conftest$ac_exeext conftest.$ac_ext
14092 LIBS=$ac_check_lib_save_LIBS
14094 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&5
14095 $as_echo "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&6; }
14096 if test "x$ac_cv_lib_gphoto2_port_gp_port_info_list_new" = xyes; then :
14098 $as_echo "#define HAVE_GPHOTO2_PORT 1" >>confdefs.h
14100 else
14101 GPHOTO2_PORT_LIBS=""; GPHOTO2_PORT_CFLAGS=""
14104 else
14105 GPHOTO2_PORT_LIBS=""; GPHOTO2_PORT_CFLAGS=""
14109 CPPFLAGS=$ac_save_CPPFLAGS
14112 if test "$ac_cv_lib_gphoto2_gp_camera_new" != "yes"; then :
14113 case "x$with_gphoto" in
14114 x) as_fn_append wine_notices "|libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported." ;;
14115 xno) ;;
14116 *) as_fn_error $? "libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported.
14117 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
14118 esac
14121 if test "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" != "yes"; then :
14122 case "x$with_gphoto" in
14123 x) as_fn_append wine_notices "|libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected." ;;
14124 xno) ;;
14125 *) as_fn_error $? "libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected.
14126 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
14127 esac
14132 if test "$ac_cv_header_resolv_h" = "yes"
14133 then
14134 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for resolver library" >&5
14135 $as_echo_n "checking for resolver library... " >&6; }
14136 if ${ac_cv_have_resolv+:} false; then :
14137 $as_echo_n "(cached) " >&6
14138 else
14139 ac_save_LIBS="$LIBS"
14140 for lib in '' -lresolv
14142 LIBS="$lib $ac_save_LIBS"
14143 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14144 /* end confdefs.h. */
14145 #ifdef HAVE_NETINET_IN_H
14146 #include <netinet/in.h>
14147 #endif
14148 #include <resolv.h>
14150 main ()
14152 if (!(_res.options & RES_INIT)) res_init(); res_query("foo",ns_c_in,0,0,0)
14154 return 0;
14156 _ACEOF
14157 if ac_fn_c_try_link "$LINENO"; then :
14158 ac_cv_have_resolv=${lib:-"none required"}
14159 else
14160 ac_cv_have_resolv="not found"
14162 rm -f core conftest.err conftest.$ac_objext \
14163 conftest$ac_exeext conftest.$ac_ext
14164 test "x$ac_cv_have_resolv" = "xnot found" || break
14165 done
14166 LIBS="$ac_save_LIBS"
14168 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_resolv" >&5
14169 $as_echo "$ac_cv_have_resolv" >&6; }
14171 case "$ac_cv_have_resolv" in
14172 "not found") ;;
14173 "none required")
14175 $as_echo "#define HAVE_RESOLV 1" >>confdefs.h
14178 $as_echo "#define HAVE_RESOLV 1" >>confdefs.h
14180 RESOLV_LIBS=$ac_cv_have_resolv
14182 esac
14184 if test "x$ac_cv_have_resolv" != "xnot found"
14185 then
14186 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for res_getservers" >&5
14187 $as_echo_n "checking for res_getservers... " >&6; }
14188 if ${ac_cv_have_res_getservers+:} false; then :
14189 $as_echo_n "(cached) " >&6
14190 else
14191 ac_save_LIBS="$LIBS"
14192 LIBS="$RESOLV_LIBS $LIBS"
14193 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14194 /* end confdefs.h. */
14195 #include <resolv.h>
14197 main ()
14199 res_getservers(NULL, NULL, 0);
14201 return 0;
14203 _ACEOF
14204 if ac_fn_c_try_link "$LINENO"; then :
14205 ac_cv_have_res_getservers=yes
14206 else
14207 ac_cv_have_res_getservers=no
14209 rm -f core conftest.err conftest.$ac_objext \
14210 conftest$ac_exeext conftest.$ac_ext
14211 LIBS="$ac_save_LIBS"
14213 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_res_getservers" >&5
14214 $as_echo "$ac_cv_have_res_getservers" >&6; }
14215 if test "$ac_cv_have_res_getservers" = "yes"
14216 then
14218 $as_echo "#define HAVE_RES_GETSERVERS 1" >>confdefs.h
14224 if test "x$with_cms" != "xno"
14225 then
14226 if ${LCMS2_CFLAGS:+false} :; then :
14227 if ${PKG_CONFIG+:} false; then :
14228 LCMS2_CFLAGS=`$PKG_CONFIG --cflags lcms2 2>/dev/null`
14232 if ${LCMS2_LIBS:+false} :; then :
14233 if ${PKG_CONFIG+:} false; then :
14234 LCMS2_LIBS=`$PKG_CONFIG --libs lcms2 2>/dev/null`
14238 LCMS2_LIBS=${LCMS2_LIBS:-"-llcms2"}
14239 $as_echo "$as_me:${as_lineno-$LINENO}: lcms2 cflags: $LCMS2_CFLAGS" >&5
14240 $as_echo "$as_me:${as_lineno-$LINENO}: lcms2 libs: $LCMS2_LIBS" >&5
14241 ac_save_CPPFLAGS=$CPPFLAGS
14242 CPPFLAGS="$CPPFLAGS $LCMS2_CFLAGS"
14243 for ac_header in lcms2.h
14244 do :
14245 ac_fn_c_check_header_mongrel "$LINENO" "lcms2.h" "ac_cv_header_lcms2_h" "$ac_includes_default"
14246 if test "x$ac_cv_header_lcms2_h" = xyes; then :
14247 cat >>confdefs.h <<_ACEOF
14248 #define HAVE_LCMS2_H 1
14249 _ACEOF
14253 done
14255 if test "$ac_cv_header_lcms2_h" = "yes"
14256 then
14257 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cmsOpenProfileFromFile in -llcms2" >&5
14258 $as_echo_n "checking for cmsOpenProfileFromFile in -llcms2... " >&6; }
14259 if ${ac_cv_lib_lcms2_cmsOpenProfileFromFile+:} false; then :
14260 $as_echo_n "(cached) " >&6
14261 else
14262 ac_check_lib_save_LIBS=$LIBS
14263 LIBS="-llcms2 $LCMS2_LIBS $LIBS"
14264 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14265 /* end confdefs.h. */
14267 /* Override any GCC internal prototype to avoid an error.
14268 Use char because int might match the return type of a GCC
14269 builtin and then its argument prototype would still apply. */
14270 #ifdef __cplusplus
14271 extern "C"
14272 #endif
14273 char cmsOpenProfileFromFile ();
14275 main ()
14277 return cmsOpenProfileFromFile ();
14279 return 0;
14281 _ACEOF
14282 if ac_fn_c_try_link "$LINENO"; then :
14283 ac_cv_lib_lcms2_cmsOpenProfileFromFile=yes
14284 else
14285 ac_cv_lib_lcms2_cmsOpenProfileFromFile=no
14287 rm -f core conftest.err conftest.$ac_objext \
14288 conftest$ac_exeext conftest.$ac_ext
14289 LIBS=$ac_check_lib_save_LIBS
14291 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lcms2_cmsOpenProfileFromFile" >&5
14292 $as_echo "$ac_cv_lib_lcms2_cmsOpenProfileFromFile" >&6; }
14293 if test "x$ac_cv_lib_lcms2_cmsOpenProfileFromFile" = xyes; then :
14295 $as_echo "#define HAVE_LCMS2 1" >>confdefs.h
14297 else
14298 LCMS2_LIBS=""
14301 else
14302 LCMS2_CFLAGS=""
14303 LCMS2_LIBS=""
14305 CPPFLAGS=$ac_save_CPPFLAGS
14308 if test "$ac_cv_lib_lcms2_cmsOpenProfileFromFile" != "yes"; then :
14309 case "x$with_cms" in
14310 x) as_fn_append wine_notices "|liblcms2 ${notice_platform}development files not found, Color Management won't be supported." ;;
14311 xno) ;;
14312 *) as_fn_error $? "liblcms2 ${notice_platform}development files not found, Color Management won't be supported.
14313 This is an error since --with-cms was requested." "$LINENO" 5 ;;
14314 esac
14318 if test "x$with_freetype" != "xno"
14319 then
14320 if ${FREETYPE_CFLAGS:+false} :; then :
14321 if ${PKG_CONFIG+:} false; then :
14322 FREETYPE_CFLAGS=`$PKG_CONFIG --cflags freetype2 2>/dev/null`
14325 test "$cross_compiling" = yes || FREETYPE_CFLAGS=${FREETYPE_CFLAGS:-`(${FREETYPE_CONFIG:-freetype-config} --cflags || ${FREETYPE2_CONFIG:-freetype2-config} --cflags) 2>/dev/null`}
14326 if ${FREETYPE_LIBS:+false} :; then :
14327 if ${PKG_CONFIG+:} false; then :
14328 FREETYPE_LIBS=`$PKG_CONFIG --libs freetype2 2>/dev/null`
14331 test "$cross_compiling" = yes || FREETYPE_LIBS=${FREETYPE_LIBS:-`(${FREETYPE_CONFIG:-freetype-config} --libs || ${FREETYPE2_CONFIG:-freetype2-config} --libs) 2>/dev/null`}
14332 FREETYPE_LIBS=${FREETYPE_LIBS:-"-lfreetype"}
14333 $as_echo "$as_me:${as_lineno-$LINENO}: freetype2 cflags: $FREETYPE_CFLAGS" >&5
14334 $as_echo "$as_me:${as_lineno-$LINENO}: freetype2 libs: $FREETYPE_LIBS" >&5
14335 ac_save_CPPFLAGS=$CPPFLAGS
14336 CPPFLAGS="$CPPFLAGS $FREETYPE_CFLAGS"
14337 for ac_header in ft2build.h
14338 do :
14339 ac_fn_c_check_header_mongrel "$LINENO" "ft2build.h" "ac_cv_header_ft2build_h" "$ac_includes_default"
14340 if test "x$ac_cv_header_ft2build_h" = xyes; then :
14341 cat >>confdefs.h <<_ACEOF
14342 #define HAVE_FT2BUILD_H 1
14343 _ACEOF
14347 done
14349 if test "$ac_cv_header_ft2build_h" = "yes"
14350 then
14351 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfreetype" >&5
14352 $as_echo_n "checking for -lfreetype... " >&6; }
14353 if ${ac_cv_lib_soname_freetype+:} false; then :
14354 $as_echo_n "(cached) " >&6
14355 else
14356 ac_check_soname_save_LIBS=$LIBS
14357 LIBS="-lfreetype $FREETYPE_LIBS $LIBS"
14358 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14359 /* end confdefs.h. */
14361 /* Override any GCC internal prototype to avoid an error.
14362 Use char because int might match the return type of a GCC
14363 builtin and then its argument prototype would still apply. */
14364 #ifdef __cplusplus
14365 extern "C"
14366 #endif
14367 char FT_Init_FreeType ();
14369 main ()
14371 return FT_Init_FreeType ();
14373 return 0;
14375 _ACEOF
14376 if ac_fn_c_try_link "$LINENO"; then :
14377 case "$LIBEXT" in
14378 dll) ac_cv_lib_soname_freetype=`$ac_cv_path_LDD conftest.exe | grep "freetype" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14379 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'` ;;
14380 *) ac_cv_lib_soname_freetype=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfreetype\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfreetype\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14381 if ${ac_cv_lib_soname_freetype:+false} :; then :
14382 ac_cv_lib_soname_freetype=`$LDD conftest$ac_exeext | grep "libfreetype\\.$LIBEXT" | sed -e "s/^.*\(libfreetype\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14383 fi ;;
14384 esac
14385 else
14386 ac_cv_lib_soname_freetype=
14388 rm -f core conftest.err conftest.$ac_objext \
14389 conftest$ac_exeext conftest.$ac_ext
14390 LIBS=$ac_check_soname_save_LIBS
14392 if ${ac_cv_lib_soname_freetype:+false} :; then :
14393 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14394 $as_echo "not found" >&6; }
14395 FREETYPE_LIBS=""
14396 else
14397 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_freetype" >&5
14398 $as_echo "$ac_cv_lib_soname_freetype" >&6; }
14400 cat >>confdefs.h <<_ACEOF
14401 #define SONAME_LIBFREETYPE "$ac_cv_lib_soname_freetype"
14402 _ACEOF
14405 $as_echo "#define HAVE_FREETYPE 1" >>confdefs.h
14407 ac_fn_c_check_type "$LINENO" "FT_TrueTypeEngineType" "ac_cv_type_FT_TrueTypeEngineType" "#include <ft2build.h>
14408 #include FT_MODULE_H
14410 if test "x$ac_cv_type_FT_TrueTypeEngineType" = xyes; then :
14412 cat >>confdefs.h <<_ACEOF
14413 #define HAVE_FT_TRUETYPEENGINETYPE 1
14414 _ACEOF
14420 else
14421 FREETYPE_CFLAGS=""
14422 FREETYPE_LIBS=""
14424 CPPFLAGS=$ac_save_CPPFLAGS
14427 if test "x$ac_cv_lib_soname_freetype" = x; then :
14428 case "x$with_freetype" in
14429 xno) ;;
14430 *) as_fn_error $? "FreeType ${notice_platform}development files not found. Fonts will not be built.
14431 Use the --without-freetype option if you really want this." "$LINENO" 5 ;;
14432 esac
14433 enable_fonts=${enable_fonts:-no}
14436 ac_wine_check_funcs_save_LIBS="$LIBS"
14437 LIBS="$LIBS $PTHREAD_LIBS"
14438 for ac_func in \
14439 pthread_getthreadid_np
14440 do :
14441 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
14442 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
14443 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
14444 cat >>confdefs.h <<_ACEOF
14445 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
14446 _ACEOF
14449 done
14451 LIBS="$ac_wine_check_funcs_save_LIBS"
14453 if test "x$enable_tools" != xno -a "x$with_gettextpo" = xyes
14454 then
14455 if test "$ac_cv_header_gettext_po_h" = "yes"
14456 then
14457 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for po_message_msgctxt in -lgettextpo" >&5
14458 $as_echo_n "checking for po_message_msgctxt in -lgettextpo... " >&6; }
14459 if ${ac_cv_lib_gettextpo_po_message_msgctxt+:} false; then :
14460 $as_echo_n "(cached) " >&6
14461 else
14462 ac_check_lib_save_LIBS=$LIBS
14463 LIBS="-lgettextpo $LIBS"
14464 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14465 /* end confdefs.h. */
14467 /* Override any GCC internal prototype to avoid an error.
14468 Use char because int might match the return type of a GCC
14469 builtin and then its argument prototype would still apply. */
14470 #ifdef __cplusplus
14471 extern "C"
14472 #endif
14473 char po_message_msgctxt ();
14475 main ()
14477 return po_message_msgctxt ();
14479 return 0;
14481 _ACEOF
14482 if ac_fn_c_try_link "$LINENO"; then :
14483 ac_cv_lib_gettextpo_po_message_msgctxt=yes
14484 else
14485 ac_cv_lib_gettextpo_po_message_msgctxt=no
14487 rm -f core conftest.err conftest.$ac_objext \
14488 conftest$ac_exeext conftest.$ac_ext
14489 LIBS=$ac_check_lib_save_LIBS
14491 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gettextpo_po_message_msgctxt" >&5
14492 $as_echo "$ac_cv_lib_gettextpo_po_message_msgctxt" >&6; }
14493 if test "x$ac_cv_lib_gettextpo_po_message_msgctxt" = xyes; then :
14495 $as_echo "#define HAVE_LIBGETTEXTPO 1" >>confdefs.h
14497 GETTEXTPO_LIBS="-lgettextpo"
14502 if test "x$GETTEXTPO_LIBS" = "x"; then :
14503 case "x$with_gettextpo" in
14504 x) as_fn_append wine_notices "|GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt." ;;
14505 xno) ;;
14506 *) as_fn_error $? "GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt.
14507 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
14508 esac
14511 if test "$srcdir" != .; then :
14512 case "x$with_gettextpo" in
14513 x) as_fn_append wine_notices "|Rebuilding po files is not supported for out of tree builds." ;;
14514 xno) ;;
14515 *) as_fn_error $? "Rebuilding po files is not supported for out of tree builds.
14516 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
14517 esac
14522 if test "x$with_pulse" != "xno";
14523 then
14524 if ${PULSE_CFLAGS:+false} :; then :
14525 if ${PKG_CONFIG+:} false; then :
14526 PULSE_CFLAGS=`$PKG_CONFIG --cflags libpulse 2>/dev/null`
14530 if ${PULSE_LIBS:+false} :; then :
14531 if ${PKG_CONFIG+:} false; then :
14532 PULSE_LIBS=`$PKG_CONFIG --libs libpulse 2>/dev/null`
14537 $as_echo "$as_me:${as_lineno-$LINENO}: libpulse cflags: $PULSE_CFLAGS" >&5
14538 $as_echo "$as_me:${as_lineno-$LINENO}: libpulse libs: $PULSE_LIBS" >&5
14539 ac_save_CPPFLAGS=$CPPFLAGS
14540 CPPFLAGS="$CPPFLAGS $PULSE_CFLAGS"
14541 for ac_header in pulse/pulseaudio.h
14542 do :
14543 ac_fn_c_check_header_mongrel "$LINENO" "pulse/pulseaudio.h" "ac_cv_header_pulse_pulseaudio_h" "$ac_includes_default"
14544 if test "x$ac_cv_header_pulse_pulseaudio_h" = xyes; then :
14545 cat >>confdefs.h <<_ACEOF
14546 #define HAVE_PULSE_PULSEAUDIO_H 1
14547 _ACEOF
14548 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pa_stream_is_corked in -lpulse" >&5
14549 $as_echo_n "checking for pa_stream_is_corked in -lpulse... " >&6; }
14550 if ${ac_cv_lib_pulse_pa_stream_is_corked+:} false; then :
14551 $as_echo_n "(cached) " >&6
14552 else
14553 ac_check_lib_save_LIBS=$LIBS
14554 LIBS="-lpulse $PULSE_LIBS $LIBS"
14555 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14556 /* end confdefs.h. */
14558 /* Override any GCC internal prototype to avoid an error.
14559 Use char because int might match the return type of a GCC
14560 builtin and then its argument prototype would still apply. */
14561 #ifdef __cplusplus
14562 extern "C"
14563 #endif
14564 char pa_stream_is_corked ();
14566 main ()
14568 return pa_stream_is_corked ();
14570 return 0;
14572 _ACEOF
14573 if ac_fn_c_try_link "$LINENO"; then :
14574 ac_cv_lib_pulse_pa_stream_is_corked=yes
14575 else
14576 ac_cv_lib_pulse_pa_stream_is_corked=no
14578 rm -f core conftest.err conftest.$ac_objext \
14579 conftest$ac_exeext conftest.$ac_ext
14580 LIBS=$ac_check_lib_save_LIBS
14582 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pulse_pa_stream_is_corked" >&5
14583 $as_echo "$ac_cv_lib_pulse_pa_stream_is_corked" >&6; }
14584 if test "x$ac_cv_lib_pulse_pa_stream_is_corked" = xyes; then :
14586 else
14587 PULSE_LIBS=""
14590 else
14591 PULSE_LIBS=""
14594 done
14596 CPPFLAGS=$ac_save_CPPFLAGS
14599 if test -z "$PULSE_LIBS"; then :
14600 case "x$with_pulse" in
14601 x) as_fn_append wine_notices "|libpulse ${notice_platform}development files not found or too old, Pulse won't be supported." ;;
14602 xno) ;;
14603 *) as_fn_error $? "libpulse ${notice_platform}development files not found or too old, Pulse won't be supported.
14604 This is an error since --with-pulse was requested." "$LINENO" 5 ;;
14605 esac
14606 enable_winepulse_drv=${enable_winepulse_drv:-no}
14609 if test "x$with_gstreamer" != "xno"
14610 then
14611 if ${GSTREAMER_CFLAGS:+false} :; then :
14612 if ${PKG_CONFIG+:} false; then :
14613 GSTREAMER_CFLAGS=`$PKG_CONFIG --cflags gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 2>/dev/null`
14617 if ${GSTREAMER_LIBS:+false} :; then :
14618 if ${PKG_CONFIG+:} false; then :
14619 GSTREAMER_LIBS=`$PKG_CONFIG --libs gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 2>/dev/null`
14624 $as_echo "$as_me:${as_lineno-$LINENO}: gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 cflags: $GSTREAMER_CFLAGS" >&5
14625 $as_echo "$as_me:${as_lineno-$LINENO}: gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 libs: $GSTREAMER_LIBS" >&5
14626 ac_save_CPPFLAGS=$CPPFLAGS
14627 CPPFLAGS="$CPPFLAGS $GSTREAMER_CFLAGS"
14628 ac_fn_c_check_header_mongrel "$LINENO" "gst/gst.h" "ac_cv_header_gst_gst_h" "$ac_includes_default"
14629 if test "x$ac_cv_header_gst_gst_h" = xyes; then :
14630 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether gint64 defined by gst/gst.h is indeed 64-bit" >&5
14631 $as_echo_n "checking whether gint64 defined by gst/gst.h is indeed 64-bit... " >&6; }
14632 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14633 /* end confdefs.h. */
14634 #include <gst/gst.h>
14636 main ()
14638 static int a[sizeof(gint64) > 4 ? 1 : -1]; if (a[0]) return 0;
14640 return 0;
14642 _ACEOF
14643 if ac_fn_c_try_compile "$LINENO"; then :
14644 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14645 $as_echo "yes" >&6; }
14646 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gst_pad_new in -lgstreamer-1.0" >&5
14647 $as_echo_n "checking for gst_pad_new in -lgstreamer-1.0... " >&6; }
14648 if ${ac_cv_lib_gstreamer_1_0_gst_pad_new+:} false; then :
14649 $as_echo_n "(cached) " >&6
14650 else
14651 ac_check_lib_save_LIBS=$LIBS
14652 LIBS="-lgstreamer-1.0 $GSTREAMER_LIBS $LIBS"
14653 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14654 /* end confdefs.h. */
14656 /* Override any GCC internal prototype to avoid an error.
14657 Use char because int might match the return type of a GCC
14658 builtin and then its argument prototype would still apply. */
14659 #ifdef __cplusplus
14660 extern "C"
14661 #endif
14662 char gst_pad_new ();
14664 main ()
14666 return gst_pad_new ();
14668 return 0;
14670 _ACEOF
14671 if ac_fn_c_try_link "$LINENO"; then :
14672 ac_cv_lib_gstreamer_1_0_gst_pad_new=yes
14673 else
14674 ac_cv_lib_gstreamer_1_0_gst_pad_new=no
14676 rm -f core conftest.err conftest.$ac_objext \
14677 conftest$ac_exeext conftest.$ac_ext
14678 LIBS=$ac_check_lib_save_LIBS
14680 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gstreamer_1_0_gst_pad_new" >&5
14681 $as_echo "$ac_cv_lib_gstreamer_1_0_gst_pad_new" >&6; }
14682 if test "x$ac_cv_lib_gstreamer_1_0_gst_pad_new" = xyes; then :
14686 else
14687 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14688 $as_echo "no" >&6; }
14689 ac_glib2_broken=yes
14690 as_fn_append wine_notices "|glib-2.0 pkgconfig configuration is for the wrong architecture, winegstreamer won't be built."
14692 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14696 CPPFLAGS=$ac_save_CPPFLAGS
14699 if test "x$ac_glib2_broken" != xyes -a "x$ac_cv_lib_gstreamer_1_0_gst_pad_new" != xyes -a "x$ac_cv_header_QuickTime_ImageCompression_h" != xyes ; then :
14700 case "x$with_gstreamer" in
14701 x) as_fn_append wine_notices "|gstreamer-1.0 base plugins ${notice_platform}development files not found, GStreamer won't be supported." ;;
14702 xno) ;;
14703 *) as_fn_error $? "gstreamer-1.0 base plugins ${notice_platform}development files not found, GStreamer won't be supported.
14704 This is an error since --with-gstreamer was requested." "$LINENO" 5 ;;
14705 esac
14708 test "x$ac_cv_lib_gstreamer_1_0_gst_pad_new" = xyes || enable_winegstreamer=${enable_winegstreamer:-no}
14710 ALSA_LIBS=""
14712 if test "x$with_alsa" != "xno"
14713 then
14714 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for snd_pcm_hw_params_get_access_mask in -lasound" >&5
14715 $as_echo_n "checking for snd_pcm_hw_params_get_access_mask in -lasound... " >&6; }
14716 if ${ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask+:} false; then :
14717 $as_echo_n "(cached) " >&6
14718 else
14719 ac_check_lib_save_LIBS=$LIBS
14720 LIBS="-lasound $LIBS"
14721 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14722 /* end confdefs.h. */
14724 /* Override any GCC internal prototype to avoid an error.
14725 Use char because int might match the return type of a GCC
14726 builtin and then its argument prototype would still apply. */
14727 #ifdef __cplusplus
14728 extern "C"
14729 #endif
14730 char snd_pcm_hw_params_get_access_mask ();
14732 main ()
14734 return snd_pcm_hw_params_get_access_mask ();
14736 return 0;
14738 _ACEOF
14739 if ac_fn_c_try_link "$LINENO"; then :
14740 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask=yes
14741 else
14742 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask=no
14744 rm -f core conftest.err conftest.$ac_objext \
14745 conftest$ac_exeext conftest.$ac_ext
14746 LIBS=$ac_check_lib_save_LIBS
14748 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&5
14749 $as_echo "$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&6; }
14750 if test "x$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" = xyes; then :
14751 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14752 /* end confdefs.h. */
14753 #include <alsa/asoundlib.h>
14755 main ()
14757 snd_pcm_hw_params_get_access_mask(NULL, NULL)
14759 return 0;
14761 _ACEOF
14762 if ac_fn_c_try_compile "$LINENO"; then :
14763 ALSA_LIBS="-lasound"
14765 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14769 test -n "$ALSA_LIBS" || enable_winealsa_drv=${enable_winealsa_drv:-no}
14771 if test "x$with_oss" != xno
14772 then
14773 ac_save_CPPFLAGS="$CPPFLAGS"
14774 if test -f /etc/oss.conf
14775 then
14776 . /etc/oss.conf
14778 ac_oss_incl="-I${OSSLIBDIR:-/usr/lib/oss}/include"
14779 CPPFLAGS="$CPPFLAGS $ac_oss_incl"
14780 ac_fn_c_check_header_mongrel "$LINENO" "sys/soundcard.h" "ac_cv_header_sys_soundcard_h" "$ac_includes_default"
14781 if test "x$ac_cv_header_sys_soundcard_h" = xyes; then :
14782 ac_fn_c_check_member "$LINENO" "oss_sysinfo" "numaudioengines" "ac_cv_member_oss_sysinfo_numaudioengines" "#include <sys/soundcard.h>
14784 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" = xyes; then :
14786 cat >>confdefs.h <<_ACEOF
14787 #define HAVE_OSS_SYSINFO_NUMAUDIOENGINES 1
14788 _ACEOF
14790 OSS4_CFLAGS="$ac_oss_incl"
14792 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _oss_ioctl in -lossaudio" >&5
14793 $as_echo_n "checking for _oss_ioctl in -lossaudio... " >&6; }
14794 if ${ac_cv_lib_ossaudio__oss_ioctl+:} false; then :
14795 $as_echo_n "(cached) " >&6
14796 else
14797 ac_check_lib_save_LIBS=$LIBS
14798 LIBS="-lossaudio $LIBS"
14799 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14800 /* end confdefs.h. */
14802 /* Override any GCC internal prototype to avoid an error.
14803 Use char because int might match the return type of a GCC
14804 builtin and then its argument prototype would still apply. */
14805 #ifdef __cplusplus
14806 extern "C"
14807 #endif
14808 char _oss_ioctl ();
14810 main ()
14812 return _oss_ioctl ();
14814 return 0;
14816 _ACEOF
14817 if ac_fn_c_try_link "$LINENO"; then :
14818 ac_cv_lib_ossaudio__oss_ioctl=yes
14819 else
14820 ac_cv_lib_ossaudio__oss_ioctl=no
14822 rm -f core conftest.err conftest.$ac_objext \
14823 conftest$ac_exeext conftest.$ac_ext
14824 LIBS=$ac_check_lib_save_LIBS
14826 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ossaudio__oss_ioctl" >&5
14827 $as_echo "$ac_cv_lib_ossaudio__oss_ioctl" >&6; }
14828 if test "x$ac_cv_lib_ossaudio__oss_ioctl" = xyes; then :
14829 OSS4_LIBS="-lossaudio"
14838 CPPFLAGS="$ac_save_CPPFLAGS"
14840 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" != xyes; then :
14841 case "x$with_oss" in
14842 x) as_fn_append wine_notices "|OSS sound system found but too old (OSSv4 needed), OSS won't be supported." ;;
14843 xno) ;;
14844 *) as_fn_error $? "OSS sound system found but too old (OSSv4 needed), OSS won't be supported.
14845 This is an error since --with-oss was requested." "$LINENO" 5 ;;
14846 esac
14847 enable_wineoss_drv=${enable_wineoss_drv:-no}
14850 if test "x$with_udev" != "xno"
14851 then
14852 if ${UDEV_CFLAGS:+false} :; then :
14853 if ${PKG_CONFIG+:} false; then :
14854 UDEV_CFLAGS=`$PKG_CONFIG --cflags libudev 2>/dev/null`
14858 if ${UDEV_LIBS:+false} :; then :
14859 if ${PKG_CONFIG+:} false; then :
14860 UDEV_LIBS=`$PKG_CONFIG --libs libudev 2>/dev/null`
14864 UDEV_LIBS=${UDEV_LIBS:-"-ludev"}
14865 $as_echo "$as_me:${as_lineno-$LINENO}: libudev cflags: $UDEV_CFLAGS" >&5
14866 $as_echo "$as_me:${as_lineno-$LINENO}: libudev libs: $UDEV_LIBS" >&5
14867 ac_save_CPPFLAGS=$CPPFLAGS
14868 CPPFLAGS="$CPPFLAGS $UDEV_CFLAGS"
14869 for ac_header in libudev.h
14870 do :
14871 ac_fn_c_check_header_mongrel "$LINENO" "libudev.h" "ac_cv_header_libudev_h" "$ac_includes_default"
14872 if test "x$ac_cv_header_libudev_h" = xyes; then :
14873 cat >>confdefs.h <<_ACEOF
14874 #define HAVE_LIBUDEV_H 1
14875 _ACEOF
14876 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for udev_new in -ludev" >&5
14877 $as_echo_n "checking for udev_new in -ludev... " >&6; }
14878 if ${ac_cv_lib_udev_udev_new+:} false; then :
14879 $as_echo_n "(cached) " >&6
14880 else
14881 ac_check_lib_save_LIBS=$LIBS
14882 LIBS="-ludev $UDEV_LIBS $LIBS"
14883 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14884 /* end confdefs.h. */
14886 /* Override any GCC internal prototype to avoid an error.
14887 Use char because int might match the return type of a GCC
14888 builtin and then its argument prototype would still apply. */
14889 #ifdef __cplusplus
14890 extern "C"
14891 #endif
14892 char udev_new ();
14894 main ()
14896 return udev_new ();
14898 return 0;
14900 _ACEOF
14901 if ac_fn_c_try_link "$LINENO"; then :
14902 ac_cv_lib_udev_udev_new=yes
14903 else
14904 ac_cv_lib_udev_udev_new=no
14906 rm -f core conftest.err conftest.$ac_objext \
14907 conftest$ac_exeext conftest.$ac_ext
14908 LIBS=$ac_check_lib_save_LIBS
14910 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_udev_udev_new" >&5
14911 $as_echo "$ac_cv_lib_udev_udev_new" >&6; }
14912 if test "x$ac_cv_lib_udev_udev_new" = xyes; then :
14914 $as_echo "#define HAVE_UDEV 1" >>confdefs.h
14916 else
14917 UDEV_LIBS=""
14920 else
14921 UDEV_LIBS=""
14924 done
14926 CPPFLAGS=$ac_save_CPPFLAGS
14929 if test "x$UDEV_LIBS" = "x"; then :
14930 case "x$with_udev" in
14931 x) as_fn_append wine_notices "|libudev ${notice_platform}development files not found, plug and play won't be supported." ;;
14932 xno) ;;
14933 *) as_fn_error $? "libudev ${notice_platform}development files not found, plug and play won't be supported.
14934 This is an error since --with-udev was requested." "$LINENO" 5 ;;
14935 esac
14939 if test "x$with_unwind" != xno
14940 then
14941 if ${UNWIND_CFLAGS:+false} :; then :
14942 if ${PKG_CONFIG+:} false; then :
14943 UNWIND_CFLAGS=`$PKG_CONFIG --cflags libunwind 2>/dev/null`
14947 if ${UNWIND_LIBS:+false} :; then :
14948 if ${PKG_CONFIG+:} false; then :
14949 UNWIND_LIBS=`$PKG_CONFIG --libs libunwind 2>/dev/null`
14953 UNWIND_LIBS=${UNWIND_LIBS:-"-lunwind"}
14954 $as_echo "$as_me:${as_lineno-$LINENO}: libunwind cflags: $UNWIND_CFLAGS" >&5
14955 $as_echo "$as_me:${as_lineno-$LINENO}: libunwind libs: $UNWIND_LIBS" >&5
14956 ac_save_CPPFLAGS=$CPPFLAGS
14957 CPPFLAGS="$CPPFLAGS $UNWIND_CFLAGS"
14958 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for unw_step" >&5
14959 $as_echo_n "checking for unw_step... " >&6; }
14960 if ${wine_cv_have_unw_step+:} false; then :
14961 $as_echo_n "(cached) " >&6
14962 else
14963 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14964 /* end confdefs.h. */
14965 #define UNW_LOCAL_ONLY
14966 #include <libunwind.h>
14968 main ()
14970 unw_cursor_t cursor; unw_step( &cursor );
14972 return 0;
14974 _ACEOF
14975 if ac_fn_c_try_link "$LINENO"; then :
14976 wine_cv_have_unw_step="yes"
14977 else
14978 wine_cv_have_unw_step="no"
14980 rm -f core conftest.err conftest.$ac_objext \
14981 conftest$ac_exeext conftest.$ac_ext
14983 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_unw_step" >&5
14984 $as_echo "$wine_cv_have_unw_step" >&6; }
14985 if test "$wine_cv_have_unw_step" = no -a -n "$UNWIND_LIBS"
14986 then
14987 save_libs=$LIBS
14988 UNWIND_LIBS="-static-libgcc $UNWIND_LIBS"
14989 LIBS="$UNWIND_LIBS $LIBS"
14990 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for unw_step in libunwind" >&5
14991 $as_echo_n "checking for unw_step in libunwind... " >&6; }
14992 if ${wine_cv_have_libunwind_unw_step+:} false; then :
14993 $as_echo_n "(cached) " >&6
14994 else
14995 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14996 /* end confdefs.h. */
14997 #define UNW_LOCAL_ONLY
14998 #include <libunwind.h>
15000 main ()
15002 unw_cursor_t cursor; unw_step( &cursor );
15004 return 0;
15006 _ACEOF
15007 if ac_fn_c_try_link "$LINENO"; then :
15008 wine_cv_have_libunwind_unw_step="yes"
15009 else
15010 wine_cv_have_libunwind_unw_step="no"
15012 rm -f core conftest.err conftest.$ac_objext \
15013 conftest$ac_exeext conftest.$ac_ext
15015 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_libunwind_unw_step" >&5
15016 $as_echo "$wine_cv_have_libunwind_unw_step" >&6; }
15017 LIBS=$save_libs
15019 test "$wine_cv_have_libunwind_unw_step" = yes || UNWIND_LIBS=""
15020 if test "x$wine_cv_have_unw_step$wine_cv_have_libunwind_unw_step" != xnono
15021 then
15023 $as_echo "#define HAVE_LIBUNWIND 1" >>confdefs.h
15026 CPPFLAGS=$ac_save_CPPFLAGS
15029 case $host in
15030 aarch64*|*-darwin*)
15031 if test "x$wine_cv_have_unw_step$wine_cv_have_libunwind_unw_step" = xnono; then :
15032 case "x$with_unwind" in
15033 x) as_fn_append wine_notices "|libunwind ${notice_platform}development files not found, stack unwinding won't work." ;;
15034 xno) ;;
15035 *) as_fn_error $? "libunwind ${notice_platform}development files not found, stack unwinding won't work.
15036 This is an error since --with-unwind was requested." "$LINENO" 5 ;;
15037 esac
15039 fi ;;
15040 esac
15042 if test "x$with_sdl" != "xno"
15043 then
15044 if ${SDL2_CFLAGS:+false} :; then :
15045 if ${PKG_CONFIG+:} false; then :
15046 SDL2_CFLAGS=`$PKG_CONFIG --cflags sdl2 2>/dev/null`
15050 if ${SDL2_LIBS:+false} :; then :
15051 if ${PKG_CONFIG+:} false; then :
15052 SDL2_LIBS=`$PKG_CONFIG --libs sdl2 2>/dev/null`
15056 SDL2_LIBS=${SDL2_LIBS:-"-lSDL2"}
15057 $as_echo "$as_me:${as_lineno-$LINENO}: sdl2 cflags: $SDL2_CFLAGS" >&5
15058 $as_echo "$as_me:${as_lineno-$LINENO}: sdl2 libs: $SDL2_LIBS" >&5
15059 ac_save_CPPFLAGS=$CPPFLAGS
15060 CPPFLAGS="$CPPFLAGS $SDL2_CFLAGS"
15061 for ac_header in SDL.h
15062 do :
15063 ac_fn_c_check_header_mongrel "$LINENO" "SDL.h" "ac_cv_header_SDL_h" "$ac_includes_default"
15064 if test "x$ac_cv_header_SDL_h" = xyes; then :
15065 cat >>confdefs.h <<_ACEOF
15066 #define HAVE_SDL_H 1
15067 _ACEOF
15068 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lSDL2" >&5
15069 $as_echo_n "checking for -lSDL2... " >&6; }
15070 if ${ac_cv_lib_soname_SDL2+:} false; then :
15071 $as_echo_n "(cached) " >&6
15072 else
15073 ac_check_soname_save_LIBS=$LIBS
15074 LIBS="-lSDL2 $SDL2_LIBS $LIBS"
15075 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15076 /* end confdefs.h. */
15078 /* Override any GCC internal prototype to avoid an error.
15079 Use char because int might match the return type of a GCC
15080 builtin and then its argument prototype would still apply. */
15081 #ifdef __cplusplus
15082 extern "C"
15083 #endif
15084 char SDL_Init ();
15086 main ()
15088 return SDL_Init ();
15090 return 0;
15092 _ACEOF
15093 if ac_fn_c_try_link "$LINENO"; then :
15094 case "$LIBEXT" in
15095 dll) ac_cv_lib_soname_SDL2=`$ac_cv_path_LDD conftest.exe | grep "SDL2" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15096 dylib) ac_cv_lib_soname_SDL2=`$OTOOL -L conftest$ac_exeext | grep "libSDL2-2.0*\\.[0-9A-Za-z.]*dylib" | sed -e "s/^.*\/\(libSDL2-2.0*\.[0-9A-Za-z.]*dylib\).*$/\1/"';2,$d'` ;;
15097 *) ac_cv_lib_soname_SDL2=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libSDL2-2.0*\\.$LIBEXT" | sed -e "s/^.*\\[\\(libSDL2-2.0*\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15098 if ${ac_cv_lib_soname_SDL2:+false} :; then :
15099 ac_cv_lib_soname_SDL2=`$LDD conftest$ac_exeext | grep "libSDL2-2.0*\\.$LIBEXT" | sed -e "s/^.*\(libSDL2-2.0*\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15100 fi ;;
15101 esac
15102 else
15103 ac_cv_lib_soname_SDL2=
15105 rm -f core conftest.err conftest.$ac_objext \
15106 conftest$ac_exeext conftest.$ac_ext
15107 LIBS=$ac_check_soname_save_LIBS
15109 if ${ac_cv_lib_soname_SDL2:+false} :; then :
15110 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15111 $as_echo "not found" >&6; }
15113 else
15114 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_SDL2" >&5
15115 $as_echo "$ac_cv_lib_soname_SDL2" >&6; }
15117 cat >>confdefs.h <<_ACEOF
15118 #define SONAME_LIBSDL2 "$ac_cv_lib_soname_SDL2"
15119 _ACEOF
15125 done
15127 CPPFLAGS=$ac_save_CPPFLAGS
15130 if test "x$ac_cv_lib_soname_SDL2" = "x"; then :
15131 case "x$with_sdl" in
15132 x) as_fn_append wine_notices "|libSDL2 ${notice_platform}development files not found, SDL2 won't be supported." ;;
15133 xno) ;;
15134 *) as_fn_error $? "libSDL2 ${notice_platform}development files not found, SDL2 won't be supported.
15135 This is an error since --with-sdl was requested." "$LINENO" 5 ;;
15136 esac
15140 if test "x$with_faudio" != "xno"
15141 then
15142 if ${FAUDIO_CFLAGS:+false} :; then :
15143 if ${PKG_CONFIG+:} false; then :
15144 FAUDIO_CFLAGS=`$PKG_CONFIG --cflags FAudio 2>/dev/null`
15148 if ${FAUDIO_LIBS:+false} :; then :
15149 if ${PKG_CONFIG+:} false; then :
15150 FAUDIO_LIBS=`$PKG_CONFIG --libs FAudio 2>/dev/null`
15154 FAUDIO_LIBS=${FAUDIO_LIBS:-"-lFAudio"}
15155 $as_echo "$as_me:${as_lineno-$LINENO}: FAudio cflags: $FAUDIO_CFLAGS" >&5
15156 $as_echo "$as_me:${as_lineno-$LINENO}: FAudio libs: $FAUDIO_LIBS" >&5
15157 ac_save_CPPFLAGS=$CPPFLAGS
15158 CPPFLAGS="$CPPFLAGS $FAUDIO_CFLAGS"
15159 for ac_header in FAudio.h
15160 do :
15161 ac_fn_c_check_header_mongrel "$LINENO" "FAudio.h" "ac_cv_header_FAudio_h" "$ac_includes_default"
15162 if test "x$ac_cv_header_FAudio_h" = xyes; then :
15163 cat >>confdefs.h <<_ACEOF
15164 #define HAVE_FAUDIO_H 1
15165 _ACEOF
15166 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lFAudio" >&5
15167 $as_echo_n "checking for -lFAudio... " >&6; }
15168 if ${ac_cv_lib_soname_FAudio+:} false; then :
15169 $as_echo_n "(cached) " >&6
15170 else
15171 ac_check_soname_save_LIBS=$LIBS
15172 LIBS="-lFAudio $FAUDIO_LIBS $LIBS"
15173 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15174 /* end confdefs.h. */
15176 /* Override any GCC internal prototype to avoid an error.
15177 Use char because int might match the return type of a GCC
15178 builtin and then its argument prototype would still apply. */
15179 #ifdef __cplusplus
15180 extern "C"
15181 #endif
15182 char FAudioCreate ();
15184 main ()
15186 return FAudioCreate ();
15188 return 0;
15190 _ACEOF
15191 if ac_fn_c_try_link "$LINENO"; then :
15192 case "$LIBEXT" in
15193 dll) ac_cv_lib_soname_FAudio=`$ac_cv_path_LDD conftest.exe | grep "FAudio" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15194 dylib) ac_cv_lib_soname_FAudio=`$OTOOL -L conftest$ac_exeext | grep "libFAudio*\\.[0-9A-Za-z.]*dylib" | sed -e "s/^.*\/\(libFAudio*\.[0-9A-Za-z.]*dylib\).*$/\1/"';2,$d'` ;;
15195 *) ac_cv_lib_soname_FAudio=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libFAudio*\\.$LIBEXT" | sed -e "s/^.*\\[\\(libFAudio*\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15196 if ${ac_cv_lib_soname_FAudio:+false} :; then :
15197 ac_cv_lib_soname_FAudio=`$LDD conftest$ac_exeext | grep "libFAudio*\\.$LIBEXT" | sed -e "s/^.*\(libFAudio*\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15198 fi ;;
15199 esac
15200 else
15201 ac_cv_lib_soname_FAudio=
15203 rm -f core conftest.err conftest.$ac_objext \
15204 conftest$ac_exeext conftest.$ac_ext
15205 LIBS=$ac_check_soname_save_LIBS
15207 if ${ac_cv_lib_soname_FAudio:+false} :; then :
15208 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15209 $as_echo "not found" >&6; }
15211 else
15212 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_FAudio" >&5
15213 $as_echo "$ac_cv_lib_soname_FAudio" >&6; }
15215 cat >>confdefs.h <<_ACEOF
15216 #define SONAME_LIBFAUDIO "$ac_cv_lib_soname_FAudio"
15217 _ACEOF
15223 done
15225 ac_wine_check_funcs_save_LIBS="$LIBS"
15226 LIBS="$LIBS $FAUDIO_LIBS"
15227 for ac_func in FAudio_CommitOperationSet \
15228 F3DAudioInitialize8 \
15229 FAudioLinkedVersion \
15230 FAudioCreateReverb9WithCustomAllocatorEXT
15231 do :
15232 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
15233 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
15234 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
15235 cat >>confdefs.h <<_ACEOF
15236 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
15237 _ACEOF
15240 done
15242 LIBS="$ac_wine_check_funcs_save_LIBS"
15244 CPPFLAGS=$ac_save_CPPFLAGS
15247 if test "x$ac_cv_lib_soname_FAudio" = "x"; then :
15248 case "x$with_faudio" in
15249 x) as_fn_append wine_notices "|libFAudio ${notice_platform}development files not found, XAudio2 won't be supported." ;;
15250 xno) ;;
15251 *) as_fn_error $? "libFAudio ${notice_platform}development files not found, XAudio2 won't be supported.
15252 This is an error since --with-faudio was requested." "$LINENO" 5 ;;
15253 esac
15257 if test "x$with_capi" != "xno"
15258 then
15259 if ${CAPI20_CFLAGS:+false} :; then :
15260 if ${PKG_CONFIG+:} false; then :
15261 CAPI20_CFLAGS=`$PKG_CONFIG --cflags capi20 2>/dev/null`
15265 if ${CAPI20_LIBS:+false} :; then :
15266 if ${PKG_CONFIG+:} false; then :
15267 CAPI20_LIBS=`$PKG_CONFIG --libs capi20 2>/dev/null`
15272 $as_echo "$as_me:${as_lineno-$LINENO}: capi20 cflags: $CAPI20_CFLAGS" >&5
15273 $as_echo "$as_me:${as_lineno-$LINENO}: capi20 libs: $CAPI20_LIBS" >&5
15274 ac_save_CPPFLAGS=$CPPFLAGS
15275 CPPFLAGS="$CPPFLAGS $CAPI20_CFLAGS"
15276 for ac_header in capi20.h linux/capi.h
15277 do :
15278 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
15279 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#define __user
15281 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
15282 cat >>confdefs.h <<_ACEOF
15283 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
15284 _ACEOF
15288 done
15290 if test "$ac_cv_header_capi20_h" = "yes" -a "$ac_cv_header_linux_capi_h" = "yes"
15291 then
15292 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcapi20" >&5
15293 $as_echo_n "checking for -lcapi20... " >&6; }
15294 if ${ac_cv_lib_soname_capi20+:} false; then :
15295 $as_echo_n "(cached) " >&6
15296 else
15297 ac_check_soname_save_LIBS=$LIBS
15298 LIBS="-lcapi20 $CAPI20_LIBS $LIBS"
15299 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15300 /* end confdefs.h. */
15302 /* Override any GCC internal prototype to avoid an error.
15303 Use char because int might match the return type of a GCC
15304 builtin and then its argument prototype would still apply. */
15305 #ifdef __cplusplus
15306 extern "C"
15307 #endif
15308 char capi20_register ();
15310 main ()
15312 return capi20_register ();
15314 return 0;
15316 _ACEOF
15317 if ac_fn_c_try_link "$LINENO"; then :
15318 case "$LIBEXT" in
15319 dll) ac_cv_lib_soname_capi20=`$ac_cv_path_LDD conftest.exe | grep "capi20" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15320 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'` ;;
15321 *) ac_cv_lib_soname_capi20=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcapi20\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcapi20\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15322 if ${ac_cv_lib_soname_capi20:+false} :; then :
15323 ac_cv_lib_soname_capi20=`$LDD conftest$ac_exeext | grep "libcapi20\\.$LIBEXT" | sed -e "s/^.*\(libcapi20\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15324 fi ;;
15325 esac
15326 else
15327 ac_cv_lib_soname_capi20=
15329 rm -f core conftest.err conftest.$ac_objext \
15330 conftest$ac_exeext conftest.$ac_ext
15331 LIBS=$ac_check_soname_save_LIBS
15333 if ${ac_cv_lib_soname_capi20:+false} :; then :
15334 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15335 $as_echo "not found" >&6; }
15337 else
15338 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_capi20" >&5
15339 $as_echo "$ac_cv_lib_soname_capi20" >&6; }
15341 cat >>confdefs.h <<_ACEOF
15342 #define SONAME_LIBCAPI20 "$ac_cv_lib_soname_capi20"
15343 _ACEOF
15348 CPPFLAGS=$ac_save_CPPFLAGS
15351 if test "x$ac_cv_lib_soname_capi20" = "x"; then :
15352 case "x$with_capi" in
15353 x) as_fn_append wine_notices "|libcapi20 ${notice_platform}development files not found, ISDN won't be supported." ;;
15354 xno) ;;
15355 *) as_fn_error $? "libcapi20 ${notice_platform}development files not found, ISDN won't be supported.
15356 This is an error since --with-capi was requested." "$LINENO" 5 ;;
15357 esac
15361 if test "x$with_cups" != "xno"
15362 then
15363 if ${CUPS_CFLAGS:+false} :; then :
15364 if ${PKG_CONFIG+:} false; then :
15365 CUPS_CFLAGS=`$PKG_CONFIG --cflags cups 2>/dev/null`
15368 test "$cross_compiling" = yes || CUPS_CFLAGS=${CUPS_CFLAGS:-`${CUPS_CONFIG:-cups-config} --cflags 2>/dev/null`}
15369 if ${CUPS_LIBS:+false} :; then :
15370 if ${PKG_CONFIG+:} false; then :
15371 CUPS_LIBS=`$PKG_CONFIG --libs cups 2>/dev/null`
15374 test "$cross_compiling" = yes || CUPS_LIBS=${CUPS_LIBS:-`${CUPS_CONFIG:-cups-config} --libs 2>/dev/null`}
15375 CUPS_LIBS=${CUPS_LIBS:-"-lcups"}
15376 $as_echo "$as_me:${as_lineno-$LINENO}: cups cflags: $CUPS_CFLAGS" >&5
15377 $as_echo "$as_me:${as_lineno-$LINENO}: cups libs: $CUPS_LIBS" >&5
15378 ac_save_CPPFLAGS=$CPPFLAGS
15379 CPPFLAGS="$CPPFLAGS $CUPS_CFLAGS"
15380 for ac_header in cups/cups.h cups/ppd.h
15381 do :
15382 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
15383 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
15384 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
15385 cat >>confdefs.h <<_ACEOF
15386 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
15387 _ACEOF
15391 done
15393 if test "$ac_cv_header_cups_cups_h" = "yes"
15394 then
15395 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcups" >&5
15396 $as_echo_n "checking for -lcups... " >&6; }
15397 if ${ac_cv_lib_soname_cups+:} false; then :
15398 $as_echo_n "(cached) " >&6
15399 else
15400 ac_check_soname_save_LIBS=$LIBS
15401 LIBS="-lcups $CUPS_LIBS $LIBS"
15402 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15403 /* end confdefs.h. */
15405 /* Override any GCC internal prototype to avoid an error.
15406 Use char because int might match the return type of a GCC
15407 builtin and then its argument prototype would still apply. */
15408 #ifdef __cplusplus
15409 extern "C"
15410 #endif
15411 char cupsGetDefault ();
15413 main ()
15415 return cupsGetDefault ();
15417 return 0;
15419 _ACEOF
15420 if ac_fn_c_try_link "$LINENO"; then :
15421 case "$LIBEXT" in
15422 dll) ac_cv_lib_soname_cups=`$ac_cv_path_LDD conftest.exe | grep "cups" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15423 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'` ;;
15424 *) ac_cv_lib_soname_cups=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcups\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcups\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15425 if ${ac_cv_lib_soname_cups:+false} :; then :
15426 ac_cv_lib_soname_cups=`$LDD conftest$ac_exeext | grep "libcups\\.$LIBEXT" | sed -e "s/^.*\(libcups\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15427 fi ;;
15428 esac
15429 else
15430 ac_cv_lib_soname_cups=
15432 rm -f core conftest.err conftest.$ac_objext \
15433 conftest$ac_exeext conftest.$ac_ext
15434 LIBS=$ac_check_soname_save_LIBS
15436 if ${ac_cv_lib_soname_cups:+false} :; then :
15437 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15438 $as_echo "not found" >&6; }
15439 CUPS_LIBS=""
15440 else
15441 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_cups" >&5
15442 $as_echo "$ac_cv_lib_soname_cups" >&6; }
15444 cat >>confdefs.h <<_ACEOF
15445 #define SONAME_LIBCUPS "$ac_cv_lib_soname_cups"
15446 _ACEOF
15450 else
15451 CUPS_CFLAGS=""
15452 CUPS_LIBS=""
15454 CPPFLAGS=$ac_save_CPPFLAGS
15457 if test "x$ac_cv_lib_soname_cups" = "x"; then :
15458 case "x$with_cups" in
15459 x) as_fn_append wine_notices "|libcups ${notice_platform}development files not found, CUPS won't be supported." ;;
15460 xno) ;;
15461 *) as_fn_error $? "libcups ${notice_platform}development files not found, CUPS won't be supported.
15462 This is an error since --with-cups was requested." "$LINENO" 5 ;;
15463 esac
15467 if test "x$with_fontconfig" != "xno"
15468 then
15469 if ${FONTCONFIG_CFLAGS:+false} :; then :
15470 if ${PKG_CONFIG+:} false; then :
15471 FONTCONFIG_CFLAGS=`$PKG_CONFIG --cflags fontconfig 2>/dev/null`
15474 test "$cross_compiling" = yes || FONTCONFIG_CFLAGS=${FONTCONFIG_CFLAGS:-$X_CFLAGS}
15475 if ${FONTCONFIG_LIBS:+false} :; then :
15476 if ${PKG_CONFIG+:} false; then :
15477 FONTCONFIG_LIBS=`$PKG_CONFIG --libs fontconfig 2>/dev/null`
15480 test "$cross_compiling" = yes || FONTCONFIG_LIBS=${FONTCONFIG_LIBS:-$X_LIBS}
15482 $as_echo "$as_me:${as_lineno-$LINENO}: fontconfig cflags: $FONTCONFIG_CFLAGS" >&5
15483 $as_echo "$as_me:${as_lineno-$LINENO}: fontconfig libs: $FONTCONFIG_LIBS" >&5
15484 ac_save_CPPFLAGS=$CPPFLAGS
15485 CPPFLAGS="$CPPFLAGS $FONTCONFIG_CFLAGS"
15486 for ac_header in fontconfig/fontconfig.h
15487 do :
15488 ac_fn_c_check_header_mongrel "$LINENO" "fontconfig/fontconfig.h" "ac_cv_header_fontconfig_fontconfig_h" "$ac_includes_default"
15489 if test "x$ac_cv_header_fontconfig_fontconfig_h" = xyes; then :
15490 cat >>confdefs.h <<_ACEOF
15491 #define HAVE_FONTCONFIG_FONTCONFIG_H 1
15492 _ACEOF
15496 done
15498 if test "$ac_cv_header_fontconfig_fontconfig_h" = "yes"
15499 then
15500 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfontconfig" >&5
15501 $as_echo_n "checking for -lfontconfig... " >&6; }
15502 if ${ac_cv_lib_soname_fontconfig+:} false; then :
15503 $as_echo_n "(cached) " >&6
15504 else
15505 ac_check_soname_save_LIBS=$LIBS
15506 LIBS="-lfontconfig $FONTCONFIG_LIBS $LIBS"
15507 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15508 /* end confdefs.h. */
15510 /* Override any GCC internal prototype to avoid an error.
15511 Use char because int might match the return type of a GCC
15512 builtin and then its argument prototype would still apply. */
15513 #ifdef __cplusplus
15514 extern "C"
15515 #endif
15516 char FcInit ();
15518 main ()
15520 return FcInit ();
15522 return 0;
15524 _ACEOF
15525 if ac_fn_c_try_link "$LINENO"; then :
15526 case "$LIBEXT" in
15527 dll) ac_cv_lib_soname_fontconfig=`$ac_cv_path_LDD conftest.exe | grep "fontconfig" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15528 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'` ;;
15529 *) ac_cv_lib_soname_fontconfig=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfontconfig\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfontconfig\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15530 if ${ac_cv_lib_soname_fontconfig:+false} :; then :
15531 ac_cv_lib_soname_fontconfig=`$LDD conftest$ac_exeext | grep "libfontconfig\\.$LIBEXT" | sed -e "s/^.*\(libfontconfig\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15532 fi ;;
15533 esac
15534 else
15535 ac_cv_lib_soname_fontconfig=
15537 rm -f core conftest.err conftest.$ac_objext \
15538 conftest$ac_exeext conftest.$ac_ext
15539 LIBS=$ac_check_soname_save_LIBS
15541 if ${ac_cv_lib_soname_fontconfig:+false} :; then :
15542 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15543 $as_echo "not found" >&6; }
15544 FONTCONFIG_CFLAGS=""
15545 else
15546 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_fontconfig" >&5
15547 $as_echo "$ac_cv_lib_soname_fontconfig" >&6; }
15549 cat >>confdefs.h <<_ACEOF
15550 #define SONAME_LIBFONTCONFIG "$ac_cv_lib_soname_fontconfig"
15551 _ACEOF
15555 else
15556 FONTCONFIG_CFLAGS=""
15558 CPPFLAGS=$ac_save_CPPFLAGS
15561 if test "x$ac_cv_lib_soname_fontconfig" = "x"; then :
15562 case "x$with_fontconfig" in
15563 x) as_fn_append wine_notices "|fontconfig ${notice_platform}development files not found, fontconfig won't be supported." ;;
15564 xno) ;;
15565 *) as_fn_error $? "fontconfig ${notice_platform}development files not found, fontconfig won't be supported.
15566 This is an error since --with-fontconfig was requested." "$LINENO" 5 ;;
15567 esac
15571 if test "$ac_cv_header_gsm_h" = "yes" -o "$ac_cv_header_gsm_gsm_h" = "yes"
15572 then
15573 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgsm" >&5
15574 $as_echo_n "checking for -lgsm... " >&6; }
15575 if ${ac_cv_lib_soname_gsm+:} false; then :
15576 $as_echo_n "(cached) " >&6
15577 else
15578 ac_check_soname_save_LIBS=$LIBS
15579 LIBS="-lgsm $LIBS"
15580 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15581 /* end confdefs.h. */
15583 /* Override any GCC internal prototype to avoid an error.
15584 Use char because int might match the return type of a GCC
15585 builtin and then its argument prototype would still apply. */
15586 #ifdef __cplusplus
15587 extern "C"
15588 #endif
15589 char gsm_create ();
15591 main ()
15593 return gsm_create ();
15595 return 0;
15597 _ACEOF
15598 if ac_fn_c_try_link "$LINENO"; then :
15599 case "$LIBEXT" in
15600 dll) ac_cv_lib_soname_gsm=`$ac_cv_path_LDD conftest.exe | grep "gsm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15601 dylib) ac_cv_lib_soname_gsm=`$OTOOL -L conftest$ac_exeext | grep "libgsm\\.[0-9A-Za-z.]*dylib" | sed -e "s/^.*\/\(libgsm\.[0-9A-Za-z.]*dylib\).*$/\1/"';2,$d'` ;;
15602 *) ac_cv_lib_soname_gsm=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libgsm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libgsm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15603 if ${ac_cv_lib_soname_gsm:+false} :; then :
15604 ac_cv_lib_soname_gsm=`$LDD conftest$ac_exeext | grep "libgsm\\.$LIBEXT" | sed -e "s/^.*\(libgsm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15605 fi ;;
15606 esac
15607 else
15608 ac_cv_lib_soname_gsm=
15610 rm -f core conftest.err conftest.$ac_objext \
15611 conftest$ac_exeext conftest.$ac_ext
15612 LIBS=$ac_check_soname_save_LIBS
15614 if ${ac_cv_lib_soname_gsm:+false} :; then :
15615 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15616 $as_echo "not found" >&6; }
15618 else
15619 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gsm" >&5
15620 $as_echo "$ac_cv_lib_soname_gsm" >&6; }
15622 cat >>confdefs.h <<_ACEOF
15623 #define SONAME_LIBGSM "$ac_cv_lib_soname_gsm"
15624 _ACEOF
15629 if test "x$ac_cv_lib_soname_gsm" = "x"; then :
15630 case "x$with_gsm" in
15631 x) as_fn_append wine_notices "|libgsm ${notice_platform}development files not found, gsm 06.10 codec won't be supported." ;;
15632 xno) ;;
15633 *) as_fn_error $? "libgsm ${notice_platform}development files not found, gsm 06.10 codec won't be supported.
15634 This is an error since --with-gsm was requested." "$LINENO" 5 ;;
15635 esac
15639 if test "x$with_krb5" != "xno"
15640 then
15641 if ${KRB5_CFLAGS:+false} :; then :
15642 if ${PKG_CONFIG+:} false; then :
15643 KRB5_CFLAGS=`$PKG_CONFIG --cflags krb5 2>/dev/null`
15646 test "$cross_compiling" = yes || KRB5_CFLAGS=${KRB5_CFLAGS:-`${KRB5_CONFIG:-krb5-config} --cflags 2>/dev/null`}
15647 if ${KRB5_LIBS:+false} :; then :
15648 if ${PKG_CONFIG+:} false; then :
15649 KRB5_LIBS=`$PKG_CONFIG --libs krb5 2>/dev/null`
15652 test "$cross_compiling" = yes || KRB5_LIBS=${KRB5_LIBS:-`${KRB5_CONFIG:-krb5-config} --libs 2>/dev/null`}
15654 $as_echo "$as_me:${as_lineno-$LINENO}: krb5 cflags: $KRB5_CFLAGS" >&5
15655 $as_echo "$as_me:${as_lineno-$LINENO}: krb5 libs: $KRB5_LIBS" >&5
15656 ac_save_CPPFLAGS=$CPPFLAGS
15657 CPPFLAGS="$CPPFLAGS $KRB5_CFLAGS"
15658 for ac_header in krb5/krb5.h
15659 do :
15660 ac_fn_c_check_header_mongrel "$LINENO" "krb5/krb5.h" "ac_cv_header_krb5_krb5_h" "$ac_includes_default"
15661 if test "x$ac_cv_header_krb5_krb5_h" = xyes; then :
15662 cat >>confdefs.h <<_ACEOF
15663 #define HAVE_KRB5_KRB5_H 1
15664 _ACEOF
15668 done
15670 if test "$ac_cv_header_krb5_krb5_h" = "yes"
15671 then
15672 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lkrb5" >&5
15673 $as_echo_n "checking for -lkrb5... " >&6; }
15674 if ${ac_cv_lib_soname_krb5+:} false; then :
15675 $as_echo_n "(cached) " >&6
15676 else
15677 ac_check_soname_save_LIBS=$LIBS
15678 LIBS="-lkrb5 $KRB5_LIBS $LIBS"
15679 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15680 /* end confdefs.h. */
15682 /* Override any GCC internal prototype to avoid an error.
15683 Use char because int might match the return type of a GCC
15684 builtin and then its argument prototype would still apply. */
15685 #ifdef __cplusplus
15686 extern "C"
15687 #endif
15688 char krb5_is_config_principal ();
15690 main ()
15692 return krb5_is_config_principal ();
15694 return 0;
15696 _ACEOF
15697 if ac_fn_c_try_link "$LINENO"; then :
15698 case "$LIBEXT" in
15699 dll) ac_cv_lib_soname_krb5=`$ac_cv_path_LDD conftest.exe | grep "krb5" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15700 dylib) ac_cv_lib_soname_krb5=`$OTOOL -L conftest$ac_exeext | grep "libkrb5\\.[0-9A-Za-z.]*dylib" | sed -e "s/^.*\/\(libkrb5\.[0-9A-Za-z.]*dylib\).*$/\1/"';2,$d'` ;;
15701 *) ac_cv_lib_soname_krb5=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libkrb5\\.$LIBEXT" | sed -e "s/^.*\\[\\(libkrb5\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15702 if ${ac_cv_lib_soname_krb5:+false} :; then :
15703 ac_cv_lib_soname_krb5=`$LDD conftest$ac_exeext | grep "libkrb5\\.$LIBEXT" | sed -e "s/^.*\(libkrb5\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15704 fi ;;
15705 esac
15706 else
15707 ac_cv_lib_soname_krb5=
15709 rm -f core conftest.err conftest.$ac_objext \
15710 conftest$ac_exeext conftest.$ac_ext
15711 LIBS=$ac_check_soname_save_LIBS
15713 if ${ac_cv_lib_soname_krb5:+false} :; then :
15714 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15715 $as_echo "not found" >&6; }
15716 KRB5_CFLAGS=""
15717 else
15718 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_krb5" >&5
15719 $as_echo "$ac_cv_lib_soname_krb5" >&6; }
15721 cat >>confdefs.h <<_ACEOF
15722 #define SONAME_LIBKRB5 "$ac_cv_lib_soname_krb5"
15723 _ACEOF
15727 else
15728 KRB5_CFLAGS=""
15730 CPPFLAGS=$ac_save_CPPFLAGS
15733 if test "x$ac_cv_lib_soname_krb5" = "x"; then :
15734 case "x$with_krb5" in
15735 x) as_fn_append wine_notices "|libkrb5 ${notice_platform}development files not found (or too old), Kerberos won't be supported." ;;
15736 xno) ;;
15737 *) as_fn_error $? "libkrb5 ${notice_platform}development files not found (or too old), Kerberos won't be supported.
15738 This is an error since --with-krb5 was requested." "$LINENO" 5 ;;
15739 esac
15742 test "x$ac_cv_lib_soname_krb5" != "x" || with_gssapi=${with_gssapi:-no}
15744 if test "x$with_gssapi" != "xno"
15745 then
15746 if ${GSSAPI_CFLAGS:+false} :; then :
15747 if ${PKG_CONFIG+:} false; then :
15748 GSSAPI_CFLAGS=`$PKG_CONFIG --cflags krb5-gssapi 2>/dev/null`
15751 test "$cross_compiling" = yes || GSSAPI_CFLAGS=${GSSAPI_CFLAGS:-`${KRB5_CONFIG:-krb5-config} --cflags gssapi 2>/dev/null`}
15752 if ${GSSAPI_LIBS:+false} :; then :
15753 if ${PKG_CONFIG+:} false; then :
15754 GSSAPI_LIBS=`$PKG_CONFIG --libs krb5-gssapi 2>/dev/null`
15757 test "$cross_compiling" = yes || GSSAPI_LIBS=${GSSAPI_LIBS:-`${KRB5_CONFIG:-krb5-config} --libs gssapi 2>/dev/null`}
15759 $as_echo "$as_me:${as_lineno-$LINENO}: krb5-gssapi cflags: $GSSAPI_CFLAGS" >&5
15760 $as_echo "$as_me:${as_lineno-$LINENO}: krb5-gssapi libs: $GSSAPI_LIBS" >&5
15761 ac_save_CPPFLAGS=$CPPFLAGS
15762 CPPFLAGS="$CPPFLAGS $GSSAPI_CFLAGS"
15763 for ac_header in gssapi/gssapi.h gssapi/gssapi_ext.h
15764 do :
15765 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
15766 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
15767 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
15768 cat >>confdefs.h <<_ACEOF
15769 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
15770 _ACEOF
15774 done
15776 if test "$ac_cv_header_gssapi_gssapi_h" = "yes" -a "$ac_cv_header_gssapi_gssapi_ext_h" = "yes"
15777 then
15778 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgssapi_krb5" >&5
15779 $as_echo_n "checking for -lgssapi_krb5... " >&6; }
15780 if ${ac_cv_lib_soname_gssapi_krb5+:} false; then :
15781 $as_echo_n "(cached) " >&6
15782 else
15783 ac_check_soname_save_LIBS=$LIBS
15784 LIBS="-lgssapi_krb5 $GSSAPI_LIBS $LIBS"
15785 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15786 /* end confdefs.h. */
15788 /* Override any GCC internal prototype to avoid an error.
15789 Use char because int might match the return type of a GCC
15790 builtin and then its argument prototype would still apply. */
15791 #ifdef __cplusplus
15792 extern "C"
15793 #endif
15794 char gss_init_sec_context ();
15796 main ()
15798 return gss_init_sec_context ();
15800 return 0;
15802 _ACEOF
15803 if ac_fn_c_try_link "$LINENO"; then :
15804 case "$LIBEXT" in
15805 dll) ac_cv_lib_soname_gssapi_krb5=`$ac_cv_path_LDD conftest.exe | grep "gssapi_krb5" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15806 dylib) ac_cv_lib_soname_gssapi_krb5=`$OTOOL -L conftest$ac_exeext | grep "libgssapi_krb5\\.[0-9A-Za-z.]*dylib" | sed -e "s/^.*\/\(libgssapi_krb5\.[0-9A-Za-z.]*dylib\).*$/\1/"';2,$d'` ;;
15807 *) ac_cv_lib_soname_gssapi_krb5=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libgssapi_krb5\\.$LIBEXT" | sed -e "s/^.*\\[\\(libgssapi_krb5\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15808 if ${ac_cv_lib_soname_gssapi_krb5:+false} :; then :
15809 ac_cv_lib_soname_gssapi_krb5=`$LDD conftest$ac_exeext | grep "libgssapi_krb5\\.$LIBEXT" | sed -e "s/^.*\(libgssapi_krb5\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15810 fi ;;
15811 esac
15812 else
15813 ac_cv_lib_soname_gssapi_krb5=
15815 rm -f core conftest.err conftest.$ac_objext \
15816 conftest$ac_exeext conftest.$ac_ext
15817 LIBS=$ac_check_soname_save_LIBS
15819 if ${ac_cv_lib_soname_gssapi_krb5:+false} :; then :
15820 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15821 $as_echo "not found" >&6; }
15822 GSSAPI_CFLAGS=""
15823 else
15824 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gssapi_krb5" >&5
15825 $as_echo "$ac_cv_lib_soname_gssapi_krb5" >&6; }
15827 cat >>confdefs.h <<_ACEOF
15828 #define SONAME_LIBGSSAPI_KRB5 "$ac_cv_lib_soname_gssapi_krb5"
15829 _ACEOF
15833 else
15834 GSSAPI_CFLAGS=""
15836 CPPFLAGS=$ac_save_CPPFLAGS
15839 if test "x$ac_cv_lib_soname_gssapi_krb5" = "x"; then :
15840 case "x$with_gssapi" in
15841 x) as_fn_append wine_notices "|libgssapi_krb5 ${notice_platform}development files not found (or too old), no Kerberos SSP support." ;;
15842 xno) ;;
15843 *) as_fn_error $? "libgssapi_krb5 ${notice_platform}development files not found (or too old), no Kerberos SSP support.
15844 This is an error since --with-gssapi was requested." "$LINENO" 5 ;;
15845 esac
15849 if test "x$with_jpeg" != "xno"
15850 then
15851 if ${JPEG_CFLAGS:+false} :; then :
15852 if ${PKG_CONFIG+:} false; then :
15853 JPEG_CFLAGS=`$PKG_CONFIG --cflags libjpeg 2>/dev/null`
15857 if ${JPEG_LIBS:+false} :; then :
15858 if ${PKG_CONFIG+:} false; then :
15859 JPEG_LIBS=`$PKG_CONFIG --libs libjpeg 2>/dev/null`
15864 $as_echo "$as_me:${as_lineno-$LINENO}: libjpeg cflags: $JPEG_CFLAGS" >&5
15865 $as_echo "$as_me:${as_lineno-$LINENO}: libjpeg libs: $JPEG_LIBS" >&5
15866 ac_save_CPPFLAGS=$CPPFLAGS
15867 CPPFLAGS="$CPPFLAGS $JPEG_CFLAGS"
15868 for ac_header in jpeglib.h
15869 do :
15870 ac_fn_c_check_header_mongrel "$LINENO" "jpeglib.h" "ac_cv_header_jpeglib_h" "$ac_includes_default"
15871 if test "x$ac_cv_header_jpeglib_h" = xyes; then :
15872 cat >>confdefs.h <<_ACEOF
15873 #define HAVE_JPEGLIB_H 1
15874 _ACEOF
15878 done
15880 if test "$ac_cv_header_jpeglib_h" = "yes"
15881 then
15882 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ljpeg" >&5
15883 $as_echo_n "checking for -ljpeg... " >&6; }
15884 if ${ac_cv_lib_soname_jpeg+:} false; then :
15885 $as_echo_n "(cached) " >&6
15886 else
15887 ac_check_soname_save_LIBS=$LIBS
15888 LIBS="-ljpeg $JPEG_LIBS $LIBS"
15889 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15890 /* end confdefs.h. */
15892 /* Override any GCC internal prototype to avoid an error.
15893 Use char because int might match the return type of a GCC
15894 builtin and then its argument prototype would still apply. */
15895 #ifdef __cplusplus
15896 extern "C"
15897 #endif
15898 char jpeg_start_decompress ();
15900 main ()
15902 return jpeg_start_decompress ();
15904 return 0;
15906 _ACEOF
15907 if ac_fn_c_try_link "$LINENO"; then :
15908 case "$LIBEXT" in
15909 dll) ac_cv_lib_soname_jpeg=`$ac_cv_path_LDD conftest.exe | grep "jpeg" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15910 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'` ;;
15911 *) ac_cv_lib_soname_jpeg=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libjpeg\\.$LIBEXT" | sed -e "s/^.*\\[\\(libjpeg\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15912 if ${ac_cv_lib_soname_jpeg:+false} :; then :
15913 ac_cv_lib_soname_jpeg=`$LDD conftest$ac_exeext | grep "libjpeg\\.$LIBEXT" | sed -e "s/^.*\(libjpeg\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15914 fi ;;
15915 esac
15916 else
15917 ac_cv_lib_soname_jpeg=
15919 rm -f core conftest.err conftest.$ac_objext \
15920 conftest$ac_exeext conftest.$ac_ext
15921 LIBS=$ac_check_soname_save_LIBS
15923 if ${ac_cv_lib_soname_jpeg:+false} :; then :
15924 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15925 $as_echo "not found" >&6; }
15926 JPEG_CFLAGS=""
15927 else
15928 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_jpeg" >&5
15929 $as_echo "$ac_cv_lib_soname_jpeg" >&6; }
15931 cat >>confdefs.h <<_ACEOF
15932 #define SONAME_LIBJPEG "$ac_cv_lib_soname_jpeg"
15933 _ACEOF
15937 else
15938 JPEG_CFLAGS=""
15940 CPPFLAGS=$ac_save_CPPFLAGS
15943 if test "x$ac_cv_lib_soname_jpeg" = "x"; then :
15944 case "x$with_jpeg" in
15945 x) as_fn_append wine_warnings "|libjpeg ${notice_platform}development files not found, JPEG won't be supported." ;;
15946 xno) ;;
15947 *) as_fn_error $? "libjpeg ${notice_platform}development files not found, JPEG won't be supported.
15948 This is an error since --with-jpeg was requested." "$LINENO" 5 ;;
15949 esac
15953 if test "x$with_jxrlib" != "xno"
15954 then
15955 if ${JXRLIB_CFLAGS:+false} :; then :
15956 if ${PKG_CONFIG+:} false; then :
15957 JXRLIB_CFLAGS=`$PKG_CONFIG --cflags jxrlib 2>/dev/null`
15960 test "$cross_compiling" = yes || JXRLIB_CFLAGS=${JXRLIB_CFLAGS:-${JXRLIB_CFLAGS:--I/usr/include/jxrlib}}
15961 if ${JXRLIB_LIBS:+false} :; then :
15962 if ${PKG_CONFIG+:} false; then :
15963 JXRLIB_LIBS=`$PKG_CONFIG --libs jxrlib 2>/dev/null`
15968 $as_echo "$as_me:${as_lineno-$LINENO}: jxrlib cflags: $JXRLIB_CFLAGS" >&5
15969 $as_echo "$as_me:${as_lineno-$LINENO}: jxrlib libs: $JXRLIB_LIBS" >&5
15970 ac_save_CPPFLAGS=$CPPFLAGS
15971 CPPFLAGS="$CPPFLAGS $JXRLIB_CFLAGS"
15972 for ac_header in JXRGlue.h
15973 do :
15974 ac_fn_c_check_header_compile "$LINENO" "JXRGlue.h" "ac_cv_header_JXRGlue_h" "#define FAR
15976 if test "x$ac_cv_header_JXRGlue_h" = xyes; then :
15977 cat >>confdefs.h <<_ACEOF
15978 #define HAVE_JXRGLUE_H 1
15979 _ACEOF
15983 done
15985 if test "$ac_cv_header_JXRGlue_h" = "yes"
15986 then
15987 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ljxrglue" >&5
15988 $as_echo_n "checking for -ljxrglue... " >&6; }
15989 if ${ac_cv_lib_soname_jxrglue+:} false; then :
15990 $as_echo_n "(cached) " >&6
15991 else
15992 ac_check_soname_save_LIBS=$LIBS
15993 LIBS="-ljxrglue $JXRLIB_LIBS $LIBS"
15994 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15995 /* end confdefs.h. */
15997 /* Override any GCC internal prototype to avoid an error.
15998 Use char because int might match the return type of a GCC
15999 builtin and then its argument prototype would still apply. */
16000 #ifdef __cplusplus
16001 extern "C"
16002 #endif
16003 char PKImageDecode_Create_WMP ();
16005 main ()
16007 return PKImageDecode_Create_WMP ();
16009 return 0;
16011 _ACEOF
16012 if ac_fn_c_try_link "$LINENO"; then :
16013 case "$LIBEXT" in
16014 dll) ac_cv_lib_soname_jxrglue=`$ac_cv_path_LDD conftest.exe | grep "jxrglue" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16015 dylib) ac_cv_lib_soname_jxrglue=`$OTOOL -L conftest$ac_exeext | grep "libjxrglue\\.[0-9A-Za-z.]*dylib" | sed -e "s/^.*\/\(libjxrglue\.[0-9A-Za-z.]*dylib\).*$/\1/"';2,$d'` ;;
16016 *) ac_cv_lib_soname_jxrglue=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libjxrglue\\.$LIBEXT" | sed -e "s/^.*\\[\\(libjxrglue\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16017 if ${ac_cv_lib_soname_jxrglue:+false} :; then :
16018 ac_cv_lib_soname_jxrglue=`$LDD conftest$ac_exeext | grep "libjxrglue\\.$LIBEXT" | sed -e "s/^.*\(libjxrglue\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16019 fi ;;
16020 esac
16021 else
16022 ac_cv_lib_soname_jxrglue=
16024 rm -f core conftest.err conftest.$ac_objext \
16025 conftest$ac_exeext conftest.$ac_ext
16026 LIBS=$ac_check_soname_save_LIBS
16028 if ${ac_cv_lib_soname_jxrglue:+false} :; then :
16029 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16030 $as_echo "not found" >&6; }
16031 JXRLIB_CFLAGS=""
16032 else
16033 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_jxrglue" >&5
16034 $as_echo "$ac_cv_lib_soname_jxrglue" >&6; }
16036 cat >>confdefs.h <<_ACEOF
16037 #define SONAME_LIBJXRGLUE "$ac_cv_lib_soname_jxrglue"
16038 _ACEOF
16042 else
16043 JXRLIB_CFLAGS=""
16045 CPPFLAGS=$ac_save_CPPFLAGS
16048 if test "x$ac_cv_lib_soname_jxrglue" = "x"; then :
16049 case "x$with_jxrlib" in
16050 x) as_fn_append wine_notices "|jxrlib ${notice_platform}development files not found, JPEG-XR won't be supported." ;;
16051 xno) ;;
16052 *) as_fn_error $? "jxrlib ${notice_platform}development files not found, JPEG-XR won't be supported.
16053 This is an error since --with-jxrlib was requested." "$LINENO" 5 ;;
16054 esac
16058 if test "x$with_png" != "xno"
16059 then
16060 if ${PNG_CFLAGS:+false} :; then :
16061 if ${PKG_CONFIG+:} false; then :
16062 PNG_CFLAGS=`$PKG_CONFIG --cflags libpng 2>/dev/null`
16065 test "$cross_compiling" = yes || PNG_CFLAGS=${PNG_CFLAGS:-$X_CFLAGS}
16066 if ${PNG_LIBS:+false} :; then :
16067 if ${PKG_CONFIG+:} false; then :
16068 PNG_LIBS=`$PKG_CONFIG --libs libpng 2>/dev/null`
16071 test "$cross_compiling" = yes || PNG_LIBS=${PNG_LIBS:-$X_LIBS}
16073 $as_echo "$as_me:${as_lineno-$LINENO}: libpng cflags: $PNG_CFLAGS" >&5
16074 $as_echo "$as_me:${as_lineno-$LINENO}: libpng libs: $PNG_LIBS" >&5
16075 ac_save_CPPFLAGS=$CPPFLAGS
16076 CPPFLAGS="$CPPFLAGS $PNG_CFLAGS"
16077 for ac_header in png.h
16078 do :
16079 ac_fn_c_check_header_mongrel "$LINENO" "png.h" "ac_cv_header_png_h" "$ac_includes_default"
16080 if test "x$ac_cv_header_png_h" = xyes; then :
16081 cat >>confdefs.h <<_ACEOF
16082 #define HAVE_PNG_H 1
16083 _ACEOF
16087 done
16089 if test "$ac_cv_header_png_h" = "yes"
16090 then
16091 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lpng" >&5
16092 $as_echo_n "checking for -lpng... " >&6; }
16093 if ${ac_cv_lib_soname_png+:} false; then :
16094 $as_echo_n "(cached) " >&6
16095 else
16096 ac_check_soname_save_LIBS=$LIBS
16097 LIBS="-lpng $PNG_LIBS -lm -lz $LIBS"
16098 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16099 /* end confdefs.h. */
16101 /* Override any GCC internal prototype to avoid an error.
16102 Use char because int might match the return type of a GCC
16103 builtin and then its argument prototype would still apply. */
16104 #ifdef __cplusplus
16105 extern "C"
16106 #endif
16107 char png_create_read_struct ();
16109 main ()
16111 return png_create_read_struct ();
16113 return 0;
16115 _ACEOF
16116 if ac_fn_c_try_link "$LINENO"; then :
16117 case "$LIBEXT" in
16118 dll) ac_cv_lib_soname_png=`$ac_cv_path_LDD conftest.exe | grep "png" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16119 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'` ;;
16120 *) ac_cv_lib_soname_png=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libpng[0-9]*\\.$LIBEXT" | sed -e "s/^.*\\[\\(libpng[0-9]*\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16121 if ${ac_cv_lib_soname_png:+false} :; then :
16122 ac_cv_lib_soname_png=`$LDD conftest$ac_exeext | grep "libpng[0-9]*\\.$LIBEXT" | sed -e "s/^.*\(libpng[0-9]*\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16123 fi ;;
16124 esac
16125 else
16126 ac_cv_lib_soname_png=
16128 rm -f core conftest.err conftest.$ac_objext \
16129 conftest$ac_exeext conftest.$ac_ext
16130 LIBS=$ac_check_soname_save_LIBS
16132 if ${ac_cv_lib_soname_png:+false} :; then :
16133 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16134 $as_echo "not found" >&6; }
16135 PNG_CFLAGS=""
16136 else
16137 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_png" >&5
16138 $as_echo "$ac_cv_lib_soname_png" >&6; }
16140 cat >>confdefs.h <<_ACEOF
16141 #define SONAME_LIBPNG "$ac_cv_lib_soname_png"
16142 _ACEOF
16146 else
16147 PNG_CFLAGS=""
16149 CPPFLAGS=$ac_save_CPPFLAGS
16152 if test "x$ac_cv_lib_soname_png" = "x"; then :
16153 case "x$with_png" in
16154 x) as_fn_append wine_warnings "|libpng ${notice_platform}development files not found, PNG won't be supported." ;;
16155 xno) ;;
16156 *) as_fn_error $? "libpng ${notice_platform}development files not found, PNG won't be supported.
16157 This is an error since --with-png was requested." "$LINENO" 5 ;;
16158 esac
16162 if test "x$with_tiff" != "xno"
16163 then
16164 if ${TIFF_CFLAGS:+false} :; then :
16165 if ${PKG_CONFIG+:} false; then :
16166 TIFF_CFLAGS=`$PKG_CONFIG --cflags libtiff-4 2>/dev/null`
16170 if ${TIFF_LIBS:+false} :; then :
16171 if ${PKG_CONFIG+:} false; then :
16172 TIFF_LIBS=`$PKG_CONFIG --libs libtiff-4 2>/dev/null`
16177 $as_echo "$as_me:${as_lineno-$LINENO}: libtiff-4 cflags: $TIFF_CFLAGS" >&5
16178 $as_echo "$as_me:${as_lineno-$LINENO}: libtiff-4 libs: $TIFF_LIBS" >&5
16179 ac_save_CPPFLAGS=$CPPFLAGS
16180 CPPFLAGS="$CPPFLAGS $TIFF_CFLAGS"
16181 for ac_header in tiffio.h
16182 do :
16183 ac_fn_c_check_header_mongrel "$LINENO" "tiffio.h" "ac_cv_header_tiffio_h" "$ac_includes_default"
16184 if test "x$ac_cv_header_tiffio_h" = xyes; then :
16185 cat >>confdefs.h <<_ACEOF
16186 #define HAVE_TIFFIO_H 1
16187 _ACEOF
16191 done
16193 if test "$ac_cv_header_tiffio_h" = "yes"
16194 then
16195 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ltiff" >&5
16196 $as_echo_n "checking for -ltiff... " >&6; }
16197 if ${ac_cv_lib_soname_tiff+:} false; then :
16198 $as_echo_n "(cached) " >&6
16199 else
16200 ac_check_soname_save_LIBS=$LIBS
16201 LIBS="-ltiff $TIFF_LIBS $LIBS"
16202 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16203 /* end confdefs.h. */
16205 /* Override any GCC internal prototype to avoid an error.
16206 Use char because int might match the return type of a GCC
16207 builtin and then its argument prototype would still apply. */
16208 #ifdef __cplusplus
16209 extern "C"
16210 #endif
16211 char TIFFClientOpen ();
16213 main ()
16215 return TIFFClientOpen ();
16217 return 0;
16219 _ACEOF
16220 if ac_fn_c_try_link "$LINENO"; then :
16221 case "$LIBEXT" in
16222 dll) ac_cv_lib_soname_tiff=`$ac_cv_path_LDD conftest.exe | grep "tiff" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16223 dylib) ac_cv_lib_soname_tiff=`$OTOOL -L conftest$ac_exeext | grep "libtiff\\.[0-9A-Za-z.]*dylib" | sed -e "s/^.*\/\(libtiff\.[0-9A-Za-z.]*dylib\).*$/\1/"';2,$d'` ;;
16224 *) ac_cv_lib_soname_tiff=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libtiff\\.$LIBEXT" | sed -e "s/^.*\\[\\(libtiff\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16225 if ${ac_cv_lib_soname_tiff:+false} :; then :
16226 ac_cv_lib_soname_tiff=`$LDD conftest$ac_exeext | grep "libtiff\\.$LIBEXT" | sed -e "s/^.*\(libtiff\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16227 fi ;;
16228 esac
16229 else
16230 ac_cv_lib_soname_tiff=
16232 rm -f core conftest.err conftest.$ac_objext \
16233 conftest$ac_exeext conftest.$ac_ext
16234 LIBS=$ac_check_soname_save_LIBS
16236 if ${ac_cv_lib_soname_tiff:+false} :; then :
16237 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16238 $as_echo "not found" >&6; }
16240 else
16241 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_tiff" >&5
16242 $as_echo "$ac_cv_lib_soname_tiff" >&6; }
16244 cat >>confdefs.h <<_ACEOF
16245 #define SONAME_LIBTIFF "$ac_cv_lib_soname_tiff"
16246 _ACEOF
16251 CPPFLAGS=$ac_save_CPPFLAGS
16254 if test "x$ac_cv_lib_soname_tiff" = "x"; then :
16255 case "x$with_tiff" in
16256 x) as_fn_append wine_notices "|libtiff ${notice_platform}development files not found, TIFF won't be supported." ;;
16257 xno) ;;
16258 *) as_fn_error $? "libtiff ${notice_platform}development files not found, TIFF won't be supported.
16259 This is an error since --with-tiff was requested." "$LINENO" 5 ;;
16260 esac
16264 if test "x$with_mpg123" != "xno"
16265 then
16266 if ${MPG123_CFLAGS:+false} :; then :
16267 if ${PKG_CONFIG+:} false; then :
16268 MPG123_CFLAGS=`$PKG_CONFIG --cflags libmpg123 2>/dev/null`
16272 if ${MPG123_LIBS:+false} :; then :
16273 if ${PKG_CONFIG+:} false; then :
16274 MPG123_LIBS=`$PKG_CONFIG --libs libmpg123 2>/dev/null`
16278 MPG123_LIBS=${MPG123_LIBS:-"-lmpg123"}
16279 $as_echo "$as_me:${as_lineno-$LINENO}: libmpg123 cflags: $MPG123_CFLAGS" >&5
16280 $as_echo "$as_me:${as_lineno-$LINENO}: libmpg123 libs: $MPG123_LIBS" >&5
16281 ac_save_CPPFLAGS=$CPPFLAGS
16282 CPPFLAGS="$CPPFLAGS $MPG123_CFLAGS"
16283 for ac_header in mpg123.h
16284 do :
16285 ac_fn_c_check_header_mongrel "$LINENO" "mpg123.h" "ac_cv_header_mpg123_h" "$ac_includes_default"
16286 if test "x$ac_cv_header_mpg123_h" = xyes; then :
16287 cat >>confdefs.h <<_ACEOF
16288 #define HAVE_MPG123_H 1
16289 _ACEOF
16293 done
16295 if test "$ac_cv_header_mpg123_h" = "yes"
16296 then
16297 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mpg123_feed in -lmpg123" >&5
16298 $as_echo_n "checking for mpg123_feed in -lmpg123... " >&6; }
16299 if ${ac_cv_lib_mpg123_mpg123_feed+:} false; then :
16300 $as_echo_n "(cached) " >&6
16301 else
16302 ac_check_lib_save_LIBS=$LIBS
16303 LIBS="-lmpg123 $MPG123_LIBS $LIBS"
16304 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16305 /* end confdefs.h. */
16307 /* Override any GCC internal prototype to avoid an error.
16308 Use char because int might match the return type of a GCC
16309 builtin and then its argument prototype would still apply. */
16310 #ifdef __cplusplus
16311 extern "C"
16312 #endif
16313 char mpg123_feed ();
16315 main ()
16317 return mpg123_feed ();
16319 return 0;
16321 _ACEOF
16322 if ac_fn_c_try_link "$LINENO"; then :
16323 ac_cv_lib_mpg123_mpg123_feed=yes
16324 else
16325 ac_cv_lib_mpg123_mpg123_feed=no
16327 rm -f core conftest.err conftest.$ac_objext \
16328 conftest$ac_exeext conftest.$ac_ext
16329 LIBS=$ac_check_lib_save_LIBS
16331 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_mpg123_mpg123_feed" >&5
16332 $as_echo "$ac_cv_lib_mpg123_mpg123_feed" >&6; }
16333 if test "x$ac_cv_lib_mpg123_mpg123_feed" = xyes; then :
16335 else
16336 MPG123_LIBS=""
16339 else
16340 MPG123_CFLAGS=""
16341 MPG123_LIBS=""
16343 CPPFLAGS=$ac_save_CPPFLAGS
16346 if test "x$ac_cv_lib_mpg123_mpg123_feed" != xyes -a x"$ac_cv_header_CoreAudio_CoreAudio_h" != xyes; then :
16347 case "x$with_mpg123" in
16348 x) as_fn_append wine_notices "|libmpg123 ${notice_platform}development files not found (or too old), mp3 codec won't be supported." ;;
16349 xno) ;;
16350 *) as_fn_error $? "libmpg123 ${notice_platform}development files not found (or too old), mp3 codec won't be supported.
16351 This is an error since --with-mpg123 was requested." "$LINENO" 5 ;;
16352 esac
16353 enable_l3codeca_acm=${enable_l3codeca_acm:-no}
16355 test "x$ac_cv_lib_mpg123_mpg123_feed" = xyes || enable_mp3dmod=${enable_mp3dmod:-no}
16357 if test "$ac_cv_header_AL_al_h" = "yes"
16358 then
16359 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lopenal" >&5
16360 $as_echo_n "checking for -lopenal... " >&6; }
16361 if ${ac_cv_lib_soname_openal+:} false; then :
16362 $as_echo_n "(cached) " >&6
16363 else
16364 ac_check_soname_save_LIBS=$LIBS
16365 LIBS="-lopenal $LIBS"
16366 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16367 /* end confdefs.h. */
16369 /* Override any GCC internal prototype to avoid an error.
16370 Use char because int might match the return type of a GCC
16371 builtin and then its argument prototype would still apply. */
16372 #ifdef __cplusplus
16373 extern "C"
16374 #endif
16375 char alGetSource3i ();
16377 main ()
16379 return alGetSource3i ();
16381 return 0;
16383 _ACEOF
16384 if ac_fn_c_try_link "$LINENO"; then :
16385 case "$LIBEXT" in
16386 dll) ac_cv_lib_soname_openal=`$ac_cv_path_LDD conftest.exe | grep "openal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16387 dylib) ac_cv_lib_soname_openal=`$OTOOL -L conftest$ac_exeext | grep "libopenal\\.[0-9A-Za-z.]*dylib" | sed -e "s/^.*\/\(libopenal\.[0-9A-Za-z.]*dylib\).*$/\1/"';2,$d'` ;;
16388 *) ac_cv_lib_soname_openal=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libopenal\\.$LIBEXT" | sed -e "s/^.*\\[\\(libopenal\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16389 if ${ac_cv_lib_soname_openal:+false} :; then :
16390 ac_cv_lib_soname_openal=`$LDD conftest$ac_exeext | grep "libopenal\\.$LIBEXT" | sed -e "s/^.*\(libopenal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16391 fi ;;
16392 esac
16393 else
16394 ac_cv_lib_soname_openal=
16396 rm -f core conftest.err conftest.$ac_objext \
16397 conftest$ac_exeext conftest.$ac_ext
16398 LIBS=$ac_check_soname_save_LIBS
16400 if ${ac_cv_lib_soname_openal:+false} :; then :
16401 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16402 $as_echo "not found" >&6; }
16404 else
16405 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_openal" >&5
16406 $as_echo "$ac_cv_lib_soname_openal" >&6; }
16408 cat >>confdefs.h <<_ACEOF
16409 #define SONAME_LIBOPENAL "$ac_cv_lib_soname_openal"
16410 _ACEOF
16412 OPENAL_LIBS="-lopenal"
16414 ac_cv_lib_openal=yes
16416 cat >>confdefs.h <<_ACEOF
16417 #define HAVE_OPENAL 1
16418 _ACEOF
16422 if test "x$ac_cv_lib_openal" != xyes; then :
16423 case "x$with_openal" in
16424 x) as_fn_append wine_notices "|libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported." ;;
16425 xno) ;;
16426 *) as_fn_error $? "libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported.
16427 This is an error since --with-openal was requested." "$LINENO" 5 ;;
16428 esac
16429 enable_openal32=${enable_openal32:-no}
16432 if test "x$ac_cv_lib_soname_FAudio" = "x"
16433 then
16434 enable_x3daudio1_0=${enable_x3daudio1_0:-no}
16435 enable_x3daudio1_1=${enable_x3daudio1_1:-no}
16436 enable_x3daudio1_2=${enable_x3daudio1_2:-no}
16437 enable_x3daudio1_3=${enable_x3daudio1_3:-no}
16438 enable_x3daudio1_4=${enable_x3daudio1_4:-no}
16439 enable_x3daudio1_5=${enable_x3daudio1_5:-no}
16440 enable_x3daudio1_6=${enable_x3daudio1_6:-no}
16441 enable_x3daudio1_7=${enable_x3daudio1_7:-no}
16442 enable_xactengine2_0=${enable_xactengine2_0:-no}
16443 enable_xactengine2_4=${enable_xactengine2_4:-no}
16444 enable_xactengine2_7=${enable_xactengine2_7:-no}
16445 enable_xactengine2_9=${enable_xactengine2_9:-no}
16446 enable_xactengine3_0=${enable_xactengine3_0:-no}
16447 enable_xactengine3_1=${enable_xactengine3_1:-no}
16448 enable_xactengine3_2=${enable_xactengine3_2:-no}
16449 enable_xactengine3_3=${enable_xactengine3_3:-no}
16450 enable_xactengine3_4=${enable_xactengine3_4:-no}
16451 enable_xactengine3_5=${enable_xactengine3_5:-no}
16452 enable_xactengine3_6=${enable_xactengine3_6:-no}
16453 enable_xactengine3_7=${enable_xactengine3_7:-no}
16454 enable_xapofx1_1=${enable_xapofx1_1:-no}
16455 enable_xapofx1_2=${enable_xapofx1_2:-no}
16456 enable_xapofx1_3=${enable_xapofx1_3:-no}
16457 enable_xapofx1_4=${enable_xapofx1_4:-no}
16458 enable_xapofx1_5=${enable_xapofx1_5:-no}
16459 enable_xaudio2_0=${enable_xaudio2_0:-no}
16460 enable_xaudio2_1=${enable_xaudio2_1:-no}
16461 enable_xaudio2_2=${enable_xaudio2_2:-no}
16462 enable_xaudio2_3=${enable_xaudio2_3:-no}
16463 enable_xaudio2_4=${enable_xaudio2_4:-no}
16464 enable_xaudio2_5=${enable_xaudio2_5:-no}
16465 enable_xaudio2_6=${enable_xaudio2_6:-no}
16466 enable_xaudio2_7=${enable_xaudio2_7:-no}
16467 enable_xaudio2_8=${enable_xaudio2_8:-no}
16468 enable_xaudio2_9=${enable_xaudio2_9:-no}
16471 if test "$ac_cv_header_kstat_h" = "yes"
16472 then
16473 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for kstat_open in -lkstat" >&5
16474 $as_echo_n "checking for kstat_open in -lkstat... " >&6; }
16475 if ${ac_cv_lib_kstat_kstat_open+:} false; then :
16476 $as_echo_n "(cached) " >&6
16477 else
16478 ac_check_lib_save_LIBS=$LIBS
16479 LIBS="-lkstat $LIBS"
16480 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16481 /* end confdefs.h. */
16483 /* Override any GCC internal prototype to avoid an error.
16484 Use char because int might match the return type of a GCC
16485 builtin and then its argument prototype would still apply. */
16486 #ifdef __cplusplus
16487 extern "C"
16488 #endif
16489 char kstat_open ();
16491 main ()
16493 return kstat_open ();
16495 return 0;
16497 _ACEOF
16498 if ac_fn_c_try_link "$LINENO"; then :
16499 ac_cv_lib_kstat_kstat_open=yes
16500 else
16501 ac_cv_lib_kstat_kstat_open=no
16503 rm -f core conftest.err conftest.$ac_objext \
16504 conftest$ac_exeext conftest.$ac_ext
16505 LIBS=$ac_check_lib_save_LIBS
16507 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_kstat_kstat_open" >&5
16508 $as_echo "$ac_cv_lib_kstat_kstat_open" >&6; }
16509 if test "x$ac_cv_lib_kstat_kstat_open" = xyes; then :
16511 $as_echo "#define HAVE_LIBKSTAT 1" >>confdefs.h
16513 KSTAT_LIBS="-lkstat"
16519 if test "$ac_cv_header_libprocstat_h" = "yes"
16520 then
16521 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for procstat_open_sysctl in -lprocstat" >&5
16522 $as_echo_n "checking for procstat_open_sysctl in -lprocstat... " >&6; }
16523 if ${ac_cv_lib_procstat_procstat_open_sysctl+:} false; then :
16524 $as_echo_n "(cached) " >&6
16525 else
16526 ac_check_lib_save_LIBS=$LIBS
16527 LIBS="-lprocstat $LIBS"
16528 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16529 /* end confdefs.h. */
16531 /* Override any GCC internal prototype to avoid an error.
16532 Use char because int might match the return type of a GCC
16533 builtin and then its argument prototype would still apply. */
16534 #ifdef __cplusplus
16535 extern "C"
16536 #endif
16537 char procstat_open_sysctl ();
16539 main ()
16541 return procstat_open_sysctl ();
16543 return 0;
16545 _ACEOF
16546 if ac_fn_c_try_link "$LINENO"; then :
16547 ac_cv_lib_procstat_procstat_open_sysctl=yes
16548 else
16549 ac_cv_lib_procstat_procstat_open_sysctl=no
16551 rm -f core conftest.err conftest.$ac_objext \
16552 conftest$ac_exeext conftest.$ac_ext
16553 LIBS=$ac_check_lib_save_LIBS
16555 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_procstat_procstat_open_sysctl" >&5
16556 $as_echo "$ac_cv_lib_procstat_procstat_open_sysctl" >&6; }
16557 if test "x$ac_cv_lib_procstat_procstat_open_sysctl" = xyes; then :
16559 $as_echo "#define HAVE_LIBPROCSTAT 1" >>confdefs.h
16561 PROCSTAT_LIBS="-lprocstat"
16567 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lodbc" >&5
16568 $as_echo_n "checking for -lodbc... " >&6; }
16569 if ${ac_cv_lib_soname_odbc+:} false; then :
16570 $as_echo_n "(cached) " >&6
16571 else
16572 ac_check_soname_save_LIBS=$LIBS
16573 LIBS="-lodbc $LIBS"
16574 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16575 /* end confdefs.h. */
16577 /* Override any GCC internal prototype to avoid an error.
16578 Use char because int might match the return type of a GCC
16579 builtin and then its argument prototype would still apply. */
16580 #ifdef __cplusplus
16581 extern "C"
16582 #endif
16583 char SQLConnect ();
16585 main ()
16587 return SQLConnect ();
16589 return 0;
16591 _ACEOF
16592 if ac_fn_c_try_link "$LINENO"; then :
16593 case "$LIBEXT" in
16594 dll) ac_cv_lib_soname_odbc=`$ac_cv_path_LDD conftest.exe | grep "odbc" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16595 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'` ;;
16596 *) ac_cv_lib_soname_odbc=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libodbc\\.$LIBEXT" | sed -e "s/^.*\\[\\(libodbc\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16597 if ${ac_cv_lib_soname_odbc:+false} :; then :
16598 ac_cv_lib_soname_odbc=`$LDD conftest$ac_exeext | grep "libodbc\\.$LIBEXT" | sed -e "s/^.*\(libodbc\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16599 fi ;;
16600 esac
16601 else
16602 ac_cv_lib_soname_odbc=
16604 rm -f core conftest.err conftest.$ac_objext \
16605 conftest$ac_exeext conftest.$ac_ext
16606 LIBS=$ac_check_soname_save_LIBS
16608 if ${ac_cv_lib_soname_odbc:+false} :; then :
16609 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16610 $as_echo "not found" >&6; }
16611 cat >>confdefs.h <<_ACEOF
16612 #define SONAME_LIBODBC "libodbc.$LIBEXT"
16613 _ACEOF
16615 else
16616 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_odbc" >&5
16617 $as_echo "$ac_cv_lib_soname_odbc" >&6; }
16619 cat >>confdefs.h <<_ACEOF
16620 #define SONAME_LIBODBC "$ac_cv_lib_soname_odbc"
16621 _ACEOF
16626 if test "x$with_netapi" != "xno"
16627 then
16628 if ${NETAPI_CFLAGS:+false} :; then :
16629 if ${PKG_CONFIG+:} false; then :
16630 NETAPI_CFLAGS=`$PKG_CONFIG --cflags netapi 2>/dev/null`
16634 if ${NETAPI_LIBS:+false} :; then :
16635 if ${PKG_CONFIG+:} false; then :
16636 NETAPI_LIBS=`$PKG_CONFIG --libs netapi 2>/dev/null`
16641 $as_echo "$as_me:${as_lineno-$LINENO}: netapi cflags: $NETAPI_CFLAGS" >&5
16642 $as_echo "$as_me:${as_lineno-$LINENO}: netapi libs: $NETAPI_LIBS" >&5
16643 ac_save_CPPFLAGS=$CPPFLAGS
16644 CPPFLAGS="$CPPFLAGS $NETAPI_CFLAGS"
16645 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lnetapi" >&5
16646 $as_echo_n "checking for -lnetapi... " >&6; }
16647 if ${ac_cv_lib_soname_netapi+:} false; then :
16648 $as_echo_n "(cached) " >&6
16649 else
16650 ac_check_soname_save_LIBS=$LIBS
16651 LIBS="-lnetapi $NETAPI_LIBS $LIBS"
16652 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16653 /* end confdefs.h. */
16655 /* Override any GCC internal prototype to avoid an error.
16656 Use char because int might match the return type of a GCC
16657 builtin and then its argument prototype would still apply. */
16658 #ifdef __cplusplus
16659 extern "C"
16660 #endif
16661 char libnetapi_init ();
16663 main ()
16665 return libnetapi_init ();
16667 return 0;
16669 _ACEOF
16670 if ac_fn_c_try_link "$LINENO"; then :
16671 case "$LIBEXT" in
16672 dll) ac_cv_lib_soname_netapi=`$ac_cv_path_LDD conftest.exe | grep "netapi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16673 dylib) ac_cv_lib_soname_netapi=`$OTOOL -L conftest$ac_exeext | grep "libnetapi\\.[0-9A-Za-z.]*dylib" | sed -e "s/^.*\/\(libnetapi\.[0-9A-Za-z.]*dylib\).*$/\1/"';2,$d'` ;;
16674 *) ac_cv_lib_soname_netapi=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libnetapi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libnetapi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16675 if ${ac_cv_lib_soname_netapi:+false} :; then :
16676 ac_cv_lib_soname_netapi=`$LDD conftest$ac_exeext | grep "libnetapi\\.$LIBEXT" | sed -e "s/^.*\(libnetapi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16677 fi ;;
16678 esac
16679 else
16680 ac_cv_lib_soname_netapi=
16682 rm -f core conftest.err conftest.$ac_objext \
16683 conftest$ac_exeext conftest.$ac_ext
16684 LIBS=$ac_check_soname_save_LIBS
16686 if ${ac_cv_lib_soname_netapi:+false} :; then :
16687 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16688 $as_echo "not found" >&6; }
16689 cat >>confdefs.h <<_ACEOF
16690 #define SONAME_LIBNETAPI "libnetapi.$LIBEXT"
16691 _ACEOF
16693 else
16694 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_netapi" >&5
16695 $as_echo "$ac_cv_lib_soname_netapi" >&6; }
16697 cat >>confdefs.h <<_ACEOF
16698 #define SONAME_LIBNETAPI "$ac_cv_lib_soname_netapi"
16699 _ACEOF
16703 CPPFLAGS=$ac_save_CPPFLAGS
16707 if test "x$enable_winealsa_drv$enable_winecoreaudio_drv$enable_winepulse_drv$enable_wineoss_drv$enable_wineandroid_drv" = xnonononono -a \
16708 "x$with_alsa$with_coreaudio$with_oss$with_pulse" != xnononono
16709 then
16710 as_fn_append wine_warnings "|No sound system was found. Windows applications will be silent."
16713 if test "x$with_vulkan" != "xno"
16714 then
16715 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lvulkan" >&5
16716 $as_echo_n "checking for -lvulkan... " >&6; }
16717 if ${ac_cv_lib_soname_vulkan+:} false; then :
16718 $as_echo_n "(cached) " >&6
16719 else
16720 ac_check_soname_save_LIBS=$LIBS
16721 LIBS="-lvulkan $LIBS"
16722 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16723 /* end confdefs.h. */
16725 /* Override any GCC internal prototype to avoid an error.
16726 Use char because int might match the return type of a GCC
16727 builtin and then its argument prototype would still apply. */
16728 #ifdef __cplusplus
16729 extern "C"
16730 #endif
16731 char vkGetInstanceProcAddr ();
16733 main ()
16735 return vkGetInstanceProcAddr ();
16737 return 0;
16739 _ACEOF
16740 if ac_fn_c_try_link "$LINENO"; then :
16741 case "$LIBEXT" in
16742 dll) ac_cv_lib_soname_vulkan=`$ac_cv_path_LDD conftest.exe | grep "vulkan" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16743 dylib) ac_cv_lib_soname_vulkan=`$OTOOL -L conftest$ac_exeext | grep "libvulkan\\.[0-9A-Za-z.]*dylib" | sed -e "s/^.*\/\(libvulkan\.[0-9A-Za-z.]*dylib\).*$/\1/"';2,$d'` ;;
16744 *) ac_cv_lib_soname_vulkan=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libvulkan\\.$LIBEXT" | sed -e "s/^.*\\[\\(libvulkan\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16745 if ${ac_cv_lib_soname_vulkan:+false} :; then :
16746 ac_cv_lib_soname_vulkan=`$LDD conftest$ac_exeext | grep "libvulkan\\.$LIBEXT" | sed -e "s/^.*\(libvulkan\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16747 fi ;;
16748 esac
16749 else
16750 ac_cv_lib_soname_vulkan=
16752 rm -f core conftest.err conftest.$ac_objext \
16753 conftest$ac_exeext conftest.$ac_ext
16754 LIBS=$ac_check_soname_save_LIBS
16756 if ${ac_cv_lib_soname_vulkan:+false} :; then :
16757 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16758 $as_echo "not found" >&6; }
16760 else
16761 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_vulkan" >&5
16762 $as_echo "$ac_cv_lib_soname_vulkan" >&6; }
16764 cat >>confdefs.h <<_ACEOF
16765 #define SONAME_LIBVULKAN "$ac_cv_lib_soname_vulkan"
16766 _ACEOF
16770 if test "x$ac_cv_lib_soname_vulkan" = "x"
16771 then
16772 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lMoltenVK" >&5
16773 $as_echo_n "checking for -lMoltenVK... " >&6; }
16774 if ${ac_cv_lib_soname_MoltenVK+:} false; then :
16775 $as_echo_n "(cached) " >&6
16776 else
16777 ac_check_soname_save_LIBS=$LIBS
16778 LIBS="-lMoltenVK $LIBS"
16779 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16780 /* end confdefs.h. */
16782 /* Override any GCC internal prototype to avoid an error.
16783 Use char because int might match the return type of a GCC
16784 builtin and then its argument prototype would still apply. */
16785 #ifdef __cplusplus
16786 extern "C"
16787 #endif
16788 char vkGetInstanceProcAddr ();
16790 main ()
16792 return vkGetInstanceProcAddr ();
16794 return 0;
16796 _ACEOF
16797 if ac_fn_c_try_link "$LINENO"; then :
16798 case "$LIBEXT" in
16799 dll) ac_cv_lib_soname_MoltenVK=`$ac_cv_path_LDD conftest.exe | grep "MoltenVK" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16800 dylib) ac_cv_lib_soname_MoltenVK=`$OTOOL -L conftest$ac_exeext | grep "libMoltenVK\\.[0-9A-Za-z.]*dylib" | sed -e "s/^.*\/\(libMoltenVK\.[0-9A-Za-z.]*dylib\).*$/\1/"';2,$d'` ;;
16801 *) ac_cv_lib_soname_MoltenVK=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libMoltenVK\\.$LIBEXT" | sed -e "s/^.*\\[\\(libMoltenVK\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16802 if ${ac_cv_lib_soname_MoltenVK:+false} :; then :
16803 ac_cv_lib_soname_MoltenVK=`$LDD conftest$ac_exeext | grep "libMoltenVK\\.$LIBEXT" | sed -e "s/^.*\(libMoltenVK\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16804 fi ;;
16805 esac
16806 else
16807 ac_cv_lib_soname_MoltenVK=
16809 rm -f core conftest.err conftest.$ac_objext \
16810 conftest$ac_exeext conftest.$ac_ext
16811 LIBS=$ac_check_soname_save_LIBS
16813 if ${ac_cv_lib_soname_MoltenVK:+false} :; then :
16814 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16815 $as_echo "not found" >&6; }
16817 else
16818 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_MoltenVK" >&5
16819 $as_echo "$ac_cv_lib_soname_MoltenVK" >&6; }
16821 cat >>confdefs.h <<_ACEOF
16822 #define SONAME_LIBMOLTENVK "$ac_cv_lib_soname_MoltenVK"
16823 _ACEOF
16829 if test "x$ac_cv_lib_soname_vulkan" = "x" -a "x$ac_cv_lib_soname_MoltenVK" = "x"; then :
16830 case "x$with_vulkan" in
16831 x) as_fn_append wine_notices "|libvulkan and libMoltenVK ${notice_platform}development files not found, Vulkan won't be supported." ;;
16832 xno) ;;
16833 *) as_fn_error $? "libvulkan and libMoltenVK ${notice_platform}development files not found, Vulkan won't be supported.
16834 This is an error since --with-vulkan was requested." "$LINENO" 5 ;;
16835 esac
16839 if test "x$with_vkd3d" != "xno"
16840 then
16841 if ${VKD3D_CFLAGS:+false} :; then :
16842 if ${PKG_CONFIG+:} false; then :
16843 VKD3D_CFLAGS=`$PKG_CONFIG --cflags libvkd3d 2>/dev/null`
16847 if ${VKD3D_LIBS:+false} :; then :
16848 if ${PKG_CONFIG+:} false; then :
16849 VKD3D_LIBS=`$PKG_CONFIG --libs libvkd3d 2>/dev/null`
16854 $as_echo "$as_me:${as_lineno-$LINENO}: libvkd3d cflags: $VKD3D_CFLAGS" >&5
16855 $as_echo "$as_me:${as_lineno-$LINENO}: libvkd3d libs: $VKD3D_LIBS" >&5
16856 ac_save_CPPFLAGS=$CPPFLAGS
16857 CPPFLAGS="$CPPFLAGS $VKD3D_CFLAGS"
16858 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lvkd3d" >&5
16859 $as_echo_n "checking for -lvkd3d... " >&6; }
16860 if ${ac_cv_lib_soname_vkd3d+:} false; then :
16861 $as_echo_n "(cached) " >&6
16862 else
16863 ac_check_soname_save_LIBS=$LIBS
16864 LIBS="-lvkd3d $VKD3D_LIBS $LIBS"
16865 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16866 /* end confdefs.h. */
16868 /* Override any GCC internal prototype to avoid an error.
16869 Use char because int might match the return type of a GCC
16870 builtin and then its argument prototype would still apply. */
16871 #ifdef __cplusplus
16872 extern "C"
16873 #endif
16874 char vkd3d_serialize_versioned_root_signature ();
16876 main ()
16878 return vkd3d_serialize_versioned_root_signature ();
16880 return 0;
16882 _ACEOF
16883 if ac_fn_c_try_link "$LINENO"; then :
16884 case "$LIBEXT" in
16885 dll) ac_cv_lib_soname_vkd3d=`$ac_cv_path_LDD conftest.exe | grep "vkd3d" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16886 dylib) ac_cv_lib_soname_vkd3d=`$OTOOL -L conftest$ac_exeext | grep "libvkd3d\\.[0-9A-Za-z.]*dylib" | sed -e "s/^.*\/\(libvkd3d\.[0-9A-Za-z.]*dylib\).*$/\1/"';2,$d'` ;;
16887 *) ac_cv_lib_soname_vkd3d=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libvkd3d\\.$LIBEXT" | sed -e "s/^.*\\[\\(libvkd3d\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16888 if ${ac_cv_lib_soname_vkd3d:+false} :; then :
16889 ac_cv_lib_soname_vkd3d=`$LDD conftest$ac_exeext | grep "libvkd3d\\.$LIBEXT" | sed -e "s/^.*\(libvkd3d\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16890 fi ;;
16891 esac
16892 else
16893 ac_cv_lib_soname_vkd3d=
16895 rm -f core conftest.err conftest.$ac_objext \
16896 conftest$ac_exeext conftest.$ac_ext
16897 LIBS=$ac_check_soname_save_LIBS
16899 if ${ac_cv_lib_soname_vkd3d:+false} :; then :
16900 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16901 $as_echo "not found" >&6; }
16903 else
16904 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_vkd3d" >&5
16905 $as_echo "$ac_cv_lib_soname_vkd3d" >&6; }
16907 cat >>confdefs.h <<_ACEOF
16908 #define SONAME_LIBVKD3D "$ac_cv_lib_soname_vkd3d"
16909 _ACEOF
16913 CPPFLAGS=$ac_save_CPPFLAGS
16915 if ${VKD3D_SHADER_CFLAGS:+false} :; then :
16916 if ${PKG_CONFIG+:} false; then :
16917 VKD3D_SHADER_CFLAGS=`$PKG_CONFIG --cflags libvkd3d-shader 2>/dev/null`
16921 if ${VKD3D_SHADER_LIBS:+false} :; then :
16922 if ${PKG_CONFIG+:} false; then :
16923 VKD3D_SHADER_LIBS=`$PKG_CONFIG --libs libvkd3d-shader 2>/dev/null`
16928 $as_echo "$as_me:${as_lineno-$LINENO}: libvkd3d-shader cflags: $VKD3D_SHADER_CFLAGS" >&5
16929 $as_echo "$as_me:${as_lineno-$LINENO}: libvkd3d-shader libs: $VKD3D_SHADER_LIBS" >&5
16930 ac_save_CPPFLAGS=$CPPFLAGS
16931 CPPFLAGS="$CPPFLAGS $VKD3D_SHADER_CFLAGS"
16932 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lvkd3d-shader" >&5
16933 $as_echo_n "checking for -lvkd3d-shader... " >&6; }
16934 if ${ac_cv_lib_soname_vkd3d_shader+:} false; then :
16935 $as_echo_n "(cached) " >&6
16936 else
16937 ac_check_soname_save_LIBS=$LIBS
16938 LIBS="-lvkd3d-shader $VKD3D_SHADER_LIBS $LIBS"
16939 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16940 /* end confdefs.h. */
16942 /* Override any GCC internal prototype to avoid an error.
16943 Use char because int might match the return type of a GCC
16944 builtin and then its argument prototype would still apply. */
16945 #ifdef __cplusplus
16946 extern "C"
16947 #endif
16948 char vkd3d_shader_compile ();
16950 main ()
16952 return vkd3d_shader_compile ();
16954 return 0;
16956 _ACEOF
16957 if ac_fn_c_try_link "$LINENO"; then :
16958 case "$LIBEXT" in
16959 dll) ac_cv_lib_soname_vkd3d_shader=`$ac_cv_path_LDD conftest.exe | grep "vkd3d-shader" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16960 dylib) ac_cv_lib_soname_vkd3d_shader=`$OTOOL -L conftest$ac_exeext | grep "libvkd3d-shader\\.[0-9A-Za-z.]*dylib" | sed -e "s/^.*\/\(libvkd3d-shader\.[0-9A-Za-z.]*dylib\).*$/\1/"';2,$d'` ;;
16961 *) ac_cv_lib_soname_vkd3d_shader=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libvkd3d-shader\\.$LIBEXT" | sed -e "s/^.*\\[\\(libvkd3d-shader\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16962 if ${ac_cv_lib_soname_vkd3d_shader:+false} :; then :
16963 ac_cv_lib_soname_vkd3d_shader=`$LDD conftest$ac_exeext | grep "libvkd3d-shader\\.$LIBEXT" | sed -e "s/^.*\(libvkd3d-shader\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16964 fi ;;
16965 esac
16966 else
16967 ac_cv_lib_soname_vkd3d_shader=
16969 rm -f core conftest.err conftest.$ac_objext \
16970 conftest$ac_exeext conftest.$ac_ext
16971 LIBS=$ac_check_soname_save_LIBS
16973 if ${ac_cv_lib_soname_vkd3d_shader:+false} :; then :
16974 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16975 $as_echo "not found" >&6; }
16977 else
16978 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_vkd3d_shader" >&5
16979 $as_echo "$ac_cv_lib_soname_vkd3d_shader" >&6; }
16981 cat >>confdefs.h <<_ACEOF
16982 #define SONAME_LIBVKD3D_SHADER "$ac_cv_lib_soname_vkd3d_shader"
16983 _ACEOF
16987 CPPFLAGS=$ac_save_CPPFLAGS
16990 if test "x$ac_cv_lib_soname_vkd3d" = "x"; then :
16991 case "x$with_vkd3d" in
16992 x) as_fn_append wine_notices "|vkd3d ${notice_platform}development files not found (or too old), Direct3D 12 won't be supported." ;;
16993 xno) ;;
16994 *) as_fn_error $? "vkd3d ${notice_platform}development files not found (or too old), Direct3D 12 won't be supported.
16995 This is an error since --with-vkd3d was requested." "$LINENO" 5 ;;
16996 esac
16999 test "x$ac_cv_lib_soname_vkd3d" != "x" || enable_d3d12=${enable_d3d12:-no}
17002 EXTRACFLAGS=""
17004 if test "x${GCC}" = "xyes"
17005 then
17006 EXTRACFLAGS="-Wall -pipe"
17008 saved_CFLAGS=$CFLAGS
17009 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=unknown-warning-option" >&5
17010 $as_echo_n "checking whether the compiler supports -Werror=unknown-warning-option... " >&6; }
17011 if ${ac_cv_cflags__Werror_unknown_warning_option+:} false; then :
17012 $as_echo_n "(cached) " >&6
17013 else
17014 ac_wine_try_cflags_saved=$CFLAGS
17015 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
17016 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17017 /* end confdefs.h. */
17018 int main(int argc, char **argv) { return 0; }
17019 _ACEOF
17020 if ac_fn_c_try_link "$LINENO"; then :
17021 ac_cv_cflags__Werror_unknown_warning_option=yes
17022 else
17023 ac_cv_cflags__Werror_unknown_warning_option=no
17025 rm -f core conftest.err conftest.$ac_objext \
17026 conftest$ac_exeext conftest.$ac_ext
17027 CFLAGS=$ac_wine_try_cflags_saved
17029 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_unknown_warning_option" >&5
17030 $as_echo "$ac_cv_cflags__Werror_unknown_warning_option" >&6; }
17031 if test "x$ac_cv_cflags__Werror_unknown_warning_option" = xyes; then :
17032 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
17034 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=unused-command-line-argument" >&5
17035 $as_echo_n "checking whether the compiler supports -Werror=unused-command-line-argument... " >&6; }
17036 if ${ac_cv_cflags__Werror_unused_command_line_argument+:} false; then :
17037 $as_echo_n "(cached) " >&6
17038 else
17039 ac_wine_try_cflags_saved=$CFLAGS
17040 CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
17041 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17042 /* end confdefs.h. */
17043 int main(int argc, char **argv) { return 0; }
17044 _ACEOF
17045 if ac_fn_c_try_link "$LINENO"; then :
17046 ac_cv_cflags__Werror_unused_command_line_argument=yes
17047 else
17048 ac_cv_cflags__Werror_unused_command_line_argument=no
17050 rm -f core conftest.err conftest.$ac_objext \
17051 conftest$ac_exeext conftest.$ac_ext
17052 CFLAGS=$ac_wine_try_cflags_saved
17054 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_unused_command_line_argument" >&5
17055 $as_echo "$ac_cv_cflags__Werror_unused_command_line_argument" >&6; }
17056 if test "x$ac_cv_cflags__Werror_unused_command_line_argument" = xyes; then :
17057 CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
17059 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=ignored-optimization-argument" >&5
17060 $as_echo_n "checking whether the compiler supports -Werror=ignored-optimization-argument... " >&6; }
17061 if ${ac_cv_cflags__Werror_ignored_optimization_argument+:} false; then :
17062 $as_echo_n "(cached) " >&6
17063 else
17064 ac_wine_try_cflags_saved=$CFLAGS
17065 CFLAGS="$CFLAGS -Werror=ignored-optimization-argument"
17066 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17067 /* end confdefs.h. */
17068 int main(int argc, char **argv) { return 0; }
17069 _ACEOF
17070 if ac_fn_c_try_link "$LINENO"; then :
17071 ac_cv_cflags__Werror_ignored_optimization_argument=yes
17072 else
17073 ac_cv_cflags__Werror_ignored_optimization_argument=no
17075 rm -f core conftest.err conftest.$ac_objext \
17076 conftest$ac_exeext conftest.$ac_ext
17077 CFLAGS=$ac_wine_try_cflags_saved
17079 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_ignored_optimization_argument" >&5
17080 $as_echo "$ac_cv_cflags__Werror_ignored_optimization_argument" >&6; }
17081 if test "x$ac_cv_cflags__Werror_ignored_optimization_argument" = xyes; then :
17082 CFLAGS="$CFLAGS -Werror=ignored-optimization-argument"
17084 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fcf-protection=none" >&5
17085 $as_echo_n "checking whether the compiler supports -fcf-protection=none... " >&6; }
17086 if ${ac_cv_cflags__fcf_protection_none+:} false; then :
17087 $as_echo_n "(cached) " >&6
17088 else
17089 ac_wine_try_cflags_saved=$CFLAGS
17090 CFLAGS="$CFLAGS -fcf-protection=none"
17091 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17092 /* end confdefs.h. */
17093 int main(int argc, char **argv) { return 0; }
17094 _ACEOF
17095 if ac_fn_c_try_link "$LINENO"; then :
17096 ac_cv_cflags__fcf_protection_none=yes
17097 else
17098 ac_cv_cflags__fcf_protection_none=no
17100 rm -f core conftest.err conftest.$ac_objext \
17101 conftest$ac_exeext conftest.$ac_ext
17102 CFLAGS=$ac_wine_try_cflags_saved
17104 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fcf_protection_none" >&5
17105 $as_echo "$ac_cv_cflags__fcf_protection_none" >&6; }
17106 if test "x$ac_cv_cflags__fcf_protection_none" = xyes; then :
17107 EXTRACFLAGS="$EXTRACFLAGS -fcf-protection=none"
17109 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-stack-protector" >&5
17110 $as_echo_n "checking whether the compiler supports -fno-stack-protector... " >&6; }
17111 if ${ac_cv_cflags__fno_stack_protector+:} false; then :
17112 $as_echo_n "(cached) " >&6
17113 else
17114 ac_wine_try_cflags_saved=$CFLAGS
17115 CFLAGS="$CFLAGS -fno-stack-protector"
17116 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17117 /* end confdefs.h. */
17118 int main(int argc, char **argv) { return 0; }
17119 _ACEOF
17120 if ac_fn_c_try_link "$LINENO"; then :
17121 ac_cv_cflags__fno_stack_protector=yes
17122 else
17123 ac_cv_cflags__fno_stack_protector=no
17125 rm -f core conftest.err conftest.$ac_objext \
17126 conftest$ac_exeext conftest.$ac_ext
17127 CFLAGS=$ac_wine_try_cflags_saved
17129 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_stack_protector" >&5
17130 $as_echo "$ac_cv_cflags__fno_stack_protector" >&6; }
17131 if test "x$ac_cv_cflags__fno_stack_protector" = xyes; then :
17132 EXTRACFLAGS="$EXTRACFLAGS -fno-stack-protector"
17134 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-strict-aliasing" >&5
17135 $as_echo_n "checking whether the compiler supports -fno-strict-aliasing... " >&6; }
17136 if ${ac_cv_cflags__fno_strict_aliasing+:} false; then :
17137 $as_echo_n "(cached) " >&6
17138 else
17139 ac_wine_try_cflags_saved=$CFLAGS
17140 CFLAGS="$CFLAGS -fno-strict-aliasing"
17141 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17142 /* end confdefs.h. */
17143 int main(int argc, char **argv) { return 0; }
17144 _ACEOF
17145 if ac_fn_c_try_link "$LINENO"; then :
17146 ac_cv_cflags__fno_strict_aliasing=yes
17147 else
17148 ac_cv_cflags__fno_strict_aliasing=no
17150 rm -f core conftest.err conftest.$ac_objext \
17151 conftest$ac_exeext conftest.$ac_ext
17152 CFLAGS=$ac_wine_try_cflags_saved
17154 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_strict_aliasing" >&5
17155 $as_echo "$ac_cv_cflags__fno_strict_aliasing" >&6; }
17156 if test "x$ac_cv_cflags__fno_strict_aliasing" = xyes; then :
17157 EXTRACFLAGS="$EXTRACFLAGS -fno-strict-aliasing"
17159 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wdeclaration-after-statement" >&5
17160 $as_echo_n "checking whether the compiler supports -Wdeclaration-after-statement... " >&6; }
17161 if ${ac_cv_cflags__Wdeclaration_after_statement+:} false; then :
17162 $as_echo_n "(cached) " >&6
17163 else
17164 ac_wine_try_cflags_saved=$CFLAGS
17165 CFLAGS="$CFLAGS -Wdeclaration-after-statement"
17166 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17167 /* end confdefs.h. */
17168 int main(int argc, char **argv) { return 0; }
17169 _ACEOF
17170 if ac_fn_c_try_link "$LINENO"; then :
17171 ac_cv_cflags__Wdeclaration_after_statement=yes
17172 else
17173 ac_cv_cflags__Wdeclaration_after_statement=no
17175 rm -f core conftest.err conftest.$ac_objext \
17176 conftest$ac_exeext conftest.$ac_ext
17177 CFLAGS=$ac_wine_try_cflags_saved
17179 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wdeclaration_after_statement" >&5
17180 $as_echo "$ac_cv_cflags__Wdeclaration_after_statement" >&6; }
17181 if test "x$ac_cv_cflags__Wdeclaration_after_statement" = xyes; then :
17182 EXTRACFLAGS="$EXTRACFLAGS -Wdeclaration-after-statement"
17184 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wempty-body" >&5
17185 $as_echo_n "checking whether the compiler supports -Wempty-body... " >&6; }
17186 if ${ac_cv_cflags__Wempty_body+:} false; then :
17187 $as_echo_n "(cached) " >&6
17188 else
17189 ac_wine_try_cflags_saved=$CFLAGS
17190 CFLAGS="$CFLAGS -Wempty-body"
17191 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17192 /* end confdefs.h. */
17193 int main(int argc, char **argv) { return 0; }
17194 _ACEOF
17195 if ac_fn_c_try_link "$LINENO"; then :
17196 ac_cv_cflags__Wempty_body=yes
17197 else
17198 ac_cv_cflags__Wempty_body=no
17200 rm -f core conftest.err conftest.$ac_objext \
17201 conftest$ac_exeext conftest.$ac_ext
17202 CFLAGS=$ac_wine_try_cflags_saved
17204 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wempty_body" >&5
17205 $as_echo "$ac_cv_cflags__Wempty_body" >&6; }
17206 if test "x$ac_cv_cflags__Wempty_body" = xyes; then :
17207 EXTRACFLAGS="$EXTRACFLAGS -Wempty-body"
17209 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wignored-qualifiers" >&5
17210 $as_echo_n "checking whether the compiler supports -Wignored-qualifiers... " >&6; }
17211 if ${ac_cv_cflags__Wignored_qualifiers+:} false; then :
17212 $as_echo_n "(cached) " >&6
17213 else
17214 ac_wine_try_cflags_saved=$CFLAGS
17215 CFLAGS="$CFLAGS -Wignored-qualifiers"
17216 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17217 /* end confdefs.h. */
17218 int main(int argc, char **argv) { return 0; }
17219 _ACEOF
17220 if ac_fn_c_try_link "$LINENO"; then :
17221 ac_cv_cflags__Wignored_qualifiers=yes
17222 else
17223 ac_cv_cflags__Wignored_qualifiers=no
17225 rm -f core conftest.err conftest.$ac_objext \
17226 conftest$ac_exeext conftest.$ac_ext
17227 CFLAGS=$ac_wine_try_cflags_saved
17229 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wignored_qualifiers" >&5
17230 $as_echo "$ac_cv_cflags__Wignored_qualifiers" >&6; }
17231 if test "x$ac_cv_cflags__Wignored_qualifiers" = xyes; then :
17232 EXTRACFLAGS="$EXTRACFLAGS -Wignored-qualifiers"
17234 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Winit-self" >&5
17235 $as_echo_n "checking whether the compiler supports -Winit-self... " >&6; }
17236 if ${ac_cv_cflags__Winit_self+:} false; then :
17237 $as_echo_n "(cached) " >&6
17238 else
17239 ac_wine_try_cflags_saved=$CFLAGS
17240 CFLAGS="$CFLAGS -Winit-self"
17241 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17242 /* end confdefs.h. */
17243 int main(int argc, char **argv) { return 0; }
17244 _ACEOF
17245 if ac_fn_c_try_link "$LINENO"; then :
17246 ac_cv_cflags__Winit_self=yes
17247 else
17248 ac_cv_cflags__Winit_self=no
17250 rm -f core conftest.err conftest.$ac_objext \
17251 conftest$ac_exeext conftest.$ac_ext
17252 CFLAGS=$ac_wine_try_cflags_saved
17254 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Winit_self" >&5
17255 $as_echo "$ac_cv_cflags__Winit_self" >&6; }
17256 if test "x$ac_cv_cflags__Winit_self" = xyes; then :
17257 EXTRACFLAGS="$EXTRACFLAGS -Winit-self"
17259 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpacked-not-aligned" >&5
17260 $as_echo_n "checking whether the compiler supports -Wpacked-not-aligned... " >&6; }
17261 if ${ac_cv_cflags__Wpacked_not_aligned+:} false; then :
17262 $as_echo_n "(cached) " >&6
17263 else
17264 ac_wine_try_cflags_saved=$CFLAGS
17265 CFLAGS="$CFLAGS -Wpacked-not-aligned"
17266 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17267 /* end confdefs.h. */
17268 int main(int argc, char **argv) { return 0; }
17269 _ACEOF
17270 if ac_fn_c_try_link "$LINENO"; then :
17271 ac_cv_cflags__Wpacked_not_aligned=yes
17272 else
17273 ac_cv_cflags__Wpacked_not_aligned=no
17275 rm -f core conftest.err conftest.$ac_objext \
17276 conftest$ac_exeext conftest.$ac_ext
17277 CFLAGS=$ac_wine_try_cflags_saved
17279 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpacked_not_aligned" >&5
17280 $as_echo "$ac_cv_cflags__Wpacked_not_aligned" >&6; }
17281 if test "x$ac_cv_cflags__Wpacked_not_aligned" = xyes; then :
17282 EXTRACFLAGS="$EXTRACFLAGS -Wno-packed-not-aligned"
17284 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpragma-pack" >&5
17285 $as_echo_n "checking whether the compiler supports -Wpragma-pack... " >&6; }
17286 if ${ac_cv_cflags__Wpragma_pack+:} false; then :
17287 $as_echo_n "(cached) " >&6
17288 else
17289 ac_wine_try_cflags_saved=$CFLAGS
17290 CFLAGS="$CFLAGS -Wpragma-pack"
17291 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17292 /* end confdefs.h. */
17293 int main(int argc, char **argv) { return 0; }
17294 _ACEOF
17295 if ac_fn_c_try_link "$LINENO"; then :
17296 ac_cv_cflags__Wpragma_pack=yes
17297 else
17298 ac_cv_cflags__Wpragma_pack=no
17300 rm -f core conftest.err conftest.$ac_objext \
17301 conftest$ac_exeext conftest.$ac_ext
17302 CFLAGS=$ac_wine_try_cflags_saved
17304 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpragma_pack" >&5
17305 $as_echo "$ac_cv_cflags__Wpragma_pack" >&6; }
17306 if test "x$ac_cv_cflags__Wpragma_pack" = xyes; then :
17307 EXTRACFLAGS="$EXTRACFLAGS -Wno-pragma-pack"
17309 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wshift-overflow=2" >&5
17310 $as_echo_n "checking whether the compiler supports -Wshift-overflow=2... " >&6; }
17311 if ${ac_cv_cflags__Wshift_overflow_2+:} false; then :
17312 $as_echo_n "(cached) " >&6
17313 else
17314 ac_wine_try_cflags_saved=$CFLAGS
17315 CFLAGS="$CFLAGS -Wshift-overflow=2"
17316 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17317 /* end confdefs.h. */
17318 int main(int argc, char **argv) { return 0; }
17319 _ACEOF
17320 if ac_fn_c_try_link "$LINENO"; then :
17321 ac_cv_cflags__Wshift_overflow_2=yes
17322 else
17323 ac_cv_cflags__Wshift_overflow_2=no
17325 rm -f core conftest.err conftest.$ac_objext \
17326 conftest$ac_exeext conftest.$ac_ext
17327 CFLAGS=$ac_wine_try_cflags_saved
17329 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wshift_overflow_2" >&5
17330 $as_echo "$ac_cv_cflags__Wshift_overflow_2" >&6; }
17331 if test "x$ac_cv_cflags__Wshift_overflow_2" = xyes; then :
17332 EXTRACFLAGS="$EXTRACFLAGS -Wshift-overflow=2"
17334 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wstrict-prototypes" >&5
17335 $as_echo_n "checking whether the compiler supports -Wstrict-prototypes... " >&6; }
17336 if ${ac_cv_cflags__Wstrict_prototypes+:} false; then :
17337 $as_echo_n "(cached) " >&6
17338 else
17339 ac_wine_try_cflags_saved=$CFLAGS
17340 CFLAGS="$CFLAGS -Wstrict-prototypes"
17341 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17342 /* end confdefs.h. */
17343 int main(int argc, char **argv) { return 0; }
17344 _ACEOF
17345 if ac_fn_c_try_link "$LINENO"; then :
17346 ac_cv_cflags__Wstrict_prototypes=yes
17347 else
17348 ac_cv_cflags__Wstrict_prototypes=no
17350 rm -f core conftest.err conftest.$ac_objext \
17351 conftest$ac_exeext conftest.$ac_ext
17352 CFLAGS=$ac_wine_try_cflags_saved
17354 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wstrict_prototypes" >&5
17355 $as_echo "$ac_cv_cflags__Wstrict_prototypes" >&6; }
17356 if test "x$ac_cv_cflags__Wstrict_prototypes" = xyes; then :
17357 EXTRACFLAGS="$EXTRACFLAGS -Wstrict-prototypes"
17359 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wtype-limits" >&5
17360 $as_echo_n "checking whether the compiler supports -Wtype-limits... " >&6; }
17361 if ${ac_cv_cflags__Wtype_limits+:} false; then :
17362 $as_echo_n "(cached) " >&6
17363 else
17364 ac_wine_try_cflags_saved=$CFLAGS
17365 CFLAGS="$CFLAGS -Wtype-limits"
17366 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17367 /* end confdefs.h. */
17368 int main(int argc, char **argv) { return 0; }
17369 _ACEOF
17370 if ac_fn_c_try_link "$LINENO"; then :
17371 ac_cv_cflags__Wtype_limits=yes
17372 else
17373 ac_cv_cflags__Wtype_limits=no
17375 rm -f core conftest.err conftest.$ac_objext \
17376 conftest$ac_exeext conftest.$ac_ext
17377 CFLAGS=$ac_wine_try_cflags_saved
17379 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wtype_limits" >&5
17380 $as_echo "$ac_cv_cflags__Wtype_limits" >&6; }
17381 if test "x$ac_cv_cflags__Wtype_limits" = xyes; then :
17382 EXTRACFLAGS="$EXTRACFLAGS -Wtype-limits"
17384 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wunused-but-set-parameter" >&5
17385 $as_echo_n "checking whether the compiler supports -Wunused-but-set-parameter... " >&6; }
17386 if ${ac_cv_cflags__Wunused_but_set_parameter+:} false; then :
17387 $as_echo_n "(cached) " >&6
17388 else
17389 ac_wine_try_cflags_saved=$CFLAGS
17390 CFLAGS="$CFLAGS -Wunused-but-set-parameter"
17391 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17392 /* end confdefs.h. */
17393 int main(int argc, char **argv) { return 0; }
17394 _ACEOF
17395 if ac_fn_c_try_link "$LINENO"; then :
17396 ac_cv_cflags__Wunused_but_set_parameter=yes
17397 else
17398 ac_cv_cflags__Wunused_but_set_parameter=no
17400 rm -f core conftest.err conftest.$ac_objext \
17401 conftest$ac_exeext conftest.$ac_ext
17402 CFLAGS=$ac_wine_try_cflags_saved
17404 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wunused_but_set_parameter" >&5
17405 $as_echo "$ac_cv_cflags__Wunused_but_set_parameter" >&6; }
17406 if test "x$ac_cv_cflags__Wunused_but_set_parameter" = xyes; then :
17407 EXTRACFLAGS="$EXTRACFLAGS -Wunused-but-set-parameter"
17409 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wvla" >&5
17410 $as_echo_n "checking whether the compiler supports -Wvla... " >&6; }
17411 if ${ac_cv_cflags__Wvla+:} false; then :
17412 $as_echo_n "(cached) " >&6
17413 else
17414 ac_wine_try_cflags_saved=$CFLAGS
17415 CFLAGS="$CFLAGS -Wvla"
17416 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17417 /* end confdefs.h. */
17418 int main(int argc, char **argv) { return 0; }
17419 _ACEOF
17420 if ac_fn_c_try_link "$LINENO"; then :
17421 ac_cv_cflags__Wvla=yes
17422 else
17423 ac_cv_cflags__Wvla=no
17425 rm -f core conftest.err conftest.$ac_objext \
17426 conftest$ac_exeext conftest.$ac_ext
17427 CFLAGS=$ac_wine_try_cflags_saved
17429 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wvla" >&5
17430 $as_echo "$ac_cv_cflags__Wvla" >&6; }
17431 if test "x$ac_cv_cflags__Wvla" = xyes; then :
17432 EXTRACFLAGS="$EXTRACFLAGS -Wvla"
17434 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wwrite-strings" >&5
17435 $as_echo_n "checking whether the compiler supports -Wwrite-strings... " >&6; }
17436 if ${ac_cv_cflags__Wwrite_strings+:} false; then :
17437 $as_echo_n "(cached) " >&6
17438 else
17439 ac_wine_try_cflags_saved=$CFLAGS
17440 CFLAGS="$CFLAGS -Wwrite-strings"
17441 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17442 /* end confdefs.h. */
17443 int main(int argc, char **argv) { return 0; }
17444 _ACEOF
17445 if ac_fn_c_try_link "$LINENO"; then :
17446 ac_cv_cflags__Wwrite_strings=yes
17447 else
17448 ac_cv_cflags__Wwrite_strings=no
17450 rm -f core conftest.err conftest.$ac_objext \
17451 conftest$ac_exeext conftest.$ac_ext
17452 CFLAGS=$ac_wine_try_cflags_saved
17454 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wwrite_strings" >&5
17455 $as_echo "$ac_cv_cflags__Wwrite_strings" >&6; }
17456 if test "x$ac_cv_cflags__Wwrite_strings" = xyes; then :
17457 EXTRACFLAGS="$EXTRACFLAGS -Wwrite-strings"
17460 if test -z "$CROSSTARGET"
17461 then
17462 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fexcess-precision=standard" >&5
17463 $as_echo_n "checking whether the compiler supports -fexcess-precision=standard... " >&6; }
17464 if ${ac_cv_cflags__fexcess_precision_standard+:} false; then :
17465 $as_echo_n "(cached) " >&6
17466 else
17467 ac_wine_try_cflags_saved=$CFLAGS
17468 CFLAGS="$CFLAGS -fexcess-precision=standard"
17469 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17470 /* end confdefs.h. */
17471 int main(int argc, char **argv) { return 0; }
17472 _ACEOF
17473 if ac_fn_c_try_link "$LINENO"; then :
17474 ac_cv_cflags__fexcess_precision_standard=yes
17475 else
17476 ac_cv_cflags__fexcess_precision_standard=no
17478 rm -f core conftest.err conftest.$ac_objext \
17479 conftest$ac_exeext conftest.$ac_ext
17480 CFLAGS=$ac_wine_try_cflags_saved
17482 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fexcess_precision_standard" >&5
17483 $as_echo "$ac_cv_cflags__fexcess_precision_standard" >&6; }
17484 if test "x$ac_cv_cflags__fexcess_precision_standard" = xyes; then :
17485 EXCESS_PRECISION_CFLAGS="-fexcess-precision=standard"
17490 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpointer-arith" >&5
17491 $as_echo_n "checking whether the compiler supports -Wpointer-arith... " >&6; }
17492 if ${ac_cv_cflags__Wpointer_arith+:} false; then :
17493 $as_echo_n "(cached) " >&6
17494 else
17495 ac_wine_try_cflags_saved=$CFLAGS
17496 CFLAGS="$CFLAGS -Wpointer-arith"
17497 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17498 /* end confdefs.h. */
17499 int main(int argc, char **argv) { return 0; }
17500 _ACEOF
17501 if ac_fn_c_try_link "$LINENO"; then :
17502 ac_cv_cflags__Wpointer_arith=yes
17503 else
17504 ac_cv_cflags__Wpointer_arith=no
17506 rm -f core conftest.err conftest.$ac_objext \
17507 conftest$ac_exeext conftest.$ac_ext
17508 CFLAGS=$ac_wine_try_cflags_saved
17510 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpointer_arith" >&5
17511 $as_echo "$ac_cv_cflags__Wpointer_arith" >&6; }
17512 if test "x$ac_cv_cflags__Wpointer_arith" = xyes; then :
17513 saved_string_h_CFLAGS=$CFLAGS
17514 CFLAGS="$CFLAGS -Wpointer-arith -Werror"
17515 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wpointer-arith" >&5
17516 $as_echo_n "checking for broken string.h that generates warnings with -Wpointer-arith... " >&6; }
17517 if ${ac_cv_c_string_h_warnings+:} false; then :
17518 $as_echo_n "(cached) " >&6
17519 else
17520 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17521 /* end confdefs.h. */
17522 #include <string.h>
17524 main ()
17528 return 0;
17530 _ACEOF
17531 if ac_fn_c_try_compile "$LINENO"; then :
17532 ac_cv_c_string_h_warnings=no
17533 else
17534 ac_cv_c_string_h_warnings=yes
17536 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17538 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_string_h_warnings" >&5
17539 $as_echo "$ac_cv_c_string_h_warnings" >&6; }
17540 test "$ac_cv_c_string_h_warnings" = yes || EXTRACFLAGS="$EXTRACFLAGS -Wpointer-arith"
17541 CFLAGS=$saved_string_h_CFLAGS
17544 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wlogical-op" >&5
17545 $as_echo_n "checking whether the compiler supports -Wlogical-op... " >&6; }
17546 if ${ac_cv_cflags__Wlogical_op+:} false; then :
17547 $as_echo_n "(cached) " >&6
17548 else
17549 ac_wine_try_cflags_saved=$CFLAGS
17550 CFLAGS="$CFLAGS -Wlogical-op"
17551 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17552 /* end confdefs.h. */
17553 int main(int argc, char **argv) { return 0; }
17554 _ACEOF
17555 if ac_fn_c_try_link "$LINENO"; then :
17556 ac_cv_cflags__Wlogical_op=yes
17557 else
17558 ac_cv_cflags__Wlogical_op=no
17560 rm -f core conftest.err conftest.$ac_objext \
17561 conftest$ac_exeext conftest.$ac_ext
17562 CFLAGS=$ac_wine_try_cflags_saved
17564 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wlogical_op" >&5
17565 $as_echo "$ac_cv_cflags__Wlogical_op" >&6; }
17566 if test "x$ac_cv_cflags__Wlogical_op" = xyes; then :
17567 saved_string_h_CFLAGS=$CFLAGS
17568 CFLAGS="$CFLAGS -Wlogical-op -Werror"
17569 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wlogical-op" >&5
17570 $as_echo_n "checking for broken string.h that generates warnings with -Wlogical-op... " >&6; }
17571 if ${ac_cv_c_logicalop_noisy+:} false; then :
17572 $as_echo_n "(cached) " >&6
17573 else
17574 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17575 /* end confdefs.h. */
17576 #include <string.h>
17577 char*f(const char *h,char n) {return strchr(h,n);}
17579 main ()
17583 return 0;
17585 _ACEOF
17586 if ac_fn_c_try_compile "$LINENO"; then :
17587 ac_cv_c_logicalop_noisy=no
17588 else
17589 ac_cv_c_logicalop_noisy=yes
17591 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17593 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_logicalop_noisy" >&5
17594 $as_echo "$ac_cv_c_logicalop_noisy" >&6; }
17595 CFLAGS=$saved_string_h_CFLAGS
17596 test "$ac_cv_c_logicalop_noisy" = yes || EXTRACFLAGS="$EXTRACFLAGS -Wlogical-op"
17599 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for flags needed for 64-bit compare-and-swap support" >&5
17600 $as_echo_n "checking for flags needed for 64-bit compare-and-swap support... " >&6; }
17601 if ${wine_cv_64bit_compare_swap+:} false; then :
17602 $as_echo_n "(cached) " >&6
17603 else
17604 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17605 /* end confdefs.h. */
17606 #ifndef __GCC_HAVE_SYNC_COMPARE_AND_SWAP_8
17607 #error no
17608 #endif
17610 main ()
17614 return 0;
17616 _ACEOF
17617 if ac_fn_c_try_compile "$LINENO"; then :
17618 wine_cv_64bit_compare_swap="none needed"
17619 else
17620 case $host_cpu in
17621 *i[3456]86*) wine_cv_64bit_compare_swap="-march=i586" ;;
17622 *arm*) wine_cv_64bit_compare_swap="-march=armv7-a" ;;
17623 *) wine_cv_64bit_compare_swap="unknown" ;;
17624 esac
17625 if test "x$wine_cv_64bit_compare_swap" != xunknown
17626 then
17627 CFLAGS="$CFLAGS $wine_cv_64bit_compare_swap"
17628 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17629 /* end confdefs.h. */
17630 #ifndef __GCC_HAVE_SYNC_COMPARE_AND_SWAP_8
17631 #error no
17632 #endif
17634 main ()
17638 return 0;
17640 _ACEOF
17641 if ac_fn_c_try_compile "$LINENO"; then :
17643 else
17644 wine_cv_64bit_compare_swap="unknown"
17646 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17647 CFLAGS=$saved_CFLAGS
17650 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17652 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_64bit_compare_swap" >&5
17653 $as_echo "$wine_cv_64bit_compare_swap" >&6; }
17654 case "$wine_cv_64bit_compare_swap" in
17655 unknown) as_fn_error $? "gcc doesn't support 64-bit compare-and-swap on this platform" "$LINENO" 5 ;;
17656 "none needed") ;;
17657 *) EXTRACFLAGS="$EXTRACFLAGS $wine_cv_64bit_compare_swap" ;;
17658 esac
17660 for ac_flag in $CFLAGS; do
17661 case $ac_flag in
17662 -g) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gdwarf-2" >&5
17663 $as_echo_n "checking whether the compiler supports -gdwarf-2... " >&6; }
17664 if ${ac_cv_cflags__gdwarf_2+:} false; then :
17665 $as_echo_n "(cached) " >&6
17666 else
17667 ac_wine_try_cflags_saved=$CFLAGS
17668 CFLAGS="$CFLAGS -gdwarf-2"
17669 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17670 /* end confdefs.h. */
17671 int main(int argc, char **argv) { return 0; }
17672 _ACEOF
17673 if ac_fn_c_try_link "$LINENO"; then :
17674 ac_cv_cflags__gdwarf_2=yes
17675 else
17676 ac_cv_cflags__gdwarf_2=no
17678 rm -f core conftest.err conftest.$ac_objext \
17679 conftest$ac_exeext conftest.$ac_ext
17680 CFLAGS=$ac_wine_try_cflags_saved
17682 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gdwarf_2" >&5
17683 $as_echo "$ac_cv_cflags__gdwarf_2" >&6; }
17684 if test "x$ac_cv_cflags__gdwarf_2" = xyes; then :
17685 EXTRACFLAGS="$EXTRACFLAGS -gdwarf-2"
17687 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gstrict-dwarf" >&5
17688 $as_echo_n "checking whether the compiler supports -gstrict-dwarf... " >&6; }
17689 if ${ac_cv_cflags__gstrict_dwarf+:} false; then :
17690 $as_echo_n "(cached) " >&6
17691 else
17692 ac_wine_try_cflags_saved=$CFLAGS
17693 CFLAGS="$CFLAGS -gstrict-dwarf"
17694 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17695 /* end confdefs.h. */
17696 int main(int argc, char **argv) { return 0; }
17697 _ACEOF
17698 if ac_fn_c_try_link "$LINENO"; then :
17699 ac_cv_cflags__gstrict_dwarf=yes
17700 else
17701 ac_cv_cflags__gstrict_dwarf=no
17703 rm -f core conftest.err conftest.$ac_objext \
17704 conftest$ac_exeext conftest.$ac_ext
17705 CFLAGS=$ac_wine_try_cflags_saved
17707 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gstrict_dwarf" >&5
17708 $as_echo "$ac_cv_cflags__gstrict_dwarf" >&6; }
17709 if test "x$ac_cv_cflags__gstrict_dwarf" = xyes; then :
17710 EXTRACFLAGS="$EXTRACFLAGS -gstrict-dwarf"
17711 fi ;;
17712 esac
17713 done
17715 MSVCRTFLAGS=""
17717 case $host_os in
17718 mingw32*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-delayload,autoconftest.dll" >&5
17719 $as_echo_n "checking whether the compiler supports -Wl,-delayload,autoconftest.dll... " >&6; }
17720 if ${ac_cv_cflags__Wl__delayload_autoconftest_dll+:} false; then :
17721 $as_echo_n "(cached) " >&6
17722 else
17723 ac_wine_try_cflags_saved=$CFLAGS
17724 CFLAGS="$CFLAGS -Wl,-delayload,autoconftest.dll"
17725 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17726 /* end confdefs.h. */
17727 int main(int argc, char **argv) { return 0; }
17728 _ACEOF
17729 if ac_fn_c_try_link "$LINENO"; then :
17730 ac_cv_cflags__Wl__delayload_autoconftest_dll=yes
17731 else
17732 ac_cv_cflags__Wl__delayload_autoconftest_dll=no
17734 rm -f core conftest.err conftest.$ac_objext \
17735 conftest$ac_exeext conftest.$ac_ext
17736 CFLAGS=$ac_wine_try_cflags_saved
17738 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__delayload_autoconftest_dll" >&5
17739 $as_echo "$ac_cv_cflags__Wl__delayload_autoconftest_dll" >&6; }
17740 if test "x$ac_cv_cflags__Wl__delayload_autoconftest_dll" = xyes; then :
17741 DELAYLOADFLAG="-Wl,-delayload,"
17743 fi ;;
17744 *) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-builtin" >&5
17745 $as_echo_n "checking whether the compiler supports -fno-builtin... " >&6; }
17746 if ${ac_cv_cflags__fno_builtin+:} false; then :
17747 $as_echo_n "(cached) " >&6
17748 else
17749 ac_wine_try_cflags_saved=$CFLAGS
17750 CFLAGS="$CFLAGS -fno-builtin"
17751 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17752 /* end confdefs.h. */
17753 int main(int argc, char **argv) { return 0; }
17754 _ACEOF
17755 if ac_fn_c_try_link "$LINENO"; then :
17756 ac_cv_cflags__fno_builtin=yes
17757 else
17758 ac_cv_cflags__fno_builtin=no
17760 rm -f core conftest.err conftest.$ac_objext \
17761 conftest$ac_exeext conftest.$ac_ext
17762 CFLAGS=$ac_wine_try_cflags_saved
17764 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_builtin" >&5
17765 $as_echo "$ac_cv_cflags__fno_builtin" >&6; }
17766 if test "x$ac_cv_cflags__fno_builtin" = xyes; then :
17767 MSVCRTFLAGS="$MSVCRTFLAGS -fno-builtin"
17769 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fshort-wchar" >&5
17770 $as_echo_n "checking whether the compiler supports -fshort-wchar... " >&6; }
17771 if ${ac_cv_cflags__fshort_wchar+:} false; then :
17772 $as_echo_n "(cached) " >&6
17773 else
17774 ac_wine_try_cflags_saved=$CFLAGS
17775 CFLAGS="$CFLAGS -fshort-wchar"
17776 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17777 /* end confdefs.h. */
17778 int main(int argc, char **argv) { return 0; }
17779 _ACEOF
17780 if ac_fn_c_try_link "$LINENO"; then :
17781 ac_cv_cflags__fshort_wchar=yes
17782 else
17783 ac_cv_cflags__fshort_wchar=no
17785 rm -f core conftest.err conftest.$ac_objext \
17786 conftest$ac_exeext conftest.$ac_ext
17787 CFLAGS=$ac_wine_try_cflags_saved
17789 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fshort_wchar" >&5
17790 $as_echo "$ac_cv_cflags__fshort_wchar" >&6; }
17791 if test "x$ac_cv_cflags__fshort_wchar" = xyes; then :
17792 MSVCRTFLAGS="$MSVCRTFLAGS -fshort-wchar"
17793 fi ;;
17794 esac
17796 case $host_cpu in
17797 *i[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-omit-frame-pointer" >&5
17798 $as_echo_n "checking whether the compiler supports -fno-omit-frame-pointer... " >&6; }
17799 if ${ac_cv_cflags__fno_omit_frame_pointer+:} false; then :
17800 $as_echo_n "(cached) " >&6
17801 else
17802 ac_wine_try_cflags_saved=$CFLAGS
17803 CFLAGS="$CFLAGS -fno-omit-frame-pointer"
17804 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17805 /* end confdefs.h. */
17806 int main(int argc, char **argv) { return 0; }
17807 _ACEOF
17808 if ac_fn_c_try_link "$LINENO"; then :
17809 ac_cv_cflags__fno_omit_frame_pointer=yes
17810 else
17811 ac_cv_cflags__fno_omit_frame_pointer=no
17813 rm -f core conftest.err conftest.$ac_objext \
17814 conftest$ac_exeext conftest.$ac_ext
17815 CFLAGS=$ac_wine_try_cflags_saved
17817 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_omit_frame_pointer" >&5
17818 $as_echo "$ac_cv_cflags__fno_omit_frame_pointer" >&6; }
17819 if test "x$ac_cv_cflags__fno_omit_frame_pointer" = xyes; then :
17820 EXTRACFLAGS="$EXTRACFLAGS -fno-omit-frame-pointer"
17821 fi ;;
17822 *x86_64*)
17823 case $host_os in
17824 cygwin*|mingw32*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wno-format" >&5
17825 $as_echo_n "checking whether the compiler supports -Wno-format... " >&6; }
17826 if ${ac_cv_cflags__Wno_format+:} false; then :
17827 $as_echo_n "(cached) " >&6
17828 else
17829 ac_wine_try_cflags_saved=$CFLAGS
17830 CFLAGS="$CFLAGS -Wno-format"
17831 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17832 /* end confdefs.h. */
17833 int main(int argc, char **argv) { return 0; }
17834 _ACEOF
17835 if ac_fn_c_try_link "$LINENO"; then :
17836 ac_cv_cflags__Wno_format=yes
17837 else
17838 ac_cv_cflags__Wno_format=no
17840 rm -f core conftest.err conftest.$ac_objext \
17841 conftest$ac_exeext conftest.$ac_ext
17842 CFLAGS=$ac_wine_try_cflags_saved
17844 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wno_format" >&5
17845 $as_echo "$ac_cv_cflags__Wno_format" >&6; }
17846 if test "x$ac_cv_cflags__Wno_format" = xyes; then :
17847 EXTRACFLAGS="$EXTRACFLAGS -Wno-format"
17848 fi ;;
17849 *) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -mabi=ms" >&5
17850 $as_echo_n "checking whether the compiler supports -mabi=ms... " >&6; }
17851 if ${ac_cv_cflags__mabi_ms+:} false; then :
17852 $as_echo_n "(cached) " >&6
17853 else
17854 ac_wine_try_cflags_saved=$CFLAGS
17855 CFLAGS="$CFLAGS -mabi=ms"
17856 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17857 /* end confdefs.h. */
17858 int main(int argc, char **argv) { return 0; }
17859 _ACEOF
17860 if ac_fn_c_try_link "$LINENO"; then :
17861 ac_cv_cflags__mabi_ms=yes
17862 else
17863 ac_cv_cflags__mabi_ms=no
17865 rm -f core conftest.err conftest.$ac_objext \
17866 conftest$ac_exeext conftest.$ac_ext
17867 CFLAGS=$ac_wine_try_cflags_saved
17869 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__mabi_ms" >&5
17870 $as_echo "$ac_cv_cflags__mabi_ms" >&6; }
17871 if test "x$ac_cv_cflags__mabi_ms" = xyes; then :
17872 MSVCRTFLAGS="$MSVCRTFLAGS -mabi=ms"
17873 fi ;;
17874 esac ;;
17875 esac
17877 CFLAGS=$saved_CFLAGS
17879 if test "x$enable_werror" = "xyes"
17880 then
17881 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror" >&5
17882 $as_echo_n "checking whether the compiler supports -Werror... " >&6; }
17883 if ${ac_cv_cflags__Werror+:} false; then :
17884 $as_echo_n "(cached) " >&6
17885 else
17886 ac_wine_try_cflags_saved=$CFLAGS
17887 CFLAGS="$CFLAGS -Werror"
17888 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17889 /* end confdefs.h. */
17890 int main(int argc, char **argv) { return 0; }
17891 _ACEOF
17892 if ac_fn_c_try_link "$LINENO"; then :
17893 ac_cv_cflags__Werror=yes
17894 else
17895 ac_cv_cflags__Werror=no
17897 rm -f core conftest.err conftest.$ac_objext \
17898 conftest$ac_exeext conftest.$ac_ext
17899 CFLAGS=$ac_wine_try_cflags_saved
17901 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror" >&5
17902 $as_echo "$ac_cv_cflags__Werror" >&6; }
17903 if test "x$ac_cv_cflags__Werror" = xyes; then :
17904 EXTRACFLAGS="$EXTRACFLAGS -Werror"
17907 if test "x$enable_build_id" = "xyes"
17908 then
17909 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--build-id" >&5
17910 $as_echo_n "checking whether the compiler supports -Wl,--build-id... " >&6; }
17911 if ${ac_cv_cflags__Wl___build_id+:} false; then :
17912 $as_echo_n "(cached) " >&6
17913 else
17914 ac_wine_try_cflags_saved=$CFLAGS
17915 CFLAGS="$CFLAGS -Wl,--build-id"
17916 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17917 /* end confdefs.h. */
17918 int main(int argc, char **argv) { return 0; }
17919 _ACEOF
17920 if ac_fn_c_try_link "$LINENO"; then :
17921 ac_cv_cflags__Wl___build_id=yes
17922 else
17923 ac_cv_cflags__Wl___build_id=no
17925 rm -f core conftest.err conftest.$ac_objext \
17926 conftest$ac_exeext conftest.$ac_ext
17927 CFLAGS=$ac_wine_try_cflags_saved
17929 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___build_id" >&5
17930 $as_echo "$ac_cv_cflags__Wl___build_id" >&6; }
17931 if test "x$ac_cv_cflags__Wl___build_id" = xyes; then :
17932 CFLAGS="$CFLAGS -Wl,--build-id"
17933 LDFLAGS="$LDFLAGS -Wl,--build-id"
17939 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the need to disable Fortify" >&5
17940 $as_echo_n "checking for the need to disable Fortify... " >&6; }
17941 if ${ac_cv_c_fortify_enabled+:} false; then :
17942 $as_echo_n "(cached) " >&6
17943 else
17944 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17945 /* end confdefs.h. */
17946 #include <string.h>
17948 main ()
17950 #if (defined(__USE_FORTIFY_LEVEL) && __USE_FORTIFY_LEVEL > 0) || (defined(_FORTIFY_SOURCE) && _FORTIFY_SOURCE > 0)
17951 #error Fortify enabled
17952 #endif
17954 return 0;
17956 _ACEOF
17957 if ac_fn_c_try_compile "$LINENO"; then :
17958 ac_cv_c_fortify_enabled=no
17959 else
17960 ac_cv_c_fortify_enabled=yes
17962 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17964 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_fortify_enabled" >&5
17965 $as_echo "$ac_cv_c_fortify_enabled" >&6; }
17966 if test "$ac_cv_c_fortify_enabled" = yes
17967 then
17968 CFLAGS="$CFLAGS -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=0"
17972 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether CFI directives are supported in assembly code" >&5
17973 $as_echo_n "checking whether CFI directives are supported in assembly code... " >&6; }
17974 if ${ac_cv_c_cfi_support+:} false; then :
17975 $as_echo_n "(cached) " >&6
17976 else
17977 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17978 /* end confdefs.h. */
17979 asm(".text\nac_test:\t.cfi_startproc\n\t.long 0\n\t.cfi_endproc");
17981 main ()
17985 return 0;
17987 _ACEOF
17988 if ac_fn_c_try_compile "$LINENO"; then :
17989 ac_cv_c_cfi_support="yes"
17990 else
17991 ac_cv_c_cfi_support="no"
17993 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17995 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_cfi_support" >&5
17996 $as_echo "$ac_cv_c_cfi_support" >&6; }
17997 if test "$ac_cv_c_cfi_support" = "yes"
17998 then
17999 DLLFLAGS="$DLLFLAGS -fasynchronous-unwind-tables"
18000 LDDLLFLAGS="$LDDLLFLAGS -fasynchronous-unwind-tables"
18001 else
18002 if test "x$enable_win64" = "xyes"
18003 then
18004 as_fn_append wine_warnings "|building 64-bit Wine without support for CFI directives; exception handling will not work properly."
18009 case $build_os in
18010 cygwin*|mingw32*) TOOLSEXT=".exe"
18012 esac
18014 case $host_os in
18015 linux*)
18016 case $host_cpu in
18017 *i[3456789]86*|x86_64*|*aarch64*)
18018 test "$wine_binary" = wine || wine_fn_append_file CONFIGURE_TARGETS "loader/wine-preloader"
18019 WINELOADER_PROGRAMS="$WINELOADER_PROGRAMS $wine_binary-preloader"
18021 esac
18023 esac
18026 ac_save_CFLAGS="$CFLAGS"
18027 CFLAGS="$CFLAGS $BUILTINFLAG"
18028 for ac_func in \
18029 __res_get_state \
18030 __res_getservers \
18031 _spawnvp \
18032 epoll_create \
18033 fnmatch \
18034 fork \
18035 fstatfs \
18036 futimens \
18037 futimes \
18038 futimesat \
18039 getattrlist \
18040 getauxval \
18041 getifaddrs \
18042 getopt_long_only \
18043 getrandom \
18044 kqueue \
18045 lstat \
18046 mach_continuous_time \
18047 pipe2 \
18048 poll \
18049 port_create \
18050 prctl \
18051 pread \
18052 proc_pidinfo \
18053 pwrite \
18054 readlink \
18055 sched_yield \
18056 setproctitle \
18057 setprogname \
18058 sigprocmask \
18059 symlink \
18060 tcdrain \
18061 thr_kill2
18063 do :
18064 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
18065 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
18066 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
18067 cat >>confdefs.h <<_ACEOF
18068 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
18069 _ACEOF
18072 done
18074 CFLAGS="$ac_save_CFLAGS"
18076 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing dlopen" >&5
18077 $as_echo_n "checking for library containing dlopen... " >&6; }
18078 if ${ac_cv_search_dlopen+:} false; then :
18079 $as_echo_n "(cached) " >&6
18080 else
18081 ac_func_search_save_LIBS=$LIBS
18082 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18083 /* end confdefs.h. */
18085 /* Override any GCC internal prototype to avoid an error.
18086 Use char because int might match the return type of a GCC
18087 builtin and then its argument prototype would still apply. */
18088 #ifdef __cplusplus
18089 extern "C"
18090 #endif
18091 char dlopen ();
18093 main ()
18095 return dlopen ();
18097 return 0;
18099 _ACEOF
18100 for ac_lib in '' dl; do
18101 if test -z "$ac_lib"; then
18102 ac_res="none required"
18103 else
18104 ac_res=-l$ac_lib
18105 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
18107 if ac_fn_c_try_link "$LINENO"; then :
18108 ac_cv_search_dlopen=$ac_res
18110 rm -f core conftest.err conftest.$ac_objext \
18111 conftest$ac_exeext
18112 if ${ac_cv_search_dlopen+:} false; then :
18113 break
18115 done
18116 if ${ac_cv_search_dlopen+:} false; then :
18118 else
18119 ac_cv_search_dlopen=no
18121 rm conftest.$ac_ext
18122 LIBS=$ac_func_search_save_LIBS
18124 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_dlopen" >&5
18125 $as_echo "$ac_cv_search_dlopen" >&6; }
18126 ac_res=$ac_cv_search_dlopen
18127 if test "$ac_res" != no; then :
18128 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
18132 ac_wine_check_funcs_save_LIBS="$LIBS"
18133 LIBS="$LIBS $DL_LIBS"
18134 for ac_func in dladdr dlinfo
18135 do :
18136 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
18137 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
18138 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
18139 cat >>confdefs.h <<_ACEOF
18140 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
18141 _ACEOF
18144 done
18146 LIBS="$ac_wine_check_funcs_save_LIBS"
18148 if test "$ac_cv_func_poll" = no
18149 then
18150 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for poll in -lpoll" >&5
18151 $as_echo_n "checking for poll in -lpoll... " >&6; }
18152 if ${ac_cv_lib_poll_poll+:} false; then :
18153 $as_echo_n "(cached) " >&6
18154 else
18155 ac_check_lib_save_LIBS=$LIBS
18156 LIBS="-lpoll $LIBS"
18157 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18158 /* end confdefs.h. */
18160 /* Override any GCC internal prototype to avoid an error.
18161 Use char because int might match the return type of a GCC
18162 builtin and then its argument prototype would still apply. */
18163 #ifdef __cplusplus
18164 extern "C"
18165 #endif
18166 char poll ();
18168 main ()
18170 return poll ();
18172 return 0;
18174 _ACEOF
18175 if ac_fn_c_try_link "$LINENO"; then :
18176 ac_cv_lib_poll_poll=yes
18177 else
18178 ac_cv_lib_poll_poll=no
18180 rm -f core conftest.err conftest.$ac_objext \
18181 conftest$ac_exeext conftest.$ac_ext
18182 LIBS=$ac_check_lib_save_LIBS
18184 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_poll_poll" >&5
18185 $as_echo "$ac_cv_lib_poll_poll" >&6; }
18186 if test "x$ac_cv_lib_poll_poll" = xyes; then :
18187 $as_echo "#define HAVE_POLL 1" >>confdefs.h
18188 POLL_LIBS="-lpoll"
18194 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing gethostbyname" >&5
18195 $as_echo_n "checking for library containing gethostbyname... " >&6; }
18196 if ${ac_cv_search_gethostbyname+:} false; then :
18197 $as_echo_n "(cached) " >&6
18198 else
18199 ac_func_search_save_LIBS=$LIBS
18200 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18201 /* end confdefs.h. */
18203 /* Override any GCC internal prototype to avoid an error.
18204 Use char because int might match the return type of a GCC
18205 builtin and then its argument prototype would still apply. */
18206 #ifdef __cplusplus
18207 extern "C"
18208 #endif
18209 char gethostbyname ();
18211 main ()
18213 return gethostbyname ();
18215 return 0;
18217 _ACEOF
18218 for ac_lib in '' nsl; do
18219 if test -z "$ac_lib"; then
18220 ac_res="none required"
18221 else
18222 ac_res=-l$ac_lib
18223 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
18225 if ac_fn_c_try_link "$LINENO"; then :
18226 ac_cv_search_gethostbyname=$ac_res
18228 rm -f core conftest.err conftest.$ac_objext \
18229 conftest$ac_exeext
18230 if ${ac_cv_search_gethostbyname+:} false; then :
18231 break
18233 done
18234 if ${ac_cv_search_gethostbyname+:} false; then :
18236 else
18237 ac_cv_search_gethostbyname=no
18239 rm conftest.$ac_ext
18240 LIBS=$ac_func_search_save_LIBS
18242 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gethostbyname" >&5
18243 $as_echo "$ac_cv_search_gethostbyname" >&6; }
18244 ac_res=$ac_cv_search_gethostbyname
18245 if test "$ac_res" != no; then :
18246 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
18251 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing connect" >&5
18252 $as_echo_n "checking for library containing connect... " >&6; }
18253 if ${ac_cv_search_connect+:} false; then :
18254 $as_echo_n "(cached) " >&6
18255 else
18256 ac_func_search_save_LIBS=$LIBS
18257 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18258 /* end confdefs.h. */
18260 /* Override any GCC internal prototype to avoid an error.
18261 Use char because int might match the return type of a GCC
18262 builtin and then its argument prototype would still apply. */
18263 #ifdef __cplusplus
18264 extern "C"
18265 #endif
18266 char connect ();
18268 main ()
18270 return connect ();
18272 return 0;
18274 _ACEOF
18275 for ac_lib in '' socket; do
18276 if test -z "$ac_lib"; then
18277 ac_res="none required"
18278 else
18279 ac_res=-l$ac_lib
18280 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
18282 if ac_fn_c_try_link "$LINENO"; then :
18283 ac_cv_search_connect=$ac_res
18285 rm -f core conftest.err conftest.$ac_objext \
18286 conftest$ac_exeext
18287 if ${ac_cv_search_connect+:} false; then :
18288 break
18290 done
18291 if ${ac_cv_search_connect+:} false; then :
18293 else
18294 ac_cv_search_connect=no
18296 rm conftest.$ac_ext
18297 LIBS=$ac_func_search_save_LIBS
18299 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_connect" >&5
18300 $as_echo "$ac_cv_search_connect" >&6; }
18301 ac_res=$ac_cv_search_connect
18302 if test "$ac_res" != no; then :
18303 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
18308 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing inet_aton" >&5
18309 $as_echo_n "checking for library containing inet_aton... " >&6; }
18310 if ${ac_cv_search_inet_aton+:} false; then :
18311 $as_echo_n "(cached) " >&6
18312 else
18313 ac_func_search_save_LIBS=$LIBS
18314 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18315 /* end confdefs.h. */
18317 /* Override any GCC internal prototype to avoid an error.
18318 Use char because int might match the return type of a GCC
18319 builtin and then its argument prototype would still apply. */
18320 #ifdef __cplusplus
18321 extern "C"
18322 #endif
18323 char inet_aton ();
18325 main ()
18327 return inet_aton ();
18329 return 0;
18331 _ACEOF
18332 for ac_lib in '' resolv; do
18333 if test -z "$ac_lib"; then
18334 ac_res="none required"
18335 else
18336 ac_res=-l$ac_lib
18337 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
18339 if ac_fn_c_try_link "$LINENO"; then :
18340 ac_cv_search_inet_aton=$ac_res
18342 rm -f core conftest.err conftest.$ac_objext \
18343 conftest$ac_exeext
18344 if ${ac_cv_search_inet_aton+:} false; then :
18345 break
18347 done
18348 if ${ac_cv_search_inet_aton+:} false; then :
18350 else
18351 ac_cv_search_inet_aton=no
18353 rm conftest.$ac_ext
18354 LIBS=$ac_func_search_save_LIBS
18356 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_inet_aton" >&5
18357 $as_echo "$ac_cv_search_inet_aton" >&6; }
18358 ac_res=$ac_cv_search_inet_aton
18359 if test "$ac_res" != no; then :
18360 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
18365 for ac_func in \
18366 getaddrinfo \
18367 getnameinfo \
18368 getservbyport \
18370 do :
18371 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
18372 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
18373 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
18374 cat >>confdefs.h <<_ACEOF
18375 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
18376 _ACEOF
18379 done
18382 case $host_os in
18383 darwin*|macosx*) ;;
18384 *) ac_save_LIBS=$LIBS
18385 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
18386 $as_echo_n "checking for library containing clock_gettime... " >&6; }
18387 if ${ac_cv_search_clock_gettime+:} false; then :
18388 $as_echo_n "(cached) " >&6
18389 else
18390 ac_func_search_save_LIBS=$LIBS
18391 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18392 /* end confdefs.h. */
18394 /* Override any GCC internal prototype to avoid an error.
18395 Use char because int might match the return type of a GCC
18396 builtin and then its argument prototype would still apply. */
18397 #ifdef __cplusplus
18398 extern "C"
18399 #endif
18400 char clock_gettime ();
18402 main ()
18404 return clock_gettime ();
18406 return 0;
18408 _ACEOF
18409 for ac_lib in '' rt; do
18410 if test -z "$ac_lib"; then
18411 ac_res="none required"
18412 else
18413 ac_res=-l$ac_lib
18414 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
18416 if ac_fn_c_try_link "$LINENO"; then :
18417 ac_cv_search_clock_gettime=$ac_res
18419 rm -f core conftest.err conftest.$ac_objext \
18420 conftest$ac_exeext
18421 if ${ac_cv_search_clock_gettime+:} false; then :
18422 break
18424 done
18425 if ${ac_cv_search_clock_gettime+:} false; then :
18427 else
18428 ac_cv_search_clock_gettime=no
18430 rm conftest.$ac_ext
18431 LIBS=$ac_func_search_save_LIBS
18433 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
18434 $as_echo "$ac_cv_search_clock_gettime" >&6; }
18435 ac_res=$ac_cv_search_clock_gettime
18436 if test "$ac_res" != no; then :
18437 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
18439 $as_echo "#define HAVE_CLOCK_GETTIME 1" >>confdefs.h
18441 test "$ac_res" = "none required" || RT_LIBS="$ac_res"
18445 LIBS=$ac_save_LIBS
18447 esac
18449 if test "x$with_ldap" != "xno"
18450 then
18451 if ${LDAP_CFLAGS:+false} :; then :
18452 if ${PKG_CONFIG+:} false; then :
18453 LDAP_CFLAGS=`$PKG_CONFIG --cflags openldap 2>/dev/null`
18457 if ${LDAP_LIBS:+false} :; then :
18458 if ${PKG_CONFIG+:} false; then :
18459 LDAP_LIBS=`$PKG_CONFIG --libs openldap 2>/dev/null`
18463 LDAP_LIBS=${LDAP_LIBS:-"-lldap_r -llber"}
18464 $as_echo "$as_me:${as_lineno-$LINENO}: openldap cflags: $LDAP_CFLAGS" >&5
18465 $as_echo "$as_me:${as_lineno-$LINENO}: openldap libs: $LDAP_LIBS" >&5
18466 ac_save_CPPFLAGS=$CPPFLAGS
18467 CPPFLAGS="$CPPFLAGS $LDAP_CFLAGS"
18468 for ac_header in ldap.h lber.h
18469 do :
18470 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
18471 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
18472 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
18473 cat >>confdefs.h <<_ACEOF
18474 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
18475 _ACEOF
18479 done
18481 if test "$ac_cv_header_ldap_h" = "yes" -a "$ac_cv_header_lber_h" = "yes"
18482 then
18483 ac_fn_c_check_type "$LINENO" "LDAPSortKey" "ac_cv_type_LDAPSortKey" "#include <ldap.h>
18485 if test "x$ac_cv_type_LDAPSortKey" = xyes; then :
18486 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldap_initialize in -lldap_r" >&5
18487 $as_echo_n "checking for ldap_initialize in -lldap_r... " >&6; }
18488 if ${ac_cv_lib_ldap_r_ldap_initialize+:} false; then :
18489 $as_echo_n "(cached) " >&6
18490 else
18491 ac_check_lib_save_LIBS=$LIBS
18492 LIBS="-lldap_r $PTHREAD_LIBS $LDAP_LIBS $LIBS"
18493 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18494 /* end confdefs.h. */
18496 /* Override any GCC internal prototype to avoid an error.
18497 Use char because int might match the return type of a GCC
18498 builtin and then its argument prototype would still apply. */
18499 #ifdef __cplusplus
18500 extern "C"
18501 #endif
18502 char ldap_initialize ();
18504 main ()
18506 return ldap_initialize ();
18508 return 0;
18510 _ACEOF
18511 if ac_fn_c_try_link "$LINENO"; then :
18512 ac_cv_lib_ldap_r_ldap_initialize=yes
18513 else
18514 ac_cv_lib_ldap_r_ldap_initialize=no
18516 rm -f core conftest.err conftest.$ac_objext \
18517 conftest$ac_exeext conftest.$ac_ext
18518 LIBS=$ac_check_lib_save_LIBS
18520 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ldap_r_ldap_initialize" >&5
18521 $as_echo "$ac_cv_lib_ldap_r_ldap_initialize" >&6; }
18522 if test "x$ac_cv_lib_ldap_r_ldap_initialize" = xyes; then :
18523 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ber_init in -llber" >&5
18524 $as_echo_n "checking for ber_init in -llber... " >&6; }
18525 if ${ac_cv_lib_lber_ber_init+:} false; then :
18526 $as_echo_n "(cached) " >&6
18527 else
18528 ac_check_lib_save_LIBS=$LIBS
18529 LIBS="-llber $PTHREAD_LIBS $LDAP_LIBS $LIBS"
18530 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18531 /* end confdefs.h. */
18533 /* Override any GCC internal prototype to avoid an error.
18534 Use char because int might match the return type of a GCC
18535 builtin and then its argument prototype would still apply. */
18536 #ifdef __cplusplus
18537 extern "C"
18538 #endif
18539 char ber_init ();
18541 main ()
18543 return ber_init ();
18545 return 0;
18547 _ACEOF
18548 if ac_fn_c_try_link "$LINENO"; then :
18549 ac_cv_lib_lber_ber_init=yes
18550 else
18551 ac_cv_lib_lber_ber_init=no
18553 rm -f core conftest.err conftest.$ac_objext \
18554 conftest$ac_exeext conftest.$ac_ext
18555 LIBS=$ac_check_lib_save_LIBS
18557 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lber_ber_init" >&5
18558 $as_echo "$ac_cv_lib_lber_ber_init" >&6; }
18559 if test "x$ac_cv_lib_lber_ber_init" = xyes; then :
18561 $as_echo "#define HAVE_LDAP 1" >>confdefs.h
18563 else
18564 LDAP_LIBS=""
18567 else
18568 LDAP_LIBS=""
18571 else
18572 LDAP_LIBS=""
18575 ac_wine_check_funcs_save_LIBS="$LIBS"
18576 LIBS="$LIBS $LDAP_LIBS $PTHREAD_LIBS"
18577 for ac_func in \
18578 ldap_count_references \
18579 ldap_first_reference \
18580 ldap_next_reference \
18581 ldap_parse_reference \
18582 ldap_parse_sort_control \
18583 ldap_parse_sortresponse_control \
18584 ldap_parse_vlv_control \
18585 ldap_parse_vlvresponse_control
18586 do :
18587 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
18588 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
18589 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
18590 cat >>confdefs.h <<_ACEOF
18591 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
18592 _ACEOF
18595 done
18597 LIBS="$ac_wine_check_funcs_save_LIBS"
18598 else
18599 LDAP_LIBS=""
18601 CPPFLAGS=$ac_save_CPPFLAGS
18604 if test "x$LDAP_LIBS" = "x"; then :
18605 case "x$with_ldap" in
18606 x) as_fn_append wine_notices "|libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported." ;;
18607 xno) ;;
18608 *) as_fn_error $? "libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported.
18609 This is an error since --with-ldap was requested." "$LINENO" 5 ;;
18610 esac
18614 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sched_setaffinity" >&5
18615 $as_echo_n "checking for sched_setaffinity... " >&6; }
18616 if ${wine_cv_have_sched_setaffinity+:} false; then :
18617 $as_echo_n "(cached) " >&6
18618 else
18619 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18620 /* end confdefs.h. */
18621 #define _GNU_SOURCE
18622 #include <sched.h>
18624 main ()
18626 sched_setaffinity(0, 0, 0);
18628 return 0;
18630 _ACEOF
18631 if ac_fn_c_try_link "$LINENO"; then :
18632 wine_cv_have_sched_setaffinity=yes
18633 else
18634 wine_cv_have_sched_setaffinity=no
18636 rm -f core conftest.err conftest.$ac_objext \
18637 conftest$ac_exeext conftest.$ac_ext
18639 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sched_setaffinity" >&5
18640 $as_echo "$wine_cv_have_sched_setaffinity" >&6; }
18641 if test "$wine_cv_have_sched_setaffinity" = "yes"
18642 then
18644 $as_echo "#define HAVE_SCHED_SETAFFINITY 1" >>confdefs.h
18648 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fallocate" >&5
18649 $as_echo_n "checking for fallocate... " >&6; }
18650 if ${wine_cv_have_fallocate+:} false; then :
18651 $as_echo_n "(cached) " >&6
18652 else
18653 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18654 /* end confdefs.h. */
18655 #define _GNU_SOURCE
18656 #include <fcntl.h>
18658 main ()
18660 fallocate(-1, 0, 0, 0);
18662 return 0;
18664 _ACEOF
18665 if ac_fn_c_try_link "$LINENO"; then :
18666 wine_cv_have_fallocate=yes
18667 else
18668 wine_cv_have_fallocate=no
18670 rm -f core conftest.err conftest.$ac_objext \
18671 conftest$ac_exeext conftest.$ac_ext
18673 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_fallocate" >&5
18674 $as_echo "$wine_cv_have_fallocate" >&6; }
18675 if test "$wine_cv_have_fallocate" = "yes"
18676 then
18678 $as_echo "#define HAVE_FALLOCATE 1" >>confdefs.h
18683 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
18684 $as_echo_n "checking for inline... " >&6; }
18685 if ${ac_cv_c_inline+:} false; then :
18686 $as_echo_n "(cached) " >&6
18687 else
18688 ac_cv_c_inline=no
18689 for ac_kw in inline __inline__ __inline; do
18690 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18691 /* end confdefs.h. */
18692 #ifndef __cplusplus
18693 typedef int foo_t;
18694 static $ac_kw foo_t static_foo () {return 0; }
18695 $ac_kw foo_t foo () {return 0; }
18696 #endif
18698 _ACEOF
18699 if ac_fn_c_try_compile "$LINENO"; then :
18700 ac_cv_c_inline=$ac_kw
18702 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18703 test "$ac_cv_c_inline" != no && break
18704 done
18707 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
18708 $as_echo "$ac_cv_c_inline" >&6; }
18710 case $ac_cv_c_inline in
18711 inline | yes) ;;
18713 case $ac_cv_c_inline in
18714 no) ac_val=;;
18715 *) ac_val=$ac_cv_c_inline;;
18716 esac
18717 cat >>confdefs.h <<_ACEOF
18718 #ifndef __cplusplus
18719 #define inline $ac_val
18720 #endif
18721 _ACEOF
18723 esac
18725 ac_fn_c_check_type "$LINENO" "sigset_t" "ac_cv_type_sigset_t" "#include <sys/types.h>
18726 #include <signal.h>
18728 if test "x$ac_cv_type_sigset_t" = xyes; then :
18730 cat >>confdefs.h <<_ACEOF
18731 #define HAVE_SIGSET_T 1
18732 _ACEOF
18737 ac_fn_c_check_type "$LINENO" "request_sense" "ac_cv_type_request_sense" "#include <linux/cdrom.h>
18739 if test "x$ac_cv_type_request_sense" = xyes; then :
18741 cat >>confdefs.h <<_ACEOF
18742 #define HAVE_REQUEST_SENSE 1
18743 _ACEOF
18749 ac_fn_c_check_type "$LINENO" "struct xinpgen" "ac_cv_type_struct_xinpgen" "#include <sys/types.h>
18750 #ifdef HAVE_SYS_SOCKET_H
18751 #include <sys/socket.h>
18752 #endif
18753 #ifdef HAVE_SYS_SOCKETVAR_H
18754 #include <sys/socketvar.h>
18755 #endif
18756 #ifdef HAVE_NET_ROUTE_H
18757 #include <net/route.h>
18758 #endif
18759 #ifdef HAVE_NETINET_IN_H
18760 #include <netinet/in.h>
18761 #endif
18762 #ifdef HAVE_NETINET_IN_SYSTM_H
18763 #include <netinet/in_systm.h>
18764 #endif
18765 #ifdef HAVE_NETINET_IP_H
18766 #include <netinet/ip.h>
18767 #endif
18768 #ifdef HAVE_NETINET_IN_PCB_H
18769 #include <netinet/in_pcb.h>
18770 #endif
18772 if test "x$ac_cv_type_struct_xinpgen" = xyes; then :
18774 cat >>confdefs.h <<_ACEOF
18775 #define HAVE_STRUCT_XINPGEN 1
18776 _ACEOF
18782 ac_fn_c_check_member "$LINENO" "struct ff_effect" "direction" "ac_cv_member_struct_ff_effect_direction" "#ifdef HAVE_LINUX_INPUT_H
18783 #include <linux/input.h>
18784 #endif
18786 if test "x$ac_cv_member_struct_ff_effect_direction" = xyes; then :
18788 cat >>confdefs.h <<_ACEOF
18789 #define HAVE_STRUCT_FF_EFFECT_DIRECTION 1
18790 _ACEOF
18796 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for if_nameindex" >&5
18797 $as_echo_n "checking for if_nameindex... " >&6; }
18798 if ${wine_cv_have_if_nameindex+:} false; then :
18799 $as_echo_n "(cached) " >&6
18800 else
18801 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18802 /* end confdefs.h. */
18803 #ifdef HAVE_SYS_TYPES_H
18804 #include <sys/types.h>
18805 #endif
18806 #ifdef HAVE_SYS_SOCKET_H
18807 #include <sys/socket.h>
18808 #endif
18809 #ifdef HAVE_NET_IF_H
18810 # include <net/if.h>
18811 #endif
18813 main ()
18815 struct if_nameindex *p = if_nameindex(); return p->if_index;
18817 return 0;
18819 _ACEOF
18820 if ac_fn_c_try_link "$LINENO"; then :
18821 wine_cv_have_if_nameindex=yes
18822 else
18823 wine_cv_have_if_nameindex=no
18825 rm -f core conftest.err conftest.$ac_objext \
18826 conftest$ac_exeext conftest.$ac_ext
18828 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_if_nameindex" >&5
18829 $as_echo "$wine_cv_have_if_nameindex" >&6; }
18830 if test "$wine_cv_have_if_nameindex" = "yes"
18831 then
18833 $as_echo "#define HAVE_IF_NAMEINDEX 1" >>confdefs.h
18837 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sigaddset" >&5
18838 $as_echo_n "checking for sigaddset... " >&6; }
18839 if ${wine_cv_have_sigaddset+:} false; then :
18840 $as_echo_n "(cached) " >&6
18841 else
18842 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18843 /* end confdefs.h. */
18844 #include <signal.h>
18846 main ()
18848 sigset_t set; sigaddset(&set,SIGTERM);
18850 return 0;
18852 _ACEOF
18853 if ac_fn_c_try_link "$LINENO"; then :
18854 wine_cv_have_sigaddset=yes
18855 else
18856 wine_cv_have_sigaddset=no
18858 rm -f core conftest.err conftest.$ac_objext \
18859 conftest$ac_exeext conftest.$ac_ext
18861 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sigaddset" >&5
18862 $as_echo "$wine_cv_have_sigaddset" >&6; }
18863 if test "$wine_cv_have_sigaddset" = "yes"
18864 then
18866 $as_echo "#define HAVE_SIGADDSET 1" >>confdefs.h
18871 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can use re-entrant gethostbyname_r Linux style" >&5
18872 $as_echo_n "checking whether we can use re-entrant gethostbyname_r Linux style... " >&6; }
18873 if ${wine_cv_linux_gethostbyname_r_6+:} false; then :
18874 $as_echo_n "(cached) " >&6
18875 else
18876 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18877 /* end confdefs.h. */
18878 #include <netdb.h>
18880 main ()
18883 char *name=0;
18884 struct hostent he;
18885 struct hostent *result;
18886 char *buf=0;
18887 int bufsize=0;
18888 int errnr;
18889 char *addr=0;
18890 int addrlen=0;
18891 int addrtype=0;
18892 gethostbyname_r(name,&he,buf,bufsize,&result,&errnr);
18893 gethostbyaddr_r(addr, addrlen, addrtype,&he,buf,bufsize,&result,&errnr);
18896 return 0;
18898 _ACEOF
18899 if ac_fn_c_try_link "$LINENO"; then :
18900 wine_cv_linux_gethostbyname_r_6=yes
18901 else
18902 wine_cv_linux_gethostbyname_r_6=no
18905 rm -f core conftest.err conftest.$ac_objext \
18906 conftest$ac_exeext conftest.$ac_ext
18909 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_gethostbyname_r_6" >&5
18910 $as_echo "$wine_cv_linux_gethostbyname_r_6" >&6; }
18911 if test "$wine_cv_linux_gethostbyname_r_6" = "yes"
18912 then
18914 $as_echo "#define HAVE_LINUX_GETHOSTBYNAME_R_6 1" >>confdefs.h
18918 if test "$ac_cv_header_linux_joystick_h" = "yes"
18919 then
18920 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether linux/joystick.h uses the Linux 2.2+ API" >&5
18921 $as_echo_n "checking whether linux/joystick.h uses the Linux 2.2+ API... " >&6; }
18922 if ${wine_cv_linux_joystick_22_api+:} false; then :
18923 $as_echo_n "(cached) " >&6
18924 else
18925 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18926 /* end confdefs.h. */
18928 #include <sys/ioctl.h>
18929 #include <sys/types.h>
18930 #include <linux/joystick.h>
18932 struct js_event blub;
18933 #if !defined(JS_EVENT_AXIS) || !defined(JS_EVENT_BUTTON)
18934 #error "no 2.2 header"
18935 #endif
18938 main ()
18940 /*empty*/
18942 return 0;
18944 _ACEOF
18945 if ac_fn_c_try_compile "$LINENO"; then :
18946 wine_cv_linux_joystick_22_api=yes
18947 else
18948 wine_cv_linux_joystick_22_api=no
18950 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18953 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_joystick_22_api" >&5
18954 $as_echo "$wine_cv_linux_joystick_22_api" >&6; }
18955 if test "$wine_cv_linux_joystick_22_api" = "yes"
18956 then
18958 $as_echo "#define HAVE_LINUX_22_JOYSTICK_API 1" >>confdefs.h
18963 ac_fn_c_check_member "$LINENO" "struct msghdr" "msg_accrights" "ac_cv_member_struct_msghdr_msg_accrights" "#include <sys/types.h>
18964 #ifdef HAVE_SYS_SOCKET_H
18965 # include <sys/socket.h>
18966 #endif
18967 #ifdef HAVE_SYS_UN_H
18968 # include <sys/un.h>
18969 #endif
18971 if test "x$ac_cv_member_struct_msghdr_msg_accrights" = xyes; then :
18973 cat >>confdefs.h <<_ACEOF
18974 #define HAVE_STRUCT_MSGHDR_MSG_ACCRIGHTS 1
18975 _ACEOF
18979 ac_fn_c_check_member "$LINENO" "struct sockaddr" "sa_len" "ac_cv_member_struct_sockaddr_sa_len" "#include <sys/types.h>
18980 #ifdef HAVE_SYS_SOCKET_H
18981 # include <sys/socket.h>
18982 #endif
18983 #ifdef HAVE_SYS_UN_H
18984 # include <sys/un.h>
18985 #endif
18987 if test "x$ac_cv_member_struct_sockaddr_sa_len" = xyes; then :
18989 cat >>confdefs.h <<_ACEOF
18990 #define HAVE_STRUCT_SOCKADDR_SA_LEN 1
18991 _ACEOF
18995 ac_fn_c_check_member "$LINENO" "struct sockaddr_un" "sun_len" "ac_cv_member_struct_sockaddr_un_sun_len" "#include <sys/types.h>
18996 #ifdef HAVE_SYS_SOCKET_H
18997 # include <sys/socket.h>
18998 #endif
18999 #ifdef HAVE_SYS_UN_H
19000 # include <sys/un.h>
19001 #endif
19003 if test "x$ac_cv_member_struct_sockaddr_un_sun_len" = xyes; then :
19005 cat >>confdefs.h <<_ACEOF
19006 #define HAVE_STRUCT_SOCKADDR_UN_SUN_LEN 1
19007 _ACEOF
19013 ac_fn_c_check_member "$LINENO" "scsireq_t" "cmd" "ac_cv_member_scsireq_t_cmd" "#include <sys/types.h>
19014 #ifdef HAVE_SCSI_SG_H
19015 #include <scsi/sg.h>
19016 #endif
19018 if test "x$ac_cv_member_scsireq_t_cmd" = xyes; then :
19020 cat >>confdefs.h <<_ACEOF
19021 #define HAVE_SCSIREQ_T_CMD 1
19022 _ACEOF
19026 ac_fn_c_check_member "$LINENO" "sg_io_hdr_t" "interface_id" "ac_cv_member_sg_io_hdr_t_interface_id" "#include <sys/types.h>
19027 #ifdef HAVE_SCSI_SG_H
19028 #include <scsi/sg.h>
19029 #endif
19031 if test "x$ac_cv_member_sg_io_hdr_t_interface_id" = xyes; then :
19033 cat >>confdefs.h <<_ACEOF
19034 #define HAVE_SG_IO_HDR_T_INTERFACE_ID 1
19035 _ACEOF
19041 ac_fn_c_check_member "$LINENO" "siginfo_t" "si_fd" "ac_cv_member_siginfo_t_si_fd" "#include <signal.h>
19043 if test "x$ac_cv_member_siginfo_t_si_fd" = xyes; then :
19045 cat >>confdefs.h <<_ACEOF
19046 #define HAVE_SIGINFO_T_SI_FD 1
19047 _ACEOF
19053 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_blksiz" "ac_cv_member_struct_mtget_mt_blksiz" "#include <sys/types.h>
19054 #ifdef HAVE_SYS_MTIO_H
19055 #include <sys/mtio.h>
19056 #endif
19058 if test "x$ac_cv_member_struct_mtget_mt_blksiz" = xyes; then :
19060 cat >>confdefs.h <<_ACEOF
19061 #define HAVE_STRUCT_MTGET_MT_BLKSIZ 1
19062 _ACEOF
19066 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_gstat" "ac_cv_member_struct_mtget_mt_gstat" "#include <sys/types.h>
19067 #ifdef HAVE_SYS_MTIO_H
19068 #include <sys/mtio.h>
19069 #endif
19071 if test "x$ac_cv_member_struct_mtget_mt_gstat" = xyes; then :
19073 cat >>confdefs.h <<_ACEOF
19074 #define HAVE_STRUCT_MTGET_MT_GSTAT 1
19075 _ACEOF
19079 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_blkno" "ac_cv_member_struct_mtget_mt_blkno" "#include <sys/types.h>
19080 #ifdef HAVE_SYS_MTIO_H
19081 #include <sys/mtio.h>
19082 #endif
19084 if test "x$ac_cv_member_struct_mtget_mt_blkno" = xyes; then :
19086 cat >>confdefs.h <<_ACEOF
19087 #define HAVE_STRUCT_MTGET_MT_BLKNO 1
19088 _ACEOF
19094 ac_fn_c_check_member "$LINENO" "struct option" "name" "ac_cv_member_struct_option_name" "#ifdef HAVE_GETOPT_H
19095 #include <getopt.h>
19096 #endif
19098 if test "x$ac_cv_member_struct_option_name" = xyes; then :
19100 cat >>confdefs.h <<_ACEOF
19101 #define HAVE_STRUCT_OPTION_NAME 1
19102 _ACEOF
19108 ac_fn_c_check_member "$LINENO" "struct stat" "st_blocks" "ac_cv_member_struct_stat_st_blocks" "$ac_includes_default"
19109 if test "x$ac_cv_member_struct_stat_st_blocks" = xyes; then :
19111 cat >>confdefs.h <<_ACEOF
19112 #define HAVE_STRUCT_STAT_ST_BLOCKS 1
19113 _ACEOF
19117 ac_fn_c_check_member "$LINENO" "struct stat" "st_mtim" "ac_cv_member_struct_stat_st_mtim" "$ac_includes_default"
19118 if test "x$ac_cv_member_struct_stat_st_mtim" = xyes; then :
19120 cat >>confdefs.h <<_ACEOF
19121 #define HAVE_STRUCT_STAT_ST_MTIM 1
19122 _ACEOF
19126 ac_fn_c_check_member "$LINENO" "struct stat" "st_mtimespec" "ac_cv_member_struct_stat_st_mtimespec" "$ac_includes_default"
19127 if test "x$ac_cv_member_struct_stat_st_mtimespec" = xyes; then :
19129 cat >>confdefs.h <<_ACEOF
19130 #define HAVE_STRUCT_STAT_ST_MTIMESPEC 1
19131 _ACEOF
19135 ac_fn_c_check_member "$LINENO" "struct stat" "st_ctim" "ac_cv_member_struct_stat_st_ctim" "$ac_includes_default"
19136 if test "x$ac_cv_member_struct_stat_st_ctim" = xyes; then :
19138 cat >>confdefs.h <<_ACEOF
19139 #define HAVE_STRUCT_STAT_ST_CTIM 1
19140 _ACEOF
19144 ac_fn_c_check_member "$LINENO" "struct stat" "st_ctimespec" "ac_cv_member_struct_stat_st_ctimespec" "$ac_includes_default"
19145 if test "x$ac_cv_member_struct_stat_st_ctimespec" = xyes; then :
19147 cat >>confdefs.h <<_ACEOF
19148 #define HAVE_STRUCT_STAT_ST_CTIMESPEC 1
19149 _ACEOF
19153 ac_fn_c_check_member "$LINENO" "struct stat" "st_atim" "ac_cv_member_struct_stat_st_atim" "$ac_includes_default"
19154 if test "x$ac_cv_member_struct_stat_st_atim" = xyes; then :
19156 cat >>confdefs.h <<_ACEOF
19157 #define HAVE_STRUCT_STAT_ST_ATIM 1
19158 _ACEOF
19162 ac_fn_c_check_member "$LINENO" "struct stat" "st_atimespec" "ac_cv_member_struct_stat_st_atimespec" "$ac_includes_default"
19163 if test "x$ac_cv_member_struct_stat_st_atimespec" = xyes; then :
19165 cat >>confdefs.h <<_ACEOF
19166 #define HAVE_STRUCT_STAT_ST_ATIMESPEC 1
19167 _ACEOF
19171 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtime" "ac_cv_member_struct_stat_st_birthtime" "$ac_includes_default"
19172 if test "x$ac_cv_member_struct_stat_st_birthtime" = xyes; then :
19174 cat >>confdefs.h <<_ACEOF
19175 #define HAVE_STRUCT_STAT_ST_BIRTHTIME 1
19176 _ACEOF
19180 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtim" "ac_cv_member_struct_stat_st_birthtim" "$ac_includes_default"
19181 if test "x$ac_cv_member_struct_stat_st_birthtim" = xyes; then :
19183 cat >>confdefs.h <<_ACEOF
19184 #define HAVE_STRUCT_STAT_ST_BIRTHTIM 1
19185 _ACEOF
19189 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtimespec" "ac_cv_member_struct_stat_st_birthtimespec" "$ac_includes_default"
19190 if test "x$ac_cv_member_struct_stat_st_birthtimespec" = xyes; then :
19192 cat >>confdefs.h <<_ACEOF
19193 #define HAVE_STRUCT_STAT_ST_BIRTHTIMESPEC 1
19194 _ACEOF
19198 ac_fn_c_check_member "$LINENO" "struct stat" "__st_birthtime" "ac_cv_member_struct_stat___st_birthtime" "$ac_includes_default"
19199 if test "x$ac_cv_member_struct_stat___st_birthtime" = xyes; then :
19201 cat >>confdefs.h <<_ACEOF
19202 #define HAVE_STRUCT_STAT___ST_BIRTHTIME 1
19203 _ACEOF
19207 ac_fn_c_check_member "$LINENO" "struct stat" "__st_birthtim" "ac_cv_member_struct_stat___st_birthtim" "$ac_includes_default"
19208 if test "x$ac_cv_member_struct_stat___st_birthtim" = xyes; then :
19210 cat >>confdefs.h <<_ACEOF
19211 #define HAVE_STRUCT_STAT___ST_BIRTHTIM 1
19212 _ACEOF
19218 ac_fn_c_check_member "$LINENO" "struct sockaddr_in6" "sin6_scope_id" "ac_cv_member_struct_sockaddr_in6_sin6_scope_id" "#ifdef HAVE_SYS_TYPES_H
19219 #include <sys/types.h>
19220 #endif
19221 #ifdef HAVE_NETINET_IN_H
19222 #include <netinet/in.h>
19223 #endif
19225 if test "x$ac_cv_member_struct_sockaddr_in6_sin6_scope_id" = xyes; then :
19227 cat >>confdefs.h <<_ACEOF
19228 #define HAVE_STRUCT_SOCKADDR_IN6_SIN6_SCOPE_ID 1
19229 _ACEOF
19235 ac_fn_c_check_type "$LINENO" "struct __res_state" "ac_cv_type_struct___res_state" "#ifdef HAVE_SYS_TYPES_H
19236 #include <sys/types.h>
19237 #endif
19238 #ifdef HAVE_NETINET_IN_H
19239 #include <netinet/in.h>
19240 #endif
19241 #ifdef HAVE_RESOLV_H
19242 #include <resolv.h>
19243 #endif
19245 if test "x$ac_cv_type_struct___res_state" = xyes; then :
19247 cat >>confdefs.h <<_ACEOF
19248 #define HAVE_STRUCT___RES_STATE 1
19249 _ACEOF
19255 ac_fn_c_check_member "$LINENO" "struct __res_state" "_u._ext.nscount6" "ac_cv_member_struct___res_state__u__ext_nscount6" "#ifdef HAVE_RESOLV_H
19256 #include <resolv.h>
19257 #endif
19259 if test "x$ac_cv_member_struct___res_state__u__ext_nscount6" = xyes; then :
19261 cat >>confdefs.h <<_ACEOF
19262 #define HAVE_STRUCT___RES_STATE__U__EXT_NSCOUNT6 1
19263 _ACEOF
19269 ac_fn_c_check_member "$LINENO" "ns_msg" "_msg_ptr" "ac_cv_member_ns_msg__msg_ptr" "#ifdef HAVE_SYS_TYPES_H
19270 #include <sys/types.h>
19271 #endif
19272 #ifdef HAVE_NETINET_IN_H
19273 # include <netinet/in.h>
19274 #endif
19275 #ifdef HAVE_ARPA_NAMESER_H
19276 # include <arpa/nameser.h>
19277 #endif
19279 if test "x$ac_cv_member_ns_msg__msg_ptr" = xyes; then :
19281 cat >>confdefs.h <<_ACEOF
19282 #define HAVE_NS_MSG__MSG_PTR 1
19283 _ACEOF
19289 ac_fn_c_check_member "$LINENO" "struct icmpstat" "icps_inhist" "ac_cv_member_struct_icmpstat_icps_inhist" "#ifdef HAVE_SYS_TYPES_H
19290 #include <sys/types.h>
19291 #endif
19292 #ifdef HAVE_NETINET_IN_H
19293 #include <netinet/in.h>
19294 #endif
19295 #ifdef HAVE_NETINET_IP_H
19296 #include <netinet/ip.h>
19297 #endif
19298 #ifdef HAVE_NETINET_IP_ICMP_H
19299 #include <netinet/ip_icmp.h>
19300 #endif
19301 #ifdef HAVE_NETINET_ICMP_VAR_H
19302 #include <netinet/icmp_var.h>
19303 #endif
19305 if test "x$ac_cv_member_struct_icmpstat_icps_inhist" = xyes; then :
19307 cat >>confdefs.h <<_ACEOF
19308 #define HAVE_STRUCT_ICMPSTAT_ICPS_INHIST 1
19309 _ACEOF
19315 ac_fn_c_check_member "$LINENO" "struct icmpstat" "icps_outhist" "ac_cv_member_struct_icmpstat_icps_outhist" "#ifdef HAVE_SYS_TYPES_H
19316 #include <sys/types.h>
19317 #endif
19318 #ifdef HAVE_ALIAS_H
19319 #include <alias.h>
19320 #endif
19321 #ifdef HAVE_SYS_SOCKET_H
19322 #include <sys/socket.h>
19323 #endif
19324 #ifdef HAVE_SYS_SOCKETVAR_H
19325 #include <sys/socketvar.h>
19326 #endif
19327 #ifdef HAVE_SYS_TIMEOUT_H
19328 #include <sys/timeout.h>
19329 #endif
19330 #ifdef HAVE_NETINET_IN_H
19331 #include <netinet/in.h>
19332 #endif
19333 #ifdef HAVE_NETINET_IN_SYSTM_H
19334 #include <netinet/in_systm.h>
19335 #endif
19336 #ifdef HAVE_NETINET_IP_H
19337 #include <netinet/ip.h>
19338 #endif
19339 #ifdef HAVE_NETINET_IP_VAR_H
19340 #include <netinet/ip_var.h>
19341 #endif
19342 #ifdef HAVE_NETINET_IP_ICMP_H
19343 #include <netinet/ip_icmp.h>
19344 #endif
19345 #ifdef HAVE_NETINET_ICMP_VAR_H
19346 #include <netinet/icmp_var.h>
19347 #endif
19349 if test "x$ac_cv_member_struct_icmpstat_icps_outhist" = xyes; then :
19351 cat >>confdefs.h <<_ACEOF
19352 #define HAVE_STRUCT_ICMPSTAT_ICPS_OUTHIST 1
19353 _ACEOF
19359 ac_fn_c_check_member "$LINENO" "struct ipstat" "ips_total" "ac_cv_member_struct_ipstat_ips_total" "#ifdef HAVE_SYS_TYPES_H
19360 #include <sys/types.h>
19361 #endif
19362 #ifdef HAVE_SYS_SOCKETVAR_H
19363 #include <sys/socketvar.h>
19364 #endif
19365 #ifdef HAVE_NETINET_IN_H
19366 #include <netinet/in.h>
19367 #endif
19368 #ifdef HAVE_NETINET_IP_VAR_H
19369 #include <netinet/ip_var.h>
19370 #endif
19372 if test "x$ac_cv_member_struct_ipstat_ips_total" = xyes; then :
19374 cat >>confdefs.h <<_ACEOF
19375 #define HAVE_STRUCT_IPSTAT_IPS_TOTAL 1
19376 _ACEOF
19382 ac_fn_c_check_member "$LINENO" "struct ip_stats" "ips_total" "ac_cv_member_struct_ip_stats_ips_total" "#ifdef HAVE_NETINET_IP_VAR_H
19383 #include <netinet/ip_var.h>
19384 #endif
19386 if test "x$ac_cv_member_struct_ip_stats_ips_total" = xyes; then :
19388 cat >>confdefs.h <<_ACEOF
19389 #define HAVE_STRUCT_IP_STATS_IPS_TOTAL 1
19390 _ACEOF
19396 ac_fn_c_check_member "$LINENO" "struct tcpstat" "tcps_connattempt" "ac_cv_member_struct_tcpstat_tcps_connattempt" "#ifdef HAVE_SYS_TYPES_H
19397 #include <sys/types.h>
19398 #endif
19399 #ifdef HAVE_SYS_SOCKETVAR_H
19400 #include <sys/socketvar.h>
19401 #endif
19402 #ifdef HAVE_NETINET_IN_H
19403 #include <netinet/in.h>
19404 #endif
19405 #ifdef HAVE_NETINET_TCP_H
19406 #include <netinet/tcp.h>
19407 #endif
19408 #ifdef HAVE_NETINET_TCP_VAR_H
19409 #include <netinet/tcp_var.h>
19410 #endif
19412 if test "x$ac_cv_member_struct_tcpstat_tcps_connattempt" = xyes; then :
19414 cat >>confdefs.h <<_ACEOF
19415 #define HAVE_STRUCT_TCPSTAT_TCPS_CONNATTEMPT 1
19416 _ACEOF
19422 ac_fn_c_check_member "$LINENO" "struct tcp_stats" "tcps_connattempt" "ac_cv_member_struct_tcp_stats_tcps_connattempt" "#ifdef HAVE_NETINET_TCP_VAR_H
19423 #include <netinet/tcp_var.h>
19424 #endif
19426 if test "x$ac_cv_member_struct_tcp_stats_tcps_connattempt" = xyes; then :
19428 cat >>confdefs.h <<_ACEOF
19429 #define HAVE_STRUCT_TCP_STATS_TCPS_CONNATTEMPT 1
19430 _ACEOF
19436 ac_fn_c_check_member "$LINENO" "struct udpstat" "udps_ipackets" "ac_cv_member_struct_udpstat_udps_ipackets" "#ifdef HAVE_SYS_TYPES_H
19437 #include <sys/types.h>
19438 #endif
19439 #ifdef HAVE_NETINET_IN_H
19440 #include <netinet/in.h>
19441 #endif
19442 #ifdef HAVE_NETINET_IP_VAR_H
19443 #include <netinet/ip_var.h>
19444 #endif
19445 #ifdef HAVE_NETINET_UDP_H
19446 #include <netinet/udp.h>
19447 #endif
19448 #ifdef HAVE_NETINET_UDP_VAR_H
19449 #include <netinet/udp_var.h>
19450 #endif
19452 if test "x$ac_cv_member_struct_udpstat_udps_ipackets" = xyes; then :
19454 cat >>confdefs.h <<_ACEOF
19455 #define HAVE_STRUCT_UDPSTAT_UDPS_IPACKETS 1
19456 _ACEOF
19462 ac_fn_c_check_member "$LINENO" "struct ifreq" "ifr_hwaddr" "ac_cv_member_struct_ifreq_ifr_hwaddr" "#ifdef HAVE_SYS_TYPES_H
19463 #include <sys/types.h>
19464 #endif
19465 #ifdef HAVE_NET_IF_H
19466 # include <net/if.h>
19467 #endif
19469 if test "x$ac_cv_member_struct_ifreq_ifr_hwaddr" = xyes; then :
19471 cat >>confdefs.h <<_ACEOF
19472 #define HAVE_STRUCT_IFREQ_IFR_HWADDR 1
19473 _ACEOF
19479 ac_fn_c_check_member "$LINENO" "struct sysinfo" "totalram" "ac_cv_member_struct_sysinfo_totalram" "#ifdef HAVE_SYS_SYSINFO_H
19480 # include <sys/sysinfo.h>
19481 #endif
19483 if test "x$ac_cv_member_struct_sysinfo_totalram" = xyes; then :
19485 cat >>confdefs.h <<_ACEOF
19486 #define HAVE_STRUCT_SYSINFO_TOTALRAM 1
19487 _ACEOF
19491 ac_fn_c_check_member "$LINENO" "struct sysinfo" "mem_unit" "ac_cv_member_struct_sysinfo_mem_unit" "#ifdef HAVE_SYS_SYSINFO_H
19492 # include <sys/sysinfo.h>
19493 #endif
19495 if test "x$ac_cv_member_struct_sysinfo_mem_unit" = xyes; then :
19497 cat >>confdefs.h <<_ACEOF
19498 #define HAVE_STRUCT_SYSINFO_MEM_UNIT 1
19499 _ACEOF
19505 ac_save_LIBS="$LIBS"
19506 LIBS="$LIBS -lm"
19507 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isfinite" >&5
19508 $as_echo_n "checking for isfinite... " >&6; }
19509 if ${ac_cv_have_isfinite+:} false; then :
19510 $as_echo_n "(cached) " >&6
19511 else
19512 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19513 /* end confdefs.h. */
19514 #define _GNU_SOURCE
19515 #include <math.h>
19517 main ()
19519 float f = 0.0; return isfinite(f)
19521 return 0;
19523 _ACEOF
19524 if ac_fn_c_try_link "$LINENO"; then :
19525 ac_cv_have_isfinite="yes"
19526 else
19527 ac_cv_have_isfinite="no"
19529 rm -f core conftest.err conftest.$ac_objext \
19530 conftest$ac_exeext conftest.$ac_ext
19532 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isfinite" >&5
19533 $as_echo "$ac_cv_have_isfinite" >&6; }
19534 if test "$ac_cv_have_isfinite" = "yes"
19535 then
19537 $as_echo "#define HAVE_ISFINITE 1" >>confdefs.h
19541 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf" >&5
19542 $as_echo_n "checking for isinf... " >&6; }
19543 if ${ac_cv_have_isinf+:} false; then :
19544 $as_echo_n "(cached) " >&6
19545 else
19546 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19547 /* end confdefs.h. */
19548 #include <math.h>
19550 main ()
19552 float f = 0.0; return isinf(f)
19554 return 0;
19556 _ACEOF
19557 if ac_fn_c_try_link "$LINENO"; then :
19558 ac_cv_have_isinf="yes"
19559 else
19560 ac_cv_have_isinf="no"
19562 rm -f core conftest.err conftest.$ac_objext \
19563 conftest$ac_exeext conftest.$ac_ext
19565 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isinf" >&5
19566 $as_echo "$ac_cv_have_isinf" >&6; }
19567 if test "$ac_cv_have_isinf" = "yes"
19568 then
19570 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
19574 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan" >&5
19575 $as_echo_n "checking for isnan... " >&6; }
19576 if ${ac_cv_have_isnan+:} false; then :
19577 $as_echo_n "(cached) " >&6
19578 else
19579 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19580 /* end confdefs.h. */
19581 #include <math.h>
19583 main ()
19585 float f = 0.0; return isnan(f)
19587 return 0;
19589 _ACEOF
19590 if ac_fn_c_try_link "$LINENO"; then :
19591 ac_cv_have_isnan="yes"
19592 else
19593 ac_cv_have_isnan="no"
19595 rm -f core conftest.err conftest.$ac_objext \
19596 conftest$ac_exeext conftest.$ac_ext
19598 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isnan" >&5
19599 $as_echo "$ac_cv_have_isnan" >&6; }
19600 if test "$ac_cv_have_isnan" = "yes"
19601 then
19603 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
19607 for ac_func in \
19608 acosh \
19609 acoshf \
19610 asinh \
19611 asinhf \
19612 atanh \
19613 atanhf \
19614 cbrt \
19615 cbrtf \
19616 erf \
19617 erfc \
19618 erfcf \
19619 erff \
19620 exp2 \
19621 exp2f \
19622 expm1 \
19623 expm1f \
19624 fma \
19625 fmaf \
19626 j0 \
19627 j1 \
19628 jn \
19629 lgamma \
19630 lgammaf \
19631 llrint \
19632 llrintf \
19633 llround \
19634 llroundf \
19635 log1p \
19636 log1pf \
19637 log2 \
19638 log2f \
19639 lrint \
19640 lrintf \
19641 lround \
19642 lroundf \
19643 nearbyint \
19644 nearbyintf \
19645 nexttoward \
19646 nexttowardf \
19647 remainder \
19648 remainderf \
19649 remquo \
19650 remquof \
19651 rint \
19652 rintf \
19653 round \
19654 roundf \
19655 tgamma \
19656 tgammaf \
19657 trunc \
19658 truncf \
19659 y0 \
19660 y1 \
19663 do :
19664 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
19665 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
19666 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
19667 cat >>confdefs.h <<_ACEOF
19668 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
19669 _ACEOF
19672 done
19674 LIBS="$ac_save_LIBS"
19676 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __builtin_popcount" >&5
19677 $as_echo_n "checking for __builtin_popcount... " >&6; }
19678 if ${ac_cv_have___builtin_popcount+:} false; then :
19679 $as_echo_n "(cached) " >&6
19680 else
19681 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19682 /* end confdefs.h. */
19685 main ()
19687 return __builtin_popcount(1)
19689 return 0;
19691 _ACEOF
19692 if ac_fn_c_try_link "$LINENO"; then :
19693 ac_cv_have___builtin_popcount="yes"
19694 else
19695 ac_cv_have___builtin_popcount="no"
19697 rm -f core conftest.err conftest.$ac_objext \
19698 conftest$ac_exeext conftest.$ac_ext
19700 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___builtin_popcount" >&5
19701 $as_echo "$ac_cv_have___builtin_popcount" >&6; }
19702 if test "$ac_cv_have___builtin_popcount" = "yes"
19703 then
19705 $as_echo "#define HAVE___BUILTIN_POPCOUNT 1" >>confdefs.h
19709 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __clear_cache" >&5
19710 $as_echo_n "checking for __clear_cache... " >&6; }
19711 if ${ac_cv_have___clear_cache+:} false; then :
19712 $as_echo_n "(cached) " >&6
19713 else
19714 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19715 /* end confdefs.h. */
19718 main ()
19720 __clear_cache((void*)0, (void*)0); return 0;
19722 return 0;
19724 _ACEOF
19725 if ac_fn_c_try_link "$LINENO"; then :
19726 ac_cv_have___clear_cache="yes"
19727 else
19728 ac_cv_have___clear_cache="no"
19730 rm -f core conftest.err conftest.$ac_objext \
19731 conftest$ac_exeext conftest.$ac_ext
19733 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___clear_cache" >&5
19734 $as_echo "$ac_cv_have___clear_cache" >&6; }
19735 if test "$ac_cv_have___clear_cache" = "yes"
19736 then
19738 $as_echo "#define HAVE___CLEAR_CACHE 1" >>confdefs.h
19743 case $host_cpu in
19744 *i[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __i386__" >&5
19745 $as_echo_n "checking whether we need to define __i386__... " >&6; }
19746 if ${ac_cv_cpp_def___i386__+:} false; then :
19747 $as_echo_n "(cached) " >&6
19748 else
19749 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19750 /* end confdefs.h. */
19751 #ifndef __i386__
19753 #endif
19754 _ACEOF
19755 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19756 $EGREP "yes" >/dev/null 2>&1; then :
19757 ac_cv_cpp_def___i386__=yes
19758 else
19759 ac_cv_cpp_def___i386__=no
19761 rm -f conftest*
19764 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___i386__" >&5
19765 $as_echo "$ac_cv_cpp_def___i386__" >&6; }
19766 if test "x$ac_cv_cpp_def___i386__" = xyes; then :
19767 CFLAGS="$CFLAGS -D__i386__"
19768 LINTFLAGS="$LINTFLAGS -D__i386__"
19769 fi ;;
19770 *x86_64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __x86_64__" >&5
19771 $as_echo_n "checking whether we need to define __x86_64__... " >&6; }
19772 if ${ac_cv_cpp_def___x86_64__+:} false; then :
19773 $as_echo_n "(cached) " >&6
19774 else
19775 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19776 /* end confdefs.h. */
19777 #ifndef __x86_64__
19779 #endif
19780 _ACEOF
19781 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19782 $EGREP "yes" >/dev/null 2>&1; then :
19783 ac_cv_cpp_def___x86_64__=yes
19784 else
19785 ac_cv_cpp_def___x86_64__=no
19787 rm -f conftest*
19790 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___x86_64__" >&5
19791 $as_echo "$ac_cv_cpp_def___x86_64__" >&6; }
19792 if test "x$ac_cv_cpp_def___x86_64__" = xyes; then :
19793 CFLAGS="$CFLAGS -D__x86_64__"
19794 LINTFLAGS="$LINTFLAGS -D__x86_64__"
19795 fi ;;
19796 *sparc64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc64__" >&5
19797 $as_echo_n "checking whether we need to define __sparc64__... " >&6; }
19798 if ${ac_cv_cpp_def___sparc64__+:} false; then :
19799 $as_echo_n "(cached) " >&6
19800 else
19801 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19802 /* end confdefs.h. */
19803 #ifndef __sparc64__
19805 #endif
19806 _ACEOF
19807 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19808 $EGREP "yes" >/dev/null 2>&1; then :
19809 ac_cv_cpp_def___sparc64__=yes
19810 else
19811 ac_cv_cpp_def___sparc64__=no
19813 rm -f conftest*
19816 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc64__" >&5
19817 $as_echo "$ac_cv_cpp_def___sparc64__" >&6; }
19818 if test "x$ac_cv_cpp_def___sparc64__" = xyes; then :
19819 CFLAGS="$CFLAGS -D__sparc64__"
19820 LINTFLAGS="$LINTFLAGS -D__sparc64__"
19821 fi ;;
19822 *sparc*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc__" >&5
19823 $as_echo_n "checking whether we need to define __sparc__... " >&6; }
19824 if ${ac_cv_cpp_def___sparc__+:} false; then :
19825 $as_echo_n "(cached) " >&6
19826 else
19827 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19828 /* end confdefs.h. */
19829 #ifndef __sparc__
19831 #endif
19832 _ACEOF
19833 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19834 $EGREP "yes" >/dev/null 2>&1; then :
19835 ac_cv_cpp_def___sparc__=yes
19836 else
19837 ac_cv_cpp_def___sparc__=no
19839 rm -f conftest*
19842 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc__" >&5
19843 $as_echo "$ac_cv_cpp_def___sparc__" >&6; }
19844 if test "x$ac_cv_cpp_def___sparc__" = xyes; then :
19845 CFLAGS="$CFLAGS -D__sparc__"
19846 LINTFLAGS="$LINTFLAGS -D__sparc__"
19847 fi ;;
19848 *powerpc64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc64__" >&5
19849 $as_echo_n "checking whether we need to define __powerpc64__... " >&6; }
19850 if ${ac_cv_cpp_def___powerpc64__+:} false; then :
19851 $as_echo_n "(cached) " >&6
19852 else
19853 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19854 /* end confdefs.h. */
19855 #ifndef __powerpc64__
19857 #endif
19858 _ACEOF
19859 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19860 $EGREP "yes" >/dev/null 2>&1; then :
19861 ac_cv_cpp_def___powerpc64__=yes
19862 else
19863 ac_cv_cpp_def___powerpc64__=no
19865 rm -f conftest*
19868 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc64__" >&5
19869 $as_echo "$ac_cv_cpp_def___powerpc64__" >&6; }
19870 if test "x$ac_cv_cpp_def___powerpc64__" = xyes; then :
19871 CFLAGS="$CFLAGS -D__powerpc64__"
19872 LINTFLAGS="$LINTFLAGS -D__powerpc64__"
19873 fi ;;
19874 *powerpc*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc__" >&5
19875 $as_echo_n "checking whether we need to define __powerpc__... " >&6; }
19876 if ${ac_cv_cpp_def___powerpc__+:} false; then :
19877 $as_echo_n "(cached) " >&6
19878 else
19879 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19880 /* end confdefs.h. */
19881 #ifndef __powerpc__
19883 #endif
19884 _ACEOF
19885 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19886 $EGREP "yes" >/dev/null 2>&1; then :
19887 ac_cv_cpp_def___powerpc__=yes
19888 else
19889 ac_cv_cpp_def___powerpc__=no
19891 rm -f conftest*
19894 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc__" >&5
19895 $as_echo "$ac_cv_cpp_def___powerpc__" >&6; }
19896 if test "x$ac_cv_cpp_def___powerpc__" = xyes; then :
19897 CFLAGS="$CFLAGS -D__powerpc__"
19898 LINTFLAGS="$LINTFLAGS -D__powerpc__"
19899 fi ;;
19900 *aarch64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __aarch64__" >&5
19901 $as_echo_n "checking whether we need to define __aarch64__... " >&6; }
19902 if ${ac_cv_cpp_def___aarch64__+:} false; then :
19903 $as_echo_n "(cached) " >&6
19904 else
19905 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19906 /* end confdefs.h. */
19907 #ifndef __aarch64__
19909 #endif
19910 _ACEOF
19911 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19912 $EGREP "yes" >/dev/null 2>&1; then :
19913 ac_cv_cpp_def___aarch64__=yes
19914 else
19915 ac_cv_cpp_def___aarch64__=no
19917 rm -f conftest*
19920 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___aarch64__" >&5
19921 $as_echo "$ac_cv_cpp_def___aarch64__" >&6; }
19922 if test "x$ac_cv_cpp_def___aarch64__" = xyes; then :
19923 CFLAGS="$CFLAGS -D__aarch64__"
19924 LINTFLAGS="$LINTFLAGS -D__aarch64__"
19925 fi ;;
19926 *arm*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __arm__" >&5
19927 $as_echo_n "checking whether we need to define __arm__... " >&6; }
19928 if ${ac_cv_cpp_def___arm__+:} false; then :
19929 $as_echo_n "(cached) " >&6
19930 else
19931 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19932 /* end confdefs.h. */
19933 #ifndef __arm__
19935 #endif
19936 _ACEOF
19937 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19938 $EGREP "yes" >/dev/null 2>&1; then :
19939 ac_cv_cpp_def___arm__=yes
19940 else
19941 ac_cv_cpp_def___arm__=no
19943 rm -f conftest*
19946 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___arm__" >&5
19947 $as_echo "$ac_cv_cpp_def___arm__" >&6; }
19948 if test "x$ac_cv_cpp_def___arm__" = xyes; then :
19949 CFLAGS="$CFLAGS -D__arm__"
19950 LINTFLAGS="$LINTFLAGS -D__arm__"
19951 fi ;;
19952 esac
19954 case $host_vendor in
19955 *sun*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sun__" >&5
19956 $as_echo_n "checking whether we need to define __sun__... " >&6; }
19957 if ${ac_cv_cpp_def___sun__+:} false; then :
19958 $as_echo_n "(cached) " >&6
19959 else
19960 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19961 /* end confdefs.h. */
19962 #ifndef __sun__
19964 #endif
19965 _ACEOF
19966 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19967 $EGREP "yes" >/dev/null 2>&1; then :
19968 ac_cv_cpp_def___sun__=yes
19969 else
19970 ac_cv_cpp_def___sun__=no
19972 rm -f conftest*
19975 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sun__" >&5
19976 $as_echo "$ac_cv_cpp_def___sun__" >&6; }
19977 if test "x$ac_cv_cpp_def___sun__" = xyes; then :
19978 CFLAGS="$CFLAGS -D__sun__"
19979 LINTFLAGS="$LINTFLAGS -D__sun__"
19980 fi ;;
19981 esac
19987 ac_config_commands="$ac_config_commands include/stamp-h"
19989 $as_echo_n "creating Makefile rules..." >&6
19991 ALL_VARS_RULES="I386_LIBS = $I386_LIBS
19992 OPENGL_LIBS = $OPENGL_LIBS
19993 COREFOUNDATION_LIBS = $COREFOUNDATION_LIBS
19994 IOKIT_LIBS = $IOKIT_LIBS
19995 FORCEFEEDBACK_LIBS = $FORCEFEEDBACK_LIBS
19996 APPLICATIONSERVICES_LIBS = $APPLICATIONSERVICES_LIBS
19997 CORESERVICES_LIBS = $CORESERVICES_LIBS
19998 APPKIT_LIBS = $APPKIT_LIBS
19999 SYSTEMCONFIGURATION_LIBS = $SYSTEMCONFIGURATION_LIBS
20000 DISKARBITRATION_LIBS = $DISKARBITRATION_LIBS
20001 SECURITY_LIBS = $SECURITY_LIBS
20002 COREAUDIO_LIBS = $COREAUDIO_LIBS
20003 OPENAL_LIBS = $OPENAL_LIBS
20004 OPENCL_LIBS = $OPENCL_LIBS
20005 QUICKTIME_LIBS = $QUICKTIME_LIBS
20006 CARBON_LIBS = $CARBON_LIBS
20007 METAL_LIBS = $METAL_LIBS
20008 EXCESS_PRECISION_CFLAGS = $EXCESS_PRECISION_CFLAGS
20009 PTHREAD_LIBS = $PTHREAD_LIBS
20010 X_CFLAGS = $X_CFLAGS
20011 X_PRE_LIBS = $X_PRE_LIBS
20012 X_LIBS = $X_LIBS
20013 X_EXTRA_LIBS = $X_EXTRA_LIBS
20014 PCAP_LIBS = $PCAP_LIBS
20015 XML2_CFLAGS = $XML2_CFLAGS
20016 XML2_LIBS = $XML2_LIBS
20017 XSLT_CFLAGS = $XSLT_CFLAGS
20018 XSLT_LIBS = $XSLT_LIBS
20019 INOTIFY_CFLAGS = $INOTIFY_CFLAGS
20020 INOTIFY_LIBS = $INOTIFY_LIBS
20021 DBUS_CFLAGS = $DBUS_CFLAGS
20022 DBUS_LIBS = $DBUS_LIBS
20023 HAL_CFLAGS = $HAL_CFLAGS
20024 HAL_LIBS = $HAL_LIBS
20025 GNUTLS_CFLAGS = $GNUTLS_CFLAGS
20026 GNUTLS_LIBS = $GNUTLS_LIBS
20027 SANE_CFLAGS = $SANE_CFLAGS
20028 SANE_LIBS = $SANE_LIBS
20029 USB_CFLAGS = $USB_CFLAGS
20030 USB_LIBS = $USB_LIBS
20031 GPHOTO2_CFLAGS = $GPHOTO2_CFLAGS
20032 GPHOTO2_LIBS = $GPHOTO2_LIBS
20033 GPHOTO2_PORT_CFLAGS = $GPHOTO2_PORT_CFLAGS
20034 GPHOTO2_PORT_LIBS = $GPHOTO2_PORT_LIBS
20035 RESOLV_LIBS = $RESOLV_LIBS
20036 LCMS2_CFLAGS = $LCMS2_CFLAGS
20037 LCMS2_LIBS = $LCMS2_LIBS
20038 FREETYPE_CFLAGS = $FREETYPE_CFLAGS
20039 FREETYPE_LIBS = $FREETYPE_LIBS
20040 GETTEXTPO_LIBS = $GETTEXTPO_LIBS
20041 PULSE_CFLAGS = $PULSE_CFLAGS
20042 PULSE_LIBS = $PULSE_LIBS
20043 GSTREAMER_CFLAGS = $GSTREAMER_CFLAGS
20044 GSTREAMER_LIBS = $GSTREAMER_LIBS
20045 ALSA_LIBS = $ALSA_LIBS
20046 OSS4_CFLAGS = $OSS4_CFLAGS
20047 OSS4_LIBS = $OSS4_LIBS
20048 UDEV_CFLAGS = $UDEV_CFLAGS
20049 UDEV_LIBS = $UDEV_LIBS
20050 UNWIND_CFLAGS = $UNWIND_CFLAGS
20051 UNWIND_LIBS = $UNWIND_LIBS
20052 SDL2_CFLAGS = $SDL2_CFLAGS
20053 SDL2_LIBS = $SDL2_LIBS
20054 FAUDIO_CFLAGS = $FAUDIO_CFLAGS
20055 FAUDIO_LIBS = $FAUDIO_LIBS
20056 CAPI20_CFLAGS = $CAPI20_CFLAGS
20057 CAPI20_LIBS = $CAPI20_LIBS
20058 CUPS_CFLAGS = $CUPS_CFLAGS
20059 CUPS_LIBS = $CUPS_LIBS
20060 FONTCONFIG_CFLAGS = $FONTCONFIG_CFLAGS
20061 FONTCONFIG_LIBS = $FONTCONFIG_LIBS
20062 KRB5_CFLAGS = $KRB5_CFLAGS
20063 KRB5_LIBS = $KRB5_LIBS
20064 GSSAPI_CFLAGS = $GSSAPI_CFLAGS
20065 GSSAPI_LIBS = $GSSAPI_LIBS
20066 JPEG_CFLAGS = $JPEG_CFLAGS
20067 JPEG_LIBS = $JPEG_LIBS
20068 JXRLIB_CFLAGS = $JXRLIB_CFLAGS
20069 JXRLIB_LIBS = $JXRLIB_LIBS
20070 PNG_CFLAGS = $PNG_CFLAGS
20071 PNG_LIBS = $PNG_LIBS
20072 TIFF_CFLAGS = $TIFF_CFLAGS
20073 TIFF_LIBS = $TIFF_LIBS
20074 MPG123_CFLAGS = $MPG123_CFLAGS
20075 MPG123_LIBS = $MPG123_LIBS
20076 KSTAT_LIBS = $KSTAT_LIBS
20077 PROCSTAT_LIBS = $PROCSTAT_LIBS
20078 NETAPI_CFLAGS = $NETAPI_CFLAGS
20079 NETAPI_LIBS = $NETAPI_LIBS
20080 VKD3D_CFLAGS = $VKD3D_CFLAGS
20081 VKD3D_LIBS = $VKD3D_LIBS
20082 VKD3D_SHADER_CFLAGS = $VKD3D_SHADER_CFLAGS
20083 VKD3D_SHADER_LIBS = $VKD3D_SHADER_LIBS
20084 POLL_LIBS = $POLL_LIBS
20085 RT_LIBS = $RT_LIBS
20086 LDAP_CFLAGS = $LDAP_CFLAGS
20087 LDAP_LIBS = $LDAP_LIBS
20091 makedep_flags=""
20092 test "x$enable_silent_rules" = xyes && makedep_flags="$makedep_flags -S"
20095 wine_fn_append_rule "
20096 # Rules automatically generated by configure
20098 .INIT: Makefile
20099 .MAKEFILEDEPS:
20100 all: Makefile
20101 Makefile: $srcdir/Makefile.in config.status \$(MAKEDEP)
20102 @./config.status Make.tmp Makefile
20103 depend: \$(MAKEDEP)
20104 \$(MAKEDEP)$makedep_flags
20105 dummy:
20106 .PHONY: depend dummy"
20108 ac_config_links="$ac_config_links wine:tools/winewrapper"
20109 wine_fn_config_symlink wine
20110 if test "x$enable_win64" != xno -o -n "$with_wine64"; then
20111 ac_config_links="$ac_config_links wine64:tools/winewrapper"
20112 wine_fn_config_symlink wine64
20115 wine_fn_config_makefile dlls/acledit enable_acledit
20116 wine_fn_config_makefile dlls/aclui enable_aclui
20117 wine_fn_config_makefile dlls/activeds.tlb enable_activeds_tlb
20118 wine_fn_config_makefile dlls/activeds enable_activeds
20119 wine_fn_config_makefile dlls/activeds/tests enable_tests
20120 wine_fn_config_makefile dlls/actxprxy enable_actxprxy
20121 wine_fn_config_makefile dlls/adsiid enable_adsiid
20122 wine_fn_config_makefile dlls/adsldp enable_adsldp
20123 wine_fn_config_makefile dlls/adsldp/tests enable_tests
20124 wine_fn_config_makefile dlls/adsldpc enable_adsldpc
20125 wine_fn_config_makefile dlls/advapi32 enable_advapi32
20126 wine_fn_config_makefile dlls/advapi32/tests enable_tests
20127 wine_fn_config_makefile dlls/advpack enable_advpack
20128 wine_fn_config_makefile dlls/advpack/tests enable_tests
20129 wine_fn_config_makefile dlls/amsi enable_amsi
20130 wine_fn_config_makefile dlls/amstream enable_amstream
20131 wine_fn_config_makefile dlls/amstream/tests enable_tests
20132 wine_fn_config_makefile dlls/api-ms-win-appmodel-identity-l1-1-0 enable_api_ms_win_appmodel_identity_l1_1_0
20133 wine_fn_config_makefile dlls/api-ms-win-appmodel-runtime-l1-1-1 enable_api_ms_win_appmodel_runtime_l1_1_1
20134 wine_fn_config_makefile dlls/api-ms-win-appmodel-runtime-l1-1-2 enable_api_ms_win_appmodel_runtime_l1_1_2
20135 wine_fn_config_makefile dlls/api-ms-win-core-apiquery-l1-1-0 enable_api_ms_win_core_apiquery_l1_1_0
20136 wine_fn_config_makefile dlls/api-ms-win-core-appcompat-l1-1-1 enable_api_ms_win_core_appcompat_l1_1_1
20137 wine_fn_config_makefile dlls/api-ms-win-core-appinit-l1-1-0 enable_api_ms_win_core_appinit_l1_1_0
20138 wine_fn_config_makefile dlls/api-ms-win-core-atoms-l1-1-0 enable_api_ms_win_core_atoms_l1_1_0
20139 wine_fn_config_makefile dlls/api-ms-win-core-bem-l1-1-0 enable_api_ms_win_core_bem_l1_1_0
20140 wine_fn_config_makefile dlls/api-ms-win-core-com-l1-1-0 enable_api_ms_win_core_com_l1_1_0
20141 wine_fn_config_makefile dlls/api-ms-win-core-com-l1-1-1 enable_api_ms_win_core_com_l1_1_1
20142 wine_fn_config_makefile dlls/api-ms-win-core-com-private-l1-1-0 enable_api_ms_win_core_com_private_l1_1_0
20143 wine_fn_config_makefile dlls/api-ms-win-core-comm-l1-1-0 enable_api_ms_win_core_comm_l1_1_0
20144 wine_fn_config_makefile dlls/api-ms-win-core-console-l1-1-0 enable_api_ms_win_core_console_l1_1_0
20145 wine_fn_config_makefile dlls/api-ms-win-core-console-l2-1-0 enable_api_ms_win_core_console_l2_1_0
20146 wine_fn_config_makefile dlls/api-ms-win-core-crt-l1-1-0 enable_api_ms_win_core_crt_l1_1_0
20147 wine_fn_config_makefile dlls/api-ms-win-core-crt-l2-1-0 enable_api_ms_win_core_crt_l2_1_0
20148 wine_fn_config_makefile dlls/api-ms-win-core-datetime-l1-1-0 enable_api_ms_win_core_datetime_l1_1_0
20149 wine_fn_config_makefile dlls/api-ms-win-core-datetime-l1-1-1 enable_api_ms_win_core_datetime_l1_1_1
20150 wine_fn_config_makefile dlls/api-ms-win-core-debug-l1-1-0 enable_api_ms_win_core_debug_l1_1_0
20151 wine_fn_config_makefile dlls/api-ms-win-core-debug-l1-1-1 enable_api_ms_win_core_debug_l1_1_1
20152 wine_fn_config_makefile dlls/api-ms-win-core-delayload-l1-1-0 enable_api_ms_win_core_delayload_l1_1_0
20153 wine_fn_config_makefile dlls/api-ms-win-core-delayload-l1-1-1 enable_api_ms_win_core_delayload_l1_1_1
20154 wine_fn_config_makefile dlls/api-ms-win-core-errorhandling-l1-1-0 enable_api_ms_win_core_errorhandling_l1_1_0
20155 wine_fn_config_makefile dlls/api-ms-win-core-errorhandling-l1-1-1 enable_api_ms_win_core_errorhandling_l1_1_1
20156 wine_fn_config_makefile dlls/api-ms-win-core-errorhandling-l1-1-2 enable_api_ms_win_core_errorhandling_l1_1_2
20157 wine_fn_config_makefile dlls/api-ms-win-core-errorhandling-l1-1-3 enable_api_ms_win_core_errorhandling_l1_1_3
20158 wine_fn_config_makefile dlls/api-ms-win-core-fibers-l1-1-0 enable_api_ms_win_core_fibers_l1_1_0
20159 wine_fn_config_makefile dlls/api-ms-win-core-fibers-l1-1-1 enable_api_ms_win_core_fibers_l1_1_1
20160 wine_fn_config_makefile dlls/api-ms-win-core-file-ansi-l2-1-0 enable_api_ms_win_core_file_ansi_l2_1_0
20161 wine_fn_config_makefile dlls/api-ms-win-core-file-fromapp-l1-1-0 enable_api_ms_win_core_file_fromapp_l1_1_0
20162 wine_fn_config_makefile dlls/api-ms-win-core-file-l1-1-0 enable_api_ms_win_core_file_l1_1_0
20163 wine_fn_config_makefile dlls/api-ms-win-core-file-l1-2-0 enable_api_ms_win_core_file_l1_2_0
20164 wine_fn_config_makefile dlls/api-ms-win-core-file-l1-2-1 enable_api_ms_win_core_file_l1_2_1
20165 wine_fn_config_makefile dlls/api-ms-win-core-file-l1-2-2 enable_api_ms_win_core_file_l1_2_2
20166 wine_fn_config_makefile dlls/api-ms-win-core-file-l2-1-0 enable_api_ms_win_core_file_l2_1_0
20167 wine_fn_config_makefile dlls/api-ms-win-core-file-l2-1-1 enable_api_ms_win_core_file_l2_1_1
20168 wine_fn_config_makefile dlls/api-ms-win-core-file-l2-1-2 enable_api_ms_win_core_file_l2_1_2
20169 wine_fn_config_makefile dlls/api-ms-win-core-handle-l1-1-0 enable_api_ms_win_core_handle_l1_1_0
20170 wine_fn_config_makefile dlls/api-ms-win-core-heap-l1-1-0 enable_api_ms_win_core_heap_l1_1_0
20171 wine_fn_config_makefile dlls/api-ms-win-core-heap-l1-2-0 enable_api_ms_win_core_heap_l1_2_0
20172 wine_fn_config_makefile dlls/api-ms-win-core-heap-l2-1-0 enable_api_ms_win_core_heap_l2_1_0
20173 wine_fn_config_makefile dlls/api-ms-win-core-heap-obsolete-l1-1-0 enable_api_ms_win_core_heap_obsolete_l1_1_0
20174 wine_fn_config_makefile dlls/api-ms-win-core-interlocked-l1-1-0 enable_api_ms_win_core_interlocked_l1_1_0
20175 wine_fn_config_makefile dlls/api-ms-win-core-interlocked-l1-2-0 enable_api_ms_win_core_interlocked_l1_2_0
20176 wine_fn_config_makefile dlls/api-ms-win-core-io-l1-1-0 enable_api_ms_win_core_io_l1_1_0
20177 wine_fn_config_makefile dlls/api-ms-win-core-io-l1-1-1 enable_api_ms_win_core_io_l1_1_1
20178 wine_fn_config_makefile dlls/api-ms-win-core-job-l1-1-0 enable_api_ms_win_core_job_l1_1_0
20179 wine_fn_config_makefile dlls/api-ms-win-core-job-l2-1-0 enable_api_ms_win_core_job_l2_1_0
20180 wine_fn_config_makefile dlls/api-ms-win-core-kernel32-legacy-l1-1-0 enable_api_ms_win_core_kernel32_legacy_l1_1_0
20181 wine_fn_config_makefile dlls/api-ms-win-core-kernel32-legacy-l1-1-1 enable_api_ms_win_core_kernel32_legacy_l1_1_1
20182 wine_fn_config_makefile dlls/api-ms-win-core-kernel32-legacy-l1-1-2 enable_api_ms_win_core_kernel32_legacy_l1_1_2
20183 wine_fn_config_makefile dlls/api-ms-win-core-kernel32-private-l1-1-1 enable_api_ms_win_core_kernel32_private_l1_1_1
20184 wine_fn_config_makefile dlls/api-ms-win-core-largeinteger-l1-1-0 enable_api_ms_win_core_largeinteger_l1_1_0
20185 wine_fn_config_makefile dlls/api-ms-win-core-libraryloader-l1-1-0 enable_api_ms_win_core_libraryloader_l1_1_0
20186 wine_fn_config_makefile dlls/api-ms-win-core-libraryloader-l1-1-1 enable_api_ms_win_core_libraryloader_l1_1_1
20187 wine_fn_config_makefile dlls/api-ms-win-core-libraryloader-l1-2-0 enable_api_ms_win_core_libraryloader_l1_2_0
20188 wine_fn_config_makefile dlls/api-ms-win-core-libraryloader-l1-2-1 enable_api_ms_win_core_libraryloader_l1_2_1
20189 wine_fn_config_makefile dlls/api-ms-win-core-libraryloader-l1-2-2 enable_api_ms_win_core_libraryloader_l1_2_2
20190 wine_fn_config_makefile dlls/api-ms-win-core-libraryloader-l2-1-0 enable_api_ms_win_core_libraryloader_l2_1_0
20191 wine_fn_config_makefile dlls/api-ms-win-core-localization-l1-1-0 enable_api_ms_win_core_localization_l1_1_0
20192 wine_fn_config_makefile dlls/api-ms-win-core-localization-l1-2-0 enable_api_ms_win_core_localization_l1_2_0
20193 wine_fn_config_makefile dlls/api-ms-win-core-localization-l1-2-1 enable_api_ms_win_core_localization_l1_2_1
20194 wine_fn_config_makefile dlls/api-ms-win-core-localization-l1-2-2 enable_api_ms_win_core_localization_l1_2_2
20195 wine_fn_config_makefile dlls/api-ms-win-core-localization-l2-1-0 enable_api_ms_win_core_localization_l2_1_0
20196 wine_fn_config_makefile dlls/api-ms-win-core-localization-obsolete-l1-1-0 enable_api_ms_win_core_localization_obsolete_l1_1_0
20197 wine_fn_config_makefile dlls/api-ms-win-core-localization-obsolete-l1-2-0 enable_api_ms_win_core_localization_obsolete_l1_2_0
20198 wine_fn_config_makefile dlls/api-ms-win-core-localization-obsolete-l1-3-0 enable_api_ms_win_core_localization_obsolete_l1_3_0
20199 wine_fn_config_makefile dlls/api-ms-win-core-localization-private-l1-1-0 enable_api_ms_win_core_localization_private_l1_1_0
20200 wine_fn_config_makefile dlls/api-ms-win-core-localregistry-l1-1-0 enable_api_ms_win_core_localregistry_l1_1_0
20201 wine_fn_config_makefile dlls/api-ms-win-core-memory-l1-1-0 enable_api_ms_win_core_memory_l1_1_0
20202 wine_fn_config_makefile dlls/api-ms-win-core-memory-l1-1-1 enable_api_ms_win_core_memory_l1_1_1
20203 wine_fn_config_makefile dlls/api-ms-win-core-memory-l1-1-2 enable_api_ms_win_core_memory_l1_1_2
20204 wine_fn_config_makefile dlls/api-ms-win-core-memory-l1-1-3 enable_api_ms_win_core_memory_l1_1_3
20205 wine_fn_config_makefile dlls/api-ms-win-core-memory-l1-1-4 enable_api_ms_win_core_memory_l1_1_4
20206 wine_fn_config_makefile dlls/api-ms-win-core-misc-l1-1-0 enable_api_ms_win_core_misc_l1_1_0
20207 wine_fn_config_makefile dlls/api-ms-win-core-namedpipe-ansi-l1-1-0 enable_api_ms_win_core_namedpipe_ansi_l1_1_0
20208 wine_fn_config_makefile dlls/api-ms-win-core-namedpipe-l1-1-0 enable_api_ms_win_core_namedpipe_l1_1_0
20209 wine_fn_config_makefile dlls/api-ms-win-core-namedpipe-l1-2-0 enable_api_ms_win_core_namedpipe_l1_2_0
20210 wine_fn_config_makefile dlls/api-ms-win-core-namespace-l1-1-0 enable_api_ms_win_core_namespace_l1_1_0
20211 wine_fn_config_makefile dlls/api-ms-win-core-normalization-l1-1-0 enable_api_ms_win_core_normalization_l1_1_0
20212 wine_fn_config_makefile dlls/api-ms-win-core-path-l1-1-0 enable_api_ms_win_core_path_l1_1_0
20213 wine_fn_config_makefile dlls/api-ms-win-core-privateprofile-l1-1-1 enable_api_ms_win_core_privateprofile_l1_1_1
20214 wine_fn_config_makefile dlls/api-ms-win-core-processenvironment-l1-1-0 enable_api_ms_win_core_processenvironment_l1_1_0
20215 wine_fn_config_makefile dlls/api-ms-win-core-processenvironment-l1-2-0 enable_api_ms_win_core_processenvironment_l1_2_0
20216 wine_fn_config_makefile dlls/api-ms-win-core-processthreads-l1-1-0 enable_api_ms_win_core_processthreads_l1_1_0
20217 wine_fn_config_makefile dlls/api-ms-win-core-processthreads-l1-1-1 enable_api_ms_win_core_processthreads_l1_1_1
20218 wine_fn_config_makefile dlls/api-ms-win-core-processthreads-l1-1-2 enable_api_ms_win_core_processthreads_l1_1_2
20219 wine_fn_config_makefile dlls/api-ms-win-core-processthreads-l1-1-3 enable_api_ms_win_core_processthreads_l1_1_3
20220 wine_fn_config_makefile dlls/api-ms-win-core-processtopology-obsolete-l1-1-0 enable_api_ms_win_core_processtopology_obsolete_l1_1_0
20221 wine_fn_config_makefile dlls/api-ms-win-core-profile-l1-1-0 enable_api_ms_win_core_profile_l1_1_0
20222 wine_fn_config_makefile dlls/api-ms-win-core-psapi-ansi-l1-1-0 enable_api_ms_win_core_psapi_ansi_l1_1_0
20223 wine_fn_config_makefile dlls/api-ms-win-core-psapi-l1-1-0 enable_api_ms_win_core_psapi_l1_1_0
20224 wine_fn_config_makefile dlls/api-ms-win-core-psapi-obsolete-l1-1-0 enable_api_ms_win_core_psapi_obsolete_l1_1_0
20225 wine_fn_config_makefile dlls/api-ms-win-core-quirks-l1-1-0 enable_api_ms_win_core_quirks_l1_1_0
20226 wine_fn_config_makefile dlls/api-ms-win-core-realtime-l1-1-0 enable_api_ms_win_core_realtime_l1_1_0
20227 wine_fn_config_makefile dlls/api-ms-win-core-registry-l1-1-0 enable_api_ms_win_core_registry_l1_1_0
20228 wine_fn_config_makefile dlls/api-ms-win-core-registry-l2-1-0 enable_api_ms_win_core_registry_l2_1_0
20229 wine_fn_config_makefile dlls/api-ms-win-core-registry-l2-2-0 enable_api_ms_win_core_registry_l2_2_0
20230 wine_fn_config_makefile dlls/api-ms-win-core-registryuserspecific-l1-1-0 enable_api_ms_win_core_registryuserspecific_l1_1_0
20231 wine_fn_config_makefile dlls/api-ms-win-core-rtlsupport-l1-1-0 enable_api_ms_win_core_rtlsupport_l1_1_0
20232 wine_fn_config_makefile dlls/api-ms-win-core-rtlsupport-l1-2-0 enable_api_ms_win_core_rtlsupport_l1_2_0
20233 wine_fn_config_makefile dlls/api-ms-win-core-shlwapi-legacy-l1-1-0 enable_api_ms_win_core_shlwapi_legacy_l1_1_0
20234 wine_fn_config_makefile dlls/api-ms-win-core-shlwapi-obsolete-l1-1-0 enable_api_ms_win_core_shlwapi_obsolete_l1_1_0
20235 wine_fn_config_makefile dlls/api-ms-win-core-shlwapi-obsolete-l1-2-0 enable_api_ms_win_core_shlwapi_obsolete_l1_2_0
20236 wine_fn_config_makefile dlls/api-ms-win-core-shutdown-l1-1-0 enable_api_ms_win_core_shutdown_l1_1_0
20237 wine_fn_config_makefile dlls/api-ms-win-core-sidebyside-l1-1-0 enable_api_ms_win_core_sidebyside_l1_1_0
20238 wine_fn_config_makefile dlls/api-ms-win-core-string-l1-1-0 enable_api_ms_win_core_string_l1_1_0
20239 wine_fn_config_makefile dlls/api-ms-win-core-string-l2-1-0 enable_api_ms_win_core_string_l2_1_0
20240 wine_fn_config_makefile dlls/api-ms-win-core-string-obsolete-l1-1-0 enable_api_ms_win_core_string_obsolete_l1_1_0
20241 wine_fn_config_makefile dlls/api-ms-win-core-stringansi-l1-1-0 enable_api_ms_win_core_stringansi_l1_1_0
20242 wine_fn_config_makefile dlls/api-ms-win-core-stringloader-l1-1-1 enable_api_ms_win_core_stringloader_l1_1_1
20243 wine_fn_config_makefile dlls/api-ms-win-core-synch-ansi-l1-1-0 enable_api_ms_win_core_synch_ansi_l1_1_0
20244 wine_fn_config_makefile dlls/api-ms-win-core-synch-l1-1-0 enable_api_ms_win_core_synch_l1_1_0
20245 wine_fn_config_makefile dlls/api-ms-win-core-synch-l1-2-0 enable_api_ms_win_core_synch_l1_2_0
20246 wine_fn_config_makefile dlls/api-ms-win-core-synch-l1-2-1 enable_api_ms_win_core_synch_l1_2_1
20247 wine_fn_config_makefile dlls/api-ms-win-core-sysinfo-l1-1-0 enable_api_ms_win_core_sysinfo_l1_1_0
20248 wine_fn_config_makefile dlls/api-ms-win-core-sysinfo-l1-2-0 enable_api_ms_win_core_sysinfo_l1_2_0
20249 wine_fn_config_makefile dlls/api-ms-win-core-sysinfo-l1-2-1 enable_api_ms_win_core_sysinfo_l1_2_1
20250 wine_fn_config_makefile dlls/api-ms-win-core-systemtopology-l1-1-0 enable_api_ms_win_core_systemtopology_l1_1_0
20251 wine_fn_config_makefile dlls/api-ms-win-core-threadpool-l1-1-0 enable_api_ms_win_core_threadpool_l1_1_0
20252 wine_fn_config_makefile dlls/api-ms-win-core-threadpool-l1-2-0 enable_api_ms_win_core_threadpool_l1_2_0
20253 wine_fn_config_makefile dlls/api-ms-win-core-threadpool-legacy-l1-1-0 enable_api_ms_win_core_threadpool_legacy_l1_1_0
20254 wine_fn_config_makefile dlls/api-ms-win-core-threadpool-private-l1-1-0 enable_api_ms_win_core_threadpool_private_l1_1_0
20255 wine_fn_config_makefile dlls/api-ms-win-core-timezone-l1-1-0 enable_api_ms_win_core_timezone_l1_1_0
20256 wine_fn_config_makefile dlls/api-ms-win-core-toolhelp-l1-1-0 enable_api_ms_win_core_toolhelp_l1_1_0
20257 wine_fn_config_makefile dlls/api-ms-win-core-url-l1-1-0 enable_api_ms_win_core_url_l1_1_0
20258 wine_fn_config_makefile dlls/api-ms-win-core-util-l1-1-0 enable_api_ms_win_core_util_l1_1_0
20259 wine_fn_config_makefile dlls/api-ms-win-core-version-l1-1-0 enable_api_ms_win_core_version_l1_1_0
20260 wine_fn_config_makefile dlls/api-ms-win-core-version-l1-1-1 enable_api_ms_win_core_version_l1_1_1
20261 wine_fn_config_makefile dlls/api-ms-win-core-version-private-l1-1-0 enable_api_ms_win_core_version_private_l1_1_0
20262 wine_fn_config_makefile dlls/api-ms-win-core-versionansi-l1-1-0 enable_api_ms_win_core_versionansi_l1_1_0
20263 wine_fn_config_makefile dlls/api-ms-win-core-windowserrorreporting-l1-1-0 enable_api_ms_win_core_windowserrorreporting_l1_1_0
20264 wine_fn_config_makefile dlls/api-ms-win-core-winrt-error-l1-1-0 enable_api_ms_win_core_winrt_error_l1_1_0
20265 wine_fn_config_makefile dlls/api-ms-win-core-winrt-error-l1-1-1 enable_api_ms_win_core_winrt_error_l1_1_1
20266 wine_fn_config_makefile dlls/api-ms-win-core-winrt-errorprivate-l1-1-1 enable_api_ms_win_core_winrt_errorprivate_l1_1_1
20267 wine_fn_config_makefile dlls/api-ms-win-core-winrt-l1-1-0 enable_api_ms_win_core_winrt_l1_1_0
20268 wine_fn_config_makefile dlls/api-ms-win-core-winrt-registration-l1-1-0 enable_api_ms_win_core_winrt_registration_l1_1_0
20269 wine_fn_config_makefile dlls/api-ms-win-core-winrt-roparameterizediid-l1-1-0 enable_api_ms_win_core_winrt_roparameterizediid_l1_1_0
20270 wine_fn_config_makefile dlls/api-ms-win-core-winrt-string-l1-1-0 enable_api_ms_win_core_winrt_string_l1_1_0
20271 wine_fn_config_makefile dlls/api-ms-win-core-winrt-string-l1-1-1 enable_api_ms_win_core_winrt_string_l1_1_1
20272 wine_fn_config_makefile dlls/api-ms-win-core-wow64-l1-1-0 enable_api_ms_win_core_wow64_l1_1_0
20273 wine_fn_config_makefile dlls/api-ms-win-core-wow64-l1-1-1 enable_api_ms_win_core_wow64_l1_1_1
20274 wine_fn_config_makefile dlls/api-ms-win-core-xstate-l1-1-0 enable_api_ms_win_core_xstate_l1_1_0
20275 wine_fn_config_makefile dlls/api-ms-win-core-xstate-l2-1-0 enable_api_ms_win_core_xstate_l2_1_0
20276 wine_fn_config_makefile dlls/api-ms-win-crt-conio-l1-1-0 enable_api_ms_win_crt_conio_l1_1_0
20277 wine_fn_config_makefile dlls/api-ms-win-crt-convert-l1-1-0 enable_api_ms_win_crt_convert_l1_1_0
20278 wine_fn_config_makefile dlls/api-ms-win-crt-environment-l1-1-0 enable_api_ms_win_crt_environment_l1_1_0
20279 wine_fn_config_makefile dlls/api-ms-win-crt-filesystem-l1-1-0 enable_api_ms_win_crt_filesystem_l1_1_0
20280 wine_fn_config_makefile dlls/api-ms-win-crt-heap-l1-1-0 enable_api_ms_win_crt_heap_l1_1_0
20281 wine_fn_config_makefile dlls/api-ms-win-crt-locale-l1-1-0 enable_api_ms_win_crt_locale_l1_1_0
20282 wine_fn_config_makefile dlls/api-ms-win-crt-math-l1-1-0 enable_api_ms_win_crt_math_l1_1_0
20283 wine_fn_config_makefile dlls/api-ms-win-crt-multibyte-l1-1-0 enable_api_ms_win_crt_multibyte_l1_1_0
20284 wine_fn_config_makefile dlls/api-ms-win-crt-private-l1-1-0 enable_api_ms_win_crt_private_l1_1_0
20285 wine_fn_config_makefile dlls/api-ms-win-crt-process-l1-1-0 enable_api_ms_win_crt_process_l1_1_0
20286 wine_fn_config_makefile dlls/api-ms-win-crt-runtime-l1-1-0 enable_api_ms_win_crt_runtime_l1_1_0
20287 wine_fn_config_makefile dlls/api-ms-win-crt-stdio-l1-1-0 enable_api_ms_win_crt_stdio_l1_1_0
20288 wine_fn_config_makefile dlls/api-ms-win-crt-string-l1-1-0 enable_api_ms_win_crt_string_l1_1_0
20289 wine_fn_config_makefile dlls/api-ms-win-crt-time-l1-1-0 enable_api_ms_win_crt_time_l1_1_0
20290 wine_fn_config_makefile dlls/api-ms-win-crt-utility-l1-1-0 enable_api_ms_win_crt_utility_l1_1_0
20291 wine_fn_config_makefile dlls/api-ms-win-devices-config-l1-1-0 enable_api_ms_win_devices_config_l1_1_0
20292 wine_fn_config_makefile dlls/api-ms-win-devices-config-l1-1-1 enable_api_ms_win_devices_config_l1_1_1
20293 wine_fn_config_makefile dlls/api-ms-win-devices-query-l1-1-1 enable_api_ms_win_devices_query_l1_1_1
20294 wine_fn_config_makefile dlls/api-ms-win-downlevel-advapi32-l1-1-0 enable_api_ms_win_downlevel_advapi32_l1_1_0
20295 wine_fn_config_makefile dlls/api-ms-win-downlevel-advapi32-l2-1-0 enable_api_ms_win_downlevel_advapi32_l2_1_0
20296 wine_fn_config_makefile dlls/api-ms-win-downlevel-kernel32-l2-1-0 enable_api_ms_win_downlevel_kernel32_l2_1_0
20297 wine_fn_config_makefile dlls/api-ms-win-downlevel-normaliz-l1-1-0 enable_api_ms_win_downlevel_normaliz_l1_1_0
20298 wine_fn_config_makefile dlls/api-ms-win-downlevel-ole32-l1-1-0 enable_api_ms_win_downlevel_ole32_l1_1_0
20299 wine_fn_config_makefile dlls/api-ms-win-downlevel-shell32-l1-1-0 enable_api_ms_win_downlevel_shell32_l1_1_0
20300 wine_fn_config_makefile dlls/api-ms-win-downlevel-shlwapi-l1-1-0 enable_api_ms_win_downlevel_shlwapi_l1_1_0
20301 wine_fn_config_makefile dlls/api-ms-win-downlevel-shlwapi-l2-1-0 enable_api_ms_win_downlevel_shlwapi_l2_1_0
20302 wine_fn_config_makefile dlls/api-ms-win-downlevel-user32-l1-1-0 enable_api_ms_win_downlevel_user32_l1_1_0
20303 wine_fn_config_makefile dlls/api-ms-win-downlevel-version-l1-1-0 enable_api_ms_win_downlevel_version_l1_1_0
20304 wine_fn_config_makefile dlls/api-ms-win-dx-d3dkmt-l1-1-0 enable_api_ms_win_dx_d3dkmt_l1_1_0
20305 wine_fn_config_makefile dlls/api-ms-win-eventing-classicprovider-l1-1-0 enable_api_ms_win_eventing_classicprovider_l1_1_0
20306 wine_fn_config_makefile dlls/api-ms-win-eventing-consumer-l1-1-0 enable_api_ms_win_eventing_consumer_l1_1_0
20307 wine_fn_config_makefile dlls/api-ms-win-eventing-controller-l1-1-0 enable_api_ms_win_eventing_controller_l1_1_0
20308 wine_fn_config_makefile dlls/api-ms-win-eventing-legacy-l1-1-0 enable_api_ms_win_eventing_legacy_l1_1_0
20309 wine_fn_config_makefile dlls/api-ms-win-eventing-provider-l1-1-0 enable_api_ms_win_eventing_provider_l1_1_0
20310 wine_fn_config_makefile dlls/api-ms-win-eventlog-legacy-l1-1-0 enable_api_ms_win_eventlog_legacy_l1_1_0
20311 wine_fn_config_makefile dlls/api-ms-win-gdi-dpiinfo-l1-1-0 enable_api_ms_win_gdi_dpiinfo_l1_1_0
20312 wine_fn_config_makefile dlls/api-ms-win-mm-joystick-l1-1-0 enable_api_ms_win_mm_joystick_l1_1_0
20313 wine_fn_config_makefile dlls/api-ms-win-mm-misc-l1-1-1 enable_api_ms_win_mm_misc_l1_1_1
20314 wine_fn_config_makefile dlls/api-ms-win-mm-mme-l1-1-0 enable_api_ms_win_mm_mme_l1_1_0
20315 wine_fn_config_makefile dlls/api-ms-win-mm-time-l1-1-0 enable_api_ms_win_mm_time_l1_1_0
20316 wine_fn_config_makefile dlls/api-ms-win-ntuser-dc-access-l1-1-0 enable_api_ms_win_ntuser_dc_access_l1_1_0
20317 wine_fn_config_makefile dlls/api-ms-win-ntuser-rectangle-l1-1-0 enable_api_ms_win_ntuser_rectangle_l1_1_0
20318 wine_fn_config_makefile dlls/api-ms-win-ntuser-sysparams-l1-1-0 enable_api_ms_win_ntuser_sysparams_l1_1_0
20319 wine_fn_config_makefile dlls/api-ms-win-perf-legacy-l1-1-0 enable_api_ms_win_perf_legacy_l1_1_0
20320 wine_fn_config_makefile dlls/api-ms-win-power-base-l1-1-0 enable_api_ms_win_power_base_l1_1_0
20321 wine_fn_config_makefile dlls/api-ms-win-power-setting-l1-1-0 enable_api_ms_win_power_setting_l1_1_0
20322 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-draw-l1-1-0 enable_api_ms_win_rtcore_ntuser_draw_l1_1_0
20323 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-private-l1-1-0 enable_api_ms_win_rtcore_ntuser_private_l1_1_0
20324 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-private-l1-1-4 enable_api_ms_win_rtcore_ntuser_private_l1_1_4
20325 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-window-l1-1-0 enable_api_ms_win_rtcore_ntuser_window_l1_1_0
20326 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-winevent-l1-1-0 enable_api_ms_win_rtcore_ntuser_winevent_l1_1_0
20327 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-wmpointer-l1-1-0 enable_api_ms_win_rtcore_ntuser_wmpointer_l1_1_0
20328 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-wmpointer-l1-1-3 enable_api_ms_win_rtcore_ntuser_wmpointer_l1_1_3
20329 wine_fn_config_makefile dlls/api-ms-win-security-activedirectoryclient-l1-1-0 enable_api_ms_win_security_activedirectoryclient_l1_1_0
20330 wine_fn_config_makefile dlls/api-ms-win-security-audit-l1-1-1 enable_api_ms_win_security_audit_l1_1_1
20331 wine_fn_config_makefile dlls/api-ms-win-security-base-l1-1-0 enable_api_ms_win_security_base_l1_1_0
20332 wine_fn_config_makefile dlls/api-ms-win-security-base-l1-2-0 enable_api_ms_win_security_base_l1_2_0
20333 wine_fn_config_makefile dlls/api-ms-win-security-base-private-l1-1-1 enable_api_ms_win_security_base_private_l1_1_1
20334 wine_fn_config_makefile dlls/api-ms-win-security-credentials-l1-1-0 enable_api_ms_win_security_credentials_l1_1_0
20335 wine_fn_config_makefile dlls/api-ms-win-security-cryptoapi-l1-1-0 enable_api_ms_win_security_cryptoapi_l1_1_0
20336 wine_fn_config_makefile dlls/api-ms-win-security-grouppolicy-l1-1-0 enable_api_ms_win_security_grouppolicy_l1_1_0
20337 wine_fn_config_makefile dlls/api-ms-win-security-lsalookup-l1-1-0 enable_api_ms_win_security_lsalookup_l1_1_0
20338 wine_fn_config_makefile dlls/api-ms-win-security-lsalookup-l1-1-1 enable_api_ms_win_security_lsalookup_l1_1_1
20339 wine_fn_config_makefile dlls/api-ms-win-security-lsalookup-l2-1-0 enable_api_ms_win_security_lsalookup_l2_1_0
20340 wine_fn_config_makefile dlls/api-ms-win-security-lsalookup-l2-1-1 enable_api_ms_win_security_lsalookup_l2_1_1
20341 wine_fn_config_makefile dlls/api-ms-win-security-lsapolicy-l1-1-0 enable_api_ms_win_security_lsapolicy_l1_1_0
20342 wine_fn_config_makefile dlls/api-ms-win-security-provider-l1-1-0 enable_api_ms_win_security_provider_l1_1_0
20343 wine_fn_config_makefile dlls/api-ms-win-security-sddl-l1-1-0 enable_api_ms_win_security_sddl_l1_1_0
20344 wine_fn_config_makefile dlls/api-ms-win-security-systemfunctions-l1-1-0 enable_api_ms_win_security_systemfunctions_l1_1_0
20345 wine_fn_config_makefile dlls/api-ms-win-service-core-l1-1-0 enable_api_ms_win_service_core_l1_1_0
20346 wine_fn_config_makefile dlls/api-ms-win-service-core-l1-1-1 enable_api_ms_win_service_core_l1_1_1
20347 wine_fn_config_makefile dlls/api-ms-win-service-management-l1-1-0 enable_api_ms_win_service_management_l1_1_0
20348 wine_fn_config_makefile dlls/api-ms-win-service-management-l2-1-0 enable_api_ms_win_service_management_l2_1_0
20349 wine_fn_config_makefile dlls/api-ms-win-service-private-l1-1-1 enable_api_ms_win_service_private_l1_1_1
20350 wine_fn_config_makefile dlls/api-ms-win-service-winsvc-l1-1-0 enable_api_ms_win_service_winsvc_l1_1_0
20351 wine_fn_config_makefile dlls/api-ms-win-service-winsvc-l1-2-0 enable_api_ms_win_service_winsvc_l1_2_0
20352 wine_fn_config_makefile dlls/api-ms-win-shcore-obsolete-l1-1-0 enable_api_ms_win_shcore_obsolete_l1_1_0
20353 wine_fn_config_makefile dlls/api-ms-win-shcore-scaling-l1-1-0 enable_api_ms_win_shcore_scaling_l1_1_0
20354 wine_fn_config_makefile dlls/api-ms-win-shcore-scaling-l1-1-1 enable_api_ms_win_shcore_scaling_l1_1_1
20355 wine_fn_config_makefile dlls/api-ms-win-shcore-stream-l1-1-0 enable_api_ms_win_shcore_stream_l1_1_0
20356 wine_fn_config_makefile dlls/api-ms-win-shcore-stream-winrt-l1-1-0 enable_api_ms_win_shcore_stream_winrt_l1_1_0
20357 wine_fn_config_makefile dlls/api-ms-win-shcore-thread-l1-1-0 enable_api_ms_win_shcore_thread_l1_1_0
20358 wine_fn_config_makefile dlls/api-ms-win-shell-shellcom-l1-1-0 enable_api_ms_win_shell_shellcom_l1_1_0
20359 wine_fn_config_makefile dlls/api-ms-win-shell-shellfolders-l1-1-0 enable_api_ms_win_shell_shellfolders_l1_1_0
20360 wine_fn_config_makefile dlls/apphelp enable_apphelp
20361 wine_fn_config_makefile dlls/apphelp/tests enable_tests
20362 wine_fn_config_makefile dlls/appwiz.cpl enable_appwiz_cpl
20363 wine_fn_config_makefile dlls/atl enable_atl
20364 wine_fn_config_makefile dlls/atl/tests enable_tests
20365 wine_fn_config_makefile dlls/atl100 enable_atl100
20366 wine_fn_config_makefile dlls/atl100/tests enable_tests
20367 wine_fn_config_makefile dlls/atl110 enable_atl110
20368 wine_fn_config_makefile dlls/atl80 enable_atl80
20369 wine_fn_config_makefile dlls/atl80/tests enable_tests
20370 wine_fn_config_makefile dlls/atl90 enable_atl90
20371 wine_fn_config_makefile dlls/atlthunk enable_atlthunk
20372 wine_fn_config_makefile dlls/atlthunk/tests enable_tests
20373 wine_fn_config_makefile dlls/atmlib enable_atmlib
20374 wine_fn_config_makefile dlls/authz enable_authz
20375 wine_fn_config_makefile dlls/avicap32 enable_avicap32
20376 wine_fn_config_makefile dlls/avifil32 enable_avifil32
20377 wine_fn_config_makefile dlls/avifil32/tests enable_tests
20378 wine_fn_config_makefile dlls/avifile.dll16 enable_win16
20379 wine_fn_config_makefile dlls/avrt enable_avrt
20380 wine_fn_config_makefile dlls/bcrypt enable_bcrypt
20381 wine_fn_config_makefile dlls/bcrypt/tests enable_tests
20382 wine_fn_config_makefile dlls/bluetoothapis enable_bluetoothapis
20383 wine_fn_config_makefile dlls/browseui enable_browseui
20384 wine_fn_config_makefile dlls/browseui/tests enable_tests
20385 wine_fn_config_makefile dlls/bthprops.cpl enable_bthprops_cpl
20386 wine_fn_config_makefile dlls/cabinet enable_cabinet
20387 wine_fn_config_makefile dlls/cabinet/tests enable_tests
20388 wine_fn_config_makefile dlls/capi2032 enable_capi2032
20389 wine_fn_config_makefile dlls/cards enable_cards
20390 wine_fn_config_makefile dlls/cdosys enable_cdosys
20391 wine_fn_config_makefile dlls/cfgmgr32 enable_cfgmgr32
20392 wine_fn_config_makefile dlls/clusapi enable_clusapi
20393 wine_fn_config_makefile dlls/combase enable_combase
20394 wine_fn_config_makefile dlls/combase/tests enable_tests
20395 wine_fn_config_makefile dlls/comcat enable_comcat
20396 wine_fn_config_makefile dlls/comcat/tests enable_tests
20397 wine_fn_config_makefile dlls/comctl32 enable_comctl32
20398 wine_fn_config_makefile dlls/comctl32/tests enable_tests
20399 wine_fn_config_makefile dlls/comdlg32 enable_comdlg32
20400 wine_fn_config_makefile dlls/comdlg32/tests enable_tests
20401 wine_fn_config_makefile dlls/comm.drv16 enable_win16
20402 wine_fn_config_makefile dlls/commdlg.dll16 enable_win16
20403 wine_fn_config_makefile dlls/compobj.dll16 enable_win16
20404 wine_fn_config_makefile dlls/compstui enable_compstui
20405 wine_fn_config_makefile dlls/comsvcs enable_comsvcs
20406 wine_fn_config_makefile dlls/comsvcs/tests enable_tests
20407 wine_fn_config_makefile dlls/concrt140 enable_concrt140
20408 wine_fn_config_makefile dlls/concrt140/tests enable_tests
20409 wine_fn_config_makefile dlls/connect enable_connect
20410 wine_fn_config_makefile dlls/credui enable_credui
20411 wine_fn_config_makefile dlls/credui/tests enable_tests
20412 wine_fn_config_makefile dlls/crtdll enable_crtdll
20413 wine_fn_config_makefile dlls/crypt32 enable_crypt32
20414 wine_fn_config_makefile dlls/crypt32/tests enable_tests
20415 wine_fn_config_makefile dlls/cryptdlg enable_cryptdlg
20416 wine_fn_config_makefile dlls/cryptdll enable_cryptdll
20417 wine_fn_config_makefile dlls/cryptext enable_cryptext
20418 wine_fn_config_makefile dlls/cryptnet enable_cryptnet
20419 wine_fn_config_makefile dlls/cryptnet/tests enable_tests
20420 wine_fn_config_makefile dlls/cryptsp enable_cryptsp
20421 wine_fn_config_makefile dlls/cryptui enable_cryptui
20422 wine_fn_config_makefile dlls/cryptui/tests enable_tests
20423 wine_fn_config_makefile dlls/ctapi32 enable_ctapi32
20424 wine_fn_config_makefile dlls/ctl3d.dll16 enable_win16
20425 wine_fn_config_makefile dlls/ctl3d32 enable_ctl3d32
20426 wine_fn_config_makefile dlls/ctl3dv2.dll16 enable_win16
20427 wine_fn_config_makefile dlls/d2d1 enable_d2d1
20428 wine_fn_config_makefile dlls/d2d1/tests enable_tests
20429 wine_fn_config_makefile dlls/d3d10 enable_d3d10
20430 wine_fn_config_makefile dlls/d3d10/tests enable_tests
20431 wine_fn_config_makefile dlls/d3d10_1 enable_d3d10_1
20432 wine_fn_config_makefile dlls/d3d10_1/tests enable_tests
20433 wine_fn_config_makefile dlls/d3d10core enable_d3d10core
20434 wine_fn_config_makefile dlls/d3d10core/tests enable_tests
20435 wine_fn_config_makefile dlls/d3d11 enable_d3d11
20436 wine_fn_config_makefile dlls/d3d11/tests enable_tests
20437 wine_fn_config_makefile dlls/d3d12 enable_d3d12
20438 wine_fn_config_makefile dlls/d3d12/tests enable_tests
20439 wine_fn_config_makefile dlls/d3d8 enable_d3d8
20440 wine_fn_config_makefile dlls/d3d8/tests enable_tests
20441 wine_fn_config_makefile dlls/d3d8thk enable_d3d8thk
20442 wine_fn_config_makefile dlls/d3d9 enable_d3d9
20443 wine_fn_config_makefile dlls/d3d9/tests enable_tests
20444 wine_fn_config_makefile dlls/d3dcompiler_33 enable_d3dcompiler_33
20445 wine_fn_config_makefile dlls/d3dcompiler_34 enable_d3dcompiler_34
20446 wine_fn_config_makefile dlls/d3dcompiler_35 enable_d3dcompiler_35
20447 wine_fn_config_makefile dlls/d3dcompiler_36 enable_d3dcompiler_36
20448 wine_fn_config_makefile dlls/d3dcompiler_37 enable_d3dcompiler_37
20449 wine_fn_config_makefile dlls/d3dcompiler_38 enable_d3dcompiler_38
20450 wine_fn_config_makefile dlls/d3dcompiler_39 enable_d3dcompiler_39
20451 wine_fn_config_makefile dlls/d3dcompiler_40 enable_d3dcompiler_40
20452 wine_fn_config_makefile dlls/d3dcompiler_41 enable_d3dcompiler_41
20453 wine_fn_config_makefile dlls/d3dcompiler_42 enable_d3dcompiler_42
20454 wine_fn_config_makefile dlls/d3dcompiler_43 enable_d3dcompiler_43
20455 wine_fn_config_makefile dlls/d3dcompiler_43/tests enable_tests
20456 wine_fn_config_makefile dlls/d3dcompiler_46 enable_d3dcompiler_46
20457 wine_fn_config_makefile dlls/d3dcompiler_47 enable_d3dcompiler_47
20458 wine_fn_config_makefile dlls/d3dcompiler_47/tests enable_tests
20459 wine_fn_config_makefile dlls/d3dim enable_d3dim
20460 wine_fn_config_makefile dlls/d3dim700 enable_d3dim700
20461 wine_fn_config_makefile dlls/d3drm enable_d3drm
20462 wine_fn_config_makefile dlls/d3drm/tests enable_tests
20463 wine_fn_config_makefile dlls/d3dx10_33 enable_d3dx10_33
20464 wine_fn_config_makefile dlls/d3dx10_34 enable_d3dx10_34
20465 wine_fn_config_makefile dlls/d3dx10_35 enable_d3dx10_35
20466 wine_fn_config_makefile dlls/d3dx10_36 enable_d3dx10_36
20467 wine_fn_config_makefile dlls/d3dx10_37 enable_d3dx10_37
20468 wine_fn_config_makefile dlls/d3dx10_38 enable_d3dx10_38
20469 wine_fn_config_makefile dlls/d3dx10_39 enable_d3dx10_39
20470 wine_fn_config_makefile dlls/d3dx10_40 enable_d3dx10_40
20471 wine_fn_config_makefile dlls/d3dx10_41 enable_d3dx10_41
20472 wine_fn_config_makefile dlls/d3dx10_42 enable_d3dx10_42
20473 wine_fn_config_makefile dlls/d3dx10_43 enable_d3dx10_43
20474 wine_fn_config_makefile dlls/d3dx10_43/tests enable_tests
20475 wine_fn_config_makefile dlls/d3dx11_42 enable_d3dx11_42
20476 wine_fn_config_makefile dlls/d3dx11_43 enable_d3dx11_43
20477 wine_fn_config_makefile dlls/d3dx11_43/tests enable_tests
20478 wine_fn_config_makefile dlls/d3dx9_24 enable_d3dx9_24
20479 wine_fn_config_makefile dlls/d3dx9_25 enable_d3dx9_25
20480 wine_fn_config_makefile dlls/d3dx9_26 enable_d3dx9_26
20481 wine_fn_config_makefile dlls/d3dx9_27 enable_d3dx9_27
20482 wine_fn_config_makefile dlls/d3dx9_28 enable_d3dx9_28
20483 wine_fn_config_makefile dlls/d3dx9_29 enable_d3dx9_29
20484 wine_fn_config_makefile dlls/d3dx9_30 enable_d3dx9_30
20485 wine_fn_config_makefile dlls/d3dx9_31 enable_d3dx9_31
20486 wine_fn_config_makefile dlls/d3dx9_32 enable_d3dx9_32
20487 wine_fn_config_makefile dlls/d3dx9_33 enable_d3dx9_33
20488 wine_fn_config_makefile dlls/d3dx9_34 enable_d3dx9_34
20489 wine_fn_config_makefile dlls/d3dx9_35 enable_d3dx9_35
20490 wine_fn_config_makefile dlls/d3dx9_36 enable_d3dx9_36
20491 wine_fn_config_makefile dlls/d3dx9_36/tests enable_tests
20492 wine_fn_config_makefile dlls/d3dx9_37 enable_d3dx9_37
20493 wine_fn_config_makefile dlls/d3dx9_38 enable_d3dx9_38
20494 wine_fn_config_makefile dlls/d3dx9_39 enable_d3dx9_39
20495 wine_fn_config_makefile dlls/d3dx9_40 enable_d3dx9_40
20496 wine_fn_config_makefile dlls/d3dx9_41 enable_d3dx9_41
20497 wine_fn_config_makefile dlls/d3dx9_42 enable_d3dx9_42
20498 wine_fn_config_makefile dlls/d3dx9_43 enable_d3dx9_43
20499 wine_fn_config_makefile dlls/d3dxof enable_d3dxof
20500 wine_fn_config_makefile dlls/d3dxof/tests enable_tests
20501 wine_fn_config_makefile dlls/davclnt enable_davclnt
20502 wine_fn_config_makefile dlls/dbgeng enable_dbgeng
20503 wine_fn_config_makefile dlls/dbgeng/tests enable_tests
20504 wine_fn_config_makefile dlls/dbghelp enable_dbghelp
20505 wine_fn_config_makefile dlls/dbghelp/tests enable_tests
20506 wine_fn_config_makefile dlls/dciman32 enable_dciman32
20507 wine_fn_config_makefile dlls/dcomp enable_dcomp
20508 wine_fn_config_makefile dlls/ddeml.dll16 enable_win16
20509 wine_fn_config_makefile dlls/ddraw enable_ddraw
20510 wine_fn_config_makefile dlls/ddraw/tests enable_tests
20511 wine_fn_config_makefile dlls/ddrawex enable_ddrawex
20512 wine_fn_config_makefile dlls/ddrawex/tests enable_tests
20513 wine_fn_config_makefile dlls/devenum enable_devenum
20514 wine_fn_config_makefile dlls/devenum/tests enable_tests
20515 wine_fn_config_makefile dlls/dhcpcsvc enable_dhcpcsvc
20516 wine_fn_config_makefile dlls/dhcpcsvc/tests enable_tests
20517 wine_fn_config_makefile dlls/dhtmled.ocx enable_dhtmled_ocx
20518 wine_fn_config_makefile dlls/difxapi enable_difxapi
20519 wine_fn_config_makefile dlls/dinput enable_dinput
20520 wine_fn_config_makefile dlls/dinput/tests enable_tests
20521 wine_fn_config_makefile dlls/dinput8 enable_dinput8
20522 wine_fn_config_makefile dlls/dinput8/tests enable_tests
20523 wine_fn_config_makefile dlls/directmanipulation enable_directmanipulation
20524 wine_fn_config_makefile dlls/directmanipulation/tests enable_tests
20525 wine_fn_config_makefile dlls/dispdib.dll16 enable_win16
20526 wine_fn_config_makefile dlls/dispex enable_dispex
20527 wine_fn_config_makefile dlls/dispex/tests enable_tests
20528 wine_fn_config_makefile dlls/display.drv16 enable_win16
20529 wine_fn_config_makefile dlls/dmband enable_dmband
20530 wine_fn_config_makefile dlls/dmband/tests enable_tests
20531 wine_fn_config_makefile dlls/dmcompos enable_dmcompos
20532 wine_fn_config_makefile dlls/dmcompos/tests enable_tests
20533 wine_fn_config_makefile dlls/dmime enable_dmime
20534 wine_fn_config_makefile dlls/dmime/tests enable_tests
20535 wine_fn_config_makefile dlls/dmloader enable_dmloader
20536 wine_fn_config_makefile dlls/dmloader/tests enable_tests
20537 wine_fn_config_makefile dlls/dmoguids enable_dmoguids
20538 wine_fn_config_makefile dlls/dmscript enable_dmscript
20539 wine_fn_config_makefile dlls/dmscript/tests enable_tests
20540 wine_fn_config_makefile dlls/dmstyle enable_dmstyle
20541 wine_fn_config_makefile dlls/dmstyle/tests enable_tests
20542 wine_fn_config_makefile dlls/dmsynth enable_dmsynth
20543 wine_fn_config_makefile dlls/dmsynth/tests enable_tests
20544 wine_fn_config_makefile dlls/dmusic enable_dmusic
20545 wine_fn_config_makefile dlls/dmusic/tests enable_tests
20546 wine_fn_config_makefile dlls/dmusic32 enable_dmusic32
20547 wine_fn_config_makefile dlls/dnsapi enable_dnsapi
20548 wine_fn_config_makefile dlls/dnsapi/tests enable_tests
20549 wine_fn_config_makefile dlls/dplay enable_dplay
20550 wine_fn_config_makefile dlls/dplayx enable_dplayx
20551 wine_fn_config_makefile dlls/dplayx/tests enable_tests
20552 wine_fn_config_makefile dlls/dpnaddr enable_dpnaddr
20553 wine_fn_config_makefile dlls/dpnet enable_dpnet
20554 wine_fn_config_makefile dlls/dpnet/tests enable_tests
20555 wine_fn_config_makefile dlls/dpnhpast enable_dpnhpast
20556 wine_fn_config_makefile dlls/dpnlobby enable_dpnlobby
20557 wine_fn_config_makefile dlls/dpvoice enable_dpvoice
20558 wine_fn_config_makefile dlls/dpvoice/tests enable_tests
20559 wine_fn_config_makefile dlls/dpwsockx enable_dpwsockx
20560 wine_fn_config_makefile dlls/drmclien enable_drmclien
20561 wine_fn_config_makefile dlls/dsdmo enable_dsdmo
20562 wine_fn_config_makefile dlls/dsdmo/tests enable_tests
20563 wine_fn_config_makefile dlls/dsound enable_dsound
20564 wine_fn_config_makefile dlls/dsound/tests enable_tests
20565 wine_fn_config_makefile dlls/dsquery enable_dsquery
20566 wine_fn_config_makefile dlls/dssenh enable_dssenh
20567 wine_fn_config_makefile dlls/dssenh/tests enable_tests
20568 wine_fn_config_makefile dlls/dsuiext enable_dsuiext
20569 wine_fn_config_makefile dlls/dswave enable_dswave
20570 wine_fn_config_makefile dlls/dswave/tests enable_tests
20571 wine_fn_config_makefile dlls/dwmapi enable_dwmapi
20572 wine_fn_config_makefile dlls/dwmapi/tests enable_tests
20573 wine_fn_config_makefile dlls/dwrite enable_dwrite
20574 wine_fn_config_makefile dlls/dwrite/tests enable_tests
20575 wine_fn_config_makefile dlls/dx8vb enable_dx8vb
20576 wine_fn_config_makefile dlls/dxdiagn enable_dxdiagn
20577 wine_fn_config_makefile dlls/dxdiagn/tests enable_tests
20578 wine_fn_config_makefile dlls/dxerr8 enable_dxerr8
20579 wine_fn_config_makefile dlls/dxerr9 enable_dxerr9
20580 wine_fn_config_makefile dlls/dxgi enable_dxgi
20581 wine_fn_config_makefile dlls/dxgi/tests enable_tests
20582 wine_fn_config_makefile dlls/dxguid enable_dxguid
20583 wine_fn_config_makefile dlls/dxva2 enable_dxva2
20584 wine_fn_config_makefile dlls/dxva2/tests enable_tests
20585 wine_fn_config_makefile dlls/esent enable_esent
20586 wine_fn_config_makefile dlls/evr enable_evr
20587 wine_fn_config_makefile dlls/evr/tests enable_tests
20588 wine_fn_config_makefile dlls/explorerframe enable_explorerframe
20589 wine_fn_config_makefile dlls/explorerframe/tests enable_tests
20590 wine_fn_config_makefile dlls/ext-ms-win-authz-context-l1-1-0 enable_ext_ms_win_authz_context_l1_1_0
20591 wine_fn_config_makefile dlls/ext-ms-win-domainjoin-netjoin-l1-1-0 enable_ext_ms_win_domainjoin_netjoin_l1_1_0
20592 wine_fn_config_makefile dlls/ext-ms-win-dwmapi-ext-l1-1-0 enable_ext_ms_win_dwmapi_ext_l1_1_0
20593 wine_fn_config_makefile dlls/ext-ms-win-gdi-dc-create-l1-1-0 enable_ext_ms_win_gdi_dc_create_l1_1_0
20594 wine_fn_config_makefile dlls/ext-ms-win-gdi-dc-create-l1-1-1 enable_ext_ms_win_gdi_dc_create_l1_1_1
20595 wine_fn_config_makefile dlls/ext-ms-win-gdi-dc-l1-2-0 enable_ext_ms_win_gdi_dc_l1_2_0
20596 wine_fn_config_makefile dlls/ext-ms-win-gdi-devcaps-l1-1-0 enable_ext_ms_win_gdi_devcaps_l1_1_0
20597 wine_fn_config_makefile dlls/ext-ms-win-gdi-draw-l1-1-0 enable_ext_ms_win_gdi_draw_l1_1_0
20598 wine_fn_config_makefile dlls/ext-ms-win-gdi-draw-l1-1-1 enable_ext_ms_win_gdi_draw_l1_1_1
20599 wine_fn_config_makefile dlls/ext-ms-win-gdi-font-l1-1-0 enable_ext_ms_win_gdi_font_l1_1_0
20600 wine_fn_config_makefile dlls/ext-ms-win-gdi-font-l1-1-1 enable_ext_ms_win_gdi_font_l1_1_1
20601 wine_fn_config_makefile dlls/ext-ms-win-gdi-render-l1-1-0 enable_ext_ms_win_gdi_render_l1_1_0
20602 wine_fn_config_makefile dlls/ext-ms-win-kernel32-package-current-l1-1-0 enable_ext_ms_win_kernel32_package_current_l1_1_0
20603 wine_fn_config_makefile dlls/ext-ms-win-kernel32-package-l1-1-1 enable_ext_ms_win_kernel32_package_l1_1_1
20604 wine_fn_config_makefile dlls/ext-ms-win-ntuser-dialogbox-l1-1-0 enable_ext_ms_win_ntuser_dialogbox_l1_1_0
20605 wine_fn_config_makefile dlls/ext-ms-win-ntuser-draw-l1-1-0 enable_ext_ms_win_ntuser_draw_l1_1_0
20606 wine_fn_config_makefile dlls/ext-ms-win-ntuser-gui-l1-1-0 enable_ext_ms_win_ntuser_gui_l1_1_0
20607 wine_fn_config_makefile dlls/ext-ms-win-ntuser-gui-l1-3-0 enable_ext_ms_win_ntuser_gui_l1_3_0
20608 wine_fn_config_makefile dlls/ext-ms-win-ntuser-keyboard-l1-3-0 enable_ext_ms_win_ntuser_keyboard_l1_3_0
20609 wine_fn_config_makefile dlls/ext-ms-win-ntuser-message-l1-1-0 enable_ext_ms_win_ntuser_message_l1_1_0
20610 wine_fn_config_makefile dlls/ext-ms-win-ntuser-message-l1-1-1 enable_ext_ms_win_ntuser_message_l1_1_1
20611 wine_fn_config_makefile dlls/ext-ms-win-ntuser-misc-l1-1-0 enable_ext_ms_win_ntuser_misc_l1_1_0
20612 wine_fn_config_makefile dlls/ext-ms-win-ntuser-misc-l1-2-0 enable_ext_ms_win_ntuser_misc_l1_2_0
20613 wine_fn_config_makefile dlls/ext-ms-win-ntuser-misc-l1-5-1 enable_ext_ms_win_ntuser_misc_l1_5_1
20614 wine_fn_config_makefile dlls/ext-ms-win-ntuser-mouse-l1-1-0 enable_ext_ms_win_ntuser_mouse_l1_1_0
20615 wine_fn_config_makefile dlls/ext-ms-win-ntuser-private-l1-1-1 enable_ext_ms_win_ntuser_private_l1_1_1
20616 wine_fn_config_makefile dlls/ext-ms-win-ntuser-private-l1-3-1 enable_ext_ms_win_ntuser_private_l1_3_1
20617 wine_fn_config_makefile dlls/ext-ms-win-ntuser-rectangle-ext-l1-1-0 enable_ext_ms_win_ntuser_rectangle_ext_l1_1_0
20618 wine_fn_config_makefile dlls/ext-ms-win-ntuser-uicontext-ext-l1-1-0 enable_ext_ms_win_ntuser_uicontext_ext_l1_1_0
20619 wine_fn_config_makefile dlls/ext-ms-win-ntuser-window-l1-1-0 enable_ext_ms_win_ntuser_window_l1_1_0
20620 wine_fn_config_makefile dlls/ext-ms-win-ntuser-window-l1-1-1 enable_ext_ms_win_ntuser_window_l1_1_1
20621 wine_fn_config_makefile dlls/ext-ms-win-ntuser-window-l1-1-4 enable_ext_ms_win_ntuser_window_l1_1_4
20622 wine_fn_config_makefile dlls/ext-ms-win-ntuser-windowclass-l1-1-0 enable_ext_ms_win_ntuser_windowclass_l1_1_0
20623 wine_fn_config_makefile dlls/ext-ms-win-ntuser-windowclass-l1-1-1 enable_ext_ms_win_ntuser_windowclass_l1_1_1
20624 wine_fn_config_makefile dlls/ext-ms-win-oleacc-l1-1-0 enable_ext_ms_win_oleacc_l1_1_0
20625 wine_fn_config_makefile dlls/ext-ms-win-ras-rasapi32-l1-1-0 enable_ext_ms_win_ras_rasapi32_l1_1_0
20626 wine_fn_config_makefile dlls/ext-ms-win-rtcore-gdi-devcaps-l1-1-0 enable_ext_ms_win_rtcore_gdi_devcaps_l1_1_0
20627 wine_fn_config_makefile dlls/ext-ms-win-rtcore-gdi-object-l1-1-0 enable_ext_ms_win_rtcore_gdi_object_l1_1_0
20628 wine_fn_config_makefile dlls/ext-ms-win-rtcore-gdi-rgn-l1-1-0 enable_ext_ms_win_rtcore_gdi_rgn_l1_1_0
20629 wine_fn_config_makefile dlls/ext-ms-win-rtcore-ntuser-cursor-l1-1-0 enable_ext_ms_win_rtcore_ntuser_cursor_l1_1_0
20630 wine_fn_config_makefile dlls/ext-ms-win-rtcore-ntuser-dc-access-l1-1-0 enable_ext_ms_win_rtcore_ntuser_dc_access_l1_1_0
20631 wine_fn_config_makefile dlls/ext-ms-win-rtcore-ntuser-dpi-l1-1-0 enable_ext_ms_win_rtcore_ntuser_dpi_l1_1_0
20632 wine_fn_config_makefile dlls/ext-ms-win-rtcore-ntuser-dpi-l1-2-0 enable_ext_ms_win_rtcore_ntuser_dpi_l1_2_0
20633 wine_fn_config_makefile dlls/ext-ms-win-rtcore-ntuser-rawinput-l1-1-0 enable_ext_ms_win_rtcore_ntuser_rawinput_l1_1_0
20634 wine_fn_config_makefile dlls/ext-ms-win-rtcore-ntuser-syscolors-l1-1-0 enable_ext_ms_win_rtcore_ntuser_syscolors_l1_1_0
20635 wine_fn_config_makefile dlls/ext-ms-win-rtcore-ntuser-sysparams-l1-1-0 enable_ext_ms_win_rtcore_ntuser_sysparams_l1_1_0
20636 wine_fn_config_makefile dlls/ext-ms-win-security-credui-l1-1-0 enable_ext_ms_win_security_credui_l1_1_0
20637 wine_fn_config_makefile dlls/ext-ms-win-security-cryptui-l1-1-0 enable_ext_ms_win_security_cryptui_l1_1_0
20638 wine_fn_config_makefile dlls/ext-ms-win-shell-comctl32-init-l1-1-0 enable_ext_ms_win_shell_comctl32_init_l1_1_0
20639 wine_fn_config_makefile dlls/ext-ms-win-shell-comdlg32-l1-1-0 enable_ext_ms_win_shell_comdlg32_l1_1_0
20640 wine_fn_config_makefile dlls/ext-ms-win-shell-shell32-l1-2-0 enable_ext_ms_win_shell_shell32_l1_2_0
20641 wine_fn_config_makefile dlls/ext-ms-win-uxtheme-themes-l1-1-0 enable_ext_ms_win_uxtheme_themes_l1_1_0
20642 wine_fn_config_makefile dlls/faultrep enable_faultrep
20643 wine_fn_config_makefile dlls/faultrep/tests enable_tests
20644 wine_fn_config_makefile dlls/feclient enable_feclient
20645 wine_fn_config_makefile dlls/fltlib enable_fltlib
20646 wine_fn_config_makefile dlls/fltmgr.sys enable_fltmgr_sys
20647 wine_fn_config_makefile dlls/fntcache enable_fntcache
20648 wine_fn_config_makefile dlls/fontsub enable_fontsub
20649 wine_fn_config_makefile dlls/fusion enable_fusion
20650 wine_fn_config_makefile dlls/fusion/tests enable_tests
20651 wine_fn_config_makefile dlls/fwpuclnt enable_fwpuclnt
20652 wine_fn_config_makefile dlls/gameux enable_gameux
20653 wine_fn_config_makefile dlls/gameux/tests enable_tests
20654 wine_fn_config_makefile dlls/gdi.exe16 enable_win16
20655 wine_fn_config_makefile dlls/gdi32 enable_gdi32
20656 wine_fn_config_makefile dlls/gdi32/tests enable_tests
20657 wine_fn_config_makefile dlls/gdiplus enable_gdiplus
20658 wine_fn_config_makefile dlls/gdiplus/tests enable_tests
20659 wine_fn_config_makefile dlls/glu32 enable_glu32
20660 wine_fn_config_makefile dlls/gphoto2.ds enable_gphoto2_ds
20661 wine_fn_config_makefile dlls/gpkcsp enable_gpkcsp
20662 wine_fn_config_makefile dlls/hal enable_hal
20663 wine_fn_config_makefile dlls/hhctrl.ocx enable_hhctrl_ocx
20664 wine_fn_config_makefile dlls/hid enable_hid
20665 wine_fn_config_makefile dlls/hid/tests enable_tests
20666 wine_fn_config_makefile dlls/hidclass.sys enable_hidclass_sys
20667 wine_fn_config_makefile dlls/hlink enable_hlink
20668 wine_fn_config_makefile dlls/hlink/tests enable_tests
20669 wine_fn_config_makefile dlls/hnetcfg enable_hnetcfg
20670 wine_fn_config_makefile dlls/hnetcfg/tests enable_tests
20671 wine_fn_config_makefile dlls/http.sys enable_http_sys
20672 wine_fn_config_makefile dlls/httpapi enable_httpapi
20673 wine_fn_config_makefile dlls/httpapi/tests enable_tests
20674 wine_fn_config_makefile dlls/iccvid enable_iccvid
20675 wine_fn_config_makefile dlls/icmp enable_icmp
20676 wine_fn_config_makefile dlls/ieframe enable_ieframe
20677 wine_fn_config_makefile dlls/ieframe/tests enable_tests
20678 wine_fn_config_makefile dlls/ieproxy enable_ieproxy
20679 wine_fn_config_makefile dlls/ifsmgr.vxd enable_win16
20680 wine_fn_config_makefile dlls/imaadp32.acm enable_imaadp32_acm
20681 wine_fn_config_makefile dlls/imagehlp enable_imagehlp
20682 wine_fn_config_makefile dlls/imagehlp/tests enable_tests
20683 wine_fn_config_makefile dlls/imm.dll16 enable_win16
20684 wine_fn_config_makefile dlls/imm32 enable_imm32
20685 wine_fn_config_makefile dlls/imm32/tests enable_tests
20686 wine_fn_config_makefile dlls/inetcomm enable_inetcomm
20687 wine_fn_config_makefile dlls/inetcomm/tests enable_tests
20688 wine_fn_config_makefile dlls/inetcpl.cpl enable_inetcpl_cpl
20689 wine_fn_config_makefile dlls/inetmib1 enable_inetmib1
20690 wine_fn_config_makefile dlls/inetmib1/tests enable_tests
20691 wine_fn_config_makefile dlls/infosoft enable_infosoft
20692 wine_fn_config_makefile dlls/infosoft/tests enable_tests
20693 wine_fn_config_makefile dlls/initpki enable_initpki
20694 wine_fn_config_makefile dlls/inkobj enable_inkobj
20695 wine_fn_config_makefile dlls/inseng enable_inseng
20696 wine_fn_config_makefile dlls/iphlpapi enable_iphlpapi
20697 wine_fn_config_makefile dlls/iphlpapi/tests enable_tests
20698 wine_fn_config_makefile dlls/iprop enable_iprop
20699 wine_fn_config_makefile dlls/irprops.cpl enable_irprops_cpl
20700 wine_fn_config_makefile dlls/itircl enable_itircl
20701 wine_fn_config_makefile dlls/itss enable_itss
20702 wine_fn_config_makefile dlls/itss/tests enable_tests
20703 wine_fn_config_makefile dlls/joy.cpl enable_joy_cpl
20704 wine_fn_config_makefile dlls/jscript enable_jscript
20705 wine_fn_config_makefile dlls/jscript/tests enable_tests
20706 wine_fn_config_makefile dlls/jsproxy enable_jsproxy
20707 wine_fn_config_makefile dlls/jsproxy/tests enable_tests
20708 wine_fn_config_makefile dlls/kerberos enable_kerberos
20709 wine_fn_config_makefile dlls/kernel32 enable_kernel32
20710 wine_fn_config_makefile dlls/kernel32/tests enable_tests
20711 wine_fn_config_makefile dlls/kernelbase enable_kernelbase
20712 wine_fn_config_makefile dlls/kernelbase/tests enable_tests
20713 wine_fn_config_makefile dlls/keyboard.drv16 enable_win16
20714 wine_fn_config_makefile dlls/krnl386.exe16 enable_win16
20715 wine_fn_config_makefile dlls/ksecdd.sys enable_ksecdd_sys
20716 wine_fn_config_makefile dlls/ksproxy.ax enable_ksproxy_ax
20717 wine_fn_config_makefile dlls/ksuser enable_ksuser
20718 wine_fn_config_makefile dlls/ktmw32 enable_ktmw32
20719 wine_fn_config_makefile dlls/l3codeca.acm enable_l3codeca_acm
20720 wine_fn_config_makefile dlls/loadperf enable_loadperf
20721 wine_fn_config_makefile dlls/localspl enable_localspl
20722 wine_fn_config_makefile dlls/localspl/tests enable_tests
20723 wine_fn_config_makefile dlls/localui enable_localui
20724 wine_fn_config_makefile dlls/localui/tests enable_tests
20725 wine_fn_config_makefile dlls/lz32 enable_lz32
20726 wine_fn_config_makefile dlls/lz32/tests enable_tests
20727 wine_fn_config_makefile dlls/lzexpand.dll16 enable_win16
20728 wine_fn_config_makefile dlls/mapi32 enable_mapi32
20729 wine_fn_config_makefile dlls/mapi32/tests enable_tests
20730 wine_fn_config_makefile dlls/mapistub enable_mapistub
20731 wine_fn_config_makefile dlls/mciavi32 enable_mciavi32
20732 wine_fn_config_makefile dlls/mcicda enable_mcicda
20733 wine_fn_config_makefile dlls/mciqtz32 enable_mciqtz32
20734 wine_fn_config_makefile dlls/mciseq enable_mciseq
20735 wine_fn_config_makefile dlls/mciwave enable_mciwave
20736 wine_fn_config_makefile dlls/mf enable_mf
20737 wine_fn_config_makefile dlls/mf/tests enable_tests
20738 wine_fn_config_makefile dlls/mf3216 enable_mf3216
20739 wine_fn_config_makefile dlls/mferror enable_mferror
20740 wine_fn_config_makefile dlls/mfmediaengine enable_mfmediaengine
20741 wine_fn_config_makefile dlls/mfmediaengine/tests enable_tests
20742 wine_fn_config_makefile dlls/mfplat enable_mfplat
20743 wine_fn_config_makefile dlls/mfplat/tests enable_tests
20744 wine_fn_config_makefile dlls/mfplay enable_mfplay
20745 wine_fn_config_makefile dlls/mfplay/tests enable_tests
20746 wine_fn_config_makefile dlls/mfreadwrite enable_mfreadwrite
20747 wine_fn_config_makefile dlls/mfreadwrite/tests enable_tests
20748 wine_fn_config_makefile dlls/mfuuid enable_mfuuid
20749 wine_fn_config_makefile dlls/mgmtapi enable_mgmtapi
20750 wine_fn_config_makefile dlls/midimap enable_midimap
20751 wine_fn_config_makefile dlls/mlang enable_mlang
20752 wine_fn_config_makefile dlls/mlang/tests enable_tests
20753 wine_fn_config_makefile dlls/mmcndmgr enable_mmcndmgr
20754 wine_fn_config_makefile dlls/mmcndmgr/tests enable_tests
20755 wine_fn_config_makefile dlls/mmdevapi enable_mmdevapi
20756 wine_fn_config_makefile dlls/mmdevapi/tests enable_tests
20757 wine_fn_config_makefile dlls/mmdevldr.vxd enable_win16
20758 wine_fn_config_makefile dlls/mmsystem.dll16 enable_win16
20759 wine_fn_config_makefile dlls/monodebg.vxd enable_win16
20760 wine_fn_config_makefile dlls/mountmgr.sys enable_mountmgr_sys
20761 wine_fn_config_makefile dlls/mouse.drv16 enable_win16
20762 wine_fn_config_makefile dlls/mp3dmod enable_mp3dmod
20763 wine_fn_config_makefile dlls/mp3dmod/tests enable_tests
20764 wine_fn_config_makefile dlls/mpr enable_mpr
20765 wine_fn_config_makefile dlls/mpr/tests enable_tests
20766 wine_fn_config_makefile dlls/mprapi enable_mprapi
20767 wine_fn_config_makefile dlls/msacm.dll16 enable_win16
20768 wine_fn_config_makefile dlls/msacm32.drv enable_msacm32_drv
20769 wine_fn_config_makefile dlls/msacm32 enable_msacm32
20770 wine_fn_config_makefile dlls/msacm32/tests enable_tests
20771 wine_fn_config_makefile dlls/msado15 enable_msado15
20772 wine_fn_config_makefile dlls/msado15/tests enable_tests
20773 wine_fn_config_makefile dlls/msadp32.acm enable_msadp32_acm
20774 wine_fn_config_makefile dlls/msasn1 enable_msasn1
20775 wine_fn_config_makefile dlls/msasn1/tests enable_tests
20776 wine_fn_config_makefile dlls/mscat32 enable_mscat32
20777 wine_fn_config_makefile dlls/mscms enable_mscms
20778 wine_fn_config_makefile dlls/mscms/tests enable_tests
20779 wine_fn_config_makefile dlls/mscoree enable_mscoree
20780 wine_fn_config_makefile dlls/mscoree/tests enable_tests
20781 wine_fn_config_makefile dlls/mscorwks enable_mscorwks
20782 wine_fn_config_makefile dlls/msctf enable_msctf
20783 wine_fn_config_makefile dlls/msctf/tests enable_tests
20784 wine_fn_config_makefile dlls/msctfp enable_msctfp
20785 wine_fn_config_makefile dlls/msdaps enable_msdaps
20786 wine_fn_config_makefile dlls/msdelta enable_msdelta
20787 wine_fn_config_makefile dlls/msdmo enable_msdmo
20788 wine_fn_config_makefile dlls/msdmo/tests enable_tests
20789 wine_fn_config_makefile dlls/msdrm enable_msdrm
20790 wine_fn_config_makefile dlls/msftedit enable_msftedit
20791 wine_fn_config_makefile dlls/msftedit/tests enable_tests
20792 wine_fn_config_makefile dlls/msg711.acm enable_msg711_acm
20793 wine_fn_config_makefile dlls/msgsm32.acm enable_msgsm32_acm
20794 wine_fn_config_makefile dlls/mshtml.tlb enable_mshtml_tlb
20795 wine_fn_config_makefile dlls/mshtml enable_mshtml
20796 wine_fn_config_makefile dlls/mshtml/tests enable_tests
20797 wine_fn_config_makefile dlls/msi enable_msi
20798 wine_fn_config_makefile dlls/msi/tests enable_tests
20799 wine_fn_config_makefile dlls/msident enable_msident
20800 wine_fn_config_makefile dlls/msimg32 enable_msimg32
20801 wine_fn_config_makefile dlls/msimsg enable_msimsg
20802 wine_fn_config_makefile dlls/msimtf enable_msimtf
20803 wine_fn_config_makefile dlls/msisip enable_msisip
20804 wine_fn_config_makefile dlls/msisys.ocx enable_msisys_ocx
20805 wine_fn_config_makefile dlls/msls31 enable_msls31
20806 wine_fn_config_makefile dlls/msnet32 enable_msnet32
20807 wine_fn_config_makefile dlls/mspatcha enable_mspatcha
20808 wine_fn_config_makefile dlls/mspatcha/tests enable_tests
20809 wine_fn_config_makefile dlls/msports enable_msports
20810 wine_fn_config_makefile dlls/msrle32 enable_msrle32
20811 wine_fn_config_makefile dlls/msrle32/tests enable_tests
20812 wine_fn_config_makefile dlls/msscript.ocx enable_msscript_ocx
20813 wine_fn_config_makefile dlls/msscript.ocx/tests enable_tests
20814 wine_fn_config_makefile dlls/mssign32 enable_mssign32
20815 wine_fn_config_makefile dlls/mssip32 enable_mssip32
20816 wine_fn_config_makefile dlls/mstask enable_mstask
20817 wine_fn_config_makefile dlls/mstask/tests enable_tests
20818 wine_fn_config_makefile dlls/msvcirt enable_msvcirt
20819 wine_fn_config_makefile dlls/msvcirt/tests enable_tests
20820 wine_fn_config_makefile dlls/msvcm80 enable_msvcm80
20821 wine_fn_config_makefile dlls/msvcm90 enable_msvcm90
20822 wine_fn_config_makefile dlls/msvcp100 enable_msvcp100
20823 wine_fn_config_makefile dlls/msvcp100/tests enable_tests
20824 wine_fn_config_makefile dlls/msvcp110 enable_msvcp110
20825 wine_fn_config_makefile dlls/msvcp110/tests enable_tests
20826 wine_fn_config_makefile dlls/msvcp120 enable_msvcp120
20827 wine_fn_config_makefile dlls/msvcp120/tests enable_tests
20828 wine_fn_config_makefile dlls/msvcp120_app enable_msvcp120_app
20829 wine_fn_config_makefile dlls/msvcp140 enable_msvcp140
20830 wine_fn_config_makefile dlls/msvcp140/tests enable_tests
20831 wine_fn_config_makefile dlls/msvcp140_1 enable_msvcp140_1
20832 wine_fn_config_makefile dlls/msvcp140_1/tests enable_tests
20833 wine_fn_config_makefile dlls/msvcp60 enable_msvcp60
20834 wine_fn_config_makefile dlls/msvcp60/tests enable_tests
20835 wine_fn_config_makefile dlls/msvcp70 enable_msvcp70
20836 wine_fn_config_makefile dlls/msvcp71 enable_msvcp71
20837 wine_fn_config_makefile dlls/msvcp80 enable_msvcp80
20838 wine_fn_config_makefile dlls/msvcp90 enable_msvcp90
20839 wine_fn_config_makefile dlls/msvcp90/tests enable_tests
20840 wine_fn_config_makefile dlls/msvcr100 enable_msvcr100
20841 wine_fn_config_makefile dlls/msvcr100/tests enable_tests
20842 wine_fn_config_makefile dlls/msvcr110 enable_msvcr110
20843 wine_fn_config_makefile dlls/msvcr110/tests enable_tests
20844 wine_fn_config_makefile dlls/msvcr120 enable_msvcr120
20845 wine_fn_config_makefile dlls/msvcr120/tests enable_tests
20846 wine_fn_config_makefile dlls/msvcr120_app enable_msvcr120_app
20847 wine_fn_config_makefile dlls/msvcr70 enable_msvcr70
20848 wine_fn_config_makefile dlls/msvcr71 enable_msvcr71
20849 wine_fn_config_makefile dlls/msvcr80 enable_msvcr80
20850 wine_fn_config_makefile dlls/msvcr90 enable_msvcr90
20851 wine_fn_config_makefile dlls/msvcr90/tests enable_tests
20852 wine_fn_config_makefile dlls/msvcrt enable_msvcrt
20853 wine_fn_config_makefile dlls/msvcrt/tests enable_tests
20854 wine_fn_config_makefile dlls/msvcrt20 enable_msvcrt20
20855 wine_fn_config_makefile dlls/msvcrt40 enable_msvcrt40
20856 wine_fn_config_makefile dlls/msvcrtd enable_msvcrtd
20857 wine_fn_config_makefile dlls/msvcrtd/tests enable_tests
20858 wine_fn_config_makefile dlls/msvfw32 enable_msvfw32
20859 wine_fn_config_makefile dlls/msvfw32/tests enable_tests
20860 wine_fn_config_makefile dlls/msvidc32 enable_msvidc32
20861 wine_fn_config_makefile dlls/msvideo.dll16 enable_win16
20862 wine_fn_config_makefile dlls/mswsock enable_mswsock
20863 wine_fn_config_makefile dlls/msxml enable_msxml
20864 wine_fn_config_makefile dlls/msxml2 enable_msxml2
20865 wine_fn_config_makefile dlls/msxml3 enable_msxml3
20866 wine_fn_config_makefile dlls/msxml3/tests enable_tests
20867 wine_fn_config_makefile dlls/msxml4 enable_msxml4
20868 wine_fn_config_makefile dlls/msxml6 enable_msxml6
20869 wine_fn_config_makefile dlls/mtxdm enable_mtxdm
20870 wine_fn_config_makefile dlls/ncrypt enable_ncrypt
20871 wine_fn_config_makefile dlls/nddeapi enable_nddeapi
20872 wine_fn_config_makefile dlls/ndis.sys enable_ndis_sys
20873 wine_fn_config_makefile dlls/ndis.sys/tests enable_tests
20874 wine_fn_config_makefile dlls/netapi32 enable_netapi32
20875 wine_fn_config_makefile dlls/netapi32/tests enable_tests
20876 wine_fn_config_makefile dlls/netcfgx enable_netcfgx
20877 wine_fn_config_makefile dlls/netcfgx/tests enable_tests
20878 wine_fn_config_makefile dlls/netio.sys enable_netio_sys
20879 wine_fn_config_makefile dlls/netprofm enable_netprofm
20880 wine_fn_config_makefile dlls/netprofm/tests enable_tests
20881 wine_fn_config_makefile dlls/netutils enable_netutils
20882 wine_fn_config_makefile dlls/newdev enable_newdev
20883 wine_fn_config_makefile dlls/ninput enable_ninput
20884 wine_fn_config_makefile dlls/ninput/tests enable_tests
20885 wine_fn_config_makefile dlls/normaliz enable_normaliz
20886 wine_fn_config_makefile dlls/npmshtml enable_npmshtml
20887 wine_fn_config_makefile dlls/npptools enable_npptools
20888 wine_fn_config_makefile dlls/ntdll enable_ntdll
20889 wine_fn_config_makefile dlls/ntdll/tests enable_tests
20890 wine_fn_config_makefile dlls/ntdsapi enable_ntdsapi
20891 wine_fn_config_makefile dlls/ntdsapi/tests enable_tests
20892 wine_fn_config_makefile dlls/ntoskrnl.exe enable_ntoskrnl_exe
20893 wine_fn_config_makefile dlls/ntoskrnl.exe/tests enable_tests
20894 wine_fn_config_makefile dlls/ntprint enable_ntprint
20895 wine_fn_config_makefile dlls/ntprint/tests enable_tests
20896 wine_fn_config_makefile dlls/objsel enable_objsel
20897 wine_fn_config_makefile dlls/odbc32 enable_odbc32
20898 wine_fn_config_makefile dlls/odbcbcp enable_odbcbcp
20899 wine_fn_config_makefile dlls/odbccp32 enable_odbccp32
20900 wine_fn_config_makefile dlls/odbccp32/tests enable_tests
20901 wine_fn_config_makefile dlls/odbccu32 enable_odbccu32
20902 wine_fn_config_makefile dlls/ole2.dll16 enable_win16
20903 wine_fn_config_makefile dlls/ole2conv.dll16 enable_win16
20904 wine_fn_config_makefile dlls/ole2disp.dll16 enable_win16
20905 wine_fn_config_makefile dlls/ole2nls.dll16 enable_win16
20906 wine_fn_config_makefile dlls/ole2prox.dll16 enable_win16
20907 wine_fn_config_makefile dlls/ole2thk.dll16 enable_win16
20908 wine_fn_config_makefile dlls/ole32 enable_ole32
20909 wine_fn_config_makefile dlls/ole32/tests enable_tests
20910 wine_fn_config_makefile dlls/oleacc enable_oleacc
20911 wine_fn_config_makefile dlls/oleacc/tests enable_tests
20912 wine_fn_config_makefile dlls/oleaut32 enable_oleaut32
20913 wine_fn_config_makefile dlls/oleaut32/tests enable_tests
20914 wine_fn_config_makefile dlls/olecli.dll16 enable_win16
20915 wine_fn_config_makefile dlls/olecli32 enable_olecli32
20916 wine_fn_config_makefile dlls/oledb32 enable_oledb32
20917 wine_fn_config_makefile dlls/oledb32/tests enable_tests
20918 wine_fn_config_makefile dlls/oledlg enable_oledlg
20919 wine_fn_config_makefile dlls/oledlg/tests enable_tests
20920 wine_fn_config_makefile dlls/olepro32 enable_olepro32
20921 wine_fn_config_makefile dlls/olesvr.dll16 enable_win16
20922 wine_fn_config_makefile dlls/olesvr32 enable_olesvr32
20923 wine_fn_config_makefile dlls/olethk32 enable_olethk32
20924 wine_fn_config_makefile dlls/opcservices enable_opcservices
20925 wine_fn_config_makefile dlls/opcservices/tests enable_tests
20926 wine_fn_config_makefile dlls/openal32 enable_openal32
20927 wine_fn_config_makefile dlls/opencl enable_opencl
20928 wine_fn_config_makefile dlls/opengl32 enable_opengl32
20929 wine_fn_config_makefile dlls/opengl32/tests enable_tests
20930 wine_fn_config_makefile dlls/packager enable_packager
20931 wine_fn_config_makefile dlls/packager/tests enable_tests
20932 wine_fn_config_makefile dlls/pdh enable_pdh
20933 wine_fn_config_makefile dlls/pdh/tests enable_tests
20934 wine_fn_config_makefile dlls/photometadatahandler enable_photometadatahandler
20935 wine_fn_config_makefile dlls/pidgen enable_pidgen
20936 wine_fn_config_makefile dlls/powrprof enable_powrprof
20937 wine_fn_config_makefile dlls/printui enable_printui
20938 wine_fn_config_makefile dlls/prntvpt enable_prntvpt
20939 wine_fn_config_makefile dlls/prntvpt/tests enable_tests
20940 wine_fn_config_makefile dlls/propsys enable_propsys
20941 wine_fn_config_makefile dlls/propsys/tests enable_tests
20942 wine_fn_config_makefile dlls/psapi enable_psapi
20943 wine_fn_config_makefile dlls/psapi/tests enable_tests
20944 wine_fn_config_makefile dlls/pstorec enable_pstorec
20945 wine_fn_config_makefile dlls/pstorec/tests enable_tests
20946 wine_fn_config_makefile dlls/pwrshplugin enable_pwrshplugin
20947 wine_fn_config_makefile dlls/qasf enable_qasf
20948 wine_fn_config_makefile dlls/qasf/tests enable_tests
20949 wine_fn_config_makefile dlls/qcap enable_qcap
20950 wine_fn_config_makefile dlls/qcap/tests enable_tests
20951 wine_fn_config_makefile dlls/qdvd enable_qdvd
20952 wine_fn_config_makefile dlls/qdvd/tests enable_tests
20953 wine_fn_config_makefile dlls/qedit enable_qedit
20954 wine_fn_config_makefile dlls/qedit/tests enable_tests
20955 wine_fn_config_makefile dlls/qmgr enable_qmgr
20956 wine_fn_config_makefile dlls/qmgr/tests enable_tests
20957 wine_fn_config_makefile dlls/qmgrprxy enable_qmgrprxy
20958 wine_fn_config_makefile dlls/quartz enable_quartz
20959 wine_fn_config_makefile dlls/quartz/tests enable_tests
20960 wine_fn_config_makefile dlls/query enable_query
20961 wine_fn_config_makefile dlls/qwave enable_qwave
20962 wine_fn_config_makefile dlls/qwave/tests enable_tests
20963 wine_fn_config_makefile dlls/rasapi16.dll16 enable_win16
20964 wine_fn_config_makefile dlls/rasapi32 enable_rasapi32
20965 wine_fn_config_makefile dlls/rasapi32/tests enable_tests
20966 wine_fn_config_makefile dlls/rasdlg enable_rasdlg
20967 wine_fn_config_makefile dlls/regapi enable_regapi
20968 wine_fn_config_makefile dlls/resutils enable_resutils
20969 wine_fn_config_makefile dlls/riched20 enable_riched20
20970 wine_fn_config_makefile dlls/riched20/tests enable_tests
20971 wine_fn_config_makefile dlls/riched32 enable_riched32
20972 wine_fn_config_makefile dlls/riched32/tests enable_tests
20973 wine_fn_config_makefile dlls/rpcrt4 enable_rpcrt4
20974 wine_fn_config_makefile dlls/rpcrt4/tests enable_tests
20975 wine_fn_config_makefile dlls/rsabase enable_rsabase
20976 wine_fn_config_makefile dlls/rsaenh enable_rsaenh
20977 wine_fn_config_makefile dlls/rsaenh/tests enable_tests
20978 wine_fn_config_makefile dlls/rstrtmgr enable_rstrtmgr
20979 wine_fn_config_makefile dlls/rtutils enable_rtutils
20980 wine_fn_config_makefile dlls/rtworkq enable_rtworkq
20981 wine_fn_config_makefile dlls/rtworkq/tests enable_tests
20982 wine_fn_config_makefile dlls/samlib enable_samlib
20983 wine_fn_config_makefile dlls/sane.ds enable_sane_ds
20984 wine_fn_config_makefile dlls/sapi enable_sapi
20985 wine_fn_config_makefile dlls/sapi/tests enable_tests
20986 wine_fn_config_makefile dlls/sas enable_sas
20987 wine_fn_config_makefile dlls/scarddlg enable_scarddlg
20988 wine_fn_config_makefile dlls/sccbase enable_sccbase
20989 wine_fn_config_makefile dlls/schannel enable_schannel
20990 wine_fn_config_makefile dlls/schannel/tests enable_tests
20991 wine_fn_config_makefile dlls/schedsvc enable_schedsvc
20992 wine_fn_config_makefile dlls/schedsvc/tests enable_tests
20993 wine_fn_config_makefile dlls/scrobj enable_scrobj
20994 wine_fn_config_makefile dlls/scrobj/tests enable_tests
20995 wine_fn_config_makefile dlls/scrrun enable_scrrun
20996 wine_fn_config_makefile dlls/scrrun/tests enable_tests
20997 wine_fn_config_makefile dlls/scsiport.sys enable_scsiport_sys
20998 wine_fn_config_makefile dlls/sechost enable_sechost
20999 wine_fn_config_makefile dlls/secur32 enable_secur32
21000 wine_fn_config_makefile dlls/secur32/tests enable_tests
21001 wine_fn_config_makefile dlls/security enable_security
21002 wine_fn_config_makefile dlls/sensapi enable_sensapi
21003 wine_fn_config_makefile dlls/serialui enable_serialui
21004 wine_fn_config_makefile dlls/serialui/tests enable_tests
21005 wine_fn_config_makefile dlls/setupapi enable_setupapi
21006 wine_fn_config_makefile dlls/setupapi/tests enable_tests
21007 wine_fn_config_makefile dlls/setupx.dll16 enable_win16
21008 wine_fn_config_makefile dlls/sfc enable_sfc
21009 wine_fn_config_makefile dlls/sfc_os enable_sfc_os
21010 wine_fn_config_makefile dlls/shcore enable_shcore
21011 wine_fn_config_makefile dlls/shcore/tests enable_tests
21012 wine_fn_config_makefile dlls/shdoclc enable_shdoclc
21013 wine_fn_config_makefile dlls/shdocvw enable_shdocvw
21014 wine_fn_config_makefile dlls/shdocvw/tests enable_tests
21015 wine_fn_config_makefile dlls/shell.dll16 enable_win16
21016 wine_fn_config_makefile dlls/shell32 enable_shell32
21017 wine_fn_config_makefile dlls/shell32/tests enable_tests
21018 wine_fn_config_makefile dlls/shfolder enable_shfolder
21019 wine_fn_config_makefile dlls/shlwapi enable_shlwapi
21020 wine_fn_config_makefile dlls/shlwapi/tests enable_tests
21021 wine_fn_config_makefile dlls/slbcsp enable_slbcsp
21022 wine_fn_config_makefile dlls/slc enable_slc
21023 wine_fn_config_makefile dlls/slc/tests enable_tests
21024 wine_fn_config_makefile dlls/snmpapi enable_snmpapi
21025 wine_fn_config_makefile dlls/snmpapi/tests enable_tests
21026 wine_fn_config_makefile dlls/softpub enable_softpub
21027 wine_fn_config_makefile dlls/sound.drv16 enable_win16
21028 wine_fn_config_makefile dlls/spoolss enable_spoolss
21029 wine_fn_config_makefile dlls/spoolss/tests enable_tests
21030 wine_fn_config_makefile dlls/srclient enable_srclient
21031 wine_fn_config_makefile dlls/srvcli enable_srvcli
21032 wine_fn_config_makefile dlls/sspicli enable_sspicli
21033 wine_fn_config_makefile dlls/stdole2.tlb enable_stdole2_tlb
21034 wine_fn_config_makefile dlls/stdole32.tlb enable_stdole32_tlb
21035 wine_fn_config_makefile dlls/sti enable_sti
21036 wine_fn_config_makefile dlls/sti/tests enable_tests
21037 wine_fn_config_makefile dlls/storage.dll16 enable_win16
21038 wine_fn_config_makefile dlls/stress.dll16 enable_win16
21039 wine_fn_config_makefile dlls/strmbase enable_strmbase
21040 wine_fn_config_makefile dlls/strmdll enable_strmdll
21041 wine_fn_config_makefile dlls/strmiids enable_strmiids
21042 wine_fn_config_makefile dlls/svrapi enable_svrapi
21043 wine_fn_config_makefile dlls/sxs enable_sxs
21044 wine_fn_config_makefile dlls/sxs/tests enable_tests
21045 wine_fn_config_makefile dlls/system.drv16 enable_win16
21046 wine_fn_config_makefile dlls/t2embed enable_t2embed
21047 wine_fn_config_makefile dlls/t2embed/tests enable_tests
21048 wine_fn_config_makefile dlls/tapi32 enable_tapi32
21049 wine_fn_config_makefile dlls/tapi32/tests enable_tests
21050 wine_fn_config_makefile dlls/taskschd enable_taskschd
21051 wine_fn_config_makefile dlls/taskschd/tests enable_tests
21052 wine_fn_config_makefile dlls/tdh enable_tdh
21053 wine_fn_config_makefile dlls/tdi.sys enable_tdi_sys
21054 wine_fn_config_makefile dlls/toolhelp.dll16 enable_win16
21055 wine_fn_config_makefile dlls/traffic enable_traffic
21056 wine_fn_config_makefile dlls/twain.dll16 enable_win16
21057 wine_fn_config_makefile dlls/twain_32 enable_twain_32
21058 wine_fn_config_makefile dlls/twain_32/tests enable_tests
21059 wine_fn_config_makefile dlls/typelib.dll16 enable_win16
21060 wine_fn_config_makefile dlls/tzres enable_tzres
21061 wine_fn_config_makefile dlls/ucrtbase enable_ucrtbase
21062 wine_fn_config_makefile dlls/ucrtbase/tests enable_tests
21063 wine_fn_config_makefile dlls/uianimation enable_uianimation
21064 wine_fn_config_makefile dlls/uianimation/tests enable_tests
21065 wine_fn_config_makefile dlls/uiautomationcore enable_uiautomationcore
21066 wine_fn_config_makefile dlls/uiautomationcore/tests enable_tests
21067 wine_fn_config_makefile dlls/uiribbon enable_uiribbon
21068 wine_fn_config_makefile dlls/unicows enable_unicows
21069 wine_fn_config_makefile dlls/updspapi enable_updspapi
21070 wine_fn_config_makefile dlls/url enable_url
21071 wine_fn_config_makefile dlls/urlmon enable_urlmon
21072 wine_fn_config_makefile dlls/urlmon/tests enable_tests
21073 wine_fn_config_makefile dlls/usbd.sys enable_usbd_sys
21074 wine_fn_config_makefile dlls/user.exe16 enable_win16
21075 wine_fn_config_makefile dlls/user32 enable_user32
21076 wine_fn_config_makefile dlls/user32/tests enable_tests
21077 wine_fn_config_makefile dlls/userenv enable_userenv
21078 wine_fn_config_makefile dlls/userenv/tests enable_tests
21079 wine_fn_config_makefile dlls/usp10 enable_usp10
21080 wine_fn_config_makefile dlls/usp10/tests enable_tests
21081 wine_fn_config_makefile dlls/utildll enable_utildll
21082 wine_fn_config_makefile dlls/uuid enable_uuid
21083 wine_fn_config_makefile dlls/uxtheme enable_uxtheme
21084 wine_fn_config_makefile dlls/uxtheme/tests enable_tests
21085 wine_fn_config_makefile dlls/vbscript enable_vbscript
21086 wine_fn_config_makefile dlls/vbscript/tests enable_tests
21087 wine_fn_config_makefile dlls/vcomp enable_vcomp
21088 wine_fn_config_makefile dlls/vcomp/tests enable_tests
21089 wine_fn_config_makefile dlls/vcomp100 enable_vcomp100
21090 wine_fn_config_makefile dlls/vcomp110 enable_vcomp110
21091 wine_fn_config_makefile dlls/vcomp110/tests enable_tests
21092 wine_fn_config_makefile dlls/vcomp120 enable_vcomp120
21093 wine_fn_config_makefile dlls/vcomp140 enable_vcomp140
21094 wine_fn_config_makefile dlls/vcomp90 enable_vcomp90
21095 wine_fn_config_makefile dlls/vcruntime140 enable_vcruntime140
21096 wine_fn_config_makefile dlls/vcruntime140_1 enable_vcruntime140_1
21097 wine_fn_config_makefile dlls/vdhcp.vxd enable_win16
21098 wine_fn_config_makefile dlls/vdmdbg enable_vdmdbg
21099 wine_fn_config_makefile dlls/ver.dll16 enable_win16
21100 wine_fn_config_makefile dlls/version enable_version
21101 wine_fn_config_makefile dlls/version/tests enable_tests
21102 wine_fn_config_makefile dlls/vga enable_vga
21103 wine_fn_config_makefile dlls/virtdisk enable_virtdisk
21104 wine_fn_config_makefile dlls/virtdisk/tests enable_tests
21105 wine_fn_config_makefile dlls/vmm.vxd enable_win16
21106 wine_fn_config_makefile dlls/vnbt.vxd enable_win16
21107 wine_fn_config_makefile dlls/vnetbios.vxd enable_win16
21108 wine_fn_config_makefile dlls/vssapi enable_vssapi
21109 wine_fn_config_makefile dlls/vtdapi.vxd enable_win16
21110 wine_fn_config_makefile dlls/vulkan-1 enable_vulkan_1
21111 wine_fn_config_makefile dlls/vulkan-1/tests enable_tests
21112 wine_fn_config_makefile dlls/vwin32.vxd enable_win16
21113 wine_fn_config_makefile dlls/w32skrnl enable_win16
21114 wine_fn_config_makefile dlls/w32sys.dll16 enable_win16
21115 wine_fn_config_makefile dlls/wbemdisp enable_wbemdisp
21116 wine_fn_config_makefile dlls/wbemdisp/tests enable_tests
21117 wine_fn_config_makefile dlls/wbemprox enable_wbemprox
21118 wine_fn_config_makefile dlls/wbemprox/tests enable_tests
21119 wine_fn_config_makefile dlls/wbemuuid enable_wbemuuid
21120 wine_fn_config_makefile dlls/wdscore enable_wdscore
21121 wine_fn_config_makefile dlls/webservices enable_webservices
21122 wine_fn_config_makefile dlls/webservices/tests enable_tests
21123 wine_fn_config_makefile dlls/websocket enable_websocket
21124 wine_fn_config_makefile dlls/wer enable_wer
21125 wine_fn_config_makefile dlls/wer/tests enable_tests
21126 wine_fn_config_makefile dlls/wevtapi enable_wevtapi
21127 wine_fn_config_makefile dlls/wevtapi/tests enable_tests
21128 wine_fn_config_makefile dlls/wevtsvc enable_wevtsvc
21129 wine_fn_config_makefile dlls/wiaservc enable_wiaservc
21130 wine_fn_config_makefile dlls/wiaservc/tests enable_tests
21131 wine_fn_config_makefile dlls/wimgapi enable_wimgapi
21132 wine_fn_config_makefile dlls/win32s16.dll16 enable_win16
21133 wine_fn_config_makefile dlls/win87em.dll16 enable_win16
21134 wine_fn_config_makefile dlls/winaspi.dll16 enable_win16
21135 wine_fn_config_makefile dlls/windebug.dll16 enable_win16
21136 wine_fn_config_makefile dlls/windows.gaming.input enable_windows_gaming_input
21137 wine_fn_config_makefile dlls/windows.gaming.input/tests enable_tests
21138 wine_fn_config_makefile dlls/windows.globalization enable_windows_globalization
21139 wine_fn_config_makefile dlls/windows.globalization/tests enable_tests
21140 wine_fn_config_makefile dlls/windows.media.devices enable_windows_media_devices
21141 wine_fn_config_makefile dlls/windows.media.devices/tests enable_tests
21142 wine_fn_config_makefile dlls/windows.media.speech enable_windows_media_speech
21143 wine_fn_config_makefile dlls/windows.media.speech/tests enable_tests
21144 wine_fn_config_makefile dlls/windowscodecs enable_windowscodecs
21145 wine_fn_config_makefile dlls/windowscodecs/tests enable_tests
21146 wine_fn_config_makefile dlls/windowscodecsext enable_windowscodecsext
21147 wine_fn_config_makefile dlls/windowscodecsext/tests enable_tests
21148 wine_fn_config_makefile dlls/winealsa.drv enable_winealsa_drv
21149 wine_fn_config_makefile dlls/wineandroid.drv enable_wineandroid_drv
21150 wine_fn_config_makefile dlls/winebus.sys enable_winebus_sys
21151 wine_fn_config_makefile dlls/winecoreaudio.drv enable_winecoreaudio_drv
21152 wine_fn_config_makefile dlls/winecrt0 enable_winecrt0
21153 wine_fn_config_makefile dlls/wined3d enable_wined3d
21154 wine_fn_config_makefile dlls/winegstreamer enable_winegstreamer
21155 wine_fn_config_makefile dlls/winehid.sys enable_winehid_sys
21156 wine_fn_config_makefile dlls/winejoystick.drv enable_winejoystick_drv
21157 wine_fn_config_makefile dlls/winemac.drv enable_winemac_drv
21158 wine_fn_config_makefile dlls/winemapi enable_winemapi
21159 wine_fn_config_makefile dlls/wineoss.drv enable_wineoss_drv
21160 wine_fn_config_makefile dlls/wineps.drv enable_wineps_drv
21161 wine_fn_config_makefile dlls/wineps16.drv16 enable_win16
21162 wine_fn_config_makefile dlls/winepulse.drv enable_winepulse_drv
21163 wine_fn_config_makefile dlls/wineqtdecoder enable_wineqtdecoder
21164 wine_fn_config_makefile dlls/wineusb.sys enable_wineusb_sys
21165 wine_fn_config_makefile dlls/winevulkan enable_winevulkan
21166 wine_fn_config_makefile dlls/winex11.drv enable_winex11_drv
21167 wine_fn_config_makefile dlls/wing.dll16 enable_win16
21168 wine_fn_config_makefile dlls/wing32 enable_wing32
21169 wine_fn_config_makefile dlls/winhttp enable_winhttp
21170 wine_fn_config_makefile dlls/winhttp/tests enable_tests
21171 wine_fn_config_makefile dlls/wininet enable_wininet
21172 wine_fn_config_makefile dlls/wininet/tests enable_tests
21173 wine_fn_config_makefile dlls/winmm enable_winmm
21174 wine_fn_config_makefile dlls/winmm/tests enable_tests
21175 wine_fn_config_makefile dlls/winnls.dll16 enable_win16
21176 wine_fn_config_makefile dlls/winnls32 enable_winnls32
21177 wine_fn_config_makefile dlls/winscard enable_winscard
21178 wine_fn_config_makefile dlls/winsock.dll16 enable_win16
21179 wine_fn_config_makefile dlls/winspool.drv enable_winspool_drv
21180 wine_fn_config_makefile dlls/winspool.drv/tests enable_tests
21181 wine_fn_config_makefile dlls/winsta enable_winsta
21182 wine_fn_config_makefile dlls/wintab.dll16 enable_win16
21183 wine_fn_config_makefile dlls/wintab32 enable_wintab32
21184 wine_fn_config_makefile dlls/wintab32/tests enable_tests
21185 wine_fn_config_makefile dlls/wintrust enable_wintrust
21186 wine_fn_config_makefile dlls/wintrust/tests enable_tests
21187 wine_fn_config_makefile dlls/winusb enable_winusb
21188 wine_fn_config_makefile dlls/wlanapi enable_wlanapi
21189 wine_fn_config_makefile dlls/wlanapi/tests enable_tests
21190 wine_fn_config_makefile dlls/wlanui enable_wlanui
21191 wine_fn_config_makefile dlls/wldap32 enable_wldap32
21192 wine_fn_config_makefile dlls/wldap32/tests enable_tests
21193 wine_fn_config_makefile dlls/wmasf enable_wmasf
21194 wine_fn_config_makefile dlls/wmcodecdspuuid enable_wmcodecdspuuid
21195 wine_fn_config_makefile dlls/wmi enable_wmi
21196 wine_fn_config_makefile dlls/wmiutils enable_wmiutils
21197 wine_fn_config_makefile dlls/wmiutils/tests enable_tests
21198 wine_fn_config_makefile dlls/wmp enable_wmp
21199 wine_fn_config_makefile dlls/wmp/tests enable_tests
21200 wine_fn_config_makefile dlls/wmphoto enable_wmphoto
21201 wine_fn_config_makefile dlls/wmvcore enable_wmvcore
21202 wine_fn_config_makefile dlls/wmvcore/tests enable_tests
21203 wine_fn_config_makefile dlls/wnaspi32 enable_wnaspi32
21204 wine_fn_config_makefile dlls/wow32 enable_win16
21205 wine_fn_config_makefile dlls/wow64cpu enable_wow64cpu
21206 wine_fn_config_makefile dlls/wpc enable_wpc
21207 wine_fn_config_makefile dlls/wpc/tests enable_tests
21208 wine_fn_config_makefile dlls/wpcap enable_wpcap
21209 wine_fn_config_makefile dlls/ws2_32 enable_ws2_32
21210 wine_fn_config_makefile dlls/ws2_32/tests enable_tests
21211 wine_fn_config_makefile dlls/wsdapi enable_wsdapi
21212 wine_fn_config_makefile dlls/wsdapi/tests enable_tests
21213 wine_fn_config_makefile dlls/wshom.ocx enable_wshom_ocx
21214 wine_fn_config_makefile dlls/wshom.ocx/tests enable_tests
21215 wine_fn_config_makefile dlls/wsnmp32 enable_wsnmp32
21216 wine_fn_config_makefile dlls/wsnmp32/tests enable_tests
21217 wine_fn_config_makefile dlls/wsock32 enable_wsock32
21218 wine_fn_config_makefile dlls/wtsapi32 enable_wtsapi32
21219 wine_fn_config_makefile dlls/wtsapi32/tests enable_tests
21220 wine_fn_config_makefile dlls/wuapi enable_wuapi
21221 wine_fn_config_makefile dlls/wuaueng enable_wuaueng
21222 wine_fn_config_makefile dlls/x3daudio1_0 enable_x3daudio1_0
21223 wine_fn_config_makefile dlls/x3daudio1_1 enable_x3daudio1_1
21224 wine_fn_config_makefile dlls/x3daudio1_2 enable_x3daudio1_2
21225 wine_fn_config_makefile dlls/x3daudio1_3 enable_x3daudio1_3
21226 wine_fn_config_makefile dlls/x3daudio1_4 enable_x3daudio1_4
21227 wine_fn_config_makefile dlls/x3daudio1_5 enable_x3daudio1_5
21228 wine_fn_config_makefile dlls/x3daudio1_6 enable_x3daudio1_6
21229 wine_fn_config_makefile dlls/x3daudio1_7 enable_x3daudio1_7
21230 wine_fn_config_makefile dlls/xactengine2_0 enable_xactengine2_0
21231 wine_fn_config_makefile dlls/xactengine2_4 enable_xactengine2_4
21232 wine_fn_config_makefile dlls/xactengine2_7 enable_xactengine2_7
21233 wine_fn_config_makefile dlls/xactengine2_9 enable_xactengine2_9
21234 wine_fn_config_makefile dlls/xactengine3_0 enable_xactengine3_0
21235 wine_fn_config_makefile dlls/xactengine3_1 enable_xactengine3_1
21236 wine_fn_config_makefile dlls/xactengine3_2 enable_xactengine3_2
21237 wine_fn_config_makefile dlls/xactengine3_3 enable_xactengine3_3
21238 wine_fn_config_makefile dlls/xactengine3_4 enable_xactengine3_4
21239 wine_fn_config_makefile dlls/xactengine3_5 enable_xactengine3_5
21240 wine_fn_config_makefile dlls/xactengine3_6 enable_xactengine3_6
21241 wine_fn_config_makefile dlls/xactengine3_7 enable_xactengine3_7
21242 wine_fn_config_makefile dlls/xactengine3_7/tests enable_tests
21243 wine_fn_config_makefile dlls/xapofx1_1 enable_xapofx1_1
21244 wine_fn_config_makefile dlls/xapofx1_2 enable_xapofx1_2
21245 wine_fn_config_makefile dlls/xapofx1_3 enable_xapofx1_3
21246 wine_fn_config_makefile dlls/xapofx1_4 enable_xapofx1_4
21247 wine_fn_config_makefile dlls/xapofx1_5 enable_xapofx1_5
21248 wine_fn_config_makefile dlls/xaudio2_0 enable_xaudio2_0
21249 wine_fn_config_makefile dlls/xaudio2_1 enable_xaudio2_1
21250 wine_fn_config_makefile dlls/xaudio2_2 enable_xaudio2_2
21251 wine_fn_config_makefile dlls/xaudio2_3 enable_xaudio2_3
21252 wine_fn_config_makefile dlls/xaudio2_4 enable_xaudio2_4
21253 wine_fn_config_makefile dlls/xaudio2_5 enable_xaudio2_5
21254 wine_fn_config_makefile dlls/xaudio2_6 enable_xaudio2_6
21255 wine_fn_config_makefile dlls/xaudio2_7 enable_xaudio2_7
21256 wine_fn_config_makefile dlls/xaudio2_7/tests enable_tests
21257 wine_fn_config_makefile dlls/xaudio2_8 enable_xaudio2_8
21258 wine_fn_config_makefile dlls/xaudio2_9 enable_xaudio2_9
21259 wine_fn_config_makefile dlls/xinput1_1 enable_xinput1_1
21260 wine_fn_config_makefile dlls/xinput1_2 enable_xinput1_2
21261 wine_fn_config_makefile dlls/xinput1_3 enable_xinput1_3
21262 wine_fn_config_makefile dlls/xinput1_3/tests enable_tests
21263 wine_fn_config_makefile dlls/xinput1_4 enable_xinput1_4
21264 wine_fn_config_makefile dlls/xinput9_1_0 enable_xinput9_1_0
21265 wine_fn_config_makefile dlls/xmllite enable_xmllite
21266 wine_fn_config_makefile dlls/xmllite/tests enable_tests
21267 wine_fn_config_makefile dlls/xolehlp enable_xolehlp
21268 wine_fn_config_makefile dlls/xpsprint enable_xpsprint
21269 wine_fn_config_makefile dlls/xpssvcs enable_xpssvcs
21270 wine_fn_config_makefile fonts enable_fonts
21271 wine_fn_config_makefile include enable_include
21272 wine_fn_config_makefile libs/port enable_port
21273 wine_fn_config_makefile libs/wine enable_wine
21274 wine_fn_config_makefile libs/wpp enable_wpp
21275 wine_fn_config_makefile loader enable_loader
21276 wine_fn_config_makefile nls enable_nls
21277 wine_fn_config_makefile po enable_po
21278 wine_fn_config_makefile programs/arp enable_arp
21279 wine_fn_config_makefile programs/aspnet_regiis enable_aspnet_regiis
21280 wine_fn_config_makefile programs/attrib enable_attrib
21281 wine_fn_config_makefile programs/cabarc enable_cabarc
21282 wine_fn_config_makefile programs/cacls enable_cacls
21283 wine_fn_config_makefile programs/chcp.com enable_chcp_com
21284 wine_fn_config_makefile programs/clock enable_clock
21285 wine_fn_config_makefile programs/cmd enable_cmd
21286 wine_fn_config_makefile programs/cmd/tests enable_tests
21287 wine_fn_config_makefile programs/conhost enable_conhost
21288 wine_fn_config_makefile programs/conhost/tests enable_tests
21289 wine_fn_config_makefile programs/control enable_control
21290 wine_fn_config_makefile programs/cscript enable_cscript
21291 wine_fn_config_makefile programs/dism enable_dism
21292 wine_fn_config_makefile programs/dplaysvr enable_dplaysvr
21293 wine_fn_config_makefile programs/dpnsvr enable_dpnsvr
21294 wine_fn_config_makefile programs/dpvsetup enable_dpvsetup
21295 wine_fn_config_makefile programs/dxdiag enable_dxdiag
21296 wine_fn_config_makefile programs/eject enable_eject
21297 wine_fn_config_makefile programs/expand enable_expand
21298 wine_fn_config_makefile programs/explorer enable_explorer
21299 wine_fn_config_makefile programs/extrac32 enable_extrac32
21300 wine_fn_config_makefile programs/fc enable_fc
21301 wine_fn_config_makefile programs/find enable_find
21302 wine_fn_config_makefile programs/find/tests enable_tests
21303 wine_fn_config_makefile programs/findstr enable_findstr
21304 wine_fn_config_makefile programs/fsutil enable_fsutil
21305 wine_fn_config_makefile programs/fsutil/tests enable_tests
21306 wine_fn_config_makefile programs/hh enable_hh
21307 wine_fn_config_makefile programs/hostname enable_hostname
21308 wine_fn_config_makefile programs/icacls enable_icacls
21309 wine_fn_config_makefile programs/icinfo enable_icinfo
21310 wine_fn_config_makefile programs/iexplore enable_iexplore
21311 wine_fn_config_makefile programs/ipconfig enable_ipconfig
21312 wine_fn_config_makefile programs/lodctr enable_lodctr
21313 wine_fn_config_makefile programs/mofcomp enable_mofcomp
21314 wine_fn_config_makefile programs/mshta enable_mshta
21315 wine_fn_config_makefile programs/msidb enable_msidb
21316 wine_fn_config_makefile programs/msiexec enable_msiexec
21317 wine_fn_config_makefile programs/msinfo32 enable_msinfo32
21318 wine_fn_config_makefile programs/net enable_net
21319 wine_fn_config_makefile programs/netsh enable_netsh
21320 wine_fn_config_makefile programs/netstat enable_netstat
21321 wine_fn_config_makefile programs/ngen enable_ngen
21322 wine_fn_config_makefile programs/notepad enable_notepad
21323 wine_fn_config_makefile programs/oleview enable_oleview
21324 wine_fn_config_makefile programs/ping enable_ping
21325 wine_fn_config_makefile programs/plugplay enable_plugplay
21326 wine_fn_config_makefile programs/powershell enable_powershell
21327 wine_fn_config_makefile programs/presentationfontcache enable_presentationfontcache
21328 wine_fn_config_makefile programs/progman enable_progman
21329 wine_fn_config_makefile programs/reg enable_reg
21330 wine_fn_config_makefile programs/reg/tests enable_tests
21331 wine_fn_config_makefile programs/regasm enable_regasm
21332 wine_fn_config_makefile programs/regedit enable_regedit
21333 wine_fn_config_makefile programs/regedit/tests enable_tests
21334 wine_fn_config_makefile programs/regini enable_regini
21335 wine_fn_config_makefile programs/regsvcs enable_regsvcs
21336 wine_fn_config_makefile programs/regsvr32 enable_regsvr32
21337 wine_fn_config_makefile programs/rpcss enable_rpcss
21338 wine_fn_config_makefile programs/rundll.exe16 enable_win16
21339 wine_fn_config_makefile programs/rundll32 enable_rundll32
21340 wine_fn_config_makefile programs/sc enable_sc
21341 wine_fn_config_makefile programs/schtasks enable_schtasks
21342 wine_fn_config_makefile programs/schtasks/tests enable_tests
21343 wine_fn_config_makefile programs/sdbinst enable_sdbinst
21344 wine_fn_config_makefile programs/secedit enable_secedit
21345 wine_fn_config_makefile programs/servicemodelreg enable_servicemodelreg
21346 wine_fn_config_makefile programs/services enable_services
21347 wine_fn_config_makefile programs/services/tests enable_tests
21348 wine_fn_config_makefile programs/shutdown enable_shutdown
21349 wine_fn_config_makefile programs/spoolsv enable_spoolsv
21350 wine_fn_config_makefile programs/start enable_start
21351 wine_fn_config_makefile programs/subst enable_subst
21352 wine_fn_config_makefile programs/svchost enable_svchost
21353 wine_fn_config_makefile programs/systeminfo enable_systeminfo
21354 wine_fn_config_makefile programs/taskkill enable_taskkill
21355 wine_fn_config_makefile programs/tasklist enable_tasklist
21356 wine_fn_config_makefile programs/taskmgr enable_taskmgr
21357 wine_fn_config_makefile programs/termsv enable_termsv
21358 wine_fn_config_makefile programs/uninstaller enable_uninstaller
21359 wine_fn_config_makefile programs/unlodctr enable_unlodctr
21360 wine_fn_config_makefile programs/view enable_view
21361 wine_fn_config_makefile programs/wevtutil enable_wevtutil
21362 wine_fn_config_makefile programs/where enable_where
21363 wine_fn_config_makefile programs/whoami enable_whoami
21364 wine_fn_config_makefile programs/wineboot enable_wineboot
21365 wine_fn_config_makefile programs/winebrowser enable_winebrowser
21366 wine_fn_config_makefile programs/winecfg enable_winecfg
21367 wine_fn_config_makefile programs/wineconsole enable_wineconsole
21368 wine_fn_config_makefile programs/winedbg enable_winedbg
21369 wine_fn_config_makefile programs/winedevice enable_winedevice
21370 wine_fn_config_makefile programs/winefile enable_winefile
21371 wine_fn_config_makefile programs/winemenubuilder enable_winemenubuilder
21372 wine_fn_config_makefile programs/winemine enable_winemine
21373 wine_fn_config_makefile programs/winemsibuilder enable_winemsibuilder
21374 wine_fn_config_makefile programs/winepath enable_winepath
21375 wine_fn_config_makefile programs/winetest enable_winetest
21376 wine_fn_config_makefile programs/winevdm enable_win16
21377 wine_fn_config_makefile programs/winhelp.exe16 enable_win16
21378 wine_fn_config_makefile programs/winhlp32 enable_winhlp32
21379 wine_fn_config_makefile programs/winmgmt enable_winmgmt
21380 wine_fn_config_makefile programs/winoldap.mod16 enable_win16
21381 wine_fn_config_makefile programs/winver enable_winver
21382 wine_fn_config_makefile programs/wmic enable_wmic
21383 wine_fn_config_makefile programs/wmplayer enable_wmplayer
21384 wine_fn_config_makefile programs/wordpad enable_wordpad
21385 wine_fn_config_makefile programs/write enable_write
21386 wine_fn_config_makefile programs/wscript enable_wscript
21387 wine_fn_config_makefile programs/wscript/tests enable_tests
21388 wine_fn_config_makefile programs/wuauserv enable_wuauserv
21389 wine_fn_config_makefile programs/wusa enable_wusa
21390 wine_fn_config_makefile programs/xcopy enable_xcopy
21391 wine_fn_config_makefile programs/xcopy/tests enable_tests
21392 wine_fn_config_makefile server enable_server
21393 test "x$enable_tools" = xno || wine_fn_config_makefile tools enable_tools
21394 test "x$enable_tools" = xno || wine_fn_config_makefile tools/sfnt2fon enable_sfnt2fon
21395 test "x$enable_tools" = xno || wine_fn_config_makefile tools/widl enable_widl
21396 test "x$enable_tools" = xno || wine_fn_config_makefile tools/winebuild enable_winebuild
21397 test "x$enable_tools" = xno || wine_fn_config_makefile tools/winedump enable_winedump
21398 test "x$enable_tools" = xno || wine_fn_config_makefile tools/winegcc enable_winegcc
21399 test "x$enable_tools" = xno || wine_fn_config_makefile tools/winemaker enable_winemaker
21400 test "x$enable_tools" = xno || wine_fn_config_makefile tools/wmc enable_wmc
21401 test "x$enable_tools" = xno || wine_fn_config_makefile tools/wrc enable_wrc
21404 wine_fn_append_file CONFIGURE_TARGETS "TAGS"
21405 wine_fn_append_file CONFIGURE_TARGETS "tags"
21406 wine_fn_append_file CONFIGURE_TARGETS "autom4te.cache"
21407 wine_fn_append_file CONFIGURE_TARGETS "config.log"
21408 wine_fn_append_file CONFIGURE_TARGETS "config.status"
21409 wine_fn_append_file CONFIGURE_TARGETS "include/config.h"
21410 wine_fn_append_file CONFIGURE_TARGETS "include/stamp-h"
21411 test "$wine_binary" = wine || wine_fn_append_file CONFIGURE_TARGETS "loader/wine"
21413 if test "x$enable_tools" != xno
21414 then
21415 wine_fn_append_file CONFIGURE_TARGETS "tools/makedep$ac_exeext"
21416 ac_config_commands="$ac_config_commands tools/makedep"
21420 ac_config_commands="$ac_config_commands Makefile"
21423 ac_config_files="$ac_config_files Make.tmp:Makefile.in"
21427 if test "x$enable_maintainer_mode" = xyes
21428 then
21429 wine_fn_append_rule "configure: configure.ac aclocal.m4
21430 autoconf --warnings=all
21431 include/config.h.in: include/stamp-h.in
21432 include/stamp-h.in: configure.ac aclocal.m4
21433 autoheader --warnings=all
21434 @echo timestamp > \$@"
21437 if test "x$enable_tools" != xno
21438 then
21439 wine_fn_append_rule "tools/makedep$ac_exeext: $srcdir/tools/makedep.c include/config.h config.status
21440 @./config.status tools/makedep
21441 Makefile: tools/makedep$ac_exeext"
21442 else
21443 wine_fn_append_rule "\$(MAKEDEP):
21444 @echo \"You need to run make in $TOOLSDIR first\" && false"
21447 if test -n "$with_wine64"
21448 then
21449 case "$with_wine64" in
21450 /*) reldir="" ;;
21451 *) reldir="../" ;;
21452 esac
21453 rm -f fonts server 2>/dev/null
21454 wine_fn_append_rule "all: loader/wine64 loader/wine64-preloader $with_wine64/loader/wine $with_wine64/loader/wine-preloader
21455 loader/wine64 loader/wine64-preloader:
21456 rm -f \$@ && \$(LN_S) $reldir$with_wine64/\$@ \$@
21457 $with_wine64/loader/wine:
21458 rm -f \$@ && \$(LN_S) $ac_pwd/loader/wine \$@
21459 $with_wine64/loader/wine-preloader:
21460 rm -f \$@ && \$(LN_S) $ac_pwd/loader/wine-preloader \$@
21461 clean::
21462 rm -f loader/wine64 loader/wine64-preloader $with_wine64/loader/wine $with_wine64/loader/wine-preloader"
21463 else
21464 TOP_INSTALL_DEV="$TOP_INSTALL_DEV include"
21465 TOP_INSTALL_LIB="$TOP_INSTALL_LIB \
21466 fonts \
21467 loader/wine.inf \
21468 nls \
21469 programs/msidb/msidb \
21470 programs/msiexec/msiexec \
21471 programs/notepad/notepad \
21472 programs/regedit/regedit \
21473 programs/regsvr32/regsvr32 \
21474 programs/wineboot/wineboot \
21475 programs/winecfg/winecfg \
21476 programs/wineconsole/wineconsole \
21477 programs/winedbg/winedbg \
21478 programs/winefile/winefile \
21479 programs/winemine/winemine \
21480 programs/winepath/winepath \
21481 server/wineserver"
21483 case $host_os in
21484 cygwin*|mingw32*|darwin*|macosx*|linux-android*) ;;
21485 *) TOP_INSTALL_LIB="$TOP_INSTALL_LIB loader/wine.desktop" ;;
21486 esac
21489 $as_echo " done" >&6
21490 cat >confcache <<\_ACEOF
21491 # This file is a shell script that caches the results of configure
21492 # tests run on this system so they can be shared between configure
21493 # scripts and configure runs, see configure's option --config-cache.
21494 # It is not useful on other systems. If it contains results you don't
21495 # want to keep, you may remove or edit it.
21497 # config.status only pays attention to the cache file if you give it
21498 # the --recheck option to rerun configure.
21500 # `ac_cv_env_foo' variables (set or unset) will be overridden when
21501 # loading this file, other *unset* `ac_cv_foo' will be assigned the
21502 # following values.
21504 _ACEOF
21506 # The following way of writing the cache mishandles newlines in values,
21507 # but we know of no workaround that is simple, portable, and efficient.
21508 # So, we kill variables containing newlines.
21509 # Ultrix sh set writes to stderr and can't be redirected directly,
21510 # and sets the high bit in the cache file unless we assign to the vars.
21512 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
21513 eval ac_val=\$$ac_var
21514 case $ac_val in #(
21515 *${as_nl}*)
21516 case $ac_var in #(
21517 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
21518 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
21519 esac
21520 case $ac_var in #(
21521 _ | IFS | as_nl) ;; #(
21522 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
21523 *) { eval $ac_var=; unset $ac_var;} ;;
21524 esac ;;
21525 esac
21526 done
21528 (set) 2>&1 |
21529 case $as_nl`(ac_space=' '; set) 2>&1` in #(
21530 *${as_nl}ac_space=\ *)
21531 # `set' does not quote correctly, so add quotes: double-quote
21532 # substitution turns \\\\ into \\, and sed turns \\ into \.
21533 sed -n \
21534 "s/'/'\\\\''/g;
21535 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
21536 ;; #(
21538 # `set' quotes correctly as required by POSIX, so do not add quotes.
21539 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
21541 esac |
21542 sort
21544 sed '
21545 /^ac_cv_env_/b end
21546 t clear
21547 :clear
21548 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
21549 t end
21550 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
21551 :end' >>confcache
21552 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
21553 if test -w "$cache_file"; then
21554 if test "x$cache_file" != "x/dev/null"; then
21555 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
21556 $as_echo "$as_me: updating cache $cache_file" >&6;}
21557 if test ! -f "$cache_file" || test -h "$cache_file"; then
21558 cat confcache >"$cache_file"
21559 else
21560 case $cache_file in #(
21561 */* | ?:*)
21562 mv -f confcache "$cache_file"$$ &&
21563 mv -f "$cache_file"$$ "$cache_file" ;; #(
21565 mv -f confcache "$cache_file" ;;
21566 esac
21569 else
21570 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
21571 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
21574 rm -f confcache
21576 test "x$prefix" = xNONE && prefix=$ac_default_prefix
21577 # Let make expand exec_prefix.
21578 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
21580 DEFS=-DHAVE_CONFIG_H
21582 ac_libobjs=
21583 ac_ltlibobjs=
21585 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
21586 # 1. Remove the extension, and $U if already installed.
21587 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
21588 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
21589 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
21590 # will be set to the directory where LIBOBJS objects are built.
21591 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
21592 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
21593 done
21594 LIBOBJS=$ac_libobjs
21596 LTLIBOBJS=$ac_ltlibobjs
21600 : "${CONFIG_STATUS=./config.status}"
21601 ac_write_fail=0
21602 ac_clean_files_save=$ac_clean_files
21603 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
21604 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
21605 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
21606 as_write_fail=0
21607 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
21608 #! $SHELL
21609 # Generated by $as_me.
21610 # Run this file to recreate the current configuration.
21611 # Compiler output produced by configure, useful for debugging
21612 # configure, is in config.log if it exists.
21614 debug=false
21615 ac_cs_recheck=false
21616 ac_cs_silent=false
21618 SHELL=\${CONFIG_SHELL-$SHELL}
21619 export SHELL
21620 _ASEOF
21621 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
21622 ## -------------------- ##
21623 ## M4sh Initialization. ##
21624 ## -------------------- ##
21626 # Be more Bourne compatible
21627 DUALCASE=1; export DUALCASE # for MKS sh
21628 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
21629 emulate sh
21630 NULLCMD=:
21631 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
21632 # is contrary to our usage. Disable this feature.
21633 alias -g '${1+"$@"}'='"$@"'
21634 setopt NO_GLOB_SUBST
21635 else
21636 case `(set -o) 2>/dev/null` in #(
21637 *posix*) :
21638 set -o posix ;; #(
21639 *) :
21641 esac
21645 as_nl='
21647 export as_nl
21648 # Printing a long string crashes Solaris 7 /usr/bin/printf.
21649 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
21650 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
21651 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
21652 # Prefer a ksh shell builtin over an external printf program on Solaris,
21653 # but without wasting forks for bash or zsh.
21654 if test -z "$BASH_VERSION$ZSH_VERSION" \
21655 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
21656 as_echo='print -r --'
21657 as_echo_n='print -rn --'
21658 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
21659 as_echo='printf %s\n'
21660 as_echo_n='printf %s'
21661 else
21662 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
21663 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
21664 as_echo_n='/usr/ucb/echo -n'
21665 else
21666 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
21667 as_echo_n_body='eval
21668 arg=$1;
21669 case $arg in #(
21670 *"$as_nl"*)
21671 expr "X$arg" : "X\\(.*\\)$as_nl";
21672 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
21673 esac;
21674 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
21676 export as_echo_n_body
21677 as_echo_n='sh -c $as_echo_n_body as_echo'
21679 export as_echo_body
21680 as_echo='sh -c $as_echo_body as_echo'
21683 # The user is always right.
21684 if test "${PATH_SEPARATOR+set}" != set; then
21685 PATH_SEPARATOR=:
21686 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
21687 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
21688 PATH_SEPARATOR=';'
21693 # IFS
21694 # We need space, tab and new line, in precisely that order. Quoting is
21695 # there to prevent editors from complaining about space-tab.
21696 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
21697 # splitting by setting IFS to empty value.)
21698 IFS=" "" $as_nl"
21700 # Find who we are. Look in the path if we contain no directory separator.
21701 as_myself=
21702 case $0 in #((
21703 *[\\/]* ) as_myself=$0 ;;
21704 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
21705 for as_dir in $PATH
21707 IFS=$as_save_IFS
21708 test -z "$as_dir" && as_dir=.
21709 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
21710 done
21711 IFS=$as_save_IFS
21714 esac
21715 # We did not find ourselves, most probably we were run as `sh COMMAND'
21716 # in which case we are not to be found in the path.
21717 if test "x$as_myself" = x; then
21718 as_myself=$0
21720 if test ! -f "$as_myself"; then
21721 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
21722 exit 1
21725 # Unset variables that we do not need and which cause bugs (e.g. in
21726 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
21727 # suppresses any "Segmentation fault" message there. '((' could
21728 # trigger a bug in pdksh 5.2.14.
21729 for as_var in BASH_ENV ENV MAIL MAILPATH
21730 do eval test x\${$as_var+set} = xset \
21731 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
21732 done
21733 PS1='$ '
21734 PS2='> '
21735 PS4='+ '
21737 # NLS nuisances.
21738 LC_ALL=C
21739 export LC_ALL
21740 LANGUAGE=C
21741 export LANGUAGE
21743 # CDPATH.
21744 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
21747 # as_fn_error STATUS ERROR [LINENO LOG_FD]
21748 # ----------------------------------------
21749 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
21750 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
21751 # script with STATUS, using 1 if that was 0.
21752 as_fn_error ()
21754 as_status=$1; test $as_status -eq 0 && as_status=1
21755 if test "$4"; then
21756 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
21757 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
21759 $as_echo "$as_me: error: $2" >&2
21760 as_fn_exit $as_status
21761 } # as_fn_error
21764 # as_fn_set_status STATUS
21765 # -----------------------
21766 # Set $? to STATUS, without forking.
21767 as_fn_set_status ()
21769 return $1
21770 } # as_fn_set_status
21772 # as_fn_exit STATUS
21773 # -----------------
21774 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
21775 as_fn_exit ()
21777 set +e
21778 as_fn_set_status $1
21779 exit $1
21780 } # as_fn_exit
21782 # as_fn_unset VAR
21783 # ---------------
21784 # Portably unset VAR.
21785 as_fn_unset ()
21787 { eval $1=; unset $1;}
21789 as_unset=as_fn_unset
21790 # as_fn_append VAR VALUE
21791 # ----------------------
21792 # Append the text in VALUE to the end of the definition contained in VAR. Take
21793 # advantage of any shell optimizations that allow amortized linear growth over
21794 # repeated appends, instead of the typical quadratic growth present in naive
21795 # implementations.
21796 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
21797 eval 'as_fn_append ()
21799 eval $1+=\$2
21801 else
21802 as_fn_append ()
21804 eval $1=\$$1\$2
21806 fi # as_fn_append
21808 # as_fn_arith ARG...
21809 # ------------------
21810 # Perform arithmetic evaluation on the ARGs, and store the result in the
21811 # global $as_val. Take advantage of shells that can avoid forks. The arguments
21812 # must be portable across $(()) and expr.
21813 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
21814 eval 'as_fn_arith ()
21816 as_val=$(( $* ))
21818 else
21819 as_fn_arith ()
21821 as_val=`expr "$@" || test $? -eq 1`
21823 fi # as_fn_arith
21826 if expr a : '\(a\)' >/dev/null 2>&1 &&
21827 test "X`expr 00001 : '.*\(...\)'`" = X001; then
21828 as_expr=expr
21829 else
21830 as_expr=false
21833 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
21834 as_basename=basename
21835 else
21836 as_basename=false
21839 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
21840 as_dirname=dirname
21841 else
21842 as_dirname=false
21845 as_me=`$as_basename -- "$0" ||
21846 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
21847 X"$0" : 'X\(//\)$' \| \
21848 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
21849 $as_echo X/"$0" |
21850 sed '/^.*\/\([^/][^/]*\)\/*$/{
21851 s//\1/
21854 /^X\/\(\/\/\)$/{
21855 s//\1/
21858 /^X\/\(\/\).*/{
21859 s//\1/
21862 s/.*/./; q'`
21864 # Avoid depending upon Character Ranges.
21865 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
21866 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
21867 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
21868 as_cr_digits='0123456789'
21869 as_cr_alnum=$as_cr_Letters$as_cr_digits
21871 ECHO_C= ECHO_N= ECHO_T=
21872 case `echo -n x` in #(((((
21873 -n*)
21874 case `echo 'xy\c'` in
21875 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
21876 xy) ECHO_C='\c';;
21877 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
21878 ECHO_T=' ';;
21879 esac;;
21881 ECHO_N='-n';;
21882 esac
21884 rm -f conf$$ conf$$.exe conf$$.file
21885 if test -d conf$$.dir; then
21886 rm -f conf$$.dir/conf$$.file
21887 else
21888 rm -f conf$$.dir
21889 mkdir conf$$.dir 2>/dev/null
21891 if (echo >conf$$.file) 2>/dev/null; then
21892 if ln -s conf$$.file conf$$ 2>/dev/null; then
21893 as_ln_s='ln -s'
21894 # ... but there are two gotchas:
21895 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
21896 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
21897 # In both cases, we have to default to `cp -pR'.
21898 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
21899 as_ln_s='cp -pR'
21900 elif ln conf$$.file conf$$ 2>/dev/null; then
21901 as_ln_s=ln
21902 else
21903 as_ln_s='cp -pR'
21905 else
21906 as_ln_s='cp -pR'
21908 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
21909 rmdir conf$$.dir 2>/dev/null
21912 # as_fn_mkdir_p
21913 # -------------
21914 # Create "$as_dir" as a directory, including parents if necessary.
21915 as_fn_mkdir_p ()
21918 case $as_dir in #(
21919 -*) as_dir=./$as_dir;;
21920 esac
21921 test -d "$as_dir" || eval $as_mkdir_p || {
21922 as_dirs=
21923 while :; do
21924 case $as_dir in #(
21925 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
21926 *) as_qdir=$as_dir;;
21927 esac
21928 as_dirs="'$as_qdir' $as_dirs"
21929 as_dir=`$as_dirname -- "$as_dir" ||
21930 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21931 X"$as_dir" : 'X\(//\)[^/]' \| \
21932 X"$as_dir" : 'X\(//\)$' \| \
21933 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
21934 $as_echo X"$as_dir" |
21935 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
21936 s//\1/
21939 /^X\(\/\/\)[^/].*/{
21940 s//\1/
21943 /^X\(\/\/\)$/{
21944 s//\1/
21947 /^X\(\/\).*/{
21948 s//\1/
21951 s/.*/./; q'`
21952 test -d "$as_dir" && break
21953 done
21954 test -z "$as_dirs" || eval "mkdir $as_dirs"
21955 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
21958 } # as_fn_mkdir_p
21959 if mkdir -p . 2>/dev/null; then
21960 as_mkdir_p='mkdir -p "$as_dir"'
21961 else
21962 test -d ./-p && rmdir ./-p
21963 as_mkdir_p=false
21967 # as_fn_executable_p FILE
21968 # -----------------------
21969 # Test if FILE is an executable regular file.
21970 as_fn_executable_p ()
21972 test -f "$1" && test -x "$1"
21973 } # as_fn_executable_p
21974 as_test_x='test -x'
21975 as_executable_p=as_fn_executable_p
21977 # Sed expression to map a string onto a valid CPP name.
21978 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
21980 # Sed expression to map a string onto a valid variable name.
21981 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
21984 exec 6>&1
21985 ## ----------------------------------- ##
21986 ## Main body of $CONFIG_STATUS script. ##
21987 ## ----------------------------------- ##
21988 _ASEOF
21989 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
21991 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
21992 # Save the log message, to keep $0 and so on meaningful, and to
21993 # report actual input values of CONFIG_FILES etc. instead of their
21994 # values after options handling.
21995 ac_log="
21996 This file was extended by Wine $as_me 6.6, which was
21997 generated by GNU Autoconf 2.69. Invocation command line was
21999 CONFIG_FILES = $CONFIG_FILES
22000 CONFIG_HEADERS = $CONFIG_HEADERS
22001 CONFIG_LINKS = $CONFIG_LINKS
22002 CONFIG_COMMANDS = $CONFIG_COMMANDS
22003 $ $0 $@
22005 on `(hostname || uname -n) 2>/dev/null | sed 1q`
22008 _ACEOF
22010 case $ac_config_files in *"
22011 "*) set x $ac_config_files; shift; ac_config_files=$*;;
22012 esac
22014 case $ac_config_headers in *"
22015 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
22016 esac
22019 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22020 # Files that config.status was made for.
22021 config_files="$ac_config_files"
22022 config_headers="$ac_config_headers"
22023 config_links="$ac_config_links"
22024 config_commands="$ac_config_commands"
22026 _ACEOF
22028 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22029 ac_cs_usage="\
22030 \`$as_me' instantiates files and other configuration actions
22031 from templates according to the current configuration. Unless the files
22032 and actions are specified as TAGs, all are instantiated by default.
22034 Usage: $0 [OPTION]... [TAG]...
22036 -h, --help print this help, then exit
22037 -V, --version print version number and configuration settings, then exit
22038 --config print configuration, then exit
22039 -q, --quiet, --silent
22040 do not print progress messages
22041 -d, --debug don't remove temporary files
22042 --recheck update $as_me by reconfiguring in the same conditions
22043 --file=FILE[:TEMPLATE]
22044 instantiate the configuration file FILE
22045 --header=FILE[:TEMPLATE]
22046 instantiate the configuration header FILE
22048 Configuration files:
22049 $config_files
22051 Configuration headers:
22052 $config_headers
22054 Configuration links:
22055 $config_links
22057 Configuration commands:
22058 $config_commands
22060 Report bugs to <wine-devel@winehq.org>.
22061 Wine home page: <https://www.winehq.org>."
22063 _ACEOF
22064 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22065 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
22066 ac_cs_version="\\
22067 Wine config.status 6.6
22068 configured by $0, generated by GNU Autoconf 2.69,
22069 with options \\"\$ac_cs_config\\"
22071 Copyright (C) 2012 Free Software Foundation, Inc.
22072 This config.status script is free software; the Free Software Foundation
22073 gives unlimited permission to copy, distribute and modify it."
22075 ac_pwd='$ac_pwd'
22076 srcdir='$srcdir'
22077 test -n "\$AWK" || AWK=awk
22078 _ACEOF
22080 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22081 # The default lists apply if the user does not specify any file.
22082 ac_need_defaults=:
22083 while test $# != 0
22085 case $1 in
22086 --*=?*)
22087 ac_option=`expr "X$1" : 'X\([^=]*\)='`
22088 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
22089 ac_shift=:
22091 --*=)
22092 ac_option=`expr "X$1" : 'X\([^=]*\)='`
22093 ac_optarg=
22094 ac_shift=:
22097 ac_option=$1
22098 ac_optarg=$2
22099 ac_shift=shift
22101 esac
22103 case $ac_option in
22104 # Handling of the options.
22105 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
22106 ac_cs_recheck=: ;;
22107 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
22108 $as_echo "$ac_cs_version"; exit ;;
22109 --config | --confi | --conf | --con | --co | --c )
22110 $as_echo "$ac_cs_config"; exit ;;
22111 --debug | --debu | --deb | --de | --d | -d )
22112 debug=: ;;
22113 --file | --fil | --fi | --f )
22114 $ac_shift
22115 case $ac_optarg in
22116 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
22117 '') as_fn_error $? "missing file argument" ;;
22118 esac
22119 as_fn_append CONFIG_FILES " '$ac_optarg'"
22120 ac_need_defaults=false;;
22121 --header | --heade | --head | --hea )
22122 $ac_shift
22123 case $ac_optarg in
22124 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
22125 esac
22126 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
22127 ac_need_defaults=false;;
22128 --he | --h)
22129 # Conflict between --help and --header
22130 as_fn_error $? "ambiguous option: \`$1'
22131 Try \`$0 --help' for more information.";;
22132 --help | --hel | -h )
22133 $as_echo "$ac_cs_usage"; exit ;;
22134 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
22135 | -silent | --silent | --silen | --sile | --sil | --si | --s)
22136 ac_cs_silent=: ;;
22138 # This is an error.
22139 -*) as_fn_error $? "unrecognized option: \`$1'
22140 Try \`$0 --help' for more information." ;;
22142 *) as_fn_append ac_config_targets " $1"
22143 ac_need_defaults=false ;;
22145 esac
22146 shift
22147 done
22149 ac_configure_extra_args=
22151 if $ac_cs_silent; then
22152 exec 6>/dev/null
22153 ac_configure_extra_args="$ac_configure_extra_args --silent"
22156 _ACEOF
22157 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22158 if \$ac_cs_recheck; then
22159 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
22160 shift
22161 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
22162 CONFIG_SHELL='$SHELL'
22163 export CONFIG_SHELL
22164 exec "\$@"
22167 _ACEOF
22168 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22169 exec 5>>config.log
22171 echo
22172 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
22173 ## Running $as_me. ##
22174 _ASBOX
22175 $as_echo "$ac_log"
22176 } >&5
22178 _ACEOF
22179 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22181 # INIT-COMMANDS
22183 wine_fn_output_makedep ()
22185 as_dir=tools; as_fn_mkdir_p
22186 $CC -Iinclude -I$srcdir/include -D__WINESRC__ $EXTRACFLAGS $CPPFLAGS $CFLAGS -o tools/makedep$ac_exeext $srcdir/tools/makedep.c $LDFLAGS
22188 wine_fn_output_makefile ()
22190 cat Make.tmp - <<\_WINE_EOF >\$tmp/makefile && mv -f \$tmp/makefile \$1 && rm -f Make.tmp && "$wine_makedep"$makedep_flags && return
22191 `cat $wine_rules_file`
22192 _WINE_EOF
22193 as_fn_error $? "could not create Makefile" "$LINENO" 5
22196 _ACEOF
22198 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22200 # Handling of arguments.
22201 for ac_config_target in $ac_config_targets
22203 case $ac_config_target in
22204 "include/config.h") CONFIG_HEADERS="$CONFIG_HEADERS include/config.h" ;;
22205 "include/stamp-h") CONFIG_COMMANDS="$CONFIG_COMMANDS include/stamp-h" ;;
22206 "wine") CONFIG_LINKS="$CONFIG_LINKS wine:tools/winewrapper" ;;
22207 "wine64") CONFIG_LINKS="$CONFIG_LINKS wine64:tools/winewrapper" ;;
22208 "tools/makedep") CONFIG_COMMANDS="$CONFIG_COMMANDS tools/makedep" ;;
22209 "Makefile") CONFIG_COMMANDS="$CONFIG_COMMANDS Makefile" ;;
22210 "Make.tmp") CONFIG_FILES="$CONFIG_FILES Make.tmp:Makefile.in" ;;
22212 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
22213 esac
22214 done
22217 # If the user did not use the arguments to specify the items to instantiate,
22218 # then the envvar interface is used. Set only those that are not.
22219 # We use the long form for the default assignment because of an extremely
22220 # bizarre bug on SunOS 4.1.3.
22221 if $ac_need_defaults; then
22222 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
22223 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
22224 test "${CONFIG_LINKS+set}" = set || CONFIG_LINKS=$config_links
22225 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
22228 # Have a temporary directory for convenience. Make it in the build tree
22229 # simply because there is no reason against having it here, and in addition,
22230 # creating and moving files from /tmp can sometimes cause problems.
22231 # Hook for its removal unless debugging.
22232 # Note that there is a small window in which the directory will not be cleaned:
22233 # after its creation but before its name has been assigned to `$tmp'.
22234 $debug ||
22236 tmp= ac_tmp=
22237 trap 'exit_status=$?
22238 : "${ac_tmp:=$tmp}"
22239 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
22241 trap 'as_fn_exit 1' 1 2 13 15
22243 # Create a (secure) tmp directory for tmp files.
22246 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
22247 test -d "$tmp"
22248 } ||
22250 tmp=./conf$$-$RANDOM
22251 (umask 077 && mkdir "$tmp")
22252 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
22253 ac_tmp=$tmp
22255 # Set up the scripts for CONFIG_FILES section.
22256 # No need to generate them if there are no CONFIG_FILES.
22257 # This happens for instance with `./config.status config.h'.
22258 if test -n "$CONFIG_FILES"; then
22261 ac_cr=`echo X | tr X '\015'`
22262 # On cygwin, bash can eat \r inside `` if the user requested igncr.
22263 # But we know of no other shell where ac_cr would be empty at this
22264 # point, so we can use a bashism as a fallback.
22265 if test "x$ac_cr" = x; then
22266 eval ac_cr=\$\'\\r\'
22268 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
22269 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
22270 ac_cs_awk_cr='\\r'
22271 else
22272 ac_cs_awk_cr=$ac_cr
22275 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
22276 _ACEOF
22280 echo "cat >conf$$subs.awk <<_ACEOF" &&
22281 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
22282 echo "_ACEOF"
22283 } >conf$$subs.sh ||
22284 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
22285 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
22286 ac_delim='%!_!# '
22287 for ac_last_try in false false false false false :; do
22288 . ./conf$$subs.sh ||
22289 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
22291 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
22292 if test $ac_delim_n = $ac_delim_num; then
22293 break
22294 elif $ac_last_try; then
22295 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
22296 else
22297 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
22299 done
22300 rm -f conf$$subs.sh
22302 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22303 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
22304 _ACEOF
22305 sed -n '
22307 s/^/S["/; s/!.*/"]=/
22310 s/^[^!]*!//
22311 :repl
22312 t repl
22313 s/'"$ac_delim"'$//
22314 t delim
22317 s/\(.\{148\}\)..*/\1/
22318 t more1
22319 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
22322 b repl
22323 :more1
22324 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
22327 s/.\{148\}//
22328 t nl
22329 :delim
22331 s/\(.\{148\}\)..*/\1/
22332 t more2
22333 s/["\\]/\\&/g; s/^/"/; s/$/"/
22336 :more2
22337 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
22340 s/.\{148\}//
22341 t delim
22342 ' <conf$$subs.awk | sed '
22343 /^[^""]/{
22345 s/\n//
22347 ' >>$CONFIG_STATUS || ac_write_fail=1
22348 rm -f conf$$subs.awk
22349 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22350 _ACAWK
22351 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
22352 for (key in S) S_is_set[key] = 1
22353 FS = "\a"
22357 line = $ 0
22358 nfields = split(line, field, "@")
22359 substed = 0
22360 len = length(field[1])
22361 for (i = 2; i < nfields; i++) {
22362 key = field[i]
22363 keylen = length(key)
22364 if (S_is_set[key]) {
22365 value = S[key]
22366 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
22367 len += length(value) + length(field[++i])
22368 substed = 1
22369 } else
22370 len += 1 + keylen
22373 print line
22376 _ACAWK
22377 _ACEOF
22378 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22379 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
22380 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
22381 else
22383 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
22384 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
22385 _ACEOF
22387 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
22388 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
22389 # trailing colons and then remove the whole line if VPATH becomes empty
22390 # (actually we leave an empty line to preserve line numbers).
22391 if test "x$srcdir" = x.; then
22392 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
22394 s///
22395 s/^/:/
22396 s/[ ]*$/:/
22397 s/:\$(srcdir):/:/g
22398 s/:\${srcdir}:/:/g
22399 s/:@srcdir@:/:/g
22400 s/^:*//
22401 s/:*$//
22403 s/\(=[ ]*\).*/\1/
22405 s/\n//
22406 s/^[^=]*=[ ]*$//
22410 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22411 fi # test -n "$CONFIG_FILES"
22413 # Set up the scripts for CONFIG_HEADERS section.
22414 # No need to generate them if there are no CONFIG_HEADERS.
22415 # This happens for instance with `./config.status Makefile'.
22416 if test -n "$CONFIG_HEADERS"; then
22417 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
22418 BEGIN {
22419 _ACEOF
22421 # Transform confdefs.h into an awk script `defines.awk', embedded as
22422 # here-document in config.status, that substitutes the proper values into
22423 # config.h.in to produce config.h.
22425 # Create a delimiter string that does not exist in confdefs.h, to ease
22426 # handling of long lines.
22427 ac_delim='%!_!# '
22428 for ac_last_try in false false :; do
22429 ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
22430 if test -z "$ac_tt"; then
22431 break
22432 elif $ac_last_try; then
22433 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
22434 else
22435 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
22437 done
22439 # For the awk script, D is an array of macro values keyed by name,
22440 # likewise P contains macro parameters if any. Preserve backslash
22441 # newline sequences.
22443 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
22444 sed -n '
22445 s/.\{148\}/&'"$ac_delim"'/g
22446 t rset
22447 :rset
22448 s/^[ ]*#[ ]*define[ ][ ]*/ /
22449 t def
22451 :def
22452 s/\\$//
22453 t bsnl
22454 s/["\\]/\\&/g
22455 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
22456 D["\1"]=" \3"/p
22457 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
22459 :bsnl
22460 s/["\\]/\\&/g
22461 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
22462 D["\1"]=" \3\\\\\\n"\\/p
22463 t cont
22464 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
22465 t cont
22467 :cont
22469 s/.\{148\}/&'"$ac_delim"'/g
22470 t clear
22471 :clear
22472 s/\\$//
22473 t bsnlc
22474 s/["\\]/\\&/g; s/^/"/; s/$/"/p
22476 :bsnlc
22477 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
22478 b cont
22479 ' <confdefs.h | sed '
22480 s/'"$ac_delim"'/"\\\
22481 "/g' >>$CONFIG_STATUS || ac_write_fail=1
22483 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22484 for (key in D) D_is_set[key] = 1
22485 FS = "\a"
22487 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
22488 line = \$ 0
22489 split(line, arg, " ")
22490 if (arg[1] == "#") {
22491 defundef = arg[2]
22492 mac1 = arg[3]
22493 } else {
22494 defundef = substr(arg[1], 2)
22495 mac1 = arg[2]
22497 split(mac1, mac2, "(") #)
22498 macro = mac2[1]
22499 prefix = substr(line, 1, index(line, defundef) - 1)
22500 if (D_is_set[macro]) {
22501 # Preserve the white space surrounding the "#".
22502 print prefix "define", macro P[macro] D[macro]
22503 next
22504 } else {
22505 # Replace #undef with comments. This is necessary, for example,
22506 # in the case of _POSIX_SOURCE, which is predefined and required
22507 # on some systems where configure will not decide to define it.
22508 if (defundef == "undef") {
22509 print "/*", prefix defundef, macro, "*/"
22510 next
22514 { print }
22515 _ACAWK
22516 _ACEOF
22517 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22518 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
22519 fi # test -n "$CONFIG_HEADERS"
22522 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :L $CONFIG_LINKS :C $CONFIG_COMMANDS"
22523 shift
22524 for ac_tag
22526 case $ac_tag in
22527 :[FHLC]) ac_mode=$ac_tag; continue;;
22528 esac
22529 case $ac_mode$ac_tag in
22530 :[FHL]*:*);;
22531 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
22532 :[FH]-) ac_tag=-:-;;
22533 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
22534 esac
22535 ac_save_IFS=$IFS
22536 IFS=:
22537 set x $ac_tag
22538 IFS=$ac_save_IFS
22539 shift
22540 ac_file=$1
22541 shift
22543 case $ac_mode in
22544 :L) ac_source=$1;;
22545 :[FH])
22546 ac_file_inputs=
22547 for ac_f
22549 case $ac_f in
22550 -) ac_f="$ac_tmp/stdin";;
22551 *) # Look for the file first in the build tree, then in the source tree
22552 # (if the path is not absolute). The absolute path cannot be DOS-style,
22553 # because $ac_f cannot contain `:'.
22554 test -f "$ac_f" ||
22555 case $ac_f in
22556 [\\/$]*) false;;
22557 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
22558 esac ||
22559 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
22560 esac
22561 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
22562 as_fn_append ac_file_inputs " '$ac_f'"
22563 done
22565 # Let's still pretend it is `configure' which instantiates (i.e., don't
22566 # use $as_me), people would be surprised to read:
22567 # /* config.h. Generated by config.status. */
22568 configure_input='Generated from '`
22569 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
22570 `' by configure.'
22571 if test x"$ac_file" != x-; then
22572 configure_input="$ac_file. $configure_input"
22573 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
22574 $as_echo "$as_me: creating $ac_file" >&6;}
22576 # Neutralize special characters interpreted by sed in replacement strings.
22577 case $configure_input in #(
22578 *\&* | *\|* | *\\* )
22579 ac_sed_conf_input=`$as_echo "$configure_input" |
22580 sed 's/[\\\\&|]/\\\\&/g'`;; #(
22581 *) ac_sed_conf_input=$configure_input;;
22582 esac
22584 case $ac_tag in
22585 *:-:* | *:-) cat >"$ac_tmp/stdin" \
22586 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
22587 esac
22589 esac
22591 ac_dir=`$as_dirname -- "$ac_file" ||
22592 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
22593 X"$ac_file" : 'X\(//\)[^/]' \| \
22594 X"$ac_file" : 'X\(//\)$' \| \
22595 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
22596 $as_echo X"$ac_file" |
22597 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
22598 s//\1/
22601 /^X\(\/\/\)[^/].*/{
22602 s//\1/
22605 /^X\(\/\/\)$/{
22606 s//\1/
22609 /^X\(\/\).*/{
22610 s//\1/
22613 s/.*/./; q'`
22614 as_dir="$ac_dir"; as_fn_mkdir_p
22615 ac_builddir=.
22617 case "$ac_dir" in
22618 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
22620 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
22621 # A ".." for each directory in $ac_dir_suffix.
22622 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
22623 case $ac_top_builddir_sub in
22624 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
22625 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
22626 esac ;;
22627 esac
22628 ac_abs_top_builddir=$ac_pwd
22629 ac_abs_builddir=$ac_pwd$ac_dir_suffix
22630 # for backward compatibility:
22631 ac_top_builddir=$ac_top_build_prefix
22633 case $srcdir in
22634 .) # We are building in place.
22635 ac_srcdir=.
22636 ac_top_srcdir=$ac_top_builddir_sub
22637 ac_abs_top_srcdir=$ac_pwd ;;
22638 [\\/]* | ?:[\\/]* ) # Absolute name.
22639 ac_srcdir=$srcdir$ac_dir_suffix;
22640 ac_top_srcdir=$srcdir
22641 ac_abs_top_srcdir=$srcdir ;;
22642 *) # Relative name.
22643 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
22644 ac_top_srcdir=$ac_top_build_prefix$srcdir
22645 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
22646 esac
22647 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
22650 case $ac_mode in
22653 # CONFIG_FILE
22656 _ACEOF
22658 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22659 # If the template does not know about datarootdir, expand it.
22660 # FIXME: This hack should be removed a few years after 2.60.
22661 ac_datarootdir_hack=; ac_datarootdir_seen=
22662 ac_sed_dataroot='
22663 /datarootdir/ {
22667 /@datadir@/p
22668 /@docdir@/p
22669 /@infodir@/p
22670 /@localedir@/p
22671 /@mandir@/p'
22672 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
22673 *datarootdir*) ac_datarootdir_seen=yes;;
22674 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
22675 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
22676 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
22677 _ACEOF
22678 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22679 ac_datarootdir_hack='
22680 s&@datadir@&$datadir&g
22681 s&@docdir@&$docdir&g
22682 s&@infodir@&$infodir&g
22683 s&@localedir@&$localedir&g
22684 s&@mandir@&$mandir&g
22685 s&\\\${datarootdir}&$datarootdir&g' ;;
22686 esac
22687 _ACEOF
22689 # Neutralize VPATH when `$srcdir' = `.'.
22690 # Shell code in configure.ac might set extrasub.
22691 # FIXME: do we really want to maintain this feature?
22692 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22693 ac_sed_extra="$ac_vpsub
22694 $extrasub
22695 _ACEOF
22696 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22698 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
22699 s|@configure_input@|$ac_sed_conf_input|;t t
22700 s&@top_builddir@&$ac_top_builddir_sub&;t t
22701 s&@top_build_prefix@&$ac_top_build_prefix&;t t
22702 s&@srcdir@&$ac_srcdir&;t t
22703 s&@abs_srcdir@&$ac_abs_srcdir&;t t
22704 s&@top_srcdir@&$ac_top_srcdir&;t t
22705 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
22706 s&@builddir@&$ac_builddir&;t t
22707 s&@abs_builddir@&$ac_abs_builddir&;t t
22708 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
22709 $ac_datarootdir_hack
22711 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
22712 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
22714 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
22715 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
22716 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
22717 "$ac_tmp/out"`; test -z "$ac_out"; } &&
22718 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
22719 which seems to be undefined. Please make sure it is defined" >&5
22720 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
22721 which seems to be undefined. Please make sure it is defined" >&2;}
22723 rm -f "$ac_tmp/stdin"
22724 case $ac_file in
22725 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
22726 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
22727 esac \
22728 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
22732 # CONFIG_HEADER
22734 if test x"$ac_file" != x-; then
22736 $as_echo "/* $configure_input */" \
22737 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
22738 } >"$ac_tmp/config.h" \
22739 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
22740 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
22741 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
22742 $as_echo "$as_me: $ac_file is unchanged" >&6;}
22743 else
22744 rm -f "$ac_file"
22745 mv "$ac_tmp/config.h" "$ac_file" \
22746 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
22748 else
22749 $as_echo "/* $configure_input */" \
22750 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
22751 || as_fn_error $? "could not create -" "$LINENO" 5
22756 # CONFIG_LINK
22759 if test "$ac_source" = "$ac_file" && test "$srcdir" = '.'; then
22761 else
22762 # Prefer the file from the source tree if names are identical.
22763 if test "$ac_source" = "$ac_file" || test ! -r "$ac_source"; then
22764 ac_source=$srcdir/$ac_source
22767 { $as_echo "$as_me:${as_lineno-$LINENO}: linking $ac_source to $ac_file" >&5
22768 $as_echo "$as_me: linking $ac_source to $ac_file" >&6;}
22770 if test ! -r "$ac_source"; then
22771 as_fn_error $? "$ac_source: file not found" "$LINENO" 5
22773 rm -f "$ac_file"
22775 # Try a relative symlink, then a hard link, then a copy.
22776 case $ac_source in
22777 [\\/$]* | ?:[\\/]* ) ac_rel_source=$ac_source ;;
22778 *) ac_rel_source=$ac_top_build_prefix$ac_source ;;
22779 esac
22780 ln -s "$ac_rel_source" "$ac_file" 2>/dev/null ||
22781 ln "$ac_source" "$ac_file" 2>/dev/null ||
22782 cp -p "$ac_source" "$ac_file" ||
22783 as_fn_error $? "cannot link or copy $ac_source to $ac_file" "$LINENO" 5
22786 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
22787 $as_echo "$as_me: executing $ac_file commands" >&6;}
22789 esac
22792 case $ac_file$ac_mode in
22793 "include/stamp-h":C) echo timestamp > include/stamp-h ;;
22794 "tools/makedep":C) wine_fn_output_makedep || as_fn_exit $? ;;
22795 "Makefile":C) wine_fn_output_makefile Makefile ;;
22797 esac
22798 done # for ac_tag
22801 as_fn_exit 0
22802 _ACEOF
22803 ac_clean_files=$ac_clean_files_save
22805 test $ac_write_fail = 0 ||
22806 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
22809 # configure is writing to config.log, and then calls config.status.
22810 # config.status does its own redirection, appending to config.log.
22811 # Unfortunately, on DOS this fails, as config.log is still kept open
22812 # by configure, so config.status won't be able to write to it; its
22813 # output is simply discarded. So we exec the FD to /dev/null,
22814 # effectively closing config.log, so it can be properly (re)opened and
22815 # appended to by config.status. When coming back to configure, we
22816 # need to make the FD available again.
22817 if test "$no_create" != yes; then
22818 ac_cs_success=:
22819 ac_config_status_args=
22820 test "$silent" = yes &&
22821 ac_config_status_args="$ac_config_status_args --quiet"
22822 exec 5>/dev/null
22823 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
22824 exec 5>>config.log
22825 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
22826 # would make configure fail if this is the last instruction.
22827 $ac_cs_success || as_fn_exit 1
22829 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
22830 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
22831 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
22835 if test "$no_create" = "yes"
22836 then
22837 exit 0
22840 ac_save_IFS="$IFS"
22841 if test "x$wine_notices" != x; then
22842 echo >&6
22843 IFS="|"
22844 for msg in $wine_notices; do
22845 IFS="$ac_save_IFS"
22846 if ${msg:+false} :; then :
22848 else
22849 { $as_echo "$as_me:${as_lineno-$LINENO}: $msg" >&5
22850 $as_echo "$as_me: $msg" >&6;}
22852 done
22854 IFS="|"
22855 for msg in $wine_warnings; do
22856 IFS="$ac_save_IFS"
22857 if ${msg:+false} :; then :
22859 else
22860 echo >&2
22861 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $msg" >&5
22862 $as_echo "$as_me: WARNING: $msg" >&2;}
22864 done
22865 IFS="$ac_save_IFS"
22867 $as_echo "
22868 $as_me: Finished. Do '${ac_make}' to compile Wine.
22869 " >&6