mshtml: Use Gecko attributes for getAttribute, setAttribute and removeAttribute imple...
[wine.git] / configure
blob762c0b8e2e23d5706f6a479225dbc65e5438bd85
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.69 for Wine 6.6.
5 # Report bugs to <wine-devel@winehq.org>.
8 # Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
11 # This configure script is free software; the Free Software Foundation
12 # gives unlimited permission to copy, distribute and modify it.
13 ## -------------------- ##
14 ## M4sh Initialization. ##
15 ## -------------------- ##
17 # Be more Bourne compatible
18 DUALCASE=1; export DUALCASE # for MKS sh
19 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
20 emulate sh
21 NULLCMD=:
22 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
23 # is contrary to our usage. Disable this feature.
24 alias -g '${1+"$@"}'='"$@"'
25 setopt NO_GLOB_SUBST
26 else
27 case `(set -o) 2>/dev/null` in #(
28 *posix*) :
29 set -o posix ;; #(
30 *) :
32 esac
36 as_nl='
38 export as_nl
39 # Printing a long string crashes Solaris 7 /usr/bin/printf.
40 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
41 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
42 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
43 # Prefer a ksh shell builtin over an external printf program on Solaris,
44 # but without wasting forks for bash or zsh.
45 if test -z "$BASH_VERSION$ZSH_VERSION" \
46 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
47 as_echo='print -r --'
48 as_echo_n='print -rn --'
49 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
50 as_echo='printf %s\n'
51 as_echo_n='printf %s'
52 else
53 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
54 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
55 as_echo_n='/usr/ucb/echo -n'
56 else
57 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
58 as_echo_n_body='eval
59 arg=$1;
60 case $arg in #(
61 *"$as_nl"*)
62 expr "X$arg" : "X\\(.*\\)$as_nl";
63 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
64 esac;
65 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
67 export as_echo_n_body
68 as_echo_n='sh -c $as_echo_n_body as_echo'
70 export as_echo_body
71 as_echo='sh -c $as_echo_body as_echo'
74 # The user is always right.
75 if test "${PATH_SEPARATOR+set}" != set; then
76 PATH_SEPARATOR=:
77 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
78 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
79 PATH_SEPARATOR=';'
84 # IFS
85 # We need space, tab and new line, in precisely that order. Quoting is
86 # there to prevent editors from complaining about space-tab.
87 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
88 # splitting by setting IFS to empty value.)
89 IFS=" "" $as_nl"
91 # Find who we are. Look in the path if we contain no directory separator.
92 as_myself=
93 case $0 in #((
94 *[\\/]* ) as_myself=$0 ;;
95 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
96 for as_dir in $PATH
98 IFS=$as_save_IFS
99 test -z "$as_dir" && as_dir=.
100 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
101 done
102 IFS=$as_save_IFS
105 esac
106 # We did not find ourselves, most probably we were run as `sh COMMAND'
107 # in which case we are not to be found in the path.
108 if test "x$as_myself" = x; then
109 as_myself=$0
111 if test ! -f "$as_myself"; then
112 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
113 exit 1
116 # Unset variables that we do not need and which cause bugs (e.g. in
117 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
118 # suppresses any "Segmentation fault" message there. '((' could
119 # trigger a bug in pdksh 5.2.14.
120 for as_var in BASH_ENV ENV MAIL MAILPATH
121 do eval test x\${$as_var+set} = xset \
122 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
123 done
124 PS1='$ '
125 PS2='> '
126 PS4='+ '
128 # NLS nuisances.
129 LC_ALL=C
130 export LC_ALL
131 LANGUAGE=C
132 export LANGUAGE
134 # CDPATH.
135 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
137 # Use a proper internal environment variable to ensure we don't fall
138 # into an infinite loop, continuously re-executing ourselves.
139 if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then
140 _as_can_reexec=no; export _as_can_reexec;
141 # We cannot yet assume a decent shell, so we have to provide a
142 # neutralization value for shells without unset; and this also
143 # works around shells that cannot unset nonexistent variables.
144 # Preserve -v and -x to the replacement shell.
145 BASH_ENV=/dev/null
146 ENV=/dev/null
147 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
148 case $- in # ((((
149 *v*x* | *x*v* ) as_opts=-vx ;;
150 *v* ) as_opts=-v ;;
151 *x* ) as_opts=-x ;;
152 * ) as_opts= ;;
153 esac
154 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
155 # Admittedly, this is quite paranoid, since all the known shells bail
156 # out after a failed `exec'.
157 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
158 as_fn_exit 255
160 # We don't want this to propagate to other subprocesses.
161 { _as_can_reexec=; unset _as_can_reexec;}
162 if test "x$CONFIG_SHELL" = x; then
163 as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
164 emulate sh
165 NULLCMD=:
166 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
167 # is contrary to our usage. Disable this feature.
168 alias -g '\${1+\"\$@\"}'='\"\$@\"'
169 setopt NO_GLOB_SUBST
170 else
171 case \`(set -o) 2>/dev/null\` in #(
172 *posix*) :
173 set -o posix ;; #(
174 *) :
176 esac
179 as_required="as_fn_return () { (exit \$1); }
180 as_fn_success () { as_fn_return 0; }
181 as_fn_failure () { as_fn_return 1; }
182 as_fn_ret_success () { return 0; }
183 as_fn_ret_failure () { return 1; }
185 exitcode=0
186 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
187 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
188 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
189 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
190 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
192 else
193 exitcode=1; echo positional parameters were not saved.
195 test x\$exitcode = x0 || exit 1
196 test -x / || exit 1"
197 as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
198 as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
199 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
200 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
201 test \$(( 1 + 1 )) = 2 || exit 1"
202 if (eval "$as_required") 2>/dev/null; then :
203 as_have_required=yes
204 else
205 as_have_required=no
207 if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
209 else
210 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
211 as_found=false
212 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
214 IFS=$as_save_IFS
215 test -z "$as_dir" && as_dir=.
216 as_found=:
217 case $as_dir in #(
219 for as_base in sh bash ksh sh5; do
220 # Try only shells that exist, to save several forks.
221 as_shell=$as_dir/$as_base
222 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
223 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
224 CONFIG_SHELL=$as_shell as_have_required=yes
225 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
226 break 2
229 done;;
230 esac
231 as_found=false
232 done
233 $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
234 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
235 CONFIG_SHELL=$SHELL as_have_required=yes
236 fi; }
237 IFS=$as_save_IFS
240 if test "x$CONFIG_SHELL" != x; then :
241 export CONFIG_SHELL
242 # We cannot yet assume a decent shell, so we have to provide a
243 # neutralization value for shells without unset; and this also
244 # works around shells that cannot unset nonexistent variables.
245 # Preserve -v and -x to the replacement shell.
246 BASH_ENV=/dev/null
247 ENV=/dev/null
248 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
249 case $- in # ((((
250 *v*x* | *x*v* ) as_opts=-vx ;;
251 *v* ) as_opts=-v ;;
252 *x* ) as_opts=-x ;;
253 * ) as_opts= ;;
254 esac
255 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
256 # Admittedly, this is quite paranoid, since all the known shells bail
257 # out after a failed `exec'.
258 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
259 exit 255
262 if test x$as_have_required = xno; then :
263 $as_echo "$0: This script requires a shell more modern than all"
264 $as_echo "$0: the shells that I found on your system."
265 if test x${ZSH_VERSION+set} = xset ; then
266 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
267 $as_echo "$0: be upgraded to zsh 4.3.4 or later."
268 else
269 $as_echo "$0: Please tell bug-autoconf@gnu.org and
270 $0: wine-devel@winehq.org about your system, including any
271 $0: error possibly output before this message. Then install
272 $0: a modern shell, or manually run the script under such a
273 $0: shell if you do have one."
275 exit 1
279 SHELL=${CONFIG_SHELL-/bin/sh}
280 export SHELL
281 # Unset more variables known to interfere with behavior of common tools.
282 CLICOLOR_FORCE= GREP_OPTIONS=
283 unset CLICOLOR_FORCE GREP_OPTIONS
285 ## --------------------- ##
286 ## M4sh Shell Functions. ##
287 ## --------------------- ##
288 # as_fn_unset VAR
289 # ---------------
290 # Portably unset VAR.
291 as_fn_unset ()
293 { eval $1=; unset $1;}
295 as_unset=as_fn_unset
297 # as_fn_set_status STATUS
298 # -----------------------
299 # Set $? to STATUS, without forking.
300 as_fn_set_status ()
302 return $1
303 } # as_fn_set_status
305 # as_fn_exit STATUS
306 # -----------------
307 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
308 as_fn_exit ()
310 set +e
311 as_fn_set_status $1
312 exit $1
313 } # as_fn_exit
315 # as_fn_mkdir_p
316 # -------------
317 # Create "$as_dir" as a directory, including parents if necessary.
318 as_fn_mkdir_p ()
321 case $as_dir in #(
322 -*) as_dir=./$as_dir;;
323 esac
324 test -d "$as_dir" || eval $as_mkdir_p || {
325 as_dirs=
326 while :; do
327 case $as_dir in #(
328 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
329 *) as_qdir=$as_dir;;
330 esac
331 as_dirs="'$as_qdir' $as_dirs"
332 as_dir=`$as_dirname -- "$as_dir" ||
333 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
334 X"$as_dir" : 'X\(//\)[^/]' \| \
335 X"$as_dir" : 'X\(//\)$' \| \
336 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
337 $as_echo X"$as_dir" |
338 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
339 s//\1/
342 /^X\(\/\/\)[^/].*/{
343 s//\1/
346 /^X\(\/\/\)$/{
347 s//\1/
350 /^X\(\/\).*/{
351 s//\1/
354 s/.*/./; q'`
355 test -d "$as_dir" && break
356 done
357 test -z "$as_dirs" || eval "mkdir $as_dirs"
358 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
361 } # as_fn_mkdir_p
363 # as_fn_executable_p FILE
364 # -----------------------
365 # Test if FILE is an executable regular file.
366 as_fn_executable_p ()
368 test -f "$1" && test -x "$1"
369 } # as_fn_executable_p
370 # as_fn_append VAR VALUE
371 # ----------------------
372 # Append the text in VALUE to the end of the definition contained in VAR. Take
373 # advantage of any shell optimizations that allow amortized linear growth over
374 # repeated appends, instead of the typical quadratic growth present in naive
375 # implementations.
376 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
377 eval 'as_fn_append ()
379 eval $1+=\$2
381 else
382 as_fn_append ()
384 eval $1=\$$1\$2
386 fi # as_fn_append
388 # as_fn_arith ARG...
389 # ------------------
390 # Perform arithmetic evaluation on the ARGs, and store the result in the
391 # global $as_val. Take advantage of shells that can avoid forks. The arguments
392 # must be portable across $(()) and expr.
393 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
394 eval 'as_fn_arith ()
396 as_val=$(( $* ))
398 else
399 as_fn_arith ()
401 as_val=`expr "$@" || test $? -eq 1`
403 fi # as_fn_arith
406 # as_fn_error STATUS ERROR [LINENO LOG_FD]
407 # ----------------------------------------
408 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
409 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
410 # script with STATUS, using 1 if that was 0.
411 as_fn_error ()
413 as_status=$1; test $as_status -eq 0 && as_status=1
414 if test "$4"; then
415 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
416 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
418 $as_echo "$as_me: error: $2" >&2
419 as_fn_exit $as_status
420 } # as_fn_error
422 if expr a : '\(a\)' >/dev/null 2>&1 &&
423 test "X`expr 00001 : '.*\(...\)'`" = X001; then
424 as_expr=expr
425 else
426 as_expr=false
429 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
430 as_basename=basename
431 else
432 as_basename=false
435 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
436 as_dirname=dirname
437 else
438 as_dirname=false
441 as_me=`$as_basename -- "$0" ||
442 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
443 X"$0" : 'X\(//\)$' \| \
444 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
445 $as_echo X/"$0" |
446 sed '/^.*\/\([^/][^/]*\)\/*$/{
447 s//\1/
450 /^X\/\(\/\/\)$/{
451 s//\1/
454 /^X\/\(\/\).*/{
455 s//\1/
458 s/.*/./; q'`
460 # Avoid depending upon Character Ranges.
461 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
462 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
463 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
464 as_cr_digits='0123456789'
465 as_cr_alnum=$as_cr_Letters$as_cr_digits
468 as_lineno_1=$LINENO as_lineno_1a=$LINENO
469 as_lineno_2=$LINENO as_lineno_2a=$LINENO
470 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
471 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
472 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
473 sed -n '
475 /[$]LINENO/=
476 ' <$as_myself |
477 sed '
478 s/[$]LINENO.*/&-/
479 t lineno
481 :lineno
483 :loop
484 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
485 t loop
486 s/-\n.*//
487 ' >$as_me.lineno &&
488 chmod +x "$as_me.lineno" ||
489 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
491 # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
492 # already done that, so ensure we don't try to do so again and fall
493 # in an infinite loop. This has already happened in practice.
494 _as_can_reexec=no; export _as_can_reexec
495 # Don't try to exec as it changes $[0], causing all sort of problems
496 # (the dirname of $[0] is not the place where we might find the
497 # original and so on. Autoconf is especially sensitive to this).
498 . "./$as_me.lineno"
499 # Exit status is that of the last command.
500 exit
503 ECHO_C= ECHO_N= ECHO_T=
504 case `echo -n x` in #(((((
505 -n*)
506 case `echo 'xy\c'` in
507 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
508 xy) ECHO_C='\c';;
509 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
510 ECHO_T=' ';;
511 esac;;
513 ECHO_N='-n';;
514 esac
516 rm -f conf$$ conf$$.exe conf$$.file
517 if test -d conf$$.dir; then
518 rm -f conf$$.dir/conf$$.file
519 else
520 rm -f conf$$.dir
521 mkdir conf$$.dir 2>/dev/null
523 if (echo >conf$$.file) 2>/dev/null; then
524 if ln -s conf$$.file conf$$ 2>/dev/null; then
525 as_ln_s='ln -s'
526 # ... but there are two gotchas:
527 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
528 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
529 # In both cases, we have to default to `cp -pR'.
530 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
531 as_ln_s='cp -pR'
532 elif ln conf$$.file conf$$ 2>/dev/null; then
533 as_ln_s=ln
534 else
535 as_ln_s='cp -pR'
537 else
538 as_ln_s='cp -pR'
540 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
541 rmdir conf$$.dir 2>/dev/null
543 if mkdir -p . 2>/dev/null; then
544 as_mkdir_p='mkdir -p "$as_dir"'
545 else
546 test -d ./-p && rmdir ./-p
547 as_mkdir_p=false
550 as_test_x='test -x'
551 as_executable_p=as_fn_executable_p
553 # Sed expression to map a string onto a valid CPP name.
554 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
556 # Sed expression to map a string onto a valid variable name.
557 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
560 test -n "$DJDIR" || exec 7<&0 </dev/null
561 exec 6>&1
563 # Name of the host.
564 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
565 # so uname gets run too.
566 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
569 # Initializations.
571 ac_default_prefix=/usr/local
572 ac_clean_files=
573 ac_config_libobj_dir=.
574 LIBOBJS=
575 cross_compiling=no
576 subdirs=
577 MFLAGS=
578 MAKEFLAGS=
580 # Identity of this package.
581 PACKAGE_NAME='Wine'
582 PACKAGE_TARNAME='wine'
583 PACKAGE_VERSION='6.6'
584 PACKAGE_STRING='Wine 6.6'
585 PACKAGE_BUGREPORT='wine-devel@winehq.org'
586 PACKAGE_URL='https://www.winehq.org'
588 ac_unique_file="server/atom.c"
589 # Factoring default headers for most tests.
590 ac_includes_default="\
591 #include <stdio.h>
592 #ifdef HAVE_SYS_TYPES_H
593 # include <sys/types.h>
594 #endif
595 #ifdef HAVE_SYS_STAT_H
596 # include <sys/stat.h>
597 #endif
598 #ifdef STDC_HEADERS
599 # include <stdlib.h>
600 # include <stddef.h>
601 #else
602 # ifdef HAVE_STDLIB_H
603 # include <stdlib.h>
604 # endif
605 #endif
606 #ifdef HAVE_STRING_H
607 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
608 # include <memory.h>
609 # endif
610 # include <string.h>
611 #endif
612 #ifdef HAVE_STRINGS_H
613 # include <strings.h>
614 #endif
615 #ifdef HAVE_INTTYPES_H
616 # include <inttypes.h>
617 #endif
618 #ifdef HAVE_STDINT_H
619 # include <stdint.h>
620 #endif
621 #ifdef HAVE_UNISTD_H
622 # include <unistd.h>
623 #endif"
625 ac_subst_vars='LTLIBOBJS
626 LIBOBJS
627 ALL_VARS_RULES
628 LDAP_LIBS
629 LDAP_CFLAGS
630 RT_LIBS
631 POLL_LIBS
632 TOOLSEXT
633 MSVCRTFLAGS
634 EXTRACFLAGS
635 VKD3D_SHADER_LIBS
636 VKD3D_SHADER_CFLAGS
637 VKD3D_LIBS
638 VKD3D_CFLAGS
639 NETAPI_LIBS
640 NETAPI_CFLAGS
641 PROCSTAT_LIBS
642 KSTAT_LIBS
643 MPG123_LIBS
644 MPG123_CFLAGS
645 TIFF_LIBS
646 TIFF_CFLAGS
647 PNG_LIBS
648 PNG_CFLAGS
649 JXRLIB_LIBS
650 JXRLIB_CFLAGS
651 JPEG_LIBS
652 JPEG_CFLAGS
653 GSSAPI_LIBS
654 GSSAPI_CFLAGS
655 KRB5_LIBS
656 KRB5_CFLAGS
657 FONTCONFIG_LIBS
658 FONTCONFIG_CFLAGS
659 CUPS_LIBS
660 CUPS_CFLAGS
661 CAPI20_LIBS
662 CAPI20_CFLAGS
663 FAUDIO_LIBS
664 FAUDIO_CFLAGS
665 SDL2_LIBS
666 SDL2_CFLAGS
667 UNWIND_LIBS
668 UNWIND_CFLAGS
669 UDEV_LIBS
670 UDEV_CFLAGS
671 OSS4_LIBS
672 OSS4_CFLAGS
673 ALSA_LIBS
674 GSTREAMER_LIBS
675 GSTREAMER_CFLAGS
676 PULSE_LIBS
677 PULSE_CFLAGS
678 GETTEXTPO_LIBS
679 FREETYPE_LIBS
680 FREETYPE_CFLAGS
681 LCMS2_LIBS
682 LCMS2_CFLAGS
683 RESOLV_LIBS
684 GPHOTO2_PORT_LIBS
685 GPHOTO2_PORT_CFLAGS
686 GPHOTO2_LIBS
687 GPHOTO2_CFLAGS
688 USB_LIBS
689 USB_CFLAGS
690 SANE_LIBS
691 SANE_CFLAGS
692 GNUTLS_LIBS
693 GNUTLS_CFLAGS
694 HAL_LIBS
695 HAL_CFLAGS
696 DBUS_LIBS
697 DBUS_CFLAGS
698 INOTIFY_LIBS
699 INOTIFY_CFLAGS
700 XSLT_LIBS
701 XSLT_CFLAGS
702 XML2_LIBS
703 XML2_CFLAGS
704 PCAP_LIBS
705 X_EXTRA_LIBS
706 X_LIBS
707 X_PRE_LIBS
708 X_CFLAGS
709 XMKMF
710 PTHREAD_LIBS
711 EXCESS_PRECISION_CFLAGS
712 CROSSDEBUG
713 DELAYLOADFLAG
714 CROSSLDFLAGS
715 EXTRACROSSCFLAGS
716 CROSSCFLAGS
717 CROSSCC
718 CROSSTARGET
719 LIBWINE_DEPENDS
720 PRELINK
721 WINELOADER_DEPENDS
722 LIBWINE_LDFLAGS
723 LIBWINE_SHAREDLIB
724 METAL_LIBS
725 CARBON_LIBS
726 QUICKTIME_LIBS
727 OPENCL_LIBS
728 OPENAL_LIBS
729 COREAUDIO_LIBS
730 SECURITY_LIBS
731 DISKARBITRATION_LIBS
732 SYSTEMCONFIGURATION_LIBS
733 APPKIT_LIBS
734 CORESERVICES_LIBS
735 APPLICATIONSERVICES_LIBS
736 FORCEFEEDBACK_LIBS
737 IOKIT_LIBS
738 COREFOUNDATION_LIBS
739 OBJCPP
740 ac_ct_OBJC
741 OBJCFLAGS
742 OBJC
743 DLLTOOL
744 WINELOADER_PROGRAMS
745 CONFIGURE_TARGETS
746 DISABLED_SUBDIRS
747 SUBDIRS
748 READELF
749 OTOOL
751 WINEPRELOADER_LDFLAGS
752 WINELOADER_LDFLAGS
753 TOP_INSTALL_DEV
754 TOP_INSTALL_LIB
755 LDEXECFLAGS
756 LDDLLFLAGS
757 DLLFLAGS
759 OPENGL_LIBS
760 I386_LIBS
761 ICOTOOL
762 CONVERT
763 RSVG
764 FONTFORGE
765 PKG_CONFIG
766 MSGFMT
767 LDCONFIG
768 EGREP
769 GREP
770 LN_S
771 RANLIB
772 STRIP
773 ac_ct_AR
775 BISON
776 FLEX
777 TOOLSDIR
778 TARGETFLAGS
780 CPPBIN
781 ac_ct_CXX
782 CXXFLAGS
784 OBJEXT
785 EXEEXT
786 ac_ct_CC
787 CPPFLAGS
788 LDFLAGS
789 CFLAGS
791 SET_MAKE
792 host_os
793 host_vendor
794 host_cpu
795 host
796 build_os
797 build_vendor
798 build_cpu
799 build
800 target_alias
801 host_alias
802 build_alias
803 LIBS
804 ECHO_T
805 ECHO_N
806 ECHO_C
807 DEFS
808 mandir
809 localedir
810 libdir
811 psdir
812 pdfdir
813 dvidir
814 htmldir
815 infodir
816 docdir
817 oldincludedir
818 includedir
819 runstatedir
820 localstatedir
821 sharedstatedir
822 sysconfdir
823 datadir
824 datarootdir
825 libexecdir
826 sbindir
827 bindir
828 program_transform_name
829 prefix
830 exec_prefix
831 PACKAGE_URL
832 PACKAGE_BUGREPORT
833 PACKAGE_STRING
834 PACKAGE_VERSION
835 PACKAGE_TARNAME
836 PACKAGE_NAME
837 PATH_SEPARATOR
838 SHELL'
839 ac_subst_files=''
840 ac_user_opts='
841 enable_option_checking
842 enable_win16
843 enable_win64
844 enable_tests
845 enable_build_id
846 enable_maintainer_mode
847 enable_silent_rules
848 enable_werror
849 with_alsa
850 with_capi
851 with_cms
852 with_coreaudio
853 with_cups
854 with_dbus
855 with_faudio
856 with_float_abi
857 with_fontconfig
858 with_freetype
859 with_gettext
860 with_gettextpo
861 with_gphoto
862 with_gnutls
863 with_gsm
864 with_gssapi
865 with_gstreamer
866 with_hal
867 with_inotify
868 with_jpeg
869 with_jxrlib
870 with_krb5
871 with_ldap
872 with_mingw
873 with_mpg123
874 with_netapi
875 with_openal
876 with_opencl
877 with_opengl
878 with_osmesa
879 with_oss
880 with_pcap
881 with_png
882 with_pthread
883 with_pulse
884 with_quicktime
885 with_sane
886 with_sdl
887 with_tiff
888 with_udev
889 with_unwind
890 with_usb
891 with_v4l2
892 with_vkd3d
893 with_vulkan
894 with_xcomposite
895 with_xcursor
896 with_xfixes
897 with_xinerama
898 with_xinput
899 with_xinput2
900 with_xml
901 with_xrandr
902 with_xrender
903 with_xshape
904 with_xshm
905 with_xslt
906 with_xxf86vm
907 with_wine_tools
908 with_wine64
909 enable_largefile
910 with_x
911 enable_acledit
912 enable_aclui
913 enable_activeds_tlb
914 enable_activeds
915 enable_actxprxy
916 enable_adsiid
917 enable_adsldp
918 enable_adsldpc
919 enable_advapi32
920 enable_advpack
921 enable_amsi
922 enable_amstream
923 enable_api_ms_win_appmodel_identity_l1_1_0
924 enable_api_ms_win_appmodel_runtime_l1_1_1
925 enable_api_ms_win_appmodel_runtime_l1_1_2
926 enable_api_ms_win_core_apiquery_l1_1_0
927 enable_api_ms_win_core_appcompat_l1_1_1
928 enable_api_ms_win_core_appinit_l1_1_0
929 enable_api_ms_win_core_atoms_l1_1_0
930 enable_api_ms_win_core_bem_l1_1_0
931 enable_api_ms_win_core_com_l1_1_0
932 enable_api_ms_win_core_com_l1_1_1
933 enable_api_ms_win_core_com_private_l1_1_0
934 enable_api_ms_win_core_comm_l1_1_0
935 enable_api_ms_win_core_console_l1_1_0
936 enable_api_ms_win_core_console_l2_1_0
937 enable_api_ms_win_core_crt_l1_1_0
938 enable_api_ms_win_core_crt_l2_1_0
939 enable_api_ms_win_core_datetime_l1_1_0
940 enable_api_ms_win_core_datetime_l1_1_1
941 enable_api_ms_win_core_debug_l1_1_0
942 enable_api_ms_win_core_debug_l1_1_1
943 enable_api_ms_win_core_delayload_l1_1_0
944 enable_api_ms_win_core_delayload_l1_1_1
945 enable_api_ms_win_core_errorhandling_l1_1_0
946 enable_api_ms_win_core_errorhandling_l1_1_1
947 enable_api_ms_win_core_errorhandling_l1_1_2
948 enable_api_ms_win_core_errorhandling_l1_1_3
949 enable_api_ms_win_core_fibers_l1_1_0
950 enable_api_ms_win_core_fibers_l1_1_1
951 enable_api_ms_win_core_file_ansi_l2_1_0
952 enable_api_ms_win_core_file_fromapp_l1_1_0
953 enable_api_ms_win_core_file_l1_1_0
954 enable_api_ms_win_core_file_l1_2_0
955 enable_api_ms_win_core_file_l1_2_1
956 enable_api_ms_win_core_file_l1_2_2
957 enable_api_ms_win_core_file_l2_1_0
958 enable_api_ms_win_core_file_l2_1_1
959 enable_api_ms_win_core_file_l2_1_2
960 enable_api_ms_win_core_handle_l1_1_0
961 enable_api_ms_win_core_heap_l1_1_0
962 enable_api_ms_win_core_heap_l1_2_0
963 enable_api_ms_win_core_heap_l2_1_0
964 enable_api_ms_win_core_heap_obsolete_l1_1_0
965 enable_api_ms_win_core_interlocked_l1_1_0
966 enable_api_ms_win_core_interlocked_l1_2_0
967 enable_api_ms_win_core_io_l1_1_0
968 enable_api_ms_win_core_io_l1_1_1
969 enable_api_ms_win_core_job_l1_1_0
970 enable_api_ms_win_core_job_l2_1_0
971 enable_api_ms_win_core_kernel32_legacy_l1_1_0
972 enable_api_ms_win_core_kernel32_legacy_l1_1_1
973 enable_api_ms_win_core_kernel32_legacy_l1_1_2
974 enable_api_ms_win_core_kernel32_private_l1_1_1
975 enable_api_ms_win_core_largeinteger_l1_1_0
976 enable_api_ms_win_core_libraryloader_l1_1_0
977 enable_api_ms_win_core_libraryloader_l1_1_1
978 enable_api_ms_win_core_libraryloader_l1_2_0
979 enable_api_ms_win_core_libraryloader_l1_2_1
980 enable_api_ms_win_core_libraryloader_l1_2_2
981 enable_api_ms_win_core_libraryloader_l2_1_0
982 enable_api_ms_win_core_localization_l1_1_0
983 enable_api_ms_win_core_localization_l1_2_0
984 enable_api_ms_win_core_localization_l1_2_1
985 enable_api_ms_win_core_localization_l1_2_2
986 enable_api_ms_win_core_localization_l2_1_0
987 enable_api_ms_win_core_localization_obsolete_l1_1_0
988 enable_api_ms_win_core_localization_obsolete_l1_2_0
989 enable_api_ms_win_core_localization_obsolete_l1_3_0
990 enable_api_ms_win_core_localization_private_l1_1_0
991 enable_api_ms_win_core_localregistry_l1_1_0
992 enable_api_ms_win_core_memory_l1_1_0
993 enable_api_ms_win_core_memory_l1_1_1
994 enable_api_ms_win_core_memory_l1_1_2
995 enable_api_ms_win_core_memory_l1_1_3
996 enable_api_ms_win_core_memory_l1_1_4
997 enable_api_ms_win_core_misc_l1_1_0
998 enable_api_ms_win_core_namedpipe_ansi_l1_1_0
999 enable_api_ms_win_core_namedpipe_l1_1_0
1000 enable_api_ms_win_core_namedpipe_l1_2_0
1001 enable_api_ms_win_core_namespace_l1_1_0
1002 enable_api_ms_win_core_normalization_l1_1_0
1003 enable_api_ms_win_core_path_l1_1_0
1004 enable_api_ms_win_core_privateprofile_l1_1_1
1005 enable_api_ms_win_core_processenvironment_l1_1_0
1006 enable_api_ms_win_core_processenvironment_l1_2_0
1007 enable_api_ms_win_core_processthreads_l1_1_0
1008 enable_api_ms_win_core_processthreads_l1_1_1
1009 enable_api_ms_win_core_processthreads_l1_1_2
1010 enable_api_ms_win_core_processthreads_l1_1_3
1011 enable_api_ms_win_core_processtopology_obsolete_l1_1_0
1012 enable_api_ms_win_core_profile_l1_1_0
1013 enable_api_ms_win_core_psapi_ansi_l1_1_0
1014 enable_api_ms_win_core_psapi_l1_1_0
1015 enable_api_ms_win_core_psapi_obsolete_l1_1_0
1016 enable_api_ms_win_core_quirks_l1_1_0
1017 enable_api_ms_win_core_realtime_l1_1_0
1018 enable_api_ms_win_core_registry_l1_1_0
1019 enable_api_ms_win_core_registry_l2_1_0
1020 enable_api_ms_win_core_registry_l2_2_0
1021 enable_api_ms_win_core_registryuserspecific_l1_1_0
1022 enable_api_ms_win_core_rtlsupport_l1_1_0
1023 enable_api_ms_win_core_rtlsupport_l1_2_0
1024 enable_api_ms_win_core_shlwapi_legacy_l1_1_0
1025 enable_api_ms_win_core_shlwapi_obsolete_l1_1_0
1026 enable_api_ms_win_core_shlwapi_obsolete_l1_2_0
1027 enable_api_ms_win_core_shutdown_l1_1_0
1028 enable_api_ms_win_core_sidebyside_l1_1_0
1029 enable_api_ms_win_core_string_l1_1_0
1030 enable_api_ms_win_core_string_l2_1_0
1031 enable_api_ms_win_core_string_obsolete_l1_1_0
1032 enable_api_ms_win_core_stringansi_l1_1_0
1033 enable_api_ms_win_core_stringloader_l1_1_1
1034 enable_api_ms_win_core_synch_ansi_l1_1_0
1035 enable_api_ms_win_core_synch_l1_1_0
1036 enable_api_ms_win_core_synch_l1_2_0
1037 enable_api_ms_win_core_synch_l1_2_1
1038 enable_api_ms_win_core_sysinfo_l1_1_0
1039 enable_api_ms_win_core_sysinfo_l1_2_0
1040 enable_api_ms_win_core_sysinfo_l1_2_1
1041 enable_api_ms_win_core_systemtopology_l1_1_0
1042 enable_api_ms_win_core_threadpool_l1_1_0
1043 enable_api_ms_win_core_threadpool_l1_2_0
1044 enable_api_ms_win_core_threadpool_legacy_l1_1_0
1045 enable_api_ms_win_core_threadpool_private_l1_1_0
1046 enable_api_ms_win_core_timezone_l1_1_0
1047 enable_api_ms_win_core_toolhelp_l1_1_0
1048 enable_api_ms_win_core_url_l1_1_0
1049 enable_api_ms_win_core_util_l1_1_0
1050 enable_api_ms_win_core_version_l1_1_0
1051 enable_api_ms_win_core_version_l1_1_1
1052 enable_api_ms_win_core_version_private_l1_1_0
1053 enable_api_ms_win_core_versionansi_l1_1_0
1054 enable_api_ms_win_core_windowserrorreporting_l1_1_0
1055 enable_api_ms_win_core_winrt_error_l1_1_0
1056 enable_api_ms_win_core_winrt_error_l1_1_1
1057 enable_api_ms_win_core_winrt_errorprivate_l1_1_1
1058 enable_api_ms_win_core_winrt_l1_1_0
1059 enable_api_ms_win_core_winrt_registration_l1_1_0
1060 enable_api_ms_win_core_winrt_roparameterizediid_l1_1_0
1061 enable_api_ms_win_core_winrt_string_l1_1_0
1062 enable_api_ms_win_core_winrt_string_l1_1_1
1063 enable_api_ms_win_core_wow64_l1_1_0
1064 enable_api_ms_win_core_wow64_l1_1_1
1065 enable_api_ms_win_core_xstate_l1_1_0
1066 enable_api_ms_win_core_xstate_l2_1_0
1067 enable_api_ms_win_crt_conio_l1_1_0
1068 enable_api_ms_win_crt_convert_l1_1_0
1069 enable_api_ms_win_crt_environment_l1_1_0
1070 enable_api_ms_win_crt_filesystem_l1_1_0
1071 enable_api_ms_win_crt_heap_l1_1_0
1072 enable_api_ms_win_crt_locale_l1_1_0
1073 enable_api_ms_win_crt_math_l1_1_0
1074 enable_api_ms_win_crt_multibyte_l1_1_0
1075 enable_api_ms_win_crt_private_l1_1_0
1076 enable_api_ms_win_crt_process_l1_1_0
1077 enable_api_ms_win_crt_runtime_l1_1_0
1078 enable_api_ms_win_crt_stdio_l1_1_0
1079 enable_api_ms_win_crt_string_l1_1_0
1080 enable_api_ms_win_crt_time_l1_1_0
1081 enable_api_ms_win_crt_utility_l1_1_0
1082 enable_api_ms_win_devices_config_l1_1_0
1083 enable_api_ms_win_devices_config_l1_1_1
1084 enable_api_ms_win_devices_query_l1_1_1
1085 enable_api_ms_win_downlevel_advapi32_l1_1_0
1086 enable_api_ms_win_downlevel_advapi32_l2_1_0
1087 enable_api_ms_win_downlevel_kernel32_l2_1_0
1088 enable_api_ms_win_downlevel_normaliz_l1_1_0
1089 enable_api_ms_win_downlevel_ole32_l1_1_0
1090 enable_api_ms_win_downlevel_shell32_l1_1_0
1091 enable_api_ms_win_downlevel_shlwapi_l1_1_0
1092 enable_api_ms_win_downlevel_shlwapi_l2_1_0
1093 enable_api_ms_win_downlevel_user32_l1_1_0
1094 enable_api_ms_win_downlevel_version_l1_1_0
1095 enable_api_ms_win_dx_d3dkmt_l1_1_0
1096 enable_api_ms_win_eventing_classicprovider_l1_1_0
1097 enable_api_ms_win_eventing_consumer_l1_1_0
1098 enable_api_ms_win_eventing_controller_l1_1_0
1099 enable_api_ms_win_eventing_legacy_l1_1_0
1100 enable_api_ms_win_eventing_provider_l1_1_0
1101 enable_api_ms_win_eventlog_legacy_l1_1_0
1102 enable_api_ms_win_gdi_dpiinfo_l1_1_0
1103 enable_api_ms_win_mm_joystick_l1_1_0
1104 enable_api_ms_win_mm_misc_l1_1_1
1105 enable_api_ms_win_mm_mme_l1_1_0
1106 enable_api_ms_win_mm_time_l1_1_0
1107 enable_api_ms_win_ntuser_dc_access_l1_1_0
1108 enable_api_ms_win_ntuser_rectangle_l1_1_0
1109 enable_api_ms_win_ntuser_sysparams_l1_1_0
1110 enable_api_ms_win_perf_legacy_l1_1_0
1111 enable_api_ms_win_power_base_l1_1_0
1112 enable_api_ms_win_power_setting_l1_1_0
1113 enable_api_ms_win_rtcore_ntuser_draw_l1_1_0
1114 enable_api_ms_win_rtcore_ntuser_private_l1_1_0
1115 enable_api_ms_win_rtcore_ntuser_private_l1_1_4
1116 enable_api_ms_win_rtcore_ntuser_window_l1_1_0
1117 enable_api_ms_win_rtcore_ntuser_winevent_l1_1_0
1118 enable_api_ms_win_rtcore_ntuser_wmpointer_l1_1_0
1119 enable_api_ms_win_rtcore_ntuser_wmpointer_l1_1_3
1120 enable_api_ms_win_security_activedirectoryclient_l1_1_0
1121 enable_api_ms_win_security_audit_l1_1_1
1122 enable_api_ms_win_security_base_l1_1_0
1123 enable_api_ms_win_security_base_l1_2_0
1124 enable_api_ms_win_security_base_private_l1_1_1
1125 enable_api_ms_win_security_credentials_l1_1_0
1126 enable_api_ms_win_security_cryptoapi_l1_1_0
1127 enable_api_ms_win_security_grouppolicy_l1_1_0
1128 enable_api_ms_win_security_lsalookup_l1_1_0
1129 enable_api_ms_win_security_lsalookup_l1_1_1
1130 enable_api_ms_win_security_lsalookup_l2_1_0
1131 enable_api_ms_win_security_lsalookup_l2_1_1
1132 enable_api_ms_win_security_lsapolicy_l1_1_0
1133 enable_api_ms_win_security_provider_l1_1_0
1134 enable_api_ms_win_security_sddl_l1_1_0
1135 enable_api_ms_win_security_systemfunctions_l1_1_0
1136 enable_api_ms_win_service_core_l1_1_0
1137 enable_api_ms_win_service_core_l1_1_1
1138 enable_api_ms_win_service_management_l1_1_0
1139 enable_api_ms_win_service_management_l2_1_0
1140 enable_api_ms_win_service_private_l1_1_1
1141 enable_api_ms_win_service_winsvc_l1_1_0
1142 enable_api_ms_win_service_winsvc_l1_2_0
1143 enable_api_ms_win_shcore_obsolete_l1_1_0
1144 enable_api_ms_win_shcore_scaling_l1_1_0
1145 enable_api_ms_win_shcore_scaling_l1_1_1
1146 enable_api_ms_win_shcore_stream_l1_1_0
1147 enable_api_ms_win_shcore_stream_winrt_l1_1_0
1148 enable_api_ms_win_shcore_thread_l1_1_0
1149 enable_api_ms_win_shell_shellcom_l1_1_0
1150 enable_api_ms_win_shell_shellfolders_l1_1_0
1151 enable_apphelp
1152 enable_appwiz_cpl
1153 enable_atl
1154 enable_atl100
1155 enable_atl110
1156 enable_atl80
1157 enable_atl90
1158 enable_atlthunk
1159 enable_atmlib
1160 enable_authz
1161 enable_avicap32
1162 enable_avifil32
1163 enable_avrt
1164 enable_bcrypt
1165 enable_bluetoothapis
1166 enable_browseui
1167 enable_bthprops_cpl
1168 enable_cabinet
1169 enable_capi2032
1170 enable_cards
1171 enable_cdosys
1172 enable_cfgmgr32
1173 enable_clusapi
1174 enable_combase
1175 enable_comcat
1176 enable_comctl32
1177 enable_comdlg32
1178 enable_compstui
1179 enable_comsvcs
1180 enable_concrt140
1181 enable_connect
1182 enable_credui
1183 enable_crtdll
1184 enable_crypt32
1185 enable_cryptdlg
1186 enable_cryptdll
1187 enable_cryptext
1188 enable_cryptnet
1189 enable_cryptsp
1190 enable_cryptui
1191 enable_ctapi32
1192 enable_ctl3d32
1193 enable_d2d1
1194 enable_d3d10
1195 enable_d3d10_1
1196 enable_d3d10core
1197 enable_d3d11
1198 enable_d3d12
1199 enable_d3d8
1200 enable_d3d8thk
1201 enable_d3d9
1202 enable_d3dcompiler_33
1203 enable_d3dcompiler_34
1204 enable_d3dcompiler_35
1205 enable_d3dcompiler_36
1206 enable_d3dcompiler_37
1207 enable_d3dcompiler_38
1208 enable_d3dcompiler_39
1209 enable_d3dcompiler_40
1210 enable_d3dcompiler_41
1211 enable_d3dcompiler_42
1212 enable_d3dcompiler_43
1213 enable_d3dcompiler_46
1214 enable_d3dcompiler_47
1215 enable_d3dim
1216 enable_d3dim700
1217 enable_d3drm
1218 enable_d3dx10_33
1219 enable_d3dx10_34
1220 enable_d3dx10_35
1221 enable_d3dx10_36
1222 enable_d3dx10_37
1223 enable_d3dx10_38
1224 enable_d3dx10_39
1225 enable_d3dx10_40
1226 enable_d3dx10_41
1227 enable_d3dx10_42
1228 enable_d3dx10_43
1229 enable_d3dx11_42
1230 enable_d3dx11_43
1231 enable_d3dx9_24
1232 enable_d3dx9_25
1233 enable_d3dx9_26
1234 enable_d3dx9_27
1235 enable_d3dx9_28
1236 enable_d3dx9_29
1237 enable_d3dx9_30
1238 enable_d3dx9_31
1239 enable_d3dx9_32
1240 enable_d3dx9_33
1241 enable_d3dx9_34
1242 enable_d3dx9_35
1243 enable_d3dx9_36
1244 enable_d3dx9_37
1245 enable_d3dx9_38
1246 enable_d3dx9_39
1247 enable_d3dx9_40
1248 enable_d3dx9_41
1249 enable_d3dx9_42
1250 enable_d3dx9_43
1251 enable_d3dxof
1252 enable_davclnt
1253 enable_dbgeng
1254 enable_dbghelp
1255 enable_dciman32
1256 enable_dcomp
1257 enable_ddraw
1258 enable_ddrawex
1259 enable_devenum
1260 enable_dhcpcsvc
1261 enable_dhtmled_ocx
1262 enable_difxapi
1263 enable_dinput
1264 enable_dinput8
1265 enable_directmanipulation
1266 enable_dispex
1267 enable_dmband
1268 enable_dmcompos
1269 enable_dmime
1270 enable_dmloader
1271 enable_dmoguids
1272 enable_dmscript
1273 enable_dmstyle
1274 enable_dmsynth
1275 enable_dmusic
1276 enable_dmusic32
1277 enable_dnsapi
1278 enable_dplay
1279 enable_dplayx
1280 enable_dpnaddr
1281 enable_dpnet
1282 enable_dpnhpast
1283 enable_dpnlobby
1284 enable_dpvoice
1285 enable_dpwsockx
1286 enable_drmclien
1287 enable_dsdmo
1288 enable_dsound
1289 enable_dsquery
1290 enable_dssenh
1291 enable_dsuiext
1292 enable_dswave
1293 enable_dwmapi
1294 enable_dwrite
1295 enable_dx8vb
1296 enable_dxdiagn
1297 enable_dxerr8
1298 enable_dxerr9
1299 enable_dxgi
1300 enable_dxguid
1301 enable_dxva2
1302 enable_esent
1303 enable_evr
1304 enable_explorerframe
1305 enable_ext_ms_win_authz_context_l1_1_0
1306 enable_ext_ms_win_domainjoin_netjoin_l1_1_0
1307 enable_ext_ms_win_dwmapi_ext_l1_1_0
1308 enable_ext_ms_win_gdi_dc_create_l1_1_0
1309 enable_ext_ms_win_gdi_dc_create_l1_1_1
1310 enable_ext_ms_win_gdi_dc_l1_2_0
1311 enable_ext_ms_win_gdi_devcaps_l1_1_0
1312 enable_ext_ms_win_gdi_draw_l1_1_0
1313 enable_ext_ms_win_gdi_draw_l1_1_1
1314 enable_ext_ms_win_gdi_font_l1_1_0
1315 enable_ext_ms_win_gdi_font_l1_1_1
1316 enable_ext_ms_win_gdi_render_l1_1_0
1317 enable_ext_ms_win_kernel32_package_current_l1_1_0
1318 enable_ext_ms_win_kernel32_package_l1_1_1
1319 enable_ext_ms_win_ntuser_dialogbox_l1_1_0
1320 enable_ext_ms_win_ntuser_draw_l1_1_0
1321 enable_ext_ms_win_ntuser_gui_l1_1_0
1322 enable_ext_ms_win_ntuser_gui_l1_3_0
1323 enable_ext_ms_win_ntuser_keyboard_l1_3_0
1324 enable_ext_ms_win_ntuser_message_l1_1_0
1325 enable_ext_ms_win_ntuser_message_l1_1_1
1326 enable_ext_ms_win_ntuser_misc_l1_1_0
1327 enable_ext_ms_win_ntuser_misc_l1_2_0
1328 enable_ext_ms_win_ntuser_misc_l1_5_1
1329 enable_ext_ms_win_ntuser_mouse_l1_1_0
1330 enable_ext_ms_win_ntuser_private_l1_1_1
1331 enable_ext_ms_win_ntuser_private_l1_3_1
1332 enable_ext_ms_win_ntuser_rectangle_ext_l1_1_0
1333 enable_ext_ms_win_ntuser_uicontext_ext_l1_1_0
1334 enable_ext_ms_win_ntuser_window_l1_1_0
1335 enable_ext_ms_win_ntuser_window_l1_1_1
1336 enable_ext_ms_win_ntuser_window_l1_1_4
1337 enable_ext_ms_win_ntuser_windowclass_l1_1_0
1338 enable_ext_ms_win_ntuser_windowclass_l1_1_1
1339 enable_ext_ms_win_oleacc_l1_1_0
1340 enable_ext_ms_win_ras_rasapi32_l1_1_0
1341 enable_ext_ms_win_rtcore_gdi_devcaps_l1_1_0
1342 enable_ext_ms_win_rtcore_gdi_object_l1_1_0
1343 enable_ext_ms_win_rtcore_gdi_rgn_l1_1_0
1344 enable_ext_ms_win_rtcore_ntuser_cursor_l1_1_0
1345 enable_ext_ms_win_rtcore_ntuser_dc_access_l1_1_0
1346 enable_ext_ms_win_rtcore_ntuser_dpi_l1_1_0
1347 enable_ext_ms_win_rtcore_ntuser_dpi_l1_2_0
1348 enable_ext_ms_win_rtcore_ntuser_rawinput_l1_1_0
1349 enable_ext_ms_win_rtcore_ntuser_syscolors_l1_1_0
1350 enable_ext_ms_win_rtcore_ntuser_sysparams_l1_1_0
1351 enable_ext_ms_win_security_credui_l1_1_0
1352 enable_ext_ms_win_security_cryptui_l1_1_0
1353 enable_ext_ms_win_shell_comctl32_init_l1_1_0
1354 enable_ext_ms_win_shell_comdlg32_l1_1_0
1355 enable_ext_ms_win_shell_shell32_l1_2_0
1356 enable_ext_ms_win_uxtheme_themes_l1_1_0
1357 enable_faultrep
1358 enable_feclient
1359 enable_fltlib
1360 enable_fltmgr_sys
1361 enable_fntcache
1362 enable_fontsub
1363 enable_fusion
1364 enable_fwpuclnt
1365 enable_gameux
1366 enable_gdi32
1367 enable_gdiplus
1368 enable_glu32
1369 enable_gphoto2_ds
1370 enable_gpkcsp
1371 enable_hal
1372 enable_hhctrl_ocx
1373 enable_hid
1374 enable_hidclass_sys
1375 enable_hlink
1376 enable_hnetcfg
1377 enable_http_sys
1378 enable_httpapi
1379 enable_iccvid
1380 enable_icmp
1381 enable_ieframe
1382 enable_ieproxy
1383 enable_imaadp32_acm
1384 enable_imagehlp
1385 enable_imm32
1386 enable_inetcomm
1387 enable_inetcpl_cpl
1388 enable_inetmib1
1389 enable_infosoft
1390 enable_initpki
1391 enable_inkobj
1392 enable_inseng
1393 enable_iphlpapi
1394 enable_iprop
1395 enable_irprops_cpl
1396 enable_itircl
1397 enable_itss
1398 enable_joy_cpl
1399 enable_jscript
1400 enable_jsproxy
1401 enable_kerberos
1402 enable_kernel32
1403 enable_kernelbase
1404 enable_ksecdd_sys
1405 enable_ksproxy_ax
1406 enable_ksuser
1407 enable_ktmw32
1408 enable_l3codeca_acm
1409 enable_loadperf
1410 enable_localspl
1411 enable_localui
1412 enable_lz32
1413 enable_mapi32
1414 enable_mapistub
1415 enable_mciavi32
1416 enable_mcicda
1417 enable_mciqtz32
1418 enable_mciseq
1419 enable_mciwave
1420 enable_mf
1421 enable_mf3216
1422 enable_mferror
1423 enable_mfmediaengine
1424 enable_mfplat
1425 enable_mfplay
1426 enable_mfreadwrite
1427 enable_mfuuid
1428 enable_mgmtapi
1429 enable_midimap
1430 enable_mlang
1431 enable_mmcndmgr
1432 enable_mmdevapi
1433 enable_mountmgr_sys
1434 enable_mp3dmod
1435 enable_mpr
1436 enable_mprapi
1437 enable_msacm32_drv
1438 enable_msacm32
1439 enable_msado15
1440 enable_msadp32_acm
1441 enable_msasn1
1442 enable_mscat32
1443 enable_mscms
1444 enable_mscoree
1445 enable_mscorwks
1446 enable_msctf
1447 enable_msctfp
1448 enable_msdaps
1449 enable_msdelta
1450 enable_msdmo
1451 enable_msdrm
1452 enable_msftedit
1453 enable_msg711_acm
1454 enable_msgsm32_acm
1455 enable_mshtml_tlb
1456 enable_mshtml
1457 enable_msi
1458 enable_msident
1459 enable_msimg32
1460 enable_msimsg
1461 enable_msimtf
1462 enable_msisip
1463 enable_msisys_ocx
1464 enable_msls31
1465 enable_msnet32
1466 enable_mspatcha
1467 enable_msports
1468 enable_msrle32
1469 enable_msscript_ocx
1470 enable_mssign32
1471 enable_mssip32
1472 enable_mstask
1473 enable_msvcirt
1474 enable_msvcm80
1475 enable_msvcm90
1476 enable_msvcp100
1477 enable_msvcp110
1478 enable_msvcp120
1479 enable_msvcp120_app
1480 enable_msvcp140
1481 enable_msvcp140_1
1482 enable_msvcp60
1483 enable_msvcp70
1484 enable_msvcp71
1485 enable_msvcp80
1486 enable_msvcp90
1487 enable_msvcr100
1488 enable_msvcr110
1489 enable_msvcr120
1490 enable_msvcr120_app
1491 enable_msvcr70
1492 enable_msvcr71
1493 enable_msvcr80
1494 enable_msvcr90
1495 enable_msvcrt
1496 enable_msvcrt20
1497 enable_msvcrt40
1498 enable_msvcrtd
1499 enable_msvfw32
1500 enable_msvidc32
1501 enable_mswsock
1502 enable_msxml
1503 enable_msxml2
1504 enable_msxml3
1505 enable_msxml4
1506 enable_msxml6
1507 enable_mtxdm
1508 enable_ncrypt
1509 enable_nddeapi
1510 enable_ndis_sys
1511 enable_netapi32
1512 enable_netcfgx
1513 enable_netio_sys
1514 enable_netprofm
1515 enable_netutils
1516 enable_newdev
1517 enable_ninput
1518 enable_normaliz
1519 enable_npmshtml
1520 enable_npptools
1521 enable_ntdll
1522 enable_ntdsapi
1523 enable_ntoskrnl_exe
1524 enable_ntprint
1525 enable_objsel
1526 enable_odbc32
1527 enable_odbcbcp
1528 enable_odbccp32
1529 enable_odbccu32
1530 enable_ole32
1531 enable_oleacc
1532 enable_oleaut32
1533 enable_olecli32
1534 enable_oledb32
1535 enable_oledlg
1536 enable_olepro32
1537 enable_olesvr32
1538 enable_olethk32
1539 enable_opcservices
1540 enable_openal32
1541 enable_opencl
1542 enable_opengl32
1543 enable_packager
1544 enable_pdh
1545 enable_photometadatahandler
1546 enable_pidgen
1547 enable_powrprof
1548 enable_printui
1549 enable_prntvpt
1550 enable_propsys
1551 enable_psapi
1552 enable_pstorec
1553 enable_pwrshplugin
1554 enable_qasf
1555 enable_qcap
1556 enable_qdvd
1557 enable_qedit
1558 enable_qmgr
1559 enable_qmgrprxy
1560 enable_quartz
1561 enable_query
1562 enable_qwave
1563 enable_rasapi32
1564 enable_rasdlg
1565 enable_regapi
1566 enable_resutils
1567 enable_riched20
1568 enable_riched32
1569 enable_rpcrt4
1570 enable_rsabase
1571 enable_rsaenh
1572 enable_rstrtmgr
1573 enable_rtutils
1574 enable_rtworkq
1575 enable_samlib
1576 enable_sane_ds
1577 enable_sapi
1578 enable_sas
1579 enable_scarddlg
1580 enable_sccbase
1581 enable_schannel
1582 enable_schedsvc
1583 enable_scrobj
1584 enable_scrrun
1585 enable_scsiport_sys
1586 enable_sechost
1587 enable_secur32
1588 enable_security
1589 enable_sensapi
1590 enable_serialui
1591 enable_setupapi
1592 enable_sfc
1593 enable_sfc_os
1594 enable_shcore
1595 enable_shdoclc
1596 enable_shdocvw
1597 enable_shell32
1598 enable_shfolder
1599 enable_shlwapi
1600 enable_slbcsp
1601 enable_slc
1602 enable_snmpapi
1603 enable_softpub
1604 enable_spoolss
1605 enable_srclient
1606 enable_srvcli
1607 enable_sspicli
1608 enable_stdole2_tlb
1609 enable_stdole32_tlb
1610 enable_sti
1611 enable_strmbase
1612 enable_strmdll
1613 enable_strmiids
1614 enable_svrapi
1615 enable_sxs
1616 enable_t2embed
1617 enable_tapi32
1618 enable_taskschd
1619 enable_tdh
1620 enable_tdi_sys
1621 enable_traffic
1622 enable_twain_32
1623 enable_tzres
1624 enable_ucrtbase
1625 enable_uianimation
1626 enable_uiautomationcore
1627 enable_uiribbon
1628 enable_unicows
1629 enable_updspapi
1630 enable_url
1631 enable_urlmon
1632 enable_usbd_sys
1633 enable_user32
1634 enable_userenv
1635 enable_usp10
1636 enable_utildll
1637 enable_uuid
1638 enable_uxtheme
1639 enable_vbscript
1640 enable_vcomp
1641 enable_vcomp100
1642 enable_vcomp110
1643 enable_vcomp120
1644 enable_vcomp140
1645 enable_vcomp90
1646 enable_vcruntime140
1647 enable_vcruntime140_1
1648 enable_vdmdbg
1649 enable_version
1650 enable_vga
1651 enable_virtdisk
1652 enable_vssapi
1653 enable_vulkan_1
1654 enable_wbemdisp
1655 enable_wbemprox
1656 enable_wbemuuid
1657 enable_wdscore
1658 enable_webservices
1659 enable_websocket
1660 enable_wer
1661 enable_wevtapi
1662 enable_wevtsvc
1663 enable_wiaservc
1664 enable_wimgapi
1665 enable_windows_gaming_input
1666 enable_windows_globalization
1667 enable_windows_media_devices
1668 enable_windows_media_speech
1669 enable_windowscodecs
1670 enable_windowscodecsext
1671 enable_winealsa_drv
1672 enable_wineandroid_drv
1673 enable_winebus_sys
1674 enable_winecoreaudio_drv
1675 enable_winecrt0
1676 enable_wined3d
1677 enable_winegstreamer
1678 enable_winehid_sys
1679 enable_winejoystick_drv
1680 enable_winemac_drv
1681 enable_winemapi
1682 enable_wineoss_drv
1683 enable_wineps_drv
1684 enable_winepulse_drv
1685 enable_wineqtdecoder
1686 enable_wineusb_sys
1687 enable_winevulkan
1688 enable_winex11_drv
1689 enable_wing32
1690 enable_winhttp
1691 enable_wininet
1692 enable_winmm
1693 enable_winnls32
1694 enable_winscard
1695 enable_winspool_drv
1696 enable_winsta
1697 enable_wintab32
1698 enable_wintrust
1699 enable_winusb
1700 enable_wlanapi
1701 enable_wlanui
1702 enable_wldap32
1703 enable_wmasf
1704 enable_wmcodecdspuuid
1705 enable_wmi
1706 enable_wmiutils
1707 enable_wmp
1708 enable_wmphoto
1709 enable_wmvcore
1710 enable_wnaspi32
1711 enable_wow64cpu
1712 enable_wpc
1713 enable_wpcap
1714 enable_ws2_32
1715 enable_wsdapi
1716 enable_wshom_ocx
1717 enable_wsnmp32
1718 enable_wsock32
1719 enable_wtsapi32
1720 enable_wuapi
1721 enable_wuaueng
1722 enable_x3daudio1_0
1723 enable_x3daudio1_1
1724 enable_x3daudio1_2
1725 enable_x3daudio1_3
1726 enable_x3daudio1_4
1727 enable_x3daudio1_5
1728 enable_x3daudio1_6
1729 enable_x3daudio1_7
1730 enable_xactengine2_0
1731 enable_xactengine2_4
1732 enable_xactengine2_7
1733 enable_xactengine2_9
1734 enable_xactengine3_0
1735 enable_xactengine3_1
1736 enable_xactengine3_2
1737 enable_xactengine3_3
1738 enable_xactengine3_4
1739 enable_xactengine3_5
1740 enable_xactengine3_6
1741 enable_xactengine3_7
1742 enable_xapofx1_1
1743 enable_xapofx1_2
1744 enable_xapofx1_3
1745 enable_xapofx1_4
1746 enable_xapofx1_5
1747 enable_xaudio2_0
1748 enable_xaudio2_1
1749 enable_xaudio2_2
1750 enable_xaudio2_3
1751 enable_xaudio2_4
1752 enable_xaudio2_5
1753 enable_xaudio2_6
1754 enable_xaudio2_7
1755 enable_xaudio2_8
1756 enable_xaudio2_9
1757 enable_xinput1_1
1758 enable_xinput1_2
1759 enable_xinput1_3
1760 enable_xinput1_4
1761 enable_xinput9_1_0
1762 enable_xmllite
1763 enable_xolehlp
1764 enable_xpsprint
1765 enable_xpssvcs
1766 enable_fonts
1767 enable_include
1768 enable_port
1769 enable_wine
1770 enable_wpp
1771 enable_loader
1772 enable_nls
1773 enable_po
1774 enable_arp
1775 enable_aspnet_regiis
1776 enable_attrib
1777 enable_cabarc
1778 enable_cacls
1779 enable_chcp_com
1780 enable_clock
1781 enable_cmd
1782 enable_conhost
1783 enable_control
1784 enable_cscript
1785 enable_dism
1786 enable_dplaysvr
1787 enable_dpnsvr
1788 enable_dpvsetup
1789 enable_dxdiag
1790 enable_eject
1791 enable_expand
1792 enable_explorer
1793 enable_extrac32
1794 enable_fc
1795 enable_find
1796 enable_findstr
1797 enable_fsutil
1798 enable_hh
1799 enable_hostname
1800 enable_icacls
1801 enable_icinfo
1802 enable_iexplore
1803 enable_ipconfig
1804 enable_lodctr
1805 enable_mofcomp
1806 enable_mshta
1807 enable_msidb
1808 enable_msiexec
1809 enable_msinfo32
1810 enable_net
1811 enable_netsh
1812 enable_netstat
1813 enable_ngen
1814 enable_notepad
1815 enable_oleview
1816 enable_ping
1817 enable_plugplay
1818 enable_powershell
1819 enable_presentationfontcache
1820 enable_progman
1821 enable_reg
1822 enable_regasm
1823 enable_regedit
1824 enable_regini
1825 enable_regsvcs
1826 enable_regsvr32
1827 enable_rpcss
1828 enable_rundll32
1829 enable_sc
1830 enable_schtasks
1831 enable_sdbinst
1832 enable_secedit
1833 enable_servicemodelreg
1834 enable_services
1835 enable_shutdown
1836 enable_spoolsv
1837 enable_start
1838 enable_subst
1839 enable_svchost
1840 enable_systeminfo
1841 enable_taskkill
1842 enable_tasklist
1843 enable_taskmgr
1844 enable_termsv
1845 enable_uninstaller
1846 enable_unlodctr
1847 enable_view
1848 enable_wevtutil
1849 enable_where
1850 enable_whoami
1851 enable_wineboot
1852 enable_winebrowser
1853 enable_winecfg
1854 enable_wineconsole
1855 enable_winedbg
1856 enable_winedevice
1857 enable_winefile
1858 enable_winemenubuilder
1859 enable_winemine
1860 enable_winemsibuilder
1861 enable_winepath
1862 enable_winetest
1863 enable_winhlp32
1864 enable_winmgmt
1865 enable_winver
1866 enable_wmic
1867 enable_wmplayer
1868 enable_wordpad
1869 enable_write
1870 enable_wscript
1871 enable_wuauserv
1872 enable_wusa
1873 enable_xcopy
1874 enable_server
1875 enable_tools
1876 enable_sfnt2fon
1877 enable_widl
1878 enable_winebuild
1879 enable_winedump
1880 enable_winegcc
1881 enable_winemaker
1882 enable_wmc
1883 enable_wrc
1885 ac_precious_vars='build_alias
1886 host_alias
1887 target_alias
1889 CFLAGS
1890 LDFLAGS
1891 LIBS
1892 CPPFLAGS
1894 CXXFLAGS
1897 OBJC
1898 OBJCFLAGS
1899 OBJCPP
1900 XMKMF
1901 XML2_CFLAGS
1902 XML2_LIBS
1903 XSLT_CFLAGS
1904 XSLT_LIBS
1905 INOTIFY_CFLAGS
1906 INOTIFY_LIBS
1907 DBUS_CFLAGS
1908 DBUS_LIBS
1909 HAL_CFLAGS
1910 HAL_LIBS
1911 GNUTLS_CFLAGS
1912 GNUTLS_LIBS
1913 SANE_CFLAGS
1914 SANE_LIBS
1915 USB_CFLAGS
1916 USB_LIBS
1917 GPHOTO2_CFLAGS
1918 GPHOTO2_LIBS
1919 GPHOTO2_PORT_CFLAGS
1920 GPHOTO2_PORT_LIBS
1921 LCMS2_CFLAGS
1922 LCMS2_LIBS
1923 FREETYPE_CFLAGS
1924 FREETYPE_LIBS
1925 PULSE_CFLAGS
1926 PULSE_LIBS
1927 GSTREAMER_CFLAGS
1928 GSTREAMER_LIBS
1929 UDEV_CFLAGS
1930 UDEV_LIBS
1931 UNWIND_CFLAGS
1932 UNWIND_LIBS
1933 SDL2_CFLAGS
1934 SDL2_LIBS
1935 FAUDIO_CFLAGS
1936 FAUDIO_LIBS
1937 CAPI20_CFLAGS
1938 CAPI20_LIBS
1939 CUPS_CFLAGS
1940 CUPS_LIBS
1941 FONTCONFIG_CFLAGS
1942 FONTCONFIG_LIBS
1943 KRB5_CFLAGS
1944 KRB5_LIBS
1945 GSSAPI_CFLAGS
1946 GSSAPI_LIBS
1947 JPEG_CFLAGS
1948 JPEG_LIBS
1949 JXRLIB_CFLAGS
1950 JXRLIB_LIBS
1951 PNG_CFLAGS
1952 PNG_LIBS
1953 TIFF_CFLAGS
1954 TIFF_LIBS
1955 MPG123_CFLAGS
1956 MPG123_LIBS
1957 NETAPI_CFLAGS
1958 NETAPI_LIBS
1959 VKD3D_CFLAGS
1960 VKD3D_LIBS
1961 VKD3D_SHADER_CFLAGS
1962 VKD3D_SHADER_LIBS
1963 LDAP_CFLAGS
1964 LDAP_LIBS'
1967 # Initialize some variables set by options.
1968 ac_init_help=
1969 ac_init_version=false
1970 ac_unrecognized_opts=
1971 ac_unrecognized_sep=
1972 # The variables have the same names as the options, with
1973 # dashes changed to underlines.
1974 cache_file=/dev/null
1975 exec_prefix=NONE
1976 no_create=
1977 no_recursion=
1978 prefix=NONE
1979 program_prefix=NONE
1980 program_suffix=NONE
1981 program_transform_name=s,x,x,
1982 silent=
1983 site=
1984 srcdir=
1985 verbose=
1986 x_includes=NONE
1987 x_libraries=NONE
1989 # Installation directory options.
1990 # These are left unexpanded so users can "make install exec_prefix=/foo"
1991 # and all the variables that are supposed to be based on exec_prefix
1992 # by default will actually change.
1993 # Use braces instead of parens because sh, perl, etc. also accept them.
1994 # (The list follows the same order as the GNU Coding Standards.)
1995 bindir='${exec_prefix}/bin'
1996 sbindir='${exec_prefix}/sbin'
1997 libexecdir='${exec_prefix}/libexec'
1998 datarootdir='${prefix}/share'
1999 datadir='${datarootdir}'
2000 sysconfdir='${prefix}/etc'
2001 sharedstatedir='${prefix}/com'
2002 localstatedir='${prefix}/var'
2003 runstatedir='${localstatedir}/run'
2004 includedir='${prefix}/include'
2005 oldincludedir='/usr/include'
2006 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
2007 infodir='${datarootdir}/info'
2008 htmldir='${docdir}'
2009 dvidir='${docdir}'
2010 pdfdir='${docdir}'
2011 psdir='${docdir}'
2012 libdir='${exec_prefix}/lib'
2013 localedir='${datarootdir}/locale'
2014 mandir='${datarootdir}/man'
2016 ac_prev=
2017 ac_dashdash=
2018 for ac_option
2020 # If the previous option needs an argument, assign it.
2021 if test -n "$ac_prev"; then
2022 eval $ac_prev=\$ac_option
2023 ac_prev=
2024 continue
2027 case $ac_option in
2028 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
2029 *=) ac_optarg= ;;
2030 *) ac_optarg=yes ;;
2031 esac
2033 # Accept the important Cygnus configure options, so we can diagnose typos.
2035 case $ac_dashdash$ac_option in
2037 ac_dashdash=yes ;;
2039 -bindir | --bindir | --bindi | --bind | --bin | --bi)
2040 ac_prev=bindir ;;
2041 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
2042 bindir=$ac_optarg ;;
2044 -build | --build | --buil | --bui | --bu)
2045 ac_prev=build_alias ;;
2046 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
2047 build_alias=$ac_optarg ;;
2049 -cache-file | --cache-file | --cache-fil | --cache-fi \
2050 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
2051 ac_prev=cache_file ;;
2052 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
2053 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
2054 cache_file=$ac_optarg ;;
2056 --config-cache | -C)
2057 cache_file=config.cache ;;
2059 -datadir | --datadir | --datadi | --datad)
2060 ac_prev=datadir ;;
2061 -datadir=* | --datadir=* | --datadi=* | --datad=*)
2062 datadir=$ac_optarg ;;
2064 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
2065 | --dataroo | --dataro | --datar)
2066 ac_prev=datarootdir ;;
2067 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
2068 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
2069 datarootdir=$ac_optarg ;;
2071 -disable-* | --disable-*)
2072 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
2073 # Reject names that are not valid shell variable names.
2074 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
2075 as_fn_error $? "invalid feature name: $ac_useropt"
2076 ac_useropt_orig=$ac_useropt
2077 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
2078 case $ac_user_opts in
2080 "enable_$ac_useropt"
2081 "*) ;;
2082 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
2083 ac_unrecognized_sep=', ';;
2084 esac
2085 eval enable_$ac_useropt=no ;;
2087 -docdir | --docdir | --docdi | --doc | --do)
2088 ac_prev=docdir ;;
2089 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
2090 docdir=$ac_optarg ;;
2092 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
2093 ac_prev=dvidir ;;
2094 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
2095 dvidir=$ac_optarg ;;
2097 -enable-* | --enable-*)
2098 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
2099 # Reject names that are not valid shell variable names.
2100 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
2101 as_fn_error $? "invalid feature name: $ac_useropt"
2102 ac_useropt_orig=$ac_useropt
2103 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
2104 case $ac_user_opts in
2106 "enable_$ac_useropt"
2107 "*) ;;
2108 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
2109 ac_unrecognized_sep=', ';;
2110 esac
2111 eval enable_$ac_useropt=\$ac_optarg ;;
2113 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
2114 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
2115 | --exec | --exe | --ex)
2116 ac_prev=exec_prefix ;;
2117 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
2118 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
2119 | --exec=* | --exe=* | --ex=*)
2120 exec_prefix=$ac_optarg ;;
2122 -gas | --gas | --ga | --g)
2123 # Obsolete; use --with-gas.
2124 with_gas=yes ;;
2126 -help | --help | --hel | --he | -h)
2127 ac_init_help=long ;;
2128 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
2129 ac_init_help=recursive ;;
2130 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
2131 ac_init_help=short ;;
2133 -host | --host | --hos | --ho)
2134 ac_prev=host_alias ;;
2135 -host=* | --host=* | --hos=* | --ho=*)
2136 host_alias=$ac_optarg ;;
2138 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
2139 ac_prev=htmldir ;;
2140 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
2141 | --ht=*)
2142 htmldir=$ac_optarg ;;
2144 -includedir | --includedir | --includedi | --included | --include \
2145 | --includ | --inclu | --incl | --inc)
2146 ac_prev=includedir ;;
2147 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
2148 | --includ=* | --inclu=* | --incl=* | --inc=*)
2149 includedir=$ac_optarg ;;
2151 -infodir | --infodir | --infodi | --infod | --info | --inf)
2152 ac_prev=infodir ;;
2153 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
2154 infodir=$ac_optarg ;;
2156 -libdir | --libdir | --libdi | --libd)
2157 ac_prev=libdir ;;
2158 -libdir=* | --libdir=* | --libdi=* | --libd=*)
2159 libdir=$ac_optarg ;;
2161 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
2162 | --libexe | --libex | --libe)
2163 ac_prev=libexecdir ;;
2164 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
2165 | --libexe=* | --libex=* | --libe=*)
2166 libexecdir=$ac_optarg ;;
2168 -localedir | --localedir | --localedi | --localed | --locale)
2169 ac_prev=localedir ;;
2170 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
2171 localedir=$ac_optarg ;;
2173 -localstatedir | --localstatedir | --localstatedi | --localstated \
2174 | --localstate | --localstat | --localsta | --localst | --locals)
2175 ac_prev=localstatedir ;;
2176 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
2177 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
2178 localstatedir=$ac_optarg ;;
2180 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
2181 ac_prev=mandir ;;
2182 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
2183 mandir=$ac_optarg ;;
2185 -nfp | --nfp | --nf)
2186 # Obsolete; use --without-fp.
2187 with_fp=no ;;
2189 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
2190 | --no-cr | --no-c | -n)
2191 no_create=yes ;;
2193 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
2194 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
2195 no_recursion=yes ;;
2197 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
2198 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
2199 | --oldin | --oldi | --old | --ol | --o)
2200 ac_prev=oldincludedir ;;
2201 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
2202 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
2203 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
2204 oldincludedir=$ac_optarg ;;
2206 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
2207 ac_prev=prefix ;;
2208 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
2209 prefix=$ac_optarg ;;
2211 -program-prefix | --program-prefix | --program-prefi | --program-pref \
2212 | --program-pre | --program-pr | --program-p)
2213 ac_prev=program_prefix ;;
2214 -program-prefix=* | --program-prefix=* | --program-prefi=* \
2215 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
2216 program_prefix=$ac_optarg ;;
2218 -program-suffix | --program-suffix | --program-suffi | --program-suff \
2219 | --program-suf | --program-su | --program-s)
2220 ac_prev=program_suffix ;;
2221 -program-suffix=* | --program-suffix=* | --program-suffi=* \
2222 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
2223 program_suffix=$ac_optarg ;;
2225 -program-transform-name | --program-transform-name \
2226 | --program-transform-nam | --program-transform-na \
2227 | --program-transform-n | --program-transform- \
2228 | --program-transform | --program-transfor \
2229 | --program-transfo | --program-transf \
2230 | --program-trans | --program-tran \
2231 | --progr-tra | --program-tr | --program-t)
2232 ac_prev=program_transform_name ;;
2233 -program-transform-name=* | --program-transform-name=* \
2234 | --program-transform-nam=* | --program-transform-na=* \
2235 | --program-transform-n=* | --program-transform-=* \
2236 | --program-transform=* | --program-transfor=* \
2237 | --program-transfo=* | --program-transf=* \
2238 | --program-trans=* | --program-tran=* \
2239 | --progr-tra=* | --program-tr=* | --program-t=*)
2240 program_transform_name=$ac_optarg ;;
2242 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
2243 ac_prev=pdfdir ;;
2244 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
2245 pdfdir=$ac_optarg ;;
2247 -psdir | --psdir | --psdi | --psd | --ps)
2248 ac_prev=psdir ;;
2249 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
2250 psdir=$ac_optarg ;;
2252 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2253 | -silent | --silent | --silen | --sile | --sil)
2254 silent=yes ;;
2256 -runstatedir | --runstatedir | --runstatedi | --runstated \
2257 | --runstate | --runstat | --runsta | --runst | --runs \
2258 | --run | --ru | --r)
2259 ac_prev=runstatedir ;;
2260 -runstatedir=* | --runstatedir=* | --runstatedi=* | --runstated=* \
2261 | --runstate=* | --runstat=* | --runsta=* | --runst=* | --runs=* \
2262 | --run=* | --ru=* | --r=*)
2263 runstatedir=$ac_optarg ;;
2265 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
2266 ac_prev=sbindir ;;
2267 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
2268 | --sbi=* | --sb=*)
2269 sbindir=$ac_optarg ;;
2271 -sharedstatedir | --sharedstatedir | --sharedstatedi \
2272 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
2273 | --sharedst | --shareds | --shared | --share | --shar \
2274 | --sha | --sh)
2275 ac_prev=sharedstatedir ;;
2276 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
2277 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
2278 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
2279 | --sha=* | --sh=*)
2280 sharedstatedir=$ac_optarg ;;
2282 -site | --site | --sit)
2283 ac_prev=site ;;
2284 -site=* | --site=* | --sit=*)
2285 site=$ac_optarg ;;
2287 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
2288 ac_prev=srcdir ;;
2289 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
2290 srcdir=$ac_optarg ;;
2292 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
2293 | --syscon | --sysco | --sysc | --sys | --sy)
2294 ac_prev=sysconfdir ;;
2295 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
2296 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
2297 sysconfdir=$ac_optarg ;;
2299 -target | --target | --targe | --targ | --tar | --ta | --t)
2300 ac_prev=target_alias ;;
2301 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
2302 target_alias=$ac_optarg ;;
2304 -v | -verbose | --verbose | --verbos | --verbo | --verb)
2305 verbose=yes ;;
2307 -version | --version | --versio | --versi | --vers | -V)
2308 ac_init_version=: ;;
2310 -with-* | --with-*)
2311 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
2312 # Reject names that are not valid shell variable names.
2313 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
2314 as_fn_error $? "invalid package name: $ac_useropt"
2315 ac_useropt_orig=$ac_useropt
2316 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
2317 case $ac_user_opts in
2319 "with_$ac_useropt"
2320 "*) ;;
2321 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
2322 ac_unrecognized_sep=', ';;
2323 esac
2324 eval with_$ac_useropt=\$ac_optarg ;;
2326 -without-* | --without-*)
2327 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
2328 # Reject names that are not valid shell variable names.
2329 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
2330 as_fn_error $? "invalid package name: $ac_useropt"
2331 ac_useropt_orig=$ac_useropt
2332 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
2333 case $ac_user_opts in
2335 "with_$ac_useropt"
2336 "*) ;;
2337 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
2338 ac_unrecognized_sep=', ';;
2339 esac
2340 eval with_$ac_useropt=no ;;
2342 --x)
2343 # Obsolete; use --with-x.
2344 with_x=yes ;;
2346 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
2347 | --x-incl | --x-inc | --x-in | --x-i)
2348 ac_prev=x_includes ;;
2349 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
2350 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
2351 x_includes=$ac_optarg ;;
2353 -x-libraries | --x-libraries | --x-librarie | --x-librari \
2354 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
2355 ac_prev=x_libraries ;;
2356 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
2357 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
2358 x_libraries=$ac_optarg ;;
2360 -*) as_fn_error $? "unrecognized option: \`$ac_option'
2361 Try \`$0 --help' for more information"
2364 *=*)
2365 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
2366 # Reject names that are not valid shell variable names.
2367 case $ac_envvar in #(
2368 '' | [0-9]* | *[!_$as_cr_alnum]* )
2369 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
2370 esac
2371 eval $ac_envvar=\$ac_optarg
2372 export $ac_envvar ;;
2375 # FIXME: should be removed in autoconf 3.0.
2376 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
2377 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
2378 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
2379 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
2382 esac
2383 done
2385 if test -n "$ac_prev"; then
2386 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
2387 as_fn_error $? "missing argument to $ac_option"
2390 if test -n "$ac_unrecognized_opts"; then
2391 case $enable_option_checking in
2392 no) ;;
2393 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
2394 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
2395 esac
2398 # Check all directory arguments for consistency.
2399 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
2400 datadir sysconfdir sharedstatedir localstatedir includedir \
2401 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
2402 libdir localedir mandir runstatedir
2404 eval ac_val=\$$ac_var
2405 # Remove trailing slashes.
2406 case $ac_val in
2407 */ )
2408 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
2409 eval $ac_var=\$ac_val;;
2410 esac
2411 # Be sure to have absolute directory names.
2412 case $ac_val in
2413 [\\/$]* | ?:[\\/]* ) continue;;
2414 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
2415 esac
2416 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
2417 done
2419 # There might be people who depend on the old broken behavior: `$host'
2420 # used to hold the argument of --host etc.
2421 # FIXME: To remove some day.
2422 build=$build_alias
2423 host=$host_alias
2424 target=$target_alias
2426 # FIXME: To remove some day.
2427 if test "x$host_alias" != x; then
2428 if test "x$build_alias" = x; then
2429 cross_compiling=maybe
2430 elif test "x$build_alias" != "x$host_alias"; then
2431 cross_compiling=yes
2435 ac_tool_prefix=
2436 test -n "$host_alias" && ac_tool_prefix=$host_alias-
2438 test "$silent" = yes && exec 6>/dev/null
2441 ac_pwd=`pwd` && test -n "$ac_pwd" &&
2442 ac_ls_di=`ls -di .` &&
2443 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
2444 as_fn_error $? "working directory cannot be determined"
2445 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
2446 as_fn_error $? "pwd does not report name of working directory"
2449 # Find the source files, if location was not specified.
2450 if test -z "$srcdir"; then
2451 ac_srcdir_defaulted=yes
2452 # Try the directory containing this script, then the parent directory.
2453 ac_confdir=`$as_dirname -- "$as_myself" ||
2454 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
2455 X"$as_myself" : 'X\(//\)[^/]' \| \
2456 X"$as_myself" : 'X\(//\)$' \| \
2457 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
2458 $as_echo X"$as_myself" |
2459 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
2460 s//\1/
2463 /^X\(\/\/\)[^/].*/{
2464 s//\1/
2467 /^X\(\/\/\)$/{
2468 s//\1/
2471 /^X\(\/\).*/{
2472 s//\1/
2475 s/.*/./; q'`
2476 srcdir=$ac_confdir
2477 if test ! -r "$srcdir/$ac_unique_file"; then
2478 srcdir=..
2480 else
2481 ac_srcdir_defaulted=no
2483 if test ! -r "$srcdir/$ac_unique_file"; then
2484 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
2485 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
2487 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
2488 ac_abs_confdir=`(
2489 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
2490 pwd)`
2491 # When building in place, set srcdir=.
2492 if test "$ac_abs_confdir" = "$ac_pwd"; then
2493 srcdir=.
2495 # Remove unnecessary trailing slashes from srcdir.
2496 # Double slashes in file names in object file debugging info
2497 # mess up M-x gdb in Emacs.
2498 case $srcdir in
2499 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
2500 esac
2501 for ac_var in $ac_precious_vars; do
2502 eval ac_env_${ac_var}_set=\${${ac_var}+set}
2503 eval ac_env_${ac_var}_value=\$${ac_var}
2504 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
2505 eval ac_cv_env_${ac_var}_value=\$${ac_var}
2506 done
2509 # Report the --help message.
2511 if test "$ac_init_help" = "long"; then
2512 # Omit some internal or obsolete options to make the list less imposing.
2513 # This message is too long to be a string in the A/UX 3.1 sh.
2514 cat <<_ACEOF
2515 \`configure' configures Wine 6.6 to adapt to many kinds of systems.
2517 Usage: $0 [OPTION]... [VAR=VALUE]...
2519 To assign environment variables (e.g., CC, CFLAGS...), specify them as
2520 VAR=VALUE. See below for descriptions of some of the useful variables.
2522 Defaults for the options are specified in brackets.
2524 Configuration:
2525 -h, --help display this help and exit
2526 --help=short display options specific to this package
2527 --help=recursive display the short help of all the included packages
2528 -V, --version display version information and exit
2529 -q, --quiet, --silent do not print \`checking ...' messages
2530 --cache-file=FILE cache test results in FILE [disabled]
2531 -C, --config-cache alias for \`--cache-file=config.cache'
2532 -n, --no-create do not create output files
2533 --srcdir=DIR find the sources in DIR [configure dir or \`..']
2535 Installation directories:
2536 --prefix=PREFIX install architecture-independent files in PREFIX
2537 [$ac_default_prefix]
2538 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
2539 [PREFIX]
2541 By default, \`make install' will install all the files in
2542 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
2543 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
2544 for instance \`--prefix=\$HOME'.
2546 For better control, use the options below.
2548 Fine tuning of the installation directories:
2549 --bindir=DIR user executables [EPREFIX/bin]
2550 --sbindir=DIR system admin executables [EPREFIX/sbin]
2551 --libexecdir=DIR program executables [EPREFIX/libexec]
2552 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
2553 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
2554 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
2555 --runstatedir=DIR modifiable per-process data [LOCALSTATEDIR/run]
2556 --libdir=DIR object code libraries [EPREFIX/lib]
2557 --includedir=DIR C header files [PREFIX/include]
2558 --oldincludedir=DIR C header files for non-gcc [/usr/include]
2559 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
2560 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
2561 --infodir=DIR info documentation [DATAROOTDIR/info]
2562 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
2563 --mandir=DIR man documentation [DATAROOTDIR/man]
2564 --docdir=DIR documentation root [DATAROOTDIR/doc/wine]
2565 --htmldir=DIR html documentation [DOCDIR]
2566 --dvidir=DIR dvi documentation [DOCDIR]
2567 --pdfdir=DIR pdf documentation [DOCDIR]
2568 --psdir=DIR ps documentation [DOCDIR]
2569 _ACEOF
2571 cat <<\_ACEOF
2573 X features:
2574 --x-includes=DIR X include files are in DIR
2575 --x-libraries=DIR X library files are in DIR
2577 System types:
2578 --build=BUILD configure for building on BUILD [guessed]
2579 --host=HOST cross-compile to build programs to run on HOST [BUILD]
2580 _ACEOF
2583 if test -n "$ac_init_help"; then
2584 case $ac_init_help in
2585 short | recursive ) echo "Configuration of Wine 6.6:";;
2586 esac
2587 cat <<\_ACEOF
2589 Optional Features:
2590 --disable-option-checking ignore unrecognized --enable/--with options
2591 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
2592 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
2593 --disable-win16 do not include Win16 support
2594 --enable-win64 build a Win64 emulator on AMD64 (won't run Win32
2595 binaries)
2596 --disable-tests do not build the regression tests
2597 --enable-build-id include .buildid section in output objects
2598 --enable-maintainer-mode
2599 enable maintainer-specific build rules
2600 --enable-silent-rules use silent build rules (override: "make V=1")
2601 --enable-werror treat compilation warnings as errors
2602 --disable-largefile omit support for large files
2604 Optional Packages:
2605 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
2606 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
2607 --without-alsa do not use the Alsa sound support
2608 --without-capi do not use CAPI (ISDN support)
2609 --without-cms do not use CMS (color management support)
2610 --without-coreaudio do not use the CoreAudio sound support
2611 --without-cups do not use CUPS
2612 --without-dbus do not use DBus (dynamic device support)
2613 --without-faudio do not use FAudio (XAudio2 support)
2614 --with-float-abi=abi specify the ABI (soft|softfp|hard) for ARM platforms
2615 --without-fontconfig do not use fontconfig
2616 --without-freetype do not use the FreeType library
2617 --without-gettext do not use gettext
2618 --with-gettextpo use the GetTextPO library to rebuild po files
2619 --without-gphoto do not use gphoto (Digital Camera support)
2620 --without-gnutls do not use GnuTLS (schannel support)
2621 --without-gsm do not use libgsm (GSM 06.10 codec support)
2622 --without-gssapi do not use GSSAPI (Kerberos SSP support)
2623 --without-gstreamer do not use GStreamer (codecs support)
2624 --without-hal do not use HAL (dynamic device support)
2625 --without-inotify do not use inotify (filesystem change notifications)
2626 --without-jpeg do not use JPEG
2627 --without-jxrlib do not use JPEG-XR
2628 --without-krb5 do not use krb5 (Kerberos)
2629 --without-ldap do not use LDAP
2630 --without-mingw do not use the MinGW cross-compiler
2631 --without-mpg123 do not use the mpg123 library
2632 --without-netapi do not use the Samba NetAPI library
2633 --without-openal do not use OpenAL
2634 --without-opencl do not use OpenCL
2635 --without-opengl do not use OpenGL
2636 --without-osmesa do not use the OSMesa library
2637 --without-oss do not use the OSS sound support
2638 --without-pcap do not use the Packet Capture library
2639 --without-png do not use PNG
2640 --without-pthread do not use the pthread library
2641 --without-pulse do not use PulseAudio sound support
2642 --without-quicktime do not use QuickTime support
2643 --without-sane do not use SANE (scanner support)
2644 --without-sdl do not use SDL
2645 --without-tiff do not use TIFF
2646 --without-udev do not use udev (plug and play support)
2647 --without-unwind do not use the libunwind library (exception
2648 handling)
2649 --without-usb do not use the libusb library
2650 --without-v4l2 do not use v4l2 (video capture)
2651 --without-vkd3d do not use vkd3d (Direct3D 12 support)
2652 --without-vulkan do not use Vulkan
2653 --without-xcomposite do not use the Xcomposite extension
2654 --without-xcursor do not use the Xcursor extension
2655 --without-xfixes do not use Xfixes for clipboard change notifications
2656 --without-xinerama do not use Xinerama (legacy multi-monitor support)
2657 --without-xinput do not use the Xinput extension
2658 --without-xinput2 do not use the Xinput 2 extension
2659 --without-xml do not use XML
2660 --without-xrandr do not use Xrandr (multi-monitor support)
2661 --without-xrender do not use the Xrender extension
2662 --without-xshape do not use the Xshape extension
2663 --without-xshm do not use XShm (shared memory extension)
2664 --without-xslt do not use XSLT
2665 --without-xxf86vm do not use XFree video mode extension
2666 --with-wine-tools=DIR use Wine tools from directory DIR
2667 --with-wine64=DIR use the 64-bit Wine in DIR for a Wow64 build
2668 --with-x use the X Window System
2670 Some influential environment variables:
2671 CC C compiler command
2672 CFLAGS C compiler flags
2673 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
2674 nonstandard directory <lib dir>
2675 LIBS libraries to pass to the linker, e.g. -l<library>
2676 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
2677 you have headers in a nonstandard directory <include dir>
2678 CXX C++ compiler command
2679 CXXFLAGS C++ compiler flags
2680 CPP C preprocessor
2681 OBJC Objective C compiler command
2682 OBJCFLAGS Objective C compiler flags
2683 OBJCPP Objective C preprocessor
2684 XMKMF Path to xmkmf, Makefile generator for X Window System
2685 XML2_CFLAGS C compiler flags for libxml-2.0, overriding pkg-config
2686 XML2_LIBS Linker flags for libxml-2.0, overriding pkg-config
2687 XSLT_CFLAGS C compiler flags for libxslt, overriding pkg-config
2688 XSLT_LIBS Linker flags for libxslt, overriding pkg-config
2689 INOTIFY_CFLAGS
2690 C compiler flags for libinotify, overriding pkg-config
2691 INOTIFY_LIBS
2692 Linker flags for libinotify, overriding pkg-config
2693 DBUS_CFLAGS C compiler flags for dbus-1, overriding pkg-config
2694 DBUS_LIBS Linker flags for dbus-1, overriding pkg-config
2695 HAL_CFLAGS C compiler flags for hal, overriding pkg-config
2696 HAL_LIBS Linker flags for hal, overriding pkg-config
2697 GNUTLS_CFLAGS
2698 C compiler flags for gnutls, overriding pkg-config
2699 GNUTLS_LIBS Linker flags for gnutls, overriding pkg-config
2700 SANE_CFLAGS C compiler flags for sane-backends, overriding pkg-config
2701 SANE_LIBS Linker flags for sane-backends, overriding pkg-config
2702 USB_CFLAGS C compiler flags for libusb-1.0, overriding pkg-config
2703 USB_LIBS Linker flags for libusb-1.0, overriding pkg-config
2704 GPHOTO2_CFLAGS
2705 C compiler flags for libgphoto2, overriding pkg-config
2706 GPHOTO2_LIBS
2707 Linker flags for libgphoto2, overriding pkg-config
2708 GPHOTO2_PORT_CFLAGS
2709 C compiler flags for libgphoto2_port, overriding pkg-config
2710 GPHOTO2_PORT_LIBS
2711 Linker flags for libgphoto2_port, overriding pkg-config
2712 LCMS2_CFLAGS
2713 C compiler flags for lcms2, overriding pkg-config
2714 LCMS2_LIBS Linker flags for lcms2, overriding pkg-config
2715 FREETYPE_CFLAGS
2716 C compiler flags for freetype2, overriding pkg-config
2717 FREETYPE_LIBS
2718 Linker flags for freetype2, overriding pkg-config
2719 PULSE_CFLAGS
2720 C compiler flags for libpulse, overriding pkg-config
2721 PULSE_LIBS Linker flags for libpulse, overriding pkg-config
2722 GSTREAMER_CFLAGS
2723 C compiler flags for gstreamer-1.0 gstreamer-video-1.0
2724 gstreamer-audio-1.0, overriding pkg-config
2725 GSTREAMER_LIBS
2726 Linker flags for gstreamer-1.0 gstreamer-video-1.0
2727 gstreamer-audio-1.0, overriding pkg-config
2728 UDEV_CFLAGS C compiler flags for libudev, overriding pkg-config
2729 UDEV_LIBS Linker flags for libudev, overriding pkg-config
2730 UNWIND_CFLAGS
2731 C compiler flags for libunwind, overriding pkg-config
2732 UNWIND_LIBS Linker flags for libunwind, overriding pkg-config
2733 SDL2_CFLAGS C compiler flags for sdl2, overriding pkg-config
2734 SDL2_LIBS Linker flags for sdl2, overriding pkg-config
2735 FAUDIO_CFLAGS
2736 C compiler flags for FAudio, overriding pkg-config
2737 FAUDIO_LIBS Linker flags for FAudio, overriding pkg-config
2738 CAPI20_CFLAGS
2739 C compiler flags for capi20, overriding pkg-config
2740 CAPI20_LIBS Linker flags for capi20, overriding pkg-config
2741 CUPS_CFLAGS C compiler flags for cups, overriding pkg-config
2742 CUPS_LIBS Linker flags for cups, overriding pkg-config
2743 FONTCONFIG_CFLAGS
2744 C compiler flags for fontconfig, overriding pkg-config
2745 FONTCONFIG_LIBS
2746 Linker flags for fontconfig, overriding pkg-config
2747 KRB5_CFLAGS C compiler flags for krb5, overriding pkg-config
2748 KRB5_LIBS Linker flags for krb5, overriding pkg-config
2749 GSSAPI_CFLAGS
2750 C compiler flags for krb5-gssapi, overriding pkg-config
2751 GSSAPI_LIBS Linker flags for krb5-gssapi, overriding pkg-config
2752 JPEG_CFLAGS C compiler flags for libjpeg, overriding pkg-config
2753 JPEG_LIBS Linker flags for libjpeg, overriding pkg-config
2754 JXRLIB_CFLAGS
2755 C compiler flags for jxrlib, overriding pkg-config
2756 JXRLIB_LIBS Linker flags for jxrlib, overriding pkg-config
2757 PNG_CFLAGS C compiler flags for libpng, overriding pkg-config
2758 PNG_LIBS Linker flags for libpng, overriding pkg-config
2759 TIFF_CFLAGS C compiler flags for libtiff-4, overriding pkg-config
2760 TIFF_LIBS Linker flags for libtiff-4, overriding pkg-config
2761 MPG123_CFLAGS
2762 C compiler flags for libmpg123, overriding pkg-config
2763 MPG123_LIBS Linker flags for libmpg123, overriding pkg-config
2764 NETAPI_CFLAGS
2765 C compiler flags for netapi, overriding pkg-config
2766 NETAPI_LIBS Linker flags for netapi, overriding pkg-config
2767 VKD3D_CFLAGS
2768 C compiler flags for libvkd3d, overriding pkg-config
2769 VKD3D_LIBS Linker flags for libvkd3d, overriding pkg-config
2770 VKD3D_SHADER_CFLAGS
2771 C compiler flags for libvkd3d-shader, overriding pkg-config
2772 VKD3D_SHADER_LIBS
2773 Linker flags for libvkd3d-shader, overriding pkg-config
2774 LDAP_CFLAGS C compiler flags for openldap, overriding pkg-config
2775 LDAP_LIBS Linker flags for openldap, overriding pkg-config
2777 Use these variables to override the choices made by `configure' or to help
2778 it to find libraries and programs with nonstandard names/locations.
2780 Report bugs to <wine-devel@winehq.org>.
2781 Wine home page: <https://www.winehq.org>.
2782 _ACEOF
2783 ac_status=$?
2786 if test "$ac_init_help" = "recursive"; then
2787 # If there are subdirs, report their specific --help.
2788 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
2789 test -d "$ac_dir" ||
2790 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
2791 continue
2792 ac_builddir=.
2794 case "$ac_dir" in
2795 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
2797 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
2798 # A ".." for each directory in $ac_dir_suffix.
2799 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
2800 case $ac_top_builddir_sub in
2801 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
2802 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
2803 esac ;;
2804 esac
2805 ac_abs_top_builddir=$ac_pwd
2806 ac_abs_builddir=$ac_pwd$ac_dir_suffix
2807 # for backward compatibility:
2808 ac_top_builddir=$ac_top_build_prefix
2810 case $srcdir in
2811 .) # We are building in place.
2812 ac_srcdir=.
2813 ac_top_srcdir=$ac_top_builddir_sub
2814 ac_abs_top_srcdir=$ac_pwd ;;
2815 [\\/]* | ?:[\\/]* ) # Absolute name.
2816 ac_srcdir=$srcdir$ac_dir_suffix;
2817 ac_top_srcdir=$srcdir
2818 ac_abs_top_srcdir=$srcdir ;;
2819 *) # Relative name.
2820 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
2821 ac_top_srcdir=$ac_top_build_prefix$srcdir
2822 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
2823 esac
2824 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
2826 cd "$ac_dir" || { ac_status=$?; continue; }
2827 # Check for guested configure.
2828 if test -f "$ac_srcdir/configure.gnu"; then
2829 echo &&
2830 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
2831 elif test -f "$ac_srcdir/configure"; then
2832 echo &&
2833 $SHELL "$ac_srcdir/configure" --help=recursive
2834 else
2835 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
2836 fi || ac_status=$?
2837 cd "$ac_pwd" || { ac_status=$?; break; }
2838 done
2841 test -n "$ac_init_help" && exit $ac_status
2842 if $ac_init_version; then
2843 cat <<\_ACEOF
2844 Wine configure 6.6
2845 generated by GNU Autoconf 2.69
2847 Copyright (C) 2012 Free Software Foundation, Inc.
2848 This configure script is free software; the Free Software Foundation
2849 gives unlimited permission to copy, distribute and modify it.
2850 _ACEOF
2851 exit
2854 ## ------------------------ ##
2855 ## Autoconf initialization. ##
2856 ## ------------------------ ##
2858 # ac_fn_c_try_compile LINENO
2859 # --------------------------
2860 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2861 ac_fn_c_try_compile ()
2863 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2864 rm -f conftest.$ac_objext
2865 if { { ac_try="$ac_compile"
2866 case "(($ac_try" in
2867 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2868 *) ac_try_echo=$ac_try;;
2869 esac
2870 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2871 $as_echo "$ac_try_echo"; } >&5
2872 (eval "$ac_compile") 2>conftest.err
2873 ac_status=$?
2874 if test -s conftest.err; then
2875 grep -v '^ *+' conftest.err >conftest.er1
2876 cat conftest.er1 >&5
2877 mv -f conftest.er1 conftest.err
2879 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2880 test $ac_status = 0; } && {
2881 test -z "$ac_c_werror_flag" ||
2882 test ! -s conftest.err
2883 } && test -s conftest.$ac_objext; then :
2884 ac_retval=0
2885 else
2886 $as_echo "$as_me: failed program was:" >&5
2887 sed 's/^/| /' conftest.$ac_ext >&5
2889 ac_retval=1
2891 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2892 as_fn_set_status $ac_retval
2894 } # ac_fn_c_try_compile
2896 # ac_fn_cxx_try_compile LINENO
2897 # ----------------------------
2898 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2899 ac_fn_cxx_try_compile ()
2901 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2902 rm -f conftest.$ac_objext
2903 if { { ac_try="$ac_compile"
2904 case "(($ac_try" in
2905 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2906 *) ac_try_echo=$ac_try;;
2907 esac
2908 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2909 $as_echo "$ac_try_echo"; } >&5
2910 (eval "$ac_compile") 2>conftest.err
2911 ac_status=$?
2912 if test -s conftest.err; then
2913 grep -v '^ *+' conftest.err >conftest.er1
2914 cat conftest.er1 >&5
2915 mv -f conftest.er1 conftest.err
2917 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2918 test $ac_status = 0; } && {
2919 test -z "$ac_cxx_werror_flag" ||
2920 test ! -s conftest.err
2921 } && test -s conftest.$ac_objext; then :
2922 ac_retval=0
2923 else
2924 $as_echo "$as_me: failed program was:" >&5
2925 sed 's/^/| /' conftest.$ac_ext >&5
2927 ac_retval=1
2929 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2930 as_fn_set_status $ac_retval
2932 } # ac_fn_cxx_try_compile
2934 # ac_fn_c_try_link LINENO
2935 # -----------------------
2936 # Try to link conftest.$ac_ext, and return whether this succeeded.
2937 ac_fn_c_try_link ()
2939 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2940 rm -f conftest.$ac_objext conftest$ac_exeext
2941 if { { ac_try="$ac_link"
2942 case "(($ac_try" in
2943 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2944 *) ac_try_echo=$ac_try;;
2945 esac
2946 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2947 $as_echo "$ac_try_echo"; } >&5
2948 (eval "$ac_link") 2>conftest.err
2949 ac_status=$?
2950 if test -s conftest.err; then
2951 grep -v '^ *+' conftest.err >conftest.er1
2952 cat conftest.er1 >&5
2953 mv -f conftest.er1 conftest.err
2955 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2956 test $ac_status = 0; } && {
2957 test -z "$ac_c_werror_flag" ||
2958 test ! -s conftest.err
2959 } && test -s conftest$ac_exeext && {
2960 test "$cross_compiling" = yes ||
2961 test -x conftest$ac_exeext
2962 }; then :
2963 ac_retval=0
2964 else
2965 $as_echo "$as_me: failed program was:" >&5
2966 sed 's/^/| /' conftest.$ac_ext >&5
2968 ac_retval=1
2970 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2971 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2972 # interfere with the next link command; also delete a directory that is
2973 # left behind by Apple's compiler. We do this before executing the actions.
2974 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2975 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2976 as_fn_set_status $ac_retval
2978 } # ac_fn_c_try_link
2980 # ac_fn_c_try_cpp LINENO
2981 # ----------------------
2982 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
2983 ac_fn_c_try_cpp ()
2985 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2986 if { { ac_try="$ac_cpp conftest.$ac_ext"
2987 case "(($ac_try" in
2988 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2989 *) ac_try_echo=$ac_try;;
2990 esac
2991 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2992 $as_echo "$ac_try_echo"; } >&5
2993 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
2994 ac_status=$?
2995 if test -s conftest.err; then
2996 grep -v '^ *+' conftest.err >conftest.er1
2997 cat conftest.er1 >&5
2998 mv -f conftest.er1 conftest.err
3000 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3001 test $ac_status = 0; } > conftest.i && {
3002 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3003 test ! -s conftest.err
3004 }; then :
3005 ac_retval=0
3006 else
3007 $as_echo "$as_me: failed program was:" >&5
3008 sed 's/^/| /' conftest.$ac_ext >&5
3010 ac_retval=1
3012 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3013 as_fn_set_status $ac_retval
3015 } # ac_fn_c_try_cpp
3017 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
3018 # -------------------------------------------------------
3019 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
3020 # the include files in INCLUDES and setting the cache variable VAR
3021 # accordingly.
3022 ac_fn_c_check_header_mongrel ()
3024 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3025 if eval \${$3+:} false; then :
3026 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3027 $as_echo_n "checking for $2... " >&6; }
3028 if eval \${$3+:} false; then :
3029 $as_echo_n "(cached) " >&6
3031 eval ac_res=\$$3
3032 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3033 $as_echo "$ac_res" >&6; }
3034 else
3035 # Is the header compilable?
3036 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
3037 $as_echo_n "checking $2 usability... " >&6; }
3038 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3039 /* end confdefs.h. */
3041 #include <$2>
3042 _ACEOF
3043 if ac_fn_c_try_compile "$LINENO"; then :
3044 ac_header_compiler=yes
3045 else
3046 ac_header_compiler=no
3048 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3049 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
3050 $as_echo "$ac_header_compiler" >&6; }
3052 # Is the header present?
3053 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
3054 $as_echo_n "checking $2 presence... " >&6; }
3055 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3056 /* end confdefs.h. */
3057 #include <$2>
3058 _ACEOF
3059 if ac_fn_c_try_cpp "$LINENO"; then :
3060 ac_header_preproc=yes
3061 else
3062 ac_header_preproc=no
3064 rm -f conftest.err conftest.i conftest.$ac_ext
3065 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
3066 $as_echo "$ac_header_preproc" >&6; }
3068 # So? What about this header?
3069 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
3070 yes:no: )
3071 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
3072 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
3073 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
3074 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
3076 no:yes:* )
3077 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
3078 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
3079 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
3080 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
3081 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
3082 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
3083 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
3084 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
3085 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
3086 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
3087 ( $as_echo "## ------------------------------------ ##
3088 ## Report this to wine-devel@winehq.org ##
3089 ## ------------------------------------ ##"
3090 ) | sed "s/^/$as_me: WARNING: /" >&2
3092 esac
3093 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3094 $as_echo_n "checking for $2... " >&6; }
3095 if eval \${$3+:} false; then :
3096 $as_echo_n "(cached) " >&6
3097 else
3098 eval "$3=\$ac_header_compiler"
3100 eval ac_res=\$$3
3101 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3102 $as_echo "$ac_res" >&6; }
3104 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3106 } # ac_fn_c_check_header_mongrel
3108 # ac_fn_c_try_run LINENO
3109 # ----------------------
3110 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
3111 # that executables *can* be run.
3112 ac_fn_c_try_run ()
3114 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3115 if { { ac_try="$ac_link"
3116 case "(($ac_try" in
3117 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3118 *) ac_try_echo=$ac_try;;
3119 esac
3120 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3121 $as_echo "$ac_try_echo"; } >&5
3122 (eval "$ac_link") 2>&5
3123 ac_status=$?
3124 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3125 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
3126 { { case "(($ac_try" in
3127 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3128 *) ac_try_echo=$ac_try;;
3129 esac
3130 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3131 $as_echo "$ac_try_echo"; } >&5
3132 (eval "$ac_try") 2>&5
3133 ac_status=$?
3134 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3135 test $ac_status = 0; }; }; then :
3136 ac_retval=0
3137 else
3138 $as_echo "$as_me: program exited with status $ac_status" >&5
3139 $as_echo "$as_me: failed program was:" >&5
3140 sed 's/^/| /' conftest.$ac_ext >&5
3142 ac_retval=$ac_status
3144 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
3145 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3146 as_fn_set_status $ac_retval
3148 } # ac_fn_c_try_run
3150 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
3151 # -------------------------------------------------------
3152 # Tests whether HEADER exists and can be compiled using the include files in
3153 # INCLUDES, setting the cache variable VAR accordingly.
3154 ac_fn_c_check_header_compile ()
3156 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3157 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3158 $as_echo_n "checking for $2... " >&6; }
3159 if eval \${$3+:} false; then :
3160 $as_echo_n "(cached) " >&6
3161 else
3162 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3163 /* end confdefs.h. */
3165 #include <$2>
3166 _ACEOF
3167 if ac_fn_c_try_compile "$LINENO"; then :
3168 eval "$3=yes"
3169 else
3170 eval "$3=no"
3172 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3174 eval ac_res=\$$3
3175 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3176 $as_echo "$ac_res" >&6; }
3177 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3179 } # ac_fn_c_check_header_compile
3181 # ac_fn_objc_try_compile LINENO
3182 # -----------------------------
3183 # Try to compile conftest.$ac_ext, and return whether this succeeded.
3184 ac_fn_objc_try_compile ()
3186 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3187 rm -f conftest.$ac_objext
3188 if { { ac_try="$ac_compile"
3189 case "(($ac_try" in
3190 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3191 *) ac_try_echo=$ac_try;;
3192 esac
3193 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3194 $as_echo "$ac_try_echo"; } >&5
3195 (eval "$ac_compile") 2>conftest.err
3196 ac_status=$?
3197 if test -s conftest.err; then
3198 grep -v '^ *+' conftest.err >conftest.er1
3199 cat conftest.er1 >&5
3200 mv -f conftest.er1 conftest.err
3202 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3203 test $ac_status = 0; } && {
3204 test -z "$ac_objc_werror_flag" ||
3205 test ! -s conftest.err
3206 } && test -s conftest.$ac_objext; then :
3207 ac_retval=0
3208 else
3209 $as_echo "$as_me: failed program was:" >&5
3210 sed 's/^/| /' conftest.$ac_ext >&5
3212 ac_retval=1
3214 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3215 as_fn_set_status $ac_retval
3217 } # ac_fn_objc_try_compile
3219 # ac_fn_objc_try_cpp LINENO
3220 # -------------------------
3221 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
3222 ac_fn_objc_try_cpp ()
3224 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3225 if { { ac_try="$ac_cpp conftest.$ac_ext"
3226 case "(($ac_try" in
3227 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3228 *) ac_try_echo=$ac_try;;
3229 esac
3230 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3231 $as_echo "$ac_try_echo"; } >&5
3232 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
3233 ac_status=$?
3234 if test -s conftest.err; then
3235 grep -v '^ *+' conftest.err >conftest.er1
3236 cat conftest.er1 >&5
3237 mv -f conftest.er1 conftest.err
3239 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3240 test $ac_status = 0; } > conftest.i && {
3241 test -z "$ac_objc_preproc_warn_flag$ac_objc_werror_flag" ||
3242 test ! -s conftest.err
3243 }; then :
3244 ac_retval=0
3245 else
3246 $as_echo "$as_me: failed program was:" >&5
3247 sed 's/^/| /' conftest.$ac_ext >&5
3249 ac_retval=1
3251 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3252 as_fn_set_status $ac_retval
3254 } # ac_fn_objc_try_cpp
3256 # ac_fn_objc_check_header_mongrel LINENO HEADER VAR INCLUDES
3257 # ----------------------------------------------------------
3258 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
3259 # the include files in INCLUDES and setting the cache variable VAR
3260 # accordingly.
3261 ac_fn_objc_check_header_mongrel ()
3263 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3264 if eval \${$3+:} false; then :
3265 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3266 $as_echo_n "checking for $2... " >&6; }
3267 if eval \${$3+:} false; then :
3268 $as_echo_n "(cached) " >&6
3270 eval ac_res=\$$3
3271 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3272 $as_echo "$ac_res" >&6; }
3273 else
3274 # Is the header compilable?
3275 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
3276 $as_echo_n "checking $2 usability... " >&6; }
3277 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3278 /* end confdefs.h. */
3280 #include <$2>
3281 _ACEOF
3282 if ac_fn_objc_try_compile "$LINENO"; then :
3283 ac_header_compiler=yes
3284 else
3285 ac_header_compiler=no
3287 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3288 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
3289 $as_echo "$ac_header_compiler" >&6; }
3291 # Is the header present?
3292 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
3293 $as_echo_n "checking $2 presence... " >&6; }
3294 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3295 /* end confdefs.h. */
3296 #include <$2>
3297 _ACEOF
3298 if ac_fn_objc_try_cpp "$LINENO"; then :
3299 ac_header_preproc=yes
3300 else
3301 ac_header_preproc=no
3303 rm -f conftest.err conftest.i conftest.$ac_ext
3304 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
3305 $as_echo "$ac_header_preproc" >&6; }
3307 # So? What about this header?
3308 case $ac_header_compiler:$ac_header_preproc:$ac_objc_preproc_warn_flag in #((
3309 yes:no: )
3310 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
3311 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
3312 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
3313 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
3315 no:yes:* )
3316 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
3317 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
3318 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
3319 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
3320 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
3321 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
3322 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
3323 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
3324 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
3325 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
3326 ( $as_echo "## ------------------------------------ ##
3327 ## Report this to wine-devel@winehq.org ##
3328 ## ------------------------------------ ##"
3329 ) | sed "s/^/$as_me: WARNING: /" >&2
3331 esac
3332 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3333 $as_echo_n "checking for $2... " >&6; }
3334 if eval \${$3+:} false; then :
3335 $as_echo_n "(cached) " >&6
3336 else
3337 eval "$3=\$ac_header_compiler"
3339 eval ac_res=\$$3
3340 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3341 $as_echo "$ac_res" >&6; }
3343 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3345 } # ac_fn_objc_check_header_mongrel
3347 # ac_fn_c_check_func LINENO FUNC VAR
3348 # ----------------------------------
3349 # Tests whether FUNC exists, setting the cache variable VAR accordingly
3350 ac_fn_c_check_func ()
3352 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3353 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3354 $as_echo_n "checking for $2... " >&6; }
3355 if eval \${$3+:} false; then :
3356 $as_echo_n "(cached) " >&6
3357 else
3358 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3359 /* end confdefs.h. */
3360 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
3361 For example, HP-UX 11i <limits.h> declares gettimeofday. */
3362 #define $2 innocuous_$2
3364 /* System header to define __stub macros and hopefully few prototypes,
3365 which can conflict with char $2 (); below.
3366 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3367 <limits.h> exists even on freestanding compilers. */
3369 #ifdef __STDC__
3370 # include <limits.h>
3371 #else
3372 # include <assert.h>
3373 #endif
3375 #undef $2
3377 /* Override any GCC internal prototype to avoid an error.
3378 Use char because int might match the return type of a GCC
3379 builtin and then its argument prototype would still apply. */
3380 #ifdef __cplusplus
3381 extern "C"
3382 #endif
3383 char $2 ();
3384 /* The GNU C library defines this for functions which it implements
3385 to always fail with ENOSYS. Some functions are actually named
3386 something starting with __ and the normal name is an alias. */
3387 #if defined __stub_$2 || defined __stub___$2
3388 choke me
3389 #endif
3392 main ()
3394 return $2 ();
3396 return 0;
3398 _ACEOF
3399 if ac_fn_c_try_link "$LINENO"; then :
3400 eval "$3=yes"
3401 else
3402 eval "$3=no"
3404 rm -f core conftest.err conftest.$ac_objext \
3405 conftest$ac_exeext conftest.$ac_ext
3407 eval ac_res=\$$3
3408 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3409 $as_echo "$ac_res" >&6; }
3410 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3412 } # ac_fn_c_check_func
3414 # ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
3415 # ----------------------------------------------------
3416 # Tries to find if the field MEMBER exists in type AGGR, after including
3417 # INCLUDES, setting cache variable VAR accordingly.
3418 ac_fn_c_check_member ()
3420 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3421 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
3422 $as_echo_n "checking for $2.$3... " >&6; }
3423 if eval \${$4+:} false; then :
3424 $as_echo_n "(cached) " >&6
3425 else
3426 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3427 /* end confdefs.h. */
3430 main ()
3432 static $2 ac_aggr;
3433 if (ac_aggr.$3)
3434 return 0;
3436 return 0;
3438 _ACEOF
3439 if ac_fn_c_try_compile "$LINENO"; then :
3440 eval "$4=yes"
3441 else
3442 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3443 /* end confdefs.h. */
3446 main ()
3448 static $2 ac_aggr;
3449 if (sizeof ac_aggr.$3)
3450 return 0;
3452 return 0;
3454 _ACEOF
3455 if ac_fn_c_try_compile "$LINENO"; then :
3456 eval "$4=yes"
3457 else
3458 eval "$4=no"
3460 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3462 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3464 eval ac_res=\$$4
3465 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3466 $as_echo "$ac_res" >&6; }
3467 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3469 } # ac_fn_c_check_member
3471 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
3472 # -------------------------------------------
3473 # Tests whether TYPE exists after having included INCLUDES, setting cache
3474 # variable VAR accordingly.
3475 ac_fn_c_check_type ()
3477 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3478 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3479 $as_echo_n "checking for $2... " >&6; }
3480 if eval \${$3+:} false; then :
3481 $as_echo_n "(cached) " >&6
3482 else
3483 eval "$3=no"
3484 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3485 /* end confdefs.h. */
3488 main ()
3490 if (sizeof ($2))
3491 return 0;
3493 return 0;
3495 _ACEOF
3496 if ac_fn_c_try_compile "$LINENO"; then :
3497 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3498 /* end confdefs.h. */
3501 main ()
3503 if (sizeof (($2)))
3504 return 0;
3506 return 0;
3508 _ACEOF
3509 if ac_fn_c_try_compile "$LINENO"; then :
3511 else
3512 eval "$3=yes"
3514 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3516 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3518 eval ac_res=\$$3
3519 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3520 $as_echo "$ac_res" >&6; }
3521 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3523 } # ac_fn_c_check_type
3524 cat >config.log <<_ACEOF
3525 This file contains any messages produced by compilers while
3526 running configure, to aid debugging if configure makes a mistake.
3528 It was created by Wine $as_me 6.6, which was
3529 generated by GNU Autoconf 2.69. Invocation command line was
3531 $ $0 $@
3533 _ACEOF
3534 exec 5>>config.log
3536 cat <<_ASUNAME
3537 ## --------- ##
3538 ## Platform. ##
3539 ## --------- ##
3541 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
3542 uname -m = `(uname -m) 2>/dev/null || echo unknown`
3543 uname -r = `(uname -r) 2>/dev/null || echo unknown`
3544 uname -s = `(uname -s) 2>/dev/null || echo unknown`
3545 uname -v = `(uname -v) 2>/dev/null || echo unknown`
3547 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
3548 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
3550 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
3551 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
3552 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
3553 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
3554 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
3555 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
3556 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
3558 _ASUNAME
3560 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3561 for as_dir in $PATH
3563 IFS=$as_save_IFS
3564 test -z "$as_dir" && as_dir=.
3565 $as_echo "PATH: $as_dir"
3566 done
3567 IFS=$as_save_IFS
3569 } >&5
3571 cat >&5 <<_ACEOF
3574 ## ----------- ##
3575 ## Core tests. ##
3576 ## ----------- ##
3578 _ACEOF
3581 # Keep a trace of the command line.
3582 # Strip out --no-create and --no-recursion so they do not pile up.
3583 # Strip out --silent because we don't want to record it for future runs.
3584 # Also quote any args containing shell meta-characters.
3585 # Make two passes to allow for proper duplicate-argument suppression.
3586 ac_configure_args=
3587 ac_configure_args0=
3588 ac_configure_args1=
3589 ac_must_keep_next=false
3590 for ac_pass in 1 2
3592 for ac_arg
3594 case $ac_arg in
3595 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
3596 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
3597 | -silent | --silent | --silen | --sile | --sil)
3598 continue ;;
3599 *\'*)
3600 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
3601 esac
3602 case $ac_pass in
3603 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
3605 as_fn_append ac_configure_args1 " '$ac_arg'"
3606 if test $ac_must_keep_next = true; then
3607 ac_must_keep_next=false # Got value, back to normal.
3608 else
3609 case $ac_arg in
3610 *=* | --config-cache | -C | -disable-* | --disable-* \
3611 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
3612 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
3613 | -with-* | --with-* | -without-* | --without-* | --x)
3614 case "$ac_configure_args0 " in
3615 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
3616 esac
3618 -* ) ac_must_keep_next=true ;;
3619 esac
3621 as_fn_append ac_configure_args " '$ac_arg'"
3623 esac
3624 done
3625 done
3626 { ac_configure_args0=; unset ac_configure_args0;}
3627 { ac_configure_args1=; unset ac_configure_args1;}
3629 # When interrupted or exit'd, cleanup temporary files, and complete
3630 # config.log. We remove comments because anyway the quotes in there
3631 # would cause problems or look ugly.
3632 # WARNING: Use '\'' to represent an apostrophe within the trap.
3633 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
3634 trap 'exit_status=$?
3635 # Save into config.log some information that might help in debugging.
3637 echo
3639 $as_echo "## ---------------- ##
3640 ## Cache variables. ##
3641 ## ---------------- ##"
3642 echo
3643 # The following way of writing the cache mishandles newlines in values,
3645 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
3646 eval ac_val=\$$ac_var
3647 case $ac_val in #(
3648 *${as_nl}*)
3649 case $ac_var in #(
3650 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
3651 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
3652 esac
3653 case $ac_var in #(
3654 _ | IFS | as_nl) ;; #(
3655 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
3656 *) { eval $ac_var=; unset $ac_var;} ;;
3657 esac ;;
3658 esac
3659 done
3660 (set) 2>&1 |
3661 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
3662 *${as_nl}ac_space=\ *)
3663 sed -n \
3664 "s/'\''/'\''\\\\'\'''\''/g;
3665 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
3666 ;; #(
3668 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
3670 esac |
3671 sort
3673 echo
3675 $as_echo "## ----------------- ##
3676 ## Output variables. ##
3677 ## ----------------- ##"
3678 echo
3679 for ac_var in $ac_subst_vars
3681 eval ac_val=\$$ac_var
3682 case $ac_val in
3683 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3684 esac
3685 $as_echo "$ac_var='\''$ac_val'\''"
3686 done | sort
3687 echo
3689 if test -n "$ac_subst_files"; then
3690 $as_echo "## ------------------- ##
3691 ## File substitutions. ##
3692 ## ------------------- ##"
3693 echo
3694 for ac_var in $ac_subst_files
3696 eval ac_val=\$$ac_var
3697 case $ac_val in
3698 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3699 esac
3700 $as_echo "$ac_var='\''$ac_val'\''"
3701 done | sort
3702 echo
3705 if test -s confdefs.h; then
3706 $as_echo "## ----------- ##
3707 ## confdefs.h. ##
3708 ## ----------- ##"
3709 echo
3710 cat confdefs.h
3711 echo
3713 test "$ac_signal" != 0 &&
3714 $as_echo "$as_me: caught signal $ac_signal"
3715 $as_echo "$as_me: exit $exit_status"
3716 } >&5
3717 rm -f core *.core core.conftest.* &&
3718 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
3719 exit $exit_status
3721 for ac_signal in 1 2 13 15; do
3722 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
3723 done
3724 ac_signal=0
3726 # confdefs.h avoids OS command line length limits that DEFS can exceed.
3727 rm -f -r conftest* confdefs.h
3729 $as_echo "/* confdefs.h */" > confdefs.h
3731 # Predefined preprocessor variables.
3733 cat >>confdefs.h <<_ACEOF
3734 #define PACKAGE_NAME "$PACKAGE_NAME"
3735 _ACEOF
3737 cat >>confdefs.h <<_ACEOF
3738 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
3739 _ACEOF
3741 cat >>confdefs.h <<_ACEOF
3742 #define PACKAGE_VERSION "$PACKAGE_VERSION"
3743 _ACEOF
3745 cat >>confdefs.h <<_ACEOF
3746 #define PACKAGE_STRING "$PACKAGE_STRING"
3747 _ACEOF
3749 cat >>confdefs.h <<_ACEOF
3750 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
3751 _ACEOF
3753 cat >>confdefs.h <<_ACEOF
3754 #define PACKAGE_URL "$PACKAGE_URL"
3755 _ACEOF
3758 # Let the site file select an alternate cache file if it wants to.
3759 # Prefer an explicitly selected file to automatically selected ones.
3760 ac_site_file1=NONE
3761 ac_site_file2=NONE
3762 if test -n "$CONFIG_SITE"; then
3763 # We do not want a PATH search for config.site.
3764 case $CONFIG_SITE in #((
3765 -*) ac_site_file1=./$CONFIG_SITE;;
3766 */*) ac_site_file1=$CONFIG_SITE;;
3767 *) ac_site_file1=./$CONFIG_SITE;;
3768 esac
3769 elif test "x$prefix" != xNONE; then
3770 ac_site_file1=$prefix/share/config.site
3771 ac_site_file2=$prefix/etc/config.site
3772 else
3773 ac_site_file1=$ac_default_prefix/share/config.site
3774 ac_site_file2=$ac_default_prefix/etc/config.site
3776 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
3778 test "x$ac_site_file" = xNONE && continue
3779 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
3780 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
3781 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
3782 sed 's/^/| /' "$ac_site_file" >&5
3783 . "$ac_site_file" \
3784 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3785 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3786 as_fn_error $? "failed to load site script $ac_site_file
3787 See \`config.log' for more details" "$LINENO" 5; }
3789 done
3791 if test -r "$cache_file"; then
3792 # Some versions of bash will fail to source /dev/null (special files
3793 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
3794 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
3795 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
3796 $as_echo "$as_me: loading cache $cache_file" >&6;}
3797 case $cache_file in
3798 [\\/]* | ?:[\\/]* ) . "$cache_file";;
3799 *) . "./$cache_file";;
3800 esac
3802 else
3803 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
3804 $as_echo "$as_me: creating cache $cache_file" >&6;}
3805 >$cache_file
3808 # Check that the precious variables saved in the cache have kept the same
3809 # value.
3810 ac_cache_corrupted=false
3811 for ac_var in $ac_precious_vars; do
3812 eval ac_old_set=\$ac_cv_env_${ac_var}_set
3813 eval ac_new_set=\$ac_env_${ac_var}_set
3814 eval ac_old_val=\$ac_cv_env_${ac_var}_value
3815 eval ac_new_val=\$ac_env_${ac_var}_value
3816 case $ac_old_set,$ac_new_set in
3817 set,)
3818 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
3819 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
3820 ac_cache_corrupted=: ;;
3821 ,set)
3822 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
3823 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
3824 ac_cache_corrupted=: ;;
3825 ,);;
3827 if test "x$ac_old_val" != "x$ac_new_val"; then
3828 # differences in whitespace do not lead to failure.
3829 ac_old_val_w=`echo x $ac_old_val`
3830 ac_new_val_w=`echo x $ac_new_val`
3831 if test "$ac_old_val_w" != "$ac_new_val_w"; then
3832 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
3833 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
3834 ac_cache_corrupted=:
3835 else
3836 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
3837 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
3838 eval $ac_var=\$ac_old_val
3840 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
3841 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
3842 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
3843 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
3844 fi;;
3845 esac
3846 # Pass precious variables to config.status.
3847 if test "$ac_new_set" = set; then
3848 case $ac_new_val in
3849 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
3850 *) ac_arg=$ac_var=$ac_new_val ;;
3851 esac
3852 case " $ac_configure_args " in
3853 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
3854 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
3855 esac
3857 done
3858 if $ac_cache_corrupted; then
3859 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3860 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3861 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
3862 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
3863 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
3865 ## -------------------- ##
3866 ## Main body of script. ##
3867 ## -------------------- ##
3869 ac_ext=c
3870 ac_cpp='$CPP $CPPFLAGS'
3871 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3872 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3873 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3877 ac_config_headers="$ac_config_headers include/config.h"
3879 ac_aux_dir=
3880 for ac_dir in tools "$srcdir"/tools; do
3881 if test -f "$ac_dir/install-sh"; then
3882 ac_aux_dir=$ac_dir
3883 ac_install_sh="$ac_aux_dir/install-sh -c"
3884 break
3885 elif test -f "$ac_dir/install.sh"; then
3886 ac_aux_dir=$ac_dir
3887 ac_install_sh="$ac_aux_dir/install.sh -c"
3888 break
3889 elif test -f "$ac_dir/shtool"; then
3890 ac_aux_dir=$ac_dir
3891 ac_install_sh="$ac_aux_dir/shtool install -c"
3892 break
3894 done
3895 if test -z "$ac_aux_dir"; then
3896 as_fn_error $? "cannot find install-sh, install.sh, or shtool in tools \"$srcdir\"/tools" "$LINENO" 5
3899 # These three variables are undocumented and unsupported,
3900 # and are intended to be withdrawn in a future Autoconf release.
3901 # They can cause serious problems if a builder's source tree is in a directory
3902 # whose full name contains unusual characters.
3903 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
3904 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
3905 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
3909 libwine_version="1.0"
3913 # Check whether --enable-win16 was given.
3914 if test "${enable_win16+set}" = set; then :
3915 enableval=$enable_win16;
3918 # Check whether --enable-win64 was given.
3919 if test "${enable_win64+set}" = set; then :
3920 enableval=$enable_win64;
3923 # Check whether --enable-tests was given.
3924 if test "${enable_tests+set}" = set; then :
3925 enableval=$enable_tests;
3928 # Check whether --enable-build-id was given.
3929 if test "${enable_build_id+set}" = set; then :
3930 enableval=$enable_build_id;
3933 # Check whether --enable-maintainer-mode was given.
3934 if test "${enable_maintainer_mode+set}" = set; then :
3935 enableval=$enable_maintainer_mode;
3938 # Check whether --enable-silent-rules was given.
3939 if test "${enable_silent_rules+set}" = set; then :
3940 enableval=$enable_silent_rules;
3943 # Check whether --enable-werror was given.
3944 if test "${enable_werror+set}" = set; then :
3945 enableval=$enable_werror;
3950 # Check whether --with-alsa was given.
3951 if test "${with_alsa+set}" = set; then :
3952 withval=$with_alsa;
3956 # Check whether --with-capi was given.
3957 if test "${with_capi+set}" = set; then :
3958 withval=$with_capi;
3962 # Check whether --with-cms was given.
3963 if test "${with_cms+set}" = set; then :
3964 withval=$with_cms;
3968 # Check whether --with-coreaudio was given.
3969 if test "${with_coreaudio+set}" = set; then :
3970 withval=$with_coreaudio; if test "x$withval" = "xno"; then ac_cv_header_CoreAudio_CoreAudio_h=no; fi
3974 # Check whether --with-cups was given.
3975 if test "${with_cups+set}" = set; then :
3976 withval=$with_cups;
3980 # Check whether --with-dbus was given.
3981 if test "${with_dbus+set}" = set; then :
3982 withval=$with_dbus;
3986 # Check whether --with-faudio was given.
3987 if test "${with_faudio+set}" = set; then :
3988 withval=$with_faudio;
3992 # Check whether --with-float-abi was given.
3993 if test "${with_float_abi+set}" = set; then :
3994 withval=$with_float_abi;
3998 # Check whether --with-fontconfig was given.
3999 if test "${with_fontconfig+set}" = set; then :
4000 withval=$with_fontconfig;
4004 # Check whether --with-freetype was given.
4005 if test "${with_freetype+set}" = set; then :
4006 withval=$with_freetype;
4010 # Check whether --with-gettext was given.
4011 if test "${with_gettext+set}" = set; then :
4012 withval=$with_gettext;
4016 # Check whether --with-gettextpo was given.
4017 if test "${with_gettextpo+set}" = set; then :
4018 withval=$with_gettextpo; if test "x$withval" = "xno"; then ac_cv_header_gettext_po_h=no; fi
4022 # Check whether --with-gphoto was given.
4023 if test "${with_gphoto+set}" = set; then :
4024 withval=$with_gphoto;
4028 # Check whether --with-gnutls was given.
4029 if test "${with_gnutls+set}" = set; then :
4030 withval=$with_gnutls;
4034 # Check whether --with-gsm was given.
4035 if test "${with_gsm+set}" = set; then :
4036 withval=$with_gsm; if test "x$withval" = "xno"; then ac_cv_header_gsm_h=no; ac_cv_header_gsm_gsm_h=no; fi
4040 # Check whether --with-gssapi was given.
4041 if test "${with_gssapi+set}" = set; then :
4042 withval=$with_gssapi;
4046 # Check whether --with-gstreamer was given.
4047 if test "${with_gstreamer+set}" = set; then :
4048 withval=$with_gstreamer;
4052 # Check whether --with-hal was given.
4053 if test "${with_hal+set}" = set; then :
4054 withval=$with_hal;
4058 # Check whether --with-inotify was given.
4059 if test "${with_inotify+set}" = set; then :
4060 withval=$with_inotify;
4064 # Check whether --with-jpeg was given.
4065 if test "${with_jpeg+set}" = set; then :
4066 withval=$with_jpeg;
4070 # Check whether --with-jxrlib was given.
4071 if test "${with_jxrlib+set}" = set; then :
4072 withval=$with_jxrlib;
4076 # Check whether --with-krb5 was given.
4077 if test "${with_krb5+set}" = set; then :
4078 withval=$with_krb5;
4082 # Check whether --with-ldap was given.
4083 if test "${with_ldap+set}" = set; then :
4084 withval=$with_ldap; if test "x$withval" = "xno"; then ac_cv_header_ldap_h=no; ac_cv_header_lber_h=no; fi
4088 # Check whether --with-mingw was given.
4089 if test "${with_mingw+set}" = set; then :
4090 withval=$with_mingw;
4094 # Check whether --with-mpg123 was given.
4095 if test "${with_mpg123+set}" = set; then :
4096 withval=$with_mpg123;
4100 # Check whether --with-netapi was given.
4101 if test "${with_netapi+set}" = set; then :
4102 withval=$with_netapi;
4106 # Check whether --with-openal was given.
4107 if test "${with_openal+set}" = set; then :
4108 withval=$with_openal; if test "x$withval" = "xno"; then ac_cv_header_AL_al_h=no; ac_cv_header_OpenAL_al_h=no; fi
4112 # Check whether --with-opencl was given.
4113 if test "${with_opencl+set}" = set; then :
4114 withval=$with_opencl; if test "x$withval" = "xno"; then ac_cv_header_CL_cl_h=no; ac_cv_header_OpenCL_opencl_h=no; fi
4118 # Check whether --with-opengl was given.
4119 if test "${with_opengl+set}" = set; then :
4120 withval=$with_opengl;
4124 # Check whether --with-osmesa was given.
4125 if test "${with_osmesa+set}" = set; then :
4126 withval=$with_osmesa;
4130 # Check whether --with-oss was given.
4131 if test "${with_oss+set}" = set; then :
4132 withval=$with_oss;
4136 # Check whether --with-pcap was given.
4137 if test "${with_pcap+set}" = set; then :
4138 withval=$with_pcap; if test "x$withval" = "xno"; then ac_cv_header_pcap_pcap_h=no; fi
4142 # Check whether --with-png was given.
4143 if test "${with_png+set}" = set; then :
4144 withval=$with_png;
4148 # Check whether --with-pthread was given.
4149 if test "${with_pthread+set}" = set; then :
4150 withval=$with_pthread; if test "x$withval" = "xno"; then ac_cv_header_pthread_h=no; fi
4154 # Check whether --with-pulse was given.
4155 if test "${with_pulse+set}" = set; then :
4156 withval=$with_pulse;
4160 # Check whether --with-quicktime was given.
4161 if test "${with_quicktime+set}" = set; then :
4162 withval=$with_quicktime;
4166 # Check whether --with-sane was given.
4167 if test "${with_sane+set}" = set; then :
4168 withval=$with_sane;
4172 # Check whether --with-sdl was given.
4173 if test "${with_sdl+set}" = set; then :
4174 withval=$with_sdl;
4178 # Check whether --with-tiff was given.
4179 if test "${with_tiff+set}" = set; then :
4180 withval=$with_tiff;
4184 # Check whether --with-udev was given.
4185 if test "${with_udev+set}" = set; then :
4186 withval=$with_udev;
4190 # Check whether --with-unwind was given.
4191 if test "${with_unwind+set}" = set; then :
4192 withval=$with_unwind;
4196 # Check whether --with-usb was given.
4197 if test "${with_usb+set}" = set; then :
4198 withval=$with_usb;
4202 # Check whether --with-v4l2 was given.
4203 if test "${with_v4l2+set}" = set; then :
4204 withval=$with_v4l2;
4208 # Check whether --with-vkd3d was given.
4209 if test "${with_vkd3d+set}" = set; then :
4210 withval=$with_vkd3d;
4214 # Check whether --with-vulkan was given.
4215 if test "${with_vulkan+set}" = set; then :
4216 withval=$with_vulkan;
4220 # Check whether --with-xcomposite was given.
4221 if test "${with_xcomposite+set}" = set; then :
4222 withval=$with_xcomposite; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xcomposite_h=no; fi
4226 # Check whether --with-xcursor was given.
4227 if test "${with_xcursor+set}" = set; then :
4228 withval=$with_xcursor; if test "x$withval" = "xno"; then ac_cv_header_X11_Xcursor_Xcursor_h=no; fi
4232 # Check whether --with-xfixes was given.
4233 if test "${with_xfixes+set}" = set; then :
4234 withval=$with_xfixes; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xfixes_h=no; fi
4238 # Check whether --with-xinerama was given.
4239 if test "${with_xinerama+set}" = set; then :
4240 withval=$with_xinerama; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xinerama_h=no; fi
4244 # Check whether --with-xinput was given.
4245 if test "${with_xinput+set}" = set; then :
4246 withval=$with_xinput; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput_h=no; fi
4250 # Check whether --with-xinput2 was given.
4251 if test "${with_xinput2+set}" = set; then :
4252 withval=$with_xinput2; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput2_h=no; fi
4256 # Check whether --with-xml was given.
4257 if test "${with_xml+set}" = set; then :
4258 withval=$with_xml;
4262 # Check whether --with-xrandr was given.
4263 if test "${with_xrandr+set}" = set; then :
4264 withval=$with_xrandr; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrandr_h=no; fi
4268 # Check whether --with-xrender was given.
4269 if test "${with_xrender+set}" = set; then :
4270 withval=$with_xrender; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrender_h=no; fi
4274 # Check whether --with-xshape was given.
4275 if test "${with_xshape+set}" = set; then :
4276 withval=$with_xshape; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_shape_h=no; fi
4280 # Check whether --with-xshm was given.
4281 if test "${with_xshm+set}" = set; then :
4282 withval=$with_xshm; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XShm_h=no; fi
4286 # Check whether --with-xslt was given.
4287 if test "${with_xslt+set}" = set; then :
4288 withval=$with_xslt;
4292 # Check whether --with-xxf86vm was given.
4293 if test "${with_xxf86vm+set}" = set; then :
4294 withval=$with_xxf86vm; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_xf86vmode_h=no; ac_cv_header_X11_extensions_xf86vmproto_h=no; fi
4299 # Check whether --with-wine-tools was given.
4300 if test "${with_wine_tools+set}" = set; then :
4301 withval=$with_wine_tools;
4305 # Check whether --with-wine64 was given.
4306 if test "${with_wine64+set}" = set; then :
4307 withval=$with_wine64;
4311 # Make sure we can run config.sub.
4312 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
4313 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
4315 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
4316 $as_echo_n "checking build system type... " >&6; }
4317 if ${ac_cv_build+:} false; then :
4318 $as_echo_n "(cached) " >&6
4319 else
4320 ac_build_alias=$build_alias
4321 test "x$ac_build_alias" = x &&
4322 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
4323 test "x$ac_build_alias" = x &&
4324 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
4325 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
4326 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
4329 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
4330 $as_echo "$ac_cv_build" >&6; }
4331 case $ac_cv_build in
4332 *-*-*) ;;
4333 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
4334 esac
4335 build=$ac_cv_build
4336 ac_save_IFS=$IFS; IFS='-'
4337 set x $ac_cv_build
4338 shift
4339 build_cpu=$1
4340 build_vendor=$2
4341 shift; shift
4342 # Remember, the first character of IFS is used to create $*,
4343 # except with old shells:
4344 build_os=$*
4345 IFS=$ac_save_IFS
4346 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
4349 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
4350 $as_echo_n "checking host system type... " >&6; }
4351 if ${ac_cv_host+:} false; then :
4352 $as_echo_n "(cached) " >&6
4353 else
4354 if test "x$host_alias" = x; then
4355 ac_cv_host=$ac_cv_build
4356 else
4357 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
4358 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
4362 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
4363 $as_echo "$ac_cv_host" >&6; }
4364 case $ac_cv_host in
4365 *-*-*) ;;
4366 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
4367 esac
4368 host=$ac_cv_host
4369 ac_save_IFS=$IFS; IFS='-'
4370 set x $ac_cv_host
4371 shift
4372 host_cpu=$1
4373 host_vendor=$2
4374 shift; shift
4375 # Remember, the first character of IFS is used to create $*,
4376 # except with old shells:
4377 host_os=$*
4378 IFS=$ac_save_IFS
4379 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
4384 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
4385 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
4386 set x ${MAKE-make}
4387 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
4388 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
4389 $as_echo_n "(cached) " >&6
4390 else
4391 cat >conftest.make <<\_ACEOF
4392 SHELL = /bin/sh
4393 all:
4394 @echo '@@@%%%=$(MAKE)=@@@%%%'
4395 _ACEOF
4396 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
4397 case `${MAKE-make} -f conftest.make 2>/dev/null` in
4398 *@@@%%%=?*=@@@%%%*)
4399 eval ac_cv_prog_make_${ac_make}_set=yes;;
4401 eval ac_cv_prog_make_${ac_make}_set=no;;
4402 esac
4403 rm -f conftest.make
4405 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
4406 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4407 $as_echo "yes" >&6; }
4408 SET_MAKE=
4409 else
4410 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4411 $as_echo "no" >&6; }
4412 SET_MAKE="MAKE=${MAKE-make}"
4415 ac_ext=c
4416 ac_cpp='$CPP $CPPFLAGS'
4417 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4418 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4419 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4420 if test -n "$ac_tool_prefix"; then
4421 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
4422 set dummy ${ac_tool_prefix}gcc; ac_word=$2
4423 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4424 $as_echo_n "checking for $ac_word... " >&6; }
4425 if ${ac_cv_prog_CC+:} false; then :
4426 $as_echo_n "(cached) " >&6
4427 else
4428 if test -n "$CC"; then
4429 ac_cv_prog_CC="$CC" # Let the user override the test.
4430 else
4431 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4432 for as_dir in $PATH
4434 IFS=$as_save_IFS
4435 test -z "$as_dir" && as_dir=.
4436 for ac_exec_ext in '' $ac_executable_extensions; do
4437 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4438 ac_cv_prog_CC="${ac_tool_prefix}gcc"
4439 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4440 break 2
4442 done
4443 done
4444 IFS=$as_save_IFS
4448 CC=$ac_cv_prog_CC
4449 if test -n "$CC"; then
4450 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4451 $as_echo "$CC" >&6; }
4452 else
4453 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4454 $as_echo "no" >&6; }
4459 if test -z "$ac_cv_prog_CC"; then
4460 ac_ct_CC=$CC
4461 # Extract the first word of "gcc", so it can be a program name with args.
4462 set dummy gcc; ac_word=$2
4463 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4464 $as_echo_n "checking for $ac_word... " >&6; }
4465 if ${ac_cv_prog_ac_ct_CC+:} false; then :
4466 $as_echo_n "(cached) " >&6
4467 else
4468 if test -n "$ac_ct_CC"; then
4469 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4470 else
4471 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4472 for as_dir in $PATH
4474 IFS=$as_save_IFS
4475 test -z "$as_dir" && as_dir=.
4476 for ac_exec_ext in '' $ac_executable_extensions; do
4477 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4478 ac_cv_prog_ac_ct_CC="gcc"
4479 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4480 break 2
4482 done
4483 done
4484 IFS=$as_save_IFS
4488 ac_ct_CC=$ac_cv_prog_ac_ct_CC
4489 if test -n "$ac_ct_CC"; then
4490 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4491 $as_echo "$ac_ct_CC" >&6; }
4492 else
4493 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4494 $as_echo "no" >&6; }
4497 if test "x$ac_ct_CC" = x; then
4498 CC=""
4499 else
4500 case $cross_compiling:$ac_tool_warned in
4501 yes:)
4502 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4503 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4504 ac_tool_warned=yes ;;
4505 esac
4506 CC=$ac_ct_CC
4508 else
4509 CC="$ac_cv_prog_CC"
4512 if test -z "$CC"; then
4513 if test -n "$ac_tool_prefix"; then
4514 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
4515 set dummy ${ac_tool_prefix}cc; ac_word=$2
4516 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4517 $as_echo_n "checking for $ac_word... " >&6; }
4518 if ${ac_cv_prog_CC+:} false; then :
4519 $as_echo_n "(cached) " >&6
4520 else
4521 if test -n "$CC"; then
4522 ac_cv_prog_CC="$CC" # Let the user override the test.
4523 else
4524 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4525 for as_dir in $PATH
4527 IFS=$as_save_IFS
4528 test -z "$as_dir" && as_dir=.
4529 for ac_exec_ext in '' $ac_executable_extensions; do
4530 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4531 ac_cv_prog_CC="${ac_tool_prefix}cc"
4532 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4533 break 2
4535 done
4536 done
4537 IFS=$as_save_IFS
4541 CC=$ac_cv_prog_CC
4542 if test -n "$CC"; then
4543 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4544 $as_echo "$CC" >&6; }
4545 else
4546 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4547 $as_echo "no" >&6; }
4553 if test -z "$CC"; then
4554 # Extract the first word of "cc", so it can be a program name with args.
4555 set dummy cc; ac_word=$2
4556 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4557 $as_echo_n "checking for $ac_word... " >&6; }
4558 if ${ac_cv_prog_CC+:} false; then :
4559 $as_echo_n "(cached) " >&6
4560 else
4561 if test -n "$CC"; then
4562 ac_cv_prog_CC="$CC" # Let the user override the test.
4563 else
4564 ac_prog_rejected=no
4565 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4566 for as_dir in $PATH
4568 IFS=$as_save_IFS
4569 test -z "$as_dir" && as_dir=.
4570 for ac_exec_ext in '' $ac_executable_extensions; do
4571 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4572 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
4573 ac_prog_rejected=yes
4574 continue
4576 ac_cv_prog_CC="cc"
4577 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4578 break 2
4580 done
4581 done
4582 IFS=$as_save_IFS
4584 if test $ac_prog_rejected = yes; then
4585 # We found a bogon in the path, so make sure we never use it.
4586 set dummy $ac_cv_prog_CC
4587 shift
4588 if test $# != 0; then
4589 # We chose a different compiler from the bogus one.
4590 # However, it has the same basename, so the bogon will be chosen
4591 # first if we set CC to just the basename; use the full file name.
4592 shift
4593 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
4598 CC=$ac_cv_prog_CC
4599 if test -n "$CC"; then
4600 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4601 $as_echo "$CC" >&6; }
4602 else
4603 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4604 $as_echo "no" >&6; }
4609 if test -z "$CC"; then
4610 if test -n "$ac_tool_prefix"; then
4611 for ac_prog in cl.exe
4613 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4614 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4615 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4616 $as_echo_n "checking for $ac_word... " >&6; }
4617 if ${ac_cv_prog_CC+:} false; then :
4618 $as_echo_n "(cached) " >&6
4619 else
4620 if test -n "$CC"; then
4621 ac_cv_prog_CC="$CC" # Let the user override the test.
4622 else
4623 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4624 for as_dir in $PATH
4626 IFS=$as_save_IFS
4627 test -z "$as_dir" && as_dir=.
4628 for ac_exec_ext in '' $ac_executable_extensions; do
4629 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4630 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
4631 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4632 break 2
4634 done
4635 done
4636 IFS=$as_save_IFS
4640 CC=$ac_cv_prog_CC
4641 if test -n "$CC"; then
4642 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4643 $as_echo "$CC" >&6; }
4644 else
4645 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4646 $as_echo "no" >&6; }
4650 test -n "$CC" && break
4651 done
4653 if test -z "$CC"; then
4654 ac_ct_CC=$CC
4655 for ac_prog in cl.exe
4657 # Extract the first word of "$ac_prog", so it can be a program name with args.
4658 set dummy $ac_prog; ac_word=$2
4659 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4660 $as_echo_n "checking for $ac_word... " >&6; }
4661 if ${ac_cv_prog_ac_ct_CC+:} false; then :
4662 $as_echo_n "(cached) " >&6
4663 else
4664 if test -n "$ac_ct_CC"; then
4665 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4666 else
4667 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4668 for as_dir in $PATH
4670 IFS=$as_save_IFS
4671 test -z "$as_dir" && as_dir=.
4672 for ac_exec_ext in '' $ac_executable_extensions; do
4673 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4674 ac_cv_prog_ac_ct_CC="$ac_prog"
4675 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4676 break 2
4678 done
4679 done
4680 IFS=$as_save_IFS
4684 ac_ct_CC=$ac_cv_prog_ac_ct_CC
4685 if test -n "$ac_ct_CC"; then
4686 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4687 $as_echo "$ac_ct_CC" >&6; }
4688 else
4689 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4690 $as_echo "no" >&6; }
4694 test -n "$ac_ct_CC" && break
4695 done
4697 if test "x$ac_ct_CC" = x; then
4698 CC=""
4699 else
4700 case $cross_compiling:$ac_tool_warned in
4701 yes:)
4702 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4703 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4704 ac_tool_warned=yes ;;
4705 esac
4706 CC=$ac_ct_CC
4713 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4714 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4715 as_fn_error $? "no acceptable C compiler found in \$PATH
4716 See \`config.log' for more details" "$LINENO" 5; }
4718 # Provide some information about the compiler.
4719 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
4720 set X $ac_compile
4721 ac_compiler=$2
4722 for ac_option in --version -v -V -qversion; do
4723 { { ac_try="$ac_compiler $ac_option >&5"
4724 case "(($ac_try" in
4725 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4726 *) ac_try_echo=$ac_try;;
4727 esac
4728 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4729 $as_echo "$ac_try_echo"; } >&5
4730 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4731 ac_status=$?
4732 if test -s conftest.err; then
4733 sed '10a\
4734 ... rest of stderr output deleted ...
4735 10q' conftest.err >conftest.er1
4736 cat conftest.er1 >&5
4738 rm -f conftest.er1 conftest.err
4739 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4740 test $ac_status = 0; }
4741 done
4743 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4744 /* end confdefs.h. */
4747 main ()
4751 return 0;
4753 _ACEOF
4754 ac_clean_files_save=$ac_clean_files
4755 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
4756 # Try to create an executable without -o first, disregard a.out.
4757 # It will help us diagnose broken compilers, and finding out an intuition
4758 # of exeext.
4759 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
4760 $as_echo_n "checking whether the C compiler works... " >&6; }
4761 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
4763 # The possible output files:
4764 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
4766 ac_rmfiles=
4767 for ac_file in $ac_files
4769 case $ac_file in
4770 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4771 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
4772 esac
4773 done
4774 rm -f $ac_rmfiles
4776 if { { ac_try="$ac_link_default"
4777 case "(($ac_try" in
4778 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4779 *) ac_try_echo=$ac_try;;
4780 esac
4781 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4782 $as_echo "$ac_try_echo"; } >&5
4783 (eval "$ac_link_default") 2>&5
4784 ac_status=$?
4785 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4786 test $ac_status = 0; }; then :
4787 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
4788 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
4789 # in a Makefile. We should not override ac_cv_exeext if it was cached,
4790 # so that the user can short-circuit this test for compilers unknown to
4791 # Autoconf.
4792 for ac_file in $ac_files ''
4794 test -f "$ac_file" || continue
4795 case $ac_file in
4796 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
4798 [ab].out )
4799 # We found the default executable, but exeext='' is most
4800 # certainly right.
4801 break;;
4802 *.* )
4803 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
4804 then :; else
4805 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4807 # We set ac_cv_exeext here because the later test for it is not
4808 # safe: cross compilers may not add the suffix if given an `-o'
4809 # argument, so we may need to know it at that point already.
4810 # Even if this section looks crufty: it has the advantage of
4811 # actually working.
4812 break;;
4814 break;;
4815 esac
4816 done
4817 test "$ac_cv_exeext" = no && ac_cv_exeext=
4819 else
4820 ac_file=''
4822 if test -z "$ac_file"; then :
4823 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4824 $as_echo "no" >&6; }
4825 $as_echo "$as_me: failed program was:" >&5
4826 sed 's/^/| /' conftest.$ac_ext >&5
4828 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4829 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4830 as_fn_error 77 "C compiler cannot create executables
4831 See \`config.log' for more details" "$LINENO" 5; }
4832 else
4833 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4834 $as_echo "yes" >&6; }
4836 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
4837 $as_echo_n "checking for C compiler default output file name... " >&6; }
4838 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
4839 $as_echo "$ac_file" >&6; }
4840 ac_exeext=$ac_cv_exeext
4842 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
4843 ac_clean_files=$ac_clean_files_save
4844 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
4845 $as_echo_n "checking for suffix of executables... " >&6; }
4846 if { { ac_try="$ac_link"
4847 case "(($ac_try" in
4848 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4849 *) ac_try_echo=$ac_try;;
4850 esac
4851 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4852 $as_echo "$ac_try_echo"; } >&5
4853 (eval "$ac_link") 2>&5
4854 ac_status=$?
4855 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4856 test $ac_status = 0; }; then :
4857 # If both `conftest.exe' and `conftest' are `present' (well, observable)
4858 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
4859 # work properly (i.e., refer to `conftest.exe'), while it won't with
4860 # `rm'.
4861 for ac_file in conftest.exe conftest conftest.*; do
4862 test -f "$ac_file" || continue
4863 case $ac_file in
4864 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4865 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4866 break;;
4867 * ) break;;
4868 esac
4869 done
4870 else
4871 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4872 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4873 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
4874 See \`config.log' for more details" "$LINENO" 5; }
4876 rm -f conftest conftest$ac_cv_exeext
4877 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
4878 $as_echo "$ac_cv_exeext" >&6; }
4880 rm -f conftest.$ac_ext
4881 EXEEXT=$ac_cv_exeext
4882 ac_exeext=$EXEEXT
4883 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4884 /* end confdefs.h. */
4885 #include <stdio.h>
4887 main ()
4889 FILE *f = fopen ("conftest.out", "w");
4890 return ferror (f) || fclose (f) != 0;
4893 return 0;
4895 _ACEOF
4896 ac_clean_files="$ac_clean_files conftest.out"
4897 # Check that the compiler produces executables we can run. If not, either
4898 # the compiler is broken, or we cross compile.
4899 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
4900 $as_echo_n "checking whether we are cross compiling... " >&6; }
4901 if test "$cross_compiling" != yes; then
4902 { { ac_try="$ac_link"
4903 case "(($ac_try" in
4904 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4905 *) ac_try_echo=$ac_try;;
4906 esac
4907 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4908 $as_echo "$ac_try_echo"; } >&5
4909 (eval "$ac_link") 2>&5
4910 ac_status=$?
4911 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4912 test $ac_status = 0; }
4913 if { ac_try='./conftest$ac_cv_exeext'
4914 { { case "(($ac_try" in
4915 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4916 *) ac_try_echo=$ac_try;;
4917 esac
4918 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4919 $as_echo "$ac_try_echo"; } >&5
4920 (eval "$ac_try") 2>&5
4921 ac_status=$?
4922 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4923 test $ac_status = 0; }; }; then
4924 cross_compiling=no
4925 else
4926 if test "$cross_compiling" = maybe; then
4927 cross_compiling=yes
4928 else
4929 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4930 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4931 as_fn_error $? "cannot run C compiled programs.
4932 If you meant to cross compile, use \`--host'.
4933 See \`config.log' for more details" "$LINENO" 5; }
4937 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
4938 $as_echo "$cross_compiling" >&6; }
4940 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
4941 ac_clean_files=$ac_clean_files_save
4942 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
4943 $as_echo_n "checking for suffix of object files... " >&6; }
4944 if ${ac_cv_objext+:} false; then :
4945 $as_echo_n "(cached) " >&6
4946 else
4947 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4948 /* end confdefs.h. */
4951 main ()
4955 return 0;
4957 _ACEOF
4958 rm -f conftest.o conftest.obj
4959 if { { ac_try="$ac_compile"
4960 case "(($ac_try" in
4961 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4962 *) ac_try_echo=$ac_try;;
4963 esac
4964 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4965 $as_echo "$ac_try_echo"; } >&5
4966 (eval "$ac_compile") 2>&5
4967 ac_status=$?
4968 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4969 test $ac_status = 0; }; then :
4970 for ac_file in conftest.o conftest.obj conftest.*; do
4971 test -f "$ac_file" || continue;
4972 case $ac_file in
4973 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
4974 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
4975 break;;
4976 esac
4977 done
4978 else
4979 $as_echo "$as_me: failed program was:" >&5
4980 sed 's/^/| /' conftest.$ac_ext >&5
4982 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4983 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4984 as_fn_error $? "cannot compute suffix of object files: cannot compile
4985 See \`config.log' for more details" "$LINENO" 5; }
4987 rm -f conftest.$ac_cv_objext conftest.$ac_ext
4989 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
4990 $as_echo "$ac_cv_objext" >&6; }
4991 OBJEXT=$ac_cv_objext
4992 ac_objext=$OBJEXT
4993 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4994 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4995 if ${ac_cv_c_compiler_gnu+:} false; then :
4996 $as_echo_n "(cached) " >&6
4997 else
4998 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4999 /* end confdefs.h. */
5002 main ()
5004 #ifndef __GNUC__
5005 choke me
5006 #endif
5009 return 0;
5011 _ACEOF
5012 if ac_fn_c_try_compile "$LINENO"; then :
5013 ac_compiler_gnu=yes
5014 else
5015 ac_compiler_gnu=no
5017 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5018 ac_cv_c_compiler_gnu=$ac_compiler_gnu
5021 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
5022 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
5023 if test $ac_compiler_gnu = yes; then
5024 GCC=yes
5025 else
5026 GCC=
5028 ac_test_CFLAGS=${CFLAGS+set}
5029 ac_save_CFLAGS=$CFLAGS
5030 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
5031 $as_echo_n "checking whether $CC accepts -g... " >&6; }
5032 if ${ac_cv_prog_cc_g+:} false; then :
5033 $as_echo_n "(cached) " >&6
5034 else
5035 ac_save_c_werror_flag=$ac_c_werror_flag
5036 ac_c_werror_flag=yes
5037 ac_cv_prog_cc_g=no
5038 CFLAGS="-g"
5039 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5040 /* end confdefs.h. */
5043 main ()
5047 return 0;
5049 _ACEOF
5050 if ac_fn_c_try_compile "$LINENO"; then :
5051 ac_cv_prog_cc_g=yes
5052 else
5053 CFLAGS=""
5054 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5055 /* end confdefs.h. */
5058 main ()
5062 return 0;
5064 _ACEOF
5065 if ac_fn_c_try_compile "$LINENO"; then :
5067 else
5068 ac_c_werror_flag=$ac_save_c_werror_flag
5069 CFLAGS="-g"
5070 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5071 /* end confdefs.h. */
5074 main ()
5078 return 0;
5080 _ACEOF
5081 if ac_fn_c_try_compile "$LINENO"; then :
5082 ac_cv_prog_cc_g=yes
5084 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5086 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5088 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5089 ac_c_werror_flag=$ac_save_c_werror_flag
5091 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
5092 $as_echo "$ac_cv_prog_cc_g" >&6; }
5093 if test "$ac_test_CFLAGS" = set; then
5094 CFLAGS=$ac_save_CFLAGS
5095 elif test $ac_cv_prog_cc_g = yes; then
5096 if test "$GCC" = yes; then
5097 CFLAGS="-g -O2"
5098 else
5099 CFLAGS="-g"
5101 else
5102 if test "$GCC" = yes; then
5103 CFLAGS="-O2"
5104 else
5105 CFLAGS=
5108 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
5109 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
5110 if ${ac_cv_prog_cc_c89+:} false; then :
5111 $as_echo_n "(cached) " >&6
5112 else
5113 ac_cv_prog_cc_c89=no
5114 ac_save_CC=$CC
5115 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5116 /* end confdefs.h. */
5117 #include <stdarg.h>
5118 #include <stdio.h>
5119 struct stat;
5120 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
5121 struct buf { int x; };
5122 FILE * (*rcsopen) (struct buf *, struct stat *, int);
5123 static char *e (p, i)
5124 char **p;
5125 int i;
5127 return p[i];
5129 static char *f (char * (*g) (char **, int), char **p, ...)
5131 char *s;
5132 va_list v;
5133 va_start (v,p);
5134 s = g (p, va_arg (v,int));
5135 va_end (v);
5136 return s;
5139 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
5140 function prototypes and stuff, but not '\xHH' hex character constants.
5141 These don't provoke an error unfortunately, instead are silently treated
5142 as 'x'. The following induces an error, until -std is added to get
5143 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
5144 array size at least. It's necessary to write '\x00'==0 to get something
5145 that's true only with -std. */
5146 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
5148 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
5149 inside strings and character constants. */
5150 #define FOO(x) 'x'
5151 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
5153 int test (int i, double x);
5154 struct s1 {int (*f) (int a);};
5155 struct s2 {int (*f) (double a);};
5156 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
5157 int argc;
5158 char **argv;
5160 main ()
5162 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
5164 return 0;
5166 _ACEOF
5167 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
5168 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
5170 CC="$ac_save_CC $ac_arg"
5171 if ac_fn_c_try_compile "$LINENO"; then :
5172 ac_cv_prog_cc_c89=$ac_arg
5174 rm -f core conftest.err conftest.$ac_objext
5175 test "x$ac_cv_prog_cc_c89" != "xno" && break
5176 done
5177 rm -f conftest.$ac_ext
5178 CC=$ac_save_CC
5181 # AC_CACHE_VAL
5182 case "x$ac_cv_prog_cc_c89" in
5184 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
5185 $as_echo "none needed" >&6; } ;;
5186 xno)
5187 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
5188 $as_echo "unsupported" >&6; } ;;
5190 CC="$CC $ac_cv_prog_cc_c89"
5191 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
5192 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
5193 esac
5194 if test "x$ac_cv_prog_cc_c89" != xno; then :
5198 ac_ext=c
5199 ac_cpp='$CPP $CPPFLAGS'
5200 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5201 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5202 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5204 ac_ext=cpp
5205 ac_cpp='$CXXCPP $CPPFLAGS'
5206 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5207 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5208 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
5209 if test -z "$CXX"; then
5210 if test -n "$CCC"; then
5211 CXX=$CCC
5212 else
5213 if test -n "$ac_tool_prefix"; then
5214 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
5216 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5217 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5218 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5219 $as_echo_n "checking for $ac_word... " >&6; }
5220 if ${ac_cv_prog_CXX+:} false; then :
5221 $as_echo_n "(cached) " >&6
5222 else
5223 if test -n "$CXX"; then
5224 ac_cv_prog_CXX="$CXX" # Let the user override the test.
5225 else
5226 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5227 for as_dir in $PATH
5229 IFS=$as_save_IFS
5230 test -z "$as_dir" && as_dir=.
5231 for ac_exec_ext in '' $ac_executable_extensions; do
5232 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5233 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
5234 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5235 break 2
5237 done
5238 done
5239 IFS=$as_save_IFS
5243 CXX=$ac_cv_prog_CXX
5244 if test -n "$CXX"; then
5245 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
5246 $as_echo "$CXX" >&6; }
5247 else
5248 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5249 $as_echo "no" >&6; }
5253 test -n "$CXX" && break
5254 done
5256 if test -z "$CXX"; then
5257 ac_ct_CXX=$CXX
5258 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
5260 # Extract the first word of "$ac_prog", so it can be a program name with args.
5261 set dummy $ac_prog; ac_word=$2
5262 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5263 $as_echo_n "checking for $ac_word... " >&6; }
5264 if ${ac_cv_prog_ac_ct_CXX+:} false; then :
5265 $as_echo_n "(cached) " >&6
5266 else
5267 if test -n "$ac_ct_CXX"; then
5268 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
5269 else
5270 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5271 for as_dir in $PATH
5273 IFS=$as_save_IFS
5274 test -z "$as_dir" && as_dir=.
5275 for ac_exec_ext in '' $ac_executable_extensions; do
5276 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5277 ac_cv_prog_ac_ct_CXX="$ac_prog"
5278 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5279 break 2
5281 done
5282 done
5283 IFS=$as_save_IFS
5287 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
5288 if test -n "$ac_ct_CXX"; then
5289 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
5290 $as_echo "$ac_ct_CXX" >&6; }
5291 else
5292 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5293 $as_echo "no" >&6; }
5297 test -n "$ac_ct_CXX" && break
5298 done
5300 if test "x$ac_ct_CXX" = x; then
5301 CXX="g++"
5302 else
5303 case $cross_compiling:$ac_tool_warned in
5304 yes:)
5305 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5306 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5307 ac_tool_warned=yes ;;
5308 esac
5309 CXX=$ac_ct_CXX
5315 # Provide some information about the compiler.
5316 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
5317 set X $ac_compile
5318 ac_compiler=$2
5319 for ac_option in --version -v -V -qversion; do
5320 { { ac_try="$ac_compiler $ac_option >&5"
5321 case "(($ac_try" in
5322 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5323 *) ac_try_echo=$ac_try;;
5324 esac
5325 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5326 $as_echo "$ac_try_echo"; } >&5
5327 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
5328 ac_status=$?
5329 if test -s conftest.err; then
5330 sed '10a\
5331 ... rest of stderr output deleted ...
5332 10q' conftest.err >conftest.er1
5333 cat conftest.er1 >&5
5335 rm -f conftest.er1 conftest.err
5336 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5337 test $ac_status = 0; }
5338 done
5340 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
5341 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
5342 if ${ac_cv_cxx_compiler_gnu+:} false; then :
5343 $as_echo_n "(cached) " >&6
5344 else
5345 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5346 /* end confdefs.h. */
5349 main ()
5351 #ifndef __GNUC__
5352 choke me
5353 #endif
5356 return 0;
5358 _ACEOF
5359 if ac_fn_cxx_try_compile "$LINENO"; then :
5360 ac_compiler_gnu=yes
5361 else
5362 ac_compiler_gnu=no
5364 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5365 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
5368 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
5369 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
5370 if test $ac_compiler_gnu = yes; then
5371 GXX=yes
5372 else
5373 GXX=
5375 ac_test_CXXFLAGS=${CXXFLAGS+set}
5376 ac_save_CXXFLAGS=$CXXFLAGS
5377 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
5378 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
5379 if ${ac_cv_prog_cxx_g+:} false; then :
5380 $as_echo_n "(cached) " >&6
5381 else
5382 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
5383 ac_cxx_werror_flag=yes
5384 ac_cv_prog_cxx_g=no
5385 CXXFLAGS="-g"
5386 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5387 /* end confdefs.h. */
5390 main ()
5394 return 0;
5396 _ACEOF
5397 if ac_fn_cxx_try_compile "$LINENO"; then :
5398 ac_cv_prog_cxx_g=yes
5399 else
5400 CXXFLAGS=""
5401 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5402 /* end confdefs.h. */
5405 main ()
5409 return 0;
5411 _ACEOF
5412 if ac_fn_cxx_try_compile "$LINENO"; then :
5414 else
5415 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
5416 CXXFLAGS="-g"
5417 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5418 /* end confdefs.h. */
5421 main ()
5425 return 0;
5427 _ACEOF
5428 if ac_fn_cxx_try_compile "$LINENO"; then :
5429 ac_cv_prog_cxx_g=yes
5431 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5433 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5435 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5436 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
5438 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
5439 $as_echo "$ac_cv_prog_cxx_g" >&6; }
5440 if test "$ac_test_CXXFLAGS" = set; then
5441 CXXFLAGS=$ac_save_CXXFLAGS
5442 elif test $ac_cv_prog_cxx_g = yes; then
5443 if test "$GXX" = yes; then
5444 CXXFLAGS="-g -O2"
5445 else
5446 CXXFLAGS="-g"
5448 else
5449 if test "$GXX" = yes; then
5450 CXXFLAGS="-O2"
5451 else
5452 CXXFLAGS=
5455 ac_ext=c
5456 ac_cpp='$CPP $CPPFLAGS'
5457 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5458 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5459 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5461 if test -n "$ac_tool_prefix"; then
5462 # Extract the first word of "${ac_tool_prefix}cpp", so it can be a program name with args.
5463 set dummy ${ac_tool_prefix}cpp; ac_word=$2
5464 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5465 $as_echo_n "checking for $ac_word... " >&6; }
5466 if ${ac_cv_prog_CPPBIN+:} false; then :
5467 $as_echo_n "(cached) " >&6
5468 else
5469 if test -n "$CPPBIN"; then
5470 ac_cv_prog_CPPBIN="$CPPBIN" # Let the user override the test.
5471 else
5472 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5473 for as_dir in $PATH
5475 IFS=$as_save_IFS
5476 test -z "$as_dir" && as_dir=.
5477 for ac_exec_ext in '' $ac_executable_extensions; do
5478 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5479 ac_cv_prog_CPPBIN="${ac_tool_prefix}cpp"
5480 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5481 break 2
5483 done
5484 done
5485 IFS=$as_save_IFS
5489 CPPBIN=$ac_cv_prog_CPPBIN
5490 if test -n "$CPPBIN"; then
5491 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPPBIN" >&5
5492 $as_echo "$CPPBIN" >&6; }
5493 else
5494 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5495 $as_echo "no" >&6; }
5500 if test -z "$ac_cv_prog_CPPBIN"; then
5501 ac_ct_CPPBIN=$CPPBIN
5502 # Extract the first word of "cpp", so it can be a program name with args.
5503 set dummy cpp; ac_word=$2
5504 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5505 $as_echo_n "checking for $ac_word... " >&6; }
5506 if ${ac_cv_prog_ac_ct_CPPBIN+:} false; then :
5507 $as_echo_n "(cached) " >&6
5508 else
5509 if test -n "$ac_ct_CPPBIN"; then
5510 ac_cv_prog_ac_ct_CPPBIN="$ac_ct_CPPBIN" # Let the user override the test.
5511 else
5512 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5513 for as_dir in $PATH
5515 IFS=$as_save_IFS
5516 test -z "$as_dir" && as_dir=.
5517 for ac_exec_ext in '' $ac_executable_extensions; do
5518 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5519 ac_cv_prog_ac_ct_CPPBIN="cpp"
5520 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5521 break 2
5523 done
5524 done
5525 IFS=$as_save_IFS
5529 ac_ct_CPPBIN=$ac_cv_prog_ac_ct_CPPBIN
5530 if test -n "$ac_ct_CPPBIN"; then
5531 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CPPBIN" >&5
5532 $as_echo "$ac_ct_CPPBIN" >&6; }
5533 else
5534 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5535 $as_echo "no" >&6; }
5538 if test "x$ac_ct_CPPBIN" = x; then
5539 CPPBIN="cpp"
5540 else
5541 case $cross_compiling:$ac_tool_warned in
5542 yes:)
5543 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5544 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5545 ac_tool_warned=yes ;;
5546 esac
5547 CPPBIN=$ac_ct_CPPBIN
5549 else
5550 CPPBIN="$ac_cv_prog_CPPBIN"
5554 cat >>confdefs.h <<_ACEOF
5555 #define EXEEXT "$ac_exeext"
5556 _ACEOF
5558 if test -n "$ac_tool_prefix"; then
5559 # Extract the first word of "${ac_tool_prefix}ld", so it can be a program name with args.
5560 set dummy ${ac_tool_prefix}ld; ac_word=$2
5561 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5562 $as_echo_n "checking for $ac_word... " >&6; }
5563 if ${ac_cv_prog_LD+:} false; then :
5564 $as_echo_n "(cached) " >&6
5565 else
5566 if test -n "$LD"; then
5567 ac_cv_prog_LD="$LD" # Let the user override the test.
5568 else
5569 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5570 for as_dir in $PATH
5572 IFS=$as_save_IFS
5573 test -z "$as_dir" && as_dir=.
5574 for ac_exec_ext in '' $ac_executable_extensions; do
5575 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5576 ac_cv_prog_LD="${ac_tool_prefix}ld"
5577 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5578 break 2
5580 done
5581 done
5582 IFS=$as_save_IFS
5586 LD=$ac_cv_prog_LD
5587 if test -n "$LD"; then
5588 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
5589 $as_echo "$LD" >&6; }
5590 else
5591 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5592 $as_echo "no" >&6; }
5597 if test -z "$ac_cv_prog_LD"; then
5598 ac_ct_LD=$LD
5599 # Extract the first word of "ld", so it can be a program name with args.
5600 set dummy ld; ac_word=$2
5601 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5602 $as_echo_n "checking for $ac_word... " >&6; }
5603 if ${ac_cv_prog_ac_ct_LD+:} false; then :
5604 $as_echo_n "(cached) " >&6
5605 else
5606 if test -n "$ac_ct_LD"; then
5607 ac_cv_prog_ac_ct_LD="$ac_ct_LD" # Let the user override the test.
5608 else
5609 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5610 for as_dir in $PATH
5612 IFS=$as_save_IFS
5613 test -z "$as_dir" && as_dir=.
5614 for ac_exec_ext in '' $ac_executable_extensions; do
5615 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5616 ac_cv_prog_ac_ct_LD="ld"
5617 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5618 break 2
5620 done
5621 done
5622 IFS=$as_save_IFS
5626 ac_ct_LD=$ac_cv_prog_ac_ct_LD
5627 if test -n "$ac_ct_LD"; then
5628 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LD" >&5
5629 $as_echo "$ac_ct_LD" >&6; }
5630 else
5631 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5632 $as_echo "no" >&6; }
5635 if test "x$ac_ct_LD" = x; then
5636 LD=""
5637 else
5638 case $cross_compiling:$ac_tool_warned in
5639 yes:)
5640 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5641 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5642 ac_tool_warned=yes ;;
5643 esac
5644 LD=$ac_ct_LD
5646 else
5647 LD="$ac_cv_prog_LD"
5651 case $host in
5652 *-darwin*)
5653 with_fontconfig=${with_fontconfig:-no}
5655 *-mingw32*|*-cygwin*)
5656 enable_win16=${enable_win16:-no}
5657 with_mingw=${with_mingw:-no}
5658 CFLAGS="$CFLAGS -D_WIN32"
5660 esac
5663 case $host in
5664 x86_64*|amd64*)
5665 if test "x$enable_win64" != "xyes" -a "$cross_compiling" != "yes"
5666 then
5667 CC="$CC -m32"
5668 CXX="$CXX -m32"
5670 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC works" >&5
5671 $as_echo_n "checking whether $CC works... " >&6; }
5672 if ${wine_cv_cc_m32+:} false; then :
5673 $as_echo_n "(cached) " >&6
5674 else
5675 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5676 /* end confdefs.h. */
5679 main ()
5683 return 0;
5685 _ACEOF
5686 if ac_fn_c_try_link "$LINENO"; then :
5687 wine_cv_cc_m32=yes
5688 else
5689 wine_cv_cc_m32=no
5691 rm -f core conftest.err conftest.$ac_objext \
5692 conftest$ac_exeext conftest.$ac_ext
5694 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_cc_m32" >&5
5695 $as_echo "$wine_cv_cc_m32" >&6; }
5696 test $wine_cv_cc_m32 != no || as_fn_error $? "Cannot build a 32-bit program, you need to install 32-bit development libraries." "$LINENO" 5
5697 host_cpu="i386"
5698 notice_platform="32-bit "
5699 TARGETFLAGS="$TARGETFLAGS -m32"
5700 PKG_CONFIG_PATH=${PKG_CONFIG_PATH:-/usr/lib/i386-linux-gnu/pkgconfig:/usr/lib32/pkgconfig:/usr/lib/pkgconfig}
5701 export PKG_CONFIG_PATH
5702 enable_win16=${enable_win16:-yes}
5703 with_unwind=${with_unwind:-no}
5704 else
5705 if test "x${GCC}" = "xyes"
5706 then
5707 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports __builtin_ms_va_list" >&5
5708 $as_echo_n "checking whether $CC supports __builtin_ms_va_list... " >&6; }
5709 if ${wine_cv_builtin_ms_va_list+:} false; then :
5710 $as_echo_n "(cached) " >&6
5711 else
5712 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5713 /* end confdefs.h. */
5714 #include <stdarg.h>
5716 main ()
5718 void func(__builtin_ms_va_list *args);
5720 return 0;
5722 _ACEOF
5723 if ac_fn_c_try_compile "$LINENO"; then :
5724 wine_cv_builtin_ms_va_list=yes
5725 else
5726 wine_cv_builtin_ms_va_list=no
5728 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5730 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_builtin_ms_va_list" >&5
5731 $as_echo "$wine_cv_builtin_ms_va_list" >&6; }
5732 test $wine_cv_builtin_ms_va_list != no || as_fn_error $? "You need gcc >= 4.4 or clang >= 3.8 to build Wine as 64-bit." "$LINENO" 5
5734 CC="$CC -m64"
5735 CXX="$CXX -m64"
5736 host_cpu="x86_64"
5737 notice_platform="64-bit "
5738 TARGETFLAGS="$TARGETFLAGS -m64"
5739 enable_wow64cpu=${enable_wow64cpu:-yes}
5742 arm*)
5743 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports Thumb-2" >&5
5744 $as_echo_n "checking whether $CC supports Thumb-2... " >&6; }
5745 if ${wine_cv_thumb2+:} false; then :
5746 $as_echo_n "(cached) " >&6
5747 else
5748 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5749 /* end confdefs.h. */
5752 main ()
5754 asm(".syntax unified\n\t.thumb\n\tldm r0,{r0-r8}");
5756 return 0;
5758 _ACEOF
5759 if ac_fn_c_try_link "$LINENO"; then :
5760 wine_cv_thumb2=yes
5761 else
5762 wine_cv_thumb2=no
5764 rm -f core conftest.err conftest.$ac_objext \
5765 conftest$ac_exeext conftest.$ac_ext
5767 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_thumb2" >&5
5768 $as_echo "$wine_cv_thumb2" >&6; }
5769 if test x"$wine_cv_thumb2" = xyes
5770 then
5771 CFLAGS="$CFLAGS -mthumb"
5772 TARGETFLAGS="$TARGETFLAGS -mthumb"
5773 else
5774 CFLAGS="$CFLAGS -marm"
5775 TARGETFLAGS="$TARGETFLAGS -marm"
5777 case $with_float_abi in
5778 soft|softfp|hard)
5779 float_abi=$with_float_abi ;;
5781 case $host_os in
5782 *eabihf)
5783 float_abi=hard ;;
5785 float_abi=softfp
5786 saved_CFLAGS=$CFLAGS
5787 CFLAGS="$CFLAGS -mfloat-abi=$float_abi"
5788 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -mfloat-abi=$float_abi" >&5
5789 $as_echo_n "checking whether $CC supports -mfloat-abi=$float_abi... " >&6; }
5790 if ${wine_cv_float_abi+:} false; then :
5791 $as_echo_n "(cached) " >&6
5792 else
5793 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5794 /* end confdefs.h. */
5797 main ()
5799 asm("vmrs r2,fpscr");
5801 return 0;
5803 _ACEOF
5804 if ac_fn_c_try_link "$LINENO"; then :
5805 wine_cv_float_abi=yes
5806 else
5807 wine_cv_float_abi=no
5809 rm -f core conftest.err conftest.$ac_objext \
5810 conftest$ac_exeext conftest.$ac_ext
5812 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_float_abi" >&5
5813 $as_echo "$wine_cv_float_abi" >&6; }
5814 if test $wine_cv_float_abi = no
5815 then
5816 float_abi=soft
5817 as_fn_append wine_warnings "|Floating point is not supported for this target. The resulting build won't be compatible with Windows ARM binaries."
5819 CFLAGS=$saved_CFLAGS
5820 esac
5822 esac
5823 CFLAGS="$CFLAGS -mfloat-abi=$float_abi"
5824 TARGETFLAGS="$TARGETFLAGS -mfloat-abi=$float_abi"
5826 aarch64*)
5827 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports __builtin_ms_va_list" >&5
5828 $as_echo_n "checking whether $CC supports __builtin_ms_va_list... " >&6; }
5829 if ${wine_cv_builtin_ms_va_list+:} false; then :
5830 $as_echo_n "(cached) " >&6
5831 else
5832 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5833 /* end confdefs.h. */
5834 #include <stdarg.h>
5836 main ()
5838 void func(__builtin_ms_va_list *args);
5840 return 0;
5842 _ACEOF
5843 if ac_fn_c_try_compile "$LINENO"; then :
5844 wine_cv_builtin_ms_va_list=yes
5845 else
5846 wine_cv_builtin_ms_va_list=no
5848 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5850 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_builtin_ms_va_list" >&5
5851 $as_echo "$wine_cv_builtin_ms_va_list" >&6; }
5852 test $wine_cv_builtin_ms_va_list != no || as_fn_error $? "You need clang >= 5.0 to build Wine for arm64." "$LINENO" 5
5854 i[3456789]86*)
5855 enable_win16=${enable_win16:-yes}
5856 with_unwind=${with_unwind:-no}
5858 esac
5860 enable_win16=${enable_win16:-no}
5861 enable_win64=${enable_win64:-no}
5862 enable_wow64cpu=${enable_wow64cpu:-no}
5864 enable_winetest=${enable_winetest:-$enable_tests}
5866 if test "x$enable_win64" = "xyes"
5867 then
5868 test -z "$with_wine64" || as_fn_error $? "--enable-win64 and --with-wine64 are mutually exclusive.
5869 --enable-win64 should be used in the 64-bit build tree, --with-wine64 in the 32-bit Wow64 build tree." "$LINENO" 5
5870 test "x$libdir" != "x\${exec_prefix}/lib" || libdir="\${exec_prefix}/lib64"
5873 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the directory containing the Wine tools" >&5
5874 $as_echo_n "checking for the directory containing the Wine tools... " >&6; }
5875 if ${wine_cv_toolsdir+:} false; then :
5876 $as_echo_n "(cached) " >&6
5877 else
5878 wine_cv_toolsdir="$with_wine_tools"
5879 if test -z "$with_wine_tools"; then
5880 if test "$cross_compiling" = "yes"; then
5881 as_fn_error $? "you must use the --with-wine-tools option when cross-compiling." "$LINENO" 5
5882 elif test -n "$with_wine64"; then
5883 wine_cv_toolsdir="$with_wine64"
5887 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_toolsdir" >&5
5888 $as_echo "$wine_cv_toolsdir" >&6; }
5889 if test -z "$wine_cv_toolsdir"; then
5890 wine_makedep=tools/makedep
5891 TOOLSDIR="."
5893 elif test -d "$wine_cv_toolsdir/tools/winebuild"; then
5894 wine_makedep=$wine_cv_toolsdir/tools/makedep
5895 TOOLSDIR=$wine_cv_toolsdir
5897 enable_tools=${enable_tools:-no}
5898 test -f "$wine_makedep" || as_fn_error $? "the Wine tools have not yet been built in $wine_cv_toolsdir" "$LINENO" 5
5899 else
5900 as_fn_error $? "could not find Wine tools in $wine_cv_toolsdir" "$LINENO" 5
5902 if test -n "$host_alias" -a "$host_alias" != "$build_alias"
5903 then
5904 TARGETFLAGS="-b $host_alias $TARGETFLAGS"
5907 for ac_prog in flex
5909 # Extract the first word of "$ac_prog", so it can be a program name with args.
5910 set dummy $ac_prog; ac_word=$2
5911 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5912 $as_echo_n "checking for $ac_word... " >&6; }
5913 if ${ac_cv_prog_FLEX+:} false; then :
5914 $as_echo_n "(cached) " >&6
5915 else
5916 if test -n "$FLEX"; then
5917 ac_cv_prog_FLEX="$FLEX" # Let the user override the test.
5918 else
5919 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5920 for as_dir in $PATH
5922 IFS=$as_save_IFS
5923 test -z "$as_dir" && as_dir=.
5924 for ac_exec_ext in '' $ac_executable_extensions; do
5925 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5926 ac_cv_prog_FLEX="$ac_prog"
5927 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5928 break 2
5930 done
5931 done
5932 IFS=$as_save_IFS
5936 FLEX=$ac_cv_prog_FLEX
5937 if test -n "$FLEX"; then
5938 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FLEX" >&5
5939 $as_echo "$FLEX" >&6; }
5940 else
5941 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5942 $as_echo "no" >&6; }
5946 test -n "$FLEX" && break
5947 done
5948 test -n "$FLEX" || FLEX="none"
5950 if test "$FLEX" = "none"
5951 then
5952 as_fn_error $? "no suitable flex found. Please install the 'flex' package." "$LINENO" 5
5954 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether flex is recent enough" >&5
5955 $as_echo_n "checking whether flex is recent enough... " >&6; }
5956 if ${wine_cv_recent_flex+:} false; then :
5957 $as_echo_n "(cached) " >&6
5958 else
5959 cat >conftest.l <<EOF
5960 %top{
5961 #include "prediluvian.h"
5965 if $FLEX -t conftest.l >/dev/null 2>&5
5966 then
5967 wine_cv_recent_flex=yes
5968 else
5969 wine_cv_recent_flex=no
5972 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_recent_flex" >&5
5973 $as_echo "$wine_cv_recent_flex" >&6; }
5974 test $wine_cv_recent_flex != no || as_fn_error $? "Your flex version is too old. Please install flex version 2.5.33 or newer." "$LINENO" 5
5976 for ac_prog in bison
5978 # Extract the first word of "$ac_prog", so it can be a program name with args.
5979 set dummy $ac_prog; ac_word=$2
5980 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5981 $as_echo_n "checking for $ac_word... " >&6; }
5982 if ${ac_cv_prog_BISON+:} false; then :
5983 $as_echo_n "(cached) " >&6
5984 else
5985 if test -n "$BISON"; then
5986 ac_cv_prog_BISON="$BISON" # Let the user override the test.
5987 else
5988 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5989 for as_dir in $PATH
5991 IFS=$as_save_IFS
5992 test -z "$as_dir" && as_dir=.
5993 for ac_exec_ext in '' $ac_executable_extensions; do
5994 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5995 ac_cv_prog_BISON="$ac_prog"
5996 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5997 break 2
5999 done
6000 done
6001 IFS=$as_save_IFS
6005 BISON=$ac_cv_prog_BISON
6006 if test -n "$BISON"; then
6007 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BISON" >&5
6008 $as_echo "$BISON" >&6; }
6009 else
6010 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6011 $as_echo "no" >&6; }
6015 test -n "$BISON" && break
6016 done
6017 test -n "$BISON" || BISON="none"
6019 if test "$BISON" = "none"
6020 then
6021 as_fn_error $? "no suitable bison found. Please install the 'bison' package." "$LINENO" 5
6023 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether bison is recent enough" >&5
6024 $as_echo_n "checking whether bison is recent enough... " >&6; }
6025 if ${wine_cv_recent_bison+:} false; then :
6026 $as_echo_n "(cached) " >&6
6027 else
6028 cat >conftest.y <<EOF
6029 %define parse.error verbose
6031 empty: ;
6033 if $BISON conftest.y >/dev/null 2>&5
6034 then
6035 wine_cv_recent_bison=yes
6036 else
6037 wine_cv_recent_bison=no
6040 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_recent_bison" >&5
6041 $as_echo "$wine_cv_recent_bison" >&6; }
6042 test $wine_cv_recent_bison != no || as_fn_error $? "Your bison version is too old. Please install bison version 3.0 or newer." "$LINENO" 5
6044 if test -n "$ac_tool_prefix"; then
6045 for ac_prog in ar gar
6047 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
6048 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
6049 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6050 $as_echo_n "checking for $ac_word... " >&6; }
6051 if ${ac_cv_prog_AR+:} false; then :
6052 $as_echo_n "(cached) " >&6
6053 else
6054 if test -n "$AR"; then
6055 ac_cv_prog_AR="$AR" # Let the user override the test.
6056 else
6057 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6058 for as_dir in $PATH
6060 IFS=$as_save_IFS
6061 test -z "$as_dir" && as_dir=.
6062 for ac_exec_ext in '' $ac_executable_extensions; do
6063 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6064 ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
6065 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6066 break 2
6068 done
6069 done
6070 IFS=$as_save_IFS
6074 AR=$ac_cv_prog_AR
6075 if test -n "$AR"; then
6076 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
6077 $as_echo "$AR" >&6; }
6078 else
6079 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6080 $as_echo "no" >&6; }
6084 test -n "$AR" && break
6085 done
6087 if test -z "$AR"; then
6088 ac_ct_AR=$AR
6089 for ac_prog in ar gar
6091 # Extract the first word of "$ac_prog", so it can be a program name with args.
6092 set dummy $ac_prog; ac_word=$2
6093 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6094 $as_echo_n "checking for $ac_word... " >&6; }
6095 if ${ac_cv_prog_ac_ct_AR+:} false; then :
6096 $as_echo_n "(cached) " >&6
6097 else
6098 if test -n "$ac_ct_AR"; then
6099 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
6100 else
6101 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6102 for as_dir in $PATH
6104 IFS=$as_save_IFS
6105 test -z "$as_dir" && as_dir=.
6106 for ac_exec_ext in '' $ac_executable_extensions; do
6107 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6108 ac_cv_prog_ac_ct_AR="$ac_prog"
6109 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6110 break 2
6112 done
6113 done
6114 IFS=$as_save_IFS
6118 ac_ct_AR=$ac_cv_prog_ac_ct_AR
6119 if test -n "$ac_ct_AR"; then
6120 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
6121 $as_echo "$ac_ct_AR" >&6; }
6122 else
6123 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6124 $as_echo "no" >&6; }
6128 test -n "$ac_ct_AR" && break
6129 done
6131 if test "x$ac_ct_AR" = x; then
6132 AR="ar"
6133 else
6134 case $cross_compiling:$ac_tool_warned in
6135 yes:)
6136 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6137 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6138 ac_tool_warned=yes ;;
6139 esac
6140 AR=$ac_ct_AR
6144 if test -n "$ac_tool_prefix"; then
6145 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
6146 set dummy ${ac_tool_prefix}strip; ac_word=$2
6147 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6148 $as_echo_n "checking for $ac_word... " >&6; }
6149 if ${ac_cv_prog_STRIP+:} false; then :
6150 $as_echo_n "(cached) " >&6
6151 else
6152 if test -n "$STRIP"; then
6153 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
6154 else
6155 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6156 for as_dir in $PATH
6158 IFS=$as_save_IFS
6159 test -z "$as_dir" && as_dir=.
6160 for ac_exec_ext in '' $ac_executable_extensions; do
6161 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6162 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
6163 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6164 break 2
6166 done
6167 done
6168 IFS=$as_save_IFS
6172 STRIP=$ac_cv_prog_STRIP
6173 if test -n "$STRIP"; then
6174 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
6175 $as_echo "$STRIP" >&6; }
6176 else
6177 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6178 $as_echo "no" >&6; }
6183 if test -z "$ac_cv_prog_STRIP"; then
6184 ac_ct_STRIP=$STRIP
6185 # Extract the first word of "strip", so it can be a program name with args.
6186 set dummy strip; ac_word=$2
6187 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6188 $as_echo_n "checking for $ac_word... " >&6; }
6189 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
6190 $as_echo_n "(cached) " >&6
6191 else
6192 if test -n "$ac_ct_STRIP"; then
6193 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
6194 else
6195 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6196 for as_dir in $PATH
6198 IFS=$as_save_IFS
6199 test -z "$as_dir" && as_dir=.
6200 for ac_exec_ext in '' $ac_executable_extensions; do
6201 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6202 ac_cv_prog_ac_ct_STRIP="strip"
6203 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6204 break 2
6206 done
6207 done
6208 IFS=$as_save_IFS
6212 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
6213 if test -n "$ac_ct_STRIP"; then
6214 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
6215 $as_echo "$ac_ct_STRIP" >&6; }
6216 else
6217 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6218 $as_echo "no" >&6; }
6221 if test "x$ac_ct_STRIP" = x; then
6222 STRIP="strip"
6223 else
6224 case $cross_compiling:$ac_tool_warned in
6225 yes:)
6226 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6227 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6228 ac_tool_warned=yes ;;
6229 esac
6230 STRIP=$ac_ct_STRIP
6232 else
6233 STRIP="$ac_cv_prog_STRIP"
6236 if test -n "$ac_tool_prefix"; then
6237 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
6238 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6239 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6240 $as_echo_n "checking for $ac_word... " >&6; }
6241 if ${ac_cv_prog_RANLIB+:} false; then :
6242 $as_echo_n "(cached) " >&6
6243 else
6244 if test -n "$RANLIB"; then
6245 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
6246 else
6247 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6248 for as_dir in $PATH
6250 IFS=$as_save_IFS
6251 test -z "$as_dir" && as_dir=.
6252 for ac_exec_ext in '' $ac_executable_extensions; do
6253 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6254 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
6255 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6256 break 2
6258 done
6259 done
6260 IFS=$as_save_IFS
6264 RANLIB=$ac_cv_prog_RANLIB
6265 if test -n "$RANLIB"; then
6266 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
6267 $as_echo "$RANLIB" >&6; }
6268 else
6269 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6270 $as_echo "no" >&6; }
6275 if test -z "$ac_cv_prog_RANLIB"; then
6276 ac_ct_RANLIB=$RANLIB
6277 # Extract the first word of "ranlib", so it can be a program name with args.
6278 set dummy ranlib; ac_word=$2
6279 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6280 $as_echo_n "checking for $ac_word... " >&6; }
6281 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
6282 $as_echo_n "(cached) " >&6
6283 else
6284 if test -n "$ac_ct_RANLIB"; then
6285 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
6286 else
6287 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6288 for as_dir in $PATH
6290 IFS=$as_save_IFS
6291 test -z "$as_dir" && as_dir=.
6292 for ac_exec_ext in '' $ac_executable_extensions; do
6293 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6294 ac_cv_prog_ac_ct_RANLIB="ranlib"
6295 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6296 break 2
6298 done
6299 done
6300 IFS=$as_save_IFS
6304 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
6305 if test -n "$ac_ct_RANLIB"; then
6306 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
6307 $as_echo "$ac_ct_RANLIB" >&6; }
6308 else
6309 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6310 $as_echo "no" >&6; }
6313 if test "x$ac_ct_RANLIB" = x; then
6314 RANLIB=":"
6315 else
6316 case $cross_compiling:$ac_tool_warned in
6317 yes:)
6318 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6319 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6320 ac_tool_warned=yes ;;
6321 esac
6322 RANLIB=$ac_ct_RANLIB
6324 else
6325 RANLIB="$ac_cv_prog_RANLIB"
6328 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
6329 $as_echo_n "checking whether ln -s works... " >&6; }
6330 LN_S=$as_ln_s
6331 if test "$LN_S" = "ln -s"; then
6332 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6333 $as_echo "yes" >&6; }
6334 else
6335 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
6336 $as_echo "no, using $LN_S" >&6; }
6339 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
6340 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
6341 if ${ac_cv_path_GREP+:} false; then :
6342 $as_echo_n "(cached) " >&6
6343 else
6344 if test -z "$GREP"; then
6345 ac_path_GREP_found=false
6346 # Loop through the user's path and test for each of PROGNAME-LIST
6347 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6348 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
6350 IFS=$as_save_IFS
6351 test -z "$as_dir" && as_dir=.
6352 for ac_prog in grep ggrep; do
6353 for ac_exec_ext in '' $ac_executable_extensions; do
6354 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
6355 as_fn_executable_p "$ac_path_GREP" || continue
6356 # Check for GNU ac_path_GREP and select it if it is found.
6357 # Check for GNU $ac_path_GREP
6358 case `"$ac_path_GREP" --version 2>&1` in
6359 *GNU*)
6360 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
6362 ac_count=0
6363 $as_echo_n 0123456789 >"conftest.in"
6364 while :
6366 cat "conftest.in" "conftest.in" >"conftest.tmp"
6367 mv "conftest.tmp" "conftest.in"
6368 cp "conftest.in" "conftest.nl"
6369 $as_echo 'GREP' >> "conftest.nl"
6370 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
6371 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
6372 as_fn_arith $ac_count + 1 && ac_count=$as_val
6373 if test $ac_count -gt ${ac_path_GREP_max-0}; then
6374 # Best one so far, save it but keep looking for a better one
6375 ac_cv_path_GREP="$ac_path_GREP"
6376 ac_path_GREP_max=$ac_count
6378 # 10*(2^10) chars as input seems more than enough
6379 test $ac_count -gt 10 && break
6380 done
6381 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
6382 esac
6384 $ac_path_GREP_found && break 3
6385 done
6386 done
6387 done
6388 IFS=$as_save_IFS
6389 if test -z "$ac_cv_path_GREP"; then
6390 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
6392 else
6393 ac_cv_path_GREP=$GREP
6397 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
6398 $as_echo "$ac_cv_path_GREP" >&6; }
6399 GREP="$ac_cv_path_GREP"
6402 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
6403 $as_echo_n "checking for egrep... " >&6; }
6404 if ${ac_cv_path_EGREP+:} false; then :
6405 $as_echo_n "(cached) " >&6
6406 else
6407 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
6408 then ac_cv_path_EGREP="$GREP -E"
6409 else
6410 if test -z "$EGREP"; then
6411 ac_path_EGREP_found=false
6412 # Loop through the user's path and test for each of PROGNAME-LIST
6413 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6414 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
6416 IFS=$as_save_IFS
6417 test -z "$as_dir" && as_dir=.
6418 for ac_prog in egrep; do
6419 for ac_exec_ext in '' $ac_executable_extensions; do
6420 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
6421 as_fn_executable_p "$ac_path_EGREP" || continue
6422 # Check for GNU ac_path_EGREP and select it if it is found.
6423 # Check for GNU $ac_path_EGREP
6424 case `"$ac_path_EGREP" --version 2>&1` in
6425 *GNU*)
6426 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
6428 ac_count=0
6429 $as_echo_n 0123456789 >"conftest.in"
6430 while :
6432 cat "conftest.in" "conftest.in" >"conftest.tmp"
6433 mv "conftest.tmp" "conftest.in"
6434 cp "conftest.in" "conftest.nl"
6435 $as_echo 'EGREP' >> "conftest.nl"
6436 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
6437 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
6438 as_fn_arith $ac_count + 1 && ac_count=$as_val
6439 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
6440 # Best one so far, save it but keep looking for a better one
6441 ac_cv_path_EGREP="$ac_path_EGREP"
6442 ac_path_EGREP_max=$ac_count
6444 # 10*(2^10) chars as input seems more than enough
6445 test $ac_count -gt 10 && break
6446 done
6447 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
6448 esac
6450 $ac_path_EGREP_found && break 3
6451 done
6452 done
6453 done
6454 IFS=$as_save_IFS
6455 if test -z "$ac_cv_path_EGREP"; then
6456 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
6458 else
6459 ac_cv_path_EGREP=$EGREP
6464 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
6465 $as_echo "$ac_cv_path_EGREP" >&6; }
6466 EGREP="$ac_cv_path_EGREP"
6469 # Extract the first word of "ldconfig", so it can be a program name with args.
6470 set dummy ldconfig; ac_word=$2
6471 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6472 $as_echo_n "checking for $ac_word... " >&6; }
6473 if ${ac_cv_path_LDCONFIG+:} false; then :
6474 $as_echo_n "(cached) " >&6
6475 else
6476 case $LDCONFIG in
6477 [\\/]* | ?:[\\/]*)
6478 ac_cv_path_LDCONFIG="$LDCONFIG" # Let the user override the test with a path.
6481 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6482 for as_dir in /sbin /usr/sbin $PATH
6484 IFS=$as_save_IFS
6485 test -z "$as_dir" && as_dir=.
6486 for ac_exec_ext in '' $ac_executable_extensions; do
6487 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6488 ac_cv_path_LDCONFIG="$as_dir/$ac_word$ac_exec_ext"
6489 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6490 break 2
6492 done
6493 done
6494 IFS=$as_save_IFS
6496 test -z "$ac_cv_path_LDCONFIG" && ac_cv_path_LDCONFIG="true"
6498 esac
6500 LDCONFIG=$ac_cv_path_LDCONFIG
6501 if test -n "$LDCONFIG"; then
6502 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDCONFIG" >&5
6503 $as_echo "$LDCONFIG" >&6; }
6504 else
6505 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6506 $as_echo "no" >&6; }
6510 for ac_prog in msgfmt
6512 # Extract the first word of "$ac_prog", so it can be a program name with args.
6513 set dummy $ac_prog; ac_word=$2
6514 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6515 $as_echo_n "checking for $ac_word... " >&6; }
6516 if ${ac_cv_prog_MSGFMT+:} false; then :
6517 $as_echo_n "(cached) " >&6
6518 else
6519 if test -n "$MSGFMT"; then
6520 ac_cv_prog_MSGFMT="$MSGFMT" # Let the user override the test.
6521 else
6522 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6523 for as_dir in $PATH
6525 IFS=$as_save_IFS
6526 test -z "$as_dir" && as_dir=.
6527 for ac_exec_ext in '' $ac_executable_extensions; do
6528 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6529 ac_cv_prog_MSGFMT="$ac_prog"
6530 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6531 break 2
6533 done
6534 done
6535 IFS=$as_save_IFS
6539 MSGFMT=$ac_cv_prog_MSGFMT
6540 if test -n "$MSGFMT"; then
6541 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
6542 $as_echo "$MSGFMT" >&6; }
6543 else
6544 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6545 $as_echo "no" >&6; }
6549 test -n "$MSGFMT" && break
6550 done
6551 test -n "$MSGFMT" || MSGFMT="false"
6553 if ${ac_tool_prefix+:} false; then :
6554 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
6555 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
6556 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6557 $as_echo_n "checking for $ac_word... " >&6; }
6558 if ${ac_cv_prog_PKG_CONFIG+:} false; then :
6559 $as_echo_n "(cached) " >&6
6560 else
6561 if test -n "$PKG_CONFIG"; then
6562 ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
6563 else
6564 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6565 for as_dir in $PATH
6567 IFS=$as_save_IFS
6568 test -z "$as_dir" && as_dir=.
6569 for ac_exec_ext in '' $ac_executable_extensions; do
6570 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6571 ac_cv_prog_PKG_CONFIG="${ac_tool_prefix}pkg-config"
6572 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6573 break 2
6575 done
6576 done
6577 IFS=$as_save_IFS
6581 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
6582 if test -n "$PKG_CONFIG"; then
6583 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
6584 $as_echo "$PKG_CONFIG" >&6; }
6585 else
6586 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6587 $as_echo "no" >&6; }
6592 if ${ac_cv_prog_PKG_CONFIG:+false} :; then :
6593 if test "x$cross_compiling" = xyes; then :
6595 else
6596 { ac_cv_prog_PKG_CONFIG=; unset ac_cv_prog_PKG_CONFIG;}
6597 # Extract the first word of "pkg-config", so it can be a program name with args.
6598 set dummy pkg-config; ac_word=$2
6599 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6600 $as_echo_n "checking for $ac_word... " >&6; }
6601 if ${ac_cv_prog_PKG_CONFIG+:} false; then :
6602 $as_echo_n "(cached) " >&6
6603 else
6604 if test -n "$PKG_CONFIG"; then
6605 ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
6606 else
6607 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6608 for as_dir in $PATH
6610 IFS=$as_save_IFS
6611 test -z "$as_dir" && as_dir=.
6612 for ac_exec_ext in '' $ac_executable_extensions; do
6613 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6614 ac_cv_prog_PKG_CONFIG="pkg-config"
6615 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6616 break 2
6618 done
6619 done
6620 IFS=$as_save_IFS
6624 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
6625 if test -n "$PKG_CONFIG"; then
6626 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
6627 $as_echo "$PKG_CONFIG" >&6; }
6628 else
6629 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6630 $as_echo "no" >&6; }
6635 else
6636 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
6639 if test "x$enable_maintainer_mode" != "xyes"
6640 then
6641 FONTFORGE=""
6642 RSVG=""
6643 CONVERT=""
6644 ICOTOOL=""
6645 else
6646 test "$srcdir" = . || as_fn_error $? "Maintainer mode cannot work out of tree." "$LINENO" 5
6647 for ac_prog in fontforge
6649 # Extract the first word of "$ac_prog", so it can be a program name with args.
6650 set dummy $ac_prog; ac_word=$2
6651 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6652 $as_echo_n "checking for $ac_word... " >&6; }
6653 if ${ac_cv_prog_FONTFORGE+:} false; then :
6654 $as_echo_n "(cached) " >&6
6655 else
6656 if test -n "$FONTFORGE"; then
6657 ac_cv_prog_FONTFORGE="$FONTFORGE" # Let the user override the test.
6658 else
6659 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6660 for as_dir in $PATH
6662 IFS=$as_save_IFS
6663 test -z "$as_dir" && as_dir=.
6664 for ac_exec_ext in '' $ac_executable_extensions; do
6665 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6666 ac_cv_prog_FONTFORGE="$ac_prog"
6667 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6668 break 2
6670 done
6671 done
6672 IFS=$as_save_IFS
6676 FONTFORGE=$ac_cv_prog_FONTFORGE
6677 if test -n "$FONTFORGE"; then
6678 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FONTFORGE" >&5
6679 $as_echo "$FONTFORGE" >&6; }
6680 else
6681 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6682 $as_echo "no" >&6; }
6686 test -n "$FONTFORGE" && break
6687 done
6688 test -n "$FONTFORGE" || FONTFORGE="false"
6690 for ac_prog in rsvg-convert rsvg
6692 # Extract the first word of "$ac_prog", so it can be a program name with args.
6693 set dummy $ac_prog; ac_word=$2
6694 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6695 $as_echo_n "checking for $ac_word... " >&6; }
6696 if ${ac_cv_prog_RSVG+:} false; then :
6697 $as_echo_n "(cached) " >&6
6698 else
6699 if test -n "$RSVG"; then
6700 ac_cv_prog_RSVG="$RSVG" # Let the user override the test.
6701 else
6702 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6703 for as_dir in $PATH
6705 IFS=$as_save_IFS
6706 test -z "$as_dir" && as_dir=.
6707 for ac_exec_ext in '' $ac_executable_extensions; do
6708 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6709 ac_cv_prog_RSVG="$ac_prog"
6710 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6711 break 2
6713 done
6714 done
6715 IFS=$as_save_IFS
6719 RSVG=$ac_cv_prog_RSVG
6720 if test -n "$RSVG"; then
6721 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RSVG" >&5
6722 $as_echo "$RSVG" >&6; }
6723 else
6724 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6725 $as_echo "no" >&6; }
6729 test -n "$RSVG" && break
6730 done
6731 test -n "$RSVG" || RSVG="false"
6733 for ac_prog in convert
6735 # Extract the first word of "$ac_prog", so it can be a program name with args.
6736 set dummy $ac_prog; ac_word=$2
6737 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6738 $as_echo_n "checking for $ac_word... " >&6; }
6739 if ${ac_cv_prog_CONVERT+:} false; then :
6740 $as_echo_n "(cached) " >&6
6741 else
6742 if test -n "$CONVERT"; then
6743 ac_cv_prog_CONVERT="$CONVERT" # Let the user override the test.
6744 else
6745 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6746 for as_dir in $PATH
6748 IFS=$as_save_IFS
6749 test -z "$as_dir" && as_dir=.
6750 for ac_exec_ext in '' $ac_executable_extensions; do
6751 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6752 ac_cv_prog_CONVERT="$ac_prog"
6753 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6754 break 2
6756 done
6757 done
6758 IFS=$as_save_IFS
6762 CONVERT=$ac_cv_prog_CONVERT
6763 if test -n "$CONVERT"; then
6764 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CONVERT" >&5
6765 $as_echo "$CONVERT" >&6; }
6766 else
6767 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6768 $as_echo "no" >&6; }
6772 test -n "$CONVERT" && break
6773 done
6774 test -n "$CONVERT" || CONVERT="false"
6776 for ac_prog in icotool
6778 # Extract the first word of "$ac_prog", so it can be a program name with args.
6779 set dummy $ac_prog; ac_word=$2
6780 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6781 $as_echo_n "checking for $ac_word... " >&6; }
6782 if ${ac_cv_prog_ICOTOOL+:} false; then :
6783 $as_echo_n "(cached) " >&6
6784 else
6785 if test -n "$ICOTOOL"; then
6786 ac_cv_prog_ICOTOOL="$ICOTOOL" # Let the user override the test.
6787 else
6788 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6789 for as_dir in $PATH
6791 IFS=$as_save_IFS
6792 test -z "$as_dir" && as_dir=.
6793 for ac_exec_ext in '' $ac_executable_extensions; do
6794 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6795 ac_cv_prog_ICOTOOL="$ac_prog"
6796 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6797 break 2
6799 done
6800 done
6801 IFS=$as_save_IFS
6805 ICOTOOL=$ac_cv_prog_ICOTOOL
6806 if test -n "$ICOTOOL"; then
6807 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ICOTOOL" >&5
6808 $as_echo "$ICOTOOL" >&6; }
6809 else
6810 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6811 $as_echo "no" >&6; }
6815 test -n "$ICOTOOL" && break
6816 done
6817 test -n "$ICOTOOL" || ICOTOOL="false"
6819 test "$FONTFORGE" != "false" || as_fn_error $? "You need fontforge to rebuild fonts in maintainer mode." "$LINENO" 5
6820 test "$RSVG" != "false" || as_fn_error $? "You need rsvg to rebuild icons in maintainer mode." "$LINENO" 5
6822 if test "$CONVERT" = false
6823 then
6824 as_fn_error $? "You need imagemagick to rebuild icons in maintainer mode." "$LINENO" 5
6825 else
6826 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for recent enough imagemagick" >&5
6827 $as_echo_n "checking for recent enough imagemagick... " >&6; }
6828 convert_version=`convert --version | head -n1`
6829 if test "x$convert_version" != "x"
6830 then
6831 convert_version_major=`expr "$convert_version" : '.* \([0-9]*\)\.[0-9]*'`
6832 convert_version_minor=`expr "$convert_version" : '.* [0-9]*\.\([0-9]*\)'`
6833 if test "$convert_version_major" -eq 6 -a "$convert_version_minor" -lt 6
6834 then
6835 CONVERT=false
6838 if test "$CONVERT" = false
6839 then
6840 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no ($convert_version_major.$convert_version_minor)" >&5
6841 $as_echo "no ($convert_version_major.$convert_version_minor)" >&6; }
6842 as_fn_error $? "You need imagemagick version 6.6 or newer to rebuild icons in maintainer mode." "$LINENO" 5
6843 else
6844 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($convert_version_major.$convert_version_minor)" >&5
6845 $as_echo "yes ($convert_version_major.$convert_version_minor)" >&6; }
6849 if test "$ICOTOOL" = false
6850 then
6851 as_fn_error $? "You need icotool to rebuild icons in maintainer mode." "$LINENO" 5
6852 else
6853 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for recent enough icotool" >&5
6854 $as_echo_n "checking for recent enough icotool... " >&6; }
6855 icotool_version=`icotool --version | head -n1`
6856 if test "x$icotool_version" != "x"
6857 then
6858 icotool_version_major=`expr "$icotool_version" : '.* \([0-9]*\)\.[0-9]*'`
6859 icotool_version_minor=`expr "$icotool_version" : '.* [0-9]*\.\([0-9]*\)'`
6860 if test "$icotool_version_major" -eq 0 -a "$icotool_version_minor" -lt 29
6861 then
6862 ICOTOOL=false
6863 as_fn_append wine_warnings "|icotool version 0.29.0 or newer is needed to rebuild icons."
6866 if test "$ICOTOOL" = false
6867 then
6868 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no ($icotool_version_major.$icotool_version_minor)" >&5
6869 $as_echo "no ($icotool_version_major.$icotool_version_minor)" >&6; }
6870 as_fn_error $? "You need icotool version 0.29.0 or newer to rebuild icons in maintainer mode." "$LINENO" 5
6871 else
6872 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($icotool_version_major.$icotool_version_minor)" >&5
6873 $as_echo "yes ($icotool_version_major.$icotool_version_minor)" >&6; }
6877 with_gettext=yes
6878 with_gettextpo=yes
6880 enable_werror=yes
6883 test "x$with_gettext" != xno || MSGFMT=false
6884 if test "$MSGFMT" != "false"
6885 then
6886 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether msgfmt supports contexts" >&5
6887 $as_echo_n "checking whether msgfmt supports contexts... " >&6; }
6888 if ${wine_cv_msgfmt_contexts+:} false; then :
6889 $as_echo_n "(cached) " >&6
6890 else
6891 cat >conftest.po <<EOF
6892 # comment
6893 msgctxt "ctxt"
6894 msgid "id"
6895 msgstr "str"
6897 if $MSGFMT -o /dev/null conftest.po 2>&5
6898 then
6899 wine_cv_msgfmt_contexts=yes
6900 else
6901 wine_cv_msgfmt_contexts=no
6904 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_msgfmt_contexts" >&5
6905 $as_echo "$wine_cv_msgfmt_contexts" >&6; }
6906 test $wine_cv_msgfmt_contexts != no || MSGFMT=false
6908 if test "$MSGFMT" = false; then :
6909 case "x$with_gettext" in
6910 x) as_fn_append wine_warnings "|gettext tools not found (or too old), translations won't be built." ;;
6911 xno) ;;
6912 *) as_fn_error $? "gettext tools not found (or too old), translations won't be built.
6913 This is an error since --with-gettext was requested." "$LINENO" 5 ;;
6914 esac
6915 enable_po=${enable_po:-no}
6919 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for i386_set_ldt in -li386" >&5
6920 $as_echo_n "checking for i386_set_ldt in -li386... " >&6; }
6921 if ${ac_cv_lib_i386_i386_set_ldt+:} false; then :
6922 $as_echo_n "(cached) " >&6
6923 else
6924 ac_check_lib_save_LIBS=$LIBS
6925 LIBS="-li386 $LIBS"
6926 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6927 /* end confdefs.h. */
6929 /* Override any GCC internal prototype to avoid an error.
6930 Use char because int might match the return type of a GCC
6931 builtin and then its argument prototype would still apply. */
6932 #ifdef __cplusplus
6933 extern "C"
6934 #endif
6935 char i386_set_ldt ();
6937 main ()
6939 return i386_set_ldt ();
6941 return 0;
6943 _ACEOF
6944 if ac_fn_c_try_link "$LINENO"; then :
6945 ac_cv_lib_i386_i386_set_ldt=yes
6946 else
6947 ac_cv_lib_i386_i386_set_ldt=no
6949 rm -f core conftest.err conftest.$ac_objext \
6950 conftest$ac_exeext conftest.$ac_ext
6951 LIBS=$ac_check_lib_save_LIBS
6953 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_i386_i386_set_ldt" >&5
6954 $as_echo "$ac_cv_lib_i386_i386_set_ldt" >&6; }
6955 if test "x$ac_cv_lib_i386_i386_set_ldt" = xyes; then :
6956 I386_LIBS="-li386"
6961 OPENGL_LIBS=""
6965 # Check whether --enable-largefile was given.
6966 if test "${enable_largefile+set}" = set; then :
6967 enableval=$enable_largefile;
6970 if test "$enable_largefile" != no; then
6972 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
6973 $as_echo_n "checking for special C compiler options needed for large files... " >&6; }
6974 if ${ac_cv_sys_largefile_CC+:} false; then :
6975 $as_echo_n "(cached) " >&6
6976 else
6977 ac_cv_sys_largefile_CC=no
6978 if test "$GCC" != yes; then
6979 ac_save_CC=$CC
6980 while :; do
6981 # IRIX 6.2 and later do not support large files by default,
6982 # so use the C compiler's -n32 option if that helps.
6983 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6984 /* end confdefs.h. */
6985 #include <sys/types.h>
6986 /* Check that off_t can represent 2**63 - 1 correctly.
6987 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6988 since some C++ compilers masquerading as C compilers
6989 incorrectly reject 9223372036854775807. */
6990 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6991 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6992 && LARGE_OFF_T % 2147483647 == 1)
6993 ? 1 : -1];
6995 main ()
6999 return 0;
7001 _ACEOF
7002 if ac_fn_c_try_compile "$LINENO"; then :
7003 break
7005 rm -f core conftest.err conftest.$ac_objext
7006 CC="$CC -n32"
7007 if ac_fn_c_try_compile "$LINENO"; then :
7008 ac_cv_sys_largefile_CC=' -n32'; break
7010 rm -f core conftest.err conftest.$ac_objext
7011 break
7012 done
7013 CC=$ac_save_CC
7014 rm -f conftest.$ac_ext
7017 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
7018 $as_echo "$ac_cv_sys_largefile_CC" >&6; }
7019 if test "$ac_cv_sys_largefile_CC" != no; then
7020 CC=$CC$ac_cv_sys_largefile_CC
7023 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
7024 $as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
7025 if ${ac_cv_sys_file_offset_bits+:} false; then :
7026 $as_echo_n "(cached) " >&6
7027 else
7028 while :; do
7029 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7030 /* end confdefs.h. */
7031 #include <sys/types.h>
7032 /* Check that off_t can represent 2**63 - 1 correctly.
7033 We can't simply define LARGE_OFF_T to be 9223372036854775807,
7034 since some C++ compilers masquerading as C compilers
7035 incorrectly reject 9223372036854775807. */
7036 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
7037 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
7038 && LARGE_OFF_T % 2147483647 == 1)
7039 ? 1 : -1];
7041 main ()
7045 return 0;
7047 _ACEOF
7048 if ac_fn_c_try_compile "$LINENO"; then :
7049 ac_cv_sys_file_offset_bits=no; break
7051 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7052 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7053 /* end confdefs.h. */
7054 #define _FILE_OFFSET_BITS 64
7055 #include <sys/types.h>
7056 /* Check that off_t can represent 2**63 - 1 correctly.
7057 We can't simply define LARGE_OFF_T to be 9223372036854775807,
7058 since some C++ compilers masquerading as C compilers
7059 incorrectly reject 9223372036854775807. */
7060 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
7061 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
7062 && LARGE_OFF_T % 2147483647 == 1)
7063 ? 1 : -1];
7065 main ()
7069 return 0;
7071 _ACEOF
7072 if ac_fn_c_try_compile "$LINENO"; then :
7073 ac_cv_sys_file_offset_bits=64; break
7075 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7076 ac_cv_sys_file_offset_bits=unknown
7077 break
7078 done
7080 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
7081 $as_echo "$ac_cv_sys_file_offset_bits" >&6; }
7082 case $ac_cv_sys_file_offset_bits in #(
7083 no | unknown) ;;
7085 cat >>confdefs.h <<_ACEOF
7086 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
7087 _ACEOF
7089 esac
7090 rm -rf conftest*
7091 if test $ac_cv_sys_file_offset_bits = unknown; then
7092 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
7093 $as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
7094 if ${ac_cv_sys_large_files+:} false; then :
7095 $as_echo_n "(cached) " >&6
7096 else
7097 while :; do
7098 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7099 /* end confdefs.h. */
7100 #include <sys/types.h>
7101 /* Check that off_t can represent 2**63 - 1 correctly.
7102 We can't simply define LARGE_OFF_T to be 9223372036854775807,
7103 since some C++ compilers masquerading as C compilers
7104 incorrectly reject 9223372036854775807. */
7105 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
7106 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
7107 && LARGE_OFF_T % 2147483647 == 1)
7108 ? 1 : -1];
7110 main ()
7114 return 0;
7116 _ACEOF
7117 if ac_fn_c_try_compile "$LINENO"; then :
7118 ac_cv_sys_large_files=no; break
7120 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7121 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7122 /* end confdefs.h. */
7123 #define _LARGE_FILES 1
7124 #include <sys/types.h>
7125 /* Check that off_t can represent 2**63 - 1 correctly.
7126 We can't simply define LARGE_OFF_T to be 9223372036854775807,
7127 since some C++ compilers masquerading as C compilers
7128 incorrectly reject 9223372036854775807. */
7129 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
7130 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
7131 && LARGE_OFF_T % 2147483647 == 1)
7132 ? 1 : -1];
7134 main ()
7138 return 0;
7140 _ACEOF
7141 if ac_fn_c_try_compile "$LINENO"; then :
7142 ac_cv_sys_large_files=1; break
7144 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7145 ac_cv_sys_large_files=unknown
7146 break
7147 done
7149 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
7150 $as_echo "$ac_cv_sys_large_files" >&6; }
7151 case $ac_cv_sys_large_files in #(
7152 no | unknown) ;;
7154 cat >>confdefs.h <<_ACEOF
7155 #define _LARGE_FILES $ac_cv_sys_large_files
7156 _ACEOF
7158 esac
7159 rm -rf conftest*
7166 ac_ext=c
7167 ac_cpp='$CPP $CPPFLAGS'
7168 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7169 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7170 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7171 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
7172 $as_echo_n "checking how to run the C preprocessor... " >&6; }
7173 # On Suns, sometimes $CPP names a directory.
7174 if test -n "$CPP" && test -d "$CPP"; then
7175 CPP=
7177 if test -z "$CPP"; then
7178 if ${ac_cv_prog_CPP+:} false; then :
7179 $as_echo_n "(cached) " >&6
7180 else
7181 # Double quotes because CPP needs to be expanded
7182 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
7184 ac_preproc_ok=false
7185 for ac_c_preproc_warn_flag in '' yes
7187 # Use a header file that comes with gcc, so configuring glibc
7188 # with a fresh cross-compiler works.
7189 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7190 # <limits.h> exists even on freestanding compilers.
7191 # On the NeXT, cc -E runs the code through the compiler's parser,
7192 # not just through cpp. "Syntax error" is here to catch this case.
7193 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7194 /* end confdefs.h. */
7195 #ifdef __STDC__
7196 # include <limits.h>
7197 #else
7198 # include <assert.h>
7199 #endif
7200 Syntax error
7201 _ACEOF
7202 if ac_fn_c_try_cpp "$LINENO"; then :
7204 else
7205 # Broken: fails on valid input.
7206 continue
7208 rm -f conftest.err conftest.i conftest.$ac_ext
7210 # OK, works on sane cases. Now check whether nonexistent headers
7211 # can be detected and how.
7212 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7213 /* end confdefs.h. */
7214 #include <ac_nonexistent.h>
7215 _ACEOF
7216 if ac_fn_c_try_cpp "$LINENO"; then :
7217 # Broken: success on invalid input.
7218 continue
7219 else
7220 # Passes both tests.
7221 ac_preproc_ok=:
7222 break
7224 rm -f conftest.err conftest.i conftest.$ac_ext
7226 done
7227 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7228 rm -f conftest.i conftest.err conftest.$ac_ext
7229 if $ac_preproc_ok; then :
7230 break
7233 done
7234 ac_cv_prog_CPP=$CPP
7237 CPP=$ac_cv_prog_CPP
7238 else
7239 ac_cv_prog_CPP=$CPP
7241 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
7242 $as_echo "$CPP" >&6; }
7243 ac_preproc_ok=false
7244 for ac_c_preproc_warn_flag in '' yes
7246 # Use a header file that comes with gcc, so configuring glibc
7247 # with a fresh cross-compiler works.
7248 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7249 # <limits.h> exists even on freestanding compilers.
7250 # On the NeXT, cc -E runs the code through the compiler's parser,
7251 # not just through cpp. "Syntax error" is here to catch this case.
7252 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7253 /* end confdefs.h. */
7254 #ifdef __STDC__
7255 # include <limits.h>
7256 #else
7257 # include <assert.h>
7258 #endif
7259 Syntax error
7260 _ACEOF
7261 if ac_fn_c_try_cpp "$LINENO"; then :
7263 else
7264 # Broken: fails on valid input.
7265 continue
7267 rm -f conftest.err conftest.i conftest.$ac_ext
7269 # OK, works on sane cases. Now check whether nonexistent headers
7270 # can be detected and how.
7271 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7272 /* end confdefs.h. */
7273 #include <ac_nonexistent.h>
7274 _ACEOF
7275 if ac_fn_c_try_cpp "$LINENO"; then :
7276 # Broken: success on invalid input.
7277 continue
7278 else
7279 # Passes both tests.
7280 ac_preproc_ok=:
7281 break
7283 rm -f conftest.err conftest.i conftest.$ac_ext
7285 done
7286 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7287 rm -f conftest.i conftest.err conftest.$ac_ext
7288 if $ac_preproc_ok; then :
7290 else
7291 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
7292 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
7293 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
7294 See \`config.log' for more details" "$LINENO" 5; }
7297 ac_ext=c
7298 ac_cpp='$CPP $CPPFLAGS'
7299 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7300 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7301 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7304 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
7305 $as_echo_n "checking for ANSI C header files... " >&6; }
7306 if ${ac_cv_header_stdc+:} false; then :
7307 $as_echo_n "(cached) " >&6
7308 else
7309 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7310 /* end confdefs.h. */
7311 #include <stdlib.h>
7312 #include <stdarg.h>
7313 #include <string.h>
7314 #include <float.h>
7317 main ()
7321 return 0;
7323 _ACEOF
7324 if ac_fn_c_try_compile "$LINENO"; then :
7325 ac_cv_header_stdc=yes
7326 else
7327 ac_cv_header_stdc=no
7329 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7331 if test $ac_cv_header_stdc = yes; then
7332 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
7333 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7334 /* end confdefs.h. */
7335 #include <string.h>
7337 _ACEOF
7338 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7339 $EGREP "memchr" >/dev/null 2>&1; then :
7341 else
7342 ac_cv_header_stdc=no
7344 rm -f conftest*
7348 if test $ac_cv_header_stdc = yes; then
7349 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
7350 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7351 /* end confdefs.h. */
7352 #include <stdlib.h>
7354 _ACEOF
7355 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7356 $EGREP "free" >/dev/null 2>&1; then :
7358 else
7359 ac_cv_header_stdc=no
7361 rm -f conftest*
7365 if test $ac_cv_header_stdc = yes; then
7366 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
7367 if test "$cross_compiling" = yes; then :
7369 else
7370 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7371 /* end confdefs.h. */
7372 #include <ctype.h>
7373 #include <stdlib.h>
7374 #if ((' ' & 0x0FF) == 0x020)
7375 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
7376 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
7377 #else
7378 # define ISLOWER(c) \
7379 (('a' <= (c) && (c) <= 'i') \
7380 || ('j' <= (c) && (c) <= 'r') \
7381 || ('s' <= (c) && (c) <= 'z'))
7382 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
7383 #endif
7385 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
7387 main ()
7389 int i;
7390 for (i = 0; i < 256; i++)
7391 if (XOR (islower (i), ISLOWER (i))
7392 || toupper (i) != TOUPPER (i))
7393 return 2;
7394 return 0;
7396 _ACEOF
7397 if ac_fn_c_try_run "$LINENO"; then :
7399 else
7400 ac_cv_header_stdc=no
7402 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
7403 conftest.$ac_objext conftest.beam conftest.$ac_ext
7408 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
7409 $as_echo "$ac_cv_header_stdc" >&6; }
7410 if test $ac_cv_header_stdc = yes; then
7412 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
7416 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
7417 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
7418 inttypes.h stdint.h unistd.h
7419 do :
7420 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7421 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
7423 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7424 cat >>confdefs.h <<_ACEOF
7425 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7426 _ACEOF
7430 done
7433 for ac_header in \
7434 AL/al.h \
7435 ApplicationServices/ApplicationServices.h \
7436 AudioToolbox/AudioConverter.h \
7437 AudioUnit/AudioUnit.h \
7438 AudioUnit/AudioComponent.h \
7439 CL/cl.h \
7440 Carbon/Carbon.h \
7441 CommonCrypto/CommonCryptor.h \
7442 CoreAudio/CoreAudio.h \
7443 DiskArbitration/DiskArbitration.h \
7444 EGL/egl.h \
7445 IOKit/IOKitLib.h \
7446 IOKit/hid/IOHIDLib.h \
7447 OpenAL/al.h \
7448 OpenCL/opencl.h \
7449 QuickTime/ImageCompression.h \
7450 Security/Security.h \
7451 SystemConfiguration/SCDynamicStoreCopyDHCPInfo.h \
7452 SystemConfiguration/SCNetworkConfiguration.h \
7453 alias.h \
7454 arpa/inet.h \
7455 arpa/nameser.h \
7456 asm/types.h \
7457 asm/user.h \
7458 dirent.h \
7459 dlfcn.h \
7460 elf.h \
7461 float.h \
7462 fnmatch.h \
7463 getopt.h \
7464 gettext-po.h \
7465 grp.h \
7466 gsm.h \
7467 gsm/gsm.h \
7468 ieeefp.h \
7469 inet/mib2.h \
7470 kstat.h \
7471 libproc.h \
7472 link.h \
7473 linux/cdrom.h \
7474 linux/filter.h \
7475 linux/hdreg.h \
7476 linux/hidraw.h \
7477 linux/input.h \
7478 linux/ioctl.h \
7479 linux/joystick.h \
7480 linux/major.h \
7481 linux/param.h \
7482 linux/serial.h \
7483 linux/types.h \
7484 linux/ucdrom.h \
7485 lwp.h \
7486 mach-o/loader.h \
7487 mach/mach.h \
7488 machine/cpu.h \
7489 machine/sysarch.h \
7490 mntent.h \
7491 netdb.h \
7492 netinet/in.h \
7493 netinet/in_systm.h \
7494 netinet/tcp.h \
7495 netinet/tcp_fsm.h \
7496 pcap/pcap.h \
7497 poll.h \
7498 port.h \
7499 pthread.h \
7500 pwd.h \
7501 sasl/sasl.h \
7502 sched.h \
7503 scsi/scsi.h \
7504 scsi/scsi_ioctl.h \
7505 scsi/sg.h \
7506 stdint.h \
7507 stropts.h \
7508 sys/attr.h \
7509 sys/auxv.h \
7510 sys/cdio.h \
7511 sys/epoll.h \
7512 sys/event.h \
7513 sys/filio.h \
7514 sys/ioctl.h \
7515 sys/ipc.h \
7516 sys/link.h \
7517 sys/mman.h \
7518 sys/modem.h \
7519 sys/msg.h \
7520 sys/mtio.h \
7521 sys/param.h \
7522 sys/poll.h \
7523 sys/prctl.h \
7524 sys/protosw.h \
7525 sys/ptrace.h \
7526 sys/queue.h \
7527 sys/random.h \
7528 sys/resource.h \
7529 sys/scsiio.h \
7530 sys/shm.h \
7531 sys/signal.h \
7532 sys/socket.h \
7533 sys/socketvar.h \
7534 sys/sockio.h \
7535 sys/statvfs.h \
7536 sys/strtio.h \
7537 sys/syscall.h \
7538 sys/sysinfo.h \
7539 sys/tihdr.h \
7540 sys/time.h \
7541 sys/timeout.h \
7542 sys/times.h \
7543 sys/uio.h \
7544 sys/user.h \
7545 sys/utsname.h \
7546 sys/vnode.h \
7547 sys/wait.h \
7548 syscall.h \
7549 termios.h \
7550 unistd.h \
7551 utime.h \
7552 valgrind/memcheck.h \
7553 valgrind/valgrind.h
7555 do :
7556 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7557 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
7558 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7559 cat >>confdefs.h <<_ACEOF
7560 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7561 _ACEOF
7565 done
7567 ac_fn_c_check_header_mongrel "$LINENO" "sys/mkdev.h" "ac_cv_header_sys_mkdev_h" "$ac_includes_default"
7568 if test "x$ac_cv_header_sys_mkdev_h" = xyes; then :
7570 $as_echo "#define MAJOR_IN_MKDEV 1" >>confdefs.h
7575 if test $ac_cv_header_sys_mkdev_h = no; then
7576 ac_fn_c_check_header_mongrel "$LINENO" "sys/sysmacros.h" "ac_cv_header_sys_sysmacros_h" "$ac_includes_default"
7577 if test "x$ac_cv_header_sys_sysmacros_h" = xyes; then :
7579 $as_echo "#define MAJOR_IN_SYSMACROS 1" >>confdefs.h
7585 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stat file-mode macros are broken" >&5
7586 $as_echo_n "checking whether stat file-mode macros are broken... " >&6; }
7587 if ${ac_cv_header_stat_broken+:} false; then :
7588 $as_echo_n "(cached) " >&6
7589 else
7590 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7591 /* end confdefs.h. */
7592 #include <sys/types.h>
7593 #include <sys/stat.h>
7595 #if defined S_ISBLK && defined S_IFDIR
7596 extern char c1[S_ISBLK (S_IFDIR) ? -1 : 1];
7597 #endif
7599 #if defined S_ISBLK && defined S_IFCHR
7600 extern char c2[S_ISBLK (S_IFCHR) ? -1 : 1];
7601 #endif
7603 #if defined S_ISLNK && defined S_IFREG
7604 extern char c3[S_ISLNK (S_IFREG) ? -1 : 1];
7605 #endif
7607 #if defined S_ISSOCK && defined S_IFREG
7608 extern char c4[S_ISSOCK (S_IFREG) ? -1 : 1];
7609 #endif
7611 _ACEOF
7612 if ac_fn_c_try_compile "$LINENO"; then :
7613 ac_cv_header_stat_broken=no
7614 else
7615 ac_cv_header_stat_broken=yes
7617 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7619 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stat_broken" >&5
7620 $as_echo "$ac_cv_header_stat_broken" >&6; }
7621 if test $ac_cv_header_stat_broken = yes; then
7623 $as_echo "#define STAT_MACROS_BROKEN 1" >>confdefs.h
7629 for ac_header in sys/conf.h sys/mount.h sys/statfs.h sys/user.h sys/vfs.h
7630 do :
7631 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7632 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7633 #ifdef HAVE_SYS_PARAM_H
7634 # include <sys/param.h>
7635 #endif
7637 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7638 cat >>confdefs.h <<_ACEOF
7639 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7640 _ACEOF
7644 done
7647 saved_sysctl_h_CFLAGS=$CFLAGS
7648 test "x${GCC}" != xyes || CFLAGS="$CFLAGS -Werror"
7649 for ac_header in sys/sysctl.h
7650 do :
7651 ac_fn_c_check_header_compile "$LINENO" "sys/sysctl.h" "ac_cv_header_sys_sysctl_h" "#include <sys/types.h>
7652 #ifdef HAVE_SYS_PARAM_H
7653 # include <sys/param.h>
7654 #endif
7656 if test "x$ac_cv_header_sys_sysctl_h" = xyes; then :
7657 cat >>confdefs.h <<_ACEOF
7658 #define HAVE_SYS_SYSCTL_H 1
7659 _ACEOF
7663 done
7665 CFLAGS=$saved_sysctl_h_CFLAGS
7667 for ac_header in \
7668 netinet/ip.h \
7669 net/if.h \
7670 net/if_arp.h \
7671 net/if_dl.h \
7672 net/if_types.h \
7673 net/route.h \
7674 netinet/if_ether.h \
7675 netinet/if_inarp.h \
7676 netinet/in_pcb.h \
7677 netinet/ip_icmp.h \
7678 netinet/ip_var.h \
7679 netinet/udp.h \
7680 netipx/ipx.h \
7681 sys/un.h \
7683 do :
7684 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7685 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7686 #ifdef HAVE_SYS_SOCKET_H
7687 # include <sys/socket.h>
7688 #endif
7689 #ifdef HAVE_SYS_SOCKETVAR_H
7690 # include <sys/socketvar.h>
7691 #endif
7692 #ifdef HAVE_NET_ROUTE_H
7693 # include <net/route.h>
7694 #endif
7695 #ifdef HAVE_NETINET_IN_H
7696 # include <netinet/in.h>
7697 #endif
7698 #ifdef HAVE_NETINET_IN_SYSTM_H
7699 # include <netinet/in_systm.h>
7700 #endif
7701 #ifdef HAVE_NET_IF_H
7702 # include <net/if.h>
7703 #endif
7704 #ifdef HAVE_NETINET_IP_H
7705 # include <netinet/ip.h>
7706 #endif
7708 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7709 cat >>confdefs.h <<_ACEOF
7710 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7711 _ACEOF
7715 done
7718 for ac_header in netinet/tcp_timer.h netinet/udp_var.h netinet/icmp_var.h netinet/tcp_var.h
7719 do :
7720 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7721 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7722 #ifdef HAVE_ALIAS_H
7723 # include <alias.h>
7724 #endif
7725 #ifdef HAVE_SYS_SOCKET_H
7726 # include <sys/socket.h>
7727 #endif
7728 #ifdef HAVE_SYS_SOCKETVAR_H
7729 # include <sys/socketvar.h>
7730 #endif
7731 #ifdef HAVE_SYS_TIMEOUT_H
7732 # include <sys/timeout.h>
7733 #endif
7734 #ifdef HAVE_NETINET_IN_H
7735 # include <netinet/in.h>
7736 #endif
7737 #ifdef HAVE_NETINET_IN_SYSTM_H
7738 # include <netinet/in_systm.h>
7739 #endif
7740 #ifdef HAVE_NETINET_IP_H
7741 # include <netinet/ip.h>
7742 #endif
7743 #ifdef HAVE_NETINET_IP_VAR_H
7744 # include <netinet/ip_var.h>
7745 #endif
7746 #ifdef HAVE_NETINET_IP_ICMP_H
7747 # include <netinet/ip_icmp.h>
7748 #endif
7749 #ifdef HAVE_NETINET_UDP_H
7750 # include <netinet/udp.h>
7751 #endif
7752 #ifdef HAVE_NETINET_TCP_H
7753 # include <netinet/tcp.h>
7754 #endif
7755 #ifdef HAVE_NETINET_TCP_TIMER_H
7756 #include <netinet/tcp_timer.h>
7757 #endif
7759 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7760 cat >>confdefs.h <<_ACEOF
7761 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7762 _ACEOF
7766 done
7769 for ac_header in linux/ipx.h linux/irda.h linux/rtnetlink.h
7770 do :
7771 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7772 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7773 #ifdef HAVE_ASM_TYPES_H
7774 # include <asm/types.h>
7775 #endif
7776 #ifdef HAVE_SYS_SOCKET_H
7777 # include <sys/socket.h>
7778 #endif
7779 #ifdef HAVE_LINUX_TYPES_H
7780 # include <linux/types.h>
7781 #endif
7783 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7784 cat >>confdefs.h <<_ACEOF
7785 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7786 _ACEOF
7790 done
7793 for ac_header in resolv.h
7794 do :
7795 ac_fn_c_check_header_compile "$LINENO" "resolv.h" "ac_cv_header_resolv_h" "#include <sys/types.h>
7796 #ifdef HAVE_SYS_SOCKET_H
7797 # include <sys/socket.h>
7798 #endif
7799 #ifdef HAVE_NETINET_IN_H
7800 # include <netinet/in.h>
7801 #endif
7802 #ifdef HAVE_ARPA_NAMESER_H
7803 # include <arpa/nameser.h>
7804 #endif
7806 if test "x$ac_cv_header_resolv_h" = xyes; then :
7807 cat >>confdefs.h <<_ACEOF
7808 #define HAVE_RESOLV_H 1
7809 _ACEOF
7813 done
7816 for ac_header in ifaddrs.h
7817 do :
7818 ac_fn_c_check_header_compile "$LINENO" "ifaddrs.h" "ac_cv_header_ifaddrs_h" "#include <sys/types.h>
7820 if test "x$ac_cv_header_ifaddrs_h" = xyes; then :
7821 cat >>confdefs.h <<_ACEOF
7822 #define HAVE_IFADDRS_H 1
7823 _ACEOF
7827 done
7830 for ac_header in sys/ucontext.h
7831 do :
7832 ac_fn_c_check_header_compile "$LINENO" "sys/ucontext.h" "ac_cv_header_sys_ucontext_h" "#include <signal.h>
7834 if test "x$ac_cv_header_sys_ucontext_h" = xyes; then :
7835 cat >>confdefs.h <<_ACEOF
7836 #define HAVE_SYS_UCONTEXT_H 1
7837 _ACEOF
7841 done
7844 for ac_header in sys/thr.h
7845 do :
7846 ac_fn_c_check_header_compile "$LINENO" "sys/thr.h" "ac_cv_header_sys_thr_h" "#include <sys/types.h>
7847 #ifdef HAVE_SYS_UCONTEXT_H
7848 #include <sys/ucontext.h>
7849 #endif
7851 if test "x$ac_cv_header_sys_thr_h" = xyes; then :
7852 cat >>confdefs.h <<_ACEOF
7853 #define HAVE_SYS_THR_H 1
7854 _ACEOF
7858 done
7861 for ac_header in pthread_np.h
7862 do :
7863 ac_fn_c_check_header_compile "$LINENO" "pthread_np.h" "ac_cv_header_pthread_np_h" "#ifdef HAVE_PTHREAD_H
7864 #include <pthread.h>
7865 #endif
7867 if test "x$ac_cv_header_pthread_np_h" = xyes; then :
7868 cat >>confdefs.h <<_ACEOF
7869 #define HAVE_PTHREAD_NP_H 1
7870 _ACEOF
7874 done
7877 for ac_header in linux/videodev2.h
7878 do :
7879 ac_fn_c_check_header_compile "$LINENO" "linux/videodev2.h" "ac_cv_header_linux_videodev2_h" "#ifdef HAVE_SYS_TIME_H
7880 #include <sys/time.h>
7881 #endif
7882 #include <sys/types.h>
7883 #ifdef HAVE_ASM_TYPES_H
7884 #include <asm/types.h>
7885 #endif
7887 if test "x$ac_cv_header_linux_videodev2_h" = xyes; then :
7888 cat >>confdefs.h <<_ACEOF
7889 #define HAVE_LINUX_VIDEODEV2_H 1
7890 _ACEOF
7894 done
7897 for ac_header in libprocstat.h
7898 do :
7899 ac_fn_c_check_header_compile "$LINENO" "libprocstat.h" "ac_cv_header_libprocstat_h" "#ifdef HAVE_SYS_PARAM_H
7900 #include <sys/param.h>
7901 #endif
7902 #ifdef HAVE_SYS_QUEUE_H
7903 #include <sys/queue.h>
7904 #endif
7905 #ifdef HAVE_SYS_SOCKET_H
7906 #include <sys/socket.h>
7907 #endif
7909 if test "x$ac_cv_header_libprocstat_h" = xyes; then :
7910 cat >>confdefs.h <<_ACEOF
7911 #define HAVE_LIBPROCSTAT_H 1
7912 _ACEOF
7916 done
7920 DLLFLAGS="-D_REENTRANT"
7922 LDDLLFLAGS=""
7924 LDEXECFLAGS=""
7926 TOP_INSTALL_LIB=""
7928 TOP_INSTALL_DEV=""
7930 WINELOADER_LDFLAGS=""
7932 WINEPRELOADER_LDFLAGS=""
7934 LIBEXT="so"
7935 DLLEXT=".so"
7936 # Extract the first word of "ldd", so it can be a program name with args.
7937 set dummy ldd; ac_word=$2
7938 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7939 $as_echo_n "checking for $ac_word... " >&6; }
7940 if ${ac_cv_path_LDD+:} false; then :
7941 $as_echo_n "(cached) " >&6
7942 else
7943 case $LDD in
7944 [\\/]* | ?:[\\/]*)
7945 ac_cv_path_LDD="$LDD" # Let the user override the test with a path.
7948 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7949 as_dummy="/sbin:/usr/sbin:$PATH"
7950 for as_dir in $as_dummy
7952 IFS=$as_save_IFS
7953 test -z "$as_dir" && as_dir=.
7954 for ac_exec_ext in '' $ac_executable_extensions; do
7955 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7956 ac_cv_path_LDD="$as_dir/$ac_word$ac_exec_ext"
7957 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7958 break 2
7960 done
7961 done
7962 IFS=$as_save_IFS
7964 test -z "$ac_cv_path_LDD" && ac_cv_path_LDD="true"
7966 esac
7968 LDD=$ac_cv_path_LDD
7969 if test -n "$LDD"; then
7970 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDD" >&5
7971 $as_echo "$LDD" >&6; }
7972 else
7973 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7974 $as_echo "no" >&6; }
7978 if test -n "$ac_tool_prefix"; then
7979 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
7980 set dummy ${ac_tool_prefix}otool; ac_word=$2
7981 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7982 $as_echo_n "checking for $ac_word... " >&6; }
7983 if ${ac_cv_prog_OTOOL+:} false; then :
7984 $as_echo_n "(cached) " >&6
7985 else
7986 if test -n "$OTOOL"; then
7987 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
7988 else
7989 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7990 for as_dir in $PATH
7992 IFS=$as_save_IFS
7993 test -z "$as_dir" && as_dir=.
7994 for ac_exec_ext in '' $ac_executable_extensions; do
7995 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7996 ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
7997 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7998 break 2
8000 done
8001 done
8002 IFS=$as_save_IFS
8006 OTOOL=$ac_cv_prog_OTOOL
8007 if test -n "$OTOOL"; then
8008 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
8009 $as_echo "$OTOOL" >&6; }
8010 else
8011 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8012 $as_echo "no" >&6; }
8017 if test -z "$ac_cv_prog_OTOOL"; then
8018 ac_ct_OTOOL=$OTOOL
8019 # Extract the first word of "otool", so it can be a program name with args.
8020 set dummy otool; ac_word=$2
8021 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8022 $as_echo_n "checking for $ac_word... " >&6; }
8023 if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
8024 $as_echo_n "(cached) " >&6
8025 else
8026 if test -n "$ac_ct_OTOOL"; then
8027 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
8028 else
8029 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8030 for as_dir in $PATH
8032 IFS=$as_save_IFS
8033 test -z "$as_dir" && as_dir=.
8034 for ac_exec_ext in '' $ac_executable_extensions; do
8035 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8036 ac_cv_prog_ac_ct_OTOOL="otool"
8037 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8038 break 2
8040 done
8041 done
8042 IFS=$as_save_IFS
8046 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
8047 if test -n "$ac_ct_OTOOL"; then
8048 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
8049 $as_echo "$ac_ct_OTOOL" >&6; }
8050 else
8051 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8052 $as_echo "no" >&6; }
8055 if test "x$ac_ct_OTOOL" = x; then
8056 OTOOL="otool"
8057 else
8058 case $cross_compiling:$ac_tool_warned in
8059 yes:)
8060 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8061 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8062 ac_tool_warned=yes ;;
8063 esac
8064 OTOOL=$ac_ct_OTOOL
8066 else
8067 OTOOL="$ac_cv_prog_OTOOL"
8070 if test -n "$ac_tool_prefix"; then
8071 # Extract the first word of "${ac_tool_prefix}readelf", so it can be a program name with args.
8072 set dummy ${ac_tool_prefix}readelf; ac_word=$2
8073 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8074 $as_echo_n "checking for $ac_word... " >&6; }
8075 if ${ac_cv_prog_READELF+:} false; then :
8076 $as_echo_n "(cached) " >&6
8077 else
8078 if test -n "$READELF"; then
8079 ac_cv_prog_READELF="$READELF" # Let the user override the test.
8080 else
8081 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8082 for as_dir in $PATH
8084 IFS=$as_save_IFS
8085 test -z "$as_dir" && as_dir=.
8086 for ac_exec_ext in '' $ac_executable_extensions; do
8087 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8088 ac_cv_prog_READELF="${ac_tool_prefix}readelf"
8089 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8090 break 2
8092 done
8093 done
8094 IFS=$as_save_IFS
8098 READELF=$ac_cv_prog_READELF
8099 if test -n "$READELF"; then
8100 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $READELF" >&5
8101 $as_echo "$READELF" >&6; }
8102 else
8103 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8104 $as_echo "no" >&6; }
8109 if test -z "$ac_cv_prog_READELF"; then
8110 ac_ct_READELF=$READELF
8111 # Extract the first word of "readelf", so it can be a program name with args.
8112 set dummy readelf; ac_word=$2
8113 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8114 $as_echo_n "checking for $ac_word... " >&6; }
8115 if ${ac_cv_prog_ac_ct_READELF+:} false; then :
8116 $as_echo_n "(cached) " >&6
8117 else
8118 if test -n "$ac_ct_READELF"; then
8119 ac_cv_prog_ac_ct_READELF="$ac_ct_READELF" # Let the user override the test.
8120 else
8121 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8122 for as_dir in $PATH
8124 IFS=$as_save_IFS
8125 test -z "$as_dir" && as_dir=.
8126 for ac_exec_ext in '' $ac_executable_extensions; do
8127 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8128 ac_cv_prog_ac_ct_READELF="readelf"
8129 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8130 break 2
8132 done
8133 done
8134 IFS=$as_save_IFS
8138 ac_ct_READELF=$ac_cv_prog_ac_ct_READELF
8139 if test -n "$ac_ct_READELF"; then
8140 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_READELF" >&5
8141 $as_echo "$ac_ct_READELF" >&6; }
8142 else
8143 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8144 $as_echo "no" >&6; }
8147 if test "x$ac_ct_READELF" = x; then
8148 READELF="true"
8149 else
8150 case $cross_compiling:$ac_tool_warned in
8151 yes:)
8152 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8153 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8154 ac_tool_warned=yes ;;
8155 esac
8156 READELF=$ac_ct_READELF
8158 else
8159 READELF="$ac_cv_prog_READELF"
8162 wine_rules_file=conf$$rules.make
8163 rm -f $wine_rules_file
8164 SUBDIRS=""
8166 DISABLED_SUBDIRS=""
8168 CONFIGURE_TARGETS=""
8171 wine_fn_append_file ()
8173 as_fn_append $1 " \\$as_nl $2"
8176 wine_fn_append_rule ()
8178 $as_echo "$1" >>$wine_rules_file
8181 wine_fn_config_makefile ()
8183 wine_fn_append_file SUBDIRS $1
8184 if eval test \"x\$"$2"\" = x"no"; then :
8185 wine_fn_append_file DISABLED_SUBDIRS $1
8189 wine_fn_config_symlink ()
8191 ac_links=$@
8192 wine_fn_append_rule \
8193 "$ac_links:
8194 @./config.status \$@"
8195 for f in $ac_links; do wine_fn_append_file CONFIGURE_TARGETS $f; done
8198 wine_binary="wine"
8199 test "x$enable_win64" != "xyes" || wine_binary="wine64"
8200 WINELOADER_PROGRAMS="$wine_binary"
8202 libwine_soversion=`expr $libwine_version : '\([0-9]*\)\..*'`
8204 case $host_os in
8205 cygwin*|mingw32*)
8206 if test -n "$ac_tool_prefix"; then
8207 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
8208 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
8209 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8210 $as_echo_n "checking for $ac_word... " >&6; }
8211 if ${ac_cv_prog_DLLTOOL+:} false; then :
8212 $as_echo_n "(cached) " >&6
8213 else
8214 if test -n "$DLLTOOL"; then
8215 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
8216 else
8217 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8218 for as_dir in $PATH
8220 IFS=$as_save_IFS
8221 test -z "$as_dir" && as_dir=.
8222 for ac_exec_ext in '' $ac_executable_extensions; do
8223 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8224 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
8225 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8226 break 2
8228 done
8229 done
8230 IFS=$as_save_IFS
8234 DLLTOOL=$ac_cv_prog_DLLTOOL
8235 if test -n "$DLLTOOL"; then
8236 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
8237 $as_echo "$DLLTOOL" >&6; }
8238 else
8239 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8240 $as_echo "no" >&6; }
8245 if test -z "$ac_cv_prog_DLLTOOL"; then
8246 ac_ct_DLLTOOL=$DLLTOOL
8247 # Extract the first word of "dlltool", so it can be a program name with args.
8248 set dummy dlltool; ac_word=$2
8249 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8250 $as_echo_n "checking for $ac_word... " >&6; }
8251 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
8252 $as_echo_n "(cached) " >&6
8253 else
8254 if test -n "$ac_ct_DLLTOOL"; then
8255 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
8256 else
8257 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8258 for as_dir in $PATH
8260 IFS=$as_save_IFS
8261 test -z "$as_dir" && as_dir=.
8262 for ac_exec_ext in '' $ac_executable_extensions; do
8263 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8264 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
8265 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8266 break 2
8268 done
8269 done
8270 IFS=$as_save_IFS
8274 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
8275 if test -n "$ac_ct_DLLTOOL"; then
8276 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
8277 $as_echo "$ac_ct_DLLTOOL" >&6; }
8278 else
8279 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8280 $as_echo "no" >&6; }
8283 if test "x$ac_ct_DLLTOOL" = x; then
8284 DLLTOOL="false"
8285 else
8286 case $cross_compiling:$ac_tool_warned in
8287 yes:)
8288 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8289 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8290 ac_tool_warned=yes ;;
8291 esac
8292 DLLTOOL=$ac_ct_DLLTOOL
8294 else
8295 DLLTOOL="$ac_cv_prog_DLLTOOL"
8298 LIBEXT="dll"
8299 DLLEXT=""
8300 case $host_cpu in
8301 *i[3456]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--disable-stdcall-fixup" >&5
8302 $as_echo_n "checking whether the compiler supports -Wl,--disable-stdcall-fixup... " >&6; }
8303 if ${ac_cv_cflags__Wl___disable_stdcall_fixup+:} false; then :
8304 $as_echo_n "(cached) " >&6
8305 else
8306 ac_wine_try_cflags_saved=$CFLAGS
8307 CFLAGS="$CFLAGS -Wl,--disable-stdcall-fixup"
8308 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8309 /* end confdefs.h. */
8310 int main(int argc, char **argv) { return 0; }
8311 _ACEOF
8312 if ac_fn_c_try_link "$LINENO"; then :
8313 ac_cv_cflags__Wl___disable_stdcall_fixup=yes
8314 else
8315 ac_cv_cflags__Wl___disable_stdcall_fixup=no
8317 rm -f core conftest.err conftest.$ac_objext \
8318 conftest$ac_exeext conftest.$ac_ext
8319 CFLAGS=$ac_wine_try_cflags_saved
8321 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___disable_stdcall_fixup" >&5
8322 $as_echo "$ac_cv_cflags__Wl___disable_stdcall_fixup" >&6; }
8323 if test "x$ac_cv_cflags__Wl___disable_stdcall_fixup" = xyes; then :
8324 LDDLLFLAGS="-Wl,--disable-stdcall-fixup"
8325 fi ;;
8326 esac
8327 enable_iphlpapi=${enable_iphlpapi:-no}
8328 enable_ws2_32=${enable_ws2_32:-no}
8329 enable_loader=${enable_loader:-no}
8330 enable_server=${enable_server:-no}
8331 with_x=${with_x:-no}
8332 with_pthread=${with_pthread:-no}
8335 darwin*|macosx*)
8336 ac_ext=m
8337 ac_cpp='$OBJCPP $CPPFLAGS'
8338 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8339 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8340 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
8342 ac_ext=m
8343 ac_cpp='$OBJCPP $CPPFLAGS'
8344 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8345 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8346 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
8347 if test -n "$ac_tool_prefix"; then
8348 for ac_prog in gcc objcc objc cc CC
8350 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
8351 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
8352 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8353 $as_echo_n "checking for $ac_word... " >&6; }
8354 if ${ac_cv_prog_OBJC+:} false; then :
8355 $as_echo_n "(cached) " >&6
8356 else
8357 if test -n "$OBJC"; then
8358 ac_cv_prog_OBJC="$OBJC" # Let the user override the test.
8359 else
8360 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8361 for as_dir in $PATH
8363 IFS=$as_save_IFS
8364 test -z "$as_dir" && as_dir=.
8365 for ac_exec_ext in '' $ac_executable_extensions; do
8366 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8367 ac_cv_prog_OBJC="$ac_tool_prefix$ac_prog"
8368 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8369 break 2
8371 done
8372 done
8373 IFS=$as_save_IFS
8377 OBJC=$ac_cv_prog_OBJC
8378 if test -n "$OBJC"; then
8379 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJC" >&5
8380 $as_echo "$OBJC" >&6; }
8381 else
8382 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8383 $as_echo "no" >&6; }
8387 test -n "$OBJC" && break
8388 done
8390 if test -z "$OBJC"; then
8391 ac_ct_OBJC=$OBJC
8392 for ac_prog in gcc objcc objc cc CC
8394 # Extract the first word of "$ac_prog", so it can be a program name with args.
8395 set dummy $ac_prog; ac_word=$2
8396 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8397 $as_echo_n "checking for $ac_word... " >&6; }
8398 if ${ac_cv_prog_ac_ct_OBJC+:} false; then :
8399 $as_echo_n "(cached) " >&6
8400 else
8401 if test -n "$ac_ct_OBJC"; then
8402 ac_cv_prog_ac_ct_OBJC="$ac_ct_OBJC" # Let the user override the test.
8403 else
8404 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8405 for as_dir in $PATH
8407 IFS=$as_save_IFS
8408 test -z "$as_dir" && as_dir=.
8409 for ac_exec_ext in '' $ac_executable_extensions; do
8410 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8411 ac_cv_prog_ac_ct_OBJC="$ac_prog"
8412 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8413 break 2
8415 done
8416 done
8417 IFS=$as_save_IFS
8421 ac_ct_OBJC=$ac_cv_prog_ac_ct_OBJC
8422 if test -n "$ac_ct_OBJC"; then
8423 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJC" >&5
8424 $as_echo "$ac_ct_OBJC" >&6; }
8425 else
8426 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8427 $as_echo "no" >&6; }
8431 test -n "$ac_ct_OBJC" && break
8432 done
8434 if test "x$ac_ct_OBJC" = x; then
8435 OBJC="gcc"
8436 else
8437 case $cross_compiling:$ac_tool_warned in
8438 yes:)
8439 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8440 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8441 ac_tool_warned=yes ;;
8442 esac
8443 OBJC=$ac_ct_OBJC
8447 # Provide some information about the compiler.
8448 $as_echo "$as_me:${as_lineno-$LINENO}: checking for Objective C compiler version" >&5
8449 set X $ac_compile
8450 ac_compiler=$2
8451 for ac_option in --version -v -V -qversion; do
8452 { { ac_try="$ac_compiler $ac_option >&5"
8453 case "(($ac_try" in
8454 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8455 *) ac_try_echo=$ac_try;;
8456 esac
8457 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
8458 $as_echo "$ac_try_echo"; } >&5
8459 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
8460 ac_status=$?
8461 if test -s conftest.err; then
8462 sed '10a\
8463 ... rest of stderr output deleted ...
8464 10q' conftest.err >conftest.er1
8465 cat conftest.er1 >&5
8467 rm -f conftest.er1 conftest.err
8468 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8469 test $ac_status = 0; }
8470 done
8472 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU Objective C compiler" >&5
8473 $as_echo_n "checking whether we are using the GNU Objective C compiler... " >&6; }
8474 if ${ac_cv_objc_compiler_gnu+:} false; then :
8475 $as_echo_n "(cached) " >&6
8476 else
8477 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8478 /* end confdefs.h. */
8481 main ()
8483 #ifndef __GNUC__
8484 choke me
8485 #endif
8488 return 0;
8490 _ACEOF
8491 if ac_fn_objc_try_compile "$LINENO"; then :
8492 ac_compiler_gnu=yes
8493 else
8494 ac_compiler_gnu=no
8496 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8497 ac_cv_objc_compiler_gnu=$ac_compiler_gnu
8500 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objc_compiler_gnu" >&5
8501 $as_echo "$ac_cv_objc_compiler_gnu" >&6; }
8502 if test $ac_compiler_gnu = yes; then
8503 GOBJC=yes
8504 else
8505 GOBJC=
8507 ac_test_OBJCFLAGS=${OBJCFLAGS+set}
8508 ac_save_OBJCFLAGS=$OBJCFLAGS
8509 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $OBJC accepts -g" >&5
8510 $as_echo_n "checking whether $OBJC accepts -g... " >&6; }
8511 if ${ac_cv_prog_objc_g+:} false; then :
8512 $as_echo_n "(cached) " >&6
8513 else
8514 ac_save_objc_werror_flag=$ac_objc_werror_flag
8515 ac_objc_werror_flag=yes
8516 ac_cv_prog_objc_g=no
8517 OBJCFLAGS="-g"
8518 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8519 /* end confdefs.h. */
8522 main ()
8526 return 0;
8528 _ACEOF
8529 if ac_fn_objc_try_compile "$LINENO"; then :
8530 ac_cv_prog_objc_g=yes
8531 else
8532 OBJCFLAGS=""
8533 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8534 /* end confdefs.h. */
8537 main ()
8541 return 0;
8543 _ACEOF
8544 if ac_fn_objc_try_compile "$LINENO"; then :
8546 else
8547 ac_objc_werror_flag=$ac_save_objc_werror_flag
8548 OBJCFLAGS="-g"
8549 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8550 /* end confdefs.h. */
8553 main ()
8557 return 0;
8559 _ACEOF
8560 if ac_fn_objc_try_compile "$LINENO"; then :
8561 ac_cv_prog_objc_g=yes
8563 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8565 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8567 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8568 ac_objc_werror_flag=$ac_save_objc_werror_flag
8570 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_objc_g" >&5
8571 $as_echo "$ac_cv_prog_objc_g" >&6; }
8572 if test "$ac_test_OBJCFLAGS" = set; then
8573 OBJCFLAGS=$ac_save_OBJCFLAGS
8574 elif test $ac_cv_prog_objc_g = yes; then
8575 if test "$GOBJC" = yes; then
8576 OBJCFLAGS="-g -O2"
8577 else
8578 OBJCFLAGS="-g"
8580 else
8581 if test "$GOBJC" = yes; then
8582 OBJCFLAGS="-O2"
8583 else
8584 OBJCFLAGS=
8587 ac_ext=m
8588 ac_cpp='$OBJCPP $CPPFLAGS'
8589 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8590 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8591 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
8594 ac_ext=m
8595 ac_cpp='$OBJCPP $CPPFLAGS'
8596 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8597 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8598 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
8599 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the Objective C preprocessor" >&5
8600 $as_echo_n "checking how to run the Objective C preprocessor... " >&6; }
8601 if test -z "$OBJCPP"; then
8602 if ${ac_cv_prog_OBJCPP+:} false; then :
8603 $as_echo_n "(cached) " >&6
8604 else
8605 # Double quotes because OBJCPP needs to be expanded
8606 for OBJCPP in "$OBJC -E" "/lib/cpp"
8608 ac_preproc_ok=false
8609 for ac_objc_preproc_warn_flag in '' yes
8611 # Use a header file that comes with gcc, so configuring glibc
8612 # with a fresh cross-compiler works.
8613 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8614 # <limits.h> exists even on freestanding compilers.
8615 # On the NeXT, cc -E runs the code through the compiler's parser,
8616 # not just through cpp. "Syntax error" is here to catch this case.
8617 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8618 /* end confdefs.h. */
8619 #ifdef __STDC__
8620 # include <limits.h>
8621 #else
8622 # include <assert.h>
8623 #endif
8624 Syntax error
8625 _ACEOF
8626 if ac_fn_objc_try_cpp "$LINENO"; then :
8628 else
8629 # Broken: fails on valid input.
8630 continue
8632 rm -f conftest.err conftest.i conftest.$ac_ext
8634 # OK, works on sane cases. Now check whether nonexistent headers
8635 # can be detected and how.
8636 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8637 /* end confdefs.h. */
8638 #include <ac_nonexistent.h>
8639 _ACEOF
8640 if ac_fn_objc_try_cpp "$LINENO"; then :
8641 # Broken: success on invalid input.
8642 continue
8643 else
8644 # Passes both tests.
8645 ac_preproc_ok=:
8646 break
8648 rm -f conftest.err conftest.i conftest.$ac_ext
8650 done
8651 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
8652 rm -f conftest.i conftest.err conftest.$ac_ext
8653 if $ac_preproc_ok; then :
8654 break
8657 done
8658 ac_cv_prog_OBJCPP=$OBJCPP
8661 OBJCPP=$ac_cv_prog_OBJCPP
8662 else
8663 ac_cv_prog_OBJCPP=$OBJCPP
8665 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJCPP" >&5
8666 $as_echo "$OBJCPP" >&6; }
8667 ac_preproc_ok=false
8668 for ac_objc_preproc_warn_flag in '' yes
8670 # Use a header file that comes with gcc, so configuring glibc
8671 # with a fresh cross-compiler works.
8672 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8673 # <limits.h> exists even on freestanding compilers.
8674 # On the NeXT, cc -E runs the code through the compiler's parser,
8675 # not just through cpp. "Syntax error" is here to catch this case.
8676 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8677 /* end confdefs.h. */
8678 #ifdef __STDC__
8679 # include <limits.h>
8680 #else
8681 # include <assert.h>
8682 #endif
8683 Syntax error
8684 _ACEOF
8685 if ac_fn_objc_try_cpp "$LINENO"; then :
8687 else
8688 # Broken: fails on valid input.
8689 continue
8691 rm -f conftest.err conftest.i conftest.$ac_ext
8693 # OK, works on sane cases. Now check whether nonexistent headers
8694 # can be detected and how.
8695 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8696 /* end confdefs.h. */
8697 #include <ac_nonexistent.h>
8698 _ACEOF
8699 if ac_fn_objc_try_cpp "$LINENO"; then :
8700 # Broken: success on invalid input.
8701 continue
8702 else
8703 # Passes both tests.
8704 ac_preproc_ok=:
8705 break
8707 rm -f conftest.err conftest.i conftest.$ac_ext
8709 done
8710 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
8711 rm -f conftest.i conftest.err conftest.$ac_ext
8712 if $ac_preproc_ok; then :
8714 else
8715 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
8716 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
8717 as_fn_error $? "Objective C preprocessor \"$OBJCPP\" fails sanity check
8718 See \`config.log' for more details" "$LINENO" 5; }
8721 ac_ext=m
8722 ac_cpp='$OBJCPP $CPPFLAGS'
8723 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8724 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8725 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
8728 for ac_header in Metal/Metal.h
8729 do :
8730 ac_fn_objc_check_header_mongrel "$LINENO" "Metal/Metal.h" "ac_cv_header_Metal_Metal_h" "$ac_includes_default"
8731 if test "x$ac_cv_header_Metal_Metal_h" = xyes; then :
8732 cat >>confdefs.h <<_ACEOF
8733 #define HAVE_METAL_METAL_H 1
8734 _ACEOF
8738 done
8740 ac_ext=c
8741 ac_cpp='$CPP $CPPFLAGS'
8742 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8743 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8744 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8746 LIBEXT="dylib"
8747 DLLFLAGS="$DLLFLAGS -fPIC"
8748 LDDLLFLAGS="-fPIC"
8749 COREFOUNDATION_LIBS="-framework CoreFoundation"
8751 IOKIT_LIBS="-framework IOKit -framework CoreFoundation"
8753 FORCEFEEDBACK_LIBS="-framework ForceFeedback -framework CoreFoundation"
8755 APPLICATIONSERVICES_LIBS="-framework ApplicationServices"
8757 CORESERVICES_LIBS="-framework CoreServices"
8759 APPKIT_LIBS="-framework AppKit"
8761 SYSTEMCONFIGURATION_LIBS="-framework SystemConfiguration"
8764 WINELOADER_LDFLAGS="-Wl,-pie,-pagezero_size,0x1000,-sectcreate,__TEXT,__info_plist,loader/wine_info.plist"
8766 wine_can_build_preloader=yes
8767 WINEPRELOADER_LDFLAGS="-nostartfiles -nodefaultlibs -e _start -ldylib1.o -Wl,-image_base,0x7d400000,-pagezero_size,0x1000,-sectcreate,__TEXT,__info_plist,loader/wine_info.plist,-segaddr,WINE_4GB_RESERVE,0x100000000"
8768 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-no_new_main -e _main" >&5
8769 $as_echo_n "checking whether the compiler supports -Wl,-no_new_main -e _main... " >&6; }
8770 if ${ac_cv_cflags__Wl__no_new_main__e__main+:} false; then :
8771 $as_echo_n "(cached) " >&6
8772 else
8773 ac_wine_try_cflags_saved=$CFLAGS
8774 CFLAGS="$CFLAGS -Wl,-no_new_main -e _main"
8775 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8776 /* end confdefs.h. */
8777 int main(int argc, char **argv) { return 0; }
8778 _ACEOF
8779 if ac_fn_c_try_link "$LINENO"; then :
8780 ac_cv_cflags__Wl__no_new_main__e__main=yes
8781 else
8782 ac_cv_cflags__Wl__no_new_main__e__main=no
8784 rm -f core conftest.err conftest.$ac_objext \
8785 conftest$ac_exeext conftest.$ac_ext
8786 CFLAGS=$ac_wine_try_cflags_saved
8788 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__no_new_main__e__main" >&5
8789 $as_echo "$ac_cv_cflags__Wl__no_new_main__e__main" >&6; }
8790 if test "x$ac_cv_cflags__Wl__no_new_main__e__main" = xyes; then :
8791 WINEPRELOADER_LDFLAGS="-Wl,-no_new_main $WINEPRELOADER_LDFLAGS"
8792 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-no_new_main -e _main -nostartfiles -nodefaultlibs" >&5
8793 $as_echo_n "checking whether the compiler supports -Wl,-no_new_main -e _main -nostartfiles -nodefaultlibs... " >&6; }
8794 if ${ac_cv_cflags__Wl__no_new_main__e__main__nostartfiles__nodefaultlibs+:} false; then :
8795 $as_echo_n "(cached) " >&6
8796 else
8797 ac_wine_try_cflags_saved=$CFLAGS
8798 CFLAGS="$CFLAGS -Wl,-no_new_main -e _main -nostartfiles -nodefaultlibs"
8799 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8800 /* end confdefs.h. */
8801 int main(int argc, char **argv) { return 0; }
8802 _ACEOF
8803 if ac_fn_c_try_link "$LINENO"; then :
8804 ac_cv_cflags__Wl__no_new_main__e__main__nostartfiles__nodefaultlibs=yes
8805 else
8806 ac_cv_cflags__Wl__no_new_main__e__main__nostartfiles__nodefaultlibs=no
8808 rm -f core conftest.err conftest.$ac_objext \
8809 conftest$ac_exeext conftest.$ac_ext
8810 CFLAGS=$ac_wine_try_cflags_saved
8812 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__no_new_main__e__main__nostartfiles__nodefaultlibs" >&5
8813 $as_echo "$ac_cv_cflags__Wl__no_new_main__e__main__nostartfiles__nodefaultlibs" >&6; }
8814 if test "x$ac_cv_cflags__Wl__no_new_main__e__main__nostartfiles__nodefaultlibs" = xyes; then :
8815 EXTRACFLAGS="$EXTRACFLAGS -Wl,-no_new_main -e _main -nostartfiles -nodefaultlibs"
8816 else
8817 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-no_new_main -e _main -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs" >&5
8818 $as_echo_n "checking whether the compiler supports -Wl,-no_new_main -e _main -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs... " >&6; }
8819 if ${ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs+:} false; then :
8820 $as_echo_n "(cached) " >&6
8821 else
8822 ac_wine_try_cflags_saved=$CFLAGS
8823 CFLAGS="$CFLAGS -Wl,-no_new_main -e _main -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs"
8824 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8825 /* end confdefs.h. */
8826 int main(int argc, char **argv) { return 0; }
8827 _ACEOF
8828 if ac_fn_c_try_link "$LINENO"; then :
8829 ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs=yes
8830 else
8831 ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs=no
8833 rm -f core conftest.err conftest.$ac_objext \
8834 conftest$ac_exeext conftest.$ac_ext
8835 CFLAGS=$ac_wine_try_cflags_saved
8837 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" >&5
8838 $as_echo "$ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" >&6; }
8839 if test "x$ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" = xyes; then :
8840 WINEPRELOADER_LDFLAGS="-mmacosx-version-min=10.7 $WINEPRELOADER_LDFLAGS"
8841 else
8842 wine_can_build_preloader=no
8845 else
8846 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -nostartfiles -nodefaultlibs" >&5
8847 $as_echo_n "checking whether the compiler supports -nostartfiles -nodefaultlibs... " >&6; }
8848 if ${ac_cv_cflags__nostartfiles__nodefaultlibs+:} false; then :
8849 $as_echo_n "(cached) " >&6
8850 else
8851 ac_wine_try_cflags_saved=$CFLAGS
8852 CFLAGS="$CFLAGS -nostartfiles -nodefaultlibs"
8853 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8854 /* end confdefs.h. */
8855 int main(int argc, char **argv) { return 0; }
8856 _ACEOF
8857 if ac_fn_c_try_link "$LINENO"; then :
8858 ac_cv_cflags__nostartfiles__nodefaultlibs=yes
8859 else
8860 ac_cv_cflags__nostartfiles__nodefaultlibs=no
8862 rm -f core conftest.err conftest.$ac_objext \
8863 conftest$ac_exeext conftest.$ac_ext
8864 CFLAGS=$ac_wine_try_cflags_saved
8866 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__nostartfiles__nodefaultlibs" >&5
8867 $as_echo "$ac_cv_cflags__nostartfiles__nodefaultlibs" >&6; }
8868 if test "x$ac_cv_cflags__nostartfiles__nodefaultlibs" = xyes; then :
8869 EXTRACFLAGS="$EXTRACFLAGS -nostartfiles -nodefaultlibs"
8870 else
8871 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs" >&5
8872 $as_echo_n "checking whether the compiler supports -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs... " >&6; }
8873 if ${ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs+:} false; then :
8874 $as_echo_n "(cached) " >&6
8875 else
8876 ac_wine_try_cflags_saved=$CFLAGS
8877 CFLAGS="$CFLAGS -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs"
8878 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8879 /* end confdefs.h. */
8880 int main(int argc, char **argv) { return 0; }
8881 _ACEOF
8882 if ac_fn_c_try_link "$LINENO"; then :
8883 ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs=yes
8884 else
8885 ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs=no
8887 rm -f core conftest.err conftest.$ac_objext \
8888 conftest$ac_exeext conftest.$ac_ext
8889 CFLAGS=$ac_wine_try_cflags_saved
8891 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" >&5
8892 $as_echo "$ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" >&6; }
8893 if test "x$ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" = xyes; then :
8894 WINEPRELOADER_LDFLAGS="-mmacosx-version-min=10.7 $WINEPRELOADER_LDFLAGS"
8895 else
8896 wine_can_build_preloader=no
8900 if test "$wine_can_build_preloader" = "yes"
8901 then
8902 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-no_pie" >&5
8903 $as_echo_n "checking whether the compiler supports -Wl,-no_pie... " >&6; }
8904 if ${ac_cv_cflags__Wl__no_pie+:} false; then :
8905 $as_echo_n "(cached) " >&6
8906 else
8907 ac_wine_try_cflags_saved=$CFLAGS
8908 CFLAGS="$CFLAGS -Wl,-no_pie"
8909 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8910 /* end confdefs.h. */
8911 int main(int argc, char **argv) { return 0; }
8912 _ACEOF
8913 if ac_fn_c_try_link "$LINENO"; then :
8914 ac_cv_cflags__Wl__no_pie=yes
8915 else
8916 ac_cv_cflags__Wl__no_pie=no
8918 rm -f core conftest.err conftest.$ac_objext \
8919 conftest$ac_exeext conftest.$ac_ext
8920 CFLAGS=$ac_wine_try_cflags_saved
8922 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__no_pie" >&5
8923 $as_echo "$ac_cv_cflags__Wl__no_pie" >&6; }
8924 if test "x$ac_cv_cflags__Wl__no_pie" = xyes; then :
8925 WINEPRELOADER_LDFLAGS="-Wl,-no_pie $WINEPRELOADER_LDFLAGS"
8927 test "$wine_binary" = wine || wine_fn_append_file CONFIGURE_TARGETS "loader/wine-preloader"
8928 WINELOADER_PROGRAMS="$WINELOADER_PROGRAMS $wine_binary-preloader"
8929 else
8930 as_fn_append wine_warnings "|can't build Wine preloader; many programs won't work"
8933 if test "$ac_cv_header_DiskArbitration_DiskArbitration_h" = "yes"
8934 then
8935 DISKARBITRATION_LIBS="-framework DiskArbitration -framework CoreFoundation"
8938 if test "$ac_cv_header_Security_Security_h" = "yes"
8939 then
8940 SECURITY_LIBS="-framework Security -framework CoreFoundation"
8942 ac_save_LIBS="$LIBS"
8943 LIBS="$LIBS $SECURITY_LIBS"
8944 for ac_func in SSLCopyPeerCertificates
8945 do :
8946 ac_fn_c_check_func "$LINENO" "SSLCopyPeerCertificates" "ac_cv_func_SSLCopyPeerCertificates"
8947 if test "x$ac_cv_func_SSLCopyPeerCertificates" = xyes; then :
8948 cat >>confdefs.h <<_ACEOF
8949 #define HAVE_SSLCOPYPEERCERTIFICATES 1
8950 _ACEOF
8953 done
8955 LIBS="$ac_save_LIBS"
8957 if test "$ac_cv_header_CoreAudio_CoreAudio_h" = "yes" -a "$ac_cv_header_AudioUnit_AudioUnit_h" = "yes"
8958 then
8959 if test "$ac_cv_header_AudioUnit_AudioComponent_h" = "yes"
8960 then
8961 COREAUDIO_LIBS="-framework CoreFoundation -framework CoreAudio -framework AudioUnit -framework AudioToolbox -framework CoreMIDI"
8963 else
8964 COREAUDIO_LIBS="-framework CoreAudio -framework AudioUnit -framework CoreServices -framework AudioToolbox -framework CoreMIDI"
8967 enable_winecoreaudio_drv=${enable_winecoreaudio_drv:-yes}
8968 ac_save_LIBS="$LIBS"
8969 LIBS="$LIBS $COREAUDIO_LIBS"
8970 for ac_func in AUGraphAddNode
8971 do :
8972 ac_fn_c_check_func "$LINENO" "AUGraphAddNode" "ac_cv_func_AUGraphAddNode"
8973 if test "x$ac_cv_func_AUGraphAddNode" = xyes; then :
8974 cat >>confdefs.h <<_ACEOF
8975 #define HAVE_AUGRAPHADDNODE 1
8976 _ACEOF
8979 done
8981 LIBS="$ac_save_LIBS"
8983 if test "$ac_cv_header_OpenAL_al_h" = "yes"
8984 then
8985 OPENAL_LIBS="-framework OpenAL"
8988 cat >>confdefs.h <<_ACEOF
8989 #define HAVE_OPENAL 1
8990 _ACEOF
8992 ac_cv_lib_openal=yes
8994 if test "$ac_cv_header_OpenCL_opencl_h" = "yes"
8995 then
8996 OPENCL_LIBS="-framework OpenCL"
8998 ac_cv_lib_OpenCL_clGetPlatformInfo=yes
9000 if test "$ac_cv_header_IOKit_hid_IOHIDLib_h" = "yes"
9001 then
9002 ac_save_LIBS="$LIBS"
9003 LIBS="$LIBS $IOKIT_LIBS"
9004 for ac_func in IOHIDManagerCreate
9005 do :
9006 ac_fn_c_check_func "$LINENO" "IOHIDManagerCreate" "ac_cv_func_IOHIDManagerCreate"
9007 if test "x$ac_cv_func_IOHIDManagerCreate" = xyes; then :
9008 cat >>confdefs.h <<_ACEOF
9009 #define HAVE_IOHIDMANAGERCREATE 1
9010 _ACEOF
9013 done
9015 LIBS="$ac_save_LIBS"
9018 if test "x$with_quicktime" != "xno"
9019 then
9020 if test "$ac_cv_header_QuickTime_ImageCompression_h" = "yes"
9021 then
9022 ac_save_LIBS="$LIBS"
9023 LIBS="-framework QuickTime -framework ApplicationServices -framework CoreVideo $LIBS"
9024 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the QuickTime framework" >&5
9025 $as_echo_n "checking for the QuickTime framework... " >&6; }
9026 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9027 /* end confdefs.h. */
9028 #include <QuickTime/ImageCompression.h>
9030 main ()
9032 CodecManagerVersion(NULL);
9034 return 0;
9036 _ACEOF
9037 if ac_fn_c_try_link "$LINENO"; then :
9038 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
9039 $as_echo "yes" >&6; }
9040 QUICKTIME_LIBS="-framework QuickTime -framework ApplicationServices -framework CoreVideo"
9042 enable_wineqtdecoder=${enable_wineqtdecoder:-yes}
9043 else
9044 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9045 $as_echo "no" >&6; }
9046 ac_cv_header_QuickTime_ImageCompression_h=no
9048 rm -f core conftest.err conftest.$ac_objext \
9049 conftest$ac_exeext conftest.$ac_ext
9050 LIBS="$ac_save_LIBS"
9053 if test "$ac_cv_header_QuickTime_ImageCompression_h" != "yes"; then :
9054 case "x$with_quicktime" in
9055 x) as_fn_append wine_notices "|QuickTime ${notice_platform}development files not found, video decoding won't be supported." ;;
9056 xno) ;;
9057 *) as_fn_error $? "QuickTime ${notice_platform}development files not found, video decoding won't be supported.
9058 This is an error since --with-quicktime was requested." "$LINENO" 5 ;;
9059 esac
9063 if test "$ac_cv_header_Carbon_Carbon_h" = "yes"
9064 then
9065 CARBON_LIBS="-framework Carbon"
9068 if test "$ac_cv_header_Metal_Metal_h" = "yes"
9069 then
9070 METAL_LIBS="-framework Metal -framework QuartzCore"
9074 if test "$ac_cv_header_Metal_Metal_h" = "yes"
9075 then
9076 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether MTLDevice protocol supports registryID property" >&5
9077 $as_echo_n "checking whether MTLDevice protocol supports registryID property... " >&6; }
9078 ac_ext=m
9079 ac_cpp='$OBJCPP $CPPFLAGS'
9080 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9081 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9082 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
9084 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9085 /* end confdefs.h. */
9086 #include <Metal/Metal.h>
9088 main ()
9090 id<MTLDevice> device; device.registryID;
9092 return 0;
9094 _ACEOF
9095 if ac_fn_objc_try_compile "$LINENO"; then :
9096 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
9097 $as_echo "yes" >&6; }
9099 $as_echo "#define HAVE_MTLDEVICE_REGISTRYID 1" >>confdefs.h
9101 else
9102 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9103 $as_echo "no" >&6; }
9105 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9106 ac_ext=c
9107 ac_cpp='$CPP $CPPFLAGS'
9108 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9109 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9110 ac_compiler_gnu=$ac_cv_c_compiler_gnu
9114 if test "$ac_cv_header_ApplicationServices_ApplicationServices_h" = "yes"
9115 then
9116 ac_save_LIBS="$LIBS"
9117 LIBS="$LIBS $APPLICATIONSERVICES_LIBS"
9118 ac_fn_c_check_func "$LINENO" "CGDisplayModeGetWidth" "ac_cv_func_CGDisplayModeGetWidth"
9119 if test "x$ac_cv_func_CGDisplayModeGetWidth" = xyes; then :
9120 enable_winemac_drv=${enable_winemac_drv:-yes}
9123 LIBS="$ac_save_LIBS"
9126 LIBWINE_SHAREDLIB="libwine.$libwine_version.dylib"
9128 LIBWINE_LDFLAGS="-dynamiclib -install_name @rpath/libwine.$libwine_soversion.dylib -Wl,-rpath,@loader_path/ -compatibility_version $libwine_soversion -current_version $libwine_version"
9130 WINELOADER_DEPENDS="wine_info.plist"
9132 TOP_INSTALL_LIB="$TOP_INSTALL_LIB libs/wine/libwine.$libwine_version.dylib libs/wine/libwine.$libwine_soversion.dylib"
9135 linux-android*)
9136 DLLFLAGS="$DLLFLAGS -fPIC"
9137 LDDLLFLAGS="-fPIC"
9138 LDEXECFLAGS="-Wl,-pie"
9139 enable_wineandroid_drv=${enable_wineandroid_drv:-yes}
9140 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
9141 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--export-dynamic... " >&6; }
9142 if ${ac_cv_cflags__fPIC__Wl___export_dynamic+:} false; then :
9143 $as_echo_n "(cached) " >&6
9144 else
9145 ac_wine_try_cflags_saved=$CFLAGS
9146 CFLAGS="$CFLAGS -fPIC -Wl,--export-dynamic"
9147 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9148 /* end confdefs.h. */
9149 int main(int argc, char **argv) { return 0; }
9150 _ACEOF
9151 if ac_fn_c_try_link "$LINENO"; then :
9152 ac_cv_cflags__fPIC__Wl___export_dynamic=yes
9153 else
9154 ac_cv_cflags__fPIC__Wl___export_dynamic=no
9156 rm -f core conftest.err conftest.$ac_objext \
9157 conftest$ac_exeext conftest.$ac_ext
9158 CFLAGS=$ac_wine_try_cflags_saved
9160 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
9161 $as_echo "$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
9162 if test "x$ac_cv_cflags__fPIC__Wl___export_dynamic" = xyes; then :
9163 WINELOADER_LDFLAGS="-Wl,--export-dynamic"
9165 WINEPRELOADER_LDFLAGS="-static -nostartfiles -nodefaultlibs -Wl,-Ttext=0x7d400000"
9167 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lEGL" >&5
9168 $as_echo_n "checking for -lEGL... " >&6; }
9169 if ${ac_cv_lib_soname_EGL+:} false; then :
9170 $as_echo_n "(cached) " >&6
9171 else
9172 ac_check_soname_save_LIBS=$LIBS
9173 LIBS="-lEGL $LIBS"
9174 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9175 /* end confdefs.h. */
9177 /* Override any GCC internal prototype to avoid an error.
9178 Use char because int might match the return type of a GCC
9179 builtin and then its argument prototype would still apply. */
9180 #ifdef __cplusplus
9181 extern "C"
9182 #endif
9183 char eglGetProcAddress ();
9185 main ()
9187 return eglGetProcAddress ();
9189 return 0;
9191 _ACEOF
9192 if ac_fn_c_try_link "$LINENO"; then :
9193 case "$LIBEXT" in
9194 dll) ac_cv_lib_soname_EGL=`$ac_cv_path_LDD conftest.exe | grep "EGL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9195 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'` ;;
9196 *) ac_cv_lib_soname_EGL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libEGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libEGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9197 if ${ac_cv_lib_soname_EGL:+false} :; then :
9198 ac_cv_lib_soname_EGL=`$LDD conftest$ac_exeext | grep "libEGL\\.$LIBEXT" | sed -e "s/^.*\(libEGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9199 fi ;;
9200 esac
9201 else
9202 ac_cv_lib_soname_EGL=
9204 rm -f core conftest.err conftest.$ac_objext \
9205 conftest$ac_exeext conftest.$ac_ext
9206 LIBS=$ac_check_soname_save_LIBS
9208 if ${ac_cv_lib_soname_EGL:+false} :; then :
9209 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9210 $as_echo "not found" >&6; }
9212 else
9213 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_EGL" >&5
9214 $as_echo "$ac_cv_lib_soname_EGL" >&6; }
9216 cat >>confdefs.h <<_ACEOF
9217 #define SONAME_LIBEGL "$ac_cv_lib_soname_EGL"
9218 _ACEOF
9222 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGLESv2" >&5
9223 $as_echo_n "checking for -lGLESv2... " >&6; }
9224 if ${ac_cv_lib_soname_GLESv2+:} false; then :
9225 $as_echo_n "(cached) " >&6
9226 else
9227 ac_check_soname_save_LIBS=$LIBS
9228 LIBS="-lGLESv2 $LIBS"
9229 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9230 /* end confdefs.h. */
9232 /* Override any GCC internal prototype to avoid an error.
9233 Use char because int might match the return type of a GCC
9234 builtin and then its argument prototype would still apply. */
9235 #ifdef __cplusplus
9236 extern "C"
9237 #endif
9238 char glFlush ();
9240 main ()
9242 return glFlush ();
9244 return 0;
9246 _ACEOF
9247 if ac_fn_c_try_link "$LINENO"; then :
9248 case "$LIBEXT" in
9249 dll) ac_cv_lib_soname_GLESv2=`$ac_cv_path_LDD conftest.exe | grep "GLESv2" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9250 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'` ;;
9251 *) ac_cv_lib_soname_GLESv2=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGLESv2\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGLESv2\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9252 if ${ac_cv_lib_soname_GLESv2:+false} :; then :
9253 ac_cv_lib_soname_GLESv2=`$LDD conftest$ac_exeext | grep "libGLESv2\\.$LIBEXT" | sed -e "s/^.*\(libGLESv2\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9254 fi ;;
9255 esac
9256 else
9257 ac_cv_lib_soname_GLESv2=
9259 rm -f core conftest.err conftest.$ac_objext \
9260 conftest$ac_exeext conftest.$ac_ext
9261 LIBS=$ac_check_soname_save_LIBS
9263 if ${ac_cv_lib_soname_GLESv2:+false} :; then :
9264 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9265 $as_echo "not found" >&6; }
9267 else
9268 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GLESv2" >&5
9269 $as_echo "$ac_cv_lib_soname_GLESv2" >&6; }
9271 cat >>confdefs.h <<_ACEOF
9272 #define SONAME_LIBGLESV2 "$ac_cv_lib_soname_GLESv2"
9273 _ACEOF
9278 if test "x$exec_prefix" = xNONE
9279 then
9280 case $host_cpu in
9281 *i[3456]86*) exec_prefix='${prefix}/x86' ;;
9282 *x86_64*) exec_prefix='${prefix}/x86_64' ;;
9283 *arm*) exec_prefix='${prefix}/armeabi-v7a' ;;
9284 *aarch64*) exec_prefix='${prefix}/arm64-v8a' ;;
9285 esac
9290 case $host_cpu in
9291 *i[3456789]86*)
9292 DLLFLAGS="$DLLFLAGS -fno-PIC"
9293 LDDLLFLAGS="-fno-PIC"
9294 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-PIC -Wl,-z,notext" >&5
9295 $as_echo_n "checking whether the compiler supports -fno-PIC -Wl,-z,notext... " >&6; }
9296 if ${ac_cv_cflags__fno_PIC__Wl__z_notext+:} false; then :
9297 $as_echo_n "(cached) " >&6
9298 else
9299 ac_wine_try_cflags_saved=$CFLAGS
9300 CFLAGS="$CFLAGS -fno-PIC -Wl,-z,notext"
9301 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9302 /* end confdefs.h. */
9303 int main(int argc, char **argv) { return 0; }
9304 _ACEOF
9305 if ac_fn_c_try_link "$LINENO"; then :
9306 ac_cv_cflags__fno_PIC__Wl__z_notext=yes
9307 else
9308 ac_cv_cflags__fno_PIC__Wl__z_notext=no
9310 rm -f core conftest.err conftest.$ac_objext \
9311 conftest$ac_exeext conftest.$ac_ext
9312 CFLAGS=$ac_wine_try_cflags_saved
9314 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_PIC__Wl__z_notext" >&5
9315 $as_echo "$ac_cv_cflags__fno_PIC__Wl__z_notext" >&6; }
9316 if test "x$ac_cv_cflags__fno_PIC__Wl__z_notext" = xyes; then :
9317 LDDLLFLAGS="$LDDLLFLAGS -Wl,-z,notext"
9321 DLLFLAGS="$DLLFLAGS -fPIC"
9322 LDDLLFLAGS="-fPIC" ;;
9323 esac
9324 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build a GNU style ELF dll" >&5
9325 $as_echo_n "checking whether we can build a GNU style ELF dll... " >&6; }
9326 if ${ac_cv_c_dll_gnuelf+:} false; then :
9327 $as_echo_n "(cached) " >&6
9328 else
9329 ac_wine_try_cflags_saved=$CFLAGS
9330 CFLAGS="$CFLAGS -fPIC -shared -Wl,-Bsymbolic"
9331 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9332 /* end confdefs.h. */
9333 void myfunc() {}
9334 _ACEOF
9335 if ac_fn_c_try_link "$LINENO"; then :
9336 ac_cv_cflags__fPIC__shared__Wl__Bsymbolic=yes
9337 else
9338 ac_cv_cflags__fPIC__shared__Wl__Bsymbolic=no
9340 rm -f core conftest.err conftest.$ac_objext \
9341 conftest$ac_exeext conftest.$ac_ext
9342 CFLAGS=$ac_wine_try_cflags_saved
9343 if test "x$ac_cv_cflags__fPIC__shared__Wl__Bsymbolic" = xyes; then :
9344 ac_cv_c_dll_gnuelf="yes"
9345 else
9346 ac_cv_c_dll_gnuelf="no"
9349 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dll_gnuelf" >&5
9350 $as_echo "$ac_cv_c_dll_gnuelf" >&6; }
9351 if test "$ac_cv_c_dll_gnuelf" = "yes"
9352 then
9353 LIBWINE_LDFLAGS="-shared"
9354 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -shared -Wl,-soname,confest.so.1" >&5
9355 $as_echo_n "checking whether the compiler supports -shared -Wl,-soname,confest.so.1... " >&6; }
9356 if ${ac_cv_cflags__shared__Wl__soname_confest_so_1+:} false; then :
9357 $as_echo_n "(cached) " >&6
9358 else
9359 ac_wine_try_cflags_saved=$CFLAGS
9360 CFLAGS="$CFLAGS -shared -Wl,-soname,confest.so.1"
9361 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9362 /* end confdefs.h. */
9363 int main(int argc, char **argv) { return 0; }
9364 _ACEOF
9365 if ac_fn_c_try_link "$LINENO"; then :
9366 ac_cv_cflags__shared__Wl__soname_confest_so_1=yes
9367 else
9368 ac_cv_cflags__shared__Wl__soname_confest_so_1=no
9370 rm -f core conftest.err conftest.$ac_objext \
9371 conftest$ac_exeext conftest.$ac_ext
9372 CFLAGS=$ac_wine_try_cflags_saved
9374 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__shared__Wl__soname_confest_so_1" >&5
9375 $as_echo "$ac_cv_cflags__shared__Wl__soname_confest_so_1" >&6; }
9376 if test "x$ac_cv_cflags__shared__Wl__soname_confest_so_1" = xyes; then :
9377 LIBWINE_LDFLAGS="-shared -Wl,-soname,libwine.so.$libwine_soversion"
9378 else
9379 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -shared -Wl,-h,confest.so.1" >&5
9380 $as_echo_n "checking whether the compiler supports -shared -Wl,-h,confest.so.1... " >&6; }
9381 if ${ac_cv_cflags__shared__Wl__h_confest_so_1+:} false; then :
9382 $as_echo_n "(cached) " >&6
9383 else
9384 ac_wine_try_cflags_saved=$CFLAGS
9385 CFLAGS="$CFLAGS -shared -Wl,-h,confest.so.1"
9386 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9387 /* end confdefs.h. */
9388 int main(int argc, char **argv) { return 0; }
9389 _ACEOF
9390 if ac_fn_c_try_link "$LINENO"; then :
9391 ac_cv_cflags__shared__Wl__h_confest_so_1=yes
9392 else
9393 ac_cv_cflags__shared__Wl__h_confest_so_1=no
9395 rm -f core conftest.err conftest.$ac_objext \
9396 conftest$ac_exeext conftest.$ac_ext
9397 CFLAGS=$ac_wine_try_cflags_saved
9399 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__shared__Wl__h_confest_so_1" >&5
9400 $as_echo "$ac_cv_cflags__shared__Wl__h_confest_so_1" >&6; }
9401 if test "x$ac_cv_cflags__shared__Wl__h_confest_so_1" = xyes; then :
9402 LIBWINE_LDFLAGS="-shared -Wl,-h,libwine.so.$libwine_soversion"
9406 echo '{ global: *; };' >conftest.map
9407 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -shared -Wl,--version-script=conftest.map" >&5
9408 $as_echo_n "checking whether the compiler supports -shared -Wl,--version-script=conftest.map... " >&6; }
9409 if ${ac_cv_cflags__shared__Wl___version_script_conftest_map+:} false; then :
9410 $as_echo_n "(cached) " >&6
9411 else
9412 ac_wine_try_cflags_saved=$CFLAGS
9413 CFLAGS="$CFLAGS -shared -Wl,--version-script=conftest.map"
9414 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9415 /* end confdefs.h. */
9416 int main(int argc, char **argv) { return 0; }
9417 _ACEOF
9418 if ac_fn_c_try_link "$LINENO"; then :
9419 ac_cv_cflags__shared__Wl___version_script_conftest_map=yes
9420 else
9421 ac_cv_cflags__shared__Wl___version_script_conftest_map=no
9423 rm -f core conftest.err conftest.$ac_objext \
9424 conftest$ac_exeext conftest.$ac_ext
9425 CFLAGS=$ac_wine_try_cflags_saved
9427 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__shared__Wl___version_script_conftest_map" >&5
9428 $as_echo "$ac_cv_cflags__shared__Wl___version_script_conftest_map" >&6; }
9429 if test "x$ac_cv_cflags__shared__Wl___version_script_conftest_map" = xyes; then :
9430 LIBWINE_LDFLAGS="$LIBWINE_LDFLAGS -Wl,--version-script=\$(srcdir)/wine.map"
9432 rm -f conftest.map
9434 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--export-dynamic" >&5
9435 $as_echo_n "checking whether the compiler supports -Wl,--export-dynamic... " >&6; }
9436 if ${ac_cv_cflags__Wl___export_dynamic+:} false; then :
9437 $as_echo_n "(cached) " >&6
9438 else
9439 ac_wine_try_cflags_saved=$CFLAGS
9440 CFLAGS="$CFLAGS -Wl,--export-dynamic"
9441 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9442 /* end confdefs.h. */
9443 int main(int argc, char **argv) { return 0; }
9444 _ACEOF
9445 if ac_fn_c_try_link "$LINENO"; then :
9446 ac_cv_cflags__Wl___export_dynamic=yes
9447 else
9448 ac_cv_cflags__Wl___export_dynamic=no
9450 rm -f core conftest.err conftest.$ac_objext \
9451 conftest$ac_exeext conftest.$ac_ext
9452 CFLAGS=$ac_wine_try_cflags_saved
9454 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___export_dynamic" >&5
9455 $as_echo "$ac_cv_cflags__Wl___export_dynamic" >&6; }
9456 if test "x$ac_cv_cflags__Wl___export_dynamic" = xyes; then :
9457 WINELOADER_LDFLAGS="-Wl,--export-dynamic"
9459 WINEPRELOADER_LDFLAGS="-static -nostartfiles -nodefaultlibs -Wl,-Ttext=0x7d400000"
9461 case $host_cpu in
9462 *i[3456789]86* | x86_64 | *aarch64*)
9463 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-Ttext-segment=0x7bc00000" >&5
9464 $as_echo_n "checking whether the compiler supports -Wl,-Ttext-segment=0x7bc00000... " >&6; }
9465 if ${ac_cv_cflags__Wl__Ttext_segment_0x7bc00000+:} false; then :
9466 $as_echo_n "(cached) " >&6
9467 else
9468 ac_wine_try_cflags_saved=$CFLAGS
9469 CFLAGS="$CFLAGS -Wl,-Ttext-segment=0x7bc00000"
9470 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9471 /* end confdefs.h. */
9472 int main(int argc, char **argv) { return 0; }
9473 _ACEOF
9474 if ac_fn_c_try_link "$LINENO"; then :
9475 ac_cv_cflags__Wl__Ttext_segment_0x7bc00000=yes
9476 else
9477 ac_cv_cflags__Wl__Ttext_segment_0x7bc00000=no
9479 rm -f core conftest.err conftest.$ac_objext \
9480 conftest$ac_exeext conftest.$ac_ext
9481 CFLAGS=$ac_wine_try_cflags_saved
9483 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" >&5
9484 $as_echo "$ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" >&6; }
9485 if test "x$ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" = xyes; then :
9486 case $host_os in
9487 freebsd* | kfreebsd*-gnu) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,-Ttext-segment=0x60000000" ;;
9488 *) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,-Ttext-segment=0x7d000000" ;;
9489 esac
9490 else
9491 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--section-start,.interp=0x7d000400" >&5
9492 $as_echo_n "checking whether the compiler supports -Wl,--section-start,.interp=0x7d000400... " >&6; }
9493 if ${ac_cv_cflags__Wl___section_start__interp_0x7d000400+:} false; then :
9494 $as_echo_n "(cached) " >&6
9495 else
9496 ac_wine_try_cflags_saved=$CFLAGS
9497 CFLAGS="$CFLAGS -Wl,--section-start,.interp=0x7d000400"
9498 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9499 /* end confdefs.h. */
9500 int main(int argc, char **argv) { return 0; }
9501 _ACEOF
9502 if ac_fn_c_try_link "$LINENO"; then :
9503 ac_cv_cflags__Wl___section_start__interp_0x7d000400=yes
9504 else
9505 ac_cv_cflags__Wl___section_start__interp_0x7d000400=no
9507 rm -f core conftest.err conftest.$ac_objext \
9508 conftest$ac_exeext conftest.$ac_ext
9509 CFLAGS=$ac_wine_try_cflags_saved
9511 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___section_start__interp_0x7d000400" >&5
9512 $as_echo "$ac_cv_cflags__Wl___section_start__interp_0x7d000400" >&6; }
9513 if test "x$ac_cv_cflags__Wl___section_start__interp_0x7d000400" = xyes; then :
9514 case $host_os in
9515 freebsd* | kfreebsd*-gnu) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,--section-start,.interp=0x60000400" ;;
9516 *) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,--section-start,.interp=0x7d000400" ;;
9517 esac
9519 # Extract the first word of "prelink", so it can be a program name with args.
9520 set dummy prelink; ac_word=$2
9521 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9522 $as_echo_n "checking for $ac_word... " >&6; }
9523 if ${ac_cv_path_PRELINK+:} false; then :
9524 $as_echo_n "(cached) " >&6
9525 else
9526 case $PRELINK in
9527 [\\/]* | ?:[\\/]*)
9528 ac_cv_path_PRELINK="$PRELINK" # Let the user override the test with a path.
9531 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9532 for as_dir in /sbin /usr/sbin $PATH
9534 IFS=$as_save_IFS
9535 test -z "$as_dir" && as_dir=.
9536 for ac_exec_ext in '' $ac_executable_extensions; do
9537 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9538 ac_cv_path_PRELINK="$as_dir/$ac_word$ac_exec_ext"
9539 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9540 break 2
9542 done
9543 done
9544 IFS=$as_save_IFS
9546 test -z "$ac_cv_path_PRELINK" && ac_cv_path_PRELINK="false"
9548 esac
9550 PRELINK=$ac_cv_path_PRELINK
9551 if test -n "$PRELINK"; then
9552 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PRELINK" >&5
9553 $as_echo "$PRELINK" >&6; }
9554 else
9555 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9556 $as_echo "no" >&6; }
9560 if test "x$PRELINK" = xfalse
9561 then
9562 as_fn_append wine_warnings "|prelink not found and linker does not support relocation, base address of core dlls won't be set correctly."
9565 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-z,max-page-size=0x1000" >&5
9566 $as_echo_n "checking whether the compiler supports -Wl,-z,max-page-size=0x1000... " >&6; }
9567 if ${ac_cv_cflags__Wl__z_max_page_size_0x1000+:} false; then :
9568 $as_echo_n "(cached) " >&6
9569 else
9570 ac_wine_try_cflags_saved=$CFLAGS
9571 CFLAGS="$CFLAGS -Wl,-z,max-page-size=0x1000"
9572 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9573 /* end confdefs.h. */
9574 int main(int argc, char **argv) { return 0; }
9575 _ACEOF
9576 if ac_fn_c_try_link "$LINENO"; then :
9577 ac_cv_cflags__Wl__z_max_page_size_0x1000=yes
9578 else
9579 ac_cv_cflags__Wl__z_max_page_size_0x1000=no
9581 rm -f core conftest.err conftest.$ac_objext \
9582 conftest$ac_exeext conftest.$ac_ext
9583 CFLAGS=$ac_wine_try_cflags_saved
9585 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__z_max_page_size_0x1000" >&5
9586 $as_echo "$ac_cv_cflags__Wl__z_max_page_size_0x1000" >&6; }
9587 if test "x$ac_cv_cflags__Wl__z_max_page_size_0x1000" = xyes; then :
9588 WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,-z,max-page-size=0x1000"
9591 esac
9593 else
9594 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build a UnixWare (Solaris) dll" >&5
9595 $as_echo_n "checking whether we can build a UnixWare (Solaris) dll... " >&6; }
9596 if ${ac_cv_c_dll_unixware+:} false; then :
9597 $as_echo_n "(cached) " >&6
9598 else
9599 ac_wine_try_cflags_saved=$CFLAGS
9600 CFLAGS="$CFLAGS -fPIC -Wl,-G,-h,conftest.so.1.0,-B,symbolic"
9601 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9602 /* end confdefs.h. */
9603 void myfunc() {}
9604 _ACEOF
9605 if ac_fn_c_try_link "$LINENO"; then :
9606 ac_cv_cflags__fPIC__Wl__G__h_conftest_so_1_0__B_symbolic=yes
9607 else
9608 ac_cv_cflags__fPIC__Wl__G__h_conftest_so_1_0__B_symbolic=no
9610 rm -f core conftest.err conftest.$ac_objext \
9611 conftest$ac_exeext conftest.$ac_ext
9612 CFLAGS=$ac_wine_try_cflags_saved
9613 if test "x$ac_cv_cflags__fPIC__Wl__G__h_conftest_so_1_0__B_symbolic" = xyes; then :
9614 ac_cv_c_dll_unixware="yes"
9615 else
9616 ac_cv_c_dll_unixware="no"
9619 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dll_unixware" >&5
9620 $as_echo "$ac_cv_c_dll_unixware" >&6; }
9621 if test "$ac_cv_c_dll_unixware" = "yes"
9622 then
9623 LIBWINE_LDFLAGS="-Wl,-G,-h,libwine.so.$libwine_soversion"
9626 LIBWINE_SHAREDLIB="libwine.so.$libwine_version"
9628 LIBWINE_DEPENDS="wine.map"
9630 TOP_INSTALL_LIB="$TOP_INSTALL_LIB libs/wine/libwine.so.$libwine_version libs/wine/libwine.so.$libwine_soversion"
9632 esac
9634 enable_winecoreaudio_drv=${enable_winecoreaudio_drv:-no}
9635 enable_wineqtdecoder=${enable_wineqtdecoder:-no}
9636 enable_wineandroid_drv=${enable_wineandroid_drv:-no}
9637 enable_winemac_drv=${enable_winemac_drv:-no}
9638 test "$ac_cv_header_linux_joystick_h" = "yes" -o "$ac_cv_header_IOKit_hid_IOHIDLib_h" = "yes" || enable_winejoystick_drv=${enable_winejoystick_drv:-no}
9641 if test "x$with_mingw" != xno
9642 then
9643 case "x$with_mingw" in
9644 x|xyes) case "$host_cpu" in
9645 aarch64*)
9646 ac_prefix_list="aarch64-w64-mingw32-clang aarch64-w64-mingw32-gcc" ;;
9647 arm*)
9648 ac_prefix_list="armv7-w64-mingw32-clang armv7-w64-mingw32-gcc" ;;
9649 i[3456789]86*)
9650 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
9651 i686-w64-mingw32-clang i586-w64-mingw32-clang i486-w64-mingw32-clang i386-w64-mingw32-clang
9652 mingw32-gcc" ;;
9653 x86_64)
9654 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
9655 x86_64-w64-mingw32-clang amd64-w64-mingw32-clang " ;;
9657 ac_prefix_list="" ;;
9658 esac
9659 for ac_prog in $ac_prefix_list
9661 # Extract the first word of "$ac_prog", so it can be a program name with args.
9662 set dummy $ac_prog; ac_word=$2
9663 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9664 $as_echo_n "checking for $ac_word... " >&6; }
9665 if ${ac_cv_prog_CROSSCC+:} false; then :
9666 $as_echo_n "(cached) " >&6
9667 else
9668 if test -n "$CROSSCC"; then
9669 ac_cv_prog_CROSSCC="$CROSSCC" # Let the user override the test.
9670 else
9671 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9672 for as_dir in $PATH
9674 IFS=$as_save_IFS
9675 test -z "$as_dir" && as_dir=.
9676 for ac_exec_ext in '' $ac_executable_extensions; do
9677 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9678 ac_cv_prog_CROSSCC="$ac_prog"
9679 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9680 break 2
9682 done
9683 done
9684 IFS=$as_save_IFS
9688 CROSSCC=$ac_cv_prog_CROSSCC
9689 if test -n "$CROSSCC"; then
9690 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CROSSCC" >&5
9691 $as_echo "$CROSSCC" >&6; }
9692 else
9693 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9694 $as_echo "no" >&6; }
9698 test -n "$CROSSCC" && break
9699 done
9700 test -n "$CROSSCC" || CROSSCC="false"
9702 *) CROSSCC=$with_mingw ;;
9703 esac
9704 if test "$CROSSCC" != "false"
9705 then
9706 ac_save_CC="$CC"
9707 saved_CFLAGS=$CFLAGS
9708 CROSSCFLAGS=${CROSSCFLAGS:-"-g -O2"}
9710 EXTRACROSSCFLAGS="-DWINE_CROSS_PE -Wall"
9714 CC="$CROSSCC"
9715 CFLAGS=$CROSSCFLAGS
9716 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CROSSCC works" >&5
9717 $as_echo_n "checking whether $CROSSCC works... " >&6; }
9718 if ${wine_cv_crosscc+:} false; then :
9719 $as_echo_n "(cached) " >&6
9720 else
9721 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9722 /* end confdefs.h. */
9725 main ()
9729 return 0;
9731 _ACEOF
9732 if ac_fn_c_try_compile "$LINENO"; then :
9733 wine_cv_crosscc=yes
9734 else
9735 wine_cv_crosscc=no
9737 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9739 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_crosscc" >&5
9740 $as_echo "$wine_cv_crosscc" >&6; }
9741 if test $wine_cv_crosscc = yes
9742 then
9743 set x $CROSSCC
9744 shift
9745 while test $# -ge 1
9747 case "$1" in
9748 *-gcc) CROSSTARGET=`expr "$1" : '\(.*\)-gcc'` ;;
9749 *-clang) CROSSTARGET=`expr "$1" : '\(.*\)-clang'` ;;
9750 esac
9751 shift
9752 done
9754 llvm_target=$CROSSTARGET
9755 llvm_cflags="-fuse-ld=lld"
9756 if test -z "$llvm_target"
9757 then
9758 case $host_cpu in
9759 *i[3456789]86*) llvm_target=i686-windows ;;
9760 *) llvm_target=$host_cpu-windows ;;
9761 esac
9763 case $llvm_target in
9764 *windows) llvm_cflags="$llvm_cflags -Wl,-subsystem:console" ;;
9765 esac
9766 as_ac_var=`$as_echo "ac_cv_crosscflags_-target $llvm_target $llvm_cflags" | $as_tr_sh`
9767 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -target $llvm_target $llvm_cflags" >&5
9768 $as_echo_n "checking whether the cross-compiler supports -target $llvm_target $llvm_cflags... " >&6; }
9769 if eval \${$as_ac_var+:} false; then :
9770 $as_echo_n "(cached) " >&6
9771 else
9772 ac_wine_try_cflags_saved=$CFLAGS
9773 ac_wine_try_cflags_saved_cc=$CC
9774 ac_wine_try_cflags_saved_exeext=$ac_exeext
9775 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -target $llvm_target $llvm_cflags"
9776 CC="$CROSSCC"
9777 ac_exeext=".exe"
9778 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9779 /* end confdefs.h. */
9780 int __cdecl mainCRTStartup(void) { return 0; }
9781 _ACEOF
9782 if ac_fn_c_try_link "$LINENO"; then :
9783 eval "$as_ac_var=yes"
9784 else
9785 eval "$as_ac_var=no"
9787 rm -f core conftest.err conftest.$ac_objext \
9788 conftest$ac_exeext conftest.$ac_ext
9789 CFLAGS=$ac_wine_try_cflags_saved
9790 CC=$ac_wine_try_cflags_saved_cc
9791 ac_exeext=$ac_wine_try_cflags_saved_exeext
9793 eval ac_res=\$$as_ac_var
9794 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
9795 $as_echo "$ac_res" >&6; }
9796 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
9797 CROSSTARGET=$llvm_target
9798 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -target $CROSSTARGET"
9799 DELAYLOADFLAG="-Wl,-delayload,"
9801 CFLAGS="$CFLAGS $llvm_cflags"
9804 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -fno-strict-aliasing" >&5
9805 $as_echo_n "checking whether the cross-compiler supports -fno-strict-aliasing... " >&6; }
9806 if ${ac_cv_crosscflags__fno_strict_aliasing+:} false; then :
9807 $as_echo_n "(cached) " >&6
9808 else
9809 ac_wine_try_cflags_saved=$CFLAGS
9810 ac_wine_try_cflags_saved_cc=$CC
9811 ac_wine_try_cflags_saved_exeext=$ac_exeext
9812 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -fno-strict-aliasing"
9813 CC="$CROSSCC"
9814 ac_exeext=".exe"
9815 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9816 /* end confdefs.h. */
9817 int __cdecl mainCRTStartup(void) { return 0; }
9818 _ACEOF
9819 if ac_fn_c_try_link "$LINENO"; then :
9820 ac_cv_crosscflags__fno_strict_aliasing=yes
9821 else
9822 ac_cv_crosscflags__fno_strict_aliasing=no
9824 rm -f core conftest.err conftest.$ac_objext \
9825 conftest$ac_exeext conftest.$ac_ext
9826 CFLAGS=$ac_wine_try_cflags_saved
9827 CC=$ac_wine_try_cflags_saved_cc
9828 ac_exeext=$ac_wine_try_cflags_saved_exeext
9830 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__fno_strict_aliasing" >&5
9831 $as_echo "$ac_cv_crosscflags__fno_strict_aliasing" >&6; }
9832 if test "x$ac_cv_crosscflags__fno_strict_aliasing" = xyes; then :
9833 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -fno-strict-aliasing"
9835 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Werror=unknown-warning-option" >&5
9836 $as_echo_n "checking whether the cross-compiler supports -Werror=unknown-warning-option... " >&6; }
9837 if ${ac_cv_crosscflags__Werror_unknown_warning_option+:} false; then :
9838 $as_echo_n "(cached) " >&6
9839 else
9840 ac_wine_try_cflags_saved=$CFLAGS
9841 ac_wine_try_cflags_saved_cc=$CC
9842 ac_wine_try_cflags_saved_exeext=$ac_exeext
9843 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Werror=unknown-warning-option"
9844 CC="$CROSSCC"
9845 ac_exeext=".exe"
9846 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9847 /* end confdefs.h. */
9848 int __cdecl mainCRTStartup(void) { return 0; }
9849 _ACEOF
9850 if ac_fn_c_try_link "$LINENO"; then :
9851 ac_cv_crosscflags__Werror_unknown_warning_option=yes
9852 else
9853 ac_cv_crosscflags__Werror_unknown_warning_option=no
9855 rm -f core conftest.err conftest.$ac_objext \
9856 conftest$ac_exeext conftest.$ac_ext
9857 CFLAGS=$ac_wine_try_cflags_saved
9858 CC=$ac_wine_try_cflags_saved_cc
9859 ac_exeext=$ac_wine_try_cflags_saved_exeext
9861 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Werror_unknown_warning_option" >&5
9862 $as_echo "$ac_cv_crosscflags__Werror_unknown_warning_option" >&6; }
9863 if test "x$ac_cv_crosscflags__Werror_unknown_warning_option" = xyes; then :
9864 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
9866 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Werror=ignored-optimization-argument" >&5
9867 $as_echo_n "checking whether the cross-compiler supports -Werror=ignored-optimization-argument... " >&6; }
9868 if ${ac_cv_crosscflags__Werror_ignored_optimization_argument+:} false; then :
9869 $as_echo_n "(cached) " >&6
9870 else
9871 ac_wine_try_cflags_saved=$CFLAGS
9872 ac_wine_try_cflags_saved_cc=$CC
9873 ac_wine_try_cflags_saved_exeext=$ac_exeext
9874 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Werror=ignored-optimization-argument"
9875 CC="$CROSSCC"
9876 ac_exeext=".exe"
9877 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9878 /* end confdefs.h. */
9879 int __cdecl mainCRTStartup(void) { return 0; }
9880 _ACEOF
9881 if ac_fn_c_try_link "$LINENO"; then :
9882 ac_cv_crosscflags__Werror_ignored_optimization_argument=yes
9883 else
9884 ac_cv_crosscflags__Werror_ignored_optimization_argument=no
9886 rm -f core conftest.err conftest.$ac_objext \
9887 conftest$ac_exeext conftest.$ac_ext
9888 CFLAGS=$ac_wine_try_cflags_saved
9889 CC=$ac_wine_try_cflags_saved_cc
9890 ac_exeext=$ac_wine_try_cflags_saved_exeext
9892 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Werror_ignored_optimization_argument" >&5
9893 $as_echo "$ac_cv_crosscflags__Werror_ignored_optimization_argument" >&6; }
9894 if test "x$ac_cv_crosscflags__Werror_ignored_optimization_argument" = xyes; then :
9895 CFLAGS="$CFLAGS -Werror=ignored-optimization-argument"
9897 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wdeclaration-after-statement" >&5
9898 $as_echo_n "checking whether the cross-compiler supports -Wdeclaration-after-statement... " >&6; }
9899 if ${ac_cv_crosscflags__Wdeclaration_after_statement+:} false; then :
9900 $as_echo_n "(cached) " >&6
9901 else
9902 ac_wine_try_cflags_saved=$CFLAGS
9903 ac_wine_try_cflags_saved_cc=$CC
9904 ac_wine_try_cflags_saved_exeext=$ac_exeext
9905 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wdeclaration-after-statement"
9906 CC="$CROSSCC"
9907 ac_exeext=".exe"
9908 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9909 /* end confdefs.h. */
9910 int __cdecl mainCRTStartup(void) { return 0; }
9911 _ACEOF
9912 if ac_fn_c_try_link "$LINENO"; then :
9913 ac_cv_crosscflags__Wdeclaration_after_statement=yes
9914 else
9915 ac_cv_crosscflags__Wdeclaration_after_statement=no
9917 rm -f core conftest.err conftest.$ac_objext \
9918 conftest$ac_exeext conftest.$ac_ext
9919 CFLAGS=$ac_wine_try_cflags_saved
9920 CC=$ac_wine_try_cflags_saved_cc
9921 ac_exeext=$ac_wine_try_cflags_saved_exeext
9923 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wdeclaration_after_statement" >&5
9924 $as_echo "$ac_cv_crosscflags__Wdeclaration_after_statement" >&6; }
9925 if test "x$ac_cv_crosscflags__Wdeclaration_after_statement" = xyes; then :
9926 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wdeclaration-after-statement"
9928 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wempty-body" >&5
9929 $as_echo_n "checking whether the cross-compiler supports -Wempty-body... " >&6; }
9930 if ${ac_cv_crosscflags__Wempty_body+:} false; then :
9931 $as_echo_n "(cached) " >&6
9932 else
9933 ac_wine_try_cflags_saved=$CFLAGS
9934 ac_wine_try_cflags_saved_cc=$CC
9935 ac_wine_try_cflags_saved_exeext=$ac_exeext
9936 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wempty-body"
9937 CC="$CROSSCC"
9938 ac_exeext=".exe"
9939 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9940 /* end confdefs.h. */
9941 int __cdecl mainCRTStartup(void) { return 0; }
9942 _ACEOF
9943 if ac_fn_c_try_link "$LINENO"; then :
9944 ac_cv_crosscflags__Wempty_body=yes
9945 else
9946 ac_cv_crosscflags__Wempty_body=no
9948 rm -f core conftest.err conftest.$ac_objext \
9949 conftest$ac_exeext conftest.$ac_ext
9950 CFLAGS=$ac_wine_try_cflags_saved
9951 CC=$ac_wine_try_cflags_saved_cc
9952 ac_exeext=$ac_wine_try_cflags_saved_exeext
9954 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wempty_body" >&5
9955 $as_echo "$ac_cv_crosscflags__Wempty_body" >&6; }
9956 if test "x$ac_cv_crosscflags__Wempty_body" = xyes; then :
9957 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wempty-body"
9959 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wignored-qualifiers" >&5
9960 $as_echo_n "checking whether the cross-compiler supports -Wignored-qualifiers... " >&6; }
9961 if ${ac_cv_crosscflags__Wignored_qualifiers+:} false; then :
9962 $as_echo_n "(cached) " >&6
9963 else
9964 ac_wine_try_cflags_saved=$CFLAGS
9965 ac_wine_try_cflags_saved_cc=$CC
9966 ac_wine_try_cflags_saved_exeext=$ac_exeext
9967 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wignored-qualifiers"
9968 CC="$CROSSCC"
9969 ac_exeext=".exe"
9970 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9971 /* end confdefs.h. */
9972 int __cdecl mainCRTStartup(void) { return 0; }
9973 _ACEOF
9974 if ac_fn_c_try_link "$LINENO"; then :
9975 ac_cv_crosscflags__Wignored_qualifiers=yes
9976 else
9977 ac_cv_crosscflags__Wignored_qualifiers=no
9979 rm -f core conftest.err conftest.$ac_objext \
9980 conftest$ac_exeext conftest.$ac_ext
9981 CFLAGS=$ac_wine_try_cflags_saved
9982 CC=$ac_wine_try_cflags_saved_cc
9983 ac_exeext=$ac_wine_try_cflags_saved_exeext
9985 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wignored_qualifiers" >&5
9986 $as_echo "$ac_cv_crosscflags__Wignored_qualifiers" >&6; }
9987 if test "x$ac_cv_crosscflags__Wignored_qualifiers" = xyes; then :
9988 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wignored-qualifiers"
9990 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Winit-self" >&5
9991 $as_echo_n "checking whether the cross-compiler supports -Winit-self... " >&6; }
9992 if ${ac_cv_crosscflags__Winit_self+:} false; then :
9993 $as_echo_n "(cached) " >&6
9994 else
9995 ac_wine_try_cflags_saved=$CFLAGS
9996 ac_wine_try_cflags_saved_cc=$CC
9997 ac_wine_try_cflags_saved_exeext=$ac_exeext
9998 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Winit-self"
9999 CC="$CROSSCC"
10000 ac_exeext=".exe"
10001 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10002 /* end confdefs.h. */
10003 int __cdecl mainCRTStartup(void) { return 0; }
10004 _ACEOF
10005 if ac_fn_c_try_link "$LINENO"; then :
10006 ac_cv_crosscflags__Winit_self=yes
10007 else
10008 ac_cv_crosscflags__Winit_self=no
10010 rm -f core conftest.err conftest.$ac_objext \
10011 conftest$ac_exeext conftest.$ac_ext
10012 CFLAGS=$ac_wine_try_cflags_saved
10013 CC=$ac_wine_try_cflags_saved_cc
10014 ac_exeext=$ac_wine_try_cflags_saved_exeext
10016 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Winit_self" >&5
10017 $as_echo "$ac_cv_crosscflags__Winit_self" >&6; }
10018 if test "x$ac_cv_crosscflags__Winit_self" = xyes; then :
10019 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Winit-self"
10021 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wpacked-not-aligned" >&5
10022 $as_echo_n "checking whether the cross-compiler supports -Wpacked-not-aligned... " >&6; }
10023 if ${ac_cv_crosscflags__Wpacked_not_aligned+:} false; then :
10024 $as_echo_n "(cached) " >&6
10025 else
10026 ac_wine_try_cflags_saved=$CFLAGS
10027 ac_wine_try_cflags_saved_cc=$CC
10028 ac_wine_try_cflags_saved_exeext=$ac_exeext
10029 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wpacked-not-aligned"
10030 CC="$CROSSCC"
10031 ac_exeext=".exe"
10032 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10033 /* end confdefs.h. */
10034 int __cdecl mainCRTStartup(void) { return 0; }
10035 _ACEOF
10036 if ac_fn_c_try_link "$LINENO"; then :
10037 ac_cv_crosscflags__Wpacked_not_aligned=yes
10038 else
10039 ac_cv_crosscflags__Wpacked_not_aligned=no
10041 rm -f core conftest.err conftest.$ac_objext \
10042 conftest$ac_exeext conftest.$ac_ext
10043 CFLAGS=$ac_wine_try_cflags_saved
10044 CC=$ac_wine_try_cflags_saved_cc
10045 ac_exeext=$ac_wine_try_cflags_saved_exeext
10047 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wpacked_not_aligned" >&5
10048 $as_echo "$ac_cv_crosscflags__Wpacked_not_aligned" >&6; }
10049 if test "x$ac_cv_crosscflags__Wpacked_not_aligned" = xyes; then :
10050 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wno-packed-not-aligned"
10052 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wpragma-pack" >&5
10053 $as_echo_n "checking whether the cross-compiler supports -Wpragma-pack... " >&6; }
10054 if ${ac_cv_crosscflags__Wpragma_pack+:} false; then :
10055 $as_echo_n "(cached) " >&6
10056 else
10057 ac_wine_try_cflags_saved=$CFLAGS
10058 ac_wine_try_cflags_saved_cc=$CC
10059 ac_wine_try_cflags_saved_exeext=$ac_exeext
10060 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wpragma-pack"
10061 CC="$CROSSCC"
10062 ac_exeext=".exe"
10063 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10064 /* end confdefs.h. */
10065 int __cdecl mainCRTStartup(void) { return 0; }
10066 _ACEOF
10067 if ac_fn_c_try_link "$LINENO"; then :
10068 ac_cv_crosscflags__Wpragma_pack=yes
10069 else
10070 ac_cv_crosscflags__Wpragma_pack=no
10072 rm -f core conftest.err conftest.$ac_objext \
10073 conftest$ac_exeext conftest.$ac_ext
10074 CFLAGS=$ac_wine_try_cflags_saved
10075 CC=$ac_wine_try_cflags_saved_cc
10076 ac_exeext=$ac_wine_try_cflags_saved_exeext
10078 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wpragma_pack" >&5
10079 $as_echo "$ac_cv_crosscflags__Wpragma_pack" >&6; }
10080 if test "x$ac_cv_crosscflags__Wpragma_pack" = xyes; then :
10081 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wno-pragma-pack"
10083 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wshift-overflow=2" >&5
10084 $as_echo_n "checking whether the cross-compiler supports -Wshift-overflow=2... " >&6; }
10085 if ${ac_cv_crosscflags__Wshift_overflow_2+:} false; then :
10086 $as_echo_n "(cached) " >&6
10087 else
10088 ac_wine_try_cflags_saved=$CFLAGS
10089 ac_wine_try_cflags_saved_cc=$CC
10090 ac_wine_try_cflags_saved_exeext=$ac_exeext
10091 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wshift-overflow=2"
10092 CC="$CROSSCC"
10093 ac_exeext=".exe"
10094 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10095 /* end confdefs.h. */
10096 int __cdecl mainCRTStartup(void) { return 0; }
10097 _ACEOF
10098 if ac_fn_c_try_link "$LINENO"; then :
10099 ac_cv_crosscflags__Wshift_overflow_2=yes
10100 else
10101 ac_cv_crosscflags__Wshift_overflow_2=no
10103 rm -f core conftest.err conftest.$ac_objext \
10104 conftest$ac_exeext conftest.$ac_ext
10105 CFLAGS=$ac_wine_try_cflags_saved
10106 CC=$ac_wine_try_cflags_saved_cc
10107 ac_exeext=$ac_wine_try_cflags_saved_exeext
10109 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wshift_overflow_2" >&5
10110 $as_echo "$ac_cv_crosscflags__Wshift_overflow_2" >&6; }
10111 if test "x$ac_cv_crosscflags__Wshift_overflow_2" = xyes; then :
10112 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wshift-overflow=2"
10114 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wstrict-prototypes" >&5
10115 $as_echo_n "checking whether the cross-compiler supports -Wstrict-prototypes... " >&6; }
10116 if ${ac_cv_crosscflags__Wstrict_prototypes+:} false; then :
10117 $as_echo_n "(cached) " >&6
10118 else
10119 ac_wine_try_cflags_saved=$CFLAGS
10120 ac_wine_try_cflags_saved_cc=$CC
10121 ac_wine_try_cflags_saved_exeext=$ac_exeext
10122 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wstrict-prototypes"
10123 CC="$CROSSCC"
10124 ac_exeext=".exe"
10125 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10126 /* end confdefs.h. */
10127 int __cdecl mainCRTStartup(void) { return 0; }
10128 _ACEOF
10129 if ac_fn_c_try_link "$LINENO"; then :
10130 ac_cv_crosscflags__Wstrict_prototypes=yes
10131 else
10132 ac_cv_crosscflags__Wstrict_prototypes=no
10134 rm -f core conftest.err conftest.$ac_objext \
10135 conftest$ac_exeext conftest.$ac_ext
10136 CFLAGS=$ac_wine_try_cflags_saved
10137 CC=$ac_wine_try_cflags_saved_cc
10138 ac_exeext=$ac_wine_try_cflags_saved_exeext
10140 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wstrict_prototypes" >&5
10141 $as_echo "$ac_cv_crosscflags__Wstrict_prototypes" >&6; }
10142 if test "x$ac_cv_crosscflags__Wstrict_prototypes" = xyes; then :
10143 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wstrict-prototypes"
10145 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wtype-limits" >&5
10146 $as_echo_n "checking whether the cross-compiler supports -Wtype-limits... " >&6; }
10147 if ${ac_cv_crosscflags__Wtype_limits+:} false; then :
10148 $as_echo_n "(cached) " >&6
10149 else
10150 ac_wine_try_cflags_saved=$CFLAGS
10151 ac_wine_try_cflags_saved_cc=$CC
10152 ac_wine_try_cflags_saved_exeext=$ac_exeext
10153 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wtype-limits"
10154 CC="$CROSSCC"
10155 ac_exeext=".exe"
10156 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10157 /* end confdefs.h. */
10158 int __cdecl mainCRTStartup(void) { return 0; }
10159 _ACEOF
10160 if ac_fn_c_try_link "$LINENO"; then :
10161 ac_cv_crosscflags__Wtype_limits=yes
10162 else
10163 ac_cv_crosscflags__Wtype_limits=no
10165 rm -f core conftest.err conftest.$ac_objext \
10166 conftest$ac_exeext conftest.$ac_ext
10167 CFLAGS=$ac_wine_try_cflags_saved
10168 CC=$ac_wine_try_cflags_saved_cc
10169 ac_exeext=$ac_wine_try_cflags_saved_exeext
10171 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wtype_limits" >&5
10172 $as_echo "$ac_cv_crosscflags__Wtype_limits" >&6; }
10173 if test "x$ac_cv_crosscflags__Wtype_limits" = xyes; then :
10174 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wtype-limits"
10176 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wunused-but-set-parameter" >&5
10177 $as_echo_n "checking whether the cross-compiler supports -Wunused-but-set-parameter... " >&6; }
10178 if ${ac_cv_crosscflags__Wunused_but_set_parameter+:} false; then :
10179 $as_echo_n "(cached) " >&6
10180 else
10181 ac_wine_try_cflags_saved=$CFLAGS
10182 ac_wine_try_cflags_saved_cc=$CC
10183 ac_wine_try_cflags_saved_exeext=$ac_exeext
10184 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wunused-but-set-parameter"
10185 CC="$CROSSCC"
10186 ac_exeext=".exe"
10187 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10188 /* end confdefs.h. */
10189 int __cdecl mainCRTStartup(void) { return 0; }
10190 _ACEOF
10191 if ac_fn_c_try_link "$LINENO"; then :
10192 ac_cv_crosscflags__Wunused_but_set_parameter=yes
10193 else
10194 ac_cv_crosscflags__Wunused_but_set_parameter=no
10196 rm -f core conftest.err conftest.$ac_objext \
10197 conftest$ac_exeext conftest.$ac_ext
10198 CFLAGS=$ac_wine_try_cflags_saved
10199 CC=$ac_wine_try_cflags_saved_cc
10200 ac_exeext=$ac_wine_try_cflags_saved_exeext
10202 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wunused_but_set_parameter" >&5
10203 $as_echo "$ac_cv_crosscflags__Wunused_but_set_parameter" >&6; }
10204 if test "x$ac_cv_crosscflags__Wunused_but_set_parameter" = xyes; then :
10205 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wunused-but-set-parameter"
10207 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wvla" >&5
10208 $as_echo_n "checking whether the cross-compiler supports -Wvla... " >&6; }
10209 if ${ac_cv_crosscflags__Wvla+:} false; then :
10210 $as_echo_n "(cached) " >&6
10211 else
10212 ac_wine_try_cflags_saved=$CFLAGS
10213 ac_wine_try_cflags_saved_cc=$CC
10214 ac_wine_try_cflags_saved_exeext=$ac_exeext
10215 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wvla"
10216 CC="$CROSSCC"
10217 ac_exeext=".exe"
10218 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10219 /* end confdefs.h. */
10220 int __cdecl mainCRTStartup(void) { return 0; }
10221 _ACEOF
10222 if ac_fn_c_try_link "$LINENO"; then :
10223 ac_cv_crosscflags__Wvla=yes
10224 else
10225 ac_cv_crosscflags__Wvla=no
10227 rm -f core conftest.err conftest.$ac_objext \
10228 conftest$ac_exeext conftest.$ac_ext
10229 CFLAGS=$ac_wine_try_cflags_saved
10230 CC=$ac_wine_try_cflags_saved_cc
10231 ac_exeext=$ac_wine_try_cflags_saved_exeext
10233 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wvla" >&5
10234 $as_echo "$ac_cv_crosscflags__Wvla" >&6; }
10235 if test "x$ac_cv_crosscflags__Wvla" = xyes; then :
10236 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wvla"
10238 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wwrite-strings" >&5
10239 $as_echo_n "checking whether the cross-compiler supports -Wwrite-strings... " >&6; }
10240 if ${ac_cv_crosscflags__Wwrite_strings+:} false; then :
10241 $as_echo_n "(cached) " >&6
10242 else
10243 ac_wine_try_cflags_saved=$CFLAGS
10244 ac_wine_try_cflags_saved_cc=$CC
10245 ac_wine_try_cflags_saved_exeext=$ac_exeext
10246 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wwrite-strings"
10247 CC="$CROSSCC"
10248 ac_exeext=".exe"
10249 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10250 /* end confdefs.h. */
10251 int __cdecl mainCRTStartup(void) { return 0; }
10252 _ACEOF
10253 if ac_fn_c_try_link "$LINENO"; then :
10254 ac_cv_crosscflags__Wwrite_strings=yes
10255 else
10256 ac_cv_crosscflags__Wwrite_strings=no
10258 rm -f core conftest.err conftest.$ac_objext \
10259 conftest$ac_exeext conftest.$ac_ext
10260 CFLAGS=$ac_wine_try_cflags_saved
10261 CC=$ac_wine_try_cflags_saved_cc
10262 ac_exeext=$ac_wine_try_cflags_saved_exeext
10264 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wwrite_strings" >&5
10265 $as_echo "$ac_cv_crosscflags__Wwrite_strings" >&6; }
10266 if test "x$ac_cv_crosscflags__Wwrite_strings" = xyes; then :
10267 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wwrite-strings"
10269 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wpointer-arith" >&5
10270 $as_echo_n "checking whether the cross-compiler supports -Wpointer-arith... " >&6; }
10271 if ${ac_cv_crosscflags__Wpointer_arith+:} false; then :
10272 $as_echo_n "(cached) " >&6
10273 else
10274 ac_wine_try_cflags_saved=$CFLAGS
10275 ac_wine_try_cflags_saved_cc=$CC
10276 ac_wine_try_cflags_saved_exeext=$ac_exeext
10277 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wpointer-arith"
10278 CC="$CROSSCC"
10279 ac_exeext=".exe"
10280 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10281 /* end confdefs.h. */
10282 int __cdecl mainCRTStartup(void) { return 0; }
10283 _ACEOF
10284 if ac_fn_c_try_link "$LINENO"; then :
10285 ac_cv_crosscflags__Wpointer_arith=yes
10286 else
10287 ac_cv_crosscflags__Wpointer_arith=no
10289 rm -f core conftest.err conftest.$ac_objext \
10290 conftest$ac_exeext conftest.$ac_ext
10291 CFLAGS=$ac_wine_try_cflags_saved
10292 CC=$ac_wine_try_cflags_saved_cc
10293 ac_exeext=$ac_wine_try_cflags_saved_exeext
10295 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wpointer_arith" >&5
10296 $as_echo "$ac_cv_crosscflags__Wpointer_arith" >&6; }
10297 if test "x$ac_cv_crosscflags__Wpointer_arith" = xyes; then :
10298 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wpointer-arith"
10300 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wlogical-op" >&5
10301 $as_echo_n "checking whether the cross-compiler supports -Wlogical-op... " >&6; }
10302 if ${ac_cv_crosscflags__Wlogical_op+:} false; then :
10303 $as_echo_n "(cached) " >&6
10304 else
10305 ac_wine_try_cflags_saved=$CFLAGS
10306 ac_wine_try_cflags_saved_cc=$CC
10307 ac_wine_try_cflags_saved_exeext=$ac_exeext
10308 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wlogical-op"
10309 CC="$CROSSCC"
10310 ac_exeext=".exe"
10311 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10312 /* end confdefs.h. */
10313 int __cdecl mainCRTStartup(void) { return 0; }
10314 _ACEOF
10315 if ac_fn_c_try_link "$LINENO"; then :
10316 ac_cv_crosscflags__Wlogical_op=yes
10317 else
10318 ac_cv_crosscflags__Wlogical_op=no
10320 rm -f core conftest.err conftest.$ac_objext \
10321 conftest$ac_exeext conftest.$ac_ext
10322 CFLAGS=$ac_wine_try_cflags_saved
10323 CC=$ac_wine_try_cflags_saved_cc
10324 ac_exeext=$ac_wine_try_cflags_saved_exeext
10326 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wlogical_op" >&5
10327 $as_echo "$ac_cv_crosscflags__Wlogical_op" >&6; }
10328 if test "x$ac_cv_crosscflags__Wlogical_op" = xyes; then :
10329 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wlogical-op"
10331 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wabsolute-value" >&5
10332 $as_echo_n "checking whether the cross-compiler supports -Wabsolute-value... " >&6; }
10333 if ${ac_cv_crosscflags__Wabsolute_value+:} false; then :
10334 $as_echo_n "(cached) " >&6
10335 else
10336 ac_wine_try_cflags_saved=$CFLAGS
10337 ac_wine_try_cflags_saved_cc=$CC
10338 ac_wine_try_cflags_saved_exeext=$ac_exeext
10339 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wabsolute-value"
10340 CC="$CROSSCC"
10341 ac_exeext=".exe"
10342 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10343 /* end confdefs.h. */
10344 int __cdecl mainCRTStartup(void) { return 0; }
10345 _ACEOF
10346 if ac_fn_c_try_link "$LINENO"; then :
10347 ac_cv_crosscflags__Wabsolute_value=yes
10348 else
10349 ac_cv_crosscflags__Wabsolute_value=no
10351 rm -f core conftest.err conftest.$ac_objext \
10352 conftest$ac_exeext conftest.$ac_ext
10353 CFLAGS=$ac_wine_try_cflags_saved
10354 CC=$ac_wine_try_cflags_saved_cc
10355 ac_exeext=$ac_wine_try_cflags_saved_exeext
10357 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wabsolute_value" >&5
10358 $as_echo "$ac_cv_crosscflags__Wabsolute_value" >&6; }
10359 if test "x$ac_cv_crosscflags__Wabsolute_value" = xyes; then :
10360 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wabsolute-value"
10363 case $host_cpu in
10364 *i[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -fno-omit-frame-pointer" >&5
10365 $as_echo_n "checking whether the cross-compiler supports -fno-omit-frame-pointer... " >&6; }
10366 if ${ac_cv_crosscflags__fno_omit_frame_pointer+:} false; then :
10367 $as_echo_n "(cached) " >&6
10368 else
10369 ac_wine_try_cflags_saved=$CFLAGS
10370 ac_wine_try_cflags_saved_cc=$CC
10371 ac_wine_try_cflags_saved_exeext=$ac_exeext
10372 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -fno-omit-frame-pointer"
10373 CC="$CROSSCC"
10374 ac_exeext=".exe"
10375 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10376 /* end confdefs.h. */
10377 int __cdecl mainCRTStartup(void) { return 0; }
10378 _ACEOF
10379 if ac_fn_c_try_link "$LINENO"; then :
10380 ac_cv_crosscflags__fno_omit_frame_pointer=yes
10381 else
10382 ac_cv_crosscflags__fno_omit_frame_pointer=no
10384 rm -f core conftest.err conftest.$ac_objext \
10385 conftest$ac_exeext conftest.$ac_ext
10386 CFLAGS=$ac_wine_try_cflags_saved
10387 CC=$ac_wine_try_cflags_saved_cc
10388 ac_exeext=$ac_wine_try_cflags_saved_exeext
10390 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__fno_omit_frame_pointer" >&5
10391 $as_echo "$ac_cv_crosscflags__fno_omit_frame_pointer" >&6; }
10392 if test "x$ac_cv_crosscflags__fno_omit_frame_pointer" = xyes; then :
10393 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -fno-omit-frame-pointer"
10394 fi ;;
10395 x86_64) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wno-format" >&5
10396 $as_echo_n "checking whether the cross-compiler supports -Wno-format... " >&6; }
10397 if ${ac_cv_crosscflags__Wno_format+:} false; then :
10398 $as_echo_n "(cached) " >&6
10399 else
10400 ac_wine_try_cflags_saved=$CFLAGS
10401 ac_wine_try_cflags_saved_cc=$CC
10402 ac_wine_try_cflags_saved_exeext=$ac_exeext
10403 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wno-format"
10404 CC="$CROSSCC"
10405 ac_exeext=".exe"
10406 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10407 /* end confdefs.h. */
10408 int __cdecl mainCRTStartup(void) { return 0; }
10409 _ACEOF
10410 if ac_fn_c_try_link "$LINENO"; then :
10411 ac_cv_crosscflags__Wno_format=yes
10412 else
10413 ac_cv_crosscflags__Wno_format=no
10415 rm -f core conftest.err conftest.$ac_objext \
10416 conftest$ac_exeext conftest.$ac_ext
10417 CFLAGS=$ac_wine_try_cflags_saved
10418 CC=$ac_wine_try_cflags_saved_cc
10419 ac_exeext=$ac_wine_try_cflags_saved_exeext
10421 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wno_format" >&5
10422 $as_echo "$ac_cv_crosscflags__Wno_format" >&6; }
10423 if test "x$ac_cv_crosscflags__Wno_format" = xyes; then :
10424 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wno-format"
10426 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wformat-overflow" >&5
10427 $as_echo_n "checking whether the cross-compiler supports -Wformat-overflow... " >&6; }
10428 if ${ac_cv_crosscflags__Wformat_overflow+:} false; then :
10429 $as_echo_n "(cached) " >&6
10430 else
10431 ac_wine_try_cflags_saved=$CFLAGS
10432 ac_wine_try_cflags_saved_cc=$CC
10433 ac_wine_try_cflags_saved_exeext=$ac_exeext
10434 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wformat-overflow"
10435 CC="$CROSSCC"
10436 ac_exeext=".exe"
10437 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10438 /* end confdefs.h. */
10439 int __cdecl mainCRTStartup(void) { return 0; }
10440 _ACEOF
10441 if ac_fn_c_try_link "$LINENO"; then :
10442 ac_cv_crosscflags__Wformat_overflow=yes
10443 else
10444 ac_cv_crosscflags__Wformat_overflow=no
10446 rm -f core conftest.err conftest.$ac_objext \
10447 conftest$ac_exeext conftest.$ac_ext
10448 CFLAGS=$ac_wine_try_cflags_saved
10449 CC=$ac_wine_try_cflags_saved_cc
10450 ac_exeext=$ac_wine_try_cflags_saved_exeext
10452 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wformat_overflow" >&5
10453 $as_echo "$ac_cv_crosscflags__Wformat_overflow" >&6; }
10454 if test "x$ac_cv_crosscflags__Wformat_overflow" = xyes; then :
10455 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wformat-overflow"
10457 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wnonnull" >&5
10458 $as_echo_n "checking whether the cross-compiler supports -Wnonnull... " >&6; }
10459 if ${ac_cv_crosscflags__Wnonnull+:} false; then :
10460 $as_echo_n "(cached) " >&6
10461 else
10462 ac_wine_try_cflags_saved=$CFLAGS
10463 ac_wine_try_cflags_saved_cc=$CC
10464 ac_wine_try_cflags_saved_exeext=$ac_exeext
10465 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wnonnull"
10466 CC="$CROSSCC"
10467 ac_exeext=".exe"
10468 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10469 /* end confdefs.h. */
10470 int __cdecl mainCRTStartup(void) { return 0; }
10471 _ACEOF
10472 if ac_fn_c_try_link "$LINENO"; then :
10473 ac_cv_crosscflags__Wnonnull=yes
10474 else
10475 ac_cv_crosscflags__Wnonnull=no
10477 rm -f core conftest.err conftest.$ac_objext \
10478 conftest$ac_exeext conftest.$ac_ext
10479 CFLAGS=$ac_wine_try_cflags_saved
10480 CC=$ac_wine_try_cflags_saved_cc
10481 ac_exeext=$ac_wine_try_cflags_saved_exeext
10483 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wnonnull" >&5
10484 $as_echo "$ac_cv_crosscflags__Wnonnull" >&6; }
10485 if test "x$ac_cv_crosscflags__Wnonnull" = xyes; then :
10486 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wnonnull"
10488 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -mcx16" >&5
10489 $as_echo_n "checking whether the cross-compiler supports -mcx16... " >&6; }
10490 if ${ac_cv_crosscflags__mcx16+:} false; then :
10491 $as_echo_n "(cached) " >&6
10492 else
10493 ac_wine_try_cflags_saved=$CFLAGS
10494 ac_wine_try_cflags_saved_cc=$CC
10495 ac_wine_try_cflags_saved_exeext=$ac_exeext
10496 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -mcx16"
10497 CC="$CROSSCC"
10498 ac_exeext=".exe"
10499 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10500 /* end confdefs.h. */
10501 int __cdecl mainCRTStartup(void) { return 0; }
10502 _ACEOF
10503 if ac_fn_c_try_link "$LINENO"; then :
10504 ac_cv_crosscflags__mcx16=yes
10505 else
10506 ac_cv_crosscflags__mcx16=no
10508 rm -f core conftest.err conftest.$ac_objext \
10509 conftest$ac_exeext conftest.$ac_ext
10510 CFLAGS=$ac_wine_try_cflags_saved
10511 CC=$ac_wine_try_cflags_saved_cc
10512 ac_exeext=$ac_wine_try_cflags_saved_exeext
10514 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__mcx16" >&5
10515 $as_echo "$ac_cv_crosscflags__mcx16" >&6; }
10516 if test "x$ac_cv_crosscflags__mcx16" = xyes; then :
10517 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -mcx16"
10518 fi ;;
10519 aarch64) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wno-format" >&5
10520 $as_echo_n "checking whether the cross-compiler supports -Wno-format... " >&6; }
10521 if ${ac_cv_crosscflags__Wno_format+:} false; then :
10522 $as_echo_n "(cached) " >&6
10523 else
10524 ac_wine_try_cflags_saved=$CFLAGS
10525 ac_wine_try_cflags_saved_cc=$CC
10526 ac_wine_try_cflags_saved_exeext=$ac_exeext
10527 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wno-format"
10528 CC="$CROSSCC"
10529 ac_exeext=".exe"
10530 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10531 /* end confdefs.h. */
10532 int __cdecl mainCRTStartup(void) { return 0; }
10533 _ACEOF
10534 if ac_fn_c_try_link "$LINENO"; then :
10535 ac_cv_crosscflags__Wno_format=yes
10536 else
10537 ac_cv_crosscflags__Wno_format=no
10539 rm -f core conftest.err conftest.$ac_objext \
10540 conftest$ac_exeext conftest.$ac_ext
10541 CFLAGS=$ac_wine_try_cflags_saved
10542 CC=$ac_wine_try_cflags_saved_cc
10543 ac_exeext=$ac_wine_try_cflags_saved_exeext
10545 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wno_format" >&5
10546 $as_echo "$ac_cv_crosscflags__Wno_format" >&6; }
10547 if test "x$ac_cv_crosscflags__Wno_format" = xyes; then :
10548 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wno-format"
10549 fi ;;
10550 esac
10553 if test -z "$CROSSDEBUG"
10554 then
10555 for ac_flag in $CROSSCFLAGS; do
10556 case $ac_flag in
10557 -gdwarf*) CROSSDEBUG=dwarf ;;
10558 -gcodeview) CROSSDEBUG=pdb ;;
10559 -g) CROSSDEBUG=${CROSSDEBUG:-dwarf} ;;
10560 esac
10561 done
10563 case $CROSSDEBUG in
10564 *dwarf) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -gdwarf-2" >&5
10565 $as_echo_n "checking whether the cross-compiler supports -gdwarf-2... " >&6; }
10566 if ${ac_cv_crosscflags__gdwarf_2+:} false; then :
10567 $as_echo_n "(cached) " >&6
10568 else
10569 ac_wine_try_cflags_saved=$CFLAGS
10570 ac_wine_try_cflags_saved_cc=$CC
10571 ac_wine_try_cflags_saved_exeext=$ac_exeext
10572 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -gdwarf-2"
10573 CC="$CROSSCC"
10574 ac_exeext=".exe"
10575 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10576 /* end confdefs.h. */
10577 int __cdecl mainCRTStartup(void) { return 0; }
10578 _ACEOF
10579 if ac_fn_c_try_link "$LINENO"; then :
10580 ac_cv_crosscflags__gdwarf_2=yes
10581 else
10582 ac_cv_crosscflags__gdwarf_2=no
10584 rm -f core conftest.err conftest.$ac_objext \
10585 conftest$ac_exeext conftest.$ac_ext
10586 CFLAGS=$ac_wine_try_cflags_saved
10587 CC=$ac_wine_try_cflags_saved_cc
10588 ac_exeext=$ac_wine_try_cflags_saved_exeext
10590 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__gdwarf_2" >&5
10591 $as_echo "$ac_cv_crosscflags__gdwarf_2" >&6; }
10592 if test "x$ac_cv_crosscflags__gdwarf_2" = xyes; then :
10593 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -gdwarf-2"
10595 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -gstrict-dwarf" >&5
10596 $as_echo_n "checking whether the cross-compiler supports -gstrict-dwarf... " >&6; }
10597 if ${ac_cv_crosscflags__gstrict_dwarf+:} false; then :
10598 $as_echo_n "(cached) " >&6
10599 else
10600 ac_wine_try_cflags_saved=$CFLAGS
10601 ac_wine_try_cflags_saved_cc=$CC
10602 ac_wine_try_cflags_saved_exeext=$ac_exeext
10603 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -gstrict-dwarf"
10604 CC="$CROSSCC"
10605 ac_exeext=".exe"
10606 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10607 /* end confdefs.h. */
10608 int __cdecl mainCRTStartup(void) { return 0; }
10609 _ACEOF
10610 if ac_fn_c_try_link "$LINENO"; then :
10611 ac_cv_crosscflags__gstrict_dwarf=yes
10612 else
10613 ac_cv_crosscflags__gstrict_dwarf=no
10615 rm -f core conftest.err conftest.$ac_objext \
10616 conftest$ac_exeext conftest.$ac_ext
10617 CFLAGS=$ac_wine_try_cflags_saved
10618 CC=$ac_wine_try_cflags_saved_cc
10619 ac_exeext=$ac_wine_try_cflags_saved_exeext
10621 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__gstrict_dwarf" >&5
10622 $as_echo "$ac_cv_crosscflags__gstrict_dwarf" >&6; }
10623 if test "x$ac_cv_crosscflags__gstrict_dwarf" = xyes; then :
10624 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -gstrict-dwarf"
10625 fi ;;
10626 pdb) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -gcodeview" >&5
10627 $as_echo_n "checking whether the cross-compiler supports -gcodeview... " >&6; }
10628 if ${ac_cv_crosscflags__gcodeview+:} false; then :
10629 $as_echo_n "(cached) " >&6
10630 else
10631 ac_wine_try_cflags_saved=$CFLAGS
10632 ac_wine_try_cflags_saved_cc=$CC
10633 ac_wine_try_cflags_saved_exeext=$ac_exeext
10634 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -gcodeview"
10635 CC="$CROSSCC"
10636 ac_exeext=".exe"
10637 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10638 /* end confdefs.h. */
10639 int __cdecl mainCRTStartup(void) { return 0; }
10640 _ACEOF
10641 if ac_fn_c_try_link "$LINENO"; then :
10642 ac_cv_crosscflags__gcodeview=yes
10643 else
10644 ac_cv_crosscflags__gcodeview=no
10646 rm -f core conftest.err conftest.$ac_objext \
10647 conftest$ac_exeext conftest.$ac_ext
10648 CFLAGS=$ac_wine_try_cflags_saved
10649 CC=$ac_wine_try_cflags_saved_cc
10650 ac_exeext=$ac_wine_try_cflags_saved_exeext
10652 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__gcodeview" >&5
10653 $as_echo "$ac_cv_crosscflags__gcodeview" >&6; }
10654 if test "x$ac_cv_crosscflags__gcodeview" = xyes; then :
10655 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -gcodeview"
10656 fi ;;
10657 esac
10659 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -fexcess-precision=standard" >&5
10660 $as_echo_n "checking whether the cross-compiler supports -fexcess-precision=standard... " >&6; }
10661 if ${ac_cv_crosscflags__fexcess_precision_standard+:} false; then :
10662 $as_echo_n "(cached) " >&6
10663 else
10664 ac_wine_try_cflags_saved=$CFLAGS
10665 ac_wine_try_cflags_saved_cc=$CC
10666 ac_wine_try_cflags_saved_exeext=$ac_exeext
10667 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -fexcess-precision=standard"
10668 CC="$CROSSCC"
10669 ac_exeext=".exe"
10670 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10671 /* end confdefs.h. */
10672 int __cdecl mainCRTStartup(void) { return 0; }
10673 _ACEOF
10674 if ac_fn_c_try_link "$LINENO"; then :
10675 ac_cv_crosscflags__fexcess_precision_standard=yes
10676 else
10677 ac_cv_crosscflags__fexcess_precision_standard=no
10679 rm -f core conftest.err conftest.$ac_objext \
10680 conftest$ac_exeext conftest.$ac_ext
10681 CFLAGS=$ac_wine_try_cflags_saved
10682 CC=$ac_wine_try_cflags_saved_cc
10683 ac_exeext=$ac_wine_try_cflags_saved_exeext
10685 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__fexcess_precision_standard" >&5
10686 $as_echo "$ac_cv_crosscflags__fexcess_precision_standard" >&6; }
10687 if test "x$ac_cv_crosscflags__fexcess_precision_standard" = xyes; then :
10688 EXCESS_PRECISION_CFLAGS="-fexcess-precision=standard"
10692 if test "x$enable_werror" = "xyes"
10693 then
10694 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Werror" >&5
10695 $as_echo_n "checking whether the cross-compiler supports -Werror... " >&6; }
10696 if ${ac_cv_crosscflags__Werror+:} false; then :
10697 $as_echo_n "(cached) " >&6
10698 else
10699 ac_wine_try_cflags_saved=$CFLAGS
10700 ac_wine_try_cflags_saved_cc=$CC
10701 ac_wine_try_cflags_saved_exeext=$ac_exeext
10702 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Werror"
10703 CC="$CROSSCC"
10704 ac_exeext=".exe"
10705 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10706 /* end confdefs.h. */
10707 int __cdecl mainCRTStartup(void) { return 0; }
10708 _ACEOF
10709 if ac_fn_c_try_link "$LINENO"; then :
10710 ac_cv_crosscflags__Werror=yes
10711 else
10712 ac_cv_crosscflags__Werror=no
10714 rm -f core conftest.err conftest.$ac_objext \
10715 conftest$ac_exeext conftest.$ac_ext
10716 CFLAGS=$ac_wine_try_cflags_saved
10717 CC=$ac_wine_try_cflags_saved_cc
10718 ac_exeext=$ac_wine_try_cflags_saved_exeext
10720 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Werror" >&5
10721 $as_echo "$ac_cv_crosscflags__Werror" >&6; }
10722 if test "x$ac_cv_crosscflags__Werror" = xyes; then :
10723 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Werror"
10726 if test "x$enable_build_id" = "xyes"
10727 then
10728 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wl,--build-id" >&5
10729 $as_echo_n "checking whether the cross-compiler supports -Wl,--build-id... " >&6; }
10730 if ${ac_cv_crosscflags__Wl___build_id+:} false; then :
10731 $as_echo_n "(cached) " >&6
10732 else
10733 ac_wine_try_cflags_saved=$CFLAGS
10734 ac_wine_try_cflags_saved_cc=$CC
10735 ac_wine_try_cflags_saved_exeext=$ac_exeext
10736 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wl,--build-id"
10737 CC="$CROSSCC"
10738 ac_exeext=".exe"
10739 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10740 /* end confdefs.h. */
10741 int __cdecl mainCRTStartup(void) { return 0; }
10742 _ACEOF
10743 if ac_fn_c_try_link "$LINENO"; then :
10744 ac_cv_crosscflags__Wl___build_id=yes
10745 else
10746 ac_cv_crosscflags__Wl___build_id=no
10748 rm -f core conftest.err conftest.$ac_objext \
10749 conftest$ac_exeext conftest.$ac_ext
10750 CFLAGS=$ac_wine_try_cflags_saved
10751 CC=$ac_wine_try_cflags_saved_cc
10752 ac_exeext=$ac_wine_try_cflags_saved_exeext
10754 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wl___build_id" >&5
10755 $as_echo "$ac_cv_crosscflags__Wl___build_id" >&6; }
10756 if test "x$ac_cv_crosscflags__Wl___build_id" = xyes; then :
10757 CROSSCFLAGS="$CROSSCFLAGS -Wl,--build-id"
10758 CROSSLDFLAGS="$CROSSLDFLAGS -Wl,--build-id"
10762 CFLAGS=$saved_CFLAGS
10763 CC="$ac_save_CC"
10766 if test "x$CROSSTARGET" = "x"; then :
10767 case "x$with_mingw" in
10768 x) as_fn_append wine_notices "|MinGW compiler not found, cross-compiling PE files won't be supported." ;;
10769 xno) ;;
10770 *) as_fn_error $? "MinGW compiler not found, cross-compiling PE files won't be supported.
10771 This is an error since --with-mingw was requested." "$LINENO" 5 ;;
10772 esac
10777 if test "$ac_cv_header_pthread_h" = "yes"
10778 then
10779 ac_fn_c_check_func "$LINENO" "pthread_create" "ac_cv_func_pthread_create"
10780 if test "x$ac_cv_func_pthread_create" = xyes; then :
10782 else
10783 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_create in -lpthread" >&5
10784 $as_echo_n "checking for pthread_create in -lpthread... " >&6; }
10785 if ${ac_cv_lib_pthread_pthread_create+:} false; then :
10786 $as_echo_n "(cached) " >&6
10787 else
10788 ac_check_lib_save_LIBS=$LIBS
10789 LIBS="-lpthread $LIBS"
10790 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10791 /* end confdefs.h. */
10793 /* Override any GCC internal prototype to avoid an error.
10794 Use char because int might match the return type of a GCC
10795 builtin and then its argument prototype would still apply. */
10796 #ifdef __cplusplus
10797 extern "C"
10798 #endif
10799 char pthread_create ();
10801 main ()
10803 return pthread_create ();
10805 return 0;
10807 _ACEOF
10808 if ac_fn_c_try_link "$LINENO"; then :
10809 ac_cv_lib_pthread_pthread_create=yes
10810 else
10811 ac_cv_lib_pthread_pthread_create=no
10813 rm -f core conftest.err conftest.$ac_objext \
10814 conftest$ac_exeext conftest.$ac_ext
10815 LIBS=$ac_check_lib_save_LIBS
10817 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_create" >&5
10818 $as_echo "$ac_cv_lib_pthread_pthread_create" >&6; }
10819 if test "x$ac_cv_lib_pthread_pthread_create" = xyes; then :
10820 PTHREAD_LIBS="-lpthread"
10827 if test "x$ac_cv_func_pthread_create" != xyes -a "x$PTHREAD_LIBS" = x; then :
10828 case "x$with_pthread" in
10829 xno) ;;
10830 *) as_fn_error $? "pthread ${notice_platform}development files not found.
10831 Wine cannot support threads without libpthread.
10832 Use the --without-pthread option if you really want this." "$LINENO" 5 ;;
10833 esac
10838 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for X" >&5
10839 $as_echo_n "checking for X... " >&6; }
10842 # Check whether --with-x was given.
10843 if test "${with_x+set}" = set; then :
10844 withval=$with_x;
10847 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
10848 if test "x$with_x" = xno; then
10849 # The user explicitly disabled X.
10850 have_x=disabled
10851 else
10852 case $x_includes,$x_libraries in #(
10853 *\'*) as_fn_error $? "cannot use X directory names containing '" "$LINENO" 5;; #(
10854 *,NONE | NONE,*) if ${ac_cv_have_x+:} false; then :
10855 $as_echo_n "(cached) " >&6
10856 else
10857 # One or both of the vars are not set, and there is no cached value.
10858 ac_x_includes=no ac_x_libraries=no
10859 rm -f -r conftest.dir
10860 if mkdir conftest.dir; then
10861 cd conftest.dir
10862 cat >Imakefile <<'_ACEOF'
10863 incroot:
10864 @echo incroot='${INCROOT}'
10865 usrlibdir:
10866 @echo usrlibdir='${USRLIBDIR}'
10867 libdir:
10868 @echo libdir='${LIBDIR}'
10869 _ACEOF
10870 if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
10871 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
10872 for ac_var in incroot usrlibdir libdir; do
10873 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
10874 done
10875 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
10876 for ac_extension in a so sl dylib la dll; do
10877 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
10878 test -f "$ac_im_libdir/libX11.$ac_extension"; then
10879 ac_im_usrlibdir=$ac_im_libdir; break
10881 done
10882 # Screen out bogus values from the imake configuration. They are
10883 # bogus both because they are the default anyway, and because
10884 # using them would break gcc on systems where it needs fixed includes.
10885 case $ac_im_incroot in
10886 /usr/include) ac_x_includes= ;;
10887 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
10888 esac
10889 case $ac_im_usrlibdir in
10890 /usr/lib | /usr/lib64 | /lib | /lib64) ;;
10891 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
10892 esac
10894 cd ..
10895 rm -f -r conftest.dir
10898 # Standard set of common directories for X headers.
10899 # Check X11 before X11Rn because it is often a symlink to the current release.
10900 ac_x_header_dirs='
10901 /usr/X11/include
10902 /usr/X11R7/include
10903 /usr/X11R6/include
10904 /usr/X11R5/include
10905 /usr/X11R4/include
10907 /usr/include/X11
10908 /usr/include/X11R7
10909 /usr/include/X11R6
10910 /usr/include/X11R5
10911 /usr/include/X11R4
10913 /usr/local/X11/include
10914 /usr/local/X11R7/include
10915 /usr/local/X11R6/include
10916 /usr/local/X11R5/include
10917 /usr/local/X11R4/include
10919 /usr/local/include/X11
10920 /usr/local/include/X11R7
10921 /usr/local/include/X11R6
10922 /usr/local/include/X11R5
10923 /usr/local/include/X11R4
10925 /usr/X386/include
10926 /usr/x386/include
10927 /usr/XFree86/include/X11
10929 /usr/include
10930 /usr/local/include
10931 /usr/unsupported/include
10932 /usr/athena/include
10933 /usr/local/x11r5/include
10934 /usr/lpp/Xamples/include
10936 /usr/openwin/include
10937 /usr/openwin/share/include'
10939 if test "$ac_x_includes" = no; then
10940 # Guess where to find include files, by looking for Xlib.h.
10941 # First, try using that file with no special directory specified.
10942 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10943 /* end confdefs.h. */
10944 #include <X11/Xlib.h>
10945 _ACEOF
10946 if ac_fn_c_try_cpp "$LINENO"; then :
10947 # We can compile using X headers with no special include directory.
10948 ac_x_includes=
10949 else
10950 for ac_dir in $ac_x_header_dirs; do
10951 if test -r "$ac_dir/X11/Xlib.h"; then
10952 ac_x_includes=$ac_dir
10953 break
10955 done
10957 rm -f conftest.err conftest.i conftest.$ac_ext
10958 fi # $ac_x_includes = no
10960 if test "$ac_x_libraries" = no; then
10961 # Check for the libraries.
10962 # See if we find them without any special options.
10963 # Don't add to $LIBS permanently.
10964 ac_save_LIBS=$LIBS
10965 LIBS="-lX11 $LIBS"
10966 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10967 /* end confdefs.h. */
10968 #include <X11/Xlib.h>
10970 main ()
10972 XrmInitialize ()
10974 return 0;
10976 _ACEOF
10977 if ac_fn_c_try_link "$LINENO"; then :
10978 LIBS=$ac_save_LIBS
10979 # We can link X programs with no special library path.
10980 ac_x_libraries=
10981 else
10982 LIBS=$ac_save_LIBS
10983 for ac_dir in `$as_echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
10985 # Don't even attempt the hair of trying to link an X program!
10986 for ac_extension in a so sl dylib la dll; do
10987 if test -r "$ac_dir/libX11.$ac_extension"; then
10988 ac_x_libraries=$ac_dir
10989 break 2
10991 done
10992 done
10994 rm -f core conftest.err conftest.$ac_objext \
10995 conftest$ac_exeext conftest.$ac_ext
10996 fi # $ac_x_libraries = no
10998 case $ac_x_includes,$ac_x_libraries in #(
10999 no,* | *,no | *\'*)
11000 # Didn't find X, or a directory has "'" in its name.
11001 ac_cv_have_x="have_x=no";; #(
11003 # Record where we found X for the cache.
11004 ac_cv_have_x="have_x=yes\
11005 ac_x_includes='$ac_x_includes'\
11006 ac_x_libraries='$ac_x_libraries'"
11007 esac
11009 ;; #(
11010 *) have_x=yes;;
11011 esac
11012 eval "$ac_cv_have_x"
11013 fi # $with_x != no
11015 if test "$have_x" != yes; then
11016 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_x" >&5
11017 $as_echo "$have_x" >&6; }
11018 no_x=yes
11019 else
11020 # If each of the values was on the command line, it overrides each guess.
11021 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
11022 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
11023 # Update the cache value to reflect the command line values.
11024 ac_cv_have_x="have_x=yes\
11025 ac_x_includes='$x_includes'\
11026 ac_x_libraries='$x_libraries'"
11027 { $as_echo "$as_me:${as_lineno-$LINENO}: result: libraries $x_libraries, headers $x_includes" >&5
11028 $as_echo "libraries $x_libraries, headers $x_includes" >&6; }
11031 if test "$no_x" = yes; then
11032 # Not all programs may use this symbol, but it does not hurt to define it.
11034 $as_echo "#define X_DISPLAY_MISSING 1" >>confdefs.h
11036 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
11037 else
11038 if test -n "$x_includes"; then
11039 X_CFLAGS="$X_CFLAGS -I$x_includes"
11042 # It would also be nice to do this for all -L options, not just this one.
11043 if test -n "$x_libraries"; then
11044 X_LIBS="$X_LIBS -L$x_libraries"
11045 # For Solaris; some versions of Sun CC require a space after -R and
11046 # others require no space. Words are not sufficient . . . .
11047 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -R must be followed by a space" >&5
11048 $as_echo_n "checking whether -R must be followed by a space... " >&6; }
11049 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
11050 ac_xsave_c_werror_flag=$ac_c_werror_flag
11051 ac_c_werror_flag=yes
11052 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11053 /* end confdefs.h. */
11056 main ()
11060 return 0;
11062 _ACEOF
11063 if ac_fn_c_try_link "$LINENO"; then :
11064 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11065 $as_echo "no" >&6; }
11066 X_LIBS="$X_LIBS -R$x_libraries"
11067 else
11068 LIBS="$ac_xsave_LIBS -R $x_libraries"
11069 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11070 /* end confdefs.h. */
11073 main ()
11077 return 0;
11079 _ACEOF
11080 if ac_fn_c_try_link "$LINENO"; then :
11081 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11082 $as_echo "yes" >&6; }
11083 X_LIBS="$X_LIBS -R $x_libraries"
11084 else
11085 { $as_echo "$as_me:${as_lineno-$LINENO}: result: neither works" >&5
11086 $as_echo "neither works" >&6; }
11088 rm -f core conftest.err conftest.$ac_objext \
11089 conftest$ac_exeext conftest.$ac_ext
11091 rm -f core conftest.err conftest.$ac_objext \
11092 conftest$ac_exeext conftest.$ac_ext
11093 ac_c_werror_flag=$ac_xsave_c_werror_flag
11094 LIBS=$ac_xsave_LIBS
11097 # Check for system-dependent libraries X programs must link with.
11098 # Do this before checking for the system-independent R6 libraries
11099 # (-lICE), since we may need -lsocket or whatever for X linking.
11101 if test "$ISC" = yes; then
11102 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
11103 else
11104 # Martyn Johnson says this is needed for Ultrix, if the X
11105 # libraries were built with DECnet support. And Karl Berry says
11106 # the Alpha needs dnet_stub (dnet does not exist).
11107 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
11108 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11109 /* end confdefs.h. */
11111 /* Override any GCC internal prototype to avoid an error.
11112 Use char because int might match the return type of a GCC
11113 builtin and then its argument prototype would still apply. */
11114 #ifdef __cplusplus
11115 extern "C"
11116 #endif
11117 char XOpenDisplay ();
11119 main ()
11121 return XOpenDisplay ();
11123 return 0;
11125 _ACEOF
11126 if ac_fn_c_try_link "$LINENO"; then :
11128 else
11129 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet" >&5
11130 $as_echo_n "checking for dnet_ntoa in -ldnet... " >&6; }
11131 if ${ac_cv_lib_dnet_dnet_ntoa+:} false; then :
11132 $as_echo_n "(cached) " >&6
11133 else
11134 ac_check_lib_save_LIBS=$LIBS
11135 LIBS="-ldnet $LIBS"
11136 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11137 /* end confdefs.h. */
11139 /* Override any GCC internal prototype to avoid an error.
11140 Use char because int might match the return type of a GCC
11141 builtin and then its argument prototype would still apply. */
11142 #ifdef __cplusplus
11143 extern "C"
11144 #endif
11145 char dnet_ntoa ();
11147 main ()
11149 return dnet_ntoa ();
11151 return 0;
11153 _ACEOF
11154 if ac_fn_c_try_link "$LINENO"; then :
11155 ac_cv_lib_dnet_dnet_ntoa=yes
11156 else
11157 ac_cv_lib_dnet_dnet_ntoa=no
11159 rm -f core conftest.err conftest.$ac_objext \
11160 conftest$ac_exeext conftest.$ac_ext
11161 LIBS=$ac_check_lib_save_LIBS
11163 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
11164 $as_echo "$ac_cv_lib_dnet_dnet_ntoa" >&6; }
11165 if test "x$ac_cv_lib_dnet_dnet_ntoa" = xyes; then :
11166 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
11169 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
11170 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet_stub" >&5
11171 $as_echo_n "checking for dnet_ntoa in -ldnet_stub... " >&6; }
11172 if ${ac_cv_lib_dnet_stub_dnet_ntoa+:} false; then :
11173 $as_echo_n "(cached) " >&6
11174 else
11175 ac_check_lib_save_LIBS=$LIBS
11176 LIBS="-ldnet_stub $LIBS"
11177 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11178 /* end confdefs.h. */
11180 /* Override any GCC internal prototype to avoid an error.
11181 Use char because int might match the return type of a GCC
11182 builtin and then its argument prototype would still apply. */
11183 #ifdef __cplusplus
11184 extern "C"
11185 #endif
11186 char dnet_ntoa ();
11188 main ()
11190 return dnet_ntoa ();
11192 return 0;
11194 _ACEOF
11195 if ac_fn_c_try_link "$LINENO"; then :
11196 ac_cv_lib_dnet_stub_dnet_ntoa=yes
11197 else
11198 ac_cv_lib_dnet_stub_dnet_ntoa=no
11200 rm -f core conftest.err conftest.$ac_objext \
11201 conftest$ac_exeext conftest.$ac_ext
11202 LIBS=$ac_check_lib_save_LIBS
11204 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
11205 $as_echo "$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
11206 if test "x$ac_cv_lib_dnet_stub_dnet_ntoa" = xyes; then :
11207 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
11212 rm -f core conftest.err conftest.$ac_objext \
11213 conftest$ac_exeext conftest.$ac_ext
11214 LIBS="$ac_xsave_LIBS"
11216 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
11217 # to get the SysV transport functions.
11218 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
11219 # needs -lnsl.
11220 # The nsl library prevents programs from opening the X display
11221 # on Irix 5.2, according to T.E. Dickey.
11222 # The functions gethostbyname, getservbyname, and inet_addr are
11223 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
11224 ac_fn_c_check_func "$LINENO" "gethostbyname" "ac_cv_func_gethostbyname"
11225 if test "x$ac_cv_func_gethostbyname" = xyes; then :
11229 if test $ac_cv_func_gethostbyname = no; then
11230 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnsl" >&5
11231 $as_echo_n "checking for gethostbyname in -lnsl... " >&6; }
11232 if ${ac_cv_lib_nsl_gethostbyname+:} false; then :
11233 $as_echo_n "(cached) " >&6
11234 else
11235 ac_check_lib_save_LIBS=$LIBS
11236 LIBS="-lnsl $LIBS"
11237 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11238 /* end confdefs.h. */
11240 /* Override any GCC internal prototype to avoid an error.
11241 Use char because int might match the return type of a GCC
11242 builtin and then its argument prototype would still apply. */
11243 #ifdef __cplusplus
11244 extern "C"
11245 #endif
11246 char gethostbyname ();
11248 main ()
11250 return gethostbyname ();
11252 return 0;
11254 _ACEOF
11255 if ac_fn_c_try_link "$LINENO"; then :
11256 ac_cv_lib_nsl_gethostbyname=yes
11257 else
11258 ac_cv_lib_nsl_gethostbyname=no
11260 rm -f core conftest.err conftest.$ac_objext \
11261 conftest$ac_exeext conftest.$ac_ext
11262 LIBS=$ac_check_lib_save_LIBS
11264 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_gethostbyname" >&5
11265 $as_echo "$ac_cv_lib_nsl_gethostbyname" >&6; }
11266 if test "x$ac_cv_lib_nsl_gethostbyname" = xyes; then :
11267 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
11270 if test $ac_cv_lib_nsl_gethostbyname = no; then
11271 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lbsd" >&5
11272 $as_echo_n "checking for gethostbyname in -lbsd... " >&6; }
11273 if ${ac_cv_lib_bsd_gethostbyname+:} false; then :
11274 $as_echo_n "(cached) " >&6
11275 else
11276 ac_check_lib_save_LIBS=$LIBS
11277 LIBS="-lbsd $LIBS"
11278 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11279 /* end confdefs.h. */
11281 /* Override any GCC internal prototype to avoid an error.
11282 Use char because int might match the return type of a GCC
11283 builtin and then its argument prototype would still apply. */
11284 #ifdef __cplusplus
11285 extern "C"
11286 #endif
11287 char gethostbyname ();
11289 main ()
11291 return gethostbyname ();
11293 return 0;
11295 _ACEOF
11296 if ac_fn_c_try_link "$LINENO"; then :
11297 ac_cv_lib_bsd_gethostbyname=yes
11298 else
11299 ac_cv_lib_bsd_gethostbyname=no
11301 rm -f core conftest.err conftest.$ac_objext \
11302 conftest$ac_exeext conftest.$ac_ext
11303 LIBS=$ac_check_lib_save_LIBS
11305 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bsd_gethostbyname" >&5
11306 $as_echo "$ac_cv_lib_bsd_gethostbyname" >&6; }
11307 if test "x$ac_cv_lib_bsd_gethostbyname" = xyes; then :
11308 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
11314 # lieder@skyler.mavd.honeywell.com says without -lsocket,
11315 # socket/setsockopt and other routines are undefined under SCO ODT
11316 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
11317 # on later versions), says Simon Leinen: it contains gethostby*
11318 # variants that don't use the name server (or something). -lsocket
11319 # must be given before -lnsl if both are needed. We assume that
11320 # if connect needs -lnsl, so does gethostbyname.
11321 ac_fn_c_check_func "$LINENO" "connect" "ac_cv_func_connect"
11322 if test "x$ac_cv_func_connect" = xyes; then :
11326 if test $ac_cv_func_connect = no; then
11327 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for connect in -lsocket" >&5
11328 $as_echo_n "checking for connect in -lsocket... " >&6; }
11329 if ${ac_cv_lib_socket_connect+:} false; then :
11330 $as_echo_n "(cached) " >&6
11331 else
11332 ac_check_lib_save_LIBS=$LIBS
11333 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
11334 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11335 /* end confdefs.h. */
11337 /* Override any GCC internal prototype to avoid an error.
11338 Use char because int might match the return type of a GCC
11339 builtin and then its argument prototype would still apply. */
11340 #ifdef __cplusplus
11341 extern "C"
11342 #endif
11343 char connect ();
11345 main ()
11347 return connect ();
11349 return 0;
11351 _ACEOF
11352 if ac_fn_c_try_link "$LINENO"; then :
11353 ac_cv_lib_socket_connect=yes
11354 else
11355 ac_cv_lib_socket_connect=no
11357 rm -f core conftest.err conftest.$ac_objext \
11358 conftest$ac_exeext conftest.$ac_ext
11359 LIBS=$ac_check_lib_save_LIBS
11361 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_connect" >&5
11362 $as_echo "$ac_cv_lib_socket_connect" >&6; }
11363 if test "x$ac_cv_lib_socket_connect" = xyes; then :
11364 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
11369 # Guillermo Gomez says -lposix is necessary on A/UX.
11370 ac_fn_c_check_func "$LINENO" "remove" "ac_cv_func_remove"
11371 if test "x$ac_cv_func_remove" = xyes; then :
11375 if test $ac_cv_func_remove = no; then
11376 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for remove in -lposix" >&5
11377 $as_echo_n "checking for remove in -lposix... " >&6; }
11378 if ${ac_cv_lib_posix_remove+:} false; then :
11379 $as_echo_n "(cached) " >&6
11380 else
11381 ac_check_lib_save_LIBS=$LIBS
11382 LIBS="-lposix $LIBS"
11383 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11384 /* end confdefs.h. */
11386 /* Override any GCC internal prototype to avoid an error.
11387 Use char because int might match the return type of a GCC
11388 builtin and then its argument prototype would still apply. */
11389 #ifdef __cplusplus
11390 extern "C"
11391 #endif
11392 char remove ();
11394 main ()
11396 return remove ();
11398 return 0;
11400 _ACEOF
11401 if ac_fn_c_try_link "$LINENO"; then :
11402 ac_cv_lib_posix_remove=yes
11403 else
11404 ac_cv_lib_posix_remove=no
11406 rm -f core conftest.err conftest.$ac_objext \
11407 conftest$ac_exeext conftest.$ac_ext
11408 LIBS=$ac_check_lib_save_LIBS
11410 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix_remove" >&5
11411 $as_echo "$ac_cv_lib_posix_remove" >&6; }
11412 if test "x$ac_cv_lib_posix_remove" = xyes; then :
11413 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
11418 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
11419 ac_fn_c_check_func "$LINENO" "shmat" "ac_cv_func_shmat"
11420 if test "x$ac_cv_func_shmat" = xyes; then :
11424 if test $ac_cv_func_shmat = no; then
11425 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shmat in -lipc" >&5
11426 $as_echo_n "checking for shmat in -lipc... " >&6; }
11427 if ${ac_cv_lib_ipc_shmat+:} false; then :
11428 $as_echo_n "(cached) " >&6
11429 else
11430 ac_check_lib_save_LIBS=$LIBS
11431 LIBS="-lipc $LIBS"
11432 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11433 /* end confdefs.h. */
11435 /* Override any GCC internal prototype to avoid an error.
11436 Use char because int might match the return type of a GCC
11437 builtin and then its argument prototype would still apply. */
11438 #ifdef __cplusplus
11439 extern "C"
11440 #endif
11441 char shmat ();
11443 main ()
11445 return shmat ();
11447 return 0;
11449 _ACEOF
11450 if ac_fn_c_try_link "$LINENO"; then :
11451 ac_cv_lib_ipc_shmat=yes
11452 else
11453 ac_cv_lib_ipc_shmat=no
11455 rm -f core conftest.err conftest.$ac_objext \
11456 conftest$ac_exeext conftest.$ac_ext
11457 LIBS=$ac_check_lib_save_LIBS
11459 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ipc_shmat" >&5
11460 $as_echo "$ac_cv_lib_ipc_shmat" >&6; }
11461 if test "x$ac_cv_lib_ipc_shmat" = xyes; then :
11462 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
11468 # Check for libraries that X11R6 Xt/Xaw programs need.
11469 ac_save_LDFLAGS=$LDFLAGS
11470 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
11471 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
11472 # check for ICE first), but we must link in the order -lSM -lICE or
11473 # we get undefined symbols. So assume we have SM if we have ICE.
11474 # These have to be linked with before -lX11, unlike the other
11475 # libraries we check for below, so use a different variable.
11476 # John Interrante, Karl Berry
11477 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for IceConnectionNumber in -lICE" >&5
11478 $as_echo_n "checking for IceConnectionNumber in -lICE... " >&6; }
11479 if ${ac_cv_lib_ICE_IceConnectionNumber+:} false; then :
11480 $as_echo_n "(cached) " >&6
11481 else
11482 ac_check_lib_save_LIBS=$LIBS
11483 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
11484 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11485 /* end confdefs.h. */
11487 /* Override any GCC internal prototype to avoid an error.
11488 Use char because int might match the return type of a GCC
11489 builtin and then its argument prototype would still apply. */
11490 #ifdef __cplusplus
11491 extern "C"
11492 #endif
11493 char IceConnectionNumber ();
11495 main ()
11497 return IceConnectionNumber ();
11499 return 0;
11501 _ACEOF
11502 if ac_fn_c_try_link "$LINENO"; then :
11503 ac_cv_lib_ICE_IceConnectionNumber=yes
11504 else
11505 ac_cv_lib_ICE_IceConnectionNumber=no
11507 rm -f core conftest.err conftest.$ac_objext \
11508 conftest$ac_exeext conftest.$ac_ext
11509 LIBS=$ac_check_lib_save_LIBS
11511 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
11512 $as_echo "$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
11513 if test "x$ac_cv_lib_ICE_IceConnectionNumber" = xyes; then :
11514 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
11517 LDFLAGS=$ac_save_LDFLAGS
11522 if test "$have_x" = "yes"
11523 then
11524 ac_save_CPPFLAGS="$CPPFLAGS"
11525 CPPFLAGS="$CPPFLAGS $X_CFLAGS"
11527 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lX11" >&5
11528 $as_echo_n "checking for -lX11... " >&6; }
11529 if ${ac_cv_lib_soname_X11+:} false; then :
11530 $as_echo_n "(cached) " >&6
11531 else
11532 ac_check_soname_save_LIBS=$LIBS
11533 LIBS="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
11534 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11535 /* end confdefs.h. */
11537 /* Override any GCC internal prototype to avoid an error.
11538 Use char because int might match the return type of a GCC
11539 builtin and then its argument prototype would still apply. */
11540 #ifdef __cplusplus
11541 extern "C"
11542 #endif
11543 char XCreateWindow ();
11545 main ()
11547 return XCreateWindow ();
11549 return 0;
11551 _ACEOF
11552 if ac_fn_c_try_link "$LINENO"; then :
11553 case "$LIBEXT" in
11554 dll) ac_cv_lib_soname_X11=`$ac_cv_path_LDD conftest.exe | grep "X11" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11555 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'` ;;
11556 *) ac_cv_lib_soname_X11=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libX11\\.$LIBEXT" | sed -e "s/^.*\\[\\(libX11\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11557 if ${ac_cv_lib_soname_X11:+false} :; then :
11558 ac_cv_lib_soname_X11=`$LDD conftest$ac_exeext | grep "libX11\\.$LIBEXT" | sed -e "s/^.*\(libX11\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11559 fi ;;
11560 esac
11561 else
11562 ac_cv_lib_soname_X11=
11564 rm -f core conftest.err conftest.$ac_objext \
11565 conftest$ac_exeext conftest.$ac_ext
11566 LIBS=$ac_check_soname_save_LIBS
11568 if ${ac_cv_lib_soname_X11:+false} :; then :
11569 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11570 $as_echo "not found" >&6; }
11572 else
11573 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_X11" >&5
11574 $as_echo "$ac_cv_lib_soname_X11" >&6; }
11576 cat >>confdefs.h <<_ACEOF
11577 #define SONAME_LIBX11 "$ac_cv_lib_soname_X11"
11578 _ACEOF
11582 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXext" >&5
11583 $as_echo_n "checking for -lXext... " >&6; }
11584 if ${ac_cv_lib_soname_Xext+:} false; then :
11585 $as_echo_n "(cached) " >&6
11586 else
11587 ac_check_soname_save_LIBS=$LIBS
11588 LIBS="-lXext $X_LIBS -lX11 $X_EXTRA_LIBS $LIBS"
11589 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11590 /* end confdefs.h. */
11592 /* Override any GCC internal prototype to avoid an error.
11593 Use char because int might match the return type of a GCC
11594 builtin and then its argument prototype would still apply. */
11595 #ifdef __cplusplus
11596 extern "C"
11597 #endif
11598 char XextCreateExtension ();
11600 main ()
11602 return XextCreateExtension ();
11604 return 0;
11606 _ACEOF
11607 if ac_fn_c_try_link "$LINENO"; then :
11608 case "$LIBEXT" in
11609 dll) ac_cv_lib_soname_Xext=`$ac_cv_path_LDD conftest.exe | grep "Xext" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11610 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'` ;;
11611 *) ac_cv_lib_soname_Xext=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXext\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXext\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11612 if ${ac_cv_lib_soname_Xext:+false} :; then :
11613 ac_cv_lib_soname_Xext=`$LDD conftest$ac_exeext | grep "libXext\\.$LIBEXT" | sed -e "s/^.*\(libXext\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11614 fi ;;
11615 esac
11616 else
11617 ac_cv_lib_soname_Xext=
11619 rm -f core conftest.err conftest.$ac_objext \
11620 conftest$ac_exeext conftest.$ac_ext
11621 LIBS=$ac_check_soname_save_LIBS
11623 if ${ac_cv_lib_soname_Xext:+false} :; then :
11624 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11625 $as_echo "not found" >&6; }
11627 else
11628 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xext" >&5
11629 $as_echo "$ac_cv_lib_soname_Xext" >&6; }
11631 cat >>confdefs.h <<_ACEOF
11632 #define SONAME_LIBXEXT "$ac_cv_lib_soname_Xext"
11633 _ACEOF
11635 X_LIBS="$X_LIBS -lXext"
11637 X_LIBS="$X_LIBS -lX11"
11639 for ac_header in X11/Xlib.h \
11640 X11/XKBlib.h \
11641 X11/Xutil.h \
11642 X11/Xcursor/Xcursor.h \
11643 X11/extensions/shape.h \
11644 X11/extensions/XInput.h \
11645 X11/extensions/XInput2.h \
11646 X11/extensions/XShm.h \
11647 X11/extensions/Xcomposite.h \
11648 X11/extensions/Xfixes.h \
11649 X11/extensions/Xinerama.h \
11650 X11/extensions/Xrandr.h \
11651 X11/extensions/Xrender.h \
11652 X11/extensions/xf86vmode.h \
11653 X11/extensions/xf86vmproto.h
11654 do :
11655 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
11656 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_X11_XLIB_H
11657 # include <X11/Xlib.h>
11658 #endif
11659 #ifdef HAVE_X11_XUTIL_H
11660 # include <X11/Xutil.h>
11661 #endif
11663 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
11664 cat >>confdefs.h <<_ACEOF
11665 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
11666 _ACEOF
11670 done
11673 if test "$ac_cv_header_X11_XKBlib_h" = "yes"
11674 then
11675 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XkbQueryExtension in -lX11" >&5
11676 $as_echo_n "checking for XkbQueryExtension in -lX11... " >&6; }
11677 if ${ac_cv_lib_X11_XkbQueryExtension+:} false; then :
11678 $as_echo_n "(cached) " >&6
11679 else
11680 ac_check_lib_save_LIBS=$LIBS
11681 LIBS="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
11682 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11683 /* end confdefs.h. */
11685 /* Override any GCC internal prototype to avoid an error.
11686 Use char because int might match the return type of a GCC
11687 builtin and then its argument prototype would still apply. */
11688 #ifdef __cplusplus
11689 extern "C"
11690 #endif
11691 char XkbQueryExtension ();
11693 main ()
11695 return XkbQueryExtension ();
11697 return 0;
11699 _ACEOF
11700 if ac_fn_c_try_link "$LINENO"; then :
11701 ac_cv_lib_X11_XkbQueryExtension=yes
11702 else
11703 ac_cv_lib_X11_XkbQueryExtension=no
11705 rm -f core conftest.err conftest.$ac_objext \
11706 conftest$ac_exeext conftest.$ac_ext
11707 LIBS=$ac_check_lib_save_LIBS
11709 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_X11_XkbQueryExtension" >&5
11710 $as_echo "$ac_cv_lib_X11_XkbQueryExtension" >&6; }
11711 if test "x$ac_cv_lib_X11_XkbQueryExtension" = xyes; then :
11713 $as_echo "#define HAVE_XKB 1" >>confdefs.h
11719 if test "$ac_cv_header_X11_Xcursor_Xcursor_h" = "yes"
11720 then
11721 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXcursor" >&5
11722 $as_echo_n "checking for -lXcursor... " >&6; }
11723 if ${ac_cv_lib_soname_Xcursor+:} false; then :
11724 $as_echo_n "(cached) " >&6
11725 else
11726 ac_check_soname_save_LIBS=$LIBS
11727 LIBS="-lXcursor $X_LIBS $X_EXTRA_LIBS $LIBS"
11728 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11729 /* end confdefs.h. */
11731 /* Override any GCC internal prototype to avoid an error.
11732 Use char because int might match the return type of a GCC
11733 builtin and then its argument prototype would still apply. */
11734 #ifdef __cplusplus
11735 extern "C"
11736 #endif
11737 char XcursorImageLoadCursor ();
11739 main ()
11741 return XcursorImageLoadCursor ();
11743 return 0;
11745 _ACEOF
11746 if ac_fn_c_try_link "$LINENO"; then :
11747 case "$LIBEXT" in
11748 dll) ac_cv_lib_soname_Xcursor=`$ac_cv_path_LDD conftest.exe | grep "Xcursor" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11749 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'` ;;
11750 *) ac_cv_lib_soname_Xcursor=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcursor\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcursor\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11751 if ${ac_cv_lib_soname_Xcursor:+false} :; then :
11752 ac_cv_lib_soname_Xcursor=`$LDD conftest$ac_exeext | grep "libXcursor\\.$LIBEXT" | sed -e "s/^.*\(libXcursor\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11753 fi ;;
11754 esac
11755 else
11756 ac_cv_lib_soname_Xcursor=
11758 rm -f core conftest.err conftest.$ac_objext \
11759 conftest$ac_exeext conftest.$ac_ext
11760 LIBS=$ac_check_soname_save_LIBS
11762 if ${ac_cv_lib_soname_Xcursor:+false} :; then :
11763 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11764 $as_echo "not found" >&6; }
11766 else
11767 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcursor" >&5
11768 $as_echo "$ac_cv_lib_soname_Xcursor" >&6; }
11770 cat >>confdefs.h <<_ACEOF
11771 #define SONAME_LIBXCURSOR "$ac_cv_lib_soname_Xcursor"
11772 _ACEOF
11777 if test "x$ac_cv_lib_soname_Xcursor" = "x"; then :
11778 case "x$with_xcursor" in
11779 x) as_fn_append wine_notices "|libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported." ;;
11780 xno) ;;
11781 *) as_fn_error $? "libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported.
11782 This is an error since --with-xcursor was requested." "$LINENO" 5 ;;
11783 esac
11787 if test "$ac_cv_header_X11_extensions_XInput_h" = "yes"
11788 then
11789 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXi" >&5
11790 $as_echo_n "checking for -lXi... " >&6; }
11791 if ${ac_cv_lib_soname_Xi+:} false; then :
11792 $as_echo_n "(cached) " >&6
11793 else
11794 ac_check_soname_save_LIBS=$LIBS
11795 LIBS="-lXi $X_LIBS $X_EXTRA_LIBS $LIBS"
11796 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11797 /* end confdefs.h. */
11799 /* Override any GCC internal prototype to avoid an error.
11800 Use char because int might match the return type of a GCC
11801 builtin and then its argument prototype would still apply. */
11802 #ifdef __cplusplus
11803 extern "C"
11804 #endif
11805 char XOpenDevice ();
11807 main ()
11809 return XOpenDevice ();
11811 return 0;
11813 _ACEOF
11814 if ac_fn_c_try_link "$LINENO"; then :
11815 case "$LIBEXT" in
11816 dll) ac_cv_lib_soname_Xi=`$ac_cv_path_LDD conftest.exe | grep "Xi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11817 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'` ;;
11818 *) ac_cv_lib_soname_Xi=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11819 if ${ac_cv_lib_soname_Xi:+false} :; then :
11820 ac_cv_lib_soname_Xi=`$LDD conftest$ac_exeext | grep "libXi\\.$LIBEXT" | sed -e "s/^.*\(libXi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11821 fi ;;
11822 esac
11823 else
11824 ac_cv_lib_soname_Xi=
11826 rm -f core conftest.err conftest.$ac_objext \
11827 conftest$ac_exeext conftest.$ac_ext
11828 LIBS=$ac_check_soname_save_LIBS
11830 if ${ac_cv_lib_soname_Xi:+false} :; then :
11831 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11832 $as_echo "not found" >&6; }
11834 else
11835 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xi" >&5
11836 $as_echo "$ac_cv_lib_soname_Xi" >&6; }
11838 cat >>confdefs.h <<_ACEOF
11839 #define SONAME_LIBXI "$ac_cv_lib_soname_Xi"
11840 _ACEOF
11845 if test "x$ac_cv_lib_soname_Xi" = "x"; then :
11846 case "x$with_xinput" in
11847 x) as_fn_append wine_notices "|libxi ${notice_platform}development files not found, the Xinput extension won't be supported." ;;
11848 xno) ;;
11849 *) as_fn_error $? "libxi ${notice_platform}development files not found, the Xinput extension won't be supported.
11850 This is an error since --with-xinput was requested." "$LINENO" 5 ;;
11851 esac
11855 if test "x$ac_cv_lib_soname_Xi" != x
11856 then
11857 if test "$ac_cv_header_X11_extensions_XInput2_h" != "yes"; then :
11858 case "x$with_xinput2" in
11859 x) as_fn_append wine_notices "|XInput2 headers not found, the XInput 2 extension won't be supported." ;;
11860 xno) ;;
11861 *) as_fn_error $? "XInput2 headers not found, the XInput 2 extension won't be supported.
11862 This is an error since --with-xinput2 was requested." "$LINENO" 5 ;;
11863 esac
11868 if test "$ac_cv_header_X11_extensions_XShm_h" = "yes"
11869 then
11870 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShmQueryExtension in -lXext" >&5
11871 $as_echo_n "checking for XShmQueryExtension in -lXext... " >&6; }
11872 if ${ac_cv_lib_Xext_XShmQueryExtension+:} false; then :
11873 $as_echo_n "(cached) " >&6
11874 else
11875 ac_check_lib_save_LIBS=$LIBS
11876 LIBS="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
11877 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11878 /* end confdefs.h. */
11880 /* Override any GCC internal prototype to avoid an error.
11881 Use char because int might match the return type of a GCC
11882 builtin and then its argument prototype would still apply. */
11883 #ifdef __cplusplus
11884 extern "C"
11885 #endif
11886 char XShmQueryExtension ();
11888 main ()
11890 return XShmQueryExtension ();
11892 return 0;
11894 _ACEOF
11895 if ac_fn_c_try_link "$LINENO"; then :
11896 ac_cv_lib_Xext_XShmQueryExtension=yes
11897 else
11898 ac_cv_lib_Xext_XShmQueryExtension=no
11900 rm -f core conftest.err conftest.$ac_objext \
11901 conftest$ac_exeext conftest.$ac_ext
11902 LIBS=$ac_check_lib_save_LIBS
11904 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShmQueryExtension" >&5
11905 $as_echo "$ac_cv_lib_Xext_XShmQueryExtension" >&6; }
11906 if test "x$ac_cv_lib_Xext_XShmQueryExtension" = xyes; then :
11908 $as_echo "#define HAVE_LIBXXSHM 1" >>confdefs.h
11913 if test "$ac_cv_lib_Xext_XShmQueryExtension" != "yes"; then :
11914 case "x$with_xshm" in
11915 x) as_fn_append wine_notices "|XShm ${notice_platform}development files not found, X Shared Memory won't be supported." ;;
11916 xno) ;;
11917 *) as_fn_error $? "XShm ${notice_platform}development files not found, X Shared Memory won't be supported.
11918 This is an error since --with-xshm was requested." "$LINENO" 5 ;;
11919 esac
11923 if test "$ac_cv_header_X11_extensions_shape_h" = "yes"
11924 then
11925 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShapeQueryExtension in -lXext" >&5
11926 $as_echo_n "checking for XShapeQueryExtension in -lXext... " >&6; }
11927 if ${ac_cv_lib_Xext_XShapeQueryExtension+:} false; then :
11928 $as_echo_n "(cached) " >&6
11929 else
11930 ac_check_lib_save_LIBS=$LIBS
11931 LIBS="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
11932 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11933 /* end confdefs.h. */
11935 /* Override any GCC internal prototype to avoid an error.
11936 Use char because int might match the return type of a GCC
11937 builtin and then its argument prototype would still apply. */
11938 #ifdef __cplusplus
11939 extern "C"
11940 #endif
11941 char XShapeQueryExtension ();
11943 main ()
11945 return XShapeQueryExtension ();
11947 return 0;
11949 _ACEOF
11950 if ac_fn_c_try_link "$LINENO"; then :
11951 ac_cv_lib_Xext_XShapeQueryExtension=yes
11952 else
11953 ac_cv_lib_Xext_XShapeQueryExtension=no
11955 rm -f core conftest.err conftest.$ac_objext \
11956 conftest$ac_exeext conftest.$ac_ext
11957 LIBS=$ac_check_lib_save_LIBS
11959 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
11960 $as_echo "$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
11961 if test "x$ac_cv_lib_Xext_XShapeQueryExtension" = xyes; then :
11963 $as_echo "#define HAVE_LIBXSHAPE 1" >>confdefs.h
11968 if test "$ac_cv_lib_Xext_XShapeQueryExtension" != "yes"; then :
11969 case "x$with_xshape" in
11970 x) as_fn_append wine_notices "|XShape ${notice_platform}development files not found, XShape won't be supported." ;;
11971 xno) ;;
11972 *) as_fn_error $? "XShape ${notice_platform}development files not found, XShape won't be supported.
11973 This is an error since --with-xshape was requested." "$LINENO" 5 ;;
11974 esac
11978 if test "$ac_cv_header_X11_extensions_xf86vmode_h" = "yes" -o "$ac_cv_header_X11_extensions_xf86vmproto_h" = "yes"
11979 then
11980 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXxf86vm" >&5
11981 $as_echo_n "checking for -lXxf86vm... " >&6; }
11982 if ${ac_cv_lib_soname_Xxf86vm+:} false; then :
11983 $as_echo_n "(cached) " >&6
11984 else
11985 ac_check_soname_save_LIBS=$LIBS
11986 LIBS="-lXxf86vm $X_LIBS $X_EXTRA_LIBS $LIBS"
11987 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11988 /* end confdefs.h. */
11990 /* Override any GCC internal prototype to avoid an error.
11991 Use char because int might match the return type of a GCC
11992 builtin and then its argument prototype would still apply. */
11993 #ifdef __cplusplus
11994 extern "C"
11995 #endif
11996 char XF86VidModeQueryExtension ();
11998 main ()
12000 return XF86VidModeQueryExtension ();
12002 return 0;
12004 _ACEOF
12005 if ac_fn_c_try_link "$LINENO"; then :
12006 case "$LIBEXT" in
12007 dll) ac_cv_lib_soname_Xxf86vm=`$ac_cv_path_LDD conftest.exe | grep "Xxf86vm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12008 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'` ;;
12009 *) ac_cv_lib_soname_Xxf86vm=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXxf86vm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12010 if ${ac_cv_lib_soname_Xxf86vm:+false} :; then :
12011 ac_cv_lib_soname_Xxf86vm=`$LDD conftest$ac_exeext | grep "libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\(libXxf86vm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12012 fi ;;
12013 esac
12014 else
12015 ac_cv_lib_soname_Xxf86vm=
12017 rm -f core conftest.err conftest.$ac_objext \
12018 conftest$ac_exeext conftest.$ac_ext
12019 LIBS=$ac_check_soname_save_LIBS
12021 if ${ac_cv_lib_soname_Xxf86vm:+false} :; then :
12022 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12023 $as_echo "not found" >&6; }
12025 else
12026 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xxf86vm" >&5
12027 $as_echo "$ac_cv_lib_soname_Xxf86vm" >&6; }
12029 cat >>confdefs.h <<_ACEOF
12030 #define SONAME_LIBXXF86VM "$ac_cv_lib_soname_Xxf86vm"
12031 _ACEOF
12036 if test "x$ac_cv_lib_soname_Xxf86vm" = "x"; then :
12037 case "x$with_xxf86vm" in
12038 x) as_fn_append wine_notices "|libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported." ;;
12039 xno) ;;
12040 *) as_fn_error $? "libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported.
12041 This is an error since --with-xxf86vm was requested." "$LINENO" 5 ;;
12042 esac
12046 if test "$ac_cv_header_X11_extensions_Xrender_h" = "yes" -a "x$ac_cv_lib_soname_X11" != "x"
12047 then
12048 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXrender" >&5
12049 $as_echo_n "checking for -lXrender... " >&6; }
12050 if ${ac_cv_lib_soname_Xrender+:} false; then :
12051 $as_echo_n "(cached) " >&6
12052 else
12053 ac_check_soname_save_LIBS=$LIBS
12054 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
12055 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12056 /* end confdefs.h. */
12058 /* Override any GCC internal prototype to avoid an error.
12059 Use char because int might match the return type of a GCC
12060 builtin and then its argument prototype would still apply. */
12061 #ifdef __cplusplus
12062 extern "C"
12063 #endif
12064 char XRenderQueryExtension ();
12066 main ()
12068 return XRenderQueryExtension ();
12070 return 0;
12072 _ACEOF
12073 if ac_fn_c_try_link "$LINENO"; then :
12074 case "$LIBEXT" in
12075 dll) ac_cv_lib_soname_Xrender=`$ac_cv_path_LDD conftest.exe | grep "Xrender" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12076 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'` ;;
12077 *) ac_cv_lib_soname_Xrender=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrender\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrender\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12078 if ${ac_cv_lib_soname_Xrender:+false} :; then :
12079 ac_cv_lib_soname_Xrender=`$LDD conftest$ac_exeext | grep "libXrender\\.$LIBEXT" | sed -e "s/^.*\(libXrender\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12080 fi ;;
12081 esac
12082 else
12083 ac_cv_lib_soname_Xrender=
12085 rm -f core conftest.err conftest.$ac_objext \
12086 conftest$ac_exeext conftest.$ac_ext
12087 LIBS=$ac_check_soname_save_LIBS
12089 if ${ac_cv_lib_soname_Xrender:+false} :; then :
12090 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12091 $as_echo "not found" >&6; }
12093 else
12094 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrender" >&5
12095 $as_echo "$ac_cv_lib_soname_Xrender" >&6; }
12097 cat >>confdefs.h <<_ACEOF
12098 #define SONAME_LIBXRENDER "$ac_cv_lib_soname_Xrender"
12099 _ACEOF
12101 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderSetPictureTransform in -lXrender" >&5
12102 $as_echo_n "checking for XRenderSetPictureTransform in -lXrender... " >&6; }
12103 if ${ac_cv_lib_Xrender_XRenderSetPictureTransform+:} false; then :
12104 $as_echo_n "(cached) " >&6
12105 else
12106 ac_check_lib_save_LIBS=$LIBS
12107 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
12108 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12109 /* end confdefs.h. */
12111 /* Override any GCC internal prototype to avoid an error.
12112 Use char because int might match the return type of a GCC
12113 builtin and then its argument prototype would still apply. */
12114 #ifdef __cplusplus
12115 extern "C"
12116 #endif
12117 char XRenderSetPictureTransform ();
12119 main ()
12121 return XRenderSetPictureTransform ();
12123 return 0;
12125 _ACEOF
12126 if ac_fn_c_try_link "$LINENO"; then :
12127 ac_cv_lib_Xrender_XRenderSetPictureTransform=yes
12128 else
12129 ac_cv_lib_Xrender_XRenderSetPictureTransform=no
12131 rm -f core conftest.err conftest.$ac_objext \
12132 conftest$ac_exeext conftest.$ac_ext
12133 LIBS=$ac_check_lib_save_LIBS
12135 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderSetPictureTransform" >&5
12136 $as_echo "$ac_cv_lib_Xrender_XRenderSetPictureTransform" >&6; }
12137 if test "x$ac_cv_lib_Xrender_XRenderSetPictureTransform" = xyes; then :
12139 $as_echo "#define HAVE_XRENDERSETPICTURETRANSFORM 1" >>confdefs.h
12143 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderCreateLinearGradient in -lXrender" >&5
12144 $as_echo_n "checking for XRenderCreateLinearGradient in -lXrender... " >&6; }
12145 if ${ac_cv_lib_Xrender_XRenderCreateLinearGradient+:} false; then :
12146 $as_echo_n "(cached) " >&6
12147 else
12148 ac_check_lib_save_LIBS=$LIBS
12149 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
12150 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12151 /* end confdefs.h. */
12153 /* Override any GCC internal prototype to avoid an error.
12154 Use char because int might match the return type of a GCC
12155 builtin and then its argument prototype would still apply. */
12156 #ifdef __cplusplus
12157 extern "C"
12158 #endif
12159 char XRenderCreateLinearGradient ();
12161 main ()
12163 return XRenderCreateLinearGradient ();
12165 return 0;
12167 _ACEOF
12168 if ac_fn_c_try_link "$LINENO"; then :
12169 ac_cv_lib_Xrender_XRenderCreateLinearGradient=yes
12170 else
12171 ac_cv_lib_Xrender_XRenderCreateLinearGradient=no
12173 rm -f core conftest.err conftest.$ac_objext \
12174 conftest$ac_exeext conftest.$ac_ext
12175 LIBS=$ac_check_lib_save_LIBS
12177 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&5
12178 $as_echo "$ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&6; }
12179 if test "x$ac_cv_lib_Xrender_XRenderCreateLinearGradient" = xyes; then :
12181 $as_echo "#define HAVE_XRENDERCREATELINEARGRADIENT 1" >>confdefs.h
12188 if test "x$ac_cv_lib_soname_Xrender" = "x"; then :
12189 case "x$with_xrender" in
12190 x) as_fn_append wine_warnings "|libxrender ${notice_platform}development files not found, XRender won't be supported." ;;
12191 xno) ;;
12192 *) as_fn_error $? "libxrender ${notice_platform}development files not found, XRender won't be supported.
12193 This is an error since --with-xrender was requested." "$LINENO" 5 ;;
12194 esac
12198 if test "$ac_cv_header_X11_extensions_Xrandr_h" = "yes" -a "x$ac_cv_lib_soname_Xrender" != "x"
12199 then
12200 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12201 /* end confdefs.h. */
12202 #include <X11/Xlib.h>
12203 #include <X11/extensions/Xrandr.h>
12205 main ()
12207 static typeof(XRRSetScreenConfigAndRate) * func; if (func) return 0;
12209 return 0;
12211 _ACEOF
12212 if ac_fn_c_try_compile "$LINENO"; then :
12213 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXrandr" >&5
12214 $as_echo_n "checking for -lXrandr... " >&6; }
12215 if ${ac_cv_lib_soname_Xrandr+:} false; then :
12216 $as_echo_n "(cached) " >&6
12217 else
12218 ac_check_soname_save_LIBS=$LIBS
12219 LIBS="-lXrandr $X_LIBS $X_EXTRA_LIBS $LIBS"
12220 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12221 /* end confdefs.h. */
12223 /* Override any GCC internal prototype to avoid an error.
12224 Use char because int might match the return type of a GCC
12225 builtin and then its argument prototype would still apply. */
12226 #ifdef __cplusplus
12227 extern "C"
12228 #endif
12229 char XRRQueryExtension ();
12231 main ()
12233 return XRRQueryExtension ();
12235 return 0;
12237 _ACEOF
12238 if ac_fn_c_try_link "$LINENO"; then :
12239 case "$LIBEXT" in
12240 dll) ac_cv_lib_soname_Xrandr=`$ac_cv_path_LDD conftest.exe | grep "Xrandr" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12241 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'` ;;
12242 *) ac_cv_lib_soname_Xrandr=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrandr\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrandr\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12243 if ${ac_cv_lib_soname_Xrandr:+false} :; then :
12244 ac_cv_lib_soname_Xrandr=`$LDD conftest$ac_exeext | grep "libXrandr\\.$LIBEXT" | sed -e "s/^.*\(libXrandr\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12245 fi ;;
12246 esac
12247 else
12248 ac_cv_lib_soname_Xrandr=
12250 rm -f core conftest.err conftest.$ac_objext \
12251 conftest$ac_exeext conftest.$ac_ext
12252 LIBS=$ac_check_soname_save_LIBS
12254 if ${ac_cv_lib_soname_Xrandr:+false} :; then :
12255 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12256 $as_echo "not found" >&6; }
12258 else
12259 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrandr" >&5
12260 $as_echo "$ac_cv_lib_soname_Xrandr" >&6; }
12262 cat >>confdefs.h <<_ACEOF
12263 #define SONAME_LIBXRANDR "$ac_cv_lib_soname_Xrandr"
12264 _ACEOF
12266 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12267 /* end confdefs.h. */
12268 #include <X11/Xlib.h>
12269 #include <X11/extensions/Xrandr.h>
12271 main ()
12273 static typeof(XRRGetProviderResources) *f; if (f) return 0;
12275 return 0;
12277 _ACEOF
12278 if ac_fn_c_try_compile "$LINENO"; then :
12280 $as_echo "#define HAVE_XRRGETPROVIDERRESOURCES 1" >>confdefs.h
12282 else
12283 as_fn_append wine_notices "|libxrandr ${notice_platform}development files too old, XRandR display device handler won't be supported."
12285 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12288 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12290 if test "x$ac_cv_lib_soname_Xrandr" = "x"; then :
12291 case "x$with_xrandr" in
12292 x) as_fn_append wine_notices "|libxrandr ${notice_platform}development files not found, XRandr won't be supported." ;;
12293 xno) ;;
12294 *) as_fn_error $? "libxrandr ${notice_platform}development files not found, XRandr won't be supported.
12295 This is an error since --with-xrandr was requested." "$LINENO" 5 ;;
12296 esac
12300 if test "$ac_cv_header_X11_extensions_Xfixes_h" = "yes"
12301 then
12302 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12303 /* end confdefs.h. */
12304 #include <X11/Xlib.h>
12305 #include <X11/extensions/Xfixes.h>
12307 main ()
12309 static typeof(XFixesQueryVersion) * func; if (func) return 0;
12311 return 0;
12313 _ACEOF
12314 if ac_fn_c_try_compile "$LINENO"; then :
12315 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXfixes" >&5
12316 $as_echo_n "checking for -lXfixes... " >&6; }
12317 if ${ac_cv_lib_soname_Xfixes+:} false; then :
12318 $as_echo_n "(cached) " >&6
12319 else
12320 ac_check_soname_save_LIBS=$LIBS
12321 LIBS="-lXfixes $X_LIBS $X_EXTRA_LIBS $LIBS"
12322 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12323 /* end confdefs.h. */
12325 /* Override any GCC internal prototype to avoid an error.
12326 Use char because int might match the return type of a GCC
12327 builtin and then its argument prototype would still apply. */
12328 #ifdef __cplusplus
12329 extern "C"
12330 #endif
12331 char XFixesQueryVersion ();
12333 main ()
12335 return XFixesQueryVersion ();
12337 return 0;
12339 _ACEOF
12340 if ac_fn_c_try_link "$LINENO"; then :
12341 case "$LIBEXT" in
12342 dll) ac_cv_lib_soname_Xfixes=`$ac_cv_path_LDD conftest.exe | grep "Xfixes" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12343 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'` ;;
12344 *) ac_cv_lib_soname_Xfixes=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXfixes\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXfixes\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12345 if ${ac_cv_lib_soname_Xfixes:+false} :; then :
12346 ac_cv_lib_soname_Xfixes=`$LDD conftest$ac_exeext | grep "libXfixes\\.$LIBEXT" | sed -e "s/^.*\(libXfixes\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12347 fi ;;
12348 esac
12349 else
12350 ac_cv_lib_soname_Xfixes=
12352 rm -f core conftest.err conftest.$ac_objext \
12353 conftest$ac_exeext conftest.$ac_ext
12354 LIBS=$ac_check_soname_save_LIBS
12356 if ${ac_cv_lib_soname_Xfixes:+false} :; then :
12357 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12358 $as_echo "not found" >&6; }
12360 else
12361 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xfixes" >&5
12362 $as_echo "$ac_cv_lib_soname_Xfixes" >&6; }
12364 cat >>confdefs.h <<_ACEOF
12365 #define SONAME_LIBXFIXES "$ac_cv_lib_soname_Xfixes"
12366 _ACEOF
12371 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12373 if test "x$ac_cv_lib_soname_Xfixes" = "x"; then :
12374 case "x$with_xfixes" in
12375 x) as_fn_append wine_notices "|libxfixes ${notice_platform}development files not found, Xfixes won't be supported." ;;
12376 xno) ;;
12377 *) as_fn_error $? "libxfixes ${notice_platform}development files not found, Xfixes won't be supported.
12378 This is an error since --with-xfixes was requested." "$LINENO" 5 ;;
12379 esac
12383 if test "$ac_cv_header_X11_extensions_Xinerama_h" = "yes"
12384 then
12385 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12386 /* end confdefs.h. */
12387 #include <X11/Xlib.h>
12388 #include <X11/extensions/Xinerama.h>
12390 main ()
12392 static typeof(XineramaQueryScreens) * func; if (func) return 0;
12394 return 0;
12396 _ACEOF
12397 if ac_fn_c_try_compile "$LINENO"; then :
12398 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXinerama" >&5
12399 $as_echo_n "checking for -lXinerama... " >&6; }
12400 if ${ac_cv_lib_soname_Xinerama+:} false; then :
12401 $as_echo_n "(cached) " >&6
12402 else
12403 ac_check_soname_save_LIBS=$LIBS
12404 LIBS="-lXinerama $X_LIBS $X_EXTRA_LIBS $LIBS"
12405 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12406 /* end confdefs.h. */
12408 /* Override any GCC internal prototype to avoid an error.
12409 Use char because int might match the return type of a GCC
12410 builtin and then its argument prototype would still apply. */
12411 #ifdef __cplusplus
12412 extern "C"
12413 #endif
12414 char XineramaQueryScreens ();
12416 main ()
12418 return XineramaQueryScreens ();
12420 return 0;
12422 _ACEOF
12423 if ac_fn_c_try_link "$LINENO"; then :
12424 case "$LIBEXT" in
12425 dll) ac_cv_lib_soname_Xinerama=`$ac_cv_path_LDD conftest.exe | grep "Xinerama" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12426 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'` ;;
12427 *) ac_cv_lib_soname_Xinerama=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXinerama\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXinerama\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12428 if ${ac_cv_lib_soname_Xinerama:+false} :; then :
12429 ac_cv_lib_soname_Xinerama=`$LDD conftest$ac_exeext | grep "libXinerama\\.$LIBEXT" | sed -e "s/^.*\(libXinerama\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12430 fi ;;
12431 esac
12432 else
12433 ac_cv_lib_soname_Xinerama=
12435 rm -f core conftest.err conftest.$ac_objext \
12436 conftest$ac_exeext conftest.$ac_ext
12437 LIBS=$ac_check_soname_save_LIBS
12439 if ${ac_cv_lib_soname_Xinerama:+false} :; then :
12440 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12441 $as_echo "not found" >&6; }
12443 else
12444 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xinerama" >&5
12445 $as_echo "$ac_cv_lib_soname_Xinerama" >&6; }
12447 cat >>confdefs.h <<_ACEOF
12448 #define SONAME_LIBXINERAMA "$ac_cv_lib_soname_Xinerama"
12449 _ACEOF
12454 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12456 if test "x$ac_cv_lib_soname_Xinerama" = "x"; then :
12457 case "x$with_xinerama" in
12458 x) as_fn_append wine_notices "|libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported." ;;
12459 xno) ;;
12460 *) as_fn_error $? "libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported.
12461 This is an error since --with-xinerama was requested." "$LINENO" 5 ;;
12462 esac
12466 if test "$ac_cv_header_X11_extensions_Xcomposite_h" = "yes"
12467 then
12468 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXcomposite" >&5
12469 $as_echo_n "checking for -lXcomposite... " >&6; }
12470 if ${ac_cv_lib_soname_Xcomposite+:} false; then :
12471 $as_echo_n "(cached) " >&6
12472 else
12473 ac_check_soname_save_LIBS=$LIBS
12474 LIBS="-lXcomposite $X_LIBS $X_EXTRA_LIBS $LIBS"
12475 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12476 /* end confdefs.h. */
12478 /* Override any GCC internal prototype to avoid an error.
12479 Use char because int might match the return type of a GCC
12480 builtin and then its argument prototype would still apply. */
12481 #ifdef __cplusplus
12482 extern "C"
12483 #endif
12484 char XCompositeRedirectWindow ();
12486 main ()
12488 return XCompositeRedirectWindow ();
12490 return 0;
12492 _ACEOF
12493 if ac_fn_c_try_link "$LINENO"; then :
12494 case "$LIBEXT" in
12495 dll) ac_cv_lib_soname_Xcomposite=`$ac_cv_path_LDD conftest.exe | grep "Xcomposite" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12496 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'` ;;
12497 *) ac_cv_lib_soname_Xcomposite=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcomposite\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcomposite\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12498 if ${ac_cv_lib_soname_Xcomposite:+false} :; then :
12499 ac_cv_lib_soname_Xcomposite=`$LDD conftest$ac_exeext | grep "libXcomposite\\.$LIBEXT" | sed -e "s/^.*\(libXcomposite\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12500 fi ;;
12501 esac
12502 else
12503 ac_cv_lib_soname_Xcomposite=
12505 rm -f core conftest.err conftest.$ac_objext \
12506 conftest$ac_exeext conftest.$ac_ext
12507 LIBS=$ac_check_soname_save_LIBS
12509 if ${ac_cv_lib_soname_Xcomposite:+false} :; then :
12510 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12511 $as_echo "not found" >&6; }
12513 else
12514 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcomposite" >&5
12515 $as_echo "$ac_cv_lib_soname_Xcomposite" >&6; }
12517 cat >>confdefs.h <<_ACEOF
12518 #define SONAME_LIBXCOMPOSITE "$ac_cv_lib_soname_Xcomposite"
12519 _ACEOF
12524 if test "x$ac_cv_lib_soname_Xcomposite" = "x"; then :
12525 case "x$with_xcomposite" in
12526 x) as_fn_append wine_notices "|libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported." ;;
12527 xno) ;;
12528 *) as_fn_error $? "libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported.
12529 This is an error since --with-xcomposite was requested." "$LINENO" 5 ;;
12530 esac
12534 ac_fn_c_check_member "$LINENO" "XICCallback" "callback" "ac_cv_member_XICCallback_callback" "#ifdef HAVE_X11_XLIB_H
12535 #include <X11/Xlib.h>
12536 #endif
12538 if test "x$ac_cv_member_XICCallback_callback" = xyes; then :
12540 cat >>confdefs.h <<_ACEOF
12541 #define HAVE_XICCALLBACK_CALLBACK 1
12542 _ACEOF
12546 ac_fn_c_check_member "$LINENO" "XEvent" "xcookie" "ac_cv_member_XEvent_xcookie" "#ifdef HAVE_X11_XLIB_H
12547 #include <X11/Xlib.h>
12548 #endif
12550 if test "x$ac_cv_member_XEvent_xcookie" = xyes; then :
12552 cat >>confdefs.h <<_ACEOF
12553 #define HAVE_XEVENT_XCOOKIE 1
12554 _ACEOF
12561 opengl_msg=""
12562 if test "x$with_opengl" != "xno"
12563 then
12564 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
12565 $as_echo_n "checking for -lGL... " >&6; }
12566 if ${ac_cv_lib_soname_GL+:} false; then :
12567 $as_echo_n "(cached) " >&6
12568 else
12569 ac_check_soname_save_LIBS=$LIBS
12570 LIBS="-lGL $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
12571 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12572 /* end confdefs.h. */
12574 /* Override any GCC internal prototype to avoid an error.
12575 Use char because int might match the return type of a GCC
12576 builtin and then its argument prototype would still apply. */
12577 #ifdef __cplusplus
12578 extern "C"
12579 #endif
12580 char glXCreateContext ();
12582 main ()
12584 return glXCreateContext ();
12586 return 0;
12588 _ACEOF
12589 if ac_fn_c_try_link "$LINENO"; then :
12590 case "$LIBEXT" in
12591 dll) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12592 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'` ;;
12593 *) ac_cv_lib_soname_GL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12594 if ${ac_cv_lib_soname_GL:+false} :; then :
12595 ac_cv_lib_soname_GL=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12596 fi ;;
12597 esac
12598 else
12599 ac_cv_lib_soname_GL=
12601 rm -f core conftest.err conftest.$ac_objext \
12602 conftest$ac_exeext conftest.$ac_ext
12603 LIBS=$ac_check_soname_save_LIBS
12605 if ${ac_cv_lib_soname_GL:+false} :; then :
12606 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12607 $as_echo "not found" >&6; }
12608 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
12609 $as_echo_n "checking for -lGL... " >&6; }
12610 if ${ac_cv_lib_soname_GL+:} false; then :
12611 $as_echo_n "(cached) " >&6
12612 else
12613 ac_check_soname_save_LIBS=$LIBS
12614 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"
12615 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12616 /* end confdefs.h. */
12618 /* Override any GCC internal prototype to avoid an error.
12619 Use char because int might match the return type of a GCC
12620 builtin and then its argument prototype would still apply. */
12621 #ifdef __cplusplus
12622 extern "C"
12623 #endif
12624 char glXCreateContext ();
12626 main ()
12628 return glXCreateContext ();
12630 return 0;
12632 _ACEOF
12633 if ac_fn_c_try_link "$LINENO"; then :
12634 case "$LIBEXT" in
12635 dll) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12636 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'` ;;
12637 *) ac_cv_lib_soname_GL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12638 if ${ac_cv_lib_soname_GL:+false} :; then :
12639 ac_cv_lib_soname_GL=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12640 fi ;;
12641 esac
12642 else
12643 ac_cv_lib_soname_GL=
12645 rm -f core conftest.err conftest.$ac_objext \
12646 conftest$ac_exeext conftest.$ac_ext
12647 LIBS=$ac_check_soname_save_LIBS
12649 if ${ac_cv_lib_soname_GL:+false} :; then :
12650 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12651 $as_echo "not found" >&6; }
12652 if test -f /usr/X11R6/lib/libGL.a
12653 then
12654 opengl_msg="/usr/X11R6/lib/libGL.a is present on your system.
12655 This probably prevents linking to OpenGL. Try deleting the file and restarting configure."
12656 else
12657 opengl_msg="No OpenGL library found on this system."
12659 else
12660 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
12661 $as_echo "$ac_cv_lib_soname_GL" >&6; }
12663 cat >>confdefs.h <<_ACEOF
12664 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
12665 _ACEOF
12667 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"
12669 else
12670 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
12671 $as_echo "$ac_cv_lib_soname_GL" >&6; }
12673 cat >>confdefs.h <<_ACEOF
12674 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
12675 _ACEOF
12677 OPENGL_LIBS="-lGL"
12679 if test "x$with_osmesa" != "xno"
12680 then
12681 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lOSMesa" >&5
12682 $as_echo_n "checking for -lOSMesa... " >&6; }
12683 if ${ac_cv_lib_soname_OSMesa+:} false; then :
12684 $as_echo_n "(cached) " >&6
12685 else
12686 ac_check_soname_save_LIBS=$LIBS
12687 LIBS="-lOSMesa $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
12688 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12689 /* end confdefs.h. */
12691 /* Override any GCC internal prototype to avoid an error.
12692 Use char because int might match the return type of a GCC
12693 builtin and then its argument prototype would still apply. */
12694 #ifdef __cplusplus
12695 extern "C"
12696 #endif
12697 char OSMesaGetProcAddress ();
12699 main ()
12701 return OSMesaGetProcAddress ();
12703 return 0;
12705 _ACEOF
12706 if ac_fn_c_try_link "$LINENO"; then :
12707 case "$LIBEXT" in
12708 dll) ac_cv_lib_soname_OSMesa=`$ac_cv_path_LDD conftest.exe | grep "OSMesa" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12709 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'` ;;
12710 *) ac_cv_lib_soname_OSMesa=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libOSMesa\\.$LIBEXT" | sed -e "s/^.*\\[\\(libOSMesa\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12711 if ${ac_cv_lib_soname_OSMesa:+false} :; then :
12712 ac_cv_lib_soname_OSMesa=`$LDD conftest$ac_exeext | grep "libOSMesa\\.$LIBEXT" | sed -e "s/^.*\(libOSMesa\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12713 fi ;;
12714 esac
12715 else
12716 ac_cv_lib_soname_OSMesa=
12718 rm -f core conftest.err conftest.$ac_objext \
12719 conftest$ac_exeext conftest.$ac_ext
12720 LIBS=$ac_check_soname_save_LIBS
12722 if ${ac_cv_lib_soname_OSMesa:+false} :; then :
12723 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12724 $as_echo "not found" >&6; }
12726 else
12727 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_OSMesa" >&5
12728 $as_echo "$ac_cv_lib_soname_OSMesa" >&6; }
12730 cat >>confdefs.h <<_ACEOF
12731 #define SONAME_LIBOSMESA "$ac_cv_lib_soname_OSMesa"
12732 _ACEOF
12736 if test "x$ac_cv_lib_soname_OSMesa" = "x"; then :
12737 case "x$with_osmesa" in
12738 x) as_fn_append wine_notices "|libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported." ;;
12739 xno) ;;
12740 *) as_fn_error $? "libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported.
12741 This is an error since --with-osmesa was requested." "$LINENO" 5 ;;
12742 esac
12747 if test -n "$opengl_msg"; then :
12748 case "x$with_opengl" in
12749 x) as_fn_append wine_warnings "|$opengl_msg
12750 OpenGL and Direct3D won't be supported." ;;
12751 xno) ;;
12752 *) as_fn_error $? "$opengl_msg
12753 OpenGL and Direct3D won't be supported.
12754 This is an error since --with-opengl was requested." "$LINENO" 5 ;;
12755 esac
12759 CPPFLAGS="$ac_save_CPPFLAGS"
12760 else
12761 X_CFLAGS=""
12762 X_LIBS=""
12765 if test "$enable_wineandroid_drv$enable_winemac_drv" = "nono"
12766 then
12767 if test "x$X_LIBS" = "x"; then :
12768 case "x$with_x" in
12769 xno) ;;
12770 *) as_fn_error $? "X ${notice_platform}development files not found. Wine will be built
12771 without X support, which probably isn't what you want. You will need
12772 to install ${notice_platform}development packages of Xlib at the very least.
12773 Use the --without-x option if you really want this." "$LINENO" 5 ;;
12774 esac
12775 enable_winex11_drv=${enable_winex11_drv:-no}
12777 else
12778 if test "x$X_LIBS" = "x"; then :
12779 case "x$with_x" in
12780 x) as_fn_append wine_notices "|X ${notice_platform}development files not found, the X11 driver won't be supported." ;;
12781 xno) ;;
12782 *) as_fn_error $? "X ${notice_platform}development files not found, the X11 driver won't be supported.
12783 This is an error since --with-x was requested." "$LINENO" 5 ;;
12784 esac
12785 enable_winex11_drv=${enable_winex11_drv:-no}
12789 if test "$ac_cv_header_CL_cl_h" = "yes"
12790 then
12791 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clGetPlatformInfo in -lOpenCL" >&5
12792 $as_echo_n "checking for clGetPlatformInfo in -lOpenCL... " >&6; }
12793 if ${ac_cv_lib_OpenCL_clGetPlatformInfo+:} false; then :
12794 $as_echo_n "(cached) " >&6
12795 else
12796 ac_check_lib_save_LIBS=$LIBS
12797 LIBS="-lOpenCL $LIBS"
12798 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12799 /* end confdefs.h. */
12801 /* Override any GCC internal prototype to avoid an error.
12802 Use char because int might match the return type of a GCC
12803 builtin and then its argument prototype would still apply. */
12804 #ifdef __cplusplus
12805 extern "C"
12806 #endif
12807 char clGetPlatformInfo ();
12809 main ()
12811 return clGetPlatformInfo ();
12813 return 0;
12815 _ACEOF
12816 if ac_fn_c_try_link "$LINENO"; then :
12817 ac_cv_lib_OpenCL_clGetPlatformInfo=yes
12818 else
12819 ac_cv_lib_OpenCL_clGetPlatformInfo=no
12821 rm -f core conftest.err conftest.$ac_objext \
12822 conftest$ac_exeext conftest.$ac_ext
12823 LIBS=$ac_check_lib_save_LIBS
12825 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_OpenCL_clGetPlatformInfo" >&5
12826 $as_echo "$ac_cv_lib_OpenCL_clGetPlatformInfo" >&6; }
12827 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" = xyes; then :
12828 OPENCL_LIBS="-lOpenCL"
12833 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" != xyes; then :
12834 case "x$with_opencl" in
12835 x) as_fn_append wine_notices "|OpenCL ${notice_platform}development files not found, OpenCL won't be supported." ;;
12836 xno) ;;
12837 *) as_fn_error $? "OpenCL ${notice_platform}development files not found, OpenCL won't be supported.
12838 This is an error since --with-opencl was requested." "$LINENO" 5 ;;
12839 esac
12840 enable_opencl=${enable_opencl:-no}
12843 if test "$ac_cv_header_pcap_pcap_h" = "yes"
12844 then
12845 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pcap_create in -lpcap" >&5
12846 $as_echo_n "checking for pcap_create in -lpcap... " >&6; }
12847 if ${ac_cv_lib_pcap_pcap_create+:} false; then :
12848 $as_echo_n "(cached) " >&6
12849 else
12850 ac_check_lib_save_LIBS=$LIBS
12851 LIBS="-lpcap $LIBS"
12852 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12853 /* end confdefs.h. */
12855 /* Override any GCC internal prototype to avoid an error.
12856 Use char because int might match the return type of a GCC
12857 builtin and then its argument prototype would still apply. */
12858 #ifdef __cplusplus
12859 extern "C"
12860 #endif
12861 char pcap_create ();
12863 main ()
12865 return pcap_create ();
12867 return 0;
12869 _ACEOF
12870 if ac_fn_c_try_link "$LINENO"; then :
12871 ac_cv_lib_pcap_pcap_create=yes
12872 else
12873 ac_cv_lib_pcap_pcap_create=no
12875 rm -f core conftest.err conftest.$ac_objext \
12876 conftest$ac_exeext conftest.$ac_ext
12877 LIBS=$ac_check_lib_save_LIBS
12879 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pcap_pcap_create" >&5
12880 $as_echo "$ac_cv_lib_pcap_pcap_create" >&6; }
12881 if test "x$ac_cv_lib_pcap_pcap_create" = xyes; then :
12882 PCAP_LIBS="-lpcap"
12887 if test "x$ac_cv_lib_pcap_pcap_create" != xyes; then :
12888 case "x$with_pcap" in
12889 x) as_fn_append wine_notices "|pcap ${notice_platform}development files not found, wpcap won't be supported." ;;
12890 xno) ;;
12891 *) as_fn_error $? "pcap ${notice_platform}development files not found, wpcap won't be supported.
12892 This is an error since --with-pcap was requested." "$LINENO" 5 ;;
12893 esac
12894 enable_wpcap=${enable_wpcap:-no}
12898 if test "x$with_xml" != "xno"
12899 then
12900 if ${XML2_CFLAGS:+false} :; then :
12901 if ${PKG_CONFIG+:} false; then :
12902 XML2_CFLAGS=`$PKG_CONFIG --cflags libxml-2.0 2>/dev/null`
12905 test "$cross_compiling" = yes || XML2_CFLAGS=${XML2_CFLAGS:-`${XML2_CONFIG:-xml2-config} --cflags 2>/dev/null`}
12906 if ${XML2_LIBS:+false} :; then :
12907 if ${PKG_CONFIG+:} false; then :
12908 XML2_LIBS=`$PKG_CONFIG --libs libxml-2.0 2>/dev/null`
12911 test "$cross_compiling" = yes || XML2_LIBS=${XML2_LIBS:-`${XML2_CONFIG:-xml2-config} --libs 2>/dev/null`}
12912 XML2_LIBS=${XML2_LIBS:-"-lxml2"}
12913 $as_echo "$as_me:${as_lineno-$LINENO}: libxml-2.0 cflags: $XML2_CFLAGS" >&5
12914 $as_echo "$as_me:${as_lineno-$LINENO}: libxml-2.0 libs: $XML2_LIBS" >&5
12915 ac_save_CPPFLAGS=$CPPFLAGS
12916 CPPFLAGS="$CPPFLAGS $XML2_CFLAGS"
12917 for ac_header in libxml/parser.h libxml/xmlsave.h libxml/SAX2.h
12918 do :
12919 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
12920 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
12921 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
12922 cat >>confdefs.h <<_ACEOF
12923 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
12924 _ACEOF
12928 done
12930 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"
12931 then
12932 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlParseMemory in -lxml2" >&5
12933 $as_echo_n "checking for xmlParseMemory in -lxml2... " >&6; }
12934 if ${ac_cv_lib_xml2_xmlParseMemory+:} false; then :
12935 $as_echo_n "(cached) " >&6
12936 else
12937 ac_check_lib_save_LIBS=$LIBS
12938 LIBS="-lxml2 $XML2_LIBS $LIBS"
12939 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12940 /* end confdefs.h. */
12942 /* Override any GCC internal prototype to avoid an error.
12943 Use char because int might match the return type of a GCC
12944 builtin and then its argument prototype would still apply. */
12945 #ifdef __cplusplus
12946 extern "C"
12947 #endif
12948 char xmlParseMemory ();
12950 main ()
12952 return xmlParseMemory ();
12954 return 0;
12956 _ACEOF
12957 if ac_fn_c_try_link "$LINENO"; then :
12958 ac_cv_lib_xml2_xmlParseMemory=yes
12959 else
12960 ac_cv_lib_xml2_xmlParseMemory=no
12962 rm -f core conftest.err conftest.$ac_objext \
12963 conftest$ac_exeext conftest.$ac_ext
12964 LIBS=$ac_check_lib_save_LIBS
12966 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlParseMemory" >&5
12967 $as_echo "$ac_cv_lib_xml2_xmlParseMemory" >&6; }
12968 if test "x$ac_cv_lib_xml2_xmlParseMemory" = xyes; then :
12970 $as_echo "#define HAVE_LIBXML2 1" >>confdefs.h
12972 else
12973 XML2_LIBS=""
12976 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlReadMemory in -lxml2" >&5
12977 $as_echo_n "checking for xmlReadMemory in -lxml2... " >&6; }
12978 if ${ac_cv_lib_xml2_xmlReadMemory+:} false; then :
12979 $as_echo_n "(cached) " >&6
12980 else
12981 ac_check_lib_save_LIBS=$LIBS
12982 LIBS="-lxml2 $XML2_LIBS $LIBS"
12983 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12984 /* end confdefs.h. */
12986 /* Override any GCC internal prototype to avoid an error.
12987 Use char because int might match the return type of a GCC
12988 builtin and then its argument prototype would still apply. */
12989 #ifdef __cplusplus
12990 extern "C"
12991 #endif
12992 char xmlReadMemory ();
12994 main ()
12996 return xmlReadMemory ();
12998 return 0;
13000 _ACEOF
13001 if ac_fn_c_try_link "$LINENO"; then :
13002 ac_cv_lib_xml2_xmlReadMemory=yes
13003 else
13004 ac_cv_lib_xml2_xmlReadMemory=no
13006 rm -f core conftest.err conftest.$ac_objext \
13007 conftest$ac_exeext conftest.$ac_ext
13008 LIBS=$ac_check_lib_save_LIBS
13010 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlReadMemory" >&5
13011 $as_echo "$ac_cv_lib_xml2_xmlReadMemory" >&6; }
13012 if test "x$ac_cv_lib_xml2_xmlReadMemory" = xyes; then :
13014 $as_echo "#define HAVE_XMLREADMEMORY 1" >>confdefs.h
13018 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlNewDocPI in -lxml2" >&5
13019 $as_echo_n "checking for xmlNewDocPI in -lxml2... " >&6; }
13020 if ${ac_cv_lib_xml2_xmlNewDocPI+:} false; then :
13021 $as_echo_n "(cached) " >&6
13022 else
13023 ac_check_lib_save_LIBS=$LIBS
13024 LIBS="-lxml2 $XML2_LIBS $LIBS"
13025 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13026 /* end confdefs.h. */
13028 /* Override any GCC internal prototype to avoid an error.
13029 Use char because int might match the return type of a GCC
13030 builtin and then its argument prototype would still apply. */
13031 #ifdef __cplusplus
13032 extern "C"
13033 #endif
13034 char xmlNewDocPI ();
13036 main ()
13038 return xmlNewDocPI ();
13040 return 0;
13042 _ACEOF
13043 if ac_fn_c_try_link "$LINENO"; then :
13044 ac_cv_lib_xml2_xmlNewDocPI=yes
13045 else
13046 ac_cv_lib_xml2_xmlNewDocPI=no
13048 rm -f core conftest.err conftest.$ac_objext \
13049 conftest$ac_exeext conftest.$ac_ext
13050 LIBS=$ac_check_lib_save_LIBS
13052 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlNewDocPI" >&5
13053 $as_echo "$ac_cv_lib_xml2_xmlNewDocPI" >&6; }
13054 if test "x$ac_cv_lib_xml2_xmlNewDocPI" = xyes; then :
13056 $as_echo "#define HAVE_XMLNEWDOCPI 1" >>confdefs.h
13060 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlSchemaSetParserStructuredErrors in -lxml2" >&5
13061 $as_echo_n "checking for xmlSchemaSetParserStructuredErrors in -lxml2... " >&6; }
13062 if ${ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors+:} false; then :
13063 $as_echo_n "(cached) " >&6
13064 else
13065 ac_check_lib_save_LIBS=$LIBS
13066 LIBS="-lxml2 $XML2_LIBS $LIBS"
13067 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13068 /* end confdefs.h. */
13070 /* Override any GCC internal prototype to avoid an error.
13071 Use char because int might match the return type of a GCC
13072 builtin and then its argument prototype would still apply. */
13073 #ifdef __cplusplus
13074 extern "C"
13075 #endif
13076 char xmlSchemaSetParserStructuredErrors ();
13078 main ()
13080 return xmlSchemaSetParserStructuredErrors ();
13082 return 0;
13084 _ACEOF
13085 if ac_fn_c_try_link "$LINENO"; then :
13086 ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors=yes
13087 else
13088 ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors=no
13090 rm -f core conftest.err conftest.$ac_objext \
13091 conftest$ac_exeext conftest.$ac_ext
13092 LIBS=$ac_check_lib_save_LIBS
13094 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" >&5
13095 $as_echo "$ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" >&6; }
13096 if test "x$ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" = xyes; then :
13098 $as_echo "#define HAVE_XMLSCHEMASSETPARSERSTRUCTUREDERRORS 1" >>confdefs.h
13102 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlSchemaSetValidStructuredErrors in -lxml2" >&5
13103 $as_echo_n "checking for xmlSchemaSetValidStructuredErrors in -lxml2... " >&6; }
13104 if ${ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors+:} false; then :
13105 $as_echo_n "(cached) " >&6
13106 else
13107 ac_check_lib_save_LIBS=$LIBS
13108 LIBS="-lxml2 $XML2_LIBS $LIBS"
13109 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13110 /* end confdefs.h. */
13112 /* Override any GCC internal prototype to avoid an error.
13113 Use char because int might match the return type of a GCC
13114 builtin and then its argument prototype would still apply. */
13115 #ifdef __cplusplus
13116 extern "C"
13117 #endif
13118 char xmlSchemaSetValidStructuredErrors ();
13120 main ()
13122 return xmlSchemaSetValidStructuredErrors ();
13124 return 0;
13126 _ACEOF
13127 if ac_fn_c_try_link "$LINENO"; then :
13128 ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors=yes
13129 else
13130 ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors=no
13132 rm -f core conftest.err conftest.$ac_objext \
13133 conftest$ac_exeext conftest.$ac_ext
13134 LIBS=$ac_check_lib_save_LIBS
13136 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" >&5
13137 $as_echo "$ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" >&6; }
13138 if test "x$ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" = xyes; then :
13140 $as_echo "#define HAVE_XMLSCHEMASSETVALIDSTRUCTUREDERRORS 1" >>confdefs.h
13144 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlFirstElementChild in -lxml2" >&5
13145 $as_echo_n "checking for xmlFirstElementChild in -lxml2... " >&6; }
13146 if ${ac_cv_lib_xml2_xmlFirstElementChild+:} false; then :
13147 $as_echo_n "(cached) " >&6
13148 else
13149 ac_check_lib_save_LIBS=$LIBS
13150 LIBS="-lxml2 $XML2_LIBS $LIBS"
13151 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13152 /* end confdefs.h. */
13154 /* Override any GCC internal prototype to avoid an error.
13155 Use char because int might match the return type of a GCC
13156 builtin and then its argument prototype would still apply. */
13157 #ifdef __cplusplus
13158 extern "C"
13159 #endif
13160 char xmlFirstElementChild ();
13162 main ()
13164 return xmlFirstElementChild ();
13166 return 0;
13168 _ACEOF
13169 if ac_fn_c_try_link "$LINENO"; then :
13170 ac_cv_lib_xml2_xmlFirstElementChild=yes
13171 else
13172 ac_cv_lib_xml2_xmlFirstElementChild=no
13174 rm -f core conftest.err conftest.$ac_objext \
13175 conftest$ac_exeext conftest.$ac_ext
13176 LIBS=$ac_check_lib_save_LIBS
13178 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlFirstElementChild" >&5
13179 $as_echo "$ac_cv_lib_xml2_xmlFirstElementChild" >&6; }
13180 if test "x$ac_cv_lib_xml2_xmlFirstElementChild" = xyes; then :
13182 $as_echo "#define HAVE_XMLFIRSTELEMENTCHILD 1" >>confdefs.h
13186 ac_fn_c_check_type "$LINENO" "xmlDocProperties" "ac_cv_type_xmlDocProperties" "#include <libxml/tree.h>
13188 if test "x$ac_cv_type_xmlDocProperties" = xyes; then :
13190 $as_echo "#define HAVE_XMLDOC_PROPERTIES 1" >>confdefs.h
13194 else
13195 XML2_CFLAGS=""
13196 XML2_LIBS=""
13198 CPPFLAGS=$ac_save_CPPFLAGS
13201 if test "$ac_cv_lib_xml2_xmlParseMemory" != "yes"; then :
13202 case "x$with_xml" in
13203 x) as_fn_append wine_warnings "|libxml2 ${notice_platform}development files not found (or too old), XML won't be supported." ;;
13204 xno) ;;
13205 *) as_fn_error $? "libxml2 ${notice_platform}development files not found (or too old), XML won't be supported.
13206 This is an error since --with-xml was requested." "$LINENO" 5 ;;
13207 esac
13211 if test "x$with_xslt" != "xno"
13212 then
13213 if ${XSLT_CFLAGS:+false} :; then :
13214 if ${PKG_CONFIG+:} false; then :
13215 XSLT_CFLAGS=`$PKG_CONFIG --cflags libxslt 2>/dev/null`
13218 test "$cross_compiling" = yes || XSLT_CFLAGS=${XSLT_CFLAGS:-`${XSLT_CONFIG:-xslt-config} --cflags 2>/dev/null`}
13219 if ${XSLT_LIBS:+false} :; then :
13220 if ${PKG_CONFIG+:} false; then :
13221 XSLT_LIBS=`$PKG_CONFIG --libs libxslt 2>/dev/null`
13224 test "$cross_compiling" = yes || XSLT_LIBS=${XSLT_LIBS:-`${XSLT_CONFIG:-xslt-config} --libs 2>/dev/null`}
13225 XSLT_LIBS=${XSLT_LIBS:-"-lxml2"}
13226 $as_echo "$as_me:${as_lineno-$LINENO}: libxslt cflags: $XSLT_CFLAGS" >&5
13227 $as_echo "$as_me:${as_lineno-$LINENO}: libxslt libs: $XSLT_LIBS" >&5
13228 ac_save_CPPFLAGS=$CPPFLAGS
13229 CPPFLAGS="$CPPFLAGS $XSLT_CFLAGS"
13230 for ac_header in libxslt/pattern.h libxslt/transform.h
13231 do :
13232 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
13233 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_LIBXSLT_PATTERN_H
13234 # include <libxslt/pattern.h>
13235 #endif
13237 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
13238 cat >>confdefs.h <<_ACEOF
13239 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
13240 _ACEOF
13244 done
13246 if test "$ac_cv_header_libxslt_transform_h" = "yes"
13247 then
13248 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lxslt" >&5
13249 $as_echo_n "checking for -lxslt... " >&6; }
13250 if ${ac_cv_lib_soname_xslt+:} false; then :
13251 $as_echo_n "(cached) " >&6
13252 else
13253 ac_check_soname_save_LIBS=$LIBS
13254 LIBS="-lxslt $XSLT_LIBS $LIBS"
13255 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13256 /* end confdefs.h. */
13258 /* Override any GCC internal prototype to avoid an error.
13259 Use char because int might match the return type of a GCC
13260 builtin and then its argument prototype would still apply. */
13261 #ifdef __cplusplus
13262 extern "C"
13263 #endif
13264 char xsltCompilePattern ();
13266 main ()
13268 return xsltCompilePattern ();
13270 return 0;
13272 _ACEOF
13273 if ac_fn_c_try_link "$LINENO"; then :
13274 case "$LIBEXT" in
13275 dll) ac_cv_lib_soname_xslt=`$ac_cv_path_LDD conftest.exe | grep "xslt" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13276 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'` ;;
13277 *) ac_cv_lib_soname_xslt=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libxslt\\.$LIBEXT" | sed -e "s/^.*\\[\\(libxslt\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13278 if ${ac_cv_lib_soname_xslt:+false} :; then :
13279 ac_cv_lib_soname_xslt=`$LDD conftest$ac_exeext | grep "libxslt\\.$LIBEXT" | sed -e "s/^.*\(libxslt\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13280 fi ;;
13281 esac
13282 else
13283 ac_cv_lib_soname_xslt=
13285 rm -f core conftest.err conftest.$ac_objext \
13286 conftest$ac_exeext conftest.$ac_ext
13287 LIBS=$ac_check_soname_save_LIBS
13289 if ${ac_cv_lib_soname_xslt:+false} :; then :
13290 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13291 $as_echo "not found" >&6; }
13293 else
13294 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_xslt" >&5
13295 $as_echo "$ac_cv_lib_soname_xslt" >&6; }
13297 cat >>confdefs.h <<_ACEOF
13298 #define SONAME_LIBXSLT "$ac_cv_lib_soname_xslt"
13299 _ACEOF
13303 else
13304 XSLT_CFLAGS=""
13306 CPPFLAGS=$ac_save_CPPFLAGS
13309 if test "x$ac_cv_lib_soname_xslt" = "x"; then :
13310 case "x$with_xslt" in
13311 x) as_fn_append wine_warnings "|libxslt ${notice_platform}development files not found, xslt won't be supported." ;;
13312 xno) ;;
13313 *) as_fn_error $? "libxslt ${notice_platform}development files not found, xslt won't be supported.
13314 This is an error since --with-xslt was requested." "$LINENO" 5 ;;
13315 esac
13319 if test "x$with_inotify" != "xno"
13320 then
13321 if ${INOTIFY_CFLAGS:+false} :; then :
13322 if ${PKG_CONFIG+:} false; then :
13323 INOTIFY_CFLAGS=`$PKG_CONFIG --cflags libinotify 2>/dev/null`
13327 if ${INOTIFY_LIBS:+false} :; then :
13328 if ${PKG_CONFIG+:} false; then :
13329 INOTIFY_LIBS=`$PKG_CONFIG --libs libinotify 2>/dev/null`
13334 $as_echo "$as_me:${as_lineno-$LINENO}: libinotify cflags: $INOTIFY_CFLAGS" >&5
13335 $as_echo "$as_me:${as_lineno-$LINENO}: libinotify libs: $INOTIFY_LIBS" >&5
13336 ac_save_CPPFLAGS=$CPPFLAGS
13337 CPPFLAGS="$CPPFLAGS $INOTIFY_CFLAGS"
13338 for ac_header in sys/inotify.h
13339 do :
13340 ac_fn_c_check_header_mongrel "$LINENO" "sys/inotify.h" "ac_cv_header_sys_inotify_h" "$ac_includes_default"
13341 if test "x$ac_cv_header_sys_inotify_h" = xyes; then :
13342 cat >>confdefs.h <<_ACEOF
13343 #define HAVE_SYS_INOTIFY_H 1
13344 _ACEOF
13348 done
13350 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inotify_add_watch in -linotify" >&5
13351 $as_echo_n "checking for inotify_add_watch in -linotify... " >&6; }
13352 if ${ac_cv_lib_inotify_inotify_add_watch+:} false; then :
13353 $as_echo_n "(cached) " >&6
13354 else
13355 ac_check_lib_save_LIBS=$LIBS
13356 LIBS="-linotify $INOTIFY_LIBS $LIBS"
13357 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13358 /* end confdefs.h. */
13360 /* Override any GCC internal prototype to avoid an error.
13361 Use char because int might match the return type of a GCC
13362 builtin and then its argument prototype would still apply. */
13363 #ifdef __cplusplus
13364 extern "C"
13365 #endif
13366 char inotify_add_watch ();
13368 main ()
13370 return inotify_add_watch ();
13372 return 0;
13374 _ACEOF
13375 if ac_fn_c_try_link "$LINENO"; then :
13376 ac_cv_lib_inotify_inotify_add_watch=yes
13377 else
13378 ac_cv_lib_inotify_inotify_add_watch=no
13380 rm -f core conftest.err conftest.$ac_objext \
13381 conftest$ac_exeext conftest.$ac_ext
13382 LIBS=$ac_check_lib_save_LIBS
13384 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_inotify_inotify_add_watch" >&5
13385 $as_echo "$ac_cv_lib_inotify_inotify_add_watch" >&6; }
13386 if test "x$ac_cv_lib_inotify_inotify_add_watch" = xyes; then :
13388 else
13389 INOTIFY_LIBS=""
13392 CPPFLAGS=$ac_save_CPPFLAGS
13395 if test "$ac_cv_header_sys_inotify_h" != "yes"; then :
13396 case "x$with_inotify" in
13397 x) as_fn_append wine_notices "|libinotify ${notice_platform}development files not found (or too old), filesystem change notifications won't be supported." ;;
13398 xno) ;;
13399 *) as_fn_error $? "libinotify ${notice_platform}development files not found (or too old), filesystem change notifications won't be supported.
13400 This is an error since --with-inotify was requested." "$LINENO" 5 ;;
13401 esac
13405 if test "x$with_dbus" != "xno"
13406 then
13407 if ${DBUS_CFLAGS:+false} :; then :
13408 if ${PKG_CONFIG+:} false; then :
13409 DBUS_CFLAGS=`$PKG_CONFIG --cflags dbus-1 2>/dev/null`
13413 if ${DBUS_LIBS:+false} :; then :
13414 if ${PKG_CONFIG+:} false; then :
13415 DBUS_LIBS=`$PKG_CONFIG --libs dbus-1 2>/dev/null`
13420 $as_echo "$as_me:${as_lineno-$LINENO}: dbus-1 cflags: $DBUS_CFLAGS" >&5
13421 $as_echo "$as_me:${as_lineno-$LINENO}: dbus-1 libs: $DBUS_LIBS" >&5
13422 ac_save_CPPFLAGS=$CPPFLAGS
13423 CPPFLAGS="$CPPFLAGS $DBUS_CFLAGS"
13424 ac_fn_c_check_header_mongrel "$LINENO" "dbus/dbus.h" "ac_cv_header_dbus_dbus_h" "$ac_includes_default"
13425 if test "x$ac_cv_header_dbus_dbus_h" = xyes; then :
13426 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ldbus-1" >&5
13427 $as_echo_n "checking for -ldbus-1... " >&6; }
13428 if ${ac_cv_lib_soname_dbus_1+:} false; then :
13429 $as_echo_n "(cached) " >&6
13430 else
13431 ac_check_soname_save_LIBS=$LIBS
13432 LIBS="-ldbus-1 $DBUS_LIBS $LIBS"
13433 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13434 /* end confdefs.h. */
13436 /* Override any GCC internal prototype to avoid an error.
13437 Use char because int might match the return type of a GCC
13438 builtin and then its argument prototype would still apply. */
13439 #ifdef __cplusplus
13440 extern "C"
13441 #endif
13442 char dbus_connection_close ();
13444 main ()
13446 return dbus_connection_close ();
13448 return 0;
13450 _ACEOF
13451 if ac_fn_c_try_link "$LINENO"; then :
13452 case "$LIBEXT" in
13453 dll) ac_cv_lib_soname_dbus_1=`$ac_cv_path_LDD conftest.exe | grep "dbus-1" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13454 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'` ;;
13455 *) 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'`
13456 if ${ac_cv_lib_soname_dbus_1:+false} :; then :
13457 ac_cv_lib_soname_dbus_1=`$LDD conftest$ac_exeext | grep "libdbus-1\\.$LIBEXT" | sed -e "s/^.*\(libdbus-1\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13458 fi ;;
13459 esac
13460 else
13461 ac_cv_lib_soname_dbus_1=
13463 rm -f core conftest.err conftest.$ac_objext \
13464 conftest$ac_exeext conftest.$ac_ext
13465 LIBS=$ac_check_soname_save_LIBS
13467 if ${ac_cv_lib_soname_dbus_1:+false} :; then :
13468 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13469 $as_echo "not found" >&6; }
13470 DBUS_CFLAGS=""
13471 else
13472 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_dbus_1" >&5
13473 $as_echo "$ac_cv_lib_soname_dbus_1" >&6; }
13475 cat >>confdefs.h <<_ACEOF
13476 #define SONAME_LIBDBUS_1 "$ac_cv_lib_soname_dbus_1"
13477 _ACEOF
13481 else
13482 DBUS_CFLAGS=""
13486 CPPFLAGS=$ac_save_CPPFLAGS
13489 if test "x$ac_cv_lib_soname_dbus_1" = "x" -a \
13490 "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"; then :
13491 case "x$with_dbus" in
13492 x) as_fn_append wine_notices "|libdbus ${notice_platform}development files not found, no dynamic device support." ;;
13493 xno) ;;
13494 *) as_fn_error $? "libdbus ${notice_platform}development files not found, no dynamic device support.
13495 This is an error since --with-dbus was requested." "$LINENO" 5 ;;
13496 esac
13500 if test "x$with_hal" != "xno" -a "x$ac_cv_lib_soname_dbus_1" != x
13501 then
13502 if ${HAL_CFLAGS:+false} :; then :
13503 if ${PKG_CONFIG+:} false; then :
13504 HAL_CFLAGS=`$PKG_CONFIG --cflags hal 2>/dev/null`
13508 if ${HAL_LIBS:+false} :; then :
13509 if ${PKG_CONFIG+:} false; then :
13510 HAL_LIBS=`$PKG_CONFIG --libs hal 2>/dev/null`
13514 HAL_LIBS=${HAL_LIBS:-"-ldbus-1"}
13515 $as_echo "$as_me:${as_lineno-$LINENO}: hal cflags: $HAL_CFLAGS" >&5
13516 $as_echo "$as_me:${as_lineno-$LINENO}: hal libs: $HAL_LIBS" >&5
13517 ac_save_CPPFLAGS=$CPPFLAGS
13518 CPPFLAGS="$CPPFLAGS $HAL_CFLAGS"
13519 ac_fn_c_check_header_mongrel "$LINENO" "hal/libhal.h" "ac_cv_header_hal_libhal_h" "$ac_includes_default"
13520 if test "x$ac_cv_header_hal_libhal_h" = xyes; then :
13521 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lhal" >&5
13522 $as_echo_n "checking for -lhal... " >&6; }
13523 if ${ac_cv_lib_soname_hal+:} false; then :
13524 $as_echo_n "(cached) " >&6
13525 else
13526 ac_check_soname_save_LIBS=$LIBS
13527 LIBS="-lhal $HAL_LIBS $LIBS"
13528 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13529 /* end confdefs.h. */
13531 /* Override any GCC internal prototype to avoid an error.
13532 Use char because int might match the return type of a GCC
13533 builtin and then its argument prototype would still apply. */
13534 #ifdef __cplusplus
13535 extern "C"
13536 #endif
13537 char libhal_ctx_new ();
13539 main ()
13541 return libhal_ctx_new ();
13543 return 0;
13545 _ACEOF
13546 if ac_fn_c_try_link "$LINENO"; then :
13547 case "$LIBEXT" in
13548 dll) ac_cv_lib_soname_hal=`$ac_cv_path_LDD conftest.exe | grep "hal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13549 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'` ;;
13550 *) ac_cv_lib_soname_hal=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libhal\\.$LIBEXT" | sed -e "s/^.*\\[\\(libhal\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13551 if ${ac_cv_lib_soname_hal:+false} :; then :
13552 ac_cv_lib_soname_hal=`$LDD conftest$ac_exeext | grep "libhal\\.$LIBEXT" | sed -e "s/^.*\(libhal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13553 fi ;;
13554 esac
13555 else
13556 ac_cv_lib_soname_hal=
13558 rm -f core conftest.err conftest.$ac_objext \
13559 conftest$ac_exeext conftest.$ac_ext
13560 LIBS=$ac_check_soname_save_LIBS
13562 if ${ac_cv_lib_soname_hal:+false} :; then :
13563 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13564 $as_echo "not found" >&6; }
13565 HAL_CFLAGS=""
13566 else
13567 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_hal" >&5
13568 $as_echo "$ac_cv_lib_soname_hal" >&6; }
13570 cat >>confdefs.h <<_ACEOF
13571 #define SONAME_LIBHAL "$ac_cv_lib_soname_hal"
13572 _ACEOF
13576 else
13577 HAL_CFLAGS=""
13581 CPPFLAGS=$ac_save_CPPFLAGS
13583 if test "x$ac_cv_lib_soname_hal" = "x" -a \
13584 "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"; then :
13585 case "x$with_hal" in
13586 x) as_fn_append wine_notices "|libhal ${notice_platform}development files not found, no legacy dynamic device support." ;;
13587 xno) ;;
13588 *) as_fn_error $? "libhal ${notice_platform}development files not found, no legacy dynamic device support.
13589 This is an error since --with-hal was requested." "$LINENO" 5 ;;
13590 esac
13595 if test "x$with_gnutls" != "xno"
13596 then
13597 if ${GNUTLS_CFLAGS:+false} :; then :
13598 if ${PKG_CONFIG+:} false; then :
13599 GNUTLS_CFLAGS=`$PKG_CONFIG --cflags gnutls 2>/dev/null`
13603 if ${GNUTLS_LIBS:+false} :; then :
13604 if ${PKG_CONFIG+:} false; then :
13605 GNUTLS_LIBS=`$PKG_CONFIG --libs gnutls 2>/dev/null`
13609 GNUTLS_LIBS=${GNUTLS_LIBS:-"-lgnutls"}
13610 $as_echo "$as_me:${as_lineno-$LINENO}: gnutls cflags: $GNUTLS_CFLAGS" >&5
13611 $as_echo "$as_me:${as_lineno-$LINENO}: gnutls libs: $GNUTLS_LIBS" >&5
13612 ac_save_CPPFLAGS=$CPPFLAGS
13613 CPPFLAGS="$CPPFLAGS $GNUTLS_CFLAGS"
13614 ac_fn_c_check_header_mongrel "$LINENO" "gnutls/gnutls.h" "ac_cv_header_gnutls_gnutls_h" "$ac_includes_default"
13615 if test "x$ac_cv_header_gnutls_gnutls_h" = xyes; then :
13616 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13617 /* end confdefs.h. */
13618 #include <gnutls/gnutls.h>
13619 #include <gnutls/crypto.h>
13621 main ()
13623 static typeof(gnutls_mac_get_key_size) *func; if (func) return 0;
13625 return 0;
13627 _ACEOF
13628 if ac_fn_c_try_compile "$LINENO"; then :
13629 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgnutls" >&5
13630 $as_echo_n "checking for -lgnutls... " >&6; }
13631 if ${ac_cv_lib_soname_gnutls+:} false; then :
13632 $as_echo_n "(cached) " >&6
13633 else
13634 ac_check_soname_save_LIBS=$LIBS
13635 LIBS="-lgnutls $GNUTLS_LIBS $LIBS"
13636 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13637 /* end confdefs.h. */
13639 /* Override any GCC internal prototype to avoid an error.
13640 Use char because int might match the return type of a GCC
13641 builtin and then its argument prototype would still apply. */
13642 #ifdef __cplusplus
13643 extern "C"
13644 #endif
13645 char gnutls_global_init ();
13647 main ()
13649 return gnutls_global_init ();
13651 return 0;
13653 _ACEOF
13654 if ac_fn_c_try_link "$LINENO"; then :
13655 case "$LIBEXT" in
13656 dll) ac_cv_lib_soname_gnutls=`$ac_cv_path_LDD conftest.exe | grep "gnutls" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13657 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'` ;;
13658 *) 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'`
13659 if ${ac_cv_lib_soname_gnutls:+false} :; then :
13660 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'`
13661 fi ;;
13662 esac
13663 else
13664 ac_cv_lib_soname_gnutls=
13666 rm -f core conftest.err conftest.$ac_objext \
13667 conftest$ac_exeext conftest.$ac_ext
13668 LIBS=$ac_check_soname_save_LIBS
13670 if ${ac_cv_lib_soname_gnutls:+false} :; then :
13671 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13672 $as_echo "not found" >&6; }
13673 GNUTLS_CFLAGS=""
13674 else
13675 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gnutls" >&5
13676 $as_echo "$ac_cv_lib_soname_gnutls" >&6; }
13678 cat >>confdefs.h <<_ACEOF
13679 #define SONAME_LIBGNUTLS "$ac_cv_lib_soname_gnutls"
13680 _ACEOF
13684 ac_wine_check_funcs_save_LIBS="$LIBS"
13685 LIBS="$LIBS $GNUTLS_LIBS"
13686 for ac_func in gnutls_cipher_init
13687 do :
13688 ac_fn_c_check_func "$LINENO" "gnutls_cipher_init" "ac_cv_func_gnutls_cipher_init"
13689 if test "x$ac_cv_func_gnutls_cipher_init" = xyes; then :
13690 cat >>confdefs.h <<_ACEOF
13691 #define HAVE_GNUTLS_CIPHER_INIT 1
13692 _ACEOF
13694 else
13695 as_fn_append wine_notices "|libgnutls ${notice_platform}development files too old, bcrypt encryption won't be supported."
13697 done
13699 LIBS="$ac_wine_check_funcs_save_LIBS"
13701 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13702 else
13703 GNUTLS_CFLAGS=""
13707 CPPFLAGS=$ac_save_CPPFLAGS
13710 if test "x$ac_cv_lib_soname_gnutls" = "x"; then :
13711 case "x$with_gnutls" in
13712 x) as_fn_append wine_warnings "|libgnutls ${notice_platform}development files not found, no schannel support." ;;
13713 xno) ;;
13714 *) as_fn_error $? "libgnutls ${notice_platform}development files not found, no schannel support.
13715 This is an error since --with-gnutls was requested." "$LINENO" 5 ;;
13716 esac
13720 if test "x$with_sane" != "xno"
13721 then
13722 if ${SANE_CFLAGS:+false} :; then :
13723 if ${PKG_CONFIG+:} false; then :
13724 SANE_CFLAGS=`$PKG_CONFIG --cflags sane-backends 2>/dev/null`
13727 test "$cross_compiling" = yes || SANE_CFLAGS=${SANE_CFLAGS:-`${SANE_CONFIG:-sane-config} --cflags 2>/dev/null`}
13728 if ${SANE_LIBS:+false} :; then :
13729 if ${PKG_CONFIG+:} false; then :
13730 SANE_LIBS=`$PKG_CONFIG --libs sane-backends 2>/dev/null`
13733 test "$cross_compiling" = yes || SANE_LIBS=${SANE_LIBS:-`${SANE_CONFIG:-sane-config} --ldflags 2>/dev/null`}
13735 $as_echo "$as_me:${as_lineno-$LINENO}: sane-backends cflags: $SANE_CFLAGS" >&5
13736 $as_echo "$as_me:${as_lineno-$LINENO}: sane-backends libs: $SANE_LIBS" >&5
13737 ac_save_CPPFLAGS=$CPPFLAGS
13738 CPPFLAGS="$CPPFLAGS $SANE_CFLAGS"
13739 ac_fn_c_check_header_mongrel "$LINENO" "sane/sane.h" "ac_cv_header_sane_sane_h" "$ac_includes_default"
13740 if test "x$ac_cv_header_sane_sane_h" = xyes; then :
13741 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lsane" >&5
13742 $as_echo_n "checking for -lsane... " >&6; }
13743 if ${ac_cv_lib_soname_sane+:} false; then :
13744 $as_echo_n "(cached) " >&6
13745 else
13746 ac_check_soname_save_LIBS=$LIBS
13747 LIBS="-lsane $SANE_LIBS $LIBS"
13748 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13749 /* end confdefs.h. */
13751 /* Override any GCC internal prototype to avoid an error.
13752 Use char because int might match the return type of a GCC
13753 builtin and then its argument prototype would still apply. */
13754 #ifdef __cplusplus
13755 extern "C"
13756 #endif
13757 char sane_init ();
13759 main ()
13761 return sane_init ();
13763 return 0;
13765 _ACEOF
13766 if ac_fn_c_try_link "$LINENO"; then :
13767 case "$LIBEXT" in
13768 dll) ac_cv_lib_soname_sane=`$ac_cv_path_LDD conftest.exe | grep "sane" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13769 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'` ;;
13770 *) ac_cv_lib_soname_sane=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libsane\\.$LIBEXT" | sed -e "s/^.*\\[\\(libsane\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13771 if ${ac_cv_lib_soname_sane:+false} :; then :
13772 ac_cv_lib_soname_sane=`$LDD conftest$ac_exeext | grep "libsane\\.$LIBEXT" | sed -e "s/^.*\(libsane\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13773 fi ;;
13774 esac
13775 else
13776 ac_cv_lib_soname_sane=
13778 rm -f core conftest.err conftest.$ac_objext \
13779 conftest$ac_exeext conftest.$ac_ext
13780 LIBS=$ac_check_soname_save_LIBS
13782 if ${ac_cv_lib_soname_sane:+false} :; then :
13783 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13784 $as_echo "not found" >&6; }
13785 SANE_CFLAGS=""
13786 else
13787 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_sane" >&5
13788 $as_echo "$ac_cv_lib_soname_sane" >&6; }
13790 cat >>confdefs.h <<_ACEOF
13791 #define SONAME_LIBSANE "$ac_cv_lib_soname_sane"
13792 _ACEOF
13796 else
13797 SANE_CFLAGS=""
13801 CPPFLAGS=$ac_save_CPPFLAGS
13804 if test "x$ac_cv_lib_soname_sane" = "x"; then :
13805 case "x$with_sane" in
13806 x) as_fn_append wine_notices "|libsane ${notice_platform}development files not found, scanners won't be supported." ;;
13807 xno) ;;
13808 *) as_fn_error $? "libsane ${notice_platform}development files not found, scanners won't be supported.
13809 This is an error since --with-sane was requested." "$LINENO" 5 ;;
13810 esac
13814 if test "x$with_usb" != "xno"
13815 then
13816 if ${USB_CFLAGS:+false} :; then :
13817 if ${PKG_CONFIG+:} false; then :
13818 USB_CFLAGS=`$PKG_CONFIG --cflags libusb-1.0 2>/dev/null`
13822 if ${USB_LIBS:+false} :; then :
13823 if ${PKG_CONFIG+:} false; then :
13824 USB_LIBS=`$PKG_CONFIG --libs libusb-1.0 2>/dev/null`
13828 USB_LIBS=${USB_LIBS:-"-lusb-1.0"}
13829 $as_echo "$as_me:${as_lineno-$LINENO}: libusb-1.0 cflags: $USB_CFLAGS" >&5
13830 $as_echo "$as_me:${as_lineno-$LINENO}: libusb-1.0 libs: $USB_LIBS" >&5
13831 ac_save_CPPFLAGS=$CPPFLAGS
13832 CPPFLAGS="$CPPFLAGS $USB_CFLAGS"
13833 ac_fn_c_check_header_mongrel "$LINENO" "libusb.h" "ac_cv_header_libusb_h" "$ac_includes_default"
13834 if test "x$ac_cv_header_libusb_h" = xyes; then :
13835 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libusb_interrupt_event_handler in -lusb-1.0" >&5
13836 $as_echo_n "checking for libusb_interrupt_event_handler in -lusb-1.0... " >&6; }
13837 if ${ac_cv_lib_usb_1_0_libusb_interrupt_event_handler+:} false; then :
13838 $as_echo_n "(cached) " >&6
13839 else
13840 ac_check_lib_save_LIBS=$LIBS
13841 LIBS="-lusb-1.0 $USB_LIBS $LIBS"
13842 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13843 /* end confdefs.h. */
13845 /* Override any GCC internal prototype to avoid an error.
13846 Use char because int might match the return type of a GCC
13847 builtin and then its argument prototype would still apply. */
13848 #ifdef __cplusplus
13849 extern "C"
13850 #endif
13851 char libusb_interrupt_event_handler ();
13853 main ()
13855 return libusb_interrupt_event_handler ();
13857 return 0;
13859 _ACEOF
13860 if ac_fn_c_try_link "$LINENO"; then :
13861 ac_cv_lib_usb_1_0_libusb_interrupt_event_handler=yes
13862 else
13863 ac_cv_lib_usb_1_0_libusb_interrupt_event_handler=no
13865 rm -f core conftest.err conftest.$ac_objext \
13866 conftest$ac_exeext conftest.$ac_ext
13867 LIBS=$ac_check_lib_save_LIBS
13869 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_usb_1_0_libusb_interrupt_event_handler" >&5
13870 $as_echo "$ac_cv_lib_usb_1_0_libusb_interrupt_event_handler" >&6; }
13871 if test "x$ac_cv_lib_usb_1_0_libusb_interrupt_event_handler" = xyes; then :
13873 else
13874 USB_LIBS=""
13877 else
13878 USB_LIBS=""
13882 CPPFLAGS=$ac_save_CPPFLAGS
13885 if test "$ac_cv_lib_usb_1_0_libusb_interrupt_event_handler" != "yes"; then :
13886 case "x$with_usb" in
13887 x) as_fn_append wine_notices "|libusb-1.0 ${notice_platform}development files not found (or too old), USB devices won't be supported." ;;
13888 xno) ;;
13889 *) as_fn_error $? "libusb-1.0 ${notice_platform}development files not found (or too old), USB devices won't be supported.
13890 This is an error since --with-usb was requested." "$LINENO" 5 ;;
13891 esac
13892 enable_wineusb_sys=${enable_wineusb_sys:-no}
13895 if test "x$with_v4l2" != "xno"
13896 then
13897 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lv4l2" >&5
13898 $as_echo_n "checking for -lv4l2... " >&6; }
13899 if ${ac_cv_lib_soname_v4l2+:} false; then :
13900 $as_echo_n "(cached) " >&6
13901 else
13902 ac_check_soname_save_LIBS=$LIBS
13903 LIBS="-lv4l2 $LIBS"
13904 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13905 /* end confdefs.h. */
13907 /* Override any GCC internal prototype to avoid an error.
13908 Use char because int might match the return type of a GCC
13909 builtin and then its argument prototype would still apply. */
13910 #ifdef __cplusplus
13911 extern "C"
13912 #endif
13913 char v4l2_open ();
13915 main ()
13917 return v4l2_open ();
13919 return 0;
13921 _ACEOF
13922 if ac_fn_c_try_link "$LINENO"; then :
13923 case "$LIBEXT" in
13924 dll) ac_cv_lib_soname_v4l2=`$ac_cv_path_LDD conftest.exe | grep "v4l2" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13925 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'` ;;
13926 *) ac_cv_lib_soname_v4l2=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libv4l2\\.$LIBEXT" | sed -e "s/^.*\\[\\(libv4l2\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13927 if ${ac_cv_lib_soname_v4l2:+false} :; then :
13928 ac_cv_lib_soname_v4l2=`$LDD conftest$ac_exeext | grep "libv4l2\\.$LIBEXT" | sed -e "s/^.*\(libv4l2\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13929 fi ;;
13930 esac
13931 else
13932 ac_cv_lib_soname_v4l2=
13934 rm -f core conftest.err conftest.$ac_objext \
13935 conftest$ac_exeext conftest.$ac_ext
13936 LIBS=$ac_check_soname_save_LIBS
13938 if ${ac_cv_lib_soname_v4l2:+false} :; then :
13939 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13940 $as_echo "not found" >&6; }
13942 else
13943 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_v4l2" >&5
13944 $as_echo "$ac_cv_lib_soname_v4l2" >&6; }
13946 cat >>confdefs.h <<_ACEOF
13947 #define SONAME_LIBV4L2 "$ac_cv_lib_soname_v4l2"
13948 _ACEOF
13953 if test "x$ac_cv_lib_soname_v4l2" = "x"; then :
13954 case "x$with_v4l2" in
13955 x) as_fn_append wine_notices "|libv4l2 ${notice_platform}development files not found." ;;
13956 xno) ;;
13957 *) as_fn_error $? "libv4l2 ${notice_platform}development files not found.
13958 This is an error since --with-v4l2 was requested." "$LINENO" 5 ;;
13959 esac
13963 if test "x$with_gphoto" != "xno"
13964 then
13965 if ${GPHOTO2_CFLAGS:+false} :; then :
13966 if ${PKG_CONFIG+:} false; then :
13967 GPHOTO2_CFLAGS=`$PKG_CONFIG --cflags libgphoto2 2>/dev/null`
13970 test "$cross_compiling" = yes || GPHOTO2_CFLAGS=${GPHOTO2_CFLAGS:-`${GPHOTO2_CONFIG:-gphoto2-config} --cflags 2>/dev/null`}
13971 if ${GPHOTO2_LIBS:+false} :; then :
13972 if ${PKG_CONFIG+:} false; then :
13973 GPHOTO2_LIBS=`$PKG_CONFIG --libs libgphoto2 2>/dev/null`
13976 test "$cross_compiling" = yes || GPHOTO2_LIBS=${GPHOTO2_LIBS:-`${GPHOTO2_CONFIG:-gphoto2-config} --libs 2>/dev/null`}
13977 GPHOTO2_LIBS=${GPHOTO2_LIBS:-"-lgphoto2"}
13978 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2 cflags: $GPHOTO2_CFLAGS" >&5
13979 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2 libs: $GPHOTO2_LIBS" >&5
13980 ac_save_CPPFLAGS=$CPPFLAGS
13981 CPPFLAGS="$CPPFLAGS $GPHOTO2_CFLAGS"
13982 ac_fn_c_check_header_mongrel "$LINENO" "gphoto2-camera.h" "ac_cv_header_gphoto2_camera_h" "$ac_includes_default"
13983 if test "x$ac_cv_header_gphoto2_camera_h" = xyes; then :
13984 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gp_camera_new in -lgphoto2" >&5
13985 $as_echo_n "checking for gp_camera_new in -lgphoto2... " >&6; }
13986 if ${ac_cv_lib_gphoto2_gp_camera_new+:} false; then :
13987 $as_echo_n "(cached) " >&6
13988 else
13989 ac_check_lib_save_LIBS=$LIBS
13990 LIBS="-lgphoto2 $GPHOTO2_LIBS $LIBS"
13991 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13992 /* end confdefs.h. */
13994 /* Override any GCC internal prototype to avoid an error.
13995 Use char because int might match the return type of a GCC
13996 builtin and then its argument prototype would still apply. */
13997 #ifdef __cplusplus
13998 extern "C"
13999 #endif
14000 char gp_camera_new ();
14002 main ()
14004 return gp_camera_new ();
14006 return 0;
14008 _ACEOF
14009 if ac_fn_c_try_link "$LINENO"; then :
14010 ac_cv_lib_gphoto2_gp_camera_new=yes
14011 else
14012 ac_cv_lib_gphoto2_gp_camera_new=no
14014 rm -f core conftest.err conftest.$ac_objext \
14015 conftest$ac_exeext conftest.$ac_ext
14016 LIBS=$ac_check_lib_save_LIBS
14018 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_gp_camera_new" >&5
14019 $as_echo "$ac_cv_lib_gphoto2_gp_camera_new" >&6; }
14020 if test "x$ac_cv_lib_gphoto2_gp_camera_new" = xyes; then :
14022 $as_echo "#define HAVE_GPHOTO2 1" >>confdefs.h
14024 else
14025 GPHOTO2_LIBS=""; GPHOTO2_CFLAGS=""
14028 else
14029 GPHOTO2_LIBS=""; GPHOTO2_CFLAGS=""
14033 CPPFLAGS=$ac_save_CPPFLAGS
14035 if ${GPHOTO2_PORT_CFLAGS:+false} :; then :
14036 if ${PKG_CONFIG+:} false; then :
14037 GPHOTO2_PORT_CFLAGS=`$PKG_CONFIG --cflags libgphoto2_port 2>/dev/null`
14040 test "$cross_compiling" = yes || GPHOTO2_PORT_CFLAGS=${GPHOTO2_PORT_CFLAGS:-`${GPHOTO2_PORT_CONFIG:-gphoto2-port-config} --cflags 2>/dev/null`}
14041 if ${GPHOTO2_PORT_LIBS:+false} :; then :
14042 if ${PKG_CONFIG+:} false; then :
14043 GPHOTO2_PORT_LIBS=`$PKG_CONFIG --libs libgphoto2_port 2>/dev/null`
14046 test "$cross_compiling" = yes || GPHOTO2_PORT_LIBS=${GPHOTO2_PORT_LIBS:-`${GPHOTO2_PORT_CONFIG:-gphoto2-port-config} --libs 2>/dev/null`}
14047 GPHOTO2_PORT_LIBS=${GPHOTO2_PORT_LIBS:-"-lgphoto2_port"}
14048 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2_port cflags: $GPHOTO2_PORT_CFLAGS" >&5
14049 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2_port libs: $GPHOTO2_PORT_LIBS" >&5
14050 ac_save_CPPFLAGS=$CPPFLAGS
14051 CPPFLAGS="$CPPFLAGS $GPHOTO2_PORT_CFLAGS"
14052 ac_fn_c_check_header_mongrel "$LINENO" "gphoto2-port.h" "ac_cv_header_gphoto2_port_h" "$ac_includes_default"
14053 if test "x$ac_cv_header_gphoto2_port_h" = xyes; then :
14054 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gp_port_info_list_new in -lgphoto2_port" >&5
14055 $as_echo_n "checking for gp_port_info_list_new in -lgphoto2_port... " >&6; }
14056 if ${ac_cv_lib_gphoto2_port_gp_port_info_list_new+:} false; then :
14057 $as_echo_n "(cached) " >&6
14058 else
14059 ac_check_lib_save_LIBS=$LIBS
14060 LIBS="-lgphoto2_port $GPHOTO2_PORT_LIBS $LIBS"
14061 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14062 /* end confdefs.h. */
14064 /* Override any GCC internal prototype to avoid an error.
14065 Use char because int might match the return type of a GCC
14066 builtin and then its argument prototype would still apply. */
14067 #ifdef __cplusplus
14068 extern "C"
14069 #endif
14070 char gp_port_info_list_new ();
14072 main ()
14074 return gp_port_info_list_new ();
14076 return 0;
14078 _ACEOF
14079 if ac_fn_c_try_link "$LINENO"; then :
14080 ac_cv_lib_gphoto2_port_gp_port_info_list_new=yes
14081 else
14082 ac_cv_lib_gphoto2_port_gp_port_info_list_new=no
14084 rm -f core conftest.err conftest.$ac_objext \
14085 conftest$ac_exeext conftest.$ac_ext
14086 LIBS=$ac_check_lib_save_LIBS
14088 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&5
14089 $as_echo "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&6; }
14090 if test "x$ac_cv_lib_gphoto2_port_gp_port_info_list_new" = xyes; then :
14092 $as_echo "#define HAVE_GPHOTO2_PORT 1" >>confdefs.h
14094 else
14095 GPHOTO2_PORT_LIBS=""; GPHOTO2_PORT_CFLAGS=""
14098 else
14099 GPHOTO2_PORT_LIBS=""; GPHOTO2_PORT_CFLAGS=""
14103 CPPFLAGS=$ac_save_CPPFLAGS
14106 if test "$ac_cv_lib_gphoto2_gp_camera_new" != "yes"; then :
14107 case "x$with_gphoto" in
14108 x) as_fn_append wine_notices "|libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported." ;;
14109 xno) ;;
14110 *) as_fn_error $? "libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported.
14111 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
14112 esac
14115 if test "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" != "yes"; then :
14116 case "x$with_gphoto" in
14117 x) as_fn_append wine_notices "|libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected." ;;
14118 xno) ;;
14119 *) as_fn_error $? "libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected.
14120 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
14121 esac
14126 if test "$ac_cv_header_resolv_h" = "yes"
14127 then
14128 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for resolver library" >&5
14129 $as_echo_n "checking for resolver library... " >&6; }
14130 if ${ac_cv_have_resolv+:} false; then :
14131 $as_echo_n "(cached) " >&6
14132 else
14133 ac_save_LIBS="$LIBS"
14134 for lib in '' -lresolv
14136 LIBS="$lib $ac_save_LIBS"
14137 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14138 /* end confdefs.h. */
14139 #ifdef HAVE_NETINET_IN_H
14140 #include <netinet/in.h>
14141 #endif
14142 #include <resolv.h>
14144 main ()
14146 if (!(_res.options & RES_INIT)) res_init(); res_query("foo",ns_c_in,0,0,0)
14148 return 0;
14150 _ACEOF
14151 if ac_fn_c_try_link "$LINENO"; then :
14152 ac_cv_have_resolv=${lib:-"none required"}
14153 else
14154 ac_cv_have_resolv="not found"
14156 rm -f core conftest.err conftest.$ac_objext \
14157 conftest$ac_exeext conftest.$ac_ext
14158 test "x$ac_cv_have_resolv" = "xnot found" || break
14159 done
14160 LIBS="$ac_save_LIBS"
14162 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_resolv" >&5
14163 $as_echo "$ac_cv_have_resolv" >&6; }
14165 case "$ac_cv_have_resolv" in
14166 "not found") ;;
14167 "none required")
14169 $as_echo "#define HAVE_RESOLV 1" >>confdefs.h
14172 $as_echo "#define HAVE_RESOLV 1" >>confdefs.h
14174 RESOLV_LIBS=$ac_cv_have_resolv
14176 esac
14178 if test "x$ac_cv_have_resolv" != "xnot found"
14179 then
14180 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for res_getservers" >&5
14181 $as_echo_n "checking for res_getservers... " >&6; }
14182 if ${ac_cv_have_res_getservers+:} false; then :
14183 $as_echo_n "(cached) " >&6
14184 else
14185 ac_save_LIBS="$LIBS"
14186 LIBS="$RESOLV_LIBS $LIBS"
14187 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14188 /* end confdefs.h. */
14189 #include <resolv.h>
14191 main ()
14193 res_getservers(NULL, NULL, 0);
14195 return 0;
14197 _ACEOF
14198 if ac_fn_c_try_link "$LINENO"; then :
14199 ac_cv_have_res_getservers=yes
14200 else
14201 ac_cv_have_res_getservers=no
14203 rm -f core conftest.err conftest.$ac_objext \
14204 conftest$ac_exeext conftest.$ac_ext
14205 LIBS="$ac_save_LIBS"
14207 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_res_getservers" >&5
14208 $as_echo "$ac_cv_have_res_getservers" >&6; }
14209 if test "$ac_cv_have_res_getservers" = "yes"
14210 then
14212 $as_echo "#define HAVE_RES_GETSERVERS 1" >>confdefs.h
14218 if test "x$with_cms" != "xno"
14219 then
14220 if ${LCMS2_CFLAGS:+false} :; then :
14221 if ${PKG_CONFIG+:} false; then :
14222 LCMS2_CFLAGS=`$PKG_CONFIG --cflags lcms2 2>/dev/null`
14226 if ${LCMS2_LIBS:+false} :; then :
14227 if ${PKG_CONFIG+:} false; then :
14228 LCMS2_LIBS=`$PKG_CONFIG --libs lcms2 2>/dev/null`
14232 LCMS2_LIBS=${LCMS2_LIBS:-"-llcms2"}
14233 $as_echo "$as_me:${as_lineno-$LINENO}: lcms2 cflags: $LCMS2_CFLAGS" >&5
14234 $as_echo "$as_me:${as_lineno-$LINENO}: lcms2 libs: $LCMS2_LIBS" >&5
14235 ac_save_CPPFLAGS=$CPPFLAGS
14236 CPPFLAGS="$CPPFLAGS $LCMS2_CFLAGS"
14237 for ac_header in lcms2.h
14238 do :
14239 ac_fn_c_check_header_mongrel "$LINENO" "lcms2.h" "ac_cv_header_lcms2_h" "$ac_includes_default"
14240 if test "x$ac_cv_header_lcms2_h" = xyes; then :
14241 cat >>confdefs.h <<_ACEOF
14242 #define HAVE_LCMS2_H 1
14243 _ACEOF
14247 done
14249 if test "$ac_cv_header_lcms2_h" = "yes"
14250 then
14251 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cmsOpenProfileFromFile in -llcms2" >&5
14252 $as_echo_n "checking for cmsOpenProfileFromFile in -llcms2... " >&6; }
14253 if ${ac_cv_lib_lcms2_cmsOpenProfileFromFile+:} false; then :
14254 $as_echo_n "(cached) " >&6
14255 else
14256 ac_check_lib_save_LIBS=$LIBS
14257 LIBS="-llcms2 $LCMS2_LIBS $LIBS"
14258 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14259 /* end confdefs.h. */
14261 /* Override any GCC internal prototype to avoid an error.
14262 Use char because int might match the return type of a GCC
14263 builtin and then its argument prototype would still apply. */
14264 #ifdef __cplusplus
14265 extern "C"
14266 #endif
14267 char cmsOpenProfileFromFile ();
14269 main ()
14271 return cmsOpenProfileFromFile ();
14273 return 0;
14275 _ACEOF
14276 if ac_fn_c_try_link "$LINENO"; then :
14277 ac_cv_lib_lcms2_cmsOpenProfileFromFile=yes
14278 else
14279 ac_cv_lib_lcms2_cmsOpenProfileFromFile=no
14281 rm -f core conftest.err conftest.$ac_objext \
14282 conftest$ac_exeext conftest.$ac_ext
14283 LIBS=$ac_check_lib_save_LIBS
14285 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lcms2_cmsOpenProfileFromFile" >&5
14286 $as_echo "$ac_cv_lib_lcms2_cmsOpenProfileFromFile" >&6; }
14287 if test "x$ac_cv_lib_lcms2_cmsOpenProfileFromFile" = xyes; then :
14289 $as_echo "#define HAVE_LCMS2 1" >>confdefs.h
14291 else
14292 LCMS2_LIBS=""
14295 else
14296 LCMS2_CFLAGS=""
14297 LCMS2_LIBS=""
14299 CPPFLAGS=$ac_save_CPPFLAGS
14302 if test "$ac_cv_lib_lcms2_cmsOpenProfileFromFile" != "yes"; then :
14303 case "x$with_cms" in
14304 x) as_fn_append wine_notices "|liblcms2 ${notice_platform}development files not found, Color Management won't be supported." ;;
14305 xno) ;;
14306 *) as_fn_error $? "liblcms2 ${notice_platform}development files not found, Color Management won't be supported.
14307 This is an error since --with-cms was requested." "$LINENO" 5 ;;
14308 esac
14312 if test "x$with_freetype" != "xno"
14313 then
14314 if ${FREETYPE_CFLAGS:+false} :; then :
14315 if ${PKG_CONFIG+:} false; then :
14316 FREETYPE_CFLAGS=`$PKG_CONFIG --cflags freetype2 2>/dev/null`
14319 test "$cross_compiling" = yes || FREETYPE_CFLAGS=${FREETYPE_CFLAGS:-`(${FREETYPE_CONFIG:-freetype-config} --cflags || ${FREETYPE2_CONFIG:-freetype2-config} --cflags) 2>/dev/null`}
14320 if ${FREETYPE_LIBS:+false} :; then :
14321 if ${PKG_CONFIG+:} false; then :
14322 FREETYPE_LIBS=`$PKG_CONFIG --libs freetype2 2>/dev/null`
14325 test "$cross_compiling" = yes || FREETYPE_LIBS=${FREETYPE_LIBS:-`(${FREETYPE_CONFIG:-freetype-config} --libs || ${FREETYPE2_CONFIG:-freetype2-config} --libs) 2>/dev/null`}
14326 FREETYPE_LIBS=${FREETYPE_LIBS:-"-lfreetype"}
14327 $as_echo "$as_me:${as_lineno-$LINENO}: freetype2 cflags: $FREETYPE_CFLAGS" >&5
14328 $as_echo "$as_me:${as_lineno-$LINENO}: freetype2 libs: $FREETYPE_LIBS" >&5
14329 ac_save_CPPFLAGS=$CPPFLAGS
14330 CPPFLAGS="$CPPFLAGS $FREETYPE_CFLAGS"
14331 for ac_header in ft2build.h
14332 do :
14333 ac_fn_c_check_header_mongrel "$LINENO" "ft2build.h" "ac_cv_header_ft2build_h" "$ac_includes_default"
14334 if test "x$ac_cv_header_ft2build_h" = xyes; then :
14335 cat >>confdefs.h <<_ACEOF
14336 #define HAVE_FT2BUILD_H 1
14337 _ACEOF
14341 done
14343 if test "$ac_cv_header_ft2build_h" = "yes"
14344 then
14345 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfreetype" >&5
14346 $as_echo_n "checking for -lfreetype... " >&6; }
14347 if ${ac_cv_lib_soname_freetype+:} false; then :
14348 $as_echo_n "(cached) " >&6
14349 else
14350 ac_check_soname_save_LIBS=$LIBS
14351 LIBS="-lfreetype $FREETYPE_LIBS $LIBS"
14352 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14353 /* end confdefs.h. */
14355 /* Override any GCC internal prototype to avoid an error.
14356 Use char because int might match the return type of a GCC
14357 builtin and then its argument prototype would still apply. */
14358 #ifdef __cplusplus
14359 extern "C"
14360 #endif
14361 char FT_Init_FreeType ();
14363 main ()
14365 return FT_Init_FreeType ();
14367 return 0;
14369 _ACEOF
14370 if ac_fn_c_try_link "$LINENO"; then :
14371 case "$LIBEXT" in
14372 dll) ac_cv_lib_soname_freetype=`$ac_cv_path_LDD conftest.exe | grep "freetype" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14373 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'` ;;
14374 *) ac_cv_lib_soname_freetype=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfreetype\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfreetype\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14375 if ${ac_cv_lib_soname_freetype:+false} :; then :
14376 ac_cv_lib_soname_freetype=`$LDD conftest$ac_exeext | grep "libfreetype\\.$LIBEXT" | sed -e "s/^.*\(libfreetype\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14377 fi ;;
14378 esac
14379 else
14380 ac_cv_lib_soname_freetype=
14382 rm -f core conftest.err conftest.$ac_objext \
14383 conftest$ac_exeext conftest.$ac_ext
14384 LIBS=$ac_check_soname_save_LIBS
14386 if ${ac_cv_lib_soname_freetype:+false} :; then :
14387 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14388 $as_echo "not found" >&6; }
14389 FREETYPE_LIBS=""
14390 else
14391 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_freetype" >&5
14392 $as_echo "$ac_cv_lib_soname_freetype" >&6; }
14394 cat >>confdefs.h <<_ACEOF
14395 #define SONAME_LIBFREETYPE "$ac_cv_lib_soname_freetype"
14396 _ACEOF
14399 $as_echo "#define HAVE_FREETYPE 1" >>confdefs.h
14401 ac_fn_c_check_type "$LINENO" "FT_TrueTypeEngineType" "ac_cv_type_FT_TrueTypeEngineType" "#include <ft2build.h>
14402 #include FT_MODULE_H
14404 if test "x$ac_cv_type_FT_TrueTypeEngineType" = xyes; then :
14406 cat >>confdefs.h <<_ACEOF
14407 #define HAVE_FT_TRUETYPEENGINETYPE 1
14408 _ACEOF
14414 else
14415 FREETYPE_CFLAGS=""
14416 FREETYPE_LIBS=""
14418 CPPFLAGS=$ac_save_CPPFLAGS
14421 if test "x$ac_cv_lib_soname_freetype" = x; then :
14422 case "x$with_freetype" in
14423 xno) ;;
14424 *) as_fn_error $? "FreeType ${notice_platform}development files not found. Fonts will not be built.
14425 Use the --without-freetype option if you really want this." "$LINENO" 5 ;;
14426 esac
14427 enable_fonts=${enable_fonts:-no}
14430 ac_wine_check_funcs_save_LIBS="$LIBS"
14431 LIBS="$LIBS $PTHREAD_LIBS"
14432 for ac_func in \
14433 pthread_getthreadid_np
14434 do :
14435 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
14436 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
14437 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
14438 cat >>confdefs.h <<_ACEOF
14439 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
14440 _ACEOF
14443 done
14445 LIBS="$ac_wine_check_funcs_save_LIBS"
14447 if test "x$enable_tools" != xno -a "x$with_gettextpo" = xyes
14448 then
14449 if test "$ac_cv_header_gettext_po_h" = "yes"
14450 then
14451 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for po_message_msgctxt in -lgettextpo" >&5
14452 $as_echo_n "checking for po_message_msgctxt in -lgettextpo... " >&6; }
14453 if ${ac_cv_lib_gettextpo_po_message_msgctxt+:} false; then :
14454 $as_echo_n "(cached) " >&6
14455 else
14456 ac_check_lib_save_LIBS=$LIBS
14457 LIBS="-lgettextpo $LIBS"
14458 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14459 /* end confdefs.h. */
14461 /* Override any GCC internal prototype to avoid an error.
14462 Use char because int might match the return type of a GCC
14463 builtin and then its argument prototype would still apply. */
14464 #ifdef __cplusplus
14465 extern "C"
14466 #endif
14467 char po_message_msgctxt ();
14469 main ()
14471 return po_message_msgctxt ();
14473 return 0;
14475 _ACEOF
14476 if ac_fn_c_try_link "$LINENO"; then :
14477 ac_cv_lib_gettextpo_po_message_msgctxt=yes
14478 else
14479 ac_cv_lib_gettextpo_po_message_msgctxt=no
14481 rm -f core conftest.err conftest.$ac_objext \
14482 conftest$ac_exeext conftest.$ac_ext
14483 LIBS=$ac_check_lib_save_LIBS
14485 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gettextpo_po_message_msgctxt" >&5
14486 $as_echo "$ac_cv_lib_gettextpo_po_message_msgctxt" >&6; }
14487 if test "x$ac_cv_lib_gettextpo_po_message_msgctxt" = xyes; then :
14489 $as_echo "#define HAVE_LIBGETTEXTPO 1" >>confdefs.h
14491 GETTEXTPO_LIBS="-lgettextpo"
14496 if test "x$GETTEXTPO_LIBS" = "x"; then :
14497 case "x$with_gettextpo" in
14498 x) as_fn_append wine_notices "|GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt." ;;
14499 xno) ;;
14500 *) as_fn_error $? "GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt.
14501 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
14502 esac
14505 if test "$srcdir" != .; then :
14506 case "x$with_gettextpo" in
14507 x) as_fn_append wine_notices "|Rebuilding po files is not supported for out of tree builds." ;;
14508 xno) ;;
14509 *) as_fn_error $? "Rebuilding po files is not supported for out of tree builds.
14510 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
14511 esac
14516 if test "x$with_pulse" != "xno";
14517 then
14518 if ${PULSE_CFLAGS:+false} :; then :
14519 if ${PKG_CONFIG+:} false; then :
14520 PULSE_CFLAGS=`$PKG_CONFIG --cflags libpulse 2>/dev/null`
14524 if ${PULSE_LIBS:+false} :; then :
14525 if ${PKG_CONFIG+:} false; then :
14526 PULSE_LIBS=`$PKG_CONFIG --libs libpulse 2>/dev/null`
14531 $as_echo "$as_me:${as_lineno-$LINENO}: libpulse cflags: $PULSE_CFLAGS" >&5
14532 $as_echo "$as_me:${as_lineno-$LINENO}: libpulse libs: $PULSE_LIBS" >&5
14533 ac_save_CPPFLAGS=$CPPFLAGS
14534 CPPFLAGS="$CPPFLAGS $PULSE_CFLAGS"
14535 for ac_header in pulse/pulseaudio.h
14536 do :
14537 ac_fn_c_check_header_mongrel "$LINENO" "pulse/pulseaudio.h" "ac_cv_header_pulse_pulseaudio_h" "$ac_includes_default"
14538 if test "x$ac_cv_header_pulse_pulseaudio_h" = xyes; then :
14539 cat >>confdefs.h <<_ACEOF
14540 #define HAVE_PULSE_PULSEAUDIO_H 1
14541 _ACEOF
14542 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pa_stream_is_corked in -lpulse" >&5
14543 $as_echo_n "checking for pa_stream_is_corked in -lpulse... " >&6; }
14544 if ${ac_cv_lib_pulse_pa_stream_is_corked+:} false; then :
14545 $as_echo_n "(cached) " >&6
14546 else
14547 ac_check_lib_save_LIBS=$LIBS
14548 LIBS="-lpulse $PULSE_LIBS $LIBS"
14549 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14550 /* end confdefs.h. */
14552 /* Override any GCC internal prototype to avoid an error.
14553 Use char because int might match the return type of a GCC
14554 builtin and then its argument prototype would still apply. */
14555 #ifdef __cplusplus
14556 extern "C"
14557 #endif
14558 char pa_stream_is_corked ();
14560 main ()
14562 return pa_stream_is_corked ();
14564 return 0;
14566 _ACEOF
14567 if ac_fn_c_try_link "$LINENO"; then :
14568 ac_cv_lib_pulse_pa_stream_is_corked=yes
14569 else
14570 ac_cv_lib_pulse_pa_stream_is_corked=no
14572 rm -f core conftest.err conftest.$ac_objext \
14573 conftest$ac_exeext conftest.$ac_ext
14574 LIBS=$ac_check_lib_save_LIBS
14576 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pulse_pa_stream_is_corked" >&5
14577 $as_echo "$ac_cv_lib_pulse_pa_stream_is_corked" >&6; }
14578 if test "x$ac_cv_lib_pulse_pa_stream_is_corked" = xyes; then :
14580 else
14581 PULSE_LIBS=""
14584 else
14585 PULSE_LIBS=""
14588 done
14590 CPPFLAGS=$ac_save_CPPFLAGS
14593 if test -z "$PULSE_LIBS"; then :
14594 case "x$with_pulse" in
14595 x) as_fn_append wine_notices "|libpulse ${notice_platform}development files not found or too old, Pulse won't be supported." ;;
14596 xno) ;;
14597 *) as_fn_error $? "libpulse ${notice_platform}development files not found or too old, Pulse won't be supported.
14598 This is an error since --with-pulse was requested." "$LINENO" 5 ;;
14599 esac
14600 enable_winepulse_drv=${enable_winepulse_drv:-no}
14603 if test "x$with_gstreamer" != "xno"
14604 then
14605 if ${GSTREAMER_CFLAGS:+false} :; then :
14606 if ${PKG_CONFIG+:} false; then :
14607 GSTREAMER_CFLAGS=`$PKG_CONFIG --cflags gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 2>/dev/null`
14611 if ${GSTREAMER_LIBS:+false} :; then :
14612 if ${PKG_CONFIG+:} false; then :
14613 GSTREAMER_LIBS=`$PKG_CONFIG --libs gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 2>/dev/null`
14618 $as_echo "$as_me:${as_lineno-$LINENO}: gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 cflags: $GSTREAMER_CFLAGS" >&5
14619 $as_echo "$as_me:${as_lineno-$LINENO}: gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 libs: $GSTREAMER_LIBS" >&5
14620 ac_save_CPPFLAGS=$CPPFLAGS
14621 CPPFLAGS="$CPPFLAGS $GSTREAMER_CFLAGS"
14622 ac_fn_c_check_header_mongrel "$LINENO" "gst/gst.h" "ac_cv_header_gst_gst_h" "$ac_includes_default"
14623 if test "x$ac_cv_header_gst_gst_h" = xyes; then :
14624 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether gint64 defined by gst/gst.h is indeed 64-bit" >&5
14625 $as_echo_n "checking whether gint64 defined by gst/gst.h is indeed 64-bit... " >&6; }
14626 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14627 /* end confdefs.h. */
14628 #include <gst/gst.h>
14630 main ()
14632 static int a[sizeof(gint64) > 4 ? 1 : -1]; if (a[0]) return 0;
14634 return 0;
14636 _ACEOF
14637 if ac_fn_c_try_compile "$LINENO"; then :
14638 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14639 $as_echo "yes" >&6; }
14640 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gst_pad_new in -lgstreamer-1.0" >&5
14641 $as_echo_n "checking for gst_pad_new in -lgstreamer-1.0... " >&6; }
14642 if ${ac_cv_lib_gstreamer_1_0_gst_pad_new+:} false; then :
14643 $as_echo_n "(cached) " >&6
14644 else
14645 ac_check_lib_save_LIBS=$LIBS
14646 LIBS="-lgstreamer-1.0 $GSTREAMER_LIBS $LIBS"
14647 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14648 /* end confdefs.h. */
14650 /* Override any GCC internal prototype to avoid an error.
14651 Use char because int might match the return type of a GCC
14652 builtin and then its argument prototype would still apply. */
14653 #ifdef __cplusplus
14654 extern "C"
14655 #endif
14656 char gst_pad_new ();
14658 main ()
14660 return gst_pad_new ();
14662 return 0;
14664 _ACEOF
14665 if ac_fn_c_try_link "$LINENO"; then :
14666 ac_cv_lib_gstreamer_1_0_gst_pad_new=yes
14667 else
14668 ac_cv_lib_gstreamer_1_0_gst_pad_new=no
14670 rm -f core conftest.err conftest.$ac_objext \
14671 conftest$ac_exeext conftest.$ac_ext
14672 LIBS=$ac_check_lib_save_LIBS
14674 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gstreamer_1_0_gst_pad_new" >&5
14675 $as_echo "$ac_cv_lib_gstreamer_1_0_gst_pad_new" >&6; }
14676 if test "x$ac_cv_lib_gstreamer_1_0_gst_pad_new" = xyes; then :
14680 else
14681 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14682 $as_echo "no" >&6; }
14683 ac_glib2_broken=yes
14684 as_fn_append wine_notices "|glib-2.0 pkgconfig configuration is for the wrong architecture, winegstreamer won't be built."
14686 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14690 CPPFLAGS=$ac_save_CPPFLAGS
14693 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 :
14694 case "x$with_gstreamer" in
14695 x) as_fn_append wine_notices "|gstreamer-1.0 base plugins ${notice_platform}development files not found, GStreamer won't be supported." ;;
14696 xno) ;;
14697 *) as_fn_error $? "gstreamer-1.0 base plugins ${notice_platform}development files not found, GStreamer won't be supported.
14698 This is an error since --with-gstreamer was requested." "$LINENO" 5 ;;
14699 esac
14702 test "x$ac_cv_lib_gstreamer_1_0_gst_pad_new" = xyes || enable_winegstreamer=${enable_winegstreamer:-no}
14704 ALSA_LIBS=""
14706 if test "x$with_alsa" != "xno"
14707 then
14708 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for snd_pcm_hw_params_get_access_mask in -lasound" >&5
14709 $as_echo_n "checking for snd_pcm_hw_params_get_access_mask in -lasound... " >&6; }
14710 if ${ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask+:} false; then :
14711 $as_echo_n "(cached) " >&6
14712 else
14713 ac_check_lib_save_LIBS=$LIBS
14714 LIBS="-lasound $LIBS"
14715 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14716 /* end confdefs.h. */
14718 /* Override any GCC internal prototype to avoid an error.
14719 Use char because int might match the return type of a GCC
14720 builtin and then its argument prototype would still apply. */
14721 #ifdef __cplusplus
14722 extern "C"
14723 #endif
14724 char snd_pcm_hw_params_get_access_mask ();
14726 main ()
14728 return snd_pcm_hw_params_get_access_mask ();
14730 return 0;
14732 _ACEOF
14733 if ac_fn_c_try_link "$LINENO"; then :
14734 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask=yes
14735 else
14736 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask=no
14738 rm -f core conftest.err conftest.$ac_objext \
14739 conftest$ac_exeext conftest.$ac_ext
14740 LIBS=$ac_check_lib_save_LIBS
14742 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&5
14743 $as_echo "$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&6; }
14744 if test "x$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" = xyes; then :
14745 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14746 /* end confdefs.h. */
14747 #include <alsa/asoundlib.h>
14749 main ()
14751 snd_pcm_hw_params_get_access_mask(NULL, NULL)
14753 return 0;
14755 _ACEOF
14756 if ac_fn_c_try_compile "$LINENO"; then :
14757 ALSA_LIBS="-lasound"
14759 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14763 test -n "$ALSA_LIBS" || enable_winealsa_drv=${enable_winealsa_drv:-no}
14765 if test "x$with_oss" != xno
14766 then
14767 ac_save_CPPFLAGS="$CPPFLAGS"
14768 if test -f /etc/oss.conf
14769 then
14770 . /etc/oss.conf
14772 ac_oss_incl="-I${OSSLIBDIR:-/usr/lib/oss}/include"
14773 CPPFLAGS="$CPPFLAGS $ac_oss_incl"
14774 ac_fn_c_check_header_mongrel "$LINENO" "sys/soundcard.h" "ac_cv_header_sys_soundcard_h" "$ac_includes_default"
14775 if test "x$ac_cv_header_sys_soundcard_h" = xyes; then :
14776 ac_fn_c_check_member "$LINENO" "oss_sysinfo" "numaudioengines" "ac_cv_member_oss_sysinfo_numaudioengines" "#include <sys/soundcard.h>
14778 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" = xyes; then :
14780 cat >>confdefs.h <<_ACEOF
14781 #define HAVE_OSS_SYSINFO_NUMAUDIOENGINES 1
14782 _ACEOF
14784 OSS4_CFLAGS="$ac_oss_incl"
14786 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _oss_ioctl in -lossaudio" >&5
14787 $as_echo_n "checking for _oss_ioctl in -lossaudio... " >&6; }
14788 if ${ac_cv_lib_ossaudio__oss_ioctl+:} false; then :
14789 $as_echo_n "(cached) " >&6
14790 else
14791 ac_check_lib_save_LIBS=$LIBS
14792 LIBS="-lossaudio $LIBS"
14793 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14794 /* end confdefs.h. */
14796 /* Override any GCC internal prototype to avoid an error.
14797 Use char because int might match the return type of a GCC
14798 builtin and then its argument prototype would still apply. */
14799 #ifdef __cplusplus
14800 extern "C"
14801 #endif
14802 char _oss_ioctl ();
14804 main ()
14806 return _oss_ioctl ();
14808 return 0;
14810 _ACEOF
14811 if ac_fn_c_try_link "$LINENO"; then :
14812 ac_cv_lib_ossaudio__oss_ioctl=yes
14813 else
14814 ac_cv_lib_ossaudio__oss_ioctl=no
14816 rm -f core conftest.err conftest.$ac_objext \
14817 conftest$ac_exeext conftest.$ac_ext
14818 LIBS=$ac_check_lib_save_LIBS
14820 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ossaudio__oss_ioctl" >&5
14821 $as_echo "$ac_cv_lib_ossaudio__oss_ioctl" >&6; }
14822 if test "x$ac_cv_lib_ossaudio__oss_ioctl" = xyes; then :
14823 OSS4_LIBS="-lossaudio"
14832 CPPFLAGS="$ac_save_CPPFLAGS"
14834 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" != xyes; then :
14835 case "x$with_oss" in
14836 x) as_fn_append wine_notices "|OSS sound system found but too old (OSSv4 needed), OSS won't be supported." ;;
14837 xno) ;;
14838 *) as_fn_error $? "OSS sound system found but too old (OSSv4 needed), OSS won't be supported.
14839 This is an error since --with-oss was requested." "$LINENO" 5 ;;
14840 esac
14841 enable_wineoss_drv=${enable_wineoss_drv:-no}
14844 if test "x$with_udev" != "xno"
14845 then
14846 if ${UDEV_CFLAGS:+false} :; then :
14847 if ${PKG_CONFIG+:} false; then :
14848 UDEV_CFLAGS=`$PKG_CONFIG --cflags libudev 2>/dev/null`
14852 if ${UDEV_LIBS:+false} :; then :
14853 if ${PKG_CONFIG+:} false; then :
14854 UDEV_LIBS=`$PKG_CONFIG --libs libudev 2>/dev/null`
14858 UDEV_LIBS=${UDEV_LIBS:-"-ludev"}
14859 $as_echo "$as_me:${as_lineno-$LINENO}: libudev cflags: $UDEV_CFLAGS" >&5
14860 $as_echo "$as_me:${as_lineno-$LINENO}: libudev libs: $UDEV_LIBS" >&5
14861 ac_save_CPPFLAGS=$CPPFLAGS
14862 CPPFLAGS="$CPPFLAGS $UDEV_CFLAGS"
14863 for ac_header in libudev.h
14864 do :
14865 ac_fn_c_check_header_mongrel "$LINENO" "libudev.h" "ac_cv_header_libudev_h" "$ac_includes_default"
14866 if test "x$ac_cv_header_libudev_h" = xyes; then :
14867 cat >>confdefs.h <<_ACEOF
14868 #define HAVE_LIBUDEV_H 1
14869 _ACEOF
14870 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for udev_new in -ludev" >&5
14871 $as_echo_n "checking for udev_new in -ludev... " >&6; }
14872 if ${ac_cv_lib_udev_udev_new+:} false; then :
14873 $as_echo_n "(cached) " >&6
14874 else
14875 ac_check_lib_save_LIBS=$LIBS
14876 LIBS="-ludev $UDEV_LIBS $LIBS"
14877 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14878 /* end confdefs.h. */
14880 /* Override any GCC internal prototype to avoid an error.
14881 Use char because int might match the return type of a GCC
14882 builtin and then its argument prototype would still apply. */
14883 #ifdef __cplusplus
14884 extern "C"
14885 #endif
14886 char udev_new ();
14888 main ()
14890 return udev_new ();
14892 return 0;
14894 _ACEOF
14895 if ac_fn_c_try_link "$LINENO"; then :
14896 ac_cv_lib_udev_udev_new=yes
14897 else
14898 ac_cv_lib_udev_udev_new=no
14900 rm -f core conftest.err conftest.$ac_objext \
14901 conftest$ac_exeext conftest.$ac_ext
14902 LIBS=$ac_check_lib_save_LIBS
14904 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_udev_udev_new" >&5
14905 $as_echo "$ac_cv_lib_udev_udev_new" >&6; }
14906 if test "x$ac_cv_lib_udev_udev_new" = xyes; then :
14908 $as_echo "#define HAVE_UDEV 1" >>confdefs.h
14910 else
14911 UDEV_LIBS=""
14914 else
14915 UDEV_LIBS=""
14918 done
14920 CPPFLAGS=$ac_save_CPPFLAGS
14923 if test "x$UDEV_LIBS" = "x"; then :
14924 case "x$with_udev" in
14925 x) as_fn_append wine_notices "|libudev ${notice_platform}development files not found, plug and play won't be supported." ;;
14926 xno) ;;
14927 *) as_fn_error $? "libudev ${notice_platform}development files not found, plug and play won't be supported.
14928 This is an error since --with-udev was requested." "$LINENO" 5 ;;
14929 esac
14933 if test "x$with_unwind" != xno
14934 then
14935 if ${UNWIND_CFLAGS:+false} :; then :
14936 if ${PKG_CONFIG+:} false; then :
14937 UNWIND_CFLAGS=`$PKG_CONFIG --cflags libunwind 2>/dev/null`
14941 if ${UNWIND_LIBS:+false} :; then :
14942 if ${PKG_CONFIG+:} false; then :
14943 UNWIND_LIBS=`$PKG_CONFIG --libs libunwind 2>/dev/null`
14947 UNWIND_LIBS=${UNWIND_LIBS:-"-lunwind"}
14948 $as_echo "$as_me:${as_lineno-$LINENO}: libunwind cflags: $UNWIND_CFLAGS" >&5
14949 $as_echo "$as_me:${as_lineno-$LINENO}: libunwind libs: $UNWIND_LIBS" >&5
14950 ac_save_CPPFLAGS=$CPPFLAGS
14951 CPPFLAGS="$CPPFLAGS $UNWIND_CFLAGS"
14952 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for unw_step" >&5
14953 $as_echo_n "checking for unw_step... " >&6; }
14954 if ${wine_cv_have_unw_step+:} false; then :
14955 $as_echo_n "(cached) " >&6
14956 else
14957 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14958 /* end confdefs.h. */
14959 #define UNW_LOCAL_ONLY
14960 #include <libunwind.h>
14962 main ()
14964 unw_cursor_t cursor; unw_step( &cursor );
14966 return 0;
14968 _ACEOF
14969 if ac_fn_c_try_link "$LINENO"; then :
14970 wine_cv_have_unw_step="yes"
14971 else
14972 wine_cv_have_unw_step="no"
14974 rm -f core conftest.err conftest.$ac_objext \
14975 conftest$ac_exeext conftest.$ac_ext
14977 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_unw_step" >&5
14978 $as_echo "$wine_cv_have_unw_step" >&6; }
14979 if test "$wine_cv_have_unw_step" = no -a -n "$UNWIND_LIBS"
14980 then
14981 save_libs=$LIBS
14982 UNWIND_LIBS="-static-libgcc $UNWIND_LIBS"
14983 LIBS="$UNWIND_LIBS $LIBS"
14984 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for unw_step in libunwind" >&5
14985 $as_echo_n "checking for unw_step in libunwind... " >&6; }
14986 if ${wine_cv_have_libunwind_unw_step+:} false; then :
14987 $as_echo_n "(cached) " >&6
14988 else
14989 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14990 /* end confdefs.h. */
14991 #define UNW_LOCAL_ONLY
14992 #include <libunwind.h>
14994 main ()
14996 unw_cursor_t cursor; unw_step( &cursor );
14998 return 0;
15000 _ACEOF
15001 if ac_fn_c_try_link "$LINENO"; then :
15002 wine_cv_have_libunwind_unw_step="yes"
15003 else
15004 wine_cv_have_libunwind_unw_step="no"
15006 rm -f core conftest.err conftest.$ac_objext \
15007 conftest$ac_exeext conftest.$ac_ext
15009 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_libunwind_unw_step" >&5
15010 $as_echo "$wine_cv_have_libunwind_unw_step" >&6; }
15011 LIBS=$save_libs
15013 test "$wine_cv_have_libunwind_unw_step" = yes || UNWIND_LIBS=""
15014 if test "x$wine_cv_have_unw_step$wine_cv_have_libunwind_unw_step" != xnono
15015 then
15017 $as_echo "#define HAVE_LIBUNWIND 1" >>confdefs.h
15020 CPPFLAGS=$ac_save_CPPFLAGS
15023 case $host in
15024 aarch64*|*-darwin*)
15025 if test "x$wine_cv_have_unw_step$wine_cv_have_libunwind_unw_step" = xnono; then :
15026 case "x$with_unwind" in
15027 x) as_fn_append wine_notices "|libunwind ${notice_platform}development files not found, stack unwinding won't work." ;;
15028 xno) ;;
15029 *) as_fn_error $? "libunwind ${notice_platform}development files not found, stack unwinding won't work.
15030 This is an error since --with-unwind was requested." "$LINENO" 5 ;;
15031 esac
15033 fi ;;
15034 esac
15036 if test "x$with_sdl" != "xno"
15037 then
15038 if ${SDL2_CFLAGS:+false} :; then :
15039 if ${PKG_CONFIG+:} false; then :
15040 SDL2_CFLAGS=`$PKG_CONFIG --cflags sdl2 2>/dev/null`
15044 if ${SDL2_LIBS:+false} :; then :
15045 if ${PKG_CONFIG+:} false; then :
15046 SDL2_LIBS=`$PKG_CONFIG --libs sdl2 2>/dev/null`
15050 SDL2_LIBS=${SDL2_LIBS:-"-lSDL2"}
15051 $as_echo "$as_me:${as_lineno-$LINENO}: sdl2 cflags: $SDL2_CFLAGS" >&5
15052 $as_echo "$as_me:${as_lineno-$LINENO}: sdl2 libs: $SDL2_LIBS" >&5
15053 ac_save_CPPFLAGS=$CPPFLAGS
15054 CPPFLAGS="$CPPFLAGS $SDL2_CFLAGS"
15055 for ac_header in SDL.h
15056 do :
15057 ac_fn_c_check_header_mongrel "$LINENO" "SDL.h" "ac_cv_header_SDL_h" "$ac_includes_default"
15058 if test "x$ac_cv_header_SDL_h" = xyes; then :
15059 cat >>confdefs.h <<_ACEOF
15060 #define HAVE_SDL_H 1
15061 _ACEOF
15062 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lSDL2" >&5
15063 $as_echo_n "checking for -lSDL2... " >&6; }
15064 if ${ac_cv_lib_soname_SDL2+:} false; then :
15065 $as_echo_n "(cached) " >&6
15066 else
15067 ac_check_soname_save_LIBS=$LIBS
15068 LIBS="-lSDL2 $SDL2_LIBS $LIBS"
15069 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15070 /* end confdefs.h. */
15072 /* Override any GCC internal prototype to avoid an error.
15073 Use char because int might match the return type of a GCC
15074 builtin and then its argument prototype would still apply. */
15075 #ifdef __cplusplus
15076 extern "C"
15077 #endif
15078 char SDL_Init ();
15080 main ()
15082 return SDL_Init ();
15084 return 0;
15086 _ACEOF
15087 if ac_fn_c_try_link "$LINENO"; then :
15088 case "$LIBEXT" in
15089 dll) ac_cv_lib_soname_SDL2=`$ac_cv_path_LDD conftest.exe | grep "SDL2" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15090 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'` ;;
15091 *) 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'`
15092 if ${ac_cv_lib_soname_SDL2:+false} :; then :
15093 ac_cv_lib_soname_SDL2=`$LDD conftest$ac_exeext | grep "libSDL2-2.0*\\.$LIBEXT" | sed -e "s/^.*\(libSDL2-2.0*\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15094 fi ;;
15095 esac
15096 else
15097 ac_cv_lib_soname_SDL2=
15099 rm -f core conftest.err conftest.$ac_objext \
15100 conftest$ac_exeext conftest.$ac_ext
15101 LIBS=$ac_check_soname_save_LIBS
15103 if ${ac_cv_lib_soname_SDL2:+false} :; then :
15104 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15105 $as_echo "not found" >&6; }
15107 else
15108 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_SDL2" >&5
15109 $as_echo "$ac_cv_lib_soname_SDL2" >&6; }
15111 cat >>confdefs.h <<_ACEOF
15112 #define SONAME_LIBSDL2 "$ac_cv_lib_soname_SDL2"
15113 _ACEOF
15119 done
15121 CPPFLAGS=$ac_save_CPPFLAGS
15124 if test "x$ac_cv_lib_soname_SDL2" = "x"; then :
15125 case "x$with_sdl" in
15126 x) as_fn_append wine_notices "|libSDL2 ${notice_platform}development files not found, SDL2 won't be supported." ;;
15127 xno) ;;
15128 *) as_fn_error $? "libSDL2 ${notice_platform}development files not found, SDL2 won't be supported.
15129 This is an error since --with-sdl was requested." "$LINENO" 5 ;;
15130 esac
15134 if test "x$with_faudio" != "xno"
15135 then
15136 if ${FAUDIO_CFLAGS:+false} :; then :
15137 if ${PKG_CONFIG+:} false; then :
15138 FAUDIO_CFLAGS=`$PKG_CONFIG --cflags FAudio 2>/dev/null`
15142 if ${FAUDIO_LIBS:+false} :; then :
15143 if ${PKG_CONFIG+:} false; then :
15144 FAUDIO_LIBS=`$PKG_CONFIG --libs FAudio 2>/dev/null`
15148 FAUDIO_LIBS=${FAUDIO_LIBS:-"-lFAudio"}
15149 $as_echo "$as_me:${as_lineno-$LINENO}: FAudio cflags: $FAUDIO_CFLAGS" >&5
15150 $as_echo "$as_me:${as_lineno-$LINENO}: FAudio libs: $FAUDIO_LIBS" >&5
15151 ac_save_CPPFLAGS=$CPPFLAGS
15152 CPPFLAGS="$CPPFLAGS $FAUDIO_CFLAGS"
15153 for ac_header in FAudio.h
15154 do :
15155 ac_fn_c_check_header_mongrel "$LINENO" "FAudio.h" "ac_cv_header_FAudio_h" "$ac_includes_default"
15156 if test "x$ac_cv_header_FAudio_h" = xyes; then :
15157 cat >>confdefs.h <<_ACEOF
15158 #define HAVE_FAUDIO_H 1
15159 _ACEOF
15160 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lFAudio" >&5
15161 $as_echo_n "checking for -lFAudio... " >&6; }
15162 if ${ac_cv_lib_soname_FAudio+:} false; then :
15163 $as_echo_n "(cached) " >&6
15164 else
15165 ac_check_soname_save_LIBS=$LIBS
15166 LIBS="-lFAudio $FAUDIO_LIBS $LIBS"
15167 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15168 /* end confdefs.h. */
15170 /* Override any GCC internal prototype to avoid an error.
15171 Use char because int might match the return type of a GCC
15172 builtin and then its argument prototype would still apply. */
15173 #ifdef __cplusplus
15174 extern "C"
15175 #endif
15176 char FAudioCreate ();
15178 main ()
15180 return FAudioCreate ();
15182 return 0;
15184 _ACEOF
15185 if ac_fn_c_try_link "$LINENO"; then :
15186 case "$LIBEXT" in
15187 dll) ac_cv_lib_soname_FAudio=`$ac_cv_path_LDD conftest.exe | grep "FAudio" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15188 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'` ;;
15189 *) ac_cv_lib_soname_FAudio=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libFAudio*\\.$LIBEXT" | sed -e "s/^.*\\[\\(libFAudio*\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15190 if ${ac_cv_lib_soname_FAudio:+false} :; then :
15191 ac_cv_lib_soname_FAudio=`$LDD conftest$ac_exeext | grep "libFAudio*\\.$LIBEXT" | sed -e "s/^.*\(libFAudio*\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15192 fi ;;
15193 esac
15194 else
15195 ac_cv_lib_soname_FAudio=
15197 rm -f core conftest.err conftest.$ac_objext \
15198 conftest$ac_exeext conftest.$ac_ext
15199 LIBS=$ac_check_soname_save_LIBS
15201 if ${ac_cv_lib_soname_FAudio:+false} :; then :
15202 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15203 $as_echo "not found" >&6; }
15205 else
15206 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_FAudio" >&5
15207 $as_echo "$ac_cv_lib_soname_FAudio" >&6; }
15209 cat >>confdefs.h <<_ACEOF
15210 #define SONAME_LIBFAUDIO "$ac_cv_lib_soname_FAudio"
15211 _ACEOF
15217 done
15219 ac_wine_check_funcs_save_LIBS="$LIBS"
15220 LIBS="$LIBS $FAUDIO_LIBS"
15221 for ac_func in FAudio_CommitOperationSet \
15222 F3DAudioInitialize8 \
15223 FAudioLinkedVersion \
15224 FAudioCreateReverb9WithCustomAllocatorEXT
15225 do :
15226 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
15227 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
15228 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
15229 cat >>confdefs.h <<_ACEOF
15230 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
15231 _ACEOF
15234 done
15236 LIBS="$ac_wine_check_funcs_save_LIBS"
15238 CPPFLAGS=$ac_save_CPPFLAGS
15241 if test "x$ac_cv_lib_soname_FAudio" = "x"; then :
15242 case "x$with_faudio" in
15243 x) as_fn_append wine_notices "|libFAudio ${notice_platform}development files not found, XAudio2 won't be supported." ;;
15244 xno) ;;
15245 *) as_fn_error $? "libFAudio ${notice_platform}development files not found, XAudio2 won't be supported.
15246 This is an error since --with-faudio was requested." "$LINENO" 5 ;;
15247 esac
15251 if test "x$with_capi" != "xno"
15252 then
15253 if ${CAPI20_CFLAGS:+false} :; then :
15254 if ${PKG_CONFIG+:} false; then :
15255 CAPI20_CFLAGS=`$PKG_CONFIG --cflags capi20 2>/dev/null`
15259 if ${CAPI20_LIBS:+false} :; then :
15260 if ${PKG_CONFIG+:} false; then :
15261 CAPI20_LIBS=`$PKG_CONFIG --libs capi20 2>/dev/null`
15266 $as_echo "$as_me:${as_lineno-$LINENO}: capi20 cflags: $CAPI20_CFLAGS" >&5
15267 $as_echo "$as_me:${as_lineno-$LINENO}: capi20 libs: $CAPI20_LIBS" >&5
15268 ac_save_CPPFLAGS=$CPPFLAGS
15269 CPPFLAGS="$CPPFLAGS $CAPI20_CFLAGS"
15270 for ac_header in capi20.h linux/capi.h
15271 do :
15272 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
15273 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#define __user
15275 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
15276 cat >>confdefs.h <<_ACEOF
15277 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
15278 _ACEOF
15282 done
15284 if test "$ac_cv_header_capi20_h" = "yes" -a "$ac_cv_header_linux_capi_h" = "yes"
15285 then
15286 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcapi20" >&5
15287 $as_echo_n "checking for -lcapi20... " >&6; }
15288 if ${ac_cv_lib_soname_capi20+:} false; then :
15289 $as_echo_n "(cached) " >&6
15290 else
15291 ac_check_soname_save_LIBS=$LIBS
15292 LIBS="-lcapi20 $CAPI20_LIBS $LIBS"
15293 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15294 /* end confdefs.h. */
15296 /* Override any GCC internal prototype to avoid an error.
15297 Use char because int might match the return type of a GCC
15298 builtin and then its argument prototype would still apply. */
15299 #ifdef __cplusplus
15300 extern "C"
15301 #endif
15302 char capi20_register ();
15304 main ()
15306 return capi20_register ();
15308 return 0;
15310 _ACEOF
15311 if ac_fn_c_try_link "$LINENO"; then :
15312 case "$LIBEXT" in
15313 dll) ac_cv_lib_soname_capi20=`$ac_cv_path_LDD conftest.exe | grep "capi20" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15314 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'` ;;
15315 *) ac_cv_lib_soname_capi20=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcapi20\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcapi20\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15316 if ${ac_cv_lib_soname_capi20:+false} :; then :
15317 ac_cv_lib_soname_capi20=`$LDD conftest$ac_exeext | grep "libcapi20\\.$LIBEXT" | sed -e "s/^.*\(libcapi20\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15318 fi ;;
15319 esac
15320 else
15321 ac_cv_lib_soname_capi20=
15323 rm -f core conftest.err conftest.$ac_objext \
15324 conftest$ac_exeext conftest.$ac_ext
15325 LIBS=$ac_check_soname_save_LIBS
15327 if ${ac_cv_lib_soname_capi20:+false} :; then :
15328 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15329 $as_echo "not found" >&6; }
15331 else
15332 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_capi20" >&5
15333 $as_echo "$ac_cv_lib_soname_capi20" >&6; }
15335 cat >>confdefs.h <<_ACEOF
15336 #define SONAME_LIBCAPI20 "$ac_cv_lib_soname_capi20"
15337 _ACEOF
15342 CPPFLAGS=$ac_save_CPPFLAGS
15345 if test "x$ac_cv_lib_soname_capi20" = "x"; then :
15346 case "x$with_capi" in
15347 x) as_fn_append wine_notices "|libcapi20 ${notice_platform}development files not found, ISDN won't be supported." ;;
15348 xno) ;;
15349 *) as_fn_error $? "libcapi20 ${notice_platform}development files not found, ISDN won't be supported.
15350 This is an error since --with-capi was requested." "$LINENO" 5 ;;
15351 esac
15355 if test "x$with_cups" != "xno"
15356 then
15357 if ${CUPS_CFLAGS:+false} :; then :
15358 if ${PKG_CONFIG+:} false; then :
15359 CUPS_CFLAGS=`$PKG_CONFIG --cflags cups 2>/dev/null`
15362 test "$cross_compiling" = yes || CUPS_CFLAGS=${CUPS_CFLAGS:-`${CUPS_CONFIG:-cups-config} --cflags 2>/dev/null`}
15363 if ${CUPS_LIBS:+false} :; then :
15364 if ${PKG_CONFIG+:} false; then :
15365 CUPS_LIBS=`$PKG_CONFIG --libs cups 2>/dev/null`
15368 test "$cross_compiling" = yes || CUPS_LIBS=${CUPS_LIBS:-`${CUPS_CONFIG:-cups-config} --libs 2>/dev/null`}
15369 CUPS_LIBS=${CUPS_LIBS:-"-lcups"}
15370 $as_echo "$as_me:${as_lineno-$LINENO}: cups cflags: $CUPS_CFLAGS" >&5
15371 $as_echo "$as_me:${as_lineno-$LINENO}: cups libs: $CUPS_LIBS" >&5
15372 ac_save_CPPFLAGS=$CPPFLAGS
15373 CPPFLAGS="$CPPFLAGS $CUPS_CFLAGS"
15374 for ac_header in cups/cups.h cups/ppd.h
15375 do :
15376 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
15377 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
15378 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
15379 cat >>confdefs.h <<_ACEOF
15380 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
15381 _ACEOF
15385 done
15387 if test "$ac_cv_header_cups_cups_h" = "yes"
15388 then
15389 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcups" >&5
15390 $as_echo_n "checking for -lcups... " >&6; }
15391 if ${ac_cv_lib_soname_cups+:} false; then :
15392 $as_echo_n "(cached) " >&6
15393 else
15394 ac_check_soname_save_LIBS=$LIBS
15395 LIBS="-lcups $CUPS_LIBS $LIBS"
15396 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15397 /* end confdefs.h. */
15399 /* Override any GCC internal prototype to avoid an error.
15400 Use char because int might match the return type of a GCC
15401 builtin and then its argument prototype would still apply. */
15402 #ifdef __cplusplus
15403 extern "C"
15404 #endif
15405 char cupsGetDefault ();
15407 main ()
15409 return cupsGetDefault ();
15411 return 0;
15413 _ACEOF
15414 if ac_fn_c_try_link "$LINENO"; then :
15415 case "$LIBEXT" in
15416 dll) ac_cv_lib_soname_cups=`$ac_cv_path_LDD conftest.exe | grep "cups" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15417 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'` ;;
15418 *) ac_cv_lib_soname_cups=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcups\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcups\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15419 if ${ac_cv_lib_soname_cups:+false} :; then :
15420 ac_cv_lib_soname_cups=`$LDD conftest$ac_exeext | grep "libcups\\.$LIBEXT" | sed -e "s/^.*\(libcups\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15421 fi ;;
15422 esac
15423 else
15424 ac_cv_lib_soname_cups=
15426 rm -f core conftest.err conftest.$ac_objext \
15427 conftest$ac_exeext conftest.$ac_ext
15428 LIBS=$ac_check_soname_save_LIBS
15430 if ${ac_cv_lib_soname_cups:+false} :; then :
15431 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15432 $as_echo "not found" >&6; }
15433 CUPS_LIBS=""
15434 else
15435 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_cups" >&5
15436 $as_echo "$ac_cv_lib_soname_cups" >&6; }
15438 cat >>confdefs.h <<_ACEOF
15439 #define SONAME_LIBCUPS "$ac_cv_lib_soname_cups"
15440 _ACEOF
15444 else
15445 CUPS_CFLAGS=""
15446 CUPS_LIBS=""
15448 CPPFLAGS=$ac_save_CPPFLAGS
15451 if test "x$ac_cv_lib_soname_cups" = "x"; then :
15452 case "x$with_cups" in
15453 x) as_fn_append wine_notices "|libcups ${notice_platform}development files not found, CUPS won't be supported." ;;
15454 xno) ;;
15455 *) as_fn_error $? "libcups ${notice_platform}development files not found, CUPS won't be supported.
15456 This is an error since --with-cups was requested." "$LINENO" 5 ;;
15457 esac
15461 if test "x$with_fontconfig" != "xno"
15462 then
15463 if ${FONTCONFIG_CFLAGS:+false} :; then :
15464 if ${PKG_CONFIG+:} false; then :
15465 FONTCONFIG_CFLAGS=`$PKG_CONFIG --cflags fontconfig 2>/dev/null`
15468 test "$cross_compiling" = yes || FONTCONFIG_CFLAGS=${FONTCONFIG_CFLAGS:-$X_CFLAGS}
15469 if ${FONTCONFIG_LIBS:+false} :; then :
15470 if ${PKG_CONFIG+:} false; then :
15471 FONTCONFIG_LIBS=`$PKG_CONFIG --libs fontconfig 2>/dev/null`
15474 test "$cross_compiling" = yes || FONTCONFIG_LIBS=${FONTCONFIG_LIBS:-$X_LIBS}
15476 $as_echo "$as_me:${as_lineno-$LINENO}: fontconfig cflags: $FONTCONFIG_CFLAGS" >&5
15477 $as_echo "$as_me:${as_lineno-$LINENO}: fontconfig libs: $FONTCONFIG_LIBS" >&5
15478 ac_save_CPPFLAGS=$CPPFLAGS
15479 CPPFLAGS="$CPPFLAGS $FONTCONFIG_CFLAGS"
15480 for ac_header in fontconfig/fontconfig.h
15481 do :
15482 ac_fn_c_check_header_mongrel "$LINENO" "fontconfig/fontconfig.h" "ac_cv_header_fontconfig_fontconfig_h" "$ac_includes_default"
15483 if test "x$ac_cv_header_fontconfig_fontconfig_h" = xyes; then :
15484 cat >>confdefs.h <<_ACEOF
15485 #define HAVE_FONTCONFIG_FONTCONFIG_H 1
15486 _ACEOF
15490 done
15492 if test "$ac_cv_header_fontconfig_fontconfig_h" = "yes"
15493 then
15494 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfontconfig" >&5
15495 $as_echo_n "checking for -lfontconfig... " >&6; }
15496 if ${ac_cv_lib_soname_fontconfig+:} false; then :
15497 $as_echo_n "(cached) " >&6
15498 else
15499 ac_check_soname_save_LIBS=$LIBS
15500 LIBS="-lfontconfig $FONTCONFIG_LIBS $LIBS"
15501 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15502 /* end confdefs.h. */
15504 /* Override any GCC internal prototype to avoid an error.
15505 Use char because int might match the return type of a GCC
15506 builtin and then its argument prototype would still apply. */
15507 #ifdef __cplusplus
15508 extern "C"
15509 #endif
15510 char FcInit ();
15512 main ()
15514 return FcInit ();
15516 return 0;
15518 _ACEOF
15519 if ac_fn_c_try_link "$LINENO"; then :
15520 case "$LIBEXT" in
15521 dll) ac_cv_lib_soname_fontconfig=`$ac_cv_path_LDD conftest.exe | grep "fontconfig" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15522 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'` ;;
15523 *) ac_cv_lib_soname_fontconfig=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfontconfig\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfontconfig\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15524 if ${ac_cv_lib_soname_fontconfig:+false} :; then :
15525 ac_cv_lib_soname_fontconfig=`$LDD conftest$ac_exeext | grep "libfontconfig\\.$LIBEXT" | sed -e "s/^.*\(libfontconfig\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15526 fi ;;
15527 esac
15528 else
15529 ac_cv_lib_soname_fontconfig=
15531 rm -f core conftest.err conftest.$ac_objext \
15532 conftest$ac_exeext conftest.$ac_ext
15533 LIBS=$ac_check_soname_save_LIBS
15535 if ${ac_cv_lib_soname_fontconfig:+false} :; then :
15536 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15537 $as_echo "not found" >&6; }
15538 FONTCONFIG_CFLAGS=""
15539 else
15540 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_fontconfig" >&5
15541 $as_echo "$ac_cv_lib_soname_fontconfig" >&6; }
15543 cat >>confdefs.h <<_ACEOF
15544 #define SONAME_LIBFONTCONFIG "$ac_cv_lib_soname_fontconfig"
15545 _ACEOF
15549 else
15550 FONTCONFIG_CFLAGS=""
15552 CPPFLAGS=$ac_save_CPPFLAGS
15555 if test "x$ac_cv_lib_soname_fontconfig" = "x"; then :
15556 case "x$with_fontconfig" in
15557 x) as_fn_append wine_notices "|fontconfig ${notice_platform}development files not found, fontconfig won't be supported." ;;
15558 xno) ;;
15559 *) as_fn_error $? "fontconfig ${notice_platform}development files not found, fontconfig won't be supported.
15560 This is an error since --with-fontconfig was requested." "$LINENO" 5 ;;
15561 esac
15565 if test "$ac_cv_header_gsm_h" = "yes" -o "$ac_cv_header_gsm_gsm_h" = "yes"
15566 then
15567 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgsm" >&5
15568 $as_echo_n "checking for -lgsm... " >&6; }
15569 if ${ac_cv_lib_soname_gsm+:} false; then :
15570 $as_echo_n "(cached) " >&6
15571 else
15572 ac_check_soname_save_LIBS=$LIBS
15573 LIBS="-lgsm $LIBS"
15574 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15575 /* end confdefs.h. */
15577 /* Override any GCC internal prototype to avoid an error.
15578 Use char because int might match the return type of a GCC
15579 builtin and then its argument prototype would still apply. */
15580 #ifdef __cplusplus
15581 extern "C"
15582 #endif
15583 char gsm_create ();
15585 main ()
15587 return gsm_create ();
15589 return 0;
15591 _ACEOF
15592 if ac_fn_c_try_link "$LINENO"; then :
15593 case "$LIBEXT" in
15594 dll) ac_cv_lib_soname_gsm=`$ac_cv_path_LDD conftest.exe | grep "gsm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15595 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'` ;;
15596 *) ac_cv_lib_soname_gsm=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libgsm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libgsm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15597 if ${ac_cv_lib_soname_gsm:+false} :; then :
15598 ac_cv_lib_soname_gsm=`$LDD conftest$ac_exeext | grep "libgsm\\.$LIBEXT" | sed -e "s/^.*\(libgsm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15599 fi ;;
15600 esac
15601 else
15602 ac_cv_lib_soname_gsm=
15604 rm -f core conftest.err conftest.$ac_objext \
15605 conftest$ac_exeext conftest.$ac_ext
15606 LIBS=$ac_check_soname_save_LIBS
15608 if ${ac_cv_lib_soname_gsm:+false} :; then :
15609 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15610 $as_echo "not found" >&6; }
15612 else
15613 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gsm" >&5
15614 $as_echo "$ac_cv_lib_soname_gsm" >&6; }
15616 cat >>confdefs.h <<_ACEOF
15617 #define SONAME_LIBGSM "$ac_cv_lib_soname_gsm"
15618 _ACEOF
15623 if test "x$ac_cv_lib_soname_gsm" = "x"; then :
15624 case "x$with_gsm" in
15625 x) as_fn_append wine_notices "|libgsm ${notice_platform}development files not found, gsm 06.10 codec won't be supported." ;;
15626 xno) ;;
15627 *) as_fn_error $? "libgsm ${notice_platform}development files not found, gsm 06.10 codec won't be supported.
15628 This is an error since --with-gsm was requested." "$LINENO" 5 ;;
15629 esac
15633 if test "x$with_krb5" != "xno"
15634 then
15635 if ${KRB5_CFLAGS:+false} :; then :
15636 if ${PKG_CONFIG+:} false; then :
15637 KRB5_CFLAGS=`$PKG_CONFIG --cflags krb5 2>/dev/null`
15640 test "$cross_compiling" = yes || KRB5_CFLAGS=${KRB5_CFLAGS:-`${KRB5_CONFIG:-krb5-config} --cflags 2>/dev/null`}
15641 if ${KRB5_LIBS:+false} :; then :
15642 if ${PKG_CONFIG+:} false; then :
15643 KRB5_LIBS=`$PKG_CONFIG --libs krb5 2>/dev/null`
15646 test "$cross_compiling" = yes || KRB5_LIBS=${KRB5_LIBS:-`${KRB5_CONFIG:-krb5-config} --libs 2>/dev/null`}
15648 $as_echo "$as_me:${as_lineno-$LINENO}: krb5 cflags: $KRB5_CFLAGS" >&5
15649 $as_echo "$as_me:${as_lineno-$LINENO}: krb5 libs: $KRB5_LIBS" >&5
15650 ac_save_CPPFLAGS=$CPPFLAGS
15651 CPPFLAGS="$CPPFLAGS $KRB5_CFLAGS"
15652 for ac_header in krb5/krb5.h
15653 do :
15654 ac_fn_c_check_header_mongrel "$LINENO" "krb5/krb5.h" "ac_cv_header_krb5_krb5_h" "$ac_includes_default"
15655 if test "x$ac_cv_header_krb5_krb5_h" = xyes; then :
15656 cat >>confdefs.h <<_ACEOF
15657 #define HAVE_KRB5_KRB5_H 1
15658 _ACEOF
15662 done
15664 if test "$ac_cv_header_krb5_krb5_h" = "yes"
15665 then
15666 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lkrb5" >&5
15667 $as_echo_n "checking for -lkrb5... " >&6; }
15668 if ${ac_cv_lib_soname_krb5+:} false; then :
15669 $as_echo_n "(cached) " >&6
15670 else
15671 ac_check_soname_save_LIBS=$LIBS
15672 LIBS="-lkrb5 $KRB5_LIBS $LIBS"
15673 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15674 /* end confdefs.h. */
15676 /* Override any GCC internal prototype to avoid an error.
15677 Use char because int might match the return type of a GCC
15678 builtin and then its argument prototype would still apply. */
15679 #ifdef __cplusplus
15680 extern "C"
15681 #endif
15682 char krb5_is_config_principal ();
15684 main ()
15686 return krb5_is_config_principal ();
15688 return 0;
15690 _ACEOF
15691 if ac_fn_c_try_link "$LINENO"; then :
15692 case "$LIBEXT" in
15693 dll) ac_cv_lib_soname_krb5=`$ac_cv_path_LDD conftest.exe | grep "krb5" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15694 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'` ;;
15695 *) ac_cv_lib_soname_krb5=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libkrb5\\.$LIBEXT" | sed -e "s/^.*\\[\\(libkrb5\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15696 if ${ac_cv_lib_soname_krb5:+false} :; then :
15697 ac_cv_lib_soname_krb5=`$LDD conftest$ac_exeext | grep "libkrb5\\.$LIBEXT" | sed -e "s/^.*\(libkrb5\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15698 fi ;;
15699 esac
15700 else
15701 ac_cv_lib_soname_krb5=
15703 rm -f core conftest.err conftest.$ac_objext \
15704 conftest$ac_exeext conftest.$ac_ext
15705 LIBS=$ac_check_soname_save_LIBS
15707 if ${ac_cv_lib_soname_krb5:+false} :; then :
15708 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15709 $as_echo "not found" >&6; }
15710 KRB5_CFLAGS=""
15711 else
15712 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_krb5" >&5
15713 $as_echo "$ac_cv_lib_soname_krb5" >&6; }
15715 cat >>confdefs.h <<_ACEOF
15716 #define SONAME_LIBKRB5 "$ac_cv_lib_soname_krb5"
15717 _ACEOF
15721 else
15722 KRB5_CFLAGS=""
15724 CPPFLAGS=$ac_save_CPPFLAGS
15727 if test "x$ac_cv_lib_soname_krb5" = "x"; then :
15728 case "x$with_krb5" in
15729 x) as_fn_append wine_notices "|libkrb5 ${notice_platform}development files not found (or too old), Kerberos won't be supported." ;;
15730 xno) ;;
15731 *) as_fn_error $? "libkrb5 ${notice_platform}development files not found (or too old), Kerberos won't be supported.
15732 This is an error since --with-krb5 was requested." "$LINENO" 5 ;;
15733 esac
15736 test "x$ac_cv_lib_soname_krb5" != "x" || with_gssapi=${with_gssapi:-no}
15738 if test "x$with_gssapi" != "xno"
15739 then
15740 if ${GSSAPI_CFLAGS:+false} :; then :
15741 if ${PKG_CONFIG+:} false; then :
15742 GSSAPI_CFLAGS=`$PKG_CONFIG --cflags krb5-gssapi 2>/dev/null`
15745 test "$cross_compiling" = yes || GSSAPI_CFLAGS=${GSSAPI_CFLAGS:-`${KRB5_CONFIG:-krb5-config} --cflags gssapi 2>/dev/null`}
15746 if ${GSSAPI_LIBS:+false} :; then :
15747 if ${PKG_CONFIG+:} false; then :
15748 GSSAPI_LIBS=`$PKG_CONFIG --libs krb5-gssapi 2>/dev/null`
15751 test "$cross_compiling" = yes || GSSAPI_LIBS=${GSSAPI_LIBS:-`${KRB5_CONFIG:-krb5-config} --libs gssapi 2>/dev/null`}
15753 $as_echo "$as_me:${as_lineno-$LINENO}: krb5-gssapi cflags: $GSSAPI_CFLAGS" >&5
15754 $as_echo "$as_me:${as_lineno-$LINENO}: krb5-gssapi libs: $GSSAPI_LIBS" >&5
15755 ac_save_CPPFLAGS=$CPPFLAGS
15756 CPPFLAGS="$CPPFLAGS $GSSAPI_CFLAGS"
15757 for ac_header in gssapi/gssapi.h gssapi/gssapi_ext.h
15758 do :
15759 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
15760 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
15761 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
15762 cat >>confdefs.h <<_ACEOF
15763 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
15764 _ACEOF
15768 done
15770 if test "$ac_cv_header_gssapi_gssapi_h" = "yes" -a "$ac_cv_header_gssapi_gssapi_ext_h" = "yes"
15771 then
15772 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgssapi_krb5" >&5
15773 $as_echo_n "checking for -lgssapi_krb5... " >&6; }
15774 if ${ac_cv_lib_soname_gssapi_krb5+:} false; then :
15775 $as_echo_n "(cached) " >&6
15776 else
15777 ac_check_soname_save_LIBS=$LIBS
15778 LIBS="-lgssapi_krb5 $GSSAPI_LIBS $LIBS"
15779 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15780 /* end confdefs.h. */
15782 /* Override any GCC internal prototype to avoid an error.
15783 Use char because int might match the return type of a GCC
15784 builtin and then its argument prototype would still apply. */
15785 #ifdef __cplusplus
15786 extern "C"
15787 #endif
15788 char gss_init_sec_context ();
15790 main ()
15792 return gss_init_sec_context ();
15794 return 0;
15796 _ACEOF
15797 if ac_fn_c_try_link "$LINENO"; then :
15798 case "$LIBEXT" in
15799 dll) ac_cv_lib_soname_gssapi_krb5=`$ac_cv_path_LDD conftest.exe | grep "gssapi_krb5" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15800 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'` ;;
15801 *) 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'`
15802 if ${ac_cv_lib_soname_gssapi_krb5:+false} :; then :
15803 ac_cv_lib_soname_gssapi_krb5=`$LDD conftest$ac_exeext | grep "libgssapi_krb5\\.$LIBEXT" | sed -e "s/^.*\(libgssapi_krb5\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15804 fi ;;
15805 esac
15806 else
15807 ac_cv_lib_soname_gssapi_krb5=
15809 rm -f core conftest.err conftest.$ac_objext \
15810 conftest$ac_exeext conftest.$ac_ext
15811 LIBS=$ac_check_soname_save_LIBS
15813 if ${ac_cv_lib_soname_gssapi_krb5:+false} :; then :
15814 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15815 $as_echo "not found" >&6; }
15816 GSSAPI_CFLAGS=""
15817 else
15818 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gssapi_krb5" >&5
15819 $as_echo "$ac_cv_lib_soname_gssapi_krb5" >&6; }
15821 cat >>confdefs.h <<_ACEOF
15822 #define SONAME_LIBGSSAPI_KRB5 "$ac_cv_lib_soname_gssapi_krb5"
15823 _ACEOF
15827 else
15828 GSSAPI_CFLAGS=""
15830 CPPFLAGS=$ac_save_CPPFLAGS
15833 if test "x$ac_cv_lib_soname_gssapi_krb5" = "x"; then :
15834 case "x$with_gssapi" in
15835 x) as_fn_append wine_notices "|libgssapi_krb5 ${notice_platform}development files not found (or too old), no Kerberos SSP support." ;;
15836 xno) ;;
15837 *) as_fn_error $? "libgssapi_krb5 ${notice_platform}development files not found (or too old), no Kerberos SSP support.
15838 This is an error since --with-gssapi was requested." "$LINENO" 5 ;;
15839 esac
15843 if test "x$with_jpeg" != "xno"
15844 then
15845 if ${JPEG_CFLAGS:+false} :; then :
15846 if ${PKG_CONFIG+:} false; then :
15847 JPEG_CFLAGS=`$PKG_CONFIG --cflags libjpeg 2>/dev/null`
15851 if ${JPEG_LIBS:+false} :; then :
15852 if ${PKG_CONFIG+:} false; then :
15853 JPEG_LIBS=`$PKG_CONFIG --libs libjpeg 2>/dev/null`
15858 $as_echo "$as_me:${as_lineno-$LINENO}: libjpeg cflags: $JPEG_CFLAGS" >&5
15859 $as_echo "$as_me:${as_lineno-$LINENO}: libjpeg libs: $JPEG_LIBS" >&5
15860 ac_save_CPPFLAGS=$CPPFLAGS
15861 CPPFLAGS="$CPPFLAGS $JPEG_CFLAGS"
15862 for ac_header in jpeglib.h
15863 do :
15864 ac_fn_c_check_header_mongrel "$LINENO" "jpeglib.h" "ac_cv_header_jpeglib_h" "$ac_includes_default"
15865 if test "x$ac_cv_header_jpeglib_h" = xyes; then :
15866 cat >>confdefs.h <<_ACEOF
15867 #define HAVE_JPEGLIB_H 1
15868 _ACEOF
15872 done
15874 if test "$ac_cv_header_jpeglib_h" = "yes"
15875 then
15876 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ljpeg" >&5
15877 $as_echo_n "checking for -ljpeg... " >&6; }
15878 if ${ac_cv_lib_soname_jpeg+:} false; then :
15879 $as_echo_n "(cached) " >&6
15880 else
15881 ac_check_soname_save_LIBS=$LIBS
15882 LIBS="-ljpeg $JPEG_LIBS $LIBS"
15883 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15884 /* end confdefs.h. */
15886 /* Override any GCC internal prototype to avoid an error.
15887 Use char because int might match the return type of a GCC
15888 builtin and then its argument prototype would still apply. */
15889 #ifdef __cplusplus
15890 extern "C"
15891 #endif
15892 char jpeg_start_decompress ();
15894 main ()
15896 return jpeg_start_decompress ();
15898 return 0;
15900 _ACEOF
15901 if ac_fn_c_try_link "$LINENO"; then :
15902 case "$LIBEXT" in
15903 dll) ac_cv_lib_soname_jpeg=`$ac_cv_path_LDD conftest.exe | grep "jpeg" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15904 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'` ;;
15905 *) ac_cv_lib_soname_jpeg=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libjpeg\\.$LIBEXT" | sed -e "s/^.*\\[\\(libjpeg\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15906 if ${ac_cv_lib_soname_jpeg:+false} :; then :
15907 ac_cv_lib_soname_jpeg=`$LDD conftest$ac_exeext | grep "libjpeg\\.$LIBEXT" | sed -e "s/^.*\(libjpeg\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15908 fi ;;
15909 esac
15910 else
15911 ac_cv_lib_soname_jpeg=
15913 rm -f core conftest.err conftest.$ac_objext \
15914 conftest$ac_exeext conftest.$ac_ext
15915 LIBS=$ac_check_soname_save_LIBS
15917 if ${ac_cv_lib_soname_jpeg:+false} :; then :
15918 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15919 $as_echo "not found" >&6; }
15920 JPEG_CFLAGS=""
15921 else
15922 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_jpeg" >&5
15923 $as_echo "$ac_cv_lib_soname_jpeg" >&6; }
15925 cat >>confdefs.h <<_ACEOF
15926 #define SONAME_LIBJPEG "$ac_cv_lib_soname_jpeg"
15927 _ACEOF
15931 else
15932 JPEG_CFLAGS=""
15934 CPPFLAGS=$ac_save_CPPFLAGS
15937 if test "x$ac_cv_lib_soname_jpeg" = "x"; then :
15938 case "x$with_jpeg" in
15939 x) as_fn_append wine_warnings "|libjpeg ${notice_platform}development files not found, JPEG won't be supported." ;;
15940 xno) ;;
15941 *) as_fn_error $? "libjpeg ${notice_platform}development files not found, JPEG won't be supported.
15942 This is an error since --with-jpeg was requested." "$LINENO" 5 ;;
15943 esac
15947 if test "x$with_jxrlib" != "xno"
15948 then
15949 if ${JXRLIB_CFLAGS:+false} :; then :
15950 if ${PKG_CONFIG+:} false; then :
15951 JXRLIB_CFLAGS=`$PKG_CONFIG --cflags jxrlib 2>/dev/null`
15954 test "$cross_compiling" = yes || JXRLIB_CFLAGS=${JXRLIB_CFLAGS:-${JXRLIB_CFLAGS:--I/usr/include/jxrlib}}
15955 if ${JXRLIB_LIBS:+false} :; then :
15956 if ${PKG_CONFIG+:} false; then :
15957 JXRLIB_LIBS=`$PKG_CONFIG --libs jxrlib 2>/dev/null`
15962 $as_echo "$as_me:${as_lineno-$LINENO}: jxrlib cflags: $JXRLIB_CFLAGS" >&5
15963 $as_echo "$as_me:${as_lineno-$LINENO}: jxrlib libs: $JXRLIB_LIBS" >&5
15964 ac_save_CPPFLAGS=$CPPFLAGS
15965 CPPFLAGS="$CPPFLAGS $JXRLIB_CFLAGS"
15966 for ac_header in JXRGlue.h
15967 do :
15968 ac_fn_c_check_header_compile "$LINENO" "JXRGlue.h" "ac_cv_header_JXRGlue_h" "#define FAR
15970 if test "x$ac_cv_header_JXRGlue_h" = xyes; then :
15971 cat >>confdefs.h <<_ACEOF
15972 #define HAVE_JXRGLUE_H 1
15973 _ACEOF
15977 done
15979 if test "$ac_cv_header_JXRGlue_h" = "yes"
15980 then
15981 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ljxrglue" >&5
15982 $as_echo_n "checking for -ljxrglue... " >&6; }
15983 if ${ac_cv_lib_soname_jxrglue+:} false; then :
15984 $as_echo_n "(cached) " >&6
15985 else
15986 ac_check_soname_save_LIBS=$LIBS
15987 LIBS="-ljxrglue $JXRLIB_LIBS $LIBS"
15988 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15989 /* end confdefs.h. */
15991 /* Override any GCC internal prototype to avoid an error.
15992 Use char because int might match the return type of a GCC
15993 builtin and then its argument prototype would still apply. */
15994 #ifdef __cplusplus
15995 extern "C"
15996 #endif
15997 char PKImageDecode_Create_WMP ();
15999 main ()
16001 return PKImageDecode_Create_WMP ();
16003 return 0;
16005 _ACEOF
16006 if ac_fn_c_try_link "$LINENO"; then :
16007 case "$LIBEXT" in
16008 dll) ac_cv_lib_soname_jxrglue=`$ac_cv_path_LDD conftest.exe | grep "jxrglue" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16009 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'` ;;
16010 *) ac_cv_lib_soname_jxrglue=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libjxrglue\\.$LIBEXT" | sed -e "s/^.*\\[\\(libjxrglue\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16011 if ${ac_cv_lib_soname_jxrglue:+false} :; then :
16012 ac_cv_lib_soname_jxrglue=`$LDD conftest$ac_exeext | grep "libjxrglue\\.$LIBEXT" | sed -e "s/^.*\(libjxrglue\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16013 fi ;;
16014 esac
16015 else
16016 ac_cv_lib_soname_jxrglue=
16018 rm -f core conftest.err conftest.$ac_objext \
16019 conftest$ac_exeext conftest.$ac_ext
16020 LIBS=$ac_check_soname_save_LIBS
16022 if ${ac_cv_lib_soname_jxrglue:+false} :; then :
16023 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16024 $as_echo "not found" >&6; }
16025 JXRLIB_CFLAGS=""
16026 else
16027 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_jxrglue" >&5
16028 $as_echo "$ac_cv_lib_soname_jxrglue" >&6; }
16030 cat >>confdefs.h <<_ACEOF
16031 #define SONAME_LIBJXRGLUE "$ac_cv_lib_soname_jxrglue"
16032 _ACEOF
16036 else
16037 JXRLIB_CFLAGS=""
16039 CPPFLAGS=$ac_save_CPPFLAGS
16042 if test "x$ac_cv_lib_soname_jxrglue" = "x"; then :
16043 case "x$with_jxrlib" in
16044 x) as_fn_append wine_notices "|jxrlib ${notice_platform}development files not found, JPEG-XR won't be supported." ;;
16045 xno) ;;
16046 *) as_fn_error $? "jxrlib ${notice_platform}development files not found, JPEG-XR won't be supported.
16047 This is an error since --with-jxrlib was requested." "$LINENO" 5 ;;
16048 esac
16052 if test "x$with_png" != "xno"
16053 then
16054 if ${PNG_CFLAGS:+false} :; then :
16055 if ${PKG_CONFIG+:} false; then :
16056 PNG_CFLAGS=`$PKG_CONFIG --cflags libpng 2>/dev/null`
16059 test "$cross_compiling" = yes || PNG_CFLAGS=${PNG_CFLAGS:-$X_CFLAGS}
16060 if ${PNG_LIBS:+false} :; then :
16061 if ${PKG_CONFIG+:} false; then :
16062 PNG_LIBS=`$PKG_CONFIG --libs libpng 2>/dev/null`
16065 test "$cross_compiling" = yes || PNG_LIBS=${PNG_LIBS:-$X_LIBS}
16067 $as_echo "$as_me:${as_lineno-$LINENO}: libpng cflags: $PNG_CFLAGS" >&5
16068 $as_echo "$as_me:${as_lineno-$LINENO}: libpng libs: $PNG_LIBS" >&5
16069 ac_save_CPPFLAGS=$CPPFLAGS
16070 CPPFLAGS="$CPPFLAGS $PNG_CFLAGS"
16071 for ac_header in png.h
16072 do :
16073 ac_fn_c_check_header_mongrel "$LINENO" "png.h" "ac_cv_header_png_h" "$ac_includes_default"
16074 if test "x$ac_cv_header_png_h" = xyes; then :
16075 cat >>confdefs.h <<_ACEOF
16076 #define HAVE_PNG_H 1
16077 _ACEOF
16081 done
16083 if test "$ac_cv_header_png_h" = "yes"
16084 then
16085 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lpng" >&5
16086 $as_echo_n "checking for -lpng... " >&6; }
16087 if ${ac_cv_lib_soname_png+:} false; then :
16088 $as_echo_n "(cached) " >&6
16089 else
16090 ac_check_soname_save_LIBS=$LIBS
16091 LIBS="-lpng $PNG_LIBS -lm -lz $LIBS"
16092 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16093 /* end confdefs.h. */
16095 /* Override any GCC internal prototype to avoid an error.
16096 Use char because int might match the return type of a GCC
16097 builtin and then its argument prototype would still apply. */
16098 #ifdef __cplusplus
16099 extern "C"
16100 #endif
16101 char png_create_read_struct ();
16103 main ()
16105 return png_create_read_struct ();
16107 return 0;
16109 _ACEOF
16110 if ac_fn_c_try_link "$LINENO"; then :
16111 case "$LIBEXT" in
16112 dll) ac_cv_lib_soname_png=`$ac_cv_path_LDD conftest.exe | grep "png" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16113 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'` ;;
16114 *) 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'`
16115 if ${ac_cv_lib_soname_png:+false} :; then :
16116 ac_cv_lib_soname_png=`$LDD conftest$ac_exeext | grep "libpng[0-9]*\\.$LIBEXT" | sed -e "s/^.*\(libpng[0-9]*\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16117 fi ;;
16118 esac
16119 else
16120 ac_cv_lib_soname_png=
16122 rm -f core conftest.err conftest.$ac_objext \
16123 conftest$ac_exeext conftest.$ac_ext
16124 LIBS=$ac_check_soname_save_LIBS
16126 if ${ac_cv_lib_soname_png:+false} :; then :
16127 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16128 $as_echo "not found" >&6; }
16129 PNG_CFLAGS=""
16130 else
16131 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_png" >&5
16132 $as_echo "$ac_cv_lib_soname_png" >&6; }
16134 cat >>confdefs.h <<_ACEOF
16135 #define SONAME_LIBPNG "$ac_cv_lib_soname_png"
16136 _ACEOF
16140 else
16141 PNG_CFLAGS=""
16143 CPPFLAGS=$ac_save_CPPFLAGS
16146 if test "x$ac_cv_lib_soname_png" = "x"; then :
16147 case "x$with_png" in
16148 x) as_fn_append wine_warnings "|libpng ${notice_platform}development files not found, PNG won't be supported." ;;
16149 xno) ;;
16150 *) as_fn_error $? "libpng ${notice_platform}development files not found, PNG won't be supported.
16151 This is an error since --with-png was requested." "$LINENO" 5 ;;
16152 esac
16156 if test "x$with_tiff" != "xno"
16157 then
16158 if ${TIFF_CFLAGS:+false} :; then :
16159 if ${PKG_CONFIG+:} false; then :
16160 TIFF_CFLAGS=`$PKG_CONFIG --cflags libtiff-4 2>/dev/null`
16164 if ${TIFF_LIBS:+false} :; then :
16165 if ${PKG_CONFIG+:} false; then :
16166 TIFF_LIBS=`$PKG_CONFIG --libs libtiff-4 2>/dev/null`
16171 $as_echo "$as_me:${as_lineno-$LINENO}: libtiff-4 cflags: $TIFF_CFLAGS" >&5
16172 $as_echo "$as_me:${as_lineno-$LINENO}: libtiff-4 libs: $TIFF_LIBS" >&5
16173 ac_save_CPPFLAGS=$CPPFLAGS
16174 CPPFLAGS="$CPPFLAGS $TIFF_CFLAGS"
16175 for ac_header in tiffio.h
16176 do :
16177 ac_fn_c_check_header_mongrel "$LINENO" "tiffio.h" "ac_cv_header_tiffio_h" "$ac_includes_default"
16178 if test "x$ac_cv_header_tiffio_h" = xyes; then :
16179 cat >>confdefs.h <<_ACEOF
16180 #define HAVE_TIFFIO_H 1
16181 _ACEOF
16185 done
16187 if test "$ac_cv_header_tiffio_h" = "yes"
16188 then
16189 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ltiff" >&5
16190 $as_echo_n "checking for -ltiff... " >&6; }
16191 if ${ac_cv_lib_soname_tiff+:} false; then :
16192 $as_echo_n "(cached) " >&6
16193 else
16194 ac_check_soname_save_LIBS=$LIBS
16195 LIBS="-ltiff $TIFF_LIBS $LIBS"
16196 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16197 /* end confdefs.h. */
16199 /* Override any GCC internal prototype to avoid an error.
16200 Use char because int might match the return type of a GCC
16201 builtin and then its argument prototype would still apply. */
16202 #ifdef __cplusplus
16203 extern "C"
16204 #endif
16205 char TIFFClientOpen ();
16207 main ()
16209 return TIFFClientOpen ();
16211 return 0;
16213 _ACEOF
16214 if ac_fn_c_try_link "$LINENO"; then :
16215 case "$LIBEXT" in
16216 dll) ac_cv_lib_soname_tiff=`$ac_cv_path_LDD conftest.exe | grep "tiff" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16217 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'` ;;
16218 *) ac_cv_lib_soname_tiff=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libtiff\\.$LIBEXT" | sed -e "s/^.*\\[\\(libtiff\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16219 if ${ac_cv_lib_soname_tiff:+false} :; then :
16220 ac_cv_lib_soname_tiff=`$LDD conftest$ac_exeext | grep "libtiff\\.$LIBEXT" | sed -e "s/^.*\(libtiff\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16221 fi ;;
16222 esac
16223 else
16224 ac_cv_lib_soname_tiff=
16226 rm -f core conftest.err conftest.$ac_objext \
16227 conftest$ac_exeext conftest.$ac_ext
16228 LIBS=$ac_check_soname_save_LIBS
16230 if ${ac_cv_lib_soname_tiff:+false} :; then :
16231 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16232 $as_echo "not found" >&6; }
16234 else
16235 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_tiff" >&5
16236 $as_echo "$ac_cv_lib_soname_tiff" >&6; }
16238 cat >>confdefs.h <<_ACEOF
16239 #define SONAME_LIBTIFF "$ac_cv_lib_soname_tiff"
16240 _ACEOF
16245 CPPFLAGS=$ac_save_CPPFLAGS
16248 if test "x$ac_cv_lib_soname_tiff" = "x"; then :
16249 case "x$with_tiff" in
16250 x) as_fn_append wine_notices "|libtiff ${notice_platform}development files not found, TIFF won't be supported." ;;
16251 xno) ;;
16252 *) as_fn_error $? "libtiff ${notice_platform}development files not found, TIFF won't be supported.
16253 This is an error since --with-tiff was requested." "$LINENO" 5 ;;
16254 esac
16258 if test "x$with_mpg123" != "xno"
16259 then
16260 if ${MPG123_CFLAGS:+false} :; then :
16261 if ${PKG_CONFIG+:} false; then :
16262 MPG123_CFLAGS=`$PKG_CONFIG --cflags libmpg123 2>/dev/null`
16266 if ${MPG123_LIBS:+false} :; then :
16267 if ${PKG_CONFIG+:} false; then :
16268 MPG123_LIBS=`$PKG_CONFIG --libs libmpg123 2>/dev/null`
16272 MPG123_LIBS=${MPG123_LIBS:-"-lmpg123"}
16273 $as_echo "$as_me:${as_lineno-$LINENO}: libmpg123 cflags: $MPG123_CFLAGS" >&5
16274 $as_echo "$as_me:${as_lineno-$LINENO}: libmpg123 libs: $MPG123_LIBS" >&5
16275 ac_save_CPPFLAGS=$CPPFLAGS
16276 CPPFLAGS="$CPPFLAGS $MPG123_CFLAGS"
16277 for ac_header in mpg123.h
16278 do :
16279 ac_fn_c_check_header_mongrel "$LINENO" "mpg123.h" "ac_cv_header_mpg123_h" "$ac_includes_default"
16280 if test "x$ac_cv_header_mpg123_h" = xyes; then :
16281 cat >>confdefs.h <<_ACEOF
16282 #define HAVE_MPG123_H 1
16283 _ACEOF
16287 done
16289 if test "$ac_cv_header_mpg123_h" = "yes"
16290 then
16291 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mpg123_feed in -lmpg123" >&5
16292 $as_echo_n "checking for mpg123_feed in -lmpg123... " >&6; }
16293 if ${ac_cv_lib_mpg123_mpg123_feed+:} false; then :
16294 $as_echo_n "(cached) " >&6
16295 else
16296 ac_check_lib_save_LIBS=$LIBS
16297 LIBS="-lmpg123 $MPG123_LIBS $LIBS"
16298 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16299 /* end confdefs.h. */
16301 /* Override any GCC internal prototype to avoid an error.
16302 Use char because int might match the return type of a GCC
16303 builtin and then its argument prototype would still apply. */
16304 #ifdef __cplusplus
16305 extern "C"
16306 #endif
16307 char mpg123_feed ();
16309 main ()
16311 return mpg123_feed ();
16313 return 0;
16315 _ACEOF
16316 if ac_fn_c_try_link "$LINENO"; then :
16317 ac_cv_lib_mpg123_mpg123_feed=yes
16318 else
16319 ac_cv_lib_mpg123_mpg123_feed=no
16321 rm -f core conftest.err conftest.$ac_objext \
16322 conftest$ac_exeext conftest.$ac_ext
16323 LIBS=$ac_check_lib_save_LIBS
16325 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_mpg123_mpg123_feed" >&5
16326 $as_echo "$ac_cv_lib_mpg123_mpg123_feed" >&6; }
16327 if test "x$ac_cv_lib_mpg123_mpg123_feed" = xyes; then :
16329 else
16330 MPG123_LIBS=""
16333 else
16334 MPG123_CFLAGS=""
16335 MPG123_LIBS=""
16337 CPPFLAGS=$ac_save_CPPFLAGS
16340 if test "x$ac_cv_lib_mpg123_mpg123_feed" != xyes -a x"$ac_cv_header_CoreAudio_CoreAudio_h" != xyes; then :
16341 case "x$with_mpg123" in
16342 x) as_fn_append wine_notices "|libmpg123 ${notice_platform}development files not found (or too old), mp3 codec won't be supported." ;;
16343 xno) ;;
16344 *) as_fn_error $? "libmpg123 ${notice_platform}development files not found (or too old), mp3 codec won't be supported.
16345 This is an error since --with-mpg123 was requested." "$LINENO" 5 ;;
16346 esac
16347 enable_l3codeca_acm=${enable_l3codeca_acm:-no}
16349 test "x$ac_cv_lib_mpg123_mpg123_feed" = xyes || enable_mp3dmod=${enable_mp3dmod:-no}
16351 if test "$ac_cv_header_AL_al_h" = "yes"
16352 then
16353 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lopenal" >&5
16354 $as_echo_n "checking for -lopenal... " >&6; }
16355 if ${ac_cv_lib_soname_openal+:} false; then :
16356 $as_echo_n "(cached) " >&6
16357 else
16358 ac_check_soname_save_LIBS=$LIBS
16359 LIBS="-lopenal $LIBS"
16360 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16361 /* end confdefs.h. */
16363 /* Override any GCC internal prototype to avoid an error.
16364 Use char because int might match the return type of a GCC
16365 builtin and then its argument prototype would still apply. */
16366 #ifdef __cplusplus
16367 extern "C"
16368 #endif
16369 char alGetSource3i ();
16371 main ()
16373 return alGetSource3i ();
16375 return 0;
16377 _ACEOF
16378 if ac_fn_c_try_link "$LINENO"; then :
16379 case "$LIBEXT" in
16380 dll) ac_cv_lib_soname_openal=`$ac_cv_path_LDD conftest.exe | grep "openal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16381 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'` ;;
16382 *) ac_cv_lib_soname_openal=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libopenal\\.$LIBEXT" | sed -e "s/^.*\\[\\(libopenal\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16383 if ${ac_cv_lib_soname_openal:+false} :; then :
16384 ac_cv_lib_soname_openal=`$LDD conftest$ac_exeext | grep "libopenal\\.$LIBEXT" | sed -e "s/^.*\(libopenal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16385 fi ;;
16386 esac
16387 else
16388 ac_cv_lib_soname_openal=
16390 rm -f core conftest.err conftest.$ac_objext \
16391 conftest$ac_exeext conftest.$ac_ext
16392 LIBS=$ac_check_soname_save_LIBS
16394 if ${ac_cv_lib_soname_openal:+false} :; then :
16395 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16396 $as_echo "not found" >&6; }
16398 else
16399 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_openal" >&5
16400 $as_echo "$ac_cv_lib_soname_openal" >&6; }
16402 cat >>confdefs.h <<_ACEOF
16403 #define SONAME_LIBOPENAL "$ac_cv_lib_soname_openal"
16404 _ACEOF
16406 OPENAL_LIBS="-lopenal"
16408 ac_cv_lib_openal=yes
16410 cat >>confdefs.h <<_ACEOF
16411 #define HAVE_OPENAL 1
16412 _ACEOF
16416 if test "x$ac_cv_lib_openal" != xyes; then :
16417 case "x$with_openal" in
16418 x) as_fn_append wine_notices "|libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported." ;;
16419 xno) ;;
16420 *) as_fn_error $? "libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported.
16421 This is an error since --with-openal was requested." "$LINENO" 5 ;;
16422 esac
16423 enable_openal32=${enable_openal32:-no}
16426 if test "x$ac_cv_lib_soname_FAudio" = "x"
16427 then
16428 enable_x3daudio1_0=${enable_x3daudio1_0:-no}
16429 enable_x3daudio1_1=${enable_x3daudio1_1:-no}
16430 enable_x3daudio1_2=${enable_x3daudio1_2:-no}
16431 enable_x3daudio1_3=${enable_x3daudio1_3:-no}
16432 enable_x3daudio1_4=${enable_x3daudio1_4:-no}
16433 enable_x3daudio1_5=${enable_x3daudio1_5:-no}
16434 enable_x3daudio1_6=${enable_x3daudio1_6:-no}
16435 enable_x3daudio1_7=${enable_x3daudio1_7:-no}
16436 enable_xactengine2_0=${enable_xactengine2_0:-no}
16437 enable_xactengine2_4=${enable_xactengine2_4:-no}
16438 enable_xactengine2_7=${enable_xactengine2_7:-no}
16439 enable_xactengine2_9=${enable_xactengine2_9:-no}
16440 enable_xactengine3_0=${enable_xactengine3_0:-no}
16441 enable_xactengine3_1=${enable_xactengine3_1:-no}
16442 enable_xactengine3_2=${enable_xactengine3_2:-no}
16443 enable_xactengine3_3=${enable_xactengine3_3:-no}
16444 enable_xactengine3_4=${enable_xactengine3_4:-no}
16445 enable_xactengine3_5=${enable_xactengine3_5:-no}
16446 enable_xactengine3_6=${enable_xactengine3_6:-no}
16447 enable_xactengine3_7=${enable_xactengine3_7:-no}
16448 enable_xapofx1_1=${enable_xapofx1_1:-no}
16449 enable_xapofx1_2=${enable_xapofx1_2:-no}
16450 enable_xapofx1_3=${enable_xapofx1_3:-no}
16451 enable_xapofx1_4=${enable_xapofx1_4:-no}
16452 enable_xapofx1_5=${enable_xapofx1_5:-no}
16453 enable_xaudio2_0=${enable_xaudio2_0:-no}
16454 enable_xaudio2_1=${enable_xaudio2_1:-no}
16455 enable_xaudio2_2=${enable_xaudio2_2:-no}
16456 enable_xaudio2_3=${enable_xaudio2_3:-no}
16457 enable_xaudio2_4=${enable_xaudio2_4:-no}
16458 enable_xaudio2_5=${enable_xaudio2_5:-no}
16459 enable_xaudio2_6=${enable_xaudio2_6:-no}
16460 enable_xaudio2_7=${enable_xaudio2_7:-no}
16461 enable_xaudio2_8=${enable_xaudio2_8:-no}
16462 enable_xaudio2_9=${enable_xaudio2_9:-no}
16465 if test "$ac_cv_header_kstat_h" = "yes"
16466 then
16467 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for kstat_open in -lkstat" >&5
16468 $as_echo_n "checking for kstat_open in -lkstat... " >&6; }
16469 if ${ac_cv_lib_kstat_kstat_open+:} false; then :
16470 $as_echo_n "(cached) " >&6
16471 else
16472 ac_check_lib_save_LIBS=$LIBS
16473 LIBS="-lkstat $LIBS"
16474 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16475 /* end confdefs.h. */
16477 /* Override any GCC internal prototype to avoid an error.
16478 Use char because int might match the return type of a GCC
16479 builtin and then its argument prototype would still apply. */
16480 #ifdef __cplusplus
16481 extern "C"
16482 #endif
16483 char kstat_open ();
16485 main ()
16487 return kstat_open ();
16489 return 0;
16491 _ACEOF
16492 if ac_fn_c_try_link "$LINENO"; then :
16493 ac_cv_lib_kstat_kstat_open=yes
16494 else
16495 ac_cv_lib_kstat_kstat_open=no
16497 rm -f core conftest.err conftest.$ac_objext \
16498 conftest$ac_exeext conftest.$ac_ext
16499 LIBS=$ac_check_lib_save_LIBS
16501 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_kstat_kstat_open" >&5
16502 $as_echo "$ac_cv_lib_kstat_kstat_open" >&6; }
16503 if test "x$ac_cv_lib_kstat_kstat_open" = xyes; then :
16505 $as_echo "#define HAVE_LIBKSTAT 1" >>confdefs.h
16507 KSTAT_LIBS="-lkstat"
16513 if test "$ac_cv_header_libprocstat_h" = "yes"
16514 then
16515 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for procstat_open_sysctl in -lprocstat" >&5
16516 $as_echo_n "checking for procstat_open_sysctl in -lprocstat... " >&6; }
16517 if ${ac_cv_lib_procstat_procstat_open_sysctl+:} false; then :
16518 $as_echo_n "(cached) " >&6
16519 else
16520 ac_check_lib_save_LIBS=$LIBS
16521 LIBS="-lprocstat $LIBS"
16522 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16523 /* end confdefs.h. */
16525 /* Override any GCC internal prototype to avoid an error.
16526 Use char because int might match the return type of a GCC
16527 builtin and then its argument prototype would still apply. */
16528 #ifdef __cplusplus
16529 extern "C"
16530 #endif
16531 char procstat_open_sysctl ();
16533 main ()
16535 return procstat_open_sysctl ();
16537 return 0;
16539 _ACEOF
16540 if ac_fn_c_try_link "$LINENO"; then :
16541 ac_cv_lib_procstat_procstat_open_sysctl=yes
16542 else
16543 ac_cv_lib_procstat_procstat_open_sysctl=no
16545 rm -f core conftest.err conftest.$ac_objext \
16546 conftest$ac_exeext conftest.$ac_ext
16547 LIBS=$ac_check_lib_save_LIBS
16549 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_procstat_procstat_open_sysctl" >&5
16550 $as_echo "$ac_cv_lib_procstat_procstat_open_sysctl" >&6; }
16551 if test "x$ac_cv_lib_procstat_procstat_open_sysctl" = xyes; then :
16553 $as_echo "#define HAVE_LIBPROCSTAT 1" >>confdefs.h
16555 PROCSTAT_LIBS="-lprocstat"
16561 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lodbc" >&5
16562 $as_echo_n "checking for -lodbc... " >&6; }
16563 if ${ac_cv_lib_soname_odbc+:} false; then :
16564 $as_echo_n "(cached) " >&6
16565 else
16566 ac_check_soname_save_LIBS=$LIBS
16567 LIBS="-lodbc $LIBS"
16568 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16569 /* end confdefs.h. */
16571 /* Override any GCC internal prototype to avoid an error.
16572 Use char because int might match the return type of a GCC
16573 builtin and then its argument prototype would still apply. */
16574 #ifdef __cplusplus
16575 extern "C"
16576 #endif
16577 char SQLConnect ();
16579 main ()
16581 return SQLConnect ();
16583 return 0;
16585 _ACEOF
16586 if ac_fn_c_try_link "$LINENO"; then :
16587 case "$LIBEXT" in
16588 dll) ac_cv_lib_soname_odbc=`$ac_cv_path_LDD conftest.exe | grep "odbc" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16589 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'` ;;
16590 *) ac_cv_lib_soname_odbc=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libodbc\\.$LIBEXT" | sed -e "s/^.*\\[\\(libodbc\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16591 if ${ac_cv_lib_soname_odbc:+false} :; then :
16592 ac_cv_lib_soname_odbc=`$LDD conftest$ac_exeext | grep "libodbc\\.$LIBEXT" | sed -e "s/^.*\(libodbc\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16593 fi ;;
16594 esac
16595 else
16596 ac_cv_lib_soname_odbc=
16598 rm -f core conftest.err conftest.$ac_objext \
16599 conftest$ac_exeext conftest.$ac_ext
16600 LIBS=$ac_check_soname_save_LIBS
16602 if ${ac_cv_lib_soname_odbc:+false} :; then :
16603 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16604 $as_echo "not found" >&6; }
16605 cat >>confdefs.h <<_ACEOF
16606 #define SONAME_LIBODBC "libodbc.$LIBEXT"
16607 _ACEOF
16609 else
16610 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_odbc" >&5
16611 $as_echo "$ac_cv_lib_soname_odbc" >&6; }
16613 cat >>confdefs.h <<_ACEOF
16614 #define SONAME_LIBODBC "$ac_cv_lib_soname_odbc"
16615 _ACEOF
16620 if test "x$with_netapi" != "xno"
16621 then
16622 if ${NETAPI_CFLAGS:+false} :; then :
16623 if ${PKG_CONFIG+:} false; then :
16624 NETAPI_CFLAGS=`$PKG_CONFIG --cflags netapi 2>/dev/null`
16628 if ${NETAPI_LIBS:+false} :; then :
16629 if ${PKG_CONFIG+:} false; then :
16630 NETAPI_LIBS=`$PKG_CONFIG --libs netapi 2>/dev/null`
16635 $as_echo "$as_me:${as_lineno-$LINENO}: netapi cflags: $NETAPI_CFLAGS" >&5
16636 $as_echo "$as_me:${as_lineno-$LINENO}: netapi libs: $NETAPI_LIBS" >&5
16637 ac_save_CPPFLAGS=$CPPFLAGS
16638 CPPFLAGS="$CPPFLAGS $NETAPI_CFLAGS"
16639 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lnetapi" >&5
16640 $as_echo_n "checking for -lnetapi... " >&6; }
16641 if ${ac_cv_lib_soname_netapi+:} false; then :
16642 $as_echo_n "(cached) " >&6
16643 else
16644 ac_check_soname_save_LIBS=$LIBS
16645 LIBS="-lnetapi $NETAPI_LIBS $LIBS"
16646 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16647 /* end confdefs.h. */
16649 /* Override any GCC internal prototype to avoid an error.
16650 Use char because int might match the return type of a GCC
16651 builtin and then its argument prototype would still apply. */
16652 #ifdef __cplusplus
16653 extern "C"
16654 #endif
16655 char libnetapi_init ();
16657 main ()
16659 return libnetapi_init ();
16661 return 0;
16663 _ACEOF
16664 if ac_fn_c_try_link "$LINENO"; then :
16665 case "$LIBEXT" in
16666 dll) ac_cv_lib_soname_netapi=`$ac_cv_path_LDD conftest.exe | grep "netapi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16667 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'` ;;
16668 *) ac_cv_lib_soname_netapi=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libnetapi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libnetapi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16669 if ${ac_cv_lib_soname_netapi:+false} :; then :
16670 ac_cv_lib_soname_netapi=`$LDD conftest$ac_exeext | grep "libnetapi\\.$LIBEXT" | sed -e "s/^.*\(libnetapi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16671 fi ;;
16672 esac
16673 else
16674 ac_cv_lib_soname_netapi=
16676 rm -f core conftest.err conftest.$ac_objext \
16677 conftest$ac_exeext conftest.$ac_ext
16678 LIBS=$ac_check_soname_save_LIBS
16680 if ${ac_cv_lib_soname_netapi:+false} :; then :
16681 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16682 $as_echo "not found" >&6; }
16683 cat >>confdefs.h <<_ACEOF
16684 #define SONAME_LIBNETAPI "libnetapi.$LIBEXT"
16685 _ACEOF
16687 else
16688 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_netapi" >&5
16689 $as_echo "$ac_cv_lib_soname_netapi" >&6; }
16691 cat >>confdefs.h <<_ACEOF
16692 #define SONAME_LIBNETAPI "$ac_cv_lib_soname_netapi"
16693 _ACEOF
16697 CPPFLAGS=$ac_save_CPPFLAGS
16701 if test "x$enable_winealsa_drv$enable_winecoreaudio_drv$enable_winepulse_drv$enable_wineoss_drv$enable_wineandroid_drv" = xnonononono -a \
16702 "x$with_alsa$with_coreaudio$with_oss$with_pulse" != xnononono
16703 then
16704 as_fn_append wine_warnings "|No sound system was found. Windows applications will be silent."
16707 if test "x$with_vulkan" != "xno"
16708 then
16709 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lvulkan" >&5
16710 $as_echo_n "checking for -lvulkan... " >&6; }
16711 if ${ac_cv_lib_soname_vulkan+:} false; then :
16712 $as_echo_n "(cached) " >&6
16713 else
16714 ac_check_soname_save_LIBS=$LIBS
16715 LIBS="-lvulkan $LIBS"
16716 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16717 /* end confdefs.h. */
16719 /* Override any GCC internal prototype to avoid an error.
16720 Use char because int might match the return type of a GCC
16721 builtin and then its argument prototype would still apply. */
16722 #ifdef __cplusplus
16723 extern "C"
16724 #endif
16725 char vkGetInstanceProcAddr ();
16727 main ()
16729 return vkGetInstanceProcAddr ();
16731 return 0;
16733 _ACEOF
16734 if ac_fn_c_try_link "$LINENO"; then :
16735 case "$LIBEXT" in
16736 dll) ac_cv_lib_soname_vulkan=`$ac_cv_path_LDD conftest.exe | grep "vulkan" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16737 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'` ;;
16738 *) ac_cv_lib_soname_vulkan=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libvulkan\\.$LIBEXT" | sed -e "s/^.*\\[\\(libvulkan\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16739 if ${ac_cv_lib_soname_vulkan:+false} :; then :
16740 ac_cv_lib_soname_vulkan=`$LDD conftest$ac_exeext | grep "libvulkan\\.$LIBEXT" | sed -e "s/^.*\(libvulkan\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16741 fi ;;
16742 esac
16743 else
16744 ac_cv_lib_soname_vulkan=
16746 rm -f core conftest.err conftest.$ac_objext \
16747 conftest$ac_exeext conftest.$ac_ext
16748 LIBS=$ac_check_soname_save_LIBS
16750 if ${ac_cv_lib_soname_vulkan:+false} :; then :
16751 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16752 $as_echo "not found" >&6; }
16754 else
16755 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_vulkan" >&5
16756 $as_echo "$ac_cv_lib_soname_vulkan" >&6; }
16758 cat >>confdefs.h <<_ACEOF
16759 #define SONAME_LIBVULKAN "$ac_cv_lib_soname_vulkan"
16760 _ACEOF
16764 if test "x$ac_cv_lib_soname_vulkan" = "x"
16765 then
16766 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lMoltenVK" >&5
16767 $as_echo_n "checking for -lMoltenVK... " >&6; }
16768 if ${ac_cv_lib_soname_MoltenVK+:} false; then :
16769 $as_echo_n "(cached) " >&6
16770 else
16771 ac_check_soname_save_LIBS=$LIBS
16772 LIBS="-lMoltenVK $LIBS"
16773 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16774 /* end confdefs.h. */
16776 /* Override any GCC internal prototype to avoid an error.
16777 Use char because int might match the return type of a GCC
16778 builtin and then its argument prototype would still apply. */
16779 #ifdef __cplusplus
16780 extern "C"
16781 #endif
16782 char vkGetInstanceProcAddr ();
16784 main ()
16786 return vkGetInstanceProcAddr ();
16788 return 0;
16790 _ACEOF
16791 if ac_fn_c_try_link "$LINENO"; then :
16792 case "$LIBEXT" in
16793 dll) ac_cv_lib_soname_MoltenVK=`$ac_cv_path_LDD conftest.exe | grep "MoltenVK" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16794 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'` ;;
16795 *) ac_cv_lib_soname_MoltenVK=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libMoltenVK\\.$LIBEXT" | sed -e "s/^.*\\[\\(libMoltenVK\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16796 if ${ac_cv_lib_soname_MoltenVK:+false} :; then :
16797 ac_cv_lib_soname_MoltenVK=`$LDD conftest$ac_exeext | grep "libMoltenVK\\.$LIBEXT" | sed -e "s/^.*\(libMoltenVK\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16798 fi ;;
16799 esac
16800 else
16801 ac_cv_lib_soname_MoltenVK=
16803 rm -f core conftest.err conftest.$ac_objext \
16804 conftest$ac_exeext conftest.$ac_ext
16805 LIBS=$ac_check_soname_save_LIBS
16807 if ${ac_cv_lib_soname_MoltenVK:+false} :; then :
16808 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16809 $as_echo "not found" >&6; }
16811 else
16812 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_MoltenVK" >&5
16813 $as_echo "$ac_cv_lib_soname_MoltenVK" >&6; }
16815 cat >>confdefs.h <<_ACEOF
16816 #define SONAME_LIBMOLTENVK "$ac_cv_lib_soname_MoltenVK"
16817 _ACEOF
16823 if test "x$ac_cv_lib_soname_vulkan" = "x" -a "x$ac_cv_lib_soname_MoltenVK" = "x"; then :
16824 case "x$with_vulkan" in
16825 x) as_fn_append wine_notices "|libvulkan and libMoltenVK ${notice_platform}development files not found, Vulkan won't be supported." ;;
16826 xno) ;;
16827 *) as_fn_error $? "libvulkan and libMoltenVK ${notice_platform}development files not found, Vulkan won't be supported.
16828 This is an error since --with-vulkan was requested." "$LINENO" 5 ;;
16829 esac
16833 if test "x$with_vkd3d" != "xno"
16834 then
16835 if ${VKD3D_CFLAGS:+false} :; then :
16836 if ${PKG_CONFIG+:} false; then :
16837 VKD3D_CFLAGS=`$PKG_CONFIG --cflags libvkd3d 2>/dev/null`
16841 if ${VKD3D_LIBS:+false} :; then :
16842 if ${PKG_CONFIG+:} false; then :
16843 VKD3D_LIBS=`$PKG_CONFIG --libs libvkd3d 2>/dev/null`
16848 $as_echo "$as_me:${as_lineno-$LINENO}: libvkd3d cflags: $VKD3D_CFLAGS" >&5
16849 $as_echo "$as_me:${as_lineno-$LINENO}: libvkd3d libs: $VKD3D_LIBS" >&5
16850 ac_save_CPPFLAGS=$CPPFLAGS
16851 CPPFLAGS="$CPPFLAGS $VKD3D_CFLAGS"
16852 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lvkd3d" >&5
16853 $as_echo_n "checking for -lvkd3d... " >&6; }
16854 if ${ac_cv_lib_soname_vkd3d+:} false; then :
16855 $as_echo_n "(cached) " >&6
16856 else
16857 ac_check_soname_save_LIBS=$LIBS
16858 LIBS="-lvkd3d $VKD3D_LIBS $LIBS"
16859 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16860 /* end confdefs.h. */
16862 /* Override any GCC internal prototype to avoid an error.
16863 Use char because int might match the return type of a GCC
16864 builtin and then its argument prototype would still apply. */
16865 #ifdef __cplusplus
16866 extern "C"
16867 #endif
16868 char vkd3d_serialize_versioned_root_signature ();
16870 main ()
16872 return vkd3d_serialize_versioned_root_signature ();
16874 return 0;
16876 _ACEOF
16877 if ac_fn_c_try_link "$LINENO"; then :
16878 case "$LIBEXT" in
16879 dll) ac_cv_lib_soname_vkd3d=`$ac_cv_path_LDD conftest.exe | grep "vkd3d" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16880 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'` ;;
16881 *) ac_cv_lib_soname_vkd3d=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libvkd3d\\.$LIBEXT" | sed -e "s/^.*\\[\\(libvkd3d\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16882 if ${ac_cv_lib_soname_vkd3d:+false} :; then :
16883 ac_cv_lib_soname_vkd3d=`$LDD conftest$ac_exeext | grep "libvkd3d\\.$LIBEXT" | sed -e "s/^.*\(libvkd3d\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16884 fi ;;
16885 esac
16886 else
16887 ac_cv_lib_soname_vkd3d=
16889 rm -f core conftest.err conftest.$ac_objext \
16890 conftest$ac_exeext conftest.$ac_ext
16891 LIBS=$ac_check_soname_save_LIBS
16893 if ${ac_cv_lib_soname_vkd3d:+false} :; then :
16894 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16895 $as_echo "not found" >&6; }
16897 else
16898 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_vkd3d" >&5
16899 $as_echo "$ac_cv_lib_soname_vkd3d" >&6; }
16901 cat >>confdefs.h <<_ACEOF
16902 #define SONAME_LIBVKD3D "$ac_cv_lib_soname_vkd3d"
16903 _ACEOF
16907 CPPFLAGS=$ac_save_CPPFLAGS
16909 if ${VKD3D_SHADER_CFLAGS:+false} :; then :
16910 if ${PKG_CONFIG+:} false; then :
16911 VKD3D_SHADER_CFLAGS=`$PKG_CONFIG --cflags libvkd3d-shader 2>/dev/null`
16915 if ${VKD3D_SHADER_LIBS:+false} :; then :
16916 if ${PKG_CONFIG+:} false; then :
16917 VKD3D_SHADER_LIBS=`$PKG_CONFIG --libs libvkd3d-shader 2>/dev/null`
16922 $as_echo "$as_me:${as_lineno-$LINENO}: libvkd3d-shader cflags: $VKD3D_SHADER_CFLAGS" >&5
16923 $as_echo "$as_me:${as_lineno-$LINENO}: libvkd3d-shader libs: $VKD3D_SHADER_LIBS" >&5
16924 ac_save_CPPFLAGS=$CPPFLAGS
16925 CPPFLAGS="$CPPFLAGS $VKD3D_SHADER_CFLAGS"
16926 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lvkd3d-shader" >&5
16927 $as_echo_n "checking for -lvkd3d-shader... " >&6; }
16928 if ${ac_cv_lib_soname_vkd3d_shader+:} false; then :
16929 $as_echo_n "(cached) " >&6
16930 else
16931 ac_check_soname_save_LIBS=$LIBS
16932 LIBS="-lvkd3d-shader $VKD3D_SHADER_LIBS $LIBS"
16933 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16934 /* end confdefs.h. */
16936 /* Override any GCC internal prototype to avoid an error.
16937 Use char because int might match the return type of a GCC
16938 builtin and then its argument prototype would still apply. */
16939 #ifdef __cplusplus
16940 extern "C"
16941 #endif
16942 char vkd3d_shader_compile ();
16944 main ()
16946 return vkd3d_shader_compile ();
16948 return 0;
16950 _ACEOF
16951 if ac_fn_c_try_link "$LINENO"; then :
16952 case "$LIBEXT" in
16953 dll) ac_cv_lib_soname_vkd3d_shader=`$ac_cv_path_LDD conftest.exe | grep "vkd3d-shader" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16954 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'` ;;
16955 *) 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'`
16956 if ${ac_cv_lib_soname_vkd3d_shader:+false} :; then :
16957 ac_cv_lib_soname_vkd3d_shader=`$LDD conftest$ac_exeext | grep "libvkd3d-shader\\.$LIBEXT" | sed -e "s/^.*\(libvkd3d-shader\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16958 fi ;;
16959 esac
16960 else
16961 ac_cv_lib_soname_vkd3d_shader=
16963 rm -f core conftest.err conftest.$ac_objext \
16964 conftest$ac_exeext conftest.$ac_ext
16965 LIBS=$ac_check_soname_save_LIBS
16967 if ${ac_cv_lib_soname_vkd3d_shader:+false} :; then :
16968 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16969 $as_echo "not found" >&6; }
16971 else
16972 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_vkd3d_shader" >&5
16973 $as_echo "$ac_cv_lib_soname_vkd3d_shader" >&6; }
16975 cat >>confdefs.h <<_ACEOF
16976 #define SONAME_LIBVKD3D_SHADER "$ac_cv_lib_soname_vkd3d_shader"
16977 _ACEOF
16981 CPPFLAGS=$ac_save_CPPFLAGS
16984 if test "x$ac_cv_lib_soname_vkd3d" = "x"; then :
16985 case "x$with_vkd3d" in
16986 x) as_fn_append wine_notices "|vkd3d ${notice_platform}development files not found (or too old), Direct3D 12 won't be supported." ;;
16987 xno) ;;
16988 *) as_fn_error $? "vkd3d ${notice_platform}development files not found (or too old), Direct3D 12 won't be supported.
16989 This is an error since --with-vkd3d was requested." "$LINENO" 5 ;;
16990 esac
16993 test "x$ac_cv_lib_soname_vkd3d" != "x" || enable_d3d12=${enable_d3d12:-no}
16996 EXTRACFLAGS=""
16998 if test "x${GCC}" = "xyes"
16999 then
17000 EXTRACFLAGS="-Wall -pipe"
17002 saved_CFLAGS=$CFLAGS
17003 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=unknown-warning-option" >&5
17004 $as_echo_n "checking whether the compiler supports -Werror=unknown-warning-option... " >&6; }
17005 if ${ac_cv_cflags__Werror_unknown_warning_option+:} false; then :
17006 $as_echo_n "(cached) " >&6
17007 else
17008 ac_wine_try_cflags_saved=$CFLAGS
17009 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
17010 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17011 /* end confdefs.h. */
17012 int main(int argc, char **argv) { return 0; }
17013 _ACEOF
17014 if ac_fn_c_try_link "$LINENO"; then :
17015 ac_cv_cflags__Werror_unknown_warning_option=yes
17016 else
17017 ac_cv_cflags__Werror_unknown_warning_option=no
17019 rm -f core conftest.err conftest.$ac_objext \
17020 conftest$ac_exeext conftest.$ac_ext
17021 CFLAGS=$ac_wine_try_cflags_saved
17023 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_unknown_warning_option" >&5
17024 $as_echo "$ac_cv_cflags__Werror_unknown_warning_option" >&6; }
17025 if test "x$ac_cv_cflags__Werror_unknown_warning_option" = xyes; then :
17026 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
17028 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=unused-command-line-argument" >&5
17029 $as_echo_n "checking whether the compiler supports -Werror=unused-command-line-argument... " >&6; }
17030 if ${ac_cv_cflags__Werror_unused_command_line_argument+:} false; then :
17031 $as_echo_n "(cached) " >&6
17032 else
17033 ac_wine_try_cflags_saved=$CFLAGS
17034 CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
17035 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17036 /* end confdefs.h. */
17037 int main(int argc, char **argv) { return 0; }
17038 _ACEOF
17039 if ac_fn_c_try_link "$LINENO"; then :
17040 ac_cv_cflags__Werror_unused_command_line_argument=yes
17041 else
17042 ac_cv_cflags__Werror_unused_command_line_argument=no
17044 rm -f core conftest.err conftest.$ac_objext \
17045 conftest$ac_exeext conftest.$ac_ext
17046 CFLAGS=$ac_wine_try_cflags_saved
17048 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_unused_command_line_argument" >&5
17049 $as_echo "$ac_cv_cflags__Werror_unused_command_line_argument" >&6; }
17050 if test "x$ac_cv_cflags__Werror_unused_command_line_argument" = xyes; then :
17051 CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
17053 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=ignored-optimization-argument" >&5
17054 $as_echo_n "checking whether the compiler supports -Werror=ignored-optimization-argument... " >&6; }
17055 if ${ac_cv_cflags__Werror_ignored_optimization_argument+:} false; then :
17056 $as_echo_n "(cached) " >&6
17057 else
17058 ac_wine_try_cflags_saved=$CFLAGS
17059 CFLAGS="$CFLAGS -Werror=ignored-optimization-argument"
17060 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17061 /* end confdefs.h. */
17062 int main(int argc, char **argv) { return 0; }
17063 _ACEOF
17064 if ac_fn_c_try_link "$LINENO"; then :
17065 ac_cv_cflags__Werror_ignored_optimization_argument=yes
17066 else
17067 ac_cv_cflags__Werror_ignored_optimization_argument=no
17069 rm -f core conftest.err conftest.$ac_objext \
17070 conftest$ac_exeext conftest.$ac_ext
17071 CFLAGS=$ac_wine_try_cflags_saved
17073 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_ignored_optimization_argument" >&5
17074 $as_echo "$ac_cv_cflags__Werror_ignored_optimization_argument" >&6; }
17075 if test "x$ac_cv_cflags__Werror_ignored_optimization_argument" = xyes; then :
17076 CFLAGS="$CFLAGS -Werror=ignored-optimization-argument"
17078 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fcf-protection=none" >&5
17079 $as_echo_n "checking whether the compiler supports -fcf-protection=none... " >&6; }
17080 if ${ac_cv_cflags__fcf_protection_none+:} false; then :
17081 $as_echo_n "(cached) " >&6
17082 else
17083 ac_wine_try_cflags_saved=$CFLAGS
17084 CFLAGS="$CFLAGS -fcf-protection=none"
17085 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17086 /* end confdefs.h. */
17087 int main(int argc, char **argv) { return 0; }
17088 _ACEOF
17089 if ac_fn_c_try_link "$LINENO"; then :
17090 ac_cv_cflags__fcf_protection_none=yes
17091 else
17092 ac_cv_cflags__fcf_protection_none=no
17094 rm -f core conftest.err conftest.$ac_objext \
17095 conftest$ac_exeext conftest.$ac_ext
17096 CFLAGS=$ac_wine_try_cflags_saved
17098 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fcf_protection_none" >&5
17099 $as_echo "$ac_cv_cflags__fcf_protection_none" >&6; }
17100 if test "x$ac_cv_cflags__fcf_protection_none" = xyes; then :
17101 EXTRACFLAGS="$EXTRACFLAGS -fcf-protection=none"
17103 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-stack-protector" >&5
17104 $as_echo_n "checking whether the compiler supports -fno-stack-protector... " >&6; }
17105 if ${ac_cv_cflags__fno_stack_protector+:} false; then :
17106 $as_echo_n "(cached) " >&6
17107 else
17108 ac_wine_try_cflags_saved=$CFLAGS
17109 CFLAGS="$CFLAGS -fno-stack-protector"
17110 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17111 /* end confdefs.h. */
17112 int main(int argc, char **argv) { return 0; }
17113 _ACEOF
17114 if ac_fn_c_try_link "$LINENO"; then :
17115 ac_cv_cflags__fno_stack_protector=yes
17116 else
17117 ac_cv_cflags__fno_stack_protector=no
17119 rm -f core conftest.err conftest.$ac_objext \
17120 conftest$ac_exeext conftest.$ac_ext
17121 CFLAGS=$ac_wine_try_cflags_saved
17123 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_stack_protector" >&5
17124 $as_echo "$ac_cv_cflags__fno_stack_protector" >&6; }
17125 if test "x$ac_cv_cflags__fno_stack_protector" = xyes; then :
17126 EXTRACFLAGS="$EXTRACFLAGS -fno-stack-protector"
17128 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-strict-aliasing" >&5
17129 $as_echo_n "checking whether the compiler supports -fno-strict-aliasing... " >&6; }
17130 if ${ac_cv_cflags__fno_strict_aliasing+:} false; then :
17131 $as_echo_n "(cached) " >&6
17132 else
17133 ac_wine_try_cflags_saved=$CFLAGS
17134 CFLAGS="$CFLAGS -fno-strict-aliasing"
17135 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17136 /* end confdefs.h. */
17137 int main(int argc, char **argv) { return 0; }
17138 _ACEOF
17139 if ac_fn_c_try_link "$LINENO"; then :
17140 ac_cv_cflags__fno_strict_aliasing=yes
17141 else
17142 ac_cv_cflags__fno_strict_aliasing=no
17144 rm -f core conftest.err conftest.$ac_objext \
17145 conftest$ac_exeext conftest.$ac_ext
17146 CFLAGS=$ac_wine_try_cflags_saved
17148 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_strict_aliasing" >&5
17149 $as_echo "$ac_cv_cflags__fno_strict_aliasing" >&6; }
17150 if test "x$ac_cv_cflags__fno_strict_aliasing" = xyes; then :
17151 EXTRACFLAGS="$EXTRACFLAGS -fno-strict-aliasing"
17153 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wdeclaration-after-statement" >&5
17154 $as_echo_n "checking whether the compiler supports -Wdeclaration-after-statement... " >&6; }
17155 if ${ac_cv_cflags__Wdeclaration_after_statement+:} false; then :
17156 $as_echo_n "(cached) " >&6
17157 else
17158 ac_wine_try_cflags_saved=$CFLAGS
17159 CFLAGS="$CFLAGS -Wdeclaration-after-statement"
17160 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17161 /* end confdefs.h. */
17162 int main(int argc, char **argv) { return 0; }
17163 _ACEOF
17164 if ac_fn_c_try_link "$LINENO"; then :
17165 ac_cv_cflags__Wdeclaration_after_statement=yes
17166 else
17167 ac_cv_cflags__Wdeclaration_after_statement=no
17169 rm -f core conftest.err conftest.$ac_objext \
17170 conftest$ac_exeext conftest.$ac_ext
17171 CFLAGS=$ac_wine_try_cflags_saved
17173 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wdeclaration_after_statement" >&5
17174 $as_echo "$ac_cv_cflags__Wdeclaration_after_statement" >&6; }
17175 if test "x$ac_cv_cflags__Wdeclaration_after_statement" = xyes; then :
17176 EXTRACFLAGS="$EXTRACFLAGS -Wdeclaration-after-statement"
17178 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wempty-body" >&5
17179 $as_echo_n "checking whether the compiler supports -Wempty-body... " >&6; }
17180 if ${ac_cv_cflags__Wempty_body+:} false; then :
17181 $as_echo_n "(cached) " >&6
17182 else
17183 ac_wine_try_cflags_saved=$CFLAGS
17184 CFLAGS="$CFLAGS -Wempty-body"
17185 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17186 /* end confdefs.h. */
17187 int main(int argc, char **argv) { return 0; }
17188 _ACEOF
17189 if ac_fn_c_try_link "$LINENO"; then :
17190 ac_cv_cflags__Wempty_body=yes
17191 else
17192 ac_cv_cflags__Wempty_body=no
17194 rm -f core conftest.err conftest.$ac_objext \
17195 conftest$ac_exeext conftest.$ac_ext
17196 CFLAGS=$ac_wine_try_cflags_saved
17198 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wempty_body" >&5
17199 $as_echo "$ac_cv_cflags__Wempty_body" >&6; }
17200 if test "x$ac_cv_cflags__Wempty_body" = xyes; then :
17201 EXTRACFLAGS="$EXTRACFLAGS -Wempty-body"
17203 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wignored-qualifiers" >&5
17204 $as_echo_n "checking whether the compiler supports -Wignored-qualifiers... " >&6; }
17205 if ${ac_cv_cflags__Wignored_qualifiers+:} false; then :
17206 $as_echo_n "(cached) " >&6
17207 else
17208 ac_wine_try_cflags_saved=$CFLAGS
17209 CFLAGS="$CFLAGS -Wignored-qualifiers"
17210 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17211 /* end confdefs.h. */
17212 int main(int argc, char **argv) { return 0; }
17213 _ACEOF
17214 if ac_fn_c_try_link "$LINENO"; then :
17215 ac_cv_cflags__Wignored_qualifiers=yes
17216 else
17217 ac_cv_cflags__Wignored_qualifiers=no
17219 rm -f core conftest.err conftest.$ac_objext \
17220 conftest$ac_exeext conftest.$ac_ext
17221 CFLAGS=$ac_wine_try_cflags_saved
17223 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wignored_qualifiers" >&5
17224 $as_echo "$ac_cv_cflags__Wignored_qualifiers" >&6; }
17225 if test "x$ac_cv_cflags__Wignored_qualifiers" = xyes; then :
17226 EXTRACFLAGS="$EXTRACFLAGS -Wignored-qualifiers"
17228 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Winit-self" >&5
17229 $as_echo_n "checking whether the compiler supports -Winit-self... " >&6; }
17230 if ${ac_cv_cflags__Winit_self+:} false; then :
17231 $as_echo_n "(cached) " >&6
17232 else
17233 ac_wine_try_cflags_saved=$CFLAGS
17234 CFLAGS="$CFLAGS -Winit-self"
17235 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17236 /* end confdefs.h. */
17237 int main(int argc, char **argv) { return 0; }
17238 _ACEOF
17239 if ac_fn_c_try_link "$LINENO"; then :
17240 ac_cv_cflags__Winit_self=yes
17241 else
17242 ac_cv_cflags__Winit_self=no
17244 rm -f core conftest.err conftest.$ac_objext \
17245 conftest$ac_exeext conftest.$ac_ext
17246 CFLAGS=$ac_wine_try_cflags_saved
17248 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Winit_self" >&5
17249 $as_echo "$ac_cv_cflags__Winit_self" >&6; }
17250 if test "x$ac_cv_cflags__Winit_self" = xyes; then :
17251 EXTRACFLAGS="$EXTRACFLAGS -Winit-self"
17253 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpacked-not-aligned" >&5
17254 $as_echo_n "checking whether the compiler supports -Wpacked-not-aligned... " >&6; }
17255 if ${ac_cv_cflags__Wpacked_not_aligned+:} false; then :
17256 $as_echo_n "(cached) " >&6
17257 else
17258 ac_wine_try_cflags_saved=$CFLAGS
17259 CFLAGS="$CFLAGS -Wpacked-not-aligned"
17260 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17261 /* end confdefs.h. */
17262 int main(int argc, char **argv) { return 0; }
17263 _ACEOF
17264 if ac_fn_c_try_link "$LINENO"; then :
17265 ac_cv_cflags__Wpacked_not_aligned=yes
17266 else
17267 ac_cv_cflags__Wpacked_not_aligned=no
17269 rm -f core conftest.err conftest.$ac_objext \
17270 conftest$ac_exeext conftest.$ac_ext
17271 CFLAGS=$ac_wine_try_cflags_saved
17273 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpacked_not_aligned" >&5
17274 $as_echo "$ac_cv_cflags__Wpacked_not_aligned" >&6; }
17275 if test "x$ac_cv_cflags__Wpacked_not_aligned" = xyes; then :
17276 EXTRACFLAGS="$EXTRACFLAGS -Wno-packed-not-aligned"
17278 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpragma-pack" >&5
17279 $as_echo_n "checking whether the compiler supports -Wpragma-pack... " >&6; }
17280 if ${ac_cv_cflags__Wpragma_pack+:} false; then :
17281 $as_echo_n "(cached) " >&6
17282 else
17283 ac_wine_try_cflags_saved=$CFLAGS
17284 CFLAGS="$CFLAGS -Wpragma-pack"
17285 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17286 /* end confdefs.h. */
17287 int main(int argc, char **argv) { return 0; }
17288 _ACEOF
17289 if ac_fn_c_try_link "$LINENO"; then :
17290 ac_cv_cflags__Wpragma_pack=yes
17291 else
17292 ac_cv_cflags__Wpragma_pack=no
17294 rm -f core conftest.err conftest.$ac_objext \
17295 conftest$ac_exeext conftest.$ac_ext
17296 CFLAGS=$ac_wine_try_cflags_saved
17298 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpragma_pack" >&5
17299 $as_echo "$ac_cv_cflags__Wpragma_pack" >&6; }
17300 if test "x$ac_cv_cflags__Wpragma_pack" = xyes; then :
17301 EXTRACFLAGS="$EXTRACFLAGS -Wno-pragma-pack"
17303 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wshift-overflow=2" >&5
17304 $as_echo_n "checking whether the compiler supports -Wshift-overflow=2... " >&6; }
17305 if ${ac_cv_cflags__Wshift_overflow_2+:} false; then :
17306 $as_echo_n "(cached) " >&6
17307 else
17308 ac_wine_try_cflags_saved=$CFLAGS
17309 CFLAGS="$CFLAGS -Wshift-overflow=2"
17310 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17311 /* end confdefs.h. */
17312 int main(int argc, char **argv) { return 0; }
17313 _ACEOF
17314 if ac_fn_c_try_link "$LINENO"; then :
17315 ac_cv_cflags__Wshift_overflow_2=yes
17316 else
17317 ac_cv_cflags__Wshift_overflow_2=no
17319 rm -f core conftest.err conftest.$ac_objext \
17320 conftest$ac_exeext conftest.$ac_ext
17321 CFLAGS=$ac_wine_try_cflags_saved
17323 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wshift_overflow_2" >&5
17324 $as_echo "$ac_cv_cflags__Wshift_overflow_2" >&6; }
17325 if test "x$ac_cv_cflags__Wshift_overflow_2" = xyes; then :
17326 EXTRACFLAGS="$EXTRACFLAGS -Wshift-overflow=2"
17328 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wstrict-prototypes" >&5
17329 $as_echo_n "checking whether the compiler supports -Wstrict-prototypes... " >&6; }
17330 if ${ac_cv_cflags__Wstrict_prototypes+:} false; then :
17331 $as_echo_n "(cached) " >&6
17332 else
17333 ac_wine_try_cflags_saved=$CFLAGS
17334 CFLAGS="$CFLAGS -Wstrict-prototypes"
17335 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17336 /* end confdefs.h. */
17337 int main(int argc, char **argv) { return 0; }
17338 _ACEOF
17339 if ac_fn_c_try_link "$LINENO"; then :
17340 ac_cv_cflags__Wstrict_prototypes=yes
17341 else
17342 ac_cv_cflags__Wstrict_prototypes=no
17344 rm -f core conftest.err conftest.$ac_objext \
17345 conftest$ac_exeext conftest.$ac_ext
17346 CFLAGS=$ac_wine_try_cflags_saved
17348 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wstrict_prototypes" >&5
17349 $as_echo "$ac_cv_cflags__Wstrict_prototypes" >&6; }
17350 if test "x$ac_cv_cflags__Wstrict_prototypes" = xyes; then :
17351 EXTRACFLAGS="$EXTRACFLAGS -Wstrict-prototypes"
17353 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wtype-limits" >&5
17354 $as_echo_n "checking whether the compiler supports -Wtype-limits... " >&6; }
17355 if ${ac_cv_cflags__Wtype_limits+:} false; then :
17356 $as_echo_n "(cached) " >&6
17357 else
17358 ac_wine_try_cflags_saved=$CFLAGS
17359 CFLAGS="$CFLAGS -Wtype-limits"
17360 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17361 /* end confdefs.h. */
17362 int main(int argc, char **argv) { return 0; }
17363 _ACEOF
17364 if ac_fn_c_try_link "$LINENO"; then :
17365 ac_cv_cflags__Wtype_limits=yes
17366 else
17367 ac_cv_cflags__Wtype_limits=no
17369 rm -f core conftest.err conftest.$ac_objext \
17370 conftest$ac_exeext conftest.$ac_ext
17371 CFLAGS=$ac_wine_try_cflags_saved
17373 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wtype_limits" >&5
17374 $as_echo "$ac_cv_cflags__Wtype_limits" >&6; }
17375 if test "x$ac_cv_cflags__Wtype_limits" = xyes; then :
17376 EXTRACFLAGS="$EXTRACFLAGS -Wtype-limits"
17378 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wunused-but-set-parameter" >&5
17379 $as_echo_n "checking whether the compiler supports -Wunused-but-set-parameter... " >&6; }
17380 if ${ac_cv_cflags__Wunused_but_set_parameter+:} false; then :
17381 $as_echo_n "(cached) " >&6
17382 else
17383 ac_wine_try_cflags_saved=$CFLAGS
17384 CFLAGS="$CFLAGS -Wunused-but-set-parameter"
17385 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17386 /* end confdefs.h. */
17387 int main(int argc, char **argv) { return 0; }
17388 _ACEOF
17389 if ac_fn_c_try_link "$LINENO"; then :
17390 ac_cv_cflags__Wunused_but_set_parameter=yes
17391 else
17392 ac_cv_cflags__Wunused_but_set_parameter=no
17394 rm -f core conftest.err conftest.$ac_objext \
17395 conftest$ac_exeext conftest.$ac_ext
17396 CFLAGS=$ac_wine_try_cflags_saved
17398 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wunused_but_set_parameter" >&5
17399 $as_echo "$ac_cv_cflags__Wunused_but_set_parameter" >&6; }
17400 if test "x$ac_cv_cflags__Wunused_but_set_parameter" = xyes; then :
17401 EXTRACFLAGS="$EXTRACFLAGS -Wunused-but-set-parameter"
17403 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wvla" >&5
17404 $as_echo_n "checking whether the compiler supports -Wvla... " >&6; }
17405 if ${ac_cv_cflags__Wvla+:} false; then :
17406 $as_echo_n "(cached) " >&6
17407 else
17408 ac_wine_try_cflags_saved=$CFLAGS
17409 CFLAGS="$CFLAGS -Wvla"
17410 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17411 /* end confdefs.h. */
17412 int main(int argc, char **argv) { return 0; }
17413 _ACEOF
17414 if ac_fn_c_try_link "$LINENO"; then :
17415 ac_cv_cflags__Wvla=yes
17416 else
17417 ac_cv_cflags__Wvla=no
17419 rm -f core conftest.err conftest.$ac_objext \
17420 conftest$ac_exeext conftest.$ac_ext
17421 CFLAGS=$ac_wine_try_cflags_saved
17423 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wvla" >&5
17424 $as_echo "$ac_cv_cflags__Wvla" >&6; }
17425 if test "x$ac_cv_cflags__Wvla" = xyes; then :
17426 EXTRACFLAGS="$EXTRACFLAGS -Wvla"
17428 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wwrite-strings" >&5
17429 $as_echo_n "checking whether the compiler supports -Wwrite-strings... " >&6; }
17430 if ${ac_cv_cflags__Wwrite_strings+:} false; then :
17431 $as_echo_n "(cached) " >&6
17432 else
17433 ac_wine_try_cflags_saved=$CFLAGS
17434 CFLAGS="$CFLAGS -Wwrite-strings"
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__Wwrite_strings=yes
17441 else
17442 ac_cv_cflags__Wwrite_strings=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__Wwrite_strings" >&5
17449 $as_echo "$ac_cv_cflags__Wwrite_strings" >&6; }
17450 if test "x$ac_cv_cflags__Wwrite_strings" = xyes; then :
17451 EXTRACFLAGS="$EXTRACFLAGS -Wwrite-strings"
17454 if test -z "$CROSSTARGET"
17455 then
17456 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fexcess-precision=standard" >&5
17457 $as_echo_n "checking whether the compiler supports -fexcess-precision=standard... " >&6; }
17458 if ${ac_cv_cflags__fexcess_precision_standard+:} false; then :
17459 $as_echo_n "(cached) " >&6
17460 else
17461 ac_wine_try_cflags_saved=$CFLAGS
17462 CFLAGS="$CFLAGS -fexcess-precision=standard"
17463 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17464 /* end confdefs.h. */
17465 int main(int argc, char **argv) { return 0; }
17466 _ACEOF
17467 if ac_fn_c_try_link "$LINENO"; then :
17468 ac_cv_cflags__fexcess_precision_standard=yes
17469 else
17470 ac_cv_cflags__fexcess_precision_standard=no
17472 rm -f core conftest.err conftest.$ac_objext \
17473 conftest$ac_exeext conftest.$ac_ext
17474 CFLAGS=$ac_wine_try_cflags_saved
17476 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fexcess_precision_standard" >&5
17477 $as_echo "$ac_cv_cflags__fexcess_precision_standard" >&6; }
17478 if test "x$ac_cv_cflags__fexcess_precision_standard" = xyes; then :
17479 EXCESS_PRECISION_CFLAGS="-fexcess-precision=standard"
17484 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpointer-arith" >&5
17485 $as_echo_n "checking whether the compiler supports -Wpointer-arith... " >&6; }
17486 if ${ac_cv_cflags__Wpointer_arith+:} false; then :
17487 $as_echo_n "(cached) " >&6
17488 else
17489 ac_wine_try_cflags_saved=$CFLAGS
17490 CFLAGS="$CFLAGS -Wpointer-arith"
17491 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17492 /* end confdefs.h. */
17493 int main(int argc, char **argv) { return 0; }
17494 _ACEOF
17495 if ac_fn_c_try_link "$LINENO"; then :
17496 ac_cv_cflags__Wpointer_arith=yes
17497 else
17498 ac_cv_cflags__Wpointer_arith=no
17500 rm -f core conftest.err conftest.$ac_objext \
17501 conftest$ac_exeext conftest.$ac_ext
17502 CFLAGS=$ac_wine_try_cflags_saved
17504 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpointer_arith" >&5
17505 $as_echo "$ac_cv_cflags__Wpointer_arith" >&6; }
17506 if test "x$ac_cv_cflags__Wpointer_arith" = xyes; then :
17507 saved_string_h_CFLAGS=$CFLAGS
17508 CFLAGS="$CFLAGS -Wpointer-arith -Werror"
17509 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wpointer-arith" >&5
17510 $as_echo_n "checking for broken string.h that generates warnings with -Wpointer-arith... " >&6; }
17511 if ${ac_cv_c_string_h_warnings+:} false; then :
17512 $as_echo_n "(cached) " >&6
17513 else
17514 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17515 /* end confdefs.h. */
17516 #include <string.h>
17518 main ()
17522 return 0;
17524 _ACEOF
17525 if ac_fn_c_try_compile "$LINENO"; then :
17526 ac_cv_c_string_h_warnings=no
17527 else
17528 ac_cv_c_string_h_warnings=yes
17530 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17532 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_string_h_warnings" >&5
17533 $as_echo "$ac_cv_c_string_h_warnings" >&6; }
17534 test "$ac_cv_c_string_h_warnings" = yes || EXTRACFLAGS="$EXTRACFLAGS -Wpointer-arith"
17535 CFLAGS=$saved_string_h_CFLAGS
17538 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wlogical-op" >&5
17539 $as_echo_n "checking whether the compiler supports -Wlogical-op... " >&6; }
17540 if ${ac_cv_cflags__Wlogical_op+:} false; then :
17541 $as_echo_n "(cached) " >&6
17542 else
17543 ac_wine_try_cflags_saved=$CFLAGS
17544 CFLAGS="$CFLAGS -Wlogical-op"
17545 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17546 /* end confdefs.h. */
17547 int main(int argc, char **argv) { return 0; }
17548 _ACEOF
17549 if ac_fn_c_try_link "$LINENO"; then :
17550 ac_cv_cflags__Wlogical_op=yes
17551 else
17552 ac_cv_cflags__Wlogical_op=no
17554 rm -f core conftest.err conftest.$ac_objext \
17555 conftest$ac_exeext conftest.$ac_ext
17556 CFLAGS=$ac_wine_try_cflags_saved
17558 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wlogical_op" >&5
17559 $as_echo "$ac_cv_cflags__Wlogical_op" >&6; }
17560 if test "x$ac_cv_cflags__Wlogical_op" = xyes; then :
17561 saved_string_h_CFLAGS=$CFLAGS
17562 CFLAGS="$CFLAGS -Wlogical-op -Werror"
17563 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wlogical-op" >&5
17564 $as_echo_n "checking for broken string.h that generates warnings with -Wlogical-op... " >&6; }
17565 if ${ac_cv_c_logicalop_noisy+:} false; then :
17566 $as_echo_n "(cached) " >&6
17567 else
17568 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17569 /* end confdefs.h. */
17570 #include <string.h>
17571 char*f(const char *h,char n) {return strchr(h,n);}
17573 main ()
17577 return 0;
17579 _ACEOF
17580 if ac_fn_c_try_compile "$LINENO"; then :
17581 ac_cv_c_logicalop_noisy=no
17582 else
17583 ac_cv_c_logicalop_noisy=yes
17585 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17587 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_logicalop_noisy" >&5
17588 $as_echo "$ac_cv_c_logicalop_noisy" >&6; }
17589 CFLAGS=$saved_string_h_CFLAGS
17590 test "$ac_cv_c_logicalop_noisy" = yes || EXTRACFLAGS="$EXTRACFLAGS -Wlogical-op"
17593 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for flags needed for 64-bit compare-and-swap support" >&5
17594 $as_echo_n "checking for flags needed for 64-bit compare-and-swap support... " >&6; }
17595 if ${wine_cv_64bit_compare_swap+:} false; then :
17596 $as_echo_n "(cached) " >&6
17597 else
17598 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17599 /* end confdefs.h. */
17600 #ifndef __GCC_HAVE_SYNC_COMPARE_AND_SWAP_8
17601 #error no
17602 #endif
17604 main ()
17608 return 0;
17610 _ACEOF
17611 if ac_fn_c_try_compile "$LINENO"; then :
17612 wine_cv_64bit_compare_swap="none needed"
17613 else
17614 case $host_cpu in
17615 *i[3456]86*) wine_cv_64bit_compare_swap="-march=i586" ;;
17616 *arm*) wine_cv_64bit_compare_swap="-march=armv7-a" ;;
17617 *) wine_cv_64bit_compare_swap="unknown" ;;
17618 esac
17619 if test "x$wine_cv_64bit_compare_swap" != xunknown
17620 then
17621 CFLAGS="$CFLAGS $wine_cv_64bit_compare_swap"
17622 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17623 /* end confdefs.h. */
17624 #ifndef __GCC_HAVE_SYNC_COMPARE_AND_SWAP_8
17625 #error no
17626 #endif
17628 main ()
17632 return 0;
17634 _ACEOF
17635 if ac_fn_c_try_compile "$LINENO"; then :
17637 else
17638 wine_cv_64bit_compare_swap="unknown"
17640 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17641 CFLAGS=$saved_CFLAGS
17644 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17646 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_64bit_compare_swap" >&5
17647 $as_echo "$wine_cv_64bit_compare_swap" >&6; }
17648 case "$wine_cv_64bit_compare_swap" in
17649 unknown) as_fn_error $? "gcc doesn't support 64-bit compare-and-swap on this platform" "$LINENO" 5 ;;
17650 "none needed") ;;
17651 *) EXTRACFLAGS="$EXTRACFLAGS $wine_cv_64bit_compare_swap" ;;
17652 esac
17654 for ac_flag in $CFLAGS; do
17655 case $ac_flag in
17656 -g) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gdwarf-2" >&5
17657 $as_echo_n "checking whether the compiler supports -gdwarf-2... " >&6; }
17658 if ${ac_cv_cflags__gdwarf_2+:} false; then :
17659 $as_echo_n "(cached) " >&6
17660 else
17661 ac_wine_try_cflags_saved=$CFLAGS
17662 CFLAGS="$CFLAGS -gdwarf-2"
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__gdwarf_2=yes
17669 else
17670 ac_cv_cflags__gdwarf_2=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__gdwarf_2" >&5
17677 $as_echo "$ac_cv_cflags__gdwarf_2" >&6; }
17678 if test "x$ac_cv_cflags__gdwarf_2" = xyes; then :
17679 EXTRACFLAGS="$EXTRACFLAGS -gdwarf-2"
17681 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gstrict-dwarf" >&5
17682 $as_echo_n "checking whether the compiler supports -gstrict-dwarf... " >&6; }
17683 if ${ac_cv_cflags__gstrict_dwarf+:} false; then :
17684 $as_echo_n "(cached) " >&6
17685 else
17686 ac_wine_try_cflags_saved=$CFLAGS
17687 CFLAGS="$CFLAGS -gstrict-dwarf"
17688 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17689 /* end confdefs.h. */
17690 int main(int argc, char **argv) { return 0; }
17691 _ACEOF
17692 if ac_fn_c_try_link "$LINENO"; then :
17693 ac_cv_cflags__gstrict_dwarf=yes
17694 else
17695 ac_cv_cflags__gstrict_dwarf=no
17697 rm -f core conftest.err conftest.$ac_objext \
17698 conftest$ac_exeext conftest.$ac_ext
17699 CFLAGS=$ac_wine_try_cflags_saved
17701 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gstrict_dwarf" >&5
17702 $as_echo "$ac_cv_cflags__gstrict_dwarf" >&6; }
17703 if test "x$ac_cv_cflags__gstrict_dwarf" = xyes; then :
17704 EXTRACFLAGS="$EXTRACFLAGS -gstrict-dwarf"
17705 fi ;;
17706 esac
17707 done
17709 MSVCRTFLAGS=""
17711 case $host_os in
17712 mingw32*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-delayload,autoconftest.dll" >&5
17713 $as_echo_n "checking whether the compiler supports -Wl,-delayload,autoconftest.dll... " >&6; }
17714 if ${ac_cv_cflags__Wl__delayload_autoconftest_dll+:} false; then :
17715 $as_echo_n "(cached) " >&6
17716 else
17717 ac_wine_try_cflags_saved=$CFLAGS
17718 CFLAGS="$CFLAGS -Wl,-delayload,autoconftest.dll"
17719 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17720 /* end confdefs.h. */
17721 int main(int argc, char **argv) { return 0; }
17722 _ACEOF
17723 if ac_fn_c_try_link "$LINENO"; then :
17724 ac_cv_cflags__Wl__delayload_autoconftest_dll=yes
17725 else
17726 ac_cv_cflags__Wl__delayload_autoconftest_dll=no
17728 rm -f core conftest.err conftest.$ac_objext \
17729 conftest$ac_exeext conftest.$ac_ext
17730 CFLAGS=$ac_wine_try_cflags_saved
17732 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__delayload_autoconftest_dll" >&5
17733 $as_echo "$ac_cv_cflags__Wl__delayload_autoconftest_dll" >&6; }
17734 if test "x$ac_cv_cflags__Wl__delayload_autoconftest_dll" = xyes; then :
17735 DELAYLOADFLAG="-Wl,-delayload,"
17737 fi ;;
17738 *) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-builtin" >&5
17739 $as_echo_n "checking whether the compiler supports -fno-builtin... " >&6; }
17740 if ${ac_cv_cflags__fno_builtin+:} false; then :
17741 $as_echo_n "(cached) " >&6
17742 else
17743 ac_wine_try_cflags_saved=$CFLAGS
17744 CFLAGS="$CFLAGS -fno-builtin"
17745 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17746 /* end confdefs.h. */
17747 int main(int argc, char **argv) { return 0; }
17748 _ACEOF
17749 if ac_fn_c_try_link "$LINENO"; then :
17750 ac_cv_cflags__fno_builtin=yes
17751 else
17752 ac_cv_cflags__fno_builtin=no
17754 rm -f core conftest.err conftest.$ac_objext \
17755 conftest$ac_exeext conftest.$ac_ext
17756 CFLAGS=$ac_wine_try_cflags_saved
17758 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_builtin" >&5
17759 $as_echo "$ac_cv_cflags__fno_builtin" >&6; }
17760 if test "x$ac_cv_cflags__fno_builtin" = xyes; then :
17761 MSVCRTFLAGS="$MSVCRTFLAGS -fno-builtin"
17763 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fshort-wchar" >&5
17764 $as_echo_n "checking whether the compiler supports -fshort-wchar... " >&6; }
17765 if ${ac_cv_cflags__fshort_wchar+:} false; then :
17766 $as_echo_n "(cached) " >&6
17767 else
17768 ac_wine_try_cflags_saved=$CFLAGS
17769 CFLAGS="$CFLAGS -fshort-wchar"
17770 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17771 /* end confdefs.h. */
17772 int main(int argc, char **argv) { return 0; }
17773 _ACEOF
17774 if ac_fn_c_try_link "$LINENO"; then :
17775 ac_cv_cflags__fshort_wchar=yes
17776 else
17777 ac_cv_cflags__fshort_wchar=no
17779 rm -f core conftest.err conftest.$ac_objext \
17780 conftest$ac_exeext conftest.$ac_ext
17781 CFLAGS=$ac_wine_try_cflags_saved
17783 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fshort_wchar" >&5
17784 $as_echo "$ac_cv_cflags__fshort_wchar" >&6; }
17785 if test "x$ac_cv_cflags__fshort_wchar" = xyes; then :
17786 MSVCRTFLAGS="$MSVCRTFLAGS -fshort-wchar"
17787 fi ;;
17788 esac
17790 case $host_cpu in
17791 *i[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-omit-frame-pointer" >&5
17792 $as_echo_n "checking whether the compiler supports -fno-omit-frame-pointer... " >&6; }
17793 if ${ac_cv_cflags__fno_omit_frame_pointer+:} false; then :
17794 $as_echo_n "(cached) " >&6
17795 else
17796 ac_wine_try_cflags_saved=$CFLAGS
17797 CFLAGS="$CFLAGS -fno-omit-frame-pointer"
17798 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17799 /* end confdefs.h. */
17800 int main(int argc, char **argv) { return 0; }
17801 _ACEOF
17802 if ac_fn_c_try_link "$LINENO"; then :
17803 ac_cv_cflags__fno_omit_frame_pointer=yes
17804 else
17805 ac_cv_cflags__fno_omit_frame_pointer=no
17807 rm -f core conftest.err conftest.$ac_objext \
17808 conftest$ac_exeext conftest.$ac_ext
17809 CFLAGS=$ac_wine_try_cflags_saved
17811 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_omit_frame_pointer" >&5
17812 $as_echo "$ac_cv_cflags__fno_omit_frame_pointer" >&6; }
17813 if test "x$ac_cv_cflags__fno_omit_frame_pointer" = xyes; then :
17814 EXTRACFLAGS="$EXTRACFLAGS -fno-omit-frame-pointer"
17815 fi ;;
17816 *x86_64*)
17817 case $host_os in
17818 cygwin*|mingw32*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wno-format" >&5
17819 $as_echo_n "checking whether the compiler supports -Wno-format... " >&6; }
17820 if ${ac_cv_cflags__Wno_format+:} false; then :
17821 $as_echo_n "(cached) " >&6
17822 else
17823 ac_wine_try_cflags_saved=$CFLAGS
17824 CFLAGS="$CFLAGS -Wno-format"
17825 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17826 /* end confdefs.h. */
17827 int main(int argc, char **argv) { return 0; }
17828 _ACEOF
17829 if ac_fn_c_try_link "$LINENO"; then :
17830 ac_cv_cflags__Wno_format=yes
17831 else
17832 ac_cv_cflags__Wno_format=no
17834 rm -f core conftest.err conftest.$ac_objext \
17835 conftest$ac_exeext conftest.$ac_ext
17836 CFLAGS=$ac_wine_try_cflags_saved
17838 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wno_format" >&5
17839 $as_echo "$ac_cv_cflags__Wno_format" >&6; }
17840 if test "x$ac_cv_cflags__Wno_format" = xyes; then :
17841 EXTRACFLAGS="$EXTRACFLAGS -Wno-format"
17842 fi ;;
17843 *) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -mabi=ms" >&5
17844 $as_echo_n "checking whether the compiler supports -mabi=ms... " >&6; }
17845 if ${ac_cv_cflags__mabi_ms+:} false; then :
17846 $as_echo_n "(cached) " >&6
17847 else
17848 ac_wine_try_cflags_saved=$CFLAGS
17849 CFLAGS="$CFLAGS -mabi=ms"
17850 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17851 /* end confdefs.h. */
17852 int main(int argc, char **argv) { return 0; }
17853 _ACEOF
17854 if ac_fn_c_try_link "$LINENO"; then :
17855 ac_cv_cflags__mabi_ms=yes
17856 else
17857 ac_cv_cflags__mabi_ms=no
17859 rm -f core conftest.err conftest.$ac_objext \
17860 conftest$ac_exeext conftest.$ac_ext
17861 CFLAGS=$ac_wine_try_cflags_saved
17863 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__mabi_ms" >&5
17864 $as_echo "$ac_cv_cflags__mabi_ms" >&6; }
17865 if test "x$ac_cv_cflags__mabi_ms" = xyes; then :
17866 MSVCRTFLAGS="$MSVCRTFLAGS -mabi=ms"
17867 fi ;;
17868 esac ;;
17869 esac
17871 CFLAGS=$saved_CFLAGS
17873 if test "x$enable_werror" = "xyes"
17874 then
17875 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror" >&5
17876 $as_echo_n "checking whether the compiler supports -Werror... " >&6; }
17877 if ${ac_cv_cflags__Werror+:} false; then :
17878 $as_echo_n "(cached) " >&6
17879 else
17880 ac_wine_try_cflags_saved=$CFLAGS
17881 CFLAGS="$CFLAGS -Werror"
17882 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17883 /* end confdefs.h. */
17884 int main(int argc, char **argv) { return 0; }
17885 _ACEOF
17886 if ac_fn_c_try_link "$LINENO"; then :
17887 ac_cv_cflags__Werror=yes
17888 else
17889 ac_cv_cflags__Werror=no
17891 rm -f core conftest.err conftest.$ac_objext \
17892 conftest$ac_exeext conftest.$ac_ext
17893 CFLAGS=$ac_wine_try_cflags_saved
17895 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror" >&5
17896 $as_echo "$ac_cv_cflags__Werror" >&6; }
17897 if test "x$ac_cv_cflags__Werror" = xyes; then :
17898 EXTRACFLAGS="$EXTRACFLAGS -Werror"
17901 if test "x$enable_build_id" = "xyes"
17902 then
17903 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--build-id" >&5
17904 $as_echo_n "checking whether the compiler supports -Wl,--build-id... " >&6; }
17905 if ${ac_cv_cflags__Wl___build_id+:} false; then :
17906 $as_echo_n "(cached) " >&6
17907 else
17908 ac_wine_try_cflags_saved=$CFLAGS
17909 CFLAGS="$CFLAGS -Wl,--build-id"
17910 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17911 /* end confdefs.h. */
17912 int main(int argc, char **argv) { return 0; }
17913 _ACEOF
17914 if ac_fn_c_try_link "$LINENO"; then :
17915 ac_cv_cflags__Wl___build_id=yes
17916 else
17917 ac_cv_cflags__Wl___build_id=no
17919 rm -f core conftest.err conftest.$ac_objext \
17920 conftest$ac_exeext conftest.$ac_ext
17921 CFLAGS=$ac_wine_try_cflags_saved
17923 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___build_id" >&5
17924 $as_echo "$ac_cv_cflags__Wl___build_id" >&6; }
17925 if test "x$ac_cv_cflags__Wl___build_id" = xyes; then :
17926 CFLAGS="$CFLAGS -Wl,--build-id"
17927 LDFLAGS="$LDFLAGS -Wl,--build-id"
17933 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the need to disable Fortify" >&5
17934 $as_echo_n "checking for the need to disable Fortify... " >&6; }
17935 if ${ac_cv_c_fortify_enabled+:} false; then :
17936 $as_echo_n "(cached) " >&6
17937 else
17938 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17939 /* end confdefs.h. */
17940 #include <string.h>
17942 main ()
17944 #if (defined(__USE_FORTIFY_LEVEL) && __USE_FORTIFY_LEVEL > 0) || (defined(_FORTIFY_SOURCE) && _FORTIFY_SOURCE > 0)
17945 #error Fortify enabled
17946 #endif
17948 return 0;
17950 _ACEOF
17951 if ac_fn_c_try_compile "$LINENO"; then :
17952 ac_cv_c_fortify_enabled=no
17953 else
17954 ac_cv_c_fortify_enabled=yes
17956 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17958 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_fortify_enabled" >&5
17959 $as_echo "$ac_cv_c_fortify_enabled" >&6; }
17960 if test "$ac_cv_c_fortify_enabled" = yes
17961 then
17962 CFLAGS="$CFLAGS -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=0"
17966 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether CFI directives are supported in assembly code" >&5
17967 $as_echo_n "checking whether CFI directives are supported in assembly code... " >&6; }
17968 if ${ac_cv_c_cfi_support+:} false; then :
17969 $as_echo_n "(cached) " >&6
17970 else
17971 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17972 /* end confdefs.h. */
17973 asm(".text\nac_test:\t.cfi_startproc\n\t.long 0\n\t.cfi_endproc");
17975 main ()
17979 return 0;
17981 _ACEOF
17982 if ac_fn_c_try_compile "$LINENO"; then :
17983 ac_cv_c_cfi_support="yes"
17984 else
17985 ac_cv_c_cfi_support="no"
17987 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17989 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_cfi_support" >&5
17990 $as_echo "$ac_cv_c_cfi_support" >&6; }
17991 if test "$ac_cv_c_cfi_support" = "yes"
17992 then
17993 DLLFLAGS="$DLLFLAGS -fasynchronous-unwind-tables"
17994 LDDLLFLAGS="$LDDLLFLAGS -fasynchronous-unwind-tables"
17995 else
17996 if test "x$enable_win64" = "xyes"
17997 then
17998 as_fn_append wine_warnings "|building 64-bit Wine without support for CFI directives; exception handling will not work properly."
18003 case $build_os in
18004 cygwin*|mingw32*) TOOLSEXT=".exe"
18006 esac
18008 case $host_os in
18009 linux*)
18010 case $host_cpu in
18011 *i[3456789]86*|x86_64*|*aarch64*)
18012 test "$wine_binary" = wine || wine_fn_append_file CONFIGURE_TARGETS "loader/wine-preloader"
18013 WINELOADER_PROGRAMS="$WINELOADER_PROGRAMS $wine_binary-preloader"
18015 esac
18017 esac
18020 ac_save_CFLAGS="$CFLAGS"
18021 CFLAGS="$CFLAGS $BUILTINFLAG"
18022 for ac_func in \
18023 __res_get_state \
18024 __res_getservers \
18025 _spawnvp \
18026 epoll_create \
18027 fnmatch \
18028 fork \
18029 fstatfs \
18030 futimens \
18031 futimes \
18032 futimesat \
18033 getattrlist \
18034 getauxval \
18035 getifaddrs \
18036 getopt_long_only \
18037 getrandom \
18038 kqueue \
18039 lstat \
18040 mach_continuous_time \
18041 pipe2 \
18042 poll \
18043 port_create \
18044 prctl \
18045 pread \
18046 proc_pidinfo \
18047 pwrite \
18048 readlink \
18049 sched_yield \
18050 setproctitle \
18051 setprogname \
18052 sigprocmask \
18053 symlink \
18054 tcdrain \
18055 thr_kill2
18057 do :
18058 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
18059 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
18060 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
18061 cat >>confdefs.h <<_ACEOF
18062 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
18063 _ACEOF
18066 done
18068 CFLAGS="$ac_save_CFLAGS"
18070 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing dlopen" >&5
18071 $as_echo_n "checking for library containing dlopen... " >&6; }
18072 if ${ac_cv_search_dlopen+:} false; then :
18073 $as_echo_n "(cached) " >&6
18074 else
18075 ac_func_search_save_LIBS=$LIBS
18076 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18077 /* end confdefs.h. */
18079 /* Override any GCC internal prototype to avoid an error.
18080 Use char because int might match the return type of a GCC
18081 builtin and then its argument prototype would still apply. */
18082 #ifdef __cplusplus
18083 extern "C"
18084 #endif
18085 char dlopen ();
18087 main ()
18089 return dlopen ();
18091 return 0;
18093 _ACEOF
18094 for ac_lib in '' dl; do
18095 if test -z "$ac_lib"; then
18096 ac_res="none required"
18097 else
18098 ac_res=-l$ac_lib
18099 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
18101 if ac_fn_c_try_link "$LINENO"; then :
18102 ac_cv_search_dlopen=$ac_res
18104 rm -f core conftest.err conftest.$ac_objext \
18105 conftest$ac_exeext
18106 if ${ac_cv_search_dlopen+:} false; then :
18107 break
18109 done
18110 if ${ac_cv_search_dlopen+:} false; then :
18112 else
18113 ac_cv_search_dlopen=no
18115 rm conftest.$ac_ext
18116 LIBS=$ac_func_search_save_LIBS
18118 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_dlopen" >&5
18119 $as_echo "$ac_cv_search_dlopen" >&6; }
18120 ac_res=$ac_cv_search_dlopen
18121 if test "$ac_res" != no; then :
18122 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
18126 ac_wine_check_funcs_save_LIBS="$LIBS"
18127 LIBS="$LIBS $DL_LIBS"
18128 for ac_func in dladdr dlinfo
18129 do :
18130 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
18131 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
18132 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
18133 cat >>confdefs.h <<_ACEOF
18134 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
18135 _ACEOF
18138 done
18140 LIBS="$ac_wine_check_funcs_save_LIBS"
18142 if test "$ac_cv_func_poll" = no
18143 then
18144 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for poll in -lpoll" >&5
18145 $as_echo_n "checking for poll in -lpoll... " >&6; }
18146 if ${ac_cv_lib_poll_poll+:} false; then :
18147 $as_echo_n "(cached) " >&6
18148 else
18149 ac_check_lib_save_LIBS=$LIBS
18150 LIBS="-lpoll $LIBS"
18151 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18152 /* end confdefs.h. */
18154 /* Override any GCC internal prototype to avoid an error.
18155 Use char because int might match the return type of a GCC
18156 builtin and then its argument prototype would still apply. */
18157 #ifdef __cplusplus
18158 extern "C"
18159 #endif
18160 char poll ();
18162 main ()
18164 return poll ();
18166 return 0;
18168 _ACEOF
18169 if ac_fn_c_try_link "$LINENO"; then :
18170 ac_cv_lib_poll_poll=yes
18171 else
18172 ac_cv_lib_poll_poll=no
18174 rm -f core conftest.err conftest.$ac_objext \
18175 conftest$ac_exeext conftest.$ac_ext
18176 LIBS=$ac_check_lib_save_LIBS
18178 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_poll_poll" >&5
18179 $as_echo "$ac_cv_lib_poll_poll" >&6; }
18180 if test "x$ac_cv_lib_poll_poll" = xyes; then :
18181 $as_echo "#define HAVE_POLL 1" >>confdefs.h
18182 POLL_LIBS="-lpoll"
18188 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing gethostbyname" >&5
18189 $as_echo_n "checking for library containing gethostbyname... " >&6; }
18190 if ${ac_cv_search_gethostbyname+:} false; then :
18191 $as_echo_n "(cached) " >&6
18192 else
18193 ac_func_search_save_LIBS=$LIBS
18194 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18195 /* end confdefs.h. */
18197 /* Override any GCC internal prototype to avoid an error.
18198 Use char because int might match the return type of a GCC
18199 builtin and then its argument prototype would still apply. */
18200 #ifdef __cplusplus
18201 extern "C"
18202 #endif
18203 char gethostbyname ();
18205 main ()
18207 return gethostbyname ();
18209 return 0;
18211 _ACEOF
18212 for ac_lib in '' nsl; do
18213 if test -z "$ac_lib"; then
18214 ac_res="none required"
18215 else
18216 ac_res=-l$ac_lib
18217 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
18219 if ac_fn_c_try_link "$LINENO"; then :
18220 ac_cv_search_gethostbyname=$ac_res
18222 rm -f core conftest.err conftest.$ac_objext \
18223 conftest$ac_exeext
18224 if ${ac_cv_search_gethostbyname+:} false; then :
18225 break
18227 done
18228 if ${ac_cv_search_gethostbyname+:} false; then :
18230 else
18231 ac_cv_search_gethostbyname=no
18233 rm conftest.$ac_ext
18234 LIBS=$ac_func_search_save_LIBS
18236 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gethostbyname" >&5
18237 $as_echo "$ac_cv_search_gethostbyname" >&6; }
18238 ac_res=$ac_cv_search_gethostbyname
18239 if test "$ac_res" != no; then :
18240 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
18245 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing connect" >&5
18246 $as_echo_n "checking for library containing connect... " >&6; }
18247 if ${ac_cv_search_connect+:} false; then :
18248 $as_echo_n "(cached) " >&6
18249 else
18250 ac_func_search_save_LIBS=$LIBS
18251 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18252 /* end confdefs.h. */
18254 /* Override any GCC internal prototype to avoid an error.
18255 Use char because int might match the return type of a GCC
18256 builtin and then its argument prototype would still apply. */
18257 #ifdef __cplusplus
18258 extern "C"
18259 #endif
18260 char connect ();
18262 main ()
18264 return connect ();
18266 return 0;
18268 _ACEOF
18269 for ac_lib in '' socket; do
18270 if test -z "$ac_lib"; then
18271 ac_res="none required"
18272 else
18273 ac_res=-l$ac_lib
18274 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
18276 if ac_fn_c_try_link "$LINENO"; then :
18277 ac_cv_search_connect=$ac_res
18279 rm -f core conftest.err conftest.$ac_objext \
18280 conftest$ac_exeext
18281 if ${ac_cv_search_connect+:} false; then :
18282 break
18284 done
18285 if ${ac_cv_search_connect+:} false; then :
18287 else
18288 ac_cv_search_connect=no
18290 rm conftest.$ac_ext
18291 LIBS=$ac_func_search_save_LIBS
18293 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_connect" >&5
18294 $as_echo "$ac_cv_search_connect" >&6; }
18295 ac_res=$ac_cv_search_connect
18296 if test "$ac_res" != no; then :
18297 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
18302 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing inet_aton" >&5
18303 $as_echo_n "checking for library containing inet_aton... " >&6; }
18304 if ${ac_cv_search_inet_aton+:} false; then :
18305 $as_echo_n "(cached) " >&6
18306 else
18307 ac_func_search_save_LIBS=$LIBS
18308 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18309 /* end confdefs.h. */
18311 /* Override any GCC internal prototype to avoid an error.
18312 Use char because int might match the return type of a GCC
18313 builtin and then its argument prototype would still apply. */
18314 #ifdef __cplusplus
18315 extern "C"
18316 #endif
18317 char inet_aton ();
18319 main ()
18321 return inet_aton ();
18323 return 0;
18325 _ACEOF
18326 for ac_lib in '' resolv; do
18327 if test -z "$ac_lib"; then
18328 ac_res="none required"
18329 else
18330 ac_res=-l$ac_lib
18331 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
18333 if ac_fn_c_try_link "$LINENO"; then :
18334 ac_cv_search_inet_aton=$ac_res
18336 rm -f core conftest.err conftest.$ac_objext \
18337 conftest$ac_exeext
18338 if ${ac_cv_search_inet_aton+:} false; then :
18339 break
18341 done
18342 if ${ac_cv_search_inet_aton+:} false; then :
18344 else
18345 ac_cv_search_inet_aton=no
18347 rm conftest.$ac_ext
18348 LIBS=$ac_func_search_save_LIBS
18350 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_inet_aton" >&5
18351 $as_echo "$ac_cv_search_inet_aton" >&6; }
18352 ac_res=$ac_cv_search_inet_aton
18353 if test "$ac_res" != no; then :
18354 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
18359 for ac_func in \
18360 getaddrinfo \
18361 getnameinfo \
18362 getservbyport \
18364 do :
18365 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
18366 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
18367 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
18368 cat >>confdefs.h <<_ACEOF
18369 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
18370 _ACEOF
18373 done
18376 case $host_os in
18377 darwin*|macosx*) ;;
18378 *) ac_save_LIBS=$LIBS
18379 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
18380 $as_echo_n "checking for library containing clock_gettime... " >&6; }
18381 if ${ac_cv_search_clock_gettime+:} false; then :
18382 $as_echo_n "(cached) " >&6
18383 else
18384 ac_func_search_save_LIBS=$LIBS
18385 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18386 /* end confdefs.h. */
18388 /* Override any GCC internal prototype to avoid an error.
18389 Use char because int might match the return type of a GCC
18390 builtin and then its argument prototype would still apply. */
18391 #ifdef __cplusplus
18392 extern "C"
18393 #endif
18394 char clock_gettime ();
18396 main ()
18398 return clock_gettime ();
18400 return 0;
18402 _ACEOF
18403 for ac_lib in '' rt; do
18404 if test -z "$ac_lib"; then
18405 ac_res="none required"
18406 else
18407 ac_res=-l$ac_lib
18408 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
18410 if ac_fn_c_try_link "$LINENO"; then :
18411 ac_cv_search_clock_gettime=$ac_res
18413 rm -f core conftest.err conftest.$ac_objext \
18414 conftest$ac_exeext
18415 if ${ac_cv_search_clock_gettime+:} false; then :
18416 break
18418 done
18419 if ${ac_cv_search_clock_gettime+:} false; then :
18421 else
18422 ac_cv_search_clock_gettime=no
18424 rm conftest.$ac_ext
18425 LIBS=$ac_func_search_save_LIBS
18427 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
18428 $as_echo "$ac_cv_search_clock_gettime" >&6; }
18429 ac_res=$ac_cv_search_clock_gettime
18430 if test "$ac_res" != no; then :
18431 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
18433 $as_echo "#define HAVE_CLOCK_GETTIME 1" >>confdefs.h
18435 test "$ac_res" = "none required" || RT_LIBS="$ac_res"
18439 LIBS=$ac_save_LIBS
18441 esac
18443 if test "x$with_ldap" != "xno"
18444 then
18445 if ${LDAP_CFLAGS:+false} :; then :
18446 if ${PKG_CONFIG+:} false; then :
18447 LDAP_CFLAGS=`$PKG_CONFIG --cflags openldap 2>/dev/null`
18451 if ${LDAP_LIBS:+false} :; then :
18452 if ${PKG_CONFIG+:} false; then :
18453 LDAP_LIBS=`$PKG_CONFIG --libs openldap 2>/dev/null`
18457 LDAP_LIBS=${LDAP_LIBS:-"-lldap_r -llber"}
18458 $as_echo "$as_me:${as_lineno-$LINENO}: openldap cflags: $LDAP_CFLAGS" >&5
18459 $as_echo "$as_me:${as_lineno-$LINENO}: openldap libs: $LDAP_LIBS" >&5
18460 ac_save_CPPFLAGS=$CPPFLAGS
18461 CPPFLAGS="$CPPFLAGS $LDAP_CFLAGS"
18462 for ac_header in ldap.h lber.h
18463 do :
18464 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
18465 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
18466 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
18467 cat >>confdefs.h <<_ACEOF
18468 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
18469 _ACEOF
18473 done
18475 if test "$ac_cv_header_ldap_h" = "yes" -a "$ac_cv_header_lber_h" = "yes"
18476 then
18477 ac_fn_c_check_type "$LINENO" "LDAPSortKey" "ac_cv_type_LDAPSortKey" "#include <ldap.h>
18479 if test "x$ac_cv_type_LDAPSortKey" = xyes; then :
18480 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldap_initialize in -lldap_r" >&5
18481 $as_echo_n "checking for ldap_initialize in -lldap_r... " >&6; }
18482 if ${ac_cv_lib_ldap_r_ldap_initialize+:} false; then :
18483 $as_echo_n "(cached) " >&6
18484 else
18485 ac_check_lib_save_LIBS=$LIBS
18486 LIBS="-lldap_r $PTHREAD_LIBS $LDAP_LIBS $LIBS"
18487 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18488 /* end confdefs.h. */
18490 /* Override any GCC internal prototype to avoid an error.
18491 Use char because int might match the return type of a GCC
18492 builtin and then its argument prototype would still apply. */
18493 #ifdef __cplusplus
18494 extern "C"
18495 #endif
18496 char ldap_initialize ();
18498 main ()
18500 return ldap_initialize ();
18502 return 0;
18504 _ACEOF
18505 if ac_fn_c_try_link "$LINENO"; then :
18506 ac_cv_lib_ldap_r_ldap_initialize=yes
18507 else
18508 ac_cv_lib_ldap_r_ldap_initialize=no
18510 rm -f core conftest.err conftest.$ac_objext \
18511 conftest$ac_exeext conftest.$ac_ext
18512 LIBS=$ac_check_lib_save_LIBS
18514 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ldap_r_ldap_initialize" >&5
18515 $as_echo "$ac_cv_lib_ldap_r_ldap_initialize" >&6; }
18516 if test "x$ac_cv_lib_ldap_r_ldap_initialize" = xyes; then :
18517 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ber_init in -llber" >&5
18518 $as_echo_n "checking for ber_init in -llber... " >&6; }
18519 if ${ac_cv_lib_lber_ber_init+:} false; then :
18520 $as_echo_n "(cached) " >&6
18521 else
18522 ac_check_lib_save_LIBS=$LIBS
18523 LIBS="-llber $PTHREAD_LIBS $LDAP_LIBS $LIBS"
18524 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18525 /* end confdefs.h. */
18527 /* Override any GCC internal prototype to avoid an error.
18528 Use char because int might match the return type of a GCC
18529 builtin and then its argument prototype would still apply. */
18530 #ifdef __cplusplus
18531 extern "C"
18532 #endif
18533 char ber_init ();
18535 main ()
18537 return ber_init ();
18539 return 0;
18541 _ACEOF
18542 if ac_fn_c_try_link "$LINENO"; then :
18543 ac_cv_lib_lber_ber_init=yes
18544 else
18545 ac_cv_lib_lber_ber_init=no
18547 rm -f core conftest.err conftest.$ac_objext \
18548 conftest$ac_exeext conftest.$ac_ext
18549 LIBS=$ac_check_lib_save_LIBS
18551 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lber_ber_init" >&5
18552 $as_echo "$ac_cv_lib_lber_ber_init" >&6; }
18553 if test "x$ac_cv_lib_lber_ber_init" = xyes; then :
18555 $as_echo "#define HAVE_LDAP 1" >>confdefs.h
18557 else
18558 LDAP_LIBS=""
18561 else
18562 LDAP_LIBS=""
18565 else
18566 LDAP_LIBS=""
18569 ac_wine_check_funcs_save_LIBS="$LIBS"
18570 LIBS="$LIBS $LDAP_LIBS $PTHREAD_LIBS"
18571 for ac_func in \
18572 ldap_count_references \
18573 ldap_first_reference \
18574 ldap_next_reference \
18575 ldap_parse_reference \
18576 ldap_parse_sort_control \
18577 ldap_parse_sortresponse_control \
18578 ldap_parse_vlv_control \
18579 ldap_parse_vlvresponse_control
18580 do :
18581 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
18582 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
18583 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
18584 cat >>confdefs.h <<_ACEOF
18585 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
18586 _ACEOF
18589 done
18591 LIBS="$ac_wine_check_funcs_save_LIBS"
18592 else
18593 LDAP_LIBS=""
18595 CPPFLAGS=$ac_save_CPPFLAGS
18598 if test "x$LDAP_LIBS" = "x"; then :
18599 case "x$with_ldap" in
18600 x) as_fn_append wine_notices "|libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported." ;;
18601 xno) ;;
18602 *) as_fn_error $? "libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported.
18603 This is an error since --with-ldap was requested." "$LINENO" 5 ;;
18604 esac
18608 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sched_setaffinity" >&5
18609 $as_echo_n "checking for sched_setaffinity... " >&6; }
18610 if ${wine_cv_have_sched_setaffinity+:} false; then :
18611 $as_echo_n "(cached) " >&6
18612 else
18613 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18614 /* end confdefs.h. */
18615 #define _GNU_SOURCE
18616 #include <sched.h>
18618 main ()
18620 sched_setaffinity(0, 0, 0);
18622 return 0;
18624 _ACEOF
18625 if ac_fn_c_try_link "$LINENO"; then :
18626 wine_cv_have_sched_setaffinity=yes
18627 else
18628 wine_cv_have_sched_setaffinity=no
18630 rm -f core conftest.err conftest.$ac_objext \
18631 conftest$ac_exeext conftest.$ac_ext
18633 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sched_setaffinity" >&5
18634 $as_echo "$wine_cv_have_sched_setaffinity" >&6; }
18635 if test "$wine_cv_have_sched_setaffinity" = "yes"
18636 then
18638 $as_echo "#define HAVE_SCHED_SETAFFINITY 1" >>confdefs.h
18642 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fallocate" >&5
18643 $as_echo_n "checking for fallocate... " >&6; }
18644 if ${wine_cv_have_fallocate+:} false; then :
18645 $as_echo_n "(cached) " >&6
18646 else
18647 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18648 /* end confdefs.h. */
18649 #define _GNU_SOURCE
18650 #include <fcntl.h>
18652 main ()
18654 fallocate(-1, 0, 0, 0);
18656 return 0;
18658 _ACEOF
18659 if ac_fn_c_try_link "$LINENO"; then :
18660 wine_cv_have_fallocate=yes
18661 else
18662 wine_cv_have_fallocate=no
18664 rm -f core conftest.err conftest.$ac_objext \
18665 conftest$ac_exeext conftest.$ac_ext
18667 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_fallocate" >&5
18668 $as_echo "$wine_cv_have_fallocate" >&6; }
18669 if test "$wine_cv_have_fallocate" = "yes"
18670 then
18672 $as_echo "#define HAVE_FALLOCATE 1" >>confdefs.h
18677 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
18678 $as_echo_n "checking for inline... " >&6; }
18679 if ${ac_cv_c_inline+:} false; then :
18680 $as_echo_n "(cached) " >&6
18681 else
18682 ac_cv_c_inline=no
18683 for ac_kw in inline __inline__ __inline; do
18684 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18685 /* end confdefs.h. */
18686 #ifndef __cplusplus
18687 typedef int foo_t;
18688 static $ac_kw foo_t static_foo () {return 0; }
18689 $ac_kw foo_t foo () {return 0; }
18690 #endif
18692 _ACEOF
18693 if ac_fn_c_try_compile "$LINENO"; then :
18694 ac_cv_c_inline=$ac_kw
18696 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18697 test "$ac_cv_c_inline" != no && break
18698 done
18701 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
18702 $as_echo "$ac_cv_c_inline" >&6; }
18704 case $ac_cv_c_inline in
18705 inline | yes) ;;
18707 case $ac_cv_c_inline in
18708 no) ac_val=;;
18709 *) ac_val=$ac_cv_c_inline;;
18710 esac
18711 cat >>confdefs.h <<_ACEOF
18712 #ifndef __cplusplus
18713 #define inline $ac_val
18714 #endif
18715 _ACEOF
18717 esac
18719 ac_fn_c_check_type "$LINENO" "sigset_t" "ac_cv_type_sigset_t" "#include <sys/types.h>
18720 #include <signal.h>
18722 if test "x$ac_cv_type_sigset_t" = xyes; then :
18724 cat >>confdefs.h <<_ACEOF
18725 #define HAVE_SIGSET_T 1
18726 _ACEOF
18731 ac_fn_c_check_type "$LINENO" "request_sense" "ac_cv_type_request_sense" "#include <linux/cdrom.h>
18733 if test "x$ac_cv_type_request_sense" = xyes; then :
18735 cat >>confdefs.h <<_ACEOF
18736 #define HAVE_REQUEST_SENSE 1
18737 _ACEOF
18743 ac_fn_c_check_type "$LINENO" "struct xinpgen" "ac_cv_type_struct_xinpgen" "#include <sys/types.h>
18744 #ifdef HAVE_SYS_SOCKET_H
18745 #include <sys/socket.h>
18746 #endif
18747 #ifdef HAVE_SYS_SOCKETVAR_H
18748 #include <sys/socketvar.h>
18749 #endif
18750 #ifdef HAVE_NET_ROUTE_H
18751 #include <net/route.h>
18752 #endif
18753 #ifdef HAVE_NETINET_IN_H
18754 #include <netinet/in.h>
18755 #endif
18756 #ifdef HAVE_NETINET_IN_SYSTM_H
18757 #include <netinet/in_systm.h>
18758 #endif
18759 #ifdef HAVE_NETINET_IP_H
18760 #include <netinet/ip.h>
18761 #endif
18762 #ifdef HAVE_NETINET_IN_PCB_H
18763 #include <netinet/in_pcb.h>
18764 #endif
18766 if test "x$ac_cv_type_struct_xinpgen" = xyes; then :
18768 cat >>confdefs.h <<_ACEOF
18769 #define HAVE_STRUCT_XINPGEN 1
18770 _ACEOF
18776 ac_fn_c_check_member "$LINENO" "struct ff_effect" "direction" "ac_cv_member_struct_ff_effect_direction" "#ifdef HAVE_LINUX_INPUT_H
18777 #include <linux/input.h>
18778 #endif
18780 if test "x$ac_cv_member_struct_ff_effect_direction" = xyes; then :
18782 cat >>confdefs.h <<_ACEOF
18783 #define HAVE_STRUCT_FF_EFFECT_DIRECTION 1
18784 _ACEOF
18790 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for if_nameindex" >&5
18791 $as_echo_n "checking for if_nameindex... " >&6; }
18792 if ${wine_cv_have_if_nameindex+:} false; then :
18793 $as_echo_n "(cached) " >&6
18794 else
18795 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18796 /* end confdefs.h. */
18797 #ifdef HAVE_SYS_TYPES_H
18798 #include <sys/types.h>
18799 #endif
18800 #ifdef HAVE_SYS_SOCKET_H
18801 #include <sys/socket.h>
18802 #endif
18803 #ifdef HAVE_NET_IF_H
18804 # include <net/if.h>
18805 #endif
18807 main ()
18809 struct if_nameindex *p = if_nameindex(); return p->if_index;
18811 return 0;
18813 _ACEOF
18814 if ac_fn_c_try_link "$LINENO"; then :
18815 wine_cv_have_if_nameindex=yes
18816 else
18817 wine_cv_have_if_nameindex=no
18819 rm -f core conftest.err conftest.$ac_objext \
18820 conftest$ac_exeext conftest.$ac_ext
18822 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_if_nameindex" >&5
18823 $as_echo "$wine_cv_have_if_nameindex" >&6; }
18824 if test "$wine_cv_have_if_nameindex" = "yes"
18825 then
18827 $as_echo "#define HAVE_IF_NAMEINDEX 1" >>confdefs.h
18831 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sigaddset" >&5
18832 $as_echo_n "checking for sigaddset... " >&6; }
18833 if ${wine_cv_have_sigaddset+:} false; then :
18834 $as_echo_n "(cached) " >&6
18835 else
18836 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18837 /* end confdefs.h. */
18838 #include <signal.h>
18840 main ()
18842 sigset_t set; sigaddset(&set,SIGTERM);
18844 return 0;
18846 _ACEOF
18847 if ac_fn_c_try_link "$LINENO"; then :
18848 wine_cv_have_sigaddset=yes
18849 else
18850 wine_cv_have_sigaddset=no
18852 rm -f core conftest.err conftest.$ac_objext \
18853 conftest$ac_exeext conftest.$ac_ext
18855 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sigaddset" >&5
18856 $as_echo "$wine_cv_have_sigaddset" >&6; }
18857 if test "$wine_cv_have_sigaddset" = "yes"
18858 then
18860 $as_echo "#define HAVE_SIGADDSET 1" >>confdefs.h
18865 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can use re-entrant gethostbyname_r Linux style" >&5
18866 $as_echo_n "checking whether we can use re-entrant gethostbyname_r Linux style... " >&6; }
18867 if ${wine_cv_linux_gethostbyname_r_6+:} false; then :
18868 $as_echo_n "(cached) " >&6
18869 else
18870 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18871 /* end confdefs.h. */
18872 #include <netdb.h>
18874 main ()
18877 char *name=0;
18878 struct hostent he;
18879 struct hostent *result;
18880 char *buf=0;
18881 int bufsize=0;
18882 int errnr;
18883 char *addr=0;
18884 int addrlen=0;
18885 int addrtype=0;
18886 gethostbyname_r(name,&he,buf,bufsize,&result,&errnr);
18887 gethostbyaddr_r(addr, addrlen, addrtype,&he,buf,bufsize,&result,&errnr);
18890 return 0;
18892 _ACEOF
18893 if ac_fn_c_try_link "$LINENO"; then :
18894 wine_cv_linux_gethostbyname_r_6=yes
18895 else
18896 wine_cv_linux_gethostbyname_r_6=no
18899 rm -f core conftest.err conftest.$ac_objext \
18900 conftest$ac_exeext conftest.$ac_ext
18903 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_gethostbyname_r_6" >&5
18904 $as_echo "$wine_cv_linux_gethostbyname_r_6" >&6; }
18905 if test "$wine_cv_linux_gethostbyname_r_6" = "yes"
18906 then
18908 $as_echo "#define HAVE_LINUX_GETHOSTBYNAME_R_6 1" >>confdefs.h
18912 if test "$ac_cv_header_linux_joystick_h" = "yes"
18913 then
18914 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether linux/joystick.h uses the Linux 2.2+ API" >&5
18915 $as_echo_n "checking whether linux/joystick.h uses the Linux 2.2+ API... " >&6; }
18916 if ${wine_cv_linux_joystick_22_api+:} false; then :
18917 $as_echo_n "(cached) " >&6
18918 else
18919 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18920 /* end confdefs.h. */
18922 #include <sys/ioctl.h>
18923 #include <sys/types.h>
18924 #include <linux/joystick.h>
18926 struct js_event blub;
18927 #if !defined(JS_EVENT_AXIS) || !defined(JS_EVENT_BUTTON)
18928 #error "no 2.2 header"
18929 #endif
18932 main ()
18934 /*empty*/
18936 return 0;
18938 _ACEOF
18939 if ac_fn_c_try_compile "$LINENO"; then :
18940 wine_cv_linux_joystick_22_api=yes
18941 else
18942 wine_cv_linux_joystick_22_api=no
18944 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18947 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_joystick_22_api" >&5
18948 $as_echo "$wine_cv_linux_joystick_22_api" >&6; }
18949 if test "$wine_cv_linux_joystick_22_api" = "yes"
18950 then
18952 $as_echo "#define HAVE_LINUX_22_JOYSTICK_API 1" >>confdefs.h
18957 ac_fn_c_check_member "$LINENO" "struct msghdr" "msg_accrights" "ac_cv_member_struct_msghdr_msg_accrights" "#include <sys/types.h>
18958 #ifdef HAVE_SYS_SOCKET_H
18959 # include <sys/socket.h>
18960 #endif
18961 #ifdef HAVE_SYS_UN_H
18962 # include <sys/un.h>
18963 #endif
18965 if test "x$ac_cv_member_struct_msghdr_msg_accrights" = xyes; then :
18967 cat >>confdefs.h <<_ACEOF
18968 #define HAVE_STRUCT_MSGHDR_MSG_ACCRIGHTS 1
18969 _ACEOF
18973 ac_fn_c_check_member "$LINENO" "struct sockaddr" "sa_len" "ac_cv_member_struct_sockaddr_sa_len" "#include <sys/types.h>
18974 #ifdef HAVE_SYS_SOCKET_H
18975 # include <sys/socket.h>
18976 #endif
18977 #ifdef HAVE_SYS_UN_H
18978 # include <sys/un.h>
18979 #endif
18981 if test "x$ac_cv_member_struct_sockaddr_sa_len" = xyes; then :
18983 cat >>confdefs.h <<_ACEOF
18984 #define HAVE_STRUCT_SOCKADDR_SA_LEN 1
18985 _ACEOF
18989 ac_fn_c_check_member "$LINENO" "struct sockaddr_un" "sun_len" "ac_cv_member_struct_sockaddr_un_sun_len" "#include <sys/types.h>
18990 #ifdef HAVE_SYS_SOCKET_H
18991 # include <sys/socket.h>
18992 #endif
18993 #ifdef HAVE_SYS_UN_H
18994 # include <sys/un.h>
18995 #endif
18997 if test "x$ac_cv_member_struct_sockaddr_un_sun_len" = xyes; then :
18999 cat >>confdefs.h <<_ACEOF
19000 #define HAVE_STRUCT_SOCKADDR_UN_SUN_LEN 1
19001 _ACEOF
19007 ac_fn_c_check_member "$LINENO" "scsireq_t" "cmd" "ac_cv_member_scsireq_t_cmd" "#include <sys/types.h>
19008 #ifdef HAVE_SCSI_SG_H
19009 #include <scsi/sg.h>
19010 #endif
19012 if test "x$ac_cv_member_scsireq_t_cmd" = xyes; then :
19014 cat >>confdefs.h <<_ACEOF
19015 #define HAVE_SCSIREQ_T_CMD 1
19016 _ACEOF
19020 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>
19021 #ifdef HAVE_SCSI_SG_H
19022 #include <scsi/sg.h>
19023 #endif
19025 if test "x$ac_cv_member_sg_io_hdr_t_interface_id" = xyes; then :
19027 cat >>confdefs.h <<_ACEOF
19028 #define HAVE_SG_IO_HDR_T_INTERFACE_ID 1
19029 _ACEOF
19035 ac_fn_c_check_member "$LINENO" "siginfo_t" "si_fd" "ac_cv_member_siginfo_t_si_fd" "#include <signal.h>
19037 if test "x$ac_cv_member_siginfo_t_si_fd" = xyes; then :
19039 cat >>confdefs.h <<_ACEOF
19040 #define HAVE_SIGINFO_T_SI_FD 1
19041 _ACEOF
19047 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_blksiz" "ac_cv_member_struct_mtget_mt_blksiz" "#include <sys/types.h>
19048 #ifdef HAVE_SYS_MTIO_H
19049 #include <sys/mtio.h>
19050 #endif
19052 if test "x$ac_cv_member_struct_mtget_mt_blksiz" = xyes; then :
19054 cat >>confdefs.h <<_ACEOF
19055 #define HAVE_STRUCT_MTGET_MT_BLKSIZ 1
19056 _ACEOF
19060 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_gstat" "ac_cv_member_struct_mtget_mt_gstat" "#include <sys/types.h>
19061 #ifdef HAVE_SYS_MTIO_H
19062 #include <sys/mtio.h>
19063 #endif
19065 if test "x$ac_cv_member_struct_mtget_mt_gstat" = xyes; then :
19067 cat >>confdefs.h <<_ACEOF
19068 #define HAVE_STRUCT_MTGET_MT_GSTAT 1
19069 _ACEOF
19073 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_blkno" "ac_cv_member_struct_mtget_mt_blkno" "#include <sys/types.h>
19074 #ifdef HAVE_SYS_MTIO_H
19075 #include <sys/mtio.h>
19076 #endif
19078 if test "x$ac_cv_member_struct_mtget_mt_blkno" = xyes; then :
19080 cat >>confdefs.h <<_ACEOF
19081 #define HAVE_STRUCT_MTGET_MT_BLKNO 1
19082 _ACEOF
19088 ac_fn_c_check_member "$LINENO" "struct option" "name" "ac_cv_member_struct_option_name" "#ifdef HAVE_GETOPT_H
19089 #include <getopt.h>
19090 #endif
19092 if test "x$ac_cv_member_struct_option_name" = xyes; then :
19094 cat >>confdefs.h <<_ACEOF
19095 #define HAVE_STRUCT_OPTION_NAME 1
19096 _ACEOF
19102 ac_fn_c_check_member "$LINENO" "struct stat" "st_blocks" "ac_cv_member_struct_stat_st_blocks" "$ac_includes_default"
19103 if test "x$ac_cv_member_struct_stat_st_blocks" = xyes; then :
19105 cat >>confdefs.h <<_ACEOF
19106 #define HAVE_STRUCT_STAT_ST_BLOCKS 1
19107 _ACEOF
19111 ac_fn_c_check_member "$LINENO" "struct stat" "st_mtim" "ac_cv_member_struct_stat_st_mtim" "$ac_includes_default"
19112 if test "x$ac_cv_member_struct_stat_st_mtim" = xyes; then :
19114 cat >>confdefs.h <<_ACEOF
19115 #define HAVE_STRUCT_STAT_ST_MTIM 1
19116 _ACEOF
19120 ac_fn_c_check_member "$LINENO" "struct stat" "st_mtimespec" "ac_cv_member_struct_stat_st_mtimespec" "$ac_includes_default"
19121 if test "x$ac_cv_member_struct_stat_st_mtimespec" = xyes; then :
19123 cat >>confdefs.h <<_ACEOF
19124 #define HAVE_STRUCT_STAT_ST_MTIMESPEC 1
19125 _ACEOF
19129 ac_fn_c_check_member "$LINENO" "struct stat" "st_ctim" "ac_cv_member_struct_stat_st_ctim" "$ac_includes_default"
19130 if test "x$ac_cv_member_struct_stat_st_ctim" = xyes; then :
19132 cat >>confdefs.h <<_ACEOF
19133 #define HAVE_STRUCT_STAT_ST_CTIM 1
19134 _ACEOF
19138 ac_fn_c_check_member "$LINENO" "struct stat" "st_ctimespec" "ac_cv_member_struct_stat_st_ctimespec" "$ac_includes_default"
19139 if test "x$ac_cv_member_struct_stat_st_ctimespec" = xyes; then :
19141 cat >>confdefs.h <<_ACEOF
19142 #define HAVE_STRUCT_STAT_ST_CTIMESPEC 1
19143 _ACEOF
19147 ac_fn_c_check_member "$LINENO" "struct stat" "st_atim" "ac_cv_member_struct_stat_st_atim" "$ac_includes_default"
19148 if test "x$ac_cv_member_struct_stat_st_atim" = xyes; then :
19150 cat >>confdefs.h <<_ACEOF
19151 #define HAVE_STRUCT_STAT_ST_ATIM 1
19152 _ACEOF
19156 ac_fn_c_check_member "$LINENO" "struct stat" "st_atimespec" "ac_cv_member_struct_stat_st_atimespec" "$ac_includes_default"
19157 if test "x$ac_cv_member_struct_stat_st_atimespec" = xyes; then :
19159 cat >>confdefs.h <<_ACEOF
19160 #define HAVE_STRUCT_STAT_ST_ATIMESPEC 1
19161 _ACEOF
19165 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtime" "ac_cv_member_struct_stat_st_birthtime" "$ac_includes_default"
19166 if test "x$ac_cv_member_struct_stat_st_birthtime" = xyes; then :
19168 cat >>confdefs.h <<_ACEOF
19169 #define HAVE_STRUCT_STAT_ST_BIRTHTIME 1
19170 _ACEOF
19174 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtim" "ac_cv_member_struct_stat_st_birthtim" "$ac_includes_default"
19175 if test "x$ac_cv_member_struct_stat_st_birthtim" = xyes; then :
19177 cat >>confdefs.h <<_ACEOF
19178 #define HAVE_STRUCT_STAT_ST_BIRTHTIM 1
19179 _ACEOF
19183 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtimespec" "ac_cv_member_struct_stat_st_birthtimespec" "$ac_includes_default"
19184 if test "x$ac_cv_member_struct_stat_st_birthtimespec" = xyes; then :
19186 cat >>confdefs.h <<_ACEOF
19187 #define HAVE_STRUCT_STAT_ST_BIRTHTIMESPEC 1
19188 _ACEOF
19192 ac_fn_c_check_member "$LINENO" "struct stat" "__st_birthtime" "ac_cv_member_struct_stat___st_birthtime" "$ac_includes_default"
19193 if test "x$ac_cv_member_struct_stat___st_birthtime" = xyes; then :
19195 cat >>confdefs.h <<_ACEOF
19196 #define HAVE_STRUCT_STAT___ST_BIRTHTIME 1
19197 _ACEOF
19201 ac_fn_c_check_member "$LINENO" "struct stat" "__st_birthtim" "ac_cv_member_struct_stat___st_birthtim" "$ac_includes_default"
19202 if test "x$ac_cv_member_struct_stat___st_birthtim" = xyes; then :
19204 cat >>confdefs.h <<_ACEOF
19205 #define HAVE_STRUCT_STAT___ST_BIRTHTIM 1
19206 _ACEOF
19212 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
19213 #include <sys/types.h>
19214 #endif
19215 #ifdef HAVE_NETINET_IN_H
19216 #include <netinet/in.h>
19217 #endif
19219 if test "x$ac_cv_member_struct_sockaddr_in6_sin6_scope_id" = xyes; then :
19221 cat >>confdefs.h <<_ACEOF
19222 #define HAVE_STRUCT_SOCKADDR_IN6_SIN6_SCOPE_ID 1
19223 _ACEOF
19229 ac_fn_c_check_type "$LINENO" "struct __res_state" "ac_cv_type_struct___res_state" "#ifdef HAVE_SYS_TYPES_H
19230 #include <sys/types.h>
19231 #endif
19232 #ifdef HAVE_NETINET_IN_H
19233 #include <netinet/in.h>
19234 #endif
19235 #ifdef HAVE_RESOLV_H
19236 #include <resolv.h>
19237 #endif
19239 if test "x$ac_cv_type_struct___res_state" = xyes; then :
19241 cat >>confdefs.h <<_ACEOF
19242 #define HAVE_STRUCT___RES_STATE 1
19243 _ACEOF
19249 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
19250 #include <resolv.h>
19251 #endif
19253 if test "x$ac_cv_member_struct___res_state__u__ext_nscount6" = xyes; then :
19255 cat >>confdefs.h <<_ACEOF
19256 #define HAVE_STRUCT___RES_STATE__U__EXT_NSCOUNT6 1
19257 _ACEOF
19263 ac_fn_c_check_member "$LINENO" "ns_msg" "_msg_ptr" "ac_cv_member_ns_msg__msg_ptr" "#ifdef HAVE_SYS_TYPES_H
19264 #include <sys/types.h>
19265 #endif
19266 #ifdef HAVE_NETINET_IN_H
19267 # include <netinet/in.h>
19268 #endif
19269 #ifdef HAVE_ARPA_NAMESER_H
19270 # include <arpa/nameser.h>
19271 #endif
19273 if test "x$ac_cv_member_ns_msg__msg_ptr" = xyes; then :
19275 cat >>confdefs.h <<_ACEOF
19276 #define HAVE_NS_MSG__MSG_PTR 1
19277 _ACEOF
19283 ac_fn_c_check_member "$LINENO" "struct icmpstat" "icps_inhist" "ac_cv_member_struct_icmpstat_icps_inhist" "#ifdef HAVE_SYS_TYPES_H
19284 #include <sys/types.h>
19285 #endif
19286 #ifdef HAVE_NETINET_IN_H
19287 #include <netinet/in.h>
19288 #endif
19289 #ifdef HAVE_NETINET_IP_H
19290 #include <netinet/ip.h>
19291 #endif
19292 #ifdef HAVE_NETINET_IP_ICMP_H
19293 #include <netinet/ip_icmp.h>
19294 #endif
19295 #ifdef HAVE_NETINET_ICMP_VAR_H
19296 #include <netinet/icmp_var.h>
19297 #endif
19299 if test "x$ac_cv_member_struct_icmpstat_icps_inhist" = xyes; then :
19301 cat >>confdefs.h <<_ACEOF
19302 #define HAVE_STRUCT_ICMPSTAT_ICPS_INHIST 1
19303 _ACEOF
19309 ac_fn_c_check_member "$LINENO" "struct icmpstat" "icps_outhist" "ac_cv_member_struct_icmpstat_icps_outhist" "#ifdef HAVE_SYS_TYPES_H
19310 #include <sys/types.h>
19311 #endif
19312 #ifdef HAVE_ALIAS_H
19313 #include <alias.h>
19314 #endif
19315 #ifdef HAVE_SYS_SOCKET_H
19316 #include <sys/socket.h>
19317 #endif
19318 #ifdef HAVE_SYS_SOCKETVAR_H
19319 #include <sys/socketvar.h>
19320 #endif
19321 #ifdef HAVE_SYS_TIMEOUT_H
19322 #include <sys/timeout.h>
19323 #endif
19324 #ifdef HAVE_NETINET_IN_H
19325 #include <netinet/in.h>
19326 #endif
19327 #ifdef HAVE_NETINET_IN_SYSTM_H
19328 #include <netinet/in_systm.h>
19329 #endif
19330 #ifdef HAVE_NETINET_IP_H
19331 #include <netinet/ip.h>
19332 #endif
19333 #ifdef HAVE_NETINET_IP_VAR_H
19334 #include <netinet/ip_var.h>
19335 #endif
19336 #ifdef HAVE_NETINET_IP_ICMP_H
19337 #include <netinet/ip_icmp.h>
19338 #endif
19339 #ifdef HAVE_NETINET_ICMP_VAR_H
19340 #include <netinet/icmp_var.h>
19341 #endif
19343 if test "x$ac_cv_member_struct_icmpstat_icps_outhist" = xyes; then :
19345 cat >>confdefs.h <<_ACEOF
19346 #define HAVE_STRUCT_ICMPSTAT_ICPS_OUTHIST 1
19347 _ACEOF
19353 ac_fn_c_check_member "$LINENO" "struct ipstat" "ips_total" "ac_cv_member_struct_ipstat_ips_total" "#ifdef HAVE_SYS_TYPES_H
19354 #include <sys/types.h>
19355 #endif
19356 #ifdef HAVE_SYS_SOCKETVAR_H
19357 #include <sys/socketvar.h>
19358 #endif
19359 #ifdef HAVE_NETINET_IN_H
19360 #include <netinet/in.h>
19361 #endif
19362 #ifdef HAVE_NETINET_IP_VAR_H
19363 #include <netinet/ip_var.h>
19364 #endif
19366 if test "x$ac_cv_member_struct_ipstat_ips_total" = xyes; then :
19368 cat >>confdefs.h <<_ACEOF
19369 #define HAVE_STRUCT_IPSTAT_IPS_TOTAL 1
19370 _ACEOF
19376 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
19377 #include <netinet/ip_var.h>
19378 #endif
19380 if test "x$ac_cv_member_struct_ip_stats_ips_total" = xyes; then :
19382 cat >>confdefs.h <<_ACEOF
19383 #define HAVE_STRUCT_IP_STATS_IPS_TOTAL 1
19384 _ACEOF
19390 ac_fn_c_check_member "$LINENO" "struct tcpstat" "tcps_connattempt" "ac_cv_member_struct_tcpstat_tcps_connattempt" "#ifdef HAVE_SYS_TYPES_H
19391 #include <sys/types.h>
19392 #endif
19393 #ifdef HAVE_SYS_SOCKETVAR_H
19394 #include <sys/socketvar.h>
19395 #endif
19396 #ifdef HAVE_NETINET_IN_H
19397 #include <netinet/in.h>
19398 #endif
19399 #ifdef HAVE_NETINET_TCP_H
19400 #include <netinet/tcp.h>
19401 #endif
19402 #ifdef HAVE_NETINET_TCP_VAR_H
19403 #include <netinet/tcp_var.h>
19404 #endif
19406 if test "x$ac_cv_member_struct_tcpstat_tcps_connattempt" = xyes; then :
19408 cat >>confdefs.h <<_ACEOF
19409 #define HAVE_STRUCT_TCPSTAT_TCPS_CONNATTEMPT 1
19410 _ACEOF
19416 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
19417 #include <netinet/tcp_var.h>
19418 #endif
19420 if test "x$ac_cv_member_struct_tcp_stats_tcps_connattempt" = xyes; then :
19422 cat >>confdefs.h <<_ACEOF
19423 #define HAVE_STRUCT_TCP_STATS_TCPS_CONNATTEMPT 1
19424 _ACEOF
19430 ac_fn_c_check_member "$LINENO" "struct udpstat" "udps_ipackets" "ac_cv_member_struct_udpstat_udps_ipackets" "#ifdef HAVE_SYS_TYPES_H
19431 #include <sys/types.h>
19432 #endif
19433 #ifdef HAVE_NETINET_IN_H
19434 #include <netinet/in.h>
19435 #endif
19436 #ifdef HAVE_NETINET_IP_VAR_H
19437 #include <netinet/ip_var.h>
19438 #endif
19439 #ifdef HAVE_NETINET_UDP_H
19440 #include <netinet/udp.h>
19441 #endif
19442 #ifdef HAVE_NETINET_UDP_VAR_H
19443 #include <netinet/udp_var.h>
19444 #endif
19446 if test "x$ac_cv_member_struct_udpstat_udps_ipackets" = xyes; then :
19448 cat >>confdefs.h <<_ACEOF
19449 #define HAVE_STRUCT_UDPSTAT_UDPS_IPACKETS 1
19450 _ACEOF
19456 ac_fn_c_check_member "$LINENO" "struct ifreq" "ifr_hwaddr" "ac_cv_member_struct_ifreq_ifr_hwaddr" "#ifdef HAVE_SYS_TYPES_H
19457 #include <sys/types.h>
19458 #endif
19459 #ifdef HAVE_NET_IF_H
19460 # include <net/if.h>
19461 #endif
19463 if test "x$ac_cv_member_struct_ifreq_ifr_hwaddr" = xyes; then :
19465 cat >>confdefs.h <<_ACEOF
19466 #define HAVE_STRUCT_IFREQ_IFR_HWADDR 1
19467 _ACEOF
19473 ac_fn_c_check_member "$LINENO" "struct sysinfo" "totalram" "ac_cv_member_struct_sysinfo_totalram" "#ifdef HAVE_SYS_SYSINFO_H
19474 # include <sys/sysinfo.h>
19475 #endif
19477 if test "x$ac_cv_member_struct_sysinfo_totalram" = xyes; then :
19479 cat >>confdefs.h <<_ACEOF
19480 #define HAVE_STRUCT_SYSINFO_TOTALRAM 1
19481 _ACEOF
19485 ac_fn_c_check_member "$LINENO" "struct sysinfo" "mem_unit" "ac_cv_member_struct_sysinfo_mem_unit" "#ifdef HAVE_SYS_SYSINFO_H
19486 # include <sys/sysinfo.h>
19487 #endif
19489 if test "x$ac_cv_member_struct_sysinfo_mem_unit" = xyes; then :
19491 cat >>confdefs.h <<_ACEOF
19492 #define HAVE_STRUCT_SYSINFO_MEM_UNIT 1
19493 _ACEOF
19499 ac_save_LIBS="$LIBS"
19500 LIBS="$LIBS -lm"
19501 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isfinite" >&5
19502 $as_echo_n "checking for isfinite... " >&6; }
19503 if ${ac_cv_have_isfinite+:} false; then :
19504 $as_echo_n "(cached) " >&6
19505 else
19506 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19507 /* end confdefs.h. */
19508 #define _GNU_SOURCE
19509 #include <math.h>
19511 main ()
19513 float f = 0.0; return isfinite(f)
19515 return 0;
19517 _ACEOF
19518 if ac_fn_c_try_link "$LINENO"; then :
19519 ac_cv_have_isfinite="yes"
19520 else
19521 ac_cv_have_isfinite="no"
19523 rm -f core conftest.err conftest.$ac_objext \
19524 conftest$ac_exeext conftest.$ac_ext
19526 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isfinite" >&5
19527 $as_echo "$ac_cv_have_isfinite" >&6; }
19528 if test "$ac_cv_have_isfinite" = "yes"
19529 then
19531 $as_echo "#define HAVE_ISFINITE 1" >>confdefs.h
19535 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf" >&5
19536 $as_echo_n "checking for isinf... " >&6; }
19537 if ${ac_cv_have_isinf+:} false; then :
19538 $as_echo_n "(cached) " >&6
19539 else
19540 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19541 /* end confdefs.h. */
19542 #include <math.h>
19544 main ()
19546 float f = 0.0; return isinf(f)
19548 return 0;
19550 _ACEOF
19551 if ac_fn_c_try_link "$LINENO"; then :
19552 ac_cv_have_isinf="yes"
19553 else
19554 ac_cv_have_isinf="no"
19556 rm -f core conftest.err conftest.$ac_objext \
19557 conftest$ac_exeext conftest.$ac_ext
19559 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isinf" >&5
19560 $as_echo "$ac_cv_have_isinf" >&6; }
19561 if test "$ac_cv_have_isinf" = "yes"
19562 then
19564 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
19568 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan" >&5
19569 $as_echo_n "checking for isnan... " >&6; }
19570 if ${ac_cv_have_isnan+:} false; then :
19571 $as_echo_n "(cached) " >&6
19572 else
19573 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19574 /* end confdefs.h. */
19575 #include <math.h>
19577 main ()
19579 float f = 0.0; return isnan(f)
19581 return 0;
19583 _ACEOF
19584 if ac_fn_c_try_link "$LINENO"; then :
19585 ac_cv_have_isnan="yes"
19586 else
19587 ac_cv_have_isnan="no"
19589 rm -f core conftest.err conftest.$ac_objext \
19590 conftest$ac_exeext conftest.$ac_ext
19592 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isnan" >&5
19593 $as_echo "$ac_cv_have_isnan" >&6; }
19594 if test "$ac_cv_have_isnan" = "yes"
19595 then
19597 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
19601 for ac_func in \
19602 acosh \
19603 acoshf \
19604 asinh \
19605 asinhf \
19606 atanh \
19607 atanhf \
19608 cbrt \
19609 cbrtf \
19610 erf \
19611 erfc \
19612 erfcf \
19613 erff \
19614 exp2 \
19615 exp2f \
19616 expm1 \
19617 expm1f \
19618 fma \
19619 fmaf \
19620 j0 \
19621 j1 \
19622 jn \
19623 lgamma \
19624 lgammaf \
19625 llrint \
19626 llrintf \
19627 llround \
19628 llroundf \
19629 log1p \
19630 log1pf \
19631 log2 \
19632 log2f \
19633 lrint \
19634 lrintf \
19635 lround \
19636 lroundf \
19637 nearbyint \
19638 nearbyintf \
19639 nexttoward \
19640 nexttowardf \
19641 remainder \
19642 remainderf \
19643 remquo \
19644 remquof \
19645 rint \
19646 rintf \
19647 round \
19648 roundf \
19649 tgamma \
19650 tgammaf \
19651 trunc \
19652 truncf \
19653 y0 \
19654 y1 \
19657 do :
19658 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
19659 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
19660 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
19661 cat >>confdefs.h <<_ACEOF
19662 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
19663 _ACEOF
19666 done
19668 LIBS="$ac_save_LIBS"
19670 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __builtin_popcount" >&5
19671 $as_echo_n "checking for __builtin_popcount... " >&6; }
19672 if ${ac_cv_have___builtin_popcount+:} false; then :
19673 $as_echo_n "(cached) " >&6
19674 else
19675 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19676 /* end confdefs.h. */
19679 main ()
19681 return __builtin_popcount(1)
19683 return 0;
19685 _ACEOF
19686 if ac_fn_c_try_link "$LINENO"; then :
19687 ac_cv_have___builtin_popcount="yes"
19688 else
19689 ac_cv_have___builtin_popcount="no"
19691 rm -f core conftest.err conftest.$ac_objext \
19692 conftest$ac_exeext conftest.$ac_ext
19694 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___builtin_popcount" >&5
19695 $as_echo "$ac_cv_have___builtin_popcount" >&6; }
19696 if test "$ac_cv_have___builtin_popcount" = "yes"
19697 then
19699 $as_echo "#define HAVE___BUILTIN_POPCOUNT 1" >>confdefs.h
19703 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __clear_cache" >&5
19704 $as_echo_n "checking for __clear_cache... " >&6; }
19705 if ${ac_cv_have___clear_cache+:} false; then :
19706 $as_echo_n "(cached) " >&6
19707 else
19708 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19709 /* end confdefs.h. */
19712 main ()
19714 __clear_cache((void*)0, (void*)0); return 0;
19716 return 0;
19718 _ACEOF
19719 if ac_fn_c_try_link "$LINENO"; then :
19720 ac_cv_have___clear_cache="yes"
19721 else
19722 ac_cv_have___clear_cache="no"
19724 rm -f core conftest.err conftest.$ac_objext \
19725 conftest$ac_exeext conftest.$ac_ext
19727 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___clear_cache" >&5
19728 $as_echo "$ac_cv_have___clear_cache" >&6; }
19729 if test "$ac_cv_have___clear_cache" = "yes"
19730 then
19732 $as_echo "#define HAVE___CLEAR_CACHE 1" >>confdefs.h
19737 case $host_cpu in
19738 *i[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __i386__" >&5
19739 $as_echo_n "checking whether we need to define __i386__... " >&6; }
19740 if ${ac_cv_cpp_def___i386__+:} false; then :
19741 $as_echo_n "(cached) " >&6
19742 else
19743 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19744 /* end confdefs.h. */
19745 #ifndef __i386__
19747 #endif
19748 _ACEOF
19749 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19750 $EGREP "yes" >/dev/null 2>&1; then :
19751 ac_cv_cpp_def___i386__=yes
19752 else
19753 ac_cv_cpp_def___i386__=no
19755 rm -f conftest*
19758 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___i386__" >&5
19759 $as_echo "$ac_cv_cpp_def___i386__" >&6; }
19760 if test "x$ac_cv_cpp_def___i386__" = xyes; then :
19761 CFLAGS="$CFLAGS -D__i386__"
19762 LINTFLAGS="$LINTFLAGS -D__i386__"
19763 fi ;;
19764 *x86_64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __x86_64__" >&5
19765 $as_echo_n "checking whether we need to define __x86_64__... " >&6; }
19766 if ${ac_cv_cpp_def___x86_64__+:} false; then :
19767 $as_echo_n "(cached) " >&6
19768 else
19769 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19770 /* end confdefs.h. */
19771 #ifndef __x86_64__
19773 #endif
19774 _ACEOF
19775 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19776 $EGREP "yes" >/dev/null 2>&1; then :
19777 ac_cv_cpp_def___x86_64__=yes
19778 else
19779 ac_cv_cpp_def___x86_64__=no
19781 rm -f conftest*
19784 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___x86_64__" >&5
19785 $as_echo "$ac_cv_cpp_def___x86_64__" >&6; }
19786 if test "x$ac_cv_cpp_def___x86_64__" = xyes; then :
19787 CFLAGS="$CFLAGS -D__x86_64__"
19788 LINTFLAGS="$LINTFLAGS -D__x86_64__"
19789 fi ;;
19790 *sparc64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc64__" >&5
19791 $as_echo_n "checking whether we need to define __sparc64__... " >&6; }
19792 if ${ac_cv_cpp_def___sparc64__+:} false; then :
19793 $as_echo_n "(cached) " >&6
19794 else
19795 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19796 /* end confdefs.h. */
19797 #ifndef __sparc64__
19799 #endif
19800 _ACEOF
19801 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19802 $EGREP "yes" >/dev/null 2>&1; then :
19803 ac_cv_cpp_def___sparc64__=yes
19804 else
19805 ac_cv_cpp_def___sparc64__=no
19807 rm -f conftest*
19810 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc64__" >&5
19811 $as_echo "$ac_cv_cpp_def___sparc64__" >&6; }
19812 if test "x$ac_cv_cpp_def___sparc64__" = xyes; then :
19813 CFLAGS="$CFLAGS -D__sparc64__"
19814 LINTFLAGS="$LINTFLAGS -D__sparc64__"
19815 fi ;;
19816 *sparc*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc__" >&5
19817 $as_echo_n "checking whether we need to define __sparc__... " >&6; }
19818 if ${ac_cv_cpp_def___sparc__+:} false; then :
19819 $as_echo_n "(cached) " >&6
19820 else
19821 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19822 /* end confdefs.h. */
19823 #ifndef __sparc__
19825 #endif
19826 _ACEOF
19827 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19828 $EGREP "yes" >/dev/null 2>&1; then :
19829 ac_cv_cpp_def___sparc__=yes
19830 else
19831 ac_cv_cpp_def___sparc__=no
19833 rm -f conftest*
19836 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc__" >&5
19837 $as_echo "$ac_cv_cpp_def___sparc__" >&6; }
19838 if test "x$ac_cv_cpp_def___sparc__" = xyes; then :
19839 CFLAGS="$CFLAGS -D__sparc__"
19840 LINTFLAGS="$LINTFLAGS -D__sparc__"
19841 fi ;;
19842 *powerpc64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc64__" >&5
19843 $as_echo_n "checking whether we need to define __powerpc64__... " >&6; }
19844 if ${ac_cv_cpp_def___powerpc64__+:} false; then :
19845 $as_echo_n "(cached) " >&6
19846 else
19847 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19848 /* end confdefs.h. */
19849 #ifndef __powerpc64__
19851 #endif
19852 _ACEOF
19853 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19854 $EGREP "yes" >/dev/null 2>&1; then :
19855 ac_cv_cpp_def___powerpc64__=yes
19856 else
19857 ac_cv_cpp_def___powerpc64__=no
19859 rm -f conftest*
19862 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc64__" >&5
19863 $as_echo "$ac_cv_cpp_def___powerpc64__" >&6; }
19864 if test "x$ac_cv_cpp_def___powerpc64__" = xyes; then :
19865 CFLAGS="$CFLAGS -D__powerpc64__"
19866 LINTFLAGS="$LINTFLAGS -D__powerpc64__"
19867 fi ;;
19868 *powerpc*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc__" >&5
19869 $as_echo_n "checking whether we need to define __powerpc__... " >&6; }
19870 if ${ac_cv_cpp_def___powerpc__+:} false; then :
19871 $as_echo_n "(cached) " >&6
19872 else
19873 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19874 /* end confdefs.h. */
19875 #ifndef __powerpc__
19877 #endif
19878 _ACEOF
19879 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19880 $EGREP "yes" >/dev/null 2>&1; then :
19881 ac_cv_cpp_def___powerpc__=yes
19882 else
19883 ac_cv_cpp_def___powerpc__=no
19885 rm -f conftest*
19888 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc__" >&5
19889 $as_echo "$ac_cv_cpp_def___powerpc__" >&6; }
19890 if test "x$ac_cv_cpp_def___powerpc__" = xyes; then :
19891 CFLAGS="$CFLAGS -D__powerpc__"
19892 LINTFLAGS="$LINTFLAGS -D__powerpc__"
19893 fi ;;
19894 *aarch64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __aarch64__" >&5
19895 $as_echo_n "checking whether we need to define __aarch64__... " >&6; }
19896 if ${ac_cv_cpp_def___aarch64__+:} false; then :
19897 $as_echo_n "(cached) " >&6
19898 else
19899 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19900 /* end confdefs.h. */
19901 #ifndef __aarch64__
19903 #endif
19904 _ACEOF
19905 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19906 $EGREP "yes" >/dev/null 2>&1; then :
19907 ac_cv_cpp_def___aarch64__=yes
19908 else
19909 ac_cv_cpp_def___aarch64__=no
19911 rm -f conftest*
19914 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___aarch64__" >&5
19915 $as_echo "$ac_cv_cpp_def___aarch64__" >&6; }
19916 if test "x$ac_cv_cpp_def___aarch64__" = xyes; then :
19917 CFLAGS="$CFLAGS -D__aarch64__"
19918 LINTFLAGS="$LINTFLAGS -D__aarch64__"
19919 fi ;;
19920 *arm*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __arm__" >&5
19921 $as_echo_n "checking whether we need to define __arm__... " >&6; }
19922 if ${ac_cv_cpp_def___arm__+:} false; then :
19923 $as_echo_n "(cached) " >&6
19924 else
19925 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19926 /* end confdefs.h. */
19927 #ifndef __arm__
19929 #endif
19930 _ACEOF
19931 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19932 $EGREP "yes" >/dev/null 2>&1; then :
19933 ac_cv_cpp_def___arm__=yes
19934 else
19935 ac_cv_cpp_def___arm__=no
19937 rm -f conftest*
19940 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___arm__" >&5
19941 $as_echo "$ac_cv_cpp_def___arm__" >&6; }
19942 if test "x$ac_cv_cpp_def___arm__" = xyes; then :
19943 CFLAGS="$CFLAGS -D__arm__"
19944 LINTFLAGS="$LINTFLAGS -D__arm__"
19945 fi ;;
19946 esac
19948 case $host_vendor in
19949 *sun*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sun__" >&5
19950 $as_echo_n "checking whether we need to define __sun__... " >&6; }
19951 if ${ac_cv_cpp_def___sun__+:} false; then :
19952 $as_echo_n "(cached) " >&6
19953 else
19954 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19955 /* end confdefs.h. */
19956 #ifndef __sun__
19958 #endif
19959 _ACEOF
19960 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19961 $EGREP "yes" >/dev/null 2>&1; then :
19962 ac_cv_cpp_def___sun__=yes
19963 else
19964 ac_cv_cpp_def___sun__=no
19966 rm -f conftest*
19969 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sun__" >&5
19970 $as_echo "$ac_cv_cpp_def___sun__" >&6; }
19971 if test "x$ac_cv_cpp_def___sun__" = xyes; then :
19972 CFLAGS="$CFLAGS -D__sun__"
19973 LINTFLAGS="$LINTFLAGS -D__sun__"
19974 fi ;;
19975 esac
19981 ac_config_commands="$ac_config_commands include/stamp-h"
19983 $as_echo_n "creating Makefile rules..." >&6
19985 ALL_VARS_RULES="I386_LIBS = $I386_LIBS
19986 OPENGL_LIBS = $OPENGL_LIBS
19987 COREFOUNDATION_LIBS = $COREFOUNDATION_LIBS
19988 IOKIT_LIBS = $IOKIT_LIBS
19989 FORCEFEEDBACK_LIBS = $FORCEFEEDBACK_LIBS
19990 APPLICATIONSERVICES_LIBS = $APPLICATIONSERVICES_LIBS
19991 CORESERVICES_LIBS = $CORESERVICES_LIBS
19992 APPKIT_LIBS = $APPKIT_LIBS
19993 SYSTEMCONFIGURATION_LIBS = $SYSTEMCONFIGURATION_LIBS
19994 DISKARBITRATION_LIBS = $DISKARBITRATION_LIBS
19995 SECURITY_LIBS = $SECURITY_LIBS
19996 COREAUDIO_LIBS = $COREAUDIO_LIBS
19997 OPENAL_LIBS = $OPENAL_LIBS
19998 OPENCL_LIBS = $OPENCL_LIBS
19999 QUICKTIME_LIBS = $QUICKTIME_LIBS
20000 CARBON_LIBS = $CARBON_LIBS
20001 METAL_LIBS = $METAL_LIBS
20002 EXCESS_PRECISION_CFLAGS = $EXCESS_PRECISION_CFLAGS
20003 PTHREAD_LIBS = $PTHREAD_LIBS
20004 X_CFLAGS = $X_CFLAGS
20005 X_PRE_LIBS = $X_PRE_LIBS
20006 X_LIBS = $X_LIBS
20007 X_EXTRA_LIBS = $X_EXTRA_LIBS
20008 PCAP_LIBS = $PCAP_LIBS
20009 XML2_CFLAGS = $XML2_CFLAGS
20010 XML2_LIBS = $XML2_LIBS
20011 XSLT_CFLAGS = $XSLT_CFLAGS
20012 XSLT_LIBS = $XSLT_LIBS
20013 INOTIFY_CFLAGS = $INOTIFY_CFLAGS
20014 INOTIFY_LIBS = $INOTIFY_LIBS
20015 DBUS_CFLAGS = $DBUS_CFLAGS
20016 DBUS_LIBS = $DBUS_LIBS
20017 HAL_CFLAGS = $HAL_CFLAGS
20018 HAL_LIBS = $HAL_LIBS
20019 GNUTLS_CFLAGS = $GNUTLS_CFLAGS
20020 GNUTLS_LIBS = $GNUTLS_LIBS
20021 SANE_CFLAGS = $SANE_CFLAGS
20022 SANE_LIBS = $SANE_LIBS
20023 USB_CFLAGS = $USB_CFLAGS
20024 USB_LIBS = $USB_LIBS
20025 GPHOTO2_CFLAGS = $GPHOTO2_CFLAGS
20026 GPHOTO2_LIBS = $GPHOTO2_LIBS
20027 GPHOTO2_PORT_CFLAGS = $GPHOTO2_PORT_CFLAGS
20028 GPHOTO2_PORT_LIBS = $GPHOTO2_PORT_LIBS
20029 RESOLV_LIBS = $RESOLV_LIBS
20030 LCMS2_CFLAGS = $LCMS2_CFLAGS
20031 LCMS2_LIBS = $LCMS2_LIBS
20032 FREETYPE_CFLAGS = $FREETYPE_CFLAGS
20033 FREETYPE_LIBS = $FREETYPE_LIBS
20034 GETTEXTPO_LIBS = $GETTEXTPO_LIBS
20035 PULSE_CFLAGS = $PULSE_CFLAGS
20036 PULSE_LIBS = $PULSE_LIBS
20037 GSTREAMER_CFLAGS = $GSTREAMER_CFLAGS
20038 GSTREAMER_LIBS = $GSTREAMER_LIBS
20039 ALSA_LIBS = $ALSA_LIBS
20040 OSS4_CFLAGS = $OSS4_CFLAGS
20041 OSS4_LIBS = $OSS4_LIBS
20042 UDEV_CFLAGS = $UDEV_CFLAGS
20043 UDEV_LIBS = $UDEV_LIBS
20044 UNWIND_CFLAGS = $UNWIND_CFLAGS
20045 UNWIND_LIBS = $UNWIND_LIBS
20046 SDL2_CFLAGS = $SDL2_CFLAGS
20047 SDL2_LIBS = $SDL2_LIBS
20048 FAUDIO_CFLAGS = $FAUDIO_CFLAGS
20049 FAUDIO_LIBS = $FAUDIO_LIBS
20050 CAPI20_CFLAGS = $CAPI20_CFLAGS
20051 CAPI20_LIBS = $CAPI20_LIBS
20052 CUPS_CFLAGS = $CUPS_CFLAGS
20053 CUPS_LIBS = $CUPS_LIBS
20054 FONTCONFIG_CFLAGS = $FONTCONFIG_CFLAGS
20055 FONTCONFIG_LIBS = $FONTCONFIG_LIBS
20056 KRB5_CFLAGS = $KRB5_CFLAGS
20057 KRB5_LIBS = $KRB5_LIBS
20058 GSSAPI_CFLAGS = $GSSAPI_CFLAGS
20059 GSSAPI_LIBS = $GSSAPI_LIBS
20060 JPEG_CFLAGS = $JPEG_CFLAGS
20061 JPEG_LIBS = $JPEG_LIBS
20062 JXRLIB_CFLAGS = $JXRLIB_CFLAGS
20063 JXRLIB_LIBS = $JXRLIB_LIBS
20064 PNG_CFLAGS = $PNG_CFLAGS
20065 PNG_LIBS = $PNG_LIBS
20066 TIFF_CFLAGS = $TIFF_CFLAGS
20067 TIFF_LIBS = $TIFF_LIBS
20068 MPG123_CFLAGS = $MPG123_CFLAGS
20069 MPG123_LIBS = $MPG123_LIBS
20070 KSTAT_LIBS = $KSTAT_LIBS
20071 PROCSTAT_LIBS = $PROCSTAT_LIBS
20072 NETAPI_CFLAGS = $NETAPI_CFLAGS
20073 NETAPI_LIBS = $NETAPI_LIBS
20074 VKD3D_CFLAGS = $VKD3D_CFLAGS
20075 VKD3D_LIBS = $VKD3D_LIBS
20076 VKD3D_SHADER_CFLAGS = $VKD3D_SHADER_CFLAGS
20077 VKD3D_SHADER_LIBS = $VKD3D_SHADER_LIBS
20078 POLL_LIBS = $POLL_LIBS
20079 RT_LIBS = $RT_LIBS
20080 LDAP_CFLAGS = $LDAP_CFLAGS
20081 LDAP_LIBS = $LDAP_LIBS
20085 makedep_flags=""
20086 test "x$enable_silent_rules" = xyes && makedep_flags="$makedep_flags -S"
20089 wine_fn_append_rule "
20090 # Rules automatically generated by configure
20092 .INIT: Makefile
20093 .MAKEFILEDEPS:
20094 all: Makefile
20095 Makefile: $srcdir/Makefile.in config.status \$(MAKEDEP)
20096 @./config.status Make.tmp Makefile
20097 depend: \$(MAKEDEP)
20098 \$(MAKEDEP)$makedep_flags
20099 dummy:
20100 .PHONY: depend dummy"
20102 ac_config_links="$ac_config_links wine:tools/winewrapper"
20103 wine_fn_config_symlink wine
20104 if test "x$enable_win64" != xno -o -n "$with_wine64"; then
20105 ac_config_links="$ac_config_links wine64:tools/winewrapper"
20106 wine_fn_config_symlink wine64
20109 wine_fn_config_makefile dlls/acledit enable_acledit
20110 wine_fn_config_makefile dlls/aclui enable_aclui
20111 wine_fn_config_makefile dlls/activeds.tlb enable_activeds_tlb
20112 wine_fn_config_makefile dlls/activeds enable_activeds
20113 wine_fn_config_makefile dlls/activeds/tests enable_tests
20114 wine_fn_config_makefile dlls/actxprxy enable_actxprxy
20115 wine_fn_config_makefile dlls/adsiid enable_adsiid
20116 wine_fn_config_makefile dlls/adsldp enable_adsldp
20117 wine_fn_config_makefile dlls/adsldp/tests enable_tests
20118 wine_fn_config_makefile dlls/adsldpc enable_adsldpc
20119 wine_fn_config_makefile dlls/advapi32 enable_advapi32
20120 wine_fn_config_makefile dlls/advapi32/tests enable_tests
20121 wine_fn_config_makefile dlls/advpack enable_advpack
20122 wine_fn_config_makefile dlls/advpack/tests enable_tests
20123 wine_fn_config_makefile dlls/amsi enable_amsi
20124 wine_fn_config_makefile dlls/amstream enable_amstream
20125 wine_fn_config_makefile dlls/amstream/tests enable_tests
20126 wine_fn_config_makefile dlls/api-ms-win-appmodel-identity-l1-1-0 enable_api_ms_win_appmodel_identity_l1_1_0
20127 wine_fn_config_makefile dlls/api-ms-win-appmodel-runtime-l1-1-1 enable_api_ms_win_appmodel_runtime_l1_1_1
20128 wine_fn_config_makefile dlls/api-ms-win-appmodel-runtime-l1-1-2 enable_api_ms_win_appmodel_runtime_l1_1_2
20129 wine_fn_config_makefile dlls/api-ms-win-core-apiquery-l1-1-0 enable_api_ms_win_core_apiquery_l1_1_0
20130 wine_fn_config_makefile dlls/api-ms-win-core-appcompat-l1-1-1 enable_api_ms_win_core_appcompat_l1_1_1
20131 wine_fn_config_makefile dlls/api-ms-win-core-appinit-l1-1-0 enable_api_ms_win_core_appinit_l1_1_0
20132 wine_fn_config_makefile dlls/api-ms-win-core-atoms-l1-1-0 enable_api_ms_win_core_atoms_l1_1_0
20133 wine_fn_config_makefile dlls/api-ms-win-core-bem-l1-1-0 enable_api_ms_win_core_bem_l1_1_0
20134 wine_fn_config_makefile dlls/api-ms-win-core-com-l1-1-0 enable_api_ms_win_core_com_l1_1_0
20135 wine_fn_config_makefile dlls/api-ms-win-core-com-l1-1-1 enable_api_ms_win_core_com_l1_1_1
20136 wine_fn_config_makefile dlls/api-ms-win-core-com-private-l1-1-0 enable_api_ms_win_core_com_private_l1_1_0
20137 wine_fn_config_makefile dlls/api-ms-win-core-comm-l1-1-0 enable_api_ms_win_core_comm_l1_1_0
20138 wine_fn_config_makefile dlls/api-ms-win-core-console-l1-1-0 enable_api_ms_win_core_console_l1_1_0
20139 wine_fn_config_makefile dlls/api-ms-win-core-console-l2-1-0 enable_api_ms_win_core_console_l2_1_0
20140 wine_fn_config_makefile dlls/api-ms-win-core-crt-l1-1-0 enable_api_ms_win_core_crt_l1_1_0
20141 wine_fn_config_makefile dlls/api-ms-win-core-crt-l2-1-0 enable_api_ms_win_core_crt_l2_1_0
20142 wine_fn_config_makefile dlls/api-ms-win-core-datetime-l1-1-0 enable_api_ms_win_core_datetime_l1_1_0
20143 wine_fn_config_makefile dlls/api-ms-win-core-datetime-l1-1-1 enable_api_ms_win_core_datetime_l1_1_1
20144 wine_fn_config_makefile dlls/api-ms-win-core-debug-l1-1-0 enable_api_ms_win_core_debug_l1_1_0
20145 wine_fn_config_makefile dlls/api-ms-win-core-debug-l1-1-1 enable_api_ms_win_core_debug_l1_1_1
20146 wine_fn_config_makefile dlls/api-ms-win-core-delayload-l1-1-0 enable_api_ms_win_core_delayload_l1_1_0
20147 wine_fn_config_makefile dlls/api-ms-win-core-delayload-l1-1-1 enable_api_ms_win_core_delayload_l1_1_1
20148 wine_fn_config_makefile dlls/api-ms-win-core-errorhandling-l1-1-0 enable_api_ms_win_core_errorhandling_l1_1_0
20149 wine_fn_config_makefile dlls/api-ms-win-core-errorhandling-l1-1-1 enable_api_ms_win_core_errorhandling_l1_1_1
20150 wine_fn_config_makefile dlls/api-ms-win-core-errorhandling-l1-1-2 enable_api_ms_win_core_errorhandling_l1_1_2
20151 wine_fn_config_makefile dlls/api-ms-win-core-errorhandling-l1-1-3 enable_api_ms_win_core_errorhandling_l1_1_3
20152 wine_fn_config_makefile dlls/api-ms-win-core-fibers-l1-1-0 enable_api_ms_win_core_fibers_l1_1_0
20153 wine_fn_config_makefile dlls/api-ms-win-core-fibers-l1-1-1 enable_api_ms_win_core_fibers_l1_1_1
20154 wine_fn_config_makefile dlls/api-ms-win-core-file-ansi-l2-1-0 enable_api_ms_win_core_file_ansi_l2_1_0
20155 wine_fn_config_makefile dlls/api-ms-win-core-file-fromapp-l1-1-0 enable_api_ms_win_core_file_fromapp_l1_1_0
20156 wine_fn_config_makefile dlls/api-ms-win-core-file-l1-1-0 enable_api_ms_win_core_file_l1_1_0
20157 wine_fn_config_makefile dlls/api-ms-win-core-file-l1-2-0 enable_api_ms_win_core_file_l1_2_0
20158 wine_fn_config_makefile dlls/api-ms-win-core-file-l1-2-1 enable_api_ms_win_core_file_l1_2_1
20159 wine_fn_config_makefile dlls/api-ms-win-core-file-l1-2-2 enable_api_ms_win_core_file_l1_2_2
20160 wine_fn_config_makefile dlls/api-ms-win-core-file-l2-1-0 enable_api_ms_win_core_file_l2_1_0
20161 wine_fn_config_makefile dlls/api-ms-win-core-file-l2-1-1 enable_api_ms_win_core_file_l2_1_1
20162 wine_fn_config_makefile dlls/api-ms-win-core-file-l2-1-2 enable_api_ms_win_core_file_l2_1_2
20163 wine_fn_config_makefile dlls/api-ms-win-core-handle-l1-1-0 enable_api_ms_win_core_handle_l1_1_0
20164 wine_fn_config_makefile dlls/api-ms-win-core-heap-l1-1-0 enable_api_ms_win_core_heap_l1_1_0
20165 wine_fn_config_makefile dlls/api-ms-win-core-heap-l1-2-0 enable_api_ms_win_core_heap_l1_2_0
20166 wine_fn_config_makefile dlls/api-ms-win-core-heap-l2-1-0 enable_api_ms_win_core_heap_l2_1_0
20167 wine_fn_config_makefile dlls/api-ms-win-core-heap-obsolete-l1-1-0 enable_api_ms_win_core_heap_obsolete_l1_1_0
20168 wine_fn_config_makefile dlls/api-ms-win-core-interlocked-l1-1-0 enable_api_ms_win_core_interlocked_l1_1_0
20169 wine_fn_config_makefile dlls/api-ms-win-core-interlocked-l1-2-0 enable_api_ms_win_core_interlocked_l1_2_0
20170 wine_fn_config_makefile dlls/api-ms-win-core-io-l1-1-0 enable_api_ms_win_core_io_l1_1_0
20171 wine_fn_config_makefile dlls/api-ms-win-core-io-l1-1-1 enable_api_ms_win_core_io_l1_1_1
20172 wine_fn_config_makefile dlls/api-ms-win-core-job-l1-1-0 enable_api_ms_win_core_job_l1_1_0
20173 wine_fn_config_makefile dlls/api-ms-win-core-job-l2-1-0 enable_api_ms_win_core_job_l2_1_0
20174 wine_fn_config_makefile dlls/api-ms-win-core-kernel32-legacy-l1-1-0 enable_api_ms_win_core_kernel32_legacy_l1_1_0
20175 wine_fn_config_makefile dlls/api-ms-win-core-kernel32-legacy-l1-1-1 enable_api_ms_win_core_kernel32_legacy_l1_1_1
20176 wine_fn_config_makefile dlls/api-ms-win-core-kernel32-legacy-l1-1-2 enable_api_ms_win_core_kernel32_legacy_l1_1_2
20177 wine_fn_config_makefile dlls/api-ms-win-core-kernel32-private-l1-1-1 enable_api_ms_win_core_kernel32_private_l1_1_1
20178 wine_fn_config_makefile dlls/api-ms-win-core-largeinteger-l1-1-0 enable_api_ms_win_core_largeinteger_l1_1_0
20179 wine_fn_config_makefile dlls/api-ms-win-core-libraryloader-l1-1-0 enable_api_ms_win_core_libraryloader_l1_1_0
20180 wine_fn_config_makefile dlls/api-ms-win-core-libraryloader-l1-1-1 enable_api_ms_win_core_libraryloader_l1_1_1
20181 wine_fn_config_makefile dlls/api-ms-win-core-libraryloader-l1-2-0 enable_api_ms_win_core_libraryloader_l1_2_0
20182 wine_fn_config_makefile dlls/api-ms-win-core-libraryloader-l1-2-1 enable_api_ms_win_core_libraryloader_l1_2_1
20183 wine_fn_config_makefile dlls/api-ms-win-core-libraryloader-l1-2-2 enable_api_ms_win_core_libraryloader_l1_2_2
20184 wine_fn_config_makefile dlls/api-ms-win-core-libraryloader-l2-1-0 enable_api_ms_win_core_libraryloader_l2_1_0
20185 wine_fn_config_makefile dlls/api-ms-win-core-localization-l1-1-0 enable_api_ms_win_core_localization_l1_1_0
20186 wine_fn_config_makefile dlls/api-ms-win-core-localization-l1-2-0 enable_api_ms_win_core_localization_l1_2_0
20187 wine_fn_config_makefile dlls/api-ms-win-core-localization-l1-2-1 enable_api_ms_win_core_localization_l1_2_1
20188 wine_fn_config_makefile dlls/api-ms-win-core-localization-l1-2-2 enable_api_ms_win_core_localization_l1_2_2
20189 wine_fn_config_makefile dlls/api-ms-win-core-localization-l2-1-0 enable_api_ms_win_core_localization_l2_1_0
20190 wine_fn_config_makefile dlls/api-ms-win-core-localization-obsolete-l1-1-0 enable_api_ms_win_core_localization_obsolete_l1_1_0
20191 wine_fn_config_makefile dlls/api-ms-win-core-localization-obsolete-l1-2-0 enable_api_ms_win_core_localization_obsolete_l1_2_0
20192 wine_fn_config_makefile dlls/api-ms-win-core-localization-obsolete-l1-3-0 enable_api_ms_win_core_localization_obsolete_l1_3_0
20193 wine_fn_config_makefile dlls/api-ms-win-core-localization-private-l1-1-0 enable_api_ms_win_core_localization_private_l1_1_0
20194 wine_fn_config_makefile dlls/api-ms-win-core-localregistry-l1-1-0 enable_api_ms_win_core_localregistry_l1_1_0
20195 wine_fn_config_makefile dlls/api-ms-win-core-memory-l1-1-0 enable_api_ms_win_core_memory_l1_1_0
20196 wine_fn_config_makefile dlls/api-ms-win-core-memory-l1-1-1 enable_api_ms_win_core_memory_l1_1_1
20197 wine_fn_config_makefile dlls/api-ms-win-core-memory-l1-1-2 enable_api_ms_win_core_memory_l1_1_2
20198 wine_fn_config_makefile dlls/api-ms-win-core-memory-l1-1-3 enable_api_ms_win_core_memory_l1_1_3
20199 wine_fn_config_makefile dlls/api-ms-win-core-memory-l1-1-4 enable_api_ms_win_core_memory_l1_1_4
20200 wine_fn_config_makefile dlls/api-ms-win-core-misc-l1-1-0 enable_api_ms_win_core_misc_l1_1_0
20201 wine_fn_config_makefile dlls/api-ms-win-core-namedpipe-ansi-l1-1-0 enable_api_ms_win_core_namedpipe_ansi_l1_1_0
20202 wine_fn_config_makefile dlls/api-ms-win-core-namedpipe-l1-1-0 enable_api_ms_win_core_namedpipe_l1_1_0
20203 wine_fn_config_makefile dlls/api-ms-win-core-namedpipe-l1-2-0 enable_api_ms_win_core_namedpipe_l1_2_0
20204 wine_fn_config_makefile dlls/api-ms-win-core-namespace-l1-1-0 enable_api_ms_win_core_namespace_l1_1_0
20205 wine_fn_config_makefile dlls/api-ms-win-core-normalization-l1-1-0 enable_api_ms_win_core_normalization_l1_1_0
20206 wine_fn_config_makefile dlls/api-ms-win-core-path-l1-1-0 enable_api_ms_win_core_path_l1_1_0
20207 wine_fn_config_makefile dlls/api-ms-win-core-privateprofile-l1-1-1 enable_api_ms_win_core_privateprofile_l1_1_1
20208 wine_fn_config_makefile dlls/api-ms-win-core-processenvironment-l1-1-0 enable_api_ms_win_core_processenvironment_l1_1_0
20209 wine_fn_config_makefile dlls/api-ms-win-core-processenvironment-l1-2-0 enable_api_ms_win_core_processenvironment_l1_2_0
20210 wine_fn_config_makefile dlls/api-ms-win-core-processthreads-l1-1-0 enable_api_ms_win_core_processthreads_l1_1_0
20211 wine_fn_config_makefile dlls/api-ms-win-core-processthreads-l1-1-1 enable_api_ms_win_core_processthreads_l1_1_1
20212 wine_fn_config_makefile dlls/api-ms-win-core-processthreads-l1-1-2 enable_api_ms_win_core_processthreads_l1_1_2
20213 wine_fn_config_makefile dlls/api-ms-win-core-processthreads-l1-1-3 enable_api_ms_win_core_processthreads_l1_1_3
20214 wine_fn_config_makefile dlls/api-ms-win-core-processtopology-obsolete-l1-1-0 enable_api_ms_win_core_processtopology_obsolete_l1_1_0
20215 wine_fn_config_makefile dlls/api-ms-win-core-profile-l1-1-0 enable_api_ms_win_core_profile_l1_1_0
20216 wine_fn_config_makefile dlls/api-ms-win-core-psapi-ansi-l1-1-0 enable_api_ms_win_core_psapi_ansi_l1_1_0
20217 wine_fn_config_makefile dlls/api-ms-win-core-psapi-l1-1-0 enable_api_ms_win_core_psapi_l1_1_0
20218 wine_fn_config_makefile dlls/api-ms-win-core-psapi-obsolete-l1-1-0 enable_api_ms_win_core_psapi_obsolete_l1_1_0
20219 wine_fn_config_makefile dlls/api-ms-win-core-quirks-l1-1-0 enable_api_ms_win_core_quirks_l1_1_0
20220 wine_fn_config_makefile dlls/api-ms-win-core-realtime-l1-1-0 enable_api_ms_win_core_realtime_l1_1_0
20221 wine_fn_config_makefile dlls/api-ms-win-core-registry-l1-1-0 enable_api_ms_win_core_registry_l1_1_0
20222 wine_fn_config_makefile dlls/api-ms-win-core-registry-l2-1-0 enable_api_ms_win_core_registry_l2_1_0
20223 wine_fn_config_makefile dlls/api-ms-win-core-registry-l2-2-0 enable_api_ms_win_core_registry_l2_2_0
20224 wine_fn_config_makefile dlls/api-ms-win-core-registryuserspecific-l1-1-0 enable_api_ms_win_core_registryuserspecific_l1_1_0
20225 wine_fn_config_makefile dlls/api-ms-win-core-rtlsupport-l1-1-0 enable_api_ms_win_core_rtlsupport_l1_1_0
20226 wine_fn_config_makefile dlls/api-ms-win-core-rtlsupport-l1-2-0 enable_api_ms_win_core_rtlsupport_l1_2_0
20227 wine_fn_config_makefile dlls/api-ms-win-core-shlwapi-legacy-l1-1-0 enable_api_ms_win_core_shlwapi_legacy_l1_1_0
20228 wine_fn_config_makefile dlls/api-ms-win-core-shlwapi-obsolete-l1-1-0 enable_api_ms_win_core_shlwapi_obsolete_l1_1_0
20229 wine_fn_config_makefile dlls/api-ms-win-core-shlwapi-obsolete-l1-2-0 enable_api_ms_win_core_shlwapi_obsolete_l1_2_0
20230 wine_fn_config_makefile dlls/api-ms-win-core-shutdown-l1-1-0 enable_api_ms_win_core_shutdown_l1_1_0
20231 wine_fn_config_makefile dlls/api-ms-win-core-sidebyside-l1-1-0 enable_api_ms_win_core_sidebyside_l1_1_0
20232 wine_fn_config_makefile dlls/api-ms-win-core-string-l1-1-0 enable_api_ms_win_core_string_l1_1_0
20233 wine_fn_config_makefile dlls/api-ms-win-core-string-l2-1-0 enable_api_ms_win_core_string_l2_1_0
20234 wine_fn_config_makefile dlls/api-ms-win-core-string-obsolete-l1-1-0 enable_api_ms_win_core_string_obsolete_l1_1_0
20235 wine_fn_config_makefile dlls/api-ms-win-core-stringansi-l1-1-0 enable_api_ms_win_core_stringansi_l1_1_0
20236 wine_fn_config_makefile dlls/api-ms-win-core-stringloader-l1-1-1 enable_api_ms_win_core_stringloader_l1_1_1
20237 wine_fn_config_makefile dlls/api-ms-win-core-synch-ansi-l1-1-0 enable_api_ms_win_core_synch_ansi_l1_1_0
20238 wine_fn_config_makefile dlls/api-ms-win-core-synch-l1-1-0 enable_api_ms_win_core_synch_l1_1_0
20239 wine_fn_config_makefile dlls/api-ms-win-core-synch-l1-2-0 enable_api_ms_win_core_synch_l1_2_0
20240 wine_fn_config_makefile dlls/api-ms-win-core-synch-l1-2-1 enable_api_ms_win_core_synch_l1_2_1
20241 wine_fn_config_makefile dlls/api-ms-win-core-sysinfo-l1-1-0 enable_api_ms_win_core_sysinfo_l1_1_0
20242 wine_fn_config_makefile dlls/api-ms-win-core-sysinfo-l1-2-0 enable_api_ms_win_core_sysinfo_l1_2_0
20243 wine_fn_config_makefile dlls/api-ms-win-core-sysinfo-l1-2-1 enable_api_ms_win_core_sysinfo_l1_2_1
20244 wine_fn_config_makefile dlls/api-ms-win-core-systemtopology-l1-1-0 enable_api_ms_win_core_systemtopology_l1_1_0
20245 wine_fn_config_makefile dlls/api-ms-win-core-threadpool-l1-1-0 enable_api_ms_win_core_threadpool_l1_1_0
20246 wine_fn_config_makefile dlls/api-ms-win-core-threadpool-l1-2-0 enable_api_ms_win_core_threadpool_l1_2_0
20247 wine_fn_config_makefile dlls/api-ms-win-core-threadpool-legacy-l1-1-0 enable_api_ms_win_core_threadpool_legacy_l1_1_0
20248 wine_fn_config_makefile dlls/api-ms-win-core-threadpool-private-l1-1-0 enable_api_ms_win_core_threadpool_private_l1_1_0
20249 wine_fn_config_makefile dlls/api-ms-win-core-timezone-l1-1-0 enable_api_ms_win_core_timezone_l1_1_0
20250 wine_fn_config_makefile dlls/api-ms-win-core-toolhelp-l1-1-0 enable_api_ms_win_core_toolhelp_l1_1_0
20251 wine_fn_config_makefile dlls/api-ms-win-core-url-l1-1-0 enable_api_ms_win_core_url_l1_1_0
20252 wine_fn_config_makefile dlls/api-ms-win-core-util-l1-1-0 enable_api_ms_win_core_util_l1_1_0
20253 wine_fn_config_makefile dlls/api-ms-win-core-version-l1-1-0 enable_api_ms_win_core_version_l1_1_0
20254 wine_fn_config_makefile dlls/api-ms-win-core-version-l1-1-1 enable_api_ms_win_core_version_l1_1_1
20255 wine_fn_config_makefile dlls/api-ms-win-core-version-private-l1-1-0 enable_api_ms_win_core_version_private_l1_1_0
20256 wine_fn_config_makefile dlls/api-ms-win-core-versionansi-l1-1-0 enable_api_ms_win_core_versionansi_l1_1_0
20257 wine_fn_config_makefile dlls/api-ms-win-core-windowserrorreporting-l1-1-0 enable_api_ms_win_core_windowserrorreporting_l1_1_0
20258 wine_fn_config_makefile dlls/api-ms-win-core-winrt-error-l1-1-0 enable_api_ms_win_core_winrt_error_l1_1_0
20259 wine_fn_config_makefile dlls/api-ms-win-core-winrt-error-l1-1-1 enable_api_ms_win_core_winrt_error_l1_1_1
20260 wine_fn_config_makefile dlls/api-ms-win-core-winrt-errorprivate-l1-1-1 enable_api_ms_win_core_winrt_errorprivate_l1_1_1
20261 wine_fn_config_makefile dlls/api-ms-win-core-winrt-l1-1-0 enable_api_ms_win_core_winrt_l1_1_0
20262 wine_fn_config_makefile dlls/api-ms-win-core-winrt-registration-l1-1-0 enable_api_ms_win_core_winrt_registration_l1_1_0
20263 wine_fn_config_makefile dlls/api-ms-win-core-winrt-roparameterizediid-l1-1-0 enable_api_ms_win_core_winrt_roparameterizediid_l1_1_0
20264 wine_fn_config_makefile dlls/api-ms-win-core-winrt-string-l1-1-0 enable_api_ms_win_core_winrt_string_l1_1_0
20265 wine_fn_config_makefile dlls/api-ms-win-core-winrt-string-l1-1-1 enable_api_ms_win_core_winrt_string_l1_1_1
20266 wine_fn_config_makefile dlls/api-ms-win-core-wow64-l1-1-0 enable_api_ms_win_core_wow64_l1_1_0
20267 wine_fn_config_makefile dlls/api-ms-win-core-wow64-l1-1-1 enable_api_ms_win_core_wow64_l1_1_1
20268 wine_fn_config_makefile dlls/api-ms-win-core-xstate-l1-1-0 enable_api_ms_win_core_xstate_l1_1_0
20269 wine_fn_config_makefile dlls/api-ms-win-core-xstate-l2-1-0 enable_api_ms_win_core_xstate_l2_1_0
20270 wine_fn_config_makefile dlls/api-ms-win-crt-conio-l1-1-0 enable_api_ms_win_crt_conio_l1_1_0
20271 wine_fn_config_makefile dlls/api-ms-win-crt-convert-l1-1-0 enable_api_ms_win_crt_convert_l1_1_0
20272 wine_fn_config_makefile dlls/api-ms-win-crt-environment-l1-1-0 enable_api_ms_win_crt_environment_l1_1_0
20273 wine_fn_config_makefile dlls/api-ms-win-crt-filesystem-l1-1-0 enable_api_ms_win_crt_filesystem_l1_1_0
20274 wine_fn_config_makefile dlls/api-ms-win-crt-heap-l1-1-0 enable_api_ms_win_crt_heap_l1_1_0
20275 wine_fn_config_makefile dlls/api-ms-win-crt-locale-l1-1-0 enable_api_ms_win_crt_locale_l1_1_0
20276 wine_fn_config_makefile dlls/api-ms-win-crt-math-l1-1-0 enable_api_ms_win_crt_math_l1_1_0
20277 wine_fn_config_makefile dlls/api-ms-win-crt-multibyte-l1-1-0 enable_api_ms_win_crt_multibyte_l1_1_0
20278 wine_fn_config_makefile dlls/api-ms-win-crt-private-l1-1-0 enable_api_ms_win_crt_private_l1_1_0
20279 wine_fn_config_makefile dlls/api-ms-win-crt-process-l1-1-0 enable_api_ms_win_crt_process_l1_1_0
20280 wine_fn_config_makefile dlls/api-ms-win-crt-runtime-l1-1-0 enable_api_ms_win_crt_runtime_l1_1_0
20281 wine_fn_config_makefile dlls/api-ms-win-crt-stdio-l1-1-0 enable_api_ms_win_crt_stdio_l1_1_0
20282 wine_fn_config_makefile dlls/api-ms-win-crt-string-l1-1-0 enable_api_ms_win_crt_string_l1_1_0
20283 wine_fn_config_makefile dlls/api-ms-win-crt-time-l1-1-0 enable_api_ms_win_crt_time_l1_1_0
20284 wine_fn_config_makefile dlls/api-ms-win-crt-utility-l1-1-0 enable_api_ms_win_crt_utility_l1_1_0
20285 wine_fn_config_makefile dlls/api-ms-win-devices-config-l1-1-0 enable_api_ms_win_devices_config_l1_1_0
20286 wine_fn_config_makefile dlls/api-ms-win-devices-config-l1-1-1 enable_api_ms_win_devices_config_l1_1_1
20287 wine_fn_config_makefile dlls/api-ms-win-devices-query-l1-1-1 enable_api_ms_win_devices_query_l1_1_1
20288 wine_fn_config_makefile dlls/api-ms-win-downlevel-advapi32-l1-1-0 enable_api_ms_win_downlevel_advapi32_l1_1_0
20289 wine_fn_config_makefile dlls/api-ms-win-downlevel-advapi32-l2-1-0 enable_api_ms_win_downlevel_advapi32_l2_1_0
20290 wine_fn_config_makefile dlls/api-ms-win-downlevel-kernel32-l2-1-0 enable_api_ms_win_downlevel_kernel32_l2_1_0
20291 wine_fn_config_makefile dlls/api-ms-win-downlevel-normaliz-l1-1-0 enable_api_ms_win_downlevel_normaliz_l1_1_0
20292 wine_fn_config_makefile dlls/api-ms-win-downlevel-ole32-l1-1-0 enable_api_ms_win_downlevel_ole32_l1_1_0
20293 wine_fn_config_makefile dlls/api-ms-win-downlevel-shell32-l1-1-0 enable_api_ms_win_downlevel_shell32_l1_1_0
20294 wine_fn_config_makefile dlls/api-ms-win-downlevel-shlwapi-l1-1-0 enable_api_ms_win_downlevel_shlwapi_l1_1_0
20295 wine_fn_config_makefile dlls/api-ms-win-downlevel-shlwapi-l2-1-0 enable_api_ms_win_downlevel_shlwapi_l2_1_0
20296 wine_fn_config_makefile dlls/api-ms-win-downlevel-user32-l1-1-0 enable_api_ms_win_downlevel_user32_l1_1_0
20297 wine_fn_config_makefile dlls/api-ms-win-downlevel-version-l1-1-0 enable_api_ms_win_downlevel_version_l1_1_0
20298 wine_fn_config_makefile dlls/api-ms-win-dx-d3dkmt-l1-1-0 enable_api_ms_win_dx_d3dkmt_l1_1_0
20299 wine_fn_config_makefile dlls/api-ms-win-eventing-classicprovider-l1-1-0 enable_api_ms_win_eventing_classicprovider_l1_1_0
20300 wine_fn_config_makefile dlls/api-ms-win-eventing-consumer-l1-1-0 enable_api_ms_win_eventing_consumer_l1_1_0
20301 wine_fn_config_makefile dlls/api-ms-win-eventing-controller-l1-1-0 enable_api_ms_win_eventing_controller_l1_1_0
20302 wine_fn_config_makefile dlls/api-ms-win-eventing-legacy-l1-1-0 enable_api_ms_win_eventing_legacy_l1_1_0
20303 wine_fn_config_makefile dlls/api-ms-win-eventing-provider-l1-1-0 enable_api_ms_win_eventing_provider_l1_1_0
20304 wine_fn_config_makefile dlls/api-ms-win-eventlog-legacy-l1-1-0 enable_api_ms_win_eventlog_legacy_l1_1_0
20305 wine_fn_config_makefile dlls/api-ms-win-gdi-dpiinfo-l1-1-0 enable_api_ms_win_gdi_dpiinfo_l1_1_0
20306 wine_fn_config_makefile dlls/api-ms-win-mm-joystick-l1-1-0 enable_api_ms_win_mm_joystick_l1_1_0
20307 wine_fn_config_makefile dlls/api-ms-win-mm-misc-l1-1-1 enable_api_ms_win_mm_misc_l1_1_1
20308 wine_fn_config_makefile dlls/api-ms-win-mm-mme-l1-1-0 enable_api_ms_win_mm_mme_l1_1_0
20309 wine_fn_config_makefile dlls/api-ms-win-mm-time-l1-1-0 enable_api_ms_win_mm_time_l1_1_0
20310 wine_fn_config_makefile dlls/api-ms-win-ntuser-dc-access-l1-1-0 enable_api_ms_win_ntuser_dc_access_l1_1_0
20311 wine_fn_config_makefile dlls/api-ms-win-ntuser-rectangle-l1-1-0 enable_api_ms_win_ntuser_rectangle_l1_1_0
20312 wine_fn_config_makefile dlls/api-ms-win-ntuser-sysparams-l1-1-0 enable_api_ms_win_ntuser_sysparams_l1_1_0
20313 wine_fn_config_makefile dlls/api-ms-win-perf-legacy-l1-1-0 enable_api_ms_win_perf_legacy_l1_1_0
20314 wine_fn_config_makefile dlls/api-ms-win-power-base-l1-1-0 enable_api_ms_win_power_base_l1_1_0
20315 wine_fn_config_makefile dlls/api-ms-win-power-setting-l1-1-0 enable_api_ms_win_power_setting_l1_1_0
20316 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-draw-l1-1-0 enable_api_ms_win_rtcore_ntuser_draw_l1_1_0
20317 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-private-l1-1-0 enable_api_ms_win_rtcore_ntuser_private_l1_1_0
20318 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-private-l1-1-4 enable_api_ms_win_rtcore_ntuser_private_l1_1_4
20319 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-window-l1-1-0 enable_api_ms_win_rtcore_ntuser_window_l1_1_0
20320 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-winevent-l1-1-0 enable_api_ms_win_rtcore_ntuser_winevent_l1_1_0
20321 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-wmpointer-l1-1-0 enable_api_ms_win_rtcore_ntuser_wmpointer_l1_1_0
20322 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-wmpointer-l1-1-3 enable_api_ms_win_rtcore_ntuser_wmpointer_l1_1_3
20323 wine_fn_config_makefile dlls/api-ms-win-security-activedirectoryclient-l1-1-0 enable_api_ms_win_security_activedirectoryclient_l1_1_0
20324 wine_fn_config_makefile dlls/api-ms-win-security-audit-l1-1-1 enable_api_ms_win_security_audit_l1_1_1
20325 wine_fn_config_makefile dlls/api-ms-win-security-base-l1-1-0 enable_api_ms_win_security_base_l1_1_0
20326 wine_fn_config_makefile dlls/api-ms-win-security-base-l1-2-0 enable_api_ms_win_security_base_l1_2_0
20327 wine_fn_config_makefile dlls/api-ms-win-security-base-private-l1-1-1 enable_api_ms_win_security_base_private_l1_1_1
20328 wine_fn_config_makefile dlls/api-ms-win-security-credentials-l1-1-0 enable_api_ms_win_security_credentials_l1_1_0
20329 wine_fn_config_makefile dlls/api-ms-win-security-cryptoapi-l1-1-0 enable_api_ms_win_security_cryptoapi_l1_1_0
20330 wine_fn_config_makefile dlls/api-ms-win-security-grouppolicy-l1-1-0 enable_api_ms_win_security_grouppolicy_l1_1_0
20331 wine_fn_config_makefile dlls/api-ms-win-security-lsalookup-l1-1-0 enable_api_ms_win_security_lsalookup_l1_1_0
20332 wine_fn_config_makefile dlls/api-ms-win-security-lsalookup-l1-1-1 enable_api_ms_win_security_lsalookup_l1_1_1
20333 wine_fn_config_makefile dlls/api-ms-win-security-lsalookup-l2-1-0 enable_api_ms_win_security_lsalookup_l2_1_0
20334 wine_fn_config_makefile dlls/api-ms-win-security-lsalookup-l2-1-1 enable_api_ms_win_security_lsalookup_l2_1_1
20335 wine_fn_config_makefile dlls/api-ms-win-security-lsapolicy-l1-1-0 enable_api_ms_win_security_lsapolicy_l1_1_0
20336 wine_fn_config_makefile dlls/api-ms-win-security-provider-l1-1-0 enable_api_ms_win_security_provider_l1_1_0
20337 wine_fn_config_makefile dlls/api-ms-win-security-sddl-l1-1-0 enable_api_ms_win_security_sddl_l1_1_0
20338 wine_fn_config_makefile dlls/api-ms-win-security-systemfunctions-l1-1-0 enable_api_ms_win_security_systemfunctions_l1_1_0
20339 wine_fn_config_makefile dlls/api-ms-win-service-core-l1-1-0 enable_api_ms_win_service_core_l1_1_0
20340 wine_fn_config_makefile dlls/api-ms-win-service-core-l1-1-1 enable_api_ms_win_service_core_l1_1_1
20341 wine_fn_config_makefile dlls/api-ms-win-service-management-l1-1-0 enable_api_ms_win_service_management_l1_1_0
20342 wine_fn_config_makefile dlls/api-ms-win-service-management-l2-1-0 enable_api_ms_win_service_management_l2_1_0
20343 wine_fn_config_makefile dlls/api-ms-win-service-private-l1-1-1 enable_api_ms_win_service_private_l1_1_1
20344 wine_fn_config_makefile dlls/api-ms-win-service-winsvc-l1-1-0 enable_api_ms_win_service_winsvc_l1_1_0
20345 wine_fn_config_makefile dlls/api-ms-win-service-winsvc-l1-2-0 enable_api_ms_win_service_winsvc_l1_2_0
20346 wine_fn_config_makefile dlls/api-ms-win-shcore-obsolete-l1-1-0 enable_api_ms_win_shcore_obsolete_l1_1_0
20347 wine_fn_config_makefile dlls/api-ms-win-shcore-scaling-l1-1-0 enable_api_ms_win_shcore_scaling_l1_1_0
20348 wine_fn_config_makefile dlls/api-ms-win-shcore-scaling-l1-1-1 enable_api_ms_win_shcore_scaling_l1_1_1
20349 wine_fn_config_makefile dlls/api-ms-win-shcore-stream-l1-1-0 enable_api_ms_win_shcore_stream_l1_1_0
20350 wine_fn_config_makefile dlls/api-ms-win-shcore-stream-winrt-l1-1-0 enable_api_ms_win_shcore_stream_winrt_l1_1_0
20351 wine_fn_config_makefile dlls/api-ms-win-shcore-thread-l1-1-0 enable_api_ms_win_shcore_thread_l1_1_0
20352 wine_fn_config_makefile dlls/api-ms-win-shell-shellcom-l1-1-0 enable_api_ms_win_shell_shellcom_l1_1_0
20353 wine_fn_config_makefile dlls/api-ms-win-shell-shellfolders-l1-1-0 enable_api_ms_win_shell_shellfolders_l1_1_0
20354 wine_fn_config_makefile dlls/apphelp enable_apphelp
20355 wine_fn_config_makefile dlls/apphelp/tests enable_tests
20356 wine_fn_config_makefile dlls/appwiz.cpl enable_appwiz_cpl
20357 wine_fn_config_makefile dlls/atl enable_atl
20358 wine_fn_config_makefile dlls/atl/tests enable_tests
20359 wine_fn_config_makefile dlls/atl100 enable_atl100
20360 wine_fn_config_makefile dlls/atl100/tests enable_tests
20361 wine_fn_config_makefile dlls/atl110 enable_atl110
20362 wine_fn_config_makefile dlls/atl80 enable_atl80
20363 wine_fn_config_makefile dlls/atl80/tests enable_tests
20364 wine_fn_config_makefile dlls/atl90 enable_atl90
20365 wine_fn_config_makefile dlls/atlthunk enable_atlthunk
20366 wine_fn_config_makefile dlls/atlthunk/tests enable_tests
20367 wine_fn_config_makefile dlls/atmlib enable_atmlib
20368 wine_fn_config_makefile dlls/authz enable_authz
20369 wine_fn_config_makefile dlls/avicap32 enable_avicap32
20370 wine_fn_config_makefile dlls/avifil32 enable_avifil32
20371 wine_fn_config_makefile dlls/avifil32/tests enable_tests
20372 wine_fn_config_makefile dlls/avifile.dll16 enable_win16
20373 wine_fn_config_makefile dlls/avrt enable_avrt
20374 wine_fn_config_makefile dlls/bcrypt enable_bcrypt
20375 wine_fn_config_makefile dlls/bcrypt/tests enable_tests
20376 wine_fn_config_makefile dlls/bluetoothapis enable_bluetoothapis
20377 wine_fn_config_makefile dlls/browseui enable_browseui
20378 wine_fn_config_makefile dlls/browseui/tests enable_tests
20379 wine_fn_config_makefile dlls/bthprops.cpl enable_bthprops_cpl
20380 wine_fn_config_makefile dlls/cabinet enable_cabinet
20381 wine_fn_config_makefile dlls/cabinet/tests enable_tests
20382 wine_fn_config_makefile dlls/capi2032 enable_capi2032
20383 wine_fn_config_makefile dlls/cards enable_cards
20384 wine_fn_config_makefile dlls/cdosys enable_cdosys
20385 wine_fn_config_makefile dlls/cfgmgr32 enable_cfgmgr32
20386 wine_fn_config_makefile dlls/clusapi enable_clusapi
20387 wine_fn_config_makefile dlls/combase enable_combase
20388 wine_fn_config_makefile dlls/combase/tests enable_tests
20389 wine_fn_config_makefile dlls/comcat enable_comcat
20390 wine_fn_config_makefile dlls/comcat/tests enable_tests
20391 wine_fn_config_makefile dlls/comctl32 enable_comctl32
20392 wine_fn_config_makefile dlls/comctl32/tests enable_tests
20393 wine_fn_config_makefile dlls/comdlg32 enable_comdlg32
20394 wine_fn_config_makefile dlls/comdlg32/tests enable_tests
20395 wine_fn_config_makefile dlls/comm.drv16 enable_win16
20396 wine_fn_config_makefile dlls/commdlg.dll16 enable_win16
20397 wine_fn_config_makefile dlls/compobj.dll16 enable_win16
20398 wine_fn_config_makefile dlls/compstui enable_compstui
20399 wine_fn_config_makefile dlls/comsvcs enable_comsvcs
20400 wine_fn_config_makefile dlls/comsvcs/tests enable_tests
20401 wine_fn_config_makefile dlls/concrt140 enable_concrt140
20402 wine_fn_config_makefile dlls/concrt140/tests enable_tests
20403 wine_fn_config_makefile dlls/connect enable_connect
20404 wine_fn_config_makefile dlls/credui enable_credui
20405 wine_fn_config_makefile dlls/credui/tests enable_tests
20406 wine_fn_config_makefile dlls/crtdll enable_crtdll
20407 wine_fn_config_makefile dlls/crypt32 enable_crypt32
20408 wine_fn_config_makefile dlls/crypt32/tests enable_tests
20409 wine_fn_config_makefile dlls/cryptdlg enable_cryptdlg
20410 wine_fn_config_makefile dlls/cryptdll enable_cryptdll
20411 wine_fn_config_makefile dlls/cryptext enable_cryptext
20412 wine_fn_config_makefile dlls/cryptnet enable_cryptnet
20413 wine_fn_config_makefile dlls/cryptnet/tests enable_tests
20414 wine_fn_config_makefile dlls/cryptsp enable_cryptsp
20415 wine_fn_config_makefile dlls/cryptui enable_cryptui
20416 wine_fn_config_makefile dlls/cryptui/tests enable_tests
20417 wine_fn_config_makefile dlls/ctapi32 enable_ctapi32
20418 wine_fn_config_makefile dlls/ctl3d.dll16 enable_win16
20419 wine_fn_config_makefile dlls/ctl3d32 enable_ctl3d32
20420 wine_fn_config_makefile dlls/ctl3dv2.dll16 enable_win16
20421 wine_fn_config_makefile dlls/d2d1 enable_d2d1
20422 wine_fn_config_makefile dlls/d2d1/tests enable_tests
20423 wine_fn_config_makefile dlls/d3d10 enable_d3d10
20424 wine_fn_config_makefile dlls/d3d10/tests enable_tests
20425 wine_fn_config_makefile dlls/d3d10_1 enable_d3d10_1
20426 wine_fn_config_makefile dlls/d3d10_1/tests enable_tests
20427 wine_fn_config_makefile dlls/d3d10core enable_d3d10core
20428 wine_fn_config_makefile dlls/d3d10core/tests enable_tests
20429 wine_fn_config_makefile dlls/d3d11 enable_d3d11
20430 wine_fn_config_makefile dlls/d3d11/tests enable_tests
20431 wine_fn_config_makefile dlls/d3d12 enable_d3d12
20432 wine_fn_config_makefile dlls/d3d12/tests enable_tests
20433 wine_fn_config_makefile dlls/d3d8 enable_d3d8
20434 wine_fn_config_makefile dlls/d3d8/tests enable_tests
20435 wine_fn_config_makefile dlls/d3d8thk enable_d3d8thk
20436 wine_fn_config_makefile dlls/d3d9 enable_d3d9
20437 wine_fn_config_makefile dlls/d3d9/tests enable_tests
20438 wine_fn_config_makefile dlls/d3dcompiler_33 enable_d3dcompiler_33
20439 wine_fn_config_makefile dlls/d3dcompiler_34 enable_d3dcompiler_34
20440 wine_fn_config_makefile dlls/d3dcompiler_35 enable_d3dcompiler_35
20441 wine_fn_config_makefile dlls/d3dcompiler_36 enable_d3dcompiler_36
20442 wine_fn_config_makefile dlls/d3dcompiler_37 enable_d3dcompiler_37
20443 wine_fn_config_makefile dlls/d3dcompiler_38 enable_d3dcompiler_38
20444 wine_fn_config_makefile dlls/d3dcompiler_39 enable_d3dcompiler_39
20445 wine_fn_config_makefile dlls/d3dcompiler_40 enable_d3dcompiler_40
20446 wine_fn_config_makefile dlls/d3dcompiler_41 enable_d3dcompiler_41
20447 wine_fn_config_makefile dlls/d3dcompiler_42 enable_d3dcompiler_42
20448 wine_fn_config_makefile dlls/d3dcompiler_43 enable_d3dcompiler_43
20449 wine_fn_config_makefile dlls/d3dcompiler_43/tests enable_tests
20450 wine_fn_config_makefile dlls/d3dcompiler_46 enable_d3dcompiler_46
20451 wine_fn_config_makefile dlls/d3dcompiler_47 enable_d3dcompiler_47
20452 wine_fn_config_makefile dlls/d3dcompiler_47/tests enable_tests
20453 wine_fn_config_makefile dlls/d3dim enable_d3dim
20454 wine_fn_config_makefile dlls/d3dim700 enable_d3dim700
20455 wine_fn_config_makefile dlls/d3drm enable_d3drm
20456 wine_fn_config_makefile dlls/d3drm/tests enable_tests
20457 wine_fn_config_makefile dlls/d3dx10_33 enable_d3dx10_33
20458 wine_fn_config_makefile dlls/d3dx10_34 enable_d3dx10_34
20459 wine_fn_config_makefile dlls/d3dx10_35 enable_d3dx10_35
20460 wine_fn_config_makefile dlls/d3dx10_36 enable_d3dx10_36
20461 wine_fn_config_makefile dlls/d3dx10_37 enable_d3dx10_37
20462 wine_fn_config_makefile dlls/d3dx10_38 enable_d3dx10_38
20463 wine_fn_config_makefile dlls/d3dx10_39 enable_d3dx10_39
20464 wine_fn_config_makefile dlls/d3dx10_40 enable_d3dx10_40
20465 wine_fn_config_makefile dlls/d3dx10_41 enable_d3dx10_41
20466 wine_fn_config_makefile dlls/d3dx10_42 enable_d3dx10_42
20467 wine_fn_config_makefile dlls/d3dx10_43 enable_d3dx10_43
20468 wine_fn_config_makefile dlls/d3dx10_43/tests enable_tests
20469 wine_fn_config_makefile dlls/d3dx11_42 enable_d3dx11_42
20470 wine_fn_config_makefile dlls/d3dx11_43 enable_d3dx11_43
20471 wine_fn_config_makefile dlls/d3dx11_43/tests enable_tests
20472 wine_fn_config_makefile dlls/d3dx9_24 enable_d3dx9_24
20473 wine_fn_config_makefile dlls/d3dx9_25 enable_d3dx9_25
20474 wine_fn_config_makefile dlls/d3dx9_26 enable_d3dx9_26
20475 wine_fn_config_makefile dlls/d3dx9_27 enable_d3dx9_27
20476 wine_fn_config_makefile dlls/d3dx9_28 enable_d3dx9_28
20477 wine_fn_config_makefile dlls/d3dx9_29 enable_d3dx9_29
20478 wine_fn_config_makefile dlls/d3dx9_30 enable_d3dx9_30
20479 wine_fn_config_makefile dlls/d3dx9_31 enable_d3dx9_31
20480 wine_fn_config_makefile dlls/d3dx9_32 enable_d3dx9_32
20481 wine_fn_config_makefile dlls/d3dx9_33 enable_d3dx9_33
20482 wine_fn_config_makefile dlls/d3dx9_34 enable_d3dx9_34
20483 wine_fn_config_makefile dlls/d3dx9_35 enable_d3dx9_35
20484 wine_fn_config_makefile dlls/d3dx9_36 enable_d3dx9_36
20485 wine_fn_config_makefile dlls/d3dx9_36/tests enable_tests
20486 wine_fn_config_makefile dlls/d3dx9_37 enable_d3dx9_37
20487 wine_fn_config_makefile dlls/d3dx9_38 enable_d3dx9_38
20488 wine_fn_config_makefile dlls/d3dx9_39 enable_d3dx9_39
20489 wine_fn_config_makefile dlls/d3dx9_40 enable_d3dx9_40
20490 wine_fn_config_makefile dlls/d3dx9_41 enable_d3dx9_41
20491 wine_fn_config_makefile dlls/d3dx9_42 enable_d3dx9_42
20492 wine_fn_config_makefile dlls/d3dx9_43 enable_d3dx9_43
20493 wine_fn_config_makefile dlls/d3dxof enable_d3dxof
20494 wine_fn_config_makefile dlls/d3dxof/tests enable_tests
20495 wine_fn_config_makefile dlls/davclnt enable_davclnt
20496 wine_fn_config_makefile dlls/dbgeng enable_dbgeng
20497 wine_fn_config_makefile dlls/dbgeng/tests enable_tests
20498 wine_fn_config_makefile dlls/dbghelp enable_dbghelp
20499 wine_fn_config_makefile dlls/dbghelp/tests enable_tests
20500 wine_fn_config_makefile dlls/dciman32 enable_dciman32
20501 wine_fn_config_makefile dlls/dcomp enable_dcomp
20502 wine_fn_config_makefile dlls/ddeml.dll16 enable_win16
20503 wine_fn_config_makefile dlls/ddraw enable_ddraw
20504 wine_fn_config_makefile dlls/ddraw/tests enable_tests
20505 wine_fn_config_makefile dlls/ddrawex enable_ddrawex
20506 wine_fn_config_makefile dlls/ddrawex/tests enable_tests
20507 wine_fn_config_makefile dlls/devenum enable_devenum
20508 wine_fn_config_makefile dlls/devenum/tests enable_tests
20509 wine_fn_config_makefile dlls/dhcpcsvc enable_dhcpcsvc
20510 wine_fn_config_makefile dlls/dhcpcsvc/tests enable_tests
20511 wine_fn_config_makefile dlls/dhtmled.ocx enable_dhtmled_ocx
20512 wine_fn_config_makefile dlls/difxapi enable_difxapi
20513 wine_fn_config_makefile dlls/dinput enable_dinput
20514 wine_fn_config_makefile dlls/dinput/tests enable_tests
20515 wine_fn_config_makefile dlls/dinput8 enable_dinput8
20516 wine_fn_config_makefile dlls/dinput8/tests enable_tests
20517 wine_fn_config_makefile dlls/directmanipulation enable_directmanipulation
20518 wine_fn_config_makefile dlls/directmanipulation/tests enable_tests
20519 wine_fn_config_makefile dlls/dispdib.dll16 enable_win16
20520 wine_fn_config_makefile dlls/dispex enable_dispex
20521 wine_fn_config_makefile dlls/dispex/tests enable_tests
20522 wine_fn_config_makefile dlls/display.drv16 enable_win16
20523 wine_fn_config_makefile dlls/dmband enable_dmband
20524 wine_fn_config_makefile dlls/dmband/tests enable_tests
20525 wine_fn_config_makefile dlls/dmcompos enable_dmcompos
20526 wine_fn_config_makefile dlls/dmcompos/tests enable_tests
20527 wine_fn_config_makefile dlls/dmime enable_dmime
20528 wine_fn_config_makefile dlls/dmime/tests enable_tests
20529 wine_fn_config_makefile dlls/dmloader enable_dmloader
20530 wine_fn_config_makefile dlls/dmloader/tests enable_tests
20531 wine_fn_config_makefile dlls/dmoguids enable_dmoguids
20532 wine_fn_config_makefile dlls/dmscript enable_dmscript
20533 wine_fn_config_makefile dlls/dmscript/tests enable_tests
20534 wine_fn_config_makefile dlls/dmstyle enable_dmstyle
20535 wine_fn_config_makefile dlls/dmstyle/tests enable_tests
20536 wine_fn_config_makefile dlls/dmsynth enable_dmsynth
20537 wine_fn_config_makefile dlls/dmsynth/tests enable_tests
20538 wine_fn_config_makefile dlls/dmusic enable_dmusic
20539 wine_fn_config_makefile dlls/dmusic/tests enable_tests
20540 wine_fn_config_makefile dlls/dmusic32 enable_dmusic32
20541 wine_fn_config_makefile dlls/dnsapi enable_dnsapi
20542 wine_fn_config_makefile dlls/dnsapi/tests enable_tests
20543 wine_fn_config_makefile dlls/dplay enable_dplay
20544 wine_fn_config_makefile dlls/dplayx enable_dplayx
20545 wine_fn_config_makefile dlls/dplayx/tests enable_tests
20546 wine_fn_config_makefile dlls/dpnaddr enable_dpnaddr
20547 wine_fn_config_makefile dlls/dpnet enable_dpnet
20548 wine_fn_config_makefile dlls/dpnet/tests enable_tests
20549 wine_fn_config_makefile dlls/dpnhpast enable_dpnhpast
20550 wine_fn_config_makefile dlls/dpnlobby enable_dpnlobby
20551 wine_fn_config_makefile dlls/dpvoice enable_dpvoice
20552 wine_fn_config_makefile dlls/dpvoice/tests enable_tests
20553 wine_fn_config_makefile dlls/dpwsockx enable_dpwsockx
20554 wine_fn_config_makefile dlls/drmclien enable_drmclien
20555 wine_fn_config_makefile dlls/dsdmo enable_dsdmo
20556 wine_fn_config_makefile dlls/dsdmo/tests enable_tests
20557 wine_fn_config_makefile dlls/dsound enable_dsound
20558 wine_fn_config_makefile dlls/dsound/tests enable_tests
20559 wine_fn_config_makefile dlls/dsquery enable_dsquery
20560 wine_fn_config_makefile dlls/dssenh enable_dssenh
20561 wine_fn_config_makefile dlls/dssenh/tests enable_tests
20562 wine_fn_config_makefile dlls/dsuiext enable_dsuiext
20563 wine_fn_config_makefile dlls/dswave enable_dswave
20564 wine_fn_config_makefile dlls/dswave/tests enable_tests
20565 wine_fn_config_makefile dlls/dwmapi enable_dwmapi
20566 wine_fn_config_makefile dlls/dwmapi/tests enable_tests
20567 wine_fn_config_makefile dlls/dwrite enable_dwrite
20568 wine_fn_config_makefile dlls/dwrite/tests enable_tests
20569 wine_fn_config_makefile dlls/dx8vb enable_dx8vb
20570 wine_fn_config_makefile dlls/dxdiagn enable_dxdiagn
20571 wine_fn_config_makefile dlls/dxdiagn/tests enable_tests
20572 wine_fn_config_makefile dlls/dxerr8 enable_dxerr8
20573 wine_fn_config_makefile dlls/dxerr9 enable_dxerr9
20574 wine_fn_config_makefile dlls/dxgi enable_dxgi
20575 wine_fn_config_makefile dlls/dxgi/tests enable_tests
20576 wine_fn_config_makefile dlls/dxguid enable_dxguid
20577 wine_fn_config_makefile dlls/dxva2 enable_dxva2
20578 wine_fn_config_makefile dlls/dxva2/tests enable_tests
20579 wine_fn_config_makefile dlls/esent enable_esent
20580 wine_fn_config_makefile dlls/evr enable_evr
20581 wine_fn_config_makefile dlls/evr/tests enable_tests
20582 wine_fn_config_makefile dlls/explorerframe enable_explorerframe
20583 wine_fn_config_makefile dlls/explorerframe/tests enable_tests
20584 wine_fn_config_makefile dlls/ext-ms-win-authz-context-l1-1-0 enable_ext_ms_win_authz_context_l1_1_0
20585 wine_fn_config_makefile dlls/ext-ms-win-domainjoin-netjoin-l1-1-0 enable_ext_ms_win_domainjoin_netjoin_l1_1_0
20586 wine_fn_config_makefile dlls/ext-ms-win-dwmapi-ext-l1-1-0 enable_ext_ms_win_dwmapi_ext_l1_1_0
20587 wine_fn_config_makefile dlls/ext-ms-win-gdi-dc-create-l1-1-0 enable_ext_ms_win_gdi_dc_create_l1_1_0
20588 wine_fn_config_makefile dlls/ext-ms-win-gdi-dc-create-l1-1-1 enable_ext_ms_win_gdi_dc_create_l1_1_1
20589 wine_fn_config_makefile dlls/ext-ms-win-gdi-dc-l1-2-0 enable_ext_ms_win_gdi_dc_l1_2_0
20590 wine_fn_config_makefile dlls/ext-ms-win-gdi-devcaps-l1-1-0 enable_ext_ms_win_gdi_devcaps_l1_1_0
20591 wine_fn_config_makefile dlls/ext-ms-win-gdi-draw-l1-1-0 enable_ext_ms_win_gdi_draw_l1_1_0
20592 wine_fn_config_makefile dlls/ext-ms-win-gdi-draw-l1-1-1 enable_ext_ms_win_gdi_draw_l1_1_1
20593 wine_fn_config_makefile dlls/ext-ms-win-gdi-font-l1-1-0 enable_ext_ms_win_gdi_font_l1_1_0
20594 wine_fn_config_makefile dlls/ext-ms-win-gdi-font-l1-1-1 enable_ext_ms_win_gdi_font_l1_1_1
20595 wine_fn_config_makefile dlls/ext-ms-win-gdi-render-l1-1-0 enable_ext_ms_win_gdi_render_l1_1_0
20596 wine_fn_config_makefile dlls/ext-ms-win-kernel32-package-current-l1-1-0 enable_ext_ms_win_kernel32_package_current_l1_1_0
20597 wine_fn_config_makefile dlls/ext-ms-win-kernel32-package-l1-1-1 enable_ext_ms_win_kernel32_package_l1_1_1
20598 wine_fn_config_makefile dlls/ext-ms-win-ntuser-dialogbox-l1-1-0 enable_ext_ms_win_ntuser_dialogbox_l1_1_0
20599 wine_fn_config_makefile dlls/ext-ms-win-ntuser-draw-l1-1-0 enable_ext_ms_win_ntuser_draw_l1_1_0
20600 wine_fn_config_makefile dlls/ext-ms-win-ntuser-gui-l1-1-0 enable_ext_ms_win_ntuser_gui_l1_1_0
20601 wine_fn_config_makefile dlls/ext-ms-win-ntuser-gui-l1-3-0 enable_ext_ms_win_ntuser_gui_l1_3_0
20602 wine_fn_config_makefile dlls/ext-ms-win-ntuser-keyboard-l1-3-0 enable_ext_ms_win_ntuser_keyboard_l1_3_0
20603 wine_fn_config_makefile dlls/ext-ms-win-ntuser-message-l1-1-0 enable_ext_ms_win_ntuser_message_l1_1_0
20604 wine_fn_config_makefile dlls/ext-ms-win-ntuser-message-l1-1-1 enable_ext_ms_win_ntuser_message_l1_1_1
20605 wine_fn_config_makefile dlls/ext-ms-win-ntuser-misc-l1-1-0 enable_ext_ms_win_ntuser_misc_l1_1_0
20606 wine_fn_config_makefile dlls/ext-ms-win-ntuser-misc-l1-2-0 enable_ext_ms_win_ntuser_misc_l1_2_0
20607 wine_fn_config_makefile dlls/ext-ms-win-ntuser-misc-l1-5-1 enable_ext_ms_win_ntuser_misc_l1_5_1
20608 wine_fn_config_makefile dlls/ext-ms-win-ntuser-mouse-l1-1-0 enable_ext_ms_win_ntuser_mouse_l1_1_0
20609 wine_fn_config_makefile dlls/ext-ms-win-ntuser-private-l1-1-1 enable_ext_ms_win_ntuser_private_l1_1_1
20610 wine_fn_config_makefile dlls/ext-ms-win-ntuser-private-l1-3-1 enable_ext_ms_win_ntuser_private_l1_3_1
20611 wine_fn_config_makefile dlls/ext-ms-win-ntuser-rectangle-ext-l1-1-0 enable_ext_ms_win_ntuser_rectangle_ext_l1_1_0
20612 wine_fn_config_makefile dlls/ext-ms-win-ntuser-uicontext-ext-l1-1-0 enable_ext_ms_win_ntuser_uicontext_ext_l1_1_0
20613 wine_fn_config_makefile dlls/ext-ms-win-ntuser-window-l1-1-0 enable_ext_ms_win_ntuser_window_l1_1_0
20614 wine_fn_config_makefile dlls/ext-ms-win-ntuser-window-l1-1-1 enable_ext_ms_win_ntuser_window_l1_1_1
20615 wine_fn_config_makefile dlls/ext-ms-win-ntuser-window-l1-1-4 enable_ext_ms_win_ntuser_window_l1_1_4
20616 wine_fn_config_makefile dlls/ext-ms-win-ntuser-windowclass-l1-1-0 enable_ext_ms_win_ntuser_windowclass_l1_1_0
20617 wine_fn_config_makefile dlls/ext-ms-win-ntuser-windowclass-l1-1-1 enable_ext_ms_win_ntuser_windowclass_l1_1_1
20618 wine_fn_config_makefile dlls/ext-ms-win-oleacc-l1-1-0 enable_ext_ms_win_oleacc_l1_1_0
20619 wine_fn_config_makefile dlls/ext-ms-win-ras-rasapi32-l1-1-0 enable_ext_ms_win_ras_rasapi32_l1_1_0
20620 wine_fn_config_makefile dlls/ext-ms-win-rtcore-gdi-devcaps-l1-1-0 enable_ext_ms_win_rtcore_gdi_devcaps_l1_1_0
20621 wine_fn_config_makefile dlls/ext-ms-win-rtcore-gdi-object-l1-1-0 enable_ext_ms_win_rtcore_gdi_object_l1_1_0
20622 wine_fn_config_makefile dlls/ext-ms-win-rtcore-gdi-rgn-l1-1-0 enable_ext_ms_win_rtcore_gdi_rgn_l1_1_0
20623 wine_fn_config_makefile dlls/ext-ms-win-rtcore-ntuser-cursor-l1-1-0 enable_ext_ms_win_rtcore_ntuser_cursor_l1_1_0
20624 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
20625 wine_fn_config_makefile dlls/ext-ms-win-rtcore-ntuser-dpi-l1-1-0 enable_ext_ms_win_rtcore_ntuser_dpi_l1_1_0
20626 wine_fn_config_makefile dlls/ext-ms-win-rtcore-ntuser-dpi-l1-2-0 enable_ext_ms_win_rtcore_ntuser_dpi_l1_2_0
20627 wine_fn_config_makefile dlls/ext-ms-win-rtcore-ntuser-rawinput-l1-1-0 enable_ext_ms_win_rtcore_ntuser_rawinput_l1_1_0
20628 wine_fn_config_makefile dlls/ext-ms-win-rtcore-ntuser-syscolors-l1-1-0 enable_ext_ms_win_rtcore_ntuser_syscolors_l1_1_0
20629 wine_fn_config_makefile dlls/ext-ms-win-rtcore-ntuser-sysparams-l1-1-0 enable_ext_ms_win_rtcore_ntuser_sysparams_l1_1_0
20630 wine_fn_config_makefile dlls/ext-ms-win-security-credui-l1-1-0 enable_ext_ms_win_security_credui_l1_1_0
20631 wine_fn_config_makefile dlls/ext-ms-win-security-cryptui-l1-1-0 enable_ext_ms_win_security_cryptui_l1_1_0
20632 wine_fn_config_makefile dlls/ext-ms-win-shell-comctl32-init-l1-1-0 enable_ext_ms_win_shell_comctl32_init_l1_1_0
20633 wine_fn_config_makefile dlls/ext-ms-win-shell-comdlg32-l1-1-0 enable_ext_ms_win_shell_comdlg32_l1_1_0
20634 wine_fn_config_makefile dlls/ext-ms-win-shell-shell32-l1-2-0 enable_ext_ms_win_shell_shell32_l1_2_0
20635 wine_fn_config_makefile dlls/ext-ms-win-uxtheme-themes-l1-1-0 enable_ext_ms_win_uxtheme_themes_l1_1_0
20636 wine_fn_config_makefile dlls/faultrep enable_faultrep
20637 wine_fn_config_makefile dlls/faultrep/tests enable_tests
20638 wine_fn_config_makefile dlls/feclient enable_feclient
20639 wine_fn_config_makefile dlls/fltlib enable_fltlib
20640 wine_fn_config_makefile dlls/fltmgr.sys enable_fltmgr_sys
20641 wine_fn_config_makefile dlls/fntcache enable_fntcache
20642 wine_fn_config_makefile dlls/fontsub enable_fontsub
20643 wine_fn_config_makefile dlls/fusion enable_fusion
20644 wine_fn_config_makefile dlls/fusion/tests enable_tests
20645 wine_fn_config_makefile dlls/fwpuclnt enable_fwpuclnt
20646 wine_fn_config_makefile dlls/gameux enable_gameux
20647 wine_fn_config_makefile dlls/gameux/tests enable_tests
20648 wine_fn_config_makefile dlls/gdi.exe16 enable_win16
20649 wine_fn_config_makefile dlls/gdi32 enable_gdi32
20650 wine_fn_config_makefile dlls/gdi32/tests enable_tests
20651 wine_fn_config_makefile dlls/gdiplus enable_gdiplus
20652 wine_fn_config_makefile dlls/gdiplus/tests enable_tests
20653 wine_fn_config_makefile dlls/glu32 enable_glu32
20654 wine_fn_config_makefile dlls/gphoto2.ds enable_gphoto2_ds
20655 wine_fn_config_makefile dlls/gpkcsp enable_gpkcsp
20656 wine_fn_config_makefile dlls/hal enable_hal
20657 wine_fn_config_makefile dlls/hhctrl.ocx enable_hhctrl_ocx
20658 wine_fn_config_makefile dlls/hid enable_hid
20659 wine_fn_config_makefile dlls/hid/tests enable_tests
20660 wine_fn_config_makefile dlls/hidclass.sys enable_hidclass_sys
20661 wine_fn_config_makefile dlls/hlink enable_hlink
20662 wine_fn_config_makefile dlls/hlink/tests enable_tests
20663 wine_fn_config_makefile dlls/hnetcfg enable_hnetcfg
20664 wine_fn_config_makefile dlls/hnetcfg/tests enable_tests
20665 wine_fn_config_makefile dlls/http.sys enable_http_sys
20666 wine_fn_config_makefile dlls/httpapi enable_httpapi
20667 wine_fn_config_makefile dlls/httpapi/tests enable_tests
20668 wine_fn_config_makefile dlls/iccvid enable_iccvid
20669 wine_fn_config_makefile dlls/icmp enable_icmp
20670 wine_fn_config_makefile dlls/ieframe enable_ieframe
20671 wine_fn_config_makefile dlls/ieframe/tests enable_tests
20672 wine_fn_config_makefile dlls/ieproxy enable_ieproxy
20673 wine_fn_config_makefile dlls/ifsmgr.vxd enable_win16
20674 wine_fn_config_makefile dlls/imaadp32.acm enable_imaadp32_acm
20675 wine_fn_config_makefile dlls/imagehlp enable_imagehlp
20676 wine_fn_config_makefile dlls/imagehlp/tests enable_tests
20677 wine_fn_config_makefile dlls/imm.dll16 enable_win16
20678 wine_fn_config_makefile dlls/imm32 enable_imm32
20679 wine_fn_config_makefile dlls/imm32/tests enable_tests
20680 wine_fn_config_makefile dlls/inetcomm enable_inetcomm
20681 wine_fn_config_makefile dlls/inetcomm/tests enable_tests
20682 wine_fn_config_makefile dlls/inetcpl.cpl enable_inetcpl_cpl
20683 wine_fn_config_makefile dlls/inetmib1 enable_inetmib1
20684 wine_fn_config_makefile dlls/inetmib1/tests enable_tests
20685 wine_fn_config_makefile dlls/infosoft enable_infosoft
20686 wine_fn_config_makefile dlls/infosoft/tests enable_tests
20687 wine_fn_config_makefile dlls/initpki enable_initpki
20688 wine_fn_config_makefile dlls/inkobj enable_inkobj
20689 wine_fn_config_makefile dlls/inseng enable_inseng
20690 wine_fn_config_makefile dlls/iphlpapi enable_iphlpapi
20691 wine_fn_config_makefile dlls/iphlpapi/tests enable_tests
20692 wine_fn_config_makefile dlls/iprop enable_iprop
20693 wine_fn_config_makefile dlls/irprops.cpl enable_irprops_cpl
20694 wine_fn_config_makefile dlls/itircl enable_itircl
20695 wine_fn_config_makefile dlls/itss enable_itss
20696 wine_fn_config_makefile dlls/itss/tests enable_tests
20697 wine_fn_config_makefile dlls/joy.cpl enable_joy_cpl
20698 wine_fn_config_makefile dlls/jscript enable_jscript
20699 wine_fn_config_makefile dlls/jscript/tests enable_tests
20700 wine_fn_config_makefile dlls/jsproxy enable_jsproxy
20701 wine_fn_config_makefile dlls/jsproxy/tests enable_tests
20702 wine_fn_config_makefile dlls/kerberos enable_kerberos
20703 wine_fn_config_makefile dlls/kernel32 enable_kernel32
20704 wine_fn_config_makefile dlls/kernel32/tests enable_tests
20705 wine_fn_config_makefile dlls/kernelbase enable_kernelbase
20706 wine_fn_config_makefile dlls/kernelbase/tests enable_tests
20707 wine_fn_config_makefile dlls/keyboard.drv16 enable_win16
20708 wine_fn_config_makefile dlls/krnl386.exe16 enable_win16
20709 wine_fn_config_makefile dlls/ksecdd.sys enable_ksecdd_sys
20710 wine_fn_config_makefile dlls/ksproxy.ax enable_ksproxy_ax
20711 wine_fn_config_makefile dlls/ksuser enable_ksuser
20712 wine_fn_config_makefile dlls/ktmw32 enable_ktmw32
20713 wine_fn_config_makefile dlls/l3codeca.acm enable_l3codeca_acm
20714 wine_fn_config_makefile dlls/loadperf enable_loadperf
20715 wine_fn_config_makefile dlls/localspl enable_localspl
20716 wine_fn_config_makefile dlls/localspl/tests enable_tests
20717 wine_fn_config_makefile dlls/localui enable_localui
20718 wine_fn_config_makefile dlls/localui/tests enable_tests
20719 wine_fn_config_makefile dlls/lz32 enable_lz32
20720 wine_fn_config_makefile dlls/lz32/tests enable_tests
20721 wine_fn_config_makefile dlls/lzexpand.dll16 enable_win16
20722 wine_fn_config_makefile dlls/mapi32 enable_mapi32
20723 wine_fn_config_makefile dlls/mapi32/tests enable_tests
20724 wine_fn_config_makefile dlls/mapistub enable_mapistub
20725 wine_fn_config_makefile dlls/mciavi32 enable_mciavi32
20726 wine_fn_config_makefile dlls/mcicda enable_mcicda
20727 wine_fn_config_makefile dlls/mciqtz32 enable_mciqtz32
20728 wine_fn_config_makefile dlls/mciseq enable_mciseq
20729 wine_fn_config_makefile dlls/mciwave enable_mciwave
20730 wine_fn_config_makefile dlls/mf enable_mf
20731 wine_fn_config_makefile dlls/mf/tests enable_tests
20732 wine_fn_config_makefile dlls/mf3216 enable_mf3216
20733 wine_fn_config_makefile dlls/mferror enable_mferror
20734 wine_fn_config_makefile dlls/mfmediaengine enable_mfmediaengine
20735 wine_fn_config_makefile dlls/mfmediaengine/tests enable_tests
20736 wine_fn_config_makefile dlls/mfplat enable_mfplat
20737 wine_fn_config_makefile dlls/mfplat/tests enable_tests
20738 wine_fn_config_makefile dlls/mfplay enable_mfplay
20739 wine_fn_config_makefile dlls/mfplay/tests enable_tests
20740 wine_fn_config_makefile dlls/mfreadwrite enable_mfreadwrite
20741 wine_fn_config_makefile dlls/mfreadwrite/tests enable_tests
20742 wine_fn_config_makefile dlls/mfuuid enable_mfuuid
20743 wine_fn_config_makefile dlls/mgmtapi enable_mgmtapi
20744 wine_fn_config_makefile dlls/midimap enable_midimap
20745 wine_fn_config_makefile dlls/mlang enable_mlang
20746 wine_fn_config_makefile dlls/mlang/tests enable_tests
20747 wine_fn_config_makefile dlls/mmcndmgr enable_mmcndmgr
20748 wine_fn_config_makefile dlls/mmcndmgr/tests enable_tests
20749 wine_fn_config_makefile dlls/mmdevapi enable_mmdevapi
20750 wine_fn_config_makefile dlls/mmdevapi/tests enable_tests
20751 wine_fn_config_makefile dlls/mmdevldr.vxd enable_win16
20752 wine_fn_config_makefile dlls/mmsystem.dll16 enable_win16
20753 wine_fn_config_makefile dlls/monodebg.vxd enable_win16
20754 wine_fn_config_makefile dlls/mountmgr.sys enable_mountmgr_sys
20755 wine_fn_config_makefile dlls/mouse.drv16 enable_win16
20756 wine_fn_config_makefile dlls/mp3dmod enable_mp3dmod
20757 wine_fn_config_makefile dlls/mp3dmod/tests enable_tests
20758 wine_fn_config_makefile dlls/mpr enable_mpr
20759 wine_fn_config_makefile dlls/mpr/tests enable_tests
20760 wine_fn_config_makefile dlls/mprapi enable_mprapi
20761 wine_fn_config_makefile dlls/msacm.dll16 enable_win16
20762 wine_fn_config_makefile dlls/msacm32.drv enable_msacm32_drv
20763 wine_fn_config_makefile dlls/msacm32 enable_msacm32
20764 wine_fn_config_makefile dlls/msacm32/tests enable_tests
20765 wine_fn_config_makefile dlls/msado15 enable_msado15
20766 wine_fn_config_makefile dlls/msado15/tests enable_tests
20767 wine_fn_config_makefile dlls/msadp32.acm enable_msadp32_acm
20768 wine_fn_config_makefile dlls/msasn1 enable_msasn1
20769 wine_fn_config_makefile dlls/msasn1/tests enable_tests
20770 wine_fn_config_makefile dlls/mscat32 enable_mscat32
20771 wine_fn_config_makefile dlls/mscms enable_mscms
20772 wine_fn_config_makefile dlls/mscms/tests enable_tests
20773 wine_fn_config_makefile dlls/mscoree enable_mscoree
20774 wine_fn_config_makefile dlls/mscoree/tests enable_tests
20775 wine_fn_config_makefile dlls/mscorwks enable_mscorwks
20776 wine_fn_config_makefile dlls/msctf enable_msctf
20777 wine_fn_config_makefile dlls/msctf/tests enable_tests
20778 wine_fn_config_makefile dlls/msctfp enable_msctfp
20779 wine_fn_config_makefile dlls/msdaps enable_msdaps
20780 wine_fn_config_makefile dlls/msdelta enable_msdelta
20781 wine_fn_config_makefile dlls/msdmo enable_msdmo
20782 wine_fn_config_makefile dlls/msdmo/tests enable_tests
20783 wine_fn_config_makefile dlls/msdrm enable_msdrm
20784 wine_fn_config_makefile dlls/msftedit enable_msftedit
20785 wine_fn_config_makefile dlls/msftedit/tests enable_tests
20786 wine_fn_config_makefile dlls/msg711.acm enable_msg711_acm
20787 wine_fn_config_makefile dlls/msgsm32.acm enable_msgsm32_acm
20788 wine_fn_config_makefile dlls/mshtml.tlb enable_mshtml_tlb
20789 wine_fn_config_makefile dlls/mshtml enable_mshtml
20790 wine_fn_config_makefile dlls/mshtml/tests enable_tests
20791 wine_fn_config_makefile dlls/msi enable_msi
20792 wine_fn_config_makefile dlls/msi/tests enable_tests
20793 wine_fn_config_makefile dlls/msident enable_msident
20794 wine_fn_config_makefile dlls/msimg32 enable_msimg32
20795 wine_fn_config_makefile dlls/msimsg enable_msimsg
20796 wine_fn_config_makefile dlls/msimtf enable_msimtf
20797 wine_fn_config_makefile dlls/msisip enable_msisip
20798 wine_fn_config_makefile dlls/msisys.ocx enable_msisys_ocx
20799 wine_fn_config_makefile dlls/msls31 enable_msls31
20800 wine_fn_config_makefile dlls/msnet32 enable_msnet32
20801 wine_fn_config_makefile dlls/mspatcha enable_mspatcha
20802 wine_fn_config_makefile dlls/mspatcha/tests enable_tests
20803 wine_fn_config_makefile dlls/msports enable_msports
20804 wine_fn_config_makefile dlls/msrle32 enable_msrle32
20805 wine_fn_config_makefile dlls/msrle32/tests enable_tests
20806 wine_fn_config_makefile dlls/msscript.ocx enable_msscript_ocx
20807 wine_fn_config_makefile dlls/msscript.ocx/tests enable_tests
20808 wine_fn_config_makefile dlls/mssign32 enable_mssign32
20809 wine_fn_config_makefile dlls/mssip32 enable_mssip32
20810 wine_fn_config_makefile dlls/mstask enable_mstask
20811 wine_fn_config_makefile dlls/mstask/tests enable_tests
20812 wine_fn_config_makefile dlls/msvcirt enable_msvcirt
20813 wine_fn_config_makefile dlls/msvcirt/tests enable_tests
20814 wine_fn_config_makefile dlls/msvcm80 enable_msvcm80
20815 wine_fn_config_makefile dlls/msvcm90 enable_msvcm90
20816 wine_fn_config_makefile dlls/msvcp100 enable_msvcp100
20817 wine_fn_config_makefile dlls/msvcp100/tests enable_tests
20818 wine_fn_config_makefile dlls/msvcp110 enable_msvcp110
20819 wine_fn_config_makefile dlls/msvcp110/tests enable_tests
20820 wine_fn_config_makefile dlls/msvcp120 enable_msvcp120
20821 wine_fn_config_makefile dlls/msvcp120/tests enable_tests
20822 wine_fn_config_makefile dlls/msvcp120_app enable_msvcp120_app
20823 wine_fn_config_makefile dlls/msvcp140 enable_msvcp140
20824 wine_fn_config_makefile dlls/msvcp140/tests enable_tests
20825 wine_fn_config_makefile dlls/msvcp140_1 enable_msvcp140_1
20826 wine_fn_config_makefile dlls/msvcp140_1/tests enable_tests
20827 wine_fn_config_makefile dlls/msvcp60 enable_msvcp60
20828 wine_fn_config_makefile dlls/msvcp60/tests enable_tests
20829 wine_fn_config_makefile dlls/msvcp70 enable_msvcp70
20830 wine_fn_config_makefile dlls/msvcp71 enable_msvcp71
20831 wine_fn_config_makefile dlls/msvcp80 enable_msvcp80
20832 wine_fn_config_makefile dlls/msvcp90 enable_msvcp90
20833 wine_fn_config_makefile dlls/msvcp90/tests enable_tests
20834 wine_fn_config_makefile dlls/msvcr100 enable_msvcr100
20835 wine_fn_config_makefile dlls/msvcr100/tests enable_tests
20836 wine_fn_config_makefile dlls/msvcr110 enable_msvcr110
20837 wine_fn_config_makefile dlls/msvcr110/tests enable_tests
20838 wine_fn_config_makefile dlls/msvcr120 enable_msvcr120
20839 wine_fn_config_makefile dlls/msvcr120/tests enable_tests
20840 wine_fn_config_makefile dlls/msvcr120_app enable_msvcr120_app
20841 wine_fn_config_makefile dlls/msvcr70 enable_msvcr70
20842 wine_fn_config_makefile dlls/msvcr71 enable_msvcr71
20843 wine_fn_config_makefile dlls/msvcr80 enable_msvcr80
20844 wine_fn_config_makefile dlls/msvcr90 enable_msvcr90
20845 wine_fn_config_makefile dlls/msvcr90/tests enable_tests
20846 wine_fn_config_makefile dlls/msvcrt enable_msvcrt
20847 wine_fn_config_makefile dlls/msvcrt/tests enable_tests
20848 wine_fn_config_makefile dlls/msvcrt20 enable_msvcrt20
20849 wine_fn_config_makefile dlls/msvcrt40 enable_msvcrt40
20850 wine_fn_config_makefile dlls/msvcrtd enable_msvcrtd
20851 wine_fn_config_makefile dlls/msvcrtd/tests enable_tests
20852 wine_fn_config_makefile dlls/msvfw32 enable_msvfw32
20853 wine_fn_config_makefile dlls/msvfw32/tests enable_tests
20854 wine_fn_config_makefile dlls/msvidc32 enable_msvidc32
20855 wine_fn_config_makefile dlls/msvideo.dll16 enable_win16
20856 wine_fn_config_makefile dlls/mswsock enable_mswsock
20857 wine_fn_config_makefile dlls/msxml enable_msxml
20858 wine_fn_config_makefile dlls/msxml2 enable_msxml2
20859 wine_fn_config_makefile dlls/msxml3 enable_msxml3
20860 wine_fn_config_makefile dlls/msxml3/tests enable_tests
20861 wine_fn_config_makefile dlls/msxml4 enable_msxml4
20862 wine_fn_config_makefile dlls/msxml6 enable_msxml6
20863 wine_fn_config_makefile dlls/mtxdm enable_mtxdm
20864 wine_fn_config_makefile dlls/ncrypt enable_ncrypt
20865 wine_fn_config_makefile dlls/nddeapi enable_nddeapi
20866 wine_fn_config_makefile dlls/ndis.sys enable_ndis_sys
20867 wine_fn_config_makefile dlls/ndis.sys/tests enable_tests
20868 wine_fn_config_makefile dlls/netapi32 enable_netapi32
20869 wine_fn_config_makefile dlls/netapi32/tests enable_tests
20870 wine_fn_config_makefile dlls/netcfgx enable_netcfgx
20871 wine_fn_config_makefile dlls/netcfgx/tests enable_tests
20872 wine_fn_config_makefile dlls/netio.sys enable_netio_sys
20873 wine_fn_config_makefile dlls/netprofm enable_netprofm
20874 wine_fn_config_makefile dlls/netprofm/tests enable_tests
20875 wine_fn_config_makefile dlls/netutils enable_netutils
20876 wine_fn_config_makefile dlls/newdev enable_newdev
20877 wine_fn_config_makefile dlls/ninput enable_ninput
20878 wine_fn_config_makefile dlls/ninput/tests enable_tests
20879 wine_fn_config_makefile dlls/normaliz enable_normaliz
20880 wine_fn_config_makefile dlls/npmshtml enable_npmshtml
20881 wine_fn_config_makefile dlls/npptools enable_npptools
20882 wine_fn_config_makefile dlls/ntdll enable_ntdll
20883 wine_fn_config_makefile dlls/ntdll/tests enable_tests
20884 wine_fn_config_makefile dlls/ntdsapi enable_ntdsapi
20885 wine_fn_config_makefile dlls/ntdsapi/tests enable_tests
20886 wine_fn_config_makefile dlls/ntoskrnl.exe enable_ntoskrnl_exe
20887 wine_fn_config_makefile dlls/ntoskrnl.exe/tests enable_tests
20888 wine_fn_config_makefile dlls/ntprint enable_ntprint
20889 wine_fn_config_makefile dlls/ntprint/tests enable_tests
20890 wine_fn_config_makefile dlls/objsel enable_objsel
20891 wine_fn_config_makefile dlls/odbc32 enable_odbc32
20892 wine_fn_config_makefile dlls/odbcbcp enable_odbcbcp
20893 wine_fn_config_makefile dlls/odbccp32 enable_odbccp32
20894 wine_fn_config_makefile dlls/odbccp32/tests enable_tests
20895 wine_fn_config_makefile dlls/odbccu32 enable_odbccu32
20896 wine_fn_config_makefile dlls/ole2.dll16 enable_win16
20897 wine_fn_config_makefile dlls/ole2conv.dll16 enable_win16
20898 wine_fn_config_makefile dlls/ole2disp.dll16 enable_win16
20899 wine_fn_config_makefile dlls/ole2nls.dll16 enable_win16
20900 wine_fn_config_makefile dlls/ole2prox.dll16 enable_win16
20901 wine_fn_config_makefile dlls/ole2thk.dll16 enable_win16
20902 wine_fn_config_makefile dlls/ole32 enable_ole32
20903 wine_fn_config_makefile dlls/ole32/tests enable_tests
20904 wine_fn_config_makefile dlls/oleacc enable_oleacc
20905 wine_fn_config_makefile dlls/oleacc/tests enable_tests
20906 wine_fn_config_makefile dlls/oleaut32 enable_oleaut32
20907 wine_fn_config_makefile dlls/oleaut32/tests enable_tests
20908 wine_fn_config_makefile dlls/olecli.dll16 enable_win16
20909 wine_fn_config_makefile dlls/olecli32 enable_olecli32
20910 wine_fn_config_makefile dlls/oledb32 enable_oledb32
20911 wine_fn_config_makefile dlls/oledb32/tests enable_tests
20912 wine_fn_config_makefile dlls/oledlg enable_oledlg
20913 wine_fn_config_makefile dlls/oledlg/tests enable_tests
20914 wine_fn_config_makefile dlls/olepro32 enable_olepro32
20915 wine_fn_config_makefile dlls/olesvr.dll16 enable_win16
20916 wine_fn_config_makefile dlls/olesvr32 enable_olesvr32
20917 wine_fn_config_makefile dlls/olethk32 enable_olethk32
20918 wine_fn_config_makefile dlls/opcservices enable_opcservices
20919 wine_fn_config_makefile dlls/opcservices/tests enable_tests
20920 wine_fn_config_makefile dlls/openal32 enable_openal32
20921 wine_fn_config_makefile dlls/opencl enable_opencl
20922 wine_fn_config_makefile dlls/opengl32 enable_opengl32
20923 wine_fn_config_makefile dlls/opengl32/tests enable_tests
20924 wine_fn_config_makefile dlls/packager enable_packager
20925 wine_fn_config_makefile dlls/packager/tests enable_tests
20926 wine_fn_config_makefile dlls/pdh enable_pdh
20927 wine_fn_config_makefile dlls/pdh/tests enable_tests
20928 wine_fn_config_makefile dlls/photometadatahandler enable_photometadatahandler
20929 wine_fn_config_makefile dlls/pidgen enable_pidgen
20930 wine_fn_config_makefile dlls/powrprof enable_powrprof
20931 wine_fn_config_makefile dlls/printui enable_printui
20932 wine_fn_config_makefile dlls/prntvpt enable_prntvpt
20933 wine_fn_config_makefile dlls/prntvpt/tests enable_tests
20934 wine_fn_config_makefile dlls/propsys enable_propsys
20935 wine_fn_config_makefile dlls/propsys/tests enable_tests
20936 wine_fn_config_makefile dlls/psapi enable_psapi
20937 wine_fn_config_makefile dlls/psapi/tests enable_tests
20938 wine_fn_config_makefile dlls/pstorec enable_pstorec
20939 wine_fn_config_makefile dlls/pstorec/tests enable_tests
20940 wine_fn_config_makefile dlls/pwrshplugin enable_pwrshplugin
20941 wine_fn_config_makefile dlls/qasf enable_qasf
20942 wine_fn_config_makefile dlls/qasf/tests enable_tests
20943 wine_fn_config_makefile dlls/qcap enable_qcap
20944 wine_fn_config_makefile dlls/qcap/tests enable_tests
20945 wine_fn_config_makefile dlls/qdvd enable_qdvd
20946 wine_fn_config_makefile dlls/qdvd/tests enable_tests
20947 wine_fn_config_makefile dlls/qedit enable_qedit
20948 wine_fn_config_makefile dlls/qedit/tests enable_tests
20949 wine_fn_config_makefile dlls/qmgr enable_qmgr
20950 wine_fn_config_makefile dlls/qmgr/tests enable_tests
20951 wine_fn_config_makefile dlls/qmgrprxy enable_qmgrprxy
20952 wine_fn_config_makefile dlls/quartz enable_quartz
20953 wine_fn_config_makefile dlls/quartz/tests enable_tests
20954 wine_fn_config_makefile dlls/query enable_query
20955 wine_fn_config_makefile dlls/qwave enable_qwave
20956 wine_fn_config_makefile dlls/qwave/tests enable_tests
20957 wine_fn_config_makefile dlls/rasapi16.dll16 enable_win16
20958 wine_fn_config_makefile dlls/rasapi32 enable_rasapi32
20959 wine_fn_config_makefile dlls/rasapi32/tests enable_tests
20960 wine_fn_config_makefile dlls/rasdlg enable_rasdlg
20961 wine_fn_config_makefile dlls/regapi enable_regapi
20962 wine_fn_config_makefile dlls/resutils enable_resutils
20963 wine_fn_config_makefile dlls/riched20 enable_riched20
20964 wine_fn_config_makefile dlls/riched20/tests enable_tests
20965 wine_fn_config_makefile dlls/riched32 enable_riched32
20966 wine_fn_config_makefile dlls/riched32/tests enable_tests
20967 wine_fn_config_makefile dlls/rpcrt4 enable_rpcrt4
20968 wine_fn_config_makefile dlls/rpcrt4/tests enable_tests
20969 wine_fn_config_makefile dlls/rsabase enable_rsabase
20970 wine_fn_config_makefile dlls/rsaenh enable_rsaenh
20971 wine_fn_config_makefile dlls/rsaenh/tests enable_tests
20972 wine_fn_config_makefile dlls/rstrtmgr enable_rstrtmgr
20973 wine_fn_config_makefile dlls/rtutils enable_rtutils
20974 wine_fn_config_makefile dlls/rtworkq enable_rtworkq
20975 wine_fn_config_makefile dlls/rtworkq/tests enable_tests
20976 wine_fn_config_makefile dlls/samlib enable_samlib
20977 wine_fn_config_makefile dlls/sane.ds enable_sane_ds
20978 wine_fn_config_makefile dlls/sapi enable_sapi
20979 wine_fn_config_makefile dlls/sapi/tests enable_tests
20980 wine_fn_config_makefile dlls/sas enable_sas
20981 wine_fn_config_makefile dlls/scarddlg enable_scarddlg
20982 wine_fn_config_makefile dlls/sccbase enable_sccbase
20983 wine_fn_config_makefile dlls/schannel enable_schannel
20984 wine_fn_config_makefile dlls/schannel/tests enable_tests
20985 wine_fn_config_makefile dlls/schedsvc enable_schedsvc
20986 wine_fn_config_makefile dlls/schedsvc/tests enable_tests
20987 wine_fn_config_makefile dlls/scrobj enable_scrobj
20988 wine_fn_config_makefile dlls/scrobj/tests enable_tests
20989 wine_fn_config_makefile dlls/scrrun enable_scrrun
20990 wine_fn_config_makefile dlls/scrrun/tests enable_tests
20991 wine_fn_config_makefile dlls/scsiport.sys enable_scsiport_sys
20992 wine_fn_config_makefile dlls/sechost enable_sechost
20993 wine_fn_config_makefile dlls/secur32 enable_secur32
20994 wine_fn_config_makefile dlls/secur32/tests enable_tests
20995 wine_fn_config_makefile dlls/security enable_security
20996 wine_fn_config_makefile dlls/sensapi enable_sensapi
20997 wine_fn_config_makefile dlls/serialui enable_serialui
20998 wine_fn_config_makefile dlls/serialui/tests enable_tests
20999 wine_fn_config_makefile dlls/setupapi enable_setupapi
21000 wine_fn_config_makefile dlls/setupapi/tests enable_tests
21001 wine_fn_config_makefile dlls/setupx.dll16 enable_win16
21002 wine_fn_config_makefile dlls/sfc enable_sfc
21003 wine_fn_config_makefile dlls/sfc_os enable_sfc_os
21004 wine_fn_config_makefile dlls/shcore enable_shcore
21005 wine_fn_config_makefile dlls/shcore/tests enable_tests
21006 wine_fn_config_makefile dlls/shdoclc enable_shdoclc
21007 wine_fn_config_makefile dlls/shdocvw enable_shdocvw
21008 wine_fn_config_makefile dlls/shdocvw/tests enable_tests
21009 wine_fn_config_makefile dlls/shell.dll16 enable_win16
21010 wine_fn_config_makefile dlls/shell32 enable_shell32
21011 wine_fn_config_makefile dlls/shell32/tests enable_tests
21012 wine_fn_config_makefile dlls/shfolder enable_shfolder
21013 wine_fn_config_makefile dlls/shlwapi enable_shlwapi
21014 wine_fn_config_makefile dlls/shlwapi/tests enable_tests
21015 wine_fn_config_makefile dlls/slbcsp enable_slbcsp
21016 wine_fn_config_makefile dlls/slc enable_slc
21017 wine_fn_config_makefile dlls/slc/tests enable_tests
21018 wine_fn_config_makefile dlls/snmpapi enable_snmpapi
21019 wine_fn_config_makefile dlls/snmpapi/tests enable_tests
21020 wine_fn_config_makefile dlls/softpub enable_softpub
21021 wine_fn_config_makefile dlls/sound.drv16 enable_win16
21022 wine_fn_config_makefile dlls/spoolss enable_spoolss
21023 wine_fn_config_makefile dlls/spoolss/tests enable_tests
21024 wine_fn_config_makefile dlls/srclient enable_srclient
21025 wine_fn_config_makefile dlls/srvcli enable_srvcli
21026 wine_fn_config_makefile dlls/sspicli enable_sspicli
21027 wine_fn_config_makefile dlls/stdole2.tlb enable_stdole2_tlb
21028 wine_fn_config_makefile dlls/stdole32.tlb enable_stdole32_tlb
21029 wine_fn_config_makefile dlls/sti enable_sti
21030 wine_fn_config_makefile dlls/sti/tests enable_tests
21031 wine_fn_config_makefile dlls/storage.dll16 enable_win16
21032 wine_fn_config_makefile dlls/stress.dll16 enable_win16
21033 wine_fn_config_makefile dlls/strmbase enable_strmbase
21034 wine_fn_config_makefile dlls/strmdll enable_strmdll
21035 wine_fn_config_makefile dlls/strmiids enable_strmiids
21036 wine_fn_config_makefile dlls/svrapi enable_svrapi
21037 wine_fn_config_makefile dlls/sxs enable_sxs
21038 wine_fn_config_makefile dlls/sxs/tests enable_tests
21039 wine_fn_config_makefile dlls/system.drv16 enable_win16
21040 wine_fn_config_makefile dlls/t2embed enable_t2embed
21041 wine_fn_config_makefile dlls/t2embed/tests enable_tests
21042 wine_fn_config_makefile dlls/tapi32 enable_tapi32
21043 wine_fn_config_makefile dlls/tapi32/tests enable_tests
21044 wine_fn_config_makefile dlls/taskschd enable_taskschd
21045 wine_fn_config_makefile dlls/taskschd/tests enable_tests
21046 wine_fn_config_makefile dlls/tdh enable_tdh
21047 wine_fn_config_makefile dlls/tdi.sys enable_tdi_sys
21048 wine_fn_config_makefile dlls/toolhelp.dll16 enable_win16
21049 wine_fn_config_makefile dlls/traffic enable_traffic
21050 wine_fn_config_makefile dlls/twain.dll16 enable_win16
21051 wine_fn_config_makefile dlls/twain_32 enable_twain_32
21052 wine_fn_config_makefile dlls/twain_32/tests enable_tests
21053 wine_fn_config_makefile dlls/typelib.dll16 enable_win16
21054 wine_fn_config_makefile dlls/tzres enable_tzres
21055 wine_fn_config_makefile dlls/ucrtbase enable_ucrtbase
21056 wine_fn_config_makefile dlls/ucrtbase/tests enable_tests
21057 wine_fn_config_makefile dlls/uianimation enable_uianimation
21058 wine_fn_config_makefile dlls/uianimation/tests enable_tests
21059 wine_fn_config_makefile dlls/uiautomationcore enable_uiautomationcore
21060 wine_fn_config_makefile dlls/uiautomationcore/tests enable_tests
21061 wine_fn_config_makefile dlls/uiribbon enable_uiribbon
21062 wine_fn_config_makefile dlls/unicows enable_unicows
21063 wine_fn_config_makefile dlls/updspapi enable_updspapi
21064 wine_fn_config_makefile dlls/url enable_url
21065 wine_fn_config_makefile dlls/urlmon enable_urlmon
21066 wine_fn_config_makefile dlls/urlmon/tests enable_tests
21067 wine_fn_config_makefile dlls/usbd.sys enable_usbd_sys
21068 wine_fn_config_makefile dlls/user.exe16 enable_win16
21069 wine_fn_config_makefile dlls/user32 enable_user32
21070 wine_fn_config_makefile dlls/user32/tests enable_tests
21071 wine_fn_config_makefile dlls/userenv enable_userenv
21072 wine_fn_config_makefile dlls/userenv/tests enable_tests
21073 wine_fn_config_makefile dlls/usp10 enable_usp10
21074 wine_fn_config_makefile dlls/usp10/tests enable_tests
21075 wine_fn_config_makefile dlls/utildll enable_utildll
21076 wine_fn_config_makefile dlls/uuid enable_uuid
21077 wine_fn_config_makefile dlls/uxtheme enable_uxtheme
21078 wine_fn_config_makefile dlls/uxtheme/tests enable_tests
21079 wine_fn_config_makefile dlls/vbscript enable_vbscript
21080 wine_fn_config_makefile dlls/vbscript/tests enable_tests
21081 wine_fn_config_makefile dlls/vcomp enable_vcomp
21082 wine_fn_config_makefile dlls/vcomp/tests enable_tests
21083 wine_fn_config_makefile dlls/vcomp100 enable_vcomp100
21084 wine_fn_config_makefile dlls/vcomp110 enable_vcomp110
21085 wine_fn_config_makefile dlls/vcomp110/tests enable_tests
21086 wine_fn_config_makefile dlls/vcomp120 enable_vcomp120
21087 wine_fn_config_makefile dlls/vcomp140 enable_vcomp140
21088 wine_fn_config_makefile dlls/vcomp90 enable_vcomp90
21089 wine_fn_config_makefile dlls/vcruntime140 enable_vcruntime140
21090 wine_fn_config_makefile dlls/vcruntime140_1 enable_vcruntime140_1
21091 wine_fn_config_makefile dlls/vdhcp.vxd enable_win16
21092 wine_fn_config_makefile dlls/vdmdbg enable_vdmdbg
21093 wine_fn_config_makefile dlls/ver.dll16 enable_win16
21094 wine_fn_config_makefile dlls/version enable_version
21095 wine_fn_config_makefile dlls/version/tests enable_tests
21096 wine_fn_config_makefile dlls/vga enable_vga
21097 wine_fn_config_makefile dlls/virtdisk enable_virtdisk
21098 wine_fn_config_makefile dlls/virtdisk/tests enable_tests
21099 wine_fn_config_makefile dlls/vmm.vxd enable_win16
21100 wine_fn_config_makefile dlls/vnbt.vxd enable_win16
21101 wine_fn_config_makefile dlls/vnetbios.vxd enable_win16
21102 wine_fn_config_makefile dlls/vssapi enable_vssapi
21103 wine_fn_config_makefile dlls/vtdapi.vxd enable_win16
21104 wine_fn_config_makefile dlls/vulkan-1 enable_vulkan_1
21105 wine_fn_config_makefile dlls/vulkan-1/tests enable_tests
21106 wine_fn_config_makefile dlls/vwin32.vxd enable_win16
21107 wine_fn_config_makefile dlls/w32skrnl enable_win16
21108 wine_fn_config_makefile dlls/w32sys.dll16 enable_win16
21109 wine_fn_config_makefile dlls/wbemdisp enable_wbemdisp
21110 wine_fn_config_makefile dlls/wbemdisp/tests enable_tests
21111 wine_fn_config_makefile dlls/wbemprox enable_wbemprox
21112 wine_fn_config_makefile dlls/wbemprox/tests enable_tests
21113 wine_fn_config_makefile dlls/wbemuuid enable_wbemuuid
21114 wine_fn_config_makefile dlls/wdscore enable_wdscore
21115 wine_fn_config_makefile dlls/webservices enable_webservices
21116 wine_fn_config_makefile dlls/webservices/tests enable_tests
21117 wine_fn_config_makefile dlls/websocket enable_websocket
21118 wine_fn_config_makefile dlls/wer enable_wer
21119 wine_fn_config_makefile dlls/wer/tests enable_tests
21120 wine_fn_config_makefile dlls/wevtapi enable_wevtapi
21121 wine_fn_config_makefile dlls/wevtapi/tests enable_tests
21122 wine_fn_config_makefile dlls/wevtsvc enable_wevtsvc
21123 wine_fn_config_makefile dlls/wiaservc enable_wiaservc
21124 wine_fn_config_makefile dlls/wiaservc/tests enable_tests
21125 wine_fn_config_makefile dlls/wimgapi enable_wimgapi
21126 wine_fn_config_makefile dlls/win32s16.dll16 enable_win16
21127 wine_fn_config_makefile dlls/win87em.dll16 enable_win16
21128 wine_fn_config_makefile dlls/winaspi.dll16 enable_win16
21129 wine_fn_config_makefile dlls/windebug.dll16 enable_win16
21130 wine_fn_config_makefile dlls/windows.gaming.input enable_windows_gaming_input
21131 wine_fn_config_makefile dlls/windows.gaming.input/tests enable_tests
21132 wine_fn_config_makefile dlls/windows.globalization enable_windows_globalization
21133 wine_fn_config_makefile dlls/windows.globalization/tests enable_tests
21134 wine_fn_config_makefile dlls/windows.media.devices enable_windows_media_devices
21135 wine_fn_config_makefile dlls/windows.media.devices/tests enable_tests
21136 wine_fn_config_makefile dlls/windows.media.speech enable_windows_media_speech
21137 wine_fn_config_makefile dlls/windows.media.speech/tests enable_tests
21138 wine_fn_config_makefile dlls/windowscodecs enable_windowscodecs
21139 wine_fn_config_makefile dlls/windowscodecs/tests enable_tests
21140 wine_fn_config_makefile dlls/windowscodecsext enable_windowscodecsext
21141 wine_fn_config_makefile dlls/windowscodecsext/tests enable_tests
21142 wine_fn_config_makefile dlls/winealsa.drv enable_winealsa_drv
21143 wine_fn_config_makefile dlls/wineandroid.drv enable_wineandroid_drv
21144 wine_fn_config_makefile dlls/winebus.sys enable_winebus_sys
21145 wine_fn_config_makefile dlls/winecoreaudio.drv enable_winecoreaudio_drv
21146 wine_fn_config_makefile dlls/winecrt0 enable_winecrt0
21147 wine_fn_config_makefile dlls/wined3d enable_wined3d
21148 wine_fn_config_makefile dlls/winegstreamer enable_winegstreamer
21149 wine_fn_config_makefile dlls/winehid.sys enable_winehid_sys
21150 wine_fn_config_makefile dlls/winejoystick.drv enable_winejoystick_drv
21151 wine_fn_config_makefile dlls/winemac.drv enable_winemac_drv
21152 wine_fn_config_makefile dlls/winemapi enable_winemapi
21153 wine_fn_config_makefile dlls/wineoss.drv enable_wineoss_drv
21154 wine_fn_config_makefile dlls/wineps.drv enable_wineps_drv
21155 wine_fn_config_makefile dlls/wineps16.drv16 enable_win16
21156 wine_fn_config_makefile dlls/winepulse.drv enable_winepulse_drv
21157 wine_fn_config_makefile dlls/wineqtdecoder enable_wineqtdecoder
21158 wine_fn_config_makefile dlls/wineusb.sys enable_wineusb_sys
21159 wine_fn_config_makefile dlls/winevulkan enable_winevulkan
21160 wine_fn_config_makefile dlls/winex11.drv enable_winex11_drv
21161 wine_fn_config_makefile dlls/wing.dll16 enable_win16
21162 wine_fn_config_makefile dlls/wing32 enable_wing32
21163 wine_fn_config_makefile dlls/winhttp enable_winhttp
21164 wine_fn_config_makefile dlls/winhttp/tests enable_tests
21165 wine_fn_config_makefile dlls/wininet enable_wininet
21166 wine_fn_config_makefile dlls/wininet/tests enable_tests
21167 wine_fn_config_makefile dlls/winmm enable_winmm
21168 wine_fn_config_makefile dlls/winmm/tests enable_tests
21169 wine_fn_config_makefile dlls/winnls.dll16 enable_win16
21170 wine_fn_config_makefile dlls/winnls32 enable_winnls32
21171 wine_fn_config_makefile dlls/winscard enable_winscard
21172 wine_fn_config_makefile dlls/winsock.dll16 enable_win16
21173 wine_fn_config_makefile dlls/winspool.drv enable_winspool_drv
21174 wine_fn_config_makefile dlls/winspool.drv/tests enable_tests
21175 wine_fn_config_makefile dlls/winsta enable_winsta
21176 wine_fn_config_makefile dlls/wintab.dll16 enable_win16
21177 wine_fn_config_makefile dlls/wintab32 enable_wintab32
21178 wine_fn_config_makefile dlls/wintab32/tests enable_tests
21179 wine_fn_config_makefile dlls/wintrust enable_wintrust
21180 wine_fn_config_makefile dlls/wintrust/tests enable_tests
21181 wine_fn_config_makefile dlls/winusb enable_winusb
21182 wine_fn_config_makefile dlls/wlanapi enable_wlanapi
21183 wine_fn_config_makefile dlls/wlanapi/tests enable_tests
21184 wine_fn_config_makefile dlls/wlanui enable_wlanui
21185 wine_fn_config_makefile dlls/wldap32 enable_wldap32
21186 wine_fn_config_makefile dlls/wldap32/tests enable_tests
21187 wine_fn_config_makefile dlls/wmasf enable_wmasf
21188 wine_fn_config_makefile dlls/wmcodecdspuuid enable_wmcodecdspuuid
21189 wine_fn_config_makefile dlls/wmi enable_wmi
21190 wine_fn_config_makefile dlls/wmiutils enable_wmiutils
21191 wine_fn_config_makefile dlls/wmiutils/tests enable_tests
21192 wine_fn_config_makefile dlls/wmp enable_wmp
21193 wine_fn_config_makefile dlls/wmp/tests enable_tests
21194 wine_fn_config_makefile dlls/wmphoto enable_wmphoto
21195 wine_fn_config_makefile dlls/wmvcore enable_wmvcore
21196 wine_fn_config_makefile dlls/wmvcore/tests enable_tests
21197 wine_fn_config_makefile dlls/wnaspi32 enable_wnaspi32
21198 wine_fn_config_makefile dlls/wow32 enable_win16
21199 wine_fn_config_makefile dlls/wow64cpu enable_wow64cpu
21200 wine_fn_config_makefile dlls/wpc enable_wpc
21201 wine_fn_config_makefile dlls/wpc/tests enable_tests
21202 wine_fn_config_makefile dlls/wpcap enable_wpcap
21203 wine_fn_config_makefile dlls/ws2_32 enable_ws2_32
21204 wine_fn_config_makefile dlls/ws2_32/tests enable_tests
21205 wine_fn_config_makefile dlls/wsdapi enable_wsdapi
21206 wine_fn_config_makefile dlls/wsdapi/tests enable_tests
21207 wine_fn_config_makefile dlls/wshom.ocx enable_wshom_ocx
21208 wine_fn_config_makefile dlls/wshom.ocx/tests enable_tests
21209 wine_fn_config_makefile dlls/wsnmp32 enable_wsnmp32
21210 wine_fn_config_makefile dlls/wsnmp32/tests enable_tests
21211 wine_fn_config_makefile dlls/wsock32 enable_wsock32
21212 wine_fn_config_makefile dlls/wtsapi32 enable_wtsapi32
21213 wine_fn_config_makefile dlls/wtsapi32/tests enable_tests
21214 wine_fn_config_makefile dlls/wuapi enable_wuapi
21215 wine_fn_config_makefile dlls/wuaueng enable_wuaueng
21216 wine_fn_config_makefile dlls/x3daudio1_0 enable_x3daudio1_0
21217 wine_fn_config_makefile dlls/x3daudio1_1 enable_x3daudio1_1
21218 wine_fn_config_makefile dlls/x3daudio1_2 enable_x3daudio1_2
21219 wine_fn_config_makefile dlls/x3daudio1_3 enable_x3daudio1_3
21220 wine_fn_config_makefile dlls/x3daudio1_4 enable_x3daudio1_4
21221 wine_fn_config_makefile dlls/x3daudio1_5 enable_x3daudio1_5
21222 wine_fn_config_makefile dlls/x3daudio1_6 enable_x3daudio1_6
21223 wine_fn_config_makefile dlls/x3daudio1_7 enable_x3daudio1_7
21224 wine_fn_config_makefile dlls/xactengine2_0 enable_xactengine2_0
21225 wine_fn_config_makefile dlls/xactengine2_4 enable_xactengine2_4
21226 wine_fn_config_makefile dlls/xactengine2_7 enable_xactengine2_7
21227 wine_fn_config_makefile dlls/xactengine2_9 enable_xactengine2_9
21228 wine_fn_config_makefile dlls/xactengine3_0 enable_xactengine3_0
21229 wine_fn_config_makefile dlls/xactengine3_1 enable_xactengine3_1
21230 wine_fn_config_makefile dlls/xactengine3_2 enable_xactengine3_2
21231 wine_fn_config_makefile dlls/xactengine3_3 enable_xactengine3_3
21232 wine_fn_config_makefile dlls/xactengine3_4 enable_xactengine3_4
21233 wine_fn_config_makefile dlls/xactengine3_5 enable_xactengine3_5
21234 wine_fn_config_makefile dlls/xactengine3_6 enable_xactengine3_6
21235 wine_fn_config_makefile dlls/xactengine3_7 enable_xactengine3_7
21236 wine_fn_config_makefile dlls/xactengine3_7/tests enable_tests
21237 wine_fn_config_makefile dlls/xapofx1_1 enable_xapofx1_1
21238 wine_fn_config_makefile dlls/xapofx1_2 enable_xapofx1_2
21239 wine_fn_config_makefile dlls/xapofx1_3 enable_xapofx1_3
21240 wine_fn_config_makefile dlls/xapofx1_4 enable_xapofx1_4
21241 wine_fn_config_makefile dlls/xapofx1_5 enable_xapofx1_5
21242 wine_fn_config_makefile dlls/xaudio2_0 enable_xaudio2_0
21243 wine_fn_config_makefile dlls/xaudio2_1 enable_xaudio2_1
21244 wine_fn_config_makefile dlls/xaudio2_2 enable_xaudio2_2
21245 wine_fn_config_makefile dlls/xaudio2_3 enable_xaudio2_3
21246 wine_fn_config_makefile dlls/xaudio2_4 enable_xaudio2_4
21247 wine_fn_config_makefile dlls/xaudio2_5 enable_xaudio2_5
21248 wine_fn_config_makefile dlls/xaudio2_6 enable_xaudio2_6
21249 wine_fn_config_makefile dlls/xaudio2_7 enable_xaudio2_7
21250 wine_fn_config_makefile dlls/xaudio2_7/tests enable_tests
21251 wine_fn_config_makefile dlls/xaudio2_8 enable_xaudio2_8
21252 wine_fn_config_makefile dlls/xaudio2_9 enable_xaudio2_9
21253 wine_fn_config_makefile dlls/xinput1_1 enable_xinput1_1
21254 wine_fn_config_makefile dlls/xinput1_2 enable_xinput1_2
21255 wine_fn_config_makefile dlls/xinput1_3 enable_xinput1_3
21256 wine_fn_config_makefile dlls/xinput1_3/tests enable_tests
21257 wine_fn_config_makefile dlls/xinput1_4 enable_xinput1_4
21258 wine_fn_config_makefile dlls/xinput9_1_0 enable_xinput9_1_0
21259 wine_fn_config_makefile dlls/xmllite enable_xmllite
21260 wine_fn_config_makefile dlls/xmllite/tests enable_tests
21261 wine_fn_config_makefile dlls/xolehlp enable_xolehlp
21262 wine_fn_config_makefile dlls/xpsprint enable_xpsprint
21263 wine_fn_config_makefile dlls/xpssvcs enable_xpssvcs
21264 wine_fn_config_makefile fonts enable_fonts
21265 wine_fn_config_makefile include enable_include
21266 wine_fn_config_makefile libs/port enable_port
21267 wine_fn_config_makefile libs/wine enable_wine
21268 wine_fn_config_makefile libs/wpp enable_wpp
21269 wine_fn_config_makefile loader enable_loader
21270 wine_fn_config_makefile nls enable_nls
21271 wine_fn_config_makefile po enable_po
21272 wine_fn_config_makefile programs/arp enable_arp
21273 wine_fn_config_makefile programs/aspnet_regiis enable_aspnet_regiis
21274 wine_fn_config_makefile programs/attrib enable_attrib
21275 wine_fn_config_makefile programs/cabarc enable_cabarc
21276 wine_fn_config_makefile programs/cacls enable_cacls
21277 wine_fn_config_makefile programs/chcp.com enable_chcp_com
21278 wine_fn_config_makefile programs/clock enable_clock
21279 wine_fn_config_makefile programs/cmd enable_cmd
21280 wine_fn_config_makefile programs/cmd/tests enable_tests
21281 wine_fn_config_makefile programs/conhost enable_conhost
21282 wine_fn_config_makefile programs/conhost/tests enable_tests
21283 wine_fn_config_makefile programs/control enable_control
21284 wine_fn_config_makefile programs/cscript enable_cscript
21285 wine_fn_config_makefile programs/dism enable_dism
21286 wine_fn_config_makefile programs/dplaysvr enable_dplaysvr
21287 wine_fn_config_makefile programs/dpnsvr enable_dpnsvr
21288 wine_fn_config_makefile programs/dpvsetup enable_dpvsetup
21289 wine_fn_config_makefile programs/dxdiag enable_dxdiag
21290 wine_fn_config_makefile programs/eject enable_eject
21291 wine_fn_config_makefile programs/expand enable_expand
21292 wine_fn_config_makefile programs/explorer enable_explorer
21293 wine_fn_config_makefile programs/extrac32 enable_extrac32
21294 wine_fn_config_makefile programs/fc enable_fc
21295 wine_fn_config_makefile programs/find enable_find
21296 wine_fn_config_makefile programs/find/tests enable_tests
21297 wine_fn_config_makefile programs/findstr enable_findstr
21298 wine_fn_config_makefile programs/fsutil enable_fsutil
21299 wine_fn_config_makefile programs/fsutil/tests enable_tests
21300 wine_fn_config_makefile programs/hh enable_hh
21301 wine_fn_config_makefile programs/hostname enable_hostname
21302 wine_fn_config_makefile programs/icacls enable_icacls
21303 wine_fn_config_makefile programs/icinfo enable_icinfo
21304 wine_fn_config_makefile programs/iexplore enable_iexplore
21305 wine_fn_config_makefile programs/ipconfig enable_ipconfig
21306 wine_fn_config_makefile programs/lodctr enable_lodctr
21307 wine_fn_config_makefile programs/mofcomp enable_mofcomp
21308 wine_fn_config_makefile programs/mshta enable_mshta
21309 wine_fn_config_makefile programs/msidb enable_msidb
21310 wine_fn_config_makefile programs/msiexec enable_msiexec
21311 wine_fn_config_makefile programs/msinfo32 enable_msinfo32
21312 wine_fn_config_makefile programs/net enable_net
21313 wine_fn_config_makefile programs/netsh enable_netsh
21314 wine_fn_config_makefile programs/netstat enable_netstat
21315 wine_fn_config_makefile programs/ngen enable_ngen
21316 wine_fn_config_makefile programs/notepad enable_notepad
21317 wine_fn_config_makefile programs/oleview enable_oleview
21318 wine_fn_config_makefile programs/ping enable_ping
21319 wine_fn_config_makefile programs/plugplay enable_plugplay
21320 wine_fn_config_makefile programs/powershell enable_powershell
21321 wine_fn_config_makefile programs/presentationfontcache enable_presentationfontcache
21322 wine_fn_config_makefile programs/progman enable_progman
21323 wine_fn_config_makefile programs/reg enable_reg
21324 wine_fn_config_makefile programs/reg/tests enable_tests
21325 wine_fn_config_makefile programs/regasm enable_regasm
21326 wine_fn_config_makefile programs/regedit enable_regedit
21327 wine_fn_config_makefile programs/regedit/tests enable_tests
21328 wine_fn_config_makefile programs/regini enable_regini
21329 wine_fn_config_makefile programs/regsvcs enable_regsvcs
21330 wine_fn_config_makefile programs/regsvr32 enable_regsvr32
21331 wine_fn_config_makefile programs/rpcss enable_rpcss
21332 wine_fn_config_makefile programs/rundll.exe16 enable_win16
21333 wine_fn_config_makefile programs/rundll32 enable_rundll32
21334 wine_fn_config_makefile programs/sc enable_sc
21335 wine_fn_config_makefile programs/schtasks enable_schtasks
21336 wine_fn_config_makefile programs/schtasks/tests enable_tests
21337 wine_fn_config_makefile programs/sdbinst enable_sdbinst
21338 wine_fn_config_makefile programs/secedit enable_secedit
21339 wine_fn_config_makefile programs/servicemodelreg enable_servicemodelreg
21340 wine_fn_config_makefile programs/services enable_services
21341 wine_fn_config_makefile programs/services/tests enable_tests
21342 wine_fn_config_makefile programs/shutdown enable_shutdown
21343 wine_fn_config_makefile programs/spoolsv enable_spoolsv
21344 wine_fn_config_makefile programs/start enable_start
21345 wine_fn_config_makefile programs/subst enable_subst
21346 wine_fn_config_makefile programs/svchost enable_svchost
21347 wine_fn_config_makefile programs/systeminfo enable_systeminfo
21348 wine_fn_config_makefile programs/taskkill enable_taskkill
21349 wine_fn_config_makefile programs/tasklist enable_tasklist
21350 wine_fn_config_makefile programs/taskmgr enable_taskmgr
21351 wine_fn_config_makefile programs/termsv enable_termsv
21352 wine_fn_config_makefile programs/uninstaller enable_uninstaller
21353 wine_fn_config_makefile programs/unlodctr enable_unlodctr
21354 wine_fn_config_makefile programs/view enable_view
21355 wine_fn_config_makefile programs/wevtutil enable_wevtutil
21356 wine_fn_config_makefile programs/where enable_where
21357 wine_fn_config_makefile programs/whoami enable_whoami
21358 wine_fn_config_makefile programs/wineboot enable_wineboot
21359 wine_fn_config_makefile programs/winebrowser enable_winebrowser
21360 wine_fn_config_makefile programs/winecfg enable_winecfg
21361 wine_fn_config_makefile programs/wineconsole enable_wineconsole
21362 wine_fn_config_makefile programs/winedbg enable_winedbg
21363 wine_fn_config_makefile programs/winedevice enable_winedevice
21364 wine_fn_config_makefile programs/winefile enable_winefile
21365 wine_fn_config_makefile programs/winemenubuilder enable_winemenubuilder
21366 wine_fn_config_makefile programs/winemine enable_winemine
21367 wine_fn_config_makefile programs/winemsibuilder enable_winemsibuilder
21368 wine_fn_config_makefile programs/winepath enable_winepath
21369 wine_fn_config_makefile programs/winetest enable_winetest
21370 wine_fn_config_makefile programs/winevdm enable_win16
21371 wine_fn_config_makefile programs/winhelp.exe16 enable_win16
21372 wine_fn_config_makefile programs/winhlp32 enable_winhlp32
21373 wine_fn_config_makefile programs/winmgmt enable_winmgmt
21374 wine_fn_config_makefile programs/winoldap.mod16 enable_win16
21375 wine_fn_config_makefile programs/winver enable_winver
21376 wine_fn_config_makefile programs/wmic enable_wmic
21377 wine_fn_config_makefile programs/wmplayer enable_wmplayer
21378 wine_fn_config_makefile programs/wordpad enable_wordpad
21379 wine_fn_config_makefile programs/write enable_write
21380 wine_fn_config_makefile programs/wscript enable_wscript
21381 wine_fn_config_makefile programs/wscript/tests enable_tests
21382 wine_fn_config_makefile programs/wuauserv enable_wuauserv
21383 wine_fn_config_makefile programs/wusa enable_wusa
21384 wine_fn_config_makefile programs/xcopy enable_xcopy
21385 wine_fn_config_makefile programs/xcopy/tests enable_tests
21386 wine_fn_config_makefile server enable_server
21387 test "x$enable_tools" = xno || wine_fn_config_makefile tools enable_tools
21388 test "x$enable_tools" = xno || wine_fn_config_makefile tools/sfnt2fon enable_sfnt2fon
21389 test "x$enable_tools" = xno || wine_fn_config_makefile tools/widl enable_widl
21390 test "x$enable_tools" = xno || wine_fn_config_makefile tools/winebuild enable_winebuild
21391 test "x$enable_tools" = xno || wine_fn_config_makefile tools/winedump enable_winedump
21392 test "x$enable_tools" = xno || wine_fn_config_makefile tools/winegcc enable_winegcc
21393 test "x$enable_tools" = xno || wine_fn_config_makefile tools/winemaker enable_winemaker
21394 test "x$enable_tools" = xno || wine_fn_config_makefile tools/wmc enable_wmc
21395 test "x$enable_tools" = xno || wine_fn_config_makefile tools/wrc enable_wrc
21398 wine_fn_append_file CONFIGURE_TARGETS "TAGS"
21399 wine_fn_append_file CONFIGURE_TARGETS "tags"
21400 wine_fn_append_file CONFIGURE_TARGETS "autom4te.cache"
21401 wine_fn_append_file CONFIGURE_TARGETS "config.log"
21402 wine_fn_append_file CONFIGURE_TARGETS "config.status"
21403 wine_fn_append_file CONFIGURE_TARGETS "include/config.h"
21404 wine_fn_append_file CONFIGURE_TARGETS "include/stamp-h"
21405 test "$wine_binary" = wine || wine_fn_append_file CONFIGURE_TARGETS "loader/wine"
21407 if test "x$enable_tools" != xno
21408 then
21409 wine_fn_append_file CONFIGURE_TARGETS "tools/makedep$ac_exeext"
21410 ac_config_commands="$ac_config_commands tools/makedep"
21414 ac_config_commands="$ac_config_commands Makefile"
21417 ac_config_files="$ac_config_files Make.tmp:Makefile.in"
21421 if test "x$enable_maintainer_mode" = xyes
21422 then
21423 wine_fn_append_rule "configure: configure.ac aclocal.m4
21424 autoconf --warnings=all
21425 include/config.h.in: include/stamp-h.in
21426 include/stamp-h.in: configure.ac aclocal.m4
21427 autoheader --warnings=all
21428 @echo timestamp > \$@"
21431 if test "x$enable_tools" != xno
21432 then
21433 wine_fn_append_rule "tools/makedep$ac_exeext: $srcdir/tools/makedep.c include/config.h config.status
21434 @./config.status tools/makedep
21435 Makefile: tools/makedep$ac_exeext"
21436 else
21437 wine_fn_append_rule "\$(MAKEDEP):
21438 @echo \"You need to run make in $TOOLSDIR first\" && false"
21441 if test -n "$with_wine64"
21442 then
21443 case "$with_wine64" in
21444 /*) reldir="" ;;
21445 *) reldir="../" ;;
21446 esac
21447 rm -f fonts server 2>/dev/null
21448 wine_fn_append_rule "all: loader/wine64 loader/wine64-preloader $with_wine64/loader/wine $with_wine64/loader/wine-preloader
21449 loader/wine64 loader/wine64-preloader:
21450 rm -f \$@ && \$(LN_S) $reldir$with_wine64/\$@ \$@
21451 $with_wine64/loader/wine:
21452 rm -f \$@ && \$(LN_S) $ac_pwd/loader/wine \$@
21453 $with_wine64/loader/wine-preloader:
21454 rm -f \$@ && \$(LN_S) $ac_pwd/loader/wine-preloader \$@
21455 clean::
21456 rm -f loader/wine64 loader/wine64-preloader $with_wine64/loader/wine $with_wine64/loader/wine-preloader"
21457 else
21458 TOP_INSTALL_DEV="$TOP_INSTALL_DEV include"
21459 TOP_INSTALL_LIB="$TOP_INSTALL_LIB \
21460 fonts \
21461 loader/wine.inf \
21462 nls \
21463 programs/msidb/msidb \
21464 programs/msiexec/msiexec \
21465 programs/notepad/notepad \
21466 programs/regedit/regedit \
21467 programs/regsvr32/regsvr32 \
21468 programs/wineboot/wineboot \
21469 programs/winecfg/winecfg \
21470 programs/wineconsole/wineconsole \
21471 programs/winedbg/winedbg \
21472 programs/winefile/winefile \
21473 programs/winemine/winemine \
21474 programs/winepath/winepath \
21475 server/wineserver"
21477 case $host_os in
21478 cygwin*|mingw32*|darwin*|macosx*|linux-android*) ;;
21479 *) TOP_INSTALL_LIB="$TOP_INSTALL_LIB loader/wine.desktop" ;;
21480 esac
21483 $as_echo " done" >&6
21484 cat >confcache <<\_ACEOF
21485 # This file is a shell script that caches the results of configure
21486 # tests run on this system so they can be shared between configure
21487 # scripts and configure runs, see configure's option --config-cache.
21488 # It is not useful on other systems. If it contains results you don't
21489 # want to keep, you may remove or edit it.
21491 # config.status only pays attention to the cache file if you give it
21492 # the --recheck option to rerun configure.
21494 # `ac_cv_env_foo' variables (set or unset) will be overridden when
21495 # loading this file, other *unset* `ac_cv_foo' will be assigned the
21496 # following values.
21498 _ACEOF
21500 # The following way of writing the cache mishandles newlines in values,
21501 # but we know of no workaround that is simple, portable, and efficient.
21502 # So, we kill variables containing newlines.
21503 # Ultrix sh set writes to stderr and can't be redirected directly,
21504 # and sets the high bit in the cache file unless we assign to the vars.
21506 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
21507 eval ac_val=\$$ac_var
21508 case $ac_val in #(
21509 *${as_nl}*)
21510 case $ac_var in #(
21511 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
21512 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
21513 esac
21514 case $ac_var in #(
21515 _ | IFS | as_nl) ;; #(
21516 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
21517 *) { eval $ac_var=; unset $ac_var;} ;;
21518 esac ;;
21519 esac
21520 done
21522 (set) 2>&1 |
21523 case $as_nl`(ac_space=' '; set) 2>&1` in #(
21524 *${as_nl}ac_space=\ *)
21525 # `set' does not quote correctly, so add quotes: double-quote
21526 # substitution turns \\\\ into \\, and sed turns \\ into \.
21527 sed -n \
21528 "s/'/'\\\\''/g;
21529 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
21530 ;; #(
21532 # `set' quotes correctly as required by POSIX, so do not add quotes.
21533 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
21535 esac |
21536 sort
21538 sed '
21539 /^ac_cv_env_/b end
21540 t clear
21541 :clear
21542 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
21543 t end
21544 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
21545 :end' >>confcache
21546 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
21547 if test -w "$cache_file"; then
21548 if test "x$cache_file" != "x/dev/null"; then
21549 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
21550 $as_echo "$as_me: updating cache $cache_file" >&6;}
21551 if test ! -f "$cache_file" || test -h "$cache_file"; then
21552 cat confcache >"$cache_file"
21553 else
21554 case $cache_file in #(
21555 */* | ?:*)
21556 mv -f confcache "$cache_file"$$ &&
21557 mv -f "$cache_file"$$ "$cache_file" ;; #(
21559 mv -f confcache "$cache_file" ;;
21560 esac
21563 else
21564 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
21565 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
21568 rm -f confcache
21570 test "x$prefix" = xNONE && prefix=$ac_default_prefix
21571 # Let make expand exec_prefix.
21572 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
21574 DEFS=-DHAVE_CONFIG_H
21576 ac_libobjs=
21577 ac_ltlibobjs=
21579 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
21580 # 1. Remove the extension, and $U if already installed.
21581 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
21582 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
21583 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
21584 # will be set to the directory where LIBOBJS objects are built.
21585 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
21586 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
21587 done
21588 LIBOBJS=$ac_libobjs
21590 LTLIBOBJS=$ac_ltlibobjs
21594 : "${CONFIG_STATUS=./config.status}"
21595 ac_write_fail=0
21596 ac_clean_files_save=$ac_clean_files
21597 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
21598 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
21599 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
21600 as_write_fail=0
21601 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
21602 #! $SHELL
21603 # Generated by $as_me.
21604 # Run this file to recreate the current configuration.
21605 # Compiler output produced by configure, useful for debugging
21606 # configure, is in config.log if it exists.
21608 debug=false
21609 ac_cs_recheck=false
21610 ac_cs_silent=false
21612 SHELL=\${CONFIG_SHELL-$SHELL}
21613 export SHELL
21614 _ASEOF
21615 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
21616 ## -------------------- ##
21617 ## M4sh Initialization. ##
21618 ## -------------------- ##
21620 # Be more Bourne compatible
21621 DUALCASE=1; export DUALCASE # for MKS sh
21622 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
21623 emulate sh
21624 NULLCMD=:
21625 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
21626 # is contrary to our usage. Disable this feature.
21627 alias -g '${1+"$@"}'='"$@"'
21628 setopt NO_GLOB_SUBST
21629 else
21630 case `(set -o) 2>/dev/null` in #(
21631 *posix*) :
21632 set -o posix ;; #(
21633 *) :
21635 esac
21639 as_nl='
21641 export as_nl
21642 # Printing a long string crashes Solaris 7 /usr/bin/printf.
21643 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
21644 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
21645 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
21646 # Prefer a ksh shell builtin over an external printf program on Solaris,
21647 # but without wasting forks for bash or zsh.
21648 if test -z "$BASH_VERSION$ZSH_VERSION" \
21649 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
21650 as_echo='print -r --'
21651 as_echo_n='print -rn --'
21652 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
21653 as_echo='printf %s\n'
21654 as_echo_n='printf %s'
21655 else
21656 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
21657 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
21658 as_echo_n='/usr/ucb/echo -n'
21659 else
21660 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
21661 as_echo_n_body='eval
21662 arg=$1;
21663 case $arg in #(
21664 *"$as_nl"*)
21665 expr "X$arg" : "X\\(.*\\)$as_nl";
21666 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
21667 esac;
21668 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
21670 export as_echo_n_body
21671 as_echo_n='sh -c $as_echo_n_body as_echo'
21673 export as_echo_body
21674 as_echo='sh -c $as_echo_body as_echo'
21677 # The user is always right.
21678 if test "${PATH_SEPARATOR+set}" != set; then
21679 PATH_SEPARATOR=:
21680 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
21681 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
21682 PATH_SEPARATOR=';'
21687 # IFS
21688 # We need space, tab and new line, in precisely that order. Quoting is
21689 # there to prevent editors from complaining about space-tab.
21690 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
21691 # splitting by setting IFS to empty value.)
21692 IFS=" "" $as_nl"
21694 # Find who we are. Look in the path if we contain no directory separator.
21695 as_myself=
21696 case $0 in #((
21697 *[\\/]* ) as_myself=$0 ;;
21698 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
21699 for as_dir in $PATH
21701 IFS=$as_save_IFS
21702 test -z "$as_dir" && as_dir=.
21703 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
21704 done
21705 IFS=$as_save_IFS
21708 esac
21709 # We did not find ourselves, most probably we were run as `sh COMMAND'
21710 # in which case we are not to be found in the path.
21711 if test "x$as_myself" = x; then
21712 as_myself=$0
21714 if test ! -f "$as_myself"; then
21715 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
21716 exit 1
21719 # Unset variables that we do not need and which cause bugs (e.g. in
21720 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
21721 # suppresses any "Segmentation fault" message there. '((' could
21722 # trigger a bug in pdksh 5.2.14.
21723 for as_var in BASH_ENV ENV MAIL MAILPATH
21724 do eval test x\${$as_var+set} = xset \
21725 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
21726 done
21727 PS1='$ '
21728 PS2='> '
21729 PS4='+ '
21731 # NLS nuisances.
21732 LC_ALL=C
21733 export LC_ALL
21734 LANGUAGE=C
21735 export LANGUAGE
21737 # CDPATH.
21738 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
21741 # as_fn_error STATUS ERROR [LINENO LOG_FD]
21742 # ----------------------------------------
21743 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
21744 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
21745 # script with STATUS, using 1 if that was 0.
21746 as_fn_error ()
21748 as_status=$1; test $as_status -eq 0 && as_status=1
21749 if test "$4"; then
21750 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
21751 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
21753 $as_echo "$as_me: error: $2" >&2
21754 as_fn_exit $as_status
21755 } # as_fn_error
21758 # as_fn_set_status STATUS
21759 # -----------------------
21760 # Set $? to STATUS, without forking.
21761 as_fn_set_status ()
21763 return $1
21764 } # as_fn_set_status
21766 # as_fn_exit STATUS
21767 # -----------------
21768 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
21769 as_fn_exit ()
21771 set +e
21772 as_fn_set_status $1
21773 exit $1
21774 } # as_fn_exit
21776 # as_fn_unset VAR
21777 # ---------------
21778 # Portably unset VAR.
21779 as_fn_unset ()
21781 { eval $1=; unset $1;}
21783 as_unset=as_fn_unset
21784 # as_fn_append VAR VALUE
21785 # ----------------------
21786 # Append the text in VALUE to the end of the definition contained in VAR. Take
21787 # advantage of any shell optimizations that allow amortized linear growth over
21788 # repeated appends, instead of the typical quadratic growth present in naive
21789 # implementations.
21790 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
21791 eval 'as_fn_append ()
21793 eval $1+=\$2
21795 else
21796 as_fn_append ()
21798 eval $1=\$$1\$2
21800 fi # as_fn_append
21802 # as_fn_arith ARG...
21803 # ------------------
21804 # Perform arithmetic evaluation on the ARGs, and store the result in the
21805 # global $as_val. Take advantage of shells that can avoid forks. The arguments
21806 # must be portable across $(()) and expr.
21807 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
21808 eval 'as_fn_arith ()
21810 as_val=$(( $* ))
21812 else
21813 as_fn_arith ()
21815 as_val=`expr "$@" || test $? -eq 1`
21817 fi # as_fn_arith
21820 if expr a : '\(a\)' >/dev/null 2>&1 &&
21821 test "X`expr 00001 : '.*\(...\)'`" = X001; then
21822 as_expr=expr
21823 else
21824 as_expr=false
21827 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
21828 as_basename=basename
21829 else
21830 as_basename=false
21833 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
21834 as_dirname=dirname
21835 else
21836 as_dirname=false
21839 as_me=`$as_basename -- "$0" ||
21840 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
21841 X"$0" : 'X\(//\)$' \| \
21842 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
21843 $as_echo X/"$0" |
21844 sed '/^.*\/\([^/][^/]*\)\/*$/{
21845 s//\1/
21848 /^X\/\(\/\/\)$/{
21849 s//\1/
21852 /^X\/\(\/\).*/{
21853 s//\1/
21856 s/.*/./; q'`
21858 # Avoid depending upon Character Ranges.
21859 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
21860 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
21861 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
21862 as_cr_digits='0123456789'
21863 as_cr_alnum=$as_cr_Letters$as_cr_digits
21865 ECHO_C= ECHO_N= ECHO_T=
21866 case `echo -n x` in #(((((
21867 -n*)
21868 case `echo 'xy\c'` in
21869 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
21870 xy) ECHO_C='\c';;
21871 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
21872 ECHO_T=' ';;
21873 esac;;
21875 ECHO_N='-n';;
21876 esac
21878 rm -f conf$$ conf$$.exe conf$$.file
21879 if test -d conf$$.dir; then
21880 rm -f conf$$.dir/conf$$.file
21881 else
21882 rm -f conf$$.dir
21883 mkdir conf$$.dir 2>/dev/null
21885 if (echo >conf$$.file) 2>/dev/null; then
21886 if ln -s conf$$.file conf$$ 2>/dev/null; then
21887 as_ln_s='ln -s'
21888 # ... but there are two gotchas:
21889 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
21890 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
21891 # In both cases, we have to default to `cp -pR'.
21892 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
21893 as_ln_s='cp -pR'
21894 elif ln conf$$.file conf$$ 2>/dev/null; then
21895 as_ln_s=ln
21896 else
21897 as_ln_s='cp -pR'
21899 else
21900 as_ln_s='cp -pR'
21902 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
21903 rmdir conf$$.dir 2>/dev/null
21906 # as_fn_mkdir_p
21907 # -------------
21908 # Create "$as_dir" as a directory, including parents if necessary.
21909 as_fn_mkdir_p ()
21912 case $as_dir in #(
21913 -*) as_dir=./$as_dir;;
21914 esac
21915 test -d "$as_dir" || eval $as_mkdir_p || {
21916 as_dirs=
21917 while :; do
21918 case $as_dir in #(
21919 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
21920 *) as_qdir=$as_dir;;
21921 esac
21922 as_dirs="'$as_qdir' $as_dirs"
21923 as_dir=`$as_dirname -- "$as_dir" ||
21924 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21925 X"$as_dir" : 'X\(//\)[^/]' \| \
21926 X"$as_dir" : 'X\(//\)$' \| \
21927 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
21928 $as_echo X"$as_dir" |
21929 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
21930 s//\1/
21933 /^X\(\/\/\)[^/].*/{
21934 s//\1/
21937 /^X\(\/\/\)$/{
21938 s//\1/
21941 /^X\(\/\).*/{
21942 s//\1/
21945 s/.*/./; q'`
21946 test -d "$as_dir" && break
21947 done
21948 test -z "$as_dirs" || eval "mkdir $as_dirs"
21949 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
21952 } # as_fn_mkdir_p
21953 if mkdir -p . 2>/dev/null; then
21954 as_mkdir_p='mkdir -p "$as_dir"'
21955 else
21956 test -d ./-p && rmdir ./-p
21957 as_mkdir_p=false
21961 # as_fn_executable_p FILE
21962 # -----------------------
21963 # Test if FILE is an executable regular file.
21964 as_fn_executable_p ()
21966 test -f "$1" && test -x "$1"
21967 } # as_fn_executable_p
21968 as_test_x='test -x'
21969 as_executable_p=as_fn_executable_p
21971 # Sed expression to map a string onto a valid CPP name.
21972 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
21974 # Sed expression to map a string onto a valid variable name.
21975 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
21978 exec 6>&1
21979 ## ----------------------------------- ##
21980 ## Main body of $CONFIG_STATUS script. ##
21981 ## ----------------------------------- ##
21982 _ASEOF
21983 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
21985 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
21986 # Save the log message, to keep $0 and so on meaningful, and to
21987 # report actual input values of CONFIG_FILES etc. instead of their
21988 # values after options handling.
21989 ac_log="
21990 This file was extended by Wine $as_me 6.6, which was
21991 generated by GNU Autoconf 2.69. Invocation command line was
21993 CONFIG_FILES = $CONFIG_FILES
21994 CONFIG_HEADERS = $CONFIG_HEADERS
21995 CONFIG_LINKS = $CONFIG_LINKS
21996 CONFIG_COMMANDS = $CONFIG_COMMANDS
21997 $ $0 $@
21999 on `(hostname || uname -n) 2>/dev/null | sed 1q`
22002 _ACEOF
22004 case $ac_config_files in *"
22005 "*) set x $ac_config_files; shift; ac_config_files=$*;;
22006 esac
22008 case $ac_config_headers in *"
22009 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
22010 esac
22013 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22014 # Files that config.status was made for.
22015 config_files="$ac_config_files"
22016 config_headers="$ac_config_headers"
22017 config_links="$ac_config_links"
22018 config_commands="$ac_config_commands"
22020 _ACEOF
22022 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22023 ac_cs_usage="\
22024 \`$as_me' instantiates files and other configuration actions
22025 from templates according to the current configuration. Unless the files
22026 and actions are specified as TAGs, all are instantiated by default.
22028 Usage: $0 [OPTION]... [TAG]...
22030 -h, --help print this help, then exit
22031 -V, --version print version number and configuration settings, then exit
22032 --config print configuration, then exit
22033 -q, --quiet, --silent
22034 do not print progress messages
22035 -d, --debug don't remove temporary files
22036 --recheck update $as_me by reconfiguring in the same conditions
22037 --file=FILE[:TEMPLATE]
22038 instantiate the configuration file FILE
22039 --header=FILE[:TEMPLATE]
22040 instantiate the configuration header FILE
22042 Configuration files:
22043 $config_files
22045 Configuration headers:
22046 $config_headers
22048 Configuration links:
22049 $config_links
22051 Configuration commands:
22052 $config_commands
22054 Report bugs to <wine-devel@winehq.org>.
22055 Wine home page: <https://www.winehq.org>."
22057 _ACEOF
22058 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22059 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
22060 ac_cs_version="\\
22061 Wine config.status 6.6
22062 configured by $0, generated by GNU Autoconf 2.69,
22063 with options \\"\$ac_cs_config\\"
22065 Copyright (C) 2012 Free Software Foundation, Inc.
22066 This config.status script is free software; the Free Software Foundation
22067 gives unlimited permission to copy, distribute and modify it."
22069 ac_pwd='$ac_pwd'
22070 srcdir='$srcdir'
22071 test -n "\$AWK" || AWK=awk
22072 _ACEOF
22074 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22075 # The default lists apply if the user does not specify any file.
22076 ac_need_defaults=:
22077 while test $# != 0
22079 case $1 in
22080 --*=?*)
22081 ac_option=`expr "X$1" : 'X\([^=]*\)='`
22082 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
22083 ac_shift=:
22085 --*=)
22086 ac_option=`expr "X$1" : 'X\([^=]*\)='`
22087 ac_optarg=
22088 ac_shift=:
22091 ac_option=$1
22092 ac_optarg=$2
22093 ac_shift=shift
22095 esac
22097 case $ac_option in
22098 # Handling of the options.
22099 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
22100 ac_cs_recheck=: ;;
22101 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
22102 $as_echo "$ac_cs_version"; exit ;;
22103 --config | --confi | --conf | --con | --co | --c )
22104 $as_echo "$ac_cs_config"; exit ;;
22105 --debug | --debu | --deb | --de | --d | -d )
22106 debug=: ;;
22107 --file | --fil | --fi | --f )
22108 $ac_shift
22109 case $ac_optarg in
22110 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
22111 '') as_fn_error $? "missing file argument" ;;
22112 esac
22113 as_fn_append CONFIG_FILES " '$ac_optarg'"
22114 ac_need_defaults=false;;
22115 --header | --heade | --head | --hea )
22116 $ac_shift
22117 case $ac_optarg in
22118 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
22119 esac
22120 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
22121 ac_need_defaults=false;;
22122 --he | --h)
22123 # Conflict between --help and --header
22124 as_fn_error $? "ambiguous option: \`$1'
22125 Try \`$0 --help' for more information.";;
22126 --help | --hel | -h )
22127 $as_echo "$ac_cs_usage"; exit ;;
22128 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
22129 | -silent | --silent | --silen | --sile | --sil | --si | --s)
22130 ac_cs_silent=: ;;
22132 # This is an error.
22133 -*) as_fn_error $? "unrecognized option: \`$1'
22134 Try \`$0 --help' for more information." ;;
22136 *) as_fn_append ac_config_targets " $1"
22137 ac_need_defaults=false ;;
22139 esac
22140 shift
22141 done
22143 ac_configure_extra_args=
22145 if $ac_cs_silent; then
22146 exec 6>/dev/null
22147 ac_configure_extra_args="$ac_configure_extra_args --silent"
22150 _ACEOF
22151 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22152 if \$ac_cs_recheck; then
22153 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
22154 shift
22155 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
22156 CONFIG_SHELL='$SHELL'
22157 export CONFIG_SHELL
22158 exec "\$@"
22161 _ACEOF
22162 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22163 exec 5>>config.log
22165 echo
22166 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
22167 ## Running $as_me. ##
22168 _ASBOX
22169 $as_echo "$ac_log"
22170 } >&5
22172 _ACEOF
22173 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22175 # INIT-COMMANDS
22177 wine_fn_output_makedep ()
22179 as_dir=tools; as_fn_mkdir_p
22180 $CC -Iinclude -I$srcdir/include -D__WINESRC__ $EXTRACFLAGS $CPPFLAGS $CFLAGS -o tools/makedep$ac_exeext $srcdir/tools/makedep.c $LDFLAGS
22182 wine_fn_output_makefile ()
22184 cat Make.tmp - <<\_WINE_EOF >\$tmp/makefile && mv -f \$tmp/makefile \$1 && rm -f Make.tmp && "$wine_makedep"$makedep_flags && return
22185 `cat $wine_rules_file`
22186 _WINE_EOF
22187 as_fn_error $? "could not create Makefile" "$LINENO" 5
22190 _ACEOF
22192 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22194 # Handling of arguments.
22195 for ac_config_target in $ac_config_targets
22197 case $ac_config_target in
22198 "include/config.h") CONFIG_HEADERS="$CONFIG_HEADERS include/config.h" ;;
22199 "include/stamp-h") CONFIG_COMMANDS="$CONFIG_COMMANDS include/stamp-h" ;;
22200 "wine") CONFIG_LINKS="$CONFIG_LINKS wine:tools/winewrapper" ;;
22201 "wine64") CONFIG_LINKS="$CONFIG_LINKS wine64:tools/winewrapper" ;;
22202 "tools/makedep") CONFIG_COMMANDS="$CONFIG_COMMANDS tools/makedep" ;;
22203 "Makefile") CONFIG_COMMANDS="$CONFIG_COMMANDS Makefile" ;;
22204 "Make.tmp") CONFIG_FILES="$CONFIG_FILES Make.tmp:Makefile.in" ;;
22206 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
22207 esac
22208 done
22211 # If the user did not use the arguments to specify the items to instantiate,
22212 # then the envvar interface is used. Set only those that are not.
22213 # We use the long form for the default assignment because of an extremely
22214 # bizarre bug on SunOS 4.1.3.
22215 if $ac_need_defaults; then
22216 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
22217 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
22218 test "${CONFIG_LINKS+set}" = set || CONFIG_LINKS=$config_links
22219 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
22222 # Have a temporary directory for convenience. Make it in the build tree
22223 # simply because there is no reason against having it here, and in addition,
22224 # creating and moving files from /tmp can sometimes cause problems.
22225 # Hook for its removal unless debugging.
22226 # Note that there is a small window in which the directory will not be cleaned:
22227 # after its creation but before its name has been assigned to `$tmp'.
22228 $debug ||
22230 tmp= ac_tmp=
22231 trap 'exit_status=$?
22232 : "${ac_tmp:=$tmp}"
22233 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
22235 trap 'as_fn_exit 1' 1 2 13 15
22237 # Create a (secure) tmp directory for tmp files.
22240 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
22241 test -d "$tmp"
22242 } ||
22244 tmp=./conf$$-$RANDOM
22245 (umask 077 && mkdir "$tmp")
22246 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
22247 ac_tmp=$tmp
22249 # Set up the scripts for CONFIG_FILES section.
22250 # No need to generate them if there are no CONFIG_FILES.
22251 # This happens for instance with `./config.status config.h'.
22252 if test -n "$CONFIG_FILES"; then
22255 ac_cr=`echo X | tr X '\015'`
22256 # On cygwin, bash can eat \r inside `` if the user requested igncr.
22257 # But we know of no other shell where ac_cr would be empty at this
22258 # point, so we can use a bashism as a fallback.
22259 if test "x$ac_cr" = x; then
22260 eval ac_cr=\$\'\\r\'
22262 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
22263 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
22264 ac_cs_awk_cr='\\r'
22265 else
22266 ac_cs_awk_cr=$ac_cr
22269 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
22270 _ACEOF
22274 echo "cat >conf$$subs.awk <<_ACEOF" &&
22275 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
22276 echo "_ACEOF"
22277 } >conf$$subs.sh ||
22278 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
22279 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
22280 ac_delim='%!_!# '
22281 for ac_last_try in false false false false false :; do
22282 . ./conf$$subs.sh ||
22283 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
22285 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
22286 if test $ac_delim_n = $ac_delim_num; then
22287 break
22288 elif $ac_last_try; then
22289 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
22290 else
22291 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
22293 done
22294 rm -f conf$$subs.sh
22296 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22297 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
22298 _ACEOF
22299 sed -n '
22301 s/^/S["/; s/!.*/"]=/
22304 s/^[^!]*!//
22305 :repl
22306 t repl
22307 s/'"$ac_delim"'$//
22308 t delim
22311 s/\(.\{148\}\)..*/\1/
22312 t more1
22313 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
22316 b repl
22317 :more1
22318 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
22321 s/.\{148\}//
22322 t nl
22323 :delim
22325 s/\(.\{148\}\)..*/\1/
22326 t more2
22327 s/["\\]/\\&/g; s/^/"/; s/$/"/
22330 :more2
22331 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
22334 s/.\{148\}//
22335 t delim
22336 ' <conf$$subs.awk | sed '
22337 /^[^""]/{
22339 s/\n//
22341 ' >>$CONFIG_STATUS || ac_write_fail=1
22342 rm -f conf$$subs.awk
22343 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22344 _ACAWK
22345 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
22346 for (key in S) S_is_set[key] = 1
22347 FS = "\a"
22351 line = $ 0
22352 nfields = split(line, field, "@")
22353 substed = 0
22354 len = length(field[1])
22355 for (i = 2; i < nfields; i++) {
22356 key = field[i]
22357 keylen = length(key)
22358 if (S_is_set[key]) {
22359 value = S[key]
22360 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
22361 len += length(value) + length(field[++i])
22362 substed = 1
22363 } else
22364 len += 1 + keylen
22367 print line
22370 _ACAWK
22371 _ACEOF
22372 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22373 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
22374 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
22375 else
22377 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
22378 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
22379 _ACEOF
22381 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
22382 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
22383 # trailing colons and then remove the whole line if VPATH becomes empty
22384 # (actually we leave an empty line to preserve line numbers).
22385 if test "x$srcdir" = x.; then
22386 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
22388 s///
22389 s/^/:/
22390 s/[ ]*$/:/
22391 s/:\$(srcdir):/:/g
22392 s/:\${srcdir}:/:/g
22393 s/:@srcdir@:/:/g
22394 s/^:*//
22395 s/:*$//
22397 s/\(=[ ]*\).*/\1/
22399 s/\n//
22400 s/^[^=]*=[ ]*$//
22404 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22405 fi # test -n "$CONFIG_FILES"
22407 # Set up the scripts for CONFIG_HEADERS section.
22408 # No need to generate them if there are no CONFIG_HEADERS.
22409 # This happens for instance with `./config.status Makefile'.
22410 if test -n "$CONFIG_HEADERS"; then
22411 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
22412 BEGIN {
22413 _ACEOF
22415 # Transform confdefs.h into an awk script `defines.awk', embedded as
22416 # here-document in config.status, that substitutes the proper values into
22417 # config.h.in to produce config.h.
22419 # Create a delimiter string that does not exist in confdefs.h, to ease
22420 # handling of long lines.
22421 ac_delim='%!_!# '
22422 for ac_last_try in false false :; do
22423 ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
22424 if test -z "$ac_tt"; then
22425 break
22426 elif $ac_last_try; then
22427 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
22428 else
22429 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
22431 done
22433 # For the awk script, D is an array of macro values keyed by name,
22434 # likewise P contains macro parameters if any. Preserve backslash
22435 # newline sequences.
22437 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
22438 sed -n '
22439 s/.\{148\}/&'"$ac_delim"'/g
22440 t rset
22441 :rset
22442 s/^[ ]*#[ ]*define[ ][ ]*/ /
22443 t def
22445 :def
22446 s/\\$//
22447 t bsnl
22448 s/["\\]/\\&/g
22449 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
22450 D["\1"]=" \3"/p
22451 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
22453 :bsnl
22454 s/["\\]/\\&/g
22455 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
22456 D["\1"]=" \3\\\\\\n"\\/p
22457 t cont
22458 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
22459 t cont
22461 :cont
22463 s/.\{148\}/&'"$ac_delim"'/g
22464 t clear
22465 :clear
22466 s/\\$//
22467 t bsnlc
22468 s/["\\]/\\&/g; s/^/"/; s/$/"/p
22470 :bsnlc
22471 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
22472 b cont
22473 ' <confdefs.h | sed '
22474 s/'"$ac_delim"'/"\\\
22475 "/g' >>$CONFIG_STATUS || ac_write_fail=1
22477 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22478 for (key in D) D_is_set[key] = 1
22479 FS = "\a"
22481 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
22482 line = \$ 0
22483 split(line, arg, " ")
22484 if (arg[1] == "#") {
22485 defundef = arg[2]
22486 mac1 = arg[3]
22487 } else {
22488 defundef = substr(arg[1], 2)
22489 mac1 = arg[2]
22491 split(mac1, mac2, "(") #)
22492 macro = mac2[1]
22493 prefix = substr(line, 1, index(line, defundef) - 1)
22494 if (D_is_set[macro]) {
22495 # Preserve the white space surrounding the "#".
22496 print prefix "define", macro P[macro] D[macro]
22497 next
22498 } else {
22499 # Replace #undef with comments. This is necessary, for example,
22500 # in the case of _POSIX_SOURCE, which is predefined and required
22501 # on some systems where configure will not decide to define it.
22502 if (defundef == "undef") {
22503 print "/*", prefix defundef, macro, "*/"
22504 next
22508 { print }
22509 _ACAWK
22510 _ACEOF
22511 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22512 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
22513 fi # test -n "$CONFIG_HEADERS"
22516 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :L $CONFIG_LINKS :C $CONFIG_COMMANDS"
22517 shift
22518 for ac_tag
22520 case $ac_tag in
22521 :[FHLC]) ac_mode=$ac_tag; continue;;
22522 esac
22523 case $ac_mode$ac_tag in
22524 :[FHL]*:*);;
22525 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
22526 :[FH]-) ac_tag=-:-;;
22527 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
22528 esac
22529 ac_save_IFS=$IFS
22530 IFS=:
22531 set x $ac_tag
22532 IFS=$ac_save_IFS
22533 shift
22534 ac_file=$1
22535 shift
22537 case $ac_mode in
22538 :L) ac_source=$1;;
22539 :[FH])
22540 ac_file_inputs=
22541 for ac_f
22543 case $ac_f in
22544 -) ac_f="$ac_tmp/stdin";;
22545 *) # Look for the file first in the build tree, then in the source tree
22546 # (if the path is not absolute). The absolute path cannot be DOS-style,
22547 # because $ac_f cannot contain `:'.
22548 test -f "$ac_f" ||
22549 case $ac_f in
22550 [\\/$]*) false;;
22551 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
22552 esac ||
22553 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
22554 esac
22555 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
22556 as_fn_append ac_file_inputs " '$ac_f'"
22557 done
22559 # Let's still pretend it is `configure' which instantiates (i.e., don't
22560 # use $as_me), people would be surprised to read:
22561 # /* config.h. Generated by config.status. */
22562 configure_input='Generated from '`
22563 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
22564 `' by configure.'
22565 if test x"$ac_file" != x-; then
22566 configure_input="$ac_file. $configure_input"
22567 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
22568 $as_echo "$as_me: creating $ac_file" >&6;}
22570 # Neutralize special characters interpreted by sed in replacement strings.
22571 case $configure_input in #(
22572 *\&* | *\|* | *\\* )
22573 ac_sed_conf_input=`$as_echo "$configure_input" |
22574 sed 's/[\\\\&|]/\\\\&/g'`;; #(
22575 *) ac_sed_conf_input=$configure_input;;
22576 esac
22578 case $ac_tag in
22579 *:-:* | *:-) cat >"$ac_tmp/stdin" \
22580 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
22581 esac
22583 esac
22585 ac_dir=`$as_dirname -- "$ac_file" ||
22586 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
22587 X"$ac_file" : 'X\(//\)[^/]' \| \
22588 X"$ac_file" : 'X\(//\)$' \| \
22589 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
22590 $as_echo X"$ac_file" |
22591 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
22592 s//\1/
22595 /^X\(\/\/\)[^/].*/{
22596 s//\1/
22599 /^X\(\/\/\)$/{
22600 s//\1/
22603 /^X\(\/\).*/{
22604 s//\1/
22607 s/.*/./; q'`
22608 as_dir="$ac_dir"; as_fn_mkdir_p
22609 ac_builddir=.
22611 case "$ac_dir" in
22612 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
22614 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
22615 # A ".." for each directory in $ac_dir_suffix.
22616 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
22617 case $ac_top_builddir_sub in
22618 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
22619 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
22620 esac ;;
22621 esac
22622 ac_abs_top_builddir=$ac_pwd
22623 ac_abs_builddir=$ac_pwd$ac_dir_suffix
22624 # for backward compatibility:
22625 ac_top_builddir=$ac_top_build_prefix
22627 case $srcdir in
22628 .) # We are building in place.
22629 ac_srcdir=.
22630 ac_top_srcdir=$ac_top_builddir_sub
22631 ac_abs_top_srcdir=$ac_pwd ;;
22632 [\\/]* | ?:[\\/]* ) # Absolute name.
22633 ac_srcdir=$srcdir$ac_dir_suffix;
22634 ac_top_srcdir=$srcdir
22635 ac_abs_top_srcdir=$srcdir ;;
22636 *) # Relative name.
22637 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
22638 ac_top_srcdir=$ac_top_build_prefix$srcdir
22639 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
22640 esac
22641 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
22644 case $ac_mode in
22647 # CONFIG_FILE
22650 _ACEOF
22652 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22653 # If the template does not know about datarootdir, expand it.
22654 # FIXME: This hack should be removed a few years after 2.60.
22655 ac_datarootdir_hack=; ac_datarootdir_seen=
22656 ac_sed_dataroot='
22657 /datarootdir/ {
22661 /@datadir@/p
22662 /@docdir@/p
22663 /@infodir@/p
22664 /@localedir@/p
22665 /@mandir@/p'
22666 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
22667 *datarootdir*) ac_datarootdir_seen=yes;;
22668 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
22669 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
22670 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
22671 _ACEOF
22672 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22673 ac_datarootdir_hack='
22674 s&@datadir@&$datadir&g
22675 s&@docdir@&$docdir&g
22676 s&@infodir@&$infodir&g
22677 s&@localedir@&$localedir&g
22678 s&@mandir@&$mandir&g
22679 s&\\\${datarootdir}&$datarootdir&g' ;;
22680 esac
22681 _ACEOF
22683 # Neutralize VPATH when `$srcdir' = `.'.
22684 # Shell code in configure.ac might set extrasub.
22685 # FIXME: do we really want to maintain this feature?
22686 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22687 ac_sed_extra="$ac_vpsub
22688 $extrasub
22689 _ACEOF
22690 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22692 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
22693 s|@configure_input@|$ac_sed_conf_input|;t t
22694 s&@top_builddir@&$ac_top_builddir_sub&;t t
22695 s&@top_build_prefix@&$ac_top_build_prefix&;t t
22696 s&@srcdir@&$ac_srcdir&;t t
22697 s&@abs_srcdir@&$ac_abs_srcdir&;t t
22698 s&@top_srcdir@&$ac_top_srcdir&;t t
22699 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
22700 s&@builddir@&$ac_builddir&;t t
22701 s&@abs_builddir@&$ac_abs_builddir&;t t
22702 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
22703 $ac_datarootdir_hack
22705 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
22706 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
22708 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
22709 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
22710 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
22711 "$ac_tmp/out"`; test -z "$ac_out"; } &&
22712 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
22713 which seems to be undefined. Please make sure it is defined" >&5
22714 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
22715 which seems to be undefined. Please make sure it is defined" >&2;}
22717 rm -f "$ac_tmp/stdin"
22718 case $ac_file in
22719 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
22720 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
22721 esac \
22722 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
22726 # CONFIG_HEADER
22728 if test x"$ac_file" != x-; then
22730 $as_echo "/* $configure_input */" \
22731 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
22732 } >"$ac_tmp/config.h" \
22733 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
22734 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
22735 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
22736 $as_echo "$as_me: $ac_file is unchanged" >&6;}
22737 else
22738 rm -f "$ac_file"
22739 mv "$ac_tmp/config.h" "$ac_file" \
22740 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
22742 else
22743 $as_echo "/* $configure_input */" \
22744 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
22745 || as_fn_error $? "could not create -" "$LINENO" 5
22750 # CONFIG_LINK
22753 if test "$ac_source" = "$ac_file" && test "$srcdir" = '.'; then
22755 else
22756 # Prefer the file from the source tree if names are identical.
22757 if test "$ac_source" = "$ac_file" || test ! -r "$ac_source"; then
22758 ac_source=$srcdir/$ac_source
22761 { $as_echo "$as_me:${as_lineno-$LINENO}: linking $ac_source to $ac_file" >&5
22762 $as_echo "$as_me: linking $ac_source to $ac_file" >&6;}
22764 if test ! -r "$ac_source"; then
22765 as_fn_error $? "$ac_source: file not found" "$LINENO" 5
22767 rm -f "$ac_file"
22769 # Try a relative symlink, then a hard link, then a copy.
22770 case $ac_source in
22771 [\\/$]* | ?:[\\/]* ) ac_rel_source=$ac_source ;;
22772 *) ac_rel_source=$ac_top_build_prefix$ac_source ;;
22773 esac
22774 ln -s "$ac_rel_source" "$ac_file" 2>/dev/null ||
22775 ln "$ac_source" "$ac_file" 2>/dev/null ||
22776 cp -p "$ac_source" "$ac_file" ||
22777 as_fn_error $? "cannot link or copy $ac_source to $ac_file" "$LINENO" 5
22780 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
22781 $as_echo "$as_me: executing $ac_file commands" >&6;}
22783 esac
22786 case $ac_file$ac_mode in
22787 "include/stamp-h":C) echo timestamp > include/stamp-h ;;
22788 "tools/makedep":C) wine_fn_output_makedep || as_fn_exit $? ;;
22789 "Makefile":C) wine_fn_output_makefile Makefile ;;
22791 esac
22792 done # for ac_tag
22795 as_fn_exit 0
22796 _ACEOF
22797 ac_clean_files=$ac_clean_files_save
22799 test $ac_write_fail = 0 ||
22800 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
22803 # configure is writing to config.log, and then calls config.status.
22804 # config.status does its own redirection, appending to config.log.
22805 # Unfortunately, on DOS this fails, as config.log is still kept open
22806 # by configure, so config.status won't be able to write to it; its
22807 # output is simply discarded. So we exec the FD to /dev/null,
22808 # effectively closing config.log, so it can be properly (re)opened and
22809 # appended to by config.status. When coming back to configure, we
22810 # need to make the FD available again.
22811 if test "$no_create" != yes; then
22812 ac_cs_success=:
22813 ac_config_status_args=
22814 test "$silent" = yes &&
22815 ac_config_status_args="$ac_config_status_args --quiet"
22816 exec 5>/dev/null
22817 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
22818 exec 5>>config.log
22819 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
22820 # would make configure fail if this is the last instruction.
22821 $ac_cs_success || as_fn_exit 1
22823 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
22824 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
22825 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
22829 if test "$no_create" = "yes"
22830 then
22831 exit 0
22834 ac_save_IFS="$IFS"
22835 if test "x$wine_notices" != x; then
22836 echo >&6
22837 IFS="|"
22838 for msg in $wine_notices; do
22839 IFS="$ac_save_IFS"
22840 if ${msg:+false} :; then :
22842 else
22843 { $as_echo "$as_me:${as_lineno-$LINENO}: $msg" >&5
22844 $as_echo "$as_me: $msg" >&6;}
22846 done
22848 IFS="|"
22849 for msg in $wine_warnings; do
22850 IFS="$ac_save_IFS"
22851 if ${msg:+false} :; then :
22853 else
22854 echo >&2
22855 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $msg" >&5
22856 $as_echo "$as_me: WARNING: $msg" >&2;}
22858 done
22859 IFS="$ac_save_IFS"
22861 $as_echo "
22862 $as_me: Finished. Do '${ac_make}' to compile Wine.
22863 " >&6