reg/tests: Use string literals instead of a char buffer for REG_MULTI_SZ tests.
[wine.git] / configure
blobca517b1d31a84cab3252dcbbb27c5ce69015aee3
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.69 for Wine 6.7.
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.7'
584 PACKAGE_STRING='Wine 6.7'
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 ARCH
779 TARGETFLAGS
781 CPPBIN
782 ac_ct_CXX
783 CXXFLAGS
785 OBJEXT
786 EXEEXT
787 ac_ct_CC
788 CPPFLAGS
789 LDFLAGS
790 CFLAGS
792 SET_MAKE
793 host_os
794 host_vendor
795 host_cpu
796 host
797 build_os
798 build_vendor
799 build_cpu
800 build
801 target_alias
802 host_alias
803 build_alias
804 LIBS
805 ECHO_T
806 ECHO_N
807 ECHO_C
808 DEFS
809 mandir
810 localedir
811 libdir
812 psdir
813 pdfdir
814 dvidir
815 htmldir
816 infodir
817 docdir
818 oldincludedir
819 includedir
820 runstatedir
821 localstatedir
822 sharedstatedir
823 sysconfdir
824 datadir
825 datarootdir
826 libexecdir
827 sbindir
828 bindir
829 program_transform_name
830 prefix
831 exec_prefix
832 PACKAGE_URL
833 PACKAGE_BUGREPORT
834 PACKAGE_STRING
835 PACKAGE_VERSION
836 PACKAGE_TARNAME
837 PACKAGE_NAME
838 PATH_SEPARATOR
839 SHELL'
840 ac_subst_files=''
841 ac_user_opts='
842 enable_option_checking
843 enable_win16
844 enable_win64
845 enable_tests
846 enable_build_id
847 enable_maintainer_mode
848 enable_silent_rules
849 enable_werror
850 with_alsa
851 with_capi
852 with_cms
853 with_coreaudio
854 with_cups
855 with_dbus
856 with_faudio
857 with_float_abi
858 with_fontconfig
859 with_freetype
860 with_gettext
861 with_gettextpo
862 with_gphoto
863 with_gnutls
864 with_gsm
865 with_gssapi
866 with_gstreamer
867 with_hal
868 with_inotify
869 with_jpeg
870 with_jxrlib
871 with_krb5
872 with_ldap
873 with_mingw
874 with_mpg123
875 with_netapi
876 with_openal
877 with_opencl
878 with_opengl
879 with_osmesa
880 with_oss
881 with_pcap
882 with_png
883 with_pthread
884 with_pulse
885 with_quicktime
886 with_sane
887 with_sdl
888 with_tiff
889 with_udev
890 with_unwind
891 with_usb
892 with_v4l2
893 with_vkd3d
894 with_vulkan
895 with_xcomposite
896 with_xcursor
897 with_xfixes
898 with_xinerama
899 with_xinput
900 with_xinput2
901 with_xml
902 with_xrandr
903 with_xrender
904 with_xshape
905 with_xshm
906 with_xslt
907 with_xxf86vm
908 with_wine_tools
909 with_wine64
910 enable_largefile
911 with_x
912 enable_acledit
913 enable_aclui
914 enable_activeds_tlb
915 enable_activeds
916 enable_actxprxy
917 enable_adsiid
918 enable_adsldp
919 enable_adsldpc
920 enable_advapi32
921 enable_advpack
922 enable_amsi
923 enable_amstream
924 enable_api_ms_win_appmodel_identity_l1_1_0
925 enable_api_ms_win_appmodel_runtime_l1_1_1
926 enable_api_ms_win_appmodel_runtime_l1_1_2
927 enable_api_ms_win_core_apiquery_l1_1_0
928 enable_api_ms_win_core_appcompat_l1_1_1
929 enable_api_ms_win_core_appinit_l1_1_0
930 enable_api_ms_win_core_atoms_l1_1_0
931 enable_api_ms_win_core_bem_l1_1_0
932 enable_api_ms_win_core_com_l1_1_0
933 enable_api_ms_win_core_com_l1_1_1
934 enable_api_ms_win_core_com_private_l1_1_0
935 enable_api_ms_win_core_comm_l1_1_0
936 enable_api_ms_win_core_console_l1_1_0
937 enable_api_ms_win_core_console_l2_1_0
938 enable_api_ms_win_core_crt_l1_1_0
939 enable_api_ms_win_core_crt_l2_1_0
940 enable_api_ms_win_core_datetime_l1_1_0
941 enable_api_ms_win_core_datetime_l1_1_1
942 enable_api_ms_win_core_debug_l1_1_0
943 enable_api_ms_win_core_debug_l1_1_1
944 enable_api_ms_win_core_delayload_l1_1_0
945 enable_api_ms_win_core_delayload_l1_1_1
946 enable_api_ms_win_core_errorhandling_l1_1_0
947 enable_api_ms_win_core_errorhandling_l1_1_1
948 enable_api_ms_win_core_errorhandling_l1_1_2
949 enable_api_ms_win_core_errorhandling_l1_1_3
950 enable_api_ms_win_core_fibers_l1_1_0
951 enable_api_ms_win_core_fibers_l1_1_1
952 enable_api_ms_win_core_file_ansi_l2_1_0
953 enable_api_ms_win_core_file_fromapp_l1_1_0
954 enable_api_ms_win_core_file_l1_1_0
955 enable_api_ms_win_core_file_l1_2_0
956 enable_api_ms_win_core_file_l1_2_1
957 enable_api_ms_win_core_file_l1_2_2
958 enable_api_ms_win_core_file_l2_1_0
959 enable_api_ms_win_core_file_l2_1_1
960 enable_api_ms_win_core_file_l2_1_2
961 enable_api_ms_win_core_handle_l1_1_0
962 enable_api_ms_win_core_heap_l1_1_0
963 enable_api_ms_win_core_heap_l1_2_0
964 enable_api_ms_win_core_heap_l2_1_0
965 enable_api_ms_win_core_heap_obsolete_l1_1_0
966 enable_api_ms_win_core_interlocked_l1_1_0
967 enable_api_ms_win_core_interlocked_l1_2_0
968 enable_api_ms_win_core_io_l1_1_0
969 enable_api_ms_win_core_io_l1_1_1
970 enable_api_ms_win_core_job_l1_1_0
971 enable_api_ms_win_core_job_l2_1_0
972 enable_api_ms_win_core_kernel32_legacy_l1_1_0
973 enable_api_ms_win_core_kernel32_legacy_l1_1_1
974 enable_api_ms_win_core_kernel32_legacy_l1_1_2
975 enable_api_ms_win_core_kernel32_private_l1_1_1
976 enable_api_ms_win_core_largeinteger_l1_1_0
977 enable_api_ms_win_core_libraryloader_l1_1_0
978 enable_api_ms_win_core_libraryloader_l1_1_1
979 enable_api_ms_win_core_libraryloader_l1_2_0
980 enable_api_ms_win_core_libraryloader_l1_2_1
981 enable_api_ms_win_core_libraryloader_l1_2_2
982 enable_api_ms_win_core_libraryloader_l2_1_0
983 enable_api_ms_win_core_localization_l1_1_0
984 enable_api_ms_win_core_localization_l1_2_0
985 enable_api_ms_win_core_localization_l1_2_1
986 enable_api_ms_win_core_localization_l1_2_2
987 enable_api_ms_win_core_localization_l2_1_0
988 enable_api_ms_win_core_localization_obsolete_l1_1_0
989 enable_api_ms_win_core_localization_obsolete_l1_2_0
990 enable_api_ms_win_core_localization_obsolete_l1_3_0
991 enable_api_ms_win_core_localization_private_l1_1_0
992 enable_api_ms_win_core_localregistry_l1_1_0
993 enable_api_ms_win_core_memory_l1_1_0
994 enable_api_ms_win_core_memory_l1_1_1
995 enable_api_ms_win_core_memory_l1_1_2
996 enable_api_ms_win_core_memory_l1_1_3
997 enable_api_ms_win_core_memory_l1_1_4
998 enable_api_ms_win_core_misc_l1_1_0
999 enable_api_ms_win_core_namedpipe_ansi_l1_1_0
1000 enable_api_ms_win_core_namedpipe_l1_1_0
1001 enable_api_ms_win_core_namedpipe_l1_2_0
1002 enable_api_ms_win_core_namespace_l1_1_0
1003 enable_api_ms_win_core_normalization_l1_1_0
1004 enable_api_ms_win_core_path_l1_1_0
1005 enable_api_ms_win_core_privateprofile_l1_1_1
1006 enable_api_ms_win_core_processenvironment_l1_1_0
1007 enable_api_ms_win_core_processenvironment_l1_2_0
1008 enable_api_ms_win_core_processthreads_l1_1_0
1009 enable_api_ms_win_core_processthreads_l1_1_1
1010 enable_api_ms_win_core_processthreads_l1_1_2
1011 enable_api_ms_win_core_processthreads_l1_1_3
1012 enable_api_ms_win_core_processtopology_obsolete_l1_1_0
1013 enable_api_ms_win_core_profile_l1_1_0
1014 enable_api_ms_win_core_psapi_ansi_l1_1_0
1015 enable_api_ms_win_core_psapi_l1_1_0
1016 enable_api_ms_win_core_psapi_obsolete_l1_1_0
1017 enable_api_ms_win_core_quirks_l1_1_0
1018 enable_api_ms_win_core_realtime_l1_1_0
1019 enable_api_ms_win_core_registry_l1_1_0
1020 enable_api_ms_win_core_registry_l2_1_0
1021 enable_api_ms_win_core_registry_l2_2_0
1022 enable_api_ms_win_core_registryuserspecific_l1_1_0
1023 enable_api_ms_win_core_rtlsupport_l1_1_0
1024 enable_api_ms_win_core_rtlsupport_l1_2_0
1025 enable_api_ms_win_core_shlwapi_legacy_l1_1_0
1026 enable_api_ms_win_core_shlwapi_obsolete_l1_1_0
1027 enable_api_ms_win_core_shlwapi_obsolete_l1_2_0
1028 enable_api_ms_win_core_shutdown_l1_1_0
1029 enable_api_ms_win_core_sidebyside_l1_1_0
1030 enable_api_ms_win_core_string_l1_1_0
1031 enable_api_ms_win_core_string_l2_1_0
1032 enable_api_ms_win_core_string_obsolete_l1_1_0
1033 enable_api_ms_win_core_stringansi_l1_1_0
1034 enable_api_ms_win_core_stringloader_l1_1_1
1035 enable_api_ms_win_core_synch_ansi_l1_1_0
1036 enable_api_ms_win_core_synch_l1_1_0
1037 enable_api_ms_win_core_synch_l1_2_0
1038 enable_api_ms_win_core_synch_l1_2_1
1039 enable_api_ms_win_core_sysinfo_l1_1_0
1040 enable_api_ms_win_core_sysinfo_l1_2_0
1041 enable_api_ms_win_core_sysinfo_l1_2_1
1042 enable_api_ms_win_core_systemtopology_l1_1_0
1043 enable_api_ms_win_core_threadpool_l1_1_0
1044 enable_api_ms_win_core_threadpool_l1_2_0
1045 enable_api_ms_win_core_threadpool_legacy_l1_1_0
1046 enable_api_ms_win_core_threadpool_private_l1_1_0
1047 enable_api_ms_win_core_timezone_l1_1_0
1048 enable_api_ms_win_core_toolhelp_l1_1_0
1049 enable_api_ms_win_core_url_l1_1_0
1050 enable_api_ms_win_core_util_l1_1_0
1051 enable_api_ms_win_core_version_l1_1_0
1052 enable_api_ms_win_core_version_l1_1_1
1053 enable_api_ms_win_core_version_private_l1_1_0
1054 enable_api_ms_win_core_versionansi_l1_1_0
1055 enable_api_ms_win_core_windowserrorreporting_l1_1_0
1056 enable_api_ms_win_core_winrt_error_l1_1_0
1057 enable_api_ms_win_core_winrt_error_l1_1_1
1058 enable_api_ms_win_core_winrt_errorprivate_l1_1_1
1059 enable_api_ms_win_core_winrt_l1_1_0
1060 enable_api_ms_win_core_winrt_registration_l1_1_0
1061 enable_api_ms_win_core_winrt_roparameterizediid_l1_1_0
1062 enable_api_ms_win_core_winrt_string_l1_1_0
1063 enable_api_ms_win_core_winrt_string_l1_1_1
1064 enable_api_ms_win_core_wow64_l1_1_0
1065 enable_api_ms_win_core_wow64_l1_1_1
1066 enable_api_ms_win_core_xstate_l1_1_0
1067 enable_api_ms_win_core_xstate_l2_1_0
1068 enable_api_ms_win_crt_conio_l1_1_0
1069 enable_api_ms_win_crt_convert_l1_1_0
1070 enable_api_ms_win_crt_environment_l1_1_0
1071 enable_api_ms_win_crt_filesystem_l1_1_0
1072 enable_api_ms_win_crt_heap_l1_1_0
1073 enable_api_ms_win_crt_locale_l1_1_0
1074 enable_api_ms_win_crt_math_l1_1_0
1075 enable_api_ms_win_crt_multibyte_l1_1_0
1076 enable_api_ms_win_crt_private_l1_1_0
1077 enable_api_ms_win_crt_process_l1_1_0
1078 enable_api_ms_win_crt_runtime_l1_1_0
1079 enable_api_ms_win_crt_stdio_l1_1_0
1080 enable_api_ms_win_crt_string_l1_1_0
1081 enable_api_ms_win_crt_time_l1_1_0
1082 enable_api_ms_win_crt_utility_l1_1_0
1083 enable_api_ms_win_devices_config_l1_1_0
1084 enable_api_ms_win_devices_config_l1_1_1
1085 enable_api_ms_win_devices_query_l1_1_1
1086 enable_api_ms_win_downlevel_advapi32_l1_1_0
1087 enable_api_ms_win_downlevel_advapi32_l2_1_0
1088 enable_api_ms_win_downlevel_kernel32_l2_1_0
1089 enable_api_ms_win_downlevel_normaliz_l1_1_0
1090 enable_api_ms_win_downlevel_ole32_l1_1_0
1091 enable_api_ms_win_downlevel_shell32_l1_1_0
1092 enable_api_ms_win_downlevel_shlwapi_l1_1_0
1093 enable_api_ms_win_downlevel_shlwapi_l2_1_0
1094 enable_api_ms_win_downlevel_user32_l1_1_0
1095 enable_api_ms_win_downlevel_version_l1_1_0
1096 enable_api_ms_win_dx_d3dkmt_l1_1_0
1097 enable_api_ms_win_eventing_classicprovider_l1_1_0
1098 enable_api_ms_win_eventing_consumer_l1_1_0
1099 enable_api_ms_win_eventing_controller_l1_1_0
1100 enable_api_ms_win_eventing_legacy_l1_1_0
1101 enable_api_ms_win_eventing_provider_l1_1_0
1102 enable_api_ms_win_eventlog_legacy_l1_1_0
1103 enable_api_ms_win_gdi_dpiinfo_l1_1_0
1104 enable_api_ms_win_mm_joystick_l1_1_0
1105 enable_api_ms_win_mm_misc_l1_1_1
1106 enable_api_ms_win_mm_mme_l1_1_0
1107 enable_api_ms_win_mm_time_l1_1_0
1108 enable_api_ms_win_ntuser_dc_access_l1_1_0
1109 enable_api_ms_win_ntuser_rectangle_l1_1_0
1110 enable_api_ms_win_ntuser_sysparams_l1_1_0
1111 enable_api_ms_win_perf_legacy_l1_1_0
1112 enable_api_ms_win_power_base_l1_1_0
1113 enable_api_ms_win_power_setting_l1_1_0
1114 enable_api_ms_win_rtcore_ntuser_draw_l1_1_0
1115 enable_api_ms_win_rtcore_ntuser_private_l1_1_0
1116 enable_api_ms_win_rtcore_ntuser_private_l1_1_4
1117 enable_api_ms_win_rtcore_ntuser_window_l1_1_0
1118 enable_api_ms_win_rtcore_ntuser_winevent_l1_1_0
1119 enable_api_ms_win_rtcore_ntuser_wmpointer_l1_1_0
1120 enable_api_ms_win_rtcore_ntuser_wmpointer_l1_1_3
1121 enable_api_ms_win_security_activedirectoryclient_l1_1_0
1122 enable_api_ms_win_security_audit_l1_1_1
1123 enable_api_ms_win_security_base_l1_1_0
1124 enable_api_ms_win_security_base_l1_2_0
1125 enable_api_ms_win_security_base_private_l1_1_1
1126 enable_api_ms_win_security_credentials_l1_1_0
1127 enable_api_ms_win_security_cryptoapi_l1_1_0
1128 enable_api_ms_win_security_grouppolicy_l1_1_0
1129 enable_api_ms_win_security_lsalookup_l1_1_0
1130 enable_api_ms_win_security_lsalookup_l1_1_1
1131 enable_api_ms_win_security_lsalookup_l2_1_0
1132 enable_api_ms_win_security_lsalookup_l2_1_1
1133 enable_api_ms_win_security_lsapolicy_l1_1_0
1134 enable_api_ms_win_security_provider_l1_1_0
1135 enable_api_ms_win_security_sddl_l1_1_0
1136 enable_api_ms_win_security_systemfunctions_l1_1_0
1137 enable_api_ms_win_service_core_l1_1_0
1138 enable_api_ms_win_service_core_l1_1_1
1139 enable_api_ms_win_service_management_l1_1_0
1140 enable_api_ms_win_service_management_l2_1_0
1141 enable_api_ms_win_service_private_l1_1_1
1142 enable_api_ms_win_service_winsvc_l1_1_0
1143 enable_api_ms_win_service_winsvc_l1_2_0
1144 enable_api_ms_win_shcore_obsolete_l1_1_0
1145 enable_api_ms_win_shcore_scaling_l1_1_0
1146 enable_api_ms_win_shcore_scaling_l1_1_1
1147 enable_api_ms_win_shcore_stream_l1_1_0
1148 enable_api_ms_win_shcore_stream_winrt_l1_1_0
1149 enable_api_ms_win_shcore_thread_l1_1_0
1150 enable_api_ms_win_shell_shellcom_l1_1_0
1151 enable_api_ms_win_shell_shellfolders_l1_1_0
1152 enable_apphelp
1153 enable_appwiz_cpl
1154 enable_atl
1155 enable_atl100
1156 enable_atl110
1157 enable_atl80
1158 enable_atl90
1159 enable_atlthunk
1160 enable_atmlib
1161 enable_authz
1162 enable_avicap32
1163 enable_avifil32
1164 enable_avrt
1165 enable_bcrypt
1166 enable_bluetoothapis
1167 enable_browseui
1168 enable_bthprops_cpl
1169 enable_cabinet
1170 enable_capi2032
1171 enable_cards
1172 enable_cdosys
1173 enable_cfgmgr32
1174 enable_clusapi
1175 enable_combase
1176 enable_comcat
1177 enable_comctl32
1178 enable_comdlg32
1179 enable_compstui
1180 enable_comsvcs
1181 enable_concrt140
1182 enable_connect
1183 enable_credui
1184 enable_crtdll
1185 enable_crypt32
1186 enable_cryptdlg
1187 enable_cryptdll
1188 enable_cryptext
1189 enable_cryptnet
1190 enable_cryptsp
1191 enable_cryptui
1192 enable_ctapi32
1193 enable_ctl3d32
1194 enable_d2d1
1195 enable_d3d10
1196 enable_d3d10_1
1197 enable_d3d10core
1198 enable_d3d11
1199 enable_d3d12
1200 enable_d3d8
1201 enable_d3d8thk
1202 enable_d3d9
1203 enable_d3dcompiler_33
1204 enable_d3dcompiler_34
1205 enable_d3dcompiler_35
1206 enable_d3dcompiler_36
1207 enable_d3dcompiler_37
1208 enable_d3dcompiler_38
1209 enable_d3dcompiler_39
1210 enable_d3dcompiler_40
1211 enable_d3dcompiler_41
1212 enable_d3dcompiler_42
1213 enable_d3dcompiler_43
1214 enable_d3dcompiler_46
1215 enable_d3dcompiler_47
1216 enable_d3dim
1217 enable_d3dim700
1218 enable_d3drm
1219 enable_d3dx10_33
1220 enable_d3dx10_34
1221 enable_d3dx10_35
1222 enable_d3dx10_36
1223 enable_d3dx10_37
1224 enable_d3dx10_38
1225 enable_d3dx10_39
1226 enable_d3dx10_40
1227 enable_d3dx10_41
1228 enable_d3dx10_42
1229 enable_d3dx10_43
1230 enable_d3dx11_42
1231 enable_d3dx11_43
1232 enable_d3dx9_24
1233 enable_d3dx9_25
1234 enable_d3dx9_26
1235 enable_d3dx9_27
1236 enable_d3dx9_28
1237 enable_d3dx9_29
1238 enable_d3dx9_30
1239 enable_d3dx9_31
1240 enable_d3dx9_32
1241 enable_d3dx9_33
1242 enable_d3dx9_34
1243 enable_d3dx9_35
1244 enable_d3dx9_36
1245 enable_d3dx9_37
1246 enable_d3dx9_38
1247 enable_d3dx9_39
1248 enable_d3dx9_40
1249 enable_d3dx9_41
1250 enable_d3dx9_42
1251 enable_d3dx9_43
1252 enable_d3dxof
1253 enable_davclnt
1254 enable_dbgeng
1255 enable_dbghelp
1256 enable_dciman32
1257 enable_dcomp
1258 enable_ddraw
1259 enable_ddrawex
1260 enable_devenum
1261 enable_dhcpcsvc
1262 enable_dhtmled_ocx
1263 enable_difxapi
1264 enable_dinput
1265 enable_dinput8
1266 enable_directmanipulation
1267 enable_dispex
1268 enable_dmband
1269 enable_dmcompos
1270 enable_dmime
1271 enable_dmloader
1272 enable_dmoguids
1273 enable_dmscript
1274 enable_dmstyle
1275 enable_dmsynth
1276 enable_dmusic
1277 enable_dmusic32
1278 enable_dnsapi
1279 enable_dplay
1280 enable_dplayx
1281 enable_dpnaddr
1282 enable_dpnet
1283 enable_dpnhpast
1284 enable_dpnlobby
1285 enable_dpvoice
1286 enable_dpwsockx
1287 enable_drmclien
1288 enable_dsdmo
1289 enable_dsound
1290 enable_dsquery
1291 enable_dssenh
1292 enable_dsuiext
1293 enable_dswave
1294 enable_dwmapi
1295 enable_dwrite
1296 enable_dx8vb
1297 enable_dxdiagn
1298 enable_dxerr8
1299 enable_dxerr9
1300 enable_dxgi
1301 enable_dxguid
1302 enable_dxva2
1303 enable_esent
1304 enable_evr
1305 enable_explorerframe
1306 enable_ext_ms_win_authz_context_l1_1_0
1307 enable_ext_ms_win_domainjoin_netjoin_l1_1_0
1308 enable_ext_ms_win_dwmapi_ext_l1_1_0
1309 enable_ext_ms_win_gdi_dc_create_l1_1_0
1310 enable_ext_ms_win_gdi_dc_create_l1_1_1
1311 enable_ext_ms_win_gdi_dc_l1_2_0
1312 enable_ext_ms_win_gdi_devcaps_l1_1_0
1313 enable_ext_ms_win_gdi_draw_l1_1_0
1314 enable_ext_ms_win_gdi_draw_l1_1_1
1315 enable_ext_ms_win_gdi_font_l1_1_0
1316 enable_ext_ms_win_gdi_font_l1_1_1
1317 enable_ext_ms_win_gdi_render_l1_1_0
1318 enable_ext_ms_win_kernel32_package_current_l1_1_0
1319 enable_ext_ms_win_kernel32_package_l1_1_1
1320 enable_ext_ms_win_ntuser_dialogbox_l1_1_0
1321 enable_ext_ms_win_ntuser_draw_l1_1_0
1322 enable_ext_ms_win_ntuser_gui_l1_1_0
1323 enable_ext_ms_win_ntuser_gui_l1_3_0
1324 enable_ext_ms_win_ntuser_keyboard_l1_3_0
1325 enable_ext_ms_win_ntuser_message_l1_1_0
1326 enable_ext_ms_win_ntuser_message_l1_1_1
1327 enable_ext_ms_win_ntuser_misc_l1_1_0
1328 enable_ext_ms_win_ntuser_misc_l1_2_0
1329 enable_ext_ms_win_ntuser_misc_l1_5_1
1330 enable_ext_ms_win_ntuser_mouse_l1_1_0
1331 enable_ext_ms_win_ntuser_private_l1_1_1
1332 enable_ext_ms_win_ntuser_private_l1_3_1
1333 enable_ext_ms_win_ntuser_rectangle_ext_l1_1_0
1334 enable_ext_ms_win_ntuser_uicontext_ext_l1_1_0
1335 enable_ext_ms_win_ntuser_window_l1_1_0
1336 enable_ext_ms_win_ntuser_window_l1_1_1
1337 enable_ext_ms_win_ntuser_window_l1_1_4
1338 enable_ext_ms_win_ntuser_windowclass_l1_1_0
1339 enable_ext_ms_win_ntuser_windowclass_l1_1_1
1340 enable_ext_ms_win_oleacc_l1_1_0
1341 enable_ext_ms_win_ras_rasapi32_l1_1_0
1342 enable_ext_ms_win_rtcore_gdi_devcaps_l1_1_0
1343 enable_ext_ms_win_rtcore_gdi_object_l1_1_0
1344 enable_ext_ms_win_rtcore_gdi_rgn_l1_1_0
1345 enable_ext_ms_win_rtcore_ntuser_cursor_l1_1_0
1346 enable_ext_ms_win_rtcore_ntuser_dc_access_l1_1_0
1347 enable_ext_ms_win_rtcore_ntuser_dpi_l1_1_0
1348 enable_ext_ms_win_rtcore_ntuser_dpi_l1_2_0
1349 enable_ext_ms_win_rtcore_ntuser_rawinput_l1_1_0
1350 enable_ext_ms_win_rtcore_ntuser_syscolors_l1_1_0
1351 enable_ext_ms_win_rtcore_ntuser_sysparams_l1_1_0
1352 enable_ext_ms_win_security_credui_l1_1_0
1353 enable_ext_ms_win_security_cryptui_l1_1_0
1354 enable_ext_ms_win_shell_comctl32_init_l1_1_0
1355 enable_ext_ms_win_shell_comdlg32_l1_1_0
1356 enable_ext_ms_win_shell_shell32_l1_2_0
1357 enable_ext_ms_win_uxtheme_themes_l1_1_0
1358 enable_faultrep
1359 enable_feclient
1360 enable_fltlib
1361 enable_fltmgr_sys
1362 enable_fntcache
1363 enable_fontsub
1364 enable_fusion
1365 enable_fwpuclnt
1366 enable_gameux
1367 enable_gdi32
1368 enable_gdiplus
1369 enable_glu32
1370 enable_gphoto2_ds
1371 enable_gpkcsp
1372 enable_hal
1373 enable_hhctrl_ocx
1374 enable_hid
1375 enable_hidclass_sys
1376 enable_hlink
1377 enable_hnetcfg
1378 enable_http_sys
1379 enable_httpapi
1380 enable_iccvid
1381 enable_icmp
1382 enable_ieframe
1383 enable_ieproxy
1384 enable_imaadp32_acm
1385 enable_imagehlp
1386 enable_imm32
1387 enable_inetcomm
1388 enable_inetcpl_cpl
1389 enable_inetmib1
1390 enable_infosoft
1391 enable_initpki
1392 enable_inkobj
1393 enable_inseng
1394 enable_iphlpapi
1395 enable_iprop
1396 enable_irprops_cpl
1397 enable_itircl
1398 enable_itss
1399 enable_joy_cpl
1400 enable_jscript
1401 enable_jsproxy
1402 enable_kerberos
1403 enable_kernel32
1404 enable_kernelbase
1405 enable_ksecdd_sys
1406 enable_ksproxy_ax
1407 enable_ksuser
1408 enable_ktmw32
1409 enable_l3codeca_acm
1410 enable_loadperf
1411 enable_localspl
1412 enable_localui
1413 enable_lz32
1414 enable_mapi32
1415 enable_mapistub
1416 enable_mciavi32
1417 enable_mcicda
1418 enable_mciqtz32
1419 enable_mciseq
1420 enable_mciwave
1421 enable_mf
1422 enable_mf3216
1423 enable_mferror
1424 enable_mfmediaengine
1425 enable_mfplat
1426 enable_mfplay
1427 enable_mfreadwrite
1428 enable_mfuuid
1429 enable_mgmtapi
1430 enable_midimap
1431 enable_mlang
1432 enable_mmcndmgr
1433 enable_mmdevapi
1434 enable_mountmgr_sys
1435 enable_mp3dmod
1436 enable_mpr
1437 enable_mprapi
1438 enable_msacm32_drv
1439 enable_msacm32
1440 enable_msado15
1441 enable_msadp32_acm
1442 enable_msasn1
1443 enable_mscat32
1444 enable_mscms
1445 enable_mscoree
1446 enable_mscorwks
1447 enable_msctf
1448 enable_msctfp
1449 enable_msdaps
1450 enable_msdelta
1451 enable_msdmo
1452 enable_msdrm
1453 enable_msftedit
1454 enable_msg711_acm
1455 enable_msgsm32_acm
1456 enable_mshtml_tlb
1457 enable_mshtml
1458 enable_msi
1459 enable_msident
1460 enable_msimg32
1461 enable_msimsg
1462 enable_msimtf
1463 enable_msisip
1464 enable_msisys_ocx
1465 enable_msls31
1466 enable_msnet32
1467 enable_mspatcha
1468 enable_msports
1469 enable_msrle32
1470 enable_msscript_ocx
1471 enable_mssign32
1472 enable_mssip32
1473 enable_mstask
1474 enable_msv1_0
1475 enable_msvcirt
1476 enable_msvcm80
1477 enable_msvcm90
1478 enable_msvcp100
1479 enable_msvcp110
1480 enable_msvcp120
1481 enable_msvcp120_app
1482 enable_msvcp140
1483 enable_msvcp140_1
1484 enable_msvcp60
1485 enable_msvcp70
1486 enable_msvcp71
1487 enable_msvcp80
1488 enable_msvcp90
1489 enable_msvcr100
1490 enable_msvcr110
1491 enable_msvcr120
1492 enable_msvcr120_app
1493 enable_msvcr70
1494 enable_msvcr71
1495 enable_msvcr80
1496 enable_msvcr90
1497 enable_msvcrt
1498 enable_msvcrt20
1499 enable_msvcrt40
1500 enable_msvcrtd
1501 enable_msvfw32
1502 enable_msvidc32
1503 enable_mswsock
1504 enable_msxml
1505 enable_msxml2
1506 enable_msxml3
1507 enable_msxml4
1508 enable_msxml6
1509 enable_mtxdm
1510 enable_ncrypt
1511 enable_nddeapi
1512 enable_ndis_sys
1513 enable_netapi32
1514 enable_netcfgx
1515 enable_netio_sys
1516 enable_netprofm
1517 enable_netutils
1518 enable_newdev
1519 enable_ninput
1520 enable_normaliz
1521 enable_npmshtml
1522 enable_npptools
1523 enable_ntdll
1524 enable_ntdsapi
1525 enable_ntoskrnl_exe
1526 enable_ntprint
1527 enable_objsel
1528 enable_odbc32
1529 enable_odbcbcp
1530 enable_odbccp32
1531 enable_odbccu32
1532 enable_ole32
1533 enable_oleacc
1534 enable_oleaut32
1535 enable_olecli32
1536 enable_oledb32
1537 enable_oledlg
1538 enable_olepro32
1539 enable_olesvr32
1540 enable_olethk32
1541 enable_opcservices
1542 enable_openal32
1543 enable_opencl
1544 enable_opengl32
1545 enable_packager
1546 enable_pdh
1547 enable_photometadatahandler
1548 enable_pidgen
1549 enable_powrprof
1550 enable_printui
1551 enable_prntvpt
1552 enable_propsys
1553 enable_psapi
1554 enable_pstorec
1555 enable_pwrshplugin
1556 enable_qasf
1557 enable_qcap
1558 enable_qdvd
1559 enable_qedit
1560 enable_qmgr
1561 enable_qmgrprxy
1562 enable_quartz
1563 enable_query
1564 enable_qwave
1565 enable_rasapi32
1566 enable_rasdlg
1567 enable_regapi
1568 enable_resutils
1569 enable_riched20
1570 enable_riched32
1571 enable_rpcrt4
1572 enable_rsabase
1573 enable_rsaenh
1574 enable_rstrtmgr
1575 enable_rtutils
1576 enable_rtworkq
1577 enable_samlib
1578 enable_sane_ds
1579 enable_sapi
1580 enable_sas
1581 enable_scarddlg
1582 enable_sccbase
1583 enable_schannel
1584 enable_schedsvc
1585 enable_scrobj
1586 enable_scrrun
1587 enable_scsiport_sys
1588 enable_sechost
1589 enable_secur32
1590 enable_security
1591 enable_sensapi
1592 enable_serialui
1593 enable_setupapi
1594 enable_sfc
1595 enable_sfc_os
1596 enable_shcore
1597 enable_shdoclc
1598 enable_shdocvw
1599 enable_shell32
1600 enable_shfolder
1601 enable_shlwapi
1602 enable_slbcsp
1603 enable_slc
1604 enable_snmpapi
1605 enable_softpub
1606 enable_spoolss
1607 enable_srclient
1608 enable_srvcli
1609 enable_sspicli
1610 enable_stdole2_tlb
1611 enable_stdole32_tlb
1612 enable_sti
1613 enable_strmbase
1614 enable_strmdll
1615 enable_strmiids
1616 enable_svrapi
1617 enable_sxs
1618 enable_t2embed
1619 enable_tapi32
1620 enable_taskschd
1621 enable_tdh
1622 enable_tdi_sys
1623 enable_traffic
1624 enable_twain_32
1625 enable_tzres
1626 enable_ucrtbase
1627 enable_uianimation
1628 enable_uiautomationcore
1629 enable_uiribbon
1630 enable_unicows
1631 enable_updspapi
1632 enable_url
1633 enable_urlmon
1634 enable_usbd_sys
1635 enable_user32
1636 enable_userenv
1637 enable_usp10
1638 enable_utildll
1639 enable_uuid
1640 enable_uxtheme
1641 enable_vbscript
1642 enable_vcomp
1643 enable_vcomp100
1644 enable_vcomp110
1645 enable_vcomp120
1646 enable_vcomp140
1647 enable_vcomp90
1648 enable_vcruntime140
1649 enable_vcruntime140_1
1650 enable_vdmdbg
1651 enable_version
1652 enable_vga
1653 enable_virtdisk
1654 enable_vssapi
1655 enable_vulkan_1
1656 enable_wbemdisp
1657 enable_wbemprox
1658 enable_wbemuuid
1659 enable_wdscore
1660 enable_webservices
1661 enable_websocket
1662 enable_wer
1663 enable_wevtapi
1664 enable_wevtsvc
1665 enable_wiaservc
1666 enable_wimgapi
1667 enable_windows_gaming_input
1668 enable_windows_globalization
1669 enable_windows_media_devices
1670 enable_windows_media_speech
1671 enable_windowscodecs
1672 enable_windowscodecsext
1673 enable_winealsa_drv
1674 enable_wineandroid_drv
1675 enable_winebus_sys
1676 enable_winecoreaudio_drv
1677 enable_winecrt0
1678 enable_wined3d
1679 enable_winegstreamer
1680 enable_winehid_sys
1681 enable_winejoystick_drv
1682 enable_winemac_drv
1683 enable_winemapi
1684 enable_wineoss_drv
1685 enable_wineps_drv
1686 enable_winepulse_drv
1687 enable_wineqtdecoder
1688 enable_wineusb_sys
1689 enable_winevulkan
1690 enable_winex11_drv
1691 enable_wing32
1692 enable_winhttp
1693 enable_wininet
1694 enable_winmm
1695 enable_winnls32
1696 enable_winscard
1697 enable_winspool_drv
1698 enable_winsta
1699 enable_wintab32
1700 enable_wintrust
1701 enable_winusb
1702 enable_wlanapi
1703 enable_wlanui
1704 enable_wldap32
1705 enable_wmasf
1706 enable_wmcodecdspuuid
1707 enable_wmi
1708 enable_wmiutils
1709 enable_wmp
1710 enable_wmphoto
1711 enable_wmvcore
1712 enable_wnaspi32
1713 enable_wow64cpu
1714 enable_wpc
1715 enable_wpcap
1716 enable_ws2_32
1717 enable_wsdapi
1718 enable_wshom_ocx
1719 enable_wsnmp32
1720 enable_wsock32
1721 enable_wtsapi32
1722 enable_wuapi
1723 enable_wuaueng
1724 enable_x3daudio1_0
1725 enable_x3daudio1_1
1726 enable_x3daudio1_2
1727 enable_x3daudio1_3
1728 enable_x3daudio1_4
1729 enable_x3daudio1_5
1730 enable_x3daudio1_6
1731 enable_x3daudio1_7
1732 enable_xactengine2_0
1733 enable_xactengine2_4
1734 enable_xactengine2_7
1735 enable_xactengine2_9
1736 enable_xactengine3_0
1737 enable_xactengine3_1
1738 enable_xactengine3_2
1739 enable_xactengine3_3
1740 enable_xactengine3_4
1741 enable_xactengine3_5
1742 enable_xactengine3_6
1743 enable_xactengine3_7
1744 enable_xapofx1_1
1745 enable_xapofx1_2
1746 enable_xapofx1_3
1747 enable_xapofx1_4
1748 enable_xapofx1_5
1749 enable_xaudio2_0
1750 enable_xaudio2_1
1751 enable_xaudio2_2
1752 enable_xaudio2_3
1753 enable_xaudio2_4
1754 enable_xaudio2_5
1755 enable_xaudio2_6
1756 enable_xaudio2_7
1757 enable_xaudio2_8
1758 enable_xaudio2_9
1759 enable_xinput1_1
1760 enable_xinput1_2
1761 enable_xinput1_3
1762 enable_xinput1_4
1763 enable_xinput9_1_0
1764 enable_xmllite
1765 enable_xolehlp
1766 enable_xpsprint
1767 enable_xpssvcs
1768 enable_fonts
1769 enable_include
1770 enable_port
1771 enable_wine
1772 enable_wpp
1773 enable_loader
1774 enable_nls
1775 enable_po
1776 enable_arp
1777 enable_aspnet_regiis
1778 enable_attrib
1779 enable_cabarc
1780 enable_cacls
1781 enable_chcp_com
1782 enable_clock
1783 enable_cmd
1784 enable_conhost
1785 enable_control
1786 enable_cscript
1787 enable_dism
1788 enable_dplaysvr
1789 enable_dpnsvr
1790 enable_dpvsetup
1791 enable_dxdiag
1792 enable_eject
1793 enable_expand
1794 enable_explorer
1795 enable_extrac32
1796 enable_fc
1797 enable_find
1798 enable_findstr
1799 enable_fsutil
1800 enable_hh
1801 enable_hostname
1802 enable_icacls
1803 enable_icinfo
1804 enable_iexplore
1805 enable_ipconfig
1806 enable_lodctr
1807 enable_mofcomp
1808 enable_mshta
1809 enable_msidb
1810 enable_msiexec
1811 enable_msinfo32
1812 enable_net
1813 enable_netsh
1814 enable_netstat
1815 enable_ngen
1816 enable_notepad
1817 enable_oleview
1818 enable_ping
1819 enable_plugplay
1820 enable_powershell
1821 enable_presentationfontcache
1822 enable_progman
1823 enable_reg
1824 enable_regasm
1825 enable_regedit
1826 enable_regini
1827 enable_regsvcs
1828 enable_regsvr32
1829 enable_rpcss
1830 enable_rundll32
1831 enable_sc
1832 enable_schtasks
1833 enable_sdbinst
1834 enable_secedit
1835 enable_servicemodelreg
1836 enable_services
1837 enable_shutdown
1838 enable_spoolsv
1839 enable_start
1840 enable_subst
1841 enable_svchost
1842 enable_systeminfo
1843 enable_taskkill
1844 enable_tasklist
1845 enable_taskmgr
1846 enable_termsv
1847 enable_uninstaller
1848 enable_unlodctr
1849 enable_view
1850 enable_wevtutil
1851 enable_where
1852 enable_whoami
1853 enable_wineboot
1854 enable_winebrowser
1855 enable_winecfg
1856 enable_wineconsole
1857 enable_winedbg
1858 enable_winedevice
1859 enable_winefile
1860 enable_winemenubuilder
1861 enable_winemine
1862 enable_winemsibuilder
1863 enable_winepath
1864 enable_winetest
1865 enable_winhlp32
1866 enable_winmgmt
1867 enable_winver
1868 enable_wmic
1869 enable_wmplayer
1870 enable_wordpad
1871 enable_write
1872 enable_wscript
1873 enable_wuauserv
1874 enable_wusa
1875 enable_xcopy
1876 enable_server
1877 enable_tools
1878 enable_sfnt2fon
1879 enable_widl
1880 enable_winebuild
1881 enable_winedump
1882 enable_winegcc
1883 enable_winemaker
1884 enable_wmc
1885 enable_wrc
1887 ac_precious_vars='build_alias
1888 host_alias
1889 target_alias
1891 CFLAGS
1892 LDFLAGS
1893 LIBS
1894 CPPFLAGS
1896 CXXFLAGS
1899 OBJC
1900 OBJCFLAGS
1901 OBJCPP
1902 XMKMF
1903 XML2_CFLAGS
1904 XML2_LIBS
1905 XSLT_CFLAGS
1906 XSLT_LIBS
1907 INOTIFY_CFLAGS
1908 INOTIFY_LIBS
1909 DBUS_CFLAGS
1910 DBUS_LIBS
1911 HAL_CFLAGS
1912 HAL_LIBS
1913 GNUTLS_CFLAGS
1914 GNUTLS_LIBS
1915 SANE_CFLAGS
1916 SANE_LIBS
1917 USB_CFLAGS
1918 USB_LIBS
1919 GPHOTO2_CFLAGS
1920 GPHOTO2_LIBS
1921 GPHOTO2_PORT_CFLAGS
1922 GPHOTO2_PORT_LIBS
1923 LCMS2_CFLAGS
1924 LCMS2_LIBS
1925 FREETYPE_CFLAGS
1926 FREETYPE_LIBS
1927 PULSE_CFLAGS
1928 PULSE_LIBS
1929 GSTREAMER_CFLAGS
1930 GSTREAMER_LIBS
1931 UDEV_CFLAGS
1932 UDEV_LIBS
1933 UNWIND_CFLAGS
1934 UNWIND_LIBS
1935 SDL2_CFLAGS
1936 SDL2_LIBS
1937 FAUDIO_CFLAGS
1938 FAUDIO_LIBS
1939 CAPI20_CFLAGS
1940 CAPI20_LIBS
1941 CUPS_CFLAGS
1942 CUPS_LIBS
1943 FONTCONFIG_CFLAGS
1944 FONTCONFIG_LIBS
1945 KRB5_CFLAGS
1946 KRB5_LIBS
1947 GSSAPI_CFLAGS
1948 GSSAPI_LIBS
1949 JPEG_CFLAGS
1950 JPEG_LIBS
1951 JXRLIB_CFLAGS
1952 JXRLIB_LIBS
1953 PNG_CFLAGS
1954 PNG_LIBS
1955 TIFF_CFLAGS
1956 TIFF_LIBS
1957 MPG123_CFLAGS
1958 MPG123_LIBS
1959 NETAPI_CFLAGS
1960 NETAPI_LIBS
1961 VKD3D_CFLAGS
1962 VKD3D_LIBS
1963 VKD3D_SHADER_CFLAGS
1964 VKD3D_SHADER_LIBS
1965 LDAP_CFLAGS
1966 LDAP_LIBS'
1969 # Initialize some variables set by options.
1970 ac_init_help=
1971 ac_init_version=false
1972 ac_unrecognized_opts=
1973 ac_unrecognized_sep=
1974 # The variables have the same names as the options, with
1975 # dashes changed to underlines.
1976 cache_file=/dev/null
1977 exec_prefix=NONE
1978 no_create=
1979 no_recursion=
1980 prefix=NONE
1981 program_prefix=NONE
1982 program_suffix=NONE
1983 program_transform_name=s,x,x,
1984 silent=
1985 site=
1986 srcdir=
1987 verbose=
1988 x_includes=NONE
1989 x_libraries=NONE
1991 # Installation directory options.
1992 # These are left unexpanded so users can "make install exec_prefix=/foo"
1993 # and all the variables that are supposed to be based on exec_prefix
1994 # by default will actually change.
1995 # Use braces instead of parens because sh, perl, etc. also accept them.
1996 # (The list follows the same order as the GNU Coding Standards.)
1997 bindir='${exec_prefix}/bin'
1998 sbindir='${exec_prefix}/sbin'
1999 libexecdir='${exec_prefix}/libexec'
2000 datarootdir='${prefix}/share'
2001 datadir='${datarootdir}'
2002 sysconfdir='${prefix}/etc'
2003 sharedstatedir='${prefix}/com'
2004 localstatedir='${prefix}/var'
2005 runstatedir='${localstatedir}/run'
2006 includedir='${prefix}/include'
2007 oldincludedir='/usr/include'
2008 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
2009 infodir='${datarootdir}/info'
2010 htmldir='${docdir}'
2011 dvidir='${docdir}'
2012 pdfdir='${docdir}'
2013 psdir='${docdir}'
2014 libdir='${exec_prefix}/lib'
2015 localedir='${datarootdir}/locale'
2016 mandir='${datarootdir}/man'
2018 ac_prev=
2019 ac_dashdash=
2020 for ac_option
2022 # If the previous option needs an argument, assign it.
2023 if test -n "$ac_prev"; then
2024 eval $ac_prev=\$ac_option
2025 ac_prev=
2026 continue
2029 case $ac_option in
2030 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
2031 *=) ac_optarg= ;;
2032 *) ac_optarg=yes ;;
2033 esac
2035 # Accept the important Cygnus configure options, so we can diagnose typos.
2037 case $ac_dashdash$ac_option in
2039 ac_dashdash=yes ;;
2041 -bindir | --bindir | --bindi | --bind | --bin | --bi)
2042 ac_prev=bindir ;;
2043 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
2044 bindir=$ac_optarg ;;
2046 -build | --build | --buil | --bui | --bu)
2047 ac_prev=build_alias ;;
2048 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
2049 build_alias=$ac_optarg ;;
2051 -cache-file | --cache-file | --cache-fil | --cache-fi \
2052 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
2053 ac_prev=cache_file ;;
2054 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
2055 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
2056 cache_file=$ac_optarg ;;
2058 --config-cache | -C)
2059 cache_file=config.cache ;;
2061 -datadir | --datadir | --datadi | --datad)
2062 ac_prev=datadir ;;
2063 -datadir=* | --datadir=* | --datadi=* | --datad=*)
2064 datadir=$ac_optarg ;;
2066 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
2067 | --dataroo | --dataro | --datar)
2068 ac_prev=datarootdir ;;
2069 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
2070 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
2071 datarootdir=$ac_optarg ;;
2073 -disable-* | --disable-*)
2074 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
2075 # Reject names that are not valid shell variable names.
2076 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
2077 as_fn_error $? "invalid feature name: $ac_useropt"
2078 ac_useropt_orig=$ac_useropt
2079 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
2080 case $ac_user_opts in
2082 "enable_$ac_useropt"
2083 "*) ;;
2084 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
2085 ac_unrecognized_sep=', ';;
2086 esac
2087 eval enable_$ac_useropt=no ;;
2089 -docdir | --docdir | --docdi | --doc | --do)
2090 ac_prev=docdir ;;
2091 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
2092 docdir=$ac_optarg ;;
2094 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
2095 ac_prev=dvidir ;;
2096 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
2097 dvidir=$ac_optarg ;;
2099 -enable-* | --enable-*)
2100 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
2101 # Reject names that are not valid shell variable names.
2102 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
2103 as_fn_error $? "invalid feature name: $ac_useropt"
2104 ac_useropt_orig=$ac_useropt
2105 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
2106 case $ac_user_opts in
2108 "enable_$ac_useropt"
2109 "*) ;;
2110 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
2111 ac_unrecognized_sep=', ';;
2112 esac
2113 eval enable_$ac_useropt=\$ac_optarg ;;
2115 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
2116 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
2117 | --exec | --exe | --ex)
2118 ac_prev=exec_prefix ;;
2119 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
2120 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
2121 | --exec=* | --exe=* | --ex=*)
2122 exec_prefix=$ac_optarg ;;
2124 -gas | --gas | --ga | --g)
2125 # Obsolete; use --with-gas.
2126 with_gas=yes ;;
2128 -help | --help | --hel | --he | -h)
2129 ac_init_help=long ;;
2130 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
2131 ac_init_help=recursive ;;
2132 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
2133 ac_init_help=short ;;
2135 -host | --host | --hos | --ho)
2136 ac_prev=host_alias ;;
2137 -host=* | --host=* | --hos=* | --ho=*)
2138 host_alias=$ac_optarg ;;
2140 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
2141 ac_prev=htmldir ;;
2142 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
2143 | --ht=*)
2144 htmldir=$ac_optarg ;;
2146 -includedir | --includedir | --includedi | --included | --include \
2147 | --includ | --inclu | --incl | --inc)
2148 ac_prev=includedir ;;
2149 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
2150 | --includ=* | --inclu=* | --incl=* | --inc=*)
2151 includedir=$ac_optarg ;;
2153 -infodir | --infodir | --infodi | --infod | --info | --inf)
2154 ac_prev=infodir ;;
2155 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
2156 infodir=$ac_optarg ;;
2158 -libdir | --libdir | --libdi | --libd)
2159 ac_prev=libdir ;;
2160 -libdir=* | --libdir=* | --libdi=* | --libd=*)
2161 libdir=$ac_optarg ;;
2163 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
2164 | --libexe | --libex | --libe)
2165 ac_prev=libexecdir ;;
2166 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
2167 | --libexe=* | --libex=* | --libe=*)
2168 libexecdir=$ac_optarg ;;
2170 -localedir | --localedir | --localedi | --localed | --locale)
2171 ac_prev=localedir ;;
2172 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
2173 localedir=$ac_optarg ;;
2175 -localstatedir | --localstatedir | --localstatedi | --localstated \
2176 | --localstate | --localstat | --localsta | --localst | --locals)
2177 ac_prev=localstatedir ;;
2178 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
2179 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
2180 localstatedir=$ac_optarg ;;
2182 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
2183 ac_prev=mandir ;;
2184 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
2185 mandir=$ac_optarg ;;
2187 -nfp | --nfp | --nf)
2188 # Obsolete; use --without-fp.
2189 with_fp=no ;;
2191 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
2192 | --no-cr | --no-c | -n)
2193 no_create=yes ;;
2195 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
2196 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
2197 no_recursion=yes ;;
2199 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
2200 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
2201 | --oldin | --oldi | --old | --ol | --o)
2202 ac_prev=oldincludedir ;;
2203 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
2204 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
2205 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
2206 oldincludedir=$ac_optarg ;;
2208 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
2209 ac_prev=prefix ;;
2210 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
2211 prefix=$ac_optarg ;;
2213 -program-prefix | --program-prefix | --program-prefi | --program-pref \
2214 | --program-pre | --program-pr | --program-p)
2215 ac_prev=program_prefix ;;
2216 -program-prefix=* | --program-prefix=* | --program-prefi=* \
2217 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
2218 program_prefix=$ac_optarg ;;
2220 -program-suffix | --program-suffix | --program-suffi | --program-suff \
2221 | --program-suf | --program-su | --program-s)
2222 ac_prev=program_suffix ;;
2223 -program-suffix=* | --program-suffix=* | --program-suffi=* \
2224 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
2225 program_suffix=$ac_optarg ;;
2227 -program-transform-name | --program-transform-name \
2228 | --program-transform-nam | --program-transform-na \
2229 | --program-transform-n | --program-transform- \
2230 | --program-transform | --program-transfor \
2231 | --program-transfo | --program-transf \
2232 | --program-trans | --program-tran \
2233 | --progr-tra | --program-tr | --program-t)
2234 ac_prev=program_transform_name ;;
2235 -program-transform-name=* | --program-transform-name=* \
2236 | --program-transform-nam=* | --program-transform-na=* \
2237 | --program-transform-n=* | --program-transform-=* \
2238 | --program-transform=* | --program-transfor=* \
2239 | --program-transfo=* | --program-transf=* \
2240 | --program-trans=* | --program-tran=* \
2241 | --progr-tra=* | --program-tr=* | --program-t=*)
2242 program_transform_name=$ac_optarg ;;
2244 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
2245 ac_prev=pdfdir ;;
2246 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
2247 pdfdir=$ac_optarg ;;
2249 -psdir | --psdir | --psdi | --psd | --ps)
2250 ac_prev=psdir ;;
2251 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
2252 psdir=$ac_optarg ;;
2254 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2255 | -silent | --silent | --silen | --sile | --sil)
2256 silent=yes ;;
2258 -runstatedir | --runstatedir | --runstatedi | --runstated \
2259 | --runstate | --runstat | --runsta | --runst | --runs \
2260 | --run | --ru | --r)
2261 ac_prev=runstatedir ;;
2262 -runstatedir=* | --runstatedir=* | --runstatedi=* | --runstated=* \
2263 | --runstate=* | --runstat=* | --runsta=* | --runst=* | --runs=* \
2264 | --run=* | --ru=* | --r=*)
2265 runstatedir=$ac_optarg ;;
2267 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
2268 ac_prev=sbindir ;;
2269 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
2270 | --sbi=* | --sb=*)
2271 sbindir=$ac_optarg ;;
2273 -sharedstatedir | --sharedstatedir | --sharedstatedi \
2274 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
2275 | --sharedst | --shareds | --shared | --share | --shar \
2276 | --sha | --sh)
2277 ac_prev=sharedstatedir ;;
2278 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
2279 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
2280 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
2281 | --sha=* | --sh=*)
2282 sharedstatedir=$ac_optarg ;;
2284 -site | --site | --sit)
2285 ac_prev=site ;;
2286 -site=* | --site=* | --sit=*)
2287 site=$ac_optarg ;;
2289 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
2290 ac_prev=srcdir ;;
2291 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
2292 srcdir=$ac_optarg ;;
2294 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
2295 | --syscon | --sysco | --sysc | --sys | --sy)
2296 ac_prev=sysconfdir ;;
2297 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
2298 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
2299 sysconfdir=$ac_optarg ;;
2301 -target | --target | --targe | --targ | --tar | --ta | --t)
2302 ac_prev=target_alias ;;
2303 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
2304 target_alias=$ac_optarg ;;
2306 -v | -verbose | --verbose | --verbos | --verbo | --verb)
2307 verbose=yes ;;
2309 -version | --version | --versio | --versi | --vers | -V)
2310 ac_init_version=: ;;
2312 -with-* | --with-*)
2313 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
2314 # Reject names that are not valid shell variable names.
2315 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
2316 as_fn_error $? "invalid package name: $ac_useropt"
2317 ac_useropt_orig=$ac_useropt
2318 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
2319 case $ac_user_opts in
2321 "with_$ac_useropt"
2322 "*) ;;
2323 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
2324 ac_unrecognized_sep=', ';;
2325 esac
2326 eval with_$ac_useropt=\$ac_optarg ;;
2328 -without-* | --without-*)
2329 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
2330 # Reject names that are not valid shell variable names.
2331 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
2332 as_fn_error $? "invalid package name: $ac_useropt"
2333 ac_useropt_orig=$ac_useropt
2334 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
2335 case $ac_user_opts in
2337 "with_$ac_useropt"
2338 "*) ;;
2339 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
2340 ac_unrecognized_sep=', ';;
2341 esac
2342 eval with_$ac_useropt=no ;;
2344 --x)
2345 # Obsolete; use --with-x.
2346 with_x=yes ;;
2348 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
2349 | --x-incl | --x-inc | --x-in | --x-i)
2350 ac_prev=x_includes ;;
2351 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
2352 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
2353 x_includes=$ac_optarg ;;
2355 -x-libraries | --x-libraries | --x-librarie | --x-librari \
2356 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
2357 ac_prev=x_libraries ;;
2358 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
2359 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
2360 x_libraries=$ac_optarg ;;
2362 -*) as_fn_error $? "unrecognized option: \`$ac_option'
2363 Try \`$0 --help' for more information"
2366 *=*)
2367 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
2368 # Reject names that are not valid shell variable names.
2369 case $ac_envvar in #(
2370 '' | [0-9]* | *[!_$as_cr_alnum]* )
2371 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
2372 esac
2373 eval $ac_envvar=\$ac_optarg
2374 export $ac_envvar ;;
2377 # FIXME: should be removed in autoconf 3.0.
2378 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
2379 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
2380 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
2381 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
2384 esac
2385 done
2387 if test -n "$ac_prev"; then
2388 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
2389 as_fn_error $? "missing argument to $ac_option"
2392 if test -n "$ac_unrecognized_opts"; then
2393 case $enable_option_checking in
2394 no) ;;
2395 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
2396 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
2397 esac
2400 # Check all directory arguments for consistency.
2401 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
2402 datadir sysconfdir sharedstatedir localstatedir includedir \
2403 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
2404 libdir localedir mandir runstatedir
2406 eval ac_val=\$$ac_var
2407 # Remove trailing slashes.
2408 case $ac_val in
2409 */ )
2410 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
2411 eval $ac_var=\$ac_val;;
2412 esac
2413 # Be sure to have absolute directory names.
2414 case $ac_val in
2415 [\\/$]* | ?:[\\/]* ) continue;;
2416 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
2417 esac
2418 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
2419 done
2421 # There might be people who depend on the old broken behavior: `$host'
2422 # used to hold the argument of --host etc.
2423 # FIXME: To remove some day.
2424 build=$build_alias
2425 host=$host_alias
2426 target=$target_alias
2428 # FIXME: To remove some day.
2429 if test "x$host_alias" != x; then
2430 if test "x$build_alias" = x; then
2431 cross_compiling=maybe
2432 elif test "x$build_alias" != "x$host_alias"; then
2433 cross_compiling=yes
2437 ac_tool_prefix=
2438 test -n "$host_alias" && ac_tool_prefix=$host_alias-
2440 test "$silent" = yes && exec 6>/dev/null
2443 ac_pwd=`pwd` && test -n "$ac_pwd" &&
2444 ac_ls_di=`ls -di .` &&
2445 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
2446 as_fn_error $? "working directory cannot be determined"
2447 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
2448 as_fn_error $? "pwd does not report name of working directory"
2451 # Find the source files, if location was not specified.
2452 if test -z "$srcdir"; then
2453 ac_srcdir_defaulted=yes
2454 # Try the directory containing this script, then the parent directory.
2455 ac_confdir=`$as_dirname -- "$as_myself" ||
2456 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
2457 X"$as_myself" : 'X\(//\)[^/]' \| \
2458 X"$as_myself" : 'X\(//\)$' \| \
2459 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
2460 $as_echo X"$as_myself" |
2461 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
2462 s//\1/
2465 /^X\(\/\/\)[^/].*/{
2466 s//\1/
2469 /^X\(\/\/\)$/{
2470 s//\1/
2473 /^X\(\/\).*/{
2474 s//\1/
2477 s/.*/./; q'`
2478 srcdir=$ac_confdir
2479 if test ! -r "$srcdir/$ac_unique_file"; then
2480 srcdir=..
2482 else
2483 ac_srcdir_defaulted=no
2485 if test ! -r "$srcdir/$ac_unique_file"; then
2486 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
2487 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
2489 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
2490 ac_abs_confdir=`(
2491 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
2492 pwd)`
2493 # When building in place, set srcdir=.
2494 if test "$ac_abs_confdir" = "$ac_pwd"; then
2495 srcdir=.
2497 # Remove unnecessary trailing slashes from srcdir.
2498 # Double slashes in file names in object file debugging info
2499 # mess up M-x gdb in Emacs.
2500 case $srcdir in
2501 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
2502 esac
2503 for ac_var in $ac_precious_vars; do
2504 eval ac_env_${ac_var}_set=\${${ac_var}+set}
2505 eval ac_env_${ac_var}_value=\$${ac_var}
2506 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
2507 eval ac_cv_env_${ac_var}_value=\$${ac_var}
2508 done
2511 # Report the --help message.
2513 if test "$ac_init_help" = "long"; then
2514 # Omit some internal or obsolete options to make the list less imposing.
2515 # This message is too long to be a string in the A/UX 3.1 sh.
2516 cat <<_ACEOF
2517 \`configure' configures Wine 6.7 to adapt to many kinds of systems.
2519 Usage: $0 [OPTION]... [VAR=VALUE]...
2521 To assign environment variables (e.g., CC, CFLAGS...), specify them as
2522 VAR=VALUE. See below for descriptions of some of the useful variables.
2524 Defaults for the options are specified in brackets.
2526 Configuration:
2527 -h, --help display this help and exit
2528 --help=short display options specific to this package
2529 --help=recursive display the short help of all the included packages
2530 -V, --version display version information and exit
2531 -q, --quiet, --silent do not print \`checking ...' messages
2532 --cache-file=FILE cache test results in FILE [disabled]
2533 -C, --config-cache alias for \`--cache-file=config.cache'
2534 -n, --no-create do not create output files
2535 --srcdir=DIR find the sources in DIR [configure dir or \`..']
2537 Installation directories:
2538 --prefix=PREFIX install architecture-independent files in PREFIX
2539 [$ac_default_prefix]
2540 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
2541 [PREFIX]
2543 By default, \`make install' will install all the files in
2544 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
2545 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
2546 for instance \`--prefix=\$HOME'.
2548 For better control, use the options below.
2550 Fine tuning of the installation directories:
2551 --bindir=DIR user executables [EPREFIX/bin]
2552 --sbindir=DIR system admin executables [EPREFIX/sbin]
2553 --libexecdir=DIR program executables [EPREFIX/libexec]
2554 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
2555 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
2556 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
2557 --runstatedir=DIR modifiable per-process data [LOCALSTATEDIR/run]
2558 --libdir=DIR object code libraries [EPREFIX/lib]
2559 --includedir=DIR C header files [PREFIX/include]
2560 --oldincludedir=DIR C header files for non-gcc [/usr/include]
2561 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
2562 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
2563 --infodir=DIR info documentation [DATAROOTDIR/info]
2564 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
2565 --mandir=DIR man documentation [DATAROOTDIR/man]
2566 --docdir=DIR documentation root [DATAROOTDIR/doc/wine]
2567 --htmldir=DIR html documentation [DOCDIR]
2568 --dvidir=DIR dvi documentation [DOCDIR]
2569 --pdfdir=DIR pdf documentation [DOCDIR]
2570 --psdir=DIR ps documentation [DOCDIR]
2571 _ACEOF
2573 cat <<\_ACEOF
2575 X features:
2576 --x-includes=DIR X include files are in DIR
2577 --x-libraries=DIR X library files are in DIR
2579 System types:
2580 --build=BUILD configure for building on BUILD [guessed]
2581 --host=HOST cross-compile to build programs to run on HOST [BUILD]
2582 _ACEOF
2585 if test -n "$ac_init_help"; then
2586 case $ac_init_help in
2587 short | recursive ) echo "Configuration of Wine 6.7:";;
2588 esac
2589 cat <<\_ACEOF
2591 Optional Features:
2592 --disable-option-checking ignore unrecognized --enable/--with options
2593 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
2594 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
2595 --disable-win16 do not include Win16 support
2596 --enable-win64 build a Win64 emulator on AMD64 (won't run Win32
2597 binaries)
2598 --disable-tests do not build the regression tests
2599 --enable-build-id include .buildid section in output objects
2600 --enable-maintainer-mode
2601 enable maintainer-specific build rules
2602 --enable-silent-rules use silent build rules (override: "make V=1")
2603 --enable-werror treat compilation warnings as errors
2604 --disable-largefile omit support for large files
2606 Optional Packages:
2607 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
2608 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
2609 --without-alsa do not use the Alsa sound support
2610 --without-capi do not use CAPI (ISDN support)
2611 --without-cms do not use CMS (color management support)
2612 --without-coreaudio do not use the CoreAudio sound support
2613 --without-cups do not use CUPS
2614 --without-dbus do not use DBus (dynamic device support)
2615 --without-faudio do not use FAudio (XAudio2 support)
2616 --with-float-abi=abi specify the ABI (soft|softfp|hard) for ARM platforms
2617 --without-fontconfig do not use fontconfig
2618 --without-freetype do not use the FreeType library
2619 --without-gettext do not use gettext
2620 --with-gettextpo use the GetTextPO library to rebuild po files
2621 --without-gphoto do not use gphoto (Digital Camera support)
2622 --without-gnutls do not use GnuTLS (schannel support)
2623 --without-gsm do not use libgsm (GSM 06.10 codec support)
2624 --without-gssapi do not use GSSAPI (Kerberos SSP support)
2625 --without-gstreamer do not use GStreamer (codecs support)
2626 --without-hal do not use HAL (dynamic device support)
2627 --without-inotify do not use inotify (filesystem change notifications)
2628 --without-jpeg do not use JPEG
2629 --without-jxrlib do not use JPEG-XR
2630 --without-krb5 do not use krb5 (Kerberos)
2631 --without-ldap do not use LDAP
2632 --without-mingw do not use the MinGW cross-compiler
2633 --without-mpg123 do not use the mpg123 library
2634 --without-netapi do not use the Samba NetAPI library
2635 --without-openal do not use OpenAL
2636 --without-opencl do not use OpenCL
2637 --without-opengl do not use OpenGL
2638 --without-osmesa do not use the OSMesa library
2639 --without-oss do not use the OSS sound support
2640 --without-pcap do not use the Packet Capture library
2641 --without-png do not use PNG
2642 --without-pthread do not use the pthread library
2643 --without-pulse do not use PulseAudio sound support
2644 --without-quicktime do not use QuickTime support
2645 --without-sane do not use SANE (scanner support)
2646 --without-sdl do not use SDL
2647 --without-tiff do not use TIFF
2648 --without-udev do not use udev (plug and play support)
2649 --without-unwind do not use the libunwind library (exception
2650 handling)
2651 --without-usb do not use the libusb library
2652 --without-v4l2 do not use v4l2 (video capture)
2653 --without-vkd3d do not use vkd3d (Direct3D 12 support)
2654 --without-vulkan do not use Vulkan
2655 --without-xcomposite do not use the Xcomposite extension
2656 --without-xcursor do not use the Xcursor extension
2657 --without-xfixes do not use Xfixes for clipboard change notifications
2658 --without-xinerama do not use Xinerama (legacy multi-monitor support)
2659 --without-xinput do not use the Xinput extension
2660 --without-xinput2 do not use the Xinput 2 extension
2661 --without-xml do not use XML
2662 --without-xrandr do not use Xrandr (multi-monitor support)
2663 --without-xrender do not use the Xrender extension
2664 --without-xshape do not use the Xshape extension
2665 --without-xshm do not use XShm (shared memory extension)
2666 --without-xslt do not use XSLT
2667 --without-xxf86vm do not use XFree video mode extension
2668 --with-wine-tools=DIR use Wine tools from directory DIR
2669 --with-wine64=DIR use the 64-bit Wine in DIR for a Wow64 build
2670 --with-x use the X Window System
2672 Some influential environment variables:
2673 CC C compiler command
2674 CFLAGS C compiler flags
2675 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
2676 nonstandard directory <lib dir>
2677 LIBS libraries to pass to the linker, e.g. -l<library>
2678 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
2679 you have headers in a nonstandard directory <include dir>
2680 CXX C++ compiler command
2681 CXXFLAGS C++ compiler flags
2682 CPP C preprocessor
2683 OBJC Objective C compiler command
2684 OBJCFLAGS Objective C compiler flags
2685 OBJCPP Objective C preprocessor
2686 XMKMF Path to xmkmf, Makefile generator for X Window System
2687 XML2_CFLAGS C compiler flags for libxml-2.0, overriding pkg-config
2688 XML2_LIBS Linker flags for libxml-2.0, overriding pkg-config
2689 XSLT_CFLAGS C compiler flags for libxslt, overriding pkg-config
2690 XSLT_LIBS Linker flags for libxslt, overriding pkg-config
2691 INOTIFY_CFLAGS
2692 C compiler flags for libinotify, overriding pkg-config
2693 INOTIFY_LIBS
2694 Linker flags for libinotify, overriding pkg-config
2695 DBUS_CFLAGS C compiler flags for dbus-1, overriding pkg-config
2696 DBUS_LIBS Linker flags for dbus-1, overriding pkg-config
2697 HAL_CFLAGS C compiler flags for hal, overriding pkg-config
2698 HAL_LIBS Linker flags for hal, overriding pkg-config
2699 GNUTLS_CFLAGS
2700 C compiler flags for gnutls, overriding pkg-config
2701 GNUTLS_LIBS Linker flags for gnutls, overriding pkg-config
2702 SANE_CFLAGS C compiler flags for sane-backends, overriding pkg-config
2703 SANE_LIBS Linker flags for sane-backends, overriding pkg-config
2704 USB_CFLAGS C compiler flags for libusb-1.0, overriding pkg-config
2705 USB_LIBS Linker flags for libusb-1.0, overriding pkg-config
2706 GPHOTO2_CFLAGS
2707 C compiler flags for libgphoto2, overriding pkg-config
2708 GPHOTO2_LIBS
2709 Linker flags for libgphoto2, overriding pkg-config
2710 GPHOTO2_PORT_CFLAGS
2711 C compiler flags for libgphoto2_port, overriding pkg-config
2712 GPHOTO2_PORT_LIBS
2713 Linker flags for libgphoto2_port, overriding pkg-config
2714 LCMS2_CFLAGS
2715 C compiler flags for lcms2, overriding pkg-config
2716 LCMS2_LIBS Linker flags for lcms2, overriding pkg-config
2717 FREETYPE_CFLAGS
2718 C compiler flags for freetype2, overriding pkg-config
2719 FREETYPE_LIBS
2720 Linker flags for freetype2, overriding pkg-config
2721 PULSE_CFLAGS
2722 C compiler flags for libpulse, overriding pkg-config
2723 PULSE_LIBS Linker flags for libpulse, overriding pkg-config
2724 GSTREAMER_CFLAGS
2725 C compiler flags for gstreamer-1.0 gstreamer-video-1.0
2726 gstreamer-audio-1.0, overriding pkg-config
2727 GSTREAMER_LIBS
2728 Linker flags for gstreamer-1.0 gstreamer-video-1.0
2729 gstreamer-audio-1.0, overriding pkg-config
2730 UDEV_CFLAGS C compiler flags for libudev, overriding pkg-config
2731 UDEV_LIBS Linker flags for libudev, overriding pkg-config
2732 UNWIND_CFLAGS
2733 C compiler flags for libunwind, overriding pkg-config
2734 UNWIND_LIBS Linker flags for libunwind, overriding pkg-config
2735 SDL2_CFLAGS C compiler flags for sdl2, overriding pkg-config
2736 SDL2_LIBS Linker flags for sdl2, overriding pkg-config
2737 FAUDIO_CFLAGS
2738 C compiler flags for FAudio, overriding pkg-config
2739 FAUDIO_LIBS Linker flags for FAudio, overriding pkg-config
2740 CAPI20_CFLAGS
2741 C compiler flags for capi20, overriding pkg-config
2742 CAPI20_LIBS Linker flags for capi20, overriding pkg-config
2743 CUPS_CFLAGS C compiler flags for cups, overriding pkg-config
2744 CUPS_LIBS Linker flags for cups, overriding pkg-config
2745 FONTCONFIG_CFLAGS
2746 C compiler flags for fontconfig, overriding pkg-config
2747 FONTCONFIG_LIBS
2748 Linker flags for fontconfig, overriding pkg-config
2749 KRB5_CFLAGS C compiler flags for krb5, overriding pkg-config
2750 KRB5_LIBS Linker flags for krb5, overriding pkg-config
2751 GSSAPI_CFLAGS
2752 C compiler flags for krb5-gssapi, overriding pkg-config
2753 GSSAPI_LIBS Linker flags for krb5-gssapi, overriding pkg-config
2754 JPEG_CFLAGS C compiler flags for libjpeg, overriding pkg-config
2755 JPEG_LIBS Linker flags for libjpeg, overriding pkg-config
2756 JXRLIB_CFLAGS
2757 C compiler flags for jxrlib, overriding pkg-config
2758 JXRLIB_LIBS Linker flags for jxrlib, overriding pkg-config
2759 PNG_CFLAGS C compiler flags for libpng, overriding pkg-config
2760 PNG_LIBS Linker flags for libpng, overriding pkg-config
2761 TIFF_CFLAGS C compiler flags for libtiff-4, overriding pkg-config
2762 TIFF_LIBS Linker flags for libtiff-4, overriding pkg-config
2763 MPG123_CFLAGS
2764 C compiler flags for libmpg123, overriding pkg-config
2765 MPG123_LIBS Linker flags for libmpg123, overriding pkg-config
2766 NETAPI_CFLAGS
2767 C compiler flags for netapi, overriding pkg-config
2768 NETAPI_LIBS Linker flags for netapi, overriding pkg-config
2769 VKD3D_CFLAGS
2770 C compiler flags for libvkd3d, overriding pkg-config
2771 VKD3D_LIBS Linker flags for libvkd3d, overriding pkg-config
2772 VKD3D_SHADER_CFLAGS
2773 C compiler flags for libvkd3d-shader, overriding pkg-config
2774 VKD3D_SHADER_LIBS
2775 Linker flags for libvkd3d-shader, overriding pkg-config
2776 LDAP_CFLAGS C compiler flags for openldap, overriding pkg-config
2777 LDAP_LIBS Linker flags for openldap, overriding pkg-config
2779 Use these variables to override the choices made by `configure' or to help
2780 it to find libraries and programs with nonstandard names/locations.
2782 Report bugs to <wine-devel@winehq.org>.
2783 Wine home page: <https://www.winehq.org>.
2784 _ACEOF
2785 ac_status=$?
2788 if test "$ac_init_help" = "recursive"; then
2789 # If there are subdirs, report their specific --help.
2790 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
2791 test -d "$ac_dir" ||
2792 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
2793 continue
2794 ac_builddir=.
2796 case "$ac_dir" in
2797 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
2799 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
2800 # A ".." for each directory in $ac_dir_suffix.
2801 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
2802 case $ac_top_builddir_sub in
2803 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
2804 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
2805 esac ;;
2806 esac
2807 ac_abs_top_builddir=$ac_pwd
2808 ac_abs_builddir=$ac_pwd$ac_dir_suffix
2809 # for backward compatibility:
2810 ac_top_builddir=$ac_top_build_prefix
2812 case $srcdir in
2813 .) # We are building in place.
2814 ac_srcdir=.
2815 ac_top_srcdir=$ac_top_builddir_sub
2816 ac_abs_top_srcdir=$ac_pwd ;;
2817 [\\/]* | ?:[\\/]* ) # Absolute name.
2818 ac_srcdir=$srcdir$ac_dir_suffix;
2819 ac_top_srcdir=$srcdir
2820 ac_abs_top_srcdir=$srcdir ;;
2821 *) # Relative name.
2822 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
2823 ac_top_srcdir=$ac_top_build_prefix$srcdir
2824 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
2825 esac
2826 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
2828 cd "$ac_dir" || { ac_status=$?; continue; }
2829 # Check for guested configure.
2830 if test -f "$ac_srcdir/configure.gnu"; then
2831 echo &&
2832 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
2833 elif test -f "$ac_srcdir/configure"; then
2834 echo &&
2835 $SHELL "$ac_srcdir/configure" --help=recursive
2836 else
2837 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
2838 fi || ac_status=$?
2839 cd "$ac_pwd" || { ac_status=$?; break; }
2840 done
2843 test -n "$ac_init_help" && exit $ac_status
2844 if $ac_init_version; then
2845 cat <<\_ACEOF
2846 Wine configure 6.7
2847 generated by GNU Autoconf 2.69
2849 Copyright (C) 2012 Free Software Foundation, Inc.
2850 This configure script is free software; the Free Software Foundation
2851 gives unlimited permission to copy, distribute and modify it.
2852 _ACEOF
2853 exit
2856 ## ------------------------ ##
2857 ## Autoconf initialization. ##
2858 ## ------------------------ ##
2860 # ac_fn_c_try_compile LINENO
2861 # --------------------------
2862 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2863 ac_fn_c_try_compile ()
2865 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2866 rm -f conftest.$ac_objext
2867 if { { ac_try="$ac_compile"
2868 case "(($ac_try" in
2869 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2870 *) ac_try_echo=$ac_try;;
2871 esac
2872 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2873 $as_echo "$ac_try_echo"; } >&5
2874 (eval "$ac_compile") 2>conftest.err
2875 ac_status=$?
2876 if test -s conftest.err; then
2877 grep -v '^ *+' conftest.err >conftest.er1
2878 cat conftest.er1 >&5
2879 mv -f conftest.er1 conftest.err
2881 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2882 test $ac_status = 0; } && {
2883 test -z "$ac_c_werror_flag" ||
2884 test ! -s conftest.err
2885 } && test -s conftest.$ac_objext; then :
2886 ac_retval=0
2887 else
2888 $as_echo "$as_me: failed program was:" >&5
2889 sed 's/^/| /' conftest.$ac_ext >&5
2891 ac_retval=1
2893 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2894 as_fn_set_status $ac_retval
2896 } # ac_fn_c_try_compile
2898 # ac_fn_cxx_try_compile LINENO
2899 # ----------------------------
2900 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2901 ac_fn_cxx_try_compile ()
2903 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2904 rm -f conftest.$ac_objext
2905 if { { ac_try="$ac_compile"
2906 case "(($ac_try" in
2907 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2908 *) ac_try_echo=$ac_try;;
2909 esac
2910 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2911 $as_echo "$ac_try_echo"; } >&5
2912 (eval "$ac_compile") 2>conftest.err
2913 ac_status=$?
2914 if test -s conftest.err; then
2915 grep -v '^ *+' conftest.err >conftest.er1
2916 cat conftest.er1 >&5
2917 mv -f conftest.er1 conftest.err
2919 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2920 test $ac_status = 0; } && {
2921 test -z "$ac_cxx_werror_flag" ||
2922 test ! -s conftest.err
2923 } && test -s conftest.$ac_objext; then :
2924 ac_retval=0
2925 else
2926 $as_echo "$as_me: failed program was:" >&5
2927 sed 's/^/| /' conftest.$ac_ext >&5
2929 ac_retval=1
2931 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2932 as_fn_set_status $ac_retval
2934 } # ac_fn_cxx_try_compile
2936 # ac_fn_c_try_link LINENO
2937 # -----------------------
2938 # Try to link conftest.$ac_ext, and return whether this succeeded.
2939 ac_fn_c_try_link ()
2941 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2942 rm -f conftest.$ac_objext conftest$ac_exeext
2943 if { { ac_try="$ac_link"
2944 case "(($ac_try" in
2945 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2946 *) ac_try_echo=$ac_try;;
2947 esac
2948 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2949 $as_echo "$ac_try_echo"; } >&5
2950 (eval "$ac_link") 2>conftest.err
2951 ac_status=$?
2952 if test -s conftest.err; then
2953 grep -v '^ *+' conftest.err >conftest.er1
2954 cat conftest.er1 >&5
2955 mv -f conftest.er1 conftest.err
2957 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2958 test $ac_status = 0; } && {
2959 test -z "$ac_c_werror_flag" ||
2960 test ! -s conftest.err
2961 } && test -s conftest$ac_exeext && {
2962 test "$cross_compiling" = yes ||
2963 test -x conftest$ac_exeext
2964 }; then :
2965 ac_retval=0
2966 else
2967 $as_echo "$as_me: failed program was:" >&5
2968 sed 's/^/| /' conftest.$ac_ext >&5
2970 ac_retval=1
2972 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2973 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2974 # interfere with the next link command; also delete a directory that is
2975 # left behind by Apple's compiler. We do this before executing the actions.
2976 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2977 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2978 as_fn_set_status $ac_retval
2980 } # ac_fn_c_try_link
2982 # ac_fn_c_try_cpp LINENO
2983 # ----------------------
2984 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
2985 ac_fn_c_try_cpp ()
2987 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2988 if { { ac_try="$ac_cpp conftest.$ac_ext"
2989 case "(($ac_try" in
2990 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2991 *) ac_try_echo=$ac_try;;
2992 esac
2993 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2994 $as_echo "$ac_try_echo"; } >&5
2995 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
2996 ac_status=$?
2997 if test -s conftest.err; then
2998 grep -v '^ *+' conftest.err >conftest.er1
2999 cat conftest.er1 >&5
3000 mv -f conftest.er1 conftest.err
3002 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3003 test $ac_status = 0; } > conftest.i && {
3004 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3005 test ! -s conftest.err
3006 }; then :
3007 ac_retval=0
3008 else
3009 $as_echo "$as_me: failed program was:" >&5
3010 sed 's/^/| /' conftest.$ac_ext >&5
3012 ac_retval=1
3014 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3015 as_fn_set_status $ac_retval
3017 } # ac_fn_c_try_cpp
3019 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
3020 # -------------------------------------------------------
3021 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
3022 # the include files in INCLUDES and setting the cache variable VAR
3023 # accordingly.
3024 ac_fn_c_check_header_mongrel ()
3026 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3027 if eval \${$3+:} false; then :
3028 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3029 $as_echo_n "checking for $2... " >&6; }
3030 if eval \${$3+:} false; then :
3031 $as_echo_n "(cached) " >&6
3033 eval ac_res=\$$3
3034 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3035 $as_echo "$ac_res" >&6; }
3036 else
3037 # Is the header compilable?
3038 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
3039 $as_echo_n "checking $2 usability... " >&6; }
3040 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3041 /* end confdefs.h. */
3043 #include <$2>
3044 _ACEOF
3045 if ac_fn_c_try_compile "$LINENO"; then :
3046 ac_header_compiler=yes
3047 else
3048 ac_header_compiler=no
3050 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3051 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
3052 $as_echo "$ac_header_compiler" >&6; }
3054 # Is the header present?
3055 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
3056 $as_echo_n "checking $2 presence... " >&6; }
3057 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3058 /* end confdefs.h. */
3059 #include <$2>
3060 _ACEOF
3061 if ac_fn_c_try_cpp "$LINENO"; then :
3062 ac_header_preproc=yes
3063 else
3064 ac_header_preproc=no
3066 rm -f conftest.err conftest.i conftest.$ac_ext
3067 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
3068 $as_echo "$ac_header_preproc" >&6; }
3070 # So? What about this header?
3071 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
3072 yes:no: )
3073 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
3074 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
3075 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
3076 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
3078 no:yes:* )
3079 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
3080 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
3081 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
3082 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
3083 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
3084 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
3085 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
3086 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
3087 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
3088 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
3089 ( $as_echo "## ------------------------------------ ##
3090 ## Report this to wine-devel@winehq.org ##
3091 ## ------------------------------------ ##"
3092 ) | sed "s/^/$as_me: WARNING: /" >&2
3094 esac
3095 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3096 $as_echo_n "checking for $2... " >&6; }
3097 if eval \${$3+:} false; then :
3098 $as_echo_n "(cached) " >&6
3099 else
3100 eval "$3=\$ac_header_compiler"
3102 eval ac_res=\$$3
3103 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3104 $as_echo "$ac_res" >&6; }
3106 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3108 } # ac_fn_c_check_header_mongrel
3110 # ac_fn_c_try_run LINENO
3111 # ----------------------
3112 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
3113 # that executables *can* be run.
3114 ac_fn_c_try_run ()
3116 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3117 if { { ac_try="$ac_link"
3118 case "(($ac_try" in
3119 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3120 *) ac_try_echo=$ac_try;;
3121 esac
3122 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3123 $as_echo "$ac_try_echo"; } >&5
3124 (eval "$ac_link") 2>&5
3125 ac_status=$?
3126 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3127 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
3128 { { case "(($ac_try" in
3129 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3130 *) ac_try_echo=$ac_try;;
3131 esac
3132 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3133 $as_echo "$ac_try_echo"; } >&5
3134 (eval "$ac_try") 2>&5
3135 ac_status=$?
3136 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3137 test $ac_status = 0; }; }; then :
3138 ac_retval=0
3139 else
3140 $as_echo "$as_me: program exited with status $ac_status" >&5
3141 $as_echo "$as_me: failed program was:" >&5
3142 sed 's/^/| /' conftest.$ac_ext >&5
3144 ac_retval=$ac_status
3146 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
3147 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3148 as_fn_set_status $ac_retval
3150 } # ac_fn_c_try_run
3152 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
3153 # -------------------------------------------------------
3154 # Tests whether HEADER exists and can be compiled using the include files in
3155 # INCLUDES, setting the cache variable VAR accordingly.
3156 ac_fn_c_check_header_compile ()
3158 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3159 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3160 $as_echo_n "checking for $2... " >&6; }
3161 if eval \${$3+:} false; then :
3162 $as_echo_n "(cached) " >&6
3163 else
3164 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3165 /* end confdefs.h. */
3167 #include <$2>
3168 _ACEOF
3169 if ac_fn_c_try_compile "$LINENO"; then :
3170 eval "$3=yes"
3171 else
3172 eval "$3=no"
3174 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3176 eval ac_res=\$$3
3177 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3178 $as_echo "$ac_res" >&6; }
3179 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3181 } # ac_fn_c_check_header_compile
3183 # ac_fn_objc_try_compile LINENO
3184 # -----------------------------
3185 # Try to compile conftest.$ac_ext, and return whether this succeeded.
3186 ac_fn_objc_try_compile ()
3188 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3189 rm -f conftest.$ac_objext
3190 if { { ac_try="$ac_compile"
3191 case "(($ac_try" in
3192 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3193 *) ac_try_echo=$ac_try;;
3194 esac
3195 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3196 $as_echo "$ac_try_echo"; } >&5
3197 (eval "$ac_compile") 2>conftest.err
3198 ac_status=$?
3199 if test -s conftest.err; then
3200 grep -v '^ *+' conftest.err >conftest.er1
3201 cat conftest.er1 >&5
3202 mv -f conftest.er1 conftest.err
3204 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3205 test $ac_status = 0; } && {
3206 test -z "$ac_objc_werror_flag" ||
3207 test ! -s conftest.err
3208 } && test -s conftest.$ac_objext; then :
3209 ac_retval=0
3210 else
3211 $as_echo "$as_me: failed program was:" >&5
3212 sed 's/^/| /' conftest.$ac_ext >&5
3214 ac_retval=1
3216 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3217 as_fn_set_status $ac_retval
3219 } # ac_fn_objc_try_compile
3221 # ac_fn_objc_try_cpp LINENO
3222 # -------------------------
3223 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
3224 ac_fn_objc_try_cpp ()
3226 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3227 if { { ac_try="$ac_cpp conftest.$ac_ext"
3228 case "(($ac_try" in
3229 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3230 *) ac_try_echo=$ac_try;;
3231 esac
3232 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3233 $as_echo "$ac_try_echo"; } >&5
3234 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
3235 ac_status=$?
3236 if test -s conftest.err; then
3237 grep -v '^ *+' conftest.err >conftest.er1
3238 cat conftest.er1 >&5
3239 mv -f conftest.er1 conftest.err
3241 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3242 test $ac_status = 0; } > conftest.i && {
3243 test -z "$ac_objc_preproc_warn_flag$ac_objc_werror_flag" ||
3244 test ! -s conftest.err
3245 }; then :
3246 ac_retval=0
3247 else
3248 $as_echo "$as_me: failed program was:" >&5
3249 sed 's/^/| /' conftest.$ac_ext >&5
3251 ac_retval=1
3253 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3254 as_fn_set_status $ac_retval
3256 } # ac_fn_objc_try_cpp
3258 # ac_fn_objc_check_header_mongrel LINENO HEADER VAR INCLUDES
3259 # ----------------------------------------------------------
3260 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
3261 # the include files in INCLUDES and setting the cache variable VAR
3262 # accordingly.
3263 ac_fn_objc_check_header_mongrel ()
3265 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3266 if eval \${$3+:} false; then :
3267 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3268 $as_echo_n "checking for $2... " >&6; }
3269 if eval \${$3+:} false; then :
3270 $as_echo_n "(cached) " >&6
3272 eval ac_res=\$$3
3273 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3274 $as_echo "$ac_res" >&6; }
3275 else
3276 # Is the header compilable?
3277 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
3278 $as_echo_n "checking $2 usability... " >&6; }
3279 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3280 /* end confdefs.h. */
3282 #include <$2>
3283 _ACEOF
3284 if ac_fn_objc_try_compile "$LINENO"; then :
3285 ac_header_compiler=yes
3286 else
3287 ac_header_compiler=no
3289 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3290 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
3291 $as_echo "$ac_header_compiler" >&6; }
3293 # Is the header present?
3294 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
3295 $as_echo_n "checking $2 presence... " >&6; }
3296 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3297 /* end confdefs.h. */
3298 #include <$2>
3299 _ACEOF
3300 if ac_fn_objc_try_cpp "$LINENO"; then :
3301 ac_header_preproc=yes
3302 else
3303 ac_header_preproc=no
3305 rm -f conftest.err conftest.i conftest.$ac_ext
3306 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
3307 $as_echo "$ac_header_preproc" >&6; }
3309 # So? What about this header?
3310 case $ac_header_compiler:$ac_header_preproc:$ac_objc_preproc_warn_flag in #((
3311 yes:no: )
3312 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
3313 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
3314 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
3315 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
3317 no:yes:* )
3318 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
3319 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
3320 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
3321 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
3322 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
3323 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
3324 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
3325 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
3326 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
3327 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
3328 ( $as_echo "## ------------------------------------ ##
3329 ## Report this to wine-devel@winehq.org ##
3330 ## ------------------------------------ ##"
3331 ) | sed "s/^/$as_me: WARNING: /" >&2
3333 esac
3334 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3335 $as_echo_n "checking for $2... " >&6; }
3336 if eval \${$3+:} false; then :
3337 $as_echo_n "(cached) " >&6
3338 else
3339 eval "$3=\$ac_header_compiler"
3341 eval ac_res=\$$3
3342 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3343 $as_echo "$ac_res" >&6; }
3345 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3347 } # ac_fn_objc_check_header_mongrel
3349 # ac_fn_c_check_func LINENO FUNC VAR
3350 # ----------------------------------
3351 # Tests whether FUNC exists, setting the cache variable VAR accordingly
3352 ac_fn_c_check_func ()
3354 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3355 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3356 $as_echo_n "checking for $2... " >&6; }
3357 if eval \${$3+:} false; then :
3358 $as_echo_n "(cached) " >&6
3359 else
3360 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3361 /* end confdefs.h. */
3362 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
3363 For example, HP-UX 11i <limits.h> declares gettimeofday. */
3364 #define $2 innocuous_$2
3366 /* System header to define __stub macros and hopefully few prototypes,
3367 which can conflict with char $2 (); below.
3368 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3369 <limits.h> exists even on freestanding compilers. */
3371 #ifdef __STDC__
3372 # include <limits.h>
3373 #else
3374 # include <assert.h>
3375 #endif
3377 #undef $2
3379 /* Override any GCC internal prototype to avoid an error.
3380 Use char because int might match the return type of a GCC
3381 builtin and then its argument prototype would still apply. */
3382 #ifdef __cplusplus
3383 extern "C"
3384 #endif
3385 char $2 ();
3386 /* The GNU C library defines this for functions which it implements
3387 to always fail with ENOSYS. Some functions are actually named
3388 something starting with __ and the normal name is an alias. */
3389 #if defined __stub_$2 || defined __stub___$2
3390 choke me
3391 #endif
3394 main ()
3396 return $2 ();
3398 return 0;
3400 _ACEOF
3401 if ac_fn_c_try_link "$LINENO"; then :
3402 eval "$3=yes"
3403 else
3404 eval "$3=no"
3406 rm -f core conftest.err conftest.$ac_objext \
3407 conftest$ac_exeext conftest.$ac_ext
3409 eval ac_res=\$$3
3410 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3411 $as_echo "$ac_res" >&6; }
3412 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3414 } # ac_fn_c_check_func
3416 # ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
3417 # ----------------------------------------------------
3418 # Tries to find if the field MEMBER exists in type AGGR, after including
3419 # INCLUDES, setting cache variable VAR accordingly.
3420 ac_fn_c_check_member ()
3422 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3423 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
3424 $as_echo_n "checking for $2.$3... " >&6; }
3425 if eval \${$4+:} false; then :
3426 $as_echo_n "(cached) " >&6
3427 else
3428 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3429 /* end confdefs.h. */
3432 main ()
3434 static $2 ac_aggr;
3435 if (ac_aggr.$3)
3436 return 0;
3438 return 0;
3440 _ACEOF
3441 if ac_fn_c_try_compile "$LINENO"; then :
3442 eval "$4=yes"
3443 else
3444 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3445 /* end confdefs.h. */
3448 main ()
3450 static $2 ac_aggr;
3451 if (sizeof ac_aggr.$3)
3452 return 0;
3454 return 0;
3456 _ACEOF
3457 if ac_fn_c_try_compile "$LINENO"; then :
3458 eval "$4=yes"
3459 else
3460 eval "$4=no"
3462 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3464 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3466 eval ac_res=\$$4
3467 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3468 $as_echo "$ac_res" >&6; }
3469 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3471 } # ac_fn_c_check_member
3473 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
3474 # -------------------------------------------
3475 # Tests whether TYPE exists after having included INCLUDES, setting cache
3476 # variable VAR accordingly.
3477 ac_fn_c_check_type ()
3479 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3480 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3481 $as_echo_n "checking for $2... " >&6; }
3482 if eval \${$3+:} false; then :
3483 $as_echo_n "(cached) " >&6
3484 else
3485 eval "$3=no"
3486 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3487 /* end confdefs.h. */
3490 main ()
3492 if (sizeof ($2))
3493 return 0;
3495 return 0;
3497 _ACEOF
3498 if ac_fn_c_try_compile "$LINENO"; then :
3499 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3500 /* end confdefs.h. */
3503 main ()
3505 if (sizeof (($2)))
3506 return 0;
3508 return 0;
3510 _ACEOF
3511 if ac_fn_c_try_compile "$LINENO"; then :
3513 else
3514 eval "$3=yes"
3516 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3518 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3520 eval ac_res=\$$3
3521 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3522 $as_echo "$ac_res" >&6; }
3523 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3525 } # ac_fn_c_check_type
3526 cat >config.log <<_ACEOF
3527 This file contains any messages produced by compilers while
3528 running configure, to aid debugging if configure makes a mistake.
3530 It was created by Wine $as_me 6.7, which was
3531 generated by GNU Autoconf 2.69. Invocation command line was
3533 $ $0 $@
3535 _ACEOF
3536 exec 5>>config.log
3538 cat <<_ASUNAME
3539 ## --------- ##
3540 ## Platform. ##
3541 ## --------- ##
3543 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
3544 uname -m = `(uname -m) 2>/dev/null || echo unknown`
3545 uname -r = `(uname -r) 2>/dev/null || echo unknown`
3546 uname -s = `(uname -s) 2>/dev/null || echo unknown`
3547 uname -v = `(uname -v) 2>/dev/null || echo unknown`
3549 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
3550 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
3552 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
3553 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
3554 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
3555 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
3556 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
3557 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
3558 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
3560 _ASUNAME
3562 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3563 for as_dir in $PATH
3565 IFS=$as_save_IFS
3566 test -z "$as_dir" && as_dir=.
3567 $as_echo "PATH: $as_dir"
3568 done
3569 IFS=$as_save_IFS
3571 } >&5
3573 cat >&5 <<_ACEOF
3576 ## ----------- ##
3577 ## Core tests. ##
3578 ## ----------- ##
3580 _ACEOF
3583 # Keep a trace of the command line.
3584 # Strip out --no-create and --no-recursion so they do not pile up.
3585 # Strip out --silent because we don't want to record it for future runs.
3586 # Also quote any args containing shell meta-characters.
3587 # Make two passes to allow for proper duplicate-argument suppression.
3588 ac_configure_args=
3589 ac_configure_args0=
3590 ac_configure_args1=
3591 ac_must_keep_next=false
3592 for ac_pass in 1 2
3594 for ac_arg
3596 case $ac_arg in
3597 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
3598 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
3599 | -silent | --silent | --silen | --sile | --sil)
3600 continue ;;
3601 *\'*)
3602 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
3603 esac
3604 case $ac_pass in
3605 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
3607 as_fn_append ac_configure_args1 " '$ac_arg'"
3608 if test $ac_must_keep_next = true; then
3609 ac_must_keep_next=false # Got value, back to normal.
3610 else
3611 case $ac_arg in
3612 *=* | --config-cache | -C | -disable-* | --disable-* \
3613 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
3614 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
3615 | -with-* | --with-* | -without-* | --without-* | --x)
3616 case "$ac_configure_args0 " in
3617 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
3618 esac
3620 -* ) ac_must_keep_next=true ;;
3621 esac
3623 as_fn_append ac_configure_args " '$ac_arg'"
3625 esac
3626 done
3627 done
3628 { ac_configure_args0=; unset ac_configure_args0;}
3629 { ac_configure_args1=; unset ac_configure_args1;}
3631 # When interrupted or exit'd, cleanup temporary files, and complete
3632 # config.log. We remove comments because anyway the quotes in there
3633 # would cause problems or look ugly.
3634 # WARNING: Use '\'' to represent an apostrophe within the trap.
3635 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
3636 trap 'exit_status=$?
3637 # Save into config.log some information that might help in debugging.
3639 echo
3641 $as_echo "## ---------------- ##
3642 ## Cache variables. ##
3643 ## ---------------- ##"
3644 echo
3645 # The following way of writing the cache mishandles newlines in values,
3647 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
3648 eval ac_val=\$$ac_var
3649 case $ac_val in #(
3650 *${as_nl}*)
3651 case $ac_var in #(
3652 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
3653 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
3654 esac
3655 case $ac_var in #(
3656 _ | IFS | as_nl) ;; #(
3657 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
3658 *) { eval $ac_var=; unset $ac_var;} ;;
3659 esac ;;
3660 esac
3661 done
3662 (set) 2>&1 |
3663 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
3664 *${as_nl}ac_space=\ *)
3665 sed -n \
3666 "s/'\''/'\''\\\\'\'''\''/g;
3667 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
3668 ;; #(
3670 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
3672 esac |
3673 sort
3675 echo
3677 $as_echo "## ----------------- ##
3678 ## Output variables. ##
3679 ## ----------------- ##"
3680 echo
3681 for ac_var in $ac_subst_vars
3683 eval ac_val=\$$ac_var
3684 case $ac_val in
3685 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3686 esac
3687 $as_echo "$ac_var='\''$ac_val'\''"
3688 done | sort
3689 echo
3691 if test -n "$ac_subst_files"; then
3692 $as_echo "## ------------------- ##
3693 ## File substitutions. ##
3694 ## ------------------- ##"
3695 echo
3696 for ac_var in $ac_subst_files
3698 eval ac_val=\$$ac_var
3699 case $ac_val in
3700 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3701 esac
3702 $as_echo "$ac_var='\''$ac_val'\''"
3703 done | sort
3704 echo
3707 if test -s confdefs.h; then
3708 $as_echo "## ----------- ##
3709 ## confdefs.h. ##
3710 ## ----------- ##"
3711 echo
3712 cat confdefs.h
3713 echo
3715 test "$ac_signal" != 0 &&
3716 $as_echo "$as_me: caught signal $ac_signal"
3717 $as_echo "$as_me: exit $exit_status"
3718 } >&5
3719 rm -f core *.core core.conftest.* &&
3720 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
3721 exit $exit_status
3723 for ac_signal in 1 2 13 15; do
3724 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
3725 done
3726 ac_signal=0
3728 # confdefs.h avoids OS command line length limits that DEFS can exceed.
3729 rm -f -r conftest* confdefs.h
3731 $as_echo "/* confdefs.h */" > confdefs.h
3733 # Predefined preprocessor variables.
3735 cat >>confdefs.h <<_ACEOF
3736 #define PACKAGE_NAME "$PACKAGE_NAME"
3737 _ACEOF
3739 cat >>confdefs.h <<_ACEOF
3740 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
3741 _ACEOF
3743 cat >>confdefs.h <<_ACEOF
3744 #define PACKAGE_VERSION "$PACKAGE_VERSION"
3745 _ACEOF
3747 cat >>confdefs.h <<_ACEOF
3748 #define PACKAGE_STRING "$PACKAGE_STRING"
3749 _ACEOF
3751 cat >>confdefs.h <<_ACEOF
3752 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
3753 _ACEOF
3755 cat >>confdefs.h <<_ACEOF
3756 #define PACKAGE_URL "$PACKAGE_URL"
3757 _ACEOF
3760 # Let the site file select an alternate cache file if it wants to.
3761 # Prefer an explicitly selected file to automatically selected ones.
3762 ac_site_file1=NONE
3763 ac_site_file2=NONE
3764 if test -n "$CONFIG_SITE"; then
3765 # We do not want a PATH search for config.site.
3766 case $CONFIG_SITE in #((
3767 -*) ac_site_file1=./$CONFIG_SITE;;
3768 */*) ac_site_file1=$CONFIG_SITE;;
3769 *) ac_site_file1=./$CONFIG_SITE;;
3770 esac
3771 elif test "x$prefix" != xNONE; then
3772 ac_site_file1=$prefix/share/config.site
3773 ac_site_file2=$prefix/etc/config.site
3774 else
3775 ac_site_file1=$ac_default_prefix/share/config.site
3776 ac_site_file2=$ac_default_prefix/etc/config.site
3778 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
3780 test "x$ac_site_file" = xNONE && continue
3781 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
3782 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
3783 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
3784 sed 's/^/| /' "$ac_site_file" >&5
3785 . "$ac_site_file" \
3786 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3787 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3788 as_fn_error $? "failed to load site script $ac_site_file
3789 See \`config.log' for more details" "$LINENO" 5; }
3791 done
3793 if test -r "$cache_file"; then
3794 # Some versions of bash will fail to source /dev/null (special files
3795 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
3796 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
3797 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
3798 $as_echo "$as_me: loading cache $cache_file" >&6;}
3799 case $cache_file in
3800 [\\/]* | ?:[\\/]* ) . "$cache_file";;
3801 *) . "./$cache_file";;
3802 esac
3804 else
3805 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
3806 $as_echo "$as_me: creating cache $cache_file" >&6;}
3807 >$cache_file
3810 # Check that the precious variables saved in the cache have kept the same
3811 # value.
3812 ac_cache_corrupted=false
3813 for ac_var in $ac_precious_vars; do
3814 eval ac_old_set=\$ac_cv_env_${ac_var}_set
3815 eval ac_new_set=\$ac_env_${ac_var}_set
3816 eval ac_old_val=\$ac_cv_env_${ac_var}_value
3817 eval ac_new_val=\$ac_env_${ac_var}_value
3818 case $ac_old_set,$ac_new_set in
3819 set,)
3820 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
3821 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
3822 ac_cache_corrupted=: ;;
3823 ,set)
3824 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
3825 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
3826 ac_cache_corrupted=: ;;
3827 ,);;
3829 if test "x$ac_old_val" != "x$ac_new_val"; then
3830 # differences in whitespace do not lead to failure.
3831 ac_old_val_w=`echo x $ac_old_val`
3832 ac_new_val_w=`echo x $ac_new_val`
3833 if test "$ac_old_val_w" != "$ac_new_val_w"; then
3834 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
3835 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
3836 ac_cache_corrupted=:
3837 else
3838 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
3839 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
3840 eval $ac_var=\$ac_old_val
3842 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
3843 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
3844 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
3845 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
3846 fi;;
3847 esac
3848 # Pass precious variables to config.status.
3849 if test "$ac_new_set" = set; then
3850 case $ac_new_val in
3851 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
3852 *) ac_arg=$ac_var=$ac_new_val ;;
3853 esac
3854 case " $ac_configure_args " in
3855 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
3856 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
3857 esac
3859 done
3860 if $ac_cache_corrupted; then
3861 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3862 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3863 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
3864 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
3865 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
3867 ## -------------------- ##
3868 ## Main body of script. ##
3869 ## -------------------- ##
3871 ac_ext=c
3872 ac_cpp='$CPP $CPPFLAGS'
3873 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3874 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3875 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3879 ac_config_headers="$ac_config_headers include/config.h"
3881 ac_aux_dir=
3882 for ac_dir in tools "$srcdir"/tools; do
3883 if test -f "$ac_dir/install-sh"; then
3884 ac_aux_dir=$ac_dir
3885 ac_install_sh="$ac_aux_dir/install-sh -c"
3886 break
3887 elif test -f "$ac_dir/install.sh"; then
3888 ac_aux_dir=$ac_dir
3889 ac_install_sh="$ac_aux_dir/install.sh -c"
3890 break
3891 elif test -f "$ac_dir/shtool"; then
3892 ac_aux_dir=$ac_dir
3893 ac_install_sh="$ac_aux_dir/shtool install -c"
3894 break
3896 done
3897 if test -z "$ac_aux_dir"; then
3898 as_fn_error $? "cannot find install-sh, install.sh, or shtool in tools \"$srcdir\"/tools" "$LINENO" 5
3901 # These three variables are undocumented and unsupported,
3902 # and are intended to be withdrawn in a future Autoconf release.
3903 # They can cause serious problems if a builder's source tree is in a directory
3904 # whose full name contains unusual characters.
3905 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
3906 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
3907 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
3911 libwine_version="1.0"
3915 # Check whether --enable-win16 was given.
3916 if test "${enable_win16+set}" = set; then :
3917 enableval=$enable_win16;
3920 # Check whether --enable-win64 was given.
3921 if test "${enable_win64+set}" = set; then :
3922 enableval=$enable_win64;
3925 # Check whether --enable-tests was given.
3926 if test "${enable_tests+set}" = set; then :
3927 enableval=$enable_tests;
3930 # Check whether --enable-build-id was given.
3931 if test "${enable_build_id+set}" = set; then :
3932 enableval=$enable_build_id;
3935 # Check whether --enable-maintainer-mode was given.
3936 if test "${enable_maintainer_mode+set}" = set; then :
3937 enableval=$enable_maintainer_mode;
3940 # Check whether --enable-silent-rules was given.
3941 if test "${enable_silent_rules+set}" = set; then :
3942 enableval=$enable_silent_rules;
3945 # Check whether --enable-werror was given.
3946 if test "${enable_werror+set}" = set; then :
3947 enableval=$enable_werror;
3952 # Check whether --with-alsa was given.
3953 if test "${with_alsa+set}" = set; then :
3954 withval=$with_alsa;
3958 # Check whether --with-capi was given.
3959 if test "${with_capi+set}" = set; then :
3960 withval=$with_capi;
3964 # Check whether --with-cms was given.
3965 if test "${with_cms+set}" = set; then :
3966 withval=$with_cms;
3970 # Check whether --with-coreaudio was given.
3971 if test "${with_coreaudio+set}" = set; then :
3972 withval=$with_coreaudio; if test "x$withval" = "xno"; then ac_cv_header_CoreAudio_CoreAudio_h=no; fi
3976 # Check whether --with-cups was given.
3977 if test "${with_cups+set}" = set; then :
3978 withval=$with_cups;
3982 # Check whether --with-dbus was given.
3983 if test "${with_dbus+set}" = set; then :
3984 withval=$with_dbus;
3988 # Check whether --with-faudio was given.
3989 if test "${with_faudio+set}" = set; then :
3990 withval=$with_faudio;
3994 # Check whether --with-float-abi was given.
3995 if test "${with_float_abi+set}" = set; then :
3996 withval=$with_float_abi;
4000 # Check whether --with-fontconfig was given.
4001 if test "${with_fontconfig+set}" = set; then :
4002 withval=$with_fontconfig;
4006 # Check whether --with-freetype was given.
4007 if test "${with_freetype+set}" = set; then :
4008 withval=$with_freetype;
4012 # Check whether --with-gettext was given.
4013 if test "${with_gettext+set}" = set; then :
4014 withval=$with_gettext;
4018 # Check whether --with-gettextpo was given.
4019 if test "${with_gettextpo+set}" = set; then :
4020 withval=$with_gettextpo; if test "x$withval" = "xno"; then ac_cv_header_gettext_po_h=no; fi
4024 # Check whether --with-gphoto was given.
4025 if test "${with_gphoto+set}" = set; then :
4026 withval=$with_gphoto;
4030 # Check whether --with-gnutls was given.
4031 if test "${with_gnutls+set}" = set; then :
4032 withval=$with_gnutls;
4036 # Check whether --with-gsm was given.
4037 if test "${with_gsm+set}" = set; then :
4038 withval=$with_gsm; if test "x$withval" = "xno"; then ac_cv_header_gsm_h=no; ac_cv_header_gsm_gsm_h=no; fi
4042 # Check whether --with-gssapi was given.
4043 if test "${with_gssapi+set}" = set; then :
4044 withval=$with_gssapi;
4048 # Check whether --with-gstreamer was given.
4049 if test "${with_gstreamer+set}" = set; then :
4050 withval=$with_gstreamer;
4054 # Check whether --with-hal was given.
4055 if test "${with_hal+set}" = set; then :
4056 withval=$with_hal;
4060 # Check whether --with-inotify was given.
4061 if test "${with_inotify+set}" = set; then :
4062 withval=$with_inotify;
4066 # Check whether --with-jpeg was given.
4067 if test "${with_jpeg+set}" = set; then :
4068 withval=$with_jpeg;
4072 # Check whether --with-jxrlib was given.
4073 if test "${with_jxrlib+set}" = set; then :
4074 withval=$with_jxrlib;
4078 # Check whether --with-krb5 was given.
4079 if test "${with_krb5+set}" = set; then :
4080 withval=$with_krb5;
4084 # Check whether --with-ldap was given.
4085 if test "${with_ldap+set}" = set; then :
4086 withval=$with_ldap; if test "x$withval" = "xno"; then ac_cv_header_ldap_h=no; ac_cv_header_lber_h=no; fi
4090 # Check whether --with-mingw was given.
4091 if test "${with_mingw+set}" = set; then :
4092 withval=$with_mingw;
4096 # Check whether --with-mpg123 was given.
4097 if test "${with_mpg123+set}" = set; then :
4098 withval=$with_mpg123;
4102 # Check whether --with-netapi was given.
4103 if test "${with_netapi+set}" = set; then :
4104 withval=$with_netapi;
4108 # Check whether --with-openal was given.
4109 if test "${with_openal+set}" = set; then :
4110 withval=$with_openal; if test "x$withval" = "xno"; then ac_cv_header_AL_al_h=no; ac_cv_header_OpenAL_al_h=no; fi
4114 # Check whether --with-opencl was given.
4115 if test "${with_opencl+set}" = set; then :
4116 withval=$with_opencl; if test "x$withval" = "xno"; then ac_cv_header_CL_cl_h=no; ac_cv_header_OpenCL_opencl_h=no; fi
4120 # Check whether --with-opengl was given.
4121 if test "${with_opengl+set}" = set; then :
4122 withval=$with_opengl;
4126 # Check whether --with-osmesa was given.
4127 if test "${with_osmesa+set}" = set; then :
4128 withval=$with_osmesa;
4132 # Check whether --with-oss was given.
4133 if test "${with_oss+set}" = set; then :
4134 withval=$with_oss;
4138 # Check whether --with-pcap was given.
4139 if test "${with_pcap+set}" = set; then :
4140 withval=$with_pcap; if test "x$withval" = "xno"; then ac_cv_header_pcap_pcap_h=no; fi
4144 # Check whether --with-png was given.
4145 if test "${with_png+set}" = set; then :
4146 withval=$with_png;
4150 # Check whether --with-pthread was given.
4151 if test "${with_pthread+set}" = set; then :
4152 withval=$with_pthread; if test "x$withval" = "xno"; then ac_cv_header_pthread_h=no; fi
4156 # Check whether --with-pulse was given.
4157 if test "${with_pulse+set}" = set; then :
4158 withval=$with_pulse;
4162 # Check whether --with-quicktime was given.
4163 if test "${with_quicktime+set}" = set; then :
4164 withval=$with_quicktime;
4168 # Check whether --with-sane was given.
4169 if test "${with_sane+set}" = set; then :
4170 withval=$with_sane;
4174 # Check whether --with-sdl was given.
4175 if test "${with_sdl+set}" = set; then :
4176 withval=$with_sdl;
4180 # Check whether --with-tiff was given.
4181 if test "${with_tiff+set}" = set; then :
4182 withval=$with_tiff;
4186 # Check whether --with-udev was given.
4187 if test "${with_udev+set}" = set; then :
4188 withval=$with_udev;
4192 # Check whether --with-unwind was given.
4193 if test "${with_unwind+set}" = set; then :
4194 withval=$with_unwind;
4198 # Check whether --with-usb was given.
4199 if test "${with_usb+set}" = set; then :
4200 withval=$with_usb;
4204 # Check whether --with-v4l2 was given.
4205 if test "${with_v4l2+set}" = set; then :
4206 withval=$with_v4l2;
4210 # Check whether --with-vkd3d was given.
4211 if test "${with_vkd3d+set}" = set; then :
4212 withval=$with_vkd3d;
4216 # Check whether --with-vulkan was given.
4217 if test "${with_vulkan+set}" = set; then :
4218 withval=$with_vulkan;
4222 # Check whether --with-xcomposite was given.
4223 if test "${with_xcomposite+set}" = set; then :
4224 withval=$with_xcomposite; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xcomposite_h=no; fi
4228 # Check whether --with-xcursor was given.
4229 if test "${with_xcursor+set}" = set; then :
4230 withval=$with_xcursor; if test "x$withval" = "xno"; then ac_cv_header_X11_Xcursor_Xcursor_h=no; fi
4234 # Check whether --with-xfixes was given.
4235 if test "${with_xfixes+set}" = set; then :
4236 withval=$with_xfixes; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xfixes_h=no; fi
4240 # Check whether --with-xinerama was given.
4241 if test "${with_xinerama+set}" = set; then :
4242 withval=$with_xinerama; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xinerama_h=no; fi
4246 # Check whether --with-xinput was given.
4247 if test "${with_xinput+set}" = set; then :
4248 withval=$with_xinput; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput_h=no; fi
4252 # Check whether --with-xinput2 was given.
4253 if test "${with_xinput2+set}" = set; then :
4254 withval=$with_xinput2; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput2_h=no; fi
4258 # Check whether --with-xml was given.
4259 if test "${with_xml+set}" = set; then :
4260 withval=$with_xml;
4264 # Check whether --with-xrandr was given.
4265 if test "${with_xrandr+set}" = set; then :
4266 withval=$with_xrandr; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrandr_h=no; fi
4270 # Check whether --with-xrender was given.
4271 if test "${with_xrender+set}" = set; then :
4272 withval=$with_xrender; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrender_h=no; fi
4276 # Check whether --with-xshape was given.
4277 if test "${with_xshape+set}" = set; then :
4278 withval=$with_xshape; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_shape_h=no; fi
4282 # Check whether --with-xshm was given.
4283 if test "${with_xshm+set}" = set; then :
4284 withval=$with_xshm; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XShm_h=no; fi
4288 # Check whether --with-xslt was given.
4289 if test "${with_xslt+set}" = set; then :
4290 withval=$with_xslt;
4294 # Check whether --with-xxf86vm was given.
4295 if test "${with_xxf86vm+set}" = set; then :
4296 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
4301 # Check whether --with-wine-tools was given.
4302 if test "${with_wine_tools+set}" = set; then :
4303 withval=$with_wine_tools;
4307 # Check whether --with-wine64 was given.
4308 if test "${with_wine64+set}" = set; then :
4309 withval=$with_wine64;
4313 # Make sure we can run config.sub.
4314 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
4315 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
4317 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
4318 $as_echo_n "checking build system type... " >&6; }
4319 if ${ac_cv_build+:} false; then :
4320 $as_echo_n "(cached) " >&6
4321 else
4322 ac_build_alias=$build_alias
4323 test "x$ac_build_alias" = x &&
4324 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
4325 test "x$ac_build_alias" = x &&
4326 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
4327 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
4328 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
4331 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
4332 $as_echo "$ac_cv_build" >&6; }
4333 case $ac_cv_build in
4334 *-*-*) ;;
4335 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
4336 esac
4337 build=$ac_cv_build
4338 ac_save_IFS=$IFS; IFS='-'
4339 set x $ac_cv_build
4340 shift
4341 build_cpu=$1
4342 build_vendor=$2
4343 shift; shift
4344 # Remember, the first character of IFS is used to create $*,
4345 # except with old shells:
4346 build_os=$*
4347 IFS=$ac_save_IFS
4348 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
4351 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
4352 $as_echo_n "checking host system type... " >&6; }
4353 if ${ac_cv_host+:} false; then :
4354 $as_echo_n "(cached) " >&6
4355 else
4356 if test "x$host_alias" = x; then
4357 ac_cv_host=$ac_cv_build
4358 else
4359 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
4360 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
4364 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
4365 $as_echo "$ac_cv_host" >&6; }
4366 case $ac_cv_host in
4367 *-*-*) ;;
4368 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
4369 esac
4370 host=$ac_cv_host
4371 ac_save_IFS=$IFS; IFS='-'
4372 set x $ac_cv_host
4373 shift
4374 host_cpu=$1
4375 host_vendor=$2
4376 shift; shift
4377 # Remember, the first character of IFS is used to create $*,
4378 # except with old shells:
4379 host_os=$*
4380 IFS=$ac_save_IFS
4381 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
4386 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
4387 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
4388 set x ${MAKE-make}
4389 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
4390 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
4391 $as_echo_n "(cached) " >&6
4392 else
4393 cat >conftest.make <<\_ACEOF
4394 SHELL = /bin/sh
4395 all:
4396 @echo '@@@%%%=$(MAKE)=@@@%%%'
4397 _ACEOF
4398 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
4399 case `${MAKE-make} -f conftest.make 2>/dev/null` in
4400 *@@@%%%=?*=@@@%%%*)
4401 eval ac_cv_prog_make_${ac_make}_set=yes;;
4403 eval ac_cv_prog_make_${ac_make}_set=no;;
4404 esac
4405 rm -f conftest.make
4407 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
4408 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4409 $as_echo "yes" >&6; }
4410 SET_MAKE=
4411 else
4412 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4413 $as_echo "no" >&6; }
4414 SET_MAKE="MAKE=${MAKE-make}"
4417 ac_ext=c
4418 ac_cpp='$CPP $CPPFLAGS'
4419 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4420 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4421 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4422 if test -n "$ac_tool_prefix"; then
4423 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
4424 set dummy ${ac_tool_prefix}gcc; ac_word=$2
4425 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4426 $as_echo_n "checking for $ac_word... " >&6; }
4427 if ${ac_cv_prog_CC+:} false; then :
4428 $as_echo_n "(cached) " >&6
4429 else
4430 if test -n "$CC"; then
4431 ac_cv_prog_CC="$CC" # Let the user override the test.
4432 else
4433 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4434 for as_dir in $PATH
4436 IFS=$as_save_IFS
4437 test -z "$as_dir" && as_dir=.
4438 for ac_exec_ext in '' $ac_executable_extensions; do
4439 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4440 ac_cv_prog_CC="${ac_tool_prefix}gcc"
4441 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4442 break 2
4444 done
4445 done
4446 IFS=$as_save_IFS
4450 CC=$ac_cv_prog_CC
4451 if test -n "$CC"; then
4452 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4453 $as_echo "$CC" >&6; }
4454 else
4455 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4456 $as_echo "no" >&6; }
4461 if test -z "$ac_cv_prog_CC"; then
4462 ac_ct_CC=$CC
4463 # Extract the first word of "gcc", so it can be a program name with args.
4464 set dummy gcc; ac_word=$2
4465 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4466 $as_echo_n "checking for $ac_word... " >&6; }
4467 if ${ac_cv_prog_ac_ct_CC+:} false; then :
4468 $as_echo_n "(cached) " >&6
4469 else
4470 if test -n "$ac_ct_CC"; then
4471 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4472 else
4473 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4474 for as_dir in $PATH
4476 IFS=$as_save_IFS
4477 test -z "$as_dir" && as_dir=.
4478 for ac_exec_ext in '' $ac_executable_extensions; do
4479 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4480 ac_cv_prog_ac_ct_CC="gcc"
4481 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4482 break 2
4484 done
4485 done
4486 IFS=$as_save_IFS
4490 ac_ct_CC=$ac_cv_prog_ac_ct_CC
4491 if test -n "$ac_ct_CC"; then
4492 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4493 $as_echo "$ac_ct_CC" >&6; }
4494 else
4495 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4496 $as_echo "no" >&6; }
4499 if test "x$ac_ct_CC" = x; then
4500 CC=""
4501 else
4502 case $cross_compiling:$ac_tool_warned in
4503 yes:)
4504 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4505 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4506 ac_tool_warned=yes ;;
4507 esac
4508 CC=$ac_ct_CC
4510 else
4511 CC="$ac_cv_prog_CC"
4514 if test -z "$CC"; then
4515 if test -n "$ac_tool_prefix"; then
4516 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
4517 set dummy ${ac_tool_prefix}cc; ac_word=$2
4518 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4519 $as_echo_n "checking for $ac_word... " >&6; }
4520 if ${ac_cv_prog_CC+:} false; then :
4521 $as_echo_n "(cached) " >&6
4522 else
4523 if test -n "$CC"; then
4524 ac_cv_prog_CC="$CC" # Let the user override the test.
4525 else
4526 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4527 for as_dir in $PATH
4529 IFS=$as_save_IFS
4530 test -z "$as_dir" && as_dir=.
4531 for ac_exec_ext in '' $ac_executable_extensions; do
4532 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4533 ac_cv_prog_CC="${ac_tool_prefix}cc"
4534 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4535 break 2
4537 done
4538 done
4539 IFS=$as_save_IFS
4543 CC=$ac_cv_prog_CC
4544 if test -n "$CC"; then
4545 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4546 $as_echo "$CC" >&6; }
4547 else
4548 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4549 $as_echo "no" >&6; }
4555 if test -z "$CC"; then
4556 # Extract the first word of "cc", so it can be a program name with args.
4557 set dummy cc; ac_word=$2
4558 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4559 $as_echo_n "checking for $ac_word... " >&6; }
4560 if ${ac_cv_prog_CC+:} false; then :
4561 $as_echo_n "(cached) " >&6
4562 else
4563 if test -n "$CC"; then
4564 ac_cv_prog_CC="$CC" # Let the user override the test.
4565 else
4566 ac_prog_rejected=no
4567 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4568 for as_dir in $PATH
4570 IFS=$as_save_IFS
4571 test -z "$as_dir" && as_dir=.
4572 for ac_exec_ext in '' $ac_executable_extensions; do
4573 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4574 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
4575 ac_prog_rejected=yes
4576 continue
4578 ac_cv_prog_CC="cc"
4579 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4580 break 2
4582 done
4583 done
4584 IFS=$as_save_IFS
4586 if test $ac_prog_rejected = yes; then
4587 # We found a bogon in the path, so make sure we never use it.
4588 set dummy $ac_cv_prog_CC
4589 shift
4590 if test $# != 0; then
4591 # We chose a different compiler from the bogus one.
4592 # However, it has the same basename, so the bogon will be chosen
4593 # first if we set CC to just the basename; use the full file name.
4594 shift
4595 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
4600 CC=$ac_cv_prog_CC
4601 if test -n "$CC"; then
4602 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4603 $as_echo "$CC" >&6; }
4604 else
4605 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4606 $as_echo "no" >&6; }
4611 if test -z "$CC"; then
4612 if test -n "$ac_tool_prefix"; then
4613 for ac_prog in cl.exe
4615 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4616 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4617 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4618 $as_echo_n "checking for $ac_word... " >&6; }
4619 if ${ac_cv_prog_CC+:} false; then :
4620 $as_echo_n "(cached) " >&6
4621 else
4622 if test -n "$CC"; then
4623 ac_cv_prog_CC="$CC" # Let the user override the test.
4624 else
4625 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4626 for as_dir in $PATH
4628 IFS=$as_save_IFS
4629 test -z "$as_dir" && as_dir=.
4630 for ac_exec_ext in '' $ac_executable_extensions; do
4631 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4632 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
4633 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4634 break 2
4636 done
4637 done
4638 IFS=$as_save_IFS
4642 CC=$ac_cv_prog_CC
4643 if test -n "$CC"; then
4644 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4645 $as_echo "$CC" >&6; }
4646 else
4647 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4648 $as_echo "no" >&6; }
4652 test -n "$CC" && break
4653 done
4655 if test -z "$CC"; then
4656 ac_ct_CC=$CC
4657 for ac_prog in cl.exe
4659 # Extract the first word of "$ac_prog", so it can be a program name with args.
4660 set dummy $ac_prog; ac_word=$2
4661 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4662 $as_echo_n "checking for $ac_word... " >&6; }
4663 if ${ac_cv_prog_ac_ct_CC+:} false; then :
4664 $as_echo_n "(cached) " >&6
4665 else
4666 if test -n "$ac_ct_CC"; then
4667 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4668 else
4669 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4670 for as_dir in $PATH
4672 IFS=$as_save_IFS
4673 test -z "$as_dir" && as_dir=.
4674 for ac_exec_ext in '' $ac_executable_extensions; do
4675 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4676 ac_cv_prog_ac_ct_CC="$ac_prog"
4677 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4678 break 2
4680 done
4681 done
4682 IFS=$as_save_IFS
4686 ac_ct_CC=$ac_cv_prog_ac_ct_CC
4687 if test -n "$ac_ct_CC"; then
4688 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4689 $as_echo "$ac_ct_CC" >&6; }
4690 else
4691 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4692 $as_echo "no" >&6; }
4696 test -n "$ac_ct_CC" && break
4697 done
4699 if test "x$ac_ct_CC" = x; then
4700 CC=""
4701 else
4702 case $cross_compiling:$ac_tool_warned in
4703 yes:)
4704 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4705 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4706 ac_tool_warned=yes ;;
4707 esac
4708 CC=$ac_ct_CC
4715 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4716 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4717 as_fn_error $? "no acceptable C compiler found in \$PATH
4718 See \`config.log' for more details" "$LINENO" 5; }
4720 # Provide some information about the compiler.
4721 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
4722 set X $ac_compile
4723 ac_compiler=$2
4724 for ac_option in --version -v -V -qversion; do
4725 { { ac_try="$ac_compiler $ac_option >&5"
4726 case "(($ac_try" in
4727 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4728 *) ac_try_echo=$ac_try;;
4729 esac
4730 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4731 $as_echo "$ac_try_echo"; } >&5
4732 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4733 ac_status=$?
4734 if test -s conftest.err; then
4735 sed '10a\
4736 ... rest of stderr output deleted ...
4737 10q' conftest.err >conftest.er1
4738 cat conftest.er1 >&5
4740 rm -f conftest.er1 conftest.err
4741 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4742 test $ac_status = 0; }
4743 done
4745 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4746 /* end confdefs.h. */
4749 main ()
4753 return 0;
4755 _ACEOF
4756 ac_clean_files_save=$ac_clean_files
4757 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
4758 # Try to create an executable without -o first, disregard a.out.
4759 # It will help us diagnose broken compilers, and finding out an intuition
4760 # of exeext.
4761 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
4762 $as_echo_n "checking whether the C compiler works... " >&6; }
4763 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
4765 # The possible output files:
4766 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
4768 ac_rmfiles=
4769 for ac_file in $ac_files
4771 case $ac_file in
4772 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4773 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
4774 esac
4775 done
4776 rm -f $ac_rmfiles
4778 if { { ac_try="$ac_link_default"
4779 case "(($ac_try" in
4780 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4781 *) ac_try_echo=$ac_try;;
4782 esac
4783 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4784 $as_echo "$ac_try_echo"; } >&5
4785 (eval "$ac_link_default") 2>&5
4786 ac_status=$?
4787 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4788 test $ac_status = 0; }; then :
4789 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
4790 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
4791 # in a Makefile. We should not override ac_cv_exeext if it was cached,
4792 # so that the user can short-circuit this test for compilers unknown to
4793 # Autoconf.
4794 for ac_file in $ac_files ''
4796 test -f "$ac_file" || continue
4797 case $ac_file in
4798 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
4800 [ab].out )
4801 # We found the default executable, but exeext='' is most
4802 # certainly right.
4803 break;;
4804 *.* )
4805 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
4806 then :; else
4807 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4809 # We set ac_cv_exeext here because the later test for it is not
4810 # safe: cross compilers may not add the suffix if given an `-o'
4811 # argument, so we may need to know it at that point already.
4812 # Even if this section looks crufty: it has the advantage of
4813 # actually working.
4814 break;;
4816 break;;
4817 esac
4818 done
4819 test "$ac_cv_exeext" = no && ac_cv_exeext=
4821 else
4822 ac_file=''
4824 if test -z "$ac_file"; then :
4825 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4826 $as_echo "no" >&6; }
4827 $as_echo "$as_me: failed program was:" >&5
4828 sed 's/^/| /' conftest.$ac_ext >&5
4830 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4831 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4832 as_fn_error 77 "C compiler cannot create executables
4833 See \`config.log' for more details" "$LINENO" 5; }
4834 else
4835 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4836 $as_echo "yes" >&6; }
4838 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
4839 $as_echo_n "checking for C compiler default output file name... " >&6; }
4840 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
4841 $as_echo "$ac_file" >&6; }
4842 ac_exeext=$ac_cv_exeext
4844 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
4845 ac_clean_files=$ac_clean_files_save
4846 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
4847 $as_echo_n "checking for suffix of executables... " >&6; }
4848 if { { ac_try="$ac_link"
4849 case "(($ac_try" in
4850 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4851 *) ac_try_echo=$ac_try;;
4852 esac
4853 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4854 $as_echo "$ac_try_echo"; } >&5
4855 (eval "$ac_link") 2>&5
4856 ac_status=$?
4857 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4858 test $ac_status = 0; }; then :
4859 # If both `conftest.exe' and `conftest' are `present' (well, observable)
4860 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
4861 # work properly (i.e., refer to `conftest.exe'), while it won't with
4862 # `rm'.
4863 for ac_file in conftest.exe conftest conftest.*; do
4864 test -f "$ac_file" || continue
4865 case $ac_file in
4866 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4867 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4868 break;;
4869 * ) break;;
4870 esac
4871 done
4872 else
4873 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4874 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4875 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
4876 See \`config.log' for more details" "$LINENO" 5; }
4878 rm -f conftest conftest$ac_cv_exeext
4879 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
4880 $as_echo "$ac_cv_exeext" >&6; }
4882 rm -f conftest.$ac_ext
4883 EXEEXT=$ac_cv_exeext
4884 ac_exeext=$EXEEXT
4885 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4886 /* end confdefs.h. */
4887 #include <stdio.h>
4889 main ()
4891 FILE *f = fopen ("conftest.out", "w");
4892 return ferror (f) || fclose (f) != 0;
4895 return 0;
4897 _ACEOF
4898 ac_clean_files="$ac_clean_files conftest.out"
4899 # Check that the compiler produces executables we can run. If not, either
4900 # the compiler is broken, or we cross compile.
4901 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
4902 $as_echo_n "checking whether we are cross compiling... " >&6; }
4903 if test "$cross_compiling" != yes; then
4904 { { ac_try="$ac_link"
4905 case "(($ac_try" in
4906 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4907 *) ac_try_echo=$ac_try;;
4908 esac
4909 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4910 $as_echo "$ac_try_echo"; } >&5
4911 (eval "$ac_link") 2>&5
4912 ac_status=$?
4913 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4914 test $ac_status = 0; }
4915 if { ac_try='./conftest$ac_cv_exeext'
4916 { { case "(($ac_try" in
4917 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4918 *) ac_try_echo=$ac_try;;
4919 esac
4920 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4921 $as_echo "$ac_try_echo"; } >&5
4922 (eval "$ac_try") 2>&5
4923 ac_status=$?
4924 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4925 test $ac_status = 0; }; }; then
4926 cross_compiling=no
4927 else
4928 if test "$cross_compiling" = maybe; then
4929 cross_compiling=yes
4930 else
4931 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4932 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4933 as_fn_error $? "cannot run C compiled programs.
4934 If you meant to cross compile, use \`--host'.
4935 See \`config.log' for more details" "$LINENO" 5; }
4939 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
4940 $as_echo "$cross_compiling" >&6; }
4942 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
4943 ac_clean_files=$ac_clean_files_save
4944 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
4945 $as_echo_n "checking for suffix of object files... " >&6; }
4946 if ${ac_cv_objext+:} false; then :
4947 $as_echo_n "(cached) " >&6
4948 else
4949 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4950 /* end confdefs.h. */
4953 main ()
4957 return 0;
4959 _ACEOF
4960 rm -f conftest.o conftest.obj
4961 if { { ac_try="$ac_compile"
4962 case "(($ac_try" in
4963 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4964 *) ac_try_echo=$ac_try;;
4965 esac
4966 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4967 $as_echo "$ac_try_echo"; } >&5
4968 (eval "$ac_compile") 2>&5
4969 ac_status=$?
4970 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4971 test $ac_status = 0; }; then :
4972 for ac_file in conftest.o conftest.obj conftest.*; do
4973 test -f "$ac_file" || continue;
4974 case $ac_file in
4975 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
4976 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
4977 break;;
4978 esac
4979 done
4980 else
4981 $as_echo "$as_me: failed program was:" >&5
4982 sed 's/^/| /' conftest.$ac_ext >&5
4984 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4985 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4986 as_fn_error $? "cannot compute suffix of object files: cannot compile
4987 See \`config.log' for more details" "$LINENO" 5; }
4989 rm -f conftest.$ac_cv_objext conftest.$ac_ext
4991 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
4992 $as_echo "$ac_cv_objext" >&6; }
4993 OBJEXT=$ac_cv_objext
4994 ac_objext=$OBJEXT
4995 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4996 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4997 if ${ac_cv_c_compiler_gnu+:} false; then :
4998 $as_echo_n "(cached) " >&6
4999 else
5000 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5001 /* end confdefs.h. */
5004 main ()
5006 #ifndef __GNUC__
5007 choke me
5008 #endif
5011 return 0;
5013 _ACEOF
5014 if ac_fn_c_try_compile "$LINENO"; then :
5015 ac_compiler_gnu=yes
5016 else
5017 ac_compiler_gnu=no
5019 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5020 ac_cv_c_compiler_gnu=$ac_compiler_gnu
5023 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
5024 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
5025 if test $ac_compiler_gnu = yes; then
5026 GCC=yes
5027 else
5028 GCC=
5030 ac_test_CFLAGS=${CFLAGS+set}
5031 ac_save_CFLAGS=$CFLAGS
5032 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
5033 $as_echo_n "checking whether $CC accepts -g... " >&6; }
5034 if ${ac_cv_prog_cc_g+:} false; then :
5035 $as_echo_n "(cached) " >&6
5036 else
5037 ac_save_c_werror_flag=$ac_c_werror_flag
5038 ac_c_werror_flag=yes
5039 ac_cv_prog_cc_g=no
5040 CFLAGS="-g"
5041 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5042 /* end confdefs.h. */
5045 main ()
5049 return 0;
5051 _ACEOF
5052 if ac_fn_c_try_compile "$LINENO"; then :
5053 ac_cv_prog_cc_g=yes
5054 else
5055 CFLAGS=""
5056 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5057 /* end confdefs.h. */
5060 main ()
5064 return 0;
5066 _ACEOF
5067 if ac_fn_c_try_compile "$LINENO"; then :
5069 else
5070 ac_c_werror_flag=$ac_save_c_werror_flag
5071 CFLAGS="-g"
5072 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5073 /* end confdefs.h. */
5076 main ()
5080 return 0;
5082 _ACEOF
5083 if ac_fn_c_try_compile "$LINENO"; then :
5084 ac_cv_prog_cc_g=yes
5086 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5088 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5090 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5091 ac_c_werror_flag=$ac_save_c_werror_flag
5093 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
5094 $as_echo "$ac_cv_prog_cc_g" >&6; }
5095 if test "$ac_test_CFLAGS" = set; then
5096 CFLAGS=$ac_save_CFLAGS
5097 elif test $ac_cv_prog_cc_g = yes; then
5098 if test "$GCC" = yes; then
5099 CFLAGS="-g -O2"
5100 else
5101 CFLAGS="-g"
5103 else
5104 if test "$GCC" = yes; then
5105 CFLAGS="-O2"
5106 else
5107 CFLAGS=
5110 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
5111 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
5112 if ${ac_cv_prog_cc_c89+:} false; then :
5113 $as_echo_n "(cached) " >&6
5114 else
5115 ac_cv_prog_cc_c89=no
5116 ac_save_CC=$CC
5117 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5118 /* end confdefs.h. */
5119 #include <stdarg.h>
5120 #include <stdio.h>
5121 struct stat;
5122 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
5123 struct buf { int x; };
5124 FILE * (*rcsopen) (struct buf *, struct stat *, int);
5125 static char *e (p, i)
5126 char **p;
5127 int i;
5129 return p[i];
5131 static char *f (char * (*g) (char **, int), char **p, ...)
5133 char *s;
5134 va_list v;
5135 va_start (v,p);
5136 s = g (p, va_arg (v,int));
5137 va_end (v);
5138 return s;
5141 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
5142 function prototypes and stuff, but not '\xHH' hex character constants.
5143 These don't provoke an error unfortunately, instead are silently treated
5144 as 'x'. The following induces an error, until -std is added to get
5145 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
5146 array size at least. It's necessary to write '\x00'==0 to get something
5147 that's true only with -std. */
5148 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
5150 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
5151 inside strings and character constants. */
5152 #define FOO(x) 'x'
5153 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
5155 int test (int i, double x);
5156 struct s1 {int (*f) (int a);};
5157 struct s2 {int (*f) (double a);};
5158 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
5159 int argc;
5160 char **argv;
5162 main ()
5164 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
5166 return 0;
5168 _ACEOF
5169 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
5170 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
5172 CC="$ac_save_CC $ac_arg"
5173 if ac_fn_c_try_compile "$LINENO"; then :
5174 ac_cv_prog_cc_c89=$ac_arg
5176 rm -f core conftest.err conftest.$ac_objext
5177 test "x$ac_cv_prog_cc_c89" != "xno" && break
5178 done
5179 rm -f conftest.$ac_ext
5180 CC=$ac_save_CC
5183 # AC_CACHE_VAL
5184 case "x$ac_cv_prog_cc_c89" in
5186 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
5187 $as_echo "none needed" >&6; } ;;
5188 xno)
5189 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
5190 $as_echo "unsupported" >&6; } ;;
5192 CC="$CC $ac_cv_prog_cc_c89"
5193 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
5194 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
5195 esac
5196 if test "x$ac_cv_prog_cc_c89" != xno; then :
5200 ac_ext=c
5201 ac_cpp='$CPP $CPPFLAGS'
5202 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5203 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5204 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5206 ac_ext=cpp
5207 ac_cpp='$CXXCPP $CPPFLAGS'
5208 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5209 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5210 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
5211 if test -z "$CXX"; then
5212 if test -n "$CCC"; then
5213 CXX=$CCC
5214 else
5215 if test -n "$ac_tool_prefix"; then
5216 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
5218 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5219 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5220 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5221 $as_echo_n "checking for $ac_word... " >&6; }
5222 if ${ac_cv_prog_CXX+:} false; then :
5223 $as_echo_n "(cached) " >&6
5224 else
5225 if test -n "$CXX"; then
5226 ac_cv_prog_CXX="$CXX" # Let the user override the test.
5227 else
5228 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5229 for as_dir in $PATH
5231 IFS=$as_save_IFS
5232 test -z "$as_dir" && as_dir=.
5233 for ac_exec_ext in '' $ac_executable_extensions; do
5234 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5235 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
5236 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5237 break 2
5239 done
5240 done
5241 IFS=$as_save_IFS
5245 CXX=$ac_cv_prog_CXX
5246 if test -n "$CXX"; then
5247 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
5248 $as_echo "$CXX" >&6; }
5249 else
5250 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5251 $as_echo "no" >&6; }
5255 test -n "$CXX" && break
5256 done
5258 if test -z "$CXX"; then
5259 ac_ct_CXX=$CXX
5260 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
5262 # Extract the first word of "$ac_prog", so it can be a program name with args.
5263 set dummy $ac_prog; ac_word=$2
5264 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5265 $as_echo_n "checking for $ac_word... " >&6; }
5266 if ${ac_cv_prog_ac_ct_CXX+:} false; then :
5267 $as_echo_n "(cached) " >&6
5268 else
5269 if test -n "$ac_ct_CXX"; then
5270 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
5271 else
5272 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5273 for as_dir in $PATH
5275 IFS=$as_save_IFS
5276 test -z "$as_dir" && as_dir=.
5277 for ac_exec_ext in '' $ac_executable_extensions; do
5278 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5279 ac_cv_prog_ac_ct_CXX="$ac_prog"
5280 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5281 break 2
5283 done
5284 done
5285 IFS=$as_save_IFS
5289 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
5290 if test -n "$ac_ct_CXX"; then
5291 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
5292 $as_echo "$ac_ct_CXX" >&6; }
5293 else
5294 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5295 $as_echo "no" >&6; }
5299 test -n "$ac_ct_CXX" && break
5300 done
5302 if test "x$ac_ct_CXX" = x; then
5303 CXX="g++"
5304 else
5305 case $cross_compiling:$ac_tool_warned in
5306 yes:)
5307 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5308 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5309 ac_tool_warned=yes ;;
5310 esac
5311 CXX=$ac_ct_CXX
5317 # Provide some information about the compiler.
5318 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
5319 set X $ac_compile
5320 ac_compiler=$2
5321 for ac_option in --version -v -V -qversion; do
5322 { { ac_try="$ac_compiler $ac_option >&5"
5323 case "(($ac_try" in
5324 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5325 *) ac_try_echo=$ac_try;;
5326 esac
5327 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5328 $as_echo "$ac_try_echo"; } >&5
5329 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
5330 ac_status=$?
5331 if test -s conftest.err; then
5332 sed '10a\
5333 ... rest of stderr output deleted ...
5334 10q' conftest.err >conftest.er1
5335 cat conftest.er1 >&5
5337 rm -f conftest.er1 conftest.err
5338 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5339 test $ac_status = 0; }
5340 done
5342 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
5343 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
5344 if ${ac_cv_cxx_compiler_gnu+:} false; then :
5345 $as_echo_n "(cached) " >&6
5346 else
5347 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5348 /* end confdefs.h. */
5351 main ()
5353 #ifndef __GNUC__
5354 choke me
5355 #endif
5358 return 0;
5360 _ACEOF
5361 if ac_fn_cxx_try_compile "$LINENO"; then :
5362 ac_compiler_gnu=yes
5363 else
5364 ac_compiler_gnu=no
5366 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5367 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
5370 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
5371 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
5372 if test $ac_compiler_gnu = yes; then
5373 GXX=yes
5374 else
5375 GXX=
5377 ac_test_CXXFLAGS=${CXXFLAGS+set}
5378 ac_save_CXXFLAGS=$CXXFLAGS
5379 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
5380 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
5381 if ${ac_cv_prog_cxx_g+:} false; then :
5382 $as_echo_n "(cached) " >&6
5383 else
5384 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
5385 ac_cxx_werror_flag=yes
5386 ac_cv_prog_cxx_g=no
5387 CXXFLAGS="-g"
5388 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5389 /* end confdefs.h. */
5392 main ()
5396 return 0;
5398 _ACEOF
5399 if ac_fn_cxx_try_compile "$LINENO"; then :
5400 ac_cv_prog_cxx_g=yes
5401 else
5402 CXXFLAGS=""
5403 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5404 /* end confdefs.h. */
5407 main ()
5411 return 0;
5413 _ACEOF
5414 if ac_fn_cxx_try_compile "$LINENO"; then :
5416 else
5417 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
5418 CXXFLAGS="-g"
5419 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5420 /* end confdefs.h. */
5423 main ()
5427 return 0;
5429 _ACEOF
5430 if ac_fn_cxx_try_compile "$LINENO"; then :
5431 ac_cv_prog_cxx_g=yes
5433 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5435 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5437 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5438 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
5440 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
5441 $as_echo "$ac_cv_prog_cxx_g" >&6; }
5442 if test "$ac_test_CXXFLAGS" = set; then
5443 CXXFLAGS=$ac_save_CXXFLAGS
5444 elif test $ac_cv_prog_cxx_g = yes; then
5445 if test "$GXX" = yes; then
5446 CXXFLAGS="-g -O2"
5447 else
5448 CXXFLAGS="-g"
5450 else
5451 if test "$GXX" = yes; then
5452 CXXFLAGS="-O2"
5453 else
5454 CXXFLAGS=
5457 ac_ext=c
5458 ac_cpp='$CPP $CPPFLAGS'
5459 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5460 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5461 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5463 if test -n "$ac_tool_prefix"; then
5464 # Extract the first word of "${ac_tool_prefix}cpp", so it can be a program name with args.
5465 set dummy ${ac_tool_prefix}cpp; ac_word=$2
5466 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5467 $as_echo_n "checking for $ac_word... " >&6; }
5468 if ${ac_cv_prog_CPPBIN+:} false; then :
5469 $as_echo_n "(cached) " >&6
5470 else
5471 if test -n "$CPPBIN"; then
5472 ac_cv_prog_CPPBIN="$CPPBIN" # Let the user override the test.
5473 else
5474 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5475 for as_dir in $PATH
5477 IFS=$as_save_IFS
5478 test -z "$as_dir" && as_dir=.
5479 for ac_exec_ext in '' $ac_executable_extensions; do
5480 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5481 ac_cv_prog_CPPBIN="${ac_tool_prefix}cpp"
5482 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5483 break 2
5485 done
5486 done
5487 IFS=$as_save_IFS
5491 CPPBIN=$ac_cv_prog_CPPBIN
5492 if test -n "$CPPBIN"; then
5493 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPPBIN" >&5
5494 $as_echo "$CPPBIN" >&6; }
5495 else
5496 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5497 $as_echo "no" >&6; }
5502 if test -z "$ac_cv_prog_CPPBIN"; then
5503 ac_ct_CPPBIN=$CPPBIN
5504 # Extract the first word of "cpp", so it can be a program name with args.
5505 set dummy cpp; ac_word=$2
5506 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5507 $as_echo_n "checking for $ac_word... " >&6; }
5508 if ${ac_cv_prog_ac_ct_CPPBIN+:} false; then :
5509 $as_echo_n "(cached) " >&6
5510 else
5511 if test -n "$ac_ct_CPPBIN"; then
5512 ac_cv_prog_ac_ct_CPPBIN="$ac_ct_CPPBIN" # Let the user override the test.
5513 else
5514 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5515 for as_dir in $PATH
5517 IFS=$as_save_IFS
5518 test -z "$as_dir" && as_dir=.
5519 for ac_exec_ext in '' $ac_executable_extensions; do
5520 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5521 ac_cv_prog_ac_ct_CPPBIN="cpp"
5522 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5523 break 2
5525 done
5526 done
5527 IFS=$as_save_IFS
5531 ac_ct_CPPBIN=$ac_cv_prog_ac_ct_CPPBIN
5532 if test -n "$ac_ct_CPPBIN"; then
5533 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CPPBIN" >&5
5534 $as_echo "$ac_ct_CPPBIN" >&6; }
5535 else
5536 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5537 $as_echo "no" >&6; }
5540 if test "x$ac_ct_CPPBIN" = x; then
5541 CPPBIN="cpp"
5542 else
5543 case $cross_compiling:$ac_tool_warned in
5544 yes:)
5545 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5546 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5547 ac_tool_warned=yes ;;
5548 esac
5549 CPPBIN=$ac_ct_CPPBIN
5551 else
5552 CPPBIN="$ac_cv_prog_CPPBIN"
5556 cat >>confdefs.h <<_ACEOF
5557 #define EXEEXT "$ac_exeext"
5558 _ACEOF
5560 if test -n "$ac_tool_prefix"; then
5561 # Extract the first word of "${ac_tool_prefix}ld", so it can be a program name with args.
5562 set dummy ${ac_tool_prefix}ld; ac_word=$2
5563 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5564 $as_echo_n "checking for $ac_word... " >&6; }
5565 if ${ac_cv_prog_LD+:} false; then :
5566 $as_echo_n "(cached) " >&6
5567 else
5568 if test -n "$LD"; then
5569 ac_cv_prog_LD="$LD" # Let the user override the test.
5570 else
5571 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5572 for as_dir in $PATH
5574 IFS=$as_save_IFS
5575 test -z "$as_dir" && as_dir=.
5576 for ac_exec_ext in '' $ac_executable_extensions; do
5577 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5578 ac_cv_prog_LD="${ac_tool_prefix}ld"
5579 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5580 break 2
5582 done
5583 done
5584 IFS=$as_save_IFS
5588 LD=$ac_cv_prog_LD
5589 if test -n "$LD"; then
5590 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
5591 $as_echo "$LD" >&6; }
5592 else
5593 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5594 $as_echo "no" >&6; }
5599 if test -z "$ac_cv_prog_LD"; then
5600 ac_ct_LD=$LD
5601 # Extract the first word of "ld", so it can be a program name with args.
5602 set dummy ld; ac_word=$2
5603 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5604 $as_echo_n "checking for $ac_word... " >&6; }
5605 if ${ac_cv_prog_ac_ct_LD+:} false; then :
5606 $as_echo_n "(cached) " >&6
5607 else
5608 if test -n "$ac_ct_LD"; then
5609 ac_cv_prog_ac_ct_LD="$ac_ct_LD" # Let the user override the test.
5610 else
5611 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5612 for as_dir in $PATH
5614 IFS=$as_save_IFS
5615 test -z "$as_dir" && as_dir=.
5616 for ac_exec_ext in '' $ac_executable_extensions; do
5617 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5618 ac_cv_prog_ac_ct_LD="ld"
5619 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5620 break 2
5622 done
5623 done
5624 IFS=$as_save_IFS
5628 ac_ct_LD=$ac_cv_prog_ac_ct_LD
5629 if test -n "$ac_ct_LD"; then
5630 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LD" >&5
5631 $as_echo "$ac_ct_LD" >&6; }
5632 else
5633 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5634 $as_echo "no" >&6; }
5637 if test "x$ac_ct_LD" = x; then
5638 LD=""
5639 else
5640 case $cross_compiling:$ac_tool_warned in
5641 yes:)
5642 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5643 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5644 ac_tool_warned=yes ;;
5645 esac
5646 LD=$ac_ct_LD
5648 else
5649 LD="$ac_cv_prog_LD"
5653 case $host in
5654 *-darwin*)
5655 with_fontconfig=${with_fontconfig:-no}
5657 *-mingw32*|*-cygwin*)
5658 enable_win16=${enable_win16:-no}
5659 with_mingw=${with_mingw:-no}
5660 CFLAGS="$CFLAGS -D_WIN32"
5662 esac
5665 case $host in
5666 x86_64*|amd64*)
5667 if test "x$enable_win64" != "xyes" -a "$cross_compiling" != "yes"
5668 then
5669 CC="$CC -m32"
5670 CXX="$CXX -m32"
5672 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC works" >&5
5673 $as_echo_n "checking whether $CC works... " >&6; }
5674 if ${wine_cv_cc_m32+:} false; then :
5675 $as_echo_n "(cached) " >&6
5676 else
5677 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5678 /* end confdefs.h. */
5681 main ()
5685 return 0;
5687 _ACEOF
5688 if ac_fn_c_try_link "$LINENO"; then :
5689 wine_cv_cc_m32=yes
5690 else
5691 wine_cv_cc_m32=no
5693 rm -f core conftest.err conftest.$ac_objext \
5694 conftest$ac_exeext conftest.$ac_ext
5696 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_cc_m32" >&5
5697 $as_echo "$wine_cv_cc_m32" >&6; }
5698 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
5699 host_cpu="i386"
5700 notice_platform="32-bit "
5701 TARGETFLAGS="$TARGETFLAGS -m32"
5702 PKG_CONFIG_PATH=${PKG_CONFIG_PATH:-/usr/lib/i386-linux-gnu/pkgconfig:/usr/lib32/pkgconfig:/usr/lib/pkgconfig}
5703 export PKG_CONFIG_PATH
5704 enable_win16=${enable_win16:-yes}
5705 with_unwind=${with_unwind:-no}
5706 else
5707 if test "x${GCC}" = "xyes"
5708 then
5709 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports __builtin_ms_va_list" >&5
5710 $as_echo_n "checking whether $CC supports __builtin_ms_va_list... " >&6; }
5711 if ${wine_cv_builtin_ms_va_list+:} false; then :
5712 $as_echo_n "(cached) " >&6
5713 else
5714 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5715 /* end confdefs.h. */
5716 #include <stdarg.h>
5718 main ()
5720 void func(__builtin_ms_va_list *args);
5722 return 0;
5724 _ACEOF
5725 if ac_fn_c_try_compile "$LINENO"; then :
5726 wine_cv_builtin_ms_va_list=yes
5727 else
5728 wine_cv_builtin_ms_va_list=no
5730 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5732 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_builtin_ms_va_list" >&5
5733 $as_echo "$wine_cv_builtin_ms_va_list" >&6; }
5734 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
5736 CC="$CC -m64"
5737 CXX="$CXX -m64"
5738 host_cpu="x86_64"
5739 notice_platform="64-bit "
5740 TARGETFLAGS="$TARGETFLAGS -m64"
5741 enable_wow64cpu=${enable_wow64cpu:-yes}
5744 arm*)
5745 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports Thumb-2" >&5
5746 $as_echo_n "checking whether $CC supports Thumb-2... " >&6; }
5747 if ${wine_cv_thumb2+:} false; then :
5748 $as_echo_n "(cached) " >&6
5749 else
5750 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5751 /* end confdefs.h. */
5754 main ()
5756 asm(".syntax unified\n\t.thumb\n\tldm r0,{r0-r8}");
5758 return 0;
5760 _ACEOF
5761 if ac_fn_c_try_link "$LINENO"; then :
5762 wine_cv_thumb2=yes
5763 else
5764 wine_cv_thumb2=no
5766 rm -f core conftest.err conftest.$ac_objext \
5767 conftest$ac_exeext conftest.$ac_ext
5769 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_thumb2" >&5
5770 $as_echo "$wine_cv_thumb2" >&6; }
5771 if test x"$wine_cv_thumb2" = xyes
5772 then
5773 CFLAGS="$CFLAGS -mthumb"
5774 TARGETFLAGS="$TARGETFLAGS -mthumb"
5775 else
5776 CFLAGS="$CFLAGS -marm"
5777 TARGETFLAGS="$TARGETFLAGS -marm"
5779 case $with_float_abi in
5780 soft|softfp|hard)
5781 float_abi=$with_float_abi ;;
5783 case $host_os in
5784 *eabihf)
5785 float_abi=hard ;;
5787 float_abi=softfp
5788 saved_CFLAGS=$CFLAGS
5789 CFLAGS="$CFLAGS -mfloat-abi=$float_abi"
5790 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -mfloat-abi=$float_abi" >&5
5791 $as_echo_n "checking whether $CC supports -mfloat-abi=$float_abi... " >&6; }
5792 if ${wine_cv_float_abi+:} false; then :
5793 $as_echo_n "(cached) " >&6
5794 else
5795 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5796 /* end confdefs.h. */
5799 main ()
5801 asm("vmrs r2,fpscr");
5803 return 0;
5805 _ACEOF
5806 if ac_fn_c_try_link "$LINENO"; then :
5807 wine_cv_float_abi=yes
5808 else
5809 wine_cv_float_abi=no
5811 rm -f core conftest.err conftest.$ac_objext \
5812 conftest$ac_exeext conftest.$ac_ext
5814 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_float_abi" >&5
5815 $as_echo "$wine_cv_float_abi" >&6; }
5816 if test $wine_cv_float_abi = no
5817 then
5818 float_abi=soft
5819 as_fn_append wine_warnings "|Floating point is not supported for this target. The resulting build won't be compatible with Windows ARM binaries."
5821 CFLAGS=$saved_CFLAGS
5822 esac
5824 esac
5825 CFLAGS="$CFLAGS -mfloat-abi=$float_abi"
5826 TARGETFLAGS="$TARGETFLAGS -mfloat-abi=$float_abi"
5828 aarch64*)
5829 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports __builtin_ms_va_list" >&5
5830 $as_echo_n "checking whether $CC supports __builtin_ms_va_list... " >&6; }
5831 if ${wine_cv_builtin_ms_va_list+:} false; then :
5832 $as_echo_n "(cached) " >&6
5833 else
5834 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5835 /* end confdefs.h. */
5836 #include <stdarg.h>
5838 main ()
5840 void func(__builtin_ms_va_list *args);
5842 return 0;
5844 _ACEOF
5845 if ac_fn_c_try_compile "$LINENO"; then :
5846 wine_cv_builtin_ms_va_list=yes
5847 else
5848 wine_cv_builtin_ms_va_list=no
5850 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5852 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_builtin_ms_va_list" >&5
5853 $as_echo "$wine_cv_builtin_ms_va_list" >&6; }
5854 test $wine_cv_builtin_ms_va_list != no || as_fn_error $? "You need clang >= 5.0 to build Wine for arm64." "$LINENO" 5
5856 i[3456789]86*)
5857 enable_win16=${enable_win16:-yes}
5858 with_unwind=${with_unwind:-no}
5860 esac
5862 enable_win16=${enable_win16:-no}
5863 enable_win64=${enable_win64:-no}
5864 enable_wow64cpu=${enable_wow64cpu:-no}
5866 enable_winetest=${enable_winetest:-$enable_tests}
5868 if test "x$enable_win64" = "xyes"
5869 then
5870 test -z "$with_wine64" || as_fn_error $? "--enable-win64 and --with-wine64 are mutually exclusive.
5871 --enable-win64 should be used in the 64-bit build tree, --with-wine64 in the 32-bit Wow64 build tree." "$LINENO" 5
5874 case $host_cpu in
5875 *i[3456789]86*) ARCH="i386"
5877 *x86_64*) ARCH="x86_64"
5879 *aarch64*) ARCH="aarch64"
5881 *arm*) ARCH="arm"
5883 *) ARCH=""
5885 esac
5887 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the directory containing the Wine tools" >&5
5888 $as_echo_n "checking for the directory containing the Wine tools... " >&6; }
5889 if ${wine_cv_toolsdir+:} false; then :
5890 $as_echo_n "(cached) " >&6
5891 else
5892 wine_cv_toolsdir="$with_wine_tools"
5893 if test -z "$with_wine_tools"; then
5894 if test "$cross_compiling" = "yes"; then
5895 as_fn_error $? "you must use the --with-wine-tools option when cross-compiling." "$LINENO" 5
5896 elif test -n "$with_wine64"; then
5897 wine_cv_toolsdir="$with_wine64"
5901 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_toolsdir" >&5
5902 $as_echo "$wine_cv_toolsdir" >&6; }
5903 if test -z "$wine_cv_toolsdir"; then
5904 wine_makedep=tools/makedep
5905 TOOLSDIR="."
5907 elif test -d "$wine_cv_toolsdir/tools/winebuild"; then
5908 wine_makedep=$wine_cv_toolsdir/tools/makedep
5909 TOOLSDIR=$wine_cv_toolsdir
5911 enable_tools=${enable_tools:-no}
5912 test -f "$wine_makedep" || as_fn_error $? "the Wine tools have not yet been built in $wine_cv_toolsdir" "$LINENO" 5
5913 else
5914 as_fn_error $? "could not find Wine tools in $wine_cv_toolsdir" "$LINENO" 5
5916 if test -n "$host_alias" -a "$host_alias" != "$build_alias"
5917 then
5918 TARGETFLAGS="-b $host_alias $TARGETFLAGS"
5921 for ac_prog in flex
5923 # Extract the first word of "$ac_prog", so it can be a program name with args.
5924 set dummy $ac_prog; ac_word=$2
5925 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5926 $as_echo_n "checking for $ac_word... " >&6; }
5927 if ${ac_cv_prog_FLEX+:} false; then :
5928 $as_echo_n "(cached) " >&6
5929 else
5930 if test -n "$FLEX"; then
5931 ac_cv_prog_FLEX="$FLEX" # Let the user override the test.
5932 else
5933 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5934 for as_dir in $PATH
5936 IFS=$as_save_IFS
5937 test -z "$as_dir" && as_dir=.
5938 for ac_exec_ext in '' $ac_executable_extensions; do
5939 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5940 ac_cv_prog_FLEX="$ac_prog"
5941 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5942 break 2
5944 done
5945 done
5946 IFS=$as_save_IFS
5950 FLEX=$ac_cv_prog_FLEX
5951 if test -n "$FLEX"; then
5952 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FLEX" >&5
5953 $as_echo "$FLEX" >&6; }
5954 else
5955 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5956 $as_echo "no" >&6; }
5960 test -n "$FLEX" && break
5961 done
5962 test -n "$FLEX" || FLEX="none"
5964 if test "$FLEX" = "none"
5965 then
5966 as_fn_error $? "no suitable flex found. Please install the 'flex' package." "$LINENO" 5
5968 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether flex is recent enough" >&5
5969 $as_echo_n "checking whether flex is recent enough... " >&6; }
5970 if ${wine_cv_recent_flex+:} false; then :
5971 $as_echo_n "(cached) " >&6
5972 else
5973 cat >conftest.l <<EOF
5974 %top{
5975 #include "prediluvian.h"
5979 if $FLEX -t conftest.l >/dev/null 2>&5
5980 then
5981 wine_cv_recent_flex=yes
5982 else
5983 wine_cv_recent_flex=no
5986 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_recent_flex" >&5
5987 $as_echo "$wine_cv_recent_flex" >&6; }
5988 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
5990 for ac_prog in bison
5992 # Extract the first word of "$ac_prog", so it can be a program name with args.
5993 set dummy $ac_prog; ac_word=$2
5994 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5995 $as_echo_n "checking for $ac_word... " >&6; }
5996 if ${ac_cv_prog_BISON+:} false; then :
5997 $as_echo_n "(cached) " >&6
5998 else
5999 if test -n "$BISON"; then
6000 ac_cv_prog_BISON="$BISON" # Let the user override the test.
6001 else
6002 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6003 for as_dir in $PATH
6005 IFS=$as_save_IFS
6006 test -z "$as_dir" && as_dir=.
6007 for ac_exec_ext in '' $ac_executable_extensions; do
6008 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6009 ac_cv_prog_BISON="$ac_prog"
6010 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6011 break 2
6013 done
6014 done
6015 IFS=$as_save_IFS
6019 BISON=$ac_cv_prog_BISON
6020 if test -n "$BISON"; then
6021 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BISON" >&5
6022 $as_echo "$BISON" >&6; }
6023 else
6024 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6025 $as_echo "no" >&6; }
6029 test -n "$BISON" && break
6030 done
6031 test -n "$BISON" || BISON="none"
6033 if test "$BISON" = "none"
6034 then
6035 as_fn_error $? "no suitable bison found. Please install the 'bison' package." "$LINENO" 5
6037 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether bison is recent enough" >&5
6038 $as_echo_n "checking whether bison is recent enough... " >&6; }
6039 if ${wine_cv_recent_bison+:} false; then :
6040 $as_echo_n "(cached) " >&6
6041 else
6042 cat >conftest.y <<EOF
6043 %define parse.error verbose
6045 empty: ;
6047 if $BISON conftest.y >/dev/null 2>&5
6048 then
6049 wine_cv_recent_bison=yes
6050 else
6051 wine_cv_recent_bison=no
6054 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_recent_bison" >&5
6055 $as_echo "$wine_cv_recent_bison" >&6; }
6056 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
6058 if test -n "$ac_tool_prefix"; then
6059 for ac_prog in ar gar
6061 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
6062 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
6063 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6064 $as_echo_n "checking for $ac_word... " >&6; }
6065 if ${ac_cv_prog_AR+:} false; then :
6066 $as_echo_n "(cached) " >&6
6067 else
6068 if test -n "$AR"; then
6069 ac_cv_prog_AR="$AR" # Let the user override the test.
6070 else
6071 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6072 for as_dir in $PATH
6074 IFS=$as_save_IFS
6075 test -z "$as_dir" && as_dir=.
6076 for ac_exec_ext in '' $ac_executable_extensions; do
6077 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6078 ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
6079 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6080 break 2
6082 done
6083 done
6084 IFS=$as_save_IFS
6088 AR=$ac_cv_prog_AR
6089 if test -n "$AR"; then
6090 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
6091 $as_echo "$AR" >&6; }
6092 else
6093 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6094 $as_echo "no" >&6; }
6098 test -n "$AR" && break
6099 done
6101 if test -z "$AR"; then
6102 ac_ct_AR=$AR
6103 for ac_prog in ar gar
6105 # Extract the first word of "$ac_prog", so it can be a program name with args.
6106 set dummy $ac_prog; ac_word=$2
6107 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6108 $as_echo_n "checking for $ac_word... " >&6; }
6109 if ${ac_cv_prog_ac_ct_AR+:} false; then :
6110 $as_echo_n "(cached) " >&6
6111 else
6112 if test -n "$ac_ct_AR"; then
6113 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
6114 else
6115 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6116 for as_dir in $PATH
6118 IFS=$as_save_IFS
6119 test -z "$as_dir" && as_dir=.
6120 for ac_exec_ext in '' $ac_executable_extensions; do
6121 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6122 ac_cv_prog_ac_ct_AR="$ac_prog"
6123 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6124 break 2
6126 done
6127 done
6128 IFS=$as_save_IFS
6132 ac_ct_AR=$ac_cv_prog_ac_ct_AR
6133 if test -n "$ac_ct_AR"; then
6134 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
6135 $as_echo "$ac_ct_AR" >&6; }
6136 else
6137 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6138 $as_echo "no" >&6; }
6142 test -n "$ac_ct_AR" && break
6143 done
6145 if test "x$ac_ct_AR" = x; then
6146 AR="ar"
6147 else
6148 case $cross_compiling:$ac_tool_warned in
6149 yes:)
6150 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6151 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6152 ac_tool_warned=yes ;;
6153 esac
6154 AR=$ac_ct_AR
6158 if test -n "$ac_tool_prefix"; then
6159 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
6160 set dummy ${ac_tool_prefix}strip; ac_word=$2
6161 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6162 $as_echo_n "checking for $ac_word... " >&6; }
6163 if ${ac_cv_prog_STRIP+:} false; then :
6164 $as_echo_n "(cached) " >&6
6165 else
6166 if test -n "$STRIP"; then
6167 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
6168 else
6169 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6170 for as_dir in $PATH
6172 IFS=$as_save_IFS
6173 test -z "$as_dir" && as_dir=.
6174 for ac_exec_ext in '' $ac_executable_extensions; do
6175 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6176 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
6177 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6178 break 2
6180 done
6181 done
6182 IFS=$as_save_IFS
6186 STRIP=$ac_cv_prog_STRIP
6187 if test -n "$STRIP"; then
6188 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
6189 $as_echo "$STRIP" >&6; }
6190 else
6191 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6192 $as_echo "no" >&6; }
6197 if test -z "$ac_cv_prog_STRIP"; then
6198 ac_ct_STRIP=$STRIP
6199 # Extract the first word of "strip", so it can be a program name with args.
6200 set dummy strip; ac_word=$2
6201 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6202 $as_echo_n "checking for $ac_word... " >&6; }
6203 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
6204 $as_echo_n "(cached) " >&6
6205 else
6206 if test -n "$ac_ct_STRIP"; then
6207 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
6208 else
6209 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6210 for as_dir in $PATH
6212 IFS=$as_save_IFS
6213 test -z "$as_dir" && as_dir=.
6214 for ac_exec_ext in '' $ac_executable_extensions; do
6215 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6216 ac_cv_prog_ac_ct_STRIP="strip"
6217 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6218 break 2
6220 done
6221 done
6222 IFS=$as_save_IFS
6226 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
6227 if test -n "$ac_ct_STRIP"; then
6228 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
6229 $as_echo "$ac_ct_STRIP" >&6; }
6230 else
6231 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6232 $as_echo "no" >&6; }
6235 if test "x$ac_ct_STRIP" = x; then
6236 STRIP="strip"
6237 else
6238 case $cross_compiling:$ac_tool_warned in
6239 yes:)
6240 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6241 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6242 ac_tool_warned=yes ;;
6243 esac
6244 STRIP=$ac_ct_STRIP
6246 else
6247 STRIP="$ac_cv_prog_STRIP"
6250 if test -n "$ac_tool_prefix"; then
6251 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
6252 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6253 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6254 $as_echo_n "checking for $ac_word... " >&6; }
6255 if ${ac_cv_prog_RANLIB+:} false; then :
6256 $as_echo_n "(cached) " >&6
6257 else
6258 if test -n "$RANLIB"; then
6259 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
6260 else
6261 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6262 for as_dir in $PATH
6264 IFS=$as_save_IFS
6265 test -z "$as_dir" && as_dir=.
6266 for ac_exec_ext in '' $ac_executable_extensions; do
6267 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6268 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
6269 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6270 break 2
6272 done
6273 done
6274 IFS=$as_save_IFS
6278 RANLIB=$ac_cv_prog_RANLIB
6279 if test -n "$RANLIB"; then
6280 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
6281 $as_echo "$RANLIB" >&6; }
6282 else
6283 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6284 $as_echo "no" >&6; }
6289 if test -z "$ac_cv_prog_RANLIB"; then
6290 ac_ct_RANLIB=$RANLIB
6291 # Extract the first word of "ranlib", so it can be a program name with args.
6292 set dummy ranlib; ac_word=$2
6293 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6294 $as_echo_n "checking for $ac_word... " >&6; }
6295 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
6296 $as_echo_n "(cached) " >&6
6297 else
6298 if test -n "$ac_ct_RANLIB"; then
6299 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
6300 else
6301 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6302 for as_dir in $PATH
6304 IFS=$as_save_IFS
6305 test -z "$as_dir" && as_dir=.
6306 for ac_exec_ext in '' $ac_executable_extensions; do
6307 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6308 ac_cv_prog_ac_ct_RANLIB="ranlib"
6309 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6310 break 2
6312 done
6313 done
6314 IFS=$as_save_IFS
6318 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
6319 if test -n "$ac_ct_RANLIB"; then
6320 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
6321 $as_echo "$ac_ct_RANLIB" >&6; }
6322 else
6323 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6324 $as_echo "no" >&6; }
6327 if test "x$ac_ct_RANLIB" = x; then
6328 RANLIB=":"
6329 else
6330 case $cross_compiling:$ac_tool_warned in
6331 yes:)
6332 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6333 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6334 ac_tool_warned=yes ;;
6335 esac
6336 RANLIB=$ac_ct_RANLIB
6338 else
6339 RANLIB="$ac_cv_prog_RANLIB"
6342 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
6343 $as_echo_n "checking whether ln -s works... " >&6; }
6344 LN_S=$as_ln_s
6345 if test "$LN_S" = "ln -s"; then
6346 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6347 $as_echo "yes" >&6; }
6348 else
6349 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
6350 $as_echo "no, using $LN_S" >&6; }
6353 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
6354 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
6355 if ${ac_cv_path_GREP+:} false; then :
6356 $as_echo_n "(cached) " >&6
6357 else
6358 if test -z "$GREP"; then
6359 ac_path_GREP_found=false
6360 # Loop through the user's path and test for each of PROGNAME-LIST
6361 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6362 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
6364 IFS=$as_save_IFS
6365 test -z "$as_dir" && as_dir=.
6366 for ac_prog in grep ggrep; do
6367 for ac_exec_ext in '' $ac_executable_extensions; do
6368 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
6369 as_fn_executable_p "$ac_path_GREP" || continue
6370 # Check for GNU ac_path_GREP and select it if it is found.
6371 # Check for GNU $ac_path_GREP
6372 case `"$ac_path_GREP" --version 2>&1` in
6373 *GNU*)
6374 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
6376 ac_count=0
6377 $as_echo_n 0123456789 >"conftest.in"
6378 while :
6380 cat "conftest.in" "conftest.in" >"conftest.tmp"
6381 mv "conftest.tmp" "conftest.in"
6382 cp "conftest.in" "conftest.nl"
6383 $as_echo 'GREP' >> "conftest.nl"
6384 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
6385 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
6386 as_fn_arith $ac_count + 1 && ac_count=$as_val
6387 if test $ac_count -gt ${ac_path_GREP_max-0}; then
6388 # Best one so far, save it but keep looking for a better one
6389 ac_cv_path_GREP="$ac_path_GREP"
6390 ac_path_GREP_max=$ac_count
6392 # 10*(2^10) chars as input seems more than enough
6393 test $ac_count -gt 10 && break
6394 done
6395 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
6396 esac
6398 $ac_path_GREP_found && break 3
6399 done
6400 done
6401 done
6402 IFS=$as_save_IFS
6403 if test -z "$ac_cv_path_GREP"; then
6404 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
6406 else
6407 ac_cv_path_GREP=$GREP
6411 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
6412 $as_echo "$ac_cv_path_GREP" >&6; }
6413 GREP="$ac_cv_path_GREP"
6416 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
6417 $as_echo_n "checking for egrep... " >&6; }
6418 if ${ac_cv_path_EGREP+:} false; then :
6419 $as_echo_n "(cached) " >&6
6420 else
6421 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
6422 then ac_cv_path_EGREP="$GREP -E"
6423 else
6424 if test -z "$EGREP"; then
6425 ac_path_EGREP_found=false
6426 # Loop through the user's path and test for each of PROGNAME-LIST
6427 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6428 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
6430 IFS=$as_save_IFS
6431 test -z "$as_dir" && as_dir=.
6432 for ac_prog in egrep; do
6433 for ac_exec_ext in '' $ac_executable_extensions; do
6434 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
6435 as_fn_executable_p "$ac_path_EGREP" || continue
6436 # Check for GNU ac_path_EGREP and select it if it is found.
6437 # Check for GNU $ac_path_EGREP
6438 case `"$ac_path_EGREP" --version 2>&1` in
6439 *GNU*)
6440 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
6442 ac_count=0
6443 $as_echo_n 0123456789 >"conftest.in"
6444 while :
6446 cat "conftest.in" "conftest.in" >"conftest.tmp"
6447 mv "conftest.tmp" "conftest.in"
6448 cp "conftest.in" "conftest.nl"
6449 $as_echo 'EGREP' >> "conftest.nl"
6450 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
6451 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
6452 as_fn_arith $ac_count + 1 && ac_count=$as_val
6453 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
6454 # Best one so far, save it but keep looking for a better one
6455 ac_cv_path_EGREP="$ac_path_EGREP"
6456 ac_path_EGREP_max=$ac_count
6458 # 10*(2^10) chars as input seems more than enough
6459 test $ac_count -gt 10 && break
6460 done
6461 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
6462 esac
6464 $ac_path_EGREP_found && break 3
6465 done
6466 done
6467 done
6468 IFS=$as_save_IFS
6469 if test -z "$ac_cv_path_EGREP"; then
6470 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
6472 else
6473 ac_cv_path_EGREP=$EGREP
6478 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
6479 $as_echo "$ac_cv_path_EGREP" >&6; }
6480 EGREP="$ac_cv_path_EGREP"
6483 # Extract the first word of "ldconfig", so it can be a program name with args.
6484 set dummy ldconfig; ac_word=$2
6485 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6486 $as_echo_n "checking for $ac_word... " >&6; }
6487 if ${ac_cv_path_LDCONFIG+:} false; then :
6488 $as_echo_n "(cached) " >&6
6489 else
6490 case $LDCONFIG in
6491 [\\/]* | ?:[\\/]*)
6492 ac_cv_path_LDCONFIG="$LDCONFIG" # Let the user override the test with a path.
6495 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6496 for as_dir in /sbin /usr/sbin $PATH
6498 IFS=$as_save_IFS
6499 test -z "$as_dir" && as_dir=.
6500 for ac_exec_ext in '' $ac_executable_extensions; do
6501 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6502 ac_cv_path_LDCONFIG="$as_dir/$ac_word$ac_exec_ext"
6503 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6504 break 2
6506 done
6507 done
6508 IFS=$as_save_IFS
6510 test -z "$ac_cv_path_LDCONFIG" && ac_cv_path_LDCONFIG="true"
6512 esac
6514 LDCONFIG=$ac_cv_path_LDCONFIG
6515 if test -n "$LDCONFIG"; then
6516 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDCONFIG" >&5
6517 $as_echo "$LDCONFIG" >&6; }
6518 else
6519 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6520 $as_echo "no" >&6; }
6524 for ac_prog in msgfmt
6526 # Extract the first word of "$ac_prog", so it can be a program name with args.
6527 set dummy $ac_prog; ac_word=$2
6528 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6529 $as_echo_n "checking for $ac_word... " >&6; }
6530 if ${ac_cv_prog_MSGFMT+:} false; then :
6531 $as_echo_n "(cached) " >&6
6532 else
6533 if test -n "$MSGFMT"; then
6534 ac_cv_prog_MSGFMT="$MSGFMT" # Let the user override the test.
6535 else
6536 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6537 for as_dir in $PATH
6539 IFS=$as_save_IFS
6540 test -z "$as_dir" && as_dir=.
6541 for ac_exec_ext in '' $ac_executable_extensions; do
6542 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6543 ac_cv_prog_MSGFMT="$ac_prog"
6544 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6545 break 2
6547 done
6548 done
6549 IFS=$as_save_IFS
6553 MSGFMT=$ac_cv_prog_MSGFMT
6554 if test -n "$MSGFMT"; then
6555 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
6556 $as_echo "$MSGFMT" >&6; }
6557 else
6558 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6559 $as_echo "no" >&6; }
6563 test -n "$MSGFMT" && break
6564 done
6565 test -n "$MSGFMT" || MSGFMT="false"
6567 if ${ac_tool_prefix+:} false; then :
6568 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
6569 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
6570 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6571 $as_echo_n "checking for $ac_word... " >&6; }
6572 if ${ac_cv_prog_PKG_CONFIG+:} false; then :
6573 $as_echo_n "(cached) " >&6
6574 else
6575 if test -n "$PKG_CONFIG"; then
6576 ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
6577 else
6578 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6579 for as_dir in $PATH
6581 IFS=$as_save_IFS
6582 test -z "$as_dir" && as_dir=.
6583 for ac_exec_ext in '' $ac_executable_extensions; do
6584 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6585 ac_cv_prog_PKG_CONFIG="${ac_tool_prefix}pkg-config"
6586 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6587 break 2
6589 done
6590 done
6591 IFS=$as_save_IFS
6595 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
6596 if test -n "$PKG_CONFIG"; then
6597 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
6598 $as_echo "$PKG_CONFIG" >&6; }
6599 else
6600 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6601 $as_echo "no" >&6; }
6606 if ${ac_cv_prog_PKG_CONFIG:+false} :; then :
6607 if test "x$cross_compiling" = xyes; then :
6609 else
6610 { ac_cv_prog_PKG_CONFIG=; unset ac_cv_prog_PKG_CONFIG;}
6611 # Extract the first word of "pkg-config", so it can be a program name with args.
6612 set dummy pkg-config; ac_word=$2
6613 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6614 $as_echo_n "checking for $ac_word... " >&6; }
6615 if ${ac_cv_prog_PKG_CONFIG+:} false; then :
6616 $as_echo_n "(cached) " >&6
6617 else
6618 if test -n "$PKG_CONFIG"; then
6619 ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
6620 else
6621 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6622 for as_dir in $PATH
6624 IFS=$as_save_IFS
6625 test -z "$as_dir" && as_dir=.
6626 for ac_exec_ext in '' $ac_executable_extensions; do
6627 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6628 ac_cv_prog_PKG_CONFIG="pkg-config"
6629 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6630 break 2
6632 done
6633 done
6634 IFS=$as_save_IFS
6638 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
6639 if test -n "$PKG_CONFIG"; then
6640 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
6641 $as_echo "$PKG_CONFIG" >&6; }
6642 else
6643 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6644 $as_echo "no" >&6; }
6649 else
6650 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
6653 if test "x$enable_maintainer_mode" != "xyes"
6654 then
6655 FONTFORGE=""
6656 RSVG=""
6657 CONVERT=""
6658 ICOTOOL=""
6659 else
6660 test "$srcdir" = . || as_fn_error $? "Maintainer mode cannot work out of tree." "$LINENO" 5
6661 for ac_prog in fontforge
6663 # Extract the first word of "$ac_prog", so it can be a program name with args.
6664 set dummy $ac_prog; ac_word=$2
6665 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6666 $as_echo_n "checking for $ac_word... " >&6; }
6667 if ${ac_cv_prog_FONTFORGE+:} false; then :
6668 $as_echo_n "(cached) " >&6
6669 else
6670 if test -n "$FONTFORGE"; then
6671 ac_cv_prog_FONTFORGE="$FONTFORGE" # Let the user override the test.
6672 else
6673 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6674 for as_dir in $PATH
6676 IFS=$as_save_IFS
6677 test -z "$as_dir" && as_dir=.
6678 for ac_exec_ext in '' $ac_executable_extensions; do
6679 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6680 ac_cv_prog_FONTFORGE="$ac_prog"
6681 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6682 break 2
6684 done
6685 done
6686 IFS=$as_save_IFS
6690 FONTFORGE=$ac_cv_prog_FONTFORGE
6691 if test -n "$FONTFORGE"; then
6692 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FONTFORGE" >&5
6693 $as_echo "$FONTFORGE" >&6; }
6694 else
6695 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6696 $as_echo "no" >&6; }
6700 test -n "$FONTFORGE" && break
6701 done
6702 test -n "$FONTFORGE" || FONTFORGE="false"
6704 for ac_prog in rsvg-convert rsvg
6706 # Extract the first word of "$ac_prog", so it can be a program name with args.
6707 set dummy $ac_prog; ac_word=$2
6708 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6709 $as_echo_n "checking for $ac_word... " >&6; }
6710 if ${ac_cv_prog_RSVG+:} false; then :
6711 $as_echo_n "(cached) " >&6
6712 else
6713 if test -n "$RSVG"; then
6714 ac_cv_prog_RSVG="$RSVG" # Let the user override the test.
6715 else
6716 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6717 for as_dir in $PATH
6719 IFS=$as_save_IFS
6720 test -z "$as_dir" && as_dir=.
6721 for ac_exec_ext in '' $ac_executable_extensions; do
6722 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6723 ac_cv_prog_RSVG="$ac_prog"
6724 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6725 break 2
6727 done
6728 done
6729 IFS=$as_save_IFS
6733 RSVG=$ac_cv_prog_RSVG
6734 if test -n "$RSVG"; then
6735 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RSVG" >&5
6736 $as_echo "$RSVG" >&6; }
6737 else
6738 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6739 $as_echo "no" >&6; }
6743 test -n "$RSVG" && break
6744 done
6745 test -n "$RSVG" || RSVG="false"
6747 for ac_prog in convert
6749 # Extract the first word of "$ac_prog", so it can be a program name with args.
6750 set dummy $ac_prog; ac_word=$2
6751 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6752 $as_echo_n "checking for $ac_word... " >&6; }
6753 if ${ac_cv_prog_CONVERT+:} false; then :
6754 $as_echo_n "(cached) " >&6
6755 else
6756 if test -n "$CONVERT"; then
6757 ac_cv_prog_CONVERT="$CONVERT" # Let the user override the test.
6758 else
6759 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6760 for as_dir in $PATH
6762 IFS=$as_save_IFS
6763 test -z "$as_dir" && as_dir=.
6764 for ac_exec_ext in '' $ac_executable_extensions; do
6765 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6766 ac_cv_prog_CONVERT="$ac_prog"
6767 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6768 break 2
6770 done
6771 done
6772 IFS=$as_save_IFS
6776 CONVERT=$ac_cv_prog_CONVERT
6777 if test -n "$CONVERT"; then
6778 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CONVERT" >&5
6779 $as_echo "$CONVERT" >&6; }
6780 else
6781 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6782 $as_echo "no" >&6; }
6786 test -n "$CONVERT" && break
6787 done
6788 test -n "$CONVERT" || CONVERT="false"
6790 for ac_prog in icotool
6792 # Extract the first word of "$ac_prog", so it can be a program name with args.
6793 set dummy $ac_prog; ac_word=$2
6794 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6795 $as_echo_n "checking for $ac_word... " >&6; }
6796 if ${ac_cv_prog_ICOTOOL+:} false; then :
6797 $as_echo_n "(cached) " >&6
6798 else
6799 if test -n "$ICOTOOL"; then
6800 ac_cv_prog_ICOTOOL="$ICOTOOL" # Let the user override the test.
6801 else
6802 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6803 for as_dir in $PATH
6805 IFS=$as_save_IFS
6806 test -z "$as_dir" && as_dir=.
6807 for ac_exec_ext in '' $ac_executable_extensions; do
6808 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6809 ac_cv_prog_ICOTOOL="$ac_prog"
6810 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6811 break 2
6813 done
6814 done
6815 IFS=$as_save_IFS
6819 ICOTOOL=$ac_cv_prog_ICOTOOL
6820 if test -n "$ICOTOOL"; then
6821 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ICOTOOL" >&5
6822 $as_echo "$ICOTOOL" >&6; }
6823 else
6824 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6825 $as_echo "no" >&6; }
6829 test -n "$ICOTOOL" && break
6830 done
6831 test -n "$ICOTOOL" || ICOTOOL="false"
6833 test "$FONTFORGE" != "false" || as_fn_error $? "You need fontforge to rebuild fonts in maintainer mode." "$LINENO" 5
6834 test "$RSVG" != "false" || as_fn_error $? "You need rsvg to rebuild icons in maintainer mode." "$LINENO" 5
6836 if test "$CONVERT" = false
6837 then
6838 as_fn_error $? "You need imagemagick to rebuild icons in maintainer mode." "$LINENO" 5
6839 else
6840 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for recent enough imagemagick" >&5
6841 $as_echo_n "checking for recent enough imagemagick... " >&6; }
6842 convert_version=`convert --version | head -n1`
6843 if test "x$convert_version" != "x"
6844 then
6845 convert_version_major=`expr "$convert_version" : '.* \([0-9]*\)\.[0-9]*'`
6846 convert_version_minor=`expr "$convert_version" : '.* [0-9]*\.\([0-9]*\)'`
6847 if test "$convert_version_major" -eq 6 -a "$convert_version_minor" -lt 6
6848 then
6849 CONVERT=false
6852 if test "$CONVERT" = false
6853 then
6854 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no ($convert_version_major.$convert_version_minor)" >&5
6855 $as_echo "no ($convert_version_major.$convert_version_minor)" >&6; }
6856 as_fn_error $? "You need imagemagick version 6.6 or newer to rebuild icons in maintainer mode." "$LINENO" 5
6857 else
6858 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($convert_version_major.$convert_version_minor)" >&5
6859 $as_echo "yes ($convert_version_major.$convert_version_minor)" >&6; }
6863 if test "$ICOTOOL" = false
6864 then
6865 as_fn_error $? "You need icotool to rebuild icons in maintainer mode." "$LINENO" 5
6866 else
6867 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for recent enough icotool" >&5
6868 $as_echo_n "checking for recent enough icotool... " >&6; }
6869 icotool_version=`icotool --version | head -n1`
6870 if test "x$icotool_version" != "x"
6871 then
6872 icotool_version_major=`expr "$icotool_version" : '.* \([0-9]*\)\.[0-9]*'`
6873 icotool_version_minor=`expr "$icotool_version" : '.* [0-9]*\.\([0-9]*\)'`
6874 if test "$icotool_version_major" -eq 0 -a "$icotool_version_minor" -lt 29
6875 then
6876 ICOTOOL=false
6877 as_fn_append wine_warnings "|icotool version 0.29.0 or newer is needed to rebuild icons."
6880 if test "$ICOTOOL" = false
6881 then
6882 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no ($icotool_version_major.$icotool_version_minor)" >&5
6883 $as_echo "no ($icotool_version_major.$icotool_version_minor)" >&6; }
6884 as_fn_error $? "You need icotool version 0.29.0 or newer to rebuild icons in maintainer mode." "$LINENO" 5
6885 else
6886 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($icotool_version_major.$icotool_version_minor)" >&5
6887 $as_echo "yes ($icotool_version_major.$icotool_version_minor)" >&6; }
6891 with_gettext=yes
6892 with_gettextpo=yes
6894 enable_werror=yes
6897 test "x$with_gettext" != xno || MSGFMT=false
6898 if test "$MSGFMT" != "false"
6899 then
6900 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether msgfmt supports contexts" >&5
6901 $as_echo_n "checking whether msgfmt supports contexts... " >&6; }
6902 if ${wine_cv_msgfmt_contexts+:} false; then :
6903 $as_echo_n "(cached) " >&6
6904 else
6905 cat >conftest.po <<EOF
6906 # comment
6907 msgctxt "ctxt"
6908 msgid "id"
6909 msgstr "str"
6911 if $MSGFMT -o /dev/null conftest.po 2>&5
6912 then
6913 wine_cv_msgfmt_contexts=yes
6914 else
6915 wine_cv_msgfmt_contexts=no
6918 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_msgfmt_contexts" >&5
6919 $as_echo "$wine_cv_msgfmt_contexts" >&6; }
6920 test $wine_cv_msgfmt_contexts != no || MSGFMT=false
6922 if test "$MSGFMT" = false; then :
6923 case "x$with_gettext" in
6924 x) as_fn_append wine_warnings "|gettext tools not found (or too old), translations won't be built." ;;
6925 xno) ;;
6926 *) as_fn_error $? "gettext tools not found (or too old), translations won't be built.
6927 This is an error since --with-gettext was requested." "$LINENO" 5 ;;
6928 esac
6929 enable_po=${enable_po:-no}
6933 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for i386_set_ldt in -li386" >&5
6934 $as_echo_n "checking for i386_set_ldt in -li386... " >&6; }
6935 if ${ac_cv_lib_i386_i386_set_ldt+:} false; then :
6936 $as_echo_n "(cached) " >&6
6937 else
6938 ac_check_lib_save_LIBS=$LIBS
6939 LIBS="-li386 $LIBS"
6940 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6941 /* end confdefs.h. */
6943 /* Override any GCC internal prototype to avoid an error.
6944 Use char because int might match the return type of a GCC
6945 builtin and then its argument prototype would still apply. */
6946 #ifdef __cplusplus
6947 extern "C"
6948 #endif
6949 char i386_set_ldt ();
6951 main ()
6953 return i386_set_ldt ();
6955 return 0;
6957 _ACEOF
6958 if ac_fn_c_try_link "$LINENO"; then :
6959 ac_cv_lib_i386_i386_set_ldt=yes
6960 else
6961 ac_cv_lib_i386_i386_set_ldt=no
6963 rm -f core conftest.err conftest.$ac_objext \
6964 conftest$ac_exeext conftest.$ac_ext
6965 LIBS=$ac_check_lib_save_LIBS
6967 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_i386_i386_set_ldt" >&5
6968 $as_echo "$ac_cv_lib_i386_i386_set_ldt" >&6; }
6969 if test "x$ac_cv_lib_i386_i386_set_ldt" = xyes; then :
6970 I386_LIBS="-li386"
6975 OPENGL_LIBS=""
6979 # Check whether --enable-largefile was given.
6980 if test "${enable_largefile+set}" = set; then :
6981 enableval=$enable_largefile;
6984 if test "$enable_largefile" != no; then
6986 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
6987 $as_echo_n "checking for special C compiler options needed for large files... " >&6; }
6988 if ${ac_cv_sys_largefile_CC+:} false; then :
6989 $as_echo_n "(cached) " >&6
6990 else
6991 ac_cv_sys_largefile_CC=no
6992 if test "$GCC" != yes; then
6993 ac_save_CC=$CC
6994 while :; do
6995 # IRIX 6.2 and later do not support large files by default,
6996 # so use the C compiler's -n32 option if that helps.
6997 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6998 /* end confdefs.h. */
6999 #include <sys/types.h>
7000 /* Check that off_t can represent 2**63 - 1 correctly.
7001 We can't simply define LARGE_OFF_T to be 9223372036854775807,
7002 since some C++ compilers masquerading as C compilers
7003 incorrectly reject 9223372036854775807. */
7004 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
7005 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
7006 && LARGE_OFF_T % 2147483647 == 1)
7007 ? 1 : -1];
7009 main ()
7013 return 0;
7015 _ACEOF
7016 if ac_fn_c_try_compile "$LINENO"; then :
7017 break
7019 rm -f core conftest.err conftest.$ac_objext
7020 CC="$CC -n32"
7021 if ac_fn_c_try_compile "$LINENO"; then :
7022 ac_cv_sys_largefile_CC=' -n32'; break
7024 rm -f core conftest.err conftest.$ac_objext
7025 break
7026 done
7027 CC=$ac_save_CC
7028 rm -f conftest.$ac_ext
7031 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
7032 $as_echo "$ac_cv_sys_largefile_CC" >&6; }
7033 if test "$ac_cv_sys_largefile_CC" != no; then
7034 CC=$CC$ac_cv_sys_largefile_CC
7037 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
7038 $as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
7039 if ${ac_cv_sys_file_offset_bits+:} false; then :
7040 $as_echo_n "(cached) " >&6
7041 else
7042 while :; do
7043 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7044 /* end confdefs.h. */
7045 #include <sys/types.h>
7046 /* Check that off_t can represent 2**63 - 1 correctly.
7047 We can't simply define LARGE_OFF_T to be 9223372036854775807,
7048 since some C++ compilers masquerading as C compilers
7049 incorrectly reject 9223372036854775807. */
7050 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
7051 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
7052 && LARGE_OFF_T % 2147483647 == 1)
7053 ? 1 : -1];
7055 main ()
7059 return 0;
7061 _ACEOF
7062 if ac_fn_c_try_compile "$LINENO"; then :
7063 ac_cv_sys_file_offset_bits=no; break
7065 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7066 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7067 /* end confdefs.h. */
7068 #define _FILE_OFFSET_BITS 64
7069 #include <sys/types.h>
7070 /* Check that off_t can represent 2**63 - 1 correctly.
7071 We can't simply define LARGE_OFF_T to be 9223372036854775807,
7072 since some C++ compilers masquerading as C compilers
7073 incorrectly reject 9223372036854775807. */
7074 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
7075 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
7076 && LARGE_OFF_T % 2147483647 == 1)
7077 ? 1 : -1];
7079 main ()
7083 return 0;
7085 _ACEOF
7086 if ac_fn_c_try_compile "$LINENO"; then :
7087 ac_cv_sys_file_offset_bits=64; break
7089 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7090 ac_cv_sys_file_offset_bits=unknown
7091 break
7092 done
7094 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
7095 $as_echo "$ac_cv_sys_file_offset_bits" >&6; }
7096 case $ac_cv_sys_file_offset_bits in #(
7097 no | unknown) ;;
7099 cat >>confdefs.h <<_ACEOF
7100 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
7101 _ACEOF
7103 esac
7104 rm -rf conftest*
7105 if test $ac_cv_sys_file_offset_bits = unknown; then
7106 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
7107 $as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
7108 if ${ac_cv_sys_large_files+:} false; then :
7109 $as_echo_n "(cached) " >&6
7110 else
7111 while :; do
7112 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7113 /* end confdefs.h. */
7114 #include <sys/types.h>
7115 /* Check that off_t can represent 2**63 - 1 correctly.
7116 We can't simply define LARGE_OFF_T to be 9223372036854775807,
7117 since some C++ compilers masquerading as C compilers
7118 incorrectly reject 9223372036854775807. */
7119 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
7120 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
7121 && LARGE_OFF_T % 2147483647 == 1)
7122 ? 1 : -1];
7124 main ()
7128 return 0;
7130 _ACEOF
7131 if ac_fn_c_try_compile "$LINENO"; then :
7132 ac_cv_sys_large_files=no; break
7134 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7135 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7136 /* end confdefs.h. */
7137 #define _LARGE_FILES 1
7138 #include <sys/types.h>
7139 /* Check that off_t can represent 2**63 - 1 correctly.
7140 We can't simply define LARGE_OFF_T to be 9223372036854775807,
7141 since some C++ compilers masquerading as C compilers
7142 incorrectly reject 9223372036854775807. */
7143 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
7144 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
7145 && LARGE_OFF_T % 2147483647 == 1)
7146 ? 1 : -1];
7148 main ()
7152 return 0;
7154 _ACEOF
7155 if ac_fn_c_try_compile "$LINENO"; then :
7156 ac_cv_sys_large_files=1; break
7158 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7159 ac_cv_sys_large_files=unknown
7160 break
7161 done
7163 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
7164 $as_echo "$ac_cv_sys_large_files" >&6; }
7165 case $ac_cv_sys_large_files in #(
7166 no | unknown) ;;
7168 cat >>confdefs.h <<_ACEOF
7169 #define _LARGE_FILES $ac_cv_sys_large_files
7170 _ACEOF
7172 esac
7173 rm -rf conftest*
7180 ac_ext=c
7181 ac_cpp='$CPP $CPPFLAGS'
7182 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7183 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7184 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7185 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
7186 $as_echo_n "checking how to run the C preprocessor... " >&6; }
7187 # On Suns, sometimes $CPP names a directory.
7188 if test -n "$CPP" && test -d "$CPP"; then
7189 CPP=
7191 if test -z "$CPP"; then
7192 if ${ac_cv_prog_CPP+:} false; then :
7193 $as_echo_n "(cached) " >&6
7194 else
7195 # Double quotes because CPP needs to be expanded
7196 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
7198 ac_preproc_ok=false
7199 for ac_c_preproc_warn_flag in '' yes
7201 # Use a header file that comes with gcc, so configuring glibc
7202 # with a fresh cross-compiler works.
7203 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7204 # <limits.h> exists even on freestanding compilers.
7205 # On the NeXT, cc -E runs the code through the compiler's parser,
7206 # not just through cpp. "Syntax error" is here to catch this case.
7207 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7208 /* end confdefs.h. */
7209 #ifdef __STDC__
7210 # include <limits.h>
7211 #else
7212 # include <assert.h>
7213 #endif
7214 Syntax error
7215 _ACEOF
7216 if ac_fn_c_try_cpp "$LINENO"; then :
7218 else
7219 # Broken: fails on valid input.
7220 continue
7222 rm -f conftest.err conftest.i conftest.$ac_ext
7224 # OK, works on sane cases. Now check whether nonexistent headers
7225 # can be detected and how.
7226 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7227 /* end confdefs.h. */
7228 #include <ac_nonexistent.h>
7229 _ACEOF
7230 if ac_fn_c_try_cpp "$LINENO"; then :
7231 # Broken: success on invalid input.
7232 continue
7233 else
7234 # Passes both tests.
7235 ac_preproc_ok=:
7236 break
7238 rm -f conftest.err conftest.i conftest.$ac_ext
7240 done
7241 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7242 rm -f conftest.i conftest.err conftest.$ac_ext
7243 if $ac_preproc_ok; then :
7244 break
7247 done
7248 ac_cv_prog_CPP=$CPP
7251 CPP=$ac_cv_prog_CPP
7252 else
7253 ac_cv_prog_CPP=$CPP
7255 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
7256 $as_echo "$CPP" >&6; }
7257 ac_preproc_ok=false
7258 for ac_c_preproc_warn_flag in '' yes
7260 # Use a header file that comes with gcc, so configuring glibc
7261 # with a fresh cross-compiler works.
7262 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7263 # <limits.h> exists even on freestanding compilers.
7264 # On the NeXT, cc -E runs the code through the compiler's parser,
7265 # not just through cpp. "Syntax error" is here to catch this case.
7266 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7267 /* end confdefs.h. */
7268 #ifdef __STDC__
7269 # include <limits.h>
7270 #else
7271 # include <assert.h>
7272 #endif
7273 Syntax error
7274 _ACEOF
7275 if ac_fn_c_try_cpp "$LINENO"; then :
7277 else
7278 # Broken: fails on valid input.
7279 continue
7281 rm -f conftest.err conftest.i conftest.$ac_ext
7283 # OK, works on sane cases. Now check whether nonexistent headers
7284 # can be detected and how.
7285 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7286 /* end confdefs.h. */
7287 #include <ac_nonexistent.h>
7288 _ACEOF
7289 if ac_fn_c_try_cpp "$LINENO"; then :
7290 # Broken: success on invalid input.
7291 continue
7292 else
7293 # Passes both tests.
7294 ac_preproc_ok=:
7295 break
7297 rm -f conftest.err conftest.i conftest.$ac_ext
7299 done
7300 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7301 rm -f conftest.i conftest.err conftest.$ac_ext
7302 if $ac_preproc_ok; then :
7304 else
7305 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
7306 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
7307 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
7308 See \`config.log' for more details" "$LINENO" 5; }
7311 ac_ext=c
7312 ac_cpp='$CPP $CPPFLAGS'
7313 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7314 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7315 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7318 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
7319 $as_echo_n "checking for ANSI C header files... " >&6; }
7320 if ${ac_cv_header_stdc+:} false; then :
7321 $as_echo_n "(cached) " >&6
7322 else
7323 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7324 /* end confdefs.h. */
7325 #include <stdlib.h>
7326 #include <stdarg.h>
7327 #include <string.h>
7328 #include <float.h>
7331 main ()
7335 return 0;
7337 _ACEOF
7338 if ac_fn_c_try_compile "$LINENO"; then :
7339 ac_cv_header_stdc=yes
7340 else
7341 ac_cv_header_stdc=no
7343 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7345 if test $ac_cv_header_stdc = yes; then
7346 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
7347 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7348 /* end confdefs.h. */
7349 #include <string.h>
7351 _ACEOF
7352 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7353 $EGREP "memchr" >/dev/null 2>&1; then :
7355 else
7356 ac_cv_header_stdc=no
7358 rm -f conftest*
7362 if test $ac_cv_header_stdc = yes; then
7363 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
7364 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7365 /* end confdefs.h. */
7366 #include <stdlib.h>
7368 _ACEOF
7369 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7370 $EGREP "free" >/dev/null 2>&1; then :
7372 else
7373 ac_cv_header_stdc=no
7375 rm -f conftest*
7379 if test $ac_cv_header_stdc = yes; then
7380 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
7381 if test "$cross_compiling" = yes; then :
7383 else
7384 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7385 /* end confdefs.h. */
7386 #include <ctype.h>
7387 #include <stdlib.h>
7388 #if ((' ' & 0x0FF) == 0x020)
7389 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
7390 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
7391 #else
7392 # define ISLOWER(c) \
7393 (('a' <= (c) && (c) <= 'i') \
7394 || ('j' <= (c) && (c) <= 'r') \
7395 || ('s' <= (c) && (c) <= 'z'))
7396 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
7397 #endif
7399 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
7401 main ()
7403 int i;
7404 for (i = 0; i < 256; i++)
7405 if (XOR (islower (i), ISLOWER (i))
7406 || toupper (i) != TOUPPER (i))
7407 return 2;
7408 return 0;
7410 _ACEOF
7411 if ac_fn_c_try_run "$LINENO"; then :
7413 else
7414 ac_cv_header_stdc=no
7416 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
7417 conftest.$ac_objext conftest.beam conftest.$ac_ext
7422 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
7423 $as_echo "$ac_cv_header_stdc" >&6; }
7424 if test $ac_cv_header_stdc = yes; then
7426 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
7430 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
7431 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
7432 inttypes.h stdint.h unistd.h
7433 do :
7434 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7435 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
7437 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7438 cat >>confdefs.h <<_ACEOF
7439 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7440 _ACEOF
7444 done
7447 for ac_header in \
7448 AL/al.h \
7449 ApplicationServices/ApplicationServices.h \
7450 AudioToolbox/AudioConverter.h \
7451 AudioUnit/AudioUnit.h \
7452 AudioUnit/AudioComponent.h \
7453 CL/cl.h \
7454 Carbon/Carbon.h \
7455 CommonCrypto/CommonCryptor.h \
7456 CoreAudio/CoreAudio.h \
7457 DiskArbitration/DiskArbitration.h \
7458 EGL/egl.h \
7459 IOKit/IOKitLib.h \
7460 IOKit/hid/IOHIDLib.h \
7461 OpenAL/al.h \
7462 OpenCL/opencl.h \
7463 QuickTime/ImageCompression.h \
7464 Security/Security.h \
7465 SystemConfiguration/SCDynamicStoreCopyDHCPInfo.h \
7466 SystemConfiguration/SCNetworkConfiguration.h \
7467 alias.h \
7468 arpa/inet.h \
7469 arpa/nameser.h \
7470 asm/types.h \
7471 asm/user.h \
7472 dirent.h \
7473 dlfcn.h \
7474 elf.h \
7475 float.h \
7476 fnmatch.h \
7477 getopt.h \
7478 gettext-po.h \
7479 grp.h \
7480 gsm.h \
7481 gsm/gsm.h \
7482 ieeefp.h \
7483 inet/mib2.h \
7484 kstat.h \
7485 libproc.h \
7486 link.h \
7487 linux/cdrom.h \
7488 linux/filter.h \
7489 linux/hdreg.h \
7490 linux/hidraw.h \
7491 linux/input.h \
7492 linux/ioctl.h \
7493 linux/joystick.h \
7494 linux/major.h \
7495 linux/param.h \
7496 linux/serial.h \
7497 linux/types.h \
7498 linux/ucdrom.h \
7499 lwp.h \
7500 mach-o/loader.h \
7501 mach/mach.h \
7502 machine/cpu.h \
7503 machine/sysarch.h \
7504 mntent.h \
7505 netdb.h \
7506 netinet/in.h \
7507 netinet/in_systm.h \
7508 netinet/tcp.h \
7509 netinet/tcp_fsm.h \
7510 pcap/pcap.h \
7511 poll.h \
7512 port.h \
7513 pthread.h \
7514 pwd.h \
7515 sasl/sasl.h \
7516 sched.h \
7517 scsi/scsi.h \
7518 scsi/scsi_ioctl.h \
7519 scsi/sg.h \
7520 stdint.h \
7521 stropts.h \
7522 sys/attr.h \
7523 sys/auxv.h \
7524 sys/cdio.h \
7525 sys/epoll.h \
7526 sys/event.h \
7527 sys/filio.h \
7528 sys/ioctl.h \
7529 sys/ipc.h \
7530 sys/link.h \
7531 sys/mman.h \
7532 sys/modem.h \
7533 sys/msg.h \
7534 sys/mtio.h \
7535 sys/param.h \
7536 sys/poll.h \
7537 sys/prctl.h \
7538 sys/protosw.h \
7539 sys/ptrace.h \
7540 sys/queue.h \
7541 sys/random.h \
7542 sys/resource.h \
7543 sys/scsiio.h \
7544 sys/shm.h \
7545 sys/signal.h \
7546 sys/socket.h \
7547 sys/socketvar.h \
7548 sys/sockio.h \
7549 sys/statvfs.h \
7550 sys/strtio.h \
7551 sys/syscall.h \
7552 sys/sysinfo.h \
7553 sys/tihdr.h \
7554 sys/time.h \
7555 sys/timeout.h \
7556 sys/times.h \
7557 sys/uio.h \
7558 sys/user.h \
7559 sys/utsname.h \
7560 sys/vnode.h \
7561 sys/wait.h \
7562 syscall.h \
7563 termios.h \
7564 unistd.h \
7565 utime.h \
7566 valgrind/memcheck.h \
7567 valgrind/valgrind.h
7569 do :
7570 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7571 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
7572 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7573 cat >>confdefs.h <<_ACEOF
7574 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7575 _ACEOF
7579 done
7581 ac_fn_c_check_header_mongrel "$LINENO" "sys/mkdev.h" "ac_cv_header_sys_mkdev_h" "$ac_includes_default"
7582 if test "x$ac_cv_header_sys_mkdev_h" = xyes; then :
7584 $as_echo "#define MAJOR_IN_MKDEV 1" >>confdefs.h
7589 if test $ac_cv_header_sys_mkdev_h = no; then
7590 ac_fn_c_check_header_mongrel "$LINENO" "sys/sysmacros.h" "ac_cv_header_sys_sysmacros_h" "$ac_includes_default"
7591 if test "x$ac_cv_header_sys_sysmacros_h" = xyes; then :
7593 $as_echo "#define MAJOR_IN_SYSMACROS 1" >>confdefs.h
7599 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stat file-mode macros are broken" >&5
7600 $as_echo_n "checking whether stat file-mode macros are broken... " >&6; }
7601 if ${ac_cv_header_stat_broken+:} false; then :
7602 $as_echo_n "(cached) " >&6
7603 else
7604 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7605 /* end confdefs.h. */
7606 #include <sys/types.h>
7607 #include <sys/stat.h>
7609 #if defined S_ISBLK && defined S_IFDIR
7610 extern char c1[S_ISBLK (S_IFDIR) ? -1 : 1];
7611 #endif
7613 #if defined S_ISBLK && defined S_IFCHR
7614 extern char c2[S_ISBLK (S_IFCHR) ? -1 : 1];
7615 #endif
7617 #if defined S_ISLNK && defined S_IFREG
7618 extern char c3[S_ISLNK (S_IFREG) ? -1 : 1];
7619 #endif
7621 #if defined S_ISSOCK && defined S_IFREG
7622 extern char c4[S_ISSOCK (S_IFREG) ? -1 : 1];
7623 #endif
7625 _ACEOF
7626 if ac_fn_c_try_compile "$LINENO"; then :
7627 ac_cv_header_stat_broken=no
7628 else
7629 ac_cv_header_stat_broken=yes
7631 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7633 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stat_broken" >&5
7634 $as_echo "$ac_cv_header_stat_broken" >&6; }
7635 if test $ac_cv_header_stat_broken = yes; then
7637 $as_echo "#define STAT_MACROS_BROKEN 1" >>confdefs.h
7643 for ac_header in sys/conf.h sys/mount.h sys/statfs.h sys/user.h sys/vfs.h
7644 do :
7645 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7646 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7647 #ifdef HAVE_SYS_PARAM_H
7648 # include <sys/param.h>
7649 #endif
7651 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7652 cat >>confdefs.h <<_ACEOF
7653 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7654 _ACEOF
7658 done
7661 saved_sysctl_h_CFLAGS=$CFLAGS
7662 test "x${GCC}" != xyes || CFLAGS="$CFLAGS -Werror"
7663 for ac_header in sys/sysctl.h
7664 do :
7665 ac_fn_c_check_header_compile "$LINENO" "sys/sysctl.h" "ac_cv_header_sys_sysctl_h" "#include <sys/types.h>
7666 #ifdef HAVE_SYS_PARAM_H
7667 # include <sys/param.h>
7668 #endif
7670 if test "x$ac_cv_header_sys_sysctl_h" = xyes; then :
7671 cat >>confdefs.h <<_ACEOF
7672 #define HAVE_SYS_SYSCTL_H 1
7673 _ACEOF
7677 done
7679 CFLAGS=$saved_sysctl_h_CFLAGS
7681 for ac_header in \
7682 netinet/ip.h \
7683 net/if.h \
7684 net/if_arp.h \
7685 net/if_dl.h \
7686 net/if_types.h \
7687 net/route.h \
7688 netinet/if_ether.h \
7689 netinet/if_inarp.h \
7690 netinet/in_pcb.h \
7691 netinet/ip_icmp.h \
7692 netinet/ip_var.h \
7693 netinet/udp.h \
7694 netipx/ipx.h \
7695 sys/un.h \
7697 do :
7698 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7699 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7700 #ifdef HAVE_SYS_SOCKET_H
7701 # include <sys/socket.h>
7702 #endif
7703 #ifdef HAVE_SYS_SOCKETVAR_H
7704 # include <sys/socketvar.h>
7705 #endif
7706 #ifdef HAVE_NET_ROUTE_H
7707 # include <net/route.h>
7708 #endif
7709 #ifdef HAVE_NETINET_IN_H
7710 # include <netinet/in.h>
7711 #endif
7712 #ifdef HAVE_NETINET_IN_SYSTM_H
7713 # include <netinet/in_systm.h>
7714 #endif
7715 #ifdef HAVE_NET_IF_H
7716 # include <net/if.h>
7717 #endif
7718 #ifdef HAVE_NETINET_IP_H
7719 # include <netinet/ip.h>
7720 #endif
7722 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7723 cat >>confdefs.h <<_ACEOF
7724 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7725 _ACEOF
7729 done
7732 for ac_header in netinet/tcp_timer.h netinet/udp_var.h netinet/icmp_var.h netinet/tcp_var.h
7733 do :
7734 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7735 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7736 #ifdef HAVE_ALIAS_H
7737 # include <alias.h>
7738 #endif
7739 #ifdef HAVE_SYS_SOCKET_H
7740 # include <sys/socket.h>
7741 #endif
7742 #ifdef HAVE_SYS_SOCKETVAR_H
7743 # include <sys/socketvar.h>
7744 #endif
7745 #ifdef HAVE_SYS_TIMEOUT_H
7746 # include <sys/timeout.h>
7747 #endif
7748 #ifdef HAVE_NETINET_IN_H
7749 # include <netinet/in.h>
7750 #endif
7751 #ifdef HAVE_NETINET_IN_SYSTM_H
7752 # include <netinet/in_systm.h>
7753 #endif
7754 #ifdef HAVE_NETINET_IP_H
7755 # include <netinet/ip.h>
7756 #endif
7757 #ifdef HAVE_NETINET_IP_VAR_H
7758 # include <netinet/ip_var.h>
7759 #endif
7760 #ifdef HAVE_NETINET_IP_ICMP_H
7761 # include <netinet/ip_icmp.h>
7762 #endif
7763 #ifdef HAVE_NETINET_UDP_H
7764 # include <netinet/udp.h>
7765 #endif
7766 #ifdef HAVE_NETINET_TCP_H
7767 # include <netinet/tcp.h>
7768 #endif
7769 #ifdef HAVE_NETINET_TCP_TIMER_H
7770 #include <netinet/tcp_timer.h>
7771 #endif
7773 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7774 cat >>confdefs.h <<_ACEOF
7775 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7776 _ACEOF
7780 done
7783 for ac_header in linux/ipx.h linux/irda.h linux/rtnetlink.h
7784 do :
7785 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7786 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7787 #ifdef HAVE_ASM_TYPES_H
7788 # include <asm/types.h>
7789 #endif
7790 #ifdef HAVE_SYS_SOCKET_H
7791 # include <sys/socket.h>
7792 #endif
7793 #ifdef HAVE_LINUX_TYPES_H
7794 # include <linux/types.h>
7795 #endif
7797 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7798 cat >>confdefs.h <<_ACEOF
7799 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7800 _ACEOF
7804 done
7807 for ac_header in resolv.h
7808 do :
7809 ac_fn_c_check_header_compile "$LINENO" "resolv.h" "ac_cv_header_resolv_h" "#include <sys/types.h>
7810 #ifdef HAVE_SYS_SOCKET_H
7811 # include <sys/socket.h>
7812 #endif
7813 #ifdef HAVE_NETINET_IN_H
7814 # include <netinet/in.h>
7815 #endif
7816 #ifdef HAVE_ARPA_NAMESER_H
7817 # include <arpa/nameser.h>
7818 #endif
7820 if test "x$ac_cv_header_resolv_h" = xyes; then :
7821 cat >>confdefs.h <<_ACEOF
7822 #define HAVE_RESOLV_H 1
7823 _ACEOF
7827 done
7830 for ac_header in ifaddrs.h
7831 do :
7832 ac_fn_c_check_header_compile "$LINENO" "ifaddrs.h" "ac_cv_header_ifaddrs_h" "#include <sys/types.h>
7834 if test "x$ac_cv_header_ifaddrs_h" = xyes; then :
7835 cat >>confdefs.h <<_ACEOF
7836 #define HAVE_IFADDRS_H 1
7837 _ACEOF
7841 done
7844 for ac_header in sys/ucontext.h
7845 do :
7846 ac_fn_c_check_header_compile "$LINENO" "sys/ucontext.h" "ac_cv_header_sys_ucontext_h" "#include <signal.h>
7848 if test "x$ac_cv_header_sys_ucontext_h" = xyes; then :
7849 cat >>confdefs.h <<_ACEOF
7850 #define HAVE_SYS_UCONTEXT_H 1
7851 _ACEOF
7855 done
7858 for ac_header in sys/thr.h
7859 do :
7860 ac_fn_c_check_header_compile "$LINENO" "sys/thr.h" "ac_cv_header_sys_thr_h" "#include <sys/types.h>
7861 #ifdef HAVE_SYS_UCONTEXT_H
7862 #include <sys/ucontext.h>
7863 #endif
7865 if test "x$ac_cv_header_sys_thr_h" = xyes; then :
7866 cat >>confdefs.h <<_ACEOF
7867 #define HAVE_SYS_THR_H 1
7868 _ACEOF
7872 done
7875 for ac_header in pthread_np.h
7876 do :
7877 ac_fn_c_check_header_compile "$LINENO" "pthread_np.h" "ac_cv_header_pthread_np_h" "#ifdef HAVE_PTHREAD_H
7878 #include <pthread.h>
7879 #endif
7881 if test "x$ac_cv_header_pthread_np_h" = xyes; then :
7882 cat >>confdefs.h <<_ACEOF
7883 #define HAVE_PTHREAD_NP_H 1
7884 _ACEOF
7888 done
7891 for ac_header in linux/videodev2.h
7892 do :
7893 ac_fn_c_check_header_compile "$LINENO" "linux/videodev2.h" "ac_cv_header_linux_videodev2_h" "#ifdef HAVE_SYS_TIME_H
7894 #include <sys/time.h>
7895 #endif
7896 #include <sys/types.h>
7897 #ifdef HAVE_ASM_TYPES_H
7898 #include <asm/types.h>
7899 #endif
7901 if test "x$ac_cv_header_linux_videodev2_h" = xyes; then :
7902 cat >>confdefs.h <<_ACEOF
7903 #define HAVE_LINUX_VIDEODEV2_H 1
7904 _ACEOF
7908 done
7911 for ac_header in libprocstat.h
7912 do :
7913 ac_fn_c_check_header_compile "$LINENO" "libprocstat.h" "ac_cv_header_libprocstat_h" "#ifdef HAVE_SYS_PARAM_H
7914 #include <sys/param.h>
7915 #endif
7916 #ifdef HAVE_SYS_QUEUE_H
7917 #include <sys/queue.h>
7918 #endif
7919 #ifdef HAVE_SYS_SOCKET_H
7920 #include <sys/socket.h>
7921 #endif
7923 if test "x$ac_cv_header_libprocstat_h" = xyes; then :
7924 cat >>confdefs.h <<_ACEOF
7925 #define HAVE_LIBPROCSTAT_H 1
7926 _ACEOF
7930 done
7934 DLLFLAGS="-D_REENTRANT"
7936 LDDLLFLAGS=""
7938 LDEXECFLAGS=""
7940 TOP_INSTALL_LIB=""
7942 TOP_INSTALL_DEV=""
7944 WINELOADER_LDFLAGS=""
7946 WINEPRELOADER_LDFLAGS=""
7948 LIBEXT="so"
7949 DLLEXT=".so"
7950 # Extract the first word of "ldd", so it can be a program name with args.
7951 set dummy ldd; ac_word=$2
7952 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7953 $as_echo_n "checking for $ac_word... " >&6; }
7954 if ${ac_cv_path_LDD+:} false; then :
7955 $as_echo_n "(cached) " >&6
7956 else
7957 case $LDD in
7958 [\\/]* | ?:[\\/]*)
7959 ac_cv_path_LDD="$LDD" # Let the user override the test with a path.
7962 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7963 as_dummy="/sbin:/usr/sbin:$PATH"
7964 for as_dir in $as_dummy
7966 IFS=$as_save_IFS
7967 test -z "$as_dir" && as_dir=.
7968 for ac_exec_ext in '' $ac_executable_extensions; do
7969 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7970 ac_cv_path_LDD="$as_dir/$ac_word$ac_exec_ext"
7971 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7972 break 2
7974 done
7975 done
7976 IFS=$as_save_IFS
7978 test -z "$ac_cv_path_LDD" && ac_cv_path_LDD="true"
7980 esac
7982 LDD=$ac_cv_path_LDD
7983 if test -n "$LDD"; then
7984 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDD" >&5
7985 $as_echo "$LDD" >&6; }
7986 else
7987 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7988 $as_echo "no" >&6; }
7992 if test -n "$ac_tool_prefix"; then
7993 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
7994 set dummy ${ac_tool_prefix}otool; ac_word=$2
7995 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7996 $as_echo_n "checking for $ac_word... " >&6; }
7997 if ${ac_cv_prog_OTOOL+:} false; then :
7998 $as_echo_n "(cached) " >&6
7999 else
8000 if test -n "$OTOOL"; then
8001 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
8002 else
8003 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8004 for as_dir in $PATH
8006 IFS=$as_save_IFS
8007 test -z "$as_dir" && as_dir=.
8008 for ac_exec_ext in '' $ac_executable_extensions; do
8009 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8010 ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
8011 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8012 break 2
8014 done
8015 done
8016 IFS=$as_save_IFS
8020 OTOOL=$ac_cv_prog_OTOOL
8021 if test -n "$OTOOL"; then
8022 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
8023 $as_echo "$OTOOL" >&6; }
8024 else
8025 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8026 $as_echo "no" >&6; }
8031 if test -z "$ac_cv_prog_OTOOL"; then
8032 ac_ct_OTOOL=$OTOOL
8033 # Extract the first word of "otool", so it can be a program name with args.
8034 set dummy otool; ac_word=$2
8035 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8036 $as_echo_n "checking for $ac_word... " >&6; }
8037 if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
8038 $as_echo_n "(cached) " >&6
8039 else
8040 if test -n "$ac_ct_OTOOL"; then
8041 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
8042 else
8043 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8044 for as_dir in $PATH
8046 IFS=$as_save_IFS
8047 test -z "$as_dir" && as_dir=.
8048 for ac_exec_ext in '' $ac_executable_extensions; do
8049 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8050 ac_cv_prog_ac_ct_OTOOL="otool"
8051 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8052 break 2
8054 done
8055 done
8056 IFS=$as_save_IFS
8060 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
8061 if test -n "$ac_ct_OTOOL"; then
8062 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
8063 $as_echo "$ac_ct_OTOOL" >&6; }
8064 else
8065 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8066 $as_echo "no" >&6; }
8069 if test "x$ac_ct_OTOOL" = x; then
8070 OTOOL="otool"
8071 else
8072 case $cross_compiling:$ac_tool_warned in
8073 yes:)
8074 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8075 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8076 ac_tool_warned=yes ;;
8077 esac
8078 OTOOL=$ac_ct_OTOOL
8080 else
8081 OTOOL="$ac_cv_prog_OTOOL"
8084 if test -n "$ac_tool_prefix"; then
8085 # Extract the first word of "${ac_tool_prefix}readelf", so it can be a program name with args.
8086 set dummy ${ac_tool_prefix}readelf; ac_word=$2
8087 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8088 $as_echo_n "checking for $ac_word... " >&6; }
8089 if ${ac_cv_prog_READELF+:} false; then :
8090 $as_echo_n "(cached) " >&6
8091 else
8092 if test -n "$READELF"; then
8093 ac_cv_prog_READELF="$READELF" # Let the user override the test.
8094 else
8095 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8096 for as_dir in $PATH
8098 IFS=$as_save_IFS
8099 test -z "$as_dir" && as_dir=.
8100 for ac_exec_ext in '' $ac_executable_extensions; do
8101 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8102 ac_cv_prog_READELF="${ac_tool_prefix}readelf"
8103 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8104 break 2
8106 done
8107 done
8108 IFS=$as_save_IFS
8112 READELF=$ac_cv_prog_READELF
8113 if test -n "$READELF"; then
8114 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $READELF" >&5
8115 $as_echo "$READELF" >&6; }
8116 else
8117 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8118 $as_echo "no" >&6; }
8123 if test -z "$ac_cv_prog_READELF"; then
8124 ac_ct_READELF=$READELF
8125 # Extract the first word of "readelf", so it can be a program name with args.
8126 set dummy readelf; ac_word=$2
8127 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8128 $as_echo_n "checking for $ac_word... " >&6; }
8129 if ${ac_cv_prog_ac_ct_READELF+:} false; then :
8130 $as_echo_n "(cached) " >&6
8131 else
8132 if test -n "$ac_ct_READELF"; then
8133 ac_cv_prog_ac_ct_READELF="$ac_ct_READELF" # Let the user override the test.
8134 else
8135 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8136 for as_dir in $PATH
8138 IFS=$as_save_IFS
8139 test -z "$as_dir" && as_dir=.
8140 for ac_exec_ext in '' $ac_executable_extensions; do
8141 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8142 ac_cv_prog_ac_ct_READELF="readelf"
8143 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8144 break 2
8146 done
8147 done
8148 IFS=$as_save_IFS
8152 ac_ct_READELF=$ac_cv_prog_ac_ct_READELF
8153 if test -n "$ac_ct_READELF"; then
8154 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_READELF" >&5
8155 $as_echo "$ac_ct_READELF" >&6; }
8156 else
8157 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8158 $as_echo "no" >&6; }
8161 if test "x$ac_ct_READELF" = x; then
8162 READELF="true"
8163 else
8164 case $cross_compiling:$ac_tool_warned in
8165 yes:)
8166 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8167 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8168 ac_tool_warned=yes ;;
8169 esac
8170 READELF=$ac_ct_READELF
8172 else
8173 READELF="$ac_cv_prog_READELF"
8176 wine_rules_file=conf$$rules.make
8177 rm -f $wine_rules_file
8178 SUBDIRS=""
8180 DISABLED_SUBDIRS=""
8182 CONFIGURE_TARGETS=""
8185 wine_fn_append_file ()
8187 as_fn_append $1 " \\$as_nl $2"
8190 wine_fn_append_rule ()
8192 $as_echo "$1" >>$wine_rules_file
8195 wine_fn_config_makefile ()
8197 wine_fn_append_file SUBDIRS $1
8198 if eval test \"x\$"$2"\" = x"no"; then :
8199 wine_fn_append_file DISABLED_SUBDIRS $1
8203 wine_fn_config_symlink ()
8205 ac_links=$@
8206 wine_fn_append_rule \
8207 "$ac_links:
8208 @./config.status \$@"
8209 for f in $ac_links; do wine_fn_append_file CONFIGURE_TARGETS $f; done
8212 wine_binary="wine"
8213 test "x$enable_win64" != "xyes" || wine_binary="wine64"
8214 WINELOADER_PROGRAMS="$wine_binary"
8216 libwine_soversion=`expr $libwine_version : '\([0-9]*\)\..*'`
8218 case $host_os in
8219 cygwin*|mingw32*)
8220 if test -n "$ac_tool_prefix"; then
8221 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
8222 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
8223 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8224 $as_echo_n "checking for $ac_word... " >&6; }
8225 if ${ac_cv_prog_DLLTOOL+:} false; then :
8226 $as_echo_n "(cached) " >&6
8227 else
8228 if test -n "$DLLTOOL"; then
8229 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
8230 else
8231 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8232 for as_dir in $PATH
8234 IFS=$as_save_IFS
8235 test -z "$as_dir" && as_dir=.
8236 for ac_exec_ext in '' $ac_executable_extensions; do
8237 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8238 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
8239 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8240 break 2
8242 done
8243 done
8244 IFS=$as_save_IFS
8248 DLLTOOL=$ac_cv_prog_DLLTOOL
8249 if test -n "$DLLTOOL"; then
8250 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
8251 $as_echo "$DLLTOOL" >&6; }
8252 else
8253 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8254 $as_echo "no" >&6; }
8259 if test -z "$ac_cv_prog_DLLTOOL"; then
8260 ac_ct_DLLTOOL=$DLLTOOL
8261 # Extract the first word of "dlltool", so it can be a program name with args.
8262 set dummy dlltool; ac_word=$2
8263 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8264 $as_echo_n "checking for $ac_word... " >&6; }
8265 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
8266 $as_echo_n "(cached) " >&6
8267 else
8268 if test -n "$ac_ct_DLLTOOL"; then
8269 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
8270 else
8271 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8272 for as_dir in $PATH
8274 IFS=$as_save_IFS
8275 test -z "$as_dir" && as_dir=.
8276 for ac_exec_ext in '' $ac_executable_extensions; do
8277 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8278 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
8279 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8280 break 2
8282 done
8283 done
8284 IFS=$as_save_IFS
8288 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
8289 if test -n "$ac_ct_DLLTOOL"; then
8290 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
8291 $as_echo "$ac_ct_DLLTOOL" >&6; }
8292 else
8293 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8294 $as_echo "no" >&6; }
8297 if test "x$ac_ct_DLLTOOL" = x; then
8298 DLLTOOL="false"
8299 else
8300 case $cross_compiling:$ac_tool_warned in
8301 yes:)
8302 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8303 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8304 ac_tool_warned=yes ;;
8305 esac
8306 DLLTOOL=$ac_ct_DLLTOOL
8308 else
8309 DLLTOOL="$ac_cv_prog_DLLTOOL"
8312 LIBEXT="dll"
8313 DLLEXT=""
8314 case $host_cpu in
8315 *i[3456]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--disable-stdcall-fixup" >&5
8316 $as_echo_n "checking whether the compiler supports -Wl,--disable-stdcall-fixup... " >&6; }
8317 if ${ac_cv_cflags__Wl___disable_stdcall_fixup+:} false; then :
8318 $as_echo_n "(cached) " >&6
8319 else
8320 ac_wine_try_cflags_saved=$CFLAGS
8321 CFLAGS="$CFLAGS -Wl,--disable-stdcall-fixup"
8322 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8323 /* end confdefs.h. */
8324 int main(int argc, char **argv) { return 0; }
8325 _ACEOF
8326 if ac_fn_c_try_link "$LINENO"; then :
8327 ac_cv_cflags__Wl___disable_stdcall_fixup=yes
8328 else
8329 ac_cv_cflags__Wl___disable_stdcall_fixup=no
8331 rm -f core conftest.err conftest.$ac_objext \
8332 conftest$ac_exeext conftest.$ac_ext
8333 CFLAGS=$ac_wine_try_cflags_saved
8335 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___disable_stdcall_fixup" >&5
8336 $as_echo "$ac_cv_cflags__Wl___disable_stdcall_fixup" >&6; }
8337 if test "x$ac_cv_cflags__Wl___disable_stdcall_fixup" = xyes; then :
8338 LDDLLFLAGS="-Wl,--disable-stdcall-fixup"
8339 fi ;;
8340 esac
8341 enable_iphlpapi=${enable_iphlpapi:-no}
8342 enable_ws2_32=${enable_ws2_32:-no}
8343 enable_loader=${enable_loader:-no}
8344 enable_server=${enable_server:-no}
8345 with_x=${with_x:-no}
8346 with_pthread=${with_pthread:-no}
8349 darwin*|macosx*)
8350 ac_ext=m
8351 ac_cpp='$OBJCPP $CPPFLAGS'
8352 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8353 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8354 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
8356 ac_ext=m
8357 ac_cpp='$OBJCPP $CPPFLAGS'
8358 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8359 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8360 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
8361 if test -n "$ac_tool_prefix"; then
8362 for ac_prog in gcc objcc objc cc CC
8364 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
8365 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
8366 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8367 $as_echo_n "checking for $ac_word... " >&6; }
8368 if ${ac_cv_prog_OBJC+:} false; then :
8369 $as_echo_n "(cached) " >&6
8370 else
8371 if test -n "$OBJC"; then
8372 ac_cv_prog_OBJC="$OBJC" # Let the user override the test.
8373 else
8374 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8375 for as_dir in $PATH
8377 IFS=$as_save_IFS
8378 test -z "$as_dir" && as_dir=.
8379 for ac_exec_ext in '' $ac_executable_extensions; do
8380 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8381 ac_cv_prog_OBJC="$ac_tool_prefix$ac_prog"
8382 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8383 break 2
8385 done
8386 done
8387 IFS=$as_save_IFS
8391 OBJC=$ac_cv_prog_OBJC
8392 if test -n "$OBJC"; then
8393 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJC" >&5
8394 $as_echo "$OBJC" >&6; }
8395 else
8396 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8397 $as_echo "no" >&6; }
8401 test -n "$OBJC" && break
8402 done
8404 if test -z "$OBJC"; then
8405 ac_ct_OBJC=$OBJC
8406 for ac_prog in gcc objcc objc cc CC
8408 # Extract the first word of "$ac_prog", so it can be a program name with args.
8409 set dummy $ac_prog; ac_word=$2
8410 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8411 $as_echo_n "checking for $ac_word... " >&6; }
8412 if ${ac_cv_prog_ac_ct_OBJC+:} false; then :
8413 $as_echo_n "(cached) " >&6
8414 else
8415 if test -n "$ac_ct_OBJC"; then
8416 ac_cv_prog_ac_ct_OBJC="$ac_ct_OBJC" # Let the user override the test.
8417 else
8418 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8419 for as_dir in $PATH
8421 IFS=$as_save_IFS
8422 test -z "$as_dir" && as_dir=.
8423 for ac_exec_ext in '' $ac_executable_extensions; do
8424 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8425 ac_cv_prog_ac_ct_OBJC="$ac_prog"
8426 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8427 break 2
8429 done
8430 done
8431 IFS=$as_save_IFS
8435 ac_ct_OBJC=$ac_cv_prog_ac_ct_OBJC
8436 if test -n "$ac_ct_OBJC"; then
8437 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJC" >&5
8438 $as_echo "$ac_ct_OBJC" >&6; }
8439 else
8440 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8441 $as_echo "no" >&6; }
8445 test -n "$ac_ct_OBJC" && break
8446 done
8448 if test "x$ac_ct_OBJC" = x; then
8449 OBJC="gcc"
8450 else
8451 case $cross_compiling:$ac_tool_warned in
8452 yes:)
8453 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8454 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8455 ac_tool_warned=yes ;;
8456 esac
8457 OBJC=$ac_ct_OBJC
8461 # Provide some information about the compiler.
8462 $as_echo "$as_me:${as_lineno-$LINENO}: checking for Objective C compiler version" >&5
8463 set X $ac_compile
8464 ac_compiler=$2
8465 for ac_option in --version -v -V -qversion; do
8466 { { ac_try="$ac_compiler $ac_option >&5"
8467 case "(($ac_try" in
8468 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8469 *) ac_try_echo=$ac_try;;
8470 esac
8471 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
8472 $as_echo "$ac_try_echo"; } >&5
8473 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
8474 ac_status=$?
8475 if test -s conftest.err; then
8476 sed '10a\
8477 ... rest of stderr output deleted ...
8478 10q' conftest.err >conftest.er1
8479 cat conftest.er1 >&5
8481 rm -f conftest.er1 conftest.err
8482 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8483 test $ac_status = 0; }
8484 done
8486 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU Objective C compiler" >&5
8487 $as_echo_n "checking whether we are using the GNU Objective C compiler... " >&6; }
8488 if ${ac_cv_objc_compiler_gnu+:} false; then :
8489 $as_echo_n "(cached) " >&6
8490 else
8491 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8492 /* end confdefs.h. */
8495 main ()
8497 #ifndef __GNUC__
8498 choke me
8499 #endif
8502 return 0;
8504 _ACEOF
8505 if ac_fn_objc_try_compile "$LINENO"; then :
8506 ac_compiler_gnu=yes
8507 else
8508 ac_compiler_gnu=no
8510 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8511 ac_cv_objc_compiler_gnu=$ac_compiler_gnu
8514 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objc_compiler_gnu" >&5
8515 $as_echo "$ac_cv_objc_compiler_gnu" >&6; }
8516 if test $ac_compiler_gnu = yes; then
8517 GOBJC=yes
8518 else
8519 GOBJC=
8521 ac_test_OBJCFLAGS=${OBJCFLAGS+set}
8522 ac_save_OBJCFLAGS=$OBJCFLAGS
8523 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $OBJC accepts -g" >&5
8524 $as_echo_n "checking whether $OBJC accepts -g... " >&6; }
8525 if ${ac_cv_prog_objc_g+:} false; then :
8526 $as_echo_n "(cached) " >&6
8527 else
8528 ac_save_objc_werror_flag=$ac_objc_werror_flag
8529 ac_objc_werror_flag=yes
8530 ac_cv_prog_objc_g=no
8531 OBJCFLAGS="-g"
8532 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8533 /* end confdefs.h. */
8536 main ()
8540 return 0;
8542 _ACEOF
8543 if ac_fn_objc_try_compile "$LINENO"; then :
8544 ac_cv_prog_objc_g=yes
8545 else
8546 OBJCFLAGS=""
8547 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8548 /* end confdefs.h. */
8551 main ()
8555 return 0;
8557 _ACEOF
8558 if ac_fn_objc_try_compile "$LINENO"; then :
8560 else
8561 ac_objc_werror_flag=$ac_save_objc_werror_flag
8562 OBJCFLAGS="-g"
8563 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8564 /* end confdefs.h. */
8567 main ()
8571 return 0;
8573 _ACEOF
8574 if ac_fn_objc_try_compile "$LINENO"; then :
8575 ac_cv_prog_objc_g=yes
8577 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8579 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8581 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8582 ac_objc_werror_flag=$ac_save_objc_werror_flag
8584 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_objc_g" >&5
8585 $as_echo "$ac_cv_prog_objc_g" >&6; }
8586 if test "$ac_test_OBJCFLAGS" = set; then
8587 OBJCFLAGS=$ac_save_OBJCFLAGS
8588 elif test $ac_cv_prog_objc_g = yes; then
8589 if test "$GOBJC" = yes; then
8590 OBJCFLAGS="-g -O2"
8591 else
8592 OBJCFLAGS="-g"
8594 else
8595 if test "$GOBJC" = yes; then
8596 OBJCFLAGS="-O2"
8597 else
8598 OBJCFLAGS=
8601 ac_ext=m
8602 ac_cpp='$OBJCPP $CPPFLAGS'
8603 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8604 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8605 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
8608 ac_ext=m
8609 ac_cpp='$OBJCPP $CPPFLAGS'
8610 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8611 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8612 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
8613 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the Objective C preprocessor" >&5
8614 $as_echo_n "checking how to run the Objective C preprocessor... " >&6; }
8615 if test -z "$OBJCPP"; then
8616 if ${ac_cv_prog_OBJCPP+:} false; then :
8617 $as_echo_n "(cached) " >&6
8618 else
8619 # Double quotes because OBJCPP needs to be expanded
8620 for OBJCPP in "$OBJC -E" "/lib/cpp"
8622 ac_preproc_ok=false
8623 for ac_objc_preproc_warn_flag in '' yes
8625 # Use a header file that comes with gcc, so configuring glibc
8626 # with a fresh cross-compiler works.
8627 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8628 # <limits.h> exists even on freestanding compilers.
8629 # On the NeXT, cc -E runs the code through the compiler's parser,
8630 # not just through cpp. "Syntax error" is here to catch this case.
8631 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8632 /* end confdefs.h. */
8633 #ifdef __STDC__
8634 # include <limits.h>
8635 #else
8636 # include <assert.h>
8637 #endif
8638 Syntax error
8639 _ACEOF
8640 if ac_fn_objc_try_cpp "$LINENO"; then :
8642 else
8643 # Broken: fails on valid input.
8644 continue
8646 rm -f conftest.err conftest.i conftest.$ac_ext
8648 # OK, works on sane cases. Now check whether nonexistent headers
8649 # can be detected and how.
8650 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8651 /* end confdefs.h. */
8652 #include <ac_nonexistent.h>
8653 _ACEOF
8654 if ac_fn_objc_try_cpp "$LINENO"; then :
8655 # Broken: success on invalid input.
8656 continue
8657 else
8658 # Passes both tests.
8659 ac_preproc_ok=:
8660 break
8662 rm -f conftest.err conftest.i conftest.$ac_ext
8664 done
8665 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
8666 rm -f conftest.i conftest.err conftest.$ac_ext
8667 if $ac_preproc_ok; then :
8668 break
8671 done
8672 ac_cv_prog_OBJCPP=$OBJCPP
8675 OBJCPP=$ac_cv_prog_OBJCPP
8676 else
8677 ac_cv_prog_OBJCPP=$OBJCPP
8679 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJCPP" >&5
8680 $as_echo "$OBJCPP" >&6; }
8681 ac_preproc_ok=false
8682 for ac_objc_preproc_warn_flag in '' yes
8684 # Use a header file that comes with gcc, so configuring glibc
8685 # with a fresh cross-compiler works.
8686 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8687 # <limits.h> exists even on freestanding compilers.
8688 # On the NeXT, cc -E runs the code through the compiler's parser,
8689 # not just through cpp. "Syntax error" is here to catch this case.
8690 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8691 /* end confdefs.h. */
8692 #ifdef __STDC__
8693 # include <limits.h>
8694 #else
8695 # include <assert.h>
8696 #endif
8697 Syntax error
8698 _ACEOF
8699 if ac_fn_objc_try_cpp "$LINENO"; then :
8701 else
8702 # Broken: fails on valid input.
8703 continue
8705 rm -f conftest.err conftest.i conftest.$ac_ext
8707 # OK, works on sane cases. Now check whether nonexistent headers
8708 # can be detected and how.
8709 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8710 /* end confdefs.h. */
8711 #include <ac_nonexistent.h>
8712 _ACEOF
8713 if ac_fn_objc_try_cpp "$LINENO"; then :
8714 # Broken: success on invalid input.
8715 continue
8716 else
8717 # Passes both tests.
8718 ac_preproc_ok=:
8719 break
8721 rm -f conftest.err conftest.i conftest.$ac_ext
8723 done
8724 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
8725 rm -f conftest.i conftest.err conftest.$ac_ext
8726 if $ac_preproc_ok; then :
8728 else
8729 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
8730 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
8731 as_fn_error $? "Objective C preprocessor \"$OBJCPP\" fails sanity check
8732 See \`config.log' for more details" "$LINENO" 5; }
8735 ac_ext=m
8736 ac_cpp='$OBJCPP $CPPFLAGS'
8737 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8738 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8739 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
8742 for ac_header in Metal/Metal.h
8743 do :
8744 ac_fn_objc_check_header_mongrel "$LINENO" "Metal/Metal.h" "ac_cv_header_Metal_Metal_h" "$ac_includes_default"
8745 if test "x$ac_cv_header_Metal_Metal_h" = xyes; then :
8746 cat >>confdefs.h <<_ACEOF
8747 #define HAVE_METAL_METAL_H 1
8748 _ACEOF
8752 done
8754 ac_ext=c
8755 ac_cpp='$CPP $CPPFLAGS'
8756 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8757 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8758 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8760 LIBEXT="dylib"
8761 DLLFLAGS="$DLLFLAGS -fPIC"
8762 LDDLLFLAGS="-fPIC"
8763 COREFOUNDATION_LIBS="-framework CoreFoundation"
8765 IOKIT_LIBS="-framework IOKit -framework CoreFoundation"
8767 FORCEFEEDBACK_LIBS="-framework ForceFeedback -framework CoreFoundation"
8769 APPLICATIONSERVICES_LIBS="-framework ApplicationServices"
8771 CORESERVICES_LIBS="-framework CoreServices"
8773 APPKIT_LIBS="-framework AppKit"
8775 SYSTEMCONFIGURATION_LIBS="-framework SystemConfiguration"
8778 WINELOADER_LDFLAGS="-Wl,-pie,-pagezero_size,0x1000,-sectcreate,__TEXT,__info_plist,loader/wine_info.plist"
8780 wine_can_build_preloader=yes
8781 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"
8782 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-no_new_main -e _main" >&5
8783 $as_echo_n "checking whether the compiler supports -Wl,-no_new_main -e _main... " >&6; }
8784 if ${ac_cv_cflags__Wl__no_new_main__e__main+:} false; then :
8785 $as_echo_n "(cached) " >&6
8786 else
8787 ac_wine_try_cflags_saved=$CFLAGS
8788 CFLAGS="$CFLAGS -Wl,-no_new_main -e _main"
8789 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8790 /* end confdefs.h. */
8791 int main(int argc, char **argv) { return 0; }
8792 _ACEOF
8793 if ac_fn_c_try_link "$LINENO"; then :
8794 ac_cv_cflags__Wl__no_new_main__e__main=yes
8795 else
8796 ac_cv_cflags__Wl__no_new_main__e__main=no
8798 rm -f core conftest.err conftest.$ac_objext \
8799 conftest$ac_exeext conftest.$ac_ext
8800 CFLAGS=$ac_wine_try_cflags_saved
8802 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__no_new_main__e__main" >&5
8803 $as_echo "$ac_cv_cflags__Wl__no_new_main__e__main" >&6; }
8804 if test "x$ac_cv_cflags__Wl__no_new_main__e__main" = xyes; then :
8805 WINEPRELOADER_LDFLAGS="-Wl,-no_new_main $WINEPRELOADER_LDFLAGS"
8806 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-no_new_main -e _main -nostartfiles -nodefaultlibs" >&5
8807 $as_echo_n "checking whether the compiler supports -Wl,-no_new_main -e _main -nostartfiles -nodefaultlibs... " >&6; }
8808 if ${ac_cv_cflags__Wl__no_new_main__e__main__nostartfiles__nodefaultlibs+:} false; then :
8809 $as_echo_n "(cached) " >&6
8810 else
8811 ac_wine_try_cflags_saved=$CFLAGS
8812 CFLAGS="$CFLAGS -Wl,-no_new_main -e _main -nostartfiles -nodefaultlibs"
8813 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8814 /* end confdefs.h. */
8815 int main(int argc, char **argv) { return 0; }
8816 _ACEOF
8817 if ac_fn_c_try_link "$LINENO"; then :
8818 ac_cv_cflags__Wl__no_new_main__e__main__nostartfiles__nodefaultlibs=yes
8819 else
8820 ac_cv_cflags__Wl__no_new_main__e__main__nostartfiles__nodefaultlibs=no
8822 rm -f core conftest.err conftest.$ac_objext \
8823 conftest$ac_exeext conftest.$ac_ext
8824 CFLAGS=$ac_wine_try_cflags_saved
8826 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__no_new_main__e__main__nostartfiles__nodefaultlibs" >&5
8827 $as_echo "$ac_cv_cflags__Wl__no_new_main__e__main__nostartfiles__nodefaultlibs" >&6; }
8828 if test "x$ac_cv_cflags__Wl__no_new_main__e__main__nostartfiles__nodefaultlibs" = xyes; then :
8829 EXTRACFLAGS="$EXTRACFLAGS -Wl,-no_new_main -e _main -nostartfiles -nodefaultlibs"
8830 else
8831 { $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
8832 $as_echo_n "checking whether the compiler supports -Wl,-no_new_main -e _main -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs... " >&6; }
8833 if ${ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs+:} false; then :
8834 $as_echo_n "(cached) " >&6
8835 else
8836 ac_wine_try_cflags_saved=$CFLAGS
8837 CFLAGS="$CFLAGS -Wl,-no_new_main -e _main -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs"
8838 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8839 /* end confdefs.h. */
8840 int main(int argc, char **argv) { return 0; }
8841 _ACEOF
8842 if ac_fn_c_try_link "$LINENO"; then :
8843 ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs=yes
8844 else
8845 ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs=no
8847 rm -f core conftest.err conftest.$ac_objext \
8848 conftest$ac_exeext conftest.$ac_ext
8849 CFLAGS=$ac_wine_try_cflags_saved
8851 { $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
8852 $as_echo "$ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" >&6; }
8853 if test "x$ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" = xyes; then :
8854 WINEPRELOADER_LDFLAGS="-mmacosx-version-min=10.7 $WINEPRELOADER_LDFLAGS"
8855 else
8856 wine_can_build_preloader=no
8859 else
8860 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -nostartfiles -nodefaultlibs" >&5
8861 $as_echo_n "checking whether the compiler supports -nostartfiles -nodefaultlibs... " >&6; }
8862 if ${ac_cv_cflags__nostartfiles__nodefaultlibs+:} false; then :
8863 $as_echo_n "(cached) " >&6
8864 else
8865 ac_wine_try_cflags_saved=$CFLAGS
8866 CFLAGS="$CFLAGS -nostartfiles -nodefaultlibs"
8867 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8868 /* end confdefs.h. */
8869 int main(int argc, char **argv) { return 0; }
8870 _ACEOF
8871 if ac_fn_c_try_link "$LINENO"; then :
8872 ac_cv_cflags__nostartfiles__nodefaultlibs=yes
8873 else
8874 ac_cv_cflags__nostartfiles__nodefaultlibs=no
8876 rm -f core conftest.err conftest.$ac_objext \
8877 conftest$ac_exeext conftest.$ac_ext
8878 CFLAGS=$ac_wine_try_cflags_saved
8880 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__nostartfiles__nodefaultlibs" >&5
8881 $as_echo "$ac_cv_cflags__nostartfiles__nodefaultlibs" >&6; }
8882 if test "x$ac_cv_cflags__nostartfiles__nodefaultlibs" = xyes; then :
8883 EXTRACFLAGS="$EXTRACFLAGS -nostartfiles -nodefaultlibs"
8884 else
8885 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs" >&5
8886 $as_echo_n "checking whether the compiler supports -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs... " >&6; }
8887 if ${ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs+:} false; then :
8888 $as_echo_n "(cached) " >&6
8889 else
8890 ac_wine_try_cflags_saved=$CFLAGS
8891 CFLAGS="$CFLAGS -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs"
8892 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8893 /* end confdefs.h. */
8894 int main(int argc, char **argv) { return 0; }
8895 _ACEOF
8896 if ac_fn_c_try_link "$LINENO"; then :
8897 ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs=yes
8898 else
8899 ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs=no
8901 rm -f core conftest.err conftest.$ac_objext \
8902 conftest$ac_exeext conftest.$ac_ext
8903 CFLAGS=$ac_wine_try_cflags_saved
8905 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" >&5
8906 $as_echo "$ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" >&6; }
8907 if test "x$ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" = xyes; then :
8908 WINEPRELOADER_LDFLAGS="-mmacosx-version-min=10.7 $WINEPRELOADER_LDFLAGS"
8909 else
8910 wine_can_build_preloader=no
8914 if test "$wine_can_build_preloader" = "yes"
8915 then
8916 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-no_pie" >&5
8917 $as_echo_n "checking whether the compiler supports -Wl,-no_pie... " >&6; }
8918 if ${ac_cv_cflags__Wl__no_pie+:} false; then :
8919 $as_echo_n "(cached) " >&6
8920 else
8921 ac_wine_try_cflags_saved=$CFLAGS
8922 CFLAGS="$CFLAGS -Wl,-no_pie"
8923 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8924 /* end confdefs.h. */
8925 int main(int argc, char **argv) { return 0; }
8926 _ACEOF
8927 if ac_fn_c_try_link "$LINENO"; then :
8928 ac_cv_cflags__Wl__no_pie=yes
8929 else
8930 ac_cv_cflags__Wl__no_pie=no
8932 rm -f core conftest.err conftest.$ac_objext \
8933 conftest$ac_exeext conftest.$ac_ext
8934 CFLAGS=$ac_wine_try_cflags_saved
8936 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__no_pie" >&5
8937 $as_echo "$ac_cv_cflags__Wl__no_pie" >&6; }
8938 if test "x$ac_cv_cflags__Wl__no_pie" = xyes; then :
8939 WINEPRELOADER_LDFLAGS="-Wl,-no_pie $WINEPRELOADER_LDFLAGS"
8941 test "$wine_binary" = wine || wine_fn_append_file CONFIGURE_TARGETS "loader/wine-preloader"
8942 WINELOADER_PROGRAMS="$WINELOADER_PROGRAMS $wine_binary-preloader"
8943 else
8944 as_fn_append wine_warnings "|can't build Wine preloader; many programs won't work"
8947 if test "$ac_cv_header_DiskArbitration_DiskArbitration_h" = "yes"
8948 then
8949 DISKARBITRATION_LIBS="-framework DiskArbitration -framework CoreFoundation"
8952 if test "$ac_cv_header_Security_Security_h" = "yes"
8953 then
8954 SECURITY_LIBS="-framework Security -framework CoreFoundation"
8956 ac_save_LIBS="$LIBS"
8957 LIBS="$LIBS $SECURITY_LIBS"
8958 for ac_func in SSLCopyPeerCertificates
8959 do :
8960 ac_fn_c_check_func "$LINENO" "SSLCopyPeerCertificates" "ac_cv_func_SSLCopyPeerCertificates"
8961 if test "x$ac_cv_func_SSLCopyPeerCertificates" = xyes; then :
8962 cat >>confdefs.h <<_ACEOF
8963 #define HAVE_SSLCOPYPEERCERTIFICATES 1
8964 _ACEOF
8967 done
8969 LIBS="$ac_save_LIBS"
8971 if test "$ac_cv_header_CoreAudio_CoreAudio_h" = "yes" -a "$ac_cv_header_AudioUnit_AudioUnit_h" = "yes"
8972 then
8973 if test "$ac_cv_header_AudioUnit_AudioComponent_h" = "yes"
8974 then
8975 COREAUDIO_LIBS="-framework CoreFoundation -framework CoreAudio -framework AudioUnit -framework AudioToolbox -framework CoreMIDI"
8977 else
8978 COREAUDIO_LIBS="-framework CoreAudio -framework AudioUnit -framework CoreServices -framework AudioToolbox -framework CoreMIDI"
8981 enable_winecoreaudio_drv=${enable_winecoreaudio_drv:-yes}
8982 ac_save_LIBS="$LIBS"
8983 LIBS="$LIBS $COREAUDIO_LIBS"
8984 for ac_func in AUGraphAddNode
8985 do :
8986 ac_fn_c_check_func "$LINENO" "AUGraphAddNode" "ac_cv_func_AUGraphAddNode"
8987 if test "x$ac_cv_func_AUGraphAddNode" = xyes; then :
8988 cat >>confdefs.h <<_ACEOF
8989 #define HAVE_AUGRAPHADDNODE 1
8990 _ACEOF
8993 done
8995 LIBS="$ac_save_LIBS"
8997 if test "$ac_cv_header_OpenAL_al_h" = "yes"
8998 then
8999 OPENAL_LIBS="-framework OpenAL"
9002 cat >>confdefs.h <<_ACEOF
9003 #define HAVE_OPENAL 1
9004 _ACEOF
9006 ac_cv_lib_openal=yes
9008 if test "$ac_cv_header_OpenCL_opencl_h" = "yes"
9009 then
9010 OPENCL_LIBS="-framework OpenCL"
9012 ac_cv_lib_OpenCL_clGetPlatformInfo=yes
9014 if test "$ac_cv_header_IOKit_hid_IOHIDLib_h" = "yes"
9015 then
9016 ac_save_LIBS="$LIBS"
9017 LIBS="$LIBS $IOKIT_LIBS"
9018 for ac_func in IOHIDManagerCreate
9019 do :
9020 ac_fn_c_check_func "$LINENO" "IOHIDManagerCreate" "ac_cv_func_IOHIDManagerCreate"
9021 if test "x$ac_cv_func_IOHIDManagerCreate" = xyes; then :
9022 cat >>confdefs.h <<_ACEOF
9023 #define HAVE_IOHIDMANAGERCREATE 1
9024 _ACEOF
9027 done
9029 LIBS="$ac_save_LIBS"
9032 if test "x$with_quicktime" != "xno"
9033 then
9034 if test "$ac_cv_header_QuickTime_ImageCompression_h" = "yes"
9035 then
9036 ac_save_LIBS="$LIBS"
9037 LIBS="-framework QuickTime -framework ApplicationServices -framework CoreVideo $LIBS"
9038 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the QuickTime framework" >&5
9039 $as_echo_n "checking for the QuickTime framework... " >&6; }
9040 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9041 /* end confdefs.h. */
9042 #include <QuickTime/ImageCompression.h>
9044 main ()
9046 CodecManagerVersion(NULL);
9048 return 0;
9050 _ACEOF
9051 if ac_fn_c_try_link "$LINENO"; then :
9052 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
9053 $as_echo "yes" >&6; }
9054 QUICKTIME_LIBS="-framework QuickTime -framework ApplicationServices -framework CoreVideo"
9056 enable_wineqtdecoder=${enable_wineqtdecoder:-yes}
9057 else
9058 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9059 $as_echo "no" >&6; }
9060 ac_cv_header_QuickTime_ImageCompression_h=no
9062 rm -f core conftest.err conftest.$ac_objext \
9063 conftest$ac_exeext conftest.$ac_ext
9064 LIBS="$ac_save_LIBS"
9067 if test "$ac_cv_header_QuickTime_ImageCompression_h" != "yes"; then :
9068 case "x$with_quicktime" in
9069 x) as_fn_append wine_notices "|QuickTime ${notice_platform}development files not found, video decoding won't be supported." ;;
9070 xno) ;;
9071 *) as_fn_error $? "QuickTime ${notice_platform}development files not found, video decoding won't be supported.
9072 This is an error since --with-quicktime was requested." "$LINENO" 5 ;;
9073 esac
9077 if test "$ac_cv_header_Carbon_Carbon_h" = "yes"
9078 then
9079 CARBON_LIBS="-framework Carbon"
9082 if test "$ac_cv_header_Metal_Metal_h" = "yes"
9083 then
9084 METAL_LIBS="-framework Metal -framework QuartzCore"
9088 if test "$ac_cv_header_Metal_Metal_h" = "yes"
9089 then
9090 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether MTLDevice protocol supports registryID property" >&5
9091 $as_echo_n "checking whether MTLDevice protocol supports registryID property... " >&6; }
9092 ac_ext=m
9093 ac_cpp='$OBJCPP $CPPFLAGS'
9094 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9095 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9096 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
9098 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9099 /* end confdefs.h. */
9100 #include <Metal/Metal.h>
9102 main ()
9104 id<MTLDevice> device; device.registryID;
9106 return 0;
9108 _ACEOF
9109 if ac_fn_objc_try_compile "$LINENO"; then :
9110 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
9111 $as_echo "yes" >&6; }
9113 $as_echo "#define HAVE_MTLDEVICE_REGISTRYID 1" >>confdefs.h
9115 else
9116 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9117 $as_echo "no" >&6; }
9119 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9120 ac_ext=c
9121 ac_cpp='$CPP $CPPFLAGS'
9122 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9123 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9124 ac_compiler_gnu=$ac_cv_c_compiler_gnu
9128 if test "$ac_cv_header_ApplicationServices_ApplicationServices_h" = "yes"
9129 then
9130 ac_save_LIBS="$LIBS"
9131 LIBS="$LIBS $APPLICATIONSERVICES_LIBS"
9132 ac_fn_c_check_func "$LINENO" "CGDisplayModeGetWidth" "ac_cv_func_CGDisplayModeGetWidth"
9133 if test "x$ac_cv_func_CGDisplayModeGetWidth" = xyes; then :
9134 enable_winemac_drv=${enable_winemac_drv:-yes}
9137 LIBS="$ac_save_LIBS"
9140 LIBWINE_SHAREDLIB="libwine.$libwine_version.dylib"
9142 LIBWINE_LDFLAGS="-dynamiclib -install_name @rpath/libwine.$libwine_soversion.dylib -Wl,-rpath,@loader_path/ -compatibility_version $libwine_soversion -current_version $libwine_version"
9144 WINELOADER_DEPENDS="wine_info.plist"
9146 TOP_INSTALL_LIB="$TOP_INSTALL_LIB libs/wine/libwine.$libwine_version.dylib libs/wine/libwine.$libwine_soversion.dylib"
9149 linux-android*)
9150 DLLFLAGS="$DLLFLAGS -fPIC"
9151 LDDLLFLAGS="-fPIC"
9152 LDEXECFLAGS="-Wl,-pie"
9153 enable_wineandroid_drv=${enable_wineandroid_drv:-yes}
9154 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
9155 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--export-dynamic... " >&6; }
9156 if ${ac_cv_cflags__fPIC__Wl___export_dynamic+:} false; then :
9157 $as_echo_n "(cached) " >&6
9158 else
9159 ac_wine_try_cflags_saved=$CFLAGS
9160 CFLAGS="$CFLAGS -fPIC -Wl,--export-dynamic"
9161 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9162 /* end confdefs.h. */
9163 int main(int argc, char **argv) { return 0; }
9164 _ACEOF
9165 if ac_fn_c_try_link "$LINENO"; then :
9166 ac_cv_cflags__fPIC__Wl___export_dynamic=yes
9167 else
9168 ac_cv_cflags__fPIC__Wl___export_dynamic=no
9170 rm -f core conftest.err conftest.$ac_objext \
9171 conftest$ac_exeext conftest.$ac_ext
9172 CFLAGS=$ac_wine_try_cflags_saved
9174 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
9175 $as_echo "$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
9176 if test "x$ac_cv_cflags__fPIC__Wl___export_dynamic" = xyes; then :
9177 WINELOADER_LDFLAGS="-Wl,--export-dynamic"
9179 WINEPRELOADER_LDFLAGS="-static -nostartfiles -nodefaultlibs -Wl,-Ttext=0x7d400000"
9181 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lEGL" >&5
9182 $as_echo_n "checking for -lEGL... " >&6; }
9183 if ${ac_cv_lib_soname_EGL+:} false; then :
9184 $as_echo_n "(cached) " >&6
9185 else
9186 ac_check_soname_save_LIBS=$LIBS
9187 LIBS="-lEGL $LIBS"
9188 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9189 /* end confdefs.h. */
9191 /* Override any GCC internal prototype to avoid an error.
9192 Use char because int might match the return type of a GCC
9193 builtin and then its argument prototype would still apply. */
9194 #ifdef __cplusplus
9195 extern "C"
9196 #endif
9197 char eglGetProcAddress ();
9199 main ()
9201 return eglGetProcAddress ();
9203 return 0;
9205 _ACEOF
9206 if ac_fn_c_try_link "$LINENO"; then :
9207 case "$LIBEXT" in
9208 dll) ac_cv_lib_soname_EGL=`$ac_cv_path_LDD conftest.exe | grep "EGL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9209 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'` ;;
9210 *) ac_cv_lib_soname_EGL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libEGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libEGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9211 if ${ac_cv_lib_soname_EGL:+false} :; then :
9212 ac_cv_lib_soname_EGL=`$LDD conftest$ac_exeext | grep "libEGL\\.$LIBEXT" | sed -e "s/^.*\(libEGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9213 fi ;;
9214 esac
9215 else
9216 ac_cv_lib_soname_EGL=
9218 rm -f core conftest.err conftest.$ac_objext \
9219 conftest$ac_exeext conftest.$ac_ext
9220 LIBS=$ac_check_soname_save_LIBS
9222 if ${ac_cv_lib_soname_EGL:+false} :; then :
9223 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9224 $as_echo "not found" >&6; }
9226 else
9227 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_EGL" >&5
9228 $as_echo "$ac_cv_lib_soname_EGL" >&6; }
9230 cat >>confdefs.h <<_ACEOF
9231 #define SONAME_LIBEGL "$ac_cv_lib_soname_EGL"
9232 _ACEOF
9236 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGLESv2" >&5
9237 $as_echo_n "checking for -lGLESv2... " >&6; }
9238 if ${ac_cv_lib_soname_GLESv2+:} false; then :
9239 $as_echo_n "(cached) " >&6
9240 else
9241 ac_check_soname_save_LIBS=$LIBS
9242 LIBS="-lGLESv2 $LIBS"
9243 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9244 /* end confdefs.h. */
9246 /* Override any GCC internal prototype to avoid an error.
9247 Use char because int might match the return type of a GCC
9248 builtin and then its argument prototype would still apply. */
9249 #ifdef __cplusplus
9250 extern "C"
9251 #endif
9252 char glFlush ();
9254 main ()
9256 return glFlush ();
9258 return 0;
9260 _ACEOF
9261 if ac_fn_c_try_link "$LINENO"; then :
9262 case "$LIBEXT" in
9263 dll) ac_cv_lib_soname_GLESv2=`$ac_cv_path_LDD conftest.exe | grep "GLESv2" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9264 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'` ;;
9265 *) ac_cv_lib_soname_GLESv2=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGLESv2\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGLESv2\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9266 if ${ac_cv_lib_soname_GLESv2:+false} :; then :
9267 ac_cv_lib_soname_GLESv2=`$LDD conftest$ac_exeext | grep "libGLESv2\\.$LIBEXT" | sed -e "s/^.*\(libGLESv2\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9268 fi ;;
9269 esac
9270 else
9271 ac_cv_lib_soname_GLESv2=
9273 rm -f core conftest.err conftest.$ac_objext \
9274 conftest$ac_exeext conftest.$ac_ext
9275 LIBS=$ac_check_soname_save_LIBS
9277 if ${ac_cv_lib_soname_GLESv2:+false} :; then :
9278 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9279 $as_echo "not found" >&6; }
9281 else
9282 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GLESv2" >&5
9283 $as_echo "$ac_cv_lib_soname_GLESv2" >&6; }
9285 cat >>confdefs.h <<_ACEOF
9286 #define SONAME_LIBGLESV2 "$ac_cv_lib_soname_GLESv2"
9287 _ACEOF
9292 if test "x$exec_prefix" = xNONE
9293 then
9294 case $host_cpu in
9295 *i[3456]86*) exec_prefix='${prefix}/x86' ;;
9296 *x86_64*) exec_prefix='${prefix}/x86_64' ;;
9297 *arm*) exec_prefix='${prefix}/armeabi-v7a' ;;
9298 *aarch64*) exec_prefix='${prefix}/arm64-v8a' ;;
9299 esac
9304 case $host_cpu in
9305 *i[3456789]86*)
9306 DLLFLAGS="$DLLFLAGS -fno-PIC"
9307 LDDLLFLAGS="-fno-PIC"
9308 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-PIC -Wl,-z,notext" >&5
9309 $as_echo_n "checking whether the compiler supports -fno-PIC -Wl,-z,notext... " >&6; }
9310 if ${ac_cv_cflags__fno_PIC__Wl__z_notext+:} false; then :
9311 $as_echo_n "(cached) " >&6
9312 else
9313 ac_wine_try_cflags_saved=$CFLAGS
9314 CFLAGS="$CFLAGS -fno-PIC -Wl,-z,notext"
9315 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9316 /* end confdefs.h. */
9317 int main(int argc, char **argv) { return 0; }
9318 _ACEOF
9319 if ac_fn_c_try_link "$LINENO"; then :
9320 ac_cv_cflags__fno_PIC__Wl__z_notext=yes
9321 else
9322 ac_cv_cflags__fno_PIC__Wl__z_notext=no
9324 rm -f core conftest.err conftest.$ac_objext \
9325 conftest$ac_exeext conftest.$ac_ext
9326 CFLAGS=$ac_wine_try_cflags_saved
9328 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_PIC__Wl__z_notext" >&5
9329 $as_echo "$ac_cv_cflags__fno_PIC__Wl__z_notext" >&6; }
9330 if test "x$ac_cv_cflags__fno_PIC__Wl__z_notext" = xyes; then :
9331 LDDLLFLAGS="$LDDLLFLAGS -Wl,-z,notext"
9335 DLLFLAGS="$DLLFLAGS -fPIC"
9336 LDDLLFLAGS="-fPIC" ;;
9337 esac
9338 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build a GNU style ELF dll" >&5
9339 $as_echo_n "checking whether we can build a GNU style ELF dll... " >&6; }
9340 if ${ac_cv_c_dll_gnuelf+:} false; then :
9341 $as_echo_n "(cached) " >&6
9342 else
9343 ac_wine_try_cflags_saved=$CFLAGS
9344 CFLAGS="$CFLAGS -fPIC -shared -Wl,-Bsymbolic"
9345 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9346 /* end confdefs.h. */
9347 void myfunc() {}
9348 _ACEOF
9349 if ac_fn_c_try_link "$LINENO"; then :
9350 ac_cv_cflags__fPIC__shared__Wl__Bsymbolic=yes
9351 else
9352 ac_cv_cflags__fPIC__shared__Wl__Bsymbolic=no
9354 rm -f core conftest.err conftest.$ac_objext \
9355 conftest$ac_exeext conftest.$ac_ext
9356 CFLAGS=$ac_wine_try_cflags_saved
9357 if test "x$ac_cv_cflags__fPIC__shared__Wl__Bsymbolic" = xyes; then :
9358 ac_cv_c_dll_gnuelf="yes"
9359 else
9360 ac_cv_c_dll_gnuelf="no"
9363 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dll_gnuelf" >&5
9364 $as_echo "$ac_cv_c_dll_gnuelf" >&6; }
9365 if test "$ac_cv_c_dll_gnuelf" = "yes"
9366 then
9367 LIBWINE_LDFLAGS="-shared"
9368 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -shared -Wl,-soname,confest.so.1" >&5
9369 $as_echo_n "checking whether the compiler supports -shared -Wl,-soname,confest.so.1... " >&6; }
9370 if ${ac_cv_cflags__shared__Wl__soname_confest_so_1+:} false; then :
9371 $as_echo_n "(cached) " >&6
9372 else
9373 ac_wine_try_cflags_saved=$CFLAGS
9374 CFLAGS="$CFLAGS -shared -Wl,-soname,confest.so.1"
9375 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9376 /* end confdefs.h. */
9377 int main(int argc, char **argv) { return 0; }
9378 _ACEOF
9379 if ac_fn_c_try_link "$LINENO"; then :
9380 ac_cv_cflags__shared__Wl__soname_confest_so_1=yes
9381 else
9382 ac_cv_cflags__shared__Wl__soname_confest_so_1=no
9384 rm -f core conftest.err conftest.$ac_objext \
9385 conftest$ac_exeext conftest.$ac_ext
9386 CFLAGS=$ac_wine_try_cflags_saved
9388 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__shared__Wl__soname_confest_so_1" >&5
9389 $as_echo "$ac_cv_cflags__shared__Wl__soname_confest_so_1" >&6; }
9390 if test "x$ac_cv_cflags__shared__Wl__soname_confest_so_1" = xyes; then :
9391 LIBWINE_LDFLAGS="-shared -Wl,-soname,libwine.so.$libwine_soversion"
9392 else
9393 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -shared -Wl,-h,confest.so.1" >&5
9394 $as_echo_n "checking whether the compiler supports -shared -Wl,-h,confest.so.1... " >&6; }
9395 if ${ac_cv_cflags__shared__Wl__h_confest_so_1+:} false; then :
9396 $as_echo_n "(cached) " >&6
9397 else
9398 ac_wine_try_cflags_saved=$CFLAGS
9399 CFLAGS="$CFLAGS -shared -Wl,-h,confest.so.1"
9400 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9401 /* end confdefs.h. */
9402 int main(int argc, char **argv) { return 0; }
9403 _ACEOF
9404 if ac_fn_c_try_link "$LINENO"; then :
9405 ac_cv_cflags__shared__Wl__h_confest_so_1=yes
9406 else
9407 ac_cv_cflags__shared__Wl__h_confest_so_1=no
9409 rm -f core conftest.err conftest.$ac_objext \
9410 conftest$ac_exeext conftest.$ac_ext
9411 CFLAGS=$ac_wine_try_cflags_saved
9413 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__shared__Wl__h_confest_so_1" >&5
9414 $as_echo "$ac_cv_cflags__shared__Wl__h_confest_so_1" >&6; }
9415 if test "x$ac_cv_cflags__shared__Wl__h_confest_so_1" = xyes; then :
9416 LIBWINE_LDFLAGS="-shared -Wl,-h,libwine.so.$libwine_soversion"
9420 echo '{ global: *; };' >conftest.map
9421 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -shared -Wl,--version-script=conftest.map" >&5
9422 $as_echo_n "checking whether the compiler supports -shared -Wl,--version-script=conftest.map... " >&6; }
9423 if ${ac_cv_cflags__shared__Wl___version_script_conftest_map+:} false; then :
9424 $as_echo_n "(cached) " >&6
9425 else
9426 ac_wine_try_cflags_saved=$CFLAGS
9427 CFLAGS="$CFLAGS -shared -Wl,--version-script=conftest.map"
9428 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9429 /* end confdefs.h. */
9430 int main(int argc, char **argv) { return 0; }
9431 _ACEOF
9432 if ac_fn_c_try_link "$LINENO"; then :
9433 ac_cv_cflags__shared__Wl___version_script_conftest_map=yes
9434 else
9435 ac_cv_cflags__shared__Wl___version_script_conftest_map=no
9437 rm -f core conftest.err conftest.$ac_objext \
9438 conftest$ac_exeext conftest.$ac_ext
9439 CFLAGS=$ac_wine_try_cflags_saved
9441 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__shared__Wl___version_script_conftest_map" >&5
9442 $as_echo "$ac_cv_cflags__shared__Wl___version_script_conftest_map" >&6; }
9443 if test "x$ac_cv_cflags__shared__Wl___version_script_conftest_map" = xyes; then :
9444 LIBWINE_LDFLAGS="$LIBWINE_LDFLAGS -Wl,--version-script=\$(srcdir)/wine.map"
9446 rm -f conftest.map
9448 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--export-dynamic" >&5
9449 $as_echo_n "checking whether the compiler supports -Wl,--export-dynamic... " >&6; }
9450 if ${ac_cv_cflags__Wl___export_dynamic+:} false; then :
9451 $as_echo_n "(cached) " >&6
9452 else
9453 ac_wine_try_cflags_saved=$CFLAGS
9454 CFLAGS="$CFLAGS -Wl,--export-dynamic"
9455 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9456 /* end confdefs.h. */
9457 int main(int argc, char **argv) { return 0; }
9458 _ACEOF
9459 if ac_fn_c_try_link "$LINENO"; then :
9460 ac_cv_cflags__Wl___export_dynamic=yes
9461 else
9462 ac_cv_cflags__Wl___export_dynamic=no
9464 rm -f core conftest.err conftest.$ac_objext \
9465 conftest$ac_exeext conftest.$ac_ext
9466 CFLAGS=$ac_wine_try_cflags_saved
9468 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___export_dynamic" >&5
9469 $as_echo "$ac_cv_cflags__Wl___export_dynamic" >&6; }
9470 if test "x$ac_cv_cflags__Wl___export_dynamic" = xyes; then :
9471 WINELOADER_LDFLAGS="-Wl,--export-dynamic"
9473 WINEPRELOADER_LDFLAGS="-static -nostartfiles -nodefaultlibs -Wl,-Ttext=0x7d400000"
9475 case $host_cpu in
9476 *i[3456789]86* | x86_64 | *aarch64*)
9477 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-Ttext-segment=0x7bc00000" >&5
9478 $as_echo_n "checking whether the compiler supports -Wl,-Ttext-segment=0x7bc00000... " >&6; }
9479 if ${ac_cv_cflags__Wl__Ttext_segment_0x7bc00000+:} false; then :
9480 $as_echo_n "(cached) " >&6
9481 else
9482 ac_wine_try_cflags_saved=$CFLAGS
9483 CFLAGS="$CFLAGS -Wl,-Ttext-segment=0x7bc00000"
9484 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9485 /* end confdefs.h. */
9486 int main(int argc, char **argv) { return 0; }
9487 _ACEOF
9488 if ac_fn_c_try_link "$LINENO"; then :
9489 ac_cv_cflags__Wl__Ttext_segment_0x7bc00000=yes
9490 else
9491 ac_cv_cflags__Wl__Ttext_segment_0x7bc00000=no
9493 rm -f core conftest.err conftest.$ac_objext \
9494 conftest$ac_exeext conftest.$ac_ext
9495 CFLAGS=$ac_wine_try_cflags_saved
9497 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" >&5
9498 $as_echo "$ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" >&6; }
9499 if test "x$ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" = xyes; then :
9500 case $host_os in
9501 freebsd* | kfreebsd*-gnu) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,-Ttext-segment=0x60000000" ;;
9502 *) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,-Ttext-segment=0x7d000000" ;;
9503 esac
9504 else
9505 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--section-start,.interp=0x7d000400" >&5
9506 $as_echo_n "checking whether the compiler supports -Wl,--section-start,.interp=0x7d000400... " >&6; }
9507 if ${ac_cv_cflags__Wl___section_start__interp_0x7d000400+:} false; then :
9508 $as_echo_n "(cached) " >&6
9509 else
9510 ac_wine_try_cflags_saved=$CFLAGS
9511 CFLAGS="$CFLAGS -Wl,--section-start,.interp=0x7d000400"
9512 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9513 /* end confdefs.h. */
9514 int main(int argc, char **argv) { return 0; }
9515 _ACEOF
9516 if ac_fn_c_try_link "$LINENO"; then :
9517 ac_cv_cflags__Wl___section_start__interp_0x7d000400=yes
9518 else
9519 ac_cv_cflags__Wl___section_start__interp_0x7d000400=no
9521 rm -f core conftest.err conftest.$ac_objext \
9522 conftest$ac_exeext conftest.$ac_ext
9523 CFLAGS=$ac_wine_try_cflags_saved
9525 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___section_start__interp_0x7d000400" >&5
9526 $as_echo "$ac_cv_cflags__Wl___section_start__interp_0x7d000400" >&6; }
9527 if test "x$ac_cv_cflags__Wl___section_start__interp_0x7d000400" = xyes; then :
9528 case $host_os in
9529 freebsd* | kfreebsd*-gnu) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,--section-start,.interp=0x60000400" ;;
9530 *) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,--section-start,.interp=0x7d000400" ;;
9531 esac
9533 # Extract the first word of "prelink", so it can be a program name with args.
9534 set dummy prelink; ac_word=$2
9535 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9536 $as_echo_n "checking for $ac_word... " >&6; }
9537 if ${ac_cv_path_PRELINK+:} false; then :
9538 $as_echo_n "(cached) " >&6
9539 else
9540 case $PRELINK in
9541 [\\/]* | ?:[\\/]*)
9542 ac_cv_path_PRELINK="$PRELINK" # Let the user override the test with a path.
9545 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9546 for as_dir in /sbin /usr/sbin $PATH
9548 IFS=$as_save_IFS
9549 test -z "$as_dir" && as_dir=.
9550 for ac_exec_ext in '' $ac_executable_extensions; do
9551 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9552 ac_cv_path_PRELINK="$as_dir/$ac_word$ac_exec_ext"
9553 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9554 break 2
9556 done
9557 done
9558 IFS=$as_save_IFS
9560 test -z "$ac_cv_path_PRELINK" && ac_cv_path_PRELINK="false"
9562 esac
9564 PRELINK=$ac_cv_path_PRELINK
9565 if test -n "$PRELINK"; then
9566 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PRELINK" >&5
9567 $as_echo "$PRELINK" >&6; }
9568 else
9569 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9570 $as_echo "no" >&6; }
9574 if test "x$PRELINK" = xfalse
9575 then
9576 as_fn_append wine_warnings "|prelink not found and linker does not support relocation, base address of core dlls won't be set correctly."
9579 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-z,max-page-size=0x1000" >&5
9580 $as_echo_n "checking whether the compiler supports -Wl,-z,max-page-size=0x1000... " >&6; }
9581 if ${ac_cv_cflags__Wl__z_max_page_size_0x1000+:} false; then :
9582 $as_echo_n "(cached) " >&6
9583 else
9584 ac_wine_try_cflags_saved=$CFLAGS
9585 CFLAGS="$CFLAGS -Wl,-z,max-page-size=0x1000"
9586 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9587 /* end confdefs.h. */
9588 int main(int argc, char **argv) { return 0; }
9589 _ACEOF
9590 if ac_fn_c_try_link "$LINENO"; then :
9591 ac_cv_cflags__Wl__z_max_page_size_0x1000=yes
9592 else
9593 ac_cv_cflags__Wl__z_max_page_size_0x1000=no
9595 rm -f core conftest.err conftest.$ac_objext \
9596 conftest$ac_exeext conftest.$ac_ext
9597 CFLAGS=$ac_wine_try_cflags_saved
9599 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__z_max_page_size_0x1000" >&5
9600 $as_echo "$ac_cv_cflags__Wl__z_max_page_size_0x1000" >&6; }
9601 if test "x$ac_cv_cflags__Wl__z_max_page_size_0x1000" = xyes; then :
9602 WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,-z,max-page-size=0x1000"
9605 esac
9607 else
9608 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build a UnixWare (Solaris) dll" >&5
9609 $as_echo_n "checking whether we can build a UnixWare (Solaris) dll... " >&6; }
9610 if ${ac_cv_c_dll_unixware+:} false; then :
9611 $as_echo_n "(cached) " >&6
9612 else
9613 ac_wine_try_cflags_saved=$CFLAGS
9614 CFLAGS="$CFLAGS -fPIC -Wl,-G,-h,conftest.so.1.0,-B,symbolic"
9615 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9616 /* end confdefs.h. */
9617 void myfunc() {}
9618 _ACEOF
9619 if ac_fn_c_try_link "$LINENO"; then :
9620 ac_cv_cflags__fPIC__Wl__G__h_conftest_so_1_0__B_symbolic=yes
9621 else
9622 ac_cv_cflags__fPIC__Wl__G__h_conftest_so_1_0__B_symbolic=no
9624 rm -f core conftest.err conftest.$ac_objext \
9625 conftest$ac_exeext conftest.$ac_ext
9626 CFLAGS=$ac_wine_try_cflags_saved
9627 if test "x$ac_cv_cflags__fPIC__Wl__G__h_conftest_so_1_0__B_symbolic" = xyes; then :
9628 ac_cv_c_dll_unixware="yes"
9629 else
9630 ac_cv_c_dll_unixware="no"
9633 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dll_unixware" >&5
9634 $as_echo "$ac_cv_c_dll_unixware" >&6; }
9635 if test "$ac_cv_c_dll_unixware" = "yes"
9636 then
9637 LIBWINE_LDFLAGS="-Wl,-G,-h,libwine.so.$libwine_soversion"
9640 LIBWINE_SHAREDLIB="libwine.so.$libwine_version"
9642 LIBWINE_DEPENDS="wine.map"
9644 TOP_INSTALL_LIB="$TOP_INSTALL_LIB libs/wine/libwine.so.$libwine_version libs/wine/libwine.so.$libwine_soversion"
9646 esac
9648 enable_winecoreaudio_drv=${enable_winecoreaudio_drv:-no}
9649 enable_wineqtdecoder=${enable_wineqtdecoder:-no}
9650 enable_wineandroid_drv=${enable_wineandroid_drv:-no}
9651 enable_winemac_drv=${enable_winemac_drv:-no}
9652 test "$ac_cv_header_linux_joystick_h" = "yes" -o "$ac_cv_header_IOKit_hid_IOHIDLib_h" = "yes" || enable_winejoystick_drv=${enable_winejoystick_drv:-no}
9655 if test "x$with_mingw" != xno
9656 then
9657 case "x$with_mingw" in
9658 x|xyes) case "$host_cpu" in
9659 aarch64*)
9660 ac_prefix_list="aarch64-w64-mingw32-clang aarch64-w64-mingw32-gcc" ;;
9661 arm*)
9662 ac_prefix_list="armv7-w64-mingw32-clang armv7-w64-mingw32-gcc" ;;
9663 i[3456789]86*)
9664 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
9665 i686-w64-mingw32-clang i586-w64-mingw32-clang i486-w64-mingw32-clang i386-w64-mingw32-clang
9666 mingw32-gcc" ;;
9667 x86_64)
9668 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
9669 x86_64-w64-mingw32-clang amd64-w64-mingw32-clang " ;;
9671 ac_prefix_list="" ;;
9672 esac
9673 for ac_prog in $ac_prefix_list
9675 # Extract the first word of "$ac_prog", so it can be a program name with args.
9676 set dummy $ac_prog; ac_word=$2
9677 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9678 $as_echo_n "checking for $ac_word... " >&6; }
9679 if ${ac_cv_prog_CROSSCC+:} false; then :
9680 $as_echo_n "(cached) " >&6
9681 else
9682 if test -n "$CROSSCC"; then
9683 ac_cv_prog_CROSSCC="$CROSSCC" # Let the user override the test.
9684 else
9685 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9686 for as_dir in $PATH
9688 IFS=$as_save_IFS
9689 test -z "$as_dir" && as_dir=.
9690 for ac_exec_ext in '' $ac_executable_extensions; do
9691 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9692 ac_cv_prog_CROSSCC="$ac_prog"
9693 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9694 break 2
9696 done
9697 done
9698 IFS=$as_save_IFS
9702 CROSSCC=$ac_cv_prog_CROSSCC
9703 if test -n "$CROSSCC"; then
9704 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CROSSCC" >&5
9705 $as_echo "$CROSSCC" >&6; }
9706 else
9707 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9708 $as_echo "no" >&6; }
9712 test -n "$CROSSCC" && break
9713 done
9714 test -n "$CROSSCC" || CROSSCC="false"
9716 *) CROSSCC=$with_mingw ;;
9717 esac
9718 if test "$CROSSCC" != "false"
9719 then
9720 ac_save_CC="$CC"
9721 saved_CFLAGS=$CFLAGS
9722 CROSSCFLAGS=${CROSSCFLAGS:-"-g -O2"}
9724 EXTRACROSSCFLAGS="-DWINE_CROSS_PE -Wall"
9728 CC="$CROSSCC"
9729 CFLAGS=$CROSSCFLAGS
9730 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CROSSCC works" >&5
9731 $as_echo_n "checking whether $CROSSCC works... " >&6; }
9732 if ${wine_cv_crosscc+:} false; then :
9733 $as_echo_n "(cached) " >&6
9734 else
9735 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9736 /* end confdefs.h. */
9739 main ()
9743 return 0;
9745 _ACEOF
9746 if ac_fn_c_try_compile "$LINENO"; then :
9747 wine_cv_crosscc=yes
9748 else
9749 wine_cv_crosscc=no
9751 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9753 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_crosscc" >&5
9754 $as_echo "$wine_cv_crosscc" >&6; }
9755 if test $wine_cv_crosscc = yes
9756 then
9757 set x $CROSSCC
9758 shift
9759 while test $# -ge 1
9761 case "$1" in
9762 *-gcc) CROSSTARGET=`expr "$1" : '\(.*\)-gcc'` ;;
9763 *-clang) CROSSTARGET=`expr "$1" : '\(.*\)-clang'` ;;
9764 esac
9765 shift
9766 done
9768 llvm_target=$CROSSTARGET
9769 llvm_cflags="-fuse-ld=lld"
9770 if test -z "$llvm_target"
9771 then
9772 case $host_cpu in
9773 *i[3456789]86*) llvm_target=i686-windows ;;
9774 *) llvm_target=$host_cpu-windows ;;
9775 esac
9777 case $llvm_target in
9778 *windows) llvm_cflags="$llvm_cflags -Wl,-subsystem:console" ;;
9779 esac
9780 as_ac_var=`$as_echo "ac_cv_crosscflags_-target $llvm_target $llvm_cflags" | $as_tr_sh`
9781 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -target $llvm_target $llvm_cflags" >&5
9782 $as_echo_n "checking whether the cross-compiler supports -target $llvm_target $llvm_cflags... " >&6; }
9783 if eval \${$as_ac_var+:} false; then :
9784 $as_echo_n "(cached) " >&6
9785 else
9786 ac_wine_try_cflags_saved=$CFLAGS
9787 ac_wine_try_cflags_saved_cc=$CC
9788 ac_wine_try_cflags_saved_exeext=$ac_exeext
9789 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -target $llvm_target $llvm_cflags"
9790 CC="$CROSSCC"
9791 ac_exeext=".exe"
9792 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9793 /* end confdefs.h. */
9794 int __cdecl mainCRTStartup(void) { return 0; }
9795 _ACEOF
9796 if ac_fn_c_try_link "$LINENO"; then :
9797 eval "$as_ac_var=yes"
9798 else
9799 eval "$as_ac_var=no"
9801 rm -f core conftest.err conftest.$ac_objext \
9802 conftest$ac_exeext conftest.$ac_ext
9803 CFLAGS=$ac_wine_try_cflags_saved
9804 CC=$ac_wine_try_cflags_saved_cc
9805 ac_exeext=$ac_wine_try_cflags_saved_exeext
9807 eval ac_res=\$$as_ac_var
9808 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
9809 $as_echo "$ac_res" >&6; }
9810 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
9811 CROSSTARGET=$llvm_target
9812 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -target $CROSSTARGET"
9813 DELAYLOADFLAG="-Wl,-delayload,"
9815 CFLAGS="$CFLAGS $llvm_cflags"
9818 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -fno-strict-aliasing" >&5
9819 $as_echo_n "checking whether the cross-compiler supports -fno-strict-aliasing... " >&6; }
9820 if ${ac_cv_crosscflags__fno_strict_aliasing+:} false; then :
9821 $as_echo_n "(cached) " >&6
9822 else
9823 ac_wine_try_cflags_saved=$CFLAGS
9824 ac_wine_try_cflags_saved_cc=$CC
9825 ac_wine_try_cflags_saved_exeext=$ac_exeext
9826 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -fno-strict-aliasing"
9827 CC="$CROSSCC"
9828 ac_exeext=".exe"
9829 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9830 /* end confdefs.h. */
9831 int __cdecl mainCRTStartup(void) { return 0; }
9832 _ACEOF
9833 if ac_fn_c_try_link "$LINENO"; then :
9834 ac_cv_crosscflags__fno_strict_aliasing=yes
9835 else
9836 ac_cv_crosscflags__fno_strict_aliasing=no
9838 rm -f core conftest.err conftest.$ac_objext \
9839 conftest$ac_exeext conftest.$ac_ext
9840 CFLAGS=$ac_wine_try_cflags_saved
9841 CC=$ac_wine_try_cflags_saved_cc
9842 ac_exeext=$ac_wine_try_cflags_saved_exeext
9844 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__fno_strict_aliasing" >&5
9845 $as_echo "$ac_cv_crosscflags__fno_strict_aliasing" >&6; }
9846 if test "x$ac_cv_crosscflags__fno_strict_aliasing" = xyes; then :
9847 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -fno-strict-aliasing"
9849 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Werror=unknown-warning-option" >&5
9850 $as_echo_n "checking whether the cross-compiler supports -Werror=unknown-warning-option... " >&6; }
9851 if ${ac_cv_crosscflags__Werror_unknown_warning_option+:} false; then :
9852 $as_echo_n "(cached) " >&6
9853 else
9854 ac_wine_try_cflags_saved=$CFLAGS
9855 ac_wine_try_cflags_saved_cc=$CC
9856 ac_wine_try_cflags_saved_exeext=$ac_exeext
9857 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Werror=unknown-warning-option"
9858 CC="$CROSSCC"
9859 ac_exeext=".exe"
9860 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9861 /* end confdefs.h. */
9862 int __cdecl mainCRTStartup(void) { return 0; }
9863 _ACEOF
9864 if ac_fn_c_try_link "$LINENO"; then :
9865 ac_cv_crosscflags__Werror_unknown_warning_option=yes
9866 else
9867 ac_cv_crosscflags__Werror_unknown_warning_option=no
9869 rm -f core conftest.err conftest.$ac_objext \
9870 conftest$ac_exeext conftest.$ac_ext
9871 CFLAGS=$ac_wine_try_cflags_saved
9872 CC=$ac_wine_try_cflags_saved_cc
9873 ac_exeext=$ac_wine_try_cflags_saved_exeext
9875 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Werror_unknown_warning_option" >&5
9876 $as_echo "$ac_cv_crosscflags__Werror_unknown_warning_option" >&6; }
9877 if test "x$ac_cv_crosscflags__Werror_unknown_warning_option" = xyes; then :
9878 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
9880 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Werror=ignored-optimization-argument" >&5
9881 $as_echo_n "checking whether the cross-compiler supports -Werror=ignored-optimization-argument... " >&6; }
9882 if ${ac_cv_crosscflags__Werror_ignored_optimization_argument+:} false; then :
9883 $as_echo_n "(cached) " >&6
9884 else
9885 ac_wine_try_cflags_saved=$CFLAGS
9886 ac_wine_try_cflags_saved_cc=$CC
9887 ac_wine_try_cflags_saved_exeext=$ac_exeext
9888 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Werror=ignored-optimization-argument"
9889 CC="$CROSSCC"
9890 ac_exeext=".exe"
9891 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9892 /* end confdefs.h. */
9893 int __cdecl mainCRTStartup(void) { return 0; }
9894 _ACEOF
9895 if ac_fn_c_try_link "$LINENO"; then :
9896 ac_cv_crosscflags__Werror_ignored_optimization_argument=yes
9897 else
9898 ac_cv_crosscflags__Werror_ignored_optimization_argument=no
9900 rm -f core conftest.err conftest.$ac_objext \
9901 conftest$ac_exeext conftest.$ac_ext
9902 CFLAGS=$ac_wine_try_cflags_saved
9903 CC=$ac_wine_try_cflags_saved_cc
9904 ac_exeext=$ac_wine_try_cflags_saved_exeext
9906 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Werror_ignored_optimization_argument" >&5
9907 $as_echo "$ac_cv_crosscflags__Werror_ignored_optimization_argument" >&6; }
9908 if test "x$ac_cv_crosscflags__Werror_ignored_optimization_argument" = xyes; then :
9909 CFLAGS="$CFLAGS -Werror=ignored-optimization-argument"
9911 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wdeclaration-after-statement" >&5
9912 $as_echo_n "checking whether the cross-compiler supports -Wdeclaration-after-statement... " >&6; }
9913 if ${ac_cv_crosscflags__Wdeclaration_after_statement+:} false; then :
9914 $as_echo_n "(cached) " >&6
9915 else
9916 ac_wine_try_cflags_saved=$CFLAGS
9917 ac_wine_try_cflags_saved_cc=$CC
9918 ac_wine_try_cflags_saved_exeext=$ac_exeext
9919 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wdeclaration-after-statement"
9920 CC="$CROSSCC"
9921 ac_exeext=".exe"
9922 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9923 /* end confdefs.h. */
9924 int __cdecl mainCRTStartup(void) { return 0; }
9925 _ACEOF
9926 if ac_fn_c_try_link "$LINENO"; then :
9927 ac_cv_crosscflags__Wdeclaration_after_statement=yes
9928 else
9929 ac_cv_crosscflags__Wdeclaration_after_statement=no
9931 rm -f core conftest.err conftest.$ac_objext \
9932 conftest$ac_exeext conftest.$ac_ext
9933 CFLAGS=$ac_wine_try_cflags_saved
9934 CC=$ac_wine_try_cflags_saved_cc
9935 ac_exeext=$ac_wine_try_cflags_saved_exeext
9937 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wdeclaration_after_statement" >&5
9938 $as_echo "$ac_cv_crosscflags__Wdeclaration_after_statement" >&6; }
9939 if test "x$ac_cv_crosscflags__Wdeclaration_after_statement" = xyes; then :
9940 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wdeclaration-after-statement"
9942 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wempty-body" >&5
9943 $as_echo_n "checking whether the cross-compiler supports -Wempty-body... " >&6; }
9944 if ${ac_cv_crosscflags__Wempty_body+:} false; then :
9945 $as_echo_n "(cached) " >&6
9946 else
9947 ac_wine_try_cflags_saved=$CFLAGS
9948 ac_wine_try_cflags_saved_cc=$CC
9949 ac_wine_try_cflags_saved_exeext=$ac_exeext
9950 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wempty-body"
9951 CC="$CROSSCC"
9952 ac_exeext=".exe"
9953 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9954 /* end confdefs.h. */
9955 int __cdecl mainCRTStartup(void) { return 0; }
9956 _ACEOF
9957 if ac_fn_c_try_link "$LINENO"; then :
9958 ac_cv_crosscflags__Wempty_body=yes
9959 else
9960 ac_cv_crosscflags__Wempty_body=no
9962 rm -f core conftest.err conftest.$ac_objext \
9963 conftest$ac_exeext conftest.$ac_ext
9964 CFLAGS=$ac_wine_try_cflags_saved
9965 CC=$ac_wine_try_cflags_saved_cc
9966 ac_exeext=$ac_wine_try_cflags_saved_exeext
9968 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wempty_body" >&5
9969 $as_echo "$ac_cv_crosscflags__Wempty_body" >&6; }
9970 if test "x$ac_cv_crosscflags__Wempty_body" = xyes; then :
9971 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wempty-body"
9973 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wignored-qualifiers" >&5
9974 $as_echo_n "checking whether the cross-compiler supports -Wignored-qualifiers... " >&6; }
9975 if ${ac_cv_crosscflags__Wignored_qualifiers+:} false; then :
9976 $as_echo_n "(cached) " >&6
9977 else
9978 ac_wine_try_cflags_saved=$CFLAGS
9979 ac_wine_try_cflags_saved_cc=$CC
9980 ac_wine_try_cflags_saved_exeext=$ac_exeext
9981 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wignored-qualifiers"
9982 CC="$CROSSCC"
9983 ac_exeext=".exe"
9984 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9985 /* end confdefs.h. */
9986 int __cdecl mainCRTStartup(void) { return 0; }
9987 _ACEOF
9988 if ac_fn_c_try_link "$LINENO"; then :
9989 ac_cv_crosscflags__Wignored_qualifiers=yes
9990 else
9991 ac_cv_crosscflags__Wignored_qualifiers=no
9993 rm -f core conftest.err conftest.$ac_objext \
9994 conftest$ac_exeext conftest.$ac_ext
9995 CFLAGS=$ac_wine_try_cflags_saved
9996 CC=$ac_wine_try_cflags_saved_cc
9997 ac_exeext=$ac_wine_try_cflags_saved_exeext
9999 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wignored_qualifiers" >&5
10000 $as_echo "$ac_cv_crosscflags__Wignored_qualifiers" >&6; }
10001 if test "x$ac_cv_crosscflags__Wignored_qualifiers" = xyes; then :
10002 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wignored-qualifiers"
10004 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Winit-self" >&5
10005 $as_echo_n "checking whether the cross-compiler supports -Winit-self... " >&6; }
10006 if ${ac_cv_crosscflags__Winit_self+:} false; then :
10007 $as_echo_n "(cached) " >&6
10008 else
10009 ac_wine_try_cflags_saved=$CFLAGS
10010 ac_wine_try_cflags_saved_cc=$CC
10011 ac_wine_try_cflags_saved_exeext=$ac_exeext
10012 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Winit-self"
10013 CC="$CROSSCC"
10014 ac_exeext=".exe"
10015 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10016 /* end confdefs.h. */
10017 int __cdecl mainCRTStartup(void) { return 0; }
10018 _ACEOF
10019 if ac_fn_c_try_link "$LINENO"; then :
10020 ac_cv_crosscflags__Winit_self=yes
10021 else
10022 ac_cv_crosscflags__Winit_self=no
10024 rm -f core conftest.err conftest.$ac_objext \
10025 conftest$ac_exeext conftest.$ac_ext
10026 CFLAGS=$ac_wine_try_cflags_saved
10027 CC=$ac_wine_try_cflags_saved_cc
10028 ac_exeext=$ac_wine_try_cflags_saved_exeext
10030 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Winit_self" >&5
10031 $as_echo "$ac_cv_crosscflags__Winit_self" >&6; }
10032 if test "x$ac_cv_crosscflags__Winit_self" = xyes; then :
10033 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Winit-self"
10035 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wpacked-not-aligned" >&5
10036 $as_echo_n "checking whether the cross-compiler supports -Wpacked-not-aligned... " >&6; }
10037 if ${ac_cv_crosscflags__Wpacked_not_aligned+:} false; then :
10038 $as_echo_n "(cached) " >&6
10039 else
10040 ac_wine_try_cflags_saved=$CFLAGS
10041 ac_wine_try_cflags_saved_cc=$CC
10042 ac_wine_try_cflags_saved_exeext=$ac_exeext
10043 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wpacked-not-aligned"
10044 CC="$CROSSCC"
10045 ac_exeext=".exe"
10046 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10047 /* end confdefs.h. */
10048 int __cdecl mainCRTStartup(void) { return 0; }
10049 _ACEOF
10050 if ac_fn_c_try_link "$LINENO"; then :
10051 ac_cv_crosscflags__Wpacked_not_aligned=yes
10052 else
10053 ac_cv_crosscflags__Wpacked_not_aligned=no
10055 rm -f core conftest.err conftest.$ac_objext \
10056 conftest$ac_exeext conftest.$ac_ext
10057 CFLAGS=$ac_wine_try_cflags_saved
10058 CC=$ac_wine_try_cflags_saved_cc
10059 ac_exeext=$ac_wine_try_cflags_saved_exeext
10061 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wpacked_not_aligned" >&5
10062 $as_echo "$ac_cv_crosscflags__Wpacked_not_aligned" >&6; }
10063 if test "x$ac_cv_crosscflags__Wpacked_not_aligned" = xyes; then :
10064 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wno-packed-not-aligned"
10066 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wpragma-pack" >&5
10067 $as_echo_n "checking whether the cross-compiler supports -Wpragma-pack... " >&6; }
10068 if ${ac_cv_crosscflags__Wpragma_pack+:} false; then :
10069 $as_echo_n "(cached) " >&6
10070 else
10071 ac_wine_try_cflags_saved=$CFLAGS
10072 ac_wine_try_cflags_saved_cc=$CC
10073 ac_wine_try_cflags_saved_exeext=$ac_exeext
10074 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wpragma-pack"
10075 CC="$CROSSCC"
10076 ac_exeext=".exe"
10077 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10078 /* end confdefs.h. */
10079 int __cdecl mainCRTStartup(void) { return 0; }
10080 _ACEOF
10081 if ac_fn_c_try_link "$LINENO"; then :
10082 ac_cv_crosscflags__Wpragma_pack=yes
10083 else
10084 ac_cv_crosscflags__Wpragma_pack=no
10086 rm -f core conftest.err conftest.$ac_objext \
10087 conftest$ac_exeext conftest.$ac_ext
10088 CFLAGS=$ac_wine_try_cflags_saved
10089 CC=$ac_wine_try_cflags_saved_cc
10090 ac_exeext=$ac_wine_try_cflags_saved_exeext
10092 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wpragma_pack" >&5
10093 $as_echo "$ac_cv_crosscflags__Wpragma_pack" >&6; }
10094 if test "x$ac_cv_crosscflags__Wpragma_pack" = xyes; then :
10095 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wno-pragma-pack"
10097 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wshift-overflow=2" >&5
10098 $as_echo_n "checking whether the cross-compiler supports -Wshift-overflow=2... " >&6; }
10099 if ${ac_cv_crosscflags__Wshift_overflow_2+:} false; then :
10100 $as_echo_n "(cached) " >&6
10101 else
10102 ac_wine_try_cflags_saved=$CFLAGS
10103 ac_wine_try_cflags_saved_cc=$CC
10104 ac_wine_try_cflags_saved_exeext=$ac_exeext
10105 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wshift-overflow=2"
10106 CC="$CROSSCC"
10107 ac_exeext=".exe"
10108 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10109 /* end confdefs.h. */
10110 int __cdecl mainCRTStartup(void) { return 0; }
10111 _ACEOF
10112 if ac_fn_c_try_link "$LINENO"; then :
10113 ac_cv_crosscflags__Wshift_overflow_2=yes
10114 else
10115 ac_cv_crosscflags__Wshift_overflow_2=no
10117 rm -f core conftest.err conftest.$ac_objext \
10118 conftest$ac_exeext conftest.$ac_ext
10119 CFLAGS=$ac_wine_try_cflags_saved
10120 CC=$ac_wine_try_cflags_saved_cc
10121 ac_exeext=$ac_wine_try_cflags_saved_exeext
10123 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wshift_overflow_2" >&5
10124 $as_echo "$ac_cv_crosscflags__Wshift_overflow_2" >&6; }
10125 if test "x$ac_cv_crosscflags__Wshift_overflow_2" = xyes; then :
10126 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wshift-overflow=2"
10128 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wstrict-prototypes" >&5
10129 $as_echo_n "checking whether the cross-compiler supports -Wstrict-prototypes... " >&6; }
10130 if ${ac_cv_crosscflags__Wstrict_prototypes+:} false; then :
10131 $as_echo_n "(cached) " >&6
10132 else
10133 ac_wine_try_cflags_saved=$CFLAGS
10134 ac_wine_try_cflags_saved_cc=$CC
10135 ac_wine_try_cflags_saved_exeext=$ac_exeext
10136 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wstrict-prototypes"
10137 CC="$CROSSCC"
10138 ac_exeext=".exe"
10139 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10140 /* end confdefs.h. */
10141 int __cdecl mainCRTStartup(void) { return 0; }
10142 _ACEOF
10143 if ac_fn_c_try_link "$LINENO"; then :
10144 ac_cv_crosscflags__Wstrict_prototypes=yes
10145 else
10146 ac_cv_crosscflags__Wstrict_prototypes=no
10148 rm -f core conftest.err conftest.$ac_objext \
10149 conftest$ac_exeext conftest.$ac_ext
10150 CFLAGS=$ac_wine_try_cflags_saved
10151 CC=$ac_wine_try_cflags_saved_cc
10152 ac_exeext=$ac_wine_try_cflags_saved_exeext
10154 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wstrict_prototypes" >&5
10155 $as_echo "$ac_cv_crosscflags__Wstrict_prototypes" >&6; }
10156 if test "x$ac_cv_crosscflags__Wstrict_prototypes" = xyes; then :
10157 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wstrict-prototypes"
10159 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wtype-limits" >&5
10160 $as_echo_n "checking whether the cross-compiler supports -Wtype-limits... " >&6; }
10161 if ${ac_cv_crosscflags__Wtype_limits+:} false; then :
10162 $as_echo_n "(cached) " >&6
10163 else
10164 ac_wine_try_cflags_saved=$CFLAGS
10165 ac_wine_try_cflags_saved_cc=$CC
10166 ac_wine_try_cflags_saved_exeext=$ac_exeext
10167 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wtype-limits"
10168 CC="$CROSSCC"
10169 ac_exeext=".exe"
10170 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10171 /* end confdefs.h. */
10172 int __cdecl mainCRTStartup(void) { return 0; }
10173 _ACEOF
10174 if ac_fn_c_try_link "$LINENO"; then :
10175 ac_cv_crosscflags__Wtype_limits=yes
10176 else
10177 ac_cv_crosscflags__Wtype_limits=no
10179 rm -f core conftest.err conftest.$ac_objext \
10180 conftest$ac_exeext conftest.$ac_ext
10181 CFLAGS=$ac_wine_try_cflags_saved
10182 CC=$ac_wine_try_cflags_saved_cc
10183 ac_exeext=$ac_wine_try_cflags_saved_exeext
10185 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wtype_limits" >&5
10186 $as_echo "$ac_cv_crosscflags__Wtype_limits" >&6; }
10187 if test "x$ac_cv_crosscflags__Wtype_limits" = xyes; then :
10188 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wtype-limits"
10190 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wunused-but-set-parameter" >&5
10191 $as_echo_n "checking whether the cross-compiler supports -Wunused-but-set-parameter... " >&6; }
10192 if ${ac_cv_crosscflags__Wunused_but_set_parameter+:} false; then :
10193 $as_echo_n "(cached) " >&6
10194 else
10195 ac_wine_try_cflags_saved=$CFLAGS
10196 ac_wine_try_cflags_saved_cc=$CC
10197 ac_wine_try_cflags_saved_exeext=$ac_exeext
10198 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wunused-but-set-parameter"
10199 CC="$CROSSCC"
10200 ac_exeext=".exe"
10201 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10202 /* end confdefs.h. */
10203 int __cdecl mainCRTStartup(void) { return 0; }
10204 _ACEOF
10205 if ac_fn_c_try_link "$LINENO"; then :
10206 ac_cv_crosscflags__Wunused_but_set_parameter=yes
10207 else
10208 ac_cv_crosscflags__Wunused_but_set_parameter=no
10210 rm -f core conftest.err conftest.$ac_objext \
10211 conftest$ac_exeext conftest.$ac_ext
10212 CFLAGS=$ac_wine_try_cflags_saved
10213 CC=$ac_wine_try_cflags_saved_cc
10214 ac_exeext=$ac_wine_try_cflags_saved_exeext
10216 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wunused_but_set_parameter" >&5
10217 $as_echo "$ac_cv_crosscflags__Wunused_but_set_parameter" >&6; }
10218 if test "x$ac_cv_crosscflags__Wunused_but_set_parameter" = xyes; then :
10219 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wunused-but-set-parameter"
10221 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wvla" >&5
10222 $as_echo_n "checking whether the cross-compiler supports -Wvla... " >&6; }
10223 if ${ac_cv_crosscflags__Wvla+:} false; then :
10224 $as_echo_n "(cached) " >&6
10225 else
10226 ac_wine_try_cflags_saved=$CFLAGS
10227 ac_wine_try_cflags_saved_cc=$CC
10228 ac_wine_try_cflags_saved_exeext=$ac_exeext
10229 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wvla"
10230 CC="$CROSSCC"
10231 ac_exeext=".exe"
10232 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10233 /* end confdefs.h. */
10234 int __cdecl mainCRTStartup(void) { return 0; }
10235 _ACEOF
10236 if ac_fn_c_try_link "$LINENO"; then :
10237 ac_cv_crosscflags__Wvla=yes
10238 else
10239 ac_cv_crosscflags__Wvla=no
10241 rm -f core conftest.err conftest.$ac_objext \
10242 conftest$ac_exeext conftest.$ac_ext
10243 CFLAGS=$ac_wine_try_cflags_saved
10244 CC=$ac_wine_try_cflags_saved_cc
10245 ac_exeext=$ac_wine_try_cflags_saved_exeext
10247 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wvla" >&5
10248 $as_echo "$ac_cv_crosscflags__Wvla" >&6; }
10249 if test "x$ac_cv_crosscflags__Wvla" = xyes; then :
10250 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wvla"
10252 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wwrite-strings" >&5
10253 $as_echo_n "checking whether the cross-compiler supports -Wwrite-strings... " >&6; }
10254 if ${ac_cv_crosscflags__Wwrite_strings+:} false; then :
10255 $as_echo_n "(cached) " >&6
10256 else
10257 ac_wine_try_cflags_saved=$CFLAGS
10258 ac_wine_try_cflags_saved_cc=$CC
10259 ac_wine_try_cflags_saved_exeext=$ac_exeext
10260 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wwrite-strings"
10261 CC="$CROSSCC"
10262 ac_exeext=".exe"
10263 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10264 /* end confdefs.h. */
10265 int __cdecl mainCRTStartup(void) { return 0; }
10266 _ACEOF
10267 if ac_fn_c_try_link "$LINENO"; then :
10268 ac_cv_crosscflags__Wwrite_strings=yes
10269 else
10270 ac_cv_crosscflags__Wwrite_strings=no
10272 rm -f core conftest.err conftest.$ac_objext \
10273 conftest$ac_exeext conftest.$ac_ext
10274 CFLAGS=$ac_wine_try_cflags_saved
10275 CC=$ac_wine_try_cflags_saved_cc
10276 ac_exeext=$ac_wine_try_cflags_saved_exeext
10278 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wwrite_strings" >&5
10279 $as_echo "$ac_cv_crosscflags__Wwrite_strings" >&6; }
10280 if test "x$ac_cv_crosscflags__Wwrite_strings" = xyes; then :
10281 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wwrite-strings"
10283 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wpointer-arith" >&5
10284 $as_echo_n "checking whether the cross-compiler supports -Wpointer-arith... " >&6; }
10285 if ${ac_cv_crosscflags__Wpointer_arith+:} false; then :
10286 $as_echo_n "(cached) " >&6
10287 else
10288 ac_wine_try_cflags_saved=$CFLAGS
10289 ac_wine_try_cflags_saved_cc=$CC
10290 ac_wine_try_cflags_saved_exeext=$ac_exeext
10291 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wpointer-arith"
10292 CC="$CROSSCC"
10293 ac_exeext=".exe"
10294 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10295 /* end confdefs.h. */
10296 int __cdecl mainCRTStartup(void) { return 0; }
10297 _ACEOF
10298 if ac_fn_c_try_link "$LINENO"; then :
10299 ac_cv_crosscflags__Wpointer_arith=yes
10300 else
10301 ac_cv_crosscflags__Wpointer_arith=no
10303 rm -f core conftest.err conftest.$ac_objext \
10304 conftest$ac_exeext conftest.$ac_ext
10305 CFLAGS=$ac_wine_try_cflags_saved
10306 CC=$ac_wine_try_cflags_saved_cc
10307 ac_exeext=$ac_wine_try_cflags_saved_exeext
10309 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wpointer_arith" >&5
10310 $as_echo "$ac_cv_crosscflags__Wpointer_arith" >&6; }
10311 if test "x$ac_cv_crosscflags__Wpointer_arith" = xyes; then :
10312 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wpointer-arith"
10314 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wlogical-op" >&5
10315 $as_echo_n "checking whether the cross-compiler supports -Wlogical-op... " >&6; }
10316 if ${ac_cv_crosscflags__Wlogical_op+:} false; then :
10317 $as_echo_n "(cached) " >&6
10318 else
10319 ac_wine_try_cflags_saved=$CFLAGS
10320 ac_wine_try_cflags_saved_cc=$CC
10321 ac_wine_try_cflags_saved_exeext=$ac_exeext
10322 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wlogical-op"
10323 CC="$CROSSCC"
10324 ac_exeext=".exe"
10325 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10326 /* end confdefs.h. */
10327 int __cdecl mainCRTStartup(void) { return 0; }
10328 _ACEOF
10329 if ac_fn_c_try_link "$LINENO"; then :
10330 ac_cv_crosscflags__Wlogical_op=yes
10331 else
10332 ac_cv_crosscflags__Wlogical_op=no
10334 rm -f core conftest.err conftest.$ac_objext \
10335 conftest$ac_exeext conftest.$ac_ext
10336 CFLAGS=$ac_wine_try_cflags_saved
10337 CC=$ac_wine_try_cflags_saved_cc
10338 ac_exeext=$ac_wine_try_cflags_saved_exeext
10340 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wlogical_op" >&5
10341 $as_echo "$ac_cv_crosscflags__Wlogical_op" >&6; }
10342 if test "x$ac_cv_crosscflags__Wlogical_op" = xyes; then :
10343 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wlogical-op"
10345 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wabsolute-value" >&5
10346 $as_echo_n "checking whether the cross-compiler supports -Wabsolute-value... " >&6; }
10347 if ${ac_cv_crosscflags__Wabsolute_value+:} false; then :
10348 $as_echo_n "(cached) " >&6
10349 else
10350 ac_wine_try_cflags_saved=$CFLAGS
10351 ac_wine_try_cflags_saved_cc=$CC
10352 ac_wine_try_cflags_saved_exeext=$ac_exeext
10353 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wabsolute-value"
10354 CC="$CROSSCC"
10355 ac_exeext=".exe"
10356 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10357 /* end confdefs.h. */
10358 int __cdecl mainCRTStartup(void) { return 0; }
10359 _ACEOF
10360 if ac_fn_c_try_link "$LINENO"; then :
10361 ac_cv_crosscflags__Wabsolute_value=yes
10362 else
10363 ac_cv_crosscflags__Wabsolute_value=no
10365 rm -f core conftest.err conftest.$ac_objext \
10366 conftest$ac_exeext conftest.$ac_ext
10367 CFLAGS=$ac_wine_try_cflags_saved
10368 CC=$ac_wine_try_cflags_saved_cc
10369 ac_exeext=$ac_wine_try_cflags_saved_exeext
10371 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wabsolute_value" >&5
10372 $as_echo "$ac_cv_crosscflags__Wabsolute_value" >&6; }
10373 if test "x$ac_cv_crosscflags__Wabsolute_value" = xyes; then :
10374 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wabsolute-value"
10377 case $host_cpu in
10378 *i[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -fno-omit-frame-pointer" >&5
10379 $as_echo_n "checking whether the cross-compiler supports -fno-omit-frame-pointer... " >&6; }
10380 if ${ac_cv_crosscflags__fno_omit_frame_pointer+:} false; then :
10381 $as_echo_n "(cached) " >&6
10382 else
10383 ac_wine_try_cflags_saved=$CFLAGS
10384 ac_wine_try_cflags_saved_cc=$CC
10385 ac_wine_try_cflags_saved_exeext=$ac_exeext
10386 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -fno-omit-frame-pointer"
10387 CC="$CROSSCC"
10388 ac_exeext=".exe"
10389 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10390 /* end confdefs.h. */
10391 int __cdecl mainCRTStartup(void) { return 0; }
10392 _ACEOF
10393 if ac_fn_c_try_link "$LINENO"; then :
10394 ac_cv_crosscflags__fno_omit_frame_pointer=yes
10395 else
10396 ac_cv_crosscflags__fno_omit_frame_pointer=no
10398 rm -f core conftest.err conftest.$ac_objext \
10399 conftest$ac_exeext conftest.$ac_ext
10400 CFLAGS=$ac_wine_try_cflags_saved
10401 CC=$ac_wine_try_cflags_saved_cc
10402 ac_exeext=$ac_wine_try_cflags_saved_exeext
10404 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__fno_omit_frame_pointer" >&5
10405 $as_echo "$ac_cv_crosscflags__fno_omit_frame_pointer" >&6; }
10406 if test "x$ac_cv_crosscflags__fno_omit_frame_pointer" = xyes; then :
10407 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -fno-omit-frame-pointer"
10408 fi ;;
10409 x86_64) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wno-format" >&5
10410 $as_echo_n "checking whether the cross-compiler supports -Wno-format... " >&6; }
10411 if ${ac_cv_crosscflags__Wno_format+:} false; then :
10412 $as_echo_n "(cached) " >&6
10413 else
10414 ac_wine_try_cflags_saved=$CFLAGS
10415 ac_wine_try_cflags_saved_cc=$CC
10416 ac_wine_try_cflags_saved_exeext=$ac_exeext
10417 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wno-format"
10418 CC="$CROSSCC"
10419 ac_exeext=".exe"
10420 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10421 /* end confdefs.h. */
10422 int __cdecl mainCRTStartup(void) { return 0; }
10423 _ACEOF
10424 if ac_fn_c_try_link "$LINENO"; then :
10425 ac_cv_crosscflags__Wno_format=yes
10426 else
10427 ac_cv_crosscflags__Wno_format=no
10429 rm -f core conftest.err conftest.$ac_objext \
10430 conftest$ac_exeext conftest.$ac_ext
10431 CFLAGS=$ac_wine_try_cflags_saved
10432 CC=$ac_wine_try_cflags_saved_cc
10433 ac_exeext=$ac_wine_try_cflags_saved_exeext
10435 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wno_format" >&5
10436 $as_echo "$ac_cv_crosscflags__Wno_format" >&6; }
10437 if test "x$ac_cv_crosscflags__Wno_format" = xyes; then :
10438 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wno-format"
10440 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wformat-overflow" >&5
10441 $as_echo_n "checking whether the cross-compiler supports -Wformat-overflow... " >&6; }
10442 if ${ac_cv_crosscflags__Wformat_overflow+:} false; then :
10443 $as_echo_n "(cached) " >&6
10444 else
10445 ac_wine_try_cflags_saved=$CFLAGS
10446 ac_wine_try_cflags_saved_cc=$CC
10447 ac_wine_try_cflags_saved_exeext=$ac_exeext
10448 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wformat-overflow"
10449 CC="$CROSSCC"
10450 ac_exeext=".exe"
10451 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10452 /* end confdefs.h. */
10453 int __cdecl mainCRTStartup(void) { return 0; }
10454 _ACEOF
10455 if ac_fn_c_try_link "$LINENO"; then :
10456 ac_cv_crosscflags__Wformat_overflow=yes
10457 else
10458 ac_cv_crosscflags__Wformat_overflow=no
10460 rm -f core conftest.err conftest.$ac_objext \
10461 conftest$ac_exeext conftest.$ac_ext
10462 CFLAGS=$ac_wine_try_cflags_saved
10463 CC=$ac_wine_try_cflags_saved_cc
10464 ac_exeext=$ac_wine_try_cflags_saved_exeext
10466 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wformat_overflow" >&5
10467 $as_echo "$ac_cv_crosscflags__Wformat_overflow" >&6; }
10468 if test "x$ac_cv_crosscflags__Wformat_overflow" = xyes; then :
10469 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wformat-overflow"
10471 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wnonnull" >&5
10472 $as_echo_n "checking whether the cross-compiler supports -Wnonnull... " >&6; }
10473 if ${ac_cv_crosscflags__Wnonnull+:} false; then :
10474 $as_echo_n "(cached) " >&6
10475 else
10476 ac_wine_try_cflags_saved=$CFLAGS
10477 ac_wine_try_cflags_saved_cc=$CC
10478 ac_wine_try_cflags_saved_exeext=$ac_exeext
10479 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wnonnull"
10480 CC="$CROSSCC"
10481 ac_exeext=".exe"
10482 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10483 /* end confdefs.h. */
10484 int __cdecl mainCRTStartup(void) { return 0; }
10485 _ACEOF
10486 if ac_fn_c_try_link "$LINENO"; then :
10487 ac_cv_crosscflags__Wnonnull=yes
10488 else
10489 ac_cv_crosscflags__Wnonnull=no
10491 rm -f core conftest.err conftest.$ac_objext \
10492 conftest$ac_exeext conftest.$ac_ext
10493 CFLAGS=$ac_wine_try_cflags_saved
10494 CC=$ac_wine_try_cflags_saved_cc
10495 ac_exeext=$ac_wine_try_cflags_saved_exeext
10497 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wnonnull" >&5
10498 $as_echo "$ac_cv_crosscflags__Wnonnull" >&6; }
10499 if test "x$ac_cv_crosscflags__Wnonnull" = xyes; then :
10500 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wnonnull"
10502 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -mcx16" >&5
10503 $as_echo_n "checking whether the cross-compiler supports -mcx16... " >&6; }
10504 if ${ac_cv_crosscflags__mcx16+:} false; then :
10505 $as_echo_n "(cached) " >&6
10506 else
10507 ac_wine_try_cflags_saved=$CFLAGS
10508 ac_wine_try_cflags_saved_cc=$CC
10509 ac_wine_try_cflags_saved_exeext=$ac_exeext
10510 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -mcx16"
10511 CC="$CROSSCC"
10512 ac_exeext=".exe"
10513 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10514 /* end confdefs.h. */
10515 int __cdecl mainCRTStartup(void) { return 0; }
10516 _ACEOF
10517 if ac_fn_c_try_link "$LINENO"; then :
10518 ac_cv_crosscflags__mcx16=yes
10519 else
10520 ac_cv_crosscflags__mcx16=no
10522 rm -f core conftest.err conftest.$ac_objext \
10523 conftest$ac_exeext conftest.$ac_ext
10524 CFLAGS=$ac_wine_try_cflags_saved
10525 CC=$ac_wine_try_cflags_saved_cc
10526 ac_exeext=$ac_wine_try_cflags_saved_exeext
10528 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__mcx16" >&5
10529 $as_echo "$ac_cv_crosscflags__mcx16" >&6; }
10530 if test "x$ac_cv_crosscflags__mcx16" = xyes; then :
10531 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -mcx16"
10532 fi ;;
10533 aarch64) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wno-format" >&5
10534 $as_echo_n "checking whether the cross-compiler supports -Wno-format... " >&6; }
10535 if ${ac_cv_crosscflags__Wno_format+:} false; then :
10536 $as_echo_n "(cached) " >&6
10537 else
10538 ac_wine_try_cflags_saved=$CFLAGS
10539 ac_wine_try_cflags_saved_cc=$CC
10540 ac_wine_try_cflags_saved_exeext=$ac_exeext
10541 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wno-format"
10542 CC="$CROSSCC"
10543 ac_exeext=".exe"
10544 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10545 /* end confdefs.h. */
10546 int __cdecl mainCRTStartup(void) { return 0; }
10547 _ACEOF
10548 if ac_fn_c_try_link "$LINENO"; then :
10549 ac_cv_crosscflags__Wno_format=yes
10550 else
10551 ac_cv_crosscflags__Wno_format=no
10553 rm -f core conftest.err conftest.$ac_objext \
10554 conftest$ac_exeext conftest.$ac_ext
10555 CFLAGS=$ac_wine_try_cflags_saved
10556 CC=$ac_wine_try_cflags_saved_cc
10557 ac_exeext=$ac_wine_try_cflags_saved_exeext
10559 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wno_format" >&5
10560 $as_echo "$ac_cv_crosscflags__Wno_format" >&6; }
10561 if test "x$ac_cv_crosscflags__Wno_format" = xyes; then :
10562 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wno-format"
10563 fi ;;
10564 esac
10567 if test -z "$CROSSDEBUG"
10568 then
10569 for ac_flag in $CROSSCFLAGS; do
10570 case $ac_flag in
10571 -gdwarf*) CROSSDEBUG=dwarf ;;
10572 -gcodeview) CROSSDEBUG=pdb ;;
10573 -g) CROSSDEBUG=${CROSSDEBUG:-dwarf} ;;
10574 esac
10575 done
10577 case $CROSSDEBUG in
10578 *dwarf) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -gdwarf-2" >&5
10579 $as_echo_n "checking whether the cross-compiler supports -gdwarf-2... " >&6; }
10580 if ${ac_cv_crosscflags__gdwarf_2+:} false; then :
10581 $as_echo_n "(cached) " >&6
10582 else
10583 ac_wine_try_cflags_saved=$CFLAGS
10584 ac_wine_try_cflags_saved_cc=$CC
10585 ac_wine_try_cflags_saved_exeext=$ac_exeext
10586 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -gdwarf-2"
10587 CC="$CROSSCC"
10588 ac_exeext=".exe"
10589 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10590 /* end confdefs.h. */
10591 int __cdecl mainCRTStartup(void) { return 0; }
10592 _ACEOF
10593 if ac_fn_c_try_link "$LINENO"; then :
10594 ac_cv_crosscflags__gdwarf_2=yes
10595 else
10596 ac_cv_crosscflags__gdwarf_2=no
10598 rm -f core conftest.err conftest.$ac_objext \
10599 conftest$ac_exeext conftest.$ac_ext
10600 CFLAGS=$ac_wine_try_cflags_saved
10601 CC=$ac_wine_try_cflags_saved_cc
10602 ac_exeext=$ac_wine_try_cflags_saved_exeext
10604 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__gdwarf_2" >&5
10605 $as_echo "$ac_cv_crosscflags__gdwarf_2" >&6; }
10606 if test "x$ac_cv_crosscflags__gdwarf_2" = xyes; then :
10607 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -gdwarf-2"
10609 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -gstrict-dwarf" >&5
10610 $as_echo_n "checking whether the cross-compiler supports -gstrict-dwarf... " >&6; }
10611 if ${ac_cv_crosscflags__gstrict_dwarf+:} false; then :
10612 $as_echo_n "(cached) " >&6
10613 else
10614 ac_wine_try_cflags_saved=$CFLAGS
10615 ac_wine_try_cflags_saved_cc=$CC
10616 ac_wine_try_cflags_saved_exeext=$ac_exeext
10617 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -gstrict-dwarf"
10618 CC="$CROSSCC"
10619 ac_exeext=".exe"
10620 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10621 /* end confdefs.h. */
10622 int __cdecl mainCRTStartup(void) { return 0; }
10623 _ACEOF
10624 if ac_fn_c_try_link "$LINENO"; then :
10625 ac_cv_crosscflags__gstrict_dwarf=yes
10626 else
10627 ac_cv_crosscflags__gstrict_dwarf=no
10629 rm -f core conftest.err conftest.$ac_objext \
10630 conftest$ac_exeext conftest.$ac_ext
10631 CFLAGS=$ac_wine_try_cflags_saved
10632 CC=$ac_wine_try_cflags_saved_cc
10633 ac_exeext=$ac_wine_try_cflags_saved_exeext
10635 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__gstrict_dwarf" >&5
10636 $as_echo "$ac_cv_crosscflags__gstrict_dwarf" >&6; }
10637 if test "x$ac_cv_crosscflags__gstrict_dwarf" = xyes; then :
10638 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -gstrict-dwarf"
10639 fi ;;
10640 pdb) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -gcodeview" >&5
10641 $as_echo_n "checking whether the cross-compiler supports -gcodeview... " >&6; }
10642 if ${ac_cv_crosscflags__gcodeview+:} false; then :
10643 $as_echo_n "(cached) " >&6
10644 else
10645 ac_wine_try_cflags_saved=$CFLAGS
10646 ac_wine_try_cflags_saved_cc=$CC
10647 ac_wine_try_cflags_saved_exeext=$ac_exeext
10648 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -gcodeview"
10649 CC="$CROSSCC"
10650 ac_exeext=".exe"
10651 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10652 /* end confdefs.h. */
10653 int __cdecl mainCRTStartup(void) { return 0; }
10654 _ACEOF
10655 if ac_fn_c_try_link "$LINENO"; then :
10656 ac_cv_crosscflags__gcodeview=yes
10657 else
10658 ac_cv_crosscflags__gcodeview=no
10660 rm -f core conftest.err conftest.$ac_objext \
10661 conftest$ac_exeext conftest.$ac_ext
10662 CFLAGS=$ac_wine_try_cflags_saved
10663 CC=$ac_wine_try_cflags_saved_cc
10664 ac_exeext=$ac_wine_try_cflags_saved_exeext
10666 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__gcodeview" >&5
10667 $as_echo "$ac_cv_crosscflags__gcodeview" >&6; }
10668 if test "x$ac_cv_crosscflags__gcodeview" = xyes; then :
10669 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -gcodeview"
10670 fi ;;
10671 esac
10673 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -fexcess-precision=standard" >&5
10674 $as_echo_n "checking whether the cross-compiler supports -fexcess-precision=standard... " >&6; }
10675 if ${ac_cv_crosscflags__fexcess_precision_standard+:} false; then :
10676 $as_echo_n "(cached) " >&6
10677 else
10678 ac_wine_try_cflags_saved=$CFLAGS
10679 ac_wine_try_cflags_saved_cc=$CC
10680 ac_wine_try_cflags_saved_exeext=$ac_exeext
10681 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -fexcess-precision=standard"
10682 CC="$CROSSCC"
10683 ac_exeext=".exe"
10684 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10685 /* end confdefs.h. */
10686 int __cdecl mainCRTStartup(void) { return 0; }
10687 _ACEOF
10688 if ac_fn_c_try_link "$LINENO"; then :
10689 ac_cv_crosscflags__fexcess_precision_standard=yes
10690 else
10691 ac_cv_crosscflags__fexcess_precision_standard=no
10693 rm -f core conftest.err conftest.$ac_objext \
10694 conftest$ac_exeext conftest.$ac_ext
10695 CFLAGS=$ac_wine_try_cflags_saved
10696 CC=$ac_wine_try_cflags_saved_cc
10697 ac_exeext=$ac_wine_try_cflags_saved_exeext
10699 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__fexcess_precision_standard" >&5
10700 $as_echo "$ac_cv_crosscflags__fexcess_precision_standard" >&6; }
10701 if test "x$ac_cv_crosscflags__fexcess_precision_standard" = xyes; then :
10702 EXCESS_PRECISION_CFLAGS="-fexcess-precision=standard"
10706 if test "x$enable_werror" = "xyes"
10707 then
10708 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Werror" >&5
10709 $as_echo_n "checking whether the cross-compiler supports -Werror... " >&6; }
10710 if ${ac_cv_crosscflags__Werror+:} false; then :
10711 $as_echo_n "(cached) " >&6
10712 else
10713 ac_wine_try_cflags_saved=$CFLAGS
10714 ac_wine_try_cflags_saved_cc=$CC
10715 ac_wine_try_cflags_saved_exeext=$ac_exeext
10716 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Werror"
10717 CC="$CROSSCC"
10718 ac_exeext=".exe"
10719 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10720 /* end confdefs.h. */
10721 int __cdecl mainCRTStartup(void) { return 0; }
10722 _ACEOF
10723 if ac_fn_c_try_link "$LINENO"; then :
10724 ac_cv_crosscflags__Werror=yes
10725 else
10726 ac_cv_crosscflags__Werror=no
10728 rm -f core conftest.err conftest.$ac_objext \
10729 conftest$ac_exeext conftest.$ac_ext
10730 CFLAGS=$ac_wine_try_cflags_saved
10731 CC=$ac_wine_try_cflags_saved_cc
10732 ac_exeext=$ac_wine_try_cflags_saved_exeext
10734 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Werror" >&5
10735 $as_echo "$ac_cv_crosscflags__Werror" >&6; }
10736 if test "x$ac_cv_crosscflags__Werror" = xyes; then :
10737 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Werror"
10740 if test "x$enable_build_id" = "xyes"
10741 then
10742 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wl,--build-id" >&5
10743 $as_echo_n "checking whether the cross-compiler supports -Wl,--build-id... " >&6; }
10744 if ${ac_cv_crosscflags__Wl___build_id+:} false; then :
10745 $as_echo_n "(cached) " >&6
10746 else
10747 ac_wine_try_cflags_saved=$CFLAGS
10748 ac_wine_try_cflags_saved_cc=$CC
10749 ac_wine_try_cflags_saved_exeext=$ac_exeext
10750 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wl,--build-id"
10751 CC="$CROSSCC"
10752 ac_exeext=".exe"
10753 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10754 /* end confdefs.h. */
10755 int __cdecl mainCRTStartup(void) { return 0; }
10756 _ACEOF
10757 if ac_fn_c_try_link "$LINENO"; then :
10758 ac_cv_crosscflags__Wl___build_id=yes
10759 else
10760 ac_cv_crosscflags__Wl___build_id=no
10762 rm -f core conftest.err conftest.$ac_objext \
10763 conftest$ac_exeext conftest.$ac_ext
10764 CFLAGS=$ac_wine_try_cflags_saved
10765 CC=$ac_wine_try_cflags_saved_cc
10766 ac_exeext=$ac_wine_try_cflags_saved_exeext
10768 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wl___build_id" >&5
10769 $as_echo "$ac_cv_crosscflags__Wl___build_id" >&6; }
10770 if test "x$ac_cv_crosscflags__Wl___build_id" = xyes; then :
10771 CROSSCFLAGS="$CROSSCFLAGS -Wl,--build-id"
10772 CROSSLDFLAGS="$CROSSLDFLAGS -Wl,--build-id"
10776 CFLAGS=$saved_CFLAGS
10777 CC="$ac_save_CC"
10780 if test "x$CROSSTARGET" = "x"; then :
10781 case "x$with_mingw" in
10782 x) as_fn_append wine_notices "|MinGW compiler not found, cross-compiling PE files won't be supported." ;;
10783 xno) ;;
10784 *) as_fn_error $? "MinGW compiler not found, cross-compiling PE files won't be supported.
10785 This is an error since --with-mingw was requested." "$LINENO" 5 ;;
10786 esac
10791 if test "$ac_cv_header_pthread_h" = "yes"
10792 then
10793 ac_fn_c_check_func "$LINENO" "pthread_create" "ac_cv_func_pthread_create"
10794 if test "x$ac_cv_func_pthread_create" = xyes; then :
10796 else
10797 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_create in -lpthread" >&5
10798 $as_echo_n "checking for pthread_create in -lpthread... " >&6; }
10799 if ${ac_cv_lib_pthread_pthread_create+:} false; then :
10800 $as_echo_n "(cached) " >&6
10801 else
10802 ac_check_lib_save_LIBS=$LIBS
10803 LIBS="-lpthread $LIBS"
10804 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10805 /* end confdefs.h. */
10807 /* Override any GCC internal prototype to avoid an error.
10808 Use char because int might match the return type of a GCC
10809 builtin and then its argument prototype would still apply. */
10810 #ifdef __cplusplus
10811 extern "C"
10812 #endif
10813 char pthread_create ();
10815 main ()
10817 return pthread_create ();
10819 return 0;
10821 _ACEOF
10822 if ac_fn_c_try_link "$LINENO"; then :
10823 ac_cv_lib_pthread_pthread_create=yes
10824 else
10825 ac_cv_lib_pthread_pthread_create=no
10827 rm -f core conftest.err conftest.$ac_objext \
10828 conftest$ac_exeext conftest.$ac_ext
10829 LIBS=$ac_check_lib_save_LIBS
10831 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_create" >&5
10832 $as_echo "$ac_cv_lib_pthread_pthread_create" >&6; }
10833 if test "x$ac_cv_lib_pthread_pthread_create" = xyes; then :
10834 PTHREAD_LIBS="-lpthread"
10841 if test "x$ac_cv_func_pthread_create" != xyes -a "x$PTHREAD_LIBS" = x; then :
10842 case "x$with_pthread" in
10843 xno) ;;
10844 *) as_fn_error $? "pthread ${notice_platform}development files not found.
10845 Wine cannot support threads without libpthread.
10846 Use the --without-pthread option if you really want this." "$LINENO" 5 ;;
10847 esac
10852 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for X" >&5
10853 $as_echo_n "checking for X... " >&6; }
10856 # Check whether --with-x was given.
10857 if test "${with_x+set}" = set; then :
10858 withval=$with_x;
10861 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
10862 if test "x$with_x" = xno; then
10863 # The user explicitly disabled X.
10864 have_x=disabled
10865 else
10866 case $x_includes,$x_libraries in #(
10867 *\'*) as_fn_error $? "cannot use X directory names containing '" "$LINENO" 5;; #(
10868 *,NONE | NONE,*) if ${ac_cv_have_x+:} false; then :
10869 $as_echo_n "(cached) " >&6
10870 else
10871 # One or both of the vars are not set, and there is no cached value.
10872 ac_x_includes=no ac_x_libraries=no
10873 rm -f -r conftest.dir
10874 if mkdir conftest.dir; then
10875 cd conftest.dir
10876 cat >Imakefile <<'_ACEOF'
10877 incroot:
10878 @echo incroot='${INCROOT}'
10879 usrlibdir:
10880 @echo usrlibdir='${USRLIBDIR}'
10881 libdir:
10882 @echo libdir='${LIBDIR}'
10883 _ACEOF
10884 if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
10885 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
10886 for ac_var in incroot usrlibdir libdir; do
10887 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
10888 done
10889 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
10890 for ac_extension in a so sl dylib la dll; do
10891 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
10892 test -f "$ac_im_libdir/libX11.$ac_extension"; then
10893 ac_im_usrlibdir=$ac_im_libdir; break
10895 done
10896 # Screen out bogus values from the imake configuration. They are
10897 # bogus both because they are the default anyway, and because
10898 # using them would break gcc on systems where it needs fixed includes.
10899 case $ac_im_incroot in
10900 /usr/include) ac_x_includes= ;;
10901 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
10902 esac
10903 case $ac_im_usrlibdir in
10904 /usr/lib | /usr/lib64 | /lib | /lib64) ;;
10905 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
10906 esac
10908 cd ..
10909 rm -f -r conftest.dir
10912 # Standard set of common directories for X headers.
10913 # Check X11 before X11Rn because it is often a symlink to the current release.
10914 ac_x_header_dirs='
10915 /usr/X11/include
10916 /usr/X11R7/include
10917 /usr/X11R6/include
10918 /usr/X11R5/include
10919 /usr/X11R4/include
10921 /usr/include/X11
10922 /usr/include/X11R7
10923 /usr/include/X11R6
10924 /usr/include/X11R5
10925 /usr/include/X11R4
10927 /usr/local/X11/include
10928 /usr/local/X11R7/include
10929 /usr/local/X11R6/include
10930 /usr/local/X11R5/include
10931 /usr/local/X11R4/include
10933 /usr/local/include/X11
10934 /usr/local/include/X11R7
10935 /usr/local/include/X11R6
10936 /usr/local/include/X11R5
10937 /usr/local/include/X11R4
10939 /usr/X386/include
10940 /usr/x386/include
10941 /usr/XFree86/include/X11
10943 /usr/include
10944 /usr/local/include
10945 /usr/unsupported/include
10946 /usr/athena/include
10947 /usr/local/x11r5/include
10948 /usr/lpp/Xamples/include
10950 /usr/openwin/include
10951 /usr/openwin/share/include'
10953 if test "$ac_x_includes" = no; then
10954 # Guess where to find include files, by looking for Xlib.h.
10955 # First, try using that file with no special directory specified.
10956 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10957 /* end confdefs.h. */
10958 #include <X11/Xlib.h>
10959 _ACEOF
10960 if ac_fn_c_try_cpp "$LINENO"; then :
10961 # We can compile using X headers with no special include directory.
10962 ac_x_includes=
10963 else
10964 for ac_dir in $ac_x_header_dirs; do
10965 if test -r "$ac_dir/X11/Xlib.h"; then
10966 ac_x_includes=$ac_dir
10967 break
10969 done
10971 rm -f conftest.err conftest.i conftest.$ac_ext
10972 fi # $ac_x_includes = no
10974 if test "$ac_x_libraries" = no; then
10975 # Check for the libraries.
10976 # See if we find them without any special options.
10977 # Don't add to $LIBS permanently.
10978 ac_save_LIBS=$LIBS
10979 LIBS="-lX11 $LIBS"
10980 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10981 /* end confdefs.h. */
10982 #include <X11/Xlib.h>
10984 main ()
10986 XrmInitialize ()
10988 return 0;
10990 _ACEOF
10991 if ac_fn_c_try_link "$LINENO"; then :
10992 LIBS=$ac_save_LIBS
10993 # We can link X programs with no special library path.
10994 ac_x_libraries=
10995 else
10996 LIBS=$ac_save_LIBS
10997 for ac_dir in `$as_echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
10999 # Don't even attempt the hair of trying to link an X program!
11000 for ac_extension in a so sl dylib la dll; do
11001 if test -r "$ac_dir/libX11.$ac_extension"; then
11002 ac_x_libraries=$ac_dir
11003 break 2
11005 done
11006 done
11008 rm -f core conftest.err conftest.$ac_objext \
11009 conftest$ac_exeext conftest.$ac_ext
11010 fi # $ac_x_libraries = no
11012 case $ac_x_includes,$ac_x_libraries in #(
11013 no,* | *,no | *\'*)
11014 # Didn't find X, or a directory has "'" in its name.
11015 ac_cv_have_x="have_x=no";; #(
11017 # Record where we found X for the cache.
11018 ac_cv_have_x="have_x=yes\
11019 ac_x_includes='$ac_x_includes'\
11020 ac_x_libraries='$ac_x_libraries'"
11021 esac
11023 ;; #(
11024 *) have_x=yes;;
11025 esac
11026 eval "$ac_cv_have_x"
11027 fi # $with_x != no
11029 if test "$have_x" != yes; then
11030 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_x" >&5
11031 $as_echo "$have_x" >&6; }
11032 no_x=yes
11033 else
11034 # If each of the values was on the command line, it overrides each guess.
11035 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
11036 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
11037 # Update the cache value to reflect the command line values.
11038 ac_cv_have_x="have_x=yes\
11039 ac_x_includes='$x_includes'\
11040 ac_x_libraries='$x_libraries'"
11041 { $as_echo "$as_me:${as_lineno-$LINENO}: result: libraries $x_libraries, headers $x_includes" >&5
11042 $as_echo "libraries $x_libraries, headers $x_includes" >&6; }
11045 if test "$no_x" = yes; then
11046 # Not all programs may use this symbol, but it does not hurt to define it.
11048 $as_echo "#define X_DISPLAY_MISSING 1" >>confdefs.h
11050 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
11051 else
11052 if test -n "$x_includes"; then
11053 X_CFLAGS="$X_CFLAGS -I$x_includes"
11056 # It would also be nice to do this for all -L options, not just this one.
11057 if test -n "$x_libraries"; then
11058 X_LIBS="$X_LIBS -L$x_libraries"
11059 # For Solaris; some versions of Sun CC require a space after -R and
11060 # others require no space. Words are not sufficient . . . .
11061 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -R must be followed by a space" >&5
11062 $as_echo_n "checking whether -R must be followed by a space... " >&6; }
11063 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
11064 ac_xsave_c_werror_flag=$ac_c_werror_flag
11065 ac_c_werror_flag=yes
11066 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11067 /* end confdefs.h. */
11070 main ()
11074 return 0;
11076 _ACEOF
11077 if ac_fn_c_try_link "$LINENO"; then :
11078 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11079 $as_echo "no" >&6; }
11080 X_LIBS="$X_LIBS -R$x_libraries"
11081 else
11082 LIBS="$ac_xsave_LIBS -R $x_libraries"
11083 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11084 /* end confdefs.h. */
11087 main ()
11091 return 0;
11093 _ACEOF
11094 if ac_fn_c_try_link "$LINENO"; then :
11095 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11096 $as_echo "yes" >&6; }
11097 X_LIBS="$X_LIBS -R $x_libraries"
11098 else
11099 { $as_echo "$as_me:${as_lineno-$LINENO}: result: neither works" >&5
11100 $as_echo "neither works" >&6; }
11102 rm -f core conftest.err conftest.$ac_objext \
11103 conftest$ac_exeext conftest.$ac_ext
11105 rm -f core conftest.err conftest.$ac_objext \
11106 conftest$ac_exeext conftest.$ac_ext
11107 ac_c_werror_flag=$ac_xsave_c_werror_flag
11108 LIBS=$ac_xsave_LIBS
11111 # Check for system-dependent libraries X programs must link with.
11112 # Do this before checking for the system-independent R6 libraries
11113 # (-lICE), since we may need -lsocket or whatever for X linking.
11115 if test "$ISC" = yes; then
11116 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
11117 else
11118 # Martyn Johnson says this is needed for Ultrix, if the X
11119 # libraries were built with DECnet support. And Karl Berry says
11120 # the Alpha needs dnet_stub (dnet does not exist).
11121 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
11122 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11123 /* end confdefs.h. */
11125 /* Override any GCC internal prototype to avoid an error.
11126 Use char because int might match the return type of a GCC
11127 builtin and then its argument prototype would still apply. */
11128 #ifdef __cplusplus
11129 extern "C"
11130 #endif
11131 char XOpenDisplay ();
11133 main ()
11135 return XOpenDisplay ();
11137 return 0;
11139 _ACEOF
11140 if ac_fn_c_try_link "$LINENO"; then :
11142 else
11143 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet" >&5
11144 $as_echo_n "checking for dnet_ntoa in -ldnet... " >&6; }
11145 if ${ac_cv_lib_dnet_dnet_ntoa+:} false; then :
11146 $as_echo_n "(cached) " >&6
11147 else
11148 ac_check_lib_save_LIBS=$LIBS
11149 LIBS="-ldnet $LIBS"
11150 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11151 /* end confdefs.h. */
11153 /* Override any GCC internal prototype to avoid an error.
11154 Use char because int might match the return type of a GCC
11155 builtin and then its argument prototype would still apply. */
11156 #ifdef __cplusplus
11157 extern "C"
11158 #endif
11159 char dnet_ntoa ();
11161 main ()
11163 return dnet_ntoa ();
11165 return 0;
11167 _ACEOF
11168 if ac_fn_c_try_link "$LINENO"; then :
11169 ac_cv_lib_dnet_dnet_ntoa=yes
11170 else
11171 ac_cv_lib_dnet_dnet_ntoa=no
11173 rm -f core conftest.err conftest.$ac_objext \
11174 conftest$ac_exeext conftest.$ac_ext
11175 LIBS=$ac_check_lib_save_LIBS
11177 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
11178 $as_echo "$ac_cv_lib_dnet_dnet_ntoa" >&6; }
11179 if test "x$ac_cv_lib_dnet_dnet_ntoa" = xyes; then :
11180 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
11183 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
11184 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet_stub" >&5
11185 $as_echo_n "checking for dnet_ntoa in -ldnet_stub... " >&6; }
11186 if ${ac_cv_lib_dnet_stub_dnet_ntoa+:} false; then :
11187 $as_echo_n "(cached) " >&6
11188 else
11189 ac_check_lib_save_LIBS=$LIBS
11190 LIBS="-ldnet_stub $LIBS"
11191 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11192 /* end confdefs.h. */
11194 /* Override any GCC internal prototype to avoid an error.
11195 Use char because int might match the return type of a GCC
11196 builtin and then its argument prototype would still apply. */
11197 #ifdef __cplusplus
11198 extern "C"
11199 #endif
11200 char dnet_ntoa ();
11202 main ()
11204 return dnet_ntoa ();
11206 return 0;
11208 _ACEOF
11209 if ac_fn_c_try_link "$LINENO"; then :
11210 ac_cv_lib_dnet_stub_dnet_ntoa=yes
11211 else
11212 ac_cv_lib_dnet_stub_dnet_ntoa=no
11214 rm -f core conftest.err conftest.$ac_objext \
11215 conftest$ac_exeext conftest.$ac_ext
11216 LIBS=$ac_check_lib_save_LIBS
11218 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
11219 $as_echo "$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
11220 if test "x$ac_cv_lib_dnet_stub_dnet_ntoa" = xyes; then :
11221 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
11226 rm -f core conftest.err conftest.$ac_objext \
11227 conftest$ac_exeext conftest.$ac_ext
11228 LIBS="$ac_xsave_LIBS"
11230 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
11231 # to get the SysV transport functions.
11232 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
11233 # needs -lnsl.
11234 # The nsl library prevents programs from opening the X display
11235 # on Irix 5.2, according to T.E. Dickey.
11236 # The functions gethostbyname, getservbyname, and inet_addr are
11237 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
11238 ac_fn_c_check_func "$LINENO" "gethostbyname" "ac_cv_func_gethostbyname"
11239 if test "x$ac_cv_func_gethostbyname" = xyes; then :
11243 if test $ac_cv_func_gethostbyname = no; then
11244 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnsl" >&5
11245 $as_echo_n "checking for gethostbyname in -lnsl... " >&6; }
11246 if ${ac_cv_lib_nsl_gethostbyname+:} false; then :
11247 $as_echo_n "(cached) " >&6
11248 else
11249 ac_check_lib_save_LIBS=$LIBS
11250 LIBS="-lnsl $LIBS"
11251 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11252 /* end confdefs.h. */
11254 /* Override any GCC internal prototype to avoid an error.
11255 Use char because int might match the return type of a GCC
11256 builtin and then its argument prototype would still apply. */
11257 #ifdef __cplusplus
11258 extern "C"
11259 #endif
11260 char gethostbyname ();
11262 main ()
11264 return gethostbyname ();
11266 return 0;
11268 _ACEOF
11269 if ac_fn_c_try_link "$LINENO"; then :
11270 ac_cv_lib_nsl_gethostbyname=yes
11271 else
11272 ac_cv_lib_nsl_gethostbyname=no
11274 rm -f core conftest.err conftest.$ac_objext \
11275 conftest$ac_exeext conftest.$ac_ext
11276 LIBS=$ac_check_lib_save_LIBS
11278 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_gethostbyname" >&5
11279 $as_echo "$ac_cv_lib_nsl_gethostbyname" >&6; }
11280 if test "x$ac_cv_lib_nsl_gethostbyname" = xyes; then :
11281 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
11284 if test $ac_cv_lib_nsl_gethostbyname = no; then
11285 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lbsd" >&5
11286 $as_echo_n "checking for gethostbyname in -lbsd... " >&6; }
11287 if ${ac_cv_lib_bsd_gethostbyname+:} false; then :
11288 $as_echo_n "(cached) " >&6
11289 else
11290 ac_check_lib_save_LIBS=$LIBS
11291 LIBS="-lbsd $LIBS"
11292 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11293 /* end confdefs.h. */
11295 /* Override any GCC internal prototype to avoid an error.
11296 Use char because int might match the return type of a GCC
11297 builtin and then its argument prototype would still apply. */
11298 #ifdef __cplusplus
11299 extern "C"
11300 #endif
11301 char gethostbyname ();
11303 main ()
11305 return gethostbyname ();
11307 return 0;
11309 _ACEOF
11310 if ac_fn_c_try_link "$LINENO"; then :
11311 ac_cv_lib_bsd_gethostbyname=yes
11312 else
11313 ac_cv_lib_bsd_gethostbyname=no
11315 rm -f core conftest.err conftest.$ac_objext \
11316 conftest$ac_exeext conftest.$ac_ext
11317 LIBS=$ac_check_lib_save_LIBS
11319 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bsd_gethostbyname" >&5
11320 $as_echo "$ac_cv_lib_bsd_gethostbyname" >&6; }
11321 if test "x$ac_cv_lib_bsd_gethostbyname" = xyes; then :
11322 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
11328 # lieder@skyler.mavd.honeywell.com says without -lsocket,
11329 # socket/setsockopt and other routines are undefined under SCO ODT
11330 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
11331 # on later versions), says Simon Leinen: it contains gethostby*
11332 # variants that don't use the name server (or something). -lsocket
11333 # must be given before -lnsl if both are needed. We assume that
11334 # if connect needs -lnsl, so does gethostbyname.
11335 ac_fn_c_check_func "$LINENO" "connect" "ac_cv_func_connect"
11336 if test "x$ac_cv_func_connect" = xyes; then :
11340 if test $ac_cv_func_connect = no; then
11341 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for connect in -lsocket" >&5
11342 $as_echo_n "checking for connect in -lsocket... " >&6; }
11343 if ${ac_cv_lib_socket_connect+:} false; then :
11344 $as_echo_n "(cached) " >&6
11345 else
11346 ac_check_lib_save_LIBS=$LIBS
11347 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
11348 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11349 /* end confdefs.h. */
11351 /* Override any GCC internal prototype to avoid an error.
11352 Use char because int might match the return type of a GCC
11353 builtin and then its argument prototype would still apply. */
11354 #ifdef __cplusplus
11355 extern "C"
11356 #endif
11357 char connect ();
11359 main ()
11361 return connect ();
11363 return 0;
11365 _ACEOF
11366 if ac_fn_c_try_link "$LINENO"; then :
11367 ac_cv_lib_socket_connect=yes
11368 else
11369 ac_cv_lib_socket_connect=no
11371 rm -f core conftest.err conftest.$ac_objext \
11372 conftest$ac_exeext conftest.$ac_ext
11373 LIBS=$ac_check_lib_save_LIBS
11375 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_connect" >&5
11376 $as_echo "$ac_cv_lib_socket_connect" >&6; }
11377 if test "x$ac_cv_lib_socket_connect" = xyes; then :
11378 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
11383 # Guillermo Gomez says -lposix is necessary on A/UX.
11384 ac_fn_c_check_func "$LINENO" "remove" "ac_cv_func_remove"
11385 if test "x$ac_cv_func_remove" = xyes; then :
11389 if test $ac_cv_func_remove = no; then
11390 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for remove in -lposix" >&5
11391 $as_echo_n "checking for remove in -lposix... " >&6; }
11392 if ${ac_cv_lib_posix_remove+:} false; then :
11393 $as_echo_n "(cached) " >&6
11394 else
11395 ac_check_lib_save_LIBS=$LIBS
11396 LIBS="-lposix $LIBS"
11397 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11398 /* end confdefs.h. */
11400 /* Override any GCC internal prototype to avoid an error.
11401 Use char because int might match the return type of a GCC
11402 builtin and then its argument prototype would still apply. */
11403 #ifdef __cplusplus
11404 extern "C"
11405 #endif
11406 char remove ();
11408 main ()
11410 return remove ();
11412 return 0;
11414 _ACEOF
11415 if ac_fn_c_try_link "$LINENO"; then :
11416 ac_cv_lib_posix_remove=yes
11417 else
11418 ac_cv_lib_posix_remove=no
11420 rm -f core conftest.err conftest.$ac_objext \
11421 conftest$ac_exeext conftest.$ac_ext
11422 LIBS=$ac_check_lib_save_LIBS
11424 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix_remove" >&5
11425 $as_echo "$ac_cv_lib_posix_remove" >&6; }
11426 if test "x$ac_cv_lib_posix_remove" = xyes; then :
11427 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
11432 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
11433 ac_fn_c_check_func "$LINENO" "shmat" "ac_cv_func_shmat"
11434 if test "x$ac_cv_func_shmat" = xyes; then :
11438 if test $ac_cv_func_shmat = no; then
11439 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shmat in -lipc" >&5
11440 $as_echo_n "checking for shmat in -lipc... " >&6; }
11441 if ${ac_cv_lib_ipc_shmat+:} false; then :
11442 $as_echo_n "(cached) " >&6
11443 else
11444 ac_check_lib_save_LIBS=$LIBS
11445 LIBS="-lipc $LIBS"
11446 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11447 /* end confdefs.h. */
11449 /* Override any GCC internal prototype to avoid an error.
11450 Use char because int might match the return type of a GCC
11451 builtin and then its argument prototype would still apply. */
11452 #ifdef __cplusplus
11453 extern "C"
11454 #endif
11455 char shmat ();
11457 main ()
11459 return shmat ();
11461 return 0;
11463 _ACEOF
11464 if ac_fn_c_try_link "$LINENO"; then :
11465 ac_cv_lib_ipc_shmat=yes
11466 else
11467 ac_cv_lib_ipc_shmat=no
11469 rm -f core conftest.err conftest.$ac_objext \
11470 conftest$ac_exeext conftest.$ac_ext
11471 LIBS=$ac_check_lib_save_LIBS
11473 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ipc_shmat" >&5
11474 $as_echo "$ac_cv_lib_ipc_shmat" >&6; }
11475 if test "x$ac_cv_lib_ipc_shmat" = xyes; then :
11476 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
11482 # Check for libraries that X11R6 Xt/Xaw programs need.
11483 ac_save_LDFLAGS=$LDFLAGS
11484 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
11485 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
11486 # check for ICE first), but we must link in the order -lSM -lICE or
11487 # we get undefined symbols. So assume we have SM if we have ICE.
11488 # These have to be linked with before -lX11, unlike the other
11489 # libraries we check for below, so use a different variable.
11490 # John Interrante, Karl Berry
11491 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for IceConnectionNumber in -lICE" >&5
11492 $as_echo_n "checking for IceConnectionNumber in -lICE... " >&6; }
11493 if ${ac_cv_lib_ICE_IceConnectionNumber+:} false; then :
11494 $as_echo_n "(cached) " >&6
11495 else
11496 ac_check_lib_save_LIBS=$LIBS
11497 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
11498 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11499 /* end confdefs.h. */
11501 /* Override any GCC internal prototype to avoid an error.
11502 Use char because int might match the return type of a GCC
11503 builtin and then its argument prototype would still apply. */
11504 #ifdef __cplusplus
11505 extern "C"
11506 #endif
11507 char IceConnectionNumber ();
11509 main ()
11511 return IceConnectionNumber ();
11513 return 0;
11515 _ACEOF
11516 if ac_fn_c_try_link "$LINENO"; then :
11517 ac_cv_lib_ICE_IceConnectionNumber=yes
11518 else
11519 ac_cv_lib_ICE_IceConnectionNumber=no
11521 rm -f core conftest.err conftest.$ac_objext \
11522 conftest$ac_exeext conftest.$ac_ext
11523 LIBS=$ac_check_lib_save_LIBS
11525 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
11526 $as_echo "$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
11527 if test "x$ac_cv_lib_ICE_IceConnectionNumber" = xyes; then :
11528 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
11531 LDFLAGS=$ac_save_LDFLAGS
11536 if test "$have_x" = "yes"
11537 then
11538 ac_save_CPPFLAGS="$CPPFLAGS"
11539 CPPFLAGS="$CPPFLAGS $X_CFLAGS"
11541 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lX11" >&5
11542 $as_echo_n "checking for -lX11... " >&6; }
11543 if ${ac_cv_lib_soname_X11+:} false; then :
11544 $as_echo_n "(cached) " >&6
11545 else
11546 ac_check_soname_save_LIBS=$LIBS
11547 LIBS="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
11548 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11549 /* end confdefs.h. */
11551 /* Override any GCC internal prototype to avoid an error.
11552 Use char because int might match the return type of a GCC
11553 builtin and then its argument prototype would still apply. */
11554 #ifdef __cplusplus
11555 extern "C"
11556 #endif
11557 char XCreateWindow ();
11559 main ()
11561 return XCreateWindow ();
11563 return 0;
11565 _ACEOF
11566 if ac_fn_c_try_link "$LINENO"; then :
11567 case "$LIBEXT" in
11568 dll) ac_cv_lib_soname_X11=`$ac_cv_path_LDD conftest.exe | grep "X11" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11569 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'` ;;
11570 *) ac_cv_lib_soname_X11=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libX11\\.$LIBEXT" | sed -e "s/^.*\\[\\(libX11\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11571 if ${ac_cv_lib_soname_X11:+false} :; then :
11572 ac_cv_lib_soname_X11=`$LDD conftest$ac_exeext | grep "libX11\\.$LIBEXT" | sed -e "s/^.*\(libX11\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11573 fi ;;
11574 esac
11575 else
11576 ac_cv_lib_soname_X11=
11578 rm -f core conftest.err conftest.$ac_objext \
11579 conftest$ac_exeext conftest.$ac_ext
11580 LIBS=$ac_check_soname_save_LIBS
11582 if ${ac_cv_lib_soname_X11:+false} :; then :
11583 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11584 $as_echo "not found" >&6; }
11586 else
11587 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_X11" >&5
11588 $as_echo "$ac_cv_lib_soname_X11" >&6; }
11590 cat >>confdefs.h <<_ACEOF
11591 #define SONAME_LIBX11 "$ac_cv_lib_soname_X11"
11592 _ACEOF
11596 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXext" >&5
11597 $as_echo_n "checking for -lXext... " >&6; }
11598 if ${ac_cv_lib_soname_Xext+:} false; then :
11599 $as_echo_n "(cached) " >&6
11600 else
11601 ac_check_soname_save_LIBS=$LIBS
11602 LIBS="-lXext $X_LIBS -lX11 $X_EXTRA_LIBS $LIBS"
11603 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11604 /* end confdefs.h. */
11606 /* Override any GCC internal prototype to avoid an error.
11607 Use char because int might match the return type of a GCC
11608 builtin and then its argument prototype would still apply. */
11609 #ifdef __cplusplus
11610 extern "C"
11611 #endif
11612 char XextCreateExtension ();
11614 main ()
11616 return XextCreateExtension ();
11618 return 0;
11620 _ACEOF
11621 if ac_fn_c_try_link "$LINENO"; then :
11622 case "$LIBEXT" in
11623 dll) ac_cv_lib_soname_Xext=`$ac_cv_path_LDD conftest.exe | grep "Xext" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11624 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'` ;;
11625 *) ac_cv_lib_soname_Xext=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXext\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXext\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11626 if ${ac_cv_lib_soname_Xext:+false} :; then :
11627 ac_cv_lib_soname_Xext=`$LDD conftest$ac_exeext | grep "libXext\\.$LIBEXT" | sed -e "s/^.*\(libXext\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11628 fi ;;
11629 esac
11630 else
11631 ac_cv_lib_soname_Xext=
11633 rm -f core conftest.err conftest.$ac_objext \
11634 conftest$ac_exeext conftest.$ac_ext
11635 LIBS=$ac_check_soname_save_LIBS
11637 if ${ac_cv_lib_soname_Xext:+false} :; then :
11638 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11639 $as_echo "not found" >&6; }
11641 else
11642 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xext" >&5
11643 $as_echo "$ac_cv_lib_soname_Xext" >&6; }
11645 cat >>confdefs.h <<_ACEOF
11646 #define SONAME_LIBXEXT "$ac_cv_lib_soname_Xext"
11647 _ACEOF
11649 X_LIBS="$X_LIBS -lXext"
11651 X_LIBS="$X_LIBS -lX11"
11653 for ac_header in X11/Xlib.h \
11654 X11/XKBlib.h \
11655 X11/Xutil.h \
11656 X11/Xcursor/Xcursor.h \
11657 X11/extensions/shape.h \
11658 X11/extensions/XInput.h \
11659 X11/extensions/XInput2.h \
11660 X11/extensions/XShm.h \
11661 X11/extensions/Xcomposite.h \
11662 X11/extensions/Xfixes.h \
11663 X11/extensions/Xinerama.h \
11664 X11/extensions/Xrandr.h \
11665 X11/extensions/Xrender.h \
11666 X11/extensions/xf86vmode.h \
11667 X11/extensions/xf86vmproto.h
11668 do :
11669 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
11670 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_X11_XLIB_H
11671 # include <X11/Xlib.h>
11672 #endif
11673 #ifdef HAVE_X11_XUTIL_H
11674 # include <X11/Xutil.h>
11675 #endif
11677 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
11678 cat >>confdefs.h <<_ACEOF
11679 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
11680 _ACEOF
11684 done
11687 if test "$ac_cv_header_X11_XKBlib_h" = "yes"
11688 then
11689 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XkbQueryExtension in -lX11" >&5
11690 $as_echo_n "checking for XkbQueryExtension in -lX11... " >&6; }
11691 if ${ac_cv_lib_X11_XkbQueryExtension+:} false; then :
11692 $as_echo_n "(cached) " >&6
11693 else
11694 ac_check_lib_save_LIBS=$LIBS
11695 LIBS="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
11696 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11697 /* end confdefs.h. */
11699 /* Override any GCC internal prototype to avoid an error.
11700 Use char because int might match the return type of a GCC
11701 builtin and then its argument prototype would still apply. */
11702 #ifdef __cplusplus
11703 extern "C"
11704 #endif
11705 char XkbQueryExtension ();
11707 main ()
11709 return XkbQueryExtension ();
11711 return 0;
11713 _ACEOF
11714 if ac_fn_c_try_link "$LINENO"; then :
11715 ac_cv_lib_X11_XkbQueryExtension=yes
11716 else
11717 ac_cv_lib_X11_XkbQueryExtension=no
11719 rm -f core conftest.err conftest.$ac_objext \
11720 conftest$ac_exeext conftest.$ac_ext
11721 LIBS=$ac_check_lib_save_LIBS
11723 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_X11_XkbQueryExtension" >&5
11724 $as_echo "$ac_cv_lib_X11_XkbQueryExtension" >&6; }
11725 if test "x$ac_cv_lib_X11_XkbQueryExtension" = xyes; then :
11727 $as_echo "#define HAVE_XKB 1" >>confdefs.h
11733 if test "$ac_cv_header_X11_Xcursor_Xcursor_h" = "yes"
11734 then
11735 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXcursor" >&5
11736 $as_echo_n "checking for -lXcursor... " >&6; }
11737 if ${ac_cv_lib_soname_Xcursor+:} false; then :
11738 $as_echo_n "(cached) " >&6
11739 else
11740 ac_check_soname_save_LIBS=$LIBS
11741 LIBS="-lXcursor $X_LIBS $X_EXTRA_LIBS $LIBS"
11742 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11743 /* end confdefs.h. */
11745 /* Override any GCC internal prototype to avoid an error.
11746 Use char because int might match the return type of a GCC
11747 builtin and then its argument prototype would still apply. */
11748 #ifdef __cplusplus
11749 extern "C"
11750 #endif
11751 char XcursorImageLoadCursor ();
11753 main ()
11755 return XcursorImageLoadCursor ();
11757 return 0;
11759 _ACEOF
11760 if ac_fn_c_try_link "$LINENO"; then :
11761 case "$LIBEXT" in
11762 dll) ac_cv_lib_soname_Xcursor=`$ac_cv_path_LDD conftest.exe | grep "Xcursor" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11763 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'` ;;
11764 *) ac_cv_lib_soname_Xcursor=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcursor\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcursor\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11765 if ${ac_cv_lib_soname_Xcursor:+false} :; then :
11766 ac_cv_lib_soname_Xcursor=`$LDD conftest$ac_exeext | grep "libXcursor\\.$LIBEXT" | sed -e "s/^.*\(libXcursor\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11767 fi ;;
11768 esac
11769 else
11770 ac_cv_lib_soname_Xcursor=
11772 rm -f core conftest.err conftest.$ac_objext \
11773 conftest$ac_exeext conftest.$ac_ext
11774 LIBS=$ac_check_soname_save_LIBS
11776 if ${ac_cv_lib_soname_Xcursor:+false} :; then :
11777 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11778 $as_echo "not found" >&6; }
11780 else
11781 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcursor" >&5
11782 $as_echo "$ac_cv_lib_soname_Xcursor" >&6; }
11784 cat >>confdefs.h <<_ACEOF
11785 #define SONAME_LIBXCURSOR "$ac_cv_lib_soname_Xcursor"
11786 _ACEOF
11791 if test "x$ac_cv_lib_soname_Xcursor" = "x"; then :
11792 case "x$with_xcursor" in
11793 x) as_fn_append wine_notices "|libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported." ;;
11794 xno) ;;
11795 *) as_fn_error $? "libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported.
11796 This is an error since --with-xcursor was requested." "$LINENO" 5 ;;
11797 esac
11801 if test "$ac_cv_header_X11_extensions_XInput_h" = "yes"
11802 then
11803 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXi" >&5
11804 $as_echo_n "checking for -lXi... " >&6; }
11805 if ${ac_cv_lib_soname_Xi+:} false; then :
11806 $as_echo_n "(cached) " >&6
11807 else
11808 ac_check_soname_save_LIBS=$LIBS
11809 LIBS="-lXi $X_LIBS $X_EXTRA_LIBS $LIBS"
11810 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11811 /* end confdefs.h. */
11813 /* Override any GCC internal prototype to avoid an error.
11814 Use char because int might match the return type of a GCC
11815 builtin and then its argument prototype would still apply. */
11816 #ifdef __cplusplus
11817 extern "C"
11818 #endif
11819 char XOpenDevice ();
11821 main ()
11823 return XOpenDevice ();
11825 return 0;
11827 _ACEOF
11828 if ac_fn_c_try_link "$LINENO"; then :
11829 case "$LIBEXT" in
11830 dll) ac_cv_lib_soname_Xi=`$ac_cv_path_LDD conftest.exe | grep "Xi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11831 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'` ;;
11832 *) ac_cv_lib_soname_Xi=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11833 if ${ac_cv_lib_soname_Xi:+false} :; then :
11834 ac_cv_lib_soname_Xi=`$LDD conftest$ac_exeext | grep "libXi\\.$LIBEXT" | sed -e "s/^.*\(libXi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11835 fi ;;
11836 esac
11837 else
11838 ac_cv_lib_soname_Xi=
11840 rm -f core conftest.err conftest.$ac_objext \
11841 conftest$ac_exeext conftest.$ac_ext
11842 LIBS=$ac_check_soname_save_LIBS
11844 if ${ac_cv_lib_soname_Xi:+false} :; then :
11845 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11846 $as_echo "not found" >&6; }
11848 else
11849 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xi" >&5
11850 $as_echo "$ac_cv_lib_soname_Xi" >&6; }
11852 cat >>confdefs.h <<_ACEOF
11853 #define SONAME_LIBXI "$ac_cv_lib_soname_Xi"
11854 _ACEOF
11859 if test "x$ac_cv_lib_soname_Xi" = "x"; then :
11860 case "x$with_xinput" in
11861 x) as_fn_append wine_notices "|libxi ${notice_platform}development files not found, the Xinput extension won't be supported." ;;
11862 xno) ;;
11863 *) as_fn_error $? "libxi ${notice_platform}development files not found, the Xinput extension won't be supported.
11864 This is an error since --with-xinput was requested." "$LINENO" 5 ;;
11865 esac
11869 if test "x$ac_cv_lib_soname_Xi" != x
11870 then
11871 if test "$ac_cv_header_X11_extensions_XInput2_h" != "yes"; then :
11872 case "x$with_xinput2" in
11873 x) as_fn_append wine_notices "|XInput2 headers not found, the XInput 2 extension won't be supported." ;;
11874 xno) ;;
11875 *) as_fn_error $? "XInput2 headers not found, the XInput 2 extension won't be supported.
11876 This is an error since --with-xinput2 was requested." "$LINENO" 5 ;;
11877 esac
11882 if test "$ac_cv_header_X11_extensions_XShm_h" = "yes"
11883 then
11884 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShmQueryExtension in -lXext" >&5
11885 $as_echo_n "checking for XShmQueryExtension in -lXext... " >&6; }
11886 if ${ac_cv_lib_Xext_XShmQueryExtension+:} false; then :
11887 $as_echo_n "(cached) " >&6
11888 else
11889 ac_check_lib_save_LIBS=$LIBS
11890 LIBS="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
11891 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11892 /* end confdefs.h. */
11894 /* Override any GCC internal prototype to avoid an error.
11895 Use char because int might match the return type of a GCC
11896 builtin and then its argument prototype would still apply. */
11897 #ifdef __cplusplus
11898 extern "C"
11899 #endif
11900 char XShmQueryExtension ();
11902 main ()
11904 return XShmQueryExtension ();
11906 return 0;
11908 _ACEOF
11909 if ac_fn_c_try_link "$LINENO"; then :
11910 ac_cv_lib_Xext_XShmQueryExtension=yes
11911 else
11912 ac_cv_lib_Xext_XShmQueryExtension=no
11914 rm -f core conftest.err conftest.$ac_objext \
11915 conftest$ac_exeext conftest.$ac_ext
11916 LIBS=$ac_check_lib_save_LIBS
11918 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShmQueryExtension" >&5
11919 $as_echo "$ac_cv_lib_Xext_XShmQueryExtension" >&6; }
11920 if test "x$ac_cv_lib_Xext_XShmQueryExtension" = xyes; then :
11922 $as_echo "#define HAVE_LIBXXSHM 1" >>confdefs.h
11927 if test "$ac_cv_lib_Xext_XShmQueryExtension" != "yes"; then :
11928 case "x$with_xshm" in
11929 x) as_fn_append wine_notices "|XShm ${notice_platform}development files not found, X Shared Memory won't be supported." ;;
11930 xno) ;;
11931 *) as_fn_error $? "XShm ${notice_platform}development files not found, X Shared Memory won't be supported.
11932 This is an error since --with-xshm was requested." "$LINENO" 5 ;;
11933 esac
11937 if test "$ac_cv_header_X11_extensions_shape_h" = "yes"
11938 then
11939 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShapeQueryExtension in -lXext" >&5
11940 $as_echo_n "checking for XShapeQueryExtension in -lXext... " >&6; }
11941 if ${ac_cv_lib_Xext_XShapeQueryExtension+:} false; then :
11942 $as_echo_n "(cached) " >&6
11943 else
11944 ac_check_lib_save_LIBS=$LIBS
11945 LIBS="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
11946 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11947 /* end confdefs.h. */
11949 /* Override any GCC internal prototype to avoid an error.
11950 Use char because int might match the return type of a GCC
11951 builtin and then its argument prototype would still apply. */
11952 #ifdef __cplusplus
11953 extern "C"
11954 #endif
11955 char XShapeQueryExtension ();
11957 main ()
11959 return XShapeQueryExtension ();
11961 return 0;
11963 _ACEOF
11964 if ac_fn_c_try_link "$LINENO"; then :
11965 ac_cv_lib_Xext_XShapeQueryExtension=yes
11966 else
11967 ac_cv_lib_Xext_XShapeQueryExtension=no
11969 rm -f core conftest.err conftest.$ac_objext \
11970 conftest$ac_exeext conftest.$ac_ext
11971 LIBS=$ac_check_lib_save_LIBS
11973 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
11974 $as_echo "$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
11975 if test "x$ac_cv_lib_Xext_XShapeQueryExtension" = xyes; then :
11977 $as_echo "#define HAVE_LIBXSHAPE 1" >>confdefs.h
11982 if test "$ac_cv_lib_Xext_XShapeQueryExtension" != "yes"; then :
11983 case "x$with_xshape" in
11984 x) as_fn_append wine_notices "|XShape ${notice_platform}development files not found, XShape won't be supported." ;;
11985 xno) ;;
11986 *) as_fn_error $? "XShape ${notice_platform}development files not found, XShape won't be supported.
11987 This is an error since --with-xshape was requested." "$LINENO" 5 ;;
11988 esac
11992 if test "$ac_cv_header_X11_extensions_xf86vmode_h" = "yes" -o "$ac_cv_header_X11_extensions_xf86vmproto_h" = "yes"
11993 then
11994 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXxf86vm" >&5
11995 $as_echo_n "checking for -lXxf86vm... " >&6; }
11996 if ${ac_cv_lib_soname_Xxf86vm+:} false; then :
11997 $as_echo_n "(cached) " >&6
11998 else
11999 ac_check_soname_save_LIBS=$LIBS
12000 LIBS="-lXxf86vm $X_LIBS $X_EXTRA_LIBS $LIBS"
12001 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12002 /* end confdefs.h. */
12004 /* Override any GCC internal prototype to avoid an error.
12005 Use char because int might match the return type of a GCC
12006 builtin and then its argument prototype would still apply. */
12007 #ifdef __cplusplus
12008 extern "C"
12009 #endif
12010 char XF86VidModeQueryExtension ();
12012 main ()
12014 return XF86VidModeQueryExtension ();
12016 return 0;
12018 _ACEOF
12019 if ac_fn_c_try_link "$LINENO"; then :
12020 case "$LIBEXT" in
12021 dll) ac_cv_lib_soname_Xxf86vm=`$ac_cv_path_LDD conftest.exe | grep "Xxf86vm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12022 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'` ;;
12023 *) ac_cv_lib_soname_Xxf86vm=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXxf86vm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12024 if ${ac_cv_lib_soname_Xxf86vm:+false} :; then :
12025 ac_cv_lib_soname_Xxf86vm=`$LDD conftest$ac_exeext | grep "libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\(libXxf86vm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12026 fi ;;
12027 esac
12028 else
12029 ac_cv_lib_soname_Xxf86vm=
12031 rm -f core conftest.err conftest.$ac_objext \
12032 conftest$ac_exeext conftest.$ac_ext
12033 LIBS=$ac_check_soname_save_LIBS
12035 if ${ac_cv_lib_soname_Xxf86vm:+false} :; then :
12036 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12037 $as_echo "not found" >&6; }
12039 else
12040 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xxf86vm" >&5
12041 $as_echo "$ac_cv_lib_soname_Xxf86vm" >&6; }
12043 cat >>confdefs.h <<_ACEOF
12044 #define SONAME_LIBXXF86VM "$ac_cv_lib_soname_Xxf86vm"
12045 _ACEOF
12050 if test "x$ac_cv_lib_soname_Xxf86vm" = "x"; then :
12051 case "x$with_xxf86vm" in
12052 x) as_fn_append wine_notices "|libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported." ;;
12053 xno) ;;
12054 *) as_fn_error $? "libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported.
12055 This is an error since --with-xxf86vm was requested." "$LINENO" 5 ;;
12056 esac
12060 if test "$ac_cv_header_X11_extensions_Xrender_h" = "yes" -a "x$ac_cv_lib_soname_X11" != "x"
12061 then
12062 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXrender" >&5
12063 $as_echo_n "checking for -lXrender... " >&6; }
12064 if ${ac_cv_lib_soname_Xrender+:} false; then :
12065 $as_echo_n "(cached) " >&6
12066 else
12067 ac_check_soname_save_LIBS=$LIBS
12068 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
12069 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12070 /* end confdefs.h. */
12072 /* Override any GCC internal prototype to avoid an error.
12073 Use char because int might match the return type of a GCC
12074 builtin and then its argument prototype would still apply. */
12075 #ifdef __cplusplus
12076 extern "C"
12077 #endif
12078 char XRenderQueryExtension ();
12080 main ()
12082 return XRenderQueryExtension ();
12084 return 0;
12086 _ACEOF
12087 if ac_fn_c_try_link "$LINENO"; then :
12088 case "$LIBEXT" in
12089 dll) ac_cv_lib_soname_Xrender=`$ac_cv_path_LDD conftest.exe | grep "Xrender" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12090 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'` ;;
12091 *) ac_cv_lib_soname_Xrender=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrender\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrender\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12092 if ${ac_cv_lib_soname_Xrender:+false} :; then :
12093 ac_cv_lib_soname_Xrender=`$LDD conftest$ac_exeext | grep "libXrender\\.$LIBEXT" | sed -e "s/^.*\(libXrender\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12094 fi ;;
12095 esac
12096 else
12097 ac_cv_lib_soname_Xrender=
12099 rm -f core conftest.err conftest.$ac_objext \
12100 conftest$ac_exeext conftest.$ac_ext
12101 LIBS=$ac_check_soname_save_LIBS
12103 if ${ac_cv_lib_soname_Xrender:+false} :; then :
12104 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12105 $as_echo "not found" >&6; }
12107 else
12108 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrender" >&5
12109 $as_echo "$ac_cv_lib_soname_Xrender" >&6; }
12111 cat >>confdefs.h <<_ACEOF
12112 #define SONAME_LIBXRENDER "$ac_cv_lib_soname_Xrender"
12113 _ACEOF
12115 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderSetPictureTransform in -lXrender" >&5
12116 $as_echo_n "checking for XRenderSetPictureTransform in -lXrender... " >&6; }
12117 if ${ac_cv_lib_Xrender_XRenderSetPictureTransform+:} false; then :
12118 $as_echo_n "(cached) " >&6
12119 else
12120 ac_check_lib_save_LIBS=$LIBS
12121 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
12122 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12123 /* end confdefs.h. */
12125 /* Override any GCC internal prototype to avoid an error.
12126 Use char because int might match the return type of a GCC
12127 builtin and then its argument prototype would still apply. */
12128 #ifdef __cplusplus
12129 extern "C"
12130 #endif
12131 char XRenderSetPictureTransform ();
12133 main ()
12135 return XRenderSetPictureTransform ();
12137 return 0;
12139 _ACEOF
12140 if ac_fn_c_try_link "$LINENO"; then :
12141 ac_cv_lib_Xrender_XRenderSetPictureTransform=yes
12142 else
12143 ac_cv_lib_Xrender_XRenderSetPictureTransform=no
12145 rm -f core conftest.err conftest.$ac_objext \
12146 conftest$ac_exeext conftest.$ac_ext
12147 LIBS=$ac_check_lib_save_LIBS
12149 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderSetPictureTransform" >&5
12150 $as_echo "$ac_cv_lib_Xrender_XRenderSetPictureTransform" >&6; }
12151 if test "x$ac_cv_lib_Xrender_XRenderSetPictureTransform" = xyes; then :
12153 $as_echo "#define HAVE_XRENDERSETPICTURETRANSFORM 1" >>confdefs.h
12157 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderCreateLinearGradient in -lXrender" >&5
12158 $as_echo_n "checking for XRenderCreateLinearGradient in -lXrender... " >&6; }
12159 if ${ac_cv_lib_Xrender_XRenderCreateLinearGradient+:} false; then :
12160 $as_echo_n "(cached) " >&6
12161 else
12162 ac_check_lib_save_LIBS=$LIBS
12163 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
12164 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12165 /* end confdefs.h. */
12167 /* Override any GCC internal prototype to avoid an error.
12168 Use char because int might match the return type of a GCC
12169 builtin and then its argument prototype would still apply. */
12170 #ifdef __cplusplus
12171 extern "C"
12172 #endif
12173 char XRenderCreateLinearGradient ();
12175 main ()
12177 return XRenderCreateLinearGradient ();
12179 return 0;
12181 _ACEOF
12182 if ac_fn_c_try_link "$LINENO"; then :
12183 ac_cv_lib_Xrender_XRenderCreateLinearGradient=yes
12184 else
12185 ac_cv_lib_Xrender_XRenderCreateLinearGradient=no
12187 rm -f core conftest.err conftest.$ac_objext \
12188 conftest$ac_exeext conftest.$ac_ext
12189 LIBS=$ac_check_lib_save_LIBS
12191 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&5
12192 $as_echo "$ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&6; }
12193 if test "x$ac_cv_lib_Xrender_XRenderCreateLinearGradient" = xyes; then :
12195 $as_echo "#define HAVE_XRENDERCREATELINEARGRADIENT 1" >>confdefs.h
12202 if test "x$ac_cv_lib_soname_Xrender" = "x"; then :
12203 case "x$with_xrender" in
12204 x) as_fn_append wine_warnings "|libxrender ${notice_platform}development files not found, XRender won't be supported." ;;
12205 xno) ;;
12206 *) as_fn_error $? "libxrender ${notice_platform}development files not found, XRender won't be supported.
12207 This is an error since --with-xrender was requested." "$LINENO" 5 ;;
12208 esac
12212 if test "$ac_cv_header_X11_extensions_Xrandr_h" = "yes" -a "x$ac_cv_lib_soname_Xrender" != "x"
12213 then
12214 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12215 /* end confdefs.h. */
12216 #include <X11/Xlib.h>
12217 #include <X11/extensions/Xrandr.h>
12219 main ()
12221 static typeof(XRRSetScreenConfigAndRate) * func; if (func) return 0;
12223 return 0;
12225 _ACEOF
12226 if ac_fn_c_try_compile "$LINENO"; then :
12227 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXrandr" >&5
12228 $as_echo_n "checking for -lXrandr... " >&6; }
12229 if ${ac_cv_lib_soname_Xrandr+:} false; then :
12230 $as_echo_n "(cached) " >&6
12231 else
12232 ac_check_soname_save_LIBS=$LIBS
12233 LIBS="-lXrandr $X_LIBS $X_EXTRA_LIBS $LIBS"
12234 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12235 /* end confdefs.h. */
12237 /* Override any GCC internal prototype to avoid an error.
12238 Use char because int might match the return type of a GCC
12239 builtin and then its argument prototype would still apply. */
12240 #ifdef __cplusplus
12241 extern "C"
12242 #endif
12243 char XRRQueryExtension ();
12245 main ()
12247 return XRRQueryExtension ();
12249 return 0;
12251 _ACEOF
12252 if ac_fn_c_try_link "$LINENO"; then :
12253 case "$LIBEXT" in
12254 dll) ac_cv_lib_soname_Xrandr=`$ac_cv_path_LDD conftest.exe | grep "Xrandr" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12255 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'` ;;
12256 *) ac_cv_lib_soname_Xrandr=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrandr\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrandr\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12257 if ${ac_cv_lib_soname_Xrandr:+false} :; then :
12258 ac_cv_lib_soname_Xrandr=`$LDD conftest$ac_exeext | grep "libXrandr\\.$LIBEXT" | sed -e "s/^.*\(libXrandr\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12259 fi ;;
12260 esac
12261 else
12262 ac_cv_lib_soname_Xrandr=
12264 rm -f core conftest.err conftest.$ac_objext \
12265 conftest$ac_exeext conftest.$ac_ext
12266 LIBS=$ac_check_soname_save_LIBS
12268 if ${ac_cv_lib_soname_Xrandr:+false} :; then :
12269 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12270 $as_echo "not found" >&6; }
12272 else
12273 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrandr" >&5
12274 $as_echo "$ac_cv_lib_soname_Xrandr" >&6; }
12276 cat >>confdefs.h <<_ACEOF
12277 #define SONAME_LIBXRANDR "$ac_cv_lib_soname_Xrandr"
12278 _ACEOF
12280 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12281 /* end confdefs.h. */
12282 #include <X11/Xlib.h>
12283 #include <X11/extensions/Xrandr.h>
12285 main ()
12287 static typeof(XRRGetProviderResources) *f; if (f) return 0;
12289 return 0;
12291 _ACEOF
12292 if ac_fn_c_try_compile "$LINENO"; then :
12294 $as_echo "#define HAVE_XRRGETPROVIDERRESOURCES 1" >>confdefs.h
12296 else
12297 as_fn_append wine_notices "|libxrandr ${notice_platform}development files too old, XRandR display device handler won't be supported."
12299 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12302 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12304 if test "x$ac_cv_lib_soname_Xrandr" = "x"; then :
12305 case "x$with_xrandr" in
12306 x) as_fn_append wine_notices "|libxrandr ${notice_platform}development files not found, XRandr won't be supported." ;;
12307 xno) ;;
12308 *) as_fn_error $? "libxrandr ${notice_platform}development files not found, XRandr won't be supported.
12309 This is an error since --with-xrandr was requested." "$LINENO" 5 ;;
12310 esac
12314 if test "$ac_cv_header_X11_extensions_Xfixes_h" = "yes"
12315 then
12316 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12317 /* end confdefs.h. */
12318 #include <X11/Xlib.h>
12319 #include <X11/extensions/Xfixes.h>
12321 main ()
12323 static typeof(XFixesQueryVersion) * func; if (func) return 0;
12325 return 0;
12327 _ACEOF
12328 if ac_fn_c_try_compile "$LINENO"; then :
12329 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXfixes" >&5
12330 $as_echo_n "checking for -lXfixes... " >&6; }
12331 if ${ac_cv_lib_soname_Xfixes+:} false; then :
12332 $as_echo_n "(cached) " >&6
12333 else
12334 ac_check_soname_save_LIBS=$LIBS
12335 LIBS="-lXfixes $X_LIBS $X_EXTRA_LIBS $LIBS"
12336 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12337 /* end confdefs.h. */
12339 /* Override any GCC internal prototype to avoid an error.
12340 Use char because int might match the return type of a GCC
12341 builtin and then its argument prototype would still apply. */
12342 #ifdef __cplusplus
12343 extern "C"
12344 #endif
12345 char XFixesQueryVersion ();
12347 main ()
12349 return XFixesQueryVersion ();
12351 return 0;
12353 _ACEOF
12354 if ac_fn_c_try_link "$LINENO"; then :
12355 case "$LIBEXT" in
12356 dll) ac_cv_lib_soname_Xfixes=`$ac_cv_path_LDD conftest.exe | grep "Xfixes" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12357 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'` ;;
12358 *) ac_cv_lib_soname_Xfixes=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXfixes\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXfixes\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12359 if ${ac_cv_lib_soname_Xfixes:+false} :; then :
12360 ac_cv_lib_soname_Xfixes=`$LDD conftest$ac_exeext | grep "libXfixes\\.$LIBEXT" | sed -e "s/^.*\(libXfixes\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12361 fi ;;
12362 esac
12363 else
12364 ac_cv_lib_soname_Xfixes=
12366 rm -f core conftest.err conftest.$ac_objext \
12367 conftest$ac_exeext conftest.$ac_ext
12368 LIBS=$ac_check_soname_save_LIBS
12370 if ${ac_cv_lib_soname_Xfixes:+false} :; then :
12371 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12372 $as_echo "not found" >&6; }
12374 else
12375 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xfixes" >&5
12376 $as_echo "$ac_cv_lib_soname_Xfixes" >&6; }
12378 cat >>confdefs.h <<_ACEOF
12379 #define SONAME_LIBXFIXES "$ac_cv_lib_soname_Xfixes"
12380 _ACEOF
12385 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12387 if test "x$ac_cv_lib_soname_Xfixes" = "x"; then :
12388 case "x$with_xfixes" in
12389 x) as_fn_append wine_notices "|libxfixes ${notice_platform}development files not found, Xfixes won't be supported." ;;
12390 xno) ;;
12391 *) as_fn_error $? "libxfixes ${notice_platform}development files not found, Xfixes won't be supported.
12392 This is an error since --with-xfixes was requested." "$LINENO" 5 ;;
12393 esac
12397 if test "$ac_cv_header_X11_extensions_Xinerama_h" = "yes"
12398 then
12399 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12400 /* end confdefs.h. */
12401 #include <X11/Xlib.h>
12402 #include <X11/extensions/Xinerama.h>
12404 main ()
12406 static typeof(XineramaQueryScreens) * func; if (func) return 0;
12408 return 0;
12410 _ACEOF
12411 if ac_fn_c_try_compile "$LINENO"; then :
12412 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXinerama" >&5
12413 $as_echo_n "checking for -lXinerama... " >&6; }
12414 if ${ac_cv_lib_soname_Xinerama+:} false; then :
12415 $as_echo_n "(cached) " >&6
12416 else
12417 ac_check_soname_save_LIBS=$LIBS
12418 LIBS="-lXinerama $X_LIBS $X_EXTRA_LIBS $LIBS"
12419 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12420 /* end confdefs.h. */
12422 /* Override any GCC internal prototype to avoid an error.
12423 Use char because int might match the return type of a GCC
12424 builtin and then its argument prototype would still apply. */
12425 #ifdef __cplusplus
12426 extern "C"
12427 #endif
12428 char XineramaQueryScreens ();
12430 main ()
12432 return XineramaQueryScreens ();
12434 return 0;
12436 _ACEOF
12437 if ac_fn_c_try_link "$LINENO"; then :
12438 case "$LIBEXT" in
12439 dll) ac_cv_lib_soname_Xinerama=`$ac_cv_path_LDD conftest.exe | grep "Xinerama" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12440 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'` ;;
12441 *) ac_cv_lib_soname_Xinerama=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXinerama\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXinerama\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12442 if ${ac_cv_lib_soname_Xinerama:+false} :; then :
12443 ac_cv_lib_soname_Xinerama=`$LDD conftest$ac_exeext | grep "libXinerama\\.$LIBEXT" | sed -e "s/^.*\(libXinerama\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12444 fi ;;
12445 esac
12446 else
12447 ac_cv_lib_soname_Xinerama=
12449 rm -f core conftest.err conftest.$ac_objext \
12450 conftest$ac_exeext conftest.$ac_ext
12451 LIBS=$ac_check_soname_save_LIBS
12453 if ${ac_cv_lib_soname_Xinerama:+false} :; then :
12454 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12455 $as_echo "not found" >&6; }
12457 else
12458 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xinerama" >&5
12459 $as_echo "$ac_cv_lib_soname_Xinerama" >&6; }
12461 cat >>confdefs.h <<_ACEOF
12462 #define SONAME_LIBXINERAMA "$ac_cv_lib_soname_Xinerama"
12463 _ACEOF
12468 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12470 if test "x$ac_cv_lib_soname_Xinerama" = "x"; then :
12471 case "x$with_xinerama" in
12472 x) as_fn_append wine_notices "|libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported." ;;
12473 xno) ;;
12474 *) as_fn_error $? "libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported.
12475 This is an error since --with-xinerama was requested." "$LINENO" 5 ;;
12476 esac
12480 if test "$ac_cv_header_X11_extensions_Xcomposite_h" = "yes"
12481 then
12482 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXcomposite" >&5
12483 $as_echo_n "checking for -lXcomposite... " >&6; }
12484 if ${ac_cv_lib_soname_Xcomposite+:} false; then :
12485 $as_echo_n "(cached) " >&6
12486 else
12487 ac_check_soname_save_LIBS=$LIBS
12488 LIBS="-lXcomposite $X_LIBS $X_EXTRA_LIBS $LIBS"
12489 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12490 /* end confdefs.h. */
12492 /* Override any GCC internal prototype to avoid an error.
12493 Use char because int might match the return type of a GCC
12494 builtin and then its argument prototype would still apply. */
12495 #ifdef __cplusplus
12496 extern "C"
12497 #endif
12498 char XCompositeRedirectWindow ();
12500 main ()
12502 return XCompositeRedirectWindow ();
12504 return 0;
12506 _ACEOF
12507 if ac_fn_c_try_link "$LINENO"; then :
12508 case "$LIBEXT" in
12509 dll) ac_cv_lib_soname_Xcomposite=`$ac_cv_path_LDD conftest.exe | grep "Xcomposite" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12510 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'` ;;
12511 *) ac_cv_lib_soname_Xcomposite=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcomposite\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcomposite\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12512 if ${ac_cv_lib_soname_Xcomposite:+false} :; then :
12513 ac_cv_lib_soname_Xcomposite=`$LDD conftest$ac_exeext | grep "libXcomposite\\.$LIBEXT" | sed -e "s/^.*\(libXcomposite\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12514 fi ;;
12515 esac
12516 else
12517 ac_cv_lib_soname_Xcomposite=
12519 rm -f core conftest.err conftest.$ac_objext \
12520 conftest$ac_exeext conftest.$ac_ext
12521 LIBS=$ac_check_soname_save_LIBS
12523 if ${ac_cv_lib_soname_Xcomposite:+false} :; then :
12524 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12525 $as_echo "not found" >&6; }
12527 else
12528 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcomposite" >&5
12529 $as_echo "$ac_cv_lib_soname_Xcomposite" >&6; }
12531 cat >>confdefs.h <<_ACEOF
12532 #define SONAME_LIBXCOMPOSITE "$ac_cv_lib_soname_Xcomposite"
12533 _ACEOF
12538 if test "x$ac_cv_lib_soname_Xcomposite" = "x"; then :
12539 case "x$with_xcomposite" in
12540 x) as_fn_append wine_notices "|libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported." ;;
12541 xno) ;;
12542 *) as_fn_error $? "libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported.
12543 This is an error since --with-xcomposite was requested." "$LINENO" 5 ;;
12544 esac
12548 ac_fn_c_check_member "$LINENO" "XICCallback" "callback" "ac_cv_member_XICCallback_callback" "#ifdef HAVE_X11_XLIB_H
12549 #include <X11/Xlib.h>
12550 #endif
12552 if test "x$ac_cv_member_XICCallback_callback" = xyes; then :
12554 cat >>confdefs.h <<_ACEOF
12555 #define HAVE_XICCALLBACK_CALLBACK 1
12556 _ACEOF
12560 ac_fn_c_check_member "$LINENO" "XEvent" "xcookie" "ac_cv_member_XEvent_xcookie" "#ifdef HAVE_X11_XLIB_H
12561 #include <X11/Xlib.h>
12562 #endif
12564 if test "x$ac_cv_member_XEvent_xcookie" = xyes; then :
12566 cat >>confdefs.h <<_ACEOF
12567 #define HAVE_XEVENT_XCOOKIE 1
12568 _ACEOF
12575 opengl_msg=""
12576 if test "x$with_opengl" != "xno"
12577 then
12578 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
12579 $as_echo_n "checking for -lGL... " >&6; }
12580 if ${ac_cv_lib_soname_GL+:} false; then :
12581 $as_echo_n "(cached) " >&6
12582 else
12583 ac_check_soname_save_LIBS=$LIBS
12584 LIBS="-lGL $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
12585 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12586 /* end confdefs.h. */
12588 /* Override any GCC internal prototype to avoid an error.
12589 Use char because int might match the return type of a GCC
12590 builtin and then its argument prototype would still apply. */
12591 #ifdef __cplusplus
12592 extern "C"
12593 #endif
12594 char glXCreateContext ();
12596 main ()
12598 return glXCreateContext ();
12600 return 0;
12602 _ACEOF
12603 if ac_fn_c_try_link "$LINENO"; then :
12604 case "$LIBEXT" in
12605 dll) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12606 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'` ;;
12607 *) ac_cv_lib_soname_GL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12608 if ${ac_cv_lib_soname_GL:+false} :; then :
12609 ac_cv_lib_soname_GL=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12610 fi ;;
12611 esac
12612 else
12613 ac_cv_lib_soname_GL=
12615 rm -f core conftest.err conftest.$ac_objext \
12616 conftest$ac_exeext conftest.$ac_ext
12617 LIBS=$ac_check_soname_save_LIBS
12619 if ${ac_cv_lib_soname_GL:+false} :; then :
12620 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12621 $as_echo "not found" >&6; }
12622 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
12623 $as_echo_n "checking for -lGL... " >&6; }
12624 if ${ac_cv_lib_soname_GL+:} false; then :
12625 $as_echo_n "(cached) " >&6
12626 else
12627 ac_check_soname_save_LIBS=$LIBS
12628 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"
12629 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12630 /* end confdefs.h. */
12632 /* Override any GCC internal prototype to avoid an error.
12633 Use char because int might match the return type of a GCC
12634 builtin and then its argument prototype would still apply. */
12635 #ifdef __cplusplus
12636 extern "C"
12637 #endif
12638 char glXCreateContext ();
12640 main ()
12642 return glXCreateContext ();
12644 return 0;
12646 _ACEOF
12647 if ac_fn_c_try_link "$LINENO"; then :
12648 case "$LIBEXT" in
12649 dll) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12650 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'` ;;
12651 *) ac_cv_lib_soname_GL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12652 if ${ac_cv_lib_soname_GL:+false} :; then :
12653 ac_cv_lib_soname_GL=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12654 fi ;;
12655 esac
12656 else
12657 ac_cv_lib_soname_GL=
12659 rm -f core conftest.err conftest.$ac_objext \
12660 conftest$ac_exeext conftest.$ac_ext
12661 LIBS=$ac_check_soname_save_LIBS
12663 if ${ac_cv_lib_soname_GL:+false} :; then :
12664 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12665 $as_echo "not found" >&6; }
12666 if test -f /usr/X11R6/lib/libGL.a
12667 then
12668 opengl_msg="/usr/X11R6/lib/libGL.a is present on your system.
12669 This probably prevents linking to OpenGL. Try deleting the file and restarting configure."
12670 else
12671 opengl_msg="No OpenGL library found on this system."
12673 else
12674 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
12675 $as_echo "$ac_cv_lib_soname_GL" >&6; }
12677 cat >>confdefs.h <<_ACEOF
12678 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
12679 _ACEOF
12681 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"
12683 else
12684 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
12685 $as_echo "$ac_cv_lib_soname_GL" >&6; }
12687 cat >>confdefs.h <<_ACEOF
12688 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
12689 _ACEOF
12691 OPENGL_LIBS="-lGL"
12693 if test "x$with_osmesa" != "xno"
12694 then
12695 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lOSMesa" >&5
12696 $as_echo_n "checking for -lOSMesa... " >&6; }
12697 if ${ac_cv_lib_soname_OSMesa+:} false; then :
12698 $as_echo_n "(cached) " >&6
12699 else
12700 ac_check_soname_save_LIBS=$LIBS
12701 LIBS="-lOSMesa $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
12702 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12703 /* end confdefs.h. */
12705 /* Override any GCC internal prototype to avoid an error.
12706 Use char because int might match the return type of a GCC
12707 builtin and then its argument prototype would still apply. */
12708 #ifdef __cplusplus
12709 extern "C"
12710 #endif
12711 char OSMesaGetProcAddress ();
12713 main ()
12715 return OSMesaGetProcAddress ();
12717 return 0;
12719 _ACEOF
12720 if ac_fn_c_try_link "$LINENO"; then :
12721 case "$LIBEXT" in
12722 dll) ac_cv_lib_soname_OSMesa=`$ac_cv_path_LDD conftest.exe | grep "OSMesa" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12723 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'` ;;
12724 *) ac_cv_lib_soname_OSMesa=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libOSMesa\\.$LIBEXT" | sed -e "s/^.*\\[\\(libOSMesa\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12725 if ${ac_cv_lib_soname_OSMesa:+false} :; then :
12726 ac_cv_lib_soname_OSMesa=`$LDD conftest$ac_exeext | grep "libOSMesa\\.$LIBEXT" | sed -e "s/^.*\(libOSMesa\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12727 fi ;;
12728 esac
12729 else
12730 ac_cv_lib_soname_OSMesa=
12732 rm -f core conftest.err conftest.$ac_objext \
12733 conftest$ac_exeext conftest.$ac_ext
12734 LIBS=$ac_check_soname_save_LIBS
12736 if ${ac_cv_lib_soname_OSMesa:+false} :; then :
12737 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12738 $as_echo "not found" >&6; }
12740 else
12741 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_OSMesa" >&5
12742 $as_echo "$ac_cv_lib_soname_OSMesa" >&6; }
12744 cat >>confdefs.h <<_ACEOF
12745 #define SONAME_LIBOSMESA "$ac_cv_lib_soname_OSMesa"
12746 _ACEOF
12750 if test "x$ac_cv_lib_soname_OSMesa" = "x"; then :
12751 case "x$with_osmesa" in
12752 x) as_fn_append wine_notices "|libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported." ;;
12753 xno) ;;
12754 *) as_fn_error $? "libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported.
12755 This is an error since --with-osmesa was requested." "$LINENO" 5 ;;
12756 esac
12761 if test -n "$opengl_msg"; then :
12762 case "x$with_opengl" in
12763 x) as_fn_append wine_warnings "|$opengl_msg
12764 OpenGL and Direct3D won't be supported." ;;
12765 xno) ;;
12766 *) as_fn_error $? "$opengl_msg
12767 OpenGL and Direct3D won't be supported.
12768 This is an error since --with-opengl was requested." "$LINENO" 5 ;;
12769 esac
12773 CPPFLAGS="$ac_save_CPPFLAGS"
12774 else
12775 X_CFLAGS=""
12776 X_LIBS=""
12779 if test "$enable_wineandroid_drv$enable_winemac_drv" = "nono"
12780 then
12781 if test "x$X_LIBS" = "x"; then :
12782 case "x$with_x" in
12783 xno) ;;
12784 *) as_fn_error $? "X ${notice_platform}development files not found. Wine will be built
12785 without X support, which probably isn't what you want. You will need
12786 to install ${notice_platform}development packages of Xlib at the very least.
12787 Use the --without-x option if you really want this." "$LINENO" 5 ;;
12788 esac
12789 enable_winex11_drv=${enable_winex11_drv:-no}
12791 else
12792 if test "x$X_LIBS" = "x"; then :
12793 case "x$with_x" in
12794 x) as_fn_append wine_notices "|X ${notice_platform}development files not found, the X11 driver won't be supported." ;;
12795 xno) ;;
12796 *) as_fn_error $? "X ${notice_platform}development files not found, the X11 driver won't be supported.
12797 This is an error since --with-x was requested." "$LINENO" 5 ;;
12798 esac
12799 enable_winex11_drv=${enable_winex11_drv:-no}
12803 if test "$ac_cv_header_CL_cl_h" = "yes"
12804 then
12805 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clGetPlatformInfo in -lOpenCL" >&5
12806 $as_echo_n "checking for clGetPlatformInfo in -lOpenCL... " >&6; }
12807 if ${ac_cv_lib_OpenCL_clGetPlatformInfo+:} false; then :
12808 $as_echo_n "(cached) " >&6
12809 else
12810 ac_check_lib_save_LIBS=$LIBS
12811 LIBS="-lOpenCL $LIBS"
12812 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12813 /* end confdefs.h. */
12815 /* Override any GCC internal prototype to avoid an error.
12816 Use char because int might match the return type of a GCC
12817 builtin and then its argument prototype would still apply. */
12818 #ifdef __cplusplus
12819 extern "C"
12820 #endif
12821 char clGetPlatformInfo ();
12823 main ()
12825 return clGetPlatformInfo ();
12827 return 0;
12829 _ACEOF
12830 if ac_fn_c_try_link "$LINENO"; then :
12831 ac_cv_lib_OpenCL_clGetPlatformInfo=yes
12832 else
12833 ac_cv_lib_OpenCL_clGetPlatformInfo=no
12835 rm -f core conftest.err conftest.$ac_objext \
12836 conftest$ac_exeext conftest.$ac_ext
12837 LIBS=$ac_check_lib_save_LIBS
12839 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_OpenCL_clGetPlatformInfo" >&5
12840 $as_echo "$ac_cv_lib_OpenCL_clGetPlatformInfo" >&6; }
12841 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" = xyes; then :
12842 OPENCL_LIBS="-lOpenCL"
12847 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" != xyes; then :
12848 case "x$with_opencl" in
12849 x) as_fn_append wine_notices "|OpenCL ${notice_platform}development files not found, OpenCL won't be supported." ;;
12850 xno) ;;
12851 *) as_fn_error $? "OpenCL ${notice_platform}development files not found, OpenCL won't be supported.
12852 This is an error since --with-opencl was requested." "$LINENO" 5 ;;
12853 esac
12854 enable_opencl=${enable_opencl:-no}
12857 if test "$ac_cv_header_pcap_pcap_h" = "yes"
12858 then
12859 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pcap_create in -lpcap" >&5
12860 $as_echo_n "checking for pcap_create in -lpcap... " >&6; }
12861 if ${ac_cv_lib_pcap_pcap_create+:} false; then :
12862 $as_echo_n "(cached) " >&6
12863 else
12864 ac_check_lib_save_LIBS=$LIBS
12865 LIBS="-lpcap $LIBS"
12866 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12867 /* end confdefs.h. */
12869 /* Override any GCC internal prototype to avoid an error.
12870 Use char because int might match the return type of a GCC
12871 builtin and then its argument prototype would still apply. */
12872 #ifdef __cplusplus
12873 extern "C"
12874 #endif
12875 char pcap_create ();
12877 main ()
12879 return pcap_create ();
12881 return 0;
12883 _ACEOF
12884 if ac_fn_c_try_link "$LINENO"; then :
12885 ac_cv_lib_pcap_pcap_create=yes
12886 else
12887 ac_cv_lib_pcap_pcap_create=no
12889 rm -f core conftest.err conftest.$ac_objext \
12890 conftest$ac_exeext conftest.$ac_ext
12891 LIBS=$ac_check_lib_save_LIBS
12893 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pcap_pcap_create" >&5
12894 $as_echo "$ac_cv_lib_pcap_pcap_create" >&6; }
12895 if test "x$ac_cv_lib_pcap_pcap_create" = xyes; then :
12896 PCAP_LIBS="-lpcap"
12901 if test "x$ac_cv_lib_pcap_pcap_create" != xyes; then :
12902 case "x$with_pcap" in
12903 x) as_fn_append wine_notices "|pcap ${notice_platform}development files not found, wpcap won't be supported." ;;
12904 xno) ;;
12905 *) as_fn_error $? "pcap ${notice_platform}development files not found, wpcap won't be supported.
12906 This is an error since --with-pcap was requested." "$LINENO" 5 ;;
12907 esac
12908 enable_wpcap=${enable_wpcap:-no}
12912 if test "x$with_xml" != "xno"
12913 then
12914 if ${XML2_CFLAGS:+false} :; then :
12915 if ${PKG_CONFIG+:} false; then :
12916 XML2_CFLAGS=`$PKG_CONFIG --cflags libxml-2.0 2>/dev/null`
12919 test "$cross_compiling" = yes || XML2_CFLAGS=${XML2_CFLAGS:-`${XML2_CONFIG:-xml2-config} --cflags 2>/dev/null`}
12920 if ${XML2_LIBS:+false} :; then :
12921 if ${PKG_CONFIG+:} false; then :
12922 XML2_LIBS=`$PKG_CONFIG --libs libxml-2.0 2>/dev/null`
12925 test "$cross_compiling" = yes || XML2_LIBS=${XML2_LIBS:-`${XML2_CONFIG:-xml2-config} --libs 2>/dev/null`}
12926 XML2_LIBS=${XML2_LIBS:-"-lxml2"}
12927 $as_echo "$as_me:${as_lineno-$LINENO}: libxml-2.0 cflags: $XML2_CFLAGS" >&5
12928 $as_echo "$as_me:${as_lineno-$LINENO}: libxml-2.0 libs: $XML2_LIBS" >&5
12929 ac_save_CPPFLAGS=$CPPFLAGS
12930 CPPFLAGS="$CPPFLAGS $XML2_CFLAGS"
12931 for ac_header in libxml/parser.h libxml/xmlsave.h libxml/SAX2.h
12932 do :
12933 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
12934 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
12935 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
12936 cat >>confdefs.h <<_ACEOF
12937 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
12938 _ACEOF
12942 done
12944 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"
12945 then
12946 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlParseMemory in -lxml2" >&5
12947 $as_echo_n "checking for xmlParseMemory in -lxml2... " >&6; }
12948 if ${ac_cv_lib_xml2_xmlParseMemory+:} false; then :
12949 $as_echo_n "(cached) " >&6
12950 else
12951 ac_check_lib_save_LIBS=$LIBS
12952 LIBS="-lxml2 $XML2_LIBS $LIBS"
12953 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12954 /* end confdefs.h. */
12956 /* Override any GCC internal prototype to avoid an error.
12957 Use char because int might match the return type of a GCC
12958 builtin and then its argument prototype would still apply. */
12959 #ifdef __cplusplus
12960 extern "C"
12961 #endif
12962 char xmlParseMemory ();
12964 main ()
12966 return xmlParseMemory ();
12968 return 0;
12970 _ACEOF
12971 if ac_fn_c_try_link "$LINENO"; then :
12972 ac_cv_lib_xml2_xmlParseMemory=yes
12973 else
12974 ac_cv_lib_xml2_xmlParseMemory=no
12976 rm -f core conftest.err conftest.$ac_objext \
12977 conftest$ac_exeext conftest.$ac_ext
12978 LIBS=$ac_check_lib_save_LIBS
12980 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlParseMemory" >&5
12981 $as_echo "$ac_cv_lib_xml2_xmlParseMemory" >&6; }
12982 if test "x$ac_cv_lib_xml2_xmlParseMemory" = xyes; then :
12984 $as_echo "#define HAVE_LIBXML2 1" >>confdefs.h
12986 else
12987 XML2_LIBS=""
12990 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlReadMemory in -lxml2" >&5
12991 $as_echo_n "checking for xmlReadMemory in -lxml2... " >&6; }
12992 if ${ac_cv_lib_xml2_xmlReadMemory+:} false; then :
12993 $as_echo_n "(cached) " >&6
12994 else
12995 ac_check_lib_save_LIBS=$LIBS
12996 LIBS="-lxml2 $XML2_LIBS $LIBS"
12997 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12998 /* end confdefs.h. */
13000 /* Override any GCC internal prototype to avoid an error.
13001 Use char because int might match the return type of a GCC
13002 builtin and then its argument prototype would still apply. */
13003 #ifdef __cplusplus
13004 extern "C"
13005 #endif
13006 char xmlReadMemory ();
13008 main ()
13010 return xmlReadMemory ();
13012 return 0;
13014 _ACEOF
13015 if ac_fn_c_try_link "$LINENO"; then :
13016 ac_cv_lib_xml2_xmlReadMemory=yes
13017 else
13018 ac_cv_lib_xml2_xmlReadMemory=no
13020 rm -f core conftest.err conftest.$ac_objext \
13021 conftest$ac_exeext conftest.$ac_ext
13022 LIBS=$ac_check_lib_save_LIBS
13024 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlReadMemory" >&5
13025 $as_echo "$ac_cv_lib_xml2_xmlReadMemory" >&6; }
13026 if test "x$ac_cv_lib_xml2_xmlReadMemory" = xyes; then :
13028 $as_echo "#define HAVE_XMLREADMEMORY 1" >>confdefs.h
13032 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlNewDocPI in -lxml2" >&5
13033 $as_echo_n "checking for xmlNewDocPI in -lxml2... " >&6; }
13034 if ${ac_cv_lib_xml2_xmlNewDocPI+:} false; then :
13035 $as_echo_n "(cached) " >&6
13036 else
13037 ac_check_lib_save_LIBS=$LIBS
13038 LIBS="-lxml2 $XML2_LIBS $LIBS"
13039 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13040 /* end confdefs.h. */
13042 /* Override any GCC internal prototype to avoid an error.
13043 Use char because int might match the return type of a GCC
13044 builtin and then its argument prototype would still apply. */
13045 #ifdef __cplusplus
13046 extern "C"
13047 #endif
13048 char xmlNewDocPI ();
13050 main ()
13052 return xmlNewDocPI ();
13054 return 0;
13056 _ACEOF
13057 if ac_fn_c_try_link "$LINENO"; then :
13058 ac_cv_lib_xml2_xmlNewDocPI=yes
13059 else
13060 ac_cv_lib_xml2_xmlNewDocPI=no
13062 rm -f core conftest.err conftest.$ac_objext \
13063 conftest$ac_exeext conftest.$ac_ext
13064 LIBS=$ac_check_lib_save_LIBS
13066 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlNewDocPI" >&5
13067 $as_echo "$ac_cv_lib_xml2_xmlNewDocPI" >&6; }
13068 if test "x$ac_cv_lib_xml2_xmlNewDocPI" = xyes; then :
13070 $as_echo "#define HAVE_XMLNEWDOCPI 1" >>confdefs.h
13074 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlSchemaSetParserStructuredErrors in -lxml2" >&5
13075 $as_echo_n "checking for xmlSchemaSetParserStructuredErrors in -lxml2... " >&6; }
13076 if ${ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors+:} false; then :
13077 $as_echo_n "(cached) " >&6
13078 else
13079 ac_check_lib_save_LIBS=$LIBS
13080 LIBS="-lxml2 $XML2_LIBS $LIBS"
13081 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13082 /* end confdefs.h. */
13084 /* Override any GCC internal prototype to avoid an error.
13085 Use char because int might match the return type of a GCC
13086 builtin and then its argument prototype would still apply. */
13087 #ifdef __cplusplus
13088 extern "C"
13089 #endif
13090 char xmlSchemaSetParserStructuredErrors ();
13092 main ()
13094 return xmlSchemaSetParserStructuredErrors ();
13096 return 0;
13098 _ACEOF
13099 if ac_fn_c_try_link "$LINENO"; then :
13100 ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors=yes
13101 else
13102 ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors=no
13104 rm -f core conftest.err conftest.$ac_objext \
13105 conftest$ac_exeext conftest.$ac_ext
13106 LIBS=$ac_check_lib_save_LIBS
13108 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" >&5
13109 $as_echo "$ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" >&6; }
13110 if test "x$ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" = xyes; then :
13112 $as_echo "#define HAVE_XMLSCHEMASSETPARSERSTRUCTUREDERRORS 1" >>confdefs.h
13116 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlSchemaSetValidStructuredErrors in -lxml2" >&5
13117 $as_echo_n "checking for xmlSchemaSetValidStructuredErrors in -lxml2... " >&6; }
13118 if ${ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors+:} false; then :
13119 $as_echo_n "(cached) " >&6
13120 else
13121 ac_check_lib_save_LIBS=$LIBS
13122 LIBS="-lxml2 $XML2_LIBS $LIBS"
13123 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13124 /* end confdefs.h. */
13126 /* Override any GCC internal prototype to avoid an error.
13127 Use char because int might match the return type of a GCC
13128 builtin and then its argument prototype would still apply. */
13129 #ifdef __cplusplus
13130 extern "C"
13131 #endif
13132 char xmlSchemaSetValidStructuredErrors ();
13134 main ()
13136 return xmlSchemaSetValidStructuredErrors ();
13138 return 0;
13140 _ACEOF
13141 if ac_fn_c_try_link "$LINENO"; then :
13142 ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors=yes
13143 else
13144 ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors=no
13146 rm -f core conftest.err conftest.$ac_objext \
13147 conftest$ac_exeext conftest.$ac_ext
13148 LIBS=$ac_check_lib_save_LIBS
13150 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" >&5
13151 $as_echo "$ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" >&6; }
13152 if test "x$ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" = xyes; then :
13154 $as_echo "#define HAVE_XMLSCHEMASSETVALIDSTRUCTUREDERRORS 1" >>confdefs.h
13158 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlFirstElementChild in -lxml2" >&5
13159 $as_echo_n "checking for xmlFirstElementChild in -lxml2... " >&6; }
13160 if ${ac_cv_lib_xml2_xmlFirstElementChild+:} false; then :
13161 $as_echo_n "(cached) " >&6
13162 else
13163 ac_check_lib_save_LIBS=$LIBS
13164 LIBS="-lxml2 $XML2_LIBS $LIBS"
13165 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13166 /* end confdefs.h. */
13168 /* Override any GCC internal prototype to avoid an error.
13169 Use char because int might match the return type of a GCC
13170 builtin and then its argument prototype would still apply. */
13171 #ifdef __cplusplus
13172 extern "C"
13173 #endif
13174 char xmlFirstElementChild ();
13176 main ()
13178 return xmlFirstElementChild ();
13180 return 0;
13182 _ACEOF
13183 if ac_fn_c_try_link "$LINENO"; then :
13184 ac_cv_lib_xml2_xmlFirstElementChild=yes
13185 else
13186 ac_cv_lib_xml2_xmlFirstElementChild=no
13188 rm -f core conftest.err conftest.$ac_objext \
13189 conftest$ac_exeext conftest.$ac_ext
13190 LIBS=$ac_check_lib_save_LIBS
13192 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlFirstElementChild" >&5
13193 $as_echo "$ac_cv_lib_xml2_xmlFirstElementChild" >&6; }
13194 if test "x$ac_cv_lib_xml2_xmlFirstElementChild" = xyes; then :
13196 $as_echo "#define HAVE_XMLFIRSTELEMENTCHILD 1" >>confdefs.h
13200 ac_fn_c_check_type "$LINENO" "xmlDocProperties" "ac_cv_type_xmlDocProperties" "#include <libxml/tree.h>
13202 if test "x$ac_cv_type_xmlDocProperties" = xyes; then :
13204 $as_echo "#define HAVE_XMLDOC_PROPERTIES 1" >>confdefs.h
13208 else
13209 XML2_CFLAGS=""
13210 XML2_LIBS=""
13212 CPPFLAGS=$ac_save_CPPFLAGS
13215 if test "$ac_cv_lib_xml2_xmlParseMemory" != "yes"; then :
13216 case "x$with_xml" in
13217 x) as_fn_append wine_warnings "|libxml2 ${notice_platform}development files not found (or too old), XML won't be supported." ;;
13218 xno) ;;
13219 *) as_fn_error $? "libxml2 ${notice_platform}development files not found (or too old), XML won't be supported.
13220 This is an error since --with-xml was requested." "$LINENO" 5 ;;
13221 esac
13225 if test "x$with_xslt" != "xno"
13226 then
13227 if ${XSLT_CFLAGS:+false} :; then :
13228 if ${PKG_CONFIG+:} false; then :
13229 XSLT_CFLAGS=`$PKG_CONFIG --cflags libxslt 2>/dev/null`
13232 test "$cross_compiling" = yes || XSLT_CFLAGS=${XSLT_CFLAGS:-`${XSLT_CONFIG:-xslt-config} --cflags 2>/dev/null`}
13233 if ${XSLT_LIBS:+false} :; then :
13234 if ${PKG_CONFIG+:} false; then :
13235 XSLT_LIBS=`$PKG_CONFIG --libs libxslt 2>/dev/null`
13238 test "$cross_compiling" = yes || XSLT_LIBS=${XSLT_LIBS:-`${XSLT_CONFIG:-xslt-config} --libs 2>/dev/null`}
13239 XSLT_LIBS=${XSLT_LIBS:-"-lxml2"}
13240 $as_echo "$as_me:${as_lineno-$LINENO}: libxslt cflags: $XSLT_CFLAGS" >&5
13241 $as_echo "$as_me:${as_lineno-$LINENO}: libxslt libs: $XSLT_LIBS" >&5
13242 ac_save_CPPFLAGS=$CPPFLAGS
13243 CPPFLAGS="$CPPFLAGS $XSLT_CFLAGS"
13244 for ac_header in libxslt/pattern.h libxslt/transform.h
13245 do :
13246 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
13247 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_LIBXSLT_PATTERN_H
13248 # include <libxslt/pattern.h>
13249 #endif
13251 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
13252 cat >>confdefs.h <<_ACEOF
13253 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
13254 _ACEOF
13258 done
13260 if test "$ac_cv_header_libxslt_transform_h" = "yes"
13261 then
13262 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lxslt" >&5
13263 $as_echo_n "checking for -lxslt... " >&6; }
13264 if ${ac_cv_lib_soname_xslt+:} false; then :
13265 $as_echo_n "(cached) " >&6
13266 else
13267 ac_check_soname_save_LIBS=$LIBS
13268 LIBS="-lxslt $XSLT_LIBS $LIBS"
13269 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13270 /* end confdefs.h. */
13272 /* Override any GCC internal prototype to avoid an error.
13273 Use char because int might match the return type of a GCC
13274 builtin and then its argument prototype would still apply. */
13275 #ifdef __cplusplus
13276 extern "C"
13277 #endif
13278 char xsltCompilePattern ();
13280 main ()
13282 return xsltCompilePattern ();
13284 return 0;
13286 _ACEOF
13287 if ac_fn_c_try_link "$LINENO"; then :
13288 case "$LIBEXT" in
13289 dll) ac_cv_lib_soname_xslt=`$ac_cv_path_LDD conftest.exe | grep "xslt" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13290 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'` ;;
13291 *) ac_cv_lib_soname_xslt=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libxslt\\.$LIBEXT" | sed -e "s/^.*\\[\\(libxslt\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13292 if ${ac_cv_lib_soname_xslt:+false} :; then :
13293 ac_cv_lib_soname_xslt=`$LDD conftest$ac_exeext | grep "libxslt\\.$LIBEXT" | sed -e "s/^.*\(libxslt\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13294 fi ;;
13295 esac
13296 else
13297 ac_cv_lib_soname_xslt=
13299 rm -f core conftest.err conftest.$ac_objext \
13300 conftest$ac_exeext conftest.$ac_ext
13301 LIBS=$ac_check_soname_save_LIBS
13303 if ${ac_cv_lib_soname_xslt:+false} :; then :
13304 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13305 $as_echo "not found" >&6; }
13307 else
13308 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_xslt" >&5
13309 $as_echo "$ac_cv_lib_soname_xslt" >&6; }
13311 cat >>confdefs.h <<_ACEOF
13312 #define SONAME_LIBXSLT "$ac_cv_lib_soname_xslt"
13313 _ACEOF
13317 else
13318 XSLT_CFLAGS=""
13320 CPPFLAGS=$ac_save_CPPFLAGS
13323 if test "x$ac_cv_lib_soname_xslt" = "x"; then :
13324 case "x$with_xslt" in
13325 x) as_fn_append wine_warnings "|libxslt ${notice_platform}development files not found, xslt won't be supported." ;;
13326 xno) ;;
13327 *) as_fn_error $? "libxslt ${notice_platform}development files not found, xslt won't be supported.
13328 This is an error since --with-xslt was requested." "$LINENO" 5 ;;
13329 esac
13333 if test "x$with_inotify" != "xno"
13334 then
13335 if ${INOTIFY_CFLAGS:+false} :; then :
13336 if ${PKG_CONFIG+:} false; then :
13337 INOTIFY_CFLAGS=`$PKG_CONFIG --cflags libinotify 2>/dev/null`
13341 if ${INOTIFY_LIBS:+false} :; then :
13342 if ${PKG_CONFIG+:} false; then :
13343 INOTIFY_LIBS=`$PKG_CONFIG --libs libinotify 2>/dev/null`
13348 $as_echo "$as_me:${as_lineno-$LINENO}: libinotify cflags: $INOTIFY_CFLAGS" >&5
13349 $as_echo "$as_me:${as_lineno-$LINENO}: libinotify libs: $INOTIFY_LIBS" >&5
13350 ac_save_CPPFLAGS=$CPPFLAGS
13351 CPPFLAGS="$CPPFLAGS $INOTIFY_CFLAGS"
13352 for ac_header in sys/inotify.h
13353 do :
13354 ac_fn_c_check_header_mongrel "$LINENO" "sys/inotify.h" "ac_cv_header_sys_inotify_h" "$ac_includes_default"
13355 if test "x$ac_cv_header_sys_inotify_h" = xyes; then :
13356 cat >>confdefs.h <<_ACEOF
13357 #define HAVE_SYS_INOTIFY_H 1
13358 _ACEOF
13362 done
13364 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inotify_add_watch in -linotify" >&5
13365 $as_echo_n "checking for inotify_add_watch in -linotify... " >&6; }
13366 if ${ac_cv_lib_inotify_inotify_add_watch+:} false; then :
13367 $as_echo_n "(cached) " >&6
13368 else
13369 ac_check_lib_save_LIBS=$LIBS
13370 LIBS="-linotify $INOTIFY_LIBS $LIBS"
13371 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13372 /* end confdefs.h. */
13374 /* Override any GCC internal prototype to avoid an error.
13375 Use char because int might match the return type of a GCC
13376 builtin and then its argument prototype would still apply. */
13377 #ifdef __cplusplus
13378 extern "C"
13379 #endif
13380 char inotify_add_watch ();
13382 main ()
13384 return inotify_add_watch ();
13386 return 0;
13388 _ACEOF
13389 if ac_fn_c_try_link "$LINENO"; then :
13390 ac_cv_lib_inotify_inotify_add_watch=yes
13391 else
13392 ac_cv_lib_inotify_inotify_add_watch=no
13394 rm -f core conftest.err conftest.$ac_objext \
13395 conftest$ac_exeext conftest.$ac_ext
13396 LIBS=$ac_check_lib_save_LIBS
13398 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_inotify_inotify_add_watch" >&5
13399 $as_echo "$ac_cv_lib_inotify_inotify_add_watch" >&6; }
13400 if test "x$ac_cv_lib_inotify_inotify_add_watch" = xyes; then :
13402 else
13403 INOTIFY_LIBS=""
13406 CPPFLAGS=$ac_save_CPPFLAGS
13409 if test "$ac_cv_header_sys_inotify_h" != "yes"; then :
13410 case "x$with_inotify" in
13411 x) as_fn_append wine_notices "|libinotify ${notice_platform}development files not found (or too old), filesystem change notifications won't be supported." ;;
13412 xno) ;;
13413 *) as_fn_error $? "libinotify ${notice_platform}development files not found (or too old), filesystem change notifications won't be supported.
13414 This is an error since --with-inotify was requested." "$LINENO" 5 ;;
13415 esac
13419 if test "x$with_dbus" != "xno"
13420 then
13421 if ${DBUS_CFLAGS:+false} :; then :
13422 if ${PKG_CONFIG+:} false; then :
13423 DBUS_CFLAGS=`$PKG_CONFIG --cflags dbus-1 2>/dev/null`
13427 if ${DBUS_LIBS:+false} :; then :
13428 if ${PKG_CONFIG+:} false; then :
13429 DBUS_LIBS=`$PKG_CONFIG --libs dbus-1 2>/dev/null`
13434 $as_echo "$as_me:${as_lineno-$LINENO}: dbus-1 cflags: $DBUS_CFLAGS" >&5
13435 $as_echo "$as_me:${as_lineno-$LINENO}: dbus-1 libs: $DBUS_LIBS" >&5
13436 ac_save_CPPFLAGS=$CPPFLAGS
13437 CPPFLAGS="$CPPFLAGS $DBUS_CFLAGS"
13438 ac_fn_c_check_header_mongrel "$LINENO" "dbus/dbus.h" "ac_cv_header_dbus_dbus_h" "$ac_includes_default"
13439 if test "x$ac_cv_header_dbus_dbus_h" = xyes; then :
13440 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ldbus-1" >&5
13441 $as_echo_n "checking for -ldbus-1... " >&6; }
13442 if ${ac_cv_lib_soname_dbus_1+:} false; then :
13443 $as_echo_n "(cached) " >&6
13444 else
13445 ac_check_soname_save_LIBS=$LIBS
13446 LIBS="-ldbus-1 $DBUS_LIBS $LIBS"
13447 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13448 /* end confdefs.h. */
13450 /* Override any GCC internal prototype to avoid an error.
13451 Use char because int might match the return type of a GCC
13452 builtin and then its argument prototype would still apply. */
13453 #ifdef __cplusplus
13454 extern "C"
13455 #endif
13456 char dbus_connection_close ();
13458 main ()
13460 return dbus_connection_close ();
13462 return 0;
13464 _ACEOF
13465 if ac_fn_c_try_link "$LINENO"; then :
13466 case "$LIBEXT" in
13467 dll) ac_cv_lib_soname_dbus_1=`$ac_cv_path_LDD conftest.exe | grep "dbus-1" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13468 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'` ;;
13469 *) 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'`
13470 if ${ac_cv_lib_soname_dbus_1:+false} :; then :
13471 ac_cv_lib_soname_dbus_1=`$LDD conftest$ac_exeext | grep "libdbus-1\\.$LIBEXT" | sed -e "s/^.*\(libdbus-1\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13472 fi ;;
13473 esac
13474 else
13475 ac_cv_lib_soname_dbus_1=
13477 rm -f core conftest.err conftest.$ac_objext \
13478 conftest$ac_exeext conftest.$ac_ext
13479 LIBS=$ac_check_soname_save_LIBS
13481 if ${ac_cv_lib_soname_dbus_1:+false} :; then :
13482 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13483 $as_echo "not found" >&6; }
13484 DBUS_CFLAGS=""
13485 else
13486 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_dbus_1" >&5
13487 $as_echo "$ac_cv_lib_soname_dbus_1" >&6; }
13489 cat >>confdefs.h <<_ACEOF
13490 #define SONAME_LIBDBUS_1 "$ac_cv_lib_soname_dbus_1"
13491 _ACEOF
13495 else
13496 DBUS_CFLAGS=""
13500 CPPFLAGS=$ac_save_CPPFLAGS
13503 if test "x$ac_cv_lib_soname_dbus_1" = "x" -a \
13504 "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"; then :
13505 case "x$with_dbus" in
13506 x) as_fn_append wine_notices "|libdbus ${notice_platform}development files not found, no dynamic device support." ;;
13507 xno) ;;
13508 *) as_fn_error $? "libdbus ${notice_platform}development files not found, no dynamic device support.
13509 This is an error since --with-dbus was requested." "$LINENO" 5 ;;
13510 esac
13514 if test "x$with_hal" != "xno" -a "x$ac_cv_lib_soname_dbus_1" != x
13515 then
13516 if ${HAL_CFLAGS:+false} :; then :
13517 if ${PKG_CONFIG+:} false; then :
13518 HAL_CFLAGS=`$PKG_CONFIG --cflags hal 2>/dev/null`
13522 if ${HAL_LIBS:+false} :; then :
13523 if ${PKG_CONFIG+:} false; then :
13524 HAL_LIBS=`$PKG_CONFIG --libs hal 2>/dev/null`
13528 HAL_LIBS=${HAL_LIBS:-"-ldbus-1"}
13529 $as_echo "$as_me:${as_lineno-$LINENO}: hal cflags: $HAL_CFLAGS" >&5
13530 $as_echo "$as_me:${as_lineno-$LINENO}: hal libs: $HAL_LIBS" >&5
13531 ac_save_CPPFLAGS=$CPPFLAGS
13532 CPPFLAGS="$CPPFLAGS $HAL_CFLAGS"
13533 ac_fn_c_check_header_mongrel "$LINENO" "hal/libhal.h" "ac_cv_header_hal_libhal_h" "$ac_includes_default"
13534 if test "x$ac_cv_header_hal_libhal_h" = xyes; then :
13535 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lhal" >&5
13536 $as_echo_n "checking for -lhal... " >&6; }
13537 if ${ac_cv_lib_soname_hal+:} false; then :
13538 $as_echo_n "(cached) " >&6
13539 else
13540 ac_check_soname_save_LIBS=$LIBS
13541 LIBS="-lhal $HAL_LIBS $LIBS"
13542 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13543 /* end confdefs.h. */
13545 /* Override any GCC internal prototype to avoid an error.
13546 Use char because int might match the return type of a GCC
13547 builtin and then its argument prototype would still apply. */
13548 #ifdef __cplusplus
13549 extern "C"
13550 #endif
13551 char libhal_ctx_new ();
13553 main ()
13555 return libhal_ctx_new ();
13557 return 0;
13559 _ACEOF
13560 if ac_fn_c_try_link "$LINENO"; then :
13561 case "$LIBEXT" in
13562 dll) ac_cv_lib_soname_hal=`$ac_cv_path_LDD conftest.exe | grep "hal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13563 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'` ;;
13564 *) ac_cv_lib_soname_hal=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libhal\\.$LIBEXT" | sed -e "s/^.*\\[\\(libhal\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13565 if ${ac_cv_lib_soname_hal:+false} :; then :
13566 ac_cv_lib_soname_hal=`$LDD conftest$ac_exeext | grep "libhal\\.$LIBEXT" | sed -e "s/^.*\(libhal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13567 fi ;;
13568 esac
13569 else
13570 ac_cv_lib_soname_hal=
13572 rm -f core conftest.err conftest.$ac_objext \
13573 conftest$ac_exeext conftest.$ac_ext
13574 LIBS=$ac_check_soname_save_LIBS
13576 if ${ac_cv_lib_soname_hal:+false} :; then :
13577 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13578 $as_echo "not found" >&6; }
13579 HAL_CFLAGS=""
13580 else
13581 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_hal" >&5
13582 $as_echo "$ac_cv_lib_soname_hal" >&6; }
13584 cat >>confdefs.h <<_ACEOF
13585 #define SONAME_LIBHAL "$ac_cv_lib_soname_hal"
13586 _ACEOF
13590 else
13591 HAL_CFLAGS=""
13595 CPPFLAGS=$ac_save_CPPFLAGS
13597 if test "x$ac_cv_lib_soname_hal" = "x" -a \
13598 "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"; then :
13599 case "x$with_hal" in
13600 x) as_fn_append wine_notices "|libhal ${notice_platform}development files not found, no legacy dynamic device support." ;;
13601 xno) ;;
13602 *) as_fn_error $? "libhal ${notice_platform}development files not found, no legacy dynamic device support.
13603 This is an error since --with-hal was requested." "$LINENO" 5 ;;
13604 esac
13609 if test "x$with_gnutls" != "xno"
13610 then
13611 if ${GNUTLS_CFLAGS:+false} :; then :
13612 if ${PKG_CONFIG+:} false; then :
13613 GNUTLS_CFLAGS=`$PKG_CONFIG --cflags gnutls 2>/dev/null`
13617 if ${GNUTLS_LIBS:+false} :; then :
13618 if ${PKG_CONFIG+:} false; then :
13619 GNUTLS_LIBS=`$PKG_CONFIG --libs gnutls 2>/dev/null`
13623 GNUTLS_LIBS=${GNUTLS_LIBS:-"-lgnutls"}
13624 $as_echo "$as_me:${as_lineno-$LINENO}: gnutls cflags: $GNUTLS_CFLAGS" >&5
13625 $as_echo "$as_me:${as_lineno-$LINENO}: gnutls libs: $GNUTLS_LIBS" >&5
13626 ac_save_CPPFLAGS=$CPPFLAGS
13627 CPPFLAGS="$CPPFLAGS $GNUTLS_CFLAGS"
13628 ac_fn_c_check_header_mongrel "$LINENO" "gnutls/gnutls.h" "ac_cv_header_gnutls_gnutls_h" "$ac_includes_default"
13629 if test "x$ac_cv_header_gnutls_gnutls_h" = xyes; then :
13630 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13631 /* end confdefs.h. */
13632 #include <gnutls/gnutls.h>
13633 #include <gnutls/crypto.h>
13635 main ()
13637 static typeof(gnutls_mac_get_key_size) *func; if (func) return 0;
13639 return 0;
13641 _ACEOF
13642 if ac_fn_c_try_compile "$LINENO"; then :
13643 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgnutls" >&5
13644 $as_echo_n "checking for -lgnutls... " >&6; }
13645 if ${ac_cv_lib_soname_gnutls+:} false; then :
13646 $as_echo_n "(cached) " >&6
13647 else
13648 ac_check_soname_save_LIBS=$LIBS
13649 LIBS="-lgnutls $GNUTLS_LIBS $LIBS"
13650 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13651 /* end confdefs.h. */
13653 /* Override any GCC internal prototype to avoid an error.
13654 Use char because int might match the return type of a GCC
13655 builtin and then its argument prototype would still apply. */
13656 #ifdef __cplusplus
13657 extern "C"
13658 #endif
13659 char gnutls_global_init ();
13661 main ()
13663 return gnutls_global_init ();
13665 return 0;
13667 _ACEOF
13668 if ac_fn_c_try_link "$LINENO"; then :
13669 case "$LIBEXT" in
13670 dll) ac_cv_lib_soname_gnutls=`$ac_cv_path_LDD conftest.exe | grep "gnutls" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13671 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'` ;;
13672 *) 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'`
13673 if ${ac_cv_lib_soname_gnutls:+false} :; then :
13674 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'`
13675 fi ;;
13676 esac
13677 else
13678 ac_cv_lib_soname_gnutls=
13680 rm -f core conftest.err conftest.$ac_objext \
13681 conftest$ac_exeext conftest.$ac_ext
13682 LIBS=$ac_check_soname_save_LIBS
13684 if ${ac_cv_lib_soname_gnutls:+false} :; then :
13685 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13686 $as_echo "not found" >&6; }
13687 GNUTLS_CFLAGS=""
13688 else
13689 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gnutls" >&5
13690 $as_echo "$ac_cv_lib_soname_gnutls" >&6; }
13692 cat >>confdefs.h <<_ACEOF
13693 #define SONAME_LIBGNUTLS "$ac_cv_lib_soname_gnutls"
13694 _ACEOF
13698 ac_wine_check_funcs_save_LIBS="$LIBS"
13699 LIBS="$LIBS $GNUTLS_LIBS"
13700 for ac_func in gnutls_cipher_init
13701 do :
13702 ac_fn_c_check_func "$LINENO" "gnutls_cipher_init" "ac_cv_func_gnutls_cipher_init"
13703 if test "x$ac_cv_func_gnutls_cipher_init" = xyes; then :
13704 cat >>confdefs.h <<_ACEOF
13705 #define HAVE_GNUTLS_CIPHER_INIT 1
13706 _ACEOF
13708 else
13709 as_fn_append wine_notices "|libgnutls ${notice_platform}development files too old, bcrypt encryption won't be supported."
13711 done
13713 LIBS="$ac_wine_check_funcs_save_LIBS"
13715 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13716 else
13717 GNUTLS_CFLAGS=""
13721 CPPFLAGS=$ac_save_CPPFLAGS
13724 if test "x$ac_cv_lib_soname_gnutls" = "x"; then :
13725 case "x$with_gnutls" in
13726 x) as_fn_append wine_warnings "|libgnutls ${notice_platform}development files not found, no schannel support." ;;
13727 xno) ;;
13728 *) as_fn_error $? "libgnutls ${notice_platform}development files not found, no schannel support.
13729 This is an error since --with-gnutls was requested." "$LINENO" 5 ;;
13730 esac
13734 if test "x$with_sane" != "xno"
13735 then
13736 if ${SANE_CFLAGS:+false} :; then :
13737 if ${PKG_CONFIG+:} false; then :
13738 SANE_CFLAGS=`$PKG_CONFIG --cflags sane-backends 2>/dev/null`
13741 test "$cross_compiling" = yes || SANE_CFLAGS=${SANE_CFLAGS:-`${SANE_CONFIG:-sane-config} --cflags 2>/dev/null`}
13742 if ${SANE_LIBS:+false} :; then :
13743 if ${PKG_CONFIG+:} false; then :
13744 SANE_LIBS=`$PKG_CONFIG --libs sane-backends 2>/dev/null`
13747 test "$cross_compiling" = yes || SANE_LIBS=${SANE_LIBS:-`${SANE_CONFIG:-sane-config} --ldflags 2>/dev/null`}
13749 $as_echo "$as_me:${as_lineno-$LINENO}: sane-backends cflags: $SANE_CFLAGS" >&5
13750 $as_echo "$as_me:${as_lineno-$LINENO}: sane-backends libs: $SANE_LIBS" >&5
13751 ac_save_CPPFLAGS=$CPPFLAGS
13752 CPPFLAGS="$CPPFLAGS $SANE_CFLAGS"
13753 ac_fn_c_check_header_mongrel "$LINENO" "sane/sane.h" "ac_cv_header_sane_sane_h" "$ac_includes_default"
13754 if test "x$ac_cv_header_sane_sane_h" = xyes; then :
13755 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lsane" >&5
13756 $as_echo_n "checking for -lsane... " >&6; }
13757 if ${ac_cv_lib_soname_sane+:} false; then :
13758 $as_echo_n "(cached) " >&6
13759 else
13760 ac_check_soname_save_LIBS=$LIBS
13761 LIBS="-lsane $SANE_LIBS $LIBS"
13762 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13763 /* end confdefs.h. */
13765 /* Override any GCC internal prototype to avoid an error.
13766 Use char because int might match the return type of a GCC
13767 builtin and then its argument prototype would still apply. */
13768 #ifdef __cplusplus
13769 extern "C"
13770 #endif
13771 char sane_init ();
13773 main ()
13775 return sane_init ();
13777 return 0;
13779 _ACEOF
13780 if ac_fn_c_try_link "$LINENO"; then :
13781 case "$LIBEXT" in
13782 dll) ac_cv_lib_soname_sane=`$ac_cv_path_LDD conftest.exe | grep "sane" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13783 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'` ;;
13784 *) ac_cv_lib_soname_sane=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libsane\\.$LIBEXT" | sed -e "s/^.*\\[\\(libsane\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13785 if ${ac_cv_lib_soname_sane:+false} :; then :
13786 ac_cv_lib_soname_sane=`$LDD conftest$ac_exeext | grep "libsane\\.$LIBEXT" | sed -e "s/^.*\(libsane\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13787 fi ;;
13788 esac
13789 else
13790 ac_cv_lib_soname_sane=
13792 rm -f core conftest.err conftest.$ac_objext \
13793 conftest$ac_exeext conftest.$ac_ext
13794 LIBS=$ac_check_soname_save_LIBS
13796 if ${ac_cv_lib_soname_sane:+false} :; then :
13797 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13798 $as_echo "not found" >&6; }
13799 SANE_CFLAGS=""
13800 else
13801 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_sane" >&5
13802 $as_echo "$ac_cv_lib_soname_sane" >&6; }
13804 cat >>confdefs.h <<_ACEOF
13805 #define SONAME_LIBSANE "$ac_cv_lib_soname_sane"
13806 _ACEOF
13810 else
13811 SANE_CFLAGS=""
13815 CPPFLAGS=$ac_save_CPPFLAGS
13818 if test "x$ac_cv_lib_soname_sane" = "x"; then :
13819 case "x$with_sane" in
13820 x) as_fn_append wine_notices "|libsane ${notice_platform}development files not found, scanners won't be supported." ;;
13821 xno) ;;
13822 *) as_fn_error $? "libsane ${notice_platform}development files not found, scanners won't be supported.
13823 This is an error since --with-sane was requested." "$LINENO" 5 ;;
13824 esac
13828 if test "x$with_usb" != "xno"
13829 then
13830 if ${USB_CFLAGS:+false} :; then :
13831 if ${PKG_CONFIG+:} false; then :
13832 USB_CFLAGS=`$PKG_CONFIG --cflags libusb-1.0 2>/dev/null`
13836 if ${USB_LIBS:+false} :; then :
13837 if ${PKG_CONFIG+:} false; then :
13838 USB_LIBS=`$PKG_CONFIG --libs libusb-1.0 2>/dev/null`
13842 USB_LIBS=${USB_LIBS:-"-lusb-1.0"}
13843 $as_echo "$as_me:${as_lineno-$LINENO}: libusb-1.0 cflags: $USB_CFLAGS" >&5
13844 $as_echo "$as_me:${as_lineno-$LINENO}: libusb-1.0 libs: $USB_LIBS" >&5
13845 ac_save_CPPFLAGS=$CPPFLAGS
13846 CPPFLAGS="$CPPFLAGS $USB_CFLAGS"
13847 ac_fn_c_check_header_mongrel "$LINENO" "libusb.h" "ac_cv_header_libusb_h" "$ac_includes_default"
13848 if test "x$ac_cv_header_libusb_h" = xyes; then :
13849 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libusb_interrupt_event_handler in -lusb-1.0" >&5
13850 $as_echo_n "checking for libusb_interrupt_event_handler in -lusb-1.0... " >&6; }
13851 if ${ac_cv_lib_usb_1_0_libusb_interrupt_event_handler+:} false; then :
13852 $as_echo_n "(cached) " >&6
13853 else
13854 ac_check_lib_save_LIBS=$LIBS
13855 LIBS="-lusb-1.0 $USB_LIBS $LIBS"
13856 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13857 /* end confdefs.h. */
13859 /* Override any GCC internal prototype to avoid an error.
13860 Use char because int might match the return type of a GCC
13861 builtin and then its argument prototype would still apply. */
13862 #ifdef __cplusplus
13863 extern "C"
13864 #endif
13865 char libusb_interrupt_event_handler ();
13867 main ()
13869 return libusb_interrupt_event_handler ();
13871 return 0;
13873 _ACEOF
13874 if ac_fn_c_try_link "$LINENO"; then :
13875 ac_cv_lib_usb_1_0_libusb_interrupt_event_handler=yes
13876 else
13877 ac_cv_lib_usb_1_0_libusb_interrupt_event_handler=no
13879 rm -f core conftest.err conftest.$ac_objext \
13880 conftest$ac_exeext conftest.$ac_ext
13881 LIBS=$ac_check_lib_save_LIBS
13883 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_usb_1_0_libusb_interrupt_event_handler" >&5
13884 $as_echo "$ac_cv_lib_usb_1_0_libusb_interrupt_event_handler" >&6; }
13885 if test "x$ac_cv_lib_usb_1_0_libusb_interrupt_event_handler" = xyes; then :
13887 else
13888 USB_LIBS=""
13891 else
13892 USB_LIBS=""
13896 CPPFLAGS=$ac_save_CPPFLAGS
13899 if test "$ac_cv_lib_usb_1_0_libusb_interrupt_event_handler" != "yes"; then :
13900 case "x$with_usb" in
13901 x) as_fn_append wine_notices "|libusb-1.0 ${notice_platform}development files not found (or too old), USB devices won't be supported." ;;
13902 xno) ;;
13903 *) as_fn_error $? "libusb-1.0 ${notice_platform}development files not found (or too old), USB devices won't be supported.
13904 This is an error since --with-usb was requested." "$LINENO" 5 ;;
13905 esac
13906 enable_wineusb_sys=${enable_wineusb_sys:-no}
13909 if test "x$with_v4l2" != "xno"
13910 then
13911 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lv4l2" >&5
13912 $as_echo_n "checking for -lv4l2... " >&6; }
13913 if ${ac_cv_lib_soname_v4l2+:} false; then :
13914 $as_echo_n "(cached) " >&6
13915 else
13916 ac_check_soname_save_LIBS=$LIBS
13917 LIBS="-lv4l2 $LIBS"
13918 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13919 /* end confdefs.h. */
13921 /* Override any GCC internal prototype to avoid an error.
13922 Use char because int might match the return type of a GCC
13923 builtin and then its argument prototype would still apply. */
13924 #ifdef __cplusplus
13925 extern "C"
13926 #endif
13927 char v4l2_open ();
13929 main ()
13931 return v4l2_open ();
13933 return 0;
13935 _ACEOF
13936 if ac_fn_c_try_link "$LINENO"; then :
13937 case "$LIBEXT" in
13938 dll) ac_cv_lib_soname_v4l2=`$ac_cv_path_LDD conftest.exe | grep "v4l2" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13939 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'` ;;
13940 *) ac_cv_lib_soname_v4l2=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libv4l2\\.$LIBEXT" | sed -e "s/^.*\\[\\(libv4l2\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13941 if ${ac_cv_lib_soname_v4l2:+false} :; then :
13942 ac_cv_lib_soname_v4l2=`$LDD conftest$ac_exeext | grep "libv4l2\\.$LIBEXT" | sed -e "s/^.*\(libv4l2\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13943 fi ;;
13944 esac
13945 else
13946 ac_cv_lib_soname_v4l2=
13948 rm -f core conftest.err conftest.$ac_objext \
13949 conftest$ac_exeext conftest.$ac_ext
13950 LIBS=$ac_check_soname_save_LIBS
13952 if ${ac_cv_lib_soname_v4l2:+false} :; then :
13953 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13954 $as_echo "not found" >&6; }
13956 else
13957 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_v4l2" >&5
13958 $as_echo "$ac_cv_lib_soname_v4l2" >&6; }
13960 cat >>confdefs.h <<_ACEOF
13961 #define SONAME_LIBV4L2 "$ac_cv_lib_soname_v4l2"
13962 _ACEOF
13967 if test "x$ac_cv_lib_soname_v4l2" = "x"; then :
13968 case "x$with_v4l2" in
13969 x) as_fn_append wine_notices "|libv4l2 ${notice_platform}development files not found." ;;
13970 xno) ;;
13971 *) as_fn_error $? "libv4l2 ${notice_platform}development files not found.
13972 This is an error since --with-v4l2 was requested." "$LINENO" 5 ;;
13973 esac
13977 if test "x$with_gphoto" != "xno"
13978 then
13979 if ${GPHOTO2_CFLAGS:+false} :; then :
13980 if ${PKG_CONFIG+:} false; then :
13981 GPHOTO2_CFLAGS=`$PKG_CONFIG --cflags libgphoto2 2>/dev/null`
13984 test "$cross_compiling" = yes || GPHOTO2_CFLAGS=${GPHOTO2_CFLAGS:-`${GPHOTO2_CONFIG:-gphoto2-config} --cflags 2>/dev/null`}
13985 if ${GPHOTO2_LIBS:+false} :; then :
13986 if ${PKG_CONFIG+:} false; then :
13987 GPHOTO2_LIBS=`$PKG_CONFIG --libs libgphoto2 2>/dev/null`
13990 test "$cross_compiling" = yes || GPHOTO2_LIBS=${GPHOTO2_LIBS:-`${GPHOTO2_CONFIG:-gphoto2-config} --libs 2>/dev/null`}
13991 GPHOTO2_LIBS=${GPHOTO2_LIBS:-"-lgphoto2"}
13992 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2 cflags: $GPHOTO2_CFLAGS" >&5
13993 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2 libs: $GPHOTO2_LIBS" >&5
13994 ac_save_CPPFLAGS=$CPPFLAGS
13995 CPPFLAGS="$CPPFLAGS $GPHOTO2_CFLAGS"
13996 ac_fn_c_check_header_mongrel "$LINENO" "gphoto2-camera.h" "ac_cv_header_gphoto2_camera_h" "$ac_includes_default"
13997 if test "x$ac_cv_header_gphoto2_camera_h" = xyes; then :
13998 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gp_camera_new in -lgphoto2" >&5
13999 $as_echo_n "checking for gp_camera_new in -lgphoto2... " >&6; }
14000 if ${ac_cv_lib_gphoto2_gp_camera_new+:} false; then :
14001 $as_echo_n "(cached) " >&6
14002 else
14003 ac_check_lib_save_LIBS=$LIBS
14004 LIBS="-lgphoto2 $GPHOTO2_LIBS $LIBS"
14005 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14006 /* end confdefs.h. */
14008 /* Override any GCC internal prototype to avoid an error.
14009 Use char because int might match the return type of a GCC
14010 builtin and then its argument prototype would still apply. */
14011 #ifdef __cplusplus
14012 extern "C"
14013 #endif
14014 char gp_camera_new ();
14016 main ()
14018 return gp_camera_new ();
14020 return 0;
14022 _ACEOF
14023 if ac_fn_c_try_link "$LINENO"; then :
14024 ac_cv_lib_gphoto2_gp_camera_new=yes
14025 else
14026 ac_cv_lib_gphoto2_gp_camera_new=no
14028 rm -f core conftest.err conftest.$ac_objext \
14029 conftest$ac_exeext conftest.$ac_ext
14030 LIBS=$ac_check_lib_save_LIBS
14032 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_gp_camera_new" >&5
14033 $as_echo "$ac_cv_lib_gphoto2_gp_camera_new" >&6; }
14034 if test "x$ac_cv_lib_gphoto2_gp_camera_new" = xyes; then :
14036 $as_echo "#define HAVE_GPHOTO2 1" >>confdefs.h
14038 else
14039 GPHOTO2_LIBS=""; GPHOTO2_CFLAGS=""
14042 else
14043 GPHOTO2_LIBS=""; GPHOTO2_CFLAGS=""
14047 CPPFLAGS=$ac_save_CPPFLAGS
14049 if ${GPHOTO2_PORT_CFLAGS:+false} :; then :
14050 if ${PKG_CONFIG+:} false; then :
14051 GPHOTO2_PORT_CFLAGS=`$PKG_CONFIG --cflags libgphoto2_port 2>/dev/null`
14054 test "$cross_compiling" = yes || GPHOTO2_PORT_CFLAGS=${GPHOTO2_PORT_CFLAGS:-`${GPHOTO2_PORT_CONFIG:-gphoto2-port-config} --cflags 2>/dev/null`}
14055 if ${GPHOTO2_PORT_LIBS:+false} :; then :
14056 if ${PKG_CONFIG+:} false; then :
14057 GPHOTO2_PORT_LIBS=`$PKG_CONFIG --libs libgphoto2_port 2>/dev/null`
14060 test "$cross_compiling" = yes || GPHOTO2_PORT_LIBS=${GPHOTO2_PORT_LIBS:-`${GPHOTO2_PORT_CONFIG:-gphoto2-port-config} --libs 2>/dev/null`}
14061 GPHOTO2_PORT_LIBS=${GPHOTO2_PORT_LIBS:-"-lgphoto2_port"}
14062 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2_port cflags: $GPHOTO2_PORT_CFLAGS" >&5
14063 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2_port libs: $GPHOTO2_PORT_LIBS" >&5
14064 ac_save_CPPFLAGS=$CPPFLAGS
14065 CPPFLAGS="$CPPFLAGS $GPHOTO2_PORT_CFLAGS"
14066 ac_fn_c_check_header_mongrel "$LINENO" "gphoto2-port.h" "ac_cv_header_gphoto2_port_h" "$ac_includes_default"
14067 if test "x$ac_cv_header_gphoto2_port_h" = xyes; then :
14068 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gp_port_info_list_new in -lgphoto2_port" >&5
14069 $as_echo_n "checking for gp_port_info_list_new in -lgphoto2_port... " >&6; }
14070 if ${ac_cv_lib_gphoto2_port_gp_port_info_list_new+:} false; then :
14071 $as_echo_n "(cached) " >&6
14072 else
14073 ac_check_lib_save_LIBS=$LIBS
14074 LIBS="-lgphoto2_port $GPHOTO2_PORT_LIBS $LIBS"
14075 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14076 /* end confdefs.h. */
14078 /* Override any GCC internal prototype to avoid an error.
14079 Use char because int might match the return type of a GCC
14080 builtin and then its argument prototype would still apply. */
14081 #ifdef __cplusplus
14082 extern "C"
14083 #endif
14084 char gp_port_info_list_new ();
14086 main ()
14088 return gp_port_info_list_new ();
14090 return 0;
14092 _ACEOF
14093 if ac_fn_c_try_link "$LINENO"; then :
14094 ac_cv_lib_gphoto2_port_gp_port_info_list_new=yes
14095 else
14096 ac_cv_lib_gphoto2_port_gp_port_info_list_new=no
14098 rm -f core conftest.err conftest.$ac_objext \
14099 conftest$ac_exeext conftest.$ac_ext
14100 LIBS=$ac_check_lib_save_LIBS
14102 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&5
14103 $as_echo "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&6; }
14104 if test "x$ac_cv_lib_gphoto2_port_gp_port_info_list_new" = xyes; then :
14106 $as_echo "#define HAVE_GPHOTO2_PORT 1" >>confdefs.h
14108 else
14109 GPHOTO2_PORT_LIBS=""; GPHOTO2_PORT_CFLAGS=""
14112 else
14113 GPHOTO2_PORT_LIBS=""; GPHOTO2_PORT_CFLAGS=""
14117 CPPFLAGS=$ac_save_CPPFLAGS
14120 if test "$ac_cv_lib_gphoto2_gp_camera_new" != "yes"; then :
14121 case "x$with_gphoto" in
14122 x) as_fn_append wine_notices "|libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported." ;;
14123 xno) ;;
14124 *) as_fn_error $? "libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported.
14125 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
14126 esac
14129 if test "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" != "yes"; then :
14130 case "x$with_gphoto" in
14131 x) as_fn_append wine_notices "|libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected." ;;
14132 xno) ;;
14133 *) as_fn_error $? "libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected.
14134 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
14135 esac
14140 if test "$ac_cv_header_resolv_h" = "yes"
14141 then
14142 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for resolver library" >&5
14143 $as_echo_n "checking for resolver library... " >&6; }
14144 if ${ac_cv_have_resolv+:} false; then :
14145 $as_echo_n "(cached) " >&6
14146 else
14147 ac_save_LIBS="$LIBS"
14148 for lib in '' -lresolv
14150 LIBS="$lib $ac_save_LIBS"
14151 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14152 /* end confdefs.h. */
14153 #ifdef HAVE_NETINET_IN_H
14154 #include <netinet/in.h>
14155 #endif
14156 #include <resolv.h>
14158 main ()
14160 if (!(_res.options & RES_INIT)) res_init(); res_query("foo",ns_c_in,0,0,0)
14162 return 0;
14164 _ACEOF
14165 if ac_fn_c_try_link "$LINENO"; then :
14166 ac_cv_have_resolv=${lib:-"none required"}
14167 else
14168 ac_cv_have_resolv="not found"
14170 rm -f core conftest.err conftest.$ac_objext \
14171 conftest$ac_exeext conftest.$ac_ext
14172 test "x$ac_cv_have_resolv" = "xnot found" || break
14173 done
14174 LIBS="$ac_save_LIBS"
14176 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_resolv" >&5
14177 $as_echo "$ac_cv_have_resolv" >&6; }
14179 case "$ac_cv_have_resolv" in
14180 "not found") ;;
14181 "none required")
14183 $as_echo "#define HAVE_RESOLV 1" >>confdefs.h
14186 $as_echo "#define HAVE_RESOLV 1" >>confdefs.h
14188 RESOLV_LIBS=$ac_cv_have_resolv
14190 esac
14192 if test "x$ac_cv_have_resolv" != "xnot found"
14193 then
14194 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for res_getservers" >&5
14195 $as_echo_n "checking for res_getservers... " >&6; }
14196 if ${ac_cv_have_res_getservers+:} false; then :
14197 $as_echo_n "(cached) " >&6
14198 else
14199 ac_save_LIBS="$LIBS"
14200 LIBS="$RESOLV_LIBS $LIBS"
14201 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14202 /* end confdefs.h. */
14203 #include <resolv.h>
14205 main ()
14207 res_getservers(NULL, NULL, 0);
14209 return 0;
14211 _ACEOF
14212 if ac_fn_c_try_link "$LINENO"; then :
14213 ac_cv_have_res_getservers=yes
14214 else
14215 ac_cv_have_res_getservers=no
14217 rm -f core conftest.err conftest.$ac_objext \
14218 conftest$ac_exeext conftest.$ac_ext
14219 LIBS="$ac_save_LIBS"
14221 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_res_getservers" >&5
14222 $as_echo "$ac_cv_have_res_getservers" >&6; }
14223 if test "$ac_cv_have_res_getservers" = "yes"
14224 then
14226 $as_echo "#define HAVE_RES_GETSERVERS 1" >>confdefs.h
14232 if test "x$with_cms" != "xno"
14233 then
14234 if ${LCMS2_CFLAGS:+false} :; then :
14235 if ${PKG_CONFIG+:} false; then :
14236 LCMS2_CFLAGS=`$PKG_CONFIG --cflags lcms2 2>/dev/null`
14240 if ${LCMS2_LIBS:+false} :; then :
14241 if ${PKG_CONFIG+:} false; then :
14242 LCMS2_LIBS=`$PKG_CONFIG --libs lcms2 2>/dev/null`
14246 LCMS2_LIBS=${LCMS2_LIBS:-"-llcms2"}
14247 $as_echo "$as_me:${as_lineno-$LINENO}: lcms2 cflags: $LCMS2_CFLAGS" >&5
14248 $as_echo "$as_me:${as_lineno-$LINENO}: lcms2 libs: $LCMS2_LIBS" >&5
14249 ac_save_CPPFLAGS=$CPPFLAGS
14250 CPPFLAGS="$CPPFLAGS $LCMS2_CFLAGS"
14251 for ac_header in lcms2.h
14252 do :
14253 ac_fn_c_check_header_mongrel "$LINENO" "lcms2.h" "ac_cv_header_lcms2_h" "$ac_includes_default"
14254 if test "x$ac_cv_header_lcms2_h" = xyes; then :
14255 cat >>confdefs.h <<_ACEOF
14256 #define HAVE_LCMS2_H 1
14257 _ACEOF
14261 done
14263 if test "$ac_cv_header_lcms2_h" = "yes"
14264 then
14265 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cmsOpenProfileFromFile in -llcms2" >&5
14266 $as_echo_n "checking for cmsOpenProfileFromFile in -llcms2... " >&6; }
14267 if ${ac_cv_lib_lcms2_cmsOpenProfileFromFile+:} false; then :
14268 $as_echo_n "(cached) " >&6
14269 else
14270 ac_check_lib_save_LIBS=$LIBS
14271 LIBS="-llcms2 $LCMS2_LIBS $LIBS"
14272 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14273 /* end confdefs.h. */
14275 /* Override any GCC internal prototype to avoid an error.
14276 Use char because int might match the return type of a GCC
14277 builtin and then its argument prototype would still apply. */
14278 #ifdef __cplusplus
14279 extern "C"
14280 #endif
14281 char cmsOpenProfileFromFile ();
14283 main ()
14285 return cmsOpenProfileFromFile ();
14287 return 0;
14289 _ACEOF
14290 if ac_fn_c_try_link "$LINENO"; then :
14291 ac_cv_lib_lcms2_cmsOpenProfileFromFile=yes
14292 else
14293 ac_cv_lib_lcms2_cmsOpenProfileFromFile=no
14295 rm -f core conftest.err conftest.$ac_objext \
14296 conftest$ac_exeext conftest.$ac_ext
14297 LIBS=$ac_check_lib_save_LIBS
14299 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lcms2_cmsOpenProfileFromFile" >&5
14300 $as_echo "$ac_cv_lib_lcms2_cmsOpenProfileFromFile" >&6; }
14301 if test "x$ac_cv_lib_lcms2_cmsOpenProfileFromFile" = xyes; then :
14303 $as_echo "#define HAVE_LCMS2 1" >>confdefs.h
14305 else
14306 LCMS2_LIBS=""
14309 else
14310 LCMS2_CFLAGS=""
14311 LCMS2_LIBS=""
14313 CPPFLAGS=$ac_save_CPPFLAGS
14316 if test "$ac_cv_lib_lcms2_cmsOpenProfileFromFile" != "yes"; then :
14317 case "x$with_cms" in
14318 x) as_fn_append wine_notices "|liblcms2 ${notice_platform}development files not found, Color Management won't be supported." ;;
14319 xno) ;;
14320 *) as_fn_error $? "liblcms2 ${notice_platform}development files not found, Color Management won't be supported.
14321 This is an error since --with-cms was requested." "$LINENO" 5 ;;
14322 esac
14326 if test "x$with_freetype" != "xno"
14327 then
14328 if ${FREETYPE_CFLAGS:+false} :; then :
14329 if ${PKG_CONFIG+:} false; then :
14330 FREETYPE_CFLAGS=`$PKG_CONFIG --cflags freetype2 2>/dev/null`
14333 test "$cross_compiling" = yes || FREETYPE_CFLAGS=${FREETYPE_CFLAGS:-`(${FREETYPE_CONFIG:-freetype-config} --cflags || ${FREETYPE2_CONFIG:-freetype2-config} --cflags) 2>/dev/null`}
14334 if ${FREETYPE_LIBS:+false} :; then :
14335 if ${PKG_CONFIG+:} false; then :
14336 FREETYPE_LIBS=`$PKG_CONFIG --libs freetype2 2>/dev/null`
14339 test "$cross_compiling" = yes || FREETYPE_LIBS=${FREETYPE_LIBS:-`(${FREETYPE_CONFIG:-freetype-config} --libs || ${FREETYPE2_CONFIG:-freetype2-config} --libs) 2>/dev/null`}
14340 FREETYPE_LIBS=${FREETYPE_LIBS:-"-lfreetype"}
14341 $as_echo "$as_me:${as_lineno-$LINENO}: freetype2 cflags: $FREETYPE_CFLAGS" >&5
14342 $as_echo "$as_me:${as_lineno-$LINENO}: freetype2 libs: $FREETYPE_LIBS" >&5
14343 ac_save_CPPFLAGS=$CPPFLAGS
14344 CPPFLAGS="$CPPFLAGS $FREETYPE_CFLAGS"
14345 for ac_header in ft2build.h
14346 do :
14347 ac_fn_c_check_header_mongrel "$LINENO" "ft2build.h" "ac_cv_header_ft2build_h" "$ac_includes_default"
14348 if test "x$ac_cv_header_ft2build_h" = xyes; then :
14349 cat >>confdefs.h <<_ACEOF
14350 #define HAVE_FT2BUILD_H 1
14351 _ACEOF
14355 done
14357 if test "$ac_cv_header_ft2build_h" = "yes"
14358 then
14359 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfreetype" >&5
14360 $as_echo_n "checking for -lfreetype... " >&6; }
14361 if ${ac_cv_lib_soname_freetype+:} false; then :
14362 $as_echo_n "(cached) " >&6
14363 else
14364 ac_check_soname_save_LIBS=$LIBS
14365 LIBS="-lfreetype $FREETYPE_LIBS $LIBS"
14366 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14367 /* end confdefs.h. */
14369 /* Override any GCC internal prototype to avoid an error.
14370 Use char because int might match the return type of a GCC
14371 builtin and then its argument prototype would still apply. */
14372 #ifdef __cplusplus
14373 extern "C"
14374 #endif
14375 char FT_Init_FreeType ();
14377 main ()
14379 return FT_Init_FreeType ();
14381 return 0;
14383 _ACEOF
14384 if ac_fn_c_try_link "$LINENO"; then :
14385 case "$LIBEXT" in
14386 dll) ac_cv_lib_soname_freetype=`$ac_cv_path_LDD conftest.exe | grep "freetype" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14387 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'` ;;
14388 *) ac_cv_lib_soname_freetype=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfreetype\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfreetype\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14389 if ${ac_cv_lib_soname_freetype:+false} :; then :
14390 ac_cv_lib_soname_freetype=`$LDD conftest$ac_exeext | grep "libfreetype\\.$LIBEXT" | sed -e "s/^.*\(libfreetype\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14391 fi ;;
14392 esac
14393 else
14394 ac_cv_lib_soname_freetype=
14396 rm -f core conftest.err conftest.$ac_objext \
14397 conftest$ac_exeext conftest.$ac_ext
14398 LIBS=$ac_check_soname_save_LIBS
14400 if ${ac_cv_lib_soname_freetype:+false} :; then :
14401 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14402 $as_echo "not found" >&6; }
14403 FREETYPE_LIBS=""
14404 else
14405 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_freetype" >&5
14406 $as_echo "$ac_cv_lib_soname_freetype" >&6; }
14408 cat >>confdefs.h <<_ACEOF
14409 #define SONAME_LIBFREETYPE "$ac_cv_lib_soname_freetype"
14410 _ACEOF
14413 $as_echo "#define HAVE_FREETYPE 1" >>confdefs.h
14415 ac_fn_c_check_type "$LINENO" "FT_TrueTypeEngineType" "ac_cv_type_FT_TrueTypeEngineType" "#include <ft2build.h>
14416 #include FT_MODULE_H
14418 if test "x$ac_cv_type_FT_TrueTypeEngineType" = xyes; then :
14420 cat >>confdefs.h <<_ACEOF
14421 #define HAVE_FT_TRUETYPEENGINETYPE 1
14422 _ACEOF
14428 else
14429 FREETYPE_CFLAGS=""
14430 FREETYPE_LIBS=""
14432 CPPFLAGS=$ac_save_CPPFLAGS
14435 if test "x$ac_cv_lib_soname_freetype" = x; then :
14436 case "x$with_freetype" in
14437 xno) ;;
14438 *) as_fn_error $? "FreeType ${notice_platform}development files not found. Fonts will not be built.
14439 Use the --without-freetype option if you really want this." "$LINENO" 5 ;;
14440 esac
14441 enable_fonts=${enable_fonts:-no}
14444 ac_wine_check_funcs_save_LIBS="$LIBS"
14445 LIBS="$LIBS $PTHREAD_LIBS"
14446 for ac_func in \
14447 pthread_getthreadid_np
14448 do :
14449 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
14450 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
14451 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
14452 cat >>confdefs.h <<_ACEOF
14453 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
14454 _ACEOF
14457 done
14459 LIBS="$ac_wine_check_funcs_save_LIBS"
14461 if test "x$enable_tools" != xno -a "x$with_gettextpo" = xyes
14462 then
14463 if test "$ac_cv_header_gettext_po_h" = "yes"
14464 then
14465 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for po_message_msgctxt in -lgettextpo" >&5
14466 $as_echo_n "checking for po_message_msgctxt in -lgettextpo... " >&6; }
14467 if ${ac_cv_lib_gettextpo_po_message_msgctxt+:} false; then :
14468 $as_echo_n "(cached) " >&6
14469 else
14470 ac_check_lib_save_LIBS=$LIBS
14471 LIBS="-lgettextpo $LIBS"
14472 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14473 /* end confdefs.h. */
14475 /* Override any GCC internal prototype to avoid an error.
14476 Use char because int might match the return type of a GCC
14477 builtin and then its argument prototype would still apply. */
14478 #ifdef __cplusplus
14479 extern "C"
14480 #endif
14481 char po_message_msgctxt ();
14483 main ()
14485 return po_message_msgctxt ();
14487 return 0;
14489 _ACEOF
14490 if ac_fn_c_try_link "$LINENO"; then :
14491 ac_cv_lib_gettextpo_po_message_msgctxt=yes
14492 else
14493 ac_cv_lib_gettextpo_po_message_msgctxt=no
14495 rm -f core conftest.err conftest.$ac_objext \
14496 conftest$ac_exeext conftest.$ac_ext
14497 LIBS=$ac_check_lib_save_LIBS
14499 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gettextpo_po_message_msgctxt" >&5
14500 $as_echo "$ac_cv_lib_gettextpo_po_message_msgctxt" >&6; }
14501 if test "x$ac_cv_lib_gettextpo_po_message_msgctxt" = xyes; then :
14503 $as_echo "#define HAVE_LIBGETTEXTPO 1" >>confdefs.h
14505 GETTEXTPO_LIBS="-lgettextpo"
14510 if test "x$GETTEXTPO_LIBS" = "x"; then :
14511 case "x$with_gettextpo" in
14512 x) as_fn_append wine_notices "|GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt." ;;
14513 xno) ;;
14514 *) as_fn_error $? "GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt.
14515 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
14516 esac
14519 if test "$srcdir" != .; then :
14520 case "x$with_gettextpo" in
14521 x) as_fn_append wine_notices "|Rebuilding po files is not supported for out of tree builds." ;;
14522 xno) ;;
14523 *) as_fn_error $? "Rebuilding po files is not supported for out of tree builds.
14524 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
14525 esac
14530 if test "x$with_pulse" != "xno";
14531 then
14532 if ${PULSE_CFLAGS:+false} :; then :
14533 if ${PKG_CONFIG+:} false; then :
14534 PULSE_CFLAGS=`$PKG_CONFIG --cflags libpulse 2>/dev/null`
14538 if ${PULSE_LIBS:+false} :; then :
14539 if ${PKG_CONFIG+:} false; then :
14540 PULSE_LIBS=`$PKG_CONFIG --libs libpulse 2>/dev/null`
14545 $as_echo "$as_me:${as_lineno-$LINENO}: libpulse cflags: $PULSE_CFLAGS" >&5
14546 $as_echo "$as_me:${as_lineno-$LINENO}: libpulse libs: $PULSE_LIBS" >&5
14547 ac_save_CPPFLAGS=$CPPFLAGS
14548 CPPFLAGS="$CPPFLAGS $PULSE_CFLAGS"
14549 for ac_header in pulse/pulseaudio.h
14550 do :
14551 ac_fn_c_check_header_mongrel "$LINENO" "pulse/pulseaudio.h" "ac_cv_header_pulse_pulseaudio_h" "$ac_includes_default"
14552 if test "x$ac_cv_header_pulse_pulseaudio_h" = xyes; then :
14553 cat >>confdefs.h <<_ACEOF
14554 #define HAVE_PULSE_PULSEAUDIO_H 1
14555 _ACEOF
14556 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pa_stream_is_corked in -lpulse" >&5
14557 $as_echo_n "checking for pa_stream_is_corked in -lpulse... " >&6; }
14558 if ${ac_cv_lib_pulse_pa_stream_is_corked+:} false; then :
14559 $as_echo_n "(cached) " >&6
14560 else
14561 ac_check_lib_save_LIBS=$LIBS
14562 LIBS="-lpulse $PULSE_LIBS $LIBS"
14563 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14564 /* end confdefs.h. */
14566 /* Override any GCC internal prototype to avoid an error.
14567 Use char because int might match the return type of a GCC
14568 builtin and then its argument prototype would still apply. */
14569 #ifdef __cplusplus
14570 extern "C"
14571 #endif
14572 char pa_stream_is_corked ();
14574 main ()
14576 return pa_stream_is_corked ();
14578 return 0;
14580 _ACEOF
14581 if ac_fn_c_try_link "$LINENO"; then :
14582 ac_cv_lib_pulse_pa_stream_is_corked=yes
14583 else
14584 ac_cv_lib_pulse_pa_stream_is_corked=no
14586 rm -f core conftest.err conftest.$ac_objext \
14587 conftest$ac_exeext conftest.$ac_ext
14588 LIBS=$ac_check_lib_save_LIBS
14590 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pulse_pa_stream_is_corked" >&5
14591 $as_echo "$ac_cv_lib_pulse_pa_stream_is_corked" >&6; }
14592 if test "x$ac_cv_lib_pulse_pa_stream_is_corked" = xyes; then :
14594 else
14595 PULSE_LIBS=""
14598 else
14599 PULSE_LIBS=""
14602 done
14604 CPPFLAGS=$ac_save_CPPFLAGS
14607 if test -z "$PULSE_LIBS"; then :
14608 case "x$with_pulse" in
14609 x) as_fn_append wine_notices "|libpulse ${notice_platform}development files not found or too old, Pulse won't be supported." ;;
14610 xno) ;;
14611 *) as_fn_error $? "libpulse ${notice_platform}development files not found or too old, Pulse won't be supported.
14612 This is an error since --with-pulse was requested." "$LINENO" 5 ;;
14613 esac
14614 enable_winepulse_drv=${enable_winepulse_drv:-no}
14617 if test "x$with_gstreamer" != "xno"
14618 then
14619 if ${GSTREAMER_CFLAGS:+false} :; then :
14620 if ${PKG_CONFIG+:} false; then :
14621 GSTREAMER_CFLAGS=`$PKG_CONFIG --cflags gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 2>/dev/null`
14625 if ${GSTREAMER_LIBS:+false} :; then :
14626 if ${PKG_CONFIG+:} false; then :
14627 GSTREAMER_LIBS=`$PKG_CONFIG --libs gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 2>/dev/null`
14632 $as_echo "$as_me:${as_lineno-$LINENO}: gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 cflags: $GSTREAMER_CFLAGS" >&5
14633 $as_echo "$as_me:${as_lineno-$LINENO}: gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 libs: $GSTREAMER_LIBS" >&5
14634 ac_save_CPPFLAGS=$CPPFLAGS
14635 CPPFLAGS="$CPPFLAGS $GSTREAMER_CFLAGS"
14636 ac_fn_c_check_header_mongrel "$LINENO" "gst/gst.h" "ac_cv_header_gst_gst_h" "$ac_includes_default"
14637 if test "x$ac_cv_header_gst_gst_h" = xyes; then :
14638 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether gint64 defined by gst/gst.h is indeed 64-bit" >&5
14639 $as_echo_n "checking whether gint64 defined by gst/gst.h is indeed 64-bit... " >&6; }
14640 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14641 /* end confdefs.h. */
14642 #include <gst/gst.h>
14644 main ()
14646 static int a[sizeof(gint64) > 4 ? 1 : -1]; if (a[0]) return 0;
14648 return 0;
14650 _ACEOF
14651 if ac_fn_c_try_compile "$LINENO"; then :
14652 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14653 $as_echo "yes" >&6; }
14654 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gst_pad_new in -lgstreamer-1.0" >&5
14655 $as_echo_n "checking for gst_pad_new in -lgstreamer-1.0... " >&6; }
14656 if ${ac_cv_lib_gstreamer_1_0_gst_pad_new+:} false; then :
14657 $as_echo_n "(cached) " >&6
14658 else
14659 ac_check_lib_save_LIBS=$LIBS
14660 LIBS="-lgstreamer-1.0 $GSTREAMER_LIBS $LIBS"
14661 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14662 /* end confdefs.h. */
14664 /* Override any GCC internal prototype to avoid an error.
14665 Use char because int might match the return type of a GCC
14666 builtin and then its argument prototype would still apply. */
14667 #ifdef __cplusplus
14668 extern "C"
14669 #endif
14670 char gst_pad_new ();
14672 main ()
14674 return gst_pad_new ();
14676 return 0;
14678 _ACEOF
14679 if ac_fn_c_try_link "$LINENO"; then :
14680 ac_cv_lib_gstreamer_1_0_gst_pad_new=yes
14681 else
14682 ac_cv_lib_gstreamer_1_0_gst_pad_new=no
14684 rm -f core conftest.err conftest.$ac_objext \
14685 conftest$ac_exeext conftest.$ac_ext
14686 LIBS=$ac_check_lib_save_LIBS
14688 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gstreamer_1_0_gst_pad_new" >&5
14689 $as_echo "$ac_cv_lib_gstreamer_1_0_gst_pad_new" >&6; }
14690 if test "x$ac_cv_lib_gstreamer_1_0_gst_pad_new" = xyes; then :
14694 else
14695 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14696 $as_echo "no" >&6; }
14697 ac_glib2_broken=yes
14698 as_fn_append wine_notices "|glib-2.0 pkgconfig configuration is for the wrong architecture, winegstreamer won't be built."
14700 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14704 CPPFLAGS=$ac_save_CPPFLAGS
14707 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 :
14708 case "x$with_gstreamer" in
14709 x) as_fn_append wine_notices "|gstreamer-1.0 base plugins ${notice_platform}development files not found, GStreamer won't be supported." ;;
14710 xno) ;;
14711 *) as_fn_error $? "gstreamer-1.0 base plugins ${notice_platform}development files not found, GStreamer won't be supported.
14712 This is an error since --with-gstreamer was requested." "$LINENO" 5 ;;
14713 esac
14716 test "x$ac_cv_lib_gstreamer_1_0_gst_pad_new" = xyes || enable_winegstreamer=${enable_winegstreamer:-no}
14718 ALSA_LIBS=""
14720 if test "x$with_alsa" != "xno"
14721 then
14722 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for snd_pcm_hw_params_get_access_mask in -lasound" >&5
14723 $as_echo_n "checking for snd_pcm_hw_params_get_access_mask in -lasound... " >&6; }
14724 if ${ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask+:} false; then :
14725 $as_echo_n "(cached) " >&6
14726 else
14727 ac_check_lib_save_LIBS=$LIBS
14728 LIBS="-lasound $LIBS"
14729 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14730 /* end confdefs.h. */
14732 /* Override any GCC internal prototype to avoid an error.
14733 Use char because int might match the return type of a GCC
14734 builtin and then its argument prototype would still apply. */
14735 #ifdef __cplusplus
14736 extern "C"
14737 #endif
14738 char snd_pcm_hw_params_get_access_mask ();
14740 main ()
14742 return snd_pcm_hw_params_get_access_mask ();
14744 return 0;
14746 _ACEOF
14747 if ac_fn_c_try_link "$LINENO"; then :
14748 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask=yes
14749 else
14750 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask=no
14752 rm -f core conftest.err conftest.$ac_objext \
14753 conftest$ac_exeext conftest.$ac_ext
14754 LIBS=$ac_check_lib_save_LIBS
14756 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&5
14757 $as_echo "$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&6; }
14758 if test "x$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" = xyes; then :
14759 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14760 /* end confdefs.h. */
14761 #include <alsa/asoundlib.h>
14763 main ()
14765 snd_pcm_hw_params_get_access_mask(NULL, NULL)
14767 return 0;
14769 _ACEOF
14770 if ac_fn_c_try_compile "$LINENO"; then :
14771 ALSA_LIBS="-lasound"
14773 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14777 test -n "$ALSA_LIBS" || enable_winealsa_drv=${enable_winealsa_drv:-no}
14779 if test "x$with_oss" != xno
14780 then
14781 ac_save_CPPFLAGS="$CPPFLAGS"
14782 if test -f /etc/oss.conf
14783 then
14784 . /etc/oss.conf
14786 ac_oss_incl="-I${OSSLIBDIR:-/usr/lib/oss}/include"
14787 CPPFLAGS="$CPPFLAGS $ac_oss_incl"
14788 ac_fn_c_check_header_mongrel "$LINENO" "sys/soundcard.h" "ac_cv_header_sys_soundcard_h" "$ac_includes_default"
14789 if test "x$ac_cv_header_sys_soundcard_h" = xyes; then :
14790 ac_fn_c_check_member "$LINENO" "oss_sysinfo" "numaudioengines" "ac_cv_member_oss_sysinfo_numaudioengines" "#include <sys/soundcard.h>
14792 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" = xyes; then :
14794 cat >>confdefs.h <<_ACEOF
14795 #define HAVE_OSS_SYSINFO_NUMAUDIOENGINES 1
14796 _ACEOF
14798 OSS4_CFLAGS="$ac_oss_incl"
14800 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _oss_ioctl in -lossaudio" >&5
14801 $as_echo_n "checking for _oss_ioctl in -lossaudio... " >&6; }
14802 if ${ac_cv_lib_ossaudio__oss_ioctl+:} false; then :
14803 $as_echo_n "(cached) " >&6
14804 else
14805 ac_check_lib_save_LIBS=$LIBS
14806 LIBS="-lossaudio $LIBS"
14807 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14808 /* end confdefs.h. */
14810 /* Override any GCC internal prototype to avoid an error.
14811 Use char because int might match the return type of a GCC
14812 builtin and then its argument prototype would still apply. */
14813 #ifdef __cplusplus
14814 extern "C"
14815 #endif
14816 char _oss_ioctl ();
14818 main ()
14820 return _oss_ioctl ();
14822 return 0;
14824 _ACEOF
14825 if ac_fn_c_try_link "$LINENO"; then :
14826 ac_cv_lib_ossaudio__oss_ioctl=yes
14827 else
14828 ac_cv_lib_ossaudio__oss_ioctl=no
14830 rm -f core conftest.err conftest.$ac_objext \
14831 conftest$ac_exeext conftest.$ac_ext
14832 LIBS=$ac_check_lib_save_LIBS
14834 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ossaudio__oss_ioctl" >&5
14835 $as_echo "$ac_cv_lib_ossaudio__oss_ioctl" >&6; }
14836 if test "x$ac_cv_lib_ossaudio__oss_ioctl" = xyes; then :
14837 OSS4_LIBS="-lossaudio"
14846 CPPFLAGS="$ac_save_CPPFLAGS"
14848 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" != xyes; then :
14849 case "x$with_oss" in
14850 x) as_fn_append wine_notices "|OSS sound system found but too old (OSSv4 needed), OSS won't be supported." ;;
14851 xno) ;;
14852 *) as_fn_error $? "OSS sound system found but too old (OSSv4 needed), OSS won't be supported.
14853 This is an error since --with-oss was requested." "$LINENO" 5 ;;
14854 esac
14855 enable_wineoss_drv=${enable_wineoss_drv:-no}
14858 if test "x$with_udev" != "xno"
14859 then
14860 if ${UDEV_CFLAGS:+false} :; then :
14861 if ${PKG_CONFIG+:} false; then :
14862 UDEV_CFLAGS=`$PKG_CONFIG --cflags libudev 2>/dev/null`
14866 if ${UDEV_LIBS:+false} :; then :
14867 if ${PKG_CONFIG+:} false; then :
14868 UDEV_LIBS=`$PKG_CONFIG --libs libudev 2>/dev/null`
14872 UDEV_LIBS=${UDEV_LIBS:-"-ludev"}
14873 $as_echo "$as_me:${as_lineno-$LINENO}: libudev cflags: $UDEV_CFLAGS" >&5
14874 $as_echo "$as_me:${as_lineno-$LINENO}: libudev libs: $UDEV_LIBS" >&5
14875 ac_save_CPPFLAGS=$CPPFLAGS
14876 CPPFLAGS="$CPPFLAGS $UDEV_CFLAGS"
14877 for ac_header in libudev.h
14878 do :
14879 ac_fn_c_check_header_mongrel "$LINENO" "libudev.h" "ac_cv_header_libudev_h" "$ac_includes_default"
14880 if test "x$ac_cv_header_libudev_h" = xyes; then :
14881 cat >>confdefs.h <<_ACEOF
14882 #define HAVE_LIBUDEV_H 1
14883 _ACEOF
14884 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for udev_new in -ludev" >&5
14885 $as_echo_n "checking for udev_new in -ludev... " >&6; }
14886 if ${ac_cv_lib_udev_udev_new+:} false; then :
14887 $as_echo_n "(cached) " >&6
14888 else
14889 ac_check_lib_save_LIBS=$LIBS
14890 LIBS="-ludev $UDEV_LIBS $LIBS"
14891 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14892 /* end confdefs.h. */
14894 /* Override any GCC internal prototype to avoid an error.
14895 Use char because int might match the return type of a GCC
14896 builtin and then its argument prototype would still apply. */
14897 #ifdef __cplusplus
14898 extern "C"
14899 #endif
14900 char udev_new ();
14902 main ()
14904 return udev_new ();
14906 return 0;
14908 _ACEOF
14909 if ac_fn_c_try_link "$LINENO"; then :
14910 ac_cv_lib_udev_udev_new=yes
14911 else
14912 ac_cv_lib_udev_udev_new=no
14914 rm -f core conftest.err conftest.$ac_objext \
14915 conftest$ac_exeext conftest.$ac_ext
14916 LIBS=$ac_check_lib_save_LIBS
14918 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_udev_udev_new" >&5
14919 $as_echo "$ac_cv_lib_udev_udev_new" >&6; }
14920 if test "x$ac_cv_lib_udev_udev_new" = xyes; then :
14922 $as_echo "#define HAVE_UDEV 1" >>confdefs.h
14924 else
14925 UDEV_LIBS=""
14928 else
14929 UDEV_LIBS=""
14932 done
14934 CPPFLAGS=$ac_save_CPPFLAGS
14937 if test "x$UDEV_LIBS" = "x"; then :
14938 case "x$with_udev" in
14939 x) as_fn_append wine_notices "|libudev ${notice_platform}development files not found, plug and play won't be supported." ;;
14940 xno) ;;
14941 *) as_fn_error $? "libudev ${notice_platform}development files not found, plug and play won't be supported.
14942 This is an error since --with-udev was requested." "$LINENO" 5 ;;
14943 esac
14947 if test "x$with_unwind" != xno
14948 then
14949 if ${UNWIND_CFLAGS:+false} :; then :
14950 if ${PKG_CONFIG+:} false; then :
14951 UNWIND_CFLAGS=`$PKG_CONFIG --cflags libunwind 2>/dev/null`
14955 if ${UNWIND_LIBS:+false} :; then :
14956 if ${PKG_CONFIG+:} false; then :
14957 UNWIND_LIBS=`$PKG_CONFIG --libs libunwind 2>/dev/null`
14961 UNWIND_LIBS=${UNWIND_LIBS:-"-lunwind"}
14962 $as_echo "$as_me:${as_lineno-$LINENO}: libunwind cflags: $UNWIND_CFLAGS" >&5
14963 $as_echo "$as_me:${as_lineno-$LINENO}: libunwind libs: $UNWIND_LIBS" >&5
14964 ac_save_CPPFLAGS=$CPPFLAGS
14965 CPPFLAGS="$CPPFLAGS $UNWIND_CFLAGS"
14966 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for unw_step" >&5
14967 $as_echo_n "checking for unw_step... " >&6; }
14968 if ${wine_cv_have_unw_step+:} false; then :
14969 $as_echo_n "(cached) " >&6
14970 else
14971 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14972 /* end confdefs.h. */
14973 #define UNW_LOCAL_ONLY
14974 #include <libunwind.h>
14976 main ()
14978 unw_cursor_t cursor; unw_step( &cursor );
14980 return 0;
14982 _ACEOF
14983 if ac_fn_c_try_link "$LINENO"; then :
14984 wine_cv_have_unw_step="yes"
14985 else
14986 wine_cv_have_unw_step="no"
14988 rm -f core conftest.err conftest.$ac_objext \
14989 conftest$ac_exeext conftest.$ac_ext
14991 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_unw_step" >&5
14992 $as_echo "$wine_cv_have_unw_step" >&6; }
14993 if test "$wine_cv_have_unw_step" = no -a -n "$UNWIND_LIBS"
14994 then
14995 save_libs=$LIBS
14996 UNWIND_LIBS="-static-libgcc $UNWIND_LIBS"
14997 LIBS="$UNWIND_LIBS $LIBS"
14998 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for unw_step in libunwind" >&5
14999 $as_echo_n "checking for unw_step in libunwind... " >&6; }
15000 if ${wine_cv_have_libunwind_unw_step+:} false; then :
15001 $as_echo_n "(cached) " >&6
15002 else
15003 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15004 /* end confdefs.h. */
15005 #define UNW_LOCAL_ONLY
15006 #include <libunwind.h>
15008 main ()
15010 unw_cursor_t cursor; unw_step( &cursor );
15012 return 0;
15014 _ACEOF
15015 if ac_fn_c_try_link "$LINENO"; then :
15016 wine_cv_have_libunwind_unw_step="yes"
15017 else
15018 wine_cv_have_libunwind_unw_step="no"
15020 rm -f core conftest.err conftest.$ac_objext \
15021 conftest$ac_exeext conftest.$ac_ext
15023 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_libunwind_unw_step" >&5
15024 $as_echo "$wine_cv_have_libunwind_unw_step" >&6; }
15025 LIBS=$save_libs
15027 test "$wine_cv_have_libunwind_unw_step" = yes || UNWIND_LIBS=""
15028 if test "x$wine_cv_have_unw_step$wine_cv_have_libunwind_unw_step" != xnono
15029 then
15031 $as_echo "#define HAVE_LIBUNWIND 1" >>confdefs.h
15034 CPPFLAGS=$ac_save_CPPFLAGS
15037 case $host in
15038 aarch64*|*-darwin*)
15039 if test "x$wine_cv_have_unw_step$wine_cv_have_libunwind_unw_step" = xnono; then :
15040 case "x$with_unwind" in
15041 x) as_fn_append wine_notices "|libunwind ${notice_platform}development files not found, stack unwinding won't work." ;;
15042 xno) ;;
15043 *) as_fn_error $? "libunwind ${notice_platform}development files not found, stack unwinding won't work.
15044 This is an error since --with-unwind was requested." "$LINENO" 5 ;;
15045 esac
15047 fi ;;
15048 esac
15050 if test "x$with_sdl" != "xno"
15051 then
15052 if ${SDL2_CFLAGS:+false} :; then :
15053 if ${PKG_CONFIG+:} false; then :
15054 SDL2_CFLAGS=`$PKG_CONFIG --cflags sdl2 2>/dev/null`
15058 if ${SDL2_LIBS:+false} :; then :
15059 if ${PKG_CONFIG+:} false; then :
15060 SDL2_LIBS=`$PKG_CONFIG --libs sdl2 2>/dev/null`
15064 SDL2_LIBS=${SDL2_LIBS:-"-lSDL2"}
15065 $as_echo "$as_me:${as_lineno-$LINENO}: sdl2 cflags: $SDL2_CFLAGS" >&5
15066 $as_echo "$as_me:${as_lineno-$LINENO}: sdl2 libs: $SDL2_LIBS" >&5
15067 ac_save_CPPFLAGS=$CPPFLAGS
15068 CPPFLAGS="$CPPFLAGS $SDL2_CFLAGS"
15069 for ac_header in SDL.h
15070 do :
15071 ac_fn_c_check_header_mongrel "$LINENO" "SDL.h" "ac_cv_header_SDL_h" "$ac_includes_default"
15072 if test "x$ac_cv_header_SDL_h" = xyes; then :
15073 cat >>confdefs.h <<_ACEOF
15074 #define HAVE_SDL_H 1
15075 _ACEOF
15076 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lSDL2" >&5
15077 $as_echo_n "checking for -lSDL2... " >&6; }
15078 if ${ac_cv_lib_soname_SDL2+:} false; then :
15079 $as_echo_n "(cached) " >&6
15080 else
15081 ac_check_soname_save_LIBS=$LIBS
15082 LIBS="-lSDL2 $SDL2_LIBS $LIBS"
15083 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15084 /* end confdefs.h. */
15086 /* Override any GCC internal prototype to avoid an error.
15087 Use char because int might match the return type of a GCC
15088 builtin and then its argument prototype would still apply. */
15089 #ifdef __cplusplus
15090 extern "C"
15091 #endif
15092 char SDL_Init ();
15094 main ()
15096 return SDL_Init ();
15098 return 0;
15100 _ACEOF
15101 if ac_fn_c_try_link "$LINENO"; then :
15102 case "$LIBEXT" in
15103 dll) ac_cv_lib_soname_SDL2=`$ac_cv_path_LDD conftest.exe | grep "SDL2" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15104 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'` ;;
15105 *) 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'`
15106 if ${ac_cv_lib_soname_SDL2:+false} :; then :
15107 ac_cv_lib_soname_SDL2=`$LDD conftest$ac_exeext | grep "libSDL2-2.0*\\.$LIBEXT" | sed -e "s/^.*\(libSDL2-2.0*\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15108 fi ;;
15109 esac
15110 else
15111 ac_cv_lib_soname_SDL2=
15113 rm -f core conftest.err conftest.$ac_objext \
15114 conftest$ac_exeext conftest.$ac_ext
15115 LIBS=$ac_check_soname_save_LIBS
15117 if ${ac_cv_lib_soname_SDL2:+false} :; then :
15118 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15119 $as_echo "not found" >&6; }
15121 else
15122 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_SDL2" >&5
15123 $as_echo "$ac_cv_lib_soname_SDL2" >&6; }
15125 cat >>confdefs.h <<_ACEOF
15126 #define SONAME_LIBSDL2 "$ac_cv_lib_soname_SDL2"
15127 _ACEOF
15133 done
15135 CPPFLAGS=$ac_save_CPPFLAGS
15138 if test "x$ac_cv_lib_soname_SDL2" = "x"; then :
15139 case "x$with_sdl" in
15140 x) as_fn_append wine_notices "|libSDL2 ${notice_platform}development files not found, SDL2 won't be supported." ;;
15141 xno) ;;
15142 *) as_fn_error $? "libSDL2 ${notice_platform}development files not found, SDL2 won't be supported.
15143 This is an error since --with-sdl was requested." "$LINENO" 5 ;;
15144 esac
15148 if test "x$with_faudio" != "xno"
15149 then
15150 if ${FAUDIO_CFLAGS:+false} :; then :
15151 if ${PKG_CONFIG+:} false; then :
15152 FAUDIO_CFLAGS=`$PKG_CONFIG --cflags FAudio 2>/dev/null`
15156 if ${FAUDIO_LIBS:+false} :; then :
15157 if ${PKG_CONFIG+:} false; then :
15158 FAUDIO_LIBS=`$PKG_CONFIG --libs FAudio 2>/dev/null`
15162 FAUDIO_LIBS=${FAUDIO_LIBS:-"-lFAudio"}
15163 $as_echo "$as_me:${as_lineno-$LINENO}: FAudio cflags: $FAUDIO_CFLAGS" >&5
15164 $as_echo "$as_me:${as_lineno-$LINENO}: FAudio libs: $FAUDIO_LIBS" >&5
15165 ac_save_CPPFLAGS=$CPPFLAGS
15166 CPPFLAGS="$CPPFLAGS $FAUDIO_CFLAGS"
15167 for ac_header in FAudio.h
15168 do :
15169 ac_fn_c_check_header_mongrel "$LINENO" "FAudio.h" "ac_cv_header_FAudio_h" "$ac_includes_default"
15170 if test "x$ac_cv_header_FAudio_h" = xyes; then :
15171 cat >>confdefs.h <<_ACEOF
15172 #define HAVE_FAUDIO_H 1
15173 _ACEOF
15174 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lFAudio" >&5
15175 $as_echo_n "checking for -lFAudio... " >&6; }
15176 if ${ac_cv_lib_soname_FAudio+:} false; then :
15177 $as_echo_n "(cached) " >&6
15178 else
15179 ac_check_soname_save_LIBS=$LIBS
15180 LIBS="-lFAudio $FAUDIO_LIBS $LIBS"
15181 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15182 /* end confdefs.h. */
15184 /* Override any GCC internal prototype to avoid an error.
15185 Use char because int might match the return type of a GCC
15186 builtin and then its argument prototype would still apply. */
15187 #ifdef __cplusplus
15188 extern "C"
15189 #endif
15190 char FAudioCreate ();
15192 main ()
15194 return FAudioCreate ();
15196 return 0;
15198 _ACEOF
15199 if ac_fn_c_try_link "$LINENO"; then :
15200 case "$LIBEXT" in
15201 dll) ac_cv_lib_soname_FAudio=`$ac_cv_path_LDD conftest.exe | grep "FAudio" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15202 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'` ;;
15203 *) ac_cv_lib_soname_FAudio=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libFAudio*\\.$LIBEXT" | sed -e "s/^.*\\[\\(libFAudio*\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15204 if ${ac_cv_lib_soname_FAudio:+false} :; then :
15205 ac_cv_lib_soname_FAudio=`$LDD conftest$ac_exeext | grep "libFAudio*\\.$LIBEXT" | sed -e "s/^.*\(libFAudio*\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15206 fi ;;
15207 esac
15208 else
15209 ac_cv_lib_soname_FAudio=
15211 rm -f core conftest.err conftest.$ac_objext \
15212 conftest$ac_exeext conftest.$ac_ext
15213 LIBS=$ac_check_soname_save_LIBS
15215 if ${ac_cv_lib_soname_FAudio:+false} :; then :
15216 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15217 $as_echo "not found" >&6; }
15219 else
15220 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_FAudio" >&5
15221 $as_echo "$ac_cv_lib_soname_FAudio" >&6; }
15223 cat >>confdefs.h <<_ACEOF
15224 #define SONAME_LIBFAUDIO "$ac_cv_lib_soname_FAudio"
15225 _ACEOF
15231 done
15233 ac_wine_check_funcs_save_LIBS="$LIBS"
15234 LIBS="$LIBS $FAUDIO_LIBS"
15235 for ac_func in FAudio_CommitOperationSet \
15236 F3DAudioInitialize8 \
15237 FAudioLinkedVersion \
15238 FAudioCreateReverb9WithCustomAllocatorEXT
15239 do :
15240 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
15241 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
15242 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
15243 cat >>confdefs.h <<_ACEOF
15244 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
15245 _ACEOF
15248 done
15250 LIBS="$ac_wine_check_funcs_save_LIBS"
15252 CPPFLAGS=$ac_save_CPPFLAGS
15255 if test "x$ac_cv_lib_soname_FAudio" = "x"; then :
15256 case "x$with_faudio" in
15257 x) as_fn_append wine_notices "|libFAudio ${notice_platform}development files not found, XAudio2 won't be supported." ;;
15258 xno) ;;
15259 *) as_fn_error $? "libFAudio ${notice_platform}development files not found, XAudio2 won't be supported.
15260 This is an error since --with-faudio was requested." "$LINENO" 5 ;;
15261 esac
15265 if test "x$with_capi" != "xno"
15266 then
15267 if ${CAPI20_CFLAGS:+false} :; then :
15268 if ${PKG_CONFIG+:} false; then :
15269 CAPI20_CFLAGS=`$PKG_CONFIG --cflags capi20 2>/dev/null`
15273 if ${CAPI20_LIBS:+false} :; then :
15274 if ${PKG_CONFIG+:} false; then :
15275 CAPI20_LIBS=`$PKG_CONFIG --libs capi20 2>/dev/null`
15280 $as_echo "$as_me:${as_lineno-$LINENO}: capi20 cflags: $CAPI20_CFLAGS" >&5
15281 $as_echo "$as_me:${as_lineno-$LINENO}: capi20 libs: $CAPI20_LIBS" >&5
15282 ac_save_CPPFLAGS=$CPPFLAGS
15283 CPPFLAGS="$CPPFLAGS $CAPI20_CFLAGS"
15284 for ac_header in capi20.h linux/capi.h
15285 do :
15286 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
15287 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#define __user
15289 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
15290 cat >>confdefs.h <<_ACEOF
15291 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
15292 _ACEOF
15296 done
15298 if test "$ac_cv_header_capi20_h" = "yes" -a "$ac_cv_header_linux_capi_h" = "yes"
15299 then
15300 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcapi20" >&5
15301 $as_echo_n "checking for -lcapi20... " >&6; }
15302 if ${ac_cv_lib_soname_capi20+:} false; then :
15303 $as_echo_n "(cached) " >&6
15304 else
15305 ac_check_soname_save_LIBS=$LIBS
15306 LIBS="-lcapi20 $CAPI20_LIBS $LIBS"
15307 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15308 /* end confdefs.h. */
15310 /* Override any GCC internal prototype to avoid an error.
15311 Use char because int might match the return type of a GCC
15312 builtin and then its argument prototype would still apply. */
15313 #ifdef __cplusplus
15314 extern "C"
15315 #endif
15316 char capi20_register ();
15318 main ()
15320 return capi20_register ();
15322 return 0;
15324 _ACEOF
15325 if ac_fn_c_try_link "$LINENO"; then :
15326 case "$LIBEXT" in
15327 dll) ac_cv_lib_soname_capi20=`$ac_cv_path_LDD conftest.exe | grep "capi20" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15328 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'` ;;
15329 *) ac_cv_lib_soname_capi20=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcapi20\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcapi20\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15330 if ${ac_cv_lib_soname_capi20:+false} :; then :
15331 ac_cv_lib_soname_capi20=`$LDD conftest$ac_exeext | grep "libcapi20\\.$LIBEXT" | sed -e "s/^.*\(libcapi20\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15332 fi ;;
15333 esac
15334 else
15335 ac_cv_lib_soname_capi20=
15337 rm -f core conftest.err conftest.$ac_objext \
15338 conftest$ac_exeext conftest.$ac_ext
15339 LIBS=$ac_check_soname_save_LIBS
15341 if ${ac_cv_lib_soname_capi20:+false} :; then :
15342 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15343 $as_echo "not found" >&6; }
15345 else
15346 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_capi20" >&5
15347 $as_echo "$ac_cv_lib_soname_capi20" >&6; }
15349 cat >>confdefs.h <<_ACEOF
15350 #define SONAME_LIBCAPI20 "$ac_cv_lib_soname_capi20"
15351 _ACEOF
15356 CPPFLAGS=$ac_save_CPPFLAGS
15359 if test "x$ac_cv_lib_soname_capi20" = "x"; then :
15360 case "x$with_capi" in
15361 x) as_fn_append wine_notices "|libcapi20 ${notice_platform}development files not found, ISDN won't be supported." ;;
15362 xno) ;;
15363 *) as_fn_error $? "libcapi20 ${notice_platform}development files not found, ISDN won't be supported.
15364 This is an error since --with-capi was requested." "$LINENO" 5 ;;
15365 esac
15369 if test "x$with_cups" != "xno"
15370 then
15371 if ${CUPS_CFLAGS:+false} :; then :
15372 if ${PKG_CONFIG+:} false; then :
15373 CUPS_CFLAGS=`$PKG_CONFIG --cflags cups 2>/dev/null`
15376 test "$cross_compiling" = yes || CUPS_CFLAGS=${CUPS_CFLAGS:-`${CUPS_CONFIG:-cups-config} --cflags 2>/dev/null`}
15377 if ${CUPS_LIBS:+false} :; then :
15378 if ${PKG_CONFIG+:} false; then :
15379 CUPS_LIBS=`$PKG_CONFIG --libs cups 2>/dev/null`
15382 test "$cross_compiling" = yes || CUPS_LIBS=${CUPS_LIBS:-`${CUPS_CONFIG:-cups-config} --libs 2>/dev/null`}
15383 CUPS_LIBS=${CUPS_LIBS:-"-lcups"}
15384 $as_echo "$as_me:${as_lineno-$LINENO}: cups cflags: $CUPS_CFLAGS" >&5
15385 $as_echo "$as_me:${as_lineno-$LINENO}: cups libs: $CUPS_LIBS" >&5
15386 ac_save_CPPFLAGS=$CPPFLAGS
15387 CPPFLAGS="$CPPFLAGS $CUPS_CFLAGS"
15388 for ac_header in cups/cups.h cups/ppd.h
15389 do :
15390 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
15391 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
15392 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
15393 cat >>confdefs.h <<_ACEOF
15394 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
15395 _ACEOF
15399 done
15401 if test "$ac_cv_header_cups_cups_h" = "yes"
15402 then
15403 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcups" >&5
15404 $as_echo_n "checking for -lcups... " >&6; }
15405 if ${ac_cv_lib_soname_cups+:} false; then :
15406 $as_echo_n "(cached) " >&6
15407 else
15408 ac_check_soname_save_LIBS=$LIBS
15409 LIBS="-lcups $CUPS_LIBS $LIBS"
15410 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15411 /* end confdefs.h. */
15413 /* Override any GCC internal prototype to avoid an error.
15414 Use char because int might match the return type of a GCC
15415 builtin and then its argument prototype would still apply. */
15416 #ifdef __cplusplus
15417 extern "C"
15418 #endif
15419 char cupsGetDefault ();
15421 main ()
15423 return cupsGetDefault ();
15425 return 0;
15427 _ACEOF
15428 if ac_fn_c_try_link "$LINENO"; then :
15429 case "$LIBEXT" in
15430 dll) ac_cv_lib_soname_cups=`$ac_cv_path_LDD conftest.exe | grep "cups" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15431 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'` ;;
15432 *) ac_cv_lib_soname_cups=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcups\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcups\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15433 if ${ac_cv_lib_soname_cups:+false} :; then :
15434 ac_cv_lib_soname_cups=`$LDD conftest$ac_exeext | grep "libcups\\.$LIBEXT" | sed -e "s/^.*\(libcups\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15435 fi ;;
15436 esac
15437 else
15438 ac_cv_lib_soname_cups=
15440 rm -f core conftest.err conftest.$ac_objext \
15441 conftest$ac_exeext conftest.$ac_ext
15442 LIBS=$ac_check_soname_save_LIBS
15444 if ${ac_cv_lib_soname_cups:+false} :; then :
15445 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15446 $as_echo "not found" >&6; }
15447 CUPS_LIBS=""
15448 else
15449 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_cups" >&5
15450 $as_echo "$ac_cv_lib_soname_cups" >&6; }
15452 cat >>confdefs.h <<_ACEOF
15453 #define SONAME_LIBCUPS "$ac_cv_lib_soname_cups"
15454 _ACEOF
15458 else
15459 CUPS_CFLAGS=""
15460 CUPS_LIBS=""
15462 CPPFLAGS=$ac_save_CPPFLAGS
15465 if test "x$ac_cv_lib_soname_cups" = "x"; then :
15466 case "x$with_cups" in
15467 x) as_fn_append wine_notices "|libcups ${notice_platform}development files not found, CUPS won't be supported." ;;
15468 xno) ;;
15469 *) as_fn_error $? "libcups ${notice_platform}development files not found, CUPS won't be supported.
15470 This is an error since --with-cups was requested." "$LINENO" 5 ;;
15471 esac
15475 if test "x$with_fontconfig" != "xno"
15476 then
15477 if ${FONTCONFIG_CFLAGS:+false} :; then :
15478 if ${PKG_CONFIG+:} false; then :
15479 FONTCONFIG_CFLAGS=`$PKG_CONFIG --cflags fontconfig 2>/dev/null`
15482 test "$cross_compiling" = yes || FONTCONFIG_CFLAGS=${FONTCONFIG_CFLAGS:-$X_CFLAGS}
15483 if ${FONTCONFIG_LIBS:+false} :; then :
15484 if ${PKG_CONFIG+:} false; then :
15485 FONTCONFIG_LIBS=`$PKG_CONFIG --libs fontconfig 2>/dev/null`
15488 test "$cross_compiling" = yes || FONTCONFIG_LIBS=${FONTCONFIG_LIBS:-$X_LIBS}
15490 $as_echo "$as_me:${as_lineno-$LINENO}: fontconfig cflags: $FONTCONFIG_CFLAGS" >&5
15491 $as_echo "$as_me:${as_lineno-$LINENO}: fontconfig libs: $FONTCONFIG_LIBS" >&5
15492 ac_save_CPPFLAGS=$CPPFLAGS
15493 CPPFLAGS="$CPPFLAGS $FONTCONFIG_CFLAGS"
15494 for ac_header in fontconfig/fontconfig.h
15495 do :
15496 ac_fn_c_check_header_mongrel "$LINENO" "fontconfig/fontconfig.h" "ac_cv_header_fontconfig_fontconfig_h" "$ac_includes_default"
15497 if test "x$ac_cv_header_fontconfig_fontconfig_h" = xyes; then :
15498 cat >>confdefs.h <<_ACEOF
15499 #define HAVE_FONTCONFIG_FONTCONFIG_H 1
15500 _ACEOF
15504 done
15506 if test "$ac_cv_header_fontconfig_fontconfig_h" = "yes"
15507 then
15508 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfontconfig" >&5
15509 $as_echo_n "checking for -lfontconfig... " >&6; }
15510 if ${ac_cv_lib_soname_fontconfig+:} false; then :
15511 $as_echo_n "(cached) " >&6
15512 else
15513 ac_check_soname_save_LIBS=$LIBS
15514 LIBS="-lfontconfig $FONTCONFIG_LIBS $LIBS"
15515 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15516 /* end confdefs.h. */
15518 /* Override any GCC internal prototype to avoid an error.
15519 Use char because int might match the return type of a GCC
15520 builtin and then its argument prototype would still apply. */
15521 #ifdef __cplusplus
15522 extern "C"
15523 #endif
15524 char FcInit ();
15526 main ()
15528 return FcInit ();
15530 return 0;
15532 _ACEOF
15533 if ac_fn_c_try_link "$LINENO"; then :
15534 case "$LIBEXT" in
15535 dll) ac_cv_lib_soname_fontconfig=`$ac_cv_path_LDD conftest.exe | grep "fontconfig" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15536 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'` ;;
15537 *) ac_cv_lib_soname_fontconfig=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfontconfig\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfontconfig\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15538 if ${ac_cv_lib_soname_fontconfig:+false} :; then :
15539 ac_cv_lib_soname_fontconfig=`$LDD conftest$ac_exeext | grep "libfontconfig\\.$LIBEXT" | sed -e "s/^.*\(libfontconfig\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15540 fi ;;
15541 esac
15542 else
15543 ac_cv_lib_soname_fontconfig=
15545 rm -f core conftest.err conftest.$ac_objext \
15546 conftest$ac_exeext conftest.$ac_ext
15547 LIBS=$ac_check_soname_save_LIBS
15549 if ${ac_cv_lib_soname_fontconfig:+false} :; then :
15550 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15551 $as_echo "not found" >&6; }
15552 FONTCONFIG_CFLAGS=""
15553 else
15554 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_fontconfig" >&5
15555 $as_echo "$ac_cv_lib_soname_fontconfig" >&6; }
15557 cat >>confdefs.h <<_ACEOF
15558 #define SONAME_LIBFONTCONFIG "$ac_cv_lib_soname_fontconfig"
15559 _ACEOF
15563 else
15564 FONTCONFIG_CFLAGS=""
15566 CPPFLAGS=$ac_save_CPPFLAGS
15569 if test "x$ac_cv_lib_soname_fontconfig" = "x"; then :
15570 case "x$with_fontconfig" in
15571 x) as_fn_append wine_notices "|fontconfig ${notice_platform}development files not found, fontconfig won't be supported." ;;
15572 xno) ;;
15573 *) as_fn_error $? "fontconfig ${notice_platform}development files not found, fontconfig won't be supported.
15574 This is an error since --with-fontconfig was requested." "$LINENO" 5 ;;
15575 esac
15579 if test "$ac_cv_header_gsm_h" = "yes" -o "$ac_cv_header_gsm_gsm_h" = "yes"
15580 then
15581 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgsm" >&5
15582 $as_echo_n "checking for -lgsm... " >&6; }
15583 if ${ac_cv_lib_soname_gsm+:} false; then :
15584 $as_echo_n "(cached) " >&6
15585 else
15586 ac_check_soname_save_LIBS=$LIBS
15587 LIBS="-lgsm $LIBS"
15588 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15589 /* end confdefs.h. */
15591 /* Override any GCC internal prototype to avoid an error.
15592 Use char because int might match the return type of a GCC
15593 builtin and then its argument prototype would still apply. */
15594 #ifdef __cplusplus
15595 extern "C"
15596 #endif
15597 char gsm_create ();
15599 main ()
15601 return gsm_create ();
15603 return 0;
15605 _ACEOF
15606 if ac_fn_c_try_link "$LINENO"; then :
15607 case "$LIBEXT" in
15608 dll) ac_cv_lib_soname_gsm=`$ac_cv_path_LDD conftest.exe | grep "gsm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15609 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'` ;;
15610 *) ac_cv_lib_soname_gsm=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libgsm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libgsm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15611 if ${ac_cv_lib_soname_gsm:+false} :; then :
15612 ac_cv_lib_soname_gsm=`$LDD conftest$ac_exeext | grep "libgsm\\.$LIBEXT" | sed -e "s/^.*\(libgsm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15613 fi ;;
15614 esac
15615 else
15616 ac_cv_lib_soname_gsm=
15618 rm -f core conftest.err conftest.$ac_objext \
15619 conftest$ac_exeext conftest.$ac_ext
15620 LIBS=$ac_check_soname_save_LIBS
15622 if ${ac_cv_lib_soname_gsm:+false} :; then :
15623 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15624 $as_echo "not found" >&6; }
15626 else
15627 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gsm" >&5
15628 $as_echo "$ac_cv_lib_soname_gsm" >&6; }
15630 cat >>confdefs.h <<_ACEOF
15631 #define SONAME_LIBGSM "$ac_cv_lib_soname_gsm"
15632 _ACEOF
15637 if test "x$ac_cv_lib_soname_gsm" = "x"; then :
15638 case "x$with_gsm" in
15639 x) as_fn_append wine_notices "|libgsm ${notice_platform}development files not found, gsm 06.10 codec won't be supported." ;;
15640 xno) ;;
15641 *) as_fn_error $? "libgsm ${notice_platform}development files not found, gsm 06.10 codec won't be supported.
15642 This is an error since --with-gsm was requested." "$LINENO" 5 ;;
15643 esac
15647 if test "x$with_krb5" != "xno"
15648 then
15649 if ${KRB5_CFLAGS:+false} :; then :
15650 if ${PKG_CONFIG+:} false; then :
15651 KRB5_CFLAGS=`$PKG_CONFIG --cflags krb5 2>/dev/null`
15654 test "$cross_compiling" = yes || KRB5_CFLAGS=${KRB5_CFLAGS:-`${KRB5_CONFIG:-krb5-config} --cflags 2>/dev/null`}
15655 if ${KRB5_LIBS:+false} :; then :
15656 if ${PKG_CONFIG+:} false; then :
15657 KRB5_LIBS=`$PKG_CONFIG --libs krb5 2>/dev/null`
15660 test "$cross_compiling" = yes || KRB5_LIBS=${KRB5_LIBS:-`${KRB5_CONFIG:-krb5-config} --libs 2>/dev/null`}
15662 $as_echo "$as_me:${as_lineno-$LINENO}: krb5 cflags: $KRB5_CFLAGS" >&5
15663 $as_echo "$as_me:${as_lineno-$LINENO}: krb5 libs: $KRB5_LIBS" >&5
15664 ac_save_CPPFLAGS=$CPPFLAGS
15665 CPPFLAGS="$CPPFLAGS $KRB5_CFLAGS"
15666 for ac_header in krb5/krb5.h
15667 do :
15668 ac_fn_c_check_header_mongrel "$LINENO" "krb5/krb5.h" "ac_cv_header_krb5_krb5_h" "$ac_includes_default"
15669 if test "x$ac_cv_header_krb5_krb5_h" = xyes; then :
15670 cat >>confdefs.h <<_ACEOF
15671 #define HAVE_KRB5_KRB5_H 1
15672 _ACEOF
15676 done
15678 if test "$ac_cv_header_krb5_krb5_h" = "yes"
15679 then
15680 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lkrb5" >&5
15681 $as_echo_n "checking for -lkrb5... " >&6; }
15682 if ${ac_cv_lib_soname_krb5+:} false; then :
15683 $as_echo_n "(cached) " >&6
15684 else
15685 ac_check_soname_save_LIBS=$LIBS
15686 LIBS="-lkrb5 $KRB5_LIBS $LIBS"
15687 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15688 /* end confdefs.h. */
15690 /* Override any GCC internal prototype to avoid an error.
15691 Use char because int might match the return type of a GCC
15692 builtin and then its argument prototype would still apply. */
15693 #ifdef __cplusplus
15694 extern "C"
15695 #endif
15696 char krb5_is_config_principal ();
15698 main ()
15700 return krb5_is_config_principal ();
15702 return 0;
15704 _ACEOF
15705 if ac_fn_c_try_link "$LINENO"; then :
15706 case "$LIBEXT" in
15707 dll) ac_cv_lib_soname_krb5=`$ac_cv_path_LDD conftest.exe | grep "krb5" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15708 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'` ;;
15709 *) ac_cv_lib_soname_krb5=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libkrb5\\.$LIBEXT" | sed -e "s/^.*\\[\\(libkrb5\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15710 if ${ac_cv_lib_soname_krb5:+false} :; then :
15711 ac_cv_lib_soname_krb5=`$LDD conftest$ac_exeext | grep "libkrb5\\.$LIBEXT" | sed -e "s/^.*\(libkrb5\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15712 fi ;;
15713 esac
15714 else
15715 ac_cv_lib_soname_krb5=
15717 rm -f core conftest.err conftest.$ac_objext \
15718 conftest$ac_exeext conftest.$ac_ext
15719 LIBS=$ac_check_soname_save_LIBS
15721 if ${ac_cv_lib_soname_krb5:+false} :; then :
15722 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15723 $as_echo "not found" >&6; }
15724 KRB5_CFLAGS=""
15725 else
15726 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_krb5" >&5
15727 $as_echo "$ac_cv_lib_soname_krb5" >&6; }
15729 cat >>confdefs.h <<_ACEOF
15730 #define SONAME_LIBKRB5 "$ac_cv_lib_soname_krb5"
15731 _ACEOF
15735 else
15736 KRB5_CFLAGS=""
15738 CPPFLAGS=$ac_save_CPPFLAGS
15741 if test "x$ac_cv_lib_soname_krb5" = "x"; then :
15742 case "x$with_krb5" in
15743 x) as_fn_append wine_notices "|libkrb5 ${notice_platform}development files not found (or too old), Kerberos won't be supported." ;;
15744 xno) ;;
15745 *) as_fn_error $? "libkrb5 ${notice_platform}development files not found (or too old), Kerberos won't be supported.
15746 This is an error since --with-krb5 was requested." "$LINENO" 5 ;;
15747 esac
15750 test "x$ac_cv_lib_soname_krb5" != "x" || with_gssapi=${with_gssapi:-no}
15752 if test "x$with_gssapi" != "xno"
15753 then
15754 if ${GSSAPI_CFLAGS:+false} :; then :
15755 if ${PKG_CONFIG+:} false; then :
15756 GSSAPI_CFLAGS=`$PKG_CONFIG --cflags krb5-gssapi 2>/dev/null`
15759 test "$cross_compiling" = yes || GSSAPI_CFLAGS=${GSSAPI_CFLAGS:-`${KRB5_CONFIG:-krb5-config} --cflags gssapi 2>/dev/null`}
15760 if ${GSSAPI_LIBS:+false} :; then :
15761 if ${PKG_CONFIG+:} false; then :
15762 GSSAPI_LIBS=`$PKG_CONFIG --libs krb5-gssapi 2>/dev/null`
15765 test "$cross_compiling" = yes || GSSAPI_LIBS=${GSSAPI_LIBS:-`${KRB5_CONFIG:-krb5-config} --libs gssapi 2>/dev/null`}
15767 $as_echo "$as_me:${as_lineno-$LINENO}: krb5-gssapi cflags: $GSSAPI_CFLAGS" >&5
15768 $as_echo "$as_me:${as_lineno-$LINENO}: krb5-gssapi libs: $GSSAPI_LIBS" >&5
15769 ac_save_CPPFLAGS=$CPPFLAGS
15770 CPPFLAGS="$CPPFLAGS $GSSAPI_CFLAGS"
15771 for ac_header in gssapi/gssapi.h gssapi/gssapi_ext.h
15772 do :
15773 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
15774 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
15775 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
15776 cat >>confdefs.h <<_ACEOF
15777 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
15778 _ACEOF
15782 done
15784 if test "$ac_cv_header_gssapi_gssapi_h" = "yes" -a "$ac_cv_header_gssapi_gssapi_ext_h" = "yes"
15785 then
15786 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgssapi_krb5" >&5
15787 $as_echo_n "checking for -lgssapi_krb5... " >&6; }
15788 if ${ac_cv_lib_soname_gssapi_krb5+:} false; then :
15789 $as_echo_n "(cached) " >&6
15790 else
15791 ac_check_soname_save_LIBS=$LIBS
15792 LIBS="-lgssapi_krb5 $GSSAPI_LIBS $LIBS"
15793 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15794 /* end confdefs.h. */
15796 /* Override any GCC internal prototype to avoid an error.
15797 Use char because int might match the return type of a GCC
15798 builtin and then its argument prototype would still apply. */
15799 #ifdef __cplusplus
15800 extern "C"
15801 #endif
15802 char gss_init_sec_context ();
15804 main ()
15806 return gss_init_sec_context ();
15808 return 0;
15810 _ACEOF
15811 if ac_fn_c_try_link "$LINENO"; then :
15812 case "$LIBEXT" in
15813 dll) ac_cv_lib_soname_gssapi_krb5=`$ac_cv_path_LDD conftest.exe | grep "gssapi_krb5" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15814 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'` ;;
15815 *) 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'`
15816 if ${ac_cv_lib_soname_gssapi_krb5:+false} :; then :
15817 ac_cv_lib_soname_gssapi_krb5=`$LDD conftest$ac_exeext | grep "libgssapi_krb5\\.$LIBEXT" | sed -e "s/^.*\(libgssapi_krb5\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15818 fi ;;
15819 esac
15820 else
15821 ac_cv_lib_soname_gssapi_krb5=
15823 rm -f core conftest.err conftest.$ac_objext \
15824 conftest$ac_exeext conftest.$ac_ext
15825 LIBS=$ac_check_soname_save_LIBS
15827 if ${ac_cv_lib_soname_gssapi_krb5:+false} :; then :
15828 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15829 $as_echo "not found" >&6; }
15830 GSSAPI_CFLAGS=""
15831 else
15832 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gssapi_krb5" >&5
15833 $as_echo "$ac_cv_lib_soname_gssapi_krb5" >&6; }
15835 cat >>confdefs.h <<_ACEOF
15836 #define SONAME_LIBGSSAPI_KRB5 "$ac_cv_lib_soname_gssapi_krb5"
15837 _ACEOF
15841 else
15842 GSSAPI_CFLAGS=""
15844 CPPFLAGS=$ac_save_CPPFLAGS
15847 if test "x$ac_cv_lib_soname_gssapi_krb5" = "x"; then :
15848 case "x$with_gssapi" in
15849 x) as_fn_append wine_notices "|libgssapi_krb5 ${notice_platform}development files not found (or too old), no Kerberos SSP support." ;;
15850 xno) ;;
15851 *) as_fn_error $? "libgssapi_krb5 ${notice_platform}development files not found (or too old), no Kerberos SSP support.
15852 This is an error since --with-gssapi was requested." "$LINENO" 5 ;;
15853 esac
15857 if test "x$with_jpeg" != "xno"
15858 then
15859 if ${JPEG_CFLAGS:+false} :; then :
15860 if ${PKG_CONFIG+:} false; then :
15861 JPEG_CFLAGS=`$PKG_CONFIG --cflags libjpeg 2>/dev/null`
15865 if ${JPEG_LIBS:+false} :; then :
15866 if ${PKG_CONFIG+:} false; then :
15867 JPEG_LIBS=`$PKG_CONFIG --libs libjpeg 2>/dev/null`
15872 $as_echo "$as_me:${as_lineno-$LINENO}: libjpeg cflags: $JPEG_CFLAGS" >&5
15873 $as_echo "$as_me:${as_lineno-$LINENO}: libjpeg libs: $JPEG_LIBS" >&5
15874 ac_save_CPPFLAGS=$CPPFLAGS
15875 CPPFLAGS="$CPPFLAGS $JPEG_CFLAGS"
15876 for ac_header in jpeglib.h
15877 do :
15878 ac_fn_c_check_header_mongrel "$LINENO" "jpeglib.h" "ac_cv_header_jpeglib_h" "$ac_includes_default"
15879 if test "x$ac_cv_header_jpeglib_h" = xyes; then :
15880 cat >>confdefs.h <<_ACEOF
15881 #define HAVE_JPEGLIB_H 1
15882 _ACEOF
15886 done
15888 if test "$ac_cv_header_jpeglib_h" = "yes"
15889 then
15890 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ljpeg" >&5
15891 $as_echo_n "checking for -ljpeg... " >&6; }
15892 if ${ac_cv_lib_soname_jpeg+:} false; then :
15893 $as_echo_n "(cached) " >&6
15894 else
15895 ac_check_soname_save_LIBS=$LIBS
15896 LIBS="-ljpeg $JPEG_LIBS $LIBS"
15897 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15898 /* end confdefs.h. */
15900 /* Override any GCC internal prototype to avoid an error.
15901 Use char because int might match the return type of a GCC
15902 builtin and then its argument prototype would still apply. */
15903 #ifdef __cplusplus
15904 extern "C"
15905 #endif
15906 char jpeg_start_decompress ();
15908 main ()
15910 return jpeg_start_decompress ();
15912 return 0;
15914 _ACEOF
15915 if ac_fn_c_try_link "$LINENO"; then :
15916 case "$LIBEXT" in
15917 dll) ac_cv_lib_soname_jpeg=`$ac_cv_path_LDD conftest.exe | grep "jpeg" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15918 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'` ;;
15919 *) ac_cv_lib_soname_jpeg=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libjpeg\\.$LIBEXT" | sed -e "s/^.*\\[\\(libjpeg\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15920 if ${ac_cv_lib_soname_jpeg:+false} :; then :
15921 ac_cv_lib_soname_jpeg=`$LDD conftest$ac_exeext | grep "libjpeg\\.$LIBEXT" | sed -e "s/^.*\(libjpeg\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15922 fi ;;
15923 esac
15924 else
15925 ac_cv_lib_soname_jpeg=
15927 rm -f core conftest.err conftest.$ac_objext \
15928 conftest$ac_exeext conftest.$ac_ext
15929 LIBS=$ac_check_soname_save_LIBS
15931 if ${ac_cv_lib_soname_jpeg:+false} :; then :
15932 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15933 $as_echo "not found" >&6; }
15934 JPEG_CFLAGS=""
15935 else
15936 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_jpeg" >&5
15937 $as_echo "$ac_cv_lib_soname_jpeg" >&6; }
15939 cat >>confdefs.h <<_ACEOF
15940 #define SONAME_LIBJPEG "$ac_cv_lib_soname_jpeg"
15941 _ACEOF
15945 else
15946 JPEG_CFLAGS=""
15948 CPPFLAGS=$ac_save_CPPFLAGS
15951 if test "x$ac_cv_lib_soname_jpeg" = "x"; then :
15952 case "x$with_jpeg" in
15953 x) as_fn_append wine_warnings "|libjpeg ${notice_platform}development files not found, JPEG won't be supported." ;;
15954 xno) ;;
15955 *) as_fn_error $? "libjpeg ${notice_platform}development files not found, JPEG won't be supported.
15956 This is an error since --with-jpeg was requested." "$LINENO" 5 ;;
15957 esac
15961 if test "x$with_jxrlib" != "xno"
15962 then
15963 if ${JXRLIB_CFLAGS:+false} :; then :
15964 if ${PKG_CONFIG+:} false; then :
15965 JXRLIB_CFLAGS=`$PKG_CONFIG --cflags jxrlib 2>/dev/null`
15968 test "$cross_compiling" = yes || JXRLIB_CFLAGS=${JXRLIB_CFLAGS:-${JXRLIB_CFLAGS:--I/usr/include/jxrlib}}
15969 if ${JXRLIB_LIBS:+false} :; then :
15970 if ${PKG_CONFIG+:} false; then :
15971 JXRLIB_LIBS=`$PKG_CONFIG --libs jxrlib 2>/dev/null`
15976 $as_echo "$as_me:${as_lineno-$LINENO}: jxrlib cflags: $JXRLIB_CFLAGS" >&5
15977 $as_echo "$as_me:${as_lineno-$LINENO}: jxrlib libs: $JXRLIB_LIBS" >&5
15978 ac_save_CPPFLAGS=$CPPFLAGS
15979 CPPFLAGS="$CPPFLAGS $JXRLIB_CFLAGS"
15980 for ac_header in JXRGlue.h
15981 do :
15982 ac_fn_c_check_header_compile "$LINENO" "JXRGlue.h" "ac_cv_header_JXRGlue_h" "#define FAR
15984 if test "x$ac_cv_header_JXRGlue_h" = xyes; then :
15985 cat >>confdefs.h <<_ACEOF
15986 #define HAVE_JXRGLUE_H 1
15987 _ACEOF
15991 done
15993 if test "$ac_cv_header_JXRGlue_h" = "yes"
15994 then
15995 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ljxrglue" >&5
15996 $as_echo_n "checking for -ljxrglue... " >&6; }
15997 if ${ac_cv_lib_soname_jxrglue+:} false; then :
15998 $as_echo_n "(cached) " >&6
15999 else
16000 ac_check_soname_save_LIBS=$LIBS
16001 LIBS="-ljxrglue $JXRLIB_LIBS $LIBS"
16002 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16003 /* end confdefs.h. */
16005 /* Override any GCC internal prototype to avoid an error.
16006 Use char because int might match the return type of a GCC
16007 builtin and then its argument prototype would still apply. */
16008 #ifdef __cplusplus
16009 extern "C"
16010 #endif
16011 char PKImageDecode_Create_WMP ();
16013 main ()
16015 return PKImageDecode_Create_WMP ();
16017 return 0;
16019 _ACEOF
16020 if ac_fn_c_try_link "$LINENO"; then :
16021 case "$LIBEXT" in
16022 dll) ac_cv_lib_soname_jxrglue=`$ac_cv_path_LDD conftest.exe | grep "jxrglue" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16023 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'` ;;
16024 *) ac_cv_lib_soname_jxrglue=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libjxrglue\\.$LIBEXT" | sed -e "s/^.*\\[\\(libjxrglue\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16025 if ${ac_cv_lib_soname_jxrglue:+false} :; then :
16026 ac_cv_lib_soname_jxrglue=`$LDD conftest$ac_exeext | grep "libjxrglue\\.$LIBEXT" | sed -e "s/^.*\(libjxrglue\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16027 fi ;;
16028 esac
16029 else
16030 ac_cv_lib_soname_jxrglue=
16032 rm -f core conftest.err conftest.$ac_objext \
16033 conftest$ac_exeext conftest.$ac_ext
16034 LIBS=$ac_check_soname_save_LIBS
16036 if ${ac_cv_lib_soname_jxrglue:+false} :; then :
16037 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16038 $as_echo "not found" >&6; }
16039 JXRLIB_CFLAGS=""
16040 else
16041 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_jxrglue" >&5
16042 $as_echo "$ac_cv_lib_soname_jxrglue" >&6; }
16044 cat >>confdefs.h <<_ACEOF
16045 #define SONAME_LIBJXRGLUE "$ac_cv_lib_soname_jxrglue"
16046 _ACEOF
16050 else
16051 JXRLIB_CFLAGS=""
16053 CPPFLAGS=$ac_save_CPPFLAGS
16056 if test "x$ac_cv_lib_soname_jxrglue" = "x"; then :
16057 case "x$with_jxrlib" in
16058 x) as_fn_append wine_notices "|jxrlib ${notice_platform}development files not found, JPEG-XR won't be supported." ;;
16059 xno) ;;
16060 *) as_fn_error $? "jxrlib ${notice_platform}development files not found, JPEG-XR won't be supported.
16061 This is an error since --with-jxrlib was requested." "$LINENO" 5 ;;
16062 esac
16066 if test "x$with_png" != "xno"
16067 then
16068 if ${PNG_CFLAGS:+false} :; then :
16069 if ${PKG_CONFIG+:} false; then :
16070 PNG_CFLAGS=`$PKG_CONFIG --cflags libpng 2>/dev/null`
16073 test "$cross_compiling" = yes || PNG_CFLAGS=${PNG_CFLAGS:-$X_CFLAGS}
16074 if ${PNG_LIBS:+false} :; then :
16075 if ${PKG_CONFIG+:} false; then :
16076 PNG_LIBS=`$PKG_CONFIG --libs libpng 2>/dev/null`
16079 test "$cross_compiling" = yes || PNG_LIBS=${PNG_LIBS:-$X_LIBS}
16081 $as_echo "$as_me:${as_lineno-$LINENO}: libpng cflags: $PNG_CFLAGS" >&5
16082 $as_echo "$as_me:${as_lineno-$LINENO}: libpng libs: $PNG_LIBS" >&5
16083 ac_save_CPPFLAGS=$CPPFLAGS
16084 CPPFLAGS="$CPPFLAGS $PNG_CFLAGS"
16085 for ac_header in png.h
16086 do :
16087 ac_fn_c_check_header_mongrel "$LINENO" "png.h" "ac_cv_header_png_h" "$ac_includes_default"
16088 if test "x$ac_cv_header_png_h" = xyes; then :
16089 cat >>confdefs.h <<_ACEOF
16090 #define HAVE_PNG_H 1
16091 _ACEOF
16095 done
16097 if test "$ac_cv_header_png_h" = "yes"
16098 then
16099 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lpng" >&5
16100 $as_echo_n "checking for -lpng... " >&6; }
16101 if ${ac_cv_lib_soname_png+:} false; then :
16102 $as_echo_n "(cached) " >&6
16103 else
16104 ac_check_soname_save_LIBS=$LIBS
16105 LIBS="-lpng $PNG_LIBS -lm -lz $LIBS"
16106 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16107 /* end confdefs.h. */
16109 /* Override any GCC internal prototype to avoid an error.
16110 Use char because int might match the return type of a GCC
16111 builtin and then its argument prototype would still apply. */
16112 #ifdef __cplusplus
16113 extern "C"
16114 #endif
16115 char png_create_read_struct ();
16117 main ()
16119 return png_create_read_struct ();
16121 return 0;
16123 _ACEOF
16124 if ac_fn_c_try_link "$LINENO"; then :
16125 case "$LIBEXT" in
16126 dll) ac_cv_lib_soname_png=`$ac_cv_path_LDD conftest.exe | grep "png" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16127 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'` ;;
16128 *) 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'`
16129 if ${ac_cv_lib_soname_png:+false} :; then :
16130 ac_cv_lib_soname_png=`$LDD conftest$ac_exeext | grep "libpng[0-9]*\\.$LIBEXT" | sed -e "s/^.*\(libpng[0-9]*\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16131 fi ;;
16132 esac
16133 else
16134 ac_cv_lib_soname_png=
16136 rm -f core conftest.err conftest.$ac_objext \
16137 conftest$ac_exeext conftest.$ac_ext
16138 LIBS=$ac_check_soname_save_LIBS
16140 if ${ac_cv_lib_soname_png:+false} :; then :
16141 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16142 $as_echo "not found" >&6; }
16143 PNG_CFLAGS=""
16144 else
16145 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_png" >&5
16146 $as_echo "$ac_cv_lib_soname_png" >&6; }
16148 cat >>confdefs.h <<_ACEOF
16149 #define SONAME_LIBPNG "$ac_cv_lib_soname_png"
16150 _ACEOF
16154 else
16155 PNG_CFLAGS=""
16157 CPPFLAGS=$ac_save_CPPFLAGS
16160 if test "x$ac_cv_lib_soname_png" = "x"; then :
16161 case "x$with_png" in
16162 x) as_fn_append wine_warnings "|libpng ${notice_platform}development files not found, PNG won't be supported." ;;
16163 xno) ;;
16164 *) as_fn_error $? "libpng ${notice_platform}development files not found, PNG won't be supported.
16165 This is an error since --with-png was requested." "$LINENO" 5 ;;
16166 esac
16170 if test "x$with_tiff" != "xno"
16171 then
16172 if ${TIFF_CFLAGS:+false} :; then :
16173 if ${PKG_CONFIG+:} false; then :
16174 TIFF_CFLAGS=`$PKG_CONFIG --cflags libtiff-4 2>/dev/null`
16178 if ${TIFF_LIBS:+false} :; then :
16179 if ${PKG_CONFIG+:} false; then :
16180 TIFF_LIBS=`$PKG_CONFIG --libs libtiff-4 2>/dev/null`
16185 $as_echo "$as_me:${as_lineno-$LINENO}: libtiff-4 cflags: $TIFF_CFLAGS" >&5
16186 $as_echo "$as_me:${as_lineno-$LINENO}: libtiff-4 libs: $TIFF_LIBS" >&5
16187 ac_save_CPPFLAGS=$CPPFLAGS
16188 CPPFLAGS="$CPPFLAGS $TIFF_CFLAGS"
16189 for ac_header in tiffio.h
16190 do :
16191 ac_fn_c_check_header_mongrel "$LINENO" "tiffio.h" "ac_cv_header_tiffio_h" "$ac_includes_default"
16192 if test "x$ac_cv_header_tiffio_h" = xyes; then :
16193 cat >>confdefs.h <<_ACEOF
16194 #define HAVE_TIFFIO_H 1
16195 _ACEOF
16199 done
16201 if test "$ac_cv_header_tiffio_h" = "yes"
16202 then
16203 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ltiff" >&5
16204 $as_echo_n "checking for -ltiff... " >&6; }
16205 if ${ac_cv_lib_soname_tiff+:} false; then :
16206 $as_echo_n "(cached) " >&6
16207 else
16208 ac_check_soname_save_LIBS=$LIBS
16209 LIBS="-ltiff $TIFF_LIBS $LIBS"
16210 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16211 /* end confdefs.h. */
16213 /* Override any GCC internal prototype to avoid an error.
16214 Use char because int might match the return type of a GCC
16215 builtin and then its argument prototype would still apply. */
16216 #ifdef __cplusplus
16217 extern "C"
16218 #endif
16219 char TIFFClientOpen ();
16221 main ()
16223 return TIFFClientOpen ();
16225 return 0;
16227 _ACEOF
16228 if ac_fn_c_try_link "$LINENO"; then :
16229 case "$LIBEXT" in
16230 dll) ac_cv_lib_soname_tiff=`$ac_cv_path_LDD conftest.exe | grep "tiff" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16231 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'` ;;
16232 *) ac_cv_lib_soname_tiff=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libtiff\\.$LIBEXT" | sed -e "s/^.*\\[\\(libtiff\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16233 if ${ac_cv_lib_soname_tiff:+false} :; then :
16234 ac_cv_lib_soname_tiff=`$LDD conftest$ac_exeext | grep "libtiff\\.$LIBEXT" | sed -e "s/^.*\(libtiff\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16235 fi ;;
16236 esac
16237 else
16238 ac_cv_lib_soname_tiff=
16240 rm -f core conftest.err conftest.$ac_objext \
16241 conftest$ac_exeext conftest.$ac_ext
16242 LIBS=$ac_check_soname_save_LIBS
16244 if ${ac_cv_lib_soname_tiff:+false} :; then :
16245 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16246 $as_echo "not found" >&6; }
16248 else
16249 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_tiff" >&5
16250 $as_echo "$ac_cv_lib_soname_tiff" >&6; }
16252 cat >>confdefs.h <<_ACEOF
16253 #define SONAME_LIBTIFF "$ac_cv_lib_soname_tiff"
16254 _ACEOF
16259 CPPFLAGS=$ac_save_CPPFLAGS
16262 if test "x$ac_cv_lib_soname_tiff" = "x"; then :
16263 case "x$with_tiff" in
16264 x) as_fn_append wine_notices "|libtiff ${notice_platform}development files not found, TIFF won't be supported." ;;
16265 xno) ;;
16266 *) as_fn_error $? "libtiff ${notice_platform}development files not found, TIFF won't be supported.
16267 This is an error since --with-tiff was requested." "$LINENO" 5 ;;
16268 esac
16272 if test "x$with_mpg123" != "xno"
16273 then
16274 if ${MPG123_CFLAGS:+false} :; then :
16275 if ${PKG_CONFIG+:} false; then :
16276 MPG123_CFLAGS=`$PKG_CONFIG --cflags libmpg123 2>/dev/null`
16280 if ${MPG123_LIBS:+false} :; then :
16281 if ${PKG_CONFIG+:} false; then :
16282 MPG123_LIBS=`$PKG_CONFIG --libs libmpg123 2>/dev/null`
16286 MPG123_LIBS=${MPG123_LIBS:-"-lmpg123"}
16287 $as_echo "$as_me:${as_lineno-$LINENO}: libmpg123 cflags: $MPG123_CFLAGS" >&5
16288 $as_echo "$as_me:${as_lineno-$LINENO}: libmpg123 libs: $MPG123_LIBS" >&5
16289 ac_save_CPPFLAGS=$CPPFLAGS
16290 CPPFLAGS="$CPPFLAGS $MPG123_CFLAGS"
16291 for ac_header in mpg123.h
16292 do :
16293 ac_fn_c_check_header_mongrel "$LINENO" "mpg123.h" "ac_cv_header_mpg123_h" "$ac_includes_default"
16294 if test "x$ac_cv_header_mpg123_h" = xyes; then :
16295 cat >>confdefs.h <<_ACEOF
16296 #define HAVE_MPG123_H 1
16297 _ACEOF
16301 done
16303 if test "$ac_cv_header_mpg123_h" = "yes"
16304 then
16305 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mpg123_feed in -lmpg123" >&5
16306 $as_echo_n "checking for mpg123_feed in -lmpg123... " >&6; }
16307 if ${ac_cv_lib_mpg123_mpg123_feed+:} false; then :
16308 $as_echo_n "(cached) " >&6
16309 else
16310 ac_check_lib_save_LIBS=$LIBS
16311 LIBS="-lmpg123 $MPG123_LIBS $LIBS"
16312 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16313 /* end confdefs.h. */
16315 /* Override any GCC internal prototype to avoid an error.
16316 Use char because int might match the return type of a GCC
16317 builtin and then its argument prototype would still apply. */
16318 #ifdef __cplusplus
16319 extern "C"
16320 #endif
16321 char mpg123_feed ();
16323 main ()
16325 return mpg123_feed ();
16327 return 0;
16329 _ACEOF
16330 if ac_fn_c_try_link "$LINENO"; then :
16331 ac_cv_lib_mpg123_mpg123_feed=yes
16332 else
16333 ac_cv_lib_mpg123_mpg123_feed=no
16335 rm -f core conftest.err conftest.$ac_objext \
16336 conftest$ac_exeext conftest.$ac_ext
16337 LIBS=$ac_check_lib_save_LIBS
16339 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_mpg123_mpg123_feed" >&5
16340 $as_echo "$ac_cv_lib_mpg123_mpg123_feed" >&6; }
16341 if test "x$ac_cv_lib_mpg123_mpg123_feed" = xyes; then :
16343 else
16344 MPG123_LIBS=""
16347 else
16348 MPG123_CFLAGS=""
16349 MPG123_LIBS=""
16351 CPPFLAGS=$ac_save_CPPFLAGS
16354 if test "x$ac_cv_lib_mpg123_mpg123_feed" != xyes -a x"$ac_cv_header_CoreAudio_CoreAudio_h" != xyes; then :
16355 case "x$with_mpg123" in
16356 x) as_fn_append wine_notices "|libmpg123 ${notice_platform}development files not found (or too old), mp3 codec won't be supported." ;;
16357 xno) ;;
16358 *) as_fn_error $? "libmpg123 ${notice_platform}development files not found (or too old), mp3 codec won't be supported.
16359 This is an error since --with-mpg123 was requested." "$LINENO" 5 ;;
16360 esac
16361 enable_l3codeca_acm=${enable_l3codeca_acm:-no}
16363 test "x$ac_cv_lib_mpg123_mpg123_feed" = xyes || enable_mp3dmod=${enable_mp3dmod:-no}
16365 if test "$ac_cv_header_AL_al_h" = "yes"
16366 then
16367 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lopenal" >&5
16368 $as_echo_n "checking for -lopenal... " >&6; }
16369 if ${ac_cv_lib_soname_openal+:} false; then :
16370 $as_echo_n "(cached) " >&6
16371 else
16372 ac_check_soname_save_LIBS=$LIBS
16373 LIBS="-lopenal $LIBS"
16374 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16375 /* end confdefs.h. */
16377 /* Override any GCC internal prototype to avoid an error.
16378 Use char because int might match the return type of a GCC
16379 builtin and then its argument prototype would still apply. */
16380 #ifdef __cplusplus
16381 extern "C"
16382 #endif
16383 char alGetSource3i ();
16385 main ()
16387 return alGetSource3i ();
16389 return 0;
16391 _ACEOF
16392 if ac_fn_c_try_link "$LINENO"; then :
16393 case "$LIBEXT" in
16394 dll) ac_cv_lib_soname_openal=`$ac_cv_path_LDD conftest.exe | grep "openal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16395 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'` ;;
16396 *) ac_cv_lib_soname_openal=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libopenal\\.$LIBEXT" | sed -e "s/^.*\\[\\(libopenal\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16397 if ${ac_cv_lib_soname_openal:+false} :; then :
16398 ac_cv_lib_soname_openal=`$LDD conftest$ac_exeext | grep "libopenal\\.$LIBEXT" | sed -e "s/^.*\(libopenal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16399 fi ;;
16400 esac
16401 else
16402 ac_cv_lib_soname_openal=
16404 rm -f core conftest.err conftest.$ac_objext \
16405 conftest$ac_exeext conftest.$ac_ext
16406 LIBS=$ac_check_soname_save_LIBS
16408 if ${ac_cv_lib_soname_openal:+false} :; then :
16409 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16410 $as_echo "not found" >&6; }
16412 else
16413 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_openal" >&5
16414 $as_echo "$ac_cv_lib_soname_openal" >&6; }
16416 cat >>confdefs.h <<_ACEOF
16417 #define SONAME_LIBOPENAL "$ac_cv_lib_soname_openal"
16418 _ACEOF
16420 OPENAL_LIBS="-lopenal"
16422 ac_cv_lib_openal=yes
16424 cat >>confdefs.h <<_ACEOF
16425 #define HAVE_OPENAL 1
16426 _ACEOF
16430 if test "x$ac_cv_lib_openal" != xyes; then :
16431 case "x$with_openal" in
16432 x) as_fn_append wine_notices "|libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported." ;;
16433 xno) ;;
16434 *) as_fn_error $? "libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported.
16435 This is an error since --with-openal was requested." "$LINENO" 5 ;;
16436 esac
16437 enable_openal32=${enable_openal32:-no}
16440 if test "x$ac_cv_lib_soname_FAudio" = "x"
16441 then
16442 enable_x3daudio1_0=${enable_x3daudio1_0:-no}
16443 enable_x3daudio1_1=${enable_x3daudio1_1:-no}
16444 enable_x3daudio1_2=${enable_x3daudio1_2:-no}
16445 enable_x3daudio1_3=${enable_x3daudio1_3:-no}
16446 enable_x3daudio1_4=${enable_x3daudio1_4:-no}
16447 enable_x3daudio1_5=${enable_x3daudio1_5:-no}
16448 enable_x3daudio1_6=${enable_x3daudio1_6:-no}
16449 enable_x3daudio1_7=${enable_x3daudio1_7:-no}
16450 enable_xactengine2_0=${enable_xactengine2_0:-no}
16451 enable_xactengine2_4=${enable_xactengine2_4:-no}
16452 enable_xactengine2_7=${enable_xactengine2_7:-no}
16453 enable_xactengine2_9=${enable_xactengine2_9:-no}
16454 enable_xactengine3_0=${enable_xactengine3_0:-no}
16455 enable_xactengine3_1=${enable_xactengine3_1:-no}
16456 enable_xactengine3_2=${enable_xactengine3_2:-no}
16457 enable_xactengine3_3=${enable_xactengine3_3:-no}
16458 enable_xactengine3_4=${enable_xactengine3_4:-no}
16459 enable_xactengine3_5=${enable_xactengine3_5:-no}
16460 enable_xactengine3_6=${enable_xactengine3_6:-no}
16461 enable_xactengine3_7=${enable_xactengine3_7:-no}
16462 enable_xapofx1_1=${enable_xapofx1_1:-no}
16463 enable_xapofx1_2=${enable_xapofx1_2:-no}
16464 enable_xapofx1_3=${enable_xapofx1_3:-no}
16465 enable_xapofx1_4=${enable_xapofx1_4:-no}
16466 enable_xapofx1_5=${enable_xapofx1_5:-no}
16467 enable_xaudio2_0=${enable_xaudio2_0:-no}
16468 enable_xaudio2_1=${enable_xaudio2_1:-no}
16469 enable_xaudio2_2=${enable_xaudio2_2:-no}
16470 enable_xaudio2_3=${enable_xaudio2_3:-no}
16471 enable_xaudio2_4=${enable_xaudio2_4:-no}
16472 enable_xaudio2_5=${enable_xaudio2_5:-no}
16473 enable_xaudio2_6=${enable_xaudio2_6:-no}
16474 enable_xaudio2_7=${enable_xaudio2_7:-no}
16475 enable_xaudio2_8=${enable_xaudio2_8:-no}
16476 enable_xaudio2_9=${enable_xaudio2_9:-no}
16479 if test "$ac_cv_header_kstat_h" = "yes"
16480 then
16481 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for kstat_open in -lkstat" >&5
16482 $as_echo_n "checking for kstat_open in -lkstat... " >&6; }
16483 if ${ac_cv_lib_kstat_kstat_open+:} false; then :
16484 $as_echo_n "(cached) " >&6
16485 else
16486 ac_check_lib_save_LIBS=$LIBS
16487 LIBS="-lkstat $LIBS"
16488 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16489 /* end confdefs.h. */
16491 /* Override any GCC internal prototype to avoid an error.
16492 Use char because int might match the return type of a GCC
16493 builtin and then its argument prototype would still apply. */
16494 #ifdef __cplusplus
16495 extern "C"
16496 #endif
16497 char kstat_open ();
16499 main ()
16501 return kstat_open ();
16503 return 0;
16505 _ACEOF
16506 if ac_fn_c_try_link "$LINENO"; then :
16507 ac_cv_lib_kstat_kstat_open=yes
16508 else
16509 ac_cv_lib_kstat_kstat_open=no
16511 rm -f core conftest.err conftest.$ac_objext \
16512 conftest$ac_exeext conftest.$ac_ext
16513 LIBS=$ac_check_lib_save_LIBS
16515 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_kstat_kstat_open" >&5
16516 $as_echo "$ac_cv_lib_kstat_kstat_open" >&6; }
16517 if test "x$ac_cv_lib_kstat_kstat_open" = xyes; then :
16519 $as_echo "#define HAVE_LIBKSTAT 1" >>confdefs.h
16521 KSTAT_LIBS="-lkstat"
16527 if test "$ac_cv_header_libprocstat_h" = "yes"
16528 then
16529 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for procstat_open_sysctl in -lprocstat" >&5
16530 $as_echo_n "checking for procstat_open_sysctl in -lprocstat... " >&6; }
16531 if ${ac_cv_lib_procstat_procstat_open_sysctl+:} false; then :
16532 $as_echo_n "(cached) " >&6
16533 else
16534 ac_check_lib_save_LIBS=$LIBS
16535 LIBS="-lprocstat $LIBS"
16536 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16537 /* end confdefs.h. */
16539 /* Override any GCC internal prototype to avoid an error.
16540 Use char because int might match the return type of a GCC
16541 builtin and then its argument prototype would still apply. */
16542 #ifdef __cplusplus
16543 extern "C"
16544 #endif
16545 char procstat_open_sysctl ();
16547 main ()
16549 return procstat_open_sysctl ();
16551 return 0;
16553 _ACEOF
16554 if ac_fn_c_try_link "$LINENO"; then :
16555 ac_cv_lib_procstat_procstat_open_sysctl=yes
16556 else
16557 ac_cv_lib_procstat_procstat_open_sysctl=no
16559 rm -f core conftest.err conftest.$ac_objext \
16560 conftest$ac_exeext conftest.$ac_ext
16561 LIBS=$ac_check_lib_save_LIBS
16563 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_procstat_procstat_open_sysctl" >&5
16564 $as_echo "$ac_cv_lib_procstat_procstat_open_sysctl" >&6; }
16565 if test "x$ac_cv_lib_procstat_procstat_open_sysctl" = xyes; then :
16567 $as_echo "#define HAVE_LIBPROCSTAT 1" >>confdefs.h
16569 PROCSTAT_LIBS="-lprocstat"
16575 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lodbc" >&5
16576 $as_echo_n "checking for -lodbc... " >&6; }
16577 if ${ac_cv_lib_soname_odbc+:} false; then :
16578 $as_echo_n "(cached) " >&6
16579 else
16580 ac_check_soname_save_LIBS=$LIBS
16581 LIBS="-lodbc $LIBS"
16582 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16583 /* end confdefs.h. */
16585 /* Override any GCC internal prototype to avoid an error.
16586 Use char because int might match the return type of a GCC
16587 builtin and then its argument prototype would still apply. */
16588 #ifdef __cplusplus
16589 extern "C"
16590 #endif
16591 char SQLConnect ();
16593 main ()
16595 return SQLConnect ();
16597 return 0;
16599 _ACEOF
16600 if ac_fn_c_try_link "$LINENO"; then :
16601 case "$LIBEXT" in
16602 dll) ac_cv_lib_soname_odbc=`$ac_cv_path_LDD conftest.exe | grep "odbc" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16603 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'` ;;
16604 *) ac_cv_lib_soname_odbc=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libodbc\\.$LIBEXT" | sed -e "s/^.*\\[\\(libodbc\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16605 if ${ac_cv_lib_soname_odbc:+false} :; then :
16606 ac_cv_lib_soname_odbc=`$LDD conftest$ac_exeext | grep "libodbc\\.$LIBEXT" | sed -e "s/^.*\(libodbc\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16607 fi ;;
16608 esac
16609 else
16610 ac_cv_lib_soname_odbc=
16612 rm -f core conftest.err conftest.$ac_objext \
16613 conftest$ac_exeext conftest.$ac_ext
16614 LIBS=$ac_check_soname_save_LIBS
16616 if ${ac_cv_lib_soname_odbc:+false} :; then :
16617 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16618 $as_echo "not found" >&6; }
16619 cat >>confdefs.h <<_ACEOF
16620 #define SONAME_LIBODBC "libodbc.$LIBEXT"
16621 _ACEOF
16623 else
16624 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_odbc" >&5
16625 $as_echo "$ac_cv_lib_soname_odbc" >&6; }
16627 cat >>confdefs.h <<_ACEOF
16628 #define SONAME_LIBODBC "$ac_cv_lib_soname_odbc"
16629 _ACEOF
16634 if test "x$with_netapi" != "xno"
16635 then
16636 if ${NETAPI_CFLAGS:+false} :; then :
16637 if ${PKG_CONFIG+:} false; then :
16638 NETAPI_CFLAGS=`$PKG_CONFIG --cflags netapi 2>/dev/null`
16642 if ${NETAPI_LIBS:+false} :; then :
16643 if ${PKG_CONFIG+:} false; then :
16644 NETAPI_LIBS=`$PKG_CONFIG --libs netapi 2>/dev/null`
16649 $as_echo "$as_me:${as_lineno-$LINENO}: netapi cflags: $NETAPI_CFLAGS" >&5
16650 $as_echo "$as_me:${as_lineno-$LINENO}: netapi libs: $NETAPI_LIBS" >&5
16651 ac_save_CPPFLAGS=$CPPFLAGS
16652 CPPFLAGS="$CPPFLAGS $NETAPI_CFLAGS"
16653 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lnetapi" >&5
16654 $as_echo_n "checking for -lnetapi... " >&6; }
16655 if ${ac_cv_lib_soname_netapi+:} false; then :
16656 $as_echo_n "(cached) " >&6
16657 else
16658 ac_check_soname_save_LIBS=$LIBS
16659 LIBS="-lnetapi $NETAPI_LIBS $LIBS"
16660 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16661 /* end confdefs.h. */
16663 /* Override any GCC internal prototype to avoid an error.
16664 Use char because int might match the return type of a GCC
16665 builtin and then its argument prototype would still apply. */
16666 #ifdef __cplusplus
16667 extern "C"
16668 #endif
16669 char libnetapi_init ();
16671 main ()
16673 return libnetapi_init ();
16675 return 0;
16677 _ACEOF
16678 if ac_fn_c_try_link "$LINENO"; then :
16679 case "$LIBEXT" in
16680 dll) ac_cv_lib_soname_netapi=`$ac_cv_path_LDD conftest.exe | grep "netapi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16681 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'` ;;
16682 *) ac_cv_lib_soname_netapi=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libnetapi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libnetapi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16683 if ${ac_cv_lib_soname_netapi:+false} :; then :
16684 ac_cv_lib_soname_netapi=`$LDD conftest$ac_exeext | grep "libnetapi\\.$LIBEXT" | sed -e "s/^.*\(libnetapi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16685 fi ;;
16686 esac
16687 else
16688 ac_cv_lib_soname_netapi=
16690 rm -f core conftest.err conftest.$ac_objext \
16691 conftest$ac_exeext conftest.$ac_ext
16692 LIBS=$ac_check_soname_save_LIBS
16694 if ${ac_cv_lib_soname_netapi:+false} :; then :
16695 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16696 $as_echo "not found" >&6; }
16697 cat >>confdefs.h <<_ACEOF
16698 #define SONAME_LIBNETAPI "libnetapi.$LIBEXT"
16699 _ACEOF
16701 else
16702 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_netapi" >&5
16703 $as_echo "$ac_cv_lib_soname_netapi" >&6; }
16705 cat >>confdefs.h <<_ACEOF
16706 #define SONAME_LIBNETAPI "$ac_cv_lib_soname_netapi"
16707 _ACEOF
16711 CPPFLAGS=$ac_save_CPPFLAGS
16715 if test "x$enable_winealsa_drv$enable_winecoreaudio_drv$enable_winepulse_drv$enable_wineoss_drv$enable_wineandroid_drv" = xnonononono -a \
16716 "x$with_alsa$with_coreaudio$with_oss$with_pulse" != xnononono
16717 then
16718 as_fn_append wine_warnings "|No sound system was found. Windows applications will be silent."
16721 if test "x$with_vulkan" != "xno"
16722 then
16723 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lvulkan" >&5
16724 $as_echo_n "checking for -lvulkan... " >&6; }
16725 if ${ac_cv_lib_soname_vulkan+:} false; then :
16726 $as_echo_n "(cached) " >&6
16727 else
16728 ac_check_soname_save_LIBS=$LIBS
16729 LIBS="-lvulkan $LIBS"
16730 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16731 /* end confdefs.h. */
16733 /* Override any GCC internal prototype to avoid an error.
16734 Use char because int might match the return type of a GCC
16735 builtin and then its argument prototype would still apply. */
16736 #ifdef __cplusplus
16737 extern "C"
16738 #endif
16739 char vkGetInstanceProcAddr ();
16741 main ()
16743 return vkGetInstanceProcAddr ();
16745 return 0;
16747 _ACEOF
16748 if ac_fn_c_try_link "$LINENO"; then :
16749 case "$LIBEXT" in
16750 dll) ac_cv_lib_soname_vulkan=`$ac_cv_path_LDD conftest.exe | grep "vulkan" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16751 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'` ;;
16752 *) ac_cv_lib_soname_vulkan=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libvulkan\\.$LIBEXT" | sed -e "s/^.*\\[\\(libvulkan\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16753 if ${ac_cv_lib_soname_vulkan:+false} :; then :
16754 ac_cv_lib_soname_vulkan=`$LDD conftest$ac_exeext | grep "libvulkan\\.$LIBEXT" | sed -e "s/^.*\(libvulkan\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16755 fi ;;
16756 esac
16757 else
16758 ac_cv_lib_soname_vulkan=
16760 rm -f core conftest.err conftest.$ac_objext \
16761 conftest$ac_exeext conftest.$ac_ext
16762 LIBS=$ac_check_soname_save_LIBS
16764 if ${ac_cv_lib_soname_vulkan:+false} :; then :
16765 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16766 $as_echo "not found" >&6; }
16768 else
16769 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_vulkan" >&5
16770 $as_echo "$ac_cv_lib_soname_vulkan" >&6; }
16772 cat >>confdefs.h <<_ACEOF
16773 #define SONAME_LIBVULKAN "$ac_cv_lib_soname_vulkan"
16774 _ACEOF
16778 if test "x$ac_cv_lib_soname_vulkan" = "x"
16779 then
16780 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lMoltenVK" >&5
16781 $as_echo_n "checking for -lMoltenVK... " >&6; }
16782 if ${ac_cv_lib_soname_MoltenVK+:} false; then :
16783 $as_echo_n "(cached) " >&6
16784 else
16785 ac_check_soname_save_LIBS=$LIBS
16786 LIBS="-lMoltenVK $LIBS"
16787 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16788 /* end confdefs.h. */
16790 /* Override any GCC internal prototype to avoid an error.
16791 Use char because int might match the return type of a GCC
16792 builtin and then its argument prototype would still apply. */
16793 #ifdef __cplusplus
16794 extern "C"
16795 #endif
16796 char vkGetInstanceProcAddr ();
16798 main ()
16800 return vkGetInstanceProcAddr ();
16802 return 0;
16804 _ACEOF
16805 if ac_fn_c_try_link "$LINENO"; then :
16806 case "$LIBEXT" in
16807 dll) ac_cv_lib_soname_MoltenVK=`$ac_cv_path_LDD conftest.exe | grep "MoltenVK" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16808 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'` ;;
16809 *) ac_cv_lib_soname_MoltenVK=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libMoltenVK\\.$LIBEXT" | sed -e "s/^.*\\[\\(libMoltenVK\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16810 if ${ac_cv_lib_soname_MoltenVK:+false} :; then :
16811 ac_cv_lib_soname_MoltenVK=`$LDD conftest$ac_exeext | grep "libMoltenVK\\.$LIBEXT" | sed -e "s/^.*\(libMoltenVK\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16812 fi ;;
16813 esac
16814 else
16815 ac_cv_lib_soname_MoltenVK=
16817 rm -f core conftest.err conftest.$ac_objext \
16818 conftest$ac_exeext conftest.$ac_ext
16819 LIBS=$ac_check_soname_save_LIBS
16821 if ${ac_cv_lib_soname_MoltenVK:+false} :; then :
16822 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16823 $as_echo "not found" >&6; }
16825 else
16826 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_MoltenVK" >&5
16827 $as_echo "$ac_cv_lib_soname_MoltenVK" >&6; }
16829 cat >>confdefs.h <<_ACEOF
16830 #define SONAME_LIBMOLTENVK "$ac_cv_lib_soname_MoltenVK"
16831 _ACEOF
16837 if test "x$ac_cv_lib_soname_vulkan" = "x" -a "x$ac_cv_lib_soname_MoltenVK" = "x"; then :
16838 case "x$with_vulkan" in
16839 x) as_fn_append wine_notices "|libvulkan and libMoltenVK ${notice_platform}development files not found, Vulkan won't be supported." ;;
16840 xno) ;;
16841 *) as_fn_error $? "libvulkan and libMoltenVK ${notice_platform}development files not found, Vulkan won't be supported.
16842 This is an error since --with-vulkan was requested." "$LINENO" 5 ;;
16843 esac
16847 if test "x$with_vkd3d" != "xno"
16848 then
16849 if ${VKD3D_CFLAGS:+false} :; then :
16850 if ${PKG_CONFIG+:} false; then :
16851 VKD3D_CFLAGS=`$PKG_CONFIG --cflags libvkd3d 2>/dev/null`
16855 if ${VKD3D_LIBS:+false} :; then :
16856 if ${PKG_CONFIG+:} false; then :
16857 VKD3D_LIBS=`$PKG_CONFIG --libs libvkd3d 2>/dev/null`
16862 $as_echo "$as_me:${as_lineno-$LINENO}: libvkd3d cflags: $VKD3D_CFLAGS" >&5
16863 $as_echo "$as_me:${as_lineno-$LINENO}: libvkd3d libs: $VKD3D_LIBS" >&5
16864 ac_save_CPPFLAGS=$CPPFLAGS
16865 CPPFLAGS="$CPPFLAGS $VKD3D_CFLAGS"
16866 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lvkd3d" >&5
16867 $as_echo_n "checking for -lvkd3d... " >&6; }
16868 if ${ac_cv_lib_soname_vkd3d+:} false; then :
16869 $as_echo_n "(cached) " >&6
16870 else
16871 ac_check_soname_save_LIBS=$LIBS
16872 LIBS="-lvkd3d $VKD3D_LIBS $LIBS"
16873 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16874 /* end confdefs.h. */
16876 /* Override any GCC internal prototype to avoid an error.
16877 Use char because int might match the return type of a GCC
16878 builtin and then its argument prototype would still apply. */
16879 #ifdef __cplusplus
16880 extern "C"
16881 #endif
16882 char vkd3d_serialize_versioned_root_signature ();
16884 main ()
16886 return vkd3d_serialize_versioned_root_signature ();
16888 return 0;
16890 _ACEOF
16891 if ac_fn_c_try_link "$LINENO"; then :
16892 case "$LIBEXT" in
16893 dll) ac_cv_lib_soname_vkd3d=`$ac_cv_path_LDD conftest.exe | grep "vkd3d" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16894 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'` ;;
16895 *) ac_cv_lib_soname_vkd3d=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libvkd3d\\.$LIBEXT" | sed -e "s/^.*\\[\\(libvkd3d\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16896 if ${ac_cv_lib_soname_vkd3d:+false} :; then :
16897 ac_cv_lib_soname_vkd3d=`$LDD conftest$ac_exeext | grep "libvkd3d\\.$LIBEXT" | sed -e "s/^.*\(libvkd3d\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16898 fi ;;
16899 esac
16900 else
16901 ac_cv_lib_soname_vkd3d=
16903 rm -f core conftest.err conftest.$ac_objext \
16904 conftest$ac_exeext conftest.$ac_ext
16905 LIBS=$ac_check_soname_save_LIBS
16907 if ${ac_cv_lib_soname_vkd3d:+false} :; then :
16908 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16909 $as_echo "not found" >&6; }
16911 else
16912 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_vkd3d" >&5
16913 $as_echo "$ac_cv_lib_soname_vkd3d" >&6; }
16915 cat >>confdefs.h <<_ACEOF
16916 #define SONAME_LIBVKD3D "$ac_cv_lib_soname_vkd3d"
16917 _ACEOF
16921 CPPFLAGS=$ac_save_CPPFLAGS
16923 if ${VKD3D_SHADER_CFLAGS:+false} :; then :
16924 if ${PKG_CONFIG+:} false; then :
16925 VKD3D_SHADER_CFLAGS=`$PKG_CONFIG --cflags libvkd3d-shader 2>/dev/null`
16929 if ${VKD3D_SHADER_LIBS:+false} :; then :
16930 if ${PKG_CONFIG+:} false; then :
16931 VKD3D_SHADER_LIBS=`$PKG_CONFIG --libs libvkd3d-shader 2>/dev/null`
16936 $as_echo "$as_me:${as_lineno-$LINENO}: libvkd3d-shader cflags: $VKD3D_SHADER_CFLAGS" >&5
16937 $as_echo "$as_me:${as_lineno-$LINENO}: libvkd3d-shader libs: $VKD3D_SHADER_LIBS" >&5
16938 ac_save_CPPFLAGS=$CPPFLAGS
16939 CPPFLAGS="$CPPFLAGS $VKD3D_SHADER_CFLAGS"
16940 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lvkd3d-shader" >&5
16941 $as_echo_n "checking for -lvkd3d-shader... " >&6; }
16942 if ${ac_cv_lib_soname_vkd3d_shader+:} false; then :
16943 $as_echo_n "(cached) " >&6
16944 else
16945 ac_check_soname_save_LIBS=$LIBS
16946 LIBS="-lvkd3d-shader $VKD3D_SHADER_LIBS $LIBS"
16947 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16948 /* end confdefs.h. */
16950 /* Override any GCC internal prototype to avoid an error.
16951 Use char because int might match the return type of a GCC
16952 builtin and then its argument prototype would still apply. */
16953 #ifdef __cplusplus
16954 extern "C"
16955 #endif
16956 char vkd3d_shader_compile ();
16958 main ()
16960 return vkd3d_shader_compile ();
16962 return 0;
16964 _ACEOF
16965 if ac_fn_c_try_link "$LINENO"; then :
16966 case "$LIBEXT" in
16967 dll) ac_cv_lib_soname_vkd3d_shader=`$ac_cv_path_LDD conftest.exe | grep "vkd3d-shader" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16968 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'` ;;
16969 *) 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'`
16970 if ${ac_cv_lib_soname_vkd3d_shader:+false} :; then :
16971 ac_cv_lib_soname_vkd3d_shader=`$LDD conftest$ac_exeext | grep "libvkd3d-shader\\.$LIBEXT" | sed -e "s/^.*\(libvkd3d-shader\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16972 fi ;;
16973 esac
16974 else
16975 ac_cv_lib_soname_vkd3d_shader=
16977 rm -f core conftest.err conftest.$ac_objext \
16978 conftest$ac_exeext conftest.$ac_ext
16979 LIBS=$ac_check_soname_save_LIBS
16981 if ${ac_cv_lib_soname_vkd3d_shader:+false} :; then :
16982 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16983 $as_echo "not found" >&6; }
16985 else
16986 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_vkd3d_shader" >&5
16987 $as_echo "$ac_cv_lib_soname_vkd3d_shader" >&6; }
16989 cat >>confdefs.h <<_ACEOF
16990 #define SONAME_LIBVKD3D_SHADER "$ac_cv_lib_soname_vkd3d_shader"
16991 _ACEOF
16995 CPPFLAGS=$ac_save_CPPFLAGS
16998 if test "x$ac_cv_lib_soname_vkd3d" = "x"; then :
16999 case "x$with_vkd3d" in
17000 x) as_fn_append wine_notices "|vkd3d ${notice_platform}development files not found (or too old), Direct3D 12 won't be supported." ;;
17001 xno) ;;
17002 *) as_fn_error $? "vkd3d ${notice_platform}development files not found (or too old), Direct3D 12 won't be supported.
17003 This is an error since --with-vkd3d was requested." "$LINENO" 5 ;;
17004 esac
17007 test "x$ac_cv_lib_soname_vkd3d" != "x" || enable_d3d12=${enable_d3d12:-no}
17010 EXTRACFLAGS=""
17012 if test "x${GCC}" = "xyes"
17013 then
17014 EXTRACFLAGS="-Wall -pipe"
17016 saved_CFLAGS=$CFLAGS
17017 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=unknown-warning-option" >&5
17018 $as_echo_n "checking whether the compiler supports -Werror=unknown-warning-option... " >&6; }
17019 if ${ac_cv_cflags__Werror_unknown_warning_option+:} false; then :
17020 $as_echo_n "(cached) " >&6
17021 else
17022 ac_wine_try_cflags_saved=$CFLAGS
17023 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
17024 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17025 /* end confdefs.h. */
17026 int main(int argc, char **argv) { return 0; }
17027 _ACEOF
17028 if ac_fn_c_try_link "$LINENO"; then :
17029 ac_cv_cflags__Werror_unknown_warning_option=yes
17030 else
17031 ac_cv_cflags__Werror_unknown_warning_option=no
17033 rm -f core conftest.err conftest.$ac_objext \
17034 conftest$ac_exeext conftest.$ac_ext
17035 CFLAGS=$ac_wine_try_cflags_saved
17037 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_unknown_warning_option" >&5
17038 $as_echo "$ac_cv_cflags__Werror_unknown_warning_option" >&6; }
17039 if test "x$ac_cv_cflags__Werror_unknown_warning_option" = xyes; then :
17040 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
17042 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=unused-command-line-argument" >&5
17043 $as_echo_n "checking whether the compiler supports -Werror=unused-command-line-argument... " >&6; }
17044 if ${ac_cv_cflags__Werror_unused_command_line_argument+:} false; then :
17045 $as_echo_n "(cached) " >&6
17046 else
17047 ac_wine_try_cflags_saved=$CFLAGS
17048 CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
17049 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17050 /* end confdefs.h. */
17051 int main(int argc, char **argv) { return 0; }
17052 _ACEOF
17053 if ac_fn_c_try_link "$LINENO"; then :
17054 ac_cv_cflags__Werror_unused_command_line_argument=yes
17055 else
17056 ac_cv_cflags__Werror_unused_command_line_argument=no
17058 rm -f core conftest.err conftest.$ac_objext \
17059 conftest$ac_exeext conftest.$ac_ext
17060 CFLAGS=$ac_wine_try_cflags_saved
17062 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_unused_command_line_argument" >&5
17063 $as_echo "$ac_cv_cflags__Werror_unused_command_line_argument" >&6; }
17064 if test "x$ac_cv_cflags__Werror_unused_command_line_argument" = xyes; then :
17065 CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
17067 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=ignored-optimization-argument" >&5
17068 $as_echo_n "checking whether the compiler supports -Werror=ignored-optimization-argument... " >&6; }
17069 if ${ac_cv_cflags__Werror_ignored_optimization_argument+:} false; then :
17070 $as_echo_n "(cached) " >&6
17071 else
17072 ac_wine_try_cflags_saved=$CFLAGS
17073 CFLAGS="$CFLAGS -Werror=ignored-optimization-argument"
17074 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17075 /* end confdefs.h. */
17076 int main(int argc, char **argv) { return 0; }
17077 _ACEOF
17078 if ac_fn_c_try_link "$LINENO"; then :
17079 ac_cv_cflags__Werror_ignored_optimization_argument=yes
17080 else
17081 ac_cv_cflags__Werror_ignored_optimization_argument=no
17083 rm -f core conftest.err conftest.$ac_objext \
17084 conftest$ac_exeext conftest.$ac_ext
17085 CFLAGS=$ac_wine_try_cflags_saved
17087 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_ignored_optimization_argument" >&5
17088 $as_echo "$ac_cv_cflags__Werror_ignored_optimization_argument" >&6; }
17089 if test "x$ac_cv_cflags__Werror_ignored_optimization_argument" = xyes; then :
17090 CFLAGS="$CFLAGS -Werror=ignored-optimization-argument"
17092 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fcf-protection=none" >&5
17093 $as_echo_n "checking whether the compiler supports -fcf-protection=none... " >&6; }
17094 if ${ac_cv_cflags__fcf_protection_none+:} false; then :
17095 $as_echo_n "(cached) " >&6
17096 else
17097 ac_wine_try_cflags_saved=$CFLAGS
17098 CFLAGS="$CFLAGS -fcf-protection=none"
17099 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17100 /* end confdefs.h. */
17101 int main(int argc, char **argv) { return 0; }
17102 _ACEOF
17103 if ac_fn_c_try_link "$LINENO"; then :
17104 ac_cv_cflags__fcf_protection_none=yes
17105 else
17106 ac_cv_cflags__fcf_protection_none=no
17108 rm -f core conftest.err conftest.$ac_objext \
17109 conftest$ac_exeext conftest.$ac_ext
17110 CFLAGS=$ac_wine_try_cflags_saved
17112 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fcf_protection_none" >&5
17113 $as_echo "$ac_cv_cflags__fcf_protection_none" >&6; }
17114 if test "x$ac_cv_cflags__fcf_protection_none" = xyes; then :
17115 EXTRACFLAGS="$EXTRACFLAGS -fcf-protection=none"
17117 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-stack-protector" >&5
17118 $as_echo_n "checking whether the compiler supports -fno-stack-protector... " >&6; }
17119 if ${ac_cv_cflags__fno_stack_protector+:} false; then :
17120 $as_echo_n "(cached) " >&6
17121 else
17122 ac_wine_try_cflags_saved=$CFLAGS
17123 CFLAGS="$CFLAGS -fno-stack-protector"
17124 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17125 /* end confdefs.h. */
17126 int main(int argc, char **argv) { return 0; }
17127 _ACEOF
17128 if ac_fn_c_try_link "$LINENO"; then :
17129 ac_cv_cflags__fno_stack_protector=yes
17130 else
17131 ac_cv_cflags__fno_stack_protector=no
17133 rm -f core conftest.err conftest.$ac_objext \
17134 conftest$ac_exeext conftest.$ac_ext
17135 CFLAGS=$ac_wine_try_cflags_saved
17137 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_stack_protector" >&5
17138 $as_echo "$ac_cv_cflags__fno_stack_protector" >&6; }
17139 if test "x$ac_cv_cflags__fno_stack_protector" = xyes; then :
17140 EXTRACFLAGS="$EXTRACFLAGS -fno-stack-protector"
17142 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-strict-aliasing" >&5
17143 $as_echo_n "checking whether the compiler supports -fno-strict-aliasing... " >&6; }
17144 if ${ac_cv_cflags__fno_strict_aliasing+:} false; then :
17145 $as_echo_n "(cached) " >&6
17146 else
17147 ac_wine_try_cflags_saved=$CFLAGS
17148 CFLAGS="$CFLAGS -fno-strict-aliasing"
17149 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17150 /* end confdefs.h. */
17151 int main(int argc, char **argv) { return 0; }
17152 _ACEOF
17153 if ac_fn_c_try_link "$LINENO"; then :
17154 ac_cv_cflags__fno_strict_aliasing=yes
17155 else
17156 ac_cv_cflags__fno_strict_aliasing=no
17158 rm -f core conftest.err conftest.$ac_objext \
17159 conftest$ac_exeext conftest.$ac_ext
17160 CFLAGS=$ac_wine_try_cflags_saved
17162 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_strict_aliasing" >&5
17163 $as_echo "$ac_cv_cflags__fno_strict_aliasing" >&6; }
17164 if test "x$ac_cv_cflags__fno_strict_aliasing" = xyes; then :
17165 EXTRACFLAGS="$EXTRACFLAGS -fno-strict-aliasing"
17167 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wdeclaration-after-statement" >&5
17168 $as_echo_n "checking whether the compiler supports -Wdeclaration-after-statement... " >&6; }
17169 if ${ac_cv_cflags__Wdeclaration_after_statement+:} false; then :
17170 $as_echo_n "(cached) " >&6
17171 else
17172 ac_wine_try_cflags_saved=$CFLAGS
17173 CFLAGS="$CFLAGS -Wdeclaration-after-statement"
17174 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17175 /* end confdefs.h. */
17176 int main(int argc, char **argv) { return 0; }
17177 _ACEOF
17178 if ac_fn_c_try_link "$LINENO"; then :
17179 ac_cv_cflags__Wdeclaration_after_statement=yes
17180 else
17181 ac_cv_cflags__Wdeclaration_after_statement=no
17183 rm -f core conftest.err conftest.$ac_objext \
17184 conftest$ac_exeext conftest.$ac_ext
17185 CFLAGS=$ac_wine_try_cflags_saved
17187 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wdeclaration_after_statement" >&5
17188 $as_echo "$ac_cv_cflags__Wdeclaration_after_statement" >&6; }
17189 if test "x$ac_cv_cflags__Wdeclaration_after_statement" = xyes; then :
17190 EXTRACFLAGS="$EXTRACFLAGS -Wdeclaration-after-statement"
17192 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wempty-body" >&5
17193 $as_echo_n "checking whether the compiler supports -Wempty-body... " >&6; }
17194 if ${ac_cv_cflags__Wempty_body+:} false; then :
17195 $as_echo_n "(cached) " >&6
17196 else
17197 ac_wine_try_cflags_saved=$CFLAGS
17198 CFLAGS="$CFLAGS -Wempty-body"
17199 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17200 /* end confdefs.h. */
17201 int main(int argc, char **argv) { return 0; }
17202 _ACEOF
17203 if ac_fn_c_try_link "$LINENO"; then :
17204 ac_cv_cflags__Wempty_body=yes
17205 else
17206 ac_cv_cflags__Wempty_body=no
17208 rm -f core conftest.err conftest.$ac_objext \
17209 conftest$ac_exeext conftest.$ac_ext
17210 CFLAGS=$ac_wine_try_cflags_saved
17212 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wempty_body" >&5
17213 $as_echo "$ac_cv_cflags__Wempty_body" >&6; }
17214 if test "x$ac_cv_cflags__Wempty_body" = xyes; then :
17215 EXTRACFLAGS="$EXTRACFLAGS -Wempty-body"
17217 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wignored-qualifiers" >&5
17218 $as_echo_n "checking whether the compiler supports -Wignored-qualifiers... " >&6; }
17219 if ${ac_cv_cflags__Wignored_qualifiers+:} false; then :
17220 $as_echo_n "(cached) " >&6
17221 else
17222 ac_wine_try_cflags_saved=$CFLAGS
17223 CFLAGS="$CFLAGS -Wignored-qualifiers"
17224 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17225 /* end confdefs.h. */
17226 int main(int argc, char **argv) { return 0; }
17227 _ACEOF
17228 if ac_fn_c_try_link "$LINENO"; then :
17229 ac_cv_cflags__Wignored_qualifiers=yes
17230 else
17231 ac_cv_cflags__Wignored_qualifiers=no
17233 rm -f core conftest.err conftest.$ac_objext \
17234 conftest$ac_exeext conftest.$ac_ext
17235 CFLAGS=$ac_wine_try_cflags_saved
17237 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wignored_qualifiers" >&5
17238 $as_echo "$ac_cv_cflags__Wignored_qualifiers" >&6; }
17239 if test "x$ac_cv_cflags__Wignored_qualifiers" = xyes; then :
17240 EXTRACFLAGS="$EXTRACFLAGS -Wignored-qualifiers"
17242 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Winit-self" >&5
17243 $as_echo_n "checking whether the compiler supports -Winit-self... " >&6; }
17244 if ${ac_cv_cflags__Winit_self+:} false; then :
17245 $as_echo_n "(cached) " >&6
17246 else
17247 ac_wine_try_cflags_saved=$CFLAGS
17248 CFLAGS="$CFLAGS -Winit-self"
17249 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17250 /* end confdefs.h. */
17251 int main(int argc, char **argv) { return 0; }
17252 _ACEOF
17253 if ac_fn_c_try_link "$LINENO"; then :
17254 ac_cv_cflags__Winit_self=yes
17255 else
17256 ac_cv_cflags__Winit_self=no
17258 rm -f core conftest.err conftest.$ac_objext \
17259 conftest$ac_exeext conftest.$ac_ext
17260 CFLAGS=$ac_wine_try_cflags_saved
17262 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Winit_self" >&5
17263 $as_echo "$ac_cv_cflags__Winit_self" >&6; }
17264 if test "x$ac_cv_cflags__Winit_self" = xyes; then :
17265 EXTRACFLAGS="$EXTRACFLAGS -Winit-self"
17267 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpacked-not-aligned" >&5
17268 $as_echo_n "checking whether the compiler supports -Wpacked-not-aligned... " >&6; }
17269 if ${ac_cv_cflags__Wpacked_not_aligned+:} false; then :
17270 $as_echo_n "(cached) " >&6
17271 else
17272 ac_wine_try_cflags_saved=$CFLAGS
17273 CFLAGS="$CFLAGS -Wpacked-not-aligned"
17274 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17275 /* end confdefs.h. */
17276 int main(int argc, char **argv) { return 0; }
17277 _ACEOF
17278 if ac_fn_c_try_link "$LINENO"; then :
17279 ac_cv_cflags__Wpacked_not_aligned=yes
17280 else
17281 ac_cv_cflags__Wpacked_not_aligned=no
17283 rm -f core conftest.err conftest.$ac_objext \
17284 conftest$ac_exeext conftest.$ac_ext
17285 CFLAGS=$ac_wine_try_cflags_saved
17287 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpacked_not_aligned" >&5
17288 $as_echo "$ac_cv_cflags__Wpacked_not_aligned" >&6; }
17289 if test "x$ac_cv_cflags__Wpacked_not_aligned" = xyes; then :
17290 EXTRACFLAGS="$EXTRACFLAGS -Wno-packed-not-aligned"
17292 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpragma-pack" >&5
17293 $as_echo_n "checking whether the compiler supports -Wpragma-pack... " >&6; }
17294 if ${ac_cv_cflags__Wpragma_pack+:} false; then :
17295 $as_echo_n "(cached) " >&6
17296 else
17297 ac_wine_try_cflags_saved=$CFLAGS
17298 CFLAGS="$CFLAGS -Wpragma-pack"
17299 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17300 /* end confdefs.h. */
17301 int main(int argc, char **argv) { return 0; }
17302 _ACEOF
17303 if ac_fn_c_try_link "$LINENO"; then :
17304 ac_cv_cflags__Wpragma_pack=yes
17305 else
17306 ac_cv_cflags__Wpragma_pack=no
17308 rm -f core conftest.err conftest.$ac_objext \
17309 conftest$ac_exeext conftest.$ac_ext
17310 CFLAGS=$ac_wine_try_cflags_saved
17312 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpragma_pack" >&5
17313 $as_echo "$ac_cv_cflags__Wpragma_pack" >&6; }
17314 if test "x$ac_cv_cflags__Wpragma_pack" = xyes; then :
17315 EXTRACFLAGS="$EXTRACFLAGS -Wno-pragma-pack"
17317 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wshift-overflow=2" >&5
17318 $as_echo_n "checking whether the compiler supports -Wshift-overflow=2... " >&6; }
17319 if ${ac_cv_cflags__Wshift_overflow_2+:} false; then :
17320 $as_echo_n "(cached) " >&6
17321 else
17322 ac_wine_try_cflags_saved=$CFLAGS
17323 CFLAGS="$CFLAGS -Wshift-overflow=2"
17324 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17325 /* end confdefs.h. */
17326 int main(int argc, char **argv) { return 0; }
17327 _ACEOF
17328 if ac_fn_c_try_link "$LINENO"; then :
17329 ac_cv_cflags__Wshift_overflow_2=yes
17330 else
17331 ac_cv_cflags__Wshift_overflow_2=no
17333 rm -f core conftest.err conftest.$ac_objext \
17334 conftest$ac_exeext conftest.$ac_ext
17335 CFLAGS=$ac_wine_try_cflags_saved
17337 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wshift_overflow_2" >&5
17338 $as_echo "$ac_cv_cflags__Wshift_overflow_2" >&6; }
17339 if test "x$ac_cv_cflags__Wshift_overflow_2" = xyes; then :
17340 EXTRACFLAGS="$EXTRACFLAGS -Wshift-overflow=2"
17342 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wstrict-prototypes" >&5
17343 $as_echo_n "checking whether the compiler supports -Wstrict-prototypes... " >&6; }
17344 if ${ac_cv_cflags__Wstrict_prototypes+:} false; then :
17345 $as_echo_n "(cached) " >&6
17346 else
17347 ac_wine_try_cflags_saved=$CFLAGS
17348 CFLAGS="$CFLAGS -Wstrict-prototypes"
17349 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17350 /* end confdefs.h. */
17351 int main(int argc, char **argv) { return 0; }
17352 _ACEOF
17353 if ac_fn_c_try_link "$LINENO"; then :
17354 ac_cv_cflags__Wstrict_prototypes=yes
17355 else
17356 ac_cv_cflags__Wstrict_prototypes=no
17358 rm -f core conftest.err conftest.$ac_objext \
17359 conftest$ac_exeext conftest.$ac_ext
17360 CFLAGS=$ac_wine_try_cflags_saved
17362 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wstrict_prototypes" >&5
17363 $as_echo "$ac_cv_cflags__Wstrict_prototypes" >&6; }
17364 if test "x$ac_cv_cflags__Wstrict_prototypes" = xyes; then :
17365 EXTRACFLAGS="$EXTRACFLAGS -Wstrict-prototypes"
17367 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wtype-limits" >&5
17368 $as_echo_n "checking whether the compiler supports -Wtype-limits... " >&6; }
17369 if ${ac_cv_cflags__Wtype_limits+:} false; then :
17370 $as_echo_n "(cached) " >&6
17371 else
17372 ac_wine_try_cflags_saved=$CFLAGS
17373 CFLAGS="$CFLAGS -Wtype-limits"
17374 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17375 /* end confdefs.h. */
17376 int main(int argc, char **argv) { return 0; }
17377 _ACEOF
17378 if ac_fn_c_try_link "$LINENO"; then :
17379 ac_cv_cflags__Wtype_limits=yes
17380 else
17381 ac_cv_cflags__Wtype_limits=no
17383 rm -f core conftest.err conftest.$ac_objext \
17384 conftest$ac_exeext conftest.$ac_ext
17385 CFLAGS=$ac_wine_try_cflags_saved
17387 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wtype_limits" >&5
17388 $as_echo "$ac_cv_cflags__Wtype_limits" >&6; }
17389 if test "x$ac_cv_cflags__Wtype_limits" = xyes; then :
17390 EXTRACFLAGS="$EXTRACFLAGS -Wtype-limits"
17392 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wunused-but-set-parameter" >&5
17393 $as_echo_n "checking whether the compiler supports -Wunused-but-set-parameter... " >&6; }
17394 if ${ac_cv_cflags__Wunused_but_set_parameter+:} false; then :
17395 $as_echo_n "(cached) " >&6
17396 else
17397 ac_wine_try_cflags_saved=$CFLAGS
17398 CFLAGS="$CFLAGS -Wunused-but-set-parameter"
17399 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17400 /* end confdefs.h. */
17401 int main(int argc, char **argv) { return 0; }
17402 _ACEOF
17403 if ac_fn_c_try_link "$LINENO"; then :
17404 ac_cv_cflags__Wunused_but_set_parameter=yes
17405 else
17406 ac_cv_cflags__Wunused_but_set_parameter=no
17408 rm -f core conftest.err conftest.$ac_objext \
17409 conftest$ac_exeext conftest.$ac_ext
17410 CFLAGS=$ac_wine_try_cflags_saved
17412 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wunused_but_set_parameter" >&5
17413 $as_echo "$ac_cv_cflags__Wunused_but_set_parameter" >&6; }
17414 if test "x$ac_cv_cflags__Wunused_but_set_parameter" = xyes; then :
17415 EXTRACFLAGS="$EXTRACFLAGS -Wunused-but-set-parameter"
17417 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wvla" >&5
17418 $as_echo_n "checking whether the compiler supports -Wvla... " >&6; }
17419 if ${ac_cv_cflags__Wvla+:} false; then :
17420 $as_echo_n "(cached) " >&6
17421 else
17422 ac_wine_try_cflags_saved=$CFLAGS
17423 CFLAGS="$CFLAGS -Wvla"
17424 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17425 /* end confdefs.h. */
17426 int main(int argc, char **argv) { return 0; }
17427 _ACEOF
17428 if ac_fn_c_try_link "$LINENO"; then :
17429 ac_cv_cflags__Wvla=yes
17430 else
17431 ac_cv_cflags__Wvla=no
17433 rm -f core conftest.err conftest.$ac_objext \
17434 conftest$ac_exeext conftest.$ac_ext
17435 CFLAGS=$ac_wine_try_cflags_saved
17437 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wvla" >&5
17438 $as_echo "$ac_cv_cflags__Wvla" >&6; }
17439 if test "x$ac_cv_cflags__Wvla" = xyes; then :
17440 EXTRACFLAGS="$EXTRACFLAGS -Wvla"
17442 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wwrite-strings" >&5
17443 $as_echo_n "checking whether the compiler supports -Wwrite-strings... " >&6; }
17444 if ${ac_cv_cflags__Wwrite_strings+:} false; then :
17445 $as_echo_n "(cached) " >&6
17446 else
17447 ac_wine_try_cflags_saved=$CFLAGS
17448 CFLAGS="$CFLAGS -Wwrite-strings"
17449 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17450 /* end confdefs.h. */
17451 int main(int argc, char **argv) { return 0; }
17452 _ACEOF
17453 if ac_fn_c_try_link "$LINENO"; then :
17454 ac_cv_cflags__Wwrite_strings=yes
17455 else
17456 ac_cv_cflags__Wwrite_strings=no
17458 rm -f core conftest.err conftest.$ac_objext \
17459 conftest$ac_exeext conftest.$ac_ext
17460 CFLAGS=$ac_wine_try_cflags_saved
17462 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wwrite_strings" >&5
17463 $as_echo "$ac_cv_cflags__Wwrite_strings" >&6; }
17464 if test "x$ac_cv_cflags__Wwrite_strings" = xyes; then :
17465 EXTRACFLAGS="$EXTRACFLAGS -Wwrite-strings"
17468 if test -z "$CROSSTARGET"
17469 then
17470 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fexcess-precision=standard" >&5
17471 $as_echo_n "checking whether the compiler supports -fexcess-precision=standard... " >&6; }
17472 if ${ac_cv_cflags__fexcess_precision_standard+:} false; then :
17473 $as_echo_n "(cached) " >&6
17474 else
17475 ac_wine_try_cflags_saved=$CFLAGS
17476 CFLAGS="$CFLAGS -fexcess-precision=standard"
17477 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17478 /* end confdefs.h. */
17479 int main(int argc, char **argv) { return 0; }
17480 _ACEOF
17481 if ac_fn_c_try_link "$LINENO"; then :
17482 ac_cv_cflags__fexcess_precision_standard=yes
17483 else
17484 ac_cv_cflags__fexcess_precision_standard=no
17486 rm -f core conftest.err conftest.$ac_objext \
17487 conftest$ac_exeext conftest.$ac_ext
17488 CFLAGS=$ac_wine_try_cflags_saved
17490 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fexcess_precision_standard" >&5
17491 $as_echo "$ac_cv_cflags__fexcess_precision_standard" >&6; }
17492 if test "x$ac_cv_cflags__fexcess_precision_standard" = xyes; then :
17493 EXCESS_PRECISION_CFLAGS="-fexcess-precision=standard"
17498 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpointer-arith" >&5
17499 $as_echo_n "checking whether the compiler supports -Wpointer-arith... " >&6; }
17500 if ${ac_cv_cflags__Wpointer_arith+:} false; then :
17501 $as_echo_n "(cached) " >&6
17502 else
17503 ac_wine_try_cflags_saved=$CFLAGS
17504 CFLAGS="$CFLAGS -Wpointer-arith"
17505 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17506 /* end confdefs.h. */
17507 int main(int argc, char **argv) { return 0; }
17508 _ACEOF
17509 if ac_fn_c_try_link "$LINENO"; then :
17510 ac_cv_cflags__Wpointer_arith=yes
17511 else
17512 ac_cv_cflags__Wpointer_arith=no
17514 rm -f core conftest.err conftest.$ac_objext \
17515 conftest$ac_exeext conftest.$ac_ext
17516 CFLAGS=$ac_wine_try_cflags_saved
17518 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpointer_arith" >&5
17519 $as_echo "$ac_cv_cflags__Wpointer_arith" >&6; }
17520 if test "x$ac_cv_cflags__Wpointer_arith" = xyes; then :
17521 saved_string_h_CFLAGS=$CFLAGS
17522 CFLAGS="$CFLAGS -Wpointer-arith -Werror"
17523 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wpointer-arith" >&5
17524 $as_echo_n "checking for broken string.h that generates warnings with -Wpointer-arith... " >&6; }
17525 if ${ac_cv_c_string_h_warnings+:} false; then :
17526 $as_echo_n "(cached) " >&6
17527 else
17528 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17529 /* end confdefs.h. */
17530 #include <string.h>
17532 main ()
17536 return 0;
17538 _ACEOF
17539 if ac_fn_c_try_compile "$LINENO"; then :
17540 ac_cv_c_string_h_warnings=no
17541 else
17542 ac_cv_c_string_h_warnings=yes
17544 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17546 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_string_h_warnings" >&5
17547 $as_echo "$ac_cv_c_string_h_warnings" >&6; }
17548 test "$ac_cv_c_string_h_warnings" = yes || EXTRACFLAGS="$EXTRACFLAGS -Wpointer-arith"
17549 CFLAGS=$saved_string_h_CFLAGS
17552 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wlogical-op" >&5
17553 $as_echo_n "checking whether the compiler supports -Wlogical-op... " >&6; }
17554 if ${ac_cv_cflags__Wlogical_op+:} false; then :
17555 $as_echo_n "(cached) " >&6
17556 else
17557 ac_wine_try_cflags_saved=$CFLAGS
17558 CFLAGS="$CFLAGS -Wlogical-op"
17559 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17560 /* end confdefs.h. */
17561 int main(int argc, char **argv) { return 0; }
17562 _ACEOF
17563 if ac_fn_c_try_link "$LINENO"; then :
17564 ac_cv_cflags__Wlogical_op=yes
17565 else
17566 ac_cv_cflags__Wlogical_op=no
17568 rm -f core conftest.err conftest.$ac_objext \
17569 conftest$ac_exeext conftest.$ac_ext
17570 CFLAGS=$ac_wine_try_cflags_saved
17572 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wlogical_op" >&5
17573 $as_echo "$ac_cv_cflags__Wlogical_op" >&6; }
17574 if test "x$ac_cv_cflags__Wlogical_op" = xyes; then :
17575 saved_string_h_CFLAGS=$CFLAGS
17576 CFLAGS="$CFLAGS -Wlogical-op -Werror"
17577 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wlogical-op" >&5
17578 $as_echo_n "checking for broken string.h that generates warnings with -Wlogical-op... " >&6; }
17579 if ${ac_cv_c_logicalop_noisy+:} false; then :
17580 $as_echo_n "(cached) " >&6
17581 else
17582 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17583 /* end confdefs.h. */
17584 #include <string.h>
17585 char*f(const char *h,char n) {return strchr(h,n);}
17587 main ()
17591 return 0;
17593 _ACEOF
17594 if ac_fn_c_try_compile "$LINENO"; then :
17595 ac_cv_c_logicalop_noisy=no
17596 else
17597 ac_cv_c_logicalop_noisy=yes
17599 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17601 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_logicalop_noisy" >&5
17602 $as_echo "$ac_cv_c_logicalop_noisy" >&6; }
17603 CFLAGS=$saved_string_h_CFLAGS
17604 test "$ac_cv_c_logicalop_noisy" = yes || EXTRACFLAGS="$EXTRACFLAGS -Wlogical-op"
17607 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for flags needed for 64-bit compare-and-swap support" >&5
17608 $as_echo_n "checking for flags needed for 64-bit compare-and-swap support... " >&6; }
17609 if ${wine_cv_64bit_compare_swap+:} false; then :
17610 $as_echo_n "(cached) " >&6
17611 else
17612 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17613 /* end confdefs.h. */
17614 #ifndef __GCC_HAVE_SYNC_COMPARE_AND_SWAP_8
17615 #error no
17616 #endif
17618 main ()
17622 return 0;
17624 _ACEOF
17625 if ac_fn_c_try_compile "$LINENO"; then :
17626 wine_cv_64bit_compare_swap="none needed"
17627 else
17628 case $host_cpu in
17629 *i[3456]86*) wine_cv_64bit_compare_swap="-march=i586" ;;
17630 *arm*) wine_cv_64bit_compare_swap="-march=armv7-a" ;;
17631 *) wine_cv_64bit_compare_swap="unknown" ;;
17632 esac
17633 if test "x$wine_cv_64bit_compare_swap" != xunknown
17634 then
17635 CFLAGS="$CFLAGS $wine_cv_64bit_compare_swap"
17636 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17637 /* end confdefs.h. */
17638 #ifndef __GCC_HAVE_SYNC_COMPARE_AND_SWAP_8
17639 #error no
17640 #endif
17642 main ()
17646 return 0;
17648 _ACEOF
17649 if ac_fn_c_try_compile "$LINENO"; then :
17651 else
17652 wine_cv_64bit_compare_swap="unknown"
17654 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17655 CFLAGS=$saved_CFLAGS
17658 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17660 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_64bit_compare_swap" >&5
17661 $as_echo "$wine_cv_64bit_compare_swap" >&6; }
17662 case "$wine_cv_64bit_compare_swap" in
17663 unknown) as_fn_error $? "gcc doesn't support 64-bit compare-and-swap on this platform" "$LINENO" 5 ;;
17664 "none needed") ;;
17665 *) EXTRACFLAGS="$EXTRACFLAGS $wine_cv_64bit_compare_swap" ;;
17666 esac
17668 for ac_flag in $CFLAGS; do
17669 case $ac_flag in
17670 -g) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gdwarf-2" >&5
17671 $as_echo_n "checking whether the compiler supports -gdwarf-2... " >&6; }
17672 if ${ac_cv_cflags__gdwarf_2+:} false; then :
17673 $as_echo_n "(cached) " >&6
17674 else
17675 ac_wine_try_cflags_saved=$CFLAGS
17676 CFLAGS="$CFLAGS -gdwarf-2"
17677 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17678 /* end confdefs.h. */
17679 int main(int argc, char **argv) { return 0; }
17680 _ACEOF
17681 if ac_fn_c_try_link "$LINENO"; then :
17682 ac_cv_cflags__gdwarf_2=yes
17683 else
17684 ac_cv_cflags__gdwarf_2=no
17686 rm -f core conftest.err conftest.$ac_objext \
17687 conftest$ac_exeext conftest.$ac_ext
17688 CFLAGS=$ac_wine_try_cflags_saved
17690 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gdwarf_2" >&5
17691 $as_echo "$ac_cv_cflags__gdwarf_2" >&6; }
17692 if test "x$ac_cv_cflags__gdwarf_2" = xyes; then :
17693 EXTRACFLAGS="$EXTRACFLAGS -gdwarf-2"
17695 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gstrict-dwarf" >&5
17696 $as_echo_n "checking whether the compiler supports -gstrict-dwarf... " >&6; }
17697 if ${ac_cv_cflags__gstrict_dwarf+:} false; then :
17698 $as_echo_n "(cached) " >&6
17699 else
17700 ac_wine_try_cflags_saved=$CFLAGS
17701 CFLAGS="$CFLAGS -gstrict-dwarf"
17702 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17703 /* end confdefs.h. */
17704 int main(int argc, char **argv) { return 0; }
17705 _ACEOF
17706 if ac_fn_c_try_link "$LINENO"; then :
17707 ac_cv_cflags__gstrict_dwarf=yes
17708 else
17709 ac_cv_cflags__gstrict_dwarf=no
17711 rm -f core conftest.err conftest.$ac_objext \
17712 conftest$ac_exeext conftest.$ac_ext
17713 CFLAGS=$ac_wine_try_cflags_saved
17715 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gstrict_dwarf" >&5
17716 $as_echo "$ac_cv_cflags__gstrict_dwarf" >&6; }
17717 if test "x$ac_cv_cflags__gstrict_dwarf" = xyes; then :
17718 EXTRACFLAGS="$EXTRACFLAGS -gstrict-dwarf"
17719 fi ;;
17720 esac
17721 done
17723 MSVCRTFLAGS=""
17725 case $host_os in
17726 mingw32*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-delayload,autoconftest.dll" >&5
17727 $as_echo_n "checking whether the compiler supports -Wl,-delayload,autoconftest.dll... " >&6; }
17728 if ${ac_cv_cflags__Wl__delayload_autoconftest_dll+:} false; then :
17729 $as_echo_n "(cached) " >&6
17730 else
17731 ac_wine_try_cflags_saved=$CFLAGS
17732 CFLAGS="$CFLAGS -Wl,-delayload,autoconftest.dll"
17733 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17734 /* end confdefs.h. */
17735 int main(int argc, char **argv) { return 0; }
17736 _ACEOF
17737 if ac_fn_c_try_link "$LINENO"; then :
17738 ac_cv_cflags__Wl__delayload_autoconftest_dll=yes
17739 else
17740 ac_cv_cflags__Wl__delayload_autoconftest_dll=no
17742 rm -f core conftest.err conftest.$ac_objext \
17743 conftest$ac_exeext conftest.$ac_ext
17744 CFLAGS=$ac_wine_try_cflags_saved
17746 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__delayload_autoconftest_dll" >&5
17747 $as_echo "$ac_cv_cflags__Wl__delayload_autoconftest_dll" >&6; }
17748 if test "x$ac_cv_cflags__Wl__delayload_autoconftest_dll" = xyes; then :
17749 DELAYLOADFLAG="-Wl,-delayload,"
17751 fi ;;
17752 *) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-builtin" >&5
17753 $as_echo_n "checking whether the compiler supports -fno-builtin... " >&6; }
17754 if ${ac_cv_cflags__fno_builtin+:} false; then :
17755 $as_echo_n "(cached) " >&6
17756 else
17757 ac_wine_try_cflags_saved=$CFLAGS
17758 CFLAGS="$CFLAGS -fno-builtin"
17759 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17760 /* end confdefs.h. */
17761 int main(int argc, char **argv) { return 0; }
17762 _ACEOF
17763 if ac_fn_c_try_link "$LINENO"; then :
17764 ac_cv_cflags__fno_builtin=yes
17765 else
17766 ac_cv_cflags__fno_builtin=no
17768 rm -f core conftest.err conftest.$ac_objext \
17769 conftest$ac_exeext conftest.$ac_ext
17770 CFLAGS=$ac_wine_try_cflags_saved
17772 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_builtin" >&5
17773 $as_echo "$ac_cv_cflags__fno_builtin" >&6; }
17774 if test "x$ac_cv_cflags__fno_builtin" = xyes; then :
17775 MSVCRTFLAGS="$MSVCRTFLAGS -fno-builtin"
17777 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fshort-wchar" >&5
17778 $as_echo_n "checking whether the compiler supports -fshort-wchar... " >&6; }
17779 if ${ac_cv_cflags__fshort_wchar+:} false; then :
17780 $as_echo_n "(cached) " >&6
17781 else
17782 ac_wine_try_cflags_saved=$CFLAGS
17783 CFLAGS="$CFLAGS -fshort-wchar"
17784 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17785 /* end confdefs.h. */
17786 int main(int argc, char **argv) { return 0; }
17787 _ACEOF
17788 if ac_fn_c_try_link "$LINENO"; then :
17789 ac_cv_cflags__fshort_wchar=yes
17790 else
17791 ac_cv_cflags__fshort_wchar=no
17793 rm -f core conftest.err conftest.$ac_objext \
17794 conftest$ac_exeext conftest.$ac_ext
17795 CFLAGS=$ac_wine_try_cflags_saved
17797 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fshort_wchar" >&5
17798 $as_echo "$ac_cv_cflags__fshort_wchar" >&6; }
17799 if test "x$ac_cv_cflags__fshort_wchar" = xyes; then :
17800 MSVCRTFLAGS="$MSVCRTFLAGS -fshort-wchar"
17801 fi ;;
17802 esac
17804 case $host_cpu in
17805 *i[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-omit-frame-pointer" >&5
17806 $as_echo_n "checking whether the compiler supports -fno-omit-frame-pointer... " >&6; }
17807 if ${ac_cv_cflags__fno_omit_frame_pointer+:} false; then :
17808 $as_echo_n "(cached) " >&6
17809 else
17810 ac_wine_try_cflags_saved=$CFLAGS
17811 CFLAGS="$CFLAGS -fno-omit-frame-pointer"
17812 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17813 /* end confdefs.h. */
17814 int main(int argc, char **argv) { return 0; }
17815 _ACEOF
17816 if ac_fn_c_try_link "$LINENO"; then :
17817 ac_cv_cflags__fno_omit_frame_pointer=yes
17818 else
17819 ac_cv_cflags__fno_omit_frame_pointer=no
17821 rm -f core conftest.err conftest.$ac_objext \
17822 conftest$ac_exeext conftest.$ac_ext
17823 CFLAGS=$ac_wine_try_cflags_saved
17825 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_omit_frame_pointer" >&5
17826 $as_echo "$ac_cv_cflags__fno_omit_frame_pointer" >&6; }
17827 if test "x$ac_cv_cflags__fno_omit_frame_pointer" = xyes; then :
17828 EXTRACFLAGS="$EXTRACFLAGS -fno-omit-frame-pointer"
17829 fi ;;
17830 *x86_64*)
17831 case $host_os in
17832 cygwin*|mingw32*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wno-format" >&5
17833 $as_echo_n "checking whether the compiler supports -Wno-format... " >&6; }
17834 if ${ac_cv_cflags__Wno_format+:} false; then :
17835 $as_echo_n "(cached) " >&6
17836 else
17837 ac_wine_try_cflags_saved=$CFLAGS
17838 CFLAGS="$CFLAGS -Wno-format"
17839 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17840 /* end confdefs.h. */
17841 int main(int argc, char **argv) { return 0; }
17842 _ACEOF
17843 if ac_fn_c_try_link "$LINENO"; then :
17844 ac_cv_cflags__Wno_format=yes
17845 else
17846 ac_cv_cflags__Wno_format=no
17848 rm -f core conftest.err conftest.$ac_objext \
17849 conftest$ac_exeext conftest.$ac_ext
17850 CFLAGS=$ac_wine_try_cflags_saved
17852 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wno_format" >&5
17853 $as_echo "$ac_cv_cflags__Wno_format" >&6; }
17854 if test "x$ac_cv_cflags__Wno_format" = xyes; then :
17855 EXTRACFLAGS="$EXTRACFLAGS -Wno-format"
17856 fi ;;
17857 *) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -mabi=ms" >&5
17858 $as_echo_n "checking whether the compiler supports -mabi=ms... " >&6; }
17859 if ${ac_cv_cflags__mabi_ms+:} false; then :
17860 $as_echo_n "(cached) " >&6
17861 else
17862 ac_wine_try_cflags_saved=$CFLAGS
17863 CFLAGS="$CFLAGS -mabi=ms"
17864 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17865 /* end confdefs.h. */
17866 int main(int argc, char **argv) { return 0; }
17867 _ACEOF
17868 if ac_fn_c_try_link "$LINENO"; then :
17869 ac_cv_cflags__mabi_ms=yes
17870 else
17871 ac_cv_cflags__mabi_ms=no
17873 rm -f core conftest.err conftest.$ac_objext \
17874 conftest$ac_exeext conftest.$ac_ext
17875 CFLAGS=$ac_wine_try_cflags_saved
17877 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__mabi_ms" >&5
17878 $as_echo "$ac_cv_cflags__mabi_ms" >&6; }
17879 if test "x$ac_cv_cflags__mabi_ms" = xyes; then :
17880 MSVCRTFLAGS="$MSVCRTFLAGS -mabi=ms"
17881 fi ;;
17882 esac ;;
17883 esac
17885 CFLAGS=$saved_CFLAGS
17887 if test "x$enable_werror" = "xyes"
17888 then
17889 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror" >&5
17890 $as_echo_n "checking whether the compiler supports -Werror... " >&6; }
17891 if ${ac_cv_cflags__Werror+:} false; then :
17892 $as_echo_n "(cached) " >&6
17893 else
17894 ac_wine_try_cflags_saved=$CFLAGS
17895 CFLAGS="$CFLAGS -Werror"
17896 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17897 /* end confdefs.h. */
17898 int main(int argc, char **argv) { return 0; }
17899 _ACEOF
17900 if ac_fn_c_try_link "$LINENO"; then :
17901 ac_cv_cflags__Werror=yes
17902 else
17903 ac_cv_cflags__Werror=no
17905 rm -f core conftest.err conftest.$ac_objext \
17906 conftest$ac_exeext conftest.$ac_ext
17907 CFLAGS=$ac_wine_try_cflags_saved
17909 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror" >&5
17910 $as_echo "$ac_cv_cflags__Werror" >&6; }
17911 if test "x$ac_cv_cflags__Werror" = xyes; then :
17912 EXTRACFLAGS="$EXTRACFLAGS -Werror"
17915 if test "x$enable_build_id" = "xyes"
17916 then
17917 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--build-id" >&5
17918 $as_echo_n "checking whether the compiler supports -Wl,--build-id... " >&6; }
17919 if ${ac_cv_cflags__Wl___build_id+:} false; then :
17920 $as_echo_n "(cached) " >&6
17921 else
17922 ac_wine_try_cflags_saved=$CFLAGS
17923 CFLAGS="$CFLAGS -Wl,--build-id"
17924 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17925 /* end confdefs.h. */
17926 int main(int argc, char **argv) { return 0; }
17927 _ACEOF
17928 if ac_fn_c_try_link "$LINENO"; then :
17929 ac_cv_cflags__Wl___build_id=yes
17930 else
17931 ac_cv_cflags__Wl___build_id=no
17933 rm -f core conftest.err conftest.$ac_objext \
17934 conftest$ac_exeext conftest.$ac_ext
17935 CFLAGS=$ac_wine_try_cflags_saved
17937 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___build_id" >&5
17938 $as_echo "$ac_cv_cflags__Wl___build_id" >&6; }
17939 if test "x$ac_cv_cflags__Wl___build_id" = xyes; then :
17940 CFLAGS="$CFLAGS -Wl,--build-id"
17941 LDFLAGS="$LDFLAGS -Wl,--build-id"
17947 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the need to disable Fortify" >&5
17948 $as_echo_n "checking for the need to disable Fortify... " >&6; }
17949 if ${ac_cv_c_fortify_enabled+:} false; then :
17950 $as_echo_n "(cached) " >&6
17951 else
17952 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17953 /* end confdefs.h. */
17954 #include <string.h>
17956 main ()
17958 #if (defined(__USE_FORTIFY_LEVEL) && __USE_FORTIFY_LEVEL > 0) || (defined(_FORTIFY_SOURCE) && _FORTIFY_SOURCE > 0)
17959 #error Fortify enabled
17960 #endif
17962 return 0;
17964 _ACEOF
17965 if ac_fn_c_try_compile "$LINENO"; then :
17966 ac_cv_c_fortify_enabled=no
17967 else
17968 ac_cv_c_fortify_enabled=yes
17970 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17972 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_fortify_enabled" >&5
17973 $as_echo "$ac_cv_c_fortify_enabled" >&6; }
17974 if test "$ac_cv_c_fortify_enabled" = yes
17975 then
17976 CFLAGS="$CFLAGS -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=0"
17980 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether CFI directives are supported in assembly code" >&5
17981 $as_echo_n "checking whether CFI directives are supported in assembly code... " >&6; }
17982 if ${ac_cv_c_cfi_support+:} false; then :
17983 $as_echo_n "(cached) " >&6
17984 else
17985 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17986 /* end confdefs.h. */
17987 asm(".text\nac_test:\t.cfi_startproc\n\t.long 0\n\t.cfi_endproc");
17989 main ()
17993 return 0;
17995 _ACEOF
17996 if ac_fn_c_try_compile "$LINENO"; then :
17997 ac_cv_c_cfi_support="yes"
17998 else
17999 ac_cv_c_cfi_support="no"
18001 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18003 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_cfi_support" >&5
18004 $as_echo "$ac_cv_c_cfi_support" >&6; }
18005 if test "$ac_cv_c_cfi_support" = "yes"
18006 then
18007 DLLFLAGS="$DLLFLAGS -fasynchronous-unwind-tables"
18008 LDDLLFLAGS="$LDDLLFLAGS -fasynchronous-unwind-tables"
18009 else
18010 if test "x$enable_win64" = "xyes"
18011 then
18012 as_fn_append wine_warnings "|building 64-bit Wine without support for CFI directives; exception handling will not work properly."
18017 case $build_os in
18018 cygwin*|mingw32*) TOOLSEXT=".exe"
18020 esac
18022 case $host_os in
18023 linux*)
18024 case $host_cpu in
18025 *i[3456789]86*|x86_64*|*aarch64*)
18026 test "$wine_binary" = wine || wine_fn_append_file CONFIGURE_TARGETS "loader/wine-preloader"
18027 WINELOADER_PROGRAMS="$WINELOADER_PROGRAMS $wine_binary-preloader"
18029 esac
18031 esac
18034 ac_save_CFLAGS="$CFLAGS"
18035 CFLAGS="$CFLAGS $BUILTINFLAG"
18036 for ac_func in \
18037 __res_get_state \
18038 __res_getservers \
18039 _spawnvp \
18040 epoll_create \
18041 fnmatch \
18042 fork \
18043 fstatfs \
18044 futimens \
18045 futimes \
18046 futimesat \
18047 getattrlist \
18048 getauxval \
18049 getifaddrs \
18050 getopt_long_only \
18051 getrandom \
18052 kqueue \
18053 lstat \
18054 mach_continuous_time \
18055 pipe2 \
18056 poll \
18057 port_create \
18058 prctl \
18059 pread \
18060 proc_pidinfo \
18061 pwrite \
18062 readlink \
18063 sched_yield \
18064 setproctitle \
18065 setprogname \
18066 sigprocmask \
18067 symlink \
18068 tcdrain \
18069 thr_kill2
18071 do :
18072 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
18073 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
18074 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
18075 cat >>confdefs.h <<_ACEOF
18076 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
18077 _ACEOF
18080 done
18082 CFLAGS="$ac_save_CFLAGS"
18084 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing dlopen" >&5
18085 $as_echo_n "checking for library containing dlopen... " >&6; }
18086 if ${ac_cv_search_dlopen+:} false; then :
18087 $as_echo_n "(cached) " >&6
18088 else
18089 ac_func_search_save_LIBS=$LIBS
18090 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18091 /* end confdefs.h. */
18093 /* Override any GCC internal prototype to avoid an error.
18094 Use char because int might match the return type of a GCC
18095 builtin and then its argument prototype would still apply. */
18096 #ifdef __cplusplus
18097 extern "C"
18098 #endif
18099 char dlopen ();
18101 main ()
18103 return dlopen ();
18105 return 0;
18107 _ACEOF
18108 for ac_lib in '' dl; do
18109 if test -z "$ac_lib"; then
18110 ac_res="none required"
18111 else
18112 ac_res=-l$ac_lib
18113 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
18115 if ac_fn_c_try_link "$LINENO"; then :
18116 ac_cv_search_dlopen=$ac_res
18118 rm -f core conftest.err conftest.$ac_objext \
18119 conftest$ac_exeext
18120 if ${ac_cv_search_dlopen+:} false; then :
18121 break
18123 done
18124 if ${ac_cv_search_dlopen+:} false; then :
18126 else
18127 ac_cv_search_dlopen=no
18129 rm conftest.$ac_ext
18130 LIBS=$ac_func_search_save_LIBS
18132 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_dlopen" >&5
18133 $as_echo "$ac_cv_search_dlopen" >&6; }
18134 ac_res=$ac_cv_search_dlopen
18135 if test "$ac_res" != no; then :
18136 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
18140 ac_wine_check_funcs_save_LIBS="$LIBS"
18141 LIBS="$LIBS $DL_LIBS"
18142 for ac_func in dladdr dlinfo
18143 do :
18144 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
18145 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
18146 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
18147 cat >>confdefs.h <<_ACEOF
18148 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
18149 _ACEOF
18152 done
18154 LIBS="$ac_wine_check_funcs_save_LIBS"
18156 if test "$ac_cv_func_poll" = no
18157 then
18158 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for poll in -lpoll" >&5
18159 $as_echo_n "checking for poll in -lpoll... " >&6; }
18160 if ${ac_cv_lib_poll_poll+:} false; then :
18161 $as_echo_n "(cached) " >&6
18162 else
18163 ac_check_lib_save_LIBS=$LIBS
18164 LIBS="-lpoll $LIBS"
18165 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18166 /* end confdefs.h. */
18168 /* Override any GCC internal prototype to avoid an error.
18169 Use char because int might match the return type of a GCC
18170 builtin and then its argument prototype would still apply. */
18171 #ifdef __cplusplus
18172 extern "C"
18173 #endif
18174 char poll ();
18176 main ()
18178 return poll ();
18180 return 0;
18182 _ACEOF
18183 if ac_fn_c_try_link "$LINENO"; then :
18184 ac_cv_lib_poll_poll=yes
18185 else
18186 ac_cv_lib_poll_poll=no
18188 rm -f core conftest.err conftest.$ac_objext \
18189 conftest$ac_exeext conftest.$ac_ext
18190 LIBS=$ac_check_lib_save_LIBS
18192 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_poll_poll" >&5
18193 $as_echo "$ac_cv_lib_poll_poll" >&6; }
18194 if test "x$ac_cv_lib_poll_poll" = xyes; then :
18195 $as_echo "#define HAVE_POLL 1" >>confdefs.h
18196 POLL_LIBS="-lpoll"
18202 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing gethostbyname" >&5
18203 $as_echo_n "checking for library containing gethostbyname... " >&6; }
18204 if ${ac_cv_search_gethostbyname+:} false; then :
18205 $as_echo_n "(cached) " >&6
18206 else
18207 ac_func_search_save_LIBS=$LIBS
18208 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18209 /* end confdefs.h. */
18211 /* Override any GCC internal prototype to avoid an error.
18212 Use char because int might match the return type of a GCC
18213 builtin and then its argument prototype would still apply. */
18214 #ifdef __cplusplus
18215 extern "C"
18216 #endif
18217 char gethostbyname ();
18219 main ()
18221 return gethostbyname ();
18223 return 0;
18225 _ACEOF
18226 for ac_lib in '' nsl; do
18227 if test -z "$ac_lib"; then
18228 ac_res="none required"
18229 else
18230 ac_res=-l$ac_lib
18231 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
18233 if ac_fn_c_try_link "$LINENO"; then :
18234 ac_cv_search_gethostbyname=$ac_res
18236 rm -f core conftest.err conftest.$ac_objext \
18237 conftest$ac_exeext
18238 if ${ac_cv_search_gethostbyname+:} false; then :
18239 break
18241 done
18242 if ${ac_cv_search_gethostbyname+:} false; then :
18244 else
18245 ac_cv_search_gethostbyname=no
18247 rm conftest.$ac_ext
18248 LIBS=$ac_func_search_save_LIBS
18250 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gethostbyname" >&5
18251 $as_echo "$ac_cv_search_gethostbyname" >&6; }
18252 ac_res=$ac_cv_search_gethostbyname
18253 if test "$ac_res" != no; then :
18254 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
18259 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing connect" >&5
18260 $as_echo_n "checking for library containing connect... " >&6; }
18261 if ${ac_cv_search_connect+:} false; then :
18262 $as_echo_n "(cached) " >&6
18263 else
18264 ac_func_search_save_LIBS=$LIBS
18265 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18266 /* end confdefs.h. */
18268 /* Override any GCC internal prototype to avoid an error.
18269 Use char because int might match the return type of a GCC
18270 builtin and then its argument prototype would still apply. */
18271 #ifdef __cplusplus
18272 extern "C"
18273 #endif
18274 char connect ();
18276 main ()
18278 return connect ();
18280 return 0;
18282 _ACEOF
18283 for ac_lib in '' socket; do
18284 if test -z "$ac_lib"; then
18285 ac_res="none required"
18286 else
18287 ac_res=-l$ac_lib
18288 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
18290 if ac_fn_c_try_link "$LINENO"; then :
18291 ac_cv_search_connect=$ac_res
18293 rm -f core conftest.err conftest.$ac_objext \
18294 conftest$ac_exeext
18295 if ${ac_cv_search_connect+:} false; then :
18296 break
18298 done
18299 if ${ac_cv_search_connect+:} false; then :
18301 else
18302 ac_cv_search_connect=no
18304 rm conftest.$ac_ext
18305 LIBS=$ac_func_search_save_LIBS
18307 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_connect" >&5
18308 $as_echo "$ac_cv_search_connect" >&6; }
18309 ac_res=$ac_cv_search_connect
18310 if test "$ac_res" != no; then :
18311 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
18316 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing inet_aton" >&5
18317 $as_echo_n "checking for library containing inet_aton... " >&6; }
18318 if ${ac_cv_search_inet_aton+:} false; then :
18319 $as_echo_n "(cached) " >&6
18320 else
18321 ac_func_search_save_LIBS=$LIBS
18322 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18323 /* end confdefs.h. */
18325 /* Override any GCC internal prototype to avoid an error.
18326 Use char because int might match the return type of a GCC
18327 builtin and then its argument prototype would still apply. */
18328 #ifdef __cplusplus
18329 extern "C"
18330 #endif
18331 char inet_aton ();
18333 main ()
18335 return inet_aton ();
18337 return 0;
18339 _ACEOF
18340 for ac_lib in '' resolv; do
18341 if test -z "$ac_lib"; then
18342 ac_res="none required"
18343 else
18344 ac_res=-l$ac_lib
18345 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
18347 if ac_fn_c_try_link "$LINENO"; then :
18348 ac_cv_search_inet_aton=$ac_res
18350 rm -f core conftest.err conftest.$ac_objext \
18351 conftest$ac_exeext
18352 if ${ac_cv_search_inet_aton+:} false; then :
18353 break
18355 done
18356 if ${ac_cv_search_inet_aton+:} false; then :
18358 else
18359 ac_cv_search_inet_aton=no
18361 rm conftest.$ac_ext
18362 LIBS=$ac_func_search_save_LIBS
18364 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_inet_aton" >&5
18365 $as_echo "$ac_cv_search_inet_aton" >&6; }
18366 ac_res=$ac_cv_search_inet_aton
18367 if test "$ac_res" != no; then :
18368 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
18373 for ac_func in \
18374 getaddrinfo \
18375 getnameinfo \
18376 getservbyport \
18378 do :
18379 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
18380 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
18381 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
18382 cat >>confdefs.h <<_ACEOF
18383 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
18384 _ACEOF
18387 done
18390 case $host_os in
18391 darwin*|macosx*) ;;
18392 *) ac_save_LIBS=$LIBS
18393 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
18394 $as_echo_n "checking for library containing clock_gettime... " >&6; }
18395 if ${ac_cv_search_clock_gettime+:} false; then :
18396 $as_echo_n "(cached) " >&6
18397 else
18398 ac_func_search_save_LIBS=$LIBS
18399 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18400 /* end confdefs.h. */
18402 /* Override any GCC internal prototype to avoid an error.
18403 Use char because int might match the return type of a GCC
18404 builtin and then its argument prototype would still apply. */
18405 #ifdef __cplusplus
18406 extern "C"
18407 #endif
18408 char clock_gettime ();
18410 main ()
18412 return clock_gettime ();
18414 return 0;
18416 _ACEOF
18417 for ac_lib in '' rt; do
18418 if test -z "$ac_lib"; then
18419 ac_res="none required"
18420 else
18421 ac_res=-l$ac_lib
18422 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
18424 if ac_fn_c_try_link "$LINENO"; then :
18425 ac_cv_search_clock_gettime=$ac_res
18427 rm -f core conftest.err conftest.$ac_objext \
18428 conftest$ac_exeext
18429 if ${ac_cv_search_clock_gettime+:} false; then :
18430 break
18432 done
18433 if ${ac_cv_search_clock_gettime+:} false; then :
18435 else
18436 ac_cv_search_clock_gettime=no
18438 rm conftest.$ac_ext
18439 LIBS=$ac_func_search_save_LIBS
18441 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
18442 $as_echo "$ac_cv_search_clock_gettime" >&6; }
18443 ac_res=$ac_cv_search_clock_gettime
18444 if test "$ac_res" != no; then :
18445 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
18447 $as_echo "#define HAVE_CLOCK_GETTIME 1" >>confdefs.h
18449 test "$ac_res" = "none required" || RT_LIBS="$ac_res"
18453 LIBS=$ac_save_LIBS
18455 esac
18457 if test "x$with_ldap" != "xno"
18458 then
18459 if ${LDAP_CFLAGS:+false} :; then :
18460 if ${PKG_CONFIG+:} false; then :
18461 LDAP_CFLAGS=`$PKG_CONFIG --cflags openldap 2>/dev/null`
18465 if ${LDAP_LIBS:+false} :; then :
18466 if ${PKG_CONFIG+:} false; then :
18467 LDAP_LIBS=`$PKG_CONFIG --libs openldap 2>/dev/null`
18471 LDAP_LIBS=${LDAP_LIBS:-"-lldap_r -llber"}
18472 $as_echo "$as_me:${as_lineno-$LINENO}: openldap cflags: $LDAP_CFLAGS" >&5
18473 $as_echo "$as_me:${as_lineno-$LINENO}: openldap libs: $LDAP_LIBS" >&5
18474 ac_save_CPPFLAGS=$CPPFLAGS
18475 CPPFLAGS="$CPPFLAGS $LDAP_CFLAGS"
18476 for ac_header in ldap.h lber.h
18477 do :
18478 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
18479 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
18480 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
18481 cat >>confdefs.h <<_ACEOF
18482 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
18483 _ACEOF
18487 done
18489 if test "$ac_cv_header_ldap_h" = "yes" -a "$ac_cv_header_lber_h" = "yes"
18490 then
18491 ac_fn_c_check_type "$LINENO" "LDAPSortKey" "ac_cv_type_LDAPSortKey" "#include <ldap.h>
18493 if test "x$ac_cv_type_LDAPSortKey" = xyes; then :
18494 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldap_initialize in -lldap_r" >&5
18495 $as_echo_n "checking for ldap_initialize in -lldap_r... " >&6; }
18496 if ${ac_cv_lib_ldap_r_ldap_initialize+:} false; then :
18497 $as_echo_n "(cached) " >&6
18498 else
18499 ac_check_lib_save_LIBS=$LIBS
18500 LIBS="-lldap_r $PTHREAD_LIBS $LDAP_LIBS $LIBS"
18501 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18502 /* end confdefs.h. */
18504 /* Override any GCC internal prototype to avoid an error.
18505 Use char because int might match the return type of a GCC
18506 builtin and then its argument prototype would still apply. */
18507 #ifdef __cplusplus
18508 extern "C"
18509 #endif
18510 char ldap_initialize ();
18512 main ()
18514 return ldap_initialize ();
18516 return 0;
18518 _ACEOF
18519 if ac_fn_c_try_link "$LINENO"; then :
18520 ac_cv_lib_ldap_r_ldap_initialize=yes
18521 else
18522 ac_cv_lib_ldap_r_ldap_initialize=no
18524 rm -f core conftest.err conftest.$ac_objext \
18525 conftest$ac_exeext conftest.$ac_ext
18526 LIBS=$ac_check_lib_save_LIBS
18528 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ldap_r_ldap_initialize" >&5
18529 $as_echo "$ac_cv_lib_ldap_r_ldap_initialize" >&6; }
18530 if test "x$ac_cv_lib_ldap_r_ldap_initialize" = xyes; then :
18531 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ber_init in -llber" >&5
18532 $as_echo_n "checking for ber_init in -llber... " >&6; }
18533 if ${ac_cv_lib_lber_ber_init+:} false; then :
18534 $as_echo_n "(cached) " >&6
18535 else
18536 ac_check_lib_save_LIBS=$LIBS
18537 LIBS="-llber $PTHREAD_LIBS $LDAP_LIBS $LIBS"
18538 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18539 /* end confdefs.h. */
18541 /* Override any GCC internal prototype to avoid an error.
18542 Use char because int might match the return type of a GCC
18543 builtin and then its argument prototype would still apply. */
18544 #ifdef __cplusplus
18545 extern "C"
18546 #endif
18547 char ber_init ();
18549 main ()
18551 return ber_init ();
18553 return 0;
18555 _ACEOF
18556 if ac_fn_c_try_link "$LINENO"; then :
18557 ac_cv_lib_lber_ber_init=yes
18558 else
18559 ac_cv_lib_lber_ber_init=no
18561 rm -f core conftest.err conftest.$ac_objext \
18562 conftest$ac_exeext conftest.$ac_ext
18563 LIBS=$ac_check_lib_save_LIBS
18565 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lber_ber_init" >&5
18566 $as_echo "$ac_cv_lib_lber_ber_init" >&6; }
18567 if test "x$ac_cv_lib_lber_ber_init" = xyes; then :
18569 $as_echo "#define HAVE_LDAP 1" >>confdefs.h
18571 else
18572 LDAP_LIBS=""
18575 else
18576 LDAP_LIBS=""
18579 else
18580 LDAP_LIBS=""
18583 ac_wine_check_funcs_save_LIBS="$LIBS"
18584 LIBS="$LIBS $LDAP_LIBS $PTHREAD_LIBS"
18585 for ac_func in \
18586 ldap_count_references \
18587 ldap_first_reference \
18588 ldap_next_reference \
18589 ldap_parse_reference \
18590 ldap_parse_sort_control \
18591 ldap_parse_sortresponse_control \
18592 ldap_parse_vlv_control \
18593 ldap_parse_vlvresponse_control
18594 do :
18595 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
18596 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
18597 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
18598 cat >>confdefs.h <<_ACEOF
18599 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
18600 _ACEOF
18603 done
18605 LIBS="$ac_wine_check_funcs_save_LIBS"
18606 else
18607 LDAP_LIBS=""
18609 CPPFLAGS=$ac_save_CPPFLAGS
18612 if test "x$LDAP_LIBS" = "x"; then :
18613 case "x$with_ldap" in
18614 x) as_fn_append wine_notices "|libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported." ;;
18615 xno) ;;
18616 *) as_fn_error $? "libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported.
18617 This is an error since --with-ldap was requested." "$LINENO" 5 ;;
18618 esac
18622 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sched_setaffinity" >&5
18623 $as_echo_n "checking for sched_setaffinity... " >&6; }
18624 if ${wine_cv_have_sched_setaffinity+:} false; then :
18625 $as_echo_n "(cached) " >&6
18626 else
18627 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18628 /* end confdefs.h. */
18629 #define _GNU_SOURCE
18630 #include <sched.h>
18632 main ()
18634 sched_setaffinity(0, 0, 0);
18636 return 0;
18638 _ACEOF
18639 if ac_fn_c_try_link "$LINENO"; then :
18640 wine_cv_have_sched_setaffinity=yes
18641 else
18642 wine_cv_have_sched_setaffinity=no
18644 rm -f core conftest.err conftest.$ac_objext \
18645 conftest$ac_exeext conftest.$ac_ext
18647 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sched_setaffinity" >&5
18648 $as_echo "$wine_cv_have_sched_setaffinity" >&6; }
18649 if test "$wine_cv_have_sched_setaffinity" = "yes"
18650 then
18652 $as_echo "#define HAVE_SCHED_SETAFFINITY 1" >>confdefs.h
18656 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fallocate" >&5
18657 $as_echo_n "checking for fallocate... " >&6; }
18658 if ${wine_cv_have_fallocate+:} false; then :
18659 $as_echo_n "(cached) " >&6
18660 else
18661 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18662 /* end confdefs.h. */
18663 #define _GNU_SOURCE
18664 #include <fcntl.h>
18666 main ()
18668 fallocate(-1, 0, 0, 0);
18670 return 0;
18672 _ACEOF
18673 if ac_fn_c_try_link "$LINENO"; then :
18674 wine_cv_have_fallocate=yes
18675 else
18676 wine_cv_have_fallocate=no
18678 rm -f core conftest.err conftest.$ac_objext \
18679 conftest$ac_exeext conftest.$ac_ext
18681 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_fallocate" >&5
18682 $as_echo "$wine_cv_have_fallocate" >&6; }
18683 if test "$wine_cv_have_fallocate" = "yes"
18684 then
18686 $as_echo "#define HAVE_FALLOCATE 1" >>confdefs.h
18691 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
18692 $as_echo_n "checking for inline... " >&6; }
18693 if ${ac_cv_c_inline+:} false; then :
18694 $as_echo_n "(cached) " >&6
18695 else
18696 ac_cv_c_inline=no
18697 for ac_kw in inline __inline__ __inline; do
18698 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18699 /* end confdefs.h. */
18700 #ifndef __cplusplus
18701 typedef int foo_t;
18702 static $ac_kw foo_t static_foo () {return 0; }
18703 $ac_kw foo_t foo () {return 0; }
18704 #endif
18706 _ACEOF
18707 if ac_fn_c_try_compile "$LINENO"; then :
18708 ac_cv_c_inline=$ac_kw
18710 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18711 test "$ac_cv_c_inline" != no && break
18712 done
18715 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
18716 $as_echo "$ac_cv_c_inline" >&6; }
18718 case $ac_cv_c_inline in
18719 inline | yes) ;;
18721 case $ac_cv_c_inline in
18722 no) ac_val=;;
18723 *) ac_val=$ac_cv_c_inline;;
18724 esac
18725 cat >>confdefs.h <<_ACEOF
18726 #ifndef __cplusplus
18727 #define inline $ac_val
18728 #endif
18729 _ACEOF
18731 esac
18733 ac_fn_c_check_type "$LINENO" "sigset_t" "ac_cv_type_sigset_t" "#include <sys/types.h>
18734 #include <signal.h>
18736 if test "x$ac_cv_type_sigset_t" = xyes; then :
18738 cat >>confdefs.h <<_ACEOF
18739 #define HAVE_SIGSET_T 1
18740 _ACEOF
18745 ac_fn_c_check_type "$LINENO" "request_sense" "ac_cv_type_request_sense" "#include <linux/cdrom.h>
18747 if test "x$ac_cv_type_request_sense" = xyes; then :
18749 cat >>confdefs.h <<_ACEOF
18750 #define HAVE_REQUEST_SENSE 1
18751 _ACEOF
18757 ac_fn_c_check_type "$LINENO" "struct xinpgen" "ac_cv_type_struct_xinpgen" "#include <sys/types.h>
18758 #ifdef HAVE_SYS_SOCKET_H
18759 #include <sys/socket.h>
18760 #endif
18761 #ifdef HAVE_SYS_SOCKETVAR_H
18762 #include <sys/socketvar.h>
18763 #endif
18764 #ifdef HAVE_NET_ROUTE_H
18765 #include <net/route.h>
18766 #endif
18767 #ifdef HAVE_NETINET_IN_H
18768 #include <netinet/in.h>
18769 #endif
18770 #ifdef HAVE_NETINET_IN_SYSTM_H
18771 #include <netinet/in_systm.h>
18772 #endif
18773 #ifdef HAVE_NETINET_IP_H
18774 #include <netinet/ip.h>
18775 #endif
18776 #ifdef HAVE_NETINET_IN_PCB_H
18777 #include <netinet/in_pcb.h>
18778 #endif
18780 if test "x$ac_cv_type_struct_xinpgen" = xyes; then :
18782 cat >>confdefs.h <<_ACEOF
18783 #define HAVE_STRUCT_XINPGEN 1
18784 _ACEOF
18790 ac_fn_c_check_member "$LINENO" "struct ff_effect" "direction" "ac_cv_member_struct_ff_effect_direction" "#ifdef HAVE_LINUX_INPUT_H
18791 #include <linux/input.h>
18792 #endif
18794 if test "x$ac_cv_member_struct_ff_effect_direction" = xyes; then :
18796 cat >>confdefs.h <<_ACEOF
18797 #define HAVE_STRUCT_FF_EFFECT_DIRECTION 1
18798 _ACEOF
18804 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for if_nameindex" >&5
18805 $as_echo_n "checking for if_nameindex... " >&6; }
18806 if ${wine_cv_have_if_nameindex+:} false; then :
18807 $as_echo_n "(cached) " >&6
18808 else
18809 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18810 /* end confdefs.h. */
18811 #ifdef HAVE_SYS_TYPES_H
18812 #include <sys/types.h>
18813 #endif
18814 #ifdef HAVE_SYS_SOCKET_H
18815 #include <sys/socket.h>
18816 #endif
18817 #ifdef HAVE_NET_IF_H
18818 # include <net/if.h>
18819 #endif
18821 main ()
18823 struct if_nameindex *p = if_nameindex(); return p->if_index;
18825 return 0;
18827 _ACEOF
18828 if ac_fn_c_try_link "$LINENO"; then :
18829 wine_cv_have_if_nameindex=yes
18830 else
18831 wine_cv_have_if_nameindex=no
18833 rm -f core conftest.err conftest.$ac_objext \
18834 conftest$ac_exeext conftest.$ac_ext
18836 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_if_nameindex" >&5
18837 $as_echo "$wine_cv_have_if_nameindex" >&6; }
18838 if test "$wine_cv_have_if_nameindex" = "yes"
18839 then
18841 $as_echo "#define HAVE_IF_NAMEINDEX 1" >>confdefs.h
18845 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sigaddset" >&5
18846 $as_echo_n "checking for sigaddset... " >&6; }
18847 if ${wine_cv_have_sigaddset+:} false; then :
18848 $as_echo_n "(cached) " >&6
18849 else
18850 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18851 /* end confdefs.h. */
18852 #include <signal.h>
18854 main ()
18856 sigset_t set; sigaddset(&set,SIGTERM);
18858 return 0;
18860 _ACEOF
18861 if ac_fn_c_try_link "$LINENO"; then :
18862 wine_cv_have_sigaddset=yes
18863 else
18864 wine_cv_have_sigaddset=no
18866 rm -f core conftest.err conftest.$ac_objext \
18867 conftest$ac_exeext conftest.$ac_ext
18869 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sigaddset" >&5
18870 $as_echo "$wine_cv_have_sigaddset" >&6; }
18871 if test "$wine_cv_have_sigaddset" = "yes"
18872 then
18874 $as_echo "#define HAVE_SIGADDSET 1" >>confdefs.h
18879 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can use re-entrant gethostbyname_r Linux style" >&5
18880 $as_echo_n "checking whether we can use re-entrant gethostbyname_r Linux style... " >&6; }
18881 if ${wine_cv_linux_gethostbyname_r_6+:} false; then :
18882 $as_echo_n "(cached) " >&6
18883 else
18884 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18885 /* end confdefs.h. */
18886 #include <netdb.h>
18888 main ()
18891 char *name=0;
18892 struct hostent he;
18893 struct hostent *result;
18894 char *buf=0;
18895 int bufsize=0;
18896 int errnr;
18897 char *addr=0;
18898 int addrlen=0;
18899 int addrtype=0;
18900 gethostbyname_r(name,&he,buf,bufsize,&result,&errnr);
18901 gethostbyaddr_r(addr, addrlen, addrtype,&he,buf,bufsize,&result,&errnr);
18904 return 0;
18906 _ACEOF
18907 if ac_fn_c_try_link "$LINENO"; then :
18908 wine_cv_linux_gethostbyname_r_6=yes
18909 else
18910 wine_cv_linux_gethostbyname_r_6=no
18913 rm -f core conftest.err conftest.$ac_objext \
18914 conftest$ac_exeext conftest.$ac_ext
18917 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_gethostbyname_r_6" >&5
18918 $as_echo "$wine_cv_linux_gethostbyname_r_6" >&6; }
18919 if test "$wine_cv_linux_gethostbyname_r_6" = "yes"
18920 then
18922 $as_echo "#define HAVE_LINUX_GETHOSTBYNAME_R_6 1" >>confdefs.h
18926 if test "$ac_cv_header_linux_joystick_h" = "yes"
18927 then
18928 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether linux/joystick.h uses the Linux 2.2+ API" >&5
18929 $as_echo_n "checking whether linux/joystick.h uses the Linux 2.2+ API... " >&6; }
18930 if ${wine_cv_linux_joystick_22_api+:} false; then :
18931 $as_echo_n "(cached) " >&6
18932 else
18933 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18934 /* end confdefs.h. */
18936 #include <sys/ioctl.h>
18937 #include <sys/types.h>
18938 #include <linux/joystick.h>
18940 struct js_event blub;
18941 #if !defined(JS_EVENT_AXIS) || !defined(JS_EVENT_BUTTON)
18942 #error "no 2.2 header"
18943 #endif
18946 main ()
18948 /*empty*/
18950 return 0;
18952 _ACEOF
18953 if ac_fn_c_try_compile "$LINENO"; then :
18954 wine_cv_linux_joystick_22_api=yes
18955 else
18956 wine_cv_linux_joystick_22_api=no
18958 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18961 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_joystick_22_api" >&5
18962 $as_echo "$wine_cv_linux_joystick_22_api" >&6; }
18963 if test "$wine_cv_linux_joystick_22_api" = "yes"
18964 then
18966 $as_echo "#define HAVE_LINUX_22_JOYSTICK_API 1" >>confdefs.h
18971 ac_fn_c_check_member "$LINENO" "struct msghdr" "msg_accrights" "ac_cv_member_struct_msghdr_msg_accrights" "#include <sys/types.h>
18972 #ifdef HAVE_SYS_SOCKET_H
18973 # include <sys/socket.h>
18974 #endif
18975 #ifdef HAVE_SYS_UN_H
18976 # include <sys/un.h>
18977 #endif
18979 if test "x$ac_cv_member_struct_msghdr_msg_accrights" = xyes; then :
18981 cat >>confdefs.h <<_ACEOF
18982 #define HAVE_STRUCT_MSGHDR_MSG_ACCRIGHTS 1
18983 _ACEOF
18987 ac_fn_c_check_member "$LINENO" "struct sockaddr" "sa_len" "ac_cv_member_struct_sockaddr_sa_len" "#include <sys/types.h>
18988 #ifdef HAVE_SYS_SOCKET_H
18989 # include <sys/socket.h>
18990 #endif
18991 #ifdef HAVE_SYS_UN_H
18992 # include <sys/un.h>
18993 #endif
18995 if test "x$ac_cv_member_struct_sockaddr_sa_len" = xyes; then :
18997 cat >>confdefs.h <<_ACEOF
18998 #define HAVE_STRUCT_SOCKADDR_SA_LEN 1
18999 _ACEOF
19003 ac_fn_c_check_member "$LINENO" "struct sockaddr_un" "sun_len" "ac_cv_member_struct_sockaddr_un_sun_len" "#include <sys/types.h>
19004 #ifdef HAVE_SYS_SOCKET_H
19005 # include <sys/socket.h>
19006 #endif
19007 #ifdef HAVE_SYS_UN_H
19008 # include <sys/un.h>
19009 #endif
19011 if test "x$ac_cv_member_struct_sockaddr_un_sun_len" = xyes; then :
19013 cat >>confdefs.h <<_ACEOF
19014 #define HAVE_STRUCT_SOCKADDR_UN_SUN_LEN 1
19015 _ACEOF
19021 ac_fn_c_check_member "$LINENO" "scsireq_t" "cmd" "ac_cv_member_scsireq_t_cmd" "#include <sys/types.h>
19022 #ifdef HAVE_SCSI_SG_H
19023 #include <scsi/sg.h>
19024 #endif
19026 if test "x$ac_cv_member_scsireq_t_cmd" = xyes; then :
19028 cat >>confdefs.h <<_ACEOF
19029 #define HAVE_SCSIREQ_T_CMD 1
19030 _ACEOF
19034 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>
19035 #ifdef HAVE_SCSI_SG_H
19036 #include <scsi/sg.h>
19037 #endif
19039 if test "x$ac_cv_member_sg_io_hdr_t_interface_id" = xyes; then :
19041 cat >>confdefs.h <<_ACEOF
19042 #define HAVE_SG_IO_HDR_T_INTERFACE_ID 1
19043 _ACEOF
19049 ac_fn_c_check_member "$LINENO" "siginfo_t" "si_fd" "ac_cv_member_siginfo_t_si_fd" "#include <signal.h>
19051 if test "x$ac_cv_member_siginfo_t_si_fd" = xyes; then :
19053 cat >>confdefs.h <<_ACEOF
19054 #define HAVE_SIGINFO_T_SI_FD 1
19055 _ACEOF
19061 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_blksiz" "ac_cv_member_struct_mtget_mt_blksiz" "#include <sys/types.h>
19062 #ifdef HAVE_SYS_MTIO_H
19063 #include <sys/mtio.h>
19064 #endif
19066 if test "x$ac_cv_member_struct_mtget_mt_blksiz" = xyes; then :
19068 cat >>confdefs.h <<_ACEOF
19069 #define HAVE_STRUCT_MTGET_MT_BLKSIZ 1
19070 _ACEOF
19074 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_gstat" "ac_cv_member_struct_mtget_mt_gstat" "#include <sys/types.h>
19075 #ifdef HAVE_SYS_MTIO_H
19076 #include <sys/mtio.h>
19077 #endif
19079 if test "x$ac_cv_member_struct_mtget_mt_gstat" = xyes; then :
19081 cat >>confdefs.h <<_ACEOF
19082 #define HAVE_STRUCT_MTGET_MT_GSTAT 1
19083 _ACEOF
19087 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_blkno" "ac_cv_member_struct_mtget_mt_blkno" "#include <sys/types.h>
19088 #ifdef HAVE_SYS_MTIO_H
19089 #include <sys/mtio.h>
19090 #endif
19092 if test "x$ac_cv_member_struct_mtget_mt_blkno" = xyes; then :
19094 cat >>confdefs.h <<_ACEOF
19095 #define HAVE_STRUCT_MTGET_MT_BLKNO 1
19096 _ACEOF
19102 ac_fn_c_check_member "$LINENO" "struct option" "name" "ac_cv_member_struct_option_name" "#ifdef HAVE_GETOPT_H
19103 #include <getopt.h>
19104 #endif
19106 if test "x$ac_cv_member_struct_option_name" = xyes; then :
19108 cat >>confdefs.h <<_ACEOF
19109 #define HAVE_STRUCT_OPTION_NAME 1
19110 _ACEOF
19116 ac_fn_c_check_member "$LINENO" "struct stat" "st_blocks" "ac_cv_member_struct_stat_st_blocks" "$ac_includes_default"
19117 if test "x$ac_cv_member_struct_stat_st_blocks" = xyes; then :
19119 cat >>confdefs.h <<_ACEOF
19120 #define HAVE_STRUCT_STAT_ST_BLOCKS 1
19121 _ACEOF
19125 ac_fn_c_check_member "$LINENO" "struct stat" "st_mtim" "ac_cv_member_struct_stat_st_mtim" "$ac_includes_default"
19126 if test "x$ac_cv_member_struct_stat_st_mtim" = xyes; then :
19128 cat >>confdefs.h <<_ACEOF
19129 #define HAVE_STRUCT_STAT_ST_MTIM 1
19130 _ACEOF
19134 ac_fn_c_check_member "$LINENO" "struct stat" "st_mtimespec" "ac_cv_member_struct_stat_st_mtimespec" "$ac_includes_default"
19135 if test "x$ac_cv_member_struct_stat_st_mtimespec" = xyes; then :
19137 cat >>confdefs.h <<_ACEOF
19138 #define HAVE_STRUCT_STAT_ST_MTIMESPEC 1
19139 _ACEOF
19143 ac_fn_c_check_member "$LINENO" "struct stat" "st_ctim" "ac_cv_member_struct_stat_st_ctim" "$ac_includes_default"
19144 if test "x$ac_cv_member_struct_stat_st_ctim" = xyes; then :
19146 cat >>confdefs.h <<_ACEOF
19147 #define HAVE_STRUCT_STAT_ST_CTIM 1
19148 _ACEOF
19152 ac_fn_c_check_member "$LINENO" "struct stat" "st_ctimespec" "ac_cv_member_struct_stat_st_ctimespec" "$ac_includes_default"
19153 if test "x$ac_cv_member_struct_stat_st_ctimespec" = xyes; then :
19155 cat >>confdefs.h <<_ACEOF
19156 #define HAVE_STRUCT_STAT_ST_CTIMESPEC 1
19157 _ACEOF
19161 ac_fn_c_check_member "$LINENO" "struct stat" "st_atim" "ac_cv_member_struct_stat_st_atim" "$ac_includes_default"
19162 if test "x$ac_cv_member_struct_stat_st_atim" = xyes; then :
19164 cat >>confdefs.h <<_ACEOF
19165 #define HAVE_STRUCT_STAT_ST_ATIM 1
19166 _ACEOF
19170 ac_fn_c_check_member "$LINENO" "struct stat" "st_atimespec" "ac_cv_member_struct_stat_st_atimespec" "$ac_includes_default"
19171 if test "x$ac_cv_member_struct_stat_st_atimespec" = xyes; then :
19173 cat >>confdefs.h <<_ACEOF
19174 #define HAVE_STRUCT_STAT_ST_ATIMESPEC 1
19175 _ACEOF
19179 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtime" "ac_cv_member_struct_stat_st_birthtime" "$ac_includes_default"
19180 if test "x$ac_cv_member_struct_stat_st_birthtime" = xyes; then :
19182 cat >>confdefs.h <<_ACEOF
19183 #define HAVE_STRUCT_STAT_ST_BIRTHTIME 1
19184 _ACEOF
19188 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtim" "ac_cv_member_struct_stat_st_birthtim" "$ac_includes_default"
19189 if test "x$ac_cv_member_struct_stat_st_birthtim" = xyes; then :
19191 cat >>confdefs.h <<_ACEOF
19192 #define HAVE_STRUCT_STAT_ST_BIRTHTIM 1
19193 _ACEOF
19197 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtimespec" "ac_cv_member_struct_stat_st_birthtimespec" "$ac_includes_default"
19198 if test "x$ac_cv_member_struct_stat_st_birthtimespec" = xyes; then :
19200 cat >>confdefs.h <<_ACEOF
19201 #define HAVE_STRUCT_STAT_ST_BIRTHTIMESPEC 1
19202 _ACEOF
19206 ac_fn_c_check_member "$LINENO" "struct stat" "__st_birthtime" "ac_cv_member_struct_stat___st_birthtime" "$ac_includes_default"
19207 if test "x$ac_cv_member_struct_stat___st_birthtime" = xyes; then :
19209 cat >>confdefs.h <<_ACEOF
19210 #define HAVE_STRUCT_STAT___ST_BIRTHTIME 1
19211 _ACEOF
19215 ac_fn_c_check_member "$LINENO" "struct stat" "__st_birthtim" "ac_cv_member_struct_stat___st_birthtim" "$ac_includes_default"
19216 if test "x$ac_cv_member_struct_stat___st_birthtim" = xyes; then :
19218 cat >>confdefs.h <<_ACEOF
19219 #define HAVE_STRUCT_STAT___ST_BIRTHTIM 1
19220 _ACEOF
19226 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
19227 #include <sys/types.h>
19228 #endif
19229 #ifdef HAVE_NETINET_IN_H
19230 #include <netinet/in.h>
19231 #endif
19233 if test "x$ac_cv_member_struct_sockaddr_in6_sin6_scope_id" = xyes; then :
19235 cat >>confdefs.h <<_ACEOF
19236 #define HAVE_STRUCT_SOCKADDR_IN6_SIN6_SCOPE_ID 1
19237 _ACEOF
19243 ac_fn_c_check_type "$LINENO" "struct __res_state" "ac_cv_type_struct___res_state" "#ifdef HAVE_SYS_TYPES_H
19244 #include <sys/types.h>
19245 #endif
19246 #ifdef HAVE_NETINET_IN_H
19247 #include <netinet/in.h>
19248 #endif
19249 #ifdef HAVE_RESOLV_H
19250 #include <resolv.h>
19251 #endif
19253 if test "x$ac_cv_type_struct___res_state" = xyes; then :
19255 cat >>confdefs.h <<_ACEOF
19256 #define HAVE_STRUCT___RES_STATE 1
19257 _ACEOF
19263 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
19264 #include <resolv.h>
19265 #endif
19267 if test "x$ac_cv_member_struct___res_state__u__ext_nscount6" = xyes; then :
19269 cat >>confdefs.h <<_ACEOF
19270 #define HAVE_STRUCT___RES_STATE__U__EXT_NSCOUNT6 1
19271 _ACEOF
19277 ac_fn_c_check_member "$LINENO" "ns_msg" "_msg_ptr" "ac_cv_member_ns_msg__msg_ptr" "#ifdef HAVE_SYS_TYPES_H
19278 #include <sys/types.h>
19279 #endif
19280 #ifdef HAVE_NETINET_IN_H
19281 # include <netinet/in.h>
19282 #endif
19283 #ifdef HAVE_ARPA_NAMESER_H
19284 # include <arpa/nameser.h>
19285 #endif
19287 if test "x$ac_cv_member_ns_msg__msg_ptr" = xyes; then :
19289 cat >>confdefs.h <<_ACEOF
19290 #define HAVE_NS_MSG__MSG_PTR 1
19291 _ACEOF
19297 ac_fn_c_check_member "$LINENO" "struct icmpstat" "icps_inhist" "ac_cv_member_struct_icmpstat_icps_inhist" "#ifdef HAVE_SYS_TYPES_H
19298 #include <sys/types.h>
19299 #endif
19300 #ifdef HAVE_NETINET_IN_H
19301 #include <netinet/in.h>
19302 #endif
19303 #ifdef HAVE_NETINET_IP_H
19304 #include <netinet/ip.h>
19305 #endif
19306 #ifdef HAVE_NETINET_IP_ICMP_H
19307 #include <netinet/ip_icmp.h>
19308 #endif
19309 #ifdef HAVE_NETINET_ICMP_VAR_H
19310 #include <netinet/icmp_var.h>
19311 #endif
19313 if test "x$ac_cv_member_struct_icmpstat_icps_inhist" = xyes; then :
19315 cat >>confdefs.h <<_ACEOF
19316 #define HAVE_STRUCT_ICMPSTAT_ICPS_INHIST 1
19317 _ACEOF
19323 ac_fn_c_check_member "$LINENO" "struct icmpstat" "icps_outhist" "ac_cv_member_struct_icmpstat_icps_outhist" "#ifdef HAVE_SYS_TYPES_H
19324 #include <sys/types.h>
19325 #endif
19326 #ifdef HAVE_ALIAS_H
19327 #include <alias.h>
19328 #endif
19329 #ifdef HAVE_SYS_SOCKET_H
19330 #include <sys/socket.h>
19331 #endif
19332 #ifdef HAVE_SYS_SOCKETVAR_H
19333 #include <sys/socketvar.h>
19334 #endif
19335 #ifdef HAVE_SYS_TIMEOUT_H
19336 #include <sys/timeout.h>
19337 #endif
19338 #ifdef HAVE_NETINET_IN_H
19339 #include <netinet/in.h>
19340 #endif
19341 #ifdef HAVE_NETINET_IN_SYSTM_H
19342 #include <netinet/in_systm.h>
19343 #endif
19344 #ifdef HAVE_NETINET_IP_H
19345 #include <netinet/ip.h>
19346 #endif
19347 #ifdef HAVE_NETINET_IP_VAR_H
19348 #include <netinet/ip_var.h>
19349 #endif
19350 #ifdef HAVE_NETINET_IP_ICMP_H
19351 #include <netinet/ip_icmp.h>
19352 #endif
19353 #ifdef HAVE_NETINET_ICMP_VAR_H
19354 #include <netinet/icmp_var.h>
19355 #endif
19357 if test "x$ac_cv_member_struct_icmpstat_icps_outhist" = xyes; then :
19359 cat >>confdefs.h <<_ACEOF
19360 #define HAVE_STRUCT_ICMPSTAT_ICPS_OUTHIST 1
19361 _ACEOF
19367 ac_fn_c_check_member "$LINENO" "struct ipstat" "ips_total" "ac_cv_member_struct_ipstat_ips_total" "#ifdef HAVE_SYS_TYPES_H
19368 #include <sys/types.h>
19369 #endif
19370 #ifdef HAVE_SYS_SOCKETVAR_H
19371 #include <sys/socketvar.h>
19372 #endif
19373 #ifdef HAVE_NETINET_IN_H
19374 #include <netinet/in.h>
19375 #endif
19376 #ifdef HAVE_NETINET_IP_VAR_H
19377 #include <netinet/ip_var.h>
19378 #endif
19380 if test "x$ac_cv_member_struct_ipstat_ips_total" = xyes; then :
19382 cat >>confdefs.h <<_ACEOF
19383 #define HAVE_STRUCT_IPSTAT_IPS_TOTAL 1
19384 _ACEOF
19390 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
19391 #include <netinet/ip_var.h>
19392 #endif
19394 if test "x$ac_cv_member_struct_ip_stats_ips_total" = xyes; then :
19396 cat >>confdefs.h <<_ACEOF
19397 #define HAVE_STRUCT_IP_STATS_IPS_TOTAL 1
19398 _ACEOF
19404 ac_fn_c_check_member "$LINENO" "struct tcpstat" "tcps_connattempt" "ac_cv_member_struct_tcpstat_tcps_connattempt" "#ifdef HAVE_SYS_TYPES_H
19405 #include <sys/types.h>
19406 #endif
19407 #ifdef HAVE_SYS_SOCKETVAR_H
19408 #include <sys/socketvar.h>
19409 #endif
19410 #ifdef HAVE_NETINET_IN_H
19411 #include <netinet/in.h>
19412 #endif
19413 #ifdef HAVE_NETINET_TCP_H
19414 #include <netinet/tcp.h>
19415 #endif
19416 #ifdef HAVE_NETINET_TCP_VAR_H
19417 #include <netinet/tcp_var.h>
19418 #endif
19420 if test "x$ac_cv_member_struct_tcpstat_tcps_connattempt" = xyes; then :
19422 cat >>confdefs.h <<_ACEOF
19423 #define HAVE_STRUCT_TCPSTAT_TCPS_CONNATTEMPT 1
19424 _ACEOF
19430 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
19431 #include <netinet/tcp_var.h>
19432 #endif
19434 if test "x$ac_cv_member_struct_tcp_stats_tcps_connattempt" = xyes; then :
19436 cat >>confdefs.h <<_ACEOF
19437 #define HAVE_STRUCT_TCP_STATS_TCPS_CONNATTEMPT 1
19438 _ACEOF
19444 ac_fn_c_check_member "$LINENO" "struct udpstat" "udps_ipackets" "ac_cv_member_struct_udpstat_udps_ipackets" "#ifdef HAVE_SYS_TYPES_H
19445 #include <sys/types.h>
19446 #endif
19447 #ifdef HAVE_NETINET_IN_H
19448 #include <netinet/in.h>
19449 #endif
19450 #ifdef HAVE_NETINET_IP_VAR_H
19451 #include <netinet/ip_var.h>
19452 #endif
19453 #ifdef HAVE_NETINET_UDP_H
19454 #include <netinet/udp.h>
19455 #endif
19456 #ifdef HAVE_NETINET_UDP_VAR_H
19457 #include <netinet/udp_var.h>
19458 #endif
19460 if test "x$ac_cv_member_struct_udpstat_udps_ipackets" = xyes; then :
19462 cat >>confdefs.h <<_ACEOF
19463 #define HAVE_STRUCT_UDPSTAT_UDPS_IPACKETS 1
19464 _ACEOF
19470 ac_fn_c_check_member "$LINENO" "struct ifreq" "ifr_hwaddr" "ac_cv_member_struct_ifreq_ifr_hwaddr" "#ifdef HAVE_SYS_TYPES_H
19471 #include <sys/types.h>
19472 #endif
19473 #ifdef HAVE_NET_IF_H
19474 # include <net/if.h>
19475 #endif
19477 if test "x$ac_cv_member_struct_ifreq_ifr_hwaddr" = xyes; then :
19479 cat >>confdefs.h <<_ACEOF
19480 #define HAVE_STRUCT_IFREQ_IFR_HWADDR 1
19481 _ACEOF
19487 ac_fn_c_check_member "$LINENO" "struct sysinfo" "totalram" "ac_cv_member_struct_sysinfo_totalram" "#ifdef HAVE_SYS_SYSINFO_H
19488 # include <sys/sysinfo.h>
19489 #endif
19491 if test "x$ac_cv_member_struct_sysinfo_totalram" = xyes; then :
19493 cat >>confdefs.h <<_ACEOF
19494 #define HAVE_STRUCT_SYSINFO_TOTALRAM 1
19495 _ACEOF
19499 ac_fn_c_check_member "$LINENO" "struct sysinfo" "mem_unit" "ac_cv_member_struct_sysinfo_mem_unit" "#ifdef HAVE_SYS_SYSINFO_H
19500 # include <sys/sysinfo.h>
19501 #endif
19503 if test "x$ac_cv_member_struct_sysinfo_mem_unit" = xyes; then :
19505 cat >>confdefs.h <<_ACEOF
19506 #define HAVE_STRUCT_SYSINFO_MEM_UNIT 1
19507 _ACEOF
19513 ac_save_LIBS="$LIBS"
19514 LIBS="$LIBS -lm"
19515 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isfinite" >&5
19516 $as_echo_n "checking for isfinite... " >&6; }
19517 if ${ac_cv_have_isfinite+:} false; then :
19518 $as_echo_n "(cached) " >&6
19519 else
19520 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19521 /* end confdefs.h. */
19522 #define _GNU_SOURCE
19523 #include <math.h>
19525 main ()
19527 float f = 0.0; return isfinite(f)
19529 return 0;
19531 _ACEOF
19532 if ac_fn_c_try_link "$LINENO"; then :
19533 ac_cv_have_isfinite="yes"
19534 else
19535 ac_cv_have_isfinite="no"
19537 rm -f core conftest.err conftest.$ac_objext \
19538 conftest$ac_exeext conftest.$ac_ext
19540 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isfinite" >&5
19541 $as_echo "$ac_cv_have_isfinite" >&6; }
19542 if test "$ac_cv_have_isfinite" = "yes"
19543 then
19545 $as_echo "#define HAVE_ISFINITE 1" >>confdefs.h
19549 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf" >&5
19550 $as_echo_n "checking for isinf... " >&6; }
19551 if ${ac_cv_have_isinf+:} false; then :
19552 $as_echo_n "(cached) " >&6
19553 else
19554 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19555 /* end confdefs.h. */
19556 #include <math.h>
19558 main ()
19560 float f = 0.0; return isinf(f)
19562 return 0;
19564 _ACEOF
19565 if ac_fn_c_try_link "$LINENO"; then :
19566 ac_cv_have_isinf="yes"
19567 else
19568 ac_cv_have_isinf="no"
19570 rm -f core conftest.err conftest.$ac_objext \
19571 conftest$ac_exeext conftest.$ac_ext
19573 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isinf" >&5
19574 $as_echo "$ac_cv_have_isinf" >&6; }
19575 if test "$ac_cv_have_isinf" = "yes"
19576 then
19578 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
19582 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan" >&5
19583 $as_echo_n "checking for isnan... " >&6; }
19584 if ${ac_cv_have_isnan+:} false; then :
19585 $as_echo_n "(cached) " >&6
19586 else
19587 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19588 /* end confdefs.h. */
19589 #include <math.h>
19591 main ()
19593 float f = 0.0; return isnan(f)
19595 return 0;
19597 _ACEOF
19598 if ac_fn_c_try_link "$LINENO"; then :
19599 ac_cv_have_isnan="yes"
19600 else
19601 ac_cv_have_isnan="no"
19603 rm -f core conftest.err conftest.$ac_objext \
19604 conftest$ac_exeext conftest.$ac_ext
19606 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isnan" >&5
19607 $as_echo "$ac_cv_have_isnan" >&6; }
19608 if test "$ac_cv_have_isnan" = "yes"
19609 then
19611 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
19615 for ac_func in \
19616 acosh \
19617 acoshf \
19618 asinh \
19619 asinhf \
19620 atanh \
19621 atanhf \
19622 cbrt \
19623 cbrtf \
19624 erf \
19625 erfc \
19626 erfcf \
19627 erff \
19628 exp2 \
19629 exp2f \
19630 expm1 \
19631 expm1f \
19632 fma \
19633 fmaf \
19634 lgamma \
19635 lgammaf \
19636 llrint \
19637 llrintf \
19638 log1p \
19639 log1pf \
19640 log2 \
19641 log2f \
19642 lrint \
19643 lrintf \
19644 nearbyint \
19645 nearbyintf \
19646 nexttoward \
19647 nexttowardf \
19648 remainder \
19649 remainderf \
19650 remquo \
19651 remquof \
19652 rint \
19653 rintf \
19654 tgamma \
19655 tgammaf \
19656 trunc \
19657 truncf
19659 do :
19660 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
19661 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
19662 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
19663 cat >>confdefs.h <<_ACEOF
19664 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
19665 _ACEOF
19668 done
19670 LIBS="$ac_save_LIBS"
19672 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __builtin_popcount" >&5
19673 $as_echo_n "checking for __builtin_popcount... " >&6; }
19674 if ${ac_cv_have___builtin_popcount+:} false; then :
19675 $as_echo_n "(cached) " >&6
19676 else
19677 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19678 /* end confdefs.h. */
19681 main ()
19683 return __builtin_popcount(1)
19685 return 0;
19687 _ACEOF
19688 if ac_fn_c_try_link "$LINENO"; then :
19689 ac_cv_have___builtin_popcount="yes"
19690 else
19691 ac_cv_have___builtin_popcount="no"
19693 rm -f core conftest.err conftest.$ac_objext \
19694 conftest$ac_exeext conftest.$ac_ext
19696 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___builtin_popcount" >&5
19697 $as_echo "$ac_cv_have___builtin_popcount" >&6; }
19698 if test "$ac_cv_have___builtin_popcount" = "yes"
19699 then
19701 $as_echo "#define HAVE___BUILTIN_POPCOUNT 1" >>confdefs.h
19705 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __clear_cache" >&5
19706 $as_echo_n "checking for __clear_cache... " >&6; }
19707 if ${ac_cv_have___clear_cache+:} false; then :
19708 $as_echo_n "(cached) " >&6
19709 else
19710 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19711 /* end confdefs.h. */
19714 main ()
19716 __clear_cache((void*)0, (void*)0); return 0;
19718 return 0;
19720 _ACEOF
19721 if ac_fn_c_try_link "$LINENO"; then :
19722 ac_cv_have___clear_cache="yes"
19723 else
19724 ac_cv_have___clear_cache="no"
19726 rm -f core conftest.err conftest.$ac_objext \
19727 conftest$ac_exeext conftest.$ac_ext
19729 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___clear_cache" >&5
19730 $as_echo "$ac_cv_have___clear_cache" >&6; }
19731 if test "$ac_cv_have___clear_cache" = "yes"
19732 then
19734 $as_echo "#define HAVE___CLEAR_CACHE 1" >>confdefs.h
19739 case $host_cpu in
19740 *i[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __i386__" >&5
19741 $as_echo_n "checking whether we need to define __i386__... " >&6; }
19742 if ${ac_cv_cpp_def___i386__+:} false; then :
19743 $as_echo_n "(cached) " >&6
19744 else
19745 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19746 /* end confdefs.h. */
19747 #ifndef __i386__
19749 #endif
19750 _ACEOF
19751 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19752 $EGREP "yes" >/dev/null 2>&1; then :
19753 ac_cv_cpp_def___i386__=yes
19754 else
19755 ac_cv_cpp_def___i386__=no
19757 rm -f conftest*
19760 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___i386__" >&5
19761 $as_echo "$ac_cv_cpp_def___i386__" >&6; }
19762 if test "x$ac_cv_cpp_def___i386__" = xyes; then :
19763 CFLAGS="$CFLAGS -D__i386__"
19764 LINTFLAGS="$LINTFLAGS -D__i386__"
19765 fi ;;
19766 *x86_64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __x86_64__" >&5
19767 $as_echo_n "checking whether we need to define __x86_64__... " >&6; }
19768 if ${ac_cv_cpp_def___x86_64__+:} false; then :
19769 $as_echo_n "(cached) " >&6
19770 else
19771 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19772 /* end confdefs.h. */
19773 #ifndef __x86_64__
19775 #endif
19776 _ACEOF
19777 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19778 $EGREP "yes" >/dev/null 2>&1; then :
19779 ac_cv_cpp_def___x86_64__=yes
19780 else
19781 ac_cv_cpp_def___x86_64__=no
19783 rm -f conftest*
19786 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___x86_64__" >&5
19787 $as_echo "$ac_cv_cpp_def___x86_64__" >&6; }
19788 if test "x$ac_cv_cpp_def___x86_64__" = xyes; then :
19789 CFLAGS="$CFLAGS -D__x86_64__"
19790 LINTFLAGS="$LINTFLAGS -D__x86_64__"
19791 fi ;;
19792 *sparc64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc64__" >&5
19793 $as_echo_n "checking whether we need to define __sparc64__... " >&6; }
19794 if ${ac_cv_cpp_def___sparc64__+:} false; then :
19795 $as_echo_n "(cached) " >&6
19796 else
19797 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19798 /* end confdefs.h. */
19799 #ifndef __sparc64__
19801 #endif
19802 _ACEOF
19803 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19804 $EGREP "yes" >/dev/null 2>&1; then :
19805 ac_cv_cpp_def___sparc64__=yes
19806 else
19807 ac_cv_cpp_def___sparc64__=no
19809 rm -f conftest*
19812 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc64__" >&5
19813 $as_echo "$ac_cv_cpp_def___sparc64__" >&6; }
19814 if test "x$ac_cv_cpp_def___sparc64__" = xyes; then :
19815 CFLAGS="$CFLAGS -D__sparc64__"
19816 LINTFLAGS="$LINTFLAGS -D__sparc64__"
19817 fi ;;
19818 *sparc*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc__" >&5
19819 $as_echo_n "checking whether we need to define __sparc__... " >&6; }
19820 if ${ac_cv_cpp_def___sparc__+:} false; then :
19821 $as_echo_n "(cached) " >&6
19822 else
19823 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19824 /* end confdefs.h. */
19825 #ifndef __sparc__
19827 #endif
19828 _ACEOF
19829 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19830 $EGREP "yes" >/dev/null 2>&1; then :
19831 ac_cv_cpp_def___sparc__=yes
19832 else
19833 ac_cv_cpp_def___sparc__=no
19835 rm -f conftest*
19838 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc__" >&5
19839 $as_echo "$ac_cv_cpp_def___sparc__" >&6; }
19840 if test "x$ac_cv_cpp_def___sparc__" = xyes; then :
19841 CFLAGS="$CFLAGS -D__sparc__"
19842 LINTFLAGS="$LINTFLAGS -D__sparc__"
19843 fi ;;
19844 *powerpc64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc64__" >&5
19845 $as_echo_n "checking whether we need to define __powerpc64__... " >&6; }
19846 if ${ac_cv_cpp_def___powerpc64__+:} false; then :
19847 $as_echo_n "(cached) " >&6
19848 else
19849 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19850 /* end confdefs.h. */
19851 #ifndef __powerpc64__
19853 #endif
19854 _ACEOF
19855 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19856 $EGREP "yes" >/dev/null 2>&1; then :
19857 ac_cv_cpp_def___powerpc64__=yes
19858 else
19859 ac_cv_cpp_def___powerpc64__=no
19861 rm -f conftest*
19864 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc64__" >&5
19865 $as_echo "$ac_cv_cpp_def___powerpc64__" >&6; }
19866 if test "x$ac_cv_cpp_def___powerpc64__" = xyes; then :
19867 CFLAGS="$CFLAGS -D__powerpc64__"
19868 LINTFLAGS="$LINTFLAGS -D__powerpc64__"
19869 fi ;;
19870 *powerpc*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc__" >&5
19871 $as_echo_n "checking whether we need to define __powerpc__... " >&6; }
19872 if ${ac_cv_cpp_def___powerpc__+:} false; then :
19873 $as_echo_n "(cached) " >&6
19874 else
19875 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19876 /* end confdefs.h. */
19877 #ifndef __powerpc__
19879 #endif
19880 _ACEOF
19881 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19882 $EGREP "yes" >/dev/null 2>&1; then :
19883 ac_cv_cpp_def___powerpc__=yes
19884 else
19885 ac_cv_cpp_def___powerpc__=no
19887 rm -f conftest*
19890 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc__" >&5
19891 $as_echo "$ac_cv_cpp_def___powerpc__" >&6; }
19892 if test "x$ac_cv_cpp_def___powerpc__" = xyes; then :
19893 CFLAGS="$CFLAGS -D__powerpc__"
19894 LINTFLAGS="$LINTFLAGS -D__powerpc__"
19895 fi ;;
19896 *aarch64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __aarch64__" >&5
19897 $as_echo_n "checking whether we need to define __aarch64__... " >&6; }
19898 if ${ac_cv_cpp_def___aarch64__+:} false; then :
19899 $as_echo_n "(cached) " >&6
19900 else
19901 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19902 /* end confdefs.h. */
19903 #ifndef __aarch64__
19905 #endif
19906 _ACEOF
19907 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19908 $EGREP "yes" >/dev/null 2>&1; then :
19909 ac_cv_cpp_def___aarch64__=yes
19910 else
19911 ac_cv_cpp_def___aarch64__=no
19913 rm -f conftest*
19916 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___aarch64__" >&5
19917 $as_echo "$ac_cv_cpp_def___aarch64__" >&6; }
19918 if test "x$ac_cv_cpp_def___aarch64__" = xyes; then :
19919 CFLAGS="$CFLAGS -D__aarch64__"
19920 LINTFLAGS="$LINTFLAGS -D__aarch64__"
19921 fi ;;
19922 *arm*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __arm__" >&5
19923 $as_echo_n "checking whether we need to define __arm__... " >&6; }
19924 if ${ac_cv_cpp_def___arm__+:} false; then :
19925 $as_echo_n "(cached) " >&6
19926 else
19927 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19928 /* end confdefs.h. */
19929 #ifndef __arm__
19931 #endif
19932 _ACEOF
19933 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19934 $EGREP "yes" >/dev/null 2>&1; then :
19935 ac_cv_cpp_def___arm__=yes
19936 else
19937 ac_cv_cpp_def___arm__=no
19939 rm -f conftest*
19942 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___arm__" >&5
19943 $as_echo "$ac_cv_cpp_def___arm__" >&6; }
19944 if test "x$ac_cv_cpp_def___arm__" = xyes; then :
19945 CFLAGS="$CFLAGS -D__arm__"
19946 LINTFLAGS="$LINTFLAGS -D__arm__"
19947 fi ;;
19948 esac
19950 case $host_vendor in
19951 *sun*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sun__" >&5
19952 $as_echo_n "checking whether we need to define __sun__... " >&6; }
19953 if ${ac_cv_cpp_def___sun__+:} false; then :
19954 $as_echo_n "(cached) " >&6
19955 else
19956 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19957 /* end confdefs.h. */
19958 #ifndef __sun__
19960 #endif
19961 _ACEOF
19962 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19963 $EGREP "yes" >/dev/null 2>&1; then :
19964 ac_cv_cpp_def___sun__=yes
19965 else
19966 ac_cv_cpp_def___sun__=no
19968 rm -f conftest*
19971 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sun__" >&5
19972 $as_echo "$ac_cv_cpp_def___sun__" >&6; }
19973 if test "x$ac_cv_cpp_def___sun__" = xyes; then :
19974 CFLAGS="$CFLAGS -D__sun__"
19975 LINTFLAGS="$LINTFLAGS -D__sun__"
19976 fi ;;
19977 esac
19983 ac_config_commands="$ac_config_commands include/stamp-h"
19985 $as_echo_n "creating Makefile rules..." >&6
19987 ALL_VARS_RULES="I386_LIBS = $I386_LIBS
19988 OPENGL_LIBS = $OPENGL_LIBS
19989 COREFOUNDATION_LIBS = $COREFOUNDATION_LIBS
19990 IOKIT_LIBS = $IOKIT_LIBS
19991 FORCEFEEDBACK_LIBS = $FORCEFEEDBACK_LIBS
19992 APPLICATIONSERVICES_LIBS = $APPLICATIONSERVICES_LIBS
19993 CORESERVICES_LIBS = $CORESERVICES_LIBS
19994 APPKIT_LIBS = $APPKIT_LIBS
19995 SYSTEMCONFIGURATION_LIBS = $SYSTEMCONFIGURATION_LIBS
19996 DISKARBITRATION_LIBS = $DISKARBITRATION_LIBS
19997 SECURITY_LIBS = $SECURITY_LIBS
19998 COREAUDIO_LIBS = $COREAUDIO_LIBS
19999 OPENAL_LIBS = $OPENAL_LIBS
20000 OPENCL_LIBS = $OPENCL_LIBS
20001 QUICKTIME_LIBS = $QUICKTIME_LIBS
20002 CARBON_LIBS = $CARBON_LIBS
20003 METAL_LIBS = $METAL_LIBS
20004 EXCESS_PRECISION_CFLAGS = $EXCESS_PRECISION_CFLAGS
20005 PTHREAD_LIBS = $PTHREAD_LIBS
20006 X_CFLAGS = $X_CFLAGS
20007 X_PRE_LIBS = $X_PRE_LIBS
20008 X_LIBS = $X_LIBS
20009 X_EXTRA_LIBS = $X_EXTRA_LIBS
20010 PCAP_LIBS = $PCAP_LIBS
20011 XML2_CFLAGS = $XML2_CFLAGS
20012 XML2_LIBS = $XML2_LIBS
20013 XSLT_CFLAGS = $XSLT_CFLAGS
20014 XSLT_LIBS = $XSLT_LIBS
20015 INOTIFY_CFLAGS = $INOTIFY_CFLAGS
20016 INOTIFY_LIBS = $INOTIFY_LIBS
20017 DBUS_CFLAGS = $DBUS_CFLAGS
20018 DBUS_LIBS = $DBUS_LIBS
20019 HAL_CFLAGS = $HAL_CFLAGS
20020 HAL_LIBS = $HAL_LIBS
20021 GNUTLS_CFLAGS = $GNUTLS_CFLAGS
20022 GNUTLS_LIBS = $GNUTLS_LIBS
20023 SANE_CFLAGS = $SANE_CFLAGS
20024 SANE_LIBS = $SANE_LIBS
20025 USB_CFLAGS = $USB_CFLAGS
20026 USB_LIBS = $USB_LIBS
20027 GPHOTO2_CFLAGS = $GPHOTO2_CFLAGS
20028 GPHOTO2_LIBS = $GPHOTO2_LIBS
20029 GPHOTO2_PORT_CFLAGS = $GPHOTO2_PORT_CFLAGS
20030 GPHOTO2_PORT_LIBS = $GPHOTO2_PORT_LIBS
20031 RESOLV_LIBS = $RESOLV_LIBS
20032 LCMS2_CFLAGS = $LCMS2_CFLAGS
20033 LCMS2_LIBS = $LCMS2_LIBS
20034 FREETYPE_CFLAGS = $FREETYPE_CFLAGS
20035 FREETYPE_LIBS = $FREETYPE_LIBS
20036 GETTEXTPO_LIBS = $GETTEXTPO_LIBS
20037 PULSE_CFLAGS = $PULSE_CFLAGS
20038 PULSE_LIBS = $PULSE_LIBS
20039 GSTREAMER_CFLAGS = $GSTREAMER_CFLAGS
20040 GSTREAMER_LIBS = $GSTREAMER_LIBS
20041 ALSA_LIBS = $ALSA_LIBS
20042 OSS4_CFLAGS = $OSS4_CFLAGS
20043 OSS4_LIBS = $OSS4_LIBS
20044 UDEV_CFLAGS = $UDEV_CFLAGS
20045 UDEV_LIBS = $UDEV_LIBS
20046 UNWIND_CFLAGS = $UNWIND_CFLAGS
20047 UNWIND_LIBS = $UNWIND_LIBS
20048 SDL2_CFLAGS = $SDL2_CFLAGS
20049 SDL2_LIBS = $SDL2_LIBS
20050 FAUDIO_CFLAGS = $FAUDIO_CFLAGS
20051 FAUDIO_LIBS = $FAUDIO_LIBS
20052 CAPI20_CFLAGS = $CAPI20_CFLAGS
20053 CAPI20_LIBS = $CAPI20_LIBS
20054 CUPS_CFLAGS = $CUPS_CFLAGS
20055 CUPS_LIBS = $CUPS_LIBS
20056 FONTCONFIG_CFLAGS = $FONTCONFIG_CFLAGS
20057 FONTCONFIG_LIBS = $FONTCONFIG_LIBS
20058 KRB5_CFLAGS = $KRB5_CFLAGS
20059 KRB5_LIBS = $KRB5_LIBS
20060 GSSAPI_CFLAGS = $GSSAPI_CFLAGS
20061 GSSAPI_LIBS = $GSSAPI_LIBS
20062 JPEG_CFLAGS = $JPEG_CFLAGS
20063 JPEG_LIBS = $JPEG_LIBS
20064 JXRLIB_CFLAGS = $JXRLIB_CFLAGS
20065 JXRLIB_LIBS = $JXRLIB_LIBS
20066 PNG_CFLAGS = $PNG_CFLAGS
20067 PNG_LIBS = $PNG_LIBS
20068 TIFF_CFLAGS = $TIFF_CFLAGS
20069 TIFF_LIBS = $TIFF_LIBS
20070 MPG123_CFLAGS = $MPG123_CFLAGS
20071 MPG123_LIBS = $MPG123_LIBS
20072 KSTAT_LIBS = $KSTAT_LIBS
20073 PROCSTAT_LIBS = $PROCSTAT_LIBS
20074 NETAPI_CFLAGS = $NETAPI_CFLAGS
20075 NETAPI_LIBS = $NETAPI_LIBS
20076 VKD3D_CFLAGS = $VKD3D_CFLAGS
20077 VKD3D_LIBS = $VKD3D_LIBS
20078 VKD3D_SHADER_CFLAGS = $VKD3D_SHADER_CFLAGS
20079 VKD3D_SHADER_LIBS = $VKD3D_SHADER_LIBS
20080 POLL_LIBS = $POLL_LIBS
20081 RT_LIBS = $RT_LIBS
20082 LDAP_CFLAGS = $LDAP_CFLAGS
20083 LDAP_LIBS = $LDAP_LIBS
20087 makedep_flags=""
20088 test "x$enable_silent_rules" = xyes && makedep_flags="$makedep_flags -S"
20091 wine_fn_append_rule "
20092 # Rules automatically generated by configure
20094 .INIT: Makefile
20095 .MAKEFILEDEPS:
20096 all: Makefile
20097 Makefile: $srcdir/Makefile.in config.status \$(MAKEDEP)
20098 @./config.status Make.tmp Makefile
20099 depend: \$(MAKEDEP)
20100 \$(MAKEDEP)$makedep_flags
20101 dummy:
20102 .PHONY: depend dummy"
20104 ac_config_links="$ac_config_links wine:tools/winewrapper"
20105 wine_fn_config_symlink wine
20106 if test "x$enable_win64" != xno -o -n "$with_wine64"; then
20107 ac_config_links="$ac_config_links wine64:tools/winewrapper"
20108 wine_fn_config_symlink wine64
20111 wine_fn_config_makefile dlls/acledit enable_acledit
20112 wine_fn_config_makefile dlls/aclui enable_aclui
20113 wine_fn_config_makefile dlls/activeds.tlb enable_activeds_tlb
20114 wine_fn_config_makefile dlls/activeds enable_activeds
20115 wine_fn_config_makefile dlls/activeds/tests enable_tests
20116 wine_fn_config_makefile dlls/actxprxy enable_actxprxy
20117 wine_fn_config_makefile dlls/adsiid enable_adsiid
20118 wine_fn_config_makefile dlls/adsldp enable_adsldp
20119 wine_fn_config_makefile dlls/adsldp/tests enable_tests
20120 wine_fn_config_makefile dlls/adsldpc enable_adsldpc
20121 wine_fn_config_makefile dlls/advapi32 enable_advapi32
20122 wine_fn_config_makefile dlls/advapi32/tests enable_tests
20123 wine_fn_config_makefile dlls/advpack enable_advpack
20124 wine_fn_config_makefile dlls/advpack/tests enable_tests
20125 wine_fn_config_makefile dlls/amsi enable_amsi
20126 wine_fn_config_makefile dlls/amstream enable_amstream
20127 wine_fn_config_makefile dlls/amstream/tests enable_tests
20128 wine_fn_config_makefile dlls/api-ms-win-appmodel-identity-l1-1-0 enable_api_ms_win_appmodel_identity_l1_1_0
20129 wine_fn_config_makefile dlls/api-ms-win-appmodel-runtime-l1-1-1 enable_api_ms_win_appmodel_runtime_l1_1_1
20130 wine_fn_config_makefile dlls/api-ms-win-appmodel-runtime-l1-1-2 enable_api_ms_win_appmodel_runtime_l1_1_2
20131 wine_fn_config_makefile dlls/api-ms-win-core-apiquery-l1-1-0 enable_api_ms_win_core_apiquery_l1_1_0
20132 wine_fn_config_makefile dlls/api-ms-win-core-appcompat-l1-1-1 enable_api_ms_win_core_appcompat_l1_1_1
20133 wine_fn_config_makefile dlls/api-ms-win-core-appinit-l1-1-0 enable_api_ms_win_core_appinit_l1_1_0
20134 wine_fn_config_makefile dlls/api-ms-win-core-atoms-l1-1-0 enable_api_ms_win_core_atoms_l1_1_0
20135 wine_fn_config_makefile dlls/api-ms-win-core-bem-l1-1-0 enable_api_ms_win_core_bem_l1_1_0
20136 wine_fn_config_makefile dlls/api-ms-win-core-com-l1-1-0 enable_api_ms_win_core_com_l1_1_0
20137 wine_fn_config_makefile dlls/api-ms-win-core-com-l1-1-1 enable_api_ms_win_core_com_l1_1_1
20138 wine_fn_config_makefile dlls/api-ms-win-core-com-private-l1-1-0 enable_api_ms_win_core_com_private_l1_1_0
20139 wine_fn_config_makefile dlls/api-ms-win-core-comm-l1-1-0 enable_api_ms_win_core_comm_l1_1_0
20140 wine_fn_config_makefile dlls/api-ms-win-core-console-l1-1-0 enable_api_ms_win_core_console_l1_1_0
20141 wine_fn_config_makefile dlls/api-ms-win-core-console-l2-1-0 enable_api_ms_win_core_console_l2_1_0
20142 wine_fn_config_makefile dlls/api-ms-win-core-crt-l1-1-0 enable_api_ms_win_core_crt_l1_1_0
20143 wine_fn_config_makefile dlls/api-ms-win-core-crt-l2-1-0 enable_api_ms_win_core_crt_l2_1_0
20144 wine_fn_config_makefile dlls/api-ms-win-core-datetime-l1-1-0 enable_api_ms_win_core_datetime_l1_1_0
20145 wine_fn_config_makefile dlls/api-ms-win-core-datetime-l1-1-1 enable_api_ms_win_core_datetime_l1_1_1
20146 wine_fn_config_makefile dlls/api-ms-win-core-debug-l1-1-0 enable_api_ms_win_core_debug_l1_1_0
20147 wine_fn_config_makefile dlls/api-ms-win-core-debug-l1-1-1 enable_api_ms_win_core_debug_l1_1_1
20148 wine_fn_config_makefile dlls/api-ms-win-core-delayload-l1-1-0 enable_api_ms_win_core_delayload_l1_1_0
20149 wine_fn_config_makefile dlls/api-ms-win-core-delayload-l1-1-1 enable_api_ms_win_core_delayload_l1_1_1
20150 wine_fn_config_makefile dlls/api-ms-win-core-errorhandling-l1-1-0 enable_api_ms_win_core_errorhandling_l1_1_0
20151 wine_fn_config_makefile dlls/api-ms-win-core-errorhandling-l1-1-1 enable_api_ms_win_core_errorhandling_l1_1_1
20152 wine_fn_config_makefile dlls/api-ms-win-core-errorhandling-l1-1-2 enable_api_ms_win_core_errorhandling_l1_1_2
20153 wine_fn_config_makefile dlls/api-ms-win-core-errorhandling-l1-1-3 enable_api_ms_win_core_errorhandling_l1_1_3
20154 wine_fn_config_makefile dlls/api-ms-win-core-fibers-l1-1-0 enable_api_ms_win_core_fibers_l1_1_0
20155 wine_fn_config_makefile dlls/api-ms-win-core-fibers-l1-1-1 enable_api_ms_win_core_fibers_l1_1_1
20156 wine_fn_config_makefile dlls/api-ms-win-core-file-ansi-l2-1-0 enable_api_ms_win_core_file_ansi_l2_1_0
20157 wine_fn_config_makefile dlls/api-ms-win-core-file-fromapp-l1-1-0 enable_api_ms_win_core_file_fromapp_l1_1_0
20158 wine_fn_config_makefile dlls/api-ms-win-core-file-l1-1-0 enable_api_ms_win_core_file_l1_1_0
20159 wine_fn_config_makefile dlls/api-ms-win-core-file-l1-2-0 enable_api_ms_win_core_file_l1_2_0
20160 wine_fn_config_makefile dlls/api-ms-win-core-file-l1-2-1 enable_api_ms_win_core_file_l1_2_1
20161 wine_fn_config_makefile dlls/api-ms-win-core-file-l1-2-2 enable_api_ms_win_core_file_l1_2_2
20162 wine_fn_config_makefile dlls/api-ms-win-core-file-l2-1-0 enable_api_ms_win_core_file_l2_1_0
20163 wine_fn_config_makefile dlls/api-ms-win-core-file-l2-1-1 enable_api_ms_win_core_file_l2_1_1
20164 wine_fn_config_makefile dlls/api-ms-win-core-file-l2-1-2 enable_api_ms_win_core_file_l2_1_2
20165 wine_fn_config_makefile dlls/api-ms-win-core-handle-l1-1-0 enable_api_ms_win_core_handle_l1_1_0
20166 wine_fn_config_makefile dlls/api-ms-win-core-heap-l1-1-0 enable_api_ms_win_core_heap_l1_1_0
20167 wine_fn_config_makefile dlls/api-ms-win-core-heap-l1-2-0 enable_api_ms_win_core_heap_l1_2_0
20168 wine_fn_config_makefile dlls/api-ms-win-core-heap-l2-1-0 enable_api_ms_win_core_heap_l2_1_0
20169 wine_fn_config_makefile dlls/api-ms-win-core-heap-obsolete-l1-1-0 enable_api_ms_win_core_heap_obsolete_l1_1_0
20170 wine_fn_config_makefile dlls/api-ms-win-core-interlocked-l1-1-0 enable_api_ms_win_core_interlocked_l1_1_0
20171 wine_fn_config_makefile dlls/api-ms-win-core-interlocked-l1-2-0 enable_api_ms_win_core_interlocked_l1_2_0
20172 wine_fn_config_makefile dlls/api-ms-win-core-io-l1-1-0 enable_api_ms_win_core_io_l1_1_0
20173 wine_fn_config_makefile dlls/api-ms-win-core-io-l1-1-1 enable_api_ms_win_core_io_l1_1_1
20174 wine_fn_config_makefile dlls/api-ms-win-core-job-l1-1-0 enable_api_ms_win_core_job_l1_1_0
20175 wine_fn_config_makefile dlls/api-ms-win-core-job-l2-1-0 enable_api_ms_win_core_job_l2_1_0
20176 wine_fn_config_makefile dlls/api-ms-win-core-kernel32-legacy-l1-1-0 enable_api_ms_win_core_kernel32_legacy_l1_1_0
20177 wine_fn_config_makefile dlls/api-ms-win-core-kernel32-legacy-l1-1-1 enable_api_ms_win_core_kernel32_legacy_l1_1_1
20178 wine_fn_config_makefile dlls/api-ms-win-core-kernel32-legacy-l1-1-2 enable_api_ms_win_core_kernel32_legacy_l1_1_2
20179 wine_fn_config_makefile dlls/api-ms-win-core-kernel32-private-l1-1-1 enable_api_ms_win_core_kernel32_private_l1_1_1
20180 wine_fn_config_makefile dlls/api-ms-win-core-largeinteger-l1-1-0 enable_api_ms_win_core_largeinteger_l1_1_0
20181 wine_fn_config_makefile dlls/api-ms-win-core-libraryloader-l1-1-0 enable_api_ms_win_core_libraryloader_l1_1_0
20182 wine_fn_config_makefile dlls/api-ms-win-core-libraryloader-l1-1-1 enable_api_ms_win_core_libraryloader_l1_1_1
20183 wine_fn_config_makefile dlls/api-ms-win-core-libraryloader-l1-2-0 enable_api_ms_win_core_libraryloader_l1_2_0
20184 wine_fn_config_makefile dlls/api-ms-win-core-libraryloader-l1-2-1 enable_api_ms_win_core_libraryloader_l1_2_1
20185 wine_fn_config_makefile dlls/api-ms-win-core-libraryloader-l1-2-2 enable_api_ms_win_core_libraryloader_l1_2_2
20186 wine_fn_config_makefile dlls/api-ms-win-core-libraryloader-l2-1-0 enable_api_ms_win_core_libraryloader_l2_1_0
20187 wine_fn_config_makefile dlls/api-ms-win-core-localization-l1-1-0 enable_api_ms_win_core_localization_l1_1_0
20188 wine_fn_config_makefile dlls/api-ms-win-core-localization-l1-2-0 enable_api_ms_win_core_localization_l1_2_0
20189 wine_fn_config_makefile dlls/api-ms-win-core-localization-l1-2-1 enable_api_ms_win_core_localization_l1_2_1
20190 wine_fn_config_makefile dlls/api-ms-win-core-localization-l1-2-2 enable_api_ms_win_core_localization_l1_2_2
20191 wine_fn_config_makefile dlls/api-ms-win-core-localization-l2-1-0 enable_api_ms_win_core_localization_l2_1_0
20192 wine_fn_config_makefile dlls/api-ms-win-core-localization-obsolete-l1-1-0 enable_api_ms_win_core_localization_obsolete_l1_1_0
20193 wine_fn_config_makefile dlls/api-ms-win-core-localization-obsolete-l1-2-0 enable_api_ms_win_core_localization_obsolete_l1_2_0
20194 wine_fn_config_makefile dlls/api-ms-win-core-localization-obsolete-l1-3-0 enable_api_ms_win_core_localization_obsolete_l1_3_0
20195 wine_fn_config_makefile dlls/api-ms-win-core-localization-private-l1-1-0 enable_api_ms_win_core_localization_private_l1_1_0
20196 wine_fn_config_makefile dlls/api-ms-win-core-localregistry-l1-1-0 enable_api_ms_win_core_localregistry_l1_1_0
20197 wine_fn_config_makefile dlls/api-ms-win-core-memory-l1-1-0 enable_api_ms_win_core_memory_l1_1_0
20198 wine_fn_config_makefile dlls/api-ms-win-core-memory-l1-1-1 enable_api_ms_win_core_memory_l1_1_1
20199 wine_fn_config_makefile dlls/api-ms-win-core-memory-l1-1-2 enable_api_ms_win_core_memory_l1_1_2
20200 wine_fn_config_makefile dlls/api-ms-win-core-memory-l1-1-3 enable_api_ms_win_core_memory_l1_1_3
20201 wine_fn_config_makefile dlls/api-ms-win-core-memory-l1-1-4 enable_api_ms_win_core_memory_l1_1_4
20202 wine_fn_config_makefile dlls/api-ms-win-core-misc-l1-1-0 enable_api_ms_win_core_misc_l1_1_0
20203 wine_fn_config_makefile dlls/api-ms-win-core-namedpipe-ansi-l1-1-0 enable_api_ms_win_core_namedpipe_ansi_l1_1_0
20204 wine_fn_config_makefile dlls/api-ms-win-core-namedpipe-l1-1-0 enable_api_ms_win_core_namedpipe_l1_1_0
20205 wine_fn_config_makefile dlls/api-ms-win-core-namedpipe-l1-2-0 enable_api_ms_win_core_namedpipe_l1_2_0
20206 wine_fn_config_makefile dlls/api-ms-win-core-namespace-l1-1-0 enable_api_ms_win_core_namespace_l1_1_0
20207 wine_fn_config_makefile dlls/api-ms-win-core-normalization-l1-1-0 enable_api_ms_win_core_normalization_l1_1_0
20208 wine_fn_config_makefile dlls/api-ms-win-core-path-l1-1-0 enable_api_ms_win_core_path_l1_1_0
20209 wine_fn_config_makefile dlls/api-ms-win-core-privateprofile-l1-1-1 enable_api_ms_win_core_privateprofile_l1_1_1
20210 wine_fn_config_makefile dlls/api-ms-win-core-processenvironment-l1-1-0 enable_api_ms_win_core_processenvironment_l1_1_0
20211 wine_fn_config_makefile dlls/api-ms-win-core-processenvironment-l1-2-0 enable_api_ms_win_core_processenvironment_l1_2_0
20212 wine_fn_config_makefile dlls/api-ms-win-core-processthreads-l1-1-0 enable_api_ms_win_core_processthreads_l1_1_0
20213 wine_fn_config_makefile dlls/api-ms-win-core-processthreads-l1-1-1 enable_api_ms_win_core_processthreads_l1_1_1
20214 wine_fn_config_makefile dlls/api-ms-win-core-processthreads-l1-1-2 enable_api_ms_win_core_processthreads_l1_1_2
20215 wine_fn_config_makefile dlls/api-ms-win-core-processthreads-l1-1-3 enable_api_ms_win_core_processthreads_l1_1_3
20216 wine_fn_config_makefile dlls/api-ms-win-core-processtopology-obsolete-l1-1-0 enable_api_ms_win_core_processtopology_obsolete_l1_1_0
20217 wine_fn_config_makefile dlls/api-ms-win-core-profile-l1-1-0 enable_api_ms_win_core_profile_l1_1_0
20218 wine_fn_config_makefile dlls/api-ms-win-core-psapi-ansi-l1-1-0 enable_api_ms_win_core_psapi_ansi_l1_1_0
20219 wine_fn_config_makefile dlls/api-ms-win-core-psapi-l1-1-0 enable_api_ms_win_core_psapi_l1_1_0
20220 wine_fn_config_makefile dlls/api-ms-win-core-psapi-obsolete-l1-1-0 enable_api_ms_win_core_psapi_obsolete_l1_1_0
20221 wine_fn_config_makefile dlls/api-ms-win-core-quirks-l1-1-0 enable_api_ms_win_core_quirks_l1_1_0
20222 wine_fn_config_makefile dlls/api-ms-win-core-realtime-l1-1-0 enable_api_ms_win_core_realtime_l1_1_0
20223 wine_fn_config_makefile dlls/api-ms-win-core-registry-l1-1-0 enable_api_ms_win_core_registry_l1_1_0
20224 wine_fn_config_makefile dlls/api-ms-win-core-registry-l2-1-0 enable_api_ms_win_core_registry_l2_1_0
20225 wine_fn_config_makefile dlls/api-ms-win-core-registry-l2-2-0 enable_api_ms_win_core_registry_l2_2_0
20226 wine_fn_config_makefile dlls/api-ms-win-core-registryuserspecific-l1-1-0 enable_api_ms_win_core_registryuserspecific_l1_1_0
20227 wine_fn_config_makefile dlls/api-ms-win-core-rtlsupport-l1-1-0 enable_api_ms_win_core_rtlsupport_l1_1_0
20228 wine_fn_config_makefile dlls/api-ms-win-core-rtlsupport-l1-2-0 enable_api_ms_win_core_rtlsupport_l1_2_0
20229 wine_fn_config_makefile dlls/api-ms-win-core-shlwapi-legacy-l1-1-0 enable_api_ms_win_core_shlwapi_legacy_l1_1_0
20230 wine_fn_config_makefile dlls/api-ms-win-core-shlwapi-obsolete-l1-1-0 enable_api_ms_win_core_shlwapi_obsolete_l1_1_0
20231 wine_fn_config_makefile dlls/api-ms-win-core-shlwapi-obsolete-l1-2-0 enable_api_ms_win_core_shlwapi_obsolete_l1_2_0
20232 wine_fn_config_makefile dlls/api-ms-win-core-shutdown-l1-1-0 enable_api_ms_win_core_shutdown_l1_1_0
20233 wine_fn_config_makefile dlls/api-ms-win-core-sidebyside-l1-1-0 enable_api_ms_win_core_sidebyside_l1_1_0
20234 wine_fn_config_makefile dlls/api-ms-win-core-string-l1-1-0 enable_api_ms_win_core_string_l1_1_0
20235 wine_fn_config_makefile dlls/api-ms-win-core-string-l2-1-0 enable_api_ms_win_core_string_l2_1_0
20236 wine_fn_config_makefile dlls/api-ms-win-core-string-obsolete-l1-1-0 enable_api_ms_win_core_string_obsolete_l1_1_0
20237 wine_fn_config_makefile dlls/api-ms-win-core-stringansi-l1-1-0 enable_api_ms_win_core_stringansi_l1_1_0
20238 wine_fn_config_makefile dlls/api-ms-win-core-stringloader-l1-1-1 enable_api_ms_win_core_stringloader_l1_1_1
20239 wine_fn_config_makefile dlls/api-ms-win-core-synch-ansi-l1-1-0 enable_api_ms_win_core_synch_ansi_l1_1_0
20240 wine_fn_config_makefile dlls/api-ms-win-core-synch-l1-1-0 enable_api_ms_win_core_synch_l1_1_0
20241 wine_fn_config_makefile dlls/api-ms-win-core-synch-l1-2-0 enable_api_ms_win_core_synch_l1_2_0
20242 wine_fn_config_makefile dlls/api-ms-win-core-synch-l1-2-1 enable_api_ms_win_core_synch_l1_2_1
20243 wine_fn_config_makefile dlls/api-ms-win-core-sysinfo-l1-1-0 enable_api_ms_win_core_sysinfo_l1_1_0
20244 wine_fn_config_makefile dlls/api-ms-win-core-sysinfo-l1-2-0 enable_api_ms_win_core_sysinfo_l1_2_0
20245 wine_fn_config_makefile dlls/api-ms-win-core-sysinfo-l1-2-1 enable_api_ms_win_core_sysinfo_l1_2_1
20246 wine_fn_config_makefile dlls/api-ms-win-core-systemtopology-l1-1-0 enable_api_ms_win_core_systemtopology_l1_1_0
20247 wine_fn_config_makefile dlls/api-ms-win-core-threadpool-l1-1-0 enable_api_ms_win_core_threadpool_l1_1_0
20248 wine_fn_config_makefile dlls/api-ms-win-core-threadpool-l1-2-0 enable_api_ms_win_core_threadpool_l1_2_0
20249 wine_fn_config_makefile dlls/api-ms-win-core-threadpool-legacy-l1-1-0 enable_api_ms_win_core_threadpool_legacy_l1_1_0
20250 wine_fn_config_makefile dlls/api-ms-win-core-threadpool-private-l1-1-0 enable_api_ms_win_core_threadpool_private_l1_1_0
20251 wine_fn_config_makefile dlls/api-ms-win-core-timezone-l1-1-0 enable_api_ms_win_core_timezone_l1_1_0
20252 wine_fn_config_makefile dlls/api-ms-win-core-toolhelp-l1-1-0 enable_api_ms_win_core_toolhelp_l1_1_0
20253 wine_fn_config_makefile dlls/api-ms-win-core-url-l1-1-0 enable_api_ms_win_core_url_l1_1_0
20254 wine_fn_config_makefile dlls/api-ms-win-core-util-l1-1-0 enable_api_ms_win_core_util_l1_1_0
20255 wine_fn_config_makefile dlls/api-ms-win-core-version-l1-1-0 enable_api_ms_win_core_version_l1_1_0
20256 wine_fn_config_makefile dlls/api-ms-win-core-version-l1-1-1 enable_api_ms_win_core_version_l1_1_1
20257 wine_fn_config_makefile dlls/api-ms-win-core-version-private-l1-1-0 enable_api_ms_win_core_version_private_l1_1_0
20258 wine_fn_config_makefile dlls/api-ms-win-core-versionansi-l1-1-0 enable_api_ms_win_core_versionansi_l1_1_0
20259 wine_fn_config_makefile dlls/api-ms-win-core-windowserrorreporting-l1-1-0 enable_api_ms_win_core_windowserrorreporting_l1_1_0
20260 wine_fn_config_makefile dlls/api-ms-win-core-winrt-error-l1-1-0 enable_api_ms_win_core_winrt_error_l1_1_0
20261 wine_fn_config_makefile dlls/api-ms-win-core-winrt-error-l1-1-1 enable_api_ms_win_core_winrt_error_l1_1_1
20262 wine_fn_config_makefile dlls/api-ms-win-core-winrt-errorprivate-l1-1-1 enable_api_ms_win_core_winrt_errorprivate_l1_1_1
20263 wine_fn_config_makefile dlls/api-ms-win-core-winrt-l1-1-0 enable_api_ms_win_core_winrt_l1_1_0
20264 wine_fn_config_makefile dlls/api-ms-win-core-winrt-registration-l1-1-0 enable_api_ms_win_core_winrt_registration_l1_1_0
20265 wine_fn_config_makefile dlls/api-ms-win-core-winrt-roparameterizediid-l1-1-0 enable_api_ms_win_core_winrt_roparameterizediid_l1_1_0
20266 wine_fn_config_makefile dlls/api-ms-win-core-winrt-string-l1-1-0 enable_api_ms_win_core_winrt_string_l1_1_0
20267 wine_fn_config_makefile dlls/api-ms-win-core-winrt-string-l1-1-1 enable_api_ms_win_core_winrt_string_l1_1_1
20268 wine_fn_config_makefile dlls/api-ms-win-core-wow64-l1-1-0 enable_api_ms_win_core_wow64_l1_1_0
20269 wine_fn_config_makefile dlls/api-ms-win-core-wow64-l1-1-1 enable_api_ms_win_core_wow64_l1_1_1
20270 wine_fn_config_makefile dlls/api-ms-win-core-xstate-l1-1-0 enable_api_ms_win_core_xstate_l1_1_0
20271 wine_fn_config_makefile dlls/api-ms-win-core-xstate-l2-1-0 enable_api_ms_win_core_xstate_l2_1_0
20272 wine_fn_config_makefile dlls/api-ms-win-crt-conio-l1-1-0 enable_api_ms_win_crt_conio_l1_1_0
20273 wine_fn_config_makefile dlls/api-ms-win-crt-convert-l1-1-0 enable_api_ms_win_crt_convert_l1_1_0
20274 wine_fn_config_makefile dlls/api-ms-win-crt-environment-l1-1-0 enable_api_ms_win_crt_environment_l1_1_0
20275 wine_fn_config_makefile dlls/api-ms-win-crt-filesystem-l1-1-0 enable_api_ms_win_crt_filesystem_l1_1_0
20276 wine_fn_config_makefile dlls/api-ms-win-crt-heap-l1-1-0 enable_api_ms_win_crt_heap_l1_1_0
20277 wine_fn_config_makefile dlls/api-ms-win-crt-locale-l1-1-0 enable_api_ms_win_crt_locale_l1_1_0
20278 wine_fn_config_makefile dlls/api-ms-win-crt-math-l1-1-0 enable_api_ms_win_crt_math_l1_1_0
20279 wine_fn_config_makefile dlls/api-ms-win-crt-multibyte-l1-1-0 enable_api_ms_win_crt_multibyte_l1_1_0
20280 wine_fn_config_makefile dlls/api-ms-win-crt-private-l1-1-0 enable_api_ms_win_crt_private_l1_1_0
20281 wine_fn_config_makefile dlls/api-ms-win-crt-process-l1-1-0 enable_api_ms_win_crt_process_l1_1_0
20282 wine_fn_config_makefile dlls/api-ms-win-crt-runtime-l1-1-0 enable_api_ms_win_crt_runtime_l1_1_0
20283 wine_fn_config_makefile dlls/api-ms-win-crt-stdio-l1-1-0 enable_api_ms_win_crt_stdio_l1_1_0
20284 wine_fn_config_makefile dlls/api-ms-win-crt-string-l1-1-0 enable_api_ms_win_crt_string_l1_1_0
20285 wine_fn_config_makefile dlls/api-ms-win-crt-time-l1-1-0 enable_api_ms_win_crt_time_l1_1_0
20286 wine_fn_config_makefile dlls/api-ms-win-crt-utility-l1-1-0 enable_api_ms_win_crt_utility_l1_1_0
20287 wine_fn_config_makefile dlls/api-ms-win-devices-config-l1-1-0 enable_api_ms_win_devices_config_l1_1_0
20288 wine_fn_config_makefile dlls/api-ms-win-devices-config-l1-1-1 enable_api_ms_win_devices_config_l1_1_1
20289 wine_fn_config_makefile dlls/api-ms-win-devices-query-l1-1-1 enable_api_ms_win_devices_query_l1_1_1
20290 wine_fn_config_makefile dlls/api-ms-win-downlevel-advapi32-l1-1-0 enable_api_ms_win_downlevel_advapi32_l1_1_0
20291 wine_fn_config_makefile dlls/api-ms-win-downlevel-advapi32-l2-1-0 enable_api_ms_win_downlevel_advapi32_l2_1_0
20292 wine_fn_config_makefile dlls/api-ms-win-downlevel-kernel32-l2-1-0 enable_api_ms_win_downlevel_kernel32_l2_1_0
20293 wine_fn_config_makefile dlls/api-ms-win-downlevel-normaliz-l1-1-0 enable_api_ms_win_downlevel_normaliz_l1_1_0
20294 wine_fn_config_makefile dlls/api-ms-win-downlevel-ole32-l1-1-0 enable_api_ms_win_downlevel_ole32_l1_1_0
20295 wine_fn_config_makefile dlls/api-ms-win-downlevel-shell32-l1-1-0 enable_api_ms_win_downlevel_shell32_l1_1_0
20296 wine_fn_config_makefile dlls/api-ms-win-downlevel-shlwapi-l1-1-0 enable_api_ms_win_downlevel_shlwapi_l1_1_0
20297 wine_fn_config_makefile dlls/api-ms-win-downlevel-shlwapi-l2-1-0 enable_api_ms_win_downlevel_shlwapi_l2_1_0
20298 wine_fn_config_makefile dlls/api-ms-win-downlevel-user32-l1-1-0 enable_api_ms_win_downlevel_user32_l1_1_0
20299 wine_fn_config_makefile dlls/api-ms-win-downlevel-version-l1-1-0 enable_api_ms_win_downlevel_version_l1_1_0
20300 wine_fn_config_makefile dlls/api-ms-win-dx-d3dkmt-l1-1-0 enable_api_ms_win_dx_d3dkmt_l1_1_0
20301 wine_fn_config_makefile dlls/api-ms-win-eventing-classicprovider-l1-1-0 enable_api_ms_win_eventing_classicprovider_l1_1_0
20302 wine_fn_config_makefile dlls/api-ms-win-eventing-consumer-l1-1-0 enable_api_ms_win_eventing_consumer_l1_1_0
20303 wine_fn_config_makefile dlls/api-ms-win-eventing-controller-l1-1-0 enable_api_ms_win_eventing_controller_l1_1_0
20304 wine_fn_config_makefile dlls/api-ms-win-eventing-legacy-l1-1-0 enable_api_ms_win_eventing_legacy_l1_1_0
20305 wine_fn_config_makefile dlls/api-ms-win-eventing-provider-l1-1-0 enable_api_ms_win_eventing_provider_l1_1_0
20306 wine_fn_config_makefile dlls/api-ms-win-eventlog-legacy-l1-1-0 enable_api_ms_win_eventlog_legacy_l1_1_0
20307 wine_fn_config_makefile dlls/api-ms-win-gdi-dpiinfo-l1-1-0 enable_api_ms_win_gdi_dpiinfo_l1_1_0
20308 wine_fn_config_makefile dlls/api-ms-win-mm-joystick-l1-1-0 enable_api_ms_win_mm_joystick_l1_1_0
20309 wine_fn_config_makefile dlls/api-ms-win-mm-misc-l1-1-1 enable_api_ms_win_mm_misc_l1_1_1
20310 wine_fn_config_makefile dlls/api-ms-win-mm-mme-l1-1-0 enable_api_ms_win_mm_mme_l1_1_0
20311 wine_fn_config_makefile dlls/api-ms-win-mm-time-l1-1-0 enable_api_ms_win_mm_time_l1_1_0
20312 wine_fn_config_makefile dlls/api-ms-win-ntuser-dc-access-l1-1-0 enable_api_ms_win_ntuser_dc_access_l1_1_0
20313 wine_fn_config_makefile dlls/api-ms-win-ntuser-rectangle-l1-1-0 enable_api_ms_win_ntuser_rectangle_l1_1_0
20314 wine_fn_config_makefile dlls/api-ms-win-ntuser-sysparams-l1-1-0 enable_api_ms_win_ntuser_sysparams_l1_1_0
20315 wine_fn_config_makefile dlls/api-ms-win-perf-legacy-l1-1-0 enable_api_ms_win_perf_legacy_l1_1_0
20316 wine_fn_config_makefile dlls/api-ms-win-power-base-l1-1-0 enable_api_ms_win_power_base_l1_1_0
20317 wine_fn_config_makefile dlls/api-ms-win-power-setting-l1-1-0 enable_api_ms_win_power_setting_l1_1_0
20318 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-draw-l1-1-0 enable_api_ms_win_rtcore_ntuser_draw_l1_1_0
20319 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-private-l1-1-0 enable_api_ms_win_rtcore_ntuser_private_l1_1_0
20320 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-private-l1-1-4 enable_api_ms_win_rtcore_ntuser_private_l1_1_4
20321 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-window-l1-1-0 enable_api_ms_win_rtcore_ntuser_window_l1_1_0
20322 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-winevent-l1-1-0 enable_api_ms_win_rtcore_ntuser_winevent_l1_1_0
20323 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-wmpointer-l1-1-0 enable_api_ms_win_rtcore_ntuser_wmpointer_l1_1_0
20324 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-wmpointer-l1-1-3 enable_api_ms_win_rtcore_ntuser_wmpointer_l1_1_3
20325 wine_fn_config_makefile dlls/api-ms-win-security-activedirectoryclient-l1-1-0 enable_api_ms_win_security_activedirectoryclient_l1_1_0
20326 wine_fn_config_makefile dlls/api-ms-win-security-audit-l1-1-1 enable_api_ms_win_security_audit_l1_1_1
20327 wine_fn_config_makefile dlls/api-ms-win-security-base-l1-1-0 enable_api_ms_win_security_base_l1_1_0
20328 wine_fn_config_makefile dlls/api-ms-win-security-base-l1-2-0 enable_api_ms_win_security_base_l1_2_0
20329 wine_fn_config_makefile dlls/api-ms-win-security-base-private-l1-1-1 enable_api_ms_win_security_base_private_l1_1_1
20330 wine_fn_config_makefile dlls/api-ms-win-security-credentials-l1-1-0 enable_api_ms_win_security_credentials_l1_1_0
20331 wine_fn_config_makefile dlls/api-ms-win-security-cryptoapi-l1-1-0 enable_api_ms_win_security_cryptoapi_l1_1_0
20332 wine_fn_config_makefile dlls/api-ms-win-security-grouppolicy-l1-1-0 enable_api_ms_win_security_grouppolicy_l1_1_0
20333 wine_fn_config_makefile dlls/api-ms-win-security-lsalookup-l1-1-0 enable_api_ms_win_security_lsalookup_l1_1_0
20334 wine_fn_config_makefile dlls/api-ms-win-security-lsalookup-l1-1-1 enable_api_ms_win_security_lsalookup_l1_1_1
20335 wine_fn_config_makefile dlls/api-ms-win-security-lsalookup-l2-1-0 enable_api_ms_win_security_lsalookup_l2_1_0
20336 wine_fn_config_makefile dlls/api-ms-win-security-lsalookup-l2-1-1 enable_api_ms_win_security_lsalookup_l2_1_1
20337 wine_fn_config_makefile dlls/api-ms-win-security-lsapolicy-l1-1-0 enable_api_ms_win_security_lsapolicy_l1_1_0
20338 wine_fn_config_makefile dlls/api-ms-win-security-provider-l1-1-0 enable_api_ms_win_security_provider_l1_1_0
20339 wine_fn_config_makefile dlls/api-ms-win-security-sddl-l1-1-0 enable_api_ms_win_security_sddl_l1_1_0
20340 wine_fn_config_makefile dlls/api-ms-win-security-systemfunctions-l1-1-0 enable_api_ms_win_security_systemfunctions_l1_1_0
20341 wine_fn_config_makefile dlls/api-ms-win-service-core-l1-1-0 enable_api_ms_win_service_core_l1_1_0
20342 wine_fn_config_makefile dlls/api-ms-win-service-core-l1-1-1 enable_api_ms_win_service_core_l1_1_1
20343 wine_fn_config_makefile dlls/api-ms-win-service-management-l1-1-0 enable_api_ms_win_service_management_l1_1_0
20344 wine_fn_config_makefile dlls/api-ms-win-service-management-l2-1-0 enable_api_ms_win_service_management_l2_1_0
20345 wine_fn_config_makefile dlls/api-ms-win-service-private-l1-1-1 enable_api_ms_win_service_private_l1_1_1
20346 wine_fn_config_makefile dlls/api-ms-win-service-winsvc-l1-1-0 enable_api_ms_win_service_winsvc_l1_1_0
20347 wine_fn_config_makefile dlls/api-ms-win-service-winsvc-l1-2-0 enable_api_ms_win_service_winsvc_l1_2_0
20348 wine_fn_config_makefile dlls/api-ms-win-shcore-obsolete-l1-1-0 enable_api_ms_win_shcore_obsolete_l1_1_0
20349 wine_fn_config_makefile dlls/api-ms-win-shcore-scaling-l1-1-0 enable_api_ms_win_shcore_scaling_l1_1_0
20350 wine_fn_config_makefile dlls/api-ms-win-shcore-scaling-l1-1-1 enable_api_ms_win_shcore_scaling_l1_1_1
20351 wine_fn_config_makefile dlls/api-ms-win-shcore-stream-l1-1-0 enable_api_ms_win_shcore_stream_l1_1_0
20352 wine_fn_config_makefile dlls/api-ms-win-shcore-stream-winrt-l1-1-0 enable_api_ms_win_shcore_stream_winrt_l1_1_0
20353 wine_fn_config_makefile dlls/api-ms-win-shcore-thread-l1-1-0 enable_api_ms_win_shcore_thread_l1_1_0
20354 wine_fn_config_makefile dlls/api-ms-win-shell-shellcom-l1-1-0 enable_api_ms_win_shell_shellcom_l1_1_0
20355 wine_fn_config_makefile dlls/api-ms-win-shell-shellfolders-l1-1-0 enable_api_ms_win_shell_shellfolders_l1_1_0
20356 wine_fn_config_makefile dlls/apphelp enable_apphelp
20357 wine_fn_config_makefile dlls/apphelp/tests enable_tests
20358 wine_fn_config_makefile dlls/appwiz.cpl enable_appwiz_cpl
20359 wine_fn_config_makefile dlls/atl enable_atl
20360 wine_fn_config_makefile dlls/atl/tests enable_tests
20361 wine_fn_config_makefile dlls/atl100 enable_atl100
20362 wine_fn_config_makefile dlls/atl100/tests enable_tests
20363 wine_fn_config_makefile dlls/atl110 enable_atl110
20364 wine_fn_config_makefile dlls/atl80 enable_atl80
20365 wine_fn_config_makefile dlls/atl80/tests enable_tests
20366 wine_fn_config_makefile dlls/atl90 enable_atl90
20367 wine_fn_config_makefile dlls/atlthunk enable_atlthunk
20368 wine_fn_config_makefile dlls/atlthunk/tests enable_tests
20369 wine_fn_config_makefile dlls/atmlib enable_atmlib
20370 wine_fn_config_makefile dlls/authz enable_authz
20371 wine_fn_config_makefile dlls/avicap32 enable_avicap32
20372 wine_fn_config_makefile dlls/avifil32 enable_avifil32
20373 wine_fn_config_makefile dlls/avifil32/tests enable_tests
20374 wine_fn_config_makefile dlls/avifile.dll16 enable_win16
20375 wine_fn_config_makefile dlls/avrt enable_avrt
20376 wine_fn_config_makefile dlls/bcrypt enable_bcrypt
20377 wine_fn_config_makefile dlls/bcrypt/tests enable_tests
20378 wine_fn_config_makefile dlls/bluetoothapis enable_bluetoothapis
20379 wine_fn_config_makefile dlls/browseui enable_browseui
20380 wine_fn_config_makefile dlls/browseui/tests enable_tests
20381 wine_fn_config_makefile dlls/bthprops.cpl enable_bthprops_cpl
20382 wine_fn_config_makefile dlls/cabinet enable_cabinet
20383 wine_fn_config_makefile dlls/cabinet/tests enable_tests
20384 wine_fn_config_makefile dlls/capi2032 enable_capi2032
20385 wine_fn_config_makefile dlls/cards enable_cards
20386 wine_fn_config_makefile dlls/cdosys enable_cdosys
20387 wine_fn_config_makefile dlls/cfgmgr32 enable_cfgmgr32
20388 wine_fn_config_makefile dlls/clusapi enable_clusapi
20389 wine_fn_config_makefile dlls/combase enable_combase
20390 wine_fn_config_makefile dlls/combase/tests enable_tests
20391 wine_fn_config_makefile dlls/comcat enable_comcat
20392 wine_fn_config_makefile dlls/comcat/tests enable_tests
20393 wine_fn_config_makefile dlls/comctl32 enable_comctl32
20394 wine_fn_config_makefile dlls/comctl32/tests enable_tests
20395 wine_fn_config_makefile dlls/comdlg32 enable_comdlg32
20396 wine_fn_config_makefile dlls/comdlg32/tests enable_tests
20397 wine_fn_config_makefile dlls/comm.drv16 enable_win16
20398 wine_fn_config_makefile dlls/commdlg.dll16 enable_win16
20399 wine_fn_config_makefile dlls/compobj.dll16 enable_win16
20400 wine_fn_config_makefile dlls/compstui enable_compstui
20401 wine_fn_config_makefile dlls/comsvcs enable_comsvcs
20402 wine_fn_config_makefile dlls/comsvcs/tests enable_tests
20403 wine_fn_config_makefile dlls/concrt140 enable_concrt140
20404 wine_fn_config_makefile dlls/concrt140/tests enable_tests
20405 wine_fn_config_makefile dlls/connect enable_connect
20406 wine_fn_config_makefile dlls/credui enable_credui
20407 wine_fn_config_makefile dlls/credui/tests enable_tests
20408 wine_fn_config_makefile dlls/crtdll enable_crtdll
20409 wine_fn_config_makefile dlls/crypt32 enable_crypt32
20410 wine_fn_config_makefile dlls/crypt32/tests enable_tests
20411 wine_fn_config_makefile dlls/cryptdlg enable_cryptdlg
20412 wine_fn_config_makefile dlls/cryptdll enable_cryptdll
20413 wine_fn_config_makefile dlls/cryptext enable_cryptext
20414 wine_fn_config_makefile dlls/cryptnet enable_cryptnet
20415 wine_fn_config_makefile dlls/cryptnet/tests enable_tests
20416 wine_fn_config_makefile dlls/cryptsp enable_cryptsp
20417 wine_fn_config_makefile dlls/cryptui enable_cryptui
20418 wine_fn_config_makefile dlls/cryptui/tests enable_tests
20419 wine_fn_config_makefile dlls/ctapi32 enable_ctapi32
20420 wine_fn_config_makefile dlls/ctl3d.dll16 enable_win16
20421 wine_fn_config_makefile dlls/ctl3d32 enable_ctl3d32
20422 wine_fn_config_makefile dlls/ctl3dv2.dll16 enable_win16
20423 wine_fn_config_makefile dlls/d2d1 enable_d2d1
20424 wine_fn_config_makefile dlls/d2d1/tests enable_tests
20425 wine_fn_config_makefile dlls/d3d10 enable_d3d10
20426 wine_fn_config_makefile dlls/d3d10/tests enable_tests
20427 wine_fn_config_makefile dlls/d3d10_1 enable_d3d10_1
20428 wine_fn_config_makefile dlls/d3d10_1/tests enable_tests
20429 wine_fn_config_makefile dlls/d3d10core enable_d3d10core
20430 wine_fn_config_makefile dlls/d3d10core/tests enable_tests
20431 wine_fn_config_makefile dlls/d3d11 enable_d3d11
20432 wine_fn_config_makefile dlls/d3d11/tests enable_tests
20433 wine_fn_config_makefile dlls/d3d12 enable_d3d12
20434 wine_fn_config_makefile dlls/d3d12/tests enable_tests
20435 wine_fn_config_makefile dlls/d3d8 enable_d3d8
20436 wine_fn_config_makefile dlls/d3d8/tests enable_tests
20437 wine_fn_config_makefile dlls/d3d8thk enable_d3d8thk
20438 wine_fn_config_makefile dlls/d3d9 enable_d3d9
20439 wine_fn_config_makefile dlls/d3d9/tests enable_tests
20440 wine_fn_config_makefile dlls/d3dcompiler_33 enable_d3dcompiler_33
20441 wine_fn_config_makefile dlls/d3dcompiler_34 enable_d3dcompiler_34
20442 wine_fn_config_makefile dlls/d3dcompiler_35 enable_d3dcompiler_35
20443 wine_fn_config_makefile dlls/d3dcompiler_36 enable_d3dcompiler_36
20444 wine_fn_config_makefile dlls/d3dcompiler_37 enable_d3dcompiler_37
20445 wine_fn_config_makefile dlls/d3dcompiler_38 enable_d3dcompiler_38
20446 wine_fn_config_makefile dlls/d3dcompiler_39 enable_d3dcompiler_39
20447 wine_fn_config_makefile dlls/d3dcompiler_40 enable_d3dcompiler_40
20448 wine_fn_config_makefile dlls/d3dcompiler_41 enable_d3dcompiler_41
20449 wine_fn_config_makefile dlls/d3dcompiler_42 enable_d3dcompiler_42
20450 wine_fn_config_makefile dlls/d3dcompiler_43 enable_d3dcompiler_43
20451 wine_fn_config_makefile dlls/d3dcompiler_43/tests enable_tests
20452 wine_fn_config_makefile dlls/d3dcompiler_46 enable_d3dcompiler_46
20453 wine_fn_config_makefile dlls/d3dcompiler_47 enable_d3dcompiler_47
20454 wine_fn_config_makefile dlls/d3dcompiler_47/tests enable_tests
20455 wine_fn_config_makefile dlls/d3dim enable_d3dim
20456 wine_fn_config_makefile dlls/d3dim700 enable_d3dim700
20457 wine_fn_config_makefile dlls/d3drm enable_d3drm
20458 wine_fn_config_makefile dlls/d3drm/tests enable_tests
20459 wine_fn_config_makefile dlls/d3dx10_33 enable_d3dx10_33
20460 wine_fn_config_makefile dlls/d3dx10_34 enable_d3dx10_34
20461 wine_fn_config_makefile dlls/d3dx10_35 enable_d3dx10_35
20462 wine_fn_config_makefile dlls/d3dx10_36 enable_d3dx10_36
20463 wine_fn_config_makefile dlls/d3dx10_37 enable_d3dx10_37
20464 wine_fn_config_makefile dlls/d3dx10_38 enable_d3dx10_38
20465 wine_fn_config_makefile dlls/d3dx10_39 enable_d3dx10_39
20466 wine_fn_config_makefile dlls/d3dx10_40 enable_d3dx10_40
20467 wine_fn_config_makefile dlls/d3dx10_41 enable_d3dx10_41
20468 wine_fn_config_makefile dlls/d3dx10_42 enable_d3dx10_42
20469 wine_fn_config_makefile dlls/d3dx10_43 enable_d3dx10_43
20470 wine_fn_config_makefile dlls/d3dx10_43/tests enable_tests
20471 wine_fn_config_makefile dlls/d3dx11_42 enable_d3dx11_42
20472 wine_fn_config_makefile dlls/d3dx11_43 enable_d3dx11_43
20473 wine_fn_config_makefile dlls/d3dx11_43/tests enable_tests
20474 wine_fn_config_makefile dlls/d3dx9_24 enable_d3dx9_24
20475 wine_fn_config_makefile dlls/d3dx9_25 enable_d3dx9_25
20476 wine_fn_config_makefile dlls/d3dx9_26 enable_d3dx9_26
20477 wine_fn_config_makefile dlls/d3dx9_27 enable_d3dx9_27
20478 wine_fn_config_makefile dlls/d3dx9_28 enable_d3dx9_28
20479 wine_fn_config_makefile dlls/d3dx9_29 enable_d3dx9_29
20480 wine_fn_config_makefile dlls/d3dx9_30 enable_d3dx9_30
20481 wine_fn_config_makefile dlls/d3dx9_31 enable_d3dx9_31
20482 wine_fn_config_makefile dlls/d3dx9_32 enable_d3dx9_32
20483 wine_fn_config_makefile dlls/d3dx9_33 enable_d3dx9_33
20484 wine_fn_config_makefile dlls/d3dx9_34 enable_d3dx9_34
20485 wine_fn_config_makefile dlls/d3dx9_35 enable_d3dx9_35
20486 wine_fn_config_makefile dlls/d3dx9_36 enable_d3dx9_36
20487 wine_fn_config_makefile dlls/d3dx9_36/tests enable_tests
20488 wine_fn_config_makefile dlls/d3dx9_37 enable_d3dx9_37
20489 wine_fn_config_makefile dlls/d3dx9_38 enable_d3dx9_38
20490 wine_fn_config_makefile dlls/d3dx9_39 enable_d3dx9_39
20491 wine_fn_config_makefile dlls/d3dx9_40 enable_d3dx9_40
20492 wine_fn_config_makefile dlls/d3dx9_41 enable_d3dx9_41
20493 wine_fn_config_makefile dlls/d3dx9_42 enable_d3dx9_42
20494 wine_fn_config_makefile dlls/d3dx9_43 enable_d3dx9_43
20495 wine_fn_config_makefile dlls/d3dxof enable_d3dxof
20496 wine_fn_config_makefile dlls/d3dxof/tests enable_tests
20497 wine_fn_config_makefile dlls/davclnt enable_davclnt
20498 wine_fn_config_makefile dlls/dbgeng enable_dbgeng
20499 wine_fn_config_makefile dlls/dbgeng/tests enable_tests
20500 wine_fn_config_makefile dlls/dbghelp enable_dbghelp
20501 wine_fn_config_makefile dlls/dbghelp/tests enable_tests
20502 wine_fn_config_makefile dlls/dciman32 enable_dciman32
20503 wine_fn_config_makefile dlls/dcomp enable_dcomp
20504 wine_fn_config_makefile dlls/ddeml.dll16 enable_win16
20505 wine_fn_config_makefile dlls/ddraw enable_ddraw
20506 wine_fn_config_makefile dlls/ddraw/tests enable_tests
20507 wine_fn_config_makefile dlls/ddrawex enable_ddrawex
20508 wine_fn_config_makefile dlls/ddrawex/tests enable_tests
20509 wine_fn_config_makefile dlls/devenum enable_devenum
20510 wine_fn_config_makefile dlls/devenum/tests enable_tests
20511 wine_fn_config_makefile dlls/dhcpcsvc enable_dhcpcsvc
20512 wine_fn_config_makefile dlls/dhcpcsvc/tests enable_tests
20513 wine_fn_config_makefile dlls/dhtmled.ocx enable_dhtmled_ocx
20514 wine_fn_config_makefile dlls/difxapi enable_difxapi
20515 wine_fn_config_makefile dlls/dinput enable_dinput
20516 wine_fn_config_makefile dlls/dinput/tests enable_tests
20517 wine_fn_config_makefile dlls/dinput8 enable_dinput8
20518 wine_fn_config_makefile dlls/dinput8/tests enable_tests
20519 wine_fn_config_makefile dlls/directmanipulation enable_directmanipulation
20520 wine_fn_config_makefile dlls/directmanipulation/tests enable_tests
20521 wine_fn_config_makefile dlls/dispdib.dll16 enable_win16
20522 wine_fn_config_makefile dlls/dispex enable_dispex
20523 wine_fn_config_makefile dlls/dispex/tests enable_tests
20524 wine_fn_config_makefile dlls/display.drv16 enable_win16
20525 wine_fn_config_makefile dlls/dmband enable_dmband
20526 wine_fn_config_makefile dlls/dmband/tests enable_tests
20527 wine_fn_config_makefile dlls/dmcompos enable_dmcompos
20528 wine_fn_config_makefile dlls/dmcompos/tests enable_tests
20529 wine_fn_config_makefile dlls/dmime enable_dmime
20530 wine_fn_config_makefile dlls/dmime/tests enable_tests
20531 wine_fn_config_makefile dlls/dmloader enable_dmloader
20532 wine_fn_config_makefile dlls/dmloader/tests enable_tests
20533 wine_fn_config_makefile dlls/dmoguids enable_dmoguids
20534 wine_fn_config_makefile dlls/dmscript enable_dmscript
20535 wine_fn_config_makefile dlls/dmscript/tests enable_tests
20536 wine_fn_config_makefile dlls/dmstyle enable_dmstyle
20537 wine_fn_config_makefile dlls/dmstyle/tests enable_tests
20538 wine_fn_config_makefile dlls/dmsynth enable_dmsynth
20539 wine_fn_config_makefile dlls/dmsynth/tests enable_tests
20540 wine_fn_config_makefile dlls/dmusic enable_dmusic
20541 wine_fn_config_makefile dlls/dmusic/tests enable_tests
20542 wine_fn_config_makefile dlls/dmusic32 enable_dmusic32
20543 wine_fn_config_makefile dlls/dnsapi enable_dnsapi
20544 wine_fn_config_makefile dlls/dnsapi/tests enable_tests
20545 wine_fn_config_makefile dlls/dplay enable_dplay
20546 wine_fn_config_makefile dlls/dplayx enable_dplayx
20547 wine_fn_config_makefile dlls/dplayx/tests enable_tests
20548 wine_fn_config_makefile dlls/dpnaddr enable_dpnaddr
20549 wine_fn_config_makefile dlls/dpnet enable_dpnet
20550 wine_fn_config_makefile dlls/dpnet/tests enable_tests
20551 wine_fn_config_makefile dlls/dpnhpast enable_dpnhpast
20552 wine_fn_config_makefile dlls/dpnlobby enable_dpnlobby
20553 wine_fn_config_makefile dlls/dpvoice enable_dpvoice
20554 wine_fn_config_makefile dlls/dpvoice/tests enable_tests
20555 wine_fn_config_makefile dlls/dpwsockx enable_dpwsockx
20556 wine_fn_config_makefile dlls/drmclien enable_drmclien
20557 wine_fn_config_makefile dlls/dsdmo enable_dsdmo
20558 wine_fn_config_makefile dlls/dsdmo/tests enable_tests
20559 wine_fn_config_makefile dlls/dsound enable_dsound
20560 wine_fn_config_makefile dlls/dsound/tests enable_tests
20561 wine_fn_config_makefile dlls/dsquery enable_dsquery
20562 wine_fn_config_makefile dlls/dssenh enable_dssenh
20563 wine_fn_config_makefile dlls/dssenh/tests enable_tests
20564 wine_fn_config_makefile dlls/dsuiext enable_dsuiext
20565 wine_fn_config_makefile dlls/dswave enable_dswave
20566 wine_fn_config_makefile dlls/dswave/tests enable_tests
20567 wine_fn_config_makefile dlls/dwmapi enable_dwmapi
20568 wine_fn_config_makefile dlls/dwmapi/tests enable_tests
20569 wine_fn_config_makefile dlls/dwrite enable_dwrite
20570 wine_fn_config_makefile dlls/dwrite/tests enable_tests
20571 wine_fn_config_makefile dlls/dx8vb enable_dx8vb
20572 wine_fn_config_makefile dlls/dxdiagn enable_dxdiagn
20573 wine_fn_config_makefile dlls/dxdiagn/tests enable_tests
20574 wine_fn_config_makefile dlls/dxerr8 enable_dxerr8
20575 wine_fn_config_makefile dlls/dxerr9 enable_dxerr9
20576 wine_fn_config_makefile dlls/dxgi enable_dxgi
20577 wine_fn_config_makefile dlls/dxgi/tests enable_tests
20578 wine_fn_config_makefile dlls/dxguid enable_dxguid
20579 wine_fn_config_makefile dlls/dxva2 enable_dxva2
20580 wine_fn_config_makefile dlls/dxva2/tests enable_tests
20581 wine_fn_config_makefile dlls/esent enable_esent
20582 wine_fn_config_makefile dlls/evr enable_evr
20583 wine_fn_config_makefile dlls/evr/tests enable_tests
20584 wine_fn_config_makefile dlls/explorerframe enable_explorerframe
20585 wine_fn_config_makefile dlls/explorerframe/tests enable_tests
20586 wine_fn_config_makefile dlls/ext-ms-win-authz-context-l1-1-0 enable_ext_ms_win_authz_context_l1_1_0
20587 wine_fn_config_makefile dlls/ext-ms-win-domainjoin-netjoin-l1-1-0 enable_ext_ms_win_domainjoin_netjoin_l1_1_0
20588 wine_fn_config_makefile dlls/ext-ms-win-dwmapi-ext-l1-1-0 enable_ext_ms_win_dwmapi_ext_l1_1_0
20589 wine_fn_config_makefile dlls/ext-ms-win-gdi-dc-create-l1-1-0 enable_ext_ms_win_gdi_dc_create_l1_1_0
20590 wine_fn_config_makefile dlls/ext-ms-win-gdi-dc-create-l1-1-1 enable_ext_ms_win_gdi_dc_create_l1_1_1
20591 wine_fn_config_makefile dlls/ext-ms-win-gdi-dc-l1-2-0 enable_ext_ms_win_gdi_dc_l1_2_0
20592 wine_fn_config_makefile dlls/ext-ms-win-gdi-devcaps-l1-1-0 enable_ext_ms_win_gdi_devcaps_l1_1_0
20593 wine_fn_config_makefile dlls/ext-ms-win-gdi-draw-l1-1-0 enable_ext_ms_win_gdi_draw_l1_1_0
20594 wine_fn_config_makefile dlls/ext-ms-win-gdi-draw-l1-1-1 enable_ext_ms_win_gdi_draw_l1_1_1
20595 wine_fn_config_makefile dlls/ext-ms-win-gdi-font-l1-1-0 enable_ext_ms_win_gdi_font_l1_1_0
20596 wine_fn_config_makefile dlls/ext-ms-win-gdi-font-l1-1-1 enable_ext_ms_win_gdi_font_l1_1_1
20597 wine_fn_config_makefile dlls/ext-ms-win-gdi-render-l1-1-0 enable_ext_ms_win_gdi_render_l1_1_0
20598 wine_fn_config_makefile dlls/ext-ms-win-kernel32-package-current-l1-1-0 enable_ext_ms_win_kernel32_package_current_l1_1_0
20599 wine_fn_config_makefile dlls/ext-ms-win-kernel32-package-l1-1-1 enable_ext_ms_win_kernel32_package_l1_1_1
20600 wine_fn_config_makefile dlls/ext-ms-win-ntuser-dialogbox-l1-1-0 enable_ext_ms_win_ntuser_dialogbox_l1_1_0
20601 wine_fn_config_makefile dlls/ext-ms-win-ntuser-draw-l1-1-0 enable_ext_ms_win_ntuser_draw_l1_1_0
20602 wine_fn_config_makefile dlls/ext-ms-win-ntuser-gui-l1-1-0 enable_ext_ms_win_ntuser_gui_l1_1_0
20603 wine_fn_config_makefile dlls/ext-ms-win-ntuser-gui-l1-3-0 enable_ext_ms_win_ntuser_gui_l1_3_0
20604 wine_fn_config_makefile dlls/ext-ms-win-ntuser-keyboard-l1-3-0 enable_ext_ms_win_ntuser_keyboard_l1_3_0
20605 wine_fn_config_makefile dlls/ext-ms-win-ntuser-message-l1-1-0 enable_ext_ms_win_ntuser_message_l1_1_0
20606 wine_fn_config_makefile dlls/ext-ms-win-ntuser-message-l1-1-1 enable_ext_ms_win_ntuser_message_l1_1_1
20607 wine_fn_config_makefile dlls/ext-ms-win-ntuser-misc-l1-1-0 enable_ext_ms_win_ntuser_misc_l1_1_0
20608 wine_fn_config_makefile dlls/ext-ms-win-ntuser-misc-l1-2-0 enable_ext_ms_win_ntuser_misc_l1_2_0
20609 wine_fn_config_makefile dlls/ext-ms-win-ntuser-misc-l1-5-1 enable_ext_ms_win_ntuser_misc_l1_5_1
20610 wine_fn_config_makefile dlls/ext-ms-win-ntuser-mouse-l1-1-0 enable_ext_ms_win_ntuser_mouse_l1_1_0
20611 wine_fn_config_makefile dlls/ext-ms-win-ntuser-private-l1-1-1 enable_ext_ms_win_ntuser_private_l1_1_1
20612 wine_fn_config_makefile dlls/ext-ms-win-ntuser-private-l1-3-1 enable_ext_ms_win_ntuser_private_l1_3_1
20613 wine_fn_config_makefile dlls/ext-ms-win-ntuser-rectangle-ext-l1-1-0 enable_ext_ms_win_ntuser_rectangle_ext_l1_1_0
20614 wine_fn_config_makefile dlls/ext-ms-win-ntuser-uicontext-ext-l1-1-0 enable_ext_ms_win_ntuser_uicontext_ext_l1_1_0
20615 wine_fn_config_makefile dlls/ext-ms-win-ntuser-window-l1-1-0 enable_ext_ms_win_ntuser_window_l1_1_0
20616 wine_fn_config_makefile dlls/ext-ms-win-ntuser-window-l1-1-1 enable_ext_ms_win_ntuser_window_l1_1_1
20617 wine_fn_config_makefile dlls/ext-ms-win-ntuser-window-l1-1-4 enable_ext_ms_win_ntuser_window_l1_1_4
20618 wine_fn_config_makefile dlls/ext-ms-win-ntuser-windowclass-l1-1-0 enable_ext_ms_win_ntuser_windowclass_l1_1_0
20619 wine_fn_config_makefile dlls/ext-ms-win-ntuser-windowclass-l1-1-1 enable_ext_ms_win_ntuser_windowclass_l1_1_1
20620 wine_fn_config_makefile dlls/ext-ms-win-oleacc-l1-1-0 enable_ext_ms_win_oleacc_l1_1_0
20621 wine_fn_config_makefile dlls/ext-ms-win-ras-rasapi32-l1-1-0 enable_ext_ms_win_ras_rasapi32_l1_1_0
20622 wine_fn_config_makefile dlls/ext-ms-win-rtcore-gdi-devcaps-l1-1-0 enable_ext_ms_win_rtcore_gdi_devcaps_l1_1_0
20623 wine_fn_config_makefile dlls/ext-ms-win-rtcore-gdi-object-l1-1-0 enable_ext_ms_win_rtcore_gdi_object_l1_1_0
20624 wine_fn_config_makefile dlls/ext-ms-win-rtcore-gdi-rgn-l1-1-0 enable_ext_ms_win_rtcore_gdi_rgn_l1_1_0
20625 wine_fn_config_makefile dlls/ext-ms-win-rtcore-ntuser-cursor-l1-1-0 enable_ext_ms_win_rtcore_ntuser_cursor_l1_1_0
20626 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
20627 wine_fn_config_makefile dlls/ext-ms-win-rtcore-ntuser-dpi-l1-1-0 enable_ext_ms_win_rtcore_ntuser_dpi_l1_1_0
20628 wine_fn_config_makefile dlls/ext-ms-win-rtcore-ntuser-dpi-l1-2-0 enable_ext_ms_win_rtcore_ntuser_dpi_l1_2_0
20629 wine_fn_config_makefile dlls/ext-ms-win-rtcore-ntuser-rawinput-l1-1-0 enable_ext_ms_win_rtcore_ntuser_rawinput_l1_1_0
20630 wine_fn_config_makefile dlls/ext-ms-win-rtcore-ntuser-syscolors-l1-1-0 enable_ext_ms_win_rtcore_ntuser_syscolors_l1_1_0
20631 wine_fn_config_makefile dlls/ext-ms-win-rtcore-ntuser-sysparams-l1-1-0 enable_ext_ms_win_rtcore_ntuser_sysparams_l1_1_0
20632 wine_fn_config_makefile dlls/ext-ms-win-security-credui-l1-1-0 enable_ext_ms_win_security_credui_l1_1_0
20633 wine_fn_config_makefile dlls/ext-ms-win-security-cryptui-l1-1-0 enable_ext_ms_win_security_cryptui_l1_1_0
20634 wine_fn_config_makefile dlls/ext-ms-win-shell-comctl32-init-l1-1-0 enable_ext_ms_win_shell_comctl32_init_l1_1_0
20635 wine_fn_config_makefile dlls/ext-ms-win-shell-comdlg32-l1-1-0 enable_ext_ms_win_shell_comdlg32_l1_1_0
20636 wine_fn_config_makefile dlls/ext-ms-win-shell-shell32-l1-2-0 enable_ext_ms_win_shell_shell32_l1_2_0
20637 wine_fn_config_makefile dlls/ext-ms-win-uxtheme-themes-l1-1-0 enable_ext_ms_win_uxtheme_themes_l1_1_0
20638 wine_fn_config_makefile dlls/faultrep enable_faultrep
20639 wine_fn_config_makefile dlls/faultrep/tests enable_tests
20640 wine_fn_config_makefile dlls/feclient enable_feclient
20641 wine_fn_config_makefile dlls/fltlib enable_fltlib
20642 wine_fn_config_makefile dlls/fltmgr.sys enable_fltmgr_sys
20643 wine_fn_config_makefile dlls/fntcache enable_fntcache
20644 wine_fn_config_makefile dlls/fontsub enable_fontsub
20645 wine_fn_config_makefile dlls/fusion enable_fusion
20646 wine_fn_config_makefile dlls/fusion/tests enable_tests
20647 wine_fn_config_makefile dlls/fwpuclnt enable_fwpuclnt
20648 wine_fn_config_makefile dlls/gameux enable_gameux
20649 wine_fn_config_makefile dlls/gameux/tests enable_tests
20650 wine_fn_config_makefile dlls/gdi.exe16 enable_win16
20651 wine_fn_config_makefile dlls/gdi32 enable_gdi32
20652 wine_fn_config_makefile dlls/gdi32/tests enable_tests
20653 wine_fn_config_makefile dlls/gdiplus enable_gdiplus
20654 wine_fn_config_makefile dlls/gdiplus/tests enable_tests
20655 wine_fn_config_makefile dlls/glu32 enable_glu32
20656 wine_fn_config_makefile dlls/gphoto2.ds enable_gphoto2_ds
20657 wine_fn_config_makefile dlls/gpkcsp enable_gpkcsp
20658 wine_fn_config_makefile dlls/hal enable_hal
20659 wine_fn_config_makefile dlls/hhctrl.ocx enable_hhctrl_ocx
20660 wine_fn_config_makefile dlls/hid enable_hid
20661 wine_fn_config_makefile dlls/hid/tests enable_tests
20662 wine_fn_config_makefile dlls/hidclass.sys enable_hidclass_sys
20663 wine_fn_config_makefile dlls/hlink enable_hlink
20664 wine_fn_config_makefile dlls/hlink/tests enable_tests
20665 wine_fn_config_makefile dlls/hnetcfg enable_hnetcfg
20666 wine_fn_config_makefile dlls/hnetcfg/tests enable_tests
20667 wine_fn_config_makefile dlls/http.sys enable_http_sys
20668 wine_fn_config_makefile dlls/httpapi enable_httpapi
20669 wine_fn_config_makefile dlls/httpapi/tests enable_tests
20670 wine_fn_config_makefile dlls/iccvid enable_iccvid
20671 wine_fn_config_makefile dlls/icmp enable_icmp
20672 wine_fn_config_makefile dlls/ieframe enable_ieframe
20673 wine_fn_config_makefile dlls/ieframe/tests enable_tests
20674 wine_fn_config_makefile dlls/ieproxy enable_ieproxy
20675 wine_fn_config_makefile dlls/ifsmgr.vxd enable_win16
20676 wine_fn_config_makefile dlls/imaadp32.acm enable_imaadp32_acm
20677 wine_fn_config_makefile dlls/imagehlp enable_imagehlp
20678 wine_fn_config_makefile dlls/imagehlp/tests enable_tests
20679 wine_fn_config_makefile dlls/imm.dll16 enable_win16
20680 wine_fn_config_makefile dlls/imm32 enable_imm32
20681 wine_fn_config_makefile dlls/imm32/tests enable_tests
20682 wine_fn_config_makefile dlls/inetcomm enable_inetcomm
20683 wine_fn_config_makefile dlls/inetcomm/tests enable_tests
20684 wine_fn_config_makefile dlls/inetcpl.cpl enable_inetcpl_cpl
20685 wine_fn_config_makefile dlls/inetmib1 enable_inetmib1
20686 wine_fn_config_makefile dlls/inetmib1/tests enable_tests
20687 wine_fn_config_makefile dlls/infosoft enable_infosoft
20688 wine_fn_config_makefile dlls/infosoft/tests enable_tests
20689 wine_fn_config_makefile dlls/initpki enable_initpki
20690 wine_fn_config_makefile dlls/inkobj enable_inkobj
20691 wine_fn_config_makefile dlls/inseng enable_inseng
20692 wine_fn_config_makefile dlls/iphlpapi enable_iphlpapi
20693 wine_fn_config_makefile dlls/iphlpapi/tests enable_tests
20694 wine_fn_config_makefile dlls/iprop enable_iprop
20695 wine_fn_config_makefile dlls/irprops.cpl enable_irprops_cpl
20696 wine_fn_config_makefile dlls/itircl enable_itircl
20697 wine_fn_config_makefile dlls/itss enable_itss
20698 wine_fn_config_makefile dlls/itss/tests enable_tests
20699 wine_fn_config_makefile dlls/joy.cpl enable_joy_cpl
20700 wine_fn_config_makefile dlls/jscript enable_jscript
20701 wine_fn_config_makefile dlls/jscript/tests enable_tests
20702 wine_fn_config_makefile dlls/jsproxy enable_jsproxy
20703 wine_fn_config_makefile dlls/jsproxy/tests enable_tests
20704 wine_fn_config_makefile dlls/kerberos enable_kerberos
20705 wine_fn_config_makefile dlls/kernel32 enable_kernel32
20706 wine_fn_config_makefile dlls/kernel32/tests enable_tests
20707 wine_fn_config_makefile dlls/kernelbase enable_kernelbase
20708 wine_fn_config_makefile dlls/kernelbase/tests enable_tests
20709 wine_fn_config_makefile dlls/keyboard.drv16 enable_win16
20710 wine_fn_config_makefile dlls/krnl386.exe16 enable_win16
20711 wine_fn_config_makefile dlls/ksecdd.sys enable_ksecdd_sys
20712 wine_fn_config_makefile dlls/ksproxy.ax enable_ksproxy_ax
20713 wine_fn_config_makefile dlls/ksuser enable_ksuser
20714 wine_fn_config_makefile dlls/ktmw32 enable_ktmw32
20715 wine_fn_config_makefile dlls/l3codeca.acm enable_l3codeca_acm
20716 wine_fn_config_makefile dlls/loadperf enable_loadperf
20717 wine_fn_config_makefile dlls/localspl enable_localspl
20718 wine_fn_config_makefile dlls/localspl/tests enable_tests
20719 wine_fn_config_makefile dlls/localui enable_localui
20720 wine_fn_config_makefile dlls/localui/tests enable_tests
20721 wine_fn_config_makefile dlls/lz32 enable_lz32
20722 wine_fn_config_makefile dlls/lz32/tests enable_tests
20723 wine_fn_config_makefile dlls/lzexpand.dll16 enable_win16
20724 wine_fn_config_makefile dlls/mapi32 enable_mapi32
20725 wine_fn_config_makefile dlls/mapi32/tests enable_tests
20726 wine_fn_config_makefile dlls/mapistub enable_mapistub
20727 wine_fn_config_makefile dlls/mciavi32 enable_mciavi32
20728 wine_fn_config_makefile dlls/mcicda enable_mcicda
20729 wine_fn_config_makefile dlls/mciqtz32 enable_mciqtz32
20730 wine_fn_config_makefile dlls/mciseq enable_mciseq
20731 wine_fn_config_makefile dlls/mciwave enable_mciwave
20732 wine_fn_config_makefile dlls/mf enable_mf
20733 wine_fn_config_makefile dlls/mf/tests enable_tests
20734 wine_fn_config_makefile dlls/mf3216 enable_mf3216
20735 wine_fn_config_makefile dlls/mferror enable_mferror
20736 wine_fn_config_makefile dlls/mfmediaengine enable_mfmediaengine
20737 wine_fn_config_makefile dlls/mfmediaengine/tests enable_tests
20738 wine_fn_config_makefile dlls/mfplat enable_mfplat
20739 wine_fn_config_makefile dlls/mfplat/tests enable_tests
20740 wine_fn_config_makefile dlls/mfplay enable_mfplay
20741 wine_fn_config_makefile dlls/mfplay/tests enable_tests
20742 wine_fn_config_makefile dlls/mfreadwrite enable_mfreadwrite
20743 wine_fn_config_makefile dlls/mfreadwrite/tests enable_tests
20744 wine_fn_config_makefile dlls/mfuuid enable_mfuuid
20745 wine_fn_config_makefile dlls/mgmtapi enable_mgmtapi
20746 wine_fn_config_makefile dlls/midimap enable_midimap
20747 wine_fn_config_makefile dlls/mlang enable_mlang
20748 wine_fn_config_makefile dlls/mlang/tests enable_tests
20749 wine_fn_config_makefile dlls/mmcndmgr enable_mmcndmgr
20750 wine_fn_config_makefile dlls/mmcndmgr/tests enable_tests
20751 wine_fn_config_makefile dlls/mmdevapi enable_mmdevapi
20752 wine_fn_config_makefile dlls/mmdevapi/tests enable_tests
20753 wine_fn_config_makefile dlls/mmdevldr.vxd enable_win16
20754 wine_fn_config_makefile dlls/mmsystem.dll16 enable_win16
20755 wine_fn_config_makefile dlls/monodebg.vxd enable_win16
20756 wine_fn_config_makefile dlls/mountmgr.sys enable_mountmgr_sys
20757 wine_fn_config_makefile dlls/mouse.drv16 enable_win16
20758 wine_fn_config_makefile dlls/mp3dmod enable_mp3dmod
20759 wine_fn_config_makefile dlls/mp3dmod/tests enable_tests
20760 wine_fn_config_makefile dlls/mpr enable_mpr
20761 wine_fn_config_makefile dlls/mpr/tests enable_tests
20762 wine_fn_config_makefile dlls/mprapi enable_mprapi
20763 wine_fn_config_makefile dlls/msacm.dll16 enable_win16
20764 wine_fn_config_makefile dlls/msacm32.drv enable_msacm32_drv
20765 wine_fn_config_makefile dlls/msacm32 enable_msacm32
20766 wine_fn_config_makefile dlls/msacm32/tests enable_tests
20767 wine_fn_config_makefile dlls/msado15 enable_msado15
20768 wine_fn_config_makefile dlls/msado15/tests enable_tests
20769 wine_fn_config_makefile dlls/msadp32.acm enable_msadp32_acm
20770 wine_fn_config_makefile dlls/msasn1 enable_msasn1
20771 wine_fn_config_makefile dlls/msasn1/tests enable_tests
20772 wine_fn_config_makefile dlls/mscat32 enable_mscat32
20773 wine_fn_config_makefile dlls/mscms enable_mscms
20774 wine_fn_config_makefile dlls/mscms/tests enable_tests
20775 wine_fn_config_makefile dlls/mscoree enable_mscoree
20776 wine_fn_config_makefile dlls/mscoree/tests enable_tests
20777 wine_fn_config_makefile dlls/mscorwks enable_mscorwks
20778 wine_fn_config_makefile dlls/msctf enable_msctf
20779 wine_fn_config_makefile dlls/msctf/tests enable_tests
20780 wine_fn_config_makefile dlls/msctfp enable_msctfp
20781 wine_fn_config_makefile dlls/msdaps enable_msdaps
20782 wine_fn_config_makefile dlls/msdelta enable_msdelta
20783 wine_fn_config_makefile dlls/msdmo enable_msdmo
20784 wine_fn_config_makefile dlls/msdmo/tests enable_tests
20785 wine_fn_config_makefile dlls/msdrm enable_msdrm
20786 wine_fn_config_makefile dlls/msftedit enable_msftedit
20787 wine_fn_config_makefile dlls/msftedit/tests enable_tests
20788 wine_fn_config_makefile dlls/msg711.acm enable_msg711_acm
20789 wine_fn_config_makefile dlls/msgsm32.acm enable_msgsm32_acm
20790 wine_fn_config_makefile dlls/mshtml.tlb enable_mshtml_tlb
20791 wine_fn_config_makefile dlls/mshtml enable_mshtml
20792 wine_fn_config_makefile dlls/mshtml/tests enable_tests
20793 wine_fn_config_makefile dlls/msi enable_msi
20794 wine_fn_config_makefile dlls/msi/tests enable_tests
20795 wine_fn_config_makefile dlls/msident enable_msident
20796 wine_fn_config_makefile dlls/msimg32 enable_msimg32
20797 wine_fn_config_makefile dlls/msimsg enable_msimsg
20798 wine_fn_config_makefile dlls/msimtf enable_msimtf
20799 wine_fn_config_makefile dlls/msisip enable_msisip
20800 wine_fn_config_makefile dlls/msisys.ocx enable_msisys_ocx
20801 wine_fn_config_makefile dlls/msls31 enable_msls31
20802 wine_fn_config_makefile dlls/msnet32 enable_msnet32
20803 wine_fn_config_makefile dlls/mspatcha enable_mspatcha
20804 wine_fn_config_makefile dlls/mspatcha/tests enable_tests
20805 wine_fn_config_makefile dlls/msports enable_msports
20806 wine_fn_config_makefile dlls/msrle32 enable_msrle32
20807 wine_fn_config_makefile dlls/msrle32/tests enable_tests
20808 wine_fn_config_makefile dlls/msscript.ocx enable_msscript_ocx
20809 wine_fn_config_makefile dlls/msscript.ocx/tests enable_tests
20810 wine_fn_config_makefile dlls/mssign32 enable_mssign32
20811 wine_fn_config_makefile dlls/mssip32 enable_mssip32
20812 wine_fn_config_makefile dlls/mstask enable_mstask
20813 wine_fn_config_makefile dlls/mstask/tests enable_tests
20814 wine_fn_config_makefile dlls/msv1_0 enable_msv1_0
20815 wine_fn_config_makefile dlls/msvcirt enable_msvcirt
20816 wine_fn_config_makefile dlls/msvcirt/tests enable_tests
20817 wine_fn_config_makefile dlls/msvcm80 enable_msvcm80
20818 wine_fn_config_makefile dlls/msvcm90 enable_msvcm90
20819 wine_fn_config_makefile dlls/msvcp100 enable_msvcp100
20820 wine_fn_config_makefile dlls/msvcp100/tests enable_tests
20821 wine_fn_config_makefile dlls/msvcp110 enable_msvcp110
20822 wine_fn_config_makefile dlls/msvcp110/tests enable_tests
20823 wine_fn_config_makefile dlls/msvcp120 enable_msvcp120
20824 wine_fn_config_makefile dlls/msvcp120/tests enable_tests
20825 wine_fn_config_makefile dlls/msvcp120_app enable_msvcp120_app
20826 wine_fn_config_makefile dlls/msvcp140 enable_msvcp140
20827 wine_fn_config_makefile dlls/msvcp140/tests enable_tests
20828 wine_fn_config_makefile dlls/msvcp140_1 enable_msvcp140_1
20829 wine_fn_config_makefile dlls/msvcp140_1/tests enable_tests
20830 wine_fn_config_makefile dlls/msvcp60 enable_msvcp60
20831 wine_fn_config_makefile dlls/msvcp60/tests enable_tests
20832 wine_fn_config_makefile dlls/msvcp70 enable_msvcp70
20833 wine_fn_config_makefile dlls/msvcp71 enable_msvcp71
20834 wine_fn_config_makefile dlls/msvcp80 enable_msvcp80
20835 wine_fn_config_makefile dlls/msvcp90 enable_msvcp90
20836 wine_fn_config_makefile dlls/msvcp90/tests enable_tests
20837 wine_fn_config_makefile dlls/msvcr100 enable_msvcr100
20838 wine_fn_config_makefile dlls/msvcr100/tests enable_tests
20839 wine_fn_config_makefile dlls/msvcr110 enable_msvcr110
20840 wine_fn_config_makefile dlls/msvcr110/tests enable_tests
20841 wine_fn_config_makefile dlls/msvcr120 enable_msvcr120
20842 wine_fn_config_makefile dlls/msvcr120/tests enable_tests
20843 wine_fn_config_makefile dlls/msvcr120_app enable_msvcr120_app
20844 wine_fn_config_makefile dlls/msvcr70 enable_msvcr70
20845 wine_fn_config_makefile dlls/msvcr71 enable_msvcr71
20846 wine_fn_config_makefile dlls/msvcr80 enable_msvcr80
20847 wine_fn_config_makefile dlls/msvcr90 enable_msvcr90
20848 wine_fn_config_makefile dlls/msvcr90/tests enable_tests
20849 wine_fn_config_makefile dlls/msvcrt enable_msvcrt
20850 wine_fn_config_makefile dlls/msvcrt/tests enable_tests
20851 wine_fn_config_makefile dlls/msvcrt20 enable_msvcrt20
20852 wine_fn_config_makefile dlls/msvcrt40 enable_msvcrt40
20853 wine_fn_config_makefile dlls/msvcrtd enable_msvcrtd
20854 wine_fn_config_makefile dlls/msvcrtd/tests enable_tests
20855 wine_fn_config_makefile dlls/msvfw32 enable_msvfw32
20856 wine_fn_config_makefile dlls/msvfw32/tests enable_tests
20857 wine_fn_config_makefile dlls/msvidc32 enable_msvidc32
20858 wine_fn_config_makefile dlls/msvideo.dll16 enable_win16
20859 wine_fn_config_makefile dlls/mswsock enable_mswsock
20860 wine_fn_config_makefile dlls/msxml enable_msxml
20861 wine_fn_config_makefile dlls/msxml2 enable_msxml2
20862 wine_fn_config_makefile dlls/msxml3 enable_msxml3
20863 wine_fn_config_makefile dlls/msxml3/tests enable_tests
20864 wine_fn_config_makefile dlls/msxml4 enable_msxml4
20865 wine_fn_config_makefile dlls/msxml6 enable_msxml6
20866 wine_fn_config_makefile dlls/mtxdm enable_mtxdm
20867 wine_fn_config_makefile dlls/ncrypt enable_ncrypt
20868 wine_fn_config_makefile dlls/nddeapi enable_nddeapi
20869 wine_fn_config_makefile dlls/ndis.sys enable_ndis_sys
20870 wine_fn_config_makefile dlls/ndis.sys/tests enable_tests
20871 wine_fn_config_makefile dlls/netapi32 enable_netapi32
20872 wine_fn_config_makefile dlls/netapi32/tests enable_tests
20873 wine_fn_config_makefile dlls/netcfgx enable_netcfgx
20874 wine_fn_config_makefile dlls/netcfgx/tests enable_tests
20875 wine_fn_config_makefile dlls/netio.sys enable_netio_sys
20876 wine_fn_config_makefile dlls/netprofm enable_netprofm
20877 wine_fn_config_makefile dlls/netprofm/tests enable_tests
20878 wine_fn_config_makefile dlls/netutils enable_netutils
20879 wine_fn_config_makefile dlls/newdev enable_newdev
20880 wine_fn_config_makefile dlls/ninput enable_ninput
20881 wine_fn_config_makefile dlls/ninput/tests enable_tests
20882 wine_fn_config_makefile dlls/normaliz enable_normaliz
20883 wine_fn_config_makefile dlls/npmshtml enable_npmshtml
20884 wine_fn_config_makefile dlls/npptools enable_npptools
20885 wine_fn_config_makefile dlls/ntdll enable_ntdll
20886 wine_fn_config_makefile dlls/ntdll/tests enable_tests
20887 wine_fn_config_makefile dlls/ntdsapi enable_ntdsapi
20888 wine_fn_config_makefile dlls/ntdsapi/tests enable_tests
20889 wine_fn_config_makefile dlls/ntoskrnl.exe enable_ntoskrnl_exe
20890 wine_fn_config_makefile dlls/ntoskrnl.exe/tests enable_tests
20891 wine_fn_config_makefile dlls/ntprint enable_ntprint
20892 wine_fn_config_makefile dlls/ntprint/tests enable_tests
20893 wine_fn_config_makefile dlls/objsel enable_objsel
20894 wine_fn_config_makefile dlls/odbc32 enable_odbc32
20895 wine_fn_config_makefile dlls/odbcbcp enable_odbcbcp
20896 wine_fn_config_makefile dlls/odbccp32 enable_odbccp32
20897 wine_fn_config_makefile dlls/odbccp32/tests enable_tests
20898 wine_fn_config_makefile dlls/odbccu32 enable_odbccu32
20899 wine_fn_config_makefile dlls/ole2.dll16 enable_win16
20900 wine_fn_config_makefile dlls/ole2conv.dll16 enable_win16
20901 wine_fn_config_makefile dlls/ole2disp.dll16 enable_win16
20902 wine_fn_config_makefile dlls/ole2nls.dll16 enable_win16
20903 wine_fn_config_makefile dlls/ole2prox.dll16 enable_win16
20904 wine_fn_config_makefile dlls/ole2thk.dll16 enable_win16
20905 wine_fn_config_makefile dlls/ole32 enable_ole32
20906 wine_fn_config_makefile dlls/ole32/tests enable_tests
20907 wine_fn_config_makefile dlls/oleacc enable_oleacc
20908 wine_fn_config_makefile dlls/oleacc/tests enable_tests
20909 wine_fn_config_makefile dlls/oleaut32 enable_oleaut32
20910 wine_fn_config_makefile dlls/oleaut32/tests enable_tests
20911 wine_fn_config_makefile dlls/olecli.dll16 enable_win16
20912 wine_fn_config_makefile dlls/olecli32 enable_olecli32
20913 wine_fn_config_makefile dlls/oledb32 enable_oledb32
20914 wine_fn_config_makefile dlls/oledb32/tests enable_tests
20915 wine_fn_config_makefile dlls/oledlg enable_oledlg
20916 wine_fn_config_makefile dlls/oledlg/tests enable_tests
20917 wine_fn_config_makefile dlls/olepro32 enable_olepro32
20918 wine_fn_config_makefile dlls/olesvr.dll16 enable_win16
20919 wine_fn_config_makefile dlls/olesvr32 enable_olesvr32
20920 wine_fn_config_makefile dlls/olethk32 enable_olethk32
20921 wine_fn_config_makefile dlls/opcservices enable_opcservices
20922 wine_fn_config_makefile dlls/opcservices/tests enable_tests
20923 wine_fn_config_makefile dlls/openal32 enable_openal32
20924 wine_fn_config_makefile dlls/opencl enable_opencl
20925 wine_fn_config_makefile dlls/opengl32 enable_opengl32
20926 wine_fn_config_makefile dlls/opengl32/tests enable_tests
20927 wine_fn_config_makefile dlls/packager enable_packager
20928 wine_fn_config_makefile dlls/packager/tests enable_tests
20929 wine_fn_config_makefile dlls/pdh enable_pdh
20930 wine_fn_config_makefile dlls/pdh/tests enable_tests
20931 wine_fn_config_makefile dlls/photometadatahandler enable_photometadatahandler
20932 wine_fn_config_makefile dlls/pidgen enable_pidgen
20933 wine_fn_config_makefile dlls/powrprof enable_powrprof
20934 wine_fn_config_makefile dlls/printui enable_printui
20935 wine_fn_config_makefile dlls/prntvpt enable_prntvpt
20936 wine_fn_config_makefile dlls/prntvpt/tests enable_tests
20937 wine_fn_config_makefile dlls/propsys enable_propsys
20938 wine_fn_config_makefile dlls/propsys/tests enable_tests
20939 wine_fn_config_makefile dlls/psapi enable_psapi
20940 wine_fn_config_makefile dlls/psapi/tests enable_tests
20941 wine_fn_config_makefile dlls/pstorec enable_pstorec
20942 wine_fn_config_makefile dlls/pstorec/tests enable_tests
20943 wine_fn_config_makefile dlls/pwrshplugin enable_pwrshplugin
20944 wine_fn_config_makefile dlls/qasf enable_qasf
20945 wine_fn_config_makefile dlls/qasf/tests enable_tests
20946 wine_fn_config_makefile dlls/qcap enable_qcap
20947 wine_fn_config_makefile dlls/qcap/tests enable_tests
20948 wine_fn_config_makefile dlls/qdvd enable_qdvd
20949 wine_fn_config_makefile dlls/qdvd/tests enable_tests
20950 wine_fn_config_makefile dlls/qedit enable_qedit
20951 wine_fn_config_makefile dlls/qedit/tests enable_tests
20952 wine_fn_config_makefile dlls/qmgr enable_qmgr
20953 wine_fn_config_makefile dlls/qmgr/tests enable_tests
20954 wine_fn_config_makefile dlls/qmgrprxy enable_qmgrprxy
20955 wine_fn_config_makefile dlls/quartz enable_quartz
20956 wine_fn_config_makefile dlls/quartz/tests enable_tests
20957 wine_fn_config_makefile dlls/query enable_query
20958 wine_fn_config_makefile dlls/qwave enable_qwave
20959 wine_fn_config_makefile dlls/qwave/tests enable_tests
20960 wine_fn_config_makefile dlls/rasapi16.dll16 enable_win16
20961 wine_fn_config_makefile dlls/rasapi32 enable_rasapi32
20962 wine_fn_config_makefile dlls/rasapi32/tests enable_tests
20963 wine_fn_config_makefile dlls/rasdlg enable_rasdlg
20964 wine_fn_config_makefile dlls/regapi enable_regapi
20965 wine_fn_config_makefile dlls/resutils enable_resutils
20966 wine_fn_config_makefile dlls/riched20 enable_riched20
20967 wine_fn_config_makefile dlls/riched20/tests enable_tests
20968 wine_fn_config_makefile dlls/riched32 enable_riched32
20969 wine_fn_config_makefile dlls/riched32/tests enable_tests
20970 wine_fn_config_makefile dlls/rpcrt4 enable_rpcrt4
20971 wine_fn_config_makefile dlls/rpcrt4/tests enable_tests
20972 wine_fn_config_makefile dlls/rsabase enable_rsabase
20973 wine_fn_config_makefile dlls/rsaenh enable_rsaenh
20974 wine_fn_config_makefile dlls/rsaenh/tests enable_tests
20975 wine_fn_config_makefile dlls/rstrtmgr enable_rstrtmgr
20976 wine_fn_config_makefile dlls/rtutils enable_rtutils
20977 wine_fn_config_makefile dlls/rtworkq enable_rtworkq
20978 wine_fn_config_makefile dlls/rtworkq/tests enable_tests
20979 wine_fn_config_makefile dlls/samlib enable_samlib
20980 wine_fn_config_makefile dlls/sane.ds enable_sane_ds
20981 wine_fn_config_makefile dlls/sapi enable_sapi
20982 wine_fn_config_makefile dlls/sapi/tests enable_tests
20983 wine_fn_config_makefile dlls/sas enable_sas
20984 wine_fn_config_makefile dlls/scarddlg enable_scarddlg
20985 wine_fn_config_makefile dlls/sccbase enable_sccbase
20986 wine_fn_config_makefile dlls/schannel enable_schannel
20987 wine_fn_config_makefile dlls/schannel/tests enable_tests
20988 wine_fn_config_makefile dlls/schedsvc enable_schedsvc
20989 wine_fn_config_makefile dlls/schedsvc/tests enable_tests
20990 wine_fn_config_makefile dlls/scrobj enable_scrobj
20991 wine_fn_config_makefile dlls/scrobj/tests enable_tests
20992 wine_fn_config_makefile dlls/scrrun enable_scrrun
20993 wine_fn_config_makefile dlls/scrrun/tests enable_tests
20994 wine_fn_config_makefile dlls/scsiport.sys enable_scsiport_sys
20995 wine_fn_config_makefile dlls/sechost enable_sechost
20996 wine_fn_config_makefile dlls/secur32 enable_secur32
20997 wine_fn_config_makefile dlls/secur32/tests enable_tests
20998 wine_fn_config_makefile dlls/security enable_security
20999 wine_fn_config_makefile dlls/sensapi enable_sensapi
21000 wine_fn_config_makefile dlls/serialui enable_serialui
21001 wine_fn_config_makefile dlls/serialui/tests enable_tests
21002 wine_fn_config_makefile dlls/setupapi enable_setupapi
21003 wine_fn_config_makefile dlls/setupapi/tests enable_tests
21004 wine_fn_config_makefile dlls/setupx.dll16 enable_win16
21005 wine_fn_config_makefile dlls/sfc enable_sfc
21006 wine_fn_config_makefile dlls/sfc_os enable_sfc_os
21007 wine_fn_config_makefile dlls/shcore enable_shcore
21008 wine_fn_config_makefile dlls/shcore/tests enable_tests
21009 wine_fn_config_makefile dlls/shdoclc enable_shdoclc
21010 wine_fn_config_makefile dlls/shdocvw enable_shdocvw
21011 wine_fn_config_makefile dlls/shdocvw/tests enable_tests
21012 wine_fn_config_makefile dlls/shell.dll16 enable_win16
21013 wine_fn_config_makefile dlls/shell32 enable_shell32
21014 wine_fn_config_makefile dlls/shell32/tests enable_tests
21015 wine_fn_config_makefile dlls/shfolder enable_shfolder
21016 wine_fn_config_makefile dlls/shlwapi enable_shlwapi
21017 wine_fn_config_makefile dlls/shlwapi/tests enable_tests
21018 wine_fn_config_makefile dlls/slbcsp enable_slbcsp
21019 wine_fn_config_makefile dlls/slc enable_slc
21020 wine_fn_config_makefile dlls/slc/tests enable_tests
21021 wine_fn_config_makefile dlls/snmpapi enable_snmpapi
21022 wine_fn_config_makefile dlls/snmpapi/tests enable_tests
21023 wine_fn_config_makefile dlls/softpub enable_softpub
21024 wine_fn_config_makefile dlls/sound.drv16 enable_win16
21025 wine_fn_config_makefile dlls/spoolss enable_spoolss
21026 wine_fn_config_makefile dlls/spoolss/tests enable_tests
21027 wine_fn_config_makefile dlls/srclient enable_srclient
21028 wine_fn_config_makefile dlls/srvcli enable_srvcli
21029 wine_fn_config_makefile dlls/sspicli enable_sspicli
21030 wine_fn_config_makefile dlls/stdole2.tlb enable_stdole2_tlb
21031 wine_fn_config_makefile dlls/stdole32.tlb enable_stdole32_tlb
21032 wine_fn_config_makefile dlls/sti enable_sti
21033 wine_fn_config_makefile dlls/sti/tests enable_tests
21034 wine_fn_config_makefile dlls/storage.dll16 enable_win16
21035 wine_fn_config_makefile dlls/stress.dll16 enable_win16
21036 wine_fn_config_makefile dlls/strmbase enable_strmbase
21037 wine_fn_config_makefile dlls/strmdll enable_strmdll
21038 wine_fn_config_makefile dlls/strmiids enable_strmiids
21039 wine_fn_config_makefile dlls/svrapi enable_svrapi
21040 wine_fn_config_makefile dlls/sxs enable_sxs
21041 wine_fn_config_makefile dlls/sxs/tests enable_tests
21042 wine_fn_config_makefile dlls/system.drv16 enable_win16
21043 wine_fn_config_makefile dlls/t2embed enable_t2embed
21044 wine_fn_config_makefile dlls/t2embed/tests enable_tests
21045 wine_fn_config_makefile dlls/tapi32 enable_tapi32
21046 wine_fn_config_makefile dlls/tapi32/tests enable_tests
21047 wine_fn_config_makefile dlls/taskschd enable_taskschd
21048 wine_fn_config_makefile dlls/taskschd/tests enable_tests
21049 wine_fn_config_makefile dlls/tdh enable_tdh
21050 wine_fn_config_makefile dlls/tdi.sys enable_tdi_sys
21051 wine_fn_config_makefile dlls/toolhelp.dll16 enable_win16
21052 wine_fn_config_makefile dlls/traffic enable_traffic
21053 wine_fn_config_makefile dlls/twain.dll16 enable_win16
21054 wine_fn_config_makefile dlls/twain_32 enable_twain_32
21055 wine_fn_config_makefile dlls/twain_32/tests enable_tests
21056 wine_fn_config_makefile dlls/typelib.dll16 enable_win16
21057 wine_fn_config_makefile dlls/tzres enable_tzres
21058 wine_fn_config_makefile dlls/ucrtbase enable_ucrtbase
21059 wine_fn_config_makefile dlls/ucrtbase/tests enable_tests
21060 wine_fn_config_makefile dlls/uianimation enable_uianimation
21061 wine_fn_config_makefile dlls/uianimation/tests enable_tests
21062 wine_fn_config_makefile dlls/uiautomationcore enable_uiautomationcore
21063 wine_fn_config_makefile dlls/uiautomationcore/tests enable_tests
21064 wine_fn_config_makefile dlls/uiribbon enable_uiribbon
21065 wine_fn_config_makefile dlls/unicows enable_unicows
21066 wine_fn_config_makefile dlls/updspapi enable_updspapi
21067 wine_fn_config_makefile dlls/url enable_url
21068 wine_fn_config_makefile dlls/urlmon enable_urlmon
21069 wine_fn_config_makefile dlls/urlmon/tests enable_tests
21070 wine_fn_config_makefile dlls/usbd.sys enable_usbd_sys
21071 wine_fn_config_makefile dlls/user.exe16 enable_win16
21072 wine_fn_config_makefile dlls/user32 enable_user32
21073 wine_fn_config_makefile dlls/user32/tests enable_tests
21074 wine_fn_config_makefile dlls/userenv enable_userenv
21075 wine_fn_config_makefile dlls/userenv/tests enable_tests
21076 wine_fn_config_makefile dlls/usp10 enable_usp10
21077 wine_fn_config_makefile dlls/usp10/tests enable_tests
21078 wine_fn_config_makefile dlls/utildll enable_utildll
21079 wine_fn_config_makefile dlls/uuid enable_uuid
21080 wine_fn_config_makefile dlls/uxtheme enable_uxtheme
21081 wine_fn_config_makefile dlls/uxtheme/tests enable_tests
21082 wine_fn_config_makefile dlls/vbscript enable_vbscript
21083 wine_fn_config_makefile dlls/vbscript/tests enable_tests
21084 wine_fn_config_makefile dlls/vcomp enable_vcomp
21085 wine_fn_config_makefile dlls/vcomp/tests enable_tests
21086 wine_fn_config_makefile dlls/vcomp100 enable_vcomp100
21087 wine_fn_config_makefile dlls/vcomp110 enable_vcomp110
21088 wine_fn_config_makefile dlls/vcomp110/tests enable_tests
21089 wine_fn_config_makefile dlls/vcomp120 enable_vcomp120
21090 wine_fn_config_makefile dlls/vcomp140 enable_vcomp140
21091 wine_fn_config_makefile dlls/vcomp90 enable_vcomp90
21092 wine_fn_config_makefile dlls/vcruntime140 enable_vcruntime140
21093 wine_fn_config_makefile dlls/vcruntime140_1 enable_vcruntime140_1
21094 wine_fn_config_makefile dlls/vdhcp.vxd enable_win16
21095 wine_fn_config_makefile dlls/vdmdbg enable_vdmdbg
21096 wine_fn_config_makefile dlls/ver.dll16 enable_win16
21097 wine_fn_config_makefile dlls/version enable_version
21098 wine_fn_config_makefile dlls/version/tests enable_tests
21099 wine_fn_config_makefile dlls/vga enable_vga
21100 wine_fn_config_makefile dlls/virtdisk enable_virtdisk
21101 wine_fn_config_makefile dlls/virtdisk/tests enable_tests
21102 wine_fn_config_makefile dlls/vmm.vxd enable_win16
21103 wine_fn_config_makefile dlls/vnbt.vxd enable_win16
21104 wine_fn_config_makefile dlls/vnetbios.vxd enable_win16
21105 wine_fn_config_makefile dlls/vssapi enable_vssapi
21106 wine_fn_config_makefile dlls/vtdapi.vxd enable_win16
21107 wine_fn_config_makefile dlls/vulkan-1 enable_vulkan_1
21108 wine_fn_config_makefile dlls/vulkan-1/tests enable_tests
21109 wine_fn_config_makefile dlls/vwin32.vxd enable_win16
21110 wine_fn_config_makefile dlls/w32skrnl enable_win16
21111 wine_fn_config_makefile dlls/w32sys.dll16 enable_win16
21112 wine_fn_config_makefile dlls/wbemdisp enable_wbemdisp
21113 wine_fn_config_makefile dlls/wbemdisp/tests enable_tests
21114 wine_fn_config_makefile dlls/wbemprox enable_wbemprox
21115 wine_fn_config_makefile dlls/wbemprox/tests enable_tests
21116 wine_fn_config_makefile dlls/wbemuuid enable_wbemuuid
21117 wine_fn_config_makefile dlls/wdscore enable_wdscore
21118 wine_fn_config_makefile dlls/webservices enable_webservices
21119 wine_fn_config_makefile dlls/webservices/tests enable_tests
21120 wine_fn_config_makefile dlls/websocket enable_websocket
21121 wine_fn_config_makefile dlls/wer enable_wer
21122 wine_fn_config_makefile dlls/wer/tests enable_tests
21123 wine_fn_config_makefile dlls/wevtapi enable_wevtapi
21124 wine_fn_config_makefile dlls/wevtapi/tests enable_tests
21125 wine_fn_config_makefile dlls/wevtsvc enable_wevtsvc
21126 wine_fn_config_makefile dlls/wiaservc enable_wiaservc
21127 wine_fn_config_makefile dlls/wiaservc/tests enable_tests
21128 wine_fn_config_makefile dlls/wimgapi enable_wimgapi
21129 wine_fn_config_makefile dlls/win32s16.dll16 enable_win16
21130 wine_fn_config_makefile dlls/win87em.dll16 enable_win16
21131 wine_fn_config_makefile dlls/winaspi.dll16 enable_win16
21132 wine_fn_config_makefile dlls/windebug.dll16 enable_win16
21133 wine_fn_config_makefile dlls/windows.gaming.input enable_windows_gaming_input
21134 wine_fn_config_makefile dlls/windows.gaming.input/tests enable_tests
21135 wine_fn_config_makefile dlls/windows.globalization enable_windows_globalization
21136 wine_fn_config_makefile dlls/windows.globalization/tests enable_tests
21137 wine_fn_config_makefile dlls/windows.media.devices enable_windows_media_devices
21138 wine_fn_config_makefile dlls/windows.media.devices/tests enable_tests
21139 wine_fn_config_makefile dlls/windows.media.speech enable_windows_media_speech
21140 wine_fn_config_makefile dlls/windows.media.speech/tests enable_tests
21141 wine_fn_config_makefile dlls/windowscodecs enable_windowscodecs
21142 wine_fn_config_makefile dlls/windowscodecs/tests enable_tests
21143 wine_fn_config_makefile dlls/windowscodecsext enable_windowscodecsext
21144 wine_fn_config_makefile dlls/windowscodecsext/tests enable_tests
21145 wine_fn_config_makefile dlls/winealsa.drv enable_winealsa_drv
21146 wine_fn_config_makefile dlls/wineandroid.drv enable_wineandroid_drv
21147 wine_fn_config_makefile dlls/winebus.sys enable_winebus_sys
21148 wine_fn_config_makefile dlls/winecoreaudio.drv enable_winecoreaudio_drv
21149 wine_fn_config_makefile dlls/winecrt0 enable_winecrt0
21150 wine_fn_config_makefile dlls/wined3d enable_wined3d
21151 wine_fn_config_makefile dlls/winegstreamer enable_winegstreamer
21152 wine_fn_config_makefile dlls/winehid.sys enable_winehid_sys
21153 wine_fn_config_makefile dlls/winejoystick.drv enable_winejoystick_drv
21154 wine_fn_config_makefile dlls/winemac.drv enable_winemac_drv
21155 wine_fn_config_makefile dlls/winemapi enable_winemapi
21156 wine_fn_config_makefile dlls/wineoss.drv enable_wineoss_drv
21157 wine_fn_config_makefile dlls/wineps.drv enable_wineps_drv
21158 wine_fn_config_makefile dlls/wineps16.drv16 enable_win16
21159 wine_fn_config_makefile dlls/winepulse.drv enable_winepulse_drv
21160 wine_fn_config_makefile dlls/wineqtdecoder enable_wineqtdecoder
21161 wine_fn_config_makefile dlls/wineusb.sys enable_wineusb_sys
21162 wine_fn_config_makefile dlls/winevulkan enable_winevulkan
21163 wine_fn_config_makefile dlls/winex11.drv enable_winex11_drv
21164 wine_fn_config_makefile dlls/wing.dll16 enable_win16
21165 wine_fn_config_makefile dlls/wing32 enable_wing32
21166 wine_fn_config_makefile dlls/winhttp enable_winhttp
21167 wine_fn_config_makefile dlls/winhttp/tests enable_tests
21168 wine_fn_config_makefile dlls/wininet enable_wininet
21169 wine_fn_config_makefile dlls/wininet/tests enable_tests
21170 wine_fn_config_makefile dlls/winmm enable_winmm
21171 wine_fn_config_makefile dlls/winmm/tests enable_tests
21172 wine_fn_config_makefile dlls/winnls.dll16 enable_win16
21173 wine_fn_config_makefile dlls/winnls32 enable_winnls32
21174 wine_fn_config_makefile dlls/winscard enable_winscard
21175 wine_fn_config_makefile dlls/winsock.dll16 enable_win16
21176 wine_fn_config_makefile dlls/winspool.drv enable_winspool_drv
21177 wine_fn_config_makefile dlls/winspool.drv/tests enable_tests
21178 wine_fn_config_makefile dlls/winsta enable_winsta
21179 wine_fn_config_makefile dlls/wintab.dll16 enable_win16
21180 wine_fn_config_makefile dlls/wintab32 enable_wintab32
21181 wine_fn_config_makefile dlls/wintab32/tests enable_tests
21182 wine_fn_config_makefile dlls/wintrust enable_wintrust
21183 wine_fn_config_makefile dlls/wintrust/tests enable_tests
21184 wine_fn_config_makefile dlls/winusb enable_winusb
21185 wine_fn_config_makefile dlls/wlanapi enable_wlanapi
21186 wine_fn_config_makefile dlls/wlanapi/tests enable_tests
21187 wine_fn_config_makefile dlls/wlanui enable_wlanui
21188 wine_fn_config_makefile dlls/wldap32 enable_wldap32
21189 wine_fn_config_makefile dlls/wldap32/tests enable_tests
21190 wine_fn_config_makefile dlls/wmasf enable_wmasf
21191 wine_fn_config_makefile dlls/wmcodecdspuuid enable_wmcodecdspuuid
21192 wine_fn_config_makefile dlls/wmi enable_wmi
21193 wine_fn_config_makefile dlls/wmiutils enable_wmiutils
21194 wine_fn_config_makefile dlls/wmiutils/tests enable_tests
21195 wine_fn_config_makefile dlls/wmp enable_wmp
21196 wine_fn_config_makefile dlls/wmp/tests enable_tests
21197 wine_fn_config_makefile dlls/wmphoto enable_wmphoto
21198 wine_fn_config_makefile dlls/wmvcore enable_wmvcore
21199 wine_fn_config_makefile dlls/wmvcore/tests enable_tests
21200 wine_fn_config_makefile dlls/wnaspi32 enable_wnaspi32
21201 wine_fn_config_makefile dlls/wow32 enable_win16
21202 wine_fn_config_makefile dlls/wow64cpu enable_wow64cpu
21203 wine_fn_config_makefile dlls/wpc enable_wpc
21204 wine_fn_config_makefile dlls/wpc/tests enable_tests
21205 wine_fn_config_makefile dlls/wpcap enable_wpcap
21206 wine_fn_config_makefile dlls/ws2_32 enable_ws2_32
21207 wine_fn_config_makefile dlls/ws2_32/tests enable_tests
21208 wine_fn_config_makefile dlls/wsdapi enable_wsdapi
21209 wine_fn_config_makefile dlls/wsdapi/tests enable_tests
21210 wine_fn_config_makefile dlls/wshom.ocx enable_wshom_ocx
21211 wine_fn_config_makefile dlls/wshom.ocx/tests enable_tests
21212 wine_fn_config_makefile dlls/wsnmp32 enable_wsnmp32
21213 wine_fn_config_makefile dlls/wsnmp32/tests enable_tests
21214 wine_fn_config_makefile dlls/wsock32 enable_wsock32
21215 wine_fn_config_makefile dlls/wtsapi32 enable_wtsapi32
21216 wine_fn_config_makefile dlls/wtsapi32/tests enable_tests
21217 wine_fn_config_makefile dlls/wuapi enable_wuapi
21218 wine_fn_config_makefile dlls/wuaueng enable_wuaueng
21219 wine_fn_config_makefile dlls/x3daudio1_0 enable_x3daudio1_0
21220 wine_fn_config_makefile dlls/x3daudio1_1 enable_x3daudio1_1
21221 wine_fn_config_makefile dlls/x3daudio1_2 enable_x3daudio1_2
21222 wine_fn_config_makefile dlls/x3daudio1_3 enable_x3daudio1_3
21223 wine_fn_config_makefile dlls/x3daudio1_4 enable_x3daudio1_4
21224 wine_fn_config_makefile dlls/x3daudio1_5 enable_x3daudio1_5
21225 wine_fn_config_makefile dlls/x3daudio1_6 enable_x3daudio1_6
21226 wine_fn_config_makefile dlls/x3daudio1_7 enable_x3daudio1_7
21227 wine_fn_config_makefile dlls/xactengine2_0 enable_xactengine2_0
21228 wine_fn_config_makefile dlls/xactengine2_4 enable_xactengine2_4
21229 wine_fn_config_makefile dlls/xactengine2_7 enable_xactengine2_7
21230 wine_fn_config_makefile dlls/xactengine2_9 enable_xactengine2_9
21231 wine_fn_config_makefile dlls/xactengine3_0 enable_xactengine3_0
21232 wine_fn_config_makefile dlls/xactengine3_1 enable_xactengine3_1
21233 wine_fn_config_makefile dlls/xactengine3_2 enable_xactengine3_2
21234 wine_fn_config_makefile dlls/xactengine3_3 enable_xactengine3_3
21235 wine_fn_config_makefile dlls/xactengine3_4 enable_xactengine3_4
21236 wine_fn_config_makefile dlls/xactengine3_5 enable_xactengine3_5
21237 wine_fn_config_makefile dlls/xactengine3_6 enable_xactengine3_6
21238 wine_fn_config_makefile dlls/xactengine3_7 enable_xactengine3_7
21239 wine_fn_config_makefile dlls/xactengine3_7/tests enable_tests
21240 wine_fn_config_makefile dlls/xapofx1_1 enable_xapofx1_1
21241 wine_fn_config_makefile dlls/xapofx1_2 enable_xapofx1_2
21242 wine_fn_config_makefile dlls/xapofx1_3 enable_xapofx1_3
21243 wine_fn_config_makefile dlls/xapofx1_4 enable_xapofx1_4
21244 wine_fn_config_makefile dlls/xapofx1_5 enable_xapofx1_5
21245 wine_fn_config_makefile dlls/xaudio2_0 enable_xaudio2_0
21246 wine_fn_config_makefile dlls/xaudio2_1 enable_xaudio2_1
21247 wine_fn_config_makefile dlls/xaudio2_2 enable_xaudio2_2
21248 wine_fn_config_makefile dlls/xaudio2_3 enable_xaudio2_3
21249 wine_fn_config_makefile dlls/xaudio2_4 enable_xaudio2_4
21250 wine_fn_config_makefile dlls/xaudio2_5 enable_xaudio2_5
21251 wine_fn_config_makefile dlls/xaudio2_6 enable_xaudio2_6
21252 wine_fn_config_makefile dlls/xaudio2_7 enable_xaudio2_7
21253 wine_fn_config_makefile dlls/xaudio2_7/tests enable_tests
21254 wine_fn_config_makefile dlls/xaudio2_8 enable_xaudio2_8
21255 wine_fn_config_makefile dlls/xaudio2_9 enable_xaudio2_9
21256 wine_fn_config_makefile dlls/xinput1_1 enable_xinput1_1
21257 wine_fn_config_makefile dlls/xinput1_2 enable_xinput1_2
21258 wine_fn_config_makefile dlls/xinput1_3 enable_xinput1_3
21259 wine_fn_config_makefile dlls/xinput1_3/tests enable_tests
21260 wine_fn_config_makefile dlls/xinput1_4 enable_xinput1_4
21261 wine_fn_config_makefile dlls/xinput9_1_0 enable_xinput9_1_0
21262 wine_fn_config_makefile dlls/xmllite enable_xmllite
21263 wine_fn_config_makefile dlls/xmllite/tests enable_tests
21264 wine_fn_config_makefile dlls/xolehlp enable_xolehlp
21265 wine_fn_config_makefile dlls/xpsprint enable_xpsprint
21266 wine_fn_config_makefile dlls/xpssvcs enable_xpssvcs
21267 wine_fn_config_makefile fonts enable_fonts
21268 wine_fn_config_makefile include enable_include
21269 wine_fn_config_makefile libs/port enable_port
21270 wine_fn_config_makefile libs/wine enable_wine
21271 wine_fn_config_makefile libs/wpp enable_wpp
21272 wine_fn_config_makefile loader enable_loader
21273 wine_fn_config_makefile nls enable_nls
21274 wine_fn_config_makefile po enable_po
21275 wine_fn_config_makefile programs/arp enable_arp
21276 wine_fn_config_makefile programs/aspnet_regiis enable_aspnet_regiis
21277 wine_fn_config_makefile programs/attrib enable_attrib
21278 wine_fn_config_makefile programs/cabarc enable_cabarc
21279 wine_fn_config_makefile programs/cacls enable_cacls
21280 wine_fn_config_makefile programs/chcp.com enable_chcp_com
21281 wine_fn_config_makefile programs/clock enable_clock
21282 wine_fn_config_makefile programs/cmd enable_cmd
21283 wine_fn_config_makefile programs/cmd/tests enable_tests
21284 wine_fn_config_makefile programs/conhost enable_conhost
21285 wine_fn_config_makefile programs/conhost/tests enable_tests
21286 wine_fn_config_makefile programs/control enable_control
21287 wine_fn_config_makefile programs/cscript enable_cscript
21288 wine_fn_config_makefile programs/dism enable_dism
21289 wine_fn_config_makefile programs/dplaysvr enable_dplaysvr
21290 wine_fn_config_makefile programs/dpnsvr enable_dpnsvr
21291 wine_fn_config_makefile programs/dpvsetup enable_dpvsetup
21292 wine_fn_config_makefile programs/dxdiag enable_dxdiag
21293 wine_fn_config_makefile programs/eject enable_eject
21294 wine_fn_config_makefile programs/expand enable_expand
21295 wine_fn_config_makefile programs/explorer enable_explorer
21296 wine_fn_config_makefile programs/extrac32 enable_extrac32
21297 wine_fn_config_makefile programs/fc enable_fc
21298 wine_fn_config_makefile programs/find enable_find
21299 wine_fn_config_makefile programs/find/tests enable_tests
21300 wine_fn_config_makefile programs/findstr enable_findstr
21301 wine_fn_config_makefile programs/fsutil enable_fsutil
21302 wine_fn_config_makefile programs/fsutil/tests enable_tests
21303 wine_fn_config_makefile programs/hh enable_hh
21304 wine_fn_config_makefile programs/hostname enable_hostname
21305 wine_fn_config_makefile programs/icacls enable_icacls
21306 wine_fn_config_makefile programs/icinfo enable_icinfo
21307 wine_fn_config_makefile programs/iexplore enable_iexplore
21308 wine_fn_config_makefile programs/ipconfig enable_ipconfig
21309 wine_fn_config_makefile programs/lodctr enable_lodctr
21310 wine_fn_config_makefile programs/mofcomp enable_mofcomp
21311 wine_fn_config_makefile programs/mshta enable_mshta
21312 wine_fn_config_makefile programs/msidb enable_msidb
21313 wine_fn_config_makefile programs/msiexec enable_msiexec
21314 wine_fn_config_makefile programs/msinfo32 enable_msinfo32
21315 wine_fn_config_makefile programs/net enable_net
21316 wine_fn_config_makefile programs/netsh enable_netsh
21317 wine_fn_config_makefile programs/netstat enable_netstat
21318 wine_fn_config_makefile programs/ngen enable_ngen
21319 wine_fn_config_makefile programs/notepad enable_notepad
21320 wine_fn_config_makefile programs/oleview enable_oleview
21321 wine_fn_config_makefile programs/ping enable_ping
21322 wine_fn_config_makefile programs/plugplay enable_plugplay
21323 wine_fn_config_makefile programs/powershell enable_powershell
21324 wine_fn_config_makefile programs/presentationfontcache enable_presentationfontcache
21325 wine_fn_config_makefile programs/progman enable_progman
21326 wine_fn_config_makefile programs/reg enable_reg
21327 wine_fn_config_makefile programs/reg/tests enable_tests
21328 wine_fn_config_makefile programs/regasm enable_regasm
21329 wine_fn_config_makefile programs/regedit enable_regedit
21330 wine_fn_config_makefile programs/regedit/tests enable_tests
21331 wine_fn_config_makefile programs/regini enable_regini
21332 wine_fn_config_makefile programs/regsvcs enable_regsvcs
21333 wine_fn_config_makefile programs/regsvr32 enable_regsvr32
21334 wine_fn_config_makefile programs/rpcss enable_rpcss
21335 wine_fn_config_makefile programs/rundll.exe16 enable_win16
21336 wine_fn_config_makefile programs/rundll32 enable_rundll32
21337 wine_fn_config_makefile programs/sc enable_sc
21338 wine_fn_config_makefile programs/schtasks enable_schtasks
21339 wine_fn_config_makefile programs/schtasks/tests enable_tests
21340 wine_fn_config_makefile programs/sdbinst enable_sdbinst
21341 wine_fn_config_makefile programs/secedit enable_secedit
21342 wine_fn_config_makefile programs/servicemodelreg enable_servicemodelreg
21343 wine_fn_config_makefile programs/services enable_services
21344 wine_fn_config_makefile programs/services/tests enable_tests
21345 wine_fn_config_makefile programs/shutdown enable_shutdown
21346 wine_fn_config_makefile programs/spoolsv enable_spoolsv
21347 wine_fn_config_makefile programs/start enable_start
21348 wine_fn_config_makefile programs/subst enable_subst
21349 wine_fn_config_makefile programs/svchost enable_svchost
21350 wine_fn_config_makefile programs/systeminfo enable_systeminfo
21351 wine_fn_config_makefile programs/taskkill enable_taskkill
21352 wine_fn_config_makefile programs/tasklist enable_tasklist
21353 wine_fn_config_makefile programs/taskmgr enable_taskmgr
21354 wine_fn_config_makefile programs/termsv enable_termsv
21355 wine_fn_config_makefile programs/uninstaller enable_uninstaller
21356 wine_fn_config_makefile programs/unlodctr enable_unlodctr
21357 wine_fn_config_makefile programs/view enable_view
21358 wine_fn_config_makefile programs/wevtutil enable_wevtutil
21359 wine_fn_config_makefile programs/where enable_where
21360 wine_fn_config_makefile programs/whoami enable_whoami
21361 wine_fn_config_makefile programs/wineboot enable_wineboot
21362 wine_fn_config_makefile programs/winebrowser enable_winebrowser
21363 wine_fn_config_makefile programs/winecfg enable_winecfg
21364 wine_fn_config_makefile programs/wineconsole enable_wineconsole
21365 wine_fn_config_makefile programs/winedbg enable_winedbg
21366 wine_fn_config_makefile programs/winedevice enable_winedevice
21367 wine_fn_config_makefile programs/winefile enable_winefile
21368 wine_fn_config_makefile programs/winemenubuilder enable_winemenubuilder
21369 wine_fn_config_makefile programs/winemine enable_winemine
21370 wine_fn_config_makefile programs/winemsibuilder enable_winemsibuilder
21371 wine_fn_config_makefile programs/winepath enable_winepath
21372 wine_fn_config_makefile programs/winetest enable_winetest
21373 wine_fn_config_makefile programs/winevdm enable_win16
21374 wine_fn_config_makefile programs/winhelp.exe16 enable_win16
21375 wine_fn_config_makefile programs/winhlp32 enable_winhlp32
21376 wine_fn_config_makefile programs/winmgmt enable_winmgmt
21377 wine_fn_config_makefile programs/winoldap.mod16 enable_win16
21378 wine_fn_config_makefile programs/winver enable_winver
21379 wine_fn_config_makefile programs/wmic enable_wmic
21380 wine_fn_config_makefile programs/wmplayer enable_wmplayer
21381 wine_fn_config_makefile programs/wordpad enable_wordpad
21382 wine_fn_config_makefile programs/write enable_write
21383 wine_fn_config_makefile programs/wscript enable_wscript
21384 wine_fn_config_makefile programs/wscript/tests enable_tests
21385 wine_fn_config_makefile programs/wuauserv enable_wuauserv
21386 wine_fn_config_makefile programs/wusa enable_wusa
21387 wine_fn_config_makefile programs/xcopy enable_xcopy
21388 wine_fn_config_makefile programs/xcopy/tests enable_tests
21389 wine_fn_config_makefile server enable_server
21390 test "x$enable_tools" = xno || wine_fn_config_makefile tools enable_tools
21391 test "x$enable_tools" = xno || wine_fn_config_makefile tools/sfnt2fon enable_sfnt2fon
21392 test "x$enable_tools" = xno || wine_fn_config_makefile tools/widl enable_widl
21393 test "x$enable_tools" = xno || wine_fn_config_makefile tools/winebuild enable_winebuild
21394 test "x$enable_tools" = xno || wine_fn_config_makefile tools/winedump enable_winedump
21395 test "x$enable_tools" = xno || wine_fn_config_makefile tools/winegcc enable_winegcc
21396 test "x$enable_tools" = xno || wine_fn_config_makefile tools/winemaker enable_winemaker
21397 test "x$enable_tools" = xno || wine_fn_config_makefile tools/wmc enable_wmc
21398 test "x$enable_tools" = xno || wine_fn_config_makefile tools/wrc enable_wrc
21401 wine_fn_append_file CONFIGURE_TARGETS "TAGS"
21402 wine_fn_append_file CONFIGURE_TARGETS "tags"
21403 wine_fn_append_file CONFIGURE_TARGETS "autom4te.cache"
21404 wine_fn_append_file CONFIGURE_TARGETS "config.log"
21405 wine_fn_append_file CONFIGURE_TARGETS "config.status"
21406 wine_fn_append_file CONFIGURE_TARGETS "include/config.h"
21407 wine_fn_append_file CONFIGURE_TARGETS "include/stamp-h"
21408 test "$wine_binary" = wine || wine_fn_append_file CONFIGURE_TARGETS "loader/wine"
21410 if test "x$enable_tools" != xno
21411 then
21412 wine_fn_append_file CONFIGURE_TARGETS "tools/makedep$ac_exeext"
21413 ac_config_commands="$ac_config_commands tools/makedep"
21417 ac_config_commands="$ac_config_commands Makefile"
21420 ac_config_files="$ac_config_files Make.tmp:Makefile.in"
21424 if test "x$enable_maintainer_mode" = xyes
21425 then
21426 wine_fn_append_rule "configure: configure.ac aclocal.m4
21427 autoconf --warnings=all
21428 include/config.h.in: include/stamp-h.in
21429 include/stamp-h.in: configure.ac aclocal.m4
21430 autoheader --warnings=all
21431 @echo timestamp > \$@"
21434 if test "x$enable_tools" != xno
21435 then
21436 wine_fn_append_rule "tools/makedep$ac_exeext: $srcdir/tools/makedep.c include/config.h config.status
21437 @./config.status tools/makedep
21438 Makefile: tools/makedep$ac_exeext"
21439 else
21440 wine_fn_append_rule "\$(MAKEDEP):
21441 @echo \"You need to run make in $TOOLSDIR first\" && false"
21444 if test -n "$with_wine64"
21445 then
21446 case "$with_wine64" in
21447 /*) reldir="" ;;
21448 *) reldir="../" ;;
21449 esac
21450 rm -f fonts server 2>/dev/null
21451 wine_fn_append_rule "all: loader/wine64 loader/wine64-preloader $with_wine64/loader/wine $with_wine64/loader/wine-preloader
21452 loader/wine64 loader/wine64-preloader:
21453 rm -f \$@ && \$(LN_S) $reldir$with_wine64/\$@ \$@
21454 $with_wine64/loader/wine:
21455 rm -f \$@ && \$(LN_S) $ac_pwd/loader/wine \$@
21456 $with_wine64/loader/wine-preloader:
21457 rm -f \$@ && \$(LN_S) $ac_pwd/loader/wine-preloader \$@
21458 clean::
21459 rm -f loader/wine64 loader/wine64-preloader $with_wine64/loader/wine $with_wine64/loader/wine-preloader"
21460 else
21461 TOP_INSTALL_DEV="$TOP_INSTALL_DEV include"
21462 TOP_INSTALL_LIB="$TOP_INSTALL_LIB \
21463 fonts \
21464 loader/wine.inf \
21465 nls \
21466 programs/msidb/msidb \
21467 programs/msiexec/msiexec \
21468 programs/notepad/notepad \
21469 programs/regedit/regedit \
21470 programs/regsvr32/regsvr32 \
21471 programs/wineboot/wineboot \
21472 programs/winecfg/winecfg \
21473 programs/wineconsole/wineconsole \
21474 programs/winedbg/winedbg \
21475 programs/winefile/winefile \
21476 programs/winemine/winemine \
21477 programs/winepath/winepath \
21478 server/wineserver"
21480 case $host_os in
21481 cygwin*|mingw32*|darwin*|macosx*|linux-android*) ;;
21482 *) TOP_INSTALL_LIB="$TOP_INSTALL_LIB loader/wine.desktop" ;;
21483 esac
21486 $as_echo " done" >&6
21487 cat >confcache <<\_ACEOF
21488 # This file is a shell script that caches the results of configure
21489 # tests run on this system so they can be shared between configure
21490 # scripts and configure runs, see configure's option --config-cache.
21491 # It is not useful on other systems. If it contains results you don't
21492 # want to keep, you may remove or edit it.
21494 # config.status only pays attention to the cache file if you give it
21495 # the --recheck option to rerun configure.
21497 # `ac_cv_env_foo' variables (set or unset) will be overridden when
21498 # loading this file, other *unset* `ac_cv_foo' will be assigned the
21499 # following values.
21501 _ACEOF
21503 # The following way of writing the cache mishandles newlines in values,
21504 # but we know of no workaround that is simple, portable, and efficient.
21505 # So, we kill variables containing newlines.
21506 # Ultrix sh set writes to stderr and can't be redirected directly,
21507 # and sets the high bit in the cache file unless we assign to the vars.
21509 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
21510 eval ac_val=\$$ac_var
21511 case $ac_val in #(
21512 *${as_nl}*)
21513 case $ac_var in #(
21514 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
21515 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
21516 esac
21517 case $ac_var in #(
21518 _ | IFS | as_nl) ;; #(
21519 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
21520 *) { eval $ac_var=; unset $ac_var;} ;;
21521 esac ;;
21522 esac
21523 done
21525 (set) 2>&1 |
21526 case $as_nl`(ac_space=' '; set) 2>&1` in #(
21527 *${as_nl}ac_space=\ *)
21528 # `set' does not quote correctly, so add quotes: double-quote
21529 # substitution turns \\\\ into \\, and sed turns \\ into \.
21530 sed -n \
21531 "s/'/'\\\\''/g;
21532 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
21533 ;; #(
21535 # `set' quotes correctly as required by POSIX, so do not add quotes.
21536 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
21538 esac |
21539 sort
21541 sed '
21542 /^ac_cv_env_/b end
21543 t clear
21544 :clear
21545 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
21546 t end
21547 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
21548 :end' >>confcache
21549 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
21550 if test -w "$cache_file"; then
21551 if test "x$cache_file" != "x/dev/null"; then
21552 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
21553 $as_echo "$as_me: updating cache $cache_file" >&6;}
21554 if test ! -f "$cache_file" || test -h "$cache_file"; then
21555 cat confcache >"$cache_file"
21556 else
21557 case $cache_file in #(
21558 */* | ?:*)
21559 mv -f confcache "$cache_file"$$ &&
21560 mv -f "$cache_file"$$ "$cache_file" ;; #(
21562 mv -f confcache "$cache_file" ;;
21563 esac
21566 else
21567 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
21568 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
21571 rm -f confcache
21573 test "x$prefix" = xNONE && prefix=$ac_default_prefix
21574 # Let make expand exec_prefix.
21575 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
21577 DEFS=-DHAVE_CONFIG_H
21579 ac_libobjs=
21580 ac_ltlibobjs=
21582 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
21583 # 1. Remove the extension, and $U if already installed.
21584 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
21585 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
21586 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
21587 # will be set to the directory where LIBOBJS objects are built.
21588 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
21589 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
21590 done
21591 LIBOBJS=$ac_libobjs
21593 LTLIBOBJS=$ac_ltlibobjs
21597 : "${CONFIG_STATUS=./config.status}"
21598 ac_write_fail=0
21599 ac_clean_files_save=$ac_clean_files
21600 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
21601 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
21602 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
21603 as_write_fail=0
21604 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
21605 #! $SHELL
21606 # Generated by $as_me.
21607 # Run this file to recreate the current configuration.
21608 # Compiler output produced by configure, useful for debugging
21609 # configure, is in config.log if it exists.
21611 debug=false
21612 ac_cs_recheck=false
21613 ac_cs_silent=false
21615 SHELL=\${CONFIG_SHELL-$SHELL}
21616 export SHELL
21617 _ASEOF
21618 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
21619 ## -------------------- ##
21620 ## M4sh Initialization. ##
21621 ## -------------------- ##
21623 # Be more Bourne compatible
21624 DUALCASE=1; export DUALCASE # for MKS sh
21625 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
21626 emulate sh
21627 NULLCMD=:
21628 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
21629 # is contrary to our usage. Disable this feature.
21630 alias -g '${1+"$@"}'='"$@"'
21631 setopt NO_GLOB_SUBST
21632 else
21633 case `(set -o) 2>/dev/null` in #(
21634 *posix*) :
21635 set -o posix ;; #(
21636 *) :
21638 esac
21642 as_nl='
21644 export as_nl
21645 # Printing a long string crashes Solaris 7 /usr/bin/printf.
21646 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
21647 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
21648 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
21649 # Prefer a ksh shell builtin over an external printf program on Solaris,
21650 # but without wasting forks for bash or zsh.
21651 if test -z "$BASH_VERSION$ZSH_VERSION" \
21652 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
21653 as_echo='print -r --'
21654 as_echo_n='print -rn --'
21655 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
21656 as_echo='printf %s\n'
21657 as_echo_n='printf %s'
21658 else
21659 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
21660 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
21661 as_echo_n='/usr/ucb/echo -n'
21662 else
21663 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
21664 as_echo_n_body='eval
21665 arg=$1;
21666 case $arg in #(
21667 *"$as_nl"*)
21668 expr "X$arg" : "X\\(.*\\)$as_nl";
21669 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
21670 esac;
21671 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
21673 export as_echo_n_body
21674 as_echo_n='sh -c $as_echo_n_body as_echo'
21676 export as_echo_body
21677 as_echo='sh -c $as_echo_body as_echo'
21680 # The user is always right.
21681 if test "${PATH_SEPARATOR+set}" != set; then
21682 PATH_SEPARATOR=:
21683 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
21684 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
21685 PATH_SEPARATOR=';'
21690 # IFS
21691 # We need space, tab and new line, in precisely that order. Quoting is
21692 # there to prevent editors from complaining about space-tab.
21693 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
21694 # splitting by setting IFS to empty value.)
21695 IFS=" "" $as_nl"
21697 # Find who we are. Look in the path if we contain no directory separator.
21698 as_myself=
21699 case $0 in #((
21700 *[\\/]* ) as_myself=$0 ;;
21701 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
21702 for as_dir in $PATH
21704 IFS=$as_save_IFS
21705 test -z "$as_dir" && as_dir=.
21706 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
21707 done
21708 IFS=$as_save_IFS
21711 esac
21712 # We did not find ourselves, most probably we were run as `sh COMMAND'
21713 # in which case we are not to be found in the path.
21714 if test "x$as_myself" = x; then
21715 as_myself=$0
21717 if test ! -f "$as_myself"; then
21718 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
21719 exit 1
21722 # Unset variables that we do not need and which cause bugs (e.g. in
21723 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
21724 # suppresses any "Segmentation fault" message there. '((' could
21725 # trigger a bug in pdksh 5.2.14.
21726 for as_var in BASH_ENV ENV MAIL MAILPATH
21727 do eval test x\${$as_var+set} = xset \
21728 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
21729 done
21730 PS1='$ '
21731 PS2='> '
21732 PS4='+ '
21734 # NLS nuisances.
21735 LC_ALL=C
21736 export LC_ALL
21737 LANGUAGE=C
21738 export LANGUAGE
21740 # CDPATH.
21741 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
21744 # as_fn_error STATUS ERROR [LINENO LOG_FD]
21745 # ----------------------------------------
21746 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
21747 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
21748 # script with STATUS, using 1 if that was 0.
21749 as_fn_error ()
21751 as_status=$1; test $as_status -eq 0 && as_status=1
21752 if test "$4"; then
21753 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
21754 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
21756 $as_echo "$as_me: error: $2" >&2
21757 as_fn_exit $as_status
21758 } # as_fn_error
21761 # as_fn_set_status STATUS
21762 # -----------------------
21763 # Set $? to STATUS, without forking.
21764 as_fn_set_status ()
21766 return $1
21767 } # as_fn_set_status
21769 # as_fn_exit STATUS
21770 # -----------------
21771 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
21772 as_fn_exit ()
21774 set +e
21775 as_fn_set_status $1
21776 exit $1
21777 } # as_fn_exit
21779 # as_fn_unset VAR
21780 # ---------------
21781 # Portably unset VAR.
21782 as_fn_unset ()
21784 { eval $1=; unset $1;}
21786 as_unset=as_fn_unset
21787 # as_fn_append VAR VALUE
21788 # ----------------------
21789 # Append the text in VALUE to the end of the definition contained in VAR. Take
21790 # advantage of any shell optimizations that allow amortized linear growth over
21791 # repeated appends, instead of the typical quadratic growth present in naive
21792 # implementations.
21793 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
21794 eval 'as_fn_append ()
21796 eval $1+=\$2
21798 else
21799 as_fn_append ()
21801 eval $1=\$$1\$2
21803 fi # as_fn_append
21805 # as_fn_arith ARG...
21806 # ------------------
21807 # Perform arithmetic evaluation on the ARGs, and store the result in the
21808 # global $as_val. Take advantage of shells that can avoid forks. The arguments
21809 # must be portable across $(()) and expr.
21810 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
21811 eval 'as_fn_arith ()
21813 as_val=$(( $* ))
21815 else
21816 as_fn_arith ()
21818 as_val=`expr "$@" || test $? -eq 1`
21820 fi # as_fn_arith
21823 if expr a : '\(a\)' >/dev/null 2>&1 &&
21824 test "X`expr 00001 : '.*\(...\)'`" = X001; then
21825 as_expr=expr
21826 else
21827 as_expr=false
21830 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
21831 as_basename=basename
21832 else
21833 as_basename=false
21836 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
21837 as_dirname=dirname
21838 else
21839 as_dirname=false
21842 as_me=`$as_basename -- "$0" ||
21843 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
21844 X"$0" : 'X\(//\)$' \| \
21845 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
21846 $as_echo X/"$0" |
21847 sed '/^.*\/\([^/][^/]*\)\/*$/{
21848 s//\1/
21851 /^X\/\(\/\/\)$/{
21852 s//\1/
21855 /^X\/\(\/\).*/{
21856 s//\1/
21859 s/.*/./; q'`
21861 # Avoid depending upon Character Ranges.
21862 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
21863 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
21864 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
21865 as_cr_digits='0123456789'
21866 as_cr_alnum=$as_cr_Letters$as_cr_digits
21868 ECHO_C= ECHO_N= ECHO_T=
21869 case `echo -n x` in #(((((
21870 -n*)
21871 case `echo 'xy\c'` in
21872 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
21873 xy) ECHO_C='\c';;
21874 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
21875 ECHO_T=' ';;
21876 esac;;
21878 ECHO_N='-n';;
21879 esac
21881 rm -f conf$$ conf$$.exe conf$$.file
21882 if test -d conf$$.dir; then
21883 rm -f conf$$.dir/conf$$.file
21884 else
21885 rm -f conf$$.dir
21886 mkdir conf$$.dir 2>/dev/null
21888 if (echo >conf$$.file) 2>/dev/null; then
21889 if ln -s conf$$.file conf$$ 2>/dev/null; then
21890 as_ln_s='ln -s'
21891 # ... but there are two gotchas:
21892 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
21893 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
21894 # In both cases, we have to default to `cp -pR'.
21895 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
21896 as_ln_s='cp -pR'
21897 elif ln conf$$.file conf$$ 2>/dev/null; then
21898 as_ln_s=ln
21899 else
21900 as_ln_s='cp -pR'
21902 else
21903 as_ln_s='cp -pR'
21905 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
21906 rmdir conf$$.dir 2>/dev/null
21909 # as_fn_mkdir_p
21910 # -------------
21911 # Create "$as_dir" as a directory, including parents if necessary.
21912 as_fn_mkdir_p ()
21915 case $as_dir in #(
21916 -*) as_dir=./$as_dir;;
21917 esac
21918 test -d "$as_dir" || eval $as_mkdir_p || {
21919 as_dirs=
21920 while :; do
21921 case $as_dir in #(
21922 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
21923 *) as_qdir=$as_dir;;
21924 esac
21925 as_dirs="'$as_qdir' $as_dirs"
21926 as_dir=`$as_dirname -- "$as_dir" ||
21927 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21928 X"$as_dir" : 'X\(//\)[^/]' \| \
21929 X"$as_dir" : 'X\(//\)$' \| \
21930 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
21931 $as_echo X"$as_dir" |
21932 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
21933 s//\1/
21936 /^X\(\/\/\)[^/].*/{
21937 s//\1/
21940 /^X\(\/\/\)$/{
21941 s//\1/
21944 /^X\(\/\).*/{
21945 s//\1/
21948 s/.*/./; q'`
21949 test -d "$as_dir" && break
21950 done
21951 test -z "$as_dirs" || eval "mkdir $as_dirs"
21952 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
21955 } # as_fn_mkdir_p
21956 if mkdir -p . 2>/dev/null; then
21957 as_mkdir_p='mkdir -p "$as_dir"'
21958 else
21959 test -d ./-p && rmdir ./-p
21960 as_mkdir_p=false
21964 # as_fn_executable_p FILE
21965 # -----------------------
21966 # Test if FILE is an executable regular file.
21967 as_fn_executable_p ()
21969 test -f "$1" && test -x "$1"
21970 } # as_fn_executable_p
21971 as_test_x='test -x'
21972 as_executable_p=as_fn_executable_p
21974 # Sed expression to map a string onto a valid CPP name.
21975 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
21977 # Sed expression to map a string onto a valid variable name.
21978 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
21981 exec 6>&1
21982 ## ----------------------------------- ##
21983 ## Main body of $CONFIG_STATUS script. ##
21984 ## ----------------------------------- ##
21985 _ASEOF
21986 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
21988 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
21989 # Save the log message, to keep $0 and so on meaningful, and to
21990 # report actual input values of CONFIG_FILES etc. instead of their
21991 # values after options handling.
21992 ac_log="
21993 This file was extended by Wine $as_me 6.7, which was
21994 generated by GNU Autoconf 2.69. Invocation command line was
21996 CONFIG_FILES = $CONFIG_FILES
21997 CONFIG_HEADERS = $CONFIG_HEADERS
21998 CONFIG_LINKS = $CONFIG_LINKS
21999 CONFIG_COMMANDS = $CONFIG_COMMANDS
22000 $ $0 $@
22002 on `(hostname || uname -n) 2>/dev/null | sed 1q`
22005 _ACEOF
22007 case $ac_config_files in *"
22008 "*) set x $ac_config_files; shift; ac_config_files=$*;;
22009 esac
22011 case $ac_config_headers in *"
22012 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
22013 esac
22016 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22017 # Files that config.status was made for.
22018 config_files="$ac_config_files"
22019 config_headers="$ac_config_headers"
22020 config_links="$ac_config_links"
22021 config_commands="$ac_config_commands"
22023 _ACEOF
22025 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22026 ac_cs_usage="\
22027 \`$as_me' instantiates files and other configuration actions
22028 from templates according to the current configuration. Unless the files
22029 and actions are specified as TAGs, all are instantiated by default.
22031 Usage: $0 [OPTION]... [TAG]...
22033 -h, --help print this help, then exit
22034 -V, --version print version number and configuration settings, then exit
22035 --config print configuration, then exit
22036 -q, --quiet, --silent
22037 do not print progress messages
22038 -d, --debug don't remove temporary files
22039 --recheck update $as_me by reconfiguring in the same conditions
22040 --file=FILE[:TEMPLATE]
22041 instantiate the configuration file FILE
22042 --header=FILE[:TEMPLATE]
22043 instantiate the configuration header FILE
22045 Configuration files:
22046 $config_files
22048 Configuration headers:
22049 $config_headers
22051 Configuration links:
22052 $config_links
22054 Configuration commands:
22055 $config_commands
22057 Report bugs to <wine-devel@winehq.org>.
22058 Wine home page: <https://www.winehq.org>."
22060 _ACEOF
22061 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22062 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
22063 ac_cs_version="\\
22064 Wine config.status 6.7
22065 configured by $0, generated by GNU Autoconf 2.69,
22066 with options \\"\$ac_cs_config\\"
22068 Copyright (C) 2012 Free Software Foundation, Inc.
22069 This config.status script is free software; the Free Software Foundation
22070 gives unlimited permission to copy, distribute and modify it."
22072 ac_pwd='$ac_pwd'
22073 srcdir='$srcdir'
22074 test -n "\$AWK" || AWK=awk
22075 _ACEOF
22077 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22078 # The default lists apply if the user does not specify any file.
22079 ac_need_defaults=:
22080 while test $# != 0
22082 case $1 in
22083 --*=?*)
22084 ac_option=`expr "X$1" : 'X\([^=]*\)='`
22085 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
22086 ac_shift=:
22088 --*=)
22089 ac_option=`expr "X$1" : 'X\([^=]*\)='`
22090 ac_optarg=
22091 ac_shift=:
22094 ac_option=$1
22095 ac_optarg=$2
22096 ac_shift=shift
22098 esac
22100 case $ac_option in
22101 # Handling of the options.
22102 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
22103 ac_cs_recheck=: ;;
22104 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
22105 $as_echo "$ac_cs_version"; exit ;;
22106 --config | --confi | --conf | --con | --co | --c )
22107 $as_echo "$ac_cs_config"; exit ;;
22108 --debug | --debu | --deb | --de | --d | -d )
22109 debug=: ;;
22110 --file | --fil | --fi | --f )
22111 $ac_shift
22112 case $ac_optarg in
22113 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
22114 '') as_fn_error $? "missing file argument" ;;
22115 esac
22116 as_fn_append CONFIG_FILES " '$ac_optarg'"
22117 ac_need_defaults=false;;
22118 --header | --heade | --head | --hea )
22119 $ac_shift
22120 case $ac_optarg in
22121 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
22122 esac
22123 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
22124 ac_need_defaults=false;;
22125 --he | --h)
22126 # Conflict between --help and --header
22127 as_fn_error $? "ambiguous option: \`$1'
22128 Try \`$0 --help' for more information.";;
22129 --help | --hel | -h )
22130 $as_echo "$ac_cs_usage"; exit ;;
22131 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
22132 | -silent | --silent | --silen | --sile | --sil | --si | --s)
22133 ac_cs_silent=: ;;
22135 # This is an error.
22136 -*) as_fn_error $? "unrecognized option: \`$1'
22137 Try \`$0 --help' for more information." ;;
22139 *) as_fn_append ac_config_targets " $1"
22140 ac_need_defaults=false ;;
22142 esac
22143 shift
22144 done
22146 ac_configure_extra_args=
22148 if $ac_cs_silent; then
22149 exec 6>/dev/null
22150 ac_configure_extra_args="$ac_configure_extra_args --silent"
22153 _ACEOF
22154 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22155 if \$ac_cs_recheck; then
22156 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
22157 shift
22158 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
22159 CONFIG_SHELL='$SHELL'
22160 export CONFIG_SHELL
22161 exec "\$@"
22164 _ACEOF
22165 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22166 exec 5>>config.log
22168 echo
22169 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
22170 ## Running $as_me. ##
22171 _ASBOX
22172 $as_echo "$ac_log"
22173 } >&5
22175 _ACEOF
22176 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22178 # INIT-COMMANDS
22180 wine_fn_output_makedep ()
22182 as_dir=tools; as_fn_mkdir_p
22183 $CC -Iinclude -I$srcdir/include -D__WINESRC__ $EXTRACFLAGS $CPPFLAGS $CFLAGS -o tools/makedep$ac_exeext $srcdir/tools/makedep.c $LDFLAGS
22185 wine_fn_output_makefile ()
22187 cat Make.tmp - <<\_WINE_EOF >\$tmp/makefile && mv -f \$tmp/makefile \$1 && rm -f Make.tmp && "$wine_makedep"$makedep_flags && return
22188 `cat $wine_rules_file`
22189 _WINE_EOF
22190 as_fn_error $? "could not create Makefile" "$LINENO" 5
22193 _ACEOF
22195 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22197 # Handling of arguments.
22198 for ac_config_target in $ac_config_targets
22200 case $ac_config_target in
22201 "include/config.h") CONFIG_HEADERS="$CONFIG_HEADERS include/config.h" ;;
22202 "include/stamp-h") CONFIG_COMMANDS="$CONFIG_COMMANDS include/stamp-h" ;;
22203 "wine") CONFIG_LINKS="$CONFIG_LINKS wine:tools/winewrapper" ;;
22204 "wine64") CONFIG_LINKS="$CONFIG_LINKS wine64:tools/winewrapper" ;;
22205 "tools/makedep") CONFIG_COMMANDS="$CONFIG_COMMANDS tools/makedep" ;;
22206 "Makefile") CONFIG_COMMANDS="$CONFIG_COMMANDS Makefile" ;;
22207 "Make.tmp") CONFIG_FILES="$CONFIG_FILES Make.tmp:Makefile.in" ;;
22209 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
22210 esac
22211 done
22214 # If the user did not use the arguments to specify the items to instantiate,
22215 # then the envvar interface is used. Set only those that are not.
22216 # We use the long form for the default assignment because of an extremely
22217 # bizarre bug on SunOS 4.1.3.
22218 if $ac_need_defaults; then
22219 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
22220 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
22221 test "${CONFIG_LINKS+set}" = set || CONFIG_LINKS=$config_links
22222 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
22225 # Have a temporary directory for convenience. Make it in the build tree
22226 # simply because there is no reason against having it here, and in addition,
22227 # creating and moving files from /tmp can sometimes cause problems.
22228 # Hook for its removal unless debugging.
22229 # Note that there is a small window in which the directory will not be cleaned:
22230 # after its creation but before its name has been assigned to `$tmp'.
22231 $debug ||
22233 tmp= ac_tmp=
22234 trap 'exit_status=$?
22235 : "${ac_tmp:=$tmp}"
22236 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
22238 trap 'as_fn_exit 1' 1 2 13 15
22240 # Create a (secure) tmp directory for tmp files.
22243 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
22244 test -d "$tmp"
22245 } ||
22247 tmp=./conf$$-$RANDOM
22248 (umask 077 && mkdir "$tmp")
22249 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
22250 ac_tmp=$tmp
22252 # Set up the scripts for CONFIG_FILES section.
22253 # No need to generate them if there are no CONFIG_FILES.
22254 # This happens for instance with `./config.status config.h'.
22255 if test -n "$CONFIG_FILES"; then
22258 ac_cr=`echo X | tr X '\015'`
22259 # On cygwin, bash can eat \r inside `` if the user requested igncr.
22260 # But we know of no other shell where ac_cr would be empty at this
22261 # point, so we can use a bashism as a fallback.
22262 if test "x$ac_cr" = x; then
22263 eval ac_cr=\$\'\\r\'
22265 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
22266 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
22267 ac_cs_awk_cr='\\r'
22268 else
22269 ac_cs_awk_cr=$ac_cr
22272 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
22273 _ACEOF
22277 echo "cat >conf$$subs.awk <<_ACEOF" &&
22278 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
22279 echo "_ACEOF"
22280 } >conf$$subs.sh ||
22281 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
22282 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
22283 ac_delim='%!_!# '
22284 for ac_last_try in false false false false false :; do
22285 . ./conf$$subs.sh ||
22286 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
22288 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
22289 if test $ac_delim_n = $ac_delim_num; then
22290 break
22291 elif $ac_last_try; then
22292 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
22293 else
22294 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
22296 done
22297 rm -f conf$$subs.sh
22299 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22300 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
22301 _ACEOF
22302 sed -n '
22304 s/^/S["/; s/!.*/"]=/
22307 s/^[^!]*!//
22308 :repl
22309 t repl
22310 s/'"$ac_delim"'$//
22311 t delim
22314 s/\(.\{148\}\)..*/\1/
22315 t more1
22316 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
22319 b repl
22320 :more1
22321 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
22324 s/.\{148\}//
22325 t nl
22326 :delim
22328 s/\(.\{148\}\)..*/\1/
22329 t more2
22330 s/["\\]/\\&/g; s/^/"/; s/$/"/
22333 :more2
22334 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
22337 s/.\{148\}//
22338 t delim
22339 ' <conf$$subs.awk | sed '
22340 /^[^""]/{
22342 s/\n//
22344 ' >>$CONFIG_STATUS || ac_write_fail=1
22345 rm -f conf$$subs.awk
22346 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22347 _ACAWK
22348 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
22349 for (key in S) S_is_set[key] = 1
22350 FS = "\a"
22354 line = $ 0
22355 nfields = split(line, field, "@")
22356 substed = 0
22357 len = length(field[1])
22358 for (i = 2; i < nfields; i++) {
22359 key = field[i]
22360 keylen = length(key)
22361 if (S_is_set[key]) {
22362 value = S[key]
22363 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
22364 len += length(value) + length(field[++i])
22365 substed = 1
22366 } else
22367 len += 1 + keylen
22370 print line
22373 _ACAWK
22374 _ACEOF
22375 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22376 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
22377 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
22378 else
22380 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
22381 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
22382 _ACEOF
22384 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
22385 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
22386 # trailing colons and then remove the whole line if VPATH becomes empty
22387 # (actually we leave an empty line to preserve line numbers).
22388 if test "x$srcdir" = x.; then
22389 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
22391 s///
22392 s/^/:/
22393 s/[ ]*$/:/
22394 s/:\$(srcdir):/:/g
22395 s/:\${srcdir}:/:/g
22396 s/:@srcdir@:/:/g
22397 s/^:*//
22398 s/:*$//
22400 s/\(=[ ]*\).*/\1/
22402 s/\n//
22403 s/^[^=]*=[ ]*$//
22407 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22408 fi # test -n "$CONFIG_FILES"
22410 # Set up the scripts for CONFIG_HEADERS section.
22411 # No need to generate them if there are no CONFIG_HEADERS.
22412 # This happens for instance with `./config.status Makefile'.
22413 if test -n "$CONFIG_HEADERS"; then
22414 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
22415 BEGIN {
22416 _ACEOF
22418 # Transform confdefs.h into an awk script `defines.awk', embedded as
22419 # here-document in config.status, that substitutes the proper values into
22420 # config.h.in to produce config.h.
22422 # Create a delimiter string that does not exist in confdefs.h, to ease
22423 # handling of long lines.
22424 ac_delim='%!_!# '
22425 for ac_last_try in false false :; do
22426 ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
22427 if test -z "$ac_tt"; then
22428 break
22429 elif $ac_last_try; then
22430 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
22431 else
22432 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
22434 done
22436 # For the awk script, D is an array of macro values keyed by name,
22437 # likewise P contains macro parameters if any. Preserve backslash
22438 # newline sequences.
22440 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
22441 sed -n '
22442 s/.\{148\}/&'"$ac_delim"'/g
22443 t rset
22444 :rset
22445 s/^[ ]*#[ ]*define[ ][ ]*/ /
22446 t def
22448 :def
22449 s/\\$//
22450 t bsnl
22451 s/["\\]/\\&/g
22452 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
22453 D["\1"]=" \3"/p
22454 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
22456 :bsnl
22457 s/["\\]/\\&/g
22458 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
22459 D["\1"]=" \3\\\\\\n"\\/p
22460 t cont
22461 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
22462 t cont
22464 :cont
22466 s/.\{148\}/&'"$ac_delim"'/g
22467 t clear
22468 :clear
22469 s/\\$//
22470 t bsnlc
22471 s/["\\]/\\&/g; s/^/"/; s/$/"/p
22473 :bsnlc
22474 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
22475 b cont
22476 ' <confdefs.h | sed '
22477 s/'"$ac_delim"'/"\\\
22478 "/g' >>$CONFIG_STATUS || ac_write_fail=1
22480 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22481 for (key in D) D_is_set[key] = 1
22482 FS = "\a"
22484 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
22485 line = \$ 0
22486 split(line, arg, " ")
22487 if (arg[1] == "#") {
22488 defundef = arg[2]
22489 mac1 = arg[3]
22490 } else {
22491 defundef = substr(arg[1], 2)
22492 mac1 = arg[2]
22494 split(mac1, mac2, "(") #)
22495 macro = mac2[1]
22496 prefix = substr(line, 1, index(line, defundef) - 1)
22497 if (D_is_set[macro]) {
22498 # Preserve the white space surrounding the "#".
22499 print prefix "define", macro P[macro] D[macro]
22500 next
22501 } else {
22502 # Replace #undef with comments. This is necessary, for example,
22503 # in the case of _POSIX_SOURCE, which is predefined and required
22504 # on some systems where configure will not decide to define it.
22505 if (defundef == "undef") {
22506 print "/*", prefix defundef, macro, "*/"
22507 next
22511 { print }
22512 _ACAWK
22513 _ACEOF
22514 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22515 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
22516 fi # test -n "$CONFIG_HEADERS"
22519 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :L $CONFIG_LINKS :C $CONFIG_COMMANDS"
22520 shift
22521 for ac_tag
22523 case $ac_tag in
22524 :[FHLC]) ac_mode=$ac_tag; continue;;
22525 esac
22526 case $ac_mode$ac_tag in
22527 :[FHL]*:*);;
22528 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
22529 :[FH]-) ac_tag=-:-;;
22530 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
22531 esac
22532 ac_save_IFS=$IFS
22533 IFS=:
22534 set x $ac_tag
22535 IFS=$ac_save_IFS
22536 shift
22537 ac_file=$1
22538 shift
22540 case $ac_mode in
22541 :L) ac_source=$1;;
22542 :[FH])
22543 ac_file_inputs=
22544 for ac_f
22546 case $ac_f in
22547 -) ac_f="$ac_tmp/stdin";;
22548 *) # Look for the file first in the build tree, then in the source tree
22549 # (if the path is not absolute). The absolute path cannot be DOS-style,
22550 # because $ac_f cannot contain `:'.
22551 test -f "$ac_f" ||
22552 case $ac_f in
22553 [\\/$]*) false;;
22554 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
22555 esac ||
22556 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
22557 esac
22558 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
22559 as_fn_append ac_file_inputs " '$ac_f'"
22560 done
22562 # Let's still pretend it is `configure' which instantiates (i.e., don't
22563 # use $as_me), people would be surprised to read:
22564 # /* config.h. Generated by config.status. */
22565 configure_input='Generated from '`
22566 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
22567 `' by configure.'
22568 if test x"$ac_file" != x-; then
22569 configure_input="$ac_file. $configure_input"
22570 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
22571 $as_echo "$as_me: creating $ac_file" >&6;}
22573 # Neutralize special characters interpreted by sed in replacement strings.
22574 case $configure_input in #(
22575 *\&* | *\|* | *\\* )
22576 ac_sed_conf_input=`$as_echo "$configure_input" |
22577 sed 's/[\\\\&|]/\\\\&/g'`;; #(
22578 *) ac_sed_conf_input=$configure_input;;
22579 esac
22581 case $ac_tag in
22582 *:-:* | *:-) cat >"$ac_tmp/stdin" \
22583 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
22584 esac
22586 esac
22588 ac_dir=`$as_dirname -- "$ac_file" ||
22589 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
22590 X"$ac_file" : 'X\(//\)[^/]' \| \
22591 X"$ac_file" : 'X\(//\)$' \| \
22592 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
22593 $as_echo X"$ac_file" |
22594 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
22595 s//\1/
22598 /^X\(\/\/\)[^/].*/{
22599 s//\1/
22602 /^X\(\/\/\)$/{
22603 s//\1/
22606 /^X\(\/\).*/{
22607 s//\1/
22610 s/.*/./; q'`
22611 as_dir="$ac_dir"; as_fn_mkdir_p
22612 ac_builddir=.
22614 case "$ac_dir" in
22615 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
22617 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
22618 # A ".." for each directory in $ac_dir_suffix.
22619 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
22620 case $ac_top_builddir_sub in
22621 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
22622 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
22623 esac ;;
22624 esac
22625 ac_abs_top_builddir=$ac_pwd
22626 ac_abs_builddir=$ac_pwd$ac_dir_suffix
22627 # for backward compatibility:
22628 ac_top_builddir=$ac_top_build_prefix
22630 case $srcdir in
22631 .) # We are building in place.
22632 ac_srcdir=.
22633 ac_top_srcdir=$ac_top_builddir_sub
22634 ac_abs_top_srcdir=$ac_pwd ;;
22635 [\\/]* | ?:[\\/]* ) # Absolute name.
22636 ac_srcdir=$srcdir$ac_dir_suffix;
22637 ac_top_srcdir=$srcdir
22638 ac_abs_top_srcdir=$srcdir ;;
22639 *) # Relative name.
22640 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
22641 ac_top_srcdir=$ac_top_build_prefix$srcdir
22642 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
22643 esac
22644 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
22647 case $ac_mode in
22650 # CONFIG_FILE
22653 _ACEOF
22655 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22656 # If the template does not know about datarootdir, expand it.
22657 # FIXME: This hack should be removed a few years after 2.60.
22658 ac_datarootdir_hack=; ac_datarootdir_seen=
22659 ac_sed_dataroot='
22660 /datarootdir/ {
22664 /@datadir@/p
22665 /@docdir@/p
22666 /@infodir@/p
22667 /@localedir@/p
22668 /@mandir@/p'
22669 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
22670 *datarootdir*) ac_datarootdir_seen=yes;;
22671 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
22672 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
22673 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
22674 _ACEOF
22675 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22676 ac_datarootdir_hack='
22677 s&@datadir@&$datadir&g
22678 s&@docdir@&$docdir&g
22679 s&@infodir@&$infodir&g
22680 s&@localedir@&$localedir&g
22681 s&@mandir@&$mandir&g
22682 s&\\\${datarootdir}&$datarootdir&g' ;;
22683 esac
22684 _ACEOF
22686 # Neutralize VPATH when `$srcdir' = `.'.
22687 # Shell code in configure.ac might set extrasub.
22688 # FIXME: do we really want to maintain this feature?
22689 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22690 ac_sed_extra="$ac_vpsub
22691 $extrasub
22692 _ACEOF
22693 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22695 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
22696 s|@configure_input@|$ac_sed_conf_input|;t t
22697 s&@top_builddir@&$ac_top_builddir_sub&;t t
22698 s&@top_build_prefix@&$ac_top_build_prefix&;t t
22699 s&@srcdir@&$ac_srcdir&;t t
22700 s&@abs_srcdir@&$ac_abs_srcdir&;t t
22701 s&@top_srcdir@&$ac_top_srcdir&;t t
22702 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
22703 s&@builddir@&$ac_builddir&;t t
22704 s&@abs_builddir@&$ac_abs_builddir&;t t
22705 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
22706 $ac_datarootdir_hack
22708 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
22709 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
22711 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
22712 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
22713 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
22714 "$ac_tmp/out"`; test -z "$ac_out"; } &&
22715 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
22716 which seems to be undefined. Please make sure it is defined" >&5
22717 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
22718 which seems to be undefined. Please make sure it is defined" >&2;}
22720 rm -f "$ac_tmp/stdin"
22721 case $ac_file in
22722 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
22723 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
22724 esac \
22725 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
22729 # CONFIG_HEADER
22731 if test x"$ac_file" != x-; then
22733 $as_echo "/* $configure_input */" \
22734 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
22735 } >"$ac_tmp/config.h" \
22736 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
22737 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
22738 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
22739 $as_echo "$as_me: $ac_file is unchanged" >&6;}
22740 else
22741 rm -f "$ac_file"
22742 mv "$ac_tmp/config.h" "$ac_file" \
22743 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
22745 else
22746 $as_echo "/* $configure_input */" \
22747 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
22748 || as_fn_error $? "could not create -" "$LINENO" 5
22753 # CONFIG_LINK
22756 if test "$ac_source" = "$ac_file" && test "$srcdir" = '.'; then
22758 else
22759 # Prefer the file from the source tree if names are identical.
22760 if test "$ac_source" = "$ac_file" || test ! -r "$ac_source"; then
22761 ac_source=$srcdir/$ac_source
22764 { $as_echo "$as_me:${as_lineno-$LINENO}: linking $ac_source to $ac_file" >&5
22765 $as_echo "$as_me: linking $ac_source to $ac_file" >&6;}
22767 if test ! -r "$ac_source"; then
22768 as_fn_error $? "$ac_source: file not found" "$LINENO" 5
22770 rm -f "$ac_file"
22772 # Try a relative symlink, then a hard link, then a copy.
22773 case $ac_source in
22774 [\\/$]* | ?:[\\/]* ) ac_rel_source=$ac_source ;;
22775 *) ac_rel_source=$ac_top_build_prefix$ac_source ;;
22776 esac
22777 ln -s "$ac_rel_source" "$ac_file" 2>/dev/null ||
22778 ln "$ac_source" "$ac_file" 2>/dev/null ||
22779 cp -p "$ac_source" "$ac_file" ||
22780 as_fn_error $? "cannot link or copy $ac_source to $ac_file" "$LINENO" 5
22783 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
22784 $as_echo "$as_me: executing $ac_file commands" >&6;}
22786 esac
22789 case $ac_file$ac_mode in
22790 "include/stamp-h":C) echo timestamp > include/stamp-h ;;
22791 "tools/makedep":C) wine_fn_output_makedep || as_fn_exit $? ;;
22792 "Makefile":C) wine_fn_output_makefile Makefile ;;
22794 esac
22795 done # for ac_tag
22798 as_fn_exit 0
22799 _ACEOF
22800 ac_clean_files=$ac_clean_files_save
22802 test $ac_write_fail = 0 ||
22803 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
22806 # configure is writing to config.log, and then calls config.status.
22807 # config.status does its own redirection, appending to config.log.
22808 # Unfortunately, on DOS this fails, as config.log is still kept open
22809 # by configure, so config.status won't be able to write to it; its
22810 # output is simply discarded. So we exec the FD to /dev/null,
22811 # effectively closing config.log, so it can be properly (re)opened and
22812 # appended to by config.status. When coming back to configure, we
22813 # need to make the FD available again.
22814 if test "$no_create" != yes; then
22815 ac_cs_success=:
22816 ac_config_status_args=
22817 test "$silent" = yes &&
22818 ac_config_status_args="$ac_config_status_args --quiet"
22819 exec 5>/dev/null
22820 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
22821 exec 5>>config.log
22822 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
22823 # would make configure fail if this is the last instruction.
22824 $ac_cs_success || as_fn_exit 1
22826 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
22827 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
22828 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
22832 if test "$no_create" = "yes"
22833 then
22834 exit 0
22837 ac_save_IFS="$IFS"
22838 if test "x$wine_notices" != x; then
22839 echo >&6
22840 IFS="|"
22841 for msg in $wine_notices; do
22842 IFS="$ac_save_IFS"
22843 if ${msg:+false} :; then :
22845 else
22846 { $as_echo "$as_me:${as_lineno-$LINENO}: $msg" >&5
22847 $as_echo "$as_me: $msg" >&6;}
22849 done
22851 IFS="|"
22852 for msg in $wine_warnings; do
22853 IFS="$ac_save_IFS"
22854 if ${msg:+false} :; then :
22856 else
22857 echo >&2
22858 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $msg" >&5
22859 $as_echo "$as_me: WARNING: $msg" >&2;}
22861 done
22862 IFS="$ac_save_IFS"
22864 $as_echo "
22865 $as_me: Finished. Do '${ac_make}' to compile Wine.
22866 " >&6