reg: Improve initial syntax checks during the 'export' operation.
[wine.git] / configure
bloba19bb0b9581910231ef64f3e8962ac293d8b5094
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.69 for Wine 6.5.
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.5'
584 PACKAGE_STRING='Wine 6.5'
585 PACKAGE_BUGREPORT='wine-devel@winehq.org'
586 PACKAGE_URL='https://www.winehq.org'
588 ac_unique_file="server/atom.c"
589 # Factoring default headers for most tests.
590 ac_includes_default="\
591 #include <stdio.h>
592 #ifdef HAVE_SYS_TYPES_H
593 # include <sys/types.h>
594 #endif
595 #ifdef HAVE_SYS_STAT_H
596 # include <sys/stat.h>
597 #endif
598 #ifdef STDC_HEADERS
599 # include <stdlib.h>
600 # include <stddef.h>
601 #else
602 # ifdef HAVE_STDLIB_H
603 # include <stdlib.h>
604 # endif
605 #endif
606 #ifdef HAVE_STRING_H
607 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
608 # include <memory.h>
609 # endif
610 # include <string.h>
611 #endif
612 #ifdef HAVE_STRINGS_H
613 # include <strings.h>
614 #endif
615 #ifdef HAVE_INTTYPES_H
616 # include <inttypes.h>
617 #endif
618 #ifdef HAVE_STDINT_H
619 # include <stdint.h>
620 #endif
621 #ifdef HAVE_UNISTD_H
622 # include <unistd.h>
623 #endif"
625 ac_subst_vars='LTLIBOBJS
626 LIBOBJS
627 ALL_VARS_RULES
628 LDAP_LIBS
629 LDAP_CFLAGS
630 RT_LIBS
631 POLL_LIBS
632 TOOLSEXT
633 MSVCRTFLAGS
634 EXTRACFLAGS
635 VKD3D_SHADER_LIBS
636 VKD3D_SHADER_CFLAGS
637 VKD3D_LIBS
638 VKD3D_CFLAGS
639 NETAPI_LIBS
640 NETAPI_CFLAGS
641 PROCSTAT_LIBS
642 KSTAT_LIBS
643 MPG123_LIBS
644 MPG123_CFLAGS
645 TIFF_LIBS
646 TIFF_CFLAGS
647 PNG_LIBS
648 PNG_CFLAGS
649 JXRLIB_LIBS
650 JXRLIB_CFLAGS
651 JPEG_LIBS
652 JPEG_CFLAGS
653 GSSAPI_LIBS
654 GSSAPI_CFLAGS
655 KRB5_LIBS
656 KRB5_CFLAGS
657 FONTCONFIG_LIBS
658 FONTCONFIG_CFLAGS
659 CUPS_LIBS
660 CUPS_CFLAGS
661 CAPI20_LIBS
662 CAPI20_CFLAGS
663 FAUDIO_LIBS
664 FAUDIO_CFLAGS
665 SDL2_LIBS
666 SDL2_CFLAGS
667 UNWIND_LIBS
668 UNWIND_CFLAGS
669 UDEV_LIBS
670 UDEV_CFLAGS
671 OSS4_LIBS
672 OSS4_CFLAGS
673 ALSA_LIBS
674 GSTREAMER_LIBS
675 GSTREAMER_CFLAGS
676 PULSE_LIBS
677 PULSE_CFLAGS
678 GETTEXTPO_LIBS
679 FREETYPE_LIBS
680 FREETYPE_CFLAGS
681 LCMS2_LIBS
682 LCMS2_CFLAGS
683 RESOLV_LIBS
684 GPHOTO2_PORT_LIBS
685 GPHOTO2_PORT_CFLAGS
686 GPHOTO2_LIBS
687 GPHOTO2_CFLAGS
688 USB_LIBS
689 USB_CFLAGS
690 SANE_LIBS
691 SANE_CFLAGS
692 GNUTLS_LIBS
693 GNUTLS_CFLAGS
694 HAL_LIBS
695 HAL_CFLAGS
696 DBUS_LIBS
697 DBUS_CFLAGS
698 INOTIFY_LIBS
699 INOTIFY_CFLAGS
700 XSLT_LIBS
701 XSLT_CFLAGS
702 XML2_LIBS
703 XML2_CFLAGS
704 PCAP_LIBS
705 X_EXTRA_LIBS
706 X_LIBS
707 X_PRE_LIBS
708 X_CFLAGS
709 XMKMF
710 PTHREAD_LIBS
711 EXCESS_PRECISION_CFLAGS
712 CROSSDEBUG
713 DELAYLOADFLAG
714 CROSSLDFLAGS
715 EXTRACROSSCFLAGS
716 CROSSCFLAGS
717 CROSSCC
718 CROSSTARGET
719 LIBWINE_DEPENDS
720 PRELINK
721 WINELOADER_DEPENDS
722 LIBWINE_LDFLAGS
723 LIBWINE_SHAREDLIB
724 METAL_LIBS
725 CARBON_LIBS
726 QUICKTIME_LIBS
727 OPENCL_LIBS
728 OPENAL_LIBS
729 COREAUDIO_LIBS
730 SECURITY_LIBS
731 DISKARBITRATION_LIBS
732 SYSTEMCONFIGURATION_LIBS
733 APPKIT_LIBS
734 CORESERVICES_LIBS
735 APPLICATIONSERVICES_LIBS
736 FORCEFEEDBACK_LIBS
737 IOKIT_LIBS
738 COREFOUNDATION_LIBS
739 OBJCPP
740 ac_ct_OBJC
741 OBJCFLAGS
742 OBJC
743 DLLTOOL
744 WINELOADER_PROGRAMS
745 CONFIGURE_TARGETS
746 DISABLED_SUBDIRS
747 SUBDIRS
748 READELF
749 OTOOL
751 WINEPRELOADER_LDFLAGS
752 WINELOADER_LDFLAGS
753 TOP_INSTALL_DEV
754 TOP_INSTALL_LIB
755 LDEXECFLAGS
756 LDDLLFLAGS
757 DLLFLAGS
759 OPENGL_LIBS
760 I386_LIBS
761 ICOTOOL
762 CONVERT
763 RSVG
764 FONTFORGE
765 PKG_CONFIG
766 MSGFMT
767 LDCONFIG
768 EGREP
769 GREP
770 LN_S
771 RANLIB
772 STRIP
773 ac_ct_AR
775 BISON
776 FLEX
777 TOOLSDIR
778 TARGETFLAGS
780 CPPBIN
781 ac_ct_CXX
782 CXXFLAGS
784 OBJEXT
785 EXEEXT
786 ac_ct_CC
787 CPPFLAGS
788 LDFLAGS
789 CFLAGS
791 SET_MAKE
792 host_os
793 host_vendor
794 host_cpu
795 host
796 build_os
797 build_vendor
798 build_cpu
799 build
800 target_alias
801 host_alias
802 build_alias
803 LIBS
804 ECHO_T
805 ECHO_N
806 ECHO_C
807 DEFS
808 mandir
809 localedir
810 libdir
811 psdir
812 pdfdir
813 dvidir
814 htmldir
815 infodir
816 docdir
817 oldincludedir
818 includedir
819 runstatedir
820 localstatedir
821 sharedstatedir
822 sysconfdir
823 datadir
824 datarootdir
825 libexecdir
826 sbindir
827 bindir
828 program_transform_name
829 prefix
830 exec_prefix
831 PACKAGE_URL
832 PACKAGE_BUGREPORT
833 PACKAGE_STRING
834 PACKAGE_VERSION
835 PACKAGE_TARNAME
836 PACKAGE_NAME
837 PATH_SEPARATOR
838 SHELL'
839 ac_subst_files=''
840 ac_user_opts='
841 enable_option_checking
842 enable_win16
843 enable_win64
844 enable_tests
845 enable_build_id
846 enable_maintainer_mode
847 enable_silent_rules
848 enable_werror
849 with_alsa
850 with_capi
851 with_cms
852 with_coreaudio
853 with_cups
854 with_dbus
855 with_faudio
856 with_float_abi
857 with_fontconfig
858 with_freetype
859 with_gettext
860 with_gettextpo
861 with_gphoto
862 with_gnutls
863 with_gsm
864 with_gssapi
865 with_gstreamer
866 with_hal
867 with_inotify
868 with_jpeg
869 with_jxrlib
870 with_krb5
871 with_ldap
872 with_mingw
873 with_mpg123
874 with_netapi
875 with_openal
876 with_opencl
877 with_opengl
878 with_osmesa
879 with_oss
880 with_pcap
881 with_png
882 with_pthread
883 with_pulse
884 with_quicktime
885 with_sane
886 with_sdl
887 with_tiff
888 with_udev
889 with_unwind
890 with_usb
891 with_v4l2
892 with_vkd3d
893 with_vulkan
894 with_xcomposite
895 with_xcursor
896 with_xfixes
897 with_xinerama
898 with_xinput
899 with_xinput2
900 with_xml
901 with_xrandr
902 with_xrender
903 with_xshape
904 with_xshm
905 with_xslt
906 with_xxf86vm
907 with_wine_tools
908 with_wine64
909 enable_largefile
910 with_x
911 enable_acledit
912 enable_aclui
913 enable_activeds_tlb
914 enable_activeds
915 enable_actxprxy
916 enable_adsiid
917 enable_adsldp
918 enable_adsldpc
919 enable_advapi32
920 enable_advpack
921 enable_amsi
922 enable_amstream
923 enable_api_ms_win_appmodel_identity_l1_1_0
924 enable_api_ms_win_appmodel_runtime_l1_1_1
925 enable_api_ms_win_appmodel_runtime_l1_1_2
926 enable_api_ms_win_core_apiquery_l1_1_0
927 enable_api_ms_win_core_appcompat_l1_1_1
928 enable_api_ms_win_core_appinit_l1_1_0
929 enable_api_ms_win_core_atoms_l1_1_0
930 enable_api_ms_win_core_bem_l1_1_0
931 enable_api_ms_win_core_com_l1_1_0
932 enable_api_ms_win_core_com_l1_1_1
933 enable_api_ms_win_core_com_private_l1_1_0
934 enable_api_ms_win_core_comm_l1_1_0
935 enable_api_ms_win_core_console_l1_1_0
936 enable_api_ms_win_core_console_l2_1_0
937 enable_api_ms_win_core_crt_l1_1_0
938 enable_api_ms_win_core_crt_l2_1_0
939 enable_api_ms_win_core_datetime_l1_1_0
940 enable_api_ms_win_core_datetime_l1_1_1
941 enable_api_ms_win_core_debug_l1_1_0
942 enable_api_ms_win_core_debug_l1_1_1
943 enable_api_ms_win_core_delayload_l1_1_0
944 enable_api_ms_win_core_delayload_l1_1_1
945 enable_api_ms_win_core_errorhandling_l1_1_0
946 enable_api_ms_win_core_errorhandling_l1_1_1
947 enable_api_ms_win_core_errorhandling_l1_1_2
948 enable_api_ms_win_core_errorhandling_l1_1_3
949 enable_api_ms_win_core_fibers_l1_1_0
950 enable_api_ms_win_core_fibers_l1_1_1
951 enable_api_ms_win_core_file_ansi_l2_1_0
952 enable_api_ms_win_core_file_fromapp_l1_1_0
953 enable_api_ms_win_core_file_l1_1_0
954 enable_api_ms_win_core_file_l1_2_0
955 enable_api_ms_win_core_file_l1_2_1
956 enable_api_ms_win_core_file_l1_2_2
957 enable_api_ms_win_core_file_l2_1_0
958 enable_api_ms_win_core_file_l2_1_1
959 enable_api_ms_win_core_file_l2_1_2
960 enable_api_ms_win_core_handle_l1_1_0
961 enable_api_ms_win_core_heap_l1_1_0
962 enable_api_ms_win_core_heap_l1_2_0
963 enable_api_ms_win_core_heap_l2_1_0
964 enable_api_ms_win_core_heap_obsolete_l1_1_0
965 enable_api_ms_win_core_interlocked_l1_1_0
966 enable_api_ms_win_core_interlocked_l1_2_0
967 enable_api_ms_win_core_io_l1_1_0
968 enable_api_ms_win_core_io_l1_1_1
969 enable_api_ms_win_core_job_l1_1_0
970 enable_api_ms_win_core_job_l2_1_0
971 enable_api_ms_win_core_kernel32_legacy_l1_1_0
972 enable_api_ms_win_core_kernel32_legacy_l1_1_1
973 enable_api_ms_win_core_kernel32_legacy_l1_1_2
974 enable_api_ms_win_core_kernel32_private_l1_1_1
975 enable_api_ms_win_core_largeinteger_l1_1_0
976 enable_api_ms_win_core_libraryloader_l1_1_0
977 enable_api_ms_win_core_libraryloader_l1_1_1
978 enable_api_ms_win_core_libraryloader_l1_2_0
979 enable_api_ms_win_core_libraryloader_l1_2_1
980 enable_api_ms_win_core_libraryloader_l1_2_2
981 enable_api_ms_win_core_libraryloader_l2_1_0
982 enable_api_ms_win_core_localization_l1_1_0
983 enable_api_ms_win_core_localization_l1_2_0
984 enable_api_ms_win_core_localization_l1_2_1
985 enable_api_ms_win_core_localization_l1_2_2
986 enable_api_ms_win_core_localization_l2_1_0
987 enable_api_ms_win_core_localization_obsolete_l1_1_0
988 enable_api_ms_win_core_localization_obsolete_l1_2_0
989 enable_api_ms_win_core_localization_obsolete_l1_3_0
990 enable_api_ms_win_core_localization_private_l1_1_0
991 enable_api_ms_win_core_localregistry_l1_1_0
992 enable_api_ms_win_core_memory_l1_1_0
993 enable_api_ms_win_core_memory_l1_1_1
994 enable_api_ms_win_core_memory_l1_1_2
995 enable_api_ms_win_core_memory_l1_1_3
996 enable_api_ms_win_core_memory_l1_1_4
997 enable_api_ms_win_core_misc_l1_1_0
998 enable_api_ms_win_core_namedpipe_ansi_l1_1_0
999 enable_api_ms_win_core_namedpipe_l1_1_0
1000 enable_api_ms_win_core_namedpipe_l1_2_0
1001 enable_api_ms_win_core_namespace_l1_1_0
1002 enable_api_ms_win_core_normalization_l1_1_0
1003 enable_api_ms_win_core_path_l1_1_0
1004 enable_api_ms_win_core_privateprofile_l1_1_1
1005 enable_api_ms_win_core_processenvironment_l1_1_0
1006 enable_api_ms_win_core_processenvironment_l1_2_0
1007 enable_api_ms_win_core_processthreads_l1_1_0
1008 enable_api_ms_win_core_processthreads_l1_1_1
1009 enable_api_ms_win_core_processthreads_l1_1_2
1010 enable_api_ms_win_core_processthreads_l1_1_3
1011 enable_api_ms_win_core_processtopology_obsolete_l1_1_0
1012 enable_api_ms_win_core_profile_l1_1_0
1013 enable_api_ms_win_core_psapi_ansi_l1_1_0
1014 enable_api_ms_win_core_psapi_l1_1_0
1015 enable_api_ms_win_core_psapi_obsolete_l1_1_0
1016 enable_api_ms_win_core_quirks_l1_1_0
1017 enable_api_ms_win_core_realtime_l1_1_0
1018 enable_api_ms_win_core_registry_l1_1_0
1019 enable_api_ms_win_core_registry_l2_1_0
1020 enable_api_ms_win_core_registry_l2_2_0
1021 enable_api_ms_win_core_registryuserspecific_l1_1_0
1022 enable_api_ms_win_core_rtlsupport_l1_1_0
1023 enable_api_ms_win_core_rtlsupport_l1_2_0
1024 enable_api_ms_win_core_shlwapi_legacy_l1_1_0
1025 enable_api_ms_win_core_shlwapi_obsolete_l1_1_0
1026 enable_api_ms_win_core_shlwapi_obsolete_l1_2_0
1027 enable_api_ms_win_core_shutdown_l1_1_0
1028 enable_api_ms_win_core_sidebyside_l1_1_0
1029 enable_api_ms_win_core_string_l1_1_0
1030 enable_api_ms_win_core_string_l2_1_0
1031 enable_api_ms_win_core_string_obsolete_l1_1_0
1032 enable_api_ms_win_core_stringansi_l1_1_0
1033 enable_api_ms_win_core_stringloader_l1_1_1
1034 enable_api_ms_win_core_synch_ansi_l1_1_0
1035 enable_api_ms_win_core_synch_l1_1_0
1036 enable_api_ms_win_core_synch_l1_2_0
1037 enable_api_ms_win_core_synch_l1_2_1
1038 enable_api_ms_win_core_sysinfo_l1_1_0
1039 enable_api_ms_win_core_sysinfo_l1_2_0
1040 enable_api_ms_win_core_sysinfo_l1_2_1
1041 enable_api_ms_win_core_systemtopology_l1_1_0
1042 enable_api_ms_win_core_threadpool_l1_1_0
1043 enable_api_ms_win_core_threadpool_l1_2_0
1044 enable_api_ms_win_core_threadpool_legacy_l1_1_0
1045 enable_api_ms_win_core_threadpool_private_l1_1_0
1046 enable_api_ms_win_core_timezone_l1_1_0
1047 enable_api_ms_win_core_toolhelp_l1_1_0
1048 enable_api_ms_win_core_url_l1_1_0
1049 enable_api_ms_win_core_util_l1_1_0
1050 enable_api_ms_win_core_version_l1_1_0
1051 enable_api_ms_win_core_version_l1_1_1
1052 enable_api_ms_win_core_version_private_l1_1_0
1053 enable_api_ms_win_core_versionansi_l1_1_0
1054 enable_api_ms_win_core_windowserrorreporting_l1_1_0
1055 enable_api_ms_win_core_winrt_error_l1_1_0
1056 enable_api_ms_win_core_winrt_error_l1_1_1
1057 enable_api_ms_win_core_winrt_errorprivate_l1_1_1
1058 enable_api_ms_win_core_winrt_l1_1_0
1059 enable_api_ms_win_core_winrt_registration_l1_1_0
1060 enable_api_ms_win_core_winrt_roparameterizediid_l1_1_0
1061 enable_api_ms_win_core_winrt_string_l1_1_0
1062 enable_api_ms_win_core_winrt_string_l1_1_1
1063 enable_api_ms_win_core_wow64_l1_1_0
1064 enable_api_ms_win_core_wow64_l1_1_1
1065 enable_api_ms_win_core_xstate_l1_1_0
1066 enable_api_ms_win_core_xstate_l2_1_0
1067 enable_api_ms_win_crt_conio_l1_1_0
1068 enable_api_ms_win_crt_convert_l1_1_0
1069 enable_api_ms_win_crt_environment_l1_1_0
1070 enable_api_ms_win_crt_filesystem_l1_1_0
1071 enable_api_ms_win_crt_heap_l1_1_0
1072 enable_api_ms_win_crt_locale_l1_1_0
1073 enable_api_ms_win_crt_math_l1_1_0
1074 enable_api_ms_win_crt_multibyte_l1_1_0
1075 enable_api_ms_win_crt_private_l1_1_0
1076 enable_api_ms_win_crt_process_l1_1_0
1077 enable_api_ms_win_crt_runtime_l1_1_0
1078 enable_api_ms_win_crt_stdio_l1_1_0
1079 enable_api_ms_win_crt_string_l1_1_0
1080 enable_api_ms_win_crt_time_l1_1_0
1081 enable_api_ms_win_crt_utility_l1_1_0
1082 enable_api_ms_win_devices_config_l1_1_0
1083 enable_api_ms_win_devices_config_l1_1_1
1084 enable_api_ms_win_devices_query_l1_1_1
1085 enable_api_ms_win_downlevel_advapi32_l1_1_0
1086 enable_api_ms_win_downlevel_advapi32_l2_1_0
1087 enable_api_ms_win_downlevel_kernel32_l2_1_0
1088 enable_api_ms_win_downlevel_normaliz_l1_1_0
1089 enable_api_ms_win_downlevel_ole32_l1_1_0
1090 enable_api_ms_win_downlevel_shell32_l1_1_0
1091 enable_api_ms_win_downlevel_shlwapi_l1_1_0
1092 enable_api_ms_win_downlevel_shlwapi_l2_1_0
1093 enable_api_ms_win_downlevel_user32_l1_1_0
1094 enable_api_ms_win_downlevel_version_l1_1_0
1095 enable_api_ms_win_dx_d3dkmt_l1_1_0
1096 enable_api_ms_win_eventing_classicprovider_l1_1_0
1097 enable_api_ms_win_eventing_consumer_l1_1_0
1098 enable_api_ms_win_eventing_controller_l1_1_0
1099 enable_api_ms_win_eventing_legacy_l1_1_0
1100 enable_api_ms_win_eventing_provider_l1_1_0
1101 enable_api_ms_win_eventlog_legacy_l1_1_0
1102 enable_api_ms_win_gdi_dpiinfo_l1_1_0
1103 enable_api_ms_win_mm_joystick_l1_1_0
1104 enable_api_ms_win_mm_misc_l1_1_1
1105 enable_api_ms_win_mm_mme_l1_1_0
1106 enable_api_ms_win_mm_time_l1_1_0
1107 enable_api_ms_win_ntuser_dc_access_l1_1_0
1108 enable_api_ms_win_ntuser_rectangle_l1_1_0
1109 enable_api_ms_win_ntuser_sysparams_l1_1_0
1110 enable_api_ms_win_perf_legacy_l1_1_0
1111 enable_api_ms_win_power_base_l1_1_0
1112 enable_api_ms_win_power_setting_l1_1_0
1113 enable_api_ms_win_rtcore_ntuser_draw_l1_1_0
1114 enable_api_ms_win_rtcore_ntuser_private_l1_1_0
1115 enable_api_ms_win_rtcore_ntuser_private_l1_1_4
1116 enable_api_ms_win_rtcore_ntuser_window_l1_1_0
1117 enable_api_ms_win_rtcore_ntuser_winevent_l1_1_0
1118 enable_api_ms_win_rtcore_ntuser_wmpointer_l1_1_0
1119 enable_api_ms_win_rtcore_ntuser_wmpointer_l1_1_3
1120 enable_api_ms_win_security_activedirectoryclient_l1_1_0
1121 enable_api_ms_win_security_audit_l1_1_1
1122 enable_api_ms_win_security_base_l1_1_0
1123 enable_api_ms_win_security_base_l1_2_0
1124 enable_api_ms_win_security_base_private_l1_1_1
1125 enable_api_ms_win_security_credentials_l1_1_0
1126 enable_api_ms_win_security_cryptoapi_l1_1_0
1127 enable_api_ms_win_security_grouppolicy_l1_1_0
1128 enable_api_ms_win_security_lsalookup_l1_1_0
1129 enable_api_ms_win_security_lsalookup_l1_1_1
1130 enable_api_ms_win_security_lsalookup_l2_1_0
1131 enable_api_ms_win_security_lsalookup_l2_1_1
1132 enable_api_ms_win_security_lsapolicy_l1_1_0
1133 enable_api_ms_win_security_provider_l1_1_0
1134 enable_api_ms_win_security_sddl_l1_1_0
1135 enable_api_ms_win_security_systemfunctions_l1_1_0
1136 enable_api_ms_win_service_core_l1_1_0
1137 enable_api_ms_win_service_core_l1_1_1
1138 enable_api_ms_win_service_management_l1_1_0
1139 enable_api_ms_win_service_management_l2_1_0
1140 enable_api_ms_win_service_private_l1_1_1
1141 enable_api_ms_win_service_winsvc_l1_1_0
1142 enable_api_ms_win_service_winsvc_l1_2_0
1143 enable_api_ms_win_shcore_obsolete_l1_1_0
1144 enable_api_ms_win_shcore_scaling_l1_1_1
1145 enable_api_ms_win_shcore_stream_l1_1_0
1146 enable_api_ms_win_shcore_stream_winrt_l1_1_0
1147 enable_api_ms_win_shcore_thread_l1_1_0
1148 enable_api_ms_win_shell_shellcom_l1_1_0
1149 enable_api_ms_win_shell_shellfolders_l1_1_0
1150 enable_apphelp
1151 enable_appwiz_cpl
1152 enable_atl
1153 enable_atl100
1154 enable_atl110
1155 enable_atl80
1156 enable_atl90
1157 enable_atlthunk
1158 enable_atmlib
1159 enable_authz
1160 enable_avicap32
1161 enable_avifil32
1162 enable_avrt
1163 enable_bcrypt
1164 enable_bluetoothapis
1165 enable_browseui
1166 enable_bthprops_cpl
1167 enable_cabinet
1168 enable_capi2032
1169 enable_cards
1170 enable_cdosys
1171 enable_cfgmgr32
1172 enable_clusapi
1173 enable_combase
1174 enable_comcat
1175 enable_comctl32
1176 enable_comdlg32
1177 enable_compstui
1178 enable_comsvcs
1179 enable_concrt140
1180 enable_connect
1181 enable_credui
1182 enable_crtdll
1183 enable_crypt32
1184 enable_cryptdlg
1185 enable_cryptdll
1186 enable_cryptext
1187 enable_cryptnet
1188 enable_cryptsp
1189 enable_cryptui
1190 enable_ctapi32
1191 enable_ctl3d32
1192 enable_d2d1
1193 enable_d3d10
1194 enable_d3d10_1
1195 enable_d3d10core
1196 enable_d3d11
1197 enable_d3d12
1198 enable_d3d8
1199 enable_d3d8thk
1200 enable_d3d9
1201 enable_d3dcompiler_33
1202 enable_d3dcompiler_34
1203 enable_d3dcompiler_35
1204 enable_d3dcompiler_36
1205 enable_d3dcompiler_37
1206 enable_d3dcompiler_38
1207 enable_d3dcompiler_39
1208 enable_d3dcompiler_40
1209 enable_d3dcompiler_41
1210 enable_d3dcompiler_42
1211 enable_d3dcompiler_43
1212 enable_d3dcompiler_46
1213 enable_d3dcompiler_47
1214 enable_d3dim
1215 enable_d3dim700
1216 enable_d3drm
1217 enable_d3dx10_33
1218 enable_d3dx10_34
1219 enable_d3dx10_35
1220 enable_d3dx10_36
1221 enable_d3dx10_37
1222 enable_d3dx10_38
1223 enable_d3dx10_39
1224 enable_d3dx10_40
1225 enable_d3dx10_41
1226 enable_d3dx10_42
1227 enable_d3dx10_43
1228 enable_d3dx11_42
1229 enable_d3dx11_43
1230 enable_d3dx9_24
1231 enable_d3dx9_25
1232 enable_d3dx9_26
1233 enable_d3dx9_27
1234 enable_d3dx9_28
1235 enable_d3dx9_29
1236 enable_d3dx9_30
1237 enable_d3dx9_31
1238 enable_d3dx9_32
1239 enable_d3dx9_33
1240 enable_d3dx9_34
1241 enable_d3dx9_35
1242 enable_d3dx9_36
1243 enable_d3dx9_37
1244 enable_d3dx9_38
1245 enable_d3dx9_39
1246 enable_d3dx9_40
1247 enable_d3dx9_41
1248 enable_d3dx9_42
1249 enable_d3dx9_43
1250 enable_d3dxof
1251 enable_davclnt
1252 enable_dbgeng
1253 enable_dbghelp
1254 enable_dciman32
1255 enable_dcomp
1256 enable_ddraw
1257 enable_ddrawex
1258 enable_devenum
1259 enable_dhcpcsvc
1260 enable_dhtmled_ocx
1261 enable_difxapi
1262 enable_dinput
1263 enable_dinput8
1264 enable_directmanipulation
1265 enable_dispex
1266 enable_dmband
1267 enable_dmcompos
1268 enable_dmime
1269 enable_dmloader
1270 enable_dmoguids
1271 enable_dmscript
1272 enable_dmstyle
1273 enable_dmsynth
1274 enable_dmusic
1275 enable_dmusic32
1276 enable_dnsapi
1277 enable_dplay
1278 enable_dplayx
1279 enable_dpnaddr
1280 enable_dpnet
1281 enable_dpnhpast
1282 enable_dpnlobby
1283 enable_dpvoice
1284 enable_dpwsockx
1285 enable_drmclien
1286 enable_dsdmo
1287 enable_dsound
1288 enable_dsquery
1289 enable_dssenh
1290 enable_dsuiext
1291 enable_dswave
1292 enable_dwmapi
1293 enable_dwrite
1294 enable_dx8vb
1295 enable_dxdiagn
1296 enable_dxerr8
1297 enable_dxerr9
1298 enable_dxgi
1299 enable_dxguid
1300 enable_dxva2
1301 enable_esent
1302 enable_evr
1303 enable_explorerframe
1304 enable_ext_ms_win_authz_context_l1_1_0
1305 enable_ext_ms_win_domainjoin_netjoin_l1_1_0
1306 enable_ext_ms_win_dwmapi_ext_l1_1_0
1307 enable_ext_ms_win_gdi_dc_create_l1_1_0
1308 enable_ext_ms_win_gdi_dc_create_l1_1_1
1309 enable_ext_ms_win_gdi_dc_l1_2_0
1310 enable_ext_ms_win_gdi_devcaps_l1_1_0
1311 enable_ext_ms_win_gdi_draw_l1_1_0
1312 enable_ext_ms_win_gdi_draw_l1_1_1
1313 enable_ext_ms_win_gdi_font_l1_1_0
1314 enable_ext_ms_win_gdi_font_l1_1_1
1315 enable_ext_ms_win_gdi_render_l1_1_0
1316 enable_ext_ms_win_kernel32_package_current_l1_1_0
1317 enable_ext_ms_win_kernel32_package_l1_1_1
1318 enable_ext_ms_win_ntuser_dialogbox_l1_1_0
1319 enable_ext_ms_win_ntuser_draw_l1_1_0
1320 enable_ext_ms_win_ntuser_gui_l1_1_0
1321 enable_ext_ms_win_ntuser_gui_l1_3_0
1322 enable_ext_ms_win_ntuser_keyboard_l1_3_0
1323 enable_ext_ms_win_ntuser_message_l1_1_0
1324 enable_ext_ms_win_ntuser_message_l1_1_1
1325 enable_ext_ms_win_ntuser_misc_l1_1_0
1326 enable_ext_ms_win_ntuser_misc_l1_2_0
1327 enable_ext_ms_win_ntuser_misc_l1_5_1
1328 enable_ext_ms_win_ntuser_mouse_l1_1_0
1329 enable_ext_ms_win_ntuser_private_l1_1_1
1330 enable_ext_ms_win_ntuser_private_l1_3_1
1331 enable_ext_ms_win_ntuser_rectangle_ext_l1_1_0
1332 enable_ext_ms_win_ntuser_uicontext_ext_l1_1_0
1333 enable_ext_ms_win_ntuser_window_l1_1_0
1334 enable_ext_ms_win_ntuser_window_l1_1_1
1335 enable_ext_ms_win_ntuser_window_l1_1_4
1336 enable_ext_ms_win_ntuser_windowclass_l1_1_0
1337 enable_ext_ms_win_ntuser_windowclass_l1_1_1
1338 enable_ext_ms_win_oleacc_l1_1_0
1339 enable_ext_ms_win_ras_rasapi32_l1_1_0
1340 enable_ext_ms_win_rtcore_gdi_devcaps_l1_1_0
1341 enable_ext_ms_win_rtcore_gdi_object_l1_1_0
1342 enable_ext_ms_win_rtcore_gdi_rgn_l1_1_0
1343 enable_ext_ms_win_rtcore_ntuser_cursor_l1_1_0
1344 enable_ext_ms_win_rtcore_ntuser_dc_access_l1_1_0
1345 enable_ext_ms_win_rtcore_ntuser_dpi_l1_1_0
1346 enable_ext_ms_win_rtcore_ntuser_dpi_l1_2_0
1347 enable_ext_ms_win_rtcore_ntuser_rawinput_l1_1_0
1348 enable_ext_ms_win_rtcore_ntuser_syscolors_l1_1_0
1349 enable_ext_ms_win_rtcore_ntuser_sysparams_l1_1_0
1350 enable_ext_ms_win_security_credui_l1_1_0
1351 enable_ext_ms_win_security_cryptui_l1_1_0
1352 enable_ext_ms_win_shell_comctl32_init_l1_1_0
1353 enable_ext_ms_win_shell_comdlg32_l1_1_0
1354 enable_ext_ms_win_shell_shell32_l1_2_0
1355 enable_ext_ms_win_uxtheme_themes_l1_1_0
1356 enable_faultrep
1357 enable_feclient
1358 enable_fltlib
1359 enable_fltmgr_sys
1360 enable_fntcache
1361 enable_fontsub
1362 enable_fusion
1363 enable_fwpuclnt
1364 enable_gameux
1365 enable_gdi32
1366 enable_gdiplus
1367 enable_glu32
1368 enable_gphoto2_ds
1369 enable_gpkcsp
1370 enable_hal
1371 enable_hhctrl_ocx
1372 enable_hid
1373 enable_hidclass_sys
1374 enable_hlink
1375 enable_hnetcfg
1376 enable_http_sys
1377 enable_httpapi
1378 enable_iccvid
1379 enable_icmp
1380 enable_ieframe
1381 enable_ieproxy
1382 enable_imaadp32_acm
1383 enable_imagehlp
1384 enable_imm32
1385 enable_inetcomm
1386 enable_inetcpl_cpl
1387 enable_inetmib1
1388 enable_infosoft
1389 enable_initpki
1390 enable_inkobj
1391 enable_inseng
1392 enable_iphlpapi
1393 enable_iprop
1394 enable_irprops_cpl
1395 enable_itircl
1396 enable_itss
1397 enable_joy_cpl
1398 enable_jscript
1399 enable_jsproxy
1400 enable_kerberos
1401 enable_kernel32
1402 enable_kernelbase
1403 enable_ksecdd_sys
1404 enable_ksproxy_ax
1405 enable_ksuser
1406 enable_ktmw32
1407 enable_l3codeca_acm
1408 enable_loadperf
1409 enable_localspl
1410 enable_localui
1411 enable_lz32
1412 enable_mapi32
1413 enable_mapistub
1414 enable_mciavi32
1415 enable_mcicda
1416 enable_mciqtz32
1417 enable_mciseq
1418 enable_mciwave
1419 enable_mf
1420 enable_mf3216
1421 enable_mferror
1422 enable_mfmediaengine
1423 enable_mfplat
1424 enable_mfplay
1425 enable_mfreadwrite
1426 enable_mfuuid
1427 enable_mgmtapi
1428 enable_midimap
1429 enable_mlang
1430 enable_mmcndmgr
1431 enable_mmdevapi
1432 enable_mountmgr_sys
1433 enable_mp3dmod
1434 enable_mpr
1435 enable_mprapi
1436 enable_msacm32_drv
1437 enable_msacm32
1438 enable_msado15
1439 enable_msadp32_acm
1440 enable_msasn1
1441 enable_mscat32
1442 enable_mscms
1443 enable_mscoree
1444 enable_mscorwks
1445 enable_msctf
1446 enable_msctfp
1447 enable_msdaps
1448 enable_msdelta
1449 enable_msdmo
1450 enable_msdrm
1451 enable_msftedit
1452 enable_msg711_acm
1453 enable_msgsm32_acm
1454 enable_mshtml_tlb
1455 enable_mshtml
1456 enable_msi
1457 enable_msident
1458 enable_msimg32
1459 enable_msimsg
1460 enable_msimtf
1461 enable_msisip
1462 enable_msisys_ocx
1463 enable_msls31
1464 enable_msnet32
1465 enable_mspatcha
1466 enable_msports
1467 enable_msrle32
1468 enable_msscript_ocx
1469 enable_mssign32
1470 enable_mssip32
1471 enable_mstask
1472 enable_msvcirt
1473 enable_msvcm80
1474 enable_msvcm90
1475 enable_msvcp100
1476 enable_msvcp110
1477 enable_msvcp120
1478 enable_msvcp120_app
1479 enable_msvcp140
1480 enable_msvcp140_1
1481 enable_msvcp60
1482 enable_msvcp70
1483 enable_msvcp71
1484 enable_msvcp80
1485 enable_msvcp90
1486 enable_msvcr100
1487 enable_msvcr110
1488 enable_msvcr120
1489 enable_msvcr120_app
1490 enable_msvcr70
1491 enable_msvcr71
1492 enable_msvcr80
1493 enable_msvcr90
1494 enable_msvcrt
1495 enable_msvcrt20
1496 enable_msvcrt40
1497 enable_msvcrtd
1498 enable_msvfw32
1499 enable_msvidc32
1500 enable_mswsock
1501 enable_msxml
1502 enable_msxml2
1503 enable_msxml3
1504 enable_msxml4
1505 enable_msxml6
1506 enable_mtxdm
1507 enable_ncrypt
1508 enable_nddeapi
1509 enable_ndis_sys
1510 enable_netapi32
1511 enable_netcfgx
1512 enable_netio_sys
1513 enable_netprofm
1514 enable_netutils
1515 enable_newdev
1516 enable_ninput
1517 enable_normaliz
1518 enable_npmshtml
1519 enable_npptools
1520 enable_ntdll
1521 enable_ntdsapi
1522 enable_ntoskrnl_exe
1523 enable_ntprint
1524 enable_objsel
1525 enable_odbc32
1526 enable_odbcbcp
1527 enable_odbccp32
1528 enable_odbccu32
1529 enable_ole32
1530 enable_oleacc
1531 enable_oleaut32
1532 enable_olecli32
1533 enable_oledb32
1534 enable_oledlg
1535 enable_olepro32
1536 enable_olesvr32
1537 enable_olethk32
1538 enable_opcservices
1539 enable_openal32
1540 enable_opencl
1541 enable_opengl32
1542 enable_packager
1543 enable_pdh
1544 enable_photometadatahandler
1545 enable_pidgen
1546 enable_powrprof
1547 enable_printui
1548 enable_prntvpt
1549 enable_propsys
1550 enable_psapi
1551 enable_pstorec
1552 enable_pwrshplugin
1553 enable_qasf
1554 enable_qcap
1555 enable_qdvd
1556 enable_qedit
1557 enable_qmgr
1558 enable_qmgrprxy
1559 enable_quartz
1560 enable_query
1561 enable_qwave
1562 enable_rasapi32
1563 enable_rasdlg
1564 enable_regapi
1565 enable_resutils
1566 enable_riched20
1567 enable_riched32
1568 enable_rpcrt4
1569 enable_rsabase
1570 enable_rsaenh
1571 enable_rstrtmgr
1572 enable_rtutils
1573 enable_rtworkq
1574 enable_samlib
1575 enable_sane_ds
1576 enable_sapi
1577 enable_sas
1578 enable_scarddlg
1579 enable_sccbase
1580 enable_schannel
1581 enable_schedsvc
1582 enable_scrobj
1583 enable_scrrun
1584 enable_scsiport_sys
1585 enable_sechost
1586 enable_secur32
1587 enable_security
1588 enable_sensapi
1589 enable_serialui
1590 enable_setupapi
1591 enable_sfc
1592 enable_sfc_os
1593 enable_shcore
1594 enable_shdoclc
1595 enable_shdocvw
1596 enable_shell32
1597 enable_shfolder
1598 enable_shlwapi
1599 enable_slbcsp
1600 enable_slc
1601 enable_snmpapi
1602 enable_softpub
1603 enable_spoolss
1604 enable_srclient
1605 enable_srvcli
1606 enable_sspicli
1607 enable_stdole2_tlb
1608 enable_stdole32_tlb
1609 enable_sti
1610 enable_strmbase
1611 enable_strmdll
1612 enable_strmiids
1613 enable_svrapi
1614 enable_sxs
1615 enable_t2embed
1616 enable_tapi32
1617 enable_taskschd
1618 enable_tdh
1619 enable_tdi_sys
1620 enable_traffic
1621 enable_twain_32
1622 enable_tzres
1623 enable_ucrtbase
1624 enable_uianimation
1625 enable_uiautomationcore
1626 enable_uiribbon
1627 enable_unicows
1628 enable_updspapi
1629 enable_url
1630 enable_urlmon
1631 enable_usbd_sys
1632 enable_user32
1633 enable_userenv
1634 enable_usp10
1635 enable_utildll
1636 enable_uuid
1637 enable_uxtheme
1638 enable_vbscript
1639 enable_vcomp
1640 enable_vcomp100
1641 enable_vcomp110
1642 enable_vcomp120
1643 enable_vcomp140
1644 enable_vcomp90
1645 enable_vcruntime140
1646 enable_vcruntime140_1
1647 enable_vdmdbg
1648 enable_version
1649 enable_vga
1650 enable_virtdisk
1651 enable_vssapi
1652 enable_vulkan_1
1653 enable_wbemdisp
1654 enable_wbemprox
1655 enable_wbemuuid
1656 enable_wdscore
1657 enable_webservices
1658 enable_wer
1659 enable_wevtapi
1660 enable_wevtsvc
1661 enable_wiaservc
1662 enable_wimgapi
1663 enable_windows_gaming_input
1664 enable_windows_globalization
1665 enable_windows_media_speech
1666 enable_windowscodecs
1667 enable_windowscodecsext
1668 enable_winealsa_drv
1669 enable_wineandroid_drv
1670 enable_winebus_sys
1671 enable_winecoreaudio_drv
1672 enable_winecrt0
1673 enable_wined3d
1674 enable_winegstreamer
1675 enable_winehid_sys
1676 enable_winejoystick_drv
1677 enable_winemac_drv
1678 enable_winemapi
1679 enable_wineoss_drv
1680 enable_wineps_drv
1681 enable_winepulse_drv
1682 enable_wineqtdecoder
1683 enable_wineusb_sys
1684 enable_winevulkan
1685 enable_winex11_drv
1686 enable_wing32
1687 enable_winhttp
1688 enable_wininet
1689 enable_winmm
1690 enable_winnls32
1691 enable_winscard
1692 enable_winspool_drv
1693 enable_winsta
1694 enable_wintab32
1695 enable_wintrust
1696 enable_winusb
1697 enable_wlanapi
1698 enable_wlanui
1699 enable_wldap32
1700 enable_wmasf
1701 enable_wmcodecdspuuid
1702 enable_wmi
1703 enable_wmiutils
1704 enable_wmp
1705 enable_wmphoto
1706 enable_wmvcore
1707 enable_wnaspi32
1708 enable_wow64cpu
1709 enable_wpc
1710 enable_wpcap
1711 enable_ws2_32
1712 enable_wsdapi
1713 enable_wshom_ocx
1714 enable_wsnmp32
1715 enable_wsock32
1716 enable_wtsapi32
1717 enable_wuapi
1718 enable_wuaueng
1719 enable_x3daudio1_0
1720 enable_x3daudio1_1
1721 enable_x3daudio1_2
1722 enable_x3daudio1_3
1723 enable_x3daudio1_4
1724 enable_x3daudio1_5
1725 enable_x3daudio1_6
1726 enable_x3daudio1_7
1727 enable_xactengine3_0
1728 enable_xactengine3_1
1729 enable_xactengine3_2
1730 enable_xactengine3_3
1731 enable_xactengine3_4
1732 enable_xactengine3_5
1733 enable_xactengine3_6
1734 enable_xactengine3_7
1735 enable_xapofx1_1
1736 enable_xapofx1_2
1737 enable_xapofx1_3
1738 enable_xapofx1_4
1739 enable_xapofx1_5
1740 enable_xaudio2_0
1741 enable_xaudio2_1
1742 enable_xaudio2_2
1743 enable_xaudio2_3
1744 enable_xaudio2_4
1745 enable_xaudio2_5
1746 enable_xaudio2_6
1747 enable_xaudio2_7
1748 enable_xaudio2_8
1749 enable_xaudio2_9
1750 enable_xinput1_1
1751 enable_xinput1_2
1752 enable_xinput1_3
1753 enable_xinput1_4
1754 enable_xinput9_1_0
1755 enable_xmllite
1756 enable_xolehlp
1757 enable_xpsprint
1758 enable_xpssvcs
1759 enable_fonts
1760 enable_include
1761 enable_port
1762 enable_wine
1763 enable_wpp
1764 enable_loader
1765 enable_nls
1766 enable_po
1767 enable_arp
1768 enable_aspnet_regiis
1769 enable_attrib
1770 enable_cabarc
1771 enable_cacls
1772 enable_chcp_com
1773 enable_clock
1774 enable_cmd
1775 enable_conhost
1776 enable_control
1777 enable_cscript
1778 enable_dism
1779 enable_dplaysvr
1780 enable_dpnsvr
1781 enable_dpvsetup
1782 enable_dxdiag
1783 enable_eject
1784 enable_expand
1785 enable_explorer
1786 enable_extrac32
1787 enable_fc
1788 enable_find
1789 enable_findstr
1790 enable_fsutil
1791 enable_hh
1792 enable_hostname
1793 enable_icacls
1794 enable_icinfo
1795 enable_iexplore
1796 enable_ipconfig
1797 enable_lodctr
1798 enable_mofcomp
1799 enable_mshta
1800 enable_msidb
1801 enable_msiexec
1802 enable_msinfo32
1803 enable_net
1804 enable_netsh
1805 enable_netstat
1806 enable_ngen
1807 enable_notepad
1808 enable_oleview
1809 enable_ping
1810 enable_plugplay
1811 enable_powershell
1812 enable_presentationfontcache
1813 enable_progman
1814 enable_reg
1815 enable_regasm
1816 enable_regedit
1817 enable_regini
1818 enable_regsvcs
1819 enable_regsvr32
1820 enable_rpcss
1821 enable_rundll32
1822 enable_sc
1823 enable_schtasks
1824 enable_sdbinst
1825 enable_secedit
1826 enable_servicemodelreg
1827 enable_services
1828 enable_shutdown
1829 enable_spoolsv
1830 enable_start
1831 enable_subst
1832 enable_svchost
1833 enable_systeminfo
1834 enable_taskkill
1835 enable_tasklist
1836 enable_taskmgr
1837 enable_termsv
1838 enable_uninstaller
1839 enable_unlodctr
1840 enable_view
1841 enable_wevtutil
1842 enable_where
1843 enable_whoami
1844 enable_wineboot
1845 enable_winebrowser
1846 enable_winecfg
1847 enable_wineconsole
1848 enable_winedbg
1849 enable_winedevice
1850 enable_winefile
1851 enable_winemenubuilder
1852 enable_winemine
1853 enable_winemsibuilder
1854 enable_winepath
1855 enable_winetest
1856 enable_winhlp32
1857 enable_winmgmt
1858 enable_winver
1859 enable_wmic
1860 enable_wmplayer
1861 enable_wordpad
1862 enable_write
1863 enable_wscript
1864 enable_wuauserv
1865 enable_wusa
1866 enable_xcopy
1867 enable_server
1868 enable_tools
1869 enable_sfnt2fon
1870 enable_widl
1871 enable_winebuild
1872 enable_winedump
1873 enable_winegcc
1874 enable_winemaker
1875 enable_wmc
1876 enable_wrc
1878 ac_precious_vars='build_alias
1879 host_alias
1880 target_alias
1882 CFLAGS
1883 LDFLAGS
1884 LIBS
1885 CPPFLAGS
1887 CXXFLAGS
1890 OBJC
1891 OBJCFLAGS
1892 OBJCPP
1893 XMKMF
1894 XML2_CFLAGS
1895 XML2_LIBS
1896 XSLT_CFLAGS
1897 XSLT_LIBS
1898 INOTIFY_CFLAGS
1899 INOTIFY_LIBS
1900 DBUS_CFLAGS
1901 DBUS_LIBS
1902 HAL_CFLAGS
1903 HAL_LIBS
1904 GNUTLS_CFLAGS
1905 GNUTLS_LIBS
1906 SANE_CFLAGS
1907 SANE_LIBS
1908 USB_CFLAGS
1909 USB_LIBS
1910 GPHOTO2_CFLAGS
1911 GPHOTO2_LIBS
1912 GPHOTO2_PORT_CFLAGS
1913 GPHOTO2_PORT_LIBS
1914 LCMS2_CFLAGS
1915 LCMS2_LIBS
1916 FREETYPE_CFLAGS
1917 FREETYPE_LIBS
1918 PULSE_CFLAGS
1919 PULSE_LIBS
1920 GSTREAMER_CFLAGS
1921 GSTREAMER_LIBS
1922 UDEV_CFLAGS
1923 UDEV_LIBS
1924 UNWIND_CFLAGS
1925 UNWIND_LIBS
1926 SDL2_CFLAGS
1927 SDL2_LIBS
1928 FAUDIO_CFLAGS
1929 FAUDIO_LIBS
1930 CAPI20_CFLAGS
1931 CAPI20_LIBS
1932 CUPS_CFLAGS
1933 CUPS_LIBS
1934 FONTCONFIG_CFLAGS
1935 FONTCONFIG_LIBS
1936 KRB5_CFLAGS
1937 KRB5_LIBS
1938 GSSAPI_CFLAGS
1939 GSSAPI_LIBS
1940 JPEG_CFLAGS
1941 JPEG_LIBS
1942 JXRLIB_CFLAGS
1943 JXRLIB_LIBS
1944 PNG_CFLAGS
1945 PNG_LIBS
1946 TIFF_CFLAGS
1947 TIFF_LIBS
1948 MPG123_CFLAGS
1949 MPG123_LIBS
1950 NETAPI_CFLAGS
1951 NETAPI_LIBS
1952 VKD3D_CFLAGS
1953 VKD3D_LIBS
1954 VKD3D_SHADER_CFLAGS
1955 VKD3D_SHADER_LIBS
1956 LDAP_CFLAGS
1957 LDAP_LIBS'
1960 # Initialize some variables set by options.
1961 ac_init_help=
1962 ac_init_version=false
1963 ac_unrecognized_opts=
1964 ac_unrecognized_sep=
1965 # The variables have the same names as the options, with
1966 # dashes changed to underlines.
1967 cache_file=/dev/null
1968 exec_prefix=NONE
1969 no_create=
1970 no_recursion=
1971 prefix=NONE
1972 program_prefix=NONE
1973 program_suffix=NONE
1974 program_transform_name=s,x,x,
1975 silent=
1976 site=
1977 srcdir=
1978 verbose=
1979 x_includes=NONE
1980 x_libraries=NONE
1982 # Installation directory options.
1983 # These are left unexpanded so users can "make install exec_prefix=/foo"
1984 # and all the variables that are supposed to be based on exec_prefix
1985 # by default will actually change.
1986 # Use braces instead of parens because sh, perl, etc. also accept them.
1987 # (The list follows the same order as the GNU Coding Standards.)
1988 bindir='${exec_prefix}/bin'
1989 sbindir='${exec_prefix}/sbin'
1990 libexecdir='${exec_prefix}/libexec'
1991 datarootdir='${prefix}/share'
1992 datadir='${datarootdir}'
1993 sysconfdir='${prefix}/etc'
1994 sharedstatedir='${prefix}/com'
1995 localstatedir='${prefix}/var'
1996 runstatedir='${localstatedir}/run'
1997 includedir='${prefix}/include'
1998 oldincludedir='/usr/include'
1999 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
2000 infodir='${datarootdir}/info'
2001 htmldir='${docdir}'
2002 dvidir='${docdir}'
2003 pdfdir='${docdir}'
2004 psdir='${docdir}'
2005 libdir='${exec_prefix}/lib'
2006 localedir='${datarootdir}/locale'
2007 mandir='${datarootdir}/man'
2009 ac_prev=
2010 ac_dashdash=
2011 for ac_option
2013 # If the previous option needs an argument, assign it.
2014 if test -n "$ac_prev"; then
2015 eval $ac_prev=\$ac_option
2016 ac_prev=
2017 continue
2020 case $ac_option in
2021 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
2022 *=) ac_optarg= ;;
2023 *) ac_optarg=yes ;;
2024 esac
2026 # Accept the important Cygnus configure options, so we can diagnose typos.
2028 case $ac_dashdash$ac_option in
2030 ac_dashdash=yes ;;
2032 -bindir | --bindir | --bindi | --bind | --bin | --bi)
2033 ac_prev=bindir ;;
2034 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
2035 bindir=$ac_optarg ;;
2037 -build | --build | --buil | --bui | --bu)
2038 ac_prev=build_alias ;;
2039 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
2040 build_alias=$ac_optarg ;;
2042 -cache-file | --cache-file | --cache-fil | --cache-fi \
2043 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
2044 ac_prev=cache_file ;;
2045 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
2046 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
2047 cache_file=$ac_optarg ;;
2049 --config-cache | -C)
2050 cache_file=config.cache ;;
2052 -datadir | --datadir | --datadi | --datad)
2053 ac_prev=datadir ;;
2054 -datadir=* | --datadir=* | --datadi=* | --datad=*)
2055 datadir=$ac_optarg ;;
2057 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
2058 | --dataroo | --dataro | --datar)
2059 ac_prev=datarootdir ;;
2060 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
2061 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
2062 datarootdir=$ac_optarg ;;
2064 -disable-* | --disable-*)
2065 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
2066 # Reject names that are not valid shell variable names.
2067 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
2068 as_fn_error $? "invalid feature name: $ac_useropt"
2069 ac_useropt_orig=$ac_useropt
2070 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
2071 case $ac_user_opts in
2073 "enable_$ac_useropt"
2074 "*) ;;
2075 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
2076 ac_unrecognized_sep=', ';;
2077 esac
2078 eval enable_$ac_useropt=no ;;
2080 -docdir | --docdir | --docdi | --doc | --do)
2081 ac_prev=docdir ;;
2082 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
2083 docdir=$ac_optarg ;;
2085 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
2086 ac_prev=dvidir ;;
2087 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
2088 dvidir=$ac_optarg ;;
2090 -enable-* | --enable-*)
2091 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
2092 # Reject names that are not valid shell variable names.
2093 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
2094 as_fn_error $? "invalid feature name: $ac_useropt"
2095 ac_useropt_orig=$ac_useropt
2096 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
2097 case $ac_user_opts in
2099 "enable_$ac_useropt"
2100 "*) ;;
2101 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
2102 ac_unrecognized_sep=', ';;
2103 esac
2104 eval enable_$ac_useropt=\$ac_optarg ;;
2106 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
2107 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
2108 | --exec | --exe | --ex)
2109 ac_prev=exec_prefix ;;
2110 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
2111 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
2112 | --exec=* | --exe=* | --ex=*)
2113 exec_prefix=$ac_optarg ;;
2115 -gas | --gas | --ga | --g)
2116 # Obsolete; use --with-gas.
2117 with_gas=yes ;;
2119 -help | --help | --hel | --he | -h)
2120 ac_init_help=long ;;
2121 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
2122 ac_init_help=recursive ;;
2123 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
2124 ac_init_help=short ;;
2126 -host | --host | --hos | --ho)
2127 ac_prev=host_alias ;;
2128 -host=* | --host=* | --hos=* | --ho=*)
2129 host_alias=$ac_optarg ;;
2131 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
2132 ac_prev=htmldir ;;
2133 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
2134 | --ht=*)
2135 htmldir=$ac_optarg ;;
2137 -includedir | --includedir | --includedi | --included | --include \
2138 | --includ | --inclu | --incl | --inc)
2139 ac_prev=includedir ;;
2140 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
2141 | --includ=* | --inclu=* | --incl=* | --inc=*)
2142 includedir=$ac_optarg ;;
2144 -infodir | --infodir | --infodi | --infod | --info | --inf)
2145 ac_prev=infodir ;;
2146 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
2147 infodir=$ac_optarg ;;
2149 -libdir | --libdir | --libdi | --libd)
2150 ac_prev=libdir ;;
2151 -libdir=* | --libdir=* | --libdi=* | --libd=*)
2152 libdir=$ac_optarg ;;
2154 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
2155 | --libexe | --libex | --libe)
2156 ac_prev=libexecdir ;;
2157 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
2158 | --libexe=* | --libex=* | --libe=*)
2159 libexecdir=$ac_optarg ;;
2161 -localedir | --localedir | --localedi | --localed | --locale)
2162 ac_prev=localedir ;;
2163 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
2164 localedir=$ac_optarg ;;
2166 -localstatedir | --localstatedir | --localstatedi | --localstated \
2167 | --localstate | --localstat | --localsta | --localst | --locals)
2168 ac_prev=localstatedir ;;
2169 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
2170 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
2171 localstatedir=$ac_optarg ;;
2173 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
2174 ac_prev=mandir ;;
2175 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
2176 mandir=$ac_optarg ;;
2178 -nfp | --nfp | --nf)
2179 # Obsolete; use --without-fp.
2180 with_fp=no ;;
2182 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
2183 | --no-cr | --no-c | -n)
2184 no_create=yes ;;
2186 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
2187 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
2188 no_recursion=yes ;;
2190 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
2191 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
2192 | --oldin | --oldi | --old | --ol | --o)
2193 ac_prev=oldincludedir ;;
2194 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
2195 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
2196 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
2197 oldincludedir=$ac_optarg ;;
2199 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
2200 ac_prev=prefix ;;
2201 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
2202 prefix=$ac_optarg ;;
2204 -program-prefix | --program-prefix | --program-prefi | --program-pref \
2205 | --program-pre | --program-pr | --program-p)
2206 ac_prev=program_prefix ;;
2207 -program-prefix=* | --program-prefix=* | --program-prefi=* \
2208 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
2209 program_prefix=$ac_optarg ;;
2211 -program-suffix | --program-suffix | --program-suffi | --program-suff \
2212 | --program-suf | --program-su | --program-s)
2213 ac_prev=program_suffix ;;
2214 -program-suffix=* | --program-suffix=* | --program-suffi=* \
2215 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
2216 program_suffix=$ac_optarg ;;
2218 -program-transform-name | --program-transform-name \
2219 | --program-transform-nam | --program-transform-na \
2220 | --program-transform-n | --program-transform- \
2221 | --program-transform | --program-transfor \
2222 | --program-transfo | --program-transf \
2223 | --program-trans | --program-tran \
2224 | --progr-tra | --program-tr | --program-t)
2225 ac_prev=program_transform_name ;;
2226 -program-transform-name=* | --program-transform-name=* \
2227 | --program-transform-nam=* | --program-transform-na=* \
2228 | --program-transform-n=* | --program-transform-=* \
2229 | --program-transform=* | --program-transfor=* \
2230 | --program-transfo=* | --program-transf=* \
2231 | --program-trans=* | --program-tran=* \
2232 | --progr-tra=* | --program-tr=* | --program-t=*)
2233 program_transform_name=$ac_optarg ;;
2235 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
2236 ac_prev=pdfdir ;;
2237 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
2238 pdfdir=$ac_optarg ;;
2240 -psdir | --psdir | --psdi | --psd | --ps)
2241 ac_prev=psdir ;;
2242 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
2243 psdir=$ac_optarg ;;
2245 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2246 | -silent | --silent | --silen | --sile | --sil)
2247 silent=yes ;;
2249 -runstatedir | --runstatedir | --runstatedi | --runstated \
2250 | --runstate | --runstat | --runsta | --runst | --runs \
2251 | --run | --ru | --r)
2252 ac_prev=runstatedir ;;
2253 -runstatedir=* | --runstatedir=* | --runstatedi=* | --runstated=* \
2254 | --runstate=* | --runstat=* | --runsta=* | --runst=* | --runs=* \
2255 | --run=* | --ru=* | --r=*)
2256 runstatedir=$ac_optarg ;;
2258 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
2259 ac_prev=sbindir ;;
2260 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
2261 | --sbi=* | --sb=*)
2262 sbindir=$ac_optarg ;;
2264 -sharedstatedir | --sharedstatedir | --sharedstatedi \
2265 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
2266 | --sharedst | --shareds | --shared | --share | --shar \
2267 | --sha | --sh)
2268 ac_prev=sharedstatedir ;;
2269 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
2270 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
2271 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
2272 | --sha=* | --sh=*)
2273 sharedstatedir=$ac_optarg ;;
2275 -site | --site | --sit)
2276 ac_prev=site ;;
2277 -site=* | --site=* | --sit=*)
2278 site=$ac_optarg ;;
2280 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
2281 ac_prev=srcdir ;;
2282 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
2283 srcdir=$ac_optarg ;;
2285 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
2286 | --syscon | --sysco | --sysc | --sys | --sy)
2287 ac_prev=sysconfdir ;;
2288 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
2289 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
2290 sysconfdir=$ac_optarg ;;
2292 -target | --target | --targe | --targ | --tar | --ta | --t)
2293 ac_prev=target_alias ;;
2294 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
2295 target_alias=$ac_optarg ;;
2297 -v | -verbose | --verbose | --verbos | --verbo | --verb)
2298 verbose=yes ;;
2300 -version | --version | --versio | --versi | --vers | -V)
2301 ac_init_version=: ;;
2303 -with-* | --with-*)
2304 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
2305 # Reject names that are not valid shell variable names.
2306 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
2307 as_fn_error $? "invalid package name: $ac_useropt"
2308 ac_useropt_orig=$ac_useropt
2309 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
2310 case $ac_user_opts in
2312 "with_$ac_useropt"
2313 "*) ;;
2314 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
2315 ac_unrecognized_sep=', ';;
2316 esac
2317 eval with_$ac_useropt=\$ac_optarg ;;
2319 -without-* | --without-*)
2320 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
2321 # Reject names that are not valid shell variable names.
2322 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
2323 as_fn_error $? "invalid package name: $ac_useropt"
2324 ac_useropt_orig=$ac_useropt
2325 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
2326 case $ac_user_opts in
2328 "with_$ac_useropt"
2329 "*) ;;
2330 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
2331 ac_unrecognized_sep=', ';;
2332 esac
2333 eval with_$ac_useropt=no ;;
2335 --x)
2336 # Obsolete; use --with-x.
2337 with_x=yes ;;
2339 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
2340 | --x-incl | --x-inc | --x-in | --x-i)
2341 ac_prev=x_includes ;;
2342 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
2343 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
2344 x_includes=$ac_optarg ;;
2346 -x-libraries | --x-libraries | --x-librarie | --x-librari \
2347 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
2348 ac_prev=x_libraries ;;
2349 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
2350 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
2351 x_libraries=$ac_optarg ;;
2353 -*) as_fn_error $? "unrecognized option: \`$ac_option'
2354 Try \`$0 --help' for more information"
2357 *=*)
2358 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
2359 # Reject names that are not valid shell variable names.
2360 case $ac_envvar in #(
2361 '' | [0-9]* | *[!_$as_cr_alnum]* )
2362 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
2363 esac
2364 eval $ac_envvar=\$ac_optarg
2365 export $ac_envvar ;;
2368 # FIXME: should be removed in autoconf 3.0.
2369 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
2370 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
2371 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
2372 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
2375 esac
2376 done
2378 if test -n "$ac_prev"; then
2379 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
2380 as_fn_error $? "missing argument to $ac_option"
2383 if test -n "$ac_unrecognized_opts"; then
2384 case $enable_option_checking in
2385 no) ;;
2386 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
2387 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
2388 esac
2391 # Check all directory arguments for consistency.
2392 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
2393 datadir sysconfdir sharedstatedir localstatedir includedir \
2394 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
2395 libdir localedir mandir runstatedir
2397 eval ac_val=\$$ac_var
2398 # Remove trailing slashes.
2399 case $ac_val in
2400 */ )
2401 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
2402 eval $ac_var=\$ac_val;;
2403 esac
2404 # Be sure to have absolute directory names.
2405 case $ac_val in
2406 [\\/$]* | ?:[\\/]* ) continue;;
2407 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
2408 esac
2409 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
2410 done
2412 # There might be people who depend on the old broken behavior: `$host'
2413 # used to hold the argument of --host etc.
2414 # FIXME: To remove some day.
2415 build=$build_alias
2416 host=$host_alias
2417 target=$target_alias
2419 # FIXME: To remove some day.
2420 if test "x$host_alias" != x; then
2421 if test "x$build_alias" = x; then
2422 cross_compiling=maybe
2423 elif test "x$build_alias" != "x$host_alias"; then
2424 cross_compiling=yes
2428 ac_tool_prefix=
2429 test -n "$host_alias" && ac_tool_prefix=$host_alias-
2431 test "$silent" = yes && exec 6>/dev/null
2434 ac_pwd=`pwd` && test -n "$ac_pwd" &&
2435 ac_ls_di=`ls -di .` &&
2436 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
2437 as_fn_error $? "working directory cannot be determined"
2438 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
2439 as_fn_error $? "pwd does not report name of working directory"
2442 # Find the source files, if location was not specified.
2443 if test -z "$srcdir"; then
2444 ac_srcdir_defaulted=yes
2445 # Try the directory containing this script, then the parent directory.
2446 ac_confdir=`$as_dirname -- "$as_myself" ||
2447 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
2448 X"$as_myself" : 'X\(//\)[^/]' \| \
2449 X"$as_myself" : 'X\(//\)$' \| \
2450 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
2451 $as_echo X"$as_myself" |
2452 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
2453 s//\1/
2456 /^X\(\/\/\)[^/].*/{
2457 s//\1/
2460 /^X\(\/\/\)$/{
2461 s//\1/
2464 /^X\(\/\).*/{
2465 s//\1/
2468 s/.*/./; q'`
2469 srcdir=$ac_confdir
2470 if test ! -r "$srcdir/$ac_unique_file"; then
2471 srcdir=..
2473 else
2474 ac_srcdir_defaulted=no
2476 if test ! -r "$srcdir/$ac_unique_file"; then
2477 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
2478 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
2480 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
2481 ac_abs_confdir=`(
2482 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
2483 pwd)`
2484 # When building in place, set srcdir=.
2485 if test "$ac_abs_confdir" = "$ac_pwd"; then
2486 srcdir=.
2488 # Remove unnecessary trailing slashes from srcdir.
2489 # Double slashes in file names in object file debugging info
2490 # mess up M-x gdb in Emacs.
2491 case $srcdir in
2492 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
2493 esac
2494 for ac_var in $ac_precious_vars; do
2495 eval ac_env_${ac_var}_set=\${${ac_var}+set}
2496 eval ac_env_${ac_var}_value=\$${ac_var}
2497 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
2498 eval ac_cv_env_${ac_var}_value=\$${ac_var}
2499 done
2502 # Report the --help message.
2504 if test "$ac_init_help" = "long"; then
2505 # Omit some internal or obsolete options to make the list less imposing.
2506 # This message is too long to be a string in the A/UX 3.1 sh.
2507 cat <<_ACEOF
2508 \`configure' configures Wine 6.5 to adapt to many kinds of systems.
2510 Usage: $0 [OPTION]... [VAR=VALUE]...
2512 To assign environment variables (e.g., CC, CFLAGS...), specify them as
2513 VAR=VALUE. See below for descriptions of some of the useful variables.
2515 Defaults for the options are specified in brackets.
2517 Configuration:
2518 -h, --help display this help and exit
2519 --help=short display options specific to this package
2520 --help=recursive display the short help of all the included packages
2521 -V, --version display version information and exit
2522 -q, --quiet, --silent do not print \`checking ...' messages
2523 --cache-file=FILE cache test results in FILE [disabled]
2524 -C, --config-cache alias for \`--cache-file=config.cache'
2525 -n, --no-create do not create output files
2526 --srcdir=DIR find the sources in DIR [configure dir or \`..']
2528 Installation directories:
2529 --prefix=PREFIX install architecture-independent files in PREFIX
2530 [$ac_default_prefix]
2531 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
2532 [PREFIX]
2534 By default, \`make install' will install all the files in
2535 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
2536 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
2537 for instance \`--prefix=\$HOME'.
2539 For better control, use the options below.
2541 Fine tuning of the installation directories:
2542 --bindir=DIR user executables [EPREFIX/bin]
2543 --sbindir=DIR system admin executables [EPREFIX/sbin]
2544 --libexecdir=DIR program executables [EPREFIX/libexec]
2545 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
2546 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
2547 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
2548 --runstatedir=DIR modifiable per-process data [LOCALSTATEDIR/run]
2549 --libdir=DIR object code libraries [EPREFIX/lib]
2550 --includedir=DIR C header files [PREFIX/include]
2551 --oldincludedir=DIR C header files for non-gcc [/usr/include]
2552 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
2553 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
2554 --infodir=DIR info documentation [DATAROOTDIR/info]
2555 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
2556 --mandir=DIR man documentation [DATAROOTDIR/man]
2557 --docdir=DIR documentation root [DATAROOTDIR/doc/wine]
2558 --htmldir=DIR html documentation [DOCDIR]
2559 --dvidir=DIR dvi documentation [DOCDIR]
2560 --pdfdir=DIR pdf documentation [DOCDIR]
2561 --psdir=DIR ps documentation [DOCDIR]
2562 _ACEOF
2564 cat <<\_ACEOF
2566 X features:
2567 --x-includes=DIR X include files are in DIR
2568 --x-libraries=DIR X library files are in DIR
2570 System types:
2571 --build=BUILD configure for building on BUILD [guessed]
2572 --host=HOST cross-compile to build programs to run on HOST [BUILD]
2573 _ACEOF
2576 if test -n "$ac_init_help"; then
2577 case $ac_init_help in
2578 short | recursive ) echo "Configuration of Wine 6.5:";;
2579 esac
2580 cat <<\_ACEOF
2582 Optional Features:
2583 --disable-option-checking ignore unrecognized --enable/--with options
2584 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
2585 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
2586 --disable-win16 do not include Win16 support
2587 --enable-win64 build a Win64 emulator on AMD64 (won't run Win32
2588 binaries)
2589 --disable-tests do not build the regression tests
2590 --enable-build-id include .buildid section in output objects
2591 --enable-maintainer-mode
2592 enable maintainer-specific build rules
2593 --enable-silent-rules use silent build rules (override: "make V=1")
2594 --enable-werror treat compilation warnings as errors
2595 --disable-largefile omit support for large files
2597 Optional Packages:
2598 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
2599 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
2600 --without-alsa do not use the Alsa sound support
2601 --without-capi do not use CAPI (ISDN support)
2602 --without-cms do not use CMS (color management support)
2603 --without-coreaudio do not use the CoreAudio sound support
2604 --without-cups do not use CUPS
2605 --without-dbus do not use DBus (dynamic device support)
2606 --without-faudio do not use FAudio (XAudio2 support)
2607 --with-float-abi=abi specify the ABI (soft|softfp|hard) for ARM platforms
2608 --without-fontconfig do not use fontconfig
2609 --without-freetype do not use the FreeType library
2610 --without-gettext do not use gettext
2611 --with-gettextpo use the GetTextPO library to rebuild po files
2612 --without-gphoto do not use gphoto (Digital Camera support)
2613 --without-gnutls do not use GnuTLS (schannel support)
2614 --without-gsm do not use libgsm (GSM 06.10 codec support)
2615 --without-gssapi do not use GSSAPI (Kerberos SSP support)
2616 --without-gstreamer do not use GStreamer (codecs support)
2617 --without-hal do not use HAL (dynamic device support)
2618 --without-inotify do not use inotify (filesystem change notifications)
2619 --without-jpeg do not use JPEG
2620 --without-jxrlib do not use JPEG-XR
2621 --without-krb5 do not use krb5 (Kerberos)
2622 --without-ldap do not use LDAP
2623 --without-mingw do not use the MinGW cross-compiler
2624 --without-mpg123 do not use the mpg123 library
2625 --without-netapi do not use the Samba NetAPI library
2626 --without-openal do not use OpenAL
2627 --without-opencl do not use OpenCL
2628 --without-opengl do not use OpenGL
2629 --without-osmesa do not use the OSMesa library
2630 --without-oss do not use the OSS sound support
2631 --without-pcap do not use the Packet Capture library
2632 --without-png do not use PNG
2633 --without-pthread do not use the pthread library
2634 --without-pulse do not use PulseAudio sound support
2635 --without-quicktime do not use QuickTime support
2636 --without-sane do not use SANE (scanner support)
2637 --without-sdl do not use SDL
2638 --without-tiff do not use TIFF
2639 --without-udev do not use udev (plug and play support)
2640 --without-unwind do not use the libunwind library (exception
2641 handling)
2642 --without-usb do not use the libusb library
2643 --without-v4l2 do not use v4l2 (video capture)
2644 --without-vkd3d do not use vkd3d (Direct3D 12 support)
2645 --without-vulkan do not use Vulkan
2646 --without-xcomposite do not use the Xcomposite extension
2647 --without-xcursor do not use the Xcursor extension
2648 --without-xfixes do not use Xfixes for clipboard change notifications
2649 --without-xinerama do not use Xinerama (legacy multi-monitor support)
2650 --without-xinput do not use the Xinput extension
2651 --without-xinput2 do not use the Xinput 2 extension
2652 --without-xml do not use XML
2653 --without-xrandr do not use Xrandr (multi-monitor support)
2654 --without-xrender do not use the Xrender extension
2655 --without-xshape do not use the Xshape extension
2656 --without-xshm do not use XShm (shared memory extension)
2657 --without-xslt do not use XSLT
2658 --without-xxf86vm do not use XFree video mode extension
2659 --with-wine-tools=DIR use Wine tools from directory DIR
2660 --with-wine64=DIR use the 64-bit Wine in DIR for a Wow64 build
2661 --with-x use the X Window System
2663 Some influential environment variables:
2664 CC C compiler command
2665 CFLAGS C compiler flags
2666 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
2667 nonstandard directory <lib dir>
2668 LIBS libraries to pass to the linker, e.g. -l<library>
2669 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
2670 you have headers in a nonstandard directory <include dir>
2671 CXX C++ compiler command
2672 CXXFLAGS C++ compiler flags
2673 CPP C preprocessor
2674 OBJC Objective C compiler command
2675 OBJCFLAGS Objective C compiler flags
2676 OBJCPP Objective C preprocessor
2677 XMKMF Path to xmkmf, Makefile generator for X Window System
2678 XML2_CFLAGS C compiler flags for libxml-2.0, overriding pkg-config
2679 XML2_LIBS Linker flags for libxml-2.0, overriding pkg-config
2680 XSLT_CFLAGS C compiler flags for libxslt, overriding pkg-config
2681 XSLT_LIBS Linker flags for libxslt, overriding pkg-config
2682 INOTIFY_CFLAGS
2683 C compiler flags for libinotify, overriding pkg-config
2684 INOTIFY_LIBS
2685 Linker flags for libinotify, overriding pkg-config
2686 DBUS_CFLAGS C compiler flags for dbus-1, overriding pkg-config
2687 DBUS_LIBS Linker flags for dbus-1, overriding pkg-config
2688 HAL_CFLAGS C compiler flags for hal, overriding pkg-config
2689 HAL_LIBS Linker flags for hal, overriding pkg-config
2690 GNUTLS_CFLAGS
2691 C compiler flags for gnutls, overriding pkg-config
2692 GNUTLS_LIBS Linker flags for gnutls, overriding pkg-config
2693 SANE_CFLAGS C compiler flags for sane-backends, overriding pkg-config
2694 SANE_LIBS Linker flags for sane-backends, overriding pkg-config
2695 USB_CFLAGS C compiler flags for libusb-1.0, overriding pkg-config
2696 USB_LIBS Linker flags for libusb-1.0, overriding pkg-config
2697 GPHOTO2_CFLAGS
2698 C compiler flags for libgphoto2, overriding pkg-config
2699 GPHOTO2_LIBS
2700 Linker flags for libgphoto2, overriding pkg-config
2701 GPHOTO2_PORT_CFLAGS
2702 C compiler flags for libgphoto2_port, overriding pkg-config
2703 GPHOTO2_PORT_LIBS
2704 Linker flags for libgphoto2_port, overriding pkg-config
2705 LCMS2_CFLAGS
2706 C compiler flags for lcms2, overriding pkg-config
2707 LCMS2_LIBS Linker flags for lcms2, overriding pkg-config
2708 FREETYPE_CFLAGS
2709 C compiler flags for freetype2, overriding pkg-config
2710 FREETYPE_LIBS
2711 Linker flags for freetype2, overriding pkg-config
2712 PULSE_CFLAGS
2713 C compiler flags for libpulse, overriding pkg-config
2714 PULSE_LIBS Linker flags for libpulse, overriding pkg-config
2715 GSTREAMER_CFLAGS
2716 C compiler flags for gstreamer-1.0 gstreamer-video-1.0
2717 gstreamer-audio-1.0, overriding pkg-config
2718 GSTREAMER_LIBS
2719 Linker flags for gstreamer-1.0 gstreamer-video-1.0
2720 gstreamer-audio-1.0, overriding pkg-config
2721 UDEV_CFLAGS C compiler flags for libudev, overriding pkg-config
2722 UDEV_LIBS Linker flags for libudev, overriding pkg-config
2723 UNWIND_CFLAGS
2724 C compiler flags for libunwind, overriding pkg-config
2725 UNWIND_LIBS Linker flags for libunwind, overriding pkg-config
2726 SDL2_CFLAGS C compiler flags for sdl2, overriding pkg-config
2727 SDL2_LIBS Linker flags for sdl2, overriding pkg-config
2728 FAUDIO_CFLAGS
2729 C compiler flags for faudio, overriding pkg-config
2730 FAUDIO_LIBS Linker flags for faudio, overriding pkg-config
2731 CAPI20_CFLAGS
2732 C compiler flags for capi20, overriding pkg-config
2733 CAPI20_LIBS Linker flags for capi20, overriding pkg-config
2734 CUPS_CFLAGS C compiler flags for cups, overriding pkg-config
2735 CUPS_LIBS Linker flags for cups, overriding pkg-config
2736 FONTCONFIG_CFLAGS
2737 C compiler flags for fontconfig, overriding pkg-config
2738 FONTCONFIG_LIBS
2739 Linker flags for fontconfig, overriding pkg-config
2740 KRB5_CFLAGS C compiler flags for krb5, overriding pkg-config
2741 KRB5_LIBS Linker flags for krb5, overriding pkg-config
2742 GSSAPI_CFLAGS
2743 C compiler flags for krb5-gssapi, overriding pkg-config
2744 GSSAPI_LIBS Linker flags for krb5-gssapi, overriding pkg-config
2745 JPEG_CFLAGS C compiler flags for libjpeg, overriding pkg-config
2746 JPEG_LIBS Linker flags for libjpeg, overriding pkg-config
2747 JXRLIB_CFLAGS
2748 C compiler flags for jxrlib, overriding pkg-config
2749 JXRLIB_LIBS Linker flags for jxrlib, overriding pkg-config
2750 PNG_CFLAGS C compiler flags for libpng, overriding pkg-config
2751 PNG_LIBS Linker flags for libpng, overriding pkg-config
2752 TIFF_CFLAGS C compiler flags for libtiff-4, overriding pkg-config
2753 TIFF_LIBS Linker flags for libtiff-4, overriding pkg-config
2754 MPG123_CFLAGS
2755 C compiler flags for libmpg123, overriding pkg-config
2756 MPG123_LIBS Linker flags for libmpg123, overriding pkg-config
2757 NETAPI_CFLAGS
2758 C compiler flags for netapi, overriding pkg-config
2759 NETAPI_LIBS Linker flags for netapi, overriding pkg-config
2760 VKD3D_CFLAGS
2761 C compiler flags for libvkd3d, overriding pkg-config
2762 VKD3D_LIBS Linker flags for libvkd3d, overriding pkg-config
2763 VKD3D_SHADER_CFLAGS
2764 C compiler flags for libvkd3d-shader, overriding pkg-config
2765 VKD3D_SHADER_LIBS
2766 Linker flags for libvkd3d-shader, overriding pkg-config
2767 LDAP_CFLAGS C compiler flags for openldap, overriding pkg-config
2768 LDAP_LIBS Linker flags for openldap, overriding pkg-config
2770 Use these variables to override the choices made by `configure' or to help
2771 it to find libraries and programs with nonstandard names/locations.
2773 Report bugs to <wine-devel@winehq.org>.
2774 Wine home page: <https://www.winehq.org>.
2775 _ACEOF
2776 ac_status=$?
2779 if test "$ac_init_help" = "recursive"; then
2780 # If there are subdirs, report their specific --help.
2781 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
2782 test -d "$ac_dir" ||
2783 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
2784 continue
2785 ac_builddir=.
2787 case "$ac_dir" in
2788 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
2790 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
2791 # A ".." for each directory in $ac_dir_suffix.
2792 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
2793 case $ac_top_builddir_sub in
2794 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
2795 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
2796 esac ;;
2797 esac
2798 ac_abs_top_builddir=$ac_pwd
2799 ac_abs_builddir=$ac_pwd$ac_dir_suffix
2800 # for backward compatibility:
2801 ac_top_builddir=$ac_top_build_prefix
2803 case $srcdir in
2804 .) # We are building in place.
2805 ac_srcdir=.
2806 ac_top_srcdir=$ac_top_builddir_sub
2807 ac_abs_top_srcdir=$ac_pwd ;;
2808 [\\/]* | ?:[\\/]* ) # Absolute name.
2809 ac_srcdir=$srcdir$ac_dir_suffix;
2810 ac_top_srcdir=$srcdir
2811 ac_abs_top_srcdir=$srcdir ;;
2812 *) # Relative name.
2813 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
2814 ac_top_srcdir=$ac_top_build_prefix$srcdir
2815 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
2816 esac
2817 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
2819 cd "$ac_dir" || { ac_status=$?; continue; }
2820 # Check for guested configure.
2821 if test -f "$ac_srcdir/configure.gnu"; then
2822 echo &&
2823 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
2824 elif test -f "$ac_srcdir/configure"; then
2825 echo &&
2826 $SHELL "$ac_srcdir/configure" --help=recursive
2827 else
2828 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
2829 fi || ac_status=$?
2830 cd "$ac_pwd" || { ac_status=$?; break; }
2831 done
2834 test -n "$ac_init_help" && exit $ac_status
2835 if $ac_init_version; then
2836 cat <<\_ACEOF
2837 Wine configure 6.5
2838 generated by GNU Autoconf 2.69
2840 Copyright (C) 2012 Free Software Foundation, Inc.
2841 This configure script is free software; the Free Software Foundation
2842 gives unlimited permission to copy, distribute and modify it.
2843 _ACEOF
2844 exit
2847 ## ------------------------ ##
2848 ## Autoconf initialization. ##
2849 ## ------------------------ ##
2851 # ac_fn_c_try_compile LINENO
2852 # --------------------------
2853 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2854 ac_fn_c_try_compile ()
2856 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2857 rm -f conftest.$ac_objext
2858 if { { ac_try="$ac_compile"
2859 case "(($ac_try" in
2860 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2861 *) ac_try_echo=$ac_try;;
2862 esac
2863 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2864 $as_echo "$ac_try_echo"; } >&5
2865 (eval "$ac_compile") 2>conftest.err
2866 ac_status=$?
2867 if test -s conftest.err; then
2868 grep -v '^ *+' conftest.err >conftest.er1
2869 cat conftest.er1 >&5
2870 mv -f conftest.er1 conftest.err
2872 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2873 test $ac_status = 0; } && {
2874 test -z "$ac_c_werror_flag" ||
2875 test ! -s conftest.err
2876 } && test -s conftest.$ac_objext; then :
2877 ac_retval=0
2878 else
2879 $as_echo "$as_me: failed program was:" >&5
2880 sed 's/^/| /' conftest.$ac_ext >&5
2882 ac_retval=1
2884 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2885 as_fn_set_status $ac_retval
2887 } # ac_fn_c_try_compile
2889 # ac_fn_cxx_try_compile LINENO
2890 # ----------------------------
2891 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2892 ac_fn_cxx_try_compile ()
2894 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2895 rm -f conftest.$ac_objext
2896 if { { ac_try="$ac_compile"
2897 case "(($ac_try" in
2898 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2899 *) ac_try_echo=$ac_try;;
2900 esac
2901 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2902 $as_echo "$ac_try_echo"; } >&5
2903 (eval "$ac_compile") 2>conftest.err
2904 ac_status=$?
2905 if test -s conftest.err; then
2906 grep -v '^ *+' conftest.err >conftest.er1
2907 cat conftest.er1 >&5
2908 mv -f conftest.er1 conftest.err
2910 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2911 test $ac_status = 0; } && {
2912 test -z "$ac_cxx_werror_flag" ||
2913 test ! -s conftest.err
2914 } && test -s conftest.$ac_objext; then :
2915 ac_retval=0
2916 else
2917 $as_echo "$as_me: failed program was:" >&5
2918 sed 's/^/| /' conftest.$ac_ext >&5
2920 ac_retval=1
2922 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2923 as_fn_set_status $ac_retval
2925 } # ac_fn_cxx_try_compile
2927 # ac_fn_c_try_link LINENO
2928 # -----------------------
2929 # Try to link conftest.$ac_ext, and return whether this succeeded.
2930 ac_fn_c_try_link ()
2932 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2933 rm -f conftest.$ac_objext conftest$ac_exeext
2934 if { { ac_try="$ac_link"
2935 case "(($ac_try" in
2936 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2937 *) ac_try_echo=$ac_try;;
2938 esac
2939 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2940 $as_echo "$ac_try_echo"; } >&5
2941 (eval "$ac_link") 2>conftest.err
2942 ac_status=$?
2943 if test -s conftest.err; then
2944 grep -v '^ *+' conftest.err >conftest.er1
2945 cat conftest.er1 >&5
2946 mv -f conftest.er1 conftest.err
2948 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2949 test $ac_status = 0; } && {
2950 test -z "$ac_c_werror_flag" ||
2951 test ! -s conftest.err
2952 } && test -s conftest$ac_exeext && {
2953 test "$cross_compiling" = yes ||
2954 test -x conftest$ac_exeext
2955 }; then :
2956 ac_retval=0
2957 else
2958 $as_echo "$as_me: failed program was:" >&5
2959 sed 's/^/| /' conftest.$ac_ext >&5
2961 ac_retval=1
2963 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2964 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2965 # interfere with the next link command; also delete a directory that is
2966 # left behind by Apple's compiler. We do this before executing the actions.
2967 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2968 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2969 as_fn_set_status $ac_retval
2971 } # ac_fn_c_try_link
2973 # ac_fn_c_try_cpp LINENO
2974 # ----------------------
2975 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
2976 ac_fn_c_try_cpp ()
2978 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2979 if { { ac_try="$ac_cpp conftest.$ac_ext"
2980 case "(($ac_try" in
2981 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2982 *) ac_try_echo=$ac_try;;
2983 esac
2984 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2985 $as_echo "$ac_try_echo"; } >&5
2986 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
2987 ac_status=$?
2988 if test -s conftest.err; then
2989 grep -v '^ *+' conftest.err >conftest.er1
2990 cat conftest.er1 >&5
2991 mv -f conftest.er1 conftest.err
2993 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2994 test $ac_status = 0; } > conftest.i && {
2995 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
2996 test ! -s conftest.err
2997 }; then :
2998 ac_retval=0
2999 else
3000 $as_echo "$as_me: failed program was:" >&5
3001 sed 's/^/| /' conftest.$ac_ext >&5
3003 ac_retval=1
3005 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3006 as_fn_set_status $ac_retval
3008 } # ac_fn_c_try_cpp
3010 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
3011 # -------------------------------------------------------
3012 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
3013 # the include files in INCLUDES and setting the cache variable VAR
3014 # accordingly.
3015 ac_fn_c_check_header_mongrel ()
3017 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3018 if eval \${$3+:} false; then :
3019 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3020 $as_echo_n "checking for $2... " >&6; }
3021 if eval \${$3+:} false; then :
3022 $as_echo_n "(cached) " >&6
3024 eval ac_res=\$$3
3025 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3026 $as_echo "$ac_res" >&6; }
3027 else
3028 # Is the header compilable?
3029 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
3030 $as_echo_n "checking $2 usability... " >&6; }
3031 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3032 /* end confdefs.h. */
3034 #include <$2>
3035 _ACEOF
3036 if ac_fn_c_try_compile "$LINENO"; then :
3037 ac_header_compiler=yes
3038 else
3039 ac_header_compiler=no
3041 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3042 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
3043 $as_echo "$ac_header_compiler" >&6; }
3045 # Is the header present?
3046 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
3047 $as_echo_n "checking $2 presence... " >&6; }
3048 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3049 /* end confdefs.h. */
3050 #include <$2>
3051 _ACEOF
3052 if ac_fn_c_try_cpp "$LINENO"; then :
3053 ac_header_preproc=yes
3054 else
3055 ac_header_preproc=no
3057 rm -f conftest.err conftest.i conftest.$ac_ext
3058 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
3059 $as_echo "$ac_header_preproc" >&6; }
3061 # So? What about this header?
3062 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
3063 yes:no: )
3064 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
3065 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
3066 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
3067 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
3069 no:yes:* )
3070 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
3071 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
3072 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
3073 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
3074 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
3075 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
3076 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
3077 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
3078 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
3079 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
3080 ( $as_echo "## ------------------------------------ ##
3081 ## Report this to wine-devel@winehq.org ##
3082 ## ------------------------------------ ##"
3083 ) | sed "s/^/$as_me: WARNING: /" >&2
3085 esac
3086 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3087 $as_echo_n "checking for $2... " >&6; }
3088 if eval \${$3+:} false; then :
3089 $as_echo_n "(cached) " >&6
3090 else
3091 eval "$3=\$ac_header_compiler"
3093 eval ac_res=\$$3
3094 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3095 $as_echo "$ac_res" >&6; }
3097 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3099 } # ac_fn_c_check_header_mongrel
3101 # ac_fn_c_try_run LINENO
3102 # ----------------------
3103 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
3104 # that executables *can* be run.
3105 ac_fn_c_try_run ()
3107 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3108 if { { ac_try="$ac_link"
3109 case "(($ac_try" in
3110 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3111 *) ac_try_echo=$ac_try;;
3112 esac
3113 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3114 $as_echo "$ac_try_echo"; } >&5
3115 (eval "$ac_link") 2>&5
3116 ac_status=$?
3117 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3118 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
3119 { { case "(($ac_try" in
3120 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3121 *) ac_try_echo=$ac_try;;
3122 esac
3123 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3124 $as_echo "$ac_try_echo"; } >&5
3125 (eval "$ac_try") 2>&5
3126 ac_status=$?
3127 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3128 test $ac_status = 0; }; }; then :
3129 ac_retval=0
3130 else
3131 $as_echo "$as_me: program exited with status $ac_status" >&5
3132 $as_echo "$as_me: failed program was:" >&5
3133 sed 's/^/| /' conftest.$ac_ext >&5
3135 ac_retval=$ac_status
3137 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
3138 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3139 as_fn_set_status $ac_retval
3141 } # ac_fn_c_try_run
3143 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
3144 # -------------------------------------------------------
3145 # Tests whether HEADER exists and can be compiled using the include files in
3146 # INCLUDES, setting the cache variable VAR accordingly.
3147 ac_fn_c_check_header_compile ()
3149 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3150 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3151 $as_echo_n "checking for $2... " >&6; }
3152 if eval \${$3+:} false; then :
3153 $as_echo_n "(cached) " >&6
3154 else
3155 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3156 /* end confdefs.h. */
3158 #include <$2>
3159 _ACEOF
3160 if ac_fn_c_try_compile "$LINENO"; then :
3161 eval "$3=yes"
3162 else
3163 eval "$3=no"
3165 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3167 eval ac_res=\$$3
3168 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3169 $as_echo "$ac_res" >&6; }
3170 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3172 } # ac_fn_c_check_header_compile
3174 # ac_fn_objc_try_compile LINENO
3175 # -----------------------------
3176 # Try to compile conftest.$ac_ext, and return whether this succeeded.
3177 ac_fn_objc_try_compile ()
3179 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3180 rm -f conftest.$ac_objext
3181 if { { ac_try="$ac_compile"
3182 case "(($ac_try" in
3183 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3184 *) ac_try_echo=$ac_try;;
3185 esac
3186 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3187 $as_echo "$ac_try_echo"; } >&5
3188 (eval "$ac_compile") 2>conftest.err
3189 ac_status=$?
3190 if test -s conftest.err; then
3191 grep -v '^ *+' conftest.err >conftest.er1
3192 cat conftest.er1 >&5
3193 mv -f conftest.er1 conftest.err
3195 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3196 test $ac_status = 0; } && {
3197 test -z "$ac_objc_werror_flag" ||
3198 test ! -s conftest.err
3199 } && test -s conftest.$ac_objext; then :
3200 ac_retval=0
3201 else
3202 $as_echo "$as_me: failed program was:" >&5
3203 sed 's/^/| /' conftest.$ac_ext >&5
3205 ac_retval=1
3207 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3208 as_fn_set_status $ac_retval
3210 } # ac_fn_objc_try_compile
3212 # ac_fn_objc_try_cpp LINENO
3213 # -------------------------
3214 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
3215 ac_fn_objc_try_cpp ()
3217 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3218 if { { ac_try="$ac_cpp conftest.$ac_ext"
3219 case "(($ac_try" in
3220 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3221 *) ac_try_echo=$ac_try;;
3222 esac
3223 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3224 $as_echo "$ac_try_echo"; } >&5
3225 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
3226 ac_status=$?
3227 if test -s conftest.err; then
3228 grep -v '^ *+' conftest.err >conftest.er1
3229 cat conftest.er1 >&5
3230 mv -f conftest.er1 conftest.err
3232 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3233 test $ac_status = 0; } > conftest.i && {
3234 test -z "$ac_objc_preproc_warn_flag$ac_objc_werror_flag" ||
3235 test ! -s conftest.err
3236 }; then :
3237 ac_retval=0
3238 else
3239 $as_echo "$as_me: failed program was:" >&5
3240 sed 's/^/| /' conftest.$ac_ext >&5
3242 ac_retval=1
3244 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3245 as_fn_set_status $ac_retval
3247 } # ac_fn_objc_try_cpp
3249 # ac_fn_objc_check_header_mongrel LINENO HEADER VAR INCLUDES
3250 # ----------------------------------------------------------
3251 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
3252 # the include files in INCLUDES and setting the cache variable VAR
3253 # accordingly.
3254 ac_fn_objc_check_header_mongrel ()
3256 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3257 if eval \${$3+:} false; then :
3258 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3259 $as_echo_n "checking for $2... " >&6; }
3260 if eval \${$3+:} false; then :
3261 $as_echo_n "(cached) " >&6
3263 eval ac_res=\$$3
3264 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3265 $as_echo "$ac_res" >&6; }
3266 else
3267 # Is the header compilable?
3268 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
3269 $as_echo_n "checking $2 usability... " >&6; }
3270 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3271 /* end confdefs.h. */
3273 #include <$2>
3274 _ACEOF
3275 if ac_fn_objc_try_compile "$LINENO"; then :
3276 ac_header_compiler=yes
3277 else
3278 ac_header_compiler=no
3280 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3281 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
3282 $as_echo "$ac_header_compiler" >&6; }
3284 # Is the header present?
3285 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
3286 $as_echo_n "checking $2 presence... " >&6; }
3287 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3288 /* end confdefs.h. */
3289 #include <$2>
3290 _ACEOF
3291 if ac_fn_objc_try_cpp "$LINENO"; then :
3292 ac_header_preproc=yes
3293 else
3294 ac_header_preproc=no
3296 rm -f conftest.err conftest.i conftest.$ac_ext
3297 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
3298 $as_echo "$ac_header_preproc" >&6; }
3300 # So? What about this header?
3301 case $ac_header_compiler:$ac_header_preproc:$ac_objc_preproc_warn_flag in #((
3302 yes:no: )
3303 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
3304 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
3305 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
3306 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
3308 no:yes:* )
3309 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
3310 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
3311 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
3312 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
3313 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
3314 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
3315 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
3316 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
3317 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
3318 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
3319 ( $as_echo "## ------------------------------------ ##
3320 ## Report this to wine-devel@winehq.org ##
3321 ## ------------------------------------ ##"
3322 ) | sed "s/^/$as_me: WARNING: /" >&2
3324 esac
3325 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3326 $as_echo_n "checking for $2... " >&6; }
3327 if eval \${$3+:} false; then :
3328 $as_echo_n "(cached) " >&6
3329 else
3330 eval "$3=\$ac_header_compiler"
3332 eval ac_res=\$$3
3333 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3334 $as_echo "$ac_res" >&6; }
3336 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3338 } # ac_fn_objc_check_header_mongrel
3340 # ac_fn_c_check_func LINENO FUNC VAR
3341 # ----------------------------------
3342 # Tests whether FUNC exists, setting the cache variable VAR accordingly
3343 ac_fn_c_check_func ()
3345 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3346 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3347 $as_echo_n "checking for $2... " >&6; }
3348 if eval \${$3+:} false; then :
3349 $as_echo_n "(cached) " >&6
3350 else
3351 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3352 /* end confdefs.h. */
3353 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
3354 For example, HP-UX 11i <limits.h> declares gettimeofday. */
3355 #define $2 innocuous_$2
3357 /* System header to define __stub macros and hopefully few prototypes,
3358 which can conflict with char $2 (); below.
3359 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3360 <limits.h> exists even on freestanding compilers. */
3362 #ifdef __STDC__
3363 # include <limits.h>
3364 #else
3365 # include <assert.h>
3366 #endif
3368 #undef $2
3370 /* Override any GCC internal prototype to avoid an error.
3371 Use char because int might match the return type of a GCC
3372 builtin and then its argument prototype would still apply. */
3373 #ifdef __cplusplus
3374 extern "C"
3375 #endif
3376 char $2 ();
3377 /* The GNU C library defines this for functions which it implements
3378 to always fail with ENOSYS. Some functions are actually named
3379 something starting with __ and the normal name is an alias. */
3380 #if defined __stub_$2 || defined __stub___$2
3381 choke me
3382 #endif
3385 main ()
3387 return $2 ();
3389 return 0;
3391 _ACEOF
3392 if ac_fn_c_try_link "$LINENO"; then :
3393 eval "$3=yes"
3394 else
3395 eval "$3=no"
3397 rm -f core conftest.err conftest.$ac_objext \
3398 conftest$ac_exeext conftest.$ac_ext
3400 eval ac_res=\$$3
3401 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3402 $as_echo "$ac_res" >&6; }
3403 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3405 } # ac_fn_c_check_func
3407 # ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
3408 # ----------------------------------------------------
3409 # Tries to find if the field MEMBER exists in type AGGR, after including
3410 # INCLUDES, setting cache variable VAR accordingly.
3411 ac_fn_c_check_member ()
3413 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3414 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
3415 $as_echo_n "checking for $2.$3... " >&6; }
3416 if eval \${$4+:} false; then :
3417 $as_echo_n "(cached) " >&6
3418 else
3419 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3420 /* end confdefs.h. */
3423 main ()
3425 static $2 ac_aggr;
3426 if (ac_aggr.$3)
3427 return 0;
3429 return 0;
3431 _ACEOF
3432 if ac_fn_c_try_compile "$LINENO"; then :
3433 eval "$4=yes"
3434 else
3435 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3436 /* end confdefs.h. */
3439 main ()
3441 static $2 ac_aggr;
3442 if (sizeof ac_aggr.$3)
3443 return 0;
3445 return 0;
3447 _ACEOF
3448 if ac_fn_c_try_compile "$LINENO"; then :
3449 eval "$4=yes"
3450 else
3451 eval "$4=no"
3453 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3455 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3457 eval ac_res=\$$4
3458 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3459 $as_echo "$ac_res" >&6; }
3460 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3462 } # ac_fn_c_check_member
3464 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
3465 # -------------------------------------------
3466 # Tests whether TYPE exists after having included INCLUDES, setting cache
3467 # variable VAR accordingly.
3468 ac_fn_c_check_type ()
3470 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3471 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3472 $as_echo_n "checking for $2... " >&6; }
3473 if eval \${$3+:} false; then :
3474 $as_echo_n "(cached) " >&6
3475 else
3476 eval "$3=no"
3477 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3478 /* end confdefs.h. */
3481 main ()
3483 if (sizeof ($2))
3484 return 0;
3486 return 0;
3488 _ACEOF
3489 if ac_fn_c_try_compile "$LINENO"; then :
3490 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3491 /* end confdefs.h. */
3494 main ()
3496 if (sizeof (($2)))
3497 return 0;
3499 return 0;
3501 _ACEOF
3502 if ac_fn_c_try_compile "$LINENO"; then :
3504 else
3505 eval "$3=yes"
3507 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3509 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3511 eval ac_res=\$$3
3512 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3513 $as_echo "$ac_res" >&6; }
3514 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3516 } # ac_fn_c_check_type
3517 cat >config.log <<_ACEOF
3518 This file contains any messages produced by compilers while
3519 running configure, to aid debugging if configure makes a mistake.
3521 It was created by Wine $as_me 6.5, which was
3522 generated by GNU Autoconf 2.69. Invocation command line was
3524 $ $0 $@
3526 _ACEOF
3527 exec 5>>config.log
3529 cat <<_ASUNAME
3530 ## --------- ##
3531 ## Platform. ##
3532 ## --------- ##
3534 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
3535 uname -m = `(uname -m) 2>/dev/null || echo unknown`
3536 uname -r = `(uname -r) 2>/dev/null || echo unknown`
3537 uname -s = `(uname -s) 2>/dev/null || echo unknown`
3538 uname -v = `(uname -v) 2>/dev/null || echo unknown`
3540 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
3541 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
3543 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
3544 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
3545 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
3546 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
3547 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
3548 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
3549 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
3551 _ASUNAME
3553 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3554 for as_dir in $PATH
3556 IFS=$as_save_IFS
3557 test -z "$as_dir" && as_dir=.
3558 $as_echo "PATH: $as_dir"
3559 done
3560 IFS=$as_save_IFS
3562 } >&5
3564 cat >&5 <<_ACEOF
3567 ## ----------- ##
3568 ## Core tests. ##
3569 ## ----------- ##
3571 _ACEOF
3574 # Keep a trace of the command line.
3575 # Strip out --no-create and --no-recursion so they do not pile up.
3576 # Strip out --silent because we don't want to record it for future runs.
3577 # Also quote any args containing shell meta-characters.
3578 # Make two passes to allow for proper duplicate-argument suppression.
3579 ac_configure_args=
3580 ac_configure_args0=
3581 ac_configure_args1=
3582 ac_must_keep_next=false
3583 for ac_pass in 1 2
3585 for ac_arg
3587 case $ac_arg in
3588 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
3589 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
3590 | -silent | --silent | --silen | --sile | --sil)
3591 continue ;;
3592 *\'*)
3593 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
3594 esac
3595 case $ac_pass in
3596 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
3598 as_fn_append ac_configure_args1 " '$ac_arg'"
3599 if test $ac_must_keep_next = true; then
3600 ac_must_keep_next=false # Got value, back to normal.
3601 else
3602 case $ac_arg in
3603 *=* | --config-cache | -C | -disable-* | --disable-* \
3604 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
3605 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
3606 | -with-* | --with-* | -without-* | --without-* | --x)
3607 case "$ac_configure_args0 " in
3608 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
3609 esac
3611 -* ) ac_must_keep_next=true ;;
3612 esac
3614 as_fn_append ac_configure_args " '$ac_arg'"
3616 esac
3617 done
3618 done
3619 { ac_configure_args0=; unset ac_configure_args0;}
3620 { ac_configure_args1=; unset ac_configure_args1;}
3622 # When interrupted or exit'd, cleanup temporary files, and complete
3623 # config.log. We remove comments because anyway the quotes in there
3624 # would cause problems or look ugly.
3625 # WARNING: Use '\'' to represent an apostrophe within the trap.
3626 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
3627 trap 'exit_status=$?
3628 # Save into config.log some information that might help in debugging.
3630 echo
3632 $as_echo "## ---------------- ##
3633 ## Cache variables. ##
3634 ## ---------------- ##"
3635 echo
3636 # The following way of writing the cache mishandles newlines in values,
3638 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
3639 eval ac_val=\$$ac_var
3640 case $ac_val in #(
3641 *${as_nl}*)
3642 case $ac_var in #(
3643 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
3644 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
3645 esac
3646 case $ac_var in #(
3647 _ | IFS | as_nl) ;; #(
3648 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
3649 *) { eval $ac_var=; unset $ac_var;} ;;
3650 esac ;;
3651 esac
3652 done
3653 (set) 2>&1 |
3654 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
3655 *${as_nl}ac_space=\ *)
3656 sed -n \
3657 "s/'\''/'\''\\\\'\'''\''/g;
3658 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
3659 ;; #(
3661 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
3663 esac |
3664 sort
3666 echo
3668 $as_echo "## ----------------- ##
3669 ## Output variables. ##
3670 ## ----------------- ##"
3671 echo
3672 for ac_var in $ac_subst_vars
3674 eval ac_val=\$$ac_var
3675 case $ac_val in
3676 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3677 esac
3678 $as_echo "$ac_var='\''$ac_val'\''"
3679 done | sort
3680 echo
3682 if test -n "$ac_subst_files"; then
3683 $as_echo "## ------------------- ##
3684 ## File substitutions. ##
3685 ## ------------------- ##"
3686 echo
3687 for ac_var in $ac_subst_files
3689 eval ac_val=\$$ac_var
3690 case $ac_val in
3691 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3692 esac
3693 $as_echo "$ac_var='\''$ac_val'\''"
3694 done | sort
3695 echo
3698 if test -s confdefs.h; then
3699 $as_echo "## ----------- ##
3700 ## confdefs.h. ##
3701 ## ----------- ##"
3702 echo
3703 cat confdefs.h
3704 echo
3706 test "$ac_signal" != 0 &&
3707 $as_echo "$as_me: caught signal $ac_signal"
3708 $as_echo "$as_me: exit $exit_status"
3709 } >&5
3710 rm -f core *.core core.conftest.* &&
3711 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
3712 exit $exit_status
3714 for ac_signal in 1 2 13 15; do
3715 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
3716 done
3717 ac_signal=0
3719 # confdefs.h avoids OS command line length limits that DEFS can exceed.
3720 rm -f -r conftest* confdefs.h
3722 $as_echo "/* confdefs.h */" > confdefs.h
3724 # Predefined preprocessor variables.
3726 cat >>confdefs.h <<_ACEOF
3727 #define PACKAGE_NAME "$PACKAGE_NAME"
3728 _ACEOF
3730 cat >>confdefs.h <<_ACEOF
3731 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
3732 _ACEOF
3734 cat >>confdefs.h <<_ACEOF
3735 #define PACKAGE_VERSION "$PACKAGE_VERSION"
3736 _ACEOF
3738 cat >>confdefs.h <<_ACEOF
3739 #define PACKAGE_STRING "$PACKAGE_STRING"
3740 _ACEOF
3742 cat >>confdefs.h <<_ACEOF
3743 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
3744 _ACEOF
3746 cat >>confdefs.h <<_ACEOF
3747 #define PACKAGE_URL "$PACKAGE_URL"
3748 _ACEOF
3751 # Let the site file select an alternate cache file if it wants to.
3752 # Prefer an explicitly selected file to automatically selected ones.
3753 ac_site_file1=NONE
3754 ac_site_file2=NONE
3755 if test -n "$CONFIG_SITE"; then
3756 # We do not want a PATH search for config.site.
3757 case $CONFIG_SITE in #((
3758 -*) ac_site_file1=./$CONFIG_SITE;;
3759 */*) ac_site_file1=$CONFIG_SITE;;
3760 *) ac_site_file1=./$CONFIG_SITE;;
3761 esac
3762 elif test "x$prefix" != xNONE; then
3763 ac_site_file1=$prefix/share/config.site
3764 ac_site_file2=$prefix/etc/config.site
3765 else
3766 ac_site_file1=$ac_default_prefix/share/config.site
3767 ac_site_file2=$ac_default_prefix/etc/config.site
3769 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
3771 test "x$ac_site_file" = xNONE && continue
3772 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
3773 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
3774 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
3775 sed 's/^/| /' "$ac_site_file" >&5
3776 . "$ac_site_file" \
3777 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3778 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3779 as_fn_error $? "failed to load site script $ac_site_file
3780 See \`config.log' for more details" "$LINENO" 5; }
3782 done
3784 if test -r "$cache_file"; then
3785 # Some versions of bash will fail to source /dev/null (special files
3786 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
3787 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
3788 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
3789 $as_echo "$as_me: loading cache $cache_file" >&6;}
3790 case $cache_file in
3791 [\\/]* | ?:[\\/]* ) . "$cache_file";;
3792 *) . "./$cache_file";;
3793 esac
3795 else
3796 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
3797 $as_echo "$as_me: creating cache $cache_file" >&6;}
3798 >$cache_file
3801 # Check that the precious variables saved in the cache have kept the same
3802 # value.
3803 ac_cache_corrupted=false
3804 for ac_var in $ac_precious_vars; do
3805 eval ac_old_set=\$ac_cv_env_${ac_var}_set
3806 eval ac_new_set=\$ac_env_${ac_var}_set
3807 eval ac_old_val=\$ac_cv_env_${ac_var}_value
3808 eval ac_new_val=\$ac_env_${ac_var}_value
3809 case $ac_old_set,$ac_new_set in
3810 set,)
3811 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
3812 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
3813 ac_cache_corrupted=: ;;
3814 ,set)
3815 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
3816 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
3817 ac_cache_corrupted=: ;;
3818 ,);;
3820 if test "x$ac_old_val" != "x$ac_new_val"; then
3821 # differences in whitespace do not lead to failure.
3822 ac_old_val_w=`echo x $ac_old_val`
3823 ac_new_val_w=`echo x $ac_new_val`
3824 if test "$ac_old_val_w" != "$ac_new_val_w"; then
3825 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
3826 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
3827 ac_cache_corrupted=:
3828 else
3829 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
3830 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
3831 eval $ac_var=\$ac_old_val
3833 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
3834 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
3835 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
3836 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
3837 fi;;
3838 esac
3839 # Pass precious variables to config.status.
3840 if test "$ac_new_set" = set; then
3841 case $ac_new_val in
3842 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
3843 *) ac_arg=$ac_var=$ac_new_val ;;
3844 esac
3845 case " $ac_configure_args " in
3846 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
3847 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
3848 esac
3850 done
3851 if $ac_cache_corrupted; then
3852 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3853 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3854 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
3855 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
3856 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
3858 ## -------------------- ##
3859 ## Main body of script. ##
3860 ## -------------------- ##
3862 ac_ext=c
3863 ac_cpp='$CPP $CPPFLAGS'
3864 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3865 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3866 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3870 ac_config_headers="$ac_config_headers include/config.h"
3872 ac_aux_dir=
3873 for ac_dir in tools "$srcdir"/tools; do
3874 if test -f "$ac_dir/install-sh"; then
3875 ac_aux_dir=$ac_dir
3876 ac_install_sh="$ac_aux_dir/install-sh -c"
3877 break
3878 elif test -f "$ac_dir/install.sh"; then
3879 ac_aux_dir=$ac_dir
3880 ac_install_sh="$ac_aux_dir/install.sh -c"
3881 break
3882 elif test -f "$ac_dir/shtool"; then
3883 ac_aux_dir=$ac_dir
3884 ac_install_sh="$ac_aux_dir/shtool install -c"
3885 break
3887 done
3888 if test -z "$ac_aux_dir"; then
3889 as_fn_error $? "cannot find install-sh, install.sh, or shtool in tools \"$srcdir\"/tools" "$LINENO" 5
3892 # These three variables are undocumented and unsupported,
3893 # and are intended to be withdrawn in a future Autoconf release.
3894 # They can cause serious problems if a builder's source tree is in a directory
3895 # whose full name contains unusual characters.
3896 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
3897 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
3898 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
3902 libwine_version="1.0"
3906 # Check whether --enable-win16 was given.
3907 if test "${enable_win16+set}" = set; then :
3908 enableval=$enable_win16;
3911 # Check whether --enable-win64 was given.
3912 if test "${enable_win64+set}" = set; then :
3913 enableval=$enable_win64;
3916 # Check whether --enable-tests was given.
3917 if test "${enable_tests+set}" = set; then :
3918 enableval=$enable_tests;
3921 # Check whether --enable-build-id was given.
3922 if test "${enable_build_id+set}" = set; then :
3923 enableval=$enable_build_id;
3926 # Check whether --enable-maintainer-mode was given.
3927 if test "${enable_maintainer_mode+set}" = set; then :
3928 enableval=$enable_maintainer_mode;
3931 # Check whether --enable-silent-rules was given.
3932 if test "${enable_silent_rules+set}" = set; then :
3933 enableval=$enable_silent_rules;
3936 # Check whether --enable-werror was given.
3937 if test "${enable_werror+set}" = set; then :
3938 enableval=$enable_werror;
3943 # Check whether --with-alsa was given.
3944 if test "${with_alsa+set}" = set; then :
3945 withval=$with_alsa;
3949 # Check whether --with-capi was given.
3950 if test "${with_capi+set}" = set; then :
3951 withval=$with_capi;
3955 # Check whether --with-cms was given.
3956 if test "${with_cms+set}" = set; then :
3957 withval=$with_cms;
3961 # Check whether --with-coreaudio was given.
3962 if test "${with_coreaudio+set}" = set; then :
3963 withval=$with_coreaudio; if test "x$withval" = "xno"; then ac_cv_header_CoreAudio_CoreAudio_h=no; fi
3967 # Check whether --with-cups was given.
3968 if test "${with_cups+set}" = set; then :
3969 withval=$with_cups;
3973 # Check whether --with-dbus was given.
3974 if test "${with_dbus+set}" = set; then :
3975 withval=$with_dbus;
3979 # Check whether --with-faudio was given.
3980 if test "${with_faudio+set}" = set; then :
3981 withval=$with_faudio;
3985 # Check whether --with-float-abi was given.
3986 if test "${with_float_abi+set}" = set; then :
3987 withval=$with_float_abi;
3991 # Check whether --with-fontconfig was given.
3992 if test "${with_fontconfig+set}" = set; then :
3993 withval=$with_fontconfig;
3997 # Check whether --with-freetype was given.
3998 if test "${with_freetype+set}" = set; then :
3999 withval=$with_freetype;
4003 # Check whether --with-gettext was given.
4004 if test "${with_gettext+set}" = set; then :
4005 withval=$with_gettext;
4009 # Check whether --with-gettextpo was given.
4010 if test "${with_gettextpo+set}" = set; then :
4011 withval=$with_gettextpo; if test "x$withval" = "xno"; then ac_cv_header_gettext_po_h=no; fi
4015 # Check whether --with-gphoto was given.
4016 if test "${with_gphoto+set}" = set; then :
4017 withval=$with_gphoto;
4021 # Check whether --with-gnutls was given.
4022 if test "${with_gnutls+set}" = set; then :
4023 withval=$with_gnutls;
4027 # Check whether --with-gsm was given.
4028 if test "${with_gsm+set}" = set; then :
4029 withval=$with_gsm; if test "x$withval" = "xno"; then ac_cv_header_gsm_h=no; ac_cv_header_gsm_gsm_h=no; fi
4033 # Check whether --with-gssapi was given.
4034 if test "${with_gssapi+set}" = set; then :
4035 withval=$with_gssapi;
4039 # Check whether --with-gstreamer was given.
4040 if test "${with_gstreamer+set}" = set; then :
4041 withval=$with_gstreamer;
4045 # Check whether --with-hal was given.
4046 if test "${with_hal+set}" = set; then :
4047 withval=$with_hal;
4051 # Check whether --with-inotify was given.
4052 if test "${with_inotify+set}" = set; then :
4053 withval=$with_inotify;
4057 # Check whether --with-jpeg was given.
4058 if test "${with_jpeg+set}" = set; then :
4059 withval=$with_jpeg;
4063 # Check whether --with-jxrlib was given.
4064 if test "${with_jxrlib+set}" = set; then :
4065 withval=$with_jxrlib;
4069 # Check whether --with-krb5 was given.
4070 if test "${with_krb5+set}" = set; then :
4071 withval=$with_krb5;
4075 # Check whether --with-ldap was given.
4076 if test "${with_ldap+set}" = set; then :
4077 withval=$with_ldap; if test "x$withval" = "xno"; then ac_cv_header_ldap_h=no; ac_cv_header_lber_h=no; fi
4081 # Check whether --with-mingw was given.
4082 if test "${with_mingw+set}" = set; then :
4083 withval=$with_mingw;
4087 # Check whether --with-mpg123 was given.
4088 if test "${with_mpg123+set}" = set; then :
4089 withval=$with_mpg123;
4093 # Check whether --with-netapi was given.
4094 if test "${with_netapi+set}" = set; then :
4095 withval=$with_netapi;
4099 # Check whether --with-openal was given.
4100 if test "${with_openal+set}" = set; then :
4101 withval=$with_openal; if test "x$withval" = "xno"; then ac_cv_header_AL_al_h=no; ac_cv_header_OpenAL_al_h=no; fi
4105 # Check whether --with-opencl was given.
4106 if test "${with_opencl+set}" = set; then :
4107 withval=$with_opencl; if test "x$withval" = "xno"; then ac_cv_header_CL_cl_h=no; ac_cv_header_OpenCL_opencl_h=no; fi
4111 # Check whether --with-opengl was given.
4112 if test "${with_opengl+set}" = set; then :
4113 withval=$with_opengl;
4117 # Check whether --with-osmesa was given.
4118 if test "${with_osmesa+set}" = set; then :
4119 withval=$with_osmesa;
4123 # Check whether --with-oss was given.
4124 if test "${with_oss+set}" = set; then :
4125 withval=$with_oss;
4129 # Check whether --with-pcap was given.
4130 if test "${with_pcap+set}" = set; then :
4131 withval=$with_pcap; if test "x$withval" = "xno"; then ac_cv_header_pcap_pcap_h=no; fi
4135 # Check whether --with-png was given.
4136 if test "${with_png+set}" = set; then :
4137 withval=$with_png;
4141 # Check whether --with-pthread was given.
4142 if test "${with_pthread+set}" = set; then :
4143 withval=$with_pthread; if test "x$withval" = "xno"; then ac_cv_header_pthread_h=no; fi
4147 # Check whether --with-pulse was given.
4148 if test "${with_pulse+set}" = set; then :
4149 withval=$with_pulse;
4153 # Check whether --with-quicktime was given.
4154 if test "${with_quicktime+set}" = set; then :
4155 withval=$with_quicktime;
4159 # Check whether --with-sane was given.
4160 if test "${with_sane+set}" = set; then :
4161 withval=$with_sane;
4165 # Check whether --with-sdl was given.
4166 if test "${with_sdl+set}" = set; then :
4167 withval=$with_sdl;
4171 # Check whether --with-tiff was given.
4172 if test "${with_tiff+set}" = set; then :
4173 withval=$with_tiff;
4177 # Check whether --with-udev was given.
4178 if test "${with_udev+set}" = set; then :
4179 withval=$with_udev;
4183 # Check whether --with-unwind was given.
4184 if test "${with_unwind+set}" = set; then :
4185 withval=$with_unwind;
4189 # Check whether --with-usb was given.
4190 if test "${with_usb+set}" = set; then :
4191 withval=$with_usb;
4195 # Check whether --with-v4l2 was given.
4196 if test "${with_v4l2+set}" = set; then :
4197 withval=$with_v4l2;
4201 # Check whether --with-vkd3d was given.
4202 if test "${with_vkd3d+set}" = set; then :
4203 withval=$with_vkd3d;
4207 # Check whether --with-vulkan was given.
4208 if test "${with_vulkan+set}" = set; then :
4209 withval=$with_vulkan;
4213 # Check whether --with-xcomposite was given.
4214 if test "${with_xcomposite+set}" = set; then :
4215 withval=$with_xcomposite; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xcomposite_h=no; fi
4219 # Check whether --with-xcursor was given.
4220 if test "${with_xcursor+set}" = set; then :
4221 withval=$with_xcursor; if test "x$withval" = "xno"; then ac_cv_header_X11_Xcursor_Xcursor_h=no; fi
4225 # Check whether --with-xfixes was given.
4226 if test "${with_xfixes+set}" = set; then :
4227 withval=$with_xfixes; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xfixes_h=no; fi
4231 # Check whether --with-xinerama was given.
4232 if test "${with_xinerama+set}" = set; then :
4233 withval=$with_xinerama; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xinerama_h=no; fi
4237 # Check whether --with-xinput was given.
4238 if test "${with_xinput+set}" = set; then :
4239 withval=$with_xinput; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput_h=no; fi
4243 # Check whether --with-xinput2 was given.
4244 if test "${with_xinput2+set}" = set; then :
4245 withval=$with_xinput2; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput2_h=no; fi
4249 # Check whether --with-xml was given.
4250 if test "${with_xml+set}" = set; then :
4251 withval=$with_xml;
4255 # Check whether --with-xrandr was given.
4256 if test "${with_xrandr+set}" = set; then :
4257 withval=$with_xrandr; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrandr_h=no; fi
4261 # Check whether --with-xrender was given.
4262 if test "${with_xrender+set}" = set; then :
4263 withval=$with_xrender; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrender_h=no; fi
4267 # Check whether --with-xshape was given.
4268 if test "${with_xshape+set}" = set; then :
4269 withval=$with_xshape; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_shape_h=no; fi
4273 # Check whether --with-xshm was given.
4274 if test "${with_xshm+set}" = set; then :
4275 withval=$with_xshm; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XShm_h=no; fi
4279 # Check whether --with-xslt was given.
4280 if test "${with_xslt+set}" = set; then :
4281 withval=$with_xslt;
4285 # Check whether --with-xxf86vm was given.
4286 if test "${with_xxf86vm+set}" = set; then :
4287 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
4292 # Check whether --with-wine-tools was given.
4293 if test "${with_wine_tools+set}" = set; then :
4294 withval=$with_wine_tools;
4298 # Check whether --with-wine64 was given.
4299 if test "${with_wine64+set}" = set; then :
4300 withval=$with_wine64;
4304 # Make sure we can run config.sub.
4305 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
4306 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
4308 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
4309 $as_echo_n "checking build system type... " >&6; }
4310 if ${ac_cv_build+:} false; then :
4311 $as_echo_n "(cached) " >&6
4312 else
4313 ac_build_alias=$build_alias
4314 test "x$ac_build_alias" = x &&
4315 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
4316 test "x$ac_build_alias" = x &&
4317 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
4318 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
4319 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
4322 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
4323 $as_echo "$ac_cv_build" >&6; }
4324 case $ac_cv_build in
4325 *-*-*) ;;
4326 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
4327 esac
4328 build=$ac_cv_build
4329 ac_save_IFS=$IFS; IFS='-'
4330 set x $ac_cv_build
4331 shift
4332 build_cpu=$1
4333 build_vendor=$2
4334 shift; shift
4335 # Remember, the first character of IFS is used to create $*,
4336 # except with old shells:
4337 build_os=$*
4338 IFS=$ac_save_IFS
4339 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
4342 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
4343 $as_echo_n "checking host system type... " >&6; }
4344 if ${ac_cv_host+:} false; then :
4345 $as_echo_n "(cached) " >&6
4346 else
4347 if test "x$host_alias" = x; then
4348 ac_cv_host=$ac_cv_build
4349 else
4350 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
4351 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
4355 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
4356 $as_echo "$ac_cv_host" >&6; }
4357 case $ac_cv_host in
4358 *-*-*) ;;
4359 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
4360 esac
4361 host=$ac_cv_host
4362 ac_save_IFS=$IFS; IFS='-'
4363 set x $ac_cv_host
4364 shift
4365 host_cpu=$1
4366 host_vendor=$2
4367 shift; shift
4368 # Remember, the first character of IFS is used to create $*,
4369 # except with old shells:
4370 host_os=$*
4371 IFS=$ac_save_IFS
4372 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
4377 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
4378 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
4379 set x ${MAKE-make}
4380 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
4381 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
4382 $as_echo_n "(cached) " >&6
4383 else
4384 cat >conftest.make <<\_ACEOF
4385 SHELL = /bin/sh
4386 all:
4387 @echo '@@@%%%=$(MAKE)=@@@%%%'
4388 _ACEOF
4389 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
4390 case `${MAKE-make} -f conftest.make 2>/dev/null` in
4391 *@@@%%%=?*=@@@%%%*)
4392 eval ac_cv_prog_make_${ac_make}_set=yes;;
4394 eval ac_cv_prog_make_${ac_make}_set=no;;
4395 esac
4396 rm -f conftest.make
4398 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
4399 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4400 $as_echo "yes" >&6; }
4401 SET_MAKE=
4402 else
4403 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4404 $as_echo "no" >&6; }
4405 SET_MAKE="MAKE=${MAKE-make}"
4408 ac_ext=c
4409 ac_cpp='$CPP $CPPFLAGS'
4410 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4411 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4412 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4413 if test -n "$ac_tool_prefix"; then
4414 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
4415 set dummy ${ac_tool_prefix}gcc; ac_word=$2
4416 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4417 $as_echo_n "checking for $ac_word... " >&6; }
4418 if ${ac_cv_prog_CC+:} false; then :
4419 $as_echo_n "(cached) " >&6
4420 else
4421 if test -n "$CC"; then
4422 ac_cv_prog_CC="$CC" # Let the user override the test.
4423 else
4424 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4425 for as_dir in $PATH
4427 IFS=$as_save_IFS
4428 test -z "$as_dir" && as_dir=.
4429 for ac_exec_ext in '' $ac_executable_extensions; do
4430 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4431 ac_cv_prog_CC="${ac_tool_prefix}gcc"
4432 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4433 break 2
4435 done
4436 done
4437 IFS=$as_save_IFS
4441 CC=$ac_cv_prog_CC
4442 if test -n "$CC"; then
4443 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4444 $as_echo "$CC" >&6; }
4445 else
4446 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4447 $as_echo "no" >&6; }
4452 if test -z "$ac_cv_prog_CC"; then
4453 ac_ct_CC=$CC
4454 # Extract the first word of "gcc", so it can be a program name with args.
4455 set dummy gcc; ac_word=$2
4456 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4457 $as_echo_n "checking for $ac_word... " >&6; }
4458 if ${ac_cv_prog_ac_ct_CC+:} false; then :
4459 $as_echo_n "(cached) " >&6
4460 else
4461 if test -n "$ac_ct_CC"; then
4462 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4463 else
4464 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4465 for as_dir in $PATH
4467 IFS=$as_save_IFS
4468 test -z "$as_dir" && as_dir=.
4469 for ac_exec_ext in '' $ac_executable_extensions; do
4470 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4471 ac_cv_prog_ac_ct_CC="gcc"
4472 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4473 break 2
4475 done
4476 done
4477 IFS=$as_save_IFS
4481 ac_ct_CC=$ac_cv_prog_ac_ct_CC
4482 if test -n "$ac_ct_CC"; then
4483 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4484 $as_echo "$ac_ct_CC" >&6; }
4485 else
4486 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4487 $as_echo "no" >&6; }
4490 if test "x$ac_ct_CC" = x; then
4491 CC=""
4492 else
4493 case $cross_compiling:$ac_tool_warned in
4494 yes:)
4495 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4496 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4497 ac_tool_warned=yes ;;
4498 esac
4499 CC=$ac_ct_CC
4501 else
4502 CC="$ac_cv_prog_CC"
4505 if test -z "$CC"; then
4506 if test -n "$ac_tool_prefix"; then
4507 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
4508 set dummy ${ac_tool_prefix}cc; ac_word=$2
4509 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4510 $as_echo_n "checking for $ac_word... " >&6; }
4511 if ${ac_cv_prog_CC+:} false; then :
4512 $as_echo_n "(cached) " >&6
4513 else
4514 if test -n "$CC"; then
4515 ac_cv_prog_CC="$CC" # Let the user override the test.
4516 else
4517 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4518 for as_dir in $PATH
4520 IFS=$as_save_IFS
4521 test -z "$as_dir" && as_dir=.
4522 for ac_exec_ext in '' $ac_executable_extensions; do
4523 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4524 ac_cv_prog_CC="${ac_tool_prefix}cc"
4525 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4526 break 2
4528 done
4529 done
4530 IFS=$as_save_IFS
4534 CC=$ac_cv_prog_CC
4535 if test -n "$CC"; then
4536 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4537 $as_echo "$CC" >&6; }
4538 else
4539 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4540 $as_echo "no" >&6; }
4546 if test -z "$CC"; then
4547 # Extract the first word of "cc", so it can be a program name with args.
4548 set dummy cc; ac_word=$2
4549 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4550 $as_echo_n "checking for $ac_word... " >&6; }
4551 if ${ac_cv_prog_CC+:} false; then :
4552 $as_echo_n "(cached) " >&6
4553 else
4554 if test -n "$CC"; then
4555 ac_cv_prog_CC="$CC" # Let the user override the test.
4556 else
4557 ac_prog_rejected=no
4558 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4559 for as_dir in $PATH
4561 IFS=$as_save_IFS
4562 test -z "$as_dir" && as_dir=.
4563 for ac_exec_ext in '' $ac_executable_extensions; do
4564 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4565 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
4566 ac_prog_rejected=yes
4567 continue
4569 ac_cv_prog_CC="cc"
4570 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4571 break 2
4573 done
4574 done
4575 IFS=$as_save_IFS
4577 if test $ac_prog_rejected = yes; then
4578 # We found a bogon in the path, so make sure we never use it.
4579 set dummy $ac_cv_prog_CC
4580 shift
4581 if test $# != 0; then
4582 # We chose a different compiler from the bogus one.
4583 # However, it has the same basename, so the bogon will be chosen
4584 # first if we set CC to just the basename; use the full file name.
4585 shift
4586 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
4591 CC=$ac_cv_prog_CC
4592 if test -n "$CC"; then
4593 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4594 $as_echo "$CC" >&6; }
4595 else
4596 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4597 $as_echo "no" >&6; }
4602 if test -z "$CC"; then
4603 if test -n "$ac_tool_prefix"; then
4604 for ac_prog in cl.exe
4606 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4607 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4608 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4609 $as_echo_n "checking for $ac_word... " >&6; }
4610 if ${ac_cv_prog_CC+:} false; then :
4611 $as_echo_n "(cached) " >&6
4612 else
4613 if test -n "$CC"; then
4614 ac_cv_prog_CC="$CC" # Let the user override the test.
4615 else
4616 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4617 for as_dir in $PATH
4619 IFS=$as_save_IFS
4620 test -z "$as_dir" && as_dir=.
4621 for ac_exec_ext in '' $ac_executable_extensions; do
4622 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4623 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
4624 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4625 break 2
4627 done
4628 done
4629 IFS=$as_save_IFS
4633 CC=$ac_cv_prog_CC
4634 if test -n "$CC"; then
4635 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4636 $as_echo "$CC" >&6; }
4637 else
4638 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4639 $as_echo "no" >&6; }
4643 test -n "$CC" && break
4644 done
4646 if test -z "$CC"; then
4647 ac_ct_CC=$CC
4648 for ac_prog in cl.exe
4650 # Extract the first word of "$ac_prog", so it can be a program name with args.
4651 set dummy $ac_prog; ac_word=$2
4652 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4653 $as_echo_n "checking for $ac_word... " >&6; }
4654 if ${ac_cv_prog_ac_ct_CC+:} false; then :
4655 $as_echo_n "(cached) " >&6
4656 else
4657 if test -n "$ac_ct_CC"; then
4658 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4659 else
4660 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4661 for as_dir in $PATH
4663 IFS=$as_save_IFS
4664 test -z "$as_dir" && as_dir=.
4665 for ac_exec_ext in '' $ac_executable_extensions; do
4666 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4667 ac_cv_prog_ac_ct_CC="$ac_prog"
4668 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4669 break 2
4671 done
4672 done
4673 IFS=$as_save_IFS
4677 ac_ct_CC=$ac_cv_prog_ac_ct_CC
4678 if test -n "$ac_ct_CC"; then
4679 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4680 $as_echo "$ac_ct_CC" >&6; }
4681 else
4682 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4683 $as_echo "no" >&6; }
4687 test -n "$ac_ct_CC" && break
4688 done
4690 if test "x$ac_ct_CC" = x; then
4691 CC=""
4692 else
4693 case $cross_compiling:$ac_tool_warned in
4694 yes:)
4695 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4696 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4697 ac_tool_warned=yes ;;
4698 esac
4699 CC=$ac_ct_CC
4706 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4707 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4708 as_fn_error $? "no acceptable C compiler found in \$PATH
4709 See \`config.log' for more details" "$LINENO" 5; }
4711 # Provide some information about the compiler.
4712 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
4713 set X $ac_compile
4714 ac_compiler=$2
4715 for ac_option in --version -v -V -qversion; do
4716 { { ac_try="$ac_compiler $ac_option >&5"
4717 case "(($ac_try" in
4718 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4719 *) ac_try_echo=$ac_try;;
4720 esac
4721 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4722 $as_echo "$ac_try_echo"; } >&5
4723 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4724 ac_status=$?
4725 if test -s conftest.err; then
4726 sed '10a\
4727 ... rest of stderr output deleted ...
4728 10q' conftest.err >conftest.er1
4729 cat conftest.er1 >&5
4731 rm -f conftest.er1 conftest.err
4732 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4733 test $ac_status = 0; }
4734 done
4736 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4737 /* end confdefs.h. */
4740 main ()
4744 return 0;
4746 _ACEOF
4747 ac_clean_files_save=$ac_clean_files
4748 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
4749 # Try to create an executable without -o first, disregard a.out.
4750 # It will help us diagnose broken compilers, and finding out an intuition
4751 # of exeext.
4752 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
4753 $as_echo_n "checking whether the C compiler works... " >&6; }
4754 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
4756 # The possible output files:
4757 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
4759 ac_rmfiles=
4760 for ac_file in $ac_files
4762 case $ac_file in
4763 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4764 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
4765 esac
4766 done
4767 rm -f $ac_rmfiles
4769 if { { ac_try="$ac_link_default"
4770 case "(($ac_try" in
4771 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4772 *) ac_try_echo=$ac_try;;
4773 esac
4774 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4775 $as_echo "$ac_try_echo"; } >&5
4776 (eval "$ac_link_default") 2>&5
4777 ac_status=$?
4778 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4779 test $ac_status = 0; }; then :
4780 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
4781 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
4782 # in a Makefile. We should not override ac_cv_exeext if it was cached,
4783 # so that the user can short-circuit this test for compilers unknown to
4784 # Autoconf.
4785 for ac_file in $ac_files ''
4787 test -f "$ac_file" || continue
4788 case $ac_file in
4789 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
4791 [ab].out )
4792 # We found the default executable, but exeext='' is most
4793 # certainly right.
4794 break;;
4795 *.* )
4796 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
4797 then :; else
4798 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4800 # We set ac_cv_exeext here because the later test for it is not
4801 # safe: cross compilers may not add the suffix if given an `-o'
4802 # argument, so we may need to know it at that point already.
4803 # Even if this section looks crufty: it has the advantage of
4804 # actually working.
4805 break;;
4807 break;;
4808 esac
4809 done
4810 test "$ac_cv_exeext" = no && ac_cv_exeext=
4812 else
4813 ac_file=''
4815 if test -z "$ac_file"; then :
4816 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4817 $as_echo "no" >&6; }
4818 $as_echo "$as_me: failed program was:" >&5
4819 sed 's/^/| /' conftest.$ac_ext >&5
4821 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4822 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4823 as_fn_error 77 "C compiler cannot create executables
4824 See \`config.log' for more details" "$LINENO" 5; }
4825 else
4826 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4827 $as_echo "yes" >&6; }
4829 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
4830 $as_echo_n "checking for C compiler default output file name... " >&6; }
4831 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
4832 $as_echo "$ac_file" >&6; }
4833 ac_exeext=$ac_cv_exeext
4835 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
4836 ac_clean_files=$ac_clean_files_save
4837 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
4838 $as_echo_n "checking for suffix of executables... " >&6; }
4839 if { { ac_try="$ac_link"
4840 case "(($ac_try" in
4841 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4842 *) ac_try_echo=$ac_try;;
4843 esac
4844 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4845 $as_echo "$ac_try_echo"; } >&5
4846 (eval "$ac_link") 2>&5
4847 ac_status=$?
4848 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4849 test $ac_status = 0; }; then :
4850 # If both `conftest.exe' and `conftest' are `present' (well, observable)
4851 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
4852 # work properly (i.e., refer to `conftest.exe'), while it won't with
4853 # `rm'.
4854 for ac_file in conftest.exe conftest conftest.*; do
4855 test -f "$ac_file" || continue
4856 case $ac_file in
4857 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4858 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4859 break;;
4860 * ) break;;
4861 esac
4862 done
4863 else
4864 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4865 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4866 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
4867 See \`config.log' for more details" "$LINENO" 5; }
4869 rm -f conftest conftest$ac_cv_exeext
4870 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
4871 $as_echo "$ac_cv_exeext" >&6; }
4873 rm -f conftest.$ac_ext
4874 EXEEXT=$ac_cv_exeext
4875 ac_exeext=$EXEEXT
4876 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4877 /* end confdefs.h. */
4878 #include <stdio.h>
4880 main ()
4882 FILE *f = fopen ("conftest.out", "w");
4883 return ferror (f) || fclose (f) != 0;
4886 return 0;
4888 _ACEOF
4889 ac_clean_files="$ac_clean_files conftest.out"
4890 # Check that the compiler produces executables we can run. If not, either
4891 # the compiler is broken, or we cross compile.
4892 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
4893 $as_echo_n "checking whether we are cross compiling... " >&6; }
4894 if test "$cross_compiling" != yes; then
4895 { { ac_try="$ac_link"
4896 case "(($ac_try" in
4897 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4898 *) ac_try_echo=$ac_try;;
4899 esac
4900 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4901 $as_echo "$ac_try_echo"; } >&5
4902 (eval "$ac_link") 2>&5
4903 ac_status=$?
4904 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4905 test $ac_status = 0; }
4906 if { ac_try='./conftest$ac_cv_exeext'
4907 { { case "(($ac_try" in
4908 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4909 *) ac_try_echo=$ac_try;;
4910 esac
4911 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4912 $as_echo "$ac_try_echo"; } >&5
4913 (eval "$ac_try") 2>&5
4914 ac_status=$?
4915 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4916 test $ac_status = 0; }; }; then
4917 cross_compiling=no
4918 else
4919 if test "$cross_compiling" = maybe; then
4920 cross_compiling=yes
4921 else
4922 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4923 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4924 as_fn_error $? "cannot run C compiled programs.
4925 If you meant to cross compile, use \`--host'.
4926 See \`config.log' for more details" "$LINENO" 5; }
4930 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
4931 $as_echo "$cross_compiling" >&6; }
4933 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
4934 ac_clean_files=$ac_clean_files_save
4935 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
4936 $as_echo_n "checking for suffix of object files... " >&6; }
4937 if ${ac_cv_objext+:} false; then :
4938 $as_echo_n "(cached) " >&6
4939 else
4940 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4941 /* end confdefs.h. */
4944 main ()
4948 return 0;
4950 _ACEOF
4951 rm -f conftest.o conftest.obj
4952 if { { ac_try="$ac_compile"
4953 case "(($ac_try" in
4954 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4955 *) ac_try_echo=$ac_try;;
4956 esac
4957 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4958 $as_echo "$ac_try_echo"; } >&5
4959 (eval "$ac_compile") 2>&5
4960 ac_status=$?
4961 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4962 test $ac_status = 0; }; then :
4963 for ac_file in conftest.o conftest.obj conftest.*; do
4964 test -f "$ac_file" || continue;
4965 case $ac_file in
4966 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
4967 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
4968 break;;
4969 esac
4970 done
4971 else
4972 $as_echo "$as_me: failed program was:" >&5
4973 sed 's/^/| /' conftest.$ac_ext >&5
4975 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4976 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4977 as_fn_error $? "cannot compute suffix of object files: cannot compile
4978 See \`config.log' for more details" "$LINENO" 5; }
4980 rm -f conftest.$ac_cv_objext conftest.$ac_ext
4982 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
4983 $as_echo "$ac_cv_objext" >&6; }
4984 OBJEXT=$ac_cv_objext
4985 ac_objext=$OBJEXT
4986 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4987 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4988 if ${ac_cv_c_compiler_gnu+:} false; then :
4989 $as_echo_n "(cached) " >&6
4990 else
4991 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4992 /* end confdefs.h. */
4995 main ()
4997 #ifndef __GNUC__
4998 choke me
4999 #endif
5002 return 0;
5004 _ACEOF
5005 if ac_fn_c_try_compile "$LINENO"; then :
5006 ac_compiler_gnu=yes
5007 else
5008 ac_compiler_gnu=no
5010 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5011 ac_cv_c_compiler_gnu=$ac_compiler_gnu
5014 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
5015 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
5016 if test $ac_compiler_gnu = yes; then
5017 GCC=yes
5018 else
5019 GCC=
5021 ac_test_CFLAGS=${CFLAGS+set}
5022 ac_save_CFLAGS=$CFLAGS
5023 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
5024 $as_echo_n "checking whether $CC accepts -g... " >&6; }
5025 if ${ac_cv_prog_cc_g+:} false; then :
5026 $as_echo_n "(cached) " >&6
5027 else
5028 ac_save_c_werror_flag=$ac_c_werror_flag
5029 ac_c_werror_flag=yes
5030 ac_cv_prog_cc_g=no
5031 CFLAGS="-g"
5032 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5033 /* end confdefs.h. */
5036 main ()
5040 return 0;
5042 _ACEOF
5043 if ac_fn_c_try_compile "$LINENO"; then :
5044 ac_cv_prog_cc_g=yes
5045 else
5046 CFLAGS=""
5047 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5048 /* end confdefs.h. */
5051 main ()
5055 return 0;
5057 _ACEOF
5058 if ac_fn_c_try_compile "$LINENO"; then :
5060 else
5061 ac_c_werror_flag=$ac_save_c_werror_flag
5062 CFLAGS="-g"
5063 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5064 /* end confdefs.h. */
5067 main ()
5071 return 0;
5073 _ACEOF
5074 if ac_fn_c_try_compile "$LINENO"; then :
5075 ac_cv_prog_cc_g=yes
5077 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5079 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5081 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5082 ac_c_werror_flag=$ac_save_c_werror_flag
5084 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
5085 $as_echo "$ac_cv_prog_cc_g" >&6; }
5086 if test "$ac_test_CFLAGS" = set; then
5087 CFLAGS=$ac_save_CFLAGS
5088 elif test $ac_cv_prog_cc_g = yes; then
5089 if test "$GCC" = yes; then
5090 CFLAGS="-g -O2"
5091 else
5092 CFLAGS="-g"
5094 else
5095 if test "$GCC" = yes; then
5096 CFLAGS="-O2"
5097 else
5098 CFLAGS=
5101 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
5102 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
5103 if ${ac_cv_prog_cc_c89+:} false; then :
5104 $as_echo_n "(cached) " >&6
5105 else
5106 ac_cv_prog_cc_c89=no
5107 ac_save_CC=$CC
5108 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5109 /* end confdefs.h. */
5110 #include <stdarg.h>
5111 #include <stdio.h>
5112 struct stat;
5113 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
5114 struct buf { int x; };
5115 FILE * (*rcsopen) (struct buf *, struct stat *, int);
5116 static char *e (p, i)
5117 char **p;
5118 int i;
5120 return p[i];
5122 static char *f (char * (*g) (char **, int), char **p, ...)
5124 char *s;
5125 va_list v;
5126 va_start (v,p);
5127 s = g (p, va_arg (v,int));
5128 va_end (v);
5129 return s;
5132 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
5133 function prototypes and stuff, but not '\xHH' hex character constants.
5134 These don't provoke an error unfortunately, instead are silently treated
5135 as 'x'. The following induces an error, until -std is added to get
5136 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
5137 array size at least. It's necessary to write '\x00'==0 to get something
5138 that's true only with -std. */
5139 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
5141 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
5142 inside strings and character constants. */
5143 #define FOO(x) 'x'
5144 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
5146 int test (int i, double x);
5147 struct s1 {int (*f) (int a);};
5148 struct s2 {int (*f) (double a);};
5149 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
5150 int argc;
5151 char **argv;
5153 main ()
5155 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
5157 return 0;
5159 _ACEOF
5160 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
5161 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
5163 CC="$ac_save_CC $ac_arg"
5164 if ac_fn_c_try_compile "$LINENO"; then :
5165 ac_cv_prog_cc_c89=$ac_arg
5167 rm -f core conftest.err conftest.$ac_objext
5168 test "x$ac_cv_prog_cc_c89" != "xno" && break
5169 done
5170 rm -f conftest.$ac_ext
5171 CC=$ac_save_CC
5174 # AC_CACHE_VAL
5175 case "x$ac_cv_prog_cc_c89" in
5177 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
5178 $as_echo "none needed" >&6; } ;;
5179 xno)
5180 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
5181 $as_echo "unsupported" >&6; } ;;
5183 CC="$CC $ac_cv_prog_cc_c89"
5184 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
5185 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
5186 esac
5187 if test "x$ac_cv_prog_cc_c89" != xno; then :
5191 ac_ext=c
5192 ac_cpp='$CPP $CPPFLAGS'
5193 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5194 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5195 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5197 ac_ext=cpp
5198 ac_cpp='$CXXCPP $CPPFLAGS'
5199 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5200 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5201 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
5202 if test -z "$CXX"; then
5203 if test -n "$CCC"; then
5204 CXX=$CCC
5205 else
5206 if test -n "$ac_tool_prefix"; then
5207 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
5209 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5210 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5211 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5212 $as_echo_n "checking for $ac_word... " >&6; }
5213 if ${ac_cv_prog_CXX+:} false; then :
5214 $as_echo_n "(cached) " >&6
5215 else
5216 if test -n "$CXX"; then
5217 ac_cv_prog_CXX="$CXX" # Let the user override the test.
5218 else
5219 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5220 for as_dir in $PATH
5222 IFS=$as_save_IFS
5223 test -z "$as_dir" && as_dir=.
5224 for ac_exec_ext in '' $ac_executable_extensions; do
5225 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5226 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
5227 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5228 break 2
5230 done
5231 done
5232 IFS=$as_save_IFS
5236 CXX=$ac_cv_prog_CXX
5237 if test -n "$CXX"; then
5238 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
5239 $as_echo "$CXX" >&6; }
5240 else
5241 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5242 $as_echo "no" >&6; }
5246 test -n "$CXX" && break
5247 done
5249 if test -z "$CXX"; then
5250 ac_ct_CXX=$CXX
5251 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
5253 # Extract the first word of "$ac_prog", so it can be a program name with args.
5254 set dummy $ac_prog; ac_word=$2
5255 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5256 $as_echo_n "checking for $ac_word... " >&6; }
5257 if ${ac_cv_prog_ac_ct_CXX+:} false; then :
5258 $as_echo_n "(cached) " >&6
5259 else
5260 if test -n "$ac_ct_CXX"; then
5261 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
5262 else
5263 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5264 for as_dir in $PATH
5266 IFS=$as_save_IFS
5267 test -z "$as_dir" && as_dir=.
5268 for ac_exec_ext in '' $ac_executable_extensions; do
5269 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5270 ac_cv_prog_ac_ct_CXX="$ac_prog"
5271 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5272 break 2
5274 done
5275 done
5276 IFS=$as_save_IFS
5280 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
5281 if test -n "$ac_ct_CXX"; then
5282 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
5283 $as_echo "$ac_ct_CXX" >&6; }
5284 else
5285 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5286 $as_echo "no" >&6; }
5290 test -n "$ac_ct_CXX" && break
5291 done
5293 if test "x$ac_ct_CXX" = x; then
5294 CXX="g++"
5295 else
5296 case $cross_compiling:$ac_tool_warned in
5297 yes:)
5298 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5299 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5300 ac_tool_warned=yes ;;
5301 esac
5302 CXX=$ac_ct_CXX
5308 # Provide some information about the compiler.
5309 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
5310 set X $ac_compile
5311 ac_compiler=$2
5312 for ac_option in --version -v -V -qversion; do
5313 { { ac_try="$ac_compiler $ac_option >&5"
5314 case "(($ac_try" in
5315 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5316 *) ac_try_echo=$ac_try;;
5317 esac
5318 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5319 $as_echo "$ac_try_echo"; } >&5
5320 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
5321 ac_status=$?
5322 if test -s conftest.err; then
5323 sed '10a\
5324 ... rest of stderr output deleted ...
5325 10q' conftest.err >conftest.er1
5326 cat conftest.er1 >&5
5328 rm -f conftest.er1 conftest.err
5329 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5330 test $ac_status = 0; }
5331 done
5333 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
5334 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
5335 if ${ac_cv_cxx_compiler_gnu+:} false; then :
5336 $as_echo_n "(cached) " >&6
5337 else
5338 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5339 /* end confdefs.h. */
5342 main ()
5344 #ifndef __GNUC__
5345 choke me
5346 #endif
5349 return 0;
5351 _ACEOF
5352 if ac_fn_cxx_try_compile "$LINENO"; then :
5353 ac_compiler_gnu=yes
5354 else
5355 ac_compiler_gnu=no
5357 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5358 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
5361 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
5362 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
5363 if test $ac_compiler_gnu = yes; then
5364 GXX=yes
5365 else
5366 GXX=
5368 ac_test_CXXFLAGS=${CXXFLAGS+set}
5369 ac_save_CXXFLAGS=$CXXFLAGS
5370 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
5371 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
5372 if ${ac_cv_prog_cxx_g+:} false; then :
5373 $as_echo_n "(cached) " >&6
5374 else
5375 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
5376 ac_cxx_werror_flag=yes
5377 ac_cv_prog_cxx_g=no
5378 CXXFLAGS="-g"
5379 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5380 /* end confdefs.h. */
5383 main ()
5387 return 0;
5389 _ACEOF
5390 if ac_fn_cxx_try_compile "$LINENO"; then :
5391 ac_cv_prog_cxx_g=yes
5392 else
5393 CXXFLAGS=""
5394 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5395 /* end confdefs.h. */
5398 main ()
5402 return 0;
5404 _ACEOF
5405 if ac_fn_cxx_try_compile "$LINENO"; then :
5407 else
5408 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
5409 CXXFLAGS="-g"
5410 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5411 /* end confdefs.h. */
5414 main ()
5418 return 0;
5420 _ACEOF
5421 if ac_fn_cxx_try_compile "$LINENO"; then :
5422 ac_cv_prog_cxx_g=yes
5424 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5426 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5428 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5429 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
5431 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
5432 $as_echo "$ac_cv_prog_cxx_g" >&6; }
5433 if test "$ac_test_CXXFLAGS" = set; then
5434 CXXFLAGS=$ac_save_CXXFLAGS
5435 elif test $ac_cv_prog_cxx_g = yes; then
5436 if test "$GXX" = yes; then
5437 CXXFLAGS="-g -O2"
5438 else
5439 CXXFLAGS="-g"
5441 else
5442 if test "$GXX" = yes; then
5443 CXXFLAGS="-O2"
5444 else
5445 CXXFLAGS=
5448 ac_ext=c
5449 ac_cpp='$CPP $CPPFLAGS'
5450 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5451 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5452 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5454 if test -n "$ac_tool_prefix"; then
5455 # Extract the first word of "${ac_tool_prefix}cpp", so it can be a program name with args.
5456 set dummy ${ac_tool_prefix}cpp; ac_word=$2
5457 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5458 $as_echo_n "checking for $ac_word... " >&6; }
5459 if ${ac_cv_prog_CPPBIN+:} false; then :
5460 $as_echo_n "(cached) " >&6
5461 else
5462 if test -n "$CPPBIN"; then
5463 ac_cv_prog_CPPBIN="$CPPBIN" # Let the user override the test.
5464 else
5465 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5466 for as_dir in $PATH
5468 IFS=$as_save_IFS
5469 test -z "$as_dir" && as_dir=.
5470 for ac_exec_ext in '' $ac_executable_extensions; do
5471 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5472 ac_cv_prog_CPPBIN="${ac_tool_prefix}cpp"
5473 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5474 break 2
5476 done
5477 done
5478 IFS=$as_save_IFS
5482 CPPBIN=$ac_cv_prog_CPPBIN
5483 if test -n "$CPPBIN"; then
5484 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPPBIN" >&5
5485 $as_echo "$CPPBIN" >&6; }
5486 else
5487 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5488 $as_echo "no" >&6; }
5493 if test -z "$ac_cv_prog_CPPBIN"; then
5494 ac_ct_CPPBIN=$CPPBIN
5495 # Extract the first word of "cpp", so it can be a program name with args.
5496 set dummy cpp; ac_word=$2
5497 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5498 $as_echo_n "checking for $ac_word... " >&6; }
5499 if ${ac_cv_prog_ac_ct_CPPBIN+:} false; then :
5500 $as_echo_n "(cached) " >&6
5501 else
5502 if test -n "$ac_ct_CPPBIN"; then
5503 ac_cv_prog_ac_ct_CPPBIN="$ac_ct_CPPBIN" # Let the user override the test.
5504 else
5505 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5506 for as_dir in $PATH
5508 IFS=$as_save_IFS
5509 test -z "$as_dir" && as_dir=.
5510 for ac_exec_ext in '' $ac_executable_extensions; do
5511 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5512 ac_cv_prog_ac_ct_CPPBIN="cpp"
5513 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5514 break 2
5516 done
5517 done
5518 IFS=$as_save_IFS
5522 ac_ct_CPPBIN=$ac_cv_prog_ac_ct_CPPBIN
5523 if test -n "$ac_ct_CPPBIN"; then
5524 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CPPBIN" >&5
5525 $as_echo "$ac_ct_CPPBIN" >&6; }
5526 else
5527 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5528 $as_echo "no" >&6; }
5531 if test "x$ac_ct_CPPBIN" = x; then
5532 CPPBIN="cpp"
5533 else
5534 case $cross_compiling:$ac_tool_warned in
5535 yes:)
5536 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5537 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5538 ac_tool_warned=yes ;;
5539 esac
5540 CPPBIN=$ac_ct_CPPBIN
5542 else
5543 CPPBIN="$ac_cv_prog_CPPBIN"
5547 cat >>confdefs.h <<_ACEOF
5548 #define EXEEXT "$ac_exeext"
5549 _ACEOF
5551 if test -n "$ac_tool_prefix"; then
5552 # Extract the first word of "${ac_tool_prefix}ld", so it can be a program name with args.
5553 set dummy ${ac_tool_prefix}ld; ac_word=$2
5554 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5555 $as_echo_n "checking for $ac_word... " >&6; }
5556 if ${ac_cv_prog_LD+:} false; then :
5557 $as_echo_n "(cached) " >&6
5558 else
5559 if test -n "$LD"; then
5560 ac_cv_prog_LD="$LD" # Let the user override the test.
5561 else
5562 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5563 for as_dir in $PATH
5565 IFS=$as_save_IFS
5566 test -z "$as_dir" && as_dir=.
5567 for ac_exec_ext in '' $ac_executable_extensions; do
5568 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5569 ac_cv_prog_LD="${ac_tool_prefix}ld"
5570 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5571 break 2
5573 done
5574 done
5575 IFS=$as_save_IFS
5579 LD=$ac_cv_prog_LD
5580 if test -n "$LD"; then
5581 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
5582 $as_echo "$LD" >&6; }
5583 else
5584 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5585 $as_echo "no" >&6; }
5590 if test -z "$ac_cv_prog_LD"; then
5591 ac_ct_LD=$LD
5592 # Extract the first word of "ld", so it can be a program name with args.
5593 set dummy ld; ac_word=$2
5594 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5595 $as_echo_n "checking for $ac_word... " >&6; }
5596 if ${ac_cv_prog_ac_ct_LD+:} false; then :
5597 $as_echo_n "(cached) " >&6
5598 else
5599 if test -n "$ac_ct_LD"; then
5600 ac_cv_prog_ac_ct_LD="$ac_ct_LD" # Let the user override the test.
5601 else
5602 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5603 for as_dir in $PATH
5605 IFS=$as_save_IFS
5606 test -z "$as_dir" && as_dir=.
5607 for ac_exec_ext in '' $ac_executable_extensions; do
5608 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5609 ac_cv_prog_ac_ct_LD="ld"
5610 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5611 break 2
5613 done
5614 done
5615 IFS=$as_save_IFS
5619 ac_ct_LD=$ac_cv_prog_ac_ct_LD
5620 if test -n "$ac_ct_LD"; then
5621 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LD" >&5
5622 $as_echo "$ac_ct_LD" >&6; }
5623 else
5624 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5625 $as_echo "no" >&6; }
5628 if test "x$ac_ct_LD" = x; then
5629 LD=""
5630 else
5631 case $cross_compiling:$ac_tool_warned in
5632 yes:)
5633 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5634 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5635 ac_tool_warned=yes ;;
5636 esac
5637 LD=$ac_ct_LD
5639 else
5640 LD="$ac_cv_prog_LD"
5644 case $host in
5645 *-darwin*)
5646 with_fontconfig=${with_fontconfig:-no}
5648 *-mingw32*|*-cygwin*)
5649 enable_win16=${enable_win16:-no}
5650 with_mingw=${with_mingw:-no}
5651 CFLAGS="$CFLAGS -D_WIN32"
5653 esac
5656 case $host in
5657 x86_64*|amd64*)
5658 if test "x$enable_win64" != "xyes" -a "$cross_compiling" != "yes"
5659 then
5660 CC="$CC -m32"
5661 CXX="$CXX -m32"
5663 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC works" >&5
5664 $as_echo_n "checking whether $CC works... " >&6; }
5665 if ${wine_cv_cc_m32+:} false; then :
5666 $as_echo_n "(cached) " >&6
5667 else
5668 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5669 /* end confdefs.h. */
5672 main ()
5676 return 0;
5678 _ACEOF
5679 if ac_fn_c_try_link "$LINENO"; then :
5680 wine_cv_cc_m32=yes
5681 else
5682 wine_cv_cc_m32=no
5684 rm -f core conftest.err conftest.$ac_objext \
5685 conftest$ac_exeext conftest.$ac_ext
5687 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_cc_m32" >&5
5688 $as_echo "$wine_cv_cc_m32" >&6; }
5689 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
5690 host_cpu="i386"
5691 notice_platform="32-bit "
5692 TARGETFLAGS="$TARGETFLAGS -m32"
5693 PKG_CONFIG_PATH=${PKG_CONFIG_PATH:-/usr/lib/i386-linux-gnu/pkgconfig:/usr/lib32/pkgconfig:/usr/lib/pkgconfig}
5694 export PKG_CONFIG_PATH
5695 enable_win16=${enable_win16:-yes}
5696 with_unwind=${with_unwind:-no}
5697 else
5698 if test "x${GCC}" = "xyes"
5699 then
5700 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports __builtin_ms_va_list" >&5
5701 $as_echo_n "checking whether $CC supports __builtin_ms_va_list... " >&6; }
5702 if ${wine_cv_builtin_ms_va_list+:} false; then :
5703 $as_echo_n "(cached) " >&6
5704 else
5705 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5706 /* end confdefs.h. */
5707 #include <stdarg.h>
5709 main ()
5711 void func(__builtin_ms_va_list *args);
5713 return 0;
5715 _ACEOF
5716 if ac_fn_c_try_compile "$LINENO"; then :
5717 wine_cv_builtin_ms_va_list=yes
5718 else
5719 wine_cv_builtin_ms_va_list=no
5721 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5723 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_builtin_ms_va_list" >&5
5724 $as_echo "$wine_cv_builtin_ms_va_list" >&6; }
5725 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
5727 CC="$CC -m64"
5728 CXX="$CXX -m64"
5729 host_cpu="x86_64"
5730 notice_platform="64-bit "
5731 TARGETFLAGS="$TARGETFLAGS -m64"
5732 enable_wow64cpu=${enable_wow64cpu:-yes}
5735 arm*)
5736 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports Thumb-2" >&5
5737 $as_echo_n "checking whether $CC supports Thumb-2... " >&6; }
5738 if ${wine_cv_thumb2+:} false; then :
5739 $as_echo_n "(cached) " >&6
5740 else
5741 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5742 /* end confdefs.h. */
5745 main ()
5747 asm(".syntax unified\n\t.thumb\n\tldm r0,{r0-r8}");
5749 return 0;
5751 _ACEOF
5752 if ac_fn_c_try_link "$LINENO"; then :
5753 wine_cv_thumb2=yes
5754 else
5755 wine_cv_thumb2=no
5757 rm -f core conftest.err conftest.$ac_objext \
5758 conftest$ac_exeext conftest.$ac_ext
5760 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_thumb2" >&5
5761 $as_echo "$wine_cv_thumb2" >&6; }
5762 if test x"$wine_cv_thumb2" = xyes
5763 then
5764 CFLAGS="$CFLAGS -mthumb"
5765 TARGETFLAGS="$TARGETFLAGS -mthumb"
5766 else
5767 CFLAGS="$CFLAGS -marm"
5768 TARGETFLAGS="$TARGETFLAGS -marm"
5770 case $with_float_abi in
5771 soft|softfp|hard)
5772 float_abi=$with_float_abi ;;
5774 case $host_os in
5775 *eabihf)
5776 float_abi=hard ;;
5778 float_abi=softfp
5779 saved_CFLAGS=$CFLAGS
5780 CFLAGS="$CFLAGS -mfloat-abi=$float_abi"
5781 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -mfloat-abi=$float_abi" >&5
5782 $as_echo_n "checking whether $CC supports -mfloat-abi=$float_abi... " >&6; }
5783 if ${wine_cv_float_abi+:} false; then :
5784 $as_echo_n "(cached) " >&6
5785 else
5786 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5787 /* end confdefs.h. */
5790 main ()
5792 asm("vmrs r2,fpscr");
5794 return 0;
5796 _ACEOF
5797 if ac_fn_c_try_link "$LINENO"; then :
5798 wine_cv_float_abi=yes
5799 else
5800 wine_cv_float_abi=no
5802 rm -f core conftest.err conftest.$ac_objext \
5803 conftest$ac_exeext conftest.$ac_ext
5805 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_float_abi" >&5
5806 $as_echo "$wine_cv_float_abi" >&6; }
5807 if test $wine_cv_float_abi = no
5808 then
5809 float_abi=soft
5810 as_fn_append wine_warnings "|Floating point is not supported for this target. The resulting build won't be compatible with Windows ARM binaries."
5812 CFLAGS=$saved_CFLAGS
5813 esac
5815 esac
5816 CFLAGS="$CFLAGS -mfloat-abi=$float_abi"
5817 TARGETFLAGS="$TARGETFLAGS -mfloat-abi=$float_abi"
5819 aarch64*)
5820 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports __builtin_ms_va_list" >&5
5821 $as_echo_n "checking whether $CC supports __builtin_ms_va_list... " >&6; }
5822 if ${wine_cv_builtin_ms_va_list+:} false; then :
5823 $as_echo_n "(cached) " >&6
5824 else
5825 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5826 /* end confdefs.h. */
5827 #include <stdarg.h>
5829 main ()
5831 void func(__builtin_ms_va_list *args);
5833 return 0;
5835 _ACEOF
5836 if ac_fn_c_try_compile "$LINENO"; then :
5837 wine_cv_builtin_ms_va_list=yes
5838 else
5839 wine_cv_builtin_ms_va_list=no
5841 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5843 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_builtin_ms_va_list" >&5
5844 $as_echo "$wine_cv_builtin_ms_va_list" >&6; }
5845 test $wine_cv_builtin_ms_va_list != no || as_fn_error $? "You need clang >= 5.0 to build Wine for arm64." "$LINENO" 5
5847 i[3456789]86*)
5848 enable_win16=${enable_win16:-yes}
5849 with_unwind=${with_unwind:-no}
5851 esac
5853 enable_win16=${enable_win16:-no}
5854 enable_win64=${enable_win64:-no}
5855 enable_wow64cpu=${enable_wow64cpu:-no}
5857 enable_winetest=${enable_winetest:-$enable_tests}
5859 if test "x$enable_win64" = "xyes"
5860 then
5861 test -z "$with_wine64" || as_fn_error $? "--enable-win64 and --with-wine64 are mutually exclusive.
5862 --enable-win64 should be used in the 64-bit build tree, --with-wine64 in the 32-bit Wow64 build tree." "$LINENO" 5
5863 test "x$libdir" != "x\${exec_prefix}/lib" || libdir="\${exec_prefix}/lib64"
5866 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the directory containing the Wine tools" >&5
5867 $as_echo_n "checking for the directory containing the Wine tools... " >&6; }
5868 if ${wine_cv_toolsdir+:} false; then :
5869 $as_echo_n "(cached) " >&6
5870 else
5871 wine_cv_toolsdir="$with_wine_tools"
5872 if test -z "$with_wine_tools"; then
5873 if test "$cross_compiling" = "yes"; then
5874 as_fn_error $? "you must use the --with-wine-tools option when cross-compiling." "$LINENO" 5
5875 elif test -n "$with_wine64"; then
5876 wine_cv_toolsdir="$with_wine64"
5880 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_toolsdir" >&5
5881 $as_echo "$wine_cv_toolsdir" >&6; }
5882 if test -z "$wine_cv_toolsdir"; then
5883 wine_makedep=tools/makedep
5884 TOOLSDIR="."
5886 elif test -d "$wine_cv_toolsdir/tools/winebuild"; then
5887 wine_makedep=$wine_cv_toolsdir/tools/makedep
5888 TOOLSDIR=$wine_cv_toolsdir
5890 enable_tools=${enable_tools:-no}
5891 test -f "$wine_makedep" || as_fn_error $? "the Wine tools have not yet been built in $wine_cv_toolsdir" "$LINENO" 5
5892 else
5893 as_fn_error $? "could not find Wine tools in $wine_cv_toolsdir" "$LINENO" 5
5895 if test -n "$host_alias" -a "$host_alias" != "$build_alias"
5896 then
5897 TARGETFLAGS="-b $host_alias $TARGETFLAGS"
5900 for ac_prog in flex
5902 # Extract the first word of "$ac_prog", so it can be a program name with args.
5903 set dummy $ac_prog; ac_word=$2
5904 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5905 $as_echo_n "checking for $ac_word... " >&6; }
5906 if ${ac_cv_prog_FLEX+:} false; then :
5907 $as_echo_n "(cached) " >&6
5908 else
5909 if test -n "$FLEX"; then
5910 ac_cv_prog_FLEX="$FLEX" # Let the user override the test.
5911 else
5912 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5913 for as_dir in $PATH
5915 IFS=$as_save_IFS
5916 test -z "$as_dir" && as_dir=.
5917 for ac_exec_ext in '' $ac_executable_extensions; do
5918 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5919 ac_cv_prog_FLEX="$ac_prog"
5920 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5921 break 2
5923 done
5924 done
5925 IFS=$as_save_IFS
5929 FLEX=$ac_cv_prog_FLEX
5930 if test -n "$FLEX"; then
5931 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FLEX" >&5
5932 $as_echo "$FLEX" >&6; }
5933 else
5934 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5935 $as_echo "no" >&6; }
5939 test -n "$FLEX" && break
5940 done
5941 test -n "$FLEX" || FLEX="none"
5943 if test "$FLEX" = "none"
5944 then
5945 as_fn_error $? "no suitable flex found. Please install the 'flex' package." "$LINENO" 5
5947 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether flex is recent enough" >&5
5948 $as_echo_n "checking whether flex is recent enough... " >&6; }
5949 if ${wine_cv_recent_flex+:} false; then :
5950 $as_echo_n "(cached) " >&6
5951 else
5952 cat >conftest.l <<EOF
5953 %top{
5954 #include "prediluvian.h"
5958 if $FLEX -t conftest.l >/dev/null 2>&5
5959 then
5960 wine_cv_recent_flex=yes
5961 else
5962 wine_cv_recent_flex=no
5965 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_recent_flex" >&5
5966 $as_echo "$wine_cv_recent_flex" >&6; }
5967 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
5969 for ac_prog in bison
5971 # Extract the first word of "$ac_prog", so it can be a program name with args.
5972 set dummy $ac_prog; ac_word=$2
5973 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5974 $as_echo_n "checking for $ac_word... " >&6; }
5975 if ${ac_cv_prog_BISON+:} false; then :
5976 $as_echo_n "(cached) " >&6
5977 else
5978 if test -n "$BISON"; then
5979 ac_cv_prog_BISON="$BISON" # Let the user override the test.
5980 else
5981 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5982 for as_dir in $PATH
5984 IFS=$as_save_IFS
5985 test -z "$as_dir" && as_dir=.
5986 for ac_exec_ext in '' $ac_executable_extensions; do
5987 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5988 ac_cv_prog_BISON="$ac_prog"
5989 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5990 break 2
5992 done
5993 done
5994 IFS=$as_save_IFS
5998 BISON=$ac_cv_prog_BISON
5999 if test -n "$BISON"; then
6000 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BISON" >&5
6001 $as_echo "$BISON" >&6; }
6002 else
6003 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6004 $as_echo "no" >&6; }
6008 test -n "$BISON" && break
6009 done
6010 test -n "$BISON" || BISON="none"
6012 if test "$BISON" = "none"
6013 then
6014 as_fn_error $? "no suitable bison found. Please install the 'bison' package." "$LINENO" 5
6016 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether bison is recent enough" >&5
6017 $as_echo_n "checking whether bison is recent enough... " >&6; }
6018 if ${wine_cv_recent_bison+:} false; then :
6019 $as_echo_n "(cached) " >&6
6020 else
6021 cat >conftest.y <<EOF
6022 %define parse.error verbose
6024 empty: ;
6026 if $BISON conftest.y >/dev/null 2>&5
6027 then
6028 wine_cv_recent_bison=yes
6029 else
6030 wine_cv_recent_bison=no
6033 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_recent_bison" >&5
6034 $as_echo "$wine_cv_recent_bison" >&6; }
6035 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
6037 if test -n "$ac_tool_prefix"; then
6038 for ac_prog in ar gar
6040 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
6041 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
6042 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6043 $as_echo_n "checking for $ac_word... " >&6; }
6044 if ${ac_cv_prog_AR+:} false; then :
6045 $as_echo_n "(cached) " >&6
6046 else
6047 if test -n "$AR"; then
6048 ac_cv_prog_AR="$AR" # Let the user override the test.
6049 else
6050 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6051 for as_dir in $PATH
6053 IFS=$as_save_IFS
6054 test -z "$as_dir" && as_dir=.
6055 for ac_exec_ext in '' $ac_executable_extensions; do
6056 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6057 ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
6058 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6059 break 2
6061 done
6062 done
6063 IFS=$as_save_IFS
6067 AR=$ac_cv_prog_AR
6068 if test -n "$AR"; then
6069 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
6070 $as_echo "$AR" >&6; }
6071 else
6072 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6073 $as_echo "no" >&6; }
6077 test -n "$AR" && break
6078 done
6080 if test -z "$AR"; then
6081 ac_ct_AR=$AR
6082 for ac_prog in ar gar
6084 # Extract the first word of "$ac_prog", so it can be a program name with args.
6085 set dummy $ac_prog; ac_word=$2
6086 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6087 $as_echo_n "checking for $ac_word... " >&6; }
6088 if ${ac_cv_prog_ac_ct_AR+:} false; then :
6089 $as_echo_n "(cached) " >&6
6090 else
6091 if test -n "$ac_ct_AR"; then
6092 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
6093 else
6094 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6095 for as_dir in $PATH
6097 IFS=$as_save_IFS
6098 test -z "$as_dir" && as_dir=.
6099 for ac_exec_ext in '' $ac_executable_extensions; do
6100 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6101 ac_cv_prog_ac_ct_AR="$ac_prog"
6102 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6103 break 2
6105 done
6106 done
6107 IFS=$as_save_IFS
6111 ac_ct_AR=$ac_cv_prog_ac_ct_AR
6112 if test -n "$ac_ct_AR"; then
6113 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
6114 $as_echo "$ac_ct_AR" >&6; }
6115 else
6116 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6117 $as_echo "no" >&6; }
6121 test -n "$ac_ct_AR" && break
6122 done
6124 if test "x$ac_ct_AR" = x; then
6125 AR="ar"
6126 else
6127 case $cross_compiling:$ac_tool_warned in
6128 yes:)
6129 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6130 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6131 ac_tool_warned=yes ;;
6132 esac
6133 AR=$ac_ct_AR
6137 if test -n "$ac_tool_prefix"; then
6138 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
6139 set dummy ${ac_tool_prefix}strip; ac_word=$2
6140 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6141 $as_echo_n "checking for $ac_word... " >&6; }
6142 if ${ac_cv_prog_STRIP+:} false; then :
6143 $as_echo_n "(cached) " >&6
6144 else
6145 if test -n "$STRIP"; then
6146 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
6147 else
6148 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6149 for as_dir in $PATH
6151 IFS=$as_save_IFS
6152 test -z "$as_dir" && as_dir=.
6153 for ac_exec_ext in '' $ac_executable_extensions; do
6154 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6155 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
6156 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6157 break 2
6159 done
6160 done
6161 IFS=$as_save_IFS
6165 STRIP=$ac_cv_prog_STRIP
6166 if test -n "$STRIP"; then
6167 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
6168 $as_echo "$STRIP" >&6; }
6169 else
6170 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6171 $as_echo "no" >&6; }
6176 if test -z "$ac_cv_prog_STRIP"; then
6177 ac_ct_STRIP=$STRIP
6178 # Extract the first word of "strip", so it can be a program name with args.
6179 set dummy strip; ac_word=$2
6180 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6181 $as_echo_n "checking for $ac_word... " >&6; }
6182 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
6183 $as_echo_n "(cached) " >&6
6184 else
6185 if test -n "$ac_ct_STRIP"; then
6186 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
6187 else
6188 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6189 for as_dir in $PATH
6191 IFS=$as_save_IFS
6192 test -z "$as_dir" && as_dir=.
6193 for ac_exec_ext in '' $ac_executable_extensions; do
6194 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6195 ac_cv_prog_ac_ct_STRIP="strip"
6196 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6197 break 2
6199 done
6200 done
6201 IFS=$as_save_IFS
6205 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
6206 if test -n "$ac_ct_STRIP"; then
6207 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
6208 $as_echo "$ac_ct_STRIP" >&6; }
6209 else
6210 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6211 $as_echo "no" >&6; }
6214 if test "x$ac_ct_STRIP" = x; then
6215 STRIP="strip"
6216 else
6217 case $cross_compiling:$ac_tool_warned in
6218 yes:)
6219 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6220 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6221 ac_tool_warned=yes ;;
6222 esac
6223 STRIP=$ac_ct_STRIP
6225 else
6226 STRIP="$ac_cv_prog_STRIP"
6229 if test -n "$ac_tool_prefix"; then
6230 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
6231 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6232 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6233 $as_echo_n "checking for $ac_word... " >&6; }
6234 if ${ac_cv_prog_RANLIB+:} false; then :
6235 $as_echo_n "(cached) " >&6
6236 else
6237 if test -n "$RANLIB"; then
6238 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
6239 else
6240 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6241 for as_dir in $PATH
6243 IFS=$as_save_IFS
6244 test -z "$as_dir" && as_dir=.
6245 for ac_exec_ext in '' $ac_executable_extensions; do
6246 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6247 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
6248 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6249 break 2
6251 done
6252 done
6253 IFS=$as_save_IFS
6257 RANLIB=$ac_cv_prog_RANLIB
6258 if test -n "$RANLIB"; then
6259 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
6260 $as_echo "$RANLIB" >&6; }
6261 else
6262 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6263 $as_echo "no" >&6; }
6268 if test -z "$ac_cv_prog_RANLIB"; then
6269 ac_ct_RANLIB=$RANLIB
6270 # Extract the first word of "ranlib", so it can be a program name with args.
6271 set dummy ranlib; ac_word=$2
6272 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6273 $as_echo_n "checking for $ac_word... " >&6; }
6274 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
6275 $as_echo_n "(cached) " >&6
6276 else
6277 if test -n "$ac_ct_RANLIB"; then
6278 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
6279 else
6280 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6281 for as_dir in $PATH
6283 IFS=$as_save_IFS
6284 test -z "$as_dir" && as_dir=.
6285 for ac_exec_ext in '' $ac_executable_extensions; do
6286 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6287 ac_cv_prog_ac_ct_RANLIB="ranlib"
6288 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6289 break 2
6291 done
6292 done
6293 IFS=$as_save_IFS
6297 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
6298 if test -n "$ac_ct_RANLIB"; then
6299 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
6300 $as_echo "$ac_ct_RANLIB" >&6; }
6301 else
6302 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6303 $as_echo "no" >&6; }
6306 if test "x$ac_ct_RANLIB" = x; then
6307 RANLIB=":"
6308 else
6309 case $cross_compiling:$ac_tool_warned in
6310 yes:)
6311 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6312 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6313 ac_tool_warned=yes ;;
6314 esac
6315 RANLIB=$ac_ct_RANLIB
6317 else
6318 RANLIB="$ac_cv_prog_RANLIB"
6321 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
6322 $as_echo_n "checking whether ln -s works... " >&6; }
6323 LN_S=$as_ln_s
6324 if test "$LN_S" = "ln -s"; then
6325 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6326 $as_echo "yes" >&6; }
6327 else
6328 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
6329 $as_echo "no, using $LN_S" >&6; }
6332 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
6333 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
6334 if ${ac_cv_path_GREP+:} false; then :
6335 $as_echo_n "(cached) " >&6
6336 else
6337 if test -z "$GREP"; then
6338 ac_path_GREP_found=false
6339 # Loop through the user's path and test for each of PROGNAME-LIST
6340 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6341 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
6343 IFS=$as_save_IFS
6344 test -z "$as_dir" && as_dir=.
6345 for ac_prog in grep ggrep; do
6346 for ac_exec_ext in '' $ac_executable_extensions; do
6347 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
6348 as_fn_executable_p "$ac_path_GREP" || continue
6349 # Check for GNU ac_path_GREP and select it if it is found.
6350 # Check for GNU $ac_path_GREP
6351 case `"$ac_path_GREP" --version 2>&1` in
6352 *GNU*)
6353 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
6355 ac_count=0
6356 $as_echo_n 0123456789 >"conftest.in"
6357 while :
6359 cat "conftest.in" "conftest.in" >"conftest.tmp"
6360 mv "conftest.tmp" "conftest.in"
6361 cp "conftest.in" "conftest.nl"
6362 $as_echo 'GREP' >> "conftest.nl"
6363 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
6364 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
6365 as_fn_arith $ac_count + 1 && ac_count=$as_val
6366 if test $ac_count -gt ${ac_path_GREP_max-0}; then
6367 # Best one so far, save it but keep looking for a better one
6368 ac_cv_path_GREP="$ac_path_GREP"
6369 ac_path_GREP_max=$ac_count
6371 # 10*(2^10) chars as input seems more than enough
6372 test $ac_count -gt 10 && break
6373 done
6374 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
6375 esac
6377 $ac_path_GREP_found && break 3
6378 done
6379 done
6380 done
6381 IFS=$as_save_IFS
6382 if test -z "$ac_cv_path_GREP"; then
6383 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
6385 else
6386 ac_cv_path_GREP=$GREP
6390 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
6391 $as_echo "$ac_cv_path_GREP" >&6; }
6392 GREP="$ac_cv_path_GREP"
6395 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
6396 $as_echo_n "checking for egrep... " >&6; }
6397 if ${ac_cv_path_EGREP+:} false; then :
6398 $as_echo_n "(cached) " >&6
6399 else
6400 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
6401 then ac_cv_path_EGREP="$GREP -E"
6402 else
6403 if test -z "$EGREP"; then
6404 ac_path_EGREP_found=false
6405 # Loop through the user's path and test for each of PROGNAME-LIST
6406 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6407 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
6409 IFS=$as_save_IFS
6410 test -z "$as_dir" && as_dir=.
6411 for ac_prog in egrep; do
6412 for ac_exec_ext in '' $ac_executable_extensions; do
6413 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
6414 as_fn_executable_p "$ac_path_EGREP" || continue
6415 # Check for GNU ac_path_EGREP and select it if it is found.
6416 # Check for GNU $ac_path_EGREP
6417 case `"$ac_path_EGREP" --version 2>&1` in
6418 *GNU*)
6419 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
6421 ac_count=0
6422 $as_echo_n 0123456789 >"conftest.in"
6423 while :
6425 cat "conftest.in" "conftest.in" >"conftest.tmp"
6426 mv "conftest.tmp" "conftest.in"
6427 cp "conftest.in" "conftest.nl"
6428 $as_echo 'EGREP' >> "conftest.nl"
6429 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
6430 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
6431 as_fn_arith $ac_count + 1 && ac_count=$as_val
6432 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
6433 # Best one so far, save it but keep looking for a better one
6434 ac_cv_path_EGREP="$ac_path_EGREP"
6435 ac_path_EGREP_max=$ac_count
6437 # 10*(2^10) chars as input seems more than enough
6438 test $ac_count -gt 10 && break
6439 done
6440 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
6441 esac
6443 $ac_path_EGREP_found && break 3
6444 done
6445 done
6446 done
6447 IFS=$as_save_IFS
6448 if test -z "$ac_cv_path_EGREP"; then
6449 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
6451 else
6452 ac_cv_path_EGREP=$EGREP
6457 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
6458 $as_echo "$ac_cv_path_EGREP" >&6; }
6459 EGREP="$ac_cv_path_EGREP"
6462 # Extract the first word of "ldconfig", so it can be a program name with args.
6463 set dummy ldconfig; ac_word=$2
6464 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6465 $as_echo_n "checking for $ac_word... " >&6; }
6466 if ${ac_cv_path_LDCONFIG+:} false; then :
6467 $as_echo_n "(cached) " >&6
6468 else
6469 case $LDCONFIG in
6470 [\\/]* | ?:[\\/]*)
6471 ac_cv_path_LDCONFIG="$LDCONFIG" # Let the user override the test with a path.
6474 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6475 for as_dir in /sbin /usr/sbin $PATH
6477 IFS=$as_save_IFS
6478 test -z "$as_dir" && as_dir=.
6479 for ac_exec_ext in '' $ac_executable_extensions; do
6480 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6481 ac_cv_path_LDCONFIG="$as_dir/$ac_word$ac_exec_ext"
6482 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6483 break 2
6485 done
6486 done
6487 IFS=$as_save_IFS
6489 test -z "$ac_cv_path_LDCONFIG" && ac_cv_path_LDCONFIG="true"
6491 esac
6493 LDCONFIG=$ac_cv_path_LDCONFIG
6494 if test -n "$LDCONFIG"; then
6495 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDCONFIG" >&5
6496 $as_echo "$LDCONFIG" >&6; }
6497 else
6498 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6499 $as_echo "no" >&6; }
6503 for ac_prog in msgfmt
6505 # Extract the first word of "$ac_prog", so it can be a program name with args.
6506 set dummy $ac_prog; ac_word=$2
6507 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6508 $as_echo_n "checking for $ac_word... " >&6; }
6509 if ${ac_cv_prog_MSGFMT+:} false; then :
6510 $as_echo_n "(cached) " >&6
6511 else
6512 if test -n "$MSGFMT"; then
6513 ac_cv_prog_MSGFMT="$MSGFMT" # Let the user override the test.
6514 else
6515 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6516 for as_dir in $PATH
6518 IFS=$as_save_IFS
6519 test -z "$as_dir" && as_dir=.
6520 for ac_exec_ext in '' $ac_executable_extensions; do
6521 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6522 ac_cv_prog_MSGFMT="$ac_prog"
6523 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6524 break 2
6526 done
6527 done
6528 IFS=$as_save_IFS
6532 MSGFMT=$ac_cv_prog_MSGFMT
6533 if test -n "$MSGFMT"; then
6534 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
6535 $as_echo "$MSGFMT" >&6; }
6536 else
6537 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6538 $as_echo "no" >&6; }
6542 test -n "$MSGFMT" && break
6543 done
6544 test -n "$MSGFMT" || MSGFMT="false"
6546 if ${ac_tool_prefix+:} false; then :
6547 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
6548 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
6549 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6550 $as_echo_n "checking for $ac_word... " >&6; }
6551 if ${ac_cv_prog_PKG_CONFIG+:} false; then :
6552 $as_echo_n "(cached) " >&6
6553 else
6554 if test -n "$PKG_CONFIG"; then
6555 ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
6556 else
6557 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6558 for as_dir in $PATH
6560 IFS=$as_save_IFS
6561 test -z "$as_dir" && as_dir=.
6562 for ac_exec_ext in '' $ac_executable_extensions; do
6563 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6564 ac_cv_prog_PKG_CONFIG="${ac_tool_prefix}pkg-config"
6565 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6566 break 2
6568 done
6569 done
6570 IFS=$as_save_IFS
6574 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
6575 if test -n "$PKG_CONFIG"; then
6576 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
6577 $as_echo "$PKG_CONFIG" >&6; }
6578 else
6579 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6580 $as_echo "no" >&6; }
6585 if ${ac_cv_prog_PKG_CONFIG:+false} :; then :
6586 if test "x$cross_compiling" = xyes; then :
6588 else
6589 { ac_cv_prog_PKG_CONFIG=; unset ac_cv_prog_PKG_CONFIG;}
6590 # Extract the first word of "pkg-config", so it can be a program name with args.
6591 set dummy pkg-config; ac_word=$2
6592 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6593 $as_echo_n "checking for $ac_word... " >&6; }
6594 if ${ac_cv_prog_PKG_CONFIG+:} false; then :
6595 $as_echo_n "(cached) " >&6
6596 else
6597 if test -n "$PKG_CONFIG"; then
6598 ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
6599 else
6600 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6601 for as_dir in $PATH
6603 IFS=$as_save_IFS
6604 test -z "$as_dir" && as_dir=.
6605 for ac_exec_ext in '' $ac_executable_extensions; do
6606 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6607 ac_cv_prog_PKG_CONFIG="pkg-config"
6608 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6609 break 2
6611 done
6612 done
6613 IFS=$as_save_IFS
6617 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
6618 if test -n "$PKG_CONFIG"; then
6619 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
6620 $as_echo "$PKG_CONFIG" >&6; }
6621 else
6622 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6623 $as_echo "no" >&6; }
6628 else
6629 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
6632 if test "x$enable_maintainer_mode" != "xyes"
6633 then
6634 FONTFORGE=""
6635 RSVG=""
6636 CONVERT=""
6637 ICOTOOL=""
6638 else
6639 test "$srcdir" = . || as_fn_error $? "Maintainer mode cannot work out of tree." "$LINENO" 5
6640 for ac_prog in fontforge
6642 # Extract the first word of "$ac_prog", so it can be a program name with args.
6643 set dummy $ac_prog; ac_word=$2
6644 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6645 $as_echo_n "checking for $ac_word... " >&6; }
6646 if ${ac_cv_prog_FONTFORGE+:} false; then :
6647 $as_echo_n "(cached) " >&6
6648 else
6649 if test -n "$FONTFORGE"; then
6650 ac_cv_prog_FONTFORGE="$FONTFORGE" # Let the user override the test.
6651 else
6652 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6653 for as_dir in $PATH
6655 IFS=$as_save_IFS
6656 test -z "$as_dir" && as_dir=.
6657 for ac_exec_ext in '' $ac_executable_extensions; do
6658 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6659 ac_cv_prog_FONTFORGE="$ac_prog"
6660 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6661 break 2
6663 done
6664 done
6665 IFS=$as_save_IFS
6669 FONTFORGE=$ac_cv_prog_FONTFORGE
6670 if test -n "$FONTFORGE"; then
6671 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FONTFORGE" >&5
6672 $as_echo "$FONTFORGE" >&6; }
6673 else
6674 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6675 $as_echo "no" >&6; }
6679 test -n "$FONTFORGE" && break
6680 done
6681 test -n "$FONTFORGE" || FONTFORGE="false"
6683 for ac_prog in rsvg-convert rsvg
6685 # Extract the first word of "$ac_prog", so it can be a program name with args.
6686 set dummy $ac_prog; ac_word=$2
6687 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6688 $as_echo_n "checking for $ac_word... " >&6; }
6689 if ${ac_cv_prog_RSVG+:} false; then :
6690 $as_echo_n "(cached) " >&6
6691 else
6692 if test -n "$RSVG"; then
6693 ac_cv_prog_RSVG="$RSVG" # Let the user override the test.
6694 else
6695 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6696 for as_dir in $PATH
6698 IFS=$as_save_IFS
6699 test -z "$as_dir" && as_dir=.
6700 for ac_exec_ext in '' $ac_executable_extensions; do
6701 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6702 ac_cv_prog_RSVG="$ac_prog"
6703 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6704 break 2
6706 done
6707 done
6708 IFS=$as_save_IFS
6712 RSVG=$ac_cv_prog_RSVG
6713 if test -n "$RSVG"; then
6714 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RSVG" >&5
6715 $as_echo "$RSVG" >&6; }
6716 else
6717 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6718 $as_echo "no" >&6; }
6722 test -n "$RSVG" && break
6723 done
6724 test -n "$RSVG" || RSVG="false"
6726 for ac_prog in convert
6728 # Extract the first word of "$ac_prog", so it can be a program name with args.
6729 set dummy $ac_prog; ac_word=$2
6730 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6731 $as_echo_n "checking for $ac_word... " >&6; }
6732 if ${ac_cv_prog_CONVERT+:} false; then :
6733 $as_echo_n "(cached) " >&6
6734 else
6735 if test -n "$CONVERT"; then
6736 ac_cv_prog_CONVERT="$CONVERT" # Let the user override the test.
6737 else
6738 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6739 for as_dir in $PATH
6741 IFS=$as_save_IFS
6742 test -z "$as_dir" && as_dir=.
6743 for ac_exec_ext in '' $ac_executable_extensions; do
6744 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6745 ac_cv_prog_CONVERT="$ac_prog"
6746 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6747 break 2
6749 done
6750 done
6751 IFS=$as_save_IFS
6755 CONVERT=$ac_cv_prog_CONVERT
6756 if test -n "$CONVERT"; then
6757 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CONVERT" >&5
6758 $as_echo "$CONVERT" >&6; }
6759 else
6760 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6761 $as_echo "no" >&6; }
6765 test -n "$CONVERT" && break
6766 done
6767 test -n "$CONVERT" || CONVERT="false"
6769 for ac_prog in icotool
6771 # Extract the first word of "$ac_prog", so it can be a program name with args.
6772 set dummy $ac_prog; ac_word=$2
6773 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6774 $as_echo_n "checking for $ac_word... " >&6; }
6775 if ${ac_cv_prog_ICOTOOL+:} false; then :
6776 $as_echo_n "(cached) " >&6
6777 else
6778 if test -n "$ICOTOOL"; then
6779 ac_cv_prog_ICOTOOL="$ICOTOOL" # Let the user override the test.
6780 else
6781 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6782 for as_dir in $PATH
6784 IFS=$as_save_IFS
6785 test -z "$as_dir" && as_dir=.
6786 for ac_exec_ext in '' $ac_executable_extensions; do
6787 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6788 ac_cv_prog_ICOTOOL="$ac_prog"
6789 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6790 break 2
6792 done
6793 done
6794 IFS=$as_save_IFS
6798 ICOTOOL=$ac_cv_prog_ICOTOOL
6799 if test -n "$ICOTOOL"; then
6800 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ICOTOOL" >&5
6801 $as_echo "$ICOTOOL" >&6; }
6802 else
6803 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6804 $as_echo "no" >&6; }
6808 test -n "$ICOTOOL" && break
6809 done
6810 test -n "$ICOTOOL" || ICOTOOL="false"
6812 test "$FONTFORGE" != "false" || as_fn_error $? "You need fontforge to rebuild fonts in maintainer mode." "$LINENO" 5
6813 test "$RSVG" != "false" || as_fn_error $? "You need rsvg to rebuild icons in maintainer mode." "$LINENO" 5
6815 if test "$CONVERT" = false
6816 then
6817 as_fn_error $? "You need imagemagick to rebuild icons in maintainer mode." "$LINENO" 5
6818 else
6819 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for recent enough imagemagick" >&5
6820 $as_echo_n "checking for recent enough imagemagick... " >&6; }
6821 convert_version=`convert --version | head -n1`
6822 if test "x$convert_version" != "x"
6823 then
6824 convert_version_major=`expr "$convert_version" : '.* \([0-9]*\)\.[0-9]*'`
6825 convert_version_minor=`expr "$convert_version" : '.* [0-9]*\.\([0-9]*\)'`
6826 if test "$convert_version_major" -eq 6 -a "$convert_version_minor" -lt 6
6827 then
6828 CONVERT=false
6831 if test "$CONVERT" = false
6832 then
6833 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no ($convert_version_major.$convert_version_minor)" >&5
6834 $as_echo "no ($convert_version_major.$convert_version_minor)" >&6; }
6835 as_fn_error $? "You need imagemagick version 6.6 or newer to rebuild icons in maintainer mode." "$LINENO" 5
6836 else
6837 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($convert_version_major.$convert_version_minor)" >&5
6838 $as_echo "yes ($convert_version_major.$convert_version_minor)" >&6; }
6842 if test "$ICOTOOL" = false
6843 then
6844 as_fn_error $? "You need icotool to rebuild icons in maintainer mode." "$LINENO" 5
6845 else
6846 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for recent enough icotool" >&5
6847 $as_echo_n "checking for recent enough icotool... " >&6; }
6848 icotool_version=`icotool --version | head -n1`
6849 if test "x$icotool_version" != "x"
6850 then
6851 icotool_version_major=`expr "$icotool_version" : '.* \([0-9]*\)\.[0-9]*'`
6852 icotool_version_minor=`expr "$icotool_version" : '.* [0-9]*\.\([0-9]*\)'`
6853 if test "$icotool_version_major" -eq 0 -a "$icotool_version_minor" -lt 29
6854 then
6855 ICOTOOL=false
6856 as_fn_append wine_warnings "|icotool version 0.29.0 or newer is needed to rebuild icons."
6859 if test "$ICOTOOL" = false
6860 then
6861 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no ($icotool_version_major.$icotool_version_minor)" >&5
6862 $as_echo "no ($icotool_version_major.$icotool_version_minor)" >&6; }
6863 as_fn_error $? "You need icotool version 0.29.0 or newer to rebuild icons in maintainer mode." "$LINENO" 5
6864 else
6865 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($icotool_version_major.$icotool_version_minor)" >&5
6866 $as_echo "yes ($icotool_version_major.$icotool_version_minor)" >&6; }
6870 with_gettext=yes
6871 with_gettextpo=yes
6873 enable_werror=yes
6876 test "x$with_gettext" != xno || MSGFMT=false
6877 if test "$MSGFMT" != "false"
6878 then
6879 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether msgfmt supports contexts" >&5
6880 $as_echo_n "checking whether msgfmt supports contexts... " >&6; }
6881 if ${wine_cv_msgfmt_contexts+:} false; then :
6882 $as_echo_n "(cached) " >&6
6883 else
6884 cat >conftest.po <<EOF
6885 # comment
6886 msgctxt "ctxt"
6887 msgid "id"
6888 msgstr "str"
6890 if $MSGFMT -o /dev/null conftest.po 2>&5
6891 then
6892 wine_cv_msgfmt_contexts=yes
6893 else
6894 wine_cv_msgfmt_contexts=no
6897 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_msgfmt_contexts" >&5
6898 $as_echo "$wine_cv_msgfmt_contexts" >&6; }
6899 test $wine_cv_msgfmt_contexts != no || MSGFMT=false
6901 if test "$MSGFMT" = false; then :
6902 case "x$with_gettext" in
6903 x) as_fn_append wine_warnings "|gettext tools not found (or too old), translations won't be built." ;;
6904 xno) ;;
6905 *) as_fn_error $? "gettext tools not found (or too old), translations won't be built.
6906 This is an error since --with-gettext was requested." "$LINENO" 5 ;;
6907 esac
6908 enable_po=${enable_po:-no}
6912 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for i386_set_ldt in -li386" >&5
6913 $as_echo_n "checking for i386_set_ldt in -li386... " >&6; }
6914 if ${ac_cv_lib_i386_i386_set_ldt+:} false; then :
6915 $as_echo_n "(cached) " >&6
6916 else
6917 ac_check_lib_save_LIBS=$LIBS
6918 LIBS="-li386 $LIBS"
6919 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6920 /* end confdefs.h. */
6922 /* Override any GCC internal prototype to avoid an error.
6923 Use char because int might match the return type of a GCC
6924 builtin and then its argument prototype would still apply. */
6925 #ifdef __cplusplus
6926 extern "C"
6927 #endif
6928 char i386_set_ldt ();
6930 main ()
6932 return i386_set_ldt ();
6934 return 0;
6936 _ACEOF
6937 if ac_fn_c_try_link "$LINENO"; then :
6938 ac_cv_lib_i386_i386_set_ldt=yes
6939 else
6940 ac_cv_lib_i386_i386_set_ldt=no
6942 rm -f core conftest.err conftest.$ac_objext \
6943 conftest$ac_exeext conftest.$ac_ext
6944 LIBS=$ac_check_lib_save_LIBS
6946 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_i386_i386_set_ldt" >&5
6947 $as_echo "$ac_cv_lib_i386_i386_set_ldt" >&6; }
6948 if test "x$ac_cv_lib_i386_i386_set_ldt" = xyes; then :
6949 I386_LIBS="-li386"
6954 OPENGL_LIBS=""
6958 # Check whether --enable-largefile was given.
6959 if test "${enable_largefile+set}" = set; then :
6960 enableval=$enable_largefile;
6963 if test "$enable_largefile" != no; then
6965 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
6966 $as_echo_n "checking for special C compiler options needed for large files... " >&6; }
6967 if ${ac_cv_sys_largefile_CC+:} false; then :
6968 $as_echo_n "(cached) " >&6
6969 else
6970 ac_cv_sys_largefile_CC=no
6971 if test "$GCC" != yes; then
6972 ac_save_CC=$CC
6973 while :; do
6974 # IRIX 6.2 and later do not support large files by default,
6975 # so use the C compiler's -n32 option if that helps.
6976 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6977 /* end confdefs.h. */
6978 #include <sys/types.h>
6979 /* Check that off_t can represent 2**63 - 1 correctly.
6980 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6981 since some C++ compilers masquerading as C compilers
6982 incorrectly reject 9223372036854775807. */
6983 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6984 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6985 && LARGE_OFF_T % 2147483647 == 1)
6986 ? 1 : -1];
6988 main ()
6992 return 0;
6994 _ACEOF
6995 if ac_fn_c_try_compile "$LINENO"; then :
6996 break
6998 rm -f core conftest.err conftest.$ac_objext
6999 CC="$CC -n32"
7000 if ac_fn_c_try_compile "$LINENO"; then :
7001 ac_cv_sys_largefile_CC=' -n32'; break
7003 rm -f core conftest.err conftest.$ac_objext
7004 break
7005 done
7006 CC=$ac_save_CC
7007 rm -f conftest.$ac_ext
7010 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
7011 $as_echo "$ac_cv_sys_largefile_CC" >&6; }
7012 if test "$ac_cv_sys_largefile_CC" != no; then
7013 CC=$CC$ac_cv_sys_largefile_CC
7016 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
7017 $as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
7018 if ${ac_cv_sys_file_offset_bits+:} false; then :
7019 $as_echo_n "(cached) " >&6
7020 else
7021 while :; do
7022 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7023 /* end confdefs.h. */
7024 #include <sys/types.h>
7025 /* Check that off_t can represent 2**63 - 1 correctly.
7026 We can't simply define LARGE_OFF_T to be 9223372036854775807,
7027 since some C++ compilers masquerading as C compilers
7028 incorrectly reject 9223372036854775807. */
7029 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
7030 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
7031 && LARGE_OFF_T % 2147483647 == 1)
7032 ? 1 : -1];
7034 main ()
7038 return 0;
7040 _ACEOF
7041 if ac_fn_c_try_compile "$LINENO"; then :
7042 ac_cv_sys_file_offset_bits=no; break
7044 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7045 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7046 /* end confdefs.h. */
7047 #define _FILE_OFFSET_BITS 64
7048 #include <sys/types.h>
7049 /* Check that off_t can represent 2**63 - 1 correctly.
7050 We can't simply define LARGE_OFF_T to be 9223372036854775807,
7051 since some C++ compilers masquerading as C compilers
7052 incorrectly reject 9223372036854775807. */
7053 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
7054 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
7055 && LARGE_OFF_T % 2147483647 == 1)
7056 ? 1 : -1];
7058 main ()
7062 return 0;
7064 _ACEOF
7065 if ac_fn_c_try_compile "$LINENO"; then :
7066 ac_cv_sys_file_offset_bits=64; break
7068 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7069 ac_cv_sys_file_offset_bits=unknown
7070 break
7071 done
7073 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
7074 $as_echo "$ac_cv_sys_file_offset_bits" >&6; }
7075 case $ac_cv_sys_file_offset_bits in #(
7076 no | unknown) ;;
7078 cat >>confdefs.h <<_ACEOF
7079 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
7080 _ACEOF
7082 esac
7083 rm -rf conftest*
7084 if test $ac_cv_sys_file_offset_bits = unknown; then
7085 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
7086 $as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
7087 if ${ac_cv_sys_large_files+:} false; then :
7088 $as_echo_n "(cached) " >&6
7089 else
7090 while :; do
7091 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7092 /* end confdefs.h. */
7093 #include <sys/types.h>
7094 /* Check that off_t can represent 2**63 - 1 correctly.
7095 We can't simply define LARGE_OFF_T to be 9223372036854775807,
7096 since some C++ compilers masquerading as C compilers
7097 incorrectly reject 9223372036854775807. */
7098 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
7099 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
7100 && LARGE_OFF_T % 2147483647 == 1)
7101 ? 1 : -1];
7103 main ()
7107 return 0;
7109 _ACEOF
7110 if ac_fn_c_try_compile "$LINENO"; then :
7111 ac_cv_sys_large_files=no; break
7113 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7114 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7115 /* end confdefs.h. */
7116 #define _LARGE_FILES 1
7117 #include <sys/types.h>
7118 /* Check that off_t can represent 2**63 - 1 correctly.
7119 We can't simply define LARGE_OFF_T to be 9223372036854775807,
7120 since some C++ compilers masquerading as C compilers
7121 incorrectly reject 9223372036854775807. */
7122 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
7123 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
7124 && LARGE_OFF_T % 2147483647 == 1)
7125 ? 1 : -1];
7127 main ()
7131 return 0;
7133 _ACEOF
7134 if ac_fn_c_try_compile "$LINENO"; then :
7135 ac_cv_sys_large_files=1; break
7137 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7138 ac_cv_sys_large_files=unknown
7139 break
7140 done
7142 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
7143 $as_echo "$ac_cv_sys_large_files" >&6; }
7144 case $ac_cv_sys_large_files in #(
7145 no | unknown) ;;
7147 cat >>confdefs.h <<_ACEOF
7148 #define _LARGE_FILES $ac_cv_sys_large_files
7149 _ACEOF
7151 esac
7152 rm -rf conftest*
7159 ac_ext=c
7160 ac_cpp='$CPP $CPPFLAGS'
7161 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7162 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7163 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7164 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
7165 $as_echo_n "checking how to run the C preprocessor... " >&6; }
7166 # On Suns, sometimes $CPP names a directory.
7167 if test -n "$CPP" && test -d "$CPP"; then
7168 CPP=
7170 if test -z "$CPP"; then
7171 if ${ac_cv_prog_CPP+:} false; then :
7172 $as_echo_n "(cached) " >&6
7173 else
7174 # Double quotes because CPP needs to be expanded
7175 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
7177 ac_preproc_ok=false
7178 for ac_c_preproc_warn_flag in '' yes
7180 # Use a header file that comes with gcc, so configuring glibc
7181 # with a fresh cross-compiler works.
7182 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7183 # <limits.h> exists even on freestanding compilers.
7184 # On the NeXT, cc -E runs the code through the compiler's parser,
7185 # not just through cpp. "Syntax error" is here to catch this case.
7186 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7187 /* end confdefs.h. */
7188 #ifdef __STDC__
7189 # include <limits.h>
7190 #else
7191 # include <assert.h>
7192 #endif
7193 Syntax error
7194 _ACEOF
7195 if ac_fn_c_try_cpp "$LINENO"; then :
7197 else
7198 # Broken: fails on valid input.
7199 continue
7201 rm -f conftest.err conftest.i conftest.$ac_ext
7203 # OK, works on sane cases. Now check whether nonexistent headers
7204 # can be detected and how.
7205 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7206 /* end confdefs.h. */
7207 #include <ac_nonexistent.h>
7208 _ACEOF
7209 if ac_fn_c_try_cpp "$LINENO"; then :
7210 # Broken: success on invalid input.
7211 continue
7212 else
7213 # Passes both tests.
7214 ac_preproc_ok=:
7215 break
7217 rm -f conftest.err conftest.i conftest.$ac_ext
7219 done
7220 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7221 rm -f conftest.i conftest.err conftest.$ac_ext
7222 if $ac_preproc_ok; then :
7223 break
7226 done
7227 ac_cv_prog_CPP=$CPP
7230 CPP=$ac_cv_prog_CPP
7231 else
7232 ac_cv_prog_CPP=$CPP
7234 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
7235 $as_echo "$CPP" >&6; }
7236 ac_preproc_ok=false
7237 for ac_c_preproc_warn_flag in '' yes
7239 # Use a header file that comes with gcc, so configuring glibc
7240 # with a fresh cross-compiler works.
7241 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7242 # <limits.h> exists even on freestanding compilers.
7243 # On the NeXT, cc -E runs the code through the compiler's parser,
7244 # not just through cpp. "Syntax error" is here to catch this case.
7245 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7246 /* end confdefs.h. */
7247 #ifdef __STDC__
7248 # include <limits.h>
7249 #else
7250 # include <assert.h>
7251 #endif
7252 Syntax error
7253 _ACEOF
7254 if ac_fn_c_try_cpp "$LINENO"; then :
7256 else
7257 # Broken: fails on valid input.
7258 continue
7260 rm -f conftest.err conftest.i conftest.$ac_ext
7262 # OK, works on sane cases. Now check whether nonexistent headers
7263 # can be detected and how.
7264 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7265 /* end confdefs.h. */
7266 #include <ac_nonexistent.h>
7267 _ACEOF
7268 if ac_fn_c_try_cpp "$LINENO"; then :
7269 # Broken: success on invalid input.
7270 continue
7271 else
7272 # Passes both tests.
7273 ac_preproc_ok=:
7274 break
7276 rm -f conftest.err conftest.i conftest.$ac_ext
7278 done
7279 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7280 rm -f conftest.i conftest.err conftest.$ac_ext
7281 if $ac_preproc_ok; then :
7283 else
7284 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
7285 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
7286 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
7287 See \`config.log' for more details" "$LINENO" 5; }
7290 ac_ext=c
7291 ac_cpp='$CPP $CPPFLAGS'
7292 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7293 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7294 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7297 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
7298 $as_echo_n "checking for ANSI C header files... " >&6; }
7299 if ${ac_cv_header_stdc+:} false; then :
7300 $as_echo_n "(cached) " >&6
7301 else
7302 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7303 /* end confdefs.h. */
7304 #include <stdlib.h>
7305 #include <stdarg.h>
7306 #include <string.h>
7307 #include <float.h>
7310 main ()
7314 return 0;
7316 _ACEOF
7317 if ac_fn_c_try_compile "$LINENO"; then :
7318 ac_cv_header_stdc=yes
7319 else
7320 ac_cv_header_stdc=no
7322 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7324 if test $ac_cv_header_stdc = yes; then
7325 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
7326 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7327 /* end confdefs.h. */
7328 #include <string.h>
7330 _ACEOF
7331 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7332 $EGREP "memchr" >/dev/null 2>&1; then :
7334 else
7335 ac_cv_header_stdc=no
7337 rm -f conftest*
7341 if test $ac_cv_header_stdc = yes; then
7342 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
7343 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7344 /* end confdefs.h. */
7345 #include <stdlib.h>
7347 _ACEOF
7348 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7349 $EGREP "free" >/dev/null 2>&1; then :
7351 else
7352 ac_cv_header_stdc=no
7354 rm -f conftest*
7358 if test $ac_cv_header_stdc = yes; then
7359 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
7360 if test "$cross_compiling" = yes; then :
7362 else
7363 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7364 /* end confdefs.h. */
7365 #include <ctype.h>
7366 #include <stdlib.h>
7367 #if ((' ' & 0x0FF) == 0x020)
7368 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
7369 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
7370 #else
7371 # define ISLOWER(c) \
7372 (('a' <= (c) && (c) <= 'i') \
7373 || ('j' <= (c) && (c) <= 'r') \
7374 || ('s' <= (c) && (c) <= 'z'))
7375 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
7376 #endif
7378 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
7380 main ()
7382 int i;
7383 for (i = 0; i < 256; i++)
7384 if (XOR (islower (i), ISLOWER (i))
7385 || toupper (i) != TOUPPER (i))
7386 return 2;
7387 return 0;
7389 _ACEOF
7390 if ac_fn_c_try_run "$LINENO"; then :
7392 else
7393 ac_cv_header_stdc=no
7395 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
7396 conftest.$ac_objext conftest.beam conftest.$ac_ext
7401 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
7402 $as_echo "$ac_cv_header_stdc" >&6; }
7403 if test $ac_cv_header_stdc = yes; then
7405 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
7409 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
7410 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
7411 inttypes.h stdint.h unistd.h
7412 do :
7413 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7414 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
7416 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7417 cat >>confdefs.h <<_ACEOF
7418 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7419 _ACEOF
7423 done
7426 for ac_header in \
7427 AL/al.h \
7428 ApplicationServices/ApplicationServices.h \
7429 AudioToolbox/AudioConverter.h \
7430 AudioUnit/AudioUnit.h \
7431 AudioUnit/AudioComponent.h \
7432 CL/cl.h \
7433 Carbon/Carbon.h \
7434 CommonCrypto/CommonCryptor.h \
7435 CoreAudio/CoreAudio.h \
7436 DiskArbitration/DiskArbitration.h \
7437 EGL/egl.h \
7438 IOKit/IOKitLib.h \
7439 IOKit/hid/IOHIDLib.h \
7440 OpenAL/al.h \
7441 OpenCL/opencl.h \
7442 QuickTime/ImageCompression.h \
7443 Security/Security.h \
7444 SystemConfiguration/SCDynamicStoreCopyDHCPInfo.h \
7445 SystemConfiguration/SCNetworkConfiguration.h \
7446 alias.h \
7447 arpa/inet.h \
7448 arpa/nameser.h \
7449 asm/types.h \
7450 asm/user.h \
7451 dirent.h \
7452 dlfcn.h \
7453 elf.h \
7454 float.h \
7455 fnmatch.h \
7456 getopt.h \
7457 gettext-po.h \
7458 grp.h \
7459 gsm.h \
7460 gsm/gsm.h \
7461 ieeefp.h \
7462 inet/mib2.h \
7463 kstat.h \
7464 libproc.h \
7465 link.h \
7466 linux/cdrom.h \
7467 linux/filter.h \
7468 linux/hdreg.h \
7469 linux/hidraw.h \
7470 linux/input.h \
7471 linux/ioctl.h \
7472 linux/joystick.h \
7473 linux/major.h \
7474 linux/param.h \
7475 linux/serial.h \
7476 linux/types.h \
7477 linux/ucdrom.h \
7478 lwp.h \
7479 mach-o/loader.h \
7480 mach/mach.h \
7481 machine/cpu.h \
7482 machine/sysarch.h \
7483 mntent.h \
7484 netdb.h \
7485 netinet/in.h \
7486 netinet/in_systm.h \
7487 netinet/tcp.h \
7488 netinet/tcp_fsm.h \
7489 pcap/pcap.h \
7490 poll.h \
7491 port.h \
7492 pthread.h \
7493 pwd.h \
7494 sasl/sasl.h \
7495 sched.h \
7496 scsi/scsi.h \
7497 scsi/scsi_ioctl.h \
7498 scsi/sg.h \
7499 stdint.h \
7500 stropts.h \
7501 sys/attr.h \
7502 sys/auxv.h \
7503 sys/cdio.h \
7504 sys/epoll.h \
7505 sys/event.h \
7506 sys/filio.h \
7507 sys/ioctl.h \
7508 sys/ipc.h \
7509 sys/link.h \
7510 sys/mman.h \
7511 sys/modem.h \
7512 sys/msg.h \
7513 sys/mtio.h \
7514 sys/param.h \
7515 sys/poll.h \
7516 sys/prctl.h \
7517 sys/protosw.h \
7518 sys/ptrace.h \
7519 sys/queue.h \
7520 sys/random.h \
7521 sys/resource.h \
7522 sys/scsiio.h \
7523 sys/shm.h \
7524 sys/signal.h \
7525 sys/socket.h \
7526 sys/socketvar.h \
7527 sys/sockio.h \
7528 sys/statvfs.h \
7529 sys/strtio.h \
7530 sys/syscall.h \
7531 sys/sysinfo.h \
7532 sys/tihdr.h \
7533 sys/time.h \
7534 sys/timeout.h \
7535 sys/times.h \
7536 sys/uio.h \
7537 sys/user.h \
7538 sys/utsname.h \
7539 sys/vnode.h \
7540 sys/wait.h \
7541 syscall.h \
7542 termios.h \
7543 unistd.h \
7544 utime.h \
7545 valgrind/memcheck.h \
7546 valgrind/valgrind.h
7548 do :
7549 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7550 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
7551 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7552 cat >>confdefs.h <<_ACEOF
7553 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7554 _ACEOF
7558 done
7560 ac_fn_c_check_header_mongrel "$LINENO" "sys/mkdev.h" "ac_cv_header_sys_mkdev_h" "$ac_includes_default"
7561 if test "x$ac_cv_header_sys_mkdev_h" = xyes; then :
7563 $as_echo "#define MAJOR_IN_MKDEV 1" >>confdefs.h
7568 if test $ac_cv_header_sys_mkdev_h = no; then
7569 ac_fn_c_check_header_mongrel "$LINENO" "sys/sysmacros.h" "ac_cv_header_sys_sysmacros_h" "$ac_includes_default"
7570 if test "x$ac_cv_header_sys_sysmacros_h" = xyes; then :
7572 $as_echo "#define MAJOR_IN_SYSMACROS 1" >>confdefs.h
7578 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stat file-mode macros are broken" >&5
7579 $as_echo_n "checking whether stat file-mode macros are broken... " >&6; }
7580 if ${ac_cv_header_stat_broken+:} false; then :
7581 $as_echo_n "(cached) " >&6
7582 else
7583 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7584 /* end confdefs.h. */
7585 #include <sys/types.h>
7586 #include <sys/stat.h>
7588 #if defined S_ISBLK && defined S_IFDIR
7589 extern char c1[S_ISBLK (S_IFDIR) ? -1 : 1];
7590 #endif
7592 #if defined S_ISBLK && defined S_IFCHR
7593 extern char c2[S_ISBLK (S_IFCHR) ? -1 : 1];
7594 #endif
7596 #if defined S_ISLNK && defined S_IFREG
7597 extern char c3[S_ISLNK (S_IFREG) ? -1 : 1];
7598 #endif
7600 #if defined S_ISSOCK && defined S_IFREG
7601 extern char c4[S_ISSOCK (S_IFREG) ? -1 : 1];
7602 #endif
7604 _ACEOF
7605 if ac_fn_c_try_compile "$LINENO"; then :
7606 ac_cv_header_stat_broken=no
7607 else
7608 ac_cv_header_stat_broken=yes
7610 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7612 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stat_broken" >&5
7613 $as_echo "$ac_cv_header_stat_broken" >&6; }
7614 if test $ac_cv_header_stat_broken = yes; then
7616 $as_echo "#define STAT_MACROS_BROKEN 1" >>confdefs.h
7622 for ac_header in sys/conf.h sys/mount.h sys/statfs.h sys/user.h sys/vfs.h
7623 do :
7624 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7625 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7626 #ifdef HAVE_SYS_PARAM_H
7627 # include <sys/param.h>
7628 #endif
7630 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7631 cat >>confdefs.h <<_ACEOF
7632 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7633 _ACEOF
7637 done
7640 saved_sysctl_h_CFLAGS=$CFLAGS
7641 test "x${GCC}" != xyes || CFLAGS="$CFLAGS -Werror"
7642 for ac_header in sys/sysctl.h
7643 do :
7644 ac_fn_c_check_header_compile "$LINENO" "sys/sysctl.h" "ac_cv_header_sys_sysctl_h" "#include <sys/types.h>
7645 #ifdef HAVE_SYS_PARAM_H
7646 # include <sys/param.h>
7647 #endif
7649 if test "x$ac_cv_header_sys_sysctl_h" = xyes; then :
7650 cat >>confdefs.h <<_ACEOF
7651 #define HAVE_SYS_SYSCTL_H 1
7652 _ACEOF
7656 done
7658 CFLAGS=$saved_sysctl_h_CFLAGS
7660 for ac_header in \
7661 netinet/ip.h \
7662 net/if.h \
7663 net/if_arp.h \
7664 net/if_dl.h \
7665 net/if_types.h \
7666 net/route.h \
7667 netinet/if_ether.h \
7668 netinet/if_inarp.h \
7669 netinet/in_pcb.h \
7670 netinet/ip_icmp.h \
7671 netinet/ip_var.h \
7672 netinet/udp.h \
7673 netipx/ipx.h \
7674 sys/un.h \
7676 do :
7677 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7678 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7679 #ifdef HAVE_SYS_SOCKET_H
7680 # include <sys/socket.h>
7681 #endif
7682 #ifdef HAVE_SYS_SOCKETVAR_H
7683 # include <sys/socketvar.h>
7684 #endif
7685 #ifdef HAVE_NET_ROUTE_H
7686 # include <net/route.h>
7687 #endif
7688 #ifdef HAVE_NETINET_IN_H
7689 # include <netinet/in.h>
7690 #endif
7691 #ifdef HAVE_NETINET_IN_SYSTM_H
7692 # include <netinet/in_systm.h>
7693 #endif
7694 #ifdef HAVE_NET_IF_H
7695 # include <net/if.h>
7696 #endif
7697 #ifdef HAVE_NETINET_IP_H
7698 # include <netinet/ip.h>
7699 #endif
7701 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7702 cat >>confdefs.h <<_ACEOF
7703 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7704 _ACEOF
7708 done
7711 for ac_header in netinet/tcp_timer.h netinet/udp_var.h netinet/icmp_var.h netinet/tcp_var.h
7712 do :
7713 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7714 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7715 #ifdef HAVE_ALIAS_H
7716 # include <alias.h>
7717 #endif
7718 #ifdef HAVE_SYS_SOCKET_H
7719 # include <sys/socket.h>
7720 #endif
7721 #ifdef HAVE_SYS_SOCKETVAR_H
7722 # include <sys/socketvar.h>
7723 #endif
7724 #ifdef HAVE_SYS_TIMEOUT_H
7725 # include <sys/timeout.h>
7726 #endif
7727 #ifdef HAVE_NETINET_IN_H
7728 # include <netinet/in.h>
7729 #endif
7730 #ifdef HAVE_NETINET_IN_SYSTM_H
7731 # include <netinet/in_systm.h>
7732 #endif
7733 #ifdef HAVE_NETINET_IP_H
7734 # include <netinet/ip.h>
7735 #endif
7736 #ifdef HAVE_NETINET_IP_VAR_H
7737 # include <netinet/ip_var.h>
7738 #endif
7739 #ifdef HAVE_NETINET_IP_ICMP_H
7740 # include <netinet/ip_icmp.h>
7741 #endif
7742 #ifdef HAVE_NETINET_UDP_H
7743 # include <netinet/udp.h>
7744 #endif
7745 #ifdef HAVE_NETINET_TCP_H
7746 # include <netinet/tcp.h>
7747 #endif
7748 #ifdef HAVE_NETINET_TCP_TIMER_H
7749 #include <netinet/tcp_timer.h>
7750 #endif
7752 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7753 cat >>confdefs.h <<_ACEOF
7754 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7755 _ACEOF
7759 done
7762 for ac_header in linux/ipx.h linux/irda.h linux/rtnetlink.h
7763 do :
7764 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7765 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7766 #ifdef HAVE_ASM_TYPES_H
7767 # include <asm/types.h>
7768 #endif
7769 #ifdef HAVE_SYS_SOCKET_H
7770 # include <sys/socket.h>
7771 #endif
7772 #ifdef HAVE_LINUX_TYPES_H
7773 # include <linux/types.h>
7774 #endif
7776 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7777 cat >>confdefs.h <<_ACEOF
7778 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7779 _ACEOF
7783 done
7786 for ac_header in resolv.h
7787 do :
7788 ac_fn_c_check_header_compile "$LINENO" "resolv.h" "ac_cv_header_resolv_h" "#include <sys/types.h>
7789 #ifdef HAVE_SYS_SOCKET_H
7790 # include <sys/socket.h>
7791 #endif
7792 #ifdef HAVE_NETINET_IN_H
7793 # include <netinet/in.h>
7794 #endif
7795 #ifdef HAVE_ARPA_NAMESER_H
7796 # include <arpa/nameser.h>
7797 #endif
7799 if test "x$ac_cv_header_resolv_h" = xyes; then :
7800 cat >>confdefs.h <<_ACEOF
7801 #define HAVE_RESOLV_H 1
7802 _ACEOF
7806 done
7809 for ac_header in ifaddrs.h
7810 do :
7811 ac_fn_c_check_header_compile "$LINENO" "ifaddrs.h" "ac_cv_header_ifaddrs_h" "#include <sys/types.h>
7813 if test "x$ac_cv_header_ifaddrs_h" = xyes; then :
7814 cat >>confdefs.h <<_ACEOF
7815 #define HAVE_IFADDRS_H 1
7816 _ACEOF
7820 done
7823 for ac_header in sys/ucontext.h
7824 do :
7825 ac_fn_c_check_header_compile "$LINENO" "sys/ucontext.h" "ac_cv_header_sys_ucontext_h" "#include <signal.h>
7827 if test "x$ac_cv_header_sys_ucontext_h" = xyes; then :
7828 cat >>confdefs.h <<_ACEOF
7829 #define HAVE_SYS_UCONTEXT_H 1
7830 _ACEOF
7834 done
7837 for ac_header in sys/thr.h
7838 do :
7839 ac_fn_c_check_header_compile "$LINENO" "sys/thr.h" "ac_cv_header_sys_thr_h" "#include <sys/types.h>
7840 #ifdef HAVE_SYS_UCONTEXT_H
7841 #include <sys/ucontext.h>
7842 #endif
7844 if test "x$ac_cv_header_sys_thr_h" = xyes; then :
7845 cat >>confdefs.h <<_ACEOF
7846 #define HAVE_SYS_THR_H 1
7847 _ACEOF
7851 done
7854 for ac_header in pthread_np.h
7855 do :
7856 ac_fn_c_check_header_compile "$LINENO" "pthread_np.h" "ac_cv_header_pthread_np_h" "#ifdef HAVE_PTHREAD_H
7857 #include <pthread.h>
7858 #endif
7860 if test "x$ac_cv_header_pthread_np_h" = xyes; then :
7861 cat >>confdefs.h <<_ACEOF
7862 #define HAVE_PTHREAD_NP_H 1
7863 _ACEOF
7867 done
7870 for ac_header in linux/videodev2.h
7871 do :
7872 ac_fn_c_check_header_compile "$LINENO" "linux/videodev2.h" "ac_cv_header_linux_videodev2_h" "#ifdef HAVE_SYS_TIME_H
7873 #include <sys/time.h>
7874 #endif
7875 #include <sys/types.h>
7876 #ifdef HAVE_ASM_TYPES_H
7877 #include <asm/types.h>
7878 #endif
7880 if test "x$ac_cv_header_linux_videodev2_h" = xyes; then :
7881 cat >>confdefs.h <<_ACEOF
7882 #define HAVE_LINUX_VIDEODEV2_H 1
7883 _ACEOF
7887 done
7890 for ac_header in libprocstat.h
7891 do :
7892 ac_fn_c_check_header_compile "$LINENO" "libprocstat.h" "ac_cv_header_libprocstat_h" "#ifdef HAVE_SYS_PARAM_H
7893 #include <sys/param.h>
7894 #endif
7895 #ifdef HAVE_SYS_QUEUE_H
7896 #include <sys/queue.h>
7897 #endif
7898 #ifdef HAVE_SYS_SOCKET_H
7899 #include <sys/socket.h>
7900 #endif
7902 if test "x$ac_cv_header_libprocstat_h" = xyes; then :
7903 cat >>confdefs.h <<_ACEOF
7904 #define HAVE_LIBPROCSTAT_H 1
7905 _ACEOF
7909 done
7913 DLLFLAGS="-D_REENTRANT"
7915 LDDLLFLAGS=""
7917 LDEXECFLAGS=""
7919 TOP_INSTALL_LIB=""
7921 TOP_INSTALL_DEV=""
7923 WINELOADER_LDFLAGS=""
7925 WINEPRELOADER_LDFLAGS=""
7927 LIBEXT="so"
7928 DLLEXT=".so"
7929 # Extract the first word of "ldd", so it can be a program name with args.
7930 set dummy ldd; ac_word=$2
7931 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7932 $as_echo_n "checking for $ac_word... " >&6; }
7933 if ${ac_cv_path_LDD+:} false; then :
7934 $as_echo_n "(cached) " >&6
7935 else
7936 case $LDD in
7937 [\\/]* | ?:[\\/]*)
7938 ac_cv_path_LDD="$LDD" # Let the user override the test with a path.
7941 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7942 as_dummy="/sbin:/usr/sbin:$PATH"
7943 for as_dir in $as_dummy
7945 IFS=$as_save_IFS
7946 test -z "$as_dir" && as_dir=.
7947 for ac_exec_ext in '' $ac_executable_extensions; do
7948 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7949 ac_cv_path_LDD="$as_dir/$ac_word$ac_exec_ext"
7950 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7951 break 2
7953 done
7954 done
7955 IFS=$as_save_IFS
7957 test -z "$ac_cv_path_LDD" && ac_cv_path_LDD="true"
7959 esac
7961 LDD=$ac_cv_path_LDD
7962 if test -n "$LDD"; then
7963 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDD" >&5
7964 $as_echo "$LDD" >&6; }
7965 else
7966 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7967 $as_echo "no" >&6; }
7971 if test -n "$ac_tool_prefix"; then
7972 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
7973 set dummy ${ac_tool_prefix}otool; ac_word=$2
7974 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7975 $as_echo_n "checking for $ac_word... " >&6; }
7976 if ${ac_cv_prog_OTOOL+:} false; then :
7977 $as_echo_n "(cached) " >&6
7978 else
7979 if test -n "$OTOOL"; then
7980 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
7981 else
7982 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7983 for as_dir in $PATH
7985 IFS=$as_save_IFS
7986 test -z "$as_dir" && as_dir=.
7987 for ac_exec_ext in '' $ac_executable_extensions; do
7988 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7989 ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
7990 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7991 break 2
7993 done
7994 done
7995 IFS=$as_save_IFS
7999 OTOOL=$ac_cv_prog_OTOOL
8000 if test -n "$OTOOL"; then
8001 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
8002 $as_echo "$OTOOL" >&6; }
8003 else
8004 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8005 $as_echo "no" >&6; }
8010 if test -z "$ac_cv_prog_OTOOL"; then
8011 ac_ct_OTOOL=$OTOOL
8012 # Extract the first word of "otool", so it can be a program name with args.
8013 set dummy otool; ac_word=$2
8014 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8015 $as_echo_n "checking for $ac_word... " >&6; }
8016 if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
8017 $as_echo_n "(cached) " >&6
8018 else
8019 if test -n "$ac_ct_OTOOL"; then
8020 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
8021 else
8022 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8023 for as_dir in $PATH
8025 IFS=$as_save_IFS
8026 test -z "$as_dir" && as_dir=.
8027 for ac_exec_ext in '' $ac_executable_extensions; do
8028 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8029 ac_cv_prog_ac_ct_OTOOL="otool"
8030 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8031 break 2
8033 done
8034 done
8035 IFS=$as_save_IFS
8039 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
8040 if test -n "$ac_ct_OTOOL"; then
8041 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
8042 $as_echo "$ac_ct_OTOOL" >&6; }
8043 else
8044 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8045 $as_echo "no" >&6; }
8048 if test "x$ac_ct_OTOOL" = x; then
8049 OTOOL="otool"
8050 else
8051 case $cross_compiling:$ac_tool_warned in
8052 yes:)
8053 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8054 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8055 ac_tool_warned=yes ;;
8056 esac
8057 OTOOL=$ac_ct_OTOOL
8059 else
8060 OTOOL="$ac_cv_prog_OTOOL"
8063 if test -n "$ac_tool_prefix"; then
8064 # Extract the first word of "${ac_tool_prefix}readelf", so it can be a program name with args.
8065 set dummy ${ac_tool_prefix}readelf; ac_word=$2
8066 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8067 $as_echo_n "checking for $ac_word... " >&6; }
8068 if ${ac_cv_prog_READELF+:} false; then :
8069 $as_echo_n "(cached) " >&6
8070 else
8071 if test -n "$READELF"; then
8072 ac_cv_prog_READELF="$READELF" # Let the user override the test.
8073 else
8074 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8075 for as_dir in $PATH
8077 IFS=$as_save_IFS
8078 test -z "$as_dir" && as_dir=.
8079 for ac_exec_ext in '' $ac_executable_extensions; do
8080 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8081 ac_cv_prog_READELF="${ac_tool_prefix}readelf"
8082 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8083 break 2
8085 done
8086 done
8087 IFS=$as_save_IFS
8091 READELF=$ac_cv_prog_READELF
8092 if test -n "$READELF"; then
8093 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $READELF" >&5
8094 $as_echo "$READELF" >&6; }
8095 else
8096 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8097 $as_echo "no" >&6; }
8102 if test -z "$ac_cv_prog_READELF"; then
8103 ac_ct_READELF=$READELF
8104 # Extract the first word of "readelf", so it can be a program name with args.
8105 set dummy readelf; ac_word=$2
8106 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8107 $as_echo_n "checking for $ac_word... " >&6; }
8108 if ${ac_cv_prog_ac_ct_READELF+:} false; then :
8109 $as_echo_n "(cached) " >&6
8110 else
8111 if test -n "$ac_ct_READELF"; then
8112 ac_cv_prog_ac_ct_READELF="$ac_ct_READELF" # Let the user override the test.
8113 else
8114 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8115 for as_dir in $PATH
8117 IFS=$as_save_IFS
8118 test -z "$as_dir" && as_dir=.
8119 for ac_exec_ext in '' $ac_executable_extensions; do
8120 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8121 ac_cv_prog_ac_ct_READELF="readelf"
8122 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8123 break 2
8125 done
8126 done
8127 IFS=$as_save_IFS
8131 ac_ct_READELF=$ac_cv_prog_ac_ct_READELF
8132 if test -n "$ac_ct_READELF"; then
8133 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_READELF" >&5
8134 $as_echo "$ac_ct_READELF" >&6; }
8135 else
8136 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8137 $as_echo "no" >&6; }
8140 if test "x$ac_ct_READELF" = x; then
8141 READELF="true"
8142 else
8143 case $cross_compiling:$ac_tool_warned in
8144 yes:)
8145 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8146 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8147 ac_tool_warned=yes ;;
8148 esac
8149 READELF=$ac_ct_READELF
8151 else
8152 READELF="$ac_cv_prog_READELF"
8155 wine_rules_file=conf$$rules.make
8156 rm -f $wine_rules_file
8157 SUBDIRS=""
8159 DISABLED_SUBDIRS=""
8161 CONFIGURE_TARGETS=""
8164 wine_fn_append_file ()
8166 as_fn_append $1 " \\$as_nl $2"
8169 wine_fn_append_rule ()
8171 $as_echo "$1" >>$wine_rules_file
8174 wine_fn_config_makefile ()
8176 wine_fn_append_file SUBDIRS $1
8177 if eval test \"x\$"$2"\" = x"no"; then :
8178 wine_fn_append_file DISABLED_SUBDIRS $1
8182 wine_fn_config_symlink ()
8184 ac_links=$@
8185 wine_fn_append_rule \
8186 "$ac_links:
8187 @./config.status \$@"
8188 for f in $ac_links; do wine_fn_append_file CONFIGURE_TARGETS $f; done
8191 wine_binary="wine"
8192 test "x$enable_win64" != "xyes" || wine_binary="wine64"
8193 WINELOADER_PROGRAMS="$wine_binary"
8195 libwine_soversion=`expr $libwine_version : '\([0-9]*\)\..*'`
8197 case $host_os in
8198 cygwin*|mingw32*)
8199 if test -n "$ac_tool_prefix"; then
8200 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
8201 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
8202 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8203 $as_echo_n "checking for $ac_word... " >&6; }
8204 if ${ac_cv_prog_DLLTOOL+:} false; then :
8205 $as_echo_n "(cached) " >&6
8206 else
8207 if test -n "$DLLTOOL"; then
8208 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
8209 else
8210 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8211 for as_dir in $PATH
8213 IFS=$as_save_IFS
8214 test -z "$as_dir" && as_dir=.
8215 for ac_exec_ext in '' $ac_executable_extensions; do
8216 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8217 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
8218 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8219 break 2
8221 done
8222 done
8223 IFS=$as_save_IFS
8227 DLLTOOL=$ac_cv_prog_DLLTOOL
8228 if test -n "$DLLTOOL"; then
8229 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
8230 $as_echo "$DLLTOOL" >&6; }
8231 else
8232 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8233 $as_echo "no" >&6; }
8238 if test -z "$ac_cv_prog_DLLTOOL"; then
8239 ac_ct_DLLTOOL=$DLLTOOL
8240 # Extract the first word of "dlltool", so it can be a program name with args.
8241 set dummy dlltool; ac_word=$2
8242 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8243 $as_echo_n "checking for $ac_word... " >&6; }
8244 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
8245 $as_echo_n "(cached) " >&6
8246 else
8247 if test -n "$ac_ct_DLLTOOL"; then
8248 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
8249 else
8250 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8251 for as_dir in $PATH
8253 IFS=$as_save_IFS
8254 test -z "$as_dir" && as_dir=.
8255 for ac_exec_ext in '' $ac_executable_extensions; do
8256 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8257 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
8258 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8259 break 2
8261 done
8262 done
8263 IFS=$as_save_IFS
8267 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
8268 if test -n "$ac_ct_DLLTOOL"; then
8269 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
8270 $as_echo "$ac_ct_DLLTOOL" >&6; }
8271 else
8272 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8273 $as_echo "no" >&6; }
8276 if test "x$ac_ct_DLLTOOL" = x; then
8277 DLLTOOL="false"
8278 else
8279 case $cross_compiling:$ac_tool_warned in
8280 yes:)
8281 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8282 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8283 ac_tool_warned=yes ;;
8284 esac
8285 DLLTOOL=$ac_ct_DLLTOOL
8287 else
8288 DLLTOOL="$ac_cv_prog_DLLTOOL"
8291 LIBEXT="dll"
8292 DLLEXT=""
8293 case $host_cpu in
8294 *i[3456]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--disable-stdcall-fixup" >&5
8295 $as_echo_n "checking whether the compiler supports -Wl,--disable-stdcall-fixup... " >&6; }
8296 if ${ac_cv_cflags__Wl___disable_stdcall_fixup+:} false; then :
8297 $as_echo_n "(cached) " >&6
8298 else
8299 ac_wine_try_cflags_saved=$CFLAGS
8300 CFLAGS="$CFLAGS -Wl,--disable-stdcall-fixup"
8301 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8302 /* end confdefs.h. */
8303 int main(int argc, char **argv) { return 0; }
8304 _ACEOF
8305 if ac_fn_c_try_link "$LINENO"; then :
8306 ac_cv_cflags__Wl___disable_stdcall_fixup=yes
8307 else
8308 ac_cv_cflags__Wl___disable_stdcall_fixup=no
8310 rm -f core conftest.err conftest.$ac_objext \
8311 conftest$ac_exeext conftest.$ac_ext
8312 CFLAGS=$ac_wine_try_cflags_saved
8314 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___disable_stdcall_fixup" >&5
8315 $as_echo "$ac_cv_cflags__Wl___disable_stdcall_fixup" >&6; }
8316 if test "x$ac_cv_cflags__Wl___disable_stdcall_fixup" = xyes; then :
8317 LDDLLFLAGS="-Wl,--disable-stdcall-fixup"
8318 fi ;;
8319 esac
8320 enable_iphlpapi=${enable_iphlpapi:-no}
8321 enable_ws2_32=${enable_ws2_32:-no}
8322 enable_loader=${enable_loader:-no}
8323 enable_server=${enable_server:-no}
8324 with_x=${with_x:-no}
8325 with_pthread=${with_pthread:-no}
8328 darwin*|macosx*)
8329 ac_ext=m
8330 ac_cpp='$OBJCPP $CPPFLAGS'
8331 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8332 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8333 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
8335 ac_ext=m
8336 ac_cpp='$OBJCPP $CPPFLAGS'
8337 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8338 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8339 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
8340 if test -n "$ac_tool_prefix"; then
8341 for ac_prog in gcc objcc objc cc CC
8343 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
8344 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
8345 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8346 $as_echo_n "checking for $ac_word... " >&6; }
8347 if ${ac_cv_prog_OBJC+:} false; then :
8348 $as_echo_n "(cached) " >&6
8349 else
8350 if test -n "$OBJC"; then
8351 ac_cv_prog_OBJC="$OBJC" # Let the user override the test.
8352 else
8353 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8354 for as_dir in $PATH
8356 IFS=$as_save_IFS
8357 test -z "$as_dir" && as_dir=.
8358 for ac_exec_ext in '' $ac_executable_extensions; do
8359 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8360 ac_cv_prog_OBJC="$ac_tool_prefix$ac_prog"
8361 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8362 break 2
8364 done
8365 done
8366 IFS=$as_save_IFS
8370 OBJC=$ac_cv_prog_OBJC
8371 if test -n "$OBJC"; then
8372 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJC" >&5
8373 $as_echo "$OBJC" >&6; }
8374 else
8375 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8376 $as_echo "no" >&6; }
8380 test -n "$OBJC" && break
8381 done
8383 if test -z "$OBJC"; then
8384 ac_ct_OBJC=$OBJC
8385 for ac_prog in gcc objcc objc cc CC
8387 # Extract the first word of "$ac_prog", so it can be a program name with args.
8388 set dummy $ac_prog; ac_word=$2
8389 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8390 $as_echo_n "checking for $ac_word... " >&6; }
8391 if ${ac_cv_prog_ac_ct_OBJC+:} false; then :
8392 $as_echo_n "(cached) " >&6
8393 else
8394 if test -n "$ac_ct_OBJC"; then
8395 ac_cv_prog_ac_ct_OBJC="$ac_ct_OBJC" # Let the user override the test.
8396 else
8397 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8398 for as_dir in $PATH
8400 IFS=$as_save_IFS
8401 test -z "$as_dir" && as_dir=.
8402 for ac_exec_ext in '' $ac_executable_extensions; do
8403 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8404 ac_cv_prog_ac_ct_OBJC="$ac_prog"
8405 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8406 break 2
8408 done
8409 done
8410 IFS=$as_save_IFS
8414 ac_ct_OBJC=$ac_cv_prog_ac_ct_OBJC
8415 if test -n "$ac_ct_OBJC"; then
8416 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJC" >&5
8417 $as_echo "$ac_ct_OBJC" >&6; }
8418 else
8419 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8420 $as_echo "no" >&6; }
8424 test -n "$ac_ct_OBJC" && break
8425 done
8427 if test "x$ac_ct_OBJC" = x; then
8428 OBJC="gcc"
8429 else
8430 case $cross_compiling:$ac_tool_warned in
8431 yes:)
8432 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8433 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8434 ac_tool_warned=yes ;;
8435 esac
8436 OBJC=$ac_ct_OBJC
8440 # Provide some information about the compiler.
8441 $as_echo "$as_me:${as_lineno-$LINENO}: checking for Objective C compiler version" >&5
8442 set X $ac_compile
8443 ac_compiler=$2
8444 for ac_option in --version -v -V -qversion; do
8445 { { ac_try="$ac_compiler $ac_option >&5"
8446 case "(($ac_try" in
8447 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8448 *) ac_try_echo=$ac_try;;
8449 esac
8450 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
8451 $as_echo "$ac_try_echo"; } >&5
8452 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
8453 ac_status=$?
8454 if test -s conftest.err; then
8455 sed '10a\
8456 ... rest of stderr output deleted ...
8457 10q' conftest.err >conftest.er1
8458 cat conftest.er1 >&5
8460 rm -f conftest.er1 conftest.err
8461 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8462 test $ac_status = 0; }
8463 done
8465 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU Objective C compiler" >&5
8466 $as_echo_n "checking whether we are using the GNU Objective C compiler... " >&6; }
8467 if ${ac_cv_objc_compiler_gnu+:} false; then :
8468 $as_echo_n "(cached) " >&6
8469 else
8470 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8471 /* end confdefs.h. */
8474 main ()
8476 #ifndef __GNUC__
8477 choke me
8478 #endif
8481 return 0;
8483 _ACEOF
8484 if ac_fn_objc_try_compile "$LINENO"; then :
8485 ac_compiler_gnu=yes
8486 else
8487 ac_compiler_gnu=no
8489 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8490 ac_cv_objc_compiler_gnu=$ac_compiler_gnu
8493 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objc_compiler_gnu" >&5
8494 $as_echo "$ac_cv_objc_compiler_gnu" >&6; }
8495 if test $ac_compiler_gnu = yes; then
8496 GOBJC=yes
8497 else
8498 GOBJC=
8500 ac_test_OBJCFLAGS=${OBJCFLAGS+set}
8501 ac_save_OBJCFLAGS=$OBJCFLAGS
8502 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $OBJC accepts -g" >&5
8503 $as_echo_n "checking whether $OBJC accepts -g... " >&6; }
8504 if ${ac_cv_prog_objc_g+:} false; then :
8505 $as_echo_n "(cached) " >&6
8506 else
8507 ac_save_objc_werror_flag=$ac_objc_werror_flag
8508 ac_objc_werror_flag=yes
8509 ac_cv_prog_objc_g=no
8510 OBJCFLAGS="-g"
8511 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8512 /* end confdefs.h. */
8515 main ()
8519 return 0;
8521 _ACEOF
8522 if ac_fn_objc_try_compile "$LINENO"; then :
8523 ac_cv_prog_objc_g=yes
8524 else
8525 OBJCFLAGS=""
8526 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8527 /* end confdefs.h. */
8530 main ()
8534 return 0;
8536 _ACEOF
8537 if ac_fn_objc_try_compile "$LINENO"; then :
8539 else
8540 ac_objc_werror_flag=$ac_save_objc_werror_flag
8541 OBJCFLAGS="-g"
8542 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8543 /* end confdefs.h. */
8546 main ()
8550 return 0;
8552 _ACEOF
8553 if ac_fn_objc_try_compile "$LINENO"; then :
8554 ac_cv_prog_objc_g=yes
8556 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8558 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8560 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8561 ac_objc_werror_flag=$ac_save_objc_werror_flag
8563 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_objc_g" >&5
8564 $as_echo "$ac_cv_prog_objc_g" >&6; }
8565 if test "$ac_test_OBJCFLAGS" = set; then
8566 OBJCFLAGS=$ac_save_OBJCFLAGS
8567 elif test $ac_cv_prog_objc_g = yes; then
8568 if test "$GOBJC" = yes; then
8569 OBJCFLAGS="-g -O2"
8570 else
8571 OBJCFLAGS="-g"
8573 else
8574 if test "$GOBJC" = yes; then
8575 OBJCFLAGS="-O2"
8576 else
8577 OBJCFLAGS=
8580 ac_ext=m
8581 ac_cpp='$OBJCPP $CPPFLAGS'
8582 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8583 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8584 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
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
8592 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the Objective C preprocessor" >&5
8593 $as_echo_n "checking how to run the Objective C preprocessor... " >&6; }
8594 if test -z "$OBJCPP"; then
8595 if ${ac_cv_prog_OBJCPP+:} false; then :
8596 $as_echo_n "(cached) " >&6
8597 else
8598 # Double quotes because OBJCPP needs to be expanded
8599 for OBJCPP in "$OBJC -E" "/lib/cpp"
8601 ac_preproc_ok=false
8602 for ac_objc_preproc_warn_flag in '' yes
8604 # Use a header file that comes with gcc, so configuring glibc
8605 # with a fresh cross-compiler works.
8606 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8607 # <limits.h> exists even on freestanding compilers.
8608 # On the NeXT, cc -E runs the code through the compiler's parser,
8609 # not just through cpp. "Syntax error" is here to catch this case.
8610 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8611 /* end confdefs.h. */
8612 #ifdef __STDC__
8613 # include <limits.h>
8614 #else
8615 # include <assert.h>
8616 #endif
8617 Syntax error
8618 _ACEOF
8619 if ac_fn_objc_try_cpp "$LINENO"; then :
8621 else
8622 # Broken: fails on valid input.
8623 continue
8625 rm -f conftest.err conftest.i conftest.$ac_ext
8627 # OK, works on sane cases. Now check whether nonexistent headers
8628 # can be detected and how.
8629 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8630 /* end confdefs.h. */
8631 #include <ac_nonexistent.h>
8632 _ACEOF
8633 if ac_fn_objc_try_cpp "$LINENO"; then :
8634 # Broken: success on invalid input.
8635 continue
8636 else
8637 # Passes both tests.
8638 ac_preproc_ok=:
8639 break
8641 rm -f conftest.err conftest.i conftest.$ac_ext
8643 done
8644 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
8645 rm -f conftest.i conftest.err conftest.$ac_ext
8646 if $ac_preproc_ok; then :
8647 break
8650 done
8651 ac_cv_prog_OBJCPP=$OBJCPP
8654 OBJCPP=$ac_cv_prog_OBJCPP
8655 else
8656 ac_cv_prog_OBJCPP=$OBJCPP
8658 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJCPP" >&5
8659 $as_echo "$OBJCPP" >&6; }
8660 ac_preproc_ok=false
8661 for ac_objc_preproc_warn_flag in '' yes
8663 # Use a header file that comes with gcc, so configuring glibc
8664 # with a fresh cross-compiler works.
8665 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8666 # <limits.h> exists even on freestanding compilers.
8667 # On the NeXT, cc -E runs the code through the compiler's parser,
8668 # not just through cpp. "Syntax error" is here to catch this case.
8669 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8670 /* end confdefs.h. */
8671 #ifdef __STDC__
8672 # include <limits.h>
8673 #else
8674 # include <assert.h>
8675 #endif
8676 Syntax error
8677 _ACEOF
8678 if ac_fn_objc_try_cpp "$LINENO"; then :
8680 else
8681 # Broken: fails on valid input.
8682 continue
8684 rm -f conftest.err conftest.i conftest.$ac_ext
8686 # OK, works on sane cases. Now check whether nonexistent headers
8687 # can be detected and how.
8688 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8689 /* end confdefs.h. */
8690 #include <ac_nonexistent.h>
8691 _ACEOF
8692 if ac_fn_objc_try_cpp "$LINENO"; then :
8693 # Broken: success on invalid input.
8694 continue
8695 else
8696 # Passes both tests.
8697 ac_preproc_ok=:
8698 break
8700 rm -f conftest.err conftest.i conftest.$ac_ext
8702 done
8703 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
8704 rm -f conftest.i conftest.err conftest.$ac_ext
8705 if $ac_preproc_ok; then :
8707 else
8708 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
8709 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
8710 as_fn_error $? "Objective C preprocessor \"$OBJCPP\" fails sanity check
8711 See \`config.log' for more details" "$LINENO" 5; }
8714 ac_ext=m
8715 ac_cpp='$OBJCPP $CPPFLAGS'
8716 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8717 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8718 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
8721 for ac_header in Metal/Metal.h
8722 do :
8723 ac_fn_objc_check_header_mongrel "$LINENO" "Metal/Metal.h" "ac_cv_header_Metal_Metal_h" "$ac_includes_default"
8724 if test "x$ac_cv_header_Metal_Metal_h" = xyes; then :
8725 cat >>confdefs.h <<_ACEOF
8726 #define HAVE_METAL_METAL_H 1
8727 _ACEOF
8731 done
8733 ac_ext=c
8734 ac_cpp='$CPP $CPPFLAGS'
8735 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8736 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8737 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8739 LIBEXT="dylib"
8740 DLLFLAGS="$DLLFLAGS -fPIC"
8741 LDDLLFLAGS="-fPIC"
8742 COREFOUNDATION_LIBS="-framework CoreFoundation"
8744 IOKIT_LIBS="-framework IOKit -framework CoreFoundation"
8746 FORCEFEEDBACK_LIBS="-framework ForceFeedback -framework CoreFoundation"
8748 APPLICATIONSERVICES_LIBS="-framework ApplicationServices"
8750 CORESERVICES_LIBS="-framework CoreServices"
8752 APPKIT_LIBS="-framework AppKit"
8754 SYSTEMCONFIGURATION_LIBS="-framework SystemConfiguration"
8757 WINELOADER_LDFLAGS="-Wl,-pie,-pagezero_size,0x1000,-sectcreate,__TEXT,__info_plist,loader/wine_info.plist"
8759 wine_can_build_preloader=yes
8760 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"
8761 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-no_new_main -e _main" >&5
8762 $as_echo_n "checking whether the compiler supports -Wl,-no_new_main -e _main... " >&6; }
8763 if ${ac_cv_cflags__Wl__no_new_main__e__main+:} false; then :
8764 $as_echo_n "(cached) " >&6
8765 else
8766 ac_wine_try_cflags_saved=$CFLAGS
8767 CFLAGS="$CFLAGS -Wl,-no_new_main -e _main"
8768 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8769 /* end confdefs.h. */
8770 int main(int argc, char **argv) { return 0; }
8771 _ACEOF
8772 if ac_fn_c_try_link "$LINENO"; then :
8773 ac_cv_cflags__Wl__no_new_main__e__main=yes
8774 else
8775 ac_cv_cflags__Wl__no_new_main__e__main=no
8777 rm -f core conftest.err conftest.$ac_objext \
8778 conftest$ac_exeext conftest.$ac_ext
8779 CFLAGS=$ac_wine_try_cflags_saved
8781 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__no_new_main__e__main" >&5
8782 $as_echo "$ac_cv_cflags__Wl__no_new_main__e__main" >&6; }
8783 if test "x$ac_cv_cflags__Wl__no_new_main__e__main" = xyes; then :
8784 WINEPRELOADER_LDFLAGS="-Wl,-no_new_main $WINEPRELOADER_LDFLAGS"
8785 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-no_new_main -e _main -nostartfiles -nodefaultlibs" >&5
8786 $as_echo_n "checking whether the compiler supports -Wl,-no_new_main -e _main -nostartfiles -nodefaultlibs... " >&6; }
8787 if ${ac_cv_cflags__Wl__no_new_main__e__main__nostartfiles__nodefaultlibs+:} false; then :
8788 $as_echo_n "(cached) " >&6
8789 else
8790 ac_wine_try_cflags_saved=$CFLAGS
8791 CFLAGS="$CFLAGS -Wl,-no_new_main -e _main -nostartfiles -nodefaultlibs"
8792 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8793 /* end confdefs.h. */
8794 int main(int argc, char **argv) { return 0; }
8795 _ACEOF
8796 if ac_fn_c_try_link "$LINENO"; then :
8797 ac_cv_cflags__Wl__no_new_main__e__main__nostartfiles__nodefaultlibs=yes
8798 else
8799 ac_cv_cflags__Wl__no_new_main__e__main__nostartfiles__nodefaultlibs=no
8801 rm -f core conftest.err conftest.$ac_objext \
8802 conftest$ac_exeext conftest.$ac_ext
8803 CFLAGS=$ac_wine_try_cflags_saved
8805 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__no_new_main__e__main__nostartfiles__nodefaultlibs" >&5
8806 $as_echo "$ac_cv_cflags__Wl__no_new_main__e__main__nostartfiles__nodefaultlibs" >&6; }
8807 if test "x$ac_cv_cflags__Wl__no_new_main__e__main__nostartfiles__nodefaultlibs" = xyes; then :
8808 EXTRACFLAGS="$EXTRACFLAGS -Wl,-no_new_main -e _main -nostartfiles -nodefaultlibs"
8809 else
8810 { $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
8811 $as_echo_n "checking whether the compiler supports -Wl,-no_new_main -e _main -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs... " >&6; }
8812 if ${ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs+:} false; then :
8813 $as_echo_n "(cached) " >&6
8814 else
8815 ac_wine_try_cflags_saved=$CFLAGS
8816 CFLAGS="$CFLAGS -Wl,-no_new_main -e _main -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs"
8817 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8818 /* end confdefs.h. */
8819 int main(int argc, char **argv) { return 0; }
8820 _ACEOF
8821 if ac_fn_c_try_link "$LINENO"; then :
8822 ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs=yes
8823 else
8824 ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs=no
8826 rm -f core conftest.err conftest.$ac_objext \
8827 conftest$ac_exeext conftest.$ac_ext
8828 CFLAGS=$ac_wine_try_cflags_saved
8830 { $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
8831 $as_echo "$ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" >&6; }
8832 if test "x$ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" = xyes; then :
8833 WINEPRELOADER_LDFLAGS="-mmacosx-version-min=10.7 $WINEPRELOADER_LDFLAGS"
8834 else
8835 wine_can_build_preloader=no
8838 else
8839 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -nostartfiles -nodefaultlibs" >&5
8840 $as_echo_n "checking whether the compiler supports -nostartfiles -nodefaultlibs... " >&6; }
8841 if ${ac_cv_cflags__nostartfiles__nodefaultlibs+:} false; then :
8842 $as_echo_n "(cached) " >&6
8843 else
8844 ac_wine_try_cflags_saved=$CFLAGS
8845 CFLAGS="$CFLAGS -nostartfiles -nodefaultlibs"
8846 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8847 /* end confdefs.h. */
8848 int main(int argc, char **argv) { return 0; }
8849 _ACEOF
8850 if ac_fn_c_try_link "$LINENO"; then :
8851 ac_cv_cflags__nostartfiles__nodefaultlibs=yes
8852 else
8853 ac_cv_cflags__nostartfiles__nodefaultlibs=no
8855 rm -f core conftest.err conftest.$ac_objext \
8856 conftest$ac_exeext conftest.$ac_ext
8857 CFLAGS=$ac_wine_try_cflags_saved
8859 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__nostartfiles__nodefaultlibs" >&5
8860 $as_echo "$ac_cv_cflags__nostartfiles__nodefaultlibs" >&6; }
8861 if test "x$ac_cv_cflags__nostartfiles__nodefaultlibs" = xyes; then :
8862 EXTRACFLAGS="$EXTRACFLAGS -nostartfiles -nodefaultlibs"
8863 else
8864 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs" >&5
8865 $as_echo_n "checking whether the compiler supports -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs... " >&6; }
8866 if ${ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs+:} false; then :
8867 $as_echo_n "(cached) " >&6
8868 else
8869 ac_wine_try_cflags_saved=$CFLAGS
8870 CFLAGS="$CFLAGS -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs"
8871 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8872 /* end confdefs.h. */
8873 int main(int argc, char **argv) { return 0; }
8874 _ACEOF
8875 if ac_fn_c_try_link "$LINENO"; then :
8876 ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs=yes
8877 else
8878 ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs=no
8880 rm -f core conftest.err conftest.$ac_objext \
8881 conftest$ac_exeext conftest.$ac_ext
8882 CFLAGS=$ac_wine_try_cflags_saved
8884 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" >&5
8885 $as_echo "$ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" >&6; }
8886 if test "x$ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" = xyes; then :
8887 WINEPRELOADER_LDFLAGS="-mmacosx-version-min=10.7 $WINEPRELOADER_LDFLAGS"
8888 else
8889 wine_can_build_preloader=no
8893 if test "$wine_can_build_preloader" = "yes"
8894 then
8895 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-no_pie" >&5
8896 $as_echo_n "checking whether the compiler supports -Wl,-no_pie... " >&6; }
8897 if ${ac_cv_cflags__Wl__no_pie+:} false; then :
8898 $as_echo_n "(cached) " >&6
8899 else
8900 ac_wine_try_cflags_saved=$CFLAGS
8901 CFLAGS="$CFLAGS -Wl,-no_pie"
8902 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8903 /* end confdefs.h. */
8904 int main(int argc, char **argv) { return 0; }
8905 _ACEOF
8906 if ac_fn_c_try_link "$LINENO"; then :
8907 ac_cv_cflags__Wl__no_pie=yes
8908 else
8909 ac_cv_cflags__Wl__no_pie=no
8911 rm -f core conftest.err conftest.$ac_objext \
8912 conftest$ac_exeext conftest.$ac_ext
8913 CFLAGS=$ac_wine_try_cflags_saved
8915 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__no_pie" >&5
8916 $as_echo "$ac_cv_cflags__Wl__no_pie" >&6; }
8917 if test "x$ac_cv_cflags__Wl__no_pie" = xyes; then :
8918 WINEPRELOADER_LDFLAGS="-Wl,-no_pie $WINEPRELOADER_LDFLAGS"
8920 test "$wine_binary" = wine || wine_fn_append_file CONFIGURE_TARGETS "loader/wine-preloader"
8921 WINELOADER_PROGRAMS="$WINELOADER_PROGRAMS $wine_binary-preloader"
8922 else
8923 as_fn_append wine_warnings "|can't build Wine preloader; many programs won't work"
8926 if test "$ac_cv_header_DiskArbitration_DiskArbitration_h" = "yes"
8927 then
8928 DISKARBITRATION_LIBS="-framework DiskArbitration -framework CoreFoundation"
8931 if test "$ac_cv_header_Security_Security_h" = "yes"
8932 then
8933 SECURITY_LIBS="-framework Security -framework CoreFoundation"
8935 ac_save_LIBS="$LIBS"
8936 LIBS="$LIBS $SECURITY_LIBS"
8937 for ac_func in SSLCopyPeerCertificates
8938 do :
8939 ac_fn_c_check_func "$LINENO" "SSLCopyPeerCertificates" "ac_cv_func_SSLCopyPeerCertificates"
8940 if test "x$ac_cv_func_SSLCopyPeerCertificates" = xyes; then :
8941 cat >>confdefs.h <<_ACEOF
8942 #define HAVE_SSLCOPYPEERCERTIFICATES 1
8943 _ACEOF
8946 done
8948 LIBS="$ac_save_LIBS"
8950 if test "$ac_cv_header_CoreAudio_CoreAudio_h" = "yes" -a "$ac_cv_header_AudioUnit_AudioUnit_h" = "yes"
8951 then
8952 if test "$ac_cv_header_AudioUnit_AudioComponent_h" = "yes"
8953 then
8954 COREAUDIO_LIBS="-framework CoreFoundation -framework CoreAudio -framework AudioUnit -framework AudioToolbox -framework CoreMIDI"
8956 else
8957 COREAUDIO_LIBS="-framework CoreAudio -framework AudioUnit -framework CoreServices -framework AudioToolbox -framework CoreMIDI"
8960 enable_winecoreaudio_drv=${enable_winecoreaudio_drv:-yes}
8961 ac_save_LIBS="$LIBS"
8962 LIBS="$LIBS $COREAUDIO_LIBS"
8963 for ac_func in AUGraphAddNode
8964 do :
8965 ac_fn_c_check_func "$LINENO" "AUGraphAddNode" "ac_cv_func_AUGraphAddNode"
8966 if test "x$ac_cv_func_AUGraphAddNode" = xyes; then :
8967 cat >>confdefs.h <<_ACEOF
8968 #define HAVE_AUGRAPHADDNODE 1
8969 _ACEOF
8972 done
8974 LIBS="$ac_save_LIBS"
8976 if test "$ac_cv_header_OpenAL_al_h" = "yes"
8977 then
8978 OPENAL_LIBS="-framework OpenAL"
8981 cat >>confdefs.h <<_ACEOF
8982 #define HAVE_OPENAL 1
8983 _ACEOF
8985 ac_cv_lib_openal=yes
8987 if test "$ac_cv_header_OpenCL_opencl_h" = "yes"
8988 then
8989 OPENCL_LIBS="-framework OpenCL"
8991 ac_cv_lib_OpenCL_clGetPlatformInfo=yes
8993 if test "$ac_cv_header_IOKit_hid_IOHIDLib_h" = "yes"
8994 then
8995 ac_save_LIBS="$LIBS"
8996 LIBS="$LIBS $IOKIT_LIBS"
8997 for ac_func in IOHIDManagerCreate
8998 do :
8999 ac_fn_c_check_func "$LINENO" "IOHIDManagerCreate" "ac_cv_func_IOHIDManagerCreate"
9000 if test "x$ac_cv_func_IOHIDManagerCreate" = xyes; then :
9001 cat >>confdefs.h <<_ACEOF
9002 #define HAVE_IOHIDMANAGERCREATE 1
9003 _ACEOF
9006 done
9008 LIBS="$ac_save_LIBS"
9011 if test "x$with_quicktime" != "xno"
9012 then
9013 if test "$ac_cv_header_QuickTime_ImageCompression_h" = "yes"
9014 then
9015 ac_save_LIBS="$LIBS"
9016 LIBS="-framework QuickTime -framework ApplicationServices -framework CoreVideo $LIBS"
9017 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the QuickTime framework" >&5
9018 $as_echo_n "checking for the QuickTime framework... " >&6; }
9019 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9020 /* end confdefs.h. */
9021 #include <QuickTime/ImageCompression.h>
9023 main ()
9025 CodecManagerVersion(NULL);
9027 return 0;
9029 _ACEOF
9030 if ac_fn_c_try_link "$LINENO"; then :
9031 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
9032 $as_echo "yes" >&6; }
9033 QUICKTIME_LIBS="-framework QuickTime -framework ApplicationServices -framework CoreVideo"
9035 enable_wineqtdecoder=${enable_wineqtdecoder:-yes}
9036 else
9037 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9038 $as_echo "no" >&6; }
9039 ac_cv_header_QuickTime_ImageCompression_h=no
9041 rm -f core conftest.err conftest.$ac_objext \
9042 conftest$ac_exeext conftest.$ac_ext
9043 LIBS="$ac_save_LIBS"
9046 if test "$ac_cv_header_QuickTime_ImageCompression_h" != "yes"; then :
9047 case "x$with_quicktime" in
9048 x) as_fn_append wine_notices "|QuickTime ${notice_platform}development files not found, video decoding won't be supported." ;;
9049 xno) ;;
9050 *) as_fn_error $? "QuickTime ${notice_platform}development files not found, video decoding won't be supported.
9051 This is an error since --with-quicktime was requested." "$LINENO" 5 ;;
9052 esac
9056 if test "$ac_cv_header_Carbon_Carbon_h" = "yes"
9057 then
9058 CARBON_LIBS="-framework Carbon"
9061 if test "$ac_cv_header_Metal_Metal_h" = "yes"
9062 then
9063 METAL_LIBS="-framework Metal -framework QuartzCore"
9067 if test "$ac_cv_header_Metal_Metal_h" = "yes"
9068 then
9069 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether MTLDevice protocol supports registryID property" >&5
9070 $as_echo_n "checking whether MTLDevice protocol supports registryID property... " >&6; }
9071 ac_ext=m
9072 ac_cpp='$OBJCPP $CPPFLAGS'
9073 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9074 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9075 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
9077 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9078 /* end confdefs.h. */
9079 #include <Metal/Metal.h>
9081 main ()
9083 id<MTLDevice> device; device.registryID;
9085 return 0;
9087 _ACEOF
9088 if ac_fn_objc_try_compile "$LINENO"; then :
9089 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
9090 $as_echo "yes" >&6; }
9092 $as_echo "#define HAVE_MTLDEVICE_REGISTRYID 1" >>confdefs.h
9094 else
9095 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9096 $as_echo "no" >&6; }
9098 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9099 ac_ext=c
9100 ac_cpp='$CPP $CPPFLAGS'
9101 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9102 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9103 ac_compiler_gnu=$ac_cv_c_compiler_gnu
9107 if test "$ac_cv_header_ApplicationServices_ApplicationServices_h" = "yes"
9108 then
9109 ac_save_LIBS="$LIBS"
9110 LIBS="$LIBS $APPLICATIONSERVICES_LIBS"
9111 ac_fn_c_check_func "$LINENO" "CGDisplayModeGetWidth" "ac_cv_func_CGDisplayModeGetWidth"
9112 if test "x$ac_cv_func_CGDisplayModeGetWidth" = xyes; then :
9113 enable_winemac_drv=${enable_winemac_drv:-yes}
9116 LIBS="$ac_save_LIBS"
9119 LIBWINE_SHAREDLIB="libwine.$libwine_version.dylib"
9121 LIBWINE_LDFLAGS="-dynamiclib -install_name @rpath/libwine.$libwine_soversion.dylib -Wl,-rpath,@loader_path/ -compatibility_version $libwine_soversion -current_version $libwine_version"
9123 WINELOADER_DEPENDS="wine_info.plist"
9125 TOP_INSTALL_LIB="$TOP_INSTALL_LIB libs/wine/libwine.$libwine_version.dylib libs/wine/libwine.$libwine_soversion.dylib"
9128 linux-android*)
9129 DLLFLAGS="$DLLFLAGS -fPIC"
9130 LDDLLFLAGS="-fPIC"
9131 LDEXECFLAGS="-Wl,-pie"
9132 enable_wineandroid_drv=${enable_wineandroid_drv:-yes}
9133 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
9134 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--export-dynamic... " >&6; }
9135 if ${ac_cv_cflags__fPIC__Wl___export_dynamic+:} false; then :
9136 $as_echo_n "(cached) " >&6
9137 else
9138 ac_wine_try_cflags_saved=$CFLAGS
9139 CFLAGS="$CFLAGS -fPIC -Wl,--export-dynamic"
9140 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9141 /* end confdefs.h. */
9142 int main(int argc, char **argv) { return 0; }
9143 _ACEOF
9144 if ac_fn_c_try_link "$LINENO"; then :
9145 ac_cv_cflags__fPIC__Wl___export_dynamic=yes
9146 else
9147 ac_cv_cflags__fPIC__Wl___export_dynamic=no
9149 rm -f core conftest.err conftest.$ac_objext \
9150 conftest$ac_exeext conftest.$ac_ext
9151 CFLAGS=$ac_wine_try_cflags_saved
9153 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
9154 $as_echo "$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
9155 if test "x$ac_cv_cflags__fPIC__Wl___export_dynamic" = xyes; then :
9156 WINELOADER_LDFLAGS="-Wl,--export-dynamic"
9158 WINEPRELOADER_LDFLAGS="-static -nostartfiles -nodefaultlibs -Wl,-Ttext=0x7d400000"
9160 LIBWINE_SHAREDLIB="libwine.so"
9162 LIBWINE_LDFLAGS="-shared -Wl,-soname,libwine.so"
9164 TOP_INSTALL_LIB="$TOP_INSTALL_LIB libs/wine/libwine.so"
9166 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lEGL" >&5
9167 $as_echo_n "checking for -lEGL... " >&6; }
9168 if ${ac_cv_lib_soname_EGL+:} false; then :
9169 $as_echo_n "(cached) " >&6
9170 else
9171 ac_check_soname_save_LIBS=$LIBS
9172 LIBS="-lEGL $LIBS"
9173 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9174 /* end confdefs.h. */
9176 /* Override any GCC internal prototype to avoid an error.
9177 Use char because int might match the return type of a GCC
9178 builtin and then its argument prototype would still apply. */
9179 #ifdef __cplusplus
9180 extern "C"
9181 #endif
9182 char eglGetProcAddress ();
9184 main ()
9186 return eglGetProcAddress ();
9188 return 0;
9190 _ACEOF
9191 if ac_fn_c_try_link "$LINENO"; then :
9192 case "$LIBEXT" in
9193 dll) ac_cv_lib_soname_EGL=`$ac_cv_path_LDD conftest.exe | grep "EGL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9194 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'` ;;
9195 *) ac_cv_lib_soname_EGL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libEGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libEGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9196 if ${ac_cv_lib_soname_EGL:+false} :; then :
9197 ac_cv_lib_soname_EGL=`$LDD conftest$ac_exeext | grep "libEGL\\.$LIBEXT" | sed -e "s/^.*\(libEGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9198 fi ;;
9199 esac
9200 else
9201 ac_cv_lib_soname_EGL=
9203 rm -f core conftest.err conftest.$ac_objext \
9204 conftest$ac_exeext conftest.$ac_ext
9205 LIBS=$ac_check_soname_save_LIBS
9207 if ${ac_cv_lib_soname_EGL:+false} :; then :
9208 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9209 $as_echo "not found" >&6; }
9211 else
9212 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_EGL" >&5
9213 $as_echo "$ac_cv_lib_soname_EGL" >&6; }
9215 cat >>confdefs.h <<_ACEOF
9216 #define SONAME_LIBEGL "$ac_cv_lib_soname_EGL"
9217 _ACEOF
9221 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGLESv2" >&5
9222 $as_echo_n "checking for -lGLESv2... " >&6; }
9223 if ${ac_cv_lib_soname_GLESv2+:} false; then :
9224 $as_echo_n "(cached) " >&6
9225 else
9226 ac_check_soname_save_LIBS=$LIBS
9227 LIBS="-lGLESv2 $LIBS"
9228 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9229 /* end confdefs.h. */
9231 /* Override any GCC internal prototype to avoid an error.
9232 Use char because int might match the return type of a GCC
9233 builtin and then its argument prototype would still apply. */
9234 #ifdef __cplusplus
9235 extern "C"
9236 #endif
9237 char glFlush ();
9239 main ()
9241 return glFlush ();
9243 return 0;
9245 _ACEOF
9246 if ac_fn_c_try_link "$LINENO"; then :
9247 case "$LIBEXT" in
9248 dll) ac_cv_lib_soname_GLESv2=`$ac_cv_path_LDD conftest.exe | grep "GLESv2" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9249 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'` ;;
9250 *) ac_cv_lib_soname_GLESv2=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGLESv2\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGLESv2\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9251 if ${ac_cv_lib_soname_GLESv2:+false} :; then :
9252 ac_cv_lib_soname_GLESv2=`$LDD conftest$ac_exeext | grep "libGLESv2\\.$LIBEXT" | sed -e "s/^.*\(libGLESv2\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9253 fi ;;
9254 esac
9255 else
9256 ac_cv_lib_soname_GLESv2=
9258 rm -f core conftest.err conftest.$ac_objext \
9259 conftest$ac_exeext conftest.$ac_ext
9260 LIBS=$ac_check_soname_save_LIBS
9262 if ${ac_cv_lib_soname_GLESv2:+false} :; then :
9263 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9264 $as_echo "not found" >&6; }
9266 else
9267 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GLESv2" >&5
9268 $as_echo "$ac_cv_lib_soname_GLESv2" >&6; }
9270 cat >>confdefs.h <<_ACEOF
9271 #define SONAME_LIBGLESV2 "$ac_cv_lib_soname_GLESv2"
9272 _ACEOF
9277 if test "x$exec_prefix" = xNONE
9278 then
9279 case $host_cpu in
9280 *i[3456]86*) exec_prefix='${prefix}/x86' ;;
9281 *x86_64*) exec_prefix='${prefix}/x86_64' ;;
9282 *arm*) exec_prefix='${prefix}/armeabi-v7a' ;;
9283 *aarch64*) exec_prefix='${prefix}/arm64-v8a' ;;
9284 esac
9289 case $host_cpu in
9290 *i[3456789]86*)
9291 DLLFLAGS="$DLLFLAGS -fno-PIC"
9292 LDDLLFLAGS="-fno-PIC"
9293 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-PIC -Wl,-z,notext" >&5
9294 $as_echo_n "checking whether the compiler supports -fno-PIC -Wl,-z,notext... " >&6; }
9295 if ${ac_cv_cflags__fno_PIC__Wl__z_notext+:} false; then :
9296 $as_echo_n "(cached) " >&6
9297 else
9298 ac_wine_try_cflags_saved=$CFLAGS
9299 CFLAGS="$CFLAGS -fno-PIC -Wl,-z,notext"
9300 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9301 /* end confdefs.h. */
9302 int main(int argc, char **argv) { return 0; }
9303 _ACEOF
9304 if ac_fn_c_try_link "$LINENO"; then :
9305 ac_cv_cflags__fno_PIC__Wl__z_notext=yes
9306 else
9307 ac_cv_cflags__fno_PIC__Wl__z_notext=no
9309 rm -f core conftest.err conftest.$ac_objext \
9310 conftest$ac_exeext conftest.$ac_ext
9311 CFLAGS=$ac_wine_try_cflags_saved
9313 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_PIC__Wl__z_notext" >&5
9314 $as_echo "$ac_cv_cflags__fno_PIC__Wl__z_notext" >&6; }
9315 if test "x$ac_cv_cflags__fno_PIC__Wl__z_notext" = xyes; then :
9316 LDDLLFLAGS="$LDDLLFLAGS -Wl,-z,notext"
9320 DLLFLAGS="$DLLFLAGS -fPIC"
9321 LDDLLFLAGS="-fPIC" ;;
9322 esac
9323 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build a GNU style ELF dll" >&5
9324 $as_echo_n "checking whether we can build a GNU style ELF dll... " >&6; }
9325 if ${ac_cv_c_dll_gnuelf+:} false; then :
9326 $as_echo_n "(cached) " >&6
9327 else
9328 ac_wine_try_cflags_saved=$CFLAGS
9329 CFLAGS="$CFLAGS -fPIC -shared -Wl,-Bsymbolic"
9330 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9331 /* end confdefs.h. */
9332 void myfunc() {}
9333 _ACEOF
9334 if ac_fn_c_try_link "$LINENO"; then :
9335 ac_cv_cflags__fPIC__shared__Wl__Bsymbolic=yes
9336 else
9337 ac_cv_cflags__fPIC__shared__Wl__Bsymbolic=no
9339 rm -f core conftest.err conftest.$ac_objext \
9340 conftest$ac_exeext conftest.$ac_ext
9341 CFLAGS=$ac_wine_try_cflags_saved
9342 if test "x$ac_cv_cflags__fPIC__shared__Wl__Bsymbolic" = xyes; then :
9343 ac_cv_c_dll_gnuelf="yes"
9344 else
9345 ac_cv_c_dll_gnuelf="no"
9348 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dll_gnuelf" >&5
9349 $as_echo "$ac_cv_c_dll_gnuelf" >&6; }
9350 if test "$ac_cv_c_dll_gnuelf" = "yes"
9351 then
9352 LIBWINE_LDFLAGS="-shared"
9353 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -shared -Wl,-soname,confest.so.1" >&5
9354 $as_echo_n "checking whether the compiler supports -shared -Wl,-soname,confest.so.1... " >&6; }
9355 if ${ac_cv_cflags__shared__Wl__soname_confest_so_1+:} false; then :
9356 $as_echo_n "(cached) " >&6
9357 else
9358 ac_wine_try_cflags_saved=$CFLAGS
9359 CFLAGS="$CFLAGS -shared -Wl,-soname,confest.so.1"
9360 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9361 /* end confdefs.h. */
9362 int main(int argc, char **argv) { return 0; }
9363 _ACEOF
9364 if ac_fn_c_try_link "$LINENO"; then :
9365 ac_cv_cflags__shared__Wl__soname_confest_so_1=yes
9366 else
9367 ac_cv_cflags__shared__Wl__soname_confest_so_1=no
9369 rm -f core conftest.err conftest.$ac_objext \
9370 conftest$ac_exeext conftest.$ac_ext
9371 CFLAGS=$ac_wine_try_cflags_saved
9373 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__shared__Wl__soname_confest_so_1" >&5
9374 $as_echo "$ac_cv_cflags__shared__Wl__soname_confest_so_1" >&6; }
9375 if test "x$ac_cv_cflags__shared__Wl__soname_confest_so_1" = xyes; then :
9376 LIBWINE_LDFLAGS="-shared -Wl,-soname,libwine.so.$libwine_soversion"
9377 else
9378 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -shared -Wl,-h,confest.so.1" >&5
9379 $as_echo_n "checking whether the compiler supports -shared -Wl,-h,confest.so.1... " >&6; }
9380 if ${ac_cv_cflags__shared__Wl__h_confest_so_1+:} false; then :
9381 $as_echo_n "(cached) " >&6
9382 else
9383 ac_wine_try_cflags_saved=$CFLAGS
9384 CFLAGS="$CFLAGS -shared -Wl,-h,confest.so.1"
9385 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9386 /* end confdefs.h. */
9387 int main(int argc, char **argv) { return 0; }
9388 _ACEOF
9389 if ac_fn_c_try_link "$LINENO"; then :
9390 ac_cv_cflags__shared__Wl__h_confest_so_1=yes
9391 else
9392 ac_cv_cflags__shared__Wl__h_confest_so_1=no
9394 rm -f core conftest.err conftest.$ac_objext \
9395 conftest$ac_exeext conftest.$ac_ext
9396 CFLAGS=$ac_wine_try_cflags_saved
9398 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__shared__Wl__h_confest_so_1" >&5
9399 $as_echo "$ac_cv_cflags__shared__Wl__h_confest_so_1" >&6; }
9400 if test "x$ac_cv_cflags__shared__Wl__h_confest_so_1" = xyes; then :
9401 LIBWINE_LDFLAGS="-shared -Wl,-h,libwine.so.$libwine_soversion"
9405 echo '{ global: *; };' >conftest.map
9406 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -shared -Wl,--version-script=conftest.map" >&5
9407 $as_echo_n "checking whether the compiler supports -shared -Wl,--version-script=conftest.map... " >&6; }
9408 if ${ac_cv_cflags__shared__Wl___version_script_conftest_map+:} false; then :
9409 $as_echo_n "(cached) " >&6
9410 else
9411 ac_wine_try_cflags_saved=$CFLAGS
9412 CFLAGS="$CFLAGS -shared -Wl,--version-script=conftest.map"
9413 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9414 /* end confdefs.h. */
9415 int main(int argc, char **argv) { return 0; }
9416 _ACEOF
9417 if ac_fn_c_try_link "$LINENO"; then :
9418 ac_cv_cflags__shared__Wl___version_script_conftest_map=yes
9419 else
9420 ac_cv_cflags__shared__Wl___version_script_conftest_map=no
9422 rm -f core conftest.err conftest.$ac_objext \
9423 conftest$ac_exeext conftest.$ac_ext
9424 CFLAGS=$ac_wine_try_cflags_saved
9426 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__shared__Wl___version_script_conftest_map" >&5
9427 $as_echo "$ac_cv_cflags__shared__Wl___version_script_conftest_map" >&6; }
9428 if test "x$ac_cv_cflags__shared__Wl___version_script_conftest_map" = xyes; then :
9429 LIBWINE_LDFLAGS="$LIBWINE_LDFLAGS -Wl,--version-script=\$(srcdir)/wine.map"
9431 rm -f conftest.map
9433 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--export-dynamic" >&5
9434 $as_echo_n "checking whether the compiler supports -Wl,--export-dynamic... " >&6; }
9435 if ${ac_cv_cflags__Wl___export_dynamic+:} false; then :
9436 $as_echo_n "(cached) " >&6
9437 else
9438 ac_wine_try_cflags_saved=$CFLAGS
9439 CFLAGS="$CFLAGS -Wl,--export-dynamic"
9440 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9441 /* end confdefs.h. */
9442 int main(int argc, char **argv) { return 0; }
9443 _ACEOF
9444 if ac_fn_c_try_link "$LINENO"; then :
9445 ac_cv_cflags__Wl___export_dynamic=yes
9446 else
9447 ac_cv_cflags__Wl___export_dynamic=no
9449 rm -f core conftest.err conftest.$ac_objext \
9450 conftest$ac_exeext conftest.$ac_ext
9451 CFLAGS=$ac_wine_try_cflags_saved
9453 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___export_dynamic" >&5
9454 $as_echo "$ac_cv_cflags__Wl___export_dynamic" >&6; }
9455 if test "x$ac_cv_cflags__Wl___export_dynamic" = xyes; then :
9456 WINELOADER_LDFLAGS="-Wl,--export-dynamic"
9458 WINEPRELOADER_LDFLAGS="-static -nostartfiles -nodefaultlibs -Wl,-Ttext=0x7d400000"
9460 case $host_cpu in
9461 *i[3456789]86* | x86_64 | *aarch64*)
9462 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-Ttext-segment=0x7bc00000" >&5
9463 $as_echo_n "checking whether the compiler supports -Wl,-Ttext-segment=0x7bc00000... " >&6; }
9464 if ${ac_cv_cflags__Wl__Ttext_segment_0x7bc00000+:} false; then :
9465 $as_echo_n "(cached) " >&6
9466 else
9467 ac_wine_try_cflags_saved=$CFLAGS
9468 CFLAGS="$CFLAGS -Wl,-Ttext-segment=0x7bc00000"
9469 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9470 /* end confdefs.h. */
9471 int main(int argc, char **argv) { return 0; }
9472 _ACEOF
9473 if ac_fn_c_try_link "$LINENO"; then :
9474 ac_cv_cflags__Wl__Ttext_segment_0x7bc00000=yes
9475 else
9476 ac_cv_cflags__Wl__Ttext_segment_0x7bc00000=no
9478 rm -f core conftest.err conftest.$ac_objext \
9479 conftest$ac_exeext conftest.$ac_ext
9480 CFLAGS=$ac_wine_try_cflags_saved
9482 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" >&5
9483 $as_echo "$ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" >&6; }
9484 if test "x$ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" = xyes; then :
9485 case $host_os in
9486 freebsd* | kfreebsd*-gnu) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,-Ttext-segment=0x60000000" ;;
9487 *) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,-Ttext-segment=0x7d000000" ;;
9488 esac
9489 else
9490 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--section-start,.interp=0x7d000400" >&5
9491 $as_echo_n "checking whether the compiler supports -Wl,--section-start,.interp=0x7d000400... " >&6; }
9492 if ${ac_cv_cflags__Wl___section_start__interp_0x7d000400+:} false; then :
9493 $as_echo_n "(cached) " >&6
9494 else
9495 ac_wine_try_cflags_saved=$CFLAGS
9496 CFLAGS="$CFLAGS -Wl,--section-start,.interp=0x7d000400"
9497 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9498 /* end confdefs.h. */
9499 int main(int argc, char **argv) { return 0; }
9500 _ACEOF
9501 if ac_fn_c_try_link "$LINENO"; then :
9502 ac_cv_cflags__Wl___section_start__interp_0x7d000400=yes
9503 else
9504 ac_cv_cflags__Wl___section_start__interp_0x7d000400=no
9506 rm -f core conftest.err conftest.$ac_objext \
9507 conftest$ac_exeext conftest.$ac_ext
9508 CFLAGS=$ac_wine_try_cflags_saved
9510 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___section_start__interp_0x7d000400" >&5
9511 $as_echo "$ac_cv_cflags__Wl___section_start__interp_0x7d000400" >&6; }
9512 if test "x$ac_cv_cflags__Wl___section_start__interp_0x7d000400" = xyes; then :
9513 case $host_os in
9514 freebsd* | kfreebsd*-gnu) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,--section-start,.interp=0x60000400" ;;
9515 *) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,--section-start,.interp=0x7d000400" ;;
9516 esac
9518 # Extract the first word of "prelink", so it can be a program name with args.
9519 set dummy prelink; ac_word=$2
9520 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9521 $as_echo_n "checking for $ac_word... " >&6; }
9522 if ${ac_cv_path_PRELINK+:} false; then :
9523 $as_echo_n "(cached) " >&6
9524 else
9525 case $PRELINK in
9526 [\\/]* | ?:[\\/]*)
9527 ac_cv_path_PRELINK="$PRELINK" # Let the user override the test with a path.
9530 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9531 for as_dir in /sbin /usr/sbin $PATH
9533 IFS=$as_save_IFS
9534 test -z "$as_dir" && as_dir=.
9535 for ac_exec_ext in '' $ac_executable_extensions; do
9536 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9537 ac_cv_path_PRELINK="$as_dir/$ac_word$ac_exec_ext"
9538 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9539 break 2
9541 done
9542 done
9543 IFS=$as_save_IFS
9545 test -z "$ac_cv_path_PRELINK" && ac_cv_path_PRELINK="false"
9547 esac
9549 PRELINK=$ac_cv_path_PRELINK
9550 if test -n "$PRELINK"; then
9551 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PRELINK" >&5
9552 $as_echo "$PRELINK" >&6; }
9553 else
9554 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9555 $as_echo "no" >&6; }
9559 if test "x$PRELINK" = xfalse
9560 then
9561 as_fn_append wine_warnings "|prelink not found and linker does not support relocation, base address of core dlls won't be set correctly."
9564 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-z,max-page-size=0x1000" >&5
9565 $as_echo_n "checking whether the compiler supports -Wl,-z,max-page-size=0x1000... " >&6; }
9566 if ${ac_cv_cflags__Wl__z_max_page_size_0x1000+:} false; then :
9567 $as_echo_n "(cached) " >&6
9568 else
9569 ac_wine_try_cflags_saved=$CFLAGS
9570 CFLAGS="$CFLAGS -Wl,-z,max-page-size=0x1000"
9571 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9572 /* end confdefs.h. */
9573 int main(int argc, char **argv) { return 0; }
9574 _ACEOF
9575 if ac_fn_c_try_link "$LINENO"; then :
9576 ac_cv_cflags__Wl__z_max_page_size_0x1000=yes
9577 else
9578 ac_cv_cflags__Wl__z_max_page_size_0x1000=no
9580 rm -f core conftest.err conftest.$ac_objext \
9581 conftest$ac_exeext conftest.$ac_ext
9582 CFLAGS=$ac_wine_try_cflags_saved
9584 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__z_max_page_size_0x1000" >&5
9585 $as_echo "$ac_cv_cflags__Wl__z_max_page_size_0x1000" >&6; }
9586 if test "x$ac_cv_cflags__Wl__z_max_page_size_0x1000" = xyes; then :
9587 WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,-z,max-page-size=0x1000"
9590 esac
9592 else
9593 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build a UnixWare (Solaris) dll" >&5
9594 $as_echo_n "checking whether we can build a UnixWare (Solaris) dll... " >&6; }
9595 if ${ac_cv_c_dll_unixware+:} false; then :
9596 $as_echo_n "(cached) " >&6
9597 else
9598 ac_wine_try_cflags_saved=$CFLAGS
9599 CFLAGS="$CFLAGS -fPIC -Wl,-G,-h,conftest.so.1.0,-B,symbolic"
9600 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9601 /* end confdefs.h. */
9602 void myfunc() {}
9603 _ACEOF
9604 if ac_fn_c_try_link "$LINENO"; then :
9605 ac_cv_cflags__fPIC__Wl__G__h_conftest_so_1_0__B_symbolic=yes
9606 else
9607 ac_cv_cflags__fPIC__Wl__G__h_conftest_so_1_0__B_symbolic=no
9609 rm -f core conftest.err conftest.$ac_objext \
9610 conftest$ac_exeext conftest.$ac_ext
9611 CFLAGS=$ac_wine_try_cflags_saved
9612 if test "x$ac_cv_cflags__fPIC__Wl__G__h_conftest_so_1_0__B_symbolic" = xyes; then :
9613 ac_cv_c_dll_unixware="yes"
9614 else
9615 ac_cv_c_dll_unixware="no"
9618 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dll_unixware" >&5
9619 $as_echo "$ac_cv_c_dll_unixware" >&6; }
9620 if test "$ac_cv_c_dll_unixware" = "yes"
9621 then
9622 LIBWINE_LDFLAGS="-Wl,-G,-h,libwine.so.$libwine_soversion"
9625 LIBWINE_SHAREDLIB="libwine.so.$libwine_version"
9627 LIBWINE_DEPENDS="wine.map"
9629 TOP_INSTALL_LIB="$TOP_INSTALL_LIB libs/wine/libwine.so.$libwine_version libs/wine/libwine.so.$libwine_soversion"
9631 esac
9633 enable_winecoreaudio_drv=${enable_winecoreaudio_drv:-no}
9634 enable_wineqtdecoder=${enable_wineqtdecoder:-no}
9635 enable_wineandroid_drv=${enable_wineandroid_drv:-no}
9636 enable_winemac_drv=${enable_winemac_drv:-no}
9637 test "$ac_cv_header_linux_joystick_h" = "yes" -o "$ac_cv_header_IOKit_hid_IOHIDLib_h" = "yes" || enable_winejoystick_drv=${enable_winejoystick_drv:-no}
9640 if test "x$with_mingw" != xno
9641 then
9642 case "x$with_mingw" in
9643 x|xyes) case "$host_cpu" in
9644 aarch64*)
9645 ac_prefix_list="aarch64-w64-mingw32-clang aarch64-w64-mingw32-gcc" ;;
9646 arm*)
9647 ac_prefix_list="armv7-w64-mingw32-clang armv7-w64-mingw32-gcc" ;;
9648 i[3456789]86*)
9649 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
9650 i686-w64-mingw32-clang i586-w64-mingw32-clang i486-w64-mingw32-clang i386-w64-mingw32-clang
9651 mingw32-gcc" ;;
9652 x86_64)
9653 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
9654 x86_64-w64-mingw32-clang amd64-w64-mingw32-clang " ;;
9656 ac_prefix_list="" ;;
9657 esac
9658 for ac_prog in $ac_prefix_list
9660 # Extract the first word of "$ac_prog", so it can be a program name with args.
9661 set dummy $ac_prog; ac_word=$2
9662 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9663 $as_echo_n "checking for $ac_word... " >&6; }
9664 if ${ac_cv_prog_CROSSCC+:} false; then :
9665 $as_echo_n "(cached) " >&6
9666 else
9667 if test -n "$CROSSCC"; then
9668 ac_cv_prog_CROSSCC="$CROSSCC" # Let the user override the test.
9669 else
9670 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9671 for as_dir in $PATH
9673 IFS=$as_save_IFS
9674 test -z "$as_dir" && as_dir=.
9675 for ac_exec_ext in '' $ac_executable_extensions; do
9676 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9677 ac_cv_prog_CROSSCC="$ac_prog"
9678 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9679 break 2
9681 done
9682 done
9683 IFS=$as_save_IFS
9687 CROSSCC=$ac_cv_prog_CROSSCC
9688 if test -n "$CROSSCC"; then
9689 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CROSSCC" >&5
9690 $as_echo "$CROSSCC" >&6; }
9691 else
9692 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9693 $as_echo "no" >&6; }
9697 test -n "$CROSSCC" && break
9698 done
9699 test -n "$CROSSCC" || CROSSCC="false"
9701 *) CROSSCC=$with_mingw ;;
9702 esac
9703 if test "$CROSSCC" != "false"
9704 then
9705 ac_save_CC="$CC"
9706 saved_CFLAGS=$CFLAGS
9707 CROSSCFLAGS=${CROSSCFLAGS:-"-g -O2"}
9709 EXTRACROSSCFLAGS="-DWINE_CROSS_PE -Wall"
9713 CC="$CROSSCC"
9714 CFLAGS=$CROSSCFLAGS
9715 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CROSSCC works" >&5
9716 $as_echo_n "checking whether $CROSSCC works... " >&6; }
9717 if ${wine_cv_crosscc+:} false; then :
9718 $as_echo_n "(cached) " >&6
9719 else
9720 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9721 /* end confdefs.h. */
9724 main ()
9728 return 0;
9730 _ACEOF
9731 if ac_fn_c_try_compile "$LINENO"; then :
9732 wine_cv_crosscc=yes
9733 else
9734 wine_cv_crosscc=no
9736 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9738 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_crosscc" >&5
9739 $as_echo "$wine_cv_crosscc" >&6; }
9740 if test $wine_cv_crosscc = yes
9741 then
9742 set x $CROSSCC
9743 shift
9744 while test $# -ge 1
9746 case "$1" in
9747 *-gcc) CROSSTARGET=`expr "$1" : '\(.*\)-gcc'` ;;
9748 *-clang) CROSSTARGET=`expr "$1" : '\(.*\)-clang'` ;;
9749 esac
9750 shift
9751 done
9753 llvm_target=$CROSSTARGET
9754 llvm_cflags="-fuse-ld=lld"
9755 if test -z "$llvm_target"
9756 then
9757 case $host_cpu in
9758 *i[3456789]86*) llvm_target=i686-windows ;;
9759 *) llvm_target=$host_cpu-windows ;;
9760 esac
9762 case $llvm_target in
9763 *windows) llvm_cflags="$llvm_cflags -Wl,-subsystem:console" ;;
9764 esac
9765 as_ac_var=`$as_echo "ac_cv_crosscflags_-target $llvm_target $llvm_cflags" | $as_tr_sh`
9766 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -target $llvm_target $llvm_cflags" >&5
9767 $as_echo_n "checking whether the cross-compiler supports -target $llvm_target $llvm_cflags... " >&6; }
9768 if eval \${$as_ac_var+:} false; then :
9769 $as_echo_n "(cached) " >&6
9770 else
9771 ac_wine_try_cflags_saved=$CFLAGS
9772 ac_wine_try_cflags_saved_cc=$CC
9773 ac_wine_try_cflags_saved_exeext=$ac_exeext
9774 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -target $llvm_target $llvm_cflags"
9775 CC="$CROSSCC"
9776 ac_exeext=".exe"
9777 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9778 /* end confdefs.h. */
9779 int __cdecl mainCRTStartup(void) { return 0; }
9780 _ACEOF
9781 if ac_fn_c_try_link "$LINENO"; then :
9782 eval "$as_ac_var=yes"
9783 else
9784 eval "$as_ac_var=no"
9786 rm -f core conftest.err conftest.$ac_objext \
9787 conftest$ac_exeext conftest.$ac_ext
9788 CFLAGS=$ac_wine_try_cflags_saved
9789 CC=$ac_wine_try_cflags_saved_cc
9790 ac_exeext=$ac_wine_try_cflags_saved_exeext
9792 eval ac_res=\$$as_ac_var
9793 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
9794 $as_echo "$ac_res" >&6; }
9795 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
9796 CROSSTARGET=$llvm_target
9797 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -target $CROSSTARGET"
9798 DELAYLOADFLAG="-Wl,-delayload,"
9800 CFLAGS="$CFLAGS $llvm_cflags"
9803 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -fno-strict-aliasing" >&5
9804 $as_echo_n "checking whether the cross-compiler supports -fno-strict-aliasing... " >&6; }
9805 if ${ac_cv_crosscflags__fno_strict_aliasing+:} false; then :
9806 $as_echo_n "(cached) " >&6
9807 else
9808 ac_wine_try_cflags_saved=$CFLAGS
9809 ac_wine_try_cflags_saved_cc=$CC
9810 ac_wine_try_cflags_saved_exeext=$ac_exeext
9811 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -fno-strict-aliasing"
9812 CC="$CROSSCC"
9813 ac_exeext=".exe"
9814 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9815 /* end confdefs.h. */
9816 int __cdecl mainCRTStartup(void) { return 0; }
9817 _ACEOF
9818 if ac_fn_c_try_link "$LINENO"; then :
9819 ac_cv_crosscflags__fno_strict_aliasing=yes
9820 else
9821 ac_cv_crosscflags__fno_strict_aliasing=no
9823 rm -f core conftest.err conftest.$ac_objext \
9824 conftest$ac_exeext conftest.$ac_ext
9825 CFLAGS=$ac_wine_try_cflags_saved
9826 CC=$ac_wine_try_cflags_saved_cc
9827 ac_exeext=$ac_wine_try_cflags_saved_exeext
9829 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__fno_strict_aliasing" >&5
9830 $as_echo "$ac_cv_crosscflags__fno_strict_aliasing" >&6; }
9831 if test "x$ac_cv_crosscflags__fno_strict_aliasing" = xyes; then :
9832 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -fno-strict-aliasing"
9834 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Werror=unknown-warning-option" >&5
9835 $as_echo_n "checking whether the cross-compiler supports -Werror=unknown-warning-option... " >&6; }
9836 if ${ac_cv_crosscflags__Werror_unknown_warning_option+:} false; then :
9837 $as_echo_n "(cached) " >&6
9838 else
9839 ac_wine_try_cflags_saved=$CFLAGS
9840 ac_wine_try_cflags_saved_cc=$CC
9841 ac_wine_try_cflags_saved_exeext=$ac_exeext
9842 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Werror=unknown-warning-option"
9843 CC="$CROSSCC"
9844 ac_exeext=".exe"
9845 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9846 /* end confdefs.h. */
9847 int __cdecl mainCRTStartup(void) { return 0; }
9848 _ACEOF
9849 if ac_fn_c_try_link "$LINENO"; then :
9850 ac_cv_crosscflags__Werror_unknown_warning_option=yes
9851 else
9852 ac_cv_crosscflags__Werror_unknown_warning_option=no
9854 rm -f core conftest.err conftest.$ac_objext \
9855 conftest$ac_exeext conftest.$ac_ext
9856 CFLAGS=$ac_wine_try_cflags_saved
9857 CC=$ac_wine_try_cflags_saved_cc
9858 ac_exeext=$ac_wine_try_cflags_saved_exeext
9860 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Werror_unknown_warning_option" >&5
9861 $as_echo "$ac_cv_crosscflags__Werror_unknown_warning_option" >&6; }
9862 if test "x$ac_cv_crosscflags__Werror_unknown_warning_option" = xyes; then :
9863 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
9865 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Werror=ignored-optimization-argument" >&5
9866 $as_echo_n "checking whether the cross-compiler supports -Werror=ignored-optimization-argument... " >&6; }
9867 if ${ac_cv_crosscflags__Werror_ignored_optimization_argument+:} false; then :
9868 $as_echo_n "(cached) " >&6
9869 else
9870 ac_wine_try_cflags_saved=$CFLAGS
9871 ac_wine_try_cflags_saved_cc=$CC
9872 ac_wine_try_cflags_saved_exeext=$ac_exeext
9873 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Werror=ignored-optimization-argument"
9874 CC="$CROSSCC"
9875 ac_exeext=".exe"
9876 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9877 /* end confdefs.h. */
9878 int __cdecl mainCRTStartup(void) { return 0; }
9879 _ACEOF
9880 if ac_fn_c_try_link "$LINENO"; then :
9881 ac_cv_crosscflags__Werror_ignored_optimization_argument=yes
9882 else
9883 ac_cv_crosscflags__Werror_ignored_optimization_argument=no
9885 rm -f core conftest.err conftest.$ac_objext \
9886 conftest$ac_exeext conftest.$ac_ext
9887 CFLAGS=$ac_wine_try_cflags_saved
9888 CC=$ac_wine_try_cflags_saved_cc
9889 ac_exeext=$ac_wine_try_cflags_saved_exeext
9891 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Werror_ignored_optimization_argument" >&5
9892 $as_echo "$ac_cv_crosscflags__Werror_ignored_optimization_argument" >&6; }
9893 if test "x$ac_cv_crosscflags__Werror_ignored_optimization_argument" = xyes; then :
9894 CFLAGS="$CFLAGS -Werror=ignored-optimization-argument"
9896 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wdeclaration-after-statement" >&5
9897 $as_echo_n "checking whether the cross-compiler supports -Wdeclaration-after-statement... " >&6; }
9898 if ${ac_cv_crosscflags__Wdeclaration_after_statement+:} false; then :
9899 $as_echo_n "(cached) " >&6
9900 else
9901 ac_wine_try_cflags_saved=$CFLAGS
9902 ac_wine_try_cflags_saved_cc=$CC
9903 ac_wine_try_cflags_saved_exeext=$ac_exeext
9904 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wdeclaration-after-statement"
9905 CC="$CROSSCC"
9906 ac_exeext=".exe"
9907 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9908 /* end confdefs.h. */
9909 int __cdecl mainCRTStartup(void) { return 0; }
9910 _ACEOF
9911 if ac_fn_c_try_link "$LINENO"; then :
9912 ac_cv_crosscflags__Wdeclaration_after_statement=yes
9913 else
9914 ac_cv_crosscflags__Wdeclaration_after_statement=no
9916 rm -f core conftest.err conftest.$ac_objext \
9917 conftest$ac_exeext conftest.$ac_ext
9918 CFLAGS=$ac_wine_try_cflags_saved
9919 CC=$ac_wine_try_cflags_saved_cc
9920 ac_exeext=$ac_wine_try_cflags_saved_exeext
9922 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wdeclaration_after_statement" >&5
9923 $as_echo "$ac_cv_crosscflags__Wdeclaration_after_statement" >&6; }
9924 if test "x$ac_cv_crosscflags__Wdeclaration_after_statement" = xyes; then :
9925 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wdeclaration-after-statement"
9927 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wempty-body" >&5
9928 $as_echo_n "checking whether the cross-compiler supports -Wempty-body... " >&6; }
9929 if ${ac_cv_crosscflags__Wempty_body+:} false; then :
9930 $as_echo_n "(cached) " >&6
9931 else
9932 ac_wine_try_cflags_saved=$CFLAGS
9933 ac_wine_try_cflags_saved_cc=$CC
9934 ac_wine_try_cflags_saved_exeext=$ac_exeext
9935 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wempty-body"
9936 CC="$CROSSCC"
9937 ac_exeext=".exe"
9938 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9939 /* end confdefs.h. */
9940 int __cdecl mainCRTStartup(void) { return 0; }
9941 _ACEOF
9942 if ac_fn_c_try_link "$LINENO"; then :
9943 ac_cv_crosscflags__Wempty_body=yes
9944 else
9945 ac_cv_crosscflags__Wempty_body=no
9947 rm -f core conftest.err conftest.$ac_objext \
9948 conftest$ac_exeext conftest.$ac_ext
9949 CFLAGS=$ac_wine_try_cflags_saved
9950 CC=$ac_wine_try_cflags_saved_cc
9951 ac_exeext=$ac_wine_try_cflags_saved_exeext
9953 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wempty_body" >&5
9954 $as_echo "$ac_cv_crosscflags__Wempty_body" >&6; }
9955 if test "x$ac_cv_crosscflags__Wempty_body" = xyes; then :
9956 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wempty-body"
9958 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wignored-qualifiers" >&5
9959 $as_echo_n "checking whether the cross-compiler supports -Wignored-qualifiers... " >&6; }
9960 if ${ac_cv_crosscflags__Wignored_qualifiers+:} false; then :
9961 $as_echo_n "(cached) " >&6
9962 else
9963 ac_wine_try_cflags_saved=$CFLAGS
9964 ac_wine_try_cflags_saved_cc=$CC
9965 ac_wine_try_cflags_saved_exeext=$ac_exeext
9966 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wignored-qualifiers"
9967 CC="$CROSSCC"
9968 ac_exeext=".exe"
9969 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9970 /* end confdefs.h. */
9971 int __cdecl mainCRTStartup(void) { return 0; }
9972 _ACEOF
9973 if ac_fn_c_try_link "$LINENO"; then :
9974 ac_cv_crosscflags__Wignored_qualifiers=yes
9975 else
9976 ac_cv_crosscflags__Wignored_qualifiers=no
9978 rm -f core conftest.err conftest.$ac_objext \
9979 conftest$ac_exeext conftest.$ac_ext
9980 CFLAGS=$ac_wine_try_cflags_saved
9981 CC=$ac_wine_try_cflags_saved_cc
9982 ac_exeext=$ac_wine_try_cflags_saved_exeext
9984 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wignored_qualifiers" >&5
9985 $as_echo "$ac_cv_crosscflags__Wignored_qualifiers" >&6; }
9986 if test "x$ac_cv_crosscflags__Wignored_qualifiers" = xyes; then :
9987 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wignored-qualifiers"
9989 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Winit-self" >&5
9990 $as_echo_n "checking whether the cross-compiler supports -Winit-self... " >&6; }
9991 if ${ac_cv_crosscflags__Winit_self+:} false; then :
9992 $as_echo_n "(cached) " >&6
9993 else
9994 ac_wine_try_cflags_saved=$CFLAGS
9995 ac_wine_try_cflags_saved_cc=$CC
9996 ac_wine_try_cflags_saved_exeext=$ac_exeext
9997 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Winit-self"
9998 CC="$CROSSCC"
9999 ac_exeext=".exe"
10000 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10001 /* end confdefs.h. */
10002 int __cdecl mainCRTStartup(void) { return 0; }
10003 _ACEOF
10004 if ac_fn_c_try_link "$LINENO"; then :
10005 ac_cv_crosscflags__Winit_self=yes
10006 else
10007 ac_cv_crosscflags__Winit_self=no
10009 rm -f core conftest.err conftest.$ac_objext \
10010 conftest$ac_exeext conftest.$ac_ext
10011 CFLAGS=$ac_wine_try_cflags_saved
10012 CC=$ac_wine_try_cflags_saved_cc
10013 ac_exeext=$ac_wine_try_cflags_saved_exeext
10015 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Winit_self" >&5
10016 $as_echo "$ac_cv_crosscflags__Winit_self" >&6; }
10017 if test "x$ac_cv_crosscflags__Winit_self" = xyes; then :
10018 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Winit-self"
10020 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wpacked-not-aligned" >&5
10021 $as_echo_n "checking whether the cross-compiler supports -Wpacked-not-aligned... " >&6; }
10022 if ${ac_cv_crosscflags__Wpacked_not_aligned+:} false; then :
10023 $as_echo_n "(cached) " >&6
10024 else
10025 ac_wine_try_cflags_saved=$CFLAGS
10026 ac_wine_try_cflags_saved_cc=$CC
10027 ac_wine_try_cflags_saved_exeext=$ac_exeext
10028 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wpacked-not-aligned"
10029 CC="$CROSSCC"
10030 ac_exeext=".exe"
10031 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10032 /* end confdefs.h. */
10033 int __cdecl mainCRTStartup(void) { return 0; }
10034 _ACEOF
10035 if ac_fn_c_try_link "$LINENO"; then :
10036 ac_cv_crosscflags__Wpacked_not_aligned=yes
10037 else
10038 ac_cv_crosscflags__Wpacked_not_aligned=no
10040 rm -f core conftest.err conftest.$ac_objext \
10041 conftest$ac_exeext conftest.$ac_ext
10042 CFLAGS=$ac_wine_try_cflags_saved
10043 CC=$ac_wine_try_cflags_saved_cc
10044 ac_exeext=$ac_wine_try_cflags_saved_exeext
10046 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wpacked_not_aligned" >&5
10047 $as_echo "$ac_cv_crosscflags__Wpacked_not_aligned" >&6; }
10048 if test "x$ac_cv_crosscflags__Wpacked_not_aligned" = xyes; then :
10049 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wno-packed-not-aligned"
10051 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wpragma-pack" >&5
10052 $as_echo_n "checking whether the cross-compiler supports -Wpragma-pack... " >&6; }
10053 if ${ac_cv_crosscflags__Wpragma_pack+:} false; then :
10054 $as_echo_n "(cached) " >&6
10055 else
10056 ac_wine_try_cflags_saved=$CFLAGS
10057 ac_wine_try_cflags_saved_cc=$CC
10058 ac_wine_try_cflags_saved_exeext=$ac_exeext
10059 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wpragma-pack"
10060 CC="$CROSSCC"
10061 ac_exeext=".exe"
10062 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10063 /* end confdefs.h. */
10064 int __cdecl mainCRTStartup(void) { return 0; }
10065 _ACEOF
10066 if ac_fn_c_try_link "$LINENO"; then :
10067 ac_cv_crosscflags__Wpragma_pack=yes
10068 else
10069 ac_cv_crosscflags__Wpragma_pack=no
10071 rm -f core conftest.err conftest.$ac_objext \
10072 conftest$ac_exeext conftest.$ac_ext
10073 CFLAGS=$ac_wine_try_cflags_saved
10074 CC=$ac_wine_try_cflags_saved_cc
10075 ac_exeext=$ac_wine_try_cflags_saved_exeext
10077 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wpragma_pack" >&5
10078 $as_echo "$ac_cv_crosscflags__Wpragma_pack" >&6; }
10079 if test "x$ac_cv_crosscflags__Wpragma_pack" = xyes; then :
10080 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wno-pragma-pack"
10082 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wshift-overflow=2" >&5
10083 $as_echo_n "checking whether the cross-compiler supports -Wshift-overflow=2... " >&6; }
10084 if ${ac_cv_crosscflags__Wshift_overflow_2+:} false; then :
10085 $as_echo_n "(cached) " >&6
10086 else
10087 ac_wine_try_cflags_saved=$CFLAGS
10088 ac_wine_try_cflags_saved_cc=$CC
10089 ac_wine_try_cflags_saved_exeext=$ac_exeext
10090 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wshift-overflow=2"
10091 CC="$CROSSCC"
10092 ac_exeext=".exe"
10093 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10094 /* end confdefs.h. */
10095 int __cdecl mainCRTStartup(void) { return 0; }
10096 _ACEOF
10097 if ac_fn_c_try_link "$LINENO"; then :
10098 ac_cv_crosscflags__Wshift_overflow_2=yes
10099 else
10100 ac_cv_crosscflags__Wshift_overflow_2=no
10102 rm -f core conftest.err conftest.$ac_objext \
10103 conftest$ac_exeext conftest.$ac_ext
10104 CFLAGS=$ac_wine_try_cflags_saved
10105 CC=$ac_wine_try_cflags_saved_cc
10106 ac_exeext=$ac_wine_try_cflags_saved_exeext
10108 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wshift_overflow_2" >&5
10109 $as_echo "$ac_cv_crosscflags__Wshift_overflow_2" >&6; }
10110 if test "x$ac_cv_crosscflags__Wshift_overflow_2" = xyes; then :
10111 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wshift-overflow=2"
10113 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wstrict-prototypes" >&5
10114 $as_echo_n "checking whether the cross-compiler supports -Wstrict-prototypes... " >&6; }
10115 if ${ac_cv_crosscflags__Wstrict_prototypes+:} false; then :
10116 $as_echo_n "(cached) " >&6
10117 else
10118 ac_wine_try_cflags_saved=$CFLAGS
10119 ac_wine_try_cflags_saved_cc=$CC
10120 ac_wine_try_cflags_saved_exeext=$ac_exeext
10121 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wstrict-prototypes"
10122 CC="$CROSSCC"
10123 ac_exeext=".exe"
10124 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10125 /* end confdefs.h. */
10126 int __cdecl mainCRTStartup(void) { return 0; }
10127 _ACEOF
10128 if ac_fn_c_try_link "$LINENO"; then :
10129 ac_cv_crosscflags__Wstrict_prototypes=yes
10130 else
10131 ac_cv_crosscflags__Wstrict_prototypes=no
10133 rm -f core conftest.err conftest.$ac_objext \
10134 conftest$ac_exeext conftest.$ac_ext
10135 CFLAGS=$ac_wine_try_cflags_saved
10136 CC=$ac_wine_try_cflags_saved_cc
10137 ac_exeext=$ac_wine_try_cflags_saved_exeext
10139 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wstrict_prototypes" >&5
10140 $as_echo "$ac_cv_crosscflags__Wstrict_prototypes" >&6; }
10141 if test "x$ac_cv_crosscflags__Wstrict_prototypes" = xyes; then :
10142 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wstrict-prototypes"
10144 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wtype-limits" >&5
10145 $as_echo_n "checking whether the cross-compiler supports -Wtype-limits... " >&6; }
10146 if ${ac_cv_crosscflags__Wtype_limits+:} false; then :
10147 $as_echo_n "(cached) " >&6
10148 else
10149 ac_wine_try_cflags_saved=$CFLAGS
10150 ac_wine_try_cflags_saved_cc=$CC
10151 ac_wine_try_cflags_saved_exeext=$ac_exeext
10152 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wtype-limits"
10153 CC="$CROSSCC"
10154 ac_exeext=".exe"
10155 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10156 /* end confdefs.h. */
10157 int __cdecl mainCRTStartup(void) { return 0; }
10158 _ACEOF
10159 if ac_fn_c_try_link "$LINENO"; then :
10160 ac_cv_crosscflags__Wtype_limits=yes
10161 else
10162 ac_cv_crosscflags__Wtype_limits=no
10164 rm -f core conftest.err conftest.$ac_objext \
10165 conftest$ac_exeext conftest.$ac_ext
10166 CFLAGS=$ac_wine_try_cflags_saved
10167 CC=$ac_wine_try_cflags_saved_cc
10168 ac_exeext=$ac_wine_try_cflags_saved_exeext
10170 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wtype_limits" >&5
10171 $as_echo "$ac_cv_crosscflags__Wtype_limits" >&6; }
10172 if test "x$ac_cv_crosscflags__Wtype_limits" = xyes; then :
10173 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wtype-limits"
10175 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wunused-but-set-parameter" >&5
10176 $as_echo_n "checking whether the cross-compiler supports -Wunused-but-set-parameter... " >&6; }
10177 if ${ac_cv_crosscflags__Wunused_but_set_parameter+:} false; then :
10178 $as_echo_n "(cached) " >&6
10179 else
10180 ac_wine_try_cflags_saved=$CFLAGS
10181 ac_wine_try_cflags_saved_cc=$CC
10182 ac_wine_try_cflags_saved_exeext=$ac_exeext
10183 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wunused-but-set-parameter"
10184 CC="$CROSSCC"
10185 ac_exeext=".exe"
10186 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10187 /* end confdefs.h. */
10188 int __cdecl mainCRTStartup(void) { return 0; }
10189 _ACEOF
10190 if ac_fn_c_try_link "$LINENO"; then :
10191 ac_cv_crosscflags__Wunused_but_set_parameter=yes
10192 else
10193 ac_cv_crosscflags__Wunused_but_set_parameter=no
10195 rm -f core conftest.err conftest.$ac_objext \
10196 conftest$ac_exeext conftest.$ac_ext
10197 CFLAGS=$ac_wine_try_cflags_saved
10198 CC=$ac_wine_try_cflags_saved_cc
10199 ac_exeext=$ac_wine_try_cflags_saved_exeext
10201 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wunused_but_set_parameter" >&5
10202 $as_echo "$ac_cv_crosscflags__Wunused_but_set_parameter" >&6; }
10203 if test "x$ac_cv_crosscflags__Wunused_but_set_parameter" = xyes; then :
10204 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wunused-but-set-parameter"
10206 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wvla" >&5
10207 $as_echo_n "checking whether the cross-compiler supports -Wvla... " >&6; }
10208 if ${ac_cv_crosscflags__Wvla+:} false; then :
10209 $as_echo_n "(cached) " >&6
10210 else
10211 ac_wine_try_cflags_saved=$CFLAGS
10212 ac_wine_try_cflags_saved_cc=$CC
10213 ac_wine_try_cflags_saved_exeext=$ac_exeext
10214 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wvla"
10215 CC="$CROSSCC"
10216 ac_exeext=".exe"
10217 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10218 /* end confdefs.h. */
10219 int __cdecl mainCRTStartup(void) { return 0; }
10220 _ACEOF
10221 if ac_fn_c_try_link "$LINENO"; then :
10222 ac_cv_crosscflags__Wvla=yes
10223 else
10224 ac_cv_crosscflags__Wvla=no
10226 rm -f core conftest.err conftest.$ac_objext \
10227 conftest$ac_exeext conftest.$ac_ext
10228 CFLAGS=$ac_wine_try_cflags_saved
10229 CC=$ac_wine_try_cflags_saved_cc
10230 ac_exeext=$ac_wine_try_cflags_saved_exeext
10232 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wvla" >&5
10233 $as_echo "$ac_cv_crosscflags__Wvla" >&6; }
10234 if test "x$ac_cv_crosscflags__Wvla" = xyes; then :
10235 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wvla"
10237 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wwrite-strings" >&5
10238 $as_echo_n "checking whether the cross-compiler supports -Wwrite-strings... " >&6; }
10239 if ${ac_cv_crosscflags__Wwrite_strings+:} false; then :
10240 $as_echo_n "(cached) " >&6
10241 else
10242 ac_wine_try_cflags_saved=$CFLAGS
10243 ac_wine_try_cflags_saved_cc=$CC
10244 ac_wine_try_cflags_saved_exeext=$ac_exeext
10245 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wwrite-strings"
10246 CC="$CROSSCC"
10247 ac_exeext=".exe"
10248 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10249 /* end confdefs.h. */
10250 int __cdecl mainCRTStartup(void) { return 0; }
10251 _ACEOF
10252 if ac_fn_c_try_link "$LINENO"; then :
10253 ac_cv_crosscflags__Wwrite_strings=yes
10254 else
10255 ac_cv_crosscflags__Wwrite_strings=no
10257 rm -f core conftest.err conftest.$ac_objext \
10258 conftest$ac_exeext conftest.$ac_ext
10259 CFLAGS=$ac_wine_try_cflags_saved
10260 CC=$ac_wine_try_cflags_saved_cc
10261 ac_exeext=$ac_wine_try_cflags_saved_exeext
10263 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wwrite_strings" >&5
10264 $as_echo "$ac_cv_crosscflags__Wwrite_strings" >&6; }
10265 if test "x$ac_cv_crosscflags__Wwrite_strings" = xyes; then :
10266 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wwrite-strings"
10268 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wpointer-arith" >&5
10269 $as_echo_n "checking whether the cross-compiler supports -Wpointer-arith... " >&6; }
10270 if ${ac_cv_crosscflags__Wpointer_arith+:} false; then :
10271 $as_echo_n "(cached) " >&6
10272 else
10273 ac_wine_try_cflags_saved=$CFLAGS
10274 ac_wine_try_cflags_saved_cc=$CC
10275 ac_wine_try_cflags_saved_exeext=$ac_exeext
10276 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wpointer-arith"
10277 CC="$CROSSCC"
10278 ac_exeext=".exe"
10279 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10280 /* end confdefs.h. */
10281 int __cdecl mainCRTStartup(void) { return 0; }
10282 _ACEOF
10283 if ac_fn_c_try_link "$LINENO"; then :
10284 ac_cv_crosscflags__Wpointer_arith=yes
10285 else
10286 ac_cv_crosscflags__Wpointer_arith=no
10288 rm -f core conftest.err conftest.$ac_objext \
10289 conftest$ac_exeext conftest.$ac_ext
10290 CFLAGS=$ac_wine_try_cflags_saved
10291 CC=$ac_wine_try_cflags_saved_cc
10292 ac_exeext=$ac_wine_try_cflags_saved_exeext
10294 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wpointer_arith" >&5
10295 $as_echo "$ac_cv_crosscflags__Wpointer_arith" >&6; }
10296 if test "x$ac_cv_crosscflags__Wpointer_arith" = xyes; then :
10297 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wpointer-arith"
10299 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wlogical-op" >&5
10300 $as_echo_n "checking whether the cross-compiler supports -Wlogical-op... " >&6; }
10301 if ${ac_cv_crosscflags__Wlogical_op+:} false; then :
10302 $as_echo_n "(cached) " >&6
10303 else
10304 ac_wine_try_cflags_saved=$CFLAGS
10305 ac_wine_try_cflags_saved_cc=$CC
10306 ac_wine_try_cflags_saved_exeext=$ac_exeext
10307 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wlogical-op"
10308 CC="$CROSSCC"
10309 ac_exeext=".exe"
10310 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10311 /* end confdefs.h. */
10312 int __cdecl mainCRTStartup(void) { return 0; }
10313 _ACEOF
10314 if ac_fn_c_try_link "$LINENO"; then :
10315 ac_cv_crosscflags__Wlogical_op=yes
10316 else
10317 ac_cv_crosscflags__Wlogical_op=no
10319 rm -f core conftest.err conftest.$ac_objext \
10320 conftest$ac_exeext conftest.$ac_ext
10321 CFLAGS=$ac_wine_try_cflags_saved
10322 CC=$ac_wine_try_cflags_saved_cc
10323 ac_exeext=$ac_wine_try_cflags_saved_exeext
10325 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wlogical_op" >&5
10326 $as_echo "$ac_cv_crosscflags__Wlogical_op" >&6; }
10327 if test "x$ac_cv_crosscflags__Wlogical_op" = xyes; then :
10328 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wlogical-op"
10330 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wabsolute-value" >&5
10331 $as_echo_n "checking whether the cross-compiler supports -Wabsolute-value... " >&6; }
10332 if ${ac_cv_crosscflags__Wabsolute_value+:} false; then :
10333 $as_echo_n "(cached) " >&6
10334 else
10335 ac_wine_try_cflags_saved=$CFLAGS
10336 ac_wine_try_cflags_saved_cc=$CC
10337 ac_wine_try_cflags_saved_exeext=$ac_exeext
10338 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wabsolute-value"
10339 CC="$CROSSCC"
10340 ac_exeext=".exe"
10341 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10342 /* end confdefs.h. */
10343 int __cdecl mainCRTStartup(void) { return 0; }
10344 _ACEOF
10345 if ac_fn_c_try_link "$LINENO"; then :
10346 ac_cv_crosscflags__Wabsolute_value=yes
10347 else
10348 ac_cv_crosscflags__Wabsolute_value=no
10350 rm -f core conftest.err conftest.$ac_objext \
10351 conftest$ac_exeext conftest.$ac_ext
10352 CFLAGS=$ac_wine_try_cflags_saved
10353 CC=$ac_wine_try_cflags_saved_cc
10354 ac_exeext=$ac_wine_try_cflags_saved_exeext
10356 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wabsolute_value" >&5
10357 $as_echo "$ac_cv_crosscflags__Wabsolute_value" >&6; }
10358 if test "x$ac_cv_crosscflags__Wabsolute_value" = xyes; then :
10359 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wabsolute-value"
10362 case $host_cpu in
10363 *i[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -fno-omit-frame-pointer" >&5
10364 $as_echo_n "checking whether the cross-compiler supports -fno-omit-frame-pointer... " >&6; }
10365 if ${ac_cv_crosscflags__fno_omit_frame_pointer+:} false; then :
10366 $as_echo_n "(cached) " >&6
10367 else
10368 ac_wine_try_cflags_saved=$CFLAGS
10369 ac_wine_try_cflags_saved_cc=$CC
10370 ac_wine_try_cflags_saved_exeext=$ac_exeext
10371 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -fno-omit-frame-pointer"
10372 CC="$CROSSCC"
10373 ac_exeext=".exe"
10374 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10375 /* end confdefs.h. */
10376 int __cdecl mainCRTStartup(void) { return 0; }
10377 _ACEOF
10378 if ac_fn_c_try_link "$LINENO"; then :
10379 ac_cv_crosscflags__fno_omit_frame_pointer=yes
10380 else
10381 ac_cv_crosscflags__fno_omit_frame_pointer=no
10383 rm -f core conftest.err conftest.$ac_objext \
10384 conftest$ac_exeext conftest.$ac_ext
10385 CFLAGS=$ac_wine_try_cflags_saved
10386 CC=$ac_wine_try_cflags_saved_cc
10387 ac_exeext=$ac_wine_try_cflags_saved_exeext
10389 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__fno_omit_frame_pointer" >&5
10390 $as_echo "$ac_cv_crosscflags__fno_omit_frame_pointer" >&6; }
10391 if test "x$ac_cv_crosscflags__fno_omit_frame_pointer" = xyes; then :
10392 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -fno-omit-frame-pointer"
10393 fi ;;
10394 x86_64) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wno-format" >&5
10395 $as_echo_n "checking whether the cross-compiler supports -Wno-format... " >&6; }
10396 if ${ac_cv_crosscflags__Wno_format+:} false; then :
10397 $as_echo_n "(cached) " >&6
10398 else
10399 ac_wine_try_cflags_saved=$CFLAGS
10400 ac_wine_try_cflags_saved_cc=$CC
10401 ac_wine_try_cflags_saved_exeext=$ac_exeext
10402 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wno-format"
10403 CC="$CROSSCC"
10404 ac_exeext=".exe"
10405 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10406 /* end confdefs.h. */
10407 int __cdecl mainCRTStartup(void) { return 0; }
10408 _ACEOF
10409 if ac_fn_c_try_link "$LINENO"; then :
10410 ac_cv_crosscflags__Wno_format=yes
10411 else
10412 ac_cv_crosscflags__Wno_format=no
10414 rm -f core conftest.err conftest.$ac_objext \
10415 conftest$ac_exeext conftest.$ac_ext
10416 CFLAGS=$ac_wine_try_cflags_saved
10417 CC=$ac_wine_try_cflags_saved_cc
10418 ac_exeext=$ac_wine_try_cflags_saved_exeext
10420 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wno_format" >&5
10421 $as_echo "$ac_cv_crosscflags__Wno_format" >&6; }
10422 if test "x$ac_cv_crosscflags__Wno_format" = xyes; then :
10423 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wno-format"
10425 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wformat-overflow" >&5
10426 $as_echo_n "checking whether the cross-compiler supports -Wformat-overflow... " >&6; }
10427 if ${ac_cv_crosscflags__Wformat_overflow+:} false; then :
10428 $as_echo_n "(cached) " >&6
10429 else
10430 ac_wine_try_cflags_saved=$CFLAGS
10431 ac_wine_try_cflags_saved_cc=$CC
10432 ac_wine_try_cflags_saved_exeext=$ac_exeext
10433 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wformat-overflow"
10434 CC="$CROSSCC"
10435 ac_exeext=".exe"
10436 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10437 /* end confdefs.h. */
10438 int __cdecl mainCRTStartup(void) { return 0; }
10439 _ACEOF
10440 if ac_fn_c_try_link "$LINENO"; then :
10441 ac_cv_crosscflags__Wformat_overflow=yes
10442 else
10443 ac_cv_crosscflags__Wformat_overflow=no
10445 rm -f core conftest.err conftest.$ac_objext \
10446 conftest$ac_exeext conftest.$ac_ext
10447 CFLAGS=$ac_wine_try_cflags_saved
10448 CC=$ac_wine_try_cflags_saved_cc
10449 ac_exeext=$ac_wine_try_cflags_saved_exeext
10451 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wformat_overflow" >&5
10452 $as_echo "$ac_cv_crosscflags__Wformat_overflow" >&6; }
10453 if test "x$ac_cv_crosscflags__Wformat_overflow" = xyes; then :
10454 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wformat-overflow"
10456 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wnonnull" >&5
10457 $as_echo_n "checking whether the cross-compiler supports -Wnonnull... " >&6; }
10458 if ${ac_cv_crosscflags__Wnonnull+:} false; then :
10459 $as_echo_n "(cached) " >&6
10460 else
10461 ac_wine_try_cflags_saved=$CFLAGS
10462 ac_wine_try_cflags_saved_cc=$CC
10463 ac_wine_try_cflags_saved_exeext=$ac_exeext
10464 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wnonnull"
10465 CC="$CROSSCC"
10466 ac_exeext=".exe"
10467 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10468 /* end confdefs.h. */
10469 int __cdecl mainCRTStartup(void) { return 0; }
10470 _ACEOF
10471 if ac_fn_c_try_link "$LINENO"; then :
10472 ac_cv_crosscflags__Wnonnull=yes
10473 else
10474 ac_cv_crosscflags__Wnonnull=no
10476 rm -f core conftest.err conftest.$ac_objext \
10477 conftest$ac_exeext conftest.$ac_ext
10478 CFLAGS=$ac_wine_try_cflags_saved
10479 CC=$ac_wine_try_cflags_saved_cc
10480 ac_exeext=$ac_wine_try_cflags_saved_exeext
10482 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wnonnull" >&5
10483 $as_echo "$ac_cv_crosscflags__Wnonnull" >&6; }
10484 if test "x$ac_cv_crosscflags__Wnonnull" = xyes; then :
10485 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wnonnull"
10487 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -mcx16" >&5
10488 $as_echo_n "checking whether the cross-compiler supports -mcx16... " >&6; }
10489 if ${ac_cv_crosscflags__mcx16+:} false; then :
10490 $as_echo_n "(cached) " >&6
10491 else
10492 ac_wine_try_cflags_saved=$CFLAGS
10493 ac_wine_try_cflags_saved_cc=$CC
10494 ac_wine_try_cflags_saved_exeext=$ac_exeext
10495 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -mcx16"
10496 CC="$CROSSCC"
10497 ac_exeext=".exe"
10498 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10499 /* end confdefs.h. */
10500 int __cdecl mainCRTStartup(void) { return 0; }
10501 _ACEOF
10502 if ac_fn_c_try_link "$LINENO"; then :
10503 ac_cv_crosscflags__mcx16=yes
10504 else
10505 ac_cv_crosscflags__mcx16=no
10507 rm -f core conftest.err conftest.$ac_objext \
10508 conftest$ac_exeext conftest.$ac_ext
10509 CFLAGS=$ac_wine_try_cflags_saved
10510 CC=$ac_wine_try_cflags_saved_cc
10511 ac_exeext=$ac_wine_try_cflags_saved_exeext
10513 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__mcx16" >&5
10514 $as_echo "$ac_cv_crosscflags__mcx16" >&6; }
10515 if test "x$ac_cv_crosscflags__mcx16" = xyes; then :
10516 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -mcx16"
10517 fi ;;
10518 aarch64) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wno-format" >&5
10519 $as_echo_n "checking whether the cross-compiler supports -Wno-format... " >&6; }
10520 if ${ac_cv_crosscflags__Wno_format+:} false; then :
10521 $as_echo_n "(cached) " >&6
10522 else
10523 ac_wine_try_cflags_saved=$CFLAGS
10524 ac_wine_try_cflags_saved_cc=$CC
10525 ac_wine_try_cflags_saved_exeext=$ac_exeext
10526 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wno-format"
10527 CC="$CROSSCC"
10528 ac_exeext=".exe"
10529 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10530 /* end confdefs.h. */
10531 int __cdecl mainCRTStartup(void) { return 0; }
10532 _ACEOF
10533 if ac_fn_c_try_link "$LINENO"; then :
10534 ac_cv_crosscflags__Wno_format=yes
10535 else
10536 ac_cv_crosscflags__Wno_format=no
10538 rm -f core conftest.err conftest.$ac_objext \
10539 conftest$ac_exeext conftest.$ac_ext
10540 CFLAGS=$ac_wine_try_cflags_saved
10541 CC=$ac_wine_try_cflags_saved_cc
10542 ac_exeext=$ac_wine_try_cflags_saved_exeext
10544 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wno_format" >&5
10545 $as_echo "$ac_cv_crosscflags__Wno_format" >&6; }
10546 if test "x$ac_cv_crosscflags__Wno_format" = xyes; then :
10547 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wno-format"
10548 fi ;;
10549 esac
10552 if test -z "$CROSSDEBUG"
10553 then
10554 for ac_flag in $CROSSCFLAGS; do
10555 case $ac_flag in
10556 -gdwarf*) CROSSDEBUG=dwarf ;;
10557 -gcodeview) CROSSDEBUG=pdb ;;
10558 -g) CROSSDEBUG=${CROSSDEBUG:-dwarf} ;;
10559 esac
10560 done
10562 case $CROSSDEBUG in
10563 *dwarf) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -gdwarf-2" >&5
10564 $as_echo_n "checking whether the cross-compiler supports -gdwarf-2... " >&6; }
10565 if ${ac_cv_crosscflags__gdwarf_2+:} false; then :
10566 $as_echo_n "(cached) " >&6
10567 else
10568 ac_wine_try_cflags_saved=$CFLAGS
10569 ac_wine_try_cflags_saved_cc=$CC
10570 ac_wine_try_cflags_saved_exeext=$ac_exeext
10571 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -gdwarf-2"
10572 CC="$CROSSCC"
10573 ac_exeext=".exe"
10574 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10575 /* end confdefs.h. */
10576 int __cdecl mainCRTStartup(void) { return 0; }
10577 _ACEOF
10578 if ac_fn_c_try_link "$LINENO"; then :
10579 ac_cv_crosscflags__gdwarf_2=yes
10580 else
10581 ac_cv_crosscflags__gdwarf_2=no
10583 rm -f core conftest.err conftest.$ac_objext \
10584 conftest$ac_exeext conftest.$ac_ext
10585 CFLAGS=$ac_wine_try_cflags_saved
10586 CC=$ac_wine_try_cflags_saved_cc
10587 ac_exeext=$ac_wine_try_cflags_saved_exeext
10589 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__gdwarf_2" >&5
10590 $as_echo "$ac_cv_crosscflags__gdwarf_2" >&6; }
10591 if test "x$ac_cv_crosscflags__gdwarf_2" = xyes; then :
10592 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -gdwarf-2"
10594 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -gstrict-dwarf" >&5
10595 $as_echo_n "checking whether the cross-compiler supports -gstrict-dwarf... " >&6; }
10596 if ${ac_cv_crosscflags__gstrict_dwarf+:} false; then :
10597 $as_echo_n "(cached) " >&6
10598 else
10599 ac_wine_try_cflags_saved=$CFLAGS
10600 ac_wine_try_cflags_saved_cc=$CC
10601 ac_wine_try_cflags_saved_exeext=$ac_exeext
10602 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -gstrict-dwarf"
10603 CC="$CROSSCC"
10604 ac_exeext=".exe"
10605 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10606 /* end confdefs.h. */
10607 int __cdecl mainCRTStartup(void) { return 0; }
10608 _ACEOF
10609 if ac_fn_c_try_link "$LINENO"; then :
10610 ac_cv_crosscflags__gstrict_dwarf=yes
10611 else
10612 ac_cv_crosscflags__gstrict_dwarf=no
10614 rm -f core conftest.err conftest.$ac_objext \
10615 conftest$ac_exeext conftest.$ac_ext
10616 CFLAGS=$ac_wine_try_cflags_saved
10617 CC=$ac_wine_try_cflags_saved_cc
10618 ac_exeext=$ac_wine_try_cflags_saved_exeext
10620 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__gstrict_dwarf" >&5
10621 $as_echo "$ac_cv_crosscflags__gstrict_dwarf" >&6; }
10622 if test "x$ac_cv_crosscflags__gstrict_dwarf" = xyes; then :
10623 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -gstrict-dwarf"
10624 fi ;;
10625 pdb) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -gcodeview" >&5
10626 $as_echo_n "checking whether the cross-compiler supports -gcodeview... " >&6; }
10627 if ${ac_cv_crosscflags__gcodeview+:} false; then :
10628 $as_echo_n "(cached) " >&6
10629 else
10630 ac_wine_try_cflags_saved=$CFLAGS
10631 ac_wine_try_cflags_saved_cc=$CC
10632 ac_wine_try_cflags_saved_exeext=$ac_exeext
10633 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -gcodeview"
10634 CC="$CROSSCC"
10635 ac_exeext=".exe"
10636 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10637 /* end confdefs.h. */
10638 int __cdecl mainCRTStartup(void) { return 0; }
10639 _ACEOF
10640 if ac_fn_c_try_link "$LINENO"; then :
10641 ac_cv_crosscflags__gcodeview=yes
10642 else
10643 ac_cv_crosscflags__gcodeview=no
10645 rm -f core conftest.err conftest.$ac_objext \
10646 conftest$ac_exeext conftest.$ac_ext
10647 CFLAGS=$ac_wine_try_cflags_saved
10648 CC=$ac_wine_try_cflags_saved_cc
10649 ac_exeext=$ac_wine_try_cflags_saved_exeext
10651 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__gcodeview" >&5
10652 $as_echo "$ac_cv_crosscflags__gcodeview" >&6; }
10653 if test "x$ac_cv_crosscflags__gcodeview" = xyes; then :
10654 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -gcodeview"
10655 fi ;;
10656 esac
10658 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -fexcess-precision=standard" >&5
10659 $as_echo_n "checking whether the cross-compiler supports -fexcess-precision=standard... " >&6; }
10660 if ${ac_cv_crosscflags__fexcess_precision_standard+:} false; then :
10661 $as_echo_n "(cached) " >&6
10662 else
10663 ac_wine_try_cflags_saved=$CFLAGS
10664 ac_wine_try_cflags_saved_cc=$CC
10665 ac_wine_try_cflags_saved_exeext=$ac_exeext
10666 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -fexcess-precision=standard"
10667 CC="$CROSSCC"
10668 ac_exeext=".exe"
10669 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10670 /* end confdefs.h. */
10671 int __cdecl mainCRTStartup(void) { return 0; }
10672 _ACEOF
10673 if ac_fn_c_try_link "$LINENO"; then :
10674 ac_cv_crosscflags__fexcess_precision_standard=yes
10675 else
10676 ac_cv_crosscflags__fexcess_precision_standard=no
10678 rm -f core conftest.err conftest.$ac_objext \
10679 conftest$ac_exeext conftest.$ac_ext
10680 CFLAGS=$ac_wine_try_cflags_saved
10681 CC=$ac_wine_try_cflags_saved_cc
10682 ac_exeext=$ac_wine_try_cflags_saved_exeext
10684 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__fexcess_precision_standard" >&5
10685 $as_echo "$ac_cv_crosscflags__fexcess_precision_standard" >&6; }
10686 if test "x$ac_cv_crosscflags__fexcess_precision_standard" = xyes; then :
10687 EXCESS_PRECISION_CFLAGS="-fexcess-precision=standard"
10691 if test "x$enable_werror" = "xyes"
10692 then
10693 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Werror" >&5
10694 $as_echo_n "checking whether the cross-compiler supports -Werror... " >&6; }
10695 if ${ac_cv_crosscflags__Werror+:} false; then :
10696 $as_echo_n "(cached) " >&6
10697 else
10698 ac_wine_try_cflags_saved=$CFLAGS
10699 ac_wine_try_cflags_saved_cc=$CC
10700 ac_wine_try_cflags_saved_exeext=$ac_exeext
10701 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Werror"
10702 CC="$CROSSCC"
10703 ac_exeext=".exe"
10704 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10705 /* end confdefs.h. */
10706 int __cdecl mainCRTStartup(void) { return 0; }
10707 _ACEOF
10708 if ac_fn_c_try_link "$LINENO"; then :
10709 ac_cv_crosscflags__Werror=yes
10710 else
10711 ac_cv_crosscflags__Werror=no
10713 rm -f core conftest.err conftest.$ac_objext \
10714 conftest$ac_exeext conftest.$ac_ext
10715 CFLAGS=$ac_wine_try_cflags_saved
10716 CC=$ac_wine_try_cflags_saved_cc
10717 ac_exeext=$ac_wine_try_cflags_saved_exeext
10719 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Werror" >&5
10720 $as_echo "$ac_cv_crosscflags__Werror" >&6; }
10721 if test "x$ac_cv_crosscflags__Werror" = xyes; then :
10722 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Werror"
10725 if test "x$enable_build_id" = "xyes"
10726 then
10727 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wl,--build-id" >&5
10728 $as_echo_n "checking whether the cross-compiler supports -Wl,--build-id... " >&6; }
10729 if ${ac_cv_crosscflags__Wl___build_id+:} false; then :
10730 $as_echo_n "(cached) " >&6
10731 else
10732 ac_wine_try_cflags_saved=$CFLAGS
10733 ac_wine_try_cflags_saved_cc=$CC
10734 ac_wine_try_cflags_saved_exeext=$ac_exeext
10735 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wl,--build-id"
10736 CC="$CROSSCC"
10737 ac_exeext=".exe"
10738 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10739 /* end confdefs.h. */
10740 int __cdecl mainCRTStartup(void) { return 0; }
10741 _ACEOF
10742 if ac_fn_c_try_link "$LINENO"; then :
10743 ac_cv_crosscflags__Wl___build_id=yes
10744 else
10745 ac_cv_crosscflags__Wl___build_id=no
10747 rm -f core conftest.err conftest.$ac_objext \
10748 conftest$ac_exeext conftest.$ac_ext
10749 CFLAGS=$ac_wine_try_cflags_saved
10750 CC=$ac_wine_try_cflags_saved_cc
10751 ac_exeext=$ac_wine_try_cflags_saved_exeext
10753 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wl___build_id" >&5
10754 $as_echo "$ac_cv_crosscflags__Wl___build_id" >&6; }
10755 if test "x$ac_cv_crosscflags__Wl___build_id" = xyes; then :
10756 CROSSCFLAGS="$CROSSCFLAGS -Wl,--build-id"
10757 CROSSLDFLAGS="$CROSSLDFLAGS -Wl,--build-id"
10761 CFLAGS=$saved_CFLAGS
10762 CC="$ac_save_CC"
10765 if test "x$CROSSTARGET" = "x"; then :
10766 case "x$with_mingw" in
10767 x) as_fn_append wine_notices "|MinGW compiler not found, cross-compiling PE files won't be supported." ;;
10768 xno) ;;
10769 *) as_fn_error $? "MinGW compiler not found, cross-compiling PE files won't be supported.
10770 This is an error since --with-mingw was requested." "$LINENO" 5 ;;
10771 esac
10776 if test "$ac_cv_header_pthread_h" = "yes"
10777 then
10778 ac_fn_c_check_func "$LINENO" "pthread_create" "ac_cv_func_pthread_create"
10779 if test "x$ac_cv_func_pthread_create" = xyes; then :
10781 else
10782 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_create in -lpthread" >&5
10783 $as_echo_n "checking for pthread_create in -lpthread... " >&6; }
10784 if ${ac_cv_lib_pthread_pthread_create+:} false; then :
10785 $as_echo_n "(cached) " >&6
10786 else
10787 ac_check_lib_save_LIBS=$LIBS
10788 LIBS="-lpthread $LIBS"
10789 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10790 /* end confdefs.h. */
10792 /* Override any GCC internal prototype to avoid an error.
10793 Use char because int might match the return type of a GCC
10794 builtin and then its argument prototype would still apply. */
10795 #ifdef __cplusplus
10796 extern "C"
10797 #endif
10798 char pthread_create ();
10800 main ()
10802 return pthread_create ();
10804 return 0;
10806 _ACEOF
10807 if ac_fn_c_try_link "$LINENO"; then :
10808 ac_cv_lib_pthread_pthread_create=yes
10809 else
10810 ac_cv_lib_pthread_pthread_create=no
10812 rm -f core conftest.err conftest.$ac_objext \
10813 conftest$ac_exeext conftest.$ac_ext
10814 LIBS=$ac_check_lib_save_LIBS
10816 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_create" >&5
10817 $as_echo "$ac_cv_lib_pthread_pthread_create" >&6; }
10818 if test "x$ac_cv_lib_pthread_pthread_create" = xyes; then :
10819 PTHREAD_LIBS="-lpthread"
10826 if test "x$ac_cv_func_pthread_create" != xyes -a "x$PTHREAD_LIBS" = x; then :
10827 case "x$with_pthread" in
10828 xno) ;;
10829 *) as_fn_error $? "pthread ${notice_platform}development files not found.
10830 Wine cannot support threads without libpthread.
10831 Use the --without-pthread option if you really want this." "$LINENO" 5 ;;
10832 esac
10837 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for X" >&5
10838 $as_echo_n "checking for X... " >&6; }
10841 # Check whether --with-x was given.
10842 if test "${with_x+set}" = set; then :
10843 withval=$with_x;
10846 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
10847 if test "x$with_x" = xno; then
10848 # The user explicitly disabled X.
10849 have_x=disabled
10850 else
10851 case $x_includes,$x_libraries in #(
10852 *\'*) as_fn_error $? "cannot use X directory names containing '" "$LINENO" 5;; #(
10853 *,NONE | NONE,*) if ${ac_cv_have_x+:} false; then :
10854 $as_echo_n "(cached) " >&6
10855 else
10856 # One or both of the vars are not set, and there is no cached value.
10857 ac_x_includes=no ac_x_libraries=no
10858 rm -f -r conftest.dir
10859 if mkdir conftest.dir; then
10860 cd conftest.dir
10861 cat >Imakefile <<'_ACEOF'
10862 incroot:
10863 @echo incroot='${INCROOT}'
10864 usrlibdir:
10865 @echo usrlibdir='${USRLIBDIR}'
10866 libdir:
10867 @echo libdir='${LIBDIR}'
10868 _ACEOF
10869 if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
10870 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
10871 for ac_var in incroot usrlibdir libdir; do
10872 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
10873 done
10874 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
10875 for ac_extension in a so sl dylib la dll; do
10876 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
10877 test -f "$ac_im_libdir/libX11.$ac_extension"; then
10878 ac_im_usrlibdir=$ac_im_libdir; break
10880 done
10881 # Screen out bogus values from the imake configuration. They are
10882 # bogus both because they are the default anyway, and because
10883 # using them would break gcc on systems where it needs fixed includes.
10884 case $ac_im_incroot in
10885 /usr/include) ac_x_includes= ;;
10886 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
10887 esac
10888 case $ac_im_usrlibdir in
10889 /usr/lib | /usr/lib64 | /lib | /lib64) ;;
10890 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
10891 esac
10893 cd ..
10894 rm -f -r conftest.dir
10897 # Standard set of common directories for X headers.
10898 # Check X11 before X11Rn because it is often a symlink to the current release.
10899 ac_x_header_dirs='
10900 /usr/X11/include
10901 /usr/X11R7/include
10902 /usr/X11R6/include
10903 /usr/X11R5/include
10904 /usr/X11R4/include
10906 /usr/include/X11
10907 /usr/include/X11R7
10908 /usr/include/X11R6
10909 /usr/include/X11R5
10910 /usr/include/X11R4
10912 /usr/local/X11/include
10913 /usr/local/X11R7/include
10914 /usr/local/X11R6/include
10915 /usr/local/X11R5/include
10916 /usr/local/X11R4/include
10918 /usr/local/include/X11
10919 /usr/local/include/X11R7
10920 /usr/local/include/X11R6
10921 /usr/local/include/X11R5
10922 /usr/local/include/X11R4
10924 /usr/X386/include
10925 /usr/x386/include
10926 /usr/XFree86/include/X11
10928 /usr/include
10929 /usr/local/include
10930 /usr/unsupported/include
10931 /usr/athena/include
10932 /usr/local/x11r5/include
10933 /usr/lpp/Xamples/include
10935 /usr/openwin/include
10936 /usr/openwin/share/include'
10938 if test "$ac_x_includes" = no; then
10939 # Guess where to find include files, by looking for Xlib.h.
10940 # First, try using that file with no special directory specified.
10941 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10942 /* end confdefs.h. */
10943 #include <X11/Xlib.h>
10944 _ACEOF
10945 if ac_fn_c_try_cpp "$LINENO"; then :
10946 # We can compile using X headers with no special include directory.
10947 ac_x_includes=
10948 else
10949 for ac_dir in $ac_x_header_dirs; do
10950 if test -r "$ac_dir/X11/Xlib.h"; then
10951 ac_x_includes=$ac_dir
10952 break
10954 done
10956 rm -f conftest.err conftest.i conftest.$ac_ext
10957 fi # $ac_x_includes = no
10959 if test "$ac_x_libraries" = no; then
10960 # Check for the libraries.
10961 # See if we find them without any special options.
10962 # Don't add to $LIBS permanently.
10963 ac_save_LIBS=$LIBS
10964 LIBS="-lX11 $LIBS"
10965 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10966 /* end confdefs.h. */
10967 #include <X11/Xlib.h>
10969 main ()
10971 XrmInitialize ()
10973 return 0;
10975 _ACEOF
10976 if ac_fn_c_try_link "$LINENO"; then :
10977 LIBS=$ac_save_LIBS
10978 # We can link X programs with no special library path.
10979 ac_x_libraries=
10980 else
10981 LIBS=$ac_save_LIBS
10982 for ac_dir in `$as_echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
10984 # Don't even attempt the hair of trying to link an X program!
10985 for ac_extension in a so sl dylib la dll; do
10986 if test -r "$ac_dir/libX11.$ac_extension"; then
10987 ac_x_libraries=$ac_dir
10988 break 2
10990 done
10991 done
10993 rm -f core conftest.err conftest.$ac_objext \
10994 conftest$ac_exeext conftest.$ac_ext
10995 fi # $ac_x_libraries = no
10997 case $ac_x_includes,$ac_x_libraries in #(
10998 no,* | *,no | *\'*)
10999 # Didn't find X, or a directory has "'" in its name.
11000 ac_cv_have_x="have_x=no";; #(
11002 # Record where we found X for the cache.
11003 ac_cv_have_x="have_x=yes\
11004 ac_x_includes='$ac_x_includes'\
11005 ac_x_libraries='$ac_x_libraries'"
11006 esac
11008 ;; #(
11009 *) have_x=yes;;
11010 esac
11011 eval "$ac_cv_have_x"
11012 fi # $with_x != no
11014 if test "$have_x" != yes; then
11015 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_x" >&5
11016 $as_echo "$have_x" >&6; }
11017 no_x=yes
11018 else
11019 # If each of the values was on the command line, it overrides each guess.
11020 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
11021 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
11022 # Update the cache value to reflect the command line values.
11023 ac_cv_have_x="have_x=yes\
11024 ac_x_includes='$x_includes'\
11025 ac_x_libraries='$x_libraries'"
11026 { $as_echo "$as_me:${as_lineno-$LINENO}: result: libraries $x_libraries, headers $x_includes" >&5
11027 $as_echo "libraries $x_libraries, headers $x_includes" >&6; }
11030 if test "$no_x" = yes; then
11031 # Not all programs may use this symbol, but it does not hurt to define it.
11033 $as_echo "#define X_DISPLAY_MISSING 1" >>confdefs.h
11035 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
11036 else
11037 if test -n "$x_includes"; then
11038 X_CFLAGS="$X_CFLAGS -I$x_includes"
11041 # It would also be nice to do this for all -L options, not just this one.
11042 if test -n "$x_libraries"; then
11043 X_LIBS="$X_LIBS -L$x_libraries"
11044 # For Solaris; some versions of Sun CC require a space after -R and
11045 # others require no space. Words are not sufficient . . . .
11046 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -R must be followed by a space" >&5
11047 $as_echo_n "checking whether -R must be followed by a space... " >&6; }
11048 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
11049 ac_xsave_c_werror_flag=$ac_c_werror_flag
11050 ac_c_werror_flag=yes
11051 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11052 /* end confdefs.h. */
11055 main ()
11059 return 0;
11061 _ACEOF
11062 if ac_fn_c_try_link "$LINENO"; then :
11063 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11064 $as_echo "no" >&6; }
11065 X_LIBS="$X_LIBS -R$x_libraries"
11066 else
11067 LIBS="$ac_xsave_LIBS -R $x_libraries"
11068 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11069 /* end confdefs.h. */
11072 main ()
11076 return 0;
11078 _ACEOF
11079 if ac_fn_c_try_link "$LINENO"; then :
11080 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11081 $as_echo "yes" >&6; }
11082 X_LIBS="$X_LIBS -R $x_libraries"
11083 else
11084 { $as_echo "$as_me:${as_lineno-$LINENO}: result: neither works" >&5
11085 $as_echo "neither works" >&6; }
11087 rm -f core conftest.err conftest.$ac_objext \
11088 conftest$ac_exeext conftest.$ac_ext
11090 rm -f core conftest.err conftest.$ac_objext \
11091 conftest$ac_exeext conftest.$ac_ext
11092 ac_c_werror_flag=$ac_xsave_c_werror_flag
11093 LIBS=$ac_xsave_LIBS
11096 # Check for system-dependent libraries X programs must link with.
11097 # Do this before checking for the system-independent R6 libraries
11098 # (-lICE), since we may need -lsocket or whatever for X linking.
11100 if test "$ISC" = yes; then
11101 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
11102 else
11103 # Martyn Johnson says this is needed for Ultrix, if the X
11104 # libraries were built with DECnet support. And Karl Berry says
11105 # the Alpha needs dnet_stub (dnet does not exist).
11106 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
11107 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11108 /* end confdefs.h. */
11110 /* Override any GCC internal prototype to avoid an error.
11111 Use char because int might match the return type of a GCC
11112 builtin and then its argument prototype would still apply. */
11113 #ifdef __cplusplus
11114 extern "C"
11115 #endif
11116 char XOpenDisplay ();
11118 main ()
11120 return XOpenDisplay ();
11122 return 0;
11124 _ACEOF
11125 if ac_fn_c_try_link "$LINENO"; then :
11127 else
11128 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet" >&5
11129 $as_echo_n "checking for dnet_ntoa in -ldnet... " >&6; }
11130 if ${ac_cv_lib_dnet_dnet_ntoa+:} false; then :
11131 $as_echo_n "(cached) " >&6
11132 else
11133 ac_check_lib_save_LIBS=$LIBS
11134 LIBS="-ldnet $LIBS"
11135 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11136 /* end confdefs.h. */
11138 /* Override any GCC internal prototype to avoid an error.
11139 Use char because int might match the return type of a GCC
11140 builtin and then its argument prototype would still apply. */
11141 #ifdef __cplusplus
11142 extern "C"
11143 #endif
11144 char dnet_ntoa ();
11146 main ()
11148 return dnet_ntoa ();
11150 return 0;
11152 _ACEOF
11153 if ac_fn_c_try_link "$LINENO"; then :
11154 ac_cv_lib_dnet_dnet_ntoa=yes
11155 else
11156 ac_cv_lib_dnet_dnet_ntoa=no
11158 rm -f core conftest.err conftest.$ac_objext \
11159 conftest$ac_exeext conftest.$ac_ext
11160 LIBS=$ac_check_lib_save_LIBS
11162 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
11163 $as_echo "$ac_cv_lib_dnet_dnet_ntoa" >&6; }
11164 if test "x$ac_cv_lib_dnet_dnet_ntoa" = xyes; then :
11165 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
11168 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
11169 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet_stub" >&5
11170 $as_echo_n "checking for dnet_ntoa in -ldnet_stub... " >&6; }
11171 if ${ac_cv_lib_dnet_stub_dnet_ntoa+:} false; then :
11172 $as_echo_n "(cached) " >&6
11173 else
11174 ac_check_lib_save_LIBS=$LIBS
11175 LIBS="-ldnet_stub $LIBS"
11176 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11177 /* end confdefs.h. */
11179 /* Override any GCC internal prototype to avoid an error.
11180 Use char because int might match the return type of a GCC
11181 builtin and then its argument prototype would still apply. */
11182 #ifdef __cplusplus
11183 extern "C"
11184 #endif
11185 char dnet_ntoa ();
11187 main ()
11189 return dnet_ntoa ();
11191 return 0;
11193 _ACEOF
11194 if ac_fn_c_try_link "$LINENO"; then :
11195 ac_cv_lib_dnet_stub_dnet_ntoa=yes
11196 else
11197 ac_cv_lib_dnet_stub_dnet_ntoa=no
11199 rm -f core conftest.err conftest.$ac_objext \
11200 conftest$ac_exeext conftest.$ac_ext
11201 LIBS=$ac_check_lib_save_LIBS
11203 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
11204 $as_echo "$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
11205 if test "x$ac_cv_lib_dnet_stub_dnet_ntoa" = xyes; then :
11206 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
11211 rm -f core conftest.err conftest.$ac_objext \
11212 conftest$ac_exeext conftest.$ac_ext
11213 LIBS="$ac_xsave_LIBS"
11215 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
11216 # to get the SysV transport functions.
11217 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
11218 # needs -lnsl.
11219 # The nsl library prevents programs from opening the X display
11220 # on Irix 5.2, according to T.E. Dickey.
11221 # The functions gethostbyname, getservbyname, and inet_addr are
11222 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
11223 ac_fn_c_check_func "$LINENO" "gethostbyname" "ac_cv_func_gethostbyname"
11224 if test "x$ac_cv_func_gethostbyname" = xyes; then :
11228 if test $ac_cv_func_gethostbyname = no; then
11229 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnsl" >&5
11230 $as_echo_n "checking for gethostbyname in -lnsl... " >&6; }
11231 if ${ac_cv_lib_nsl_gethostbyname+:} false; then :
11232 $as_echo_n "(cached) " >&6
11233 else
11234 ac_check_lib_save_LIBS=$LIBS
11235 LIBS="-lnsl $LIBS"
11236 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11237 /* end confdefs.h. */
11239 /* Override any GCC internal prototype to avoid an error.
11240 Use char because int might match the return type of a GCC
11241 builtin and then its argument prototype would still apply. */
11242 #ifdef __cplusplus
11243 extern "C"
11244 #endif
11245 char gethostbyname ();
11247 main ()
11249 return gethostbyname ();
11251 return 0;
11253 _ACEOF
11254 if ac_fn_c_try_link "$LINENO"; then :
11255 ac_cv_lib_nsl_gethostbyname=yes
11256 else
11257 ac_cv_lib_nsl_gethostbyname=no
11259 rm -f core conftest.err conftest.$ac_objext \
11260 conftest$ac_exeext conftest.$ac_ext
11261 LIBS=$ac_check_lib_save_LIBS
11263 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_gethostbyname" >&5
11264 $as_echo "$ac_cv_lib_nsl_gethostbyname" >&6; }
11265 if test "x$ac_cv_lib_nsl_gethostbyname" = xyes; then :
11266 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
11269 if test $ac_cv_lib_nsl_gethostbyname = no; then
11270 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lbsd" >&5
11271 $as_echo_n "checking for gethostbyname in -lbsd... " >&6; }
11272 if ${ac_cv_lib_bsd_gethostbyname+:} false; then :
11273 $as_echo_n "(cached) " >&6
11274 else
11275 ac_check_lib_save_LIBS=$LIBS
11276 LIBS="-lbsd $LIBS"
11277 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11278 /* end confdefs.h. */
11280 /* Override any GCC internal prototype to avoid an error.
11281 Use char because int might match the return type of a GCC
11282 builtin and then its argument prototype would still apply. */
11283 #ifdef __cplusplus
11284 extern "C"
11285 #endif
11286 char gethostbyname ();
11288 main ()
11290 return gethostbyname ();
11292 return 0;
11294 _ACEOF
11295 if ac_fn_c_try_link "$LINENO"; then :
11296 ac_cv_lib_bsd_gethostbyname=yes
11297 else
11298 ac_cv_lib_bsd_gethostbyname=no
11300 rm -f core conftest.err conftest.$ac_objext \
11301 conftest$ac_exeext conftest.$ac_ext
11302 LIBS=$ac_check_lib_save_LIBS
11304 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bsd_gethostbyname" >&5
11305 $as_echo "$ac_cv_lib_bsd_gethostbyname" >&6; }
11306 if test "x$ac_cv_lib_bsd_gethostbyname" = xyes; then :
11307 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
11313 # lieder@skyler.mavd.honeywell.com says without -lsocket,
11314 # socket/setsockopt and other routines are undefined under SCO ODT
11315 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
11316 # on later versions), says Simon Leinen: it contains gethostby*
11317 # variants that don't use the name server (or something). -lsocket
11318 # must be given before -lnsl if both are needed. We assume that
11319 # if connect needs -lnsl, so does gethostbyname.
11320 ac_fn_c_check_func "$LINENO" "connect" "ac_cv_func_connect"
11321 if test "x$ac_cv_func_connect" = xyes; then :
11325 if test $ac_cv_func_connect = no; then
11326 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for connect in -lsocket" >&5
11327 $as_echo_n "checking for connect in -lsocket... " >&6; }
11328 if ${ac_cv_lib_socket_connect+:} false; then :
11329 $as_echo_n "(cached) " >&6
11330 else
11331 ac_check_lib_save_LIBS=$LIBS
11332 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
11333 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11334 /* end confdefs.h. */
11336 /* Override any GCC internal prototype to avoid an error.
11337 Use char because int might match the return type of a GCC
11338 builtin and then its argument prototype would still apply. */
11339 #ifdef __cplusplus
11340 extern "C"
11341 #endif
11342 char connect ();
11344 main ()
11346 return connect ();
11348 return 0;
11350 _ACEOF
11351 if ac_fn_c_try_link "$LINENO"; then :
11352 ac_cv_lib_socket_connect=yes
11353 else
11354 ac_cv_lib_socket_connect=no
11356 rm -f core conftest.err conftest.$ac_objext \
11357 conftest$ac_exeext conftest.$ac_ext
11358 LIBS=$ac_check_lib_save_LIBS
11360 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_connect" >&5
11361 $as_echo "$ac_cv_lib_socket_connect" >&6; }
11362 if test "x$ac_cv_lib_socket_connect" = xyes; then :
11363 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
11368 # Guillermo Gomez says -lposix is necessary on A/UX.
11369 ac_fn_c_check_func "$LINENO" "remove" "ac_cv_func_remove"
11370 if test "x$ac_cv_func_remove" = xyes; then :
11374 if test $ac_cv_func_remove = no; then
11375 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for remove in -lposix" >&5
11376 $as_echo_n "checking for remove in -lposix... " >&6; }
11377 if ${ac_cv_lib_posix_remove+:} false; then :
11378 $as_echo_n "(cached) " >&6
11379 else
11380 ac_check_lib_save_LIBS=$LIBS
11381 LIBS="-lposix $LIBS"
11382 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11383 /* end confdefs.h. */
11385 /* Override any GCC internal prototype to avoid an error.
11386 Use char because int might match the return type of a GCC
11387 builtin and then its argument prototype would still apply. */
11388 #ifdef __cplusplus
11389 extern "C"
11390 #endif
11391 char remove ();
11393 main ()
11395 return remove ();
11397 return 0;
11399 _ACEOF
11400 if ac_fn_c_try_link "$LINENO"; then :
11401 ac_cv_lib_posix_remove=yes
11402 else
11403 ac_cv_lib_posix_remove=no
11405 rm -f core conftest.err conftest.$ac_objext \
11406 conftest$ac_exeext conftest.$ac_ext
11407 LIBS=$ac_check_lib_save_LIBS
11409 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix_remove" >&5
11410 $as_echo "$ac_cv_lib_posix_remove" >&6; }
11411 if test "x$ac_cv_lib_posix_remove" = xyes; then :
11412 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
11417 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
11418 ac_fn_c_check_func "$LINENO" "shmat" "ac_cv_func_shmat"
11419 if test "x$ac_cv_func_shmat" = xyes; then :
11423 if test $ac_cv_func_shmat = no; then
11424 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shmat in -lipc" >&5
11425 $as_echo_n "checking for shmat in -lipc... " >&6; }
11426 if ${ac_cv_lib_ipc_shmat+:} false; then :
11427 $as_echo_n "(cached) " >&6
11428 else
11429 ac_check_lib_save_LIBS=$LIBS
11430 LIBS="-lipc $LIBS"
11431 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11432 /* end confdefs.h. */
11434 /* Override any GCC internal prototype to avoid an error.
11435 Use char because int might match the return type of a GCC
11436 builtin and then its argument prototype would still apply. */
11437 #ifdef __cplusplus
11438 extern "C"
11439 #endif
11440 char shmat ();
11442 main ()
11444 return shmat ();
11446 return 0;
11448 _ACEOF
11449 if ac_fn_c_try_link "$LINENO"; then :
11450 ac_cv_lib_ipc_shmat=yes
11451 else
11452 ac_cv_lib_ipc_shmat=no
11454 rm -f core conftest.err conftest.$ac_objext \
11455 conftest$ac_exeext conftest.$ac_ext
11456 LIBS=$ac_check_lib_save_LIBS
11458 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ipc_shmat" >&5
11459 $as_echo "$ac_cv_lib_ipc_shmat" >&6; }
11460 if test "x$ac_cv_lib_ipc_shmat" = xyes; then :
11461 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
11467 # Check for libraries that X11R6 Xt/Xaw programs need.
11468 ac_save_LDFLAGS=$LDFLAGS
11469 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
11470 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
11471 # check for ICE first), but we must link in the order -lSM -lICE or
11472 # we get undefined symbols. So assume we have SM if we have ICE.
11473 # These have to be linked with before -lX11, unlike the other
11474 # libraries we check for below, so use a different variable.
11475 # John Interrante, Karl Berry
11476 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for IceConnectionNumber in -lICE" >&5
11477 $as_echo_n "checking for IceConnectionNumber in -lICE... " >&6; }
11478 if ${ac_cv_lib_ICE_IceConnectionNumber+:} false; then :
11479 $as_echo_n "(cached) " >&6
11480 else
11481 ac_check_lib_save_LIBS=$LIBS
11482 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
11483 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11484 /* end confdefs.h. */
11486 /* Override any GCC internal prototype to avoid an error.
11487 Use char because int might match the return type of a GCC
11488 builtin and then its argument prototype would still apply. */
11489 #ifdef __cplusplus
11490 extern "C"
11491 #endif
11492 char IceConnectionNumber ();
11494 main ()
11496 return IceConnectionNumber ();
11498 return 0;
11500 _ACEOF
11501 if ac_fn_c_try_link "$LINENO"; then :
11502 ac_cv_lib_ICE_IceConnectionNumber=yes
11503 else
11504 ac_cv_lib_ICE_IceConnectionNumber=no
11506 rm -f core conftest.err conftest.$ac_objext \
11507 conftest$ac_exeext conftest.$ac_ext
11508 LIBS=$ac_check_lib_save_LIBS
11510 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
11511 $as_echo "$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
11512 if test "x$ac_cv_lib_ICE_IceConnectionNumber" = xyes; then :
11513 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
11516 LDFLAGS=$ac_save_LDFLAGS
11521 if test "$have_x" = "yes"
11522 then
11523 ac_save_CPPFLAGS="$CPPFLAGS"
11524 CPPFLAGS="$CPPFLAGS $X_CFLAGS"
11526 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lX11" >&5
11527 $as_echo_n "checking for -lX11... " >&6; }
11528 if ${ac_cv_lib_soname_X11+:} false; then :
11529 $as_echo_n "(cached) " >&6
11530 else
11531 ac_check_soname_save_LIBS=$LIBS
11532 LIBS="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
11533 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11534 /* end confdefs.h. */
11536 /* Override any GCC internal prototype to avoid an error.
11537 Use char because int might match the return type of a GCC
11538 builtin and then its argument prototype would still apply. */
11539 #ifdef __cplusplus
11540 extern "C"
11541 #endif
11542 char XCreateWindow ();
11544 main ()
11546 return XCreateWindow ();
11548 return 0;
11550 _ACEOF
11551 if ac_fn_c_try_link "$LINENO"; then :
11552 case "$LIBEXT" in
11553 dll) ac_cv_lib_soname_X11=`$ac_cv_path_LDD conftest.exe | grep "X11" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11554 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'` ;;
11555 *) ac_cv_lib_soname_X11=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libX11\\.$LIBEXT" | sed -e "s/^.*\\[\\(libX11\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11556 if ${ac_cv_lib_soname_X11:+false} :; then :
11557 ac_cv_lib_soname_X11=`$LDD conftest$ac_exeext | grep "libX11\\.$LIBEXT" | sed -e "s/^.*\(libX11\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11558 fi ;;
11559 esac
11560 else
11561 ac_cv_lib_soname_X11=
11563 rm -f core conftest.err conftest.$ac_objext \
11564 conftest$ac_exeext conftest.$ac_ext
11565 LIBS=$ac_check_soname_save_LIBS
11567 if ${ac_cv_lib_soname_X11:+false} :; then :
11568 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11569 $as_echo "not found" >&6; }
11571 else
11572 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_X11" >&5
11573 $as_echo "$ac_cv_lib_soname_X11" >&6; }
11575 cat >>confdefs.h <<_ACEOF
11576 #define SONAME_LIBX11 "$ac_cv_lib_soname_X11"
11577 _ACEOF
11581 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXext" >&5
11582 $as_echo_n "checking for -lXext... " >&6; }
11583 if ${ac_cv_lib_soname_Xext+:} false; then :
11584 $as_echo_n "(cached) " >&6
11585 else
11586 ac_check_soname_save_LIBS=$LIBS
11587 LIBS="-lXext $X_LIBS -lX11 $X_EXTRA_LIBS $LIBS"
11588 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11589 /* end confdefs.h. */
11591 /* Override any GCC internal prototype to avoid an error.
11592 Use char because int might match the return type of a GCC
11593 builtin and then its argument prototype would still apply. */
11594 #ifdef __cplusplus
11595 extern "C"
11596 #endif
11597 char XextCreateExtension ();
11599 main ()
11601 return XextCreateExtension ();
11603 return 0;
11605 _ACEOF
11606 if ac_fn_c_try_link "$LINENO"; then :
11607 case "$LIBEXT" in
11608 dll) ac_cv_lib_soname_Xext=`$ac_cv_path_LDD conftest.exe | grep "Xext" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11609 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'` ;;
11610 *) ac_cv_lib_soname_Xext=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXext\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXext\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11611 if ${ac_cv_lib_soname_Xext:+false} :; then :
11612 ac_cv_lib_soname_Xext=`$LDD conftest$ac_exeext | grep "libXext\\.$LIBEXT" | sed -e "s/^.*\(libXext\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11613 fi ;;
11614 esac
11615 else
11616 ac_cv_lib_soname_Xext=
11618 rm -f core conftest.err conftest.$ac_objext \
11619 conftest$ac_exeext conftest.$ac_ext
11620 LIBS=$ac_check_soname_save_LIBS
11622 if ${ac_cv_lib_soname_Xext:+false} :; then :
11623 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11624 $as_echo "not found" >&6; }
11626 else
11627 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xext" >&5
11628 $as_echo "$ac_cv_lib_soname_Xext" >&6; }
11630 cat >>confdefs.h <<_ACEOF
11631 #define SONAME_LIBXEXT "$ac_cv_lib_soname_Xext"
11632 _ACEOF
11634 X_LIBS="$X_LIBS -lXext"
11636 X_LIBS="$X_LIBS -lX11"
11638 for ac_header in X11/Xlib.h \
11639 X11/XKBlib.h \
11640 X11/Xutil.h \
11641 X11/Xcursor/Xcursor.h \
11642 X11/extensions/shape.h \
11643 X11/extensions/XInput.h \
11644 X11/extensions/XInput2.h \
11645 X11/extensions/XShm.h \
11646 X11/extensions/Xcomposite.h \
11647 X11/extensions/Xfixes.h \
11648 X11/extensions/Xinerama.h \
11649 X11/extensions/Xrandr.h \
11650 X11/extensions/Xrender.h \
11651 X11/extensions/xf86vmode.h \
11652 X11/extensions/xf86vmproto.h
11653 do :
11654 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
11655 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_X11_XLIB_H
11656 # include <X11/Xlib.h>
11657 #endif
11658 #ifdef HAVE_X11_XUTIL_H
11659 # include <X11/Xutil.h>
11660 #endif
11662 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
11663 cat >>confdefs.h <<_ACEOF
11664 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
11665 _ACEOF
11669 done
11672 if test "$ac_cv_header_X11_XKBlib_h" = "yes"
11673 then
11674 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XkbQueryExtension in -lX11" >&5
11675 $as_echo_n "checking for XkbQueryExtension in -lX11... " >&6; }
11676 if ${ac_cv_lib_X11_XkbQueryExtension+:} false; then :
11677 $as_echo_n "(cached) " >&6
11678 else
11679 ac_check_lib_save_LIBS=$LIBS
11680 LIBS="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
11681 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11682 /* end confdefs.h. */
11684 /* Override any GCC internal prototype to avoid an error.
11685 Use char because int might match the return type of a GCC
11686 builtin and then its argument prototype would still apply. */
11687 #ifdef __cplusplus
11688 extern "C"
11689 #endif
11690 char XkbQueryExtension ();
11692 main ()
11694 return XkbQueryExtension ();
11696 return 0;
11698 _ACEOF
11699 if ac_fn_c_try_link "$LINENO"; then :
11700 ac_cv_lib_X11_XkbQueryExtension=yes
11701 else
11702 ac_cv_lib_X11_XkbQueryExtension=no
11704 rm -f core conftest.err conftest.$ac_objext \
11705 conftest$ac_exeext conftest.$ac_ext
11706 LIBS=$ac_check_lib_save_LIBS
11708 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_X11_XkbQueryExtension" >&5
11709 $as_echo "$ac_cv_lib_X11_XkbQueryExtension" >&6; }
11710 if test "x$ac_cv_lib_X11_XkbQueryExtension" = xyes; then :
11712 $as_echo "#define HAVE_XKB 1" >>confdefs.h
11718 if test "$ac_cv_header_X11_Xcursor_Xcursor_h" = "yes"
11719 then
11720 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXcursor" >&5
11721 $as_echo_n "checking for -lXcursor... " >&6; }
11722 if ${ac_cv_lib_soname_Xcursor+:} false; then :
11723 $as_echo_n "(cached) " >&6
11724 else
11725 ac_check_soname_save_LIBS=$LIBS
11726 LIBS="-lXcursor $X_LIBS $X_EXTRA_LIBS $LIBS"
11727 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11728 /* end confdefs.h. */
11730 /* Override any GCC internal prototype to avoid an error.
11731 Use char because int might match the return type of a GCC
11732 builtin and then its argument prototype would still apply. */
11733 #ifdef __cplusplus
11734 extern "C"
11735 #endif
11736 char XcursorImageLoadCursor ();
11738 main ()
11740 return XcursorImageLoadCursor ();
11742 return 0;
11744 _ACEOF
11745 if ac_fn_c_try_link "$LINENO"; then :
11746 case "$LIBEXT" in
11747 dll) ac_cv_lib_soname_Xcursor=`$ac_cv_path_LDD conftest.exe | grep "Xcursor" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11748 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'` ;;
11749 *) ac_cv_lib_soname_Xcursor=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcursor\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcursor\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11750 if ${ac_cv_lib_soname_Xcursor:+false} :; then :
11751 ac_cv_lib_soname_Xcursor=`$LDD conftest$ac_exeext | grep "libXcursor\\.$LIBEXT" | sed -e "s/^.*\(libXcursor\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11752 fi ;;
11753 esac
11754 else
11755 ac_cv_lib_soname_Xcursor=
11757 rm -f core conftest.err conftest.$ac_objext \
11758 conftest$ac_exeext conftest.$ac_ext
11759 LIBS=$ac_check_soname_save_LIBS
11761 if ${ac_cv_lib_soname_Xcursor:+false} :; then :
11762 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11763 $as_echo "not found" >&6; }
11765 else
11766 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcursor" >&5
11767 $as_echo "$ac_cv_lib_soname_Xcursor" >&6; }
11769 cat >>confdefs.h <<_ACEOF
11770 #define SONAME_LIBXCURSOR "$ac_cv_lib_soname_Xcursor"
11771 _ACEOF
11776 if test "x$ac_cv_lib_soname_Xcursor" = "x"; then :
11777 case "x$with_xcursor" in
11778 x) as_fn_append wine_notices "|libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported." ;;
11779 xno) ;;
11780 *) as_fn_error $? "libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported.
11781 This is an error since --with-xcursor was requested." "$LINENO" 5 ;;
11782 esac
11786 if test "$ac_cv_header_X11_extensions_XInput_h" = "yes"
11787 then
11788 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXi" >&5
11789 $as_echo_n "checking for -lXi... " >&6; }
11790 if ${ac_cv_lib_soname_Xi+:} false; then :
11791 $as_echo_n "(cached) " >&6
11792 else
11793 ac_check_soname_save_LIBS=$LIBS
11794 LIBS="-lXi $X_LIBS $X_EXTRA_LIBS $LIBS"
11795 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11796 /* end confdefs.h. */
11798 /* Override any GCC internal prototype to avoid an error.
11799 Use char because int might match the return type of a GCC
11800 builtin and then its argument prototype would still apply. */
11801 #ifdef __cplusplus
11802 extern "C"
11803 #endif
11804 char XOpenDevice ();
11806 main ()
11808 return XOpenDevice ();
11810 return 0;
11812 _ACEOF
11813 if ac_fn_c_try_link "$LINENO"; then :
11814 case "$LIBEXT" in
11815 dll) ac_cv_lib_soname_Xi=`$ac_cv_path_LDD conftest.exe | grep "Xi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11816 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'` ;;
11817 *) ac_cv_lib_soname_Xi=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11818 if ${ac_cv_lib_soname_Xi:+false} :; then :
11819 ac_cv_lib_soname_Xi=`$LDD conftest$ac_exeext | grep "libXi\\.$LIBEXT" | sed -e "s/^.*\(libXi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11820 fi ;;
11821 esac
11822 else
11823 ac_cv_lib_soname_Xi=
11825 rm -f core conftest.err conftest.$ac_objext \
11826 conftest$ac_exeext conftest.$ac_ext
11827 LIBS=$ac_check_soname_save_LIBS
11829 if ${ac_cv_lib_soname_Xi:+false} :; then :
11830 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11831 $as_echo "not found" >&6; }
11833 else
11834 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xi" >&5
11835 $as_echo "$ac_cv_lib_soname_Xi" >&6; }
11837 cat >>confdefs.h <<_ACEOF
11838 #define SONAME_LIBXI "$ac_cv_lib_soname_Xi"
11839 _ACEOF
11844 if test "x$ac_cv_lib_soname_Xi" = "x"; then :
11845 case "x$with_xinput" in
11846 x) as_fn_append wine_notices "|libxi ${notice_platform}development files not found, the Xinput extension won't be supported." ;;
11847 xno) ;;
11848 *) as_fn_error $? "libxi ${notice_platform}development files not found, the Xinput extension won't be supported.
11849 This is an error since --with-xinput was requested." "$LINENO" 5 ;;
11850 esac
11854 if test "x$ac_cv_lib_soname_Xi" != x
11855 then
11856 if test "$ac_cv_header_X11_extensions_XInput2_h" != "yes"; then :
11857 case "x$with_xinput2" in
11858 x) as_fn_append wine_notices "|XInput2 headers not found, the XInput 2 extension won't be supported." ;;
11859 xno) ;;
11860 *) as_fn_error $? "XInput2 headers not found, the XInput 2 extension won't be supported.
11861 This is an error since --with-xinput2 was requested." "$LINENO" 5 ;;
11862 esac
11867 if test "$ac_cv_header_X11_extensions_XShm_h" = "yes"
11868 then
11869 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShmQueryExtension in -lXext" >&5
11870 $as_echo_n "checking for XShmQueryExtension in -lXext... " >&6; }
11871 if ${ac_cv_lib_Xext_XShmQueryExtension+:} false; then :
11872 $as_echo_n "(cached) " >&6
11873 else
11874 ac_check_lib_save_LIBS=$LIBS
11875 LIBS="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
11876 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11877 /* end confdefs.h. */
11879 /* Override any GCC internal prototype to avoid an error.
11880 Use char because int might match the return type of a GCC
11881 builtin and then its argument prototype would still apply. */
11882 #ifdef __cplusplus
11883 extern "C"
11884 #endif
11885 char XShmQueryExtension ();
11887 main ()
11889 return XShmQueryExtension ();
11891 return 0;
11893 _ACEOF
11894 if ac_fn_c_try_link "$LINENO"; then :
11895 ac_cv_lib_Xext_XShmQueryExtension=yes
11896 else
11897 ac_cv_lib_Xext_XShmQueryExtension=no
11899 rm -f core conftest.err conftest.$ac_objext \
11900 conftest$ac_exeext conftest.$ac_ext
11901 LIBS=$ac_check_lib_save_LIBS
11903 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShmQueryExtension" >&5
11904 $as_echo "$ac_cv_lib_Xext_XShmQueryExtension" >&6; }
11905 if test "x$ac_cv_lib_Xext_XShmQueryExtension" = xyes; then :
11907 $as_echo "#define HAVE_LIBXXSHM 1" >>confdefs.h
11912 if test "$ac_cv_lib_Xext_XShmQueryExtension" != "yes"; then :
11913 case "x$with_xshm" in
11914 x) as_fn_append wine_notices "|XShm ${notice_platform}development files not found, X Shared Memory won't be supported." ;;
11915 xno) ;;
11916 *) as_fn_error $? "XShm ${notice_platform}development files not found, X Shared Memory won't be supported.
11917 This is an error since --with-xshm was requested." "$LINENO" 5 ;;
11918 esac
11922 if test "$ac_cv_header_X11_extensions_shape_h" = "yes"
11923 then
11924 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShapeQueryExtension in -lXext" >&5
11925 $as_echo_n "checking for XShapeQueryExtension in -lXext... " >&6; }
11926 if ${ac_cv_lib_Xext_XShapeQueryExtension+:} false; then :
11927 $as_echo_n "(cached) " >&6
11928 else
11929 ac_check_lib_save_LIBS=$LIBS
11930 LIBS="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
11931 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11932 /* end confdefs.h. */
11934 /* Override any GCC internal prototype to avoid an error.
11935 Use char because int might match the return type of a GCC
11936 builtin and then its argument prototype would still apply. */
11937 #ifdef __cplusplus
11938 extern "C"
11939 #endif
11940 char XShapeQueryExtension ();
11942 main ()
11944 return XShapeQueryExtension ();
11946 return 0;
11948 _ACEOF
11949 if ac_fn_c_try_link "$LINENO"; then :
11950 ac_cv_lib_Xext_XShapeQueryExtension=yes
11951 else
11952 ac_cv_lib_Xext_XShapeQueryExtension=no
11954 rm -f core conftest.err conftest.$ac_objext \
11955 conftest$ac_exeext conftest.$ac_ext
11956 LIBS=$ac_check_lib_save_LIBS
11958 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
11959 $as_echo "$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
11960 if test "x$ac_cv_lib_Xext_XShapeQueryExtension" = xyes; then :
11962 $as_echo "#define HAVE_LIBXSHAPE 1" >>confdefs.h
11967 if test "$ac_cv_lib_Xext_XShapeQueryExtension" != "yes"; then :
11968 case "x$with_xshape" in
11969 x) as_fn_append wine_notices "|XShape ${notice_platform}development files not found, XShape won't be supported." ;;
11970 xno) ;;
11971 *) as_fn_error $? "XShape ${notice_platform}development files not found, XShape won't be supported.
11972 This is an error since --with-xshape was requested." "$LINENO" 5 ;;
11973 esac
11977 if test "$ac_cv_header_X11_extensions_xf86vmode_h" = "yes" -o "$ac_cv_header_X11_extensions_xf86vmproto_h" = "yes"
11978 then
11979 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXxf86vm" >&5
11980 $as_echo_n "checking for -lXxf86vm... " >&6; }
11981 if ${ac_cv_lib_soname_Xxf86vm+:} false; then :
11982 $as_echo_n "(cached) " >&6
11983 else
11984 ac_check_soname_save_LIBS=$LIBS
11985 LIBS="-lXxf86vm $X_LIBS $X_EXTRA_LIBS $LIBS"
11986 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11987 /* end confdefs.h. */
11989 /* Override any GCC internal prototype to avoid an error.
11990 Use char because int might match the return type of a GCC
11991 builtin and then its argument prototype would still apply. */
11992 #ifdef __cplusplus
11993 extern "C"
11994 #endif
11995 char XF86VidModeQueryExtension ();
11997 main ()
11999 return XF86VidModeQueryExtension ();
12001 return 0;
12003 _ACEOF
12004 if ac_fn_c_try_link "$LINENO"; then :
12005 case "$LIBEXT" in
12006 dll) ac_cv_lib_soname_Xxf86vm=`$ac_cv_path_LDD conftest.exe | grep "Xxf86vm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12007 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'` ;;
12008 *) ac_cv_lib_soname_Xxf86vm=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXxf86vm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12009 if ${ac_cv_lib_soname_Xxf86vm:+false} :; then :
12010 ac_cv_lib_soname_Xxf86vm=`$LDD conftest$ac_exeext | grep "libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\(libXxf86vm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12011 fi ;;
12012 esac
12013 else
12014 ac_cv_lib_soname_Xxf86vm=
12016 rm -f core conftest.err conftest.$ac_objext \
12017 conftest$ac_exeext conftest.$ac_ext
12018 LIBS=$ac_check_soname_save_LIBS
12020 if ${ac_cv_lib_soname_Xxf86vm:+false} :; then :
12021 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12022 $as_echo "not found" >&6; }
12024 else
12025 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xxf86vm" >&5
12026 $as_echo "$ac_cv_lib_soname_Xxf86vm" >&6; }
12028 cat >>confdefs.h <<_ACEOF
12029 #define SONAME_LIBXXF86VM "$ac_cv_lib_soname_Xxf86vm"
12030 _ACEOF
12035 if test "x$ac_cv_lib_soname_Xxf86vm" = "x"; then :
12036 case "x$with_xxf86vm" in
12037 x) as_fn_append wine_notices "|libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported." ;;
12038 xno) ;;
12039 *) as_fn_error $? "libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported.
12040 This is an error since --with-xxf86vm was requested." "$LINENO" 5 ;;
12041 esac
12045 if test "$ac_cv_header_X11_extensions_Xrender_h" = "yes" -a "x$ac_cv_lib_soname_X11" != "x"
12046 then
12047 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXrender" >&5
12048 $as_echo_n "checking for -lXrender... " >&6; }
12049 if ${ac_cv_lib_soname_Xrender+:} false; then :
12050 $as_echo_n "(cached) " >&6
12051 else
12052 ac_check_soname_save_LIBS=$LIBS
12053 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
12054 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12055 /* end confdefs.h. */
12057 /* Override any GCC internal prototype to avoid an error.
12058 Use char because int might match the return type of a GCC
12059 builtin and then its argument prototype would still apply. */
12060 #ifdef __cplusplus
12061 extern "C"
12062 #endif
12063 char XRenderQueryExtension ();
12065 main ()
12067 return XRenderQueryExtension ();
12069 return 0;
12071 _ACEOF
12072 if ac_fn_c_try_link "$LINENO"; then :
12073 case "$LIBEXT" in
12074 dll) ac_cv_lib_soname_Xrender=`$ac_cv_path_LDD conftest.exe | grep "Xrender" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12075 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'` ;;
12076 *) ac_cv_lib_soname_Xrender=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrender\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrender\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12077 if ${ac_cv_lib_soname_Xrender:+false} :; then :
12078 ac_cv_lib_soname_Xrender=`$LDD conftest$ac_exeext | grep "libXrender\\.$LIBEXT" | sed -e "s/^.*\(libXrender\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12079 fi ;;
12080 esac
12081 else
12082 ac_cv_lib_soname_Xrender=
12084 rm -f core conftest.err conftest.$ac_objext \
12085 conftest$ac_exeext conftest.$ac_ext
12086 LIBS=$ac_check_soname_save_LIBS
12088 if ${ac_cv_lib_soname_Xrender:+false} :; then :
12089 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12090 $as_echo "not found" >&6; }
12092 else
12093 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrender" >&5
12094 $as_echo "$ac_cv_lib_soname_Xrender" >&6; }
12096 cat >>confdefs.h <<_ACEOF
12097 #define SONAME_LIBXRENDER "$ac_cv_lib_soname_Xrender"
12098 _ACEOF
12100 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderSetPictureTransform in -lXrender" >&5
12101 $as_echo_n "checking for XRenderSetPictureTransform in -lXrender... " >&6; }
12102 if ${ac_cv_lib_Xrender_XRenderSetPictureTransform+:} false; then :
12103 $as_echo_n "(cached) " >&6
12104 else
12105 ac_check_lib_save_LIBS=$LIBS
12106 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
12107 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12108 /* end confdefs.h. */
12110 /* Override any GCC internal prototype to avoid an error.
12111 Use char because int might match the return type of a GCC
12112 builtin and then its argument prototype would still apply. */
12113 #ifdef __cplusplus
12114 extern "C"
12115 #endif
12116 char XRenderSetPictureTransform ();
12118 main ()
12120 return XRenderSetPictureTransform ();
12122 return 0;
12124 _ACEOF
12125 if ac_fn_c_try_link "$LINENO"; then :
12126 ac_cv_lib_Xrender_XRenderSetPictureTransform=yes
12127 else
12128 ac_cv_lib_Xrender_XRenderSetPictureTransform=no
12130 rm -f core conftest.err conftest.$ac_objext \
12131 conftest$ac_exeext conftest.$ac_ext
12132 LIBS=$ac_check_lib_save_LIBS
12134 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderSetPictureTransform" >&5
12135 $as_echo "$ac_cv_lib_Xrender_XRenderSetPictureTransform" >&6; }
12136 if test "x$ac_cv_lib_Xrender_XRenderSetPictureTransform" = xyes; then :
12138 $as_echo "#define HAVE_XRENDERSETPICTURETRANSFORM 1" >>confdefs.h
12142 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderCreateLinearGradient in -lXrender" >&5
12143 $as_echo_n "checking for XRenderCreateLinearGradient in -lXrender... " >&6; }
12144 if ${ac_cv_lib_Xrender_XRenderCreateLinearGradient+:} false; then :
12145 $as_echo_n "(cached) " >&6
12146 else
12147 ac_check_lib_save_LIBS=$LIBS
12148 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
12149 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12150 /* end confdefs.h. */
12152 /* Override any GCC internal prototype to avoid an error.
12153 Use char because int might match the return type of a GCC
12154 builtin and then its argument prototype would still apply. */
12155 #ifdef __cplusplus
12156 extern "C"
12157 #endif
12158 char XRenderCreateLinearGradient ();
12160 main ()
12162 return XRenderCreateLinearGradient ();
12164 return 0;
12166 _ACEOF
12167 if ac_fn_c_try_link "$LINENO"; then :
12168 ac_cv_lib_Xrender_XRenderCreateLinearGradient=yes
12169 else
12170 ac_cv_lib_Xrender_XRenderCreateLinearGradient=no
12172 rm -f core conftest.err conftest.$ac_objext \
12173 conftest$ac_exeext conftest.$ac_ext
12174 LIBS=$ac_check_lib_save_LIBS
12176 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&5
12177 $as_echo "$ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&6; }
12178 if test "x$ac_cv_lib_Xrender_XRenderCreateLinearGradient" = xyes; then :
12180 $as_echo "#define HAVE_XRENDERCREATELINEARGRADIENT 1" >>confdefs.h
12187 if test "x$ac_cv_lib_soname_Xrender" = "x"; then :
12188 case "x$with_xrender" in
12189 x) as_fn_append wine_warnings "|libxrender ${notice_platform}development files not found, XRender won't be supported." ;;
12190 xno) ;;
12191 *) as_fn_error $? "libxrender ${notice_platform}development files not found, XRender won't be supported.
12192 This is an error since --with-xrender was requested." "$LINENO" 5 ;;
12193 esac
12197 if test "$ac_cv_header_X11_extensions_Xrandr_h" = "yes" -a "x$ac_cv_lib_soname_Xrender" != "x"
12198 then
12199 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12200 /* end confdefs.h. */
12201 #include <X11/Xlib.h>
12202 #include <X11/extensions/Xrandr.h>
12204 main ()
12206 static typeof(XRRSetScreenConfigAndRate) * func; if (func) return 0;
12208 return 0;
12210 _ACEOF
12211 if ac_fn_c_try_compile "$LINENO"; then :
12212 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXrandr" >&5
12213 $as_echo_n "checking for -lXrandr... " >&6; }
12214 if ${ac_cv_lib_soname_Xrandr+:} false; then :
12215 $as_echo_n "(cached) " >&6
12216 else
12217 ac_check_soname_save_LIBS=$LIBS
12218 LIBS="-lXrandr $X_LIBS $X_EXTRA_LIBS $LIBS"
12219 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12220 /* end confdefs.h. */
12222 /* Override any GCC internal prototype to avoid an error.
12223 Use char because int might match the return type of a GCC
12224 builtin and then its argument prototype would still apply. */
12225 #ifdef __cplusplus
12226 extern "C"
12227 #endif
12228 char XRRQueryExtension ();
12230 main ()
12232 return XRRQueryExtension ();
12234 return 0;
12236 _ACEOF
12237 if ac_fn_c_try_link "$LINENO"; then :
12238 case "$LIBEXT" in
12239 dll) ac_cv_lib_soname_Xrandr=`$ac_cv_path_LDD conftest.exe | grep "Xrandr" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12240 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'` ;;
12241 *) ac_cv_lib_soname_Xrandr=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrandr\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrandr\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12242 if ${ac_cv_lib_soname_Xrandr:+false} :; then :
12243 ac_cv_lib_soname_Xrandr=`$LDD conftest$ac_exeext | grep "libXrandr\\.$LIBEXT" | sed -e "s/^.*\(libXrandr\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12244 fi ;;
12245 esac
12246 else
12247 ac_cv_lib_soname_Xrandr=
12249 rm -f core conftest.err conftest.$ac_objext \
12250 conftest$ac_exeext conftest.$ac_ext
12251 LIBS=$ac_check_soname_save_LIBS
12253 if ${ac_cv_lib_soname_Xrandr:+false} :; then :
12254 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12255 $as_echo "not found" >&6; }
12257 else
12258 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrandr" >&5
12259 $as_echo "$ac_cv_lib_soname_Xrandr" >&6; }
12261 cat >>confdefs.h <<_ACEOF
12262 #define SONAME_LIBXRANDR "$ac_cv_lib_soname_Xrandr"
12263 _ACEOF
12265 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12266 /* end confdefs.h. */
12267 #include <X11/Xlib.h>
12268 #include <X11/extensions/Xrandr.h>
12270 main ()
12272 static typeof(XRRGetProviderResources) *f; if (f) return 0;
12274 return 0;
12276 _ACEOF
12277 if ac_fn_c_try_compile "$LINENO"; then :
12279 $as_echo "#define HAVE_XRRGETPROVIDERRESOURCES 1" >>confdefs.h
12281 else
12282 as_fn_append wine_notices "|libxrandr ${notice_platform}development files too old, XRandR display device handler won't be supported."
12284 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12287 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12289 if test "x$ac_cv_lib_soname_Xrandr" = "x"; then :
12290 case "x$with_xrandr" in
12291 x) as_fn_append wine_notices "|libxrandr ${notice_platform}development files not found, XRandr won't be supported." ;;
12292 xno) ;;
12293 *) as_fn_error $? "libxrandr ${notice_platform}development files not found, XRandr won't be supported.
12294 This is an error since --with-xrandr was requested." "$LINENO" 5 ;;
12295 esac
12299 if test "$ac_cv_header_X11_extensions_Xfixes_h" = "yes"
12300 then
12301 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12302 /* end confdefs.h. */
12303 #include <X11/Xlib.h>
12304 #include <X11/extensions/Xfixes.h>
12306 main ()
12308 static typeof(XFixesQueryVersion) * func; if (func) return 0;
12310 return 0;
12312 _ACEOF
12313 if ac_fn_c_try_compile "$LINENO"; then :
12314 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXfixes" >&5
12315 $as_echo_n "checking for -lXfixes... " >&6; }
12316 if ${ac_cv_lib_soname_Xfixes+:} false; then :
12317 $as_echo_n "(cached) " >&6
12318 else
12319 ac_check_soname_save_LIBS=$LIBS
12320 LIBS="-lXfixes $X_LIBS $X_EXTRA_LIBS $LIBS"
12321 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12322 /* end confdefs.h. */
12324 /* Override any GCC internal prototype to avoid an error.
12325 Use char because int might match the return type of a GCC
12326 builtin and then its argument prototype would still apply. */
12327 #ifdef __cplusplus
12328 extern "C"
12329 #endif
12330 char XFixesQueryVersion ();
12332 main ()
12334 return XFixesQueryVersion ();
12336 return 0;
12338 _ACEOF
12339 if ac_fn_c_try_link "$LINENO"; then :
12340 case "$LIBEXT" in
12341 dll) ac_cv_lib_soname_Xfixes=`$ac_cv_path_LDD conftest.exe | grep "Xfixes" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12342 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'` ;;
12343 *) ac_cv_lib_soname_Xfixes=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXfixes\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXfixes\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12344 if ${ac_cv_lib_soname_Xfixes:+false} :; then :
12345 ac_cv_lib_soname_Xfixes=`$LDD conftest$ac_exeext | grep "libXfixes\\.$LIBEXT" | sed -e "s/^.*\(libXfixes\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12346 fi ;;
12347 esac
12348 else
12349 ac_cv_lib_soname_Xfixes=
12351 rm -f core conftest.err conftest.$ac_objext \
12352 conftest$ac_exeext conftest.$ac_ext
12353 LIBS=$ac_check_soname_save_LIBS
12355 if ${ac_cv_lib_soname_Xfixes:+false} :; then :
12356 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12357 $as_echo "not found" >&6; }
12359 else
12360 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xfixes" >&5
12361 $as_echo "$ac_cv_lib_soname_Xfixes" >&6; }
12363 cat >>confdefs.h <<_ACEOF
12364 #define SONAME_LIBXFIXES "$ac_cv_lib_soname_Xfixes"
12365 _ACEOF
12370 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12372 if test "x$ac_cv_lib_soname_Xfixes" = "x"; then :
12373 case "x$with_xfixes" in
12374 x) as_fn_append wine_notices "|libxfixes ${notice_platform}development files not found, Xfixes won't be supported." ;;
12375 xno) ;;
12376 *) as_fn_error $? "libxfixes ${notice_platform}development files not found, Xfixes won't be supported.
12377 This is an error since --with-xfixes was requested." "$LINENO" 5 ;;
12378 esac
12382 if test "$ac_cv_header_X11_extensions_Xinerama_h" = "yes"
12383 then
12384 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12385 /* end confdefs.h. */
12386 #include <X11/Xlib.h>
12387 #include <X11/extensions/Xinerama.h>
12389 main ()
12391 static typeof(XineramaQueryScreens) * func; if (func) return 0;
12393 return 0;
12395 _ACEOF
12396 if ac_fn_c_try_compile "$LINENO"; then :
12397 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXinerama" >&5
12398 $as_echo_n "checking for -lXinerama... " >&6; }
12399 if ${ac_cv_lib_soname_Xinerama+:} false; then :
12400 $as_echo_n "(cached) " >&6
12401 else
12402 ac_check_soname_save_LIBS=$LIBS
12403 LIBS="-lXinerama $X_LIBS $X_EXTRA_LIBS $LIBS"
12404 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12405 /* end confdefs.h. */
12407 /* Override any GCC internal prototype to avoid an error.
12408 Use char because int might match the return type of a GCC
12409 builtin and then its argument prototype would still apply. */
12410 #ifdef __cplusplus
12411 extern "C"
12412 #endif
12413 char XineramaQueryScreens ();
12415 main ()
12417 return XineramaQueryScreens ();
12419 return 0;
12421 _ACEOF
12422 if ac_fn_c_try_link "$LINENO"; then :
12423 case "$LIBEXT" in
12424 dll) ac_cv_lib_soname_Xinerama=`$ac_cv_path_LDD conftest.exe | grep "Xinerama" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12425 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'` ;;
12426 *) ac_cv_lib_soname_Xinerama=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXinerama\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXinerama\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12427 if ${ac_cv_lib_soname_Xinerama:+false} :; then :
12428 ac_cv_lib_soname_Xinerama=`$LDD conftest$ac_exeext | grep "libXinerama\\.$LIBEXT" | sed -e "s/^.*\(libXinerama\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12429 fi ;;
12430 esac
12431 else
12432 ac_cv_lib_soname_Xinerama=
12434 rm -f core conftest.err conftest.$ac_objext \
12435 conftest$ac_exeext conftest.$ac_ext
12436 LIBS=$ac_check_soname_save_LIBS
12438 if ${ac_cv_lib_soname_Xinerama:+false} :; then :
12439 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12440 $as_echo "not found" >&6; }
12442 else
12443 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xinerama" >&5
12444 $as_echo "$ac_cv_lib_soname_Xinerama" >&6; }
12446 cat >>confdefs.h <<_ACEOF
12447 #define SONAME_LIBXINERAMA "$ac_cv_lib_soname_Xinerama"
12448 _ACEOF
12453 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12455 if test "x$ac_cv_lib_soname_Xinerama" = "x"; then :
12456 case "x$with_xinerama" in
12457 x) as_fn_append wine_notices "|libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported." ;;
12458 xno) ;;
12459 *) as_fn_error $? "libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported.
12460 This is an error since --with-xinerama was requested." "$LINENO" 5 ;;
12461 esac
12465 if test "$ac_cv_header_X11_extensions_Xcomposite_h" = "yes"
12466 then
12467 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXcomposite" >&5
12468 $as_echo_n "checking for -lXcomposite... " >&6; }
12469 if ${ac_cv_lib_soname_Xcomposite+:} false; then :
12470 $as_echo_n "(cached) " >&6
12471 else
12472 ac_check_soname_save_LIBS=$LIBS
12473 LIBS="-lXcomposite $X_LIBS $X_EXTRA_LIBS $LIBS"
12474 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12475 /* end confdefs.h. */
12477 /* Override any GCC internal prototype to avoid an error.
12478 Use char because int might match the return type of a GCC
12479 builtin and then its argument prototype would still apply. */
12480 #ifdef __cplusplus
12481 extern "C"
12482 #endif
12483 char XCompositeRedirectWindow ();
12485 main ()
12487 return XCompositeRedirectWindow ();
12489 return 0;
12491 _ACEOF
12492 if ac_fn_c_try_link "$LINENO"; then :
12493 case "$LIBEXT" in
12494 dll) ac_cv_lib_soname_Xcomposite=`$ac_cv_path_LDD conftest.exe | grep "Xcomposite" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12495 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'` ;;
12496 *) ac_cv_lib_soname_Xcomposite=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcomposite\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcomposite\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12497 if ${ac_cv_lib_soname_Xcomposite:+false} :; then :
12498 ac_cv_lib_soname_Xcomposite=`$LDD conftest$ac_exeext | grep "libXcomposite\\.$LIBEXT" | sed -e "s/^.*\(libXcomposite\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12499 fi ;;
12500 esac
12501 else
12502 ac_cv_lib_soname_Xcomposite=
12504 rm -f core conftest.err conftest.$ac_objext \
12505 conftest$ac_exeext conftest.$ac_ext
12506 LIBS=$ac_check_soname_save_LIBS
12508 if ${ac_cv_lib_soname_Xcomposite:+false} :; then :
12509 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12510 $as_echo "not found" >&6; }
12512 else
12513 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcomposite" >&5
12514 $as_echo "$ac_cv_lib_soname_Xcomposite" >&6; }
12516 cat >>confdefs.h <<_ACEOF
12517 #define SONAME_LIBXCOMPOSITE "$ac_cv_lib_soname_Xcomposite"
12518 _ACEOF
12523 if test "x$ac_cv_lib_soname_Xcomposite" = "x"; then :
12524 case "x$with_xcomposite" in
12525 x) as_fn_append wine_notices "|libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported." ;;
12526 xno) ;;
12527 *) as_fn_error $? "libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported.
12528 This is an error since --with-xcomposite was requested." "$LINENO" 5 ;;
12529 esac
12533 ac_fn_c_check_member "$LINENO" "XICCallback" "callback" "ac_cv_member_XICCallback_callback" "#ifdef HAVE_X11_XLIB_H
12534 #include <X11/Xlib.h>
12535 #endif
12537 if test "x$ac_cv_member_XICCallback_callback" = xyes; then :
12539 cat >>confdefs.h <<_ACEOF
12540 #define HAVE_XICCALLBACK_CALLBACK 1
12541 _ACEOF
12545 ac_fn_c_check_member "$LINENO" "XEvent" "xcookie" "ac_cv_member_XEvent_xcookie" "#ifdef HAVE_X11_XLIB_H
12546 #include <X11/Xlib.h>
12547 #endif
12549 if test "x$ac_cv_member_XEvent_xcookie" = xyes; then :
12551 cat >>confdefs.h <<_ACEOF
12552 #define HAVE_XEVENT_XCOOKIE 1
12553 _ACEOF
12560 opengl_msg=""
12561 if test "x$with_opengl" != "xno"
12562 then
12563 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
12564 $as_echo_n "checking for -lGL... " >&6; }
12565 if ${ac_cv_lib_soname_GL+:} false; then :
12566 $as_echo_n "(cached) " >&6
12567 else
12568 ac_check_soname_save_LIBS=$LIBS
12569 LIBS="-lGL $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
12570 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12571 /* end confdefs.h. */
12573 /* Override any GCC internal prototype to avoid an error.
12574 Use char because int might match the return type of a GCC
12575 builtin and then its argument prototype would still apply. */
12576 #ifdef __cplusplus
12577 extern "C"
12578 #endif
12579 char glXCreateContext ();
12581 main ()
12583 return glXCreateContext ();
12585 return 0;
12587 _ACEOF
12588 if ac_fn_c_try_link "$LINENO"; then :
12589 case "$LIBEXT" in
12590 dll) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12591 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'` ;;
12592 *) ac_cv_lib_soname_GL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12593 if ${ac_cv_lib_soname_GL:+false} :; then :
12594 ac_cv_lib_soname_GL=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12595 fi ;;
12596 esac
12597 else
12598 ac_cv_lib_soname_GL=
12600 rm -f core conftest.err conftest.$ac_objext \
12601 conftest$ac_exeext conftest.$ac_ext
12602 LIBS=$ac_check_soname_save_LIBS
12604 if ${ac_cv_lib_soname_GL:+false} :; then :
12605 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12606 $as_echo "not found" >&6; }
12607 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
12608 $as_echo_n "checking for -lGL... " >&6; }
12609 if ${ac_cv_lib_soname_GL+:} false; then :
12610 $as_echo_n "(cached) " >&6
12611 else
12612 ac_check_soname_save_LIBS=$LIBS
12613 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"
12614 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12615 /* end confdefs.h. */
12617 /* Override any GCC internal prototype to avoid an error.
12618 Use char because int might match the return type of a GCC
12619 builtin and then its argument prototype would still apply. */
12620 #ifdef __cplusplus
12621 extern "C"
12622 #endif
12623 char glXCreateContext ();
12625 main ()
12627 return glXCreateContext ();
12629 return 0;
12631 _ACEOF
12632 if ac_fn_c_try_link "$LINENO"; then :
12633 case "$LIBEXT" in
12634 dll) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12635 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'` ;;
12636 *) ac_cv_lib_soname_GL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12637 if ${ac_cv_lib_soname_GL:+false} :; then :
12638 ac_cv_lib_soname_GL=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12639 fi ;;
12640 esac
12641 else
12642 ac_cv_lib_soname_GL=
12644 rm -f core conftest.err conftest.$ac_objext \
12645 conftest$ac_exeext conftest.$ac_ext
12646 LIBS=$ac_check_soname_save_LIBS
12648 if ${ac_cv_lib_soname_GL:+false} :; then :
12649 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12650 $as_echo "not found" >&6; }
12651 if test -f /usr/X11R6/lib/libGL.a
12652 then
12653 opengl_msg="/usr/X11R6/lib/libGL.a is present on your system.
12654 This probably prevents linking to OpenGL. Try deleting the file and restarting configure."
12655 else
12656 opengl_msg="No OpenGL library found on this system."
12658 else
12659 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
12660 $as_echo "$ac_cv_lib_soname_GL" >&6; }
12662 cat >>confdefs.h <<_ACEOF
12663 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
12664 _ACEOF
12666 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"
12668 else
12669 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
12670 $as_echo "$ac_cv_lib_soname_GL" >&6; }
12672 cat >>confdefs.h <<_ACEOF
12673 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
12674 _ACEOF
12676 OPENGL_LIBS="-lGL"
12678 if test "x$with_osmesa" != "xno"
12679 then
12680 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lOSMesa" >&5
12681 $as_echo_n "checking for -lOSMesa... " >&6; }
12682 if ${ac_cv_lib_soname_OSMesa+:} false; then :
12683 $as_echo_n "(cached) " >&6
12684 else
12685 ac_check_soname_save_LIBS=$LIBS
12686 LIBS="-lOSMesa $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
12687 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12688 /* end confdefs.h. */
12690 /* Override any GCC internal prototype to avoid an error.
12691 Use char because int might match the return type of a GCC
12692 builtin and then its argument prototype would still apply. */
12693 #ifdef __cplusplus
12694 extern "C"
12695 #endif
12696 char OSMesaGetProcAddress ();
12698 main ()
12700 return OSMesaGetProcAddress ();
12702 return 0;
12704 _ACEOF
12705 if ac_fn_c_try_link "$LINENO"; then :
12706 case "$LIBEXT" in
12707 dll) ac_cv_lib_soname_OSMesa=`$ac_cv_path_LDD conftest.exe | grep "OSMesa" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12708 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'` ;;
12709 *) ac_cv_lib_soname_OSMesa=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libOSMesa\\.$LIBEXT" | sed -e "s/^.*\\[\\(libOSMesa\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12710 if ${ac_cv_lib_soname_OSMesa:+false} :; then :
12711 ac_cv_lib_soname_OSMesa=`$LDD conftest$ac_exeext | grep "libOSMesa\\.$LIBEXT" | sed -e "s/^.*\(libOSMesa\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12712 fi ;;
12713 esac
12714 else
12715 ac_cv_lib_soname_OSMesa=
12717 rm -f core conftest.err conftest.$ac_objext \
12718 conftest$ac_exeext conftest.$ac_ext
12719 LIBS=$ac_check_soname_save_LIBS
12721 if ${ac_cv_lib_soname_OSMesa:+false} :; then :
12722 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12723 $as_echo "not found" >&6; }
12725 else
12726 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_OSMesa" >&5
12727 $as_echo "$ac_cv_lib_soname_OSMesa" >&6; }
12729 cat >>confdefs.h <<_ACEOF
12730 #define SONAME_LIBOSMESA "$ac_cv_lib_soname_OSMesa"
12731 _ACEOF
12735 if test "x$ac_cv_lib_soname_OSMesa" = "x"; then :
12736 case "x$with_osmesa" in
12737 x) as_fn_append wine_notices "|libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported." ;;
12738 xno) ;;
12739 *) as_fn_error $? "libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported.
12740 This is an error since --with-osmesa was requested." "$LINENO" 5 ;;
12741 esac
12746 if test -n "$opengl_msg"; then :
12747 case "x$with_opengl" in
12748 x) as_fn_append wine_warnings "|$opengl_msg
12749 OpenGL and Direct3D won't be supported." ;;
12750 xno) ;;
12751 *) as_fn_error $? "$opengl_msg
12752 OpenGL and Direct3D won't be supported.
12753 This is an error since --with-opengl was requested." "$LINENO" 5 ;;
12754 esac
12758 CPPFLAGS="$ac_save_CPPFLAGS"
12759 else
12760 X_CFLAGS=""
12761 X_LIBS=""
12764 if test "$enable_wineandroid_drv$enable_winemac_drv" = "nono"
12765 then
12766 if test "x$X_LIBS" = "x"; then :
12767 case "x$with_x" in
12768 xno) ;;
12769 *) as_fn_error $? "X ${notice_platform}development files not found. Wine will be built
12770 without X support, which probably isn't what you want. You will need
12771 to install ${notice_platform}development packages of Xlib at the very least.
12772 Use the --without-x option if you really want this." "$LINENO" 5 ;;
12773 esac
12774 enable_winex11_drv=${enable_winex11_drv:-no}
12776 else
12777 if test "x$X_LIBS" = "x"; then :
12778 case "x$with_x" in
12779 x) as_fn_append wine_notices "|X ${notice_platform}development files not found, the X11 driver won't be supported." ;;
12780 xno) ;;
12781 *) as_fn_error $? "X ${notice_platform}development files not found, the X11 driver won't be supported.
12782 This is an error since --with-x was requested." "$LINENO" 5 ;;
12783 esac
12784 enable_winex11_drv=${enable_winex11_drv:-no}
12788 if test "$ac_cv_header_CL_cl_h" = "yes"
12789 then
12790 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clGetPlatformInfo in -lOpenCL" >&5
12791 $as_echo_n "checking for clGetPlatformInfo in -lOpenCL... " >&6; }
12792 if ${ac_cv_lib_OpenCL_clGetPlatformInfo+:} false; then :
12793 $as_echo_n "(cached) " >&6
12794 else
12795 ac_check_lib_save_LIBS=$LIBS
12796 LIBS="-lOpenCL $LIBS"
12797 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12798 /* end confdefs.h. */
12800 /* Override any GCC internal prototype to avoid an error.
12801 Use char because int might match the return type of a GCC
12802 builtin and then its argument prototype would still apply. */
12803 #ifdef __cplusplus
12804 extern "C"
12805 #endif
12806 char clGetPlatformInfo ();
12808 main ()
12810 return clGetPlatformInfo ();
12812 return 0;
12814 _ACEOF
12815 if ac_fn_c_try_link "$LINENO"; then :
12816 ac_cv_lib_OpenCL_clGetPlatformInfo=yes
12817 else
12818 ac_cv_lib_OpenCL_clGetPlatformInfo=no
12820 rm -f core conftest.err conftest.$ac_objext \
12821 conftest$ac_exeext conftest.$ac_ext
12822 LIBS=$ac_check_lib_save_LIBS
12824 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_OpenCL_clGetPlatformInfo" >&5
12825 $as_echo "$ac_cv_lib_OpenCL_clGetPlatformInfo" >&6; }
12826 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" = xyes; then :
12827 OPENCL_LIBS="-lOpenCL"
12832 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" != xyes; then :
12833 case "x$with_opencl" in
12834 x) as_fn_append wine_notices "|OpenCL ${notice_platform}development files not found, OpenCL won't be supported." ;;
12835 xno) ;;
12836 *) as_fn_error $? "OpenCL ${notice_platform}development files not found, OpenCL won't be supported.
12837 This is an error since --with-opencl was requested." "$LINENO" 5 ;;
12838 esac
12839 enable_opencl=${enable_opencl:-no}
12842 if test "$ac_cv_header_pcap_pcap_h" = "yes"
12843 then
12844 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pcap_create in -lpcap" >&5
12845 $as_echo_n "checking for pcap_create in -lpcap... " >&6; }
12846 if ${ac_cv_lib_pcap_pcap_create+:} false; then :
12847 $as_echo_n "(cached) " >&6
12848 else
12849 ac_check_lib_save_LIBS=$LIBS
12850 LIBS="-lpcap $LIBS"
12851 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12852 /* end confdefs.h. */
12854 /* Override any GCC internal prototype to avoid an error.
12855 Use char because int might match the return type of a GCC
12856 builtin and then its argument prototype would still apply. */
12857 #ifdef __cplusplus
12858 extern "C"
12859 #endif
12860 char pcap_create ();
12862 main ()
12864 return pcap_create ();
12866 return 0;
12868 _ACEOF
12869 if ac_fn_c_try_link "$LINENO"; then :
12870 ac_cv_lib_pcap_pcap_create=yes
12871 else
12872 ac_cv_lib_pcap_pcap_create=no
12874 rm -f core conftest.err conftest.$ac_objext \
12875 conftest$ac_exeext conftest.$ac_ext
12876 LIBS=$ac_check_lib_save_LIBS
12878 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pcap_pcap_create" >&5
12879 $as_echo "$ac_cv_lib_pcap_pcap_create" >&6; }
12880 if test "x$ac_cv_lib_pcap_pcap_create" = xyes; then :
12881 PCAP_LIBS="-lpcap"
12886 if test "x$ac_cv_lib_pcap_pcap_create" != xyes; then :
12887 case "x$with_pcap" in
12888 x) as_fn_append wine_notices "|pcap ${notice_platform}development files not found, wpcap won't be supported." ;;
12889 xno) ;;
12890 *) as_fn_error $? "pcap ${notice_platform}development files not found, wpcap won't be supported.
12891 This is an error since --with-pcap was requested." "$LINENO" 5 ;;
12892 esac
12893 enable_wpcap=${enable_wpcap:-no}
12897 if test "x$with_xml" != "xno"
12898 then
12899 if ${XML2_CFLAGS:+false} :; then :
12900 if ${PKG_CONFIG+:} false; then :
12901 XML2_CFLAGS=`$PKG_CONFIG --cflags libxml-2.0 2>/dev/null`
12904 test "$cross_compiling" = yes || XML2_CFLAGS=${XML2_CFLAGS:-`${XML2_CONFIG:-xml2-config} --cflags 2>/dev/null`}
12905 if ${XML2_LIBS:+false} :; then :
12906 if ${PKG_CONFIG+:} false; then :
12907 XML2_LIBS=`$PKG_CONFIG --libs libxml-2.0 2>/dev/null`
12910 test "$cross_compiling" = yes || XML2_LIBS=${XML2_LIBS:-`${XML2_CONFIG:-xml2-config} --libs 2>/dev/null`}
12911 XML2_LIBS=${XML2_LIBS:-"-lxml2"}
12912 $as_echo "$as_me:${as_lineno-$LINENO}: libxml-2.0 cflags: $XML2_CFLAGS" >&5
12913 $as_echo "$as_me:${as_lineno-$LINENO}: libxml-2.0 libs: $XML2_LIBS" >&5
12914 ac_save_CPPFLAGS=$CPPFLAGS
12915 CPPFLAGS="$CPPFLAGS $XML2_CFLAGS"
12916 for ac_header in libxml/parser.h libxml/xmlsave.h libxml/SAX2.h
12917 do :
12918 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
12919 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
12920 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
12921 cat >>confdefs.h <<_ACEOF
12922 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
12923 _ACEOF
12927 done
12929 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"
12930 then
12931 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlParseMemory in -lxml2" >&5
12932 $as_echo_n "checking for xmlParseMemory in -lxml2... " >&6; }
12933 if ${ac_cv_lib_xml2_xmlParseMemory+:} false; then :
12934 $as_echo_n "(cached) " >&6
12935 else
12936 ac_check_lib_save_LIBS=$LIBS
12937 LIBS="-lxml2 $XML2_LIBS $LIBS"
12938 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12939 /* end confdefs.h. */
12941 /* Override any GCC internal prototype to avoid an error.
12942 Use char because int might match the return type of a GCC
12943 builtin and then its argument prototype would still apply. */
12944 #ifdef __cplusplus
12945 extern "C"
12946 #endif
12947 char xmlParseMemory ();
12949 main ()
12951 return xmlParseMemory ();
12953 return 0;
12955 _ACEOF
12956 if ac_fn_c_try_link "$LINENO"; then :
12957 ac_cv_lib_xml2_xmlParseMemory=yes
12958 else
12959 ac_cv_lib_xml2_xmlParseMemory=no
12961 rm -f core conftest.err conftest.$ac_objext \
12962 conftest$ac_exeext conftest.$ac_ext
12963 LIBS=$ac_check_lib_save_LIBS
12965 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlParseMemory" >&5
12966 $as_echo "$ac_cv_lib_xml2_xmlParseMemory" >&6; }
12967 if test "x$ac_cv_lib_xml2_xmlParseMemory" = xyes; then :
12969 $as_echo "#define HAVE_LIBXML2 1" >>confdefs.h
12971 else
12972 XML2_LIBS=""
12975 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlReadMemory in -lxml2" >&5
12976 $as_echo_n "checking for xmlReadMemory in -lxml2... " >&6; }
12977 if ${ac_cv_lib_xml2_xmlReadMemory+:} false; then :
12978 $as_echo_n "(cached) " >&6
12979 else
12980 ac_check_lib_save_LIBS=$LIBS
12981 LIBS="-lxml2 $XML2_LIBS $LIBS"
12982 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12983 /* end confdefs.h. */
12985 /* Override any GCC internal prototype to avoid an error.
12986 Use char because int might match the return type of a GCC
12987 builtin and then its argument prototype would still apply. */
12988 #ifdef __cplusplus
12989 extern "C"
12990 #endif
12991 char xmlReadMemory ();
12993 main ()
12995 return xmlReadMemory ();
12997 return 0;
12999 _ACEOF
13000 if ac_fn_c_try_link "$LINENO"; then :
13001 ac_cv_lib_xml2_xmlReadMemory=yes
13002 else
13003 ac_cv_lib_xml2_xmlReadMemory=no
13005 rm -f core conftest.err conftest.$ac_objext \
13006 conftest$ac_exeext conftest.$ac_ext
13007 LIBS=$ac_check_lib_save_LIBS
13009 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlReadMemory" >&5
13010 $as_echo "$ac_cv_lib_xml2_xmlReadMemory" >&6; }
13011 if test "x$ac_cv_lib_xml2_xmlReadMemory" = xyes; then :
13013 $as_echo "#define HAVE_XMLREADMEMORY 1" >>confdefs.h
13017 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlNewDocPI in -lxml2" >&5
13018 $as_echo_n "checking for xmlNewDocPI in -lxml2... " >&6; }
13019 if ${ac_cv_lib_xml2_xmlNewDocPI+:} false; then :
13020 $as_echo_n "(cached) " >&6
13021 else
13022 ac_check_lib_save_LIBS=$LIBS
13023 LIBS="-lxml2 $XML2_LIBS $LIBS"
13024 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13025 /* end confdefs.h. */
13027 /* Override any GCC internal prototype to avoid an error.
13028 Use char because int might match the return type of a GCC
13029 builtin and then its argument prototype would still apply. */
13030 #ifdef __cplusplus
13031 extern "C"
13032 #endif
13033 char xmlNewDocPI ();
13035 main ()
13037 return xmlNewDocPI ();
13039 return 0;
13041 _ACEOF
13042 if ac_fn_c_try_link "$LINENO"; then :
13043 ac_cv_lib_xml2_xmlNewDocPI=yes
13044 else
13045 ac_cv_lib_xml2_xmlNewDocPI=no
13047 rm -f core conftest.err conftest.$ac_objext \
13048 conftest$ac_exeext conftest.$ac_ext
13049 LIBS=$ac_check_lib_save_LIBS
13051 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlNewDocPI" >&5
13052 $as_echo "$ac_cv_lib_xml2_xmlNewDocPI" >&6; }
13053 if test "x$ac_cv_lib_xml2_xmlNewDocPI" = xyes; then :
13055 $as_echo "#define HAVE_XMLNEWDOCPI 1" >>confdefs.h
13059 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlSchemaSetParserStructuredErrors in -lxml2" >&5
13060 $as_echo_n "checking for xmlSchemaSetParserStructuredErrors in -lxml2... " >&6; }
13061 if ${ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors+:} false; then :
13062 $as_echo_n "(cached) " >&6
13063 else
13064 ac_check_lib_save_LIBS=$LIBS
13065 LIBS="-lxml2 $XML2_LIBS $LIBS"
13066 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13067 /* end confdefs.h. */
13069 /* Override any GCC internal prototype to avoid an error.
13070 Use char because int might match the return type of a GCC
13071 builtin and then its argument prototype would still apply. */
13072 #ifdef __cplusplus
13073 extern "C"
13074 #endif
13075 char xmlSchemaSetParserStructuredErrors ();
13077 main ()
13079 return xmlSchemaSetParserStructuredErrors ();
13081 return 0;
13083 _ACEOF
13084 if ac_fn_c_try_link "$LINENO"; then :
13085 ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors=yes
13086 else
13087 ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors=no
13089 rm -f core conftest.err conftest.$ac_objext \
13090 conftest$ac_exeext conftest.$ac_ext
13091 LIBS=$ac_check_lib_save_LIBS
13093 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" >&5
13094 $as_echo "$ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" >&6; }
13095 if test "x$ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" = xyes; then :
13097 $as_echo "#define HAVE_XMLSCHEMASSETPARSERSTRUCTUREDERRORS 1" >>confdefs.h
13101 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlSchemaSetValidStructuredErrors in -lxml2" >&5
13102 $as_echo_n "checking for xmlSchemaSetValidStructuredErrors in -lxml2... " >&6; }
13103 if ${ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors+:} false; then :
13104 $as_echo_n "(cached) " >&6
13105 else
13106 ac_check_lib_save_LIBS=$LIBS
13107 LIBS="-lxml2 $XML2_LIBS $LIBS"
13108 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13109 /* end confdefs.h. */
13111 /* Override any GCC internal prototype to avoid an error.
13112 Use char because int might match the return type of a GCC
13113 builtin and then its argument prototype would still apply. */
13114 #ifdef __cplusplus
13115 extern "C"
13116 #endif
13117 char xmlSchemaSetValidStructuredErrors ();
13119 main ()
13121 return xmlSchemaSetValidStructuredErrors ();
13123 return 0;
13125 _ACEOF
13126 if ac_fn_c_try_link "$LINENO"; then :
13127 ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors=yes
13128 else
13129 ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors=no
13131 rm -f core conftest.err conftest.$ac_objext \
13132 conftest$ac_exeext conftest.$ac_ext
13133 LIBS=$ac_check_lib_save_LIBS
13135 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" >&5
13136 $as_echo "$ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" >&6; }
13137 if test "x$ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" = xyes; then :
13139 $as_echo "#define HAVE_XMLSCHEMASSETVALIDSTRUCTUREDERRORS 1" >>confdefs.h
13143 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlFirstElementChild in -lxml2" >&5
13144 $as_echo_n "checking for xmlFirstElementChild in -lxml2... " >&6; }
13145 if ${ac_cv_lib_xml2_xmlFirstElementChild+:} false; then :
13146 $as_echo_n "(cached) " >&6
13147 else
13148 ac_check_lib_save_LIBS=$LIBS
13149 LIBS="-lxml2 $XML2_LIBS $LIBS"
13150 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13151 /* end confdefs.h. */
13153 /* Override any GCC internal prototype to avoid an error.
13154 Use char because int might match the return type of a GCC
13155 builtin and then its argument prototype would still apply. */
13156 #ifdef __cplusplus
13157 extern "C"
13158 #endif
13159 char xmlFirstElementChild ();
13161 main ()
13163 return xmlFirstElementChild ();
13165 return 0;
13167 _ACEOF
13168 if ac_fn_c_try_link "$LINENO"; then :
13169 ac_cv_lib_xml2_xmlFirstElementChild=yes
13170 else
13171 ac_cv_lib_xml2_xmlFirstElementChild=no
13173 rm -f core conftest.err conftest.$ac_objext \
13174 conftest$ac_exeext conftest.$ac_ext
13175 LIBS=$ac_check_lib_save_LIBS
13177 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlFirstElementChild" >&5
13178 $as_echo "$ac_cv_lib_xml2_xmlFirstElementChild" >&6; }
13179 if test "x$ac_cv_lib_xml2_xmlFirstElementChild" = xyes; then :
13181 $as_echo "#define HAVE_XMLFIRSTELEMENTCHILD 1" >>confdefs.h
13185 ac_fn_c_check_type "$LINENO" "xmlDocProperties" "ac_cv_type_xmlDocProperties" "#include <libxml/tree.h>
13187 if test "x$ac_cv_type_xmlDocProperties" = xyes; then :
13189 $as_echo "#define HAVE_XMLDOC_PROPERTIES 1" >>confdefs.h
13193 else
13194 XML2_CFLAGS=""
13195 XML2_LIBS=""
13197 CPPFLAGS=$ac_save_CPPFLAGS
13200 if test "$ac_cv_lib_xml2_xmlParseMemory" != "yes"; then :
13201 case "x$with_xml" in
13202 x) as_fn_append wine_warnings "|libxml2 ${notice_platform}development files not found (or too old), XML won't be supported." ;;
13203 xno) ;;
13204 *) as_fn_error $? "libxml2 ${notice_platform}development files not found (or too old), XML won't be supported.
13205 This is an error since --with-xml was requested." "$LINENO" 5 ;;
13206 esac
13210 if test "x$with_xslt" != "xno"
13211 then
13212 if ${XSLT_CFLAGS:+false} :; then :
13213 if ${PKG_CONFIG+:} false; then :
13214 XSLT_CFLAGS=`$PKG_CONFIG --cflags libxslt 2>/dev/null`
13217 test "$cross_compiling" = yes || XSLT_CFLAGS=${XSLT_CFLAGS:-`${XSLT_CONFIG:-xslt-config} --cflags 2>/dev/null`}
13218 if ${XSLT_LIBS:+false} :; then :
13219 if ${PKG_CONFIG+:} false; then :
13220 XSLT_LIBS=`$PKG_CONFIG --libs libxslt 2>/dev/null`
13223 test "$cross_compiling" = yes || XSLT_LIBS=${XSLT_LIBS:-`${XSLT_CONFIG:-xslt-config} --libs 2>/dev/null`}
13224 XSLT_LIBS=${XSLT_LIBS:-"-lxml2"}
13225 $as_echo "$as_me:${as_lineno-$LINENO}: libxslt cflags: $XSLT_CFLAGS" >&5
13226 $as_echo "$as_me:${as_lineno-$LINENO}: libxslt libs: $XSLT_LIBS" >&5
13227 ac_save_CPPFLAGS=$CPPFLAGS
13228 CPPFLAGS="$CPPFLAGS $XSLT_CFLAGS"
13229 for ac_header in libxslt/pattern.h libxslt/transform.h
13230 do :
13231 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
13232 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_LIBXSLT_PATTERN_H
13233 # include <libxslt/pattern.h>
13234 #endif
13236 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
13237 cat >>confdefs.h <<_ACEOF
13238 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
13239 _ACEOF
13243 done
13245 if test "$ac_cv_header_libxslt_transform_h" = "yes"
13246 then
13247 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lxslt" >&5
13248 $as_echo_n "checking for -lxslt... " >&6; }
13249 if ${ac_cv_lib_soname_xslt+:} false; then :
13250 $as_echo_n "(cached) " >&6
13251 else
13252 ac_check_soname_save_LIBS=$LIBS
13253 LIBS="-lxslt $XSLT_LIBS $LIBS"
13254 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13255 /* end confdefs.h. */
13257 /* Override any GCC internal prototype to avoid an error.
13258 Use char because int might match the return type of a GCC
13259 builtin and then its argument prototype would still apply. */
13260 #ifdef __cplusplus
13261 extern "C"
13262 #endif
13263 char xsltCompilePattern ();
13265 main ()
13267 return xsltCompilePattern ();
13269 return 0;
13271 _ACEOF
13272 if ac_fn_c_try_link "$LINENO"; then :
13273 case "$LIBEXT" in
13274 dll) ac_cv_lib_soname_xslt=`$ac_cv_path_LDD conftest.exe | grep "xslt" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13275 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'` ;;
13276 *) ac_cv_lib_soname_xslt=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libxslt\\.$LIBEXT" | sed -e "s/^.*\\[\\(libxslt\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13277 if ${ac_cv_lib_soname_xslt:+false} :; then :
13278 ac_cv_lib_soname_xslt=`$LDD conftest$ac_exeext | grep "libxslt\\.$LIBEXT" | sed -e "s/^.*\(libxslt\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13279 fi ;;
13280 esac
13281 else
13282 ac_cv_lib_soname_xslt=
13284 rm -f core conftest.err conftest.$ac_objext \
13285 conftest$ac_exeext conftest.$ac_ext
13286 LIBS=$ac_check_soname_save_LIBS
13288 if ${ac_cv_lib_soname_xslt:+false} :; then :
13289 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13290 $as_echo "not found" >&6; }
13292 else
13293 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_xslt" >&5
13294 $as_echo "$ac_cv_lib_soname_xslt" >&6; }
13296 cat >>confdefs.h <<_ACEOF
13297 #define SONAME_LIBXSLT "$ac_cv_lib_soname_xslt"
13298 _ACEOF
13302 else
13303 XSLT_CFLAGS=""
13305 CPPFLAGS=$ac_save_CPPFLAGS
13308 if test "x$ac_cv_lib_soname_xslt" = "x"; then :
13309 case "x$with_xslt" in
13310 x) as_fn_append wine_warnings "|libxslt ${notice_platform}development files not found, xslt won't be supported." ;;
13311 xno) ;;
13312 *) as_fn_error $? "libxslt ${notice_platform}development files not found, xslt won't be supported.
13313 This is an error since --with-xslt was requested." "$LINENO" 5 ;;
13314 esac
13318 if test "x$with_inotify" != "xno"
13319 then
13320 if ${INOTIFY_CFLAGS:+false} :; then :
13321 if ${PKG_CONFIG+:} false; then :
13322 INOTIFY_CFLAGS=`$PKG_CONFIG --cflags libinotify 2>/dev/null`
13326 if ${INOTIFY_LIBS:+false} :; then :
13327 if ${PKG_CONFIG+:} false; then :
13328 INOTIFY_LIBS=`$PKG_CONFIG --libs libinotify 2>/dev/null`
13333 $as_echo "$as_me:${as_lineno-$LINENO}: libinotify cflags: $INOTIFY_CFLAGS" >&5
13334 $as_echo "$as_me:${as_lineno-$LINENO}: libinotify libs: $INOTIFY_LIBS" >&5
13335 ac_save_CPPFLAGS=$CPPFLAGS
13336 CPPFLAGS="$CPPFLAGS $INOTIFY_CFLAGS"
13337 for ac_header in sys/inotify.h
13338 do :
13339 ac_fn_c_check_header_mongrel "$LINENO" "sys/inotify.h" "ac_cv_header_sys_inotify_h" "$ac_includes_default"
13340 if test "x$ac_cv_header_sys_inotify_h" = xyes; then :
13341 cat >>confdefs.h <<_ACEOF
13342 #define HAVE_SYS_INOTIFY_H 1
13343 _ACEOF
13347 done
13349 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inotify_add_watch in -linotify" >&5
13350 $as_echo_n "checking for inotify_add_watch in -linotify... " >&6; }
13351 if ${ac_cv_lib_inotify_inotify_add_watch+:} false; then :
13352 $as_echo_n "(cached) " >&6
13353 else
13354 ac_check_lib_save_LIBS=$LIBS
13355 LIBS="-linotify $INOTIFY_LIBS $LIBS"
13356 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13357 /* end confdefs.h. */
13359 /* Override any GCC internal prototype to avoid an error.
13360 Use char because int might match the return type of a GCC
13361 builtin and then its argument prototype would still apply. */
13362 #ifdef __cplusplus
13363 extern "C"
13364 #endif
13365 char inotify_add_watch ();
13367 main ()
13369 return inotify_add_watch ();
13371 return 0;
13373 _ACEOF
13374 if ac_fn_c_try_link "$LINENO"; then :
13375 ac_cv_lib_inotify_inotify_add_watch=yes
13376 else
13377 ac_cv_lib_inotify_inotify_add_watch=no
13379 rm -f core conftest.err conftest.$ac_objext \
13380 conftest$ac_exeext conftest.$ac_ext
13381 LIBS=$ac_check_lib_save_LIBS
13383 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_inotify_inotify_add_watch" >&5
13384 $as_echo "$ac_cv_lib_inotify_inotify_add_watch" >&6; }
13385 if test "x$ac_cv_lib_inotify_inotify_add_watch" = xyes; then :
13387 else
13388 INOTIFY_LIBS=""
13391 CPPFLAGS=$ac_save_CPPFLAGS
13394 if test "$ac_cv_header_sys_inotify_h" != "yes"; then :
13395 case "x$with_inotify" in
13396 x) as_fn_append wine_notices "|libinotify ${notice_platform}development files not found (or too old), filesystem change notifications won't be supported." ;;
13397 xno) ;;
13398 *) as_fn_error $? "libinotify ${notice_platform}development files not found (or too old), filesystem change notifications won't be supported.
13399 This is an error since --with-inotify was requested." "$LINENO" 5 ;;
13400 esac
13404 if test "x$with_dbus" != "xno"
13405 then
13406 if ${DBUS_CFLAGS:+false} :; then :
13407 if ${PKG_CONFIG+:} false; then :
13408 DBUS_CFLAGS=`$PKG_CONFIG --cflags dbus-1 2>/dev/null`
13412 if ${DBUS_LIBS:+false} :; then :
13413 if ${PKG_CONFIG+:} false; then :
13414 DBUS_LIBS=`$PKG_CONFIG --libs dbus-1 2>/dev/null`
13419 $as_echo "$as_me:${as_lineno-$LINENO}: dbus-1 cflags: $DBUS_CFLAGS" >&5
13420 $as_echo "$as_me:${as_lineno-$LINENO}: dbus-1 libs: $DBUS_LIBS" >&5
13421 ac_save_CPPFLAGS=$CPPFLAGS
13422 CPPFLAGS="$CPPFLAGS $DBUS_CFLAGS"
13423 ac_fn_c_check_header_mongrel "$LINENO" "dbus/dbus.h" "ac_cv_header_dbus_dbus_h" "$ac_includes_default"
13424 if test "x$ac_cv_header_dbus_dbus_h" = xyes; then :
13425 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ldbus-1" >&5
13426 $as_echo_n "checking for -ldbus-1... " >&6; }
13427 if ${ac_cv_lib_soname_dbus_1+:} false; then :
13428 $as_echo_n "(cached) " >&6
13429 else
13430 ac_check_soname_save_LIBS=$LIBS
13431 LIBS="-ldbus-1 $DBUS_LIBS $LIBS"
13432 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13433 /* end confdefs.h. */
13435 /* Override any GCC internal prototype to avoid an error.
13436 Use char because int might match the return type of a GCC
13437 builtin and then its argument prototype would still apply. */
13438 #ifdef __cplusplus
13439 extern "C"
13440 #endif
13441 char dbus_connection_close ();
13443 main ()
13445 return dbus_connection_close ();
13447 return 0;
13449 _ACEOF
13450 if ac_fn_c_try_link "$LINENO"; then :
13451 case "$LIBEXT" in
13452 dll) ac_cv_lib_soname_dbus_1=`$ac_cv_path_LDD conftest.exe | grep "dbus-1" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13453 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'` ;;
13454 *) 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'`
13455 if ${ac_cv_lib_soname_dbus_1:+false} :; then :
13456 ac_cv_lib_soname_dbus_1=`$LDD conftest$ac_exeext | grep "libdbus-1\\.$LIBEXT" | sed -e "s/^.*\(libdbus-1\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13457 fi ;;
13458 esac
13459 else
13460 ac_cv_lib_soname_dbus_1=
13462 rm -f core conftest.err conftest.$ac_objext \
13463 conftest$ac_exeext conftest.$ac_ext
13464 LIBS=$ac_check_soname_save_LIBS
13466 if ${ac_cv_lib_soname_dbus_1:+false} :; then :
13467 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13468 $as_echo "not found" >&6; }
13469 DBUS_CFLAGS=""
13470 else
13471 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_dbus_1" >&5
13472 $as_echo "$ac_cv_lib_soname_dbus_1" >&6; }
13474 cat >>confdefs.h <<_ACEOF
13475 #define SONAME_LIBDBUS_1 "$ac_cv_lib_soname_dbus_1"
13476 _ACEOF
13480 else
13481 DBUS_CFLAGS=""
13485 CPPFLAGS=$ac_save_CPPFLAGS
13488 if test "x$ac_cv_lib_soname_dbus_1" = "x" -a \
13489 "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"; then :
13490 case "x$with_dbus" in
13491 x) as_fn_append wine_notices "|libdbus ${notice_platform}development files not found, no dynamic device support." ;;
13492 xno) ;;
13493 *) as_fn_error $? "libdbus ${notice_platform}development files not found, no dynamic device support.
13494 This is an error since --with-dbus was requested." "$LINENO" 5 ;;
13495 esac
13499 if test "x$with_hal" != "xno" -a "x$ac_cv_lib_soname_dbus_1" != x
13500 then
13501 if ${HAL_CFLAGS:+false} :; then :
13502 if ${PKG_CONFIG+:} false; then :
13503 HAL_CFLAGS=`$PKG_CONFIG --cflags hal 2>/dev/null`
13507 if ${HAL_LIBS:+false} :; then :
13508 if ${PKG_CONFIG+:} false; then :
13509 HAL_LIBS=`$PKG_CONFIG --libs hal 2>/dev/null`
13513 HAL_LIBS=${HAL_LIBS:-"-ldbus-1"}
13514 $as_echo "$as_me:${as_lineno-$LINENO}: hal cflags: $HAL_CFLAGS" >&5
13515 $as_echo "$as_me:${as_lineno-$LINENO}: hal libs: $HAL_LIBS" >&5
13516 ac_save_CPPFLAGS=$CPPFLAGS
13517 CPPFLAGS="$CPPFLAGS $HAL_CFLAGS"
13518 ac_fn_c_check_header_mongrel "$LINENO" "hal/libhal.h" "ac_cv_header_hal_libhal_h" "$ac_includes_default"
13519 if test "x$ac_cv_header_hal_libhal_h" = xyes; then :
13520 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lhal" >&5
13521 $as_echo_n "checking for -lhal... " >&6; }
13522 if ${ac_cv_lib_soname_hal+:} false; then :
13523 $as_echo_n "(cached) " >&6
13524 else
13525 ac_check_soname_save_LIBS=$LIBS
13526 LIBS="-lhal $HAL_LIBS $LIBS"
13527 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13528 /* end confdefs.h. */
13530 /* Override any GCC internal prototype to avoid an error.
13531 Use char because int might match the return type of a GCC
13532 builtin and then its argument prototype would still apply. */
13533 #ifdef __cplusplus
13534 extern "C"
13535 #endif
13536 char libhal_ctx_new ();
13538 main ()
13540 return libhal_ctx_new ();
13542 return 0;
13544 _ACEOF
13545 if ac_fn_c_try_link "$LINENO"; then :
13546 case "$LIBEXT" in
13547 dll) ac_cv_lib_soname_hal=`$ac_cv_path_LDD conftest.exe | grep "hal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13548 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'` ;;
13549 *) ac_cv_lib_soname_hal=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libhal\\.$LIBEXT" | sed -e "s/^.*\\[\\(libhal\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13550 if ${ac_cv_lib_soname_hal:+false} :; then :
13551 ac_cv_lib_soname_hal=`$LDD conftest$ac_exeext | grep "libhal\\.$LIBEXT" | sed -e "s/^.*\(libhal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13552 fi ;;
13553 esac
13554 else
13555 ac_cv_lib_soname_hal=
13557 rm -f core conftest.err conftest.$ac_objext \
13558 conftest$ac_exeext conftest.$ac_ext
13559 LIBS=$ac_check_soname_save_LIBS
13561 if ${ac_cv_lib_soname_hal:+false} :; then :
13562 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13563 $as_echo "not found" >&6; }
13564 HAL_CFLAGS=""
13565 else
13566 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_hal" >&5
13567 $as_echo "$ac_cv_lib_soname_hal" >&6; }
13569 cat >>confdefs.h <<_ACEOF
13570 #define SONAME_LIBHAL "$ac_cv_lib_soname_hal"
13571 _ACEOF
13575 else
13576 HAL_CFLAGS=""
13580 CPPFLAGS=$ac_save_CPPFLAGS
13582 if test "x$ac_cv_lib_soname_hal" = "x" -a \
13583 "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"; then :
13584 case "x$with_hal" in
13585 x) as_fn_append wine_notices "|libhal ${notice_platform}development files not found, no legacy dynamic device support." ;;
13586 xno) ;;
13587 *) as_fn_error $? "libhal ${notice_platform}development files not found, no legacy dynamic device support.
13588 This is an error since --with-hal was requested." "$LINENO" 5 ;;
13589 esac
13594 if test "x$with_gnutls" != "xno"
13595 then
13596 if ${GNUTLS_CFLAGS:+false} :; then :
13597 if ${PKG_CONFIG+:} false; then :
13598 GNUTLS_CFLAGS=`$PKG_CONFIG --cflags gnutls 2>/dev/null`
13602 if ${GNUTLS_LIBS:+false} :; then :
13603 if ${PKG_CONFIG+:} false; then :
13604 GNUTLS_LIBS=`$PKG_CONFIG --libs gnutls 2>/dev/null`
13608 GNUTLS_LIBS=${GNUTLS_LIBS:-"-lgnutls"}
13609 $as_echo "$as_me:${as_lineno-$LINENO}: gnutls cflags: $GNUTLS_CFLAGS" >&5
13610 $as_echo "$as_me:${as_lineno-$LINENO}: gnutls libs: $GNUTLS_LIBS" >&5
13611 ac_save_CPPFLAGS=$CPPFLAGS
13612 CPPFLAGS="$CPPFLAGS $GNUTLS_CFLAGS"
13613 ac_fn_c_check_header_mongrel "$LINENO" "gnutls/gnutls.h" "ac_cv_header_gnutls_gnutls_h" "$ac_includes_default"
13614 if test "x$ac_cv_header_gnutls_gnutls_h" = xyes; then :
13615 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13616 /* end confdefs.h. */
13617 #include <gnutls/gnutls.h>
13618 #include <gnutls/crypto.h>
13620 main ()
13622 static typeof(gnutls_mac_get_key_size) *func; if (func) return 0;
13624 return 0;
13626 _ACEOF
13627 if ac_fn_c_try_compile "$LINENO"; then :
13628 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgnutls" >&5
13629 $as_echo_n "checking for -lgnutls... " >&6; }
13630 if ${ac_cv_lib_soname_gnutls+:} false; then :
13631 $as_echo_n "(cached) " >&6
13632 else
13633 ac_check_soname_save_LIBS=$LIBS
13634 LIBS="-lgnutls $GNUTLS_LIBS $LIBS"
13635 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13636 /* end confdefs.h. */
13638 /* Override any GCC internal prototype to avoid an error.
13639 Use char because int might match the return type of a GCC
13640 builtin and then its argument prototype would still apply. */
13641 #ifdef __cplusplus
13642 extern "C"
13643 #endif
13644 char gnutls_global_init ();
13646 main ()
13648 return gnutls_global_init ();
13650 return 0;
13652 _ACEOF
13653 if ac_fn_c_try_link "$LINENO"; then :
13654 case "$LIBEXT" in
13655 dll) ac_cv_lib_soname_gnutls=`$ac_cv_path_LDD conftest.exe | grep "gnutls" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13656 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'` ;;
13657 *) 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'`
13658 if ${ac_cv_lib_soname_gnutls:+false} :; then :
13659 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'`
13660 fi ;;
13661 esac
13662 else
13663 ac_cv_lib_soname_gnutls=
13665 rm -f core conftest.err conftest.$ac_objext \
13666 conftest$ac_exeext conftest.$ac_ext
13667 LIBS=$ac_check_soname_save_LIBS
13669 if ${ac_cv_lib_soname_gnutls:+false} :; then :
13670 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13671 $as_echo "not found" >&6; }
13672 GNUTLS_CFLAGS=""
13673 else
13674 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gnutls" >&5
13675 $as_echo "$ac_cv_lib_soname_gnutls" >&6; }
13677 cat >>confdefs.h <<_ACEOF
13678 #define SONAME_LIBGNUTLS "$ac_cv_lib_soname_gnutls"
13679 _ACEOF
13683 ac_wine_check_funcs_save_LIBS="$LIBS"
13684 LIBS="$LIBS $GNUTLS_LIBS"
13685 for ac_func in gnutls_cipher_init
13686 do :
13687 ac_fn_c_check_func "$LINENO" "gnutls_cipher_init" "ac_cv_func_gnutls_cipher_init"
13688 if test "x$ac_cv_func_gnutls_cipher_init" = xyes; then :
13689 cat >>confdefs.h <<_ACEOF
13690 #define HAVE_GNUTLS_CIPHER_INIT 1
13691 _ACEOF
13693 else
13694 as_fn_append wine_notices "|libgnutls ${notice_platform}development files too old, bcrypt encryption won't be supported."
13696 done
13698 LIBS="$ac_wine_check_funcs_save_LIBS"
13700 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13701 else
13702 GNUTLS_CFLAGS=""
13706 CPPFLAGS=$ac_save_CPPFLAGS
13709 if test "x$ac_cv_lib_soname_gnutls" = "x"; then :
13710 case "x$with_gnutls" in
13711 x) as_fn_append wine_warnings "|libgnutls ${notice_platform}development files not found, no schannel support." ;;
13712 xno) ;;
13713 *) as_fn_error $? "libgnutls ${notice_platform}development files not found, no schannel support.
13714 This is an error since --with-gnutls was requested." "$LINENO" 5 ;;
13715 esac
13719 if test "x$with_sane" != "xno"
13720 then
13721 if ${SANE_CFLAGS:+false} :; then :
13722 if ${PKG_CONFIG+:} false; then :
13723 SANE_CFLAGS=`$PKG_CONFIG --cflags sane-backends 2>/dev/null`
13726 test "$cross_compiling" = yes || SANE_CFLAGS=${SANE_CFLAGS:-`${SANE_CONFIG:-sane-config} --cflags 2>/dev/null`}
13727 if ${SANE_LIBS:+false} :; then :
13728 if ${PKG_CONFIG+:} false; then :
13729 SANE_LIBS=`$PKG_CONFIG --libs sane-backends 2>/dev/null`
13732 test "$cross_compiling" = yes || SANE_LIBS=${SANE_LIBS:-`${SANE_CONFIG:-sane-config} --ldflags 2>/dev/null`}
13734 $as_echo "$as_me:${as_lineno-$LINENO}: sane-backends cflags: $SANE_CFLAGS" >&5
13735 $as_echo "$as_me:${as_lineno-$LINENO}: sane-backends libs: $SANE_LIBS" >&5
13736 ac_save_CPPFLAGS=$CPPFLAGS
13737 CPPFLAGS="$CPPFLAGS $SANE_CFLAGS"
13738 ac_fn_c_check_header_mongrel "$LINENO" "sane/sane.h" "ac_cv_header_sane_sane_h" "$ac_includes_default"
13739 if test "x$ac_cv_header_sane_sane_h" = xyes; then :
13740 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lsane" >&5
13741 $as_echo_n "checking for -lsane... " >&6; }
13742 if ${ac_cv_lib_soname_sane+:} false; then :
13743 $as_echo_n "(cached) " >&6
13744 else
13745 ac_check_soname_save_LIBS=$LIBS
13746 LIBS="-lsane $SANE_LIBS $LIBS"
13747 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13748 /* end confdefs.h. */
13750 /* Override any GCC internal prototype to avoid an error.
13751 Use char because int might match the return type of a GCC
13752 builtin and then its argument prototype would still apply. */
13753 #ifdef __cplusplus
13754 extern "C"
13755 #endif
13756 char sane_init ();
13758 main ()
13760 return sane_init ();
13762 return 0;
13764 _ACEOF
13765 if ac_fn_c_try_link "$LINENO"; then :
13766 case "$LIBEXT" in
13767 dll) ac_cv_lib_soname_sane=`$ac_cv_path_LDD conftest.exe | grep "sane" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13768 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'` ;;
13769 *) ac_cv_lib_soname_sane=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libsane\\.$LIBEXT" | sed -e "s/^.*\\[\\(libsane\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13770 if ${ac_cv_lib_soname_sane:+false} :; then :
13771 ac_cv_lib_soname_sane=`$LDD conftest$ac_exeext | grep "libsane\\.$LIBEXT" | sed -e "s/^.*\(libsane\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13772 fi ;;
13773 esac
13774 else
13775 ac_cv_lib_soname_sane=
13777 rm -f core conftest.err conftest.$ac_objext \
13778 conftest$ac_exeext conftest.$ac_ext
13779 LIBS=$ac_check_soname_save_LIBS
13781 if ${ac_cv_lib_soname_sane:+false} :; then :
13782 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13783 $as_echo "not found" >&6; }
13784 SANE_CFLAGS=""
13785 else
13786 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_sane" >&5
13787 $as_echo "$ac_cv_lib_soname_sane" >&6; }
13789 cat >>confdefs.h <<_ACEOF
13790 #define SONAME_LIBSANE "$ac_cv_lib_soname_sane"
13791 _ACEOF
13795 else
13796 SANE_CFLAGS=""
13800 CPPFLAGS=$ac_save_CPPFLAGS
13803 if test "x$ac_cv_lib_soname_sane" = "x"; then :
13804 case "x$with_sane" in
13805 x) as_fn_append wine_notices "|libsane ${notice_platform}development files not found, scanners won't be supported." ;;
13806 xno) ;;
13807 *) as_fn_error $? "libsane ${notice_platform}development files not found, scanners won't be supported.
13808 This is an error since --with-sane was requested." "$LINENO" 5 ;;
13809 esac
13813 if test "x$with_usb" != "xno"
13814 then
13815 if ${USB_CFLAGS:+false} :; then :
13816 if ${PKG_CONFIG+:} false; then :
13817 USB_CFLAGS=`$PKG_CONFIG --cflags libusb-1.0 2>/dev/null`
13821 if ${USB_LIBS:+false} :; then :
13822 if ${PKG_CONFIG+:} false; then :
13823 USB_LIBS=`$PKG_CONFIG --libs libusb-1.0 2>/dev/null`
13827 USB_LIBS=${USB_LIBS:-"-lusb-1.0"}
13828 $as_echo "$as_me:${as_lineno-$LINENO}: libusb-1.0 cflags: $USB_CFLAGS" >&5
13829 $as_echo "$as_me:${as_lineno-$LINENO}: libusb-1.0 libs: $USB_LIBS" >&5
13830 ac_save_CPPFLAGS=$CPPFLAGS
13831 CPPFLAGS="$CPPFLAGS $USB_CFLAGS"
13832 ac_fn_c_check_header_mongrel "$LINENO" "libusb.h" "ac_cv_header_libusb_h" "$ac_includes_default"
13833 if test "x$ac_cv_header_libusb_h" = xyes; then :
13834 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libusb_interrupt_event_handler in -lusb-1.0" >&5
13835 $as_echo_n "checking for libusb_interrupt_event_handler in -lusb-1.0... " >&6; }
13836 if ${ac_cv_lib_usb_1_0_libusb_interrupt_event_handler+:} false; then :
13837 $as_echo_n "(cached) " >&6
13838 else
13839 ac_check_lib_save_LIBS=$LIBS
13840 LIBS="-lusb-1.0 $USB_LIBS $LIBS"
13841 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13842 /* end confdefs.h. */
13844 /* Override any GCC internal prototype to avoid an error.
13845 Use char because int might match the return type of a GCC
13846 builtin and then its argument prototype would still apply. */
13847 #ifdef __cplusplus
13848 extern "C"
13849 #endif
13850 char libusb_interrupt_event_handler ();
13852 main ()
13854 return libusb_interrupt_event_handler ();
13856 return 0;
13858 _ACEOF
13859 if ac_fn_c_try_link "$LINENO"; then :
13860 ac_cv_lib_usb_1_0_libusb_interrupt_event_handler=yes
13861 else
13862 ac_cv_lib_usb_1_0_libusb_interrupt_event_handler=no
13864 rm -f core conftest.err conftest.$ac_objext \
13865 conftest$ac_exeext conftest.$ac_ext
13866 LIBS=$ac_check_lib_save_LIBS
13868 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_usb_1_0_libusb_interrupt_event_handler" >&5
13869 $as_echo "$ac_cv_lib_usb_1_0_libusb_interrupt_event_handler" >&6; }
13870 if test "x$ac_cv_lib_usb_1_0_libusb_interrupt_event_handler" = xyes; then :
13872 else
13873 USB_LIBS=""
13876 else
13877 USB_LIBS=""
13881 CPPFLAGS=$ac_save_CPPFLAGS
13884 if test "$ac_cv_lib_usb_1_0_libusb_interrupt_event_handler" != "yes"; then :
13885 case "x$with_usb" in
13886 x) as_fn_append wine_notices "|libusb-1.0 ${notice_platform}development files not found (or too old), USB devices won't be supported." ;;
13887 xno) ;;
13888 *) as_fn_error $? "libusb-1.0 ${notice_platform}development files not found (or too old), USB devices won't be supported.
13889 This is an error since --with-usb was requested." "$LINENO" 5 ;;
13890 esac
13891 enable_wineusb_sys=${enable_wineusb_sys:-no}
13894 if test "x$with_v4l2" != "xno"
13895 then
13896 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lv4l2" >&5
13897 $as_echo_n "checking for -lv4l2... " >&6; }
13898 if ${ac_cv_lib_soname_v4l2+:} false; then :
13899 $as_echo_n "(cached) " >&6
13900 else
13901 ac_check_soname_save_LIBS=$LIBS
13902 LIBS="-lv4l2 $LIBS"
13903 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13904 /* end confdefs.h. */
13906 /* Override any GCC internal prototype to avoid an error.
13907 Use char because int might match the return type of a GCC
13908 builtin and then its argument prototype would still apply. */
13909 #ifdef __cplusplus
13910 extern "C"
13911 #endif
13912 char v4l2_open ();
13914 main ()
13916 return v4l2_open ();
13918 return 0;
13920 _ACEOF
13921 if ac_fn_c_try_link "$LINENO"; then :
13922 case "$LIBEXT" in
13923 dll) ac_cv_lib_soname_v4l2=`$ac_cv_path_LDD conftest.exe | grep "v4l2" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13924 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'` ;;
13925 *) ac_cv_lib_soname_v4l2=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libv4l2\\.$LIBEXT" | sed -e "s/^.*\\[\\(libv4l2\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13926 if ${ac_cv_lib_soname_v4l2:+false} :; then :
13927 ac_cv_lib_soname_v4l2=`$LDD conftest$ac_exeext | grep "libv4l2\\.$LIBEXT" | sed -e "s/^.*\(libv4l2\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13928 fi ;;
13929 esac
13930 else
13931 ac_cv_lib_soname_v4l2=
13933 rm -f core conftest.err conftest.$ac_objext \
13934 conftest$ac_exeext conftest.$ac_ext
13935 LIBS=$ac_check_soname_save_LIBS
13937 if ${ac_cv_lib_soname_v4l2:+false} :; then :
13938 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13939 $as_echo "not found" >&6; }
13941 else
13942 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_v4l2" >&5
13943 $as_echo "$ac_cv_lib_soname_v4l2" >&6; }
13945 cat >>confdefs.h <<_ACEOF
13946 #define SONAME_LIBV4L2 "$ac_cv_lib_soname_v4l2"
13947 _ACEOF
13952 if test "x$ac_cv_lib_soname_v4l2" = "x"; then :
13953 case "x$with_v4l2" in
13954 x) as_fn_append wine_notices "|libv4l2 ${notice_platform}development files not found." ;;
13955 xno) ;;
13956 *) as_fn_error $? "libv4l2 ${notice_platform}development files not found.
13957 This is an error since --with-v4l2 was requested." "$LINENO" 5 ;;
13958 esac
13962 if test "x$with_gphoto" != "xno"
13963 then
13964 if ${GPHOTO2_CFLAGS:+false} :; then :
13965 if ${PKG_CONFIG+:} false; then :
13966 GPHOTO2_CFLAGS=`$PKG_CONFIG --cflags libgphoto2 2>/dev/null`
13969 test "$cross_compiling" = yes || GPHOTO2_CFLAGS=${GPHOTO2_CFLAGS:-`${GPHOTO2_CONFIG:-gphoto2-config} --cflags 2>/dev/null`}
13970 if ${GPHOTO2_LIBS:+false} :; then :
13971 if ${PKG_CONFIG+:} false; then :
13972 GPHOTO2_LIBS=`$PKG_CONFIG --libs libgphoto2 2>/dev/null`
13975 test "$cross_compiling" = yes || GPHOTO2_LIBS=${GPHOTO2_LIBS:-`${GPHOTO2_CONFIG:-gphoto2-config} --libs 2>/dev/null`}
13976 GPHOTO2_LIBS=${GPHOTO2_LIBS:-"-lgphoto2"}
13977 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2 cflags: $GPHOTO2_CFLAGS" >&5
13978 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2 libs: $GPHOTO2_LIBS" >&5
13979 ac_save_CPPFLAGS=$CPPFLAGS
13980 CPPFLAGS="$CPPFLAGS $GPHOTO2_CFLAGS"
13981 ac_fn_c_check_header_mongrel "$LINENO" "gphoto2-camera.h" "ac_cv_header_gphoto2_camera_h" "$ac_includes_default"
13982 if test "x$ac_cv_header_gphoto2_camera_h" = xyes; then :
13983 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gp_camera_new in -lgphoto2" >&5
13984 $as_echo_n "checking for gp_camera_new in -lgphoto2... " >&6; }
13985 if ${ac_cv_lib_gphoto2_gp_camera_new+:} false; then :
13986 $as_echo_n "(cached) " >&6
13987 else
13988 ac_check_lib_save_LIBS=$LIBS
13989 LIBS="-lgphoto2 $GPHOTO2_LIBS $LIBS"
13990 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13991 /* end confdefs.h. */
13993 /* Override any GCC internal prototype to avoid an error.
13994 Use char because int might match the return type of a GCC
13995 builtin and then its argument prototype would still apply. */
13996 #ifdef __cplusplus
13997 extern "C"
13998 #endif
13999 char gp_camera_new ();
14001 main ()
14003 return gp_camera_new ();
14005 return 0;
14007 _ACEOF
14008 if ac_fn_c_try_link "$LINENO"; then :
14009 ac_cv_lib_gphoto2_gp_camera_new=yes
14010 else
14011 ac_cv_lib_gphoto2_gp_camera_new=no
14013 rm -f core conftest.err conftest.$ac_objext \
14014 conftest$ac_exeext conftest.$ac_ext
14015 LIBS=$ac_check_lib_save_LIBS
14017 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_gp_camera_new" >&5
14018 $as_echo "$ac_cv_lib_gphoto2_gp_camera_new" >&6; }
14019 if test "x$ac_cv_lib_gphoto2_gp_camera_new" = xyes; then :
14021 $as_echo "#define HAVE_GPHOTO2 1" >>confdefs.h
14023 else
14024 GPHOTO2_LIBS=""; GPHOTO2_CFLAGS=""
14027 else
14028 GPHOTO2_LIBS=""; GPHOTO2_CFLAGS=""
14032 CPPFLAGS=$ac_save_CPPFLAGS
14034 if ${GPHOTO2_PORT_CFLAGS:+false} :; then :
14035 if ${PKG_CONFIG+:} false; then :
14036 GPHOTO2_PORT_CFLAGS=`$PKG_CONFIG --cflags libgphoto2_port 2>/dev/null`
14039 test "$cross_compiling" = yes || GPHOTO2_PORT_CFLAGS=${GPHOTO2_PORT_CFLAGS:-`${GPHOTO2_PORT_CONFIG:-gphoto2-port-config} --cflags 2>/dev/null`}
14040 if ${GPHOTO2_PORT_LIBS:+false} :; then :
14041 if ${PKG_CONFIG+:} false; then :
14042 GPHOTO2_PORT_LIBS=`$PKG_CONFIG --libs libgphoto2_port 2>/dev/null`
14045 test "$cross_compiling" = yes || GPHOTO2_PORT_LIBS=${GPHOTO2_PORT_LIBS:-`${GPHOTO2_PORT_CONFIG:-gphoto2-port-config} --libs 2>/dev/null`}
14046 GPHOTO2_PORT_LIBS=${GPHOTO2_PORT_LIBS:-"-lgphoto2_port"}
14047 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2_port cflags: $GPHOTO2_PORT_CFLAGS" >&5
14048 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2_port libs: $GPHOTO2_PORT_LIBS" >&5
14049 ac_save_CPPFLAGS=$CPPFLAGS
14050 CPPFLAGS="$CPPFLAGS $GPHOTO2_PORT_CFLAGS"
14051 ac_fn_c_check_header_mongrel "$LINENO" "gphoto2-port.h" "ac_cv_header_gphoto2_port_h" "$ac_includes_default"
14052 if test "x$ac_cv_header_gphoto2_port_h" = xyes; then :
14053 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gp_port_info_list_new in -lgphoto2_port" >&5
14054 $as_echo_n "checking for gp_port_info_list_new in -lgphoto2_port... " >&6; }
14055 if ${ac_cv_lib_gphoto2_port_gp_port_info_list_new+:} false; then :
14056 $as_echo_n "(cached) " >&6
14057 else
14058 ac_check_lib_save_LIBS=$LIBS
14059 LIBS="-lgphoto2_port $GPHOTO2_PORT_LIBS $LIBS"
14060 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14061 /* end confdefs.h. */
14063 /* Override any GCC internal prototype to avoid an error.
14064 Use char because int might match the return type of a GCC
14065 builtin and then its argument prototype would still apply. */
14066 #ifdef __cplusplus
14067 extern "C"
14068 #endif
14069 char gp_port_info_list_new ();
14071 main ()
14073 return gp_port_info_list_new ();
14075 return 0;
14077 _ACEOF
14078 if ac_fn_c_try_link "$LINENO"; then :
14079 ac_cv_lib_gphoto2_port_gp_port_info_list_new=yes
14080 else
14081 ac_cv_lib_gphoto2_port_gp_port_info_list_new=no
14083 rm -f core conftest.err conftest.$ac_objext \
14084 conftest$ac_exeext conftest.$ac_ext
14085 LIBS=$ac_check_lib_save_LIBS
14087 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&5
14088 $as_echo "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&6; }
14089 if test "x$ac_cv_lib_gphoto2_port_gp_port_info_list_new" = xyes; then :
14091 $as_echo "#define HAVE_GPHOTO2_PORT 1" >>confdefs.h
14093 else
14094 GPHOTO2_PORT_LIBS=""; GPHOTO2_PORT_CFLAGS=""
14097 else
14098 GPHOTO2_PORT_LIBS=""; GPHOTO2_PORT_CFLAGS=""
14102 CPPFLAGS=$ac_save_CPPFLAGS
14105 if test "$ac_cv_lib_gphoto2_gp_camera_new" != "yes"; then :
14106 case "x$with_gphoto" in
14107 x) as_fn_append wine_notices "|libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported." ;;
14108 xno) ;;
14109 *) as_fn_error $? "libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported.
14110 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
14111 esac
14114 if test "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" != "yes"; then :
14115 case "x$with_gphoto" in
14116 x) as_fn_append wine_notices "|libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected." ;;
14117 xno) ;;
14118 *) as_fn_error $? "libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected.
14119 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
14120 esac
14125 if test "$ac_cv_header_resolv_h" = "yes"
14126 then
14127 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for resolver library" >&5
14128 $as_echo_n "checking for resolver library... " >&6; }
14129 if ${ac_cv_have_resolv+:} false; then :
14130 $as_echo_n "(cached) " >&6
14131 else
14132 ac_save_LIBS="$LIBS"
14133 for lib in '' -lresolv
14135 LIBS="$lib $ac_save_LIBS"
14136 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14137 /* end confdefs.h. */
14138 #ifdef HAVE_NETINET_IN_H
14139 #include <netinet/in.h>
14140 #endif
14141 #include <resolv.h>
14143 main ()
14145 if (!(_res.options & RES_INIT)) res_init(); res_query("foo",ns_c_in,0,0,0)
14147 return 0;
14149 _ACEOF
14150 if ac_fn_c_try_link "$LINENO"; then :
14151 ac_cv_have_resolv=${lib:-"none required"}
14152 else
14153 ac_cv_have_resolv="not found"
14155 rm -f core conftest.err conftest.$ac_objext \
14156 conftest$ac_exeext conftest.$ac_ext
14157 test "x$ac_cv_have_resolv" = "xnot found" || break
14158 done
14159 LIBS="$ac_save_LIBS"
14161 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_resolv" >&5
14162 $as_echo "$ac_cv_have_resolv" >&6; }
14164 case "$ac_cv_have_resolv" in
14165 "not found") ;;
14166 "none required")
14168 $as_echo "#define HAVE_RESOLV 1" >>confdefs.h
14171 $as_echo "#define HAVE_RESOLV 1" >>confdefs.h
14173 RESOLV_LIBS=$ac_cv_have_resolv
14175 esac
14177 if test "x$ac_cv_have_resolv" != "xnot found"
14178 then
14179 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for res_getservers" >&5
14180 $as_echo_n "checking for res_getservers... " >&6; }
14181 if ${ac_cv_have_res_getservers+:} false; then :
14182 $as_echo_n "(cached) " >&6
14183 else
14184 ac_save_LIBS="$LIBS"
14185 LIBS="$RESOLV_LIBS $LIBS"
14186 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14187 /* end confdefs.h. */
14188 #include <resolv.h>
14190 main ()
14192 res_getservers(NULL, NULL, 0);
14194 return 0;
14196 _ACEOF
14197 if ac_fn_c_try_link "$LINENO"; then :
14198 ac_cv_have_res_getservers=yes
14199 else
14200 ac_cv_have_res_getservers=no
14202 rm -f core conftest.err conftest.$ac_objext \
14203 conftest$ac_exeext conftest.$ac_ext
14204 LIBS="$ac_save_LIBS"
14206 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_res_getservers" >&5
14207 $as_echo "$ac_cv_have_res_getservers" >&6; }
14208 if test "$ac_cv_have_res_getservers" = "yes"
14209 then
14211 $as_echo "#define HAVE_RES_GETSERVERS 1" >>confdefs.h
14217 if test "x$with_cms" != "xno"
14218 then
14219 if ${LCMS2_CFLAGS:+false} :; then :
14220 if ${PKG_CONFIG+:} false; then :
14221 LCMS2_CFLAGS=`$PKG_CONFIG --cflags lcms2 2>/dev/null`
14225 if ${LCMS2_LIBS:+false} :; then :
14226 if ${PKG_CONFIG+:} false; then :
14227 LCMS2_LIBS=`$PKG_CONFIG --libs lcms2 2>/dev/null`
14231 LCMS2_LIBS=${LCMS2_LIBS:-"-llcms2"}
14232 $as_echo "$as_me:${as_lineno-$LINENO}: lcms2 cflags: $LCMS2_CFLAGS" >&5
14233 $as_echo "$as_me:${as_lineno-$LINENO}: lcms2 libs: $LCMS2_LIBS" >&5
14234 ac_save_CPPFLAGS=$CPPFLAGS
14235 CPPFLAGS="$CPPFLAGS $LCMS2_CFLAGS"
14236 for ac_header in lcms2.h
14237 do :
14238 ac_fn_c_check_header_mongrel "$LINENO" "lcms2.h" "ac_cv_header_lcms2_h" "$ac_includes_default"
14239 if test "x$ac_cv_header_lcms2_h" = xyes; then :
14240 cat >>confdefs.h <<_ACEOF
14241 #define HAVE_LCMS2_H 1
14242 _ACEOF
14246 done
14248 if test "$ac_cv_header_lcms2_h" = "yes"
14249 then
14250 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cmsOpenProfileFromFile in -llcms2" >&5
14251 $as_echo_n "checking for cmsOpenProfileFromFile in -llcms2... " >&6; }
14252 if ${ac_cv_lib_lcms2_cmsOpenProfileFromFile+:} false; then :
14253 $as_echo_n "(cached) " >&6
14254 else
14255 ac_check_lib_save_LIBS=$LIBS
14256 LIBS="-llcms2 $LCMS2_LIBS $LIBS"
14257 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14258 /* end confdefs.h. */
14260 /* Override any GCC internal prototype to avoid an error.
14261 Use char because int might match the return type of a GCC
14262 builtin and then its argument prototype would still apply. */
14263 #ifdef __cplusplus
14264 extern "C"
14265 #endif
14266 char cmsOpenProfileFromFile ();
14268 main ()
14270 return cmsOpenProfileFromFile ();
14272 return 0;
14274 _ACEOF
14275 if ac_fn_c_try_link "$LINENO"; then :
14276 ac_cv_lib_lcms2_cmsOpenProfileFromFile=yes
14277 else
14278 ac_cv_lib_lcms2_cmsOpenProfileFromFile=no
14280 rm -f core conftest.err conftest.$ac_objext \
14281 conftest$ac_exeext conftest.$ac_ext
14282 LIBS=$ac_check_lib_save_LIBS
14284 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lcms2_cmsOpenProfileFromFile" >&5
14285 $as_echo "$ac_cv_lib_lcms2_cmsOpenProfileFromFile" >&6; }
14286 if test "x$ac_cv_lib_lcms2_cmsOpenProfileFromFile" = xyes; then :
14288 $as_echo "#define HAVE_LCMS2 1" >>confdefs.h
14290 else
14291 LCMS2_LIBS=""
14294 else
14295 LCMS2_CFLAGS=""
14296 LCMS2_LIBS=""
14298 CPPFLAGS=$ac_save_CPPFLAGS
14301 if test "$ac_cv_lib_lcms2_cmsOpenProfileFromFile" != "yes"; then :
14302 case "x$with_cms" in
14303 x) as_fn_append wine_notices "|liblcms2 ${notice_platform}development files not found, Color Management won't be supported." ;;
14304 xno) ;;
14305 *) as_fn_error $? "liblcms2 ${notice_platform}development files not found, Color Management won't be supported.
14306 This is an error since --with-cms was requested." "$LINENO" 5 ;;
14307 esac
14311 if test "x$with_freetype" != "xno"
14312 then
14313 if ${FREETYPE_CFLAGS:+false} :; then :
14314 if ${PKG_CONFIG+:} false; then :
14315 FREETYPE_CFLAGS=`$PKG_CONFIG --cflags freetype2 2>/dev/null`
14318 test "$cross_compiling" = yes || FREETYPE_CFLAGS=${FREETYPE_CFLAGS:-`(${FREETYPE_CONFIG:-freetype-config} --cflags || ${FREETYPE2_CONFIG:-freetype2-config} --cflags) 2>/dev/null`}
14319 if ${FREETYPE_LIBS:+false} :; then :
14320 if ${PKG_CONFIG+:} false; then :
14321 FREETYPE_LIBS=`$PKG_CONFIG --libs freetype2 2>/dev/null`
14324 test "$cross_compiling" = yes || FREETYPE_LIBS=${FREETYPE_LIBS:-`(${FREETYPE_CONFIG:-freetype-config} --libs || ${FREETYPE2_CONFIG:-freetype2-config} --libs) 2>/dev/null`}
14325 FREETYPE_LIBS=${FREETYPE_LIBS:-"-lfreetype"}
14326 $as_echo "$as_me:${as_lineno-$LINENO}: freetype2 cflags: $FREETYPE_CFLAGS" >&5
14327 $as_echo "$as_me:${as_lineno-$LINENO}: freetype2 libs: $FREETYPE_LIBS" >&5
14328 ac_save_CPPFLAGS=$CPPFLAGS
14329 CPPFLAGS="$CPPFLAGS $FREETYPE_CFLAGS"
14330 for ac_header in ft2build.h
14331 do :
14332 ac_fn_c_check_header_mongrel "$LINENO" "ft2build.h" "ac_cv_header_ft2build_h" "$ac_includes_default"
14333 if test "x$ac_cv_header_ft2build_h" = xyes; then :
14334 cat >>confdefs.h <<_ACEOF
14335 #define HAVE_FT2BUILD_H 1
14336 _ACEOF
14340 done
14342 if test "$ac_cv_header_ft2build_h" = "yes"
14343 then
14344 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfreetype" >&5
14345 $as_echo_n "checking for -lfreetype... " >&6; }
14346 if ${ac_cv_lib_soname_freetype+:} false; then :
14347 $as_echo_n "(cached) " >&6
14348 else
14349 ac_check_soname_save_LIBS=$LIBS
14350 LIBS="-lfreetype $FREETYPE_LIBS $LIBS"
14351 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14352 /* end confdefs.h. */
14354 /* Override any GCC internal prototype to avoid an error.
14355 Use char because int might match the return type of a GCC
14356 builtin and then its argument prototype would still apply. */
14357 #ifdef __cplusplus
14358 extern "C"
14359 #endif
14360 char FT_Init_FreeType ();
14362 main ()
14364 return FT_Init_FreeType ();
14366 return 0;
14368 _ACEOF
14369 if ac_fn_c_try_link "$LINENO"; then :
14370 case "$LIBEXT" in
14371 dll) ac_cv_lib_soname_freetype=`$ac_cv_path_LDD conftest.exe | grep "freetype" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14372 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'` ;;
14373 *) ac_cv_lib_soname_freetype=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfreetype\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfreetype\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14374 if ${ac_cv_lib_soname_freetype:+false} :; then :
14375 ac_cv_lib_soname_freetype=`$LDD conftest$ac_exeext | grep "libfreetype\\.$LIBEXT" | sed -e "s/^.*\(libfreetype\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14376 fi ;;
14377 esac
14378 else
14379 ac_cv_lib_soname_freetype=
14381 rm -f core conftest.err conftest.$ac_objext \
14382 conftest$ac_exeext conftest.$ac_ext
14383 LIBS=$ac_check_soname_save_LIBS
14385 if ${ac_cv_lib_soname_freetype:+false} :; then :
14386 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14387 $as_echo "not found" >&6; }
14388 FREETYPE_LIBS=""
14389 else
14390 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_freetype" >&5
14391 $as_echo "$ac_cv_lib_soname_freetype" >&6; }
14393 cat >>confdefs.h <<_ACEOF
14394 #define SONAME_LIBFREETYPE "$ac_cv_lib_soname_freetype"
14395 _ACEOF
14398 $as_echo "#define HAVE_FREETYPE 1" >>confdefs.h
14400 ac_fn_c_check_type "$LINENO" "FT_TrueTypeEngineType" "ac_cv_type_FT_TrueTypeEngineType" "#include <ft2build.h>
14401 #include FT_MODULE_H
14403 if test "x$ac_cv_type_FT_TrueTypeEngineType" = xyes; then :
14405 cat >>confdefs.h <<_ACEOF
14406 #define HAVE_FT_TRUETYPEENGINETYPE 1
14407 _ACEOF
14413 else
14414 FREETYPE_CFLAGS=""
14415 FREETYPE_LIBS=""
14417 CPPFLAGS=$ac_save_CPPFLAGS
14420 if test "x$ac_cv_lib_soname_freetype" = x; then :
14421 case "x$with_freetype" in
14422 xno) ;;
14423 *) as_fn_error $? "FreeType ${notice_platform}development files not found. Fonts will not be built.
14424 Use the --without-freetype option if you really want this." "$LINENO" 5 ;;
14425 esac
14426 enable_fonts=${enable_fonts:-no}
14429 ac_wine_check_funcs_save_LIBS="$LIBS"
14430 LIBS="$LIBS $PTHREAD_LIBS"
14431 for ac_func in \
14432 pthread_getthreadid_np
14433 do :
14434 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
14435 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
14436 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
14437 cat >>confdefs.h <<_ACEOF
14438 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
14439 _ACEOF
14442 done
14444 LIBS="$ac_wine_check_funcs_save_LIBS"
14446 if test "x$enable_tools" != xno -a "x$with_gettextpo" = xyes
14447 then
14448 if test "$ac_cv_header_gettext_po_h" = "yes"
14449 then
14450 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for po_message_msgctxt in -lgettextpo" >&5
14451 $as_echo_n "checking for po_message_msgctxt in -lgettextpo... " >&6; }
14452 if ${ac_cv_lib_gettextpo_po_message_msgctxt+:} false; then :
14453 $as_echo_n "(cached) " >&6
14454 else
14455 ac_check_lib_save_LIBS=$LIBS
14456 LIBS="-lgettextpo $LIBS"
14457 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14458 /* end confdefs.h. */
14460 /* Override any GCC internal prototype to avoid an error.
14461 Use char because int might match the return type of a GCC
14462 builtin and then its argument prototype would still apply. */
14463 #ifdef __cplusplus
14464 extern "C"
14465 #endif
14466 char po_message_msgctxt ();
14468 main ()
14470 return po_message_msgctxt ();
14472 return 0;
14474 _ACEOF
14475 if ac_fn_c_try_link "$LINENO"; then :
14476 ac_cv_lib_gettextpo_po_message_msgctxt=yes
14477 else
14478 ac_cv_lib_gettextpo_po_message_msgctxt=no
14480 rm -f core conftest.err conftest.$ac_objext \
14481 conftest$ac_exeext conftest.$ac_ext
14482 LIBS=$ac_check_lib_save_LIBS
14484 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gettextpo_po_message_msgctxt" >&5
14485 $as_echo "$ac_cv_lib_gettextpo_po_message_msgctxt" >&6; }
14486 if test "x$ac_cv_lib_gettextpo_po_message_msgctxt" = xyes; then :
14488 $as_echo "#define HAVE_LIBGETTEXTPO 1" >>confdefs.h
14490 GETTEXTPO_LIBS="-lgettextpo"
14495 if test "x$GETTEXTPO_LIBS" = "x"; then :
14496 case "x$with_gettextpo" in
14497 x) as_fn_append wine_notices "|GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt." ;;
14498 xno) ;;
14499 *) as_fn_error $? "GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt.
14500 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
14501 esac
14504 if test "$srcdir" != .; then :
14505 case "x$with_gettextpo" in
14506 x) as_fn_append wine_notices "|Rebuilding po files is not supported for out of tree builds." ;;
14507 xno) ;;
14508 *) as_fn_error $? "Rebuilding po files is not supported for out of tree builds.
14509 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
14510 esac
14515 if test "x$with_pulse" != "xno";
14516 then
14517 if ${PULSE_CFLAGS:+false} :; then :
14518 if ${PKG_CONFIG+:} false; then :
14519 PULSE_CFLAGS=`$PKG_CONFIG --cflags libpulse 2>/dev/null`
14523 if ${PULSE_LIBS:+false} :; then :
14524 if ${PKG_CONFIG+:} false; then :
14525 PULSE_LIBS=`$PKG_CONFIG --libs libpulse 2>/dev/null`
14530 $as_echo "$as_me:${as_lineno-$LINENO}: libpulse cflags: $PULSE_CFLAGS" >&5
14531 $as_echo "$as_me:${as_lineno-$LINENO}: libpulse libs: $PULSE_LIBS" >&5
14532 ac_save_CPPFLAGS=$CPPFLAGS
14533 CPPFLAGS="$CPPFLAGS $PULSE_CFLAGS"
14534 for ac_header in pulse/pulseaudio.h
14535 do :
14536 ac_fn_c_check_header_mongrel "$LINENO" "pulse/pulseaudio.h" "ac_cv_header_pulse_pulseaudio_h" "$ac_includes_default"
14537 if test "x$ac_cv_header_pulse_pulseaudio_h" = xyes; then :
14538 cat >>confdefs.h <<_ACEOF
14539 #define HAVE_PULSE_PULSEAUDIO_H 1
14540 _ACEOF
14541 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pa_stream_is_corked in -lpulse" >&5
14542 $as_echo_n "checking for pa_stream_is_corked in -lpulse... " >&6; }
14543 if ${ac_cv_lib_pulse_pa_stream_is_corked+:} false; then :
14544 $as_echo_n "(cached) " >&6
14545 else
14546 ac_check_lib_save_LIBS=$LIBS
14547 LIBS="-lpulse $PULSE_LIBS $LIBS"
14548 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14549 /* end confdefs.h. */
14551 /* Override any GCC internal prototype to avoid an error.
14552 Use char because int might match the return type of a GCC
14553 builtin and then its argument prototype would still apply. */
14554 #ifdef __cplusplus
14555 extern "C"
14556 #endif
14557 char pa_stream_is_corked ();
14559 main ()
14561 return pa_stream_is_corked ();
14563 return 0;
14565 _ACEOF
14566 if ac_fn_c_try_link "$LINENO"; then :
14567 ac_cv_lib_pulse_pa_stream_is_corked=yes
14568 else
14569 ac_cv_lib_pulse_pa_stream_is_corked=no
14571 rm -f core conftest.err conftest.$ac_objext \
14572 conftest$ac_exeext conftest.$ac_ext
14573 LIBS=$ac_check_lib_save_LIBS
14575 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pulse_pa_stream_is_corked" >&5
14576 $as_echo "$ac_cv_lib_pulse_pa_stream_is_corked" >&6; }
14577 if test "x$ac_cv_lib_pulse_pa_stream_is_corked" = xyes; then :
14579 else
14580 PULSE_LIBS=""
14583 else
14584 PULSE_LIBS=""
14587 done
14589 CPPFLAGS=$ac_save_CPPFLAGS
14592 if test -z "$PULSE_LIBS"; then :
14593 case "x$with_pulse" in
14594 x) as_fn_append wine_notices "|libpulse ${notice_platform}development files not found or too old, Pulse won't be supported." ;;
14595 xno) ;;
14596 *) as_fn_error $? "libpulse ${notice_platform}development files not found or too old, Pulse won't be supported.
14597 This is an error since --with-pulse was requested." "$LINENO" 5 ;;
14598 esac
14599 enable_winepulse_drv=${enable_winepulse_drv:-no}
14602 if test "x$with_gstreamer" != "xno"
14603 then
14604 if ${GSTREAMER_CFLAGS:+false} :; then :
14605 if ${PKG_CONFIG+:} false; then :
14606 GSTREAMER_CFLAGS=`$PKG_CONFIG --cflags gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 2>/dev/null`
14610 if ${GSTREAMER_LIBS:+false} :; then :
14611 if ${PKG_CONFIG+:} false; then :
14612 GSTREAMER_LIBS=`$PKG_CONFIG --libs gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 2>/dev/null`
14617 $as_echo "$as_me:${as_lineno-$LINENO}: gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 cflags: $GSTREAMER_CFLAGS" >&5
14618 $as_echo "$as_me:${as_lineno-$LINENO}: gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 libs: $GSTREAMER_LIBS" >&5
14619 ac_save_CPPFLAGS=$CPPFLAGS
14620 CPPFLAGS="$CPPFLAGS $GSTREAMER_CFLAGS"
14621 ac_gst_incl=""
14622 for i in $GSTREAMER_CFLAGS
14624 case "$i" in
14625 -I*) ac_gst_incl="$ac_gst_incl $i";;
14626 esac
14627 done
14628 GSTREAMER_CFLAGS=$ac_gst_incl
14629 CPPFLAGS="$ac_save_CPPFLAGS $GSTREAMER_CFLAGS"
14630 ac_fn_c_check_header_mongrel "$LINENO" "gst/gst.h" "ac_cv_header_gst_gst_h" "$ac_includes_default"
14631 if test "x$ac_cv_header_gst_gst_h" = xyes; then :
14632 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether gint64 defined by gst/gst.h is indeed 64-bit" >&5
14633 $as_echo_n "checking whether gint64 defined by gst/gst.h is indeed 64-bit... " >&6; }
14634 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14635 /* end confdefs.h. */
14636 #include <gst/gst.h>
14638 main ()
14640 static int a[sizeof(gint64) > 4 ? 1 : -1]; if (a[0]) return 0;
14642 return 0;
14644 _ACEOF
14645 if ac_fn_c_try_compile "$LINENO"; then :
14646 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14647 $as_echo "yes" >&6; }
14648 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gst_pad_new in -lgstreamer-1.0" >&5
14649 $as_echo_n "checking for gst_pad_new in -lgstreamer-1.0... " >&6; }
14650 if ${ac_cv_lib_gstreamer_1_0_gst_pad_new+:} false; then :
14651 $as_echo_n "(cached) " >&6
14652 else
14653 ac_check_lib_save_LIBS=$LIBS
14654 LIBS="-lgstreamer-1.0 $GSTREAMER_LIBS $LIBS"
14655 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14656 /* end confdefs.h. */
14658 /* Override any GCC internal prototype to avoid an error.
14659 Use char because int might match the return type of a GCC
14660 builtin and then its argument prototype would still apply. */
14661 #ifdef __cplusplus
14662 extern "C"
14663 #endif
14664 char gst_pad_new ();
14666 main ()
14668 return gst_pad_new ();
14670 return 0;
14672 _ACEOF
14673 if ac_fn_c_try_link "$LINENO"; then :
14674 ac_cv_lib_gstreamer_1_0_gst_pad_new=yes
14675 else
14676 ac_cv_lib_gstreamer_1_0_gst_pad_new=no
14678 rm -f core conftest.err conftest.$ac_objext \
14679 conftest$ac_exeext conftest.$ac_ext
14680 LIBS=$ac_check_lib_save_LIBS
14682 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gstreamer_1_0_gst_pad_new" >&5
14683 $as_echo "$ac_cv_lib_gstreamer_1_0_gst_pad_new" >&6; }
14684 if test "x$ac_cv_lib_gstreamer_1_0_gst_pad_new" = xyes; then :
14688 else
14689 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14690 $as_echo "no" >&6; }
14691 ac_glib2_broken=yes
14692 as_fn_append wine_notices "|glib-2.0 pkgconfig configuration is for the wrong architecture, winegstreamer won't be built."
14694 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14698 CPPFLAGS=$ac_save_CPPFLAGS
14701 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 :
14702 case "x$with_gstreamer" in
14703 x) as_fn_append wine_notices "|gstreamer-1.0 base plugins ${notice_platform}development files not found, GStreamer won't be supported." ;;
14704 xno) ;;
14705 *) as_fn_error $? "gstreamer-1.0 base plugins ${notice_platform}development files not found, GStreamer won't be supported.
14706 This is an error since --with-gstreamer was requested." "$LINENO" 5 ;;
14707 esac
14710 test "x$ac_cv_lib_gstreamer_1_0_gst_pad_new" = xyes || enable_winegstreamer=${enable_winegstreamer:-no}
14712 ALSA_LIBS=""
14714 if test "x$with_alsa" != "xno"
14715 then
14716 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for snd_pcm_hw_params_get_access_mask in -lasound" >&5
14717 $as_echo_n "checking for snd_pcm_hw_params_get_access_mask in -lasound... " >&6; }
14718 if ${ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask+:} false; then :
14719 $as_echo_n "(cached) " >&6
14720 else
14721 ac_check_lib_save_LIBS=$LIBS
14722 LIBS="-lasound $LIBS"
14723 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14724 /* end confdefs.h. */
14726 /* Override any GCC internal prototype to avoid an error.
14727 Use char because int might match the return type of a GCC
14728 builtin and then its argument prototype would still apply. */
14729 #ifdef __cplusplus
14730 extern "C"
14731 #endif
14732 char snd_pcm_hw_params_get_access_mask ();
14734 main ()
14736 return snd_pcm_hw_params_get_access_mask ();
14738 return 0;
14740 _ACEOF
14741 if ac_fn_c_try_link "$LINENO"; then :
14742 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask=yes
14743 else
14744 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask=no
14746 rm -f core conftest.err conftest.$ac_objext \
14747 conftest$ac_exeext conftest.$ac_ext
14748 LIBS=$ac_check_lib_save_LIBS
14750 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&5
14751 $as_echo "$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&6; }
14752 if test "x$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" = xyes; then :
14753 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14754 /* end confdefs.h. */
14755 #include <alsa/asoundlib.h>
14757 main ()
14759 snd_pcm_hw_params_get_access_mask(NULL, NULL)
14761 return 0;
14763 _ACEOF
14764 if ac_fn_c_try_compile "$LINENO"; then :
14765 ALSA_LIBS="-lasound"
14767 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14771 test -n "$ALSA_LIBS" || enable_winealsa_drv=${enable_winealsa_drv:-no}
14773 if test "x$with_oss" != xno
14774 then
14775 ac_save_CPPFLAGS="$CPPFLAGS"
14776 if test -f /etc/oss.conf
14777 then
14778 . /etc/oss.conf
14780 ac_oss_incl="-I${OSSLIBDIR:-/usr/lib/oss}/include"
14781 CPPFLAGS="$CPPFLAGS $ac_oss_incl"
14782 ac_fn_c_check_header_mongrel "$LINENO" "sys/soundcard.h" "ac_cv_header_sys_soundcard_h" "$ac_includes_default"
14783 if test "x$ac_cv_header_sys_soundcard_h" = xyes; then :
14784 ac_fn_c_check_member "$LINENO" "oss_sysinfo" "numaudioengines" "ac_cv_member_oss_sysinfo_numaudioengines" "#include <sys/soundcard.h>
14786 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" = xyes; then :
14788 cat >>confdefs.h <<_ACEOF
14789 #define HAVE_OSS_SYSINFO_NUMAUDIOENGINES 1
14790 _ACEOF
14792 OSS4_CFLAGS="$ac_oss_incl"
14794 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _oss_ioctl in -lossaudio" >&5
14795 $as_echo_n "checking for _oss_ioctl in -lossaudio... " >&6; }
14796 if ${ac_cv_lib_ossaudio__oss_ioctl+:} false; then :
14797 $as_echo_n "(cached) " >&6
14798 else
14799 ac_check_lib_save_LIBS=$LIBS
14800 LIBS="-lossaudio $LIBS"
14801 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14802 /* end confdefs.h. */
14804 /* Override any GCC internal prototype to avoid an error.
14805 Use char because int might match the return type of a GCC
14806 builtin and then its argument prototype would still apply. */
14807 #ifdef __cplusplus
14808 extern "C"
14809 #endif
14810 char _oss_ioctl ();
14812 main ()
14814 return _oss_ioctl ();
14816 return 0;
14818 _ACEOF
14819 if ac_fn_c_try_link "$LINENO"; then :
14820 ac_cv_lib_ossaudio__oss_ioctl=yes
14821 else
14822 ac_cv_lib_ossaudio__oss_ioctl=no
14824 rm -f core conftest.err conftest.$ac_objext \
14825 conftest$ac_exeext conftest.$ac_ext
14826 LIBS=$ac_check_lib_save_LIBS
14828 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ossaudio__oss_ioctl" >&5
14829 $as_echo "$ac_cv_lib_ossaudio__oss_ioctl" >&6; }
14830 if test "x$ac_cv_lib_ossaudio__oss_ioctl" = xyes; then :
14831 OSS4_LIBS="-lossaudio"
14840 CPPFLAGS="$ac_save_CPPFLAGS"
14842 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" != xyes; then :
14843 case "x$with_oss" in
14844 x) as_fn_append wine_notices "|OSS sound system found but too old (OSSv4 needed), OSS won't be supported." ;;
14845 xno) ;;
14846 *) as_fn_error $? "OSS sound system found but too old (OSSv4 needed), OSS won't be supported.
14847 This is an error since --with-oss was requested." "$LINENO" 5 ;;
14848 esac
14849 enable_wineoss_drv=${enable_wineoss_drv:-no}
14852 if test "x$with_udev" != "xno"
14853 then
14854 if ${UDEV_CFLAGS:+false} :; then :
14855 if ${PKG_CONFIG+:} false; then :
14856 UDEV_CFLAGS=`$PKG_CONFIG --cflags libudev 2>/dev/null`
14860 if ${UDEV_LIBS:+false} :; then :
14861 if ${PKG_CONFIG+:} false; then :
14862 UDEV_LIBS=`$PKG_CONFIG --libs libudev 2>/dev/null`
14866 UDEV_LIBS=${UDEV_LIBS:-"-ludev"}
14867 $as_echo "$as_me:${as_lineno-$LINENO}: libudev cflags: $UDEV_CFLAGS" >&5
14868 $as_echo "$as_me:${as_lineno-$LINENO}: libudev libs: $UDEV_LIBS" >&5
14869 ac_save_CPPFLAGS=$CPPFLAGS
14870 CPPFLAGS="$CPPFLAGS $UDEV_CFLAGS"
14871 for ac_header in libudev.h
14872 do :
14873 ac_fn_c_check_header_mongrel "$LINENO" "libudev.h" "ac_cv_header_libudev_h" "$ac_includes_default"
14874 if test "x$ac_cv_header_libudev_h" = xyes; then :
14875 cat >>confdefs.h <<_ACEOF
14876 #define HAVE_LIBUDEV_H 1
14877 _ACEOF
14878 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for udev_new in -ludev" >&5
14879 $as_echo_n "checking for udev_new in -ludev... " >&6; }
14880 if ${ac_cv_lib_udev_udev_new+:} false; then :
14881 $as_echo_n "(cached) " >&6
14882 else
14883 ac_check_lib_save_LIBS=$LIBS
14884 LIBS="-ludev $UDEV_LIBS $LIBS"
14885 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14886 /* end confdefs.h. */
14888 /* Override any GCC internal prototype to avoid an error.
14889 Use char because int might match the return type of a GCC
14890 builtin and then its argument prototype would still apply. */
14891 #ifdef __cplusplus
14892 extern "C"
14893 #endif
14894 char udev_new ();
14896 main ()
14898 return udev_new ();
14900 return 0;
14902 _ACEOF
14903 if ac_fn_c_try_link "$LINENO"; then :
14904 ac_cv_lib_udev_udev_new=yes
14905 else
14906 ac_cv_lib_udev_udev_new=no
14908 rm -f core conftest.err conftest.$ac_objext \
14909 conftest$ac_exeext conftest.$ac_ext
14910 LIBS=$ac_check_lib_save_LIBS
14912 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_udev_udev_new" >&5
14913 $as_echo "$ac_cv_lib_udev_udev_new" >&6; }
14914 if test "x$ac_cv_lib_udev_udev_new" = xyes; then :
14916 $as_echo "#define HAVE_UDEV 1" >>confdefs.h
14918 else
14919 UDEV_LIBS=""
14922 else
14923 UDEV_LIBS=""
14926 done
14928 CPPFLAGS=$ac_save_CPPFLAGS
14931 if test "x$UDEV_LIBS" = "x"; then :
14932 case "x$with_udev" in
14933 x) as_fn_append wine_notices "|libudev ${notice_platform}development files not found, plug and play won't be supported." ;;
14934 xno) ;;
14935 *) as_fn_error $? "libudev ${notice_platform}development files not found, plug and play won't be supported.
14936 This is an error since --with-udev was requested." "$LINENO" 5 ;;
14937 esac
14941 if test "x$with_unwind" != xno
14942 then
14943 if ${UNWIND_CFLAGS:+false} :; then :
14944 if ${PKG_CONFIG+:} false; then :
14945 UNWIND_CFLAGS=`$PKG_CONFIG --cflags libunwind 2>/dev/null`
14949 if ${UNWIND_LIBS:+false} :; then :
14950 if ${PKG_CONFIG+:} false; then :
14951 UNWIND_LIBS=`$PKG_CONFIG --libs libunwind 2>/dev/null`
14955 UNWIND_LIBS=${UNWIND_LIBS:-"-lunwind"}
14956 $as_echo "$as_me:${as_lineno-$LINENO}: libunwind cflags: $UNWIND_CFLAGS" >&5
14957 $as_echo "$as_me:${as_lineno-$LINENO}: libunwind libs: $UNWIND_LIBS" >&5
14958 ac_save_CPPFLAGS=$CPPFLAGS
14959 CPPFLAGS="$CPPFLAGS $UNWIND_CFLAGS"
14960 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for unw_step" >&5
14961 $as_echo_n "checking for unw_step... " >&6; }
14962 if ${wine_cv_have_unw_step+:} false; then :
14963 $as_echo_n "(cached) " >&6
14964 else
14965 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14966 /* end confdefs.h. */
14967 #define UNW_LOCAL_ONLY
14968 #include <libunwind.h>
14970 main ()
14972 unw_cursor_t cursor; unw_step( &cursor );
14974 return 0;
14976 _ACEOF
14977 if ac_fn_c_try_link "$LINENO"; then :
14978 wine_cv_have_unw_step="yes"
14979 else
14980 wine_cv_have_unw_step="no"
14982 rm -f core conftest.err conftest.$ac_objext \
14983 conftest$ac_exeext conftest.$ac_ext
14985 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_unw_step" >&5
14986 $as_echo "$wine_cv_have_unw_step" >&6; }
14987 if test "$wine_cv_have_unw_step" = no -a -n "$UNWIND_LIBS"
14988 then
14989 save_libs=$LIBS
14990 UNWIND_LIBS="-static-libgcc $UNWIND_LIBS"
14991 LIBS="$UNWIND_LIBS $LIBS"
14992 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for unw_step in libunwind" >&5
14993 $as_echo_n "checking for unw_step in libunwind... " >&6; }
14994 if ${wine_cv_have_libunwind_unw_step+:} false; then :
14995 $as_echo_n "(cached) " >&6
14996 else
14997 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14998 /* end confdefs.h. */
14999 #define UNW_LOCAL_ONLY
15000 #include <libunwind.h>
15002 main ()
15004 unw_cursor_t cursor; unw_step( &cursor );
15006 return 0;
15008 _ACEOF
15009 if ac_fn_c_try_link "$LINENO"; then :
15010 wine_cv_have_libunwind_unw_step="yes"
15011 else
15012 wine_cv_have_libunwind_unw_step="no"
15014 rm -f core conftest.err conftest.$ac_objext \
15015 conftest$ac_exeext conftest.$ac_ext
15017 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_libunwind_unw_step" >&5
15018 $as_echo "$wine_cv_have_libunwind_unw_step" >&6; }
15019 LIBS=$save_libs
15021 test "$wine_cv_have_libunwind_unw_step" = yes || UNWIND_LIBS=""
15022 if test "x$wine_cv_have_unw_step$wine_cv_have_libunwind_unw_step" != xnono
15023 then
15025 $as_echo "#define HAVE_LIBUNWIND 1" >>confdefs.h
15028 CPPFLAGS=$ac_save_CPPFLAGS
15031 case $host in
15032 aarch64*|*-darwin*)
15033 if test "x$wine_cv_have_unw_step$wine_cv_have_libunwind_unw_step" = xnono; then :
15034 case "x$with_unwind" in
15035 x) as_fn_append wine_notices "|libunwind ${notice_platform}development files not found, stack unwinding won't work." ;;
15036 xno) ;;
15037 *) as_fn_error $? "libunwind ${notice_platform}development files not found, stack unwinding won't work.
15038 This is an error since --with-unwind was requested." "$LINENO" 5 ;;
15039 esac
15041 fi ;;
15042 esac
15044 if test "x$with_sdl" != "xno"
15045 then
15046 if ${SDL2_CFLAGS:+false} :; then :
15047 if ${PKG_CONFIG+:} false; then :
15048 SDL2_CFLAGS=`$PKG_CONFIG --cflags sdl2 2>/dev/null`
15052 if ${SDL2_LIBS:+false} :; then :
15053 if ${PKG_CONFIG+:} false; then :
15054 SDL2_LIBS=`$PKG_CONFIG --libs sdl2 2>/dev/null`
15058 SDL2_LIBS=${SDL2_LIBS:-"-lSDL2"}
15059 $as_echo "$as_me:${as_lineno-$LINENO}: sdl2 cflags: $SDL2_CFLAGS" >&5
15060 $as_echo "$as_me:${as_lineno-$LINENO}: sdl2 libs: $SDL2_LIBS" >&5
15061 ac_save_CPPFLAGS=$CPPFLAGS
15062 CPPFLAGS="$CPPFLAGS $SDL2_CFLAGS"
15063 for ac_header in SDL.h
15064 do :
15065 ac_fn_c_check_header_mongrel "$LINENO" "SDL.h" "ac_cv_header_SDL_h" "$ac_includes_default"
15066 if test "x$ac_cv_header_SDL_h" = xyes; then :
15067 cat >>confdefs.h <<_ACEOF
15068 #define HAVE_SDL_H 1
15069 _ACEOF
15070 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lSDL2" >&5
15071 $as_echo_n "checking for -lSDL2... " >&6; }
15072 if ${ac_cv_lib_soname_SDL2+:} false; then :
15073 $as_echo_n "(cached) " >&6
15074 else
15075 ac_check_soname_save_LIBS=$LIBS
15076 LIBS="-lSDL2 $SDL2_LIBS $LIBS"
15077 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15078 /* end confdefs.h. */
15080 /* Override any GCC internal prototype to avoid an error.
15081 Use char because int might match the return type of a GCC
15082 builtin and then its argument prototype would still apply. */
15083 #ifdef __cplusplus
15084 extern "C"
15085 #endif
15086 char SDL_Init ();
15088 main ()
15090 return SDL_Init ();
15092 return 0;
15094 _ACEOF
15095 if ac_fn_c_try_link "$LINENO"; then :
15096 case "$LIBEXT" in
15097 dll) ac_cv_lib_soname_SDL2=`$ac_cv_path_LDD conftest.exe | grep "SDL2" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15098 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'` ;;
15099 *) 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'`
15100 if ${ac_cv_lib_soname_SDL2:+false} :; then :
15101 ac_cv_lib_soname_SDL2=`$LDD conftest$ac_exeext | grep "libSDL2-2.0*\\.$LIBEXT" | sed -e "s/^.*\(libSDL2-2.0*\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15102 fi ;;
15103 esac
15104 else
15105 ac_cv_lib_soname_SDL2=
15107 rm -f core conftest.err conftest.$ac_objext \
15108 conftest$ac_exeext conftest.$ac_ext
15109 LIBS=$ac_check_soname_save_LIBS
15111 if ${ac_cv_lib_soname_SDL2:+false} :; then :
15112 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15113 $as_echo "not found" >&6; }
15115 else
15116 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_SDL2" >&5
15117 $as_echo "$ac_cv_lib_soname_SDL2" >&6; }
15119 cat >>confdefs.h <<_ACEOF
15120 #define SONAME_LIBSDL2 "$ac_cv_lib_soname_SDL2"
15121 _ACEOF
15127 done
15129 CPPFLAGS=$ac_save_CPPFLAGS
15132 if test "x$ac_cv_lib_soname_SDL2" = "x"; then :
15133 case "x$with_sdl" in
15134 x) as_fn_append wine_notices "|libSDL2 ${notice_platform}development files not found, SDL2 won't be supported." ;;
15135 xno) ;;
15136 *) as_fn_error $? "libSDL2 ${notice_platform}development files not found, SDL2 won't be supported.
15137 This is an error since --with-sdl was requested." "$LINENO" 5 ;;
15138 esac
15142 if test "x$with_faudio" != "xno"
15143 then
15144 if ${FAUDIO_CFLAGS:+false} :; then :
15145 if ${PKG_CONFIG+:} false; then :
15146 FAUDIO_CFLAGS=`$PKG_CONFIG --cflags faudio 2>/dev/null`
15150 if ${FAUDIO_LIBS:+false} :; then :
15151 if ${PKG_CONFIG+:} false; then :
15152 FAUDIO_LIBS=`$PKG_CONFIG --libs faudio 2>/dev/null`
15156 FAUDIO_LIBS=${FAUDIO_LIBS:-"-lFAudio"}
15157 $as_echo "$as_me:${as_lineno-$LINENO}: faudio cflags: $FAUDIO_CFLAGS" >&5
15158 $as_echo "$as_me:${as_lineno-$LINENO}: faudio libs: $FAUDIO_LIBS" >&5
15159 ac_save_CPPFLAGS=$CPPFLAGS
15160 CPPFLAGS="$CPPFLAGS $FAUDIO_CFLAGS"
15161 for ac_header in FAudio.h
15162 do :
15163 ac_fn_c_check_header_mongrel "$LINENO" "FAudio.h" "ac_cv_header_FAudio_h" "$ac_includes_default"
15164 if test "x$ac_cv_header_FAudio_h" = xyes; then :
15165 cat >>confdefs.h <<_ACEOF
15166 #define HAVE_FAUDIO_H 1
15167 _ACEOF
15168 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lFAudio" >&5
15169 $as_echo_n "checking for -lFAudio... " >&6; }
15170 if ${ac_cv_lib_soname_FAudio+:} false; then :
15171 $as_echo_n "(cached) " >&6
15172 else
15173 ac_check_soname_save_LIBS=$LIBS
15174 LIBS="-lFAudio $FAUDIO_LIBS $LIBS"
15175 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15176 /* end confdefs.h. */
15178 /* Override any GCC internal prototype to avoid an error.
15179 Use char because int might match the return type of a GCC
15180 builtin and then its argument prototype would still apply. */
15181 #ifdef __cplusplus
15182 extern "C"
15183 #endif
15184 char FAudioCreate ();
15186 main ()
15188 return FAudioCreate ();
15190 return 0;
15192 _ACEOF
15193 if ac_fn_c_try_link "$LINENO"; then :
15194 case "$LIBEXT" in
15195 dll) ac_cv_lib_soname_FAudio=`$ac_cv_path_LDD conftest.exe | grep "FAudio" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15196 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'` ;;
15197 *) ac_cv_lib_soname_FAudio=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libFAudio*\\.$LIBEXT" | sed -e "s/^.*\\[\\(libFAudio*\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15198 if ${ac_cv_lib_soname_FAudio:+false} :; then :
15199 ac_cv_lib_soname_FAudio=`$LDD conftest$ac_exeext | grep "libFAudio*\\.$LIBEXT" | sed -e "s/^.*\(libFAudio*\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15200 fi ;;
15201 esac
15202 else
15203 ac_cv_lib_soname_FAudio=
15205 rm -f core conftest.err conftest.$ac_objext \
15206 conftest$ac_exeext conftest.$ac_ext
15207 LIBS=$ac_check_soname_save_LIBS
15209 if ${ac_cv_lib_soname_FAudio:+false} :; then :
15210 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15211 $as_echo "not found" >&6; }
15213 else
15214 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_FAudio" >&5
15215 $as_echo "$ac_cv_lib_soname_FAudio" >&6; }
15217 cat >>confdefs.h <<_ACEOF
15218 #define SONAME_LIBFAUDIO "$ac_cv_lib_soname_FAudio"
15219 _ACEOF
15225 done
15227 ac_wine_check_funcs_save_LIBS="$LIBS"
15228 LIBS="$LIBS $FAUDIO_LIBS"
15229 for ac_func in FAudio_CommitOperationSet \
15230 F3DAudioInitialize8 \
15231 FAudioLinkedVersion \
15232 FAudioCreateReverb9WithCustomAllocatorEXT
15233 do :
15234 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
15235 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
15236 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
15237 cat >>confdefs.h <<_ACEOF
15238 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
15239 _ACEOF
15242 done
15244 LIBS="$ac_wine_check_funcs_save_LIBS"
15246 CPPFLAGS=$ac_save_CPPFLAGS
15249 if test "x$ac_cv_lib_soname_FAudio" = "x"; then :
15250 case "x$with_faudio" in
15251 x) as_fn_append wine_notices "|libFAudio ${notice_platform}development files not found, XAudio2 won't be supported." ;;
15252 xno) ;;
15253 *) as_fn_error $? "libFAudio ${notice_platform}development files not found, XAudio2 won't be supported.
15254 This is an error since --with-faudio was requested." "$LINENO" 5 ;;
15255 esac
15259 if test "x$with_capi" != "xno"
15260 then
15261 if ${CAPI20_CFLAGS:+false} :; then :
15262 if ${PKG_CONFIG+:} false; then :
15263 CAPI20_CFLAGS=`$PKG_CONFIG --cflags capi20 2>/dev/null`
15267 if ${CAPI20_LIBS:+false} :; then :
15268 if ${PKG_CONFIG+:} false; then :
15269 CAPI20_LIBS=`$PKG_CONFIG --libs capi20 2>/dev/null`
15274 $as_echo "$as_me:${as_lineno-$LINENO}: capi20 cflags: $CAPI20_CFLAGS" >&5
15275 $as_echo "$as_me:${as_lineno-$LINENO}: capi20 libs: $CAPI20_LIBS" >&5
15276 ac_save_CPPFLAGS=$CPPFLAGS
15277 CPPFLAGS="$CPPFLAGS $CAPI20_CFLAGS"
15278 for ac_header in capi20.h linux/capi.h
15279 do :
15280 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
15281 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#define __user
15283 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
15284 cat >>confdefs.h <<_ACEOF
15285 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
15286 _ACEOF
15290 done
15292 if test "$ac_cv_header_capi20_h" = "yes" -a "$ac_cv_header_linux_capi_h" = "yes"
15293 then
15294 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcapi20" >&5
15295 $as_echo_n "checking for -lcapi20... " >&6; }
15296 if ${ac_cv_lib_soname_capi20+:} false; then :
15297 $as_echo_n "(cached) " >&6
15298 else
15299 ac_check_soname_save_LIBS=$LIBS
15300 LIBS="-lcapi20 $CAPI20_LIBS $LIBS"
15301 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15302 /* end confdefs.h. */
15304 /* Override any GCC internal prototype to avoid an error.
15305 Use char because int might match the return type of a GCC
15306 builtin and then its argument prototype would still apply. */
15307 #ifdef __cplusplus
15308 extern "C"
15309 #endif
15310 char capi20_register ();
15312 main ()
15314 return capi20_register ();
15316 return 0;
15318 _ACEOF
15319 if ac_fn_c_try_link "$LINENO"; then :
15320 case "$LIBEXT" in
15321 dll) ac_cv_lib_soname_capi20=`$ac_cv_path_LDD conftest.exe | grep "capi20" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15322 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'` ;;
15323 *) ac_cv_lib_soname_capi20=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcapi20\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcapi20\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15324 if ${ac_cv_lib_soname_capi20:+false} :; then :
15325 ac_cv_lib_soname_capi20=`$LDD conftest$ac_exeext | grep "libcapi20\\.$LIBEXT" | sed -e "s/^.*\(libcapi20\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15326 fi ;;
15327 esac
15328 else
15329 ac_cv_lib_soname_capi20=
15331 rm -f core conftest.err conftest.$ac_objext \
15332 conftest$ac_exeext conftest.$ac_ext
15333 LIBS=$ac_check_soname_save_LIBS
15335 if ${ac_cv_lib_soname_capi20:+false} :; then :
15336 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15337 $as_echo "not found" >&6; }
15339 else
15340 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_capi20" >&5
15341 $as_echo "$ac_cv_lib_soname_capi20" >&6; }
15343 cat >>confdefs.h <<_ACEOF
15344 #define SONAME_LIBCAPI20 "$ac_cv_lib_soname_capi20"
15345 _ACEOF
15350 CPPFLAGS=$ac_save_CPPFLAGS
15353 if test "x$ac_cv_lib_soname_capi20" = "x"; then :
15354 case "x$with_capi" in
15355 x) as_fn_append wine_notices "|libcapi20 ${notice_platform}development files not found, ISDN won't be supported." ;;
15356 xno) ;;
15357 *) as_fn_error $? "libcapi20 ${notice_platform}development files not found, ISDN won't be supported.
15358 This is an error since --with-capi was requested." "$LINENO" 5 ;;
15359 esac
15363 if test "x$with_cups" != "xno"
15364 then
15365 if ${CUPS_CFLAGS:+false} :; then :
15366 if ${PKG_CONFIG+:} false; then :
15367 CUPS_CFLAGS=`$PKG_CONFIG --cflags cups 2>/dev/null`
15370 test "$cross_compiling" = yes || CUPS_CFLAGS=${CUPS_CFLAGS:-`${CUPS_CONFIG:-cups-config} --cflags 2>/dev/null`}
15371 if ${CUPS_LIBS:+false} :; then :
15372 if ${PKG_CONFIG+:} false; then :
15373 CUPS_LIBS=`$PKG_CONFIG --libs cups 2>/dev/null`
15376 test "$cross_compiling" = yes || CUPS_LIBS=${CUPS_LIBS:-`${CUPS_CONFIG:-cups-config} --libs 2>/dev/null`}
15377 CUPS_LIBS=${CUPS_LIBS:-"-lcups"}
15378 $as_echo "$as_me:${as_lineno-$LINENO}: cups cflags: $CUPS_CFLAGS" >&5
15379 $as_echo "$as_me:${as_lineno-$LINENO}: cups libs: $CUPS_LIBS" >&5
15380 ac_save_CPPFLAGS=$CPPFLAGS
15381 CPPFLAGS="$CPPFLAGS $CUPS_CFLAGS"
15382 for ac_header in cups/cups.h cups/ppd.h
15383 do :
15384 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
15385 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
15386 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
15387 cat >>confdefs.h <<_ACEOF
15388 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
15389 _ACEOF
15393 done
15395 if test "$ac_cv_header_cups_cups_h" = "yes"
15396 then
15397 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcups" >&5
15398 $as_echo_n "checking for -lcups... " >&6; }
15399 if ${ac_cv_lib_soname_cups+:} false; then :
15400 $as_echo_n "(cached) " >&6
15401 else
15402 ac_check_soname_save_LIBS=$LIBS
15403 LIBS="-lcups $CUPS_LIBS $LIBS"
15404 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15405 /* end confdefs.h. */
15407 /* Override any GCC internal prototype to avoid an error.
15408 Use char because int might match the return type of a GCC
15409 builtin and then its argument prototype would still apply. */
15410 #ifdef __cplusplus
15411 extern "C"
15412 #endif
15413 char cupsGetDefault ();
15415 main ()
15417 return cupsGetDefault ();
15419 return 0;
15421 _ACEOF
15422 if ac_fn_c_try_link "$LINENO"; then :
15423 case "$LIBEXT" in
15424 dll) ac_cv_lib_soname_cups=`$ac_cv_path_LDD conftest.exe | grep "cups" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15425 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'` ;;
15426 *) ac_cv_lib_soname_cups=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcups\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcups\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15427 if ${ac_cv_lib_soname_cups:+false} :; then :
15428 ac_cv_lib_soname_cups=`$LDD conftest$ac_exeext | grep "libcups\\.$LIBEXT" | sed -e "s/^.*\(libcups\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15429 fi ;;
15430 esac
15431 else
15432 ac_cv_lib_soname_cups=
15434 rm -f core conftest.err conftest.$ac_objext \
15435 conftest$ac_exeext conftest.$ac_ext
15436 LIBS=$ac_check_soname_save_LIBS
15438 if ${ac_cv_lib_soname_cups:+false} :; then :
15439 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15440 $as_echo "not found" >&6; }
15441 CUPS_LIBS=""
15442 else
15443 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_cups" >&5
15444 $as_echo "$ac_cv_lib_soname_cups" >&6; }
15446 cat >>confdefs.h <<_ACEOF
15447 #define SONAME_LIBCUPS "$ac_cv_lib_soname_cups"
15448 _ACEOF
15452 else
15453 CUPS_CFLAGS=""
15454 CUPS_LIBS=""
15456 CPPFLAGS=$ac_save_CPPFLAGS
15459 if test "x$ac_cv_lib_soname_cups" = "x"; then :
15460 case "x$with_cups" in
15461 x) as_fn_append wine_notices "|libcups ${notice_platform}development files not found, CUPS won't be supported." ;;
15462 xno) ;;
15463 *) as_fn_error $? "libcups ${notice_platform}development files not found, CUPS won't be supported.
15464 This is an error since --with-cups was requested." "$LINENO" 5 ;;
15465 esac
15469 if test "x$with_fontconfig" != "xno"
15470 then
15471 if ${FONTCONFIG_CFLAGS:+false} :; then :
15472 if ${PKG_CONFIG+:} false; then :
15473 FONTCONFIG_CFLAGS=`$PKG_CONFIG --cflags fontconfig 2>/dev/null`
15476 test "$cross_compiling" = yes || FONTCONFIG_CFLAGS=${FONTCONFIG_CFLAGS:-$X_CFLAGS}
15477 if ${FONTCONFIG_LIBS:+false} :; then :
15478 if ${PKG_CONFIG+:} false; then :
15479 FONTCONFIG_LIBS=`$PKG_CONFIG --libs fontconfig 2>/dev/null`
15482 test "$cross_compiling" = yes || FONTCONFIG_LIBS=${FONTCONFIG_LIBS:-$X_LIBS}
15484 $as_echo "$as_me:${as_lineno-$LINENO}: fontconfig cflags: $FONTCONFIG_CFLAGS" >&5
15485 $as_echo "$as_me:${as_lineno-$LINENO}: fontconfig libs: $FONTCONFIG_LIBS" >&5
15486 ac_save_CPPFLAGS=$CPPFLAGS
15487 CPPFLAGS="$CPPFLAGS $FONTCONFIG_CFLAGS"
15488 for ac_header in fontconfig/fontconfig.h
15489 do :
15490 ac_fn_c_check_header_mongrel "$LINENO" "fontconfig/fontconfig.h" "ac_cv_header_fontconfig_fontconfig_h" "$ac_includes_default"
15491 if test "x$ac_cv_header_fontconfig_fontconfig_h" = xyes; then :
15492 cat >>confdefs.h <<_ACEOF
15493 #define HAVE_FONTCONFIG_FONTCONFIG_H 1
15494 _ACEOF
15498 done
15500 if test "$ac_cv_header_fontconfig_fontconfig_h" = "yes"
15501 then
15502 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfontconfig" >&5
15503 $as_echo_n "checking for -lfontconfig... " >&6; }
15504 if ${ac_cv_lib_soname_fontconfig+:} false; then :
15505 $as_echo_n "(cached) " >&6
15506 else
15507 ac_check_soname_save_LIBS=$LIBS
15508 LIBS="-lfontconfig $FONTCONFIG_LIBS $LIBS"
15509 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15510 /* end confdefs.h. */
15512 /* Override any GCC internal prototype to avoid an error.
15513 Use char because int might match the return type of a GCC
15514 builtin and then its argument prototype would still apply. */
15515 #ifdef __cplusplus
15516 extern "C"
15517 #endif
15518 char FcInit ();
15520 main ()
15522 return FcInit ();
15524 return 0;
15526 _ACEOF
15527 if ac_fn_c_try_link "$LINENO"; then :
15528 case "$LIBEXT" in
15529 dll) ac_cv_lib_soname_fontconfig=`$ac_cv_path_LDD conftest.exe | grep "fontconfig" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15530 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'` ;;
15531 *) ac_cv_lib_soname_fontconfig=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfontconfig\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfontconfig\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15532 if ${ac_cv_lib_soname_fontconfig:+false} :; then :
15533 ac_cv_lib_soname_fontconfig=`$LDD conftest$ac_exeext | grep "libfontconfig\\.$LIBEXT" | sed -e "s/^.*\(libfontconfig\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15534 fi ;;
15535 esac
15536 else
15537 ac_cv_lib_soname_fontconfig=
15539 rm -f core conftest.err conftest.$ac_objext \
15540 conftest$ac_exeext conftest.$ac_ext
15541 LIBS=$ac_check_soname_save_LIBS
15543 if ${ac_cv_lib_soname_fontconfig:+false} :; then :
15544 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15545 $as_echo "not found" >&6; }
15546 FONTCONFIG_CFLAGS=""
15547 else
15548 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_fontconfig" >&5
15549 $as_echo "$ac_cv_lib_soname_fontconfig" >&6; }
15551 cat >>confdefs.h <<_ACEOF
15552 #define SONAME_LIBFONTCONFIG "$ac_cv_lib_soname_fontconfig"
15553 _ACEOF
15557 else
15558 FONTCONFIG_CFLAGS=""
15560 CPPFLAGS=$ac_save_CPPFLAGS
15563 if test "x$ac_cv_lib_soname_fontconfig" = "x"; then :
15564 case "x$with_fontconfig" in
15565 x) as_fn_append wine_notices "|fontconfig ${notice_platform}development files not found, fontconfig won't be supported." ;;
15566 xno) ;;
15567 *) as_fn_error $? "fontconfig ${notice_platform}development files not found, fontconfig won't be supported.
15568 This is an error since --with-fontconfig was requested." "$LINENO" 5 ;;
15569 esac
15573 if test "$ac_cv_header_gsm_h" = "yes" -o "$ac_cv_header_gsm_gsm_h" = "yes"
15574 then
15575 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgsm" >&5
15576 $as_echo_n "checking for -lgsm... " >&6; }
15577 if ${ac_cv_lib_soname_gsm+:} false; then :
15578 $as_echo_n "(cached) " >&6
15579 else
15580 ac_check_soname_save_LIBS=$LIBS
15581 LIBS="-lgsm $LIBS"
15582 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15583 /* end confdefs.h. */
15585 /* Override any GCC internal prototype to avoid an error.
15586 Use char because int might match the return type of a GCC
15587 builtin and then its argument prototype would still apply. */
15588 #ifdef __cplusplus
15589 extern "C"
15590 #endif
15591 char gsm_create ();
15593 main ()
15595 return gsm_create ();
15597 return 0;
15599 _ACEOF
15600 if ac_fn_c_try_link "$LINENO"; then :
15601 case "$LIBEXT" in
15602 dll) ac_cv_lib_soname_gsm=`$ac_cv_path_LDD conftest.exe | grep "gsm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15603 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'` ;;
15604 *) ac_cv_lib_soname_gsm=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libgsm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libgsm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15605 if ${ac_cv_lib_soname_gsm:+false} :; then :
15606 ac_cv_lib_soname_gsm=`$LDD conftest$ac_exeext | grep "libgsm\\.$LIBEXT" | sed -e "s/^.*\(libgsm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15607 fi ;;
15608 esac
15609 else
15610 ac_cv_lib_soname_gsm=
15612 rm -f core conftest.err conftest.$ac_objext \
15613 conftest$ac_exeext conftest.$ac_ext
15614 LIBS=$ac_check_soname_save_LIBS
15616 if ${ac_cv_lib_soname_gsm:+false} :; then :
15617 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15618 $as_echo "not found" >&6; }
15620 else
15621 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gsm" >&5
15622 $as_echo "$ac_cv_lib_soname_gsm" >&6; }
15624 cat >>confdefs.h <<_ACEOF
15625 #define SONAME_LIBGSM "$ac_cv_lib_soname_gsm"
15626 _ACEOF
15631 if test "x$ac_cv_lib_soname_gsm" = "x"; then :
15632 case "x$with_gsm" in
15633 x) as_fn_append wine_notices "|libgsm ${notice_platform}development files not found, gsm 06.10 codec won't be supported." ;;
15634 xno) ;;
15635 *) as_fn_error $? "libgsm ${notice_platform}development files not found, gsm 06.10 codec won't be supported.
15636 This is an error since --with-gsm was requested." "$LINENO" 5 ;;
15637 esac
15641 if test "x$with_krb5" != "xno"
15642 then
15643 if ${KRB5_CFLAGS:+false} :; then :
15644 if ${PKG_CONFIG+:} false; then :
15645 KRB5_CFLAGS=`$PKG_CONFIG --cflags krb5 2>/dev/null`
15648 test "$cross_compiling" = yes || KRB5_CFLAGS=${KRB5_CFLAGS:-`${KRB5_CONFIG:-krb5-config} --cflags 2>/dev/null`}
15649 if ${KRB5_LIBS:+false} :; then :
15650 if ${PKG_CONFIG+:} false; then :
15651 KRB5_LIBS=`$PKG_CONFIG --libs krb5 2>/dev/null`
15654 test "$cross_compiling" = yes || KRB5_LIBS=${KRB5_LIBS:-`${KRB5_CONFIG:-krb5-config} --libs 2>/dev/null`}
15656 $as_echo "$as_me:${as_lineno-$LINENO}: krb5 cflags: $KRB5_CFLAGS" >&5
15657 $as_echo "$as_me:${as_lineno-$LINENO}: krb5 libs: $KRB5_LIBS" >&5
15658 ac_save_CPPFLAGS=$CPPFLAGS
15659 CPPFLAGS="$CPPFLAGS $KRB5_CFLAGS"
15660 for ac_header in krb5/krb5.h
15661 do :
15662 ac_fn_c_check_header_mongrel "$LINENO" "krb5/krb5.h" "ac_cv_header_krb5_krb5_h" "$ac_includes_default"
15663 if test "x$ac_cv_header_krb5_krb5_h" = xyes; then :
15664 cat >>confdefs.h <<_ACEOF
15665 #define HAVE_KRB5_KRB5_H 1
15666 _ACEOF
15670 done
15672 if test "$ac_cv_header_krb5_krb5_h" = "yes"
15673 then
15674 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lkrb5" >&5
15675 $as_echo_n "checking for -lkrb5... " >&6; }
15676 if ${ac_cv_lib_soname_krb5+:} false; then :
15677 $as_echo_n "(cached) " >&6
15678 else
15679 ac_check_soname_save_LIBS=$LIBS
15680 LIBS="-lkrb5 $KRB5_LIBS $LIBS"
15681 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15682 /* end confdefs.h. */
15684 /* Override any GCC internal prototype to avoid an error.
15685 Use char because int might match the return type of a GCC
15686 builtin and then its argument prototype would still apply. */
15687 #ifdef __cplusplus
15688 extern "C"
15689 #endif
15690 char krb5_is_config_principal ();
15692 main ()
15694 return krb5_is_config_principal ();
15696 return 0;
15698 _ACEOF
15699 if ac_fn_c_try_link "$LINENO"; then :
15700 case "$LIBEXT" in
15701 dll) ac_cv_lib_soname_krb5=`$ac_cv_path_LDD conftest.exe | grep "krb5" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15702 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'` ;;
15703 *) ac_cv_lib_soname_krb5=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libkrb5\\.$LIBEXT" | sed -e "s/^.*\\[\\(libkrb5\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15704 if ${ac_cv_lib_soname_krb5:+false} :; then :
15705 ac_cv_lib_soname_krb5=`$LDD conftest$ac_exeext | grep "libkrb5\\.$LIBEXT" | sed -e "s/^.*\(libkrb5\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15706 fi ;;
15707 esac
15708 else
15709 ac_cv_lib_soname_krb5=
15711 rm -f core conftest.err conftest.$ac_objext \
15712 conftest$ac_exeext conftest.$ac_ext
15713 LIBS=$ac_check_soname_save_LIBS
15715 if ${ac_cv_lib_soname_krb5:+false} :; then :
15716 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15717 $as_echo "not found" >&6; }
15718 KRB5_CFLAGS=""
15719 else
15720 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_krb5" >&5
15721 $as_echo "$ac_cv_lib_soname_krb5" >&6; }
15723 cat >>confdefs.h <<_ACEOF
15724 #define SONAME_LIBKRB5 "$ac_cv_lib_soname_krb5"
15725 _ACEOF
15729 else
15730 KRB5_CFLAGS=""
15732 CPPFLAGS=$ac_save_CPPFLAGS
15735 if test "x$ac_cv_lib_soname_krb5" = "x"; then :
15736 case "x$with_krb5" in
15737 x) as_fn_append wine_notices "|libkrb5 ${notice_platform}development files not found (or too old), Kerberos won't be supported." ;;
15738 xno) ;;
15739 *) as_fn_error $? "libkrb5 ${notice_platform}development files not found (or too old), Kerberos won't be supported.
15740 This is an error since --with-krb5 was requested." "$LINENO" 5 ;;
15741 esac
15744 test "x$ac_cv_lib_soname_krb5" != "x" || with_gssapi=${with_gssapi:-no}
15746 if test "x$with_gssapi" != "xno"
15747 then
15748 if ${GSSAPI_CFLAGS:+false} :; then :
15749 if ${PKG_CONFIG+:} false; then :
15750 GSSAPI_CFLAGS=`$PKG_CONFIG --cflags krb5-gssapi 2>/dev/null`
15753 test "$cross_compiling" = yes || GSSAPI_CFLAGS=${GSSAPI_CFLAGS:-`${KRB5_CONFIG:-krb5-config} --cflags gssapi 2>/dev/null`}
15754 if ${GSSAPI_LIBS:+false} :; then :
15755 if ${PKG_CONFIG+:} false; then :
15756 GSSAPI_LIBS=`$PKG_CONFIG --libs krb5-gssapi 2>/dev/null`
15759 test "$cross_compiling" = yes || GSSAPI_LIBS=${GSSAPI_LIBS:-`${KRB5_CONFIG:-krb5-config} --libs gssapi 2>/dev/null`}
15761 $as_echo "$as_me:${as_lineno-$LINENO}: krb5-gssapi cflags: $GSSAPI_CFLAGS" >&5
15762 $as_echo "$as_me:${as_lineno-$LINENO}: krb5-gssapi libs: $GSSAPI_LIBS" >&5
15763 ac_save_CPPFLAGS=$CPPFLAGS
15764 CPPFLAGS="$CPPFLAGS $GSSAPI_CFLAGS"
15765 for ac_header in gssapi/gssapi.h gssapi/gssapi_ext.h
15766 do :
15767 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
15768 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
15769 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
15770 cat >>confdefs.h <<_ACEOF
15771 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
15772 _ACEOF
15776 done
15778 if test "$ac_cv_header_gssapi_gssapi_h" = "yes" -a "$ac_cv_header_gssapi_gssapi_ext_h" = "yes"
15779 then
15780 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgssapi_krb5" >&5
15781 $as_echo_n "checking for -lgssapi_krb5... " >&6; }
15782 if ${ac_cv_lib_soname_gssapi_krb5+:} false; then :
15783 $as_echo_n "(cached) " >&6
15784 else
15785 ac_check_soname_save_LIBS=$LIBS
15786 LIBS="-lgssapi_krb5 $GSSAPI_LIBS $LIBS"
15787 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15788 /* end confdefs.h. */
15790 /* Override any GCC internal prototype to avoid an error.
15791 Use char because int might match the return type of a GCC
15792 builtin and then its argument prototype would still apply. */
15793 #ifdef __cplusplus
15794 extern "C"
15795 #endif
15796 char gss_init_sec_context ();
15798 main ()
15800 return gss_init_sec_context ();
15802 return 0;
15804 _ACEOF
15805 if ac_fn_c_try_link "$LINENO"; then :
15806 case "$LIBEXT" in
15807 dll) ac_cv_lib_soname_gssapi_krb5=`$ac_cv_path_LDD conftest.exe | grep "gssapi_krb5" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15808 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'` ;;
15809 *) 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'`
15810 if ${ac_cv_lib_soname_gssapi_krb5:+false} :; then :
15811 ac_cv_lib_soname_gssapi_krb5=`$LDD conftest$ac_exeext | grep "libgssapi_krb5\\.$LIBEXT" | sed -e "s/^.*\(libgssapi_krb5\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15812 fi ;;
15813 esac
15814 else
15815 ac_cv_lib_soname_gssapi_krb5=
15817 rm -f core conftest.err conftest.$ac_objext \
15818 conftest$ac_exeext conftest.$ac_ext
15819 LIBS=$ac_check_soname_save_LIBS
15821 if ${ac_cv_lib_soname_gssapi_krb5:+false} :; then :
15822 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15823 $as_echo "not found" >&6; }
15824 GSSAPI_CFLAGS=""
15825 else
15826 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gssapi_krb5" >&5
15827 $as_echo "$ac_cv_lib_soname_gssapi_krb5" >&6; }
15829 cat >>confdefs.h <<_ACEOF
15830 #define SONAME_LIBGSSAPI_KRB5 "$ac_cv_lib_soname_gssapi_krb5"
15831 _ACEOF
15835 else
15836 GSSAPI_CFLAGS=""
15838 CPPFLAGS=$ac_save_CPPFLAGS
15841 if test "x$ac_cv_lib_soname_gssapi_krb5" = "x"; then :
15842 case "x$with_gssapi" in
15843 x) as_fn_append wine_notices "|libgssapi_krb5 ${notice_platform}development files not found (or too old), no Kerberos SSP support." ;;
15844 xno) ;;
15845 *) as_fn_error $? "libgssapi_krb5 ${notice_platform}development files not found (or too old), no Kerberos SSP support.
15846 This is an error since --with-gssapi was requested." "$LINENO" 5 ;;
15847 esac
15851 if test "x$with_jpeg" != "xno"
15852 then
15853 if ${JPEG_CFLAGS:+false} :; then :
15854 if ${PKG_CONFIG+:} false; then :
15855 JPEG_CFLAGS=`$PKG_CONFIG --cflags libjpeg 2>/dev/null`
15859 if ${JPEG_LIBS:+false} :; then :
15860 if ${PKG_CONFIG+:} false; then :
15861 JPEG_LIBS=`$PKG_CONFIG --libs libjpeg 2>/dev/null`
15866 $as_echo "$as_me:${as_lineno-$LINENO}: libjpeg cflags: $JPEG_CFLAGS" >&5
15867 $as_echo "$as_me:${as_lineno-$LINENO}: libjpeg libs: $JPEG_LIBS" >&5
15868 ac_save_CPPFLAGS=$CPPFLAGS
15869 CPPFLAGS="$CPPFLAGS $JPEG_CFLAGS"
15870 for ac_header in jpeglib.h
15871 do :
15872 ac_fn_c_check_header_mongrel "$LINENO" "jpeglib.h" "ac_cv_header_jpeglib_h" "$ac_includes_default"
15873 if test "x$ac_cv_header_jpeglib_h" = xyes; then :
15874 cat >>confdefs.h <<_ACEOF
15875 #define HAVE_JPEGLIB_H 1
15876 _ACEOF
15880 done
15882 if test "$ac_cv_header_jpeglib_h" = "yes"
15883 then
15884 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ljpeg" >&5
15885 $as_echo_n "checking for -ljpeg... " >&6; }
15886 if ${ac_cv_lib_soname_jpeg+:} false; then :
15887 $as_echo_n "(cached) " >&6
15888 else
15889 ac_check_soname_save_LIBS=$LIBS
15890 LIBS="-ljpeg $JPEG_LIBS $LIBS"
15891 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15892 /* end confdefs.h. */
15894 /* Override any GCC internal prototype to avoid an error.
15895 Use char because int might match the return type of a GCC
15896 builtin and then its argument prototype would still apply. */
15897 #ifdef __cplusplus
15898 extern "C"
15899 #endif
15900 char jpeg_start_decompress ();
15902 main ()
15904 return jpeg_start_decompress ();
15906 return 0;
15908 _ACEOF
15909 if ac_fn_c_try_link "$LINENO"; then :
15910 case "$LIBEXT" in
15911 dll) ac_cv_lib_soname_jpeg=`$ac_cv_path_LDD conftest.exe | grep "jpeg" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15912 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'` ;;
15913 *) ac_cv_lib_soname_jpeg=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libjpeg\\.$LIBEXT" | sed -e "s/^.*\\[\\(libjpeg\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15914 if ${ac_cv_lib_soname_jpeg:+false} :; then :
15915 ac_cv_lib_soname_jpeg=`$LDD conftest$ac_exeext | grep "libjpeg\\.$LIBEXT" | sed -e "s/^.*\(libjpeg\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15916 fi ;;
15917 esac
15918 else
15919 ac_cv_lib_soname_jpeg=
15921 rm -f core conftest.err conftest.$ac_objext \
15922 conftest$ac_exeext conftest.$ac_ext
15923 LIBS=$ac_check_soname_save_LIBS
15925 if ${ac_cv_lib_soname_jpeg:+false} :; then :
15926 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15927 $as_echo "not found" >&6; }
15928 JPEG_CFLAGS=""
15929 else
15930 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_jpeg" >&5
15931 $as_echo "$ac_cv_lib_soname_jpeg" >&6; }
15933 cat >>confdefs.h <<_ACEOF
15934 #define SONAME_LIBJPEG "$ac_cv_lib_soname_jpeg"
15935 _ACEOF
15939 else
15940 JPEG_CFLAGS=""
15942 CPPFLAGS=$ac_save_CPPFLAGS
15945 if test "x$ac_cv_lib_soname_jpeg" = "x"; then :
15946 case "x$with_jpeg" in
15947 x) as_fn_append wine_warnings "|libjpeg ${notice_platform}development files not found, JPEG won't be supported." ;;
15948 xno) ;;
15949 *) as_fn_error $? "libjpeg ${notice_platform}development files not found, JPEG won't be supported.
15950 This is an error since --with-jpeg was requested." "$LINENO" 5 ;;
15951 esac
15955 if test "x$with_jxrlib" != "xno"
15956 then
15957 if ${JXRLIB_CFLAGS:+false} :; then :
15958 if ${PKG_CONFIG+:} false; then :
15959 JXRLIB_CFLAGS=`$PKG_CONFIG --cflags jxrlib 2>/dev/null`
15962 test "$cross_compiling" = yes || JXRLIB_CFLAGS=${JXRLIB_CFLAGS:-${JXRLIB_CFLAGS:--I/usr/include/jxrlib}}
15963 if ${JXRLIB_LIBS:+false} :; then :
15964 if ${PKG_CONFIG+:} false; then :
15965 JXRLIB_LIBS=`$PKG_CONFIG --libs jxrlib 2>/dev/null`
15970 $as_echo "$as_me:${as_lineno-$LINENO}: jxrlib cflags: $JXRLIB_CFLAGS" >&5
15971 $as_echo "$as_me:${as_lineno-$LINENO}: jxrlib libs: $JXRLIB_LIBS" >&5
15972 ac_save_CPPFLAGS=$CPPFLAGS
15973 CPPFLAGS="$CPPFLAGS $JXRLIB_CFLAGS"
15974 for ac_header in JXRGlue.h
15975 do :
15976 ac_fn_c_check_header_compile "$LINENO" "JXRGlue.h" "ac_cv_header_JXRGlue_h" "#define FAR
15978 if test "x$ac_cv_header_JXRGlue_h" = xyes; then :
15979 cat >>confdefs.h <<_ACEOF
15980 #define HAVE_JXRGLUE_H 1
15981 _ACEOF
15985 done
15987 if test "$ac_cv_header_JXRGlue_h" = "yes"
15988 then
15989 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ljxrglue" >&5
15990 $as_echo_n "checking for -ljxrglue... " >&6; }
15991 if ${ac_cv_lib_soname_jxrglue+:} false; then :
15992 $as_echo_n "(cached) " >&6
15993 else
15994 ac_check_soname_save_LIBS=$LIBS
15995 LIBS="-ljxrglue $JXRLIB_LIBS $LIBS"
15996 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15997 /* end confdefs.h. */
15999 /* Override any GCC internal prototype to avoid an error.
16000 Use char because int might match the return type of a GCC
16001 builtin and then its argument prototype would still apply. */
16002 #ifdef __cplusplus
16003 extern "C"
16004 #endif
16005 char PKImageDecode_Create_WMP ();
16007 main ()
16009 return PKImageDecode_Create_WMP ();
16011 return 0;
16013 _ACEOF
16014 if ac_fn_c_try_link "$LINENO"; then :
16015 case "$LIBEXT" in
16016 dll) ac_cv_lib_soname_jxrglue=`$ac_cv_path_LDD conftest.exe | grep "jxrglue" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16017 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'` ;;
16018 *) ac_cv_lib_soname_jxrglue=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libjxrglue\\.$LIBEXT" | sed -e "s/^.*\\[\\(libjxrglue\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16019 if ${ac_cv_lib_soname_jxrglue:+false} :; then :
16020 ac_cv_lib_soname_jxrglue=`$LDD conftest$ac_exeext | grep "libjxrglue\\.$LIBEXT" | sed -e "s/^.*\(libjxrglue\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16021 fi ;;
16022 esac
16023 else
16024 ac_cv_lib_soname_jxrglue=
16026 rm -f core conftest.err conftest.$ac_objext \
16027 conftest$ac_exeext conftest.$ac_ext
16028 LIBS=$ac_check_soname_save_LIBS
16030 if ${ac_cv_lib_soname_jxrglue:+false} :; then :
16031 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16032 $as_echo "not found" >&6; }
16033 JXRLIB_CFLAGS=""
16034 else
16035 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_jxrglue" >&5
16036 $as_echo "$ac_cv_lib_soname_jxrglue" >&6; }
16038 cat >>confdefs.h <<_ACEOF
16039 #define SONAME_LIBJXRGLUE "$ac_cv_lib_soname_jxrglue"
16040 _ACEOF
16044 else
16045 JXRLIB_CFLAGS=""
16047 CPPFLAGS=$ac_save_CPPFLAGS
16050 if test "x$ac_cv_lib_soname_jxrglue" = "x"; then :
16051 case "x$with_jxrlib" in
16052 x) as_fn_append wine_notices "|jxrlib ${notice_platform}development files not found, JPEG-XR won't be supported." ;;
16053 xno) ;;
16054 *) as_fn_error $? "jxrlib ${notice_platform}development files not found, JPEG-XR won't be supported.
16055 This is an error since --with-jxrlib was requested." "$LINENO" 5 ;;
16056 esac
16060 if test "x$with_png" != "xno"
16061 then
16062 if ${PNG_CFLAGS:+false} :; then :
16063 if ${PKG_CONFIG+:} false; then :
16064 PNG_CFLAGS=`$PKG_CONFIG --cflags libpng 2>/dev/null`
16067 test "$cross_compiling" = yes || PNG_CFLAGS=${PNG_CFLAGS:-$X_CFLAGS}
16068 if ${PNG_LIBS:+false} :; then :
16069 if ${PKG_CONFIG+:} false; then :
16070 PNG_LIBS=`$PKG_CONFIG --libs libpng 2>/dev/null`
16073 test "$cross_compiling" = yes || PNG_LIBS=${PNG_LIBS:-$X_LIBS}
16075 $as_echo "$as_me:${as_lineno-$LINENO}: libpng cflags: $PNG_CFLAGS" >&5
16076 $as_echo "$as_me:${as_lineno-$LINENO}: libpng libs: $PNG_LIBS" >&5
16077 ac_save_CPPFLAGS=$CPPFLAGS
16078 CPPFLAGS="$CPPFLAGS $PNG_CFLAGS"
16079 for ac_header in png.h
16080 do :
16081 ac_fn_c_check_header_mongrel "$LINENO" "png.h" "ac_cv_header_png_h" "$ac_includes_default"
16082 if test "x$ac_cv_header_png_h" = xyes; then :
16083 cat >>confdefs.h <<_ACEOF
16084 #define HAVE_PNG_H 1
16085 _ACEOF
16089 done
16091 if test "$ac_cv_header_png_h" = "yes"
16092 then
16093 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lpng" >&5
16094 $as_echo_n "checking for -lpng... " >&6; }
16095 if ${ac_cv_lib_soname_png+:} false; then :
16096 $as_echo_n "(cached) " >&6
16097 else
16098 ac_check_soname_save_LIBS=$LIBS
16099 LIBS="-lpng $PNG_LIBS -lm -lz $LIBS"
16100 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16101 /* end confdefs.h. */
16103 /* Override any GCC internal prototype to avoid an error.
16104 Use char because int might match the return type of a GCC
16105 builtin and then its argument prototype would still apply. */
16106 #ifdef __cplusplus
16107 extern "C"
16108 #endif
16109 char png_create_read_struct ();
16111 main ()
16113 return png_create_read_struct ();
16115 return 0;
16117 _ACEOF
16118 if ac_fn_c_try_link "$LINENO"; then :
16119 case "$LIBEXT" in
16120 dll) ac_cv_lib_soname_png=`$ac_cv_path_LDD conftest.exe | grep "png" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16121 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'` ;;
16122 *) 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'`
16123 if ${ac_cv_lib_soname_png:+false} :; then :
16124 ac_cv_lib_soname_png=`$LDD conftest$ac_exeext | grep "libpng[0-9]*\\.$LIBEXT" | sed -e "s/^.*\(libpng[0-9]*\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16125 fi ;;
16126 esac
16127 else
16128 ac_cv_lib_soname_png=
16130 rm -f core conftest.err conftest.$ac_objext \
16131 conftest$ac_exeext conftest.$ac_ext
16132 LIBS=$ac_check_soname_save_LIBS
16134 if ${ac_cv_lib_soname_png:+false} :; then :
16135 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16136 $as_echo "not found" >&6; }
16137 PNG_CFLAGS=""
16138 else
16139 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_png" >&5
16140 $as_echo "$ac_cv_lib_soname_png" >&6; }
16142 cat >>confdefs.h <<_ACEOF
16143 #define SONAME_LIBPNG "$ac_cv_lib_soname_png"
16144 _ACEOF
16148 else
16149 PNG_CFLAGS=""
16151 CPPFLAGS=$ac_save_CPPFLAGS
16154 if test "x$ac_cv_lib_soname_png" = "x"; then :
16155 case "x$with_png" in
16156 x) as_fn_append wine_warnings "|libpng ${notice_platform}development files not found, PNG won't be supported." ;;
16157 xno) ;;
16158 *) as_fn_error $? "libpng ${notice_platform}development files not found, PNG won't be supported.
16159 This is an error since --with-png was requested." "$LINENO" 5 ;;
16160 esac
16164 if test "x$with_tiff" != "xno"
16165 then
16166 if ${TIFF_CFLAGS:+false} :; then :
16167 if ${PKG_CONFIG+:} false; then :
16168 TIFF_CFLAGS=`$PKG_CONFIG --cflags libtiff-4 2>/dev/null`
16172 if ${TIFF_LIBS:+false} :; then :
16173 if ${PKG_CONFIG+:} false; then :
16174 TIFF_LIBS=`$PKG_CONFIG --libs libtiff-4 2>/dev/null`
16179 $as_echo "$as_me:${as_lineno-$LINENO}: libtiff-4 cflags: $TIFF_CFLAGS" >&5
16180 $as_echo "$as_me:${as_lineno-$LINENO}: libtiff-4 libs: $TIFF_LIBS" >&5
16181 ac_save_CPPFLAGS=$CPPFLAGS
16182 CPPFLAGS="$CPPFLAGS $TIFF_CFLAGS"
16183 for ac_header in tiffio.h
16184 do :
16185 ac_fn_c_check_header_mongrel "$LINENO" "tiffio.h" "ac_cv_header_tiffio_h" "$ac_includes_default"
16186 if test "x$ac_cv_header_tiffio_h" = xyes; then :
16187 cat >>confdefs.h <<_ACEOF
16188 #define HAVE_TIFFIO_H 1
16189 _ACEOF
16193 done
16195 if test "$ac_cv_header_tiffio_h" = "yes"
16196 then
16197 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ltiff" >&5
16198 $as_echo_n "checking for -ltiff... " >&6; }
16199 if ${ac_cv_lib_soname_tiff+:} false; then :
16200 $as_echo_n "(cached) " >&6
16201 else
16202 ac_check_soname_save_LIBS=$LIBS
16203 LIBS="-ltiff $TIFF_LIBS $LIBS"
16204 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16205 /* end confdefs.h. */
16207 /* Override any GCC internal prototype to avoid an error.
16208 Use char because int might match the return type of a GCC
16209 builtin and then its argument prototype would still apply. */
16210 #ifdef __cplusplus
16211 extern "C"
16212 #endif
16213 char TIFFClientOpen ();
16215 main ()
16217 return TIFFClientOpen ();
16219 return 0;
16221 _ACEOF
16222 if ac_fn_c_try_link "$LINENO"; then :
16223 case "$LIBEXT" in
16224 dll) ac_cv_lib_soname_tiff=`$ac_cv_path_LDD conftest.exe | grep "tiff" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16225 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'` ;;
16226 *) ac_cv_lib_soname_tiff=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libtiff\\.$LIBEXT" | sed -e "s/^.*\\[\\(libtiff\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16227 if ${ac_cv_lib_soname_tiff:+false} :; then :
16228 ac_cv_lib_soname_tiff=`$LDD conftest$ac_exeext | grep "libtiff\\.$LIBEXT" | sed -e "s/^.*\(libtiff\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16229 fi ;;
16230 esac
16231 else
16232 ac_cv_lib_soname_tiff=
16234 rm -f core conftest.err conftest.$ac_objext \
16235 conftest$ac_exeext conftest.$ac_ext
16236 LIBS=$ac_check_soname_save_LIBS
16238 if ${ac_cv_lib_soname_tiff:+false} :; then :
16239 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16240 $as_echo "not found" >&6; }
16242 else
16243 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_tiff" >&5
16244 $as_echo "$ac_cv_lib_soname_tiff" >&6; }
16246 cat >>confdefs.h <<_ACEOF
16247 #define SONAME_LIBTIFF "$ac_cv_lib_soname_tiff"
16248 _ACEOF
16253 CPPFLAGS=$ac_save_CPPFLAGS
16256 if test "x$ac_cv_lib_soname_tiff" = "x"; then :
16257 case "x$with_tiff" in
16258 x) as_fn_append wine_notices "|libtiff ${notice_platform}development files not found, TIFF won't be supported." ;;
16259 xno) ;;
16260 *) as_fn_error $? "libtiff ${notice_platform}development files not found, TIFF won't be supported.
16261 This is an error since --with-tiff was requested." "$LINENO" 5 ;;
16262 esac
16266 if test "x$with_mpg123" != "xno"
16267 then
16268 if ${MPG123_CFLAGS:+false} :; then :
16269 if ${PKG_CONFIG+:} false; then :
16270 MPG123_CFLAGS=`$PKG_CONFIG --cflags libmpg123 2>/dev/null`
16274 if ${MPG123_LIBS:+false} :; then :
16275 if ${PKG_CONFIG+:} false; then :
16276 MPG123_LIBS=`$PKG_CONFIG --libs libmpg123 2>/dev/null`
16280 MPG123_LIBS=${MPG123_LIBS:-"-lmpg123"}
16281 $as_echo "$as_me:${as_lineno-$LINENO}: libmpg123 cflags: $MPG123_CFLAGS" >&5
16282 $as_echo "$as_me:${as_lineno-$LINENO}: libmpg123 libs: $MPG123_LIBS" >&5
16283 ac_save_CPPFLAGS=$CPPFLAGS
16284 CPPFLAGS="$CPPFLAGS $MPG123_CFLAGS"
16285 for ac_header in mpg123.h
16286 do :
16287 ac_fn_c_check_header_mongrel "$LINENO" "mpg123.h" "ac_cv_header_mpg123_h" "$ac_includes_default"
16288 if test "x$ac_cv_header_mpg123_h" = xyes; then :
16289 cat >>confdefs.h <<_ACEOF
16290 #define HAVE_MPG123_H 1
16291 _ACEOF
16295 done
16297 if test "$ac_cv_header_mpg123_h" = "yes"
16298 then
16299 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mpg123_feed in -lmpg123" >&5
16300 $as_echo_n "checking for mpg123_feed in -lmpg123... " >&6; }
16301 if ${ac_cv_lib_mpg123_mpg123_feed+:} false; then :
16302 $as_echo_n "(cached) " >&6
16303 else
16304 ac_check_lib_save_LIBS=$LIBS
16305 LIBS="-lmpg123 $MPG123_LIBS $LIBS"
16306 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16307 /* end confdefs.h. */
16309 /* Override any GCC internal prototype to avoid an error.
16310 Use char because int might match the return type of a GCC
16311 builtin and then its argument prototype would still apply. */
16312 #ifdef __cplusplus
16313 extern "C"
16314 #endif
16315 char mpg123_feed ();
16317 main ()
16319 return mpg123_feed ();
16321 return 0;
16323 _ACEOF
16324 if ac_fn_c_try_link "$LINENO"; then :
16325 ac_cv_lib_mpg123_mpg123_feed=yes
16326 else
16327 ac_cv_lib_mpg123_mpg123_feed=no
16329 rm -f core conftest.err conftest.$ac_objext \
16330 conftest$ac_exeext conftest.$ac_ext
16331 LIBS=$ac_check_lib_save_LIBS
16333 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_mpg123_mpg123_feed" >&5
16334 $as_echo "$ac_cv_lib_mpg123_mpg123_feed" >&6; }
16335 if test "x$ac_cv_lib_mpg123_mpg123_feed" = xyes; then :
16337 else
16338 MPG123_LIBS=""
16341 else
16342 MPG123_CFLAGS=""
16343 MPG123_LIBS=""
16345 CPPFLAGS=$ac_save_CPPFLAGS
16348 if test "x$ac_cv_lib_mpg123_mpg123_feed" != xyes -a x"$ac_cv_header_CoreAudio_CoreAudio_h" != xyes; then :
16349 case "x$with_mpg123" in
16350 x) as_fn_append wine_notices "|libmpg123 ${notice_platform}development files not found (or too old), mp3 codec won't be supported." ;;
16351 xno) ;;
16352 *) as_fn_error $? "libmpg123 ${notice_platform}development files not found (or too old), mp3 codec won't be supported.
16353 This is an error since --with-mpg123 was requested." "$LINENO" 5 ;;
16354 esac
16355 enable_l3codeca_acm=${enable_l3codeca_acm:-no}
16357 test "x$ac_cv_lib_mpg123_mpg123_feed" = xyes || enable_mp3dmod=${enable_mp3dmod:-no}
16359 if test "$ac_cv_header_AL_al_h" = "yes"
16360 then
16361 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lopenal" >&5
16362 $as_echo_n "checking for -lopenal... " >&6; }
16363 if ${ac_cv_lib_soname_openal+:} false; then :
16364 $as_echo_n "(cached) " >&6
16365 else
16366 ac_check_soname_save_LIBS=$LIBS
16367 LIBS="-lopenal $LIBS"
16368 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16369 /* end confdefs.h. */
16371 /* Override any GCC internal prototype to avoid an error.
16372 Use char because int might match the return type of a GCC
16373 builtin and then its argument prototype would still apply. */
16374 #ifdef __cplusplus
16375 extern "C"
16376 #endif
16377 char alGetSource3i ();
16379 main ()
16381 return alGetSource3i ();
16383 return 0;
16385 _ACEOF
16386 if ac_fn_c_try_link "$LINENO"; then :
16387 case "$LIBEXT" in
16388 dll) ac_cv_lib_soname_openal=`$ac_cv_path_LDD conftest.exe | grep "openal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16389 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'` ;;
16390 *) ac_cv_lib_soname_openal=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libopenal\\.$LIBEXT" | sed -e "s/^.*\\[\\(libopenal\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16391 if ${ac_cv_lib_soname_openal:+false} :; then :
16392 ac_cv_lib_soname_openal=`$LDD conftest$ac_exeext | grep "libopenal\\.$LIBEXT" | sed -e "s/^.*\(libopenal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16393 fi ;;
16394 esac
16395 else
16396 ac_cv_lib_soname_openal=
16398 rm -f core conftest.err conftest.$ac_objext \
16399 conftest$ac_exeext conftest.$ac_ext
16400 LIBS=$ac_check_soname_save_LIBS
16402 if ${ac_cv_lib_soname_openal:+false} :; then :
16403 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16404 $as_echo "not found" >&6; }
16406 else
16407 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_openal" >&5
16408 $as_echo "$ac_cv_lib_soname_openal" >&6; }
16410 cat >>confdefs.h <<_ACEOF
16411 #define SONAME_LIBOPENAL "$ac_cv_lib_soname_openal"
16412 _ACEOF
16414 OPENAL_LIBS="-lopenal"
16416 ac_cv_lib_openal=yes
16418 cat >>confdefs.h <<_ACEOF
16419 #define HAVE_OPENAL 1
16420 _ACEOF
16424 if test "x$ac_cv_lib_openal" != xyes; then :
16425 case "x$with_openal" in
16426 x) as_fn_append wine_notices "|libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported." ;;
16427 xno) ;;
16428 *) as_fn_error $? "libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported.
16429 This is an error since --with-openal was requested." "$LINENO" 5 ;;
16430 esac
16431 enable_openal32=${enable_openal32:-no}
16434 if test "x$ac_cv_lib_soname_FAudio" = "x"
16435 then
16436 enable_x3daudio1_0=${enable_x3daudio1_0:-no}
16437 enable_x3daudio1_1=${enable_x3daudio1_1:-no}
16438 enable_x3daudio1_2=${enable_x3daudio1_2:-no}
16439 enable_x3daudio1_3=${enable_x3daudio1_3:-no}
16440 enable_x3daudio1_4=${enable_x3daudio1_4:-no}
16441 enable_x3daudio1_5=${enable_x3daudio1_5:-no}
16442 enable_x3daudio1_6=${enable_x3daudio1_6:-no}
16443 enable_x3daudio1_7=${enable_x3daudio1_7:-no}
16444 enable_xactengine3_0=${enable_xactengine3_0:-no}
16445 enable_xactengine3_1=${enable_xactengine3_1:-no}
16446 enable_xactengine3_2=${enable_xactengine3_2:-no}
16447 enable_xactengine3_3=${enable_xactengine3_3:-no}
16448 enable_xactengine3_4=${enable_xactengine3_4:-no}
16449 enable_xactengine3_5=${enable_xactengine3_5:-no}
16450 enable_xactengine3_6=${enable_xactengine3_6:-no}
16451 enable_xactengine3_7=${enable_xactengine3_7:-no}
16452 enable_xapofx1_1=${enable_xapofx1_1:-no}
16453 enable_xapofx1_2=${enable_xapofx1_2:-no}
16454 enable_xapofx1_3=${enable_xapofx1_3:-no}
16455 enable_xapofx1_4=${enable_xapofx1_4:-no}
16456 enable_xapofx1_5=${enable_xapofx1_5:-no}
16457 enable_xaudio2_0=${enable_xaudio2_0:-no}
16458 enable_xaudio2_1=${enable_xaudio2_1:-no}
16459 enable_xaudio2_2=${enable_xaudio2_2:-no}
16460 enable_xaudio2_3=${enable_xaudio2_3:-no}
16461 enable_xaudio2_4=${enable_xaudio2_4:-no}
16462 enable_xaudio2_5=${enable_xaudio2_5:-no}
16463 enable_xaudio2_6=${enable_xaudio2_6:-no}
16464 enable_xaudio2_7=${enable_xaudio2_7:-no}
16465 enable_xaudio2_8=${enable_xaudio2_8:-no}
16466 enable_xaudio2_9=${enable_xaudio2_9:-no}
16469 if test "$ac_cv_header_kstat_h" = "yes"
16470 then
16471 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for kstat_open in -lkstat" >&5
16472 $as_echo_n "checking for kstat_open in -lkstat... " >&6; }
16473 if ${ac_cv_lib_kstat_kstat_open+:} false; then :
16474 $as_echo_n "(cached) " >&6
16475 else
16476 ac_check_lib_save_LIBS=$LIBS
16477 LIBS="-lkstat $LIBS"
16478 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16479 /* end confdefs.h. */
16481 /* Override any GCC internal prototype to avoid an error.
16482 Use char because int might match the return type of a GCC
16483 builtin and then its argument prototype would still apply. */
16484 #ifdef __cplusplus
16485 extern "C"
16486 #endif
16487 char kstat_open ();
16489 main ()
16491 return kstat_open ();
16493 return 0;
16495 _ACEOF
16496 if ac_fn_c_try_link "$LINENO"; then :
16497 ac_cv_lib_kstat_kstat_open=yes
16498 else
16499 ac_cv_lib_kstat_kstat_open=no
16501 rm -f core conftest.err conftest.$ac_objext \
16502 conftest$ac_exeext conftest.$ac_ext
16503 LIBS=$ac_check_lib_save_LIBS
16505 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_kstat_kstat_open" >&5
16506 $as_echo "$ac_cv_lib_kstat_kstat_open" >&6; }
16507 if test "x$ac_cv_lib_kstat_kstat_open" = xyes; then :
16509 $as_echo "#define HAVE_LIBKSTAT 1" >>confdefs.h
16511 KSTAT_LIBS="-lkstat"
16517 if test "$ac_cv_header_libprocstat_h" = "yes"
16518 then
16519 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for procstat_open_sysctl in -lprocstat" >&5
16520 $as_echo_n "checking for procstat_open_sysctl in -lprocstat... " >&6; }
16521 if ${ac_cv_lib_procstat_procstat_open_sysctl+:} false; then :
16522 $as_echo_n "(cached) " >&6
16523 else
16524 ac_check_lib_save_LIBS=$LIBS
16525 LIBS="-lprocstat $LIBS"
16526 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16527 /* end confdefs.h. */
16529 /* Override any GCC internal prototype to avoid an error.
16530 Use char because int might match the return type of a GCC
16531 builtin and then its argument prototype would still apply. */
16532 #ifdef __cplusplus
16533 extern "C"
16534 #endif
16535 char procstat_open_sysctl ();
16537 main ()
16539 return procstat_open_sysctl ();
16541 return 0;
16543 _ACEOF
16544 if ac_fn_c_try_link "$LINENO"; then :
16545 ac_cv_lib_procstat_procstat_open_sysctl=yes
16546 else
16547 ac_cv_lib_procstat_procstat_open_sysctl=no
16549 rm -f core conftest.err conftest.$ac_objext \
16550 conftest$ac_exeext conftest.$ac_ext
16551 LIBS=$ac_check_lib_save_LIBS
16553 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_procstat_procstat_open_sysctl" >&5
16554 $as_echo "$ac_cv_lib_procstat_procstat_open_sysctl" >&6; }
16555 if test "x$ac_cv_lib_procstat_procstat_open_sysctl" = xyes; then :
16557 $as_echo "#define HAVE_LIBPROCSTAT 1" >>confdefs.h
16559 PROCSTAT_LIBS="-lprocstat"
16565 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lodbc" >&5
16566 $as_echo_n "checking for -lodbc... " >&6; }
16567 if ${ac_cv_lib_soname_odbc+:} false; then :
16568 $as_echo_n "(cached) " >&6
16569 else
16570 ac_check_soname_save_LIBS=$LIBS
16571 LIBS="-lodbc $LIBS"
16572 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16573 /* end confdefs.h. */
16575 /* Override any GCC internal prototype to avoid an error.
16576 Use char because int might match the return type of a GCC
16577 builtin and then its argument prototype would still apply. */
16578 #ifdef __cplusplus
16579 extern "C"
16580 #endif
16581 char SQLConnect ();
16583 main ()
16585 return SQLConnect ();
16587 return 0;
16589 _ACEOF
16590 if ac_fn_c_try_link "$LINENO"; then :
16591 case "$LIBEXT" in
16592 dll) ac_cv_lib_soname_odbc=`$ac_cv_path_LDD conftest.exe | grep "odbc" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16593 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'` ;;
16594 *) ac_cv_lib_soname_odbc=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libodbc\\.$LIBEXT" | sed -e "s/^.*\\[\\(libodbc\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16595 if ${ac_cv_lib_soname_odbc:+false} :; then :
16596 ac_cv_lib_soname_odbc=`$LDD conftest$ac_exeext | grep "libodbc\\.$LIBEXT" | sed -e "s/^.*\(libodbc\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16597 fi ;;
16598 esac
16599 else
16600 ac_cv_lib_soname_odbc=
16602 rm -f core conftest.err conftest.$ac_objext \
16603 conftest$ac_exeext conftest.$ac_ext
16604 LIBS=$ac_check_soname_save_LIBS
16606 if ${ac_cv_lib_soname_odbc:+false} :; then :
16607 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16608 $as_echo "not found" >&6; }
16609 cat >>confdefs.h <<_ACEOF
16610 #define SONAME_LIBODBC "libodbc.$LIBEXT"
16611 _ACEOF
16613 else
16614 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_odbc" >&5
16615 $as_echo "$ac_cv_lib_soname_odbc" >&6; }
16617 cat >>confdefs.h <<_ACEOF
16618 #define SONAME_LIBODBC "$ac_cv_lib_soname_odbc"
16619 _ACEOF
16624 if test "x$with_netapi" != "xno"
16625 then
16626 if ${NETAPI_CFLAGS:+false} :; then :
16627 if ${PKG_CONFIG+:} false; then :
16628 NETAPI_CFLAGS=`$PKG_CONFIG --cflags netapi 2>/dev/null`
16632 if ${NETAPI_LIBS:+false} :; then :
16633 if ${PKG_CONFIG+:} false; then :
16634 NETAPI_LIBS=`$PKG_CONFIG --libs netapi 2>/dev/null`
16639 $as_echo "$as_me:${as_lineno-$LINENO}: netapi cflags: $NETAPI_CFLAGS" >&5
16640 $as_echo "$as_me:${as_lineno-$LINENO}: netapi libs: $NETAPI_LIBS" >&5
16641 ac_save_CPPFLAGS=$CPPFLAGS
16642 CPPFLAGS="$CPPFLAGS $NETAPI_CFLAGS"
16643 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lnetapi" >&5
16644 $as_echo_n "checking for -lnetapi... " >&6; }
16645 if ${ac_cv_lib_soname_netapi+:} false; then :
16646 $as_echo_n "(cached) " >&6
16647 else
16648 ac_check_soname_save_LIBS=$LIBS
16649 LIBS="-lnetapi $NETAPI_LIBS $LIBS"
16650 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16651 /* end confdefs.h. */
16653 /* Override any GCC internal prototype to avoid an error.
16654 Use char because int might match the return type of a GCC
16655 builtin and then its argument prototype would still apply. */
16656 #ifdef __cplusplus
16657 extern "C"
16658 #endif
16659 char libnetapi_init ();
16661 main ()
16663 return libnetapi_init ();
16665 return 0;
16667 _ACEOF
16668 if ac_fn_c_try_link "$LINENO"; then :
16669 case "$LIBEXT" in
16670 dll) ac_cv_lib_soname_netapi=`$ac_cv_path_LDD conftest.exe | grep "netapi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16671 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'` ;;
16672 *) ac_cv_lib_soname_netapi=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libnetapi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libnetapi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16673 if ${ac_cv_lib_soname_netapi:+false} :; then :
16674 ac_cv_lib_soname_netapi=`$LDD conftest$ac_exeext | grep "libnetapi\\.$LIBEXT" | sed -e "s/^.*\(libnetapi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16675 fi ;;
16676 esac
16677 else
16678 ac_cv_lib_soname_netapi=
16680 rm -f core conftest.err conftest.$ac_objext \
16681 conftest$ac_exeext conftest.$ac_ext
16682 LIBS=$ac_check_soname_save_LIBS
16684 if ${ac_cv_lib_soname_netapi:+false} :; then :
16685 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16686 $as_echo "not found" >&6; }
16687 cat >>confdefs.h <<_ACEOF
16688 #define SONAME_LIBNETAPI "libnetapi.$LIBEXT"
16689 _ACEOF
16691 else
16692 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_netapi" >&5
16693 $as_echo "$ac_cv_lib_soname_netapi" >&6; }
16695 cat >>confdefs.h <<_ACEOF
16696 #define SONAME_LIBNETAPI "$ac_cv_lib_soname_netapi"
16697 _ACEOF
16701 CPPFLAGS=$ac_save_CPPFLAGS
16705 if test "x$enable_winealsa_drv$enable_winecoreaudio_drv$enable_winepulse_drv$enable_wineoss_drv$enable_wineandroid_drv" = xnonononono -a \
16706 "x$with_alsa$with_coreaudio$with_oss$with_pulse" != xnononono
16707 then
16708 as_fn_append wine_warnings "|No sound system was found. Windows applications will be silent."
16711 if test "x$with_vulkan" != "xno"
16712 then
16713 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lvulkan" >&5
16714 $as_echo_n "checking for -lvulkan... " >&6; }
16715 if ${ac_cv_lib_soname_vulkan+:} false; then :
16716 $as_echo_n "(cached) " >&6
16717 else
16718 ac_check_soname_save_LIBS=$LIBS
16719 LIBS="-lvulkan $LIBS"
16720 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16721 /* end confdefs.h. */
16723 /* Override any GCC internal prototype to avoid an error.
16724 Use char because int might match the return type of a GCC
16725 builtin and then its argument prototype would still apply. */
16726 #ifdef __cplusplus
16727 extern "C"
16728 #endif
16729 char vkGetInstanceProcAddr ();
16731 main ()
16733 return vkGetInstanceProcAddr ();
16735 return 0;
16737 _ACEOF
16738 if ac_fn_c_try_link "$LINENO"; then :
16739 case "$LIBEXT" in
16740 dll) ac_cv_lib_soname_vulkan=`$ac_cv_path_LDD conftest.exe | grep "vulkan" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16741 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'` ;;
16742 *) ac_cv_lib_soname_vulkan=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libvulkan\\.$LIBEXT" | sed -e "s/^.*\\[\\(libvulkan\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16743 if ${ac_cv_lib_soname_vulkan:+false} :; then :
16744 ac_cv_lib_soname_vulkan=`$LDD conftest$ac_exeext | grep "libvulkan\\.$LIBEXT" | sed -e "s/^.*\(libvulkan\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16745 fi ;;
16746 esac
16747 else
16748 ac_cv_lib_soname_vulkan=
16750 rm -f core conftest.err conftest.$ac_objext \
16751 conftest$ac_exeext conftest.$ac_ext
16752 LIBS=$ac_check_soname_save_LIBS
16754 if ${ac_cv_lib_soname_vulkan:+false} :; then :
16755 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16756 $as_echo "not found" >&6; }
16758 else
16759 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_vulkan" >&5
16760 $as_echo "$ac_cv_lib_soname_vulkan" >&6; }
16762 cat >>confdefs.h <<_ACEOF
16763 #define SONAME_LIBVULKAN "$ac_cv_lib_soname_vulkan"
16764 _ACEOF
16768 if test "x$ac_cv_lib_soname_vulkan" = "x"
16769 then
16770 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lMoltenVK" >&5
16771 $as_echo_n "checking for -lMoltenVK... " >&6; }
16772 if ${ac_cv_lib_soname_MoltenVK+:} false; then :
16773 $as_echo_n "(cached) " >&6
16774 else
16775 ac_check_soname_save_LIBS=$LIBS
16776 LIBS="-lMoltenVK $LIBS"
16777 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16778 /* end confdefs.h. */
16780 /* Override any GCC internal prototype to avoid an error.
16781 Use char because int might match the return type of a GCC
16782 builtin and then its argument prototype would still apply. */
16783 #ifdef __cplusplus
16784 extern "C"
16785 #endif
16786 char vkGetInstanceProcAddr ();
16788 main ()
16790 return vkGetInstanceProcAddr ();
16792 return 0;
16794 _ACEOF
16795 if ac_fn_c_try_link "$LINENO"; then :
16796 case "$LIBEXT" in
16797 dll) ac_cv_lib_soname_MoltenVK=`$ac_cv_path_LDD conftest.exe | grep "MoltenVK" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16798 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'` ;;
16799 *) ac_cv_lib_soname_MoltenVK=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libMoltenVK\\.$LIBEXT" | sed -e "s/^.*\\[\\(libMoltenVK\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16800 if ${ac_cv_lib_soname_MoltenVK:+false} :; then :
16801 ac_cv_lib_soname_MoltenVK=`$LDD conftest$ac_exeext | grep "libMoltenVK\\.$LIBEXT" | sed -e "s/^.*\(libMoltenVK\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16802 fi ;;
16803 esac
16804 else
16805 ac_cv_lib_soname_MoltenVK=
16807 rm -f core conftest.err conftest.$ac_objext \
16808 conftest$ac_exeext conftest.$ac_ext
16809 LIBS=$ac_check_soname_save_LIBS
16811 if ${ac_cv_lib_soname_MoltenVK:+false} :; then :
16812 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16813 $as_echo "not found" >&6; }
16815 else
16816 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_MoltenVK" >&5
16817 $as_echo "$ac_cv_lib_soname_MoltenVK" >&6; }
16819 cat >>confdefs.h <<_ACEOF
16820 #define SONAME_LIBMOLTENVK "$ac_cv_lib_soname_MoltenVK"
16821 _ACEOF
16827 if test "x$ac_cv_lib_soname_vulkan" = "x" -a "x$ac_cv_lib_soname_MoltenVK" = "x"; then :
16828 case "x$with_vulkan" in
16829 x) as_fn_append wine_notices "|libvulkan and libMoltenVK ${notice_platform}development files not found, Vulkan won't be supported." ;;
16830 xno) ;;
16831 *) as_fn_error $? "libvulkan and libMoltenVK ${notice_platform}development files not found, Vulkan won't be supported.
16832 This is an error since --with-vulkan was requested." "$LINENO" 5 ;;
16833 esac
16837 if test "x$with_vkd3d" != "xno"
16838 then
16839 if ${VKD3D_CFLAGS:+false} :; then :
16840 if ${PKG_CONFIG+:} false; then :
16841 VKD3D_CFLAGS=`$PKG_CONFIG --cflags libvkd3d 2>/dev/null`
16845 if ${VKD3D_LIBS:+false} :; then :
16846 if ${PKG_CONFIG+:} false; then :
16847 VKD3D_LIBS=`$PKG_CONFIG --libs libvkd3d 2>/dev/null`
16852 $as_echo "$as_me:${as_lineno-$LINENO}: libvkd3d cflags: $VKD3D_CFLAGS" >&5
16853 $as_echo "$as_me:${as_lineno-$LINENO}: libvkd3d libs: $VKD3D_LIBS" >&5
16854 ac_save_CPPFLAGS=$CPPFLAGS
16855 CPPFLAGS="$CPPFLAGS $VKD3D_CFLAGS"
16856 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lvkd3d" >&5
16857 $as_echo_n "checking for -lvkd3d... " >&6; }
16858 if ${ac_cv_lib_soname_vkd3d+:} false; then :
16859 $as_echo_n "(cached) " >&6
16860 else
16861 ac_check_soname_save_LIBS=$LIBS
16862 LIBS="-lvkd3d $VKD3D_LIBS $LIBS"
16863 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16864 /* end confdefs.h. */
16866 /* Override any GCC internal prototype to avoid an error.
16867 Use char because int might match the return type of a GCC
16868 builtin and then its argument prototype would still apply. */
16869 #ifdef __cplusplus
16870 extern "C"
16871 #endif
16872 char vkd3d_serialize_versioned_root_signature ();
16874 main ()
16876 return vkd3d_serialize_versioned_root_signature ();
16878 return 0;
16880 _ACEOF
16881 if ac_fn_c_try_link "$LINENO"; then :
16882 case "$LIBEXT" in
16883 dll) ac_cv_lib_soname_vkd3d=`$ac_cv_path_LDD conftest.exe | grep "vkd3d" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16884 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'` ;;
16885 *) ac_cv_lib_soname_vkd3d=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libvkd3d\\.$LIBEXT" | sed -e "s/^.*\\[\\(libvkd3d\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16886 if ${ac_cv_lib_soname_vkd3d:+false} :; then :
16887 ac_cv_lib_soname_vkd3d=`$LDD conftest$ac_exeext | grep "libvkd3d\\.$LIBEXT" | sed -e "s/^.*\(libvkd3d\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16888 fi ;;
16889 esac
16890 else
16891 ac_cv_lib_soname_vkd3d=
16893 rm -f core conftest.err conftest.$ac_objext \
16894 conftest$ac_exeext conftest.$ac_ext
16895 LIBS=$ac_check_soname_save_LIBS
16897 if ${ac_cv_lib_soname_vkd3d:+false} :; then :
16898 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16899 $as_echo "not found" >&6; }
16901 else
16902 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_vkd3d" >&5
16903 $as_echo "$ac_cv_lib_soname_vkd3d" >&6; }
16905 cat >>confdefs.h <<_ACEOF
16906 #define SONAME_LIBVKD3D "$ac_cv_lib_soname_vkd3d"
16907 _ACEOF
16911 CPPFLAGS=$ac_save_CPPFLAGS
16913 if ${VKD3D_SHADER_CFLAGS:+false} :; then :
16914 if ${PKG_CONFIG+:} false; then :
16915 VKD3D_SHADER_CFLAGS=`$PKG_CONFIG --cflags libvkd3d-shader 2>/dev/null`
16919 if ${VKD3D_SHADER_LIBS:+false} :; then :
16920 if ${PKG_CONFIG+:} false; then :
16921 VKD3D_SHADER_LIBS=`$PKG_CONFIG --libs libvkd3d-shader 2>/dev/null`
16926 $as_echo "$as_me:${as_lineno-$LINENO}: libvkd3d-shader cflags: $VKD3D_SHADER_CFLAGS" >&5
16927 $as_echo "$as_me:${as_lineno-$LINENO}: libvkd3d-shader libs: $VKD3D_SHADER_LIBS" >&5
16928 ac_save_CPPFLAGS=$CPPFLAGS
16929 CPPFLAGS="$CPPFLAGS $VKD3D_SHADER_CFLAGS"
16930 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lvkd3d-shader" >&5
16931 $as_echo_n "checking for -lvkd3d-shader... " >&6; }
16932 if ${ac_cv_lib_soname_vkd3d_shader+:} false; then :
16933 $as_echo_n "(cached) " >&6
16934 else
16935 ac_check_soname_save_LIBS=$LIBS
16936 LIBS="-lvkd3d-shader $VKD3D_SHADER_LIBS $LIBS"
16937 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16938 /* end confdefs.h. */
16940 /* Override any GCC internal prototype to avoid an error.
16941 Use char because int might match the return type of a GCC
16942 builtin and then its argument prototype would still apply. */
16943 #ifdef __cplusplus
16944 extern "C"
16945 #endif
16946 char vkd3d_shader_compile ();
16948 main ()
16950 return vkd3d_shader_compile ();
16952 return 0;
16954 _ACEOF
16955 if ac_fn_c_try_link "$LINENO"; then :
16956 case "$LIBEXT" in
16957 dll) ac_cv_lib_soname_vkd3d_shader=`$ac_cv_path_LDD conftest.exe | grep "vkd3d-shader" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16958 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'` ;;
16959 *) 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'`
16960 if ${ac_cv_lib_soname_vkd3d_shader:+false} :; then :
16961 ac_cv_lib_soname_vkd3d_shader=`$LDD conftest$ac_exeext | grep "libvkd3d-shader\\.$LIBEXT" | sed -e "s/^.*\(libvkd3d-shader\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16962 fi ;;
16963 esac
16964 else
16965 ac_cv_lib_soname_vkd3d_shader=
16967 rm -f core conftest.err conftest.$ac_objext \
16968 conftest$ac_exeext conftest.$ac_ext
16969 LIBS=$ac_check_soname_save_LIBS
16971 if ${ac_cv_lib_soname_vkd3d_shader:+false} :; then :
16972 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16973 $as_echo "not found" >&6; }
16975 else
16976 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_vkd3d_shader" >&5
16977 $as_echo "$ac_cv_lib_soname_vkd3d_shader" >&6; }
16979 cat >>confdefs.h <<_ACEOF
16980 #define SONAME_LIBVKD3D_SHADER "$ac_cv_lib_soname_vkd3d_shader"
16981 _ACEOF
16985 CPPFLAGS=$ac_save_CPPFLAGS
16988 if test "x$ac_cv_lib_soname_vkd3d" = "x"; then :
16989 case "x$with_vkd3d" in
16990 x) as_fn_append wine_notices "|vkd3d ${notice_platform}development files not found (or too old), Direct3D 12 won't be supported." ;;
16991 xno) ;;
16992 *) as_fn_error $? "vkd3d ${notice_platform}development files not found (or too old), Direct3D 12 won't be supported.
16993 This is an error since --with-vkd3d was requested." "$LINENO" 5 ;;
16994 esac
16997 test "x$ac_cv_lib_soname_vkd3d" != "x" || enable_d3d12=${enable_d3d12:-no}
17000 EXTRACFLAGS=""
17002 if test "x${GCC}" = "xyes"
17003 then
17004 EXTRACFLAGS="-Wall -pipe"
17006 saved_CFLAGS=$CFLAGS
17007 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=unknown-warning-option" >&5
17008 $as_echo_n "checking whether the compiler supports -Werror=unknown-warning-option... " >&6; }
17009 if ${ac_cv_cflags__Werror_unknown_warning_option+:} false; then :
17010 $as_echo_n "(cached) " >&6
17011 else
17012 ac_wine_try_cflags_saved=$CFLAGS
17013 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
17014 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17015 /* end confdefs.h. */
17016 int main(int argc, char **argv) { return 0; }
17017 _ACEOF
17018 if ac_fn_c_try_link "$LINENO"; then :
17019 ac_cv_cflags__Werror_unknown_warning_option=yes
17020 else
17021 ac_cv_cflags__Werror_unknown_warning_option=no
17023 rm -f core conftest.err conftest.$ac_objext \
17024 conftest$ac_exeext conftest.$ac_ext
17025 CFLAGS=$ac_wine_try_cflags_saved
17027 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_unknown_warning_option" >&5
17028 $as_echo "$ac_cv_cflags__Werror_unknown_warning_option" >&6; }
17029 if test "x$ac_cv_cflags__Werror_unknown_warning_option" = xyes; then :
17030 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
17032 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=unused-command-line-argument" >&5
17033 $as_echo_n "checking whether the compiler supports -Werror=unused-command-line-argument... " >&6; }
17034 if ${ac_cv_cflags__Werror_unused_command_line_argument+:} false; then :
17035 $as_echo_n "(cached) " >&6
17036 else
17037 ac_wine_try_cflags_saved=$CFLAGS
17038 CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
17039 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17040 /* end confdefs.h. */
17041 int main(int argc, char **argv) { return 0; }
17042 _ACEOF
17043 if ac_fn_c_try_link "$LINENO"; then :
17044 ac_cv_cflags__Werror_unused_command_line_argument=yes
17045 else
17046 ac_cv_cflags__Werror_unused_command_line_argument=no
17048 rm -f core conftest.err conftest.$ac_objext \
17049 conftest$ac_exeext conftest.$ac_ext
17050 CFLAGS=$ac_wine_try_cflags_saved
17052 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_unused_command_line_argument" >&5
17053 $as_echo "$ac_cv_cflags__Werror_unused_command_line_argument" >&6; }
17054 if test "x$ac_cv_cflags__Werror_unused_command_line_argument" = xyes; then :
17055 CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
17057 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=ignored-optimization-argument" >&5
17058 $as_echo_n "checking whether the compiler supports -Werror=ignored-optimization-argument... " >&6; }
17059 if ${ac_cv_cflags__Werror_ignored_optimization_argument+:} false; then :
17060 $as_echo_n "(cached) " >&6
17061 else
17062 ac_wine_try_cflags_saved=$CFLAGS
17063 CFLAGS="$CFLAGS -Werror=ignored-optimization-argument"
17064 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17065 /* end confdefs.h. */
17066 int main(int argc, char **argv) { return 0; }
17067 _ACEOF
17068 if ac_fn_c_try_link "$LINENO"; then :
17069 ac_cv_cflags__Werror_ignored_optimization_argument=yes
17070 else
17071 ac_cv_cflags__Werror_ignored_optimization_argument=no
17073 rm -f core conftest.err conftest.$ac_objext \
17074 conftest$ac_exeext conftest.$ac_ext
17075 CFLAGS=$ac_wine_try_cflags_saved
17077 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_ignored_optimization_argument" >&5
17078 $as_echo "$ac_cv_cflags__Werror_ignored_optimization_argument" >&6; }
17079 if test "x$ac_cv_cflags__Werror_ignored_optimization_argument" = xyes; then :
17080 CFLAGS="$CFLAGS -Werror=ignored-optimization-argument"
17082 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fcf-protection=none" >&5
17083 $as_echo_n "checking whether the compiler supports -fcf-protection=none... " >&6; }
17084 if ${ac_cv_cflags__fcf_protection_none+:} false; then :
17085 $as_echo_n "(cached) " >&6
17086 else
17087 ac_wine_try_cflags_saved=$CFLAGS
17088 CFLAGS="$CFLAGS -fcf-protection=none"
17089 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17090 /* end confdefs.h. */
17091 int main(int argc, char **argv) { return 0; }
17092 _ACEOF
17093 if ac_fn_c_try_link "$LINENO"; then :
17094 ac_cv_cflags__fcf_protection_none=yes
17095 else
17096 ac_cv_cflags__fcf_protection_none=no
17098 rm -f core conftest.err conftest.$ac_objext \
17099 conftest$ac_exeext conftest.$ac_ext
17100 CFLAGS=$ac_wine_try_cflags_saved
17102 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fcf_protection_none" >&5
17103 $as_echo "$ac_cv_cflags__fcf_protection_none" >&6; }
17104 if test "x$ac_cv_cflags__fcf_protection_none" = xyes; then :
17105 EXTRACFLAGS="$EXTRACFLAGS -fcf-protection=none"
17107 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-stack-protector" >&5
17108 $as_echo_n "checking whether the compiler supports -fno-stack-protector... " >&6; }
17109 if ${ac_cv_cflags__fno_stack_protector+:} false; then :
17110 $as_echo_n "(cached) " >&6
17111 else
17112 ac_wine_try_cflags_saved=$CFLAGS
17113 CFLAGS="$CFLAGS -fno-stack-protector"
17114 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17115 /* end confdefs.h. */
17116 int main(int argc, char **argv) { return 0; }
17117 _ACEOF
17118 if ac_fn_c_try_link "$LINENO"; then :
17119 ac_cv_cflags__fno_stack_protector=yes
17120 else
17121 ac_cv_cflags__fno_stack_protector=no
17123 rm -f core conftest.err conftest.$ac_objext \
17124 conftest$ac_exeext conftest.$ac_ext
17125 CFLAGS=$ac_wine_try_cflags_saved
17127 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_stack_protector" >&5
17128 $as_echo "$ac_cv_cflags__fno_stack_protector" >&6; }
17129 if test "x$ac_cv_cflags__fno_stack_protector" = xyes; then :
17130 EXTRACFLAGS="$EXTRACFLAGS -fno-stack-protector"
17132 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-strict-aliasing" >&5
17133 $as_echo_n "checking whether the compiler supports -fno-strict-aliasing... " >&6; }
17134 if ${ac_cv_cflags__fno_strict_aliasing+:} false; then :
17135 $as_echo_n "(cached) " >&6
17136 else
17137 ac_wine_try_cflags_saved=$CFLAGS
17138 CFLAGS="$CFLAGS -fno-strict-aliasing"
17139 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17140 /* end confdefs.h. */
17141 int main(int argc, char **argv) { return 0; }
17142 _ACEOF
17143 if ac_fn_c_try_link "$LINENO"; then :
17144 ac_cv_cflags__fno_strict_aliasing=yes
17145 else
17146 ac_cv_cflags__fno_strict_aliasing=no
17148 rm -f core conftest.err conftest.$ac_objext \
17149 conftest$ac_exeext conftest.$ac_ext
17150 CFLAGS=$ac_wine_try_cflags_saved
17152 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_strict_aliasing" >&5
17153 $as_echo "$ac_cv_cflags__fno_strict_aliasing" >&6; }
17154 if test "x$ac_cv_cflags__fno_strict_aliasing" = xyes; then :
17155 EXTRACFLAGS="$EXTRACFLAGS -fno-strict-aliasing"
17157 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wdeclaration-after-statement" >&5
17158 $as_echo_n "checking whether the compiler supports -Wdeclaration-after-statement... " >&6; }
17159 if ${ac_cv_cflags__Wdeclaration_after_statement+:} false; then :
17160 $as_echo_n "(cached) " >&6
17161 else
17162 ac_wine_try_cflags_saved=$CFLAGS
17163 CFLAGS="$CFLAGS -Wdeclaration-after-statement"
17164 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17165 /* end confdefs.h. */
17166 int main(int argc, char **argv) { return 0; }
17167 _ACEOF
17168 if ac_fn_c_try_link "$LINENO"; then :
17169 ac_cv_cflags__Wdeclaration_after_statement=yes
17170 else
17171 ac_cv_cflags__Wdeclaration_after_statement=no
17173 rm -f core conftest.err conftest.$ac_objext \
17174 conftest$ac_exeext conftest.$ac_ext
17175 CFLAGS=$ac_wine_try_cflags_saved
17177 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wdeclaration_after_statement" >&5
17178 $as_echo "$ac_cv_cflags__Wdeclaration_after_statement" >&6; }
17179 if test "x$ac_cv_cflags__Wdeclaration_after_statement" = xyes; then :
17180 EXTRACFLAGS="$EXTRACFLAGS -Wdeclaration-after-statement"
17182 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wempty-body" >&5
17183 $as_echo_n "checking whether the compiler supports -Wempty-body... " >&6; }
17184 if ${ac_cv_cflags__Wempty_body+:} false; then :
17185 $as_echo_n "(cached) " >&6
17186 else
17187 ac_wine_try_cflags_saved=$CFLAGS
17188 CFLAGS="$CFLAGS -Wempty-body"
17189 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17190 /* end confdefs.h. */
17191 int main(int argc, char **argv) { return 0; }
17192 _ACEOF
17193 if ac_fn_c_try_link "$LINENO"; then :
17194 ac_cv_cflags__Wempty_body=yes
17195 else
17196 ac_cv_cflags__Wempty_body=no
17198 rm -f core conftest.err conftest.$ac_objext \
17199 conftest$ac_exeext conftest.$ac_ext
17200 CFLAGS=$ac_wine_try_cflags_saved
17202 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wempty_body" >&5
17203 $as_echo "$ac_cv_cflags__Wempty_body" >&6; }
17204 if test "x$ac_cv_cflags__Wempty_body" = xyes; then :
17205 EXTRACFLAGS="$EXTRACFLAGS -Wempty-body"
17207 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wignored-qualifiers" >&5
17208 $as_echo_n "checking whether the compiler supports -Wignored-qualifiers... " >&6; }
17209 if ${ac_cv_cflags__Wignored_qualifiers+:} false; then :
17210 $as_echo_n "(cached) " >&6
17211 else
17212 ac_wine_try_cflags_saved=$CFLAGS
17213 CFLAGS="$CFLAGS -Wignored-qualifiers"
17214 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17215 /* end confdefs.h. */
17216 int main(int argc, char **argv) { return 0; }
17217 _ACEOF
17218 if ac_fn_c_try_link "$LINENO"; then :
17219 ac_cv_cflags__Wignored_qualifiers=yes
17220 else
17221 ac_cv_cflags__Wignored_qualifiers=no
17223 rm -f core conftest.err conftest.$ac_objext \
17224 conftest$ac_exeext conftest.$ac_ext
17225 CFLAGS=$ac_wine_try_cflags_saved
17227 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wignored_qualifiers" >&5
17228 $as_echo "$ac_cv_cflags__Wignored_qualifiers" >&6; }
17229 if test "x$ac_cv_cflags__Wignored_qualifiers" = xyes; then :
17230 EXTRACFLAGS="$EXTRACFLAGS -Wignored-qualifiers"
17232 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Winit-self" >&5
17233 $as_echo_n "checking whether the compiler supports -Winit-self... " >&6; }
17234 if ${ac_cv_cflags__Winit_self+:} false; then :
17235 $as_echo_n "(cached) " >&6
17236 else
17237 ac_wine_try_cflags_saved=$CFLAGS
17238 CFLAGS="$CFLAGS -Winit-self"
17239 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17240 /* end confdefs.h. */
17241 int main(int argc, char **argv) { return 0; }
17242 _ACEOF
17243 if ac_fn_c_try_link "$LINENO"; then :
17244 ac_cv_cflags__Winit_self=yes
17245 else
17246 ac_cv_cflags__Winit_self=no
17248 rm -f core conftest.err conftest.$ac_objext \
17249 conftest$ac_exeext conftest.$ac_ext
17250 CFLAGS=$ac_wine_try_cflags_saved
17252 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Winit_self" >&5
17253 $as_echo "$ac_cv_cflags__Winit_self" >&6; }
17254 if test "x$ac_cv_cflags__Winit_self" = xyes; then :
17255 EXTRACFLAGS="$EXTRACFLAGS -Winit-self"
17257 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpacked-not-aligned" >&5
17258 $as_echo_n "checking whether the compiler supports -Wpacked-not-aligned... " >&6; }
17259 if ${ac_cv_cflags__Wpacked_not_aligned+:} false; then :
17260 $as_echo_n "(cached) " >&6
17261 else
17262 ac_wine_try_cflags_saved=$CFLAGS
17263 CFLAGS="$CFLAGS -Wpacked-not-aligned"
17264 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17265 /* end confdefs.h. */
17266 int main(int argc, char **argv) { return 0; }
17267 _ACEOF
17268 if ac_fn_c_try_link "$LINENO"; then :
17269 ac_cv_cflags__Wpacked_not_aligned=yes
17270 else
17271 ac_cv_cflags__Wpacked_not_aligned=no
17273 rm -f core conftest.err conftest.$ac_objext \
17274 conftest$ac_exeext conftest.$ac_ext
17275 CFLAGS=$ac_wine_try_cflags_saved
17277 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpacked_not_aligned" >&5
17278 $as_echo "$ac_cv_cflags__Wpacked_not_aligned" >&6; }
17279 if test "x$ac_cv_cflags__Wpacked_not_aligned" = xyes; then :
17280 EXTRACFLAGS="$EXTRACFLAGS -Wno-packed-not-aligned"
17282 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpragma-pack" >&5
17283 $as_echo_n "checking whether the compiler supports -Wpragma-pack... " >&6; }
17284 if ${ac_cv_cflags__Wpragma_pack+:} false; then :
17285 $as_echo_n "(cached) " >&6
17286 else
17287 ac_wine_try_cflags_saved=$CFLAGS
17288 CFLAGS="$CFLAGS -Wpragma-pack"
17289 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17290 /* end confdefs.h. */
17291 int main(int argc, char **argv) { return 0; }
17292 _ACEOF
17293 if ac_fn_c_try_link "$LINENO"; then :
17294 ac_cv_cflags__Wpragma_pack=yes
17295 else
17296 ac_cv_cflags__Wpragma_pack=no
17298 rm -f core conftest.err conftest.$ac_objext \
17299 conftest$ac_exeext conftest.$ac_ext
17300 CFLAGS=$ac_wine_try_cflags_saved
17302 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpragma_pack" >&5
17303 $as_echo "$ac_cv_cflags__Wpragma_pack" >&6; }
17304 if test "x$ac_cv_cflags__Wpragma_pack" = xyes; then :
17305 EXTRACFLAGS="$EXTRACFLAGS -Wno-pragma-pack"
17307 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wshift-overflow=2" >&5
17308 $as_echo_n "checking whether the compiler supports -Wshift-overflow=2... " >&6; }
17309 if ${ac_cv_cflags__Wshift_overflow_2+:} false; then :
17310 $as_echo_n "(cached) " >&6
17311 else
17312 ac_wine_try_cflags_saved=$CFLAGS
17313 CFLAGS="$CFLAGS -Wshift-overflow=2"
17314 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17315 /* end confdefs.h. */
17316 int main(int argc, char **argv) { return 0; }
17317 _ACEOF
17318 if ac_fn_c_try_link "$LINENO"; then :
17319 ac_cv_cflags__Wshift_overflow_2=yes
17320 else
17321 ac_cv_cflags__Wshift_overflow_2=no
17323 rm -f core conftest.err conftest.$ac_objext \
17324 conftest$ac_exeext conftest.$ac_ext
17325 CFLAGS=$ac_wine_try_cflags_saved
17327 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wshift_overflow_2" >&5
17328 $as_echo "$ac_cv_cflags__Wshift_overflow_2" >&6; }
17329 if test "x$ac_cv_cflags__Wshift_overflow_2" = xyes; then :
17330 EXTRACFLAGS="$EXTRACFLAGS -Wshift-overflow=2"
17332 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wstrict-prototypes" >&5
17333 $as_echo_n "checking whether the compiler supports -Wstrict-prototypes... " >&6; }
17334 if ${ac_cv_cflags__Wstrict_prototypes+:} false; then :
17335 $as_echo_n "(cached) " >&6
17336 else
17337 ac_wine_try_cflags_saved=$CFLAGS
17338 CFLAGS="$CFLAGS -Wstrict-prototypes"
17339 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17340 /* end confdefs.h. */
17341 int main(int argc, char **argv) { return 0; }
17342 _ACEOF
17343 if ac_fn_c_try_link "$LINENO"; then :
17344 ac_cv_cflags__Wstrict_prototypes=yes
17345 else
17346 ac_cv_cflags__Wstrict_prototypes=no
17348 rm -f core conftest.err conftest.$ac_objext \
17349 conftest$ac_exeext conftest.$ac_ext
17350 CFLAGS=$ac_wine_try_cflags_saved
17352 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wstrict_prototypes" >&5
17353 $as_echo "$ac_cv_cflags__Wstrict_prototypes" >&6; }
17354 if test "x$ac_cv_cflags__Wstrict_prototypes" = xyes; then :
17355 EXTRACFLAGS="$EXTRACFLAGS -Wstrict-prototypes"
17357 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wtype-limits" >&5
17358 $as_echo_n "checking whether the compiler supports -Wtype-limits... " >&6; }
17359 if ${ac_cv_cflags__Wtype_limits+:} false; then :
17360 $as_echo_n "(cached) " >&6
17361 else
17362 ac_wine_try_cflags_saved=$CFLAGS
17363 CFLAGS="$CFLAGS -Wtype-limits"
17364 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17365 /* end confdefs.h. */
17366 int main(int argc, char **argv) { return 0; }
17367 _ACEOF
17368 if ac_fn_c_try_link "$LINENO"; then :
17369 ac_cv_cflags__Wtype_limits=yes
17370 else
17371 ac_cv_cflags__Wtype_limits=no
17373 rm -f core conftest.err conftest.$ac_objext \
17374 conftest$ac_exeext conftest.$ac_ext
17375 CFLAGS=$ac_wine_try_cflags_saved
17377 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wtype_limits" >&5
17378 $as_echo "$ac_cv_cflags__Wtype_limits" >&6; }
17379 if test "x$ac_cv_cflags__Wtype_limits" = xyes; then :
17380 EXTRACFLAGS="$EXTRACFLAGS -Wtype-limits"
17382 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wunused-but-set-parameter" >&5
17383 $as_echo_n "checking whether the compiler supports -Wunused-but-set-parameter... " >&6; }
17384 if ${ac_cv_cflags__Wunused_but_set_parameter+:} false; then :
17385 $as_echo_n "(cached) " >&6
17386 else
17387 ac_wine_try_cflags_saved=$CFLAGS
17388 CFLAGS="$CFLAGS -Wunused-but-set-parameter"
17389 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17390 /* end confdefs.h. */
17391 int main(int argc, char **argv) { return 0; }
17392 _ACEOF
17393 if ac_fn_c_try_link "$LINENO"; then :
17394 ac_cv_cflags__Wunused_but_set_parameter=yes
17395 else
17396 ac_cv_cflags__Wunused_but_set_parameter=no
17398 rm -f core conftest.err conftest.$ac_objext \
17399 conftest$ac_exeext conftest.$ac_ext
17400 CFLAGS=$ac_wine_try_cflags_saved
17402 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wunused_but_set_parameter" >&5
17403 $as_echo "$ac_cv_cflags__Wunused_but_set_parameter" >&6; }
17404 if test "x$ac_cv_cflags__Wunused_but_set_parameter" = xyes; then :
17405 EXTRACFLAGS="$EXTRACFLAGS -Wunused-but-set-parameter"
17407 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wvla" >&5
17408 $as_echo_n "checking whether the compiler supports -Wvla... " >&6; }
17409 if ${ac_cv_cflags__Wvla+:} false; then :
17410 $as_echo_n "(cached) " >&6
17411 else
17412 ac_wine_try_cflags_saved=$CFLAGS
17413 CFLAGS="$CFLAGS -Wvla"
17414 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17415 /* end confdefs.h. */
17416 int main(int argc, char **argv) { return 0; }
17417 _ACEOF
17418 if ac_fn_c_try_link "$LINENO"; then :
17419 ac_cv_cflags__Wvla=yes
17420 else
17421 ac_cv_cflags__Wvla=no
17423 rm -f core conftest.err conftest.$ac_objext \
17424 conftest$ac_exeext conftest.$ac_ext
17425 CFLAGS=$ac_wine_try_cflags_saved
17427 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wvla" >&5
17428 $as_echo "$ac_cv_cflags__Wvla" >&6; }
17429 if test "x$ac_cv_cflags__Wvla" = xyes; then :
17430 EXTRACFLAGS="$EXTRACFLAGS -Wvla"
17432 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wwrite-strings" >&5
17433 $as_echo_n "checking whether the compiler supports -Wwrite-strings... " >&6; }
17434 if ${ac_cv_cflags__Wwrite_strings+:} false; then :
17435 $as_echo_n "(cached) " >&6
17436 else
17437 ac_wine_try_cflags_saved=$CFLAGS
17438 CFLAGS="$CFLAGS -Wwrite-strings"
17439 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17440 /* end confdefs.h. */
17441 int main(int argc, char **argv) { return 0; }
17442 _ACEOF
17443 if ac_fn_c_try_link "$LINENO"; then :
17444 ac_cv_cflags__Wwrite_strings=yes
17445 else
17446 ac_cv_cflags__Wwrite_strings=no
17448 rm -f core conftest.err conftest.$ac_objext \
17449 conftest$ac_exeext conftest.$ac_ext
17450 CFLAGS=$ac_wine_try_cflags_saved
17452 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wwrite_strings" >&5
17453 $as_echo "$ac_cv_cflags__Wwrite_strings" >&6; }
17454 if test "x$ac_cv_cflags__Wwrite_strings" = xyes; then :
17455 EXTRACFLAGS="$EXTRACFLAGS -Wwrite-strings"
17458 if test -z "$CROSSTARGET"
17459 then
17460 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fexcess-precision=standard" >&5
17461 $as_echo_n "checking whether the compiler supports -fexcess-precision=standard... " >&6; }
17462 if ${ac_cv_cflags__fexcess_precision_standard+:} false; then :
17463 $as_echo_n "(cached) " >&6
17464 else
17465 ac_wine_try_cflags_saved=$CFLAGS
17466 CFLAGS="$CFLAGS -fexcess-precision=standard"
17467 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17468 /* end confdefs.h. */
17469 int main(int argc, char **argv) { return 0; }
17470 _ACEOF
17471 if ac_fn_c_try_link "$LINENO"; then :
17472 ac_cv_cflags__fexcess_precision_standard=yes
17473 else
17474 ac_cv_cflags__fexcess_precision_standard=no
17476 rm -f core conftest.err conftest.$ac_objext \
17477 conftest$ac_exeext conftest.$ac_ext
17478 CFLAGS=$ac_wine_try_cflags_saved
17480 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fexcess_precision_standard" >&5
17481 $as_echo "$ac_cv_cflags__fexcess_precision_standard" >&6; }
17482 if test "x$ac_cv_cflags__fexcess_precision_standard" = xyes; then :
17483 EXCESS_PRECISION_CFLAGS="-fexcess-precision=standard"
17488 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpointer-arith" >&5
17489 $as_echo_n "checking whether the compiler supports -Wpointer-arith... " >&6; }
17490 if ${ac_cv_cflags__Wpointer_arith+:} false; then :
17491 $as_echo_n "(cached) " >&6
17492 else
17493 ac_wine_try_cflags_saved=$CFLAGS
17494 CFLAGS="$CFLAGS -Wpointer-arith"
17495 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17496 /* end confdefs.h. */
17497 int main(int argc, char **argv) { return 0; }
17498 _ACEOF
17499 if ac_fn_c_try_link "$LINENO"; then :
17500 ac_cv_cflags__Wpointer_arith=yes
17501 else
17502 ac_cv_cflags__Wpointer_arith=no
17504 rm -f core conftest.err conftest.$ac_objext \
17505 conftest$ac_exeext conftest.$ac_ext
17506 CFLAGS=$ac_wine_try_cflags_saved
17508 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpointer_arith" >&5
17509 $as_echo "$ac_cv_cflags__Wpointer_arith" >&6; }
17510 if test "x$ac_cv_cflags__Wpointer_arith" = xyes; then :
17511 saved_string_h_CFLAGS=$CFLAGS
17512 CFLAGS="$CFLAGS -Wpointer-arith -Werror"
17513 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wpointer-arith" >&5
17514 $as_echo_n "checking for broken string.h that generates warnings with -Wpointer-arith... " >&6; }
17515 if ${ac_cv_c_string_h_warnings+:} false; then :
17516 $as_echo_n "(cached) " >&6
17517 else
17518 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17519 /* end confdefs.h. */
17520 #include <string.h>
17522 main ()
17526 return 0;
17528 _ACEOF
17529 if ac_fn_c_try_compile "$LINENO"; then :
17530 ac_cv_c_string_h_warnings=no
17531 else
17532 ac_cv_c_string_h_warnings=yes
17534 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17536 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_string_h_warnings" >&5
17537 $as_echo "$ac_cv_c_string_h_warnings" >&6; }
17538 test "$ac_cv_c_string_h_warnings" = yes || EXTRACFLAGS="$EXTRACFLAGS -Wpointer-arith"
17539 CFLAGS=$saved_string_h_CFLAGS
17542 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wlogical-op" >&5
17543 $as_echo_n "checking whether the compiler supports -Wlogical-op... " >&6; }
17544 if ${ac_cv_cflags__Wlogical_op+:} false; then :
17545 $as_echo_n "(cached) " >&6
17546 else
17547 ac_wine_try_cflags_saved=$CFLAGS
17548 CFLAGS="$CFLAGS -Wlogical-op"
17549 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17550 /* end confdefs.h. */
17551 int main(int argc, char **argv) { return 0; }
17552 _ACEOF
17553 if ac_fn_c_try_link "$LINENO"; then :
17554 ac_cv_cflags__Wlogical_op=yes
17555 else
17556 ac_cv_cflags__Wlogical_op=no
17558 rm -f core conftest.err conftest.$ac_objext \
17559 conftest$ac_exeext conftest.$ac_ext
17560 CFLAGS=$ac_wine_try_cflags_saved
17562 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wlogical_op" >&5
17563 $as_echo "$ac_cv_cflags__Wlogical_op" >&6; }
17564 if test "x$ac_cv_cflags__Wlogical_op" = xyes; then :
17565 saved_string_h_CFLAGS=$CFLAGS
17566 CFLAGS="$CFLAGS -Wlogical-op -Werror"
17567 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wlogical-op" >&5
17568 $as_echo_n "checking for broken string.h that generates warnings with -Wlogical-op... " >&6; }
17569 if ${ac_cv_c_logicalop_noisy+:} false; then :
17570 $as_echo_n "(cached) " >&6
17571 else
17572 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17573 /* end confdefs.h. */
17574 #include <string.h>
17575 char*f(const char *h,char n) {return strchr(h,n);}
17577 main ()
17581 return 0;
17583 _ACEOF
17584 if ac_fn_c_try_compile "$LINENO"; then :
17585 ac_cv_c_logicalop_noisy=no
17586 else
17587 ac_cv_c_logicalop_noisy=yes
17589 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17591 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_logicalop_noisy" >&5
17592 $as_echo "$ac_cv_c_logicalop_noisy" >&6; }
17593 CFLAGS=$saved_string_h_CFLAGS
17594 test "$ac_cv_c_logicalop_noisy" = yes || EXTRACFLAGS="$EXTRACFLAGS -Wlogical-op"
17597 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for flags needed for 64-bit compare-and-swap support" >&5
17598 $as_echo_n "checking for flags needed for 64-bit compare-and-swap support... " >&6; }
17599 if ${wine_cv_64bit_compare_swap+:} false; then :
17600 $as_echo_n "(cached) " >&6
17601 else
17602 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17603 /* end confdefs.h. */
17604 #ifndef __GCC_HAVE_SYNC_COMPARE_AND_SWAP_8
17605 #error no
17606 #endif
17608 main ()
17612 return 0;
17614 _ACEOF
17615 if ac_fn_c_try_compile "$LINENO"; then :
17616 wine_cv_64bit_compare_swap="none needed"
17617 else
17618 case $host_cpu in
17619 *i[3456]86*) wine_cv_64bit_compare_swap="-march=i586" ;;
17620 *arm*) wine_cv_64bit_compare_swap="-march=armv7-a" ;;
17621 *) wine_cv_64bit_compare_swap="unknown" ;;
17622 esac
17623 if test "x$wine_cv_64bit_compare_swap" != xunknown
17624 then
17625 CFLAGS="$CFLAGS $wine_cv_64bit_compare_swap"
17626 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17627 /* end confdefs.h. */
17628 #ifndef __GCC_HAVE_SYNC_COMPARE_AND_SWAP_8
17629 #error no
17630 #endif
17632 main ()
17636 return 0;
17638 _ACEOF
17639 if ac_fn_c_try_compile "$LINENO"; then :
17641 else
17642 wine_cv_64bit_compare_swap="unknown"
17644 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17645 CFLAGS=$saved_CFLAGS
17648 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17650 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_64bit_compare_swap" >&5
17651 $as_echo "$wine_cv_64bit_compare_swap" >&6; }
17652 case "$wine_cv_64bit_compare_swap" in
17653 unknown) as_fn_error $? "gcc doesn't support 64-bit compare-and-swap on this platform" "$LINENO" 5 ;;
17654 "none needed") ;;
17655 *) EXTRACFLAGS="$EXTRACFLAGS $wine_cv_64bit_compare_swap" ;;
17656 esac
17658 for ac_flag in $CFLAGS; do
17659 case $ac_flag in
17660 -g) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gdwarf-2" >&5
17661 $as_echo_n "checking whether the compiler supports -gdwarf-2... " >&6; }
17662 if ${ac_cv_cflags__gdwarf_2+:} false; then :
17663 $as_echo_n "(cached) " >&6
17664 else
17665 ac_wine_try_cflags_saved=$CFLAGS
17666 CFLAGS="$CFLAGS -gdwarf-2"
17667 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17668 /* end confdefs.h. */
17669 int main(int argc, char **argv) { return 0; }
17670 _ACEOF
17671 if ac_fn_c_try_link "$LINENO"; then :
17672 ac_cv_cflags__gdwarf_2=yes
17673 else
17674 ac_cv_cflags__gdwarf_2=no
17676 rm -f core conftest.err conftest.$ac_objext \
17677 conftest$ac_exeext conftest.$ac_ext
17678 CFLAGS=$ac_wine_try_cflags_saved
17680 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gdwarf_2" >&5
17681 $as_echo "$ac_cv_cflags__gdwarf_2" >&6; }
17682 if test "x$ac_cv_cflags__gdwarf_2" = xyes; then :
17683 EXTRACFLAGS="$EXTRACFLAGS -gdwarf-2"
17685 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gstrict-dwarf" >&5
17686 $as_echo_n "checking whether the compiler supports -gstrict-dwarf... " >&6; }
17687 if ${ac_cv_cflags__gstrict_dwarf+:} false; then :
17688 $as_echo_n "(cached) " >&6
17689 else
17690 ac_wine_try_cflags_saved=$CFLAGS
17691 CFLAGS="$CFLAGS -gstrict-dwarf"
17692 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17693 /* end confdefs.h. */
17694 int main(int argc, char **argv) { return 0; }
17695 _ACEOF
17696 if ac_fn_c_try_link "$LINENO"; then :
17697 ac_cv_cflags__gstrict_dwarf=yes
17698 else
17699 ac_cv_cflags__gstrict_dwarf=no
17701 rm -f core conftest.err conftest.$ac_objext \
17702 conftest$ac_exeext conftest.$ac_ext
17703 CFLAGS=$ac_wine_try_cflags_saved
17705 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gstrict_dwarf" >&5
17706 $as_echo "$ac_cv_cflags__gstrict_dwarf" >&6; }
17707 if test "x$ac_cv_cflags__gstrict_dwarf" = xyes; then :
17708 EXTRACFLAGS="$EXTRACFLAGS -gstrict-dwarf"
17709 fi ;;
17710 esac
17711 done
17713 MSVCRTFLAGS=""
17715 case $host_os in
17716 mingw32*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-delayload,autoconftest.dll" >&5
17717 $as_echo_n "checking whether the compiler supports -Wl,-delayload,autoconftest.dll... " >&6; }
17718 if ${ac_cv_cflags__Wl__delayload_autoconftest_dll+:} false; then :
17719 $as_echo_n "(cached) " >&6
17720 else
17721 ac_wine_try_cflags_saved=$CFLAGS
17722 CFLAGS="$CFLAGS -Wl,-delayload,autoconftest.dll"
17723 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17724 /* end confdefs.h. */
17725 int main(int argc, char **argv) { return 0; }
17726 _ACEOF
17727 if ac_fn_c_try_link "$LINENO"; then :
17728 ac_cv_cflags__Wl__delayload_autoconftest_dll=yes
17729 else
17730 ac_cv_cflags__Wl__delayload_autoconftest_dll=no
17732 rm -f core conftest.err conftest.$ac_objext \
17733 conftest$ac_exeext conftest.$ac_ext
17734 CFLAGS=$ac_wine_try_cflags_saved
17736 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__delayload_autoconftest_dll" >&5
17737 $as_echo "$ac_cv_cflags__Wl__delayload_autoconftest_dll" >&6; }
17738 if test "x$ac_cv_cflags__Wl__delayload_autoconftest_dll" = xyes; then :
17739 DELAYLOADFLAG="-Wl,-delayload,"
17741 fi ;;
17742 *) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-builtin" >&5
17743 $as_echo_n "checking whether the compiler supports -fno-builtin... " >&6; }
17744 if ${ac_cv_cflags__fno_builtin+:} false; then :
17745 $as_echo_n "(cached) " >&6
17746 else
17747 ac_wine_try_cflags_saved=$CFLAGS
17748 CFLAGS="$CFLAGS -fno-builtin"
17749 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17750 /* end confdefs.h. */
17751 int main(int argc, char **argv) { return 0; }
17752 _ACEOF
17753 if ac_fn_c_try_link "$LINENO"; then :
17754 ac_cv_cflags__fno_builtin=yes
17755 else
17756 ac_cv_cflags__fno_builtin=no
17758 rm -f core conftest.err conftest.$ac_objext \
17759 conftest$ac_exeext conftest.$ac_ext
17760 CFLAGS=$ac_wine_try_cflags_saved
17762 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_builtin" >&5
17763 $as_echo "$ac_cv_cflags__fno_builtin" >&6; }
17764 if test "x$ac_cv_cflags__fno_builtin" = xyes; then :
17765 MSVCRTFLAGS="$MSVCRTFLAGS -fno-builtin"
17767 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fshort-wchar" >&5
17768 $as_echo_n "checking whether the compiler supports -fshort-wchar... " >&6; }
17769 if ${ac_cv_cflags__fshort_wchar+:} false; then :
17770 $as_echo_n "(cached) " >&6
17771 else
17772 ac_wine_try_cflags_saved=$CFLAGS
17773 CFLAGS="$CFLAGS -fshort-wchar"
17774 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17775 /* end confdefs.h. */
17776 int main(int argc, char **argv) { return 0; }
17777 _ACEOF
17778 if ac_fn_c_try_link "$LINENO"; then :
17779 ac_cv_cflags__fshort_wchar=yes
17780 else
17781 ac_cv_cflags__fshort_wchar=no
17783 rm -f core conftest.err conftest.$ac_objext \
17784 conftest$ac_exeext conftest.$ac_ext
17785 CFLAGS=$ac_wine_try_cflags_saved
17787 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fshort_wchar" >&5
17788 $as_echo "$ac_cv_cflags__fshort_wchar" >&6; }
17789 if test "x$ac_cv_cflags__fshort_wchar" = xyes; then :
17790 MSVCRTFLAGS="$MSVCRTFLAGS -fshort-wchar"
17791 fi ;;
17792 esac
17794 case $host_cpu in
17795 *i[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-omit-frame-pointer" >&5
17796 $as_echo_n "checking whether the compiler supports -fno-omit-frame-pointer... " >&6; }
17797 if ${ac_cv_cflags__fno_omit_frame_pointer+:} false; then :
17798 $as_echo_n "(cached) " >&6
17799 else
17800 ac_wine_try_cflags_saved=$CFLAGS
17801 CFLAGS="$CFLAGS -fno-omit-frame-pointer"
17802 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17803 /* end confdefs.h. */
17804 int main(int argc, char **argv) { return 0; }
17805 _ACEOF
17806 if ac_fn_c_try_link "$LINENO"; then :
17807 ac_cv_cflags__fno_omit_frame_pointer=yes
17808 else
17809 ac_cv_cflags__fno_omit_frame_pointer=no
17811 rm -f core conftest.err conftest.$ac_objext \
17812 conftest$ac_exeext conftest.$ac_ext
17813 CFLAGS=$ac_wine_try_cflags_saved
17815 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_omit_frame_pointer" >&5
17816 $as_echo "$ac_cv_cflags__fno_omit_frame_pointer" >&6; }
17817 if test "x$ac_cv_cflags__fno_omit_frame_pointer" = xyes; then :
17818 EXTRACFLAGS="$EXTRACFLAGS -fno-omit-frame-pointer"
17819 fi ;;
17820 *x86_64*)
17821 case $host_os in
17822 cygwin*|mingw32*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wno-format" >&5
17823 $as_echo_n "checking whether the compiler supports -Wno-format... " >&6; }
17824 if ${ac_cv_cflags__Wno_format+:} false; then :
17825 $as_echo_n "(cached) " >&6
17826 else
17827 ac_wine_try_cflags_saved=$CFLAGS
17828 CFLAGS="$CFLAGS -Wno-format"
17829 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17830 /* end confdefs.h. */
17831 int main(int argc, char **argv) { return 0; }
17832 _ACEOF
17833 if ac_fn_c_try_link "$LINENO"; then :
17834 ac_cv_cflags__Wno_format=yes
17835 else
17836 ac_cv_cflags__Wno_format=no
17838 rm -f core conftest.err conftest.$ac_objext \
17839 conftest$ac_exeext conftest.$ac_ext
17840 CFLAGS=$ac_wine_try_cflags_saved
17842 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wno_format" >&5
17843 $as_echo "$ac_cv_cflags__Wno_format" >&6; }
17844 if test "x$ac_cv_cflags__Wno_format" = xyes; then :
17845 EXTRACFLAGS="$EXTRACFLAGS -Wno-format"
17846 fi ;;
17847 *) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -mabi=ms" >&5
17848 $as_echo_n "checking whether the compiler supports -mabi=ms... " >&6; }
17849 if ${ac_cv_cflags__mabi_ms+:} false; then :
17850 $as_echo_n "(cached) " >&6
17851 else
17852 ac_wine_try_cflags_saved=$CFLAGS
17853 CFLAGS="$CFLAGS -mabi=ms"
17854 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17855 /* end confdefs.h. */
17856 int main(int argc, char **argv) { return 0; }
17857 _ACEOF
17858 if ac_fn_c_try_link "$LINENO"; then :
17859 ac_cv_cflags__mabi_ms=yes
17860 else
17861 ac_cv_cflags__mabi_ms=no
17863 rm -f core conftest.err conftest.$ac_objext \
17864 conftest$ac_exeext conftest.$ac_ext
17865 CFLAGS=$ac_wine_try_cflags_saved
17867 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__mabi_ms" >&5
17868 $as_echo "$ac_cv_cflags__mabi_ms" >&6; }
17869 if test "x$ac_cv_cflags__mabi_ms" = xyes; then :
17870 MSVCRTFLAGS="$MSVCRTFLAGS -mabi=ms"
17871 fi ;;
17872 esac ;;
17873 esac
17875 CFLAGS=$saved_CFLAGS
17877 if test "x$enable_werror" = "xyes"
17878 then
17879 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror" >&5
17880 $as_echo_n "checking whether the compiler supports -Werror... " >&6; }
17881 if ${ac_cv_cflags__Werror+:} false; then :
17882 $as_echo_n "(cached) " >&6
17883 else
17884 ac_wine_try_cflags_saved=$CFLAGS
17885 CFLAGS="$CFLAGS -Werror"
17886 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17887 /* end confdefs.h. */
17888 int main(int argc, char **argv) { return 0; }
17889 _ACEOF
17890 if ac_fn_c_try_link "$LINENO"; then :
17891 ac_cv_cflags__Werror=yes
17892 else
17893 ac_cv_cflags__Werror=no
17895 rm -f core conftest.err conftest.$ac_objext \
17896 conftest$ac_exeext conftest.$ac_ext
17897 CFLAGS=$ac_wine_try_cflags_saved
17899 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror" >&5
17900 $as_echo "$ac_cv_cflags__Werror" >&6; }
17901 if test "x$ac_cv_cflags__Werror" = xyes; then :
17902 EXTRACFLAGS="$EXTRACFLAGS -Werror"
17905 if test "x$enable_build_id" = "xyes"
17906 then
17907 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--build-id" >&5
17908 $as_echo_n "checking whether the compiler supports -Wl,--build-id... " >&6; }
17909 if ${ac_cv_cflags__Wl___build_id+:} false; then :
17910 $as_echo_n "(cached) " >&6
17911 else
17912 ac_wine_try_cflags_saved=$CFLAGS
17913 CFLAGS="$CFLAGS -Wl,--build-id"
17914 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17915 /* end confdefs.h. */
17916 int main(int argc, char **argv) { return 0; }
17917 _ACEOF
17918 if ac_fn_c_try_link "$LINENO"; then :
17919 ac_cv_cflags__Wl___build_id=yes
17920 else
17921 ac_cv_cflags__Wl___build_id=no
17923 rm -f core conftest.err conftest.$ac_objext \
17924 conftest$ac_exeext conftest.$ac_ext
17925 CFLAGS=$ac_wine_try_cflags_saved
17927 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___build_id" >&5
17928 $as_echo "$ac_cv_cflags__Wl___build_id" >&6; }
17929 if test "x$ac_cv_cflags__Wl___build_id" = xyes; then :
17930 CFLAGS="$CFLAGS -Wl,--build-id"
17931 LDFLAGS="$LDFLAGS -Wl,--build-id"
17937 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the need to disable Fortify" >&5
17938 $as_echo_n "checking for the need to disable Fortify... " >&6; }
17939 if ${ac_cv_c_fortify_enabled+:} false; then :
17940 $as_echo_n "(cached) " >&6
17941 else
17942 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17943 /* end confdefs.h. */
17944 #include <string.h>
17946 main ()
17948 #if (defined(__USE_FORTIFY_LEVEL) && __USE_FORTIFY_LEVEL > 0) || (defined(_FORTIFY_SOURCE) && _FORTIFY_SOURCE > 0)
17949 #error Fortify enabled
17950 #endif
17952 return 0;
17954 _ACEOF
17955 if ac_fn_c_try_compile "$LINENO"; then :
17956 ac_cv_c_fortify_enabled=no
17957 else
17958 ac_cv_c_fortify_enabled=yes
17960 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17962 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_fortify_enabled" >&5
17963 $as_echo "$ac_cv_c_fortify_enabled" >&6; }
17964 if test "$ac_cv_c_fortify_enabled" = yes
17965 then
17966 CFLAGS="$CFLAGS -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=0"
17970 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether CFI directives are supported in assembly code" >&5
17971 $as_echo_n "checking whether CFI directives are supported in assembly code... " >&6; }
17972 if ${ac_cv_c_cfi_support+:} false; then :
17973 $as_echo_n "(cached) " >&6
17974 else
17975 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17976 /* end confdefs.h. */
17977 asm(".text\nac_test:\t.cfi_startproc\n\t.long 0\n\t.cfi_endproc");
17979 main ()
17983 return 0;
17985 _ACEOF
17986 if ac_fn_c_try_compile "$LINENO"; then :
17987 ac_cv_c_cfi_support="yes"
17988 else
17989 ac_cv_c_cfi_support="no"
17991 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17993 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_cfi_support" >&5
17994 $as_echo "$ac_cv_c_cfi_support" >&6; }
17995 if test "$ac_cv_c_cfi_support" = "yes"
17996 then
17997 DLLFLAGS="$DLLFLAGS -fasynchronous-unwind-tables"
17998 LDDLLFLAGS="$LDDLLFLAGS -fasynchronous-unwind-tables"
17999 else
18000 if test "x$enable_win64" = "xyes"
18001 then
18002 as_fn_append wine_warnings "|building 64-bit Wine without support for CFI directives; exception handling will not work properly."
18007 case $build_os in
18008 cygwin*|mingw32*) TOOLSEXT=".exe"
18010 esac
18012 case $host_os in
18013 linux*)
18014 case $host_cpu in
18015 *i[3456789]86*|x86_64*|*aarch64*)
18016 test "$wine_binary" = wine || wine_fn_append_file CONFIGURE_TARGETS "loader/wine-preloader"
18017 WINELOADER_PROGRAMS="$WINELOADER_PROGRAMS $wine_binary-preloader"
18019 esac
18021 esac
18024 ac_save_CFLAGS="$CFLAGS"
18025 CFLAGS="$CFLAGS $BUILTINFLAG"
18026 for ac_func in \
18027 __res_get_state \
18028 __res_getservers \
18029 _spawnvp \
18030 epoll_create \
18031 fnmatch \
18032 fork \
18033 fstatfs \
18034 futimens \
18035 futimes \
18036 futimesat \
18037 getattrlist \
18038 getauxval \
18039 getifaddrs \
18040 getopt_long_only \
18041 getrandom \
18042 kqueue \
18043 lstat \
18044 mach_continuous_time \
18045 pipe2 \
18046 poll \
18047 port_create \
18048 prctl \
18049 pread \
18050 proc_pidinfo \
18051 pwrite \
18052 readlink \
18053 sched_yield \
18054 setproctitle \
18055 setprogname \
18056 sigprocmask \
18057 symlink \
18058 tcdrain \
18059 thr_kill2
18061 do :
18062 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
18063 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
18064 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
18065 cat >>confdefs.h <<_ACEOF
18066 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
18067 _ACEOF
18070 done
18072 CFLAGS="$ac_save_CFLAGS"
18074 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing dlopen" >&5
18075 $as_echo_n "checking for library containing dlopen... " >&6; }
18076 if ${ac_cv_search_dlopen+:} false; then :
18077 $as_echo_n "(cached) " >&6
18078 else
18079 ac_func_search_save_LIBS=$LIBS
18080 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18081 /* end confdefs.h. */
18083 /* Override any GCC internal prototype to avoid an error.
18084 Use char because int might match the return type of a GCC
18085 builtin and then its argument prototype would still apply. */
18086 #ifdef __cplusplus
18087 extern "C"
18088 #endif
18089 char dlopen ();
18091 main ()
18093 return dlopen ();
18095 return 0;
18097 _ACEOF
18098 for ac_lib in '' dl; do
18099 if test -z "$ac_lib"; then
18100 ac_res="none required"
18101 else
18102 ac_res=-l$ac_lib
18103 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
18105 if ac_fn_c_try_link "$LINENO"; then :
18106 ac_cv_search_dlopen=$ac_res
18108 rm -f core conftest.err conftest.$ac_objext \
18109 conftest$ac_exeext
18110 if ${ac_cv_search_dlopen+:} false; then :
18111 break
18113 done
18114 if ${ac_cv_search_dlopen+:} false; then :
18116 else
18117 ac_cv_search_dlopen=no
18119 rm conftest.$ac_ext
18120 LIBS=$ac_func_search_save_LIBS
18122 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_dlopen" >&5
18123 $as_echo "$ac_cv_search_dlopen" >&6; }
18124 ac_res=$ac_cv_search_dlopen
18125 if test "$ac_res" != no; then :
18126 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
18130 ac_wine_check_funcs_save_LIBS="$LIBS"
18131 LIBS="$LIBS $DL_LIBS"
18132 for ac_func in dladdr dlinfo
18133 do :
18134 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
18135 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
18136 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
18137 cat >>confdefs.h <<_ACEOF
18138 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
18139 _ACEOF
18142 done
18144 LIBS="$ac_wine_check_funcs_save_LIBS"
18146 if test "$ac_cv_func_poll" = no
18147 then
18148 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for poll in -lpoll" >&5
18149 $as_echo_n "checking for poll in -lpoll... " >&6; }
18150 if ${ac_cv_lib_poll_poll+:} false; then :
18151 $as_echo_n "(cached) " >&6
18152 else
18153 ac_check_lib_save_LIBS=$LIBS
18154 LIBS="-lpoll $LIBS"
18155 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18156 /* end confdefs.h. */
18158 /* Override any GCC internal prototype to avoid an error.
18159 Use char because int might match the return type of a GCC
18160 builtin and then its argument prototype would still apply. */
18161 #ifdef __cplusplus
18162 extern "C"
18163 #endif
18164 char poll ();
18166 main ()
18168 return poll ();
18170 return 0;
18172 _ACEOF
18173 if ac_fn_c_try_link "$LINENO"; then :
18174 ac_cv_lib_poll_poll=yes
18175 else
18176 ac_cv_lib_poll_poll=no
18178 rm -f core conftest.err conftest.$ac_objext \
18179 conftest$ac_exeext conftest.$ac_ext
18180 LIBS=$ac_check_lib_save_LIBS
18182 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_poll_poll" >&5
18183 $as_echo "$ac_cv_lib_poll_poll" >&6; }
18184 if test "x$ac_cv_lib_poll_poll" = xyes; then :
18185 $as_echo "#define HAVE_POLL 1" >>confdefs.h
18186 POLL_LIBS="-lpoll"
18192 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing gethostbyname" >&5
18193 $as_echo_n "checking for library containing gethostbyname... " >&6; }
18194 if ${ac_cv_search_gethostbyname+:} false; then :
18195 $as_echo_n "(cached) " >&6
18196 else
18197 ac_func_search_save_LIBS=$LIBS
18198 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18199 /* end confdefs.h. */
18201 /* Override any GCC internal prototype to avoid an error.
18202 Use char because int might match the return type of a GCC
18203 builtin and then its argument prototype would still apply. */
18204 #ifdef __cplusplus
18205 extern "C"
18206 #endif
18207 char gethostbyname ();
18209 main ()
18211 return gethostbyname ();
18213 return 0;
18215 _ACEOF
18216 for ac_lib in '' nsl; do
18217 if test -z "$ac_lib"; then
18218 ac_res="none required"
18219 else
18220 ac_res=-l$ac_lib
18221 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
18223 if ac_fn_c_try_link "$LINENO"; then :
18224 ac_cv_search_gethostbyname=$ac_res
18226 rm -f core conftest.err conftest.$ac_objext \
18227 conftest$ac_exeext
18228 if ${ac_cv_search_gethostbyname+:} false; then :
18229 break
18231 done
18232 if ${ac_cv_search_gethostbyname+:} false; then :
18234 else
18235 ac_cv_search_gethostbyname=no
18237 rm conftest.$ac_ext
18238 LIBS=$ac_func_search_save_LIBS
18240 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gethostbyname" >&5
18241 $as_echo "$ac_cv_search_gethostbyname" >&6; }
18242 ac_res=$ac_cv_search_gethostbyname
18243 if test "$ac_res" != no; then :
18244 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
18249 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing connect" >&5
18250 $as_echo_n "checking for library containing connect... " >&6; }
18251 if ${ac_cv_search_connect+:} false; then :
18252 $as_echo_n "(cached) " >&6
18253 else
18254 ac_func_search_save_LIBS=$LIBS
18255 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18256 /* end confdefs.h. */
18258 /* Override any GCC internal prototype to avoid an error.
18259 Use char because int might match the return type of a GCC
18260 builtin and then its argument prototype would still apply. */
18261 #ifdef __cplusplus
18262 extern "C"
18263 #endif
18264 char connect ();
18266 main ()
18268 return connect ();
18270 return 0;
18272 _ACEOF
18273 for ac_lib in '' socket; do
18274 if test -z "$ac_lib"; then
18275 ac_res="none required"
18276 else
18277 ac_res=-l$ac_lib
18278 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
18280 if ac_fn_c_try_link "$LINENO"; then :
18281 ac_cv_search_connect=$ac_res
18283 rm -f core conftest.err conftest.$ac_objext \
18284 conftest$ac_exeext
18285 if ${ac_cv_search_connect+:} false; then :
18286 break
18288 done
18289 if ${ac_cv_search_connect+:} false; then :
18291 else
18292 ac_cv_search_connect=no
18294 rm conftest.$ac_ext
18295 LIBS=$ac_func_search_save_LIBS
18297 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_connect" >&5
18298 $as_echo "$ac_cv_search_connect" >&6; }
18299 ac_res=$ac_cv_search_connect
18300 if test "$ac_res" != no; then :
18301 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
18306 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing inet_aton" >&5
18307 $as_echo_n "checking for library containing inet_aton... " >&6; }
18308 if ${ac_cv_search_inet_aton+:} false; then :
18309 $as_echo_n "(cached) " >&6
18310 else
18311 ac_func_search_save_LIBS=$LIBS
18312 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18313 /* end confdefs.h. */
18315 /* Override any GCC internal prototype to avoid an error.
18316 Use char because int might match the return type of a GCC
18317 builtin and then its argument prototype would still apply. */
18318 #ifdef __cplusplus
18319 extern "C"
18320 #endif
18321 char inet_aton ();
18323 main ()
18325 return inet_aton ();
18327 return 0;
18329 _ACEOF
18330 for ac_lib in '' resolv; do
18331 if test -z "$ac_lib"; then
18332 ac_res="none required"
18333 else
18334 ac_res=-l$ac_lib
18335 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
18337 if ac_fn_c_try_link "$LINENO"; then :
18338 ac_cv_search_inet_aton=$ac_res
18340 rm -f core conftest.err conftest.$ac_objext \
18341 conftest$ac_exeext
18342 if ${ac_cv_search_inet_aton+:} false; then :
18343 break
18345 done
18346 if ${ac_cv_search_inet_aton+:} false; then :
18348 else
18349 ac_cv_search_inet_aton=no
18351 rm conftest.$ac_ext
18352 LIBS=$ac_func_search_save_LIBS
18354 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_inet_aton" >&5
18355 $as_echo "$ac_cv_search_inet_aton" >&6; }
18356 ac_res=$ac_cv_search_inet_aton
18357 if test "$ac_res" != no; then :
18358 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
18363 for ac_func in \
18364 getaddrinfo \
18365 getnameinfo \
18366 getservbyport \
18368 do :
18369 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
18370 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
18371 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
18372 cat >>confdefs.h <<_ACEOF
18373 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
18374 _ACEOF
18377 done
18380 case $host_os in
18381 darwin*|macosx*) ;;
18382 *) ac_save_LIBS=$LIBS
18383 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
18384 $as_echo_n "checking for library containing clock_gettime... " >&6; }
18385 if ${ac_cv_search_clock_gettime+:} false; then :
18386 $as_echo_n "(cached) " >&6
18387 else
18388 ac_func_search_save_LIBS=$LIBS
18389 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18390 /* end confdefs.h. */
18392 /* Override any GCC internal prototype to avoid an error.
18393 Use char because int might match the return type of a GCC
18394 builtin and then its argument prototype would still apply. */
18395 #ifdef __cplusplus
18396 extern "C"
18397 #endif
18398 char clock_gettime ();
18400 main ()
18402 return clock_gettime ();
18404 return 0;
18406 _ACEOF
18407 for ac_lib in '' rt; do
18408 if test -z "$ac_lib"; then
18409 ac_res="none required"
18410 else
18411 ac_res=-l$ac_lib
18412 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
18414 if ac_fn_c_try_link "$LINENO"; then :
18415 ac_cv_search_clock_gettime=$ac_res
18417 rm -f core conftest.err conftest.$ac_objext \
18418 conftest$ac_exeext
18419 if ${ac_cv_search_clock_gettime+:} false; then :
18420 break
18422 done
18423 if ${ac_cv_search_clock_gettime+:} false; then :
18425 else
18426 ac_cv_search_clock_gettime=no
18428 rm conftest.$ac_ext
18429 LIBS=$ac_func_search_save_LIBS
18431 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
18432 $as_echo "$ac_cv_search_clock_gettime" >&6; }
18433 ac_res=$ac_cv_search_clock_gettime
18434 if test "$ac_res" != no; then :
18435 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
18437 $as_echo "#define HAVE_CLOCK_GETTIME 1" >>confdefs.h
18439 test "$ac_res" = "none required" || RT_LIBS="$ac_res"
18443 LIBS=$ac_save_LIBS
18445 esac
18447 if test "x$with_ldap" != "xno"
18448 then
18449 if ${LDAP_CFLAGS:+false} :; then :
18450 if ${PKG_CONFIG+:} false; then :
18451 LDAP_CFLAGS=`$PKG_CONFIG --cflags openldap 2>/dev/null`
18455 if ${LDAP_LIBS:+false} :; then :
18456 if ${PKG_CONFIG+:} false; then :
18457 LDAP_LIBS=`$PKG_CONFIG --libs openldap 2>/dev/null`
18461 LDAP_LIBS=${LDAP_LIBS:-"-lldap_r -llber"}
18462 $as_echo "$as_me:${as_lineno-$LINENO}: openldap cflags: $LDAP_CFLAGS" >&5
18463 $as_echo "$as_me:${as_lineno-$LINENO}: openldap libs: $LDAP_LIBS" >&5
18464 ac_save_CPPFLAGS=$CPPFLAGS
18465 CPPFLAGS="$CPPFLAGS $LDAP_CFLAGS"
18466 for ac_header in ldap.h lber.h
18467 do :
18468 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
18469 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
18470 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
18471 cat >>confdefs.h <<_ACEOF
18472 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
18473 _ACEOF
18477 done
18479 if test "$ac_cv_header_ldap_h" = "yes" -a "$ac_cv_header_lber_h" = "yes"
18480 then
18481 ac_fn_c_check_type "$LINENO" "LDAPSortKey" "ac_cv_type_LDAPSortKey" "#include <ldap.h>
18483 if test "x$ac_cv_type_LDAPSortKey" = xyes; then :
18484 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldap_initialize in -lldap_r" >&5
18485 $as_echo_n "checking for ldap_initialize in -lldap_r... " >&6; }
18486 if ${ac_cv_lib_ldap_r_ldap_initialize+:} false; then :
18487 $as_echo_n "(cached) " >&6
18488 else
18489 ac_check_lib_save_LIBS=$LIBS
18490 LIBS="-lldap_r $PTHREAD_LIBS $LDAP_LIBS $LIBS"
18491 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18492 /* end confdefs.h. */
18494 /* Override any GCC internal prototype to avoid an error.
18495 Use char because int might match the return type of a GCC
18496 builtin and then its argument prototype would still apply. */
18497 #ifdef __cplusplus
18498 extern "C"
18499 #endif
18500 char ldap_initialize ();
18502 main ()
18504 return ldap_initialize ();
18506 return 0;
18508 _ACEOF
18509 if ac_fn_c_try_link "$LINENO"; then :
18510 ac_cv_lib_ldap_r_ldap_initialize=yes
18511 else
18512 ac_cv_lib_ldap_r_ldap_initialize=no
18514 rm -f core conftest.err conftest.$ac_objext \
18515 conftest$ac_exeext conftest.$ac_ext
18516 LIBS=$ac_check_lib_save_LIBS
18518 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ldap_r_ldap_initialize" >&5
18519 $as_echo "$ac_cv_lib_ldap_r_ldap_initialize" >&6; }
18520 if test "x$ac_cv_lib_ldap_r_ldap_initialize" = xyes; then :
18521 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ber_init in -llber" >&5
18522 $as_echo_n "checking for ber_init in -llber... " >&6; }
18523 if ${ac_cv_lib_lber_ber_init+:} false; then :
18524 $as_echo_n "(cached) " >&6
18525 else
18526 ac_check_lib_save_LIBS=$LIBS
18527 LIBS="-llber $PTHREAD_LIBS $LDAP_LIBS $LIBS"
18528 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18529 /* end confdefs.h. */
18531 /* Override any GCC internal prototype to avoid an error.
18532 Use char because int might match the return type of a GCC
18533 builtin and then its argument prototype would still apply. */
18534 #ifdef __cplusplus
18535 extern "C"
18536 #endif
18537 char ber_init ();
18539 main ()
18541 return ber_init ();
18543 return 0;
18545 _ACEOF
18546 if ac_fn_c_try_link "$LINENO"; then :
18547 ac_cv_lib_lber_ber_init=yes
18548 else
18549 ac_cv_lib_lber_ber_init=no
18551 rm -f core conftest.err conftest.$ac_objext \
18552 conftest$ac_exeext conftest.$ac_ext
18553 LIBS=$ac_check_lib_save_LIBS
18555 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lber_ber_init" >&5
18556 $as_echo "$ac_cv_lib_lber_ber_init" >&6; }
18557 if test "x$ac_cv_lib_lber_ber_init" = xyes; then :
18559 $as_echo "#define HAVE_LDAP 1" >>confdefs.h
18561 else
18562 LDAP_LIBS=""
18565 else
18566 LDAP_LIBS=""
18569 else
18570 LDAP_LIBS=""
18573 ac_wine_check_funcs_save_LIBS="$LIBS"
18574 LIBS="$LIBS $LDAP_LIBS $PTHREAD_LIBS"
18575 for ac_func in \
18576 ldap_count_references \
18577 ldap_first_reference \
18578 ldap_next_reference \
18579 ldap_parse_reference \
18580 ldap_parse_sort_control \
18581 ldap_parse_sortresponse_control \
18582 ldap_parse_vlv_control \
18583 ldap_parse_vlvresponse_control
18584 do :
18585 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
18586 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
18587 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
18588 cat >>confdefs.h <<_ACEOF
18589 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
18590 _ACEOF
18593 done
18595 LIBS="$ac_wine_check_funcs_save_LIBS"
18596 else
18597 LDAP_LIBS=""
18599 CPPFLAGS=$ac_save_CPPFLAGS
18602 if test "x$LDAP_LIBS" = "x"; then :
18603 case "x$with_ldap" in
18604 x) as_fn_append wine_notices "|libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported." ;;
18605 xno) ;;
18606 *) as_fn_error $? "libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported.
18607 This is an error since --with-ldap was requested." "$LINENO" 5 ;;
18608 esac
18612 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sched_setaffinity" >&5
18613 $as_echo_n "checking for sched_setaffinity... " >&6; }
18614 if ${wine_cv_have_sched_setaffinity+:} false; then :
18615 $as_echo_n "(cached) " >&6
18616 else
18617 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18618 /* end confdefs.h. */
18619 #define _GNU_SOURCE
18620 #include <sched.h>
18622 main ()
18624 sched_setaffinity(0, 0, 0);
18626 return 0;
18628 _ACEOF
18629 if ac_fn_c_try_link "$LINENO"; then :
18630 wine_cv_have_sched_setaffinity=yes
18631 else
18632 wine_cv_have_sched_setaffinity=no
18634 rm -f core conftest.err conftest.$ac_objext \
18635 conftest$ac_exeext conftest.$ac_ext
18637 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sched_setaffinity" >&5
18638 $as_echo "$wine_cv_have_sched_setaffinity" >&6; }
18639 if test "$wine_cv_have_sched_setaffinity" = "yes"
18640 then
18642 $as_echo "#define HAVE_SCHED_SETAFFINITY 1" >>confdefs.h
18646 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fallocate" >&5
18647 $as_echo_n "checking for fallocate... " >&6; }
18648 if ${wine_cv_have_fallocate+:} false; then :
18649 $as_echo_n "(cached) " >&6
18650 else
18651 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18652 /* end confdefs.h. */
18653 #define _GNU_SOURCE
18654 #include <fcntl.h>
18656 main ()
18658 fallocate(-1, 0, 0, 0);
18660 return 0;
18662 _ACEOF
18663 if ac_fn_c_try_link "$LINENO"; then :
18664 wine_cv_have_fallocate=yes
18665 else
18666 wine_cv_have_fallocate=no
18668 rm -f core conftest.err conftest.$ac_objext \
18669 conftest$ac_exeext conftest.$ac_ext
18671 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_fallocate" >&5
18672 $as_echo "$wine_cv_have_fallocate" >&6; }
18673 if test "$wine_cv_have_fallocate" = "yes"
18674 then
18676 $as_echo "#define HAVE_FALLOCATE 1" >>confdefs.h
18681 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
18682 $as_echo_n "checking for inline... " >&6; }
18683 if ${ac_cv_c_inline+:} false; then :
18684 $as_echo_n "(cached) " >&6
18685 else
18686 ac_cv_c_inline=no
18687 for ac_kw in inline __inline__ __inline; do
18688 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18689 /* end confdefs.h. */
18690 #ifndef __cplusplus
18691 typedef int foo_t;
18692 static $ac_kw foo_t static_foo () {return 0; }
18693 $ac_kw foo_t foo () {return 0; }
18694 #endif
18696 _ACEOF
18697 if ac_fn_c_try_compile "$LINENO"; then :
18698 ac_cv_c_inline=$ac_kw
18700 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18701 test "$ac_cv_c_inline" != no && break
18702 done
18705 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
18706 $as_echo "$ac_cv_c_inline" >&6; }
18708 case $ac_cv_c_inline in
18709 inline | yes) ;;
18711 case $ac_cv_c_inline in
18712 no) ac_val=;;
18713 *) ac_val=$ac_cv_c_inline;;
18714 esac
18715 cat >>confdefs.h <<_ACEOF
18716 #ifndef __cplusplus
18717 #define inline $ac_val
18718 #endif
18719 _ACEOF
18721 esac
18723 ac_fn_c_check_type "$LINENO" "sigset_t" "ac_cv_type_sigset_t" "#include <sys/types.h>
18724 #include <signal.h>
18726 if test "x$ac_cv_type_sigset_t" = xyes; then :
18728 cat >>confdefs.h <<_ACEOF
18729 #define HAVE_SIGSET_T 1
18730 _ACEOF
18735 ac_fn_c_check_type "$LINENO" "request_sense" "ac_cv_type_request_sense" "#include <linux/cdrom.h>
18737 if test "x$ac_cv_type_request_sense" = xyes; then :
18739 cat >>confdefs.h <<_ACEOF
18740 #define HAVE_REQUEST_SENSE 1
18741 _ACEOF
18747 ac_fn_c_check_type "$LINENO" "struct xinpgen" "ac_cv_type_struct_xinpgen" "#include <sys/types.h>
18748 #ifdef HAVE_SYS_SOCKET_H
18749 #include <sys/socket.h>
18750 #endif
18751 #ifdef HAVE_SYS_SOCKETVAR_H
18752 #include <sys/socketvar.h>
18753 #endif
18754 #ifdef HAVE_NET_ROUTE_H
18755 #include <net/route.h>
18756 #endif
18757 #ifdef HAVE_NETINET_IN_H
18758 #include <netinet/in.h>
18759 #endif
18760 #ifdef HAVE_NETINET_IN_SYSTM_H
18761 #include <netinet/in_systm.h>
18762 #endif
18763 #ifdef HAVE_NETINET_IP_H
18764 #include <netinet/ip.h>
18765 #endif
18766 #ifdef HAVE_NETINET_IN_PCB_H
18767 #include <netinet/in_pcb.h>
18768 #endif
18770 if test "x$ac_cv_type_struct_xinpgen" = xyes; then :
18772 cat >>confdefs.h <<_ACEOF
18773 #define HAVE_STRUCT_XINPGEN 1
18774 _ACEOF
18780 ac_fn_c_check_member "$LINENO" "struct ff_effect" "direction" "ac_cv_member_struct_ff_effect_direction" "#ifdef HAVE_LINUX_INPUT_H
18781 #include <linux/input.h>
18782 #endif
18784 if test "x$ac_cv_member_struct_ff_effect_direction" = xyes; then :
18786 cat >>confdefs.h <<_ACEOF
18787 #define HAVE_STRUCT_FF_EFFECT_DIRECTION 1
18788 _ACEOF
18794 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for if_nameindex" >&5
18795 $as_echo_n "checking for if_nameindex... " >&6; }
18796 if ${wine_cv_have_if_nameindex+:} false; then :
18797 $as_echo_n "(cached) " >&6
18798 else
18799 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18800 /* end confdefs.h. */
18801 #ifdef HAVE_SYS_TYPES_H
18802 #include <sys/types.h>
18803 #endif
18804 #ifdef HAVE_SYS_SOCKET_H
18805 #include <sys/socket.h>
18806 #endif
18807 #ifdef HAVE_NET_IF_H
18808 # include <net/if.h>
18809 #endif
18811 main ()
18813 struct if_nameindex *p = if_nameindex(); return p->if_index;
18815 return 0;
18817 _ACEOF
18818 if ac_fn_c_try_link "$LINENO"; then :
18819 wine_cv_have_if_nameindex=yes
18820 else
18821 wine_cv_have_if_nameindex=no
18823 rm -f core conftest.err conftest.$ac_objext \
18824 conftest$ac_exeext conftest.$ac_ext
18826 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_if_nameindex" >&5
18827 $as_echo "$wine_cv_have_if_nameindex" >&6; }
18828 if test "$wine_cv_have_if_nameindex" = "yes"
18829 then
18831 $as_echo "#define HAVE_IF_NAMEINDEX 1" >>confdefs.h
18835 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sigaddset" >&5
18836 $as_echo_n "checking for sigaddset... " >&6; }
18837 if ${wine_cv_have_sigaddset+:} false; then :
18838 $as_echo_n "(cached) " >&6
18839 else
18840 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18841 /* end confdefs.h. */
18842 #include <signal.h>
18844 main ()
18846 sigset_t set; sigaddset(&set,SIGTERM);
18848 return 0;
18850 _ACEOF
18851 if ac_fn_c_try_link "$LINENO"; then :
18852 wine_cv_have_sigaddset=yes
18853 else
18854 wine_cv_have_sigaddset=no
18856 rm -f core conftest.err conftest.$ac_objext \
18857 conftest$ac_exeext conftest.$ac_ext
18859 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sigaddset" >&5
18860 $as_echo "$wine_cv_have_sigaddset" >&6; }
18861 if test "$wine_cv_have_sigaddset" = "yes"
18862 then
18864 $as_echo "#define HAVE_SIGADDSET 1" >>confdefs.h
18869 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can use re-entrant gethostbyname_r Linux style" >&5
18870 $as_echo_n "checking whether we can use re-entrant gethostbyname_r Linux style... " >&6; }
18871 if ${wine_cv_linux_gethostbyname_r_6+:} false; then :
18872 $as_echo_n "(cached) " >&6
18873 else
18874 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18875 /* end confdefs.h. */
18876 #include <netdb.h>
18878 main ()
18881 char *name=0;
18882 struct hostent he;
18883 struct hostent *result;
18884 char *buf=0;
18885 int bufsize=0;
18886 int errnr;
18887 char *addr=0;
18888 int addrlen=0;
18889 int addrtype=0;
18890 gethostbyname_r(name,&he,buf,bufsize,&result,&errnr);
18891 gethostbyaddr_r(addr, addrlen, addrtype,&he,buf,bufsize,&result,&errnr);
18894 return 0;
18896 _ACEOF
18897 if ac_fn_c_try_link "$LINENO"; then :
18898 wine_cv_linux_gethostbyname_r_6=yes
18899 else
18900 wine_cv_linux_gethostbyname_r_6=no
18903 rm -f core conftest.err conftest.$ac_objext \
18904 conftest$ac_exeext conftest.$ac_ext
18907 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_gethostbyname_r_6" >&5
18908 $as_echo "$wine_cv_linux_gethostbyname_r_6" >&6; }
18909 if test "$wine_cv_linux_gethostbyname_r_6" = "yes"
18910 then
18912 $as_echo "#define HAVE_LINUX_GETHOSTBYNAME_R_6 1" >>confdefs.h
18916 if test "$ac_cv_header_linux_joystick_h" = "yes"
18917 then
18918 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether linux/joystick.h uses the Linux 2.2+ API" >&5
18919 $as_echo_n "checking whether linux/joystick.h uses the Linux 2.2+ API... " >&6; }
18920 if ${wine_cv_linux_joystick_22_api+:} false; then :
18921 $as_echo_n "(cached) " >&6
18922 else
18923 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18924 /* end confdefs.h. */
18926 #include <sys/ioctl.h>
18927 #include <sys/types.h>
18928 #include <linux/joystick.h>
18930 struct js_event blub;
18931 #if !defined(JS_EVENT_AXIS) || !defined(JS_EVENT_BUTTON)
18932 #error "no 2.2 header"
18933 #endif
18936 main ()
18938 /*empty*/
18940 return 0;
18942 _ACEOF
18943 if ac_fn_c_try_compile "$LINENO"; then :
18944 wine_cv_linux_joystick_22_api=yes
18945 else
18946 wine_cv_linux_joystick_22_api=no
18948 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18951 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_joystick_22_api" >&5
18952 $as_echo "$wine_cv_linux_joystick_22_api" >&6; }
18953 if test "$wine_cv_linux_joystick_22_api" = "yes"
18954 then
18956 $as_echo "#define HAVE_LINUX_22_JOYSTICK_API 1" >>confdefs.h
18961 ac_fn_c_check_member "$LINENO" "struct msghdr" "msg_accrights" "ac_cv_member_struct_msghdr_msg_accrights" "#include <sys/types.h>
18962 #ifdef HAVE_SYS_SOCKET_H
18963 # include <sys/socket.h>
18964 #endif
18965 #ifdef HAVE_SYS_UN_H
18966 # include <sys/un.h>
18967 #endif
18969 if test "x$ac_cv_member_struct_msghdr_msg_accrights" = xyes; then :
18971 cat >>confdefs.h <<_ACEOF
18972 #define HAVE_STRUCT_MSGHDR_MSG_ACCRIGHTS 1
18973 _ACEOF
18977 ac_fn_c_check_member "$LINENO" "struct sockaddr" "sa_len" "ac_cv_member_struct_sockaddr_sa_len" "#include <sys/types.h>
18978 #ifdef HAVE_SYS_SOCKET_H
18979 # include <sys/socket.h>
18980 #endif
18981 #ifdef HAVE_SYS_UN_H
18982 # include <sys/un.h>
18983 #endif
18985 if test "x$ac_cv_member_struct_sockaddr_sa_len" = xyes; then :
18987 cat >>confdefs.h <<_ACEOF
18988 #define HAVE_STRUCT_SOCKADDR_SA_LEN 1
18989 _ACEOF
18993 ac_fn_c_check_member "$LINENO" "struct sockaddr_un" "sun_len" "ac_cv_member_struct_sockaddr_un_sun_len" "#include <sys/types.h>
18994 #ifdef HAVE_SYS_SOCKET_H
18995 # include <sys/socket.h>
18996 #endif
18997 #ifdef HAVE_SYS_UN_H
18998 # include <sys/un.h>
18999 #endif
19001 if test "x$ac_cv_member_struct_sockaddr_un_sun_len" = xyes; then :
19003 cat >>confdefs.h <<_ACEOF
19004 #define HAVE_STRUCT_SOCKADDR_UN_SUN_LEN 1
19005 _ACEOF
19011 ac_fn_c_check_member "$LINENO" "scsireq_t" "cmd" "ac_cv_member_scsireq_t_cmd" "#include <sys/types.h>
19012 #ifdef HAVE_SCSI_SG_H
19013 #include <scsi/sg.h>
19014 #endif
19016 if test "x$ac_cv_member_scsireq_t_cmd" = xyes; then :
19018 cat >>confdefs.h <<_ACEOF
19019 #define HAVE_SCSIREQ_T_CMD 1
19020 _ACEOF
19024 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>
19025 #ifdef HAVE_SCSI_SG_H
19026 #include <scsi/sg.h>
19027 #endif
19029 if test "x$ac_cv_member_sg_io_hdr_t_interface_id" = xyes; then :
19031 cat >>confdefs.h <<_ACEOF
19032 #define HAVE_SG_IO_HDR_T_INTERFACE_ID 1
19033 _ACEOF
19039 ac_fn_c_check_member "$LINENO" "siginfo_t" "si_fd" "ac_cv_member_siginfo_t_si_fd" "#include <signal.h>
19041 if test "x$ac_cv_member_siginfo_t_si_fd" = xyes; then :
19043 cat >>confdefs.h <<_ACEOF
19044 #define HAVE_SIGINFO_T_SI_FD 1
19045 _ACEOF
19051 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_blksiz" "ac_cv_member_struct_mtget_mt_blksiz" "#include <sys/types.h>
19052 #ifdef HAVE_SYS_MTIO_H
19053 #include <sys/mtio.h>
19054 #endif
19056 if test "x$ac_cv_member_struct_mtget_mt_blksiz" = xyes; then :
19058 cat >>confdefs.h <<_ACEOF
19059 #define HAVE_STRUCT_MTGET_MT_BLKSIZ 1
19060 _ACEOF
19064 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_gstat" "ac_cv_member_struct_mtget_mt_gstat" "#include <sys/types.h>
19065 #ifdef HAVE_SYS_MTIO_H
19066 #include <sys/mtio.h>
19067 #endif
19069 if test "x$ac_cv_member_struct_mtget_mt_gstat" = xyes; then :
19071 cat >>confdefs.h <<_ACEOF
19072 #define HAVE_STRUCT_MTGET_MT_GSTAT 1
19073 _ACEOF
19077 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_blkno" "ac_cv_member_struct_mtget_mt_blkno" "#include <sys/types.h>
19078 #ifdef HAVE_SYS_MTIO_H
19079 #include <sys/mtio.h>
19080 #endif
19082 if test "x$ac_cv_member_struct_mtget_mt_blkno" = xyes; then :
19084 cat >>confdefs.h <<_ACEOF
19085 #define HAVE_STRUCT_MTGET_MT_BLKNO 1
19086 _ACEOF
19092 ac_fn_c_check_member "$LINENO" "struct option" "name" "ac_cv_member_struct_option_name" "#ifdef HAVE_GETOPT_H
19093 #include <getopt.h>
19094 #endif
19096 if test "x$ac_cv_member_struct_option_name" = xyes; then :
19098 cat >>confdefs.h <<_ACEOF
19099 #define HAVE_STRUCT_OPTION_NAME 1
19100 _ACEOF
19106 ac_fn_c_check_member "$LINENO" "struct stat" "st_blocks" "ac_cv_member_struct_stat_st_blocks" "$ac_includes_default"
19107 if test "x$ac_cv_member_struct_stat_st_blocks" = xyes; then :
19109 cat >>confdefs.h <<_ACEOF
19110 #define HAVE_STRUCT_STAT_ST_BLOCKS 1
19111 _ACEOF
19115 ac_fn_c_check_member "$LINENO" "struct stat" "st_mtim" "ac_cv_member_struct_stat_st_mtim" "$ac_includes_default"
19116 if test "x$ac_cv_member_struct_stat_st_mtim" = xyes; then :
19118 cat >>confdefs.h <<_ACEOF
19119 #define HAVE_STRUCT_STAT_ST_MTIM 1
19120 _ACEOF
19124 ac_fn_c_check_member "$LINENO" "struct stat" "st_mtimespec" "ac_cv_member_struct_stat_st_mtimespec" "$ac_includes_default"
19125 if test "x$ac_cv_member_struct_stat_st_mtimespec" = xyes; then :
19127 cat >>confdefs.h <<_ACEOF
19128 #define HAVE_STRUCT_STAT_ST_MTIMESPEC 1
19129 _ACEOF
19133 ac_fn_c_check_member "$LINENO" "struct stat" "st_ctim" "ac_cv_member_struct_stat_st_ctim" "$ac_includes_default"
19134 if test "x$ac_cv_member_struct_stat_st_ctim" = xyes; then :
19136 cat >>confdefs.h <<_ACEOF
19137 #define HAVE_STRUCT_STAT_ST_CTIM 1
19138 _ACEOF
19142 ac_fn_c_check_member "$LINENO" "struct stat" "st_ctimespec" "ac_cv_member_struct_stat_st_ctimespec" "$ac_includes_default"
19143 if test "x$ac_cv_member_struct_stat_st_ctimespec" = xyes; then :
19145 cat >>confdefs.h <<_ACEOF
19146 #define HAVE_STRUCT_STAT_ST_CTIMESPEC 1
19147 _ACEOF
19151 ac_fn_c_check_member "$LINENO" "struct stat" "st_atim" "ac_cv_member_struct_stat_st_atim" "$ac_includes_default"
19152 if test "x$ac_cv_member_struct_stat_st_atim" = xyes; then :
19154 cat >>confdefs.h <<_ACEOF
19155 #define HAVE_STRUCT_STAT_ST_ATIM 1
19156 _ACEOF
19160 ac_fn_c_check_member "$LINENO" "struct stat" "st_atimespec" "ac_cv_member_struct_stat_st_atimespec" "$ac_includes_default"
19161 if test "x$ac_cv_member_struct_stat_st_atimespec" = xyes; then :
19163 cat >>confdefs.h <<_ACEOF
19164 #define HAVE_STRUCT_STAT_ST_ATIMESPEC 1
19165 _ACEOF
19169 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtime" "ac_cv_member_struct_stat_st_birthtime" "$ac_includes_default"
19170 if test "x$ac_cv_member_struct_stat_st_birthtime" = xyes; then :
19172 cat >>confdefs.h <<_ACEOF
19173 #define HAVE_STRUCT_STAT_ST_BIRTHTIME 1
19174 _ACEOF
19178 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtim" "ac_cv_member_struct_stat_st_birthtim" "$ac_includes_default"
19179 if test "x$ac_cv_member_struct_stat_st_birthtim" = xyes; then :
19181 cat >>confdefs.h <<_ACEOF
19182 #define HAVE_STRUCT_STAT_ST_BIRTHTIM 1
19183 _ACEOF
19187 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtimespec" "ac_cv_member_struct_stat_st_birthtimespec" "$ac_includes_default"
19188 if test "x$ac_cv_member_struct_stat_st_birthtimespec" = xyes; then :
19190 cat >>confdefs.h <<_ACEOF
19191 #define HAVE_STRUCT_STAT_ST_BIRTHTIMESPEC 1
19192 _ACEOF
19196 ac_fn_c_check_member "$LINENO" "struct stat" "__st_birthtime" "ac_cv_member_struct_stat___st_birthtime" "$ac_includes_default"
19197 if test "x$ac_cv_member_struct_stat___st_birthtime" = xyes; then :
19199 cat >>confdefs.h <<_ACEOF
19200 #define HAVE_STRUCT_STAT___ST_BIRTHTIME 1
19201 _ACEOF
19205 ac_fn_c_check_member "$LINENO" "struct stat" "__st_birthtim" "ac_cv_member_struct_stat___st_birthtim" "$ac_includes_default"
19206 if test "x$ac_cv_member_struct_stat___st_birthtim" = xyes; then :
19208 cat >>confdefs.h <<_ACEOF
19209 #define HAVE_STRUCT_STAT___ST_BIRTHTIM 1
19210 _ACEOF
19216 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
19217 #include <sys/types.h>
19218 #endif
19219 #ifdef HAVE_NETINET_IN_H
19220 #include <netinet/in.h>
19221 #endif
19223 if test "x$ac_cv_member_struct_sockaddr_in6_sin6_scope_id" = xyes; then :
19225 cat >>confdefs.h <<_ACEOF
19226 #define HAVE_STRUCT_SOCKADDR_IN6_SIN6_SCOPE_ID 1
19227 _ACEOF
19233 ac_fn_c_check_type "$LINENO" "struct __res_state" "ac_cv_type_struct___res_state" "#ifdef HAVE_SYS_TYPES_H
19234 #include <sys/types.h>
19235 #endif
19236 #ifdef HAVE_NETINET_IN_H
19237 #include <netinet/in.h>
19238 #endif
19239 #ifdef HAVE_RESOLV_H
19240 #include <resolv.h>
19241 #endif
19243 if test "x$ac_cv_type_struct___res_state" = xyes; then :
19245 cat >>confdefs.h <<_ACEOF
19246 #define HAVE_STRUCT___RES_STATE 1
19247 _ACEOF
19253 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
19254 #include <resolv.h>
19255 #endif
19257 if test "x$ac_cv_member_struct___res_state__u__ext_nscount6" = xyes; then :
19259 cat >>confdefs.h <<_ACEOF
19260 #define HAVE_STRUCT___RES_STATE__U__EXT_NSCOUNT6 1
19261 _ACEOF
19267 ac_fn_c_check_member "$LINENO" "ns_msg" "_msg_ptr" "ac_cv_member_ns_msg__msg_ptr" "#ifdef HAVE_SYS_TYPES_H
19268 #include <sys/types.h>
19269 #endif
19270 #ifdef HAVE_NETINET_IN_H
19271 # include <netinet/in.h>
19272 #endif
19273 #ifdef HAVE_ARPA_NAMESER_H
19274 # include <arpa/nameser.h>
19275 #endif
19277 if test "x$ac_cv_member_ns_msg__msg_ptr" = xyes; then :
19279 cat >>confdefs.h <<_ACEOF
19280 #define HAVE_NS_MSG__MSG_PTR 1
19281 _ACEOF
19287 ac_fn_c_check_member "$LINENO" "struct icmpstat" "icps_inhist" "ac_cv_member_struct_icmpstat_icps_inhist" "#ifdef HAVE_SYS_TYPES_H
19288 #include <sys/types.h>
19289 #endif
19290 #ifdef HAVE_NETINET_IN_H
19291 #include <netinet/in.h>
19292 #endif
19293 #ifdef HAVE_NETINET_IP_H
19294 #include <netinet/ip.h>
19295 #endif
19296 #ifdef HAVE_NETINET_IP_ICMP_H
19297 #include <netinet/ip_icmp.h>
19298 #endif
19299 #ifdef HAVE_NETINET_ICMP_VAR_H
19300 #include <netinet/icmp_var.h>
19301 #endif
19303 if test "x$ac_cv_member_struct_icmpstat_icps_inhist" = xyes; then :
19305 cat >>confdefs.h <<_ACEOF
19306 #define HAVE_STRUCT_ICMPSTAT_ICPS_INHIST 1
19307 _ACEOF
19313 ac_fn_c_check_member "$LINENO" "struct icmpstat" "icps_outhist" "ac_cv_member_struct_icmpstat_icps_outhist" "#ifdef HAVE_SYS_TYPES_H
19314 #include <sys/types.h>
19315 #endif
19316 #ifdef HAVE_ALIAS_H
19317 #include <alias.h>
19318 #endif
19319 #ifdef HAVE_SYS_SOCKET_H
19320 #include <sys/socket.h>
19321 #endif
19322 #ifdef HAVE_SYS_SOCKETVAR_H
19323 #include <sys/socketvar.h>
19324 #endif
19325 #ifdef HAVE_SYS_TIMEOUT_H
19326 #include <sys/timeout.h>
19327 #endif
19328 #ifdef HAVE_NETINET_IN_H
19329 #include <netinet/in.h>
19330 #endif
19331 #ifdef HAVE_NETINET_IN_SYSTM_H
19332 #include <netinet/in_systm.h>
19333 #endif
19334 #ifdef HAVE_NETINET_IP_H
19335 #include <netinet/ip.h>
19336 #endif
19337 #ifdef HAVE_NETINET_IP_VAR_H
19338 #include <netinet/ip_var.h>
19339 #endif
19340 #ifdef HAVE_NETINET_IP_ICMP_H
19341 #include <netinet/ip_icmp.h>
19342 #endif
19343 #ifdef HAVE_NETINET_ICMP_VAR_H
19344 #include <netinet/icmp_var.h>
19345 #endif
19347 if test "x$ac_cv_member_struct_icmpstat_icps_outhist" = xyes; then :
19349 cat >>confdefs.h <<_ACEOF
19350 #define HAVE_STRUCT_ICMPSTAT_ICPS_OUTHIST 1
19351 _ACEOF
19357 ac_fn_c_check_member "$LINENO" "struct ipstat" "ips_total" "ac_cv_member_struct_ipstat_ips_total" "#ifdef HAVE_SYS_TYPES_H
19358 #include <sys/types.h>
19359 #endif
19360 #ifdef HAVE_SYS_SOCKETVAR_H
19361 #include <sys/socketvar.h>
19362 #endif
19363 #ifdef HAVE_NETINET_IN_H
19364 #include <netinet/in.h>
19365 #endif
19366 #ifdef HAVE_NETINET_IP_VAR_H
19367 #include <netinet/ip_var.h>
19368 #endif
19370 if test "x$ac_cv_member_struct_ipstat_ips_total" = xyes; then :
19372 cat >>confdefs.h <<_ACEOF
19373 #define HAVE_STRUCT_IPSTAT_IPS_TOTAL 1
19374 _ACEOF
19380 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
19381 #include <netinet/ip_var.h>
19382 #endif
19384 if test "x$ac_cv_member_struct_ip_stats_ips_total" = xyes; then :
19386 cat >>confdefs.h <<_ACEOF
19387 #define HAVE_STRUCT_IP_STATS_IPS_TOTAL 1
19388 _ACEOF
19394 ac_fn_c_check_member "$LINENO" "struct tcpstat" "tcps_connattempt" "ac_cv_member_struct_tcpstat_tcps_connattempt" "#ifdef HAVE_SYS_TYPES_H
19395 #include <sys/types.h>
19396 #endif
19397 #ifdef HAVE_SYS_SOCKETVAR_H
19398 #include <sys/socketvar.h>
19399 #endif
19400 #ifdef HAVE_NETINET_IN_H
19401 #include <netinet/in.h>
19402 #endif
19403 #ifdef HAVE_NETINET_TCP_H
19404 #include <netinet/tcp.h>
19405 #endif
19406 #ifdef HAVE_NETINET_TCP_VAR_H
19407 #include <netinet/tcp_var.h>
19408 #endif
19410 if test "x$ac_cv_member_struct_tcpstat_tcps_connattempt" = xyes; then :
19412 cat >>confdefs.h <<_ACEOF
19413 #define HAVE_STRUCT_TCPSTAT_TCPS_CONNATTEMPT 1
19414 _ACEOF
19420 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
19421 #include <netinet/tcp_var.h>
19422 #endif
19424 if test "x$ac_cv_member_struct_tcp_stats_tcps_connattempt" = xyes; then :
19426 cat >>confdefs.h <<_ACEOF
19427 #define HAVE_STRUCT_TCP_STATS_TCPS_CONNATTEMPT 1
19428 _ACEOF
19434 ac_fn_c_check_member "$LINENO" "struct udpstat" "udps_ipackets" "ac_cv_member_struct_udpstat_udps_ipackets" "#ifdef HAVE_SYS_TYPES_H
19435 #include <sys/types.h>
19436 #endif
19437 #ifdef HAVE_NETINET_IN_H
19438 #include <netinet/in.h>
19439 #endif
19440 #ifdef HAVE_NETINET_IP_VAR_H
19441 #include <netinet/ip_var.h>
19442 #endif
19443 #ifdef HAVE_NETINET_UDP_H
19444 #include <netinet/udp.h>
19445 #endif
19446 #ifdef HAVE_NETINET_UDP_VAR_H
19447 #include <netinet/udp_var.h>
19448 #endif
19450 if test "x$ac_cv_member_struct_udpstat_udps_ipackets" = xyes; then :
19452 cat >>confdefs.h <<_ACEOF
19453 #define HAVE_STRUCT_UDPSTAT_UDPS_IPACKETS 1
19454 _ACEOF
19460 ac_fn_c_check_member "$LINENO" "struct ifreq" "ifr_hwaddr" "ac_cv_member_struct_ifreq_ifr_hwaddr" "#ifdef HAVE_SYS_TYPES_H
19461 #include <sys/types.h>
19462 #endif
19463 #ifdef HAVE_NET_IF_H
19464 # include <net/if.h>
19465 #endif
19467 if test "x$ac_cv_member_struct_ifreq_ifr_hwaddr" = xyes; then :
19469 cat >>confdefs.h <<_ACEOF
19470 #define HAVE_STRUCT_IFREQ_IFR_HWADDR 1
19471 _ACEOF
19477 ac_fn_c_check_member "$LINENO" "struct sysinfo" "totalram" "ac_cv_member_struct_sysinfo_totalram" "#ifdef HAVE_SYS_SYSINFO_H
19478 # include <sys/sysinfo.h>
19479 #endif
19481 if test "x$ac_cv_member_struct_sysinfo_totalram" = xyes; then :
19483 cat >>confdefs.h <<_ACEOF
19484 #define HAVE_STRUCT_SYSINFO_TOTALRAM 1
19485 _ACEOF
19489 ac_fn_c_check_member "$LINENO" "struct sysinfo" "mem_unit" "ac_cv_member_struct_sysinfo_mem_unit" "#ifdef HAVE_SYS_SYSINFO_H
19490 # include <sys/sysinfo.h>
19491 #endif
19493 if test "x$ac_cv_member_struct_sysinfo_mem_unit" = xyes; then :
19495 cat >>confdefs.h <<_ACEOF
19496 #define HAVE_STRUCT_SYSINFO_MEM_UNIT 1
19497 _ACEOF
19503 ac_save_LIBS="$LIBS"
19504 LIBS="$LIBS -lm"
19505 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isfinite" >&5
19506 $as_echo_n "checking for isfinite... " >&6; }
19507 if ${ac_cv_have_isfinite+:} false; then :
19508 $as_echo_n "(cached) " >&6
19509 else
19510 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19511 /* end confdefs.h. */
19512 #define _GNU_SOURCE
19513 #include <math.h>
19515 main ()
19517 float f = 0.0; return isfinite(f)
19519 return 0;
19521 _ACEOF
19522 if ac_fn_c_try_link "$LINENO"; then :
19523 ac_cv_have_isfinite="yes"
19524 else
19525 ac_cv_have_isfinite="no"
19527 rm -f core conftest.err conftest.$ac_objext \
19528 conftest$ac_exeext conftest.$ac_ext
19530 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isfinite" >&5
19531 $as_echo "$ac_cv_have_isfinite" >&6; }
19532 if test "$ac_cv_have_isfinite" = "yes"
19533 then
19535 $as_echo "#define HAVE_ISFINITE 1" >>confdefs.h
19539 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf" >&5
19540 $as_echo_n "checking for isinf... " >&6; }
19541 if ${ac_cv_have_isinf+:} false; then :
19542 $as_echo_n "(cached) " >&6
19543 else
19544 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19545 /* end confdefs.h. */
19546 #include <math.h>
19548 main ()
19550 float f = 0.0; return isinf(f)
19552 return 0;
19554 _ACEOF
19555 if ac_fn_c_try_link "$LINENO"; then :
19556 ac_cv_have_isinf="yes"
19557 else
19558 ac_cv_have_isinf="no"
19560 rm -f core conftest.err conftest.$ac_objext \
19561 conftest$ac_exeext conftest.$ac_ext
19563 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isinf" >&5
19564 $as_echo "$ac_cv_have_isinf" >&6; }
19565 if test "$ac_cv_have_isinf" = "yes"
19566 then
19568 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
19572 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan" >&5
19573 $as_echo_n "checking for isnan... " >&6; }
19574 if ${ac_cv_have_isnan+:} false; then :
19575 $as_echo_n "(cached) " >&6
19576 else
19577 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19578 /* end confdefs.h. */
19579 #include <math.h>
19581 main ()
19583 float f = 0.0; return isnan(f)
19585 return 0;
19587 _ACEOF
19588 if ac_fn_c_try_link "$LINENO"; then :
19589 ac_cv_have_isnan="yes"
19590 else
19591 ac_cv_have_isnan="no"
19593 rm -f core conftest.err conftest.$ac_objext \
19594 conftest$ac_exeext conftest.$ac_ext
19596 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isnan" >&5
19597 $as_echo "$ac_cv_have_isnan" >&6; }
19598 if test "$ac_cv_have_isnan" = "yes"
19599 then
19601 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
19605 for ac_func in \
19606 acosh \
19607 acoshf \
19608 asinh \
19609 asinhf \
19610 atanh \
19611 atanhf \
19612 cbrt \
19613 cbrtf \
19614 erf \
19615 erfc \
19616 erfcf \
19617 erff \
19618 exp2 \
19619 exp2f \
19620 expm1 \
19621 expm1f \
19622 fma \
19623 fmaf \
19624 j0 \
19625 j1 \
19626 jn \
19627 lgamma \
19628 lgammaf \
19629 llrint \
19630 llrintf \
19631 llround \
19632 llroundf \
19633 log1p \
19634 log1pf \
19635 log2 \
19636 log2f \
19637 lrint \
19638 lrintf \
19639 lround \
19640 lroundf \
19641 nearbyint \
19642 nearbyintf \
19643 nexttoward \
19644 nexttowardf \
19645 remainder \
19646 remainderf \
19647 remquo \
19648 remquof \
19649 rint \
19650 rintf \
19651 round \
19652 roundf \
19653 tgamma \
19654 tgammaf \
19655 trunc \
19656 truncf \
19657 y0 \
19658 y1 \
19661 do :
19662 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
19663 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
19664 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
19665 cat >>confdefs.h <<_ACEOF
19666 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
19667 _ACEOF
19670 done
19672 LIBS="$ac_save_LIBS"
19674 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __builtin_popcount" >&5
19675 $as_echo_n "checking for __builtin_popcount... " >&6; }
19676 if ${ac_cv_have___builtin_popcount+:} false; then :
19677 $as_echo_n "(cached) " >&6
19678 else
19679 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19680 /* end confdefs.h. */
19683 main ()
19685 return __builtin_popcount(1)
19687 return 0;
19689 _ACEOF
19690 if ac_fn_c_try_link "$LINENO"; then :
19691 ac_cv_have___builtin_popcount="yes"
19692 else
19693 ac_cv_have___builtin_popcount="no"
19695 rm -f core conftest.err conftest.$ac_objext \
19696 conftest$ac_exeext conftest.$ac_ext
19698 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___builtin_popcount" >&5
19699 $as_echo "$ac_cv_have___builtin_popcount" >&6; }
19700 if test "$ac_cv_have___builtin_popcount" = "yes"
19701 then
19703 $as_echo "#define HAVE___BUILTIN_POPCOUNT 1" >>confdefs.h
19707 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __clear_cache" >&5
19708 $as_echo_n "checking for __clear_cache... " >&6; }
19709 if ${ac_cv_have___clear_cache+:} false; then :
19710 $as_echo_n "(cached) " >&6
19711 else
19712 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19713 /* end confdefs.h. */
19716 main ()
19718 __clear_cache((void*)0, (void*)0); return 0;
19720 return 0;
19722 _ACEOF
19723 if ac_fn_c_try_link "$LINENO"; then :
19724 ac_cv_have___clear_cache="yes"
19725 else
19726 ac_cv_have___clear_cache="no"
19728 rm -f core conftest.err conftest.$ac_objext \
19729 conftest$ac_exeext conftest.$ac_ext
19731 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___clear_cache" >&5
19732 $as_echo "$ac_cv_have___clear_cache" >&6; }
19733 if test "$ac_cv_have___clear_cache" = "yes"
19734 then
19736 $as_echo "#define HAVE___CLEAR_CACHE 1" >>confdefs.h
19741 case $host_cpu in
19742 *i[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __i386__" >&5
19743 $as_echo_n "checking whether we need to define __i386__... " >&6; }
19744 if ${ac_cv_cpp_def___i386__+:} false; then :
19745 $as_echo_n "(cached) " >&6
19746 else
19747 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19748 /* end confdefs.h. */
19749 #ifndef __i386__
19751 #endif
19752 _ACEOF
19753 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19754 $EGREP "yes" >/dev/null 2>&1; then :
19755 ac_cv_cpp_def___i386__=yes
19756 else
19757 ac_cv_cpp_def___i386__=no
19759 rm -f conftest*
19762 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___i386__" >&5
19763 $as_echo "$ac_cv_cpp_def___i386__" >&6; }
19764 if test "x$ac_cv_cpp_def___i386__" = xyes; then :
19765 CFLAGS="$CFLAGS -D__i386__"
19766 LINTFLAGS="$LINTFLAGS -D__i386__"
19767 fi ;;
19768 *x86_64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __x86_64__" >&5
19769 $as_echo_n "checking whether we need to define __x86_64__... " >&6; }
19770 if ${ac_cv_cpp_def___x86_64__+:} false; then :
19771 $as_echo_n "(cached) " >&6
19772 else
19773 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19774 /* end confdefs.h. */
19775 #ifndef __x86_64__
19777 #endif
19778 _ACEOF
19779 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19780 $EGREP "yes" >/dev/null 2>&1; then :
19781 ac_cv_cpp_def___x86_64__=yes
19782 else
19783 ac_cv_cpp_def___x86_64__=no
19785 rm -f conftest*
19788 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___x86_64__" >&5
19789 $as_echo "$ac_cv_cpp_def___x86_64__" >&6; }
19790 if test "x$ac_cv_cpp_def___x86_64__" = xyes; then :
19791 CFLAGS="$CFLAGS -D__x86_64__"
19792 LINTFLAGS="$LINTFLAGS -D__x86_64__"
19793 fi ;;
19794 *sparc64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc64__" >&5
19795 $as_echo_n "checking whether we need to define __sparc64__... " >&6; }
19796 if ${ac_cv_cpp_def___sparc64__+:} false; then :
19797 $as_echo_n "(cached) " >&6
19798 else
19799 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19800 /* end confdefs.h. */
19801 #ifndef __sparc64__
19803 #endif
19804 _ACEOF
19805 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19806 $EGREP "yes" >/dev/null 2>&1; then :
19807 ac_cv_cpp_def___sparc64__=yes
19808 else
19809 ac_cv_cpp_def___sparc64__=no
19811 rm -f conftest*
19814 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc64__" >&5
19815 $as_echo "$ac_cv_cpp_def___sparc64__" >&6; }
19816 if test "x$ac_cv_cpp_def___sparc64__" = xyes; then :
19817 CFLAGS="$CFLAGS -D__sparc64__"
19818 LINTFLAGS="$LINTFLAGS -D__sparc64__"
19819 fi ;;
19820 *sparc*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc__" >&5
19821 $as_echo_n "checking whether we need to define __sparc__... " >&6; }
19822 if ${ac_cv_cpp_def___sparc__+:} false; then :
19823 $as_echo_n "(cached) " >&6
19824 else
19825 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19826 /* end confdefs.h. */
19827 #ifndef __sparc__
19829 #endif
19830 _ACEOF
19831 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19832 $EGREP "yes" >/dev/null 2>&1; then :
19833 ac_cv_cpp_def___sparc__=yes
19834 else
19835 ac_cv_cpp_def___sparc__=no
19837 rm -f conftest*
19840 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc__" >&5
19841 $as_echo "$ac_cv_cpp_def___sparc__" >&6; }
19842 if test "x$ac_cv_cpp_def___sparc__" = xyes; then :
19843 CFLAGS="$CFLAGS -D__sparc__"
19844 LINTFLAGS="$LINTFLAGS -D__sparc__"
19845 fi ;;
19846 *powerpc64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc64__" >&5
19847 $as_echo_n "checking whether we need to define __powerpc64__... " >&6; }
19848 if ${ac_cv_cpp_def___powerpc64__+:} false; then :
19849 $as_echo_n "(cached) " >&6
19850 else
19851 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19852 /* end confdefs.h. */
19853 #ifndef __powerpc64__
19855 #endif
19856 _ACEOF
19857 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19858 $EGREP "yes" >/dev/null 2>&1; then :
19859 ac_cv_cpp_def___powerpc64__=yes
19860 else
19861 ac_cv_cpp_def___powerpc64__=no
19863 rm -f conftest*
19866 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc64__" >&5
19867 $as_echo "$ac_cv_cpp_def___powerpc64__" >&6; }
19868 if test "x$ac_cv_cpp_def___powerpc64__" = xyes; then :
19869 CFLAGS="$CFLAGS -D__powerpc64__"
19870 LINTFLAGS="$LINTFLAGS -D__powerpc64__"
19871 fi ;;
19872 *powerpc*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc__" >&5
19873 $as_echo_n "checking whether we need to define __powerpc__... " >&6; }
19874 if ${ac_cv_cpp_def___powerpc__+:} false; then :
19875 $as_echo_n "(cached) " >&6
19876 else
19877 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19878 /* end confdefs.h. */
19879 #ifndef __powerpc__
19881 #endif
19882 _ACEOF
19883 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19884 $EGREP "yes" >/dev/null 2>&1; then :
19885 ac_cv_cpp_def___powerpc__=yes
19886 else
19887 ac_cv_cpp_def___powerpc__=no
19889 rm -f conftest*
19892 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc__" >&5
19893 $as_echo "$ac_cv_cpp_def___powerpc__" >&6; }
19894 if test "x$ac_cv_cpp_def___powerpc__" = xyes; then :
19895 CFLAGS="$CFLAGS -D__powerpc__"
19896 LINTFLAGS="$LINTFLAGS -D__powerpc__"
19897 fi ;;
19898 *aarch64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __aarch64__" >&5
19899 $as_echo_n "checking whether we need to define __aarch64__... " >&6; }
19900 if ${ac_cv_cpp_def___aarch64__+:} false; then :
19901 $as_echo_n "(cached) " >&6
19902 else
19903 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19904 /* end confdefs.h. */
19905 #ifndef __aarch64__
19907 #endif
19908 _ACEOF
19909 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19910 $EGREP "yes" >/dev/null 2>&1; then :
19911 ac_cv_cpp_def___aarch64__=yes
19912 else
19913 ac_cv_cpp_def___aarch64__=no
19915 rm -f conftest*
19918 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___aarch64__" >&5
19919 $as_echo "$ac_cv_cpp_def___aarch64__" >&6; }
19920 if test "x$ac_cv_cpp_def___aarch64__" = xyes; then :
19921 CFLAGS="$CFLAGS -D__aarch64__"
19922 LINTFLAGS="$LINTFLAGS -D__aarch64__"
19923 fi ;;
19924 *arm*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __arm__" >&5
19925 $as_echo_n "checking whether we need to define __arm__... " >&6; }
19926 if ${ac_cv_cpp_def___arm__+:} false; then :
19927 $as_echo_n "(cached) " >&6
19928 else
19929 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19930 /* end confdefs.h. */
19931 #ifndef __arm__
19933 #endif
19934 _ACEOF
19935 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19936 $EGREP "yes" >/dev/null 2>&1; then :
19937 ac_cv_cpp_def___arm__=yes
19938 else
19939 ac_cv_cpp_def___arm__=no
19941 rm -f conftest*
19944 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___arm__" >&5
19945 $as_echo "$ac_cv_cpp_def___arm__" >&6; }
19946 if test "x$ac_cv_cpp_def___arm__" = xyes; then :
19947 CFLAGS="$CFLAGS -D__arm__"
19948 LINTFLAGS="$LINTFLAGS -D__arm__"
19949 fi ;;
19950 esac
19952 case $host_vendor in
19953 *sun*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sun__" >&5
19954 $as_echo_n "checking whether we need to define __sun__... " >&6; }
19955 if ${ac_cv_cpp_def___sun__+:} false; then :
19956 $as_echo_n "(cached) " >&6
19957 else
19958 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19959 /* end confdefs.h. */
19960 #ifndef __sun__
19962 #endif
19963 _ACEOF
19964 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19965 $EGREP "yes" >/dev/null 2>&1; then :
19966 ac_cv_cpp_def___sun__=yes
19967 else
19968 ac_cv_cpp_def___sun__=no
19970 rm -f conftest*
19973 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sun__" >&5
19974 $as_echo "$ac_cv_cpp_def___sun__" >&6; }
19975 if test "x$ac_cv_cpp_def___sun__" = xyes; then :
19976 CFLAGS="$CFLAGS -D__sun__"
19977 LINTFLAGS="$LINTFLAGS -D__sun__"
19978 fi ;;
19979 esac
19985 ac_config_commands="$ac_config_commands include/stamp-h"
19987 $as_echo_n "creating Makefile rules..." >&6
19989 ALL_VARS_RULES="I386_LIBS = $I386_LIBS
19990 OPENGL_LIBS = $OPENGL_LIBS
19991 COREFOUNDATION_LIBS = $COREFOUNDATION_LIBS
19992 IOKIT_LIBS = $IOKIT_LIBS
19993 FORCEFEEDBACK_LIBS = $FORCEFEEDBACK_LIBS
19994 APPLICATIONSERVICES_LIBS = $APPLICATIONSERVICES_LIBS
19995 CORESERVICES_LIBS = $CORESERVICES_LIBS
19996 APPKIT_LIBS = $APPKIT_LIBS
19997 SYSTEMCONFIGURATION_LIBS = $SYSTEMCONFIGURATION_LIBS
19998 DISKARBITRATION_LIBS = $DISKARBITRATION_LIBS
19999 SECURITY_LIBS = $SECURITY_LIBS
20000 COREAUDIO_LIBS = $COREAUDIO_LIBS
20001 OPENAL_LIBS = $OPENAL_LIBS
20002 OPENCL_LIBS = $OPENCL_LIBS
20003 QUICKTIME_LIBS = $QUICKTIME_LIBS
20004 CARBON_LIBS = $CARBON_LIBS
20005 METAL_LIBS = $METAL_LIBS
20006 EXCESS_PRECISION_CFLAGS = $EXCESS_PRECISION_CFLAGS
20007 PTHREAD_LIBS = $PTHREAD_LIBS
20008 X_CFLAGS = $X_CFLAGS
20009 X_PRE_LIBS = $X_PRE_LIBS
20010 X_LIBS = $X_LIBS
20011 X_EXTRA_LIBS = $X_EXTRA_LIBS
20012 PCAP_LIBS = $PCAP_LIBS
20013 XML2_CFLAGS = $XML2_CFLAGS
20014 XML2_LIBS = $XML2_LIBS
20015 XSLT_CFLAGS = $XSLT_CFLAGS
20016 XSLT_LIBS = $XSLT_LIBS
20017 INOTIFY_CFLAGS = $INOTIFY_CFLAGS
20018 INOTIFY_LIBS = $INOTIFY_LIBS
20019 DBUS_CFLAGS = $DBUS_CFLAGS
20020 DBUS_LIBS = $DBUS_LIBS
20021 HAL_CFLAGS = $HAL_CFLAGS
20022 HAL_LIBS = $HAL_LIBS
20023 GNUTLS_CFLAGS = $GNUTLS_CFLAGS
20024 GNUTLS_LIBS = $GNUTLS_LIBS
20025 SANE_CFLAGS = $SANE_CFLAGS
20026 SANE_LIBS = $SANE_LIBS
20027 USB_CFLAGS = $USB_CFLAGS
20028 USB_LIBS = $USB_LIBS
20029 GPHOTO2_CFLAGS = $GPHOTO2_CFLAGS
20030 GPHOTO2_LIBS = $GPHOTO2_LIBS
20031 GPHOTO2_PORT_CFLAGS = $GPHOTO2_PORT_CFLAGS
20032 GPHOTO2_PORT_LIBS = $GPHOTO2_PORT_LIBS
20033 RESOLV_LIBS = $RESOLV_LIBS
20034 LCMS2_CFLAGS = $LCMS2_CFLAGS
20035 LCMS2_LIBS = $LCMS2_LIBS
20036 FREETYPE_CFLAGS = $FREETYPE_CFLAGS
20037 FREETYPE_LIBS = $FREETYPE_LIBS
20038 GETTEXTPO_LIBS = $GETTEXTPO_LIBS
20039 PULSE_CFLAGS = $PULSE_CFLAGS
20040 PULSE_LIBS = $PULSE_LIBS
20041 GSTREAMER_CFLAGS = $GSTREAMER_CFLAGS
20042 GSTREAMER_LIBS = $GSTREAMER_LIBS
20043 ALSA_LIBS = $ALSA_LIBS
20044 OSS4_CFLAGS = $OSS4_CFLAGS
20045 OSS4_LIBS = $OSS4_LIBS
20046 UDEV_CFLAGS = $UDEV_CFLAGS
20047 UDEV_LIBS = $UDEV_LIBS
20048 UNWIND_CFLAGS = $UNWIND_CFLAGS
20049 UNWIND_LIBS = $UNWIND_LIBS
20050 SDL2_CFLAGS = $SDL2_CFLAGS
20051 SDL2_LIBS = $SDL2_LIBS
20052 FAUDIO_CFLAGS = $FAUDIO_CFLAGS
20053 FAUDIO_LIBS = $FAUDIO_LIBS
20054 CAPI20_CFLAGS = $CAPI20_CFLAGS
20055 CAPI20_LIBS = $CAPI20_LIBS
20056 CUPS_CFLAGS = $CUPS_CFLAGS
20057 CUPS_LIBS = $CUPS_LIBS
20058 FONTCONFIG_CFLAGS = $FONTCONFIG_CFLAGS
20059 FONTCONFIG_LIBS = $FONTCONFIG_LIBS
20060 KRB5_CFLAGS = $KRB5_CFLAGS
20061 KRB5_LIBS = $KRB5_LIBS
20062 GSSAPI_CFLAGS = $GSSAPI_CFLAGS
20063 GSSAPI_LIBS = $GSSAPI_LIBS
20064 JPEG_CFLAGS = $JPEG_CFLAGS
20065 JPEG_LIBS = $JPEG_LIBS
20066 JXRLIB_CFLAGS = $JXRLIB_CFLAGS
20067 JXRLIB_LIBS = $JXRLIB_LIBS
20068 PNG_CFLAGS = $PNG_CFLAGS
20069 PNG_LIBS = $PNG_LIBS
20070 TIFF_CFLAGS = $TIFF_CFLAGS
20071 TIFF_LIBS = $TIFF_LIBS
20072 MPG123_CFLAGS = $MPG123_CFLAGS
20073 MPG123_LIBS = $MPG123_LIBS
20074 KSTAT_LIBS = $KSTAT_LIBS
20075 PROCSTAT_LIBS = $PROCSTAT_LIBS
20076 NETAPI_CFLAGS = $NETAPI_CFLAGS
20077 NETAPI_LIBS = $NETAPI_LIBS
20078 VKD3D_CFLAGS = $VKD3D_CFLAGS
20079 VKD3D_LIBS = $VKD3D_LIBS
20080 VKD3D_SHADER_CFLAGS = $VKD3D_SHADER_CFLAGS
20081 VKD3D_SHADER_LIBS = $VKD3D_SHADER_LIBS
20082 POLL_LIBS = $POLL_LIBS
20083 RT_LIBS = $RT_LIBS
20084 LDAP_CFLAGS = $LDAP_CFLAGS
20085 LDAP_LIBS = $LDAP_LIBS
20089 makedep_flags=""
20090 test "x$enable_silent_rules" = xyes && makedep_flags="$makedep_flags -S"
20093 wine_fn_append_rule "
20094 # Rules automatically generated by configure
20096 .INIT: Makefile
20097 .MAKEFILEDEPS:
20098 all: Makefile
20099 Makefile: $srcdir/Makefile.in config.status \$(MAKEDEP)
20100 @./config.status Make.tmp Makefile
20101 depend: \$(MAKEDEP)
20102 \$(MAKEDEP)$makedep_flags
20103 dummy:
20104 .PHONY: depend dummy"
20106 ac_config_links="$ac_config_links wine:tools/winewrapper"
20107 wine_fn_config_symlink wine
20108 if test "x$enable_win64" != xno -o -n "$with_wine64"; then
20109 ac_config_links="$ac_config_links wine64:tools/winewrapper"
20110 wine_fn_config_symlink wine64
20113 wine_fn_config_makefile dlls/acledit enable_acledit
20114 wine_fn_config_makefile dlls/aclui enable_aclui
20115 wine_fn_config_makefile dlls/activeds.tlb enable_activeds_tlb
20116 wine_fn_config_makefile dlls/activeds enable_activeds
20117 wine_fn_config_makefile dlls/activeds/tests enable_tests
20118 wine_fn_config_makefile dlls/actxprxy enable_actxprxy
20119 wine_fn_config_makefile dlls/adsiid enable_adsiid
20120 wine_fn_config_makefile dlls/adsldp enable_adsldp
20121 wine_fn_config_makefile dlls/adsldp/tests enable_tests
20122 wine_fn_config_makefile dlls/adsldpc enable_adsldpc
20123 wine_fn_config_makefile dlls/advapi32 enable_advapi32
20124 wine_fn_config_makefile dlls/advapi32/tests enable_tests
20125 wine_fn_config_makefile dlls/advpack enable_advpack
20126 wine_fn_config_makefile dlls/advpack/tests enable_tests
20127 wine_fn_config_makefile dlls/amsi enable_amsi
20128 wine_fn_config_makefile dlls/amstream enable_amstream
20129 wine_fn_config_makefile dlls/amstream/tests enable_tests
20130 wine_fn_config_makefile dlls/api-ms-win-appmodel-identity-l1-1-0 enable_api_ms_win_appmodel_identity_l1_1_0
20131 wine_fn_config_makefile dlls/api-ms-win-appmodel-runtime-l1-1-1 enable_api_ms_win_appmodel_runtime_l1_1_1
20132 wine_fn_config_makefile dlls/api-ms-win-appmodel-runtime-l1-1-2 enable_api_ms_win_appmodel_runtime_l1_1_2
20133 wine_fn_config_makefile dlls/api-ms-win-core-apiquery-l1-1-0 enable_api_ms_win_core_apiquery_l1_1_0
20134 wine_fn_config_makefile dlls/api-ms-win-core-appcompat-l1-1-1 enable_api_ms_win_core_appcompat_l1_1_1
20135 wine_fn_config_makefile dlls/api-ms-win-core-appinit-l1-1-0 enable_api_ms_win_core_appinit_l1_1_0
20136 wine_fn_config_makefile dlls/api-ms-win-core-atoms-l1-1-0 enable_api_ms_win_core_atoms_l1_1_0
20137 wine_fn_config_makefile dlls/api-ms-win-core-bem-l1-1-0 enable_api_ms_win_core_bem_l1_1_0
20138 wine_fn_config_makefile dlls/api-ms-win-core-com-l1-1-0 enable_api_ms_win_core_com_l1_1_0
20139 wine_fn_config_makefile dlls/api-ms-win-core-com-l1-1-1 enable_api_ms_win_core_com_l1_1_1
20140 wine_fn_config_makefile dlls/api-ms-win-core-com-private-l1-1-0 enable_api_ms_win_core_com_private_l1_1_0
20141 wine_fn_config_makefile dlls/api-ms-win-core-comm-l1-1-0 enable_api_ms_win_core_comm_l1_1_0
20142 wine_fn_config_makefile dlls/api-ms-win-core-console-l1-1-0 enable_api_ms_win_core_console_l1_1_0
20143 wine_fn_config_makefile dlls/api-ms-win-core-console-l2-1-0 enable_api_ms_win_core_console_l2_1_0
20144 wine_fn_config_makefile dlls/api-ms-win-core-crt-l1-1-0 enable_api_ms_win_core_crt_l1_1_0
20145 wine_fn_config_makefile dlls/api-ms-win-core-crt-l2-1-0 enable_api_ms_win_core_crt_l2_1_0
20146 wine_fn_config_makefile dlls/api-ms-win-core-datetime-l1-1-0 enable_api_ms_win_core_datetime_l1_1_0
20147 wine_fn_config_makefile dlls/api-ms-win-core-datetime-l1-1-1 enable_api_ms_win_core_datetime_l1_1_1
20148 wine_fn_config_makefile dlls/api-ms-win-core-debug-l1-1-0 enable_api_ms_win_core_debug_l1_1_0
20149 wine_fn_config_makefile dlls/api-ms-win-core-debug-l1-1-1 enable_api_ms_win_core_debug_l1_1_1
20150 wine_fn_config_makefile dlls/api-ms-win-core-delayload-l1-1-0 enable_api_ms_win_core_delayload_l1_1_0
20151 wine_fn_config_makefile dlls/api-ms-win-core-delayload-l1-1-1 enable_api_ms_win_core_delayload_l1_1_1
20152 wine_fn_config_makefile dlls/api-ms-win-core-errorhandling-l1-1-0 enable_api_ms_win_core_errorhandling_l1_1_0
20153 wine_fn_config_makefile dlls/api-ms-win-core-errorhandling-l1-1-1 enable_api_ms_win_core_errorhandling_l1_1_1
20154 wine_fn_config_makefile dlls/api-ms-win-core-errorhandling-l1-1-2 enable_api_ms_win_core_errorhandling_l1_1_2
20155 wine_fn_config_makefile dlls/api-ms-win-core-errorhandling-l1-1-3 enable_api_ms_win_core_errorhandling_l1_1_3
20156 wine_fn_config_makefile dlls/api-ms-win-core-fibers-l1-1-0 enable_api_ms_win_core_fibers_l1_1_0
20157 wine_fn_config_makefile dlls/api-ms-win-core-fibers-l1-1-1 enable_api_ms_win_core_fibers_l1_1_1
20158 wine_fn_config_makefile dlls/api-ms-win-core-file-ansi-l2-1-0 enable_api_ms_win_core_file_ansi_l2_1_0
20159 wine_fn_config_makefile dlls/api-ms-win-core-file-fromapp-l1-1-0 enable_api_ms_win_core_file_fromapp_l1_1_0
20160 wine_fn_config_makefile dlls/api-ms-win-core-file-l1-1-0 enable_api_ms_win_core_file_l1_1_0
20161 wine_fn_config_makefile dlls/api-ms-win-core-file-l1-2-0 enable_api_ms_win_core_file_l1_2_0
20162 wine_fn_config_makefile dlls/api-ms-win-core-file-l1-2-1 enable_api_ms_win_core_file_l1_2_1
20163 wine_fn_config_makefile dlls/api-ms-win-core-file-l1-2-2 enable_api_ms_win_core_file_l1_2_2
20164 wine_fn_config_makefile dlls/api-ms-win-core-file-l2-1-0 enable_api_ms_win_core_file_l2_1_0
20165 wine_fn_config_makefile dlls/api-ms-win-core-file-l2-1-1 enable_api_ms_win_core_file_l2_1_1
20166 wine_fn_config_makefile dlls/api-ms-win-core-file-l2-1-2 enable_api_ms_win_core_file_l2_1_2
20167 wine_fn_config_makefile dlls/api-ms-win-core-handle-l1-1-0 enable_api_ms_win_core_handle_l1_1_0
20168 wine_fn_config_makefile dlls/api-ms-win-core-heap-l1-1-0 enable_api_ms_win_core_heap_l1_1_0
20169 wine_fn_config_makefile dlls/api-ms-win-core-heap-l1-2-0 enable_api_ms_win_core_heap_l1_2_0
20170 wine_fn_config_makefile dlls/api-ms-win-core-heap-l2-1-0 enable_api_ms_win_core_heap_l2_1_0
20171 wine_fn_config_makefile dlls/api-ms-win-core-heap-obsolete-l1-1-0 enable_api_ms_win_core_heap_obsolete_l1_1_0
20172 wine_fn_config_makefile dlls/api-ms-win-core-interlocked-l1-1-0 enable_api_ms_win_core_interlocked_l1_1_0
20173 wine_fn_config_makefile dlls/api-ms-win-core-interlocked-l1-2-0 enable_api_ms_win_core_interlocked_l1_2_0
20174 wine_fn_config_makefile dlls/api-ms-win-core-io-l1-1-0 enable_api_ms_win_core_io_l1_1_0
20175 wine_fn_config_makefile dlls/api-ms-win-core-io-l1-1-1 enable_api_ms_win_core_io_l1_1_1
20176 wine_fn_config_makefile dlls/api-ms-win-core-job-l1-1-0 enable_api_ms_win_core_job_l1_1_0
20177 wine_fn_config_makefile dlls/api-ms-win-core-job-l2-1-0 enable_api_ms_win_core_job_l2_1_0
20178 wine_fn_config_makefile dlls/api-ms-win-core-kernel32-legacy-l1-1-0 enable_api_ms_win_core_kernel32_legacy_l1_1_0
20179 wine_fn_config_makefile dlls/api-ms-win-core-kernel32-legacy-l1-1-1 enable_api_ms_win_core_kernel32_legacy_l1_1_1
20180 wine_fn_config_makefile dlls/api-ms-win-core-kernel32-legacy-l1-1-2 enable_api_ms_win_core_kernel32_legacy_l1_1_2
20181 wine_fn_config_makefile dlls/api-ms-win-core-kernel32-private-l1-1-1 enable_api_ms_win_core_kernel32_private_l1_1_1
20182 wine_fn_config_makefile dlls/api-ms-win-core-largeinteger-l1-1-0 enable_api_ms_win_core_largeinteger_l1_1_0
20183 wine_fn_config_makefile dlls/api-ms-win-core-libraryloader-l1-1-0 enable_api_ms_win_core_libraryloader_l1_1_0
20184 wine_fn_config_makefile dlls/api-ms-win-core-libraryloader-l1-1-1 enable_api_ms_win_core_libraryloader_l1_1_1
20185 wine_fn_config_makefile dlls/api-ms-win-core-libraryloader-l1-2-0 enable_api_ms_win_core_libraryloader_l1_2_0
20186 wine_fn_config_makefile dlls/api-ms-win-core-libraryloader-l1-2-1 enable_api_ms_win_core_libraryloader_l1_2_1
20187 wine_fn_config_makefile dlls/api-ms-win-core-libraryloader-l1-2-2 enable_api_ms_win_core_libraryloader_l1_2_2
20188 wine_fn_config_makefile dlls/api-ms-win-core-libraryloader-l2-1-0 enable_api_ms_win_core_libraryloader_l2_1_0
20189 wine_fn_config_makefile dlls/api-ms-win-core-localization-l1-1-0 enable_api_ms_win_core_localization_l1_1_0
20190 wine_fn_config_makefile dlls/api-ms-win-core-localization-l1-2-0 enable_api_ms_win_core_localization_l1_2_0
20191 wine_fn_config_makefile dlls/api-ms-win-core-localization-l1-2-1 enable_api_ms_win_core_localization_l1_2_1
20192 wine_fn_config_makefile dlls/api-ms-win-core-localization-l1-2-2 enable_api_ms_win_core_localization_l1_2_2
20193 wine_fn_config_makefile dlls/api-ms-win-core-localization-l2-1-0 enable_api_ms_win_core_localization_l2_1_0
20194 wine_fn_config_makefile dlls/api-ms-win-core-localization-obsolete-l1-1-0 enable_api_ms_win_core_localization_obsolete_l1_1_0
20195 wine_fn_config_makefile dlls/api-ms-win-core-localization-obsolete-l1-2-0 enable_api_ms_win_core_localization_obsolete_l1_2_0
20196 wine_fn_config_makefile dlls/api-ms-win-core-localization-obsolete-l1-3-0 enable_api_ms_win_core_localization_obsolete_l1_3_0
20197 wine_fn_config_makefile dlls/api-ms-win-core-localization-private-l1-1-0 enable_api_ms_win_core_localization_private_l1_1_0
20198 wine_fn_config_makefile dlls/api-ms-win-core-localregistry-l1-1-0 enable_api_ms_win_core_localregistry_l1_1_0
20199 wine_fn_config_makefile dlls/api-ms-win-core-memory-l1-1-0 enable_api_ms_win_core_memory_l1_1_0
20200 wine_fn_config_makefile dlls/api-ms-win-core-memory-l1-1-1 enable_api_ms_win_core_memory_l1_1_1
20201 wine_fn_config_makefile dlls/api-ms-win-core-memory-l1-1-2 enable_api_ms_win_core_memory_l1_1_2
20202 wine_fn_config_makefile dlls/api-ms-win-core-memory-l1-1-3 enable_api_ms_win_core_memory_l1_1_3
20203 wine_fn_config_makefile dlls/api-ms-win-core-memory-l1-1-4 enable_api_ms_win_core_memory_l1_1_4
20204 wine_fn_config_makefile dlls/api-ms-win-core-misc-l1-1-0 enable_api_ms_win_core_misc_l1_1_0
20205 wine_fn_config_makefile dlls/api-ms-win-core-namedpipe-ansi-l1-1-0 enable_api_ms_win_core_namedpipe_ansi_l1_1_0
20206 wine_fn_config_makefile dlls/api-ms-win-core-namedpipe-l1-1-0 enable_api_ms_win_core_namedpipe_l1_1_0
20207 wine_fn_config_makefile dlls/api-ms-win-core-namedpipe-l1-2-0 enable_api_ms_win_core_namedpipe_l1_2_0
20208 wine_fn_config_makefile dlls/api-ms-win-core-namespace-l1-1-0 enable_api_ms_win_core_namespace_l1_1_0
20209 wine_fn_config_makefile dlls/api-ms-win-core-normalization-l1-1-0 enable_api_ms_win_core_normalization_l1_1_0
20210 wine_fn_config_makefile dlls/api-ms-win-core-path-l1-1-0 enable_api_ms_win_core_path_l1_1_0
20211 wine_fn_config_makefile dlls/api-ms-win-core-privateprofile-l1-1-1 enable_api_ms_win_core_privateprofile_l1_1_1
20212 wine_fn_config_makefile dlls/api-ms-win-core-processenvironment-l1-1-0 enable_api_ms_win_core_processenvironment_l1_1_0
20213 wine_fn_config_makefile dlls/api-ms-win-core-processenvironment-l1-2-0 enable_api_ms_win_core_processenvironment_l1_2_0
20214 wine_fn_config_makefile dlls/api-ms-win-core-processthreads-l1-1-0 enable_api_ms_win_core_processthreads_l1_1_0
20215 wine_fn_config_makefile dlls/api-ms-win-core-processthreads-l1-1-1 enable_api_ms_win_core_processthreads_l1_1_1
20216 wine_fn_config_makefile dlls/api-ms-win-core-processthreads-l1-1-2 enable_api_ms_win_core_processthreads_l1_1_2
20217 wine_fn_config_makefile dlls/api-ms-win-core-processthreads-l1-1-3 enable_api_ms_win_core_processthreads_l1_1_3
20218 wine_fn_config_makefile dlls/api-ms-win-core-processtopology-obsolete-l1-1-0 enable_api_ms_win_core_processtopology_obsolete_l1_1_0
20219 wine_fn_config_makefile dlls/api-ms-win-core-profile-l1-1-0 enable_api_ms_win_core_profile_l1_1_0
20220 wine_fn_config_makefile dlls/api-ms-win-core-psapi-ansi-l1-1-0 enable_api_ms_win_core_psapi_ansi_l1_1_0
20221 wine_fn_config_makefile dlls/api-ms-win-core-psapi-l1-1-0 enable_api_ms_win_core_psapi_l1_1_0
20222 wine_fn_config_makefile dlls/api-ms-win-core-psapi-obsolete-l1-1-0 enable_api_ms_win_core_psapi_obsolete_l1_1_0
20223 wine_fn_config_makefile dlls/api-ms-win-core-quirks-l1-1-0 enable_api_ms_win_core_quirks_l1_1_0
20224 wine_fn_config_makefile dlls/api-ms-win-core-realtime-l1-1-0 enable_api_ms_win_core_realtime_l1_1_0
20225 wine_fn_config_makefile dlls/api-ms-win-core-registry-l1-1-0 enable_api_ms_win_core_registry_l1_1_0
20226 wine_fn_config_makefile dlls/api-ms-win-core-registry-l2-1-0 enable_api_ms_win_core_registry_l2_1_0
20227 wine_fn_config_makefile dlls/api-ms-win-core-registry-l2-2-0 enable_api_ms_win_core_registry_l2_2_0
20228 wine_fn_config_makefile dlls/api-ms-win-core-registryuserspecific-l1-1-0 enable_api_ms_win_core_registryuserspecific_l1_1_0
20229 wine_fn_config_makefile dlls/api-ms-win-core-rtlsupport-l1-1-0 enable_api_ms_win_core_rtlsupport_l1_1_0
20230 wine_fn_config_makefile dlls/api-ms-win-core-rtlsupport-l1-2-0 enable_api_ms_win_core_rtlsupport_l1_2_0
20231 wine_fn_config_makefile dlls/api-ms-win-core-shlwapi-legacy-l1-1-0 enable_api_ms_win_core_shlwapi_legacy_l1_1_0
20232 wine_fn_config_makefile dlls/api-ms-win-core-shlwapi-obsolete-l1-1-0 enable_api_ms_win_core_shlwapi_obsolete_l1_1_0
20233 wine_fn_config_makefile dlls/api-ms-win-core-shlwapi-obsolete-l1-2-0 enable_api_ms_win_core_shlwapi_obsolete_l1_2_0
20234 wine_fn_config_makefile dlls/api-ms-win-core-shutdown-l1-1-0 enable_api_ms_win_core_shutdown_l1_1_0
20235 wine_fn_config_makefile dlls/api-ms-win-core-sidebyside-l1-1-0 enable_api_ms_win_core_sidebyside_l1_1_0
20236 wine_fn_config_makefile dlls/api-ms-win-core-string-l1-1-0 enable_api_ms_win_core_string_l1_1_0
20237 wine_fn_config_makefile dlls/api-ms-win-core-string-l2-1-0 enable_api_ms_win_core_string_l2_1_0
20238 wine_fn_config_makefile dlls/api-ms-win-core-string-obsolete-l1-1-0 enable_api_ms_win_core_string_obsolete_l1_1_0
20239 wine_fn_config_makefile dlls/api-ms-win-core-stringansi-l1-1-0 enable_api_ms_win_core_stringansi_l1_1_0
20240 wine_fn_config_makefile dlls/api-ms-win-core-stringloader-l1-1-1 enable_api_ms_win_core_stringloader_l1_1_1
20241 wine_fn_config_makefile dlls/api-ms-win-core-synch-ansi-l1-1-0 enable_api_ms_win_core_synch_ansi_l1_1_0
20242 wine_fn_config_makefile dlls/api-ms-win-core-synch-l1-1-0 enable_api_ms_win_core_synch_l1_1_0
20243 wine_fn_config_makefile dlls/api-ms-win-core-synch-l1-2-0 enable_api_ms_win_core_synch_l1_2_0
20244 wine_fn_config_makefile dlls/api-ms-win-core-synch-l1-2-1 enable_api_ms_win_core_synch_l1_2_1
20245 wine_fn_config_makefile dlls/api-ms-win-core-sysinfo-l1-1-0 enable_api_ms_win_core_sysinfo_l1_1_0
20246 wine_fn_config_makefile dlls/api-ms-win-core-sysinfo-l1-2-0 enable_api_ms_win_core_sysinfo_l1_2_0
20247 wine_fn_config_makefile dlls/api-ms-win-core-sysinfo-l1-2-1 enable_api_ms_win_core_sysinfo_l1_2_1
20248 wine_fn_config_makefile dlls/api-ms-win-core-systemtopology-l1-1-0 enable_api_ms_win_core_systemtopology_l1_1_0
20249 wine_fn_config_makefile dlls/api-ms-win-core-threadpool-l1-1-0 enable_api_ms_win_core_threadpool_l1_1_0
20250 wine_fn_config_makefile dlls/api-ms-win-core-threadpool-l1-2-0 enable_api_ms_win_core_threadpool_l1_2_0
20251 wine_fn_config_makefile dlls/api-ms-win-core-threadpool-legacy-l1-1-0 enable_api_ms_win_core_threadpool_legacy_l1_1_0
20252 wine_fn_config_makefile dlls/api-ms-win-core-threadpool-private-l1-1-0 enable_api_ms_win_core_threadpool_private_l1_1_0
20253 wine_fn_config_makefile dlls/api-ms-win-core-timezone-l1-1-0 enable_api_ms_win_core_timezone_l1_1_0
20254 wine_fn_config_makefile dlls/api-ms-win-core-toolhelp-l1-1-0 enable_api_ms_win_core_toolhelp_l1_1_0
20255 wine_fn_config_makefile dlls/api-ms-win-core-url-l1-1-0 enable_api_ms_win_core_url_l1_1_0
20256 wine_fn_config_makefile dlls/api-ms-win-core-util-l1-1-0 enable_api_ms_win_core_util_l1_1_0
20257 wine_fn_config_makefile dlls/api-ms-win-core-version-l1-1-0 enable_api_ms_win_core_version_l1_1_0
20258 wine_fn_config_makefile dlls/api-ms-win-core-version-l1-1-1 enable_api_ms_win_core_version_l1_1_1
20259 wine_fn_config_makefile dlls/api-ms-win-core-version-private-l1-1-0 enable_api_ms_win_core_version_private_l1_1_0
20260 wine_fn_config_makefile dlls/api-ms-win-core-versionansi-l1-1-0 enable_api_ms_win_core_versionansi_l1_1_0
20261 wine_fn_config_makefile dlls/api-ms-win-core-windowserrorreporting-l1-1-0 enable_api_ms_win_core_windowserrorreporting_l1_1_0
20262 wine_fn_config_makefile dlls/api-ms-win-core-winrt-error-l1-1-0 enable_api_ms_win_core_winrt_error_l1_1_0
20263 wine_fn_config_makefile dlls/api-ms-win-core-winrt-error-l1-1-1 enable_api_ms_win_core_winrt_error_l1_1_1
20264 wine_fn_config_makefile dlls/api-ms-win-core-winrt-errorprivate-l1-1-1 enable_api_ms_win_core_winrt_errorprivate_l1_1_1
20265 wine_fn_config_makefile dlls/api-ms-win-core-winrt-l1-1-0 enable_api_ms_win_core_winrt_l1_1_0
20266 wine_fn_config_makefile dlls/api-ms-win-core-winrt-registration-l1-1-0 enable_api_ms_win_core_winrt_registration_l1_1_0
20267 wine_fn_config_makefile dlls/api-ms-win-core-winrt-roparameterizediid-l1-1-0 enable_api_ms_win_core_winrt_roparameterizediid_l1_1_0
20268 wine_fn_config_makefile dlls/api-ms-win-core-winrt-string-l1-1-0 enable_api_ms_win_core_winrt_string_l1_1_0
20269 wine_fn_config_makefile dlls/api-ms-win-core-winrt-string-l1-1-1 enable_api_ms_win_core_winrt_string_l1_1_1
20270 wine_fn_config_makefile dlls/api-ms-win-core-wow64-l1-1-0 enable_api_ms_win_core_wow64_l1_1_0
20271 wine_fn_config_makefile dlls/api-ms-win-core-wow64-l1-1-1 enable_api_ms_win_core_wow64_l1_1_1
20272 wine_fn_config_makefile dlls/api-ms-win-core-xstate-l1-1-0 enable_api_ms_win_core_xstate_l1_1_0
20273 wine_fn_config_makefile dlls/api-ms-win-core-xstate-l2-1-0 enable_api_ms_win_core_xstate_l2_1_0
20274 wine_fn_config_makefile dlls/api-ms-win-crt-conio-l1-1-0 enable_api_ms_win_crt_conio_l1_1_0
20275 wine_fn_config_makefile dlls/api-ms-win-crt-convert-l1-1-0 enable_api_ms_win_crt_convert_l1_1_0
20276 wine_fn_config_makefile dlls/api-ms-win-crt-environment-l1-1-0 enable_api_ms_win_crt_environment_l1_1_0
20277 wine_fn_config_makefile dlls/api-ms-win-crt-filesystem-l1-1-0 enable_api_ms_win_crt_filesystem_l1_1_0
20278 wine_fn_config_makefile dlls/api-ms-win-crt-heap-l1-1-0 enable_api_ms_win_crt_heap_l1_1_0
20279 wine_fn_config_makefile dlls/api-ms-win-crt-locale-l1-1-0 enable_api_ms_win_crt_locale_l1_1_0
20280 wine_fn_config_makefile dlls/api-ms-win-crt-math-l1-1-0 enable_api_ms_win_crt_math_l1_1_0
20281 wine_fn_config_makefile dlls/api-ms-win-crt-multibyte-l1-1-0 enable_api_ms_win_crt_multibyte_l1_1_0
20282 wine_fn_config_makefile dlls/api-ms-win-crt-private-l1-1-0 enable_api_ms_win_crt_private_l1_1_0
20283 wine_fn_config_makefile dlls/api-ms-win-crt-process-l1-1-0 enable_api_ms_win_crt_process_l1_1_0
20284 wine_fn_config_makefile dlls/api-ms-win-crt-runtime-l1-1-0 enable_api_ms_win_crt_runtime_l1_1_0
20285 wine_fn_config_makefile dlls/api-ms-win-crt-stdio-l1-1-0 enable_api_ms_win_crt_stdio_l1_1_0
20286 wine_fn_config_makefile dlls/api-ms-win-crt-string-l1-1-0 enable_api_ms_win_crt_string_l1_1_0
20287 wine_fn_config_makefile dlls/api-ms-win-crt-time-l1-1-0 enable_api_ms_win_crt_time_l1_1_0
20288 wine_fn_config_makefile dlls/api-ms-win-crt-utility-l1-1-0 enable_api_ms_win_crt_utility_l1_1_0
20289 wine_fn_config_makefile dlls/api-ms-win-devices-config-l1-1-0 enable_api_ms_win_devices_config_l1_1_0
20290 wine_fn_config_makefile dlls/api-ms-win-devices-config-l1-1-1 enable_api_ms_win_devices_config_l1_1_1
20291 wine_fn_config_makefile dlls/api-ms-win-devices-query-l1-1-1 enable_api_ms_win_devices_query_l1_1_1
20292 wine_fn_config_makefile dlls/api-ms-win-downlevel-advapi32-l1-1-0 enable_api_ms_win_downlevel_advapi32_l1_1_0
20293 wine_fn_config_makefile dlls/api-ms-win-downlevel-advapi32-l2-1-0 enable_api_ms_win_downlevel_advapi32_l2_1_0
20294 wine_fn_config_makefile dlls/api-ms-win-downlevel-kernel32-l2-1-0 enable_api_ms_win_downlevel_kernel32_l2_1_0
20295 wine_fn_config_makefile dlls/api-ms-win-downlevel-normaliz-l1-1-0 enable_api_ms_win_downlevel_normaliz_l1_1_0
20296 wine_fn_config_makefile dlls/api-ms-win-downlevel-ole32-l1-1-0 enable_api_ms_win_downlevel_ole32_l1_1_0
20297 wine_fn_config_makefile dlls/api-ms-win-downlevel-shell32-l1-1-0 enable_api_ms_win_downlevel_shell32_l1_1_0
20298 wine_fn_config_makefile dlls/api-ms-win-downlevel-shlwapi-l1-1-0 enable_api_ms_win_downlevel_shlwapi_l1_1_0
20299 wine_fn_config_makefile dlls/api-ms-win-downlevel-shlwapi-l2-1-0 enable_api_ms_win_downlevel_shlwapi_l2_1_0
20300 wine_fn_config_makefile dlls/api-ms-win-downlevel-user32-l1-1-0 enable_api_ms_win_downlevel_user32_l1_1_0
20301 wine_fn_config_makefile dlls/api-ms-win-downlevel-version-l1-1-0 enable_api_ms_win_downlevel_version_l1_1_0
20302 wine_fn_config_makefile dlls/api-ms-win-dx-d3dkmt-l1-1-0 enable_api_ms_win_dx_d3dkmt_l1_1_0
20303 wine_fn_config_makefile dlls/api-ms-win-eventing-classicprovider-l1-1-0 enable_api_ms_win_eventing_classicprovider_l1_1_0
20304 wine_fn_config_makefile dlls/api-ms-win-eventing-consumer-l1-1-0 enable_api_ms_win_eventing_consumer_l1_1_0
20305 wine_fn_config_makefile dlls/api-ms-win-eventing-controller-l1-1-0 enable_api_ms_win_eventing_controller_l1_1_0
20306 wine_fn_config_makefile dlls/api-ms-win-eventing-legacy-l1-1-0 enable_api_ms_win_eventing_legacy_l1_1_0
20307 wine_fn_config_makefile dlls/api-ms-win-eventing-provider-l1-1-0 enable_api_ms_win_eventing_provider_l1_1_0
20308 wine_fn_config_makefile dlls/api-ms-win-eventlog-legacy-l1-1-0 enable_api_ms_win_eventlog_legacy_l1_1_0
20309 wine_fn_config_makefile dlls/api-ms-win-gdi-dpiinfo-l1-1-0 enable_api_ms_win_gdi_dpiinfo_l1_1_0
20310 wine_fn_config_makefile dlls/api-ms-win-mm-joystick-l1-1-0 enable_api_ms_win_mm_joystick_l1_1_0
20311 wine_fn_config_makefile dlls/api-ms-win-mm-misc-l1-1-1 enable_api_ms_win_mm_misc_l1_1_1
20312 wine_fn_config_makefile dlls/api-ms-win-mm-mme-l1-1-0 enable_api_ms_win_mm_mme_l1_1_0
20313 wine_fn_config_makefile dlls/api-ms-win-mm-time-l1-1-0 enable_api_ms_win_mm_time_l1_1_0
20314 wine_fn_config_makefile dlls/api-ms-win-ntuser-dc-access-l1-1-0 enable_api_ms_win_ntuser_dc_access_l1_1_0
20315 wine_fn_config_makefile dlls/api-ms-win-ntuser-rectangle-l1-1-0 enable_api_ms_win_ntuser_rectangle_l1_1_0
20316 wine_fn_config_makefile dlls/api-ms-win-ntuser-sysparams-l1-1-0 enable_api_ms_win_ntuser_sysparams_l1_1_0
20317 wine_fn_config_makefile dlls/api-ms-win-perf-legacy-l1-1-0 enable_api_ms_win_perf_legacy_l1_1_0
20318 wine_fn_config_makefile dlls/api-ms-win-power-base-l1-1-0 enable_api_ms_win_power_base_l1_1_0
20319 wine_fn_config_makefile dlls/api-ms-win-power-setting-l1-1-0 enable_api_ms_win_power_setting_l1_1_0
20320 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-draw-l1-1-0 enable_api_ms_win_rtcore_ntuser_draw_l1_1_0
20321 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-private-l1-1-0 enable_api_ms_win_rtcore_ntuser_private_l1_1_0
20322 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-private-l1-1-4 enable_api_ms_win_rtcore_ntuser_private_l1_1_4
20323 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-window-l1-1-0 enable_api_ms_win_rtcore_ntuser_window_l1_1_0
20324 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-winevent-l1-1-0 enable_api_ms_win_rtcore_ntuser_winevent_l1_1_0
20325 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-wmpointer-l1-1-0 enable_api_ms_win_rtcore_ntuser_wmpointer_l1_1_0
20326 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-wmpointer-l1-1-3 enable_api_ms_win_rtcore_ntuser_wmpointer_l1_1_3
20327 wine_fn_config_makefile dlls/api-ms-win-security-activedirectoryclient-l1-1-0 enable_api_ms_win_security_activedirectoryclient_l1_1_0
20328 wine_fn_config_makefile dlls/api-ms-win-security-audit-l1-1-1 enable_api_ms_win_security_audit_l1_1_1
20329 wine_fn_config_makefile dlls/api-ms-win-security-base-l1-1-0 enable_api_ms_win_security_base_l1_1_0
20330 wine_fn_config_makefile dlls/api-ms-win-security-base-l1-2-0 enable_api_ms_win_security_base_l1_2_0
20331 wine_fn_config_makefile dlls/api-ms-win-security-base-private-l1-1-1 enable_api_ms_win_security_base_private_l1_1_1
20332 wine_fn_config_makefile dlls/api-ms-win-security-credentials-l1-1-0 enable_api_ms_win_security_credentials_l1_1_0
20333 wine_fn_config_makefile dlls/api-ms-win-security-cryptoapi-l1-1-0 enable_api_ms_win_security_cryptoapi_l1_1_0
20334 wine_fn_config_makefile dlls/api-ms-win-security-grouppolicy-l1-1-0 enable_api_ms_win_security_grouppolicy_l1_1_0
20335 wine_fn_config_makefile dlls/api-ms-win-security-lsalookup-l1-1-0 enable_api_ms_win_security_lsalookup_l1_1_0
20336 wine_fn_config_makefile dlls/api-ms-win-security-lsalookup-l1-1-1 enable_api_ms_win_security_lsalookup_l1_1_1
20337 wine_fn_config_makefile dlls/api-ms-win-security-lsalookup-l2-1-0 enable_api_ms_win_security_lsalookup_l2_1_0
20338 wine_fn_config_makefile dlls/api-ms-win-security-lsalookup-l2-1-1 enable_api_ms_win_security_lsalookup_l2_1_1
20339 wine_fn_config_makefile dlls/api-ms-win-security-lsapolicy-l1-1-0 enable_api_ms_win_security_lsapolicy_l1_1_0
20340 wine_fn_config_makefile dlls/api-ms-win-security-provider-l1-1-0 enable_api_ms_win_security_provider_l1_1_0
20341 wine_fn_config_makefile dlls/api-ms-win-security-sddl-l1-1-0 enable_api_ms_win_security_sddl_l1_1_0
20342 wine_fn_config_makefile dlls/api-ms-win-security-systemfunctions-l1-1-0 enable_api_ms_win_security_systemfunctions_l1_1_0
20343 wine_fn_config_makefile dlls/api-ms-win-service-core-l1-1-0 enable_api_ms_win_service_core_l1_1_0
20344 wine_fn_config_makefile dlls/api-ms-win-service-core-l1-1-1 enable_api_ms_win_service_core_l1_1_1
20345 wine_fn_config_makefile dlls/api-ms-win-service-management-l1-1-0 enable_api_ms_win_service_management_l1_1_0
20346 wine_fn_config_makefile dlls/api-ms-win-service-management-l2-1-0 enable_api_ms_win_service_management_l2_1_0
20347 wine_fn_config_makefile dlls/api-ms-win-service-private-l1-1-1 enable_api_ms_win_service_private_l1_1_1
20348 wine_fn_config_makefile dlls/api-ms-win-service-winsvc-l1-1-0 enable_api_ms_win_service_winsvc_l1_1_0
20349 wine_fn_config_makefile dlls/api-ms-win-service-winsvc-l1-2-0 enable_api_ms_win_service_winsvc_l1_2_0
20350 wine_fn_config_makefile dlls/api-ms-win-shcore-obsolete-l1-1-0 enable_api_ms_win_shcore_obsolete_l1_1_0
20351 wine_fn_config_makefile dlls/api-ms-win-shcore-scaling-l1-1-1 enable_api_ms_win_shcore_scaling_l1_1_1
20352 wine_fn_config_makefile dlls/api-ms-win-shcore-stream-l1-1-0 enable_api_ms_win_shcore_stream_l1_1_0
20353 wine_fn_config_makefile dlls/api-ms-win-shcore-stream-winrt-l1-1-0 enable_api_ms_win_shcore_stream_winrt_l1_1_0
20354 wine_fn_config_makefile dlls/api-ms-win-shcore-thread-l1-1-0 enable_api_ms_win_shcore_thread_l1_1_0
20355 wine_fn_config_makefile dlls/api-ms-win-shell-shellcom-l1-1-0 enable_api_ms_win_shell_shellcom_l1_1_0
20356 wine_fn_config_makefile dlls/api-ms-win-shell-shellfolders-l1-1-0 enable_api_ms_win_shell_shellfolders_l1_1_0
20357 wine_fn_config_makefile dlls/apphelp enable_apphelp
20358 wine_fn_config_makefile dlls/apphelp/tests enable_tests
20359 wine_fn_config_makefile dlls/appwiz.cpl enable_appwiz_cpl
20360 wine_fn_config_makefile dlls/atl enable_atl
20361 wine_fn_config_makefile dlls/atl/tests enable_tests
20362 wine_fn_config_makefile dlls/atl100 enable_atl100
20363 wine_fn_config_makefile dlls/atl100/tests enable_tests
20364 wine_fn_config_makefile dlls/atl110 enable_atl110
20365 wine_fn_config_makefile dlls/atl80 enable_atl80
20366 wine_fn_config_makefile dlls/atl80/tests enable_tests
20367 wine_fn_config_makefile dlls/atl90 enable_atl90
20368 wine_fn_config_makefile dlls/atlthunk enable_atlthunk
20369 wine_fn_config_makefile dlls/atlthunk/tests enable_tests
20370 wine_fn_config_makefile dlls/atmlib enable_atmlib
20371 wine_fn_config_makefile dlls/authz enable_authz
20372 wine_fn_config_makefile dlls/avicap32 enable_avicap32
20373 wine_fn_config_makefile dlls/avifil32 enable_avifil32
20374 wine_fn_config_makefile dlls/avifil32/tests enable_tests
20375 wine_fn_config_makefile dlls/avifile.dll16 enable_win16
20376 wine_fn_config_makefile dlls/avrt enable_avrt
20377 wine_fn_config_makefile dlls/bcrypt enable_bcrypt
20378 wine_fn_config_makefile dlls/bcrypt/tests enable_tests
20379 wine_fn_config_makefile dlls/bluetoothapis enable_bluetoothapis
20380 wine_fn_config_makefile dlls/browseui enable_browseui
20381 wine_fn_config_makefile dlls/browseui/tests enable_tests
20382 wine_fn_config_makefile dlls/bthprops.cpl enable_bthprops_cpl
20383 wine_fn_config_makefile dlls/cabinet enable_cabinet
20384 wine_fn_config_makefile dlls/cabinet/tests enable_tests
20385 wine_fn_config_makefile dlls/capi2032 enable_capi2032
20386 wine_fn_config_makefile dlls/cards enable_cards
20387 wine_fn_config_makefile dlls/cdosys enable_cdosys
20388 wine_fn_config_makefile dlls/cfgmgr32 enable_cfgmgr32
20389 wine_fn_config_makefile dlls/clusapi enable_clusapi
20390 wine_fn_config_makefile dlls/combase enable_combase
20391 wine_fn_config_makefile dlls/combase/tests enable_tests
20392 wine_fn_config_makefile dlls/comcat enable_comcat
20393 wine_fn_config_makefile dlls/comcat/tests enable_tests
20394 wine_fn_config_makefile dlls/comctl32 enable_comctl32
20395 wine_fn_config_makefile dlls/comctl32/tests enable_tests
20396 wine_fn_config_makefile dlls/comdlg32 enable_comdlg32
20397 wine_fn_config_makefile dlls/comdlg32/tests enable_tests
20398 wine_fn_config_makefile dlls/comm.drv16 enable_win16
20399 wine_fn_config_makefile dlls/commdlg.dll16 enable_win16
20400 wine_fn_config_makefile dlls/compobj.dll16 enable_win16
20401 wine_fn_config_makefile dlls/compstui enable_compstui
20402 wine_fn_config_makefile dlls/comsvcs enable_comsvcs
20403 wine_fn_config_makefile dlls/comsvcs/tests enable_tests
20404 wine_fn_config_makefile dlls/concrt140 enable_concrt140
20405 wine_fn_config_makefile dlls/concrt140/tests enable_tests
20406 wine_fn_config_makefile dlls/connect enable_connect
20407 wine_fn_config_makefile dlls/credui enable_credui
20408 wine_fn_config_makefile dlls/credui/tests enable_tests
20409 wine_fn_config_makefile dlls/crtdll enable_crtdll
20410 wine_fn_config_makefile dlls/crypt32 enable_crypt32
20411 wine_fn_config_makefile dlls/crypt32/tests enable_tests
20412 wine_fn_config_makefile dlls/cryptdlg enable_cryptdlg
20413 wine_fn_config_makefile dlls/cryptdll enable_cryptdll
20414 wine_fn_config_makefile dlls/cryptext enable_cryptext
20415 wine_fn_config_makefile dlls/cryptnet enable_cryptnet
20416 wine_fn_config_makefile dlls/cryptnet/tests enable_tests
20417 wine_fn_config_makefile dlls/cryptsp enable_cryptsp
20418 wine_fn_config_makefile dlls/cryptui enable_cryptui
20419 wine_fn_config_makefile dlls/cryptui/tests enable_tests
20420 wine_fn_config_makefile dlls/ctapi32 enable_ctapi32
20421 wine_fn_config_makefile dlls/ctl3d.dll16 enable_win16
20422 wine_fn_config_makefile dlls/ctl3d32 enable_ctl3d32
20423 wine_fn_config_makefile dlls/ctl3dv2.dll16 enable_win16
20424 wine_fn_config_makefile dlls/d2d1 enable_d2d1
20425 wine_fn_config_makefile dlls/d2d1/tests enable_tests
20426 wine_fn_config_makefile dlls/d3d10 enable_d3d10
20427 wine_fn_config_makefile dlls/d3d10/tests enable_tests
20428 wine_fn_config_makefile dlls/d3d10_1 enable_d3d10_1
20429 wine_fn_config_makefile dlls/d3d10_1/tests enable_tests
20430 wine_fn_config_makefile dlls/d3d10core enable_d3d10core
20431 wine_fn_config_makefile dlls/d3d10core/tests enable_tests
20432 wine_fn_config_makefile dlls/d3d11 enable_d3d11
20433 wine_fn_config_makefile dlls/d3d11/tests enable_tests
20434 wine_fn_config_makefile dlls/d3d12 enable_d3d12
20435 wine_fn_config_makefile dlls/d3d12/tests enable_tests
20436 wine_fn_config_makefile dlls/d3d8 enable_d3d8
20437 wine_fn_config_makefile dlls/d3d8/tests enable_tests
20438 wine_fn_config_makefile dlls/d3d8thk enable_d3d8thk
20439 wine_fn_config_makefile dlls/d3d9 enable_d3d9
20440 wine_fn_config_makefile dlls/d3d9/tests enable_tests
20441 wine_fn_config_makefile dlls/d3dcompiler_33 enable_d3dcompiler_33
20442 wine_fn_config_makefile dlls/d3dcompiler_34 enable_d3dcompiler_34
20443 wine_fn_config_makefile dlls/d3dcompiler_35 enable_d3dcompiler_35
20444 wine_fn_config_makefile dlls/d3dcompiler_36 enable_d3dcompiler_36
20445 wine_fn_config_makefile dlls/d3dcompiler_37 enable_d3dcompiler_37
20446 wine_fn_config_makefile dlls/d3dcompiler_38 enable_d3dcompiler_38
20447 wine_fn_config_makefile dlls/d3dcompiler_39 enable_d3dcompiler_39
20448 wine_fn_config_makefile dlls/d3dcompiler_40 enable_d3dcompiler_40
20449 wine_fn_config_makefile dlls/d3dcompiler_41 enable_d3dcompiler_41
20450 wine_fn_config_makefile dlls/d3dcompiler_42 enable_d3dcompiler_42
20451 wine_fn_config_makefile dlls/d3dcompiler_43 enable_d3dcompiler_43
20452 wine_fn_config_makefile dlls/d3dcompiler_43/tests enable_tests
20453 wine_fn_config_makefile dlls/d3dcompiler_46 enable_d3dcompiler_46
20454 wine_fn_config_makefile dlls/d3dcompiler_47 enable_d3dcompiler_47
20455 wine_fn_config_makefile dlls/d3dcompiler_47/tests enable_tests
20456 wine_fn_config_makefile dlls/d3dim enable_d3dim
20457 wine_fn_config_makefile dlls/d3dim700 enable_d3dim700
20458 wine_fn_config_makefile dlls/d3drm enable_d3drm
20459 wine_fn_config_makefile dlls/d3drm/tests enable_tests
20460 wine_fn_config_makefile dlls/d3dx10_33 enable_d3dx10_33
20461 wine_fn_config_makefile dlls/d3dx10_34 enable_d3dx10_34
20462 wine_fn_config_makefile dlls/d3dx10_35 enable_d3dx10_35
20463 wine_fn_config_makefile dlls/d3dx10_36 enable_d3dx10_36
20464 wine_fn_config_makefile dlls/d3dx10_37 enable_d3dx10_37
20465 wine_fn_config_makefile dlls/d3dx10_38 enable_d3dx10_38
20466 wine_fn_config_makefile dlls/d3dx10_39 enable_d3dx10_39
20467 wine_fn_config_makefile dlls/d3dx10_40 enable_d3dx10_40
20468 wine_fn_config_makefile dlls/d3dx10_41 enable_d3dx10_41
20469 wine_fn_config_makefile dlls/d3dx10_42 enable_d3dx10_42
20470 wine_fn_config_makefile dlls/d3dx10_43 enable_d3dx10_43
20471 wine_fn_config_makefile dlls/d3dx10_43/tests enable_tests
20472 wine_fn_config_makefile dlls/d3dx11_42 enable_d3dx11_42
20473 wine_fn_config_makefile dlls/d3dx11_43 enable_d3dx11_43
20474 wine_fn_config_makefile dlls/d3dx11_43/tests enable_tests
20475 wine_fn_config_makefile dlls/d3dx9_24 enable_d3dx9_24
20476 wine_fn_config_makefile dlls/d3dx9_25 enable_d3dx9_25
20477 wine_fn_config_makefile dlls/d3dx9_26 enable_d3dx9_26
20478 wine_fn_config_makefile dlls/d3dx9_27 enable_d3dx9_27
20479 wine_fn_config_makefile dlls/d3dx9_28 enable_d3dx9_28
20480 wine_fn_config_makefile dlls/d3dx9_29 enable_d3dx9_29
20481 wine_fn_config_makefile dlls/d3dx9_30 enable_d3dx9_30
20482 wine_fn_config_makefile dlls/d3dx9_31 enable_d3dx9_31
20483 wine_fn_config_makefile dlls/d3dx9_32 enable_d3dx9_32
20484 wine_fn_config_makefile dlls/d3dx9_33 enable_d3dx9_33
20485 wine_fn_config_makefile dlls/d3dx9_34 enable_d3dx9_34
20486 wine_fn_config_makefile dlls/d3dx9_35 enable_d3dx9_35
20487 wine_fn_config_makefile dlls/d3dx9_36 enable_d3dx9_36
20488 wine_fn_config_makefile dlls/d3dx9_36/tests enable_tests
20489 wine_fn_config_makefile dlls/d3dx9_37 enable_d3dx9_37
20490 wine_fn_config_makefile dlls/d3dx9_38 enable_d3dx9_38
20491 wine_fn_config_makefile dlls/d3dx9_39 enable_d3dx9_39
20492 wine_fn_config_makefile dlls/d3dx9_40 enable_d3dx9_40
20493 wine_fn_config_makefile dlls/d3dx9_41 enable_d3dx9_41
20494 wine_fn_config_makefile dlls/d3dx9_42 enable_d3dx9_42
20495 wine_fn_config_makefile dlls/d3dx9_43 enable_d3dx9_43
20496 wine_fn_config_makefile dlls/d3dxof enable_d3dxof
20497 wine_fn_config_makefile dlls/d3dxof/tests enable_tests
20498 wine_fn_config_makefile dlls/davclnt enable_davclnt
20499 wine_fn_config_makefile dlls/dbgeng enable_dbgeng
20500 wine_fn_config_makefile dlls/dbgeng/tests enable_tests
20501 wine_fn_config_makefile dlls/dbghelp enable_dbghelp
20502 wine_fn_config_makefile dlls/dbghelp/tests enable_tests
20503 wine_fn_config_makefile dlls/dciman32 enable_dciman32
20504 wine_fn_config_makefile dlls/dcomp enable_dcomp
20505 wine_fn_config_makefile dlls/ddeml.dll16 enable_win16
20506 wine_fn_config_makefile dlls/ddraw enable_ddraw
20507 wine_fn_config_makefile dlls/ddraw/tests enable_tests
20508 wine_fn_config_makefile dlls/ddrawex enable_ddrawex
20509 wine_fn_config_makefile dlls/ddrawex/tests enable_tests
20510 wine_fn_config_makefile dlls/devenum enable_devenum
20511 wine_fn_config_makefile dlls/devenum/tests enable_tests
20512 wine_fn_config_makefile dlls/dhcpcsvc enable_dhcpcsvc
20513 wine_fn_config_makefile dlls/dhcpcsvc/tests enable_tests
20514 wine_fn_config_makefile dlls/dhtmled.ocx enable_dhtmled_ocx
20515 wine_fn_config_makefile dlls/difxapi enable_difxapi
20516 wine_fn_config_makefile dlls/dinput enable_dinput
20517 wine_fn_config_makefile dlls/dinput/tests enable_tests
20518 wine_fn_config_makefile dlls/dinput8 enable_dinput8
20519 wine_fn_config_makefile dlls/dinput8/tests enable_tests
20520 wine_fn_config_makefile dlls/directmanipulation enable_directmanipulation
20521 wine_fn_config_makefile dlls/directmanipulation/tests enable_tests
20522 wine_fn_config_makefile dlls/dispdib.dll16 enable_win16
20523 wine_fn_config_makefile dlls/dispex enable_dispex
20524 wine_fn_config_makefile dlls/dispex/tests enable_tests
20525 wine_fn_config_makefile dlls/display.drv16 enable_win16
20526 wine_fn_config_makefile dlls/dmband enable_dmband
20527 wine_fn_config_makefile dlls/dmband/tests enable_tests
20528 wine_fn_config_makefile dlls/dmcompos enable_dmcompos
20529 wine_fn_config_makefile dlls/dmcompos/tests enable_tests
20530 wine_fn_config_makefile dlls/dmime enable_dmime
20531 wine_fn_config_makefile dlls/dmime/tests enable_tests
20532 wine_fn_config_makefile dlls/dmloader enable_dmloader
20533 wine_fn_config_makefile dlls/dmloader/tests enable_tests
20534 wine_fn_config_makefile dlls/dmoguids enable_dmoguids
20535 wine_fn_config_makefile dlls/dmscript enable_dmscript
20536 wine_fn_config_makefile dlls/dmscript/tests enable_tests
20537 wine_fn_config_makefile dlls/dmstyle enable_dmstyle
20538 wine_fn_config_makefile dlls/dmstyle/tests enable_tests
20539 wine_fn_config_makefile dlls/dmsynth enable_dmsynth
20540 wine_fn_config_makefile dlls/dmsynth/tests enable_tests
20541 wine_fn_config_makefile dlls/dmusic enable_dmusic
20542 wine_fn_config_makefile dlls/dmusic/tests enable_tests
20543 wine_fn_config_makefile dlls/dmusic32 enable_dmusic32
20544 wine_fn_config_makefile dlls/dnsapi enable_dnsapi
20545 wine_fn_config_makefile dlls/dnsapi/tests enable_tests
20546 wine_fn_config_makefile dlls/dplay enable_dplay
20547 wine_fn_config_makefile dlls/dplayx enable_dplayx
20548 wine_fn_config_makefile dlls/dplayx/tests enable_tests
20549 wine_fn_config_makefile dlls/dpnaddr enable_dpnaddr
20550 wine_fn_config_makefile dlls/dpnet enable_dpnet
20551 wine_fn_config_makefile dlls/dpnet/tests enable_tests
20552 wine_fn_config_makefile dlls/dpnhpast enable_dpnhpast
20553 wine_fn_config_makefile dlls/dpnlobby enable_dpnlobby
20554 wine_fn_config_makefile dlls/dpvoice enable_dpvoice
20555 wine_fn_config_makefile dlls/dpvoice/tests enable_tests
20556 wine_fn_config_makefile dlls/dpwsockx enable_dpwsockx
20557 wine_fn_config_makefile dlls/drmclien enable_drmclien
20558 wine_fn_config_makefile dlls/dsdmo enable_dsdmo
20559 wine_fn_config_makefile dlls/dsdmo/tests enable_tests
20560 wine_fn_config_makefile dlls/dsound enable_dsound
20561 wine_fn_config_makefile dlls/dsound/tests enable_tests
20562 wine_fn_config_makefile dlls/dsquery enable_dsquery
20563 wine_fn_config_makefile dlls/dssenh enable_dssenh
20564 wine_fn_config_makefile dlls/dssenh/tests enable_tests
20565 wine_fn_config_makefile dlls/dsuiext enable_dsuiext
20566 wine_fn_config_makefile dlls/dswave enable_dswave
20567 wine_fn_config_makefile dlls/dswave/tests enable_tests
20568 wine_fn_config_makefile dlls/dwmapi enable_dwmapi
20569 wine_fn_config_makefile dlls/dwmapi/tests enable_tests
20570 wine_fn_config_makefile dlls/dwrite enable_dwrite
20571 wine_fn_config_makefile dlls/dwrite/tests enable_tests
20572 wine_fn_config_makefile dlls/dx8vb enable_dx8vb
20573 wine_fn_config_makefile dlls/dxdiagn enable_dxdiagn
20574 wine_fn_config_makefile dlls/dxdiagn/tests enable_tests
20575 wine_fn_config_makefile dlls/dxerr8 enable_dxerr8
20576 wine_fn_config_makefile dlls/dxerr9 enable_dxerr9
20577 wine_fn_config_makefile dlls/dxgi enable_dxgi
20578 wine_fn_config_makefile dlls/dxgi/tests enable_tests
20579 wine_fn_config_makefile dlls/dxguid enable_dxguid
20580 wine_fn_config_makefile dlls/dxva2 enable_dxva2
20581 wine_fn_config_makefile dlls/dxva2/tests enable_tests
20582 wine_fn_config_makefile dlls/esent enable_esent
20583 wine_fn_config_makefile dlls/evr enable_evr
20584 wine_fn_config_makefile dlls/evr/tests enable_tests
20585 wine_fn_config_makefile dlls/explorerframe enable_explorerframe
20586 wine_fn_config_makefile dlls/explorerframe/tests enable_tests
20587 wine_fn_config_makefile dlls/ext-ms-win-authz-context-l1-1-0 enable_ext_ms_win_authz_context_l1_1_0
20588 wine_fn_config_makefile dlls/ext-ms-win-domainjoin-netjoin-l1-1-0 enable_ext_ms_win_domainjoin_netjoin_l1_1_0
20589 wine_fn_config_makefile dlls/ext-ms-win-dwmapi-ext-l1-1-0 enable_ext_ms_win_dwmapi_ext_l1_1_0
20590 wine_fn_config_makefile dlls/ext-ms-win-gdi-dc-create-l1-1-0 enable_ext_ms_win_gdi_dc_create_l1_1_0
20591 wine_fn_config_makefile dlls/ext-ms-win-gdi-dc-create-l1-1-1 enable_ext_ms_win_gdi_dc_create_l1_1_1
20592 wine_fn_config_makefile dlls/ext-ms-win-gdi-dc-l1-2-0 enable_ext_ms_win_gdi_dc_l1_2_0
20593 wine_fn_config_makefile dlls/ext-ms-win-gdi-devcaps-l1-1-0 enable_ext_ms_win_gdi_devcaps_l1_1_0
20594 wine_fn_config_makefile dlls/ext-ms-win-gdi-draw-l1-1-0 enable_ext_ms_win_gdi_draw_l1_1_0
20595 wine_fn_config_makefile dlls/ext-ms-win-gdi-draw-l1-1-1 enable_ext_ms_win_gdi_draw_l1_1_1
20596 wine_fn_config_makefile dlls/ext-ms-win-gdi-font-l1-1-0 enable_ext_ms_win_gdi_font_l1_1_0
20597 wine_fn_config_makefile dlls/ext-ms-win-gdi-font-l1-1-1 enable_ext_ms_win_gdi_font_l1_1_1
20598 wine_fn_config_makefile dlls/ext-ms-win-gdi-render-l1-1-0 enable_ext_ms_win_gdi_render_l1_1_0
20599 wine_fn_config_makefile dlls/ext-ms-win-kernel32-package-current-l1-1-0 enable_ext_ms_win_kernel32_package_current_l1_1_0
20600 wine_fn_config_makefile dlls/ext-ms-win-kernel32-package-l1-1-1 enable_ext_ms_win_kernel32_package_l1_1_1
20601 wine_fn_config_makefile dlls/ext-ms-win-ntuser-dialogbox-l1-1-0 enable_ext_ms_win_ntuser_dialogbox_l1_1_0
20602 wine_fn_config_makefile dlls/ext-ms-win-ntuser-draw-l1-1-0 enable_ext_ms_win_ntuser_draw_l1_1_0
20603 wine_fn_config_makefile dlls/ext-ms-win-ntuser-gui-l1-1-0 enable_ext_ms_win_ntuser_gui_l1_1_0
20604 wine_fn_config_makefile dlls/ext-ms-win-ntuser-gui-l1-3-0 enable_ext_ms_win_ntuser_gui_l1_3_0
20605 wine_fn_config_makefile dlls/ext-ms-win-ntuser-keyboard-l1-3-0 enable_ext_ms_win_ntuser_keyboard_l1_3_0
20606 wine_fn_config_makefile dlls/ext-ms-win-ntuser-message-l1-1-0 enable_ext_ms_win_ntuser_message_l1_1_0
20607 wine_fn_config_makefile dlls/ext-ms-win-ntuser-message-l1-1-1 enable_ext_ms_win_ntuser_message_l1_1_1
20608 wine_fn_config_makefile dlls/ext-ms-win-ntuser-misc-l1-1-0 enable_ext_ms_win_ntuser_misc_l1_1_0
20609 wine_fn_config_makefile dlls/ext-ms-win-ntuser-misc-l1-2-0 enable_ext_ms_win_ntuser_misc_l1_2_0
20610 wine_fn_config_makefile dlls/ext-ms-win-ntuser-misc-l1-5-1 enable_ext_ms_win_ntuser_misc_l1_5_1
20611 wine_fn_config_makefile dlls/ext-ms-win-ntuser-mouse-l1-1-0 enable_ext_ms_win_ntuser_mouse_l1_1_0
20612 wine_fn_config_makefile dlls/ext-ms-win-ntuser-private-l1-1-1 enable_ext_ms_win_ntuser_private_l1_1_1
20613 wine_fn_config_makefile dlls/ext-ms-win-ntuser-private-l1-3-1 enable_ext_ms_win_ntuser_private_l1_3_1
20614 wine_fn_config_makefile dlls/ext-ms-win-ntuser-rectangle-ext-l1-1-0 enable_ext_ms_win_ntuser_rectangle_ext_l1_1_0
20615 wine_fn_config_makefile dlls/ext-ms-win-ntuser-uicontext-ext-l1-1-0 enable_ext_ms_win_ntuser_uicontext_ext_l1_1_0
20616 wine_fn_config_makefile dlls/ext-ms-win-ntuser-window-l1-1-0 enable_ext_ms_win_ntuser_window_l1_1_0
20617 wine_fn_config_makefile dlls/ext-ms-win-ntuser-window-l1-1-1 enable_ext_ms_win_ntuser_window_l1_1_1
20618 wine_fn_config_makefile dlls/ext-ms-win-ntuser-window-l1-1-4 enable_ext_ms_win_ntuser_window_l1_1_4
20619 wine_fn_config_makefile dlls/ext-ms-win-ntuser-windowclass-l1-1-0 enable_ext_ms_win_ntuser_windowclass_l1_1_0
20620 wine_fn_config_makefile dlls/ext-ms-win-ntuser-windowclass-l1-1-1 enable_ext_ms_win_ntuser_windowclass_l1_1_1
20621 wine_fn_config_makefile dlls/ext-ms-win-oleacc-l1-1-0 enable_ext_ms_win_oleacc_l1_1_0
20622 wine_fn_config_makefile dlls/ext-ms-win-ras-rasapi32-l1-1-0 enable_ext_ms_win_ras_rasapi32_l1_1_0
20623 wine_fn_config_makefile dlls/ext-ms-win-rtcore-gdi-devcaps-l1-1-0 enable_ext_ms_win_rtcore_gdi_devcaps_l1_1_0
20624 wine_fn_config_makefile dlls/ext-ms-win-rtcore-gdi-object-l1-1-0 enable_ext_ms_win_rtcore_gdi_object_l1_1_0
20625 wine_fn_config_makefile dlls/ext-ms-win-rtcore-gdi-rgn-l1-1-0 enable_ext_ms_win_rtcore_gdi_rgn_l1_1_0
20626 wine_fn_config_makefile dlls/ext-ms-win-rtcore-ntuser-cursor-l1-1-0 enable_ext_ms_win_rtcore_ntuser_cursor_l1_1_0
20627 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
20628 wine_fn_config_makefile dlls/ext-ms-win-rtcore-ntuser-dpi-l1-1-0 enable_ext_ms_win_rtcore_ntuser_dpi_l1_1_0
20629 wine_fn_config_makefile dlls/ext-ms-win-rtcore-ntuser-dpi-l1-2-0 enable_ext_ms_win_rtcore_ntuser_dpi_l1_2_0
20630 wine_fn_config_makefile dlls/ext-ms-win-rtcore-ntuser-rawinput-l1-1-0 enable_ext_ms_win_rtcore_ntuser_rawinput_l1_1_0
20631 wine_fn_config_makefile dlls/ext-ms-win-rtcore-ntuser-syscolors-l1-1-0 enable_ext_ms_win_rtcore_ntuser_syscolors_l1_1_0
20632 wine_fn_config_makefile dlls/ext-ms-win-rtcore-ntuser-sysparams-l1-1-0 enable_ext_ms_win_rtcore_ntuser_sysparams_l1_1_0
20633 wine_fn_config_makefile dlls/ext-ms-win-security-credui-l1-1-0 enable_ext_ms_win_security_credui_l1_1_0
20634 wine_fn_config_makefile dlls/ext-ms-win-security-cryptui-l1-1-0 enable_ext_ms_win_security_cryptui_l1_1_0
20635 wine_fn_config_makefile dlls/ext-ms-win-shell-comctl32-init-l1-1-0 enable_ext_ms_win_shell_comctl32_init_l1_1_0
20636 wine_fn_config_makefile dlls/ext-ms-win-shell-comdlg32-l1-1-0 enable_ext_ms_win_shell_comdlg32_l1_1_0
20637 wine_fn_config_makefile dlls/ext-ms-win-shell-shell32-l1-2-0 enable_ext_ms_win_shell_shell32_l1_2_0
20638 wine_fn_config_makefile dlls/ext-ms-win-uxtheme-themes-l1-1-0 enable_ext_ms_win_uxtheme_themes_l1_1_0
20639 wine_fn_config_makefile dlls/faultrep enable_faultrep
20640 wine_fn_config_makefile dlls/faultrep/tests enable_tests
20641 wine_fn_config_makefile dlls/feclient enable_feclient
20642 wine_fn_config_makefile dlls/fltlib enable_fltlib
20643 wine_fn_config_makefile dlls/fltmgr.sys enable_fltmgr_sys
20644 wine_fn_config_makefile dlls/fntcache enable_fntcache
20645 wine_fn_config_makefile dlls/fontsub enable_fontsub
20646 wine_fn_config_makefile dlls/fusion enable_fusion
20647 wine_fn_config_makefile dlls/fusion/tests enable_tests
20648 wine_fn_config_makefile dlls/fwpuclnt enable_fwpuclnt
20649 wine_fn_config_makefile dlls/gameux enable_gameux
20650 wine_fn_config_makefile dlls/gameux/tests enable_tests
20651 wine_fn_config_makefile dlls/gdi.exe16 enable_win16
20652 wine_fn_config_makefile dlls/gdi32 enable_gdi32
20653 wine_fn_config_makefile dlls/gdi32/tests enable_tests
20654 wine_fn_config_makefile dlls/gdiplus enable_gdiplus
20655 wine_fn_config_makefile dlls/gdiplus/tests enable_tests
20656 wine_fn_config_makefile dlls/glu32 enable_glu32
20657 wine_fn_config_makefile dlls/gphoto2.ds enable_gphoto2_ds
20658 wine_fn_config_makefile dlls/gpkcsp enable_gpkcsp
20659 wine_fn_config_makefile dlls/hal enable_hal
20660 wine_fn_config_makefile dlls/hhctrl.ocx enable_hhctrl_ocx
20661 wine_fn_config_makefile dlls/hid enable_hid
20662 wine_fn_config_makefile dlls/hid/tests enable_tests
20663 wine_fn_config_makefile dlls/hidclass.sys enable_hidclass_sys
20664 wine_fn_config_makefile dlls/hlink enable_hlink
20665 wine_fn_config_makefile dlls/hlink/tests enable_tests
20666 wine_fn_config_makefile dlls/hnetcfg enable_hnetcfg
20667 wine_fn_config_makefile dlls/hnetcfg/tests enable_tests
20668 wine_fn_config_makefile dlls/http.sys enable_http_sys
20669 wine_fn_config_makefile dlls/httpapi enable_httpapi
20670 wine_fn_config_makefile dlls/httpapi/tests enable_tests
20671 wine_fn_config_makefile dlls/iccvid enable_iccvid
20672 wine_fn_config_makefile dlls/icmp enable_icmp
20673 wine_fn_config_makefile dlls/ieframe enable_ieframe
20674 wine_fn_config_makefile dlls/ieframe/tests enable_tests
20675 wine_fn_config_makefile dlls/ieproxy enable_ieproxy
20676 wine_fn_config_makefile dlls/ifsmgr.vxd enable_win16
20677 wine_fn_config_makefile dlls/imaadp32.acm enable_imaadp32_acm
20678 wine_fn_config_makefile dlls/imagehlp enable_imagehlp
20679 wine_fn_config_makefile dlls/imagehlp/tests enable_tests
20680 wine_fn_config_makefile dlls/imm.dll16 enable_win16
20681 wine_fn_config_makefile dlls/imm32 enable_imm32
20682 wine_fn_config_makefile dlls/imm32/tests enable_tests
20683 wine_fn_config_makefile dlls/inetcomm enable_inetcomm
20684 wine_fn_config_makefile dlls/inetcomm/tests enable_tests
20685 wine_fn_config_makefile dlls/inetcpl.cpl enable_inetcpl_cpl
20686 wine_fn_config_makefile dlls/inetmib1 enable_inetmib1
20687 wine_fn_config_makefile dlls/inetmib1/tests enable_tests
20688 wine_fn_config_makefile dlls/infosoft enable_infosoft
20689 wine_fn_config_makefile dlls/infosoft/tests enable_tests
20690 wine_fn_config_makefile dlls/initpki enable_initpki
20691 wine_fn_config_makefile dlls/inkobj enable_inkobj
20692 wine_fn_config_makefile dlls/inseng enable_inseng
20693 wine_fn_config_makefile dlls/iphlpapi enable_iphlpapi
20694 wine_fn_config_makefile dlls/iphlpapi/tests enable_tests
20695 wine_fn_config_makefile dlls/iprop enable_iprop
20696 wine_fn_config_makefile dlls/irprops.cpl enable_irprops_cpl
20697 wine_fn_config_makefile dlls/itircl enable_itircl
20698 wine_fn_config_makefile dlls/itss enable_itss
20699 wine_fn_config_makefile dlls/itss/tests enable_tests
20700 wine_fn_config_makefile dlls/joy.cpl enable_joy_cpl
20701 wine_fn_config_makefile dlls/jscript enable_jscript
20702 wine_fn_config_makefile dlls/jscript/tests enable_tests
20703 wine_fn_config_makefile dlls/jsproxy enable_jsproxy
20704 wine_fn_config_makefile dlls/jsproxy/tests enable_tests
20705 wine_fn_config_makefile dlls/kerberos enable_kerberos
20706 wine_fn_config_makefile dlls/kernel32 enable_kernel32
20707 wine_fn_config_makefile dlls/kernel32/tests enable_tests
20708 wine_fn_config_makefile dlls/kernelbase enable_kernelbase
20709 wine_fn_config_makefile dlls/kernelbase/tests enable_tests
20710 wine_fn_config_makefile dlls/keyboard.drv16 enable_win16
20711 wine_fn_config_makefile dlls/krnl386.exe16 enable_win16
20712 wine_fn_config_makefile dlls/ksecdd.sys enable_ksecdd_sys
20713 wine_fn_config_makefile dlls/ksproxy.ax enable_ksproxy_ax
20714 wine_fn_config_makefile dlls/ksuser enable_ksuser
20715 wine_fn_config_makefile dlls/ktmw32 enable_ktmw32
20716 wine_fn_config_makefile dlls/l3codeca.acm enable_l3codeca_acm
20717 wine_fn_config_makefile dlls/loadperf enable_loadperf
20718 wine_fn_config_makefile dlls/localspl enable_localspl
20719 wine_fn_config_makefile dlls/localspl/tests enable_tests
20720 wine_fn_config_makefile dlls/localui enable_localui
20721 wine_fn_config_makefile dlls/localui/tests enable_tests
20722 wine_fn_config_makefile dlls/lz32 enable_lz32
20723 wine_fn_config_makefile dlls/lz32/tests enable_tests
20724 wine_fn_config_makefile dlls/lzexpand.dll16 enable_win16
20725 wine_fn_config_makefile dlls/mapi32 enable_mapi32
20726 wine_fn_config_makefile dlls/mapi32/tests enable_tests
20727 wine_fn_config_makefile dlls/mapistub enable_mapistub
20728 wine_fn_config_makefile dlls/mciavi32 enable_mciavi32
20729 wine_fn_config_makefile dlls/mcicda enable_mcicda
20730 wine_fn_config_makefile dlls/mciqtz32 enable_mciqtz32
20731 wine_fn_config_makefile dlls/mciseq enable_mciseq
20732 wine_fn_config_makefile dlls/mciwave enable_mciwave
20733 wine_fn_config_makefile dlls/mf enable_mf
20734 wine_fn_config_makefile dlls/mf/tests enable_tests
20735 wine_fn_config_makefile dlls/mf3216 enable_mf3216
20736 wine_fn_config_makefile dlls/mferror enable_mferror
20737 wine_fn_config_makefile dlls/mfmediaengine enable_mfmediaengine
20738 wine_fn_config_makefile dlls/mfmediaengine/tests enable_tests
20739 wine_fn_config_makefile dlls/mfplat enable_mfplat
20740 wine_fn_config_makefile dlls/mfplat/tests enable_tests
20741 wine_fn_config_makefile dlls/mfplay enable_mfplay
20742 wine_fn_config_makefile dlls/mfreadwrite enable_mfreadwrite
20743 wine_fn_config_makefile dlls/mfreadwrite/tests enable_tests
20744 wine_fn_config_makefile dlls/mfuuid enable_mfuuid
20745 wine_fn_config_makefile dlls/mgmtapi enable_mgmtapi
20746 wine_fn_config_makefile dlls/midimap enable_midimap
20747 wine_fn_config_makefile dlls/mlang enable_mlang
20748 wine_fn_config_makefile dlls/mlang/tests enable_tests
20749 wine_fn_config_makefile dlls/mmcndmgr enable_mmcndmgr
20750 wine_fn_config_makefile dlls/mmcndmgr/tests enable_tests
20751 wine_fn_config_makefile dlls/mmdevapi enable_mmdevapi
20752 wine_fn_config_makefile dlls/mmdevapi/tests enable_tests
20753 wine_fn_config_makefile dlls/mmdevldr.vxd enable_win16
20754 wine_fn_config_makefile dlls/mmsystem.dll16 enable_win16
20755 wine_fn_config_makefile dlls/monodebg.vxd enable_win16
20756 wine_fn_config_makefile dlls/mountmgr.sys enable_mountmgr_sys
20757 wine_fn_config_makefile dlls/mouse.drv16 enable_win16
20758 wine_fn_config_makefile dlls/mp3dmod enable_mp3dmod
20759 wine_fn_config_makefile dlls/mp3dmod/tests enable_tests
20760 wine_fn_config_makefile dlls/mpr enable_mpr
20761 wine_fn_config_makefile dlls/mpr/tests enable_tests
20762 wine_fn_config_makefile dlls/mprapi enable_mprapi
20763 wine_fn_config_makefile dlls/msacm.dll16 enable_win16
20764 wine_fn_config_makefile dlls/msacm32.drv enable_msacm32_drv
20765 wine_fn_config_makefile dlls/msacm32 enable_msacm32
20766 wine_fn_config_makefile dlls/msacm32/tests enable_tests
20767 wine_fn_config_makefile dlls/msado15 enable_msado15
20768 wine_fn_config_makefile dlls/msado15/tests enable_tests
20769 wine_fn_config_makefile dlls/msadp32.acm enable_msadp32_acm
20770 wine_fn_config_makefile dlls/msasn1 enable_msasn1
20771 wine_fn_config_makefile dlls/msasn1/tests enable_tests
20772 wine_fn_config_makefile dlls/mscat32 enable_mscat32
20773 wine_fn_config_makefile dlls/mscms enable_mscms
20774 wine_fn_config_makefile dlls/mscms/tests enable_tests
20775 wine_fn_config_makefile dlls/mscoree enable_mscoree
20776 wine_fn_config_makefile dlls/mscoree/tests enable_tests
20777 wine_fn_config_makefile dlls/mscorwks enable_mscorwks
20778 wine_fn_config_makefile dlls/msctf enable_msctf
20779 wine_fn_config_makefile dlls/msctf/tests enable_tests
20780 wine_fn_config_makefile dlls/msctfp enable_msctfp
20781 wine_fn_config_makefile dlls/msdaps enable_msdaps
20782 wine_fn_config_makefile dlls/msdelta enable_msdelta
20783 wine_fn_config_makefile dlls/msdmo enable_msdmo
20784 wine_fn_config_makefile dlls/msdmo/tests enable_tests
20785 wine_fn_config_makefile dlls/msdrm enable_msdrm
20786 wine_fn_config_makefile dlls/msftedit enable_msftedit
20787 wine_fn_config_makefile dlls/msftedit/tests enable_tests
20788 wine_fn_config_makefile dlls/msg711.acm enable_msg711_acm
20789 wine_fn_config_makefile dlls/msgsm32.acm enable_msgsm32_acm
20790 wine_fn_config_makefile dlls/mshtml.tlb enable_mshtml_tlb
20791 wine_fn_config_makefile dlls/mshtml enable_mshtml
20792 wine_fn_config_makefile dlls/mshtml/tests enable_tests
20793 wine_fn_config_makefile dlls/msi enable_msi
20794 wine_fn_config_makefile dlls/msi/tests enable_tests
20795 wine_fn_config_makefile dlls/msident enable_msident
20796 wine_fn_config_makefile dlls/msimg32 enable_msimg32
20797 wine_fn_config_makefile dlls/msimsg enable_msimsg
20798 wine_fn_config_makefile dlls/msimtf enable_msimtf
20799 wine_fn_config_makefile dlls/msisip enable_msisip
20800 wine_fn_config_makefile dlls/msisys.ocx enable_msisys_ocx
20801 wine_fn_config_makefile dlls/msls31 enable_msls31
20802 wine_fn_config_makefile dlls/msnet32 enable_msnet32
20803 wine_fn_config_makefile dlls/mspatcha enable_mspatcha
20804 wine_fn_config_makefile dlls/mspatcha/tests enable_tests
20805 wine_fn_config_makefile dlls/msports enable_msports
20806 wine_fn_config_makefile dlls/msrle32 enable_msrle32
20807 wine_fn_config_makefile dlls/msrle32/tests enable_tests
20808 wine_fn_config_makefile dlls/msscript.ocx enable_msscript_ocx
20809 wine_fn_config_makefile dlls/msscript.ocx/tests enable_tests
20810 wine_fn_config_makefile dlls/mssign32 enable_mssign32
20811 wine_fn_config_makefile dlls/mssip32 enable_mssip32
20812 wine_fn_config_makefile dlls/mstask enable_mstask
20813 wine_fn_config_makefile dlls/mstask/tests enable_tests
20814 wine_fn_config_makefile dlls/msvcirt enable_msvcirt
20815 wine_fn_config_makefile dlls/msvcirt/tests enable_tests
20816 wine_fn_config_makefile dlls/msvcm80 enable_msvcm80
20817 wine_fn_config_makefile dlls/msvcm90 enable_msvcm90
20818 wine_fn_config_makefile dlls/msvcp100 enable_msvcp100
20819 wine_fn_config_makefile dlls/msvcp100/tests enable_tests
20820 wine_fn_config_makefile dlls/msvcp110 enable_msvcp110
20821 wine_fn_config_makefile dlls/msvcp110/tests enable_tests
20822 wine_fn_config_makefile dlls/msvcp120 enable_msvcp120
20823 wine_fn_config_makefile dlls/msvcp120/tests enable_tests
20824 wine_fn_config_makefile dlls/msvcp120_app enable_msvcp120_app
20825 wine_fn_config_makefile dlls/msvcp140 enable_msvcp140
20826 wine_fn_config_makefile dlls/msvcp140/tests enable_tests
20827 wine_fn_config_makefile dlls/msvcp140_1 enable_msvcp140_1
20828 wine_fn_config_makefile dlls/msvcp60 enable_msvcp60
20829 wine_fn_config_makefile dlls/msvcp60/tests enable_tests
20830 wine_fn_config_makefile dlls/msvcp70 enable_msvcp70
20831 wine_fn_config_makefile dlls/msvcp71 enable_msvcp71
20832 wine_fn_config_makefile dlls/msvcp80 enable_msvcp80
20833 wine_fn_config_makefile dlls/msvcp90 enable_msvcp90
20834 wine_fn_config_makefile dlls/msvcp90/tests enable_tests
20835 wine_fn_config_makefile dlls/msvcr100 enable_msvcr100
20836 wine_fn_config_makefile dlls/msvcr100/tests enable_tests
20837 wine_fn_config_makefile dlls/msvcr110 enable_msvcr110
20838 wine_fn_config_makefile dlls/msvcr110/tests enable_tests
20839 wine_fn_config_makefile dlls/msvcr120 enable_msvcr120
20840 wine_fn_config_makefile dlls/msvcr120/tests enable_tests
20841 wine_fn_config_makefile dlls/msvcr120_app enable_msvcr120_app
20842 wine_fn_config_makefile dlls/msvcr70 enable_msvcr70
20843 wine_fn_config_makefile dlls/msvcr71 enable_msvcr71
20844 wine_fn_config_makefile dlls/msvcr80 enable_msvcr80
20845 wine_fn_config_makefile dlls/msvcr90 enable_msvcr90
20846 wine_fn_config_makefile dlls/msvcr90/tests enable_tests
20847 wine_fn_config_makefile dlls/msvcrt enable_msvcrt
20848 wine_fn_config_makefile dlls/msvcrt/tests enable_tests
20849 wine_fn_config_makefile dlls/msvcrt20 enable_msvcrt20
20850 wine_fn_config_makefile dlls/msvcrt40 enable_msvcrt40
20851 wine_fn_config_makefile dlls/msvcrtd enable_msvcrtd
20852 wine_fn_config_makefile dlls/msvcrtd/tests enable_tests
20853 wine_fn_config_makefile dlls/msvfw32 enable_msvfw32
20854 wine_fn_config_makefile dlls/msvfw32/tests enable_tests
20855 wine_fn_config_makefile dlls/msvidc32 enable_msvidc32
20856 wine_fn_config_makefile dlls/msvideo.dll16 enable_win16
20857 wine_fn_config_makefile dlls/mswsock enable_mswsock
20858 wine_fn_config_makefile dlls/msxml enable_msxml
20859 wine_fn_config_makefile dlls/msxml2 enable_msxml2
20860 wine_fn_config_makefile dlls/msxml3 enable_msxml3
20861 wine_fn_config_makefile dlls/msxml3/tests enable_tests
20862 wine_fn_config_makefile dlls/msxml4 enable_msxml4
20863 wine_fn_config_makefile dlls/msxml6 enable_msxml6
20864 wine_fn_config_makefile dlls/mtxdm enable_mtxdm
20865 wine_fn_config_makefile dlls/ncrypt enable_ncrypt
20866 wine_fn_config_makefile dlls/nddeapi enable_nddeapi
20867 wine_fn_config_makefile dlls/ndis.sys enable_ndis_sys
20868 wine_fn_config_makefile dlls/ndis.sys/tests enable_tests
20869 wine_fn_config_makefile dlls/netapi32 enable_netapi32
20870 wine_fn_config_makefile dlls/netapi32/tests enable_tests
20871 wine_fn_config_makefile dlls/netcfgx enable_netcfgx
20872 wine_fn_config_makefile dlls/netcfgx/tests enable_tests
20873 wine_fn_config_makefile dlls/netio.sys enable_netio_sys
20874 wine_fn_config_makefile dlls/netprofm enable_netprofm
20875 wine_fn_config_makefile dlls/netprofm/tests enable_tests
20876 wine_fn_config_makefile dlls/netutils enable_netutils
20877 wine_fn_config_makefile dlls/newdev enable_newdev
20878 wine_fn_config_makefile dlls/ninput enable_ninput
20879 wine_fn_config_makefile dlls/ninput/tests enable_tests
20880 wine_fn_config_makefile dlls/normaliz enable_normaliz
20881 wine_fn_config_makefile dlls/npmshtml enable_npmshtml
20882 wine_fn_config_makefile dlls/npptools enable_npptools
20883 wine_fn_config_makefile dlls/ntdll enable_ntdll
20884 wine_fn_config_makefile dlls/ntdll/tests enable_tests
20885 wine_fn_config_makefile dlls/ntdsapi enable_ntdsapi
20886 wine_fn_config_makefile dlls/ntdsapi/tests enable_tests
20887 wine_fn_config_makefile dlls/ntoskrnl.exe enable_ntoskrnl_exe
20888 wine_fn_config_makefile dlls/ntoskrnl.exe/tests enable_tests
20889 wine_fn_config_makefile dlls/ntprint enable_ntprint
20890 wine_fn_config_makefile dlls/ntprint/tests enable_tests
20891 wine_fn_config_makefile dlls/objsel enable_objsel
20892 wine_fn_config_makefile dlls/odbc32 enable_odbc32
20893 wine_fn_config_makefile dlls/odbcbcp enable_odbcbcp
20894 wine_fn_config_makefile dlls/odbccp32 enable_odbccp32
20895 wine_fn_config_makefile dlls/odbccp32/tests enable_tests
20896 wine_fn_config_makefile dlls/odbccu32 enable_odbccu32
20897 wine_fn_config_makefile dlls/ole2.dll16 enable_win16
20898 wine_fn_config_makefile dlls/ole2conv.dll16 enable_win16
20899 wine_fn_config_makefile dlls/ole2disp.dll16 enable_win16
20900 wine_fn_config_makefile dlls/ole2nls.dll16 enable_win16
20901 wine_fn_config_makefile dlls/ole2prox.dll16 enable_win16
20902 wine_fn_config_makefile dlls/ole2thk.dll16 enable_win16
20903 wine_fn_config_makefile dlls/ole32 enable_ole32
20904 wine_fn_config_makefile dlls/ole32/tests enable_tests
20905 wine_fn_config_makefile dlls/oleacc enable_oleacc
20906 wine_fn_config_makefile dlls/oleacc/tests enable_tests
20907 wine_fn_config_makefile dlls/oleaut32 enable_oleaut32
20908 wine_fn_config_makefile dlls/oleaut32/tests enable_tests
20909 wine_fn_config_makefile dlls/olecli.dll16 enable_win16
20910 wine_fn_config_makefile dlls/olecli32 enable_olecli32
20911 wine_fn_config_makefile dlls/oledb32 enable_oledb32
20912 wine_fn_config_makefile dlls/oledb32/tests enable_tests
20913 wine_fn_config_makefile dlls/oledlg enable_oledlg
20914 wine_fn_config_makefile dlls/oledlg/tests enable_tests
20915 wine_fn_config_makefile dlls/olepro32 enable_olepro32
20916 wine_fn_config_makefile dlls/olesvr.dll16 enable_win16
20917 wine_fn_config_makefile dlls/olesvr32 enable_olesvr32
20918 wine_fn_config_makefile dlls/olethk32 enable_olethk32
20919 wine_fn_config_makefile dlls/opcservices enable_opcservices
20920 wine_fn_config_makefile dlls/opcservices/tests enable_tests
20921 wine_fn_config_makefile dlls/openal32 enable_openal32
20922 wine_fn_config_makefile dlls/opencl enable_opencl
20923 wine_fn_config_makefile dlls/opengl32 enable_opengl32
20924 wine_fn_config_makefile dlls/opengl32/tests enable_tests
20925 wine_fn_config_makefile dlls/packager enable_packager
20926 wine_fn_config_makefile dlls/packager/tests enable_tests
20927 wine_fn_config_makefile dlls/pdh enable_pdh
20928 wine_fn_config_makefile dlls/pdh/tests enable_tests
20929 wine_fn_config_makefile dlls/photometadatahandler enable_photometadatahandler
20930 wine_fn_config_makefile dlls/pidgen enable_pidgen
20931 wine_fn_config_makefile dlls/powrprof enable_powrprof
20932 wine_fn_config_makefile dlls/printui enable_printui
20933 wine_fn_config_makefile dlls/prntvpt enable_prntvpt
20934 wine_fn_config_makefile dlls/prntvpt/tests enable_tests
20935 wine_fn_config_makefile dlls/propsys enable_propsys
20936 wine_fn_config_makefile dlls/propsys/tests enable_tests
20937 wine_fn_config_makefile dlls/psapi enable_psapi
20938 wine_fn_config_makefile dlls/psapi/tests enable_tests
20939 wine_fn_config_makefile dlls/pstorec enable_pstorec
20940 wine_fn_config_makefile dlls/pstorec/tests enable_tests
20941 wine_fn_config_makefile dlls/pwrshplugin enable_pwrshplugin
20942 wine_fn_config_makefile dlls/qasf enable_qasf
20943 wine_fn_config_makefile dlls/qasf/tests enable_tests
20944 wine_fn_config_makefile dlls/qcap enable_qcap
20945 wine_fn_config_makefile dlls/qcap/tests enable_tests
20946 wine_fn_config_makefile dlls/qdvd enable_qdvd
20947 wine_fn_config_makefile dlls/qdvd/tests enable_tests
20948 wine_fn_config_makefile dlls/qedit enable_qedit
20949 wine_fn_config_makefile dlls/qedit/tests enable_tests
20950 wine_fn_config_makefile dlls/qmgr enable_qmgr
20951 wine_fn_config_makefile dlls/qmgr/tests enable_tests
20952 wine_fn_config_makefile dlls/qmgrprxy enable_qmgrprxy
20953 wine_fn_config_makefile dlls/quartz enable_quartz
20954 wine_fn_config_makefile dlls/quartz/tests enable_tests
20955 wine_fn_config_makefile dlls/query enable_query
20956 wine_fn_config_makefile dlls/qwave enable_qwave
20957 wine_fn_config_makefile dlls/qwave/tests enable_tests
20958 wine_fn_config_makefile dlls/rasapi16.dll16 enable_win16
20959 wine_fn_config_makefile dlls/rasapi32 enable_rasapi32
20960 wine_fn_config_makefile dlls/rasapi32/tests enable_tests
20961 wine_fn_config_makefile dlls/rasdlg enable_rasdlg
20962 wine_fn_config_makefile dlls/regapi enable_regapi
20963 wine_fn_config_makefile dlls/resutils enable_resutils
20964 wine_fn_config_makefile dlls/riched20 enable_riched20
20965 wine_fn_config_makefile dlls/riched20/tests enable_tests
20966 wine_fn_config_makefile dlls/riched32 enable_riched32
20967 wine_fn_config_makefile dlls/riched32/tests enable_tests
20968 wine_fn_config_makefile dlls/rpcrt4 enable_rpcrt4
20969 wine_fn_config_makefile dlls/rpcrt4/tests enable_tests
20970 wine_fn_config_makefile dlls/rsabase enable_rsabase
20971 wine_fn_config_makefile dlls/rsaenh enable_rsaenh
20972 wine_fn_config_makefile dlls/rsaenh/tests enable_tests
20973 wine_fn_config_makefile dlls/rstrtmgr enable_rstrtmgr
20974 wine_fn_config_makefile dlls/rtutils enable_rtutils
20975 wine_fn_config_makefile dlls/rtworkq enable_rtworkq
20976 wine_fn_config_makefile dlls/rtworkq/tests enable_tests
20977 wine_fn_config_makefile dlls/samlib enable_samlib
20978 wine_fn_config_makefile dlls/sane.ds enable_sane_ds
20979 wine_fn_config_makefile dlls/sapi enable_sapi
20980 wine_fn_config_makefile dlls/sapi/tests enable_tests
20981 wine_fn_config_makefile dlls/sas enable_sas
20982 wine_fn_config_makefile dlls/scarddlg enable_scarddlg
20983 wine_fn_config_makefile dlls/sccbase enable_sccbase
20984 wine_fn_config_makefile dlls/schannel enable_schannel
20985 wine_fn_config_makefile dlls/schannel/tests enable_tests
20986 wine_fn_config_makefile dlls/schedsvc enable_schedsvc
20987 wine_fn_config_makefile dlls/schedsvc/tests enable_tests
20988 wine_fn_config_makefile dlls/scrobj enable_scrobj
20989 wine_fn_config_makefile dlls/scrobj/tests enable_tests
20990 wine_fn_config_makefile dlls/scrrun enable_scrrun
20991 wine_fn_config_makefile dlls/scrrun/tests enable_tests
20992 wine_fn_config_makefile dlls/scsiport.sys enable_scsiport_sys
20993 wine_fn_config_makefile dlls/sechost enable_sechost
20994 wine_fn_config_makefile dlls/secur32 enable_secur32
20995 wine_fn_config_makefile dlls/secur32/tests enable_tests
20996 wine_fn_config_makefile dlls/security enable_security
20997 wine_fn_config_makefile dlls/sensapi enable_sensapi
20998 wine_fn_config_makefile dlls/serialui enable_serialui
20999 wine_fn_config_makefile dlls/serialui/tests enable_tests
21000 wine_fn_config_makefile dlls/setupapi enable_setupapi
21001 wine_fn_config_makefile dlls/setupapi/tests enable_tests
21002 wine_fn_config_makefile dlls/setupx.dll16 enable_win16
21003 wine_fn_config_makefile dlls/sfc enable_sfc
21004 wine_fn_config_makefile dlls/sfc_os enable_sfc_os
21005 wine_fn_config_makefile dlls/shcore enable_shcore
21006 wine_fn_config_makefile dlls/shcore/tests enable_tests
21007 wine_fn_config_makefile dlls/shdoclc enable_shdoclc
21008 wine_fn_config_makefile dlls/shdocvw enable_shdocvw
21009 wine_fn_config_makefile dlls/shdocvw/tests enable_tests
21010 wine_fn_config_makefile dlls/shell.dll16 enable_win16
21011 wine_fn_config_makefile dlls/shell32 enable_shell32
21012 wine_fn_config_makefile dlls/shell32/tests enable_tests
21013 wine_fn_config_makefile dlls/shfolder enable_shfolder
21014 wine_fn_config_makefile dlls/shlwapi enable_shlwapi
21015 wine_fn_config_makefile dlls/shlwapi/tests enable_tests
21016 wine_fn_config_makefile dlls/slbcsp enable_slbcsp
21017 wine_fn_config_makefile dlls/slc enable_slc
21018 wine_fn_config_makefile dlls/slc/tests enable_tests
21019 wine_fn_config_makefile dlls/snmpapi enable_snmpapi
21020 wine_fn_config_makefile dlls/snmpapi/tests enable_tests
21021 wine_fn_config_makefile dlls/softpub enable_softpub
21022 wine_fn_config_makefile dlls/sound.drv16 enable_win16
21023 wine_fn_config_makefile dlls/spoolss enable_spoolss
21024 wine_fn_config_makefile dlls/spoolss/tests enable_tests
21025 wine_fn_config_makefile dlls/srclient enable_srclient
21026 wine_fn_config_makefile dlls/srvcli enable_srvcli
21027 wine_fn_config_makefile dlls/sspicli enable_sspicli
21028 wine_fn_config_makefile dlls/stdole2.tlb enable_stdole2_tlb
21029 wine_fn_config_makefile dlls/stdole32.tlb enable_stdole32_tlb
21030 wine_fn_config_makefile dlls/sti enable_sti
21031 wine_fn_config_makefile dlls/sti/tests enable_tests
21032 wine_fn_config_makefile dlls/storage.dll16 enable_win16
21033 wine_fn_config_makefile dlls/stress.dll16 enable_win16
21034 wine_fn_config_makefile dlls/strmbase enable_strmbase
21035 wine_fn_config_makefile dlls/strmdll enable_strmdll
21036 wine_fn_config_makefile dlls/strmiids enable_strmiids
21037 wine_fn_config_makefile dlls/svrapi enable_svrapi
21038 wine_fn_config_makefile dlls/sxs enable_sxs
21039 wine_fn_config_makefile dlls/sxs/tests enable_tests
21040 wine_fn_config_makefile dlls/system.drv16 enable_win16
21041 wine_fn_config_makefile dlls/t2embed enable_t2embed
21042 wine_fn_config_makefile dlls/t2embed/tests enable_tests
21043 wine_fn_config_makefile dlls/tapi32 enable_tapi32
21044 wine_fn_config_makefile dlls/tapi32/tests enable_tests
21045 wine_fn_config_makefile dlls/taskschd enable_taskschd
21046 wine_fn_config_makefile dlls/taskschd/tests enable_tests
21047 wine_fn_config_makefile dlls/tdh enable_tdh
21048 wine_fn_config_makefile dlls/tdi.sys enable_tdi_sys
21049 wine_fn_config_makefile dlls/toolhelp.dll16 enable_win16
21050 wine_fn_config_makefile dlls/traffic enable_traffic
21051 wine_fn_config_makefile dlls/twain.dll16 enable_win16
21052 wine_fn_config_makefile dlls/twain_32 enable_twain_32
21053 wine_fn_config_makefile dlls/twain_32/tests enable_tests
21054 wine_fn_config_makefile dlls/typelib.dll16 enable_win16
21055 wine_fn_config_makefile dlls/tzres enable_tzres
21056 wine_fn_config_makefile dlls/ucrtbase enable_ucrtbase
21057 wine_fn_config_makefile dlls/ucrtbase/tests enable_tests
21058 wine_fn_config_makefile dlls/uianimation enable_uianimation
21059 wine_fn_config_makefile dlls/uianimation/tests enable_tests
21060 wine_fn_config_makefile dlls/uiautomationcore enable_uiautomationcore
21061 wine_fn_config_makefile dlls/uiautomationcore/tests enable_tests
21062 wine_fn_config_makefile dlls/uiribbon enable_uiribbon
21063 wine_fn_config_makefile dlls/unicows enable_unicows
21064 wine_fn_config_makefile dlls/updspapi enable_updspapi
21065 wine_fn_config_makefile dlls/url enable_url
21066 wine_fn_config_makefile dlls/urlmon enable_urlmon
21067 wine_fn_config_makefile dlls/urlmon/tests enable_tests
21068 wine_fn_config_makefile dlls/usbd.sys enable_usbd_sys
21069 wine_fn_config_makefile dlls/user.exe16 enable_win16
21070 wine_fn_config_makefile dlls/user32 enable_user32
21071 wine_fn_config_makefile dlls/user32/tests enable_tests
21072 wine_fn_config_makefile dlls/userenv enable_userenv
21073 wine_fn_config_makefile dlls/userenv/tests enable_tests
21074 wine_fn_config_makefile dlls/usp10 enable_usp10
21075 wine_fn_config_makefile dlls/usp10/tests enable_tests
21076 wine_fn_config_makefile dlls/utildll enable_utildll
21077 wine_fn_config_makefile dlls/uuid enable_uuid
21078 wine_fn_config_makefile dlls/uxtheme enable_uxtheme
21079 wine_fn_config_makefile dlls/uxtheme/tests enable_tests
21080 wine_fn_config_makefile dlls/vbscript enable_vbscript
21081 wine_fn_config_makefile dlls/vbscript/tests enable_tests
21082 wine_fn_config_makefile dlls/vcomp enable_vcomp
21083 wine_fn_config_makefile dlls/vcomp/tests enable_tests
21084 wine_fn_config_makefile dlls/vcomp100 enable_vcomp100
21085 wine_fn_config_makefile dlls/vcomp110 enable_vcomp110
21086 wine_fn_config_makefile dlls/vcomp110/tests enable_tests
21087 wine_fn_config_makefile dlls/vcomp120 enable_vcomp120
21088 wine_fn_config_makefile dlls/vcomp140 enable_vcomp140
21089 wine_fn_config_makefile dlls/vcomp90 enable_vcomp90
21090 wine_fn_config_makefile dlls/vcruntime140 enable_vcruntime140
21091 wine_fn_config_makefile dlls/vcruntime140_1 enable_vcruntime140_1
21092 wine_fn_config_makefile dlls/vdhcp.vxd enable_win16
21093 wine_fn_config_makefile dlls/vdmdbg enable_vdmdbg
21094 wine_fn_config_makefile dlls/ver.dll16 enable_win16
21095 wine_fn_config_makefile dlls/version enable_version
21096 wine_fn_config_makefile dlls/version/tests enable_tests
21097 wine_fn_config_makefile dlls/vga enable_vga
21098 wine_fn_config_makefile dlls/virtdisk enable_virtdisk
21099 wine_fn_config_makefile dlls/virtdisk/tests enable_tests
21100 wine_fn_config_makefile dlls/vmm.vxd enable_win16
21101 wine_fn_config_makefile dlls/vnbt.vxd enable_win16
21102 wine_fn_config_makefile dlls/vnetbios.vxd enable_win16
21103 wine_fn_config_makefile dlls/vssapi enable_vssapi
21104 wine_fn_config_makefile dlls/vtdapi.vxd enable_win16
21105 wine_fn_config_makefile dlls/vulkan-1 enable_vulkan_1
21106 wine_fn_config_makefile dlls/vulkan-1/tests enable_tests
21107 wine_fn_config_makefile dlls/vwin32.vxd enable_win16
21108 wine_fn_config_makefile dlls/w32skrnl enable_win16
21109 wine_fn_config_makefile dlls/w32sys.dll16 enable_win16
21110 wine_fn_config_makefile dlls/wbemdisp enable_wbemdisp
21111 wine_fn_config_makefile dlls/wbemdisp/tests enable_tests
21112 wine_fn_config_makefile dlls/wbemprox enable_wbemprox
21113 wine_fn_config_makefile dlls/wbemprox/tests enable_tests
21114 wine_fn_config_makefile dlls/wbemuuid enable_wbemuuid
21115 wine_fn_config_makefile dlls/wdscore enable_wdscore
21116 wine_fn_config_makefile dlls/webservices enable_webservices
21117 wine_fn_config_makefile dlls/webservices/tests enable_tests
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.speech enable_windows_media_speech
21135 wine_fn_config_makefile dlls/windows.media.speech/tests enable_tests
21136 wine_fn_config_makefile dlls/windowscodecs enable_windowscodecs
21137 wine_fn_config_makefile dlls/windowscodecs/tests enable_tests
21138 wine_fn_config_makefile dlls/windowscodecsext enable_windowscodecsext
21139 wine_fn_config_makefile dlls/windowscodecsext/tests enable_tests
21140 wine_fn_config_makefile dlls/winealsa.drv enable_winealsa_drv
21141 wine_fn_config_makefile dlls/wineandroid.drv enable_wineandroid_drv
21142 wine_fn_config_makefile dlls/winebus.sys enable_winebus_sys
21143 wine_fn_config_makefile dlls/winecoreaudio.drv enable_winecoreaudio_drv
21144 wine_fn_config_makefile dlls/winecrt0 enable_winecrt0
21145 wine_fn_config_makefile dlls/wined3d enable_wined3d
21146 wine_fn_config_makefile dlls/winegstreamer enable_winegstreamer
21147 wine_fn_config_makefile dlls/winehid.sys enable_winehid_sys
21148 wine_fn_config_makefile dlls/winejoystick.drv enable_winejoystick_drv
21149 wine_fn_config_makefile dlls/winemac.drv enable_winemac_drv
21150 wine_fn_config_makefile dlls/winemapi enable_winemapi
21151 wine_fn_config_makefile dlls/wineoss.drv enable_wineoss_drv
21152 wine_fn_config_makefile dlls/wineps.drv enable_wineps_drv
21153 wine_fn_config_makefile dlls/wineps16.drv16 enable_win16
21154 wine_fn_config_makefile dlls/winepulse.drv enable_winepulse_drv
21155 wine_fn_config_makefile dlls/wineqtdecoder enable_wineqtdecoder
21156 wine_fn_config_makefile dlls/wineusb.sys enable_wineusb_sys
21157 wine_fn_config_makefile dlls/winevulkan enable_winevulkan
21158 wine_fn_config_makefile dlls/winex11.drv enable_winex11_drv
21159 wine_fn_config_makefile dlls/wing.dll16 enable_win16
21160 wine_fn_config_makefile dlls/wing32 enable_wing32
21161 wine_fn_config_makefile dlls/winhttp enable_winhttp
21162 wine_fn_config_makefile dlls/winhttp/tests enable_tests
21163 wine_fn_config_makefile dlls/wininet enable_wininet
21164 wine_fn_config_makefile dlls/wininet/tests enable_tests
21165 wine_fn_config_makefile dlls/winmm enable_winmm
21166 wine_fn_config_makefile dlls/winmm/tests enable_tests
21167 wine_fn_config_makefile dlls/winnls.dll16 enable_win16
21168 wine_fn_config_makefile dlls/winnls32 enable_winnls32
21169 wine_fn_config_makefile dlls/winscard enable_winscard
21170 wine_fn_config_makefile dlls/winsock.dll16 enable_win16
21171 wine_fn_config_makefile dlls/winspool.drv enable_winspool_drv
21172 wine_fn_config_makefile dlls/winspool.drv/tests enable_tests
21173 wine_fn_config_makefile dlls/winsta enable_winsta
21174 wine_fn_config_makefile dlls/wintab.dll16 enable_win16
21175 wine_fn_config_makefile dlls/wintab32 enable_wintab32
21176 wine_fn_config_makefile dlls/wintab32/tests enable_tests
21177 wine_fn_config_makefile dlls/wintrust enable_wintrust
21178 wine_fn_config_makefile dlls/wintrust/tests enable_tests
21179 wine_fn_config_makefile dlls/winusb enable_winusb
21180 wine_fn_config_makefile dlls/wlanapi enable_wlanapi
21181 wine_fn_config_makefile dlls/wlanapi/tests enable_tests
21182 wine_fn_config_makefile dlls/wlanui enable_wlanui
21183 wine_fn_config_makefile dlls/wldap32 enable_wldap32
21184 wine_fn_config_makefile dlls/wldap32/tests enable_tests
21185 wine_fn_config_makefile dlls/wmasf enable_wmasf
21186 wine_fn_config_makefile dlls/wmcodecdspuuid enable_wmcodecdspuuid
21187 wine_fn_config_makefile dlls/wmi enable_wmi
21188 wine_fn_config_makefile dlls/wmiutils enable_wmiutils
21189 wine_fn_config_makefile dlls/wmiutils/tests enable_tests
21190 wine_fn_config_makefile dlls/wmp enable_wmp
21191 wine_fn_config_makefile dlls/wmp/tests enable_tests
21192 wine_fn_config_makefile dlls/wmphoto enable_wmphoto
21193 wine_fn_config_makefile dlls/wmvcore enable_wmvcore
21194 wine_fn_config_makefile dlls/wmvcore/tests enable_tests
21195 wine_fn_config_makefile dlls/wnaspi32 enable_wnaspi32
21196 wine_fn_config_makefile dlls/wow32 enable_win16
21197 wine_fn_config_makefile dlls/wow64cpu enable_wow64cpu
21198 wine_fn_config_makefile dlls/wpc enable_wpc
21199 wine_fn_config_makefile dlls/wpc/tests enable_tests
21200 wine_fn_config_makefile dlls/wpcap enable_wpcap
21201 wine_fn_config_makefile dlls/ws2_32 enable_ws2_32
21202 wine_fn_config_makefile dlls/ws2_32/tests enable_tests
21203 wine_fn_config_makefile dlls/wsdapi enable_wsdapi
21204 wine_fn_config_makefile dlls/wsdapi/tests enable_tests
21205 wine_fn_config_makefile dlls/wshom.ocx enable_wshom_ocx
21206 wine_fn_config_makefile dlls/wshom.ocx/tests enable_tests
21207 wine_fn_config_makefile dlls/wsnmp32 enable_wsnmp32
21208 wine_fn_config_makefile dlls/wsnmp32/tests enable_tests
21209 wine_fn_config_makefile dlls/wsock32 enable_wsock32
21210 wine_fn_config_makefile dlls/wtsapi32 enable_wtsapi32
21211 wine_fn_config_makefile dlls/wtsapi32/tests enable_tests
21212 wine_fn_config_makefile dlls/wuapi enable_wuapi
21213 wine_fn_config_makefile dlls/wuaueng enable_wuaueng
21214 wine_fn_config_makefile dlls/x3daudio1_0 enable_x3daudio1_0
21215 wine_fn_config_makefile dlls/x3daudio1_1 enable_x3daudio1_1
21216 wine_fn_config_makefile dlls/x3daudio1_2 enable_x3daudio1_2
21217 wine_fn_config_makefile dlls/x3daudio1_3 enable_x3daudio1_3
21218 wine_fn_config_makefile dlls/x3daudio1_4 enable_x3daudio1_4
21219 wine_fn_config_makefile dlls/x3daudio1_5 enable_x3daudio1_5
21220 wine_fn_config_makefile dlls/x3daudio1_6 enable_x3daudio1_6
21221 wine_fn_config_makefile dlls/x3daudio1_7 enable_x3daudio1_7
21222 wine_fn_config_makefile dlls/xactengine3_0 enable_xactengine3_0
21223 wine_fn_config_makefile dlls/xactengine3_1 enable_xactengine3_1
21224 wine_fn_config_makefile dlls/xactengine3_2 enable_xactengine3_2
21225 wine_fn_config_makefile dlls/xactengine3_3 enable_xactengine3_3
21226 wine_fn_config_makefile dlls/xactengine3_4 enable_xactengine3_4
21227 wine_fn_config_makefile dlls/xactengine3_5 enable_xactengine3_5
21228 wine_fn_config_makefile dlls/xactengine3_6 enable_xactengine3_6
21229 wine_fn_config_makefile dlls/xactengine3_7 enable_xactengine3_7
21230 wine_fn_config_makefile dlls/xactengine3_7/tests enable_tests
21231 wine_fn_config_makefile dlls/xapofx1_1 enable_xapofx1_1
21232 wine_fn_config_makefile dlls/xapofx1_2 enable_xapofx1_2
21233 wine_fn_config_makefile dlls/xapofx1_3 enable_xapofx1_3
21234 wine_fn_config_makefile dlls/xapofx1_4 enable_xapofx1_4
21235 wine_fn_config_makefile dlls/xapofx1_5 enable_xapofx1_5
21236 wine_fn_config_makefile dlls/xaudio2_0 enable_xaudio2_0
21237 wine_fn_config_makefile dlls/xaudio2_1 enable_xaudio2_1
21238 wine_fn_config_makefile dlls/xaudio2_2 enable_xaudio2_2
21239 wine_fn_config_makefile dlls/xaudio2_3 enable_xaudio2_3
21240 wine_fn_config_makefile dlls/xaudio2_4 enable_xaudio2_4
21241 wine_fn_config_makefile dlls/xaudio2_5 enable_xaudio2_5
21242 wine_fn_config_makefile dlls/xaudio2_6 enable_xaudio2_6
21243 wine_fn_config_makefile dlls/xaudio2_7 enable_xaudio2_7
21244 wine_fn_config_makefile dlls/xaudio2_7/tests enable_tests
21245 wine_fn_config_makefile dlls/xaudio2_8 enable_xaudio2_8
21246 wine_fn_config_makefile dlls/xaudio2_9 enable_xaudio2_9
21247 wine_fn_config_makefile dlls/xinput1_1 enable_xinput1_1
21248 wine_fn_config_makefile dlls/xinput1_2 enable_xinput1_2
21249 wine_fn_config_makefile dlls/xinput1_3 enable_xinput1_3
21250 wine_fn_config_makefile dlls/xinput1_3/tests enable_tests
21251 wine_fn_config_makefile dlls/xinput1_4 enable_xinput1_4
21252 wine_fn_config_makefile dlls/xinput9_1_0 enable_xinput9_1_0
21253 wine_fn_config_makefile dlls/xmllite enable_xmllite
21254 wine_fn_config_makefile dlls/xmllite/tests enable_tests
21255 wine_fn_config_makefile dlls/xolehlp enable_xolehlp
21256 wine_fn_config_makefile dlls/xpsprint enable_xpsprint
21257 wine_fn_config_makefile dlls/xpssvcs enable_xpssvcs
21258 wine_fn_config_makefile fonts enable_fonts
21259 wine_fn_config_makefile include enable_include
21260 wine_fn_config_makefile libs/port enable_port
21261 wine_fn_config_makefile libs/wine enable_wine
21262 wine_fn_config_makefile libs/wpp enable_wpp
21263 wine_fn_config_makefile loader enable_loader
21264 wine_fn_config_makefile nls enable_nls
21265 wine_fn_config_makefile po enable_po
21266 wine_fn_config_makefile programs/arp enable_arp
21267 wine_fn_config_makefile programs/aspnet_regiis enable_aspnet_regiis
21268 wine_fn_config_makefile programs/attrib enable_attrib
21269 wine_fn_config_makefile programs/cabarc enable_cabarc
21270 wine_fn_config_makefile programs/cacls enable_cacls
21271 wine_fn_config_makefile programs/chcp.com enable_chcp_com
21272 wine_fn_config_makefile programs/clock enable_clock
21273 wine_fn_config_makefile programs/cmd enable_cmd
21274 wine_fn_config_makefile programs/cmd/tests enable_tests
21275 wine_fn_config_makefile programs/conhost enable_conhost
21276 wine_fn_config_makefile programs/conhost/tests enable_tests
21277 wine_fn_config_makefile programs/control enable_control
21278 wine_fn_config_makefile programs/cscript enable_cscript
21279 wine_fn_config_makefile programs/dism enable_dism
21280 wine_fn_config_makefile programs/dplaysvr enable_dplaysvr
21281 wine_fn_config_makefile programs/dpnsvr enable_dpnsvr
21282 wine_fn_config_makefile programs/dpvsetup enable_dpvsetup
21283 wine_fn_config_makefile programs/dxdiag enable_dxdiag
21284 wine_fn_config_makefile programs/eject enable_eject
21285 wine_fn_config_makefile programs/expand enable_expand
21286 wine_fn_config_makefile programs/explorer enable_explorer
21287 wine_fn_config_makefile programs/extrac32 enable_extrac32
21288 wine_fn_config_makefile programs/fc enable_fc
21289 wine_fn_config_makefile programs/find enable_find
21290 wine_fn_config_makefile programs/find/tests enable_tests
21291 wine_fn_config_makefile programs/findstr enable_findstr
21292 wine_fn_config_makefile programs/fsutil enable_fsutil
21293 wine_fn_config_makefile programs/fsutil/tests enable_tests
21294 wine_fn_config_makefile programs/hh enable_hh
21295 wine_fn_config_makefile programs/hostname enable_hostname
21296 wine_fn_config_makefile programs/icacls enable_icacls
21297 wine_fn_config_makefile programs/icinfo enable_icinfo
21298 wine_fn_config_makefile programs/iexplore enable_iexplore
21299 wine_fn_config_makefile programs/ipconfig enable_ipconfig
21300 wine_fn_config_makefile programs/lodctr enable_lodctr
21301 wine_fn_config_makefile programs/mofcomp enable_mofcomp
21302 wine_fn_config_makefile programs/mshta enable_mshta
21303 wine_fn_config_makefile programs/msidb enable_msidb
21304 wine_fn_config_makefile programs/msiexec enable_msiexec
21305 wine_fn_config_makefile programs/msinfo32 enable_msinfo32
21306 wine_fn_config_makefile programs/net enable_net
21307 wine_fn_config_makefile programs/netsh enable_netsh
21308 wine_fn_config_makefile programs/netstat enable_netstat
21309 wine_fn_config_makefile programs/ngen enable_ngen
21310 wine_fn_config_makefile programs/notepad enable_notepad
21311 wine_fn_config_makefile programs/oleview enable_oleview
21312 wine_fn_config_makefile programs/ping enable_ping
21313 wine_fn_config_makefile programs/plugplay enable_plugplay
21314 wine_fn_config_makefile programs/powershell enable_powershell
21315 wine_fn_config_makefile programs/presentationfontcache enable_presentationfontcache
21316 wine_fn_config_makefile programs/progman enable_progman
21317 wine_fn_config_makefile programs/reg enable_reg
21318 wine_fn_config_makefile programs/reg/tests enable_tests
21319 wine_fn_config_makefile programs/regasm enable_regasm
21320 wine_fn_config_makefile programs/regedit enable_regedit
21321 wine_fn_config_makefile programs/regedit/tests enable_tests
21322 wine_fn_config_makefile programs/regini enable_regini
21323 wine_fn_config_makefile programs/regsvcs enable_regsvcs
21324 wine_fn_config_makefile programs/regsvr32 enable_regsvr32
21325 wine_fn_config_makefile programs/rpcss enable_rpcss
21326 wine_fn_config_makefile programs/rundll.exe16 enable_win16
21327 wine_fn_config_makefile programs/rundll32 enable_rundll32
21328 wine_fn_config_makefile programs/sc enable_sc
21329 wine_fn_config_makefile programs/schtasks enable_schtasks
21330 wine_fn_config_makefile programs/schtasks/tests enable_tests
21331 wine_fn_config_makefile programs/sdbinst enable_sdbinst
21332 wine_fn_config_makefile programs/secedit enable_secedit
21333 wine_fn_config_makefile programs/servicemodelreg enable_servicemodelreg
21334 wine_fn_config_makefile programs/services enable_services
21335 wine_fn_config_makefile programs/services/tests enable_tests
21336 wine_fn_config_makefile programs/shutdown enable_shutdown
21337 wine_fn_config_makefile programs/spoolsv enable_spoolsv
21338 wine_fn_config_makefile programs/start enable_start
21339 wine_fn_config_makefile programs/subst enable_subst
21340 wine_fn_config_makefile programs/svchost enable_svchost
21341 wine_fn_config_makefile programs/systeminfo enable_systeminfo
21342 wine_fn_config_makefile programs/taskkill enable_taskkill
21343 wine_fn_config_makefile programs/tasklist enable_tasklist
21344 wine_fn_config_makefile programs/taskmgr enable_taskmgr
21345 wine_fn_config_makefile programs/termsv enable_termsv
21346 wine_fn_config_makefile programs/uninstaller enable_uninstaller
21347 wine_fn_config_makefile programs/unlodctr enable_unlodctr
21348 wine_fn_config_makefile programs/view enable_view
21349 wine_fn_config_makefile programs/wevtutil enable_wevtutil
21350 wine_fn_config_makefile programs/where enable_where
21351 wine_fn_config_makefile programs/whoami enable_whoami
21352 wine_fn_config_makefile programs/wineboot enable_wineboot
21353 wine_fn_config_makefile programs/winebrowser enable_winebrowser
21354 wine_fn_config_makefile programs/winecfg enable_winecfg
21355 wine_fn_config_makefile programs/wineconsole enable_wineconsole
21356 wine_fn_config_makefile programs/winedbg enable_winedbg
21357 wine_fn_config_makefile programs/winedevice enable_winedevice
21358 wine_fn_config_makefile programs/winefile enable_winefile
21359 wine_fn_config_makefile programs/winemenubuilder enable_winemenubuilder
21360 wine_fn_config_makefile programs/winemine enable_winemine
21361 wine_fn_config_makefile programs/winemsibuilder enable_winemsibuilder
21362 wine_fn_config_makefile programs/winepath enable_winepath
21363 wine_fn_config_makefile programs/winetest enable_winetest
21364 wine_fn_config_makefile programs/winevdm enable_win16
21365 wine_fn_config_makefile programs/winhelp.exe16 enable_win16
21366 wine_fn_config_makefile programs/winhlp32 enable_winhlp32
21367 wine_fn_config_makefile programs/winmgmt enable_winmgmt
21368 wine_fn_config_makefile programs/winoldap.mod16 enable_win16
21369 wine_fn_config_makefile programs/winver enable_winver
21370 wine_fn_config_makefile programs/wmic enable_wmic
21371 wine_fn_config_makefile programs/wmplayer enable_wmplayer
21372 wine_fn_config_makefile programs/wordpad enable_wordpad
21373 wine_fn_config_makefile programs/write enable_write
21374 wine_fn_config_makefile programs/wscript enable_wscript
21375 wine_fn_config_makefile programs/wscript/tests enable_tests
21376 wine_fn_config_makefile programs/wuauserv enable_wuauserv
21377 wine_fn_config_makefile programs/wusa enable_wusa
21378 wine_fn_config_makefile programs/xcopy enable_xcopy
21379 wine_fn_config_makefile programs/xcopy/tests enable_tests
21380 wine_fn_config_makefile server enable_server
21381 test "x$enable_tools" = xno || wine_fn_config_makefile tools enable_tools
21382 test "x$enable_tools" = xno || wine_fn_config_makefile tools/sfnt2fon enable_sfnt2fon
21383 test "x$enable_tools" = xno || wine_fn_config_makefile tools/widl enable_widl
21384 test "x$enable_tools" = xno || wine_fn_config_makefile tools/winebuild enable_winebuild
21385 test "x$enable_tools" = xno || wine_fn_config_makefile tools/winedump enable_winedump
21386 test "x$enable_tools" = xno || wine_fn_config_makefile tools/winegcc enable_winegcc
21387 test "x$enable_tools" = xno || wine_fn_config_makefile tools/winemaker enable_winemaker
21388 test "x$enable_tools" = xno || wine_fn_config_makefile tools/wmc enable_wmc
21389 test "x$enable_tools" = xno || wine_fn_config_makefile tools/wrc enable_wrc
21392 wine_fn_append_file CONFIGURE_TARGETS "TAGS"
21393 wine_fn_append_file CONFIGURE_TARGETS "tags"
21394 wine_fn_append_file CONFIGURE_TARGETS "autom4te.cache"
21395 wine_fn_append_file CONFIGURE_TARGETS "config.log"
21396 wine_fn_append_file CONFIGURE_TARGETS "config.status"
21397 wine_fn_append_file CONFIGURE_TARGETS "include/config.h"
21398 wine_fn_append_file CONFIGURE_TARGETS "include/stamp-h"
21399 test "$wine_binary" = wine || wine_fn_append_file CONFIGURE_TARGETS "loader/wine"
21401 if test "x$enable_tools" != xno
21402 then
21403 wine_fn_append_file CONFIGURE_TARGETS "tools/makedep$ac_exeext"
21404 ac_config_commands="$ac_config_commands tools/makedep"
21408 ac_config_commands="$ac_config_commands Makefile"
21411 ac_config_files="$ac_config_files Make.tmp:Makefile.in"
21415 if test "x$enable_maintainer_mode" = xyes
21416 then
21417 wine_fn_append_rule "configure: configure.ac aclocal.m4
21418 autoconf --warnings=all
21419 include/config.h.in: include/stamp-h.in
21420 include/stamp-h.in: configure.ac aclocal.m4
21421 autoheader --warnings=all
21422 @echo timestamp > \$@"
21425 if test "x$enable_tools" != xno
21426 then
21427 wine_fn_append_rule "tools/makedep$ac_exeext: $srcdir/tools/makedep.c include/config.h config.status
21428 @./config.status tools/makedep
21429 Makefile: tools/makedep$ac_exeext"
21430 else
21431 wine_fn_append_rule "\$(MAKEDEP):
21432 @echo \"You need to run make in $TOOLSDIR first\" && false"
21435 if test -n "$with_wine64"
21436 then
21437 case "$with_wine64" in
21438 /*) reldir="" ;;
21439 *) reldir="../" ;;
21440 esac
21441 rm -f fonts server 2>/dev/null
21442 wine_fn_append_rule "all: loader/wine64 loader/wine64-preloader $with_wine64/loader/wine $with_wine64/loader/wine-preloader
21443 loader/wine64 loader/wine64-preloader:
21444 rm -f \$@ && \$(LN_S) $reldir$with_wine64/\$@ \$@
21445 $with_wine64/loader/wine:
21446 rm -f \$@ && \$(LN_S) $ac_pwd/loader/wine \$@
21447 $with_wine64/loader/wine-preloader:
21448 rm -f \$@ && \$(LN_S) $ac_pwd/loader/wine-preloader \$@
21449 clean::
21450 rm -f loader/wine64 loader/wine64-preloader $with_wine64/loader/wine $with_wine64/loader/wine-preloader"
21451 else
21452 TOP_INSTALL_DEV="$TOP_INSTALL_DEV include"
21453 TOP_INSTALL_LIB="$TOP_INSTALL_LIB \
21454 fonts \
21455 loader/wine.inf \
21456 nls \
21457 programs/msidb/msidb \
21458 programs/msiexec/msiexec \
21459 programs/notepad/notepad \
21460 programs/regedit/regedit \
21461 programs/regsvr32/regsvr32 \
21462 programs/wineboot/wineboot \
21463 programs/winecfg/winecfg \
21464 programs/wineconsole/wineconsole \
21465 programs/winedbg/winedbg \
21466 programs/winefile/winefile \
21467 programs/winemine/winemine \
21468 programs/winepath/winepath \
21469 server/wineserver"
21471 case $host_os in
21472 cygwin*|mingw32*|darwin*|macosx*|linux-android*) ;;
21473 *) TOP_INSTALL_LIB="$TOP_INSTALL_LIB loader/wine.desktop" ;;
21474 esac
21477 $as_echo " done" >&6
21478 cat >confcache <<\_ACEOF
21479 # This file is a shell script that caches the results of configure
21480 # tests run on this system so they can be shared between configure
21481 # scripts and configure runs, see configure's option --config-cache.
21482 # It is not useful on other systems. If it contains results you don't
21483 # want to keep, you may remove or edit it.
21485 # config.status only pays attention to the cache file if you give it
21486 # the --recheck option to rerun configure.
21488 # `ac_cv_env_foo' variables (set or unset) will be overridden when
21489 # loading this file, other *unset* `ac_cv_foo' will be assigned the
21490 # following values.
21492 _ACEOF
21494 # The following way of writing the cache mishandles newlines in values,
21495 # but we know of no workaround that is simple, portable, and efficient.
21496 # So, we kill variables containing newlines.
21497 # Ultrix sh set writes to stderr and can't be redirected directly,
21498 # and sets the high bit in the cache file unless we assign to the vars.
21500 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
21501 eval ac_val=\$$ac_var
21502 case $ac_val in #(
21503 *${as_nl}*)
21504 case $ac_var in #(
21505 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
21506 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
21507 esac
21508 case $ac_var in #(
21509 _ | IFS | as_nl) ;; #(
21510 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
21511 *) { eval $ac_var=; unset $ac_var;} ;;
21512 esac ;;
21513 esac
21514 done
21516 (set) 2>&1 |
21517 case $as_nl`(ac_space=' '; set) 2>&1` in #(
21518 *${as_nl}ac_space=\ *)
21519 # `set' does not quote correctly, so add quotes: double-quote
21520 # substitution turns \\\\ into \\, and sed turns \\ into \.
21521 sed -n \
21522 "s/'/'\\\\''/g;
21523 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
21524 ;; #(
21526 # `set' quotes correctly as required by POSIX, so do not add quotes.
21527 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
21529 esac |
21530 sort
21532 sed '
21533 /^ac_cv_env_/b end
21534 t clear
21535 :clear
21536 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
21537 t end
21538 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
21539 :end' >>confcache
21540 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
21541 if test -w "$cache_file"; then
21542 if test "x$cache_file" != "x/dev/null"; then
21543 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
21544 $as_echo "$as_me: updating cache $cache_file" >&6;}
21545 if test ! -f "$cache_file" || test -h "$cache_file"; then
21546 cat confcache >"$cache_file"
21547 else
21548 case $cache_file in #(
21549 */* | ?:*)
21550 mv -f confcache "$cache_file"$$ &&
21551 mv -f "$cache_file"$$ "$cache_file" ;; #(
21553 mv -f confcache "$cache_file" ;;
21554 esac
21557 else
21558 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
21559 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
21562 rm -f confcache
21564 test "x$prefix" = xNONE && prefix=$ac_default_prefix
21565 # Let make expand exec_prefix.
21566 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
21568 DEFS=-DHAVE_CONFIG_H
21570 ac_libobjs=
21571 ac_ltlibobjs=
21573 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
21574 # 1. Remove the extension, and $U if already installed.
21575 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
21576 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
21577 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
21578 # will be set to the directory where LIBOBJS objects are built.
21579 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
21580 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
21581 done
21582 LIBOBJS=$ac_libobjs
21584 LTLIBOBJS=$ac_ltlibobjs
21588 : "${CONFIG_STATUS=./config.status}"
21589 ac_write_fail=0
21590 ac_clean_files_save=$ac_clean_files
21591 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
21592 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
21593 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
21594 as_write_fail=0
21595 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
21596 #! $SHELL
21597 # Generated by $as_me.
21598 # Run this file to recreate the current configuration.
21599 # Compiler output produced by configure, useful for debugging
21600 # configure, is in config.log if it exists.
21602 debug=false
21603 ac_cs_recheck=false
21604 ac_cs_silent=false
21606 SHELL=\${CONFIG_SHELL-$SHELL}
21607 export SHELL
21608 _ASEOF
21609 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
21610 ## -------------------- ##
21611 ## M4sh Initialization. ##
21612 ## -------------------- ##
21614 # Be more Bourne compatible
21615 DUALCASE=1; export DUALCASE # for MKS sh
21616 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
21617 emulate sh
21618 NULLCMD=:
21619 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
21620 # is contrary to our usage. Disable this feature.
21621 alias -g '${1+"$@"}'='"$@"'
21622 setopt NO_GLOB_SUBST
21623 else
21624 case `(set -o) 2>/dev/null` in #(
21625 *posix*) :
21626 set -o posix ;; #(
21627 *) :
21629 esac
21633 as_nl='
21635 export as_nl
21636 # Printing a long string crashes Solaris 7 /usr/bin/printf.
21637 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
21638 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
21639 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
21640 # Prefer a ksh shell builtin over an external printf program on Solaris,
21641 # but without wasting forks for bash or zsh.
21642 if test -z "$BASH_VERSION$ZSH_VERSION" \
21643 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
21644 as_echo='print -r --'
21645 as_echo_n='print -rn --'
21646 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
21647 as_echo='printf %s\n'
21648 as_echo_n='printf %s'
21649 else
21650 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
21651 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
21652 as_echo_n='/usr/ucb/echo -n'
21653 else
21654 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
21655 as_echo_n_body='eval
21656 arg=$1;
21657 case $arg in #(
21658 *"$as_nl"*)
21659 expr "X$arg" : "X\\(.*\\)$as_nl";
21660 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
21661 esac;
21662 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
21664 export as_echo_n_body
21665 as_echo_n='sh -c $as_echo_n_body as_echo'
21667 export as_echo_body
21668 as_echo='sh -c $as_echo_body as_echo'
21671 # The user is always right.
21672 if test "${PATH_SEPARATOR+set}" != set; then
21673 PATH_SEPARATOR=:
21674 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
21675 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
21676 PATH_SEPARATOR=';'
21681 # IFS
21682 # We need space, tab and new line, in precisely that order. Quoting is
21683 # there to prevent editors from complaining about space-tab.
21684 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
21685 # splitting by setting IFS to empty value.)
21686 IFS=" "" $as_nl"
21688 # Find who we are. Look in the path if we contain no directory separator.
21689 as_myself=
21690 case $0 in #((
21691 *[\\/]* ) as_myself=$0 ;;
21692 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
21693 for as_dir in $PATH
21695 IFS=$as_save_IFS
21696 test -z "$as_dir" && as_dir=.
21697 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
21698 done
21699 IFS=$as_save_IFS
21702 esac
21703 # We did not find ourselves, most probably we were run as `sh COMMAND'
21704 # in which case we are not to be found in the path.
21705 if test "x$as_myself" = x; then
21706 as_myself=$0
21708 if test ! -f "$as_myself"; then
21709 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
21710 exit 1
21713 # Unset variables that we do not need and which cause bugs (e.g. in
21714 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
21715 # suppresses any "Segmentation fault" message there. '((' could
21716 # trigger a bug in pdksh 5.2.14.
21717 for as_var in BASH_ENV ENV MAIL MAILPATH
21718 do eval test x\${$as_var+set} = xset \
21719 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
21720 done
21721 PS1='$ '
21722 PS2='> '
21723 PS4='+ '
21725 # NLS nuisances.
21726 LC_ALL=C
21727 export LC_ALL
21728 LANGUAGE=C
21729 export LANGUAGE
21731 # CDPATH.
21732 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
21735 # as_fn_error STATUS ERROR [LINENO LOG_FD]
21736 # ----------------------------------------
21737 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
21738 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
21739 # script with STATUS, using 1 if that was 0.
21740 as_fn_error ()
21742 as_status=$1; test $as_status -eq 0 && as_status=1
21743 if test "$4"; then
21744 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
21745 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
21747 $as_echo "$as_me: error: $2" >&2
21748 as_fn_exit $as_status
21749 } # as_fn_error
21752 # as_fn_set_status STATUS
21753 # -----------------------
21754 # Set $? to STATUS, without forking.
21755 as_fn_set_status ()
21757 return $1
21758 } # as_fn_set_status
21760 # as_fn_exit STATUS
21761 # -----------------
21762 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
21763 as_fn_exit ()
21765 set +e
21766 as_fn_set_status $1
21767 exit $1
21768 } # as_fn_exit
21770 # as_fn_unset VAR
21771 # ---------------
21772 # Portably unset VAR.
21773 as_fn_unset ()
21775 { eval $1=; unset $1;}
21777 as_unset=as_fn_unset
21778 # as_fn_append VAR VALUE
21779 # ----------------------
21780 # Append the text in VALUE to the end of the definition contained in VAR. Take
21781 # advantage of any shell optimizations that allow amortized linear growth over
21782 # repeated appends, instead of the typical quadratic growth present in naive
21783 # implementations.
21784 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
21785 eval 'as_fn_append ()
21787 eval $1+=\$2
21789 else
21790 as_fn_append ()
21792 eval $1=\$$1\$2
21794 fi # as_fn_append
21796 # as_fn_arith ARG...
21797 # ------------------
21798 # Perform arithmetic evaluation on the ARGs, and store the result in the
21799 # global $as_val. Take advantage of shells that can avoid forks. The arguments
21800 # must be portable across $(()) and expr.
21801 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
21802 eval 'as_fn_arith ()
21804 as_val=$(( $* ))
21806 else
21807 as_fn_arith ()
21809 as_val=`expr "$@" || test $? -eq 1`
21811 fi # as_fn_arith
21814 if expr a : '\(a\)' >/dev/null 2>&1 &&
21815 test "X`expr 00001 : '.*\(...\)'`" = X001; then
21816 as_expr=expr
21817 else
21818 as_expr=false
21821 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
21822 as_basename=basename
21823 else
21824 as_basename=false
21827 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
21828 as_dirname=dirname
21829 else
21830 as_dirname=false
21833 as_me=`$as_basename -- "$0" ||
21834 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
21835 X"$0" : 'X\(//\)$' \| \
21836 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
21837 $as_echo X/"$0" |
21838 sed '/^.*\/\([^/][^/]*\)\/*$/{
21839 s//\1/
21842 /^X\/\(\/\/\)$/{
21843 s//\1/
21846 /^X\/\(\/\).*/{
21847 s//\1/
21850 s/.*/./; q'`
21852 # Avoid depending upon Character Ranges.
21853 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
21854 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
21855 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
21856 as_cr_digits='0123456789'
21857 as_cr_alnum=$as_cr_Letters$as_cr_digits
21859 ECHO_C= ECHO_N= ECHO_T=
21860 case `echo -n x` in #(((((
21861 -n*)
21862 case `echo 'xy\c'` in
21863 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
21864 xy) ECHO_C='\c';;
21865 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
21866 ECHO_T=' ';;
21867 esac;;
21869 ECHO_N='-n';;
21870 esac
21872 rm -f conf$$ conf$$.exe conf$$.file
21873 if test -d conf$$.dir; then
21874 rm -f conf$$.dir/conf$$.file
21875 else
21876 rm -f conf$$.dir
21877 mkdir conf$$.dir 2>/dev/null
21879 if (echo >conf$$.file) 2>/dev/null; then
21880 if ln -s conf$$.file conf$$ 2>/dev/null; then
21881 as_ln_s='ln -s'
21882 # ... but there are two gotchas:
21883 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
21884 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
21885 # In both cases, we have to default to `cp -pR'.
21886 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
21887 as_ln_s='cp -pR'
21888 elif ln conf$$.file conf$$ 2>/dev/null; then
21889 as_ln_s=ln
21890 else
21891 as_ln_s='cp -pR'
21893 else
21894 as_ln_s='cp -pR'
21896 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
21897 rmdir conf$$.dir 2>/dev/null
21900 # as_fn_mkdir_p
21901 # -------------
21902 # Create "$as_dir" as a directory, including parents if necessary.
21903 as_fn_mkdir_p ()
21906 case $as_dir in #(
21907 -*) as_dir=./$as_dir;;
21908 esac
21909 test -d "$as_dir" || eval $as_mkdir_p || {
21910 as_dirs=
21911 while :; do
21912 case $as_dir in #(
21913 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
21914 *) as_qdir=$as_dir;;
21915 esac
21916 as_dirs="'$as_qdir' $as_dirs"
21917 as_dir=`$as_dirname -- "$as_dir" ||
21918 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21919 X"$as_dir" : 'X\(//\)[^/]' \| \
21920 X"$as_dir" : 'X\(//\)$' \| \
21921 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
21922 $as_echo X"$as_dir" |
21923 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
21924 s//\1/
21927 /^X\(\/\/\)[^/].*/{
21928 s//\1/
21931 /^X\(\/\/\)$/{
21932 s//\1/
21935 /^X\(\/\).*/{
21936 s//\1/
21939 s/.*/./; q'`
21940 test -d "$as_dir" && break
21941 done
21942 test -z "$as_dirs" || eval "mkdir $as_dirs"
21943 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
21946 } # as_fn_mkdir_p
21947 if mkdir -p . 2>/dev/null; then
21948 as_mkdir_p='mkdir -p "$as_dir"'
21949 else
21950 test -d ./-p && rmdir ./-p
21951 as_mkdir_p=false
21955 # as_fn_executable_p FILE
21956 # -----------------------
21957 # Test if FILE is an executable regular file.
21958 as_fn_executable_p ()
21960 test -f "$1" && test -x "$1"
21961 } # as_fn_executable_p
21962 as_test_x='test -x'
21963 as_executable_p=as_fn_executable_p
21965 # Sed expression to map a string onto a valid CPP name.
21966 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
21968 # Sed expression to map a string onto a valid variable name.
21969 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
21972 exec 6>&1
21973 ## ----------------------------------- ##
21974 ## Main body of $CONFIG_STATUS script. ##
21975 ## ----------------------------------- ##
21976 _ASEOF
21977 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
21979 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
21980 # Save the log message, to keep $0 and so on meaningful, and to
21981 # report actual input values of CONFIG_FILES etc. instead of their
21982 # values after options handling.
21983 ac_log="
21984 This file was extended by Wine $as_me 6.5, which was
21985 generated by GNU Autoconf 2.69. Invocation command line was
21987 CONFIG_FILES = $CONFIG_FILES
21988 CONFIG_HEADERS = $CONFIG_HEADERS
21989 CONFIG_LINKS = $CONFIG_LINKS
21990 CONFIG_COMMANDS = $CONFIG_COMMANDS
21991 $ $0 $@
21993 on `(hostname || uname -n) 2>/dev/null | sed 1q`
21996 _ACEOF
21998 case $ac_config_files in *"
21999 "*) set x $ac_config_files; shift; ac_config_files=$*;;
22000 esac
22002 case $ac_config_headers in *"
22003 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
22004 esac
22007 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22008 # Files that config.status was made for.
22009 config_files="$ac_config_files"
22010 config_headers="$ac_config_headers"
22011 config_links="$ac_config_links"
22012 config_commands="$ac_config_commands"
22014 _ACEOF
22016 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22017 ac_cs_usage="\
22018 \`$as_me' instantiates files and other configuration actions
22019 from templates according to the current configuration. Unless the files
22020 and actions are specified as TAGs, all are instantiated by default.
22022 Usage: $0 [OPTION]... [TAG]...
22024 -h, --help print this help, then exit
22025 -V, --version print version number and configuration settings, then exit
22026 --config print configuration, then exit
22027 -q, --quiet, --silent
22028 do not print progress messages
22029 -d, --debug don't remove temporary files
22030 --recheck update $as_me by reconfiguring in the same conditions
22031 --file=FILE[:TEMPLATE]
22032 instantiate the configuration file FILE
22033 --header=FILE[:TEMPLATE]
22034 instantiate the configuration header FILE
22036 Configuration files:
22037 $config_files
22039 Configuration headers:
22040 $config_headers
22042 Configuration links:
22043 $config_links
22045 Configuration commands:
22046 $config_commands
22048 Report bugs to <wine-devel@winehq.org>.
22049 Wine home page: <https://www.winehq.org>."
22051 _ACEOF
22052 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22053 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
22054 ac_cs_version="\\
22055 Wine config.status 6.5
22056 configured by $0, generated by GNU Autoconf 2.69,
22057 with options \\"\$ac_cs_config\\"
22059 Copyright (C) 2012 Free Software Foundation, Inc.
22060 This config.status script is free software; the Free Software Foundation
22061 gives unlimited permission to copy, distribute and modify it."
22063 ac_pwd='$ac_pwd'
22064 srcdir='$srcdir'
22065 test -n "\$AWK" || AWK=awk
22066 _ACEOF
22068 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22069 # The default lists apply if the user does not specify any file.
22070 ac_need_defaults=:
22071 while test $# != 0
22073 case $1 in
22074 --*=?*)
22075 ac_option=`expr "X$1" : 'X\([^=]*\)='`
22076 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
22077 ac_shift=:
22079 --*=)
22080 ac_option=`expr "X$1" : 'X\([^=]*\)='`
22081 ac_optarg=
22082 ac_shift=:
22085 ac_option=$1
22086 ac_optarg=$2
22087 ac_shift=shift
22089 esac
22091 case $ac_option in
22092 # Handling of the options.
22093 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
22094 ac_cs_recheck=: ;;
22095 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
22096 $as_echo "$ac_cs_version"; exit ;;
22097 --config | --confi | --conf | --con | --co | --c )
22098 $as_echo "$ac_cs_config"; exit ;;
22099 --debug | --debu | --deb | --de | --d | -d )
22100 debug=: ;;
22101 --file | --fil | --fi | --f )
22102 $ac_shift
22103 case $ac_optarg in
22104 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
22105 '') as_fn_error $? "missing file argument" ;;
22106 esac
22107 as_fn_append CONFIG_FILES " '$ac_optarg'"
22108 ac_need_defaults=false;;
22109 --header | --heade | --head | --hea )
22110 $ac_shift
22111 case $ac_optarg in
22112 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
22113 esac
22114 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
22115 ac_need_defaults=false;;
22116 --he | --h)
22117 # Conflict between --help and --header
22118 as_fn_error $? "ambiguous option: \`$1'
22119 Try \`$0 --help' for more information.";;
22120 --help | --hel | -h )
22121 $as_echo "$ac_cs_usage"; exit ;;
22122 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
22123 | -silent | --silent | --silen | --sile | --sil | --si | --s)
22124 ac_cs_silent=: ;;
22126 # This is an error.
22127 -*) as_fn_error $? "unrecognized option: \`$1'
22128 Try \`$0 --help' for more information." ;;
22130 *) as_fn_append ac_config_targets " $1"
22131 ac_need_defaults=false ;;
22133 esac
22134 shift
22135 done
22137 ac_configure_extra_args=
22139 if $ac_cs_silent; then
22140 exec 6>/dev/null
22141 ac_configure_extra_args="$ac_configure_extra_args --silent"
22144 _ACEOF
22145 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22146 if \$ac_cs_recheck; then
22147 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
22148 shift
22149 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
22150 CONFIG_SHELL='$SHELL'
22151 export CONFIG_SHELL
22152 exec "\$@"
22155 _ACEOF
22156 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22157 exec 5>>config.log
22159 echo
22160 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
22161 ## Running $as_me. ##
22162 _ASBOX
22163 $as_echo "$ac_log"
22164 } >&5
22166 _ACEOF
22167 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22169 # INIT-COMMANDS
22171 wine_fn_output_makedep ()
22173 as_dir=tools; as_fn_mkdir_p
22174 $CC -Iinclude -I$srcdir/include -D__WINESRC__ $EXTRACFLAGS $CPPFLAGS $CFLAGS -o tools/makedep$ac_exeext $srcdir/tools/makedep.c $LDFLAGS
22176 wine_fn_output_makefile ()
22178 cat Make.tmp - <<\_WINE_EOF >\$tmp/makefile && mv -f \$tmp/makefile \$1 && rm -f Make.tmp && "$wine_makedep"$makedep_flags && return
22179 `cat $wine_rules_file`
22180 _WINE_EOF
22181 as_fn_error $? "could not create Makefile" "$LINENO" 5
22184 _ACEOF
22186 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22188 # Handling of arguments.
22189 for ac_config_target in $ac_config_targets
22191 case $ac_config_target in
22192 "include/config.h") CONFIG_HEADERS="$CONFIG_HEADERS include/config.h" ;;
22193 "include/stamp-h") CONFIG_COMMANDS="$CONFIG_COMMANDS include/stamp-h" ;;
22194 "wine") CONFIG_LINKS="$CONFIG_LINKS wine:tools/winewrapper" ;;
22195 "wine64") CONFIG_LINKS="$CONFIG_LINKS wine64:tools/winewrapper" ;;
22196 "tools/makedep") CONFIG_COMMANDS="$CONFIG_COMMANDS tools/makedep" ;;
22197 "Makefile") CONFIG_COMMANDS="$CONFIG_COMMANDS Makefile" ;;
22198 "Make.tmp") CONFIG_FILES="$CONFIG_FILES Make.tmp:Makefile.in" ;;
22200 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
22201 esac
22202 done
22205 # If the user did not use the arguments to specify the items to instantiate,
22206 # then the envvar interface is used. Set only those that are not.
22207 # We use the long form for the default assignment because of an extremely
22208 # bizarre bug on SunOS 4.1.3.
22209 if $ac_need_defaults; then
22210 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
22211 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
22212 test "${CONFIG_LINKS+set}" = set || CONFIG_LINKS=$config_links
22213 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
22216 # Have a temporary directory for convenience. Make it in the build tree
22217 # simply because there is no reason against having it here, and in addition,
22218 # creating and moving files from /tmp can sometimes cause problems.
22219 # Hook for its removal unless debugging.
22220 # Note that there is a small window in which the directory will not be cleaned:
22221 # after its creation but before its name has been assigned to `$tmp'.
22222 $debug ||
22224 tmp= ac_tmp=
22225 trap 'exit_status=$?
22226 : "${ac_tmp:=$tmp}"
22227 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
22229 trap 'as_fn_exit 1' 1 2 13 15
22231 # Create a (secure) tmp directory for tmp files.
22234 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
22235 test -d "$tmp"
22236 } ||
22238 tmp=./conf$$-$RANDOM
22239 (umask 077 && mkdir "$tmp")
22240 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
22241 ac_tmp=$tmp
22243 # Set up the scripts for CONFIG_FILES section.
22244 # No need to generate them if there are no CONFIG_FILES.
22245 # This happens for instance with `./config.status config.h'.
22246 if test -n "$CONFIG_FILES"; then
22249 ac_cr=`echo X | tr X '\015'`
22250 # On cygwin, bash can eat \r inside `` if the user requested igncr.
22251 # But we know of no other shell where ac_cr would be empty at this
22252 # point, so we can use a bashism as a fallback.
22253 if test "x$ac_cr" = x; then
22254 eval ac_cr=\$\'\\r\'
22256 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
22257 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
22258 ac_cs_awk_cr='\\r'
22259 else
22260 ac_cs_awk_cr=$ac_cr
22263 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
22264 _ACEOF
22268 echo "cat >conf$$subs.awk <<_ACEOF" &&
22269 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
22270 echo "_ACEOF"
22271 } >conf$$subs.sh ||
22272 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
22273 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
22274 ac_delim='%!_!# '
22275 for ac_last_try in false false false false false :; do
22276 . ./conf$$subs.sh ||
22277 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
22279 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
22280 if test $ac_delim_n = $ac_delim_num; then
22281 break
22282 elif $ac_last_try; then
22283 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
22284 else
22285 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
22287 done
22288 rm -f conf$$subs.sh
22290 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22291 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
22292 _ACEOF
22293 sed -n '
22295 s/^/S["/; s/!.*/"]=/
22298 s/^[^!]*!//
22299 :repl
22300 t repl
22301 s/'"$ac_delim"'$//
22302 t delim
22305 s/\(.\{148\}\)..*/\1/
22306 t more1
22307 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
22310 b repl
22311 :more1
22312 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
22315 s/.\{148\}//
22316 t nl
22317 :delim
22319 s/\(.\{148\}\)..*/\1/
22320 t more2
22321 s/["\\]/\\&/g; s/^/"/; s/$/"/
22324 :more2
22325 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
22328 s/.\{148\}//
22329 t delim
22330 ' <conf$$subs.awk | sed '
22331 /^[^""]/{
22333 s/\n//
22335 ' >>$CONFIG_STATUS || ac_write_fail=1
22336 rm -f conf$$subs.awk
22337 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22338 _ACAWK
22339 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
22340 for (key in S) S_is_set[key] = 1
22341 FS = "\a"
22345 line = $ 0
22346 nfields = split(line, field, "@")
22347 substed = 0
22348 len = length(field[1])
22349 for (i = 2; i < nfields; i++) {
22350 key = field[i]
22351 keylen = length(key)
22352 if (S_is_set[key]) {
22353 value = S[key]
22354 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
22355 len += length(value) + length(field[++i])
22356 substed = 1
22357 } else
22358 len += 1 + keylen
22361 print line
22364 _ACAWK
22365 _ACEOF
22366 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22367 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
22368 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
22369 else
22371 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
22372 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
22373 _ACEOF
22375 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
22376 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
22377 # trailing colons and then remove the whole line if VPATH becomes empty
22378 # (actually we leave an empty line to preserve line numbers).
22379 if test "x$srcdir" = x.; then
22380 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
22382 s///
22383 s/^/:/
22384 s/[ ]*$/:/
22385 s/:\$(srcdir):/:/g
22386 s/:\${srcdir}:/:/g
22387 s/:@srcdir@:/:/g
22388 s/^:*//
22389 s/:*$//
22391 s/\(=[ ]*\).*/\1/
22393 s/\n//
22394 s/^[^=]*=[ ]*$//
22398 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22399 fi # test -n "$CONFIG_FILES"
22401 # Set up the scripts for CONFIG_HEADERS section.
22402 # No need to generate them if there are no CONFIG_HEADERS.
22403 # This happens for instance with `./config.status Makefile'.
22404 if test -n "$CONFIG_HEADERS"; then
22405 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
22406 BEGIN {
22407 _ACEOF
22409 # Transform confdefs.h into an awk script `defines.awk', embedded as
22410 # here-document in config.status, that substitutes the proper values into
22411 # config.h.in to produce config.h.
22413 # Create a delimiter string that does not exist in confdefs.h, to ease
22414 # handling of long lines.
22415 ac_delim='%!_!# '
22416 for ac_last_try in false false :; do
22417 ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
22418 if test -z "$ac_tt"; then
22419 break
22420 elif $ac_last_try; then
22421 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
22422 else
22423 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
22425 done
22427 # For the awk script, D is an array of macro values keyed by name,
22428 # likewise P contains macro parameters if any. Preserve backslash
22429 # newline sequences.
22431 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
22432 sed -n '
22433 s/.\{148\}/&'"$ac_delim"'/g
22434 t rset
22435 :rset
22436 s/^[ ]*#[ ]*define[ ][ ]*/ /
22437 t def
22439 :def
22440 s/\\$//
22441 t bsnl
22442 s/["\\]/\\&/g
22443 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
22444 D["\1"]=" \3"/p
22445 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
22447 :bsnl
22448 s/["\\]/\\&/g
22449 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
22450 D["\1"]=" \3\\\\\\n"\\/p
22451 t cont
22452 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
22453 t cont
22455 :cont
22457 s/.\{148\}/&'"$ac_delim"'/g
22458 t clear
22459 :clear
22460 s/\\$//
22461 t bsnlc
22462 s/["\\]/\\&/g; s/^/"/; s/$/"/p
22464 :bsnlc
22465 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
22466 b cont
22467 ' <confdefs.h | sed '
22468 s/'"$ac_delim"'/"\\\
22469 "/g' >>$CONFIG_STATUS || ac_write_fail=1
22471 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22472 for (key in D) D_is_set[key] = 1
22473 FS = "\a"
22475 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
22476 line = \$ 0
22477 split(line, arg, " ")
22478 if (arg[1] == "#") {
22479 defundef = arg[2]
22480 mac1 = arg[3]
22481 } else {
22482 defundef = substr(arg[1], 2)
22483 mac1 = arg[2]
22485 split(mac1, mac2, "(") #)
22486 macro = mac2[1]
22487 prefix = substr(line, 1, index(line, defundef) - 1)
22488 if (D_is_set[macro]) {
22489 # Preserve the white space surrounding the "#".
22490 print prefix "define", macro P[macro] D[macro]
22491 next
22492 } else {
22493 # Replace #undef with comments. This is necessary, for example,
22494 # in the case of _POSIX_SOURCE, which is predefined and required
22495 # on some systems where configure will not decide to define it.
22496 if (defundef == "undef") {
22497 print "/*", prefix defundef, macro, "*/"
22498 next
22502 { print }
22503 _ACAWK
22504 _ACEOF
22505 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22506 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
22507 fi # test -n "$CONFIG_HEADERS"
22510 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :L $CONFIG_LINKS :C $CONFIG_COMMANDS"
22511 shift
22512 for ac_tag
22514 case $ac_tag in
22515 :[FHLC]) ac_mode=$ac_tag; continue;;
22516 esac
22517 case $ac_mode$ac_tag in
22518 :[FHL]*:*);;
22519 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
22520 :[FH]-) ac_tag=-:-;;
22521 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
22522 esac
22523 ac_save_IFS=$IFS
22524 IFS=:
22525 set x $ac_tag
22526 IFS=$ac_save_IFS
22527 shift
22528 ac_file=$1
22529 shift
22531 case $ac_mode in
22532 :L) ac_source=$1;;
22533 :[FH])
22534 ac_file_inputs=
22535 for ac_f
22537 case $ac_f in
22538 -) ac_f="$ac_tmp/stdin";;
22539 *) # Look for the file first in the build tree, then in the source tree
22540 # (if the path is not absolute). The absolute path cannot be DOS-style,
22541 # because $ac_f cannot contain `:'.
22542 test -f "$ac_f" ||
22543 case $ac_f in
22544 [\\/$]*) false;;
22545 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
22546 esac ||
22547 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
22548 esac
22549 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
22550 as_fn_append ac_file_inputs " '$ac_f'"
22551 done
22553 # Let's still pretend it is `configure' which instantiates (i.e., don't
22554 # use $as_me), people would be surprised to read:
22555 # /* config.h. Generated by config.status. */
22556 configure_input='Generated from '`
22557 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
22558 `' by configure.'
22559 if test x"$ac_file" != x-; then
22560 configure_input="$ac_file. $configure_input"
22561 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
22562 $as_echo "$as_me: creating $ac_file" >&6;}
22564 # Neutralize special characters interpreted by sed in replacement strings.
22565 case $configure_input in #(
22566 *\&* | *\|* | *\\* )
22567 ac_sed_conf_input=`$as_echo "$configure_input" |
22568 sed 's/[\\\\&|]/\\\\&/g'`;; #(
22569 *) ac_sed_conf_input=$configure_input;;
22570 esac
22572 case $ac_tag in
22573 *:-:* | *:-) cat >"$ac_tmp/stdin" \
22574 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
22575 esac
22577 esac
22579 ac_dir=`$as_dirname -- "$ac_file" ||
22580 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
22581 X"$ac_file" : 'X\(//\)[^/]' \| \
22582 X"$ac_file" : 'X\(//\)$' \| \
22583 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
22584 $as_echo X"$ac_file" |
22585 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
22586 s//\1/
22589 /^X\(\/\/\)[^/].*/{
22590 s//\1/
22593 /^X\(\/\/\)$/{
22594 s//\1/
22597 /^X\(\/\).*/{
22598 s//\1/
22601 s/.*/./; q'`
22602 as_dir="$ac_dir"; as_fn_mkdir_p
22603 ac_builddir=.
22605 case "$ac_dir" in
22606 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
22608 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
22609 # A ".." for each directory in $ac_dir_suffix.
22610 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
22611 case $ac_top_builddir_sub in
22612 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
22613 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
22614 esac ;;
22615 esac
22616 ac_abs_top_builddir=$ac_pwd
22617 ac_abs_builddir=$ac_pwd$ac_dir_suffix
22618 # for backward compatibility:
22619 ac_top_builddir=$ac_top_build_prefix
22621 case $srcdir in
22622 .) # We are building in place.
22623 ac_srcdir=.
22624 ac_top_srcdir=$ac_top_builddir_sub
22625 ac_abs_top_srcdir=$ac_pwd ;;
22626 [\\/]* | ?:[\\/]* ) # Absolute name.
22627 ac_srcdir=$srcdir$ac_dir_suffix;
22628 ac_top_srcdir=$srcdir
22629 ac_abs_top_srcdir=$srcdir ;;
22630 *) # Relative name.
22631 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
22632 ac_top_srcdir=$ac_top_build_prefix$srcdir
22633 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
22634 esac
22635 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
22638 case $ac_mode in
22641 # CONFIG_FILE
22644 _ACEOF
22646 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22647 # If the template does not know about datarootdir, expand it.
22648 # FIXME: This hack should be removed a few years after 2.60.
22649 ac_datarootdir_hack=; ac_datarootdir_seen=
22650 ac_sed_dataroot='
22651 /datarootdir/ {
22655 /@datadir@/p
22656 /@docdir@/p
22657 /@infodir@/p
22658 /@localedir@/p
22659 /@mandir@/p'
22660 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
22661 *datarootdir*) ac_datarootdir_seen=yes;;
22662 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
22663 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
22664 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
22665 _ACEOF
22666 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22667 ac_datarootdir_hack='
22668 s&@datadir@&$datadir&g
22669 s&@docdir@&$docdir&g
22670 s&@infodir@&$infodir&g
22671 s&@localedir@&$localedir&g
22672 s&@mandir@&$mandir&g
22673 s&\\\${datarootdir}&$datarootdir&g' ;;
22674 esac
22675 _ACEOF
22677 # Neutralize VPATH when `$srcdir' = `.'.
22678 # Shell code in configure.ac might set extrasub.
22679 # FIXME: do we really want to maintain this feature?
22680 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22681 ac_sed_extra="$ac_vpsub
22682 $extrasub
22683 _ACEOF
22684 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22686 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
22687 s|@configure_input@|$ac_sed_conf_input|;t t
22688 s&@top_builddir@&$ac_top_builddir_sub&;t t
22689 s&@top_build_prefix@&$ac_top_build_prefix&;t t
22690 s&@srcdir@&$ac_srcdir&;t t
22691 s&@abs_srcdir@&$ac_abs_srcdir&;t t
22692 s&@top_srcdir@&$ac_top_srcdir&;t t
22693 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
22694 s&@builddir@&$ac_builddir&;t t
22695 s&@abs_builddir@&$ac_abs_builddir&;t t
22696 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
22697 $ac_datarootdir_hack
22699 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
22700 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
22702 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
22703 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
22704 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
22705 "$ac_tmp/out"`; test -z "$ac_out"; } &&
22706 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
22707 which seems to be undefined. Please make sure it is defined" >&5
22708 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
22709 which seems to be undefined. Please make sure it is defined" >&2;}
22711 rm -f "$ac_tmp/stdin"
22712 case $ac_file in
22713 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
22714 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
22715 esac \
22716 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
22720 # CONFIG_HEADER
22722 if test x"$ac_file" != x-; then
22724 $as_echo "/* $configure_input */" \
22725 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
22726 } >"$ac_tmp/config.h" \
22727 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
22728 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
22729 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
22730 $as_echo "$as_me: $ac_file is unchanged" >&6;}
22731 else
22732 rm -f "$ac_file"
22733 mv "$ac_tmp/config.h" "$ac_file" \
22734 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
22736 else
22737 $as_echo "/* $configure_input */" \
22738 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
22739 || as_fn_error $? "could not create -" "$LINENO" 5
22744 # CONFIG_LINK
22747 if test "$ac_source" = "$ac_file" && test "$srcdir" = '.'; then
22749 else
22750 # Prefer the file from the source tree if names are identical.
22751 if test "$ac_source" = "$ac_file" || test ! -r "$ac_source"; then
22752 ac_source=$srcdir/$ac_source
22755 { $as_echo "$as_me:${as_lineno-$LINENO}: linking $ac_source to $ac_file" >&5
22756 $as_echo "$as_me: linking $ac_source to $ac_file" >&6;}
22758 if test ! -r "$ac_source"; then
22759 as_fn_error $? "$ac_source: file not found" "$LINENO" 5
22761 rm -f "$ac_file"
22763 # Try a relative symlink, then a hard link, then a copy.
22764 case $ac_source in
22765 [\\/$]* | ?:[\\/]* ) ac_rel_source=$ac_source ;;
22766 *) ac_rel_source=$ac_top_build_prefix$ac_source ;;
22767 esac
22768 ln -s "$ac_rel_source" "$ac_file" 2>/dev/null ||
22769 ln "$ac_source" "$ac_file" 2>/dev/null ||
22770 cp -p "$ac_source" "$ac_file" ||
22771 as_fn_error $? "cannot link or copy $ac_source to $ac_file" "$LINENO" 5
22774 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
22775 $as_echo "$as_me: executing $ac_file commands" >&6;}
22777 esac
22780 case $ac_file$ac_mode in
22781 "include/stamp-h":C) echo timestamp > include/stamp-h ;;
22782 "tools/makedep":C) wine_fn_output_makedep || as_fn_exit $? ;;
22783 "Makefile":C) wine_fn_output_makefile Makefile ;;
22785 esac
22786 done # for ac_tag
22789 as_fn_exit 0
22790 _ACEOF
22791 ac_clean_files=$ac_clean_files_save
22793 test $ac_write_fail = 0 ||
22794 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
22797 # configure is writing to config.log, and then calls config.status.
22798 # config.status does its own redirection, appending to config.log.
22799 # Unfortunately, on DOS this fails, as config.log is still kept open
22800 # by configure, so config.status won't be able to write to it; its
22801 # output is simply discarded. So we exec the FD to /dev/null,
22802 # effectively closing config.log, so it can be properly (re)opened and
22803 # appended to by config.status. When coming back to configure, we
22804 # need to make the FD available again.
22805 if test "$no_create" != yes; then
22806 ac_cs_success=:
22807 ac_config_status_args=
22808 test "$silent" = yes &&
22809 ac_config_status_args="$ac_config_status_args --quiet"
22810 exec 5>/dev/null
22811 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
22812 exec 5>>config.log
22813 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
22814 # would make configure fail if this is the last instruction.
22815 $ac_cs_success || as_fn_exit 1
22817 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
22818 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
22819 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
22823 if test "$no_create" = "yes"
22824 then
22825 exit 0
22828 ac_save_IFS="$IFS"
22829 if test "x$wine_notices" != x; then
22830 echo >&6
22831 IFS="|"
22832 for msg in $wine_notices; do
22833 IFS="$ac_save_IFS"
22834 if ${msg:+false} :; then :
22836 else
22837 { $as_echo "$as_me:${as_lineno-$LINENO}: $msg" >&5
22838 $as_echo "$as_me: $msg" >&6;}
22840 done
22842 IFS="|"
22843 for msg in $wine_warnings; do
22844 IFS="$ac_save_IFS"
22845 if ${msg:+false} :; then :
22847 else
22848 echo >&2
22849 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $msg" >&5
22850 $as_echo "$as_me: WARNING: $msg" >&2;}
22852 done
22853 IFS="$ac_save_IFS"
22855 $as_echo "
22856 $as_me: Finished. Do '${ac_make}' to compile Wine.
22857 " >&6