secur32: Add support for setting DTLS MTU.
[wine.git] / configure
blob475fcfdf749fbbbd8bd3ef54dc1c18a3c3bf5712
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.69 for Wine 6.3.
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.3'
584 PACKAGE_STRING='Wine 6.3'
585 PACKAGE_BUGREPORT='wine-devel@winehq.org'
586 PACKAGE_URL='https://www.winehq.org'
588 ac_unique_file="server/atom.c"
589 # Factoring default headers for most tests.
590 ac_includes_default="\
591 #include <stdio.h>
592 #ifdef HAVE_SYS_TYPES_H
593 # include <sys/types.h>
594 #endif
595 #ifdef HAVE_SYS_STAT_H
596 # include <sys/stat.h>
597 #endif
598 #ifdef STDC_HEADERS
599 # include <stdlib.h>
600 # include <stddef.h>
601 #else
602 # ifdef HAVE_STDLIB_H
603 # include <stdlib.h>
604 # endif
605 #endif
606 #ifdef HAVE_STRING_H
607 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
608 # include <memory.h>
609 # endif
610 # include <string.h>
611 #endif
612 #ifdef HAVE_STRINGS_H
613 # include <strings.h>
614 #endif
615 #ifdef HAVE_INTTYPES_H
616 # include <inttypes.h>
617 #endif
618 #ifdef HAVE_STDINT_H
619 # include <stdint.h>
620 #endif
621 #ifdef HAVE_UNISTD_H
622 # include <unistd.h>
623 #endif"
625 ac_subst_vars='LTLIBOBJS
626 LIBOBJS
627 ALL_VARS_RULES
628 LDAP_LIBS
629 LDAP_CFLAGS
630 RT_LIBS
631 POLL_LIBS
632 TOOLSEXT
633 MSVCRTFLAGS
634 EXTRACFLAGS
635 VKD3D_SHADER_LIBS
636 VKD3D_SHADER_CFLAGS
637 VKD3D_LIBS
638 VKD3D_CFLAGS
639 NETAPI_LIBS
640 NETAPI_CFLAGS
641 PROCSTAT_LIBS
642 KSTAT_LIBS
643 MPG123_LIBS
644 MPG123_CFLAGS
645 TIFF_LIBS
646 TIFF_CFLAGS
647 PNG_LIBS
648 PNG_CFLAGS
649 JXRLIB_LIBS
650 JXRLIB_CFLAGS
651 JPEG_LIBS
652 JPEG_CFLAGS
653 GSSAPI_LIBS
654 GSSAPI_CFLAGS
655 KRB5_LIBS
656 KRB5_CFLAGS
657 FONTCONFIG_LIBS
658 FONTCONFIG_CFLAGS
659 CUPS_LIBS
660 CUPS_CFLAGS
661 CAPI20_LIBS
662 CAPI20_CFLAGS
663 FAUDIO_LIBS
664 FAUDIO_CFLAGS
665 SDL2_LIBS
666 SDL2_CFLAGS
667 UNWIND_LIBS
668 UNWIND_CFLAGS
669 UDEV_LIBS
670 UDEV_CFLAGS
671 OSS4_LIBS
672 OSS4_CFLAGS
673 ALSA_LIBS
674 GSTREAMER_LIBS
675 GSTREAMER_CFLAGS
676 PULSE_LIBS
677 PULSE_CFLAGS
678 GETTEXTPO_LIBS
679 FREETYPE_LIBS
680 FREETYPE_CFLAGS
681 LCMS2_LIBS
682 LCMS2_CFLAGS
683 RESOLV_LIBS
684 GPHOTO2_PORT_LIBS
685 GPHOTO2_PORT_CFLAGS
686 GPHOTO2_LIBS
687 GPHOTO2_CFLAGS
688 USB_LIBS
689 USB_CFLAGS
690 SANE_LIBS
691 SANE_CFLAGS
692 GNUTLS_LIBS
693 GNUTLS_CFLAGS
694 HAL_LIBS
695 HAL_CFLAGS
696 DBUS_LIBS
697 DBUS_CFLAGS
698 INOTIFY_LIBS
699 INOTIFY_CFLAGS
700 XSLT_LIBS
701 XSLT_CFLAGS
702 XML2_LIBS
703 XML2_CFLAGS
704 PCAP_LIBS
705 X_EXTRA_LIBS
706 X_LIBS
707 X_PRE_LIBS
708 X_CFLAGS
709 XMKMF
710 PTHREAD_LIBS
711 EXCESS_PRECISION_CFLAGS
712 CROSSDEBUG
713 DELAYLOADFLAG
714 CROSSLDFLAGS
715 EXTRACROSSCFLAGS
716 CROSSCFLAGS
717 CROSSCC
718 CROSSTARGET
719 LIBWINE_DEPENDS
720 PRELINK
721 WINELOADER_DEPENDS
722 LIBWINE_LDFLAGS
723 LIBWINE_SHAREDLIB
724 METAL_LIBS
725 CARBON_LIBS
726 QUICKTIME_LIBS
727 OPENCL_LIBS
728 OPENAL_LIBS
729 COREAUDIO_LIBS
730 SECURITY_LIBS
731 DISKARBITRATION_LIBS
732 SYSTEMCONFIGURATION_LIBS
733 APPKIT_LIBS
734 CORESERVICES_LIBS
735 APPLICATIONSERVICES_LIBS
736 FORCEFEEDBACK_LIBS
737 IOKIT_LIBS
738 COREFOUNDATION_LIBS
739 OBJCPP
740 ac_ct_OBJC
741 OBJCFLAGS
742 OBJC
743 DLLTOOL
744 WINELOADER_PROGRAMS
745 CONFIGURE_TARGETS
746 DISABLED_SUBDIRS
747 SUBDIRS
748 READELF
749 OTOOL
751 WINEPRELOADER_LDFLAGS
752 WINELOADER_LDFLAGS
753 TOP_INSTALL_DEV
754 TOP_INSTALL_LIB
755 LDEXECFLAGS
756 LDDLLFLAGS
757 DLLFLAGS
759 OPENGL_LIBS
760 I386_LIBS
761 ICOTOOL
762 CONVERT
763 RSVG
764 FONTFORGE
765 PKG_CONFIG
766 MSGFMT
767 LDCONFIG
768 EGREP
769 GREP
770 LN_S
771 RANLIB
772 STRIP
773 ac_ct_AR
775 BISON
776 FLEX
777 TOOLSDIR
778 TARGETFLAGS
780 CPPBIN
781 ac_ct_CXX
782 CXXFLAGS
784 OBJEXT
785 EXEEXT
786 ac_ct_CC
787 CPPFLAGS
788 LDFLAGS
789 CFLAGS
791 SET_MAKE
792 host_os
793 host_vendor
794 host_cpu
795 host
796 build_os
797 build_vendor
798 build_cpu
799 build
800 target_alias
801 host_alias
802 build_alias
803 LIBS
804 ECHO_T
805 ECHO_N
806 ECHO_C
807 DEFS
808 mandir
809 localedir
810 libdir
811 psdir
812 pdfdir
813 dvidir
814 htmldir
815 infodir
816 docdir
817 oldincludedir
818 includedir
819 runstatedir
820 localstatedir
821 sharedstatedir
822 sysconfdir
823 datadir
824 datarootdir
825 libexecdir
826 sbindir
827 bindir
828 program_transform_name
829 prefix
830 exec_prefix
831 PACKAGE_URL
832 PACKAGE_BUGREPORT
833 PACKAGE_STRING
834 PACKAGE_VERSION
835 PACKAGE_TARNAME
836 PACKAGE_NAME
837 PATH_SEPARATOR
838 SHELL'
839 ac_subst_files=''
840 ac_user_opts='
841 enable_option_checking
842 enable_win16
843 enable_win64
844 enable_tests
845 enable_build_id
846 enable_maintainer_mode
847 enable_silent_rules
848 enable_werror
849 with_alsa
850 with_capi
851 with_cms
852 with_coreaudio
853 with_cups
854 with_dbus
855 with_faudio
856 with_float_abi
857 with_fontconfig
858 with_freetype
859 with_gettext
860 with_gettextpo
861 with_gphoto
862 with_gnutls
863 with_gsm
864 with_gssapi
865 with_gstreamer
866 with_hal
867 with_inotify
868 with_jpeg
869 with_jxrlib
870 with_krb5
871 with_ldap
872 with_mingw
873 with_mpg123
874 with_netapi
875 with_openal
876 with_opencl
877 with_opengl
878 with_osmesa
879 with_oss
880 with_pcap
881 with_png
882 with_pthread
883 with_pulse
884 with_quicktime
885 with_sane
886 with_sdl
887 with_tiff
888 with_udev
889 with_unwind
890 with_usb
891 with_v4l2
892 with_vkd3d
893 with_vulkan
894 with_xcomposite
895 with_xcursor
896 with_xfixes
897 with_xinerama
898 with_xinput
899 with_xinput2
900 with_xml
901 with_xrandr
902 with_xrender
903 with_xshape
904 with_xshm
905 with_xslt
906 with_xxf86vm
907 with_wine_tools
908 with_wine64
909 enable_largefile
910 with_x
911 enable_acledit
912 enable_aclui
913 enable_activeds_tlb
914 enable_activeds
915 enable_actxprxy
916 enable_adsiid
917 enable_adsldp
918 enable_adsldpc
919 enable_advapi32
920 enable_advpack
921 enable_amsi
922 enable_amstream
923 enable_api_ms_win_appmodel_identity_l1_1_0
924 enable_api_ms_win_appmodel_runtime_l1_1_1
925 enable_api_ms_win_appmodel_runtime_l1_1_2
926 enable_api_ms_win_core_apiquery_l1_1_0
927 enable_api_ms_win_core_appcompat_l1_1_1
928 enable_api_ms_win_core_appinit_l1_1_0
929 enable_api_ms_win_core_atoms_l1_1_0
930 enable_api_ms_win_core_bem_l1_1_0
931 enable_api_ms_win_core_com_l1_1_0
932 enable_api_ms_win_core_com_l1_1_1
933 enable_api_ms_win_core_com_private_l1_1_0
934 enable_api_ms_win_core_comm_l1_1_0
935 enable_api_ms_win_core_console_l1_1_0
936 enable_api_ms_win_core_console_l2_1_0
937 enable_api_ms_win_core_crt_l1_1_0
938 enable_api_ms_win_core_crt_l2_1_0
939 enable_api_ms_win_core_datetime_l1_1_0
940 enable_api_ms_win_core_datetime_l1_1_1
941 enable_api_ms_win_core_debug_l1_1_0
942 enable_api_ms_win_core_debug_l1_1_1
943 enable_api_ms_win_core_delayload_l1_1_0
944 enable_api_ms_win_core_delayload_l1_1_1
945 enable_api_ms_win_core_errorhandling_l1_1_0
946 enable_api_ms_win_core_errorhandling_l1_1_1
947 enable_api_ms_win_core_errorhandling_l1_1_2
948 enable_api_ms_win_core_errorhandling_l1_1_3
949 enable_api_ms_win_core_fibers_l1_1_0
950 enable_api_ms_win_core_fibers_l1_1_1
951 enable_api_ms_win_core_file_ansi_l2_1_0
952 enable_api_ms_win_core_file_fromapp_l1_1_0
953 enable_api_ms_win_core_file_l1_1_0
954 enable_api_ms_win_core_file_l1_2_0
955 enable_api_ms_win_core_file_l1_2_1
956 enable_api_ms_win_core_file_l1_2_2
957 enable_api_ms_win_core_file_l2_1_0
958 enable_api_ms_win_core_file_l2_1_1
959 enable_api_ms_win_core_file_l2_1_2
960 enable_api_ms_win_core_handle_l1_1_0
961 enable_api_ms_win_core_heap_l1_1_0
962 enable_api_ms_win_core_heap_l1_2_0
963 enable_api_ms_win_core_heap_l2_1_0
964 enable_api_ms_win_core_heap_obsolete_l1_1_0
965 enable_api_ms_win_core_interlocked_l1_1_0
966 enable_api_ms_win_core_interlocked_l1_2_0
967 enable_api_ms_win_core_io_l1_1_0
968 enable_api_ms_win_core_io_l1_1_1
969 enable_api_ms_win_core_job_l1_1_0
970 enable_api_ms_win_core_job_l2_1_0
971 enable_api_ms_win_core_kernel32_legacy_l1_1_0
972 enable_api_ms_win_core_kernel32_legacy_l1_1_1
973 enable_api_ms_win_core_kernel32_legacy_l1_1_2
974 enable_api_ms_win_core_kernel32_private_l1_1_1
975 enable_api_ms_win_core_largeinteger_l1_1_0
976 enable_api_ms_win_core_libraryloader_l1_1_0
977 enable_api_ms_win_core_libraryloader_l1_1_1
978 enable_api_ms_win_core_libraryloader_l1_2_0
979 enable_api_ms_win_core_libraryloader_l1_2_1
980 enable_api_ms_win_core_libraryloader_l1_2_2
981 enable_api_ms_win_core_libraryloader_l2_1_0
982 enable_api_ms_win_core_localization_l1_1_0
983 enable_api_ms_win_core_localization_l1_2_0
984 enable_api_ms_win_core_localization_l1_2_1
985 enable_api_ms_win_core_localization_l1_2_2
986 enable_api_ms_win_core_localization_l2_1_0
987 enable_api_ms_win_core_localization_obsolete_l1_1_0
988 enable_api_ms_win_core_localization_obsolete_l1_2_0
989 enable_api_ms_win_core_localization_obsolete_l1_3_0
990 enable_api_ms_win_core_localization_private_l1_1_0
991 enable_api_ms_win_core_localregistry_l1_1_0
992 enable_api_ms_win_core_memory_l1_1_0
993 enable_api_ms_win_core_memory_l1_1_1
994 enable_api_ms_win_core_memory_l1_1_2
995 enable_api_ms_win_core_memory_l1_1_3
996 enable_api_ms_win_core_memory_l1_1_4
997 enable_api_ms_win_core_misc_l1_1_0
998 enable_api_ms_win_core_namedpipe_ansi_l1_1_0
999 enable_api_ms_win_core_namedpipe_l1_1_0
1000 enable_api_ms_win_core_namedpipe_l1_2_0
1001 enable_api_ms_win_core_namespace_l1_1_0
1002 enable_api_ms_win_core_normalization_l1_1_0
1003 enable_api_ms_win_core_path_l1_1_0
1004 enable_api_ms_win_core_privateprofile_l1_1_1
1005 enable_api_ms_win_core_processenvironment_l1_1_0
1006 enable_api_ms_win_core_processenvironment_l1_2_0
1007 enable_api_ms_win_core_processthreads_l1_1_0
1008 enable_api_ms_win_core_processthreads_l1_1_1
1009 enable_api_ms_win_core_processthreads_l1_1_2
1010 enable_api_ms_win_core_processthreads_l1_1_3
1011 enable_api_ms_win_core_processtopology_obsolete_l1_1_0
1012 enable_api_ms_win_core_profile_l1_1_0
1013 enable_api_ms_win_core_psapi_ansi_l1_1_0
1014 enable_api_ms_win_core_psapi_l1_1_0
1015 enable_api_ms_win_core_psapi_obsolete_l1_1_0
1016 enable_api_ms_win_core_quirks_l1_1_0
1017 enable_api_ms_win_core_realtime_l1_1_0
1018 enable_api_ms_win_core_registry_l1_1_0
1019 enable_api_ms_win_core_registry_l2_1_0
1020 enable_api_ms_win_core_registry_l2_2_0
1021 enable_api_ms_win_core_registryuserspecific_l1_1_0
1022 enable_api_ms_win_core_rtlsupport_l1_1_0
1023 enable_api_ms_win_core_rtlsupport_l1_2_0
1024 enable_api_ms_win_core_shlwapi_legacy_l1_1_0
1025 enable_api_ms_win_core_shlwapi_obsolete_l1_1_0
1026 enable_api_ms_win_core_shlwapi_obsolete_l1_2_0
1027 enable_api_ms_win_core_shutdown_l1_1_0
1028 enable_api_ms_win_core_sidebyside_l1_1_0
1029 enable_api_ms_win_core_string_l1_1_0
1030 enable_api_ms_win_core_string_l2_1_0
1031 enable_api_ms_win_core_string_obsolete_l1_1_0
1032 enable_api_ms_win_core_stringansi_l1_1_0
1033 enable_api_ms_win_core_stringloader_l1_1_1
1034 enable_api_ms_win_core_synch_ansi_l1_1_0
1035 enable_api_ms_win_core_synch_l1_1_0
1036 enable_api_ms_win_core_synch_l1_2_0
1037 enable_api_ms_win_core_synch_l1_2_1
1038 enable_api_ms_win_core_sysinfo_l1_1_0
1039 enable_api_ms_win_core_sysinfo_l1_2_0
1040 enable_api_ms_win_core_sysinfo_l1_2_1
1041 enable_api_ms_win_core_systemtopology_l1_1_0
1042 enable_api_ms_win_core_threadpool_l1_1_0
1043 enable_api_ms_win_core_threadpool_l1_2_0
1044 enable_api_ms_win_core_threadpool_legacy_l1_1_0
1045 enable_api_ms_win_core_threadpool_private_l1_1_0
1046 enable_api_ms_win_core_timezone_l1_1_0
1047 enable_api_ms_win_core_toolhelp_l1_1_0
1048 enable_api_ms_win_core_url_l1_1_0
1049 enable_api_ms_win_core_util_l1_1_0
1050 enable_api_ms_win_core_version_l1_1_0
1051 enable_api_ms_win_core_version_l1_1_1
1052 enable_api_ms_win_core_version_private_l1_1_0
1053 enable_api_ms_win_core_versionansi_l1_1_0
1054 enable_api_ms_win_core_windowserrorreporting_l1_1_0
1055 enable_api_ms_win_core_winrt_error_l1_1_0
1056 enable_api_ms_win_core_winrt_error_l1_1_1
1057 enable_api_ms_win_core_winrt_errorprivate_l1_1_1
1058 enable_api_ms_win_core_winrt_l1_1_0
1059 enable_api_ms_win_core_winrt_registration_l1_1_0
1060 enable_api_ms_win_core_winrt_roparameterizediid_l1_1_0
1061 enable_api_ms_win_core_winrt_string_l1_1_0
1062 enable_api_ms_win_core_winrt_string_l1_1_1
1063 enable_api_ms_win_core_wow64_l1_1_0
1064 enable_api_ms_win_core_wow64_l1_1_1
1065 enable_api_ms_win_core_xstate_l1_1_0
1066 enable_api_ms_win_core_xstate_l2_1_0
1067 enable_api_ms_win_crt_conio_l1_1_0
1068 enable_api_ms_win_crt_convert_l1_1_0
1069 enable_api_ms_win_crt_environment_l1_1_0
1070 enable_api_ms_win_crt_filesystem_l1_1_0
1071 enable_api_ms_win_crt_heap_l1_1_0
1072 enable_api_ms_win_crt_locale_l1_1_0
1073 enable_api_ms_win_crt_math_l1_1_0
1074 enable_api_ms_win_crt_multibyte_l1_1_0
1075 enable_api_ms_win_crt_private_l1_1_0
1076 enable_api_ms_win_crt_process_l1_1_0
1077 enable_api_ms_win_crt_runtime_l1_1_0
1078 enable_api_ms_win_crt_stdio_l1_1_0
1079 enable_api_ms_win_crt_string_l1_1_0
1080 enable_api_ms_win_crt_time_l1_1_0
1081 enable_api_ms_win_crt_utility_l1_1_0
1082 enable_api_ms_win_devices_config_l1_1_0
1083 enable_api_ms_win_devices_config_l1_1_1
1084 enable_api_ms_win_devices_query_l1_1_1
1085 enable_api_ms_win_downlevel_advapi32_l1_1_0
1086 enable_api_ms_win_downlevel_advapi32_l2_1_0
1087 enable_api_ms_win_downlevel_kernel32_l2_1_0
1088 enable_api_ms_win_downlevel_normaliz_l1_1_0
1089 enable_api_ms_win_downlevel_ole32_l1_1_0
1090 enable_api_ms_win_downlevel_shell32_l1_1_0
1091 enable_api_ms_win_downlevel_shlwapi_l1_1_0
1092 enable_api_ms_win_downlevel_shlwapi_l2_1_0
1093 enable_api_ms_win_downlevel_user32_l1_1_0
1094 enable_api_ms_win_downlevel_version_l1_1_0
1095 enable_api_ms_win_dx_d3dkmt_l1_1_0
1096 enable_api_ms_win_eventing_classicprovider_l1_1_0
1097 enable_api_ms_win_eventing_consumer_l1_1_0
1098 enable_api_ms_win_eventing_controller_l1_1_0
1099 enable_api_ms_win_eventing_legacy_l1_1_0
1100 enable_api_ms_win_eventing_provider_l1_1_0
1101 enable_api_ms_win_eventlog_legacy_l1_1_0
1102 enable_api_ms_win_gdi_dpiinfo_l1_1_0
1103 enable_api_ms_win_mm_joystick_l1_1_0
1104 enable_api_ms_win_mm_misc_l1_1_1
1105 enable_api_ms_win_mm_mme_l1_1_0
1106 enable_api_ms_win_mm_time_l1_1_0
1107 enable_api_ms_win_ntuser_dc_access_l1_1_0
1108 enable_api_ms_win_ntuser_rectangle_l1_1_0
1109 enable_api_ms_win_ntuser_sysparams_l1_1_0
1110 enable_api_ms_win_perf_legacy_l1_1_0
1111 enable_api_ms_win_power_base_l1_1_0
1112 enable_api_ms_win_power_setting_l1_1_0
1113 enable_api_ms_win_rtcore_ntuser_draw_l1_1_0
1114 enable_api_ms_win_rtcore_ntuser_private_l1_1_0
1115 enable_api_ms_win_rtcore_ntuser_private_l1_1_4
1116 enable_api_ms_win_rtcore_ntuser_window_l1_1_0
1117 enable_api_ms_win_rtcore_ntuser_winevent_l1_1_0
1118 enable_api_ms_win_rtcore_ntuser_wmpointer_l1_1_0
1119 enable_api_ms_win_rtcore_ntuser_wmpointer_l1_1_3
1120 enable_api_ms_win_security_activedirectoryclient_l1_1_0
1121 enable_api_ms_win_security_audit_l1_1_1
1122 enable_api_ms_win_security_base_l1_1_0
1123 enable_api_ms_win_security_base_l1_2_0
1124 enable_api_ms_win_security_base_private_l1_1_1
1125 enable_api_ms_win_security_credentials_l1_1_0
1126 enable_api_ms_win_security_cryptoapi_l1_1_0
1127 enable_api_ms_win_security_grouppolicy_l1_1_0
1128 enable_api_ms_win_security_lsalookup_l1_1_0
1129 enable_api_ms_win_security_lsalookup_l1_1_1
1130 enable_api_ms_win_security_lsalookup_l2_1_0
1131 enable_api_ms_win_security_lsalookup_l2_1_1
1132 enable_api_ms_win_security_lsapolicy_l1_1_0
1133 enable_api_ms_win_security_provider_l1_1_0
1134 enable_api_ms_win_security_sddl_l1_1_0
1135 enable_api_ms_win_security_systemfunctions_l1_1_0
1136 enable_api_ms_win_service_core_l1_1_0
1137 enable_api_ms_win_service_core_l1_1_1
1138 enable_api_ms_win_service_management_l1_1_0
1139 enable_api_ms_win_service_management_l2_1_0
1140 enable_api_ms_win_service_private_l1_1_1
1141 enable_api_ms_win_service_winsvc_l1_1_0
1142 enable_api_ms_win_service_winsvc_l1_2_0
1143 enable_api_ms_win_shcore_obsolete_l1_1_0
1144 enable_api_ms_win_shcore_scaling_l1_1_1
1145 enable_api_ms_win_shcore_stream_l1_1_0
1146 enable_api_ms_win_shcore_thread_l1_1_0
1147 enable_api_ms_win_shell_shellcom_l1_1_0
1148 enable_api_ms_win_shell_shellfolders_l1_1_0
1149 enable_apphelp
1150 enable_appwiz_cpl
1151 enable_atl
1152 enable_atl100
1153 enable_atl110
1154 enable_atl80
1155 enable_atl90
1156 enable_atlthunk
1157 enable_atmlib
1158 enable_authz
1159 enable_avicap32
1160 enable_avifil32
1161 enable_avrt
1162 enable_bcrypt
1163 enable_bluetoothapis
1164 enable_browseui
1165 enable_bthprops_cpl
1166 enable_cabinet
1167 enable_capi2032
1168 enable_cards
1169 enable_cdosys
1170 enable_cfgmgr32
1171 enable_clusapi
1172 enable_combase
1173 enable_comcat
1174 enable_comctl32
1175 enable_comdlg32
1176 enable_compstui
1177 enable_comsvcs
1178 enable_concrt140
1179 enable_connect
1180 enable_credui
1181 enable_crtdll
1182 enable_crypt32
1183 enable_cryptdlg
1184 enable_cryptdll
1185 enable_cryptext
1186 enable_cryptnet
1187 enable_cryptsp
1188 enable_cryptui
1189 enable_ctapi32
1190 enable_ctl3d32
1191 enable_d2d1
1192 enable_d3d10
1193 enable_d3d10_1
1194 enable_d3d10core
1195 enable_d3d11
1196 enable_d3d12
1197 enable_d3d8
1198 enable_d3d8thk
1199 enable_d3d9
1200 enable_d3dcompiler_33
1201 enable_d3dcompiler_34
1202 enable_d3dcompiler_35
1203 enable_d3dcompiler_36
1204 enable_d3dcompiler_37
1205 enable_d3dcompiler_38
1206 enable_d3dcompiler_39
1207 enable_d3dcompiler_40
1208 enable_d3dcompiler_41
1209 enable_d3dcompiler_42
1210 enable_d3dcompiler_43
1211 enable_d3dcompiler_46
1212 enable_d3dcompiler_47
1213 enable_d3dim
1214 enable_d3dim700
1215 enable_d3drm
1216 enable_d3dx10_33
1217 enable_d3dx10_34
1218 enable_d3dx10_35
1219 enable_d3dx10_36
1220 enable_d3dx10_37
1221 enable_d3dx10_38
1222 enable_d3dx10_39
1223 enable_d3dx10_40
1224 enable_d3dx10_41
1225 enable_d3dx10_42
1226 enable_d3dx10_43
1227 enable_d3dx11_42
1228 enable_d3dx11_43
1229 enable_d3dx9_24
1230 enable_d3dx9_25
1231 enable_d3dx9_26
1232 enable_d3dx9_27
1233 enable_d3dx9_28
1234 enable_d3dx9_29
1235 enable_d3dx9_30
1236 enable_d3dx9_31
1237 enable_d3dx9_32
1238 enable_d3dx9_33
1239 enable_d3dx9_34
1240 enable_d3dx9_35
1241 enable_d3dx9_36
1242 enable_d3dx9_37
1243 enable_d3dx9_38
1244 enable_d3dx9_39
1245 enable_d3dx9_40
1246 enable_d3dx9_41
1247 enable_d3dx9_42
1248 enable_d3dx9_43
1249 enable_d3dxof
1250 enable_davclnt
1251 enable_dbgeng
1252 enable_dbghelp
1253 enable_dciman32
1254 enable_dcomp
1255 enable_ddraw
1256 enable_ddrawex
1257 enable_devenum
1258 enable_dhcpcsvc
1259 enable_dhtmled_ocx
1260 enable_difxapi
1261 enable_dinput
1262 enable_dinput8
1263 enable_directmanipulation
1264 enable_dispex
1265 enable_dmband
1266 enable_dmcompos
1267 enable_dmime
1268 enable_dmloader
1269 enable_dmoguids
1270 enable_dmscript
1271 enable_dmstyle
1272 enable_dmsynth
1273 enable_dmusic
1274 enable_dmusic32
1275 enable_dnsapi
1276 enable_dplay
1277 enable_dplayx
1278 enable_dpnaddr
1279 enable_dpnet
1280 enable_dpnhpast
1281 enable_dpnlobby
1282 enable_dpvoice
1283 enable_dpwsockx
1284 enable_drmclien
1285 enable_dsdmo
1286 enable_dsound
1287 enable_dsquery
1288 enable_dssenh
1289 enable_dsuiext
1290 enable_dswave
1291 enable_dwmapi
1292 enable_dwrite
1293 enable_dx8vb
1294 enable_dxdiagn
1295 enable_dxerr8
1296 enable_dxerr9
1297 enable_dxgi
1298 enable_dxguid
1299 enable_dxva2
1300 enable_esent
1301 enable_evr
1302 enable_explorerframe
1303 enable_ext_ms_win_authz_context_l1_1_0
1304 enable_ext_ms_win_domainjoin_netjoin_l1_1_0
1305 enable_ext_ms_win_dwmapi_ext_l1_1_0
1306 enable_ext_ms_win_gdi_dc_create_l1_1_0
1307 enable_ext_ms_win_gdi_dc_create_l1_1_1
1308 enable_ext_ms_win_gdi_dc_l1_2_0
1309 enable_ext_ms_win_gdi_devcaps_l1_1_0
1310 enable_ext_ms_win_gdi_draw_l1_1_0
1311 enable_ext_ms_win_gdi_draw_l1_1_1
1312 enable_ext_ms_win_gdi_font_l1_1_0
1313 enable_ext_ms_win_gdi_font_l1_1_1
1314 enable_ext_ms_win_gdi_render_l1_1_0
1315 enable_ext_ms_win_kernel32_package_current_l1_1_0
1316 enable_ext_ms_win_kernel32_package_l1_1_1
1317 enable_ext_ms_win_ntuser_dialogbox_l1_1_0
1318 enable_ext_ms_win_ntuser_draw_l1_1_0
1319 enable_ext_ms_win_ntuser_gui_l1_1_0
1320 enable_ext_ms_win_ntuser_gui_l1_3_0
1321 enable_ext_ms_win_ntuser_keyboard_l1_3_0
1322 enable_ext_ms_win_ntuser_message_l1_1_0
1323 enable_ext_ms_win_ntuser_message_l1_1_1
1324 enable_ext_ms_win_ntuser_misc_l1_1_0
1325 enable_ext_ms_win_ntuser_misc_l1_2_0
1326 enable_ext_ms_win_ntuser_misc_l1_5_1
1327 enable_ext_ms_win_ntuser_mouse_l1_1_0
1328 enable_ext_ms_win_ntuser_private_l1_1_1
1329 enable_ext_ms_win_ntuser_private_l1_3_1
1330 enable_ext_ms_win_ntuser_rectangle_ext_l1_1_0
1331 enable_ext_ms_win_ntuser_uicontext_ext_l1_1_0
1332 enable_ext_ms_win_ntuser_window_l1_1_0
1333 enable_ext_ms_win_ntuser_window_l1_1_1
1334 enable_ext_ms_win_ntuser_window_l1_1_4
1335 enable_ext_ms_win_ntuser_windowclass_l1_1_0
1336 enable_ext_ms_win_ntuser_windowclass_l1_1_1
1337 enable_ext_ms_win_oleacc_l1_1_0
1338 enable_ext_ms_win_ras_rasapi32_l1_1_0
1339 enable_ext_ms_win_rtcore_gdi_devcaps_l1_1_0
1340 enable_ext_ms_win_rtcore_gdi_object_l1_1_0
1341 enable_ext_ms_win_rtcore_gdi_rgn_l1_1_0
1342 enable_ext_ms_win_rtcore_ntuser_cursor_l1_1_0
1343 enable_ext_ms_win_rtcore_ntuser_dc_access_l1_1_0
1344 enable_ext_ms_win_rtcore_ntuser_dpi_l1_1_0
1345 enable_ext_ms_win_rtcore_ntuser_dpi_l1_2_0
1346 enable_ext_ms_win_rtcore_ntuser_rawinput_l1_1_0
1347 enable_ext_ms_win_rtcore_ntuser_syscolors_l1_1_0
1348 enable_ext_ms_win_rtcore_ntuser_sysparams_l1_1_0
1349 enable_ext_ms_win_security_credui_l1_1_0
1350 enable_ext_ms_win_security_cryptui_l1_1_0
1351 enable_ext_ms_win_shell_comctl32_init_l1_1_0
1352 enable_ext_ms_win_shell_comdlg32_l1_1_0
1353 enable_ext_ms_win_shell_shell32_l1_2_0
1354 enable_ext_ms_win_uxtheme_themes_l1_1_0
1355 enable_faultrep
1356 enable_feclient
1357 enable_fltlib
1358 enable_fltmgr_sys
1359 enable_fntcache
1360 enable_fontsub
1361 enable_fusion
1362 enable_fwpuclnt
1363 enable_gameux
1364 enable_gdi32
1365 enable_gdiplus
1366 enable_glu32
1367 enable_gphoto2_ds
1368 enable_gpkcsp
1369 enable_hal
1370 enable_hhctrl_ocx
1371 enable_hid
1372 enable_hidclass_sys
1373 enable_hlink
1374 enable_hnetcfg
1375 enable_http_sys
1376 enable_httpapi
1377 enable_iccvid
1378 enable_icmp
1379 enable_ieframe
1380 enable_ieproxy
1381 enable_imaadp32_acm
1382 enable_imagehlp
1383 enable_imm32
1384 enable_inetcomm
1385 enable_inetcpl_cpl
1386 enable_inetmib1
1387 enable_infosoft
1388 enable_initpki
1389 enable_inkobj
1390 enable_inseng
1391 enable_iphlpapi
1392 enable_iprop
1393 enable_irprops_cpl
1394 enable_itircl
1395 enable_itss
1396 enable_joy_cpl
1397 enable_jscript
1398 enable_jsproxy
1399 enable_kerberos
1400 enable_kernel32
1401 enable_kernelbase
1402 enable_ksecdd_sys
1403 enable_ksproxy_ax
1404 enable_ksuser
1405 enable_ktmw32
1406 enable_l3codeca_acm
1407 enable_loadperf
1408 enable_localspl
1409 enable_localui
1410 enable_lz32
1411 enable_mapi32
1412 enable_mapistub
1413 enable_mciavi32
1414 enable_mcicda
1415 enable_mciqtz32
1416 enable_mciseq
1417 enable_mciwave
1418 enable_mf
1419 enable_mf3216
1420 enable_mferror
1421 enable_mfmediaengine
1422 enable_mfplat
1423 enable_mfplay
1424 enable_mfreadwrite
1425 enable_mfuuid
1426 enable_mgmtapi
1427 enable_midimap
1428 enable_mlang
1429 enable_mmcndmgr
1430 enable_mmdevapi
1431 enable_mountmgr_sys
1432 enable_mp3dmod
1433 enable_mpr
1434 enable_mprapi
1435 enable_msacm32_drv
1436 enable_msacm32
1437 enable_msado15
1438 enable_msadp32_acm
1439 enable_msasn1
1440 enable_mscat32
1441 enable_mscms
1442 enable_mscoree
1443 enable_mscorwks
1444 enable_msctf
1445 enable_msctfp
1446 enable_msdaps
1447 enable_msdelta
1448 enable_msdmo
1449 enable_msdrm
1450 enable_msftedit
1451 enable_msg711_acm
1452 enable_msgsm32_acm
1453 enable_mshtml_tlb
1454 enable_mshtml
1455 enable_msi
1456 enable_msident
1457 enable_msimg32
1458 enable_msimsg
1459 enable_msimtf
1460 enable_msisip
1461 enable_msisys_ocx
1462 enable_msls31
1463 enable_msnet32
1464 enable_mspatcha
1465 enable_msports
1466 enable_msrle32
1467 enable_msscript_ocx
1468 enable_mssign32
1469 enable_mssip32
1470 enable_mstask
1471 enable_msvcirt
1472 enable_msvcm80
1473 enable_msvcm90
1474 enable_msvcp100
1475 enable_msvcp110
1476 enable_msvcp120
1477 enable_msvcp120_app
1478 enable_msvcp140
1479 enable_msvcp140_1
1480 enable_msvcp60
1481 enable_msvcp70
1482 enable_msvcp71
1483 enable_msvcp80
1484 enable_msvcp90
1485 enable_msvcr100
1486 enable_msvcr110
1487 enable_msvcr120
1488 enable_msvcr120_app
1489 enable_msvcr70
1490 enable_msvcr71
1491 enable_msvcr80
1492 enable_msvcr90
1493 enable_msvcrt
1494 enable_msvcrt20
1495 enable_msvcrt40
1496 enable_msvcrtd
1497 enable_msvfw32
1498 enable_msvidc32
1499 enable_mswsock
1500 enable_msxml
1501 enable_msxml2
1502 enable_msxml3
1503 enable_msxml4
1504 enable_msxml6
1505 enable_mtxdm
1506 enable_ncrypt
1507 enable_nddeapi
1508 enable_ndis_sys
1509 enable_netapi32
1510 enable_netcfgx
1511 enable_netio_sys
1512 enable_netprofm
1513 enable_netutils
1514 enable_newdev
1515 enable_ninput
1516 enable_normaliz
1517 enable_npmshtml
1518 enable_npptools
1519 enable_ntdll
1520 enable_ntdsapi
1521 enable_ntoskrnl_exe
1522 enable_ntprint
1523 enable_objsel
1524 enable_odbc32
1525 enable_odbcbcp
1526 enable_odbccp32
1527 enable_odbccu32
1528 enable_ole32
1529 enable_oleacc
1530 enable_oleaut32
1531 enable_olecli32
1532 enable_oledb32
1533 enable_oledlg
1534 enable_olepro32
1535 enable_olesvr32
1536 enable_olethk32
1537 enable_opcservices
1538 enable_openal32
1539 enable_opencl
1540 enable_opengl32
1541 enable_packager
1542 enable_pdh
1543 enable_photometadatahandler
1544 enable_pidgen
1545 enable_powrprof
1546 enable_printui
1547 enable_prntvpt
1548 enable_propsys
1549 enable_psapi
1550 enable_pstorec
1551 enable_pwrshplugin
1552 enable_qasf
1553 enable_qcap
1554 enable_qdvd
1555 enable_qedit
1556 enable_qmgr
1557 enable_qmgrprxy
1558 enable_quartz
1559 enable_query
1560 enable_qwave
1561 enable_rasapi32
1562 enable_rasdlg
1563 enable_regapi
1564 enable_resutils
1565 enable_riched20
1566 enable_riched32
1567 enable_rpcrt4
1568 enable_rsabase
1569 enable_rsaenh
1570 enable_rstrtmgr
1571 enable_rtutils
1572 enable_rtworkq
1573 enable_samlib
1574 enable_sane_ds
1575 enable_sapi
1576 enable_sas
1577 enable_scarddlg
1578 enable_sccbase
1579 enable_schannel
1580 enable_schedsvc
1581 enable_scrobj
1582 enable_scrrun
1583 enable_scsiport_sys
1584 enable_sechost
1585 enable_secur32
1586 enable_security
1587 enable_sensapi
1588 enable_serialui
1589 enable_setupapi
1590 enable_sfc
1591 enable_sfc_os
1592 enable_shcore
1593 enable_shdoclc
1594 enable_shdocvw
1595 enable_shell32
1596 enable_shfolder
1597 enable_shlwapi
1598 enable_slbcsp
1599 enable_slc
1600 enable_snmpapi
1601 enable_softpub
1602 enable_spoolss
1603 enable_srclient
1604 enable_srvcli
1605 enable_sspicli
1606 enable_stdole2_tlb
1607 enable_stdole32_tlb
1608 enable_sti
1609 enable_strmbase
1610 enable_strmdll
1611 enable_strmiids
1612 enable_svrapi
1613 enable_sxs
1614 enable_t2embed
1615 enable_tapi32
1616 enable_taskschd
1617 enable_tdh
1618 enable_tdi_sys
1619 enable_traffic
1620 enable_twain_32
1621 enable_tzres
1622 enable_ucrtbase
1623 enable_uianimation
1624 enable_uiautomationcore
1625 enable_uiribbon
1626 enable_unicows
1627 enable_updspapi
1628 enable_url
1629 enable_urlmon
1630 enable_usbd_sys
1631 enable_user32
1632 enable_userenv
1633 enable_usp10
1634 enable_utildll
1635 enable_uuid
1636 enable_uxtheme
1637 enable_vbscript
1638 enable_vcomp
1639 enable_vcomp100
1640 enable_vcomp110
1641 enable_vcomp120
1642 enable_vcomp140
1643 enable_vcomp90
1644 enable_vcruntime140
1645 enable_vcruntime140_1
1646 enable_vdmdbg
1647 enable_version
1648 enable_vga
1649 enable_virtdisk
1650 enable_vssapi
1651 enable_vulkan_1
1652 enable_wbemdisp
1653 enable_wbemprox
1654 enable_wbemuuid
1655 enable_wdscore
1656 enable_webservices
1657 enable_wer
1658 enable_wevtapi
1659 enable_wevtsvc
1660 enable_wiaservc
1661 enable_wimgapi
1662 enable_windowscodecs
1663 enable_windowscodecsext
1664 enable_winealsa_drv
1665 enable_wineandroid_drv
1666 enable_winebus_sys
1667 enable_winecoreaudio_drv
1668 enable_winecrt0
1669 enable_wined3d
1670 enable_winegstreamer
1671 enable_winehid_sys
1672 enable_winejoystick_drv
1673 enable_winemac_drv
1674 enable_winemapi
1675 enable_wineoss_drv
1676 enable_wineps_drv
1677 enable_winepulse_drv
1678 enable_wineqtdecoder
1679 enable_wineusb_sys
1680 enable_winevulkan
1681 enable_winex11_drv
1682 enable_wing32
1683 enable_winhttp
1684 enable_wininet
1685 enable_winmm
1686 enable_winnls32
1687 enable_winscard
1688 enable_winspool_drv
1689 enable_winsta
1690 enable_wintab32
1691 enable_wintrust
1692 enable_winusb
1693 enable_wlanapi
1694 enable_wlanui
1695 enable_wldap32
1696 enable_wmasf
1697 enable_wmcodecdspuuid
1698 enable_wmi
1699 enable_wmiutils
1700 enable_wmp
1701 enable_wmphoto
1702 enable_wmvcore
1703 enable_wnaspi32
1704 enable_wow64cpu
1705 enable_wpc
1706 enable_wpcap
1707 enable_ws2_32
1708 enable_wsdapi
1709 enable_wshom_ocx
1710 enable_wsnmp32
1711 enable_wsock32
1712 enable_wtsapi32
1713 enable_wuapi
1714 enable_wuaueng
1715 enable_x3daudio1_0
1716 enable_x3daudio1_1
1717 enable_x3daudio1_2
1718 enable_x3daudio1_3
1719 enable_x3daudio1_4
1720 enable_x3daudio1_5
1721 enable_x3daudio1_6
1722 enable_x3daudio1_7
1723 enable_xactengine3_0
1724 enable_xactengine3_1
1725 enable_xactengine3_2
1726 enable_xactengine3_3
1727 enable_xactengine3_4
1728 enable_xactengine3_5
1729 enable_xactengine3_6
1730 enable_xactengine3_7
1731 enable_xapofx1_1
1732 enable_xapofx1_2
1733 enable_xapofx1_3
1734 enable_xapofx1_4
1735 enable_xapofx1_5
1736 enable_xaudio2_0
1737 enable_xaudio2_1
1738 enable_xaudio2_2
1739 enable_xaudio2_3
1740 enable_xaudio2_4
1741 enable_xaudio2_5
1742 enable_xaudio2_6
1743 enable_xaudio2_7
1744 enable_xaudio2_8
1745 enable_xaudio2_9
1746 enable_xinput1_1
1747 enable_xinput1_2
1748 enable_xinput1_3
1749 enable_xinput1_4
1750 enable_xinput9_1_0
1751 enable_xmllite
1752 enable_xolehlp
1753 enable_xpsprint
1754 enable_xpssvcs
1755 enable_fonts
1756 enable_include
1757 enable_port
1758 enable_wine
1759 enable_wpp
1760 enable_loader
1761 enable_nls
1762 enable_po
1763 enable_arp
1764 enable_aspnet_regiis
1765 enable_attrib
1766 enable_cabarc
1767 enable_cacls
1768 enable_chcp_com
1769 enable_clock
1770 enable_cmd
1771 enable_conhost
1772 enable_control
1773 enable_cscript
1774 enable_dism
1775 enable_dplaysvr
1776 enable_dpnsvr
1777 enable_dpvsetup
1778 enable_dxdiag
1779 enable_eject
1780 enable_expand
1781 enable_explorer
1782 enable_extrac32
1783 enable_fc
1784 enable_find
1785 enable_findstr
1786 enable_fsutil
1787 enable_hh
1788 enable_hostname
1789 enable_icacls
1790 enable_icinfo
1791 enable_iexplore
1792 enable_ipconfig
1793 enable_lodctr
1794 enable_mofcomp
1795 enable_mshta
1796 enable_msidb
1797 enable_msiexec
1798 enable_msinfo32
1799 enable_net
1800 enable_netsh
1801 enable_netstat
1802 enable_ngen
1803 enable_notepad
1804 enable_oleview
1805 enable_ping
1806 enable_plugplay
1807 enable_powershell
1808 enable_presentationfontcache
1809 enable_progman
1810 enable_reg
1811 enable_regasm
1812 enable_regedit
1813 enable_regini
1814 enable_regsvcs
1815 enable_regsvr32
1816 enable_rpcss
1817 enable_rundll32
1818 enable_sc
1819 enable_schtasks
1820 enable_sdbinst
1821 enable_secedit
1822 enable_servicemodelreg
1823 enable_services
1824 enable_shutdown
1825 enable_spoolsv
1826 enable_start
1827 enable_subst
1828 enable_svchost
1829 enable_systeminfo
1830 enable_taskkill
1831 enable_tasklist
1832 enable_taskmgr
1833 enable_termsv
1834 enable_uninstaller
1835 enable_unlodctr
1836 enable_view
1837 enable_wevtutil
1838 enable_where
1839 enable_whoami
1840 enable_wineboot
1841 enable_winebrowser
1842 enable_winecfg
1843 enable_wineconsole
1844 enable_winedbg
1845 enable_winedevice
1846 enable_winefile
1847 enable_winemenubuilder
1848 enable_winemine
1849 enable_winemsibuilder
1850 enable_winepath
1851 enable_winetest
1852 enable_winhlp32
1853 enable_winmgmt
1854 enable_winver
1855 enable_wmic
1856 enable_wmplayer
1857 enable_wordpad
1858 enable_write
1859 enable_wscript
1860 enable_wuauserv
1861 enable_wusa
1862 enable_xcopy
1863 enable_server
1864 enable_tools
1865 enable_sfnt2fon
1866 enable_widl
1867 enable_winebuild
1868 enable_winedump
1869 enable_winegcc
1870 enable_winemaker
1871 enable_wmc
1872 enable_wrc
1874 ac_precious_vars='build_alias
1875 host_alias
1876 target_alias
1878 CFLAGS
1879 LDFLAGS
1880 LIBS
1881 CPPFLAGS
1883 CXXFLAGS
1886 OBJC
1887 OBJCFLAGS
1888 OBJCPP
1889 XMKMF
1890 XML2_CFLAGS
1891 XML2_LIBS
1892 XSLT_CFLAGS
1893 XSLT_LIBS
1894 INOTIFY_CFLAGS
1895 INOTIFY_LIBS
1896 DBUS_CFLAGS
1897 DBUS_LIBS
1898 HAL_CFLAGS
1899 HAL_LIBS
1900 GNUTLS_CFLAGS
1901 GNUTLS_LIBS
1902 SANE_CFLAGS
1903 SANE_LIBS
1904 USB_CFLAGS
1905 USB_LIBS
1906 GPHOTO2_CFLAGS
1907 GPHOTO2_LIBS
1908 GPHOTO2_PORT_CFLAGS
1909 GPHOTO2_PORT_LIBS
1910 LCMS2_CFLAGS
1911 LCMS2_LIBS
1912 FREETYPE_CFLAGS
1913 FREETYPE_LIBS
1914 PULSE_CFLAGS
1915 PULSE_LIBS
1916 GSTREAMER_CFLAGS
1917 GSTREAMER_LIBS
1918 UDEV_CFLAGS
1919 UDEV_LIBS
1920 UNWIND_CFLAGS
1921 UNWIND_LIBS
1922 SDL2_CFLAGS
1923 SDL2_LIBS
1924 FAUDIO_CFLAGS
1925 FAUDIO_LIBS
1926 CAPI20_CFLAGS
1927 CAPI20_LIBS
1928 CUPS_CFLAGS
1929 CUPS_LIBS
1930 FONTCONFIG_CFLAGS
1931 FONTCONFIG_LIBS
1932 KRB5_CFLAGS
1933 KRB5_LIBS
1934 GSSAPI_CFLAGS
1935 GSSAPI_LIBS
1936 JPEG_CFLAGS
1937 JPEG_LIBS
1938 JXRLIB_CFLAGS
1939 JXRLIB_LIBS
1940 PNG_CFLAGS
1941 PNG_LIBS
1942 TIFF_CFLAGS
1943 TIFF_LIBS
1944 MPG123_CFLAGS
1945 MPG123_LIBS
1946 NETAPI_CFLAGS
1947 NETAPI_LIBS
1948 VKD3D_CFLAGS
1949 VKD3D_LIBS
1950 VKD3D_SHADER_CFLAGS
1951 VKD3D_SHADER_LIBS
1952 LDAP_CFLAGS
1953 LDAP_LIBS'
1956 # Initialize some variables set by options.
1957 ac_init_help=
1958 ac_init_version=false
1959 ac_unrecognized_opts=
1960 ac_unrecognized_sep=
1961 # The variables have the same names as the options, with
1962 # dashes changed to underlines.
1963 cache_file=/dev/null
1964 exec_prefix=NONE
1965 no_create=
1966 no_recursion=
1967 prefix=NONE
1968 program_prefix=NONE
1969 program_suffix=NONE
1970 program_transform_name=s,x,x,
1971 silent=
1972 site=
1973 srcdir=
1974 verbose=
1975 x_includes=NONE
1976 x_libraries=NONE
1978 # Installation directory options.
1979 # These are left unexpanded so users can "make install exec_prefix=/foo"
1980 # and all the variables that are supposed to be based on exec_prefix
1981 # by default will actually change.
1982 # Use braces instead of parens because sh, perl, etc. also accept them.
1983 # (The list follows the same order as the GNU Coding Standards.)
1984 bindir='${exec_prefix}/bin'
1985 sbindir='${exec_prefix}/sbin'
1986 libexecdir='${exec_prefix}/libexec'
1987 datarootdir='${prefix}/share'
1988 datadir='${datarootdir}'
1989 sysconfdir='${prefix}/etc'
1990 sharedstatedir='${prefix}/com'
1991 localstatedir='${prefix}/var'
1992 runstatedir='${localstatedir}/run'
1993 includedir='${prefix}/include'
1994 oldincludedir='/usr/include'
1995 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
1996 infodir='${datarootdir}/info'
1997 htmldir='${docdir}'
1998 dvidir='${docdir}'
1999 pdfdir='${docdir}'
2000 psdir='${docdir}'
2001 libdir='${exec_prefix}/lib'
2002 localedir='${datarootdir}/locale'
2003 mandir='${datarootdir}/man'
2005 ac_prev=
2006 ac_dashdash=
2007 for ac_option
2009 # If the previous option needs an argument, assign it.
2010 if test -n "$ac_prev"; then
2011 eval $ac_prev=\$ac_option
2012 ac_prev=
2013 continue
2016 case $ac_option in
2017 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
2018 *=) ac_optarg= ;;
2019 *) ac_optarg=yes ;;
2020 esac
2022 # Accept the important Cygnus configure options, so we can diagnose typos.
2024 case $ac_dashdash$ac_option in
2026 ac_dashdash=yes ;;
2028 -bindir | --bindir | --bindi | --bind | --bin | --bi)
2029 ac_prev=bindir ;;
2030 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
2031 bindir=$ac_optarg ;;
2033 -build | --build | --buil | --bui | --bu)
2034 ac_prev=build_alias ;;
2035 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
2036 build_alias=$ac_optarg ;;
2038 -cache-file | --cache-file | --cache-fil | --cache-fi \
2039 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
2040 ac_prev=cache_file ;;
2041 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
2042 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
2043 cache_file=$ac_optarg ;;
2045 --config-cache | -C)
2046 cache_file=config.cache ;;
2048 -datadir | --datadir | --datadi | --datad)
2049 ac_prev=datadir ;;
2050 -datadir=* | --datadir=* | --datadi=* | --datad=*)
2051 datadir=$ac_optarg ;;
2053 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
2054 | --dataroo | --dataro | --datar)
2055 ac_prev=datarootdir ;;
2056 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
2057 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
2058 datarootdir=$ac_optarg ;;
2060 -disable-* | --disable-*)
2061 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
2062 # Reject names that are not valid shell variable names.
2063 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
2064 as_fn_error $? "invalid feature name: $ac_useropt"
2065 ac_useropt_orig=$ac_useropt
2066 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
2067 case $ac_user_opts in
2069 "enable_$ac_useropt"
2070 "*) ;;
2071 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
2072 ac_unrecognized_sep=', ';;
2073 esac
2074 eval enable_$ac_useropt=no ;;
2076 -docdir | --docdir | --docdi | --doc | --do)
2077 ac_prev=docdir ;;
2078 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
2079 docdir=$ac_optarg ;;
2081 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
2082 ac_prev=dvidir ;;
2083 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
2084 dvidir=$ac_optarg ;;
2086 -enable-* | --enable-*)
2087 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
2088 # Reject names that are not valid shell variable names.
2089 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
2090 as_fn_error $? "invalid feature name: $ac_useropt"
2091 ac_useropt_orig=$ac_useropt
2092 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
2093 case $ac_user_opts in
2095 "enable_$ac_useropt"
2096 "*) ;;
2097 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
2098 ac_unrecognized_sep=', ';;
2099 esac
2100 eval enable_$ac_useropt=\$ac_optarg ;;
2102 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
2103 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
2104 | --exec | --exe | --ex)
2105 ac_prev=exec_prefix ;;
2106 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
2107 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
2108 | --exec=* | --exe=* | --ex=*)
2109 exec_prefix=$ac_optarg ;;
2111 -gas | --gas | --ga | --g)
2112 # Obsolete; use --with-gas.
2113 with_gas=yes ;;
2115 -help | --help | --hel | --he | -h)
2116 ac_init_help=long ;;
2117 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
2118 ac_init_help=recursive ;;
2119 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
2120 ac_init_help=short ;;
2122 -host | --host | --hos | --ho)
2123 ac_prev=host_alias ;;
2124 -host=* | --host=* | --hos=* | --ho=*)
2125 host_alias=$ac_optarg ;;
2127 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
2128 ac_prev=htmldir ;;
2129 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
2130 | --ht=*)
2131 htmldir=$ac_optarg ;;
2133 -includedir | --includedir | --includedi | --included | --include \
2134 | --includ | --inclu | --incl | --inc)
2135 ac_prev=includedir ;;
2136 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
2137 | --includ=* | --inclu=* | --incl=* | --inc=*)
2138 includedir=$ac_optarg ;;
2140 -infodir | --infodir | --infodi | --infod | --info | --inf)
2141 ac_prev=infodir ;;
2142 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
2143 infodir=$ac_optarg ;;
2145 -libdir | --libdir | --libdi | --libd)
2146 ac_prev=libdir ;;
2147 -libdir=* | --libdir=* | --libdi=* | --libd=*)
2148 libdir=$ac_optarg ;;
2150 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
2151 | --libexe | --libex | --libe)
2152 ac_prev=libexecdir ;;
2153 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
2154 | --libexe=* | --libex=* | --libe=*)
2155 libexecdir=$ac_optarg ;;
2157 -localedir | --localedir | --localedi | --localed | --locale)
2158 ac_prev=localedir ;;
2159 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
2160 localedir=$ac_optarg ;;
2162 -localstatedir | --localstatedir | --localstatedi | --localstated \
2163 | --localstate | --localstat | --localsta | --localst | --locals)
2164 ac_prev=localstatedir ;;
2165 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
2166 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
2167 localstatedir=$ac_optarg ;;
2169 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
2170 ac_prev=mandir ;;
2171 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
2172 mandir=$ac_optarg ;;
2174 -nfp | --nfp | --nf)
2175 # Obsolete; use --without-fp.
2176 with_fp=no ;;
2178 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
2179 | --no-cr | --no-c | -n)
2180 no_create=yes ;;
2182 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
2183 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
2184 no_recursion=yes ;;
2186 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
2187 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
2188 | --oldin | --oldi | --old | --ol | --o)
2189 ac_prev=oldincludedir ;;
2190 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
2191 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
2192 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
2193 oldincludedir=$ac_optarg ;;
2195 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
2196 ac_prev=prefix ;;
2197 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
2198 prefix=$ac_optarg ;;
2200 -program-prefix | --program-prefix | --program-prefi | --program-pref \
2201 | --program-pre | --program-pr | --program-p)
2202 ac_prev=program_prefix ;;
2203 -program-prefix=* | --program-prefix=* | --program-prefi=* \
2204 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
2205 program_prefix=$ac_optarg ;;
2207 -program-suffix | --program-suffix | --program-suffi | --program-suff \
2208 | --program-suf | --program-su | --program-s)
2209 ac_prev=program_suffix ;;
2210 -program-suffix=* | --program-suffix=* | --program-suffi=* \
2211 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
2212 program_suffix=$ac_optarg ;;
2214 -program-transform-name | --program-transform-name \
2215 | --program-transform-nam | --program-transform-na \
2216 | --program-transform-n | --program-transform- \
2217 | --program-transform | --program-transfor \
2218 | --program-transfo | --program-transf \
2219 | --program-trans | --program-tran \
2220 | --progr-tra | --program-tr | --program-t)
2221 ac_prev=program_transform_name ;;
2222 -program-transform-name=* | --program-transform-name=* \
2223 | --program-transform-nam=* | --program-transform-na=* \
2224 | --program-transform-n=* | --program-transform-=* \
2225 | --program-transform=* | --program-transfor=* \
2226 | --program-transfo=* | --program-transf=* \
2227 | --program-trans=* | --program-tran=* \
2228 | --progr-tra=* | --program-tr=* | --program-t=*)
2229 program_transform_name=$ac_optarg ;;
2231 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
2232 ac_prev=pdfdir ;;
2233 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
2234 pdfdir=$ac_optarg ;;
2236 -psdir | --psdir | --psdi | --psd | --ps)
2237 ac_prev=psdir ;;
2238 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
2239 psdir=$ac_optarg ;;
2241 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2242 | -silent | --silent | --silen | --sile | --sil)
2243 silent=yes ;;
2245 -runstatedir | --runstatedir | --runstatedi | --runstated \
2246 | --runstate | --runstat | --runsta | --runst | --runs \
2247 | --run | --ru | --r)
2248 ac_prev=runstatedir ;;
2249 -runstatedir=* | --runstatedir=* | --runstatedi=* | --runstated=* \
2250 | --runstate=* | --runstat=* | --runsta=* | --runst=* | --runs=* \
2251 | --run=* | --ru=* | --r=*)
2252 runstatedir=$ac_optarg ;;
2254 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
2255 ac_prev=sbindir ;;
2256 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
2257 | --sbi=* | --sb=*)
2258 sbindir=$ac_optarg ;;
2260 -sharedstatedir | --sharedstatedir | --sharedstatedi \
2261 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
2262 | --sharedst | --shareds | --shared | --share | --shar \
2263 | --sha | --sh)
2264 ac_prev=sharedstatedir ;;
2265 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
2266 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
2267 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
2268 | --sha=* | --sh=*)
2269 sharedstatedir=$ac_optarg ;;
2271 -site | --site | --sit)
2272 ac_prev=site ;;
2273 -site=* | --site=* | --sit=*)
2274 site=$ac_optarg ;;
2276 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
2277 ac_prev=srcdir ;;
2278 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
2279 srcdir=$ac_optarg ;;
2281 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
2282 | --syscon | --sysco | --sysc | --sys | --sy)
2283 ac_prev=sysconfdir ;;
2284 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
2285 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
2286 sysconfdir=$ac_optarg ;;
2288 -target | --target | --targe | --targ | --tar | --ta | --t)
2289 ac_prev=target_alias ;;
2290 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
2291 target_alias=$ac_optarg ;;
2293 -v | -verbose | --verbose | --verbos | --verbo | --verb)
2294 verbose=yes ;;
2296 -version | --version | --versio | --versi | --vers | -V)
2297 ac_init_version=: ;;
2299 -with-* | --with-*)
2300 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
2301 # Reject names that are not valid shell variable names.
2302 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
2303 as_fn_error $? "invalid package name: $ac_useropt"
2304 ac_useropt_orig=$ac_useropt
2305 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
2306 case $ac_user_opts in
2308 "with_$ac_useropt"
2309 "*) ;;
2310 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
2311 ac_unrecognized_sep=', ';;
2312 esac
2313 eval with_$ac_useropt=\$ac_optarg ;;
2315 -without-* | --without-*)
2316 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
2317 # Reject names that are not valid shell variable names.
2318 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
2319 as_fn_error $? "invalid package name: $ac_useropt"
2320 ac_useropt_orig=$ac_useropt
2321 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
2322 case $ac_user_opts in
2324 "with_$ac_useropt"
2325 "*) ;;
2326 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
2327 ac_unrecognized_sep=', ';;
2328 esac
2329 eval with_$ac_useropt=no ;;
2331 --x)
2332 # Obsolete; use --with-x.
2333 with_x=yes ;;
2335 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
2336 | --x-incl | --x-inc | --x-in | --x-i)
2337 ac_prev=x_includes ;;
2338 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
2339 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
2340 x_includes=$ac_optarg ;;
2342 -x-libraries | --x-libraries | --x-librarie | --x-librari \
2343 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
2344 ac_prev=x_libraries ;;
2345 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
2346 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
2347 x_libraries=$ac_optarg ;;
2349 -*) as_fn_error $? "unrecognized option: \`$ac_option'
2350 Try \`$0 --help' for more information"
2353 *=*)
2354 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
2355 # Reject names that are not valid shell variable names.
2356 case $ac_envvar in #(
2357 '' | [0-9]* | *[!_$as_cr_alnum]* )
2358 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
2359 esac
2360 eval $ac_envvar=\$ac_optarg
2361 export $ac_envvar ;;
2364 # FIXME: should be removed in autoconf 3.0.
2365 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
2366 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
2367 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
2368 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
2371 esac
2372 done
2374 if test -n "$ac_prev"; then
2375 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
2376 as_fn_error $? "missing argument to $ac_option"
2379 if test -n "$ac_unrecognized_opts"; then
2380 case $enable_option_checking in
2381 no) ;;
2382 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
2383 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
2384 esac
2387 # Check all directory arguments for consistency.
2388 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
2389 datadir sysconfdir sharedstatedir localstatedir includedir \
2390 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
2391 libdir localedir mandir runstatedir
2393 eval ac_val=\$$ac_var
2394 # Remove trailing slashes.
2395 case $ac_val in
2396 */ )
2397 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
2398 eval $ac_var=\$ac_val;;
2399 esac
2400 # Be sure to have absolute directory names.
2401 case $ac_val in
2402 [\\/$]* | ?:[\\/]* ) continue;;
2403 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
2404 esac
2405 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
2406 done
2408 # There might be people who depend on the old broken behavior: `$host'
2409 # used to hold the argument of --host etc.
2410 # FIXME: To remove some day.
2411 build=$build_alias
2412 host=$host_alias
2413 target=$target_alias
2415 # FIXME: To remove some day.
2416 if test "x$host_alias" != x; then
2417 if test "x$build_alias" = x; then
2418 cross_compiling=maybe
2419 elif test "x$build_alias" != "x$host_alias"; then
2420 cross_compiling=yes
2424 ac_tool_prefix=
2425 test -n "$host_alias" && ac_tool_prefix=$host_alias-
2427 test "$silent" = yes && exec 6>/dev/null
2430 ac_pwd=`pwd` && test -n "$ac_pwd" &&
2431 ac_ls_di=`ls -di .` &&
2432 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
2433 as_fn_error $? "working directory cannot be determined"
2434 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
2435 as_fn_error $? "pwd does not report name of working directory"
2438 # Find the source files, if location was not specified.
2439 if test -z "$srcdir"; then
2440 ac_srcdir_defaulted=yes
2441 # Try the directory containing this script, then the parent directory.
2442 ac_confdir=`$as_dirname -- "$as_myself" ||
2443 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
2444 X"$as_myself" : 'X\(//\)[^/]' \| \
2445 X"$as_myself" : 'X\(//\)$' \| \
2446 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
2447 $as_echo X"$as_myself" |
2448 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
2449 s//\1/
2452 /^X\(\/\/\)[^/].*/{
2453 s//\1/
2456 /^X\(\/\/\)$/{
2457 s//\1/
2460 /^X\(\/\).*/{
2461 s//\1/
2464 s/.*/./; q'`
2465 srcdir=$ac_confdir
2466 if test ! -r "$srcdir/$ac_unique_file"; then
2467 srcdir=..
2469 else
2470 ac_srcdir_defaulted=no
2472 if test ! -r "$srcdir/$ac_unique_file"; then
2473 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
2474 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
2476 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
2477 ac_abs_confdir=`(
2478 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
2479 pwd)`
2480 # When building in place, set srcdir=.
2481 if test "$ac_abs_confdir" = "$ac_pwd"; then
2482 srcdir=.
2484 # Remove unnecessary trailing slashes from srcdir.
2485 # Double slashes in file names in object file debugging info
2486 # mess up M-x gdb in Emacs.
2487 case $srcdir in
2488 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
2489 esac
2490 for ac_var in $ac_precious_vars; do
2491 eval ac_env_${ac_var}_set=\${${ac_var}+set}
2492 eval ac_env_${ac_var}_value=\$${ac_var}
2493 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
2494 eval ac_cv_env_${ac_var}_value=\$${ac_var}
2495 done
2498 # Report the --help message.
2500 if test "$ac_init_help" = "long"; then
2501 # Omit some internal or obsolete options to make the list less imposing.
2502 # This message is too long to be a string in the A/UX 3.1 sh.
2503 cat <<_ACEOF
2504 \`configure' configures Wine 6.3 to adapt to many kinds of systems.
2506 Usage: $0 [OPTION]... [VAR=VALUE]...
2508 To assign environment variables (e.g., CC, CFLAGS...), specify them as
2509 VAR=VALUE. See below for descriptions of some of the useful variables.
2511 Defaults for the options are specified in brackets.
2513 Configuration:
2514 -h, --help display this help and exit
2515 --help=short display options specific to this package
2516 --help=recursive display the short help of all the included packages
2517 -V, --version display version information and exit
2518 -q, --quiet, --silent do not print \`checking ...' messages
2519 --cache-file=FILE cache test results in FILE [disabled]
2520 -C, --config-cache alias for \`--cache-file=config.cache'
2521 -n, --no-create do not create output files
2522 --srcdir=DIR find the sources in DIR [configure dir or \`..']
2524 Installation directories:
2525 --prefix=PREFIX install architecture-independent files in PREFIX
2526 [$ac_default_prefix]
2527 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
2528 [PREFIX]
2530 By default, \`make install' will install all the files in
2531 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
2532 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
2533 for instance \`--prefix=\$HOME'.
2535 For better control, use the options below.
2537 Fine tuning of the installation directories:
2538 --bindir=DIR user executables [EPREFIX/bin]
2539 --sbindir=DIR system admin executables [EPREFIX/sbin]
2540 --libexecdir=DIR program executables [EPREFIX/libexec]
2541 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
2542 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
2543 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
2544 --runstatedir=DIR modifiable per-process data [LOCALSTATEDIR/run]
2545 --libdir=DIR object code libraries [EPREFIX/lib]
2546 --includedir=DIR C header files [PREFIX/include]
2547 --oldincludedir=DIR C header files for non-gcc [/usr/include]
2548 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
2549 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
2550 --infodir=DIR info documentation [DATAROOTDIR/info]
2551 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
2552 --mandir=DIR man documentation [DATAROOTDIR/man]
2553 --docdir=DIR documentation root [DATAROOTDIR/doc/wine]
2554 --htmldir=DIR html documentation [DOCDIR]
2555 --dvidir=DIR dvi documentation [DOCDIR]
2556 --pdfdir=DIR pdf documentation [DOCDIR]
2557 --psdir=DIR ps documentation [DOCDIR]
2558 _ACEOF
2560 cat <<\_ACEOF
2562 X features:
2563 --x-includes=DIR X include files are in DIR
2564 --x-libraries=DIR X library files are in DIR
2566 System types:
2567 --build=BUILD configure for building on BUILD [guessed]
2568 --host=HOST cross-compile to build programs to run on HOST [BUILD]
2569 _ACEOF
2572 if test -n "$ac_init_help"; then
2573 case $ac_init_help in
2574 short | recursive ) echo "Configuration of Wine 6.3:";;
2575 esac
2576 cat <<\_ACEOF
2578 Optional Features:
2579 --disable-option-checking ignore unrecognized --enable/--with options
2580 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
2581 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
2582 --disable-win16 do not include Win16 support
2583 --enable-win64 build a Win64 emulator on AMD64 (won't run Win32
2584 binaries)
2585 --disable-tests do not build the regression tests
2586 --enable-build-id include .buildid section in output objects
2587 --enable-maintainer-mode
2588 enable maintainer-specific build rules
2589 --enable-silent-rules use silent build rules (override: "make V=1")
2590 --enable-werror treat compilation warnings as errors
2591 --disable-largefile omit support for large files
2593 Optional Packages:
2594 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
2595 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
2596 --without-alsa do not use the Alsa sound support
2597 --without-capi do not use CAPI (ISDN support)
2598 --without-cms do not use CMS (color management support)
2599 --without-coreaudio do not use the CoreAudio sound support
2600 --without-cups do not use CUPS
2601 --without-dbus do not use DBus (dynamic device support)
2602 --without-faudio do not use FAudio (XAudio2 support)
2603 --with-float-abi=abi specify the ABI (soft|softfp|hard) for ARM platforms
2604 --without-fontconfig do not use fontconfig
2605 --without-freetype do not use the FreeType library
2606 --without-gettext do not use gettext
2607 --with-gettextpo use the GetTextPO library to rebuild po files
2608 --without-gphoto do not use gphoto (Digital Camera support)
2609 --without-gnutls do not use GnuTLS (schannel support)
2610 --without-gsm do not use libgsm (GSM 06.10 codec support)
2611 --without-gssapi do not use GSSAPI (Kerberos SSP support)
2612 --without-gstreamer do not use GStreamer (codecs support)
2613 --without-hal do not use HAL (dynamic device support)
2614 --without-inotify do not use inotify (filesystem change notifications)
2615 --without-jpeg do not use JPEG
2616 --without-jxrlib do not use JPEG-XR
2617 --without-krb5 do not use krb5 (Kerberos)
2618 --without-ldap do not use LDAP
2619 --without-mingw do not use the MinGW cross-compiler
2620 --without-mpg123 do not use the mpg123 library
2621 --without-netapi do not use the Samba NetAPI library
2622 --without-openal do not use OpenAL
2623 --without-opencl do not use OpenCL
2624 --without-opengl do not use OpenGL
2625 --without-osmesa do not use the OSMesa library
2626 --without-oss do not use the OSS sound support
2627 --without-pcap do not use the Packet Capture library
2628 --without-png do not use PNG
2629 --without-pthread do not use the pthread library
2630 --without-pulse do not use PulseAudio sound support
2631 --without-quicktime do not use QuickTime support
2632 --without-sane do not use SANE (scanner support)
2633 --without-sdl do not use SDL
2634 --without-tiff do not use TIFF
2635 --without-udev do not use udev (plug and play support)
2636 --without-unwind do not use the libunwind library (exception
2637 handling)
2638 --without-usb do not use the libusb library
2639 --without-v4l2 do not use v4l2 (video capture)
2640 --without-vkd3d do not use vkd3d (Direct3D 12 support)
2641 --without-vulkan do not use Vulkan
2642 --without-xcomposite do not use the Xcomposite extension
2643 --without-xcursor do not use the Xcursor extension
2644 --without-xfixes do not use Xfixes for clipboard change notifications
2645 --without-xinerama do not use Xinerama (legacy multi-monitor support)
2646 --without-xinput do not use the Xinput extension
2647 --without-xinput2 do not use the Xinput 2 extension
2648 --without-xml do not use XML
2649 --without-xrandr do not use Xrandr (multi-monitor support)
2650 --without-xrender do not use the Xrender extension
2651 --without-xshape do not use the Xshape extension
2652 --without-xshm do not use XShm (shared memory extension)
2653 --without-xslt do not use XSLT
2654 --without-xxf86vm do not use XFree video mode extension
2655 --with-wine-tools=DIR use Wine tools from directory DIR
2656 --with-wine64=DIR use the 64-bit Wine in DIR for a Wow64 build
2657 --with-x use the X Window System
2659 Some influential environment variables:
2660 CC C compiler command
2661 CFLAGS C compiler flags
2662 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
2663 nonstandard directory <lib dir>
2664 LIBS libraries to pass to the linker, e.g. -l<library>
2665 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
2666 you have headers in a nonstandard directory <include dir>
2667 CXX C++ compiler command
2668 CXXFLAGS C++ compiler flags
2669 CPP C preprocessor
2670 OBJC Objective C compiler command
2671 OBJCFLAGS Objective C compiler flags
2672 OBJCPP Objective C preprocessor
2673 XMKMF Path to xmkmf, Makefile generator for X Window System
2674 XML2_CFLAGS C compiler flags for libxml-2.0, overriding pkg-config
2675 XML2_LIBS Linker flags for libxml-2.0, overriding pkg-config
2676 XSLT_CFLAGS C compiler flags for libxslt, overriding pkg-config
2677 XSLT_LIBS Linker flags for libxslt, overriding pkg-config
2678 INOTIFY_CFLAGS
2679 C compiler flags for libinotify, overriding pkg-config
2680 INOTIFY_LIBS
2681 Linker flags for libinotify, overriding pkg-config
2682 DBUS_CFLAGS C compiler flags for dbus-1, overriding pkg-config
2683 DBUS_LIBS Linker flags for dbus-1, overriding pkg-config
2684 HAL_CFLAGS C compiler flags for hal, overriding pkg-config
2685 HAL_LIBS Linker flags for hal, overriding pkg-config
2686 GNUTLS_CFLAGS
2687 C compiler flags for gnutls, overriding pkg-config
2688 GNUTLS_LIBS Linker flags for gnutls, overriding pkg-config
2689 SANE_CFLAGS C compiler flags for sane-backends, overriding pkg-config
2690 SANE_LIBS Linker flags for sane-backends, overriding pkg-config
2691 USB_CFLAGS C compiler flags for libusb-1.0, overriding pkg-config
2692 USB_LIBS Linker flags for libusb-1.0, overriding pkg-config
2693 GPHOTO2_CFLAGS
2694 C compiler flags for libgphoto2, overriding pkg-config
2695 GPHOTO2_LIBS
2696 Linker flags for libgphoto2, overriding pkg-config
2697 GPHOTO2_PORT_CFLAGS
2698 C compiler flags for libgphoto2_port, overriding pkg-config
2699 GPHOTO2_PORT_LIBS
2700 Linker flags for libgphoto2_port, overriding pkg-config
2701 LCMS2_CFLAGS
2702 C compiler flags for lcms2, overriding pkg-config
2703 LCMS2_LIBS Linker flags for lcms2, overriding pkg-config
2704 FREETYPE_CFLAGS
2705 C compiler flags for freetype2, overriding pkg-config
2706 FREETYPE_LIBS
2707 Linker flags for freetype2, overriding pkg-config
2708 PULSE_CFLAGS
2709 C compiler flags for libpulse, overriding pkg-config
2710 PULSE_LIBS Linker flags for libpulse, overriding pkg-config
2711 GSTREAMER_CFLAGS
2712 C compiler flags for gstreamer-1.0 gstreamer-video-1.0
2713 gstreamer-audio-1.0, overriding pkg-config
2714 GSTREAMER_LIBS
2715 Linker flags for gstreamer-1.0 gstreamer-video-1.0
2716 gstreamer-audio-1.0, overriding pkg-config
2717 UDEV_CFLAGS C compiler flags for libudev, overriding pkg-config
2718 UDEV_LIBS Linker flags for libudev, overriding pkg-config
2719 UNWIND_CFLAGS
2720 C compiler flags for libunwind, overriding pkg-config
2721 UNWIND_LIBS Linker flags for libunwind, overriding pkg-config
2722 SDL2_CFLAGS C compiler flags for sdl2, overriding pkg-config
2723 SDL2_LIBS Linker flags for sdl2, overriding pkg-config
2724 FAUDIO_CFLAGS
2725 C compiler flags for faudio, overriding pkg-config
2726 FAUDIO_LIBS Linker flags for faudio, overriding pkg-config
2727 CAPI20_CFLAGS
2728 C compiler flags for capi20, overriding pkg-config
2729 CAPI20_LIBS Linker flags for capi20, overriding pkg-config
2730 CUPS_CFLAGS C compiler flags for cups, overriding pkg-config
2731 CUPS_LIBS Linker flags for cups, overriding pkg-config
2732 FONTCONFIG_CFLAGS
2733 C compiler flags for fontconfig, overriding pkg-config
2734 FONTCONFIG_LIBS
2735 Linker flags for fontconfig, overriding pkg-config
2736 KRB5_CFLAGS C compiler flags for krb5, overriding pkg-config
2737 KRB5_LIBS Linker flags for krb5, overriding pkg-config
2738 GSSAPI_CFLAGS
2739 C compiler flags for krb5-gssapi, overriding pkg-config
2740 GSSAPI_LIBS Linker flags for krb5-gssapi, overriding pkg-config
2741 JPEG_CFLAGS C compiler flags for libjpeg, overriding pkg-config
2742 JPEG_LIBS Linker flags for libjpeg, overriding pkg-config
2743 JXRLIB_CFLAGS
2744 C compiler flags for jxrlib, overriding pkg-config
2745 JXRLIB_LIBS Linker flags for jxrlib, overriding pkg-config
2746 PNG_CFLAGS C compiler flags for libpng, overriding pkg-config
2747 PNG_LIBS Linker flags for libpng, overriding pkg-config
2748 TIFF_CFLAGS C compiler flags for libtiff-4, overriding pkg-config
2749 TIFF_LIBS Linker flags for libtiff-4, overriding pkg-config
2750 MPG123_CFLAGS
2751 C compiler flags for libmpg123, overriding pkg-config
2752 MPG123_LIBS Linker flags for libmpg123, overriding pkg-config
2753 NETAPI_CFLAGS
2754 C compiler flags for netapi, overriding pkg-config
2755 NETAPI_LIBS Linker flags for netapi, overriding pkg-config
2756 VKD3D_CFLAGS
2757 C compiler flags for libvkd3d, overriding pkg-config
2758 VKD3D_LIBS Linker flags for libvkd3d, overriding pkg-config
2759 VKD3D_SHADER_CFLAGS
2760 C compiler flags for libvkd3d-shader, overriding pkg-config
2761 VKD3D_SHADER_LIBS
2762 Linker flags for libvkd3d-shader, overriding pkg-config
2763 LDAP_CFLAGS C compiler flags for openldap, overriding pkg-config
2764 LDAP_LIBS Linker flags for openldap, overriding pkg-config
2766 Use these variables to override the choices made by `configure' or to help
2767 it to find libraries and programs with nonstandard names/locations.
2769 Report bugs to <wine-devel@winehq.org>.
2770 Wine home page: <https://www.winehq.org>.
2771 _ACEOF
2772 ac_status=$?
2775 if test "$ac_init_help" = "recursive"; then
2776 # If there are subdirs, report their specific --help.
2777 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
2778 test -d "$ac_dir" ||
2779 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
2780 continue
2781 ac_builddir=.
2783 case "$ac_dir" in
2784 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
2786 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
2787 # A ".." for each directory in $ac_dir_suffix.
2788 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
2789 case $ac_top_builddir_sub in
2790 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
2791 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
2792 esac ;;
2793 esac
2794 ac_abs_top_builddir=$ac_pwd
2795 ac_abs_builddir=$ac_pwd$ac_dir_suffix
2796 # for backward compatibility:
2797 ac_top_builddir=$ac_top_build_prefix
2799 case $srcdir in
2800 .) # We are building in place.
2801 ac_srcdir=.
2802 ac_top_srcdir=$ac_top_builddir_sub
2803 ac_abs_top_srcdir=$ac_pwd ;;
2804 [\\/]* | ?:[\\/]* ) # Absolute name.
2805 ac_srcdir=$srcdir$ac_dir_suffix;
2806 ac_top_srcdir=$srcdir
2807 ac_abs_top_srcdir=$srcdir ;;
2808 *) # Relative name.
2809 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
2810 ac_top_srcdir=$ac_top_build_prefix$srcdir
2811 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
2812 esac
2813 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
2815 cd "$ac_dir" || { ac_status=$?; continue; }
2816 # Check for guested configure.
2817 if test -f "$ac_srcdir/configure.gnu"; then
2818 echo &&
2819 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
2820 elif test -f "$ac_srcdir/configure"; then
2821 echo &&
2822 $SHELL "$ac_srcdir/configure" --help=recursive
2823 else
2824 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
2825 fi || ac_status=$?
2826 cd "$ac_pwd" || { ac_status=$?; break; }
2827 done
2830 test -n "$ac_init_help" && exit $ac_status
2831 if $ac_init_version; then
2832 cat <<\_ACEOF
2833 Wine configure 6.3
2834 generated by GNU Autoconf 2.69
2836 Copyright (C) 2012 Free Software Foundation, Inc.
2837 This configure script is free software; the Free Software Foundation
2838 gives unlimited permission to copy, distribute and modify it.
2839 _ACEOF
2840 exit
2843 ## ------------------------ ##
2844 ## Autoconf initialization. ##
2845 ## ------------------------ ##
2847 # ac_fn_c_try_compile LINENO
2848 # --------------------------
2849 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2850 ac_fn_c_try_compile ()
2852 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2853 rm -f conftest.$ac_objext
2854 if { { ac_try="$ac_compile"
2855 case "(($ac_try" in
2856 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2857 *) ac_try_echo=$ac_try;;
2858 esac
2859 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2860 $as_echo "$ac_try_echo"; } >&5
2861 (eval "$ac_compile") 2>conftest.err
2862 ac_status=$?
2863 if test -s conftest.err; then
2864 grep -v '^ *+' conftest.err >conftest.er1
2865 cat conftest.er1 >&5
2866 mv -f conftest.er1 conftest.err
2868 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2869 test $ac_status = 0; } && {
2870 test -z "$ac_c_werror_flag" ||
2871 test ! -s conftest.err
2872 } && test -s conftest.$ac_objext; then :
2873 ac_retval=0
2874 else
2875 $as_echo "$as_me: failed program was:" >&5
2876 sed 's/^/| /' conftest.$ac_ext >&5
2878 ac_retval=1
2880 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2881 as_fn_set_status $ac_retval
2883 } # ac_fn_c_try_compile
2885 # ac_fn_cxx_try_compile LINENO
2886 # ----------------------------
2887 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2888 ac_fn_cxx_try_compile ()
2890 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2891 rm -f conftest.$ac_objext
2892 if { { ac_try="$ac_compile"
2893 case "(($ac_try" in
2894 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2895 *) ac_try_echo=$ac_try;;
2896 esac
2897 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2898 $as_echo "$ac_try_echo"; } >&5
2899 (eval "$ac_compile") 2>conftest.err
2900 ac_status=$?
2901 if test -s conftest.err; then
2902 grep -v '^ *+' conftest.err >conftest.er1
2903 cat conftest.er1 >&5
2904 mv -f conftest.er1 conftest.err
2906 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2907 test $ac_status = 0; } && {
2908 test -z "$ac_cxx_werror_flag" ||
2909 test ! -s conftest.err
2910 } && test -s conftest.$ac_objext; then :
2911 ac_retval=0
2912 else
2913 $as_echo "$as_me: failed program was:" >&5
2914 sed 's/^/| /' conftest.$ac_ext >&5
2916 ac_retval=1
2918 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2919 as_fn_set_status $ac_retval
2921 } # ac_fn_cxx_try_compile
2923 # ac_fn_c_try_link LINENO
2924 # -----------------------
2925 # Try to link conftest.$ac_ext, and return whether this succeeded.
2926 ac_fn_c_try_link ()
2928 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2929 rm -f conftest.$ac_objext conftest$ac_exeext
2930 if { { ac_try="$ac_link"
2931 case "(($ac_try" in
2932 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2933 *) ac_try_echo=$ac_try;;
2934 esac
2935 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2936 $as_echo "$ac_try_echo"; } >&5
2937 (eval "$ac_link") 2>conftest.err
2938 ac_status=$?
2939 if test -s conftest.err; then
2940 grep -v '^ *+' conftest.err >conftest.er1
2941 cat conftest.er1 >&5
2942 mv -f conftest.er1 conftest.err
2944 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2945 test $ac_status = 0; } && {
2946 test -z "$ac_c_werror_flag" ||
2947 test ! -s conftest.err
2948 } && test -s conftest$ac_exeext && {
2949 test "$cross_compiling" = yes ||
2950 test -x conftest$ac_exeext
2951 }; then :
2952 ac_retval=0
2953 else
2954 $as_echo "$as_me: failed program was:" >&5
2955 sed 's/^/| /' conftest.$ac_ext >&5
2957 ac_retval=1
2959 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2960 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2961 # interfere with the next link command; also delete a directory that is
2962 # left behind by Apple's compiler. We do this before executing the actions.
2963 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2964 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2965 as_fn_set_status $ac_retval
2967 } # ac_fn_c_try_link
2969 # ac_fn_c_try_cpp LINENO
2970 # ----------------------
2971 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
2972 ac_fn_c_try_cpp ()
2974 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2975 if { { ac_try="$ac_cpp conftest.$ac_ext"
2976 case "(($ac_try" in
2977 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2978 *) ac_try_echo=$ac_try;;
2979 esac
2980 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2981 $as_echo "$ac_try_echo"; } >&5
2982 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
2983 ac_status=$?
2984 if test -s conftest.err; then
2985 grep -v '^ *+' conftest.err >conftest.er1
2986 cat conftest.er1 >&5
2987 mv -f conftest.er1 conftest.err
2989 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2990 test $ac_status = 0; } > conftest.i && {
2991 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
2992 test ! -s conftest.err
2993 }; then :
2994 ac_retval=0
2995 else
2996 $as_echo "$as_me: failed program was:" >&5
2997 sed 's/^/| /' conftest.$ac_ext >&5
2999 ac_retval=1
3001 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3002 as_fn_set_status $ac_retval
3004 } # ac_fn_c_try_cpp
3006 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
3007 # -------------------------------------------------------
3008 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
3009 # the include files in INCLUDES and setting the cache variable VAR
3010 # accordingly.
3011 ac_fn_c_check_header_mongrel ()
3013 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3014 if eval \${$3+:} false; then :
3015 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3016 $as_echo_n "checking for $2... " >&6; }
3017 if eval \${$3+:} false; then :
3018 $as_echo_n "(cached) " >&6
3020 eval ac_res=\$$3
3021 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3022 $as_echo "$ac_res" >&6; }
3023 else
3024 # Is the header compilable?
3025 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
3026 $as_echo_n "checking $2 usability... " >&6; }
3027 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3028 /* end confdefs.h. */
3030 #include <$2>
3031 _ACEOF
3032 if ac_fn_c_try_compile "$LINENO"; then :
3033 ac_header_compiler=yes
3034 else
3035 ac_header_compiler=no
3037 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3038 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
3039 $as_echo "$ac_header_compiler" >&6; }
3041 # Is the header present?
3042 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
3043 $as_echo_n "checking $2 presence... " >&6; }
3044 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3045 /* end confdefs.h. */
3046 #include <$2>
3047 _ACEOF
3048 if ac_fn_c_try_cpp "$LINENO"; then :
3049 ac_header_preproc=yes
3050 else
3051 ac_header_preproc=no
3053 rm -f conftest.err conftest.i conftest.$ac_ext
3054 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
3055 $as_echo "$ac_header_preproc" >&6; }
3057 # So? What about this header?
3058 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
3059 yes:no: )
3060 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
3061 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
3062 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
3063 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
3065 no:yes:* )
3066 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
3067 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
3068 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
3069 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
3070 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
3071 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
3072 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
3073 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
3074 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
3075 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
3076 ( $as_echo "## ------------------------------------ ##
3077 ## Report this to wine-devel@winehq.org ##
3078 ## ------------------------------------ ##"
3079 ) | sed "s/^/$as_me: WARNING: /" >&2
3081 esac
3082 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3083 $as_echo_n "checking for $2... " >&6; }
3084 if eval \${$3+:} false; then :
3085 $as_echo_n "(cached) " >&6
3086 else
3087 eval "$3=\$ac_header_compiler"
3089 eval ac_res=\$$3
3090 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3091 $as_echo "$ac_res" >&6; }
3093 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3095 } # ac_fn_c_check_header_mongrel
3097 # ac_fn_c_try_run LINENO
3098 # ----------------------
3099 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
3100 # that executables *can* be run.
3101 ac_fn_c_try_run ()
3103 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3104 if { { ac_try="$ac_link"
3105 case "(($ac_try" in
3106 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3107 *) ac_try_echo=$ac_try;;
3108 esac
3109 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3110 $as_echo "$ac_try_echo"; } >&5
3111 (eval "$ac_link") 2>&5
3112 ac_status=$?
3113 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3114 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
3115 { { case "(($ac_try" in
3116 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3117 *) ac_try_echo=$ac_try;;
3118 esac
3119 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3120 $as_echo "$ac_try_echo"; } >&5
3121 (eval "$ac_try") 2>&5
3122 ac_status=$?
3123 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3124 test $ac_status = 0; }; }; then :
3125 ac_retval=0
3126 else
3127 $as_echo "$as_me: program exited with status $ac_status" >&5
3128 $as_echo "$as_me: failed program was:" >&5
3129 sed 's/^/| /' conftest.$ac_ext >&5
3131 ac_retval=$ac_status
3133 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
3134 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3135 as_fn_set_status $ac_retval
3137 } # ac_fn_c_try_run
3139 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
3140 # -------------------------------------------------------
3141 # Tests whether HEADER exists and can be compiled using the include files in
3142 # INCLUDES, setting the cache variable VAR accordingly.
3143 ac_fn_c_check_header_compile ()
3145 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3146 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3147 $as_echo_n "checking for $2... " >&6; }
3148 if eval \${$3+:} false; then :
3149 $as_echo_n "(cached) " >&6
3150 else
3151 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3152 /* end confdefs.h. */
3154 #include <$2>
3155 _ACEOF
3156 if ac_fn_c_try_compile "$LINENO"; then :
3157 eval "$3=yes"
3158 else
3159 eval "$3=no"
3161 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3163 eval ac_res=\$$3
3164 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3165 $as_echo "$ac_res" >&6; }
3166 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3168 } # ac_fn_c_check_header_compile
3170 # ac_fn_objc_try_compile LINENO
3171 # -----------------------------
3172 # Try to compile conftest.$ac_ext, and return whether this succeeded.
3173 ac_fn_objc_try_compile ()
3175 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3176 rm -f conftest.$ac_objext
3177 if { { ac_try="$ac_compile"
3178 case "(($ac_try" in
3179 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3180 *) ac_try_echo=$ac_try;;
3181 esac
3182 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3183 $as_echo "$ac_try_echo"; } >&5
3184 (eval "$ac_compile") 2>conftest.err
3185 ac_status=$?
3186 if test -s conftest.err; then
3187 grep -v '^ *+' conftest.err >conftest.er1
3188 cat conftest.er1 >&5
3189 mv -f conftest.er1 conftest.err
3191 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3192 test $ac_status = 0; } && {
3193 test -z "$ac_objc_werror_flag" ||
3194 test ! -s conftest.err
3195 } && test -s conftest.$ac_objext; then :
3196 ac_retval=0
3197 else
3198 $as_echo "$as_me: failed program was:" >&5
3199 sed 's/^/| /' conftest.$ac_ext >&5
3201 ac_retval=1
3203 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3204 as_fn_set_status $ac_retval
3206 } # ac_fn_objc_try_compile
3208 # ac_fn_objc_try_cpp LINENO
3209 # -------------------------
3210 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
3211 ac_fn_objc_try_cpp ()
3213 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3214 if { { ac_try="$ac_cpp conftest.$ac_ext"
3215 case "(($ac_try" in
3216 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3217 *) ac_try_echo=$ac_try;;
3218 esac
3219 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3220 $as_echo "$ac_try_echo"; } >&5
3221 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
3222 ac_status=$?
3223 if test -s conftest.err; then
3224 grep -v '^ *+' conftest.err >conftest.er1
3225 cat conftest.er1 >&5
3226 mv -f conftest.er1 conftest.err
3228 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3229 test $ac_status = 0; } > conftest.i && {
3230 test -z "$ac_objc_preproc_warn_flag$ac_objc_werror_flag" ||
3231 test ! -s conftest.err
3232 }; then :
3233 ac_retval=0
3234 else
3235 $as_echo "$as_me: failed program was:" >&5
3236 sed 's/^/| /' conftest.$ac_ext >&5
3238 ac_retval=1
3240 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3241 as_fn_set_status $ac_retval
3243 } # ac_fn_objc_try_cpp
3245 # ac_fn_objc_check_header_mongrel LINENO HEADER VAR INCLUDES
3246 # ----------------------------------------------------------
3247 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
3248 # the include files in INCLUDES and setting the cache variable VAR
3249 # accordingly.
3250 ac_fn_objc_check_header_mongrel ()
3252 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3253 if eval \${$3+:} false; then :
3254 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3255 $as_echo_n "checking for $2... " >&6; }
3256 if eval \${$3+:} false; then :
3257 $as_echo_n "(cached) " >&6
3259 eval ac_res=\$$3
3260 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3261 $as_echo "$ac_res" >&6; }
3262 else
3263 # Is the header compilable?
3264 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
3265 $as_echo_n "checking $2 usability... " >&6; }
3266 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3267 /* end confdefs.h. */
3269 #include <$2>
3270 _ACEOF
3271 if ac_fn_objc_try_compile "$LINENO"; then :
3272 ac_header_compiler=yes
3273 else
3274 ac_header_compiler=no
3276 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3277 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
3278 $as_echo "$ac_header_compiler" >&6; }
3280 # Is the header present?
3281 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
3282 $as_echo_n "checking $2 presence... " >&6; }
3283 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3284 /* end confdefs.h. */
3285 #include <$2>
3286 _ACEOF
3287 if ac_fn_objc_try_cpp "$LINENO"; then :
3288 ac_header_preproc=yes
3289 else
3290 ac_header_preproc=no
3292 rm -f conftest.err conftest.i conftest.$ac_ext
3293 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
3294 $as_echo "$ac_header_preproc" >&6; }
3296 # So? What about this header?
3297 case $ac_header_compiler:$ac_header_preproc:$ac_objc_preproc_warn_flag in #((
3298 yes:no: )
3299 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
3300 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
3301 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
3302 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
3304 no:yes:* )
3305 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
3306 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
3307 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
3308 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
3309 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
3310 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
3311 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
3312 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
3313 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
3314 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
3315 ( $as_echo "## ------------------------------------ ##
3316 ## Report this to wine-devel@winehq.org ##
3317 ## ------------------------------------ ##"
3318 ) | sed "s/^/$as_me: WARNING: /" >&2
3320 esac
3321 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3322 $as_echo_n "checking for $2... " >&6; }
3323 if eval \${$3+:} false; then :
3324 $as_echo_n "(cached) " >&6
3325 else
3326 eval "$3=\$ac_header_compiler"
3328 eval ac_res=\$$3
3329 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3330 $as_echo "$ac_res" >&6; }
3332 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3334 } # ac_fn_objc_check_header_mongrel
3336 # ac_fn_c_check_func LINENO FUNC VAR
3337 # ----------------------------------
3338 # Tests whether FUNC exists, setting the cache variable VAR accordingly
3339 ac_fn_c_check_func ()
3341 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3342 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3343 $as_echo_n "checking for $2... " >&6; }
3344 if eval \${$3+:} false; then :
3345 $as_echo_n "(cached) " >&6
3346 else
3347 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3348 /* end confdefs.h. */
3349 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
3350 For example, HP-UX 11i <limits.h> declares gettimeofday. */
3351 #define $2 innocuous_$2
3353 /* System header to define __stub macros and hopefully few prototypes,
3354 which can conflict with char $2 (); below.
3355 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3356 <limits.h> exists even on freestanding compilers. */
3358 #ifdef __STDC__
3359 # include <limits.h>
3360 #else
3361 # include <assert.h>
3362 #endif
3364 #undef $2
3366 /* Override any GCC internal prototype to avoid an error.
3367 Use char because int might match the return type of a GCC
3368 builtin and then its argument prototype would still apply. */
3369 #ifdef __cplusplus
3370 extern "C"
3371 #endif
3372 char $2 ();
3373 /* The GNU C library defines this for functions which it implements
3374 to always fail with ENOSYS. Some functions are actually named
3375 something starting with __ and the normal name is an alias. */
3376 #if defined __stub_$2 || defined __stub___$2
3377 choke me
3378 #endif
3381 main ()
3383 return $2 ();
3385 return 0;
3387 _ACEOF
3388 if ac_fn_c_try_link "$LINENO"; then :
3389 eval "$3=yes"
3390 else
3391 eval "$3=no"
3393 rm -f core conftest.err conftest.$ac_objext \
3394 conftest$ac_exeext conftest.$ac_ext
3396 eval ac_res=\$$3
3397 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3398 $as_echo "$ac_res" >&6; }
3399 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3401 } # ac_fn_c_check_func
3403 # ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
3404 # ----------------------------------------------------
3405 # Tries to find if the field MEMBER exists in type AGGR, after including
3406 # INCLUDES, setting cache variable VAR accordingly.
3407 ac_fn_c_check_member ()
3409 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3410 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
3411 $as_echo_n "checking for $2.$3... " >&6; }
3412 if eval \${$4+:} false; then :
3413 $as_echo_n "(cached) " >&6
3414 else
3415 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3416 /* end confdefs.h. */
3419 main ()
3421 static $2 ac_aggr;
3422 if (ac_aggr.$3)
3423 return 0;
3425 return 0;
3427 _ACEOF
3428 if ac_fn_c_try_compile "$LINENO"; then :
3429 eval "$4=yes"
3430 else
3431 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3432 /* end confdefs.h. */
3435 main ()
3437 static $2 ac_aggr;
3438 if (sizeof ac_aggr.$3)
3439 return 0;
3441 return 0;
3443 _ACEOF
3444 if ac_fn_c_try_compile "$LINENO"; then :
3445 eval "$4=yes"
3446 else
3447 eval "$4=no"
3449 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3451 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3453 eval ac_res=\$$4
3454 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3455 $as_echo "$ac_res" >&6; }
3456 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3458 } # ac_fn_c_check_member
3460 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
3461 # -------------------------------------------
3462 # Tests whether TYPE exists after having included INCLUDES, setting cache
3463 # variable VAR accordingly.
3464 ac_fn_c_check_type ()
3466 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3467 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3468 $as_echo_n "checking for $2... " >&6; }
3469 if eval \${$3+:} false; then :
3470 $as_echo_n "(cached) " >&6
3471 else
3472 eval "$3=no"
3473 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3474 /* end confdefs.h. */
3477 main ()
3479 if (sizeof ($2))
3480 return 0;
3482 return 0;
3484 _ACEOF
3485 if ac_fn_c_try_compile "$LINENO"; then :
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 :
3500 else
3501 eval "$3=yes"
3503 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3505 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3507 eval ac_res=\$$3
3508 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3509 $as_echo "$ac_res" >&6; }
3510 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3512 } # ac_fn_c_check_type
3513 cat >config.log <<_ACEOF
3514 This file contains any messages produced by compilers while
3515 running configure, to aid debugging if configure makes a mistake.
3517 It was created by Wine $as_me 6.3, which was
3518 generated by GNU Autoconf 2.69. Invocation command line was
3520 $ $0 $@
3522 _ACEOF
3523 exec 5>>config.log
3525 cat <<_ASUNAME
3526 ## --------- ##
3527 ## Platform. ##
3528 ## --------- ##
3530 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
3531 uname -m = `(uname -m) 2>/dev/null || echo unknown`
3532 uname -r = `(uname -r) 2>/dev/null || echo unknown`
3533 uname -s = `(uname -s) 2>/dev/null || echo unknown`
3534 uname -v = `(uname -v) 2>/dev/null || echo unknown`
3536 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
3537 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
3539 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
3540 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
3541 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
3542 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
3543 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
3544 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
3545 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
3547 _ASUNAME
3549 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3550 for as_dir in $PATH
3552 IFS=$as_save_IFS
3553 test -z "$as_dir" && as_dir=.
3554 $as_echo "PATH: $as_dir"
3555 done
3556 IFS=$as_save_IFS
3558 } >&5
3560 cat >&5 <<_ACEOF
3563 ## ----------- ##
3564 ## Core tests. ##
3565 ## ----------- ##
3567 _ACEOF
3570 # Keep a trace of the command line.
3571 # Strip out --no-create and --no-recursion so they do not pile up.
3572 # Strip out --silent because we don't want to record it for future runs.
3573 # Also quote any args containing shell meta-characters.
3574 # Make two passes to allow for proper duplicate-argument suppression.
3575 ac_configure_args=
3576 ac_configure_args0=
3577 ac_configure_args1=
3578 ac_must_keep_next=false
3579 for ac_pass in 1 2
3581 for ac_arg
3583 case $ac_arg in
3584 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
3585 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
3586 | -silent | --silent | --silen | --sile | --sil)
3587 continue ;;
3588 *\'*)
3589 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
3590 esac
3591 case $ac_pass in
3592 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
3594 as_fn_append ac_configure_args1 " '$ac_arg'"
3595 if test $ac_must_keep_next = true; then
3596 ac_must_keep_next=false # Got value, back to normal.
3597 else
3598 case $ac_arg in
3599 *=* | --config-cache | -C | -disable-* | --disable-* \
3600 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
3601 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
3602 | -with-* | --with-* | -without-* | --without-* | --x)
3603 case "$ac_configure_args0 " in
3604 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
3605 esac
3607 -* ) ac_must_keep_next=true ;;
3608 esac
3610 as_fn_append ac_configure_args " '$ac_arg'"
3612 esac
3613 done
3614 done
3615 { ac_configure_args0=; unset ac_configure_args0;}
3616 { ac_configure_args1=; unset ac_configure_args1;}
3618 # When interrupted or exit'd, cleanup temporary files, and complete
3619 # config.log. We remove comments because anyway the quotes in there
3620 # would cause problems or look ugly.
3621 # WARNING: Use '\'' to represent an apostrophe within the trap.
3622 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
3623 trap 'exit_status=$?
3624 # Save into config.log some information that might help in debugging.
3626 echo
3628 $as_echo "## ---------------- ##
3629 ## Cache variables. ##
3630 ## ---------------- ##"
3631 echo
3632 # The following way of writing the cache mishandles newlines in values,
3634 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
3635 eval ac_val=\$$ac_var
3636 case $ac_val in #(
3637 *${as_nl}*)
3638 case $ac_var in #(
3639 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
3640 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
3641 esac
3642 case $ac_var in #(
3643 _ | IFS | as_nl) ;; #(
3644 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
3645 *) { eval $ac_var=; unset $ac_var;} ;;
3646 esac ;;
3647 esac
3648 done
3649 (set) 2>&1 |
3650 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
3651 *${as_nl}ac_space=\ *)
3652 sed -n \
3653 "s/'\''/'\''\\\\'\'''\''/g;
3654 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
3655 ;; #(
3657 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
3659 esac |
3660 sort
3662 echo
3664 $as_echo "## ----------------- ##
3665 ## Output variables. ##
3666 ## ----------------- ##"
3667 echo
3668 for ac_var in $ac_subst_vars
3670 eval ac_val=\$$ac_var
3671 case $ac_val in
3672 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3673 esac
3674 $as_echo "$ac_var='\''$ac_val'\''"
3675 done | sort
3676 echo
3678 if test -n "$ac_subst_files"; then
3679 $as_echo "## ------------------- ##
3680 ## File substitutions. ##
3681 ## ------------------- ##"
3682 echo
3683 for ac_var in $ac_subst_files
3685 eval ac_val=\$$ac_var
3686 case $ac_val in
3687 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3688 esac
3689 $as_echo "$ac_var='\''$ac_val'\''"
3690 done | sort
3691 echo
3694 if test -s confdefs.h; then
3695 $as_echo "## ----------- ##
3696 ## confdefs.h. ##
3697 ## ----------- ##"
3698 echo
3699 cat confdefs.h
3700 echo
3702 test "$ac_signal" != 0 &&
3703 $as_echo "$as_me: caught signal $ac_signal"
3704 $as_echo "$as_me: exit $exit_status"
3705 } >&5
3706 rm -f core *.core core.conftest.* &&
3707 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
3708 exit $exit_status
3710 for ac_signal in 1 2 13 15; do
3711 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
3712 done
3713 ac_signal=0
3715 # confdefs.h avoids OS command line length limits that DEFS can exceed.
3716 rm -f -r conftest* confdefs.h
3718 $as_echo "/* confdefs.h */" > confdefs.h
3720 # Predefined preprocessor variables.
3722 cat >>confdefs.h <<_ACEOF
3723 #define PACKAGE_NAME "$PACKAGE_NAME"
3724 _ACEOF
3726 cat >>confdefs.h <<_ACEOF
3727 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
3728 _ACEOF
3730 cat >>confdefs.h <<_ACEOF
3731 #define PACKAGE_VERSION "$PACKAGE_VERSION"
3732 _ACEOF
3734 cat >>confdefs.h <<_ACEOF
3735 #define PACKAGE_STRING "$PACKAGE_STRING"
3736 _ACEOF
3738 cat >>confdefs.h <<_ACEOF
3739 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
3740 _ACEOF
3742 cat >>confdefs.h <<_ACEOF
3743 #define PACKAGE_URL "$PACKAGE_URL"
3744 _ACEOF
3747 # Let the site file select an alternate cache file if it wants to.
3748 # Prefer an explicitly selected file to automatically selected ones.
3749 ac_site_file1=NONE
3750 ac_site_file2=NONE
3751 if test -n "$CONFIG_SITE"; then
3752 # We do not want a PATH search for config.site.
3753 case $CONFIG_SITE in #((
3754 -*) ac_site_file1=./$CONFIG_SITE;;
3755 */*) ac_site_file1=$CONFIG_SITE;;
3756 *) ac_site_file1=./$CONFIG_SITE;;
3757 esac
3758 elif test "x$prefix" != xNONE; then
3759 ac_site_file1=$prefix/share/config.site
3760 ac_site_file2=$prefix/etc/config.site
3761 else
3762 ac_site_file1=$ac_default_prefix/share/config.site
3763 ac_site_file2=$ac_default_prefix/etc/config.site
3765 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
3767 test "x$ac_site_file" = xNONE && continue
3768 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
3769 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
3770 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
3771 sed 's/^/| /' "$ac_site_file" >&5
3772 . "$ac_site_file" \
3773 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3774 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3775 as_fn_error $? "failed to load site script $ac_site_file
3776 See \`config.log' for more details" "$LINENO" 5; }
3778 done
3780 if test -r "$cache_file"; then
3781 # Some versions of bash will fail to source /dev/null (special files
3782 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
3783 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
3784 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
3785 $as_echo "$as_me: loading cache $cache_file" >&6;}
3786 case $cache_file in
3787 [\\/]* | ?:[\\/]* ) . "$cache_file";;
3788 *) . "./$cache_file";;
3789 esac
3791 else
3792 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
3793 $as_echo "$as_me: creating cache $cache_file" >&6;}
3794 >$cache_file
3797 # Check that the precious variables saved in the cache have kept the same
3798 # value.
3799 ac_cache_corrupted=false
3800 for ac_var in $ac_precious_vars; do
3801 eval ac_old_set=\$ac_cv_env_${ac_var}_set
3802 eval ac_new_set=\$ac_env_${ac_var}_set
3803 eval ac_old_val=\$ac_cv_env_${ac_var}_value
3804 eval ac_new_val=\$ac_env_${ac_var}_value
3805 case $ac_old_set,$ac_new_set in
3806 set,)
3807 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
3808 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
3809 ac_cache_corrupted=: ;;
3810 ,set)
3811 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
3812 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
3813 ac_cache_corrupted=: ;;
3814 ,);;
3816 if test "x$ac_old_val" != "x$ac_new_val"; then
3817 # differences in whitespace do not lead to failure.
3818 ac_old_val_w=`echo x $ac_old_val`
3819 ac_new_val_w=`echo x $ac_new_val`
3820 if test "$ac_old_val_w" != "$ac_new_val_w"; then
3821 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
3822 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
3823 ac_cache_corrupted=:
3824 else
3825 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
3826 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
3827 eval $ac_var=\$ac_old_val
3829 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
3830 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
3831 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
3832 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
3833 fi;;
3834 esac
3835 # Pass precious variables to config.status.
3836 if test "$ac_new_set" = set; then
3837 case $ac_new_val in
3838 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
3839 *) ac_arg=$ac_var=$ac_new_val ;;
3840 esac
3841 case " $ac_configure_args " in
3842 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
3843 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
3844 esac
3846 done
3847 if $ac_cache_corrupted; then
3848 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3849 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3850 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
3851 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
3852 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
3854 ## -------------------- ##
3855 ## Main body of script. ##
3856 ## -------------------- ##
3858 ac_ext=c
3859 ac_cpp='$CPP $CPPFLAGS'
3860 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3861 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3862 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3866 ac_config_headers="$ac_config_headers include/config.h"
3868 ac_aux_dir=
3869 for ac_dir in tools "$srcdir"/tools; do
3870 if test -f "$ac_dir/install-sh"; then
3871 ac_aux_dir=$ac_dir
3872 ac_install_sh="$ac_aux_dir/install-sh -c"
3873 break
3874 elif test -f "$ac_dir/install.sh"; then
3875 ac_aux_dir=$ac_dir
3876 ac_install_sh="$ac_aux_dir/install.sh -c"
3877 break
3878 elif test -f "$ac_dir/shtool"; then
3879 ac_aux_dir=$ac_dir
3880 ac_install_sh="$ac_aux_dir/shtool install -c"
3881 break
3883 done
3884 if test -z "$ac_aux_dir"; then
3885 as_fn_error $? "cannot find install-sh, install.sh, or shtool in tools \"$srcdir\"/tools" "$LINENO" 5
3888 # These three variables are undocumented and unsupported,
3889 # and are intended to be withdrawn in a future Autoconf release.
3890 # They can cause serious problems if a builder's source tree is in a directory
3891 # whose full name contains unusual characters.
3892 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
3893 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
3894 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
3898 libwine_version="1.0"
3902 # Check whether --enable-win16 was given.
3903 if test "${enable_win16+set}" = set; then :
3904 enableval=$enable_win16;
3907 # Check whether --enable-win64 was given.
3908 if test "${enable_win64+set}" = set; then :
3909 enableval=$enable_win64;
3912 # Check whether --enable-tests was given.
3913 if test "${enable_tests+set}" = set; then :
3914 enableval=$enable_tests;
3917 # Check whether --enable-build-id was given.
3918 if test "${enable_build_id+set}" = set; then :
3919 enableval=$enable_build_id;
3922 # Check whether --enable-maintainer-mode was given.
3923 if test "${enable_maintainer_mode+set}" = set; then :
3924 enableval=$enable_maintainer_mode;
3927 # Check whether --enable-silent-rules was given.
3928 if test "${enable_silent_rules+set}" = set; then :
3929 enableval=$enable_silent_rules;
3932 # Check whether --enable-werror was given.
3933 if test "${enable_werror+set}" = set; then :
3934 enableval=$enable_werror;
3939 # Check whether --with-alsa was given.
3940 if test "${with_alsa+set}" = set; then :
3941 withval=$with_alsa;
3945 # Check whether --with-capi was given.
3946 if test "${with_capi+set}" = set; then :
3947 withval=$with_capi;
3951 # Check whether --with-cms was given.
3952 if test "${with_cms+set}" = set; then :
3953 withval=$with_cms;
3957 # Check whether --with-coreaudio was given.
3958 if test "${with_coreaudio+set}" = set; then :
3959 withval=$with_coreaudio; if test "x$withval" = "xno"; then ac_cv_header_CoreAudio_CoreAudio_h=no; fi
3963 # Check whether --with-cups was given.
3964 if test "${with_cups+set}" = set; then :
3965 withval=$with_cups;
3969 # Check whether --with-dbus was given.
3970 if test "${with_dbus+set}" = set; then :
3971 withval=$with_dbus;
3975 # Check whether --with-faudio was given.
3976 if test "${with_faudio+set}" = set; then :
3977 withval=$with_faudio;
3981 # Check whether --with-float-abi was given.
3982 if test "${with_float_abi+set}" = set; then :
3983 withval=$with_float_abi;
3987 # Check whether --with-fontconfig was given.
3988 if test "${with_fontconfig+set}" = set; then :
3989 withval=$with_fontconfig;
3993 # Check whether --with-freetype was given.
3994 if test "${with_freetype+set}" = set; then :
3995 withval=$with_freetype;
3999 # Check whether --with-gettext was given.
4000 if test "${with_gettext+set}" = set; then :
4001 withval=$with_gettext;
4005 # Check whether --with-gettextpo was given.
4006 if test "${with_gettextpo+set}" = set; then :
4007 withval=$with_gettextpo; if test "x$withval" = "xno"; then ac_cv_header_gettext_po_h=no; fi
4011 # Check whether --with-gphoto was given.
4012 if test "${with_gphoto+set}" = set; then :
4013 withval=$with_gphoto;
4017 # Check whether --with-gnutls was given.
4018 if test "${with_gnutls+set}" = set; then :
4019 withval=$with_gnutls;
4023 # Check whether --with-gsm was given.
4024 if test "${with_gsm+set}" = set; then :
4025 withval=$with_gsm; if test "x$withval" = "xno"; then ac_cv_header_gsm_h=no; ac_cv_header_gsm_gsm_h=no; fi
4029 # Check whether --with-gssapi was given.
4030 if test "${with_gssapi+set}" = set; then :
4031 withval=$with_gssapi;
4035 # Check whether --with-gstreamer was given.
4036 if test "${with_gstreamer+set}" = set; then :
4037 withval=$with_gstreamer;
4041 # Check whether --with-hal was given.
4042 if test "${with_hal+set}" = set; then :
4043 withval=$with_hal;
4047 # Check whether --with-inotify was given.
4048 if test "${with_inotify+set}" = set; then :
4049 withval=$with_inotify;
4053 # Check whether --with-jpeg was given.
4054 if test "${with_jpeg+set}" = set; then :
4055 withval=$with_jpeg;
4059 # Check whether --with-jxrlib was given.
4060 if test "${with_jxrlib+set}" = set; then :
4061 withval=$with_jxrlib;
4065 # Check whether --with-krb5 was given.
4066 if test "${with_krb5+set}" = set; then :
4067 withval=$with_krb5;
4071 # Check whether --with-ldap was given.
4072 if test "${with_ldap+set}" = set; then :
4073 withval=$with_ldap; if test "x$withval" = "xno"; then ac_cv_header_ldap_h=no; ac_cv_header_lber_h=no; fi
4077 # Check whether --with-mingw was given.
4078 if test "${with_mingw+set}" = set; then :
4079 withval=$with_mingw;
4083 # Check whether --with-mpg123 was given.
4084 if test "${with_mpg123+set}" = set; then :
4085 withval=$with_mpg123;
4089 # Check whether --with-netapi was given.
4090 if test "${with_netapi+set}" = set; then :
4091 withval=$with_netapi;
4095 # Check whether --with-openal was given.
4096 if test "${with_openal+set}" = set; then :
4097 withval=$with_openal; if test "x$withval" = "xno"; then ac_cv_header_AL_al_h=no; ac_cv_header_OpenAL_al_h=no; fi
4101 # Check whether --with-opencl was given.
4102 if test "${with_opencl+set}" = set; then :
4103 withval=$with_opencl; if test "x$withval" = "xno"; then ac_cv_header_CL_cl_h=no; ac_cv_header_OpenCL_opencl_h=no; fi
4107 # Check whether --with-opengl was given.
4108 if test "${with_opengl+set}" = set; then :
4109 withval=$with_opengl;
4113 # Check whether --with-osmesa was given.
4114 if test "${with_osmesa+set}" = set; then :
4115 withval=$with_osmesa;
4119 # Check whether --with-oss was given.
4120 if test "${with_oss+set}" = set; then :
4121 withval=$with_oss;
4125 # Check whether --with-pcap was given.
4126 if test "${with_pcap+set}" = set; then :
4127 withval=$with_pcap; if test "x$withval" = "xno"; then ac_cv_header_pcap_pcap_h=no; fi
4131 # Check whether --with-png was given.
4132 if test "${with_png+set}" = set; then :
4133 withval=$with_png;
4137 # Check whether --with-pthread was given.
4138 if test "${with_pthread+set}" = set; then :
4139 withval=$with_pthread; if test "x$withval" = "xno"; then ac_cv_header_pthread_h=no; fi
4143 # Check whether --with-pulse was given.
4144 if test "${with_pulse+set}" = set; then :
4145 withval=$with_pulse;
4149 # Check whether --with-quicktime was given.
4150 if test "${with_quicktime+set}" = set; then :
4151 withval=$with_quicktime;
4155 # Check whether --with-sane was given.
4156 if test "${with_sane+set}" = set; then :
4157 withval=$with_sane;
4161 # Check whether --with-sdl was given.
4162 if test "${with_sdl+set}" = set; then :
4163 withval=$with_sdl;
4167 # Check whether --with-tiff was given.
4168 if test "${with_tiff+set}" = set; then :
4169 withval=$with_tiff;
4173 # Check whether --with-udev was given.
4174 if test "${with_udev+set}" = set; then :
4175 withval=$with_udev;
4179 # Check whether --with-unwind was given.
4180 if test "${with_unwind+set}" = set; then :
4181 withval=$with_unwind;
4185 # Check whether --with-usb was given.
4186 if test "${with_usb+set}" = set; then :
4187 withval=$with_usb;
4191 # Check whether --with-v4l2 was given.
4192 if test "${with_v4l2+set}" = set; then :
4193 withval=$with_v4l2;
4197 # Check whether --with-vkd3d was given.
4198 if test "${with_vkd3d+set}" = set; then :
4199 withval=$with_vkd3d;
4203 # Check whether --with-vulkan was given.
4204 if test "${with_vulkan+set}" = set; then :
4205 withval=$with_vulkan;
4209 # Check whether --with-xcomposite was given.
4210 if test "${with_xcomposite+set}" = set; then :
4211 withval=$with_xcomposite; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xcomposite_h=no; fi
4215 # Check whether --with-xcursor was given.
4216 if test "${with_xcursor+set}" = set; then :
4217 withval=$with_xcursor; if test "x$withval" = "xno"; then ac_cv_header_X11_Xcursor_Xcursor_h=no; fi
4221 # Check whether --with-xfixes was given.
4222 if test "${with_xfixes+set}" = set; then :
4223 withval=$with_xfixes; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xfixes_h=no; fi
4227 # Check whether --with-xinerama was given.
4228 if test "${with_xinerama+set}" = set; then :
4229 withval=$with_xinerama; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xinerama_h=no; fi
4233 # Check whether --with-xinput was given.
4234 if test "${with_xinput+set}" = set; then :
4235 withval=$with_xinput; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput_h=no; fi
4239 # Check whether --with-xinput2 was given.
4240 if test "${with_xinput2+set}" = set; then :
4241 withval=$with_xinput2; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput2_h=no; fi
4245 # Check whether --with-xml was given.
4246 if test "${with_xml+set}" = set; then :
4247 withval=$with_xml;
4251 # Check whether --with-xrandr was given.
4252 if test "${with_xrandr+set}" = set; then :
4253 withval=$with_xrandr; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrandr_h=no; fi
4257 # Check whether --with-xrender was given.
4258 if test "${with_xrender+set}" = set; then :
4259 withval=$with_xrender; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrender_h=no; fi
4263 # Check whether --with-xshape was given.
4264 if test "${with_xshape+set}" = set; then :
4265 withval=$with_xshape; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_shape_h=no; fi
4269 # Check whether --with-xshm was given.
4270 if test "${with_xshm+set}" = set; then :
4271 withval=$with_xshm; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XShm_h=no; fi
4275 # Check whether --with-xslt was given.
4276 if test "${with_xslt+set}" = set; then :
4277 withval=$with_xslt;
4281 # Check whether --with-xxf86vm was given.
4282 if test "${with_xxf86vm+set}" = set; then :
4283 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
4288 # Check whether --with-wine-tools was given.
4289 if test "${with_wine_tools+set}" = set; then :
4290 withval=$with_wine_tools;
4294 # Check whether --with-wine64 was given.
4295 if test "${with_wine64+set}" = set; then :
4296 withval=$with_wine64;
4300 # Make sure we can run config.sub.
4301 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
4302 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
4304 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
4305 $as_echo_n "checking build system type... " >&6; }
4306 if ${ac_cv_build+:} false; then :
4307 $as_echo_n "(cached) " >&6
4308 else
4309 ac_build_alias=$build_alias
4310 test "x$ac_build_alias" = x &&
4311 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
4312 test "x$ac_build_alias" = x &&
4313 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
4314 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
4315 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
4318 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
4319 $as_echo "$ac_cv_build" >&6; }
4320 case $ac_cv_build in
4321 *-*-*) ;;
4322 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
4323 esac
4324 build=$ac_cv_build
4325 ac_save_IFS=$IFS; IFS='-'
4326 set x $ac_cv_build
4327 shift
4328 build_cpu=$1
4329 build_vendor=$2
4330 shift; shift
4331 # Remember, the first character of IFS is used to create $*,
4332 # except with old shells:
4333 build_os=$*
4334 IFS=$ac_save_IFS
4335 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
4338 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
4339 $as_echo_n "checking host system type... " >&6; }
4340 if ${ac_cv_host+:} false; then :
4341 $as_echo_n "(cached) " >&6
4342 else
4343 if test "x$host_alias" = x; then
4344 ac_cv_host=$ac_cv_build
4345 else
4346 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
4347 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
4351 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
4352 $as_echo "$ac_cv_host" >&6; }
4353 case $ac_cv_host in
4354 *-*-*) ;;
4355 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
4356 esac
4357 host=$ac_cv_host
4358 ac_save_IFS=$IFS; IFS='-'
4359 set x $ac_cv_host
4360 shift
4361 host_cpu=$1
4362 host_vendor=$2
4363 shift; shift
4364 # Remember, the first character of IFS is used to create $*,
4365 # except with old shells:
4366 host_os=$*
4367 IFS=$ac_save_IFS
4368 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
4373 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
4374 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
4375 set x ${MAKE-make}
4376 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
4377 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
4378 $as_echo_n "(cached) " >&6
4379 else
4380 cat >conftest.make <<\_ACEOF
4381 SHELL = /bin/sh
4382 all:
4383 @echo '@@@%%%=$(MAKE)=@@@%%%'
4384 _ACEOF
4385 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
4386 case `${MAKE-make} -f conftest.make 2>/dev/null` in
4387 *@@@%%%=?*=@@@%%%*)
4388 eval ac_cv_prog_make_${ac_make}_set=yes;;
4390 eval ac_cv_prog_make_${ac_make}_set=no;;
4391 esac
4392 rm -f conftest.make
4394 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
4395 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4396 $as_echo "yes" >&6; }
4397 SET_MAKE=
4398 else
4399 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4400 $as_echo "no" >&6; }
4401 SET_MAKE="MAKE=${MAKE-make}"
4404 ac_ext=c
4405 ac_cpp='$CPP $CPPFLAGS'
4406 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4407 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4408 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4409 if test -n "$ac_tool_prefix"; then
4410 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
4411 set dummy ${ac_tool_prefix}gcc; ac_word=$2
4412 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4413 $as_echo_n "checking for $ac_word... " >&6; }
4414 if ${ac_cv_prog_CC+:} false; then :
4415 $as_echo_n "(cached) " >&6
4416 else
4417 if test -n "$CC"; then
4418 ac_cv_prog_CC="$CC" # Let the user override the test.
4419 else
4420 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4421 for as_dir in $PATH
4423 IFS=$as_save_IFS
4424 test -z "$as_dir" && as_dir=.
4425 for ac_exec_ext in '' $ac_executable_extensions; do
4426 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4427 ac_cv_prog_CC="${ac_tool_prefix}gcc"
4428 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4429 break 2
4431 done
4432 done
4433 IFS=$as_save_IFS
4437 CC=$ac_cv_prog_CC
4438 if test -n "$CC"; then
4439 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4440 $as_echo "$CC" >&6; }
4441 else
4442 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4443 $as_echo "no" >&6; }
4448 if test -z "$ac_cv_prog_CC"; then
4449 ac_ct_CC=$CC
4450 # Extract the first word of "gcc", so it can be a program name with args.
4451 set dummy gcc; ac_word=$2
4452 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4453 $as_echo_n "checking for $ac_word... " >&6; }
4454 if ${ac_cv_prog_ac_ct_CC+:} false; then :
4455 $as_echo_n "(cached) " >&6
4456 else
4457 if test -n "$ac_ct_CC"; then
4458 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4459 else
4460 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4461 for as_dir in $PATH
4463 IFS=$as_save_IFS
4464 test -z "$as_dir" && as_dir=.
4465 for ac_exec_ext in '' $ac_executable_extensions; do
4466 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4467 ac_cv_prog_ac_ct_CC="gcc"
4468 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4469 break 2
4471 done
4472 done
4473 IFS=$as_save_IFS
4477 ac_ct_CC=$ac_cv_prog_ac_ct_CC
4478 if test -n "$ac_ct_CC"; then
4479 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4480 $as_echo "$ac_ct_CC" >&6; }
4481 else
4482 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4483 $as_echo "no" >&6; }
4486 if test "x$ac_ct_CC" = x; then
4487 CC=""
4488 else
4489 case $cross_compiling:$ac_tool_warned in
4490 yes:)
4491 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4492 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4493 ac_tool_warned=yes ;;
4494 esac
4495 CC=$ac_ct_CC
4497 else
4498 CC="$ac_cv_prog_CC"
4501 if test -z "$CC"; then
4502 if test -n "$ac_tool_prefix"; then
4503 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
4504 set dummy ${ac_tool_prefix}cc; ac_word=$2
4505 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4506 $as_echo_n "checking for $ac_word... " >&6; }
4507 if ${ac_cv_prog_CC+:} false; then :
4508 $as_echo_n "(cached) " >&6
4509 else
4510 if test -n "$CC"; then
4511 ac_cv_prog_CC="$CC" # Let the user override the test.
4512 else
4513 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4514 for as_dir in $PATH
4516 IFS=$as_save_IFS
4517 test -z "$as_dir" && as_dir=.
4518 for ac_exec_ext in '' $ac_executable_extensions; do
4519 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4520 ac_cv_prog_CC="${ac_tool_prefix}cc"
4521 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4522 break 2
4524 done
4525 done
4526 IFS=$as_save_IFS
4530 CC=$ac_cv_prog_CC
4531 if test -n "$CC"; then
4532 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4533 $as_echo "$CC" >&6; }
4534 else
4535 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4536 $as_echo "no" >&6; }
4542 if test -z "$CC"; then
4543 # Extract the first word of "cc", so it can be a program name with args.
4544 set dummy cc; ac_word=$2
4545 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4546 $as_echo_n "checking for $ac_word... " >&6; }
4547 if ${ac_cv_prog_CC+:} false; then :
4548 $as_echo_n "(cached) " >&6
4549 else
4550 if test -n "$CC"; then
4551 ac_cv_prog_CC="$CC" # Let the user override the test.
4552 else
4553 ac_prog_rejected=no
4554 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4555 for as_dir in $PATH
4557 IFS=$as_save_IFS
4558 test -z "$as_dir" && as_dir=.
4559 for ac_exec_ext in '' $ac_executable_extensions; do
4560 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4561 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
4562 ac_prog_rejected=yes
4563 continue
4565 ac_cv_prog_CC="cc"
4566 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4567 break 2
4569 done
4570 done
4571 IFS=$as_save_IFS
4573 if test $ac_prog_rejected = yes; then
4574 # We found a bogon in the path, so make sure we never use it.
4575 set dummy $ac_cv_prog_CC
4576 shift
4577 if test $# != 0; then
4578 # We chose a different compiler from the bogus one.
4579 # However, it has the same basename, so the bogon will be chosen
4580 # first if we set CC to just the basename; use the full file name.
4581 shift
4582 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
4587 CC=$ac_cv_prog_CC
4588 if test -n "$CC"; then
4589 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4590 $as_echo "$CC" >&6; }
4591 else
4592 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4593 $as_echo "no" >&6; }
4598 if test -z "$CC"; then
4599 if test -n "$ac_tool_prefix"; then
4600 for ac_prog in cl.exe
4602 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4603 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4604 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4605 $as_echo_n "checking for $ac_word... " >&6; }
4606 if ${ac_cv_prog_CC+:} false; then :
4607 $as_echo_n "(cached) " >&6
4608 else
4609 if test -n "$CC"; then
4610 ac_cv_prog_CC="$CC" # Let the user override the test.
4611 else
4612 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4613 for as_dir in $PATH
4615 IFS=$as_save_IFS
4616 test -z "$as_dir" && as_dir=.
4617 for ac_exec_ext in '' $ac_executable_extensions; do
4618 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4619 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
4620 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4621 break 2
4623 done
4624 done
4625 IFS=$as_save_IFS
4629 CC=$ac_cv_prog_CC
4630 if test -n "$CC"; then
4631 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4632 $as_echo "$CC" >&6; }
4633 else
4634 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4635 $as_echo "no" >&6; }
4639 test -n "$CC" && break
4640 done
4642 if test -z "$CC"; then
4643 ac_ct_CC=$CC
4644 for ac_prog in cl.exe
4646 # Extract the first word of "$ac_prog", so it can be a program name with args.
4647 set dummy $ac_prog; ac_word=$2
4648 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4649 $as_echo_n "checking for $ac_word... " >&6; }
4650 if ${ac_cv_prog_ac_ct_CC+:} false; then :
4651 $as_echo_n "(cached) " >&6
4652 else
4653 if test -n "$ac_ct_CC"; then
4654 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4655 else
4656 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4657 for as_dir in $PATH
4659 IFS=$as_save_IFS
4660 test -z "$as_dir" && as_dir=.
4661 for ac_exec_ext in '' $ac_executable_extensions; do
4662 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4663 ac_cv_prog_ac_ct_CC="$ac_prog"
4664 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4665 break 2
4667 done
4668 done
4669 IFS=$as_save_IFS
4673 ac_ct_CC=$ac_cv_prog_ac_ct_CC
4674 if test -n "$ac_ct_CC"; then
4675 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4676 $as_echo "$ac_ct_CC" >&6; }
4677 else
4678 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4679 $as_echo "no" >&6; }
4683 test -n "$ac_ct_CC" && break
4684 done
4686 if test "x$ac_ct_CC" = x; then
4687 CC=""
4688 else
4689 case $cross_compiling:$ac_tool_warned in
4690 yes:)
4691 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4692 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4693 ac_tool_warned=yes ;;
4694 esac
4695 CC=$ac_ct_CC
4702 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4703 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4704 as_fn_error $? "no acceptable C compiler found in \$PATH
4705 See \`config.log' for more details" "$LINENO" 5; }
4707 # Provide some information about the compiler.
4708 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
4709 set X $ac_compile
4710 ac_compiler=$2
4711 for ac_option in --version -v -V -qversion; do
4712 { { ac_try="$ac_compiler $ac_option >&5"
4713 case "(($ac_try" in
4714 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4715 *) ac_try_echo=$ac_try;;
4716 esac
4717 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4718 $as_echo "$ac_try_echo"; } >&5
4719 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4720 ac_status=$?
4721 if test -s conftest.err; then
4722 sed '10a\
4723 ... rest of stderr output deleted ...
4724 10q' conftest.err >conftest.er1
4725 cat conftest.er1 >&5
4727 rm -f conftest.er1 conftest.err
4728 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4729 test $ac_status = 0; }
4730 done
4732 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4733 /* end confdefs.h. */
4736 main ()
4740 return 0;
4742 _ACEOF
4743 ac_clean_files_save=$ac_clean_files
4744 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
4745 # Try to create an executable without -o first, disregard a.out.
4746 # It will help us diagnose broken compilers, and finding out an intuition
4747 # of exeext.
4748 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
4749 $as_echo_n "checking whether the C compiler works... " >&6; }
4750 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
4752 # The possible output files:
4753 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
4755 ac_rmfiles=
4756 for ac_file in $ac_files
4758 case $ac_file in
4759 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4760 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
4761 esac
4762 done
4763 rm -f $ac_rmfiles
4765 if { { ac_try="$ac_link_default"
4766 case "(($ac_try" in
4767 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4768 *) ac_try_echo=$ac_try;;
4769 esac
4770 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4771 $as_echo "$ac_try_echo"; } >&5
4772 (eval "$ac_link_default") 2>&5
4773 ac_status=$?
4774 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4775 test $ac_status = 0; }; then :
4776 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
4777 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
4778 # in a Makefile. We should not override ac_cv_exeext if it was cached,
4779 # so that the user can short-circuit this test for compilers unknown to
4780 # Autoconf.
4781 for ac_file in $ac_files ''
4783 test -f "$ac_file" || continue
4784 case $ac_file in
4785 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
4787 [ab].out )
4788 # We found the default executable, but exeext='' is most
4789 # certainly right.
4790 break;;
4791 *.* )
4792 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
4793 then :; else
4794 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4796 # We set ac_cv_exeext here because the later test for it is not
4797 # safe: cross compilers may not add the suffix if given an `-o'
4798 # argument, so we may need to know it at that point already.
4799 # Even if this section looks crufty: it has the advantage of
4800 # actually working.
4801 break;;
4803 break;;
4804 esac
4805 done
4806 test "$ac_cv_exeext" = no && ac_cv_exeext=
4808 else
4809 ac_file=''
4811 if test -z "$ac_file"; then :
4812 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4813 $as_echo "no" >&6; }
4814 $as_echo "$as_me: failed program was:" >&5
4815 sed 's/^/| /' conftest.$ac_ext >&5
4817 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4818 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4819 as_fn_error 77 "C compiler cannot create executables
4820 See \`config.log' for more details" "$LINENO" 5; }
4821 else
4822 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4823 $as_echo "yes" >&6; }
4825 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
4826 $as_echo_n "checking for C compiler default output file name... " >&6; }
4827 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
4828 $as_echo "$ac_file" >&6; }
4829 ac_exeext=$ac_cv_exeext
4831 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
4832 ac_clean_files=$ac_clean_files_save
4833 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
4834 $as_echo_n "checking for suffix of executables... " >&6; }
4835 if { { ac_try="$ac_link"
4836 case "(($ac_try" in
4837 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4838 *) ac_try_echo=$ac_try;;
4839 esac
4840 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4841 $as_echo "$ac_try_echo"; } >&5
4842 (eval "$ac_link") 2>&5
4843 ac_status=$?
4844 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4845 test $ac_status = 0; }; then :
4846 # If both `conftest.exe' and `conftest' are `present' (well, observable)
4847 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
4848 # work properly (i.e., refer to `conftest.exe'), while it won't with
4849 # `rm'.
4850 for ac_file in conftest.exe conftest conftest.*; do
4851 test -f "$ac_file" || continue
4852 case $ac_file in
4853 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4854 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4855 break;;
4856 * ) break;;
4857 esac
4858 done
4859 else
4860 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4861 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4862 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
4863 See \`config.log' for more details" "$LINENO" 5; }
4865 rm -f conftest conftest$ac_cv_exeext
4866 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
4867 $as_echo "$ac_cv_exeext" >&6; }
4869 rm -f conftest.$ac_ext
4870 EXEEXT=$ac_cv_exeext
4871 ac_exeext=$EXEEXT
4872 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4873 /* end confdefs.h. */
4874 #include <stdio.h>
4876 main ()
4878 FILE *f = fopen ("conftest.out", "w");
4879 return ferror (f) || fclose (f) != 0;
4882 return 0;
4884 _ACEOF
4885 ac_clean_files="$ac_clean_files conftest.out"
4886 # Check that the compiler produces executables we can run. If not, either
4887 # the compiler is broken, or we cross compile.
4888 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
4889 $as_echo_n "checking whether we are cross compiling... " >&6; }
4890 if test "$cross_compiling" != yes; then
4891 { { ac_try="$ac_link"
4892 case "(($ac_try" in
4893 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4894 *) ac_try_echo=$ac_try;;
4895 esac
4896 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4897 $as_echo "$ac_try_echo"; } >&5
4898 (eval "$ac_link") 2>&5
4899 ac_status=$?
4900 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4901 test $ac_status = 0; }
4902 if { ac_try='./conftest$ac_cv_exeext'
4903 { { case "(($ac_try" in
4904 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4905 *) ac_try_echo=$ac_try;;
4906 esac
4907 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4908 $as_echo "$ac_try_echo"; } >&5
4909 (eval "$ac_try") 2>&5
4910 ac_status=$?
4911 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4912 test $ac_status = 0; }; }; then
4913 cross_compiling=no
4914 else
4915 if test "$cross_compiling" = maybe; then
4916 cross_compiling=yes
4917 else
4918 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4919 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4920 as_fn_error $? "cannot run C compiled programs.
4921 If you meant to cross compile, use \`--host'.
4922 See \`config.log' for more details" "$LINENO" 5; }
4926 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
4927 $as_echo "$cross_compiling" >&6; }
4929 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
4930 ac_clean_files=$ac_clean_files_save
4931 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
4932 $as_echo_n "checking for suffix of object files... " >&6; }
4933 if ${ac_cv_objext+:} false; then :
4934 $as_echo_n "(cached) " >&6
4935 else
4936 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4937 /* end confdefs.h. */
4940 main ()
4944 return 0;
4946 _ACEOF
4947 rm -f conftest.o conftest.obj
4948 if { { ac_try="$ac_compile"
4949 case "(($ac_try" in
4950 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4951 *) ac_try_echo=$ac_try;;
4952 esac
4953 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4954 $as_echo "$ac_try_echo"; } >&5
4955 (eval "$ac_compile") 2>&5
4956 ac_status=$?
4957 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4958 test $ac_status = 0; }; then :
4959 for ac_file in conftest.o conftest.obj conftest.*; do
4960 test -f "$ac_file" || continue;
4961 case $ac_file in
4962 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
4963 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
4964 break;;
4965 esac
4966 done
4967 else
4968 $as_echo "$as_me: failed program was:" >&5
4969 sed 's/^/| /' conftest.$ac_ext >&5
4971 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4972 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4973 as_fn_error $? "cannot compute suffix of object files: cannot compile
4974 See \`config.log' for more details" "$LINENO" 5; }
4976 rm -f conftest.$ac_cv_objext conftest.$ac_ext
4978 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
4979 $as_echo "$ac_cv_objext" >&6; }
4980 OBJEXT=$ac_cv_objext
4981 ac_objext=$OBJEXT
4982 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4983 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4984 if ${ac_cv_c_compiler_gnu+:} false; then :
4985 $as_echo_n "(cached) " >&6
4986 else
4987 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4988 /* end confdefs.h. */
4991 main ()
4993 #ifndef __GNUC__
4994 choke me
4995 #endif
4998 return 0;
5000 _ACEOF
5001 if ac_fn_c_try_compile "$LINENO"; then :
5002 ac_compiler_gnu=yes
5003 else
5004 ac_compiler_gnu=no
5006 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5007 ac_cv_c_compiler_gnu=$ac_compiler_gnu
5010 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
5011 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
5012 if test $ac_compiler_gnu = yes; then
5013 GCC=yes
5014 else
5015 GCC=
5017 ac_test_CFLAGS=${CFLAGS+set}
5018 ac_save_CFLAGS=$CFLAGS
5019 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
5020 $as_echo_n "checking whether $CC accepts -g... " >&6; }
5021 if ${ac_cv_prog_cc_g+:} false; then :
5022 $as_echo_n "(cached) " >&6
5023 else
5024 ac_save_c_werror_flag=$ac_c_werror_flag
5025 ac_c_werror_flag=yes
5026 ac_cv_prog_cc_g=no
5027 CFLAGS="-g"
5028 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5029 /* end confdefs.h. */
5032 main ()
5036 return 0;
5038 _ACEOF
5039 if ac_fn_c_try_compile "$LINENO"; then :
5040 ac_cv_prog_cc_g=yes
5041 else
5042 CFLAGS=""
5043 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5044 /* end confdefs.h. */
5047 main ()
5051 return 0;
5053 _ACEOF
5054 if ac_fn_c_try_compile "$LINENO"; then :
5056 else
5057 ac_c_werror_flag=$ac_save_c_werror_flag
5058 CFLAGS="-g"
5059 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5060 /* end confdefs.h. */
5063 main ()
5067 return 0;
5069 _ACEOF
5070 if ac_fn_c_try_compile "$LINENO"; then :
5071 ac_cv_prog_cc_g=yes
5073 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5075 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5077 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5078 ac_c_werror_flag=$ac_save_c_werror_flag
5080 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
5081 $as_echo "$ac_cv_prog_cc_g" >&6; }
5082 if test "$ac_test_CFLAGS" = set; then
5083 CFLAGS=$ac_save_CFLAGS
5084 elif test $ac_cv_prog_cc_g = yes; then
5085 if test "$GCC" = yes; then
5086 CFLAGS="-g -O2"
5087 else
5088 CFLAGS="-g"
5090 else
5091 if test "$GCC" = yes; then
5092 CFLAGS="-O2"
5093 else
5094 CFLAGS=
5097 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
5098 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
5099 if ${ac_cv_prog_cc_c89+:} false; then :
5100 $as_echo_n "(cached) " >&6
5101 else
5102 ac_cv_prog_cc_c89=no
5103 ac_save_CC=$CC
5104 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5105 /* end confdefs.h. */
5106 #include <stdarg.h>
5107 #include <stdio.h>
5108 struct stat;
5109 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
5110 struct buf { int x; };
5111 FILE * (*rcsopen) (struct buf *, struct stat *, int);
5112 static char *e (p, i)
5113 char **p;
5114 int i;
5116 return p[i];
5118 static char *f (char * (*g) (char **, int), char **p, ...)
5120 char *s;
5121 va_list v;
5122 va_start (v,p);
5123 s = g (p, va_arg (v,int));
5124 va_end (v);
5125 return s;
5128 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
5129 function prototypes and stuff, but not '\xHH' hex character constants.
5130 These don't provoke an error unfortunately, instead are silently treated
5131 as 'x'. The following induces an error, until -std is added to get
5132 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
5133 array size at least. It's necessary to write '\x00'==0 to get something
5134 that's true only with -std. */
5135 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
5137 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
5138 inside strings and character constants. */
5139 #define FOO(x) 'x'
5140 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
5142 int test (int i, double x);
5143 struct s1 {int (*f) (int a);};
5144 struct s2 {int (*f) (double a);};
5145 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
5146 int argc;
5147 char **argv;
5149 main ()
5151 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
5153 return 0;
5155 _ACEOF
5156 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
5157 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
5159 CC="$ac_save_CC $ac_arg"
5160 if ac_fn_c_try_compile "$LINENO"; then :
5161 ac_cv_prog_cc_c89=$ac_arg
5163 rm -f core conftest.err conftest.$ac_objext
5164 test "x$ac_cv_prog_cc_c89" != "xno" && break
5165 done
5166 rm -f conftest.$ac_ext
5167 CC=$ac_save_CC
5170 # AC_CACHE_VAL
5171 case "x$ac_cv_prog_cc_c89" in
5173 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
5174 $as_echo "none needed" >&6; } ;;
5175 xno)
5176 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
5177 $as_echo "unsupported" >&6; } ;;
5179 CC="$CC $ac_cv_prog_cc_c89"
5180 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
5181 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
5182 esac
5183 if test "x$ac_cv_prog_cc_c89" != xno; then :
5187 ac_ext=c
5188 ac_cpp='$CPP $CPPFLAGS'
5189 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5190 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5191 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5193 ac_ext=cpp
5194 ac_cpp='$CXXCPP $CPPFLAGS'
5195 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5196 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5197 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
5198 if test -z "$CXX"; then
5199 if test -n "$CCC"; then
5200 CXX=$CCC
5201 else
5202 if test -n "$ac_tool_prefix"; then
5203 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
5205 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5206 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5207 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5208 $as_echo_n "checking for $ac_word... " >&6; }
5209 if ${ac_cv_prog_CXX+:} false; then :
5210 $as_echo_n "(cached) " >&6
5211 else
5212 if test -n "$CXX"; then
5213 ac_cv_prog_CXX="$CXX" # Let the user override the test.
5214 else
5215 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5216 for as_dir in $PATH
5218 IFS=$as_save_IFS
5219 test -z "$as_dir" && as_dir=.
5220 for ac_exec_ext in '' $ac_executable_extensions; do
5221 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5222 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
5223 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5224 break 2
5226 done
5227 done
5228 IFS=$as_save_IFS
5232 CXX=$ac_cv_prog_CXX
5233 if test -n "$CXX"; then
5234 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
5235 $as_echo "$CXX" >&6; }
5236 else
5237 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5238 $as_echo "no" >&6; }
5242 test -n "$CXX" && break
5243 done
5245 if test -z "$CXX"; then
5246 ac_ct_CXX=$CXX
5247 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
5249 # Extract the first word of "$ac_prog", so it can be a program name with args.
5250 set dummy $ac_prog; ac_word=$2
5251 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5252 $as_echo_n "checking for $ac_word... " >&6; }
5253 if ${ac_cv_prog_ac_ct_CXX+:} false; then :
5254 $as_echo_n "(cached) " >&6
5255 else
5256 if test -n "$ac_ct_CXX"; then
5257 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
5258 else
5259 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5260 for as_dir in $PATH
5262 IFS=$as_save_IFS
5263 test -z "$as_dir" && as_dir=.
5264 for ac_exec_ext in '' $ac_executable_extensions; do
5265 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5266 ac_cv_prog_ac_ct_CXX="$ac_prog"
5267 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5268 break 2
5270 done
5271 done
5272 IFS=$as_save_IFS
5276 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
5277 if test -n "$ac_ct_CXX"; then
5278 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
5279 $as_echo "$ac_ct_CXX" >&6; }
5280 else
5281 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5282 $as_echo "no" >&6; }
5286 test -n "$ac_ct_CXX" && break
5287 done
5289 if test "x$ac_ct_CXX" = x; then
5290 CXX="g++"
5291 else
5292 case $cross_compiling:$ac_tool_warned in
5293 yes:)
5294 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5295 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5296 ac_tool_warned=yes ;;
5297 esac
5298 CXX=$ac_ct_CXX
5304 # Provide some information about the compiler.
5305 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
5306 set X $ac_compile
5307 ac_compiler=$2
5308 for ac_option in --version -v -V -qversion; do
5309 { { ac_try="$ac_compiler $ac_option >&5"
5310 case "(($ac_try" in
5311 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5312 *) ac_try_echo=$ac_try;;
5313 esac
5314 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5315 $as_echo "$ac_try_echo"; } >&5
5316 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
5317 ac_status=$?
5318 if test -s conftest.err; then
5319 sed '10a\
5320 ... rest of stderr output deleted ...
5321 10q' conftest.err >conftest.er1
5322 cat conftest.er1 >&5
5324 rm -f conftest.er1 conftest.err
5325 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5326 test $ac_status = 0; }
5327 done
5329 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
5330 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
5331 if ${ac_cv_cxx_compiler_gnu+:} false; then :
5332 $as_echo_n "(cached) " >&6
5333 else
5334 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5335 /* end confdefs.h. */
5338 main ()
5340 #ifndef __GNUC__
5341 choke me
5342 #endif
5345 return 0;
5347 _ACEOF
5348 if ac_fn_cxx_try_compile "$LINENO"; then :
5349 ac_compiler_gnu=yes
5350 else
5351 ac_compiler_gnu=no
5353 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5354 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
5357 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
5358 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
5359 if test $ac_compiler_gnu = yes; then
5360 GXX=yes
5361 else
5362 GXX=
5364 ac_test_CXXFLAGS=${CXXFLAGS+set}
5365 ac_save_CXXFLAGS=$CXXFLAGS
5366 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
5367 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
5368 if ${ac_cv_prog_cxx_g+:} false; then :
5369 $as_echo_n "(cached) " >&6
5370 else
5371 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
5372 ac_cxx_werror_flag=yes
5373 ac_cv_prog_cxx_g=no
5374 CXXFLAGS="-g"
5375 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5376 /* end confdefs.h. */
5379 main ()
5383 return 0;
5385 _ACEOF
5386 if ac_fn_cxx_try_compile "$LINENO"; then :
5387 ac_cv_prog_cxx_g=yes
5388 else
5389 CXXFLAGS=""
5390 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5391 /* end confdefs.h. */
5394 main ()
5398 return 0;
5400 _ACEOF
5401 if ac_fn_cxx_try_compile "$LINENO"; then :
5403 else
5404 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
5405 CXXFLAGS="-g"
5406 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5407 /* end confdefs.h. */
5410 main ()
5414 return 0;
5416 _ACEOF
5417 if ac_fn_cxx_try_compile "$LINENO"; then :
5418 ac_cv_prog_cxx_g=yes
5420 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5422 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5424 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5425 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
5427 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
5428 $as_echo "$ac_cv_prog_cxx_g" >&6; }
5429 if test "$ac_test_CXXFLAGS" = set; then
5430 CXXFLAGS=$ac_save_CXXFLAGS
5431 elif test $ac_cv_prog_cxx_g = yes; then
5432 if test "$GXX" = yes; then
5433 CXXFLAGS="-g -O2"
5434 else
5435 CXXFLAGS="-g"
5437 else
5438 if test "$GXX" = yes; then
5439 CXXFLAGS="-O2"
5440 else
5441 CXXFLAGS=
5444 ac_ext=c
5445 ac_cpp='$CPP $CPPFLAGS'
5446 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5447 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5448 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5450 if test -n "$ac_tool_prefix"; then
5451 # Extract the first word of "${ac_tool_prefix}cpp", so it can be a program name with args.
5452 set dummy ${ac_tool_prefix}cpp; ac_word=$2
5453 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5454 $as_echo_n "checking for $ac_word... " >&6; }
5455 if ${ac_cv_prog_CPPBIN+:} false; then :
5456 $as_echo_n "(cached) " >&6
5457 else
5458 if test -n "$CPPBIN"; then
5459 ac_cv_prog_CPPBIN="$CPPBIN" # Let the user override the test.
5460 else
5461 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5462 for as_dir in $PATH
5464 IFS=$as_save_IFS
5465 test -z "$as_dir" && as_dir=.
5466 for ac_exec_ext in '' $ac_executable_extensions; do
5467 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5468 ac_cv_prog_CPPBIN="${ac_tool_prefix}cpp"
5469 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5470 break 2
5472 done
5473 done
5474 IFS=$as_save_IFS
5478 CPPBIN=$ac_cv_prog_CPPBIN
5479 if test -n "$CPPBIN"; then
5480 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPPBIN" >&5
5481 $as_echo "$CPPBIN" >&6; }
5482 else
5483 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5484 $as_echo "no" >&6; }
5489 if test -z "$ac_cv_prog_CPPBIN"; then
5490 ac_ct_CPPBIN=$CPPBIN
5491 # Extract the first word of "cpp", so it can be a program name with args.
5492 set dummy cpp; ac_word=$2
5493 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5494 $as_echo_n "checking for $ac_word... " >&6; }
5495 if ${ac_cv_prog_ac_ct_CPPBIN+:} false; then :
5496 $as_echo_n "(cached) " >&6
5497 else
5498 if test -n "$ac_ct_CPPBIN"; then
5499 ac_cv_prog_ac_ct_CPPBIN="$ac_ct_CPPBIN" # Let the user override the test.
5500 else
5501 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5502 for as_dir in $PATH
5504 IFS=$as_save_IFS
5505 test -z "$as_dir" && as_dir=.
5506 for ac_exec_ext in '' $ac_executable_extensions; do
5507 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5508 ac_cv_prog_ac_ct_CPPBIN="cpp"
5509 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5510 break 2
5512 done
5513 done
5514 IFS=$as_save_IFS
5518 ac_ct_CPPBIN=$ac_cv_prog_ac_ct_CPPBIN
5519 if test -n "$ac_ct_CPPBIN"; then
5520 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CPPBIN" >&5
5521 $as_echo "$ac_ct_CPPBIN" >&6; }
5522 else
5523 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5524 $as_echo "no" >&6; }
5527 if test "x$ac_ct_CPPBIN" = x; then
5528 CPPBIN="cpp"
5529 else
5530 case $cross_compiling:$ac_tool_warned in
5531 yes:)
5532 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5533 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5534 ac_tool_warned=yes ;;
5535 esac
5536 CPPBIN=$ac_ct_CPPBIN
5538 else
5539 CPPBIN="$ac_cv_prog_CPPBIN"
5543 cat >>confdefs.h <<_ACEOF
5544 #define EXEEXT "$ac_exeext"
5545 _ACEOF
5547 if test -n "$ac_tool_prefix"; then
5548 # Extract the first word of "${ac_tool_prefix}ld", so it can be a program name with args.
5549 set dummy ${ac_tool_prefix}ld; ac_word=$2
5550 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5551 $as_echo_n "checking for $ac_word... " >&6; }
5552 if ${ac_cv_prog_LD+:} false; then :
5553 $as_echo_n "(cached) " >&6
5554 else
5555 if test -n "$LD"; then
5556 ac_cv_prog_LD="$LD" # Let the user override the test.
5557 else
5558 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5559 for as_dir in $PATH
5561 IFS=$as_save_IFS
5562 test -z "$as_dir" && as_dir=.
5563 for ac_exec_ext in '' $ac_executable_extensions; do
5564 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5565 ac_cv_prog_LD="${ac_tool_prefix}ld"
5566 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5567 break 2
5569 done
5570 done
5571 IFS=$as_save_IFS
5575 LD=$ac_cv_prog_LD
5576 if test -n "$LD"; then
5577 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
5578 $as_echo "$LD" >&6; }
5579 else
5580 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5581 $as_echo "no" >&6; }
5586 if test -z "$ac_cv_prog_LD"; then
5587 ac_ct_LD=$LD
5588 # Extract the first word of "ld", so it can be a program name with args.
5589 set dummy ld; ac_word=$2
5590 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5591 $as_echo_n "checking for $ac_word... " >&6; }
5592 if ${ac_cv_prog_ac_ct_LD+:} false; then :
5593 $as_echo_n "(cached) " >&6
5594 else
5595 if test -n "$ac_ct_LD"; then
5596 ac_cv_prog_ac_ct_LD="$ac_ct_LD" # Let the user override the test.
5597 else
5598 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5599 for as_dir in $PATH
5601 IFS=$as_save_IFS
5602 test -z "$as_dir" && as_dir=.
5603 for ac_exec_ext in '' $ac_executable_extensions; do
5604 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5605 ac_cv_prog_ac_ct_LD="ld"
5606 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5607 break 2
5609 done
5610 done
5611 IFS=$as_save_IFS
5615 ac_ct_LD=$ac_cv_prog_ac_ct_LD
5616 if test -n "$ac_ct_LD"; then
5617 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LD" >&5
5618 $as_echo "$ac_ct_LD" >&6; }
5619 else
5620 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5621 $as_echo "no" >&6; }
5624 if test "x$ac_ct_LD" = x; then
5625 LD=""
5626 else
5627 case $cross_compiling:$ac_tool_warned in
5628 yes:)
5629 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5630 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5631 ac_tool_warned=yes ;;
5632 esac
5633 LD=$ac_ct_LD
5635 else
5636 LD="$ac_cv_prog_LD"
5640 case $host in
5641 *-darwin*)
5642 with_fontconfig=${with_fontconfig:-no}
5644 *-mingw32*|*-cygwin*)
5645 enable_win16=${enable_win16:-no}
5646 with_mingw=${with_mingw:-no}
5647 CFLAGS="$CFLAGS -D_WIN32"
5649 esac
5652 case $host in
5653 x86_64*|amd64*)
5654 if test "x$enable_win64" != "xyes" -a "$cross_compiling" != "yes"
5655 then
5656 CC="$CC -m32"
5657 CXX="$CXX -m32"
5659 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC works" >&5
5660 $as_echo_n "checking whether $CC works... " >&6; }
5661 if ${wine_cv_cc_m32+:} false; then :
5662 $as_echo_n "(cached) " >&6
5663 else
5664 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5665 /* end confdefs.h. */
5668 main ()
5672 return 0;
5674 _ACEOF
5675 if ac_fn_c_try_link "$LINENO"; then :
5676 wine_cv_cc_m32=yes
5677 else
5678 wine_cv_cc_m32=no
5680 rm -f core conftest.err conftest.$ac_objext \
5681 conftest$ac_exeext conftest.$ac_ext
5683 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_cc_m32" >&5
5684 $as_echo "$wine_cv_cc_m32" >&6; }
5685 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
5686 host_cpu="i386"
5687 notice_platform="32-bit "
5688 TARGETFLAGS="$TARGETFLAGS -m32"
5689 PKG_CONFIG_PATH=${PKG_CONFIG_PATH:-/usr/lib/i386-linux-gnu/pkgconfig:/usr/lib32/pkgconfig:/usr/lib/pkgconfig}
5690 export PKG_CONFIG_PATH
5691 enable_win16=${enable_win16:-yes}
5692 with_unwind=${with_unwind:-no}
5693 else
5694 if test "x${GCC}" = "xyes"
5695 then
5696 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports __builtin_ms_va_list" >&5
5697 $as_echo_n "checking whether $CC supports __builtin_ms_va_list... " >&6; }
5698 if ${wine_cv_builtin_ms_va_list+:} false; then :
5699 $as_echo_n "(cached) " >&6
5700 else
5701 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5702 /* end confdefs.h. */
5703 #include <stdarg.h>
5705 main ()
5707 void func(__builtin_ms_va_list *args);
5709 return 0;
5711 _ACEOF
5712 if ac_fn_c_try_compile "$LINENO"; then :
5713 wine_cv_builtin_ms_va_list=yes
5714 else
5715 wine_cv_builtin_ms_va_list=no
5717 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5719 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_builtin_ms_va_list" >&5
5720 $as_echo "$wine_cv_builtin_ms_va_list" >&6; }
5721 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
5723 CC="$CC -m64"
5724 CXX="$CXX -m64"
5725 host_cpu="x86_64"
5726 notice_platform="64-bit "
5727 TARGETFLAGS="$TARGETFLAGS -m64"
5728 enable_wow64cpu=${enable_wow64cpu:-yes}
5731 arm*)
5732 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports Thumb-2" >&5
5733 $as_echo_n "checking whether $CC supports Thumb-2... " >&6; }
5734 if ${wine_cv_thumb2+:} false; then :
5735 $as_echo_n "(cached) " >&6
5736 else
5737 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5738 /* end confdefs.h. */
5741 main ()
5743 asm(".syntax unified\n\t.thumb\n\tldm r0,{r0-r8}");
5745 return 0;
5747 _ACEOF
5748 if ac_fn_c_try_link "$LINENO"; then :
5749 wine_cv_thumb2=yes
5750 else
5751 wine_cv_thumb2=no
5753 rm -f core conftest.err conftest.$ac_objext \
5754 conftest$ac_exeext conftest.$ac_ext
5756 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_thumb2" >&5
5757 $as_echo "$wine_cv_thumb2" >&6; }
5758 if test x"$wine_cv_thumb2" = xyes
5759 then
5760 CFLAGS="$CFLAGS -mthumb"
5761 TARGETFLAGS="$TARGETFLAGS -mthumb"
5762 else
5763 CFLAGS="$CFLAGS -marm"
5764 TARGETFLAGS="$TARGETFLAGS -marm"
5766 case $with_float_abi in
5767 soft|softfp|hard)
5768 float_abi=$with_float_abi ;;
5770 case $host_os in
5771 *eabihf)
5772 float_abi=hard ;;
5774 float_abi=softfp
5775 saved_CFLAGS=$CFLAGS
5776 CFLAGS="$CFLAGS -mfloat-abi=$float_abi"
5777 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -mfloat-abi=$float_abi" >&5
5778 $as_echo_n "checking whether $CC supports -mfloat-abi=$float_abi... " >&6; }
5779 if ${wine_cv_float_abi+:} false; then :
5780 $as_echo_n "(cached) " >&6
5781 else
5782 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5783 /* end confdefs.h. */
5786 main ()
5788 asm("vmrs r2,fpscr");
5790 return 0;
5792 _ACEOF
5793 if ac_fn_c_try_link "$LINENO"; then :
5794 wine_cv_float_abi=yes
5795 else
5796 wine_cv_float_abi=no
5798 rm -f core conftest.err conftest.$ac_objext \
5799 conftest$ac_exeext conftest.$ac_ext
5801 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_float_abi" >&5
5802 $as_echo "$wine_cv_float_abi" >&6; }
5803 if test $wine_cv_float_abi = no
5804 then
5805 float_abi=soft
5806 as_fn_append wine_warnings "|Floating point is not supported for this target. The resulting build won't be compatible with Windows ARM binaries."
5808 CFLAGS=$saved_CFLAGS
5809 esac
5811 esac
5812 CFLAGS="$CFLAGS -mfloat-abi=$float_abi"
5813 TARGETFLAGS="$TARGETFLAGS -mfloat-abi=$float_abi"
5815 aarch64*)
5816 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports __builtin_ms_va_list" >&5
5817 $as_echo_n "checking whether $CC supports __builtin_ms_va_list... " >&6; }
5818 if ${wine_cv_builtin_ms_va_list+:} false; then :
5819 $as_echo_n "(cached) " >&6
5820 else
5821 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5822 /* end confdefs.h. */
5823 #include <stdarg.h>
5825 main ()
5827 void func(__builtin_ms_va_list *args);
5829 return 0;
5831 _ACEOF
5832 if ac_fn_c_try_compile "$LINENO"; then :
5833 wine_cv_builtin_ms_va_list=yes
5834 else
5835 wine_cv_builtin_ms_va_list=no
5837 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5839 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_builtin_ms_va_list" >&5
5840 $as_echo "$wine_cv_builtin_ms_va_list" >&6; }
5841 test $wine_cv_builtin_ms_va_list != no || as_fn_error $? "You need clang >= 5.0 to build Wine for arm64." "$LINENO" 5
5843 i[3456789]86*)
5844 enable_win16=${enable_win16:-yes}
5845 with_unwind=${with_unwind:-no}
5847 esac
5849 enable_win16=${enable_win16:-no}
5850 enable_win64=${enable_win64:-no}
5851 enable_wow64cpu=${enable_wow64cpu:-no}
5853 enable_winetest=${enable_winetest:-$enable_tests}
5855 if test "x$enable_win64" = "xyes"
5856 then
5857 test -z "$with_wine64" || as_fn_error $? "--enable-win64 and --with-wine64 are mutually exclusive.
5858 --enable-win64 should be used in the 64-bit build tree, --with-wine64 in the 32-bit Wow64 build tree." "$LINENO" 5
5859 test "x$libdir" != "x\${exec_prefix}/lib" || libdir="\${exec_prefix}/lib64"
5862 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the directory containing the Wine tools" >&5
5863 $as_echo_n "checking for the directory containing the Wine tools... " >&6; }
5864 if ${wine_cv_toolsdir+:} false; then :
5865 $as_echo_n "(cached) " >&6
5866 else
5867 wine_cv_toolsdir="$with_wine_tools"
5868 if test -z "$with_wine_tools"; then
5869 if test "$cross_compiling" = "yes"; then
5870 as_fn_error $? "you must use the --with-wine-tools option when cross-compiling." "$LINENO" 5
5871 elif test -n "$with_wine64"; then
5872 wine_cv_toolsdir="$with_wine64"
5876 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_toolsdir" >&5
5877 $as_echo "$wine_cv_toolsdir" >&6; }
5878 if test -z "$wine_cv_toolsdir"; then
5879 wine_makedep=tools/makedep
5880 TOOLSDIR="."
5882 elif test -d "$wine_cv_toolsdir/tools/winebuild"; then
5883 wine_makedep=$wine_cv_toolsdir/tools/makedep
5884 TOOLSDIR=$wine_cv_toolsdir
5886 enable_tools=${enable_tools:-no}
5887 test -f "$wine_makedep" || as_fn_error $? "the Wine tools have not yet been built in $wine_cv_toolsdir" "$LINENO" 5
5888 else
5889 as_fn_error $? "could not find Wine tools in $wine_cv_toolsdir" "$LINENO" 5
5891 if test -n "$host_alias" -a "$host_alias" != "$build_alias"
5892 then
5893 TARGETFLAGS="-b $host_alias $TARGETFLAGS"
5896 for ac_prog in flex
5898 # Extract the first word of "$ac_prog", so it can be a program name with args.
5899 set dummy $ac_prog; ac_word=$2
5900 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5901 $as_echo_n "checking for $ac_word... " >&6; }
5902 if ${ac_cv_prog_FLEX+:} false; then :
5903 $as_echo_n "(cached) " >&6
5904 else
5905 if test -n "$FLEX"; then
5906 ac_cv_prog_FLEX="$FLEX" # Let the user override the test.
5907 else
5908 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5909 for as_dir in $PATH
5911 IFS=$as_save_IFS
5912 test -z "$as_dir" && as_dir=.
5913 for ac_exec_ext in '' $ac_executable_extensions; do
5914 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5915 ac_cv_prog_FLEX="$ac_prog"
5916 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5917 break 2
5919 done
5920 done
5921 IFS=$as_save_IFS
5925 FLEX=$ac_cv_prog_FLEX
5926 if test -n "$FLEX"; then
5927 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FLEX" >&5
5928 $as_echo "$FLEX" >&6; }
5929 else
5930 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5931 $as_echo "no" >&6; }
5935 test -n "$FLEX" && break
5936 done
5937 test -n "$FLEX" || FLEX="none"
5939 if test "$FLEX" = "none"
5940 then
5941 as_fn_error $? "no suitable flex found. Please install the 'flex' package." "$LINENO" 5
5943 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether flex is recent enough" >&5
5944 $as_echo_n "checking whether flex is recent enough... " >&6; }
5945 if ${wine_cv_recent_flex+:} false; then :
5946 $as_echo_n "(cached) " >&6
5947 else
5948 cat >conftest.l <<EOF
5949 %top{
5950 #include "prediluvian.h"
5954 if $FLEX -t conftest.l >/dev/null 2>&5
5955 then
5956 wine_cv_recent_flex=yes
5957 else
5958 wine_cv_recent_flex=no
5961 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_recent_flex" >&5
5962 $as_echo "$wine_cv_recent_flex" >&6; }
5963 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
5965 for ac_prog in bison
5967 # Extract the first word of "$ac_prog", so it can be a program name with args.
5968 set dummy $ac_prog; ac_word=$2
5969 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5970 $as_echo_n "checking for $ac_word... " >&6; }
5971 if ${ac_cv_prog_BISON+:} false; then :
5972 $as_echo_n "(cached) " >&6
5973 else
5974 if test -n "$BISON"; then
5975 ac_cv_prog_BISON="$BISON" # Let the user override the test.
5976 else
5977 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5978 for as_dir in $PATH
5980 IFS=$as_save_IFS
5981 test -z "$as_dir" && as_dir=.
5982 for ac_exec_ext in '' $ac_executable_extensions; do
5983 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5984 ac_cv_prog_BISON="$ac_prog"
5985 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5986 break 2
5988 done
5989 done
5990 IFS=$as_save_IFS
5994 BISON=$ac_cv_prog_BISON
5995 if test -n "$BISON"; then
5996 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BISON" >&5
5997 $as_echo "$BISON" >&6; }
5998 else
5999 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6000 $as_echo "no" >&6; }
6004 test -n "$BISON" && break
6005 done
6006 test -n "$BISON" || BISON="none"
6008 if test "$BISON" = "none"
6009 then
6010 as_fn_error $? "no suitable bison found. Please install the 'bison' package." "$LINENO" 5
6012 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether bison is recent enough" >&5
6013 $as_echo_n "checking whether bison is recent enough... " >&6; }
6014 if ${wine_cv_recent_bison+:} false; then :
6015 $as_echo_n "(cached) " >&6
6016 else
6017 cat >conftest.y <<EOF
6018 %define parse.error verbose
6020 empty: ;
6022 if $BISON conftest.y >/dev/null 2>&5
6023 then
6024 wine_cv_recent_bison=yes
6025 else
6026 wine_cv_recent_bison=no
6029 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_recent_bison" >&5
6030 $as_echo "$wine_cv_recent_bison" >&6; }
6031 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
6033 if test -n "$ac_tool_prefix"; then
6034 for ac_prog in ar gar
6036 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
6037 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
6038 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6039 $as_echo_n "checking for $ac_word... " >&6; }
6040 if ${ac_cv_prog_AR+:} false; then :
6041 $as_echo_n "(cached) " >&6
6042 else
6043 if test -n "$AR"; then
6044 ac_cv_prog_AR="$AR" # Let the user override the test.
6045 else
6046 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6047 for as_dir in $PATH
6049 IFS=$as_save_IFS
6050 test -z "$as_dir" && as_dir=.
6051 for ac_exec_ext in '' $ac_executable_extensions; do
6052 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6053 ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
6054 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6055 break 2
6057 done
6058 done
6059 IFS=$as_save_IFS
6063 AR=$ac_cv_prog_AR
6064 if test -n "$AR"; then
6065 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
6066 $as_echo "$AR" >&6; }
6067 else
6068 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6069 $as_echo "no" >&6; }
6073 test -n "$AR" && break
6074 done
6076 if test -z "$AR"; then
6077 ac_ct_AR=$AR
6078 for ac_prog in ar gar
6080 # Extract the first word of "$ac_prog", so it can be a program name with args.
6081 set dummy $ac_prog; ac_word=$2
6082 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6083 $as_echo_n "checking for $ac_word... " >&6; }
6084 if ${ac_cv_prog_ac_ct_AR+:} false; then :
6085 $as_echo_n "(cached) " >&6
6086 else
6087 if test -n "$ac_ct_AR"; then
6088 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
6089 else
6090 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6091 for as_dir in $PATH
6093 IFS=$as_save_IFS
6094 test -z "$as_dir" && as_dir=.
6095 for ac_exec_ext in '' $ac_executable_extensions; do
6096 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6097 ac_cv_prog_ac_ct_AR="$ac_prog"
6098 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6099 break 2
6101 done
6102 done
6103 IFS=$as_save_IFS
6107 ac_ct_AR=$ac_cv_prog_ac_ct_AR
6108 if test -n "$ac_ct_AR"; then
6109 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
6110 $as_echo "$ac_ct_AR" >&6; }
6111 else
6112 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6113 $as_echo "no" >&6; }
6117 test -n "$ac_ct_AR" && break
6118 done
6120 if test "x$ac_ct_AR" = x; then
6121 AR="ar"
6122 else
6123 case $cross_compiling:$ac_tool_warned in
6124 yes:)
6125 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6126 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6127 ac_tool_warned=yes ;;
6128 esac
6129 AR=$ac_ct_AR
6133 if test -n "$ac_tool_prefix"; then
6134 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
6135 set dummy ${ac_tool_prefix}strip; ac_word=$2
6136 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6137 $as_echo_n "checking for $ac_word... " >&6; }
6138 if ${ac_cv_prog_STRIP+:} false; then :
6139 $as_echo_n "(cached) " >&6
6140 else
6141 if test -n "$STRIP"; then
6142 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
6143 else
6144 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6145 for as_dir in $PATH
6147 IFS=$as_save_IFS
6148 test -z "$as_dir" && as_dir=.
6149 for ac_exec_ext in '' $ac_executable_extensions; do
6150 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6151 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
6152 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6153 break 2
6155 done
6156 done
6157 IFS=$as_save_IFS
6161 STRIP=$ac_cv_prog_STRIP
6162 if test -n "$STRIP"; then
6163 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
6164 $as_echo "$STRIP" >&6; }
6165 else
6166 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6167 $as_echo "no" >&6; }
6172 if test -z "$ac_cv_prog_STRIP"; then
6173 ac_ct_STRIP=$STRIP
6174 # Extract the first word of "strip", so it can be a program name with args.
6175 set dummy strip; ac_word=$2
6176 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6177 $as_echo_n "checking for $ac_word... " >&6; }
6178 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
6179 $as_echo_n "(cached) " >&6
6180 else
6181 if test -n "$ac_ct_STRIP"; then
6182 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
6183 else
6184 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6185 for as_dir in $PATH
6187 IFS=$as_save_IFS
6188 test -z "$as_dir" && as_dir=.
6189 for ac_exec_ext in '' $ac_executable_extensions; do
6190 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6191 ac_cv_prog_ac_ct_STRIP="strip"
6192 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6193 break 2
6195 done
6196 done
6197 IFS=$as_save_IFS
6201 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
6202 if test -n "$ac_ct_STRIP"; then
6203 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
6204 $as_echo "$ac_ct_STRIP" >&6; }
6205 else
6206 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6207 $as_echo "no" >&6; }
6210 if test "x$ac_ct_STRIP" = x; then
6211 STRIP="strip"
6212 else
6213 case $cross_compiling:$ac_tool_warned in
6214 yes:)
6215 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6216 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6217 ac_tool_warned=yes ;;
6218 esac
6219 STRIP=$ac_ct_STRIP
6221 else
6222 STRIP="$ac_cv_prog_STRIP"
6225 if test -n "$ac_tool_prefix"; then
6226 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
6227 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6228 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6229 $as_echo_n "checking for $ac_word... " >&6; }
6230 if ${ac_cv_prog_RANLIB+:} false; then :
6231 $as_echo_n "(cached) " >&6
6232 else
6233 if test -n "$RANLIB"; then
6234 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
6235 else
6236 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6237 for as_dir in $PATH
6239 IFS=$as_save_IFS
6240 test -z "$as_dir" && as_dir=.
6241 for ac_exec_ext in '' $ac_executable_extensions; do
6242 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6243 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
6244 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6245 break 2
6247 done
6248 done
6249 IFS=$as_save_IFS
6253 RANLIB=$ac_cv_prog_RANLIB
6254 if test -n "$RANLIB"; then
6255 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
6256 $as_echo "$RANLIB" >&6; }
6257 else
6258 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6259 $as_echo "no" >&6; }
6264 if test -z "$ac_cv_prog_RANLIB"; then
6265 ac_ct_RANLIB=$RANLIB
6266 # Extract the first word of "ranlib", so it can be a program name with args.
6267 set dummy ranlib; ac_word=$2
6268 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6269 $as_echo_n "checking for $ac_word... " >&6; }
6270 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
6271 $as_echo_n "(cached) " >&6
6272 else
6273 if test -n "$ac_ct_RANLIB"; then
6274 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
6275 else
6276 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6277 for as_dir in $PATH
6279 IFS=$as_save_IFS
6280 test -z "$as_dir" && as_dir=.
6281 for ac_exec_ext in '' $ac_executable_extensions; do
6282 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6283 ac_cv_prog_ac_ct_RANLIB="ranlib"
6284 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6285 break 2
6287 done
6288 done
6289 IFS=$as_save_IFS
6293 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
6294 if test -n "$ac_ct_RANLIB"; then
6295 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
6296 $as_echo "$ac_ct_RANLIB" >&6; }
6297 else
6298 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6299 $as_echo "no" >&6; }
6302 if test "x$ac_ct_RANLIB" = x; then
6303 RANLIB=":"
6304 else
6305 case $cross_compiling:$ac_tool_warned in
6306 yes:)
6307 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6308 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6309 ac_tool_warned=yes ;;
6310 esac
6311 RANLIB=$ac_ct_RANLIB
6313 else
6314 RANLIB="$ac_cv_prog_RANLIB"
6317 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
6318 $as_echo_n "checking whether ln -s works... " >&6; }
6319 LN_S=$as_ln_s
6320 if test "$LN_S" = "ln -s"; then
6321 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6322 $as_echo "yes" >&6; }
6323 else
6324 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
6325 $as_echo "no, using $LN_S" >&6; }
6328 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
6329 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
6330 if ${ac_cv_path_GREP+:} false; then :
6331 $as_echo_n "(cached) " >&6
6332 else
6333 if test -z "$GREP"; then
6334 ac_path_GREP_found=false
6335 # Loop through the user's path and test for each of PROGNAME-LIST
6336 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6337 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
6339 IFS=$as_save_IFS
6340 test -z "$as_dir" && as_dir=.
6341 for ac_prog in grep ggrep; do
6342 for ac_exec_ext in '' $ac_executable_extensions; do
6343 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
6344 as_fn_executable_p "$ac_path_GREP" || continue
6345 # Check for GNU ac_path_GREP and select it if it is found.
6346 # Check for GNU $ac_path_GREP
6347 case `"$ac_path_GREP" --version 2>&1` in
6348 *GNU*)
6349 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
6351 ac_count=0
6352 $as_echo_n 0123456789 >"conftest.in"
6353 while :
6355 cat "conftest.in" "conftest.in" >"conftest.tmp"
6356 mv "conftest.tmp" "conftest.in"
6357 cp "conftest.in" "conftest.nl"
6358 $as_echo 'GREP' >> "conftest.nl"
6359 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
6360 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
6361 as_fn_arith $ac_count + 1 && ac_count=$as_val
6362 if test $ac_count -gt ${ac_path_GREP_max-0}; then
6363 # Best one so far, save it but keep looking for a better one
6364 ac_cv_path_GREP="$ac_path_GREP"
6365 ac_path_GREP_max=$ac_count
6367 # 10*(2^10) chars as input seems more than enough
6368 test $ac_count -gt 10 && break
6369 done
6370 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
6371 esac
6373 $ac_path_GREP_found && break 3
6374 done
6375 done
6376 done
6377 IFS=$as_save_IFS
6378 if test -z "$ac_cv_path_GREP"; then
6379 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
6381 else
6382 ac_cv_path_GREP=$GREP
6386 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
6387 $as_echo "$ac_cv_path_GREP" >&6; }
6388 GREP="$ac_cv_path_GREP"
6391 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
6392 $as_echo_n "checking for egrep... " >&6; }
6393 if ${ac_cv_path_EGREP+:} false; then :
6394 $as_echo_n "(cached) " >&6
6395 else
6396 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
6397 then ac_cv_path_EGREP="$GREP -E"
6398 else
6399 if test -z "$EGREP"; then
6400 ac_path_EGREP_found=false
6401 # Loop through the user's path and test for each of PROGNAME-LIST
6402 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6403 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
6405 IFS=$as_save_IFS
6406 test -z "$as_dir" && as_dir=.
6407 for ac_prog in egrep; do
6408 for ac_exec_ext in '' $ac_executable_extensions; do
6409 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
6410 as_fn_executable_p "$ac_path_EGREP" || continue
6411 # Check for GNU ac_path_EGREP and select it if it is found.
6412 # Check for GNU $ac_path_EGREP
6413 case `"$ac_path_EGREP" --version 2>&1` in
6414 *GNU*)
6415 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
6417 ac_count=0
6418 $as_echo_n 0123456789 >"conftest.in"
6419 while :
6421 cat "conftest.in" "conftest.in" >"conftest.tmp"
6422 mv "conftest.tmp" "conftest.in"
6423 cp "conftest.in" "conftest.nl"
6424 $as_echo 'EGREP' >> "conftest.nl"
6425 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
6426 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
6427 as_fn_arith $ac_count + 1 && ac_count=$as_val
6428 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
6429 # Best one so far, save it but keep looking for a better one
6430 ac_cv_path_EGREP="$ac_path_EGREP"
6431 ac_path_EGREP_max=$ac_count
6433 # 10*(2^10) chars as input seems more than enough
6434 test $ac_count -gt 10 && break
6435 done
6436 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
6437 esac
6439 $ac_path_EGREP_found && break 3
6440 done
6441 done
6442 done
6443 IFS=$as_save_IFS
6444 if test -z "$ac_cv_path_EGREP"; then
6445 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
6447 else
6448 ac_cv_path_EGREP=$EGREP
6453 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
6454 $as_echo "$ac_cv_path_EGREP" >&6; }
6455 EGREP="$ac_cv_path_EGREP"
6458 # Extract the first word of "ldconfig", so it can be a program name with args.
6459 set dummy ldconfig; ac_word=$2
6460 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6461 $as_echo_n "checking for $ac_word... " >&6; }
6462 if ${ac_cv_path_LDCONFIG+:} false; then :
6463 $as_echo_n "(cached) " >&6
6464 else
6465 case $LDCONFIG in
6466 [\\/]* | ?:[\\/]*)
6467 ac_cv_path_LDCONFIG="$LDCONFIG" # Let the user override the test with a path.
6470 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6471 for as_dir in /sbin /usr/sbin $PATH
6473 IFS=$as_save_IFS
6474 test -z "$as_dir" && as_dir=.
6475 for ac_exec_ext in '' $ac_executable_extensions; do
6476 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6477 ac_cv_path_LDCONFIG="$as_dir/$ac_word$ac_exec_ext"
6478 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6479 break 2
6481 done
6482 done
6483 IFS=$as_save_IFS
6485 test -z "$ac_cv_path_LDCONFIG" && ac_cv_path_LDCONFIG="true"
6487 esac
6489 LDCONFIG=$ac_cv_path_LDCONFIG
6490 if test -n "$LDCONFIG"; then
6491 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDCONFIG" >&5
6492 $as_echo "$LDCONFIG" >&6; }
6493 else
6494 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6495 $as_echo "no" >&6; }
6499 for ac_prog in msgfmt
6501 # Extract the first word of "$ac_prog", so it can be a program name with args.
6502 set dummy $ac_prog; ac_word=$2
6503 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6504 $as_echo_n "checking for $ac_word... " >&6; }
6505 if ${ac_cv_prog_MSGFMT+:} false; then :
6506 $as_echo_n "(cached) " >&6
6507 else
6508 if test -n "$MSGFMT"; then
6509 ac_cv_prog_MSGFMT="$MSGFMT" # Let the user override the test.
6510 else
6511 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6512 for as_dir in $PATH
6514 IFS=$as_save_IFS
6515 test -z "$as_dir" && as_dir=.
6516 for ac_exec_ext in '' $ac_executable_extensions; do
6517 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6518 ac_cv_prog_MSGFMT="$ac_prog"
6519 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6520 break 2
6522 done
6523 done
6524 IFS=$as_save_IFS
6528 MSGFMT=$ac_cv_prog_MSGFMT
6529 if test -n "$MSGFMT"; then
6530 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
6531 $as_echo "$MSGFMT" >&6; }
6532 else
6533 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6534 $as_echo "no" >&6; }
6538 test -n "$MSGFMT" && break
6539 done
6540 test -n "$MSGFMT" || MSGFMT="false"
6542 if ${ac_tool_prefix+:} false; then :
6543 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
6544 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
6545 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6546 $as_echo_n "checking for $ac_word... " >&6; }
6547 if ${ac_cv_prog_PKG_CONFIG+:} false; then :
6548 $as_echo_n "(cached) " >&6
6549 else
6550 if test -n "$PKG_CONFIG"; then
6551 ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
6552 else
6553 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6554 for as_dir in $PATH
6556 IFS=$as_save_IFS
6557 test -z "$as_dir" && as_dir=.
6558 for ac_exec_ext in '' $ac_executable_extensions; do
6559 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6560 ac_cv_prog_PKG_CONFIG="${ac_tool_prefix}pkg-config"
6561 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6562 break 2
6564 done
6565 done
6566 IFS=$as_save_IFS
6570 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
6571 if test -n "$PKG_CONFIG"; then
6572 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
6573 $as_echo "$PKG_CONFIG" >&6; }
6574 else
6575 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6576 $as_echo "no" >&6; }
6581 if ${ac_cv_prog_PKG_CONFIG:+false} :; then :
6582 if test "x$cross_compiling" = xyes; then :
6584 else
6585 { ac_cv_prog_PKG_CONFIG=; unset ac_cv_prog_PKG_CONFIG;}
6586 # Extract the first word of "pkg-config", so it can be a program name with args.
6587 set dummy pkg-config; ac_word=$2
6588 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6589 $as_echo_n "checking for $ac_word... " >&6; }
6590 if ${ac_cv_prog_PKG_CONFIG+:} false; then :
6591 $as_echo_n "(cached) " >&6
6592 else
6593 if test -n "$PKG_CONFIG"; then
6594 ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
6595 else
6596 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6597 for as_dir in $PATH
6599 IFS=$as_save_IFS
6600 test -z "$as_dir" && as_dir=.
6601 for ac_exec_ext in '' $ac_executable_extensions; do
6602 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6603 ac_cv_prog_PKG_CONFIG="pkg-config"
6604 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6605 break 2
6607 done
6608 done
6609 IFS=$as_save_IFS
6613 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
6614 if test -n "$PKG_CONFIG"; then
6615 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
6616 $as_echo "$PKG_CONFIG" >&6; }
6617 else
6618 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6619 $as_echo "no" >&6; }
6624 else
6625 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
6628 if test "x$enable_maintainer_mode" != "xyes"
6629 then
6630 FONTFORGE=""
6631 RSVG=""
6632 CONVERT=""
6633 ICOTOOL=""
6634 else
6635 test "$srcdir" = . || as_fn_error $? "Maintainer mode cannot work out of tree." "$LINENO" 5
6636 for ac_prog in fontforge
6638 # Extract the first word of "$ac_prog", so it can be a program name with args.
6639 set dummy $ac_prog; ac_word=$2
6640 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6641 $as_echo_n "checking for $ac_word... " >&6; }
6642 if ${ac_cv_prog_FONTFORGE+:} false; then :
6643 $as_echo_n "(cached) " >&6
6644 else
6645 if test -n "$FONTFORGE"; then
6646 ac_cv_prog_FONTFORGE="$FONTFORGE" # Let the user override the test.
6647 else
6648 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6649 for as_dir in $PATH
6651 IFS=$as_save_IFS
6652 test -z "$as_dir" && as_dir=.
6653 for ac_exec_ext in '' $ac_executable_extensions; do
6654 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6655 ac_cv_prog_FONTFORGE="$ac_prog"
6656 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6657 break 2
6659 done
6660 done
6661 IFS=$as_save_IFS
6665 FONTFORGE=$ac_cv_prog_FONTFORGE
6666 if test -n "$FONTFORGE"; then
6667 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FONTFORGE" >&5
6668 $as_echo "$FONTFORGE" >&6; }
6669 else
6670 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6671 $as_echo "no" >&6; }
6675 test -n "$FONTFORGE" && break
6676 done
6677 test -n "$FONTFORGE" || FONTFORGE="false"
6679 for ac_prog in rsvg-convert rsvg
6681 # Extract the first word of "$ac_prog", so it can be a program name with args.
6682 set dummy $ac_prog; ac_word=$2
6683 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6684 $as_echo_n "checking for $ac_word... " >&6; }
6685 if ${ac_cv_prog_RSVG+:} false; then :
6686 $as_echo_n "(cached) " >&6
6687 else
6688 if test -n "$RSVG"; then
6689 ac_cv_prog_RSVG="$RSVG" # Let the user override the test.
6690 else
6691 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6692 for as_dir in $PATH
6694 IFS=$as_save_IFS
6695 test -z "$as_dir" && as_dir=.
6696 for ac_exec_ext in '' $ac_executable_extensions; do
6697 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6698 ac_cv_prog_RSVG="$ac_prog"
6699 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6700 break 2
6702 done
6703 done
6704 IFS=$as_save_IFS
6708 RSVG=$ac_cv_prog_RSVG
6709 if test -n "$RSVG"; then
6710 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RSVG" >&5
6711 $as_echo "$RSVG" >&6; }
6712 else
6713 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6714 $as_echo "no" >&6; }
6718 test -n "$RSVG" && break
6719 done
6720 test -n "$RSVG" || RSVG="false"
6722 for ac_prog in convert
6724 # Extract the first word of "$ac_prog", so it can be a program name with args.
6725 set dummy $ac_prog; ac_word=$2
6726 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6727 $as_echo_n "checking for $ac_word... " >&6; }
6728 if ${ac_cv_prog_CONVERT+:} false; then :
6729 $as_echo_n "(cached) " >&6
6730 else
6731 if test -n "$CONVERT"; then
6732 ac_cv_prog_CONVERT="$CONVERT" # Let the user override the test.
6733 else
6734 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6735 for as_dir in $PATH
6737 IFS=$as_save_IFS
6738 test -z "$as_dir" && as_dir=.
6739 for ac_exec_ext in '' $ac_executable_extensions; do
6740 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6741 ac_cv_prog_CONVERT="$ac_prog"
6742 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6743 break 2
6745 done
6746 done
6747 IFS=$as_save_IFS
6751 CONVERT=$ac_cv_prog_CONVERT
6752 if test -n "$CONVERT"; then
6753 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CONVERT" >&5
6754 $as_echo "$CONVERT" >&6; }
6755 else
6756 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6757 $as_echo "no" >&6; }
6761 test -n "$CONVERT" && break
6762 done
6763 test -n "$CONVERT" || CONVERT="false"
6765 for ac_prog in icotool
6767 # Extract the first word of "$ac_prog", so it can be a program name with args.
6768 set dummy $ac_prog; ac_word=$2
6769 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6770 $as_echo_n "checking for $ac_word... " >&6; }
6771 if ${ac_cv_prog_ICOTOOL+:} false; then :
6772 $as_echo_n "(cached) " >&6
6773 else
6774 if test -n "$ICOTOOL"; then
6775 ac_cv_prog_ICOTOOL="$ICOTOOL" # Let the user override the test.
6776 else
6777 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6778 for as_dir in $PATH
6780 IFS=$as_save_IFS
6781 test -z "$as_dir" && as_dir=.
6782 for ac_exec_ext in '' $ac_executable_extensions; do
6783 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6784 ac_cv_prog_ICOTOOL="$ac_prog"
6785 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6786 break 2
6788 done
6789 done
6790 IFS=$as_save_IFS
6794 ICOTOOL=$ac_cv_prog_ICOTOOL
6795 if test -n "$ICOTOOL"; then
6796 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ICOTOOL" >&5
6797 $as_echo "$ICOTOOL" >&6; }
6798 else
6799 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6800 $as_echo "no" >&6; }
6804 test -n "$ICOTOOL" && break
6805 done
6806 test -n "$ICOTOOL" || ICOTOOL="false"
6808 test "$FONTFORGE" != "false" || as_fn_error $? "You need fontforge to rebuild fonts in maintainer mode." "$LINENO" 5
6809 test "$RSVG" != "false" || as_fn_error $? "You need rsvg to rebuild icons in maintainer mode." "$LINENO" 5
6811 if test "$CONVERT" = false
6812 then
6813 as_fn_error $? "You need imagemagick to rebuild icons in maintainer mode." "$LINENO" 5
6814 else
6815 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for recent enough imagemagick" >&5
6816 $as_echo_n "checking for recent enough imagemagick... " >&6; }
6817 convert_version=`convert --version | head -n1`
6818 if test "x$convert_version" != "x"
6819 then
6820 convert_version_major=`expr "$convert_version" : '.* \([0-9]*\)\.[0-9]*'`
6821 convert_version_minor=`expr "$convert_version" : '.* [0-9]*\.\([0-9]*\)'`
6822 if test "$convert_version_major" -eq 6 -a "$convert_version_minor" -lt 6
6823 then
6824 CONVERT=false
6827 if test "$CONVERT" = false
6828 then
6829 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no ($convert_version_major.$convert_version_minor)" >&5
6830 $as_echo "no ($convert_version_major.$convert_version_minor)" >&6; }
6831 as_fn_error $? "You need imagemagick version 6.6 or newer to rebuild icons in maintainer mode." "$LINENO" 5
6832 else
6833 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($convert_version_major.$convert_version_minor)" >&5
6834 $as_echo "yes ($convert_version_major.$convert_version_minor)" >&6; }
6838 if test "$ICOTOOL" = false
6839 then
6840 as_fn_error $? "You need icotool to rebuild icons in maintainer mode." "$LINENO" 5
6841 else
6842 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for recent enough icotool" >&5
6843 $as_echo_n "checking for recent enough icotool... " >&6; }
6844 icotool_version=`icotool --version | head -n1`
6845 if test "x$icotool_version" != "x"
6846 then
6847 icotool_version_major=`expr "$icotool_version" : '.* \([0-9]*\)\.[0-9]*'`
6848 icotool_version_minor=`expr "$icotool_version" : '.* [0-9]*\.\([0-9]*\)'`
6849 if test "$icotool_version_major" -eq 0 -a "$icotool_version_minor" -lt 29
6850 then
6851 ICOTOOL=false
6852 as_fn_append wine_warnings "|icotool version 0.29.0 or newer is needed to rebuild icons."
6855 if test "$ICOTOOL" = false
6856 then
6857 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no ($icotool_version_major.$icotool_version_minor)" >&5
6858 $as_echo "no ($icotool_version_major.$icotool_version_minor)" >&6; }
6859 as_fn_error $? "You need icotool version 0.29.0 or newer to rebuild icons in maintainer mode." "$LINENO" 5
6860 else
6861 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($icotool_version_major.$icotool_version_minor)" >&5
6862 $as_echo "yes ($icotool_version_major.$icotool_version_minor)" >&6; }
6866 with_gettext=yes
6867 with_gettextpo=yes
6869 enable_werror=yes
6872 test "x$with_gettext" != xno || MSGFMT=false
6873 if test "$MSGFMT" != "false"
6874 then
6875 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether msgfmt supports contexts" >&5
6876 $as_echo_n "checking whether msgfmt supports contexts... " >&6; }
6877 if ${wine_cv_msgfmt_contexts+:} false; then :
6878 $as_echo_n "(cached) " >&6
6879 else
6880 cat >conftest.po <<EOF
6881 # comment
6882 msgctxt "ctxt"
6883 msgid "id"
6884 msgstr "str"
6886 if $MSGFMT -o /dev/null conftest.po 2>&5
6887 then
6888 wine_cv_msgfmt_contexts=yes
6889 else
6890 wine_cv_msgfmt_contexts=no
6893 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_msgfmt_contexts" >&5
6894 $as_echo "$wine_cv_msgfmt_contexts" >&6; }
6895 test $wine_cv_msgfmt_contexts != no || MSGFMT=false
6897 if test "$MSGFMT" = false; then :
6898 case "x$with_gettext" in
6899 x) as_fn_append wine_warnings "|gettext tools not found (or too old), translations won't be built." ;;
6900 xno) ;;
6901 *) as_fn_error $? "gettext tools not found (or too old), translations won't be built.
6902 This is an error since --with-gettext was requested." "$LINENO" 5 ;;
6903 esac
6904 enable_po=${enable_po:-no}
6908 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for i386_set_ldt in -li386" >&5
6909 $as_echo_n "checking for i386_set_ldt in -li386... " >&6; }
6910 if ${ac_cv_lib_i386_i386_set_ldt+:} false; then :
6911 $as_echo_n "(cached) " >&6
6912 else
6913 ac_check_lib_save_LIBS=$LIBS
6914 LIBS="-li386 $LIBS"
6915 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6916 /* end confdefs.h. */
6918 /* Override any GCC internal prototype to avoid an error.
6919 Use char because int might match the return type of a GCC
6920 builtin and then its argument prototype would still apply. */
6921 #ifdef __cplusplus
6922 extern "C"
6923 #endif
6924 char i386_set_ldt ();
6926 main ()
6928 return i386_set_ldt ();
6930 return 0;
6932 _ACEOF
6933 if ac_fn_c_try_link "$LINENO"; then :
6934 ac_cv_lib_i386_i386_set_ldt=yes
6935 else
6936 ac_cv_lib_i386_i386_set_ldt=no
6938 rm -f core conftest.err conftest.$ac_objext \
6939 conftest$ac_exeext conftest.$ac_ext
6940 LIBS=$ac_check_lib_save_LIBS
6942 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_i386_i386_set_ldt" >&5
6943 $as_echo "$ac_cv_lib_i386_i386_set_ldt" >&6; }
6944 if test "x$ac_cv_lib_i386_i386_set_ldt" = xyes; then :
6945 I386_LIBS="-li386"
6950 OPENGL_LIBS=""
6954 # Check whether --enable-largefile was given.
6955 if test "${enable_largefile+set}" = set; then :
6956 enableval=$enable_largefile;
6959 if test "$enable_largefile" != no; then
6961 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
6962 $as_echo_n "checking for special C compiler options needed for large files... " >&6; }
6963 if ${ac_cv_sys_largefile_CC+:} false; then :
6964 $as_echo_n "(cached) " >&6
6965 else
6966 ac_cv_sys_largefile_CC=no
6967 if test "$GCC" != yes; then
6968 ac_save_CC=$CC
6969 while :; do
6970 # IRIX 6.2 and later do not support large files by default,
6971 # so use the C compiler's -n32 option if that helps.
6972 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6973 /* end confdefs.h. */
6974 #include <sys/types.h>
6975 /* Check that off_t can represent 2**63 - 1 correctly.
6976 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6977 since some C++ compilers masquerading as C compilers
6978 incorrectly reject 9223372036854775807. */
6979 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6980 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6981 && LARGE_OFF_T % 2147483647 == 1)
6982 ? 1 : -1];
6984 main ()
6988 return 0;
6990 _ACEOF
6991 if ac_fn_c_try_compile "$LINENO"; then :
6992 break
6994 rm -f core conftest.err conftest.$ac_objext
6995 CC="$CC -n32"
6996 if ac_fn_c_try_compile "$LINENO"; then :
6997 ac_cv_sys_largefile_CC=' -n32'; break
6999 rm -f core conftest.err conftest.$ac_objext
7000 break
7001 done
7002 CC=$ac_save_CC
7003 rm -f conftest.$ac_ext
7006 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
7007 $as_echo "$ac_cv_sys_largefile_CC" >&6; }
7008 if test "$ac_cv_sys_largefile_CC" != no; then
7009 CC=$CC$ac_cv_sys_largefile_CC
7012 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
7013 $as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
7014 if ${ac_cv_sys_file_offset_bits+:} false; then :
7015 $as_echo_n "(cached) " >&6
7016 else
7017 while :; do
7018 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7019 /* end confdefs.h. */
7020 #include <sys/types.h>
7021 /* Check that off_t can represent 2**63 - 1 correctly.
7022 We can't simply define LARGE_OFF_T to be 9223372036854775807,
7023 since some C++ compilers masquerading as C compilers
7024 incorrectly reject 9223372036854775807. */
7025 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
7026 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
7027 && LARGE_OFF_T % 2147483647 == 1)
7028 ? 1 : -1];
7030 main ()
7034 return 0;
7036 _ACEOF
7037 if ac_fn_c_try_compile "$LINENO"; then :
7038 ac_cv_sys_file_offset_bits=no; break
7040 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7041 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7042 /* end confdefs.h. */
7043 #define _FILE_OFFSET_BITS 64
7044 #include <sys/types.h>
7045 /* Check that off_t can represent 2**63 - 1 correctly.
7046 We can't simply define LARGE_OFF_T to be 9223372036854775807,
7047 since some C++ compilers masquerading as C compilers
7048 incorrectly reject 9223372036854775807. */
7049 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
7050 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
7051 && LARGE_OFF_T % 2147483647 == 1)
7052 ? 1 : -1];
7054 main ()
7058 return 0;
7060 _ACEOF
7061 if ac_fn_c_try_compile "$LINENO"; then :
7062 ac_cv_sys_file_offset_bits=64; break
7064 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7065 ac_cv_sys_file_offset_bits=unknown
7066 break
7067 done
7069 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
7070 $as_echo "$ac_cv_sys_file_offset_bits" >&6; }
7071 case $ac_cv_sys_file_offset_bits in #(
7072 no | unknown) ;;
7074 cat >>confdefs.h <<_ACEOF
7075 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
7076 _ACEOF
7078 esac
7079 rm -rf conftest*
7080 if test $ac_cv_sys_file_offset_bits = unknown; then
7081 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
7082 $as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
7083 if ${ac_cv_sys_large_files+:} false; then :
7084 $as_echo_n "(cached) " >&6
7085 else
7086 while :; do
7087 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7088 /* end confdefs.h. */
7089 #include <sys/types.h>
7090 /* Check that off_t can represent 2**63 - 1 correctly.
7091 We can't simply define LARGE_OFF_T to be 9223372036854775807,
7092 since some C++ compilers masquerading as C compilers
7093 incorrectly reject 9223372036854775807. */
7094 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
7095 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
7096 && LARGE_OFF_T % 2147483647 == 1)
7097 ? 1 : -1];
7099 main ()
7103 return 0;
7105 _ACEOF
7106 if ac_fn_c_try_compile "$LINENO"; then :
7107 ac_cv_sys_large_files=no; break
7109 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7110 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7111 /* end confdefs.h. */
7112 #define _LARGE_FILES 1
7113 #include <sys/types.h>
7114 /* Check that off_t can represent 2**63 - 1 correctly.
7115 We can't simply define LARGE_OFF_T to be 9223372036854775807,
7116 since some C++ compilers masquerading as C compilers
7117 incorrectly reject 9223372036854775807. */
7118 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
7119 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
7120 && LARGE_OFF_T % 2147483647 == 1)
7121 ? 1 : -1];
7123 main ()
7127 return 0;
7129 _ACEOF
7130 if ac_fn_c_try_compile "$LINENO"; then :
7131 ac_cv_sys_large_files=1; break
7133 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7134 ac_cv_sys_large_files=unknown
7135 break
7136 done
7138 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
7139 $as_echo "$ac_cv_sys_large_files" >&6; }
7140 case $ac_cv_sys_large_files in #(
7141 no | unknown) ;;
7143 cat >>confdefs.h <<_ACEOF
7144 #define _LARGE_FILES $ac_cv_sys_large_files
7145 _ACEOF
7147 esac
7148 rm -rf conftest*
7155 ac_ext=c
7156 ac_cpp='$CPP $CPPFLAGS'
7157 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7158 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7159 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7160 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
7161 $as_echo_n "checking how to run the C preprocessor... " >&6; }
7162 # On Suns, sometimes $CPP names a directory.
7163 if test -n "$CPP" && test -d "$CPP"; then
7164 CPP=
7166 if test -z "$CPP"; then
7167 if ${ac_cv_prog_CPP+:} false; then :
7168 $as_echo_n "(cached) " >&6
7169 else
7170 # Double quotes because CPP needs to be expanded
7171 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
7173 ac_preproc_ok=false
7174 for ac_c_preproc_warn_flag in '' yes
7176 # Use a header file that comes with gcc, so configuring glibc
7177 # with a fresh cross-compiler works.
7178 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7179 # <limits.h> exists even on freestanding compilers.
7180 # On the NeXT, cc -E runs the code through the compiler's parser,
7181 # not just through cpp. "Syntax error" is here to catch this case.
7182 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7183 /* end confdefs.h. */
7184 #ifdef __STDC__
7185 # include <limits.h>
7186 #else
7187 # include <assert.h>
7188 #endif
7189 Syntax error
7190 _ACEOF
7191 if ac_fn_c_try_cpp "$LINENO"; then :
7193 else
7194 # Broken: fails on valid input.
7195 continue
7197 rm -f conftest.err conftest.i conftest.$ac_ext
7199 # OK, works on sane cases. Now check whether nonexistent headers
7200 # can be detected and how.
7201 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7202 /* end confdefs.h. */
7203 #include <ac_nonexistent.h>
7204 _ACEOF
7205 if ac_fn_c_try_cpp "$LINENO"; then :
7206 # Broken: success on invalid input.
7207 continue
7208 else
7209 # Passes both tests.
7210 ac_preproc_ok=:
7211 break
7213 rm -f conftest.err conftest.i conftest.$ac_ext
7215 done
7216 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7217 rm -f conftest.i conftest.err conftest.$ac_ext
7218 if $ac_preproc_ok; then :
7219 break
7222 done
7223 ac_cv_prog_CPP=$CPP
7226 CPP=$ac_cv_prog_CPP
7227 else
7228 ac_cv_prog_CPP=$CPP
7230 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
7231 $as_echo "$CPP" >&6; }
7232 ac_preproc_ok=false
7233 for ac_c_preproc_warn_flag in '' yes
7235 # Use a header file that comes with gcc, so configuring glibc
7236 # with a fresh cross-compiler works.
7237 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7238 # <limits.h> exists even on freestanding compilers.
7239 # On the NeXT, cc -E runs the code through the compiler's parser,
7240 # not just through cpp. "Syntax error" is here to catch this case.
7241 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7242 /* end confdefs.h. */
7243 #ifdef __STDC__
7244 # include <limits.h>
7245 #else
7246 # include <assert.h>
7247 #endif
7248 Syntax error
7249 _ACEOF
7250 if ac_fn_c_try_cpp "$LINENO"; then :
7252 else
7253 # Broken: fails on valid input.
7254 continue
7256 rm -f conftest.err conftest.i conftest.$ac_ext
7258 # OK, works on sane cases. Now check whether nonexistent headers
7259 # can be detected and how.
7260 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7261 /* end confdefs.h. */
7262 #include <ac_nonexistent.h>
7263 _ACEOF
7264 if ac_fn_c_try_cpp "$LINENO"; then :
7265 # Broken: success on invalid input.
7266 continue
7267 else
7268 # Passes both tests.
7269 ac_preproc_ok=:
7270 break
7272 rm -f conftest.err conftest.i conftest.$ac_ext
7274 done
7275 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7276 rm -f conftest.i conftest.err conftest.$ac_ext
7277 if $ac_preproc_ok; then :
7279 else
7280 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
7281 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
7282 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
7283 See \`config.log' for more details" "$LINENO" 5; }
7286 ac_ext=c
7287 ac_cpp='$CPP $CPPFLAGS'
7288 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7289 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7290 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7293 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
7294 $as_echo_n "checking for ANSI C header files... " >&6; }
7295 if ${ac_cv_header_stdc+:} false; then :
7296 $as_echo_n "(cached) " >&6
7297 else
7298 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7299 /* end confdefs.h. */
7300 #include <stdlib.h>
7301 #include <stdarg.h>
7302 #include <string.h>
7303 #include <float.h>
7306 main ()
7310 return 0;
7312 _ACEOF
7313 if ac_fn_c_try_compile "$LINENO"; then :
7314 ac_cv_header_stdc=yes
7315 else
7316 ac_cv_header_stdc=no
7318 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7320 if test $ac_cv_header_stdc = yes; then
7321 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
7322 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7323 /* end confdefs.h. */
7324 #include <string.h>
7326 _ACEOF
7327 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7328 $EGREP "memchr" >/dev/null 2>&1; then :
7330 else
7331 ac_cv_header_stdc=no
7333 rm -f conftest*
7337 if test $ac_cv_header_stdc = yes; then
7338 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
7339 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7340 /* end confdefs.h. */
7341 #include <stdlib.h>
7343 _ACEOF
7344 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7345 $EGREP "free" >/dev/null 2>&1; then :
7347 else
7348 ac_cv_header_stdc=no
7350 rm -f conftest*
7354 if test $ac_cv_header_stdc = yes; then
7355 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
7356 if test "$cross_compiling" = yes; then :
7358 else
7359 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7360 /* end confdefs.h. */
7361 #include <ctype.h>
7362 #include <stdlib.h>
7363 #if ((' ' & 0x0FF) == 0x020)
7364 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
7365 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
7366 #else
7367 # define ISLOWER(c) \
7368 (('a' <= (c) && (c) <= 'i') \
7369 || ('j' <= (c) && (c) <= 'r') \
7370 || ('s' <= (c) && (c) <= 'z'))
7371 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
7372 #endif
7374 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
7376 main ()
7378 int i;
7379 for (i = 0; i < 256; i++)
7380 if (XOR (islower (i), ISLOWER (i))
7381 || toupper (i) != TOUPPER (i))
7382 return 2;
7383 return 0;
7385 _ACEOF
7386 if ac_fn_c_try_run "$LINENO"; then :
7388 else
7389 ac_cv_header_stdc=no
7391 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
7392 conftest.$ac_objext conftest.beam conftest.$ac_ext
7397 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
7398 $as_echo "$ac_cv_header_stdc" >&6; }
7399 if test $ac_cv_header_stdc = yes; then
7401 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
7405 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
7406 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
7407 inttypes.h stdint.h unistd.h
7408 do :
7409 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7410 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
7412 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7413 cat >>confdefs.h <<_ACEOF
7414 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7415 _ACEOF
7419 done
7422 for ac_header in \
7423 AL/al.h \
7424 ApplicationServices/ApplicationServices.h \
7425 AudioToolbox/AudioConverter.h \
7426 AudioUnit/AudioUnit.h \
7427 AudioUnit/AudioComponent.h \
7428 CL/cl.h \
7429 Carbon/Carbon.h \
7430 CommonCrypto/CommonCryptor.h \
7431 CoreAudio/CoreAudio.h \
7432 DiskArbitration/DiskArbitration.h \
7433 EGL/egl.h \
7434 IOKit/IOKitLib.h \
7435 IOKit/hid/IOHIDLib.h \
7436 OpenAL/al.h \
7437 OpenCL/opencl.h \
7438 QuickTime/ImageCompression.h \
7439 Security/Security.h \
7440 SystemConfiguration/SCDynamicStoreCopyDHCPInfo.h \
7441 SystemConfiguration/SCNetworkConfiguration.h \
7442 alias.h \
7443 arpa/inet.h \
7444 arpa/nameser.h \
7445 asm/types.h \
7446 asm/user.h \
7447 dirent.h \
7448 dlfcn.h \
7449 elf.h \
7450 float.h \
7451 fnmatch.h \
7452 getopt.h \
7453 gettext-po.h \
7454 grp.h \
7455 gsm.h \
7456 gsm/gsm.h \
7457 ieeefp.h \
7458 inet/mib2.h \
7459 kstat.h \
7460 libproc.h \
7461 link.h \
7462 linux/cdrom.h \
7463 linux/filter.h \
7464 linux/hdreg.h \
7465 linux/hidraw.h \
7466 linux/input.h \
7467 linux/ioctl.h \
7468 linux/joystick.h \
7469 linux/major.h \
7470 linux/param.h \
7471 linux/serial.h \
7472 linux/types.h \
7473 linux/ucdrom.h \
7474 lwp.h \
7475 mach-o/loader.h \
7476 mach/mach.h \
7477 machine/cpu.h \
7478 machine/sysarch.h \
7479 mntent.h \
7480 netdb.h \
7481 netinet/in.h \
7482 netinet/in_systm.h \
7483 netinet/tcp.h \
7484 netinet/tcp_fsm.h \
7485 pcap/pcap.h \
7486 poll.h \
7487 port.h \
7488 pthread.h \
7489 pwd.h \
7490 sasl/sasl.h \
7491 sched.h \
7492 scsi/scsi.h \
7493 scsi/scsi_ioctl.h \
7494 scsi/sg.h \
7495 stdint.h \
7496 stropts.h \
7497 sys/attr.h \
7498 sys/auxv.h \
7499 sys/cdio.h \
7500 sys/epoll.h \
7501 sys/event.h \
7502 sys/filio.h \
7503 sys/ioctl.h \
7504 sys/ipc.h \
7505 sys/link.h \
7506 sys/mman.h \
7507 sys/modem.h \
7508 sys/msg.h \
7509 sys/mtio.h \
7510 sys/param.h \
7511 sys/poll.h \
7512 sys/prctl.h \
7513 sys/protosw.h \
7514 sys/ptrace.h \
7515 sys/queue.h \
7516 sys/random.h \
7517 sys/resource.h \
7518 sys/scsiio.h \
7519 sys/shm.h \
7520 sys/signal.h \
7521 sys/socket.h \
7522 sys/socketvar.h \
7523 sys/sockio.h \
7524 sys/statvfs.h \
7525 sys/strtio.h \
7526 sys/syscall.h \
7527 sys/sysinfo.h \
7528 sys/tihdr.h \
7529 sys/time.h \
7530 sys/timeout.h \
7531 sys/times.h \
7532 sys/uio.h \
7533 sys/user.h \
7534 sys/utsname.h \
7535 sys/vnode.h \
7536 sys/wait.h \
7537 syscall.h \
7538 termios.h \
7539 unistd.h \
7540 utime.h \
7541 valgrind/memcheck.h \
7542 valgrind/valgrind.h
7544 do :
7545 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7546 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
7547 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7548 cat >>confdefs.h <<_ACEOF
7549 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7550 _ACEOF
7554 done
7556 ac_fn_c_check_header_mongrel "$LINENO" "sys/mkdev.h" "ac_cv_header_sys_mkdev_h" "$ac_includes_default"
7557 if test "x$ac_cv_header_sys_mkdev_h" = xyes; then :
7559 $as_echo "#define MAJOR_IN_MKDEV 1" >>confdefs.h
7564 if test $ac_cv_header_sys_mkdev_h = no; then
7565 ac_fn_c_check_header_mongrel "$LINENO" "sys/sysmacros.h" "ac_cv_header_sys_sysmacros_h" "$ac_includes_default"
7566 if test "x$ac_cv_header_sys_sysmacros_h" = xyes; then :
7568 $as_echo "#define MAJOR_IN_SYSMACROS 1" >>confdefs.h
7574 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stat file-mode macros are broken" >&5
7575 $as_echo_n "checking whether stat file-mode macros are broken... " >&6; }
7576 if ${ac_cv_header_stat_broken+:} false; then :
7577 $as_echo_n "(cached) " >&6
7578 else
7579 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7580 /* end confdefs.h. */
7581 #include <sys/types.h>
7582 #include <sys/stat.h>
7584 #if defined S_ISBLK && defined S_IFDIR
7585 extern char c1[S_ISBLK (S_IFDIR) ? -1 : 1];
7586 #endif
7588 #if defined S_ISBLK && defined S_IFCHR
7589 extern char c2[S_ISBLK (S_IFCHR) ? -1 : 1];
7590 #endif
7592 #if defined S_ISLNK && defined S_IFREG
7593 extern char c3[S_ISLNK (S_IFREG) ? -1 : 1];
7594 #endif
7596 #if defined S_ISSOCK && defined S_IFREG
7597 extern char c4[S_ISSOCK (S_IFREG) ? -1 : 1];
7598 #endif
7600 _ACEOF
7601 if ac_fn_c_try_compile "$LINENO"; then :
7602 ac_cv_header_stat_broken=no
7603 else
7604 ac_cv_header_stat_broken=yes
7606 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7608 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stat_broken" >&5
7609 $as_echo "$ac_cv_header_stat_broken" >&6; }
7610 if test $ac_cv_header_stat_broken = yes; then
7612 $as_echo "#define STAT_MACROS_BROKEN 1" >>confdefs.h
7618 for ac_header in sys/conf.h sys/mount.h sys/statfs.h sys/user.h sys/vfs.h
7619 do :
7620 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7621 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7622 #ifdef HAVE_SYS_PARAM_H
7623 # include <sys/param.h>
7624 #endif
7626 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7627 cat >>confdefs.h <<_ACEOF
7628 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7629 _ACEOF
7633 done
7636 saved_sysctl_h_CFLAGS=$CFLAGS
7637 test "x${GCC}" != xyes || CFLAGS="$CFLAGS -Werror"
7638 for ac_header in sys/sysctl.h
7639 do :
7640 ac_fn_c_check_header_compile "$LINENO" "sys/sysctl.h" "ac_cv_header_sys_sysctl_h" "#include <sys/types.h>
7641 #ifdef HAVE_SYS_PARAM_H
7642 # include <sys/param.h>
7643 #endif
7645 if test "x$ac_cv_header_sys_sysctl_h" = xyes; then :
7646 cat >>confdefs.h <<_ACEOF
7647 #define HAVE_SYS_SYSCTL_H 1
7648 _ACEOF
7652 done
7654 CFLAGS=$saved_sysctl_h_CFLAGS
7656 for ac_header in \
7657 netinet/ip.h \
7658 net/if.h \
7659 net/if_arp.h \
7660 net/if_dl.h \
7661 net/if_types.h \
7662 net/route.h \
7663 netinet/if_ether.h \
7664 netinet/if_inarp.h \
7665 netinet/in_pcb.h \
7666 netinet/ip_icmp.h \
7667 netinet/ip_var.h \
7668 netinet/udp.h \
7669 netipx/ipx.h \
7670 sys/un.h \
7672 do :
7673 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7674 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7675 #ifdef HAVE_SYS_SOCKET_H
7676 # include <sys/socket.h>
7677 #endif
7678 #ifdef HAVE_SYS_SOCKETVAR_H
7679 # include <sys/socketvar.h>
7680 #endif
7681 #ifdef HAVE_NET_ROUTE_H
7682 # include <net/route.h>
7683 #endif
7684 #ifdef HAVE_NETINET_IN_H
7685 # include <netinet/in.h>
7686 #endif
7687 #ifdef HAVE_NETINET_IN_SYSTM_H
7688 # include <netinet/in_systm.h>
7689 #endif
7690 #ifdef HAVE_NET_IF_H
7691 # include <net/if.h>
7692 #endif
7693 #ifdef HAVE_NETINET_IP_H
7694 # include <netinet/ip.h>
7695 #endif
7697 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7698 cat >>confdefs.h <<_ACEOF
7699 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7700 _ACEOF
7704 done
7707 for ac_header in netinet/tcp_timer.h netinet/udp_var.h netinet/icmp_var.h netinet/tcp_var.h
7708 do :
7709 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7710 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7711 #ifdef HAVE_ALIAS_H
7712 # include <alias.h>
7713 #endif
7714 #ifdef HAVE_SYS_SOCKET_H
7715 # include <sys/socket.h>
7716 #endif
7717 #ifdef HAVE_SYS_SOCKETVAR_H
7718 # include <sys/socketvar.h>
7719 #endif
7720 #ifdef HAVE_SYS_TIMEOUT_H
7721 # include <sys/timeout.h>
7722 #endif
7723 #ifdef HAVE_NETINET_IN_H
7724 # include <netinet/in.h>
7725 #endif
7726 #ifdef HAVE_NETINET_IN_SYSTM_H
7727 # include <netinet/in_systm.h>
7728 #endif
7729 #ifdef HAVE_NETINET_IP_H
7730 # include <netinet/ip.h>
7731 #endif
7732 #ifdef HAVE_NETINET_IP_VAR_H
7733 # include <netinet/ip_var.h>
7734 #endif
7735 #ifdef HAVE_NETINET_IP_ICMP_H
7736 # include <netinet/ip_icmp.h>
7737 #endif
7738 #ifdef HAVE_NETINET_UDP_H
7739 # include <netinet/udp.h>
7740 #endif
7741 #ifdef HAVE_NETINET_TCP_H
7742 # include <netinet/tcp.h>
7743 #endif
7744 #ifdef HAVE_NETINET_TCP_TIMER_H
7745 #include <netinet/tcp_timer.h>
7746 #endif
7748 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7749 cat >>confdefs.h <<_ACEOF
7750 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7751 _ACEOF
7755 done
7758 for ac_header in linux/ipx.h linux/irda.h linux/rtnetlink.h
7759 do :
7760 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7761 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7762 #ifdef HAVE_ASM_TYPES_H
7763 # include <asm/types.h>
7764 #endif
7765 #ifdef HAVE_SYS_SOCKET_H
7766 # include <sys/socket.h>
7767 #endif
7768 #ifdef HAVE_LINUX_TYPES_H
7769 # include <linux/types.h>
7770 #endif
7772 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7773 cat >>confdefs.h <<_ACEOF
7774 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7775 _ACEOF
7779 done
7782 for ac_header in resolv.h
7783 do :
7784 ac_fn_c_check_header_compile "$LINENO" "resolv.h" "ac_cv_header_resolv_h" "#include <sys/types.h>
7785 #ifdef HAVE_SYS_SOCKET_H
7786 # include <sys/socket.h>
7787 #endif
7788 #ifdef HAVE_NETINET_IN_H
7789 # include <netinet/in.h>
7790 #endif
7791 #ifdef HAVE_ARPA_NAMESER_H
7792 # include <arpa/nameser.h>
7793 #endif
7795 if test "x$ac_cv_header_resolv_h" = xyes; then :
7796 cat >>confdefs.h <<_ACEOF
7797 #define HAVE_RESOLV_H 1
7798 _ACEOF
7802 done
7805 for ac_header in ifaddrs.h
7806 do :
7807 ac_fn_c_check_header_compile "$LINENO" "ifaddrs.h" "ac_cv_header_ifaddrs_h" "#include <sys/types.h>
7809 if test "x$ac_cv_header_ifaddrs_h" = xyes; then :
7810 cat >>confdefs.h <<_ACEOF
7811 #define HAVE_IFADDRS_H 1
7812 _ACEOF
7816 done
7819 for ac_header in sys/ucontext.h
7820 do :
7821 ac_fn_c_check_header_compile "$LINENO" "sys/ucontext.h" "ac_cv_header_sys_ucontext_h" "#include <signal.h>
7823 if test "x$ac_cv_header_sys_ucontext_h" = xyes; then :
7824 cat >>confdefs.h <<_ACEOF
7825 #define HAVE_SYS_UCONTEXT_H 1
7826 _ACEOF
7830 done
7833 for ac_header in sys/thr.h
7834 do :
7835 ac_fn_c_check_header_compile "$LINENO" "sys/thr.h" "ac_cv_header_sys_thr_h" "#include <sys/types.h>
7836 #ifdef HAVE_SYS_UCONTEXT_H
7837 #include <sys/ucontext.h>
7838 #endif
7840 if test "x$ac_cv_header_sys_thr_h" = xyes; then :
7841 cat >>confdefs.h <<_ACEOF
7842 #define HAVE_SYS_THR_H 1
7843 _ACEOF
7847 done
7850 for ac_header in pthread_np.h
7851 do :
7852 ac_fn_c_check_header_compile "$LINENO" "pthread_np.h" "ac_cv_header_pthread_np_h" "#ifdef HAVE_PTHREAD_H
7853 #include <pthread.h>
7854 #endif
7856 if test "x$ac_cv_header_pthread_np_h" = xyes; then :
7857 cat >>confdefs.h <<_ACEOF
7858 #define HAVE_PTHREAD_NP_H 1
7859 _ACEOF
7863 done
7866 for ac_header in linux/videodev2.h
7867 do :
7868 ac_fn_c_check_header_compile "$LINENO" "linux/videodev2.h" "ac_cv_header_linux_videodev2_h" "#ifdef HAVE_SYS_TIME_H
7869 #include <sys/time.h>
7870 #endif
7871 #include <sys/types.h>
7872 #ifdef HAVE_ASM_TYPES_H
7873 #include <asm/types.h>
7874 #endif
7876 if test "x$ac_cv_header_linux_videodev2_h" = xyes; then :
7877 cat >>confdefs.h <<_ACEOF
7878 #define HAVE_LINUX_VIDEODEV2_H 1
7879 _ACEOF
7883 done
7886 for ac_header in libprocstat.h
7887 do :
7888 ac_fn_c_check_header_compile "$LINENO" "libprocstat.h" "ac_cv_header_libprocstat_h" "#ifdef HAVE_SYS_PARAM_H
7889 #include <sys/param.h>
7890 #endif
7891 #ifdef HAVE_SYS_QUEUE_H
7892 #include <sys/queue.h>
7893 #endif
7894 #ifdef HAVE_SYS_SOCKET_H
7895 #include <sys/socket.h>
7896 #endif
7898 if test "x$ac_cv_header_libprocstat_h" = xyes; then :
7899 cat >>confdefs.h <<_ACEOF
7900 #define HAVE_LIBPROCSTAT_H 1
7901 _ACEOF
7905 done
7909 DLLFLAGS="-D_REENTRANT"
7911 LDDLLFLAGS=""
7913 LDEXECFLAGS=""
7915 TOP_INSTALL_LIB=""
7917 TOP_INSTALL_DEV=""
7919 WINELOADER_LDFLAGS=""
7921 WINEPRELOADER_LDFLAGS=""
7923 LIBEXT="so"
7924 DLLEXT=".so"
7925 # Extract the first word of "ldd", so it can be a program name with args.
7926 set dummy ldd; ac_word=$2
7927 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7928 $as_echo_n "checking for $ac_word... " >&6; }
7929 if ${ac_cv_path_LDD+:} false; then :
7930 $as_echo_n "(cached) " >&6
7931 else
7932 case $LDD in
7933 [\\/]* | ?:[\\/]*)
7934 ac_cv_path_LDD="$LDD" # Let the user override the test with a path.
7937 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7938 as_dummy="/sbin:/usr/sbin:$PATH"
7939 for as_dir in $as_dummy
7941 IFS=$as_save_IFS
7942 test -z "$as_dir" && as_dir=.
7943 for ac_exec_ext in '' $ac_executable_extensions; do
7944 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7945 ac_cv_path_LDD="$as_dir/$ac_word$ac_exec_ext"
7946 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7947 break 2
7949 done
7950 done
7951 IFS=$as_save_IFS
7953 test -z "$ac_cv_path_LDD" && ac_cv_path_LDD="true"
7955 esac
7957 LDD=$ac_cv_path_LDD
7958 if test -n "$LDD"; then
7959 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDD" >&5
7960 $as_echo "$LDD" >&6; }
7961 else
7962 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7963 $as_echo "no" >&6; }
7967 if test -n "$ac_tool_prefix"; then
7968 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
7969 set dummy ${ac_tool_prefix}otool; ac_word=$2
7970 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7971 $as_echo_n "checking for $ac_word... " >&6; }
7972 if ${ac_cv_prog_OTOOL+:} false; then :
7973 $as_echo_n "(cached) " >&6
7974 else
7975 if test -n "$OTOOL"; then
7976 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
7977 else
7978 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7979 for as_dir in $PATH
7981 IFS=$as_save_IFS
7982 test -z "$as_dir" && as_dir=.
7983 for ac_exec_ext in '' $ac_executable_extensions; do
7984 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7985 ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
7986 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7987 break 2
7989 done
7990 done
7991 IFS=$as_save_IFS
7995 OTOOL=$ac_cv_prog_OTOOL
7996 if test -n "$OTOOL"; then
7997 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
7998 $as_echo "$OTOOL" >&6; }
7999 else
8000 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8001 $as_echo "no" >&6; }
8006 if test -z "$ac_cv_prog_OTOOL"; then
8007 ac_ct_OTOOL=$OTOOL
8008 # Extract the first word of "otool", so it can be a program name with args.
8009 set dummy otool; ac_word=$2
8010 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8011 $as_echo_n "checking for $ac_word... " >&6; }
8012 if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
8013 $as_echo_n "(cached) " >&6
8014 else
8015 if test -n "$ac_ct_OTOOL"; then
8016 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
8017 else
8018 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8019 for as_dir in $PATH
8021 IFS=$as_save_IFS
8022 test -z "$as_dir" && as_dir=.
8023 for ac_exec_ext in '' $ac_executable_extensions; do
8024 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8025 ac_cv_prog_ac_ct_OTOOL="otool"
8026 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8027 break 2
8029 done
8030 done
8031 IFS=$as_save_IFS
8035 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
8036 if test -n "$ac_ct_OTOOL"; then
8037 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
8038 $as_echo "$ac_ct_OTOOL" >&6; }
8039 else
8040 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8041 $as_echo "no" >&6; }
8044 if test "x$ac_ct_OTOOL" = x; then
8045 OTOOL="otool"
8046 else
8047 case $cross_compiling:$ac_tool_warned in
8048 yes:)
8049 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8050 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8051 ac_tool_warned=yes ;;
8052 esac
8053 OTOOL=$ac_ct_OTOOL
8055 else
8056 OTOOL="$ac_cv_prog_OTOOL"
8059 if test -n "$ac_tool_prefix"; then
8060 # Extract the first word of "${ac_tool_prefix}readelf", so it can be a program name with args.
8061 set dummy ${ac_tool_prefix}readelf; ac_word=$2
8062 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8063 $as_echo_n "checking for $ac_word... " >&6; }
8064 if ${ac_cv_prog_READELF+:} false; then :
8065 $as_echo_n "(cached) " >&6
8066 else
8067 if test -n "$READELF"; then
8068 ac_cv_prog_READELF="$READELF" # Let the user override the test.
8069 else
8070 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8071 for as_dir in $PATH
8073 IFS=$as_save_IFS
8074 test -z "$as_dir" && as_dir=.
8075 for ac_exec_ext in '' $ac_executable_extensions; do
8076 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8077 ac_cv_prog_READELF="${ac_tool_prefix}readelf"
8078 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8079 break 2
8081 done
8082 done
8083 IFS=$as_save_IFS
8087 READELF=$ac_cv_prog_READELF
8088 if test -n "$READELF"; then
8089 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $READELF" >&5
8090 $as_echo "$READELF" >&6; }
8091 else
8092 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8093 $as_echo "no" >&6; }
8098 if test -z "$ac_cv_prog_READELF"; then
8099 ac_ct_READELF=$READELF
8100 # Extract the first word of "readelf", so it can be a program name with args.
8101 set dummy readelf; ac_word=$2
8102 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8103 $as_echo_n "checking for $ac_word... " >&6; }
8104 if ${ac_cv_prog_ac_ct_READELF+:} false; then :
8105 $as_echo_n "(cached) " >&6
8106 else
8107 if test -n "$ac_ct_READELF"; then
8108 ac_cv_prog_ac_ct_READELF="$ac_ct_READELF" # Let the user override the test.
8109 else
8110 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8111 for as_dir in $PATH
8113 IFS=$as_save_IFS
8114 test -z "$as_dir" && as_dir=.
8115 for ac_exec_ext in '' $ac_executable_extensions; do
8116 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8117 ac_cv_prog_ac_ct_READELF="readelf"
8118 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8119 break 2
8121 done
8122 done
8123 IFS=$as_save_IFS
8127 ac_ct_READELF=$ac_cv_prog_ac_ct_READELF
8128 if test -n "$ac_ct_READELF"; then
8129 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_READELF" >&5
8130 $as_echo "$ac_ct_READELF" >&6; }
8131 else
8132 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8133 $as_echo "no" >&6; }
8136 if test "x$ac_ct_READELF" = x; then
8137 READELF="true"
8138 else
8139 case $cross_compiling:$ac_tool_warned in
8140 yes:)
8141 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8142 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8143 ac_tool_warned=yes ;;
8144 esac
8145 READELF=$ac_ct_READELF
8147 else
8148 READELF="$ac_cv_prog_READELF"
8151 wine_rules_file=conf$$rules.make
8152 rm -f $wine_rules_file
8153 SUBDIRS=""
8155 DISABLED_SUBDIRS=""
8157 CONFIGURE_TARGETS=""
8160 wine_fn_append_file ()
8162 as_fn_append $1 " \\$as_nl $2"
8165 wine_fn_append_rule ()
8167 $as_echo "$1" >>$wine_rules_file
8170 wine_fn_config_makefile ()
8172 wine_fn_append_file SUBDIRS $1
8173 if eval test \"x\$"$2"\" = x"no"; then :
8174 wine_fn_append_file DISABLED_SUBDIRS $1
8178 wine_fn_config_symlink ()
8180 ac_links=$@
8181 wine_fn_append_rule \
8182 "$ac_links:
8183 @./config.status \$@"
8184 for f in $ac_links; do wine_fn_append_file CONFIGURE_TARGETS $f; done
8187 wine_binary="wine"
8188 test "x$enable_win64" != "xyes" || wine_binary="wine64"
8189 WINELOADER_PROGRAMS="$wine_binary"
8191 libwine_soversion=`expr $libwine_version : '\([0-9]*\)\..*'`
8193 case $host_os in
8194 cygwin*|mingw32*)
8195 if test -n "$ac_tool_prefix"; then
8196 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
8197 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
8198 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8199 $as_echo_n "checking for $ac_word... " >&6; }
8200 if ${ac_cv_prog_DLLTOOL+:} false; then :
8201 $as_echo_n "(cached) " >&6
8202 else
8203 if test -n "$DLLTOOL"; then
8204 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
8205 else
8206 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8207 for as_dir in $PATH
8209 IFS=$as_save_IFS
8210 test -z "$as_dir" && as_dir=.
8211 for ac_exec_ext in '' $ac_executable_extensions; do
8212 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8213 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
8214 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8215 break 2
8217 done
8218 done
8219 IFS=$as_save_IFS
8223 DLLTOOL=$ac_cv_prog_DLLTOOL
8224 if test -n "$DLLTOOL"; then
8225 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
8226 $as_echo "$DLLTOOL" >&6; }
8227 else
8228 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8229 $as_echo "no" >&6; }
8234 if test -z "$ac_cv_prog_DLLTOOL"; then
8235 ac_ct_DLLTOOL=$DLLTOOL
8236 # Extract the first word of "dlltool", so it can be a program name with args.
8237 set dummy dlltool; ac_word=$2
8238 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8239 $as_echo_n "checking for $ac_word... " >&6; }
8240 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
8241 $as_echo_n "(cached) " >&6
8242 else
8243 if test -n "$ac_ct_DLLTOOL"; then
8244 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
8245 else
8246 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8247 for as_dir in $PATH
8249 IFS=$as_save_IFS
8250 test -z "$as_dir" && as_dir=.
8251 for ac_exec_ext in '' $ac_executable_extensions; do
8252 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8253 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
8254 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8255 break 2
8257 done
8258 done
8259 IFS=$as_save_IFS
8263 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
8264 if test -n "$ac_ct_DLLTOOL"; then
8265 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
8266 $as_echo "$ac_ct_DLLTOOL" >&6; }
8267 else
8268 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8269 $as_echo "no" >&6; }
8272 if test "x$ac_ct_DLLTOOL" = x; then
8273 DLLTOOL="false"
8274 else
8275 case $cross_compiling:$ac_tool_warned in
8276 yes:)
8277 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8278 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8279 ac_tool_warned=yes ;;
8280 esac
8281 DLLTOOL=$ac_ct_DLLTOOL
8283 else
8284 DLLTOOL="$ac_cv_prog_DLLTOOL"
8287 LIBEXT="dll"
8288 DLLEXT=""
8289 case $host_cpu in
8290 *i[3456]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--disable-stdcall-fixup" >&5
8291 $as_echo_n "checking whether the compiler supports -Wl,--disable-stdcall-fixup... " >&6; }
8292 if ${ac_cv_cflags__Wl___disable_stdcall_fixup+:} false; then :
8293 $as_echo_n "(cached) " >&6
8294 else
8295 ac_wine_try_cflags_saved=$CFLAGS
8296 CFLAGS="$CFLAGS -Wl,--disable-stdcall-fixup"
8297 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8298 /* end confdefs.h. */
8299 int main(int argc, char **argv) { return 0; }
8300 _ACEOF
8301 if ac_fn_c_try_link "$LINENO"; then :
8302 ac_cv_cflags__Wl___disable_stdcall_fixup=yes
8303 else
8304 ac_cv_cflags__Wl___disable_stdcall_fixup=no
8306 rm -f core conftest.err conftest.$ac_objext \
8307 conftest$ac_exeext conftest.$ac_ext
8308 CFLAGS=$ac_wine_try_cflags_saved
8310 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___disable_stdcall_fixup" >&5
8311 $as_echo "$ac_cv_cflags__Wl___disable_stdcall_fixup" >&6; }
8312 if test "x$ac_cv_cflags__Wl___disable_stdcall_fixup" = xyes; then :
8313 LDDLLFLAGS="-Wl,--disable-stdcall-fixup"
8314 fi ;;
8315 esac
8316 enable_iphlpapi=${enable_iphlpapi:-no}
8317 enable_ws2_32=${enable_ws2_32:-no}
8318 enable_loader=${enable_loader:-no}
8319 enable_server=${enable_server:-no}
8320 with_x=${with_x:-no}
8321 with_pthread=${with_pthread:-no}
8324 darwin*|macosx*)
8325 ac_ext=m
8326 ac_cpp='$OBJCPP $CPPFLAGS'
8327 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8328 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8329 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
8331 ac_ext=m
8332 ac_cpp='$OBJCPP $CPPFLAGS'
8333 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8334 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8335 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
8336 if test -n "$ac_tool_prefix"; then
8337 for ac_prog in gcc objcc objc cc CC
8339 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
8340 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
8341 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8342 $as_echo_n "checking for $ac_word... " >&6; }
8343 if ${ac_cv_prog_OBJC+:} false; then :
8344 $as_echo_n "(cached) " >&6
8345 else
8346 if test -n "$OBJC"; then
8347 ac_cv_prog_OBJC="$OBJC" # Let the user override the test.
8348 else
8349 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8350 for as_dir in $PATH
8352 IFS=$as_save_IFS
8353 test -z "$as_dir" && as_dir=.
8354 for ac_exec_ext in '' $ac_executable_extensions; do
8355 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8356 ac_cv_prog_OBJC="$ac_tool_prefix$ac_prog"
8357 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8358 break 2
8360 done
8361 done
8362 IFS=$as_save_IFS
8366 OBJC=$ac_cv_prog_OBJC
8367 if test -n "$OBJC"; then
8368 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJC" >&5
8369 $as_echo "$OBJC" >&6; }
8370 else
8371 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8372 $as_echo "no" >&6; }
8376 test -n "$OBJC" && break
8377 done
8379 if test -z "$OBJC"; then
8380 ac_ct_OBJC=$OBJC
8381 for ac_prog in gcc objcc objc cc CC
8383 # Extract the first word of "$ac_prog", so it can be a program name with args.
8384 set dummy $ac_prog; ac_word=$2
8385 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8386 $as_echo_n "checking for $ac_word... " >&6; }
8387 if ${ac_cv_prog_ac_ct_OBJC+:} false; then :
8388 $as_echo_n "(cached) " >&6
8389 else
8390 if test -n "$ac_ct_OBJC"; then
8391 ac_cv_prog_ac_ct_OBJC="$ac_ct_OBJC" # Let the user override the test.
8392 else
8393 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8394 for as_dir in $PATH
8396 IFS=$as_save_IFS
8397 test -z "$as_dir" && as_dir=.
8398 for ac_exec_ext in '' $ac_executable_extensions; do
8399 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8400 ac_cv_prog_ac_ct_OBJC="$ac_prog"
8401 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8402 break 2
8404 done
8405 done
8406 IFS=$as_save_IFS
8410 ac_ct_OBJC=$ac_cv_prog_ac_ct_OBJC
8411 if test -n "$ac_ct_OBJC"; then
8412 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJC" >&5
8413 $as_echo "$ac_ct_OBJC" >&6; }
8414 else
8415 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8416 $as_echo "no" >&6; }
8420 test -n "$ac_ct_OBJC" && break
8421 done
8423 if test "x$ac_ct_OBJC" = x; then
8424 OBJC="gcc"
8425 else
8426 case $cross_compiling:$ac_tool_warned in
8427 yes:)
8428 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8429 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8430 ac_tool_warned=yes ;;
8431 esac
8432 OBJC=$ac_ct_OBJC
8436 # Provide some information about the compiler.
8437 $as_echo "$as_me:${as_lineno-$LINENO}: checking for Objective C compiler version" >&5
8438 set X $ac_compile
8439 ac_compiler=$2
8440 for ac_option in --version -v -V -qversion; do
8441 { { ac_try="$ac_compiler $ac_option >&5"
8442 case "(($ac_try" in
8443 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8444 *) ac_try_echo=$ac_try;;
8445 esac
8446 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
8447 $as_echo "$ac_try_echo"; } >&5
8448 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
8449 ac_status=$?
8450 if test -s conftest.err; then
8451 sed '10a\
8452 ... rest of stderr output deleted ...
8453 10q' conftest.err >conftest.er1
8454 cat conftest.er1 >&5
8456 rm -f conftest.er1 conftest.err
8457 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8458 test $ac_status = 0; }
8459 done
8461 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU Objective C compiler" >&5
8462 $as_echo_n "checking whether we are using the GNU Objective C compiler... " >&6; }
8463 if ${ac_cv_objc_compiler_gnu+:} false; then :
8464 $as_echo_n "(cached) " >&6
8465 else
8466 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8467 /* end confdefs.h. */
8470 main ()
8472 #ifndef __GNUC__
8473 choke me
8474 #endif
8477 return 0;
8479 _ACEOF
8480 if ac_fn_objc_try_compile "$LINENO"; then :
8481 ac_compiler_gnu=yes
8482 else
8483 ac_compiler_gnu=no
8485 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8486 ac_cv_objc_compiler_gnu=$ac_compiler_gnu
8489 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objc_compiler_gnu" >&5
8490 $as_echo "$ac_cv_objc_compiler_gnu" >&6; }
8491 if test $ac_compiler_gnu = yes; then
8492 GOBJC=yes
8493 else
8494 GOBJC=
8496 ac_test_OBJCFLAGS=${OBJCFLAGS+set}
8497 ac_save_OBJCFLAGS=$OBJCFLAGS
8498 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $OBJC accepts -g" >&5
8499 $as_echo_n "checking whether $OBJC accepts -g... " >&6; }
8500 if ${ac_cv_prog_objc_g+:} false; then :
8501 $as_echo_n "(cached) " >&6
8502 else
8503 ac_save_objc_werror_flag=$ac_objc_werror_flag
8504 ac_objc_werror_flag=yes
8505 ac_cv_prog_objc_g=no
8506 OBJCFLAGS="-g"
8507 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8508 /* end confdefs.h. */
8511 main ()
8515 return 0;
8517 _ACEOF
8518 if ac_fn_objc_try_compile "$LINENO"; then :
8519 ac_cv_prog_objc_g=yes
8520 else
8521 OBJCFLAGS=""
8522 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8523 /* end confdefs.h. */
8526 main ()
8530 return 0;
8532 _ACEOF
8533 if ac_fn_objc_try_compile "$LINENO"; then :
8535 else
8536 ac_objc_werror_flag=$ac_save_objc_werror_flag
8537 OBJCFLAGS="-g"
8538 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8539 /* end confdefs.h. */
8542 main ()
8546 return 0;
8548 _ACEOF
8549 if ac_fn_objc_try_compile "$LINENO"; then :
8550 ac_cv_prog_objc_g=yes
8552 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8554 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8556 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8557 ac_objc_werror_flag=$ac_save_objc_werror_flag
8559 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_objc_g" >&5
8560 $as_echo "$ac_cv_prog_objc_g" >&6; }
8561 if test "$ac_test_OBJCFLAGS" = set; then
8562 OBJCFLAGS=$ac_save_OBJCFLAGS
8563 elif test $ac_cv_prog_objc_g = yes; then
8564 if test "$GOBJC" = yes; then
8565 OBJCFLAGS="-g -O2"
8566 else
8567 OBJCFLAGS="-g"
8569 else
8570 if test "$GOBJC" = yes; then
8571 OBJCFLAGS="-O2"
8572 else
8573 OBJCFLAGS=
8576 ac_ext=m
8577 ac_cpp='$OBJCPP $CPPFLAGS'
8578 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8579 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8580 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
8583 ac_ext=m
8584 ac_cpp='$OBJCPP $CPPFLAGS'
8585 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8586 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8587 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
8588 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the Objective C preprocessor" >&5
8589 $as_echo_n "checking how to run the Objective C preprocessor... " >&6; }
8590 if test -z "$OBJCPP"; then
8591 if ${ac_cv_prog_OBJCPP+:} false; then :
8592 $as_echo_n "(cached) " >&6
8593 else
8594 # Double quotes because OBJCPP needs to be expanded
8595 for OBJCPP in "$OBJC -E" "/lib/cpp"
8597 ac_preproc_ok=false
8598 for ac_objc_preproc_warn_flag in '' yes
8600 # Use a header file that comes with gcc, so configuring glibc
8601 # with a fresh cross-compiler works.
8602 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8603 # <limits.h> exists even on freestanding compilers.
8604 # On the NeXT, cc -E runs the code through the compiler's parser,
8605 # not just through cpp. "Syntax error" is here to catch this case.
8606 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8607 /* end confdefs.h. */
8608 #ifdef __STDC__
8609 # include <limits.h>
8610 #else
8611 # include <assert.h>
8612 #endif
8613 Syntax error
8614 _ACEOF
8615 if ac_fn_objc_try_cpp "$LINENO"; then :
8617 else
8618 # Broken: fails on valid input.
8619 continue
8621 rm -f conftest.err conftest.i conftest.$ac_ext
8623 # OK, works on sane cases. Now check whether nonexistent headers
8624 # can be detected and how.
8625 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8626 /* end confdefs.h. */
8627 #include <ac_nonexistent.h>
8628 _ACEOF
8629 if ac_fn_objc_try_cpp "$LINENO"; then :
8630 # Broken: success on invalid input.
8631 continue
8632 else
8633 # Passes both tests.
8634 ac_preproc_ok=:
8635 break
8637 rm -f conftest.err conftest.i conftest.$ac_ext
8639 done
8640 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
8641 rm -f conftest.i conftest.err conftest.$ac_ext
8642 if $ac_preproc_ok; then :
8643 break
8646 done
8647 ac_cv_prog_OBJCPP=$OBJCPP
8650 OBJCPP=$ac_cv_prog_OBJCPP
8651 else
8652 ac_cv_prog_OBJCPP=$OBJCPP
8654 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJCPP" >&5
8655 $as_echo "$OBJCPP" >&6; }
8656 ac_preproc_ok=false
8657 for ac_objc_preproc_warn_flag in '' yes
8659 # Use a header file that comes with gcc, so configuring glibc
8660 # with a fresh cross-compiler works.
8661 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8662 # <limits.h> exists even on freestanding compilers.
8663 # On the NeXT, cc -E runs the code through the compiler's parser,
8664 # not just through cpp. "Syntax error" is here to catch this case.
8665 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8666 /* end confdefs.h. */
8667 #ifdef __STDC__
8668 # include <limits.h>
8669 #else
8670 # include <assert.h>
8671 #endif
8672 Syntax error
8673 _ACEOF
8674 if ac_fn_objc_try_cpp "$LINENO"; then :
8676 else
8677 # Broken: fails on valid input.
8678 continue
8680 rm -f conftest.err conftest.i conftest.$ac_ext
8682 # OK, works on sane cases. Now check whether nonexistent headers
8683 # can be detected and how.
8684 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8685 /* end confdefs.h. */
8686 #include <ac_nonexistent.h>
8687 _ACEOF
8688 if ac_fn_objc_try_cpp "$LINENO"; then :
8689 # Broken: success on invalid input.
8690 continue
8691 else
8692 # Passes both tests.
8693 ac_preproc_ok=:
8694 break
8696 rm -f conftest.err conftest.i conftest.$ac_ext
8698 done
8699 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
8700 rm -f conftest.i conftest.err conftest.$ac_ext
8701 if $ac_preproc_ok; then :
8703 else
8704 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
8705 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
8706 as_fn_error $? "Objective C preprocessor \"$OBJCPP\" fails sanity check
8707 See \`config.log' for more details" "$LINENO" 5; }
8710 ac_ext=m
8711 ac_cpp='$OBJCPP $CPPFLAGS'
8712 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8713 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8714 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
8717 for ac_header in Metal/Metal.h
8718 do :
8719 ac_fn_objc_check_header_mongrel "$LINENO" "Metal/Metal.h" "ac_cv_header_Metal_Metal_h" "$ac_includes_default"
8720 if test "x$ac_cv_header_Metal_Metal_h" = xyes; then :
8721 cat >>confdefs.h <<_ACEOF
8722 #define HAVE_METAL_METAL_H 1
8723 _ACEOF
8727 done
8729 ac_ext=c
8730 ac_cpp='$CPP $CPPFLAGS'
8731 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8732 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8733 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8735 LIBEXT="dylib"
8736 DLLFLAGS="$DLLFLAGS -fPIC"
8737 LDDLLFLAGS="-fPIC"
8738 COREFOUNDATION_LIBS="-framework CoreFoundation"
8740 IOKIT_LIBS="-framework IOKit -framework CoreFoundation"
8742 FORCEFEEDBACK_LIBS="-framework ForceFeedback -framework CoreFoundation"
8744 APPLICATIONSERVICES_LIBS="-framework ApplicationServices"
8746 CORESERVICES_LIBS="-framework CoreServices"
8748 APPKIT_LIBS="-framework AppKit"
8750 SYSTEMCONFIGURATION_LIBS="-framework SystemConfiguration"
8753 WINELOADER_LDFLAGS="-Wl,-pie,-pagezero_size,0x1000,-sectcreate,__TEXT,__info_plist,loader/wine_info.plist"
8755 wine_can_build_preloader=yes
8756 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"
8757 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-no_new_main -e _main" >&5
8758 $as_echo_n "checking whether the compiler supports -Wl,-no_new_main -e _main... " >&6; }
8759 if ${ac_cv_cflags__Wl__no_new_main__e__main+:} false; then :
8760 $as_echo_n "(cached) " >&6
8761 else
8762 ac_wine_try_cflags_saved=$CFLAGS
8763 CFLAGS="$CFLAGS -Wl,-no_new_main -e _main"
8764 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8765 /* end confdefs.h. */
8766 int main(int argc, char **argv) { return 0; }
8767 _ACEOF
8768 if ac_fn_c_try_link "$LINENO"; then :
8769 ac_cv_cflags__Wl__no_new_main__e__main=yes
8770 else
8771 ac_cv_cflags__Wl__no_new_main__e__main=no
8773 rm -f core conftest.err conftest.$ac_objext \
8774 conftest$ac_exeext conftest.$ac_ext
8775 CFLAGS=$ac_wine_try_cflags_saved
8777 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__no_new_main__e__main" >&5
8778 $as_echo "$ac_cv_cflags__Wl__no_new_main__e__main" >&6; }
8779 if test "x$ac_cv_cflags__Wl__no_new_main__e__main" = xyes; then :
8780 WINEPRELOADER_LDFLAGS="-Wl,-no_new_main $WINEPRELOADER_LDFLAGS"
8781 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-no_new_main -e _main -nostartfiles -nodefaultlibs" >&5
8782 $as_echo_n "checking whether the compiler supports -Wl,-no_new_main -e _main -nostartfiles -nodefaultlibs... " >&6; }
8783 if ${ac_cv_cflags__Wl__no_new_main__e__main__nostartfiles__nodefaultlibs+:} false; then :
8784 $as_echo_n "(cached) " >&6
8785 else
8786 ac_wine_try_cflags_saved=$CFLAGS
8787 CFLAGS="$CFLAGS -Wl,-no_new_main -e _main -nostartfiles -nodefaultlibs"
8788 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8789 /* end confdefs.h. */
8790 int main(int argc, char **argv) { return 0; }
8791 _ACEOF
8792 if ac_fn_c_try_link "$LINENO"; then :
8793 ac_cv_cflags__Wl__no_new_main__e__main__nostartfiles__nodefaultlibs=yes
8794 else
8795 ac_cv_cflags__Wl__no_new_main__e__main__nostartfiles__nodefaultlibs=no
8797 rm -f core conftest.err conftest.$ac_objext \
8798 conftest$ac_exeext conftest.$ac_ext
8799 CFLAGS=$ac_wine_try_cflags_saved
8801 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__no_new_main__e__main__nostartfiles__nodefaultlibs" >&5
8802 $as_echo "$ac_cv_cflags__Wl__no_new_main__e__main__nostartfiles__nodefaultlibs" >&6; }
8803 if test "x$ac_cv_cflags__Wl__no_new_main__e__main__nostartfiles__nodefaultlibs" = xyes; then :
8804 EXTRACFLAGS="$EXTRACFLAGS -Wl,-no_new_main -e _main -nostartfiles -nodefaultlibs"
8805 else
8806 { $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
8807 $as_echo_n "checking whether the compiler supports -Wl,-no_new_main -e _main -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs... " >&6; }
8808 if ${ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__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 -mmacosx-version-min=10.7 -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__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs=yes
8819 else
8820 ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__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__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" >&5
8827 $as_echo "$ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" >&6; }
8828 if test "x$ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" = xyes; then :
8829 WINEPRELOADER_LDFLAGS="-mmacosx-version-min=10.7 $WINEPRELOADER_LDFLAGS"
8830 else
8831 wine_can_build_preloader=no
8834 else
8835 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -nostartfiles -nodefaultlibs" >&5
8836 $as_echo_n "checking whether the compiler supports -nostartfiles -nodefaultlibs... " >&6; }
8837 if ${ac_cv_cflags__nostartfiles__nodefaultlibs+:} false; then :
8838 $as_echo_n "(cached) " >&6
8839 else
8840 ac_wine_try_cflags_saved=$CFLAGS
8841 CFLAGS="$CFLAGS -nostartfiles -nodefaultlibs"
8842 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8843 /* end confdefs.h. */
8844 int main(int argc, char **argv) { return 0; }
8845 _ACEOF
8846 if ac_fn_c_try_link "$LINENO"; then :
8847 ac_cv_cflags__nostartfiles__nodefaultlibs=yes
8848 else
8849 ac_cv_cflags__nostartfiles__nodefaultlibs=no
8851 rm -f core conftest.err conftest.$ac_objext \
8852 conftest$ac_exeext conftest.$ac_ext
8853 CFLAGS=$ac_wine_try_cflags_saved
8855 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__nostartfiles__nodefaultlibs" >&5
8856 $as_echo "$ac_cv_cflags__nostartfiles__nodefaultlibs" >&6; }
8857 if test "x$ac_cv_cflags__nostartfiles__nodefaultlibs" = xyes; then :
8858 EXTRACFLAGS="$EXTRACFLAGS -nostartfiles -nodefaultlibs"
8859 else
8860 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs" >&5
8861 $as_echo_n "checking whether the compiler supports -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs... " >&6; }
8862 if ${ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs+:} false; then :
8863 $as_echo_n "(cached) " >&6
8864 else
8865 ac_wine_try_cflags_saved=$CFLAGS
8866 CFLAGS="$CFLAGS -mmacosx-version-min=10.7 -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__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs=yes
8873 else
8874 ac_cv_cflags__mmacosx_version_min_10_7__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__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" >&5
8881 $as_echo "$ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" >&6; }
8882 if test "x$ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" = xyes; then :
8883 WINEPRELOADER_LDFLAGS="-mmacosx-version-min=10.7 $WINEPRELOADER_LDFLAGS"
8884 else
8885 wine_can_build_preloader=no
8889 if test "$wine_can_build_preloader" = "yes"
8890 then
8891 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-no_pie" >&5
8892 $as_echo_n "checking whether the compiler supports -Wl,-no_pie... " >&6; }
8893 if ${ac_cv_cflags__Wl__no_pie+:} false; then :
8894 $as_echo_n "(cached) " >&6
8895 else
8896 ac_wine_try_cflags_saved=$CFLAGS
8897 CFLAGS="$CFLAGS -Wl,-no_pie"
8898 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8899 /* end confdefs.h. */
8900 int main(int argc, char **argv) { return 0; }
8901 _ACEOF
8902 if ac_fn_c_try_link "$LINENO"; then :
8903 ac_cv_cflags__Wl__no_pie=yes
8904 else
8905 ac_cv_cflags__Wl__no_pie=no
8907 rm -f core conftest.err conftest.$ac_objext \
8908 conftest$ac_exeext conftest.$ac_ext
8909 CFLAGS=$ac_wine_try_cflags_saved
8911 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__no_pie" >&5
8912 $as_echo "$ac_cv_cflags__Wl__no_pie" >&6; }
8913 if test "x$ac_cv_cflags__Wl__no_pie" = xyes; then :
8914 WINEPRELOADER_LDFLAGS="-Wl,-no_pie $WINEPRELOADER_LDFLAGS"
8916 test "$wine_binary" = wine || wine_fn_append_file CONFIGURE_TARGETS "loader/wine-preloader"
8917 WINELOADER_PROGRAMS="$WINELOADER_PROGRAMS $wine_binary-preloader"
8918 else
8919 as_fn_append wine_warnings "|can't build Wine preloader; many programs won't work"
8922 if test "$ac_cv_header_DiskArbitration_DiskArbitration_h" = "yes"
8923 then
8924 DISKARBITRATION_LIBS="-framework DiskArbitration -framework CoreFoundation"
8927 if test "$ac_cv_header_Security_Security_h" = "yes"
8928 then
8929 SECURITY_LIBS="-framework Security -framework CoreFoundation"
8931 ac_save_LIBS="$LIBS"
8932 LIBS="$LIBS $SECURITY_LIBS"
8933 for ac_func in SSLCopyPeerCertificates
8934 do :
8935 ac_fn_c_check_func "$LINENO" "SSLCopyPeerCertificates" "ac_cv_func_SSLCopyPeerCertificates"
8936 if test "x$ac_cv_func_SSLCopyPeerCertificates" = xyes; then :
8937 cat >>confdefs.h <<_ACEOF
8938 #define HAVE_SSLCOPYPEERCERTIFICATES 1
8939 _ACEOF
8942 done
8944 LIBS="$ac_save_LIBS"
8946 if test "$ac_cv_header_CoreAudio_CoreAudio_h" = "yes" -a "$ac_cv_header_AudioUnit_AudioUnit_h" = "yes"
8947 then
8948 if test "$ac_cv_header_AudioUnit_AudioComponent_h" = "yes"
8949 then
8950 COREAUDIO_LIBS="-framework CoreFoundation -framework CoreAudio -framework AudioUnit -framework AudioToolbox -framework CoreMIDI"
8952 else
8953 COREAUDIO_LIBS="-framework CoreAudio -framework AudioUnit -framework CoreServices -framework AudioToolbox -framework CoreMIDI"
8956 enable_winecoreaudio_drv=${enable_winecoreaudio_drv:-yes}
8957 ac_save_LIBS="$LIBS"
8958 LIBS="$LIBS $COREAUDIO_LIBS"
8959 for ac_func in AUGraphAddNode
8960 do :
8961 ac_fn_c_check_func "$LINENO" "AUGraphAddNode" "ac_cv_func_AUGraphAddNode"
8962 if test "x$ac_cv_func_AUGraphAddNode" = xyes; then :
8963 cat >>confdefs.h <<_ACEOF
8964 #define HAVE_AUGRAPHADDNODE 1
8965 _ACEOF
8968 done
8970 LIBS="$ac_save_LIBS"
8972 if test "$ac_cv_header_OpenAL_al_h" = "yes"
8973 then
8974 OPENAL_LIBS="-framework OpenAL"
8977 cat >>confdefs.h <<_ACEOF
8978 #define HAVE_OPENAL 1
8979 _ACEOF
8981 ac_cv_lib_openal=yes
8983 if test "$ac_cv_header_OpenCL_opencl_h" = "yes"
8984 then
8985 OPENCL_LIBS="-framework OpenCL"
8987 ac_cv_lib_OpenCL_clGetPlatformInfo=yes
8989 if test "$ac_cv_header_IOKit_hid_IOHIDLib_h" = "yes"
8990 then
8991 ac_save_LIBS="$LIBS"
8992 LIBS="$LIBS $IOKIT_LIBS"
8993 for ac_func in IOHIDManagerCreate
8994 do :
8995 ac_fn_c_check_func "$LINENO" "IOHIDManagerCreate" "ac_cv_func_IOHIDManagerCreate"
8996 if test "x$ac_cv_func_IOHIDManagerCreate" = xyes; then :
8997 cat >>confdefs.h <<_ACEOF
8998 #define HAVE_IOHIDMANAGERCREATE 1
8999 _ACEOF
9002 done
9004 LIBS="$ac_save_LIBS"
9007 if test "x$with_quicktime" != "xno"
9008 then
9009 if test "$ac_cv_header_QuickTime_ImageCompression_h" = "yes"
9010 then
9011 ac_save_LIBS="$LIBS"
9012 LIBS="-framework QuickTime -framework ApplicationServices -framework CoreVideo $LIBS"
9013 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the QuickTime framework" >&5
9014 $as_echo_n "checking for the QuickTime framework... " >&6; }
9015 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9016 /* end confdefs.h. */
9017 #include <QuickTime/ImageCompression.h>
9019 main ()
9021 CodecManagerVersion(NULL);
9023 return 0;
9025 _ACEOF
9026 if ac_fn_c_try_link "$LINENO"; then :
9027 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
9028 $as_echo "yes" >&6; }
9029 QUICKTIME_LIBS="-framework QuickTime -framework ApplicationServices -framework CoreVideo"
9031 enable_wineqtdecoder=${enable_wineqtdecoder:-yes}
9032 else
9033 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9034 $as_echo "no" >&6; }
9035 ac_cv_header_QuickTime_ImageCompression_h=no
9037 rm -f core conftest.err conftest.$ac_objext \
9038 conftest$ac_exeext conftest.$ac_ext
9039 LIBS="$ac_save_LIBS"
9042 if test "$ac_cv_header_QuickTime_ImageCompression_h" != "yes"; then :
9043 case "x$with_quicktime" in
9044 x) as_fn_append wine_notices "|QuickTime ${notice_platform}development files not found, video decoding won't be supported." ;;
9045 xno) ;;
9046 *) as_fn_error $? "QuickTime ${notice_platform}development files not found, video decoding won't be supported.
9047 This is an error since --with-quicktime was requested." "$LINENO" 5 ;;
9048 esac
9052 if test "$ac_cv_header_Carbon_Carbon_h" = "yes"
9053 then
9054 CARBON_LIBS="-framework Carbon"
9057 if test "$ac_cv_header_Metal_Metal_h" = "yes"
9058 then
9059 METAL_LIBS="-framework Metal -framework QuartzCore"
9063 if test "$ac_cv_header_Metal_Metal_h" = "yes"
9064 then
9065 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether MTLDevice protocol supports registryID property" >&5
9066 $as_echo_n "checking whether MTLDevice protocol supports registryID property... " >&6; }
9067 ac_ext=m
9068 ac_cpp='$OBJCPP $CPPFLAGS'
9069 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9070 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9071 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
9073 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9074 /* end confdefs.h. */
9075 #include <Metal/Metal.h>
9077 main ()
9079 id<MTLDevice> device; device.registryID;
9081 return 0;
9083 _ACEOF
9084 if ac_fn_objc_try_compile "$LINENO"; then :
9085 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
9086 $as_echo "yes" >&6; }
9088 $as_echo "#define HAVE_MTLDEVICE_REGISTRYID 1" >>confdefs.h
9090 else
9091 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9092 $as_echo "no" >&6; }
9094 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9095 ac_ext=c
9096 ac_cpp='$CPP $CPPFLAGS'
9097 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9098 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9099 ac_compiler_gnu=$ac_cv_c_compiler_gnu
9103 if test "$ac_cv_header_ApplicationServices_ApplicationServices_h" = "yes"
9104 then
9105 ac_save_LIBS="$LIBS"
9106 LIBS="$LIBS $APPLICATIONSERVICES_LIBS"
9107 ac_fn_c_check_func "$LINENO" "CGDisplayModeGetWidth" "ac_cv_func_CGDisplayModeGetWidth"
9108 if test "x$ac_cv_func_CGDisplayModeGetWidth" = xyes; then :
9109 enable_winemac_drv=${enable_winemac_drv:-yes}
9112 LIBS="$ac_save_LIBS"
9115 LIBWINE_SHAREDLIB="libwine.$libwine_version.dylib"
9117 LIBWINE_LDFLAGS="-dynamiclib -install_name @rpath/libwine.$libwine_soversion.dylib -Wl,-rpath,@loader_path/ -compatibility_version $libwine_soversion -current_version $libwine_version"
9119 WINELOADER_DEPENDS="wine_info.plist"
9121 TOP_INSTALL_LIB="$TOP_INSTALL_LIB libs/wine/libwine.$libwine_version.dylib libs/wine/libwine.$libwine_soversion.dylib"
9124 linux-android*)
9125 DLLFLAGS="$DLLFLAGS -fPIC"
9126 LDDLLFLAGS="-fPIC"
9127 LDEXECFLAGS="-Wl,-pie"
9128 enable_wineandroid_drv=${enable_wineandroid_drv:-yes}
9129 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
9130 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--export-dynamic... " >&6; }
9131 if ${ac_cv_cflags__fPIC__Wl___export_dynamic+:} false; then :
9132 $as_echo_n "(cached) " >&6
9133 else
9134 ac_wine_try_cflags_saved=$CFLAGS
9135 CFLAGS="$CFLAGS -fPIC -Wl,--export-dynamic"
9136 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9137 /* end confdefs.h. */
9138 int main(int argc, char **argv) { return 0; }
9139 _ACEOF
9140 if ac_fn_c_try_link "$LINENO"; then :
9141 ac_cv_cflags__fPIC__Wl___export_dynamic=yes
9142 else
9143 ac_cv_cflags__fPIC__Wl___export_dynamic=no
9145 rm -f core conftest.err conftest.$ac_objext \
9146 conftest$ac_exeext conftest.$ac_ext
9147 CFLAGS=$ac_wine_try_cflags_saved
9149 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
9150 $as_echo "$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
9151 if test "x$ac_cv_cflags__fPIC__Wl___export_dynamic" = xyes; then :
9152 WINELOADER_LDFLAGS="-Wl,--export-dynamic"
9154 WINEPRELOADER_LDFLAGS="-static -nostartfiles -nodefaultlibs -Wl,-Ttext=0x7d400000"
9156 LIBWINE_SHAREDLIB="libwine.so"
9158 LIBWINE_LDFLAGS="-shared -Wl,-soname,libwine.so"
9160 TOP_INSTALL_LIB="$TOP_INSTALL_LIB libs/wine/libwine.so"
9162 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lEGL" >&5
9163 $as_echo_n "checking for -lEGL... " >&6; }
9164 if ${ac_cv_lib_soname_EGL+:} false; then :
9165 $as_echo_n "(cached) " >&6
9166 else
9167 ac_check_soname_save_LIBS=$LIBS
9168 LIBS="-lEGL $LIBS"
9169 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9170 /* end confdefs.h. */
9172 /* Override any GCC internal prototype to avoid an error.
9173 Use char because int might match the return type of a GCC
9174 builtin and then its argument prototype would still apply. */
9175 #ifdef __cplusplus
9176 extern "C"
9177 #endif
9178 char eglGetProcAddress ();
9180 main ()
9182 return eglGetProcAddress ();
9184 return 0;
9186 _ACEOF
9187 if ac_fn_c_try_link "$LINENO"; then :
9188 case "$LIBEXT" in
9189 dll) ac_cv_lib_soname_EGL=`$ac_cv_path_LDD conftest.exe | grep "EGL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9190 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'` ;;
9191 *) ac_cv_lib_soname_EGL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libEGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libEGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9192 if ${ac_cv_lib_soname_EGL:+false} :; then :
9193 ac_cv_lib_soname_EGL=`$LDD conftest$ac_exeext | grep "libEGL\\.$LIBEXT" | sed -e "s/^.*\(libEGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9194 fi ;;
9195 esac
9196 else
9197 ac_cv_lib_soname_EGL=
9199 rm -f core conftest.err conftest.$ac_objext \
9200 conftest$ac_exeext conftest.$ac_ext
9201 LIBS=$ac_check_soname_save_LIBS
9203 if ${ac_cv_lib_soname_EGL:+false} :; then :
9204 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9205 $as_echo "not found" >&6; }
9207 else
9208 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_EGL" >&5
9209 $as_echo "$ac_cv_lib_soname_EGL" >&6; }
9211 cat >>confdefs.h <<_ACEOF
9212 #define SONAME_LIBEGL "$ac_cv_lib_soname_EGL"
9213 _ACEOF
9217 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGLESv2" >&5
9218 $as_echo_n "checking for -lGLESv2... " >&6; }
9219 if ${ac_cv_lib_soname_GLESv2+:} false; then :
9220 $as_echo_n "(cached) " >&6
9221 else
9222 ac_check_soname_save_LIBS=$LIBS
9223 LIBS="-lGLESv2 $LIBS"
9224 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9225 /* end confdefs.h. */
9227 /* Override any GCC internal prototype to avoid an error.
9228 Use char because int might match the return type of a GCC
9229 builtin and then its argument prototype would still apply. */
9230 #ifdef __cplusplus
9231 extern "C"
9232 #endif
9233 char glFlush ();
9235 main ()
9237 return glFlush ();
9239 return 0;
9241 _ACEOF
9242 if ac_fn_c_try_link "$LINENO"; then :
9243 case "$LIBEXT" in
9244 dll) ac_cv_lib_soname_GLESv2=`$ac_cv_path_LDD conftest.exe | grep "GLESv2" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9245 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'` ;;
9246 *) ac_cv_lib_soname_GLESv2=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGLESv2\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGLESv2\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9247 if ${ac_cv_lib_soname_GLESv2:+false} :; then :
9248 ac_cv_lib_soname_GLESv2=`$LDD conftest$ac_exeext | grep "libGLESv2\\.$LIBEXT" | sed -e "s/^.*\(libGLESv2\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9249 fi ;;
9250 esac
9251 else
9252 ac_cv_lib_soname_GLESv2=
9254 rm -f core conftest.err conftest.$ac_objext \
9255 conftest$ac_exeext conftest.$ac_ext
9256 LIBS=$ac_check_soname_save_LIBS
9258 if ${ac_cv_lib_soname_GLESv2:+false} :; then :
9259 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9260 $as_echo "not found" >&6; }
9262 else
9263 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GLESv2" >&5
9264 $as_echo "$ac_cv_lib_soname_GLESv2" >&6; }
9266 cat >>confdefs.h <<_ACEOF
9267 #define SONAME_LIBGLESV2 "$ac_cv_lib_soname_GLESv2"
9268 _ACEOF
9273 if test "x$exec_prefix" = xNONE
9274 then
9275 case $host_cpu in
9276 *i[3456]86*) exec_prefix='${prefix}/x86' ;;
9277 *x86_64*) exec_prefix='${prefix}/x86_64' ;;
9278 *arm*) exec_prefix='${prefix}/armeabi-v7a' ;;
9279 *aarch64*) exec_prefix='${prefix}/arm64-v8a' ;;
9280 esac
9285 case $host_cpu in
9286 *i[3456789]86*)
9287 DLLFLAGS="$DLLFLAGS -fno-PIC"
9288 LDDLLFLAGS="-fno-PIC"
9289 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-PIC -Wl,-z,notext" >&5
9290 $as_echo_n "checking whether the compiler supports -fno-PIC -Wl,-z,notext... " >&6; }
9291 if ${ac_cv_cflags__fno_PIC__Wl__z_notext+:} false; then :
9292 $as_echo_n "(cached) " >&6
9293 else
9294 ac_wine_try_cflags_saved=$CFLAGS
9295 CFLAGS="$CFLAGS -fno-PIC -Wl,-z,notext"
9296 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9297 /* end confdefs.h. */
9298 int main(int argc, char **argv) { return 0; }
9299 _ACEOF
9300 if ac_fn_c_try_link "$LINENO"; then :
9301 ac_cv_cflags__fno_PIC__Wl__z_notext=yes
9302 else
9303 ac_cv_cflags__fno_PIC__Wl__z_notext=no
9305 rm -f core conftest.err conftest.$ac_objext \
9306 conftest$ac_exeext conftest.$ac_ext
9307 CFLAGS=$ac_wine_try_cflags_saved
9309 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_PIC__Wl__z_notext" >&5
9310 $as_echo "$ac_cv_cflags__fno_PIC__Wl__z_notext" >&6; }
9311 if test "x$ac_cv_cflags__fno_PIC__Wl__z_notext" = xyes; then :
9312 LDDLLFLAGS="$LDDLLFLAGS -Wl,-z,notext"
9316 DLLFLAGS="$DLLFLAGS -fPIC"
9317 LDDLLFLAGS="-fPIC" ;;
9318 esac
9319 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build a GNU style ELF dll" >&5
9320 $as_echo_n "checking whether we can build a GNU style ELF dll... " >&6; }
9321 if ${ac_cv_c_dll_gnuelf+:} false; then :
9322 $as_echo_n "(cached) " >&6
9323 else
9324 ac_wine_try_cflags_saved=$CFLAGS
9325 CFLAGS="$CFLAGS -fPIC -shared -Wl,-Bsymbolic"
9326 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9327 /* end confdefs.h. */
9328 void myfunc() {}
9329 _ACEOF
9330 if ac_fn_c_try_link "$LINENO"; then :
9331 ac_cv_cflags__fPIC__shared__Wl__Bsymbolic=yes
9332 else
9333 ac_cv_cflags__fPIC__shared__Wl__Bsymbolic=no
9335 rm -f core conftest.err conftest.$ac_objext \
9336 conftest$ac_exeext conftest.$ac_ext
9337 CFLAGS=$ac_wine_try_cflags_saved
9338 if test "x$ac_cv_cflags__fPIC__shared__Wl__Bsymbolic" = xyes; then :
9339 ac_cv_c_dll_gnuelf="yes"
9340 else
9341 ac_cv_c_dll_gnuelf="no"
9344 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dll_gnuelf" >&5
9345 $as_echo "$ac_cv_c_dll_gnuelf" >&6; }
9346 if test "$ac_cv_c_dll_gnuelf" = "yes"
9347 then
9348 LIBWINE_LDFLAGS="-shared"
9349 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -shared -Wl,-soname,confest.so.1" >&5
9350 $as_echo_n "checking whether the compiler supports -shared -Wl,-soname,confest.so.1... " >&6; }
9351 if ${ac_cv_cflags__shared__Wl__soname_confest_so_1+:} false; then :
9352 $as_echo_n "(cached) " >&6
9353 else
9354 ac_wine_try_cflags_saved=$CFLAGS
9355 CFLAGS="$CFLAGS -shared -Wl,-soname,confest.so.1"
9356 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9357 /* end confdefs.h. */
9358 int main(int argc, char **argv) { return 0; }
9359 _ACEOF
9360 if ac_fn_c_try_link "$LINENO"; then :
9361 ac_cv_cflags__shared__Wl__soname_confest_so_1=yes
9362 else
9363 ac_cv_cflags__shared__Wl__soname_confest_so_1=no
9365 rm -f core conftest.err conftest.$ac_objext \
9366 conftest$ac_exeext conftest.$ac_ext
9367 CFLAGS=$ac_wine_try_cflags_saved
9369 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__shared__Wl__soname_confest_so_1" >&5
9370 $as_echo "$ac_cv_cflags__shared__Wl__soname_confest_so_1" >&6; }
9371 if test "x$ac_cv_cflags__shared__Wl__soname_confest_so_1" = xyes; then :
9372 LIBWINE_LDFLAGS="-shared -Wl,-soname,libwine.so.$libwine_soversion"
9373 else
9374 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -shared -Wl,-h,confest.so.1" >&5
9375 $as_echo_n "checking whether the compiler supports -shared -Wl,-h,confest.so.1... " >&6; }
9376 if ${ac_cv_cflags__shared__Wl__h_confest_so_1+:} false; then :
9377 $as_echo_n "(cached) " >&6
9378 else
9379 ac_wine_try_cflags_saved=$CFLAGS
9380 CFLAGS="$CFLAGS -shared -Wl,-h,confest.so.1"
9381 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9382 /* end confdefs.h. */
9383 int main(int argc, char **argv) { return 0; }
9384 _ACEOF
9385 if ac_fn_c_try_link "$LINENO"; then :
9386 ac_cv_cflags__shared__Wl__h_confest_so_1=yes
9387 else
9388 ac_cv_cflags__shared__Wl__h_confest_so_1=no
9390 rm -f core conftest.err conftest.$ac_objext \
9391 conftest$ac_exeext conftest.$ac_ext
9392 CFLAGS=$ac_wine_try_cflags_saved
9394 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__shared__Wl__h_confest_so_1" >&5
9395 $as_echo "$ac_cv_cflags__shared__Wl__h_confest_so_1" >&6; }
9396 if test "x$ac_cv_cflags__shared__Wl__h_confest_so_1" = xyes; then :
9397 LIBWINE_LDFLAGS="-shared -Wl,-h,libwine.so.$libwine_soversion"
9401 echo '{ global: *; };' >conftest.map
9402 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -shared -Wl,--version-script=conftest.map" >&5
9403 $as_echo_n "checking whether the compiler supports -shared -Wl,--version-script=conftest.map... " >&6; }
9404 if ${ac_cv_cflags__shared__Wl___version_script_conftest_map+:} false; then :
9405 $as_echo_n "(cached) " >&6
9406 else
9407 ac_wine_try_cflags_saved=$CFLAGS
9408 CFLAGS="$CFLAGS -shared -Wl,--version-script=conftest.map"
9409 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9410 /* end confdefs.h. */
9411 int main(int argc, char **argv) { return 0; }
9412 _ACEOF
9413 if ac_fn_c_try_link "$LINENO"; then :
9414 ac_cv_cflags__shared__Wl___version_script_conftest_map=yes
9415 else
9416 ac_cv_cflags__shared__Wl___version_script_conftest_map=no
9418 rm -f core conftest.err conftest.$ac_objext \
9419 conftest$ac_exeext conftest.$ac_ext
9420 CFLAGS=$ac_wine_try_cflags_saved
9422 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__shared__Wl___version_script_conftest_map" >&5
9423 $as_echo "$ac_cv_cflags__shared__Wl___version_script_conftest_map" >&6; }
9424 if test "x$ac_cv_cflags__shared__Wl___version_script_conftest_map" = xyes; then :
9425 LIBWINE_LDFLAGS="$LIBWINE_LDFLAGS -Wl,--version-script=\$(srcdir)/wine.map"
9427 rm -f conftest.map
9429 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--export-dynamic" >&5
9430 $as_echo_n "checking whether the compiler supports -Wl,--export-dynamic... " >&6; }
9431 if ${ac_cv_cflags__Wl___export_dynamic+:} false; then :
9432 $as_echo_n "(cached) " >&6
9433 else
9434 ac_wine_try_cflags_saved=$CFLAGS
9435 CFLAGS="$CFLAGS -Wl,--export-dynamic"
9436 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9437 /* end confdefs.h. */
9438 int main(int argc, char **argv) { return 0; }
9439 _ACEOF
9440 if ac_fn_c_try_link "$LINENO"; then :
9441 ac_cv_cflags__Wl___export_dynamic=yes
9442 else
9443 ac_cv_cflags__Wl___export_dynamic=no
9445 rm -f core conftest.err conftest.$ac_objext \
9446 conftest$ac_exeext conftest.$ac_ext
9447 CFLAGS=$ac_wine_try_cflags_saved
9449 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___export_dynamic" >&5
9450 $as_echo "$ac_cv_cflags__Wl___export_dynamic" >&6; }
9451 if test "x$ac_cv_cflags__Wl___export_dynamic" = xyes; then :
9452 WINELOADER_LDFLAGS="-Wl,--export-dynamic"
9454 WINEPRELOADER_LDFLAGS="-static -nostartfiles -nodefaultlibs -Wl,-Ttext=0x7d400000"
9456 case $host_cpu in
9457 *i[3456789]86* | x86_64 | *aarch64*)
9458 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-Ttext-segment=0x7bc00000" >&5
9459 $as_echo_n "checking whether the compiler supports -Wl,-Ttext-segment=0x7bc00000... " >&6; }
9460 if ${ac_cv_cflags__Wl__Ttext_segment_0x7bc00000+:} false; then :
9461 $as_echo_n "(cached) " >&6
9462 else
9463 ac_wine_try_cflags_saved=$CFLAGS
9464 CFLAGS="$CFLAGS -Wl,-Ttext-segment=0x7bc00000"
9465 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9466 /* end confdefs.h. */
9467 int main(int argc, char **argv) { return 0; }
9468 _ACEOF
9469 if ac_fn_c_try_link "$LINENO"; then :
9470 ac_cv_cflags__Wl__Ttext_segment_0x7bc00000=yes
9471 else
9472 ac_cv_cflags__Wl__Ttext_segment_0x7bc00000=no
9474 rm -f core conftest.err conftest.$ac_objext \
9475 conftest$ac_exeext conftest.$ac_ext
9476 CFLAGS=$ac_wine_try_cflags_saved
9478 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" >&5
9479 $as_echo "$ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" >&6; }
9480 if test "x$ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" = xyes; then :
9481 case $host_os in
9482 freebsd* | kfreebsd*-gnu) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,-Ttext-segment=0x60000000" ;;
9483 *) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,-Ttext-segment=0x7d000000" ;;
9484 esac
9485 else
9486 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--section-start,.interp=0x7d000400" >&5
9487 $as_echo_n "checking whether the compiler supports -Wl,--section-start,.interp=0x7d000400... " >&6; }
9488 if ${ac_cv_cflags__Wl___section_start__interp_0x7d000400+:} false; then :
9489 $as_echo_n "(cached) " >&6
9490 else
9491 ac_wine_try_cflags_saved=$CFLAGS
9492 CFLAGS="$CFLAGS -Wl,--section-start,.interp=0x7d000400"
9493 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9494 /* end confdefs.h. */
9495 int main(int argc, char **argv) { return 0; }
9496 _ACEOF
9497 if ac_fn_c_try_link "$LINENO"; then :
9498 ac_cv_cflags__Wl___section_start__interp_0x7d000400=yes
9499 else
9500 ac_cv_cflags__Wl___section_start__interp_0x7d000400=no
9502 rm -f core conftest.err conftest.$ac_objext \
9503 conftest$ac_exeext conftest.$ac_ext
9504 CFLAGS=$ac_wine_try_cflags_saved
9506 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___section_start__interp_0x7d000400" >&5
9507 $as_echo "$ac_cv_cflags__Wl___section_start__interp_0x7d000400" >&6; }
9508 if test "x$ac_cv_cflags__Wl___section_start__interp_0x7d000400" = xyes; then :
9509 case $host_os in
9510 freebsd* | kfreebsd*-gnu) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,--section-start,.interp=0x60000400" ;;
9511 *) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,--section-start,.interp=0x7d000400" ;;
9512 esac
9514 # Extract the first word of "prelink", so it can be a program name with args.
9515 set dummy prelink; ac_word=$2
9516 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9517 $as_echo_n "checking for $ac_word... " >&6; }
9518 if ${ac_cv_path_PRELINK+:} false; then :
9519 $as_echo_n "(cached) " >&6
9520 else
9521 case $PRELINK in
9522 [\\/]* | ?:[\\/]*)
9523 ac_cv_path_PRELINK="$PRELINK" # Let the user override the test with a path.
9526 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9527 for as_dir in /sbin /usr/sbin $PATH
9529 IFS=$as_save_IFS
9530 test -z "$as_dir" && as_dir=.
9531 for ac_exec_ext in '' $ac_executable_extensions; do
9532 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9533 ac_cv_path_PRELINK="$as_dir/$ac_word$ac_exec_ext"
9534 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9535 break 2
9537 done
9538 done
9539 IFS=$as_save_IFS
9541 test -z "$ac_cv_path_PRELINK" && ac_cv_path_PRELINK="false"
9543 esac
9545 PRELINK=$ac_cv_path_PRELINK
9546 if test -n "$PRELINK"; then
9547 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PRELINK" >&5
9548 $as_echo "$PRELINK" >&6; }
9549 else
9550 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9551 $as_echo "no" >&6; }
9555 if test "x$PRELINK" = xfalse
9556 then
9557 as_fn_append wine_warnings "|prelink not found and linker does not support relocation, base address of core dlls won't be set correctly."
9560 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-z,max-page-size=0x1000" >&5
9561 $as_echo_n "checking whether the compiler supports -Wl,-z,max-page-size=0x1000... " >&6; }
9562 if ${ac_cv_cflags__Wl__z_max_page_size_0x1000+:} false; then :
9563 $as_echo_n "(cached) " >&6
9564 else
9565 ac_wine_try_cflags_saved=$CFLAGS
9566 CFLAGS="$CFLAGS -Wl,-z,max-page-size=0x1000"
9567 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9568 /* end confdefs.h. */
9569 int main(int argc, char **argv) { return 0; }
9570 _ACEOF
9571 if ac_fn_c_try_link "$LINENO"; then :
9572 ac_cv_cflags__Wl__z_max_page_size_0x1000=yes
9573 else
9574 ac_cv_cflags__Wl__z_max_page_size_0x1000=no
9576 rm -f core conftest.err conftest.$ac_objext \
9577 conftest$ac_exeext conftest.$ac_ext
9578 CFLAGS=$ac_wine_try_cflags_saved
9580 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__z_max_page_size_0x1000" >&5
9581 $as_echo "$ac_cv_cflags__Wl__z_max_page_size_0x1000" >&6; }
9582 if test "x$ac_cv_cflags__Wl__z_max_page_size_0x1000" = xyes; then :
9583 WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,-z,max-page-size=0x1000"
9586 esac
9588 else
9589 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build a UnixWare (Solaris) dll" >&5
9590 $as_echo_n "checking whether we can build a UnixWare (Solaris) dll... " >&6; }
9591 if ${ac_cv_c_dll_unixware+:} false; then :
9592 $as_echo_n "(cached) " >&6
9593 else
9594 ac_wine_try_cflags_saved=$CFLAGS
9595 CFLAGS="$CFLAGS -fPIC -Wl,-G,-h,conftest.so.1.0,-B,symbolic"
9596 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9597 /* end confdefs.h. */
9598 void myfunc() {}
9599 _ACEOF
9600 if ac_fn_c_try_link "$LINENO"; then :
9601 ac_cv_cflags__fPIC__Wl__G__h_conftest_so_1_0__B_symbolic=yes
9602 else
9603 ac_cv_cflags__fPIC__Wl__G__h_conftest_so_1_0__B_symbolic=no
9605 rm -f core conftest.err conftest.$ac_objext \
9606 conftest$ac_exeext conftest.$ac_ext
9607 CFLAGS=$ac_wine_try_cflags_saved
9608 if test "x$ac_cv_cflags__fPIC__Wl__G__h_conftest_so_1_0__B_symbolic" = xyes; then :
9609 ac_cv_c_dll_unixware="yes"
9610 else
9611 ac_cv_c_dll_unixware="no"
9614 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dll_unixware" >&5
9615 $as_echo "$ac_cv_c_dll_unixware" >&6; }
9616 if test "$ac_cv_c_dll_unixware" = "yes"
9617 then
9618 LIBWINE_LDFLAGS="-Wl,-G,-h,libwine.so.$libwine_soversion"
9621 LIBWINE_SHAREDLIB="libwine.so.$libwine_version"
9623 LIBWINE_DEPENDS="wine.map"
9625 TOP_INSTALL_LIB="$TOP_INSTALL_LIB libs/wine/libwine.so.$libwine_version libs/wine/libwine.so.$libwine_soversion"
9627 esac
9629 enable_winecoreaudio_drv=${enable_winecoreaudio_drv:-no}
9630 enable_wineqtdecoder=${enable_wineqtdecoder:-no}
9631 enable_wineandroid_drv=${enable_wineandroid_drv:-no}
9632 enable_winemac_drv=${enable_winemac_drv:-no}
9633 test "$ac_cv_header_linux_joystick_h" = "yes" -o "$ac_cv_header_IOKit_hid_IOHIDLib_h" = "yes" || enable_winejoystick_drv=${enable_winejoystick_drv:-no}
9636 if test "x$with_mingw" != xno
9637 then
9638 case "x$with_mingw" in
9639 x|xyes) case "$host_cpu" in
9640 aarch64*)
9641 ac_prefix_list="aarch64-w64-mingw32-clang aarch64-w64-mingw32-gcc" ;;
9642 arm*)
9643 ac_prefix_list="armv7-w64-mingw32-clang armv7-w64-mingw32-gcc" ;;
9644 i[3456789]86*)
9645 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
9646 i686-w64-mingw32-clang i586-w64-mingw32-clang i486-w64-mingw32-clang i386-w64-mingw32-clang
9647 mingw32-gcc" ;;
9648 x86_64)
9649 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
9650 x86_64-w64-mingw32-clang amd64-w64-mingw32-clang " ;;
9652 ac_prefix_list="" ;;
9653 esac
9654 for ac_prog in $ac_prefix_list
9656 # Extract the first word of "$ac_prog", so it can be a program name with args.
9657 set dummy $ac_prog; ac_word=$2
9658 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9659 $as_echo_n "checking for $ac_word... " >&6; }
9660 if ${ac_cv_prog_CROSSCC+:} false; then :
9661 $as_echo_n "(cached) " >&6
9662 else
9663 if test -n "$CROSSCC"; then
9664 ac_cv_prog_CROSSCC="$CROSSCC" # Let the user override the test.
9665 else
9666 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9667 for as_dir in $PATH
9669 IFS=$as_save_IFS
9670 test -z "$as_dir" && as_dir=.
9671 for ac_exec_ext in '' $ac_executable_extensions; do
9672 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9673 ac_cv_prog_CROSSCC="$ac_prog"
9674 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9675 break 2
9677 done
9678 done
9679 IFS=$as_save_IFS
9683 CROSSCC=$ac_cv_prog_CROSSCC
9684 if test -n "$CROSSCC"; then
9685 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CROSSCC" >&5
9686 $as_echo "$CROSSCC" >&6; }
9687 else
9688 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9689 $as_echo "no" >&6; }
9693 test -n "$CROSSCC" && break
9694 done
9695 test -n "$CROSSCC" || CROSSCC="false"
9697 *) CROSSCC=$with_mingw ;;
9698 esac
9699 if test "$CROSSCC" != "false"
9700 then
9701 ac_save_CC="$CC"
9702 saved_CFLAGS=$CFLAGS
9703 CROSSCFLAGS=${CROSSCFLAGS:-"-g -O2"}
9705 EXTRACROSSCFLAGS="-DWINE_CROSS_PE -Wall"
9709 CC="$CROSSCC"
9710 CFLAGS=$CROSSCFLAGS
9711 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CROSSCC works" >&5
9712 $as_echo_n "checking whether $CROSSCC works... " >&6; }
9713 if ${wine_cv_crosscc+:} false; then :
9714 $as_echo_n "(cached) " >&6
9715 else
9716 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9717 /* end confdefs.h. */
9720 main ()
9724 return 0;
9726 _ACEOF
9727 if ac_fn_c_try_compile "$LINENO"; then :
9728 wine_cv_crosscc=yes
9729 else
9730 wine_cv_crosscc=no
9732 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9734 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_crosscc" >&5
9735 $as_echo "$wine_cv_crosscc" >&6; }
9736 if test $wine_cv_crosscc = yes
9737 then
9738 set x $CROSSCC
9739 shift
9740 while test $# -ge 1
9742 case "$1" in
9743 *-gcc) CROSSTARGET=`expr "$1" : '\(.*\)-gcc'` ;;
9744 *-clang) CROSSTARGET=`expr "$1" : '\(.*\)-clang'` ;;
9745 esac
9746 shift
9747 done
9749 llvm_target=$CROSSTARGET
9750 llvm_cflags="-fuse-ld=lld"
9751 if test -z "$llvm_target"
9752 then
9753 case $host_cpu in
9754 *i[3456789]86*) llvm_target=i686-windows ;;
9755 *) llvm_target=$host_cpu-windows ;;
9756 esac
9758 case $llvm_target in
9759 *windows) llvm_cflags="$llvm_cflags -Wl,-subsystem:console" ;;
9760 esac
9761 as_ac_var=`$as_echo "ac_cv_crosscflags_-target $llvm_target $llvm_cflags" | $as_tr_sh`
9762 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -target $llvm_target $llvm_cflags" >&5
9763 $as_echo_n "checking whether the cross-compiler supports -target $llvm_target $llvm_cflags... " >&6; }
9764 if eval \${$as_ac_var+:} false; then :
9765 $as_echo_n "(cached) " >&6
9766 else
9767 ac_wine_try_cflags_saved=$CFLAGS
9768 ac_wine_try_cflags_saved_cc=$CC
9769 ac_wine_try_cflags_saved_exeext=$ac_exeext
9770 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -target $llvm_target $llvm_cflags"
9771 CC="$CROSSCC"
9772 ac_exeext=".exe"
9773 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9774 /* end confdefs.h. */
9775 int __cdecl mainCRTStartup(void) { return 0; }
9776 _ACEOF
9777 if ac_fn_c_try_link "$LINENO"; then :
9778 eval "$as_ac_var=yes"
9779 else
9780 eval "$as_ac_var=no"
9782 rm -f core conftest.err conftest.$ac_objext \
9783 conftest$ac_exeext conftest.$ac_ext
9784 CFLAGS=$ac_wine_try_cflags_saved
9785 CC=$ac_wine_try_cflags_saved_cc
9786 ac_exeext=$ac_wine_try_cflags_saved_exeext
9788 eval ac_res=\$$as_ac_var
9789 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
9790 $as_echo "$ac_res" >&6; }
9791 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
9792 CROSSTARGET=$llvm_target
9793 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -target $CROSSTARGET"
9794 DELAYLOADFLAG="-Wl,-delayload,"
9796 CFLAGS="$CFLAGS $llvm_cflags"
9799 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -fno-strict-aliasing" >&5
9800 $as_echo_n "checking whether the cross-compiler supports -fno-strict-aliasing... " >&6; }
9801 if ${ac_cv_crosscflags__fno_strict_aliasing+:} false; then :
9802 $as_echo_n "(cached) " >&6
9803 else
9804 ac_wine_try_cflags_saved=$CFLAGS
9805 ac_wine_try_cflags_saved_cc=$CC
9806 ac_wine_try_cflags_saved_exeext=$ac_exeext
9807 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -fno-strict-aliasing"
9808 CC="$CROSSCC"
9809 ac_exeext=".exe"
9810 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9811 /* end confdefs.h. */
9812 int __cdecl mainCRTStartup(void) { return 0; }
9813 _ACEOF
9814 if ac_fn_c_try_link "$LINENO"; then :
9815 ac_cv_crosscflags__fno_strict_aliasing=yes
9816 else
9817 ac_cv_crosscflags__fno_strict_aliasing=no
9819 rm -f core conftest.err conftest.$ac_objext \
9820 conftest$ac_exeext conftest.$ac_ext
9821 CFLAGS=$ac_wine_try_cflags_saved
9822 CC=$ac_wine_try_cflags_saved_cc
9823 ac_exeext=$ac_wine_try_cflags_saved_exeext
9825 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__fno_strict_aliasing" >&5
9826 $as_echo "$ac_cv_crosscflags__fno_strict_aliasing" >&6; }
9827 if test "x$ac_cv_crosscflags__fno_strict_aliasing" = xyes; then :
9828 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -fno-strict-aliasing"
9830 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Werror=unknown-warning-option" >&5
9831 $as_echo_n "checking whether the cross-compiler supports -Werror=unknown-warning-option... " >&6; }
9832 if ${ac_cv_crosscflags__Werror_unknown_warning_option+:} false; then :
9833 $as_echo_n "(cached) " >&6
9834 else
9835 ac_wine_try_cflags_saved=$CFLAGS
9836 ac_wine_try_cflags_saved_cc=$CC
9837 ac_wine_try_cflags_saved_exeext=$ac_exeext
9838 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Werror=unknown-warning-option"
9839 CC="$CROSSCC"
9840 ac_exeext=".exe"
9841 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9842 /* end confdefs.h. */
9843 int __cdecl mainCRTStartup(void) { return 0; }
9844 _ACEOF
9845 if ac_fn_c_try_link "$LINENO"; then :
9846 ac_cv_crosscflags__Werror_unknown_warning_option=yes
9847 else
9848 ac_cv_crosscflags__Werror_unknown_warning_option=no
9850 rm -f core conftest.err conftest.$ac_objext \
9851 conftest$ac_exeext conftest.$ac_ext
9852 CFLAGS=$ac_wine_try_cflags_saved
9853 CC=$ac_wine_try_cflags_saved_cc
9854 ac_exeext=$ac_wine_try_cflags_saved_exeext
9856 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Werror_unknown_warning_option" >&5
9857 $as_echo "$ac_cv_crosscflags__Werror_unknown_warning_option" >&6; }
9858 if test "x$ac_cv_crosscflags__Werror_unknown_warning_option" = xyes; then :
9859 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
9861 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Werror=ignored-optimization-argument" >&5
9862 $as_echo_n "checking whether the cross-compiler supports -Werror=ignored-optimization-argument... " >&6; }
9863 if ${ac_cv_crosscflags__Werror_ignored_optimization_argument+:} false; then :
9864 $as_echo_n "(cached) " >&6
9865 else
9866 ac_wine_try_cflags_saved=$CFLAGS
9867 ac_wine_try_cflags_saved_cc=$CC
9868 ac_wine_try_cflags_saved_exeext=$ac_exeext
9869 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Werror=ignored-optimization-argument"
9870 CC="$CROSSCC"
9871 ac_exeext=".exe"
9872 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9873 /* end confdefs.h. */
9874 int __cdecl mainCRTStartup(void) { return 0; }
9875 _ACEOF
9876 if ac_fn_c_try_link "$LINENO"; then :
9877 ac_cv_crosscflags__Werror_ignored_optimization_argument=yes
9878 else
9879 ac_cv_crosscflags__Werror_ignored_optimization_argument=no
9881 rm -f core conftest.err conftest.$ac_objext \
9882 conftest$ac_exeext conftest.$ac_ext
9883 CFLAGS=$ac_wine_try_cflags_saved
9884 CC=$ac_wine_try_cflags_saved_cc
9885 ac_exeext=$ac_wine_try_cflags_saved_exeext
9887 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Werror_ignored_optimization_argument" >&5
9888 $as_echo "$ac_cv_crosscflags__Werror_ignored_optimization_argument" >&6; }
9889 if test "x$ac_cv_crosscflags__Werror_ignored_optimization_argument" = xyes; then :
9890 CFLAGS="$CFLAGS -Werror=ignored-optimization-argument"
9892 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wdeclaration-after-statement" >&5
9893 $as_echo_n "checking whether the cross-compiler supports -Wdeclaration-after-statement... " >&6; }
9894 if ${ac_cv_crosscflags__Wdeclaration_after_statement+:} false; then :
9895 $as_echo_n "(cached) " >&6
9896 else
9897 ac_wine_try_cflags_saved=$CFLAGS
9898 ac_wine_try_cflags_saved_cc=$CC
9899 ac_wine_try_cflags_saved_exeext=$ac_exeext
9900 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wdeclaration-after-statement"
9901 CC="$CROSSCC"
9902 ac_exeext=".exe"
9903 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9904 /* end confdefs.h. */
9905 int __cdecl mainCRTStartup(void) { return 0; }
9906 _ACEOF
9907 if ac_fn_c_try_link "$LINENO"; then :
9908 ac_cv_crosscflags__Wdeclaration_after_statement=yes
9909 else
9910 ac_cv_crosscflags__Wdeclaration_after_statement=no
9912 rm -f core conftest.err conftest.$ac_objext \
9913 conftest$ac_exeext conftest.$ac_ext
9914 CFLAGS=$ac_wine_try_cflags_saved
9915 CC=$ac_wine_try_cflags_saved_cc
9916 ac_exeext=$ac_wine_try_cflags_saved_exeext
9918 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wdeclaration_after_statement" >&5
9919 $as_echo "$ac_cv_crosscflags__Wdeclaration_after_statement" >&6; }
9920 if test "x$ac_cv_crosscflags__Wdeclaration_after_statement" = xyes; then :
9921 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wdeclaration-after-statement"
9923 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wempty-body" >&5
9924 $as_echo_n "checking whether the cross-compiler supports -Wempty-body... " >&6; }
9925 if ${ac_cv_crosscflags__Wempty_body+:} false; then :
9926 $as_echo_n "(cached) " >&6
9927 else
9928 ac_wine_try_cflags_saved=$CFLAGS
9929 ac_wine_try_cflags_saved_cc=$CC
9930 ac_wine_try_cflags_saved_exeext=$ac_exeext
9931 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wempty-body"
9932 CC="$CROSSCC"
9933 ac_exeext=".exe"
9934 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9935 /* end confdefs.h. */
9936 int __cdecl mainCRTStartup(void) { return 0; }
9937 _ACEOF
9938 if ac_fn_c_try_link "$LINENO"; then :
9939 ac_cv_crosscflags__Wempty_body=yes
9940 else
9941 ac_cv_crosscflags__Wempty_body=no
9943 rm -f core conftest.err conftest.$ac_objext \
9944 conftest$ac_exeext conftest.$ac_ext
9945 CFLAGS=$ac_wine_try_cflags_saved
9946 CC=$ac_wine_try_cflags_saved_cc
9947 ac_exeext=$ac_wine_try_cflags_saved_exeext
9949 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wempty_body" >&5
9950 $as_echo "$ac_cv_crosscflags__Wempty_body" >&6; }
9951 if test "x$ac_cv_crosscflags__Wempty_body" = xyes; then :
9952 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wempty-body"
9954 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wignored-qualifiers" >&5
9955 $as_echo_n "checking whether the cross-compiler supports -Wignored-qualifiers... " >&6; }
9956 if ${ac_cv_crosscflags__Wignored_qualifiers+:} false; then :
9957 $as_echo_n "(cached) " >&6
9958 else
9959 ac_wine_try_cflags_saved=$CFLAGS
9960 ac_wine_try_cflags_saved_cc=$CC
9961 ac_wine_try_cflags_saved_exeext=$ac_exeext
9962 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wignored-qualifiers"
9963 CC="$CROSSCC"
9964 ac_exeext=".exe"
9965 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9966 /* end confdefs.h. */
9967 int __cdecl mainCRTStartup(void) { return 0; }
9968 _ACEOF
9969 if ac_fn_c_try_link "$LINENO"; then :
9970 ac_cv_crosscflags__Wignored_qualifiers=yes
9971 else
9972 ac_cv_crosscflags__Wignored_qualifiers=no
9974 rm -f core conftest.err conftest.$ac_objext \
9975 conftest$ac_exeext conftest.$ac_ext
9976 CFLAGS=$ac_wine_try_cflags_saved
9977 CC=$ac_wine_try_cflags_saved_cc
9978 ac_exeext=$ac_wine_try_cflags_saved_exeext
9980 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wignored_qualifiers" >&5
9981 $as_echo "$ac_cv_crosscflags__Wignored_qualifiers" >&6; }
9982 if test "x$ac_cv_crosscflags__Wignored_qualifiers" = xyes; then :
9983 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wignored-qualifiers"
9985 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wpacked-not-aligned" >&5
9986 $as_echo_n "checking whether the cross-compiler supports -Wpacked-not-aligned... " >&6; }
9987 if ${ac_cv_crosscflags__Wpacked_not_aligned+:} false; then :
9988 $as_echo_n "(cached) " >&6
9989 else
9990 ac_wine_try_cflags_saved=$CFLAGS
9991 ac_wine_try_cflags_saved_cc=$CC
9992 ac_wine_try_cflags_saved_exeext=$ac_exeext
9993 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wpacked-not-aligned"
9994 CC="$CROSSCC"
9995 ac_exeext=".exe"
9996 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9997 /* end confdefs.h. */
9998 int __cdecl mainCRTStartup(void) { return 0; }
9999 _ACEOF
10000 if ac_fn_c_try_link "$LINENO"; then :
10001 ac_cv_crosscflags__Wpacked_not_aligned=yes
10002 else
10003 ac_cv_crosscflags__Wpacked_not_aligned=no
10005 rm -f core conftest.err conftest.$ac_objext \
10006 conftest$ac_exeext conftest.$ac_ext
10007 CFLAGS=$ac_wine_try_cflags_saved
10008 CC=$ac_wine_try_cflags_saved_cc
10009 ac_exeext=$ac_wine_try_cflags_saved_exeext
10011 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wpacked_not_aligned" >&5
10012 $as_echo "$ac_cv_crosscflags__Wpacked_not_aligned" >&6; }
10013 if test "x$ac_cv_crosscflags__Wpacked_not_aligned" = xyes; then :
10014 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wno-packed-not-aligned"
10016 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wpragma-pack" >&5
10017 $as_echo_n "checking whether the cross-compiler supports -Wpragma-pack... " >&6; }
10018 if ${ac_cv_crosscflags__Wpragma_pack+:} false; then :
10019 $as_echo_n "(cached) " >&6
10020 else
10021 ac_wine_try_cflags_saved=$CFLAGS
10022 ac_wine_try_cflags_saved_cc=$CC
10023 ac_wine_try_cflags_saved_exeext=$ac_exeext
10024 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wpragma-pack"
10025 CC="$CROSSCC"
10026 ac_exeext=".exe"
10027 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10028 /* end confdefs.h. */
10029 int __cdecl mainCRTStartup(void) { return 0; }
10030 _ACEOF
10031 if ac_fn_c_try_link "$LINENO"; then :
10032 ac_cv_crosscflags__Wpragma_pack=yes
10033 else
10034 ac_cv_crosscflags__Wpragma_pack=no
10036 rm -f core conftest.err conftest.$ac_objext \
10037 conftest$ac_exeext conftest.$ac_ext
10038 CFLAGS=$ac_wine_try_cflags_saved
10039 CC=$ac_wine_try_cflags_saved_cc
10040 ac_exeext=$ac_wine_try_cflags_saved_exeext
10042 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wpragma_pack" >&5
10043 $as_echo "$ac_cv_crosscflags__Wpragma_pack" >&6; }
10044 if test "x$ac_cv_crosscflags__Wpragma_pack" = xyes; then :
10045 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wno-pragma-pack"
10047 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wshift-overflow=2" >&5
10048 $as_echo_n "checking whether the cross-compiler supports -Wshift-overflow=2... " >&6; }
10049 if ${ac_cv_crosscflags__Wshift_overflow_2+:} false; then :
10050 $as_echo_n "(cached) " >&6
10051 else
10052 ac_wine_try_cflags_saved=$CFLAGS
10053 ac_wine_try_cflags_saved_cc=$CC
10054 ac_wine_try_cflags_saved_exeext=$ac_exeext
10055 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wshift-overflow=2"
10056 CC="$CROSSCC"
10057 ac_exeext=".exe"
10058 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10059 /* end confdefs.h. */
10060 int __cdecl mainCRTStartup(void) { return 0; }
10061 _ACEOF
10062 if ac_fn_c_try_link "$LINENO"; then :
10063 ac_cv_crosscflags__Wshift_overflow_2=yes
10064 else
10065 ac_cv_crosscflags__Wshift_overflow_2=no
10067 rm -f core conftest.err conftest.$ac_objext \
10068 conftest$ac_exeext conftest.$ac_ext
10069 CFLAGS=$ac_wine_try_cflags_saved
10070 CC=$ac_wine_try_cflags_saved_cc
10071 ac_exeext=$ac_wine_try_cflags_saved_exeext
10073 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wshift_overflow_2" >&5
10074 $as_echo "$ac_cv_crosscflags__Wshift_overflow_2" >&6; }
10075 if test "x$ac_cv_crosscflags__Wshift_overflow_2" = xyes; then :
10076 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wshift-overflow=2"
10078 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wstrict-prototypes" >&5
10079 $as_echo_n "checking whether the cross-compiler supports -Wstrict-prototypes... " >&6; }
10080 if ${ac_cv_crosscflags__Wstrict_prototypes+:} false; then :
10081 $as_echo_n "(cached) " >&6
10082 else
10083 ac_wine_try_cflags_saved=$CFLAGS
10084 ac_wine_try_cflags_saved_cc=$CC
10085 ac_wine_try_cflags_saved_exeext=$ac_exeext
10086 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wstrict-prototypes"
10087 CC="$CROSSCC"
10088 ac_exeext=".exe"
10089 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10090 /* end confdefs.h. */
10091 int __cdecl mainCRTStartup(void) { return 0; }
10092 _ACEOF
10093 if ac_fn_c_try_link "$LINENO"; then :
10094 ac_cv_crosscflags__Wstrict_prototypes=yes
10095 else
10096 ac_cv_crosscflags__Wstrict_prototypes=no
10098 rm -f core conftest.err conftest.$ac_objext \
10099 conftest$ac_exeext conftest.$ac_ext
10100 CFLAGS=$ac_wine_try_cflags_saved
10101 CC=$ac_wine_try_cflags_saved_cc
10102 ac_exeext=$ac_wine_try_cflags_saved_exeext
10104 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wstrict_prototypes" >&5
10105 $as_echo "$ac_cv_crosscflags__Wstrict_prototypes" >&6; }
10106 if test "x$ac_cv_crosscflags__Wstrict_prototypes" = xyes; then :
10107 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wstrict-prototypes"
10109 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wtype-limits" >&5
10110 $as_echo_n "checking whether the cross-compiler supports -Wtype-limits... " >&6; }
10111 if ${ac_cv_crosscflags__Wtype_limits+:} false; then :
10112 $as_echo_n "(cached) " >&6
10113 else
10114 ac_wine_try_cflags_saved=$CFLAGS
10115 ac_wine_try_cflags_saved_cc=$CC
10116 ac_wine_try_cflags_saved_exeext=$ac_exeext
10117 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wtype-limits"
10118 CC="$CROSSCC"
10119 ac_exeext=".exe"
10120 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10121 /* end confdefs.h. */
10122 int __cdecl mainCRTStartup(void) { return 0; }
10123 _ACEOF
10124 if ac_fn_c_try_link "$LINENO"; then :
10125 ac_cv_crosscflags__Wtype_limits=yes
10126 else
10127 ac_cv_crosscflags__Wtype_limits=no
10129 rm -f core conftest.err conftest.$ac_objext \
10130 conftest$ac_exeext conftest.$ac_ext
10131 CFLAGS=$ac_wine_try_cflags_saved
10132 CC=$ac_wine_try_cflags_saved_cc
10133 ac_exeext=$ac_wine_try_cflags_saved_exeext
10135 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wtype_limits" >&5
10136 $as_echo "$ac_cv_crosscflags__Wtype_limits" >&6; }
10137 if test "x$ac_cv_crosscflags__Wtype_limits" = xyes; then :
10138 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wtype-limits"
10140 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wunused-but-set-parameter" >&5
10141 $as_echo_n "checking whether the cross-compiler supports -Wunused-but-set-parameter... " >&6; }
10142 if ${ac_cv_crosscflags__Wunused_but_set_parameter+:} false; then :
10143 $as_echo_n "(cached) " >&6
10144 else
10145 ac_wine_try_cflags_saved=$CFLAGS
10146 ac_wine_try_cflags_saved_cc=$CC
10147 ac_wine_try_cflags_saved_exeext=$ac_exeext
10148 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wunused-but-set-parameter"
10149 CC="$CROSSCC"
10150 ac_exeext=".exe"
10151 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10152 /* end confdefs.h. */
10153 int __cdecl mainCRTStartup(void) { return 0; }
10154 _ACEOF
10155 if ac_fn_c_try_link "$LINENO"; then :
10156 ac_cv_crosscflags__Wunused_but_set_parameter=yes
10157 else
10158 ac_cv_crosscflags__Wunused_but_set_parameter=no
10160 rm -f core conftest.err conftest.$ac_objext \
10161 conftest$ac_exeext conftest.$ac_ext
10162 CFLAGS=$ac_wine_try_cflags_saved
10163 CC=$ac_wine_try_cflags_saved_cc
10164 ac_exeext=$ac_wine_try_cflags_saved_exeext
10166 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wunused_but_set_parameter" >&5
10167 $as_echo "$ac_cv_crosscflags__Wunused_but_set_parameter" >&6; }
10168 if test "x$ac_cv_crosscflags__Wunused_but_set_parameter" = xyes; then :
10169 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wunused-but-set-parameter"
10171 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wvla" >&5
10172 $as_echo_n "checking whether the cross-compiler supports -Wvla... " >&6; }
10173 if ${ac_cv_crosscflags__Wvla+:} false; then :
10174 $as_echo_n "(cached) " >&6
10175 else
10176 ac_wine_try_cflags_saved=$CFLAGS
10177 ac_wine_try_cflags_saved_cc=$CC
10178 ac_wine_try_cflags_saved_exeext=$ac_exeext
10179 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wvla"
10180 CC="$CROSSCC"
10181 ac_exeext=".exe"
10182 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10183 /* end confdefs.h. */
10184 int __cdecl mainCRTStartup(void) { return 0; }
10185 _ACEOF
10186 if ac_fn_c_try_link "$LINENO"; then :
10187 ac_cv_crosscflags__Wvla=yes
10188 else
10189 ac_cv_crosscflags__Wvla=no
10191 rm -f core conftest.err conftest.$ac_objext \
10192 conftest$ac_exeext conftest.$ac_ext
10193 CFLAGS=$ac_wine_try_cflags_saved
10194 CC=$ac_wine_try_cflags_saved_cc
10195 ac_exeext=$ac_wine_try_cflags_saved_exeext
10197 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wvla" >&5
10198 $as_echo "$ac_cv_crosscflags__Wvla" >&6; }
10199 if test "x$ac_cv_crosscflags__Wvla" = xyes; then :
10200 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wvla"
10202 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wwrite-strings" >&5
10203 $as_echo_n "checking whether the cross-compiler supports -Wwrite-strings... " >&6; }
10204 if ${ac_cv_crosscflags__Wwrite_strings+:} false; then :
10205 $as_echo_n "(cached) " >&6
10206 else
10207 ac_wine_try_cflags_saved=$CFLAGS
10208 ac_wine_try_cflags_saved_cc=$CC
10209 ac_wine_try_cflags_saved_exeext=$ac_exeext
10210 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wwrite-strings"
10211 CC="$CROSSCC"
10212 ac_exeext=".exe"
10213 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10214 /* end confdefs.h. */
10215 int __cdecl mainCRTStartup(void) { return 0; }
10216 _ACEOF
10217 if ac_fn_c_try_link "$LINENO"; then :
10218 ac_cv_crosscflags__Wwrite_strings=yes
10219 else
10220 ac_cv_crosscflags__Wwrite_strings=no
10222 rm -f core conftest.err conftest.$ac_objext \
10223 conftest$ac_exeext conftest.$ac_ext
10224 CFLAGS=$ac_wine_try_cflags_saved
10225 CC=$ac_wine_try_cflags_saved_cc
10226 ac_exeext=$ac_wine_try_cflags_saved_exeext
10228 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wwrite_strings" >&5
10229 $as_echo "$ac_cv_crosscflags__Wwrite_strings" >&6; }
10230 if test "x$ac_cv_crosscflags__Wwrite_strings" = xyes; then :
10231 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wwrite-strings"
10233 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wpointer-arith" >&5
10234 $as_echo_n "checking whether the cross-compiler supports -Wpointer-arith... " >&6; }
10235 if ${ac_cv_crosscflags__Wpointer_arith+:} false; then :
10236 $as_echo_n "(cached) " >&6
10237 else
10238 ac_wine_try_cflags_saved=$CFLAGS
10239 ac_wine_try_cflags_saved_cc=$CC
10240 ac_wine_try_cflags_saved_exeext=$ac_exeext
10241 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wpointer-arith"
10242 CC="$CROSSCC"
10243 ac_exeext=".exe"
10244 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10245 /* end confdefs.h. */
10246 int __cdecl mainCRTStartup(void) { return 0; }
10247 _ACEOF
10248 if ac_fn_c_try_link "$LINENO"; then :
10249 ac_cv_crosscflags__Wpointer_arith=yes
10250 else
10251 ac_cv_crosscflags__Wpointer_arith=no
10253 rm -f core conftest.err conftest.$ac_objext \
10254 conftest$ac_exeext conftest.$ac_ext
10255 CFLAGS=$ac_wine_try_cflags_saved
10256 CC=$ac_wine_try_cflags_saved_cc
10257 ac_exeext=$ac_wine_try_cflags_saved_exeext
10259 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wpointer_arith" >&5
10260 $as_echo "$ac_cv_crosscflags__Wpointer_arith" >&6; }
10261 if test "x$ac_cv_crosscflags__Wpointer_arith" = xyes; then :
10262 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wpointer-arith"
10264 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wlogical-op" >&5
10265 $as_echo_n "checking whether the cross-compiler supports -Wlogical-op... " >&6; }
10266 if ${ac_cv_crosscflags__Wlogical_op+:} false; then :
10267 $as_echo_n "(cached) " >&6
10268 else
10269 ac_wine_try_cflags_saved=$CFLAGS
10270 ac_wine_try_cflags_saved_cc=$CC
10271 ac_wine_try_cflags_saved_exeext=$ac_exeext
10272 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wlogical-op"
10273 CC="$CROSSCC"
10274 ac_exeext=".exe"
10275 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10276 /* end confdefs.h. */
10277 int __cdecl mainCRTStartup(void) { return 0; }
10278 _ACEOF
10279 if ac_fn_c_try_link "$LINENO"; then :
10280 ac_cv_crosscflags__Wlogical_op=yes
10281 else
10282 ac_cv_crosscflags__Wlogical_op=no
10284 rm -f core conftest.err conftest.$ac_objext \
10285 conftest$ac_exeext conftest.$ac_ext
10286 CFLAGS=$ac_wine_try_cflags_saved
10287 CC=$ac_wine_try_cflags_saved_cc
10288 ac_exeext=$ac_wine_try_cflags_saved_exeext
10290 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wlogical_op" >&5
10291 $as_echo "$ac_cv_crosscflags__Wlogical_op" >&6; }
10292 if test "x$ac_cv_crosscflags__Wlogical_op" = xyes; then :
10293 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wlogical-op"
10295 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wabsolute-value" >&5
10296 $as_echo_n "checking whether the cross-compiler supports -Wabsolute-value... " >&6; }
10297 if ${ac_cv_crosscflags__Wabsolute_value+:} false; then :
10298 $as_echo_n "(cached) " >&6
10299 else
10300 ac_wine_try_cflags_saved=$CFLAGS
10301 ac_wine_try_cflags_saved_cc=$CC
10302 ac_wine_try_cflags_saved_exeext=$ac_exeext
10303 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wabsolute-value"
10304 CC="$CROSSCC"
10305 ac_exeext=".exe"
10306 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10307 /* end confdefs.h. */
10308 int __cdecl mainCRTStartup(void) { return 0; }
10309 _ACEOF
10310 if ac_fn_c_try_link "$LINENO"; then :
10311 ac_cv_crosscflags__Wabsolute_value=yes
10312 else
10313 ac_cv_crosscflags__Wabsolute_value=no
10315 rm -f core conftest.err conftest.$ac_objext \
10316 conftest$ac_exeext conftest.$ac_ext
10317 CFLAGS=$ac_wine_try_cflags_saved
10318 CC=$ac_wine_try_cflags_saved_cc
10319 ac_exeext=$ac_wine_try_cflags_saved_exeext
10321 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wabsolute_value" >&5
10322 $as_echo "$ac_cv_crosscflags__Wabsolute_value" >&6; }
10323 if test "x$ac_cv_crosscflags__Wabsolute_value" = xyes; then :
10324 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wabsolute-value"
10327 case $host_cpu in
10328 *i[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -fno-omit-frame-pointer" >&5
10329 $as_echo_n "checking whether the cross-compiler supports -fno-omit-frame-pointer... " >&6; }
10330 if ${ac_cv_crosscflags__fno_omit_frame_pointer+:} false; then :
10331 $as_echo_n "(cached) " >&6
10332 else
10333 ac_wine_try_cflags_saved=$CFLAGS
10334 ac_wine_try_cflags_saved_cc=$CC
10335 ac_wine_try_cflags_saved_exeext=$ac_exeext
10336 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -fno-omit-frame-pointer"
10337 CC="$CROSSCC"
10338 ac_exeext=".exe"
10339 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10340 /* end confdefs.h. */
10341 int __cdecl mainCRTStartup(void) { return 0; }
10342 _ACEOF
10343 if ac_fn_c_try_link "$LINENO"; then :
10344 ac_cv_crosscflags__fno_omit_frame_pointer=yes
10345 else
10346 ac_cv_crosscflags__fno_omit_frame_pointer=no
10348 rm -f core conftest.err conftest.$ac_objext \
10349 conftest$ac_exeext conftest.$ac_ext
10350 CFLAGS=$ac_wine_try_cflags_saved
10351 CC=$ac_wine_try_cflags_saved_cc
10352 ac_exeext=$ac_wine_try_cflags_saved_exeext
10354 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__fno_omit_frame_pointer" >&5
10355 $as_echo "$ac_cv_crosscflags__fno_omit_frame_pointer" >&6; }
10356 if test "x$ac_cv_crosscflags__fno_omit_frame_pointer" = xyes; then :
10357 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -fno-omit-frame-pointer"
10358 fi ;;
10359 x86_64) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wno-format" >&5
10360 $as_echo_n "checking whether the cross-compiler supports -Wno-format... " >&6; }
10361 if ${ac_cv_crosscflags__Wno_format+:} false; then :
10362 $as_echo_n "(cached) " >&6
10363 else
10364 ac_wine_try_cflags_saved=$CFLAGS
10365 ac_wine_try_cflags_saved_cc=$CC
10366 ac_wine_try_cflags_saved_exeext=$ac_exeext
10367 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wno-format"
10368 CC="$CROSSCC"
10369 ac_exeext=".exe"
10370 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10371 /* end confdefs.h. */
10372 int __cdecl mainCRTStartup(void) { return 0; }
10373 _ACEOF
10374 if ac_fn_c_try_link "$LINENO"; then :
10375 ac_cv_crosscflags__Wno_format=yes
10376 else
10377 ac_cv_crosscflags__Wno_format=no
10379 rm -f core conftest.err conftest.$ac_objext \
10380 conftest$ac_exeext conftest.$ac_ext
10381 CFLAGS=$ac_wine_try_cflags_saved
10382 CC=$ac_wine_try_cflags_saved_cc
10383 ac_exeext=$ac_wine_try_cflags_saved_exeext
10385 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wno_format" >&5
10386 $as_echo "$ac_cv_crosscflags__Wno_format" >&6; }
10387 if test "x$ac_cv_crosscflags__Wno_format" = xyes; then :
10388 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wno-format"
10390 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wformat-overflow" >&5
10391 $as_echo_n "checking whether the cross-compiler supports -Wformat-overflow... " >&6; }
10392 if ${ac_cv_crosscflags__Wformat_overflow+:} false; then :
10393 $as_echo_n "(cached) " >&6
10394 else
10395 ac_wine_try_cflags_saved=$CFLAGS
10396 ac_wine_try_cflags_saved_cc=$CC
10397 ac_wine_try_cflags_saved_exeext=$ac_exeext
10398 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wformat-overflow"
10399 CC="$CROSSCC"
10400 ac_exeext=".exe"
10401 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10402 /* end confdefs.h. */
10403 int __cdecl mainCRTStartup(void) { return 0; }
10404 _ACEOF
10405 if ac_fn_c_try_link "$LINENO"; then :
10406 ac_cv_crosscflags__Wformat_overflow=yes
10407 else
10408 ac_cv_crosscflags__Wformat_overflow=no
10410 rm -f core conftest.err conftest.$ac_objext \
10411 conftest$ac_exeext conftest.$ac_ext
10412 CFLAGS=$ac_wine_try_cflags_saved
10413 CC=$ac_wine_try_cflags_saved_cc
10414 ac_exeext=$ac_wine_try_cflags_saved_exeext
10416 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wformat_overflow" >&5
10417 $as_echo "$ac_cv_crosscflags__Wformat_overflow" >&6; }
10418 if test "x$ac_cv_crosscflags__Wformat_overflow" = xyes; then :
10419 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wformat-overflow"
10421 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wnonnull" >&5
10422 $as_echo_n "checking whether the cross-compiler supports -Wnonnull... " >&6; }
10423 if ${ac_cv_crosscflags__Wnonnull+:} false; then :
10424 $as_echo_n "(cached) " >&6
10425 else
10426 ac_wine_try_cflags_saved=$CFLAGS
10427 ac_wine_try_cflags_saved_cc=$CC
10428 ac_wine_try_cflags_saved_exeext=$ac_exeext
10429 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wnonnull"
10430 CC="$CROSSCC"
10431 ac_exeext=".exe"
10432 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10433 /* end confdefs.h. */
10434 int __cdecl mainCRTStartup(void) { return 0; }
10435 _ACEOF
10436 if ac_fn_c_try_link "$LINENO"; then :
10437 ac_cv_crosscflags__Wnonnull=yes
10438 else
10439 ac_cv_crosscflags__Wnonnull=no
10441 rm -f core conftest.err conftest.$ac_objext \
10442 conftest$ac_exeext conftest.$ac_ext
10443 CFLAGS=$ac_wine_try_cflags_saved
10444 CC=$ac_wine_try_cflags_saved_cc
10445 ac_exeext=$ac_wine_try_cflags_saved_exeext
10447 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wnonnull" >&5
10448 $as_echo "$ac_cv_crosscflags__Wnonnull" >&6; }
10449 if test "x$ac_cv_crosscflags__Wnonnull" = xyes; then :
10450 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wnonnull"
10452 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -mcx16" >&5
10453 $as_echo_n "checking whether the cross-compiler supports -mcx16... " >&6; }
10454 if ${ac_cv_crosscflags__mcx16+:} false; then :
10455 $as_echo_n "(cached) " >&6
10456 else
10457 ac_wine_try_cflags_saved=$CFLAGS
10458 ac_wine_try_cflags_saved_cc=$CC
10459 ac_wine_try_cflags_saved_exeext=$ac_exeext
10460 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -mcx16"
10461 CC="$CROSSCC"
10462 ac_exeext=".exe"
10463 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10464 /* end confdefs.h. */
10465 int __cdecl mainCRTStartup(void) { return 0; }
10466 _ACEOF
10467 if ac_fn_c_try_link "$LINENO"; then :
10468 ac_cv_crosscflags__mcx16=yes
10469 else
10470 ac_cv_crosscflags__mcx16=no
10472 rm -f core conftest.err conftest.$ac_objext \
10473 conftest$ac_exeext conftest.$ac_ext
10474 CFLAGS=$ac_wine_try_cflags_saved
10475 CC=$ac_wine_try_cflags_saved_cc
10476 ac_exeext=$ac_wine_try_cflags_saved_exeext
10478 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__mcx16" >&5
10479 $as_echo "$ac_cv_crosscflags__mcx16" >&6; }
10480 if test "x$ac_cv_crosscflags__mcx16" = xyes; then :
10481 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -mcx16"
10482 fi ;;
10483 aarch64) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wno-format" >&5
10484 $as_echo_n "checking whether the cross-compiler supports -Wno-format... " >&6; }
10485 if ${ac_cv_crosscflags__Wno_format+:} false; then :
10486 $as_echo_n "(cached) " >&6
10487 else
10488 ac_wine_try_cflags_saved=$CFLAGS
10489 ac_wine_try_cflags_saved_cc=$CC
10490 ac_wine_try_cflags_saved_exeext=$ac_exeext
10491 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wno-format"
10492 CC="$CROSSCC"
10493 ac_exeext=".exe"
10494 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10495 /* end confdefs.h. */
10496 int __cdecl mainCRTStartup(void) { return 0; }
10497 _ACEOF
10498 if ac_fn_c_try_link "$LINENO"; then :
10499 ac_cv_crosscflags__Wno_format=yes
10500 else
10501 ac_cv_crosscflags__Wno_format=no
10503 rm -f core conftest.err conftest.$ac_objext \
10504 conftest$ac_exeext conftest.$ac_ext
10505 CFLAGS=$ac_wine_try_cflags_saved
10506 CC=$ac_wine_try_cflags_saved_cc
10507 ac_exeext=$ac_wine_try_cflags_saved_exeext
10509 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wno_format" >&5
10510 $as_echo "$ac_cv_crosscflags__Wno_format" >&6; }
10511 if test "x$ac_cv_crosscflags__Wno_format" = xyes; then :
10512 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wno-format"
10513 fi ;;
10514 esac
10517 if test -z "$CROSSDEBUG"
10518 then
10519 for ac_flag in $CROSSCFLAGS; do
10520 case $ac_flag in
10521 -gdwarf*) CROSSDEBUG=dwarf ;;
10522 -gcodeview) CROSSDEBUG=pdb ;;
10523 -g) CROSSDEBUG=${CROSSDEBUG:-dwarf} ;;
10524 esac
10525 done
10527 case $CROSSDEBUG in
10528 *dwarf) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -gdwarf-2" >&5
10529 $as_echo_n "checking whether the cross-compiler supports -gdwarf-2... " >&6; }
10530 if ${ac_cv_crosscflags__gdwarf_2+:} false; then :
10531 $as_echo_n "(cached) " >&6
10532 else
10533 ac_wine_try_cflags_saved=$CFLAGS
10534 ac_wine_try_cflags_saved_cc=$CC
10535 ac_wine_try_cflags_saved_exeext=$ac_exeext
10536 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -gdwarf-2"
10537 CC="$CROSSCC"
10538 ac_exeext=".exe"
10539 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10540 /* end confdefs.h. */
10541 int __cdecl mainCRTStartup(void) { return 0; }
10542 _ACEOF
10543 if ac_fn_c_try_link "$LINENO"; then :
10544 ac_cv_crosscflags__gdwarf_2=yes
10545 else
10546 ac_cv_crosscflags__gdwarf_2=no
10548 rm -f core conftest.err conftest.$ac_objext \
10549 conftest$ac_exeext conftest.$ac_ext
10550 CFLAGS=$ac_wine_try_cflags_saved
10551 CC=$ac_wine_try_cflags_saved_cc
10552 ac_exeext=$ac_wine_try_cflags_saved_exeext
10554 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__gdwarf_2" >&5
10555 $as_echo "$ac_cv_crosscflags__gdwarf_2" >&6; }
10556 if test "x$ac_cv_crosscflags__gdwarf_2" = xyes; then :
10557 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -gdwarf-2"
10559 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -gstrict-dwarf" >&5
10560 $as_echo_n "checking whether the cross-compiler supports -gstrict-dwarf... " >&6; }
10561 if ${ac_cv_crosscflags__gstrict_dwarf+:} false; then :
10562 $as_echo_n "(cached) " >&6
10563 else
10564 ac_wine_try_cflags_saved=$CFLAGS
10565 ac_wine_try_cflags_saved_cc=$CC
10566 ac_wine_try_cflags_saved_exeext=$ac_exeext
10567 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -gstrict-dwarf"
10568 CC="$CROSSCC"
10569 ac_exeext=".exe"
10570 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10571 /* end confdefs.h. */
10572 int __cdecl mainCRTStartup(void) { return 0; }
10573 _ACEOF
10574 if ac_fn_c_try_link "$LINENO"; then :
10575 ac_cv_crosscflags__gstrict_dwarf=yes
10576 else
10577 ac_cv_crosscflags__gstrict_dwarf=no
10579 rm -f core conftest.err conftest.$ac_objext \
10580 conftest$ac_exeext conftest.$ac_ext
10581 CFLAGS=$ac_wine_try_cflags_saved
10582 CC=$ac_wine_try_cflags_saved_cc
10583 ac_exeext=$ac_wine_try_cflags_saved_exeext
10585 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__gstrict_dwarf" >&5
10586 $as_echo "$ac_cv_crosscflags__gstrict_dwarf" >&6; }
10587 if test "x$ac_cv_crosscflags__gstrict_dwarf" = xyes; then :
10588 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -gstrict-dwarf"
10589 fi ;;
10590 pdb) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -gcodeview" >&5
10591 $as_echo_n "checking whether the cross-compiler supports -gcodeview... " >&6; }
10592 if ${ac_cv_crosscflags__gcodeview+:} false; then :
10593 $as_echo_n "(cached) " >&6
10594 else
10595 ac_wine_try_cflags_saved=$CFLAGS
10596 ac_wine_try_cflags_saved_cc=$CC
10597 ac_wine_try_cflags_saved_exeext=$ac_exeext
10598 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -gcodeview"
10599 CC="$CROSSCC"
10600 ac_exeext=".exe"
10601 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10602 /* end confdefs.h. */
10603 int __cdecl mainCRTStartup(void) { return 0; }
10604 _ACEOF
10605 if ac_fn_c_try_link "$LINENO"; then :
10606 ac_cv_crosscflags__gcodeview=yes
10607 else
10608 ac_cv_crosscflags__gcodeview=no
10610 rm -f core conftest.err conftest.$ac_objext \
10611 conftest$ac_exeext conftest.$ac_ext
10612 CFLAGS=$ac_wine_try_cflags_saved
10613 CC=$ac_wine_try_cflags_saved_cc
10614 ac_exeext=$ac_wine_try_cflags_saved_exeext
10616 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__gcodeview" >&5
10617 $as_echo "$ac_cv_crosscflags__gcodeview" >&6; }
10618 if test "x$ac_cv_crosscflags__gcodeview" = xyes; then :
10619 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -gcodeview"
10620 fi ;;
10621 esac
10623 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -fexcess-precision=standard" >&5
10624 $as_echo_n "checking whether the cross-compiler supports -fexcess-precision=standard... " >&6; }
10625 if ${ac_cv_crosscflags__fexcess_precision_standard+:} false; then :
10626 $as_echo_n "(cached) " >&6
10627 else
10628 ac_wine_try_cflags_saved=$CFLAGS
10629 ac_wine_try_cflags_saved_cc=$CC
10630 ac_wine_try_cflags_saved_exeext=$ac_exeext
10631 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -fexcess-precision=standard"
10632 CC="$CROSSCC"
10633 ac_exeext=".exe"
10634 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10635 /* end confdefs.h. */
10636 int __cdecl mainCRTStartup(void) { return 0; }
10637 _ACEOF
10638 if ac_fn_c_try_link "$LINENO"; then :
10639 ac_cv_crosscflags__fexcess_precision_standard=yes
10640 else
10641 ac_cv_crosscflags__fexcess_precision_standard=no
10643 rm -f core conftest.err conftest.$ac_objext \
10644 conftest$ac_exeext conftest.$ac_ext
10645 CFLAGS=$ac_wine_try_cflags_saved
10646 CC=$ac_wine_try_cflags_saved_cc
10647 ac_exeext=$ac_wine_try_cflags_saved_exeext
10649 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__fexcess_precision_standard" >&5
10650 $as_echo "$ac_cv_crosscflags__fexcess_precision_standard" >&6; }
10651 if test "x$ac_cv_crosscflags__fexcess_precision_standard" = xyes; then :
10652 EXCESS_PRECISION_CFLAGS="-fexcess-precision=standard"
10656 if test "x$enable_werror" = "xyes"
10657 then
10658 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Werror" >&5
10659 $as_echo_n "checking whether the cross-compiler supports -Werror... " >&6; }
10660 if ${ac_cv_crosscflags__Werror+:} false; then :
10661 $as_echo_n "(cached) " >&6
10662 else
10663 ac_wine_try_cflags_saved=$CFLAGS
10664 ac_wine_try_cflags_saved_cc=$CC
10665 ac_wine_try_cflags_saved_exeext=$ac_exeext
10666 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Werror"
10667 CC="$CROSSCC"
10668 ac_exeext=".exe"
10669 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10670 /* end confdefs.h. */
10671 int __cdecl mainCRTStartup(void) { return 0; }
10672 _ACEOF
10673 if ac_fn_c_try_link "$LINENO"; then :
10674 ac_cv_crosscflags__Werror=yes
10675 else
10676 ac_cv_crosscflags__Werror=no
10678 rm -f core conftest.err conftest.$ac_objext \
10679 conftest$ac_exeext conftest.$ac_ext
10680 CFLAGS=$ac_wine_try_cflags_saved
10681 CC=$ac_wine_try_cflags_saved_cc
10682 ac_exeext=$ac_wine_try_cflags_saved_exeext
10684 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Werror" >&5
10685 $as_echo "$ac_cv_crosscflags__Werror" >&6; }
10686 if test "x$ac_cv_crosscflags__Werror" = xyes; then :
10687 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Werror"
10690 if test "x$enable_build_id" = "xyes"
10691 then
10692 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wl,--build-id" >&5
10693 $as_echo_n "checking whether the cross-compiler supports -Wl,--build-id... " >&6; }
10694 if ${ac_cv_crosscflags__Wl___build_id+:} false; then :
10695 $as_echo_n "(cached) " >&6
10696 else
10697 ac_wine_try_cflags_saved=$CFLAGS
10698 ac_wine_try_cflags_saved_cc=$CC
10699 ac_wine_try_cflags_saved_exeext=$ac_exeext
10700 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wl,--build-id"
10701 CC="$CROSSCC"
10702 ac_exeext=".exe"
10703 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10704 /* end confdefs.h. */
10705 int __cdecl mainCRTStartup(void) { return 0; }
10706 _ACEOF
10707 if ac_fn_c_try_link "$LINENO"; then :
10708 ac_cv_crosscflags__Wl___build_id=yes
10709 else
10710 ac_cv_crosscflags__Wl___build_id=no
10712 rm -f core conftest.err conftest.$ac_objext \
10713 conftest$ac_exeext conftest.$ac_ext
10714 CFLAGS=$ac_wine_try_cflags_saved
10715 CC=$ac_wine_try_cflags_saved_cc
10716 ac_exeext=$ac_wine_try_cflags_saved_exeext
10718 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wl___build_id" >&5
10719 $as_echo "$ac_cv_crosscflags__Wl___build_id" >&6; }
10720 if test "x$ac_cv_crosscflags__Wl___build_id" = xyes; then :
10721 CROSSCFLAGS="$CROSSCFLAGS -Wl,--build-id"
10722 CROSSLDFLAGS="$CROSSLDFLAGS -Wl,--build-id"
10726 CFLAGS=$saved_CFLAGS
10727 CC="$ac_save_CC"
10730 if test "x$CROSSTARGET" = "x"; then :
10731 case "x$with_mingw" in
10732 x) as_fn_append wine_notices "|MinGW compiler not found, cross-compiling PE files won't be supported." ;;
10733 xno) ;;
10734 *) as_fn_error $? "MinGW compiler not found, cross-compiling PE files won't be supported.
10735 This is an error since --with-mingw was requested." "$LINENO" 5 ;;
10736 esac
10741 if test "$ac_cv_header_pthread_h" = "yes"
10742 then
10743 ac_fn_c_check_func "$LINENO" "pthread_create" "ac_cv_func_pthread_create"
10744 if test "x$ac_cv_func_pthread_create" = xyes; then :
10746 else
10747 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_create in -lpthread" >&5
10748 $as_echo_n "checking for pthread_create in -lpthread... " >&6; }
10749 if ${ac_cv_lib_pthread_pthread_create+:} false; then :
10750 $as_echo_n "(cached) " >&6
10751 else
10752 ac_check_lib_save_LIBS=$LIBS
10753 LIBS="-lpthread $LIBS"
10754 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10755 /* end confdefs.h. */
10757 /* Override any GCC internal prototype to avoid an error.
10758 Use char because int might match the return type of a GCC
10759 builtin and then its argument prototype would still apply. */
10760 #ifdef __cplusplus
10761 extern "C"
10762 #endif
10763 char pthread_create ();
10765 main ()
10767 return pthread_create ();
10769 return 0;
10771 _ACEOF
10772 if ac_fn_c_try_link "$LINENO"; then :
10773 ac_cv_lib_pthread_pthread_create=yes
10774 else
10775 ac_cv_lib_pthread_pthread_create=no
10777 rm -f core conftest.err conftest.$ac_objext \
10778 conftest$ac_exeext conftest.$ac_ext
10779 LIBS=$ac_check_lib_save_LIBS
10781 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_create" >&5
10782 $as_echo "$ac_cv_lib_pthread_pthread_create" >&6; }
10783 if test "x$ac_cv_lib_pthread_pthread_create" = xyes; then :
10784 PTHREAD_LIBS="-lpthread"
10791 if test "x$ac_cv_func_pthread_create" != xyes -a "x$PTHREAD_LIBS" = x; then :
10792 case "x$with_pthread" in
10793 xno) ;;
10794 *) as_fn_error $? "pthread ${notice_platform}development files not found.
10795 Wine cannot support threads without libpthread.
10796 Use the --without-pthread option if you really want this." "$LINENO" 5 ;;
10797 esac
10802 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for X" >&5
10803 $as_echo_n "checking for X... " >&6; }
10806 # Check whether --with-x was given.
10807 if test "${with_x+set}" = set; then :
10808 withval=$with_x;
10811 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
10812 if test "x$with_x" = xno; then
10813 # The user explicitly disabled X.
10814 have_x=disabled
10815 else
10816 case $x_includes,$x_libraries in #(
10817 *\'*) as_fn_error $? "cannot use X directory names containing '" "$LINENO" 5;; #(
10818 *,NONE | NONE,*) if ${ac_cv_have_x+:} false; then :
10819 $as_echo_n "(cached) " >&6
10820 else
10821 # One or both of the vars are not set, and there is no cached value.
10822 ac_x_includes=no ac_x_libraries=no
10823 rm -f -r conftest.dir
10824 if mkdir conftest.dir; then
10825 cd conftest.dir
10826 cat >Imakefile <<'_ACEOF'
10827 incroot:
10828 @echo incroot='${INCROOT}'
10829 usrlibdir:
10830 @echo usrlibdir='${USRLIBDIR}'
10831 libdir:
10832 @echo libdir='${LIBDIR}'
10833 _ACEOF
10834 if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
10835 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
10836 for ac_var in incroot usrlibdir libdir; do
10837 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
10838 done
10839 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
10840 for ac_extension in a so sl dylib la dll; do
10841 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
10842 test -f "$ac_im_libdir/libX11.$ac_extension"; then
10843 ac_im_usrlibdir=$ac_im_libdir; break
10845 done
10846 # Screen out bogus values from the imake configuration. They are
10847 # bogus both because they are the default anyway, and because
10848 # using them would break gcc on systems where it needs fixed includes.
10849 case $ac_im_incroot in
10850 /usr/include) ac_x_includes= ;;
10851 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
10852 esac
10853 case $ac_im_usrlibdir in
10854 /usr/lib | /usr/lib64 | /lib | /lib64) ;;
10855 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
10856 esac
10858 cd ..
10859 rm -f -r conftest.dir
10862 # Standard set of common directories for X headers.
10863 # Check X11 before X11Rn because it is often a symlink to the current release.
10864 ac_x_header_dirs='
10865 /usr/X11/include
10866 /usr/X11R7/include
10867 /usr/X11R6/include
10868 /usr/X11R5/include
10869 /usr/X11R4/include
10871 /usr/include/X11
10872 /usr/include/X11R7
10873 /usr/include/X11R6
10874 /usr/include/X11R5
10875 /usr/include/X11R4
10877 /usr/local/X11/include
10878 /usr/local/X11R7/include
10879 /usr/local/X11R6/include
10880 /usr/local/X11R5/include
10881 /usr/local/X11R4/include
10883 /usr/local/include/X11
10884 /usr/local/include/X11R7
10885 /usr/local/include/X11R6
10886 /usr/local/include/X11R5
10887 /usr/local/include/X11R4
10889 /usr/X386/include
10890 /usr/x386/include
10891 /usr/XFree86/include/X11
10893 /usr/include
10894 /usr/local/include
10895 /usr/unsupported/include
10896 /usr/athena/include
10897 /usr/local/x11r5/include
10898 /usr/lpp/Xamples/include
10900 /usr/openwin/include
10901 /usr/openwin/share/include'
10903 if test "$ac_x_includes" = no; then
10904 # Guess where to find include files, by looking for Xlib.h.
10905 # First, try using that file with no special directory specified.
10906 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10907 /* end confdefs.h. */
10908 #include <X11/Xlib.h>
10909 _ACEOF
10910 if ac_fn_c_try_cpp "$LINENO"; then :
10911 # We can compile using X headers with no special include directory.
10912 ac_x_includes=
10913 else
10914 for ac_dir in $ac_x_header_dirs; do
10915 if test -r "$ac_dir/X11/Xlib.h"; then
10916 ac_x_includes=$ac_dir
10917 break
10919 done
10921 rm -f conftest.err conftest.i conftest.$ac_ext
10922 fi # $ac_x_includes = no
10924 if test "$ac_x_libraries" = no; then
10925 # Check for the libraries.
10926 # See if we find them without any special options.
10927 # Don't add to $LIBS permanently.
10928 ac_save_LIBS=$LIBS
10929 LIBS="-lX11 $LIBS"
10930 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10931 /* end confdefs.h. */
10932 #include <X11/Xlib.h>
10934 main ()
10936 XrmInitialize ()
10938 return 0;
10940 _ACEOF
10941 if ac_fn_c_try_link "$LINENO"; then :
10942 LIBS=$ac_save_LIBS
10943 # We can link X programs with no special library path.
10944 ac_x_libraries=
10945 else
10946 LIBS=$ac_save_LIBS
10947 for ac_dir in `$as_echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
10949 # Don't even attempt the hair of trying to link an X program!
10950 for ac_extension in a so sl dylib la dll; do
10951 if test -r "$ac_dir/libX11.$ac_extension"; then
10952 ac_x_libraries=$ac_dir
10953 break 2
10955 done
10956 done
10958 rm -f core conftest.err conftest.$ac_objext \
10959 conftest$ac_exeext conftest.$ac_ext
10960 fi # $ac_x_libraries = no
10962 case $ac_x_includes,$ac_x_libraries in #(
10963 no,* | *,no | *\'*)
10964 # Didn't find X, or a directory has "'" in its name.
10965 ac_cv_have_x="have_x=no";; #(
10967 # Record where we found X for the cache.
10968 ac_cv_have_x="have_x=yes\
10969 ac_x_includes='$ac_x_includes'\
10970 ac_x_libraries='$ac_x_libraries'"
10971 esac
10973 ;; #(
10974 *) have_x=yes;;
10975 esac
10976 eval "$ac_cv_have_x"
10977 fi # $with_x != no
10979 if test "$have_x" != yes; then
10980 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_x" >&5
10981 $as_echo "$have_x" >&6; }
10982 no_x=yes
10983 else
10984 # If each of the values was on the command line, it overrides each guess.
10985 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
10986 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
10987 # Update the cache value to reflect the command line values.
10988 ac_cv_have_x="have_x=yes\
10989 ac_x_includes='$x_includes'\
10990 ac_x_libraries='$x_libraries'"
10991 { $as_echo "$as_me:${as_lineno-$LINENO}: result: libraries $x_libraries, headers $x_includes" >&5
10992 $as_echo "libraries $x_libraries, headers $x_includes" >&6; }
10995 if test "$no_x" = yes; then
10996 # Not all programs may use this symbol, but it does not hurt to define it.
10998 $as_echo "#define X_DISPLAY_MISSING 1" >>confdefs.h
11000 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
11001 else
11002 if test -n "$x_includes"; then
11003 X_CFLAGS="$X_CFLAGS -I$x_includes"
11006 # It would also be nice to do this for all -L options, not just this one.
11007 if test -n "$x_libraries"; then
11008 X_LIBS="$X_LIBS -L$x_libraries"
11009 # For Solaris; some versions of Sun CC require a space after -R and
11010 # others require no space. Words are not sufficient . . . .
11011 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -R must be followed by a space" >&5
11012 $as_echo_n "checking whether -R must be followed by a space... " >&6; }
11013 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
11014 ac_xsave_c_werror_flag=$ac_c_werror_flag
11015 ac_c_werror_flag=yes
11016 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11017 /* end confdefs.h. */
11020 main ()
11024 return 0;
11026 _ACEOF
11027 if ac_fn_c_try_link "$LINENO"; then :
11028 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11029 $as_echo "no" >&6; }
11030 X_LIBS="$X_LIBS -R$x_libraries"
11031 else
11032 LIBS="$ac_xsave_LIBS -R $x_libraries"
11033 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11034 /* end confdefs.h. */
11037 main ()
11041 return 0;
11043 _ACEOF
11044 if ac_fn_c_try_link "$LINENO"; then :
11045 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11046 $as_echo "yes" >&6; }
11047 X_LIBS="$X_LIBS -R $x_libraries"
11048 else
11049 { $as_echo "$as_me:${as_lineno-$LINENO}: result: neither works" >&5
11050 $as_echo "neither works" >&6; }
11052 rm -f core conftest.err conftest.$ac_objext \
11053 conftest$ac_exeext conftest.$ac_ext
11055 rm -f core conftest.err conftest.$ac_objext \
11056 conftest$ac_exeext conftest.$ac_ext
11057 ac_c_werror_flag=$ac_xsave_c_werror_flag
11058 LIBS=$ac_xsave_LIBS
11061 # Check for system-dependent libraries X programs must link with.
11062 # Do this before checking for the system-independent R6 libraries
11063 # (-lICE), since we may need -lsocket or whatever for X linking.
11065 if test "$ISC" = yes; then
11066 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
11067 else
11068 # Martyn Johnson says this is needed for Ultrix, if the X
11069 # libraries were built with DECnet support. And Karl Berry says
11070 # the Alpha needs dnet_stub (dnet does not exist).
11071 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
11072 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11073 /* end confdefs.h. */
11075 /* Override any GCC internal prototype to avoid an error.
11076 Use char because int might match the return type of a GCC
11077 builtin and then its argument prototype would still apply. */
11078 #ifdef __cplusplus
11079 extern "C"
11080 #endif
11081 char XOpenDisplay ();
11083 main ()
11085 return XOpenDisplay ();
11087 return 0;
11089 _ACEOF
11090 if ac_fn_c_try_link "$LINENO"; then :
11092 else
11093 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet" >&5
11094 $as_echo_n "checking for dnet_ntoa in -ldnet... " >&6; }
11095 if ${ac_cv_lib_dnet_dnet_ntoa+:} false; then :
11096 $as_echo_n "(cached) " >&6
11097 else
11098 ac_check_lib_save_LIBS=$LIBS
11099 LIBS="-ldnet $LIBS"
11100 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11101 /* end confdefs.h. */
11103 /* Override any GCC internal prototype to avoid an error.
11104 Use char because int might match the return type of a GCC
11105 builtin and then its argument prototype would still apply. */
11106 #ifdef __cplusplus
11107 extern "C"
11108 #endif
11109 char dnet_ntoa ();
11111 main ()
11113 return dnet_ntoa ();
11115 return 0;
11117 _ACEOF
11118 if ac_fn_c_try_link "$LINENO"; then :
11119 ac_cv_lib_dnet_dnet_ntoa=yes
11120 else
11121 ac_cv_lib_dnet_dnet_ntoa=no
11123 rm -f core conftest.err conftest.$ac_objext \
11124 conftest$ac_exeext conftest.$ac_ext
11125 LIBS=$ac_check_lib_save_LIBS
11127 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
11128 $as_echo "$ac_cv_lib_dnet_dnet_ntoa" >&6; }
11129 if test "x$ac_cv_lib_dnet_dnet_ntoa" = xyes; then :
11130 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
11133 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
11134 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet_stub" >&5
11135 $as_echo_n "checking for dnet_ntoa in -ldnet_stub... " >&6; }
11136 if ${ac_cv_lib_dnet_stub_dnet_ntoa+:} false; then :
11137 $as_echo_n "(cached) " >&6
11138 else
11139 ac_check_lib_save_LIBS=$LIBS
11140 LIBS="-ldnet_stub $LIBS"
11141 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11142 /* end confdefs.h. */
11144 /* Override any GCC internal prototype to avoid an error.
11145 Use char because int might match the return type of a GCC
11146 builtin and then its argument prototype would still apply. */
11147 #ifdef __cplusplus
11148 extern "C"
11149 #endif
11150 char dnet_ntoa ();
11152 main ()
11154 return dnet_ntoa ();
11156 return 0;
11158 _ACEOF
11159 if ac_fn_c_try_link "$LINENO"; then :
11160 ac_cv_lib_dnet_stub_dnet_ntoa=yes
11161 else
11162 ac_cv_lib_dnet_stub_dnet_ntoa=no
11164 rm -f core conftest.err conftest.$ac_objext \
11165 conftest$ac_exeext conftest.$ac_ext
11166 LIBS=$ac_check_lib_save_LIBS
11168 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
11169 $as_echo "$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
11170 if test "x$ac_cv_lib_dnet_stub_dnet_ntoa" = xyes; then :
11171 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
11176 rm -f core conftest.err conftest.$ac_objext \
11177 conftest$ac_exeext conftest.$ac_ext
11178 LIBS="$ac_xsave_LIBS"
11180 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
11181 # to get the SysV transport functions.
11182 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
11183 # needs -lnsl.
11184 # The nsl library prevents programs from opening the X display
11185 # on Irix 5.2, according to T.E. Dickey.
11186 # The functions gethostbyname, getservbyname, and inet_addr are
11187 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
11188 ac_fn_c_check_func "$LINENO" "gethostbyname" "ac_cv_func_gethostbyname"
11189 if test "x$ac_cv_func_gethostbyname" = xyes; then :
11193 if test $ac_cv_func_gethostbyname = no; then
11194 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnsl" >&5
11195 $as_echo_n "checking for gethostbyname in -lnsl... " >&6; }
11196 if ${ac_cv_lib_nsl_gethostbyname+:} false; then :
11197 $as_echo_n "(cached) " >&6
11198 else
11199 ac_check_lib_save_LIBS=$LIBS
11200 LIBS="-lnsl $LIBS"
11201 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11202 /* end confdefs.h. */
11204 /* Override any GCC internal prototype to avoid an error.
11205 Use char because int might match the return type of a GCC
11206 builtin and then its argument prototype would still apply. */
11207 #ifdef __cplusplus
11208 extern "C"
11209 #endif
11210 char gethostbyname ();
11212 main ()
11214 return gethostbyname ();
11216 return 0;
11218 _ACEOF
11219 if ac_fn_c_try_link "$LINENO"; then :
11220 ac_cv_lib_nsl_gethostbyname=yes
11221 else
11222 ac_cv_lib_nsl_gethostbyname=no
11224 rm -f core conftest.err conftest.$ac_objext \
11225 conftest$ac_exeext conftest.$ac_ext
11226 LIBS=$ac_check_lib_save_LIBS
11228 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_gethostbyname" >&5
11229 $as_echo "$ac_cv_lib_nsl_gethostbyname" >&6; }
11230 if test "x$ac_cv_lib_nsl_gethostbyname" = xyes; then :
11231 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
11234 if test $ac_cv_lib_nsl_gethostbyname = no; then
11235 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lbsd" >&5
11236 $as_echo_n "checking for gethostbyname in -lbsd... " >&6; }
11237 if ${ac_cv_lib_bsd_gethostbyname+:} false; then :
11238 $as_echo_n "(cached) " >&6
11239 else
11240 ac_check_lib_save_LIBS=$LIBS
11241 LIBS="-lbsd $LIBS"
11242 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11243 /* end confdefs.h. */
11245 /* Override any GCC internal prototype to avoid an error.
11246 Use char because int might match the return type of a GCC
11247 builtin and then its argument prototype would still apply. */
11248 #ifdef __cplusplus
11249 extern "C"
11250 #endif
11251 char gethostbyname ();
11253 main ()
11255 return gethostbyname ();
11257 return 0;
11259 _ACEOF
11260 if ac_fn_c_try_link "$LINENO"; then :
11261 ac_cv_lib_bsd_gethostbyname=yes
11262 else
11263 ac_cv_lib_bsd_gethostbyname=no
11265 rm -f core conftest.err conftest.$ac_objext \
11266 conftest$ac_exeext conftest.$ac_ext
11267 LIBS=$ac_check_lib_save_LIBS
11269 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bsd_gethostbyname" >&5
11270 $as_echo "$ac_cv_lib_bsd_gethostbyname" >&6; }
11271 if test "x$ac_cv_lib_bsd_gethostbyname" = xyes; then :
11272 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
11278 # lieder@skyler.mavd.honeywell.com says without -lsocket,
11279 # socket/setsockopt and other routines are undefined under SCO ODT
11280 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
11281 # on later versions), says Simon Leinen: it contains gethostby*
11282 # variants that don't use the name server (or something). -lsocket
11283 # must be given before -lnsl if both are needed. We assume that
11284 # if connect needs -lnsl, so does gethostbyname.
11285 ac_fn_c_check_func "$LINENO" "connect" "ac_cv_func_connect"
11286 if test "x$ac_cv_func_connect" = xyes; then :
11290 if test $ac_cv_func_connect = no; then
11291 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for connect in -lsocket" >&5
11292 $as_echo_n "checking for connect in -lsocket... " >&6; }
11293 if ${ac_cv_lib_socket_connect+:} false; then :
11294 $as_echo_n "(cached) " >&6
11295 else
11296 ac_check_lib_save_LIBS=$LIBS
11297 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
11298 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11299 /* end confdefs.h. */
11301 /* Override any GCC internal prototype to avoid an error.
11302 Use char because int might match the return type of a GCC
11303 builtin and then its argument prototype would still apply. */
11304 #ifdef __cplusplus
11305 extern "C"
11306 #endif
11307 char connect ();
11309 main ()
11311 return connect ();
11313 return 0;
11315 _ACEOF
11316 if ac_fn_c_try_link "$LINENO"; then :
11317 ac_cv_lib_socket_connect=yes
11318 else
11319 ac_cv_lib_socket_connect=no
11321 rm -f core conftest.err conftest.$ac_objext \
11322 conftest$ac_exeext conftest.$ac_ext
11323 LIBS=$ac_check_lib_save_LIBS
11325 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_connect" >&5
11326 $as_echo "$ac_cv_lib_socket_connect" >&6; }
11327 if test "x$ac_cv_lib_socket_connect" = xyes; then :
11328 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
11333 # Guillermo Gomez says -lposix is necessary on A/UX.
11334 ac_fn_c_check_func "$LINENO" "remove" "ac_cv_func_remove"
11335 if test "x$ac_cv_func_remove" = xyes; then :
11339 if test $ac_cv_func_remove = no; then
11340 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for remove in -lposix" >&5
11341 $as_echo_n "checking for remove in -lposix... " >&6; }
11342 if ${ac_cv_lib_posix_remove+:} false; then :
11343 $as_echo_n "(cached) " >&6
11344 else
11345 ac_check_lib_save_LIBS=$LIBS
11346 LIBS="-lposix $LIBS"
11347 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11348 /* end confdefs.h. */
11350 /* Override any GCC internal prototype to avoid an error.
11351 Use char because int might match the return type of a GCC
11352 builtin and then its argument prototype would still apply. */
11353 #ifdef __cplusplus
11354 extern "C"
11355 #endif
11356 char remove ();
11358 main ()
11360 return remove ();
11362 return 0;
11364 _ACEOF
11365 if ac_fn_c_try_link "$LINENO"; then :
11366 ac_cv_lib_posix_remove=yes
11367 else
11368 ac_cv_lib_posix_remove=no
11370 rm -f core conftest.err conftest.$ac_objext \
11371 conftest$ac_exeext conftest.$ac_ext
11372 LIBS=$ac_check_lib_save_LIBS
11374 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix_remove" >&5
11375 $as_echo "$ac_cv_lib_posix_remove" >&6; }
11376 if test "x$ac_cv_lib_posix_remove" = xyes; then :
11377 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
11382 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
11383 ac_fn_c_check_func "$LINENO" "shmat" "ac_cv_func_shmat"
11384 if test "x$ac_cv_func_shmat" = xyes; then :
11388 if test $ac_cv_func_shmat = no; then
11389 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shmat in -lipc" >&5
11390 $as_echo_n "checking for shmat in -lipc... " >&6; }
11391 if ${ac_cv_lib_ipc_shmat+:} false; then :
11392 $as_echo_n "(cached) " >&6
11393 else
11394 ac_check_lib_save_LIBS=$LIBS
11395 LIBS="-lipc $LIBS"
11396 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11397 /* end confdefs.h. */
11399 /* Override any GCC internal prototype to avoid an error.
11400 Use char because int might match the return type of a GCC
11401 builtin and then its argument prototype would still apply. */
11402 #ifdef __cplusplus
11403 extern "C"
11404 #endif
11405 char shmat ();
11407 main ()
11409 return shmat ();
11411 return 0;
11413 _ACEOF
11414 if ac_fn_c_try_link "$LINENO"; then :
11415 ac_cv_lib_ipc_shmat=yes
11416 else
11417 ac_cv_lib_ipc_shmat=no
11419 rm -f core conftest.err conftest.$ac_objext \
11420 conftest$ac_exeext conftest.$ac_ext
11421 LIBS=$ac_check_lib_save_LIBS
11423 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ipc_shmat" >&5
11424 $as_echo "$ac_cv_lib_ipc_shmat" >&6; }
11425 if test "x$ac_cv_lib_ipc_shmat" = xyes; then :
11426 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
11432 # Check for libraries that X11R6 Xt/Xaw programs need.
11433 ac_save_LDFLAGS=$LDFLAGS
11434 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
11435 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
11436 # check for ICE first), but we must link in the order -lSM -lICE or
11437 # we get undefined symbols. So assume we have SM if we have ICE.
11438 # These have to be linked with before -lX11, unlike the other
11439 # libraries we check for below, so use a different variable.
11440 # John Interrante, Karl Berry
11441 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for IceConnectionNumber in -lICE" >&5
11442 $as_echo_n "checking for IceConnectionNumber in -lICE... " >&6; }
11443 if ${ac_cv_lib_ICE_IceConnectionNumber+:} false; then :
11444 $as_echo_n "(cached) " >&6
11445 else
11446 ac_check_lib_save_LIBS=$LIBS
11447 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
11448 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11449 /* end confdefs.h. */
11451 /* Override any GCC internal prototype to avoid an error.
11452 Use char because int might match the return type of a GCC
11453 builtin and then its argument prototype would still apply. */
11454 #ifdef __cplusplus
11455 extern "C"
11456 #endif
11457 char IceConnectionNumber ();
11459 main ()
11461 return IceConnectionNumber ();
11463 return 0;
11465 _ACEOF
11466 if ac_fn_c_try_link "$LINENO"; then :
11467 ac_cv_lib_ICE_IceConnectionNumber=yes
11468 else
11469 ac_cv_lib_ICE_IceConnectionNumber=no
11471 rm -f core conftest.err conftest.$ac_objext \
11472 conftest$ac_exeext conftest.$ac_ext
11473 LIBS=$ac_check_lib_save_LIBS
11475 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
11476 $as_echo "$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
11477 if test "x$ac_cv_lib_ICE_IceConnectionNumber" = xyes; then :
11478 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
11481 LDFLAGS=$ac_save_LDFLAGS
11486 if test "$have_x" = "yes"
11487 then
11488 ac_save_CPPFLAGS="$CPPFLAGS"
11489 CPPFLAGS="$CPPFLAGS $X_CFLAGS"
11491 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lX11" >&5
11492 $as_echo_n "checking for -lX11... " >&6; }
11493 if ${ac_cv_lib_soname_X11+:} false; then :
11494 $as_echo_n "(cached) " >&6
11495 else
11496 ac_check_soname_save_LIBS=$LIBS
11497 LIBS="-lX11 $X_LIBS $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 XCreateWindow ();
11509 main ()
11511 return XCreateWindow ();
11513 return 0;
11515 _ACEOF
11516 if ac_fn_c_try_link "$LINENO"; then :
11517 case "$LIBEXT" in
11518 dll) ac_cv_lib_soname_X11=`$ac_cv_path_LDD conftest.exe | grep "X11" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11519 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'` ;;
11520 *) ac_cv_lib_soname_X11=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libX11\\.$LIBEXT" | sed -e "s/^.*\\[\\(libX11\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11521 if ${ac_cv_lib_soname_X11:+false} :; then :
11522 ac_cv_lib_soname_X11=`$LDD conftest$ac_exeext | grep "libX11\\.$LIBEXT" | sed -e "s/^.*\(libX11\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11523 fi ;;
11524 esac
11525 else
11526 ac_cv_lib_soname_X11=
11528 rm -f core conftest.err conftest.$ac_objext \
11529 conftest$ac_exeext conftest.$ac_ext
11530 LIBS=$ac_check_soname_save_LIBS
11532 if ${ac_cv_lib_soname_X11:+false} :; then :
11533 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11534 $as_echo "not found" >&6; }
11536 else
11537 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_X11" >&5
11538 $as_echo "$ac_cv_lib_soname_X11" >&6; }
11540 cat >>confdefs.h <<_ACEOF
11541 #define SONAME_LIBX11 "$ac_cv_lib_soname_X11"
11542 _ACEOF
11546 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXext" >&5
11547 $as_echo_n "checking for -lXext... " >&6; }
11548 if ${ac_cv_lib_soname_Xext+:} false; then :
11549 $as_echo_n "(cached) " >&6
11550 else
11551 ac_check_soname_save_LIBS=$LIBS
11552 LIBS="-lXext $X_LIBS -lX11 $X_EXTRA_LIBS $LIBS"
11553 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11554 /* end confdefs.h. */
11556 /* Override any GCC internal prototype to avoid an error.
11557 Use char because int might match the return type of a GCC
11558 builtin and then its argument prototype would still apply. */
11559 #ifdef __cplusplus
11560 extern "C"
11561 #endif
11562 char XextCreateExtension ();
11564 main ()
11566 return XextCreateExtension ();
11568 return 0;
11570 _ACEOF
11571 if ac_fn_c_try_link "$LINENO"; then :
11572 case "$LIBEXT" in
11573 dll) ac_cv_lib_soname_Xext=`$ac_cv_path_LDD conftest.exe | grep "Xext" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11574 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'` ;;
11575 *) ac_cv_lib_soname_Xext=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXext\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXext\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11576 if ${ac_cv_lib_soname_Xext:+false} :; then :
11577 ac_cv_lib_soname_Xext=`$LDD conftest$ac_exeext | grep "libXext\\.$LIBEXT" | sed -e "s/^.*\(libXext\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11578 fi ;;
11579 esac
11580 else
11581 ac_cv_lib_soname_Xext=
11583 rm -f core conftest.err conftest.$ac_objext \
11584 conftest$ac_exeext conftest.$ac_ext
11585 LIBS=$ac_check_soname_save_LIBS
11587 if ${ac_cv_lib_soname_Xext:+false} :; then :
11588 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11589 $as_echo "not found" >&6; }
11591 else
11592 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xext" >&5
11593 $as_echo "$ac_cv_lib_soname_Xext" >&6; }
11595 cat >>confdefs.h <<_ACEOF
11596 #define SONAME_LIBXEXT "$ac_cv_lib_soname_Xext"
11597 _ACEOF
11599 X_LIBS="$X_LIBS -lXext"
11601 X_LIBS="$X_LIBS -lX11"
11603 for ac_header in X11/Xlib.h \
11604 X11/XKBlib.h \
11605 X11/Xutil.h \
11606 X11/Xcursor/Xcursor.h \
11607 X11/extensions/shape.h \
11608 X11/extensions/XInput.h \
11609 X11/extensions/XInput2.h \
11610 X11/extensions/XShm.h \
11611 X11/extensions/Xcomposite.h \
11612 X11/extensions/Xfixes.h \
11613 X11/extensions/Xinerama.h \
11614 X11/extensions/Xrandr.h \
11615 X11/extensions/Xrender.h \
11616 X11/extensions/xf86vmode.h \
11617 X11/extensions/xf86vmproto.h
11618 do :
11619 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
11620 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_X11_XLIB_H
11621 # include <X11/Xlib.h>
11622 #endif
11623 #ifdef HAVE_X11_XUTIL_H
11624 # include <X11/Xutil.h>
11625 #endif
11627 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
11628 cat >>confdefs.h <<_ACEOF
11629 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
11630 _ACEOF
11634 done
11637 if test "$ac_cv_header_X11_XKBlib_h" = "yes"
11638 then
11639 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XkbQueryExtension in -lX11" >&5
11640 $as_echo_n "checking for XkbQueryExtension in -lX11... " >&6; }
11641 if ${ac_cv_lib_X11_XkbQueryExtension+:} false; then :
11642 $as_echo_n "(cached) " >&6
11643 else
11644 ac_check_lib_save_LIBS=$LIBS
11645 LIBS="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
11646 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11647 /* end confdefs.h. */
11649 /* Override any GCC internal prototype to avoid an error.
11650 Use char because int might match the return type of a GCC
11651 builtin and then its argument prototype would still apply. */
11652 #ifdef __cplusplus
11653 extern "C"
11654 #endif
11655 char XkbQueryExtension ();
11657 main ()
11659 return XkbQueryExtension ();
11661 return 0;
11663 _ACEOF
11664 if ac_fn_c_try_link "$LINENO"; then :
11665 ac_cv_lib_X11_XkbQueryExtension=yes
11666 else
11667 ac_cv_lib_X11_XkbQueryExtension=no
11669 rm -f core conftest.err conftest.$ac_objext \
11670 conftest$ac_exeext conftest.$ac_ext
11671 LIBS=$ac_check_lib_save_LIBS
11673 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_X11_XkbQueryExtension" >&5
11674 $as_echo "$ac_cv_lib_X11_XkbQueryExtension" >&6; }
11675 if test "x$ac_cv_lib_X11_XkbQueryExtension" = xyes; then :
11677 $as_echo "#define HAVE_XKB 1" >>confdefs.h
11683 if test "$ac_cv_header_X11_Xcursor_Xcursor_h" = "yes"
11684 then
11685 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXcursor" >&5
11686 $as_echo_n "checking for -lXcursor... " >&6; }
11687 if ${ac_cv_lib_soname_Xcursor+:} false; then :
11688 $as_echo_n "(cached) " >&6
11689 else
11690 ac_check_soname_save_LIBS=$LIBS
11691 LIBS="-lXcursor $X_LIBS $X_EXTRA_LIBS $LIBS"
11692 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11693 /* end confdefs.h. */
11695 /* Override any GCC internal prototype to avoid an error.
11696 Use char because int might match the return type of a GCC
11697 builtin and then its argument prototype would still apply. */
11698 #ifdef __cplusplus
11699 extern "C"
11700 #endif
11701 char XcursorImageLoadCursor ();
11703 main ()
11705 return XcursorImageLoadCursor ();
11707 return 0;
11709 _ACEOF
11710 if ac_fn_c_try_link "$LINENO"; then :
11711 case "$LIBEXT" in
11712 dll) ac_cv_lib_soname_Xcursor=`$ac_cv_path_LDD conftest.exe | grep "Xcursor" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11713 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'` ;;
11714 *) ac_cv_lib_soname_Xcursor=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcursor\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcursor\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11715 if ${ac_cv_lib_soname_Xcursor:+false} :; then :
11716 ac_cv_lib_soname_Xcursor=`$LDD conftest$ac_exeext | grep "libXcursor\\.$LIBEXT" | sed -e "s/^.*\(libXcursor\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11717 fi ;;
11718 esac
11719 else
11720 ac_cv_lib_soname_Xcursor=
11722 rm -f core conftest.err conftest.$ac_objext \
11723 conftest$ac_exeext conftest.$ac_ext
11724 LIBS=$ac_check_soname_save_LIBS
11726 if ${ac_cv_lib_soname_Xcursor:+false} :; then :
11727 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11728 $as_echo "not found" >&6; }
11730 else
11731 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcursor" >&5
11732 $as_echo "$ac_cv_lib_soname_Xcursor" >&6; }
11734 cat >>confdefs.h <<_ACEOF
11735 #define SONAME_LIBXCURSOR "$ac_cv_lib_soname_Xcursor"
11736 _ACEOF
11741 if test "x$ac_cv_lib_soname_Xcursor" = "x"; then :
11742 case "x$with_xcursor" in
11743 x) as_fn_append wine_notices "|libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported." ;;
11744 xno) ;;
11745 *) as_fn_error $? "libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported.
11746 This is an error since --with-xcursor was requested." "$LINENO" 5 ;;
11747 esac
11751 if test "$ac_cv_header_X11_extensions_XInput_h" = "yes"
11752 then
11753 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXi" >&5
11754 $as_echo_n "checking for -lXi... " >&6; }
11755 if ${ac_cv_lib_soname_Xi+:} false; then :
11756 $as_echo_n "(cached) " >&6
11757 else
11758 ac_check_soname_save_LIBS=$LIBS
11759 LIBS="-lXi $X_LIBS $X_EXTRA_LIBS $LIBS"
11760 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11761 /* end confdefs.h. */
11763 /* Override any GCC internal prototype to avoid an error.
11764 Use char because int might match the return type of a GCC
11765 builtin and then its argument prototype would still apply. */
11766 #ifdef __cplusplus
11767 extern "C"
11768 #endif
11769 char XOpenDevice ();
11771 main ()
11773 return XOpenDevice ();
11775 return 0;
11777 _ACEOF
11778 if ac_fn_c_try_link "$LINENO"; then :
11779 case "$LIBEXT" in
11780 dll) ac_cv_lib_soname_Xi=`$ac_cv_path_LDD conftest.exe | grep "Xi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11781 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'` ;;
11782 *) ac_cv_lib_soname_Xi=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11783 if ${ac_cv_lib_soname_Xi:+false} :; then :
11784 ac_cv_lib_soname_Xi=`$LDD conftest$ac_exeext | grep "libXi\\.$LIBEXT" | sed -e "s/^.*\(libXi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11785 fi ;;
11786 esac
11787 else
11788 ac_cv_lib_soname_Xi=
11790 rm -f core conftest.err conftest.$ac_objext \
11791 conftest$ac_exeext conftest.$ac_ext
11792 LIBS=$ac_check_soname_save_LIBS
11794 if ${ac_cv_lib_soname_Xi:+false} :; then :
11795 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11796 $as_echo "not found" >&6; }
11798 else
11799 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xi" >&5
11800 $as_echo "$ac_cv_lib_soname_Xi" >&6; }
11802 cat >>confdefs.h <<_ACEOF
11803 #define SONAME_LIBXI "$ac_cv_lib_soname_Xi"
11804 _ACEOF
11809 if test "x$ac_cv_lib_soname_Xi" = "x"; then :
11810 case "x$with_xinput" in
11811 x) as_fn_append wine_notices "|libxi ${notice_platform}development files not found, the Xinput extension won't be supported." ;;
11812 xno) ;;
11813 *) as_fn_error $? "libxi ${notice_platform}development files not found, the Xinput extension won't be supported.
11814 This is an error since --with-xinput was requested." "$LINENO" 5 ;;
11815 esac
11819 if test "x$ac_cv_lib_soname_Xi" != x
11820 then
11821 if test "$ac_cv_header_X11_extensions_XInput2_h" != "yes"; then :
11822 case "x$with_xinput2" in
11823 x) as_fn_append wine_notices "|XInput2 headers not found, the XInput 2 extension won't be supported." ;;
11824 xno) ;;
11825 *) as_fn_error $? "XInput2 headers not found, the XInput 2 extension won't be supported.
11826 This is an error since --with-xinput2 was requested." "$LINENO" 5 ;;
11827 esac
11832 if test "$ac_cv_header_X11_extensions_XShm_h" = "yes"
11833 then
11834 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShmQueryExtension in -lXext" >&5
11835 $as_echo_n "checking for XShmQueryExtension in -lXext... " >&6; }
11836 if ${ac_cv_lib_Xext_XShmQueryExtension+:} false; then :
11837 $as_echo_n "(cached) " >&6
11838 else
11839 ac_check_lib_save_LIBS=$LIBS
11840 LIBS="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
11841 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11842 /* end confdefs.h. */
11844 /* Override any GCC internal prototype to avoid an error.
11845 Use char because int might match the return type of a GCC
11846 builtin and then its argument prototype would still apply. */
11847 #ifdef __cplusplus
11848 extern "C"
11849 #endif
11850 char XShmQueryExtension ();
11852 main ()
11854 return XShmQueryExtension ();
11856 return 0;
11858 _ACEOF
11859 if ac_fn_c_try_link "$LINENO"; then :
11860 ac_cv_lib_Xext_XShmQueryExtension=yes
11861 else
11862 ac_cv_lib_Xext_XShmQueryExtension=no
11864 rm -f core conftest.err conftest.$ac_objext \
11865 conftest$ac_exeext conftest.$ac_ext
11866 LIBS=$ac_check_lib_save_LIBS
11868 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShmQueryExtension" >&5
11869 $as_echo "$ac_cv_lib_Xext_XShmQueryExtension" >&6; }
11870 if test "x$ac_cv_lib_Xext_XShmQueryExtension" = xyes; then :
11872 $as_echo "#define HAVE_LIBXXSHM 1" >>confdefs.h
11877 if test "$ac_cv_lib_Xext_XShmQueryExtension" != "yes"; then :
11878 case "x$with_xshm" in
11879 x) as_fn_append wine_notices "|XShm ${notice_platform}development files not found, X Shared Memory won't be supported." ;;
11880 xno) ;;
11881 *) as_fn_error $? "XShm ${notice_platform}development files not found, X Shared Memory won't be supported.
11882 This is an error since --with-xshm was requested." "$LINENO" 5 ;;
11883 esac
11887 if test "$ac_cv_header_X11_extensions_shape_h" = "yes"
11888 then
11889 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShapeQueryExtension in -lXext" >&5
11890 $as_echo_n "checking for XShapeQueryExtension in -lXext... " >&6; }
11891 if ${ac_cv_lib_Xext_XShapeQueryExtension+:} false; then :
11892 $as_echo_n "(cached) " >&6
11893 else
11894 ac_check_lib_save_LIBS=$LIBS
11895 LIBS="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
11896 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11897 /* end confdefs.h. */
11899 /* Override any GCC internal prototype to avoid an error.
11900 Use char because int might match the return type of a GCC
11901 builtin and then its argument prototype would still apply. */
11902 #ifdef __cplusplus
11903 extern "C"
11904 #endif
11905 char XShapeQueryExtension ();
11907 main ()
11909 return XShapeQueryExtension ();
11911 return 0;
11913 _ACEOF
11914 if ac_fn_c_try_link "$LINENO"; then :
11915 ac_cv_lib_Xext_XShapeQueryExtension=yes
11916 else
11917 ac_cv_lib_Xext_XShapeQueryExtension=no
11919 rm -f core conftest.err conftest.$ac_objext \
11920 conftest$ac_exeext conftest.$ac_ext
11921 LIBS=$ac_check_lib_save_LIBS
11923 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
11924 $as_echo "$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
11925 if test "x$ac_cv_lib_Xext_XShapeQueryExtension" = xyes; then :
11927 $as_echo "#define HAVE_LIBXSHAPE 1" >>confdefs.h
11932 if test "$ac_cv_lib_Xext_XShapeQueryExtension" != "yes"; then :
11933 case "x$with_xshape" in
11934 x) as_fn_append wine_notices "|XShape ${notice_platform}development files not found, XShape won't be supported." ;;
11935 xno) ;;
11936 *) as_fn_error $? "XShape ${notice_platform}development files not found, XShape won't be supported.
11937 This is an error since --with-xshape was requested." "$LINENO" 5 ;;
11938 esac
11942 if test "$ac_cv_header_X11_extensions_xf86vmode_h" = "yes" -o "$ac_cv_header_X11_extensions_xf86vmproto_h" = "yes"
11943 then
11944 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXxf86vm" >&5
11945 $as_echo_n "checking for -lXxf86vm... " >&6; }
11946 if ${ac_cv_lib_soname_Xxf86vm+:} false; then :
11947 $as_echo_n "(cached) " >&6
11948 else
11949 ac_check_soname_save_LIBS=$LIBS
11950 LIBS="-lXxf86vm $X_LIBS $X_EXTRA_LIBS $LIBS"
11951 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11952 /* end confdefs.h. */
11954 /* Override any GCC internal prototype to avoid an error.
11955 Use char because int might match the return type of a GCC
11956 builtin and then its argument prototype would still apply. */
11957 #ifdef __cplusplus
11958 extern "C"
11959 #endif
11960 char XF86VidModeQueryExtension ();
11962 main ()
11964 return XF86VidModeQueryExtension ();
11966 return 0;
11968 _ACEOF
11969 if ac_fn_c_try_link "$LINENO"; then :
11970 case "$LIBEXT" in
11971 dll) ac_cv_lib_soname_Xxf86vm=`$ac_cv_path_LDD conftest.exe | grep "Xxf86vm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11972 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'` ;;
11973 *) ac_cv_lib_soname_Xxf86vm=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXxf86vm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11974 if ${ac_cv_lib_soname_Xxf86vm:+false} :; then :
11975 ac_cv_lib_soname_Xxf86vm=`$LDD conftest$ac_exeext | grep "libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\(libXxf86vm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11976 fi ;;
11977 esac
11978 else
11979 ac_cv_lib_soname_Xxf86vm=
11981 rm -f core conftest.err conftest.$ac_objext \
11982 conftest$ac_exeext conftest.$ac_ext
11983 LIBS=$ac_check_soname_save_LIBS
11985 if ${ac_cv_lib_soname_Xxf86vm:+false} :; then :
11986 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11987 $as_echo "not found" >&6; }
11989 else
11990 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xxf86vm" >&5
11991 $as_echo "$ac_cv_lib_soname_Xxf86vm" >&6; }
11993 cat >>confdefs.h <<_ACEOF
11994 #define SONAME_LIBXXF86VM "$ac_cv_lib_soname_Xxf86vm"
11995 _ACEOF
12000 if test "x$ac_cv_lib_soname_Xxf86vm" = "x"; then :
12001 case "x$with_xxf86vm" in
12002 x) as_fn_append wine_notices "|libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported." ;;
12003 xno) ;;
12004 *) as_fn_error $? "libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported.
12005 This is an error since --with-xxf86vm was requested." "$LINENO" 5 ;;
12006 esac
12010 if test "$ac_cv_header_X11_extensions_Xrender_h" = "yes" -a "x$ac_cv_lib_soname_X11" != "x"
12011 then
12012 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXrender" >&5
12013 $as_echo_n "checking for -lXrender... " >&6; }
12014 if ${ac_cv_lib_soname_Xrender+:} false; then :
12015 $as_echo_n "(cached) " >&6
12016 else
12017 ac_check_soname_save_LIBS=$LIBS
12018 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
12019 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12020 /* end confdefs.h. */
12022 /* Override any GCC internal prototype to avoid an error.
12023 Use char because int might match the return type of a GCC
12024 builtin and then its argument prototype would still apply. */
12025 #ifdef __cplusplus
12026 extern "C"
12027 #endif
12028 char XRenderQueryExtension ();
12030 main ()
12032 return XRenderQueryExtension ();
12034 return 0;
12036 _ACEOF
12037 if ac_fn_c_try_link "$LINENO"; then :
12038 case "$LIBEXT" in
12039 dll) ac_cv_lib_soname_Xrender=`$ac_cv_path_LDD conftest.exe | grep "Xrender" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12040 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'` ;;
12041 *) ac_cv_lib_soname_Xrender=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrender\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrender\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12042 if ${ac_cv_lib_soname_Xrender:+false} :; then :
12043 ac_cv_lib_soname_Xrender=`$LDD conftest$ac_exeext | grep "libXrender\\.$LIBEXT" | sed -e "s/^.*\(libXrender\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12044 fi ;;
12045 esac
12046 else
12047 ac_cv_lib_soname_Xrender=
12049 rm -f core conftest.err conftest.$ac_objext \
12050 conftest$ac_exeext conftest.$ac_ext
12051 LIBS=$ac_check_soname_save_LIBS
12053 if ${ac_cv_lib_soname_Xrender:+false} :; then :
12054 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12055 $as_echo "not found" >&6; }
12057 else
12058 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrender" >&5
12059 $as_echo "$ac_cv_lib_soname_Xrender" >&6; }
12061 cat >>confdefs.h <<_ACEOF
12062 #define SONAME_LIBXRENDER "$ac_cv_lib_soname_Xrender"
12063 _ACEOF
12065 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderSetPictureTransform in -lXrender" >&5
12066 $as_echo_n "checking for XRenderSetPictureTransform in -lXrender... " >&6; }
12067 if ${ac_cv_lib_Xrender_XRenderSetPictureTransform+:} false; then :
12068 $as_echo_n "(cached) " >&6
12069 else
12070 ac_check_lib_save_LIBS=$LIBS
12071 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
12072 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12073 /* end confdefs.h. */
12075 /* Override any GCC internal prototype to avoid an error.
12076 Use char because int might match the return type of a GCC
12077 builtin and then its argument prototype would still apply. */
12078 #ifdef __cplusplus
12079 extern "C"
12080 #endif
12081 char XRenderSetPictureTransform ();
12083 main ()
12085 return XRenderSetPictureTransform ();
12087 return 0;
12089 _ACEOF
12090 if ac_fn_c_try_link "$LINENO"; then :
12091 ac_cv_lib_Xrender_XRenderSetPictureTransform=yes
12092 else
12093 ac_cv_lib_Xrender_XRenderSetPictureTransform=no
12095 rm -f core conftest.err conftest.$ac_objext \
12096 conftest$ac_exeext conftest.$ac_ext
12097 LIBS=$ac_check_lib_save_LIBS
12099 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderSetPictureTransform" >&5
12100 $as_echo "$ac_cv_lib_Xrender_XRenderSetPictureTransform" >&6; }
12101 if test "x$ac_cv_lib_Xrender_XRenderSetPictureTransform" = xyes; then :
12103 $as_echo "#define HAVE_XRENDERSETPICTURETRANSFORM 1" >>confdefs.h
12107 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderCreateLinearGradient in -lXrender" >&5
12108 $as_echo_n "checking for XRenderCreateLinearGradient in -lXrender... " >&6; }
12109 if ${ac_cv_lib_Xrender_XRenderCreateLinearGradient+:} false; then :
12110 $as_echo_n "(cached) " >&6
12111 else
12112 ac_check_lib_save_LIBS=$LIBS
12113 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
12114 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12115 /* end confdefs.h. */
12117 /* Override any GCC internal prototype to avoid an error.
12118 Use char because int might match the return type of a GCC
12119 builtin and then its argument prototype would still apply. */
12120 #ifdef __cplusplus
12121 extern "C"
12122 #endif
12123 char XRenderCreateLinearGradient ();
12125 main ()
12127 return XRenderCreateLinearGradient ();
12129 return 0;
12131 _ACEOF
12132 if ac_fn_c_try_link "$LINENO"; then :
12133 ac_cv_lib_Xrender_XRenderCreateLinearGradient=yes
12134 else
12135 ac_cv_lib_Xrender_XRenderCreateLinearGradient=no
12137 rm -f core conftest.err conftest.$ac_objext \
12138 conftest$ac_exeext conftest.$ac_ext
12139 LIBS=$ac_check_lib_save_LIBS
12141 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&5
12142 $as_echo "$ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&6; }
12143 if test "x$ac_cv_lib_Xrender_XRenderCreateLinearGradient" = xyes; then :
12145 $as_echo "#define HAVE_XRENDERCREATELINEARGRADIENT 1" >>confdefs.h
12152 if test "x$ac_cv_lib_soname_Xrender" = "x"; then :
12153 case "x$with_xrender" in
12154 x) as_fn_append wine_warnings "|libxrender ${notice_platform}development files not found, XRender won't be supported." ;;
12155 xno) ;;
12156 *) as_fn_error $? "libxrender ${notice_platform}development files not found, XRender won't be supported.
12157 This is an error since --with-xrender was requested." "$LINENO" 5 ;;
12158 esac
12162 if test "$ac_cv_header_X11_extensions_Xrandr_h" = "yes" -a "x$ac_cv_lib_soname_Xrender" != "x"
12163 then
12164 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12165 /* end confdefs.h. */
12166 #include <X11/Xlib.h>
12167 #include <X11/extensions/Xrandr.h>
12169 main ()
12171 static typeof(XRRSetScreenConfigAndRate) * func; if (func) return 0;
12173 return 0;
12175 _ACEOF
12176 if ac_fn_c_try_compile "$LINENO"; then :
12177 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXrandr" >&5
12178 $as_echo_n "checking for -lXrandr... " >&6; }
12179 if ${ac_cv_lib_soname_Xrandr+:} false; then :
12180 $as_echo_n "(cached) " >&6
12181 else
12182 ac_check_soname_save_LIBS=$LIBS
12183 LIBS="-lXrandr $X_LIBS $X_EXTRA_LIBS $LIBS"
12184 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12185 /* end confdefs.h. */
12187 /* Override any GCC internal prototype to avoid an error.
12188 Use char because int might match the return type of a GCC
12189 builtin and then its argument prototype would still apply. */
12190 #ifdef __cplusplus
12191 extern "C"
12192 #endif
12193 char XRRQueryExtension ();
12195 main ()
12197 return XRRQueryExtension ();
12199 return 0;
12201 _ACEOF
12202 if ac_fn_c_try_link "$LINENO"; then :
12203 case "$LIBEXT" in
12204 dll) ac_cv_lib_soname_Xrandr=`$ac_cv_path_LDD conftest.exe | grep "Xrandr" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12205 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'` ;;
12206 *) ac_cv_lib_soname_Xrandr=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrandr\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrandr\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12207 if ${ac_cv_lib_soname_Xrandr:+false} :; then :
12208 ac_cv_lib_soname_Xrandr=`$LDD conftest$ac_exeext | grep "libXrandr\\.$LIBEXT" | sed -e "s/^.*\(libXrandr\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12209 fi ;;
12210 esac
12211 else
12212 ac_cv_lib_soname_Xrandr=
12214 rm -f core conftest.err conftest.$ac_objext \
12215 conftest$ac_exeext conftest.$ac_ext
12216 LIBS=$ac_check_soname_save_LIBS
12218 if ${ac_cv_lib_soname_Xrandr:+false} :; then :
12219 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12220 $as_echo "not found" >&6; }
12222 else
12223 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrandr" >&5
12224 $as_echo "$ac_cv_lib_soname_Xrandr" >&6; }
12226 cat >>confdefs.h <<_ACEOF
12227 #define SONAME_LIBXRANDR "$ac_cv_lib_soname_Xrandr"
12228 _ACEOF
12230 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12231 /* end confdefs.h. */
12232 #include <X11/Xlib.h>
12233 #include <X11/extensions/Xrandr.h>
12235 main ()
12237 static typeof(XRRGetProviderResources) *f; if (f) return 0;
12239 return 0;
12241 _ACEOF
12242 if ac_fn_c_try_compile "$LINENO"; then :
12244 $as_echo "#define HAVE_XRRGETPROVIDERRESOURCES 1" >>confdefs.h
12246 else
12247 as_fn_append wine_notices "|libxrandr ${notice_platform}development files too old, XRandR display device handler won't be supported."
12249 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12252 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12254 if test "x$ac_cv_lib_soname_Xrandr" = "x"; then :
12255 case "x$with_xrandr" in
12256 x) as_fn_append wine_notices "|libxrandr ${notice_platform}development files not found, XRandr won't be supported." ;;
12257 xno) ;;
12258 *) as_fn_error $? "libxrandr ${notice_platform}development files not found, XRandr won't be supported.
12259 This is an error since --with-xrandr was requested." "$LINENO" 5 ;;
12260 esac
12264 if test "$ac_cv_header_X11_extensions_Xfixes_h" = "yes"
12265 then
12266 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12267 /* end confdefs.h. */
12268 #include <X11/Xlib.h>
12269 #include <X11/extensions/Xfixes.h>
12271 main ()
12273 static typeof(XFixesQueryVersion) * func; if (func) return 0;
12275 return 0;
12277 _ACEOF
12278 if ac_fn_c_try_compile "$LINENO"; then :
12279 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXfixes" >&5
12280 $as_echo_n "checking for -lXfixes... " >&6; }
12281 if ${ac_cv_lib_soname_Xfixes+:} false; then :
12282 $as_echo_n "(cached) " >&6
12283 else
12284 ac_check_soname_save_LIBS=$LIBS
12285 LIBS="-lXfixes $X_LIBS $X_EXTRA_LIBS $LIBS"
12286 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12287 /* end confdefs.h. */
12289 /* Override any GCC internal prototype to avoid an error.
12290 Use char because int might match the return type of a GCC
12291 builtin and then its argument prototype would still apply. */
12292 #ifdef __cplusplus
12293 extern "C"
12294 #endif
12295 char XFixesQueryVersion ();
12297 main ()
12299 return XFixesQueryVersion ();
12301 return 0;
12303 _ACEOF
12304 if ac_fn_c_try_link "$LINENO"; then :
12305 case "$LIBEXT" in
12306 dll) ac_cv_lib_soname_Xfixes=`$ac_cv_path_LDD conftest.exe | grep "Xfixes" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12307 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'` ;;
12308 *) ac_cv_lib_soname_Xfixes=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXfixes\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXfixes\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12309 if ${ac_cv_lib_soname_Xfixes:+false} :; then :
12310 ac_cv_lib_soname_Xfixes=`$LDD conftest$ac_exeext | grep "libXfixes\\.$LIBEXT" | sed -e "s/^.*\(libXfixes\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12311 fi ;;
12312 esac
12313 else
12314 ac_cv_lib_soname_Xfixes=
12316 rm -f core conftest.err conftest.$ac_objext \
12317 conftest$ac_exeext conftest.$ac_ext
12318 LIBS=$ac_check_soname_save_LIBS
12320 if ${ac_cv_lib_soname_Xfixes:+false} :; then :
12321 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12322 $as_echo "not found" >&6; }
12324 else
12325 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xfixes" >&5
12326 $as_echo "$ac_cv_lib_soname_Xfixes" >&6; }
12328 cat >>confdefs.h <<_ACEOF
12329 #define SONAME_LIBXFIXES "$ac_cv_lib_soname_Xfixes"
12330 _ACEOF
12335 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12337 if test "x$ac_cv_lib_soname_Xfixes" = "x"; then :
12338 case "x$with_xfixes" in
12339 x) as_fn_append wine_notices "|libxfixes ${notice_platform}development files not found, Xfixes won't be supported." ;;
12340 xno) ;;
12341 *) as_fn_error $? "libxfixes ${notice_platform}development files not found, Xfixes won't be supported.
12342 This is an error since --with-xfixes was requested." "$LINENO" 5 ;;
12343 esac
12347 if test "$ac_cv_header_X11_extensions_Xinerama_h" = "yes"
12348 then
12349 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12350 /* end confdefs.h. */
12351 #include <X11/Xlib.h>
12352 #include <X11/extensions/Xinerama.h>
12354 main ()
12356 static typeof(XineramaQueryScreens) * func; if (func) return 0;
12358 return 0;
12360 _ACEOF
12361 if ac_fn_c_try_compile "$LINENO"; then :
12362 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXinerama" >&5
12363 $as_echo_n "checking for -lXinerama... " >&6; }
12364 if ${ac_cv_lib_soname_Xinerama+:} false; then :
12365 $as_echo_n "(cached) " >&6
12366 else
12367 ac_check_soname_save_LIBS=$LIBS
12368 LIBS="-lXinerama $X_LIBS $X_EXTRA_LIBS $LIBS"
12369 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12370 /* end confdefs.h. */
12372 /* Override any GCC internal prototype to avoid an error.
12373 Use char because int might match the return type of a GCC
12374 builtin and then its argument prototype would still apply. */
12375 #ifdef __cplusplus
12376 extern "C"
12377 #endif
12378 char XineramaQueryScreens ();
12380 main ()
12382 return XineramaQueryScreens ();
12384 return 0;
12386 _ACEOF
12387 if ac_fn_c_try_link "$LINENO"; then :
12388 case "$LIBEXT" in
12389 dll) ac_cv_lib_soname_Xinerama=`$ac_cv_path_LDD conftest.exe | grep "Xinerama" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12390 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'` ;;
12391 *) ac_cv_lib_soname_Xinerama=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXinerama\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXinerama\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12392 if ${ac_cv_lib_soname_Xinerama:+false} :; then :
12393 ac_cv_lib_soname_Xinerama=`$LDD conftest$ac_exeext | grep "libXinerama\\.$LIBEXT" | sed -e "s/^.*\(libXinerama\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12394 fi ;;
12395 esac
12396 else
12397 ac_cv_lib_soname_Xinerama=
12399 rm -f core conftest.err conftest.$ac_objext \
12400 conftest$ac_exeext conftest.$ac_ext
12401 LIBS=$ac_check_soname_save_LIBS
12403 if ${ac_cv_lib_soname_Xinerama:+false} :; then :
12404 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12405 $as_echo "not found" >&6; }
12407 else
12408 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xinerama" >&5
12409 $as_echo "$ac_cv_lib_soname_Xinerama" >&6; }
12411 cat >>confdefs.h <<_ACEOF
12412 #define SONAME_LIBXINERAMA "$ac_cv_lib_soname_Xinerama"
12413 _ACEOF
12418 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12420 if test "x$ac_cv_lib_soname_Xinerama" = "x"; then :
12421 case "x$with_xinerama" in
12422 x) as_fn_append wine_notices "|libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported." ;;
12423 xno) ;;
12424 *) as_fn_error $? "libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported.
12425 This is an error since --with-xinerama was requested." "$LINENO" 5 ;;
12426 esac
12430 if test "$ac_cv_header_X11_extensions_Xcomposite_h" = "yes"
12431 then
12432 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXcomposite" >&5
12433 $as_echo_n "checking for -lXcomposite... " >&6; }
12434 if ${ac_cv_lib_soname_Xcomposite+:} false; then :
12435 $as_echo_n "(cached) " >&6
12436 else
12437 ac_check_soname_save_LIBS=$LIBS
12438 LIBS="-lXcomposite $X_LIBS $X_EXTRA_LIBS $LIBS"
12439 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12440 /* end confdefs.h. */
12442 /* Override any GCC internal prototype to avoid an error.
12443 Use char because int might match the return type of a GCC
12444 builtin and then its argument prototype would still apply. */
12445 #ifdef __cplusplus
12446 extern "C"
12447 #endif
12448 char XCompositeRedirectWindow ();
12450 main ()
12452 return XCompositeRedirectWindow ();
12454 return 0;
12456 _ACEOF
12457 if ac_fn_c_try_link "$LINENO"; then :
12458 case "$LIBEXT" in
12459 dll) ac_cv_lib_soname_Xcomposite=`$ac_cv_path_LDD conftest.exe | grep "Xcomposite" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12460 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'` ;;
12461 *) ac_cv_lib_soname_Xcomposite=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcomposite\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcomposite\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12462 if ${ac_cv_lib_soname_Xcomposite:+false} :; then :
12463 ac_cv_lib_soname_Xcomposite=`$LDD conftest$ac_exeext | grep "libXcomposite\\.$LIBEXT" | sed -e "s/^.*\(libXcomposite\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12464 fi ;;
12465 esac
12466 else
12467 ac_cv_lib_soname_Xcomposite=
12469 rm -f core conftest.err conftest.$ac_objext \
12470 conftest$ac_exeext conftest.$ac_ext
12471 LIBS=$ac_check_soname_save_LIBS
12473 if ${ac_cv_lib_soname_Xcomposite:+false} :; then :
12474 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12475 $as_echo "not found" >&6; }
12477 else
12478 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcomposite" >&5
12479 $as_echo "$ac_cv_lib_soname_Xcomposite" >&6; }
12481 cat >>confdefs.h <<_ACEOF
12482 #define SONAME_LIBXCOMPOSITE "$ac_cv_lib_soname_Xcomposite"
12483 _ACEOF
12488 if test "x$ac_cv_lib_soname_Xcomposite" = "x"; then :
12489 case "x$with_xcomposite" in
12490 x) as_fn_append wine_notices "|libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported." ;;
12491 xno) ;;
12492 *) as_fn_error $? "libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported.
12493 This is an error since --with-xcomposite was requested." "$LINENO" 5 ;;
12494 esac
12498 ac_fn_c_check_member "$LINENO" "XICCallback" "callback" "ac_cv_member_XICCallback_callback" "#ifdef HAVE_X11_XLIB_H
12499 #include <X11/Xlib.h>
12500 #endif
12502 if test "x$ac_cv_member_XICCallback_callback" = xyes; then :
12504 cat >>confdefs.h <<_ACEOF
12505 #define HAVE_XICCALLBACK_CALLBACK 1
12506 _ACEOF
12510 ac_fn_c_check_member "$LINENO" "XEvent" "xcookie" "ac_cv_member_XEvent_xcookie" "#ifdef HAVE_X11_XLIB_H
12511 #include <X11/Xlib.h>
12512 #endif
12514 if test "x$ac_cv_member_XEvent_xcookie" = xyes; then :
12516 cat >>confdefs.h <<_ACEOF
12517 #define HAVE_XEVENT_XCOOKIE 1
12518 _ACEOF
12525 opengl_msg=""
12526 if test "x$with_opengl" != "xno"
12527 then
12528 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
12529 $as_echo_n "checking for -lGL... " >&6; }
12530 if ${ac_cv_lib_soname_GL+:} false; then :
12531 $as_echo_n "(cached) " >&6
12532 else
12533 ac_check_soname_save_LIBS=$LIBS
12534 LIBS="-lGL $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
12535 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12536 /* end confdefs.h. */
12538 /* Override any GCC internal prototype to avoid an error.
12539 Use char because int might match the return type of a GCC
12540 builtin and then its argument prototype would still apply. */
12541 #ifdef __cplusplus
12542 extern "C"
12543 #endif
12544 char glXCreateContext ();
12546 main ()
12548 return glXCreateContext ();
12550 return 0;
12552 _ACEOF
12553 if ac_fn_c_try_link "$LINENO"; then :
12554 case "$LIBEXT" in
12555 dll) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12556 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'` ;;
12557 *) ac_cv_lib_soname_GL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12558 if ${ac_cv_lib_soname_GL:+false} :; then :
12559 ac_cv_lib_soname_GL=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12560 fi ;;
12561 esac
12562 else
12563 ac_cv_lib_soname_GL=
12565 rm -f core conftest.err conftest.$ac_objext \
12566 conftest$ac_exeext conftest.$ac_ext
12567 LIBS=$ac_check_soname_save_LIBS
12569 if ${ac_cv_lib_soname_GL:+false} :; then :
12570 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12571 $as_echo "not found" >&6; }
12572 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
12573 $as_echo_n "checking for -lGL... " >&6; }
12574 if ${ac_cv_lib_soname_GL+:} false; then :
12575 $as_echo_n "(cached) " >&6
12576 else
12577 ac_check_soname_save_LIBS=$LIBS
12578 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"
12579 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12580 /* end confdefs.h. */
12582 /* Override any GCC internal prototype to avoid an error.
12583 Use char because int might match the return type of a GCC
12584 builtin and then its argument prototype would still apply. */
12585 #ifdef __cplusplus
12586 extern "C"
12587 #endif
12588 char glXCreateContext ();
12590 main ()
12592 return glXCreateContext ();
12594 return 0;
12596 _ACEOF
12597 if ac_fn_c_try_link "$LINENO"; then :
12598 case "$LIBEXT" in
12599 dll) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12600 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'` ;;
12601 *) ac_cv_lib_soname_GL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12602 if ${ac_cv_lib_soname_GL:+false} :; then :
12603 ac_cv_lib_soname_GL=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12604 fi ;;
12605 esac
12606 else
12607 ac_cv_lib_soname_GL=
12609 rm -f core conftest.err conftest.$ac_objext \
12610 conftest$ac_exeext conftest.$ac_ext
12611 LIBS=$ac_check_soname_save_LIBS
12613 if ${ac_cv_lib_soname_GL:+false} :; then :
12614 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12615 $as_echo "not found" >&6; }
12616 if test -f /usr/X11R6/lib/libGL.a
12617 then
12618 opengl_msg="/usr/X11R6/lib/libGL.a is present on your system.
12619 This probably prevents linking to OpenGL. Try deleting the file and restarting configure."
12620 else
12621 opengl_msg="No OpenGL library found on this system."
12623 else
12624 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
12625 $as_echo "$ac_cv_lib_soname_GL" >&6; }
12627 cat >>confdefs.h <<_ACEOF
12628 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
12629 _ACEOF
12631 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"
12633 else
12634 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
12635 $as_echo "$ac_cv_lib_soname_GL" >&6; }
12637 cat >>confdefs.h <<_ACEOF
12638 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
12639 _ACEOF
12641 OPENGL_LIBS="-lGL"
12643 if test "x$with_osmesa" != "xno"
12644 then
12645 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lOSMesa" >&5
12646 $as_echo_n "checking for -lOSMesa... " >&6; }
12647 if ${ac_cv_lib_soname_OSMesa+:} false; then :
12648 $as_echo_n "(cached) " >&6
12649 else
12650 ac_check_soname_save_LIBS=$LIBS
12651 LIBS="-lOSMesa $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
12652 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12653 /* end confdefs.h. */
12655 /* Override any GCC internal prototype to avoid an error.
12656 Use char because int might match the return type of a GCC
12657 builtin and then its argument prototype would still apply. */
12658 #ifdef __cplusplus
12659 extern "C"
12660 #endif
12661 char OSMesaGetProcAddress ();
12663 main ()
12665 return OSMesaGetProcAddress ();
12667 return 0;
12669 _ACEOF
12670 if ac_fn_c_try_link "$LINENO"; then :
12671 case "$LIBEXT" in
12672 dll) ac_cv_lib_soname_OSMesa=`$ac_cv_path_LDD conftest.exe | grep "OSMesa" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12673 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'` ;;
12674 *) ac_cv_lib_soname_OSMesa=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libOSMesa\\.$LIBEXT" | sed -e "s/^.*\\[\\(libOSMesa\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12675 if ${ac_cv_lib_soname_OSMesa:+false} :; then :
12676 ac_cv_lib_soname_OSMesa=`$LDD conftest$ac_exeext | grep "libOSMesa\\.$LIBEXT" | sed -e "s/^.*\(libOSMesa\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12677 fi ;;
12678 esac
12679 else
12680 ac_cv_lib_soname_OSMesa=
12682 rm -f core conftest.err conftest.$ac_objext \
12683 conftest$ac_exeext conftest.$ac_ext
12684 LIBS=$ac_check_soname_save_LIBS
12686 if ${ac_cv_lib_soname_OSMesa:+false} :; then :
12687 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12688 $as_echo "not found" >&6; }
12690 else
12691 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_OSMesa" >&5
12692 $as_echo "$ac_cv_lib_soname_OSMesa" >&6; }
12694 cat >>confdefs.h <<_ACEOF
12695 #define SONAME_LIBOSMESA "$ac_cv_lib_soname_OSMesa"
12696 _ACEOF
12700 if test "x$ac_cv_lib_soname_OSMesa" = "x"; then :
12701 case "x$with_osmesa" in
12702 x) as_fn_append wine_notices "|libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported." ;;
12703 xno) ;;
12704 *) as_fn_error $? "libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported.
12705 This is an error since --with-osmesa was requested." "$LINENO" 5 ;;
12706 esac
12711 if test -n "$opengl_msg"; then :
12712 case "x$with_opengl" in
12713 x) as_fn_append wine_warnings "|$opengl_msg
12714 OpenGL and Direct3D won't be supported." ;;
12715 xno) ;;
12716 *) as_fn_error $? "$opengl_msg
12717 OpenGL and Direct3D won't be supported.
12718 This is an error since --with-opengl was requested." "$LINENO" 5 ;;
12719 esac
12723 CPPFLAGS="$ac_save_CPPFLAGS"
12724 else
12725 X_CFLAGS=""
12726 X_LIBS=""
12729 if test "$enable_wineandroid_drv$enable_winemac_drv" = "nono"
12730 then
12731 if test "x$X_LIBS" = "x"; then :
12732 case "x$with_x" in
12733 xno) ;;
12734 *) as_fn_error $? "X ${notice_platform}development files not found. Wine will be built
12735 without X support, which probably isn't what you want. You will need
12736 to install ${notice_platform}development packages of Xlib at the very least.
12737 Use the --without-x option if you really want this." "$LINENO" 5 ;;
12738 esac
12739 enable_winex11_drv=${enable_winex11_drv:-no}
12741 else
12742 if test "x$X_LIBS" = "x"; then :
12743 case "x$with_x" in
12744 x) as_fn_append wine_notices "|X ${notice_platform}development files not found, the X11 driver won't be supported." ;;
12745 xno) ;;
12746 *) as_fn_error $? "X ${notice_platform}development files not found, the X11 driver won't be supported.
12747 This is an error since --with-x was requested." "$LINENO" 5 ;;
12748 esac
12749 enable_winex11_drv=${enable_winex11_drv:-no}
12753 if test "$ac_cv_header_CL_cl_h" = "yes"
12754 then
12755 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clGetPlatformInfo in -lOpenCL" >&5
12756 $as_echo_n "checking for clGetPlatformInfo in -lOpenCL... " >&6; }
12757 if ${ac_cv_lib_OpenCL_clGetPlatformInfo+:} false; then :
12758 $as_echo_n "(cached) " >&6
12759 else
12760 ac_check_lib_save_LIBS=$LIBS
12761 LIBS="-lOpenCL $LIBS"
12762 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12763 /* end confdefs.h. */
12765 /* Override any GCC internal prototype to avoid an error.
12766 Use char because int might match the return type of a GCC
12767 builtin and then its argument prototype would still apply. */
12768 #ifdef __cplusplus
12769 extern "C"
12770 #endif
12771 char clGetPlatformInfo ();
12773 main ()
12775 return clGetPlatformInfo ();
12777 return 0;
12779 _ACEOF
12780 if ac_fn_c_try_link "$LINENO"; then :
12781 ac_cv_lib_OpenCL_clGetPlatformInfo=yes
12782 else
12783 ac_cv_lib_OpenCL_clGetPlatformInfo=no
12785 rm -f core conftest.err conftest.$ac_objext \
12786 conftest$ac_exeext conftest.$ac_ext
12787 LIBS=$ac_check_lib_save_LIBS
12789 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_OpenCL_clGetPlatformInfo" >&5
12790 $as_echo "$ac_cv_lib_OpenCL_clGetPlatformInfo" >&6; }
12791 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" = xyes; then :
12792 OPENCL_LIBS="-lOpenCL"
12797 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" != xyes; then :
12798 case "x$with_opencl" in
12799 x) as_fn_append wine_notices "|OpenCL ${notice_platform}development files not found, OpenCL won't be supported." ;;
12800 xno) ;;
12801 *) as_fn_error $? "OpenCL ${notice_platform}development files not found, OpenCL won't be supported.
12802 This is an error since --with-opencl was requested." "$LINENO" 5 ;;
12803 esac
12804 enable_opencl=${enable_opencl:-no}
12807 if test "$ac_cv_header_pcap_pcap_h" = "yes"
12808 then
12809 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pcap_create in -lpcap" >&5
12810 $as_echo_n "checking for pcap_create in -lpcap... " >&6; }
12811 if ${ac_cv_lib_pcap_pcap_create+:} false; then :
12812 $as_echo_n "(cached) " >&6
12813 else
12814 ac_check_lib_save_LIBS=$LIBS
12815 LIBS="-lpcap $LIBS"
12816 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12817 /* end confdefs.h. */
12819 /* Override any GCC internal prototype to avoid an error.
12820 Use char because int might match the return type of a GCC
12821 builtin and then its argument prototype would still apply. */
12822 #ifdef __cplusplus
12823 extern "C"
12824 #endif
12825 char pcap_create ();
12827 main ()
12829 return pcap_create ();
12831 return 0;
12833 _ACEOF
12834 if ac_fn_c_try_link "$LINENO"; then :
12835 ac_cv_lib_pcap_pcap_create=yes
12836 else
12837 ac_cv_lib_pcap_pcap_create=no
12839 rm -f core conftest.err conftest.$ac_objext \
12840 conftest$ac_exeext conftest.$ac_ext
12841 LIBS=$ac_check_lib_save_LIBS
12843 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pcap_pcap_create" >&5
12844 $as_echo "$ac_cv_lib_pcap_pcap_create" >&6; }
12845 if test "x$ac_cv_lib_pcap_pcap_create" = xyes; then :
12846 PCAP_LIBS="-lpcap"
12851 if test "x$ac_cv_lib_pcap_pcap_create" != xyes; then :
12852 case "x$with_pcap" in
12853 x) as_fn_append wine_notices "|pcap ${notice_platform}development files not found, wpcap won't be supported." ;;
12854 xno) ;;
12855 *) as_fn_error $? "pcap ${notice_platform}development files not found, wpcap won't be supported.
12856 This is an error since --with-pcap was requested." "$LINENO" 5 ;;
12857 esac
12858 enable_wpcap=${enable_wpcap:-no}
12862 if test "x$with_xml" != "xno"
12863 then
12864 if ${XML2_CFLAGS:+false} :; then :
12865 if ${PKG_CONFIG+:} false; then :
12866 XML2_CFLAGS=`$PKG_CONFIG --cflags libxml-2.0 2>/dev/null`
12869 test "$cross_compiling" = yes || XML2_CFLAGS=${XML2_CFLAGS:-`${XML2_CONFIG:-xml2-config} --cflags 2>/dev/null`}
12870 if ${XML2_LIBS:+false} :; then :
12871 if ${PKG_CONFIG+:} false; then :
12872 XML2_LIBS=`$PKG_CONFIG --libs libxml-2.0 2>/dev/null`
12875 test "$cross_compiling" = yes || XML2_LIBS=${XML2_LIBS:-`${XML2_CONFIG:-xml2-config} --libs 2>/dev/null`}
12876 XML2_LIBS=${XML2_LIBS:-"-lxml2"}
12877 $as_echo "$as_me:${as_lineno-$LINENO}: libxml-2.0 cflags: $XML2_CFLAGS" >&5
12878 $as_echo "$as_me:${as_lineno-$LINENO}: libxml-2.0 libs: $XML2_LIBS" >&5
12879 ac_save_CPPFLAGS=$CPPFLAGS
12880 CPPFLAGS="$CPPFLAGS $XML2_CFLAGS"
12881 for ac_header in libxml/parser.h libxml/xmlsave.h libxml/SAX2.h
12882 do :
12883 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
12884 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
12885 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
12886 cat >>confdefs.h <<_ACEOF
12887 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
12888 _ACEOF
12892 done
12894 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"
12895 then
12896 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlParseMemory in -lxml2" >&5
12897 $as_echo_n "checking for xmlParseMemory in -lxml2... " >&6; }
12898 if ${ac_cv_lib_xml2_xmlParseMemory+:} false; then :
12899 $as_echo_n "(cached) " >&6
12900 else
12901 ac_check_lib_save_LIBS=$LIBS
12902 LIBS="-lxml2 $XML2_LIBS $LIBS"
12903 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12904 /* end confdefs.h. */
12906 /* Override any GCC internal prototype to avoid an error.
12907 Use char because int might match the return type of a GCC
12908 builtin and then its argument prototype would still apply. */
12909 #ifdef __cplusplus
12910 extern "C"
12911 #endif
12912 char xmlParseMemory ();
12914 main ()
12916 return xmlParseMemory ();
12918 return 0;
12920 _ACEOF
12921 if ac_fn_c_try_link "$LINENO"; then :
12922 ac_cv_lib_xml2_xmlParseMemory=yes
12923 else
12924 ac_cv_lib_xml2_xmlParseMemory=no
12926 rm -f core conftest.err conftest.$ac_objext \
12927 conftest$ac_exeext conftest.$ac_ext
12928 LIBS=$ac_check_lib_save_LIBS
12930 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlParseMemory" >&5
12931 $as_echo "$ac_cv_lib_xml2_xmlParseMemory" >&6; }
12932 if test "x$ac_cv_lib_xml2_xmlParseMemory" = xyes; then :
12934 $as_echo "#define HAVE_LIBXML2 1" >>confdefs.h
12936 else
12937 XML2_LIBS=""
12940 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlReadMemory in -lxml2" >&5
12941 $as_echo_n "checking for xmlReadMemory in -lxml2... " >&6; }
12942 if ${ac_cv_lib_xml2_xmlReadMemory+:} false; then :
12943 $as_echo_n "(cached) " >&6
12944 else
12945 ac_check_lib_save_LIBS=$LIBS
12946 LIBS="-lxml2 $XML2_LIBS $LIBS"
12947 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12948 /* end confdefs.h. */
12950 /* Override any GCC internal prototype to avoid an error.
12951 Use char because int might match the return type of a GCC
12952 builtin and then its argument prototype would still apply. */
12953 #ifdef __cplusplus
12954 extern "C"
12955 #endif
12956 char xmlReadMemory ();
12958 main ()
12960 return xmlReadMemory ();
12962 return 0;
12964 _ACEOF
12965 if ac_fn_c_try_link "$LINENO"; then :
12966 ac_cv_lib_xml2_xmlReadMemory=yes
12967 else
12968 ac_cv_lib_xml2_xmlReadMemory=no
12970 rm -f core conftest.err conftest.$ac_objext \
12971 conftest$ac_exeext conftest.$ac_ext
12972 LIBS=$ac_check_lib_save_LIBS
12974 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlReadMemory" >&5
12975 $as_echo "$ac_cv_lib_xml2_xmlReadMemory" >&6; }
12976 if test "x$ac_cv_lib_xml2_xmlReadMemory" = xyes; then :
12978 $as_echo "#define HAVE_XMLREADMEMORY 1" >>confdefs.h
12982 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlNewDocPI in -lxml2" >&5
12983 $as_echo_n "checking for xmlNewDocPI in -lxml2... " >&6; }
12984 if ${ac_cv_lib_xml2_xmlNewDocPI+:} false; then :
12985 $as_echo_n "(cached) " >&6
12986 else
12987 ac_check_lib_save_LIBS=$LIBS
12988 LIBS="-lxml2 $XML2_LIBS $LIBS"
12989 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12990 /* end confdefs.h. */
12992 /* Override any GCC internal prototype to avoid an error.
12993 Use char because int might match the return type of a GCC
12994 builtin and then its argument prototype would still apply. */
12995 #ifdef __cplusplus
12996 extern "C"
12997 #endif
12998 char xmlNewDocPI ();
13000 main ()
13002 return xmlNewDocPI ();
13004 return 0;
13006 _ACEOF
13007 if ac_fn_c_try_link "$LINENO"; then :
13008 ac_cv_lib_xml2_xmlNewDocPI=yes
13009 else
13010 ac_cv_lib_xml2_xmlNewDocPI=no
13012 rm -f core conftest.err conftest.$ac_objext \
13013 conftest$ac_exeext conftest.$ac_ext
13014 LIBS=$ac_check_lib_save_LIBS
13016 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlNewDocPI" >&5
13017 $as_echo "$ac_cv_lib_xml2_xmlNewDocPI" >&6; }
13018 if test "x$ac_cv_lib_xml2_xmlNewDocPI" = xyes; then :
13020 $as_echo "#define HAVE_XMLNEWDOCPI 1" >>confdefs.h
13024 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlSchemaSetParserStructuredErrors in -lxml2" >&5
13025 $as_echo_n "checking for xmlSchemaSetParserStructuredErrors in -lxml2... " >&6; }
13026 if ${ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors+:} false; then :
13027 $as_echo_n "(cached) " >&6
13028 else
13029 ac_check_lib_save_LIBS=$LIBS
13030 LIBS="-lxml2 $XML2_LIBS $LIBS"
13031 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13032 /* end confdefs.h. */
13034 /* Override any GCC internal prototype to avoid an error.
13035 Use char because int might match the return type of a GCC
13036 builtin and then its argument prototype would still apply. */
13037 #ifdef __cplusplus
13038 extern "C"
13039 #endif
13040 char xmlSchemaSetParserStructuredErrors ();
13042 main ()
13044 return xmlSchemaSetParserStructuredErrors ();
13046 return 0;
13048 _ACEOF
13049 if ac_fn_c_try_link "$LINENO"; then :
13050 ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors=yes
13051 else
13052 ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors=no
13054 rm -f core conftest.err conftest.$ac_objext \
13055 conftest$ac_exeext conftest.$ac_ext
13056 LIBS=$ac_check_lib_save_LIBS
13058 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" >&5
13059 $as_echo "$ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" >&6; }
13060 if test "x$ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" = xyes; then :
13062 $as_echo "#define HAVE_XMLSCHEMASSETPARSERSTRUCTUREDERRORS 1" >>confdefs.h
13066 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlSchemaSetValidStructuredErrors in -lxml2" >&5
13067 $as_echo_n "checking for xmlSchemaSetValidStructuredErrors in -lxml2... " >&6; }
13068 if ${ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors+:} false; then :
13069 $as_echo_n "(cached) " >&6
13070 else
13071 ac_check_lib_save_LIBS=$LIBS
13072 LIBS="-lxml2 $XML2_LIBS $LIBS"
13073 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13074 /* end confdefs.h. */
13076 /* Override any GCC internal prototype to avoid an error.
13077 Use char because int might match the return type of a GCC
13078 builtin and then its argument prototype would still apply. */
13079 #ifdef __cplusplus
13080 extern "C"
13081 #endif
13082 char xmlSchemaSetValidStructuredErrors ();
13084 main ()
13086 return xmlSchemaSetValidStructuredErrors ();
13088 return 0;
13090 _ACEOF
13091 if ac_fn_c_try_link "$LINENO"; then :
13092 ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors=yes
13093 else
13094 ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors=no
13096 rm -f core conftest.err conftest.$ac_objext \
13097 conftest$ac_exeext conftest.$ac_ext
13098 LIBS=$ac_check_lib_save_LIBS
13100 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" >&5
13101 $as_echo "$ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" >&6; }
13102 if test "x$ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" = xyes; then :
13104 $as_echo "#define HAVE_XMLSCHEMASSETVALIDSTRUCTUREDERRORS 1" >>confdefs.h
13108 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlFirstElementChild in -lxml2" >&5
13109 $as_echo_n "checking for xmlFirstElementChild in -lxml2... " >&6; }
13110 if ${ac_cv_lib_xml2_xmlFirstElementChild+:} false; then :
13111 $as_echo_n "(cached) " >&6
13112 else
13113 ac_check_lib_save_LIBS=$LIBS
13114 LIBS="-lxml2 $XML2_LIBS $LIBS"
13115 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13116 /* end confdefs.h. */
13118 /* Override any GCC internal prototype to avoid an error.
13119 Use char because int might match the return type of a GCC
13120 builtin and then its argument prototype would still apply. */
13121 #ifdef __cplusplus
13122 extern "C"
13123 #endif
13124 char xmlFirstElementChild ();
13126 main ()
13128 return xmlFirstElementChild ();
13130 return 0;
13132 _ACEOF
13133 if ac_fn_c_try_link "$LINENO"; then :
13134 ac_cv_lib_xml2_xmlFirstElementChild=yes
13135 else
13136 ac_cv_lib_xml2_xmlFirstElementChild=no
13138 rm -f core conftest.err conftest.$ac_objext \
13139 conftest$ac_exeext conftest.$ac_ext
13140 LIBS=$ac_check_lib_save_LIBS
13142 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlFirstElementChild" >&5
13143 $as_echo "$ac_cv_lib_xml2_xmlFirstElementChild" >&6; }
13144 if test "x$ac_cv_lib_xml2_xmlFirstElementChild" = xyes; then :
13146 $as_echo "#define HAVE_XMLFIRSTELEMENTCHILD 1" >>confdefs.h
13150 ac_fn_c_check_type "$LINENO" "xmlDocProperties" "ac_cv_type_xmlDocProperties" "#include <libxml/tree.h>
13152 if test "x$ac_cv_type_xmlDocProperties" = xyes; then :
13154 $as_echo "#define HAVE_XMLDOC_PROPERTIES 1" >>confdefs.h
13158 else
13159 XML2_CFLAGS=""
13160 XML2_LIBS=""
13162 CPPFLAGS=$ac_save_CPPFLAGS
13165 if test "$ac_cv_lib_xml2_xmlParseMemory" != "yes"; then :
13166 case "x$with_xml" in
13167 x) as_fn_append wine_warnings "|libxml2 ${notice_platform}development files not found (or too old), XML won't be supported." ;;
13168 xno) ;;
13169 *) as_fn_error $? "libxml2 ${notice_platform}development files not found (or too old), XML won't be supported.
13170 This is an error since --with-xml was requested." "$LINENO" 5 ;;
13171 esac
13175 if test "x$with_xslt" != "xno"
13176 then
13177 if ${XSLT_CFLAGS:+false} :; then :
13178 if ${PKG_CONFIG+:} false; then :
13179 XSLT_CFLAGS=`$PKG_CONFIG --cflags libxslt 2>/dev/null`
13182 test "$cross_compiling" = yes || XSLT_CFLAGS=${XSLT_CFLAGS:-`${XSLT_CONFIG:-xslt-config} --cflags 2>/dev/null`}
13183 if ${XSLT_LIBS:+false} :; then :
13184 if ${PKG_CONFIG+:} false; then :
13185 XSLT_LIBS=`$PKG_CONFIG --libs libxslt 2>/dev/null`
13188 test "$cross_compiling" = yes || XSLT_LIBS=${XSLT_LIBS:-`${XSLT_CONFIG:-xslt-config} --libs 2>/dev/null`}
13189 XSLT_LIBS=${XSLT_LIBS:-"-lxml2"}
13190 $as_echo "$as_me:${as_lineno-$LINENO}: libxslt cflags: $XSLT_CFLAGS" >&5
13191 $as_echo "$as_me:${as_lineno-$LINENO}: libxslt libs: $XSLT_LIBS" >&5
13192 ac_save_CPPFLAGS=$CPPFLAGS
13193 CPPFLAGS="$CPPFLAGS $XSLT_CFLAGS"
13194 for ac_header in libxslt/pattern.h libxslt/transform.h
13195 do :
13196 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
13197 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_LIBXSLT_PATTERN_H
13198 # include <libxslt/pattern.h>
13199 #endif
13201 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
13202 cat >>confdefs.h <<_ACEOF
13203 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
13204 _ACEOF
13208 done
13210 if test "$ac_cv_header_libxslt_transform_h" = "yes"
13211 then
13212 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lxslt" >&5
13213 $as_echo_n "checking for -lxslt... " >&6; }
13214 if ${ac_cv_lib_soname_xslt+:} false; then :
13215 $as_echo_n "(cached) " >&6
13216 else
13217 ac_check_soname_save_LIBS=$LIBS
13218 LIBS="-lxslt $XSLT_LIBS $LIBS"
13219 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13220 /* end confdefs.h. */
13222 /* Override any GCC internal prototype to avoid an error.
13223 Use char because int might match the return type of a GCC
13224 builtin and then its argument prototype would still apply. */
13225 #ifdef __cplusplus
13226 extern "C"
13227 #endif
13228 char xsltCompilePattern ();
13230 main ()
13232 return xsltCompilePattern ();
13234 return 0;
13236 _ACEOF
13237 if ac_fn_c_try_link "$LINENO"; then :
13238 case "$LIBEXT" in
13239 dll) ac_cv_lib_soname_xslt=`$ac_cv_path_LDD conftest.exe | grep "xslt" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13240 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'` ;;
13241 *) ac_cv_lib_soname_xslt=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libxslt\\.$LIBEXT" | sed -e "s/^.*\\[\\(libxslt\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13242 if ${ac_cv_lib_soname_xslt:+false} :; then :
13243 ac_cv_lib_soname_xslt=`$LDD conftest$ac_exeext | grep "libxslt\\.$LIBEXT" | sed -e "s/^.*\(libxslt\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13244 fi ;;
13245 esac
13246 else
13247 ac_cv_lib_soname_xslt=
13249 rm -f core conftest.err conftest.$ac_objext \
13250 conftest$ac_exeext conftest.$ac_ext
13251 LIBS=$ac_check_soname_save_LIBS
13253 if ${ac_cv_lib_soname_xslt:+false} :; then :
13254 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13255 $as_echo "not found" >&6; }
13257 else
13258 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_xslt" >&5
13259 $as_echo "$ac_cv_lib_soname_xslt" >&6; }
13261 cat >>confdefs.h <<_ACEOF
13262 #define SONAME_LIBXSLT "$ac_cv_lib_soname_xslt"
13263 _ACEOF
13267 else
13268 XSLT_CFLAGS=""
13270 CPPFLAGS=$ac_save_CPPFLAGS
13273 if test "x$ac_cv_lib_soname_xslt" = "x"; then :
13274 case "x$with_xslt" in
13275 x) as_fn_append wine_warnings "|libxslt ${notice_platform}development files not found, xslt won't be supported." ;;
13276 xno) ;;
13277 *) as_fn_error $? "libxslt ${notice_platform}development files not found, xslt won't be supported.
13278 This is an error since --with-xslt was requested." "$LINENO" 5 ;;
13279 esac
13283 if test "x$with_inotify" != "xno"
13284 then
13285 if ${INOTIFY_CFLAGS:+false} :; then :
13286 if ${PKG_CONFIG+:} false; then :
13287 INOTIFY_CFLAGS=`$PKG_CONFIG --cflags libinotify 2>/dev/null`
13291 if ${INOTIFY_LIBS:+false} :; then :
13292 if ${PKG_CONFIG+:} false; then :
13293 INOTIFY_LIBS=`$PKG_CONFIG --libs libinotify 2>/dev/null`
13298 $as_echo "$as_me:${as_lineno-$LINENO}: libinotify cflags: $INOTIFY_CFLAGS" >&5
13299 $as_echo "$as_me:${as_lineno-$LINENO}: libinotify libs: $INOTIFY_LIBS" >&5
13300 ac_save_CPPFLAGS=$CPPFLAGS
13301 CPPFLAGS="$CPPFLAGS $INOTIFY_CFLAGS"
13302 for ac_header in sys/inotify.h
13303 do :
13304 ac_fn_c_check_header_mongrel "$LINENO" "sys/inotify.h" "ac_cv_header_sys_inotify_h" "$ac_includes_default"
13305 if test "x$ac_cv_header_sys_inotify_h" = xyes; then :
13306 cat >>confdefs.h <<_ACEOF
13307 #define HAVE_SYS_INOTIFY_H 1
13308 _ACEOF
13312 done
13314 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inotify_add_watch in -linotify" >&5
13315 $as_echo_n "checking for inotify_add_watch in -linotify... " >&6; }
13316 if ${ac_cv_lib_inotify_inotify_add_watch+:} false; then :
13317 $as_echo_n "(cached) " >&6
13318 else
13319 ac_check_lib_save_LIBS=$LIBS
13320 LIBS="-linotify $INOTIFY_LIBS $LIBS"
13321 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13322 /* end confdefs.h. */
13324 /* Override any GCC internal prototype to avoid an error.
13325 Use char because int might match the return type of a GCC
13326 builtin and then its argument prototype would still apply. */
13327 #ifdef __cplusplus
13328 extern "C"
13329 #endif
13330 char inotify_add_watch ();
13332 main ()
13334 return inotify_add_watch ();
13336 return 0;
13338 _ACEOF
13339 if ac_fn_c_try_link "$LINENO"; then :
13340 ac_cv_lib_inotify_inotify_add_watch=yes
13341 else
13342 ac_cv_lib_inotify_inotify_add_watch=no
13344 rm -f core conftest.err conftest.$ac_objext \
13345 conftest$ac_exeext conftest.$ac_ext
13346 LIBS=$ac_check_lib_save_LIBS
13348 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_inotify_inotify_add_watch" >&5
13349 $as_echo "$ac_cv_lib_inotify_inotify_add_watch" >&6; }
13350 if test "x$ac_cv_lib_inotify_inotify_add_watch" = xyes; then :
13352 else
13353 INOTIFY_LIBS=""
13356 CPPFLAGS=$ac_save_CPPFLAGS
13359 if test "$ac_cv_header_sys_inotify_h" != "yes"; then :
13360 case "x$with_inotify" in
13361 x) as_fn_append wine_notices "|libinotify ${notice_platform}development files not found (or too old), filesystem change notifications won't be supported." ;;
13362 xno) ;;
13363 *) as_fn_error $? "libinotify ${notice_platform}development files not found (or too old), filesystem change notifications won't be supported.
13364 This is an error since --with-inotify was requested." "$LINENO" 5 ;;
13365 esac
13369 if test "x$with_dbus" != "xno"
13370 then
13371 if ${DBUS_CFLAGS:+false} :; then :
13372 if ${PKG_CONFIG+:} false; then :
13373 DBUS_CFLAGS=`$PKG_CONFIG --cflags dbus-1 2>/dev/null`
13377 if ${DBUS_LIBS:+false} :; then :
13378 if ${PKG_CONFIG+:} false; then :
13379 DBUS_LIBS=`$PKG_CONFIG --libs dbus-1 2>/dev/null`
13384 $as_echo "$as_me:${as_lineno-$LINENO}: dbus-1 cflags: $DBUS_CFLAGS" >&5
13385 $as_echo "$as_me:${as_lineno-$LINENO}: dbus-1 libs: $DBUS_LIBS" >&5
13386 ac_save_CPPFLAGS=$CPPFLAGS
13387 CPPFLAGS="$CPPFLAGS $DBUS_CFLAGS"
13388 ac_fn_c_check_header_mongrel "$LINENO" "dbus/dbus.h" "ac_cv_header_dbus_dbus_h" "$ac_includes_default"
13389 if test "x$ac_cv_header_dbus_dbus_h" = xyes; then :
13390 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ldbus-1" >&5
13391 $as_echo_n "checking for -ldbus-1... " >&6; }
13392 if ${ac_cv_lib_soname_dbus_1+:} false; then :
13393 $as_echo_n "(cached) " >&6
13394 else
13395 ac_check_soname_save_LIBS=$LIBS
13396 LIBS="-ldbus-1 $DBUS_LIBS $LIBS"
13397 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13398 /* end confdefs.h. */
13400 /* Override any GCC internal prototype to avoid an error.
13401 Use char because int might match the return type of a GCC
13402 builtin and then its argument prototype would still apply. */
13403 #ifdef __cplusplus
13404 extern "C"
13405 #endif
13406 char dbus_connection_close ();
13408 main ()
13410 return dbus_connection_close ();
13412 return 0;
13414 _ACEOF
13415 if ac_fn_c_try_link "$LINENO"; then :
13416 case "$LIBEXT" in
13417 dll) ac_cv_lib_soname_dbus_1=`$ac_cv_path_LDD conftest.exe | grep "dbus-1" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13418 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'` ;;
13419 *) 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'`
13420 if ${ac_cv_lib_soname_dbus_1:+false} :; then :
13421 ac_cv_lib_soname_dbus_1=`$LDD conftest$ac_exeext | grep "libdbus-1\\.$LIBEXT" | sed -e "s/^.*\(libdbus-1\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13422 fi ;;
13423 esac
13424 else
13425 ac_cv_lib_soname_dbus_1=
13427 rm -f core conftest.err conftest.$ac_objext \
13428 conftest$ac_exeext conftest.$ac_ext
13429 LIBS=$ac_check_soname_save_LIBS
13431 if ${ac_cv_lib_soname_dbus_1:+false} :; then :
13432 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13433 $as_echo "not found" >&6; }
13434 DBUS_CFLAGS=""
13435 else
13436 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_dbus_1" >&5
13437 $as_echo "$ac_cv_lib_soname_dbus_1" >&6; }
13439 cat >>confdefs.h <<_ACEOF
13440 #define SONAME_LIBDBUS_1 "$ac_cv_lib_soname_dbus_1"
13441 _ACEOF
13445 else
13446 DBUS_CFLAGS=""
13450 CPPFLAGS=$ac_save_CPPFLAGS
13453 if test "x$ac_cv_lib_soname_dbus_1" = "x" -a \
13454 "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"; then :
13455 case "x$with_dbus" in
13456 x) as_fn_append wine_notices "|libdbus ${notice_platform}development files not found, no dynamic device support." ;;
13457 xno) ;;
13458 *) as_fn_error $? "libdbus ${notice_platform}development files not found, no dynamic device support.
13459 This is an error since --with-dbus was requested." "$LINENO" 5 ;;
13460 esac
13464 if test "x$with_hal" != "xno" -a "x$ac_cv_lib_soname_dbus_1" != x
13465 then
13466 if ${HAL_CFLAGS:+false} :; then :
13467 if ${PKG_CONFIG+:} false; then :
13468 HAL_CFLAGS=`$PKG_CONFIG --cflags hal 2>/dev/null`
13472 if ${HAL_LIBS:+false} :; then :
13473 if ${PKG_CONFIG+:} false; then :
13474 HAL_LIBS=`$PKG_CONFIG --libs hal 2>/dev/null`
13478 HAL_LIBS=${HAL_LIBS:-"-ldbus-1"}
13479 $as_echo "$as_me:${as_lineno-$LINENO}: hal cflags: $HAL_CFLAGS" >&5
13480 $as_echo "$as_me:${as_lineno-$LINENO}: hal libs: $HAL_LIBS" >&5
13481 ac_save_CPPFLAGS=$CPPFLAGS
13482 CPPFLAGS="$CPPFLAGS $HAL_CFLAGS"
13483 ac_fn_c_check_header_mongrel "$LINENO" "hal/libhal.h" "ac_cv_header_hal_libhal_h" "$ac_includes_default"
13484 if test "x$ac_cv_header_hal_libhal_h" = xyes; then :
13485 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lhal" >&5
13486 $as_echo_n "checking for -lhal... " >&6; }
13487 if ${ac_cv_lib_soname_hal+:} false; then :
13488 $as_echo_n "(cached) " >&6
13489 else
13490 ac_check_soname_save_LIBS=$LIBS
13491 LIBS="-lhal $HAL_LIBS $LIBS"
13492 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13493 /* end confdefs.h. */
13495 /* Override any GCC internal prototype to avoid an error.
13496 Use char because int might match the return type of a GCC
13497 builtin and then its argument prototype would still apply. */
13498 #ifdef __cplusplus
13499 extern "C"
13500 #endif
13501 char libhal_ctx_new ();
13503 main ()
13505 return libhal_ctx_new ();
13507 return 0;
13509 _ACEOF
13510 if ac_fn_c_try_link "$LINENO"; then :
13511 case "$LIBEXT" in
13512 dll) ac_cv_lib_soname_hal=`$ac_cv_path_LDD conftest.exe | grep "hal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13513 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'` ;;
13514 *) ac_cv_lib_soname_hal=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libhal\\.$LIBEXT" | sed -e "s/^.*\\[\\(libhal\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13515 if ${ac_cv_lib_soname_hal:+false} :; then :
13516 ac_cv_lib_soname_hal=`$LDD conftest$ac_exeext | grep "libhal\\.$LIBEXT" | sed -e "s/^.*\(libhal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13517 fi ;;
13518 esac
13519 else
13520 ac_cv_lib_soname_hal=
13522 rm -f core conftest.err conftest.$ac_objext \
13523 conftest$ac_exeext conftest.$ac_ext
13524 LIBS=$ac_check_soname_save_LIBS
13526 if ${ac_cv_lib_soname_hal:+false} :; then :
13527 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13528 $as_echo "not found" >&6; }
13529 HAL_CFLAGS=""
13530 else
13531 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_hal" >&5
13532 $as_echo "$ac_cv_lib_soname_hal" >&6; }
13534 cat >>confdefs.h <<_ACEOF
13535 #define SONAME_LIBHAL "$ac_cv_lib_soname_hal"
13536 _ACEOF
13540 else
13541 HAL_CFLAGS=""
13545 CPPFLAGS=$ac_save_CPPFLAGS
13547 if test "x$ac_cv_lib_soname_hal" = "x" -a \
13548 "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"; then :
13549 case "x$with_hal" in
13550 x) as_fn_append wine_notices "|libhal ${notice_platform}development files not found, no legacy dynamic device support." ;;
13551 xno) ;;
13552 *) as_fn_error $? "libhal ${notice_platform}development files not found, no legacy dynamic device support.
13553 This is an error since --with-hal was requested." "$LINENO" 5 ;;
13554 esac
13559 if test "x$with_gnutls" != "xno"
13560 then
13561 if ${GNUTLS_CFLAGS:+false} :; then :
13562 if ${PKG_CONFIG+:} false; then :
13563 GNUTLS_CFLAGS=`$PKG_CONFIG --cflags gnutls 2>/dev/null`
13567 if ${GNUTLS_LIBS:+false} :; then :
13568 if ${PKG_CONFIG+:} false; then :
13569 GNUTLS_LIBS=`$PKG_CONFIG --libs gnutls 2>/dev/null`
13573 GNUTLS_LIBS=${GNUTLS_LIBS:-"-lgnutls"}
13574 $as_echo "$as_me:${as_lineno-$LINENO}: gnutls cflags: $GNUTLS_CFLAGS" >&5
13575 $as_echo "$as_me:${as_lineno-$LINENO}: gnutls libs: $GNUTLS_LIBS" >&5
13576 ac_save_CPPFLAGS=$CPPFLAGS
13577 CPPFLAGS="$CPPFLAGS $GNUTLS_CFLAGS"
13578 ac_fn_c_check_header_mongrel "$LINENO" "gnutls/gnutls.h" "ac_cv_header_gnutls_gnutls_h" "$ac_includes_default"
13579 if test "x$ac_cv_header_gnutls_gnutls_h" = xyes; then :
13580 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13581 /* end confdefs.h. */
13582 #include <gnutls/gnutls.h>
13583 #include <gnutls/crypto.h>
13585 main ()
13587 static typeof(gnutls_mac_get_key_size) *func; if (func) return 0;
13589 return 0;
13591 _ACEOF
13592 if ac_fn_c_try_compile "$LINENO"; then :
13593 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgnutls" >&5
13594 $as_echo_n "checking for -lgnutls... " >&6; }
13595 if ${ac_cv_lib_soname_gnutls+:} false; then :
13596 $as_echo_n "(cached) " >&6
13597 else
13598 ac_check_soname_save_LIBS=$LIBS
13599 LIBS="-lgnutls $GNUTLS_LIBS $LIBS"
13600 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13601 /* end confdefs.h. */
13603 /* Override any GCC internal prototype to avoid an error.
13604 Use char because int might match the return type of a GCC
13605 builtin and then its argument prototype would still apply. */
13606 #ifdef __cplusplus
13607 extern "C"
13608 #endif
13609 char gnutls_global_init ();
13611 main ()
13613 return gnutls_global_init ();
13615 return 0;
13617 _ACEOF
13618 if ac_fn_c_try_link "$LINENO"; then :
13619 case "$LIBEXT" in
13620 dll) ac_cv_lib_soname_gnutls=`$ac_cv_path_LDD conftest.exe | grep "gnutls" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13621 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'` ;;
13622 *) 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'`
13623 if ${ac_cv_lib_soname_gnutls:+false} :; then :
13624 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'`
13625 fi ;;
13626 esac
13627 else
13628 ac_cv_lib_soname_gnutls=
13630 rm -f core conftest.err conftest.$ac_objext \
13631 conftest$ac_exeext conftest.$ac_ext
13632 LIBS=$ac_check_soname_save_LIBS
13634 if ${ac_cv_lib_soname_gnutls:+false} :; then :
13635 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13636 $as_echo "not found" >&6; }
13637 GNUTLS_CFLAGS=""
13638 else
13639 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gnutls" >&5
13640 $as_echo "$ac_cv_lib_soname_gnutls" >&6; }
13642 cat >>confdefs.h <<_ACEOF
13643 #define SONAME_LIBGNUTLS "$ac_cv_lib_soname_gnutls"
13644 _ACEOF
13648 ac_wine_check_funcs_save_LIBS="$LIBS"
13649 LIBS="$LIBS $GNUTLS_LIBS"
13650 for ac_func in gnutls_cipher_init
13651 do :
13652 ac_fn_c_check_func "$LINENO" "gnutls_cipher_init" "ac_cv_func_gnutls_cipher_init"
13653 if test "x$ac_cv_func_gnutls_cipher_init" = xyes; then :
13654 cat >>confdefs.h <<_ACEOF
13655 #define HAVE_GNUTLS_CIPHER_INIT 1
13656 _ACEOF
13658 else
13659 as_fn_append wine_notices "|libgnutls ${notice_platform}development files too old, bcrypt encryption won't be supported."
13661 done
13663 LIBS="$ac_wine_check_funcs_save_LIBS"
13665 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13666 else
13667 GNUTLS_CFLAGS=""
13671 CPPFLAGS=$ac_save_CPPFLAGS
13674 if test "x$ac_cv_lib_soname_gnutls" = "x"; then :
13675 case "x$with_gnutls" in
13676 x) as_fn_append wine_warnings "|libgnutls ${notice_platform}development files not found, no schannel support." ;;
13677 xno) ;;
13678 *) as_fn_error $? "libgnutls ${notice_platform}development files not found, no schannel support.
13679 This is an error since --with-gnutls was requested." "$LINENO" 5 ;;
13680 esac
13684 if test "x$with_sane" != "xno"
13685 then
13686 if ${SANE_CFLAGS:+false} :; then :
13687 if ${PKG_CONFIG+:} false; then :
13688 SANE_CFLAGS=`$PKG_CONFIG --cflags sane-backends 2>/dev/null`
13691 test "$cross_compiling" = yes || SANE_CFLAGS=${SANE_CFLAGS:-`${SANE_CONFIG:-sane-config} --cflags 2>/dev/null`}
13692 if ${SANE_LIBS:+false} :; then :
13693 if ${PKG_CONFIG+:} false; then :
13694 SANE_LIBS=`$PKG_CONFIG --libs sane-backends 2>/dev/null`
13697 test "$cross_compiling" = yes || SANE_LIBS=${SANE_LIBS:-`${SANE_CONFIG:-sane-config} --ldflags 2>/dev/null`}
13699 $as_echo "$as_me:${as_lineno-$LINENO}: sane-backends cflags: $SANE_CFLAGS" >&5
13700 $as_echo "$as_me:${as_lineno-$LINENO}: sane-backends libs: $SANE_LIBS" >&5
13701 ac_save_CPPFLAGS=$CPPFLAGS
13702 CPPFLAGS="$CPPFLAGS $SANE_CFLAGS"
13703 ac_fn_c_check_header_mongrel "$LINENO" "sane/sane.h" "ac_cv_header_sane_sane_h" "$ac_includes_default"
13704 if test "x$ac_cv_header_sane_sane_h" = xyes; then :
13705 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lsane" >&5
13706 $as_echo_n "checking for -lsane... " >&6; }
13707 if ${ac_cv_lib_soname_sane+:} false; then :
13708 $as_echo_n "(cached) " >&6
13709 else
13710 ac_check_soname_save_LIBS=$LIBS
13711 LIBS="-lsane $SANE_LIBS $LIBS"
13712 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13713 /* end confdefs.h. */
13715 /* Override any GCC internal prototype to avoid an error.
13716 Use char because int might match the return type of a GCC
13717 builtin and then its argument prototype would still apply. */
13718 #ifdef __cplusplus
13719 extern "C"
13720 #endif
13721 char sane_init ();
13723 main ()
13725 return sane_init ();
13727 return 0;
13729 _ACEOF
13730 if ac_fn_c_try_link "$LINENO"; then :
13731 case "$LIBEXT" in
13732 dll) ac_cv_lib_soname_sane=`$ac_cv_path_LDD conftest.exe | grep "sane" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13733 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'` ;;
13734 *) ac_cv_lib_soname_sane=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libsane\\.$LIBEXT" | sed -e "s/^.*\\[\\(libsane\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13735 if ${ac_cv_lib_soname_sane:+false} :; then :
13736 ac_cv_lib_soname_sane=`$LDD conftest$ac_exeext | grep "libsane\\.$LIBEXT" | sed -e "s/^.*\(libsane\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13737 fi ;;
13738 esac
13739 else
13740 ac_cv_lib_soname_sane=
13742 rm -f core conftest.err conftest.$ac_objext \
13743 conftest$ac_exeext conftest.$ac_ext
13744 LIBS=$ac_check_soname_save_LIBS
13746 if ${ac_cv_lib_soname_sane:+false} :; then :
13747 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13748 $as_echo "not found" >&6; }
13749 SANE_CFLAGS=""
13750 else
13751 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_sane" >&5
13752 $as_echo "$ac_cv_lib_soname_sane" >&6; }
13754 cat >>confdefs.h <<_ACEOF
13755 #define SONAME_LIBSANE "$ac_cv_lib_soname_sane"
13756 _ACEOF
13760 else
13761 SANE_CFLAGS=""
13765 CPPFLAGS=$ac_save_CPPFLAGS
13768 if test "x$ac_cv_lib_soname_sane" = "x"; then :
13769 case "x$with_sane" in
13770 x) as_fn_append wine_notices "|libsane ${notice_platform}development files not found, scanners won't be supported." ;;
13771 xno) ;;
13772 *) as_fn_error $? "libsane ${notice_platform}development files not found, scanners won't be supported.
13773 This is an error since --with-sane was requested." "$LINENO" 5 ;;
13774 esac
13778 if test "x$with_usb" != "xno"
13779 then
13780 if ${USB_CFLAGS:+false} :; then :
13781 if ${PKG_CONFIG+:} false; then :
13782 USB_CFLAGS=`$PKG_CONFIG --cflags libusb-1.0 2>/dev/null`
13786 if ${USB_LIBS:+false} :; then :
13787 if ${PKG_CONFIG+:} false; then :
13788 USB_LIBS=`$PKG_CONFIG --libs libusb-1.0 2>/dev/null`
13792 USB_LIBS=${USB_LIBS:-"-lusb-1.0"}
13793 $as_echo "$as_me:${as_lineno-$LINENO}: libusb-1.0 cflags: $USB_CFLAGS" >&5
13794 $as_echo "$as_me:${as_lineno-$LINENO}: libusb-1.0 libs: $USB_LIBS" >&5
13795 ac_save_CPPFLAGS=$CPPFLAGS
13796 CPPFLAGS="$CPPFLAGS $USB_CFLAGS"
13797 ac_fn_c_check_header_mongrel "$LINENO" "libusb.h" "ac_cv_header_libusb_h" "$ac_includes_default"
13798 if test "x$ac_cv_header_libusb_h" = xyes; then :
13799 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libusb_interrupt_event_handler in -lusb-1.0" >&5
13800 $as_echo_n "checking for libusb_interrupt_event_handler in -lusb-1.0... " >&6; }
13801 if ${ac_cv_lib_usb_1_0_libusb_interrupt_event_handler+:} false; then :
13802 $as_echo_n "(cached) " >&6
13803 else
13804 ac_check_lib_save_LIBS=$LIBS
13805 LIBS="-lusb-1.0 $USB_LIBS $LIBS"
13806 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13807 /* end confdefs.h. */
13809 /* Override any GCC internal prototype to avoid an error.
13810 Use char because int might match the return type of a GCC
13811 builtin and then its argument prototype would still apply. */
13812 #ifdef __cplusplus
13813 extern "C"
13814 #endif
13815 char libusb_interrupt_event_handler ();
13817 main ()
13819 return libusb_interrupt_event_handler ();
13821 return 0;
13823 _ACEOF
13824 if ac_fn_c_try_link "$LINENO"; then :
13825 ac_cv_lib_usb_1_0_libusb_interrupt_event_handler=yes
13826 else
13827 ac_cv_lib_usb_1_0_libusb_interrupt_event_handler=no
13829 rm -f core conftest.err conftest.$ac_objext \
13830 conftest$ac_exeext conftest.$ac_ext
13831 LIBS=$ac_check_lib_save_LIBS
13833 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_usb_1_0_libusb_interrupt_event_handler" >&5
13834 $as_echo "$ac_cv_lib_usb_1_0_libusb_interrupt_event_handler" >&6; }
13835 if test "x$ac_cv_lib_usb_1_0_libusb_interrupt_event_handler" = xyes; then :
13837 else
13838 USB_LIBS=""
13841 else
13842 USB_LIBS=""
13846 CPPFLAGS=$ac_save_CPPFLAGS
13849 if test "$ac_cv_lib_usb_1_0_libusb_interrupt_event_handler" != "yes"; then :
13850 case "x$with_usb" in
13851 x) as_fn_append wine_notices "|libusb-1.0 ${notice_platform}development files not found (or too old), USB devices won't be supported." ;;
13852 xno) ;;
13853 *) as_fn_error $? "libusb-1.0 ${notice_platform}development files not found (or too old), USB devices won't be supported.
13854 This is an error since --with-usb was requested." "$LINENO" 5 ;;
13855 esac
13856 enable_wineusb_sys=${enable_wineusb_sys:-no}
13859 if test "x$with_v4l2" != "xno"
13860 then
13861 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lv4l2" >&5
13862 $as_echo_n "checking for -lv4l2... " >&6; }
13863 if ${ac_cv_lib_soname_v4l2+:} false; then :
13864 $as_echo_n "(cached) " >&6
13865 else
13866 ac_check_soname_save_LIBS=$LIBS
13867 LIBS="-lv4l2 $LIBS"
13868 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13869 /* end confdefs.h. */
13871 /* Override any GCC internal prototype to avoid an error.
13872 Use char because int might match the return type of a GCC
13873 builtin and then its argument prototype would still apply. */
13874 #ifdef __cplusplus
13875 extern "C"
13876 #endif
13877 char v4l2_open ();
13879 main ()
13881 return v4l2_open ();
13883 return 0;
13885 _ACEOF
13886 if ac_fn_c_try_link "$LINENO"; then :
13887 case "$LIBEXT" in
13888 dll) ac_cv_lib_soname_v4l2=`$ac_cv_path_LDD conftest.exe | grep "v4l2" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13889 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'` ;;
13890 *) ac_cv_lib_soname_v4l2=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libv4l2\\.$LIBEXT" | sed -e "s/^.*\\[\\(libv4l2\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13891 if ${ac_cv_lib_soname_v4l2:+false} :; then :
13892 ac_cv_lib_soname_v4l2=`$LDD conftest$ac_exeext | grep "libv4l2\\.$LIBEXT" | sed -e "s/^.*\(libv4l2\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13893 fi ;;
13894 esac
13895 else
13896 ac_cv_lib_soname_v4l2=
13898 rm -f core conftest.err conftest.$ac_objext \
13899 conftest$ac_exeext conftest.$ac_ext
13900 LIBS=$ac_check_soname_save_LIBS
13902 if ${ac_cv_lib_soname_v4l2:+false} :; then :
13903 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13904 $as_echo "not found" >&6; }
13906 else
13907 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_v4l2" >&5
13908 $as_echo "$ac_cv_lib_soname_v4l2" >&6; }
13910 cat >>confdefs.h <<_ACEOF
13911 #define SONAME_LIBV4L2 "$ac_cv_lib_soname_v4l2"
13912 _ACEOF
13917 if test "x$ac_cv_lib_soname_v4l2" = "x"; then :
13918 case "x$with_v4l2" in
13919 x) as_fn_append wine_notices "|libv4l2 ${notice_platform}development files not found." ;;
13920 xno) ;;
13921 *) as_fn_error $? "libv4l2 ${notice_platform}development files not found.
13922 This is an error since --with-v4l2 was requested." "$LINENO" 5 ;;
13923 esac
13927 if test "x$with_gphoto" != "xno"
13928 then
13929 if ${GPHOTO2_CFLAGS:+false} :; then :
13930 if ${PKG_CONFIG+:} false; then :
13931 GPHOTO2_CFLAGS=`$PKG_CONFIG --cflags libgphoto2 2>/dev/null`
13934 test "$cross_compiling" = yes || GPHOTO2_CFLAGS=${GPHOTO2_CFLAGS:-`${GPHOTO2_CONFIG:-gphoto2-config} --cflags 2>/dev/null`}
13935 if ${GPHOTO2_LIBS:+false} :; then :
13936 if ${PKG_CONFIG+:} false; then :
13937 GPHOTO2_LIBS=`$PKG_CONFIG --libs libgphoto2 2>/dev/null`
13940 test "$cross_compiling" = yes || GPHOTO2_LIBS=${GPHOTO2_LIBS:-`${GPHOTO2_CONFIG:-gphoto2-config} --libs 2>/dev/null`}
13941 GPHOTO2_LIBS=${GPHOTO2_LIBS:-"-lgphoto2"}
13942 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2 cflags: $GPHOTO2_CFLAGS" >&5
13943 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2 libs: $GPHOTO2_LIBS" >&5
13944 ac_save_CPPFLAGS=$CPPFLAGS
13945 CPPFLAGS="$CPPFLAGS $GPHOTO2_CFLAGS"
13946 ac_fn_c_check_header_mongrel "$LINENO" "gphoto2-camera.h" "ac_cv_header_gphoto2_camera_h" "$ac_includes_default"
13947 if test "x$ac_cv_header_gphoto2_camera_h" = xyes; then :
13948 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gp_camera_new in -lgphoto2" >&5
13949 $as_echo_n "checking for gp_camera_new in -lgphoto2... " >&6; }
13950 if ${ac_cv_lib_gphoto2_gp_camera_new+:} false; then :
13951 $as_echo_n "(cached) " >&6
13952 else
13953 ac_check_lib_save_LIBS=$LIBS
13954 LIBS="-lgphoto2 $GPHOTO2_LIBS $LIBS"
13955 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13956 /* end confdefs.h. */
13958 /* Override any GCC internal prototype to avoid an error.
13959 Use char because int might match the return type of a GCC
13960 builtin and then its argument prototype would still apply. */
13961 #ifdef __cplusplus
13962 extern "C"
13963 #endif
13964 char gp_camera_new ();
13966 main ()
13968 return gp_camera_new ();
13970 return 0;
13972 _ACEOF
13973 if ac_fn_c_try_link "$LINENO"; then :
13974 ac_cv_lib_gphoto2_gp_camera_new=yes
13975 else
13976 ac_cv_lib_gphoto2_gp_camera_new=no
13978 rm -f core conftest.err conftest.$ac_objext \
13979 conftest$ac_exeext conftest.$ac_ext
13980 LIBS=$ac_check_lib_save_LIBS
13982 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_gp_camera_new" >&5
13983 $as_echo "$ac_cv_lib_gphoto2_gp_camera_new" >&6; }
13984 if test "x$ac_cv_lib_gphoto2_gp_camera_new" = xyes; then :
13986 $as_echo "#define HAVE_GPHOTO2 1" >>confdefs.h
13988 else
13989 GPHOTO2_LIBS=""; GPHOTO2_CFLAGS=""
13992 else
13993 GPHOTO2_LIBS=""; GPHOTO2_CFLAGS=""
13997 CPPFLAGS=$ac_save_CPPFLAGS
13999 if ${GPHOTO2_PORT_CFLAGS:+false} :; then :
14000 if ${PKG_CONFIG+:} false; then :
14001 GPHOTO2_PORT_CFLAGS=`$PKG_CONFIG --cflags libgphoto2_port 2>/dev/null`
14004 test "$cross_compiling" = yes || GPHOTO2_PORT_CFLAGS=${GPHOTO2_PORT_CFLAGS:-`${GPHOTO2_PORT_CONFIG:-gphoto2-port-config} --cflags 2>/dev/null`}
14005 if ${GPHOTO2_PORT_LIBS:+false} :; then :
14006 if ${PKG_CONFIG+:} false; then :
14007 GPHOTO2_PORT_LIBS=`$PKG_CONFIG --libs libgphoto2_port 2>/dev/null`
14010 test "$cross_compiling" = yes || GPHOTO2_PORT_LIBS=${GPHOTO2_PORT_LIBS:-`${GPHOTO2_PORT_CONFIG:-gphoto2-port-config} --libs 2>/dev/null`}
14011 GPHOTO2_PORT_LIBS=${GPHOTO2_PORT_LIBS:-"-lgphoto2_port"}
14012 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2_port cflags: $GPHOTO2_PORT_CFLAGS" >&5
14013 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2_port libs: $GPHOTO2_PORT_LIBS" >&5
14014 ac_save_CPPFLAGS=$CPPFLAGS
14015 CPPFLAGS="$CPPFLAGS $GPHOTO2_PORT_CFLAGS"
14016 ac_fn_c_check_header_mongrel "$LINENO" "gphoto2-port.h" "ac_cv_header_gphoto2_port_h" "$ac_includes_default"
14017 if test "x$ac_cv_header_gphoto2_port_h" = xyes; then :
14018 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gp_port_info_list_new in -lgphoto2_port" >&5
14019 $as_echo_n "checking for gp_port_info_list_new in -lgphoto2_port... " >&6; }
14020 if ${ac_cv_lib_gphoto2_port_gp_port_info_list_new+:} false; then :
14021 $as_echo_n "(cached) " >&6
14022 else
14023 ac_check_lib_save_LIBS=$LIBS
14024 LIBS="-lgphoto2_port $GPHOTO2_PORT_LIBS $LIBS"
14025 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14026 /* end confdefs.h. */
14028 /* Override any GCC internal prototype to avoid an error.
14029 Use char because int might match the return type of a GCC
14030 builtin and then its argument prototype would still apply. */
14031 #ifdef __cplusplus
14032 extern "C"
14033 #endif
14034 char gp_port_info_list_new ();
14036 main ()
14038 return gp_port_info_list_new ();
14040 return 0;
14042 _ACEOF
14043 if ac_fn_c_try_link "$LINENO"; then :
14044 ac_cv_lib_gphoto2_port_gp_port_info_list_new=yes
14045 else
14046 ac_cv_lib_gphoto2_port_gp_port_info_list_new=no
14048 rm -f core conftest.err conftest.$ac_objext \
14049 conftest$ac_exeext conftest.$ac_ext
14050 LIBS=$ac_check_lib_save_LIBS
14052 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&5
14053 $as_echo "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&6; }
14054 if test "x$ac_cv_lib_gphoto2_port_gp_port_info_list_new" = xyes; then :
14056 $as_echo "#define HAVE_GPHOTO2_PORT 1" >>confdefs.h
14058 else
14059 GPHOTO2_PORT_LIBS=""; GPHOTO2_PORT_CFLAGS=""
14062 else
14063 GPHOTO2_PORT_LIBS=""; GPHOTO2_PORT_CFLAGS=""
14067 CPPFLAGS=$ac_save_CPPFLAGS
14070 if test "$ac_cv_lib_gphoto2_gp_camera_new" != "yes"; then :
14071 case "x$with_gphoto" in
14072 x) as_fn_append wine_notices "|libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported." ;;
14073 xno) ;;
14074 *) as_fn_error $? "libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported.
14075 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
14076 esac
14079 if test "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" != "yes"; then :
14080 case "x$with_gphoto" in
14081 x) as_fn_append wine_notices "|libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected." ;;
14082 xno) ;;
14083 *) as_fn_error $? "libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected.
14084 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
14085 esac
14090 if test "$ac_cv_header_resolv_h" = "yes"
14091 then
14092 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for resolver library" >&5
14093 $as_echo_n "checking for resolver library... " >&6; }
14094 if ${ac_cv_have_resolv+:} false; then :
14095 $as_echo_n "(cached) " >&6
14096 else
14097 ac_save_LIBS="$LIBS"
14098 for lib in '' -lresolv
14100 LIBS="$lib $ac_save_LIBS"
14101 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14102 /* end confdefs.h. */
14103 #ifdef HAVE_NETINET_IN_H
14104 #include <netinet/in.h>
14105 #endif
14106 #include <resolv.h>
14108 main ()
14110 if (!(_res.options & RES_INIT)) res_init(); res_query("foo",ns_c_in,0,0,0)
14112 return 0;
14114 _ACEOF
14115 if ac_fn_c_try_link "$LINENO"; then :
14116 ac_cv_have_resolv=${lib:-"none required"}
14117 else
14118 ac_cv_have_resolv="not found"
14120 rm -f core conftest.err conftest.$ac_objext \
14121 conftest$ac_exeext conftest.$ac_ext
14122 test "x$ac_cv_have_resolv" = "xnot found" || break
14123 done
14124 LIBS="$ac_save_LIBS"
14126 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_resolv" >&5
14127 $as_echo "$ac_cv_have_resolv" >&6; }
14129 case "$ac_cv_have_resolv" in
14130 "not found") ;;
14131 "none required")
14133 $as_echo "#define HAVE_RESOLV 1" >>confdefs.h
14136 $as_echo "#define HAVE_RESOLV 1" >>confdefs.h
14138 RESOLV_LIBS=$ac_cv_have_resolv
14140 esac
14142 if test "x$ac_cv_have_resolv" != "xnot found"
14143 then
14144 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for res_getservers" >&5
14145 $as_echo_n "checking for res_getservers... " >&6; }
14146 if ${ac_cv_have_res_getservers+:} false; then :
14147 $as_echo_n "(cached) " >&6
14148 else
14149 ac_save_LIBS="$LIBS"
14150 LIBS="$RESOLV_LIBS $LIBS"
14151 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14152 /* end confdefs.h. */
14153 #include <resolv.h>
14155 main ()
14157 res_getservers(NULL, NULL, 0);
14159 return 0;
14161 _ACEOF
14162 if ac_fn_c_try_link "$LINENO"; then :
14163 ac_cv_have_res_getservers=yes
14164 else
14165 ac_cv_have_res_getservers=no
14167 rm -f core conftest.err conftest.$ac_objext \
14168 conftest$ac_exeext conftest.$ac_ext
14169 LIBS="$ac_save_LIBS"
14171 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_res_getservers" >&5
14172 $as_echo "$ac_cv_have_res_getservers" >&6; }
14173 if test "$ac_cv_have_res_getservers" = "yes"
14174 then
14176 $as_echo "#define HAVE_RES_GETSERVERS 1" >>confdefs.h
14182 if test "x$with_cms" != "xno"
14183 then
14184 if ${LCMS2_CFLAGS:+false} :; then :
14185 if ${PKG_CONFIG+:} false; then :
14186 LCMS2_CFLAGS=`$PKG_CONFIG --cflags lcms2 2>/dev/null`
14190 if ${LCMS2_LIBS:+false} :; then :
14191 if ${PKG_CONFIG+:} false; then :
14192 LCMS2_LIBS=`$PKG_CONFIG --libs lcms2 2>/dev/null`
14196 LCMS2_LIBS=${LCMS2_LIBS:-"-llcms2"}
14197 $as_echo "$as_me:${as_lineno-$LINENO}: lcms2 cflags: $LCMS2_CFLAGS" >&5
14198 $as_echo "$as_me:${as_lineno-$LINENO}: lcms2 libs: $LCMS2_LIBS" >&5
14199 ac_save_CPPFLAGS=$CPPFLAGS
14200 CPPFLAGS="$CPPFLAGS $LCMS2_CFLAGS"
14201 for ac_header in lcms2.h
14202 do :
14203 ac_fn_c_check_header_mongrel "$LINENO" "lcms2.h" "ac_cv_header_lcms2_h" "$ac_includes_default"
14204 if test "x$ac_cv_header_lcms2_h" = xyes; then :
14205 cat >>confdefs.h <<_ACEOF
14206 #define HAVE_LCMS2_H 1
14207 _ACEOF
14211 done
14213 if test "$ac_cv_header_lcms2_h" = "yes"
14214 then
14215 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cmsOpenProfileFromFile in -llcms2" >&5
14216 $as_echo_n "checking for cmsOpenProfileFromFile in -llcms2... " >&6; }
14217 if ${ac_cv_lib_lcms2_cmsOpenProfileFromFile+:} false; then :
14218 $as_echo_n "(cached) " >&6
14219 else
14220 ac_check_lib_save_LIBS=$LIBS
14221 LIBS="-llcms2 $LCMS2_LIBS $LIBS"
14222 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14223 /* end confdefs.h. */
14225 /* Override any GCC internal prototype to avoid an error.
14226 Use char because int might match the return type of a GCC
14227 builtin and then its argument prototype would still apply. */
14228 #ifdef __cplusplus
14229 extern "C"
14230 #endif
14231 char cmsOpenProfileFromFile ();
14233 main ()
14235 return cmsOpenProfileFromFile ();
14237 return 0;
14239 _ACEOF
14240 if ac_fn_c_try_link "$LINENO"; then :
14241 ac_cv_lib_lcms2_cmsOpenProfileFromFile=yes
14242 else
14243 ac_cv_lib_lcms2_cmsOpenProfileFromFile=no
14245 rm -f core conftest.err conftest.$ac_objext \
14246 conftest$ac_exeext conftest.$ac_ext
14247 LIBS=$ac_check_lib_save_LIBS
14249 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lcms2_cmsOpenProfileFromFile" >&5
14250 $as_echo "$ac_cv_lib_lcms2_cmsOpenProfileFromFile" >&6; }
14251 if test "x$ac_cv_lib_lcms2_cmsOpenProfileFromFile" = xyes; then :
14253 $as_echo "#define HAVE_LCMS2 1" >>confdefs.h
14255 else
14256 LCMS2_LIBS=""
14259 else
14260 LCMS2_CFLAGS=""
14261 LCMS2_LIBS=""
14263 CPPFLAGS=$ac_save_CPPFLAGS
14266 if test "$ac_cv_lib_lcms2_cmsOpenProfileFromFile" != "yes"; then :
14267 case "x$with_cms" in
14268 x) as_fn_append wine_notices "|liblcms2 ${notice_platform}development files not found, Color Management won't be supported." ;;
14269 xno) ;;
14270 *) as_fn_error $? "liblcms2 ${notice_platform}development files not found, Color Management won't be supported.
14271 This is an error since --with-cms was requested." "$LINENO" 5 ;;
14272 esac
14276 if test "x$with_freetype" != "xno"
14277 then
14278 if ${FREETYPE_CFLAGS:+false} :; then :
14279 if ${PKG_CONFIG+:} false; then :
14280 FREETYPE_CFLAGS=`$PKG_CONFIG --cflags freetype2 2>/dev/null`
14283 test "$cross_compiling" = yes || FREETYPE_CFLAGS=${FREETYPE_CFLAGS:-`(${FREETYPE_CONFIG:-freetype-config} --cflags || ${FREETYPE2_CONFIG:-freetype2-config} --cflags) 2>/dev/null`}
14284 if ${FREETYPE_LIBS:+false} :; then :
14285 if ${PKG_CONFIG+:} false; then :
14286 FREETYPE_LIBS=`$PKG_CONFIG --libs freetype2 2>/dev/null`
14289 test "$cross_compiling" = yes || FREETYPE_LIBS=${FREETYPE_LIBS:-`(${FREETYPE_CONFIG:-freetype-config} --libs || ${FREETYPE2_CONFIG:-freetype2-config} --libs) 2>/dev/null`}
14290 FREETYPE_LIBS=${FREETYPE_LIBS:-"-lfreetype"}
14291 $as_echo "$as_me:${as_lineno-$LINENO}: freetype2 cflags: $FREETYPE_CFLAGS" >&5
14292 $as_echo "$as_me:${as_lineno-$LINENO}: freetype2 libs: $FREETYPE_LIBS" >&5
14293 ac_save_CPPFLAGS=$CPPFLAGS
14294 CPPFLAGS="$CPPFLAGS $FREETYPE_CFLAGS"
14295 for ac_header in ft2build.h
14296 do :
14297 ac_fn_c_check_header_mongrel "$LINENO" "ft2build.h" "ac_cv_header_ft2build_h" "$ac_includes_default"
14298 if test "x$ac_cv_header_ft2build_h" = xyes; then :
14299 cat >>confdefs.h <<_ACEOF
14300 #define HAVE_FT2BUILD_H 1
14301 _ACEOF
14305 done
14307 if test "$ac_cv_header_ft2build_h" = "yes"
14308 then
14309 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfreetype" >&5
14310 $as_echo_n "checking for -lfreetype... " >&6; }
14311 if ${ac_cv_lib_soname_freetype+:} false; then :
14312 $as_echo_n "(cached) " >&6
14313 else
14314 ac_check_soname_save_LIBS=$LIBS
14315 LIBS="-lfreetype $FREETYPE_LIBS $LIBS"
14316 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14317 /* end confdefs.h. */
14319 /* Override any GCC internal prototype to avoid an error.
14320 Use char because int might match the return type of a GCC
14321 builtin and then its argument prototype would still apply. */
14322 #ifdef __cplusplus
14323 extern "C"
14324 #endif
14325 char FT_Init_FreeType ();
14327 main ()
14329 return FT_Init_FreeType ();
14331 return 0;
14333 _ACEOF
14334 if ac_fn_c_try_link "$LINENO"; then :
14335 case "$LIBEXT" in
14336 dll) ac_cv_lib_soname_freetype=`$ac_cv_path_LDD conftest.exe | grep "freetype" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14337 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'` ;;
14338 *) ac_cv_lib_soname_freetype=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfreetype\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfreetype\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14339 if ${ac_cv_lib_soname_freetype:+false} :; then :
14340 ac_cv_lib_soname_freetype=`$LDD conftest$ac_exeext | grep "libfreetype\\.$LIBEXT" | sed -e "s/^.*\(libfreetype\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14341 fi ;;
14342 esac
14343 else
14344 ac_cv_lib_soname_freetype=
14346 rm -f core conftest.err conftest.$ac_objext \
14347 conftest$ac_exeext conftest.$ac_ext
14348 LIBS=$ac_check_soname_save_LIBS
14350 if ${ac_cv_lib_soname_freetype:+false} :; then :
14351 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14352 $as_echo "not found" >&6; }
14353 FREETYPE_LIBS=""
14354 else
14355 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_freetype" >&5
14356 $as_echo "$ac_cv_lib_soname_freetype" >&6; }
14358 cat >>confdefs.h <<_ACEOF
14359 #define SONAME_LIBFREETYPE "$ac_cv_lib_soname_freetype"
14360 _ACEOF
14363 $as_echo "#define HAVE_FREETYPE 1" >>confdefs.h
14365 ac_fn_c_check_type "$LINENO" "FT_TrueTypeEngineType" "ac_cv_type_FT_TrueTypeEngineType" "#include <ft2build.h>
14366 #include FT_MODULE_H
14368 if test "x$ac_cv_type_FT_TrueTypeEngineType" = xyes; then :
14370 cat >>confdefs.h <<_ACEOF
14371 #define HAVE_FT_TRUETYPEENGINETYPE 1
14372 _ACEOF
14378 else
14379 FREETYPE_CFLAGS=""
14380 FREETYPE_LIBS=""
14382 CPPFLAGS=$ac_save_CPPFLAGS
14385 if test "x$ac_cv_lib_soname_freetype" = x; then :
14386 case "x$with_freetype" in
14387 xno) ;;
14388 *) as_fn_error $? "FreeType ${notice_platform}development files not found. Fonts will not be built.
14389 Use the --without-freetype option if you really want this." "$LINENO" 5 ;;
14390 esac
14391 enable_fonts=${enable_fonts:-no}
14394 ac_wine_check_funcs_save_LIBS="$LIBS"
14395 LIBS="$LIBS $PTHREAD_LIBS"
14396 for ac_func in \
14397 pthread_getthreadid_np
14398 do :
14399 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
14400 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
14401 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
14402 cat >>confdefs.h <<_ACEOF
14403 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
14404 _ACEOF
14407 done
14409 LIBS="$ac_wine_check_funcs_save_LIBS"
14411 if test "x$enable_tools" != xno -a "x$with_gettextpo" = xyes
14412 then
14413 if test "$ac_cv_header_gettext_po_h" = "yes"
14414 then
14415 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for po_message_msgctxt in -lgettextpo" >&5
14416 $as_echo_n "checking for po_message_msgctxt in -lgettextpo... " >&6; }
14417 if ${ac_cv_lib_gettextpo_po_message_msgctxt+:} false; then :
14418 $as_echo_n "(cached) " >&6
14419 else
14420 ac_check_lib_save_LIBS=$LIBS
14421 LIBS="-lgettextpo $LIBS"
14422 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14423 /* end confdefs.h. */
14425 /* Override any GCC internal prototype to avoid an error.
14426 Use char because int might match the return type of a GCC
14427 builtin and then its argument prototype would still apply. */
14428 #ifdef __cplusplus
14429 extern "C"
14430 #endif
14431 char po_message_msgctxt ();
14433 main ()
14435 return po_message_msgctxt ();
14437 return 0;
14439 _ACEOF
14440 if ac_fn_c_try_link "$LINENO"; then :
14441 ac_cv_lib_gettextpo_po_message_msgctxt=yes
14442 else
14443 ac_cv_lib_gettextpo_po_message_msgctxt=no
14445 rm -f core conftest.err conftest.$ac_objext \
14446 conftest$ac_exeext conftest.$ac_ext
14447 LIBS=$ac_check_lib_save_LIBS
14449 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gettextpo_po_message_msgctxt" >&5
14450 $as_echo "$ac_cv_lib_gettextpo_po_message_msgctxt" >&6; }
14451 if test "x$ac_cv_lib_gettextpo_po_message_msgctxt" = xyes; then :
14453 $as_echo "#define HAVE_LIBGETTEXTPO 1" >>confdefs.h
14455 GETTEXTPO_LIBS="-lgettextpo"
14460 if test "x$GETTEXTPO_LIBS" = "x"; then :
14461 case "x$with_gettextpo" in
14462 x) as_fn_append wine_notices "|GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt." ;;
14463 xno) ;;
14464 *) as_fn_error $? "GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt.
14465 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
14466 esac
14469 if test "$srcdir" != .; then :
14470 case "x$with_gettextpo" in
14471 x) as_fn_append wine_notices "|Rebuilding po files is not supported for out of tree builds." ;;
14472 xno) ;;
14473 *) as_fn_error $? "Rebuilding po files is not supported for out of tree builds.
14474 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
14475 esac
14480 if test "x$with_pulse" != "xno";
14481 then
14482 if ${PULSE_CFLAGS:+false} :; then :
14483 if ${PKG_CONFIG+:} false; then :
14484 PULSE_CFLAGS=`$PKG_CONFIG --cflags libpulse 2>/dev/null`
14488 if ${PULSE_LIBS:+false} :; then :
14489 if ${PKG_CONFIG+:} false; then :
14490 PULSE_LIBS=`$PKG_CONFIG --libs libpulse 2>/dev/null`
14495 $as_echo "$as_me:${as_lineno-$LINENO}: libpulse cflags: $PULSE_CFLAGS" >&5
14496 $as_echo "$as_me:${as_lineno-$LINENO}: libpulse libs: $PULSE_LIBS" >&5
14497 ac_save_CPPFLAGS=$CPPFLAGS
14498 CPPFLAGS="$CPPFLAGS $PULSE_CFLAGS"
14499 for ac_header in pulse/pulseaudio.h
14500 do :
14501 ac_fn_c_check_header_mongrel "$LINENO" "pulse/pulseaudio.h" "ac_cv_header_pulse_pulseaudio_h" "$ac_includes_default"
14502 if test "x$ac_cv_header_pulse_pulseaudio_h" = xyes; then :
14503 cat >>confdefs.h <<_ACEOF
14504 #define HAVE_PULSE_PULSEAUDIO_H 1
14505 _ACEOF
14506 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pa_stream_is_corked in -lpulse" >&5
14507 $as_echo_n "checking for pa_stream_is_corked in -lpulse... " >&6; }
14508 if ${ac_cv_lib_pulse_pa_stream_is_corked+:} false; then :
14509 $as_echo_n "(cached) " >&6
14510 else
14511 ac_check_lib_save_LIBS=$LIBS
14512 LIBS="-lpulse $PULSE_LIBS $LIBS"
14513 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14514 /* end confdefs.h. */
14516 /* Override any GCC internal prototype to avoid an error.
14517 Use char because int might match the return type of a GCC
14518 builtin and then its argument prototype would still apply. */
14519 #ifdef __cplusplus
14520 extern "C"
14521 #endif
14522 char pa_stream_is_corked ();
14524 main ()
14526 return pa_stream_is_corked ();
14528 return 0;
14530 _ACEOF
14531 if ac_fn_c_try_link "$LINENO"; then :
14532 ac_cv_lib_pulse_pa_stream_is_corked=yes
14533 else
14534 ac_cv_lib_pulse_pa_stream_is_corked=no
14536 rm -f core conftest.err conftest.$ac_objext \
14537 conftest$ac_exeext conftest.$ac_ext
14538 LIBS=$ac_check_lib_save_LIBS
14540 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pulse_pa_stream_is_corked" >&5
14541 $as_echo "$ac_cv_lib_pulse_pa_stream_is_corked" >&6; }
14542 if test "x$ac_cv_lib_pulse_pa_stream_is_corked" = xyes; then :
14544 else
14545 PULSE_LIBS=""
14548 else
14549 PULSE_LIBS=""
14552 done
14554 CPPFLAGS=$ac_save_CPPFLAGS
14557 if test -z "$PULSE_LIBS"; then :
14558 case "x$with_pulse" in
14559 x) as_fn_append wine_notices "|libpulse ${notice_platform}development files not found or too old, Pulse won't be supported." ;;
14560 xno) ;;
14561 *) as_fn_error $? "libpulse ${notice_platform}development files not found or too old, Pulse won't be supported.
14562 This is an error since --with-pulse was requested." "$LINENO" 5 ;;
14563 esac
14564 enable_winepulse_drv=${enable_winepulse_drv:-no}
14567 if test "x$with_gstreamer" != "xno"
14568 then
14569 if ${GSTREAMER_CFLAGS:+false} :; then :
14570 if ${PKG_CONFIG+:} false; then :
14571 GSTREAMER_CFLAGS=`$PKG_CONFIG --cflags gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 2>/dev/null`
14575 if ${GSTREAMER_LIBS:+false} :; then :
14576 if ${PKG_CONFIG+:} false; then :
14577 GSTREAMER_LIBS=`$PKG_CONFIG --libs gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 2>/dev/null`
14582 $as_echo "$as_me:${as_lineno-$LINENO}: gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 cflags: $GSTREAMER_CFLAGS" >&5
14583 $as_echo "$as_me:${as_lineno-$LINENO}: gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 libs: $GSTREAMER_LIBS" >&5
14584 ac_save_CPPFLAGS=$CPPFLAGS
14585 CPPFLAGS="$CPPFLAGS $GSTREAMER_CFLAGS"
14586 ac_gst_incl=""
14587 for i in $GSTREAMER_CFLAGS
14589 case "$i" in
14590 -I*) ac_gst_incl="$ac_gst_incl $i";;
14591 esac
14592 done
14593 GSTREAMER_CFLAGS=$ac_gst_incl
14594 CPPFLAGS="$ac_save_CPPFLAGS $GSTREAMER_CFLAGS"
14595 ac_fn_c_check_header_mongrel "$LINENO" "gst/gst.h" "ac_cv_header_gst_gst_h" "$ac_includes_default"
14596 if test "x$ac_cv_header_gst_gst_h" = xyes; then :
14597 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether gint64 defined by gst/gst.h is indeed 64-bit" >&5
14598 $as_echo_n "checking whether gint64 defined by gst/gst.h is indeed 64-bit... " >&6; }
14599 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14600 /* end confdefs.h. */
14601 #include <gst/gst.h>
14603 main ()
14605 static int a[sizeof(gint64) > 4 ? 1 : -1]; if (a[0]) return 0;
14607 return 0;
14609 _ACEOF
14610 if ac_fn_c_try_compile "$LINENO"; then :
14611 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14612 $as_echo "yes" >&6; }
14613 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gst_pad_new in -lgstreamer-1.0" >&5
14614 $as_echo_n "checking for gst_pad_new in -lgstreamer-1.0... " >&6; }
14615 if ${ac_cv_lib_gstreamer_1_0_gst_pad_new+:} false; then :
14616 $as_echo_n "(cached) " >&6
14617 else
14618 ac_check_lib_save_LIBS=$LIBS
14619 LIBS="-lgstreamer-1.0 $GSTREAMER_LIBS $LIBS"
14620 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14621 /* end confdefs.h. */
14623 /* Override any GCC internal prototype to avoid an error.
14624 Use char because int might match the return type of a GCC
14625 builtin and then its argument prototype would still apply. */
14626 #ifdef __cplusplus
14627 extern "C"
14628 #endif
14629 char gst_pad_new ();
14631 main ()
14633 return gst_pad_new ();
14635 return 0;
14637 _ACEOF
14638 if ac_fn_c_try_link "$LINENO"; then :
14639 ac_cv_lib_gstreamer_1_0_gst_pad_new=yes
14640 else
14641 ac_cv_lib_gstreamer_1_0_gst_pad_new=no
14643 rm -f core conftest.err conftest.$ac_objext \
14644 conftest$ac_exeext conftest.$ac_ext
14645 LIBS=$ac_check_lib_save_LIBS
14647 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gstreamer_1_0_gst_pad_new" >&5
14648 $as_echo "$ac_cv_lib_gstreamer_1_0_gst_pad_new" >&6; }
14649 if test "x$ac_cv_lib_gstreamer_1_0_gst_pad_new" = xyes; then :
14653 else
14654 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14655 $as_echo "no" >&6; }
14656 ac_glib2_broken=yes
14657 as_fn_append wine_notices "|glib-2.0 pkgconfig configuration is for the wrong architecture, winegstreamer won't be built."
14659 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14663 CPPFLAGS=$ac_save_CPPFLAGS
14666 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 :
14667 case "x$with_gstreamer" in
14668 x) as_fn_append wine_notices "|gstreamer-1.0 base plugins ${notice_platform}development files not found, GStreamer won't be supported." ;;
14669 xno) ;;
14670 *) as_fn_error $? "gstreamer-1.0 base plugins ${notice_platform}development files not found, GStreamer won't be supported.
14671 This is an error since --with-gstreamer was requested." "$LINENO" 5 ;;
14672 esac
14675 test "x$ac_cv_lib_gstreamer_1_0_gst_pad_new" = xyes || enable_winegstreamer=${enable_winegstreamer:-no}
14677 ALSA_LIBS=""
14679 if test "x$with_alsa" != "xno"
14680 then
14681 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for snd_pcm_hw_params_get_access_mask in -lasound" >&5
14682 $as_echo_n "checking for snd_pcm_hw_params_get_access_mask in -lasound... " >&6; }
14683 if ${ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask+:} false; then :
14684 $as_echo_n "(cached) " >&6
14685 else
14686 ac_check_lib_save_LIBS=$LIBS
14687 LIBS="-lasound $LIBS"
14688 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14689 /* end confdefs.h. */
14691 /* Override any GCC internal prototype to avoid an error.
14692 Use char because int might match the return type of a GCC
14693 builtin and then its argument prototype would still apply. */
14694 #ifdef __cplusplus
14695 extern "C"
14696 #endif
14697 char snd_pcm_hw_params_get_access_mask ();
14699 main ()
14701 return snd_pcm_hw_params_get_access_mask ();
14703 return 0;
14705 _ACEOF
14706 if ac_fn_c_try_link "$LINENO"; then :
14707 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask=yes
14708 else
14709 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask=no
14711 rm -f core conftest.err conftest.$ac_objext \
14712 conftest$ac_exeext conftest.$ac_ext
14713 LIBS=$ac_check_lib_save_LIBS
14715 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&5
14716 $as_echo "$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&6; }
14717 if test "x$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" = xyes; then :
14718 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14719 /* end confdefs.h. */
14720 #include <alsa/asoundlib.h>
14722 main ()
14724 snd_pcm_hw_params_get_access_mask(NULL, NULL)
14726 return 0;
14728 _ACEOF
14729 if ac_fn_c_try_compile "$LINENO"; then :
14730 ALSA_LIBS="-lasound"
14732 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14736 test -n "$ALSA_LIBS" || enable_winealsa_drv=${enable_winealsa_drv:-no}
14738 if test "x$with_oss" != xno
14739 then
14740 ac_save_CPPFLAGS="$CPPFLAGS"
14741 if test -f /etc/oss.conf
14742 then
14743 . /etc/oss.conf
14745 ac_oss_incl="-I${OSSLIBDIR:-/usr/lib/oss}/include"
14746 CPPFLAGS="$CPPFLAGS $ac_oss_incl"
14747 ac_fn_c_check_header_mongrel "$LINENO" "sys/soundcard.h" "ac_cv_header_sys_soundcard_h" "$ac_includes_default"
14748 if test "x$ac_cv_header_sys_soundcard_h" = xyes; then :
14749 ac_fn_c_check_member "$LINENO" "oss_sysinfo" "numaudioengines" "ac_cv_member_oss_sysinfo_numaudioengines" "#include <sys/soundcard.h>
14751 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" = xyes; then :
14753 cat >>confdefs.h <<_ACEOF
14754 #define HAVE_OSS_SYSINFO_NUMAUDIOENGINES 1
14755 _ACEOF
14757 OSS4_CFLAGS="$ac_oss_incl"
14759 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _oss_ioctl in -lossaudio" >&5
14760 $as_echo_n "checking for _oss_ioctl in -lossaudio... " >&6; }
14761 if ${ac_cv_lib_ossaudio__oss_ioctl+:} false; then :
14762 $as_echo_n "(cached) " >&6
14763 else
14764 ac_check_lib_save_LIBS=$LIBS
14765 LIBS="-lossaudio $LIBS"
14766 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14767 /* end confdefs.h. */
14769 /* Override any GCC internal prototype to avoid an error.
14770 Use char because int might match the return type of a GCC
14771 builtin and then its argument prototype would still apply. */
14772 #ifdef __cplusplus
14773 extern "C"
14774 #endif
14775 char _oss_ioctl ();
14777 main ()
14779 return _oss_ioctl ();
14781 return 0;
14783 _ACEOF
14784 if ac_fn_c_try_link "$LINENO"; then :
14785 ac_cv_lib_ossaudio__oss_ioctl=yes
14786 else
14787 ac_cv_lib_ossaudio__oss_ioctl=no
14789 rm -f core conftest.err conftest.$ac_objext \
14790 conftest$ac_exeext conftest.$ac_ext
14791 LIBS=$ac_check_lib_save_LIBS
14793 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ossaudio__oss_ioctl" >&5
14794 $as_echo "$ac_cv_lib_ossaudio__oss_ioctl" >&6; }
14795 if test "x$ac_cv_lib_ossaudio__oss_ioctl" = xyes; then :
14796 OSS4_LIBS="-lossaudio"
14805 CPPFLAGS="$ac_save_CPPFLAGS"
14807 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" != xyes; then :
14808 case "x$with_oss" in
14809 x) as_fn_append wine_notices "|OSS sound system found but too old (OSSv4 needed), OSS won't be supported." ;;
14810 xno) ;;
14811 *) as_fn_error $? "OSS sound system found but too old (OSSv4 needed), OSS won't be supported.
14812 This is an error since --with-oss was requested." "$LINENO" 5 ;;
14813 esac
14814 enable_wineoss_drv=${enable_wineoss_drv:-no}
14817 if test "x$with_udev" != "xno"
14818 then
14819 if ${UDEV_CFLAGS:+false} :; then :
14820 if ${PKG_CONFIG+:} false; then :
14821 UDEV_CFLAGS=`$PKG_CONFIG --cflags libudev 2>/dev/null`
14825 if ${UDEV_LIBS:+false} :; then :
14826 if ${PKG_CONFIG+:} false; then :
14827 UDEV_LIBS=`$PKG_CONFIG --libs libudev 2>/dev/null`
14831 UDEV_LIBS=${UDEV_LIBS:-"-ludev"}
14832 $as_echo "$as_me:${as_lineno-$LINENO}: libudev cflags: $UDEV_CFLAGS" >&5
14833 $as_echo "$as_me:${as_lineno-$LINENO}: libudev libs: $UDEV_LIBS" >&5
14834 ac_save_CPPFLAGS=$CPPFLAGS
14835 CPPFLAGS="$CPPFLAGS $UDEV_CFLAGS"
14836 for ac_header in libudev.h
14837 do :
14838 ac_fn_c_check_header_mongrel "$LINENO" "libudev.h" "ac_cv_header_libudev_h" "$ac_includes_default"
14839 if test "x$ac_cv_header_libudev_h" = xyes; then :
14840 cat >>confdefs.h <<_ACEOF
14841 #define HAVE_LIBUDEV_H 1
14842 _ACEOF
14843 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for udev_new in -ludev" >&5
14844 $as_echo_n "checking for udev_new in -ludev... " >&6; }
14845 if ${ac_cv_lib_udev_udev_new+:} false; then :
14846 $as_echo_n "(cached) " >&6
14847 else
14848 ac_check_lib_save_LIBS=$LIBS
14849 LIBS="-ludev $UDEV_LIBS $LIBS"
14850 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14851 /* end confdefs.h. */
14853 /* Override any GCC internal prototype to avoid an error.
14854 Use char because int might match the return type of a GCC
14855 builtin and then its argument prototype would still apply. */
14856 #ifdef __cplusplus
14857 extern "C"
14858 #endif
14859 char udev_new ();
14861 main ()
14863 return udev_new ();
14865 return 0;
14867 _ACEOF
14868 if ac_fn_c_try_link "$LINENO"; then :
14869 ac_cv_lib_udev_udev_new=yes
14870 else
14871 ac_cv_lib_udev_udev_new=no
14873 rm -f core conftest.err conftest.$ac_objext \
14874 conftest$ac_exeext conftest.$ac_ext
14875 LIBS=$ac_check_lib_save_LIBS
14877 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_udev_udev_new" >&5
14878 $as_echo "$ac_cv_lib_udev_udev_new" >&6; }
14879 if test "x$ac_cv_lib_udev_udev_new" = xyes; then :
14881 $as_echo "#define HAVE_UDEV 1" >>confdefs.h
14883 else
14884 UDEV_LIBS=""
14887 else
14888 UDEV_LIBS=""
14891 done
14893 CPPFLAGS=$ac_save_CPPFLAGS
14896 if test "x$UDEV_LIBS" = "x"; then :
14897 case "x$with_udev" in
14898 x) as_fn_append wine_notices "|libudev ${notice_platform}development files not found, plug and play won't be supported." ;;
14899 xno) ;;
14900 *) as_fn_error $? "libudev ${notice_platform}development files not found, plug and play won't be supported.
14901 This is an error since --with-udev was requested." "$LINENO" 5 ;;
14902 esac
14906 if test "x$with_unwind" != xno
14907 then
14908 if ${UNWIND_CFLAGS:+false} :; then :
14909 if ${PKG_CONFIG+:} false; then :
14910 UNWIND_CFLAGS=`$PKG_CONFIG --cflags libunwind 2>/dev/null`
14914 if ${UNWIND_LIBS:+false} :; then :
14915 if ${PKG_CONFIG+:} false; then :
14916 UNWIND_LIBS=`$PKG_CONFIG --libs libunwind 2>/dev/null`
14920 UNWIND_LIBS=${UNWIND_LIBS:-"-lunwind"}
14921 $as_echo "$as_me:${as_lineno-$LINENO}: libunwind cflags: $UNWIND_CFLAGS" >&5
14922 $as_echo "$as_me:${as_lineno-$LINENO}: libunwind libs: $UNWIND_LIBS" >&5
14923 ac_save_CPPFLAGS=$CPPFLAGS
14924 CPPFLAGS="$CPPFLAGS $UNWIND_CFLAGS"
14925 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for unw_step" >&5
14926 $as_echo_n "checking for unw_step... " >&6; }
14927 if ${wine_cv_have_unw_step+:} false; then :
14928 $as_echo_n "(cached) " >&6
14929 else
14930 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14931 /* end confdefs.h. */
14932 #define UNW_LOCAL_ONLY
14933 #include <libunwind.h>
14935 main ()
14937 unw_cursor_t cursor; unw_step( &cursor );
14939 return 0;
14941 _ACEOF
14942 if ac_fn_c_try_link "$LINENO"; then :
14943 wine_cv_have_unw_step="yes"
14944 else
14945 wine_cv_have_unw_step="no"
14947 rm -f core conftest.err conftest.$ac_objext \
14948 conftest$ac_exeext conftest.$ac_ext
14950 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_unw_step" >&5
14951 $as_echo "$wine_cv_have_unw_step" >&6; }
14952 if test "$wine_cv_have_unw_step" = no -a -n "$UNWIND_LIBS"
14953 then
14954 save_libs=$LIBS
14955 UNWIND_LIBS="-static-libgcc $UNWIND_LIBS"
14956 LIBS="$UNWIND_LIBS $LIBS"
14957 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for unw_step in libunwind" >&5
14958 $as_echo_n "checking for unw_step in libunwind... " >&6; }
14959 if ${wine_cv_have_libunwind_unw_step+:} false; then :
14960 $as_echo_n "(cached) " >&6
14961 else
14962 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14963 /* end confdefs.h. */
14964 #define UNW_LOCAL_ONLY
14965 #include <libunwind.h>
14967 main ()
14969 unw_cursor_t cursor; unw_step( &cursor );
14971 return 0;
14973 _ACEOF
14974 if ac_fn_c_try_link "$LINENO"; then :
14975 wine_cv_have_libunwind_unw_step="yes"
14976 else
14977 wine_cv_have_libunwind_unw_step="no"
14979 rm -f core conftest.err conftest.$ac_objext \
14980 conftest$ac_exeext conftest.$ac_ext
14982 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_libunwind_unw_step" >&5
14983 $as_echo "$wine_cv_have_libunwind_unw_step" >&6; }
14984 LIBS=$save_libs
14986 test "$wine_cv_have_libunwind_unw_step" = yes || UNWIND_LIBS=""
14987 if test "x$wine_cv_have_unw_step$wine_cv_have_libunwind_unw_step" != xnono
14988 then
14990 $as_echo "#define HAVE_LIBUNWIND 1" >>confdefs.h
14993 CPPFLAGS=$ac_save_CPPFLAGS
14996 case $host in
14997 aarch64*|*-darwin*)
14998 if test "x$wine_cv_have_unw_step$wine_cv_have_libunwind_unw_step" = xnono; then :
14999 case "x$with_unwind" in
15000 x) as_fn_append wine_notices "|libunwind ${notice_platform}development files not found, stack unwinding won't work." ;;
15001 xno) ;;
15002 *) as_fn_error $? "libunwind ${notice_platform}development files not found, stack unwinding won't work.
15003 This is an error since --with-unwind was requested." "$LINENO" 5 ;;
15004 esac
15006 fi ;;
15007 esac
15009 if test "x$with_sdl" != "xno"
15010 then
15011 if ${SDL2_CFLAGS:+false} :; then :
15012 if ${PKG_CONFIG+:} false; then :
15013 SDL2_CFLAGS=`$PKG_CONFIG --cflags sdl2 2>/dev/null`
15017 if ${SDL2_LIBS:+false} :; then :
15018 if ${PKG_CONFIG+:} false; then :
15019 SDL2_LIBS=`$PKG_CONFIG --libs sdl2 2>/dev/null`
15023 SDL2_LIBS=${SDL2_LIBS:-"-lSDL2"}
15024 $as_echo "$as_me:${as_lineno-$LINENO}: sdl2 cflags: $SDL2_CFLAGS" >&5
15025 $as_echo "$as_me:${as_lineno-$LINENO}: sdl2 libs: $SDL2_LIBS" >&5
15026 ac_save_CPPFLAGS=$CPPFLAGS
15027 CPPFLAGS="$CPPFLAGS $SDL2_CFLAGS"
15028 for ac_header in SDL.h
15029 do :
15030 ac_fn_c_check_header_mongrel "$LINENO" "SDL.h" "ac_cv_header_SDL_h" "$ac_includes_default"
15031 if test "x$ac_cv_header_SDL_h" = xyes; then :
15032 cat >>confdefs.h <<_ACEOF
15033 #define HAVE_SDL_H 1
15034 _ACEOF
15035 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lSDL2" >&5
15036 $as_echo_n "checking for -lSDL2... " >&6; }
15037 if ${ac_cv_lib_soname_SDL2+:} false; then :
15038 $as_echo_n "(cached) " >&6
15039 else
15040 ac_check_soname_save_LIBS=$LIBS
15041 LIBS="-lSDL2 $SDL2_LIBS $LIBS"
15042 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15043 /* end confdefs.h. */
15045 /* Override any GCC internal prototype to avoid an error.
15046 Use char because int might match the return type of a GCC
15047 builtin and then its argument prototype would still apply. */
15048 #ifdef __cplusplus
15049 extern "C"
15050 #endif
15051 char SDL_Init ();
15053 main ()
15055 return SDL_Init ();
15057 return 0;
15059 _ACEOF
15060 if ac_fn_c_try_link "$LINENO"; then :
15061 case "$LIBEXT" in
15062 dll) ac_cv_lib_soname_SDL2=`$ac_cv_path_LDD conftest.exe | grep "SDL2" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15063 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'` ;;
15064 *) 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'`
15065 if ${ac_cv_lib_soname_SDL2:+false} :; then :
15066 ac_cv_lib_soname_SDL2=`$LDD conftest$ac_exeext | grep "libSDL2-2.0*\\.$LIBEXT" | sed -e "s/^.*\(libSDL2-2.0*\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15067 fi ;;
15068 esac
15069 else
15070 ac_cv_lib_soname_SDL2=
15072 rm -f core conftest.err conftest.$ac_objext \
15073 conftest$ac_exeext conftest.$ac_ext
15074 LIBS=$ac_check_soname_save_LIBS
15076 if ${ac_cv_lib_soname_SDL2:+false} :; then :
15077 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15078 $as_echo "not found" >&6; }
15080 else
15081 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_SDL2" >&5
15082 $as_echo "$ac_cv_lib_soname_SDL2" >&6; }
15084 cat >>confdefs.h <<_ACEOF
15085 #define SONAME_LIBSDL2 "$ac_cv_lib_soname_SDL2"
15086 _ACEOF
15092 done
15094 CPPFLAGS=$ac_save_CPPFLAGS
15097 if test "x$ac_cv_lib_soname_SDL2" = "x"; then :
15098 case "x$with_sdl" in
15099 x) as_fn_append wine_notices "|libSDL2 ${notice_platform}development files not found, SDL2 won't be supported." ;;
15100 xno) ;;
15101 *) as_fn_error $? "libSDL2 ${notice_platform}development files not found, SDL2 won't be supported.
15102 This is an error since --with-sdl was requested." "$LINENO" 5 ;;
15103 esac
15107 if test "x$with_faudio" != "xno"
15108 then
15109 if ${FAUDIO_CFLAGS:+false} :; then :
15110 if ${PKG_CONFIG+:} false; then :
15111 FAUDIO_CFLAGS=`$PKG_CONFIG --cflags faudio 2>/dev/null`
15115 if ${FAUDIO_LIBS:+false} :; then :
15116 if ${PKG_CONFIG+:} false; then :
15117 FAUDIO_LIBS=`$PKG_CONFIG --libs faudio 2>/dev/null`
15121 FAUDIO_LIBS=${FAUDIO_LIBS:-"-lFAudio"}
15122 $as_echo "$as_me:${as_lineno-$LINENO}: faudio cflags: $FAUDIO_CFLAGS" >&5
15123 $as_echo "$as_me:${as_lineno-$LINENO}: faudio libs: $FAUDIO_LIBS" >&5
15124 ac_save_CPPFLAGS=$CPPFLAGS
15125 CPPFLAGS="$CPPFLAGS $FAUDIO_CFLAGS"
15126 for ac_header in FAudio.h
15127 do :
15128 ac_fn_c_check_header_mongrel "$LINENO" "FAudio.h" "ac_cv_header_FAudio_h" "$ac_includes_default"
15129 if test "x$ac_cv_header_FAudio_h" = xyes; then :
15130 cat >>confdefs.h <<_ACEOF
15131 #define HAVE_FAUDIO_H 1
15132 _ACEOF
15133 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lFAudio" >&5
15134 $as_echo_n "checking for -lFAudio... " >&6; }
15135 if ${ac_cv_lib_soname_FAudio+:} false; then :
15136 $as_echo_n "(cached) " >&6
15137 else
15138 ac_check_soname_save_LIBS=$LIBS
15139 LIBS="-lFAudio $FAUDIO_LIBS $LIBS"
15140 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15141 /* end confdefs.h. */
15143 /* Override any GCC internal prototype to avoid an error.
15144 Use char because int might match the return type of a GCC
15145 builtin and then its argument prototype would still apply. */
15146 #ifdef __cplusplus
15147 extern "C"
15148 #endif
15149 char FAudioCreate ();
15151 main ()
15153 return FAudioCreate ();
15155 return 0;
15157 _ACEOF
15158 if ac_fn_c_try_link "$LINENO"; then :
15159 case "$LIBEXT" in
15160 dll) ac_cv_lib_soname_FAudio=`$ac_cv_path_LDD conftest.exe | grep "FAudio" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15161 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'` ;;
15162 *) ac_cv_lib_soname_FAudio=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libFAudio*\\.$LIBEXT" | sed -e "s/^.*\\[\\(libFAudio*\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15163 if ${ac_cv_lib_soname_FAudio:+false} :; then :
15164 ac_cv_lib_soname_FAudio=`$LDD conftest$ac_exeext | grep "libFAudio*\\.$LIBEXT" | sed -e "s/^.*\(libFAudio*\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15165 fi ;;
15166 esac
15167 else
15168 ac_cv_lib_soname_FAudio=
15170 rm -f core conftest.err conftest.$ac_objext \
15171 conftest$ac_exeext conftest.$ac_ext
15172 LIBS=$ac_check_soname_save_LIBS
15174 if ${ac_cv_lib_soname_FAudio:+false} :; then :
15175 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15176 $as_echo "not found" >&6; }
15178 else
15179 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_FAudio" >&5
15180 $as_echo "$ac_cv_lib_soname_FAudio" >&6; }
15182 cat >>confdefs.h <<_ACEOF
15183 #define SONAME_LIBFAUDIO "$ac_cv_lib_soname_FAudio"
15184 _ACEOF
15190 done
15192 ac_wine_check_funcs_save_LIBS="$LIBS"
15193 LIBS="$LIBS $FAUDIO_LIBS"
15194 for ac_func in FAudio_CommitOperationSet \
15195 F3DAudioInitialize8 \
15196 FAudioLinkedVersion \
15197 FAudioCreateReverb9WithCustomAllocatorEXT
15198 do :
15199 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
15200 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
15201 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
15202 cat >>confdefs.h <<_ACEOF
15203 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
15204 _ACEOF
15207 done
15209 LIBS="$ac_wine_check_funcs_save_LIBS"
15211 CPPFLAGS=$ac_save_CPPFLAGS
15214 if test "x$ac_cv_lib_soname_FAudio" = "x"; then :
15215 case "x$with_faudio" in
15216 x) as_fn_append wine_notices "|libFAudio ${notice_platform}development files not found, XAudio2 won't be supported." ;;
15217 xno) ;;
15218 *) as_fn_error $? "libFAudio ${notice_platform}development files not found, XAudio2 won't be supported.
15219 This is an error since --with-faudio was requested." "$LINENO" 5 ;;
15220 esac
15224 if test "x$with_capi" != "xno"
15225 then
15226 if ${CAPI20_CFLAGS:+false} :; then :
15227 if ${PKG_CONFIG+:} false; then :
15228 CAPI20_CFLAGS=`$PKG_CONFIG --cflags capi20 2>/dev/null`
15232 if ${CAPI20_LIBS:+false} :; then :
15233 if ${PKG_CONFIG+:} false; then :
15234 CAPI20_LIBS=`$PKG_CONFIG --libs capi20 2>/dev/null`
15239 $as_echo "$as_me:${as_lineno-$LINENO}: capi20 cflags: $CAPI20_CFLAGS" >&5
15240 $as_echo "$as_me:${as_lineno-$LINENO}: capi20 libs: $CAPI20_LIBS" >&5
15241 ac_save_CPPFLAGS=$CPPFLAGS
15242 CPPFLAGS="$CPPFLAGS $CAPI20_CFLAGS"
15243 for ac_header in capi20.h linux/capi.h
15244 do :
15245 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
15246 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#define __user
15248 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
15249 cat >>confdefs.h <<_ACEOF
15250 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
15251 _ACEOF
15255 done
15257 if test "$ac_cv_header_capi20_h" = "yes" -a "$ac_cv_header_linux_capi_h" = "yes"
15258 then
15259 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcapi20" >&5
15260 $as_echo_n "checking for -lcapi20... " >&6; }
15261 if ${ac_cv_lib_soname_capi20+:} false; then :
15262 $as_echo_n "(cached) " >&6
15263 else
15264 ac_check_soname_save_LIBS=$LIBS
15265 LIBS="-lcapi20 $CAPI20_LIBS $LIBS"
15266 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15267 /* end confdefs.h. */
15269 /* Override any GCC internal prototype to avoid an error.
15270 Use char because int might match the return type of a GCC
15271 builtin and then its argument prototype would still apply. */
15272 #ifdef __cplusplus
15273 extern "C"
15274 #endif
15275 char capi20_register ();
15277 main ()
15279 return capi20_register ();
15281 return 0;
15283 _ACEOF
15284 if ac_fn_c_try_link "$LINENO"; then :
15285 case "$LIBEXT" in
15286 dll) ac_cv_lib_soname_capi20=`$ac_cv_path_LDD conftest.exe | grep "capi20" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15287 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'` ;;
15288 *) ac_cv_lib_soname_capi20=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcapi20\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcapi20\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15289 if ${ac_cv_lib_soname_capi20:+false} :; then :
15290 ac_cv_lib_soname_capi20=`$LDD conftest$ac_exeext | grep "libcapi20\\.$LIBEXT" | sed -e "s/^.*\(libcapi20\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15291 fi ;;
15292 esac
15293 else
15294 ac_cv_lib_soname_capi20=
15296 rm -f core conftest.err conftest.$ac_objext \
15297 conftest$ac_exeext conftest.$ac_ext
15298 LIBS=$ac_check_soname_save_LIBS
15300 if ${ac_cv_lib_soname_capi20:+false} :; then :
15301 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15302 $as_echo "not found" >&6; }
15304 else
15305 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_capi20" >&5
15306 $as_echo "$ac_cv_lib_soname_capi20" >&6; }
15308 cat >>confdefs.h <<_ACEOF
15309 #define SONAME_LIBCAPI20 "$ac_cv_lib_soname_capi20"
15310 _ACEOF
15315 CPPFLAGS=$ac_save_CPPFLAGS
15318 if test "x$ac_cv_lib_soname_capi20" = "x"; then :
15319 case "x$with_capi" in
15320 x) as_fn_append wine_notices "|libcapi20 ${notice_platform}development files not found, ISDN won't be supported." ;;
15321 xno) ;;
15322 *) as_fn_error $? "libcapi20 ${notice_platform}development files not found, ISDN won't be supported.
15323 This is an error since --with-capi was requested." "$LINENO" 5 ;;
15324 esac
15328 if test "x$with_cups" != "xno"
15329 then
15330 if ${CUPS_CFLAGS:+false} :; then :
15331 if ${PKG_CONFIG+:} false; then :
15332 CUPS_CFLAGS=`$PKG_CONFIG --cflags cups 2>/dev/null`
15335 test "$cross_compiling" = yes || CUPS_CFLAGS=${CUPS_CFLAGS:-`${CUPS_CONFIG:-cups-config} --cflags 2>/dev/null`}
15336 if ${CUPS_LIBS:+false} :; then :
15337 if ${PKG_CONFIG+:} false; then :
15338 CUPS_LIBS=`$PKG_CONFIG --libs cups 2>/dev/null`
15341 test "$cross_compiling" = yes || CUPS_LIBS=${CUPS_LIBS:-`${CUPS_CONFIG:-cups-config} --libs 2>/dev/null`}
15342 CUPS_LIBS=${CUPS_LIBS:-"-lcups"}
15343 $as_echo "$as_me:${as_lineno-$LINENO}: cups cflags: $CUPS_CFLAGS" >&5
15344 $as_echo "$as_me:${as_lineno-$LINENO}: cups libs: $CUPS_LIBS" >&5
15345 ac_save_CPPFLAGS=$CPPFLAGS
15346 CPPFLAGS="$CPPFLAGS $CUPS_CFLAGS"
15347 for ac_header in cups/cups.h cups/ppd.h
15348 do :
15349 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
15350 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
15351 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
15352 cat >>confdefs.h <<_ACEOF
15353 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
15354 _ACEOF
15358 done
15360 if test "$ac_cv_header_cups_cups_h" = "yes"
15361 then
15362 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcups" >&5
15363 $as_echo_n "checking for -lcups... " >&6; }
15364 if ${ac_cv_lib_soname_cups+:} false; then :
15365 $as_echo_n "(cached) " >&6
15366 else
15367 ac_check_soname_save_LIBS=$LIBS
15368 LIBS="-lcups $CUPS_LIBS $LIBS"
15369 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15370 /* end confdefs.h. */
15372 /* Override any GCC internal prototype to avoid an error.
15373 Use char because int might match the return type of a GCC
15374 builtin and then its argument prototype would still apply. */
15375 #ifdef __cplusplus
15376 extern "C"
15377 #endif
15378 char cupsGetDefault ();
15380 main ()
15382 return cupsGetDefault ();
15384 return 0;
15386 _ACEOF
15387 if ac_fn_c_try_link "$LINENO"; then :
15388 case "$LIBEXT" in
15389 dll) ac_cv_lib_soname_cups=`$ac_cv_path_LDD conftest.exe | grep "cups" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15390 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'` ;;
15391 *) ac_cv_lib_soname_cups=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcups\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcups\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15392 if ${ac_cv_lib_soname_cups:+false} :; then :
15393 ac_cv_lib_soname_cups=`$LDD conftest$ac_exeext | grep "libcups\\.$LIBEXT" | sed -e "s/^.*\(libcups\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15394 fi ;;
15395 esac
15396 else
15397 ac_cv_lib_soname_cups=
15399 rm -f core conftest.err conftest.$ac_objext \
15400 conftest$ac_exeext conftest.$ac_ext
15401 LIBS=$ac_check_soname_save_LIBS
15403 if ${ac_cv_lib_soname_cups:+false} :; then :
15404 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15405 $as_echo "not found" >&6; }
15406 CUPS_LIBS=""
15407 else
15408 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_cups" >&5
15409 $as_echo "$ac_cv_lib_soname_cups" >&6; }
15411 cat >>confdefs.h <<_ACEOF
15412 #define SONAME_LIBCUPS "$ac_cv_lib_soname_cups"
15413 _ACEOF
15417 else
15418 CUPS_CFLAGS=""
15419 CUPS_LIBS=""
15421 CPPFLAGS=$ac_save_CPPFLAGS
15424 if test "x$ac_cv_lib_soname_cups" = "x"; then :
15425 case "x$with_cups" in
15426 x) as_fn_append wine_notices "|libcups ${notice_platform}development files not found, CUPS won't be supported." ;;
15427 xno) ;;
15428 *) as_fn_error $? "libcups ${notice_platform}development files not found, CUPS won't be supported.
15429 This is an error since --with-cups was requested." "$LINENO" 5 ;;
15430 esac
15434 if test "x$with_fontconfig" != "xno"
15435 then
15436 if ${FONTCONFIG_CFLAGS:+false} :; then :
15437 if ${PKG_CONFIG+:} false; then :
15438 FONTCONFIG_CFLAGS=`$PKG_CONFIG --cflags fontconfig 2>/dev/null`
15441 test "$cross_compiling" = yes || FONTCONFIG_CFLAGS=${FONTCONFIG_CFLAGS:-$X_CFLAGS}
15442 if ${FONTCONFIG_LIBS:+false} :; then :
15443 if ${PKG_CONFIG+:} false; then :
15444 FONTCONFIG_LIBS=`$PKG_CONFIG --libs fontconfig 2>/dev/null`
15447 test "$cross_compiling" = yes || FONTCONFIG_LIBS=${FONTCONFIG_LIBS:-$X_LIBS}
15449 $as_echo "$as_me:${as_lineno-$LINENO}: fontconfig cflags: $FONTCONFIG_CFLAGS" >&5
15450 $as_echo "$as_me:${as_lineno-$LINENO}: fontconfig libs: $FONTCONFIG_LIBS" >&5
15451 ac_save_CPPFLAGS=$CPPFLAGS
15452 CPPFLAGS="$CPPFLAGS $FONTCONFIG_CFLAGS"
15453 for ac_header in fontconfig/fontconfig.h
15454 do :
15455 ac_fn_c_check_header_mongrel "$LINENO" "fontconfig/fontconfig.h" "ac_cv_header_fontconfig_fontconfig_h" "$ac_includes_default"
15456 if test "x$ac_cv_header_fontconfig_fontconfig_h" = xyes; then :
15457 cat >>confdefs.h <<_ACEOF
15458 #define HAVE_FONTCONFIG_FONTCONFIG_H 1
15459 _ACEOF
15463 done
15465 if test "$ac_cv_header_fontconfig_fontconfig_h" = "yes"
15466 then
15467 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfontconfig" >&5
15468 $as_echo_n "checking for -lfontconfig... " >&6; }
15469 if ${ac_cv_lib_soname_fontconfig+:} false; then :
15470 $as_echo_n "(cached) " >&6
15471 else
15472 ac_check_soname_save_LIBS=$LIBS
15473 LIBS="-lfontconfig $FONTCONFIG_LIBS $LIBS"
15474 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15475 /* end confdefs.h. */
15477 /* Override any GCC internal prototype to avoid an error.
15478 Use char because int might match the return type of a GCC
15479 builtin and then its argument prototype would still apply. */
15480 #ifdef __cplusplus
15481 extern "C"
15482 #endif
15483 char FcInit ();
15485 main ()
15487 return FcInit ();
15489 return 0;
15491 _ACEOF
15492 if ac_fn_c_try_link "$LINENO"; then :
15493 case "$LIBEXT" in
15494 dll) ac_cv_lib_soname_fontconfig=`$ac_cv_path_LDD conftest.exe | grep "fontconfig" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15495 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'` ;;
15496 *) ac_cv_lib_soname_fontconfig=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfontconfig\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfontconfig\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15497 if ${ac_cv_lib_soname_fontconfig:+false} :; then :
15498 ac_cv_lib_soname_fontconfig=`$LDD conftest$ac_exeext | grep "libfontconfig\\.$LIBEXT" | sed -e "s/^.*\(libfontconfig\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15499 fi ;;
15500 esac
15501 else
15502 ac_cv_lib_soname_fontconfig=
15504 rm -f core conftest.err conftest.$ac_objext \
15505 conftest$ac_exeext conftest.$ac_ext
15506 LIBS=$ac_check_soname_save_LIBS
15508 if ${ac_cv_lib_soname_fontconfig:+false} :; then :
15509 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15510 $as_echo "not found" >&6; }
15511 FONTCONFIG_CFLAGS=""
15512 else
15513 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_fontconfig" >&5
15514 $as_echo "$ac_cv_lib_soname_fontconfig" >&6; }
15516 cat >>confdefs.h <<_ACEOF
15517 #define SONAME_LIBFONTCONFIG "$ac_cv_lib_soname_fontconfig"
15518 _ACEOF
15522 else
15523 FONTCONFIG_CFLAGS=""
15525 CPPFLAGS=$ac_save_CPPFLAGS
15528 if test "x$ac_cv_lib_soname_fontconfig" = "x"; then :
15529 case "x$with_fontconfig" in
15530 x) as_fn_append wine_notices "|fontconfig ${notice_platform}development files not found, fontconfig won't be supported." ;;
15531 xno) ;;
15532 *) as_fn_error $? "fontconfig ${notice_platform}development files not found, fontconfig won't be supported.
15533 This is an error since --with-fontconfig was requested." "$LINENO" 5 ;;
15534 esac
15538 if test "$ac_cv_header_gsm_h" = "yes" -o "$ac_cv_header_gsm_gsm_h" = "yes"
15539 then
15540 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgsm" >&5
15541 $as_echo_n "checking for -lgsm... " >&6; }
15542 if ${ac_cv_lib_soname_gsm+:} false; then :
15543 $as_echo_n "(cached) " >&6
15544 else
15545 ac_check_soname_save_LIBS=$LIBS
15546 LIBS="-lgsm $LIBS"
15547 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15548 /* end confdefs.h. */
15550 /* Override any GCC internal prototype to avoid an error.
15551 Use char because int might match the return type of a GCC
15552 builtin and then its argument prototype would still apply. */
15553 #ifdef __cplusplus
15554 extern "C"
15555 #endif
15556 char gsm_create ();
15558 main ()
15560 return gsm_create ();
15562 return 0;
15564 _ACEOF
15565 if ac_fn_c_try_link "$LINENO"; then :
15566 case "$LIBEXT" in
15567 dll) ac_cv_lib_soname_gsm=`$ac_cv_path_LDD conftest.exe | grep "gsm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15568 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'` ;;
15569 *) ac_cv_lib_soname_gsm=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libgsm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libgsm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15570 if ${ac_cv_lib_soname_gsm:+false} :; then :
15571 ac_cv_lib_soname_gsm=`$LDD conftest$ac_exeext | grep "libgsm\\.$LIBEXT" | sed -e "s/^.*\(libgsm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15572 fi ;;
15573 esac
15574 else
15575 ac_cv_lib_soname_gsm=
15577 rm -f core conftest.err conftest.$ac_objext \
15578 conftest$ac_exeext conftest.$ac_ext
15579 LIBS=$ac_check_soname_save_LIBS
15581 if ${ac_cv_lib_soname_gsm:+false} :; then :
15582 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15583 $as_echo "not found" >&6; }
15585 else
15586 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gsm" >&5
15587 $as_echo "$ac_cv_lib_soname_gsm" >&6; }
15589 cat >>confdefs.h <<_ACEOF
15590 #define SONAME_LIBGSM "$ac_cv_lib_soname_gsm"
15591 _ACEOF
15596 if test "x$ac_cv_lib_soname_gsm" = "x"; then :
15597 case "x$with_gsm" in
15598 x) as_fn_append wine_notices "|libgsm ${notice_platform}development files not found, gsm 06.10 codec won't be supported." ;;
15599 xno) ;;
15600 *) as_fn_error $? "libgsm ${notice_platform}development files not found, gsm 06.10 codec won't be supported.
15601 This is an error since --with-gsm was requested." "$LINENO" 5 ;;
15602 esac
15606 if test "x$with_krb5" != "xno"
15607 then
15608 if ${KRB5_CFLAGS:+false} :; then :
15609 if ${PKG_CONFIG+:} false; then :
15610 KRB5_CFLAGS=`$PKG_CONFIG --cflags krb5 2>/dev/null`
15613 test "$cross_compiling" = yes || KRB5_CFLAGS=${KRB5_CFLAGS:-`${KRB5_CONFIG:-krb5-config} --cflags 2>/dev/null`}
15614 if ${KRB5_LIBS:+false} :; then :
15615 if ${PKG_CONFIG+:} false; then :
15616 KRB5_LIBS=`$PKG_CONFIG --libs krb5 2>/dev/null`
15619 test "$cross_compiling" = yes || KRB5_LIBS=${KRB5_LIBS:-`${KRB5_CONFIG:-krb5-config} --libs 2>/dev/null`}
15621 $as_echo "$as_me:${as_lineno-$LINENO}: krb5 cflags: $KRB5_CFLAGS" >&5
15622 $as_echo "$as_me:${as_lineno-$LINENO}: krb5 libs: $KRB5_LIBS" >&5
15623 ac_save_CPPFLAGS=$CPPFLAGS
15624 CPPFLAGS="$CPPFLAGS $KRB5_CFLAGS"
15625 for ac_header in krb5/krb5.h
15626 do :
15627 ac_fn_c_check_header_mongrel "$LINENO" "krb5/krb5.h" "ac_cv_header_krb5_krb5_h" "$ac_includes_default"
15628 if test "x$ac_cv_header_krb5_krb5_h" = xyes; then :
15629 cat >>confdefs.h <<_ACEOF
15630 #define HAVE_KRB5_KRB5_H 1
15631 _ACEOF
15635 done
15637 if test "$ac_cv_header_krb5_krb5_h" = "yes"
15638 then
15639 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lkrb5" >&5
15640 $as_echo_n "checking for -lkrb5... " >&6; }
15641 if ${ac_cv_lib_soname_krb5+:} false; then :
15642 $as_echo_n "(cached) " >&6
15643 else
15644 ac_check_soname_save_LIBS=$LIBS
15645 LIBS="-lkrb5 $KRB5_LIBS $LIBS"
15646 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15647 /* end confdefs.h. */
15649 /* Override any GCC internal prototype to avoid an error.
15650 Use char because int might match the return type of a GCC
15651 builtin and then its argument prototype would still apply. */
15652 #ifdef __cplusplus
15653 extern "C"
15654 #endif
15655 char krb5_is_config_principal ();
15657 main ()
15659 return krb5_is_config_principal ();
15661 return 0;
15663 _ACEOF
15664 if ac_fn_c_try_link "$LINENO"; then :
15665 case "$LIBEXT" in
15666 dll) ac_cv_lib_soname_krb5=`$ac_cv_path_LDD conftest.exe | grep "krb5" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15667 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'` ;;
15668 *) ac_cv_lib_soname_krb5=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libkrb5\\.$LIBEXT" | sed -e "s/^.*\\[\\(libkrb5\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15669 if ${ac_cv_lib_soname_krb5:+false} :; then :
15670 ac_cv_lib_soname_krb5=`$LDD conftest$ac_exeext | grep "libkrb5\\.$LIBEXT" | sed -e "s/^.*\(libkrb5\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15671 fi ;;
15672 esac
15673 else
15674 ac_cv_lib_soname_krb5=
15676 rm -f core conftest.err conftest.$ac_objext \
15677 conftest$ac_exeext conftest.$ac_ext
15678 LIBS=$ac_check_soname_save_LIBS
15680 if ${ac_cv_lib_soname_krb5:+false} :; then :
15681 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15682 $as_echo "not found" >&6; }
15683 KRB5_CFLAGS=""
15684 else
15685 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_krb5" >&5
15686 $as_echo "$ac_cv_lib_soname_krb5" >&6; }
15688 cat >>confdefs.h <<_ACEOF
15689 #define SONAME_LIBKRB5 "$ac_cv_lib_soname_krb5"
15690 _ACEOF
15694 else
15695 KRB5_CFLAGS=""
15697 CPPFLAGS=$ac_save_CPPFLAGS
15700 if test "x$ac_cv_lib_soname_krb5" = "x"; then :
15701 case "x$with_krb5" in
15702 x) as_fn_append wine_notices "|libkrb5 ${notice_platform}development files not found (or too old), Kerberos won't be supported." ;;
15703 xno) ;;
15704 *) as_fn_error $? "libkrb5 ${notice_platform}development files not found (or too old), Kerberos won't be supported.
15705 This is an error since --with-krb5 was requested." "$LINENO" 5 ;;
15706 esac
15709 test "x$ac_cv_lib_soname_krb5" != "x" || with_gssapi=${with_gssapi:-no}
15711 if test "x$with_gssapi" != "xno"
15712 then
15713 if ${GSSAPI_CFLAGS:+false} :; then :
15714 if ${PKG_CONFIG+:} false; then :
15715 GSSAPI_CFLAGS=`$PKG_CONFIG --cflags krb5-gssapi 2>/dev/null`
15718 test "$cross_compiling" = yes || GSSAPI_CFLAGS=${GSSAPI_CFLAGS:-`${KRB5_CONFIG:-krb5-config} --cflags gssapi 2>/dev/null`}
15719 if ${GSSAPI_LIBS:+false} :; then :
15720 if ${PKG_CONFIG+:} false; then :
15721 GSSAPI_LIBS=`$PKG_CONFIG --libs krb5-gssapi 2>/dev/null`
15724 test "$cross_compiling" = yes || GSSAPI_LIBS=${GSSAPI_LIBS:-`${KRB5_CONFIG:-krb5-config} --libs gssapi 2>/dev/null`}
15726 $as_echo "$as_me:${as_lineno-$LINENO}: krb5-gssapi cflags: $GSSAPI_CFLAGS" >&5
15727 $as_echo "$as_me:${as_lineno-$LINENO}: krb5-gssapi libs: $GSSAPI_LIBS" >&5
15728 ac_save_CPPFLAGS=$CPPFLAGS
15729 CPPFLAGS="$CPPFLAGS $GSSAPI_CFLAGS"
15730 for ac_header in gssapi/gssapi.h gssapi/gssapi_ext.h
15731 do :
15732 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
15733 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
15734 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
15735 cat >>confdefs.h <<_ACEOF
15736 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
15737 _ACEOF
15741 done
15743 if test "$ac_cv_header_gssapi_gssapi_h" = "yes" -a "$ac_cv_header_gssapi_gssapi_ext_h" = "yes"
15744 then
15745 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgssapi_krb5" >&5
15746 $as_echo_n "checking for -lgssapi_krb5... " >&6; }
15747 if ${ac_cv_lib_soname_gssapi_krb5+:} false; then :
15748 $as_echo_n "(cached) " >&6
15749 else
15750 ac_check_soname_save_LIBS=$LIBS
15751 LIBS="-lgssapi_krb5 $GSSAPI_LIBS $LIBS"
15752 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15753 /* end confdefs.h. */
15755 /* Override any GCC internal prototype to avoid an error.
15756 Use char because int might match the return type of a GCC
15757 builtin and then its argument prototype would still apply. */
15758 #ifdef __cplusplus
15759 extern "C"
15760 #endif
15761 char gss_init_sec_context ();
15763 main ()
15765 return gss_init_sec_context ();
15767 return 0;
15769 _ACEOF
15770 if ac_fn_c_try_link "$LINENO"; then :
15771 case "$LIBEXT" in
15772 dll) ac_cv_lib_soname_gssapi_krb5=`$ac_cv_path_LDD conftest.exe | grep "gssapi_krb5" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15773 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'` ;;
15774 *) 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'`
15775 if ${ac_cv_lib_soname_gssapi_krb5:+false} :; then :
15776 ac_cv_lib_soname_gssapi_krb5=`$LDD conftest$ac_exeext | grep "libgssapi_krb5\\.$LIBEXT" | sed -e "s/^.*\(libgssapi_krb5\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15777 fi ;;
15778 esac
15779 else
15780 ac_cv_lib_soname_gssapi_krb5=
15782 rm -f core conftest.err conftest.$ac_objext \
15783 conftest$ac_exeext conftest.$ac_ext
15784 LIBS=$ac_check_soname_save_LIBS
15786 if ${ac_cv_lib_soname_gssapi_krb5:+false} :; then :
15787 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15788 $as_echo "not found" >&6; }
15789 GSSAPI_CFLAGS=""
15790 else
15791 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gssapi_krb5" >&5
15792 $as_echo "$ac_cv_lib_soname_gssapi_krb5" >&6; }
15794 cat >>confdefs.h <<_ACEOF
15795 #define SONAME_LIBGSSAPI_KRB5 "$ac_cv_lib_soname_gssapi_krb5"
15796 _ACEOF
15800 else
15801 GSSAPI_CFLAGS=""
15803 CPPFLAGS=$ac_save_CPPFLAGS
15806 if test "x$ac_cv_lib_soname_gssapi_krb5" = "x"; then :
15807 case "x$with_gssapi" in
15808 x) as_fn_append wine_notices "|libgssapi_krb5 ${notice_platform}development files not found (or too old), no Kerberos SSP support." ;;
15809 xno) ;;
15810 *) as_fn_error $? "libgssapi_krb5 ${notice_platform}development files not found (or too old), no Kerberos SSP support.
15811 This is an error since --with-gssapi was requested." "$LINENO" 5 ;;
15812 esac
15816 if test "x$with_jpeg" != "xno"
15817 then
15818 if ${JPEG_CFLAGS:+false} :; then :
15819 if ${PKG_CONFIG+:} false; then :
15820 JPEG_CFLAGS=`$PKG_CONFIG --cflags libjpeg 2>/dev/null`
15824 if ${JPEG_LIBS:+false} :; then :
15825 if ${PKG_CONFIG+:} false; then :
15826 JPEG_LIBS=`$PKG_CONFIG --libs libjpeg 2>/dev/null`
15831 $as_echo "$as_me:${as_lineno-$LINENO}: libjpeg cflags: $JPEG_CFLAGS" >&5
15832 $as_echo "$as_me:${as_lineno-$LINENO}: libjpeg libs: $JPEG_LIBS" >&5
15833 ac_save_CPPFLAGS=$CPPFLAGS
15834 CPPFLAGS="$CPPFLAGS $JPEG_CFLAGS"
15835 for ac_header in jpeglib.h
15836 do :
15837 ac_fn_c_check_header_mongrel "$LINENO" "jpeglib.h" "ac_cv_header_jpeglib_h" "$ac_includes_default"
15838 if test "x$ac_cv_header_jpeglib_h" = xyes; then :
15839 cat >>confdefs.h <<_ACEOF
15840 #define HAVE_JPEGLIB_H 1
15841 _ACEOF
15845 done
15847 if test "$ac_cv_header_jpeglib_h" = "yes"
15848 then
15849 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ljpeg" >&5
15850 $as_echo_n "checking for -ljpeg... " >&6; }
15851 if ${ac_cv_lib_soname_jpeg+:} false; then :
15852 $as_echo_n "(cached) " >&6
15853 else
15854 ac_check_soname_save_LIBS=$LIBS
15855 LIBS="-ljpeg $JPEG_LIBS $LIBS"
15856 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15857 /* end confdefs.h. */
15859 /* Override any GCC internal prototype to avoid an error.
15860 Use char because int might match the return type of a GCC
15861 builtin and then its argument prototype would still apply. */
15862 #ifdef __cplusplus
15863 extern "C"
15864 #endif
15865 char jpeg_start_decompress ();
15867 main ()
15869 return jpeg_start_decompress ();
15871 return 0;
15873 _ACEOF
15874 if ac_fn_c_try_link "$LINENO"; then :
15875 case "$LIBEXT" in
15876 dll) ac_cv_lib_soname_jpeg=`$ac_cv_path_LDD conftest.exe | grep "jpeg" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15877 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'` ;;
15878 *) ac_cv_lib_soname_jpeg=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libjpeg\\.$LIBEXT" | sed -e "s/^.*\\[\\(libjpeg\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15879 if ${ac_cv_lib_soname_jpeg:+false} :; then :
15880 ac_cv_lib_soname_jpeg=`$LDD conftest$ac_exeext | grep "libjpeg\\.$LIBEXT" | sed -e "s/^.*\(libjpeg\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15881 fi ;;
15882 esac
15883 else
15884 ac_cv_lib_soname_jpeg=
15886 rm -f core conftest.err conftest.$ac_objext \
15887 conftest$ac_exeext conftest.$ac_ext
15888 LIBS=$ac_check_soname_save_LIBS
15890 if ${ac_cv_lib_soname_jpeg:+false} :; then :
15891 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15892 $as_echo "not found" >&6; }
15893 JPEG_CFLAGS=""
15894 else
15895 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_jpeg" >&5
15896 $as_echo "$ac_cv_lib_soname_jpeg" >&6; }
15898 cat >>confdefs.h <<_ACEOF
15899 #define SONAME_LIBJPEG "$ac_cv_lib_soname_jpeg"
15900 _ACEOF
15904 else
15905 JPEG_CFLAGS=""
15907 CPPFLAGS=$ac_save_CPPFLAGS
15910 if test "x$ac_cv_lib_soname_jpeg" = "x"; then :
15911 case "x$with_jpeg" in
15912 x) as_fn_append wine_warnings "|libjpeg ${notice_platform}development files not found, JPEG won't be supported." ;;
15913 xno) ;;
15914 *) as_fn_error $? "libjpeg ${notice_platform}development files not found, JPEG won't be supported.
15915 This is an error since --with-jpeg was requested." "$LINENO" 5 ;;
15916 esac
15920 if test "x$with_jxrlib" != "xno"
15921 then
15922 if ${JXRLIB_CFLAGS:+false} :; then :
15923 if ${PKG_CONFIG+:} false; then :
15924 JXRLIB_CFLAGS=`$PKG_CONFIG --cflags jxrlib 2>/dev/null`
15927 test "$cross_compiling" = yes || JXRLIB_CFLAGS=${JXRLIB_CFLAGS:-${JXRLIB_CFLAGS:--I/usr/include/jxrlib}}
15928 if ${JXRLIB_LIBS:+false} :; then :
15929 if ${PKG_CONFIG+:} false; then :
15930 JXRLIB_LIBS=`$PKG_CONFIG --libs jxrlib 2>/dev/null`
15935 $as_echo "$as_me:${as_lineno-$LINENO}: jxrlib cflags: $JXRLIB_CFLAGS" >&5
15936 $as_echo "$as_me:${as_lineno-$LINENO}: jxrlib libs: $JXRLIB_LIBS" >&5
15937 ac_save_CPPFLAGS=$CPPFLAGS
15938 CPPFLAGS="$CPPFLAGS $JXRLIB_CFLAGS"
15939 for ac_header in JXRGlue.h
15940 do :
15941 ac_fn_c_check_header_compile "$LINENO" "JXRGlue.h" "ac_cv_header_JXRGlue_h" "#define FAR
15943 if test "x$ac_cv_header_JXRGlue_h" = xyes; then :
15944 cat >>confdefs.h <<_ACEOF
15945 #define HAVE_JXRGLUE_H 1
15946 _ACEOF
15950 done
15952 if test "$ac_cv_header_JXRGlue_h" = "yes"
15953 then
15954 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ljxrglue" >&5
15955 $as_echo_n "checking for -ljxrglue... " >&6; }
15956 if ${ac_cv_lib_soname_jxrglue+:} false; then :
15957 $as_echo_n "(cached) " >&6
15958 else
15959 ac_check_soname_save_LIBS=$LIBS
15960 LIBS="-ljxrglue $JXRLIB_LIBS $LIBS"
15961 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15962 /* end confdefs.h. */
15964 /* Override any GCC internal prototype to avoid an error.
15965 Use char because int might match the return type of a GCC
15966 builtin and then its argument prototype would still apply. */
15967 #ifdef __cplusplus
15968 extern "C"
15969 #endif
15970 char PKImageDecode_Create_WMP ();
15972 main ()
15974 return PKImageDecode_Create_WMP ();
15976 return 0;
15978 _ACEOF
15979 if ac_fn_c_try_link "$LINENO"; then :
15980 case "$LIBEXT" in
15981 dll) ac_cv_lib_soname_jxrglue=`$ac_cv_path_LDD conftest.exe | grep "jxrglue" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15982 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'` ;;
15983 *) ac_cv_lib_soname_jxrglue=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libjxrglue\\.$LIBEXT" | sed -e "s/^.*\\[\\(libjxrglue\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15984 if ${ac_cv_lib_soname_jxrglue:+false} :; then :
15985 ac_cv_lib_soname_jxrglue=`$LDD conftest$ac_exeext | grep "libjxrglue\\.$LIBEXT" | sed -e "s/^.*\(libjxrglue\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15986 fi ;;
15987 esac
15988 else
15989 ac_cv_lib_soname_jxrglue=
15991 rm -f core conftest.err conftest.$ac_objext \
15992 conftest$ac_exeext conftest.$ac_ext
15993 LIBS=$ac_check_soname_save_LIBS
15995 if ${ac_cv_lib_soname_jxrglue:+false} :; then :
15996 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15997 $as_echo "not found" >&6; }
15998 JXRLIB_CFLAGS=""
15999 else
16000 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_jxrglue" >&5
16001 $as_echo "$ac_cv_lib_soname_jxrglue" >&6; }
16003 cat >>confdefs.h <<_ACEOF
16004 #define SONAME_LIBJXRGLUE "$ac_cv_lib_soname_jxrglue"
16005 _ACEOF
16009 else
16010 JXRLIB_CFLAGS=""
16012 CPPFLAGS=$ac_save_CPPFLAGS
16015 if test "x$ac_cv_lib_soname_jxrglue" = "x"; then :
16016 case "x$with_jxrlib" in
16017 x) as_fn_append wine_notices "|jxrlib ${notice_platform}development files not found, JPEG-XR won't be supported." ;;
16018 xno) ;;
16019 *) as_fn_error $? "jxrlib ${notice_platform}development files not found, JPEG-XR won't be supported.
16020 This is an error since --with-jxrlib was requested." "$LINENO" 5 ;;
16021 esac
16025 if test "x$with_png" != "xno"
16026 then
16027 if ${PNG_CFLAGS:+false} :; then :
16028 if ${PKG_CONFIG+:} false; then :
16029 PNG_CFLAGS=`$PKG_CONFIG --cflags libpng 2>/dev/null`
16032 test "$cross_compiling" = yes || PNG_CFLAGS=${PNG_CFLAGS:-$X_CFLAGS}
16033 if ${PNG_LIBS:+false} :; then :
16034 if ${PKG_CONFIG+:} false; then :
16035 PNG_LIBS=`$PKG_CONFIG --libs libpng 2>/dev/null`
16038 test "$cross_compiling" = yes || PNG_LIBS=${PNG_LIBS:-$X_LIBS}
16040 $as_echo "$as_me:${as_lineno-$LINENO}: libpng cflags: $PNG_CFLAGS" >&5
16041 $as_echo "$as_me:${as_lineno-$LINENO}: libpng libs: $PNG_LIBS" >&5
16042 ac_save_CPPFLAGS=$CPPFLAGS
16043 CPPFLAGS="$CPPFLAGS $PNG_CFLAGS"
16044 for ac_header in png.h
16045 do :
16046 ac_fn_c_check_header_mongrel "$LINENO" "png.h" "ac_cv_header_png_h" "$ac_includes_default"
16047 if test "x$ac_cv_header_png_h" = xyes; then :
16048 cat >>confdefs.h <<_ACEOF
16049 #define HAVE_PNG_H 1
16050 _ACEOF
16054 done
16056 if test "$ac_cv_header_png_h" = "yes"
16057 then
16058 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lpng" >&5
16059 $as_echo_n "checking for -lpng... " >&6; }
16060 if ${ac_cv_lib_soname_png+:} false; then :
16061 $as_echo_n "(cached) " >&6
16062 else
16063 ac_check_soname_save_LIBS=$LIBS
16064 LIBS="-lpng $PNG_LIBS -lm -lz $LIBS"
16065 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16066 /* end confdefs.h. */
16068 /* Override any GCC internal prototype to avoid an error.
16069 Use char because int might match the return type of a GCC
16070 builtin and then its argument prototype would still apply. */
16071 #ifdef __cplusplus
16072 extern "C"
16073 #endif
16074 char png_create_read_struct ();
16076 main ()
16078 return png_create_read_struct ();
16080 return 0;
16082 _ACEOF
16083 if ac_fn_c_try_link "$LINENO"; then :
16084 case "$LIBEXT" in
16085 dll) ac_cv_lib_soname_png=`$ac_cv_path_LDD conftest.exe | grep "png" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16086 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'` ;;
16087 *) 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'`
16088 if ${ac_cv_lib_soname_png:+false} :; then :
16089 ac_cv_lib_soname_png=`$LDD conftest$ac_exeext | grep "libpng[0-9]*\\.$LIBEXT" | sed -e "s/^.*\(libpng[0-9]*\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16090 fi ;;
16091 esac
16092 else
16093 ac_cv_lib_soname_png=
16095 rm -f core conftest.err conftest.$ac_objext \
16096 conftest$ac_exeext conftest.$ac_ext
16097 LIBS=$ac_check_soname_save_LIBS
16099 if ${ac_cv_lib_soname_png:+false} :; then :
16100 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16101 $as_echo "not found" >&6; }
16102 PNG_CFLAGS=""
16103 else
16104 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_png" >&5
16105 $as_echo "$ac_cv_lib_soname_png" >&6; }
16107 cat >>confdefs.h <<_ACEOF
16108 #define SONAME_LIBPNG "$ac_cv_lib_soname_png"
16109 _ACEOF
16113 else
16114 PNG_CFLAGS=""
16116 CPPFLAGS=$ac_save_CPPFLAGS
16119 if test "x$ac_cv_lib_soname_png" = "x"; then :
16120 case "x$with_png" in
16121 x) as_fn_append wine_warnings "|libpng ${notice_platform}development files not found, PNG won't be supported." ;;
16122 xno) ;;
16123 *) as_fn_error $? "libpng ${notice_platform}development files not found, PNG won't be supported.
16124 This is an error since --with-png was requested." "$LINENO" 5 ;;
16125 esac
16129 if test "x$with_tiff" != "xno"
16130 then
16131 if ${TIFF_CFLAGS:+false} :; then :
16132 if ${PKG_CONFIG+:} false; then :
16133 TIFF_CFLAGS=`$PKG_CONFIG --cflags libtiff-4 2>/dev/null`
16137 if ${TIFF_LIBS:+false} :; then :
16138 if ${PKG_CONFIG+:} false; then :
16139 TIFF_LIBS=`$PKG_CONFIG --libs libtiff-4 2>/dev/null`
16144 $as_echo "$as_me:${as_lineno-$LINENO}: libtiff-4 cflags: $TIFF_CFLAGS" >&5
16145 $as_echo "$as_me:${as_lineno-$LINENO}: libtiff-4 libs: $TIFF_LIBS" >&5
16146 ac_save_CPPFLAGS=$CPPFLAGS
16147 CPPFLAGS="$CPPFLAGS $TIFF_CFLAGS"
16148 for ac_header in tiffio.h
16149 do :
16150 ac_fn_c_check_header_mongrel "$LINENO" "tiffio.h" "ac_cv_header_tiffio_h" "$ac_includes_default"
16151 if test "x$ac_cv_header_tiffio_h" = xyes; then :
16152 cat >>confdefs.h <<_ACEOF
16153 #define HAVE_TIFFIO_H 1
16154 _ACEOF
16158 done
16160 if test "$ac_cv_header_tiffio_h" = "yes"
16161 then
16162 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ltiff" >&5
16163 $as_echo_n "checking for -ltiff... " >&6; }
16164 if ${ac_cv_lib_soname_tiff+:} false; then :
16165 $as_echo_n "(cached) " >&6
16166 else
16167 ac_check_soname_save_LIBS=$LIBS
16168 LIBS="-ltiff $TIFF_LIBS $LIBS"
16169 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16170 /* end confdefs.h. */
16172 /* Override any GCC internal prototype to avoid an error.
16173 Use char because int might match the return type of a GCC
16174 builtin and then its argument prototype would still apply. */
16175 #ifdef __cplusplus
16176 extern "C"
16177 #endif
16178 char TIFFClientOpen ();
16180 main ()
16182 return TIFFClientOpen ();
16184 return 0;
16186 _ACEOF
16187 if ac_fn_c_try_link "$LINENO"; then :
16188 case "$LIBEXT" in
16189 dll) ac_cv_lib_soname_tiff=`$ac_cv_path_LDD conftest.exe | grep "tiff" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16190 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'` ;;
16191 *) ac_cv_lib_soname_tiff=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libtiff\\.$LIBEXT" | sed -e "s/^.*\\[\\(libtiff\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16192 if ${ac_cv_lib_soname_tiff:+false} :; then :
16193 ac_cv_lib_soname_tiff=`$LDD conftest$ac_exeext | grep "libtiff\\.$LIBEXT" | sed -e "s/^.*\(libtiff\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16194 fi ;;
16195 esac
16196 else
16197 ac_cv_lib_soname_tiff=
16199 rm -f core conftest.err conftest.$ac_objext \
16200 conftest$ac_exeext conftest.$ac_ext
16201 LIBS=$ac_check_soname_save_LIBS
16203 if ${ac_cv_lib_soname_tiff:+false} :; then :
16204 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16205 $as_echo "not found" >&6; }
16207 else
16208 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_tiff" >&5
16209 $as_echo "$ac_cv_lib_soname_tiff" >&6; }
16211 cat >>confdefs.h <<_ACEOF
16212 #define SONAME_LIBTIFF "$ac_cv_lib_soname_tiff"
16213 _ACEOF
16218 CPPFLAGS=$ac_save_CPPFLAGS
16221 if test "x$ac_cv_lib_soname_tiff" = "x"; then :
16222 case "x$with_tiff" in
16223 x) as_fn_append wine_notices "|libtiff ${notice_platform}development files not found, TIFF won't be supported." ;;
16224 xno) ;;
16225 *) as_fn_error $? "libtiff ${notice_platform}development files not found, TIFF won't be supported.
16226 This is an error since --with-tiff was requested." "$LINENO" 5 ;;
16227 esac
16231 if test "x$with_mpg123" != "xno"
16232 then
16233 if ${MPG123_CFLAGS:+false} :; then :
16234 if ${PKG_CONFIG+:} false; then :
16235 MPG123_CFLAGS=`$PKG_CONFIG --cflags libmpg123 2>/dev/null`
16239 if ${MPG123_LIBS:+false} :; then :
16240 if ${PKG_CONFIG+:} false; then :
16241 MPG123_LIBS=`$PKG_CONFIG --libs libmpg123 2>/dev/null`
16245 MPG123_LIBS=${MPG123_LIBS:-"-lmpg123"}
16246 $as_echo "$as_me:${as_lineno-$LINENO}: libmpg123 cflags: $MPG123_CFLAGS" >&5
16247 $as_echo "$as_me:${as_lineno-$LINENO}: libmpg123 libs: $MPG123_LIBS" >&5
16248 ac_save_CPPFLAGS=$CPPFLAGS
16249 CPPFLAGS="$CPPFLAGS $MPG123_CFLAGS"
16250 for ac_header in mpg123.h
16251 do :
16252 ac_fn_c_check_header_mongrel "$LINENO" "mpg123.h" "ac_cv_header_mpg123_h" "$ac_includes_default"
16253 if test "x$ac_cv_header_mpg123_h" = xyes; then :
16254 cat >>confdefs.h <<_ACEOF
16255 #define HAVE_MPG123_H 1
16256 _ACEOF
16260 done
16262 if test "$ac_cv_header_mpg123_h" = "yes"
16263 then
16264 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mpg123_feed in -lmpg123" >&5
16265 $as_echo_n "checking for mpg123_feed in -lmpg123... " >&6; }
16266 if ${ac_cv_lib_mpg123_mpg123_feed+:} false; then :
16267 $as_echo_n "(cached) " >&6
16268 else
16269 ac_check_lib_save_LIBS=$LIBS
16270 LIBS="-lmpg123 $MPG123_LIBS $LIBS"
16271 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16272 /* end confdefs.h. */
16274 /* Override any GCC internal prototype to avoid an error.
16275 Use char because int might match the return type of a GCC
16276 builtin and then its argument prototype would still apply. */
16277 #ifdef __cplusplus
16278 extern "C"
16279 #endif
16280 char mpg123_feed ();
16282 main ()
16284 return mpg123_feed ();
16286 return 0;
16288 _ACEOF
16289 if ac_fn_c_try_link "$LINENO"; then :
16290 ac_cv_lib_mpg123_mpg123_feed=yes
16291 else
16292 ac_cv_lib_mpg123_mpg123_feed=no
16294 rm -f core conftest.err conftest.$ac_objext \
16295 conftest$ac_exeext conftest.$ac_ext
16296 LIBS=$ac_check_lib_save_LIBS
16298 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_mpg123_mpg123_feed" >&5
16299 $as_echo "$ac_cv_lib_mpg123_mpg123_feed" >&6; }
16300 if test "x$ac_cv_lib_mpg123_mpg123_feed" = xyes; then :
16302 else
16303 MPG123_LIBS=""
16306 else
16307 MPG123_CFLAGS=""
16308 MPG123_LIBS=""
16310 CPPFLAGS=$ac_save_CPPFLAGS
16313 if test "x$ac_cv_lib_mpg123_mpg123_feed" != xyes -a x"$ac_cv_header_CoreAudio_CoreAudio_h" != xyes; then :
16314 case "x$with_mpg123" in
16315 x) as_fn_append wine_notices "|libmpg123 ${notice_platform}development files not found (or too old), mp3 codec won't be supported." ;;
16316 xno) ;;
16317 *) as_fn_error $? "libmpg123 ${notice_platform}development files not found (or too old), mp3 codec won't be supported.
16318 This is an error since --with-mpg123 was requested." "$LINENO" 5 ;;
16319 esac
16320 enable_l3codeca_acm=${enable_l3codeca_acm:-no}
16322 test "x$ac_cv_lib_mpg123_mpg123_feed" = xyes || enable_mp3dmod=${enable_mp3dmod:-no}
16324 if test "$ac_cv_header_AL_al_h" = "yes"
16325 then
16326 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lopenal" >&5
16327 $as_echo_n "checking for -lopenal... " >&6; }
16328 if ${ac_cv_lib_soname_openal+:} false; then :
16329 $as_echo_n "(cached) " >&6
16330 else
16331 ac_check_soname_save_LIBS=$LIBS
16332 LIBS="-lopenal $LIBS"
16333 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16334 /* end confdefs.h. */
16336 /* Override any GCC internal prototype to avoid an error.
16337 Use char because int might match the return type of a GCC
16338 builtin and then its argument prototype would still apply. */
16339 #ifdef __cplusplus
16340 extern "C"
16341 #endif
16342 char alGetSource3i ();
16344 main ()
16346 return alGetSource3i ();
16348 return 0;
16350 _ACEOF
16351 if ac_fn_c_try_link "$LINENO"; then :
16352 case "$LIBEXT" in
16353 dll) ac_cv_lib_soname_openal=`$ac_cv_path_LDD conftest.exe | grep "openal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16354 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'` ;;
16355 *) ac_cv_lib_soname_openal=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libopenal\\.$LIBEXT" | sed -e "s/^.*\\[\\(libopenal\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16356 if ${ac_cv_lib_soname_openal:+false} :; then :
16357 ac_cv_lib_soname_openal=`$LDD conftest$ac_exeext | grep "libopenal\\.$LIBEXT" | sed -e "s/^.*\(libopenal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16358 fi ;;
16359 esac
16360 else
16361 ac_cv_lib_soname_openal=
16363 rm -f core conftest.err conftest.$ac_objext \
16364 conftest$ac_exeext conftest.$ac_ext
16365 LIBS=$ac_check_soname_save_LIBS
16367 if ${ac_cv_lib_soname_openal:+false} :; then :
16368 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16369 $as_echo "not found" >&6; }
16371 else
16372 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_openal" >&5
16373 $as_echo "$ac_cv_lib_soname_openal" >&6; }
16375 cat >>confdefs.h <<_ACEOF
16376 #define SONAME_LIBOPENAL "$ac_cv_lib_soname_openal"
16377 _ACEOF
16379 OPENAL_LIBS="-lopenal"
16381 ac_cv_lib_openal=yes
16383 cat >>confdefs.h <<_ACEOF
16384 #define HAVE_OPENAL 1
16385 _ACEOF
16389 if test "x$ac_cv_lib_openal" != xyes; then :
16390 case "x$with_openal" in
16391 x) as_fn_append wine_notices "|libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported." ;;
16392 xno) ;;
16393 *) as_fn_error $? "libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported.
16394 This is an error since --with-openal was requested." "$LINENO" 5 ;;
16395 esac
16396 enable_openal32=${enable_openal32:-no}
16399 if test "x$ac_cv_lib_soname_FAudio" = "x"
16400 then
16401 enable_x3daudio1_0=${enable_x3daudio1_0:-no}
16402 enable_x3daudio1_1=${enable_x3daudio1_1:-no}
16403 enable_x3daudio1_2=${enable_x3daudio1_2:-no}
16404 enable_x3daudio1_3=${enable_x3daudio1_3:-no}
16405 enable_x3daudio1_4=${enable_x3daudio1_4:-no}
16406 enable_x3daudio1_5=${enable_x3daudio1_5:-no}
16407 enable_x3daudio1_6=${enable_x3daudio1_6:-no}
16408 enable_x3daudio1_7=${enable_x3daudio1_7:-no}
16409 enable_xactengine3_0=${enable_xactengine3_0:-no}
16410 enable_xactengine3_1=${enable_xactengine3_1:-no}
16411 enable_xactengine3_2=${enable_xactengine3_2:-no}
16412 enable_xactengine3_3=${enable_xactengine3_3:-no}
16413 enable_xactengine3_4=${enable_xactengine3_4:-no}
16414 enable_xactengine3_5=${enable_xactengine3_5:-no}
16415 enable_xactengine3_6=${enable_xactengine3_6:-no}
16416 enable_xactengine3_7=${enable_xactengine3_7:-no}
16417 enable_xapofx1_1=${enable_xapofx1_1:-no}
16418 enable_xapofx1_2=${enable_xapofx1_2:-no}
16419 enable_xapofx1_3=${enable_xapofx1_3:-no}
16420 enable_xapofx1_4=${enable_xapofx1_4:-no}
16421 enable_xapofx1_5=${enable_xapofx1_5:-no}
16422 enable_xaudio2_0=${enable_xaudio2_0:-no}
16423 enable_xaudio2_1=${enable_xaudio2_1:-no}
16424 enable_xaudio2_2=${enable_xaudio2_2:-no}
16425 enable_xaudio2_3=${enable_xaudio2_3:-no}
16426 enable_xaudio2_4=${enable_xaudio2_4:-no}
16427 enable_xaudio2_5=${enable_xaudio2_5:-no}
16428 enable_xaudio2_6=${enable_xaudio2_6:-no}
16429 enable_xaudio2_7=${enable_xaudio2_7:-no}
16430 enable_xaudio2_8=${enable_xaudio2_8:-no}
16431 enable_xaudio2_9=${enable_xaudio2_9:-no}
16434 if test "$ac_cv_header_kstat_h" = "yes"
16435 then
16436 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for kstat_open in -lkstat" >&5
16437 $as_echo_n "checking for kstat_open in -lkstat... " >&6; }
16438 if ${ac_cv_lib_kstat_kstat_open+:} false; then :
16439 $as_echo_n "(cached) " >&6
16440 else
16441 ac_check_lib_save_LIBS=$LIBS
16442 LIBS="-lkstat $LIBS"
16443 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16444 /* end confdefs.h. */
16446 /* Override any GCC internal prototype to avoid an error.
16447 Use char because int might match the return type of a GCC
16448 builtin and then its argument prototype would still apply. */
16449 #ifdef __cplusplus
16450 extern "C"
16451 #endif
16452 char kstat_open ();
16454 main ()
16456 return kstat_open ();
16458 return 0;
16460 _ACEOF
16461 if ac_fn_c_try_link "$LINENO"; then :
16462 ac_cv_lib_kstat_kstat_open=yes
16463 else
16464 ac_cv_lib_kstat_kstat_open=no
16466 rm -f core conftest.err conftest.$ac_objext \
16467 conftest$ac_exeext conftest.$ac_ext
16468 LIBS=$ac_check_lib_save_LIBS
16470 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_kstat_kstat_open" >&5
16471 $as_echo "$ac_cv_lib_kstat_kstat_open" >&6; }
16472 if test "x$ac_cv_lib_kstat_kstat_open" = xyes; then :
16474 $as_echo "#define HAVE_LIBKSTAT 1" >>confdefs.h
16476 KSTAT_LIBS="-lkstat"
16482 if test "$ac_cv_header_libprocstat_h" = "yes"
16483 then
16484 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for procstat_open_sysctl in -lprocstat" >&5
16485 $as_echo_n "checking for procstat_open_sysctl in -lprocstat... " >&6; }
16486 if ${ac_cv_lib_procstat_procstat_open_sysctl+:} false; then :
16487 $as_echo_n "(cached) " >&6
16488 else
16489 ac_check_lib_save_LIBS=$LIBS
16490 LIBS="-lprocstat $LIBS"
16491 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16492 /* end confdefs.h. */
16494 /* Override any GCC internal prototype to avoid an error.
16495 Use char because int might match the return type of a GCC
16496 builtin and then its argument prototype would still apply. */
16497 #ifdef __cplusplus
16498 extern "C"
16499 #endif
16500 char procstat_open_sysctl ();
16502 main ()
16504 return procstat_open_sysctl ();
16506 return 0;
16508 _ACEOF
16509 if ac_fn_c_try_link "$LINENO"; then :
16510 ac_cv_lib_procstat_procstat_open_sysctl=yes
16511 else
16512 ac_cv_lib_procstat_procstat_open_sysctl=no
16514 rm -f core conftest.err conftest.$ac_objext \
16515 conftest$ac_exeext conftest.$ac_ext
16516 LIBS=$ac_check_lib_save_LIBS
16518 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_procstat_procstat_open_sysctl" >&5
16519 $as_echo "$ac_cv_lib_procstat_procstat_open_sysctl" >&6; }
16520 if test "x$ac_cv_lib_procstat_procstat_open_sysctl" = xyes; then :
16522 $as_echo "#define HAVE_LIBPROCSTAT 1" >>confdefs.h
16524 PROCSTAT_LIBS="-lprocstat"
16530 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lodbc" >&5
16531 $as_echo_n "checking for -lodbc... " >&6; }
16532 if ${ac_cv_lib_soname_odbc+:} false; then :
16533 $as_echo_n "(cached) " >&6
16534 else
16535 ac_check_soname_save_LIBS=$LIBS
16536 LIBS="-lodbc $LIBS"
16537 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16538 /* end confdefs.h. */
16540 /* Override any GCC internal prototype to avoid an error.
16541 Use char because int might match the return type of a GCC
16542 builtin and then its argument prototype would still apply. */
16543 #ifdef __cplusplus
16544 extern "C"
16545 #endif
16546 char SQLConnect ();
16548 main ()
16550 return SQLConnect ();
16552 return 0;
16554 _ACEOF
16555 if ac_fn_c_try_link "$LINENO"; then :
16556 case "$LIBEXT" in
16557 dll) ac_cv_lib_soname_odbc=`$ac_cv_path_LDD conftest.exe | grep "odbc" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16558 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'` ;;
16559 *) ac_cv_lib_soname_odbc=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libodbc\\.$LIBEXT" | sed -e "s/^.*\\[\\(libodbc\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16560 if ${ac_cv_lib_soname_odbc:+false} :; then :
16561 ac_cv_lib_soname_odbc=`$LDD conftest$ac_exeext | grep "libodbc\\.$LIBEXT" | sed -e "s/^.*\(libodbc\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16562 fi ;;
16563 esac
16564 else
16565 ac_cv_lib_soname_odbc=
16567 rm -f core conftest.err conftest.$ac_objext \
16568 conftest$ac_exeext conftest.$ac_ext
16569 LIBS=$ac_check_soname_save_LIBS
16571 if ${ac_cv_lib_soname_odbc:+false} :; then :
16572 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16573 $as_echo "not found" >&6; }
16574 cat >>confdefs.h <<_ACEOF
16575 #define SONAME_LIBODBC "libodbc.$LIBEXT"
16576 _ACEOF
16578 else
16579 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_odbc" >&5
16580 $as_echo "$ac_cv_lib_soname_odbc" >&6; }
16582 cat >>confdefs.h <<_ACEOF
16583 #define SONAME_LIBODBC "$ac_cv_lib_soname_odbc"
16584 _ACEOF
16589 if test "x$with_netapi" != "xno"
16590 then
16591 if ${NETAPI_CFLAGS:+false} :; then :
16592 if ${PKG_CONFIG+:} false; then :
16593 NETAPI_CFLAGS=`$PKG_CONFIG --cflags netapi 2>/dev/null`
16597 if ${NETAPI_LIBS:+false} :; then :
16598 if ${PKG_CONFIG+:} false; then :
16599 NETAPI_LIBS=`$PKG_CONFIG --libs netapi 2>/dev/null`
16604 $as_echo "$as_me:${as_lineno-$LINENO}: netapi cflags: $NETAPI_CFLAGS" >&5
16605 $as_echo "$as_me:${as_lineno-$LINENO}: netapi libs: $NETAPI_LIBS" >&5
16606 ac_save_CPPFLAGS=$CPPFLAGS
16607 CPPFLAGS="$CPPFLAGS $NETAPI_CFLAGS"
16608 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lnetapi" >&5
16609 $as_echo_n "checking for -lnetapi... " >&6; }
16610 if ${ac_cv_lib_soname_netapi+:} false; then :
16611 $as_echo_n "(cached) " >&6
16612 else
16613 ac_check_soname_save_LIBS=$LIBS
16614 LIBS="-lnetapi $NETAPI_LIBS $LIBS"
16615 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16616 /* end confdefs.h. */
16618 /* Override any GCC internal prototype to avoid an error.
16619 Use char because int might match the return type of a GCC
16620 builtin and then its argument prototype would still apply. */
16621 #ifdef __cplusplus
16622 extern "C"
16623 #endif
16624 char libnetapi_init ();
16626 main ()
16628 return libnetapi_init ();
16630 return 0;
16632 _ACEOF
16633 if ac_fn_c_try_link "$LINENO"; then :
16634 case "$LIBEXT" in
16635 dll) ac_cv_lib_soname_netapi=`$ac_cv_path_LDD conftest.exe | grep "netapi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16636 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'` ;;
16637 *) ac_cv_lib_soname_netapi=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libnetapi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libnetapi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16638 if ${ac_cv_lib_soname_netapi:+false} :; then :
16639 ac_cv_lib_soname_netapi=`$LDD conftest$ac_exeext | grep "libnetapi\\.$LIBEXT" | sed -e "s/^.*\(libnetapi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16640 fi ;;
16641 esac
16642 else
16643 ac_cv_lib_soname_netapi=
16645 rm -f core conftest.err conftest.$ac_objext \
16646 conftest$ac_exeext conftest.$ac_ext
16647 LIBS=$ac_check_soname_save_LIBS
16649 if ${ac_cv_lib_soname_netapi:+false} :; then :
16650 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16651 $as_echo "not found" >&6; }
16652 cat >>confdefs.h <<_ACEOF
16653 #define SONAME_LIBNETAPI "libnetapi.$LIBEXT"
16654 _ACEOF
16656 else
16657 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_netapi" >&5
16658 $as_echo "$ac_cv_lib_soname_netapi" >&6; }
16660 cat >>confdefs.h <<_ACEOF
16661 #define SONAME_LIBNETAPI "$ac_cv_lib_soname_netapi"
16662 _ACEOF
16666 CPPFLAGS=$ac_save_CPPFLAGS
16670 if test "x$enable_winealsa_drv$enable_winecoreaudio_drv$enable_winepulse_drv$enable_wineoss_drv$enable_wineandroid_drv" = xnonononono -a \
16671 "x$with_alsa$with_coreaudio$with_oss$with_pulse" != xnononono
16672 then
16673 as_fn_append wine_warnings "|No sound system was found. Windows applications will be silent."
16676 if test "x$with_vulkan" != "xno"
16677 then
16678 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lvulkan" >&5
16679 $as_echo_n "checking for -lvulkan... " >&6; }
16680 if ${ac_cv_lib_soname_vulkan+:} false; then :
16681 $as_echo_n "(cached) " >&6
16682 else
16683 ac_check_soname_save_LIBS=$LIBS
16684 LIBS="-lvulkan $LIBS"
16685 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16686 /* end confdefs.h. */
16688 /* Override any GCC internal prototype to avoid an error.
16689 Use char because int might match the return type of a GCC
16690 builtin and then its argument prototype would still apply. */
16691 #ifdef __cplusplus
16692 extern "C"
16693 #endif
16694 char vkGetInstanceProcAddr ();
16696 main ()
16698 return vkGetInstanceProcAddr ();
16700 return 0;
16702 _ACEOF
16703 if ac_fn_c_try_link "$LINENO"; then :
16704 case "$LIBEXT" in
16705 dll) ac_cv_lib_soname_vulkan=`$ac_cv_path_LDD conftest.exe | grep "vulkan" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16706 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'` ;;
16707 *) ac_cv_lib_soname_vulkan=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libvulkan\\.$LIBEXT" | sed -e "s/^.*\\[\\(libvulkan\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16708 if ${ac_cv_lib_soname_vulkan:+false} :; then :
16709 ac_cv_lib_soname_vulkan=`$LDD conftest$ac_exeext | grep "libvulkan\\.$LIBEXT" | sed -e "s/^.*\(libvulkan\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16710 fi ;;
16711 esac
16712 else
16713 ac_cv_lib_soname_vulkan=
16715 rm -f core conftest.err conftest.$ac_objext \
16716 conftest$ac_exeext conftest.$ac_ext
16717 LIBS=$ac_check_soname_save_LIBS
16719 if ${ac_cv_lib_soname_vulkan:+false} :; then :
16720 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16721 $as_echo "not found" >&6; }
16723 else
16724 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_vulkan" >&5
16725 $as_echo "$ac_cv_lib_soname_vulkan" >&6; }
16727 cat >>confdefs.h <<_ACEOF
16728 #define SONAME_LIBVULKAN "$ac_cv_lib_soname_vulkan"
16729 _ACEOF
16733 if test "x$ac_cv_lib_soname_vulkan" = "x"
16734 then
16735 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lMoltenVK" >&5
16736 $as_echo_n "checking for -lMoltenVK... " >&6; }
16737 if ${ac_cv_lib_soname_MoltenVK+:} false; then :
16738 $as_echo_n "(cached) " >&6
16739 else
16740 ac_check_soname_save_LIBS=$LIBS
16741 LIBS="-lMoltenVK $LIBS"
16742 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16743 /* end confdefs.h. */
16745 /* Override any GCC internal prototype to avoid an error.
16746 Use char because int might match the return type of a GCC
16747 builtin and then its argument prototype would still apply. */
16748 #ifdef __cplusplus
16749 extern "C"
16750 #endif
16751 char vkGetInstanceProcAddr ();
16753 main ()
16755 return vkGetInstanceProcAddr ();
16757 return 0;
16759 _ACEOF
16760 if ac_fn_c_try_link "$LINENO"; then :
16761 case "$LIBEXT" in
16762 dll) ac_cv_lib_soname_MoltenVK=`$ac_cv_path_LDD conftest.exe | grep "MoltenVK" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16763 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'` ;;
16764 *) ac_cv_lib_soname_MoltenVK=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libMoltenVK\\.$LIBEXT" | sed -e "s/^.*\\[\\(libMoltenVK\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16765 if ${ac_cv_lib_soname_MoltenVK:+false} :; then :
16766 ac_cv_lib_soname_MoltenVK=`$LDD conftest$ac_exeext | grep "libMoltenVK\\.$LIBEXT" | sed -e "s/^.*\(libMoltenVK\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16767 fi ;;
16768 esac
16769 else
16770 ac_cv_lib_soname_MoltenVK=
16772 rm -f core conftest.err conftest.$ac_objext \
16773 conftest$ac_exeext conftest.$ac_ext
16774 LIBS=$ac_check_soname_save_LIBS
16776 if ${ac_cv_lib_soname_MoltenVK:+false} :; then :
16777 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16778 $as_echo "not found" >&6; }
16780 else
16781 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_MoltenVK" >&5
16782 $as_echo "$ac_cv_lib_soname_MoltenVK" >&6; }
16784 cat >>confdefs.h <<_ACEOF
16785 #define SONAME_LIBMOLTENVK "$ac_cv_lib_soname_MoltenVK"
16786 _ACEOF
16792 if test "x$ac_cv_lib_soname_vulkan" = "x" -a "x$ac_cv_lib_soname_MoltenVK" = "x"; then :
16793 case "x$with_vulkan" in
16794 x) as_fn_append wine_notices "|libvulkan and libMoltenVK ${notice_platform}development files not found, Vulkan won't be supported." ;;
16795 xno) ;;
16796 *) as_fn_error $? "libvulkan and libMoltenVK ${notice_platform}development files not found, Vulkan won't be supported.
16797 This is an error since --with-vulkan was requested." "$LINENO" 5 ;;
16798 esac
16802 if test "x$with_vkd3d" != "xno"
16803 then
16804 if ${VKD3D_CFLAGS:+false} :; then :
16805 if ${PKG_CONFIG+:} false; then :
16806 VKD3D_CFLAGS=`$PKG_CONFIG --cflags libvkd3d 2>/dev/null`
16810 if ${VKD3D_LIBS:+false} :; then :
16811 if ${PKG_CONFIG+:} false; then :
16812 VKD3D_LIBS=`$PKG_CONFIG --libs libvkd3d 2>/dev/null`
16817 $as_echo "$as_me:${as_lineno-$LINENO}: libvkd3d cflags: $VKD3D_CFLAGS" >&5
16818 $as_echo "$as_me:${as_lineno-$LINENO}: libvkd3d libs: $VKD3D_LIBS" >&5
16819 ac_save_CPPFLAGS=$CPPFLAGS
16820 CPPFLAGS="$CPPFLAGS $VKD3D_CFLAGS"
16821 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lvkd3d" >&5
16822 $as_echo_n "checking for -lvkd3d... " >&6; }
16823 if ${ac_cv_lib_soname_vkd3d+:} false; then :
16824 $as_echo_n "(cached) " >&6
16825 else
16826 ac_check_soname_save_LIBS=$LIBS
16827 LIBS="-lvkd3d $VKD3D_LIBS $LIBS"
16828 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16829 /* end confdefs.h. */
16831 /* Override any GCC internal prototype to avoid an error.
16832 Use char because int might match the return type of a GCC
16833 builtin and then its argument prototype would still apply. */
16834 #ifdef __cplusplus
16835 extern "C"
16836 #endif
16837 char vkd3d_serialize_versioned_root_signature ();
16839 main ()
16841 return vkd3d_serialize_versioned_root_signature ();
16843 return 0;
16845 _ACEOF
16846 if ac_fn_c_try_link "$LINENO"; then :
16847 case "$LIBEXT" in
16848 dll) ac_cv_lib_soname_vkd3d=`$ac_cv_path_LDD conftest.exe | grep "vkd3d" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16849 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'` ;;
16850 *) ac_cv_lib_soname_vkd3d=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libvkd3d\\.$LIBEXT" | sed -e "s/^.*\\[\\(libvkd3d\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16851 if ${ac_cv_lib_soname_vkd3d:+false} :; then :
16852 ac_cv_lib_soname_vkd3d=`$LDD conftest$ac_exeext | grep "libvkd3d\\.$LIBEXT" | sed -e "s/^.*\(libvkd3d\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16853 fi ;;
16854 esac
16855 else
16856 ac_cv_lib_soname_vkd3d=
16858 rm -f core conftest.err conftest.$ac_objext \
16859 conftest$ac_exeext conftest.$ac_ext
16860 LIBS=$ac_check_soname_save_LIBS
16862 if ${ac_cv_lib_soname_vkd3d:+false} :; then :
16863 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16864 $as_echo "not found" >&6; }
16866 else
16867 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_vkd3d" >&5
16868 $as_echo "$ac_cv_lib_soname_vkd3d" >&6; }
16870 cat >>confdefs.h <<_ACEOF
16871 #define SONAME_LIBVKD3D "$ac_cv_lib_soname_vkd3d"
16872 _ACEOF
16876 CPPFLAGS=$ac_save_CPPFLAGS
16878 if ${VKD3D_SHADER_CFLAGS:+false} :; then :
16879 if ${PKG_CONFIG+:} false; then :
16880 VKD3D_SHADER_CFLAGS=`$PKG_CONFIG --cflags libvkd3d-shader 2>/dev/null`
16884 if ${VKD3D_SHADER_LIBS:+false} :; then :
16885 if ${PKG_CONFIG+:} false; then :
16886 VKD3D_SHADER_LIBS=`$PKG_CONFIG --libs libvkd3d-shader 2>/dev/null`
16891 $as_echo "$as_me:${as_lineno-$LINENO}: libvkd3d-shader cflags: $VKD3D_SHADER_CFLAGS" >&5
16892 $as_echo "$as_me:${as_lineno-$LINENO}: libvkd3d-shader libs: $VKD3D_SHADER_LIBS" >&5
16893 ac_save_CPPFLAGS=$CPPFLAGS
16894 CPPFLAGS="$CPPFLAGS $VKD3D_SHADER_CFLAGS"
16895 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lvkd3d-shader" >&5
16896 $as_echo_n "checking for -lvkd3d-shader... " >&6; }
16897 if ${ac_cv_lib_soname_vkd3d_shader+:} false; then :
16898 $as_echo_n "(cached) " >&6
16899 else
16900 ac_check_soname_save_LIBS=$LIBS
16901 LIBS="-lvkd3d-shader $VKD3D_SHADER_LIBS $LIBS"
16902 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16903 /* end confdefs.h. */
16905 /* Override any GCC internal prototype to avoid an error.
16906 Use char because int might match the return type of a GCC
16907 builtin and then its argument prototype would still apply. */
16908 #ifdef __cplusplus
16909 extern "C"
16910 #endif
16911 char vkd3d_shader_compile ();
16913 main ()
16915 return vkd3d_shader_compile ();
16917 return 0;
16919 _ACEOF
16920 if ac_fn_c_try_link "$LINENO"; then :
16921 case "$LIBEXT" in
16922 dll) ac_cv_lib_soname_vkd3d_shader=`$ac_cv_path_LDD conftest.exe | grep "vkd3d-shader" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16923 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'` ;;
16924 *) 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'`
16925 if ${ac_cv_lib_soname_vkd3d_shader:+false} :; then :
16926 ac_cv_lib_soname_vkd3d_shader=`$LDD conftest$ac_exeext | grep "libvkd3d-shader\\.$LIBEXT" | sed -e "s/^.*\(libvkd3d-shader\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16927 fi ;;
16928 esac
16929 else
16930 ac_cv_lib_soname_vkd3d_shader=
16932 rm -f core conftest.err conftest.$ac_objext \
16933 conftest$ac_exeext conftest.$ac_ext
16934 LIBS=$ac_check_soname_save_LIBS
16936 if ${ac_cv_lib_soname_vkd3d_shader:+false} :; then :
16937 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16938 $as_echo "not found" >&6; }
16940 else
16941 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_vkd3d_shader" >&5
16942 $as_echo "$ac_cv_lib_soname_vkd3d_shader" >&6; }
16944 cat >>confdefs.h <<_ACEOF
16945 #define SONAME_LIBVKD3D_SHADER "$ac_cv_lib_soname_vkd3d_shader"
16946 _ACEOF
16950 CPPFLAGS=$ac_save_CPPFLAGS
16953 if test "x$ac_cv_lib_soname_vkd3d" = "x"; then :
16954 case "x$with_vkd3d" in
16955 x) as_fn_append wine_notices "|vkd3d ${notice_platform}development files not found (or too old), Direct3D 12 won't be supported." ;;
16956 xno) ;;
16957 *) as_fn_error $? "vkd3d ${notice_platform}development files not found (or too old), Direct3D 12 won't be supported.
16958 This is an error since --with-vkd3d was requested." "$LINENO" 5 ;;
16959 esac
16962 test "x$ac_cv_lib_soname_vkd3d" != "x" || enable_d3d12=${enable_d3d12:-no}
16965 EXTRACFLAGS=""
16967 if test "x${GCC}" = "xyes"
16968 then
16969 EXTRACFLAGS="-Wall -pipe"
16971 saved_CFLAGS=$CFLAGS
16972 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=unknown-warning-option" >&5
16973 $as_echo_n "checking whether the compiler supports -Werror=unknown-warning-option... " >&6; }
16974 if ${ac_cv_cflags__Werror_unknown_warning_option+:} false; then :
16975 $as_echo_n "(cached) " >&6
16976 else
16977 ac_wine_try_cflags_saved=$CFLAGS
16978 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
16979 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16980 /* end confdefs.h. */
16981 int main(int argc, char **argv) { return 0; }
16982 _ACEOF
16983 if ac_fn_c_try_link "$LINENO"; then :
16984 ac_cv_cflags__Werror_unknown_warning_option=yes
16985 else
16986 ac_cv_cflags__Werror_unknown_warning_option=no
16988 rm -f core conftest.err conftest.$ac_objext \
16989 conftest$ac_exeext conftest.$ac_ext
16990 CFLAGS=$ac_wine_try_cflags_saved
16992 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_unknown_warning_option" >&5
16993 $as_echo "$ac_cv_cflags__Werror_unknown_warning_option" >&6; }
16994 if test "x$ac_cv_cflags__Werror_unknown_warning_option" = xyes; then :
16995 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
16997 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=unused-command-line-argument" >&5
16998 $as_echo_n "checking whether the compiler supports -Werror=unused-command-line-argument... " >&6; }
16999 if ${ac_cv_cflags__Werror_unused_command_line_argument+:} false; then :
17000 $as_echo_n "(cached) " >&6
17001 else
17002 ac_wine_try_cflags_saved=$CFLAGS
17003 CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
17004 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17005 /* end confdefs.h. */
17006 int main(int argc, char **argv) { return 0; }
17007 _ACEOF
17008 if ac_fn_c_try_link "$LINENO"; then :
17009 ac_cv_cflags__Werror_unused_command_line_argument=yes
17010 else
17011 ac_cv_cflags__Werror_unused_command_line_argument=no
17013 rm -f core conftest.err conftest.$ac_objext \
17014 conftest$ac_exeext conftest.$ac_ext
17015 CFLAGS=$ac_wine_try_cflags_saved
17017 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_unused_command_line_argument" >&5
17018 $as_echo "$ac_cv_cflags__Werror_unused_command_line_argument" >&6; }
17019 if test "x$ac_cv_cflags__Werror_unused_command_line_argument" = xyes; then :
17020 CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
17022 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=ignored-optimization-argument" >&5
17023 $as_echo_n "checking whether the compiler supports -Werror=ignored-optimization-argument... " >&6; }
17024 if ${ac_cv_cflags__Werror_ignored_optimization_argument+:} false; then :
17025 $as_echo_n "(cached) " >&6
17026 else
17027 ac_wine_try_cflags_saved=$CFLAGS
17028 CFLAGS="$CFLAGS -Werror=ignored-optimization-argument"
17029 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17030 /* end confdefs.h. */
17031 int main(int argc, char **argv) { return 0; }
17032 _ACEOF
17033 if ac_fn_c_try_link "$LINENO"; then :
17034 ac_cv_cflags__Werror_ignored_optimization_argument=yes
17035 else
17036 ac_cv_cflags__Werror_ignored_optimization_argument=no
17038 rm -f core conftest.err conftest.$ac_objext \
17039 conftest$ac_exeext conftest.$ac_ext
17040 CFLAGS=$ac_wine_try_cflags_saved
17042 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_ignored_optimization_argument" >&5
17043 $as_echo "$ac_cv_cflags__Werror_ignored_optimization_argument" >&6; }
17044 if test "x$ac_cv_cflags__Werror_ignored_optimization_argument" = xyes; then :
17045 CFLAGS="$CFLAGS -Werror=ignored-optimization-argument"
17047 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fcf-protection=none" >&5
17048 $as_echo_n "checking whether the compiler supports -fcf-protection=none... " >&6; }
17049 if ${ac_cv_cflags__fcf_protection_none+:} false; then :
17050 $as_echo_n "(cached) " >&6
17051 else
17052 ac_wine_try_cflags_saved=$CFLAGS
17053 CFLAGS="$CFLAGS -fcf-protection=none"
17054 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17055 /* end confdefs.h. */
17056 int main(int argc, char **argv) { return 0; }
17057 _ACEOF
17058 if ac_fn_c_try_link "$LINENO"; then :
17059 ac_cv_cflags__fcf_protection_none=yes
17060 else
17061 ac_cv_cflags__fcf_protection_none=no
17063 rm -f core conftest.err conftest.$ac_objext \
17064 conftest$ac_exeext conftest.$ac_ext
17065 CFLAGS=$ac_wine_try_cflags_saved
17067 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fcf_protection_none" >&5
17068 $as_echo "$ac_cv_cflags__fcf_protection_none" >&6; }
17069 if test "x$ac_cv_cflags__fcf_protection_none" = xyes; then :
17070 EXTRACFLAGS="$EXTRACFLAGS -fcf-protection=none"
17072 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-stack-protector" >&5
17073 $as_echo_n "checking whether the compiler supports -fno-stack-protector... " >&6; }
17074 if ${ac_cv_cflags__fno_stack_protector+:} false; then :
17075 $as_echo_n "(cached) " >&6
17076 else
17077 ac_wine_try_cflags_saved=$CFLAGS
17078 CFLAGS="$CFLAGS -fno-stack-protector"
17079 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17080 /* end confdefs.h. */
17081 int main(int argc, char **argv) { return 0; }
17082 _ACEOF
17083 if ac_fn_c_try_link "$LINENO"; then :
17084 ac_cv_cflags__fno_stack_protector=yes
17085 else
17086 ac_cv_cflags__fno_stack_protector=no
17088 rm -f core conftest.err conftest.$ac_objext \
17089 conftest$ac_exeext conftest.$ac_ext
17090 CFLAGS=$ac_wine_try_cflags_saved
17092 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_stack_protector" >&5
17093 $as_echo "$ac_cv_cflags__fno_stack_protector" >&6; }
17094 if test "x$ac_cv_cflags__fno_stack_protector" = xyes; then :
17095 EXTRACFLAGS="$EXTRACFLAGS -fno-stack-protector"
17097 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-strict-aliasing" >&5
17098 $as_echo_n "checking whether the compiler supports -fno-strict-aliasing... " >&6; }
17099 if ${ac_cv_cflags__fno_strict_aliasing+:} false; then :
17100 $as_echo_n "(cached) " >&6
17101 else
17102 ac_wine_try_cflags_saved=$CFLAGS
17103 CFLAGS="$CFLAGS -fno-strict-aliasing"
17104 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17105 /* end confdefs.h. */
17106 int main(int argc, char **argv) { return 0; }
17107 _ACEOF
17108 if ac_fn_c_try_link "$LINENO"; then :
17109 ac_cv_cflags__fno_strict_aliasing=yes
17110 else
17111 ac_cv_cflags__fno_strict_aliasing=no
17113 rm -f core conftest.err conftest.$ac_objext \
17114 conftest$ac_exeext conftest.$ac_ext
17115 CFLAGS=$ac_wine_try_cflags_saved
17117 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_strict_aliasing" >&5
17118 $as_echo "$ac_cv_cflags__fno_strict_aliasing" >&6; }
17119 if test "x$ac_cv_cflags__fno_strict_aliasing" = xyes; then :
17120 EXTRACFLAGS="$EXTRACFLAGS -fno-strict-aliasing"
17122 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wdeclaration-after-statement" >&5
17123 $as_echo_n "checking whether the compiler supports -Wdeclaration-after-statement... " >&6; }
17124 if ${ac_cv_cflags__Wdeclaration_after_statement+:} false; then :
17125 $as_echo_n "(cached) " >&6
17126 else
17127 ac_wine_try_cflags_saved=$CFLAGS
17128 CFLAGS="$CFLAGS -Wdeclaration-after-statement"
17129 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17130 /* end confdefs.h. */
17131 int main(int argc, char **argv) { return 0; }
17132 _ACEOF
17133 if ac_fn_c_try_link "$LINENO"; then :
17134 ac_cv_cflags__Wdeclaration_after_statement=yes
17135 else
17136 ac_cv_cflags__Wdeclaration_after_statement=no
17138 rm -f core conftest.err conftest.$ac_objext \
17139 conftest$ac_exeext conftest.$ac_ext
17140 CFLAGS=$ac_wine_try_cflags_saved
17142 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wdeclaration_after_statement" >&5
17143 $as_echo "$ac_cv_cflags__Wdeclaration_after_statement" >&6; }
17144 if test "x$ac_cv_cflags__Wdeclaration_after_statement" = xyes; then :
17145 EXTRACFLAGS="$EXTRACFLAGS -Wdeclaration-after-statement"
17147 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wempty-body" >&5
17148 $as_echo_n "checking whether the compiler supports -Wempty-body... " >&6; }
17149 if ${ac_cv_cflags__Wempty_body+:} false; then :
17150 $as_echo_n "(cached) " >&6
17151 else
17152 ac_wine_try_cflags_saved=$CFLAGS
17153 CFLAGS="$CFLAGS -Wempty-body"
17154 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17155 /* end confdefs.h. */
17156 int main(int argc, char **argv) { return 0; }
17157 _ACEOF
17158 if ac_fn_c_try_link "$LINENO"; then :
17159 ac_cv_cflags__Wempty_body=yes
17160 else
17161 ac_cv_cflags__Wempty_body=no
17163 rm -f core conftest.err conftest.$ac_objext \
17164 conftest$ac_exeext conftest.$ac_ext
17165 CFLAGS=$ac_wine_try_cflags_saved
17167 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wempty_body" >&5
17168 $as_echo "$ac_cv_cflags__Wempty_body" >&6; }
17169 if test "x$ac_cv_cflags__Wempty_body" = xyes; then :
17170 EXTRACFLAGS="$EXTRACFLAGS -Wempty-body"
17172 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wignored-qualifiers" >&5
17173 $as_echo_n "checking whether the compiler supports -Wignored-qualifiers... " >&6; }
17174 if ${ac_cv_cflags__Wignored_qualifiers+:} false; then :
17175 $as_echo_n "(cached) " >&6
17176 else
17177 ac_wine_try_cflags_saved=$CFLAGS
17178 CFLAGS="$CFLAGS -Wignored-qualifiers"
17179 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17180 /* end confdefs.h. */
17181 int main(int argc, char **argv) { return 0; }
17182 _ACEOF
17183 if ac_fn_c_try_link "$LINENO"; then :
17184 ac_cv_cflags__Wignored_qualifiers=yes
17185 else
17186 ac_cv_cflags__Wignored_qualifiers=no
17188 rm -f core conftest.err conftest.$ac_objext \
17189 conftest$ac_exeext conftest.$ac_ext
17190 CFLAGS=$ac_wine_try_cflags_saved
17192 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wignored_qualifiers" >&5
17193 $as_echo "$ac_cv_cflags__Wignored_qualifiers" >&6; }
17194 if test "x$ac_cv_cflags__Wignored_qualifiers" = xyes; then :
17195 EXTRACFLAGS="$EXTRACFLAGS -Wignored-qualifiers"
17197 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpacked-not-aligned" >&5
17198 $as_echo_n "checking whether the compiler supports -Wpacked-not-aligned... " >&6; }
17199 if ${ac_cv_cflags__Wpacked_not_aligned+:} false; then :
17200 $as_echo_n "(cached) " >&6
17201 else
17202 ac_wine_try_cflags_saved=$CFLAGS
17203 CFLAGS="$CFLAGS -Wpacked-not-aligned"
17204 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17205 /* end confdefs.h. */
17206 int main(int argc, char **argv) { return 0; }
17207 _ACEOF
17208 if ac_fn_c_try_link "$LINENO"; then :
17209 ac_cv_cflags__Wpacked_not_aligned=yes
17210 else
17211 ac_cv_cflags__Wpacked_not_aligned=no
17213 rm -f core conftest.err conftest.$ac_objext \
17214 conftest$ac_exeext conftest.$ac_ext
17215 CFLAGS=$ac_wine_try_cflags_saved
17217 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpacked_not_aligned" >&5
17218 $as_echo "$ac_cv_cflags__Wpacked_not_aligned" >&6; }
17219 if test "x$ac_cv_cflags__Wpacked_not_aligned" = xyes; then :
17220 EXTRACFLAGS="$EXTRACFLAGS -Wno-packed-not-aligned"
17222 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpragma-pack" >&5
17223 $as_echo_n "checking whether the compiler supports -Wpragma-pack... " >&6; }
17224 if ${ac_cv_cflags__Wpragma_pack+:} false; then :
17225 $as_echo_n "(cached) " >&6
17226 else
17227 ac_wine_try_cflags_saved=$CFLAGS
17228 CFLAGS="$CFLAGS -Wpragma-pack"
17229 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17230 /* end confdefs.h. */
17231 int main(int argc, char **argv) { return 0; }
17232 _ACEOF
17233 if ac_fn_c_try_link "$LINENO"; then :
17234 ac_cv_cflags__Wpragma_pack=yes
17235 else
17236 ac_cv_cflags__Wpragma_pack=no
17238 rm -f core conftest.err conftest.$ac_objext \
17239 conftest$ac_exeext conftest.$ac_ext
17240 CFLAGS=$ac_wine_try_cflags_saved
17242 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpragma_pack" >&5
17243 $as_echo "$ac_cv_cflags__Wpragma_pack" >&6; }
17244 if test "x$ac_cv_cflags__Wpragma_pack" = xyes; then :
17245 EXTRACFLAGS="$EXTRACFLAGS -Wno-pragma-pack"
17247 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wshift-overflow=2" >&5
17248 $as_echo_n "checking whether the compiler supports -Wshift-overflow=2... " >&6; }
17249 if ${ac_cv_cflags__Wshift_overflow_2+:} false; then :
17250 $as_echo_n "(cached) " >&6
17251 else
17252 ac_wine_try_cflags_saved=$CFLAGS
17253 CFLAGS="$CFLAGS -Wshift-overflow=2"
17254 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17255 /* end confdefs.h. */
17256 int main(int argc, char **argv) { return 0; }
17257 _ACEOF
17258 if ac_fn_c_try_link "$LINENO"; then :
17259 ac_cv_cflags__Wshift_overflow_2=yes
17260 else
17261 ac_cv_cflags__Wshift_overflow_2=no
17263 rm -f core conftest.err conftest.$ac_objext \
17264 conftest$ac_exeext conftest.$ac_ext
17265 CFLAGS=$ac_wine_try_cflags_saved
17267 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wshift_overflow_2" >&5
17268 $as_echo "$ac_cv_cflags__Wshift_overflow_2" >&6; }
17269 if test "x$ac_cv_cflags__Wshift_overflow_2" = xyes; then :
17270 EXTRACFLAGS="$EXTRACFLAGS -Wshift-overflow=2"
17272 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wstrict-prototypes" >&5
17273 $as_echo_n "checking whether the compiler supports -Wstrict-prototypes... " >&6; }
17274 if ${ac_cv_cflags__Wstrict_prototypes+:} false; then :
17275 $as_echo_n "(cached) " >&6
17276 else
17277 ac_wine_try_cflags_saved=$CFLAGS
17278 CFLAGS="$CFLAGS -Wstrict-prototypes"
17279 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17280 /* end confdefs.h. */
17281 int main(int argc, char **argv) { return 0; }
17282 _ACEOF
17283 if ac_fn_c_try_link "$LINENO"; then :
17284 ac_cv_cflags__Wstrict_prototypes=yes
17285 else
17286 ac_cv_cflags__Wstrict_prototypes=no
17288 rm -f core conftest.err conftest.$ac_objext \
17289 conftest$ac_exeext conftest.$ac_ext
17290 CFLAGS=$ac_wine_try_cflags_saved
17292 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wstrict_prototypes" >&5
17293 $as_echo "$ac_cv_cflags__Wstrict_prototypes" >&6; }
17294 if test "x$ac_cv_cflags__Wstrict_prototypes" = xyes; then :
17295 EXTRACFLAGS="$EXTRACFLAGS -Wstrict-prototypes"
17297 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wtype-limits" >&5
17298 $as_echo_n "checking whether the compiler supports -Wtype-limits... " >&6; }
17299 if ${ac_cv_cflags__Wtype_limits+:} false; then :
17300 $as_echo_n "(cached) " >&6
17301 else
17302 ac_wine_try_cflags_saved=$CFLAGS
17303 CFLAGS="$CFLAGS -Wtype-limits"
17304 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17305 /* end confdefs.h. */
17306 int main(int argc, char **argv) { return 0; }
17307 _ACEOF
17308 if ac_fn_c_try_link "$LINENO"; then :
17309 ac_cv_cflags__Wtype_limits=yes
17310 else
17311 ac_cv_cflags__Wtype_limits=no
17313 rm -f core conftest.err conftest.$ac_objext \
17314 conftest$ac_exeext conftest.$ac_ext
17315 CFLAGS=$ac_wine_try_cflags_saved
17317 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wtype_limits" >&5
17318 $as_echo "$ac_cv_cflags__Wtype_limits" >&6; }
17319 if test "x$ac_cv_cflags__Wtype_limits" = xyes; then :
17320 EXTRACFLAGS="$EXTRACFLAGS -Wtype-limits"
17322 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wunused-but-set-parameter" >&5
17323 $as_echo_n "checking whether the compiler supports -Wunused-but-set-parameter... " >&6; }
17324 if ${ac_cv_cflags__Wunused_but_set_parameter+:} false; then :
17325 $as_echo_n "(cached) " >&6
17326 else
17327 ac_wine_try_cflags_saved=$CFLAGS
17328 CFLAGS="$CFLAGS -Wunused-but-set-parameter"
17329 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17330 /* end confdefs.h. */
17331 int main(int argc, char **argv) { return 0; }
17332 _ACEOF
17333 if ac_fn_c_try_link "$LINENO"; then :
17334 ac_cv_cflags__Wunused_but_set_parameter=yes
17335 else
17336 ac_cv_cflags__Wunused_but_set_parameter=no
17338 rm -f core conftest.err conftest.$ac_objext \
17339 conftest$ac_exeext conftest.$ac_ext
17340 CFLAGS=$ac_wine_try_cflags_saved
17342 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wunused_but_set_parameter" >&5
17343 $as_echo "$ac_cv_cflags__Wunused_but_set_parameter" >&6; }
17344 if test "x$ac_cv_cflags__Wunused_but_set_parameter" = xyes; then :
17345 EXTRACFLAGS="$EXTRACFLAGS -Wunused-but-set-parameter"
17347 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wvla" >&5
17348 $as_echo_n "checking whether the compiler supports -Wvla... " >&6; }
17349 if ${ac_cv_cflags__Wvla+:} false; then :
17350 $as_echo_n "(cached) " >&6
17351 else
17352 ac_wine_try_cflags_saved=$CFLAGS
17353 CFLAGS="$CFLAGS -Wvla"
17354 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17355 /* end confdefs.h. */
17356 int main(int argc, char **argv) { return 0; }
17357 _ACEOF
17358 if ac_fn_c_try_link "$LINENO"; then :
17359 ac_cv_cflags__Wvla=yes
17360 else
17361 ac_cv_cflags__Wvla=no
17363 rm -f core conftest.err conftest.$ac_objext \
17364 conftest$ac_exeext conftest.$ac_ext
17365 CFLAGS=$ac_wine_try_cflags_saved
17367 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wvla" >&5
17368 $as_echo "$ac_cv_cflags__Wvla" >&6; }
17369 if test "x$ac_cv_cflags__Wvla" = xyes; then :
17370 EXTRACFLAGS="$EXTRACFLAGS -Wvla"
17372 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wwrite-strings" >&5
17373 $as_echo_n "checking whether the compiler supports -Wwrite-strings... " >&6; }
17374 if ${ac_cv_cflags__Wwrite_strings+:} false; then :
17375 $as_echo_n "(cached) " >&6
17376 else
17377 ac_wine_try_cflags_saved=$CFLAGS
17378 CFLAGS="$CFLAGS -Wwrite-strings"
17379 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17380 /* end confdefs.h. */
17381 int main(int argc, char **argv) { return 0; }
17382 _ACEOF
17383 if ac_fn_c_try_link "$LINENO"; then :
17384 ac_cv_cflags__Wwrite_strings=yes
17385 else
17386 ac_cv_cflags__Wwrite_strings=no
17388 rm -f core conftest.err conftest.$ac_objext \
17389 conftest$ac_exeext conftest.$ac_ext
17390 CFLAGS=$ac_wine_try_cflags_saved
17392 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wwrite_strings" >&5
17393 $as_echo "$ac_cv_cflags__Wwrite_strings" >&6; }
17394 if test "x$ac_cv_cflags__Wwrite_strings" = xyes; then :
17395 EXTRACFLAGS="$EXTRACFLAGS -Wwrite-strings"
17398 if test -z "$CROSSTARGET"
17399 then
17400 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fexcess-precision=standard" >&5
17401 $as_echo_n "checking whether the compiler supports -fexcess-precision=standard... " >&6; }
17402 if ${ac_cv_cflags__fexcess_precision_standard+:} false; then :
17403 $as_echo_n "(cached) " >&6
17404 else
17405 ac_wine_try_cflags_saved=$CFLAGS
17406 CFLAGS="$CFLAGS -fexcess-precision=standard"
17407 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17408 /* end confdefs.h. */
17409 int main(int argc, char **argv) { return 0; }
17410 _ACEOF
17411 if ac_fn_c_try_link "$LINENO"; then :
17412 ac_cv_cflags__fexcess_precision_standard=yes
17413 else
17414 ac_cv_cflags__fexcess_precision_standard=no
17416 rm -f core conftest.err conftest.$ac_objext \
17417 conftest$ac_exeext conftest.$ac_ext
17418 CFLAGS=$ac_wine_try_cflags_saved
17420 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fexcess_precision_standard" >&5
17421 $as_echo "$ac_cv_cflags__fexcess_precision_standard" >&6; }
17422 if test "x$ac_cv_cflags__fexcess_precision_standard" = xyes; then :
17423 EXCESS_PRECISION_CFLAGS="-fexcess-precision=standard"
17428 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpointer-arith" >&5
17429 $as_echo_n "checking whether the compiler supports -Wpointer-arith... " >&6; }
17430 if ${ac_cv_cflags__Wpointer_arith+:} false; then :
17431 $as_echo_n "(cached) " >&6
17432 else
17433 ac_wine_try_cflags_saved=$CFLAGS
17434 CFLAGS="$CFLAGS -Wpointer-arith"
17435 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17436 /* end confdefs.h. */
17437 int main(int argc, char **argv) { return 0; }
17438 _ACEOF
17439 if ac_fn_c_try_link "$LINENO"; then :
17440 ac_cv_cflags__Wpointer_arith=yes
17441 else
17442 ac_cv_cflags__Wpointer_arith=no
17444 rm -f core conftest.err conftest.$ac_objext \
17445 conftest$ac_exeext conftest.$ac_ext
17446 CFLAGS=$ac_wine_try_cflags_saved
17448 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpointer_arith" >&5
17449 $as_echo "$ac_cv_cflags__Wpointer_arith" >&6; }
17450 if test "x$ac_cv_cflags__Wpointer_arith" = xyes; then :
17451 saved_string_h_CFLAGS=$CFLAGS
17452 CFLAGS="$CFLAGS -Wpointer-arith -Werror"
17453 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wpointer-arith" >&5
17454 $as_echo_n "checking for broken string.h that generates warnings with -Wpointer-arith... " >&6; }
17455 if ${ac_cv_c_string_h_warnings+:} false; then :
17456 $as_echo_n "(cached) " >&6
17457 else
17458 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17459 /* end confdefs.h. */
17460 #include <string.h>
17462 main ()
17466 return 0;
17468 _ACEOF
17469 if ac_fn_c_try_compile "$LINENO"; then :
17470 ac_cv_c_string_h_warnings=no
17471 else
17472 ac_cv_c_string_h_warnings=yes
17474 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17476 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_string_h_warnings" >&5
17477 $as_echo "$ac_cv_c_string_h_warnings" >&6; }
17478 test "$ac_cv_c_string_h_warnings" = yes || EXTRACFLAGS="$EXTRACFLAGS -Wpointer-arith"
17479 CFLAGS=$saved_string_h_CFLAGS
17482 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wlogical-op" >&5
17483 $as_echo_n "checking whether the compiler supports -Wlogical-op... " >&6; }
17484 if ${ac_cv_cflags__Wlogical_op+:} false; then :
17485 $as_echo_n "(cached) " >&6
17486 else
17487 ac_wine_try_cflags_saved=$CFLAGS
17488 CFLAGS="$CFLAGS -Wlogical-op"
17489 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17490 /* end confdefs.h. */
17491 int main(int argc, char **argv) { return 0; }
17492 _ACEOF
17493 if ac_fn_c_try_link "$LINENO"; then :
17494 ac_cv_cflags__Wlogical_op=yes
17495 else
17496 ac_cv_cflags__Wlogical_op=no
17498 rm -f core conftest.err conftest.$ac_objext \
17499 conftest$ac_exeext conftest.$ac_ext
17500 CFLAGS=$ac_wine_try_cflags_saved
17502 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wlogical_op" >&5
17503 $as_echo "$ac_cv_cflags__Wlogical_op" >&6; }
17504 if test "x$ac_cv_cflags__Wlogical_op" = xyes; then :
17505 saved_string_h_CFLAGS=$CFLAGS
17506 CFLAGS="$CFLAGS -Wlogical-op -Werror"
17507 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wlogical-op" >&5
17508 $as_echo_n "checking for broken string.h that generates warnings with -Wlogical-op... " >&6; }
17509 if ${ac_cv_c_logicalop_noisy+:} false; then :
17510 $as_echo_n "(cached) " >&6
17511 else
17512 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17513 /* end confdefs.h. */
17514 #include <string.h>
17515 char*f(const char *h,char n) {return strchr(h,n);}
17517 main ()
17521 return 0;
17523 _ACEOF
17524 if ac_fn_c_try_compile "$LINENO"; then :
17525 ac_cv_c_logicalop_noisy=no
17526 else
17527 ac_cv_c_logicalop_noisy=yes
17529 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17531 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_logicalop_noisy" >&5
17532 $as_echo "$ac_cv_c_logicalop_noisy" >&6; }
17533 CFLAGS=$saved_string_h_CFLAGS
17534 test "$ac_cv_c_logicalop_noisy" = yes || EXTRACFLAGS="$EXTRACFLAGS -Wlogical-op"
17537 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for flags needed for 64-bit compare-and-swap support" >&5
17538 $as_echo_n "checking for flags needed for 64-bit compare-and-swap support... " >&6; }
17539 if ${wine_cv_64bit_compare_swap+:} false; then :
17540 $as_echo_n "(cached) " >&6
17541 else
17542 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17543 /* end confdefs.h. */
17544 #ifndef __GCC_HAVE_SYNC_COMPARE_AND_SWAP_8
17545 #error no
17546 #endif
17548 main ()
17552 return 0;
17554 _ACEOF
17555 if ac_fn_c_try_compile "$LINENO"; then :
17556 wine_cv_64bit_compare_swap="none needed"
17557 else
17558 case $host_cpu in
17559 *i[3456]86*) wine_cv_64bit_compare_swap="-march=i586" ;;
17560 *arm*) wine_cv_64bit_compare_swap="-march=armv7-a" ;;
17561 *) wine_cv_64bit_compare_swap="unknown" ;;
17562 esac
17563 if test "x$wine_cv_64bit_compare_swap" != xunknown
17564 then
17565 CFLAGS="$CFLAGS $wine_cv_64bit_compare_swap"
17566 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17567 /* end confdefs.h. */
17568 #ifndef __GCC_HAVE_SYNC_COMPARE_AND_SWAP_8
17569 #error no
17570 #endif
17572 main ()
17576 return 0;
17578 _ACEOF
17579 if ac_fn_c_try_compile "$LINENO"; then :
17581 else
17582 wine_cv_64bit_compare_swap="unknown"
17584 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17585 CFLAGS=$saved_CFLAGS
17588 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17590 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_64bit_compare_swap" >&5
17591 $as_echo "$wine_cv_64bit_compare_swap" >&6; }
17592 case "$wine_cv_64bit_compare_swap" in
17593 unknown) as_fn_error $? "gcc doesn't support 64-bit compare-and-swap on this platform" "$LINENO" 5 ;;
17594 "none needed") ;;
17595 *) EXTRACFLAGS="$EXTRACFLAGS $wine_cv_64bit_compare_swap" ;;
17596 esac
17598 for ac_flag in $CFLAGS; do
17599 case $ac_flag in
17600 -g) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gdwarf-2" >&5
17601 $as_echo_n "checking whether the compiler supports -gdwarf-2... " >&6; }
17602 if ${ac_cv_cflags__gdwarf_2+:} false; then :
17603 $as_echo_n "(cached) " >&6
17604 else
17605 ac_wine_try_cflags_saved=$CFLAGS
17606 CFLAGS="$CFLAGS -gdwarf-2"
17607 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17608 /* end confdefs.h. */
17609 int main(int argc, char **argv) { return 0; }
17610 _ACEOF
17611 if ac_fn_c_try_link "$LINENO"; then :
17612 ac_cv_cflags__gdwarf_2=yes
17613 else
17614 ac_cv_cflags__gdwarf_2=no
17616 rm -f core conftest.err conftest.$ac_objext \
17617 conftest$ac_exeext conftest.$ac_ext
17618 CFLAGS=$ac_wine_try_cflags_saved
17620 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gdwarf_2" >&5
17621 $as_echo "$ac_cv_cflags__gdwarf_2" >&6; }
17622 if test "x$ac_cv_cflags__gdwarf_2" = xyes; then :
17623 EXTRACFLAGS="$EXTRACFLAGS -gdwarf-2"
17625 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gstrict-dwarf" >&5
17626 $as_echo_n "checking whether the compiler supports -gstrict-dwarf... " >&6; }
17627 if ${ac_cv_cflags__gstrict_dwarf+:} false; then :
17628 $as_echo_n "(cached) " >&6
17629 else
17630 ac_wine_try_cflags_saved=$CFLAGS
17631 CFLAGS="$CFLAGS -gstrict-dwarf"
17632 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17633 /* end confdefs.h. */
17634 int main(int argc, char **argv) { return 0; }
17635 _ACEOF
17636 if ac_fn_c_try_link "$LINENO"; then :
17637 ac_cv_cflags__gstrict_dwarf=yes
17638 else
17639 ac_cv_cflags__gstrict_dwarf=no
17641 rm -f core conftest.err conftest.$ac_objext \
17642 conftest$ac_exeext conftest.$ac_ext
17643 CFLAGS=$ac_wine_try_cflags_saved
17645 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gstrict_dwarf" >&5
17646 $as_echo "$ac_cv_cflags__gstrict_dwarf" >&6; }
17647 if test "x$ac_cv_cflags__gstrict_dwarf" = xyes; then :
17648 EXTRACFLAGS="$EXTRACFLAGS -gstrict-dwarf"
17649 fi ;;
17650 esac
17651 done
17653 MSVCRTFLAGS=""
17655 case $host_os in
17656 mingw32*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-delayload,autoconftest.dll" >&5
17657 $as_echo_n "checking whether the compiler supports -Wl,-delayload,autoconftest.dll... " >&6; }
17658 if ${ac_cv_cflags__Wl__delayload_autoconftest_dll+:} false; then :
17659 $as_echo_n "(cached) " >&6
17660 else
17661 ac_wine_try_cflags_saved=$CFLAGS
17662 CFLAGS="$CFLAGS -Wl,-delayload,autoconftest.dll"
17663 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17664 /* end confdefs.h. */
17665 int main(int argc, char **argv) { return 0; }
17666 _ACEOF
17667 if ac_fn_c_try_link "$LINENO"; then :
17668 ac_cv_cflags__Wl__delayload_autoconftest_dll=yes
17669 else
17670 ac_cv_cflags__Wl__delayload_autoconftest_dll=no
17672 rm -f core conftest.err conftest.$ac_objext \
17673 conftest$ac_exeext conftest.$ac_ext
17674 CFLAGS=$ac_wine_try_cflags_saved
17676 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__delayload_autoconftest_dll" >&5
17677 $as_echo "$ac_cv_cflags__Wl__delayload_autoconftest_dll" >&6; }
17678 if test "x$ac_cv_cflags__Wl__delayload_autoconftest_dll" = xyes; then :
17679 DELAYLOADFLAG="-Wl,-delayload,"
17681 fi ;;
17682 *) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-builtin" >&5
17683 $as_echo_n "checking whether the compiler supports -fno-builtin... " >&6; }
17684 if ${ac_cv_cflags__fno_builtin+:} false; then :
17685 $as_echo_n "(cached) " >&6
17686 else
17687 ac_wine_try_cflags_saved=$CFLAGS
17688 CFLAGS="$CFLAGS -fno-builtin"
17689 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17690 /* end confdefs.h. */
17691 int main(int argc, char **argv) { return 0; }
17692 _ACEOF
17693 if ac_fn_c_try_link "$LINENO"; then :
17694 ac_cv_cflags__fno_builtin=yes
17695 else
17696 ac_cv_cflags__fno_builtin=no
17698 rm -f core conftest.err conftest.$ac_objext \
17699 conftest$ac_exeext conftest.$ac_ext
17700 CFLAGS=$ac_wine_try_cflags_saved
17702 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_builtin" >&5
17703 $as_echo "$ac_cv_cflags__fno_builtin" >&6; }
17704 if test "x$ac_cv_cflags__fno_builtin" = xyes; then :
17705 MSVCRTFLAGS="$MSVCRTFLAGS -fno-builtin"
17707 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fshort-wchar" >&5
17708 $as_echo_n "checking whether the compiler supports -fshort-wchar... " >&6; }
17709 if ${ac_cv_cflags__fshort_wchar+:} false; then :
17710 $as_echo_n "(cached) " >&6
17711 else
17712 ac_wine_try_cflags_saved=$CFLAGS
17713 CFLAGS="$CFLAGS -fshort-wchar"
17714 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17715 /* end confdefs.h. */
17716 int main(int argc, char **argv) { return 0; }
17717 _ACEOF
17718 if ac_fn_c_try_link "$LINENO"; then :
17719 ac_cv_cflags__fshort_wchar=yes
17720 else
17721 ac_cv_cflags__fshort_wchar=no
17723 rm -f core conftest.err conftest.$ac_objext \
17724 conftest$ac_exeext conftest.$ac_ext
17725 CFLAGS=$ac_wine_try_cflags_saved
17727 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fshort_wchar" >&5
17728 $as_echo "$ac_cv_cflags__fshort_wchar" >&6; }
17729 if test "x$ac_cv_cflags__fshort_wchar" = xyes; then :
17730 MSVCRTFLAGS="$MSVCRTFLAGS -fshort-wchar"
17731 fi ;;
17732 esac
17734 case $host_cpu in
17735 *i[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-omit-frame-pointer" >&5
17736 $as_echo_n "checking whether the compiler supports -fno-omit-frame-pointer... " >&6; }
17737 if ${ac_cv_cflags__fno_omit_frame_pointer+:} false; then :
17738 $as_echo_n "(cached) " >&6
17739 else
17740 ac_wine_try_cflags_saved=$CFLAGS
17741 CFLAGS="$CFLAGS -fno-omit-frame-pointer"
17742 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17743 /* end confdefs.h. */
17744 int main(int argc, char **argv) { return 0; }
17745 _ACEOF
17746 if ac_fn_c_try_link "$LINENO"; then :
17747 ac_cv_cflags__fno_omit_frame_pointer=yes
17748 else
17749 ac_cv_cflags__fno_omit_frame_pointer=no
17751 rm -f core conftest.err conftest.$ac_objext \
17752 conftest$ac_exeext conftest.$ac_ext
17753 CFLAGS=$ac_wine_try_cflags_saved
17755 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_omit_frame_pointer" >&5
17756 $as_echo "$ac_cv_cflags__fno_omit_frame_pointer" >&6; }
17757 if test "x$ac_cv_cflags__fno_omit_frame_pointer" = xyes; then :
17758 EXTRACFLAGS="$EXTRACFLAGS -fno-omit-frame-pointer"
17759 fi ;;
17760 *x86_64*)
17761 case $host_os in
17762 cygwin*|mingw32*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wno-format" >&5
17763 $as_echo_n "checking whether the compiler supports -Wno-format... " >&6; }
17764 if ${ac_cv_cflags__Wno_format+:} false; then :
17765 $as_echo_n "(cached) " >&6
17766 else
17767 ac_wine_try_cflags_saved=$CFLAGS
17768 CFLAGS="$CFLAGS -Wno-format"
17769 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17770 /* end confdefs.h. */
17771 int main(int argc, char **argv) { return 0; }
17772 _ACEOF
17773 if ac_fn_c_try_link "$LINENO"; then :
17774 ac_cv_cflags__Wno_format=yes
17775 else
17776 ac_cv_cflags__Wno_format=no
17778 rm -f core conftest.err conftest.$ac_objext \
17779 conftest$ac_exeext conftest.$ac_ext
17780 CFLAGS=$ac_wine_try_cflags_saved
17782 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wno_format" >&5
17783 $as_echo "$ac_cv_cflags__Wno_format" >&6; }
17784 if test "x$ac_cv_cflags__Wno_format" = xyes; then :
17785 EXTRACFLAGS="$EXTRACFLAGS -Wno-format"
17786 fi ;;
17787 *) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -mabi=ms" >&5
17788 $as_echo_n "checking whether the compiler supports -mabi=ms... " >&6; }
17789 if ${ac_cv_cflags__mabi_ms+:} false; then :
17790 $as_echo_n "(cached) " >&6
17791 else
17792 ac_wine_try_cflags_saved=$CFLAGS
17793 CFLAGS="$CFLAGS -mabi=ms"
17794 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17795 /* end confdefs.h. */
17796 int main(int argc, char **argv) { return 0; }
17797 _ACEOF
17798 if ac_fn_c_try_link "$LINENO"; then :
17799 ac_cv_cflags__mabi_ms=yes
17800 else
17801 ac_cv_cflags__mabi_ms=no
17803 rm -f core conftest.err conftest.$ac_objext \
17804 conftest$ac_exeext conftest.$ac_ext
17805 CFLAGS=$ac_wine_try_cflags_saved
17807 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__mabi_ms" >&5
17808 $as_echo "$ac_cv_cflags__mabi_ms" >&6; }
17809 if test "x$ac_cv_cflags__mabi_ms" = xyes; then :
17810 MSVCRTFLAGS="$MSVCRTFLAGS -mabi=ms"
17811 fi ;;
17812 esac ;;
17813 esac
17815 CFLAGS=$saved_CFLAGS
17817 if test "x$enable_werror" = "xyes"
17818 then
17819 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror" >&5
17820 $as_echo_n "checking whether the compiler supports -Werror... " >&6; }
17821 if ${ac_cv_cflags__Werror+:} false; then :
17822 $as_echo_n "(cached) " >&6
17823 else
17824 ac_wine_try_cflags_saved=$CFLAGS
17825 CFLAGS="$CFLAGS -Werror"
17826 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17827 /* end confdefs.h. */
17828 int main(int argc, char **argv) { return 0; }
17829 _ACEOF
17830 if ac_fn_c_try_link "$LINENO"; then :
17831 ac_cv_cflags__Werror=yes
17832 else
17833 ac_cv_cflags__Werror=no
17835 rm -f core conftest.err conftest.$ac_objext \
17836 conftest$ac_exeext conftest.$ac_ext
17837 CFLAGS=$ac_wine_try_cflags_saved
17839 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror" >&5
17840 $as_echo "$ac_cv_cflags__Werror" >&6; }
17841 if test "x$ac_cv_cflags__Werror" = xyes; then :
17842 EXTRACFLAGS="$EXTRACFLAGS -Werror"
17845 if test "x$enable_build_id" = "xyes"
17846 then
17847 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--build-id" >&5
17848 $as_echo_n "checking whether the compiler supports -Wl,--build-id... " >&6; }
17849 if ${ac_cv_cflags__Wl___build_id+:} false; then :
17850 $as_echo_n "(cached) " >&6
17851 else
17852 ac_wine_try_cflags_saved=$CFLAGS
17853 CFLAGS="$CFLAGS -Wl,--build-id"
17854 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17855 /* end confdefs.h. */
17856 int main(int argc, char **argv) { return 0; }
17857 _ACEOF
17858 if ac_fn_c_try_link "$LINENO"; then :
17859 ac_cv_cflags__Wl___build_id=yes
17860 else
17861 ac_cv_cflags__Wl___build_id=no
17863 rm -f core conftest.err conftest.$ac_objext \
17864 conftest$ac_exeext conftest.$ac_ext
17865 CFLAGS=$ac_wine_try_cflags_saved
17867 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___build_id" >&5
17868 $as_echo "$ac_cv_cflags__Wl___build_id" >&6; }
17869 if test "x$ac_cv_cflags__Wl___build_id" = xyes; then :
17870 CFLAGS="$CFLAGS -Wl,--build-id"
17871 LDFLAGS="$LDFLAGS -Wl,--build-id"
17877 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the need to disable Fortify" >&5
17878 $as_echo_n "checking for the need to disable Fortify... " >&6; }
17879 if ${ac_cv_c_fortify_enabled+:} false; then :
17880 $as_echo_n "(cached) " >&6
17881 else
17882 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17883 /* end confdefs.h. */
17884 #include <string.h>
17886 main ()
17888 #if (defined(__USE_FORTIFY_LEVEL) && __USE_FORTIFY_LEVEL > 0) || (defined(_FORTIFY_SOURCE) && _FORTIFY_SOURCE > 0)
17889 #error Fortify enabled
17890 #endif
17892 return 0;
17894 _ACEOF
17895 if ac_fn_c_try_compile "$LINENO"; then :
17896 ac_cv_c_fortify_enabled=no
17897 else
17898 ac_cv_c_fortify_enabled=yes
17900 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17902 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_fortify_enabled" >&5
17903 $as_echo "$ac_cv_c_fortify_enabled" >&6; }
17904 if test "$ac_cv_c_fortify_enabled" = yes
17905 then
17906 CFLAGS="$CFLAGS -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=0"
17910 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether CFI directives are supported in assembly code" >&5
17911 $as_echo_n "checking whether CFI directives are supported in assembly code... " >&6; }
17912 if ${ac_cv_c_cfi_support+:} false; then :
17913 $as_echo_n "(cached) " >&6
17914 else
17915 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17916 /* end confdefs.h. */
17917 asm(".text\nac_test:\t.cfi_startproc\n\t.long 0\n\t.cfi_endproc");
17919 main ()
17923 return 0;
17925 _ACEOF
17926 if ac_fn_c_try_compile "$LINENO"; then :
17927 ac_cv_c_cfi_support="yes"
17928 else
17929 ac_cv_c_cfi_support="no"
17931 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17933 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_cfi_support" >&5
17934 $as_echo "$ac_cv_c_cfi_support" >&6; }
17935 if test "$ac_cv_c_cfi_support" = "yes"
17936 then
17937 DLLFLAGS="$DLLFLAGS -fasynchronous-unwind-tables"
17938 LDDLLFLAGS="$LDDLLFLAGS -fasynchronous-unwind-tables"
17939 else
17940 if test "x$enable_win64" = "xyes"
17941 then
17942 as_fn_append wine_warnings "|building 64-bit Wine without support for CFI directives; exception handling will not work properly."
17947 case $build_os in
17948 cygwin*|mingw32*) TOOLSEXT=".exe"
17950 esac
17952 case $host_os in
17953 linux*)
17954 case $host_cpu in
17955 *i[3456789]86*|x86_64*|*aarch64*)
17956 test "$wine_binary" = wine || wine_fn_append_file CONFIGURE_TARGETS "loader/wine-preloader"
17957 WINELOADER_PROGRAMS="$WINELOADER_PROGRAMS $wine_binary-preloader"
17959 esac
17961 esac
17964 ac_save_CFLAGS="$CFLAGS"
17965 CFLAGS="$CFLAGS $BUILTINFLAG"
17966 for ac_func in \
17967 __res_get_state \
17968 __res_getservers \
17969 _spawnvp \
17970 epoll_create \
17971 fnmatch \
17972 fork \
17973 fstatfs \
17974 futimens \
17975 futimes \
17976 futimesat \
17977 getattrlist \
17978 getauxval \
17979 getifaddrs \
17980 getopt_long_only \
17981 getrandom \
17982 kqueue \
17983 lstat \
17984 mach_continuous_time \
17985 pipe2 \
17986 poll \
17987 port_create \
17988 prctl \
17989 pread \
17990 proc_pidinfo \
17991 pwrite \
17992 readlink \
17993 sched_yield \
17994 setproctitle \
17995 setprogname \
17996 sigprocmask \
17997 symlink \
17998 tcdrain \
17999 thr_kill2
18001 do :
18002 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
18003 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
18004 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
18005 cat >>confdefs.h <<_ACEOF
18006 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
18007 _ACEOF
18010 done
18012 CFLAGS="$ac_save_CFLAGS"
18014 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing dlopen" >&5
18015 $as_echo_n "checking for library containing dlopen... " >&6; }
18016 if ${ac_cv_search_dlopen+:} false; then :
18017 $as_echo_n "(cached) " >&6
18018 else
18019 ac_func_search_save_LIBS=$LIBS
18020 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18021 /* end confdefs.h. */
18023 /* Override any GCC internal prototype to avoid an error.
18024 Use char because int might match the return type of a GCC
18025 builtin and then its argument prototype would still apply. */
18026 #ifdef __cplusplus
18027 extern "C"
18028 #endif
18029 char dlopen ();
18031 main ()
18033 return dlopen ();
18035 return 0;
18037 _ACEOF
18038 for ac_lib in '' dl; do
18039 if test -z "$ac_lib"; then
18040 ac_res="none required"
18041 else
18042 ac_res=-l$ac_lib
18043 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
18045 if ac_fn_c_try_link "$LINENO"; then :
18046 ac_cv_search_dlopen=$ac_res
18048 rm -f core conftest.err conftest.$ac_objext \
18049 conftest$ac_exeext
18050 if ${ac_cv_search_dlopen+:} false; then :
18051 break
18053 done
18054 if ${ac_cv_search_dlopen+:} false; then :
18056 else
18057 ac_cv_search_dlopen=no
18059 rm conftest.$ac_ext
18060 LIBS=$ac_func_search_save_LIBS
18062 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_dlopen" >&5
18063 $as_echo "$ac_cv_search_dlopen" >&6; }
18064 ac_res=$ac_cv_search_dlopen
18065 if test "$ac_res" != no; then :
18066 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
18070 ac_wine_check_funcs_save_LIBS="$LIBS"
18071 LIBS="$LIBS $DL_LIBS"
18072 for ac_func in dladdr dlinfo
18073 do :
18074 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
18075 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
18076 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
18077 cat >>confdefs.h <<_ACEOF
18078 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
18079 _ACEOF
18082 done
18084 LIBS="$ac_wine_check_funcs_save_LIBS"
18086 if test "$ac_cv_func_poll" = no
18087 then
18088 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for poll in -lpoll" >&5
18089 $as_echo_n "checking for poll in -lpoll... " >&6; }
18090 if ${ac_cv_lib_poll_poll+:} false; then :
18091 $as_echo_n "(cached) " >&6
18092 else
18093 ac_check_lib_save_LIBS=$LIBS
18094 LIBS="-lpoll $LIBS"
18095 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18096 /* end confdefs.h. */
18098 /* Override any GCC internal prototype to avoid an error.
18099 Use char because int might match the return type of a GCC
18100 builtin and then its argument prototype would still apply. */
18101 #ifdef __cplusplus
18102 extern "C"
18103 #endif
18104 char poll ();
18106 main ()
18108 return poll ();
18110 return 0;
18112 _ACEOF
18113 if ac_fn_c_try_link "$LINENO"; then :
18114 ac_cv_lib_poll_poll=yes
18115 else
18116 ac_cv_lib_poll_poll=no
18118 rm -f core conftest.err conftest.$ac_objext \
18119 conftest$ac_exeext conftest.$ac_ext
18120 LIBS=$ac_check_lib_save_LIBS
18122 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_poll_poll" >&5
18123 $as_echo "$ac_cv_lib_poll_poll" >&6; }
18124 if test "x$ac_cv_lib_poll_poll" = xyes; then :
18125 $as_echo "#define HAVE_POLL 1" >>confdefs.h
18126 POLL_LIBS="-lpoll"
18132 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing gethostbyname" >&5
18133 $as_echo_n "checking for library containing gethostbyname... " >&6; }
18134 if ${ac_cv_search_gethostbyname+:} false; then :
18135 $as_echo_n "(cached) " >&6
18136 else
18137 ac_func_search_save_LIBS=$LIBS
18138 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18139 /* end confdefs.h. */
18141 /* Override any GCC internal prototype to avoid an error.
18142 Use char because int might match the return type of a GCC
18143 builtin and then its argument prototype would still apply. */
18144 #ifdef __cplusplus
18145 extern "C"
18146 #endif
18147 char gethostbyname ();
18149 main ()
18151 return gethostbyname ();
18153 return 0;
18155 _ACEOF
18156 for ac_lib in '' nsl; do
18157 if test -z "$ac_lib"; then
18158 ac_res="none required"
18159 else
18160 ac_res=-l$ac_lib
18161 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
18163 if ac_fn_c_try_link "$LINENO"; then :
18164 ac_cv_search_gethostbyname=$ac_res
18166 rm -f core conftest.err conftest.$ac_objext \
18167 conftest$ac_exeext
18168 if ${ac_cv_search_gethostbyname+:} false; then :
18169 break
18171 done
18172 if ${ac_cv_search_gethostbyname+:} false; then :
18174 else
18175 ac_cv_search_gethostbyname=no
18177 rm conftest.$ac_ext
18178 LIBS=$ac_func_search_save_LIBS
18180 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gethostbyname" >&5
18181 $as_echo "$ac_cv_search_gethostbyname" >&6; }
18182 ac_res=$ac_cv_search_gethostbyname
18183 if test "$ac_res" != no; then :
18184 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
18189 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing connect" >&5
18190 $as_echo_n "checking for library containing connect... " >&6; }
18191 if ${ac_cv_search_connect+:} false; then :
18192 $as_echo_n "(cached) " >&6
18193 else
18194 ac_func_search_save_LIBS=$LIBS
18195 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18196 /* end confdefs.h. */
18198 /* Override any GCC internal prototype to avoid an error.
18199 Use char because int might match the return type of a GCC
18200 builtin and then its argument prototype would still apply. */
18201 #ifdef __cplusplus
18202 extern "C"
18203 #endif
18204 char connect ();
18206 main ()
18208 return connect ();
18210 return 0;
18212 _ACEOF
18213 for ac_lib in '' socket; do
18214 if test -z "$ac_lib"; then
18215 ac_res="none required"
18216 else
18217 ac_res=-l$ac_lib
18218 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
18220 if ac_fn_c_try_link "$LINENO"; then :
18221 ac_cv_search_connect=$ac_res
18223 rm -f core conftest.err conftest.$ac_objext \
18224 conftest$ac_exeext
18225 if ${ac_cv_search_connect+:} false; then :
18226 break
18228 done
18229 if ${ac_cv_search_connect+:} false; then :
18231 else
18232 ac_cv_search_connect=no
18234 rm conftest.$ac_ext
18235 LIBS=$ac_func_search_save_LIBS
18237 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_connect" >&5
18238 $as_echo "$ac_cv_search_connect" >&6; }
18239 ac_res=$ac_cv_search_connect
18240 if test "$ac_res" != no; then :
18241 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
18246 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing inet_aton" >&5
18247 $as_echo_n "checking for library containing inet_aton... " >&6; }
18248 if ${ac_cv_search_inet_aton+:} false; then :
18249 $as_echo_n "(cached) " >&6
18250 else
18251 ac_func_search_save_LIBS=$LIBS
18252 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18253 /* end confdefs.h. */
18255 /* Override any GCC internal prototype to avoid an error.
18256 Use char because int might match the return type of a GCC
18257 builtin and then its argument prototype would still apply. */
18258 #ifdef __cplusplus
18259 extern "C"
18260 #endif
18261 char inet_aton ();
18263 main ()
18265 return inet_aton ();
18267 return 0;
18269 _ACEOF
18270 for ac_lib in '' resolv; do
18271 if test -z "$ac_lib"; then
18272 ac_res="none required"
18273 else
18274 ac_res=-l$ac_lib
18275 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
18277 if ac_fn_c_try_link "$LINENO"; then :
18278 ac_cv_search_inet_aton=$ac_res
18280 rm -f core conftest.err conftest.$ac_objext \
18281 conftest$ac_exeext
18282 if ${ac_cv_search_inet_aton+:} false; then :
18283 break
18285 done
18286 if ${ac_cv_search_inet_aton+:} false; then :
18288 else
18289 ac_cv_search_inet_aton=no
18291 rm conftest.$ac_ext
18292 LIBS=$ac_func_search_save_LIBS
18294 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_inet_aton" >&5
18295 $as_echo "$ac_cv_search_inet_aton" >&6; }
18296 ac_res=$ac_cv_search_inet_aton
18297 if test "$ac_res" != no; then :
18298 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
18303 for ac_func in \
18304 getaddrinfo \
18305 getnameinfo \
18306 getservbyport \
18308 do :
18309 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
18310 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
18311 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
18312 cat >>confdefs.h <<_ACEOF
18313 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
18314 _ACEOF
18317 done
18320 case $host_os in
18321 darwin*|macosx*) ;;
18322 *) ac_save_LIBS=$LIBS
18323 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
18324 $as_echo_n "checking for library containing clock_gettime... " >&6; }
18325 if ${ac_cv_search_clock_gettime+:} false; then :
18326 $as_echo_n "(cached) " >&6
18327 else
18328 ac_func_search_save_LIBS=$LIBS
18329 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18330 /* end confdefs.h. */
18332 /* Override any GCC internal prototype to avoid an error.
18333 Use char because int might match the return type of a GCC
18334 builtin and then its argument prototype would still apply. */
18335 #ifdef __cplusplus
18336 extern "C"
18337 #endif
18338 char clock_gettime ();
18340 main ()
18342 return clock_gettime ();
18344 return 0;
18346 _ACEOF
18347 for ac_lib in '' rt; do
18348 if test -z "$ac_lib"; then
18349 ac_res="none required"
18350 else
18351 ac_res=-l$ac_lib
18352 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
18354 if ac_fn_c_try_link "$LINENO"; then :
18355 ac_cv_search_clock_gettime=$ac_res
18357 rm -f core conftest.err conftest.$ac_objext \
18358 conftest$ac_exeext
18359 if ${ac_cv_search_clock_gettime+:} false; then :
18360 break
18362 done
18363 if ${ac_cv_search_clock_gettime+:} false; then :
18365 else
18366 ac_cv_search_clock_gettime=no
18368 rm conftest.$ac_ext
18369 LIBS=$ac_func_search_save_LIBS
18371 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
18372 $as_echo "$ac_cv_search_clock_gettime" >&6; }
18373 ac_res=$ac_cv_search_clock_gettime
18374 if test "$ac_res" != no; then :
18375 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
18377 $as_echo "#define HAVE_CLOCK_GETTIME 1" >>confdefs.h
18379 test "$ac_res" = "none required" || RT_LIBS="$ac_res"
18383 LIBS=$ac_save_LIBS
18385 esac
18387 if test "x$with_ldap" != "xno"
18388 then
18389 if ${LDAP_CFLAGS:+false} :; then :
18390 if ${PKG_CONFIG+:} false; then :
18391 LDAP_CFLAGS=`$PKG_CONFIG --cflags openldap 2>/dev/null`
18395 if ${LDAP_LIBS:+false} :; then :
18396 if ${PKG_CONFIG+:} false; then :
18397 LDAP_LIBS=`$PKG_CONFIG --libs openldap 2>/dev/null`
18401 LDAP_LIBS=${LDAP_LIBS:-"-lldap_r -llber"}
18402 $as_echo "$as_me:${as_lineno-$LINENO}: openldap cflags: $LDAP_CFLAGS" >&5
18403 $as_echo "$as_me:${as_lineno-$LINENO}: openldap libs: $LDAP_LIBS" >&5
18404 ac_save_CPPFLAGS=$CPPFLAGS
18405 CPPFLAGS="$CPPFLAGS $LDAP_CFLAGS"
18406 for ac_header in ldap.h lber.h
18407 do :
18408 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
18409 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
18410 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
18411 cat >>confdefs.h <<_ACEOF
18412 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
18413 _ACEOF
18417 done
18419 if test "$ac_cv_header_ldap_h" = "yes" -a "$ac_cv_header_lber_h" = "yes"
18420 then
18421 ac_fn_c_check_type "$LINENO" "LDAPSortKey" "ac_cv_type_LDAPSortKey" "#include <ldap.h>
18423 if test "x$ac_cv_type_LDAPSortKey" = xyes; then :
18424 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldap_initialize in -lldap_r" >&5
18425 $as_echo_n "checking for ldap_initialize in -lldap_r... " >&6; }
18426 if ${ac_cv_lib_ldap_r_ldap_initialize+:} false; then :
18427 $as_echo_n "(cached) " >&6
18428 else
18429 ac_check_lib_save_LIBS=$LIBS
18430 LIBS="-lldap_r $PTHREAD_LIBS $LDAP_LIBS $LIBS"
18431 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18432 /* end confdefs.h. */
18434 /* Override any GCC internal prototype to avoid an error.
18435 Use char because int might match the return type of a GCC
18436 builtin and then its argument prototype would still apply. */
18437 #ifdef __cplusplus
18438 extern "C"
18439 #endif
18440 char ldap_initialize ();
18442 main ()
18444 return ldap_initialize ();
18446 return 0;
18448 _ACEOF
18449 if ac_fn_c_try_link "$LINENO"; then :
18450 ac_cv_lib_ldap_r_ldap_initialize=yes
18451 else
18452 ac_cv_lib_ldap_r_ldap_initialize=no
18454 rm -f core conftest.err conftest.$ac_objext \
18455 conftest$ac_exeext conftest.$ac_ext
18456 LIBS=$ac_check_lib_save_LIBS
18458 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ldap_r_ldap_initialize" >&5
18459 $as_echo "$ac_cv_lib_ldap_r_ldap_initialize" >&6; }
18460 if test "x$ac_cv_lib_ldap_r_ldap_initialize" = xyes; then :
18461 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ber_init in -llber" >&5
18462 $as_echo_n "checking for ber_init in -llber... " >&6; }
18463 if ${ac_cv_lib_lber_ber_init+:} false; then :
18464 $as_echo_n "(cached) " >&6
18465 else
18466 ac_check_lib_save_LIBS=$LIBS
18467 LIBS="-llber $PTHREAD_LIBS $LDAP_LIBS $LIBS"
18468 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18469 /* end confdefs.h. */
18471 /* Override any GCC internal prototype to avoid an error.
18472 Use char because int might match the return type of a GCC
18473 builtin and then its argument prototype would still apply. */
18474 #ifdef __cplusplus
18475 extern "C"
18476 #endif
18477 char ber_init ();
18479 main ()
18481 return ber_init ();
18483 return 0;
18485 _ACEOF
18486 if ac_fn_c_try_link "$LINENO"; then :
18487 ac_cv_lib_lber_ber_init=yes
18488 else
18489 ac_cv_lib_lber_ber_init=no
18491 rm -f core conftest.err conftest.$ac_objext \
18492 conftest$ac_exeext conftest.$ac_ext
18493 LIBS=$ac_check_lib_save_LIBS
18495 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lber_ber_init" >&5
18496 $as_echo "$ac_cv_lib_lber_ber_init" >&6; }
18497 if test "x$ac_cv_lib_lber_ber_init" = xyes; then :
18499 $as_echo "#define HAVE_LDAP 1" >>confdefs.h
18501 else
18502 LDAP_LIBS=""
18505 else
18506 LDAP_LIBS=""
18509 else
18510 LDAP_LIBS=""
18513 ac_wine_check_funcs_save_LIBS="$LIBS"
18514 LIBS="$LIBS $LDAP_LIBS $PTHREAD_LIBS"
18515 for ac_func in \
18516 ldap_count_references \
18517 ldap_first_reference \
18518 ldap_next_reference \
18519 ldap_parse_reference \
18520 ldap_parse_sort_control \
18521 ldap_parse_sortresponse_control \
18522 ldap_parse_vlv_control \
18523 ldap_parse_vlvresponse_control
18524 do :
18525 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
18526 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
18527 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
18528 cat >>confdefs.h <<_ACEOF
18529 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
18530 _ACEOF
18533 done
18535 LIBS="$ac_wine_check_funcs_save_LIBS"
18536 else
18537 LDAP_LIBS=""
18539 CPPFLAGS=$ac_save_CPPFLAGS
18542 if test "x$LDAP_LIBS" = "x"; then :
18543 case "x$with_ldap" in
18544 x) as_fn_append wine_notices "|libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported." ;;
18545 xno) ;;
18546 *) as_fn_error $? "libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported.
18547 This is an error since --with-ldap was requested." "$LINENO" 5 ;;
18548 esac
18552 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sched_setaffinity" >&5
18553 $as_echo_n "checking for sched_setaffinity... " >&6; }
18554 if ${wine_cv_have_sched_setaffinity+:} false; then :
18555 $as_echo_n "(cached) " >&6
18556 else
18557 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18558 /* end confdefs.h. */
18559 #define _GNU_SOURCE
18560 #include <sched.h>
18562 main ()
18564 sched_setaffinity(0, 0, 0);
18566 return 0;
18568 _ACEOF
18569 if ac_fn_c_try_link "$LINENO"; then :
18570 wine_cv_have_sched_setaffinity=yes
18571 else
18572 wine_cv_have_sched_setaffinity=no
18574 rm -f core conftest.err conftest.$ac_objext \
18575 conftest$ac_exeext conftest.$ac_ext
18577 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sched_setaffinity" >&5
18578 $as_echo "$wine_cv_have_sched_setaffinity" >&6; }
18579 if test "$wine_cv_have_sched_setaffinity" = "yes"
18580 then
18582 $as_echo "#define HAVE_SCHED_SETAFFINITY 1" >>confdefs.h
18586 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fallocate" >&5
18587 $as_echo_n "checking for fallocate... " >&6; }
18588 if ${wine_cv_have_fallocate+:} false; then :
18589 $as_echo_n "(cached) " >&6
18590 else
18591 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18592 /* end confdefs.h. */
18593 #define _GNU_SOURCE
18594 #include <fcntl.h>
18596 main ()
18598 fallocate(-1, 0, 0, 0);
18600 return 0;
18602 _ACEOF
18603 if ac_fn_c_try_link "$LINENO"; then :
18604 wine_cv_have_fallocate=yes
18605 else
18606 wine_cv_have_fallocate=no
18608 rm -f core conftest.err conftest.$ac_objext \
18609 conftest$ac_exeext conftest.$ac_ext
18611 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_fallocate" >&5
18612 $as_echo "$wine_cv_have_fallocate" >&6; }
18613 if test "$wine_cv_have_fallocate" = "yes"
18614 then
18616 $as_echo "#define HAVE_FALLOCATE 1" >>confdefs.h
18621 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
18622 $as_echo_n "checking for inline... " >&6; }
18623 if ${ac_cv_c_inline+:} false; then :
18624 $as_echo_n "(cached) " >&6
18625 else
18626 ac_cv_c_inline=no
18627 for ac_kw in inline __inline__ __inline; do
18628 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18629 /* end confdefs.h. */
18630 #ifndef __cplusplus
18631 typedef int foo_t;
18632 static $ac_kw foo_t static_foo () {return 0; }
18633 $ac_kw foo_t foo () {return 0; }
18634 #endif
18636 _ACEOF
18637 if ac_fn_c_try_compile "$LINENO"; then :
18638 ac_cv_c_inline=$ac_kw
18640 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18641 test "$ac_cv_c_inline" != no && break
18642 done
18645 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
18646 $as_echo "$ac_cv_c_inline" >&6; }
18648 case $ac_cv_c_inline in
18649 inline | yes) ;;
18651 case $ac_cv_c_inline in
18652 no) ac_val=;;
18653 *) ac_val=$ac_cv_c_inline;;
18654 esac
18655 cat >>confdefs.h <<_ACEOF
18656 #ifndef __cplusplus
18657 #define inline $ac_val
18658 #endif
18659 _ACEOF
18661 esac
18663 ac_fn_c_check_type "$LINENO" "sigset_t" "ac_cv_type_sigset_t" "#include <sys/types.h>
18664 #include <signal.h>
18666 if test "x$ac_cv_type_sigset_t" = xyes; then :
18668 cat >>confdefs.h <<_ACEOF
18669 #define HAVE_SIGSET_T 1
18670 _ACEOF
18675 ac_fn_c_check_type "$LINENO" "request_sense" "ac_cv_type_request_sense" "#include <linux/cdrom.h>
18677 if test "x$ac_cv_type_request_sense" = xyes; then :
18679 cat >>confdefs.h <<_ACEOF
18680 #define HAVE_REQUEST_SENSE 1
18681 _ACEOF
18687 ac_fn_c_check_type "$LINENO" "struct xinpgen" "ac_cv_type_struct_xinpgen" "#include <sys/types.h>
18688 #ifdef HAVE_SYS_SOCKET_H
18689 #include <sys/socket.h>
18690 #endif
18691 #ifdef HAVE_SYS_SOCKETVAR_H
18692 #include <sys/socketvar.h>
18693 #endif
18694 #ifdef HAVE_NET_ROUTE_H
18695 #include <net/route.h>
18696 #endif
18697 #ifdef HAVE_NETINET_IN_H
18698 #include <netinet/in.h>
18699 #endif
18700 #ifdef HAVE_NETINET_IN_SYSTM_H
18701 #include <netinet/in_systm.h>
18702 #endif
18703 #ifdef HAVE_NETINET_IP_H
18704 #include <netinet/ip.h>
18705 #endif
18706 #ifdef HAVE_NETINET_IN_PCB_H
18707 #include <netinet/in_pcb.h>
18708 #endif
18710 if test "x$ac_cv_type_struct_xinpgen" = xyes; then :
18712 cat >>confdefs.h <<_ACEOF
18713 #define HAVE_STRUCT_XINPGEN 1
18714 _ACEOF
18720 ac_fn_c_check_member "$LINENO" "struct ff_effect" "direction" "ac_cv_member_struct_ff_effect_direction" "#ifdef HAVE_LINUX_INPUT_H
18721 #include <linux/input.h>
18722 #endif
18724 if test "x$ac_cv_member_struct_ff_effect_direction" = xyes; then :
18726 cat >>confdefs.h <<_ACEOF
18727 #define HAVE_STRUCT_FF_EFFECT_DIRECTION 1
18728 _ACEOF
18734 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for if_nameindex" >&5
18735 $as_echo_n "checking for if_nameindex... " >&6; }
18736 if ${wine_cv_have_if_nameindex+:} false; then :
18737 $as_echo_n "(cached) " >&6
18738 else
18739 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18740 /* end confdefs.h. */
18741 #ifdef HAVE_SYS_TYPES_H
18742 #include <sys/types.h>
18743 #endif
18744 #ifdef HAVE_SYS_SOCKET_H
18745 #include <sys/socket.h>
18746 #endif
18747 #ifdef HAVE_NET_IF_H
18748 # include <net/if.h>
18749 #endif
18751 main ()
18753 struct if_nameindex *p = if_nameindex(); return p->if_index;
18755 return 0;
18757 _ACEOF
18758 if ac_fn_c_try_link "$LINENO"; then :
18759 wine_cv_have_if_nameindex=yes
18760 else
18761 wine_cv_have_if_nameindex=no
18763 rm -f core conftest.err conftest.$ac_objext \
18764 conftest$ac_exeext conftest.$ac_ext
18766 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_if_nameindex" >&5
18767 $as_echo "$wine_cv_have_if_nameindex" >&6; }
18768 if test "$wine_cv_have_if_nameindex" = "yes"
18769 then
18771 $as_echo "#define HAVE_IF_NAMEINDEX 1" >>confdefs.h
18775 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sigaddset" >&5
18776 $as_echo_n "checking for sigaddset... " >&6; }
18777 if ${wine_cv_have_sigaddset+:} false; then :
18778 $as_echo_n "(cached) " >&6
18779 else
18780 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18781 /* end confdefs.h. */
18782 #include <signal.h>
18784 main ()
18786 sigset_t set; sigaddset(&set,SIGTERM);
18788 return 0;
18790 _ACEOF
18791 if ac_fn_c_try_link "$LINENO"; then :
18792 wine_cv_have_sigaddset=yes
18793 else
18794 wine_cv_have_sigaddset=no
18796 rm -f core conftest.err conftest.$ac_objext \
18797 conftest$ac_exeext conftest.$ac_ext
18799 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sigaddset" >&5
18800 $as_echo "$wine_cv_have_sigaddset" >&6; }
18801 if test "$wine_cv_have_sigaddset" = "yes"
18802 then
18804 $as_echo "#define HAVE_SIGADDSET 1" >>confdefs.h
18809 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can use re-entrant gethostbyname_r Linux style" >&5
18810 $as_echo_n "checking whether we can use re-entrant gethostbyname_r Linux style... " >&6; }
18811 if ${wine_cv_linux_gethostbyname_r_6+:} false; then :
18812 $as_echo_n "(cached) " >&6
18813 else
18814 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18815 /* end confdefs.h. */
18816 #include <netdb.h>
18818 main ()
18821 char *name=0;
18822 struct hostent he;
18823 struct hostent *result;
18824 char *buf=0;
18825 int bufsize=0;
18826 int errnr;
18827 char *addr=0;
18828 int addrlen=0;
18829 int addrtype=0;
18830 gethostbyname_r(name,&he,buf,bufsize,&result,&errnr);
18831 gethostbyaddr_r(addr, addrlen, addrtype,&he,buf,bufsize,&result,&errnr);
18834 return 0;
18836 _ACEOF
18837 if ac_fn_c_try_link "$LINENO"; then :
18838 wine_cv_linux_gethostbyname_r_6=yes
18839 else
18840 wine_cv_linux_gethostbyname_r_6=no
18843 rm -f core conftest.err conftest.$ac_objext \
18844 conftest$ac_exeext conftest.$ac_ext
18847 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_gethostbyname_r_6" >&5
18848 $as_echo "$wine_cv_linux_gethostbyname_r_6" >&6; }
18849 if test "$wine_cv_linux_gethostbyname_r_6" = "yes"
18850 then
18852 $as_echo "#define HAVE_LINUX_GETHOSTBYNAME_R_6 1" >>confdefs.h
18856 if test "$ac_cv_header_linux_joystick_h" = "yes"
18857 then
18858 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether linux/joystick.h uses the Linux 2.2+ API" >&5
18859 $as_echo_n "checking whether linux/joystick.h uses the Linux 2.2+ API... " >&6; }
18860 if ${wine_cv_linux_joystick_22_api+:} false; then :
18861 $as_echo_n "(cached) " >&6
18862 else
18863 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18864 /* end confdefs.h. */
18866 #include <sys/ioctl.h>
18867 #include <sys/types.h>
18868 #include <linux/joystick.h>
18870 struct js_event blub;
18871 #if !defined(JS_EVENT_AXIS) || !defined(JS_EVENT_BUTTON)
18872 #error "no 2.2 header"
18873 #endif
18876 main ()
18878 /*empty*/
18880 return 0;
18882 _ACEOF
18883 if ac_fn_c_try_compile "$LINENO"; then :
18884 wine_cv_linux_joystick_22_api=yes
18885 else
18886 wine_cv_linux_joystick_22_api=no
18888 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18891 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_joystick_22_api" >&5
18892 $as_echo "$wine_cv_linux_joystick_22_api" >&6; }
18893 if test "$wine_cv_linux_joystick_22_api" = "yes"
18894 then
18896 $as_echo "#define HAVE_LINUX_22_JOYSTICK_API 1" >>confdefs.h
18901 ac_fn_c_check_member "$LINENO" "struct msghdr" "msg_accrights" "ac_cv_member_struct_msghdr_msg_accrights" "#include <sys/types.h>
18902 #ifdef HAVE_SYS_SOCKET_H
18903 # include <sys/socket.h>
18904 #endif
18905 #ifdef HAVE_SYS_UN_H
18906 # include <sys/un.h>
18907 #endif
18909 if test "x$ac_cv_member_struct_msghdr_msg_accrights" = xyes; then :
18911 cat >>confdefs.h <<_ACEOF
18912 #define HAVE_STRUCT_MSGHDR_MSG_ACCRIGHTS 1
18913 _ACEOF
18917 ac_fn_c_check_member "$LINENO" "struct sockaddr" "sa_len" "ac_cv_member_struct_sockaddr_sa_len" "#include <sys/types.h>
18918 #ifdef HAVE_SYS_SOCKET_H
18919 # include <sys/socket.h>
18920 #endif
18921 #ifdef HAVE_SYS_UN_H
18922 # include <sys/un.h>
18923 #endif
18925 if test "x$ac_cv_member_struct_sockaddr_sa_len" = xyes; then :
18927 cat >>confdefs.h <<_ACEOF
18928 #define HAVE_STRUCT_SOCKADDR_SA_LEN 1
18929 _ACEOF
18933 ac_fn_c_check_member "$LINENO" "struct sockaddr_un" "sun_len" "ac_cv_member_struct_sockaddr_un_sun_len" "#include <sys/types.h>
18934 #ifdef HAVE_SYS_SOCKET_H
18935 # include <sys/socket.h>
18936 #endif
18937 #ifdef HAVE_SYS_UN_H
18938 # include <sys/un.h>
18939 #endif
18941 if test "x$ac_cv_member_struct_sockaddr_un_sun_len" = xyes; then :
18943 cat >>confdefs.h <<_ACEOF
18944 #define HAVE_STRUCT_SOCKADDR_UN_SUN_LEN 1
18945 _ACEOF
18951 ac_fn_c_check_member "$LINENO" "scsireq_t" "cmd" "ac_cv_member_scsireq_t_cmd" "#include <sys/types.h>
18952 #ifdef HAVE_SCSI_SG_H
18953 #include <scsi/sg.h>
18954 #endif
18956 if test "x$ac_cv_member_scsireq_t_cmd" = xyes; then :
18958 cat >>confdefs.h <<_ACEOF
18959 #define HAVE_SCSIREQ_T_CMD 1
18960 _ACEOF
18964 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>
18965 #ifdef HAVE_SCSI_SG_H
18966 #include <scsi/sg.h>
18967 #endif
18969 if test "x$ac_cv_member_sg_io_hdr_t_interface_id" = xyes; then :
18971 cat >>confdefs.h <<_ACEOF
18972 #define HAVE_SG_IO_HDR_T_INTERFACE_ID 1
18973 _ACEOF
18979 ac_fn_c_check_member "$LINENO" "siginfo_t" "si_fd" "ac_cv_member_siginfo_t_si_fd" "#include <signal.h>
18981 if test "x$ac_cv_member_siginfo_t_si_fd" = xyes; then :
18983 cat >>confdefs.h <<_ACEOF
18984 #define HAVE_SIGINFO_T_SI_FD 1
18985 _ACEOF
18991 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_blksiz" "ac_cv_member_struct_mtget_mt_blksiz" "#include <sys/types.h>
18992 #ifdef HAVE_SYS_MTIO_H
18993 #include <sys/mtio.h>
18994 #endif
18996 if test "x$ac_cv_member_struct_mtget_mt_blksiz" = xyes; then :
18998 cat >>confdefs.h <<_ACEOF
18999 #define HAVE_STRUCT_MTGET_MT_BLKSIZ 1
19000 _ACEOF
19004 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_gstat" "ac_cv_member_struct_mtget_mt_gstat" "#include <sys/types.h>
19005 #ifdef HAVE_SYS_MTIO_H
19006 #include <sys/mtio.h>
19007 #endif
19009 if test "x$ac_cv_member_struct_mtget_mt_gstat" = xyes; then :
19011 cat >>confdefs.h <<_ACEOF
19012 #define HAVE_STRUCT_MTGET_MT_GSTAT 1
19013 _ACEOF
19017 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_blkno" "ac_cv_member_struct_mtget_mt_blkno" "#include <sys/types.h>
19018 #ifdef HAVE_SYS_MTIO_H
19019 #include <sys/mtio.h>
19020 #endif
19022 if test "x$ac_cv_member_struct_mtget_mt_blkno" = xyes; then :
19024 cat >>confdefs.h <<_ACEOF
19025 #define HAVE_STRUCT_MTGET_MT_BLKNO 1
19026 _ACEOF
19032 ac_fn_c_check_member "$LINENO" "struct option" "name" "ac_cv_member_struct_option_name" "#ifdef HAVE_GETOPT_H
19033 #include <getopt.h>
19034 #endif
19036 if test "x$ac_cv_member_struct_option_name" = xyes; then :
19038 cat >>confdefs.h <<_ACEOF
19039 #define HAVE_STRUCT_OPTION_NAME 1
19040 _ACEOF
19046 ac_fn_c_check_member "$LINENO" "struct stat" "st_blocks" "ac_cv_member_struct_stat_st_blocks" "$ac_includes_default"
19047 if test "x$ac_cv_member_struct_stat_st_blocks" = xyes; then :
19049 cat >>confdefs.h <<_ACEOF
19050 #define HAVE_STRUCT_STAT_ST_BLOCKS 1
19051 _ACEOF
19055 ac_fn_c_check_member "$LINENO" "struct stat" "st_mtim" "ac_cv_member_struct_stat_st_mtim" "$ac_includes_default"
19056 if test "x$ac_cv_member_struct_stat_st_mtim" = xyes; then :
19058 cat >>confdefs.h <<_ACEOF
19059 #define HAVE_STRUCT_STAT_ST_MTIM 1
19060 _ACEOF
19064 ac_fn_c_check_member "$LINENO" "struct stat" "st_mtimespec" "ac_cv_member_struct_stat_st_mtimespec" "$ac_includes_default"
19065 if test "x$ac_cv_member_struct_stat_st_mtimespec" = xyes; then :
19067 cat >>confdefs.h <<_ACEOF
19068 #define HAVE_STRUCT_STAT_ST_MTIMESPEC 1
19069 _ACEOF
19073 ac_fn_c_check_member "$LINENO" "struct stat" "st_ctim" "ac_cv_member_struct_stat_st_ctim" "$ac_includes_default"
19074 if test "x$ac_cv_member_struct_stat_st_ctim" = xyes; then :
19076 cat >>confdefs.h <<_ACEOF
19077 #define HAVE_STRUCT_STAT_ST_CTIM 1
19078 _ACEOF
19082 ac_fn_c_check_member "$LINENO" "struct stat" "st_ctimespec" "ac_cv_member_struct_stat_st_ctimespec" "$ac_includes_default"
19083 if test "x$ac_cv_member_struct_stat_st_ctimespec" = xyes; then :
19085 cat >>confdefs.h <<_ACEOF
19086 #define HAVE_STRUCT_STAT_ST_CTIMESPEC 1
19087 _ACEOF
19091 ac_fn_c_check_member "$LINENO" "struct stat" "st_atim" "ac_cv_member_struct_stat_st_atim" "$ac_includes_default"
19092 if test "x$ac_cv_member_struct_stat_st_atim" = xyes; then :
19094 cat >>confdefs.h <<_ACEOF
19095 #define HAVE_STRUCT_STAT_ST_ATIM 1
19096 _ACEOF
19100 ac_fn_c_check_member "$LINENO" "struct stat" "st_atimespec" "ac_cv_member_struct_stat_st_atimespec" "$ac_includes_default"
19101 if test "x$ac_cv_member_struct_stat_st_atimespec" = xyes; then :
19103 cat >>confdefs.h <<_ACEOF
19104 #define HAVE_STRUCT_STAT_ST_ATIMESPEC 1
19105 _ACEOF
19109 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtime" "ac_cv_member_struct_stat_st_birthtime" "$ac_includes_default"
19110 if test "x$ac_cv_member_struct_stat_st_birthtime" = xyes; then :
19112 cat >>confdefs.h <<_ACEOF
19113 #define HAVE_STRUCT_STAT_ST_BIRTHTIME 1
19114 _ACEOF
19118 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtim" "ac_cv_member_struct_stat_st_birthtim" "$ac_includes_default"
19119 if test "x$ac_cv_member_struct_stat_st_birthtim" = xyes; then :
19121 cat >>confdefs.h <<_ACEOF
19122 #define HAVE_STRUCT_STAT_ST_BIRTHTIM 1
19123 _ACEOF
19127 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtimespec" "ac_cv_member_struct_stat_st_birthtimespec" "$ac_includes_default"
19128 if test "x$ac_cv_member_struct_stat_st_birthtimespec" = xyes; then :
19130 cat >>confdefs.h <<_ACEOF
19131 #define HAVE_STRUCT_STAT_ST_BIRTHTIMESPEC 1
19132 _ACEOF
19136 ac_fn_c_check_member "$LINENO" "struct stat" "__st_birthtime" "ac_cv_member_struct_stat___st_birthtime" "$ac_includes_default"
19137 if test "x$ac_cv_member_struct_stat___st_birthtime" = xyes; then :
19139 cat >>confdefs.h <<_ACEOF
19140 #define HAVE_STRUCT_STAT___ST_BIRTHTIME 1
19141 _ACEOF
19145 ac_fn_c_check_member "$LINENO" "struct stat" "__st_birthtim" "ac_cv_member_struct_stat___st_birthtim" "$ac_includes_default"
19146 if test "x$ac_cv_member_struct_stat___st_birthtim" = xyes; then :
19148 cat >>confdefs.h <<_ACEOF
19149 #define HAVE_STRUCT_STAT___ST_BIRTHTIM 1
19150 _ACEOF
19156 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
19157 #include <sys/types.h>
19158 #endif
19159 #ifdef HAVE_NETINET_IN_H
19160 #include <netinet/in.h>
19161 #endif
19163 if test "x$ac_cv_member_struct_sockaddr_in6_sin6_scope_id" = xyes; then :
19165 cat >>confdefs.h <<_ACEOF
19166 #define HAVE_STRUCT_SOCKADDR_IN6_SIN6_SCOPE_ID 1
19167 _ACEOF
19173 ac_fn_c_check_type "$LINENO" "struct __res_state" "ac_cv_type_struct___res_state" "#ifdef HAVE_SYS_TYPES_H
19174 #include <sys/types.h>
19175 #endif
19176 #ifdef HAVE_NETINET_IN_H
19177 #include <netinet/in.h>
19178 #endif
19179 #ifdef HAVE_RESOLV_H
19180 #include <resolv.h>
19181 #endif
19183 if test "x$ac_cv_type_struct___res_state" = xyes; then :
19185 cat >>confdefs.h <<_ACEOF
19186 #define HAVE_STRUCT___RES_STATE 1
19187 _ACEOF
19193 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
19194 #include <resolv.h>
19195 #endif
19197 if test "x$ac_cv_member_struct___res_state__u__ext_nscount6" = xyes; then :
19199 cat >>confdefs.h <<_ACEOF
19200 #define HAVE_STRUCT___RES_STATE__U__EXT_NSCOUNT6 1
19201 _ACEOF
19207 ac_fn_c_check_member "$LINENO" "ns_msg" "_msg_ptr" "ac_cv_member_ns_msg__msg_ptr" "#ifdef HAVE_SYS_TYPES_H
19208 #include <sys/types.h>
19209 #endif
19210 #ifdef HAVE_NETINET_IN_H
19211 # include <netinet/in.h>
19212 #endif
19213 #ifdef HAVE_ARPA_NAMESER_H
19214 # include <arpa/nameser.h>
19215 #endif
19217 if test "x$ac_cv_member_ns_msg__msg_ptr" = xyes; then :
19219 cat >>confdefs.h <<_ACEOF
19220 #define HAVE_NS_MSG__MSG_PTR 1
19221 _ACEOF
19227 ac_fn_c_check_member "$LINENO" "struct icmpstat" "icps_inhist" "ac_cv_member_struct_icmpstat_icps_inhist" "#ifdef HAVE_SYS_TYPES_H
19228 #include <sys/types.h>
19229 #endif
19230 #ifdef HAVE_NETINET_IN_H
19231 #include <netinet/in.h>
19232 #endif
19233 #ifdef HAVE_NETINET_IP_H
19234 #include <netinet/ip.h>
19235 #endif
19236 #ifdef HAVE_NETINET_IP_ICMP_H
19237 #include <netinet/ip_icmp.h>
19238 #endif
19239 #ifdef HAVE_NETINET_ICMP_VAR_H
19240 #include <netinet/icmp_var.h>
19241 #endif
19243 if test "x$ac_cv_member_struct_icmpstat_icps_inhist" = xyes; then :
19245 cat >>confdefs.h <<_ACEOF
19246 #define HAVE_STRUCT_ICMPSTAT_ICPS_INHIST 1
19247 _ACEOF
19253 ac_fn_c_check_member "$LINENO" "struct icmpstat" "icps_outhist" "ac_cv_member_struct_icmpstat_icps_outhist" "#ifdef HAVE_SYS_TYPES_H
19254 #include <sys/types.h>
19255 #endif
19256 #ifdef HAVE_ALIAS_H
19257 #include <alias.h>
19258 #endif
19259 #ifdef HAVE_SYS_SOCKET_H
19260 #include <sys/socket.h>
19261 #endif
19262 #ifdef HAVE_SYS_SOCKETVAR_H
19263 #include <sys/socketvar.h>
19264 #endif
19265 #ifdef HAVE_SYS_TIMEOUT_H
19266 #include <sys/timeout.h>
19267 #endif
19268 #ifdef HAVE_NETINET_IN_H
19269 #include <netinet/in.h>
19270 #endif
19271 #ifdef HAVE_NETINET_IN_SYSTM_H
19272 #include <netinet/in_systm.h>
19273 #endif
19274 #ifdef HAVE_NETINET_IP_H
19275 #include <netinet/ip.h>
19276 #endif
19277 #ifdef HAVE_NETINET_IP_VAR_H
19278 #include <netinet/ip_var.h>
19279 #endif
19280 #ifdef HAVE_NETINET_IP_ICMP_H
19281 #include <netinet/ip_icmp.h>
19282 #endif
19283 #ifdef HAVE_NETINET_ICMP_VAR_H
19284 #include <netinet/icmp_var.h>
19285 #endif
19287 if test "x$ac_cv_member_struct_icmpstat_icps_outhist" = xyes; then :
19289 cat >>confdefs.h <<_ACEOF
19290 #define HAVE_STRUCT_ICMPSTAT_ICPS_OUTHIST 1
19291 _ACEOF
19297 ac_fn_c_check_member "$LINENO" "struct ipstat" "ips_total" "ac_cv_member_struct_ipstat_ips_total" "#ifdef HAVE_SYS_TYPES_H
19298 #include <sys/types.h>
19299 #endif
19300 #ifdef HAVE_SYS_SOCKETVAR_H
19301 #include <sys/socketvar.h>
19302 #endif
19303 #ifdef HAVE_NETINET_IN_H
19304 #include <netinet/in.h>
19305 #endif
19306 #ifdef HAVE_NETINET_IP_VAR_H
19307 #include <netinet/ip_var.h>
19308 #endif
19310 if test "x$ac_cv_member_struct_ipstat_ips_total" = xyes; then :
19312 cat >>confdefs.h <<_ACEOF
19313 #define HAVE_STRUCT_IPSTAT_IPS_TOTAL 1
19314 _ACEOF
19320 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
19321 #include <netinet/ip_var.h>
19322 #endif
19324 if test "x$ac_cv_member_struct_ip_stats_ips_total" = xyes; then :
19326 cat >>confdefs.h <<_ACEOF
19327 #define HAVE_STRUCT_IP_STATS_IPS_TOTAL 1
19328 _ACEOF
19334 ac_fn_c_check_member "$LINENO" "struct tcpstat" "tcps_connattempt" "ac_cv_member_struct_tcpstat_tcps_connattempt" "#ifdef HAVE_SYS_TYPES_H
19335 #include <sys/types.h>
19336 #endif
19337 #ifdef HAVE_SYS_SOCKETVAR_H
19338 #include <sys/socketvar.h>
19339 #endif
19340 #ifdef HAVE_NETINET_IN_H
19341 #include <netinet/in.h>
19342 #endif
19343 #ifdef HAVE_NETINET_TCP_H
19344 #include <netinet/tcp.h>
19345 #endif
19346 #ifdef HAVE_NETINET_TCP_VAR_H
19347 #include <netinet/tcp_var.h>
19348 #endif
19350 if test "x$ac_cv_member_struct_tcpstat_tcps_connattempt" = xyes; then :
19352 cat >>confdefs.h <<_ACEOF
19353 #define HAVE_STRUCT_TCPSTAT_TCPS_CONNATTEMPT 1
19354 _ACEOF
19360 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
19361 #include <netinet/tcp_var.h>
19362 #endif
19364 if test "x$ac_cv_member_struct_tcp_stats_tcps_connattempt" = xyes; then :
19366 cat >>confdefs.h <<_ACEOF
19367 #define HAVE_STRUCT_TCP_STATS_TCPS_CONNATTEMPT 1
19368 _ACEOF
19374 ac_fn_c_check_member "$LINENO" "struct udpstat" "udps_ipackets" "ac_cv_member_struct_udpstat_udps_ipackets" "#ifdef HAVE_SYS_TYPES_H
19375 #include <sys/types.h>
19376 #endif
19377 #ifdef HAVE_NETINET_IN_H
19378 #include <netinet/in.h>
19379 #endif
19380 #ifdef HAVE_NETINET_IP_VAR_H
19381 #include <netinet/ip_var.h>
19382 #endif
19383 #ifdef HAVE_NETINET_UDP_H
19384 #include <netinet/udp.h>
19385 #endif
19386 #ifdef HAVE_NETINET_UDP_VAR_H
19387 #include <netinet/udp_var.h>
19388 #endif
19390 if test "x$ac_cv_member_struct_udpstat_udps_ipackets" = xyes; then :
19392 cat >>confdefs.h <<_ACEOF
19393 #define HAVE_STRUCT_UDPSTAT_UDPS_IPACKETS 1
19394 _ACEOF
19400 ac_fn_c_check_member "$LINENO" "struct ifreq" "ifr_hwaddr" "ac_cv_member_struct_ifreq_ifr_hwaddr" "#ifdef HAVE_SYS_TYPES_H
19401 #include <sys/types.h>
19402 #endif
19403 #ifdef HAVE_NET_IF_H
19404 # include <net/if.h>
19405 #endif
19407 if test "x$ac_cv_member_struct_ifreq_ifr_hwaddr" = xyes; then :
19409 cat >>confdefs.h <<_ACEOF
19410 #define HAVE_STRUCT_IFREQ_IFR_HWADDR 1
19411 _ACEOF
19417 ac_fn_c_check_member "$LINENO" "struct sysinfo" "totalram" "ac_cv_member_struct_sysinfo_totalram" "#ifdef HAVE_SYS_SYSINFO_H
19418 # include <sys/sysinfo.h>
19419 #endif
19421 if test "x$ac_cv_member_struct_sysinfo_totalram" = xyes; then :
19423 cat >>confdefs.h <<_ACEOF
19424 #define HAVE_STRUCT_SYSINFO_TOTALRAM 1
19425 _ACEOF
19429 ac_fn_c_check_member "$LINENO" "struct sysinfo" "mem_unit" "ac_cv_member_struct_sysinfo_mem_unit" "#ifdef HAVE_SYS_SYSINFO_H
19430 # include <sys/sysinfo.h>
19431 #endif
19433 if test "x$ac_cv_member_struct_sysinfo_mem_unit" = xyes; then :
19435 cat >>confdefs.h <<_ACEOF
19436 #define HAVE_STRUCT_SYSINFO_MEM_UNIT 1
19437 _ACEOF
19443 ac_save_LIBS="$LIBS"
19444 LIBS="$LIBS -lm"
19445 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isfinite" >&5
19446 $as_echo_n "checking for isfinite... " >&6; }
19447 if ${ac_cv_have_isfinite+:} false; then :
19448 $as_echo_n "(cached) " >&6
19449 else
19450 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19451 /* end confdefs.h. */
19452 #define _GNU_SOURCE
19453 #include <math.h>
19455 main ()
19457 float f = 0.0; return isfinite(f)
19459 return 0;
19461 _ACEOF
19462 if ac_fn_c_try_link "$LINENO"; then :
19463 ac_cv_have_isfinite="yes"
19464 else
19465 ac_cv_have_isfinite="no"
19467 rm -f core conftest.err conftest.$ac_objext \
19468 conftest$ac_exeext conftest.$ac_ext
19470 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isfinite" >&5
19471 $as_echo "$ac_cv_have_isfinite" >&6; }
19472 if test "$ac_cv_have_isfinite" = "yes"
19473 then
19475 $as_echo "#define HAVE_ISFINITE 1" >>confdefs.h
19479 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf" >&5
19480 $as_echo_n "checking for isinf... " >&6; }
19481 if ${ac_cv_have_isinf+:} false; then :
19482 $as_echo_n "(cached) " >&6
19483 else
19484 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19485 /* end confdefs.h. */
19486 #include <math.h>
19488 main ()
19490 float f = 0.0; return isinf(f)
19492 return 0;
19494 _ACEOF
19495 if ac_fn_c_try_link "$LINENO"; then :
19496 ac_cv_have_isinf="yes"
19497 else
19498 ac_cv_have_isinf="no"
19500 rm -f core conftest.err conftest.$ac_objext \
19501 conftest$ac_exeext conftest.$ac_ext
19503 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isinf" >&5
19504 $as_echo "$ac_cv_have_isinf" >&6; }
19505 if test "$ac_cv_have_isinf" = "yes"
19506 then
19508 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
19512 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan" >&5
19513 $as_echo_n "checking for isnan... " >&6; }
19514 if ${ac_cv_have_isnan+:} false; then :
19515 $as_echo_n "(cached) " >&6
19516 else
19517 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19518 /* end confdefs.h. */
19519 #include <math.h>
19521 main ()
19523 float f = 0.0; return isnan(f)
19525 return 0;
19527 _ACEOF
19528 if ac_fn_c_try_link "$LINENO"; then :
19529 ac_cv_have_isnan="yes"
19530 else
19531 ac_cv_have_isnan="no"
19533 rm -f core conftest.err conftest.$ac_objext \
19534 conftest$ac_exeext conftest.$ac_ext
19536 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isnan" >&5
19537 $as_echo "$ac_cv_have_isnan" >&6; }
19538 if test "$ac_cv_have_isnan" = "yes"
19539 then
19541 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
19545 for ac_func in \
19546 acosh \
19547 acoshf \
19548 asinh \
19549 asinhf \
19550 atanh \
19551 atanhf \
19552 cbrt \
19553 cbrtf \
19554 erf \
19555 erfc \
19556 erfcf \
19557 erff \
19558 exp2 \
19559 exp2f \
19560 expm1 \
19561 expm1f \
19562 fma \
19563 fmaf \
19564 j0 \
19565 j1 \
19566 jn \
19567 lgamma \
19568 lgammaf \
19569 llrint \
19570 llrintf \
19571 llround \
19572 llroundf \
19573 log1p \
19574 log1pf \
19575 log2 \
19576 log2f \
19577 lrint \
19578 lrintf \
19579 lround \
19580 lroundf \
19581 nearbyint \
19582 nearbyintf \
19583 nexttoward \
19584 nexttowardf \
19585 remainder \
19586 remainderf \
19587 remquo \
19588 remquof \
19589 rint \
19590 rintf \
19591 round \
19592 roundf \
19593 tgamma \
19594 tgammaf \
19595 trunc \
19596 truncf \
19597 y0 \
19598 y1 \
19601 do :
19602 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
19603 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
19604 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
19605 cat >>confdefs.h <<_ACEOF
19606 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
19607 _ACEOF
19610 done
19612 LIBS="$ac_save_LIBS"
19614 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __builtin_popcount" >&5
19615 $as_echo_n "checking for __builtin_popcount... " >&6; }
19616 if ${ac_cv_have___builtin_popcount+:} false; then :
19617 $as_echo_n "(cached) " >&6
19618 else
19619 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19620 /* end confdefs.h. */
19623 main ()
19625 return __builtin_popcount(1)
19627 return 0;
19629 _ACEOF
19630 if ac_fn_c_try_link "$LINENO"; then :
19631 ac_cv_have___builtin_popcount="yes"
19632 else
19633 ac_cv_have___builtin_popcount="no"
19635 rm -f core conftest.err conftest.$ac_objext \
19636 conftest$ac_exeext conftest.$ac_ext
19638 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___builtin_popcount" >&5
19639 $as_echo "$ac_cv_have___builtin_popcount" >&6; }
19640 if test "$ac_cv_have___builtin_popcount" = "yes"
19641 then
19643 $as_echo "#define HAVE___BUILTIN_POPCOUNT 1" >>confdefs.h
19647 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __clear_cache" >&5
19648 $as_echo_n "checking for __clear_cache... " >&6; }
19649 if ${ac_cv_have___clear_cache+:} false; then :
19650 $as_echo_n "(cached) " >&6
19651 else
19652 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19653 /* end confdefs.h. */
19656 main ()
19658 __clear_cache((void*)0, (void*)0); return 0;
19660 return 0;
19662 _ACEOF
19663 if ac_fn_c_try_link "$LINENO"; then :
19664 ac_cv_have___clear_cache="yes"
19665 else
19666 ac_cv_have___clear_cache="no"
19668 rm -f core conftest.err conftest.$ac_objext \
19669 conftest$ac_exeext conftest.$ac_ext
19671 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___clear_cache" >&5
19672 $as_echo "$ac_cv_have___clear_cache" >&6; }
19673 if test "$ac_cv_have___clear_cache" = "yes"
19674 then
19676 $as_echo "#define HAVE___CLEAR_CACHE 1" >>confdefs.h
19681 case $host_cpu in
19682 *i[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __i386__" >&5
19683 $as_echo_n "checking whether we need to define __i386__... " >&6; }
19684 if ${ac_cv_cpp_def___i386__+:} false; then :
19685 $as_echo_n "(cached) " >&6
19686 else
19687 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19688 /* end confdefs.h. */
19689 #ifndef __i386__
19691 #endif
19692 _ACEOF
19693 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19694 $EGREP "yes" >/dev/null 2>&1; then :
19695 ac_cv_cpp_def___i386__=yes
19696 else
19697 ac_cv_cpp_def___i386__=no
19699 rm -f conftest*
19702 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___i386__" >&5
19703 $as_echo "$ac_cv_cpp_def___i386__" >&6; }
19704 if test "x$ac_cv_cpp_def___i386__" = xyes; then :
19705 CFLAGS="$CFLAGS -D__i386__"
19706 LINTFLAGS="$LINTFLAGS -D__i386__"
19707 fi ;;
19708 *x86_64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __x86_64__" >&5
19709 $as_echo_n "checking whether we need to define __x86_64__... " >&6; }
19710 if ${ac_cv_cpp_def___x86_64__+:} false; then :
19711 $as_echo_n "(cached) " >&6
19712 else
19713 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19714 /* end confdefs.h. */
19715 #ifndef __x86_64__
19717 #endif
19718 _ACEOF
19719 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19720 $EGREP "yes" >/dev/null 2>&1; then :
19721 ac_cv_cpp_def___x86_64__=yes
19722 else
19723 ac_cv_cpp_def___x86_64__=no
19725 rm -f conftest*
19728 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___x86_64__" >&5
19729 $as_echo "$ac_cv_cpp_def___x86_64__" >&6; }
19730 if test "x$ac_cv_cpp_def___x86_64__" = xyes; then :
19731 CFLAGS="$CFLAGS -D__x86_64__"
19732 LINTFLAGS="$LINTFLAGS -D__x86_64__"
19733 fi ;;
19734 *sparc64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc64__" >&5
19735 $as_echo_n "checking whether we need to define __sparc64__... " >&6; }
19736 if ${ac_cv_cpp_def___sparc64__+:} false; then :
19737 $as_echo_n "(cached) " >&6
19738 else
19739 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19740 /* end confdefs.h. */
19741 #ifndef __sparc64__
19743 #endif
19744 _ACEOF
19745 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19746 $EGREP "yes" >/dev/null 2>&1; then :
19747 ac_cv_cpp_def___sparc64__=yes
19748 else
19749 ac_cv_cpp_def___sparc64__=no
19751 rm -f conftest*
19754 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc64__" >&5
19755 $as_echo "$ac_cv_cpp_def___sparc64__" >&6; }
19756 if test "x$ac_cv_cpp_def___sparc64__" = xyes; then :
19757 CFLAGS="$CFLAGS -D__sparc64__"
19758 LINTFLAGS="$LINTFLAGS -D__sparc64__"
19759 fi ;;
19760 *sparc*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc__" >&5
19761 $as_echo_n "checking whether we need to define __sparc__... " >&6; }
19762 if ${ac_cv_cpp_def___sparc__+:} false; then :
19763 $as_echo_n "(cached) " >&6
19764 else
19765 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19766 /* end confdefs.h. */
19767 #ifndef __sparc__
19769 #endif
19770 _ACEOF
19771 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19772 $EGREP "yes" >/dev/null 2>&1; then :
19773 ac_cv_cpp_def___sparc__=yes
19774 else
19775 ac_cv_cpp_def___sparc__=no
19777 rm -f conftest*
19780 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc__" >&5
19781 $as_echo "$ac_cv_cpp_def___sparc__" >&6; }
19782 if test "x$ac_cv_cpp_def___sparc__" = xyes; then :
19783 CFLAGS="$CFLAGS -D__sparc__"
19784 LINTFLAGS="$LINTFLAGS -D__sparc__"
19785 fi ;;
19786 *powerpc64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc64__" >&5
19787 $as_echo_n "checking whether we need to define __powerpc64__... " >&6; }
19788 if ${ac_cv_cpp_def___powerpc64__+:} false; then :
19789 $as_echo_n "(cached) " >&6
19790 else
19791 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19792 /* end confdefs.h. */
19793 #ifndef __powerpc64__
19795 #endif
19796 _ACEOF
19797 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19798 $EGREP "yes" >/dev/null 2>&1; then :
19799 ac_cv_cpp_def___powerpc64__=yes
19800 else
19801 ac_cv_cpp_def___powerpc64__=no
19803 rm -f conftest*
19806 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc64__" >&5
19807 $as_echo "$ac_cv_cpp_def___powerpc64__" >&6; }
19808 if test "x$ac_cv_cpp_def___powerpc64__" = xyes; then :
19809 CFLAGS="$CFLAGS -D__powerpc64__"
19810 LINTFLAGS="$LINTFLAGS -D__powerpc64__"
19811 fi ;;
19812 *powerpc*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc__" >&5
19813 $as_echo_n "checking whether we need to define __powerpc__... " >&6; }
19814 if ${ac_cv_cpp_def___powerpc__+:} false; then :
19815 $as_echo_n "(cached) " >&6
19816 else
19817 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19818 /* end confdefs.h. */
19819 #ifndef __powerpc__
19821 #endif
19822 _ACEOF
19823 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19824 $EGREP "yes" >/dev/null 2>&1; then :
19825 ac_cv_cpp_def___powerpc__=yes
19826 else
19827 ac_cv_cpp_def___powerpc__=no
19829 rm -f conftest*
19832 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc__" >&5
19833 $as_echo "$ac_cv_cpp_def___powerpc__" >&6; }
19834 if test "x$ac_cv_cpp_def___powerpc__" = xyes; then :
19835 CFLAGS="$CFLAGS -D__powerpc__"
19836 LINTFLAGS="$LINTFLAGS -D__powerpc__"
19837 fi ;;
19838 *aarch64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __aarch64__" >&5
19839 $as_echo_n "checking whether we need to define __aarch64__... " >&6; }
19840 if ${ac_cv_cpp_def___aarch64__+:} false; then :
19841 $as_echo_n "(cached) " >&6
19842 else
19843 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19844 /* end confdefs.h. */
19845 #ifndef __aarch64__
19847 #endif
19848 _ACEOF
19849 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19850 $EGREP "yes" >/dev/null 2>&1; then :
19851 ac_cv_cpp_def___aarch64__=yes
19852 else
19853 ac_cv_cpp_def___aarch64__=no
19855 rm -f conftest*
19858 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___aarch64__" >&5
19859 $as_echo "$ac_cv_cpp_def___aarch64__" >&6; }
19860 if test "x$ac_cv_cpp_def___aarch64__" = xyes; then :
19861 CFLAGS="$CFLAGS -D__aarch64__"
19862 LINTFLAGS="$LINTFLAGS -D__aarch64__"
19863 fi ;;
19864 *arm*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __arm__" >&5
19865 $as_echo_n "checking whether we need to define __arm__... " >&6; }
19866 if ${ac_cv_cpp_def___arm__+:} false; then :
19867 $as_echo_n "(cached) " >&6
19868 else
19869 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19870 /* end confdefs.h. */
19871 #ifndef __arm__
19873 #endif
19874 _ACEOF
19875 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19876 $EGREP "yes" >/dev/null 2>&1; then :
19877 ac_cv_cpp_def___arm__=yes
19878 else
19879 ac_cv_cpp_def___arm__=no
19881 rm -f conftest*
19884 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___arm__" >&5
19885 $as_echo "$ac_cv_cpp_def___arm__" >&6; }
19886 if test "x$ac_cv_cpp_def___arm__" = xyes; then :
19887 CFLAGS="$CFLAGS -D__arm__"
19888 LINTFLAGS="$LINTFLAGS -D__arm__"
19889 fi ;;
19890 esac
19892 case $host_vendor in
19893 *sun*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sun__" >&5
19894 $as_echo_n "checking whether we need to define __sun__... " >&6; }
19895 if ${ac_cv_cpp_def___sun__+:} false; then :
19896 $as_echo_n "(cached) " >&6
19897 else
19898 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19899 /* end confdefs.h. */
19900 #ifndef __sun__
19902 #endif
19903 _ACEOF
19904 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19905 $EGREP "yes" >/dev/null 2>&1; then :
19906 ac_cv_cpp_def___sun__=yes
19907 else
19908 ac_cv_cpp_def___sun__=no
19910 rm -f conftest*
19913 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sun__" >&5
19914 $as_echo "$ac_cv_cpp_def___sun__" >&6; }
19915 if test "x$ac_cv_cpp_def___sun__" = xyes; then :
19916 CFLAGS="$CFLAGS -D__sun__"
19917 LINTFLAGS="$LINTFLAGS -D__sun__"
19918 fi ;;
19919 esac
19925 ac_config_commands="$ac_config_commands include/stamp-h"
19927 $as_echo_n "creating Makefile rules..." >&6
19929 ALL_VARS_RULES="I386_LIBS = $I386_LIBS
19930 OPENGL_LIBS = $OPENGL_LIBS
19931 COREFOUNDATION_LIBS = $COREFOUNDATION_LIBS
19932 IOKIT_LIBS = $IOKIT_LIBS
19933 FORCEFEEDBACK_LIBS = $FORCEFEEDBACK_LIBS
19934 APPLICATIONSERVICES_LIBS = $APPLICATIONSERVICES_LIBS
19935 CORESERVICES_LIBS = $CORESERVICES_LIBS
19936 APPKIT_LIBS = $APPKIT_LIBS
19937 SYSTEMCONFIGURATION_LIBS = $SYSTEMCONFIGURATION_LIBS
19938 DISKARBITRATION_LIBS = $DISKARBITRATION_LIBS
19939 SECURITY_LIBS = $SECURITY_LIBS
19940 COREAUDIO_LIBS = $COREAUDIO_LIBS
19941 OPENAL_LIBS = $OPENAL_LIBS
19942 OPENCL_LIBS = $OPENCL_LIBS
19943 QUICKTIME_LIBS = $QUICKTIME_LIBS
19944 CARBON_LIBS = $CARBON_LIBS
19945 METAL_LIBS = $METAL_LIBS
19946 EXCESS_PRECISION_CFLAGS = $EXCESS_PRECISION_CFLAGS
19947 PTHREAD_LIBS = $PTHREAD_LIBS
19948 X_CFLAGS = $X_CFLAGS
19949 X_PRE_LIBS = $X_PRE_LIBS
19950 X_LIBS = $X_LIBS
19951 X_EXTRA_LIBS = $X_EXTRA_LIBS
19952 PCAP_LIBS = $PCAP_LIBS
19953 XML2_CFLAGS = $XML2_CFLAGS
19954 XML2_LIBS = $XML2_LIBS
19955 XSLT_CFLAGS = $XSLT_CFLAGS
19956 XSLT_LIBS = $XSLT_LIBS
19957 INOTIFY_CFLAGS = $INOTIFY_CFLAGS
19958 INOTIFY_LIBS = $INOTIFY_LIBS
19959 DBUS_CFLAGS = $DBUS_CFLAGS
19960 DBUS_LIBS = $DBUS_LIBS
19961 HAL_CFLAGS = $HAL_CFLAGS
19962 HAL_LIBS = $HAL_LIBS
19963 GNUTLS_CFLAGS = $GNUTLS_CFLAGS
19964 GNUTLS_LIBS = $GNUTLS_LIBS
19965 SANE_CFLAGS = $SANE_CFLAGS
19966 SANE_LIBS = $SANE_LIBS
19967 USB_CFLAGS = $USB_CFLAGS
19968 USB_LIBS = $USB_LIBS
19969 GPHOTO2_CFLAGS = $GPHOTO2_CFLAGS
19970 GPHOTO2_LIBS = $GPHOTO2_LIBS
19971 GPHOTO2_PORT_CFLAGS = $GPHOTO2_PORT_CFLAGS
19972 GPHOTO2_PORT_LIBS = $GPHOTO2_PORT_LIBS
19973 RESOLV_LIBS = $RESOLV_LIBS
19974 LCMS2_CFLAGS = $LCMS2_CFLAGS
19975 LCMS2_LIBS = $LCMS2_LIBS
19976 FREETYPE_CFLAGS = $FREETYPE_CFLAGS
19977 FREETYPE_LIBS = $FREETYPE_LIBS
19978 GETTEXTPO_LIBS = $GETTEXTPO_LIBS
19979 PULSE_CFLAGS = $PULSE_CFLAGS
19980 PULSE_LIBS = $PULSE_LIBS
19981 GSTREAMER_CFLAGS = $GSTREAMER_CFLAGS
19982 GSTREAMER_LIBS = $GSTREAMER_LIBS
19983 ALSA_LIBS = $ALSA_LIBS
19984 OSS4_CFLAGS = $OSS4_CFLAGS
19985 OSS4_LIBS = $OSS4_LIBS
19986 UDEV_CFLAGS = $UDEV_CFLAGS
19987 UDEV_LIBS = $UDEV_LIBS
19988 UNWIND_CFLAGS = $UNWIND_CFLAGS
19989 UNWIND_LIBS = $UNWIND_LIBS
19990 SDL2_CFLAGS = $SDL2_CFLAGS
19991 SDL2_LIBS = $SDL2_LIBS
19992 FAUDIO_CFLAGS = $FAUDIO_CFLAGS
19993 FAUDIO_LIBS = $FAUDIO_LIBS
19994 CAPI20_CFLAGS = $CAPI20_CFLAGS
19995 CAPI20_LIBS = $CAPI20_LIBS
19996 CUPS_CFLAGS = $CUPS_CFLAGS
19997 CUPS_LIBS = $CUPS_LIBS
19998 FONTCONFIG_CFLAGS = $FONTCONFIG_CFLAGS
19999 FONTCONFIG_LIBS = $FONTCONFIG_LIBS
20000 KRB5_CFLAGS = $KRB5_CFLAGS
20001 KRB5_LIBS = $KRB5_LIBS
20002 GSSAPI_CFLAGS = $GSSAPI_CFLAGS
20003 GSSAPI_LIBS = $GSSAPI_LIBS
20004 JPEG_CFLAGS = $JPEG_CFLAGS
20005 JPEG_LIBS = $JPEG_LIBS
20006 JXRLIB_CFLAGS = $JXRLIB_CFLAGS
20007 JXRLIB_LIBS = $JXRLIB_LIBS
20008 PNG_CFLAGS = $PNG_CFLAGS
20009 PNG_LIBS = $PNG_LIBS
20010 TIFF_CFLAGS = $TIFF_CFLAGS
20011 TIFF_LIBS = $TIFF_LIBS
20012 MPG123_CFLAGS = $MPG123_CFLAGS
20013 MPG123_LIBS = $MPG123_LIBS
20014 KSTAT_LIBS = $KSTAT_LIBS
20015 PROCSTAT_LIBS = $PROCSTAT_LIBS
20016 NETAPI_CFLAGS = $NETAPI_CFLAGS
20017 NETAPI_LIBS = $NETAPI_LIBS
20018 VKD3D_CFLAGS = $VKD3D_CFLAGS
20019 VKD3D_LIBS = $VKD3D_LIBS
20020 VKD3D_SHADER_CFLAGS = $VKD3D_SHADER_CFLAGS
20021 VKD3D_SHADER_LIBS = $VKD3D_SHADER_LIBS
20022 POLL_LIBS = $POLL_LIBS
20023 RT_LIBS = $RT_LIBS
20024 LDAP_CFLAGS = $LDAP_CFLAGS
20025 LDAP_LIBS = $LDAP_LIBS
20029 makedep_flags=""
20030 test "x$enable_silent_rules" = xyes && makedep_flags="$makedep_flags -S"
20033 wine_fn_append_rule "
20034 # Rules automatically generated by configure
20036 .INIT: Makefile
20037 .MAKEFILEDEPS:
20038 all: Makefile
20039 Makefile: $srcdir/Makefile.in config.status \$(MAKEDEP)
20040 @./config.status Make.tmp Makefile
20041 depend: \$(MAKEDEP)
20042 \$(MAKEDEP)$makedep_flags
20043 dummy:
20044 .PHONY: depend dummy"
20046 ac_config_links="$ac_config_links wine:tools/winewrapper"
20047 wine_fn_config_symlink wine
20048 if test "x$enable_win64" != xno -o -n "$with_wine64"; then
20049 ac_config_links="$ac_config_links wine64:tools/winewrapper"
20050 wine_fn_config_symlink wine64
20053 wine_fn_config_makefile dlls/acledit enable_acledit
20054 wine_fn_config_makefile dlls/aclui enable_aclui
20055 wine_fn_config_makefile dlls/activeds.tlb enable_activeds_tlb
20056 wine_fn_config_makefile dlls/activeds enable_activeds
20057 wine_fn_config_makefile dlls/activeds/tests enable_tests
20058 wine_fn_config_makefile dlls/actxprxy enable_actxprxy
20059 wine_fn_config_makefile dlls/adsiid enable_adsiid
20060 wine_fn_config_makefile dlls/adsldp enable_adsldp
20061 wine_fn_config_makefile dlls/adsldp/tests enable_tests
20062 wine_fn_config_makefile dlls/adsldpc enable_adsldpc
20063 wine_fn_config_makefile dlls/advapi32 enable_advapi32
20064 wine_fn_config_makefile dlls/advapi32/tests enable_tests
20065 wine_fn_config_makefile dlls/advpack enable_advpack
20066 wine_fn_config_makefile dlls/advpack/tests enable_tests
20067 wine_fn_config_makefile dlls/amsi enable_amsi
20068 wine_fn_config_makefile dlls/amstream enable_amstream
20069 wine_fn_config_makefile dlls/amstream/tests enable_tests
20070 wine_fn_config_makefile dlls/api-ms-win-appmodel-identity-l1-1-0 enable_api_ms_win_appmodel_identity_l1_1_0
20071 wine_fn_config_makefile dlls/api-ms-win-appmodel-runtime-l1-1-1 enable_api_ms_win_appmodel_runtime_l1_1_1
20072 wine_fn_config_makefile dlls/api-ms-win-appmodel-runtime-l1-1-2 enable_api_ms_win_appmodel_runtime_l1_1_2
20073 wine_fn_config_makefile dlls/api-ms-win-core-apiquery-l1-1-0 enable_api_ms_win_core_apiquery_l1_1_0
20074 wine_fn_config_makefile dlls/api-ms-win-core-appcompat-l1-1-1 enable_api_ms_win_core_appcompat_l1_1_1
20075 wine_fn_config_makefile dlls/api-ms-win-core-appinit-l1-1-0 enable_api_ms_win_core_appinit_l1_1_0
20076 wine_fn_config_makefile dlls/api-ms-win-core-atoms-l1-1-0 enable_api_ms_win_core_atoms_l1_1_0
20077 wine_fn_config_makefile dlls/api-ms-win-core-bem-l1-1-0 enable_api_ms_win_core_bem_l1_1_0
20078 wine_fn_config_makefile dlls/api-ms-win-core-com-l1-1-0 enable_api_ms_win_core_com_l1_1_0
20079 wine_fn_config_makefile dlls/api-ms-win-core-com-l1-1-1 enable_api_ms_win_core_com_l1_1_1
20080 wine_fn_config_makefile dlls/api-ms-win-core-com-private-l1-1-0 enable_api_ms_win_core_com_private_l1_1_0
20081 wine_fn_config_makefile dlls/api-ms-win-core-comm-l1-1-0 enable_api_ms_win_core_comm_l1_1_0
20082 wine_fn_config_makefile dlls/api-ms-win-core-console-l1-1-0 enable_api_ms_win_core_console_l1_1_0
20083 wine_fn_config_makefile dlls/api-ms-win-core-console-l2-1-0 enable_api_ms_win_core_console_l2_1_0
20084 wine_fn_config_makefile dlls/api-ms-win-core-crt-l1-1-0 enable_api_ms_win_core_crt_l1_1_0
20085 wine_fn_config_makefile dlls/api-ms-win-core-crt-l2-1-0 enable_api_ms_win_core_crt_l2_1_0
20086 wine_fn_config_makefile dlls/api-ms-win-core-datetime-l1-1-0 enable_api_ms_win_core_datetime_l1_1_0
20087 wine_fn_config_makefile dlls/api-ms-win-core-datetime-l1-1-1 enable_api_ms_win_core_datetime_l1_1_1
20088 wine_fn_config_makefile dlls/api-ms-win-core-debug-l1-1-0 enable_api_ms_win_core_debug_l1_1_0
20089 wine_fn_config_makefile dlls/api-ms-win-core-debug-l1-1-1 enable_api_ms_win_core_debug_l1_1_1
20090 wine_fn_config_makefile dlls/api-ms-win-core-delayload-l1-1-0 enable_api_ms_win_core_delayload_l1_1_0
20091 wine_fn_config_makefile dlls/api-ms-win-core-delayload-l1-1-1 enable_api_ms_win_core_delayload_l1_1_1
20092 wine_fn_config_makefile dlls/api-ms-win-core-errorhandling-l1-1-0 enable_api_ms_win_core_errorhandling_l1_1_0
20093 wine_fn_config_makefile dlls/api-ms-win-core-errorhandling-l1-1-1 enable_api_ms_win_core_errorhandling_l1_1_1
20094 wine_fn_config_makefile dlls/api-ms-win-core-errorhandling-l1-1-2 enable_api_ms_win_core_errorhandling_l1_1_2
20095 wine_fn_config_makefile dlls/api-ms-win-core-errorhandling-l1-1-3 enable_api_ms_win_core_errorhandling_l1_1_3
20096 wine_fn_config_makefile dlls/api-ms-win-core-fibers-l1-1-0 enable_api_ms_win_core_fibers_l1_1_0
20097 wine_fn_config_makefile dlls/api-ms-win-core-fibers-l1-1-1 enable_api_ms_win_core_fibers_l1_1_1
20098 wine_fn_config_makefile dlls/api-ms-win-core-file-ansi-l2-1-0 enable_api_ms_win_core_file_ansi_l2_1_0
20099 wine_fn_config_makefile dlls/api-ms-win-core-file-fromapp-l1-1-0 enable_api_ms_win_core_file_fromapp_l1_1_0
20100 wine_fn_config_makefile dlls/api-ms-win-core-file-l1-1-0 enable_api_ms_win_core_file_l1_1_0
20101 wine_fn_config_makefile dlls/api-ms-win-core-file-l1-2-0 enable_api_ms_win_core_file_l1_2_0
20102 wine_fn_config_makefile dlls/api-ms-win-core-file-l1-2-1 enable_api_ms_win_core_file_l1_2_1
20103 wine_fn_config_makefile dlls/api-ms-win-core-file-l1-2-2 enable_api_ms_win_core_file_l1_2_2
20104 wine_fn_config_makefile dlls/api-ms-win-core-file-l2-1-0 enable_api_ms_win_core_file_l2_1_0
20105 wine_fn_config_makefile dlls/api-ms-win-core-file-l2-1-1 enable_api_ms_win_core_file_l2_1_1
20106 wine_fn_config_makefile dlls/api-ms-win-core-file-l2-1-2 enable_api_ms_win_core_file_l2_1_2
20107 wine_fn_config_makefile dlls/api-ms-win-core-handle-l1-1-0 enable_api_ms_win_core_handle_l1_1_0
20108 wine_fn_config_makefile dlls/api-ms-win-core-heap-l1-1-0 enable_api_ms_win_core_heap_l1_1_0
20109 wine_fn_config_makefile dlls/api-ms-win-core-heap-l1-2-0 enable_api_ms_win_core_heap_l1_2_0
20110 wine_fn_config_makefile dlls/api-ms-win-core-heap-l2-1-0 enable_api_ms_win_core_heap_l2_1_0
20111 wine_fn_config_makefile dlls/api-ms-win-core-heap-obsolete-l1-1-0 enable_api_ms_win_core_heap_obsolete_l1_1_0
20112 wine_fn_config_makefile dlls/api-ms-win-core-interlocked-l1-1-0 enable_api_ms_win_core_interlocked_l1_1_0
20113 wine_fn_config_makefile dlls/api-ms-win-core-interlocked-l1-2-0 enable_api_ms_win_core_interlocked_l1_2_0
20114 wine_fn_config_makefile dlls/api-ms-win-core-io-l1-1-0 enable_api_ms_win_core_io_l1_1_0
20115 wine_fn_config_makefile dlls/api-ms-win-core-io-l1-1-1 enable_api_ms_win_core_io_l1_1_1
20116 wine_fn_config_makefile dlls/api-ms-win-core-job-l1-1-0 enable_api_ms_win_core_job_l1_1_0
20117 wine_fn_config_makefile dlls/api-ms-win-core-job-l2-1-0 enable_api_ms_win_core_job_l2_1_0
20118 wine_fn_config_makefile dlls/api-ms-win-core-kernel32-legacy-l1-1-0 enable_api_ms_win_core_kernel32_legacy_l1_1_0
20119 wine_fn_config_makefile dlls/api-ms-win-core-kernel32-legacy-l1-1-1 enable_api_ms_win_core_kernel32_legacy_l1_1_1
20120 wine_fn_config_makefile dlls/api-ms-win-core-kernel32-legacy-l1-1-2 enable_api_ms_win_core_kernel32_legacy_l1_1_2
20121 wine_fn_config_makefile dlls/api-ms-win-core-kernel32-private-l1-1-1 enable_api_ms_win_core_kernel32_private_l1_1_1
20122 wine_fn_config_makefile dlls/api-ms-win-core-largeinteger-l1-1-0 enable_api_ms_win_core_largeinteger_l1_1_0
20123 wine_fn_config_makefile dlls/api-ms-win-core-libraryloader-l1-1-0 enable_api_ms_win_core_libraryloader_l1_1_0
20124 wine_fn_config_makefile dlls/api-ms-win-core-libraryloader-l1-1-1 enable_api_ms_win_core_libraryloader_l1_1_1
20125 wine_fn_config_makefile dlls/api-ms-win-core-libraryloader-l1-2-0 enable_api_ms_win_core_libraryloader_l1_2_0
20126 wine_fn_config_makefile dlls/api-ms-win-core-libraryloader-l1-2-1 enable_api_ms_win_core_libraryloader_l1_2_1
20127 wine_fn_config_makefile dlls/api-ms-win-core-libraryloader-l1-2-2 enable_api_ms_win_core_libraryloader_l1_2_2
20128 wine_fn_config_makefile dlls/api-ms-win-core-libraryloader-l2-1-0 enable_api_ms_win_core_libraryloader_l2_1_0
20129 wine_fn_config_makefile dlls/api-ms-win-core-localization-l1-1-0 enable_api_ms_win_core_localization_l1_1_0
20130 wine_fn_config_makefile dlls/api-ms-win-core-localization-l1-2-0 enable_api_ms_win_core_localization_l1_2_0
20131 wine_fn_config_makefile dlls/api-ms-win-core-localization-l1-2-1 enable_api_ms_win_core_localization_l1_2_1
20132 wine_fn_config_makefile dlls/api-ms-win-core-localization-l1-2-2 enable_api_ms_win_core_localization_l1_2_2
20133 wine_fn_config_makefile dlls/api-ms-win-core-localization-l2-1-0 enable_api_ms_win_core_localization_l2_1_0
20134 wine_fn_config_makefile dlls/api-ms-win-core-localization-obsolete-l1-1-0 enable_api_ms_win_core_localization_obsolete_l1_1_0
20135 wine_fn_config_makefile dlls/api-ms-win-core-localization-obsolete-l1-2-0 enable_api_ms_win_core_localization_obsolete_l1_2_0
20136 wine_fn_config_makefile dlls/api-ms-win-core-localization-obsolete-l1-3-0 enable_api_ms_win_core_localization_obsolete_l1_3_0
20137 wine_fn_config_makefile dlls/api-ms-win-core-localization-private-l1-1-0 enable_api_ms_win_core_localization_private_l1_1_0
20138 wine_fn_config_makefile dlls/api-ms-win-core-localregistry-l1-1-0 enable_api_ms_win_core_localregistry_l1_1_0
20139 wine_fn_config_makefile dlls/api-ms-win-core-memory-l1-1-0 enable_api_ms_win_core_memory_l1_1_0
20140 wine_fn_config_makefile dlls/api-ms-win-core-memory-l1-1-1 enable_api_ms_win_core_memory_l1_1_1
20141 wine_fn_config_makefile dlls/api-ms-win-core-memory-l1-1-2 enable_api_ms_win_core_memory_l1_1_2
20142 wine_fn_config_makefile dlls/api-ms-win-core-memory-l1-1-3 enable_api_ms_win_core_memory_l1_1_3
20143 wine_fn_config_makefile dlls/api-ms-win-core-memory-l1-1-4 enable_api_ms_win_core_memory_l1_1_4
20144 wine_fn_config_makefile dlls/api-ms-win-core-misc-l1-1-0 enable_api_ms_win_core_misc_l1_1_0
20145 wine_fn_config_makefile dlls/api-ms-win-core-namedpipe-ansi-l1-1-0 enable_api_ms_win_core_namedpipe_ansi_l1_1_0
20146 wine_fn_config_makefile dlls/api-ms-win-core-namedpipe-l1-1-0 enable_api_ms_win_core_namedpipe_l1_1_0
20147 wine_fn_config_makefile dlls/api-ms-win-core-namedpipe-l1-2-0 enable_api_ms_win_core_namedpipe_l1_2_0
20148 wine_fn_config_makefile dlls/api-ms-win-core-namespace-l1-1-0 enable_api_ms_win_core_namespace_l1_1_0
20149 wine_fn_config_makefile dlls/api-ms-win-core-normalization-l1-1-0 enable_api_ms_win_core_normalization_l1_1_0
20150 wine_fn_config_makefile dlls/api-ms-win-core-path-l1-1-0 enable_api_ms_win_core_path_l1_1_0
20151 wine_fn_config_makefile dlls/api-ms-win-core-privateprofile-l1-1-1 enable_api_ms_win_core_privateprofile_l1_1_1
20152 wine_fn_config_makefile dlls/api-ms-win-core-processenvironment-l1-1-0 enable_api_ms_win_core_processenvironment_l1_1_0
20153 wine_fn_config_makefile dlls/api-ms-win-core-processenvironment-l1-2-0 enable_api_ms_win_core_processenvironment_l1_2_0
20154 wine_fn_config_makefile dlls/api-ms-win-core-processthreads-l1-1-0 enable_api_ms_win_core_processthreads_l1_1_0
20155 wine_fn_config_makefile dlls/api-ms-win-core-processthreads-l1-1-1 enable_api_ms_win_core_processthreads_l1_1_1
20156 wine_fn_config_makefile dlls/api-ms-win-core-processthreads-l1-1-2 enable_api_ms_win_core_processthreads_l1_1_2
20157 wine_fn_config_makefile dlls/api-ms-win-core-processthreads-l1-1-3 enable_api_ms_win_core_processthreads_l1_1_3
20158 wine_fn_config_makefile dlls/api-ms-win-core-processtopology-obsolete-l1-1-0 enable_api_ms_win_core_processtopology_obsolete_l1_1_0
20159 wine_fn_config_makefile dlls/api-ms-win-core-profile-l1-1-0 enable_api_ms_win_core_profile_l1_1_0
20160 wine_fn_config_makefile dlls/api-ms-win-core-psapi-ansi-l1-1-0 enable_api_ms_win_core_psapi_ansi_l1_1_0
20161 wine_fn_config_makefile dlls/api-ms-win-core-psapi-l1-1-0 enable_api_ms_win_core_psapi_l1_1_0
20162 wine_fn_config_makefile dlls/api-ms-win-core-psapi-obsolete-l1-1-0 enable_api_ms_win_core_psapi_obsolete_l1_1_0
20163 wine_fn_config_makefile dlls/api-ms-win-core-quirks-l1-1-0 enable_api_ms_win_core_quirks_l1_1_0
20164 wine_fn_config_makefile dlls/api-ms-win-core-realtime-l1-1-0 enable_api_ms_win_core_realtime_l1_1_0
20165 wine_fn_config_makefile dlls/api-ms-win-core-registry-l1-1-0 enable_api_ms_win_core_registry_l1_1_0
20166 wine_fn_config_makefile dlls/api-ms-win-core-registry-l2-1-0 enable_api_ms_win_core_registry_l2_1_0
20167 wine_fn_config_makefile dlls/api-ms-win-core-registry-l2-2-0 enable_api_ms_win_core_registry_l2_2_0
20168 wine_fn_config_makefile dlls/api-ms-win-core-registryuserspecific-l1-1-0 enable_api_ms_win_core_registryuserspecific_l1_1_0
20169 wine_fn_config_makefile dlls/api-ms-win-core-rtlsupport-l1-1-0 enable_api_ms_win_core_rtlsupport_l1_1_0
20170 wine_fn_config_makefile dlls/api-ms-win-core-rtlsupport-l1-2-0 enable_api_ms_win_core_rtlsupport_l1_2_0
20171 wine_fn_config_makefile dlls/api-ms-win-core-shlwapi-legacy-l1-1-0 enable_api_ms_win_core_shlwapi_legacy_l1_1_0
20172 wine_fn_config_makefile dlls/api-ms-win-core-shlwapi-obsolete-l1-1-0 enable_api_ms_win_core_shlwapi_obsolete_l1_1_0
20173 wine_fn_config_makefile dlls/api-ms-win-core-shlwapi-obsolete-l1-2-0 enable_api_ms_win_core_shlwapi_obsolete_l1_2_0
20174 wine_fn_config_makefile dlls/api-ms-win-core-shutdown-l1-1-0 enable_api_ms_win_core_shutdown_l1_1_0
20175 wine_fn_config_makefile dlls/api-ms-win-core-sidebyside-l1-1-0 enable_api_ms_win_core_sidebyside_l1_1_0
20176 wine_fn_config_makefile dlls/api-ms-win-core-string-l1-1-0 enable_api_ms_win_core_string_l1_1_0
20177 wine_fn_config_makefile dlls/api-ms-win-core-string-l2-1-0 enable_api_ms_win_core_string_l2_1_0
20178 wine_fn_config_makefile dlls/api-ms-win-core-string-obsolete-l1-1-0 enable_api_ms_win_core_string_obsolete_l1_1_0
20179 wine_fn_config_makefile dlls/api-ms-win-core-stringansi-l1-1-0 enable_api_ms_win_core_stringansi_l1_1_0
20180 wine_fn_config_makefile dlls/api-ms-win-core-stringloader-l1-1-1 enable_api_ms_win_core_stringloader_l1_1_1
20181 wine_fn_config_makefile dlls/api-ms-win-core-synch-ansi-l1-1-0 enable_api_ms_win_core_synch_ansi_l1_1_0
20182 wine_fn_config_makefile dlls/api-ms-win-core-synch-l1-1-0 enable_api_ms_win_core_synch_l1_1_0
20183 wine_fn_config_makefile dlls/api-ms-win-core-synch-l1-2-0 enable_api_ms_win_core_synch_l1_2_0
20184 wine_fn_config_makefile dlls/api-ms-win-core-synch-l1-2-1 enable_api_ms_win_core_synch_l1_2_1
20185 wine_fn_config_makefile dlls/api-ms-win-core-sysinfo-l1-1-0 enable_api_ms_win_core_sysinfo_l1_1_0
20186 wine_fn_config_makefile dlls/api-ms-win-core-sysinfo-l1-2-0 enable_api_ms_win_core_sysinfo_l1_2_0
20187 wine_fn_config_makefile dlls/api-ms-win-core-sysinfo-l1-2-1 enable_api_ms_win_core_sysinfo_l1_2_1
20188 wine_fn_config_makefile dlls/api-ms-win-core-systemtopology-l1-1-0 enable_api_ms_win_core_systemtopology_l1_1_0
20189 wine_fn_config_makefile dlls/api-ms-win-core-threadpool-l1-1-0 enable_api_ms_win_core_threadpool_l1_1_0
20190 wine_fn_config_makefile dlls/api-ms-win-core-threadpool-l1-2-0 enable_api_ms_win_core_threadpool_l1_2_0
20191 wine_fn_config_makefile dlls/api-ms-win-core-threadpool-legacy-l1-1-0 enable_api_ms_win_core_threadpool_legacy_l1_1_0
20192 wine_fn_config_makefile dlls/api-ms-win-core-threadpool-private-l1-1-0 enable_api_ms_win_core_threadpool_private_l1_1_0
20193 wine_fn_config_makefile dlls/api-ms-win-core-timezone-l1-1-0 enable_api_ms_win_core_timezone_l1_1_0
20194 wine_fn_config_makefile dlls/api-ms-win-core-toolhelp-l1-1-0 enable_api_ms_win_core_toolhelp_l1_1_0
20195 wine_fn_config_makefile dlls/api-ms-win-core-url-l1-1-0 enable_api_ms_win_core_url_l1_1_0
20196 wine_fn_config_makefile dlls/api-ms-win-core-util-l1-1-0 enable_api_ms_win_core_util_l1_1_0
20197 wine_fn_config_makefile dlls/api-ms-win-core-version-l1-1-0 enable_api_ms_win_core_version_l1_1_0
20198 wine_fn_config_makefile dlls/api-ms-win-core-version-l1-1-1 enable_api_ms_win_core_version_l1_1_1
20199 wine_fn_config_makefile dlls/api-ms-win-core-version-private-l1-1-0 enable_api_ms_win_core_version_private_l1_1_0
20200 wine_fn_config_makefile dlls/api-ms-win-core-versionansi-l1-1-0 enable_api_ms_win_core_versionansi_l1_1_0
20201 wine_fn_config_makefile dlls/api-ms-win-core-windowserrorreporting-l1-1-0 enable_api_ms_win_core_windowserrorreporting_l1_1_0
20202 wine_fn_config_makefile dlls/api-ms-win-core-winrt-error-l1-1-0 enable_api_ms_win_core_winrt_error_l1_1_0
20203 wine_fn_config_makefile dlls/api-ms-win-core-winrt-error-l1-1-1 enable_api_ms_win_core_winrt_error_l1_1_1
20204 wine_fn_config_makefile dlls/api-ms-win-core-winrt-errorprivate-l1-1-1 enable_api_ms_win_core_winrt_errorprivate_l1_1_1
20205 wine_fn_config_makefile dlls/api-ms-win-core-winrt-l1-1-0 enable_api_ms_win_core_winrt_l1_1_0
20206 wine_fn_config_makefile dlls/api-ms-win-core-winrt-registration-l1-1-0 enable_api_ms_win_core_winrt_registration_l1_1_0
20207 wine_fn_config_makefile dlls/api-ms-win-core-winrt-roparameterizediid-l1-1-0 enable_api_ms_win_core_winrt_roparameterizediid_l1_1_0
20208 wine_fn_config_makefile dlls/api-ms-win-core-winrt-string-l1-1-0 enable_api_ms_win_core_winrt_string_l1_1_0
20209 wine_fn_config_makefile dlls/api-ms-win-core-winrt-string-l1-1-1 enable_api_ms_win_core_winrt_string_l1_1_1
20210 wine_fn_config_makefile dlls/api-ms-win-core-wow64-l1-1-0 enable_api_ms_win_core_wow64_l1_1_0
20211 wine_fn_config_makefile dlls/api-ms-win-core-wow64-l1-1-1 enable_api_ms_win_core_wow64_l1_1_1
20212 wine_fn_config_makefile dlls/api-ms-win-core-xstate-l1-1-0 enable_api_ms_win_core_xstate_l1_1_0
20213 wine_fn_config_makefile dlls/api-ms-win-core-xstate-l2-1-0 enable_api_ms_win_core_xstate_l2_1_0
20214 wine_fn_config_makefile dlls/api-ms-win-crt-conio-l1-1-0 enable_api_ms_win_crt_conio_l1_1_0
20215 wine_fn_config_makefile dlls/api-ms-win-crt-convert-l1-1-0 enable_api_ms_win_crt_convert_l1_1_0
20216 wine_fn_config_makefile dlls/api-ms-win-crt-environment-l1-1-0 enable_api_ms_win_crt_environment_l1_1_0
20217 wine_fn_config_makefile dlls/api-ms-win-crt-filesystem-l1-1-0 enable_api_ms_win_crt_filesystem_l1_1_0
20218 wine_fn_config_makefile dlls/api-ms-win-crt-heap-l1-1-0 enable_api_ms_win_crt_heap_l1_1_0
20219 wine_fn_config_makefile dlls/api-ms-win-crt-locale-l1-1-0 enable_api_ms_win_crt_locale_l1_1_0
20220 wine_fn_config_makefile dlls/api-ms-win-crt-math-l1-1-0 enable_api_ms_win_crt_math_l1_1_0
20221 wine_fn_config_makefile dlls/api-ms-win-crt-multibyte-l1-1-0 enable_api_ms_win_crt_multibyte_l1_1_0
20222 wine_fn_config_makefile dlls/api-ms-win-crt-private-l1-1-0 enable_api_ms_win_crt_private_l1_1_0
20223 wine_fn_config_makefile dlls/api-ms-win-crt-process-l1-1-0 enable_api_ms_win_crt_process_l1_1_0
20224 wine_fn_config_makefile dlls/api-ms-win-crt-runtime-l1-1-0 enable_api_ms_win_crt_runtime_l1_1_0
20225 wine_fn_config_makefile dlls/api-ms-win-crt-stdio-l1-1-0 enable_api_ms_win_crt_stdio_l1_1_0
20226 wine_fn_config_makefile dlls/api-ms-win-crt-string-l1-1-0 enable_api_ms_win_crt_string_l1_1_0
20227 wine_fn_config_makefile dlls/api-ms-win-crt-time-l1-1-0 enable_api_ms_win_crt_time_l1_1_0
20228 wine_fn_config_makefile dlls/api-ms-win-crt-utility-l1-1-0 enable_api_ms_win_crt_utility_l1_1_0
20229 wine_fn_config_makefile dlls/api-ms-win-devices-config-l1-1-0 enable_api_ms_win_devices_config_l1_1_0
20230 wine_fn_config_makefile dlls/api-ms-win-devices-config-l1-1-1 enable_api_ms_win_devices_config_l1_1_1
20231 wine_fn_config_makefile dlls/api-ms-win-devices-query-l1-1-1 enable_api_ms_win_devices_query_l1_1_1
20232 wine_fn_config_makefile dlls/api-ms-win-downlevel-advapi32-l1-1-0 enable_api_ms_win_downlevel_advapi32_l1_1_0
20233 wine_fn_config_makefile dlls/api-ms-win-downlevel-advapi32-l2-1-0 enable_api_ms_win_downlevel_advapi32_l2_1_0
20234 wine_fn_config_makefile dlls/api-ms-win-downlevel-kernel32-l2-1-0 enable_api_ms_win_downlevel_kernel32_l2_1_0
20235 wine_fn_config_makefile dlls/api-ms-win-downlevel-normaliz-l1-1-0 enable_api_ms_win_downlevel_normaliz_l1_1_0
20236 wine_fn_config_makefile dlls/api-ms-win-downlevel-ole32-l1-1-0 enable_api_ms_win_downlevel_ole32_l1_1_0
20237 wine_fn_config_makefile dlls/api-ms-win-downlevel-shell32-l1-1-0 enable_api_ms_win_downlevel_shell32_l1_1_0
20238 wine_fn_config_makefile dlls/api-ms-win-downlevel-shlwapi-l1-1-0 enable_api_ms_win_downlevel_shlwapi_l1_1_0
20239 wine_fn_config_makefile dlls/api-ms-win-downlevel-shlwapi-l2-1-0 enable_api_ms_win_downlevel_shlwapi_l2_1_0
20240 wine_fn_config_makefile dlls/api-ms-win-downlevel-user32-l1-1-0 enable_api_ms_win_downlevel_user32_l1_1_0
20241 wine_fn_config_makefile dlls/api-ms-win-downlevel-version-l1-1-0 enable_api_ms_win_downlevel_version_l1_1_0
20242 wine_fn_config_makefile dlls/api-ms-win-dx-d3dkmt-l1-1-0 enable_api_ms_win_dx_d3dkmt_l1_1_0
20243 wine_fn_config_makefile dlls/api-ms-win-eventing-classicprovider-l1-1-0 enable_api_ms_win_eventing_classicprovider_l1_1_0
20244 wine_fn_config_makefile dlls/api-ms-win-eventing-consumer-l1-1-0 enable_api_ms_win_eventing_consumer_l1_1_0
20245 wine_fn_config_makefile dlls/api-ms-win-eventing-controller-l1-1-0 enable_api_ms_win_eventing_controller_l1_1_0
20246 wine_fn_config_makefile dlls/api-ms-win-eventing-legacy-l1-1-0 enable_api_ms_win_eventing_legacy_l1_1_0
20247 wine_fn_config_makefile dlls/api-ms-win-eventing-provider-l1-1-0 enable_api_ms_win_eventing_provider_l1_1_0
20248 wine_fn_config_makefile dlls/api-ms-win-eventlog-legacy-l1-1-0 enable_api_ms_win_eventlog_legacy_l1_1_0
20249 wine_fn_config_makefile dlls/api-ms-win-gdi-dpiinfo-l1-1-0 enable_api_ms_win_gdi_dpiinfo_l1_1_0
20250 wine_fn_config_makefile dlls/api-ms-win-mm-joystick-l1-1-0 enable_api_ms_win_mm_joystick_l1_1_0
20251 wine_fn_config_makefile dlls/api-ms-win-mm-misc-l1-1-1 enable_api_ms_win_mm_misc_l1_1_1
20252 wine_fn_config_makefile dlls/api-ms-win-mm-mme-l1-1-0 enable_api_ms_win_mm_mme_l1_1_0
20253 wine_fn_config_makefile dlls/api-ms-win-mm-time-l1-1-0 enable_api_ms_win_mm_time_l1_1_0
20254 wine_fn_config_makefile dlls/api-ms-win-ntuser-dc-access-l1-1-0 enable_api_ms_win_ntuser_dc_access_l1_1_0
20255 wine_fn_config_makefile dlls/api-ms-win-ntuser-rectangle-l1-1-0 enable_api_ms_win_ntuser_rectangle_l1_1_0
20256 wine_fn_config_makefile dlls/api-ms-win-ntuser-sysparams-l1-1-0 enable_api_ms_win_ntuser_sysparams_l1_1_0
20257 wine_fn_config_makefile dlls/api-ms-win-perf-legacy-l1-1-0 enable_api_ms_win_perf_legacy_l1_1_0
20258 wine_fn_config_makefile dlls/api-ms-win-power-base-l1-1-0 enable_api_ms_win_power_base_l1_1_0
20259 wine_fn_config_makefile dlls/api-ms-win-power-setting-l1-1-0 enable_api_ms_win_power_setting_l1_1_0
20260 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-draw-l1-1-0 enable_api_ms_win_rtcore_ntuser_draw_l1_1_0
20261 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-private-l1-1-0 enable_api_ms_win_rtcore_ntuser_private_l1_1_0
20262 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-private-l1-1-4 enable_api_ms_win_rtcore_ntuser_private_l1_1_4
20263 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-window-l1-1-0 enable_api_ms_win_rtcore_ntuser_window_l1_1_0
20264 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-winevent-l1-1-0 enable_api_ms_win_rtcore_ntuser_winevent_l1_1_0
20265 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-wmpointer-l1-1-0 enable_api_ms_win_rtcore_ntuser_wmpointer_l1_1_0
20266 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-wmpointer-l1-1-3 enable_api_ms_win_rtcore_ntuser_wmpointer_l1_1_3
20267 wine_fn_config_makefile dlls/api-ms-win-security-activedirectoryclient-l1-1-0 enable_api_ms_win_security_activedirectoryclient_l1_1_0
20268 wine_fn_config_makefile dlls/api-ms-win-security-audit-l1-1-1 enable_api_ms_win_security_audit_l1_1_1
20269 wine_fn_config_makefile dlls/api-ms-win-security-base-l1-1-0 enable_api_ms_win_security_base_l1_1_0
20270 wine_fn_config_makefile dlls/api-ms-win-security-base-l1-2-0 enable_api_ms_win_security_base_l1_2_0
20271 wine_fn_config_makefile dlls/api-ms-win-security-base-private-l1-1-1 enable_api_ms_win_security_base_private_l1_1_1
20272 wine_fn_config_makefile dlls/api-ms-win-security-credentials-l1-1-0 enable_api_ms_win_security_credentials_l1_1_0
20273 wine_fn_config_makefile dlls/api-ms-win-security-cryptoapi-l1-1-0 enable_api_ms_win_security_cryptoapi_l1_1_0
20274 wine_fn_config_makefile dlls/api-ms-win-security-grouppolicy-l1-1-0 enable_api_ms_win_security_grouppolicy_l1_1_0
20275 wine_fn_config_makefile dlls/api-ms-win-security-lsalookup-l1-1-0 enable_api_ms_win_security_lsalookup_l1_1_0
20276 wine_fn_config_makefile dlls/api-ms-win-security-lsalookup-l1-1-1 enable_api_ms_win_security_lsalookup_l1_1_1
20277 wine_fn_config_makefile dlls/api-ms-win-security-lsalookup-l2-1-0 enable_api_ms_win_security_lsalookup_l2_1_0
20278 wine_fn_config_makefile dlls/api-ms-win-security-lsalookup-l2-1-1 enable_api_ms_win_security_lsalookup_l2_1_1
20279 wine_fn_config_makefile dlls/api-ms-win-security-lsapolicy-l1-1-0 enable_api_ms_win_security_lsapolicy_l1_1_0
20280 wine_fn_config_makefile dlls/api-ms-win-security-provider-l1-1-0 enable_api_ms_win_security_provider_l1_1_0
20281 wine_fn_config_makefile dlls/api-ms-win-security-sddl-l1-1-0 enable_api_ms_win_security_sddl_l1_1_0
20282 wine_fn_config_makefile dlls/api-ms-win-security-systemfunctions-l1-1-0 enable_api_ms_win_security_systemfunctions_l1_1_0
20283 wine_fn_config_makefile dlls/api-ms-win-service-core-l1-1-0 enable_api_ms_win_service_core_l1_1_0
20284 wine_fn_config_makefile dlls/api-ms-win-service-core-l1-1-1 enable_api_ms_win_service_core_l1_1_1
20285 wine_fn_config_makefile dlls/api-ms-win-service-management-l1-1-0 enable_api_ms_win_service_management_l1_1_0
20286 wine_fn_config_makefile dlls/api-ms-win-service-management-l2-1-0 enable_api_ms_win_service_management_l2_1_0
20287 wine_fn_config_makefile dlls/api-ms-win-service-private-l1-1-1 enable_api_ms_win_service_private_l1_1_1
20288 wine_fn_config_makefile dlls/api-ms-win-service-winsvc-l1-1-0 enable_api_ms_win_service_winsvc_l1_1_0
20289 wine_fn_config_makefile dlls/api-ms-win-service-winsvc-l1-2-0 enable_api_ms_win_service_winsvc_l1_2_0
20290 wine_fn_config_makefile dlls/api-ms-win-shcore-obsolete-l1-1-0 enable_api_ms_win_shcore_obsolete_l1_1_0
20291 wine_fn_config_makefile dlls/api-ms-win-shcore-scaling-l1-1-1 enable_api_ms_win_shcore_scaling_l1_1_1
20292 wine_fn_config_makefile dlls/api-ms-win-shcore-stream-l1-1-0 enable_api_ms_win_shcore_stream_l1_1_0
20293 wine_fn_config_makefile dlls/api-ms-win-shcore-thread-l1-1-0 enable_api_ms_win_shcore_thread_l1_1_0
20294 wine_fn_config_makefile dlls/api-ms-win-shell-shellcom-l1-1-0 enable_api_ms_win_shell_shellcom_l1_1_0
20295 wine_fn_config_makefile dlls/api-ms-win-shell-shellfolders-l1-1-0 enable_api_ms_win_shell_shellfolders_l1_1_0
20296 wine_fn_config_makefile dlls/apphelp enable_apphelp
20297 wine_fn_config_makefile dlls/apphelp/tests enable_tests
20298 wine_fn_config_makefile dlls/appwiz.cpl enable_appwiz_cpl
20299 wine_fn_config_makefile dlls/atl enable_atl
20300 wine_fn_config_makefile dlls/atl/tests enable_tests
20301 wine_fn_config_makefile dlls/atl100 enable_atl100
20302 wine_fn_config_makefile dlls/atl100/tests enable_tests
20303 wine_fn_config_makefile dlls/atl110 enable_atl110
20304 wine_fn_config_makefile dlls/atl80 enable_atl80
20305 wine_fn_config_makefile dlls/atl80/tests enable_tests
20306 wine_fn_config_makefile dlls/atl90 enable_atl90
20307 wine_fn_config_makefile dlls/atlthunk enable_atlthunk
20308 wine_fn_config_makefile dlls/atlthunk/tests enable_tests
20309 wine_fn_config_makefile dlls/atmlib enable_atmlib
20310 wine_fn_config_makefile dlls/authz enable_authz
20311 wine_fn_config_makefile dlls/avicap32 enable_avicap32
20312 wine_fn_config_makefile dlls/avifil32 enable_avifil32
20313 wine_fn_config_makefile dlls/avifil32/tests enable_tests
20314 wine_fn_config_makefile dlls/avifile.dll16 enable_win16
20315 wine_fn_config_makefile dlls/avrt enable_avrt
20316 wine_fn_config_makefile dlls/bcrypt enable_bcrypt
20317 wine_fn_config_makefile dlls/bcrypt/tests enable_tests
20318 wine_fn_config_makefile dlls/bluetoothapis enable_bluetoothapis
20319 wine_fn_config_makefile dlls/browseui enable_browseui
20320 wine_fn_config_makefile dlls/browseui/tests enable_tests
20321 wine_fn_config_makefile dlls/bthprops.cpl enable_bthprops_cpl
20322 wine_fn_config_makefile dlls/cabinet enable_cabinet
20323 wine_fn_config_makefile dlls/cabinet/tests enable_tests
20324 wine_fn_config_makefile dlls/capi2032 enable_capi2032
20325 wine_fn_config_makefile dlls/cards enable_cards
20326 wine_fn_config_makefile dlls/cdosys enable_cdosys
20327 wine_fn_config_makefile dlls/cfgmgr32 enable_cfgmgr32
20328 wine_fn_config_makefile dlls/clusapi enable_clusapi
20329 wine_fn_config_makefile dlls/combase enable_combase
20330 wine_fn_config_makefile dlls/combase/tests enable_tests
20331 wine_fn_config_makefile dlls/comcat enable_comcat
20332 wine_fn_config_makefile dlls/comcat/tests enable_tests
20333 wine_fn_config_makefile dlls/comctl32 enable_comctl32
20334 wine_fn_config_makefile dlls/comctl32/tests enable_tests
20335 wine_fn_config_makefile dlls/comdlg32 enable_comdlg32
20336 wine_fn_config_makefile dlls/comdlg32/tests enable_tests
20337 wine_fn_config_makefile dlls/comm.drv16 enable_win16
20338 wine_fn_config_makefile dlls/commdlg.dll16 enable_win16
20339 wine_fn_config_makefile dlls/compobj.dll16 enable_win16
20340 wine_fn_config_makefile dlls/compstui enable_compstui
20341 wine_fn_config_makefile dlls/comsvcs enable_comsvcs
20342 wine_fn_config_makefile dlls/comsvcs/tests enable_tests
20343 wine_fn_config_makefile dlls/concrt140 enable_concrt140
20344 wine_fn_config_makefile dlls/concrt140/tests enable_tests
20345 wine_fn_config_makefile dlls/connect enable_connect
20346 wine_fn_config_makefile dlls/credui enable_credui
20347 wine_fn_config_makefile dlls/credui/tests enable_tests
20348 wine_fn_config_makefile dlls/crtdll enable_crtdll
20349 wine_fn_config_makefile dlls/crypt32 enable_crypt32
20350 wine_fn_config_makefile dlls/crypt32/tests enable_tests
20351 wine_fn_config_makefile dlls/cryptdlg enable_cryptdlg
20352 wine_fn_config_makefile dlls/cryptdll enable_cryptdll
20353 wine_fn_config_makefile dlls/cryptext enable_cryptext
20354 wine_fn_config_makefile dlls/cryptnet enable_cryptnet
20355 wine_fn_config_makefile dlls/cryptnet/tests enable_tests
20356 wine_fn_config_makefile dlls/cryptsp enable_cryptsp
20357 wine_fn_config_makefile dlls/cryptui enable_cryptui
20358 wine_fn_config_makefile dlls/cryptui/tests enable_tests
20359 wine_fn_config_makefile dlls/ctapi32 enable_ctapi32
20360 wine_fn_config_makefile dlls/ctl3d.dll16 enable_win16
20361 wine_fn_config_makefile dlls/ctl3d32 enable_ctl3d32
20362 wine_fn_config_makefile dlls/ctl3dv2.dll16 enable_win16
20363 wine_fn_config_makefile dlls/d2d1 enable_d2d1
20364 wine_fn_config_makefile dlls/d2d1/tests enable_tests
20365 wine_fn_config_makefile dlls/d3d10 enable_d3d10
20366 wine_fn_config_makefile dlls/d3d10/tests enable_tests
20367 wine_fn_config_makefile dlls/d3d10_1 enable_d3d10_1
20368 wine_fn_config_makefile dlls/d3d10_1/tests enable_tests
20369 wine_fn_config_makefile dlls/d3d10core enable_d3d10core
20370 wine_fn_config_makefile dlls/d3d10core/tests enable_tests
20371 wine_fn_config_makefile dlls/d3d11 enable_d3d11
20372 wine_fn_config_makefile dlls/d3d11/tests enable_tests
20373 wine_fn_config_makefile dlls/d3d12 enable_d3d12
20374 wine_fn_config_makefile dlls/d3d12/tests enable_tests
20375 wine_fn_config_makefile dlls/d3d8 enable_d3d8
20376 wine_fn_config_makefile dlls/d3d8/tests enable_tests
20377 wine_fn_config_makefile dlls/d3d8thk enable_d3d8thk
20378 wine_fn_config_makefile dlls/d3d9 enable_d3d9
20379 wine_fn_config_makefile dlls/d3d9/tests enable_tests
20380 wine_fn_config_makefile dlls/d3dcompiler_33 enable_d3dcompiler_33
20381 wine_fn_config_makefile dlls/d3dcompiler_34 enable_d3dcompiler_34
20382 wine_fn_config_makefile dlls/d3dcompiler_35 enable_d3dcompiler_35
20383 wine_fn_config_makefile dlls/d3dcompiler_36 enable_d3dcompiler_36
20384 wine_fn_config_makefile dlls/d3dcompiler_37 enable_d3dcompiler_37
20385 wine_fn_config_makefile dlls/d3dcompiler_38 enable_d3dcompiler_38
20386 wine_fn_config_makefile dlls/d3dcompiler_39 enable_d3dcompiler_39
20387 wine_fn_config_makefile dlls/d3dcompiler_40 enable_d3dcompiler_40
20388 wine_fn_config_makefile dlls/d3dcompiler_41 enable_d3dcompiler_41
20389 wine_fn_config_makefile dlls/d3dcompiler_42 enable_d3dcompiler_42
20390 wine_fn_config_makefile dlls/d3dcompiler_43 enable_d3dcompiler_43
20391 wine_fn_config_makefile dlls/d3dcompiler_43/tests enable_tests
20392 wine_fn_config_makefile dlls/d3dcompiler_46 enable_d3dcompiler_46
20393 wine_fn_config_makefile dlls/d3dcompiler_47 enable_d3dcompiler_47
20394 wine_fn_config_makefile dlls/d3dcompiler_47/tests enable_tests
20395 wine_fn_config_makefile dlls/d3dim enable_d3dim
20396 wine_fn_config_makefile dlls/d3dim700 enable_d3dim700
20397 wine_fn_config_makefile dlls/d3drm enable_d3drm
20398 wine_fn_config_makefile dlls/d3drm/tests enable_tests
20399 wine_fn_config_makefile dlls/d3dx10_33 enable_d3dx10_33
20400 wine_fn_config_makefile dlls/d3dx10_34 enable_d3dx10_34
20401 wine_fn_config_makefile dlls/d3dx10_35 enable_d3dx10_35
20402 wine_fn_config_makefile dlls/d3dx10_36 enable_d3dx10_36
20403 wine_fn_config_makefile dlls/d3dx10_37 enable_d3dx10_37
20404 wine_fn_config_makefile dlls/d3dx10_38 enable_d3dx10_38
20405 wine_fn_config_makefile dlls/d3dx10_39 enable_d3dx10_39
20406 wine_fn_config_makefile dlls/d3dx10_40 enable_d3dx10_40
20407 wine_fn_config_makefile dlls/d3dx10_41 enable_d3dx10_41
20408 wine_fn_config_makefile dlls/d3dx10_42 enable_d3dx10_42
20409 wine_fn_config_makefile dlls/d3dx10_43 enable_d3dx10_43
20410 wine_fn_config_makefile dlls/d3dx10_43/tests enable_tests
20411 wine_fn_config_makefile dlls/d3dx11_42 enable_d3dx11_42
20412 wine_fn_config_makefile dlls/d3dx11_43 enable_d3dx11_43
20413 wine_fn_config_makefile dlls/d3dx11_43/tests enable_tests
20414 wine_fn_config_makefile dlls/d3dx9_24 enable_d3dx9_24
20415 wine_fn_config_makefile dlls/d3dx9_25 enable_d3dx9_25
20416 wine_fn_config_makefile dlls/d3dx9_26 enable_d3dx9_26
20417 wine_fn_config_makefile dlls/d3dx9_27 enable_d3dx9_27
20418 wine_fn_config_makefile dlls/d3dx9_28 enable_d3dx9_28
20419 wine_fn_config_makefile dlls/d3dx9_29 enable_d3dx9_29
20420 wine_fn_config_makefile dlls/d3dx9_30 enable_d3dx9_30
20421 wine_fn_config_makefile dlls/d3dx9_31 enable_d3dx9_31
20422 wine_fn_config_makefile dlls/d3dx9_32 enable_d3dx9_32
20423 wine_fn_config_makefile dlls/d3dx9_33 enable_d3dx9_33
20424 wine_fn_config_makefile dlls/d3dx9_34 enable_d3dx9_34
20425 wine_fn_config_makefile dlls/d3dx9_35 enable_d3dx9_35
20426 wine_fn_config_makefile dlls/d3dx9_36 enable_d3dx9_36
20427 wine_fn_config_makefile dlls/d3dx9_36/tests enable_tests
20428 wine_fn_config_makefile dlls/d3dx9_37 enable_d3dx9_37
20429 wine_fn_config_makefile dlls/d3dx9_38 enable_d3dx9_38
20430 wine_fn_config_makefile dlls/d3dx9_39 enable_d3dx9_39
20431 wine_fn_config_makefile dlls/d3dx9_40 enable_d3dx9_40
20432 wine_fn_config_makefile dlls/d3dx9_41 enable_d3dx9_41
20433 wine_fn_config_makefile dlls/d3dx9_42 enable_d3dx9_42
20434 wine_fn_config_makefile dlls/d3dx9_43 enable_d3dx9_43
20435 wine_fn_config_makefile dlls/d3dxof enable_d3dxof
20436 wine_fn_config_makefile dlls/d3dxof/tests enable_tests
20437 wine_fn_config_makefile dlls/davclnt enable_davclnt
20438 wine_fn_config_makefile dlls/dbgeng enable_dbgeng
20439 wine_fn_config_makefile dlls/dbgeng/tests enable_tests
20440 wine_fn_config_makefile dlls/dbghelp enable_dbghelp
20441 wine_fn_config_makefile dlls/dbghelp/tests enable_tests
20442 wine_fn_config_makefile dlls/dciman32 enable_dciman32
20443 wine_fn_config_makefile dlls/dcomp enable_dcomp
20444 wine_fn_config_makefile dlls/ddeml.dll16 enable_win16
20445 wine_fn_config_makefile dlls/ddraw enable_ddraw
20446 wine_fn_config_makefile dlls/ddraw/tests enable_tests
20447 wine_fn_config_makefile dlls/ddrawex enable_ddrawex
20448 wine_fn_config_makefile dlls/ddrawex/tests enable_tests
20449 wine_fn_config_makefile dlls/devenum enable_devenum
20450 wine_fn_config_makefile dlls/devenum/tests enable_tests
20451 wine_fn_config_makefile dlls/dhcpcsvc enable_dhcpcsvc
20452 wine_fn_config_makefile dlls/dhcpcsvc/tests enable_tests
20453 wine_fn_config_makefile dlls/dhtmled.ocx enable_dhtmled_ocx
20454 wine_fn_config_makefile dlls/difxapi enable_difxapi
20455 wine_fn_config_makefile dlls/dinput enable_dinput
20456 wine_fn_config_makefile dlls/dinput/tests enable_tests
20457 wine_fn_config_makefile dlls/dinput8 enable_dinput8
20458 wine_fn_config_makefile dlls/dinput8/tests enable_tests
20459 wine_fn_config_makefile dlls/directmanipulation enable_directmanipulation
20460 wine_fn_config_makefile dlls/directmanipulation/tests enable_tests
20461 wine_fn_config_makefile dlls/dispdib.dll16 enable_win16
20462 wine_fn_config_makefile dlls/dispex enable_dispex
20463 wine_fn_config_makefile dlls/dispex/tests enable_tests
20464 wine_fn_config_makefile dlls/display.drv16 enable_win16
20465 wine_fn_config_makefile dlls/dmband enable_dmband
20466 wine_fn_config_makefile dlls/dmband/tests enable_tests
20467 wine_fn_config_makefile dlls/dmcompos enable_dmcompos
20468 wine_fn_config_makefile dlls/dmcompos/tests enable_tests
20469 wine_fn_config_makefile dlls/dmime enable_dmime
20470 wine_fn_config_makefile dlls/dmime/tests enable_tests
20471 wine_fn_config_makefile dlls/dmloader enable_dmloader
20472 wine_fn_config_makefile dlls/dmloader/tests enable_tests
20473 wine_fn_config_makefile dlls/dmoguids enable_dmoguids
20474 wine_fn_config_makefile dlls/dmscript enable_dmscript
20475 wine_fn_config_makefile dlls/dmscript/tests enable_tests
20476 wine_fn_config_makefile dlls/dmstyle enable_dmstyle
20477 wine_fn_config_makefile dlls/dmstyle/tests enable_tests
20478 wine_fn_config_makefile dlls/dmsynth enable_dmsynth
20479 wine_fn_config_makefile dlls/dmsynth/tests enable_tests
20480 wine_fn_config_makefile dlls/dmusic enable_dmusic
20481 wine_fn_config_makefile dlls/dmusic/tests enable_tests
20482 wine_fn_config_makefile dlls/dmusic32 enable_dmusic32
20483 wine_fn_config_makefile dlls/dnsapi enable_dnsapi
20484 wine_fn_config_makefile dlls/dnsapi/tests enable_tests
20485 wine_fn_config_makefile dlls/dplay enable_dplay
20486 wine_fn_config_makefile dlls/dplayx enable_dplayx
20487 wine_fn_config_makefile dlls/dplayx/tests enable_tests
20488 wine_fn_config_makefile dlls/dpnaddr enable_dpnaddr
20489 wine_fn_config_makefile dlls/dpnet enable_dpnet
20490 wine_fn_config_makefile dlls/dpnet/tests enable_tests
20491 wine_fn_config_makefile dlls/dpnhpast enable_dpnhpast
20492 wine_fn_config_makefile dlls/dpnlobby enable_dpnlobby
20493 wine_fn_config_makefile dlls/dpvoice enable_dpvoice
20494 wine_fn_config_makefile dlls/dpvoice/tests enable_tests
20495 wine_fn_config_makefile dlls/dpwsockx enable_dpwsockx
20496 wine_fn_config_makefile dlls/drmclien enable_drmclien
20497 wine_fn_config_makefile dlls/dsdmo enable_dsdmo
20498 wine_fn_config_makefile dlls/dsdmo/tests enable_tests
20499 wine_fn_config_makefile dlls/dsound enable_dsound
20500 wine_fn_config_makefile dlls/dsound/tests enable_tests
20501 wine_fn_config_makefile dlls/dsquery enable_dsquery
20502 wine_fn_config_makefile dlls/dssenh enable_dssenh
20503 wine_fn_config_makefile dlls/dssenh/tests enable_tests
20504 wine_fn_config_makefile dlls/dsuiext enable_dsuiext
20505 wine_fn_config_makefile dlls/dswave enable_dswave
20506 wine_fn_config_makefile dlls/dswave/tests enable_tests
20507 wine_fn_config_makefile dlls/dwmapi enable_dwmapi
20508 wine_fn_config_makefile dlls/dwmapi/tests enable_tests
20509 wine_fn_config_makefile dlls/dwrite enable_dwrite
20510 wine_fn_config_makefile dlls/dwrite/tests enable_tests
20511 wine_fn_config_makefile dlls/dx8vb enable_dx8vb
20512 wine_fn_config_makefile dlls/dxdiagn enable_dxdiagn
20513 wine_fn_config_makefile dlls/dxdiagn/tests enable_tests
20514 wine_fn_config_makefile dlls/dxerr8 enable_dxerr8
20515 wine_fn_config_makefile dlls/dxerr9 enable_dxerr9
20516 wine_fn_config_makefile dlls/dxgi enable_dxgi
20517 wine_fn_config_makefile dlls/dxgi/tests enable_tests
20518 wine_fn_config_makefile dlls/dxguid enable_dxguid
20519 wine_fn_config_makefile dlls/dxva2 enable_dxva2
20520 wine_fn_config_makefile dlls/dxva2/tests enable_tests
20521 wine_fn_config_makefile dlls/esent enable_esent
20522 wine_fn_config_makefile dlls/evr enable_evr
20523 wine_fn_config_makefile dlls/evr/tests enable_tests
20524 wine_fn_config_makefile dlls/explorerframe enable_explorerframe
20525 wine_fn_config_makefile dlls/explorerframe/tests enable_tests
20526 wine_fn_config_makefile dlls/ext-ms-win-authz-context-l1-1-0 enable_ext_ms_win_authz_context_l1_1_0
20527 wine_fn_config_makefile dlls/ext-ms-win-domainjoin-netjoin-l1-1-0 enable_ext_ms_win_domainjoin_netjoin_l1_1_0
20528 wine_fn_config_makefile dlls/ext-ms-win-dwmapi-ext-l1-1-0 enable_ext_ms_win_dwmapi_ext_l1_1_0
20529 wine_fn_config_makefile dlls/ext-ms-win-gdi-dc-create-l1-1-0 enable_ext_ms_win_gdi_dc_create_l1_1_0
20530 wine_fn_config_makefile dlls/ext-ms-win-gdi-dc-create-l1-1-1 enable_ext_ms_win_gdi_dc_create_l1_1_1
20531 wine_fn_config_makefile dlls/ext-ms-win-gdi-dc-l1-2-0 enable_ext_ms_win_gdi_dc_l1_2_0
20532 wine_fn_config_makefile dlls/ext-ms-win-gdi-devcaps-l1-1-0 enable_ext_ms_win_gdi_devcaps_l1_1_0
20533 wine_fn_config_makefile dlls/ext-ms-win-gdi-draw-l1-1-0 enable_ext_ms_win_gdi_draw_l1_1_0
20534 wine_fn_config_makefile dlls/ext-ms-win-gdi-draw-l1-1-1 enable_ext_ms_win_gdi_draw_l1_1_1
20535 wine_fn_config_makefile dlls/ext-ms-win-gdi-font-l1-1-0 enable_ext_ms_win_gdi_font_l1_1_0
20536 wine_fn_config_makefile dlls/ext-ms-win-gdi-font-l1-1-1 enable_ext_ms_win_gdi_font_l1_1_1
20537 wine_fn_config_makefile dlls/ext-ms-win-gdi-render-l1-1-0 enable_ext_ms_win_gdi_render_l1_1_0
20538 wine_fn_config_makefile dlls/ext-ms-win-kernel32-package-current-l1-1-0 enable_ext_ms_win_kernel32_package_current_l1_1_0
20539 wine_fn_config_makefile dlls/ext-ms-win-kernel32-package-l1-1-1 enable_ext_ms_win_kernel32_package_l1_1_1
20540 wine_fn_config_makefile dlls/ext-ms-win-ntuser-dialogbox-l1-1-0 enable_ext_ms_win_ntuser_dialogbox_l1_1_0
20541 wine_fn_config_makefile dlls/ext-ms-win-ntuser-draw-l1-1-0 enable_ext_ms_win_ntuser_draw_l1_1_0
20542 wine_fn_config_makefile dlls/ext-ms-win-ntuser-gui-l1-1-0 enable_ext_ms_win_ntuser_gui_l1_1_0
20543 wine_fn_config_makefile dlls/ext-ms-win-ntuser-gui-l1-3-0 enable_ext_ms_win_ntuser_gui_l1_3_0
20544 wine_fn_config_makefile dlls/ext-ms-win-ntuser-keyboard-l1-3-0 enable_ext_ms_win_ntuser_keyboard_l1_3_0
20545 wine_fn_config_makefile dlls/ext-ms-win-ntuser-message-l1-1-0 enable_ext_ms_win_ntuser_message_l1_1_0
20546 wine_fn_config_makefile dlls/ext-ms-win-ntuser-message-l1-1-1 enable_ext_ms_win_ntuser_message_l1_1_1
20547 wine_fn_config_makefile dlls/ext-ms-win-ntuser-misc-l1-1-0 enable_ext_ms_win_ntuser_misc_l1_1_0
20548 wine_fn_config_makefile dlls/ext-ms-win-ntuser-misc-l1-2-0 enable_ext_ms_win_ntuser_misc_l1_2_0
20549 wine_fn_config_makefile dlls/ext-ms-win-ntuser-misc-l1-5-1 enable_ext_ms_win_ntuser_misc_l1_5_1
20550 wine_fn_config_makefile dlls/ext-ms-win-ntuser-mouse-l1-1-0 enable_ext_ms_win_ntuser_mouse_l1_1_0
20551 wine_fn_config_makefile dlls/ext-ms-win-ntuser-private-l1-1-1 enable_ext_ms_win_ntuser_private_l1_1_1
20552 wine_fn_config_makefile dlls/ext-ms-win-ntuser-private-l1-3-1 enable_ext_ms_win_ntuser_private_l1_3_1
20553 wine_fn_config_makefile dlls/ext-ms-win-ntuser-rectangle-ext-l1-1-0 enable_ext_ms_win_ntuser_rectangle_ext_l1_1_0
20554 wine_fn_config_makefile dlls/ext-ms-win-ntuser-uicontext-ext-l1-1-0 enable_ext_ms_win_ntuser_uicontext_ext_l1_1_0
20555 wine_fn_config_makefile dlls/ext-ms-win-ntuser-window-l1-1-0 enable_ext_ms_win_ntuser_window_l1_1_0
20556 wine_fn_config_makefile dlls/ext-ms-win-ntuser-window-l1-1-1 enable_ext_ms_win_ntuser_window_l1_1_1
20557 wine_fn_config_makefile dlls/ext-ms-win-ntuser-window-l1-1-4 enable_ext_ms_win_ntuser_window_l1_1_4
20558 wine_fn_config_makefile dlls/ext-ms-win-ntuser-windowclass-l1-1-0 enable_ext_ms_win_ntuser_windowclass_l1_1_0
20559 wine_fn_config_makefile dlls/ext-ms-win-ntuser-windowclass-l1-1-1 enable_ext_ms_win_ntuser_windowclass_l1_1_1
20560 wine_fn_config_makefile dlls/ext-ms-win-oleacc-l1-1-0 enable_ext_ms_win_oleacc_l1_1_0
20561 wine_fn_config_makefile dlls/ext-ms-win-ras-rasapi32-l1-1-0 enable_ext_ms_win_ras_rasapi32_l1_1_0
20562 wine_fn_config_makefile dlls/ext-ms-win-rtcore-gdi-devcaps-l1-1-0 enable_ext_ms_win_rtcore_gdi_devcaps_l1_1_0
20563 wine_fn_config_makefile dlls/ext-ms-win-rtcore-gdi-object-l1-1-0 enable_ext_ms_win_rtcore_gdi_object_l1_1_0
20564 wine_fn_config_makefile dlls/ext-ms-win-rtcore-gdi-rgn-l1-1-0 enable_ext_ms_win_rtcore_gdi_rgn_l1_1_0
20565 wine_fn_config_makefile dlls/ext-ms-win-rtcore-ntuser-cursor-l1-1-0 enable_ext_ms_win_rtcore_ntuser_cursor_l1_1_0
20566 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
20567 wine_fn_config_makefile dlls/ext-ms-win-rtcore-ntuser-dpi-l1-1-0 enable_ext_ms_win_rtcore_ntuser_dpi_l1_1_0
20568 wine_fn_config_makefile dlls/ext-ms-win-rtcore-ntuser-dpi-l1-2-0 enable_ext_ms_win_rtcore_ntuser_dpi_l1_2_0
20569 wine_fn_config_makefile dlls/ext-ms-win-rtcore-ntuser-rawinput-l1-1-0 enable_ext_ms_win_rtcore_ntuser_rawinput_l1_1_0
20570 wine_fn_config_makefile dlls/ext-ms-win-rtcore-ntuser-syscolors-l1-1-0 enable_ext_ms_win_rtcore_ntuser_syscolors_l1_1_0
20571 wine_fn_config_makefile dlls/ext-ms-win-rtcore-ntuser-sysparams-l1-1-0 enable_ext_ms_win_rtcore_ntuser_sysparams_l1_1_0
20572 wine_fn_config_makefile dlls/ext-ms-win-security-credui-l1-1-0 enable_ext_ms_win_security_credui_l1_1_0
20573 wine_fn_config_makefile dlls/ext-ms-win-security-cryptui-l1-1-0 enable_ext_ms_win_security_cryptui_l1_1_0
20574 wine_fn_config_makefile dlls/ext-ms-win-shell-comctl32-init-l1-1-0 enable_ext_ms_win_shell_comctl32_init_l1_1_0
20575 wine_fn_config_makefile dlls/ext-ms-win-shell-comdlg32-l1-1-0 enable_ext_ms_win_shell_comdlg32_l1_1_0
20576 wine_fn_config_makefile dlls/ext-ms-win-shell-shell32-l1-2-0 enable_ext_ms_win_shell_shell32_l1_2_0
20577 wine_fn_config_makefile dlls/ext-ms-win-uxtheme-themes-l1-1-0 enable_ext_ms_win_uxtheme_themes_l1_1_0
20578 wine_fn_config_makefile dlls/faultrep enable_faultrep
20579 wine_fn_config_makefile dlls/faultrep/tests enable_tests
20580 wine_fn_config_makefile dlls/feclient enable_feclient
20581 wine_fn_config_makefile dlls/fltlib enable_fltlib
20582 wine_fn_config_makefile dlls/fltmgr.sys enable_fltmgr_sys
20583 wine_fn_config_makefile dlls/fntcache enable_fntcache
20584 wine_fn_config_makefile dlls/fontsub enable_fontsub
20585 wine_fn_config_makefile dlls/fusion enable_fusion
20586 wine_fn_config_makefile dlls/fusion/tests enable_tests
20587 wine_fn_config_makefile dlls/fwpuclnt enable_fwpuclnt
20588 wine_fn_config_makefile dlls/gameux enable_gameux
20589 wine_fn_config_makefile dlls/gameux/tests enable_tests
20590 wine_fn_config_makefile dlls/gdi.exe16 enable_win16
20591 wine_fn_config_makefile dlls/gdi32 enable_gdi32
20592 wine_fn_config_makefile dlls/gdi32/tests enable_tests
20593 wine_fn_config_makefile dlls/gdiplus enable_gdiplus
20594 wine_fn_config_makefile dlls/gdiplus/tests enable_tests
20595 wine_fn_config_makefile dlls/glu32 enable_glu32
20596 wine_fn_config_makefile dlls/gphoto2.ds enable_gphoto2_ds
20597 wine_fn_config_makefile dlls/gpkcsp enable_gpkcsp
20598 wine_fn_config_makefile dlls/hal enable_hal
20599 wine_fn_config_makefile dlls/hhctrl.ocx enable_hhctrl_ocx
20600 wine_fn_config_makefile dlls/hid enable_hid
20601 wine_fn_config_makefile dlls/hid/tests enable_tests
20602 wine_fn_config_makefile dlls/hidclass.sys enable_hidclass_sys
20603 wine_fn_config_makefile dlls/hlink enable_hlink
20604 wine_fn_config_makefile dlls/hlink/tests enable_tests
20605 wine_fn_config_makefile dlls/hnetcfg enable_hnetcfg
20606 wine_fn_config_makefile dlls/hnetcfg/tests enable_tests
20607 wine_fn_config_makefile dlls/http.sys enable_http_sys
20608 wine_fn_config_makefile dlls/httpapi enable_httpapi
20609 wine_fn_config_makefile dlls/httpapi/tests enable_tests
20610 wine_fn_config_makefile dlls/iccvid enable_iccvid
20611 wine_fn_config_makefile dlls/icmp enable_icmp
20612 wine_fn_config_makefile dlls/ieframe enable_ieframe
20613 wine_fn_config_makefile dlls/ieframe/tests enable_tests
20614 wine_fn_config_makefile dlls/ieproxy enable_ieproxy
20615 wine_fn_config_makefile dlls/ifsmgr.vxd enable_win16
20616 wine_fn_config_makefile dlls/imaadp32.acm enable_imaadp32_acm
20617 wine_fn_config_makefile dlls/imagehlp enable_imagehlp
20618 wine_fn_config_makefile dlls/imagehlp/tests enable_tests
20619 wine_fn_config_makefile dlls/imm.dll16 enable_win16
20620 wine_fn_config_makefile dlls/imm32 enable_imm32
20621 wine_fn_config_makefile dlls/imm32/tests enable_tests
20622 wine_fn_config_makefile dlls/inetcomm enable_inetcomm
20623 wine_fn_config_makefile dlls/inetcomm/tests enable_tests
20624 wine_fn_config_makefile dlls/inetcpl.cpl enable_inetcpl_cpl
20625 wine_fn_config_makefile dlls/inetmib1 enable_inetmib1
20626 wine_fn_config_makefile dlls/inetmib1/tests enable_tests
20627 wine_fn_config_makefile dlls/infosoft enable_infosoft
20628 wine_fn_config_makefile dlls/infosoft/tests enable_tests
20629 wine_fn_config_makefile dlls/initpki enable_initpki
20630 wine_fn_config_makefile dlls/inkobj enable_inkobj
20631 wine_fn_config_makefile dlls/inseng enable_inseng
20632 wine_fn_config_makefile dlls/iphlpapi enable_iphlpapi
20633 wine_fn_config_makefile dlls/iphlpapi/tests enable_tests
20634 wine_fn_config_makefile dlls/iprop enable_iprop
20635 wine_fn_config_makefile dlls/irprops.cpl enable_irprops_cpl
20636 wine_fn_config_makefile dlls/itircl enable_itircl
20637 wine_fn_config_makefile dlls/itss enable_itss
20638 wine_fn_config_makefile dlls/itss/tests enable_tests
20639 wine_fn_config_makefile dlls/joy.cpl enable_joy_cpl
20640 wine_fn_config_makefile dlls/jscript enable_jscript
20641 wine_fn_config_makefile dlls/jscript/tests enable_tests
20642 wine_fn_config_makefile dlls/jsproxy enable_jsproxy
20643 wine_fn_config_makefile dlls/jsproxy/tests enable_tests
20644 wine_fn_config_makefile dlls/kerberos enable_kerberos
20645 wine_fn_config_makefile dlls/kernel32 enable_kernel32
20646 wine_fn_config_makefile dlls/kernel32/tests enable_tests
20647 wine_fn_config_makefile dlls/kernelbase enable_kernelbase
20648 wine_fn_config_makefile dlls/kernelbase/tests enable_tests
20649 wine_fn_config_makefile dlls/keyboard.drv16 enable_win16
20650 wine_fn_config_makefile dlls/krnl386.exe16 enable_win16
20651 wine_fn_config_makefile dlls/ksecdd.sys enable_ksecdd_sys
20652 wine_fn_config_makefile dlls/ksproxy.ax enable_ksproxy_ax
20653 wine_fn_config_makefile dlls/ksuser enable_ksuser
20654 wine_fn_config_makefile dlls/ktmw32 enable_ktmw32
20655 wine_fn_config_makefile dlls/l3codeca.acm enable_l3codeca_acm
20656 wine_fn_config_makefile dlls/loadperf enable_loadperf
20657 wine_fn_config_makefile dlls/localspl enable_localspl
20658 wine_fn_config_makefile dlls/localspl/tests enable_tests
20659 wine_fn_config_makefile dlls/localui enable_localui
20660 wine_fn_config_makefile dlls/localui/tests enable_tests
20661 wine_fn_config_makefile dlls/lz32 enable_lz32
20662 wine_fn_config_makefile dlls/lz32/tests enable_tests
20663 wine_fn_config_makefile dlls/lzexpand.dll16 enable_win16
20664 wine_fn_config_makefile dlls/mapi32 enable_mapi32
20665 wine_fn_config_makefile dlls/mapi32/tests enable_tests
20666 wine_fn_config_makefile dlls/mapistub enable_mapistub
20667 wine_fn_config_makefile dlls/mciavi32 enable_mciavi32
20668 wine_fn_config_makefile dlls/mcicda enable_mcicda
20669 wine_fn_config_makefile dlls/mciqtz32 enable_mciqtz32
20670 wine_fn_config_makefile dlls/mciseq enable_mciseq
20671 wine_fn_config_makefile dlls/mciwave enable_mciwave
20672 wine_fn_config_makefile dlls/mf enable_mf
20673 wine_fn_config_makefile dlls/mf/tests enable_tests
20674 wine_fn_config_makefile dlls/mf3216 enable_mf3216
20675 wine_fn_config_makefile dlls/mferror enable_mferror
20676 wine_fn_config_makefile dlls/mfmediaengine enable_mfmediaengine
20677 wine_fn_config_makefile dlls/mfmediaengine/tests enable_tests
20678 wine_fn_config_makefile dlls/mfplat enable_mfplat
20679 wine_fn_config_makefile dlls/mfplat/tests enable_tests
20680 wine_fn_config_makefile dlls/mfplay enable_mfplay
20681 wine_fn_config_makefile dlls/mfreadwrite enable_mfreadwrite
20682 wine_fn_config_makefile dlls/mfreadwrite/tests enable_tests
20683 wine_fn_config_makefile dlls/mfuuid enable_mfuuid
20684 wine_fn_config_makefile dlls/mgmtapi enable_mgmtapi
20685 wine_fn_config_makefile dlls/midimap enable_midimap
20686 wine_fn_config_makefile dlls/mlang enable_mlang
20687 wine_fn_config_makefile dlls/mlang/tests enable_tests
20688 wine_fn_config_makefile dlls/mmcndmgr enable_mmcndmgr
20689 wine_fn_config_makefile dlls/mmcndmgr/tests enable_tests
20690 wine_fn_config_makefile dlls/mmdevapi enable_mmdevapi
20691 wine_fn_config_makefile dlls/mmdevapi/tests enable_tests
20692 wine_fn_config_makefile dlls/mmdevldr.vxd enable_win16
20693 wine_fn_config_makefile dlls/mmsystem.dll16 enable_win16
20694 wine_fn_config_makefile dlls/monodebg.vxd enable_win16
20695 wine_fn_config_makefile dlls/mountmgr.sys enable_mountmgr_sys
20696 wine_fn_config_makefile dlls/mouse.drv16 enable_win16
20697 wine_fn_config_makefile dlls/mp3dmod enable_mp3dmod
20698 wine_fn_config_makefile dlls/mp3dmod/tests enable_tests
20699 wine_fn_config_makefile dlls/mpr enable_mpr
20700 wine_fn_config_makefile dlls/mpr/tests enable_tests
20701 wine_fn_config_makefile dlls/mprapi enable_mprapi
20702 wine_fn_config_makefile dlls/msacm.dll16 enable_win16
20703 wine_fn_config_makefile dlls/msacm32.drv enable_msacm32_drv
20704 wine_fn_config_makefile dlls/msacm32 enable_msacm32
20705 wine_fn_config_makefile dlls/msacm32/tests enable_tests
20706 wine_fn_config_makefile dlls/msado15 enable_msado15
20707 wine_fn_config_makefile dlls/msado15/tests enable_tests
20708 wine_fn_config_makefile dlls/msadp32.acm enable_msadp32_acm
20709 wine_fn_config_makefile dlls/msasn1 enable_msasn1
20710 wine_fn_config_makefile dlls/msasn1/tests enable_tests
20711 wine_fn_config_makefile dlls/mscat32 enable_mscat32
20712 wine_fn_config_makefile dlls/mscms enable_mscms
20713 wine_fn_config_makefile dlls/mscms/tests enable_tests
20714 wine_fn_config_makefile dlls/mscoree enable_mscoree
20715 wine_fn_config_makefile dlls/mscoree/tests enable_tests
20716 wine_fn_config_makefile dlls/mscorwks enable_mscorwks
20717 wine_fn_config_makefile dlls/msctf enable_msctf
20718 wine_fn_config_makefile dlls/msctf/tests enable_tests
20719 wine_fn_config_makefile dlls/msctfp enable_msctfp
20720 wine_fn_config_makefile dlls/msdaps enable_msdaps
20721 wine_fn_config_makefile dlls/msdelta enable_msdelta
20722 wine_fn_config_makefile dlls/msdmo enable_msdmo
20723 wine_fn_config_makefile dlls/msdmo/tests enable_tests
20724 wine_fn_config_makefile dlls/msdrm enable_msdrm
20725 wine_fn_config_makefile dlls/msftedit enable_msftedit
20726 wine_fn_config_makefile dlls/msftedit/tests enable_tests
20727 wine_fn_config_makefile dlls/msg711.acm enable_msg711_acm
20728 wine_fn_config_makefile dlls/msgsm32.acm enable_msgsm32_acm
20729 wine_fn_config_makefile dlls/mshtml.tlb enable_mshtml_tlb
20730 wine_fn_config_makefile dlls/mshtml enable_mshtml
20731 wine_fn_config_makefile dlls/mshtml/tests enable_tests
20732 wine_fn_config_makefile dlls/msi enable_msi
20733 wine_fn_config_makefile dlls/msi/tests enable_tests
20734 wine_fn_config_makefile dlls/msident enable_msident
20735 wine_fn_config_makefile dlls/msimg32 enable_msimg32
20736 wine_fn_config_makefile dlls/msimsg enable_msimsg
20737 wine_fn_config_makefile dlls/msimtf enable_msimtf
20738 wine_fn_config_makefile dlls/msisip enable_msisip
20739 wine_fn_config_makefile dlls/msisys.ocx enable_msisys_ocx
20740 wine_fn_config_makefile dlls/msls31 enable_msls31
20741 wine_fn_config_makefile dlls/msnet32 enable_msnet32
20742 wine_fn_config_makefile dlls/mspatcha enable_mspatcha
20743 wine_fn_config_makefile dlls/mspatcha/tests enable_tests
20744 wine_fn_config_makefile dlls/msports enable_msports
20745 wine_fn_config_makefile dlls/msrle32 enable_msrle32
20746 wine_fn_config_makefile dlls/msrle32/tests enable_tests
20747 wine_fn_config_makefile dlls/msscript.ocx enable_msscript_ocx
20748 wine_fn_config_makefile dlls/msscript.ocx/tests enable_tests
20749 wine_fn_config_makefile dlls/mssign32 enable_mssign32
20750 wine_fn_config_makefile dlls/mssip32 enable_mssip32
20751 wine_fn_config_makefile dlls/mstask enable_mstask
20752 wine_fn_config_makefile dlls/mstask/tests enable_tests
20753 wine_fn_config_makefile dlls/msvcirt enable_msvcirt
20754 wine_fn_config_makefile dlls/msvcirt/tests enable_tests
20755 wine_fn_config_makefile dlls/msvcm80 enable_msvcm80
20756 wine_fn_config_makefile dlls/msvcm90 enable_msvcm90
20757 wine_fn_config_makefile dlls/msvcp100 enable_msvcp100
20758 wine_fn_config_makefile dlls/msvcp100/tests enable_tests
20759 wine_fn_config_makefile dlls/msvcp110 enable_msvcp110
20760 wine_fn_config_makefile dlls/msvcp110/tests enable_tests
20761 wine_fn_config_makefile dlls/msvcp120 enable_msvcp120
20762 wine_fn_config_makefile dlls/msvcp120/tests enable_tests
20763 wine_fn_config_makefile dlls/msvcp120_app enable_msvcp120_app
20764 wine_fn_config_makefile dlls/msvcp140 enable_msvcp140
20765 wine_fn_config_makefile dlls/msvcp140/tests enable_tests
20766 wine_fn_config_makefile dlls/msvcp140_1 enable_msvcp140_1
20767 wine_fn_config_makefile dlls/msvcp60 enable_msvcp60
20768 wine_fn_config_makefile dlls/msvcp60/tests enable_tests
20769 wine_fn_config_makefile dlls/msvcp70 enable_msvcp70
20770 wine_fn_config_makefile dlls/msvcp71 enable_msvcp71
20771 wine_fn_config_makefile dlls/msvcp80 enable_msvcp80
20772 wine_fn_config_makefile dlls/msvcp90 enable_msvcp90
20773 wine_fn_config_makefile dlls/msvcp90/tests enable_tests
20774 wine_fn_config_makefile dlls/msvcr100 enable_msvcr100
20775 wine_fn_config_makefile dlls/msvcr100/tests enable_tests
20776 wine_fn_config_makefile dlls/msvcr110 enable_msvcr110
20777 wine_fn_config_makefile dlls/msvcr110/tests enable_tests
20778 wine_fn_config_makefile dlls/msvcr120 enable_msvcr120
20779 wine_fn_config_makefile dlls/msvcr120/tests enable_tests
20780 wine_fn_config_makefile dlls/msvcr120_app enable_msvcr120_app
20781 wine_fn_config_makefile dlls/msvcr70 enable_msvcr70
20782 wine_fn_config_makefile dlls/msvcr71 enable_msvcr71
20783 wine_fn_config_makefile dlls/msvcr80 enable_msvcr80
20784 wine_fn_config_makefile dlls/msvcr90 enable_msvcr90
20785 wine_fn_config_makefile dlls/msvcr90/tests enable_tests
20786 wine_fn_config_makefile dlls/msvcrt enable_msvcrt
20787 wine_fn_config_makefile dlls/msvcrt/tests enable_tests
20788 wine_fn_config_makefile dlls/msvcrt20 enable_msvcrt20
20789 wine_fn_config_makefile dlls/msvcrt40 enable_msvcrt40
20790 wine_fn_config_makefile dlls/msvcrtd enable_msvcrtd
20791 wine_fn_config_makefile dlls/msvcrtd/tests enable_tests
20792 wine_fn_config_makefile dlls/msvfw32 enable_msvfw32
20793 wine_fn_config_makefile dlls/msvfw32/tests enable_tests
20794 wine_fn_config_makefile dlls/msvidc32 enable_msvidc32
20795 wine_fn_config_makefile dlls/msvideo.dll16 enable_win16
20796 wine_fn_config_makefile dlls/mswsock enable_mswsock
20797 wine_fn_config_makefile dlls/msxml enable_msxml
20798 wine_fn_config_makefile dlls/msxml2 enable_msxml2
20799 wine_fn_config_makefile dlls/msxml3 enable_msxml3
20800 wine_fn_config_makefile dlls/msxml3/tests enable_tests
20801 wine_fn_config_makefile dlls/msxml4 enable_msxml4
20802 wine_fn_config_makefile dlls/msxml6 enable_msxml6
20803 wine_fn_config_makefile dlls/mtxdm enable_mtxdm
20804 wine_fn_config_makefile dlls/ncrypt enable_ncrypt
20805 wine_fn_config_makefile dlls/nddeapi enable_nddeapi
20806 wine_fn_config_makefile dlls/ndis.sys enable_ndis_sys
20807 wine_fn_config_makefile dlls/ndis.sys/tests enable_tests
20808 wine_fn_config_makefile dlls/netapi32 enable_netapi32
20809 wine_fn_config_makefile dlls/netapi32/tests enable_tests
20810 wine_fn_config_makefile dlls/netcfgx enable_netcfgx
20811 wine_fn_config_makefile dlls/netcfgx/tests enable_tests
20812 wine_fn_config_makefile dlls/netio.sys enable_netio_sys
20813 wine_fn_config_makefile dlls/netprofm enable_netprofm
20814 wine_fn_config_makefile dlls/netprofm/tests enable_tests
20815 wine_fn_config_makefile dlls/netutils enable_netutils
20816 wine_fn_config_makefile dlls/newdev enable_newdev
20817 wine_fn_config_makefile dlls/ninput enable_ninput
20818 wine_fn_config_makefile dlls/ninput/tests enable_tests
20819 wine_fn_config_makefile dlls/normaliz enable_normaliz
20820 wine_fn_config_makefile dlls/npmshtml enable_npmshtml
20821 wine_fn_config_makefile dlls/npptools enable_npptools
20822 wine_fn_config_makefile dlls/ntdll enable_ntdll
20823 wine_fn_config_makefile dlls/ntdll/tests enable_tests
20824 wine_fn_config_makefile dlls/ntdsapi enable_ntdsapi
20825 wine_fn_config_makefile dlls/ntdsapi/tests enable_tests
20826 wine_fn_config_makefile dlls/ntoskrnl.exe enable_ntoskrnl_exe
20827 wine_fn_config_makefile dlls/ntoskrnl.exe/tests enable_tests
20828 wine_fn_config_makefile dlls/ntprint enable_ntprint
20829 wine_fn_config_makefile dlls/ntprint/tests enable_tests
20830 wine_fn_config_makefile dlls/objsel enable_objsel
20831 wine_fn_config_makefile dlls/odbc32 enable_odbc32
20832 wine_fn_config_makefile dlls/odbcbcp enable_odbcbcp
20833 wine_fn_config_makefile dlls/odbccp32 enable_odbccp32
20834 wine_fn_config_makefile dlls/odbccp32/tests enable_tests
20835 wine_fn_config_makefile dlls/odbccu32 enable_odbccu32
20836 wine_fn_config_makefile dlls/ole2.dll16 enable_win16
20837 wine_fn_config_makefile dlls/ole2conv.dll16 enable_win16
20838 wine_fn_config_makefile dlls/ole2disp.dll16 enable_win16
20839 wine_fn_config_makefile dlls/ole2nls.dll16 enable_win16
20840 wine_fn_config_makefile dlls/ole2prox.dll16 enable_win16
20841 wine_fn_config_makefile dlls/ole2thk.dll16 enable_win16
20842 wine_fn_config_makefile dlls/ole32 enable_ole32
20843 wine_fn_config_makefile dlls/ole32/tests enable_tests
20844 wine_fn_config_makefile dlls/oleacc enable_oleacc
20845 wine_fn_config_makefile dlls/oleacc/tests enable_tests
20846 wine_fn_config_makefile dlls/oleaut32 enable_oleaut32
20847 wine_fn_config_makefile dlls/oleaut32/tests enable_tests
20848 wine_fn_config_makefile dlls/olecli.dll16 enable_win16
20849 wine_fn_config_makefile dlls/olecli32 enable_olecli32
20850 wine_fn_config_makefile dlls/oledb32 enable_oledb32
20851 wine_fn_config_makefile dlls/oledb32/tests enable_tests
20852 wine_fn_config_makefile dlls/oledlg enable_oledlg
20853 wine_fn_config_makefile dlls/oledlg/tests enable_tests
20854 wine_fn_config_makefile dlls/olepro32 enable_olepro32
20855 wine_fn_config_makefile dlls/olesvr.dll16 enable_win16
20856 wine_fn_config_makefile dlls/olesvr32 enable_olesvr32
20857 wine_fn_config_makefile dlls/olethk32 enable_olethk32
20858 wine_fn_config_makefile dlls/opcservices enable_opcservices
20859 wine_fn_config_makefile dlls/opcservices/tests enable_tests
20860 wine_fn_config_makefile dlls/openal32 enable_openal32
20861 wine_fn_config_makefile dlls/opencl enable_opencl
20862 wine_fn_config_makefile dlls/opengl32 enable_opengl32
20863 wine_fn_config_makefile dlls/opengl32/tests enable_tests
20864 wine_fn_config_makefile dlls/packager enable_packager
20865 wine_fn_config_makefile dlls/packager/tests enable_tests
20866 wine_fn_config_makefile dlls/pdh enable_pdh
20867 wine_fn_config_makefile dlls/pdh/tests enable_tests
20868 wine_fn_config_makefile dlls/photometadatahandler enable_photometadatahandler
20869 wine_fn_config_makefile dlls/pidgen enable_pidgen
20870 wine_fn_config_makefile dlls/powrprof enable_powrprof
20871 wine_fn_config_makefile dlls/printui enable_printui
20872 wine_fn_config_makefile dlls/prntvpt enable_prntvpt
20873 wine_fn_config_makefile dlls/prntvpt/tests enable_tests
20874 wine_fn_config_makefile dlls/propsys enable_propsys
20875 wine_fn_config_makefile dlls/propsys/tests enable_tests
20876 wine_fn_config_makefile dlls/psapi enable_psapi
20877 wine_fn_config_makefile dlls/psapi/tests enable_tests
20878 wine_fn_config_makefile dlls/pstorec enable_pstorec
20879 wine_fn_config_makefile dlls/pstorec/tests enable_tests
20880 wine_fn_config_makefile dlls/pwrshplugin enable_pwrshplugin
20881 wine_fn_config_makefile dlls/qasf enable_qasf
20882 wine_fn_config_makefile dlls/qasf/tests enable_tests
20883 wine_fn_config_makefile dlls/qcap enable_qcap
20884 wine_fn_config_makefile dlls/qcap/tests enable_tests
20885 wine_fn_config_makefile dlls/qdvd enable_qdvd
20886 wine_fn_config_makefile dlls/qdvd/tests enable_tests
20887 wine_fn_config_makefile dlls/qedit enable_qedit
20888 wine_fn_config_makefile dlls/qedit/tests enable_tests
20889 wine_fn_config_makefile dlls/qmgr enable_qmgr
20890 wine_fn_config_makefile dlls/qmgr/tests enable_tests
20891 wine_fn_config_makefile dlls/qmgrprxy enable_qmgrprxy
20892 wine_fn_config_makefile dlls/quartz enable_quartz
20893 wine_fn_config_makefile dlls/quartz/tests enable_tests
20894 wine_fn_config_makefile dlls/query enable_query
20895 wine_fn_config_makefile dlls/qwave enable_qwave
20896 wine_fn_config_makefile dlls/qwave/tests enable_tests
20897 wine_fn_config_makefile dlls/rasapi16.dll16 enable_win16
20898 wine_fn_config_makefile dlls/rasapi32 enable_rasapi32
20899 wine_fn_config_makefile dlls/rasapi32/tests enable_tests
20900 wine_fn_config_makefile dlls/rasdlg enable_rasdlg
20901 wine_fn_config_makefile dlls/regapi enable_regapi
20902 wine_fn_config_makefile dlls/resutils enable_resutils
20903 wine_fn_config_makefile dlls/riched20 enable_riched20
20904 wine_fn_config_makefile dlls/riched20/tests enable_tests
20905 wine_fn_config_makefile dlls/riched32 enable_riched32
20906 wine_fn_config_makefile dlls/riched32/tests enable_tests
20907 wine_fn_config_makefile dlls/rpcrt4 enable_rpcrt4
20908 wine_fn_config_makefile dlls/rpcrt4/tests enable_tests
20909 wine_fn_config_makefile dlls/rsabase enable_rsabase
20910 wine_fn_config_makefile dlls/rsaenh enable_rsaenh
20911 wine_fn_config_makefile dlls/rsaenh/tests enable_tests
20912 wine_fn_config_makefile dlls/rstrtmgr enable_rstrtmgr
20913 wine_fn_config_makefile dlls/rtutils enable_rtutils
20914 wine_fn_config_makefile dlls/rtworkq enable_rtworkq
20915 wine_fn_config_makefile dlls/rtworkq/tests enable_tests
20916 wine_fn_config_makefile dlls/samlib enable_samlib
20917 wine_fn_config_makefile dlls/sane.ds enable_sane_ds
20918 wine_fn_config_makefile dlls/sapi enable_sapi
20919 wine_fn_config_makefile dlls/sapi/tests enable_tests
20920 wine_fn_config_makefile dlls/sas enable_sas
20921 wine_fn_config_makefile dlls/scarddlg enable_scarddlg
20922 wine_fn_config_makefile dlls/sccbase enable_sccbase
20923 wine_fn_config_makefile dlls/schannel enable_schannel
20924 wine_fn_config_makefile dlls/schannel/tests enable_tests
20925 wine_fn_config_makefile dlls/schedsvc enable_schedsvc
20926 wine_fn_config_makefile dlls/schedsvc/tests enable_tests
20927 wine_fn_config_makefile dlls/scrobj enable_scrobj
20928 wine_fn_config_makefile dlls/scrobj/tests enable_tests
20929 wine_fn_config_makefile dlls/scrrun enable_scrrun
20930 wine_fn_config_makefile dlls/scrrun/tests enable_tests
20931 wine_fn_config_makefile dlls/scsiport.sys enable_scsiport_sys
20932 wine_fn_config_makefile dlls/sechost enable_sechost
20933 wine_fn_config_makefile dlls/secur32 enable_secur32
20934 wine_fn_config_makefile dlls/secur32/tests enable_tests
20935 wine_fn_config_makefile dlls/security enable_security
20936 wine_fn_config_makefile dlls/sensapi enable_sensapi
20937 wine_fn_config_makefile dlls/serialui enable_serialui
20938 wine_fn_config_makefile dlls/serialui/tests enable_tests
20939 wine_fn_config_makefile dlls/setupapi enable_setupapi
20940 wine_fn_config_makefile dlls/setupapi/tests enable_tests
20941 wine_fn_config_makefile dlls/setupx.dll16 enable_win16
20942 wine_fn_config_makefile dlls/sfc enable_sfc
20943 wine_fn_config_makefile dlls/sfc_os enable_sfc_os
20944 wine_fn_config_makefile dlls/shcore enable_shcore
20945 wine_fn_config_makefile dlls/shcore/tests enable_tests
20946 wine_fn_config_makefile dlls/shdoclc enable_shdoclc
20947 wine_fn_config_makefile dlls/shdocvw enable_shdocvw
20948 wine_fn_config_makefile dlls/shdocvw/tests enable_tests
20949 wine_fn_config_makefile dlls/shell.dll16 enable_win16
20950 wine_fn_config_makefile dlls/shell32 enable_shell32
20951 wine_fn_config_makefile dlls/shell32/tests enable_tests
20952 wine_fn_config_makefile dlls/shfolder enable_shfolder
20953 wine_fn_config_makefile dlls/shlwapi enable_shlwapi
20954 wine_fn_config_makefile dlls/shlwapi/tests enable_tests
20955 wine_fn_config_makefile dlls/slbcsp enable_slbcsp
20956 wine_fn_config_makefile dlls/slc enable_slc
20957 wine_fn_config_makefile dlls/slc/tests enable_tests
20958 wine_fn_config_makefile dlls/snmpapi enable_snmpapi
20959 wine_fn_config_makefile dlls/snmpapi/tests enable_tests
20960 wine_fn_config_makefile dlls/softpub enable_softpub
20961 wine_fn_config_makefile dlls/sound.drv16 enable_win16
20962 wine_fn_config_makefile dlls/spoolss enable_spoolss
20963 wine_fn_config_makefile dlls/spoolss/tests enable_tests
20964 wine_fn_config_makefile dlls/srclient enable_srclient
20965 wine_fn_config_makefile dlls/srvcli enable_srvcli
20966 wine_fn_config_makefile dlls/sspicli enable_sspicli
20967 wine_fn_config_makefile dlls/stdole2.tlb enable_stdole2_tlb
20968 wine_fn_config_makefile dlls/stdole32.tlb enable_stdole32_tlb
20969 wine_fn_config_makefile dlls/sti enable_sti
20970 wine_fn_config_makefile dlls/sti/tests enable_tests
20971 wine_fn_config_makefile dlls/storage.dll16 enable_win16
20972 wine_fn_config_makefile dlls/stress.dll16 enable_win16
20973 wine_fn_config_makefile dlls/strmbase enable_strmbase
20974 wine_fn_config_makefile dlls/strmdll enable_strmdll
20975 wine_fn_config_makefile dlls/strmiids enable_strmiids
20976 wine_fn_config_makefile dlls/svrapi enable_svrapi
20977 wine_fn_config_makefile dlls/sxs enable_sxs
20978 wine_fn_config_makefile dlls/sxs/tests enable_tests
20979 wine_fn_config_makefile dlls/system.drv16 enable_win16
20980 wine_fn_config_makefile dlls/t2embed enable_t2embed
20981 wine_fn_config_makefile dlls/t2embed/tests enable_tests
20982 wine_fn_config_makefile dlls/tapi32 enable_tapi32
20983 wine_fn_config_makefile dlls/tapi32/tests enable_tests
20984 wine_fn_config_makefile dlls/taskschd enable_taskschd
20985 wine_fn_config_makefile dlls/taskschd/tests enable_tests
20986 wine_fn_config_makefile dlls/tdh enable_tdh
20987 wine_fn_config_makefile dlls/tdi.sys enable_tdi_sys
20988 wine_fn_config_makefile dlls/toolhelp.dll16 enable_win16
20989 wine_fn_config_makefile dlls/traffic enable_traffic
20990 wine_fn_config_makefile dlls/twain.dll16 enable_win16
20991 wine_fn_config_makefile dlls/twain_32 enable_twain_32
20992 wine_fn_config_makefile dlls/twain_32/tests enable_tests
20993 wine_fn_config_makefile dlls/typelib.dll16 enable_win16
20994 wine_fn_config_makefile dlls/tzres enable_tzres
20995 wine_fn_config_makefile dlls/ucrtbase enable_ucrtbase
20996 wine_fn_config_makefile dlls/ucrtbase/tests enable_tests
20997 wine_fn_config_makefile dlls/uianimation enable_uianimation
20998 wine_fn_config_makefile dlls/uianimation/tests enable_tests
20999 wine_fn_config_makefile dlls/uiautomationcore enable_uiautomationcore
21000 wine_fn_config_makefile dlls/uiautomationcore/tests enable_tests
21001 wine_fn_config_makefile dlls/uiribbon enable_uiribbon
21002 wine_fn_config_makefile dlls/unicows enable_unicows
21003 wine_fn_config_makefile dlls/updspapi enable_updspapi
21004 wine_fn_config_makefile dlls/url enable_url
21005 wine_fn_config_makefile dlls/urlmon enable_urlmon
21006 wine_fn_config_makefile dlls/urlmon/tests enable_tests
21007 wine_fn_config_makefile dlls/usbd.sys enable_usbd_sys
21008 wine_fn_config_makefile dlls/user.exe16 enable_win16
21009 wine_fn_config_makefile dlls/user32 enable_user32
21010 wine_fn_config_makefile dlls/user32/tests enable_tests
21011 wine_fn_config_makefile dlls/userenv enable_userenv
21012 wine_fn_config_makefile dlls/userenv/tests enable_tests
21013 wine_fn_config_makefile dlls/usp10 enable_usp10
21014 wine_fn_config_makefile dlls/usp10/tests enable_tests
21015 wine_fn_config_makefile dlls/utildll enable_utildll
21016 wine_fn_config_makefile dlls/uuid enable_uuid
21017 wine_fn_config_makefile dlls/uxtheme enable_uxtheme
21018 wine_fn_config_makefile dlls/uxtheme/tests enable_tests
21019 wine_fn_config_makefile dlls/vbscript enable_vbscript
21020 wine_fn_config_makefile dlls/vbscript/tests enable_tests
21021 wine_fn_config_makefile dlls/vcomp enable_vcomp
21022 wine_fn_config_makefile dlls/vcomp/tests enable_tests
21023 wine_fn_config_makefile dlls/vcomp100 enable_vcomp100
21024 wine_fn_config_makefile dlls/vcomp110 enable_vcomp110
21025 wine_fn_config_makefile dlls/vcomp110/tests enable_tests
21026 wine_fn_config_makefile dlls/vcomp120 enable_vcomp120
21027 wine_fn_config_makefile dlls/vcomp140 enable_vcomp140
21028 wine_fn_config_makefile dlls/vcomp90 enable_vcomp90
21029 wine_fn_config_makefile dlls/vcruntime140 enable_vcruntime140
21030 wine_fn_config_makefile dlls/vcruntime140_1 enable_vcruntime140_1
21031 wine_fn_config_makefile dlls/vdhcp.vxd enable_win16
21032 wine_fn_config_makefile dlls/vdmdbg enable_vdmdbg
21033 wine_fn_config_makefile dlls/ver.dll16 enable_win16
21034 wine_fn_config_makefile dlls/version enable_version
21035 wine_fn_config_makefile dlls/version/tests enable_tests
21036 wine_fn_config_makefile dlls/vga enable_vga
21037 wine_fn_config_makefile dlls/virtdisk enable_virtdisk
21038 wine_fn_config_makefile dlls/virtdisk/tests enable_tests
21039 wine_fn_config_makefile dlls/vmm.vxd enable_win16
21040 wine_fn_config_makefile dlls/vnbt.vxd enable_win16
21041 wine_fn_config_makefile dlls/vnetbios.vxd enable_win16
21042 wine_fn_config_makefile dlls/vssapi enable_vssapi
21043 wine_fn_config_makefile dlls/vtdapi.vxd enable_win16
21044 wine_fn_config_makefile dlls/vulkan-1 enable_vulkan_1
21045 wine_fn_config_makefile dlls/vulkan-1/tests enable_tests
21046 wine_fn_config_makefile dlls/vwin32.vxd enable_win16
21047 wine_fn_config_makefile dlls/w32skrnl enable_win16
21048 wine_fn_config_makefile dlls/w32sys.dll16 enable_win16
21049 wine_fn_config_makefile dlls/wbemdisp enable_wbemdisp
21050 wine_fn_config_makefile dlls/wbemdisp/tests enable_tests
21051 wine_fn_config_makefile dlls/wbemprox enable_wbemprox
21052 wine_fn_config_makefile dlls/wbemprox/tests enable_tests
21053 wine_fn_config_makefile dlls/wbemuuid enable_wbemuuid
21054 wine_fn_config_makefile dlls/wdscore enable_wdscore
21055 wine_fn_config_makefile dlls/webservices enable_webservices
21056 wine_fn_config_makefile dlls/webservices/tests enable_tests
21057 wine_fn_config_makefile dlls/wer enable_wer
21058 wine_fn_config_makefile dlls/wer/tests enable_tests
21059 wine_fn_config_makefile dlls/wevtapi enable_wevtapi
21060 wine_fn_config_makefile dlls/wevtapi/tests enable_tests
21061 wine_fn_config_makefile dlls/wevtsvc enable_wevtsvc
21062 wine_fn_config_makefile dlls/wiaservc enable_wiaservc
21063 wine_fn_config_makefile dlls/wiaservc/tests enable_tests
21064 wine_fn_config_makefile dlls/wimgapi enable_wimgapi
21065 wine_fn_config_makefile dlls/win32s16.dll16 enable_win16
21066 wine_fn_config_makefile dlls/win87em.dll16 enable_win16
21067 wine_fn_config_makefile dlls/winaspi.dll16 enable_win16
21068 wine_fn_config_makefile dlls/windebug.dll16 enable_win16
21069 wine_fn_config_makefile dlls/windowscodecs enable_windowscodecs
21070 wine_fn_config_makefile dlls/windowscodecs/tests enable_tests
21071 wine_fn_config_makefile dlls/windowscodecsext enable_windowscodecsext
21072 wine_fn_config_makefile dlls/windowscodecsext/tests enable_tests
21073 wine_fn_config_makefile dlls/winealsa.drv enable_winealsa_drv
21074 wine_fn_config_makefile dlls/wineandroid.drv enable_wineandroid_drv
21075 wine_fn_config_makefile dlls/winebus.sys enable_winebus_sys
21076 wine_fn_config_makefile dlls/winecoreaudio.drv enable_winecoreaudio_drv
21077 wine_fn_config_makefile dlls/winecrt0 enable_winecrt0
21078 wine_fn_config_makefile dlls/wined3d enable_wined3d
21079 wine_fn_config_makefile dlls/winegstreamer enable_winegstreamer
21080 wine_fn_config_makefile dlls/winehid.sys enable_winehid_sys
21081 wine_fn_config_makefile dlls/winejoystick.drv enable_winejoystick_drv
21082 wine_fn_config_makefile dlls/winemac.drv enable_winemac_drv
21083 wine_fn_config_makefile dlls/winemapi enable_winemapi
21084 wine_fn_config_makefile dlls/wineoss.drv enable_wineoss_drv
21085 wine_fn_config_makefile dlls/wineps.drv enable_wineps_drv
21086 wine_fn_config_makefile dlls/wineps16.drv16 enable_win16
21087 wine_fn_config_makefile dlls/winepulse.drv enable_winepulse_drv
21088 wine_fn_config_makefile dlls/wineqtdecoder enable_wineqtdecoder
21089 wine_fn_config_makefile dlls/wineusb.sys enable_wineusb_sys
21090 wine_fn_config_makefile dlls/winevulkan enable_winevulkan
21091 wine_fn_config_makefile dlls/winex11.drv enable_winex11_drv
21092 wine_fn_config_makefile dlls/wing.dll16 enable_win16
21093 wine_fn_config_makefile dlls/wing32 enable_wing32
21094 wine_fn_config_makefile dlls/winhttp enable_winhttp
21095 wine_fn_config_makefile dlls/winhttp/tests enable_tests
21096 wine_fn_config_makefile dlls/wininet enable_wininet
21097 wine_fn_config_makefile dlls/wininet/tests enable_tests
21098 wine_fn_config_makefile dlls/winmm enable_winmm
21099 wine_fn_config_makefile dlls/winmm/tests enable_tests
21100 wine_fn_config_makefile dlls/winnls.dll16 enable_win16
21101 wine_fn_config_makefile dlls/winnls32 enable_winnls32
21102 wine_fn_config_makefile dlls/winscard enable_winscard
21103 wine_fn_config_makefile dlls/winsock.dll16 enable_win16
21104 wine_fn_config_makefile dlls/winspool.drv enable_winspool_drv
21105 wine_fn_config_makefile dlls/winspool.drv/tests enable_tests
21106 wine_fn_config_makefile dlls/winsta enable_winsta
21107 wine_fn_config_makefile dlls/wintab.dll16 enable_win16
21108 wine_fn_config_makefile dlls/wintab32 enable_wintab32
21109 wine_fn_config_makefile dlls/wintab32/tests enable_tests
21110 wine_fn_config_makefile dlls/wintrust enable_wintrust
21111 wine_fn_config_makefile dlls/wintrust/tests enable_tests
21112 wine_fn_config_makefile dlls/winusb enable_winusb
21113 wine_fn_config_makefile dlls/wlanapi enable_wlanapi
21114 wine_fn_config_makefile dlls/wlanapi/tests enable_tests
21115 wine_fn_config_makefile dlls/wlanui enable_wlanui
21116 wine_fn_config_makefile dlls/wldap32 enable_wldap32
21117 wine_fn_config_makefile dlls/wldap32/tests enable_tests
21118 wine_fn_config_makefile dlls/wmasf enable_wmasf
21119 wine_fn_config_makefile dlls/wmcodecdspuuid enable_wmcodecdspuuid
21120 wine_fn_config_makefile dlls/wmi enable_wmi
21121 wine_fn_config_makefile dlls/wmiutils enable_wmiutils
21122 wine_fn_config_makefile dlls/wmiutils/tests enable_tests
21123 wine_fn_config_makefile dlls/wmp enable_wmp
21124 wine_fn_config_makefile dlls/wmp/tests enable_tests
21125 wine_fn_config_makefile dlls/wmphoto enable_wmphoto
21126 wine_fn_config_makefile dlls/wmvcore enable_wmvcore
21127 wine_fn_config_makefile dlls/wmvcore/tests enable_tests
21128 wine_fn_config_makefile dlls/wnaspi32 enable_wnaspi32
21129 wine_fn_config_makefile dlls/wow32 enable_win16
21130 wine_fn_config_makefile dlls/wow64cpu enable_wow64cpu
21131 wine_fn_config_makefile dlls/wpc enable_wpc
21132 wine_fn_config_makefile dlls/wpc/tests enable_tests
21133 wine_fn_config_makefile dlls/wpcap enable_wpcap
21134 wine_fn_config_makefile dlls/ws2_32 enable_ws2_32
21135 wine_fn_config_makefile dlls/ws2_32/tests enable_tests
21136 wine_fn_config_makefile dlls/wsdapi enable_wsdapi
21137 wine_fn_config_makefile dlls/wsdapi/tests enable_tests
21138 wine_fn_config_makefile dlls/wshom.ocx enable_wshom_ocx
21139 wine_fn_config_makefile dlls/wshom.ocx/tests enable_tests
21140 wine_fn_config_makefile dlls/wsnmp32 enable_wsnmp32
21141 wine_fn_config_makefile dlls/wsnmp32/tests enable_tests
21142 wine_fn_config_makefile dlls/wsock32 enable_wsock32
21143 wine_fn_config_makefile dlls/wtsapi32 enable_wtsapi32
21144 wine_fn_config_makefile dlls/wtsapi32/tests enable_tests
21145 wine_fn_config_makefile dlls/wuapi enable_wuapi
21146 wine_fn_config_makefile dlls/wuaueng enable_wuaueng
21147 wine_fn_config_makefile dlls/x3daudio1_0 enable_x3daudio1_0
21148 wine_fn_config_makefile dlls/x3daudio1_1 enable_x3daudio1_1
21149 wine_fn_config_makefile dlls/x3daudio1_2 enable_x3daudio1_2
21150 wine_fn_config_makefile dlls/x3daudio1_3 enable_x3daudio1_3
21151 wine_fn_config_makefile dlls/x3daudio1_4 enable_x3daudio1_4
21152 wine_fn_config_makefile dlls/x3daudio1_5 enable_x3daudio1_5
21153 wine_fn_config_makefile dlls/x3daudio1_6 enable_x3daudio1_6
21154 wine_fn_config_makefile dlls/x3daudio1_7 enable_x3daudio1_7
21155 wine_fn_config_makefile dlls/xactengine3_0 enable_xactengine3_0
21156 wine_fn_config_makefile dlls/xactengine3_1 enable_xactengine3_1
21157 wine_fn_config_makefile dlls/xactengine3_2 enable_xactengine3_2
21158 wine_fn_config_makefile dlls/xactengine3_3 enable_xactengine3_3
21159 wine_fn_config_makefile dlls/xactengine3_4 enable_xactengine3_4
21160 wine_fn_config_makefile dlls/xactengine3_5 enable_xactengine3_5
21161 wine_fn_config_makefile dlls/xactengine3_6 enable_xactengine3_6
21162 wine_fn_config_makefile dlls/xactengine3_7 enable_xactengine3_7
21163 wine_fn_config_makefile dlls/xactengine3_7/tests enable_tests
21164 wine_fn_config_makefile dlls/xapofx1_1 enable_xapofx1_1
21165 wine_fn_config_makefile dlls/xapofx1_2 enable_xapofx1_2
21166 wine_fn_config_makefile dlls/xapofx1_3 enable_xapofx1_3
21167 wine_fn_config_makefile dlls/xapofx1_4 enable_xapofx1_4
21168 wine_fn_config_makefile dlls/xapofx1_5 enable_xapofx1_5
21169 wine_fn_config_makefile dlls/xaudio2_0 enable_xaudio2_0
21170 wine_fn_config_makefile dlls/xaudio2_1 enable_xaudio2_1
21171 wine_fn_config_makefile dlls/xaudio2_2 enable_xaudio2_2
21172 wine_fn_config_makefile dlls/xaudio2_3 enable_xaudio2_3
21173 wine_fn_config_makefile dlls/xaudio2_4 enable_xaudio2_4
21174 wine_fn_config_makefile dlls/xaudio2_5 enable_xaudio2_5
21175 wine_fn_config_makefile dlls/xaudio2_6 enable_xaudio2_6
21176 wine_fn_config_makefile dlls/xaudio2_7 enable_xaudio2_7
21177 wine_fn_config_makefile dlls/xaudio2_7/tests enable_tests
21178 wine_fn_config_makefile dlls/xaudio2_8 enable_xaudio2_8
21179 wine_fn_config_makefile dlls/xaudio2_9 enable_xaudio2_9
21180 wine_fn_config_makefile dlls/xinput1_1 enable_xinput1_1
21181 wine_fn_config_makefile dlls/xinput1_2 enable_xinput1_2
21182 wine_fn_config_makefile dlls/xinput1_3 enable_xinput1_3
21183 wine_fn_config_makefile dlls/xinput1_3/tests enable_tests
21184 wine_fn_config_makefile dlls/xinput1_4 enable_xinput1_4
21185 wine_fn_config_makefile dlls/xinput9_1_0 enable_xinput9_1_0
21186 wine_fn_config_makefile dlls/xmllite enable_xmllite
21187 wine_fn_config_makefile dlls/xmllite/tests enable_tests
21188 wine_fn_config_makefile dlls/xolehlp enable_xolehlp
21189 wine_fn_config_makefile dlls/xpsprint enable_xpsprint
21190 wine_fn_config_makefile dlls/xpssvcs enable_xpssvcs
21191 wine_fn_config_makefile fonts enable_fonts
21192 wine_fn_config_makefile include enable_include
21193 wine_fn_config_makefile libs/port enable_port
21194 wine_fn_config_makefile libs/wine enable_wine
21195 wine_fn_config_makefile libs/wpp enable_wpp
21196 wine_fn_config_makefile loader enable_loader
21197 wine_fn_config_makefile nls enable_nls
21198 wine_fn_config_makefile po enable_po
21199 wine_fn_config_makefile programs/arp enable_arp
21200 wine_fn_config_makefile programs/aspnet_regiis enable_aspnet_regiis
21201 wine_fn_config_makefile programs/attrib enable_attrib
21202 wine_fn_config_makefile programs/cabarc enable_cabarc
21203 wine_fn_config_makefile programs/cacls enable_cacls
21204 wine_fn_config_makefile programs/chcp.com enable_chcp_com
21205 wine_fn_config_makefile programs/clock enable_clock
21206 wine_fn_config_makefile programs/cmd enable_cmd
21207 wine_fn_config_makefile programs/cmd/tests enable_tests
21208 wine_fn_config_makefile programs/conhost enable_conhost
21209 wine_fn_config_makefile programs/conhost/tests enable_tests
21210 wine_fn_config_makefile programs/control enable_control
21211 wine_fn_config_makefile programs/cscript enable_cscript
21212 wine_fn_config_makefile programs/dism enable_dism
21213 wine_fn_config_makefile programs/dplaysvr enable_dplaysvr
21214 wine_fn_config_makefile programs/dpnsvr enable_dpnsvr
21215 wine_fn_config_makefile programs/dpvsetup enable_dpvsetup
21216 wine_fn_config_makefile programs/dxdiag enable_dxdiag
21217 wine_fn_config_makefile programs/eject enable_eject
21218 wine_fn_config_makefile programs/expand enable_expand
21219 wine_fn_config_makefile programs/explorer enable_explorer
21220 wine_fn_config_makefile programs/extrac32 enable_extrac32
21221 wine_fn_config_makefile programs/fc enable_fc
21222 wine_fn_config_makefile programs/find enable_find
21223 wine_fn_config_makefile programs/find/tests enable_tests
21224 wine_fn_config_makefile programs/findstr enable_findstr
21225 wine_fn_config_makefile programs/fsutil enable_fsutil
21226 wine_fn_config_makefile programs/fsutil/tests enable_tests
21227 wine_fn_config_makefile programs/hh enable_hh
21228 wine_fn_config_makefile programs/hostname enable_hostname
21229 wine_fn_config_makefile programs/icacls enable_icacls
21230 wine_fn_config_makefile programs/icinfo enable_icinfo
21231 wine_fn_config_makefile programs/iexplore enable_iexplore
21232 wine_fn_config_makefile programs/ipconfig enable_ipconfig
21233 wine_fn_config_makefile programs/lodctr enable_lodctr
21234 wine_fn_config_makefile programs/mofcomp enable_mofcomp
21235 wine_fn_config_makefile programs/mshta enable_mshta
21236 wine_fn_config_makefile programs/msidb enable_msidb
21237 wine_fn_config_makefile programs/msiexec enable_msiexec
21238 wine_fn_config_makefile programs/msinfo32 enable_msinfo32
21239 wine_fn_config_makefile programs/net enable_net
21240 wine_fn_config_makefile programs/netsh enable_netsh
21241 wine_fn_config_makefile programs/netstat enable_netstat
21242 wine_fn_config_makefile programs/ngen enable_ngen
21243 wine_fn_config_makefile programs/notepad enable_notepad
21244 wine_fn_config_makefile programs/oleview enable_oleview
21245 wine_fn_config_makefile programs/ping enable_ping
21246 wine_fn_config_makefile programs/plugplay enable_plugplay
21247 wine_fn_config_makefile programs/powershell enable_powershell
21248 wine_fn_config_makefile programs/presentationfontcache enable_presentationfontcache
21249 wine_fn_config_makefile programs/progman enable_progman
21250 wine_fn_config_makefile programs/reg enable_reg
21251 wine_fn_config_makefile programs/reg/tests enable_tests
21252 wine_fn_config_makefile programs/regasm enable_regasm
21253 wine_fn_config_makefile programs/regedit enable_regedit
21254 wine_fn_config_makefile programs/regedit/tests enable_tests
21255 wine_fn_config_makefile programs/regini enable_regini
21256 wine_fn_config_makefile programs/regsvcs enable_regsvcs
21257 wine_fn_config_makefile programs/regsvr32 enable_regsvr32
21258 wine_fn_config_makefile programs/rpcss enable_rpcss
21259 wine_fn_config_makefile programs/rundll.exe16 enable_win16
21260 wine_fn_config_makefile programs/rundll32 enable_rundll32
21261 wine_fn_config_makefile programs/sc enable_sc
21262 wine_fn_config_makefile programs/schtasks enable_schtasks
21263 wine_fn_config_makefile programs/schtasks/tests enable_tests
21264 wine_fn_config_makefile programs/sdbinst enable_sdbinst
21265 wine_fn_config_makefile programs/secedit enable_secedit
21266 wine_fn_config_makefile programs/servicemodelreg enable_servicemodelreg
21267 wine_fn_config_makefile programs/services enable_services
21268 wine_fn_config_makefile programs/services/tests enable_tests
21269 wine_fn_config_makefile programs/shutdown enable_shutdown
21270 wine_fn_config_makefile programs/spoolsv enable_spoolsv
21271 wine_fn_config_makefile programs/start enable_start
21272 wine_fn_config_makefile programs/subst enable_subst
21273 wine_fn_config_makefile programs/svchost enable_svchost
21274 wine_fn_config_makefile programs/systeminfo enable_systeminfo
21275 wine_fn_config_makefile programs/taskkill enable_taskkill
21276 wine_fn_config_makefile programs/tasklist enable_tasklist
21277 wine_fn_config_makefile programs/taskmgr enable_taskmgr
21278 wine_fn_config_makefile programs/termsv enable_termsv
21279 wine_fn_config_makefile programs/uninstaller enable_uninstaller
21280 wine_fn_config_makefile programs/unlodctr enable_unlodctr
21281 wine_fn_config_makefile programs/view enable_view
21282 wine_fn_config_makefile programs/wevtutil enable_wevtutil
21283 wine_fn_config_makefile programs/where enable_where
21284 wine_fn_config_makefile programs/whoami enable_whoami
21285 wine_fn_config_makefile programs/wineboot enable_wineboot
21286 wine_fn_config_makefile programs/winebrowser enable_winebrowser
21287 wine_fn_config_makefile programs/winecfg enable_winecfg
21288 wine_fn_config_makefile programs/wineconsole enable_wineconsole
21289 wine_fn_config_makefile programs/winedbg enable_winedbg
21290 wine_fn_config_makefile programs/winedevice enable_winedevice
21291 wine_fn_config_makefile programs/winefile enable_winefile
21292 wine_fn_config_makefile programs/winemenubuilder enable_winemenubuilder
21293 wine_fn_config_makefile programs/winemine enable_winemine
21294 wine_fn_config_makefile programs/winemsibuilder enable_winemsibuilder
21295 wine_fn_config_makefile programs/winepath enable_winepath
21296 wine_fn_config_makefile programs/winetest enable_winetest
21297 wine_fn_config_makefile programs/winevdm enable_win16
21298 wine_fn_config_makefile programs/winhelp.exe16 enable_win16
21299 wine_fn_config_makefile programs/winhlp32 enable_winhlp32
21300 wine_fn_config_makefile programs/winmgmt enable_winmgmt
21301 wine_fn_config_makefile programs/winoldap.mod16 enable_win16
21302 wine_fn_config_makefile programs/winver enable_winver
21303 wine_fn_config_makefile programs/wmic enable_wmic
21304 wine_fn_config_makefile programs/wmplayer enable_wmplayer
21305 wine_fn_config_makefile programs/wordpad enable_wordpad
21306 wine_fn_config_makefile programs/write enable_write
21307 wine_fn_config_makefile programs/wscript enable_wscript
21308 wine_fn_config_makefile programs/wscript/tests enable_tests
21309 wine_fn_config_makefile programs/wuauserv enable_wuauserv
21310 wine_fn_config_makefile programs/wusa enable_wusa
21311 wine_fn_config_makefile programs/xcopy enable_xcopy
21312 wine_fn_config_makefile programs/xcopy/tests enable_tests
21313 wine_fn_config_makefile server enable_server
21314 test "x$enable_tools" = xno || wine_fn_config_makefile tools enable_tools
21315 test "x$enable_tools" = xno || wine_fn_config_makefile tools/sfnt2fon enable_sfnt2fon
21316 test "x$enable_tools" = xno || wine_fn_config_makefile tools/widl enable_widl
21317 test "x$enable_tools" = xno || wine_fn_config_makefile tools/winebuild enable_winebuild
21318 test "x$enable_tools" = xno || wine_fn_config_makefile tools/winedump enable_winedump
21319 test "x$enable_tools" = xno || wine_fn_config_makefile tools/winegcc enable_winegcc
21320 test "x$enable_tools" = xno || wine_fn_config_makefile tools/winemaker enable_winemaker
21321 test "x$enable_tools" = xno || wine_fn_config_makefile tools/wmc enable_wmc
21322 test "x$enable_tools" = xno || wine_fn_config_makefile tools/wrc enable_wrc
21325 wine_fn_append_file CONFIGURE_TARGETS "TAGS"
21326 wine_fn_append_file CONFIGURE_TARGETS "tags"
21327 wine_fn_append_file CONFIGURE_TARGETS "autom4te.cache"
21328 wine_fn_append_file CONFIGURE_TARGETS "config.log"
21329 wine_fn_append_file CONFIGURE_TARGETS "config.status"
21330 wine_fn_append_file CONFIGURE_TARGETS "include/config.h"
21331 wine_fn_append_file CONFIGURE_TARGETS "include/stamp-h"
21332 test "$wine_binary" = wine || wine_fn_append_file CONFIGURE_TARGETS "loader/wine"
21334 if test "x$enable_tools" != xno
21335 then
21336 wine_fn_append_file CONFIGURE_TARGETS "tools/makedep$ac_exeext"
21337 ac_config_commands="$ac_config_commands tools/makedep"
21341 ac_config_commands="$ac_config_commands Makefile"
21344 ac_config_files="$ac_config_files Make.tmp:Makefile.in"
21348 if test "x$enable_maintainer_mode" = xyes
21349 then
21350 wine_fn_append_rule "configure: configure.ac aclocal.m4
21351 autoconf --warnings=all
21352 include/config.h.in: include/stamp-h.in
21353 include/stamp-h.in: configure.ac aclocal.m4
21354 autoheader --warnings=all
21355 @echo timestamp > \$@"
21358 if test "x$enable_tools" != xno
21359 then
21360 wine_fn_append_rule "tools/makedep$ac_exeext: $srcdir/tools/makedep.c include/config.h config.status
21361 @./config.status tools/makedep
21362 Makefile: tools/makedep$ac_exeext"
21363 else
21364 wine_fn_append_rule "\$(MAKEDEP):
21365 @echo \"You need to run make in $TOOLSDIR first\" && false"
21368 if test -n "$with_wine64"
21369 then
21370 case "$with_wine64" in
21371 /*) reldir="" ;;
21372 *) reldir="../" ;;
21373 esac
21374 rm -f fonts server 2>/dev/null
21375 wine_fn_append_rule "all: loader/wine64 loader/wine64-preloader $with_wine64/loader/wine $with_wine64/loader/wine-preloader
21376 loader/wine64 loader/wine64-preloader:
21377 rm -f \$@ && \$(LN_S) $reldir$with_wine64/\$@ \$@
21378 $with_wine64/loader/wine:
21379 rm -f \$@ && \$(LN_S) $ac_pwd/loader/wine \$@
21380 $with_wine64/loader/wine-preloader:
21381 rm -f \$@ && \$(LN_S) $ac_pwd/loader/wine-preloader \$@
21382 clean::
21383 rm -f loader/wine64 loader/wine64-preloader $with_wine64/loader/wine $with_wine64/loader/wine-preloader"
21384 else
21385 TOP_INSTALL_DEV="$TOP_INSTALL_DEV include"
21386 TOP_INSTALL_LIB="$TOP_INSTALL_LIB \
21387 fonts \
21388 loader/wine.inf \
21389 nls \
21390 programs/msidb/msidb \
21391 programs/msiexec/msiexec \
21392 programs/notepad/notepad \
21393 programs/regedit/regedit \
21394 programs/regsvr32/regsvr32 \
21395 programs/wineboot/wineboot \
21396 programs/winecfg/winecfg \
21397 programs/wineconsole/wineconsole \
21398 programs/winedbg/winedbg \
21399 programs/winefile/winefile \
21400 programs/winemine/winemine \
21401 programs/winepath/winepath \
21402 server/wineserver"
21404 case $host_os in
21405 cygwin*|mingw32*|darwin*|macosx*|linux-android*) ;;
21406 *) TOP_INSTALL_LIB="$TOP_INSTALL_LIB loader/wine.desktop" ;;
21407 esac
21410 $as_echo " done" >&6
21411 cat >confcache <<\_ACEOF
21412 # This file is a shell script that caches the results of configure
21413 # tests run on this system so they can be shared between configure
21414 # scripts and configure runs, see configure's option --config-cache.
21415 # It is not useful on other systems. If it contains results you don't
21416 # want to keep, you may remove or edit it.
21418 # config.status only pays attention to the cache file if you give it
21419 # the --recheck option to rerun configure.
21421 # `ac_cv_env_foo' variables (set or unset) will be overridden when
21422 # loading this file, other *unset* `ac_cv_foo' will be assigned the
21423 # following values.
21425 _ACEOF
21427 # The following way of writing the cache mishandles newlines in values,
21428 # but we know of no workaround that is simple, portable, and efficient.
21429 # So, we kill variables containing newlines.
21430 # Ultrix sh set writes to stderr and can't be redirected directly,
21431 # and sets the high bit in the cache file unless we assign to the vars.
21433 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
21434 eval ac_val=\$$ac_var
21435 case $ac_val in #(
21436 *${as_nl}*)
21437 case $ac_var in #(
21438 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
21439 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
21440 esac
21441 case $ac_var in #(
21442 _ | IFS | as_nl) ;; #(
21443 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
21444 *) { eval $ac_var=; unset $ac_var;} ;;
21445 esac ;;
21446 esac
21447 done
21449 (set) 2>&1 |
21450 case $as_nl`(ac_space=' '; set) 2>&1` in #(
21451 *${as_nl}ac_space=\ *)
21452 # `set' does not quote correctly, so add quotes: double-quote
21453 # substitution turns \\\\ into \\, and sed turns \\ into \.
21454 sed -n \
21455 "s/'/'\\\\''/g;
21456 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
21457 ;; #(
21459 # `set' quotes correctly as required by POSIX, so do not add quotes.
21460 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
21462 esac |
21463 sort
21465 sed '
21466 /^ac_cv_env_/b end
21467 t clear
21468 :clear
21469 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
21470 t end
21471 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
21472 :end' >>confcache
21473 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
21474 if test -w "$cache_file"; then
21475 if test "x$cache_file" != "x/dev/null"; then
21476 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
21477 $as_echo "$as_me: updating cache $cache_file" >&6;}
21478 if test ! -f "$cache_file" || test -h "$cache_file"; then
21479 cat confcache >"$cache_file"
21480 else
21481 case $cache_file in #(
21482 */* | ?:*)
21483 mv -f confcache "$cache_file"$$ &&
21484 mv -f "$cache_file"$$ "$cache_file" ;; #(
21486 mv -f confcache "$cache_file" ;;
21487 esac
21490 else
21491 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
21492 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
21495 rm -f confcache
21497 test "x$prefix" = xNONE && prefix=$ac_default_prefix
21498 # Let make expand exec_prefix.
21499 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
21501 DEFS=-DHAVE_CONFIG_H
21503 ac_libobjs=
21504 ac_ltlibobjs=
21506 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
21507 # 1. Remove the extension, and $U if already installed.
21508 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
21509 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
21510 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
21511 # will be set to the directory where LIBOBJS objects are built.
21512 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
21513 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
21514 done
21515 LIBOBJS=$ac_libobjs
21517 LTLIBOBJS=$ac_ltlibobjs
21521 : "${CONFIG_STATUS=./config.status}"
21522 ac_write_fail=0
21523 ac_clean_files_save=$ac_clean_files
21524 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
21525 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
21526 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
21527 as_write_fail=0
21528 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
21529 #! $SHELL
21530 # Generated by $as_me.
21531 # Run this file to recreate the current configuration.
21532 # Compiler output produced by configure, useful for debugging
21533 # configure, is in config.log if it exists.
21535 debug=false
21536 ac_cs_recheck=false
21537 ac_cs_silent=false
21539 SHELL=\${CONFIG_SHELL-$SHELL}
21540 export SHELL
21541 _ASEOF
21542 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
21543 ## -------------------- ##
21544 ## M4sh Initialization. ##
21545 ## -------------------- ##
21547 # Be more Bourne compatible
21548 DUALCASE=1; export DUALCASE # for MKS sh
21549 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
21550 emulate sh
21551 NULLCMD=:
21552 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
21553 # is contrary to our usage. Disable this feature.
21554 alias -g '${1+"$@"}'='"$@"'
21555 setopt NO_GLOB_SUBST
21556 else
21557 case `(set -o) 2>/dev/null` in #(
21558 *posix*) :
21559 set -o posix ;; #(
21560 *) :
21562 esac
21566 as_nl='
21568 export as_nl
21569 # Printing a long string crashes Solaris 7 /usr/bin/printf.
21570 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
21571 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
21572 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
21573 # Prefer a ksh shell builtin over an external printf program on Solaris,
21574 # but without wasting forks for bash or zsh.
21575 if test -z "$BASH_VERSION$ZSH_VERSION" \
21576 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
21577 as_echo='print -r --'
21578 as_echo_n='print -rn --'
21579 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
21580 as_echo='printf %s\n'
21581 as_echo_n='printf %s'
21582 else
21583 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
21584 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
21585 as_echo_n='/usr/ucb/echo -n'
21586 else
21587 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
21588 as_echo_n_body='eval
21589 arg=$1;
21590 case $arg in #(
21591 *"$as_nl"*)
21592 expr "X$arg" : "X\\(.*\\)$as_nl";
21593 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
21594 esac;
21595 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
21597 export as_echo_n_body
21598 as_echo_n='sh -c $as_echo_n_body as_echo'
21600 export as_echo_body
21601 as_echo='sh -c $as_echo_body as_echo'
21604 # The user is always right.
21605 if test "${PATH_SEPARATOR+set}" != set; then
21606 PATH_SEPARATOR=:
21607 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
21608 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
21609 PATH_SEPARATOR=';'
21614 # IFS
21615 # We need space, tab and new line, in precisely that order. Quoting is
21616 # there to prevent editors from complaining about space-tab.
21617 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
21618 # splitting by setting IFS to empty value.)
21619 IFS=" "" $as_nl"
21621 # Find who we are. Look in the path if we contain no directory separator.
21622 as_myself=
21623 case $0 in #((
21624 *[\\/]* ) as_myself=$0 ;;
21625 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
21626 for as_dir in $PATH
21628 IFS=$as_save_IFS
21629 test -z "$as_dir" && as_dir=.
21630 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
21631 done
21632 IFS=$as_save_IFS
21635 esac
21636 # We did not find ourselves, most probably we were run as `sh COMMAND'
21637 # in which case we are not to be found in the path.
21638 if test "x$as_myself" = x; then
21639 as_myself=$0
21641 if test ! -f "$as_myself"; then
21642 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
21643 exit 1
21646 # Unset variables that we do not need and which cause bugs (e.g. in
21647 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
21648 # suppresses any "Segmentation fault" message there. '((' could
21649 # trigger a bug in pdksh 5.2.14.
21650 for as_var in BASH_ENV ENV MAIL MAILPATH
21651 do eval test x\${$as_var+set} = xset \
21652 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
21653 done
21654 PS1='$ '
21655 PS2='> '
21656 PS4='+ '
21658 # NLS nuisances.
21659 LC_ALL=C
21660 export LC_ALL
21661 LANGUAGE=C
21662 export LANGUAGE
21664 # CDPATH.
21665 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
21668 # as_fn_error STATUS ERROR [LINENO LOG_FD]
21669 # ----------------------------------------
21670 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
21671 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
21672 # script with STATUS, using 1 if that was 0.
21673 as_fn_error ()
21675 as_status=$1; test $as_status -eq 0 && as_status=1
21676 if test "$4"; then
21677 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
21678 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
21680 $as_echo "$as_me: error: $2" >&2
21681 as_fn_exit $as_status
21682 } # as_fn_error
21685 # as_fn_set_status STATUS
21686 # -----------------------
21687 # Set $? to STATUS, without forking.
21688 as_fn_set_status ()
21690 return $1
21691 } # as_fn_set_status
21693 # as_fn_exit STATUS
21694 # -----------------
21695 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
21696 as_fn_exit ()
21698 set +e
21699 as_fn_set_status $1
21700 exit $1
21701 } # as_fn_exit
21703 # as_fn_unset VAR
21704 # ---------------
21705 # Portably unset VAR.
21706 as_fn_unset ()
21708 { eval $1=; unset $1;}
21710 as_unset=as_fn_unset
21711 # as_fn_append VAR VALUE
21712 # ----------------------
21713 # Append the text in VALUE to the end of the definition contained in VAR. Take
21714 # advantage of any shell optimizations that allow amortized linear growth over
21715 # repeated appends, instead of the typical quadratic growth present in naive
21716 # implementations.
21717 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
21718 eval 'as_fn_append ()
21720 eval $1+=\$2
21722 else
21723 as_fn_append ()
21725 eval $1=\$$1\$2
21727 fi # as_fn_append
21729 # as_fn_arith ARG...
21730 # ------------------
21731 # Perform arithmetic evaluation on the ARGs, and store the result in the
21732 # global $as_val. Take advantage of shells that can avoid forks. The arguments
21733 # must be portable across $(()) and expr.
21734 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
21735 eval 'as_fn_arith ()
21737 as_val=$(( $* ))
21739 else
21740 as_fn_arith ()
21742 as_val=`expr "$@" || test $? -eq 1`
21744 fi # as_fn_arith
21747 if expr a : '\(a\)' >/dev/null 2>&1 &&
21748 test "X`expr 00001 : '.*\(...\)'`" = X001; then
21749 as_expr=expr
21750 else
21751 as_expr=false
21754 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
21755 as_basename=basename
21756 else
21757 as_basename=false
21760 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
21761 as_dirname=dirname
21762 else
21763 as_dirname=false
21766 as_me=`$as_basename -- "$0" ||
21767 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
21768 X"$0" : 'X\(//\)$' \| \
21769 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
21770 $as_echo X/"$0" |
21771 sed '/^.*\/\([^/][^/]*\)\/*$/{
21772 s//\1/
21775 /^X\/\(\/\/\)$/{
21776 s//\1/
21779 /^X\/\(\/\).*/{
21780 s//\1/
21783 s/.*/./; q'`
21785 # Avoid depending upon Character Ranges.
21786 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
21787 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
21788 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
21789 as_cr_digits='0123456789'
21790 as_cr_alnum=$as_cr_Letters$as_cr_digits
21792 ECHO_C= ECHO_N= ECHO_T=
21793 case `echo -n x` in #(((((
21794 -n*)
21795 case `echo 'xy\c'` in
21796 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
21797 xy) ECHO_C='\c';;
21798 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
21799 ECHO_T=' ';;
21800 esac;;
21802 ECHO_N='-n';;
21803 esac
21805 rm -f conf$$ conf$$.exe conf$$.file
21806 if test -d conf$$.dir; then
21807 rm -f conf$$.dir/conf$$.file
21808 else
21809 rm -f conf$$.dir
21810 mkdir conf$$.dir 2>/dev/null
21812 if (echo >conf$$.file) 2>/dev/null; then
21813 if ln -s conf$$.file conf$$ 2>/dev/null; then
21814 as_ln_s='ln -s'
21815 # ... but there are two gotchas:
21816 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
21817 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
21818 # In both cases, we have to default to `cp -pR'.
21819 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
21820 as_ln_s='cp -pR'
21821 elif ln conf$$.file conf$$ 2>/dev/null; then
21822 as_ln_s=ln
21823 else
21824 as_ln_s='cp -pR'
21826 else
21827 as_ln_s='cp -pR'
21829 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
21830 rmdir conf$$.dir 2>/dev/null
21833 # as_fn_mkdir_p
21834 # -------------
21835 # Create "$as_dir" as a directory, including parents if necessary.
21836 as_fn_mkdir_p ()
21839 case $as_dir in #(
21840 -*) as_dir=./$as_dir;;
21841 esac
21842 test -d "$as_dir" || eval $as_mkdir_p || {
21843 as_dirs=
21844 while :; do
21845 case $as_dir in #(
21846 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
21847 *) as_qdir=$as_dir;;
21848 esac
21849 as_dirs="'$as_qdir' $as_dirs"
21850 as_dir=`$as_dirname -- "$as_dir" ||
21851 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21852 X"$as_dir" : 'X\(//\)[^/]' \| \
21853 X"$as_dir" : 'X\(//\)$' \| \
21854 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
21855 $as_echo X"$as_dir" |
21856 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
21857 s//\1/
21860 /^X\(\/\/\)[^/].*/{
21861 s//\1/
21864 /^X\(\/\/\)$/{
21865 s//\1/
21868 /^X\(\/\).*/{
21869 s//\1/
21872 s/.*/./; q'`
21873 test -d "$as_dir" && break
21874 done
21875 test -z "$as_dirs" || eval "mkdir $as_dirs"
21876 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
21879 } # as_fn_mkdir_p
21880 if mkdir -p . 2>/dev/null; then
21881 as_mkdir_p='mkdir -p "$as_dir"'
21882 else
21883 test -d ./-p && rmdir ./-p
21884 as_mkdir_p=false
21888 # as_fn_executable_p FILE
21889 # -----------------------
21890 # Test if FILE is an executable regular file.
21891 as_fn_executable_p ()
21893 test -f "$1" && test -x "$1"
21894 } # as_fn_executable_p
21895 as_test_x='test -x'
21896 as_executable_p=as_fn_executable_p
21898 # Sed expression to map a string onto a valid CPP name.
21899 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
21901 # Sed expression to map a string onto a valid variable name.
21902 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
21905 exec 6>&1
21906 ## ----------------------------------- ##
21907 ## Main body of $CONFIG_STATUS script. ##
21908 ## ----------------------------------- ##
21909 _ASEOF
21910 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
21912 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
21913 # Save the log message, to keep $0 and so on meaningful, and to
21914 # report actual input values of CONFIG_FILES etc. instead of their
21915 # values after options handling.
21916 ac_log="
21917 This file was extended by Wine $as_me 6.3, which was
21918 generated by GNU Autoconf 2.69. Invocation command line was
21920 CONFIG_FILES = $CONFIG_FILES
21921 CONFIG_HEADERS = $CONFIG_HEADERS
21922 CONFIG_LINKS = $CONFIG_LINKS
21923 CONFIG_COMMANDS = $CONFIG_COMMANDS
21924 $ $0 $@
21926 on `(hostname || uname -n) 2>/dev/null | sed 1q`
21929 _ACEOF
21931 case $ac_config_files in *"
21932 "*) set x $ac_config_files; shift; ac_config_files=$*;;
21933 esac
21935 case $ac_config_headers in *"
21936 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
21937 esac
21940 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
21941 # Files that config.status was made for.
21942 config_files="$ac_config_files"
21943 config_headers="$ac_config_headers"
21944 config_links="$ac_config_links"
21945 config_commands="$ac_config_commands"
21947 _ACEOF
21949 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
21950 ac_cs_usage="\
21951 \`$as_me' instantiates files and other configuration actions
21952 from templates according to the current configuration. Unless the files
21953 and actions are specified as TAGs, all are instantiated by default.
21955 Usage: $0 [OPTION]... [TAG]...
21957 -h, --help print this help, then exit
21958 -V, --version print version number and configuration settings, then exit
21959 --config print configuration, then exit
21960 -q, --quiet, --silent
21961 do not print progress messages
21962 -d, --debug don't remove temporary files
21963 --recheck update $as_me by reconfiguring in the same conditions
21964 --file=FILE[:TEMPLATE]
21965 instantiate the configuration file FILE
21966 --header=FILE[:TEMPLATE]
21967 instantiate the configuration header FILE
21969 Configuration files:
21970 $config_files
21972 Configuration headers:
21973 $config_headers
21975 Configuration links:
21976 $config_links
21978 Configuration commands:
21979 $config_commands
21981 Report bugs to <wine-devel@winehq.org>.
21982 Wine home page: <https://www.winehq.org>."
21984 _ACEOF
21985 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
21986 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
21987 ac_cs_version="\\
21988 Wine config.status 6.3
21989 configured by $0, generated by GNU Autoconf 2.69,
21990 with options \\"\$ac_cs_config\\"
21992 Copyright (C) 2012 Free Software Foundation, Inc.
21993 This config.status script is free software; the Free Software Foundation
21994 gives unlimited permission to copy, distribute and modify it."
21996 ac_pwd='$ac_pwd'
21997 srcdir='$srcdir'
21998 test -n "\$AWK" || AWK=awk
21999 _ACEOF
22001 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22002 # The default lists apply if the user does not specify any file.
22003 ac_need_defaults=:
22004 while test $# != 0
22006 case $1 in
22007 --*=?*)
22008 ac_option=`expr "X$1" : 'X\([^=]*\)='`
22009 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
22010 ac_shift=:
22012 --*=)
22013 ac_option=`expr "X$1" : 'X\([^=]*\)='`
22014 ac_optarg=
22015 ac_shift=:
22018 ac_option=$1
22019 ac_optarg=$2
22020 ac_shift=shift
22022 esac
22024 case $ac_option in
22025 # Handling of the options.
22026 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
22027 ac_cs_recheck=: ;;
22028 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
22029 $as_echo "$ac_cs_version"; exit ;;
22030 --config | --confi | --conf | --con | --co | --c )
22031 $as_echo "$ac_cs_config"; exit ;;
22032 --debug | --debu | --deb | --de | --d | -d )
22033 debug=: ;;
22034 --file | --fil | --fi | --f )
22035 $ac_shift
22036 case $ac_optarg in
22037 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
22038 '') as_fn_error $? "missing file argument" ;;
22039 esac
22040 as_fn_append CONFIG_FILES " '$ac_optarg'"
22041 ac_need_defaults=false;;
22042 --header | --heade | --head | --hea )
22043 $ac_shift
22044 case $ac_optarg in
22045 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
22046 esac
22047 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
22048 ac_need_defaults=false;;
22049 --he | --h)
22050 # Conflict between --help and --header
22051 as_fn_error $? "ambiguous option: \`$1'
22052 Try \`$0 --help' for more information.";;
22053 --help | --hel | -h )
22054 $as_echo "$ac_cs_usage"; exit ;;
22055 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
22056 | -silent | --silent | --silen | --sile | --sil | --si | --s)
22057 ac_cs_silent=: ;;
22059 # This is an error.
22060 -*) as_fn_error $? "unrecognized option: \`$1'
22061 Try \`$0 --help' for more information." ;;
22063 *) as_fn_append ac_config_targets " $1"
22064 ac_need_defaults=false ;;
22066 esac
22067 shift
22068 done
22070 ac_configure_extra_args=
22072 if $ac_cs_silent; then
22073 exec 6>/dev/null
22074 ac_configure_extra_args="$ac_configure_extra_args --silent"
22077 _ACEOF
22078 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22079 if \$ac_cs_recheck; then
22080 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
22081 shift
22082 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
22083 CONFIG_SHELL='$SHELL'
22084 export CONFIG_SHELL
22085 exec "\$@"
22088 _ACEOF
22089 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22090 exec 5>>config.log
22092 echo
22093 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
22094 ## Running $as_me. ##
22095 _ASBOX
22096 $as_echo "$ac_log"
22097 } >&5
22099 _ACEOF
22100 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22102 # INIT-COMMANDS
22104 wine_fn_output_makedep ()
22106 as_dir=tools; as_fn_mkdir_p
22107 $CC -Iinclude -I$srcdir/include -D__WINESRC__ $EXTRACFLAGS $CPPFLAGS $CFLAGS -o tools/makedep$ac_exeext $srcdir/tools/makedep.c $LDFLAGS
22109 wine_fn_output_makefile ()
22111 cat Make.tmp - <<\_WINE_EOF >\$tmp/makefile && mv -f \$tmp/makefile \$1 && rm -f Make.tmp && "$wine_makedep"$makedep_flags && return
22112 `cat $wine_rules_file`
22113 _WINE_EOF
22114 as_fn_error $? "could not create Makefile" "$LINENO" 5
22117 _ACEOF
22119 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22121 # Handling of arguments.
22122 for ac_config_target in $ac_config_targets
22124 case $ac_config_target in
22125 "include/config.h") CONFIG_HEADERS="$CONFIG_HEADERS include/config.h" ;;
22126 "include/stamp-h") CONFIG_COMMANDS="$CONFIG_COMMANDS include/stamp-h" ;;
22127 "wine") CONFIG_LINKS="$CONFIG_LINKS wine:tools/winewrapper" ;;
22128 "wine64") CONFIG_LINKS="$CONFIG_LINKS wine64:tools/winewrapper" ;;
22129 "tools/makedep") CONFIG_COMMANDS="$CONFIG_COMMANDS tools/makedep" ;;
22130 "Makefile") CONFIG_COMMANDS="$CONFIG_COMMANDS Makefile" ;;
22131 "Make.tmp") CONFIG_FILES="$CONFIG_FILES Make.tmp:Makefile.in" ;;
22133 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
22134 esac
22135 done
22138 # If the user did not use the arguments to specify the items to instantiate,
22139 # then the envvar interface is used. Set only those that are not.
22140 # We use the long form for the default assignment because of an extremely
22141 # bizarre bug on SunOS 4.1.3.
22142 if $ac_need_defaults; then
22143 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
22144 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
22145 test "${CONFIG_LINKS+set}" = set || CONFIG_LINKS=$config_links
22146 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
22149 # Have a temporary directory for convenience. Make it in the build tree
22150 # simply because there is no reason against having it here, and in addition,
22151 # creating and moving files from /tmp can sometimes cause problems.
22152 # Hook for its removal unless debugging.
22153 # Note that there is a small window in which the directory will not be cleaned:
22154 # after its creation but before its name has been assigned to `$tmp'.
22155 $debug ||
22157 tmp= ac_tmp=
22158 trap 'exit_status=$?
22159 : "${ac_tmp:=$tmp}"
22160 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
22162 trap 'as_fn_exit 1' 1 2 13 15
22164 # Create a (secure) tmp directory for tmp files.
22167 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
22168 test -d "$tmp"
22169 } ||
22171 tmp=./conf$$-$RANDOM
22172 (umask 077 && mkdir "$tmp")
22173 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
22174 ac_tmp=$tmp
22176 # Set up the scripts for CONFIG_FILES section.
22177 # No need to generate them if there are no CONFIG_FILES.
22178 # This happens for instance with `./config.status config.h'.
22179 if test -n "$CONFIG_FILES"; then
22182 ac_cr=`echo X | tr X '\015'`
22183 # On cygwin, bash can eat \r inside `` if the user requested igncr.
22184 # But we know of no other shell where ac_cr would be empty at this
22185 # point, so we can use a bashism as a fallback.
22186 if test "x$ac_cr" = x; then
22187 eval ac_cr=\$\'\\r\'
22189 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
22190 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
22191 ac_cs_awk_cr='\\r'
22192 else
22193 ac_cs_awk_cr=$ac_cr
22196 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
22197 _ACEOF
22201 echo "cat >conf$$subs.awk <<_ACEOF" &&
22202 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
22203 echo "_ACEOF"
22204 } >conf$$subs.sh ||
22205 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
22206 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
22207 ac_delim='%!_!# '
22208 for ac_last_try in false false false false false :; do
22209 . ./conf$$subs.sh ||
22210 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
22212 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
22213 if test $ac_delim_n = $ac_delim_num; then
22214 break
22215 elif $ac_last_try; then
22216 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
22217 else
22218 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
22220 done
22221 rm -f conf$$subs.sh
22223 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22224 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
22225 _ACEOF
22226 sed -n '
22228 s/^/S["/; s/!.*/"]=/
22231 s/^[^!]*!//
22232 :repl
22233 t repl
22234 s/'"$ac_delim"'$//
22235 t delim
22238 s/\(.\{148\}\)..*/\1/
22239 t more1
22240 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
22243 b repl
22244 :more1
22245 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
22248 s/.\{148\}//
22249 t nl
22250 :delim
22252 s/\(.\{148\}\)..*/\1/
22253 t more2
22254 s/["\\]/\\&/g; s/^/"/; s/$/"/
22257 :more2
22258 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
22261 s/.\{148\}//
22262 t delim
22263 ' <conf$$subs.awk | sed '
22264 /^[^""]/{
22266 s/\n//
22268 ' >>$CONFIG_STATUS || ac_write_fail=1
22269 rm -f conf$$subs.awk
22270 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22271 _ACAWK
22272 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
22273 for (key in S) S_is_set[key] = 1
22274 FS = "\a"
22278 line = $ 0
22279 nfields = split(line, field, "@")
22280 substed = 0
22281 len = length(field[1])
22282 for (i = 2; i < nfields; i++) {
22283 key = field[i]
22284 keylen = length(key)
22285 if (S_is_set[key]) {
22286 value = S[key]
22287 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
22288 len += length(value) + length(field[++i])
22289 substed = 1
22290 } else
22291 len += 1 + keylen
22294 print line
22297 _ACAWK
22298 _ACEOF
22299 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22300 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
22301 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
22302 else
22304 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
22305 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
22306 _ACEOF
22308 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
22309 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
22310 # trailing colons and then remove the whole line if VPATH becomes empty
22311 # (actually we leave an empty line to preserve line numbers).
22312 if test "x$srcdir" = x.; then
22313 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
22315 s///
22316 s/^/:/
22317 s/[ ]*$/:/
22318 s/:\$(srcdir):/:/g
22319 s/:\${srcdir}:/:/g
22320 s/:@srcdir@:/:/g
22321 s/^:*//
22322 s/:*$//
22324 s/\(=[ ]*\).*/\1/
22326 s/\n//
22327 s/^[^=]*=[ ]*$//
22331 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22332 fi # test -n "$CONFIG_FILES"
22334 # Set up the scripts for CONFIG_HEADERS section.
22335 # No need to generate them if there are no CONFIG_HEADERS.
22336 # This happens for instance with `./config.status Makefile'.
22337 if test -n "$CONFIG_HEADERS"; then
22338 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
22339 BEGIN {
22340 _ACEOF
22342 # Transform confdefs.h into an awk script `defines.awk', embedded as
22343 # here-document in config.status, that substitutes the proper values into
22344 # config.h.in to produce config.h.
22346 # Create a delimiter string that does not exist in confdefs.h, to ease
22347 # handling of long lines.
22348 ac_delim='%!_!# '
22349 for ac_last_try in false false :; do
22350 ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
22351 if test -z "$ac_tt"; then
22352 break
22353 elif $ac_last_try; then
22354 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
22355 else
22356 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
22358 done
22360 # For the awk script, D is an array of macro values keyed by name,
22361 # likewise P contains macro parameters if any. Preserve backslash
22362 # newline sequences.
22364 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
22365 sed -n '
22366 s/.\{148\}/&'"$ac_delim"'/g
22367 t rset
22368 :rset
22369 s/^[ ]*#[ ]*define[ ][ ]*/ /
22370 t def
22372 :def
22373 s/\\$//
22374 t bsnl
22375 s/["\\]/\\&/g
22376 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
22377 D["\1"]=" \3"/p
22378 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
22380 :bsnl
22381 s/["\\]/\\&/g
22382 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
22383 D["\1"]=" \3\\\\\\n"\\/p
22384 t cont
22385 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
22386 t cont
22388 :cont
22390 s/.\{148\}/&'"$ac_delim"'/g
22391 t clear
22392 :clear
22393 s/\\$//
22394 t bsnlc
22395 s/["\\]/\\&/g; s/^/"/; s/$/"/p
22397 :bsnlc
22398 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
22399 b cont
22400 ' <confdefs.h | sed '
22401 s/'"$ac_delim"'/"\\\
22402 "/g' >>$CONFIG_STATUS || ac_write_fail=1
22404 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22405 for (key in D) D_is_set[key] = 1
22406 FS = "\a"
22408 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
22409 line = \$ 0
22410 split(line, arg, " ")
22411 if (arg[1] == "#") {
22412 defundef = arg[2]
22413 mac1 = arg[3]
22414 } else {
22415 defundef = substr(arg[1], 2)
22416 mac1 = arg[2]
22418 split(mac1, mac2, "(") #)
22419 macro = mac2[1]
22420 prefix = substr(line, 1, index(line, defundef) - 1)
22421 if (D_is_set[macro]) {
22422 # Preserve the white space surrounding the "#".
22423 print prefix "define", macro P[macro] D[macro]
22424 next
22425 } else {
22426 # Replace #undef with comments. This is necessary, for example,
22427 # in the case of _POSIX_SOURCE, which is predefined and required
22428 # on some systems where configure will not decide to define it.
22429 if (defundef == "undef") {
22430 print "/*", prefix defundef, macro, "*/"
22431 next
22435 { print }
22436 _ACAWK
22437 _ACEOF
22438 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22439 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
22440 fi # test -n "$CONFIG_HEADERS"
22443 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :L $CONFIG_LINKS :C $CONFIG_COMMANDS"
22444 shift
22445 for ac_tag
22447 case $ac_tag in
22448 :[FHLC]) ac_mode=$ac_tag; continue;;
22449 esac
22450 case $ac_mode$ac_tag in
22451 :[FHL]*:*);;
22452 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
22453 :[FH]-) ac_tag=-:-;;
22454 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
22455 esac
22456 ac_save_IFS=$IFS
22457 IFS=:
22458 set x $ac_tag
22459 IFS=$ac_save_IFS
22460 shift
22461 ac_file=$1
22462 shift
22464 case $ac_mode in
22465 :L) ac_source=$1;;
22466 :[FH])
22467 ac_file_inputs=
22468 for ac_f
22470 case $ac_f in
22471 -) ac_f="$ac_tmp/stdin";;
22472 *) # Look for the file first in the build tree, then in the source tree
22473 # (if the path is not absolute). The absolute path cannot be DOS-style,
22474 # because $ac_f cannot contain `:'.
22475 test -f "$ac_f" ||
22476 case $ac_f in
22477 [\\/$]*) false;;
22478 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
22479 esac ||
22480 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
22481 esac
22482 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
22483 as_fn_append ac_file_inputs " '$ac_f'"
22484 done
22486 # Let's still pretend it is `configure' which instantiates (i.e., don't
22487 # use $as_me), people would be surprised to read:
22488 # /* config.h. Generated by config.status. */
22489 configure_input='Generated from '`
22490 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
22491 `' by configure.'
22492 if test x"$ac_file" != x-; then
22493 configure_input="$ac_file. $configure_input"
22494 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
22495 $as_echo "$as_me: creating $ac_file" >&6;}
22497 # Neutralize special characters interpreted by sed in replacement strings.
22498 case $configure_input in #(
22499 *\&* | *\|* | *\\* )
22500 ac_sed_conf_input=`$as_echo "$configure_input" |
22501 sed 's/[\\\\&|]/\\\\&/g'`;; #(
22502 *) ac_sed_conf_input=$configure_input;;
22503 esac
22505 case $ac_tag in
22506 *:-:* | *:-) cat >"$ac_tmp/stdin" \
22507 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
22508 esac
22510 esac
22512 ac_dir=`$as_dirname -- "$ac_file" ||
22513 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
22514 X"$ac_file" : 'X\(//\)[^/]' \| \
22515 X"$ac_file" : 'X\(//\)$' \| \
22516 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
22517 $as_echo X"$ac_file" |
22518 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
22519 s//\1/
22522 /^X\(\/\/\)[^/].*/{
22523 s//\1/
22526 /^X\(\/\/\)$/{
22527 s//\1/
22530 /^X\(\/\).*/{
22531 s//\1/
22534 s/.*/./; q'`
22535 as_dir="$ac_dir"; as_fn_mkdir_p
22536 ac_builddir=.
22538 case "$ac_dir" in
22539 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
22541 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
22542 # A ".." for each directory in $ac_dir_suffix.
22543 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
22544 case $ac_top_builddir_sub in
22545 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
22546 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
22547 esac ;;
22548 esac
22549 ac_abs_top_builddir=$ac_pwd
22550 ac_abs_builddir=$ac_pwd$ac_dir_suffix
22551 # for backward compatibility:
22552 ac_top_builddir=$ac_top_build_prefix
22554 case $srcdir in
22555 .) # We are building in place.
22556 ac_srcdir=.
22557 ac_top_srcdir=$ac_top_builddir_sub
22558 ac_abs_top_srcdir=$ac_pwd ;;
22559 [\\/]* | ?:[\\/]* ) # Absolute name.
22560 ac_srcdir=$srcdir$ac_dir_suffix;
22561 ac_top_srcdir=$srcdir
22562 ac_abs_top_srcdir=$srcdir ;;
22563 *) # Relative name.
22564 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
22565 ac_top_srcdir=$ac_top_build_prefix$srcdir
22566 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
22567 esac
22568 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
22571 case $ac_mode in
22574 # CONFIG_FILE
22577 _ACEOF
22579 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22580 # If the template does not know about datarootdir, expand it.
22581 # FIXME: This hack should be removed a few years after 2.60.
22582 ac_datarootdir_hack=; ac_datarootdir_seen=
22583 ac_sed_dataroot='
22584 /datarootdir/ {
22588 /@datadir@/p
22589 /@docdir@/p
22590 /@infodir@/p
22591 /@localedir@/p
22592 /@mandir@/p'
22593 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
22594 *datarootdir*) ac_datarootdir_seen=yes;;
22595 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
22596 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
22597 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
22598 _ACEOF
22599 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22600 ac_datarootdir_hack='
22601 s&@datadir@&$datadir&g
22602 s&@docdir@&$docdir&g
22603 s&@infodir@&$infodir&g
22604 s&@localedir@&$localedir&g
22605 s&@mandir@&$mandir&g
22606 s&\\\${datarootdir}&$datarootdir&g' ;;
22607 esac
22608 _ACEOF
22610 # Neutralize VPATH when `$srcdir' = `.'.
22611 # Shell code in configure.ac might set extrasub.
22612 # FIXME: do we really want to maintain this feature?
22613 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22614 ac_sed_extra="$ac_vpsub
22615 $extrasub
22616 _ACEOF
22617 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22619 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
22620 s|@configure_input@|$ac_sed_conf_input|;t t
22621 s&@top_builddir@&$ac_top_builddir_sub&;t t
22622 s&@top_build_prefix@&$ac_top_build_prefix&;t t
22623 s&@srcdir@&$ac_srcdir&;t t
22624 s&@abs_srcdir@&$ac_abs_srcdir&;t t
22625 s&@top_srcdir@&$ac_top_srcdir&;t t
22626 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
22627 s&@builddir@&$ac_builddir&;t t
22628 s&@abs_builddir@&$ac_abs_builddir&;t t
22629 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
22630 $ac_datarootdir_hack
22632 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
22633 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
22635 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
22636 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
22637 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
22638 "$ac_tmp/out"`; test -z "$ac_out"; } &&
22639 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
22640 which seems to be undefined. Please make sure it is defined" >&5
22641 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
22642 which seems to be undefined. Please make sure it is defined" >&2;}
22644 rm -f "$ac_tmp/stdin"
22645 case $ac_file in
22646 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
22647 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
22648 esac \
22649 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
22653 # CONFIG_HEADER
22655 if test x"$ac_file" != x-; then
22657 $as_echo "/* $configure_input */" \
22658 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
22659 } >"$ac_tmp/config.h" \
22660 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
22661 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
22662 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
22663 $as_echo "$as_me: $ac_file is unchanged" >&6;}
22664 else
22665 rm -f "$ac_file"
22666 mv "$ac_tmp/config.h" "$ac_file" \
22667 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
22669 else
22670 $as_echo "/* $configure_input */" \
22671 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
22672 || as_fn_error $? "could not create -" "$LINENO" 5
22677 # CONFIG_LINK
22680 if test "$ac_source" = "$ac_file" && test "$srcdir" = '.'; then
22682 else
22683 # Prefer the file from the source tree if names are identical.
22684 if test "$ac_source" = "$ac_file" || test ! -r "$ac_source"; then
22685 ac_source=$srcdir/$ac_source
22688 { $as_echo "$as_me:${as_lineno-$LINENO}: linking $ac_source to $ac_file" >&5
22689 $as_echo "$as_me: linking $ac_source to $ac_file" >&6;}
22691 if test ! -r "$ac_source"; then
22692 as_fn_error $? "$ac_source: file not found" "$LINENO" 5
22694 rm -f "$ac_file"
22696 # Try a relative symlink, then a hard link, then a copy.
22697 case $ac_source in
22698 [\\/$]* | ?:[\\/]* ) ac_rel_source=$ac_source ;;
22699 *) ac_rel_source=$ac_top_build_prefix$ac_source ;;
22700 esac
22701 ln -s "$ac_rel_source" "$ac_file" 2>/dev/null ||
22702 ln "$ac_source" "$ac_file" 2>/dev/null ||
22703 cp -p "$ac_source" "$ac_file" ||
22704 as_fn_error $? "cannot link or copy $ac_source to $ac_file" "$LINENO" 5
22707 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
22708 $as_echo "$as_me: executing $ac_file commands" >&6;}
22710 esac
22713 case $ac_file$ac_mode in
22714 "include/stamp-h":C) echo timestamp > include/stamp-h ;;
22715 "tools/makedep":C) wine_fn_output_makedep || as_fn_exit $? ;;
22716 "Makefile":C) wine_fn_output_makefile Makefile ;;
22718 esac
22719 done # for ac_tag
22722 as_fn_exit 0
22723 _ACEOF
22724 ac_clean_files=$ac_clean_files_save
22726 test $ac_write_fail = 0 ||
22727 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
22730 # configure is writing to config.log, and then calls config.status.
22731 # config.status does its own redirection, appending to config.log.
22732 # Unfortunately, on DOS this fails, as config.log is still kept open
22733 # by configure, so config.status won't be able to write to it; its
22734 # output is simply discarded. So we exec the FD to /dev/null,
22735 # effectively closing config.log, so it can be properly (re)opened and
22736 # appended to by config.status. When coming back to configure, we
22737 # need to make the FD available again.
22738 if test "$no_create" != yes; then
22739 ac_cs_success=:
22740 ac_config_status_args=
22741 test "$silent" = yes &&
22742 ac_config_status_args="$ac_config_status_args --quiet"
22743 exec 5>/dev/null
22744 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
22745 exec 5>>config.log
22746 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
22747 # would make configure fail if this is the last instruction.
22748 $ac_cs_success || as_fn_exit 1
22750 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
22751 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
22752 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
22756 if test "$no_create" = "yes"
22757 then
22758 exit 0
22761 ac_save_IFS="$IFS"
22762 if test "x$wine_notices" != x; then
22763 echo >&6
22764 IFS="|"
22765 for msg in $wine_notices; do
22766 IFS="$ac_save_IFS"
22767 if ${msg:+false} :; then :
22769 else
22770 { $as_echo "$as_me:${as_lineno-$LINENO}: $msg" >&5
22771 $as_echo "$as_me: $msg" >&6;}
22773 done
22775 IFS="|"
22776 for msg in $wine_warnings; do
22777 IFS="$ac_save_IFS"
22778 if ${msg:+false} :; then :
22780 else
22781 echo >&2
22782 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $msg" >&5
22783 $as_echo "$as_me: WARNING: $msg" >&2;}
22785 done
22786 IFS="$ac_save_IFS"
22788 $as_echo "
22789 $as_me: Finished. Do '${ac_make}' to compile Wine.
22790 " >&6