evr/mixer: Test format only when setting output type.
[wine.git] / configure
blob0aa6e54804c4bcd4fee08e5359552e614333c56d
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.69 for Wine 6.9.
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.9'
584 PACKAGE_STRING='Wine 6.9'
585 PACKAGE_BUGREPORT='wine-devel@winehq.org'
586 PACKAGE_URL='https://www.winehq.org'
588 ac_unique_file="server/atom.c"
589 # Factoring default headers for most tests.
590 ac_includes_default="\
591 #include <stdio.h>
592 #ifdef HAVE_SYS_TYPES_H
593 # include <sys/types.h>
594 #endif
595 #ifdef HAVE_SYS_STAT_H
596 # include <sys/stat.h>
597 #endif
598 #ifdef STDC_HEADERS
599 # include <stdlib.h>
600 # include <stddef.h>
601 #else
602 # ifdef HAVE_STDLIB_H
603 # include <stdlib.h>
604 # endif
605 #endif
606 #ifdef HAVE_STRING_H
607 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
608 # include <memory.h>
609 # endif
610 # include <string.h>
611 #endif
612 #ifdef HAVE_STRINGS_H
613 # include <strings.h>
614 #endif
615 #ifdef HAVE_INTTYPES_H
616 # include <inttypes.h>
617 #endif
618 #ifdef HAVE_STDINT_H
619 # include <stdint.h>
620 #endif
621 #ifdef HAVE_UNISTD_H
622 # include <unistd.h>
623 #endif"
625 ac_subst_vars='LTLIBOBJS
626 LIBOBJS
627 ALL_VARS_RULES
628 LDAP_LIBS
629 LDAP_CFLAGS
630 RT_LIBS
631 POLL_LIBS
632 TOOLSEXT
633 MSVCRTFLAGS
634 EXTRACFLAGS
635 VKD3D_SHADER_LIBS
636 VKD3D_SHADER_CFLAGS
637 VKD3D_LIBS
638 VKD3D_CFLAGS
639 NETAPI_LIBS
640 NETAPI_CFLAGS
641 PROCSTAT_LIBS
642 KSTAT_LIBS
643 MPG123_LIBS
644 MPG123_CFLAGS
645 TIFF_LIBS
646 TIFF_CFLAGS
647 PNG_LIBS
648 PNG_CFLAGS
649 JXRLIB_LIBS
650 JXRLIB_CFLAGS
651 JPEG_LIBS
652 JPEG_CFLAGS
653 GSSAPI_LIBS
654 GSSAPI_CFLAGS
655 KRB5_LIBS
656 KRB5_CFLAGS
657 FONTCONFIG_LIBS
658 FONTCONFIG_CFLAGS
659 CUPS_LIBS
660 CUPS_CFLAGS
661 CAPI20_LIBS
662 CAPI20_CFLAGS
663 FAUDIO_LIBS
664 FAUDIO_CFLAGS
665 SDL2_LIBS
666 SDL2_CFLAGS
667 UNWIND_LIBS
668 UNWIND_CFLAGS
669 UDEV_LIBS
670 UDEV_CFLAGS
671 OSS4_LIBS
672 OSS4_CFLAGS
673 ALSA_LIBS
674 GSTREAMER_LIBS
675 GSTREAMER_CFLAGS
676 PULSE_LIBS
677 PULSE_CFLAGS
678 GETTEXTPO_LIBS
679 FREETYPE_LIBS
680 FREETYPE_CFLAGS
681 LCMS2_LIBS
682 LCMS2_CFLAGS
683 RESOLV_LIBS
684 GPHOTO2_PORT_LIBS
685 GPHOTO2_PORT_CFLAGS
686 GPHOTO2_LIBS
687 GPHOTO2_CFLAGS
688 USB_LIBS
689 USB_CFLAGS
690 SANE_LIBS
691 SANE_CFLAGS
692 GNUTLS_LIBS
693 GNUTLS_CFLAGS
694 HAL_LIBS
695 HAL_CFLAGS
696 DBUS_LIBS
697 DBUS_CFLAGS
698 INOTIFY_LIBS
699 INOTIFY_CFLAGS
700 XSLT_LIBS
701 XSLT_CFLAGS
702 XML2_LIBS
703 XML2_CFLAGS
704 PCAP_LIBS
705 X_EXTRA_LIBS
706 X_LIBS
707 X_PRE_LIBS
708 X_CFLAGS
709 XMKMF
710 PTHREAD_LIBS
711 EXCESS_PRECISION_CFLAGS
712 CROSSDEBUG
713 DELAYLOADFLAG
714 CROSSLDFLAGS
715 EXTRACROSSCFLAGS
716 CROSSCFLAGS
717 CROSSCC
718 CROSSTARGET
719 LIBWINE_DEPENDS
720 PRELINK
721 WINELOADER_DEPENDS
722 LIBWINE_LDFLAGS
723 LIBWINE_SHAREDLIB
724 METAL_LIBS
725 CARBON_LIBS
726 QUICKTIME_LIBS
727 OPENCL_LIBS
728 OPENAL_LIBS
729 COREAUDIO_LIBS
730 SECURITY_LIBS
731 DISKARBITRATION_LIBS
732 SYSTEMCONFIGURATION_LIBS
733 APPKIT_LIBS
734 CORESERVICES_LIBS
735 APPLICATIONSERVICES_LIBS
736 FORCEFEEDBACK_LIBS
737 IOKIT_LIBS
738 COREFOUNDATION_LIBS
739 OBJCPP
740 ac_ct_OBJC
741 OBJCFLAGS
742 OBJC
743 DLLTOOL
744 WINELOADER_PROGRAMS
745 CONFIGURE_TARGETS
746 DISABLED_SUBDIRS
747 SUBDIRS
748 READELF
749 OTOOL
751 WINEPRELOADER_LDFLAGS
752 WINELOADER_LDFLAGS
753 TOP_INSTALL_DEV
754 TOP_INSTALL_LIB
755 LDEXECFLAGS
756 LDDLLFLAGS
757 DLLFLAGS
759 OPENGL_LIBS
760 I386_LIBS
761 ICOTOOL
762 CONVERT
763 RSVG
764 FONTFORGE
765 PKG_CONFIG
766 MSGFMT
767 LDCONFIG
768 EGREP
769 GREP
770 LN_S
771 RANLIB
772 STRIP
773 ac_ct_AR
775 BISON
776 FLEX
777 TOOLSDIR
778 ARCH
779 TARGETFLAGS
781 CPPBIN
782 ac_ct_CXX
783 CXXFLAGS
785 OBJEXT
786 EXEEXT
787 ac_ct_CC
788 CPPFLAGS
789 LDFLAGS
790 CFLAGS
792 SET_MAKE
793 host_os
794 host_vendor
795 host_cpu
796 host
797 build_os
798 build_vendor
799 build_cpu
800 build
801 target_alias
802 host_alias
803 build_alias
804 LIBS
805 ECHO_T
806 ECHO_N
807 ECHO_C
808 DEFS
809 mandir
810 localedir
811 libdir
812 psdir
813 pdfdir
814 dvidir
815 htmldir
816 infodir
817 docdir
818 oldincludedir
819 includedir
820 runstatedir
821 localstatedir
822 sharedstatedir
823 sysconfdir
824 datadir
825 datarootdir
826 libexecdir
827 sbindir
828 bindir
829 program_transform_name
830 prefix
831 exec_prefix
832 PACKAGE_URL
833 PACKAGE_BUGREPORT
834 PACKAGE_STRING
835 PACKAGE_VERSION
836 PACKAGE_TARNAME
837 PACKAGE_NAME
838 PATH_SEPARATOR
839 SHELL'
840 ac_subst_files=''
841 ac_user_opts='
842 enable_option_checking
843 enable_win16
844 enable_win64
845 enable_tests
846 enable_build_id
847 enable_maintainer_mode
848 enable_silent_rules
849 enable_werror
850 with_alsa
851 with_capi
852 with_cms
853 with_coreaudio
854 with_cups
855 with_dbus
856 with_faudio
857 with_float_abi
858 with_fontconfig
859 with_freetype
860 with_gettext
861 with_gettextpo
862 with_gphoto
863 with_gnutls
864 with_gsm
865 with_gssapi
866 with_gstreamer
867 with_hal
868 with_inotify
869 with_jpeg
870 with_jxrlib
871 with_krb5
872 with_ldap
873 with_mingw
874 with_mpg123
875 with_netapi
876 with_openal
877 with_opencl
878 with_opengl
879 with_osmesa
880 with_oss
881 with_pcap
882 with_png
883 with_pthread
884 with_pulse
885 with_quicktime
886 with_sane
887 with_sdl
888 with_tiff
889 with_udev
890 with_unwind
891 with_usb
892 with_v4l2
893 with_vkd3d
894 with_vulkan
895 with_xcomposite
896 with_xcursor
897 with_xfixes
898 with_xinerama
899 with_xinput
900 with_xinput2
901 with_xml
902 with_xrandr
903 with_xrender
904 with_xshape
905 with_xshm
906 with_xslt
907 with_xxf86vm
908 with_wine_tools
909 with_wine64
910 enable_largefile
911 with_x
912 enable_acledit
913 enable_aclui
914 enable_activeds_tlb
915 enable_activeds
916 enable_actxprxy
917 enable_adsiid
918 enable_adsldp
919 enable_adsldpc
920 enable_advapi32
921 enable_advpack
922 enable_amsi
923 enable_amstream
924 enable_api_ms_win_appmodel_identity_l1_1_0
925 enable_api_ms_win_appmodel_runtime_l1_1_1
926 enable_api_ms_win_appmodel_runtime_l1_1_2
927 enable_api_ms_win_core_apiquery_l1_1_0
928 enable_api_ms_win_core_appcompat_l1_1_1
929 enable_api_ms_win_core_appinit_l1_1_0
930 enable_api_ms_win_core_atoms_l1_1_0
931 enable_api_ms_win_core_bem_l1_1_0
932 enable_api_ms_win_core_com_l1_1_0
933 enable_api_ms_win_core_com_l1_1_1
934 enable_api_ms_win_core_com_private_l1_1_0
935 enable_api_ms_win_core_comm_l1_1_0
936 enable_api_ms_win_core_console_l1_1_0
937 enable_api_ms_win_core_console_l1_2_0
938 enable_api_ms_win_core_console_l2_1_0
939 enable_api_ms_win_core_crt_l1_1_0
940 enable_api_ms_win_core_crt_l2_1_0
941 enable_api_ms_win_core_datetime_l1_1_0
942 enable_api_ms_win_core_datetime_l1_1_1
943 enable_api_ms_win_core_debug_l1_1_0
944 enable_api_ms_win_core_debug_l1_1_1
945 enable_api_ms_win_core_delayload_l1_1_0
946 enable_api_ms_win_core_delayload_l1_1_1
947 enable_api_ms_win_core_errorhandling_l1_1_0
948 enable_api_ms_win_core_errorhandling_l1_1_1
949 enable_api_ms_win_core_errorhandling_l1_1_2
950 enable_api_ms_win_core_errorhandling_l1_1_3
951 enable_api_ms_win_core_fibers_l1_1_0
952 enable_api_ms_win_core_fibers_l1_1_1
953 enable_api_ms_win_core_file_ansi_l2_1_0
954 enable_api_ms_win_core_file_fromapp_l1_1_0
955 enable_api_ms_win_core_file_l1_1_0
956 enable_api_ms_win_core_file_l1_2_0
957 enable_api_ms_win_core_file_l1_2_1
958 enable_api_ms_win_core_file_l1_2_2
959 enable_api_ms_win_core_file_l2_1_0
960 enable_api_ms_win_core_file_l2_1_1
961 enable_api_ms_win_core_file_l2_1_2
962 enable_api_ms_win_core_handle_l1_1_0
963 enable_api_ms_win_core_heap_l1_1_0
964 enable_api_ms_win_core_heap_l1_2_0
965 enable_api_ms_win_core_heap_l2_1_0
966 enable_api_ms_win_core_heap_obsolete_l1_1_0
967 enable_api_ms_win_core_interlocked_l1_1_0
968 enable_api_ms_win_core_interlocked_l1_2_0
969 enable_api_ms_win_core_io_l1_1_0
970 enable_api_ms_win_core_io_l1_1_1
971 enable_api_ms_win_core_job_l1_1_0
972 enable_api_ms_win_core_job_l2_1_0
973 enable_api_ms_win_core_kernel32_legacy_l1_1_0
974 enable_api_ms_win_core_kernel32_legacy_l1_1_1
975 enable_api_ms_win_core_kernel32_legacy_l1_1_2
976 enable_api_ms_win_core_kernel32_private_l1_1_1
977 enable_api_ms_win_core_largeinteger_l1_1_0
978 enable_api_ms_win_core_libraryloader_l1_1_0
979 enable_api_ms_win_core_libraryloader_l1_1_1
980 enable_api_ms_win_core_libraryloader_l1_2_0
981 enable_api_ms_win_core_libraryloader_l1_2_1
982 enable_api_ms_win_core_libraryloader_l1_2_2
983 enable_api_ms_win_core_libraryloader_l2_1_0
984 enable_api_ms_win_core_localization_l1_1_0
985 enable_api_ms_win_core_localization_l1_2_0
986 enable_api_ms_win_core_localization_l1_2_1
987 enable_api_ms_win_core_localization_l1_2_2
988 enable_api_ms_win_core_localization_l2_1_0
989 enable_api_ms_win_core_localization_obsolete_l1_1_0
990 enable_api_ms_win_core_localization_obsolete_l1_2_0
991 enable_api_ms_win_core_localization_obsolete_l1_3_0
992 enable_api_ms_win_core_localization_private_l1_1_0
993 enable_api_ms_win_core_localregistry_l1_1_0
994 enable_api_ms_win_core_memory_l1_1_0
995 enable_api_ms_win_core_memory_l1_1_1
996 enable_api_ms_win_core_memory_l1_1_2
997 enable_api_ms_win_core_memory_l1_1_3
998 enable_api_ms_win_core_memory_l1_1_4
999 enable_api_ms_win_core_misc_l1_1_0
1000 enable_api_ms_win_core_namedpipe_ansi_l1_1_0
1001 enable_api_ms_win_core_namedpipe_l1_1_0
1002 enable_api_ms_win_core_namedpipe_l1_2_0
1003 enable_api_ms_win_core_namespace_l1_1_0
1004 enable_api_ms_win_core_normalization_l1_1_0
1005 enable_api_ms_win_core_path_l1_1_0
1006 enable_api_ms_win_core_privateprofile_l1_1_1
1007 enable_api_ms_win_core_processenvironment_l1_1_0
1008 enable_api_ms_win_core_processenvironment_l1_2_0
1009 enable_api_ms_win_core_processthreads_l1_1_0
1010 enable_api_ms_win_core_processthreads_l1_1_1
1011 enable_api_ms_win_core_processthreads_l1_1_2
1012 enable_api_ms_win_core_processthreads_l1_1_3
1013 enable_api_ms_win_core_processtopology_obsolete_l1_1_0
1014 enable_api_ms_win_core_profile_l1_1_0
1015 enable_api_ms_win_core_psapi_ansi_l1_1_0
1016 enable_api_ms_win_core_psapi_l1_1_0
1017 enable_api_ms_win_core_psapi_obsolete_l1_1_0
1018 enable_api_ms_win_core_quirks_l1_1_0
1019 enable_api_ms_win_core_realtime_l1_1_0
1020 enable_api_ms_win_core_registry_l1_1_0
1021 enable_api_ms_win_core_registry_l2_1_0
1022 enable_api_ms_win_core_registry_l2_2_0
1023 enable_api_ms_win_core_registryuserspecific_l1_1_0
1024 enable_api_ms_win_core_rtlsupport_l1_1_0
1025 enable_api_ms_win_core_rtlsupport_l1_2_0
1026 enable_api_ms_win_core_shlwapi_legacy_l1_1_0
1027 enable_api_ms_win_core_shlwapi_obsolete_l1_1_0
1028 enable_api_ms_win_core_shlwapi_obsolete_l1_2_0
1029 enable_api_ms_win_core_shutdown_l1_1_0
1030 enable_api_ms_win_core_sidebyside_l1_1_0
1031 enable_api_ms_win_core_string_l1_1_0
1032 enable_api_ms_win_core_string_l2_1_0
1033 enable_api_ms_win_core_string_obsolete_l1_1_0
1034 enable_api_ms_win_core_stringansi_l1_1_0
1035 enable_api_ms_win_core_stringloader_l1_1_1
1036 enable_api_ms_win_core_synch_ansi_l1_1_0
1037 enable_api_ms_win_core_synch_l1_1_0
1038 enable_api_ms_win_core_synch_l1_2_0
1039 enable_api_ms_win_core_synch_l1_2_1
1040 enable_api_ms_win_core_sysinfo_l1_1_0
1041 enable_api_ms_win_core_sysinfo_l1_2_0
1042 enable_api_ms_win_core_sysinfo_l1_2_1
1043 enable_api_ms_win_core_systemtopology_l1_1_0
1044 enable_api_ms_win_core_threadpool_l1_1_0
1045 enable_api_ms_win_core_threadpool_l1_2_0
1046 enable_api_ms_win_core_threadpool_legacy_l1_1_0
1047 enable_api_ms_win_core_threadpool_private_l1_1_0
1048 enable_api_ms_win_core_timezone_l1_1_0
1049 enable_api_ms_win_core_toolhelp_l1_1_0
1050 enable_api_ms_win_core_url_l1_1_0
1051 enable_api_ms_win_core_util_l1_1_0
1052 enable_api_ms_win_core_version_l1_1_0
1053 enable_api_ms_win_core_version_l1_1_1
1054 enable_api_ms_win_core_version_private_l1_1_0
1055 enable_api_ms_win_core_versionansi_l1_1_0
1056 enable_api_ms_win_core_windowserrorreporting_l1_1_0
1057 enable_api_ms_win_core_winrt_error_l1_1_0
1058 enable_api_ms_win_core_winrt_error_l1_1_1
1059 enable_api_ms_win_core_winrt_errorprivate_l1_1_1
1060 enable_api_ms_win_core_winrt_l1_1_0
1061 enable_api_ms_win_core_winrt_registration_l1_1_0
1062 enable_api_ms_win_core_winrt_roparameterizediid_l1_1_0
1063 enable_api_ms_win_core_winrt_string_l1_1_0
1064 enable_api_ms_win_core_winrt_string_l1_1_1
1065 enable_api_ms_win_core_wow64_l1_1_0
1066 enable_api_ms_win_core_wow64_l1_1_1
1067 enable_api_ms_win_core_xstate_l1_1_0
1068 enable_api_ms_win_core_xstate_l2_1_0
1069 enable_api_ms_win_crt_conio_l1_1_0
1070 enable_api_ms_win_crt_convert_l1_1_0
1071 enable_api_ms_win_crt_environment_l1_1_0
1072 enable_api_ms_win_crt_filesystem_l1_1_0
1073 enable_api_ms_win_crt_heap_l1_1_0
1074 enable_api_ms_win_crt_locale_l1_1_0
1075 enable_api_ms_win_crt_math_l1_1_0
1076 enable_api_ms_win_crt_multibyte_l1_1_0
1077 enable_api_ms_win_crt_private_l1_1_0
1078 enable_api_ms_win_crt_process_l1_1_0
1079 enable_api_ms_win_crt_runtime_l1_1_0
1080 enable_api_ms_win_crt_stdio_l1_1_0
1081 enable_api_ms_win_crt_string_l1_1_0
1082 enable_api_ms_win_crt_time_l1_1_0
1083 enable_api_ms_win_crt_utility_l1_1_0
1084 enable_api_ms_win_devices_config_l1_1_0
1085 enable_api_ms_win_devices_config_l1_1_1
1086 enable_api_ms_win_devices_query_l1_1_1
1087 enable_api_ms_win_downlevel_advapi32_l1_1_0
1088 enable_api_ms_win_downlevel_advapi32_l2_1_0
1089 enable_api_ms_win_downlevel_kernel32_l2_1_0
1090 enable_api_ms_win_downlevel_normaliz_l1_1_0
1091 enable_api_ms_win_downlevel_ole32_l1_1_0
1092 enable_api_ms_win_downlevel_shell32_l1_1_0
1093 enable_api_ms_win_downlevel_shlwapi_l1_1_0
1094 enable_api_ms_win_downlevel_shlwapi_l2_1_0
1095 enable_api_ms_win_downlevel_user32_l1_1_0
1096 enable_api_ms_win_downlevel_version_l1_1_0
1097 enable_api_ms_win_dx_d3dkmt_l1_1_0
1098 enable_api_ms_win_eventing_classicprovider_l1_1_0
1099 enable_api_ms_win_eventing_consumer_l1_1_0
1100 enable_api_ms_win_eventing_controller_l1_1_0
1101 enable_api_ms_win_eventing_legacy_l1_1_0
1102 enable_api_ms_win_eventing_provider_l1_1_0
1103 enable_api_ms_win_eventlog_legacy_l1_1_0
1104 enable_api_ms_win_gaming_tcui_l1_1_0
1105 enable_api_ms_win_gdi_dpiinfo_l1_1_0
1106 enable_api_ms_win_mm_joystick_l1_1_0
1107 enable_api_ms_win_mm_misc_l1_1_1
1108 enable_api_ms_win_mm_mme_l1_1_0
1109 enable_api_ms_win_mm_time_l1_1_0
1110 enable_api_ms_win_ntuser_dc_access_l1_1_0
1111 enable_api_ms_win_ntuser_rectangle_l1_1_0
1112 enable_api_ms_win_ntuser_sysparams_l1_1_0
1113 enable_api_ms_win_perf_legacy_l1_1_0
1114 enable_api_ms_win_power_base_l1_1_0
1115 enable_api_ms_win_power_setting_l1_1_0
1116 enable_api_ms_win_rtcore_ntuser_draw_l1_1_0
1117 enable_api_ms_win_rtcore_ntuser_private_l1_1_0
1118 enable_api_ms_win_rtcore_ntuser_private_l1_1_4
1119 enable_api_ms_win_rtcore_ntuser_window_l1_1_0
1120 enable_api_ms_win_rtcore_ntuser_winevent_l1_1_0
1121 enable_api_ms_win_rtcore_ntuser_wmpointer_l1_1_0
1122 enable_api_ms_win_rtcore_ntuser_wmpointer_l1_1_3
1123 enable_api_ms_win_security_activedirectoryclient_l1_1_0
1124 enable_api_ms_win_security_audit_l1_1_1
1125 enable_api_ms_win_security_base_l1_1_0
1126 enable_api_ms_win_security_base_l1_2_0
1127 enable_api_ms_win_security_base_private_l1_1_1
1128 enable_api_ms_win_security_credentials_l1_1_0
1129 enable_api_ms_win_security_cryptoapi_l1_1_0
1130 enable_api_ms_win_security_grouppolicy_l1_1_0
1131 enable_api_ms_win_security_lsalookup_l1_1_0
1132 enable_api_ms_win_security_lsalookup_l1_1_1
1133 enable_api_ms_win_security_lsalookup_l2_1_0
1134 enable_api_ms_win_security_lsalookup_l2_1_1
1135 enable_api_ms_win_security_lsapolicy_l1_1_0
1136 enable_api_ms_win_security_provider_l1_1_0
1137 enable_api_ms_win_security_sddl_l1_1_0
1138 enable_api_ms_win_security_systemfunctions_l1_1_0
1139 enable_api_ms_win_service_core_l1_1_0
1140 enable_api_ms_win_service_core_l1_1_1
1141 enable_api_ms_win_service_management_l1_1_0
1142 enable_api_ms_win_service_management_l2_1_0
1143 enable_api_ms_win_service_private_l1_1_1
1144 enable_api_ms_win_service_winsvc_l1_1_0
1145 enable_api_ms_win_service_winsvc_l1_2_0
1146 enable_api_ms_win_shcore_obsolete_l1_1_0
1147 enable_api_ms_win_shcore_scaling_l1_1_0
1148 enable_api_ms_win_shcore_scaling_l1_1_1
1149 enable_api_ms_win_shcore_stream_l1_1_0
1150 enable_api_ms_win_shcore_stream_winrt_l1_1_0
1151 enable_api_ms_win_shcore_thread_l1_1_0
1152 enable_api_ms_win_shell_shellcom_l1_1_0
1153 enable_api_ms_win_shell_shellfolders_l1_1_0
1154 enable_apphelp
1155 enable_appwiz_cpl
1156 enable_atl
1157 enable_atl100
1158 enable_atl110
1159 enable_atl80
1160 enable_atl90
1161 enable_atlthunk
1162 enable_atmlib
1163 enable_authz
1164 enable_avicap32
1165 enable_avifil32
1166 enable_avrt
1167 enable_bcrypt
1168 enable_bluetoothapis
1169 enable_browseui
1170 enable_bthprops_cpl
1171 enable_cabinet
1172 enable_capi2032
1173 enable_cards
1174 enable_cdosys
1175 enable_cfgmgr32
1176 enable_clusapi
1177 enable_combase
1178 enable_comcat
1179 enable_comctl32
1180 enable_comdlg32
1181 enable_compstui
1182 enable_comsvcs
1183 enable_concrt140
1184 enable_connect
1185 enable_credui
1186 enable_crtdll
1187 enable_crypt32
1188 enable_cryptdlg
1189 enable_cryptdll
1190 enable_cryptext
1191 enable_cryptnet
1192 enable_cryptsp
1193 enable_cryptui
1194 enable_ctapi32
1195 enable_ctl3d32
1196 enable_d2d1
1197 enable_d3d10
1198 enable_d3d10_1
1199 enable_d3d10core
1200 enable_d3d11
1201 enable_d3d12
1202 enable_d3d8
1203 enable_d3d8thk
1204 enable_d3d9
1205 enable_d3dcompiler_33
1206 enable_d3dcompiler_34
1207 enable_d3dcompiler_35
1208 enable_d3dcompiler_36
1209 enable_d3dcompiler_37
1210 enable_d3dcompiler_38
1211 enable_d3dcompiler_39
1212 enable_d3dcompiler_40
1213 enable_d3dcompiler_41
1214 enable_d3dcompiler_42
1215 enable_d3dcompiler_43
1216 enable_d3dcompiler_46
1217 enable_d3dcompiler_47
1218 enable_d3dim
1219 enable_d3dim700
1220 enable_d3drm
1221 enable_d3dx10_33
1222 enable_d3dx10_34
1223 enable_d3dx10_35
1224 enable_d3dx10_36
1225 enable_d3dx10_37
1226 enable_d3dx10_38
1227 enable_d3dx10_39
1228 enable_d3dx10_40
1229 enable_d3dx10_41
1230 enable_d3dx10_42
1231 enable_d3dx10_43
1232 enable_d3dx11_42
1233 enable_d3dx11_43
1234 enable_d3dx9_24
1235 enable_d3dx9_25
1236 enable_d3dx9_26
1237 enable_d3dx9_27
1238 enable_d3dx9_28
1239 enable_d3dx9_29
1240 enable_d3dx9_30
1241 enable_d3dx9_31
1242 enable_d3dx9_32
1243 enable_d3dx9_33
1244 enable_d3dx9_34
1245 enable_d3dx9_35
1246 enable_d3dx9_36
1247 enable_d3dx9_37
1248 enable_d3dx9_38
1249 enable_d3dx9_39
1250 enable_d3dx9_40
1251 enable_d3dx9_41
1252 enable_d3dx9_42
1253 enable_d3dx9_43
1254 enable_d3dxof
1255 enable_davclnt
1256 enable_dbgeng
1257 enable_dbghelp
1258 enable_dciman32
1259 enable_dcomp
1260 enable_ddraw
1261 enable_ddrawex
1262 enable_devenum
1263 enable_dhcpcsvc
1264 enable_dhtmled_ocx
1265 enable_difxapi
1266 enable_dinput
1267 enable_dinput8
1268 enable_directmanipulation
1269 enable_dispex
1270 enable_dmband
1271 enable_dmcompos
1272 enable_dmime
1273 enable_dmloader
1274 enable_dmoguids
1275 enable_dmscript
1276 enable_dmstyle
1277 enable_dmsynth
1278 enable_dmusic
1279 enable_dmusic32
1280 enable_dnsapi
1281 enable_dplay
1282 enable_dplayx
1283 enable_dpnaddr
1284 enable_dpnet
1285 enable_dpnhpast
1286 enable_dpnlobby
1287 enable_dpvoice
1288 enable_dpwsockx
1289 enable_drmclien
1290 enable_dsdmo
1291 enable_dsound
1292 enable_dsquery
1293 enable_dssenh
1294 enable_dsuiext
1295 enable_dswave
1296 enable_dwmapi
1297 enable_dwrite
1298 enable_dx8vb
1299 enable_dxdiagn
1300 enable_dxerr8
1301 enable_dxerr9
1302 enable_dxgi
1303 enable_dxguid
1304 enable_dxva2
1305 enable_esent
1306 enable_evr
1307 enable_explorerframe
1308 enable_ext_ms_win_authz_context_l1_1_0
1309 enable_ext_ms_win_domainjoin_netjoin_l1_1_0
1310 enable_ext_ms_win_dwmapi_ext_l1_1_0
1311 enable_ext_ms_win_gdi_dc_create_l1_1_0
1312 enable_ext_ms_win_gdi_dc_create_l1_1_1
1313 enable_ext_ms_win_gdi_dc_l1_2_0
1314 enable_ext_ms_win_gdi_devcaps_l1_1_0
1315 enable_ext_ms_win_gdi_draw_l1_1_0
1316 enable_ext_ms_win_gdi_draw_l1_1_1
1317 enable_ext_ms_win_gdi_font_l1_1_0
1318 enable_ext_ms_win_gdi_font_l1_1_1
1319 enable_ext_ms_win_gdi_render_l1_1_0
1320 enable_ext_ms_win_kernel32_package_current_l1_1_0
1321 enable_ext_ms_win_kernel32_package_l1_1_1
1322 enable_ext_ms_win_ntuser_dialogbox_l1_1_0
1323 enable_ext_ms_win_ntuser_draw_l1_1_0
1324 enable_ext_ms_win_ntuser_gui_l1_1_0
1325 enable_ext_ms_win_ntuser_gui_l1_3_0
1326 enable_ext_ms_win_ntuser_keyboard_l1_3_0
1327 enable_ext_ms_win_ntuser_message_l1_1_0
1328 enable_ext_ms_win_ntuser_message_l1_1_1
1329 enable_ext_ms_win_ntuser_misc_l1_1_0
1330 enable_ext_ms_win_ntuser_misc_l1_2_0
1331 enable_ext_ms_win_ntuser_misc_l1_5_1
1332 enable_ext_ms_win_ntuser_mouse_l1_1_0
1333 enable_ext_ms_win_ntuser_private_l1_1_1
1334 enable_ext_ms_win_ntuser_private_l1_3_1
1335 enable_ext_ms_win_ntuser_rectangle_ext_l1_1_0
1336 enable_ext_ms_win_ntuser_uicontext_ext_l1_1_0
1337 enable_ext_ms_win_ntuser_window_l1_1_0
1338 enable_ext_ms_win_ntuser_window_l1_1_1
1339 enable_ext_ms_win_ntuser_window_l1_1_4
1340 enable_ext_ms_win_ntuser_windowclass_l1_1_0
1341 enable_ext_ms_win_ntuser_windowclass_l1_1_1
1342 enable_ext_ms_win_oleacc_l1_1_0
1343 enable_ext_ms_win_ras_rasapi32_l1_1_0
1344 enable_ext_ms_win_rtcore_gdi_devcaps_l1_1_0
1345 enable_ext_ms_win_rtcore_gdi_object_l1_1_0
1346 enable_ext_ms_win_rtcore_gdi_rgn_l1_1_0
1347 enable_ext_ms_win_rtcore_ntuser_cursor_l1_1_0
1348 enable_ext_ms_win_rtcore_ntuser_dc_access_l1_1_0
1349 enable_ext_ms_win_rtcore_ntuser_dpi_l1_1_0
1350 enable_ext_ms_win_rtcore_ntuser_dpi_l1_2_0
1351 enable_ext_ms_win_rtcore_ntuser_rawinput_l1_1_0
1352 enable_ext_ms_win_rtcore_ntuser_syscolors_l1_1_0
1353 enable_ext_ms_win_rtcore_ntuser_sysparams_l1_1_0
1354 enable_ext_ms_win_security_credui_l1_1_0
1355 enable_ext_ms_win_security_cryptui_l1_1_0
1356 enable_ext_ms_win_shell_comctl32_init_l1_1_0
1357 enable_ext_ms_win_shell_comdlg32_l1_1_0
1358 enable_ext_ms_win_shell_shell32_l1_2_0
1359 enable_ext_ms_win_uxtheme_themes_l1_1_0
1360 enable_faultrep
1361 enable_feclient
1362 enable_fltlib
1363 enable_fltmgr_sys
1364 enable_fntcache
1365 enable_fontsub
1366 enable_fusion
1367 enable_fwpuclnt
1368 enable_gameux
1369 enable_gamingtcui
1370 enable_gdi32
1371 enable_gdiplus
1372 enable_glu32
1373 enable_gphoto2_ds
1374 enable_gpkcsp
1375 enable_hal
1376 enable_hhctrl_ocx
1377 enable_hid
1378 enable_hidclass_sys
1379 enable_hlink
1380 enable_hnetcfg
1381 enable_http_sys
1382 enable_httpapi
1383 enable_iccvid
1384 enable_icmp
1385 enable_ieframe
1386 enable_ieproxy
1387 enable_imaadp32_acm
1388 enable_imagehlp
1389 enable_imm32
1390 enable_inetcomm
1391 enable_inetcpl_cpl
1392 enable_inetmib1
1393 enable_infosoft
1394 enable_initpki
1395 enable_inkobj
1396 enable_inseng
1397 enable_iphlpapi
1398 enable_iprop
1399 enable_irprops_cpl
1400 enable_itircl
1401 enable_itss
1402 enable_joy_cpl
1403 enable_jscript
1404 enable_jsproxy
1405 enable_kerberos
1406 enable_kernel32
1407 enable_kernelbase
1408 enable_ksecdd_sys
1409 enable_ksproxy_ax
1410 enable_ksuser
1411 enable_ktmw32
1412 enable_l3codeca_acm
1413 enable_loadperf
1414 enable_localspl
1415 enable_localui
1416 enable_lz32
1417 enable_mapi32
1418 enable_mapistub
1419 enable_mciavi32
1420 enable_mcicda
1421 enable_mciqtz32
1422 enable_mciseq
1423 enable_mciwave
1424 enable_mf
1425 enable_mf3216
1426 enable_mferror
1427 enable_mfmediaengine
1428 enable_mfplat
1429 enable_mfplay
1430 enable_mfreadwrite
1431 enable_mfuuid
1432 enable_mgmtapi
1433 enable_midimap
1434 enable_mlang
1435 enable_mmcndmgr
1436 enable_mmdevapi
1437 enable_mountmgr_sys
1438 enable_mp3dmod
1439 enable_mpr
1440 enable_mprapi
1441 enable_msacm32_drv
1442 enable_msacm32
1443 enable_msado15
1444 enable_msadp32_acm
1445 enable_msasn1
1446 enable_mscat32
1447 enable_mscms
1448 enable_mscoree
1449 enable_mscorwks
1450 enable_msctf
1451 enable_msctfp
1452 enable_msdaps
1453 enable_msdelta
1454 enable_msdmo
1455 enable_msdrm
1456 enable_msftedit
1457 enable_msg711_acm
1458 enable_msgsm32_acm
1459 enable_mshtml_tlb
1460 enable_mshtml
1461 enable_msi
1462 enable_msident
1463 enable_msimg32
1464 enable_msimsg
1465 enable_msimtf
1466 enable_msisip
1467 enable_msisys_ocx
1468 enable_msls31
1469 enable_msnet32
1470 enable_mspatcha
1471 enable_msports
1472 enable_msrle32
1473 enable_msscript_ocx
1474 enable_mssign32
1475 enable_mssip32
1476 enable_mstask
1477 enable_msv1_0
1478 enable_msvcirt
1479 enable_msvcm80
1480 enable_msvcm90
1481 enable_msvcp100
1482 enable_msvcp110
1483 enable_msvcp120
1484 enable_msvcp120_app
1485 enable_msvcp140
1486 enable_msvcp140_1
1487 enable_msvcp60
1488 enable_msvcp70
1489 enable_msvcp71
1490 enable_msvcp80
1491 enable_msvcp90
1492 enable_msvcr100
1493 enable_msvcr110
1494 enable_msvcr120
1495 enable_msvcr120_app
1496 enable_msvcr70
1497 enable_msvcr71
1498 enable_msvcr80
1499 enable_msvcr90
1500 enable_msvcrt
1501 enable_msvcrt20
1502 enable_msvcrt40
1503 enable_msvcrtd
1504 enable_msvfw32
1505 enable_msvidc32
1506 enable_mswsock
1507 enable_msxml
1508 enable_msxml2
1509 enable_msxml3
1510 enable_msxml4
1511 enable_msxml6
1512 enable_mtxdm
1513 enable_ncrypt
1514 enable_nddeapi
1515 enable_ndis_sys
1516 enable_netapi32
1517 enable_netcfgx
1518 enable_netio_sys
1519 enable_netprofm
1520 enable_netutils
1521 enable_newdev
1522 enable_ninput
1523 enable_normaliz
1524 enable_npmshtml
1525 enable_npptools
1526 enable_ntdll
1527 enable_ntdsapi
1528 enable_ntoskrnl_exe
1529 enable_ntprint
1530 enable_objsel
1531 enable_odbc32
1532 enable_odbcbcp
1533 enable_odbccp32
1534 enable_odbccu32
1535 enable_ole32
1536 enable_oleacc
1537 enable_oleaut32
1538 enable_olecli32
1539 enable_oledb32
1540 enable_oledlg
1541 enable_olepro32
1542 enable_olesvr32
1543 enable_olethk32
1544 enable_opcservices
1545 enable_openal32
1546 enable_opencl
1547 enable_opengl32
1548 enable_packager
1549 enable_pdh
1550 enable_photometadatahandler
1551 enable_pidgen
1552 enable_powrprof
1553 enable_printui
1554 enable_prntvpt
1555 enable_propsys
1556 enable_psapi
1557 enable_pstorec
1558 enable_pwrshplugin
1559 enable_qasf
1560 enable_qcap
1561 enable_qdvd
1562 enable_qedit
1563 enable_qmgr
1564 enable_qmgrprxy
1565 enable_quartz
1566 enable_query
1567 enable_qwave
1568 enable_rasapi32
1569 enable_rasdlg
1570 enable_regapi
1571 enable_resutils
1572 enable_riched20
1573 enable_riched32
1574 enable_rpcrt4
1575 enable_rsabase
1576 enable_rsaenh
1577 enable_rstrtmgr
1578 enable_rtutils
1579 enable_rtworkq
1580 enable_samlib
1581 enable_sane_ds
1582 enable_sapi
1583 enable_sas
1584 enable_scarddlg
1585 enable_sccbase
1586 enable_schannel
1587 enable_schedsvc
1588 enable_scrobj
1589 enable_scrrun
1590 enable_scsiport_sys
1591 enable_sechost
1592 enable_secur32
1593 enable_security
1594 enable_sensapi
1595 enable_serialui
1596 enable_setupapi
1597 enable_sfc
1598 enable_sfc_os
1599 enable_shcore
1600 enable_shdoclc
1601 enable_shdocvw
1602 enable_shell32
1603 enable_shfolder
1604 enable_shlwapi
1605 enable_slbcsp
1606 enable_slc
1607 enable_snmpapi
1608 enable_softpub
1609 enable_spoolss
1610 enable_srclient
1611 enable_srvcli
1612 enable_sspicli
1613 enable_stdole2_tlb
1614 enable_stdole32_tlb
1615 enable_sti
1616 enable_strmbase
1617 enable_strmdll
1618 enable_strmiids
1619 enable_svrapi
1620 enable_sxs
1621 enable_t2embed
1622 enable_tapi32
1623 enable_taskschd
1624 enable_tdh
1625 enable_tdi_sys
1626 enable_traffic
1627 enable_twain_32
1628 enable_tzres
1629 enable_ucrtbase
1630 enable_uianimation
1631 enable_uiautomationcore
1632 enable_uiribbon
1633 enable_unicows
1634 enable_updspapi
1635 enable_url
1636 enable_urlmon
1637 enable_usbd_sys
1638 enable_user32
1639 enable_userenv
1640 enable_usp10
1641 enable_utildll
1642 enable_uuid
1643 enable_uxtheme
1644 enable_vbscript
1645 enable_vcomp
1646 enable_vcomp100
1647 enable_vcomp110
1648 enable_vcomp120
1649 enable_vcomp140
1650 enable_vcomp90
1651 enable_vcruntime140
1652 enable_vcruntime140_1
1653 enable_vdmdbg
1654 enable_version
1655 enable_vga
1656 enable_virtdisk
1657 enable_vssapi
1658 enable_vulkan_1
1659 enable_wbemdisp
1660 enable_wbemprox
1661 enable_wbemuuid
1662 enable_wdscore
1663 enable_webservices
1664 enable_websocket
1665 enable_wer
1666 enable_wevtapi
1667 enable_wevtsvc
1668 enable_wiaservc
1669 enable_wimgapi
1670 enable_windows_gaming_input
1671 enable_windows_globalization
1672 enable_windows_media_devices
1673 enable_windows_media_speech
1674 enable_windowscodecs
1675 enable_windowscodecsext
1676 enable_winealsa_drv
1677 enable_wineandroid_drv
1678 enable_winebus_sys
1679 enable_winecoreaudio_drv
1680 enable_winecrt0
1681 enable_wined3d
1682 enable_winegstreamer
1683 enable_winehid_sys
1684 enable_winejoystick_drv
1685 enable_winemac_drv
1686 enable_winemapi
1687 enable_wineoss_drv
1688 enable_wineps_drv
1689 enable_winepulse_drv
1690 enable_wineqtdecoder
1691 enable_wineusb_sys
1692 enable_winevulkan
1693 enable_winex11_drv
1694 enable_wing32
1695 enable_winhttp
1696 enable_wininet
1697 enable_winmm
1698 enable_winnls32
1699 enable_winscard
1700 enable_winspool_drv
1701 enable_winsta
1702 enable_wintab32
1703 enable_wintrust
1704 enable_winusb
1705 enable_wlanapi
1706 enable_wlanui
1707 enable_wldap32
1708 enable_wmasf
1709 enable_wmcodecdspuuid
1710 enable_wmi
1711 enable_wmiutils
1712 enable_wmp
1713 enable_wmphoto
1714 enable_wmvcore
1715 enable_wnaspi32
1716 enable_wow64cpu
1717 enable_wpc
1718 enable_wpcap
1719 enable_ws2_32
1720 enable_wsdapi
1721 enable_wshom_ocx
1722 enable_wsnmp32
1723 enable_wsock32
1724 enable_wtsapi32
1725 enable_wuapi
1726 enable_wuaueng
1727 enable_x3daudio1_0
1728 enable_x3daudio1_1
1729 enable_x3daudio1_2
1730 enable_x3daudio1_3
1731 enable_x3daudio1_4
1732 enable_x3daudio1_5
1733 enable_x3daudio1_6
1734 enable_x3daudio1_7
1735 enable_xactengine2_0
1736 enable_xactengine2_4
1737 enable_xactengine2_7
1738 enable_xactengine2_9
1739 enable_xactengine3_0
1740 enable_xactengine3_1
1741 enable_xactengine3_2
1742 enable_xactengine3_3
1743 enable_xactengine3_4
1744 enable_xactengine3_5
1745 enable_xactengine3_6
1746 enable_xactengine3_7
1747 enable_xapofx1_1
1748 enable_xapofx1_2
1749 enable_xapofx1_3
1750 enable_xapofx1_4
1751 enable_xapofx1_5
1752 enable_xaudio2_0
1753 enable_xaudio2_1
1754 enable_xaudio2_2
1755 enable_xaudio2_3
1756 enable_xaudio2_4
1757 enable_xaudio2_5
1758 enable_xaudio2_6
1759 enable_xaudio2_7
1760 enable_xaudio2_8
1761 enable_xaudio2_9
1762 enable_xinput1_1
1763 enable_xinput1_2
1764 enable_xinput1_3
1765 enable_xinput1_4
1766 enable_xinput9_1_0
1767 enable_xmllite
1768 enable_xolehlp
1769 enable_xpsprint
1770 enable_xpssvcs
1771 enable_fonts
1772 enable_include
1773 enable_port
1774 enable_wine
1775 enable_wpp
1776 enable_loader
1777 enable_nls
1778 enable_po
1779 enable_arp
1780 enable_aspnet_regiis
1781 enable_attrib
1782 enable_cabarc
1783 enable_cacls
1784 enable_chcp_com
1785 enable_clock
1786 enable_cmd
1787 enable_conhost
1788 enable_control
1789 enable_cscript
1790 enable_dism
1791 enable_dplaysvr
1792 enable_dpnsvr
1793 enable_dpvsetup
1794 enable_dxdiag
1795 enable_eject
1796 enable_expand
1797 enable_explorer
1798 enable_extrac32
1799 enable_fc
1800 enable_find
1801 enable_findstr
1802 enable_fsutil
1803 enable_hh
1804 enable_hostname
1805 enable_icacls
1806 enable_icinfo
1807 enable_iexplore
1808 enable_ipconfig
1809 enable_lodctr
1810 enable_mofcomp
1811 enable_mshta
1812 enable_msidb
1813 enable_msiexec
1814 enable_msinfo32
1815 enable_net
1816 enable_netsh
1817 enable_netstat
1818 enable_ngen
1819 enable_notepad
1820 enable_oleview
1821 enable_ping
1822 enable_plugplay
1823 enable_powershell
1824 enable_presentationfontcache
1825 enable_progman
1826 enable_reg
1827 enable_regasm
1828 enable_regedit
1829 enable_regini
1830 enable_regsvcs
1831 enable_regsvr32
1832 enable_rpcss
1833 enable_rundll32
1834 enable_sc
1835 enable_schtasks
1836 enable_sdbinst
1837 enable_secedit
1838 enable_servicemodelreg
1839 enable_services
1840 enable_shutdown
1841 enable_spoolsv
1842 enable_start
1843 enable_subst
1844 enable_svchost
1845 enable_systeminfo
1846 enable_taskkill
1847 enable_tasklist
1848 enable_taskmgr
1849 enable_termsv
1850 enable_uninstaller
1851 enable_unlodctr
1852 enable_view
1853 enable_wevtutil
1854 enable_where
1855 enable_whoami
1856 enable_wineboot
1857 enable_winebrowser
1858 enable_winecfg
1859 enable_wineconsole
1860 enable_winedbg
1861 enable_winedevice
1862 enable_winefile
1863 enable_winemenubuilder
1864 enable_winemine
1865 enable_winemsibuilder
1866 enable_winepath
1867 enable_winetest
1868 enable_winhlp32
1869 enable_winmgmt
1870 enable_winver
1871 enable_wmic
1872 enable_wmplayer
1873 enable_wordpad
1874 enable_write
1875 enable_wscript
1876 enable_wuauserv
1877 enable_wusa
1878 enable_xcopy
1879 enable_server
1880 enable_tools
1881 enable_sfnt2fon
1882 enable_widl
1883 enable_winebuild
1884 enable_winedump
1885 enable_winegcc
1886 enable_winemaker
1887 enable_wmc
1888 enable_wrc
1890 ac_precious_vars='build_alias
1891 host_alias
1892 target_alias
1894 CFLAGS
1895 LDFLAGS
1896 LIBS
1897 CPPFLAGS
1899 CXXFLAGS
1902 OBJC
1903 OBJCFLAGS
1904 OBJCPP
1905 XMKMF
1906 XML2_CFLAGS
1907 XML2_LIBS
1908 XSLT_CFLAGS
1909 XSLT_LIBS
1910 INOTIFY_CFLAGS
1911 INOTIFY_LIBS
1912 DBUS_CFLAGS
1913 DBUS_LIBS
1914 HAL_CFLAGS
1915 HAL_LIBS
1916 GNUTLS_CFLAGS
1917 GNUTLS_LIBS
1918 SANE_CFLAGS
1919 SANE_LIBS
1920 USB_CFLAGS
1921 USB_LIBS
1922 GPHOTO2_CFLAGS
1923 GPHOTO2_LIBS
1924 GPHOTO2_PORT_CFLAGS
1925 GPHOTO2_PORT_LIBS
1926 LCMS2_CFLAGS
1927 LCMS2_LIBS
1928 FREETYPE_CFLAGS
1929 FREETYPE_LIBS
1930 PULSE_CFLAGS
1931 PULSE_LIBS
1932 GSTREAMER_CFLAGS
1933 GSTREAMER_LIBS
1934 UDEV_CFLAGS
1935 UDEV_LIBS
1936 UNWIND_CFLAGS
1937 UNWIND_LIBS
1938 SDL2_CFLAGS
1939 SDL2_LIBS
1940 FAUDIO_CFLAGS
1941 FAUDIO_LIBS
1942 CAPI20_CFLAGS
1943 CAPI20_LIBS
1944 CUPS_CFLAGS
1945 CUPS_LIBS
1946 FONTCONFIG_CFLAGS
1947 FONTCONFIG_LIBS
1948 KRB5_CFLAGS
1949 KRB5_LIBS
1950 GSSAPI_CFLAGS
1951 GSSAPI_LIBS
1952 JPEG_CFLAGS
1953 JPEG_LIBS
1954 JXRLIB_CFLAGS
1955 JXRLIB_LIBS
1956 PNG_CFLAGS
1957 PNG_LIBS
1958 TIFF_CFLAGS
1959 TIFF_LIBS
1960 MPG123_CFLAGS
1961 MPG123_LIBS
1962 NETAPI_CFLAGS
1963 NETAPI_LIBS
1964 VKD3D_CFLAGS
1965 VKD3D_LIBS
1966 VKD3D_SHADER_CFLAGS
1967 VKD3D_SHADER_LIBS
1968 LDAP_CFLAGS
1969 LDAP_LIBS'
1972 # Initialize some variables set by options.
1973 ac_init_help=
1974 ac_init_version=false
1975 ac_unrecognized_opts=
1976 ac_unrecognized_sep=
1977 # The variables have the same names as the options, with
1978 # dashes changed to underlines.
1979 cache_file=/dev/null
1980 exec_prefix=NONE
1981 no_create=
1982 no_recursion=
1983 prefix=NONE
1984 program_prefix=NONE
1985 program_suffix=NONE
1986 program_transform_name=s,x,x,
1987 silent=
1988 site=
1989 srcdir=
1990 verbose=
1991 x_includes=NONE
1992 x_libraries=NONE
1994 # Installation directory options.
1995 # These are left unexpanded so users can "make install exec_prefix=/foo"
1996 # and all the variables that are supposed to be based on exec_prefix
1997 # by default will actually change.
1998 # Use braces instead of parens because sh, perl, etc. also accept them.
1999 # (The list follows the same order as the GNU Coding Standards.)
2000 bindir='${exec_prefix}/bin'
2001 sbindir='${exec_prefix}/sbin'
2002 libexecdir='${exec_prefix}/libexec'
2003 datarootdir='${prefix}/share'
2004 datadir='${datarootdir}'
2005 sysconfdir='${prefix}/etc'
2006 sharedstatedir='${prefix}/com'
2007 localstatedir='${prefix}/var'
2008 runstatedir='${localstatedir}/run'
2009 includedir='${prefix}/include'
2010 oldincludedir='/usr/include'
2011 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
2012 infodir='${datarootdir}/info'
2013 htmldir='${docdir}'
2014 dvidir='${docdir}'
2015 pdfdir='${docdir}'
2016 psdir='${docdir}'
2017 libdir='${exec_prefix}/lib'
2018 localedir='${datarootdir}/locale'
2019 mandir='${datarootdir}/man'
2021 ac_prev=
2022 ac_dashdash=
2023 for ac_option
2025 # If the previous option needs an argument, assign it.
2026 if test -n "$ac_prev"; then
2027 eval $ac_prev=\$ac_option
2028 ac_prev=
2029 continue
2032 case $ac_option in
2033 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
2034 *=) ac_optarg= ;;
2035 *) ac_optarg=yes ;;
2036 esac
2038 # Accept the important Cygnus configure options, so we can diagnose typos.
2040 case $ac_dashdash$ac_option in
2042 ac_dashdash=yes ;;
2044 -bindir | --bindir | --bindi | --bind | --bin | --bi)
2045 ac_prev=bindir ;;
2046 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
2047 bindir=$ac_optarg ;;
2049 -build | --build | --buil | --bui | --bu)
2050 ac_prev=build_alias ;;
2051 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
2052 build_alias=$ac_optarg ;;
2054 -cache-file | --cache-file | --cache-fil | --cache-fi \
2055 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
2056 ac_prev=cache_file ;;
2057 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
2058 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
2059 cache_file=$ac_optarg ;;
2061 --config-cache | -C)
2062 cache_file=config.cache ;;
2064 -datadir | --datadir | --datadi | --datad)
2065 ac_prev=datadir ;;
2066 -datadir=* | --datadir=* | --datadi=* | --datad=*)
2067 datadir=$ac_optarg ;;
2069 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
2070 | --dataroo | --dataro | --datar)
2071 ac_prev=datarootdir ;;
2072 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
2073 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
2074 datarootdir=$ac_optarg ;;
2076 -disable-* | --disable-*)
2077 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
2078 # Reject names that are not valid shell variable names.
2079 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
2080 as_fn_error $? "invalid feature name: $ac_useropt"
2081 ac_useropt_orig=$ac_useropt
2082 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
2083 case $ac_user_opts in
2085 "enable_$ac_useropt"
2086 "*) ;;
2087 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
2088 ac_unrecognized_sep=', ';;
2089 esac
2090 eval enable_$ac_useropt=no ;;
2092 -docdir | --docdir | --docdi | --doc | --do)
2093 ac_prev=docdir ;;
2094 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
2095 docdir=$ac_optarg ;;
2097 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
2098 ac_prev=dvidir ;;
2099 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
2100 dvidir=$ac_optarg ;;
2102 -enable-* | --enable-*)
2103 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
2104 # Reject names that are not valid shell variable names.
2105 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
2106 as_fn_error $? "invalid feature name: $ac_useropt"
2107 ac_useropt_orig=$ac_useropt
2108 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
2109 case $ac_user_opts in
2111 "enable_$ac_useropt"
2112 "*) ;;
2113 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
2114 ac_unrecognized_sep=', ';;
2115 esac
2116 eval enable_$ac_useropt=\$ac_optarg ;;
2118 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
2119 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
2120 | --exec | --exe | --ex)
2121 ac_prev=exec_prefix ;;
2122 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
2123 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
2124 | --exec=* | --exe=* | --ex=*)
2125 exec_prefix=$ac_optarg ;;
2127 -gas | --gas | --ga | --g)
2128 # Obsolete; use --with-gas.
2129 with_gas=yes ;;
2131 -help | --help | --hel | --he | -h)
2132 ac_init_help=long ;;
2133 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
2134 ac_init_help=recursive ;;
2135 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
2136 ac_init_help=short ;;
2138 -host | --host | --hos | --ho)
2139 ac_prev=host_alias ;;
2140 -host=* | --host=* | --hos=* | --ho=*)
2141 host_alias=$ac_optarg ;;
2143 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
2144 ac_prev=htmldir ;;
2145 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
2146 | --ht=*)
2147 htmldir=$ac_optarg ;;
2149 -includedir | --includedir | --includedi | --included | --include \
2150 | --includ | --inclu | --incl | --inc)
2151 ac_prev=includedir ;;
2152 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
2153 | --includ=* | --inclu=* | --incl=* | --inc=*)
2154 includedir=$ac_optarg ;;
2156 -infodir | --infodir | --infodi | --infod | --info | --inf)
2157 ac_prev=infodir ;;
2158 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
2159 infodir=$ac_optarg ;;
2161 -libdir | --libdir | --libdi | --libd)
2162 ac_prev=libdir ;;
2163 -libdir=* | --libdir=* | --libdi=* | --libd=*)
2164 libdir=$ac_optarg ;;
2166 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
2167 | --libexe | --libex | --libe)
2168 ac_prev=libexecdir ;;
2169 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
2170 | --libexe=* | --libex=* | --libe=*)
2171 libexecdir=$ac_optarg ;;
2173 -localedir | --localedir | --localedi | --localed | --locale)
2174 ac_prev=localedir ;;
2175 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
2176 localedir=$ac_optarg ;;
2178 -localstatedir | --localstatedir | --localstatedi | --localstated \
2179 | --localstate | --localstat | --localsta | --localst | --locals)
2180 ac_prev=localstatedir ;;
2181 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
2182 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
2183 localstatedir=$ac_optarg ;;
2185 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
2186 ac_prev=mandir ;;
2187 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
2188 mandir=$ac_optarg ;;
2190 -nfp | --nfp | --nf)
2191 # Obsolete; use --without-fp.
2192 with_fp=no ;;
2194 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
2195 | --no-cr | --no-c | -n)
2196 no_create=yes ;;
2198 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
2199 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
2200 no_recursion=yes ;;
2202 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
2203 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
2204 | --oldin | --oldi | --old | --ol | --o)
2205 ac_prev=oldincludedir ;;
2206 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
2207 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
2208 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
2209 oldincludedir=$ac_optarg ;;
2211 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
2212 ac_prev=prefix ;;
2213 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
2214 prefix=$ac_optarg ;;
2216 -program-prefix | --program-prefix | --program-prefi | --program-pref \
2217 | --program-pre | --program-pr | --program-p)
2218 ac_prev=program_prefix ;;
2219 -program-prefix=* | --program-prefix=* | --program-prefi=* \
2220 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
2221 program_prefix=$ac_optarg ;;
2223 -program-suffix | --program-suffix | --program-suffi | --program-suff \
2224 | --program-suf | --program-su | --program-s)
2225 ac_prev=program_suffix ;;
2226 -program-suffix=* | --program-suffix=* | --program-suffi=* \
2227 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
2228 program_suffix=$ac_optarg ;;
2230 -program-transform-name | --program-transform-name \
2231 | --program-transform-nam | --program-transform-na \
2232 | --program-transform-n | --program-transform- \
2233 | --program-transform | --program-transfor \
2234 | --program-transfo | --program-transf \
2235 | --program-trans | --program-tran \
2236 | --progr-tra | --program-tr | --program-t)
2237 ac_prev=program_transform_name ;;
2238 -program-transform-name=* | --program-transform-name=* \
2239 | --program-transform-nam=* | --program-transform-na=* \
2240 | --program-transform-n=* | --program-transform-=* \
2241 | --program-transform=* | --program-transfor=* \
2242 | --program-transfo=* | --program-transf=* \
2243 | --program-trans=* | --program-tran=* \
2244 | --progr-tra=* | --program-tr=* | --program-t=*)
2245 program_transform_name=$ac_optarg ;;
2247 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
2248 ac_prev=pdfdir ;;
2249 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
2250 pdfdir=$ac_optarg ;;
2252 -psdir | --psdir | --psdi | --psd | --ps)
2253 ac_prev=psdir ;;
2254 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
2255 psdir=$ac_optarg ;;
2257 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2258 | -silent | --silent | --silen | --sile | --sil)
2259 silent=yes ;;
2261 -runstatedir | --runstatedir | --runstatedi | --runstated \
2262 | --runstate | --runstat | --runsta | --runst | --runs \
2263 | --run | --ru | --r)
2264 ac_prev=runstatedir ;;
2265 -runstatedir=* | --runstatedir=* | --runstatedi=* | --runstated=* \
2266 | --runstate=* | --runstat=* | --runsta=* | --runst=* | --runs=* \
2267 | --run=* | --ru=* | --r=*)
2268 runstatedir=$ac_optarg ;;
2270 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
2271 ac_prev=sbindir ;;
2272 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
2273 | --sbi=* | --sb=*)
2274 sbindir=$ac_optarg ;;
2276 -sharedstatedir | --sharedstatedir | --sharedstatedi \
2277 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
2278 | --sharedst | --shareds | --shared | --share | --shar \
2279 | --sha | --sh)
2280 ac_prev=sharedstatedir ;;
2281 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
2282 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
2283 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
2284 | --sha=* | --sh=*)
2285 sharedstatedir=$ac_optarg ;;
2287 -site | --site | --sit)
2288 ac_prev=site ;;
2289 -site=* | --site=* | --sit=*)
2290 site=$ac_optarg ;;
2292 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
2293 ac_prev=srcdir ;;
2294 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
2295 srcdir=$ac_optarg ;;
2297 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
2298 | --syscon | --sysco | --sysc | --sys | --sy)
2299 ac_prev=sysconfdir ;;
2300 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
2301 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
2302 sysconfdir=$ac_optarg ;;
2304 -target | --target | --targe | --targ | --tar | --ta | --t)
2305 ac_prev=target_alias ;;
2306 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
2307 target_alias=$ac_optarg ;;
2309 -v | -verbose | --verbose | --verbos | --verbo | --verb)
2310 verbose=yes ;;
2312 -version | --version | --versio | --versi | --vers | -V)
2313 ac_init_version=: ;;
2315 -with-* | --with-*)
2316 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
2317 # Reject names that are not valid shell variable names.
2318 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
2319 as_fn_error $? "invalid package name: $ac_useropt"
2320 ac_useropt_orig=$ac_useropt
2321 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
2322 case $ac_user_opts in
2324 "with_$ac_useropt"
2325 "*) ;;
2326 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
2327 ac_unrecognized_sep=', ';;
2328 esac
2329 eval with_$ac_useropt=\$ac_optarg ;;
2331 -without-* | --without-*)
2332 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
2333 # Reject names that are not valid shell variable names.
2334 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
2335 as_fn_error $? "invalid package name: $ac_useropt"
2336 ac_useropt_orig=$ac_useropt
2337 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
2338 case $ac_user_opts in
2340 "with_$ac_useropt"
2341 "*) ;;
2342 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
2343 ac_unrecognized_sep=', ';;
2344 esac
2345 eval with_$ac_useropt=no ;;
2347 --x)
2348 # Obsolete; use --with-x.
2349 with_x=yes ;;
2351 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
2352 | --x-incl | --x-inc | --x-in | --x-i)
2353 ac_prev=x_includes ;;
2354 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
2355 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
2356 x_includes=$ac_optarg ;;
2358 -x-libraries | --x-libraries | --x-librarie | --x-librari \
2359 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
2360 ac_prev=x_libraries ;;
2361 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
2362 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
2363 x_libraries=$ac_optarg ;;
2365 -*) as_fn_error $? "unrecognized option: \`$ac_option'
2366 Try \`$0 --help' for more information"
2369 *=*)
2370 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
2371 # Reject names that are not valid shell variable names.
2372 case $ac_envvar in #(
2373 '' | [0-9]* | *[!_$as_cr_alnum]* )
2374 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
2375 esac
2376 eval $ac_envvar=\$ac_optarg
2377 export $ac_envvar ;;
2380 # FIXME: should be removed in autoconf 3.0.
2381 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
2382 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
2383 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
2384 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
2387 esac
2388 done
2390 if test -n "$ac_prev"; then
2391 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
2392 as_fn_error $? "missing argument to $ac_option"
2395 if test -n "$ac_unrecognized_opts"; then
2396 case $enable_option_checking in
2397 no) ;;
2398 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
2399 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
2400 esac
2403 # Check all directory arguments for consistency.
2404 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
2405 datadir sysconfdir sharedstatedir localstatedir includedir \
2406 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
2407 libdir localedir mandir runstatedir
2409 eval ac_val=\$$ac_var
2410 # Remove trailing slashes.
2411 case $ac_val in
2412 */ )
2413 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
2414 eval $ac_var=\$ac_val;;
2415 esac
2416 # Be sure to have absolute directory names.
2417 case $ac_val in
2418 [\\/$]* | ?:[\\/]* ) continue;;
2419 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
2420 esac
2421 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
2422 done
2424 # There might be people who depend on the old broken behavior: `$host'
2425 # used to hold the argument of --host etc.
2426 # FIXME: To remove some day.
2427 build=$build_alias
2428 host=$host_alias
2429 target=$target_alias
2431 # FIXME: To remove some day.
2432 if test "x$host_alias" != x; then
2433 if test "x$build_alias" = x; then
2434 cross_compiling=maybe
2435 elif test "x$build_alias" != "x$host_alias"; then
2436 cross_compiling=yes
2440 ac_tool_prefix=
2441 test -n "$host_alias" && ac_tool_prefix=$host_alias-
2443 test "$silent" = yes && exec 6>/dev/null
2446 ac_pwd=`pwd` && test -n "$ac_pwd" &&
2447 ac_ls_di=`ls -di .` &&
2448 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
2449 as_fn_error $? "working directory cannot be determined"
2450 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
2451 as_fn_error $? "pwd does not report name of working directory"
2454 # Find the source files, if location was not specified.
2455 if test -z "$srcdir"; then
2456 ac_srcdir_defaulted=yes
2457 # Try the directory containing this script, then the parent directory.
2458 ac_confdir=`$as_dirname -- "$as_myself" ||
2459 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
2460 X"$as_myself" : 'X\(//\)[^/]' \| \
2461 X"$as_myself" : 'X\(//\)$' \| \
2462 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
2463 $as_echo X"$as_myself" |
2464 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
2465 s//\1/
2468 /^X\(\/\/\)[^/].*/{
2469 s//\1/
2472 /^X\(\/\/\)$/{
2473 s//\1/
2476 /^X\(\/\).*/{
2477 s//\1/
2480 s/.*/./; q'`
2481 srcdir=$ac_confdir
2482 if test ! -r "$srcdir/$ac_unique_file"; then
2483 srcdir=..
2485 else
2486 ac_srcdir_defaulted=no
2488 if test ! -r "$srcdir/$ac_unique_file"; then
2489 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
2490 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
2492 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
2493 ac_abs_confdir=`(
2494 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
2495 pwd)`
2496 # When building in place, set srcdir=.
2497 if test "$ac_abs_confdir" = "$ac_pwd"; then
2498 srcdir=.
2500 # Remove unnecessary trailing slashes from srcdir.
2501 # Double slashes in file names in object file debugging info
2502 # mess up M-x gdb in Emacs.
2503 case $srcdir in
2504 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
2505 esac
2506 for ac_var in $ac_precious_vars; do
2507 eval ac_env_${ac_var}_set=\${${ac_var}+set}
2508 eval ac_env_${ac_var}_value=\$${ac_var}
2509 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
2510 eval ac_cv_env_${ac_var}_value=\$${ac_var}
2511 done
2514 # Report the --help message.
2516 if test "$ac_init_help" = "long"; then
2517 # Omit some internal or obsolete options to make the list less imposing.
2518 # This message is too long to be a string in the A/UX 3.1 sh.
2519 cat <<_ACEOF
2520 \`configure' configures Wine 6.9 to adapt to many kinds of systems.
2522 Usage: $0 [OPTION]... [VAR=VALUE]...
2524 To assign environment variables (e.g., CC, CFLAGS...), specify them as
2525 VAR=VALUE. See below for descriptions of some of the useful variables.
2527 Defaults for the options are specified in brackets.
2529 Configuration:
2530 -h, --help display this help and exit
2531 --help=short display options specific to this package
2532 --help=recursive display the short help of all the included packages
2533 -V, --version display version information and exit
2534 -q, --quiet, --silent do not print \`checking ...' messages
2535 --cache-file=FILE cache test results in FILE [disabled]
2536 -C, --config-cache alias for \`--cache-file=config.cache'
2537 -n, --no-create do not create output files
2538 --srcdir=DIR find the sources in DIR [configure dir or \`..']
2540 Installation directories:
2541 --prefix=PREFIX install architecture-independent files in PREFIX
2542 [$ac_default_prefix]
2543 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
2544 [PREFIX]
2546 By default, \`make install' will install all the files in
2547 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
2548 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
2549 for instance \`--prefix=\$HOME'.
2551 For better control, use the options below.
2553 Fine tuning of the installation directories:
2554 --bindir=DIR user executables [EPREFIX/bin]
2555 --sbindir=DIR system admin executables [EPREFIX/sbin]
2556 --libexecdir=DIR program executables [EPREFIX/libexec]
2557 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
2558 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
2559 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
2560 --runstatedir=DIR modifiable per-process data [LOCALSTATEDIR/run]
2561 --libdir=DIR object code libraries [EPREFIX/lib]
2562 --includedir=DIR C header files [PREFIX/include]
2563 --oldincludedir=DIR C header files for non-gcc [/usr/include]
2564 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
2565 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
2566 --infodir=DIR info documentation [DATAROOTDIR/info]
2567 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
2568 --mandir=DIR man documentation [DATAROOTDIR/man]
2569 --docdir=DIR documentation root [DATAROOTDIR/doc/wine]
2570 --htmldir=DIR html documentation [DOCDIR]
2571 --dvidir=DIR dvi documentation [DOCDIR]
2572 --pdfdir=DIR pdf documentation [DOCDIR]
2573 --psdir=DIR ps documentation [DOCDIR]
2574 _ACEOF
2576 cat <<\_ACEOF
2578 X features:
2579 --x-includes=DIR X include files are in DIR
2580 --x-libraries=DIR X library files are in DIR
2582 System types:
2583 --build=BUILD configure for building on BUILD [guessed]
2584 --host=HOST cross-compile to build programs to run on HOST [BUILD]
2585 _ACEOF
2588 if test -n "$ac_init_help"; then
2589 case $ac_init_help in
2590 short | recursive ) echo "Configuration of Wine 6.9:";;
2591 esac
2592 cat <<\_ACEOF
2594 Optional Features:
2595 --disable-option-checking ignore unrecognized --enable/--with options
2596 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
2597 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
2598 --disable-win16 do not include Win16 support
2599 --enable-win64 build a Win64 emulator on AMD64 (won't run Win32
2600 binaries)
2601 --disable-tests do not build the regression tests
2602 --enable-build-id include .buildid section in output objects
2603 --enable-maintainer-mode
2604 enable maintainer-specific build rules
2605 --enable-silent-rules use silent build rules (override: "make V=1")
2606 --enable-werror treat compilation warnings as errors
2607 --disable-largefile omit support for large files
2609 Optional Packages:
2610 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
2611 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
2612 --without-alsa do not use the Alsa sound support
2613 --without-capi do not use CAPI (ISDN support)
2614 --without-cms do not use CMS (color management support)
2615 --without-coreaudio do not use the CoreAudio sound support
2616 --without-cups do not use CUPS
2617 --without-dbus do not use DBus (dynamic device support)
2618 --without-faudio do not use FAudio (XAudio2 support)
2619 --with-float-abi=abi specify the ABI (soft|softfp|hard) for ARM platforms
2620 --without-fontconfig do not use fontconfig
2621 --without-freetype do not use the FreeType library
2622 --without-gettext do not use gettext
2623 --with-gettextpo use the GetTextPO library to rebuild po files
2624 --without-gphoto do not use gphoto (Digital Camera support)
2625 --without-gnutls do not use GnuTLS (schannel support)
2626 --without-gsm do not use libgsm (GSM 06.10 codec support)
2627 --without-gssapi do not use GSSAPI (Kerberos SSP support)
2628 --without-gstreamer do not use GStreamer (codecs support)
2629 --without-hal do not use HAL (dynamic device support)
2630 --without-inotify do not use inotify (filesystem change notifications)
2631 --without-jpeg do not use JPEG
2632 --without-jxrlib do not use JPEG-XR
2633 --without-krb5 do not use krb5 (Kerberos)
2634 --without-ldap do not use LDAP
2635 --without-mingw do not use the MinGW cross-compiler
2636 --without-mpg123 do not use the mpg123 library
2637 --without-netapi do not use the Samba NetAPI library
2638 --without-openal do not use OpenAL
2639 --without-opencl do not use OpenCL
2640 --without-opengl do not use OpenGL
2641 --without-osmesa do not use the OSMesa library
2642 --without-oss do not use the OSS sound support
2643 --without-pcap do not use the Packet Capture library
2644 --without-png do not use PNG
2645 --without-pthread do not use the pthread library
2646 --without-pulse do not use PulseAudio sound support
2647 --without-quicktime do not use QuickTime support
2648 --without-sane do not use SANE (scanner support)
2649 --without-sdl do not use SDL
2650 --without-tiff do not use TIFF
2651 --without-udev do not use udev (plug and play support)
2652 --without-unwind do not use the libunwind library (exception
2653 handling)
2654 --without-usb do not use the libusb library
2655 --without-v4l2 do not use v4l2 (video capture)
2656 --without-vkd3d do not use vkd3d (Direct3D 12 support)
2657 --without-vulkan do not use Vulkan
2658 --without-xcomposite do not use the Xcomposite extension
2659 --without-xcursor do not use the Xcursor extension
2660 --without-xfixes do not use Xfixes for clipboard change notifications
2661 --without-xinerama do not use Xinerama (legacy multi-monitor support)
2662 --without-xinput do not use the Xinput extension
2663 --without-xinput2 do not use the Xinput 2 extension
2664 --without-xml do not use XML
2665 --without-xrandr do not use Xrandr (multi-monitor support)
2666 --without-xrender do not use the Xrender extension
2667 --without-xshape do not use the Xshape extension
2668 --without-xshm do not use XShm (shared memory extension)
2669 --without-xslt do not use XSLT
2670 --without-xxf86vm do not use XFree video mode extension
2671 --with-wine-tools=DIR use Wine tools from directory DIR
2672 --with-wine64=DIR use the 64-bit Wine in DIR for a Wow64 build
2673 --with-x use the X Window System
2675 Some influential environment variables:
2676 CC C compiler command
2677 CFLAGS C compiler flags
2678 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
2679 nonstandard directory <lib dir>
2680 LIBS libraries to pass to the linker, e.g. -l<library>
2681 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
2682 you have headers in a nonstandard directory <include dir>
2683 CXX C++ compiler command
2684 CXXFLAGS C++ compiler flags
2685 CPP C preprocessor
2686 OBJC Objective C compiler command
2687 OBJCFLAGS Objective C compiler flags
2688 OBJCPP Objective C preprocessor
2689 XMKMF Path to xmkmf, Makefile generator for X Window System
2690 XML2_CFLAGS C compiler flags for libxml-2.0, overriding pkg-config
2691 XML2_LIBS Linker flags for libxml-2.0, overriding pkg-config
2692 XSLT_CFLAGS C compiler flags for libxslt, overriding pkg-config
2693 XSLT_LIBS Linker flags for libxslt, overriding pkg-config
2694 INOTIFY_CFLAGS
2695 C compiler flags for libinotify, overriding pkg-config
2696 INOTIFY_LIBS
2697 Linker flags for libinotify, overriding pkg-config
2698 DBUS_CFLAGS C compiler flags for dbus-1, overriding pkg-config
2699 DBUS_LIBS Linker flags for dbus-1, overriding pkg-config
2700 HAL_CFLAGS C compiler flags for hal, overriding pkg-config
2701 HAL_LIBS Linker flags for hal, overriding pkg-config
2702 GNUTLS_CFLAGS
2703 C compiler flags for gnutls, overriding pkg-config
2704 GNUTLS_LIBS Linker flags for gnutls, overriding pkg-config
2705 SANE_CFLAGS C compiler flags for sane-backends, overriding pkg-config
2706 SANE_LIBS Linker flags for sane-backends, overriding pkg-config
2707 USB_CFLAGS C compiler flags for libusb-1.0, overriding pkg-config
2708 USB_LIBS Linker flags for libusb-1.0, overriding pkg-config
2709 GPHOTO2_CFLAGS
2710 C compiler flags for libgphoto2, overriding pkg-config
2711 GPHOTO2_LIBS
2712 Linker flags for libgphoto2, overriding pkg-config
2713 GPHOTO2_PORT_CFLAGS
2714 C compiler flags for libgphoto2_port, overriding pkg-config
2715 GPHOTO2_PORT_LIBS
2716 Linker flags for libgphoto2_port, overriding pkg-config
2717 LCMS2_CFLAGS
2718 C compiler flags for lcms2, overriding pkg-config
2719 LCMS2_LIBS Linker flags for lcms2, overriding pkg-config
2720 FREETYPE_CFLAGS
2721 C compiler flags for freetype2, overriding pkg-config
2722 FREETYPE_LIBS
2723 Linker flags for freetype2, overriding pkg-config
2724 PULSE_CFLAGS
2725 C compiler flags for libpulse, overriding pkg-config
2726 PULSE_LIBS Linker flags for libpulse, overriding pkg-config
2727 GSTREAMER_CFLAGS
2728 C compiler flags for gstreamer-1.0 gstreamer-video-1.0
2729 gstreamer-audio-1.0, overriding pkg-config
2730 GSTREAMER_LIBS
2731 Linker flags for gstreamer-1.0 gstreamer-video-1.0
2732 gstreamer-audio-1.0, overriding pkg-config
2733 UDEV_CFLAGS C compiler flags for libudev, overriding pkg-config
2734 UDEV_LIBS Linker flags for libudev, overriding pkg-config
2735 UNWIND_CFLAGS
2736 C compiler flags for libunwind, overriding pkg-config
2737 UNWIND_LIBS Linker flags for libunwind, overriding pkg-config
2738 SDL2_CFLAGS C compiler flags for sdl2, overriding pkg-config
2739 SDL2_LIBS Linker flags for sdl2, overriding pkg-config
2740 FAUDIO_CFLAGS
2741 C compiler flags for FAudio, overriding pkg-config
2742 FAUDIO_LIBS Linker flags for FAudio, overriding pkg-config
2743 CAPI20_CFLAGS
2744 C compiler flags for capi20, overriding pkg-config
2745 CAPI20_LIBS Linker flags for capi20, overriding pkg-config
2746 CUPS_CFLAGS C compiler flags for cups, overriding pkg-config
2747 CUPS_LIBS Linker flags for cups, overriding pkg-config
2748 FONTCONFIG_CFLAGS
2749 C compiler flags for fontconfig, overriding pkg-config
2750 FONTCONFIG_LIBS
2751 Linker flags for fontconfig, overriding pkg-config
2752 KRB5_CFLAGS C compiler flags for krb5, overriding pkg-config
2753 KRB5_LIBS Linker flags for krb5, overriding pkg-config
2754 GSSAPI_CFLAGS
2755 C compiler flags for krb5-gssapi, overriding pkg-config
2756 GSSAPI_LIBS Linker flags for krb5-gssapi, overriding pkg-config
2757 JPEG_CFLAGS C compiler flags for libjpeg, overriding pkg-config
2758 JPEG_LIBS Linker flags for libjpeg, overriding pkg-config
2759 JXRLIB_CFLAGS
2760 C compiler flags for jxrlib, overriding pkg-config
2761 JXRLIB_LIBS Linker flags for jxrlib, overriding pkg-config
2762 PNG_CFLAGS C compiler flags for libpng, overriding pkg-config
2763 PNG_LIBS Linker flags for libpng, overriding pkg-config
2764 TIFF_CFLAGS C compiler flags for libtiff-4, overriding pkg-config
2765 TIFF_LIBS Linker flags for libtiff-4, overriding pkg-config
2766 MPG123_CFLAGS
2767 C compiler flags for libmpg123, overriding pkg-config
2768 MPG123_LIBS Linker flags for libmpg123, overriding pkg-config
2769 NETAPI_CFLAGS
2770 C compiler flags for netapi, overriding pkg-config
2771 NETAPI_LIBS Linker flags for netapi, overriding pkg-config
2772 VKD3D_CFLAGS
2773 C compiler flags for libvkd3d, overriding pkg-config
2774 VKD3D_LIBS Linker flags for libvkd3d, overriding pkg-config
2775 VKD3D_SHADER_CFLAGS
2776 C compiler flags for libvkd3d-shader, overriding pkg-config
2777 VKD3D_SHADER_LIBS
2778 Linker flags for libvkd3d-shader, overriding pkg-config
2779 LDAP_CFLAGS C compiler flags for openldap, overriding pkg-config
2780 LDAP_LIBS Linker flags for openldap, overriding pkg-config
2782 Use these variables to override the choices made by `configure' or to help
2783 it to find libraries and programs with nonstandard names/locations.
2785 Report bugs to <wine-devel@winehq.org>.
2786 Wine home page: <https://www.winehq.org>.
2787 _ACEOF
2788 ac_status=$?
2791 if test "$ac_init_help" = "recursive"; then
2792 # If there are subdirs, report their specific --help.
2793 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
2794 test -d "$ac_dir" ||
2795 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
2796 continue
2797 ac_builddir=.
2799 case "$ac_dir" in
2800 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
2802 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
2803 # A ".." for each directory in $ac_dir_suffix.
2804 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
2805 case $ac_top_builddir_sub in
2806 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
2807 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
2808 esac ;;
2809 esac
2810 ac_abs_top_builddir=$ac_pwd
2811 ac_abs_builddir=$ac_pwd$ac_dir_suffix
2812 # for backward compatibility:
2813 ac_top_builddir=$ac_top_build_prefix
2815 case $srcdir in
2816 .) # We are building in place.
2817 ac_srcdir=.
2818 ac_top_srcdir=$ac_top_builddir_sub
2819 ac_abs_top_srcdir=$ac_pwd ;;
2820 [\\/]* | ?:[\\/]* ) # Absolute name.
2821 ac_srcdir=$srcdir$ac_dir_suffix;
2822 ac_top_srcdir=$srcdir
2823 ac_abs_top_srcdir=$srcdir ;;
2824 *) # Relative name.
2825 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
2826 ac_top_srcdir=$ac_top_build_prefix$srcdir
2827 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
2828 esac
2829 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
2831 cd "$ac_dir" || { ac_status=$?; continue; }
2832 # Check for guested configure.
2833 if test -f "$ac_srcdir/configure.gnu"; then
2834 echo &&
2835 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
2836 elif test -f "$ac_srcdir/configure"; then
2837 echo &&
2838 $SHELL "$ac_srcdir/configure" --help=recursive
2839 else
2840 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
2841 fi || ac_status=$?
2842 cd "$ac_pwd" || { ac_status=$?; break; }
2843 done
2846 test -n "$ac_init_help" && exit $ac_status
2847 if $ac_init_version; then
2848 cat <<\_ACEOF
2849 Wine configure 6.9
2850 generated by GNU Autoconf 2.69
2852 Copyright (C) 2012 Free Software Foundation, Inc.
2853 This configure script is free software; the Free Software Foundation
2854 gives unlimited permission to copy, distribute and modify it.
2855 _ACEOF
2856 exit
2859 ## ------------------------ ##
2860 ## Autoconf initialization. ##
2861 ## ------------------------ ##
2863 # ac_fn_c_try_compile LINENO
2864 # --------------------------
2865 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2866 ac_fn_c_try_compile ()
2868 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2869 rm -f conftest.$ac_objext
2870 if { { ac_try="$ac_compile"
2871 case "(($ac_try" in
2872 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2873 *) ac_try_echo=$ac_try;;
2874 esac
2875 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2876 $as_echo "$ac_try_echo"; } >&5
2877 (eval "$ac_compile") 2>conftest.err
2878 ac_status=$?
2879 if test -s conftest.err; then
2880 grep -v '^ *+' conftest.err >conftest.er1
2881 cat conftest.er1 >&5
2882 mv -f conftest.er1 conftest.err
2884 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2885 test $ac_status = 0; } && {
2886 test -z "$ac_c_werror_flag" ||
2887 test ! -s conftest.err
2888 } && test -s conftest.$ac_objext; then :
2889 ac_retval=0
2890 else
2891 $as_echo "$as_me: failed program was:" >&5
2892 sed 's/^/| /' conftest.$ac_ext >&5
2894 ac_retval=1
2896 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2897 as_fn_set_status $ac_retval
2899 } # ac_fn_c_try_compile
2901 # ac_fn_cxx_try_compile LINENO
2902 # ----------------------------
2903 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2904 ac_fn_cxx_try_compile ()
2906 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2907 rm -f conftest.$ac_objext
2908 if { { ac_try="$ac_compile"
2909 case "(($ac_try" in
2910 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2911 *) ac_try_echo=$ac_try;;
2912 esac
2913 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2914 $as_echo "$ac_try_echo"; } >&5
2915 (eval "$ac_compile") 2>conftest.err
2916 ac_status=$?
2917 if test -s conftest.err; then
2918 grep -v '^ *+' conftest.err >conftest.er1
2919 cat conftest.er1 >&5
2920 mv -f conftest.er1 conftest.err
2922 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2923 test $ac_status = 0; } && {
2924 test -z "$ac_cxx_werror_flag" ||
2925 test ! -s conftest.err
2926 } && test -s conftest.$ac_objext; then :
2927 ac_retval=0
2928 else
2929 $as_echo "$as_me: failed program was:" >&5
2930 sed 's/^/| /' conftest.$ac_ext >&5
2932 ac_retval=1
2934 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2935 as_fn_set_status $ac_retval
2937 } # ac_fn_cxx_try_compile
2939 # ac_fn_c_try_link LINENO
2940 # -----------------------
2941 # Try to link conftest.$ac_ext, and return whether this succeeded.
2942 ac_fn_c_try_link ()
2944 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2945 rm -f conftest.$ac_objext conftest$ac_exeext
2946 if { { ac_try="$ac_link"
2947 case "(($ac_try" in
2948 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2949 *) ac_try_echo=$ac_try;;
2950 esac
2951 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2952 $as_echo "$ac_try_echo"; } >&5
2953 (eval "$ac_link") 2>conftest.err
2954 ac_status=$?
2955 if test -s conftest.err; then
2956 grep -v '^ *+' conftest.err >conftest.er1
2957 cat conftest.er1 >&5
2958 mv -f conftest.er1 conftest.err
2960 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2961 test $ac_status = 0; } && {
2962 test -z "$ac_c_werror_flag" ||
2963 test ! -s conftest.err
2964 } && test -s conftest$ac_exeext && {
2965 test "$cross_compiling" = yes ||
2966 test -x conftest$ac_exeext
2967 }; then :
2968 ac_retval=0
2969 else
2970 $as_echo "$as_me: failed program was:" >&5
2971 sed 's/^/| /' conftest.$ac_ext >&5
2973 ac_retval=1
2975 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2976 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2977 # interfere with the next link command; also delete a directory that is
2978 # left behind by Apple's compiler. We do this before executing the actions.
2979 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2980 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2981 as_fn_set_status $ac_retval
2983 } # ac_fn_c_try_link
2985 # ac_fn_c_try_cpp LINENO
2986 # ----------------------
2987 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
2988 ac_fn_c_try_cpp ()
2990 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2991 if { { ac_try="$ac_cpp conftest.$ac_ext"
2992 case "(($ac_try" in
2993 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2994 *) ac_try_echo=$ac_try;;
2995 esac
2996 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2997 $as_echo "$ac_try_echo"; } >&5
2998 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
2999 ac_status=$?
3000 if test -s conftest.err; then
3001 grep -v '^ *+' conftest.err >conftest.er1
3002 cat conftest.er1 >&5
3003 mv -f conftest.er1 conftest.err
3005 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3006 test $ac_status = 0; } > conftest.i && {
3007 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3008 test ! -s conftest.err
3009 }; then :
3010 ac_retval=0
3011 else
3012 $as_echo "$as_me: failed program was:" >&5
3013 sed 's/^/| /' conftest.$ac_ext >&5
3015 ac_retval=1
3017 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3018 as_fn_set_status $ac_retval
3020 } # ac_fn_c_try_cpp
3022 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
3023 # -------------------------------------------------------
3024 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
3025 # the include files in INCLUDES and setting the cache variable VAR
3026 # accordingly.
3027 ac_fn_c_check_header_mongrel ()
3029 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3030 if eval \${$3+:} false; then :
3031 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3032 $as_echo_n "checking for $2... " >&6; }
3033 if eval \${$3+:} false; then :
3034 $as_echo_n "(cached) " >&6
3036 eval ac_res=\$$3
3037 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3038 $as_echo "$ac_res" >&6; }
3039 else
3040 # Is the header compilable?
3041 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
3042 $as_echo_n "checking $2 usability... " >&6; }
3043 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3044 /* end confdefs.h. */
3046 #include <$2>
3047 _ACEOF
3048 if ac_fn_c_try_compile "$LINENO"; then :
3049 ac_header_compiler=yes
3050 else
3051 ac_header_compiler=no
3053 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3054 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
3055 $as_echo "$ac_header_compiler" >&6; }
3057 # Is the header present?
3058 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
3059 $as_echo_n "checking $2 presence... " >&6; }
3060 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3061 /* end confdefs.h. */
3062 #include <$2>
3063 _ACEOF
3064 if ac_fn_c_try_cpp "$LINENO"; then :
3065 ac_header_preproc=yes
3066 else
3067 ac_header_preproc=no
3069 rm -f conftest.err conftest.i conftest.$ac_ext
3070 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
3071 $as_echo "$ac_header_preproc" >&6; }
3073 # So? What about this header?
3074 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
3075 yes:no: )
3076 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
3077 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&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;}
3081 no:yes:* )
3082 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
3083 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
3084 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
3085 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
3086 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
3087 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
3088 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
3089 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
3090 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
3091 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
3092 ( $as_echo "## ------------------------------------ ##
3093 ## Report this to wine-devel@winehq.org ##
3094 ## ------------------------------------ ##"
3095 ) | sed "s/^/$as_me: WARNING: /" >&2
3097 esac
3098 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3099 $as_echo_n "checking for $2... " >&6; }
3100 if eval \${$3+:} false; then :
3101 $as_echo_n "(cached) " >&6
3102 else
3103 eval "$3=\$ac_header_compiler"
3105 eval ac_res=\$$3
3106 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3107 $as_echo "$ac_res" >&6; }
3109 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3111 } # ac_fn_c_check_header_mongrel
3113 # ac_fn_c_try_run LINENO
3114 # ----------------------
3115 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
3116 # that executables *can* be run.
3117 ac_fn_c_try_run ()
3119 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3120 if { { ac_try="$ac_link"
3121 case "(($ac_try" in
3122 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3123 *) ac_try_echo=$ac_try;;
3124 esac
3125 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3126 $as_echo "$ac_try_echo"; } >&5
3127 (eval "$ac_link") 2>&5
3128 ac_status=$?
3129 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3130 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
3131 { { case "(($ac_try" in
3132 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3133 *) ac_try_echo=$ac_try;;
3134 esac
3135 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3136 $as_echo "$ac_try_echo"; } >&5
3137 (eval "$ac_try") 2>&5
3138 ac_status=$?
3139 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3140 test $ac_status = 0; }; }; then :
3141 ac_retval=0
3142 else
3143 $as_echo "$as_me: program exited with status $ac_status" >&5
3144 $as_echo "$as_me: failed program was:" >&5
3145 sed 's/^/| /' conftest.$ac_ext >&5
3147 ac_retval=$ac_status
3149 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
3150 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3151 as_fn_set_status $ac_retval
3153 } # ac_fn_c_try_run
3155 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
3156 # -------------------------------------------------------
3157 # Tests whether HEADER exists and can be compiled using the include files in
3158 # INCLUDES, setting the cache variable VAR accordingly.
3159 ac_fn_c_check_header_compile ()
3161 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3162 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3163 $as_echo_n "checking for $2... " >&6; }
3164 if eval \${$3+:} false; then :
3165 $as_echo_n "(cached) " >&6
3166 else
3167 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3168 /* end confdefs.h. */
3170 #include <$2>
3171 _ACEOF
3172 if ac_fn_c_try_compile "$LINENO"; then :
3173 eval "$3=yes"
3174 else
3175 eval "$3=no"
3177 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3179 eval ac_res=\$$3
3180 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3181 $as_echo "$ac_res" >&6; }
3182 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3184 } # ac_fn_c_check_header_compile
3186 # ac_fn_objc_try_compile LINENO
3187 # -----------------------------
3188 # Try to compile conftest.$ac_ext, and return whether this succeeded.
3189 ac_fn_objc_try_compile ()
3191 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3192 rm -f conftest.$ac_objext
3193 if { { ac_try="$ac_compile"
3194 case "(($ac_try" in
3195 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3196 *) ac_try_echo=$ac_try;;
3197 esac
3198 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3199 $as_echo "$ac_try_echo"; } >&5
3200 (eval "$ac_compile") 2>conftest.err
3201 ac_status=$?
3202 if test -s conftest.err; then
3203 grep -v '^ *+' conftest.err >conftest.er1
3204 cat conftest.er1 >&5
3205 mv -f conftest.er1 conftest.err
3207 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3208 test $ac_status = 0; } && {
3209 test -z "$ac_objc_werror_flag" ||
3210 test ! -s conftest.err
3211 } && test -s conftest.$ac_objext; then :
3212 ac_retval=0
3213 else
3214 $as_echo "$as_me: failed program was:" >&5
3215 sed 's/^/| /' conftest.$ac_ext >&5
3217 ac_retval=1
3219 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3220 as_fn_set_status $ac_retval
3222 } # ac_fn_objc_try_compile
3224 # ac_fn_objc_try_cpp LINENO
3225 # -------------------------
3226 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
3227 ac_fn_objc_try_cpp ()
3229 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3230 if { { ac_try="$ac_cpp conftest.$ac_ext"
3231 case "(($ac_try" in
3232 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3233 *) ac_try_echo=$ac_try;;
3234 esac
3235 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3236 $as_echo "$ac_try_echo"; } >&5
3237 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
3238 ac_status=$?
3239 if test -s conftest.err; then
3240 grep -v '^ *+' conftest.err >conftest.er1
3241 cat conftest.er1 >&5
3242 mv -f conftest.er1 conftest.err
3244 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3245 test $ac_status = 0; } > conftest.i && {
3246 test -z "$ac_objc_preproc_warn_flag$ac_objc_werror_flag" ||
3247 test ! -s conftest.err
3248 }; then :
3249 ac_retval=0
3250 else
3251 $as_echo "$as_me: failed program was:" >&5
3252 sed 's/^/| /' conftest.$ac_ext >&5
3254 ac_retval=1
3256 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3257 as_fn_set_status $ac_retval
3259 } # ac_fn_objc_try_cpp
3261 # ac_fn_objc_check_header_mongrel LINENO HEADER VAR INCLUDES
3262 # ----------------------------------------------------------
3263 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
3264 # the include files in INCLUDES and setting the cache variable VAR
3265 # accordingly.
3266 ac_fn_objc_check_header_mongrel ()
3268 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3269 if eval \${$3+:} false; then :
3270 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3271 $as_echo_n "checking for $2... " >&6; }
3272 if eval \${$3+:} false; then :
3273 $as_echo_n "(cached) " >&6
3275 eval ac_res=\$$3
3276 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3277 $as_echo "$ac_res" >&6; }
3278 else
3279 # Is the header compilable?
3280 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
3281 $as_echo_n "checking $2 usability... " >&6; }
3282 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3283 /* end confdefs.h. */
3285 #include <$2>
3286 _ACEOF
3287 if ac_fn_objc_try_compile "$LINENO"; then :
3288 ac_header_compiler=yes
3289 else
3290 ac_header_compiler=no
3292 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3293 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
3294 $as_echo "$ac_header_compiler" >&6; }
3296 # Is the header present?
3297 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
3298 $as_echo_n "checking $2 presence... " >&6; }
3299 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3300 /* end confdefs.h. */
3301 #include <$2>
3302 _ACEOF
3303 if ac_fn_objc_try_cpp "$LINENO"; then :
3304 ac_header_preproc=yes
3305 else
3306 ac_header_preproc=no
3308 rm -f conftest.err conftest.i conftest.$ac_ext
3309 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
3310 $as_echo "$ac_header_preproc" >&6; }
3312 # So? What about this header?
3313 case $ac_header_compiler:$ac_header_preproc:$ac_objc_preproc_warn_flag in #((
3314 yes:no: )
3315 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
3316 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&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;}
3320 no:yes:* )
3321 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
3322 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
3323 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
3324 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
3325 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
3326 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
3327 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
3328 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
3329 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
3330 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
3331 ( $as_echo "## ------------------------------------ ##
3332 ## Report this to wine-devel@winehq.org ##
3333 ## ------------------------------------ ##"
3334 ) | sed "s/^/$as_me: WARNING: /" >&2
3336 esac
3337 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3338 $as_echo_n "checking for $2... " >&6; }
3339 if eval \${$3+:} false; then :
3340 $as_echo_n "(cached) " >&6
3341 else
3342 eval "$3=\$ac_header_compiler"
3344 eval ac_res=\$$3
3345 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3346 $as_echo "$ac_res" >&6; }
3348 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3350 } # ac_fn_objc_check_header_mongrel
3352 # ac_fn_c_check_func LINENO FUNC VAR
3353 # ----------------------------------
3354 # Tests whether FUNC exists, setting the cache variable VAR accordingly
3355 ac_fn_c_check_func ()
3357 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3358 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3359 $as_echo_n "checking for $2... " >&6; }
3360 if eval \${$3+:} false; then :
3361 $as_echo_n "(cached) " >&6
3362 else
3363 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3364 /* end confdefs.h. */
3365 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
3366 For example, HP-UX 11i <limits.h> declares gettimeofday. */
3367 #define $2 innocuous_$2
3369 /* System header to define __stub macros and hopefully few prototypes,
3370 which can conflict with char $2 (); below.
3371 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3372 <limits.h> exists even on freestanding compilers. */
3374 #ifdef __STDC__
3375 # include <limits.h>
3376 #else
3377 # include <assert.h>
3378 #endif
3380 #undef $2
3382 /* Override any GCC internal prototype to avoid an error.
3383 Use char because int might match the return type of a GCC
3384 builtin and then its argument prototype would still apply. */
3385 #ifdef __cplusplus
3386 extern "C"
3387 #endif
3388 char $2 ();
3389 /* The GNU C library defines this for functions which it implements
3390 to always fail with ENOSYS. Some functions are actually named
3391 something starting with __ and the normal name is an alias. */
3392 #if defined __stub_$2 || defined __stub___$2
3393 choke me
3394 #endif
3397 main ()
3399 return $2 ();
3401 return 0;
3403 _ACEOF
3404 if ac_fn_c_try_link "$LINENO"; then :
3405 eval "$3=yes"
3406 else
3407 eval "$3=no"
3409 rm -f core conftest.err conftest.$ac_objext \
3410 conftest$ac_exeext conftest.$ac_ext
3412 eval ac_res=\$$3
3413 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3414 $as_echo "$ac_res" >&6; }
3415 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3417 } # ac_fn_c_check_func
3419 # ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
3420 # ----------------------------------------------------
3421 # Tries to find if the field MEMBER exists in type AGGR, after including
3422 # INCLUDES, setting cache variable VAR accordingly.
3423 ac_fn_c_check_member ()
3425 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3426 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
3427 $as_echo_n "checking for $2.$3... " >&6; }
3428 if eval \${$4+:} false; then :
3429 $as_echo_n "(cached) " >&6
3430 else
3431 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3432 /* end confdefs.h. */
3435 main ()
3437 static $2 ac_aggr;
3438 if (ac_aggr.$3)
3439 return 0;
3441 return 0;
3443 _ACEOF
3444 if ac_fn_c_try_compile "$LINENO"; then :
3445 eval "$4=yes"
3446 else
3447 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3448 /* end confdefs.h. */
3451 main ()
3453 static $2 ac_aggr;
3454 if (sizeof ac_aggr.$3)
3455 return 0;
3457 return 0;
3459 _ACEOF
3460 if ac_fn_c_try_compile "$LINENO"; then :
3461 eval "$4=yes"
3462 else
3463 eval "$4=no"
3465 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3467 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3469 eval ac_res=\$$4
3470 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3471 $as_echo "$ac_res" >&6; }
3472 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3474 } # ac_fn_c_check_member
3476 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
3477 # -------------------------------------------
3478 # Tests whether TYPE exists after having included INCLUDES, setting cache
3479 # variable VAR accordingly.
3480 ac_fn_c_check_type ()
3482 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3483 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3484 $as_echo_n "checking for $2... " >&6; }
3485 if eval \${$3+:} false; then :
3486 $as_echo_n "(cached) " >&6
3487 else
3488 eval "$3=no"
3489 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3490 /* end confdefs.h. */
3493 main ()
3495 if (sizeof ($2))
3496 return 0;
3498 return 0;
3500 _ACEOF
3501 if ac_fn_c_try_compile "$LINENO"; then :
3502 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3503 /* end confdefs.h. */
3506 main ()
3508 if (sizeof (($2)))
3509 return 0;
3511 return 0;
3513 _ACEOF
3514 if ac_fn_c_try_compile "$LINENO"; then :
3516 else
3517 eval "$3=yes"
3519 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3521 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3523 eval ac_res=\$$3
3524 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3525 $as_echo "$ac_res" >&6; }
3526 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3528 } # ac_fn_c_check_type
3529 cat >config.log <<_ACEOF
3530 This file contains any messages produced by compilers while
3531 running configure, to aid debugging if configure makes a mistake.
3533 It was created by Wine $as_me 6.9, which was
3534 generated by GNU Autoconf 2.69. Invocation command line was
3536 $ $0 $@
3538 _ACEOF
3539 exec 5>>config.log
3541 cat <<_ASUNAME
3542 ## --------- ##
3543 ## Platform. ##
3544 ## --------- ##
3546 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
3547 uname -m = `(uname -m) 2>/dev/null || echo unknown`
3548 uname -r = `(uname -r) 2>/dev/null || echo unknown`
3549 uname -s = `(uname -s) 2>/dev/null || echo unknown`
3550 uname -v = `(uname -v) 2>/dev/null || echo unknown`
3552 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
3553 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
3555 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
3556 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
3557 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
3558 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
3559 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
3560 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
3561 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
3563 _ASUNAME
3565 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3566 for as_dir in $PATH
3568 IFS=$as_save_IFS
3569 test -z "$as_dir" && as_dir=.
3570 $as_echo "PATH: $as_dir"
3571 done
3572 IFS=$as_save_IFS
3574 } >&5
3576 cat >&5 <<_ACEOF
3579 ## ----------- ##
3580 ## Core tests. ##
3581 ## ----------- ##
3583 _ACEOF
3586 # Keep a trace of the command line.
3587 # Strip out --no-create and --no-recursion so they do not pile up.
3588 # Strip out --silent because we don't want to record it for future runs.
3589 # Also quote any args containing shell meta-characters.
3590 # Make two passes to allow for proper duplicate-argument suppression.
3591 ac_configure_args=
3592 ac_configure_args0=
3593 ac_configure_args1=
3594 ac_must_keep_next=false
3595 for ac_pass in 1 2
3597 for ac_arg
3599 case $ac_arg in
3600 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
3601 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
3602 | -silent | --silent | --silen | --sile | --sil)
3603 continue ;;
3604 *\'*)
3605 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
3606 esac
3607 case $ac_pass in
3608 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
3610 as_fn_append ac_configure_args1 " '$ac_arg'"
3611 if test $ac_must_keep_next = true; then
3612 ac_must_keep_next=false # Got value, back to normal.
3613 else
3614 case $ac_arg in
3615 *=* | --config-cache | -C | -disable-* | --disable-* \
3616 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
3617 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
3618 | -with-* | --with-* | -without-* | --without-* | --x)
3619 case "$ac_configure_args0 " in
3620 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
3621 esac
3623 -* ) ac_must_keep_next=true ;;
3624 esac
3626 as_fn_append ac_configure_args " '$ac_arg'"
3628 esac
3629 done
3630 done
3631 { ac_configure_args0=; unset ac_configure_args0;}
3632 { ac_configure_args1=; unset ac_configure_args1;}
3634 # When interrupted or exit'd, cleanup temporary files, and complete
3635 # config.log. We remove comments because anyway the quotes in there
3636 # would cause problems or look ugly.
3637 # WARNING: Use '\'' to represent an apostrophe within the trap.
3638 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
3639 trap 'exit_status=$?
3640 # Save into config.log some information that might help in debugging.
3642 echo
3644 $as_echo "## ---------------- ##
3645 ## Cache variables. ##
3646 ## ---------------- ##"
3647 echo
3648 # The following way of writing the cache mishandles newlines in values,
3650 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
3651 eval ac_val=\$$ac_var
3652 case $ac_val in #(
3653 *${as_nl}*)
3654 case $ac_var in #(
3655 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
3656 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
3657 esac
3658 case $ac_var in #(
3659 _ | IFS | as_nl) ;; #(
3660 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
3661 *) { eval $ac_var=; unset $ac_var;} ;;
3662 esac ;;
3663 esac
3664 done
3665 (set) 2>&1 |
3666 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
3667 *${as_nl}ac_space=\ *)
3668 sed -n \
3669 "s/'\''/'\''\\\\'\'''\''/g;
3670 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
3671 ;; #(
3673 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
3675 esac |
3676 sort
3678 echo
3680 $as_echo "## ----------------- ##
3681 ## Output variables. ##
3682 ## ----------------- ##"
3683 echo
3684 for ac_var in $ac_subst_vars
3686 eval ac_val=\$$ac_var
3687 case $ac_val in
3688 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3689 esac
3690 $as_echo "$ac_var='\''$ac_val'\''"
3691 done | sort
3692 echo
3694 if test -n "$ac_subst_files"; then
3695 $as_echo "## ------------------- ##
3696 ## File substitutions. ##
3697 ## ------------------- ##"
3698 echo
3699 for ac_var in $ac_subst_files
3701 eval ac_val=\$$ac_var
3702 case $ac_val in
3703 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3704 esac
3705 $as_echo "$ac_var='\''$ac_val'\''"
3706 done | sort
3707 echo
3710 if test -s confdefs.h; then
3711 $as_echo "## ----------- ##
3712 ## confdefs.h. ##
3713 ## ----------- ##"
3714 echo
3715 cat confdefs.h
3716 echo
3718 test "$ac_signal" != 0 &&
3719 $as_echo "$as_me: caught signal $ac_signal"
3720 $as_echo "$as_me: exit $exit_status"
3721 } >&5
3722 rm -f core *.core core.conftest.* &&
3723 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
3724 exit $exit_status
3726 for ac_signal in 1 2 13 15; do
3727 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
3728 done
3729 ac_signal=0
3731 # confdefs.h avoids OS command line length limits that DEFS can exceed.
3732 rm -f -r conftest* confdefs.h
3734 $as_echo "/* confdefs.h */" > confdefs.h
3736 # Predefined preprocessor variables.
3738 cat >>confdefs.h <<_ACEOF
3739 #define PACKAGE_NAME "$PACKAGE_NAME"
3740 _ACEOF
3742 cat >>confdefs.h <<_ACEOF
3743 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
3744 _ACEOF
3746 cat >>confdefs.h <<_ACEOF
3747 #define PACKAGE_VERSION "$PACKAGE_VERSION"
3748 _ACEOF
3750 cat >>confdefs.h <<_ACEOF
3751 #define PACKAGE_STRING "$PACKAGE_STRING"
3752 _ACEOF
3754 cat >>confdefs.h <<_ACEOF
3755 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
3756 _ACEOF
3758 cat >>confdefs.h <<_ACEOF
3759 #define PACKAGE_URL "$PACKAGE_URL"
3760 _ACEOF
3763 # Let the site file select an alternate cache file if it wants to.
3764 # Prefer an explicitly selected file to automatically selected ones.
3765 ac_site_file1=NONE
3766 ac_site_file2=NONE
3767 if test -n "$CONFIG_SITE"; then
3768 # We do not want a PATH search for config.site.
3769 case $CONFIG_SITE in #((
3770 -*) ac_site_file1=./$CONFIG_SITE;;
3771 */*) ac_site_file1=$CONFIG_SITE;;
3772 *) ac_site_file1=./$CONFIG_SITE;;
3773 esac
3774 elif test "x$prefix" != xNONE; then
3775 ac_site_file1=$prefix/share/config.site
3776 ac_site_file2=$prefix/etc/config.site
3777 else
3778 ac_site_file1=$ac_default_prefix/share/config.site
3779 ac_site_file2=$ac_default_prefix/etc/config.site
3781 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
3783 test "x$ac_site_file" = xNONE && continue
3784 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
3785 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
3786 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
3787 sed 's/^/| /' "$ac_site_file" >&5
3788 . "$ac_site_file" \
3789 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3790 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3791 as_fn_error $? "failed to load site script $ac_site_file
3792 See \`config.log' for more details" "$LINENO" 5; }
3794 done
3796 if test -r "$cache_file"; then
3797 # Some versions of bash will fail to source /dev/null (special files
3798 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
3799 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
3800 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
3801 $as_echo "$as_me: loading cache $cache_file" >&6;}
3802 case $cache_file in
3803 [\\/]* | ?:[\\/]* ) . "$cache_file";;
3804 *) . "./$cache_file";;
3805 esac
3807 else
3808 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
3809 $as_echo "$as_me: creating cache $cache_file" >&6;}
3810 >$cache_file
3813 # Check that the precious variables saved in the cache have kept the same
3814 # value.
3815 ac_cache_corrupted=false
3816 for ac_var in $ac_precious_vars; do
3817 eval ac_old_set=\$ac_cv_env_${ac_var}_set
3818 eval ac_new_set=\$ac_env_${ac_var}_set
3819 eval ac_old_val=\$ac_cv_env_${ac_var}_value
3820 eval ac_new_val=\$ac_env_${ac_var}_value
3821 case $ac_old_set,$ac_new_set in
3822 set,)
3823 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
3824 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
3825 ac_cache_corrupted=: ;;
3826 ,set)
3827 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
3828 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
3829 ac_cache_corrupted=: ;;
3830 ,);;
3832 if test "x$ac_old_val" != "x$ac_new_val"; then
3833 # differences in whitespace do not lead to failure.
3834 ac_old_val_w=`echo x $ac_old_val`
3835 ac_new_val_w=`echo x $ac_new_val`
3836 if test "$ac_old_val_w" != "$ac_new_val_w"; then
3837 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
3838 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
3839 ac_cache_corrupted=:
3840 else
3841 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
3842 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
3843 eval $ac_var=\$ac_old_val
3845 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
3846 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
3847 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
3848 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
3849 fi;;
3850 esac
3851 # Pass precious variables to config.status.
3852 if test "$ac_new_set" = set; then
3853 case $ac_new_val in
3854 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
3855 *) ac_arg=$ac_var=$ac_new_val ;;
3856 esac
3857 case " $ac_configure_args " in
3858 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
3859 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
3860 esac
3862 done
3863 if $ac_cache_corrupted; then
3864 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3865 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3866 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
3867 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
3868 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
3870 ## -------------------- ##
3871 ## Main body of script. ##
3872 ## -------------------- ##
3874 ac_ext=c
3875 ac_cpp='$CPP $CPPFLAGS'
3876 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3877 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3878 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3882 ac_config_headers="$ac_config_headers include/config.h"
3884 ac_aux_dir=
3885 for ac_dir in tools "$srcdir"/tools; do
3886 if test -f "$ac_dir/install-sh"; then
3887 ac_aux_dir=$ac_dir
3888 ac_install_sh="$ac_aux_dir/install-sh -c"
3889 break
3890 elif test -f "$ac_dir/install.sh"; then
3891 ac_aux_dir=$ac_dir
3892 ac_install_sh="$ac_aux_dir/install.sh -c"
3893 break
3894 elif test -f "$ac_dir/shtool"; then
3895 ac_aux_dir=$ac_dir
3896 ac_install_sh="$ac_aux_dir/shtool install -c"
3897 break
3899 done
3900 if test -z "$ac_aux_dir"; then
3901 as_fn_error $? "cannot find install-sh, install.sh, or shtool in tools \"$srcdir\"/tools" "$LINENO" 5
3904 # These three variables are undocumented and unsupported,
3905 # and are intended to be withdrawn in a future Autoconf release.
3906 # They can cause serious problems if a builder's source tree is in a directory
3907 # whose full name contains unusual characters.
3908 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
3909 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
3910 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
3914 libwine_version="1.0"
3918 # Check whether --enable-win16 was given.
3919 if test "${enable_win16+set}" = set; then :
3920 enableval=$enable_win16;
3923 # Check whether --enable-win64 was given.
3924 if test "${enable_win64+set}" = set; then :
3925 enableval=$enable_win64;
3928 # Check whether --enable-tests was given.
3929 if test "${enable_tests+set}" = set; then :
3930 enableval=$enable_tests;
3933 # Check whether --enable-build-id was given.
3934 if test "${enable_build_id+set}" = set; then :
3935 enableval=$enable_build_id;
3938 # Check whether --enable-maintainer-mode was given.
3939 if test "${enable_maintainer_mode+set}" = set; then :
3940 enableval=$enable_maintainer_mode;
3943 # Check whether --enable-silent-rules was given.
3944 if test "${enable_silent_rules+set}" = set; then :
3945 enableval=$enable_silent_rules;
3948 # Check whether --enable-werror was given.
3949 if test "${enable_werror+set}" = set; then :
3950 enableval=$enable_werror;
3955 # Check whether --with-alsa was given.
3956 if test "${with_alsa+set}" = set; then :
3957 withval=$with_alsa;
3961 # Check whether --with-capi was given.
3962 if test "${with_capi+set}" = set; then :
3963 withval=$with_capi;
3967 # Check whether --with-cms was given.
3968 if test "${with_cms+set}" = set; then :
3969 withval=$with_cms;
3973 # Check whether --with-coreaudio was given.
3974 if test "${with_coreaudio+set}" = set; then :
3975 withval=$with_coreaudio; if test "x$withval" = "xno"; then ac_cv_header_CoreAudio_CoreAudio_h=no; fi
3979 # Check whether --with-cups was given.
3980 if test "${with_cups+set}" = set; then :
3981 withval=$with_cups;
3985 # Check whether --with-dbus was given.
3986 if test "${with_dbus+set}" = set; then :
3987 withval=$with_dbus;
3991 # Check whether --with-faudio was given.
3992 if test "${with_faudio+set}" = set; then :
3993 withval=$with_faudio;
3997 # Check whether --with-float-abi was given.
3998 if test "${with_float_abi+set}" = set; then :
3999 withval=$with_float_abi;
4003 # Check whether --with-fontconfig was given.
4004 if test "${with_fontconfig+set}" = set; then :
4005 withval=$with_fontconfig;
4009 # Check whether --with-freetype was given.
4010 if test "${with_freetype+set}" = set; then :
4011 withval=$with_freetype;
4015 # Check whether --with-gettext was given.
4016 if test "${with_gettext+set}" = set; then :
4017 withval=$with_gettext;
4021 # Check whether --with-gettextpo was given.
4022 if test "${with_gettextpo+set}" = set; then :
4023 withval=$with_gettextpo; if test "x$withval" = "xno"; then ac_cv_header_gettext_po_h=no; fi
4027 # Check whether --with-gphoto was given.
4028 if test "${with_gphoto+set}" = set; then :
4029 withval=$with_gphoto;
4033 # Check whether --with-gnutls was given.
4034 if test "${with_gnutls+set}" = set; then :
4035 withval=$with_gnutls;
4039 # Check whether --with-gsm was given.
4040 if test "${with_gsm+set}" = set; then :
4041 withval=$with_gsm; if test "x$withval" = "xno"; then ac_cv_header_gsm_h=no; ac_cv_header_gsm_gsm_h=no; fi
4045 # Check whether --with-gssapi was given.
4046 if test "${with_gssapi+set}" = set; then :
4047 withval=$with_gssapi;
4051 # Check whether --with-gstreamer was given.
4052 if test "${with_gstreamer+set}" = set; then :
4053 withval=$with_gstreamer;
4057 # Check whether --with-hal was given.
4058 if test "${with_hal+set}" = set; then :
4059 withval=$with_hal;
4063 # Check whether --with-inotify was given.
4064 if test "${with_inotify+set}" = set; then :
4065 withval=$with_inotify;
4069 # Check whether --with-jpeg was given.
4070 if test "${with_jpeg+set}" = set; then :
4071 withval=$with_jpeg;
4075 # Check whether --with-jxrlib was given.
4076 if test "${with_jxrlib+set}" = set; then :
4077 withval=$with_jxrlib;
4081 # Check whether --with-krb5 was given.
4082 if test "${with_krb5+set}" = set; then :
4083 withval=$with_krb5;
4087 # Check whether --with-ldap was given.
4088 if test "${with_ldap+set}" = set; then :
4089 withval=$with_ldap; if test "x$withval" = "xno"; then ac_cv_header_ldap_h=no; ac_cv_header_lber_h=no; fi
4093 # Check whether --with-mingw was given.
4094 if test "${with_mingw+set}" = set; then :
4095 withval=$with_mingw;
4099 # Check whether --with-mpg123 was given.
4100 if test "${with_mpg123+set}" = set; then :
4101 withval=$with_mpg123;
4105 # Check whether --with-netapi was given.
4106 if test "${with_netapi+set}" = set; then :
4107 withval=$with_netapi;
4111 # Check whether --with-openal was given.
4112 if test "${with_openal+set}" = set; then :
4113 withval=$with_openal; if test "x$withval" = "xno"; then ac_cv_header_AL_al_h=no; ac_cv_header_OpenAL_al_h=no; fi
4117 # Check whether --with-opencl was given.
4118 if test "${with_opencl+set}" = set; then :
4119 withval=$with_opencl; if test "x$withval" = "xno"; then ac_cv_header_CL_cl_h=no; ac_cv_header_OpenCL_opencl_h=no; fi
4123 # Check whether --with-opengl was given.
4124 if test "${with_opengl+set}" = set; then :
4125 withval=$with_opengl;
4129 # Check whether --with-osmesa was given.
4130 if test "${with_osmesa+set}" = set; then :
4131 withval=$with_osmesa;
4135 # Check whether --with-oss was given.
4136 if test "${with_oss+set}" = set; then :
4137 withval=$with_oss;
4141 # Check whether --with-pcap was given.
4142 if test "${with_pcap+set}" = set; then :
4143 withval=$with_pcap; if test "x$withval" = "xno"; then ac_cv_header_pcap_pcap_h=no; fi
4147 # Check whether --with-png was given.
4148 if test "${with_png+set}" = set; then :
4149 withval=$with_png;
4153 # Check whether --with-pthread was given.
4154 if test "${with_pthread+set}" = set; then :
4155 withval=$with_pthread; if test "x$withval" = "xno"; then ac_cv_header_pthread_h=no; fi
4159 # Check whether --with-pulse was given.
4160 if test "${with_pulse+set}" = set; then :
4161 withval=$with_pulse;
4165 # Check whether --with-quicktime was given.
4166 if test "${with_quicktime+set}" = set; then :
4167 withval=$with_quicktime;
4171 # Check whether --with-sane was given.
4172 if test "${with_sane+set}" = set; then :
4173 withval=$with_sane;
4177 # Check whether --with-sdl was given.
4178 if test "${with_sdl+set}" = set; then :
4179 withval=$with_sdl;
4183 # Check whether --with-tiff was given.
4184 if test "${with_tiff+set}" = set; then :
4185 withval=$with_tiff;
4189 # Check whether --with-udev was given.
4190 if test "${with_udev+set}" = set; then :
4191 withval=$with_udev;
4195 # Check whether --with-unwind was given.
4196 if test "${with_unwind+set}" = set; then :
4197 withval=$with_unwind;
4201 # Check whether --with-usb was given.
4202 if test "${with_usb+set}" = set; then :
4203 withval=$with_usb;
4207 # Check whether --with-v4l2 was given.
4208 if test "${with_v4l2+set}" = set; then :
4209 withval=$with_v4l2;
4213 # Check whether --with-vkd3d was given.
4214 if test "${with_vkd3d+set}" = set; then :
4215 withval=$with_vkd3d;
4219 # Check whether --with-vulkan was given.
4220 if test "${with_vulkan+set}" = set; then :
4221 withval=$with_vulkan;
4225 # Check whether --with-xcomposite was given.
4226 if test "${with_xcomposite+set}" = set; then :
4227 withval=$with_xcomposite; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xcomposite_h=no; fi
4231 # Check whether --with-xcursor was given.
4232 if test "${with_xcursor+set}" = set; then :
4233 withval=$with_xcursor; if test "x$withval" = "xno"; then ac_cv_header_X11_Xcursor_Xcursor_h=no; fi
4237 # Check whether --with-xfixes was given.
4238 if test "${with_xfixes+set}" = set; then :
4239 withval=$with_xfixes; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xfixes_h=no; fi
4243 # Check whether --with-xinerama was given.
4244 if test "${with_xinerama+set}" = set; then :
4245 withval=$with_xinerama; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xinerama_h=no; fi
4249 # Check whether --with-xinput was given.
4250 if test "${with_xinput+set}" = set; then :
4251 withval=$with_xinput; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput_h=no; fi
4255 # Check whether --with-xinput2 was given.
4256 if test "${with_xinput2+set}" = set; then :
4257 withval=$with_xinput2; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput2_h=no; fi
4261 # Check whether --with-xml was given.
4262 if test "${with_xml+set}" = set; then :
4263 withval=$with_xml;
4267 # Check whether --with-xrandr was given.
4268 if test "${with_xrandr+set}" = set; then :
4269 withval=$with_xrandr; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrandr_h=no; fi
4273 # Check whether --with-xrender was given.
4274 if test "${with_xrender+set}" = set; then :
4275 withval=$with_xrender; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrender_h=no; fi
4279 # Check whether --with-xshape was given.
4280 if test "${with_xshape+set}" = set; then :
4281 withval=$with_xshape; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_shape_h=no; fi
4285 # Check whether --with-xshm was given.
4286 if test "${with_xshm+set}" = set; then :
4287 withval=$with_xshm; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XShm_h=no; fi
4291 # Check whether --with-xslt was given.
4292 if test "${with_xslt+set}" = set; then :
4293 withval=$with_xslt;
4297 # Check whether --with-xxf86vm was given.
4298 if test "${with_xxf86vm+set}" = set; then :
4299 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
4304 # Check whether --with-wine-tools was given.
4305 if test "${with_wine_tools+set}" = set; then :
4306 withval=$with_wine_tools;
4310 # Check whether --with-wine64 was given.
4311 if test "${with_wine64+set}" = set; then :
4312 withval=$with_wine64;
4316 # Make sure we can run config.sub.
4317 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
4318 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
4320 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
4321 $as_echo_n "checking build system type... " >&6; }
4322 if ${ac_cv_build+:} false; then :
4323 $as_echo_n "(cached) " >&6
4324 else
4325 ac_build_alias=$build_alias
4326 test "x$ac_build_alias" = x &&
4327 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
4328 test "x$ac_build_alias" = x &&
4329 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
4330 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
4331 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
4334 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
4335 $as_echo "$ac_cv_build" >&6; }
4336 case $ac_cv_build in
4337 *-*-*) ;;
4338 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
4339 esac
4340 build=$ac_cv_build
4341 ac_save_IFS=$IFS; IFS='-'
4342 set x $ac_cv_build
4343 shift
4344 build_cpu=$1
4345 build_vendor=$2
4346 shift; shift
4347 # Remember, the first character of IFS is used to create $*,
4348 # except with old shells:
4349 build_os=$*
4350 IFS=$ac_save_IFS
4351 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
4354 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
4355 $as_echo_n "checking host system type... " >&6; }
4356 if ${ac_cv_host+:} false; then :
4357 $as_echo_n "(cached) " >&6
4358 else
4359 if test "x$host_alias" = x; then
4360 ac_cv_host=$ac_cv_build
4361 else
4362 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
4363 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
4367 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
4368 $as_echo "$ac_cv_host" >&6; }
4369 case $ac_cv_host in
4370 *-*-*) ;;
4371 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
4372 esac
4373 host=$ac_cv_host
4374 ac_save_IFS=$IFS; IFS='-'
4375 set x $ac_cv_host
4376 shift
4377 host_cpu=$1
4378 host_vendor=$2
4379 shift; shift
4380 # Remember, the first character of IFS is used to create $*,
4381 # except with old shells:
4382 host_os=$*
4383 IFS=$ac_save_IFS
4384 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
4389 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
4390 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
4391 set x ${MAKE-make}
4392 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
4393 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
4394 $as_echo_n "(cached) " >&6
4395 else
4396 cat >conftest.make <<\_ACEOF
4397 SHELL = /bin/sh
4398 all:
4399 @echo '@@@%%%=$(MAKE)=@@@%%%'
4400 _ACEOF
4401 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
4402 case `${MAKE-make} -f conftest.make 2>/dev/null` in
4403 *@@@%%%=?*=@@@%%%*)
4404 eval ac_cv_prog_make_${ac_make}_set=yes;;
4406 eval ac_cv_prog_make_${ac_make}_set=no;;
4407 esac
4408 rm -f conftest.make
4410 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
4411 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4412 $as_echo "yes" >&6; }
4413 SET_MAKE=
4414 else
4415 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4416 $as_echo "no" >&6; }
4417 SET_MAKE="MAKE=${MAKE-make}"
4420 ac_ext=c
4421 ac_cpp='$CPP $CPPFLAGS'
4422 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4423 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4424 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4425 if test -n "$ac_tool_prefix"; then
4426 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
4427 set dummy ${ac_tool_prefix}gcc; ac_word=$2
4428 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4429 $as_echo_n "checking for $ac_word... " >&6; }
4430 if ${ac_cv_prog_CC+:} false; then :
4431 $as_echo_n "(cached) " >&6
4432 else
4433 if test -n "$CC"; then
4434 ac_cv_prog_CC="$CC" # Let the user override the test.
4435 else
4436 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4437 for as_dir in $PATH
4439 IFS=$as_save_IFS
4440 test -z "$as_dir" && as_dir=.
4441 for ac_exec_ext in '' $ac_executable_extensions; do
4442 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4443 ac_cv_prog_CC="${ac_tool_prefix}gcc"
4444 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4445 break 2
4447 done
4448 done
4449 IFS=$as_save_IFS
4453 CC=$ac_cv_prog_CC
4454 if test -n "$CC"; then
4455 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4456 $as_echo "$CC" >&6; }
4457 else
4458 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4459 $as_echo "no" >&6; }
4464 if test -z "$ac_cv_prog_CC"; then
4465 ac_ct_CC=$CC
4466 # Extract the first word of "gcc", so it can be a program name with args.
4467 set dummy gcc; ac_word=$2
4468 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4469 $as_echo_n "checking for $ac_word... " >&6; }
4470 if ${ac_cv_prog_ac_ct_CC+:} false; then :
4471 $as_echo_n "(cached) " >&6
4472 else
4473 if test -n "$ac_ct_CC"; then
4474 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4475 else
4476 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4477 for as_dir in $PATH
4479 IFS=$as_save_IFS
4480 test -z "$as_dir" && as_dir=.
4481 for ac_exec_ext in '' $ac_executable_extensions; do
4482 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4483 ac_cv_prog_ac_ct_CC="gcc"
4484 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4485 break 2
4487 done
4488 done
4489 IFS=$as_save_IFS
4493 ac_ct_CC=$ac_cv_prog_ac_ct_CC
4494 if test -n "$ac_ct_CC"; then
4495 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4496 $as_echo "$ac_ct_CC" >&6; }
4497 else
4498 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4499 $as_echo "no" >&6; }
4502 if test "x$ac_ct_CC" = x; then
4503 CC=""
4504 else
4505 case $cross_compiling:$ac_tool_warned in
4506 yes:)
4507 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4508 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4509 ac_tool_warned=yes ;;
4510 esac
4511 CC=$ac_ct_CC
4513 else
4514 CC="$ac_cv_prog_CC"
4517 if test -z "$CC"; then
4518 if test -n "$ac_tool_prefix"; then
4519 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
4520 set dummy ${ac_tool_prefix}cc; ac_word=$2
4521 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4522 $as_echo_n "checking for $ac_word... " >&6; }
4523 if ${ac_cv_prog_CC+:} false; then :
4524 $as_echo_n "(cached) " >&6
4525 else
4526 if test -n "$CC"; then
4527 ac_cv_prog_CC="$CC" # Let the user override the test.
4528 else
4529 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4530 for as_dir in $PATH
4532 IFS=$as_save_IFS
4533 test -z "$as_dir" && as_dir=.
4534 for ac_exec_ext in '' $ac_executable_extensions; do
4535 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4536 ac_cv_prog_CC="${ac_tool_prefix}cc"
4537 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4538 break 2
4540 done
4541 done
4542 IFS=$as_save_IFS
4546 CC=$ac_cv_prog_CC
4547 if test -n "$CC"; then
4548 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4549 $as_echo "$CC" >&6; }
4550 else
4551 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4552 $as_echo "no" >&6; }
4558 if test -z "$CC"; then
4559 # Extract the first word of "cc", so it can be a program name with args.
4560 set dummy cc; ac_word=$2
4561 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4562 $as_echo_n "checking for $ac_word... " >&6; }
4563 if ${ac_cv_prog_CC+:} false; then :
4564 $as_echo_n "(cached) " >&6
4565 else
4566 if test -n "$CC"; then
4567 ac_cv_prog_CC="$CC" # Let the user override the test.
4568 else
4569 ac_prog_rejected=no
4570 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4571 for as_dir in $PATH
4573 IFS=$as_save_IFS
4574 test -z "$as_dir" && as_dir=.
4575 for ac_exec_ext in '' $ac_executable_extensions; do
4576 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4577 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
4578 ac_prog_rejected=yes
4579 continue
4581 ac_cv_prog_CC="cc"
4582 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4583 break 2
4585 done
4586 done
4587 IFS=$as_save_IFS
4589 if test $ac_prog_rejected = yes; then
4590 # We found a bogon in the path, so make sure we never use it.
4591 set dummy $ac_cv_prog_CC
4592 shift
4593 if test $# != 0; then
4594 # We chose a different compiler from the bogus one.
4595 # However, it has the same basename, so the bogon will be chosen
4596 # first if we set CC to just the basename; use the full file name.
4597 shift
4598 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
4603 CC=$ac_cv_prog_CC
4604 if test -n "$CC"; then
4605 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4606 $as_echo "$CC" >&6; }
4607 else
4608 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4609 $as_echo "no" >&6; }
4614 if test -z "$CC"; then
4615 if test -n "$ac_tool_prefix"; then
4616 for ac_prog in cl.exe
4618 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4619 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4620 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4621 $as_echo_n "checking for $ac_word... " >&6; }
4622 if ${ac_cv_prog_CC+:} false; then :
4623 $as_echo_n "(cached) " >&6
4624 else
4625 if test -n "$CC"; then
4626 ac_cv_prog_CC="$CC" # Let the user override the test.
4627 else
4628 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4629 for as_dir in $PATH
4631 IFS=$as_save_IFS
4632 test -z "$as_dir" && as_dir=.
4633 for ac_exec_ext in '' $ac_executable_extensions; do
4634 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4635 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
4636 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4637 break 2
4639 done
4640 done
4641 IFS=$as_save_IFS
4645 CC=$ac_cv_prog_CC
4646 if test -n "$CC"; then
4647 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4648 $as_echo "$CC" >&6; }
4649 else
4650 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4651 $as_echo "no" >&6; }
4655 test -n "$CC" && break
4656 done
4658 if test -z "$CC"; then
4659 ac_ct_CC=$CC
4660 for ac_prog in cl.exe
4662 # Extract the first word of "$ac_prog", so it can be a program name with args.
4663 set dummy $ac_prog; ac_word=$2
4664 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4665 $as_echo_n "checking for $ac_word... " >&6; }
4666 if ${ac_cv_prog_ac_ct_CC+:} false; then :
4667 $as_echo_n "(cached) " >&6
4668 else
4669 if test -n "$ac_ct_CC"; then
4670 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4671 else
4672 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4673 for as_dir in $PATH
4675 IFS=$as_save_IFS
4676 test -z "$as_dir" && as_dir=.
4677 for ac_exec_ext in '' $ac_executable_extensions; do
4678 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4679 ac_cv_prog_ac_ct_CC="$ac_prog"
4680 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4681 break 2
4683 done
4684 done
4685 IFS=$as_save_IFS
4689 ac_ct_CC=$ac_cv_prog_ac_ct_CC
4690 if test -n "$ac_ct_CC"; then
4691 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4692 $as_echo "$ac_ct_CC" >&6; }
4693 else
4694 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4695 $as_echo "no" >&6; }
4699 test -n "$ac_ct_CC" && break
4700 done
4702 if test "x$ac_ct_CC" = x; then
4703 CC=""
4704 else
4705 case $cross_compiling:$ac_tool_warned in
4706 yes:)
4707 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4708 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4709 ac_tool_warned=yes ;;
4710 esac
4711 CC=$ac_ct_CC
4718 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4719 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4720 as_fn_error $? "no acceptable C compiler found in \$PATH
4721 See \`config.log' for more details" "$LINENO" 5; }
4723 # Provide some information about the compiler.
4724 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
4725 set X $ac_compile
4726 ac_compiler=$2
4727 for ac_option in --version -v -V -qversion; do
4728 { { ac_try="$ac_compiler $ac_option >&5"
4729 case "(($ac_try" in
4730 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4731 *) ac_try_echo=$ac_try;;
4732 esac
4733 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4734 $as_echo "$ac_try_echo"; } >&5
4735 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4736 ac_status=$?
4737 if test -s conftest.err; then
4738 sed '10a\
4739 ... rest of stderr output deleted ...
4740 10q' conftest.err >conftest.er1
4741 cat conftest.er1 >&5
4743 rm -f conftest.er1 conftest.err
4744 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4745 test $ac_status = 0; }
4746 done
4748 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4749 /* end confdefs.h. */
4752 main ()
4756 return 0;
4758 _ACEOF
4759 ac_clean_files_save=$ac_clean_files
4760 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
4761 # Try to create an executable without -o first, disregard a.out.
4762 # It will help us diagnose broken compilers, and finding out an intuition
4763 # of exeext.
4764 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
4765 $as_echo_n "checking whether the C compiler works... " >&6; }
4766 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
4768 # The possible output files:
4769 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
4771 ac_rmfiles=
4772 for ac_file in $ac_files
4774 case $ac_file in
4775 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4776 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
4777 esac
4778 done
4779 rm -f $ac_rmfiles
4781 if { { ac_try="$ac_link_default"
4782 case "(($ac_try" in
4783 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4784 *) ac_try_echo=$ac_try;;
4785 esac
4786 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4787 $as_echo "$ac_try_echo"; } >&5
4788 (eval "$ac_link_default") 2>&5
4789 ac_status=$?
4790 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4791 test $ac_status = 0; }; then :
4792 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
4793 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
4794 # in a Makefile. We should not override ac_cv_exeext if it was cached,
4795 # so that the user can short-circuit this test for compilers unknown to
4796 # Autoconf.
4797 for ac_file in $ac_files ''
4799 test -f "$ac_file" || continue
4800 case $ac_file in
4801 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
4803 [ab].out )
4804 # We found the default executable, but exeext='' is most
4805 # certainly right.
4806 break;;
4807 *.* )
4808 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
4809 then :; else
4810 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4812 # We set ac_cv_exeext here because the later test for it is not
4813 # safe: cross compilers may not add the suffix if given an `-o'
4814 # argument, so we may need to know it at that point already.
4815 # Even if this section looks crufty: it has the advantage of
4816 # actually working.
4817 break;;
4819 break;;
4820 esac
4821 done
4822 test "$ac_cv_exeext" = no && ac_cv_exeext=
4824 else
4825 ac_file=''
4827 if test -z "$ac_file"; then :
4828 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4829 $as_echo "no" >&6; }
4830 $as_echo "$as_me: failed program was:" >&5
4831 sed 's/^/| /' conftest.$ac_ext >&5
4833 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4834 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4835 as_fn_error 77 "C compiler cannot create executables
4836 See \`config.log' for more details" "$LINENO" 5; }
4837 else
4838 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4839 $as_echo "yes" >&6; }
4841 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
4842 $as_echo_n "checking for C compiler default output file name... " >&6; }
4843 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
4844 $as_echo "$ac_file" >&6; }
4845 ac_exeext=$ac_cv_exeext
4847 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
4848 ac_clean_files=$ac_clean_files_save
4849 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
4850 $as_echo_n "checking for suffix of executables... " >&6; }
4851 if { { ac_try="$ac_link"
4852 case "(($ac_try" in
4853 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4854 *) ac_try_echo=$ac_try;;
4855 esac
4856 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4857 $as_echo "$ac_try_echo"; } >&5
4858 (eval "$ac_link") 2>&5
4859 ac_status=$?
4860 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4861 test $ac_status = 0; }; then :
4862 # If both `conftest.exe' and `conftest' are `present' (well, observable)
4863 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
4864 # work properly (i.e., refer to `conftest.exe'), while it won't with
4865 # `rm'.
4866 for ac_file in conftest.exe conftest conftest.*; do
4867 test -f "$ac_file" || continue
4868 case $ac_file in
4869 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4870 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4871 break;;
4872 * ) break;;
4873 esac
4874 done
4875 else
4876 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4877 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4878 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
4879 See \`config.log' for more details" "$LINENO" 5; }
4881 rm -f conftest conftest$ac_cv_exeext
4882 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
4883 $as_echo "$ac_cv_exeext" >&6; }
4885 rm -f conftest.$ac_ext
4886 EXEEXT=$ac_cv_exeext
4887 ac_exeext=$EXEEXT
4888 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4889 /* end confdefs.h. */
4890 #include <stdio.h>
4892 main ()
4894 FILE *f = fopen ("conftest.out", "w");
4895 return ferror (f) || fclose (f) != 0;
4898 return 0;
4900 _ACEOF
4901 ac_clean_files="$ac_clean_files conftest.out"
4902 # Check that the compiler produces executables we can run. If not, either
4903 # the compiler is broken, or we cross compile.
4904 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
4905 $as_echo_n "checking whether we are cross compiling... " >&6; }
4906 if test "$cross_compiling" != yes; then
4907 { { ac_try="$ac_link"
4908 case "(($ac_try" in
4909 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4910 *) ac_try_echo=$ac_try;;
4911 esac
4912 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4913 $as_echo "$ac_try_echo"; } >&5
4914 (eval "$ac_link") 2>&5
4915 ac_status=$?
4916 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4917 test $ac_status = 0; }
4918 if { ac_try='./conftest$ac_cv_exeext'
4919 { { case "(($ac_try" in
4920 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4921 *) ac_try_echo=$ac_try;;
4922 esac
4923 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4924 $as_echo "$ac_try_echo"; } >&5
4925 (eval "$ac_try") 2>&5
4926 ac_status=$?
4927 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4928 test $ac_status = 0; }; }; then
4929 cross_compiling=no
4930 else
4931 if test "$cross_compiling" = maybe; then
4932 cross_compiling=yes
4933 else
4934 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4935 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4936 as_fn_error $? "cannot run C compiled programs.
4937 If you meant to cross compile, use \`--host'.
4938 See \`config.log' for more details" "$LINENO" 5; }
4942 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
4943 $as_echo "$cross_compiling" >&6; }
4945 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
4946 ac_clean_files=$ac_clean_files_save
4947 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
4948 $as_echo_n "checking for suffix of object files... " >&6; }
4949 if ${ac_cv_objext+:} false; then :
4950 $as_echo_n "(cached) " >&6
4951 else
4952 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4953 /* end confdefs.h. */
4956 main ()
4960 return 0;
4962 _ACEOF
4963 rm -f conftest.o conftest.obj
4964 if { { ac_try="$ac_compile"
4965 case "(($ac_try" in
4966 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4967 *) ac_try_echo=$ac_try;;
4968 esac
4969 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4970 $as_echo "$ac_try_echo"; } >&5
4971 (eval "$ac_compile") 2>&5
4972 ac_status=$?
4973 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4974 test $ac_status = 0; }; then :
4975 for ac_file in conftest.o conftest.obj conftest.*; do
4976 test -f "$ac_file" || continue;
4977 case $ac_file in
4978 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
4979 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
4980 break;;
4981 esac
4982 done
4983 else
4984 $as_echo "$as_me: failed program was:" >&5
4985 sed 's/^/| /' conftest.$ac_ext >&5
4987 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4988 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4989 as_fn_error $? "cannot compute suffix of object files: cannot compile
4990 See \`config.log' for more details" "$LINENO" 5; }
4992 rm -f conftest.$ac_cv_objext conftest.$ac_ext
4994 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
4995 $as_echo "$ac_cv_objext" >&6; }
4996 OBJEXT=$ac_cv_objext
4997 ac_objext=$OBJEXT
4998 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4999 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
5000 if ${ac_cv_c_compiler_gnu+:} false; then :
5001 $as_echo_n "(cached) " >&6
5002 else
5003 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5004 /* end confdefs.h. */
5007 main ()
5009 #ifndef __GNUC__
5010 choke me
5011 #endif
5014 return 0;
5016 _ACEOF
5017 if ac_fn_c_try_compile "$LINENO"; then :
5018 ac_compiler_gnu=yes
5019 else
5020 ac_compiler_gnu=no
5022 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5023 ac_cv_c_compiler_gnu=$ac_compiler_gnu
5026 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
5027 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
5028 if test $ac_compiler_gnu = yes; then
5029 GCC=yes
5030 else
5031 GCC=
5033 ac_test_CFLAGS=${CFLAGS+set}
5034 ac_save_CFLAGS=$CFLAGS
5035 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
5036 $as_echo_n "checking whether $CC accepts -g... " >&6; }
5037 if ${ac_cv_prog_cc_g+:} false; then :
5038 $as_echo_n "(cached) " >&6
5039 else
5040 ac_save_c_werror_flag=$ac_c_werror_flag
5041 ac_c_werror_flag=yes
5042 ac_cv_prog_cc_g=no
5043 CFLAGS="-g"
5044 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5045 /* end confdefs.h. */
5048 main ()
5052 return 0;
5054 _ACEOF
5055 if ac_fn_c_try_compile "$LINENO"; then :
5056 ac_cv_prog_cc_g=yes
5057 else
5058 CFLAGS=""
5059 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5060 /* end confdefs.h. */
5063 main ()
5067 return 0;
5069 _ACEOF
5070 if ac_fn_c_try_compile "$LINENO"; then :
5072 else
5073 ac_c_werror_flag=$ac_save_c_werror_flag
5074 CFLAGS="-g"
5075 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5076 /* end confdefs.h. */
5079 main ()
5083 return 0;
5085 _ACEOF
5086 if ac_fn_c_try_compile "$LINENO"; then :
5087 ac_cv_prog_cc_g=yes
5089 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5091 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5093 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5094 ac_c_werror_flag=$ac_save_c_werror_flag
5096 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
5097 $as_echo "$ac_cv_prog_cc_g" >&6; }
5098 if test "$ac_test_CFLAGS" = set; then
5099 CFLAGS=$ac_save_CFLAGS
5100 elif test $ac_cv_prog_cc_g = yes; then
5101 if test "$GCC" = yes; then
5102 CFLAGS="-g -O2"
5103 else
5104 CFLAGS="-g"
5106 else
5107 if test "$GCC" = yes; then
5108 CFLAGS="-O2"
5109 else
5110 CFLAGS=
5113 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
5114 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
5115 if ${ac_cv_prog_cc_c89+:} false; then :
5116 $as_echo_n "(cached) " >&6
5117 else
5118 ac_cv_prog_cc_c89=no
5119 ac_save_CC=$CC
5120 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5121 /* end confdefs.h. */
5122 #include <stdarg.h>
5123 #include <stdio.h>
5124 struct stat;
5125 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
5126 struct buf { int x; };
5127 FILE * (*rcsopen) (struct buf *, struct stat *, int);
5128 static char *e (p, i)
5129 char **p;
5130 int i;
5132 return p[i];
5134 static char *f (char * (*g) (char **, int), char **p, ...)
5136 char *s;
5137 va_list v;
5138 va_start (v,p);
5139 s = g (p, va_arg (v,int));
5140 va_end (v);
5141 return s;
5144 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
5145 function prototypes and stuff, but not '\xHH' hex character constants.
5146 These don't provoke an error unfortunately, instead are silently treated
5147 as 'x'. The following induces an error, until -std is added to get
5148 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
5149 array size at least. It's necessary to write '\x00'==0 to get something
5150 that's true only with -std. */
5151 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
5153 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
5154 inside strings and character constants. */
5155 #define FOO(x) 'x'
5156 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
5158 int test (int i, double x);
5159 struct s1 {int (*f) (int a);};
5160 struct s2 {int (*f) (double a);};
5161 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
5162 int argc;
5163 char **argv;
5165 main ()
5167 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
5169 return 0;
5171 _ACEOF
5172 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
5173 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
5175 CC="$ac_save_CC $ac_arg"
5176 if ac_fn_c_try_compile "$LINENO"; then :
5177 ac_cv_prog_cc_c89=$ac_arg
5179 rm -f core conftest.err conftest.$ac_objext
5180 test "x$ac_cv_prog_cc_c89" != "xno" && break
5181 done
5182 rm -f conftest.$ac_ext
5183 CC=$ac_save_CC
5186 # AC_CACHE_VAL
5187 case "x$ac_cv_prog_cc_c89" in
5189 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
5190 $as_echo "none needed" >&6; } ;;
5191 xno)
5192 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
5193 $as_echo "unsupported" >&6; } ;;
5195 CC="$CC $ac_cv_prog_cc_c89"
5196 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
5197 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
5198 esac
5199 if test "x$ac_cv_prog_cc_c89" != xno; then :
5203 ac_ext=c
5204 ac_cpp='$CPP $CPPFLAGS'
5205 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5206 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5207 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5209 ac_ext=cpp
5210 ac_cpp='$CXXCPP $CPPFLAGS'
5211 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5212 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5213 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
5214 if test -z "$CXX"; then
5215 if test -n "$CCC"; then
5216 CXX=$CCC
5217 else
5218 if test -n "$ac_tool_prefix"; then
5219 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
5221 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5222 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5223 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5224 $as_echo_n "checking for $ac_word... " >&6; }
5225 if ${ac_cv_prog_CXX+:} false; then :
5226 $as_echo_n "(cached) " >&6
5227 else
5228 if test -n "$CXX"; then
5229 ac_cv_prog_CXX="$CXX" # Let the user override the test.
5230 else
5231 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5232 for as_dir in $PATH
5234 IFS=$as_save_IFS
5235 test -z "$as_dir" && as_dir=.
5236 for ac_exec_ext in '' $ac_executable_extensions; do
5237 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5238 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
5239 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5240 break 2
5242 done
5243 done
5244 IFS=$as_save_IFS
5248 CXX=$ac_cv_prog_CXX
5249 if test -n "$CXX"; then
5250 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
5251 $as_echo "$CXX" >&6; }
5252 else
5253 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5254 $as_echo "no" >&6; }
5258 test -n "$CXX" && break
5259 done
5261 if test -z "$CXX"; then
5262 ac_ct_CXX=$CXX
5263 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
5265 # Extract the first word of "$ac_prog", so it can be a program name with args.
5266 set dummy $ac_prog; ac_word=$2
5267 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5268 $as_echo_n "checking for $ac_word... " >&6; }
5269 if ${ac_cv_prog_ac_ct_CXX+:} false; then :
5270 $as_echo_n "(cached) " >&6
5271 else
5272 if test -n "$ac_ct_CXX"; then
5273 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
5274 else
5275 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5276 for as_dir in $PATH
5278 IFS=$as_save_IFS
5279 test -z "$as_dir" && as_dir=.
5280 for ac_exec_ext in '' $ac_executable_extensions; do
5281 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5282 ac_cv_prog_ac_ct_CXX="$ac_prog"
5283 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5284 break 2
5286 done
5287 done
5288 IFS=$as_save_IFS
5292 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
5293 if test -n "$ac_ct_CXX"; then
5294 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
5295 $as_echo "$ac_ct_CXX" >&6; }
5296 else
5297 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5298 $as_echo "no" >&6; }
5302 test -n "$ac_ct_CXX" && break
5303 done
5305 if test "x$ac_ct_CXX" = x; then
5306 CXX="g++"
5307 else
5308 case $cross_compiling:$ac_tool_warned in
5309 yes:)
5310 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5311 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5312 ac_tool_warned=yes ;;
5313 esac
5314 CXX=$ac_ct_CXX
5320 # Provide some information about the compiler.
5321 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
5322 set X $ac_compile
5323 ac_compiler=$2
5324 for ac_option in --version -v -V -qversion; do
5325 { { ac_try="$ac_compiler $ac_option >&5"
5326 case "(($ac_try" in
5327 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5328 *) ac_try_echo=$ac_try;;
5329 esac
5330 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5331 $as_echo "$ac_try_echo"; } >&5
5332 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
5333 ac_status=$?
5334 if test -s conftest.err; then
5335 sed '10a\
5336 ... rest of stderr output deleted ...
5337 10q' conftest.err >conftest.er1
5338 cat conftest.er1 >&5
5340 rm -f conftest.er1 conftest.err
5341 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5342 test $ac_status = 0; }
5343 done
5345 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
5346 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
5347 if ${ac_cv_cxx_compiler_gnu+:} false; then :
5348 $as_echo_n "(cached) " >&6
5349 else
5350 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5351 /* end confdefs.h. */
5354 main ()
5356 #ifndef __GNUC__
5357 choke me
5358 #endif
5361 return 0;
5363 _ACEOF
5364 if ac_fn_cxx_try_compile "$LINENO"; then :
5365 ac_compiler_gnu=yes
5366 else
5367 ac_compiler_gnu=no
5369 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5370 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
5373 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
5374 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
5375 if test $ac_compiler_gnu = yes; then
5376 GXX=yes
5377 else
5378 GXX=
5380 ac_test_CXXFLAGS=${CXXFLAGS+set}
5381 ac_save_CXXFLAGS=$CXXFLAGS
5382 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
5383 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
5384 if ${ac_cv_prog_cxx_g+:} false; then :
5385 $as_echo_n "(cached) " >&6
5386 else
5387 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
5388 ac_cxx_werror_flag=yes
5389 ac_cv_prog_cxx_g=no
5390 CXXFLAGS="-g"
5391 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5392 /* end confdefs.h. */
5395 main ()
5399 return 0;
5401 _ACEOF
5402 if ac_fn_cxx_try_compile "$LINENO"; then :
5403 ac_cv_prog_cxx_g=yes
5404 else
5405 CXXFLAGS=""
5406 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5407 /* end confdefs.h. */
5410 main ()
5414 return 0;
5416 _ACEOF
5417 if ac_fn_cxx_try_compile "$LINENO"; then :
5419 else
5420 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
5421 CXXFLAGS="-g"
5422 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5423 /* end confdefs.h. */
5426 main ()
5430 return 0;
5432 _ACEOF
5433 if ac_fn_cxx_try_compile "$LINENO"; then :
5434 ac_cv_prog_cxx_g=yes
5436 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5438 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5440 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5441 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
5443 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
5444 $as_echo "$ac_cv_prog_cxx_g" >&6; }
5445 if test "$ac_test_CXXFLAGS" = set; then
5446 CXXFLAGS=$ac_save_CXXFLAGS
5447 elif test $ac_cv_prog_cxx_g = yes; then
5448 if test "$GXX" = yes; then
5449 CXXFLAGS="-g -O2"
5450 else
5451 CXXFLAGS="-g"
5453 else
5454 if test "$GXX" = yes; then
5455 CXXFLAGS="-O2"
5456 else
5457 CXXFLAGS=
5460 ac_ext=c
5461 ac_cpp='$CPP $CPPFLAGS'
5462 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5463 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5464 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5466 if test -n "$ac_tool_prefix"; then
5467 # Extract the first word of "${ac_tool_prefix}cpp", so it can be a program name with args.
5468 set dummy ${ac_tool_prefix}cpp; ac_word=$2
5469 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5470 $as_echo_n "checking for $ac_word... " >&6; }
5471 if ${ac_cv_prog_CPPBIN+:} false; then :
5472 $as_echo_n "(cached) " >&6
5473 else
5474 if test -n "$CPPBIN"; then
5475 ac_cv_prog_CPPBIN="$CPPBIN" # Let the user override the test.
5476 else
5477 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5478 for as_dir in $PATH
5480 IFS=$as_save_IFS
5481 test -z "$as_dir" && as_dir=.
5482 for ac_exec_ext in '' $ac_executable_extensions; do
5483 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5484 ac_cv_prog_CPPBIN="${ac_tool_prefix}cpp"
5485 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5486 break 2
5488 done
5489 done
5490 IFS=$as_save_IFS
5494 CPPBIN=$ac_cv_prog_CPPBIN
5495 if test -n "$CPPBIN"; then
5496 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPPBIN" >&5
5497 $as_echo "$CPPBIN" >&6; }
5498 else
5499 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5500 $as_echo "no" >&6; }
5505 if test -z "$ac_cv_prog_CPPBIN"; then
5506 ac_ct_CPPBIN=$CPPBIN
5507 # Extract the first word of "cpp", so it can be a program name with args.
5508 set dummy cpp; ac_word=$2
5509 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5510 $as_echo_n "checking for $ac_word... " >&6; }
5511 if ${ac_cv_prog_ac_ct_CPPBIN+:} false; then :
5512 $as_echo_n "(cached) " >&6
5513 else
5514 if test -n "$ac_ct_CPPBIN"; then
5515 ac_cv_prog_ac_ct_CPPBIN="$ac_ct_CPPBIN" # Let the user override the test.
5516 else
5517 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5518 for as_dir in $PATH
5520 IFS=$as_save_IFS
5521 test -z "$as_dir" && as_dir=.
5522 for ac_exec_ext in '' $ac_executable_extensions; do
5523 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5524 ac_cv_prog_ac_ct_CPPBIN="cpp"
5525 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5526 break 2
5528 done
5529 done
5530 IFS=$as_save_IFS
5534 ac_ct_CPPBIN=$ac_cv_prog_ac_ct_CPPBIN
5535 if test -n "$ac_ct_CPPBIN"; then
5536 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CPPBIN" >&5
5537 $as_echo "$ac_ct_CPPBIN" >&6; }
5538 else
5539 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5540 $as_echo "no" >&6; }
5543 if test "x$ac_ct_CPPBIN" = x; then
5544 CPPBIN="cpp"
5545 else
5546 case $cross_compiling:$ac_tool_warned in
5547 yes:)
5548 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5549 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5550 ac_tool_warned=yes ;;
5551 esac
5552 CPPBIN=$ac_ct_CPPBIN
5554 else
5555 CPPBIN="$ac_cv_prog_CPPBIN"
5559 cat >>confdefs.h <<_ACEOF
5560 #define EXEEXT "$ac_exeext"
5561 _ACEOF
5563 if test -n "$ac_tool_prefix"; then
5564 # Extract the first word of "${ac_tool_prefix}ld", so it can be a program name with args.
5565 set dummy ${ac_tool_prefix}ld; ac_word=$2
5566 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5567 $as_echo_n "checking for $ac_word... " >&6; }
5568 if ${ac_cv_prog_LD+:} false; then :
5569 $as_echo_n "(cached) " >&6
5570 else
5571 if test -n "$LD"; then
5572 ac_cv_prog_LD="$LD" # Let the user override the test.
5573 else
5574 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5575 for as_dir in $PATH
5577 IFS=$as_save_IFS
5578 test -z "$as_dir" && as_dir=.
5579 for ac_exec_ext in '' $ac_executable_extensions; do
5580 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5581 ac_cv_prog_LD="${ac_tool_prefix}ld"
5582 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5583 break 2
5585 done
5586 done
5587 IFS=$as_save_IFS
5591 LD=$ac_cv_prog_LD
5592 if test -n "$LD"; then
5593 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
5594 $as_echo "$LD" >&6; }
5595 else
5596 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5597 $as_echo "no" >&6; }
5602 if test -z "$ac_cv_prog_LD"; then
5603 ac_ct_LD=$LD
5604 # Extract the first word of "ld", so it can be a program name with args.
5605 set dummy ld; ac_word=$2
5606 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5607 $as_echo_n "checking for $ac_word... " >&6; }
5608 if ${ac_cv_prog_ac_ct_LD+:} false; then :
5609 $as_echo_n "(cached) " >&6
5610 else
5611 if test -n "$ac_ct_LD"; then
5612 ac_cv_prog_ac_ct_LD="$ac_ct_LD" # Let the user override the test.
5613 else
5614 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5615 for as_dir in $PATH
5617 IFS=$as_save_IFS
5618 test -z "$as_dir" && as_dir=.
5619 for ac_exec_ext in '' $ac_executable_extensions; do
5620 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5621 ac_cv_prog_ac_ct_LD="ld"
5622 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5623 break 2
5625 done
5626 done
5627 IFS=$as_save_IFS
5631 ac_ct_LD=$ac_cv_prog_ac_ct_LD
5632 if test -n "$ac_ct_LD"; then
5633 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LD" >&5
5634 $as_echo "$ac_ct_LD" >&6; }
5635 else
5636 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5637 $as_echo "no" >&6; }
5640 if test "x$ac_ct_LD" = x; then
5641 LD=""
5642 else
5643 case $cross_compiling:$ac_tool_warned in
5644 yes:)
5645 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5646 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5647 ac_tool_warned=yes ;;
5648 esac
5649 LD=$ac_ct_LD
5651 else
5652 LD="$ac_cv_prog_LD"
5656 case $host in
5657 *-darwin*)
5658 with_fontconfig=${with_fontconfig:-no}
5660 *-mingw32*|*-cygwin*)
5661 enable_win16=${enable_win16:-no}
5662 with_mingw=${with_mingw:-no}
5663 CFLAGS="$CFLAGS -D_WIN32"
5665 esac
5668 case $host in
5669 x86_64*|amd64*)
5670 if test "x$enable_win64" != "xyes" -a "$cross_compiling" != "yes"
5671 then
5672 CC="$CC -m32"
5673 CXX="$CXX -m32"
5675 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC works" >&5
5676 $as_echo_n "checking whether $CC works... " >&6; }
5677 if ${wine_cv_cc_m32+:} false; then :
5678 $as_echo_n "(cached) " >&6
5679 else
5680 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5681 /* end confdefs.h. */
5684 main ()
5688 return 0;
5690 _ACEOF
5691 if ac_fn_c_try_link "$LINENO"; then :
5692 wine_cv_cc_m32=yes
5693 else
5694 wine_cv_cc_m32=no
5696 rm -f core conftest.err conftest.$ac_objext \
5697 conftest$ac_exeext conftest.$ac_ext
5699 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_cc_m32" >&5
5700 $as_echo "$wine_cv_cc_m32" >&6; }
5701 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
5702 host_cpu="i386"
5703 notice_platform="32-bit "
5704 TARGETFLAGS="$TARGETFLAGS -m32"
5705 PKG_CONFIG_PATH=${PKG_CONFIG_PATH:-/usr/lib/i386-linux-gnu/pkgconfig:/usr/lib32/pkgconfig:/usr/lib/pkgconfig}
5706 export PKG_CONFIG_PATH
5707 enable_win16=${enable_win16:-yes}
5708 with_unwind=${with_unwind:-no}
5709 else
5710 if test "x${GCC}" = "xyes"
5711 then
5712 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports __builtin_ms_va_list" >&5
5713 $as_echo_n "checking whether $CC supports __builtin_ms_va_list... " >&6; }
5714 if ${wine_cv_builtin_ms_va_list+:} false; then :
5715 $as_echo_n "(cached) " >&6
5716 else
5717 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5718 /* end confdefs.h. */
5719 #include <stdarg.h>
5721 main ()
5723 void func(__builtin_ms_va_list *args);
5725 return 0;
5727 _ACEOF
5728 if ac_fn_c_try_compile "$LINENO"; then :
5729 wine_cv_builtin_ms_va_list=yes
5730 else
5731 wine_cv_builtin_ms_va_list=no
5733 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5735 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_builtin_ms_va_list" >&5
5736 $as_echo "$wine_cv_builtin_ms_va_list" >&6; }
5737 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
5739 CC="$CC -m64"
5740 CXX="$CXX -m64"
5741 host_cpu="x86_64"
5742 notice_platform="64-bit "
5743 TARGETFLAGS="$TARGETFLAGS -m64"
5744 enable_wow64cpu=${enable_wow64cpu:-yes}
5747 arm*)
5748 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports Thumb-2" >&5
5749 $as_echo_n "checking whether $CC supports Thumb-2... " >&6; }
5750 if ${wine_cv_thumb2+:} false; then :
5751 $as_echo_n "(cached) " >&6
5752 else
5753 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5754 /* end confdefs.h. */
5757 main ()
5759 asm(".syntax unified\n\t.thumb\n\tldm r0,{r0-r8}");
5761 return 0;
5763 _ACEOF
5764 if ac_fn_c_try_link "$LINENO"; then :
5765 wine_cv_thumb2=yes
5766 else
5767 wine_cv_thumb2=no
5769 rm -f core conftest.err conftest.$ac_objext \
5770 conftest$ac_exeext conftest.$ac_ext
5772 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_thumb2" >&5
5773 $as_echo "$wine_cv_thumb2" >&6; }
5774 if test x"$wine_cv_thumb2" = xyes
5775 then
5776 CFLAGS="$CFLAGS -mthumb"
5777 TARGETFLAGS="$TARGETFLAGS -mthumb"
5778 else
5779 CFLAGS="$CFLAGS -marm"
5780 TARGETFLAGS="$TARGETFLAGS -marm"
5782 case $with_float_abi in
5783 soft|softfp|hard)
5784 float_abi=$with_float_abi ;;
5786 case $host_os in
5787 *eabihf)
5788 float_abi=hard ;;
5790 float_abi=softfp
5791 saved_CFLAGS=$CFLAGS
5792 CFLAGS="$CFLAGS -mfloat-abi=$float_abi"
5793 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -mfloat-abi=$float_abi" >&5
5794 $as_echo_n "checking whether $CC supports -mfloat-abi=$float_abi... " >&6; }
5795 if ${wine_cv_float_abi+:} false; then :
5796 $as_echo_n "(cached) " >&6
5797 else
5798 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5799 /* end confdefs.h. */
5802 main ()
5804 asm("vmrs r2,fpscr");
5806 return 0;
5808 _ACEOF
5809 if ac_fn_c_try_link "$LINENO"; then :
5810 wine_cv_float_abi=yes
5811 else
5812 wine_cv_float_abi=no
5814 rm -f core conftest.err conftest.$ac_objext \
5815 conftest$ac_exeext conftest.$ac_ext
5817 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_float_abi" >&5
5818 $as_echo "$wine_cv_float_abi" >&6; }
5819 if test $wine_cv_float_abi = no
5820 then
5821 float_abi=soft
5822 as_fn_append wine_warnings "|Floating point is not supported for this target. The resulting build won't be compatible with Windows ARM binaries."
5824 CFLAGS=$saved_CFLAGS
5825 esac
5827 esac
5828 CFLAGS="$CFLAGS -mfloat-abi=$float_abi"
5829 TARGETFLAGS="$TARGETFLAGS -mfloat-abi=$float_abi"
5831 aarch64*)
5832 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports __builtin_ms_va_list" >&5
5833 $as_echo_n "checking whether $CC supports __builtin_ms_va_list... " >&6; }
5834 if ${wine_cv_builtin_ms_va_list+:} false; then :
5835 $as_echo_n "(cached) " >&6
5836 else
5837 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5838 /* end confdefs.h. */
5839 #include <stdarg.h>
5841 main ()
5843 void func(__builtin_ms_va_list *args);
5845 return 0;
5847 _ACEOF
5848 if ac_fn_c_try_compile "$LINENO"; then :
5849 wine_cv_builtin_ms_va_list=yes
5850 else
5851 wine_cv_builtin_ms_va_list=no
5853 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5855 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_builtin_ms_va_list" >&5
5856 $as_echo "$wine_cv_builtin_ms_va_list" >&6; }
5857 test $wine_cv_builtin_ms_va_list != no || as_fn_error $? "You need clang >= 5.0 to build Wine for arm64." "$LINENO" 5
5859 i[3456789]86*)
5860 enable_win16=${enable_win16:-yes}
5861 with_unwind=${with_unwind:-no}
5863 esac
5865 enable_win16=${enable_win16:-no}
5866 enable_win64=${enable_win64:-no}
5867 enable_wow64cpu=${enable_wow64cpu:-no}
5869 enable_winetest=${enable_winetest:-$enable_tests}
5871 if test "x$enable_win64" = "xyes"
5872 then
5873 test -z "$with_wine64" || as_fn_error $? "--enable-win64 and --with-wine64 are mutually exclusive.
5874 --enable-win64 should be used in the 64-bit build tree, --with-wine64 in the 32-bit Wow64 build tree." "$LINENO" 5
5877 case $host_cpu in
5878 *i[3456789]86*) ARCH="i386"
5880 *x86_64*) ARCH="x86_64"
5882 *aarch64*) ARCH="aarch64"
5884 *arm*) ARCH="arm"
5886 *) ARCH=""
5888 esac
5890 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the directory containing the Wine tools" >&5
5891 $as_echo_n "checking for the directory containing the Wine tools... " >&6; }
5892 if ${wine_cv_toolsdir+:} false; then :
5893 $as_echo_n "(cached) " >&6
5894 else
5895 wine_cv_toolsdir="$with_wine_tools"
5896 if test -z "$with_wine_tools"; then
5897 if test "$cross_compiling" = "yes"; then
5898 as_fn_error $? "you must use the --with-wine-tools option when cross-compiling." "$LINENO" 5
5899 elif test -n "$with_wine64"; then
5900 wine_cv_toolsdir="$with_wine64"
5904 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_toolsdir" >&5
5905 $as_echo "$wine_cv_toolsdir" >&6; }
5906 if test -z "$wine_cv_toolsdir"; then
5907 wine_makedep=tools/makedep
5908 TOOLSDIR="."
5910 elif test -d "$wine_cv_toolsdir/tools/winebuild"; then
5911 wine_makedep=$wine_cv_toolsdir/tools/makedep
5912 TOOLSDIR=$wine_cv_toolsdir
5914 enable_tools=${enable_tools:-no}
5915 test -f "$wine_makedep" || as_fn_error $? "the Wine tools have not yet been built in $wine_cv_toolsdir" "$LINENO" 5
5916 else
5917 as_fn_error $? "could not find Wine tools in $wine_cv_toolsdir" "$LINENO" 5
5919 if test -n "$host_alias" -a "$host_alias" != "$build_alias"
5920 then
5921 TARGETFLAGS="-b $host_alias $TARGETFLAGS"
5924 for ac_prog in flex
5926 # Extract the first word of "$ac_prog", so it can be a program name with args.
5927 set dummy $ac_prog; ac_word=$2
5928 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5929 $as_echo_n "checking for $ac_word... " >&6; }
5930 if ${ac_cv_prog_FLEX+:} false; then :
5931 $as_echo_n "(cached) " >&6
5932 else
5933 if test -n "$FLEX"; then
5934 ac_cv_prog_FLEX="$FLEX" # Let the user override the test.
5935 else
5936 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5937 for as_dir in $PATH
5939 IFS=$as_save_IFS
5940 test -z "$as_dir" && as_dir=.
5941 for ac_exec_ext in '' $ac_executable_extensions; do
5942 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5943 ac_cv_prog_FLEX="$ac_prog"
5944 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5945 break 2
5947 done
5948 done
5949 IFS=$as_save_IFS
5953 FLEX=$ac_cv_prog_FLEX
5954 if test -n "$FLEX"; then
5955 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FLEX" >&5
5956 $as_echo "$FLEX" >&6; }
5957 else
5958 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5959 $as_echo "no" >&6; }
5963 test -n "$FLEX" && break
5964 done
5965 test -n "$FLEX" || FLEX="none"
5967 if test "$FLEX" = "none"
5968 then
5969 as_fn_error $? "no suitable flex found. Please install the 'flex' package." "$LINENO" 5
5971 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether flex is recent enough" >&5
5972 $as_echo_n "checking whether flex is recent enough... " >&6; }
5973 if ${wine_cv_recent_flex+:} false; then :
5974 $as_echo_n "(cached) " >&6
5975 else
5976 cat >conftest.l <<EOF
5977 %top{
5978 #include "prediluvian.h"
5982 if $FLEX -t conftest.l >/dev/null 2>&5
5983 then
5984 wine_cv_recent_flex=yes
5985 else
5986 wine_cv_recent_flex=no
5989 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_recent_flex" >&5
5990 $as_echo "$wine_cv_recent_flex" >&6; }
5991 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
5993 for ac_prog in bison
5995 # Extract the first word of "$ac_prog", so it can be a program name with args.
5996 set dummy $ac_prog; ac_word=$2
5997 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5998 $as_echo_n "checking for $ac_word... " >&6; }
5999 if ${ac_cv_prog_BISON+:} false; then :
6000 $as_echo_n "(cached) " >&6
6001 else
6002 if test -n "$BISON"; then
6003 ac_cv_prog_BISON="$BISON" # Let the user override the test.
6004 else
6005 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6006 for as_dir in $PATH
6008 IFS=$as_save_IFS
6009 test -z "$as_dir" && as_dir=.
6010 for ac_exec_ext in '' $ac_executable_extensions; do
6011 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6012 ac_cv_prog_BISON="$ac_prog"
6013 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6014 break 2
6016 done
6017 done
6018 IFS=$as_save_IFS
6022 BISON=$ac_cv_prog_BISON
6023 if test -n "$BISON"; then
6024 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BISON" >&5
6025 $as_echo "$BISON" >&6; }
6026 else
6027 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6028 $as_echo "no" >&6; }
6032 test -n "$BISON" && break
6033 done
6034 test -n "$BISON" || BISON="none"
6036 if test "$BISON" = "none"
6037 then
6038 as_fn_error $? "no suitable bison found. Please install the 'bison' package." "$LINENO" 5
6040 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether bison is recent enough" >&5
6041 $as_echo_n "checking whether bison is recent enough... " >&6; }
6042 if ${wine_cv_recent_bison+:} false; then :
6043 $as_echo_n "(cached) " >&6
6044 else
6045 cat >conftest.y <<EOF
6046 %define parse.error verbose
6048 empty: ;
6050 if $BISON conftest.y >/dev/null 2>&5
6051 then
6052 wine_cv_recent_bison=yes
6053 else
6054 wine_cv_recent_bison=no
6057 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_recent_bison" >&5
6058 $as_echo "$wine_cv_recent_bison" >&6; }
6059 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
6061 if test -n "$ac_tool_prefix"; then
6062 for ac_prog in ar gar
6064 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
6065 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
6066 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6067 $as_echo_n "checking for $ac_word... " >&6; }
6068 if ${ac_cv_prog_AR+:} false; then :
6069 $as_echo_n "(cached) " >&6
6070 else
6071 if test -n "$AR"; then
6072 ac_cv_prog_AR="$AR" # Let the user override the test.
6073 else
6074 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6075 for as_dir in $PATH
6077 IFS=$as_save_IFS
6078 test -z "$as_dir" && as_dir=.
6079 for ac_exec_ext in '' $ac_executable_extensions; do
6080 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6081 ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
6082 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6083 break 2
6085 done
6086 done
6087 IFS=$as_save_IFS
6091 AR=$ac_cv_prog_AR
6092 if test -n "$AR"; then
6093 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
6094 $as_echo "$AR" >&6; }
6095 else
6096 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6097 $as_echo "no" >&6; }
6101 test -n "$AR" && break
6102 done
6104 if test -z "$AR"; then
6105 ac_ct_AR=$AR
6106 for ac_prog in ar gar
6108 # Extract the first word of "$ac_prog", so it can be a program name with args.
6109 set dummy $ac_prog; ac_word=$2
6110 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6111 $as_echo_n "checking for $ac_word... " >&6; }
6112 if ${ac_cv_prog_ac_ct_AR+:} false; then :
6113 $as_echo_n "(cached) " >&6
6114 else
6115 if test -n "$ac_ct_AR"; then
6116 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
6117 else
6118 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6119 for as_dir in $PATH
6121 IFS=$as_save_IFS
6122 test -z "$as_dir" && as_dir=.
6123 for ac_exec_ext in '' $ac_executable_extensions; do
6124 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6125 ac_cv_prog_ac_ct_AR="$ac_prog"
6126 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6127 break 2
6129 done
6130 done
6131 IFS=$as_save_IFS
6135 ac_ct_AR=$ac_cv_prog_ac_ct_AR
6136 if test -n "$ac_ct_AR"; then
6137 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
6138 $as_echo "$ac_ct_AR" >&6; }
6139 else
6140 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6141 $as_echo "no" >&6; }
6145 test -n "$ac_ct_AR" && break
6146 done
6148 if test "x$ac_ct_AR" = x; then
6149 AR="ar"
6150 else
6151 case $cross_compiling:$ac_tool_warned in
6152 yes:)
6153 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6154 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6155 ac_tool_warned=yes ;;
6156 esac
6157 AR=$ac_ct_AR
6161 if test -n "$ac_tool_prefix"; then
6162 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
6163 set dummy ${ac_tool_prefix}strip; ac_word=$2
6164 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6165 $as_echo_n "checking for $ac_word... " >&6; }
6166 if ${ac_cv_prog_STRIP+:} false; then :
6167 $as_echo_n "(cached) " >&6
6168 else
6169 if test -n "$STRIP"; then
6170 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
6171 else
6172 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6173 for as_dir in $PATH
6175 IFS=$as_save_IFS
6176 test -z "$as_dir" && as_dir=.
6177 for ac_exec_ext in '' $ac_executable_extensions; do
6178 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6179 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
6180 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6181 break 2
6183 done
6184 done
6185 IFS=$as_save_IFS
6189 STRIP=$ac_cv_prog_STRIP
6190 if test -n "$STRIP"; then
6191 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
6192 $as_echo "$STRIP" >&6; }
6193 else
6194 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6195 $as_echo "no" >&6; }
6200 if test -z "$ac_cv_prog_STRIP"; then
6201 ac_ct_STRIP=$STRIP
6202 # Extract the first word of "strip", so it can be a program name with args.
6203 set dummy strip; ac_word=$2
6204 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6205 $as_echo_n "checking for $ac_word... " >&6; }
6206 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
6207 $as_echo_n "(cached) " >&6
6208 else
6209 if test -n "$ac_ct_STRIP"; then
6210 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
6211 else
6212 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6213 for as_dir in $PATH
6215 IFS=$as_save_IFS
6216 test -z "$as_dir" && as_dir=.
6217 for ac_exec_ext in '' $ac_executable_extensions; do
6218 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6219 ac_cv_prog_ac_ct_STRIP="strip"
6220 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6221 break 2
6223 done
6224 done
6225 IFS=$as_save_IFS
6229 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
6230 if test -n "$ac_ct_STRIP"; then
6231 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
6232 $as_echo "$ac_ct_STRIP" >&6; }
6233 else
6234 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6235 $as_echo "no" >&6; }
6238 if test "x$ac_ct_STRIP" = x; then
6239 STRIP="strip"
6240 else
6241 case $cross_compiling:$ac_tool_warned in
6242 yes:)
6243 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6244 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6245 ac_tool_warned=yes ;;
6246 esac
6247 STRIP=$ac_ct_STRIP
6249 else
6250 STRIP="$ac_cv_prog_STRIP"
6253 if test -n "$ac_tool_prefix"; then
6254 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
6255 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6256 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6257 $as_echo_n "checking for $ac_word... " >&6; }
6258 if ${ac_cv_prog_RANLIB+:} false; then :
6259 $as_echo_n "(cached) " >&6
6260 else
6261 if test -n "$RANLIB"; then
6262 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
6263 else
6264 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6265 for as_dir in $PATH
6267 IFS=$as_save_IFS
6268 test -z "$as_dir" && as_dir=.
6269 for ac_exec_ext in '' $ac_executable_extensions; do
6270 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6271 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
6272 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6273 break 2
6275 done
6276 done
6277 IFS=$as_save_IFS
6281 RANLIB=$ac_cv_prog_RANLIB
6282 if test -n "$RANLIB"; then
6283 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
6284 $as_echo "$RANLIB" >&6; }
6285 else
6286 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6287 $as_echo "no" >&6; }
6292 if test -z "$ac_cv_prog_RANLIB"; then
6293 ac_ct_RANLIB=$RANLIB
6294 # Extract the first word of "ranlib", so it can be a program name with args.
6295 set dummy ranlib; ac_word=$2
6296 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6297 $as_echo_n "checking for $ac_word... " >&6; }
6298 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
6299 $as_echo_n "(cached) " >&6
6300 else
6301 if test -n "$ac_ct_RANLIB"; then
6302 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
6303 else
6304 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6305 for as_dir in $PATH
6307 IFS=$as_save_IFS
6308 test -z "$as_dir" && as_dir=.
6309 for ac_exec_ext in '' $ac_executable_extensions; do
6310 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6311 ac_cv_prog_ac_ct_RANLIB="ranlib"
6312 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6313 break 2
6315 done
6316 done
6317 IFS=$as_save_IFS
6321 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
6322 if test -n "$ac_ct_RANLIB"; then
6323 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
6324 $as_echo "$ac_ct_RANLIB" >&6; }
6325 else
6326 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6327 $as_echo "no" >&6; }
6330 if test "x$ac_ct_RANLIB" = x; then
6331 RANLIB=":"
6332 else
6333 case $cross_compiling:$ac_tool_warned in
6334 yes:)
6335 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6336 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6337 ac_tool_warned=yes ;;
6338 esac
6339 RANLIB=$ac_ct_RANLIB
6341 else
6342 RANLIB="$ac_cv_prog_RANLIB"
6345 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
6346 $as_echo_n "checking whether ln -s works... " >&6; }
6347 LN_S=$as_ln_s
6348 if test "$LN_S" = "ln -s"; then
6349 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6350 $as_echo "yes" >&6; }
6351 else
6352 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
6353 $as_echo "no, using $LN_S" >&6; }
6356 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
6357 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
6358 if ${ac_cv_path_GREP+:} false; then :
6359 $as_echo_n "(cached) " >&6
6360 else
6361 if test -z "$GREP"; then
6362 ac_path_GREP_found=false
6363 # Loop through the user's path and test for each of PROGNAME-LIST
6364 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6365 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
6367 IFS=$as_save_IFS
6368 test -z "$as_dir" && as_dir=.
6369 for ac_prog in grep ggrep; do
6370 for ac_exec_ext in '' $ac_executable_extensions; do
6371 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
6372 as_fn_executable_p "$ac_path_GREP" || continue
6373 # Check for GNU ac_path_GREP and select it if it is found.
6374 # Check for GNU $ac_path_GREP
6375 case `"$ac_path_GREP" --version 2>&1` in
6376 *GNU*)
6377 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
6379 ac_count=0
6380 $as_echo_n 0123456789 >"conftest.in"
6381 while :
6383 cat "conftest.in" "conftest.in" >"conftest.tmp"
6384 mv "conftest.tmp" "conftest.in"
6385 cp "conftest.in" "conftest.nl"
6386 $as_echo 'GREP' >> "conftest.nl"
6387 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
6388 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
6389 as_fn_arith $ac_count + 1 && ac_count=$as_val
6390 if test $ac_count -gt ${ac_path_GREP_max-0}; then
6391 # Best one so far, save it but keep looking for a better one
6392 ac_cv_path_GREP="$ac_path_GREP"
6393 ac_path_GREP_max=$ac_count
6395 # 10*(2^10) chars as input seems more than enough
6396 test $ac_count -gt 10 && break
6397 done
6398 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
6399 esac
6401 $ac_path_GREP_found && break 3
6402 done
6403 done
6404 done
6405 IFS=$as_save_IFS
6406 if test -z "$ac_cv_path_GREP"; then
6407 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
6409 else
6410 ac_cv_path_GREP=$GREP
6414 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
6415 $as_echo "$ac_cv_path_GREP" >&6; }
6416 GREP="$ac_cv_path_GREP"
6419 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
6420 $as_echo_n "checking for egrep... " >&6; }
6421 if ${ac_cv_path_EGREP+:} false; then :
6422 $as_echo_n "(cached) " >&6
6423 else
6424 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
6425 then ac_cv_path_EGREP="$GREP -E"
6426 else
6427 if test -z "$EGREP"; then
6428 ac_path_EGREP_found=false
6429 # Loop through the user's path and test for each of PROGNAME-LIST
6430 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6431 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
6433 IFS=$as_save_IFS
6434 test -z "$as_dir" && as_dir=.
6435 for ac_prog in egrep; do
6436 for ac_exec_ext in '' $ac_executable_extensions; do
6437 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
6438 as_fn_executable_p "$ac_path_EGREP" || continue
6439 # Check for GNU ac_path_EGREP and select it if it is found.
6440 # Check for GNU $ac_path_EGREP
6441 case `"$ac_path_EGREP" --version 2>&1` in
6442 *GNU*)
6443 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
6445 ac_count=0
6446 $as_echo_n 0123456789 >"conftest.in"
6447 while :
6449 cat "conftest.in" "conftest.in" >"conftest.tmp"
6450 mv "conftest.tmp" "conftest.in"
6451 cp "conftest.in" "conftest.nl"
6452 $as_echo 'EGREP' >> "conftest.nl"
6453 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
6454 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
6455 as_fn_arith $ac_count + 1 && ac_count=$as_val
6456 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
6457 # Best one so far, save it but keep looking for a better one
6458 ac_cv_path_EGREP="$ac_path_EGREP"
6459 ac_path_EGREP_max=$ac_count
6461 # 10*(2^10) chars as input seems more than enough
6462 test $ac_count -gt 10 && break
6463 done
6464 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
6465 esac
6467 $ac_path_EGREP_found && break 3
6468 done
6469 done
6470 done
6471 IFS=$as_save_IFS
6472 if test -z "$ac_cv_path_EGREP"; then
6473 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
6475 else
6476 ac_cv_path_EGREP=$EGREP
6481 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
6482 $as_echo "$ac_cv_path_EGREP" >&6; }
6483 EGREP="$ac_cv_path_EGREP"
6486 # Extract the first word of "ldconfig", so it can be a program name with args.
6487 set dummy ldconfig; ac_word=$2
6488 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6489 $as_echo_n "checking for $ac_word... " >&6; }
6490 if ${ac_cv_path_LDCONFIG+:} false; then :
6491 $as_echo_n "(cached) " >&6
6492 else
6493 case $LDCONFIG in
6494 [\\/]* | ?:[\\/]*)
6495 ac_cv_path_LDCONFIG="$LDCONFIG" # Let the user override the test with a path.
6498 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6499 for as_dir in /sbin /usr/sbin $PATH
6501 IFS=$as_save_IFS
6502 test -z "$as_dir" && as_dir=.
6503 for ac_exec_ext in '' $ac_executable_extensions; do
6504 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6505 ac_cv_path_LDCONFIG="$as_dir/$ac_word$ac_exec_ext"
6506 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6507 break 2
6509 done
6510 done
6511 IFS=$as_save_IFS
6513 test -z "$ac_cv_path_LDCONFIG" && ac_cv_path_LDCONFIG="true"
6515 esac
6517 LDCONFIG=$ac_cv_path_LDCONFIG
6518 if test -n "$LDCONFIG"; then
6519 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDCONFIG" >&5
6520 $as_echo "$LDCONFIG" >&6; }
6521 else
6522 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6523 $as_echo "no" >&6; }
6527 for ac_prog in msgfmt
6529 # Extract the first word of "$ac_prog", so it can be a program name with args.
6530 set dummy $ac_prog; ac_word=$2
6531 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6532 $as_echo_n "checking for $ac_word... " >&6; }
6533 if ${ac_cv_prog_MSGFMT+:} false; then :
6534 $as_echo_n "(cached) " >&6
6535 else
6536 if test -n "$MSGFMT"; then
6537 ac_cv_prog_MSGFMT="$MSGFMT" # Let the user override the test.
6538 else
6539 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6540 for as_dir in $PATH
6542 IFS=$as_save_IFS
6543 test -z "$as_dir" && as_dir=.
6544 for ac_exec_ext in '' $ac_executable_extensions; do
6545 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6546 ac_cv_prog_MSGFMT="$ac_prog"
6547 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6548 break 2
6550 done
6551 done
6552 IFS=$as_save_IFS
6556 MSGFMT=$ac_cv_prog_MSGFMT
6557 if test -n "$MSGFMT"; then
6558 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
6559 $as_echo "$MSGFMT" >&6; }
6560 else
6561 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6562 $as_echo "no" >&6; }
6566 test -n "$MSGFMT" && break
6567 done
6568 test -n "$MSGFMT" || MSGFMT="false"
6570 if ${ac_tool_prefix+:} false; then :
6571 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
6572 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
6573 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6574 $as_echo_n "checking for $ac_word... " >&6; }
6575 if ${ac_cv_prog_PKG_CONFIG+:} false; then :
6576 $as_echo_n "(cached) " >&6
6577 else
6578 if test -n "$PKG_CONFIG"; then
6579 ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
6580 else
6581 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6582 for as_dir in $PATH
6584 IFS=$as_save_IFS
6585 test -z "$as_dir" && as_dir=.
6586 for ac_exec_ext in '' $ac_executable_extensions; do
6587 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6588 ac_cv_prog_PKG_CONFIG="${ac_tool_prefix}pkg-config"
6589 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6590 break 2
6592 done
6593 done
6594 IFS=$as_save_IFS
6598 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
6599 if test -n "$PKG_CONFIG"; then
6600 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
6601 $as_echo "$PKG_CONFIG" >&6; }
6602 else
6603 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6604 $as_echo "no" >&6; }
6609 if ${ac_cv_prog_PKG_CONFIG:+false} :; then :
6610 if test "x$cross_compiling" = xyes; then :
6612 else
6613 { ac_cv_prog_PKG_CONFIG=; unset ac_cv_prog_PKG_CONFIG;}
6614 # Extract the first word of "pkg-config", so it can be a program name with args.
6615 set dummy pkg-config; ac_word=$2
6616 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6617 $as_echo_n "checking for $ac_word... " >&6; }
6618 if ${ac_cv_prog_PKG_CONFIG+:} false; then :
6619 $as_echo_n "(cached) " >&6
6620 else
6621 if test -n "$PKG_CONFIG"; then
6622 ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
6623 else
6624 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6625 for as_dir in $PATH
6627 IFS=$as_save_IFS
6628 test -z "$as_dir" && as_dir=.
6629 for ac_exec_ext in '' $ac_executable_extensions; do
6630 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6631 ac_cv_prog_PKG_CONFIG="pkg-config"
6632 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6633 break 2
6635 done
6636 done
6637 IFS=$as_save_IFS
6641 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
6642 if test -n "$PKG_CONFIG"; then
6643 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
6644 $as_echo "$PKG_CONFIG" >&6; }
6645 else
6646 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6647 $as_echo "no" >&6; }
6652 else
6653 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
6656 if test "x$enable_maintainer_mode" != "xyes"
6657 then
6658 FONTFORGE=""
6659 RSVG=""
6660 CONVERT=""
6661 ICOTOOL=""
6662 else
6663 test "$srcdir" = . || as_fn_error $? "Maintainer mode cannot work out of tree." "$LINENO" 5
6664 for ac_prog in fontforge
6666 # Extract the first word of "$ac_prog", so it can be a program name with args.
6667 set dummy $ac_prog; ac_word=$2
6668 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6669 $as_echo_n "checking for $ac_word... " >&6; }
6670 if ${ac_cv_prog_FONTFORGE+:} false; then :
6671 $as_echo_n "(cached) " >&6
6672 else
6673 if test -n "$FONTFORGE"; then
6674 ac_cv_prog_FONTFORGE="$FONTFORGE" # Let the user override the test.
6675 else
6676 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6677 for as_dir in $PATH
6679 IFS=$as_save_IFS
6680 test -z "$as_dir" && as_dir=.
6681 for ac_exec_ext in '' $ac_executable_extensions; do
6682 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6683 ac_cv_prog_FONTFORGE="$ac_prog"
6684 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6685 break 2
6687 done
6688 done
6689 IFS=$as_save_IFS
6693 FONTFORGE=$ac_cv_prog_FONTFORGE
6694 if test -n "$FONTFORGE"; then
6695 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FONTFORGE" >&5
6696 $as_echo "$FONTFORGE" >&6; }
6697 else
6698 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6699 $as_echo "no" >&6; }
6703 test -n "$FONTFORGE" && break
6704 done
6705 test -n "$FONTFORGE" || FONTFORGE="false"
6707 for ac_prog in rsvg-convert rsvg
6709 # Extract the first word of "$ac_prog", so it can be a program name with args.
6710 set dummy $ac_prog; ac_word=$2
6711 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6712 $as_echo_n "checking for $ac_word... " >&6; }
6713 if ${ac_cv_prog_RSVG+:} false; then :
6714 $as_echo_n "(cached) " >&6
6715 else
6716 if test -n "$RSVG"; then
6717 ac_cv_prog_RSVG="$RSVG" # Let the user override the test.
6718 else
6719 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6720 for as_dir in $PATH
6722 IFS=$as_save_IFS
6723 test -z "$as_dir" && as_dir=.
6724 for ac_exec_ext in '' $ac_executable_extensions; do
6725 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6726 ac_cv_prog_RSVG="$ac_prog"
6727 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6728 break 2
6730 done
6731 done
6732 IFS=$as_save_IFS
6736 RSVG=$ac_cv_prog_RSVG
6737 if test -n "$RSVG"; then
6738 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RSVG" >&5
6739 $as_echo "$RSVG" >&6; }
6740 else
6741 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6742 $as_echo "no" >&6; }
6746 test -n "$RSVG" && break
6747 done
6748 test -n "$RSVG" || RSVG="false"
6750 for ac_prog in convert
6752 # Extract the first word of "$ac_prog", so it can be a program name with args.
6753 set dummy $ac_prog; ac_word=$2
6754 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6755 $as_echo_n "checking for $ac_word... " >&6; }
6756 if ${ac_cv_prog_CONVERT+:} false; then :
6757 $as_echo_n "(cached) " >&6
6758 else
6759 if test -n "$CONVERT"; then
6760 ac_cv_prog_CONVERT="$CONVERT" # Let the user override the test.
6761 else
6762 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6763 for as_dir in $PATH
6765 IFS=$as_save_IFS
6766 test -z "$as_dir" && as_dir=.
6767 for ac_exec_ext in '' $ac_executable_extensions; do
6768 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6769 ac_cv_prog_CONVERT="$ac_prog"
6770 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6771 break 2
6773 done
6774 done
6775 IFS=$as_save_IFS
6779 CONVERT=$ac_cv_prog_CONVERT
6780 if test -n "$CONVERT"; then
6781 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CONVERT" >&5
6782 $as_echo "$CONVERT" >&6; }
6783 else
6784 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6785 $as_echo "no" >&6; }
6789 test -n "$CONVERT" && break
6790 done
6791 test -n "$CONVERT" || CONVERT="false"
6793 for ac_prog in icotool
6795 # Extract the first word of "$ac_prog", so it can be a program name with args.
6796 set dummy $ac_prog; ac_word=$2
6797 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6798 $as_echo_n "checking for $ac_word... " >&6; }
6799 if ${ac_cv_prog_ICOTOOL+:} false; then :
6800 $as_echo_n "(cached) " >&6
6801 else
6802 if test -n "$ICOTOOL"; then
6803 ac_cv_prog_ICOTOOL="$ICOTOOL" # Let the user override the test.
6804 else
6805 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6806 for as_dir in $PATH
6808 IFS=$as_save_IFS
6809 test -z "$as_dir" && as_dir=.
6810 for ac_exec_ext in '' $ac_executable_extensions; do
6811 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6812 ac_cv_prog_ICOTOOL="$ac_prog"
6813 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6814 break 2
6816 done
6817 done
6818 IFS=$as_save_IFS
6822 ICOTOOL=$ac_cv_prog_ICOTOOL
6823 if test -n "$ICOTOOL"; then
6824 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ICOTOOL" >&5
6825 $as_echo "$ICOTOOL" >&6; }
6826 else
6827 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6828 $as_echo "no" >&6; }
6832 test -n "$ICOTOOL" && break
6833 done
6834 test -n "$ICOTOOL" || ICOTOOL="false"
6836 test "$FONTFORGE" != "false" || as_fn_error $? "You need fontforge to rebuild fonts in maintainer mode." "$LINENO" 5
6837 test "$RSVG" != "false" || as_fn_error $? "You need rsvg to rebuild icons in maintainer mode." "$LINENO" 5
6839 if test "$CONVERT" = false
6840 then
6841 as_fn_error $? "You need imagemagick to rebuild icons in maintainer mode." "$LINENO" 5
6842 else
6843 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for recent enough imagemagick" >&5
6844 $as_echo_n "checking for recent enough imagemagick... " >&6; }
6845 convert_version=`convert --version | head -n1`
6846 if test "x$convert_version" != "x"
6847 then
6848 convert_version_major=`expr "$convert_version" : '.* \([0-9]*\)\.[0-9]*'`
6849 convert_version_minor=`expr "$convert_version" : '.* [0-9]*\.\([0-9]*\)'`
6850 if test "$convert_version_major" -eq 6 -a "$convert_version_minor" -lt 6
6851 then
6852 CONVERT=false
6855 if test "$CONVERT" = false
6856 then
6857 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no ($convert_version_major.$convert_version_minor)" >&5
6858 $as_echo "no ($convert_version_major.$convert_version_minor)" >&6; }
6859 as_fn_error $? "You need imagemagick version 6.6 or newer to rebuild icons in maintainer mode." "$LINENO" 5
6860 else
6861 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($convert_version_major.$convert_version_minor)" >&5
6862 $as_echo "yes ($convert_version_major.$convert_version_minor)" >&6; }
6866 if test "$ICOTOOL" = false
6867 then
6868 as_fn_error $? "You need icotool to rebuild icons in maintainer mode." "$LINENO" 5
6869 else
6870 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for recent enough icotool" >&5
6871 $as_echo_n "checking for recent enough icotool... " >&6; }
6872 icotool_version=`icotool --version | head -n1`
6873 if test "x$icotool_version" != "x"
6874 then
6875 icotool_version_major=`expr "$icotool_version" : '.* \([0-9]*\)\.[0-9]*'`
6876 icotool_version_minor=`expr "$icotool_version" : '.* [0-9]*\.\([0-9]*\)'`
6877 if test "$icotool_version_major" -eq 0 -a "$icotool_version_minor" -lt 29
6878 then
6879 ICOTOOL=false
6880 as_fn_append wine_warnings "|icotool version 0.29.0 or newer is needed to rebuild icons."
6883 if test "$ICOTOOL" = false
6884 then
6885 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no ($icotool_version_major.$icotool_version_minor)" >&5
6886 $as_echo "no ($icotool_version_major.$icotool_version_minor)" >&6; }
6887 as_fn_error $? "You need icotool version 0.29.0 or newer to rebuild icons in maintainer mode." "$LINENO" 5
6888 else
6889 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($icotool_version_major.$icotool_version_minor)" >&5
6890 $as_echo "yes ($icotool_version_major.$icotool_version_minor)" >&6; }
6894 with_gettext=yes
6895 with_gettextpo=yes
6897 enable_werror=yes
6900 test "x$with_gettext" != xno || MSGFMT=false
6901 if test "$MSGFMT" != "false"
6902 then
6903 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether msgfmt supports contexts" >&5
6904 $as_echo_n "checking whether msgfmt supports contexts... " >&6; }
6905 if ${wine_cv_msgfmt_contexts+:} false; then :
6906 $as_echo_n "(cached) " >&6
6907 else
6908 cat >conftest.po <<EOF
6909 # comment
6910 msgctxt "ctxt"
6911 msgid "id"
6912 msgstr "str"
6914 if $MSGFMT -o /dev/null conftest.po 2>&5
6915 then
6916 wine_cv_msgfmt_contexts=yes
6917 else
6918 wine_cv_msgfmt_contexts=no
6921 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_msgfmt_contexts" >&5
6922 $as_echo "$wine_cv_msgfmt_contexts" >&6; }
6923 test $wine_cv_msgfmt_contexts != no || MSGFMT=false
6925 if test "$MSGFMT" = false; then :
6926 case "x$with_gettext" in
6927 x) as_fn_append wine_warnings "|gettext tools not found (or too old), translations won't be built." ;;
6928 xno) ;;
6929 *) as_fn_error $? "gettext tools not found (or too old), translations won't be built.
6930 This is an error since --with-gettext was requested." "$LINENO" 5 ;;
6931 esac
6932 enable_po=${enable_po:-no}
6936 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for i386_set_ldt in -li386" >&5
6937 $as_echo_n "checking for i386_set_ldt in -li386... " >&6; }
6938 if ${ac_cv_lib_i386_i386_set_ldt+:} false; then :
6939 $as_echo_n "(cached) " >&6
6940 else
6941 ac_check_lib_save_LIBS=$LIBS
6942 LIBS="-li386 $LIBS"
6943 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6944 /* end confdefs.h. */
6946 /* Override any GCC internal prototype to avoid an error.
6947 Use char because int might match the return type of a GCC
6948 builtin and then its argument prototype would still apply. */
6949 #ifdef __cplusplus
6950 extern "C"
6951 #endif
6952 char i386_set_ldt ();
6954 main ()
6956 return i386_set_ldt ();
6958 return 0;
6960 _ACEOF
6961 if ac_fn_c_try_link "$LINENO"; then :
6962 ac_cv_lib_i386_i386_set_ldt=yes
6963 else
6964 ac_cv_lib_i386_i386_set_ldt=no
6966 rm -f core conftest.err conftest.$ac_objext \
6967 conftest$ac_exeext conftest.$ac_ext
6968 LIBS=$ac_check_lib_save_LIBS
6970 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_i386_i386_set_ldt" >&5
6971 $as_echo "$ac_cv_lib_i386_i386_set_ldt" >&6; }
6972 if test "x$ac_cv_lib_i386_i386_set_ldt" = xyes; then :
6973 I386_LIBS="-li386"
6978 OPENGL_LIBS=""
6982 # Check whether --enable-largefile was given.
6983 if test "${enable_largefile+set}" = set; then :
6984 enableval=$enable_largefile;
6987 if test "$enable_largefile" != no; then
6989 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
6990 $as_echo_n "checking for special C compiler options needed for large files... " >&6; }
6991 if ${ac_cv_sys_largefile_CC+:} false; then :
6992 $as_echo_n "(cached) " >&6
6993 else
6994 ac_cv_sys_largefile_CC=no
6995 if test "$GCC" != yes; then
6996 ac_save_CC=$CC
6997 while :; do
6998 # IRIX 6.2 and later do not support large files by default,
6999 # so use the C compiler's -n32 option if that helps.
7000 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7001 /* end confdefs.h. */
7002 #include <sys/types.h>
7003 /* Check that off_t can represent 2**63 - 1 correctly.
7004 We can't simply define LARGE_OFF_T to be 9223372036854775807,
7005 since some C++ compilers masquerading as C compilers
7006 incorrectly reject 9223372036854775807. */
7007 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
7008 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
7009 && LARGE_OFF_T % 2147483647 == 1)
7010 ? 1 : -1];
7012 main ()
7016 return 0;
7018 _ACEOF
7019 if ac_fn_c_try_compile "$LINENO"; then :
7020 break
7022 rm -f core conftest.err conftest.$ac_objext
7023 CC="$CC -n32"
7024 if ac_fn_c_try_compile "$LINENO"; then :
7025 ac_cv_sys_largefile_CC=' -n32'; break
7027 rm -f core conftest.err conftest.$ac_objext
7028 break
7029 done
7030 CC=$ac_save_CC
7031 rm -f conftest.$ac_ext
7034 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
7035 $as_echo "$ac_cv_sys_largefile_CC" >&6; }
7036 if test "$ac_cv_sys_largefile_CC" != no; then
7037 CC=$CC$ac_cv_sys_largefile_CC
7040 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
7041 $as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
7042 if ${ac_cv_sys_file_offset_bits+:} false; then :
7043 $as_echo_n "(cached) " >&6
7044 else
7045 while :; do
7046 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7047 /* end confdefs.h. */
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=no; break
7068 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7069 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7070 /* end confdefs.h. */
7071 #define _FILE_OFFSET_BITS 64
7072 #include <sys/types.h>
7073 /* Check that off_t can represent 2**63 - 1 correctly.
7074 We can't simply define LARGE_OFF_T to be 9223372036854775807,
7075 since some C++ compilers masquerading as C compilers
7076 incorrectly reject 9223372036854775807. */
7077 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
7078 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
7079 && LARGE_OFF_T % 2147483647 == 1)
7080 ? 1 : -1];
7082 main ()
7086 return 0;
7088 _ACEOF
7089 if ac_fn_c_try_compile "$LINENO"; then :
7090 ac_cv_sys_file_offset_bits=64; break
7092 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7093 ac_cv_sys_file_offset_bits=unknown
7094 break
7095 done
7097 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
7098 $as_echo "$ac_cv_sys_file_offset_bits" >&6; }
7099 case $ac_cv_sys_file_offset_bits in #(
7100 no | unknown) ;;
7102 cat >>confdefs.h <<_ACEOF
7103 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
7104 _ACEOF
7106 esac
7107 rm -rf conftest*
7108 if test $ac_cv_sys_file_offset_bits = unknown; then
7109 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
7110 $as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
7111 if ${ac_cv_sys_large_files+:} false; then :
7112 $as_echo_n "(cached) " >&6
7113 else
7114 while :; do
7115 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7116 /* end confdefs.h. */
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=no; break
7137 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7138 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7139 /* end confdefs.h. */
7140 #define _LARGE_FILES 1
7141 #include <sys/types.h>
7142 /* Check that off_t can represent 2**63 - 1 correctly.
7143 We can't simply define LARGE_OFF_T to be 9223372036854775807,
7144 since some C++ compilers masquerading as C compilers
7145 incorrectly reject 9223372036854775807. */
7146 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
7147 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
7148 && LARGE_OFF_T % 2147483647 == 1)
7149 ? 1 : -1];
7151 main ()
7155 return 0;
7157 _ACEOF
7158 if ac_fn_c_try_compile "$LINENO"; then :
7159 ac_cv_sys_large_files=1; break
7161 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7162 ac_cv_sys_large_files=unknown
7163 break
7164 done
7166 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
7167 $as_echo "$ac_cv_sys_large_files" >&6; }
7168 case $ac_cv_sys_large_files in #(
7169 no | unknown) ;;
7171 cat >>confdefs.h <<_ACEOF
7172 #define _LARGE_FILES $ac_cv_sys_large_files
7173 _ACEOF
7175 esac
7176 rm -rf conftest*
7183 ac_ext=c
7184 ac_cpp='$CPP $CPPFLAGS'
7185 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7186 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7187 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7188 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
7189 $as_echo_n "checking how to run the C preprocessor... " >&6; }
7190 # On Suns, sometimes $CPP names a directory.
7191 if test -n "$CPP" && test -d "$CPP"; then
7192 CPP=
7194 if test -z "$CPP"; then
7195 if ${ac_cv_prog_CPP+:} false; then :
7196 $as_echo_n "(cached) " >&6
7197 else
7198 # Double quotes because CPP needs to be expanded
7199 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
7201 ac_preproc_ok=false
7202 for ac_c_preproc_warn_flag in '' yes
7204 # Use a header file that comes with gcc, so configuring glibc
7205 # with a fresh cross-compiler works.
7206 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7207 # <limits.h> exists even on freestanding compilers.
7208 # On the NeXT, cc -E runs the code through the compiler's parser,
7209 # not just through cpp. "Syntax error" is here to catch this case.
7210 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7211 /* end confdefs.h. */
7212 #ifdef __STDC__
7213 # include <limits.h>
7214 #else
7215 # include <assert.h>
7216 #endif
7217 Syntax error
7218 _ACEOF
7219 if ac_fn_c_try_cpp "$LINENO"; then :
7221 else
7222 # Broken: fails on valid input.
7223 continue
7225 rm -f conftest.err conftest.i conftest.$ac_ext
7227 # OK, works on sane cases. Now check whether nonexistent headers
7228 # can be detected and how.
7229 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7230 /* end confdefs.h. */
7231 #include <ac_nonexistent.h>
7232 _ACEOF
7233 if ac_fn_c_try_cpp "$LINENO"; then :
7234 # Broken: success on invalid input.
7235 continue
7236 else
7237 # Passes both tests.
7238 ac_preproc_ok=:
7239 break
7241 rm -f conftest.err conftest.i conftest.$ac_ext
7243 done
7244 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7245 rm -f conftest.i conftest.err conftest.$ac_ext
7246 if $ac_preproc_ok; then :
7247 break
7250 done
7251 ac_cv_prog_CPP=$CPP
7254 CPP=$ac_cv_prog_CPP
7255 else
7256 ac_cv_prog_CPP=$CPP
7258 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
7259 $as_echo "$CPP" >&6; }
7260 ac_preproc_ok=false
7261 for ac_c_preproc_warn_flag in '' yes
7263 # Use a header file that comes with gcc, so configuring glibc
7264 # with a fresh cross-compiler works.
7265 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7266 # <limits.h> exists even on freestanding compilers.
7267 # On the NeXT, cc -E runs the code through the compiler's parser,
7268 # not just through cpp. "Syntax error" is here to catch this case.
7269 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7270 /* end confdefs.h. */
7271 #ifdef __STDC__
7272 # include <limits.h>
7273 #else
7274 # include <assert.h>
7275 #endif
7276 Syntax error
7277 _ACEOF
7278 if ac_fn_c_try_cpp "$LINENO"; then :
7280 else
7281 # Broken: fails on valid input.
7282 continue
7284 rm -f conftest.err conftest.i conftest.$ac_ext
7286 # OK, works on sane cases. Now check whether nonexistent headers
7287 # can be detected and how.
7288 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7289 /* end confdefs.h. */
7290 #include <ac_nonexistent.h>
7291 _ACEOF
7292 if ac_fn_c_try_cpp "$LINENO"; then :
7293 # Broken: success on invalid input.
7294 continue
7295 else
7296 # Passes both tests.
7297 ac_preproc_ok=:
7298 break
7300 rm -f conftest.err conftest.i conftest.$ac_ext
7302 done
7303 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7304 rm -f conftest.i conftest.err conftest.$ac_ext
7305 if $ac_preproc_ok; then :
7307 else
7308 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
7309 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
7310 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
7311 See \`config.log' for more details" "$LINENO" 5; }
7314 ac_ext=c
7315 ac_cpp='$CPP $CPPFLAGS'
7316 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7317 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7318 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7321 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
7322 $as_echo_n "checking for ANSI C header files... " >&6; }
7323 if ${ac_cv_header_stdc+:} false; then :
7324 $as_echo_n "(cached) " >&6
7325 else
7326 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7327 /* end confdefs.h. */
7328 #include <stdlib.h>
7329 #include <stdarg.h>
7330 #include <string.h>
7331 #include <float.h>
7334 main ()
7338 return 0;
7340 _ACEOF
7341 if ac_fn_c_try_compile "$LINENO"; then :
7342 ac_cv_header_stdc=yes
7343 else
7344 ac_cv_header_stdc=no
7346 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7348 if test $ac_cv_header_stdc = yes; then
7349 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
7350 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7351 /* end confdefs.h. */
7352 #include <string.h>
7354 _ACEOF
7355 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7356 $EGREP "memchr" >/dev/null 2>&1; then :
7358 else
7359 ac_cv_header_stdc=no
7361 rm -f conftest*
7365 if test $ac_cv_header_stdc = yes; then
7366 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
7367 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7368 /* end confdefs.h. */
7369 #include <stdlib.h>
7371 _ACEOF
7372 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7373 $EGREP "free" >/dev/null 2>&1; then :
7375 else
7376 ac_cv_header_stdc=no
7378 rm -f conftest*
7382 if test $ac_cv_header_stdc = yes; then
7383 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
7384 if test "$cross_compiling" = yes; then :
7386 else
7387 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7388 /* end confdefs.h. */
7389 #include <ctype.h>
7390 #include <stdlib.h>
7391 #if ((' ' & 0x0FF) == 0x020)
7392 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
7393 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
7394 #else
7395 # define ISLOWER(c) \
7396 (('a' <= (c) && (c) <= 'i') \
7397 || ('j' <= (c) && (c) <= 'r') \
7398 || ('s' <= (c) && (c) <= 'z'))
7399 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
7400 #endif
7402 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
7404 main ()
7406 int i;
7407 for (i = 0; i < 256; i++)
7408 if (XOR (islower (i), ISLOWER (i))
7409 || toupper (i) != TOUPPER (i))
7410 return 2;
7411 return 0;
7413 _ACEOF
7414 if ac_fn_c_try_run "$LINENO"; then :
7416 else
7417 ac_cv_header_stdc=no
7419 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
7420 conftest.$ac_objext conftest.beam conftest.$ac_ext
7425 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
7426 $as_echo "$ac_cv_header_stdc" >&6; }
7427 if test $ac_cv_header_stdc = yes; then
7429 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
7433 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
7434 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
7435 inttypes.h stdint.h unistd.h
7436 do :
7437 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7438 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
7440 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7441 cat >>confdefs.h <<_ACEOF
7442 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7443 _ACEOF
7447 done
7450 for ac_header in \
7451 AL/al.h \
7452 ApplicationServices/ApplicationServices.h \
7453 AudioToolbox/AudioConverter.h \
7454 AudioUnit/AudioUnit.h \
7455 AudioUnit/AudioComponent.h \
7456 CL/cl.h \
7457 Carbon/Carbon.h \
7458 CommonCrypto/CommonCryptor.h \
7459 CoreAudio/CoreAudio.h \
7460 DiskArbitration/DiskArbitration.h \
7461 EGL/egl.h \
7462 IOKit/IOKitLib.h \
7463 IOKit/hid/IOHIDLib.h \
7464 OpenAL/al.h \
7465 OpenCL/opencl.h \
7466 QuickTime/ImageCompression.h \
7467 Security/Security.h \
7468 SystemConfiguration/SCDynamicStoreCopyDHCPInfo.h \
7469 SystemConfiguration/SCNetworkConfiguration.h \
7470 alias.h \
7471 arpa/inet.h \
7472 arpa/nameser.h \
7473 asm/types.h \
7474 asm/user.h \
7475 dirent.h \
7476 dlfcn.h \
7477 elf.h \
7478 float.h \
7479 fnmatch.h \
7480 getopt.h \
7481 gettext-po.h \
7482 grp.h \
7483 gsm.h \
7484 gsm/gsm.h \
7485 ieeefp.h \
7486 inet/mib2.h \
7487 kstat.h \
7488 libproc.h \
7489 link.h \
7490 linux/cdrom.h \
7491 linux/filter.h \
7492 linux/hdreg.h \
7493 linux/hidraw.h \
7494 linux/input.h \
7495 linux/ioctl.h \
7496 linux/joystick.h \
7497 linux/major.h \
7498 linux/param.h \
7499 linux/serial.h \
7500 linux/types.h \
7501 linux/ucdrom.h \
7502 lwp.h \
7503 mach-o/loader.h \
7504 mach/mach.h \
7505 machine/cpu.h \
7506 machine/sysarch.h \
7507 mntent.h \
7508 netdb.h \
7509 netinet/in.h \
7510 netinet/in_systm.h \
7511 netinet/tcp.h \
7512 netinet/tcp_fsm.h \
7513 pcap/pcap.h \
7514 poll.h \
7515 port.h \
7516 pthread.h \
7517 pwd.h \
7518 sasl/sasl.h \
7519 sched.h \
7520 scsi/scsi.h \
7521 scsi/scsi_ioctl.h \
7522 scsi/sg.h \
7523 stdint.h \
7524 stropts.h \
7525 sys/attr.h \
7526 sys/auxv.h \
7527 sys/cdio.h \
7528 sys/epoll.h \
7529 sys/event.h \
7530 sys/filio.h \
7531 sys/ioctl.h \
7532 sys/ipc.h \
7533 sys/link.h \
7534 sys/mman.h \
7535 sys/modem.h \
7536 sys/msg.h \
7537 sys/mtio.h \
7538 sys/param.h \
7539 sys/poll.h \
7540 sys/prctl.h \
7541 sys/protosw.h \
7542 sys/ptrace.h \
7543 sys/queue.h \
7544 sys/random.h \
7545 sys/resource.h \
7546 sys/scsiio.h \
7547 sys/shm.h \
7548 sys/signal.h \
7549 sys/socket.h \
7550 sys/socketvar.h \
7551 sys/sockio.h \
7552 sys/statvfs.h \
7553 sys/strtio.h \
7554 sys/syscall.h \
7555 sys/sysinfo.h \
7556 sys/tihdr.h \
7557 sys/time.h \
7558 sys/timeout.h \
7559 sys/times.h \
7560 sys/uio.h \
7561 sys/user.h \
7562 sys/utsname.h \
7563 sys/vnode.h \
7564 sys/wait.h \
7565 syscall.h \
7566 termios.h \
7567 unistd.h \
7568 utime.h \
7569 valgrind/memcheck.h \
7570 valgrind/valgrind.h
7572 do :
7573 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7574 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
7575 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7576 cat >>confdefs.h <<_ACEOF
7577 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7578 _ACEOF
7582 done
7584 ac_fn_c_check_header_mongrel "$LINENO" "sys/mkdev.h" "ac_cv_header_sys_mkdev_h" "$ac_includes_default"
7585 if test "x$ac_cv_header_sys_mkdev_h" = xyes; then :
7587 $as_echo "#define MAJOR_IN_MKDEV 1" >>confdefs.h
7592 if test $ac_cv_header_sys_mkdev_h = no; then
7593 ac_fn_c_check_header_mongrel "$LINENO" "sys/sysmacros.h" "ac_cv_header_sys_sysmacros_h" "$ac_includes_default"
7594 if test "x$ac_cv_header_sys_sysmacros_h" = xyes; then :
7596 $as_echo "#define MAJOR_IN_SYSMACROS 1" >>confdefs.h
7602 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stat file-mode macros are broken" >&5
7603 $as_echo_n "checking whether stat file-mode macros are broken... " >&6; }
7604 if ${ac_cv_header_stat_broken+:} false; then :
7605 $as_echo_n "(cached) " >&6
7606 else
7607 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7608 /* end confdefs.h. */
7609 #include <sys/types.h>
7610 #include <sys/stat.h>
7612 #if defined S_ISBLK && defined S_IFDIR
7613 extern char c1[S_ISBLK (S_IFDIR) ? -1 : 1];
7614 #endif
7616 #if defined S_ISBLK && defined S_IFCHR
7617 extern char c2[S_ISBLK (S_IFCHR) ? -1 : 1];
7618 #endif
7620 #if defined S_ISLNK && defined S_IFREG
7621 extern char c3[S_ISLNK (S_IFREG) ? -1 : 1];
7622 #endif
7624 #if defined S_ISSOCK && defined S_IFREG
7625 extern char c4[S_ISSOCK (S_IFREG) ? -1 : 1];
7626 #endif
7628 _ACEOF
7629 if ac_fn_c_try_compile "$LINENO"; then :
7630 ac_cv_header_stat_broken=no
7631 else
7632 ac_cv_header_stat_broken=yes
7634 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7636 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stat_broken" >&5
7637 $as_echo "$ac_cv_header_stat_broken" >&6; }
7638 if test $ac_cv_header_stat_broken = yes; then
7640 $as_echo "#define STAT_MACROS_BROKEN 1" >>confdefs.h
7646 for ac_header in sys/conf.h sys/mount.h sys/statfs.h sys/user.h sys/vfs.h
7647 do :
7648 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7649 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7650 #ifdef HAVE_SYS_PARAM_H
7651 # include <sys/param.h>
7652 #endif
7654 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7655 cat >>confdefs.h <<_ACEOF
7656 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7657 _ACEOF
7661 done
7664 saved_sysctl_h_CFLAGS=$CFLAGS
7665 test "x${GCC}" != xyes || CFLAGS="$CFLAGS -Werror"
7666 for ac_header in sys/sysctl.h
7667 do :
7668 ac_fn_c_check_header_compile "$LINENO" "sys/sysctl.h" "ac_cv_header_sys_sysctl_h" "#include <sys/types.h>
7669 #ifdef HAVE_SYS_PARAM_H
7670 # include <sys/param.h>
7671 #endif
7673 if test "x$ac_cv_header_sys_sysctl_h" = xyes; then :
7674 cat >>confdefs.h <<_ACEOF
7675 #define HAVE_SYS_SYSCTL_H 1
7676 _ACEOF
7680 done
7682 CFLAGS=$saved_sysctl_h_CFLAGS
7684 for ac_header in \
7685 netinet/ip.h \
7686 net/if.h \
7687 net/if_arp.h \
7688 net/if_dl.h \
7689 net/if_types.h \
7690 net/route.h \
7691 netinet/if_ether.h \
7692 netinet/if_inarp.h \
7693 netinet/in_pcb.h \
7694 netinet/ip_icmp.h \
7695 netinet/ip_var.h \
7696 netinet/udp.h \
7697 netipx/ipx.h \
7698 sys/un.h \
7700 do :
7701 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7702 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7703 #ifdef HAVE_SYS_SOCKET_H
7704 # include <sys/socket.h>
7705 #endif
7706 #ifdef HAVE_SYS_SOCKETVAR_H
7707 # include <sys/socketvar.h>
7708 #endif
7709 #ifdef HAVE_NET_ROUTE_H
7710 # include <net/route.h>
7711 #endif
7712 #ifdef HAVE_NETINET_IN_H
7713 # include <netinet/in.h>
7714 #endif
7715 #ifdef HAVE_NETINET_IN_SYSTM_H
7716 # include <netinet/in_systm.h>
7717 #endif
7718 #ifdef HAVE_NET_IF_H
7719 # include <net/if.h>
7720 #endif
7721 #ifdef HAVE_NETINET_IP_H
7722 # include <netinet/ip.h>
7723 #endif
7725 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7726 cat >>confdefs.h <<_ACEOF
7727 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7728 _ACEOF
7732 done
7735 for ac_header in netinet/tcp_timer.h netinet/udp_var.h netinet/icmp_var.h netinet/tcp_var.h
7736 do :
7737 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7738 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7739 #ifdef HAVE_ALIAS_H
7740 # include <alias.h>
7741 #endif
7742 #ifdef HAVE_SYS_SOCKET_H
7743 # include <sys/socket.h>
7744 #endif
7745 #ifdef HAVE_SYS_SOCKETVAR_H
7746 # include <sys/socketvar.h>
7747 #endif
7748 #ifdef HAVE_SYS_TIMEOUT_H
7749 # include <sys/timeout.h>
7750 #endif
7751 #ifdef HAVE_NETINET_IN_H
7752 # include <netinet/in.h>
7753 #endif
7754 #ifdef HAVE_NETINET_IN_SYSTM_H
7755 # include <netinet/in_systm.h>
7756 #endif
7757 #ifdef HAVE_NETINET_IP_H
7758 # include <netinet/ip.h>
7759 #endif
7760 #ifdef HAVE_NETINET_IP_VAR_H
7761 # include <netinet/ip_var.h>
7762 #endif
7763 #ifdef HAVE_NETINET_IP_ICMP_H
7764 # include <netinet/ip_icmp.h>
7765 #endif
7766 #ifdef HAVE_NETINET_UDP_H
7767 # include <netinet/udp.h>
7768 #endif
7769 #ifdef HAVE_NETINET_TCP_H
7770 # include <netinet/tcp.h>
7771 #endif
7772 #ifdef HAVE_NETINET_TCP_TIMER_H
7773 #include <netinet/tcp_timer.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 linux/ipx.h linux/irda.h linux/rtnetlink.h
7787 do :
7788 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7789 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7790 #ifdef HAVE_ASM_TYPES_H
7791 # include <asm/types.h>
7792 #endif
7793 #ifdef HAVE_SYS_SOCKET_H
7794 # include <sys/socket.h>
7795 #endif
7796 #ifdef HAVE_LINUX_TYPES_H
7797 # include <linux/types.h>
7798 #endif
7800 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7801 cat >>confdefs.h <<_ACEOF
7802 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7803 _ACEOF
7807 done
7810 for ac_header in resolv.h
7811 do :
7812 ac_fn_c_check_header_compile "$LINENO" "resolv.h" "ac_cv_header_resolv_h" "#include <sys/types.h>
7813 #ifdef HAVE_SYS_SOCKET_H
7814 # include <sys/socket.h>
7815 #endif
7816 #ifdef HAVE_NETINET_IN_H
7817 # include <netinet/in.h>
7818 #endif
7819 #ifdef HAVE_ARPA_NAMESER_H
7820 # include <arpa/nameser.h>
7821 #endif
7823 if test "x$ac_cv_header_resolv_h" = xyes; then :
7824 cat >>confdefs.h <<_ACEOF
7825 #define HAVE_RESOLV_H 1
7826 _ACEOF
7830 done
7833 for ac_header in ifaddrs.h
7834 do :
7835 ac_fn_c_check_header_compile "$LINENO" "ifaddrs.h" "ac_cv_header_ifaddrs_h" "#include <sys/types.h>
7837 if test "x$ac_cv_header_ifaddrs_h" = xyes; then :
7838 cat >>confdefs.h <<_ACEOF
7839 #define HAVE_IFADDRS_H 1
7840 _ACEOF
7844 done
7847 for ac_header in sys/ucontext.h
7848 do :
7849 ac_fn_c_check_header_compile "$LINENO" "sys/ucontext.h" "ac_cv_header_sys_ucontext_h" "#include <signal.h>
7851 if test "x$ac_cv_header_sys_ucontext_h" = xyes; then :
7852 cat >>confdefs.h <<_ACEOF
7853 #define HAVE_SYS_UCONTEXT_H 1
7854 _ACEOF
7858 done
7861 for ac_header in sys/thr.h
7862 do :
7863 ac_fn_c_check_header_compile "$LINENO" "sys/thr.h" "ac_cv_header_sys_thr_h" "#include <sys/types.h>
7864 #ifdef HAVE_SYS_UCONTEXT_H
7865 #include <sys/ucontext.h>
7866 #endif
7868 if test "x$ac_cv_header_sys_thr_h" = xyes; then :
7869 cat >>confdefs.h <<_ACEOF
7870 #define HAVE_SYS_THR_H 1
7871 _ACEOF
7875 done
7878 for ac_header in pthread_np.h
7879 do :
7880 ac_fn_c_check_header_compile "$LINENO" "pthread_np.h" "ac_cv_header_pthread_np_h" "#ifdef HAVE_PTHREAD_H
7881 #include <pthread.h>
7882 #endif
7884 if test "x$ac_cv_header_pthread_np_h" = xyes; then :
7885 cat >>confdefs.h <<_ACEOF
7886 #define HAVE_PTHREAD_NP_H 1
7887 _ACEOF
7891 done
7894 for ac_header in linux/videodev2.h
7895 do :
7896 ac_fn_c_check_header_compile "$LINENO" "linux/videodev2.h" "ac_cv_header_linux_videodev2_h" "#ifdef HAVE_SYS_TIME_H
7897 #include <sys/time.h>
7898 #endif
7899 #include <sys/types.h>
7900 #ifdef HAVE_ASM_TYPES_H
7901 #include <asm/types.h>
7902 #endif
7904 if test "x$ac_cv_header_linux_videodev2_h" = xyes; then :
7905 cat >>confdefs.h <<_ACEOF
7906 #define HAVE_LINUX_VIDEODEV2_H 1
7907 _ACEOF
7911 done
7914 for ac_header in libprocstat.h
7915 do :
7916 ac_fn_c_check_header_compile "$LINENO" "libprocstat.h" "ac_cv_header_libprocstat_h" "#ifdef HAVE_SYS_PARAM_H
7917 #include <sys/param.h>
7918 #endif
7919 #ifdef HAVE_SYS_QUEUE_H
7920 #include <sys/queue.h>
7921 #endif
7922 #ifdef HAVE_SYS_SOCKET_H
7923 #include <sys/socket.h>
7924 #endif
7926 if test "x$ac_cv_header_libprocstat_h" = xyes; then :
7927 cat >>confdefs.h <<_ACEOF
7928 #define HAVE_LIBPROCSTAT_H 1
7929 _ACEOF
7933 done
7937 DLLFLAGS="-D_REENTRANT"
7939 LDDLLFLAGS=""
7941 LDEXECFLAGS=""
7943 TOP_INSTALL_LIB=""
7945 TOP_INSTALL_DEV=""
7947 WINELOADER_LDFLAGS=""
7949 WINEPRELOADER_LDFLAGS=""
7951 LIBEXT="so"
7952 DLLEXT=".so"
7953 # Extract the first word of "ldd", so it can be a program name with args.
7954 set dummy ldd; ac_word=$2
7955 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7956 $as_echo_n "checking for $ac_word... " >&6; }
7957 if ${ac_cv_path_LDD+:} false; then :
7958 $as_echo_n "(cached) " >&6
7959 else
7960 case $LDD in
7961 [\\/]* | ?:[\\/]*)
7962 ac_cv_path_LDD="$LDD" # Let the user override the test with a path.
7965 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7966 as_dummy="/sbin:/usr/sbin:$PATH"
7967 for as_dir in $as_dummy
7969 IFS=$as_save_IFS
7970 test -z "$as_dir" && as_dir=.
7971 for ac_exec_ext in '' $ac_executable_extensions; do
7972 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7973 ac_cv_path_LDD="$as_dir/$ac_word$ac_exec_ext"
7974 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7975 break 2
7977 done
7978 done
7979 IFS=$as_save_IFS
7981 test -z "$ac_cv_path_LDD" && ac_cv_path_LDD="true"
7983 esac
7985 LDD=$ac_cv_path_LDD
7986 if test -n "$LDD"; then
7987 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDD" >&5
7988 $as_echo "$LDD" >&6; }
7989 else
7990 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7991 $as_echo "no" >&6; }
7995 if test -n "$ac_tool_prefix"; then
7996 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
7997 set dummy ${ac_tool_prefix}otool; ac_word=$2
7998 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7999 $as_echo_n "checking for $ac_word... " >&6; }
8000 if ${ac_cv_prog_OTOOL+:} false; then :
8001 $as_echo_n "(cached) " >&6
8002 else
8003 if test -n "$OTOOL"; then
8004 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
8005 else
8006 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8007 for as_dir in $PATH
8009 IFS=$as_save_IFS
8010 test -z "$as_dir" && as_dir=.
8011 for ac_exec_ext in '' $ac_executable_extensions; do
8012 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8013 ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
8014 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8015 break 2
8017 done
8018 done
8019 IFS=$as_save_IFS
8023 OTOOL=$ac_cv_prog_OTOOL
8024 if test -n "$OTOOL"; then
8025 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
8026 $as_echo "$OTOOL" >&6; }
8027 else
8028 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8029 $as_echo "no" >&6; }
8034 if test -z "$ac_cv_prog_OTOOL"; then
8035 ac_ct_OTOOL=$OTOOL
8036 # Extract the first word of "otool", so it can be a program name with args.
8037 set dummy otool; ac_word=$2
8038 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8039 $as_echo_n "checking for $ac_word... " >&6; }
8040 if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
8041 $as_echo_n "(cached) " >&6
8042 else
8043 if test -n "$ac_ct_OTOOL"; then
8044 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
8045 else
8046 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8047 for as_dir in $PATH
8049 IFS=$as_save_IFS
8050 test -z "$as_dir" && as_dir=.
8051 for ac_exec_ext in '' $ac_executable_extensions; do
8052 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8053 ac_cv_prog_ac_ct_OTOOL="otool"
8054 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8055 break 2
8057 done
8058 done
8059 IFS=$as_save_IFS
8063 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
8064 if test -n "$ac_ct_OTOOL"; then
8065 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
8066 $as_echo "$ac_ct_OTOOL" >&6; }
8067 else
8068 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8069 $as_echo "no" >&6; }
8072 if test "x$ac_ct_OTOOL" = x; then
8073 OTOOL="otool"
8074 else
8075 case $cross_compiling:$ac_tool_warned in
8076 yes:)
8077 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8078 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8079 ac_tool_warned=yes ;;
8080 esac
8081 OTOOL=$ac_ct_OTOOL
8083 else
8084 OTOOL="$ac_cv_prog_OTOOL"
8087 if test -n "$ac_tool_prefix"; then
8088 # Extract the first word of "${ac_tool_prefix}readelf", so it can be a program name with args.
8089 set dummy ${ac_tool_prefix}readelf; ac_word=$2
8090 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8091 $as_echo_n "checking for $ac_word... " >&6; }
8092 if ${ac_cv_prog_READELF+:} false; then :
8093 $as_echo_n "(cached) " >&6
8094 else
8095 if test -n "$READELF"; then
8096 ac_cv_prog_READELF="$READELF" # Let the user override the test.
8097 else
8098 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8099 for as_dir in $PATH
8101 IFS=$as_save_IFS
8102 test -z "$as_dir" && as_dir=.
8103 for ac_exec_ext in '' $ac_executable_extensions; do
8104 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8105 ac_cv_prog_READELF="${ac_tool_prefix}readelf"
8106 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8107 break 2
8109 done
8110 done
8111 IFS=$as_save_IFS
8115 READELF=$ac_cv_prog_READELF
8116 if test -n "$READELF"; then
8117 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $READELF" >&5
8118 $as_echo "$READELF" >&6; }
8119 else
8120 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8121 $as_echo "no" >&6; }
8126 if test -z "$ac_cv_prog_READELF"; then
8127 ac_ct_READELF=$READELF
8128 # Extract the first word of "readelf", so it can be a program name with args.
8129 set dummy readelf; ac_word=$2
8130 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8131 $as_echo_n "checking for $ac_word... " >&6; }
8132 if ${ac_cv_prog_ac_ct_READELF+:} false; then :
8133 $as_echo_n "(cached) " >&6
8134 else
8135 if test -n "$ac_ct_READELF"; then
8136 ac_cv_prog_ac_ct_READELF="$ac_ct_READELF" # Let the user override the test.
8137 else
8138 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8139 for as_dir in $PATH
8141 IFS=$as_save_IFS
8142 test -z "$as_dir" && as_dir=.
8143 for ac_exec_ext in '' $ac_executable_extensions; do
8144 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8145 ac_cv_prog_ac_ct_READELF="readelf"
8146 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8147 break 2
8149 done
8150 done
8151 IFS=$as_save_IFS
8155 ac_ct_READELF=$ac_cv_prog_ac_ct_READELF
8156 if test -n "$ac_ct_READELF"; then
8157 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_READELF" >&5
8158 $as_echo "$ac_ct_READELF" >&6; }
8159 else
8160 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8161 $as_echo "no" >&6; }
8164 if test "x$ac_ct_READELF" = x; then
8165 READELF="true"
8166 else
8167 case $cross_compiling:$ac_tool_warned in
8168 yes:)
8169 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8170 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8171 ac_tool_warned=yes ;;
8172 esac
8173 READELF=$ac_ct_READELF
8175 else
8176 READELF="$ac_cv_prog_READELF"
8179 wine_rules_file=conf$$rules.make
8180 rm -f $wine_rules_file
8181 SUBDIRS=""
8183 DISABLED_SUBDIRS=""
8185 CONFIGURE_TARGETS=""
8188 wine_fn_append_file ()
8190 as_fn_append $1 " \\$as_nl $2"
8193 wine_fn_append_rule ()
8195 $as_echo "$1" >>$wine_rules_file
8198 wine_fn_config_makefile ()
8200 wine_fn_append_file SUBDIRS $1
8201 if eval test \"x\$"$2"\" = x"no"; then :
8202 wine_fn_append_file DISABLED_SUBDIRS $1
8206 wine_fn_config_symlink ()
8208 ac_links=$@
8209 wine_fn_append_rule \
8210 "$ac_links:
8211 @./config.status \$@"
8212 for f in $ac_links; do wine_fn_append_file CONFIGURE_TARGETS $f; done
8215 wine_binary="wine"
8216 test "x$enable_win64" != "xyes" || wine_binary="wine64"
8217 WINELOADER_PROGRAMS="$wine_binary"
8219 libwine_soversion=`expr $libwine_version : '\([0-9]*\)\..*'`
8221 case $host_os in
8222 cygwin*|mingw32*)
8223 if test -n "$ac_tool_prefix"; then
8224 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
8225 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
8226 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8227 $as_echo_n "checking for $ac_word... " >&6; }
8228 if ${ac_cv_prog_DLLTOOL+:} false; then :
8229 $as_echo_n "(cached) " >&6
8230 else
8231 if test -n "$DLLTOOL"; then
8232 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
8233 else
8234 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8235 for as_dir in $PATH
8237 IFS=$as_save_IFS
8238 test -z "$as_dir" && as_dir=.
8239 for ac_exec_ext in '' $ac_executable_extensions; do
8240 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8241 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
8242 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8243 break 2
8245 done
8246 done
8247 IFS=$as_save_IFS
8251 DLLTOOL=$ac_cv_prog_DLLTOOL
8252 if test -n "$DLLTOOL"; then
8253 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
8254 $as_echo "$DLLTOOL" >&6; }
8255 else
8256 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8257 $as_echo "no" >&6; }
8262 if test -z "$ac_cv_prog_DLLTOOL"; then
8263 ac_ct_DLLTOOL=$DLLTOOL
8264 # Extract the first word of "dlltool", so it can be a program name with args.
8265 set dummy dlltool; ac_word=$2
8266 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8267 $as_echo_n "checking for $ac_word... " >&6; }
8268 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
8269 $as_echo_n "(cached) " >&6
8270 else
8271 if test -n "$ac_ct_DLLTOOL"; then
8272 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
8273 else
8274 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8275 for as_dir in $PATH
8277 IFS=$as_save_IFS
8278 test -z "$as_dir" && as_dir=.
8279 for ac_exec_ext in '' $ac_executable_extensions; do
8280 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8281 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
8282 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8283 break 2
8285 done
8286 done
8287 IFS=$as_save_IFS
8291 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
8292 if test -n "$ac_ct_DLLTOOL"; then
8293 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
8294 $as_echo "$ac_ct_DLLTOOL" >&6; }
8295 else
8296 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8297 $as_echo "no" >&6; }
8300 if test "x$ac_ct_DLLTOOL" = x; then
8301 DLLTOOL="false"
8302 else
8303 case $cross_compiling:$ac_tool_warned in
8304 yes:)
8305 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8306 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8307 ac_tool_warned=yes ;;
8308 esac
8309 DLLTOOL=$ac_ct_DLLTOOL
8311 else
8312 DLLTOOL="$ac_cv_prog_DLLTOOL"
8315 LIBEXT="dll"
8316 DLLEXT=""
8317 case $host_cpu in
8318 *i[3456]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--disable-stdcall-fixup" >&5
8319 $as_echo_n "checking whether the compiler supports -Wl,--disable-stdcall-fixup... " >&6; }
8320 if ${ac_cv_cflags__Wl___disable_stdcall_fixup+:} false; then :
8321 $as_echo_n "(cached) " >&6
8322 else
8323 ac_wine_try_cflags_saved=$CFLAGS
8324 CFLAGS="$CFLAGS -Wl,--disable-stdcall-fixup"
8325 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8326 /* end confdefs.h. */
8327 int main(int argc, char **argv) { return 0; }
8328 _ACEOF
8329 if ac_fn_c_try_link "$LINENO"; then :
8330 ac_cv_cflags__Wl___disable_stdcall_fixup=yes
8331 else
8332 ac_cv_cflags__Wl___disable_stdcall_fixup=no
8334 rm -f core conftest.err conftest.$ac_objext \
8335 conftest$ac_exeext conftest.$ac_ext
8336 CFLAGS=$ac_wine_try_cflags_saved
8338 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___disable_stdcall_fixup" >&5
8339 $as_echo "$ac_cv_cflags__Wl___disable_stdcall_fixup" >&6; }
8340 if test "x$ac_cv_cflags__Wl___disable_stdcall_fixup" = xyes; then :
8341 LDDLLFLAGS="-Wl,--disable-stdcall-fixup"
8342 fi ;;
8343 esac
8344 enable_iphlpapi=${enable_iphlpapi:-no}
8345 enable_ws2_32=${enable_ws2_32:-no}
8346 enable_loader=${enable_loader:-no}
8347 enable_server=${enable_server:-no}
8348 with_x=${with_x:-no}
8349 with_pthread=${with_pthread:-no}
8352 darwin*|macosx*)
8353 ac_ext=m
8354 ac_cpp='$OBJCPP $CPPFLAGS'
8355 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8356 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8357 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
8359 ac_ext=m
8360 ac_cpp='$OBJCPP $CPPFLAGS'
8361 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8362 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8363 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
8364 if test -n "$ac_tool_prefix"; then
8365 for ac_prog in gcc objcc objc cc CC
8367 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
8368 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
8369 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8370 $as_echo_n "checking for $ac_word... " >&6; }
8371 if ${ac_cv_prog_OBJC+:} false; then :
8372 $as_echo_n "(cached) " >&6
8373 else
8374 if test -n "$OBJC"; then
8375 ac_cv_prog_OBJC="$OBJC" # Let the user override the test.
8376 else
8377 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8378 for as_dir in $PATH
8380 IFS=$as_save_IFS
8381 test -z "$as_dir" && as_dir=.
8382 for ac_exec_ext in '' $ac_executable_extensions; do
8383 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8384 ac_cv_prog_OBJC="$ac_tool_prefix$ac_prog"
8385 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8386 break 2
8388 done
8389 done
8390 IFS=$as_save_IFS
8394 OBJC=$ac_cv_prog_OBJC
8395 if test -n "$OBJC"; then
8396 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJC" >&5
8397 $as_echo "$OBJC" >&6; }
8398 else
8399 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8400 $as_echo "no" >&6; }
8404 test -n "$OBJC" && break
8405 done
8407 if test -z "$OBJC"; then
8408 ac_ct_OBJC=$OBJC
8409 for ac_prog in gcc objcc objc cc CC
8411 # Extract the first word of "$ac_prog", so it can be a program name with args.
8412 set dummy $ac_prog; ac_word=$2
8413 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8414 $as_echo_n "checking for $ac_word... " >&6; }
8415 if ${ac_cv_prog_ac_ct_OBJC+:} false; then :
8416 $as_echo_n "(cached) " >&6
8417 else
8418 if test -n "$ac_ct_OBJC"; then
8419 ac_cv_prog_ac_ct_OBJC="$ac_ct_OBJC" # Let the user override the test.
8420 else
8421 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8422 for as_dir in $PATH
8424 IFS=$as_save_IFS
8425 test -z "$as_dir" && as_dir=.
8426 for ac_exec_ext in '' $ac_executable_extensions; do
8427 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8428 ac_cv_prog_ac_ct_OBJC="$ac_prog"
8429 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8430 break 2
8432 done
8433 done
8434 IFS=$as_save_IFS
8438 ac_ct_OBJC=$ac_cv_prog_ac_ct_OBJC
8439 if test -n "$ac_ct_OBJC"; then
8440 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJC" >&5
8441 $as_echo "$ac_ct_OBJC" >&6; }
8442 else
8443 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8444 $as_echo "no" >&6; }
8448 test -n "$ac_ct_OBJC" && break
8449 done
8451 if test "x$ac_ct_OBJC" = x; then
8452 OBJC="gcc"
8453 else
8454 case $cross_compiling:$ac_tool_warned in
8455 yes:)
8456 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8457 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8458 ac_tool_warned=yes ;;
8459 esac
8460 OBJC=$ac_ct_OBJC
8464 # Provide some information about the compiler.
8465 $as_echo "$as_me:${as_lineno-$LINENO}: checking for Objective C compiler version" >&5
8466 set X $ac_compile
8467 ac_compiler=$2
8468 for ac_option in --version -v -V -qversion; do
8469 { { ac_try="$ac_compiler $ac_option >&5"
8470 case "(($ac_try" in
8471 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8472 *) ac_try_echo=$ac_try;;
8473 esac
8474 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
8475 $as_echo "$ac_try_echo"; } >&5
8476 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
8477 ac_status=$?
8478 if test -s conftest.err; then
8479 sed '10a\
8480 ... rest of stderr output deleted ...
8481 10q' conftest.err >conftest.er1
8482 cat conftest.er1 >&5
8484 rm -f conftest.er1 conftest.err
8485 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8486 test $ac_status = 0; }
8487 done
8489 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU Objective C compiler" >&5
8490 $as_echo_n "checking whether we are using the GNU Objective C compiler... " >&6; }
8491 if ${ac_cv_objc_compiler_gnu+:} false; then :
8492 $as_echo_n "(cached) " >&6
8493 else
8494 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8495 /* end confdefs.h. */
8498 main ()
8500 #ifndef __GNUC__
8501 choke me
8502 #endif
8505 return 0;
8507 _ACEOF
8508 if ac_fn_objc_try_compile "$LINENO"; then :
8509 ac_compiler_gnu=yes
8510 else
8511 ac_compiler_gnu=no
8513 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8514 ac_cv_objc_compiler_gnu=$ac_compiler_gnu
8517 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objc_compiler_gnu" >&5
8518 $as_echo "$ac_cv_objc_compiler_gnu" >&6; }
8519 if test $ac_compiler_gnu = yes; then
8520 GOBJC=yes
8521 else
8522 GOBJC=
8524 ac_test_OBJCFLAGS=${OBJCFLAGS+set}
8525 ac_save_OBJCFLAGS=$OBJCFLAGS
8526 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $OBJC accepts -g" >&5
8527 $as_echo_n "checking whether $OBJC accepts -g... " >&6; }
8528 if ${ac_cv_prog_objc_g+:} false; then :
8529 $as_echo_n "(cached) " >&6
8530 else
8531 ac_save_objc_werror_flag=$ac_objc_werror_flag
8532 ac_objc_werror_flag=yes
8533 ac_cv_prog_objc_g=no
8534 OBJCFLAGS="-g"
8535 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8536 /* end confdefs.h. */
8539 main ()
8543 return 0;
8545 _ACEOF
8546 if ac_fn_objc_try_compile "$LINENO"; then :
8547 ac_cv_prog_objc_g=yes
8548 else
8549 OBJCFLAGS=""
8550 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8551 /* end confdefs.h. */
8554 main ()
8558 return 0;
8560 _ACEOF
8561 if ac_fn_objc_try_compile "$LINENO"; then :
8563 else
8564 ac_objc_werror_flag=$ac_save_objc_werror_flag
8565 OBJCFLAGS="-g"
8566 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8567 /* end confdefs.h. */
8570 main ()
8574 return 0;
8576 _ACEOF
8577 if ac_fn_objc_try_compile "$LINENO"; then :
8578 ac_cv_prog_objc_g=yes
8580 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8582 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8584 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8585 ac_objc_werror_flag=$ac_save_objc_werror_flag
8587 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_objc_g" >&5
8588 $as_echo "$ac_cv_prog_objc_g" >&6; }
8589 if test "$ac_test_OBJCFLAGS" = set; then
8590 OBJCFLAGS=$ac_save_OBJCFLAGS
8591 elif test $ac_cv_prog_objc_g = yes; then
8592 if test "$GOBJC" = yes; then
8593 OBJCFLAGS="-g -O2"
8594 else
8595 OBJCFLAGS="-g"
8597 else
8598 if test "$GOBJC" = yes; then
8599 OBJCFLAGS="-O2"
8600 else
8601 OBJCFLAGS=
8604 ac_ext=m
8605 ac_cpp='$OBJCPP $CPPFLAGS'
8606 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8607 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8608 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
8611 ac_ext=m
8612 ac_cpp='$OBJCPP $CPPFLAGS'
8613 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8614 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8615 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
8616 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the Objective C preprocessor" >&5
8617 $as_echo_n "checking how to run the Objective C preprocessor... " >&6; }
8618 if test -z "$OBJCPP"; then
8619 if ${ac_cv_prog_OBJCPP+:} false; then :
8620 $as_echo_n "(cached) " >&6
8621 else
8622 # Double quotes because OBJCPP needs to be expanded
8623 for OBJCPP in "$OBJC -E" "/lib/cpp"
8625 ac_preproc_ok=false
8626 for ac_objc_preproc_warn_flag in '' yes
8628 # Use a header file that comes with gcc, so configuring glibc
8629 # with a fresh cross-compiler works.
8630 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8631 # <limits.h> exists even on freestanding compilers.
8632 # On the NeXT, cc -E runs the code through the compiler's parser,
8633 # not just through cpp. "Syntax error" is here to catch this case.
8634 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8635 /* end confdefs.h. */
8636 #ifdef __STDC__
8637 # include <limits.h>
8638 #else
8639 # include <assert.h>
8640 #endif
8641 Syntax error
8642 _ACEOF
8643 if ac_fn_objc_try_cpp "$LINENO"; then :
8645 else
8646 # Broken: fails on valid input.
8647 continue
8649 rm -f conftest.err conftest.i conftest.$ac_ext
8651 # OK, works on sane cases. Now check whether nonexistent headers
8652 # can be detected and how.
8653 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8654 /* end confdefs.h. */
8655 #include <ac_nonexistent.h>
8656 _ACEOF
8657 if ac_fn_objc_try_cpp "$LINENO"; then :
8658 # Broken: success on invalid input.
8659 continue
8660 else
8661 # Passes both tests.
8662 ac_preproc_ok=:
8663 break
8665 rm -f conftest.err conftest.i conftest.$ac_ext
8667 done
8668 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
8669 rm -f conftest.i conftest.err conftest.$ac_ext
8670 if $ac_preproc_ok; then :
8671 break
8674 done
8675 ac_cv_prog_OBJCPP=$OBJCPP
8678 OBJCPP=$ac_cv_prog_OBJCPP
8679 else
8680 ac_cv_prog_OBJCPP=$OBJCPP
8682 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJCPP" >&5
8683 $as_echo "$OBJCPP" >&6; }
8684 ac_preproc_ok=false
8685 for ac_objc_preproc_warn_flag in '' yes
8687 # Use a header file that comes with gcc, so configuring glibc
8688 # with a fresh cross-compiler works.
8689 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8690 # <limits.h> exists even on freestanding compilers.
8691 # On the NeXT, cc -E runs the code through the compiler's parser,
8692 # not just through cpp. "Syntax error" is here to catch this case.
8693 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8694 /* end confdefs.h. */
8695 #ifdef __STDC__
8696 # include <limits.h>
8697 #else
8698 # include <assert.h>
8699 #endif
8700 Syntax error
8701 _ACEOF
8702 if ac_fn_objc_try_cpp "$LINENO"; then :
8704 else
8705 # Broken: fails on valid input.
8706 continue
8708 rm -f conftest.err conftest.i conftest.$ac_ext
8710 # OK, works on sane cases. Now check whether nonexistent headers
8711 # can be detected and how.
8712 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8713 /* end confdefs.h. */
8714 #include <ac_nonexistent.h>
8715 _ACEOF
8716 if ac_fn_objc_try_cpp "$LINENO"; then :
8717 # Broken: success on invalid input.
8718 continue
8719 else
8720 # Passes both tests.
8721 ac_preproc_ok=:
8722 break
8724 rm -f conftest.err conftest.i conftest.$ac_ext
8726 done
8727 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
8728 rm -f conftest.i conftest.err conftest.$ac_ext
8729 if $ac_preproc_ok; then :
8731 else
8732 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
8733 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
8734 as_fn_error $? "Objective C preprocessor \"$OBJCPP\" fails sanity check
8735 See \`config.log' for more details" "$LINENO" 5; }
8738 ac_ext=m
8739 ac_cpp='$OBJCPP $CPPFLAGS'
8740 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8741 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8742 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
8745 for ac_header in Metal/Metal.h
8746 do :
8747 ac_fn_objc_check_header_mongrel "$LINENO" "Metal/Metal.h" "ac_cv_header_Metal_Metal_h" "$ac_includes_default"
8748 if test "x$ac_cv_header_Metal_Metal_h" = xyes; then :
8749 cat >>confdefs.h <<_ACEOF
8750 #define HAVE_METAL_METAL_H 1
8751 _ACEOF
8755 done
8757 ac_ext=c
8758 ac_cpp='$CPP $CPPFLAGS'
8759 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8760 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8761 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8763 LIBEXT="dylib"
8764 DLLFLAGS="$DLLFLAGS -fPIC"
8765 LDDLLFLAGS="-fPIC"
8766 COREFOUNDATION_LIBS="-framework CoreFoundation"
8768 IOKIT_LIBS="-framework IOKit -framework CoreFoundation"
8770 FORCEFEEDBACK_LIBS="-framework ForceFeedback -framework CoreFoundation"
8772 APPLICATIONSERVICES_LIBS="-framework ApplicationServices"
8774 CORESERVICES_LIBS="-framework CoreServices"
8776 APPKIT_LIBS="-framework AppKit"
8778 SYSTEMCONFIGURATION_LIBS="-framework SystemConfiguration"
8781 WINELOADER_LDFLAGS="-Wl,-pie,-pagezero_size,0x1000,-sectcreate,__TEXT,__info_plist,loader/wine_info.plist"
8783 wine_can_build_preloader=yes
8784 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"
8785 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-no_new_main -e _main" >&5
8786 $as_echo_n "checking whether the compiler supports -Wl,-no_new_main -e _main... " >&6; }
8787 if ${ac_cv_cflags__Wl__no_new_main__e__main+:} 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"
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=yes
8798 else
8799 ac_cv_cflags__Wl__no_new_main__e__main=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" >&5
8806 $as_echo "$ac_cv_cflags__Wl__no_new_main__e__main" >&6; }
8807 if test "x$ac_cv_cflags__Wl__no_new_main__e__main" = xyes; then :
8808 WINEPRELOADER_LDFLAGS="-Wl,-no_new_main $WINEPRELOADER_LDFLAGS"
8809 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-no_new_main -e _main -nostartfiles -nodefaultlibs" >&5
8810 $as_echo_n "checking whether the compiler supports -Wl,-no_new_main -e _main -nostartfiles -nodefaultlibs... " >&6; }
8811 if ${ac_cv_cflags__Wl__no_new_main__e__main__nostartfiles__nodefaultlibs+:} false; then :
8812 $as_echo_n "(cached) " >&6
8813 else
8814 ac_wine_try_cflags_saved=$CFLAGS
8815 CFLAGS="$CFLAGS -Wl,-no_new_main -e _main -nostartfiles -nodefaultlibs"
8816 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8817 /* end confdefs.h. */
8818 int main(int argc, char **argv) { return 0; }
8819 _ACEOF
8820 if ac_fn_c_try_link "$LINENO"; then :
8821 ac_cv_cflags__Wl__no_new_main__e__main__nostartfiles__nodefaultlibs=yes
8822 else
8823 ac_cv_cflags__Wl__no_new_main__e__main__nostartfiles__nodefaultlibs=no
8825 rm -f core conftest.err conftest.$ac_objext \
8826 conftest$ac_exeext conftest.$ac_ext
8827 CFLAGS=$ac_wine_try_cflags_saved
8829 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__no_new_main__e__main__nostartfiles__nodefaultlibs" >&5
8830 $as_echo "$ac_cv_cflags__Wl__no_new_main__e__main__nostartfiles__nodefaultlibs" >&6; }
8831 if test "x$ac_cv_cflags__Wl__no_new_main__e__main__nostartfiles__nodefaultlibs" = xyes; then :
8832 EXTRACFLAGS="$EXTRACFLAGS -Wl,-no_new_main -e _main -nostartfiles -nodefaultlibs"
8833 else
8834 { $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
8835 $as_echo_n "checking whether the compiler supports -Wl,-no_new_main -e _main -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs... " >&6; }
8836 if ${ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs+:} false; then :
8837 $as_echo_n "(cached) " >&6
8838 else
8839 ac_wine_try_cflags_saved=$CFLAGS
8840 CFLAGS="$CFLAGS -Wl,-no_new_main -e _main -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs"
8841 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8842 /* end confdefs.h. */
8843 int main(int argc, char **argv) { return 0; }
8844 _ACEOF
8845 if ac_fn_c_try_link "$LINENO"; then :
8846 ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs=yes
8847 else
8848 ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs=no
8850 rm -f core conftest.err conftest.$ac_objext \
8851 conftest$ac_exeext conftest.$ac_ext
8852 CFLAGS=$ac_wine_try_cflags_saved
8854 { $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
8855 $as_echo "$ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" >&6; }
8856 if test "x$ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" = xyes; then :
8857 WINEPRELOADER_LDFLAGS="-mmacosx-version-min=10.7 $WINEPRELOADER_LDFLAGS"
8858 else
8859 wine_can_build_preloader=no
8862 else
8863 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -nostartfiles -nodefaultlibs" >&5
8864 $as_echo_n "checking whether the compiler supports -nostartfiles -nodefaultlibs... " >&6; }
8865 if ${ac_cv_cflags__nostartfiles__nodefaultlibs+:} false; then :
8866 $as_echo_n "(cached) " >&6
8867 else
8868 ac_wine_try_cflags_saved=$CFLAGS
8869 CFLAGS="$CFLAGS -nostartfiles -nodefaultlibs"
8870 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8871 /* end confdefs.h. */
8872 int main(int argc, char **argv) { return 0; }
8873 _ACEOF
8874 if ac_fn_c_try_link "$LINENO"; then :
8875 ac_cv_cflags__nostartfiles__nodefaultlibs=yes
8876 else
8877 ac_cv_cflags__nostartfiles__nodefaultlibs=no
8879 rm -f core conftest.err conftest.$ac_objext \
8880 conftest$ac_exeext conftest.$ac_ext
8881 CFLAGS=$ac_wine_try_cflags_saved
8883 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__nostartfiles__nodefaultlibs" >&5
8884 $as_echo "$ac_cv_cflags__nostartfiles__nodefaultlibs" >&6; }
8885 if test "x$ac_cv_cflags__nostartfiles__nodefaultlibs" = xyes; then :
8886 EXTRACFLAGS="$EXTRACFLAGS -nostartfiles -nodefaultlibs"
8887 else
8888 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs" >&5
8889 $as_echo_n "checking whether the compiler supports -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs... " >&6; }
8890 if ${ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs+:} false; then :
8891 $as_echo_n "(cached) " >&6
8892 else
8893 ac_wine_try_cflags_saved=$CFLAGS
8894 CFLAGS="$CFLAGS -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs"
8895 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8896 /* end confdefs.h. */
8897 int main(int argc, char **argv) { return 0; }
8898 _ACEOF
8899 if ac_fn_c_try_link "$LINENO"; then :
8900 ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs=yes
8901 else
8902 ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs=no
8904 rm -f core conftest.err conftest.$ac_objext \
8905 conftest$ac_exeext conftest.$ac_ext
8906 CFLAGS=$ac_wine_try_cflags_saved
8908 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" >&5
8909 $as_echo "$ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" >&6; }
8910 if test "x$ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" = xyes; then :
8911 WINEPRELOADER_LDFLAGS="-mmacosx-version-min=10.7 $WINEPRELOADER_LDFLAGS"
8912 else
8913 wine_can_build_preloader=no
8917 if test "$wine_can_build_preloader" = "yes"
8918 then
8919 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-no_pie" >&5
8920 $as_echo_n "checking whether the compiler supports -Wl,-no_pie... " >&6; }
8921 if ${ac_cv_cflags__Wl__no_pie+:} false; then :
8922 $as_echo_n "(cached) " >&6
8923 else
8924 ac_wine_try_cflags_saved=$CFLAGS
8925 CFLAGS="$CFLAGS -Wl,-no_pie"
8926 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8927 /* end confdefs.h. */
8928 int main(int argc, char **argv) { return 0; }
8929 _ACEOF
8930 if ac_fn_c_try_link "$LINENO"; then :
8931 ac_cv_cflags__Wl__no_pie=yes
8932 else
8933 ac_cv_cflags__Wl__no_pie=no
8935 rm -f core conftest.err conftest.$ac_objext \
8936 conftest$ac_exeext conftest.$ac_ext
8937 CFLAGS=$ac_wine_try_cflags_saved
8939 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__no_pie" >&5
8940 $as_echo "$ac_cv_cflags__Wl__no_pie" >&6; }
8941 if test "x$ac_cv_cflags__Wl__no_pie" = xyes; then :
8942 WINEPRELOADER_LDFLAGS="-Wl,-no_pie $WINEPRELOADER_LDFLAGS"
8944 test "$wine_binary" = wine || wine_fn_append_file CONFIGURE_TARGETS "loader/wine-preloader"
8945 WINELOADER_PROGRAMS="$WINELOADER_PROGRAMS $wine_binary-preloader"
8946 else
8947 as_fn_append wine_warnings "|can't build Wine preloader; many programs won't work"
8950 if test "$ac_cv_header_DiskArbitration_DiskArbitration_h" = "yes"
8951 then
8952 DISKARBITRATION_LIBS="-framework DiskArbitration -framework CoreFoundation"
8955 if test "$ac_cv_header_Security_Security_h" = "yes"
8956 then
8957 SECURITY_LIBS="-framework Security -framework CoreFoundation"
8959 ac_save_LIBS="$LIBS"
8960 LIBS="$LIBS $SECURITY_LIBS"
8961 for ac_func in SSLCopyPeerCertificates
8962 do :
8963 ac_fn_c_check_func "$LINENO" "SSLCopyPeerCertificates" "ac_cv_func_SSLCopyPeerCertificates"
8964 if test "x$ac_cv_func_SSLCopyPeerCertificates" = xyes; then :
8965 cat >>confdefs.h <<_ACEOF
8966 #define HAVE_SSLCOPYPEERCERTIFICATES 1
8967 _ACEOF
8970 done
8972 LIBS="$ac_save_LIBS"
8974 if test "$ac_cv_header_CoreAudio_CoreAudio_h" = "yes" -a "$ac_cv_header_AudioUnit_AudioUnit_h" = "yes"
8975 then
8976 if test "$ac_cv_header_AudioUnit_AudioComponent_h" = "yes"
8977 then
8978 COREAUDIO_LIBS="-framework CoreFoundation -framework CoreAudio -framework AudioUnit -framework AudioToolbox -framework CoreMIDI"
8980 else
8981 COREAUDIO_LIBS="-framework CoreAudio -framework AudioUnit -framework CoreServices -framework AudioToolbox -framework CoreMIDI"
8984 enable_winecoreaudio_drv=${enable_winecoreaudio_drv:-yes}
8985 ac_save_LIBS="$LIBS"
8986 LIBS="$LIBS $COREAUDIO_LIBS"
8987 for ac_func in AUGraphAddNode
8988 do :
8989 ac_fn_c_check_func "$LINENO" "AUGraphAddNode" "ac_cv_func_AUGraphAddNode"
8990 if test "x$ac_cv_func_AUGraphAddNode" = xyes; then :
8991 cat >>confdefs.h <<_ACEOF
8992 #define HAVE_AUGRAPHADDNODE 1
8993 _ACEOF
8996 done
8998 LIBS="$ac_save_LIBS"
9000 if test "$ac_cv_header_OpenAL_al_h" = "yes"
9001 then
9002 OPENAL_LIBS="-framework OpenAL"
9005 cat >>confdefs.h <<_ACEOF
9006 #define HAVE_OPENAL 1
9007 _ACEOF
9009 ac_cv_lib_openal=yes
9011 if test "$ac_cv_header_OpenCL_opencl_h" = "yes"
9012 then
9013 OPENCL_LIBS="-framework OpenCL"
9015 ac_cv_lib_OpenCL_clGetPlatformInfo=yes
9017 if test "$ac_cv_header_IOKit_hid_IOHIDLib_h" = "yes"
9018 then
9019 ac_save_LIBS="$LIBS"
9020 LIBS="$LIBS $IOKIT_LIBS"
9021 for ac_func in IOHIDManagerCreate
9022 do :
9023 ac_fn_c_check_func "$LINENO" "IOHIDManagerCreate" "ac_cv_func_IOHIDManagerCreate"
9024 if test "x$ac_cv_func_IOHIDManagerCreate" = xyes; then :
9025 cat >>confdefs.h <<_ACEOF
9026 #define HAVE_IOHIDMANAGERCREATE 1
9027 _ACEOF
9030 done
9032 LIBS="$ac_save_LIBS"
9035 if test "x$with_quicktime" != "xno"
9036 then
9037 if test "$ac_cv_header_QuickTime_ImageCompression_h" = "yes"
9038 then
9039 ac_save_LIBS="$LIBS"
9040 LIBS="-framework QuickTime -framework ApplicationServices -framework CoreVideo $LIBS"
9041 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the QuickTime framework" >&5
9042 $as_echo_n "checking for the QuickTime framework... " >&6; }
9043 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9044 /* end confdefs.h. */
9045 #include <QuickTime/ImageCompression.h>
9047 main ()
9049 CodecManagerVersion(NULL);
9051 return 0;
9053 _ACEOF
9054 if ac_fn_c_try_link "$LINENO"; then :
9055 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
9056 $as_echo "yes" >&6; }
9057 QUICKTIME_LIBS="-framework QuickTime -framework ApplicationServices -framework CoreVideo"
9059 enable_wineqtdecoder=${enable_wineqtdecoder:-yes}
9060 else
9061 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9062 $as_echo "no" >&6; }
9063 ac_cv_header_QuickTime_ImageCompression_h=no
9065 rm -f core conftest.err conftest.$ac_objext \
9066 conftest$ac_exeext conftest.$ac_ext
9067 LIBS="$ac_save_LIBS"
9070 if test "$ac_cv_header_QuickTime_ImageCompression_h" != "yes"; then :
9071 case "x$with_quicktime" in
9072 x) as_fn_append wine_notices "|QuickTime ${notice_platform}development files not found, video decoding won't be supported." ;;
9073 xno) ;;
9074 *) as_fn_error $? "QuickTime ${notice_platform}development files not found, video decoding won't be supported.
9075 This is an error since --with-quicktime was requested." "$LINENO" 5 ;;
9076 esac
9080 if test "$ac_cv_header_Carbon_Carbon_h" = "yes"
9081 then
9082 CARBON_LIBS="-framework Carbon"
9085 if test "$ac_cv_header_Metal_Metal_h" = "yes"
9086 then
9087 METAL_LIBS="-framework Metal -framework QuartzCore"
9091 if test "$ac_cv_header_Metal_Metal_h" = "yes"
9092 then
9093 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether MTLDevice protocol supports registryID property" >&5
9094 $as_echo_n "checking whether MTLDevice protocol supports registryID property... " >&6; }
9095 ac_ext=m
9096 ac_cpp='$OBJCPP $CPPFLAGS'
9097 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9098 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9099 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
9101 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9102 /* end confdefs.h. */
9103 #include <Metal/Metal.h>
9105 main ()
9107 id<MTLDevice> device; device.registryID;
9109 return 0;
9111 _ACEOF
9112 if ac_fn_objc_try_compile "$LINENO"; then :
9113 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
9114 $as_echo "yes" >&6; }
9116 $as_echo "#define HAVE_MTLDEVICE_REGISTRYID 1" >>confdefs.h
9118 else
9119 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9120 $as_echo "no" >&6; }
9122 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9123 ac_ext=c
9124 ac_cpp='$CPP $CPPFLAGS'
9125 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9126 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9127 ac_compiler_gnu=$ac_cv_c_compiler_gnu
9131 if test "$ac_cv_header_ApplicationServices_ApplicationServices_h" = "yes"
9132 then
9133 ac_save_LIBS="$LIBS"
9134 LIBS="$LIBS $APPLICATIONSERVICES_LIBS"
9135 ac_fn_c_check_func "$LINENO" "CGDisplayModeGetWidth" "ac_cv_func_CGDisplayModeGetWidth"
9136 if test "x$ac_cv_func_CGDisplayModeGetWidth" = xyes; then :
9137 enable_winemac_drv=${enable_winemac_drv:-yes}
9140 LIBS="$ac_save_LIBS"
9143 LIBWINE_SHAREDLIB="libwine.$libwine_version.dylib"
9145 LIBWINE_LDFLAGS="-dynamiclib -install_name @rpath/libwine.$libwine_soversion.dylib -Wl,-rpath,@loader_path/ -compatibility_version $libwine_soversion -current_version $libwine_version"
9147 WINELOADER_DEPENDS="wine_info.plist"
9149 TOP_INSTALL_LIB="$TOP_INSTALL_LIB libs/wine/libwine.$libwine_version.dylib libs/wine/libwine.$libwine_soversion.dylib"
9152 linux-android*)
9153 DLLFLAGS="$DLLFLAGS -fPIC"
9154 LDDLLFLAGS="-fPIC"
9155 LDEXECFLAGS="-Wl,-pie"
9156 enable_wineandroid_drv=${enable_wineandroid_drv:-yes}
9157 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
9158 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--export-dynamic... " >&6; }
9159 if ${ac_cv_cflags__fPIC__Wl___export_dynamic+:} false; then :
9160 $as_echo_n "(cached) " >&6
9161 else
9162 ac_wine_try_cflags_saved=$CFLAGS
9163 CFLAGS="$CFLAGS -fPIC -Wl,--export-dynamic"
9164 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9165 /* end confdefs.h. */
9166 int main(int argc, char **argv) { return 0; }
9167 _ACEOF
9168 if ac_fn_c_try_link "$LINENO"; then :
9169 ac_cv_cflags__fPIC__Wl___export_dynamic=yes
9170 else
9171 ac_cv_cflags__fPIC__Wl___export_dynamic=no
9173 rm -f core conftest.err conftest.$ac_objext \
9174 conftest$ac_exeext conftest.$ac_ext
9175 CFLAGS=$ac_wine_try_cflags_saved
9177 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
9178 $as_echo "$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
9179 if test "x$ac_cv_cflags__fPIC__Wl___export_dynamic" = xyes; then :
9180 WINELOADER_LDFLAGS="-Wl,--export-dynamic"
9182 WINEPRELOADER_LDFLAGS="-static -nostartfiles -nodefaultlibs -Wl,-Ttext=0x7d400000"
9184 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lEGL" >&5
9185 $as_echo_n "checking for -lEGL... " >&6; }
9186 if ${ac_cv_lib_soname_EGL+:} false; then :
9187 $as_echo_n "(cached) " >&6
9188 else
9189 ac_check_soname_save_LIBS=$LIBS
9190 LIBS="-lEGL $LIBS"
9191 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9192 /* end confdefs.h. */
9194 /* Override any GCC internal prototype to avoid an error.
9195 Use char because int might match the return type of a GCC
9196 builtin and then its argument prototype would still apply. */
9197 #ifdef __cplusplus
9198 extern "C"
9199 #endif
9200 char eglGetProcAddress ();
9202 main ()
9204 return eglGetProcAddress ();
9206 return 0;
9208 _ACEOF
9209 if ac_fn_c_try_link "$LINENO"; then :
9210 case "$LIBEXT" in
9211 dll) ac_cv_lib_soname_EGL=`$ac_cv_path_LDD conftest.exe | grep "EGL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9212 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'` ;;
9213 *) ac_cv_lib_soname_EGL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libEGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libEGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9214 if ${ac_cv_lib_soname_EGL:+false} :; then :
9215 ac_cv_lib_soname_EGL=`$LDD conftest$ac_exeext | grep "libEGL\\.$LIBEXT" | sed -e "s/^.*\(libEGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9216 fi ;;
9217 esac
9218 else
9219 ac_cv_lib_soname_EGL=
9221 rm -f core conftest.err conftest.$ac_objext \
9222 conftest$ac_exeext conftest.$ac_ext
9223 LIBS=$ac_check_soname_save_LIBS
9225 if ${ac_cv_lib_soname_EGL:+false} :; then :
9226 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9227 $as_echo "not found" >&6; }
9229 else
9230 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_EGL" >&5
9231 $as_echo "$ac_cv_lib_soname_EGL" >&6; }
9233 cat >>confdefs.h <<_ACEOF
9234 #define SONAME_LIBEGL "$ac_cv_lib_soname_EGL"
9235 _ACEOF
9239 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGLESv2" >&5
9240 $as_echo_n "checking for -lGLESv2... " >&6; }
9241 if ${ac_cv_lib_soname_GLESv2+:} false; then :
9242 $as_echo_n "(cached) " >&6
9243 else
9244 ac_check_soname_save_LIBS=$LIBS
9245 LIBS="-lGLESv2 $LIBS"
9246 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9247 /* end confdefs.h. */
9249 /* Override any GCC internal prototype to avoid an error.
9250 Use char because int might match the return type of a GCC
9251 builtin and then its argument prototype would still apply. */
9252 #ifdef __cplusplus
9253 extern "C"
9254 #endif
9255 char glFlush ();
9257 main ()
9259 return glFlush ();
9261 return 0;
9263 _ACEOF
9264 if ac_fn_c_try_link "$LINENO"; then :
9265 case "$LIBEXT" in
9266 dll) ac_cv_lib_soname_GLESv2=`$ac_cv_path_LDD conftest.exe | grep "GLESv2" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9267 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'` ;;
9268 *) ac_cv_lib_soname_GLESv2=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGLESv2\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGLESv2\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9269 if ${ac_cv_lib_soname_GLESv2:+false} :; then :
9270 ac_cv_lib_soname_GLESv2=`$LDD conftest$ac_exeext | grep "libGLESv2\\.$LIBEXT" | sed -e "s/^.*\(libGLESv2\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9271 fi ;;
9272 esac
9273 else
9274 ac_cv_lib_soname_GLESv2=
9276 rm -f core conftest.err conftest.$ac_objext \
9277 conftest$ac_exeext conftest.$ac_ext
9278 LIBS=$ac_check_soname_save_LIBS
9280 if ${ac_cv_lib_soname_GLESv2:+false} :; then :
9281 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9282 $as_echo "not found" >&6; }
9284 else
9285 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GLESv2" >&5
9286 $as_echo "$ac_cv_lib_soname_GLESv2" >&6; }
9288 cat >>confdefs.h <<_ACEOF
9289 #define SONAME_LIBGLESV2 "$ac_cv_lib_soname_GLESv2"
9290 _ACEOF
9295 if test "x$exec_prefix" = xNONE
9296 then
9297 case $host_cpu in
9298 *i[3456]86*) exec_prefix='${prefix}/x86' ;;
9299 *x86_64*) exec_prefix='${prefix}/x86_64' ;;
9300 *arm*) exec_prefix='${prefix}/armeabi-v7a' ;;
9301 *aarch64*) exec_prefix='${prefix}/arm64-v8a' ;;
9302 esac
9307 case $host_cpu in
9308 *i[3456789]86*)
9309 DLLFLAGS="$DLLFLAGS -fno-PIC"
9310 LDDLLFLAGS="-fno-PIC"
9311 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-PIC -Wl,-z,notext" >&5
9312 $as_echo_n "checking whether the compiler supports -fno-PIC -Wl,-z,notext... " >&6; }
9313 if ${ac_cv_cflags__fno_PIC__Wl__z_notext+:} false; then :
9314 $as_echo_n "(cached) " >&6
9315 else
9316 ac_wine_try_cflags_saved=$CFLAGS
9317 CFLAGS="$CFLAGS -fno-PIC -Wl,-z,notext"
9318 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9319 /* end confdefs.h. */
9320 int main(int argc, char **argv) { return 0; }
9321 _ACEOF
9322 if ac_fn_c_try_link "$LINENO"; then :
9323 ac_cv_cflags__fno_PIC__Wl__z_notext=yes
9324 else
9325 ac_cv_cflags__fno_PIC__Wl__z_notext=no
9327 rm -f core conftest.err conftest.$ac_objext \
9328 conftest$ac_exeext conftest.$ac_ext
9329 CFLAGS=$ac_wine_try_cflags_saved
9331 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_PIC__Wl__z_notext" >&5
9332 $as_echo "$ac_cv_cflags__fno_PIC__Wl__z_notext" >&6; }
9333 if test "x$ac_cv_cflags__fno_PIC__Wl__z_notext" = xyes; then :
9334 LDDLLFLAGS="$LDDLLFLAGS -Wl,-z,notext"
9338 DLLFLAGS="$DLLFLAGS -fPIC"
9339 LDDLLFLAGS="-fPIC" ;;
9340 esac
9341 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build a GNU style ELF dll" >&5
9342 $as_echo_n "checking whether we can build a GNU style ELF dll... " >&6; }
9343 if ${ac_cv_c_dll_gnuelf+:} false; then :
9344 $as_echo_n "(cached) " >&6
9345 else
9346 ac_wine_try_cflags_saved=$CFLAGS
9347 CFLAGS="$CFLAGS -fPIC -shared -Wl,-Bsymbolic"
9348 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9349 /* end confdefs.h. */
9350 void myfunc() {}
9351 _ACEOF
9352 if ac_fn_c_try_link "$LINENO"; then :
9353 ac_cv_cflags__fPIC__shared__Wl__Bsymbolic=yes
9354 else
9355 ac_cv_cflags__fPIC__shared__Wl__Bsymbolic=no
9357 rm -f core conftest.err conftest.$ac_objext \
9358 conftest$ac_exeext conftest.$ac_ext
9359 CFLAGS=$ac_wine_try_cflags_saved
9360 if test "x$ac_cv_cflags__fPIC__shared__Wl__Bsymbolic" = xyes; then :
9361 ac_cv_c_dll_gnuelf="yes"
9362 else
9363 ac_cv_c_dll_gnuelf="no"
9366 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dll_gnuelf" >&5
9367 $as_echo "$ac_cv_c_dll_gnuelf" >&6; }
9368 if test "$ac_cv_c_dll_gnuelf" = "yes"
9369 then
9370 LIBWINE_LDFLAGS="-shared"
9371 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -shared -Wl,-soname,confest.so.1" >&5
9372 $as_echo_n "checking whether the compiler supports -shared -Wl,-soname,confest.so.1... " >&6; }
9373 if ${ac_cv_cflags__shared__Wl__soname_confest_so_1+:} false; then :
9374 $as_echo_n "(cached) " >&6
9375 else
9376 ac_wine_try_cflags_saved=$CFLAGS
9377 CFLAGS="$CFLAGS -shared -Wl,-soname,confest.so.1"
9378 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9379 /* end confdefs.h. */
9380 int main(int argc, char **argv) { return 0; }
9381 _ACEOF
9382 if ac_fn_c_try_link "$LINENO"; then :
9383 ac_cv_cflags__shared__Wl__soname_confest_so_1=yes
9384 else
9385 ac_cv_cflags__shared__Wl__soname_confest_so_1=no
9387 rm -f core conftest.err conftest.$ac_objext \
9388 conftest$ac_exeext conftest.$ac_ext
9389 CFLAGS=$ac_wine_try_cflags_saved
9391 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__shared__Wl__soname_confest_so_1" >&5
9392 $as_echo "$ac_cv_cflags__shared__Wl__soname_confest_so_1" >&6; }
9393 if test "x$ac_cv_cflags__shared__Wl__soname_confest_so_1" = xyes; then :
9394 LIBWINE_LDFLAGS="-shared -Wl,-soname,libwine.so.$libwine_soversion"
9395 else
9396 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -shared -Wl,-h,confest.so.1" >&5
9397 $as_echo_n "checking whether the compiler supports -shared -Wl,-h,confest.so.1... " >&6; }
9398 if ${ac_cv_cflags__shared__Wl__h_confest_so_1+:} false; then :
9399 $as_echo_n "(cached) " >&6
9400 else
9401 ac_wine_try_cflags_saved=$CFLAGS
9402 CFLAGS="$CFLAGS -shared -Wl,-h,confest.so.1"
9403 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9404 /* end confdefs.h. */
9405 int main(int argc, char **argv) { return 0; }
9406 _ACEOF
9407 if ac_fn_c_try_link "$LINENO"; then :
9408 ac_cv_cflags__shared__Wl__h_confest_so_1=yes
9409 else
9410 ac_cv_cflags__shared__Wl__h_confest_so_1=no
9412 rm -f core conftest.err conftest.$ac_objext \
9413 conftest$ac_exeext conftest.$ac_ext
9414 CFLAGS=$ac_wine_try_cflags_saved
9416 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__shared__Wl__h_confest_so_1" >&5
9417 $as_echo "$ac_cv_cflags__shared__Wl__h_confest_so_1" >&6; }
9418 if test "x$ac_cv_cflags__shared__Wl__h_confest_so_1" = xyes; then :
9419 LIBWINE_LDFLAGS="-shared -Wl,-h,libwine.so.$libwine_soversion"
9423 echo '{ global: *; };' >conftest.map
9424 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -shared -Wl,--version-script=conftest.map" >&5
9425 $as_echo_n "checking whether the compiler supports -shared -Wl,--version-script=conftest.map... " >&6; }
9426 if ${ac_cv_cflags__shared__Wl___version_script_conftest_map+:} false; then :
9427 $as_echo_n "(cached) " >&6
9428 else
9429 ac_wine_try_cflags_saved=$CFLAGS
9430 CFLAGS="$CFLAGS -shared -Wl,--version-script=conftest.map"
9431 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9432 /* end confdefs.h. */
9433 int main(int argc, char **argv) { return 0; }
9434 _ACEOF
9435 if ac_fn_c_try_link "$LINENO"; then :
9436 ac_cv_cflags__shared__Wl___version_script_conftest_map=yes
9437 else
9438 ac_cv_cflags__shared__Wl___version_script_conftest_map=no
9440 rm -f core conftest.err conftest.$ac_objext \
9441 conftest$ac_exeext conftest.$ac_ext
9442 CFLAGS=$ac_wine_try_cflags_saved
9444 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__shared__Wl___version_script_conftest_map" >&5
9445 $as_echo "$ac_cv_cflags__shared__Wl___version_script_conftest_map" >&6; }
9446 if test "x$ac_cv_cflags__shared__Wl___version_script_conftest_map" = xyes; then :
9447 LIBWINE_LDFLAGS="$LIBWINE_LDFLAGS -Wl,--version-script=\$(srcdir)/wine.map"
9449 rm -f conftest.map
9451 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--export-dynamic" >&5
9452 $as_echo_n "checking whether the compiler supports -Wl,--export-dynamic... " >&6; }
9453 if ${ac_cv_cflags__Wl___export_dynamic+:} false; then :
9454 $as_echo_n "(cached) " >&6
9455 else
9456 ac_wine_try_cflags_saved=$CFLAGS
9457 CFLAGS="$CFLAGS -Wl,--export-dynamic"
9458 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9459 /* end confdefs.h. */
9460 int main(int argc, char **argv) { return 0; }
9461 _ACEOF
9462 if ac_fn_c_try_link "$LINENO"; then :
9463 ac_cv_cflags__Wl___export_dynamic=yes
9464 else
9465 ac_cv_cflags__Wl___export_dynamic=no
9467 rm -f core conftest.err conftest.$ac_objext \
9468 conftest$ac_exeext conftest.$ac_ext
9469 CFLAGS=$ac_wine_try_cflags_saved
9471 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___export_dynamic" >&5
9472 $as_echo "$ac_cv_cflags__Wl___export_dynamic" >&6; }
9473 if test "x$ac_cv_cflags__Wl___export_dynamic" = xyes; then :
9474 WINELOADER_LDFLAGS="-Wl,--export-dynamic"
9476 WINEPRELOADER_LDFLAGS="-static -nostartfiles -nodefaultlibs -Wl,-Ttext=0x7d400000"
9478 case $host_cpu in
9479 *i[3456789]86* | x86_64 | *aarch64*)
9480 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-Ttext-segment=0x7bc00000" >&5
9481 $as_echo_n "checking whether the compiler supports -Wl,-Ttext-segment=0x7bc00000... " >&6; }
9482 if ${ac_cv_cflags__Wl__Ttext_segment_0x7bc00000+:} false; then :
9483 $as_echo_n "(cached) " >&6
9484 else
9485 ac_wine_try_cflags_saved=$CFLAGS
9486 CFLAGS="$CFLAGS -Wl,-Ttext-segment=0x7bc00000"
9487 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9488 /* end confdefs.h. */
9489 int main(int argc, char **argv) { return 0; }
9490 _ACEOF
9491 if ac_fn_c_try_link "$LINENO"; then :
9492 ac_cv_cflags__Wl__Ttext_segment_0x7bc00000=yes
9493 else
9494 ac_cv_cflags__Wl__Ttext_segment_0x7bc00000=no
9496 rm -f core conftest.err conftest.$ac_objext \
9497 conftest$ac_exeext conftest.$ac_ext
9498 CFLAGS=$ac_wine_try_cflags_saved
9500 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" >&5
9501 $as_echo "$ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" >&6; }
9502 if test "x$ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" = xyes; then :
9503 case $host_os in
9504 freebsd* | kfreebsd*-gnu) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,-Ttext-segment=0x60000000" ;;
9505 *) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,-Ttext-segment=0x7d000000" ;;
9506 esac
9507 else
9508 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--section-start,.interp=0x7d000400" >&5
9509 $as_echo_n "checking whether the compiler supports -Wl,--section-start,.interp=0x7d000400... " >&6; }
9510 if ${ac_cv_cflags__Wl___section_start__interp_0x7d000400+:} false; then :
9511 $as_echo_n "(cached) " >&6
9512 else
9513 ac_wine_try_cflags_saved=$CFLAGS
9514 CFLAGS="$CFLAGS -Wl,--section-start,.interp=0x7d000400"
9515 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9516 /* end confdefs.h. */
9517 int main(int argc, char **argv) { return 0; }
9518 _ACEOF
9519 if ac_fn_c_try_link "$LINENO"; then :
9520 ac_cv_cflags__Wl___section_start__interp_0x7d000400=yes
9521 else
9522 ac_cv_cflags__Wl___section_start__interp_0x7d000400=no
9524 rm -f core conftest.err conftest.$ac_objext \
9525 conftest$ac_exeext conftest.$ac_ext
9526 CFLAGS=$ac_wine_try_cflags_saved
9528 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___section_start__interp_0x7d000400" >&5
9529 $as_echo "$ac_cv_cflags__Wl___section_start__interp_0x7d000400" >&6; }
9530 if test "x$ac_cv_cflags__Wl___section_start__interp_0x7d000400" = xyes; then :
9531 case $host_os in
9532 freebsd* | kfreebsd*-gnu) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,--section-start,.interp=0x60000400" ;;
9533 *) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,--section-start,.interp=0x7d000400" ;;
9534 esac
9536 # Extract the first word of "prelink", so it can be a program name with args.
9537 set dummy prelink; ac_word=$2
9538 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9539 $as_echo_n "checking for $ac_word... " >&6; }
9540 if ${ac_cv_path_PRELINK+:} false; then :
9541 $as_echo_n "(cached) " >&6
9542 else
9543 case $PRELINK in
9544 [\\/]* | ?:[\\/]*)
9545 ac_cv_path_PRELINK="$PRELINK" # Let the user override the test with a path.
9548 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9549 for as_dir in /sbin /usr/sbin $PATH
9551 IFS=$as_save_IFS
9552 test -z "$as_dir" && as_dir=.
9553 for ac_exec_ext in '' $ac_executable_extensions; do
9554 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9555 ac_cv_path_PRELINK="$as_dir/$ac_word$ac_exec_ext"
9556 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9557 break 2
9559 done
9560 done
9561 IFS=$as_save_IFS
9563 test -z "$ac_cv_path_PRELINK" && ac_cv_path_PRELINK="false"
9565 esac
9567 PRELINK=$ac_cv_path_PRELINK
9568 if test -n "$PRELINK"; then
9569 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PRELINK" >&5
9570 $as_echo "$PRELINK" >&6; }
9571 else
9572 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9573 $as_echo "no" >&6; }
9577 if test "x$PRELINK" = xfalse
9578 then
9579 as_fn_append wine_warnings "|prelink not found and linker does not support relocation, base address of core dlls won't be set correctly."
9582 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-z,max-page-size=0x1000" >&5
9583 $as_echo_n "checking whether the compiler supports -Wl,-z,max-page-size=0x1000... " >&6; }
9584 if ${ac_cv_cflags__Wl__z_max_page_size_0x1000+:} false; then :
9585 $as_echo_n "(cached) " >&6
9586 else
9587 ac_wine_try_cflags_saved=$CFLAGS
9588 CFLAGS="$CFLAGS -Wl,-z,max-page-size=0x1000"
9589 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9590 /* end confdefs.h. */
9591 int main(int argc, char **argv) { return 0; }
9592 _ACEOF
9593 if ac_fn_c_try_link "$LINENO"; then :
9594 ac_cv_cflags__Wl__z_max_page_size_0x1000=yes
9595 else
9596 ac_cv_cflags__Wl__z_max_page_size_0x1000=no
9598 rm -f core conftest.err conftest.$ac_objext \
9599 conftest$ac_exeext conftest.$ac_ext
9600 CFLAGS=$ac_wine_try_cflags_saved
9602 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__z_max_page_size_0x1000" >&5
9603 $as_echo "$ac_cv_cflags__Wl__z_max_page_size_0x1000" >&6; }
9604 if test "x$ac_cv_cflags__Wl__z_max_page_size_0x1000" = xyes; then :
9605 WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,-z,max-page-size=0x1000"
9608 esac
9610 else
9611 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build a UnixWare (Solaris) dll" >&5
9612 $as_echo_n "checking whether we can build a UnixWare (Solaris) dll... " >&6; }
9613 if ${ac_cv_c_dll_unixware+:} false; then :
9614 $as_echo_n "(cached) " >&6
9615 else
9616 ac_wine_try_cflags_saved=$CFLAGS
9617 CFLAGS="$CFLAGS -fPIC -Wl,-G,-h,conftest.so.1.0,-B,symbolic"
9618 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9619 /* end confdefs.h. */
9620 void myfunc() {}
9621 _ACEOF
9622 if ac_fn_c_try_link "$LINENO"; then :
9623 ac_cv_cflags__fPIC__Wl__G__h_conftest_so_1_0__B_symbolic=yes
9624 else
9625 ac_cv_cflags__fPIC__Wl__G__h_conftest_so_1_0__B_symbolic=no
9627 rm -f core conftest.err conftest.$ac_objext \
9628 conftest$ac_exeext conftest.$ac_ext
9629 CFLAGS=$ac_wine_try_cflags_saved
9630 if test "x$ac_cv_cflags__fPIC__Wl__G__h_conftest_so_1_0__B_symbolic" = xyes; then :
9631 ac_cv_c_dll_unixware="yes"
9632 else
9633 ac_cv_c_dll_unixware="no"
9636 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dll_unixware" >&5
9637 $as_echo "$ac_cv_c_dll_unixware" >&6; }
9638 if test "$ac_cv_c_dll_unixware" = "yes"
9639 then
9640 LIBWINE_LDFLAGS="-Wl,-G,-h,libwine.so.$libwine_soversion"
9643 LIBWINE_SHAREDLIB="libwine.so.$libwine_version"
9645 LIBWINE_DEPENDS="wine.map"
9647 TOP_INSTALL_LIB="$TOP_INSTALL_LIB libs/wine/libwine.so.$libwine_version libs/wine/libwine.so.$libwine_soversion"
9649 esac
9651 enable_winecoreaudio_drv=${enable_winecoreaudio_drv:-no}
9652 enable_wineqtdecoder=${enable_wineqtdecoder:-no}
9653 enable_wineandroid_drv=${enable_wineandroid_drv:-no}
9654 enable_winemac_drv=${enable_winemac_drv:-no}
9655 test "$ac_cv_header_linux_joystick_h" = "yes" -o "$ac_cv_header_IOKit_hid_IOHIDLib_h" = "yes" || enable_winejoystick_drv=${enable_winejoystick_drv:-no}
9658 if test "x$with_mingw" != xno
9659 then
9660 case "x$with_mingw" in
9661 x|xyes) case "$host_cpu" in
9662 aarch64*)
9663 ac_prefix_list="aarch64-w64-mingw32-clang aarch64-w64-mingw32-gcc clang" ;;
9664 arm*)
9665 ac_prefix_list="armv7-w64-mingw32-clang armv7-w64-mingw32-gcc clang" ;;
9666 i[3456789]86*)
9667 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
9668 i686-w64-mingw32-clang i586-w64-mingw32-clang i486-w64-mingw32-clang i386-w64-mingw32-clang
9669 mingw32-gcc clang" ;;
9670 x86_64)
9671 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
9672 x86_64-w64-mingw32-clang amd64-w64-mingw32-clang clang" ;;
9674 ac_prefix_list="" ;;
9675 esac
9676 for ac_prog in $ac_prefix_list
9678 # Extract the first word of "$ac_prog", so it can be a program name with args.
9679 set dummy $ac_prog; ac_word=$2
9680 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9681 $as_echo_n "checking for $ac_word... " >&6; }
9682 if ${ac_cv_prog_CROSSCC+:} false; then :
9683 $as_echo_n "(cached) " >&6
9684 else
9685 if test -n "$CROSSCC"; then
9686 ac_cv_prog_CROSSCC="$CROSSCC" # Let the user override the test.
9687 else
9688 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9689 for as_dir in $PATH
9691 IFS=$as_save_IFS
9692 test -z "$as_dir" && as_dir=.
9693 for ac_exec_ext in '' $ac_executable_extensions; do
9694 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9695 ac_cv_prog_CROSSCC="$ac_prog"
9696 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9697 break 2
9699 done
9700 done
9701 IFS=$as_save_IFS
9705 CROSSCC=$ac_cv_prog_CROSSCC
9706 if test -n "$CROSSCC"; then
9707 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CROSSCC" >&5
9708 $as_echo "$CROSSCC" >&6; }
9709 else
9710 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9711 $as_echo "no" >&6; }
9715 test -n "$CROSSCC" && break
9716 done
9717 test -n "$CROSSCC" || CROSSCC="false"
9719 *) CROSSCC=$with_mingw ;;
9720 esac
9721 if test "$CROSSCC" != "false"
9722 then
9723 ac_save_CC="$CC"
9724 saved_CFLAGS=$CFLAGS
9725 CROSSCFLAGS=${CROSSCFLAGS:-"-g -O2"}
9727 EXTRACROSSCFLAGS="-DWINE_CROSS_PE -Wall"
9731 CC="$CROSSCC"
9732 CFLAGS=$CROSSCFLAGS
9733 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CROSSCC works" >&5
9734 $as_echo_n "checking whether $CROSSCC works... " >&6; }
9735 if ${wine_cv_crosscc+:} false; then :
9736 $as_echo_n "(cached) " >&6
9737 else
9738 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9739 /* end confdefs.h. */
9742 main ()
9746 return 0;
9748 _ACEOF
9749 if ac_fn_c_try_compile "$LINENO"; then :
9750 wine_cv_crosscc=yes
9751 else
9752 wine_cv_crosscc=no
9754 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9756 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_crosscc" >&5
9757 $as_echo "$wine_cv_crosscc" >&6; }
9758 if test $wine_cv_crosscc = yes
9759 then
9760 set x $CROSSCC
9761 shift
9762 while test $# -ge 1
9764 case "$1" in
9765 *-gcc) CROSSTARGET=`expr "$1" : '\(.*\)-gcc'` ;;
9766 *-clang) CROSSTARGET=`expr "$1" : '\(.*\)-clang'` ;;
9767 esac
9768 shift
9769 done
9771 llvm_target=$CROSSTARGET
9772 llvm_cflags="-fuse-ld=lld"
9773 if test -z "$llvm_target"
9774 then
9775 case $host_cpu in
9776 *i[3456789]86*) llvm_target=i686-windows ;;
9777 *) llvm_target=$host_cpu-windows ;;
9778 esac
9780 case $llvm_target in
9781 *windows) llvm_cflags="$llvm_cflags -Wl,-subsystem:console" ;;
9782 esac
9783 as_ac_var=`$as_echo "ac_cv_crosscflags_-target $llvm_target $llvm_cflags" | $as_tr_sh`
9784 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -target $llvm_target $llvm_cflags" >&5
9785 $as_echo_n "checking whether the cross-compiler supports -target $llvm_target $llvm_cflags... " >&6; }
9786 if eval \${$as_ac_var+:} false; then :
9787 $as_echo_n "(cached) " >&6
9788 else
9789 ac_wine_try_cflags_saved=$CFLAGS
9790 ac_wine_try_cflags_saved_cc=$CC
9791 ac_wine_try_cflags_saved_exeext=$ac_exeext
9792 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -target $llvm_target $llvm_cflags"
9793 CC="$CROSSCC"
9794 ac_exeext=".exe"
9795 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9796 /* end confdefs.h. */
9797 int __cdecl mainCRTStartup(void) { return 0; }
9798 _ACEOF
9799 if ac_fn_c_try_link "$LINENO"; then :
9800 eval "$as_ac_var=yes"
9801 else
9802 eval "$as_ac_var=no"
9804 rm -f core conftest.err conftest.$ac_objext \
9805 conftest$ac_exeext conftest.$ac_ext
9806 CFLAGS=$ac_wine_try_cflags_saved
9807 CC=$ac_wine_try_cflags_saved_cc
9808 ac_exeext=$ac_wine_try_cflags_saved_exeext
9810 eval ac_res=\$$as_ac_var
9811 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
9812 $as_echo "$ac_res" >&6; }
9813 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
9814 CROSSTARGET=$llvm_target
9815 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -target $CROSSTARGET"
9816 DELAYLOADFLAG="-Wl,-delayload,"
9818 CFLAGS="$CFLAGS $llvm_cflags"
9821 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -fno-strict-aliasing" >&5
9822 $as_echo_n "checking whether the cross-compiler supports -fno-strict-aliasing... " >&6; }
9823 if ${ac_cv_crosscflags__fno_strict_aliasing+:} false; then :
9824 $as_echo_n "(cached) " >&6
9825 else
9826 ac_wine_try_cflags_saved=$CFLAGS
9827 ac_wine_try_cflags_saved_cc=$CC
9828 ac_wine_try_cflags_saved_exeext=$ac_exeext
9829 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -fno-strict-aliasing"
9830 CC="$CROSSCC"
9831 ac_exeext=".exe"
9832 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9833 /* end confdefs.h. */
9834 int __cdecl mainCRTStartup(void) { return 0; }
9835 _ACEOF
9836 if ac_fn_c_try_link "$LINENO"; then :
9837 ac_cv_crosscflags__fno_strict_aliasing=yes
9838 else
9839 ac_cv_crosscflags__fno_strict_aliasing=no
9841 rm -f core conftest.err conftest.$ac_objext \
9842 conftest$ac_exeext conftest.$ac_ext
9843 CFLAGS=$ac_wine_try_cflags_saved
9844 CC=$ac_wine_try_cflags_saved_cc
9845 ac_exeext=$ac_wine_try_cflags_saved_exeext
9847 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__fno_strict_aliasing" >&5
9848 $as_echo "$ac_cv_crosscflags__fno_strict_aliasing" >&6; }
9849 if test "x$ac_cv_crosscflags__fno_strict_aliasing" = xyes; then :
9850 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -fno-strict-aliasing"
9852 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Werror=unknown-warning-option" >&5
9853 $as_echo_n "checking whether the cross-compiler supports -Werror=unknown-warning-option... " >&6; }
9854 if ${ac_cv_crosscflags__Werror_unknown_warning_option+:} false; then :
9855 $as_echo_n "(cached) " >&6
9856 else
9857 ac_wine_try_cflags_saved=$CFLAGS
9858 ac_wine_try_cflags_saved_cc=$CC
9859 ac_wine_try_cflags_saved_exeext=$ac_exeext
9860 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Werror=unknown-warning-option"
9861 CC="$CROSSCC"
9862 ac_exeext=".exe"
9863 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9864 /* end confdefs.h. */
9865 int __cdecl mainCRTStartup(void) { return 0; }
9866 _ACEOF
9867 if ac_fn_c_try_link "$LINENO"; then :
9868 ac_cv_crosscflags__Werror_unknown_warning_option=yes
9869 else
9870 ac_cv_crosscflags__Werror_unknown_warning_option=no
9872 rm -f core conftest.err conftest.$ac_objext \
9873 conftest$ac_exeext conftest.$ac_ext
9874 CFLAGS=$ac_wine_try_cflags_saved
9875 CC=$ac_wine_try_cflags_saved_cc
9876 ac_exeext=$ac_wine_try_cflags_saved_exeext
9878 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Werror_unknown_warning_option" >&5
9879 $as_echo "$ac_cv_crosscflags__Werror_unknown_warning_option" >&6; }
9880 if test "x$ac_cv_crosscflags__Werror_unknown_warning_option" = xyes; then :
9881 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
9883 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Werror=ignored-optimization-argument" >&5
9884 $as_echo_n "checking whether the cross-compiler supports -Werror=ignored-optimization-argument... " >&6; }
9885 if ${ac_cv_crosscflags__Werror_ignored_optimization_argument+:} false; then :
9886 $as_echo_n "(cached) " >&6
9887 else
9888 ac_wine_try_cflags_saved=$CFLAGS
9889 ac_wine_try_cflags_saved_cc=$CC
9890 ac_wine_try_cflags_saved_exeext=$ac_exeext
9891 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Werror=ignored-optimization-argument"
9892 CC="$CROSSCC"
9893 ac_exeext=".exe"
9894 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9895 /* end confdefs.h. */
9896 int __cdecl mainCRTStartup(void) { return 0; }
9897 _ACEOF
9898 if ac_fn_c_try_link "$LINENO"; then :
9899 ac_cv_crosscflags__Werror_ignored_optimization_argument=yes
9900 else
9901 ac_cv_crosscflags__Werror_ignored_optimization_argument=no
9903 rm -f core conftest.err conftest.$ac_objext \
9904 conftest$ac_exeext conftest.$ac_ext
9905 CFLAGS=$ac_wine_try_cflags_saved
9906 CC=$ac_wine_try_cflags_saved_cc
9907 ac_exeext=$ac_wine_try_cflags_saved_exeext
9909 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Werror_ignored_optimization_argument" >&5
9910 $as_echo "$ac_cv_crosscflags__Werror_ignored_optimization_argument" >&6; }
9911 if test "x$ac_cv_crosscflags__Werror_ignored_optimization_argument" = xyes; then :
9912 CFLAGS="$CFLAGS -Werror=ignored-optimization-argument"
9914 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wdeclaration-after-statement" >&5
9915 $as_echo_n "checking whether the cross-compiler supports -Wdeclaration-after-statement... " >&6; }
9916 if ${ac_cv_crosscflags__Wdeclaration_after_statement+:} false; then :
9917 $as_echo_n "(cached) " >&6
9918 else
9919 ac_wine_try_cflags_saved=$CFLAGS
9920 ac_wine_try_cflags_saved_cc=$CC
9921 ac_wine_try_cflags_saved_exeext=$ac_exeext
9922 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wdeclaration-after-statement"
9923 CC="$CROSSCC"
9924 ac_exeext=".exe"
9925 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9926 /* end confdefs.h. */
9927 int __cdecl mainCRTStartup(void) { return 0; }
9928 _ACEOF
9929 if ac_fn_c_try_link "$LINENO"; then :
9930 ac_cv_crosscflags__Wdeclaration_after_statement=yes
9931 else
9932 ac_cv_crosscflags__Wdeclaration_after_statement=no
9934 rm -f core conftest.err conftest.$ac_objext \
9935 conftest$ac_exeext conftest.$ac_ext
9936 CFLAGS=$ac_wine_try_cflags_saved
9937 CC=$ac_wine_try_cflags_saved_cc
9938 ac_exeext=$ac_wine_try_cflags_saved_exeext
9940 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wdeclaration_after_statement" >&5
9941 $as_echo "$ac_cv_crosscflags__Wdeclaration_after_statement" >&6; }
9942 if test "x$ac_cv_crosscflags__Wdeclaration_after_statement" = xyes; then :
9943 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wdeclaration-after-statement"
9945 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wempty-body" >&5
9946 $as_echo_n "checking whether the cross-compiler supports -Wempty-body... " >&6; }
9947 if ${ac_cv_crosscflags__Wempty_body+:} false; then :
9948 $as_echo_n "(cached) " >&6
9949 else
9950 ac_wine_try_cflags_saved=$CFLAGS
9951 ac_wine_try_cflags_saved_cc=$CC
9952 ac_wine_try_cflags_saved_exeext=$ac_exeext
9953 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wempty-body"
9954 CC="$CROSSCC"
9955 ac_exeext=".exe"
9956 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9957 /* end confdefs.h. */
9958 int __cdecl mainCRTStartup(void) { return 0; }
9959 _ACEOF
9960 if ac_fn_c_try_link "$LINENO"; then :
9961 ac_cv_crosscflags__Wempty_body=yes
9962 else
9963 ac_cv_crosscflags__Wempty_body=no
9965 rm -f core conftest.err conftest.$ac_objext \
9966 conftest$ac_exeext conftest.$ac_ext
9967 CFLAGS=$ac_wine_try_cflags_saved
9968 CC=$ac_wine_try_cflags_saved_cc
9969 ac_exeext=$ac_wine_try_cflags_saved_exeext
9971 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wempty_body" >&5
9972 $as_echo "$ac_cv_crosscflags__Wempty_body" >&6; }
9973 if test "x$ac_cv_crosscflags__Wempty_body" = xyes; then :
9974 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wempty-body"
9976 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wignored-qualifiers" >&5
9977 $as_echo_n "checking whether the cross-compiler supports -Wignored-qualifiers... " >&6; }
9978 if ${ac_cv_crosscflags__Wignored_qualifiers+:} false; then :
9979 $as_echo_n "(cached) " >&6
9980 else
9981 ac_wine_try_cflags_saved=$CFLAGS
9982 ac_wine_try_cflags_saved_cc=$CC
9983 ac_wine_try_cflags_saved_exeext=$ac_exeext
9984 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wignored-qualifiers"
9985 CC="$CROSSCC"
9986 ac_exeext=".exe"
9987 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9988 /* end confdefs.h. */
9989 int __cdecl mainCRTStartup(void) { return 0; }
9990 _ACEOF
9991 if ac_fn_c_try_link "$LINENO"; then :
9992 ac_cv_crosscflags__Wignored_qualifiers=yes
9993 else
9994 ac_cv_crosscflags__Wignored_qualifiers=no
9996 rm -f core conftest.err conftest.$ac_objext \
9997 conftest$ac_exeext conftest.$ac_ext
9998 CFLAGS=$ac_wine_try_cflags_saved
9999 CC=$ac_wine_try_cflags_saved_cc
10000 ac_exeext=$ac_wine_try_cflags_saved_exeext
10002 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wignored_qualifiers" >&5
10003 $as_echo "$ac_cv_crosscflags__Wignored_qualifiers" >&6; }
10004 if test "x$ac_cv_crosscflags__Wignored_qualifiers" = xyes; then :
10005 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wignored-qualifiers"
10007 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Winit-self" >&5
10008 $as_echo_n "checking whether the cross-compiler supports -Winit-self... " >&6; }
10009 if ${ac_cv_crosscflags__Winit_self+:} false; then :
10010 $as_echo_n "(cached) " >&6
10011 else
10012 ac_wine_try_cflags_saved=$CFLAGS
10013 ac_wine_try_cflags_saved_cc=$CC
10014 ac_wine_try_cflags_saved_exeext=$ac_exeext
10015 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Winit-self"
10016 CC="$CROSSCC"
10017 ac_exeext=".exe"
10018 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10019 /* end confdefs.h. */
10020 int __cdecl mainCRTStartup(void) { return 0; }
10021 _ACEOF
10022 if ac_fn_c_try_link "$LINENO"; then :
10023 ac_cv_crosscflags__Winit_self=yes
10024 else
10025 ac_cv_crosscflags__Winit_self=no
10027 rm -f core conftest.err conftest.$ac_objext \
10028 conftest$ac_exeext conftest.$ac_ext
10029 CFLAGS=$ac_wine_try_cflags_saved
10030 CC=$ac_wine_try_cflags_saved_cc
10031 ac_exeext=$ac_wine_try_cflags_saved_exeext
10033 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Winit_self" >&5
10034 $as_echo "$ac_cv_crosscflags__Winit_self" >&6; }
10035 if test "x$ac_cv_crosscflags__Winit_self" = xyes; then :
10036 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Winit-self"
10038 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wpacked-not-aligned" >&5
10039 $as_echo_n "checking whether the cross-compiler supports -Wpacked-not-aligned... " >&6; }
10040 if ${ac_cv_crosscflags__Wpacked_not_aligned+:} false; then :
10041 $as_echo_n "(cached) " >&6
10042 else
10043 ac_wine_try_cflags_saved=$CFLAGS
10044 ac_wine_try_cflags_saved_cc=$CC
10045 ac_wine_try_cflags_saved_exeext=$ac_exeext
10046 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wpacked-not-aligned"
10047 CC="$CROSSCC"
10048 ac_exeext=".exe"
10049 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10050 /* end confdefs.h. */
10051 int __cdecl mainCRTStartup(void) { return 0; }
10052 _ACEOF
10053 if ac_fn_c_try_link "$LINENO"; then :
10054 ac_cv_crosscflags__Wpacked_not_aligned=yes
10055 else
10056 ac_cv_crosscflags__Wpacked_not_aligned=no
10058 rm -f core conftest.err conftest.$ac_objext \
10059 conftest$ac_exeext conftest.$ac_ext
10060 CFLAGS=$ac_wine_try_cflags_saved
10061 CC=$ac_wine_try_cflags_saved_cc
10062 ac_exeext=$ac_wine_try_cflags_saved_exeext
10064 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wpacked_not_aligned" >&5
10065 $as_echo "$ac_cv_crosscflags__Wpacked_not_aligned" >&6; }
10066 if test "x$ac_cv_crosscflags__Wpacked_not_aligned" = xyes; then :
10067 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wno-packed-not-aligned"
10069 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wpragma-pack" >&5
10070 $as_echo_n "checking whether the cross-compiler supports -Wpragma-pack... " >&6; }
10071 if ${ac_cv_crosscflags__Wpragma_pack+:} false; then :
10072 $as_echo_n "(cached) " >&6
10073 else
10074 ac_wine_try_cflags_saved=$CFLAGS
10075 ac_wine_try_cflags_saved_cc=$CC
10076 ac_wine_try_cflags_saved_exeext=$ac_exeext
10077 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wpragma-pack"
10078 CC="$CROSSCC"
10079 ac_exeext=".exe"
10080 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10081 /* end confdefs.h. */
10082 int __cdecl mainCRTStartup(void) { return 0; }
10083 _ACEOF
10084 if ac_fn_c_try_link "$LINENO"; then :
10085 ac_cv_crosscflags__Wpragma_pack=yes
10086 else
10087 ac_cv_crosscflags__Wpragma_pack=no
10089 rm -f core conftest.err conftest.$ac_objext \
10090 conftest$ac_exeext conftest.$ac_ext
10091 CFLAGS=$ac_wine_try_cflags_saved
10092 CC=$ac_wine_try_cflags_saved_cc
10093 ac_exeext=$ac_wine_try_cflags_saved_exeext
10095 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wpragma_pack" >&5
10096 $as_echo "$ac_cv_crosscflags__Wpragma_pack" >&6; }
10097 if test "x$ac_cv_crosscflags__Wpragma_pack" = xyes; then :
10098 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wno-pragma-pack"
10100 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wshift-overflow=2" >&5
10101 $as_echo_n "checking whether the cross-compiler supports -Wshift-overflow=2... " >&6; }
10102 if ${ac_cv_crosscflags__Wshift_overflow_2+:} false; then :
10103 $as_echo_n "(cached) " >&6
10104 else
10105 ac_wine_try_cflags_saved=$CFLAGS
10106 ac_wine_try_cflags_saved_cc=$CC
10107 ac_wine_try_cflags_saved_exeext=$ac_exeext
10108 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wshift-overflow=2"
10109 CC="$CROSSCC"
10110 ac_exeext=".exe"
10111 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10112 /* end confdefs.h. */
10113 int __cdecl mainCRTStartup(void) { return 0; }
10114 _ACEOF
10115 if ac_fn_c_try_link "$LINENO"; then :
10116 ac_cv_crosscflags__Wshift_overflow_2=yes
10117 else
10118 ac_cv_crosscflags__Wshift_overflow_2=no
10120 rm -f core conftest.err conftest.$ac_objext \
10121 conftest$ac_exeext conftest.$ac_ext
10122 CFLAGS=$ac_wine_try_cflags_saved
10123 CC=$ac_wine_try_cflags_saved_cc
10124 ac_exeext=$ac_wine_try_cflags_saved_exeext
10126 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wshift_overflow_2" >&5
10127 $as_echo "$ac_cv_crosscflags__Wshift_overflow_2" >&6; }
10128 if test "x$ac_cv_crosscflags__Wshift_overflow_2" = xyes; then :
10129 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wshift-overflow=2"
10131 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wstrict-prototypes" >&5
10132 $as_echo_n "checking whether the cross-compiler supports -Wstrict-prototypes... " >&6; }
10133 if ${ac_cv_crosscflags__Wstrict_prototypes+:} false; then :
10134 $as_echo_n "(cached) " >&6
10135 else
10136 ac_wine_try_cflags_saved=$CFLAGS
10137 ac_wine_try_cflags_saved_cc=$CC
10138 ac_wine_try_cflags_saved_exeext=$ac_exeext
10139 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wstrict-prototypes"
10140 CC="$CROSSCC"
10141 ac_exeext=".exe"
10142 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10143 /* end confdefs.h. */
10144 int __cdecl mainCRTStartup(void) { return 0; }
10145 _ACEOF
10146 if ac_fn_c_try_link "$LINENO"; then :
10147 ac_cv_crosscflags__Wstrict_prototypes=yes
10148 else
10149 ac_cv_crosscflags__Wstrict_prototypes=no
10151 rm -f core conftest.err conftest.$ac_objext \
10152 conftest$ac_exeext conftest.$ac_ext
10153 CFLAGS=$ac_wine_try_cflags_saved
10154 CC=$ac_wine_try_cflags_saved_cc
10155 ac_exeext=$ac_wine_try_cflags_saved_exeext
10157 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wstrict_prototypes" >&5
10158 $as_echo "$ac_cv_crosscflags__Wstrict_prototypes" >&6; }
10159 if test "x$ac_cv_crosscflags__Wstrict_prototypes" = xyes; then :
10160 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wstrict-prototypes"
10162 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wtype-limits" >&5
10163 $as_echo_n "checking whether the cross-compiler supports -Wtype-limits... " >&6; }
10164 if ${ac_cv_crosscflags__Wtype_limits+:} false; then :
10165 $as_echo_n "(cached) " >&6
10166 else
10167 ac_wine_try_cflags_saved=$CFLAGS
10168 ac_wine_try_cflags_saved_cc=$CC
10169 ac_wine_try_cflags_saved_exeext=$ac_exeext
10170 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wtype-limits"
10171 CC="$CROSSCC"
10172 ac_exeext=".exe"
10173 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10174 /* end confdefs.h. */
10175 int __cdecl mainCRTStartup(void) { return 0; }
10176 _ACEOF
10177 if ac_fn_c_try_link "$LINENO"; then :
10178 ac_cv_crosscflags__Wtype_limits=yes
10179 else
10180 ac_cv_crosscflags__Wtype_limits=no
10182 rm -f core conftest.err conftest.$ac_objext \
10183 conftest$ac_exeext conftest.$ac_ext
10184 CFLAGS=$ac_wine_try_cflags_saved
10185 CC=$ac_wine_try_cflags_saved_cc
10186 ac_exeext=$ac_wine_try_cflags_saved_exeext
10188 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wtype_limits" >&5
10189 $as_echo "$ac_cv_crosscflags__Wtype_limits" >&6; }
10190 if test "x$ac_cv_crosscflags__Wtype_limits" = xyes; then :
10191 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wtype-limits"
10193 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wunused-but-set-parameter" >&5
10194 $as_echo_n "checking whether the cross-compiler supports -Wunused-but-set-parameter... " >&6; }
10195 if ${ac_cv_crosscflags__Wunused_but_set_parameter+:} false; then :
10196 $as_echo_n "(cached) " >&6
10197 else
10198 ac_wine_try_cflags_saved=$CFLAGS
10199 ac_wine_try_cflags_saved_cc=$CC
10200 ac_wine_try_cflags_saved_exeext=$ac_exeext
10201 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wunused-but-set-parameter"
10202 CC="$CROSSCC"
10203 ac_exeext=".exe"
10204 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10205 /* end confdefs.h. */
10206 int __cdecl mainCRTStartup(void) { return 0; }
10207 _ACEOF
10208 if ac_fn_c_try_link "$LINENO"; then :
10209 ac_cv_crosscflags__Wunused_but_set_parameter=yes
10210 else
10211 ac_cv_crosscflags__Wunused_but_set_parameter=no
10213 rm -f core conftest.err conftest.$ac_objext \
10214 conftest$ac_exeext conftest.$ac_ext
10215 CFLAGS=$ac_wine_try_cflags_saved
10216 CC=$ac_wine_try_cflags_saved_cc
10217 ac_exeext=$ac_wine_try_cflags_saved_exeext
10219 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wunused_but_set_parameter" >&5
10220 $as_echo "$ac_cv_crosscflags__Wunused_but_set_parameter" >&6; }
10221 if test "x$ac_cv_crosscflags__Wunused_but_set_parameter" = xyes; then :
10222 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wunused-but-set-parameter"
10224 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wvla" >&5
10225 $as_echo_n "checking whether the cross-compiler supports -Wvla... " >&6; }
10226 if ${ac_cv_crosscflags__Wvla+:} false; then :
10227 $as_echo_n "(cached) " >&6
10228 else
10229 ac_wine_try_cflags_saved=$CFLAGS
10230 ac_wine_try_cflags_saved_cc=$CC
10231 ac_wine_try_cflags_saved_exeext=$ac_exeext
10232 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wvla"
10233 CC="$CROSSCC"
10234 ac_exeext=".exe"
10235 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10236 /* end confdefs.h. */
10237 int __cdecl mainCRTStartup(void) { return 0; }
10238 _ACEOF
10239 if ac_fn_c_try_link "$LINENO"; then :
10240 ac_cv_crosscflags__Wvla=yes
10241 else
10242 ac_cv_crosscflags__Wvla=no
10244 rm -f core conftest.err conftest.$ac_objext \
10245 conftest$ac_exeext conftest.$ac_ext
10246 CFLAGS=$ac_wine_try_cflags_saved
10247 CC=$ac_wine_try_cflags_saved_cc
10248 ac_exeext=$ac_wine_try_cflags_saved_exeext
10250 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wvla" >&5
10251 $as_echo "$ac_cv_crosscflags__Wvla" >&6; }
10252 if test "x$ac_cv_crosscflags__Wvla" = xyes; then :
10253 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wvla"
10255 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wwrite-strings" >&5
10256 $as_echo_n "checking whether the cross-compiler supports -Wwrite-strings... " >&6; }
10257 if ${ac_cv_crosscflags__Wwrite_strings+:} false; then :
10258 $as_echo_n "(cached) " >&6
10259 else
10260 ac_wine_try_cflags_saved=$CFLAGS
10261 ac_wine_try_cflags_saved_cc=$CC
10262 ac_wine_try_cflags_saved_exeext=$ac_exeext
10263 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wwrite-strings"
10264 CC="$CROSSCC"
10265 ac_exeext=".exe"
10266 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10267 /* end confdefs.h. */
10268 int __cdecl mainCRTStartup(void) { return 0; }
10269 _ACEOF
10270 if ac_fn_c_try_link "$LINENO"; then :
10271 ac_cv_crosscflags__Wwrite_strings=yes
10272 else
10273 ac_cv_crosscflags__Wwrite_strings=no
10275 rm -f core conftest.err conftest.$ac_objext \
10276 conftest$ac_exeext conftest.$ac_ext
10277 CFLAGS=$ac_wine_try_cflags_saved
10278 CC=$ac_wine_try_cflags_saved_cc
10279 ac_exeext=$ac_wine_try_cflags_saved_exeext
10281 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wwrite_strings" >&5
10282 $as_echo "$ac_cv_crosscflags__Wwrite_strings" >&6; }
10283 if test "x$ac_cv_crosscflags__Wwrite_strings" = xyes; then :
10284 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wwrite-strings"
10286 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wpointer-arith" >&5
10287 $as_echo_n "checking whether the cross-compiler supports -Wpointer-arith... " >&6; }
10288 if ${ac_cv_crosscflags__Wpointer_arith+:} false; then :
10289 $as_echo_n "(cached) " >&6
10290 else
10291 ac_wine_try_cflags_saved=$CFLAGS
10292 ac_wine_try_cflags_saved_cc=$CC
10293 ac_wine_try_cflags_saved_exeext=$ac_exeext
10294 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wpointer-arith"
10295 CC="$CROSSCC"
10296 ac_exeext=".exe"
10297 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10298 /* end confdefs.h. */
10299 int __cdecl mainCRTStartup(void) { return 0; }
10300 _ACEOF
10301 if ac_fn_c_try_link "$LINENO"; then :
10302 ac_cv_crosscflags__Wpointer_arith=yes
10303 else
10304 ac_cv_crosscflags__Wpointer_arith=no
10306 rm -f core conftest.err conftest.$ac_objext \
10307 conftest$ac_exeext conftest.$ac_ext
10308 CFLAGS=$ac_wine_try_cflags_saved
10309 CC=$ac_wine_try_cflags_saved_cc
10310 ac_exeext=$ac_wine_try_cflags_saved_exeext
10312 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wpointer_arith" >&5
10313 $as_echo "$ac_cv_crosscflags__Wpointer_arith" >&6; }
10314 if test "x$ac_cv_crosscflags__Wpointer_arith" = xyes; then :
10315 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wpointer-arith"
10317 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wlogical-op" >&5
10318 $as_echo_n "checking whether the cross-compiler supports -Wlogical-op... " >&6; }
10319 if ${ac_cv_crosscflags__Wlogical_op+:} false; then :
10320 $as_echo_n "(cached) " >&6
10321 else
10322 ac_wine_try_cflags_saved=$CFLAGS
10323 ac_wine_try_cflags_saved_cc=$CC
10324 ac_wine_try_cflags_saved_exeext=$ac_exeext
10325 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wlogical-op"
10326 CC="$CROSSCC"
10327 ac_exeext=".exe"
10328 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10329 /* end confdefs.h. */
10330 int __cdecl mainCRTStartup(void) { return 0; }
10331 _ACEOF
10332 if ac_fn_c_try_link "$LINENO"; then :
10333 ac_cv_crosscflags__Wlogical_op=yes
10334 else
10335 ac_cv_crosscflags__Wlogical_op=no
10337 rm -f core conftest.err conftest.$ac_objext \
10338 conftest$ac_exeext conftest.$ac_ext
10339 CFLAGS=$ac_wine_try_cflags_saved
10340 CC=$ac_wine_try_cflags_saved_cc
10341 ac_exeext=$ac_wine_try_cflags_saved_exeext
10343 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wlogical_op" >&5
10344 $as_echo "$ac_cv_crosscflags__Wlogical_op" >&6; }
10345 if test "x$ac_cv_crosscflags__Wlogical_op" = xyes; then :
10346 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wlogical-op"
10348 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wabsolute-value" >&5
10349 $as_echo_n "checking whether the cross-compiler supports -Wabsolute-value... " >&6; }
10350 if ${ac_cv_crosscflags__Wabsolute_value+:} false; then :
10351 $as_echo_n "(cached) " >&6
10352 else
10353 ac_wine_try_cflags_saved=$CFLAGS
10354 ac_wine_try_cflags_saved_cc=$CC
10355 ac_wine_try_cflags_saved_exeext=$ac_exeext
10356 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wabsolute-value"
10357 CC="$CROSSCC"
10358 ac_exeext=".exe"
10359 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10360 /* end confdefs.h. */
10361 int __cdecl mainCRTStartup(void) { return 0; }
10362 _ACEOF
10363 if ac_fn_c_try_link "$LINENO"; then :
10364 ac_cv_crosscflags__Wabsolute_value=yes
10365 else
10366 ac_cv_crosscflags__Wabsolute_value=no
10368 rm -f core conftest.err conftest.$ac_objext \
10369 conftest$ac_exeext conftest.$ac_ext
10370 CFLAGS=$ac_wine_try_cflags_saved
10371 CC=$ac_wine_try_cflags_saved_cc
10372 ac_exeext=$ac_wine_try_cflags_saved_exeext
10374 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wabsolute_value" >&5
10375 $as_echo "$ac_cv_crosscflags__Wabsolute_value" >&6; }
10376 if test "x$ac_cv_crosscflags__Wabsolute_value" = xyes; then :
10377 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wabsolute-value"
10380 case $host_cpu in
10381 *i[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -fno-omit-frame-pointer" >&5
10382 $as_echo_n "checking whether the cross-compiler supports -fno-omit-frame-pointer... " >&6; }
10383 if ${ac_cv_crosscflags__fno_omit_frame_pointer+:} false; then :
10384 $as_echo_n "(cached) " >&6
10385 else
10386 ac_wine_try_cflags_saved=$CFLAGS
10387 ac_wine_try_cflags_saved_cc=$CC
10388 ac_wine_try_cflags_saved_exeext=$ac_exeext
10389 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -fno-omit-frame-pointer"
10390 CC="$CROSSCC"
10391 ac_exeext=".exe"
10392 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10393 /* end confdefs.h. */
10394 int __cdecl mainCRTStartup(void) { return 0; }
10395 _ACEOF
10396 if ac_fn_c_try_link "$LINENO"; then :
10397 ac_cv_crosscflags__fno_omit_frame_pointer=yes
10398 else
10399 ac_cv_crosscflags__fno_omit_frame_pointer=no
10401 rm -f core conftest.err conftest.$ac_objext \
10402 conftest$ac_exeext conftest.$ac_ext
10403 CFLAGS=$ac_wine_try_cflags_saved
10404 CC=$ac_wine_try_cflags_saved_cc
10405 ac_exeext=$ac_wine_try_cflags_saved_exeext
10407 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__fno_omit_frame_pointer" >&5
10408 $as_echo "$ac_cv_crosscflags__fno_omit_frame_pointer" >&6; }
10409 if test "x$ac_cv_crosscflags__fno_omit_frame_pointer" = xyes; then :
10410 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -fno-omit-frame-pointer"
10411 fi ;;
10412 x86_64) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wno-format" >&5
10413 $as_echo_n "checking whether the cross-compiler supports -Wno-format... " >&6; }
10414 if ${ac_cv_crosscflags__Wno_format+:} false; then :
10415 $as_echo_n "(cached) " >&6
10416 else
10417 ac_wine_try_cflags_saved=$CFLAGS
10418 ac_wine_try_cflags_saved_cc=$CC
10419 ac_wine_try_cflags_saved_exeext=$ac_exeext
10420 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wno-format"
10421 CC="$CROSSCC"
10422 ac_exeext=".exe"
10423 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10424 /* end confdefs.h. */
10425 int __cdecl mainCRTStartup(void) { return 0; }
10426 _ACEOF
10427 if ac_fn_c_try_link "$LINENO"; then :
10428 ac_cv_crosscflags__Wno_format=yes
10429 else
10430 ac_cv_crosscflags__Wno_format=no
10432 rm -f core conftest.err conftest.$ac_objext \
10433 conftest$ac_exeext conftest.$ac_ext
10434 CFLAGS=$ac_wine_try_cflags_saved
10435 CC=$ac_wine_try_cflags_saved_cc
10436 ac_exeext=$ac_wine_try_cflags_saved_exeext
10438 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wno_format" >&5
10439 $as_echo "$ac_cv_crosscflags__Wno_format" >&6; }
10440 if test "x$ac_cv_crosscflags__Wno_format" = xyes; then :
10441 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wno-format"
10443 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wformat-overflow" >&5
10444 $as_echo_n "checking whether the cross-compiler supports -Wformat-overflow... " >&6; }
10445 if ${ac_cv_crosscflags__Wformat_overflow+:} false; then :
10446 $as_echo_n "(cached) " >&6
10447 else
10448 ac_wine_try_cflags_saved=$CFLAGS
10449 ac_wine_try_cflags_saved_cc=$CC
10450 ac_wine_try_cflags_saved_exeext=$ac_exeext
10451 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wformat-overflow"
10452 CC="$CROSSCC"
10453 ac_exeext=".exe"
10454 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10455 /* end confdefs.h. */
10456 int __cdecl mainCRTStartup(void) { return 0; }
10457 _ACEOF
10458 if ac_fn_c_try_link "$LINENO"; then :
10459 ac_cv_crosscflags__Wformat_overflow=yes
10460 else
10461 ac_cv_crosscflags__Wformat_overflow=no
10463 rm -f core conftest.err conftest.$ac_objext \
10464 conftest$ac_exeext conftest.$ac_ext
10465 CFLAGS=$ac_wine_try_cflags_saved
10466 CC=$ac_wine_try_cflags_saved_cc
10467 ac_exeext=$ac_wine_try_cflags_saved_exeext
10469 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wformat_overflow" >&5
10470 $as_echo "$ac_cv_crosscflags__Wformat_overflow" >&6; }
10471 if test "x$ac_cv_crosscflags__Wformat_overflow" = xyes; then :
10472 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wformat-overflow"
10474 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wnonnull" >&5
10475 $as_echo_n "checking whether the cross-compiler supports -Wnonnull... " >&6; }
10476 if ${ac_cv_crosscflags__Wnonnull+:} false; then :
10477 $as_echo_n "(cached) " >&6
10478 else
10479 ac_wine_try_cflags_saved=$CFLAGS
10480 ac_wine_try_cflags_saved_cc=$CC
10481 ac_wine_try_cflags_saved_exeext=$ac_exeext
10482 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wnonnull"
10483 CC="$CROSSCC"
10484 ac_exeext=".exe"
10485 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10486 /* end confdefs.h. */
10487 int __cdecl mainCRTStartup(void) { return 0; }
10488 _ACEOF
10489 if ac_fn_c_try_link "$LINENO"; then :
10490 ac_cv_crosscflags__Wnonnull=yes
10491 else
10492 ac_cv_crosscflags__Wnonnull=no
10494 rm -f core conftest.err conftest.$ac_objext \
10495 conftest$ac_exeext conftest.$ac_ext
10496 CFLAGS=$ac_wine_try_cflags_saved
10497 CC=$ac_wine_try_cflags_saved_cc
10498 ac_exeext=$ac_wine_try_cflags_saved_exeext
10500 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wnonnull" >&5
10501 $as_echo "$ac_cv_crosscflags__Wnonnull" >&6; }
10502 if test "x$ac_cv_crosscflags__Wnonnull" = xyes; then :
10503 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wnonnull"
10505 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -mcx16" >&5
10506 $as_echo_n "checking whether the cross-compiler supports -mcx16... " >&6; }
10507 if ${ac_cv_crosscflags__mcx16+:} false; then :
10508 $as_echo_n "(cached) " >&6
10509 else
10510 ac_wine_try_cflags_saved=$CFLAGS
10511 ac_wine_try_cflags_saved_cc=$CC
10512 ac_wine_try_cflags_saved_exeext=$ac_exeext
10513 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -mcx16"
10514 CC="$CROSSCC"
10515 ac_exeext=".exe"
10516 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10517 /* end confdefs.h. */
10518 int __cdecl mainCRTStartup(void) { return 0; }
10519 _ACEOF
10520 if ac_fn_c_try_link "$LINENO"; then :
10521 ac_cv_crosscflags__mcx16=yes
10522 else
10523 ac_cv_crosscflags__mcx16=no
10525 rm -f core conftest.err conftest.$ac_objext \
10526 conftest$ac_exeext conftest.$ac_ext
10527 CFLAGS=$ac_wine_try_cflags_saved
10528 CC=$ac_wine_try_cflags_saved_cc
10529 ac_exeext=$ac_wine_try_cflags_saved_exeext
10531 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__mcx16" >&5
10532 $as_echo "$ac_cv_crosscflags__mcx16" >&6; }
10533 if test "x$ac_cv_crosscflags__mcx16" = xyes; then :
10534 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -mcx16"
10535 fi ;;
10536 aarch64) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wno-format" >&5
10537 $as_echo_n "checking whether the cross-compiler supports -Wno-format... " >&6; }
10538 if ${ac_cv_crosscflags__Wno_format+:} false; then :
10539 $as_echo_n "(cached) " >&6
10540 else
10541 ac_wine_try_cflags_saved=$CFLAGS
10542 ac_wine_try_cflags_saved_cc=$CC
10543 ac_wine_try_cflags_saved_exeext=$ac_exeext
10544 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wno-format"
10545 CC="$CROSSCC"
10546 ac_exeext=".exe"
10547 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10548 /* end confdefs.h. */
10549 int __cdecl mainCRTStartup(void) { return 0; }
10550 _ACEOF
10551 if ac_fn_c_try_link "$LINENO"; then :
10552 ac_cv_crosscflags__Wno_format=yes
10553 else
10554 ac_cv_crosscflags__Wno_format=no
10556 rm -f core conftest.err conftest.$ac_objext \
10557 conftest$ac_exeext conftest.$ac_ext
10558 CFLAGS=$ac_wine_try_cflags_saved
10559 CC=$ac_wine_try_cflags_saved_cc
10560 ac_exeext=$ac_wine_try_cflags_saved_exeext
10562 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wno_format" >&5
10563 $as_echo "$ac_cv_crosscflags__Wno_format" >&6; }
10564 if test "x$ac_cv_crosscflags__Wno_format" = xyes; then :
10565 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wno-format"
10566 fi ;;
10567 esac
10570 if test -z "$CROSSDEBUG"
10571 then
10572 for ac_flag in $CROSSCFLAGS; do
10573 case $ac_flag in
10574 -gdwarf*) CROSSDEBUG=dwarf ;;
10575 -gcodeview) CROSSDEBUG=pdb ;;
10576 -g) CROSSDEBUG=${CROSSDEBUG:-dwarf} ;;
10577 esac
10578 done
10580 case $CROSSDEBUG in
10581 *dwarf) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -gdwarf-2" >&5
10582 $as_echo_n "checking whether the cross-compiler supports -gdwarf-2... " >&6; }
10583 if ${ac_cv_crosscflags__gdwarf_2+:} false; then :
10584 $as_echo_n "(cached) " >&6
10585 else
10586 ac_wine_try_cflags_saved=$CFLAGS
10587 ac_wine_try_cflags_saved_cc=$CC
10588 ac_wine_try_cflags_saved_exeext=$ac_exeext
10589 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -gdwarf-2"
10590 CC="$CROSSCC"
10591 ac_exeext=".exe"
10592 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10593 /* end confdefs.h. */
10594 int __cdecl mainCRTStartup(void) { return 0; }
10595 _ACEOF
10596 if ac_fn_c_try_link "$LINENO"; then :
10597 ac_cv_crosscflags__gdwarf_2=yes
10598 else
10599 ac_cv_crosscflags__gdwarf_2=no
10601 rm -f core conftest.err conftest.$ac_objext \
10602 conftest$ac_exeext conftest.$ac_ext
10603 CFLAGS=$ac_wine_try_cflags_saved
10604 CC=$ac_wine_try_cflags_saved_cc
10605 ac_exeext=$ac_wine_try_cflags_saved_exeext
10607 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__gdwarf_2" >&5
10608 $as_echo "$ac_cv_crosscflags__gdwarf_2" >&6; }
10609 if test "x$ac_cv_crosscflags__gdwarf_2" = xyes; then :
10610 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -gdwarf-2"
10612 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -gstrict-dwarf" >&5
10613 $as_echo_n "checking whether the cross-compiler supports -gstrict-dwarf... " >&6; }
10614 if ${ac_cv_crosscflags__gstrict_dwarf+:} false; then :
10615 $as_echo_n "(cached) " >&6
10616 else
10617 ac_wine_try_cflags_saved=$CFLAGS
10618 ac_wine_try_cflags_saved_cc=$CC
10619 ac_wine_try_cflags_saved_exeext=$ac_exeext
10620 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -gstrict-dwarf"
10621 CC="$CROSSCC"
10622 ac_exeext=".exe"
10623 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10624 /* end confdefs.h. */
10625 int __cdecl mainCRTStartup(void) { return 0; }
10626 _ACEOF
10627 if ac_fn_c_try_link "$LINENO"; then :
10628 ac_cv_crosscflags__gstrict_dwarf=yes
10629 else
10630 ac_cv_crosscflags__gstrict_dwarf=no
10632 rm -f core conftest.err conftest.$ac_objext \
10633 conftest$ac_exeext conftest.$ac_ext
10634 CFLAGS=$ac_wine_try_cflags_saved
10635 CC=$ac_wine_try_cflags_saved_cc
10636 ac_exeext=$ac_wine_try_cflags_saved_exeext
10638 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__gstrict_dwarf" >&5
10639 $as_echo "$ac_cv_crosscflags__gstrict_dwarf" >&6; }
10640 if test "x$ac_cv_crosscflags__gstrict_dwarf" = xyes; then :
10641 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -gstrict-dwarf"
10642 fi ;;
10643 pdb) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -gcodeview" >&5
10644 $as_echo_n "checking whether the cross-compiler supports -gcodeview... " >&6; }
10645 if ${ac_cv_crosscflags__gcodeview+:} false; then :
10646 $as_echo_n "(cached) " >&6
10647 else
10648 ac_wine_try_cflags_saved=$CFLAGS
10649 ac_wine_try_cflags_saved_cc=$CC
10650 ac_wine_try_cflags_saved_exeext=$ac_exeext
10651 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -gcodeview"
10652 CC="$CROSSCC"
10653 ac_exeext=".exe"
10654 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10655 /* end confdefs.h. */
10656 int __cdecl mainCRTStartup(void) { return 0; }
10657 _ACEOF
10658 if ac_fn_c_try_link "$LINENO"; then :
10659 ac_cv_crosscflags__gcodeview=yes
10660 else
10661 ac_cv_crosscflags__gcodeview=no
10663 rm -f core conftest.err conftest.$ac_objext \
10664 conftest$ac_exeext conftest.$ac_ext
10665 CFLAGS=$ac_wine_try_cflags_saved
10666 CC=$ac_wine_try_cflags_saved_cc
10667 ac_exeext=$ac_wine_try_cflags_saved_exeext
10669 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__gcodeview" >&5
10670 $as_echo "$ac_cv_crosscflags__gcodeview" >&6; }
10671 if test "x$ac_cv_crosscflags__gcodeview" = xyes; then :
10672 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -gcodeview"
10673 fi ;;
10674 esac
10676 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -fexcess-precision=standard" >&5
10677 $as_echo_n "checking whether the cross-compiler supports -fexcess-precision=standard... " >&6; }
10678 if ${ac_cv_crosscflags__fexcess_precision_standard+:} false; then :
10679 $as_echo_n "(cached) " >&6
10680 else
10681 ac_wine_try_cflags_saved=$CFLAGS
10682 ac_wine_try_cflags_saved_cc=$CC
10683 ac_wine_try_cflags_saved_exeext=$ac_exeext
10684 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -fexcess-precision=standard"
10685 CC="$CROSSCC"
10686 ac_exeext=".exe"
10687 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10688 /* end confdefs.h. */
10689 int __cdecl mainCRTStartup(void) { return 0; }
10690 _ACEOF
10691 if ac_fn_c_try_link "$LINENO"; then :
10692 ac_cv_crosscflags__fexcess_precision_standard=yes
10693 else
10694 ac_cv_crosscflags__fexcess_precision_standard=no
10696 rm -f core conftest.err conftest.$ac_objext \
10697 conftest$ac_exeext conftest.$ac_ext
10698 CFLAGS=$ac_wine_try_cflags_saved
10699 CC=$ac_wine_try_cflags_saved_cc
10700 ac_exeext=$ac_wine_try_cflags_saved_exeext
10702 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__fexcess_precision_standard" >&5
10703 $as_echo "$ac_cv_crosscflags__fexcess_precision_standard" >&6; }
10704 if test "x$ac_cv_crosscflags__fexcess_precision_standard" = xyes; then :
10705 EXCESS_PRECISION_CFLAGS="-fexcess-precision=standard"
10709 if test "x$enable_werror" = "xyes"
10710 then
10711 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Werror" >&5
10712 $as_echo_n "checking whether the cross-compiler supports -Werror... " >&6; }
10713 if ${ac_cv_crosscflags__Werror+:} false; then :
10714 $as_echo_n "(cached) " >&6
10715 else
10716 ac_wine_try_cflags_saved=$CFLAGS
10717 ac_wine_try_cflags_saved_cc=$CC
10718 ac_wine_try_cflags_saved_exeext=$ac_exeext
10719 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Werror"
10720 CC="$CROSSCC"
10721 ac_exeext=".exe"
10722 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10723 /* end confdefs.h. */
10724 int __cdecl mainCRTStartup(void) { return 0; }
10725 _ACEOF
10726 if ac_fn_c_try_link "$LINENO"; then :
10727 ac_cv_crosscflags__Werror=yes
10728 else
10729 ac_cv_crosscflags__Werror=no
10731 rm -f core conftest.err conftest.$ac_objext \
10732 conftest$ac_exeext conftest.$ac_ext
10733 CFLAGS=$ac_wine_try_cflags_saved
10734 CC=$ac_wine_try_cflags_saved_cc
10735 ac_exeext=$ac_wine_try_cflags_saved_exeext
10737 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Werror" >&5
10738 $as_echo "$ac_cv_crosscflags__Werror" >&6; }
10739 if test "x$ac_cv_crosscflags__Werror" = xyes; then :
10740 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Werror"
10743 if test "x$enable_build_id" = "xyes"
10744 then
10745 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wl,--build-id" >&5
10746 $as_echo_n "checking whether the cross-compiler supports -Wl,--build-id... " >&6; }
10747 if ${ac_cv_crosscflags__Wl___build_id+:} false; then :
10748 $as_echo_n "(cached) " >&6
10749 else
10750 ac_wine_try_cflags_saved=$CFLAGS
10751 ac_wine_try_cflags_saved_cc=$CC
10752 ac_wine_try_cflags_saved_exeext=$ac_exeext
10753 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wl,--build-id"
10754 CC="$CROSSCC"
10755 ac_exeext=".exe"
10756 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10757 /* end confdefs.h. */
10758 int __cdecl mainCRTStartup(void) { return 0; }
10759 _ACEOF
10760 if ac_fn_c_try_link "$LINENO"; then :
10761 ac_cv_crosscflags__Wl___build_id=yes
10762 else
10763 ac_cv_crosscflags__Wl___build_id=no
10765 rm -f core conftest.err conftest.$ac_objext \
10766 conftest$ac_exeext conftest.$ac_ext
10767 CFLAGS=$ac_wine_try_cflags_saved
10768 CC=$ac_wine_try_cflags_saved_cc
10769 ac_exeext=$ac_wine_try_cflags_saved_exeext
10771 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wl___build_id" >&5
10772 $as_echo "$ac_cv_crosscflags__Wl___build_id" >&6; }
10773 if test "x$ac_cv_crosscflags__Wl___build_id" = xyes; then :
10774 CROSSCFLAGS="$CROSSCFLAGS -Wl,--build-id"
10775 CROSSLDFLAGS="$CROSSLDFLAGS -Wl,--build-id"
10779 CFLAGS=$saved_CFLAGS
10780 CC="$ac_save_CC"
10783 if test "x$CROSSTARGET" = "x"; then :
10784 case "x$with_mingw" in
10785 x) as_fn_append wine_notices "|MinGW compiler not found, cross-compiling PE files won't be supported." ;;
10786 xno) ;;
10787 *) as_fn_error $? "MinGW compiler not found, cross-compiling PE files won't be supported.
10788 This is an error since --with-mingw was requested." "$LINENO" 5 ;;
10789 esac
10794 if test "$ac_cv_header_pthread_h" = "yes"
10795 then
10796 ac_fn_c_check_func "$LINENO" "pthread_create" "ac_cv_func_pthread_create"
10797 if test "x$ac_cv_func_pthread_create" = xyes; then :
10799 else
10800 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_create in -lpthread" >&5
10801 $as_echo_n "checking for pthread_create in -lpthread... " >&6; }
10802 if ${ac_cv_lib_pthread_pthread_create+:} false; then :
10803 $as_echo_n "(cached) " >&6
10804 else
10805 ac_check_lib_save_LIBS=$LIBS
10806 LIBS="-lpthread $LIBS"
10807 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10808 /* end confdefs.h. */
10810 /* Override any GCC internal prototype to avoid an error.
10811 Use char because int might match the return type of a GCC
10812 builtin and then its argument prototype would still apply. */
10813 #ifdef __cplusplus
10814 extern "C"
10815 #endif
10816 char pthread_create ();
10818 main ()
10820 return pthread_create ();
10822 return 0;
10824 _ACEOF
10825 if ac_fn_c_try_link "$LINENO"; then :
10826 ac_cv_lib_pthread_pthread_create=yes
10827 else
10828 ac_cv_lib_pthread_pthread_create=no
10830 rm -f core conftest.err conftest.$ac_objext \
10831 conftest$ac_exeext conftest.$ac_ext
10832 LIBS=$ac_check_lib_save_LIBS
10834 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_create" >&5
10835 $as_echo "$ac_cv_lib_pthread_pthread_create" >&6; }
10836 if test "x$ac_cv_lib_pthread_pthread_create" = xyes; then :
10837 PTHREAD_LIBS="-lpthread"
10844 if test "x$ac_cv_func_pthread_create" != xyes -a "x$PTHREAD_LIBS" = x; then :
10845 case "x$with_pthread" in
10846 xno) ;;
10847 *) as_fn_error $? "pthread ${notice_platform}development files not found.
10848 Wine cannot support threads without libpthread.
10849 Use the --without-pthread option if you really want this." "$LINENO" 5 ;;
10850 esac
10855 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for X" >&5
10856 $as_echo_n "checking for X... " >&6; }
10859 # Check whether --with-x was given.
10860 if test "${with_x+set}" = set; then :
10861 withval=$with_x;
10864 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
10865 if test "x$with_x" = xno; then
10866 # The user explicitly disabled X.
10867 have_x=disabled
10868 else
10869 case $x_includes,$x_libraries in #(
10870 *\'*) as_fn_error $? "cannot use X directory names containing '" "$LINENO" 5;; #(
10871 *,NONE | NONE,*) if ${ac_cv_have_x+:} false; then :
10872 $as_echo_n "(cached) " >&6
10873 else
10874 # One or both of the vars are not set, and there is no cached value.
10875 ac_x_includes=no ac_x_libraries=no
10876 rm -f -r conftest.dir
10877 if mkdir conftest.dir; then
10878 cd conftest.dir
10879 cat >Imakefile <<'_ACEOF'
10880 incroot:
10881 @echo incroot='${INCROOT}'
10882 usrlibdir:
10883 @echo usrlibdir='${USRLIBDIR}'
10884 libdir:
10885 @echo libdir='${LIBDIR}'
10886 _ACEOF
10887 if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
10888 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
10889 for ac_var in incroot usrlibdir libdir; do
10890 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
10891 done
10892 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
10893 for ac_extension in a so sl dylib la dll; do
10894 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
10895 test -f "$ac_im_libdir/libX11.$ac_extension"; then
10896 ac_im_usrlibdir=$ac_im_libdir; break
10898 done
10899 # Screen out bogus values from the imake configuration. They are
10900 # bogus both because they are the default anyway, and because
10901 # using them would break gcc on systems where it needs fixed includes.
10902 case $ac_im_incroot in
10903 /usr/include) ac_x_includes= ;;
10904 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
10905 esac
10906 case $ac_im_usrlibdir in
10907 /usr/lib | /usr/lib64 | /lib | /lib64) ;;
10908 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
10909 esac
10911 cd ..
10912 rm -f -r conftest.dir
10915 # Standard set of common directories for X headers.
10916 # Check X11 before X11Rn because it is often a symlink to the current release.
10917 ac_x_header_dirs='
10918 /usr/X11/include
10919 /usr/X11R7/include
10920 /usr/X11R6/include
10921 /usr/X11R5/include
10922 /usr/X11R4/include
10924 /usr/include/X11
10925 /usr/include/X11R7
10926 /usr/include/X11R6
10927 /usr/include/X11R5
10928 /usr/include/X11R4
10930 /usr/local/X11/include
10931 /usr/local/X11R7/include
10932 /usr/local/X11R6/include
10933 /usr/local/X11R5/include
10934 /usr/local/X11R4/include
10936 /usr/local/include/X11
10937 /usr/local/include/X11R7
10938 /usr/local/include/X11R6
10939 /usr/local/include/X11R5
10940 /usr/local/include/X11R4
10942 /usr/X386/include
10943 /usr/x386/include
10944 /usr/XFree86/include/X11
10946 /usr/include
10947 /usr/local/include
10948 /usr/unsupported/include
10949 /usr/athena/include
10950 /usr/local/x11r5/include
10951 /usr/lpp/Xamples/include
10953 /usr/openwin/include
10954 /usr/openwin/share/include'
10956 if test "$ac_x_includes" = no; then
10957 # Guess where to find include files, by looking for Xlib.h.
10958 # First, try using that file with no special directory specified.
10959 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10960 /* end confdefs.h. */
10961 #include <X11/Xlib.h>
10962 _ACEOF
10963 if ac_fn_c_try_cpp "$LINENO"; then :
10964 # We can compile using X headers with no special include directory.
10965 ac_x_includes=
10966 else
10967 for ac_dir in $ac_x_header_dirs; do
10968 if test -r "$ac_dir/X11/Xlib.h"; then
10969 ac_x_includes=$ac_dir
10970 break
10972 done
10974 rm -f conftest.err conftest.i conftest.$ac_ext
10975 fi # $ac_x_includes = no
10977 if test "$ac_x_libraries" = no; then
10978 # Check for the libraries.
10979 # See if we find them without any special options.
10980 # Don't add to $LIBS permanently.
10981 ac_save_LIBS=$LIBS
10982 LIBS="-lX11 $LIBS"
10983 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10984 /* end confdefs.h. */
10985 #include <X11/Xlib.h>
10987 main ()
10989 XrmInitialize ()
10991 return 0;
10993 _ACEOF
10994 if ac_fn_c_try_link "$LINENO"; then :
10995 LIBS=$ac_save_LIBS
10996 # We can link X programs with no special library path.
10997 ac_x_libraries=
10998 else
10999 LIBS=$ac_save_LIBS
11000 for ac_dir in `$as_echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
11002 # Don't even attempt the hair of trying to link an X program!
11003 for ac_extension in a so sl dylib la dll; do
11004 if test -r "$ac_dir/libX11.$ac_extension"; then
11005 ac_x_libraries=$ac_dir
11006 break 2
11008 done
11009 done
11011 rm -f core conftest.err conftest.$ac_objext \
11012 conftest$ac_exeext conftest.$ac_ext
11013 fi # $ac_x_libraries = no
11015 case $ac_x_includes,$ac_x_libraries in #(
11016 no,* | *,no | *\'*)
11017 # Didn't find X, or a directory has "'" in its name.
11018 ac_cv_have_x="have_x=no";; #(
11020 # Record where we found X for the cache.
11021 ac_cv_have_x="have_x=yes\
11022 ac_x_includes='$ac_x_includes'\
11023 ac_x_libraries='$ac_x_libraries'"
11024 esac
11026 ;; #(
11027 *) have_x=yes;;
11028 esac
11029 eval "$ac_cv_have_x"
11030 fi # $with_x != no
11032 if test "$have_x" != yes; then
11033 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_x" >&5
11034 $as_echo "$have_x" >&6; }
11035 no_x=yes
11036 else
11037 # If each of the values was on the command line, it overrides each guess.
11038 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
11039 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
11040 # Update the cache value to reflect the command line values.
11041 ac_cv_have_x="have_x=yes\
11042 ac_x_includes='$x_includes'\
11043 ac_x_libraries='$x_libraries'"
11044 { $as_echo "$as_me:${as_lineno-$LINENO}: result: libraries $x_libraries, headers $x_includes" >&5
11045 $as_echo "libraries $x_libraries, headers $x_includes" >&6; }
11048 if test "$no_x" = yes; then
11049 # Not all programs may use this symbol, but it does not hurt to define it.
11051 $as_echo "#define X_DISPLAY_MISSING 1" >>confdefs.h
11053 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
11054 else
11055 if test -n "$x_includes"; then
11056 X_CFLAGS="$X_CFLAGS -I$x_includes"
11059 # It would also be nice to do this for all -L options, not just this one.
11060 if test -n "$x_libraries"; then
11061 X_LIBS="$X_LIBS -L$x_libraries"
11062 # For Solaris; some versions of Sun CC require a space after -R and
11063 # others require no space. Words are not sufficient . . . .
11064 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -R must be followed by a space" >&5
11065 $as_echo_n "checking whether -R must be followed by a space... " >&6; }
11066 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
11067 ac_xsave_c_werror_flag=$ac_c_werror_flag
11068 ac_c_werror_flag=yes
11069 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11070 /* end confdefs.h. */
11073 main ()
11077 return 0;
11079 _ACEOF
11080 if ac_fn_c_try_link "$LINENO"; then :
11081 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11082 $as_echo "no" >&6; }
11083 X_LIBS="$X_LIBS -R$x_libraries"
11084 else
11085 LIBS="$ac_xsave_LIBS -R $x_libraries"
11086 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11087 /* end confdefs.h. */
11090 main ()
11094 return 0;
11096 _ACEOF
11097 if ac_fn_c_try_link "$LINENO"; then :
11098 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11099 $as_echo "yes" >&6; }
11100 X_LIBS="$X_LIBS -R $x_libraries"
11101 else
11102 { $as_echo "$as_me:${as_lineno-$LINENO}: result: neither works" >&5
11103 $as_echo "neither works" >&6; }
11105 rm -f core conftest.err conftest.$ac_objext \
11106 conftest$ac_exeext conftest.$ac_ext
11108 rm -f core conftest.err conftest.$ac_objext \
11109 conftest$ac_exeext conftest.$ac_ext
11110 ac_c_werror_flag=$ac_xsave_c_werror_flag
11111 LIBS=$ac_xsave_LIBS
11114 # Check for system-dependent libraries X programs must link with.
11115 # Do this before checking for the system-independent R6 libraries
11116 # (-lICE), since we may need -lsocket or whatever for X linking.
11118 if test "$ISC" = yes; then
11119 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
11120 else
11121 # Martyn Johnson says this is needed for Ultrix, if the X
11122 # libraries were built with DECnet support. And Karl Berry says
11123 # the Alpha needs dnet_stub (dnet does not exist).
11124 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
11125 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11126 /* end confdefs.h. */
11128 /* Override any GCC internal prototype to avoid an error.
11129 Use char because int might match the return type of a GCC
11130 builtin and then its argument prototype would still apply. */
11131 #ifdef __cplusplus
11132 extern "C"
11133 #endif
11134 char XOpenDisplay ();
11136 main ()
11138 return XOpenDisplay ();
11140 return 0;
11142 _ACEOF
11143 if ac_fn_c_try_link "$LINENO"; then :
11145 else
11146 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet" >&5
11147 $as_echo_n "checking for dnet_ntoa in -ldnet... " >&6; }
11148 if ${ac_cv_lib_dnet_dnet_ntoa+:} false; then :
11149 $as_echo_n "(cached) " >&6
11150 else
11151 ac_check_lib_save_LIBS=$LIBS
11152 LIBS="-ldnet $LIBS"
11153 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11154 /* end confdefs.h. */
11156 /* Override any GCC internal prototype to avoid an error.
11157 Use char because int might match the return type of a GCC
11158 builtin and then its argument prototype would still apply. */
11159 #ifdef __cplusplus
11160 extern "C"
11161 #endif
11162 char dnet_ntoa ();
11164 main ()
11166 return dnet_ntoa ();
11168 return 0;
11170 _ACEOF
11171 if ac_fn_c_try_link "$LINENO"; then :
11172 ac_cv_lib_dnet_dnet_ntoa=yes
11173 else
11174 ac_cv_lib_dnet_dnet_ntoa=no
11176 rm -f core conftest.err conftest.$ac_objext \
11177 conftest$ac_exeext conftest.$ac_ext
11178 LIBS=$ac_check_lib_save_LIBS
11180 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
11181 $as_echo "$ac_cv_lib_dnet_dnet_ntoa" >&6; }
11182 if test "x$ac_cv_lib_dnet_dnet_ntoa" = xyes; then :
11183 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
11186 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
11187 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet_stub" >&5
11188 $as_echo_n "checking for dnet_ntoa in -ldnet_stub... " >&6; }
11189 if ${ac_cv_lib_dnet_stub_dnet_ntoa+:} false; then :
11190 $as_echo_n "(cached) " >&6
11191 else
11192 ac_check_lib_save_LIBS=$LIBS
11193 LIBS="-ldnet_stub $LIBS"
11194 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11195 /* end confdefs.h. */
11197 /* Override any GCC internal prototype to avoid an error.
11198 Use char because int might match the return type of a GCC
11199 builtin and then its argument prototype would still apply. */
11200 #ifdef __cplusplus
11201 extern "C"
11202 #endif
11203 char dnet_ntoa ();
11205 main ()
11207 return dnet_ntoa ();
11209 return 0;
11211 _ACEOF
11212 if ac_fn_c_try_link "$LINENO"; then :
11213 ac_cv_lib_dnet_stub_dnet_ntoa=yes
11214 else
11215 ac_cv_lib_dnet_stub_dnet_ntoa=no
11217 rm -f core conftest.err conftest.$ac_objext \
11218 conftest$ac_exeext conftest.$ac_ext
11219 LIBS=$ac_check_lib_save_LIBS
11221 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
11222 $as_echo "$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
11223 if test "x$ac_cv_lib_dnet_stub_dnet_ntoa" = xyes; then :
11224 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
11229 rm -f core conftest.err conftest.$ac_objext \
11230 conftest$ac_exeext conftest.$ac_ext
11231 LIBS="$ac_xsave_LIBS"
11233 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
11234 # to get the SysV transport functions.
11235 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
11236 # needs -lnsl.
11237 # The nsl library prevents programs from opening the X display
11238 # on Irix 5.2, according to T.E. Dickey.
11239 # The functions gethostbyname, getservbyname, and inet_addr are
11240 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
11241 ac_fn_c_check_func "$LINENO" "gethostbyname" "ac_cv_func_gethostbyname"
11242 if test "x$ac_cv_func_gethostbyname" = xyes; then :
11246 if test $ac_cv_func_gethostbyname = no; then
11247 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnsl" >&5
11248 $as_echo_n "checking for gethostbyname in -lnsl... " >&6; }
11249 if ${ac_cv_lib_nsl_gethostbyname+:} false; then :
11250 $as_echo_n "(cached) " >&6
11251 else
11252 ac_check_lib_save_LIBS=$LIBS
11253 LIBS="-lnsl $LIBS"
11254 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11255 /* end confdefs.h. */
11257 /* Override any GCC internal prototype to avoid an error.
11258 Use char because int might match the return type of a GCC
11259 builtin and then its argument prototype would still apply. */
11260 #ifdef __cplusplus
11261 extern "C"
11262 #endif
11263 char gethostbyname ();
11265 main ()
11267 return gethostbyname ();
11269 return 0;
11271 _ACEOF
11272 if ac_fn_c_try_link "$LINENO"; then :
11273 ac_cv_lib_nsl_gethostbyname=yes
11274 else
11275 ac_cv_lib_nsl_gethostbyname=no
11277 rm -f core conftest.err conftest.$ac_objext \
11278 conftest$ac_exeext conftest.$ac_ext
11279 LIBS=$ac_check_lib_save_LIBS
11281 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_gethostbyname" >&5
11282 $as_echo "$ac_cv_lib_nsl_gethostbyname" >&6; }
11283 if test "x$ac_cv_lib_nsl_gethostbyname" = xyes; then :
11284 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
11287 if test $ac_cv_lib_nsl_gethostbyname = no; then
11288 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lbsd" >&5
11289 $as_echo_n "checking for gethostbyname in -lbsd... " >&6; }
11290 if ${ac_cv_lib_bsd_gethostbyname+:} false; then :
11291 $as_echo_n "(cached) " >&6
11292 else
11293 ac_check_lib_save_LIBS=$LIBS
11294 LIBS="-lbsd $LIBS"
11295 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11296 /* end confdefs.h. */
11298 /* Override any GCC internal prototype to avoid an error.
11299 Use char because int might match the return type of a GCC
11300 builtin and then its argument prototype would still apply. */
11301 #ifdef __cplusplus
11302 extern "C"
11303 #endif
11304 char gethostbyname ();
11306 main ()
11308 return gethostbyname ();
11310 return 0;
11312 _ACEOF
11313 if ac_fn_c_try_link "$LINENO"; then :
11314 ac_cv_lib_bsd_gethostbyname=yes
11315 else
11316 ac_cv_lib_bsd_gethostbyname=no
11318 rm -f core conftest.err conftest.$ac_objext \
11319 conftest$ac_exeext conftest.$ac_ext
11320 LIBS=$ac_check_lib_save_LIBS
11322 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bsd_gethostbyname" >&5
11323 $as_echo "$ac_cv_lib_bsd_gethostbyname" >&6; }
11324 if test "x$ac_cv_lib_bsd_gethostbyname" = xyes; then :
11325 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
11331 # lieder@skyler.mavd.honeywell.com says without -lsocket,
11332 # socket/setsockopt and other routines are undefined under SCO ODT
11333 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
11334 # on later versions), says Simon Leinen: it contains gethostby*
11335 # variants that don't use the name server (or something). -lsocket
11336 # must be given before -lnsl if both are needed. We assume that
11337 # if connect needs -lnsl, so does gethostbyname.
11338 ac_fn_c_check_func "$LINENO" "connect" "ac_cv_func_connect"
11339 if test "x$ac_cv_func_connect" = xyes; then :
11343 if test $ac_cv_func_connect = no; then
11344 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for connect in -lsocket" >&5
11345 $as_echo_n "checking for connect in -lsocket... " >&6; }
11346 if ${ac_cv_lib_socket_connect+:} false; then :
11347 $as_echo_n "(cached) " >&6
11348 else
11349 ac_check_lib_save_LIBS=$LIBS
11350 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
11351 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11352 /* end confdefs.h. */
11354 /* Override any GCC internal prototype to avoid an error.
11355 Use char because int might match the return type of a GCC
11356 builtin and then its argument prototype would still apply. */
11357 #ifdef __cplusplus
11358 extern "C"
11359 #endif
11360 char connect ();
11362 main ()
11364 return connect ();
11366 return 0;
11368 _ACEOF
11369 if ac_fn_c_try_link "$LINENO"; then :
11370 ac_cv_lib_socket_connect=yes
11371 else
11372 ac_cv_lib_socket_connect=no
11374 rm -f core conftest.err conftest.$ac_objext \
11375 conftest$ac_exeext conftest.$ac_ext
11376 LIBS=$ac_check_lib_save_LIBS
11378 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_connect" >&5
11379 $as_echo "$ac_cv_lib_socket_connect" >&6; }
11380 if test "x$ac_cv_lib_socket_connect" = xyes; then :
11381 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
11386 # Guillermo Gomez says -lposix is necessary on A/UX.
11387 ac_fn_c_check_func "$LINENO" "remove" "ac_cv_func_remove"
11388 if test "x$ac_cv_func_remove" = xyes; then :
11392 if test $ac_cv_func_remove = no; then
11393 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for remove in -lposix" >&5
11394 $as_echo_n "checking for remove in -lposix... " >&6; }
11395 if ${ac_cv_lib_posix_remove+:} false; then :
11396 $as_echo_n "(cached) " >&6
11397 else
11398 ac_check_lib_save_LIBS=$LIBS
11399 LIBS="-lposix $LIBS"
11400 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11401 /* end confdefs.h. */
11403 /* Override any GCC internal prototype to avoid an error.
11404 Use char because int might match the return type of a GCC
11405 builtin and then its argument prototype would still apply. */
11406 #ifdef __cplusplus
11407 extern "C"
11408 #endif
11409 char remove ();
11411 main ()
11413 return remove ();
11415 return 0;
11417 _ACEOF
11418 if ac_fn_c_try_link "$LINENO"; then :
11419 ac_cv_lib_posix_remove=yes
11420 else
11421 ac_cv_lib_posix_remove=no
11423 rm -f core conftest.err conftest.$ac_objext \
11424 conftest$ac_exeext conftest.$ac_ext
11425 LIBS=$ac_check_lib_save_LIBS
11427 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix_remove" >&5
11428 $as_echo "$ac_cv_lib_posix_remove" >&6; }
11429 if test "x$ac_cv_lib_posix_remove" = xyes; then :
11430 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
11435 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
11436 ac_fn_c_check_func "$LINENO" "shmat" "ac_cv_func_shmat"
11437 if test "x$ac_cv_func_shmat" = xyes; then :
11441 if test $ac_cv_func_shmat = no; then
11442 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shmat in -lipc" >&5
11443 $as_echo_n "checking for shmat in -lipc... " >&6; }
11444 if ${ac_cv_lib_ipc_shmat+:} false; then :
11445 $as_echo_n "(cached) " >&6
11446 else
11447 ac_check_lib_save_LIBS=$LIBS
11448 LIBS="-lipc $LIBS"
11449 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11450 /* end confdefs.h. */
11452 /* Override any GCC internal prototype to avoid an error.
11453 Use char because int might match the return type of a GCC
11454 builtin and then its argument prototype would still apply. */
11455 #ifdef __cplusplus
11456 extern "C"
11457 #endif
11458 char shmat ();
11460 main ()
11462 return shmat ();
11464 return 0;
11466 _ACEOF
11467 if ac_fn_c_try_link "$LINENO"; then :
11468 ac_cv_lib_ipc_shmat=yes
11469 else
11470 ac_cv_lib_ipc_shmat=no
11472 rm -f core conftest.err conftest.$ac_objext \
11473 conftest$ac_exeext conftest.$ac_ext
11474 LIBS=$ac_check_lib_save_LIBS
11476 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ipc_shmat" >&5
11477 $as_echo "$ac_cv_lib_ipc_shmat" >&6; }
11478 if test "x$ac_cv_lib_ipc_shmat" = xyes; then :
11479 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
11485 # Check for libraries that X11R6 Xt/Xaw programs need.
11486 ac_save_LDFLAGS=$LDFLAGS
11487 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
11488 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
11489 # check for ICE first), but we must link in the order -lSM -lICE or
11490 # we get undefined symbols. So assume we have SM if we have ICE.
11491 # These have to be linked with before -lX11, unlike the other
11492 # libraries we check for below, so use a different variable.
11493 # John Interrante, Karl Berry
11494 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for IceConnectionNumber in -lICE" >&5
11495 $as_echo_n "checking for IceConnectionNumber in -lICE... " >&6; }
11496 if ${ac_cv_lib_ICE_IceConnectionNumber+:} false; then :
11497 $as_echo_n "(cached) " >&6
11498 else
11499 ac_check_lib_save_LIBS=$LIBS
11500 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
11501 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11502 /* end confdefs.h. */
11504 /* Override any GCC internal prototype to avoid an error.
11505 Use char because int might match the return type of a GCC
11506 builtin and then its argument prototype would still apply. */
11507 #ifdef __cplusplus
11508 extern "C"
11509 #endif
11510 char IceConnectionNumber ();
11512 main ()
11514 return IceConnectionNumber ();
11516 return 0;
11518 _ACEOF
11519 if ac_fn_c_try_link "$LINENO"; then :
11520 ac_cv_lib_ICE_IceConnectionNumber=yes
11521 else
11522 ac_cv_lib_ICE_IceConnectionNumber=no
11524 rm -f core conftest.err conftest.$ac_objext \
11525 conftest$ac_exeext conftest.$ac_ext
11526 LIBS=$ac_check_lib_save_LIBS
11528 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
11529 $as_echo "$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
11530 if test "x$ac_cv_lib_ICE_IceConnectionNumber" = xyes; then :
11531 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
11534 LDFLAGS=$ac_save_LDFLAGS
11539 if test "$have_x" = "yes"
11540 then
11541 ac_save_CPPFLAGS="$CPPFLAGS"
11542 CPPFLAGS="$CPPFLAGS $X_CFLAGS"
11544 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lX11" >&5
11545 $as_echo_n "checking for -lX11... " >&6; }
11546 if ${ac_cv_lib_soname_X11+:} false; then :
11547 $as_echo_n "(cached) " >&6
11548 else
11549 ac_check_soname_save_LIBS=$LIBS
11550 LIBS="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
11551 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11552 /* end confdefs.h. */
11554 /* Override any GCC internal prototype to avoid an error.
11555 Use char because int might match the return type of a GCC
11556 builtin and then its argument prototype would still apply. */
11557 #ifdef __cplusplus
11558 extern "C"
11559 #endif
11560 char XCreateWindow ();
11562 main ()
11564 return XCreateWindow ();
11566 return 0;
11568 _ACEOF
11569 if ac_fn_c_try_link "$LINENO"; then :
11570 case "$LIBEXT" in
11571 dll) ac_cv_lib_soname_X11=`$ac_cv_path_LDD conftest.exe | grep "X11" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11572 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'` ;;
11573 *) ac_cv_lib_soname_X11=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libX11\\.$LIBEXT" | sed -e "s/^.*\\[\\(libX11\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11574 if ${ac_cv_lib_soname_X11:+false} :; then :
11575 ac_cv_lib_soname_X11=`$LDD conftest$ac_exeext | grep "libX11\\.$LIBEXT" | sed -e "s/^.*\(libX11\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11576 fi ;;
11577 esac
11578 else
11579 ac_cv_lib_soname_X11=
11581 rm -f core conftest.err conftest.$ac_objext \
11582 conftest$ac_exeext conftest.$ac_ext
11583 LIBS=$ac_check_soname_save_LIBS
11585 if ${ac_cv_lib_soname_X11:+false} :; then :
11586 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11587 $as_echo "not found" >&6; }
11589 else
11590 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_X11" >&5
11591 $as_echo "$ac_cv_lib_soname_X11" >&6; }
11593 cat >>confdefs.h <<_ACEOF
11594 #define SONAME_LIBX11 "$ac_cv_lib_soname_X11"
11595 _ACEOF
11599 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXext" >&5
11600 $as_echo_n "checking for -lXext... " >&6; }
11601 if ${ac_cv_lib_soname_Xext+:} false; then :
11602 $as_echo_n "(cached) " >&6
11603 else
11604 ac_check_soname_save_LIBS=$LIBS
11605 LIBS="-lXext $X_LIBS -lX11 $X_EXTRA_LIBS $LIBS"
11606 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11607 /* end confdefs.h. */
11609 /* Override any GCC internal prototype to avoid an error.
11610 Use char because int might match the return type of a GCC
11611 builtin and then its argument prototype would still apply. */
11612 #ifdef __cplusplus
11613 extern "C"
11614 #endif
11615 char XextCreateExtension ();
11617 main ()
11619 return XextCreateExtension ();
11621 return 0;
11623 _ACEOF
11624 if ac_fn_c_try_link "$LINENO"; then :
11625 case "$LIBEXT" in
11626 dll) ac_cv_lib_soname_Xext=`$ac_cv_path_LDD conftest.exe | grep "Xext" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11627 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'` ;;
11628 *) ac_cv_lib_soname_Xext=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXext\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXext\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11629 if ${ac_cv_lib_soname_Xext:+false} :; then :
11630 ac_cv_lib_soname_Xext=`$LDD conftest$ac_exeext | grep "libXext\\.$LIBEXT" | sed -e "s/^.*\(libXext\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11631 fi ;;
11632 esac
11633 else
11634 ac_cv_lib_soname_Xext=
11636 rm -f core conftest.err conftest.$ac_objext \
11637 conftest$ac_exeext conftest.$ac_ext
11638 LIBS=$ac_check_soname_save_LIBS
11640 if ${ac_cv_lib_soname_Xext:+false} :; then :
11641 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11642 $as_echo "not found" >&6; }
11644 else
11645 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xext" >&5
11646 $as_echo "$ac_cv_lib_soname_Xext" >&6; }
11648 cat >>confdefs.h <<_ACEOF
11649 #define SONAME_LIBXEXT "$ac_cv_lib_soname_Xext"
11650 _ACEOF
11652 X_LIBS="$X_LIBS -lXext"
11654 X_LIBS="$X_LIBS -lX11"
11656 for ac_header in X11/Xlib.h \
11657 X11/XKBlib.h \
11658 X11/Xutil.h \
11659 X11/Xcursor/Xcursor.h \
11660 X11/extensions/shape.h \
11661 X11/extensions/XInput.h \
11662 X11/extensions/XInput2.h \
11663 X11/extensions/XShm.h \
11664 X11/extensions/Xcomposite.h \
11665 X11/extensions/Xfixes.h \
11666 X11/extensions/Xinerama.h \
11667 X11/extensions/Xrandr.h \
11668 X11/extensions/Xrender.h \
11669 X11/extensions/xf86vmode.h \
11670 X11/extensions/xf86vmproto.h
11671 do :
11672 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
11673 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_X11_XLIB_H
11674 # include <X11/Xlib.h>
11675 #endif
11676 #ifdef HAVE_X11_XUTIL_H
11677 # include <X11/Xutil.h>
11678 #endif
11680 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
11681 cat >>confdefs.h <<_ACEOF
11682 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
11683 _ACEOF
11687 done
11690 if test "$ac_cv_header_X11_XKBlib_h" = "yes"
11691 then
11692 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XkbQueryExtension in -lX11" >&5
11693 $as_echo_n "checking for XkbQueryExtension in -lX11... " >&6; }
11694 if ${ac_cv_lib_X11_XkbQueryExtension+:} false; then :
11695 $as_echo_n "(cached) " >&6
11696 else
11697 ac_check_lib_save_LIBS=$LIBS
11698 LIBS="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
11699 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11700 /* end confdefs.h. */
11702 /* Override any GCC internal prototype to avoid an error.
11703 Use char because int might match the return type of a GCC
11704 builtin and then its argument prototype would still apply. */
11705 #ifdef __cplusplus
11706 extern "C"
11707 #endif
11708 char XkbQueryExtension ();
11710 main ()
11712 return XkbQueryExtension ();
11714 return 0;
11716 _ACEOF
11717 if ac_fn_c_try_link "$LINENO"; then :
11718 ac_cv_lib_X11_XkbQueryExtension=yes
11719 else
11720 ac_cv_lib_X11_XkbQueryExtension=no
11722 rm -f core conftest.err conftest.$ac_objext \
11723 conftest$ac_exeext conftest.$ac_ext
11724 LIBS=$ac_check_lib_save_LIBS
11726 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_X11_XkbQueryExtension" >&5
11727 $as_echo "$ac_cv_lib_X11_XkbQueryExtension" >&6; }
11728 if test "x$ac_cv_lib_X11_XkbQueryExtension" = xyes; then :
11730 $as_echo "#define HAVE_XKB 1" >>confdefs.h
11736 if test "$ac_cv_header_X11_Xcursor_Xcursor_h" = "yes"
11737 then
11738 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXcursor" >&5
11739 $as_echo_n "checking for -lXcursor... " >&6; }
11740 if ${ac_cv_lib_soname_Xcursor+:} false; then :
11741 $as_echo_n "(cached) " >&6
11742 else
11743 ac_check_soname_save_LIBS=$LIBS
11744 LIBS="-lXcursor $X_LIBS $X_EXTRA_LIBS $LIBS"
11745 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11746 /* end confdefs.h. */
11748 /* Override any GCC internal prototype to avoid an error.
11749 Use char because int might match the return type of a GCC
11750 builtin and then its argument prototype would still apply. */
11751 #ifdef __cplusplus
11752 extern "C"
11753 #endif
11754 char XcursorImageLoadCursor ();
11756 main ()
11758 return XcursorImageLoadCursor ();
11760 return 0;
11762 _ACEOF
11763 if ac_fn_c_try_link "$LINENO"; then :
11764 case "$LIBEXT" in
11765 dll) ac_cv_lib_soname_Xcursor=`$ac_cv_path_LDD conftest.exe | grep "Xcursor" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11766 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'` ;;
11767 *) ac_cv_lib_soname_Xcursor=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcursor\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcursor\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11768 if ${ac_cv_lib_soname_Xcursor:+false} :; then :
11769 ac_cv_lib_soname_Xcursor=`$LDD conftest$ac_exeext | grep "libXcursor\\.$LIBEXT" | sed -e "s/^.*\(libXcursor\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11770 fi ;;
11771 esac
11772 else
11773 ac_cv_lib_soname_Xcursor=
11775 rm -f core conftest.err conftest.$ac_objext \
11776 conftest$ac_exeext conftest.$ac_ext
11777 LIBS=$ac_check_soname_save_LIBS
11779 if ${ac_cv_lib_soname_Xcursor:+false} :; then :
11780 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11781 $as_echo "not found" >&6; }
11783 else
11784 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcursor" >&5
11785 $as_echo "$ac_cv_lib_soname_Xcursor" >&6; }
11787 cat >>confdefs.h <<_ACEOF
11788 #define SONAME_LIBXCURSOR "$ac_cv_lib_soname_Xcursor"
11789 _ACEOF
11794 if test "x$ac_cv_lib_soname_Xcursor" = "x"; then :
11795 case "x$with_xcursor" in
11796 x) as_fn_append wine_notices "|libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported." ;;
11797 xno) ;;
11798 *) as_fn_error $? "libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported.
11799 This is an error since --with-xcursor was requested." "$LINENO" 5 ;;
11800 esac
11804 if test "$ac_cv_header_X11_extensions_XInput_h" = "yes"
11805 then
11806 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXi" >&5
11807 $as_echo_n "checking for -lXi... " >&6; }
11808 if ${ac_cv_lib_soname_Xi+:} false; then :
11809 $as_echo_n "(cached) " >&6
11810 else
11811 ac_check_soname_save_LIBS=$LIBS
11812 LIBS="-lXi $X_LIBS $X_EXTRA_LIBS $LIBS"
11813 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11814 /* end confdefs.h. */
11816 /* Override any GCC internal prototype to avoid an error.
11817 Use char because int might match the return type of a GCC
11818 builtin and then its argument prototype would still apply. */
11819 #ifdef __cplusplus
11820 extern "C"
11821 #endif
11822 char XOpenDevice ();
11824 main ()
11826 return XOpenDevice ();
11828 return 0;
11830 _ACEOF
11831 if ac_fn_c_try_link "$LINENO"; then :
11832 case "$LIBEXT" in
11833 dll) ac_cv_lib_soname_Xi=`$ac_cv_path_LDD conftest.exe | grep "Xi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11834 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'` ;;
11835 *) ac_cv_lib_soname_Xi=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11836 if ${ac_cv_lib_soname_Xi:+false} :; then :
11837 ac_cv_lib_soname_Xi=`$LDD conftest$ac_exeext | grep "libXi\\.$LIBEXT" | sed -e "s/^.*\(libXi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11838 fi ;;
11839 esac
11840 else
11841 ac_cv_lib_soname_Xi=
11843 rm -f core conftest.err conftest.$ac_objext \
11844 conftest$ac_exeext conftest.$ac_ext
11845 LIBS=$ac_check_soname_save_LIBS
11847 if ${ac_cv_lib_soname_Xi:+false} :; then :
11848 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11849 $as_echo "not found" >&6; }
11851 else
11852 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xi" >&5
11853 $as_echo "$ac_cv_lib_soname_Xi" >&6; }
11855 cat >>confdefs.h <<_ACEOF
11856 #define SONAME_LIBXI "$ac_cv_lib_soname_Xi"
11857 _ACEOF
11862 if test "x$ac_cv_lib_soname_Xi" = "x"; then :
11863 case "x$with_xinput" in
11864 x) as_fn_append wine_notices "|libxi ${notice_platform}development files not found, the Xinput extension won't be supported." ;;
11865 xno) ;;
11866 *) as_fn_error $? "libxi ${notice_platform}development files not found, the Xinput extension won't be supported.
11867 This is an error since --with-xinput was requested." "$LINENO" 5 ;;
11868 esac
11872 if test "x$ac_cv_lib_soname_Xi" != x
11873 then
11874 if test "$ac_cv_header_X11_extensions_XInput2_h" != "yes"; then :
11875 case "x$with_xinput2" in
11876 x) as_fn_append wine_notices "|XInput2 headers not found, the XInput 2 extension won't be supported." ;;
11877 xno) ;;
11878 *) as_fn_error $? "XInput2 headers not found, the XInput 2 extension won't be supported.
11879 This is an error since --with-xinput2 was requested." "$LINENO" 5 ;;
11880 esac
11885 if test "$ac_cv_header_X11_extensions_XShm_h" = "yes"
11886 then
11887 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShmQueryExtension in -lXext" >&5
11888 $as_echo_n "checking for XShmQueryExtension in -lXext... " >&6; }
11889 if ${ac_cv_lib_Xext_XShmQueryExtension+:} false; then :
11890 $as_echo_n "(cached) " >&6
11891 else
11892 ac_check_lib_save_LIBS=$LIBS
11893 LIBS="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
11894 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11895 /* end confdefs.h. */
11897 /* Override any GCC internal prototype to avoid an error.
11898 Use char because int might match the return type of a GCC
11899 builtin and then its argument prototype would still apply. */
11900 #ifdef __cplusplus
11901 extern "C"
11902 #endif
11903 char XShmQueryExtension ();
11905 main ()
11907 return XShmQueryExtension ();
11909 return 0;
11911 _ACEOF
11912 if ac_fn_c_try_link "$LINENO"; then :
11913 ac_cv_lib_Xext_XShmQueryExtension=yes
11914 else
11915 ac_cv_lib_Xext_XShmQueryExtension=no
11917 rm -f core conftest.err conftest.$ac_objext \
11918 conftest$ac_exeext conftest.$ac_ext
11919 LIBS=$ac_check_lib_save_LIBS
11921 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShmQueryExtension" >&5
11922 $as_echo "$ac_cv_lib_Xext_XShmQueryExtension" >&6; }
11923 if test "x$ac_cv_lib_Xext_XShmQueryExtension" = xyes; then :
11925 $as_echo "#define HAVE_LIBXXSHM 1" >>confdefs.h
11930 if test "$ac_cv_lib_Xext_XShmQueryExtension" != "yes"; then :
11931 case "x$with_xshm" in
11932 x) as_fn_append wine_notices "|XShm ${notice_platform}development files not found, X Shared Memory won't be supported." ;;
11933 xno) ;;
11934 *) as_fn_error $? "XShm ${notice_platform}development files not found, X Shared Memory won't be supported.
11935 This is an error since --with-xshm was requested." "$LINENO" 5 ;;
11936 esac
11940 if test "$ac_cv_header_X11_extensions_shape_h" = "yes"
11941 then
11942 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShapeQueryExtension in -lXext" >&5
11943 $as_echo_n "checking for XShapeQueryExtension in -lXext... " >&6; }
11944 if ${ac_cv_lib_Xext_XShapeQueryExtension+:} false; then :
11945 $as_echo_n "(cached) " >&6
11946 else
11947 ac_check_lib_save_LIBS=$LIBS
11948 LIBS="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
11949 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11950 /* end confdefs.h. */
11952 /* Override any GCC internal prototype to avoid an error.
11953 Use char because int might match the return type of a GCC
11954 builtin and then its argument prototype would still apply. */
11955 #ifdef __cplusplus
11956 extern "C"
11957 #endif
11958 char XShapeQueryExtension ();
11960 main ()
11962 return XShapeQueryExtension ();
11964 return 0;
11966 _ACEOF
11967 if ac_fn_c_try_link "$LINENO"; then :
11968 ac_cv_lib_Xext_XShapeQueryExtension=yes
11969 else
11970 ac_cv_lib_Xext_XShapeQueryExtension=no
11972 rm -f core conftest.err conftest.$ac_objext \
11973 conftest$ac_exeext conftest.$ac_ext
11974 LIBS=$ac_check_lib_save_LIBS
11976 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
11977 $as_echo "$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
11978 if test "x$ac_cv_lib_Xext_XShapeQueryExtension" = xyes; then :
11980 $as_echo "#define HAVE_LIBXSHAPE 1" >>confdefs.h
11985 if test "$ac_cv_lib_Xext_XShapeQueryExtension" != "yes"; then :
11986 case "x$with_xshape" in
11987 x) as_fn_append wine_notices "|XShape ${notice_platform}development files not found, XShape won't be supported." ;;
11988 xno) ;;
11989 *) as_fn_error $? "XShape ${notice_platform}development files not found, XShape won't be supported.
11990 This is an error since --with-xshape was requested." "$LINENO" 5 ;;
11991 esac
11995 if test "$ac_cv_header_X11_extensions_xf86vmode_h" = "yes" -o "$ac_cv_header_X11_extensions_xf86vmproto_h" = "yes"
11996 then
11997 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXxf86vm" >&5
11998 $as_echo_n "checking for -lXxf86vm... " >&6; }
11999 if ${ac_cv_lib_soname_Xxf86vm+:} false; then :
12000 $as_echo_n "(cached) " >&6
12001 else
12002 ac_check_soname_save_LIBS=$LIBS
12003 LIBS="-lXxf86vm $X_LIBS $X_EXTRA_LIBS $LIBS"
12004 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12005 /* end confdefs.h. */
12007 /* Override any GCC internal prototype to avoid an error.
12008 Use char because int might match the return type of a GCC
12009 builtin and then its argument prototype would still apply. */
12010 #ifdef __cplusplus
12011 extern "C"
12012 #endif
12013 char XF86VidModeQueryExtension ();
12015 main ()
12017 return XF86VidModeQueryExtension ();
12019 return 0;
12021 _ACEOF
12022 if ac_fn_c_try_link "$LINENO"; then :
12023 case "$LIBEXT" in
12024 dll) ac_cv_lib_soname_Xxf86vm=`$ac_cv_path_LDD conftest.exe | grep "Xxf86vm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12025 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'` ;;
12026 *) ac_cv_lib_soname_Xxf86vm=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXxf86vm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12027 if ${ac_cv_lib_soname_Xxf86vm:+false} :; then :
12028 ac_cv_lib_soname_Xxf86vm=`$LDD conftest$ac_exeext | grep "libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\(libXxf86vm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12029 fi ;;
12030 esac
12031 else
12032 ac_cv_lib_soname_Xxf86vm=
12034 rm -f core conftest.err conftest.$ac_objext \
12035 conftest$ac_exeext conftest.$ac_ext
12036 LIBS=$ac_check_soname_save_LIBS
12038 if ${ac_cv_lib_soname_Xxf86vm:+false} :; then :
12039 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12040 $as_echo "not found" >&6; }
12042 else
12043 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xxf86vm" >&5
12044 $as_echo "$ac_cv_lib_soname_Xxf86vm" >&6; }
12046 cat >>confdefs.h <<_ACEOF
12047 #define SONAME_LIBXXF86VM "$ac_cv_lib_soname_Xxf86vm"
12048 _ACEOF
12053 if test "x$ac_cv_lib_soname_Xxf86vm" = "x"; then :
12054 case "x$with_xxf86vm" in
12055 x) as_fn_append wine_notices "|libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported." ;;
12056 xno) ;;
12057 *) as_fn_error $? "libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported.
12058 This is an error since --with-xxf86vm was requested." "$LINENO" 5 ;;
12059 esac
12063 if test "$ac_cv_header_X11_extensions_Xrender_h" = "yes" -a "x$ac_cv_lib_soname_X11" != "x"
12064 then
12065 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXrender" >&5
12066 $as_echo_n "checking for -lXrender... " >&6; }
12067 if ${ac_cv_lib_soname_Xrender+:} false; then :
12068 $as_echo_n "(cached) " >&6
12069 else
12070 ac_check_soname_save_LIBS=$LIBS
12071 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
12072 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12073 /* end confdefs.h. */
12075 /* Override any GCC internal prototype to avoid an error.
12076 Use char because int might match the return type of a GCC
12077 builtin and then its argument prototype would still apply. */
12078 #ifdef __cplusplus
12079 extern "C"
12080 #endif
12081 char XRenderQueryExtension ();
12083 main ()
12085 return XRenderQueryExtension ();
12087 return 0;
12089 _ACEOF
12090 if ac_fn_c_try_link "$LINENO"; then :
12091 case "$LIBEXT" in
12092 dll) ac_cv_lib_soname_Xrender=`$ac_cv_path_LDD conftest.exe | grep "Xrender" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12093 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'` ;;
12094 *) ac_cv_lib_soname_Xrender=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrender\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrender\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12095 if ${ac_cv_lib_soname_Xrender:+false} :; then :
12096 ac_cv_lib_soname_Xrender=`$LDD conftest$ac_exeext | grep "libXrender\\.$LIBEXT" | sed -e "s/^.*\(libXrender\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12097 fi ;;
12098 esac
12099 else
12100 ac_cv_lib_soname_Xrender=
12102 rm -f core conftest.err conftest.$ac_objext \
12103 conftest$ac_exeext conftest.$ac_ext
12104 LIBS=$ac_check_soname_save_LIBS
12106 if ${ac_cv_lib_soname_Xrender:+false} :; then :
12107 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12108 $as_echo "not found" >&6; }
12110 else
12111 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrender" >&5
12112 $as_echo "$ac_cv_lib_soname_Xrender" >&6; }
12114 cat >>confdefs.h <<_ACEOF
12115 #define SONAME_LIBXRENDER "$ac_cv_lib_soname_Xrender"
12116 _ACEOF
12118 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderSetPictureTransform in -lXrender" >&5
12119 $as_echo_n "checking for XRenderSetPictureTransform in -lXrender... " >&6; }
12120 if ${ac_cv_lib_Xrender_XRenderSetPictureTransform+:} false; then :
12121 $as_echo_n "(cached) " >&6
12122 else
12123 ac_check_lib_save_LIBS=$LIBS
12124 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
12125 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12126 /* end confdefs.h. */
12128 /* Override any GCC internal prototype to avoid an error.
12129 Use char because int might match the return type of a GCC
12130 builtin and then its argument prototype would still apply. */
12131 #ifdef __cplusplus
12132 extern "C"
12133 #endif
12134 char XRenderSetPictureTransform ();
12136 main ()
12138 return XRenderSetPictureTransform ();
12140 return 0;
12142 _ACEOF
12143 if ac_fn_c_try_link "$LINENO"; then :
12144 ac_cv_lib_Xrender_XRenderSetPictureTransform=yes
12145 else
12146 ac_cv_lib_Xrender_XRenderSetPictureTransform=no
12148 rm -f core conftest.err conftest.$ac_objext \
12149 conftest$ac_exeext conftest.$ac_ext
12150 LIBS=$ac_check_lib_save_LIBS
12152 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderSetPictureTransform" >&5
12153 $as_echo "$ac_cv_lib_Xrender_XRenderSetPictureTransform" >&6; }
12154 if test "x$ac_cv_lib_Xrender_XRenderSetPictureTransform" = xyes; then :
12156 $as_echo "#define HAVE_XRENDERSETPICTURETRANSFORM 1" >>confdefs.h
12160 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderCreateLinearGradient in -lXrender" >&5
12161 $as_echo_n "checking for XRenderCreateLinearGradient in -lXrender... " >&6; }
12162 if ${ac_cv_lib_Xrender_XRenderCreateLinearGradient+:} false; then :
12163 $as_echo_n "(cached) " >&6
12164 else
12165 ac_check_lib_save_LIBS=$LIBS
12166 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
12167 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12168 /* end confdefs.h. */
12170 /* Override any GCC internal prototype to avoid an error.
12171 Use char because int might match the return type of a GCC
12172 builtin and then its argument prototype would still apply. */
12173 #ifdef __cplusplus
12174 extern "C"
12175 #endif
12176 char XRenderCreateLinearGradient ();
12178 main ()
12180 return XRenderCreateLinearGradient ();
12182 return 0;
12184 _ACEOF
12185 if ac_fn_c_try_link "$LINENO"; then :
12186 ac_cv_lib_Xrender_XRenderCreateLinearGradient=yes
12187 else
12188 ac_cv_lib_Xrender_XRenderCreateLinearGradient=no
12190 rm -f core conftest.err conftest.$ac_objext \
12191 conftest$ac_exeext conftest.$ac_ext
12192 LIBS=$ac_check_lib_save_LIBS
12194 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&5
12195 $as_echo "$ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&6; }
12196 if test "x$ac_cv_lib_Xrender_XRenderCreateLinearGradient" = xyes; then :
12198 $as_echo "#define HAVE_XRENDERCREATELINEARGRADIENT 1" >>confdefs.h
12205 if test "x$ac_cv_lib_soname_Xrender" = "x"; then :
12206 case "x$with_xrender" in
12207 x) as_fn_append wine_warnings "|libxrender ${notice_platform}development files not found, XRender won't be supported." ;;
12208 xno) ;;
12209 *) as_fn_error $? "libxrender ${notice_platform}development files not found, XRender won't be supported.
12210 This is an error since --with-xrender was requested." "$LINENO" 5 ;;
12211 esac
12215 if test "$ac_cv_header_X11_extensions_Xrandr_h" = "yes" -a "x$ac_cv_lib_soname_Xrender" != "x"
12216 then
12217 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12218 /* end confdefs.h. */
12219 #include <X11/Xlib.h>
12220 #include <X11/extensions/Xrandr.h>
12222 main ()
12224 static typeof(XRRSetScreenConfigAndRate) * func; if (func) return 0;
12226 return 0;
12228 _ACEOF
12229 if ac_fn_c_try_compile "$LINENO"; then :
12230 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXrandr" >&5
12231 $as_echo_n "checking for -lXrandr... " >&6; }
12232 if ${ac_cv_lib_soname_Xrandr+:} false; then :
12233 $as_echo_n "(cached) " >&6
12234 else
12235 ac_check_soname_save_LIBS=$LIBS
12236 LIBS="-lXrandr $X_LIBS $X_EXTRA_LIBS $LIBS"
12237 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12238 /* end confdefs.h. */
12240 /* Override any GCC internal prototype to avoid an error.
12241 Use char because int might match the return type of a GCC
12242 builtin and then its argument prototype would still apply. */
12243 #ifdef __cplusplus
12244 extern "C"
12245 #endif
12246 char XRRQueryExtension ();
12248 main ()
12250 return XRRQueryExtension ();
12252 return 0;
12254 _ACEOF
12255 if ac_fn_c_try_link "$LINENO"; then :
12256 case "$LIBEXT" in
12257 dll) ac_cv_lib_soname_Xrandr=`$ac_cv_path_LDD conftest.exe | grep "Xrandr" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12258 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'` ;;
12259 *) ac_cv_lib_soname_Xrandr=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrandr\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrandr\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12260 if ${ac_cv_lib_soname_Xrandr:+false} :; then :
12261 ac_cv_lib_soname_Xrandr=`$LDD conftest$ac_exeext | grep "libXrandr\\.$LIBEXT" | sed -e "s/^.*\(libXrandr\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12262 fi ;;
12263 esac
12264 else
12265 ac_cv_lib_soname_Xrandr=
12267 rm -f core conftest.err conftest.$ac_objext \
12268 conftest$ac_exeext conftest.$ac_ext
12269 LIBS=$ac_check_soname_save_LIBS
12271 if ${ac_cv_lib_soname_Xrandr:+false} :; then :
12272 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12273 $as_echo "not found" >&6; }
12275 else
12276 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrandr" >&5
12277 $as_echo "$ac_cv_lib_soname_Xrandr" >&6; }
12279 cat >>confdefs.h <<_ACEOF
12280 #define SONAME_LIBXRANDR "$ac_cv_lib_soname_Xrandr"
12281 _ACEOF
12283 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12284 /* end confdefs.h. */
12285 #include <X11/Xlib.h>
12286 #include <X11/extensions/Xrandr.h>
12288 main ()
12290 static typeof(XRRGetProviderResources) *f; if (f) return 0;
12292 return 0;
12294 _ACEOF
12295 if ac_fn_c_try_compile "$LINENO"; then :
12297 $as_echo "#define HAVE_XRRGETPROVIDERRESOURCES 1" >>confdefs.h
12299 else
12300 as_fn_append wine_notices "|libxrandr ${notice_platform}development files too old, XRandR display device handler won't be supported."
12302 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12305 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12307 if test "x$ac_cv_lib_soname_Xrandr" = "x"; then :
12308 case "x$with_xrandr" in
12309 x) as_fn_append wine_notices "|libxrandr ${notice_platform}development files not found, XRandr won't be supported." ;;
12310 xno) ;;
12311 *) as_fn_error $? "libxrandr ${notice_platform}development files not found, XRandr won't be supported.
12312 This is an error since --with-xrandr was requested." "$LINENO" 5 ;;
12313 esac
12317 if test "$ac_cv_header_X11_extensions_Xfixes_h" = "yes"
12318 then
12319 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12320 /* end confdefs.h. */
12321 #include <X11/Xlib.h>
12322 #include <X11/extensions/Xfixes.h>
12324 main ()
12326 static typeof(XFixesQueryVersion) * func; if (func) return 0;
12328 return 0;
12330 _ACEOF
12331 if ac_fn_c_try_compile "$LINENO"; then :
12332 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXfixes" >&5
12333 $as_echo_n "checking for -lXfixes... " >&6; }
12334 if ${ac_cv_lib_soname_Xfixes+:} false; then :
12335 $as_echo_n "(cached) " >&6
12336 else
12337 ac_check_soname_save_LIBS=$LIBS
12338 LIBS="-lXfixes $X_LIBS $X_EXTRA_LIBS $LIBS"
12339 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12340 /* end confdefs.h. */
12342 /* Override any GCC internal prototype to avoid an error.
12343 Use char because int might match the return type of a GCC
12344 builtin and then its argument prototype would still apply. */
12345 #ifdef __cplusplus
12346 extern "C"
12347 #endif
12348 char XFixesQueryVersion ();
12350 main ()
12352 return XFixesQueryVersion ();
12354 return 0;
12356 _ACEOF
12357 if ac_fn_c_try_link "$LINENO"; then :
12358 case "$LIBEXT" in
12359 dll) ac_cv_lib_soname_Xfixes=`$ac_cv_path_LDD conftest.exe | grep "Xfixes" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12360 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'` ;;
12361 *) ac_cv_lib_soname_Xfixes=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXfixes\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXfixes\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12362 if ${ac_cv_lib_soname_Xfixes:+false} :; then :
12363 ac_cv_lib_soname_Xfixes=`$LDD conftest$ac_exeext | grep "libXfixes\\.$LIBEXT" | sed -e "s/^.*\(libXfixes\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12364 fi ;;
12365 esac
12366 else
12367 ac_cv_lib_soname_Xfixes=
12369 rm -f core conftest.err conftest.$ac_objext \
12370 conftest$ac_exeext conftest.$ac_ext
12371 LIBS=$ac_check_soname_save_LIBS
12373 if ${ac_cv_lib_soname_Xfixes:+false} :; then :
12374 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12375 $as_echo "not found" >&6; }
12377 else
12378 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xfixes" >&5
12379 $as_echo "$ac_cv_lib_soname_Xfixes" >&6; }
12381 cat >>confdefs.h <<_ACEOF
12382 #define SONAME_LIBXFIXES "$ac_cv_lib_soname_Xfixes"
12383 _ACEOF
12388 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12390 if test "x$ac_cv_lib_soname_Xfixes" = "x"; then :
12391 case "x$with_xfixes" in
12392 x) as_fn_append wine_notices "|libxfixes ${notice_platform}development files not found, Xfixes won't be supported." ;;
12393 xno) ;;
12394 *) as_fn_error $? "libxfixes ${notice_platform}development files not found, Xfixes won't be supported.
12395 This is an error since --with-xfixes was requested." "$LINENO" 5 ;;
12396 esac
12400 if test "$ac_cv_header_X11_extensions_Xinerama_h" = "yes"
12401 then
12402 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12403 /* end confdefs.h. */
12404 #include <X11/Xlib.h>
12405 #include <X11/extensions/Xinerama.h>
12407 main ()
12409 static typeof(XineramaQueryScreens) * func; if (func) return 0;
12411 return 0;
12413 _ACEOF
12414 if ac_fn_c_try_compile "$LINENO"; then :
12415 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXinerama" >&5
12416 $as_echo_n "checking for -lXinerama... " >&6; }
12417 if ${ac_cv_lib_soname_Xinerama+:} false; then :
12418 $as_echo_n "(cached) " >&6
12419 else
12420 ac_check_soname_save_LIBS=$LIBS
12421 LIBS="-lXinerama $X_LIBS $X_EXTRA_LIBS $LIBS"
12422 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12423 /* end confdefs.h. */
12425 /* Override any GCC internal prototype to avoid an error.
12426 Use char because int might match the return type of a GCC
12427 builtin and then its argument prototype would still apply. */
12428 #ifdef __cplusplus
12429 extern "C"
12430 #endif
12431 char XineramaQueryScreens ();
12433 main ()
12435 return XineramaQueryScreens ();
12437 return 0;
12439 _ACEOF
12440 if ac_fn_c_try_link "$LINENO"; then :
12441 case "$LIBEXT" in
12442 dll) ac_cv_lib_soname_Xinerama=`$ac_cv_path_LDD conftest.exe | grep "Xinerama" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12443 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'` ;;
12444 *) ac_cv_lib_soname_Xinerama=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXinerama\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXinerama\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12445 if ${ac_cv_lib_soname_Xinerama:+false} :; then :
12446 ac_cv_lib_soname_Xinerama=`$LDD conftest$ac_exeext | grep "libXinerama\\.$LIBEXT" | sed -e "s/^.*\(libXinerama\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12447 fi ;;
12448 esac
12449 else
12450 ac_cv_lib_soname_Xinerama=
12452 rm -f core conftest.err conftest.$ac_objext \
12453 conftest$ac_exeext conftest.$ac_ext
12454 LIBS=$ac_check_soname_save_LIBS
12456 if ${ac_cv_lib_soname_Xinerama:+false} :; then :
12457 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12458 $as_echo "not found" >&6; }
12460 else
12461 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xinerama" >&5
12462 $as_echo "$ac_cv_lib_soname_Xinerama" >&6; }
12464 cat >>confdefs.h <<_ACEOF
12465 #define SONAME_LIBXINERAMA "$ac_cv_lib_soname_Xinerama"
12466 _ACEOF
12471 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12473 if test "x$ac_cv_lib_soname_Xinerama" = "x"; then :
12474 case "x$with_xinerama" in
12475 x) as_fn_append wine_notices "|libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported." ;;
12476 xno) ;;
12477 *) as_fn_error $? "libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported.
12478 This is an error since --with-xinerama was requested." "$LINENO" 5 ;;
12479 esac
12483 if test "$ac_cv_header_X11_extensions_Xcomposite_h" = "yes"
12484 then
12485 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXcomposite" >&5
12486 $as_echo_n "checking for -lXcomposite... " >&6; }
12487 if ${ac_cv_lib_soname_Xcomposite+:} false; then :
12488 $as_echo_n "(cached) " >&6
12489 else
12490 ac_check_soname_save_LIBS=$LIBS
12491 LIBS="-lXcomposite $X_LIBS $X_EXTRA_LIBS $LIBS"
12492 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12493 /* end confdefs.h. */
12495 /* Override any GCC internal prototype to avoid an error.
12496 Use char because int might match the return type of a GCC
12497 builtin and then its argument prototype would still apply. */
12498 #ifdef __cplusplus
12499 extern "C"
12500 #endif
12501 char XCompositeRedirectWindow ();
12503 main ()
12505 return XCompositeRedirectWindow ();
12507 return 0;
12509 _ACEOF
12510 if ac_fn_c_try_link "$LINENO"; then :
12511 case "$LIBEXT" in
12512 dll) ac_cv_lib_soname_Xcomposite=`$ac_cv_path_LDD conftest.exe | grep "Xcomposite" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12513 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'` ;;
12514 *) ac_cv_lib_soname_Xcomposite=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcomposite\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcomposite\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12515 if ${ac_cv_lib_soname_Xcomposite:+false} :; then :
12516 ac_cv_lib_soname_Xcomposite=`$LDD conftest$ac_exeext | grep "libXcomposite\\.$LIBEXT" | sed -e "s/^.*\(libXcomposite\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12517 fi ;;
12518 esac
12519 else
12520 ac_cv_lib_soname_Xcomposite=
12522 rm -f core conftest.err conftest.$ac_objext \
12523 conftest$ac_exeext conftest.$ac_ext
12524 LIBS=$ac_check_soname_save_LIBS
12526 if ${ac_cv_lib_soname_Xcomposite:+false} :; then :
12527 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12528 $as_echo "not found" >&6; }
12530 else
12531 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcomposite" >&5
12532 $as_echo "$ac_cv_lib_soname_Xcomposite" >&6; }
12534 cat >>confdefs.h <<_ACEOF
12535 #define SONAME_LIBXCOMPOSITE "$ac_cv_lib_soname_Xcomposite"
12536 _ACEOF
12541 if test "x$ac_cv_lib_soname_Xcomposite" = "x"; then :
12542 case "x$with_xcomposite" in
12543 x) as_fn_append wine_notices "|libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported." ;;
12544 xno) ;;
12545 *) as_fn_error $? "libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported.
12546 This is an error since --with-xcomposite was requested." "$LINENO" 5 ;;
12547 esac
12551 ac_fn_c_check_member "$LINENO" "XICCallback" "callback" "ac_cv_member_XICCallback_callback" "#ifdef HAVE_X11_XLIB_H
12552 #include <X11/Xlib.h>
12553 #endif
12555 if test "x$ac_cv_member_XICCallback_callback" = xyes; then :
12557 cat >>confdefs.h <<_ACEOF
12558 #define HAVE_XICCALLBACK_CALLBACK 1
12559 _ACEOF
12563 ac_fn_c_check_member "$LINENO" "XEvent" "xcookie" "ac_cv_member_XEvent_xcookie" "#ifdef HAVE_X11_XLIB_H
12564 #include <X11/Xlib.h>
12565 #endif
12567 if test "x$ac_cv_member_XEvent_xcookie" = xyes; then :
12569 cat >>confdefs.h <<_ACEOF
12570 #define HAVE_XEVENT_XCOOKIE 1
12571 _ACEOF
12578 opengl_msg=""
12579 if test "x$with_opengl" != "xno"
12580 then
12581 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
12582 $as_echo_n "checking for -lGL... " >&6; }
12583 if ${ac_cv_lib_soname_GL+:} false; then :
12584 $as_echo_n "(cached) " >&6
12585 else
12586 ac_check_soname_save_LIBS=$LIBS
12587 LIBS="-lGL $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
12588 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12589 /* end confdefs.h. */
12591 /* Override any GCC internal prototype to avoid an error.
12592 Use char because int might match the return type of a GCC
12593 builtin and then its argument prototype would still apply. */
12594 #ifdef __cplusplus
12595 extern "C"
12596 #endif
12597 char glXCreateContext ();
12599 main ()
12601 return glXCreateContext ();
12603 return 0;
12605 _ACEOF
12606 if ac_fn_c_try_link "$LINENO"; then :
12607 case "$LIBEXT" in
12608 dll) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12609 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'` ;;
12610 *) ac_cv_lib_soname_GL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12611 if ${ac_cv_lib_soname_GL:+false} :; then :
12612 ac_cv_lib_soname_GL=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12613 fi ;;
12614 esac
12615 else
12616 ac_cv_lib_soname_GL=
12618 rm -f core conftest.err conftest.$ac_objext \
12619 conftest$ac_exeext conftest.$ac_ext
12620 LIBS=$ac_check_soname_save_LIBS
12622 if ${ac_cv_lib_soname_GL:+false} :; then :
12623 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12624 $as_echo "not found" >&6; }
12625 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
12626 $as_echo_n "checking for -lGL... " >&6; }
12627 if ${ac_cv_lib_soname_GL+:} false; then :
12628 $as_echo_n "(cached) " >&6
12629 else
12630 ac_check_soname_save_LIBS=$LIBS
12631 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"
12632 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12633 /* end confdefs.h. */
12635 /* Override any GCC internal prototype to avoid an error.
12636 Use char because int might match the return type of a GCC
12637 builtin and then its argument prototype would still apply. */
12638 #ifdef __cplusplus
12639 extern "C"
12640 #endif
12641 char glXCreateContext ();
12643 main ()
12645 return glXCreateContext ();
12647 return 0;
12649 _ACEOF
12650 if ac_fn_c_try_link "$LINENO"; then :
12651 case "$LIBEXT" in
12652 dll) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12653 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'` ;;
12654 *) ac_cv_lib_soname_GL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12655 if ${ac_cv_lib_soname_GL:+false} :; then :
12656 ac_cv_lib_soname_GL=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12657 fi ;;
12658 esac
12659 else
12660 ac_cv_lib_soname_GL=
12662 rm -f core conftest.err conftest.$ac_objext \
12663 conftest$ac_exeext conftest.$ac_ext
12664 LIBS=$ac_check_soname_save_LIBS
12666 if ${ac_cv_lib_soname_GL:+false} :; then :
12667 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12668 $as_echo "not found" >&6; }
12669 if test -f /usr/X11R6/lib/libGL.a
12670 then
12671 opengl_msg="/usr/X11R6/lib/libGL.a is present on your system.
12672 This probably prevents linking to OpenGL. Try deleting the file and restarting configure."
12673 else
12674 opengl_msg="No OpenGL library found on this system."
12676 else
12677 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
12678 $as_echo "$ac_cv_lib_soname_GL" >&6; }
12680 cat >>confdefs.h <<_ACEOF
12681 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
12682 _ACEOF
12684 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"
12686 else
12687 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
12688 $as_echo "$ac_cv_lib_soname_GL" >&6; }
12690 cat >>confdefs.h <<_ACEOF
12691 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
12692 _ACEOF
12694 OPENGL_LIBS="-lGL"
12696 if test "x$with_osmesa" != "xno"
12697 then
12698 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lOSMesa" >&5
12699 $as_echo_n "checking for -lOSMesa... " >&6; }
12700 if ${ac_cv_lib_soname_OSMesa+:} false; then :
12701 $as_echo_n "(cached) " >&6
12702 else
12703 ac_check_soname_save_LIBS=$LIBS
12704 LIBS="-lOSMesa $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
12705 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12706 /* end confdefs.h. */
12708 /* Override any GCC internal prototype to avoid an error.
12709 Use char because int might match the return type of a GCC
12710 builtin and then its argument prototype would still apply. */
12711 #ifdef __cplusplus
12712 extern "C"
12713 #endif
12714 char OSMesaGetProcAddress ();
12716 main ()
12718 return OSMesaGetProcAddress ();
12720 return 0;
12722 _ACEOF
12723 if ac_fn_c_try_link "$LINENO"; then :
12724 case "$LIBEXT" in
12725 dll) ac_cv_lib_soname_OSMesa=`$ac_cv_path_LDD conftest.exe | grep "OSMesa" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12726 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'` ;;
12727 *) ac_cv_lib_soname_OSMesa=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libOSMesa\\.$LIBEXT" | sed -e "s/^.*\\[\\(libOSMesa\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12728 if ${ac_cv_lib_soname_OSMesa:+false} :; then :
12729 ac_cv_lib_soname_OSMesa=`$LDD conftest$ac_exeext | grep "libOSMesa\\.$LIBEXT" | sed -e "s/^.*\(libOSMesa\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12730 fi ;;
12731 esac
12732 else
12733 ac_cv_lib_soname_OSMesa=
12735 rm -f core conftest.err conftest.$ac_objext \
12736 conftest$ac_exeext conftest.$ac_ext
12737 LIBS=$ac_check_soname_save_LIBS
12739 if ${ac_cv_lib_soname_OSMesa:+false} :; then :
12740 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12741 $as_echo "not found" >&6; }
12743 else
12744 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_OSMesa" >&5
12745 $as_echo "$ac_cv_lib_soname_OSMesa" >&6; }
12747 cat >>confdefs.h <<_ACEOF
12748 #define SONAME_LIBOSMESA "$ac_cv_lib_soname_OSMesa"
12749 _ACEOF
12753 if test "x$ac_cv_lib_soname_OSMesa" = "x"; then :
12754 case "x$with_osmesa" in
12755 x) as_fn_append wine_notices "|libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported." ;;
12756 xno) ;;
12757 *) as_fn_error $? "libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported.
12758 This is an error since --with-osmesa was requested." "$LINENO" 5 ;;
12759 esac
12764 if test -n "$opengl_msg"; then :
12765 case "x$with_opengl" in
12766 x) as_fn_append wine_warnings "|$opengl_msg
12767 OpenGL and Direct3D won't be supported." ;;
12768 xno) ;;
12769 *) as_fn_error $? "$opengl_msg
12770 OpenGL and Direct3D won't be supported.
12771 This is an error since --with-opengl was requested." "$LINENO" 5 ;;
12772 esac
12776 CPPFLAGS="$ac_save_CPPFLAGS"
12777 else
12778 X_CFLAGS=""
12779 X_LIBS=""
12782 if test "$enable_wineandroid_drv$enable_winemac_drv" = "nono"
12783 then
12784 if test "x$X_LIBS" = "x"; then :
12785 case "x$with_x" in
12786 xno) ;;
12787 *) as_fn_error $? "X ${notice_platform}development files not found. Wine will be built
12788 without X support, which probably isn't what you want. You will need
12789 to install ${notice_platform}development packages of Xlib at the very least.
12790 Use the --without-x option if you really want this." "$LINENO" 5 ;;
12791 esac
12792 enable_winex11_drv=${enable_winex11_drv:-no}
12794 else
12795 if test "x$X_LIBS" = "x"; then :
12796 case "x$with_x" in
12797 x) as_fn_append wine_notices "|X ${notice_platform}development files not found, the X11 driver won't be supported." ;;
12798 xno) ;;
12799 *) as_fn_error $? "X ${notice_platform}development files not found, the X11 driver won't be supported.
12800 This is an error since --with-x was requested." "$LINENO" 5 ;;
12801 esac
12802 enable_winex11_drv=${enable_winex11_drv:-no}
12806 if test "$ac_cv_header_CL_cl_h" = "yes"
12807 then
12808 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clGetPlatformInfo in -lOpenCL" >&5
12809 $as_echo_n "checking for clGetPlatformInfo in -lOpenCL... " >&6; }
12810 if ${ac_cv_lib_OpenCL_clGetPlatformInfo+:} false; then :
12811 $as_echo_n "(cached) " >&6
12812 else
12813 ac_check_lib_save_LIBS=$LIBS
12814 LIBS="-lOpenCL $LIBS"
12815 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12816 /* end confdefs.h. */
12818 /* Override any GCC internal prototype to avoid an error.
12819 Use char because int might match the return type of a GCC
12820 builtin and then its argument prototype would still apply. */
12821 #ifdef __cplusplus
12822 extern "C"
12823 #endif
12824 char clGetPlatformInfo ();
12826 main ()
12828 return clGetPlatformInfo ();
12830 return 0;
12832 _ACEOF
12833 if ac_fn_c_try_link "$LINENO"; then :
12834 ac_cv_lib_OpenCL_clGetPlatformInfo=yes
12835 else
12836 ac_cv_lib_OpenCL_clGetPlatformInfo=no
12838 rm -f core conftest.err conftest.$ac_objext \
12839 conftest$ac_exeext conftest.$ac_ext
12840 LIBS=$ac_check_lib_save_LIBS
12842 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_OpenCL_clGetPlatformInfo" >&5
12843 $as_echo "$ac_cv_lib_OpenCL_clGetPlatformInfo" >&6; }
12844 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" = xyes; then :
12845 OPENCL_LIBS="-lOpenCL"
12850 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" != xyes; then :
12851 case "x$with_opencl" in
12852 x) as_fn_append wine_notices "|OpenCL ${notice_platform}development files not found, OpenCL won't be supported." ;;
12853 xno) ;;
12854 *) as_fn_error $? "OpenCL ${notice_platform}development files not found, OpenCL won't be supported.
12855 This is an error since --with-opencl was requested." "$LINENO" 5 ;;
12856 esac
12857 enable_opencl=${enable_opencl:-no}
12860 if test "$ac_cv_header_pcap_pcap_h" = "yes"
12861 then
12862 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pcap_create in -lpcap" >&5
12863 $as_echo_n "checking for pcap_create in -lpcap... " >&6; }
12864 if ${ac_cv_lib_pcap_pcap_create+:} false; then :
12865 $as_echo_n "(cached) " >&6
12866 else
12867 ac_check_lib_save_LIBS=$LIBS
12868 LIBS="-lpcap $LIBS"
12869 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12870 /* end confdefs.h. */
12872 /* Override any GCC internal prototype to avoid an error.
12873 Use char because int might match the return type of a GCC
12874 builtin and then its argument prototype would still apply. */
12875 #ifdef __cplusplus
12876 extern "C"
12877 #endif
12878 char pcap_create ();
12880 main ()
12882 return pcap_create ();
12884 return 0;
12886 _ACEOF
12887 if ac_fn_c_try_link "$LINENO"; then :
12888 ac_cv_lib_pcap_pcap_create=yes
12889 else
12890 ac_cv_lib_pcap_pcap_create=no
12892 rm -f core conftest.err conftest.$ac_objext \
12893 conftest$ac_exeext conftest.$ac_ext
12894 LIBS=$ac_check_lib_save_LIBS
12896 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pcap_pcap_create" >&5
12897 $as_echo "$ac_cv_lib_pcap_pcap_create" >&6; }
12898 if test "x$ac_cv_lib_pcap_pcap_create" = xyes; then :
12899 PCAP_LIBS="-lpcap"
12904 if test "x$ac_cv_lib_pcap_pcap_create" != xyes; then :
12905 case "x$with_pcap" in
12906 x) as_fn_append wine_notices "|pcap ${notice_platform}development files not found, wpcap won't be supported." ;;
12907 xno) ;;
12908 *) as_fn_error $? "pcap ${notice_platform}development files not found, wpcap won't be supported.
12909 This is an error since --with-pcap was requested." "$LINENO" 5 ;;
12910 esac
12911 enable_wpcap=${enable_wpcap:-no}
12915 if test "x$with_xml" != "xno"
12916 then
12917 if ${XML2_CFLAGS:+false} :; then :
12918 if ${PKG_CONFIG+:} false; then :
12919 XML2_CFLAGS=`$PKG_CONFIG --cflags libxml-2.0 2>/dev/null`
12922 test "$cross_compiling" = yes || XML2_CFLAGS=${XML2_CFLAGS:-`${XML2_CONFIG:-xml2-config} --cflags 2>/dev/null`}
12923 if ${XML2_LIBS:+false} :; then :
12924 if ${PKG_CONFIG+:} false; then :
12925 XML2_LIBS=`$PKG_CONFIG --libs libxml-2.0 2>/dev/null`
12928 test "$cross_compiling" = yes || XML2_LIBS=${XML2_LIBS:-`${XML2_CONFIG:-xml2-config} --libs 2>/dev/null`}
12929 XML2_LIBS=${XML2_LIBS:-"-lxml2"}
12930 $as_echo "$as_me:${as_lineno-$LINENO}: libxml-2.0 cflags: $XML2_CFLAGS" >&5
12931 $as_echo "$as_me:${as_lineno-$LINENO}: libxml-2.0 libs: $XML2_LIBS" >&5
12932 ac_save_CPPFLAGS=$CPPFLAGS
12933 CPPFLAGS="$CPPFLAGS $XML2_CFLAGS"
12934 for ac_header in libxml/parser.h libxml/xmlsave.h libxml/SAX2.h
12935 do :
12936 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
12937 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
12938 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
12939 cat >>confdefs.h <<_ACEOF
12940 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
12941 _ACEOF
12945 done
12947 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"
12948 then
12949 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlParseMemory in -lxml2" >&5
12950 $as_echo_n "checking for xmlParseMemory in -lxml2... " >&6; }
12951 if ${ac_cv_lib_xml2_xmlParseMemory+:} false; then :
12952 $as_echo_n "(cached) " >&6
12953 else
12954 ac_check_lib_save_LIBS=$LIBS
12955 LIBS="-lxml2 $XML2_LIBS $LIBS"
12956 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12957 /* end confdefs.h. */
12959 /* Override any GCC internal prototype to avoid an error.
12960 Use char because int might match the return type of a GCC
12961 builtin and then its argument prototype would still apply. */
12962 #ifdef __cplusplus
12963 extern "C"
12964 #endif
12965 char xmlParseMemory ();
12967 main ()
12969 return xmlParseMemory ();
12971 return 0;
12973 _ACEOF
12974 if ac_fn_c_try_link "$LINENO"; then :
12975 ac_cv_lib_xml2_xmlParseMemory=yes
12976 else
12977 ac_cv_lib_xml2_xmlParseMemory=no
12979 rm -f core conftest.err conftest.$ac_objext \
12980 conftest$ac_exeext conftest.$ac_ext
12981 LIBS=$ac_check_lib_save_LIBS
12983 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlParseMemory" >&5
12984 $as_echo "$ac_cv_lib_xml2_xmlParseMemory" >&6; }
12985 if test "x$ac_cv_lib_xml2_xmlParseMemory" = xyes; then :
12987 $as_echo "#define HAVE_LIBXML2 1" >>confdefs.h
12989 else
12990 XML2_LIBS=""
12993 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlReadMemory in -lxml2" >&5
12994 $as_echo_n "checking for xmlReadMemory in -lxml2... " >&6; }
12995 if ${ac_cv_lib_xml2_xmlReadMemory+:} false; then :
12996 $as_echo_n "(cached) " >&6
12997 else
12998 ac_check_lib_save_LIBS=$LIBS
12999 LIBS="-lxml2 $XML2_LIBS $LIBS"
13000 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13001 /* end confdefs.h. */
13003 /* Override any GCC internal prototype to avoid an error.
13004 Use char because int might match the return type of a GCC
13005 builtin and then its argument prototype would still apply. */
13006 #ifdef __cplusplus
13007 extern "C"
13008 #endif
13009 char xmlReadMemory ();
13011 main ()
13013 return xmlReadMemory ();
13015 return 0;
13017 _ACEOF
13018 if ac_fn_c_try_link "$LINENO"; then :
13019 ac_cv_lib_xml2_xmlReadMemory=yes
13020 else
13021 ac_cv_lib_xml2_xmlReadMemory=no
13023 rm -f core conftest.err conftest.$ac_objext \
13024 conftest$ac_exeext conftest.$ac_ext
13025 LIBS=$ac_check_lib_save_LIBS
13027 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlReadMemory" >&5
13028 $as_echo "$ac_cv_lib_xml2_xmlReadMemory" >&6; }
13029 if test "x$ac_cv_lib_xml2_xmlReadMemory" = xyes; then :
13031 $as_echo "#define HAVE_XMLREADMEMORY 1" >>confdefs.h
13035 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlNewDocPI in -lxml2" >&5
13036 $as_echo_n "checking for xmlNewDocPI in -lxml2... " >&6; }
13037 if ${ac_cv_lib_xml2_xmlNewDocPI+:} false; then :
13038 $as_echo_n "(cached) " >&6
13039 else
13040 ac_check_lib_save_LIBS=$LIBS
13041 LIBS="-lxml2 $XML2_LIBS $LIBS"
13042 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13043 /* end confdefs.h. */
13045 /* Override any GCC internal prototype to avoid an error.
13046 Use char because int might match the return type of a GCC
13047 builtin and then its argument prototype would still apply. */
13048 #ifdef __cplusplus
13049 extern "C"
13050 #endif
13051 char xmlNewDocPI ();
13053 main ()
13055 return xmlNewDocPI ();
13057 return 0;
13059 _ACEOF
13060 if ac_fn_c_try_link "$LINENO"; then :
13061 ac_cv_lib_xml2_xmlNewDocPI=yes
13062 else
13063 ac_cv_lib_xml2_xmlNewDocPI=no
13065 rm -f core conftest.err conftest.$ac_objext \
13066 conftest$ac_exeext conftest.$ac_ext
13067 LIBS=$ac_check_lib_save_LIBS
13069 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlNewDocPI" >&5
13070 $as_echo "$ac_cv_lib_xml2_xmlNewDocPI" >&6; }
13071 if test "x$ac_cv_lib_xml2_xmlNewDocPI" = xyes; then :
13073 $as_echo "#define HAVE_XMLNEWDOCPI 1" >>confdefs.h
13077 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlSchemaSetParserStructuredErrors in -lxml2" >&5
13078 $as_echo_n "checking for xmlSchemaSetParserStructuredErrors in -lxml2... " >&6; }
13079 if ${ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors+:} false; then :
13080 $as_echo_n "(cached) " >&6
13081 else
13082 ac_check_lib_save_LIBS=$LIBS
13083 LIBS="-lxml2 $XML2_LIBS $LIBS"
13084 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13085 /* end confdefs.h. */
13087 /* Override any GCC internal prototype to avoid an error.
13088 Use char because int might match the return type of a GCC
13089 builtin and then its argument prototype would still apply. */
13090 #ifdef __cplusplus
13091 extern "C"
13092 #endif
13093 char xmlSchemaSetParserStructuredErrors ();
13095 main ()
13097 return xmlSchemaSetParserStructuredErrors ();
13099 return 0;
13101 _ACEOF
13102 if ac_fn_c_try_link "$LINENO"; then :
13103 ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors=yes
13104 else
13105 ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors=no
13107 rm -f core conftest.err conftest.$ac_objext \
13108 conftest$ac_exeext conftest.$ac_ext
13109 LIBS=$ac_check_lib_save_LIBS
13111 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" >&5
13112 $as_echo "$ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" >&6; }
13113 if test "x$ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" = xyes; then :
13115 $as_echo "#define HAVE_XMLSCHEMASSETPARSERSTRUCTUREDERRORS 1" >>confdefs.h
13119 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlSchemaSetValidStructuredErrors in -lxml2" >&5
13120 $as_echo_n "checking for xmlSchemaSetValidStructuredErrors in -lxml2... " >&6; }
13121 if ${ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors+:} false; then :
13122 $as_echo_n "(cached) " >&6
13123 else
13124 ac_check_lib_save_LIBS=$LIBS
13125 LIBS="-lxml2 $XML2_LIBS $LIBS"
13126 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13127 /* end confdefs.h. */
13129 /* Override any GCC internal prototype to avoid an error.
13130 Use char because int might match the return type of a GCC
13131 builtin and then its argument prototype would still apply. */
13132 #ifdef __cplusplus
13133 extern "C"
13134 #endif
13135 char xmlSchemaSetValidStructuredErrors ();
13137 main ()
13139 return xmlSchemaSetValidStructuredErrors ();
13141 return 0;
13143 _ACEOF
13144 if ac_fn_c_try_link "$LINENO"; then :
13145 ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors=yes
13146 else
13147 ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors=no
13149 rm -f core conftest.err conftest.$ac_objext \
13150 conftest$ac_exeext conftest.$ac_ext
13151 LIBS=$ac_check_lib_save_LIBS
13153 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" >&5
13154 $as_echo "$ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" >&6; }
13155 if test "x$ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" = xyes; then :
13157 $as_echo "#define HAVE_XMLSCHEMASSETVALIDSTRUCTUREDERRORS 1" >>confdefs.h
13161 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlFirstElementChild in -lxml2" >&5
13162 $as_echo_n "checking for xmlFirstElementChild in -lxml2... " >&6; }
13163 if ${ac_cv_lib_xml2_xmlFirstElementChild+:} false; then :
13164 $as_echo_n "(cached) " >&6
13165 else
13166 ac_check_lib_save_LIBS=$LIBS
13167 LIBS="-lxml2 $XML2_LIBS $LIBS"
13168 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13169 /* end confdefs.h. */
13171 /* Override any GCC internal prototype to avoid an error.
13172 Use char because int might match the return type of a GCC
13173 builtin and then its argument prototype would still apply. */
13174 #ifdef __cplusplus
13175 extern "C"
13176 #endif
13177 char xmlFirstElementChild ();
13179 main ()
13181 return xmlFirstElementChild ();
13183 return 0;
13185 _ACEOF
13186 if ac_fn_c_try_link "$LINENO"; then :
13187 ac_cv_lib_xml2_xmlFirstElementChild=yes
13188 else
13189 ac_cv_lib_xml2_xmlFirstElementChild=no
13191 rm -f core conftest.err conftest.$ac_objext \
13192 conftest$ac_exeext conftest.$ac_ext
13193 LIBS=$ac_check_lib_save_LIBS
13195 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlFirstElementChild" >&5
13196 $as_echo "$ac_cv_lib_xml2_xmlFirstElementChild" >&6; }
13197 if test "x$ac_cv_lib_xml2_xmlFirstElementChild" = xyes; then :
13199 $as_echo "#define HAVE_XMLFIRSTELEMENTCHILD 1" >>confdefs.h
13203 ac_fn_c_check_type "$LINENO" "xmlDocProperties" "ac_cv_type_xmlDocProperties" "#include <libxml/tree.h>
13205 if test "x$ac_cv_type_xmlDocProperties" = xyes; then :
13207 $as_echo "#define HAVE_XMLDOC_PROPERTIES 1" >>confdefs.h
13211 else
13212 XML2_CFLAGS=""
13213 XML2_LIBS=""
13215 CPPFLAGS=$ac_save_CPPFLAGS
13218 if test "$ac_cv_lib_xml2_xmlParseMemory" != "yes"; then :
13219 case "x$with_xml" in
13220 x) as_fn_append wine_warnings "|libxml2 ${notice_platform}development files not found (or too old), XML won't be supported." ;;
13221 xno) ;;
13222 *) as_fn_error $? "libxml2 ${notice_platform}development files not found (or too old), XML won't be supported.
13223 This is an error since --with-xml was requested." "$LINENO" 5 ;;
13224 esac
13228 if test "x$with_xslt" != "xno"
13229 then
13230 if ${XSLT_CFLAGS:+false} :; then :
13231 if ${PKG_CONFIG+:} false; then :
13232 XSLT_CFLAGS=`$PKG_CONFIG --cflags libxslt 2>/dev/null`
13235 test "$cross_compiling" = yes || XSLT_CFLAGS=${XSLT_CFLAGS:-`${XSLT_CONFIG:-xslt-config} --cflags 2>/dev/null`}
13236 if ${XSLT_LIBS:+false} :; then :
13237 if ${PKG_CONFIG+:} false; then :
13238 XSLT_LIBS=`$PKG_CONFIG --libs libxslt 2>/dev/null`
13241 test "$cross_compiling" = yes || XSLT_LIBS=${XSLT_LIBS:-`${XSLT_CONFIG:-xslt-config} --libs 2>/dev/null`}
13242 XSLT_LIBS=${XSLT_LIBS:-"-lxml2"}
13243 $as_echo "$as_me:${as_lineno-$LINENO}: libxslt cflags: $XSLT_CFLAGS" >&5
13244 $as_echo "$as_me:${as_lineno-$LINENO}: libxslt libs: $XSLT_LIBS" >&5
13245 ac_save_CPPFLAGS=$CPPFLAGS
13246 CPPFLAGS="$CPPFLAGS $XSLT_CFLAGS"
13247 for ac_header in libxslt/pattern.h libxslt/transform.h
13248 do :
13249 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
13250 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_LIBXSLT_PATTERN_H
13251 # include <libxslt/pattern.h>
13252 #endif
13254 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
13255 cat >>confdefs.h <<_ACEOF
13256 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
13257 _ACEOF
13261 done
13263 if test "$ac_cv_header_libxslt_transform_h" = "yes"
13264 then
13265 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lxslt" >&5
13266 $as_echo_n "checking for -lxslt... " >&6; }
13267 if ${ac_cv_lib_soname_xslt+:} false; then :
13268 $as_echo_n "(cached) " >&6
13269 else
13270 ac_check_soname_save_LIBS=$LIBS
13271 LIBS="-lxslt $XSLT_LIBS $LIBS"
13272 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13273 /* end confdefs.h. */
13275 /* Override any GCC internal prototype to avoid an error.
13276 Use char because int might match the return type of a GCC
13277 builtin and then its argument prototype would still apply. */
13278 #ifdef __cplusplus
13279 extern "C"
13280 #endif
13281 char xsltCompilePattern ();
13283 main ()
13285 return xsltCompilePattern ();
13287 return 0;
13289 _ACEOF
13290 if ac_fn_c_try_link "$LINENO"; then :
13291 case "$LIBEXT" in
13292 dll) ac_cv_lib_soname_xslt=`$ac_cv_path_LDD conftest.exe | grep "xslt" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13293 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'` ;;
13294 *) ac_cv_lib_soname_xslt=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libxslt\\.$LIBEXT" | sed -e "s/^.*\\[\\(libxslt\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13295 if ${ac_cv_lib_soname_xslt:+false} :; then :
13296 ac_cv_lib_soname_xslt=`$LDD conftest$ac_exeext | grep "libxslt\\.$LIBEXT" | sed -e "s/^.*\(libxslt\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13297 fi ;;
13298 esac
13299 else
13300 ac_cv_lib_soname_xslt=
13302 rm -f core conftest.err conftest.$ac_objext \
13303 conftest$ac_exeext conftest.$ac_ext
13304 LIBS=$ac_check_soname_save_LIBS
13306 if ${ac_cv_lib_soname_xslt:+false} :; then :
13307 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13308 $as_echo "not found" >&6; }
13310 else
13311 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_xslt" >&5
13312 $as_echo "$ac_cv_lib_soname_xslt" >&6; }
13314 cat >>confdefs.h <<_ACEOF
13315 #define SONAME_LIBXSLT "$ac_cv_lib_soname_xslt"
13316 _ACEOF
13320 else
13321 XSLT_CFLAGS=""
13323 CPPFLAGS=$ac_save_CPPFLAGS
13326 if test "x$ac_cv_lib_soname_xslt" = "x"; then :
13327 case "x$with_xslt" in
13328 x) as_fn_append wine_warnings "|libxslt ${notice_platform}development files not found, xslt won't be supported." ;;
13329 xno) ;;
13330 *) as_fn_error $? "libxslt ${notice_platform}development files not found, xslt won't be supported.
13331 This is an error since --with-xslt was requested." "$LINENO" 5 ;;
13332 esac
13336 if test "x$with_inotify" != "xno"
13337 then
13338 if ${INOTIFY_CFLAGS:+false} :; then :
13339 if ${PKG_CONFIG+:} false; then :
13340 INOTIFY_CFLAGS=`$PKG_CONFIG --cflags libinotify 2>/dev/null`
13344 if ${INOTIFY_LIBS:+false} :; then :
13345 if ${PKG_CONFIG+:} false; then :
13346 INOTIFY_LIBS=`$PKG_CONFIG --libs libinotify 2>/dev/null`
13351 $as_echo "$as_me:${as_lineno-$LINENO}: libinotify cflags: $INOTIFY_CFLAGS" >&5
13352 $as_echo "$as_me:${as_lineno-$LINENO}: libinotify libs: $INOTIFY_LIBS" >&5
13353 ac_save_CPPFLAGS=$CPPFLAGS
13354 CPPFLAGS="$CPPFLAGS $INOTIFY_CFLAGS"
13355 for ac_header in sys/inotify.h
13356 do :
13357 ac_fn_c_check_header_mongrel "$LINENO" "sys/inotify.h" "ac_cv_header_sys_inotify_h" "$ac_includes_default"
13358 if test "x$ac_cv_header_sys_inotify_h" = xyes; then :
13359 cat >>confdefs.h <<_ACEOF
13360 #define HAVE_SYS_INOTIFY_H 1
13361 _ACEOF
13365 done
13367 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inotify_add_watch in -linotify" >&5
13368 $as_echo_n "checking for inotify_add_watch in -linotify... " >&6; }
13369 if ${ac_cv_lib_inotify_inotify_add_watch+:} false; then :
13370 $as_echo_n "(cached) " >&6
13371 else
13372 ac_check_lib_save_LIBS=$LIBS
13373 LIBS="-linotify $INOTIFY_LIBS $LIBS"
13374 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13375 /* end confdefs.h. */
13377 /* Override any GCC internal prototype to avoid an error.
13378 Use char because int might match the return type of a GCC
13379 builtin and then its argument prototype would still apply. */
13380 #ifdef __cplusplus
13381 extern "C"
13382 #endif
13383 char inotify_add_watch ();
13385 main ()
13387 return inotify_add_watch ();
13389 return 0;
13391 _ACEOF
13392 if ac_fn_c_try_link "$LINENO"; then :
13393 ac_cv_lib_inotify_inotify_add_watch=yes
13394 else
13395 ac_cv_lib_inotify_inotify_add_watch=no
13397 rm -f core conftest.err conftest.$ac_objext \
13398 conftest$ac_exeext conftest.$ac_ext
13399 LIBS=$ac_check_lib_save_LIBS
13401 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_inotify_inotify_add_watch" >&5
13402 $as_echo "$ac_cv_lib_inotify_inotify_add_watch" >&6; }
13403 if test "x$ac_cv_lib_inotify_inotify_add_watch" = xyes; then :
13405 else
13406 INOTIFY_LIBS=""
13409 CPPFLAGS=$ac_save_CPPFLAGS
13412 if test "$ac_cv_header_sys_inotify_h" != "yes"; then :
13413 case "x$with_inotify" in
13414 x) as_fn_append wine_notices "|libinotify ${notice_platform}development files not found (or too old), filesystem change notifications won't be supported." ;;
13415 xno) ;;
13416 *) as_fn_error $? "libinotify ${notice_platform}development files not found (or too old), filesystem change notifications won't be supported.
13417 This is an error since --with-inotify was requested." "$LINENO" 5 ;;
13418 esac
13422 if test "x$with_dbus" != "xno"
13423 then
13424 if ${DBUS_CFLAGS:+false} :; then :
13425 if ${PKG_CONFIG+:} false; then :
13426 DBUS_CFLAGS=`$PKG_CONFIG --cflags dbus-1 2>/dev/null`
13430 if ${DBUS_LIBS:+false} :; then :
13431 if ${PKG_CONFIG+:} false; then :
13432 DBUS_LIBS=`$PKG_CONFIG --libs dbus-1 2>/dev/null`
13437 $as_echo "$as_me:${as_lineno-$LINENO}: dbus-1 cflags: $DBUS_CFLAGS" >&5
13438 $as_echo "$as_me:${as_lineno-$LINENO}: dbus-1 libs: $DBUS_LIBS" >&5
13439 ac_save_CPPFLAGS=$CPPFLAGS
13440 CPPFLAGS="$CPPFLAGS $DBUS_CFLAGS"
13441 ac_fn_c_check_header_mongrel "$LINENO" "dbus/dbus.h" "ac_cv_header_dbus_dbus_h" "$ac_includes_default"
13442 if test "x$ac_cv_header_dbus_dbus_h" = xyes; then :
13443 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ldbus-1" >&5
13444 $as_echo_n "checking for -ldbus-1... " >&6; }
13445 if ${ac_cv_lib_soname_dbus_1+:} false; then :
13446 $as_echo_n "(cached) " >&6
13447 else
13448 ac_check_soname_save_LIBS=$LIBS
13449 LIBS="-ldbus-1 $DBUS_LIBS $LIBS"
13450 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13451 /* end confdefs.h. */
13453 /* Override any GCC internal prototype to avoid an error.
13454 Use char because int might match the return type of a GCC
13455 builtin and then its argument prototype would still apply. */
13456 #ifdef __cplusplus
13457 extern "C"
13458 #endif
13459 char dbus_connection_close ();
13461 main ()
13463 return dbus_connection_close ();
13465 return 0;
13467 _ACEOF
13468 if ac_fn_c_try_link "$LINENO"; then :
13469 case "$LIBEXT" in
13470 dll) ac_cv_lib_soname_dbus_1=`$ac_cv_path_LDD conftest.exe | grep "dbus-1" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13471 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'` ;;
13472 *) 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'`
13473 if ${ac_cv_lib_soname_dbus_1:+false} :; then :
13474 ac_cv_lib_soname_dbus_1=`$LDD conftest$ac_exeext | grep "libdbus-1\\.$LIBEXT" | sed -e "s/^.*\(libdbus-1\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13475 fi ;;
13476 esac
13477 else
13478 ac_cv_lib_soname_dbus_1=
13480 rm -f core conftest.err conftest.$ac_objext \
13481 conftest$ac_exeext conftest.$ac_ext
13482 LIBS=$ac_check_soname_save_LIBS
13484 if ${ac_cv_lib_soname_dbus_1:+false} :; then :
13485 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13486 $as_echo "not found" >&6; }
13487 DBUS_CFLAGS=""
13488 else
13489 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_dbus_1" >&5
13490 $as_echo "$ac_cv_lib_soname_dbus_1" >&6; }
13492 cat >>confdefs.h <<_ACEOF
13493 #define SONAME_LIBDBUS_1 "$ac_cv_lib_soname_dbus_1"
13494 _ACEOF
13498 else
13499 DBUS_CFLAGS=""
13503 CPPFLAGS=$ac_save_CPPFLAGS
13506 if test "x$ac_cv_lib_soname_dbus_1" = "x" -a \
13507 "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"; then :
13508 case "x$with_dbus" in
13509 x) as_fn_append wine_notices "|libdbus ${notice_platform}development files not found, no dynamic device support." ;;
13510 xno) ;;
13511 *) as_fn_error $? "libdbus ${notice_platform}development files not found, no dynamic device support.
13512 This is an error since --with-dbus was requested." "$LINENO" 5 ;;
13513 esac
13517 if test "x$with_hal" != "xno" -a "x$ac_cv_lib_soname_dbus_1" != x
13518 then
13519 if ${HAL_CFLAGS:+false} :; then :
13520 if ${PKG_CONFIG+:} false; then :
13521 HAL_CFLAGS=`$PKG_CONFIG --cflags hal 2>/dev/null`
13525 if ${HAL_LIBS:+false} :; then :
13526 if ${PKG_CONFIG+:} false; then :
13527 HAL_LIBS=`$PKG_CONFIG --libs hal 2>/dev/null`
13531 HAL_LIBS=${HAL_LIBS:-"-ldbus-1"}
13532 $as_echo "$as_me:${as_lineno-$LINENO}: hal cflags: $HAL_CFLAGS" >&5
13533 $as_echo "$as_me:${as_lineno-$LINENO}: hal libs: $HAL_LIBS" >&5
13534 ac_save_CPPFLAGS=$CPPFLAGS
13535 CPPFLAGS="$CPPFLAGS $HAL_CFLAGS"
13536 ac_fn_c_check_header_mongrel "$LINENO" "hal/libhal.h" "ac_cv_header_hal_libhal_h" "$ac_includes_default"
13537 if test "x$ac_cv_header_hal_libhal_h" = xyes; then :
13538 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lhal" >&5
13539 $as_echo_n "checking for -lhal... " >&6; }
13540 if ${ac_cv_lib_soname_hal+:} false; then :
13541 $as_echo_n "(cached) " >&6
13542 else
13543 ac_check_soname_save_LIBS=$LIBS
13544 LIBS="-lhal $HAL_LIBS $LIBS"
13545 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13546 /* end confdefs.h. */
13548 /* Override any GCC internal prototype to avoid an error.
13549 Use char because int might match the return type of a GCC
13550 builtin and then its argument prototype would still apply. */
13551 #ifdef __cplusplus
13552 extern "C"
13553 #endif
13554 char libhal_ctx_new ();
13556 main ()
13558 return libhal_ctx_new ();
13560 return 0;
13562 _ACEOF
13563 if ac_fn_c_try_link "$LINENO"; then :
13564 case "$LIBEXT" in
13565 dll) ac_cv_lib_soname_hal=`$ac_cv_path_LDD conftest.exe | grep "hal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13566 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'` ;;
13567 *) ac_cv_lib_soname_hal=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libhal\\.$LIBEXT" | sed -e "s/^.*\\[\\(libhal\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13568 if ${ac_cv_lib_soname_hal:+false} :; then :
13569 ac_cv_lib_soname_hal=`$LDD conftest$ac_exeext | grep "libhal\\.$LIBEXT" | sed -e "s/^.*\(libhal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13570 fi ;;
13571 esac
13572 else
13573 ac_cv_lib_soname_hal=
13575 rm -f core conftest.err conftest.$ac_objext \
13576 conftest$ac_exeext conftest.$ac_ext
13577 LIBS=$ac_check_soname_save_LIBS
13579 if ${ac_cv_lib_soname_hal:+false} :; then :
13580 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13581 $as_echo "not found" >&6; }
13582 HAL_CFLAGS=""
13583 else
13584 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_hal" >&5
13585 $as_echo "$ac_cv_lib_soname_hal" >&6; }
13587 cat >>confdefs.h <<_ACEOF
13588 #define SONAME_LIBHAL "$ac_cv_lib_soname_hal"
13589 _ACEOF
13593 else
13594 HAL_CFLAGS=""
13598 CPPFLAGS=$ac_save_CPPFLAGS
13600 if test "x$ac_cv_lib_soname_hal" = "x" -a \
13601 "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"; then :
13602 case "x$with_hal" in
13603 x) as_fn_append wine_notices "|libhal ${notice_platform}development files not found, no legacy dynamic device support." ;;
13604 xno) ;;
13605 *) as_fn_error $? "libhal ${notice_platform}development files not found, no legacy dynamic device support.
13606 This is an error since --with-hal was requested." "$LINENO" 5 ;;
13607 esac
13612 if test "x$with_gnutls" != "xno"
13613 then
13614 if ${GNUTLS_CFLAGS:+false} :; then :
13615 if ${PKG_CONFIG+:} false; then :
13616 GNUTLS_CFLAGS=`$PKG_CONFIG --cflags gnutls 2>/dev/null`
13620 if ${GNUTLS_LIBS:+false} :; then :
13621 if ${PKG_CONFIG+:} false; then :
13622 GNUTLS_LIBS=`$PKG_CONFIG --libs gnutls 2>/dev/null`
13626 GNUTLS_LIBS=${GNUTLS_LIBS:-"-lgnutls"}
13627 $as_echo "$as_me:${as_lineno-$LINENO}: gnutls cflags: $GNUTLS_CFLAGS" >&5
13628 $as_echo "$as_me:${as_lineno-$LINENO}: gnutls libs: $GNUTLS_LIBS" >&5
13629 ac_save_CPPFLAGS=$CPPFLAGS
13630 CPPFLAGS="$CPPFLAGS $GNUTLS_CFLAGS"
13631 ac_fn_c_check_header_mongrel "$LINENO" "gnutls/gnutls.h" "ac_cv_header_gnutls_gnutls_h" "$ac_includes_default"
13632 if test "x$ac_cv_header_gnutls_gnutls_h" = xyes; then :
13633 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13634 /* end confdefs.h. */
13635 #include <gnutls/gnutls.h>
13636 #include <gnutls/crypto.h>
13638 main ()
13640 static typeof(gnutls_mac_get_key_size) *func; if (func) return 0;
13642 return 0;
13644 _ACEOF
13645 if ac_fn_c_try_compile "$LINENO"; then :
13646 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgnutls" >&5
13647 $as_echo_n "checking for -lgnutls... " >&6; }
13648 if ${ac_cv_lib_soname_gnutls+:} false; then :
13649 $as_echo_n "(cached) " >&6
13650 else
13651 ac_check_soname_save_LIBS=$LIBS
13652 LIBS="-lgnutls $GNUTLS_LIBS $LIBS"
13653 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13654 /* end confdefs.h. */
13656 /* Override any GCC internal prototype to avoid an error.
13657 Use char because int might match the return type of a GCC
13658 builtin and then its argument prototype would still apply. */
13659 #ifdef __cplusplus
13660 extern "C"
13661 #endif
13662 char gnutls_global_init ();
13664 main ()
13666 return gnutls_global_init ();
13668 return 0;
13670 _ACEOF
13671 if ac_fn_c_try_link "$LINENO"; then :
13672 case "$LIBEXT" in
13673 dll) ac_cv_lib_soname_gnutls=`$ac_cv_path_LDD conftest.exe | grep "gnutls" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13674 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'` ;;
13675 *) 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'`
13676 if ${ac_cv_lib_soname_gnutls:+false} :; then :
13677 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'`
13678 fi ;;
13679 esac
13680 else
13681 ac_cv_lib_soname_gnutls=
13683 rm -f core conftest.err conftest.$ac_objext \
13684 conftest$ac_exeext conftest.$ac_ext
13685 LIBS=$ac_check_soname_save_LIBS
13687 if ${ac_cv_lib_soname_gnutls:+false} :; then :
13688 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13689 $as_echo "not found" >&6; }
13690 GNUTLS_CFLAGS=""
13691 else
13692 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gnutls" >&5
13693 $as_echo "$ac_cv_lib_soname_gnutls" >&6; }
13695 cat >>confdefs.h <<_ACEOF
13696 #define SONAME_LIBGNUTLS "$ac_cv_lib_soname_gnutls"
13697 _ACEOF
13701 ac_wine_check_funcs_save_LIBS="$LIBS"
13702 LIBS="$LIBS $GNUTLS_LIBS"
13703 for ac_func in gnutls_cipher_init
13704 do :
13705 ac_fn_c_check_func "$LINENO" "gnutls_cipher_init" "ac_cv_func_gnutls_cipher_init"
13706 if test "x$ac_cv_func_gnutls_cipher_init" = xyes; then :
13707 cat >>confdefs.h <<_ACEOF
13708 #define HAVE_GNUTLS_CIPHER_INIT 1
13709 _ACEOF
13711 else
13712 as_fn_append wine_notices "|libgnutls ${notice_platform}development files too old, bcrypt encryption won't be supported."
13714 done
13716 LIBS="$ac_wine_check_funcs_save_LIBS"
13718 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13719 else
13720 GNUTLS_CFLAGS=""
13724 CPPFLAGS=$ac_save_CPPFLAGS
13727 if test "x$ac_cv_lib_soname_gnutls" = "x"; then :
13728 case "x$with_gnutls" in
13729 x) as_fn_append wine_warnings "|libgnutls ${notice_platform}development files not found, no schannel support." ;;
13730 xno) ;;
13731 *) as_fn_error $? "libgnutls ${notice_platform}development files not found, no schannel support.
13732 This is an error since --with-gnutls was requested." "$LINENO" 5 ;;
13733 esac
13737 if test "x$with_sane" != "xno"
13738 then
13739 if ${SANE_CFLAGS:+false} :; then :
13740 if ${PKG_CONFIG+:} false; then :
13741 SANE_CFLAGS=`$PKG_CONFIG --cflags sane-backends 2>/dev/null`
13744 test "$cross_compiling" = yes || SANE_CFLAGS=${SANE_CFLAGS:-`${SANE_CONFIG:-sane-config} --cflags 2>/dev/null`}
13745 if ${SANE_LIBS:+false} :; then :
13746 if ${PKG_CONFIG+:} false; then :
13747 SANE_LIBS=`$PKG_CONFIG --libs sane-backends 2>/dev/null`
13750 test "$cross_compiling" = yes || SANE_LIBS=${SANE_LIBS:-`${SANE_CONFIG:-sane-config} --ldflags 2>/dev/null`}
13752 $as_echo "$as_me:${as_lineno-$LINENO}: sane-backends cflags: $SANE_CFLAGS" >&5
13753 $as_echo "$as_me:${as_lineno-$LINENO}: sane-backends libs: $SANE_LIBS" >&5
13754 ac_save_CPPFLAGS=$CPPFLAGS
13755 CPPFLAGS="$CPPFLAGS $SANE_CFLAGS"
13756 ac_fn_c_check_header_mongrel "$LINENO" "sane/sane.h" "ac_cv_header_sane_sane_h" "$ac_includes_default"
13757 if test "x$ac_cv_header_sane_sane_h" = xyes; then :
13758 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lsane" >&5
13759 $as_echo_n "checking for -lsane... " >&6; }
13760 if ${ac_cv_lib_soname_sane+:} false; then :
13761 $as_echo_n "(cached) " >&6
13762 else
13763 ac_check_soname_save_LIBS=$LIBS
13764 LIBS="-lsane $SANE_LIBS $LIBS"
13765 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13766 /* end confdefs.h. */
13768 /* Override any GCC internal prototype to avoid an error.
13769 Use char because int might match the return type of a GCC
13770 builtin and then its argument prototype would still apply. */
13771 #ifdef __cplusplus
13772 extern "C"
13773 #endif
13774 char sane_init ();
13776 main ()
13778 return sane_init ();
13780 return 0;
13782 _ACEOF
13783 if ac_fn_c_try_link "$LINENO"; then :
13784 case "$LIBEXT" in
13785 dll) ac_cv_lib_soname_sane=`$ac_cv_path_LDD conftest.exe | grep "sane" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13786 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'` ;;
13787 *) ac_cv_lib_soname_sane=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libsane\\.$LIBEXT" | sed -e "s/^.*\\[\\(libsane\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13788 if ${ac_cv_lib_soname_sane:+false} :; then :
13789 ac_cv_lib_soname_sane=`$LDD conftest$ac_exeext | grep "libsane\\.$LIBEXT" | sed -e "s/^.*\(libsane\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13790 fi ;;
13791 esac
13792 else
13793 ac_cv_lib_soname_sane=
13795 rm -f core conftest.err conftest.$ac_objext \
13796 conftest$ac_exeext conftest.$ac_ext
13797 LIBS=$ac_check_soname_save_LIBS
13799 if ${ac_cv_lib_soname_sane:+false} :; then :
13800 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13801 $as_echo "not found" >&6; }
13802 SANE_CFLAGS=""
13803 else
13804 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_sane" >&5
13805 $as_echo "$ac_cv_lib_soname_sane" >&6; }
13807 cat >>confdefs.h <<_ACEOF
13808 #define SONAME_LIBSANE "$ac_cv_lib_soname_sane"
13809 _ACEOF
13813 else
13814 SANE_CFLAGS=""
13818 CPPFLAGS=$ac_save_CPPFLAGS
13821 if test "x$ac_cv_lib_soname_sane" = "x"; then :
13822 case "x$with_sane" in
13823 x) as_fn_append wine_notices "|libsane ${notice_platform}development files not found, scanners won't be supported." ;;
13824 xno) ;;
13825 *) as_fn_error $? "libsane ${notice_platform}development files not found, scanners won't be supported.
13826 This is an error since --with-sane was requested." "$LINENO" 5 ;;
13827 esac
13831 if test "x$with_usb" != "xno"
13832 then
13833 if ${USB_CFLAGS:+false} :; then :
13834 if ${PKG_CONFIG+:} false; then :
13835 USB_CFLAGS=`$PKG_CONFIG --cflags libusb-1.0 2>/dev/null`
13839 if ${USB_LIBS:+false} :; then :
13840 if ${PKG_CONFIG+:} false; then :
13841 USB_LIBS=`$PKG_CONFIG --libs libusb-1.0 2>/dev/null`
13845 USB_LIBS=${USB_LIBS:-"-lusb-1.0"}
13846 $as_echo "$as_me:${as_lineno-$LINENO}: libusb-1.0 cflags: $USB_CFLAGS" >&5
13847 $as_echo "$as_me:${as_lineno-$LINENO}: libusb-1.0 libs: $USB_LIBS" >&5
13848 ac_save_CPPFLAGS=$CPPFLAGS
13849 CPPFLAGS="$CPPFLAGS $USB_CFLAGS"
13850 ac_fn_c_check_header_mongrel "$LINENO" "libusb.h" "ac_cv_header_libusb_h" "$ac_includes_default"
13851 if test "x$ac_cv_header_libusb_h" = xyes; then :
13852 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libusb_interrupt_event_handler in -lusb-1.0" >&5
13853 $as_echo_n "checking for libusb_interrupt_event_handler in -lusb-1.0... " >&6; }
13854 if ${ac_cv_lib_usb_1_0_libusb_interrupt_event_handler+:} false; then :
13855 $as_echo_n "(cached) " >&6
13856 else
13857 ac_check_lib_save_LIBS=$LIBS
13858 LIBS="-lusb-1.0 $USB_LIBS $LIBS"
13859 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13860 /* end confdefs.h. */
13862 /* Override any GCC internal prototype to avoid an error.
13863 Use char because int might match the return type of a GCC
13864 builtin and then its argument prototype would still apply. */
13865 #ifdef __cplusplus
13866 extern "C"
13867 #endif
13868 char libusb_interrupt_event_handler ();
13870 main ()
13872 return libusb_interrupt_event_handler ();
13874 return 0;
13876 _ACEOF
13877 if ac_fn_c_try_link "$LINENO"; then :
13878 ac_cv_lib_usb_1_0_libusb_interrupt_event_handler=yes
13879 else
13880 ac_cv_lib_usb_1_0_libusb_interrupt_event_handler=no
13882 rm -f core conftest.err conftest.$ac_objext \
13883 conftest$ac_exeext conftest.$ac_ext
13884 LIBS=$ac_check_lib_save_LIBS
13886 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_usb_1_0_libusb_interrupt_event_handler" >&5
13887 $as_echo "$ac_cv_lib_usb_1_0_libusb_interrupt_event_handler" >&6; }
13888 if test "x$ac_cv_lib_usb_1_0_libusb_interrupt_event_handler" = xyes; then :
13890 else
13891 USB_LIBS=""
13894 else
13895 USB_LIBS=""
13899 CPPFLAGS=$ac_save_CPPFLAGS
13902 if test "$ac_cv_lib_usb_1_0_libusb_interrupt_event_handler" != "yes"; then :
13903 case "x$with_usb" in
13904 x) as_fn_append wine_notices "|libusb-1.0 ${notice_platform}development files not found (or too old), USB devices won't be supported." ;;
13905 xno) ;;
13906 *) as_fn_error $? "libusb-1.0 ${notice_platform}development files not found (or too old), USB devices won't be supported.
13907 This is an error since --with-usb was requested." "$LINENO" 5 ;;
13908 esac
13909 enable_wineusb_sys=${enable_wineusb_sys:-no}
13912 if test "x$with_v4l2" != "xno"
13913 then
13914 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lv4l2" >&5
13915 $as_echo_n "checking for -lv4l2... " >&6; }
13916 if ${ac_cv_lib_soname_v4l2+:} false; then :
13917 $as_echo_n "(cached) " >&6
13918 else
13919 ac_check_soname_save_LIBS=$LIBS
13920 LIBS="-lv4l2 $LIBS"
13921 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13922 /* end confdefs.h. */
13924 /* Override any GCC internal prototype to avoid an error.
13925 Use char because int might match the return type of a GCC
13926 builtin and then its argument prototype would still apply. */
13927 #ifdef __cplusplus
13928 extern "C"
13929 #endif
13930 char v4l2_open ();
13932 main ()
13934 return v4l2_open ();
13936 return 0;
13938 _ACEOF
13939 if ac_fn_c_try_link "$LINENO"; then :
13940 case "$LIBEXT" in
13941 dll) ac_cv_lib_soname_v4l2=`$ac_cv_path_LDD conftest.exe | grep "v4l2" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13942 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'` ;;
13943 *) ac_cv_lib_soname_v4l2=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libv4l2\\.$LIBEXT" | sed -e "s/^.*\\[\\(libv4l2\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13944 if ${ac_cv_lib_soname_v4l2:+false} :; then :
13945 ac_cv_lib_soname_v4l2=`$LDD conftest$ac_exeext | grep "libv4l2\\.$LIBEXT" | sed -e "s/^.*\(libv4l2\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13946 fi ;;
13947 esac
13948 else
13949 ac_cv_lib_soname_v4l2=
13951 rm -f core conftest.err conftest.$ac_objext \
13952 conftest$ac_exeext conftest.$ac_ext
13953 LIBS=$ac_check_soname_save_LIBS
13955 if ${ac_cv_lib_soname_v4l2:+false} :; then :
13956 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13957 $as_echo "not found" >&6; }
13959 else
13960 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_v4l2" >&5
13961 $as_echo "$ac_cv_lib_soname_v4l2" >&6; }
13963 cat >>confdefs.h <<_ACEOF
13964 #define SONAME_LIBV4L2 "$ac_cv_lib_soname_v4l2"
13965 _ACEOF
13970 if test "x$ac_cv_lib_soname_v4l2" = "x"; then :
13971 case "x$with_v4l2" in
13972 x) as_fn_append wine_notices "|libv4l2 ${notice_platform}development files not found." ;;
13973 xno) ;;
13974 *) as_fn_error $? "libv4l2 ${notice_platform}development files not found.
13975 This is an error since --with-v4l2 was requested." "$LINENO" 5 ;;
13976 esac
13980 if test "x$with_gphoto" != "xno"
13981 then
13982 if ${GPHOTO2_CFLAGS:+false} :; then :
13983 if ${PKG_CONFIG+:} false; then :
13984 GPHOTO2_CFLAGS=`$PKG_CONFIG --cflags libgphoto2 2>/dev/null`
13987 test "$cross_compiling" = yes || GPHOTO2_CFLAGS=${GPHOTO2_CFLAGS:-`${GPHOTO2_CONFIG:-gphoto2-config} --cflags 2>/dev/null`}
13988 if ${GPHOTO2_LIBS:+false} :; then :
13989 if ${PKG_CONFIG+:} false; then :
13990 GPHOTO2_LIBS=`$PKG_CONFIG --libs libgphoto2 2>/dev/null`
13993 test "$cross_compiling" = yes || GPHOTO2_LIBS=${GPHOTO2_LIBS:-`${GPHOTO2_CONFIG:-gphoto2-config} --libs 2>/dev/null`}
13994 GPHOTO2_LIBS=${GPHOTO2_LIBS:-"-lgphoto2"}
13995 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2 cflags: $GPHOTO2_CFLAGS" >&5
13996 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2 libs: $GPHOTO2_LIBS" >&5
13997 ac_save_CPPFLAGS=$CPPFLAGS
13998 CPPFLAGS="$CPPFLAGS $GPHOTO2_CFLAGS"
13999 ac_fn_c_check_header_mongrel "$LINENO" "gphoto2-camera.h" "ac_cv_header_gphoto2_camera_h" "$ac_includes_default"
14000 if test "x$ac_cv_header_gphoto2_camera_h" = xyes; then :
14001 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gp_camera_new in -lgphoto2" >&5
14002 $as_echo_n "checking for gp_camera_new in -lgphoto2... " >&6; }
14003 if ${ac_cv_lib_gphoto2_gp_camera_new+:} false; then :
14004 $as_echo_n "(cached) " >&6
14005 else
14006 ac_check_lib_save_LIBS=$LIBS
14007 LIBS="-lgphoto2 $GPHOTO2_LIBS $LIBS"
14008 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14009 /* end confdefs.h. */
14011 /* Override any GCC internal prototype to avoid an error.
14012 Use char because int might match the return type of a GCC
14013 builtin and then its argument prototype would still apply. */
14014 #ifdef __cplusplus
14015 extern "C"
14016 #endif
14017 char gp_camera_new ();
14019 main ()
14021 return gp_camera_new ();
14023 return 0;
14025 _ACEOF
14026 if ac_fn_c_try_link "$LINENO"; then :
14027 ac_cv_lib_gphoto2_gp_camera_new=yes
14028 else
14029 ac_cv_lib_gphoto2_gp_camera_new=no
14031 rm -f core conftest.err conftest.$ac_objext \
14032 conftest$ac_exeext conftest.$ac_ext
14033 LIBS=$ac_check_lib_save_LIBS
14035 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_gp_camera_new" >&5
14036 $as_echo "$ac_cv_lib_gphoto2_gp_camera_new" >&6; }
14037 if test "x$ac_cv_lib_gphoto2_gp_camera_new" = xyes; then :
14039 $as_echo "#define HAVE_GPHOTO2 1" >>confdefs.h
14041 else
14042 GPHOTO2_LIBS=""; GPHOTO2_CFLAGS=""
14045 else
14046 GPHOTO2_LIBS=""; GPHOTO2_CFLAGS=""
14050 CPPFLAGS=$ac_save_CPPFLAGS
14052 if ${GPHOTO2_PORT_CFLAGS:+false} :; then :
14053 if ${PKG_CONFIG+:} false; then :
14054 GPHOTO2_PORT_CFLAGS=`$PKG_CONFIG --cflags libgphoto2_port 2>/dev/null`
14057 test "$cross_compiling" = yes || GPHOTO2_PORT_CFLAGS=${GPHOTO2_PORT_CFLAGS:-`${GPHOTO2_PORT_CONFIG:-gphoto2-port-config} --cflags 2>/dev/null`}
14058 if ${GPHOTO2_PORT_LIBS:+false} :; then :
14059 if ${PKG_CONFIG+:} false; then :
14060 GPHOTO2_PORT_LIBS=`$PKG_CONFIG --libs libgphoto2_port 2>/dev/null`
14063 test "$cross_compiling" = yes || GPHOTO2_PORT_LIBS=${GPHOTO2_PORT_LIBS:-`${GPHOTO2_PORT_CONFIG:-gphoto2-port-config} --libs 2>/dev/null`}
14064 GPHOTO2_PORT_LIBS=${GPHOTO2_PORT_LIBS:-"-lgphoto2_port"}
14065 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2_port cflags: $GPHOTO2_PORT_CFLAGS" >&5
14066 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2_port libs: $GPHOTO2_PORT_LIBS" >&5
14067 ac_save_CPPFLAGS=$CPPFLAGS
14068 CPPFLAGS="$CPPFLAGS $GPHOTO2_PORT_CFLAGS"
14069 ac_fn_c_check_header_mongrel "$LINENO" "gphoto2-port.h" "ac_cv_header_gphoto2_port_h" "$ac_includes_default"
14070 if test "x$ac_cv_header_gphoto2_port_h" = xyes; then :
14071 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gp_port_info_list_new in -lgphoto2_port" >&5
14072 $as_echo_n "checking for gp_port_info_list_new in -lgphoto2_port... " >&6; }
14073 if ${ac_cv_lib_gphoto2_port_gp_port_info_list_new+:} false; then :
14074 $as_echo_n "(cached) " >&6
14075 else
14076 ac_check_lib_save_LIBS=$LIBS
14077 LIBS="-lgphoto2_port $GPHOTO2_PORT_LIBS $LIBS"
14078 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14079 /* end confdefs.h. */
14081 /* Override any GCC internal prototype to avoid an error.
14082 Use char because int might match the return type of a GCC
14083 builtin and then its argument prototype would still apply. */
14084 #ifdef __cplusplus
14085 extern "C"
14086 #endif
14087 char gp_port_info_list_new ();
14089 main ()
14091 return gp_port_info_list_new ();
14093 return 0;
14095 _ACEOF
14096 if ac_fn_c_try_link "$LINENO"; then :
14097 ac_cv_lib_gphoto2_port_gp_port_info_list_new=yes
14098 else
14099 ac_cv_lib_gphoto2_port_gp_port_info_list_new=no
14101 rm -f core conftest.err conftest.$ac_objext \
14102 conftest$ac_exeext conftest.$ac_ext
14103 LIBS=$ac_check_lib_save_LIBS
14105 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&5
14106 $as_echo "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&6; }
14107 if test "x$ac_cv_lib_gphoto2_port_gp_port_info_list_new" = xyes; then :
14109 $as_echo "#define HAVE_GPHOTO2_PORT 1" >>confdefs.h
14111 else
14112 GPHOTO2_PORT_LIBS=""; GPHOTO2_PORT_CFLAGS=""
14115 else
14116 GPHOTO2_PORT_LIBS=""; GPHOTO2_PORT_CFLAGS=""
14120 CPPFLAGS=$ac_save_CPPFLAGS
14123 if test "$ac_cv_lib_gphoto2_gp_camera_new" != "yes"; then :
14124 case "x$with_gphoto" in
14125 x) as_fn_append wine_notices "|libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported." ;;
14126 xno) ;;
14127 *) as_fn_error $? "libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported.
14128 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
14129 esac
14132 if test "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" != "yes"; then :
14133 case "x$with_gphoto" in
14134 x) as_fn_append wine_notices "|libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected." ;;
14135 xno) ;;
14136 *) as_fn_error $? "libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected.
14137 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
14138 esac
14143 if test "$ac_cv_header_resolv_h" = "yes"
14144 then
14145 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for resolver library" >&5
14146 $as_echo_n "checking for resolver library... " >&6; }
14147 if ${ac_cv_have_resolv+:} false; then :
14148 $as_echo_n "(cached) " >&6
14149 else
14150 ac_save_LIBS="$LIBS"
14151 for lib in '' -lresolv
14153 LIBS="$lib $ac_save_LIBS"
14154 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14155 /* end confdefs.h. */
14156 #ifdef HAVE_NETINET_IN_H
14157 #include <netinet/in.h>
14158 #endif
14159 #include <resolv.h>
14161 main ()
14163 if (!(_res.options & RES_INIT)) res_init(); res_query("foo",ns_c_in,0,0,0)
14165 return 0;
14167 _ACEOF
14168 if ac_fn_c_try_link "$LINENO"; then :
14169 ac_cv_have_resolv=${lib:-"none required"}
14170 else
14171 ac_cv_have_resolv="not found"
14173 rm -f core conftest.err conftest.$ac_objext \
14174 conftest$ac_exeext conftest.$ac_ext
14175 test "x$ac_cv_have_resolv" = "xnot found" || break
14176 done
14177 LIBS="$ac_save_LIBS"
14179 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_resolv" >&5
14180 $as_echo "$ac_cv_have_resolv" >&6; }
14182 case "$ac_cv_have_resolv" in
14183 "not found") ;;
14184 "none required")
14186 $as_echo "#define HAVE_RESOLV 1" >>confdefs.h
14189 $as_echo "#define HAVE_RESOLV 1" >>confdefs.h
14191 RESOLV_LIBS=$ac_cv_have_resolv
14193 esac
14195 if test "x$ac_cv_have_resolv" != "xnot found"
14196 then
14197 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for res_getservers" >&5
14198 $as_echo_n "checking for res_getservers... " >&6; }
14199 if ${ac_cv_have_res_getservers+:} false; then :
14200 $as_echo_n "(cached) " >&6
14201 else
14202 ac_save_LIBS="$LIBS"
14203 LIBS="$RESOLV_LIBS $LIBS"
14204 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14205 /* end confdefs.h. */
14206 #include <resolv.h>
14208 main ()
14210 res_getservers(NULL, NULL, 0);
14212 return 0;
14214 _ACEOF
14215 if ac_fn_c_try_link "$LINENO"; then :
14216 ac_cv_have_res_getservers=yes
14217 else
14218 ac_cv_have_res_getservers=no
14220 rm -f core conftest.err conftest.$ac_objext \
14221 conftest$ac_exeext conftest.$ac_ext
14222 LIBS="$ac_save_LIBS"
14224 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_res_getservers" >&5
14225 $as_echo "$ac_cv_have_res_getservers" >&6; }
14226 if test "$ac_cv_have_res_getservers" = "yes"
14227 then
14229 $as_echo "#define HAVE_RES_GETSERVERS 1" >>confdefs.h
14235 if test "x$with_cms" != "xno"
14236 then
14237 if ${LCMS2_CFLAGS:+false} :; then :
14238 if ${PKG_CONFIG+:} false; then :
14239 LCMS2_CFLAGS=`$PKG_CONFIG --cflags lcms2 2>/dev/null`
14243 if ${LCMS2_LIBS:+false} :; then :
14244 if ${PKG_CONFIG+:} false; then :
14245 LCMS2_LIBS=`$PKG_CONFIG --libs lcms2 2>/dev/null`
14249 LCMS2_LIBS=${LCMS2_LIBS:-"-llcms2"}
14250 $as_echo "$as_me:${as_lineno-$LINENO}: lcms2 cflags: $LCMS2_CFLAGS" >&5
14251 $as_echo "$as_me:${as_lineno-$LINENO}: lcms2 libs: $LCMS2_LIBS" >&5
14252 ac_save_CPPFLAGS=$CPPFLAGS
14253 CPPFLAGS="$CPPFLAGS $LCMS2_CFLAGS"
14254 for ac_header in lcms2.h
14255 do :
14256 ac_fn_c_check_header_mongrel "$LINENO" "lcms2.h" "ac_cv_header_lcms2_h" "$ac_includes_default"
14257 if test "x$ac_cv_header_lcms2_h" = xyes; then :
14258 cat >>confdefs.h <<_ACEOF
14259 #define HAVE_LCMS2_H 1
14260 _ACEOF
14264 done
14266 if test "$ac_cv_header_lcms2_h" = "yes"
14267 then
14268 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cmsOpenProfileFromFile in -llcms2" >&5
14269 $as_echo_n "checking for cmsOpenProfileFromFile in -llcms2... " >&6; }
14270 if ${ac_cv_lib_lcms2_cmsOpenProfileFromFile+:} false; then :
14271 $as_echo_n "(cached) " >&6
14272 else
14273 ac_check_lib_save_LIBS=$LIBS
14274 LIBS="-llcms2 $LCMS2_LIBS $LIBS"
14275 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14276 /* end confdefs.h. */
14278 /* Override any GCC internal prototype to avoid an error.
14279 Use char because int might match the return type of a GCC
14280 builtin and then its argument prototype would still apply. */
14281 #ifdef __cplusplus
14282 extern "C"
14283 #endif
14284 char cmsOpenProfileFromFile ();
14286 main ()
14288 return cmsOpenProfileFromFile ();
14290 return 0;
14292 _ACEOF
14293 if ac_fn_c_try_link "$LINENO"; then :
14294 ac_cv_lib_lcms2_cmsOpenProfileFromFile=yes
14295 else
14296 ac_cv_lib_lcms2_cmsOpenProfileFromFile=no
14298 rm -f core conftest.err conftest.$ac_objext \
14299 conftest$ac_exeext conftest.$ac_ext
14300 LIBS=$ac_check_lib_save_LIBS
14302 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lcms2_cmsOpenProfileFromFile" >&5
14303 $as_echo "$ac_cv_lib_lcms2_cmsOpenProfileFromFile" >&6; }
14304 if test "x$ac_cv_lib_lcms2_cmsOpenProfileFromFile" = xyes; then :
14306 $as_echo "#define HAVE_LCMS2 1" >>confdefs.h
14308 else
14309 LCMS2_LIBS=""
14312 else
14313 LCMS2_CFLAGS=""
14314 LCMS2_LIBS=""
14316 CPPFLAGS=$ac_save_CPPFLAGS
14319 if test "$ac_cv_lib_lcms2_cmsOpenProfileFromFile" != "yes"; then :
14320 case "x$with_cms" in
14321 x) as_fn_append wine_notices "|liblcms2 ${notice_platform}development files not found, Color Management won't be supported." ;;
14322 xno) ;;
14323 *) as_fn_error $? "liblcms2 ${notice_platform}development files not found, Color Management won't be supported.
14324 This is an error since --with-cms was requested." "$LINENO" 5 ;;
14325 esac
14329 if test "x$with_freetype" != "xno"
14330 then
14331 if ${FREETYPE_CFLAGS:+false} :; then :
14332 if ${PKG_CONFIG+:} false; then :
14333 FREETYPE_CFLAGS=`$PKG_CONFIG --cflags freetype2 2>/dev/null`
14336 test "$cross_compiling" = yes || FREETYPE_CFLAGS=${FREETYPE_CFLAGS:-`(${FREETYPE_CONFIG:-freetype-config} --cflags || ${FREETYPE2_CONFIG:-freetype2-config} --cflags) 2>/dev/null`}
14337 if ${FREETYPE_LIBS:+false} :; then :
14338 if ${PKG_CONFIG+:} false; then :
14339 FREETYPE_LIBS=`$PKG_CONFIG --libs freetype2 2>/dev/null`
14342 test "$cross_compiling" = yes || FREETYPE_LIBS=${FREETYPE_LIBS:-`(${FREETYPE_CONFIG:-freetype-config} --libs || ${FREETYPE2_CONFIG:-freetype2-config} --libs) 2>/dev/null`}
14343 FREETYPE_LIBS=${FREETYPE_LIBS:-"-lfreetype"}
14344 $as_echo "$as_me:${as_lineno-$LINENO}: freetype2 cflags: $FREETYPE_CFLAGS" >&5
14345 $as_echo "$as_me:${as_lineno-$LINENO}: freetype2 libs: $FREETYPE_LIBS" >&5
14346 ac_save_CPPFLAGS=$CPPFLAGS
14347 CPPFLAGS="$CPPFLAGS $FREETYPE_CFLAGS"
14348 for ac_header in ft2build.h
14349 do :
14350 ac_fn_c_check_header_mongrel "$LINENO" "ft2build.h" "ac_cv_header_ft2build_h" "$ac_includes_default"
14351 if test "x$ac_cv_header_ft2build_h" = xyes; then :
14352 cat >>confdefs.h <<_ACEOF
14353 #define HAVE_FT2BUILD_H 1
14354 _ACEOF
14358 done
14360 if test "$ac_cv_header_ft2build_h" = "yes"
14361 then
14362 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfreetype" >&5
14363 $as_echo_n "checking for -lfreetype... " >&6; }
14364 if ${ac_cv_lib_soname_freetype+:} false; then :
14365 $as_echo_n "(cached) " >&6
14366 else
14367 ac_check_soname_save_LIBS=$LIBS
14368 LIBS="-lfreetype $FREETYPE_LIBS $LIBS"
14369 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14370 /* end confdefs.h. */
14372 /* Override any GCC internal prototype to avoid an error.
14373 Use char because int might match the return type of a GCC
14374 builtin and then its argument prototype would still apply. */
14375 #ifdef __cplusplus
14376 extern "C"
14377 #endif
14378 char FT_Init_FreeType ();
14380 main ()
14382 return FT_Init_FreeType ();
14384 return 0;
14386 _ACEOF
14387 if ac_fn_c_try_link "$LINENO"; then :
14388 case "$LIBEXT" in
14389 dll) ac_cv_lib_soname_freetype=`$ac_cv_path_LDD conftest.exe | grep "freetype" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14390 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'` ;;
14391 *) ac_cv_lib_soname_freetype=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfreetype\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfreetype\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14392 if ${ac_cv_lib_soname_freetype:+false} :; then :
14393 ac_cv_lib_soname_freetype=`$LDD conftest$ac_exeext | grep "libfreetype\\.$LIBEXT" | sed -e "s/^.*\(libfreetype\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14394 fi ;;
14395 esac
14396 else
14397 ac_cv_lib_soname_freetype=
14399 rm -f core conftest.err conftest.$ac_objext \
14400 conftest$ac_exeext conftest.$ac_ext
14401 LIBS=$ac_check_soname_save_LIBS
14403 if ${ac_cv_lib_soname_freetype:+false} :; then :
14404 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14405 $as_echo "not found" >&6; }
14406 FREETYPE_LIBS=""
14407 else
14408 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_freetype" >&5
14409 $as_echo "$ac_cv_lib_soname_freetype" >&6; }
14411 cat >>confdefs.h <<_ACEOF
14412 #define SONAME_LIBFREETYPE "$ac_cv_lib_soname_freetype"
14413 _ACEOF
14416 $as_echo "#define HAVE_FREETYPE 1" >>confdefs.h
14418 ac_fn_c_check_type "$LINENO" "FT_TrueTypeEngineType" "ac_cv_type_FT_TrueTypeEngineType" "#include <ft2build.h>
14419 #include FT_MODULE_H
14421 if test "x$ac_cv_type_FT_TrueTypeEngineType" = xyes; then :
14423 cat >>confdefs.h <<_ACEOF
14424 #define HAVE_FT_TRUETYPEENGINETYPE 1
14425 _ACEOF
14431 else
14432 FREETYPE_CFLAGS=""
14433 FREETYPE_LIBS=""
14435 CPPFLAGS=$ac_save_CPPFLAGS
14438 if test "x$ac_cv_lib_soname_freetype" = x; then :
14439 case "x$with_freetype" in
14440 xno) ;;
14441 *) as_fn_error $? "FreeType ${notice_platform}development files not found. Fonts will not be built.
14442 Use the --without-freetype option if you really want this." "$LINENO" 5 ;;
14443 esac
14444 enable_fonts=${enable_fonts:-no}
14447 ac_wine_check_funcs_save_LIBS="$LIBS"
14448 LIBS="$LIBS $PTHREAD_LIBS"
14449 for ac_func in \
14450 pthread_getthreadid_np
14451 do :
14452 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
14453 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
14454 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
14455 cat >>confdefs.h <<_ACEOF
14456 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
14457 _ACEOF
14460 done
14462 LIBS="$ac_wine_check_funcs_save_LIBS"
14464 if test "x$enable_tools" != xno -a "x$with_gettextpo" = xyes
14465 then
14466 if test "$ac_cv_header_gettext_po_h" = "yes"
14467 then
14468 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for po_message_msgctxt in -lgettextpo" >&5
14469 $as_echo_n "checking for po_message_msgctxt in -lgettextpo... " >&6; }
14470 if ${ac_cv_lib_gettextpo_po_message_msgctxt+:} false; then :
14471 $as_echo_n "(cached) " >&6
14472 else
14473 ac_check_lib_save_LIBS=$LIBS
14474 LIBS="-lgettextpo $LIBS"
14475 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14476 /* end confdefs.h. */
14478 /* Override any GCC internal prototype to avoid an error.
14479 Use char because int might match the return type of a GCC
14480 builtin and then its argument prototype would still apply. */
14481 #ifdef __cplusplus
14482 extern "C"
14483 #endif
14484 char po_message_msgctxt ();
14486 main ()
14488 return po_message_msgctxt ();
14490 return 0;
14492 _ACEOF
14493 if ac_fn_c_try_link "$LINENO"; then :
14494 ac_cv_lib_gettextpo_po_message_msgctxt=yes
14495 else
14496 ac_cv_lib_gettextpo_po_message_msgctxt=no
14498 rm -f core conftest.err conftest.$ac_objext \
14499 conftest$ac_exeext conftest.$ac_ext
14500 LIBS=$ac_check_lib_save_LIBS
14502 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gettextpo_po_message_msgctxt" >&5
14503 $as_echo "$ac_cv_lib_gettextpo_po_message_msgctxt" >&6; }
14504 if test "x$ac_cv_lib_gettextpo_po_message_msgctxt" = xyes; then :
14506 $as_echo "#define HAVE_LIBGETTEXTPO 1" >>confdefs.h
14508 GETTEXTPO_LIBS="-lgettextpo"
14513 if test "x$GETTEXTPO_LIBS" = "x"; then :
14514 case "x$with_gettextpo" in
14515 x) as_fn_append wine_notices "|GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt." ;;
14516 xno) ;;
14517 *) as_fn_error $? "GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt.
14518 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
14519 esac
14522 if test "$srcdir" != .; then :
14523 case "x$with_gettextpo" in
14524 x) as_fn_append wine_notices "|Rebuilding po files is not supported for out of tree builds." ;;
14525 xno) ;;
14526 *) as_fn_error $? "Rebuilding po files is not supported for out of tree builds.
14527 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
14528 esac
14533 if test "x$with_pulse" != "xno";
14534 then
14535 if ${PULSE_CFLAGS:+false} :; then :
14536 if ${PKG_CONFIG+:} false; then :
14537 PULSE_CFLAGS=`$PKG_CONFIG --cflags libpulse 2>/dev/null`
14541 if ${PULSE_LIBS:+false} :; then :
14542 if ${PKG_CONFIG+:} false; then :
14543 PULSE_LIBS=`$PKG_CONFIG --libs libpulse 2>/dev/null`
14548 $as_echo "$as_me:${as_lineno-$LINENO}: libpulse cflags: $PULSE_CFLAGS" >&5
14549 $as_echo "$as_me:${as_lineno-$LINENO}: libpulse libs: $PULSE_LIBS" >&5
14550 ac_save_CPPFLAGS=$CPPFLAGS
14551 CPPFLAGS="$CPPFLAGS $PULSE_CFLAGS"
14552 for ac_header in pulse/pulseaudio.h
14553 do :
14554 ac_fn_c_check_header_mongrel "$LINENO" "pulse/pulseaudio.h" "ac_cv_header_pulse_pulseaudio_h" "$ac_includes_default"
14555 if test "x$ac_cv_header_pulse_pulseaudio_h" = xyes; then :
14556 cat >>confdefs.h <<_ACEOF
14557 #define HAVE_PULSE_PULSEAUDIO_H 1
14558 _ACEOF
14559 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pa_stream_is_corked in -lpulse" >&5
14560 $as_echo_n "checking for pa_stream_is_corked in -lpulse... " >&6; }
14561 if ${ac_cv_lib_pulse_pa_stream_is_corked+:} false; then :
14562 $as_echo_n "(cached) " >&6
14563 else
14564 ac_check_lib_save_LIBS=$LIBS
14565 LIBS="-lpulse $PULSE_LIBS $LIBS"
14566 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14567 /* end confdefs.h. */
14569 /* Override any GCC internal prototype to avoid an error.
14570 Use char because int might match the return type of a GCC
14571 builtin and then its argument prototype would still apply. */
14572 #ifdef __cplusplus
14573 extern "C"
14574 #endif
14575 char pa_stream_is_corked ();
14577 main ()
14579 return pa_stream_is_corked ();
14581 return 0;
14583 _ACEOF
14584 if ac_fn_c_try_link "$LINENO"; then :
14585 ac_cv_lib_pulse_pa_stream_is_corked=yes
14586 else
14587 ac_cv_lib_pulse_pa_stream_is_corked=no
14589 rm -f core conftest.err conftest.$ac_objext \
14590 conftest$ac_exeext conftest.$ac_ext
14591 LIBS=$ac_check_lib_save_LIBS
14593 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pulse_pa_stream_is_corked" >&5
14594 $as_echo "$ac_cv_lib_pulse_pa_stream_is_corked" >&6; }
14595 if test "x$ac_cv_lib_pulse_pa_stream_is_corked" = xyes; then :
14597 else
14598 PULSE_LIBS=""
14601 else
14602 PULSE_LIBS=""
14605 done
14607 CPPFLAGS=$ac_save_CPPFLAGS
14610 if test -z "$PULSE_LIBS"; then :
14611 case "x$with_pulse" in
14612 x) as_fn_append wine_notices "|libpulse ${notice_platform}development files not found or too old, Pulse won't be supported." ;;
14613 xno) ;;
14614 *) as_fn_error $? "libpulse ${notice_platform}development files not found or too old, Pulse won't be supported.
14615 This is an error since --with-pulse was requested." "$LINENO" 5 ;;
14616 esac
14617 enable_winepulse_drv=${enable_winepulse_drv:-no}
14620 if test "x$with_gstreamer" != "xno"
14621 then
14622 if ${GSTREAMER_CFLAGS:+false} :; then :
14623 if ${PKG_CONFIG+:} false; then :
14624 GSTREAMER_CFLAGS=`$PKG_CONFIG --cflags gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 2>/dev/null`
14628 if ${GSTREAMER_LIBS:+false} :; then :
14629 if ${PKG_CONFIG+:} false; then :
14630 GSTREAMER_LIBS=`$PKG_CONFIG --libs gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 2>/dev/null`
14635 $as_echo "$as_me:${as_lineno-$LINENO}: gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 cflags: $GSTREAMER_CFLAGS" >&5
14636 $as_echo "$as_me:${as_lineno-$LINENO}: gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 libs: $GSTREAMER_LIBS" >&5
14637 ac_save_CPPFLAGS=$CPPFLAGS
14638 CPPFLAGS="$CPPFLAGS $GSTREAMER_CFLAGS"
14639 ac_fn_c_check_header_mongrel "$LINENO" "gst/gst.h" "ac_cv_header_gst_gst_h" "$ac_includes_default"
14640 if test "x$ac_cv_header_gst_gst_h" = xyes; then :
14641 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether gint64 defined by gst/gst.h is indeed 64-bit" >&5
14642 $as_echo_n "checking whether gint64 defined by gst/gst.h is indeed 64-bit... " >&6; }
14643 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14644 /* end confdefs.h. */
14645 #include <gst/gst.h>
14647 main ()
14649 static int a[sizeof(gint64) > 4 ? 1 : -1]; if (a[0]) return 0;
14651 return 0;
14653 _ACEOF
14654 if ac_fn_c_try_compile "$LINENO"; then :
14655 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14656 $as_echo "yes" >&6; }
14657 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gst_pad_new in -lgstreamer-1.0" >&5
14658 $as_echo_n "checking for gst_pad_new in -lgstreamer-1.0... " >&6; }
14659 if ${ac_cv_lib_gstreamer_1_0_gst_pad_new+:} false; then :
14660 $as_echo_n "(cached) " >&6
14661 else
14662 ac_check_lib_save_LIBS=$LIBS
14663 LIBS="-lgstreamer-1.0 $GSTREAMER_LIBS $LIBS"
14664 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14665 /* end confdefs.h. */
14667 /* Override any GCC internal prototype to avoid an error.
14668 Use char because int might match the return type of a GCC
14669 builtin and then its argument prototype would still apply. */
14670 #ifdef __cplusplus
14671 extern "C"
14672 #endif
14673 char gst_pad_new ();
14675 main ()
14677 return gst_pad_new ();
14679 return 0;
14681 _ACEOF
14682 if ac_fn_c_try_link "$LINENO"; then :
14683 ac_cv_lib_gstreamer_1_0_gst_pad_new=yes
14684 else
14685 ac_cv_lib_gstreamer_1_0_gst_pad_new=no
14687 rm -f core conftest.err conftest.$ac_objext \
14688 conftest$ac_exeext conftest.$ac_ext
14689 LIBS=$ac_check_lib_save_LIBS
14691 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gstreamer_1_0_gst_pad_new" >&5
14692 $as_echo "$ac_cv_lib_gstreamer_1_0_gst_pad_new" >&6; }
14693 if test "x$ac_cv_lib_gstreamer_1_0_gst_pad_new" = xyes; then :
14697 else
14698 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14699 $as_echo "no" >&6; }
14700 ac_glib2_broken=yes
14701 as_fn_append wine_notices "|glib-2.0 pkgconfig configuration is for the wrong architecture, winegstreamer won't be built."
14703 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14707 CPPFLAGS=$ac_save_CPPFLAGS
14710 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 :
14711 case "x$with_gstreamer" in
14712 x) as_fn_append wine_notices "|gstreamer-1.0 base plugins ${notice_platform}development files not found, GStreamer won't be supported." ;;
14713 xno) ;;
14714 *) as_fn_error $? "gstreamer-1.0 base plugins ${notice_platform}development files not found, GStreamer won't be supported.
14715 This is an error since --with-gstreamer was requested." "$LINENO" 5 ;;
14716 esac
14719 test "x$ac_cv_lib_gstreamer_1_0_gst_pad_new" = xyes || enable_winegstreamer=${enable_winegstreamer:-no}
14721 ALSA_LIBS=""
14723 if test "x$with_alsa" != "xno"
14724 then
14725 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for snd_pcm_hw_params_get_access_mask in -lasound" >&5
14726 $as_echo_n "checking for snd_pcm_hw_params_get_access_mask in -lasound... " >&6; }
14727 if ${ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask+:} false; then :
14728 $as_echo_n "(cached) " >&6
14729 else
14730 ac_check_lib_save_LIBS=$LIBS
14731 LIBS="-lasound $LIBS"
14732 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14733 /* end confdefs.h. */
14735 /* Override any GCC internal prototype to avoid an error.
14736 Use char because int might match the return type of a GCC
14737 builtin and then its argument prototype would still apply. */
14738 #ifdef __cplusplus
14739 extern "C"
14740 #endif
14741 char snd_pcm_hw_params_get_access_mask ();
14743 main ()
14745 return snd_pcm_hw_params_get_access_mask ();
14747 return 0;
14749 _ACEOF
14750 if ac_fn_c_try_link "$LINENO"; then :
14751 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask=yes
14752 else
14753 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask=no
14755 rm -f core conftest.err conftest.$ac_objext \
14756 conftest$ac_exeext conftest.$ac_ext
14757 LIBS=$ac_check_lib_save_LIBS
14759 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&5
14760 $as_echo "$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&6; }
14761 if test "x$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" = xyes; then :
14762 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14763 /* end confdefs.h. */
14764 #include <alsa/asoundlib.h>
14766 main ()
14768 snd_pcm_hw_params_get_access_mask(NULL, NULL)
14770 return 0;
14772 _ACEOF
14773 if ac_fn_c_try_compile "$LINENO"; then :
14774 ALSA_LIBS="-lasound"
14776 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14780 test -n "$ALSA_LIBS" || enable_winealsa_drv=${enable_winealsa_drv:-no}
14782 if test "x$with_oss" != xno
14783 then
14784 ac_save_CPPFLAGS="$CPPFLAGS"
14785 if test -f /etc/oss.conf
14786 then
14787 . /etc/oss.conf
14789 ac_oss_incl="-I${OSSLIBDIR:-/usr/lib/oss}/include"
14790 CPPFLAGS="$CPPFLAGS $ac_oss_incl"
14791 ac_fn_c_check_header_mongrel "$LINENO" "sys/soundcard.h" "ac_cv_header_sys_soundcard_h" "$ac_includes_default"
14792 if test "x$ac_cv_header_sys_soundcard_h" = xyes; then :
14793 ac_fn_c_check_member "$LINENO" "oss_sysinfo" "numaudioengines" "ac_cv_member_oss_sysinfo_numaudioengines" "#include <sys/soundcard.h>
14795 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" = xyes; then :
14797 cat >>confdefs.h <<_ACEOF
14798 #define HAVE_OSS_SYSINFO_NUMAUDIOENGINES 1
14799 _ACEOF
14801 OSS4_CFLAGS="$ac_oss_incl"
14803 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _oss_ioctl in -lossaudio" >&5
14804 $as_echo_n "checking for _oss_ioctl in -lossaudio... " >&6; }
14805 if ${ac_cv_lib_ossaudio__oss_ioctl+:} false; then :
14806 $as_echo_n "(cached) " >&6
14807 else
14808 ac_check_lib_save_LIBS=$LIBS
14809 LIBS="-lossaudio $LIBS"
14810 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14811 /* end confdefs.h. */
14813 /* Override any GCC internal prototype to avoid an error.
14814 Use char because int might match the return type of a GCC
14815 builtin and then its argument prototype would still apply. */
14816 #ifdef __cplusplus
14817 extern "C"
14818 #endif
14819 char _oss_ioctl ();
14821 main ()
14823 return _oss_ioctl ();
14825 return 0;
14827 _ACEOF
14828 if ac_fn_c_try_link "$LINENO"; then :
14829 ac_cv_lib_ossaudio__oss_ioctl=yes
14830 else
14831 ac_cv_lib_ossaudio__oss_ioctl=no
14833 rm -f core conftest.err conftest.$ac_objext \
14834 conftest$ac_exeext conftest.$ac_ext
14835 LIBS=$ac_check_lib_save_LIBS
14837 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ossaudio__oss_ioctl" >&5
14838 $as_echo "$ac_cv_lib_ossaudio__oss_ioctl" >&6; }
14839 if test "x$ac_cv_lib_ossaudio__oss_ioctl" = xyes; then :
14840 OSS4_LIBS="-lossaudio"
14849 CPPFLAGS="$ac_save_CPPFLAGS"
14851 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" != xyes; then :
14852 case "x$with_oss" in
14853 x) as_fn_append wine_notices "|OSS sound system found but too old (OSSv4 needed), OSS won't be supported." ;;
14854 xno) ;;
14855 *) as_fn_error $? "OSS sound system found but too old (OSSv4 needed), OSS won't be supported.
14856 This is an error since --with-oss was requested." "$LINENO" 5 ;;
14857 esac
14858 enable_wineoss_drv=${enable_wineoss_drv:-no}
14861 if test "x$with_udev" != "xno"
14862 then
14863 if ${UDEV_CFLAGS:+false} :; then :
14864 if ${PKG_CONFIG+:} false; then :
14865 UDEV_CFLAGS=`$PKG_CONFIG --cflags libudev 2>/dev/null`
14869 if ${UDEV_LIBS:+false} :; then :
14870 if ${PKG_CONFIG+:} false; then :
14871 UDEV_LIBS=`$PKG_CONFIG --libs libudev 2>/dev/null`
14875 UDEV_LIBS=${UDEV_LIBS:-"-ludev"}
14876 $as_echo "$as_me:${as_lineno-$LINENO}: libudev cflags: $UDEV_CFLAGS" >&5
14877 $as_echo "$as_me:${as_lineno-$LINENO}: libudev libs: $UDEV_LIBS" >&5
14878 ac_save_CPPFLAGS=$CPPFLAGS
14879 CPPFLAGS="$CPPFLAGS $UDEV_CFLAGS"
14880 for ac_header in libudev.h
14881 do :
14882 ac_fn_c_check_header_mongrel "$LINENO" "libudev.h" "ac_cv_header_libudev_h" "$ac_includes_default"
14883 if test "x$ac_cv_header_libudev_h" = xyes; then :
14884 cat >>confdefs.h <<_ACEOF
14885 #define HAVE_LIBUDEV_H 1
14886 _ACEOF
14887 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for udev_new in -ludev" >&5
14888 $as_echo_n "checking for udev_new in -ludev... " >&6; }
14889 if ${ac_cv_lib_udev_udev_new+:} false; then :
14890 $as_echo_n "(cached) " >&6
14891 else
14892 ac_check_lib_save_LIBS=$LIBS
14893 LIBS="-ludev $UDEV_LIBS $LIBS"
14894 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14895 /* end confdefs.h. */
14897 /* Override any GCC internal prototype to avoid an error.
14898 Use char because int might match the return type of a GCC
14899 builtin and then its argument prototype would still apply. */
14900 #ifdef __cplusplus
14901 extern "C"
14902 #endif
14903 char udev_new ();
14905 main ()
14907 return udev_new ();
14909 return 0;
14911 _ACEOF
14912 if ac_fn_c_try_link "$LINENO"; then :
14913 ac_cv_lib_udev_udev_new=yes
14914 else
14915 ac_cv_lib_udev_udev_new=no
14917 rm -f core conftest.err conftest.$ac_objext \
14918 conftest$ac_exeext conftest.$ac_ext
14919 LIBS=$ac_check_lib_save_LIBS
14921 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_udev_udev_new" >&5
14922 $as_echo "$ac_cv_lib_udev_udev_new" >&6; }
14923 if test "x$ac_cv_lib_udev_udev_new" = xyes; then :
14925 $as_echo "#define HAVE_UDEV 1" >>confdefs.h
14927 else
14928 UDEV_LIBS=""
14931 else
14932 UDEV_LIBS=""
14935 done
14937 CPPFLAGS=$ac_save_CPPFLAGS
14940 if test "x$UDEV_LIBS" = "x"; then :
14941 case "x$with_udev" in
14942 x) as_fn_append wine_notices "|libudev ${notice_platform}development files not found, plug and play won't be supported." ;;
14943 xno) ;;
14944 *) as_fn_error $? "libudev ${notice_platform}development files not found, plug and play won't be supported.
14945 This is an error since --with-udev was requested." "$LINENO" 5 ;;
14946 esac
14950 if test "x$with_unwind" != xno
14951 then
14952 if ${UNWIND_CFLAGS:+false} :; then :
14953 if ${PKG_CONFIG+:} false; then :
14954 UNWIND_CFLAGS=`$PKG_CONFIG --cflags libunwind 2>/dev/null`
14958 if ${UNWIND_LIBS:+false} :; then :
14959 if ${PKG_CONFIG+:} false; then :
14960 UNWIND_LIBS=`$PKG_CONFIG --libs libunwind 2>/dev/null`
14964 UNWIND_LIBS=${UNWIND_LIBS:-"-lunwind"}
14965 $as_echo "$as_me:${as_lineno-$LINENO}: libunwind cflags: $UNWIND_CFLAGS" >&5
14966 $as_echo "$as_me:${as_lineno-$LINENO}: libunwind libs: $UNWIND_LIBS" >&5
14967 ac_save_CPPFLAGS=$CPPFLAGS
14968 CPPFLAGS="$CPPFLAGS $UNWIND_CFLAGS"
14969 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for unw_step" >&5
14970 $as_echo_n "checking for unw_step... " >&6; }
14971 if ${wine_cv_have_unw_step+:} false; then :
14972 $as_echo_n "(cached) " >&6
14973 else
14974 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14975 /* end confdefs.h. */
14976 #define UNW_LOCAL_ONLY
14977 #include <libunwind.h>
14979 main ()
14981 unw_cursor_t cursor; unw_step( &cursor );
14983 return 0;
14985 _ACEOF
14986 if ac_fn_c_try_link "$LINENO"; then :
14987 wine_cv_have_unw_step="yes"
14988 else
14989 wine_cv_have_unw_step="no"
14991 rm -f core conftest.err conftest.$ac_objext \
14992 conftest$ac_exeext conftest.$ac_ext
14994 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_unw_step" >&5
14995 $as_echo "$wine_cv_have_unw_step" >&6; }
14996 if test "$wine_cv_have_unw_step" = no -a -n "$UNWIND_LIBS"
14997 then
14998 save_libs=$LIBS
14999 UNWIND_LIBS="-static-libgcc $UNWIND_LIBS"
15000 LIBS="$UNWIND_LIBS $LIBS"
15001 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for unw_step in libunwind" >&5
15002 $as_echo_n "checking for unw_step in libunwind... " >&6; }
15003 if ${wine_cv_have_libunwind_unw_step+:} false; then :
15004 $as_echo_n "(cached) " >&6
15005 else
15006 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15007 /* end confdefs.h. */
15008 #define UNW_LOCAL_ONLY
15009 #include <libunwind.h>
15011 main ()
15013 unw_cursor_t cursor; unw_step( &cursor );
15015 return 0;
15017 _ACEOF
15018 if ac_fn_c_try_link "$LINENO"; then :
15019 wine_cv_have_libunwind_unw_step="yes"
15020 else
15021 wine_cv_have_libunwind_unw_step="no"
15023 rm -f core conftest.err conftest.$ac_objext \
15024 conftest$ac_exeext conftest.$ac_ext
15026 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_libunwind_unw_step" >&5
15027 $as_echo "$wine_cv_have_libunwind_unw_step" >&6; }
15028 LIBS=$save_libs
15030 test "$wine_cv_have_libunwind_unw_step" = yes || UNWIND_LIBS=""
15031 if test "x$wine_cv_have_unw_step$wine_cv_have_libunwind_unw_step" != xnono
15032 then
15034 $as_echo "#define HAVE_LIBUNWIND 1" >>confdefs.h
15037 CPPFLAGS=$ac_save_CPPFLAGS
15040 case $host in
15041 aarch64*|*-darwin*)
15042 if test "x$wine_cv_have_unw_step$wine_cv_have_libunwind_unw_step" = xnono; then :
15043 case "x$with_unwind" in
15044 x) as_fn_append wine_notices "|libunwind ${notice_platform}development files not found, stack unwinding won't work." ;;
15045 xno) ;;
15046 *) as_fn_error $? "libunwind ${notice_platform}development files not found, stack unwinding won't work.
15047 This is an error since --with-unwind was requested." "$LINENO" 5 ;;
15048 esac
15050 fi ;;
15051 esac
15053 if test "x$with_sdl" != "xno"
15054 then
15055 if ${SDL2_CFLAGS:+false} :; then :
15056 if ${PKG_CONFIG+:} false; then :
15057 SDL2_CFLAGS=`$PKG_CONFIG --cflags sdl2 2>/dev/null`
15061 if ${SDL2_LIBS:+false} :; then :
15062 if ${PKG_CONFIG+:} false; then :
15063 SDL2_LIBS=`$PKG_CONFIG --libs sdl2 2>/dev/null`
15067 SDL2_LIBS=${SDL2_LIBS:-"-lSDL2"}
15068 $as_echo "$as_me:${as_lineno-$LINENO}: sdl2 cflags: $SDL2_CFLAGS" >&5
15069 $as_echo "$as_me:${as_lineno-$LINENO}: sdl2 libs: $SDL2_LIBS" >&5
15070 ac_save_CPPFLAGS=$CPPFLAGS
15071 CPPFLAGS="$CPPFLAGS $SDL2_CFLAGS"
15072 for ac_header in SDL.h
15073 do :
15074 ac_fn_c_check_header_mongrel "$LINENO" "SDL.h" "ac_cv_header_SDL_h" "$ac_includes_default"
15075 if test "x$ac_cv_header_SDL_h" = xyes; then :
15076 cat >>confdefs.h <<_ACEOF
15077 #define HAVE_SDL_H 1
15078 _ACEOF
15079 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lSDL2" >&5
15080 $as_echo_n "checking for -lSDL2... " >&6; }
15081 if ${ac_cv_lib_soname_SDL2+:} false; then :
15082 $as_echo_n "(cached) " >&6
15083 else
15084 ac_check_soname_save_LIBS=$LIBS
15085 LIBS="-lSDL2 $SDL2_LIBS $LIBS"
15086 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15087 /* end confdefs.h. */
15089 /* Override any GCC internal prototype to avoid an error.
15090 Use char because int might match the return type of a GCC
15091 builtin and then its argument prototype would still apply. */
15092 #ifdef __cplusplus
15093 extern "C"
15094 #endif
15095 char SDL_Init ();
15097 main ()
15099 return SDL_Init ();
15101 return 0;
15103 _ACEOF
15104 if ac_fn_c_try_link "$LINENO"; then :
15105 case "$LIBEXT" in
15106 dll) ac_cv_lib_soname_SDL2=`$ac_cv_path_LDD conftest.exe | grep "SDL2" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15107 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'` ;;
15108 *) 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'`
15109 if ${ac_cv_lib_soname_SDL2:+false} :; then :
15110 ac_cv_lib_soname_SDL2=`$LDD conftest$ac_exeext | grep "libSDL2-2.0*\\.$LIBEXT" | sed -e "s/^.*\(libSDL2-2.0*\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15111 fi ;;
15112 esac
15113 else
15114 ac_cv_lib_soname_SDL2=
15116 rm -f core conftest.err conftest.$ac_objext \
15117 conftest$ac_exeext conftest.$ac_ext
15118 LIBS=$ac_check_soname_save_LIBS
15120 if ${ac_cv_lib_soname_SDL2:+false} :; then :
15121 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15122 $as_echo "not found" >&6; }
15124 else
15125 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_SDL2" >&5
15126 $as_echo "$ac_cv_lib_soname_SDL2" >&6; }
15128 cat >>confdefs.h <<_ACEOF
15129 #define SONAME_LIBSDL2 "$ac_cv_lib_soname_SDL2"
15130 _ACEOF
15136 done
15138 CPPFLAGS=$ac_save_CPPFLAGS
15141 if test "x$ac_cv_lib_soname_SDL2" = "x"; then :
15142 case "x$with_sdl" in
15143 x) as_fn_append wine_notices "|libSDL2 ${notice_platform}development files not found, SDL2 won't be supported." ;;
15144 xno) ;;
15145 *) as_fn_error $? "libSDL2 ${notice_platform}development files not found, SDL2 won't be supported.
15146 This is an error since --with-sdl was requested." "$LINENO" 5 ;;
15147 esac
15151 if test "x$with_faudio" != "xno"
15152 then
15153 if ${FAUDIO_CFLAGS:+false} :; then :
15154 if ${PKG_CONFIG+:} false; then :
15155 FAUDIO_CFLAGS=`$PKG_CONFIG --cflags FAudio 2>/dev/null`
15159 if ${FAUDIO_LIBS:+false} :; then :
15160 if ${PKG_CONFIG+:} false; then :
15161 FAUDIO_LIBS=`$PKG_CONFIG --libs FAudio 2>/dev/null`
15165 FAUDIO_LIBS=${FAUDIO_LIBS:-"-lFAudio"}
15166 $as_echo "$as_me:${as_lineno-$LINENO}: FAudio cflags: $FAUDIO_CFLAGS" >&5
15167 $as_echo "$as_me:${as_lineno-$LINENO}: FAudio libs: $FAUDIO_LIBS" >&5
15168 ac_save_CPPFLAGS=$CPPFLAGS
15169 CPPFLAGS="$CPPFLAGS $FAUDIO_CFLAGS"
15170 for ac_header in FAudio.h
15171 do :
15172 ac_fn_c_check_header_mongrel "$LINENO" "FAudio.h" "ac_cv_header_FAudio_h" "$ac_includes_default"
15173 if test "x$ac_cv_header_FAudio_h" = xyes; then :
15174 cat >>confdefs.h <<_ACEOF
15175 #define HAVE_FAUDIO_H 1
15176 _ACEOF
15177 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lFAudio" >&5
15178 $as_echo_n "checking for -lFAudio... " >&6; }
15179 if ${ac_cv_lib_soname_FAudio+:} false; then :
15180 $as_echo_n "(cached) " >&6
15181 else
15182 ac_check_soname_save_LIBS=$LIBS
15183 LIBS="-lFAudio $FAUDIO_LIBS $LIBS"
15184 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15185 /* end confdefs.h. */
15187 /* Override any GCC internal prototype to avoid an error.
15188 Use char because int might match the return type of a GCC
15189 builtin and then its argument prototype would still apply. */
15190 #ifdef __cplusplus
15191 extern "C"
15192 #endif
15193 char FAudioCreate ();
15195 main ()
15197 return FAudioCreate ();
15199 return 0;
15201 _ACEOF
15202 if ac_fn_c_try_link "$LINENO"; then :
15203 case "$LIBEXT" in
15204 dll) ac_cv_lib_soname_FAudio=`$ac_cv_path_LDD conftest.exe | grep "FAudio" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15205 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'` ;;
15206 *) ac_cv_lib_soname_FAudio=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libFAudio*\\.$LIBEXT" | sed -e "s/^.*\\[\\(libFAudio*\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15207 if ${ac_cv_lib_soname_FAudio:+false} :; then :
15208 ac_cv_lib_soname_FAudio=`$LDD conftest$ac_exeext | grep "libFAudio*\\.$LIBEXT" | sed -e "s/^.*\(libFAudio*\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15209 fi ;;
15210 esac
15211 else
15212 ac_cv_lib_soname_FAudio=
15214 rm -f core conftest.err conftest.$ac_objext \
15215 conftest$ac_exeext conftest.$ac_ext
15216 LIBS=$ac_check_soname_save_LIBS
15218 if ${ac_cv_lib_soname_FAudio:+false} :; then :
15219 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15220 $as_echo "not found" >&6; }
15222 else
15223 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_FAudio" >&5
15224 $as_echo "$ac_cv_lib_soname_FAudio" >&6; }
15226 cat >>confdefs.h <<_ACEOF
15227 #define SONAME_LIBFAUDIO "$ac_cv_lib_soname_FAudio"
15228 _ACEOF
15234 done
15236 ac_wine_check_funcs_save_LIBS="$LIBS"
15237 LIBS="$LIBS $FAUDIO_LIBS"
15238 for ac_func in FAudio_CommitOperationSet \
15239 F3DAudioInitialize8 \
15240 FAudioLinkedVersion \
15241 FAudioCreateReverb9WithCustomAllocatorEXT
15242 do :
15243 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
15244 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
15245 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
15246 cat >>confdefs.h <<_ACEOF
15247 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
15248 _ACEOF
15251 done
15253 LIBS="$ac_wine_check_funcs_save_LIBS"
15255 CPPFLAGS=$ac_save_CPPFLAGS
15258 if test "x$ac_cv_lib_soname_FAudio" = "x"; then :
15259 case "x$with_faudio" in
15260 x) as_fn_append wine_notices "|libFAudio ${notice_platform}development files not found, XAudio2 won't be supported." ;;
15261 xno) ;;
15262 *) as_fn_error $? "libFAudio ${notice_platform}development files not found, XAudio2 won't be supported.
15263 This is an error since --with-faudio was requested." "$LINENO" 5 ;;
15264 esac
15268 if test "x$with_capi" != "xno"
15269 then
15270 if ${CAPI20_CFLAGS:+false} :; then :
15271 if ${PKG_CONFIG+:} false; then :
15272 CAPI20_CFLAGS=`$PKG_CONFIG --cflags capi20 2>/dev/null`
15276 if ${CAPI20_LIBS:+false} :; then :
15277 if ${PKG_CONFIG+:} false; then :
15278 CAPI20_LIBS=`$PKG_CONFIG --libs capi20 2>/dev/null`
15283 $as_echo "$as_me:${as_lineno-$LINENO}: capi20 cflags: $CAPI20_CFLAGS" >&5
15284 $as_echo "$as_me:${as_lineno-$LINENO}: capi20 libs: $CAPI20_LIBS" >&5
15285 ac_save_CPPFLAGS=$CPPFLAGS
15286 CPPFLAGS="$CPPFLAGS $CAPI20_CFLAGS"
15287 for ac_header in capi20.h linux/capi.h
15288 do :
15289 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
15290 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#define __user
15292 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
15293 cat >>confdefs.h <<_ACEOF
15294 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
15295 _ACEOF
15299 done
15301 if test "$ac_cv_header_capi20_h" = "yes" -a "$ac_cv_header_linux_capi_h" = "yes"
15302 then
15303 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcapi20" >&5
15304 $as_echo_n "checking for -lcapi20... " >&6; }
15305 if ${ac_cv_lib_soname_capi20+:} false; then :
15306 $as_echo_n "(cached) " >&6
15307 else
15308 ac_check_soname_save_LIBS=$LIBS
15309 LIBS="-lcapi20 $CAPI20_LIBS $LIBS"
15310 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15311 /* end confdefs.h. */
15313 /* Override any GCC internal prototype to avoid an error.
15314 Use char because int might match the return type of a GCC
15315 builtin and then its argument prototype would still apply. */
15316 #ifdef __cplusplus
15317 extern "C"
15318 #endif
15319 char capi20_register ();
15321 main ()
15323 return capi20_register ();
15325 return 0;
15327 _ACEOF
15328 if ac_fn_c_try_link "$LINENO"; then :
15329 case "$LIBEXT" in
15330 dll) ac_cv_lib_soname_capi20=`$ac_cv_path_LDD conftest.exe | grep "capi20" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15331 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'` ;;
15332 *) ac_cv_lib_soname_capi20=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcapi20\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcapi20\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15333 if ${ac_cv_lib_soname_capi20:+false} :; then :
15334 ac_cv_lib_soname_capi20=`$LDD conftest$ac_exeext | grep "libcapi20\\.$LIBEXT" | sed -e "s/^.*\(libcapi20\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15335 fi ;;
15336 esac
15337 else
15338 ac_cv_lib_soname_capi20=
15340 rm -f core conftest.err conftest.$ac_objext \
15341 conftest$ac_exeext conftest.$ac_ext
15342 LIBS=$ac_check_soname_save_LIBS
15344 if ${ac_cv_lib_soname_capi20:+false} :; then :
15345 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15346 $as_echo "not found" >&6; }
15348 else
15349 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_capi20" >&5
15350 $as_echo "$ac_cv_lib_soname_capi20" >&6; }
15352 cat >>confdefs.h <<_ACEOF
15353 #define SONAME_LIBCAPI20 "$ac_cv_lib_soname_capi20"
15354 _ACEOF
15359 CPPFLAGS=$ac_save_CPPFLAGS
15362 if test "x$ac_cv_lib_soname_capi20" = "x"; then :
15363 case "x$with_capi" in
15364 x) as_fn_append wine_notices "|libcapi20 ${notice_platform}development files not found, ISDN won't be supported." ;;
15365 xno) ;;
15366 *) as_fn_error $? "libcapi20 ${notice_platform}development files not found, ISDN won't be supported.
15367 This is an error since --with-capi was requested." "$LINENO" 5 ;;
15368 esac
15372 if test "x$with_cups" != "xno"
15373 then
15374 if ${CUPS_CFLAGS:+false} :; then :
15375 if ${PKG_CONFIG+:} false; then :
15376 CUPS_CFLAGS=`$PKG_CONFIG --cflags cups 2>/dev/null`
15379 test "$cross_compiling" = yes || CUPS_CFLAGS=${CUPS_CFLAGS:-`${CUPS_CONFIG:-cups-config} --cflags 2>/dev/null`}
15380 if ${CUPS_LIBS:+false} :; then :
15381 if ${PKG_CONFIG+:} false; then :
15382 CUPS_LIBS=`$PKG_CONFIG --libs cups 2>/dev/null`
15385 test "$cross_compiling" = yes || CUPS_LIBS=${CUPS_LIBS:-`${CUPS_CONFIG:-cups-config} --libs 2>/dev/null`}
15386 CUPS_LIBS=${CUPS_LIBS:-"-lcups"}
15387 $as_echo "$as_me:${as_lineno-$LINENO}: cups cflags: $CUPS_CFLAGS" >&5
15388 $as_echo "$as_me:${as_lineno-$LINENO}: cups libs: $CUPS_LIBS" >&5
15389 ac_save_CPPFLAGS=$CPPFLAGS
15390 CPPFLAGS="$CPPFLAGS $CUPS_CFLAGS"
15391 for ac_header in cups/cups.h cups/ppd.h
15392 do :
15393 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
15394 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
15395 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
15396 cat >>confdefs.h <<_ACEOF
15397 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
15398 _ACEOF
15402 done
15404 if test "$ac_cv_header_cups_cups_h" = "yes"
15405 then
15406 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcups" >&5
15407 $as_echo_n "checking for -lcups... " >&6; }
15408 if ${ac_cv_lib_soname_cups+:} false; then :
15409 $as_echo_n "(cached) " >&6
15410 else
15411 ac_check_soname_save_LIBS=$LIBS
15412 LIBS="-lcups $CUPS_LIBS $LIBS"
15413 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15414 /* end confdefs.h. */
15416 /* Override any GCC internal prototype to avoid an error.
15417 Use char because int might match the return type of a GCC
15418 builtin and then its argument prototype would still apply. */
15419 #ifdef __cplusplus
15420 extern "C"
15421 #endif
15422 char cupsGetDefault ();
15424 main ()
15426 return cupsGetDefault ();
15428 return 0;
15430 _ACEOF
15431 if ac_fn_c_try_link "$LINENO"; then :
15432 case "$LIBEXT" in
15433 dll) ac_cv_lib_soname_cups=`$ac_cv_path_LDD conftest.exe | grep "cups" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15434 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'` ;;
15435 *) ac_cv_lib_soname_cups=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcups\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcups\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15436 if ${ac_cv_lib_soname_cups:+false} :; then :
15437 ac_cv_lib_soname_cups=`$LDD conftest$ac_exeext | grep "libcups\\.$LIBEXT" | sed -e "s/^.*\(libcups\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15438 fi ;;
15439 esac
15440 else
15441 ac_cv_lib_soname_cups=
15443 rm -f core conftest.err conftest.$ac_objext \
15444 conftest$ac_exeext conftest.$ac_ext
15445 LIBS=$ac_check_soname_save_LIBS
15447 if ${ac_cv_lib_soname_cups:+false} :; then :
15448 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15449 $as_echo "not found" >&6; }
15450 CUPS_LIBS=""
15451 else
15452 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_cups" >&5
15453 $as_echo "$ac_cv_lib_soname_cups" >&6; }
15455 cat >>confdefs.h <<_ACEOF
15456 #define SONAME_LIBCUPS "$ac_cv_lib_soname_cups"
15457 _ACEOF
15461 else
15462 CUPS_CFLAGS=""
15463 CUPS_LIBS=""
15465 CPPFLAGS=$ac_save_CPPFLAGS
15468 if test "x$ac_cv_lib_soname_cups" = "x"; then :
15469 case "x$with_cups" in
15470 x) as_fn_append wine_notices "|libcups ${notice_platform}development files not found, CUPS won't be supported." ;;
15471 xno) ;;
15472 *) as_fn_error $? "libcups ${notice_platform}development files not found, CUPS won't be supported.
15473 This is an error since --with-cups was requested." "$LINENO" 5 ;;
15474 esac
15478 if test "x$with_fontconfig" != "xno"
15479 then
15480 if ${FONTCONFIG_CFLAGS:+false} :; then :
15481 if ${PKG_CONFIG+:} false; then :
15482 FONTCONFIG_CFLAGS=`$PKG_CONFIG --cflags fontconfig 2>/dev/null`
15485 test "$cross_compiling" = yes || FONTCONFIG_CFLAGS=${FONTCONFIG_CFLAGS:-$X_CFLAGS}
15486 if ${FONTCONFIG_LIBS:+false} :; then :
15487 if ${PKG_CONFIG+:} false; then :
15488 FONTCONFIG_LIBS=`$PKG_CONFIG --libs fontconfig 2>/dev/null`
15491 test "$cross_compiling" = yes || FONTCONFIG_LIBS=${FONTCONFIG_LIBS:-$X_LIBS}
15493 $as_echo "$as_me:${as_lineno-$LINENO}: fontconfig cflags: $FONTCONFIG_CFLAGS" >&5
15494 $as_echo "$as_me:${as_lineno-$LINENO}: fontconfig libs: $FONTCONFIG_LIBS" >&5
15495 ac_save_CPPFLAGS=$CPPFLAGS
15496 CPPFLAGS="$CPPFLAGS $FONTCONFIG_CFLAGS"
15497 for ac_header in fontconfig/fontconfig.h
15498 do :
15499 ac_fn_c_check_header_mongrel "$LINENO" "fontconfig/fontconfig.h" "ac_cv_header_fontconfig_fontconfig_h" "$ac_includes_default"
15500 if test "x$ac_cv_header_fontconfig_fontconfig_h" = xyes; then :
15501 cat >>confdefs.h <<_ACEOF
15502 #define HAVE_FONTCONFIG_FONTCONFIG_H 1
15503 _ACEOF
15507 done
15509 if test "$ac_cv_header_fontconfig_fontconfig_h" = "yes"
15510 then
15511 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfontconfig" >&5
15512 $as_echo_n "checking for -lfontconfig... " >&6; }
15513 if ${ac_cv_lib_soname_fontconfig+:} false; then :
15514 $as_echo_n "(cached) " >&6
15515 else
15516 ac_check_soname_save_LIBS=$LIBS
15517 LIBS="-lfontconfig $FONTCONFIG_LIBS $LIBS"
15518 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15519 /* end confdefs.h. */
15521 /* Override any GCC internal prototype to avoid an error.
15522 Use char because int might match the return type of a GCC
15523 builtin and then its argument prototype would still apply. */
15524 #ifdef __cplusplus
15525 extern "C"
15526 #endif
15527 char FcInit ();
15529 main ()
15531 return FcInit ();
15533 return 0;
15535 _ACEOF
15536 if ac_fn_c_try_link "$LINENO"; then :
15537 case "$LIBEXT" in
15538 dll) ac_cv_lib_soname_fontconfig=`$ac_cv_path_LDD conftest.exe | grep "fontconfig" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15539 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'` ;;
15540 *) ac_cv_lib_soname_fontconfig=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfontconfig\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfontconfig\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15541 if ${ac_cv_lib_soname_fontconfig:+false} :; then :
15542 ac_cv_lib_soname_fontconfig=`$LDD conftest$ac_exeext | grep "libfontconfig\\.$LIBEXT" | sed -e "s/^.*\(libfontconfig\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15543 fi ;;
15544 esac
15545 else
15546 ac_cv_lib_soname_fontconfig=
15548 rm -f core conftest.err conftest.$ac_objext \
15549 conftest$ac_exeext conftest.$ac_ext
15550 LIBS=$ac_check_soname_save_LIBS
15552 if ${ac_cv_lib_soname_fontconfig:+false} :; then :
15553 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15554 $as_echo "not found" >&6; }
15555 FONTCONFIG_CFLAGS=""
15556 else
15557 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_fontconfig" >&5
15558 $as_echo "$ac_cv_lib_soname_fontconfig" >&6; }
15560 cat >>confdefs.h <<_ACEOF
15561 #define SONAME_LIBFONTCONFIG "$ac_cv_lib_soname_fontconfig"
15562 _ACEOF
15566 else
15567 FONTCONFIG_CFLAGS=""
15569 CPPFLAGS=$ac_save_CPPFLAGS
15572 if test "x$ac_cv_lib_soname_fontconfig" = "x"; then :
15573 case "x$with_fontconfig" in
15574 x) as_fn_append wine_notices "|fontconfig ${notice_platform}development files not found, fontconfig won't be supported." ;;
15575 xno) ;;
15576 *) as_fn_error $? "fontconfig ${notice_platform}development files not found, fontconfig won't be supported.
15577 This is an error since --with-fontconfig was requested." "$LINENO" 5 ;;
15578 esac
15582 if test "$ac_cv_header_gsm_h" = "yes" -o "$ac_cv_header_gsm_gsm_h" = "yes"
15583 then
15584 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgsm" >&5
15585 $as_echo_n "checking for -lgsm... " >&6; }
15586 if ${ac_cv_lib_soname_gsm+:} false; then :
15587 $as_echo_n "(cached) " >&6
15588 else
15589 ac_check_soname_save_LIBS=$LIBS
15590 LIBS="-lgsm $LIBS"
15591 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15592 /* end confdefs.h. */
15594 /* Override any GCC internal prototype to avoid an error.
15595 Use char because int might match the return type of a GCC
15596 builtin and then its argument prototype would still apply. */
15597 #ifdef __cplusplus
15598 extern "C"
15599 #endif
15600 char gsm_create ();
15602 main ()
15604 return gsm_create ();
15606 return 0;
15608 _ACEOF
15609 if ac_fn_c_try_link "$LINENO"; then :
15610 case "$LIBEXT" in
15611 dll) ac_cv_lib_soname_gsm=`$ac_cv_path_LDD conftest.exe | grep "gsm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15612 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'` ;;
15613 *) ac_cv_lib_soname_gsm=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libgsm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libgsm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15614 if ${ac_cv_lib_soname_gsm:+false} :; then :
15615 ac_cv_lib_soname_gsm=`$LDD conftest$ac_exeext | grep "libgsm\\.$LIBEXT" | sed -e "s/^.*\(libgsm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15616 fi ;;
15617 esac
15618 else
15619 ac_cv_lib_soname_gsm=
15621 rm -f core conftest.err conftest.$ac_objext \
15622 conftest$ac_exeext conftest.$ac_ext
15623 LIBS=$ac_check_soname_save_LIBS
15625 if ${ac_cv_lib_soname_gsm:+false} :; then :
15626 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15627 $as_echo "not found" >&6; }
15629 else
15630 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gsm" >&5
15631 $as_echo "$ac_cv_lib_soname_gsm" >&6; }
15633 cat >>confdefs.h <<_ACEOF
15634 #define SONAME_LIBGSM "$ac_cv_lib_soname_gsm"
15635 _ACEOF
15640 if test "x$ac_cv_lib_soname_gsm" = "x"; then :
15641 case "x$with_gsm" in
15642 x) as_fn_append wine_notices "|libgsm ${notice_platform}development files not found, gsm 06.10 codec won't be supported." ;;
15643 xno) ;;
15644 *) as_fn_error $? "libgsm ${notice_platform}development files not found, gsm 06.10 codec won't be supported.
15645 This is an error since --with-gsm was requested." "$LINENO" 5 ;;
15646 esac
15650 if test "x$with_krb5" != "xno"
15651 then
15652 if ${KRB5_CFLAGS:+false} :; then :
15653 if ${PKG_CONFIG+:} false; then :
15654 KRB5_CFLAGS=`$PKG_CONFIG --cflags krb5 2>/dev/null`
15657 test "$cross_compiling" = yes || KRB5_CFLAGS=${KRB5_CFLAGS:-`${KRB5_CONFIG:-krb5-config} --cflags 2>/dev/null`}
15658 if ${KRB5_LIBS:+false} :; then :
15659 if ${PKG_CONFIG+:} false; then :
15660 KRB5_LIBS=`$PKG_CONFIG --libs krb5 2>/dev/null`
15663 test "$cross_compiling" = yes || KRB5_LIBS=${KRB5_LIBS:-`${KRB5_CONFIG:-krb5-config} --libs 2>/dev/null`}
15665 $as_echo "$as_me:${as_lineno-$LINENO}: krb5 cflags: $KRB5_CFLAGS" >&5
15666 $as_echo "$as_me:${as_lineno-$LINENO}: krb5 libs: $KRB5_LIBS" >&5
15667 ac_save_CPPFLAGS=$CPPFLAGS
15668 CPPFLAGS="$CPPFLAGS $KRB5_CFLAGS"
15669 for ac_header in krb5/krb5.h
15670 do :
15671 ac_fn_c_check_header_mongrel "$LINENO" "krb5/krb5.h" "ac_cv_header_krb5_krb5_h" "$ac_includes_default"
15672 if test "x$ac_cv_header_krb5_krb5_h" = xyes; then :
15673 cat >>confdefs.h <<_ACEOF
15674 #define HAVE_KRB5_KRB5_H 1
15675 _ACEOF
15679 done
15681 if test "$ac_cv_header_krb5_krb5_h" = "yes"
15682 then
15683 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lkrb5" >&5
15684 $as_echo_n "checking for -lkrb5... " >&6; }
15685 if ${ac_cv_lib_soname_krb5+:} false; then :
15686 $as_echo_n "(cached) " >&6
15687 else
15688 ac_check_soname_save_LIBS=$LIBS
15689 LIBS="-lkrb5 $KRB5_LIBS $LIBS"
15690 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15691 /* end confdefs.h. */
15693 /* Override any GCC internal prototype to avoid an error.
15694 Use char because int might match the return type of a GCC
15695 builtin and then its argument prototype would still apply. */
15696 #ifdef __cplusplus
15697 extern "C"
15698 #endif
15699 char krb5_is_config_principal ();
15701 main ()
15703 return krb5_is_config_principal ();
15705 return 0;
15707 _ACEOF
15708 if ac_fn_c_try_link "$LINENO"; then :
15709 case "$LIBEXT" in
15710 dll) ac_cv_lib_soname_krb5=`$ac_cv_path_LDD conftest.exe | grep "krb5" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15711 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'` ;;
15712 *) ac_cv_lib_soname_krb5=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libkrb5\\.$LIBEXT" | sed -e "s/^.*\\[\\(libkrb5\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15713 if ${ac_cv_lib_soname_krb5:+false} :; then :
15714 ac_cv_lib_soname_krb5=`$LDD conftest$ac_exeext | grep "libkrb5\\.$LIBEXT" | sed -e "s/^.*\(libkrb5\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15715 fi ;;
15716 esac
15717 else
15718 ac_cv_lib_soname_krb5=
15720 rm -f core conftest.err conftest.$ac_objext \
15721 conftest$ac_exeext conftest.$ac_ext
15722 LIBS=$ac_check_soname_save_LIBS
15724 if ${ac_cv_lib_soname_krb5:+false} :; then :
15725 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15726 $as_echo "not found" >&6; }
15727 KRB5_CFLAGS=""
15728 else
15729 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_krb5" >&5
15730 $as_echo "$ac_cv_lib_soname_krb5" >&6; }
15732 cat >>confdefs.h <<_ACEOF
15733 #define SONAME_LIBKRB5 "$ac_cv_lib_soname_krb5"
15734 _ACEOF
15738 else
15739 KRB5_CFLAGS=""
15741 CPPFLAGS=$ac_save_CPPFLAGS
15744 if test "x$ac_cv_lib_soname_krb5" = "x"; then :
15745 case "x$with_krb5" in
15746 x) as_fn_append wine_notices "|libkrb5 ${notice_platform}development files not found (or too old), Kerberos won't be supported." ;;
15747 xno) ;;
15748 *) as_fn_error $? "libkrb5 ${notice_platform}development files not found (or too old), Kerberos won't be supported.
15749 This is an error since --with-krb5 was requested." "$LINENO" 5 ;;
15750 esac
15753 test "x$ac_cv_lib_soname_krb5" != "x" || with_gssapi=${with_gssapi:-no}
15755 if test "x$with_gssapi" != "xno"
15756 then
15757 if ${GSSAPI_CFLAGS:+false} :; then :
15758 if ${PKG_CONFIG+:} false; then :
15759 GSSAPI_CFLAGS=`$PKG_CONFIG --cflags krb5-gssapi 2>/dev/null`
15762 test "$cross_compiling" = yes || GSSAPI_CFLAGS=${GSSAPI_CFLAGS:-`${KRB5_CONFIG:-krb5-config} --cflags gssapi 2>/dev/null`}
15763 if ${GSSAPI_LIBS:+false} :; then :
15764 if ${PKG_CONFIG+:} false; then :
15765 GSSAPI_LIBS=`$PKG_CONFIG --libs krb5-gssapi 2>/dev/null`
15768 test "$cross_compiling" = yes || GSSAPI_LIBS=${GSSAPI_LIBS:-`${KRB5_CONFIG:-krb5-config} --libs gssapi 2>/dev/null`}
15770 $as_echo "$as_me:${as_lineno-$LINENO}: krb5-gssapi cflags: $GSSAPI_CFLAGS" >&5
15771 $as_echo "$as_me:${as_lineno-$LINENO}: krb5-gssapi libs: $GSSAPI_LIBS" >&5
15772 ac_save_CPPFLAGS=$CPPFLAGS
15773 CPPFLAGS="$CPPFLAGS $GSSAPI_CFLAGS"
15774 for ac_header in gssapi/gssapi.h gssapi/gssapi_ext.h
15775 do :
15776 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
15777 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
15778 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
15779 cat >>confdefs.h <<_ACEOF
15780 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
15781 _ACEOF
15785 done
15787 if test "$ac_cv_header_gssapi_gssapi_h" = "yes" -a "$ac_cv_header_gssapi_gssapi_ext_h" = "yes"
15788 then
15789 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgssapi_krb5" >&5
15790 $as_echo_n "checking for -lgssapi_krb5... " >&6; }
15791 if ${ac_cv_lib_soname_gssapi_krb5+:} false; then :
15792 $as_echo_n "(cached) " >&6
15793 else
15794 ac_check_soname_save_LIBS=$LIBS
15795 LIBS="-lgssapi_krb5 $GSSAPI_LIBS $LIBS"
15796 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15797 /* end confdefs.h. */
15799 /* Override any GCC internal prototype to avoid an error.
15800 Use char because int might match the return type of a GCC
15801 builtin and then its argument prototype would still apply. */
15802 #ifdef __cplusplus
15803 extern "C"
15804 #endif
15805 char gss_init_sec_context ();
15807 main ()
15809 return gss_init_sec_context ();
15811 return 0;
15813 _ACEOF
15814 if ac_fn_c_try_link "$LINENO"; then :
15815 case "$LIBEXT" in
15816 dll) ac_cv_lib_soname_gssapi_krb5=`$ac_cv_path_LDD conftest.exe | grep "gssapi_krb5" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15817 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'` ;;
15818 *) 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'`
15819 if ${ac_cv_lib_soname_gssapi_krb5:+false} :; then :
15820 ac_cv_lib_soname_gssapi_krb5=`$LDD conftest$ac_exeext | grep "libgssapi_krb5\\.$LIBEXT" | sed -e "s/^.*\(libgssapi_krb5\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15821 fi ;;
15822 esac
15823 else
15824 ac_cv_lib_soname_gssapi_krb5=
15826 rm -f core conftest.err conftest.$ac_objext \
15827 conftest$ac_exeext conftest.$ac_ext
15828 LIBS=$ac_check_soname_save_LIBS
15830 if ${ac_cv_lib_soname_gssapi_krb5:+false} :; then :
15831 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15832 $as_echo "not found" >&6; }
15833 GSSAPI_CFLAGS=""
15834 else
15835 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gssapi_krb5" >&5
15836 $as_echo "$ac_cv_lib_soname_gssapi_krb5" >&6; }
15838 cat >>confdefs.h <<_ACEOF
15839 #define SONAME_LIBGSSAPI_KRB5 "$ac_cv_lib_soname_gssapi_krb5"
15840 _ACEOF
15844 else
15845 GSSAPI_CFLAGS=""
15847 CPPFLAGS=$ac_save_CPPFLAGS
15850 if test "x$ac_cv_lib_soname_gssapi_krb5" = "x"; then :
15851 case "x$with_gssapi" in
15852 x) as_fn_append wine_notices "|libgssapi_krb5 ${notice_platform}development files not found (or too old), no Kerberos SSP support." ;;
15853 xno) ;;
15854 *) as_fn_error $? "libgssapi_krb5 ${notice_platform}development files not found (or too old), no Kerberos SSP support.
15855 This is an error since --with-gssapi was requested." "$LINENO" 5 ;;
15856 esac
15860 if test "x$with_jpeg" != "xno"
15861 then
15862 if ${JPEG_CFLAGS:+false} :; then :
15863 if ${PKG_CONFIG+:} false; then :
15864 JPEG_CFLAGS=`$PKG_CONFIG --cflags libjpeg 2>/dev/null`
15868 if ${JPEG_LIBS:+false} :; then :
15869 if ${PKG_CONFIG+:} false; then :
15870 JPEG_LIBS=`$PKG_CONFIG --libs libjpeg 2>/dev/null`
15875 $as_echo "$as_me:${as_lineno-$LINENO}: libjpeg cflags: $JPEG_CFLAGS" >&5
15876 $as_echo "$as_me:${as_lineno-$LINENO}: libjpeg libs: $JPEG_LIBS" >&5
15877 ac_save_CPPFLAGS=$CPPFLAGS
15878 CPPFLAGS="$CPPFLAGS $JPEG_CFLAGS"
15879 for ac_header in jpeglib.h
15880 do :
15881 ac_fn_c_check_header_mongrel "$LINENO" "jpeglib.h" "ac_cv_header_jpeglib_h" "$ac_includes_default"
15882 if test "x$ac_cv_header_jpeglib_h" = xyes; then :
15883 cat >>confdefs.h <<_ACEOF
15884 #define HAVE_JPEGLIB_H 1
15885 _ACEOF
15889 done
15891 if test "$ac_cv_header_jpeglib_h" = "yes"
15892 then
15893 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ljpeg" >&5
15894 $as_echo_n "checking for -ljpeg... " >&6; }
15895 if ${ac_cv_lib_soname_jpeg+:} false; then :
15896 $as_echo_n "(cached) " >&6
15897 else
15898 ac_check_soname_save_LIBS=$LIBS
15899 LIBS="-ljpeg $JPEG_LIBS $LIBS"
15900 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15901 /* end confdefs.h. */
15903 /* Override any GCC internal prototype to avoid an error.
15904 Use char because int might match the return type of a GCC
15905 builtin and then its argument prototype would still apply. */
15906 #ifdef __cplusplus
15907 extern "C"
15908 #endif
15909 char jpeg_start_decompress ();
15911 main ()
15913 return jpeg_start_decompress ();
15915 return 0;
15917 _ACEOF
15918 if ac_fn_c_try_link "$LINENO"; then :
15919 case "$LIBEXT" in
15920 dll) ac_cv_lib_soname_jpeg=`$ac_cv_path_LDD conftest.exe | grep "jpeg" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15921 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'` ;;
15922 *) ac_cv_lib_soname_jpeg=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libjpeg\\.$LIBEXT" | sed -e "s/^.*\\[\\(libjpeg\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15923 if ${ac_cv_lib_soname_jpeg:+false} :; then :
15924 ac_cv_lib_soname_jpeg=`$LDD conftest$ac_exeext | grep "libjpeg\\.$LIBEXT" | sed -e "s/^.*\(libjpeg\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15925 fi ;;
15926 esac
15927 else
15928 ac_cv_lib_soname_jpeg=
15930 rm -f core conftest.err conftest.$ac_objext \
15931 conftest$ac_exeext conftest.$ac_ext
15932 LIBS=$ac_check_soname_save_LIBS
15934 if ${ac_cv_lib_soname_jpeg:+false} :; then :
15935 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15936 $as_echo "not found" >&6; }
15937 JPEG_CFLAGS=""
15938 else
15939 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_jpeg" >&5
15940 $as_echo "$ac_cv_lib_soname_jpeg" >&6; }
15942 cat >>confdefs.h <<_ACEOF
15943 #define SONAME_LIBJPEG "$ac_cv_lib_soname_jpeg"
15944 _ACEOF
15948 else
15949 JPEG_CFLAGS=""
15951 CPPFLAGS=$ac_save_CPPFLAGS
15954 if test "x$ac_cv_lib_soname_jpeg" = "x"; then :
15955 case "x$with_jpeg" in
15956 x) as_fn_append wine_warnings "|libjpeg ${notice_platform}development files not found, JPEG won't be supported." ;;
15957 xno) ;;
15958 *) as_fn_error $? "libjpeg ${notice_platform}development files not found, JPEG won't be supported.
15959 This is an error since --with-jpeg was requested." "$LINENO" 5 ;;
15960 esac
15964 if test "x$with_jxrlib" != "xno"
15965 then
15966 if ${JXRLIB_CFLAGS:+false} :; then :
15967 if ${PKG_CONFIG+:} false; then :
15968 JXRLIB_CFLAGS=`$PKG_CONFIG --cflags jxrlib 2>/dev/null`
15971 test "$cross_compiling" = yes || JXRLIB_CFLAGS=${JXRLIB_CFLAGS:-${JXRLIB_CFLAGS:--I/usr/include/jxrlib}}
15972 if ${JXRLIB_LIBS:+false} :; then :
15973 if ${PKG_CONFIG+:} false; then :
15974 JXRLIB_LIBS=`$PKG_CONFIG --libs jxrlib 2>/dev/null`
15979 $as_echo "$as_me:${as_lineno-$LINENO}: jxrlib cflags: $JXRLIB_CFLAGS" >&5
15980 $as_echo "$as_me:${as_lineno-$LINENO}: jxrlib libs: $JXRLIB_LIBS" >&5
15981 ac_save_CPPFLAGS=$CPPFLAGS
15982 CPPFLAGS="$CPPFLAGS $JXRLIB_CFLAGS"
15983 for ac_header in JXRGlue.h
15984 do :
15985 ac_fn_c_check_header_compile "$LINENO" "JXRGlue.h" "ac_cv_header_JXRGlue_h" "#define FAR
15987 if test "x$ac_cv_header_JXRGlue_h" = xyes; then :
15988 cat >>confdefs.h <<_ACEOF
15989 #define HAVE_JXRGLUE_H 1
15990 _ACEOF
15994 done
15996 if test "$ac_cv_header_JXRGlue_h" = "yes"
15997 then
15998 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ljxrglue" >&5
15999 $as_echo_n "checking for -ljxrglue... " >&6; }
16000 if ${ac_cv_lib_soname_jxrglue+:} false; then :
16001 $as_echo_n "(cached) " >&6
16002 else
16003 ac_check_soname_save_LIBS=$LIBS
16004 LIBS="-ljxrglue $JXRLIB_LIBS $LIBS"
16005 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16006 /* end confdefs.h. */
16008 /* Override any GCC internal prototype to avoid an error.
16009 Use char because int might match the return type of a GCC
16010 builtin and then its argument prototype would still apply. */
16011 #ifdef __cplusplus
16012 extern "C"
16013 #endif
16014 char PKImageDecode_Create_WMP ();
16016 main ()
16018 return PKImageDecode_Create_WMP ();
16020 return 0;
16022 _ACEOF
16023 if ac_fn_c_try_link "$LINENO"; then :
16024 case "$LIBEXT" in
16025 dll) ac_cv_lib_soname_jxrglue=`$ac_cv_path_LDD conftest.exe | grep "jxrglue" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16026 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'` ;;
16027 *) ac_cv_lib_soname_jxrglue=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libjxrglue\\.$LIBEXT" | sed -e "s/^.*\\[\\(libjxrglue\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16028 if ${ac_cv_lib_soname_jxrglue:+false} :; then :
16029 ac_cv_lib_soname_jxrglue=`$LDD conftest$ac_exeext | grep "libjxrglue\\.$LIBEXT" | sed -e "s/^.*\(libjxrglue\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16030 fi ;;
16031 esac
16032 else
16033 ac_cv_lib_soname_jxrglue=
16035 rm -f core conftest.err conftest.$ac_objext \
16036 conftest$ac_exeext conftest.$ac_ext
16037 LIBS=$ac_check_soname_save_LIBS
16039 if ${ac_cv_lib_soname_jxrglue:+false} :; then :
16040 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16041 $as_echo "not found" >&6; }
16042 JXRLIB_CFLAGS=""
16043 else
16044 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_jxrglue" >&5
16045 $as_echo "$ac_cv_lib_soname_jxrglue" >&6; }
16047 cat >>confdefs.h <<_ACEOF
16048 #define SONAME_LIBJXRGLUE "$ac_cv_lib_soname_jxrglue"
16049 _ACEOF
16053 else
16054 JXRLIB_CFLAGS=""
16056 CPPFLAGS=$ac_save_CPPFLAGS
16059 if test "x$ac_cv_lib_soname_jxrglue" = "x"; then :
16060 case "x$with_jxrlib" in
16061 x) as_fn_append wine_notices "|jxrlib ${notice_platform}development files not found, JPEG-XR won't be supported." ;;
16062 xno) ;;
16063 *) as_fn_error $? "jxrlib ${notice_platform}development files not found, JPEG-XR won't be supported.
16064 This is an error since --with-jxrlib was requested." "$LINENO" 5 ;;
16065 esac
16069 if test "x$with_png" != "xno"
16070 then
16071 if ${PNG_CFLAGS:+false} :; then :
16072 if ${PKG_CONFIG+:} false; then :
16073 PNG_CFLAGS=`$PKG_CONFIG --cflags libpng 2>/dev/null`
16076 test "$cross_compiling" = yes || PNG_CFLAGS=${PNG_CFLAGS:-$X_CFLAGS}
16077 if ${PNG_LIBS:+false} :; then :
16078 if ${PKG_CONFIG+:} false; then :
16079 PNG_LIBS=`$PKG_CONFIG --libs libpng 2>/dev/null`
16082 test "$cross_compiling" = yes || PNG_LIBS=${PNG_LIBS:-$X_LIBS}
16084 $as_echo "$as_me:${as_lineno-$LINENO}: libpng cflags: $PNG_CFLAGS" >&5
16085 $as_echo "$as_me:${as_lineno-$LINENO}: libpng libs: $PNG_LIBS" >&5
16086 ac_save_CPPFLAGS=$CPPFLAGS
16087 CPPFLAGS="$CPPFLAGS $PNG_CFLAGS"
16088 for ac_header in png.h
16089 do :
16090 ac_fn_c_check_header_mongrel "$LINENO" "png.h" "ac_cv_header_png_h" "$ac_includes_default"
16091 if test "x$ac_cv_header_png_h" = xyes; then :
16092 cat >>confdefs.h <<_ACEOF
16093 #define HAVE_PNG_H 1
16094 _ACEOF
16098 done
16100 if test "$ac_cv_header_png_h" = "yes"
16101 then
16102 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lpng" >&5
16103 $as_echo_n "checking for -lpng... " >&6; }
16104 if ${ac_cv_lib_soname_png+:} false; then :
16105 $as_echo_n "(cached) " >&6
16106 else
16107 ac_check_soname_save_LIBS=$LIBS
16108 LIBS="-lpng $PNG_LIBS -lm -lz $LIBS"
16109 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16110 /* end confdefs.h. */
16112 /* Override any GCC internal prototype to avoid an error.
16113 Use char because int might match the return type of a GCC
16114 builtin and then its argument prototype would still apply. */
16115 #ifdef __cplusplus
16116 extern "C"
16117 #endif
16118 char png_create_read_struct ();
16120 main ()
16122 return png_create_read_struct ();
16124 return 0;
16126 _ACEOF
16127 if ac_fn_c_try_link "$LINENO"; then :
16128 case "$LIBEXT" in
16129 dll) ac_cv_lib_soname_png=`$ac_cv_path_LDD conftest.exe | grep "png" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16130 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'` ;;
16131 *) 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'`
16132 if ${ac_cv_lib_soname_png:+false} :; then :
16133 ac_cv_lib_soname_png=`$LDD conftest$ac_exeext | grep "libpng[0-9]*\\.$LIBEXT" | sed -e "s/^.*\(libpng[0-9]*\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16134 fi ;;
16135 esac
16136 else
16137 ac_cv_lib_soname_png=
16139 rm -f core conftest.err conftest.$ac_objext \
16140 conftest$ac_exeext conftest.$ac_ext
16141 LIBS=$ac_check_soname_save_LIBS
16143 if ${ac_cv_lib_soname_png:+false} :; then :
16144 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16145 $as_echo "not found" >&6; }
16146 PNG_CFLAGS=""
16147 else
16148 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_png" >&5
16149 $as_echo "$ac_cv_lib_soname_png" >&6; }
16151 cat >>confdefs.h <<_ACEOF
16152 #define SONAME_LIBPNG "$ac_cv_lib_soname_png"
16153 _ACEOF
16157 else
16158 PNG_CFLAGS=""
16160 CPPFLAGS=$ac_save_CPPFLAGS
16163 if test "x$ac_cv_lib_soname_png" = "x"; then :
16164 case "x$with_png" in
16165 x) as_fn_append wine_warnings "|libpng ${notice_platform}development files not found, PNG won't be supported." ;;
16166 xno) ;;
16167 *) as_fn_error $? "libpng ${notice_platform}development files not found, PNG won't be supported.
16168 This is an error since --with-png was requested." "$LINENO" 5 ;;
16169 esac
16173 if test "x$with_tiff" != "xno"
16174 then
16175 if ${TIFF_CFLAGS:+false} :; then :
16176 if ${PKG_CONFIG+:} false; then :
16177 TIFF_CFLAGS=`$PKG_CONFIG --cflags libtiff-4 2>/dev/null`
16181 if ${TIFF_LIBS:+false} :; then :
16182 if ${PKG_CONFIG+:} false; then :
16183 TIFF_LIBS=`$PKG_CONFIG --libs libtiff-4 2>/dev/null`
16188 $as_echo "$as_me:${as_lineno-$LINENO}: libtiff-4 cflags: $TIFF_CFLAGS" >&5
16189 $as_echo "$as_me:${as_lineno-$LINENO}: libtiff-4 libs: $TIFF_LIBS" >&5
16190 ac_save_CPPFLAGS=$CPPFLAGS
16191 CPPFLAGS="$CPPFLAGS $TIFF_CFLAGS"
16192 for ac_header in tiffio.h
16193 do :
16194 ac_fn_c_check_header_mongrel "$LINENO" "tiffio.h" "ac_cv_header_tiffio_h" "$ac_includes_default"
16195 if test "x$ac_cv_header_tiffio_h" = xyes; then :
16196 cat >>confdefs.h <<_ACEOF
16197 #define HAVE_TIFFIO_H 1
16198 _ACEOF
16202 done
16204 if test "$ac_cv_header_tiffio_h" = "yes"
16205 then
16206 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ltiff" >&5
16207 $as_echo_n "checking for -ltiff... " >&6; }
16208 if ${ac_cv_lib_soname_tiff+:} false; then :
16209 $as_echo_n "(cached) " >&6
16210 else
16211 ac_check_soname_save_LIBS=$LIBS
16212 LIBS="-ltiff $TIFF_LIBS $LIBS"
16213 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16214 /* end confdefs.h. */
16216 /* Override any GCC internal prototype to avoid an error.
16217 Use char because int might match the return type of a GCC
16218 builtin and then its argument prototype would still apply. */
16219 #ifdef __cplusplus
16220 extern "C"
16221 #endif
16222 char TIFFClientOpen ();
16224 main ()
16226 return TIFFClientOpen ();
16228 return 0;
16230 _ACEOF
16231 if ac_fn_c_try_link "$LINENO"; then :
16232 case "$LIBEXT" in
16233 dll) ac_cv_lib_soname_tiff=`$ac_cv_path_LDD conftest.exe | grep "tiff" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16234 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'` ;;
16235 *) ac_cv_lib_soname_tiff=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libtiff\\.$LIBEXT" | sed -e "s/^.*\\[\\(libtiff\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16236 if ${ac_cv_lib_soname_tiff:+false} :; then :
16237 ac_cv_lib_soname_tiff=`$LDD conftest$ac_exeext | grep "libtiff\\.$LIBEXT" | sed -e "s/^.*\(libtiff\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16238 fi ;;
16239 esac
16240 else
16241 ac_cv_lib_soname_tiff=
16243 rm -f core conftest.err conftest.$ac_objext \
16244 conftest$ac_exeext conftest.$ac_ext
16245 LIBS=$ac_check_soname_save_LIBS
16247 if ${ac_cv_lib_soname_tiff:+false} :; then :
16248 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16249 $as_echo "not found" >&6; }
16251 else
16252 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_tiff" >&5
16253 $as_echo "$ac_cv_lib_soname_tiff" >&6; }
16255 cat >>confdefs.h <<_ACEOF
16256 #define SONAME_LIBTIFF "$ac_cv_lib_soname_tiff"
16257 _ACEOF
16262 CPPFLAGS=$ac_save_CPPFLAGS
16265 if test "x$ac_cv_lib_soname_tiff" = "x"; then :
16266 case "x$with_tiff" in
16267 x) as_fn_append wine_notices "|libtiff ${notice_platform}development files not found, TIFF won't be supported." ;;
16268 xno) ;;
16269 *) as_fn_error $? "libtiff ${notice_platform}development files not found, TIFF won't be supported.
16270 This is an error since --with-tiff was requested." "$LINENO" 5 ;;
16271 esac
16275 if test "x$with_mpg123" != "xno"
16276 then
16277 if ${MPG123_CFLAGS:+false} :; then :
16278 if ${PKG_CONFIG+:} false; then :
16279 MPG123_CFLAGS=`$PKG_CONFIG --cflags libmpg123 2>/dev/null`
16283 if ${MPG123_LIBS:+false} :; then :
16284 if ${PKG_CONFIG+:} false; then :
16285 MPG123_LIBS=`$PKG_CONFIG --libs libmpg123 2>/dev/null`
16289 MPG123_LIBS=${MPG123_LIBS:-"-lmpg123"}
16290 $as_echo "$as_me:${as_lineno-$LINENO}: libmpg123 cflags: $MPG123_CFLAGS" >&5
16291 $as_echo "$as_me:${as_lineno-$LINENO}: libmpg123 libs: $MPG123_LIBS" >&5
16292 ac_save_CPPFLAGS=$CPPFLAGS
16293 CPPFLAGS="$CPPFLAGS $MPG123_CFLAGS"
16294 for ac_header in mpg123.h
16295 do :
16296 ac_fn_c_check_header_mongrel "$LINENO" "mpg123.h" "ac_cv_header_mpg123_h" "$ac_includes_default"
16297 if test "x$ac_cv_header_mpg123_h" = xyes; then :
16298 cat >>confdefs.h <<_ACEOF
16299 #define HAVE_MPG123_H 1
16300 _ACEOF
16304 done
16306 if test "$ac_cv_header_mpg123_h" = "yes"
16307 then
16308 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mpg123_feed in -lmpg123" >&5
16309 $as_echo_n "checking for mpg123_feed in -lmpg123... " >&6; }
16310 if ${ac_cv_lib_mpg123_mpg123_feed+:} false; then :
16311 $as_echo_n "(cached) " >&6
16312 else
16313 ac_check_lib_save_LIBS=$LIBS
16314 LIBS="-lmpg123 $MPG123_LIBS $LIBS"
16315 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16316 /* end confdefs.h. */
16318 /* Override any GCC internal prototype to avoid an error.
16319 Use char because int might match the return type of a GCC
16320 builtin and then its argument prototype would still apply. */
16321 #ifdef __cplusplus
16322 extern "C"
16323 #endif
16324 char mpg123_feed ();
16326 main ()
16328 return mpg123_feed ();
16330 return 0;
16332 _ACEOF
16333 if ac_fn_c_try_link "$LINENO"; then :
16334 ac_cv_lib_mpg123_mpg123_feed=yes
16335 else
16336 ac_cv_lib_mpg123_mpg123_feed=no
16338 rm -f core conftest.err conftest.$ac_objext \
16339 conftest$ac_exeext conftest.$ac_ext
16340 LIBS=$ac_check_lib_save_LIBS
16342 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_mpg123_mpg123_feed" >&5
16343 $as_echo "$ac_cv_lib_mpg123_mpg123_feed" >&6; }
16344 if test "x$ac_cv_lib_mpg123_mpg123_feed" = xyes; then :
16346 else
16347 MPG123_LIBS=""
16350 else
16351 MPG123_CFLAGS=""
16352 MPG123_LIBS=""
16354 CPPFLAGS=$ac_save_CPPFLAGS
16357 if test "x$ac_cv_lib_mpg123_mpg123_feed" != xyes -a x"$ac_cv_header_CoreAudio_CoreAudio_h" != xyes; then :
16358 case "x$with_mpg123" in
16359 x) as_fn_append wine_notices "|libmpg123 ${notice_platform}development files not found (or too old), mp3 codec won't be supported." ;;
16360 xno) ;;
16361 *) as_fn_error $? "libmpg123 ${notice_platform}development files not found (or too old), mp3 codec won't be supported.
16362 This is an error since --with-mpg123 was requested." "$LINENO" 5 ;;
16363 esac
16364 enable_l3codeca_acm=${enable_l3codeca_acm:-no}
16366 test "x$ac_cv_lib_mpg123_mpg123_feed" = xyes || enable_mp3dmod=${enable_mp3dmod:-no}
16368 if test "$ac_cv_header_AL_al_h" = "yes"
16369 then
16370 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lopenal" >&5
16371 $as_echo_n "checking for -lopenal... " >&6; }
16372 if ${ac_cv_lib_soname_openal+:} false; then :
16373 $as_echo_n "(cached) " >&6
16374 else
16375 ac_check_soname_save_LIBS=$LIBS
16376 LIBS="-lopenal $LIBS"
16377 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16378 /* end confdefs.h. */
16380 /* Override any GCC internal prototype to avoid an error.
16381 Use char because int might match the return type of a GCC
16382 builtin and then its argument prototype would still apply. */
16383 #ifdef __cplusplus
16384 extern "C"
16385 #endif
16386 char alGetSource3i ();
16388 main ()
16390 return alGetSource3i ();
16392 return 0;
16394 _ACEOF
16395 if ac_fn_c_try_link "$LINENO"; then :
16396 case "$LIBEXT" in
16397 dll) ac_cv_lib_soname_openal=`$ac_cv_path_LDD conftest.exe | grep "openal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16398 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'` ;;
16399 *) ac_cv_lib_soname_openal=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libopenal\\.$LIBEXT" | sed -e "s/^.*\\[\\(libopenal\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16400 if ${ac_cv_lib_soname_openal:+false} :; then :
16401 ac_cv_lib_soname_openal=`$LDD conftest$ac_exeext | grep "libopenal\\.$LIBEXT" | sed -e "s/^.*\(libopenal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16402 fi ;;
16403 esac
16404 else
16405 ac_cv_lib_soname_openal=
16407 rm -f core conftest.err conftest.$ac_objext \
16408 conftest$ac_exeext conftest.$ac_ext
16409 LIBS=$ac_check_soname_save_LIBS
16411 if ${ac_cv_lib_soname_openal:+false} :; then :
16412 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16413 $as_echo "not found" >&6; }
16415 else
16416 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_openal" >&5
16417 $as_echo "$ac_cv_lib_soname_openal" >&6; }
16419 cat >>confdefs.h <<_ACEOF
16420 #define SONAME_LIBOPENAL "$ac_cv_lib_soname_openal"
16421 _ACEOF
16423 OPENAL_LIBS="-lopenal"
16425 ac_cv_lib_openal=yes
16427 cat >>confdefs.h <<_ACEOF
16428 #define HAVE_OPENAL 1
16429 _ACEOF
16433 if test "x$ac_cv_lib_openal" != xyes; then :
16434 case "x$with_openal" in
16435 x) as_fn_append wine_notices "|libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported." ;;
16436 xno) ;;
16437 *) as_fn_error $? "libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported.
16438 This is an error since --with-openal was requested." "$LINENO" 5 ;;
16439 esac
16440 enable_openal32=${enable_openal32:-no}
16443 if test "x$ac_cv_lib_soname_FAudio" = "x"
16444 then
16445 enable_x3daudio1_0=${enable_x3daudio1_0:-no}
16446 enable_x3daudio1_1=${enable_x3daudio1_1:-no}
16447 enable_x3daudio1_2=${enable_x3daudio1_2:-no}
16448 enable_x3daudio1_3=${enable_x3daudio1_3:-no}
16449 enable_x3daudio1_4=${enable_x3daudio1_4:-no}
16450 enable_x3daudio1_5=${enable_x3daudio1_5:-no}
16451 enable_x3daudio1_6=${enable_x3daudio1_6:-no}
16452 enable_x3daudio1_7=${enable_x3daudio1_7:-no}
16453 enable_xactengine2_0=${enable_xactengine2_0:-no}
16454 enable_xactengine2_4=${enable_xactengine2_4:-no}
16455 enable_xactengine2_7=${enable_xactengine2_7:-no}
16456 enable_xactengine2_9=${enable_xactengine2_9:-no}
16457 enable_xactengine3_0=${enable_xactengine3_0:-no}
16458 enable_xactengine3_1=${enable_xactengine3_1:-no}
16459 enable_xactengine3_2=${enable_xactengine3_2:-no}
16460 enable_xactengine3_3=${enable_xactengine3_3:-no}
16461 enable_xactengine3_4=${enable_xactengine3_4:-no}
16462 enable_xactengine3_5=${enable_xactengine3_5:-no}
16463 enable_xactengine3_6=${enable_xactengine3_6:-no}
16464 enable_xactengine3_7=${enable_xactengine3_7:-no}
16465 enable_xapofx1_1=${enable_xapofx1_1:-no}
16466 enable_xapofx1_2=${enable_xapofx1_2:-no}
16467 enable_xapofx1_3=${enable_xapofx1_3:-no}
16468 enable_xapofx1_4=${enable_xapofx1_4:-no}
16469 enable_xapofx1_5=${enable_xapofx1_5:-no}
16470 enable_xaudio2_0=${enable_xaudio2_0:-no}
16471 enable_xaudio2_1=${enable_xaudio2_1:-no}
16472 enable_xaudio2_2=${enable_xaudio2_2:-no}
16473 enable_xaudio2_3=${enable_xaudio2_3:-no}
16474 enable_xaudio2_4=${enable_xaudio2_4:-no}
16475 enable_xaudio2_5=${enable_xaudio2_5:-no}
16476 enable_xaudio2_6=${enable_xaudio2_6:-no}
16477 enable_xaudio2_7=${enable_xaudio2_7:-no}
16478 enable_xaudio2_8=${enable_xaudio2_8:-no}
16479 enable_xaudio2_9=${enable_xaudio2_9:-no}
16482 if test "$ac_cv_header_kstat_h" = "yes"
16483 then
16484 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for kstat_open in -lkstat" >&5
16485 $as_echo_n "checking for kstat_open in -lkstat... " >&6; }
16486 if ${ac_cv_lib_kstat_kstat_open+:} false; then :
16487 $as_echo_n "(cached) " >&6
16488 else
16489 ac_check_lib_save_LIBS=$LIBS
16490 LIBS="-lkstat $LIBS"
16491 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16492 /* end confdefs.h. */
16494 /* Override any GCC internal prototype to avoid an error.
16495 Use char because int might match the return type of a GCC
16496 builtin and then its argument prototype would still apply. */
16497 #ifdef __cplusplus
16498 extern "C"
16499 #endif
16500 char kstat_open ();
16502 main ()
16504 return kstat_open ();
16506 return 0;
16508 _ACEOF
16509 if ac_fn_c_try_link "$LINENO"; then :
16510 ac_cv_lib_kstat_kstat_open=yes
16511 else
16512 ac_cv_lib_kstat_kstat_open=no
16514 rm -f core conftest.err conftest.$ac_objext \
16515 conftest$ac_exeext conftest.$ac_ext
16516 LIBS=$ac_check_lib_save_LIBS
16518 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_kstat_kstat_open" >&5
16519 $as_echo "$ac_cv_lib_kstat_kstat_open" >&6; }
16520 if test "x$ac_cv_lib_kstat_kstat_open" = xyes; then :
16522 $as_echo "#define HAVE_LIBKSTAT 1" >>confdefs.h
16524 KSTAT_LIBS="-lkstat"
16530 if test "$ac_cv_header_libprocstat_h" = "yes"
16531 then
16532 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for procstat_open_sysctl in -lprocstat" >&5
16533 $as_echo_n "checking for procstat_open_sysctl in -lprocstat... " >&6; }
16534 if ${ac_cv_lib_procstat_procstat_open_sysctl+:} false; then :
16535 $as_echo_n "(cached) " >&6
16536 else
16537 ac_check_lib_save_LIBS=$LIBS
16538 LIBS="-lprocstat $LIBS"
16539 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16540 /* end confdefs.h. */
16542 /* Override any GCC internal prototype to avoid an error.
16543 Use char because int might match the return type of a GCC
16544 builtin and then its argument prototype would still apply. */
16545 #ifdef __cplusplus
16546 extern "C"
16547 #endif
16548 char procstat_open_sysctl ();
16550 main ()
16552 return procstat_open_sysctl ();
16554 return 0;
16556 _ACEOF
16557 if ac_fn_c_try_link "$LINENO"; then :
16558 ac_cv_lib_procstat_procstat_open_sysctl=yes
16559 else
16560 ac_cv_lib_procstat_procstat_open_sysctl=no
16562 rm -f core conftest.err conftest.$ac_objext \
16563 conftest$ac_exeext conftest.$ac_ext
16564 LIBS=$ac_check_lib_save_LIBS
16566 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_procstat_procstat_open_sysctl" >&5
16567 $as_echo "$ac_cv_lib_procstat_procstat_open_sysctl" >&6; }
16568 if test "x$ac_cv_lib_procstat_procstat_open_sysctl" = xyes; then :
16570 $as_echo "#define HAVE_LIBPROCSTAT 1" >>confdefs.h
16572 PROCSTAT_LIBS="-lprocstat"
16578 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lodbc" >&5
16579 $as_echo_n "checking for -lodbc... " >&6; }
16580 if ${ac_cv_lib_soname_odbc+:} false; then :
16581 $as_echo_n "(cached) " >&6
16582 else
16583 ac_check_soname_save_LIBS=$LIBS
16584 LIBS="-lodbc $LIBS"
16585 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16586 /* end confdefs.h. */
16588 /* Override any GCC internal prototype to avoid an error.
16589 Use char because int might match the return type of a GCC
16590 builtin and then its argument prototype would still apply. */
16591 #ifdef __cplusplus
16592 extern "C"
16593 #endif
16594 char SQLConnect ();
16596 main ()
16598 return SQLConnect ();
16600 return 0;
16602 _ACEOF
16603 if ac_fn_c_try_link "$LINENO"; then :
16604 case "$LIBEXT" in
16605 dll) ac_cv_lib_soname_odbc=`$ac_cv_path_LDD conftest.exe | grep "odbc" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16606 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'` ;;
16607 *) ac_cv_lib_soname_odbc=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libodbc\\.$LIBEXT" | sed -e "s/^.*\\[\\(libodbc\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16608 if ${ac_cv_lib_soname_odbc:+false} :; then :
16609 ac_cv_lib_soname_odbc=`$LDD conftest$ac_exeext | grep "libodbc\\.$LIBEXT" | sed -e "s/^.*\(libodbc\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16610 fi ;;
16611 esac
16612 else
16613 ac_cv_lib_soname_odbc=
16615 rm -f core conftest.err conftest.$ac_objext \
16616 conftest$ac_exeext conftest.$ac_ext
16617 LIBS=$ac_check_soname_save_LIBS
16619 if ${ac_cv_lib_soname_odbc:+false} :; then :
16620 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16621 $as_echo "not found" >&6; }
16622 cat >>confdefs.h <<_ACEOF
16623 #define SONAME_LIBODBC "libodbc.$LIBEXT"
16624 _ACEOF
16626 else
16627 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_odbc" >&5
16628 $as_echo "$ac_cv_lib_soname_odbc" >&6; }
16630 cat >>confdefs.h <<_ACEOF
16631 #define SONAME_LIBODBC "$ac_cv_lib_soname_odbc"
16632 _ACEOF
16637 if test "x$with_netapi" != "xno"
16638 then
16639 if ${NETAPI_CFLAGS:+false} :; then :
16640 if ${PKG_CONFIG+:} false; then :
16641 NETAPI_CFLAGS=`$PKG_CONFIG --cflags netapi 2>/dev/null`
16645 if ${NETAPI_LIBS:+false} :; then :
16646 if ${PKG_CONFIG+:} false; then :
16647 NETAPI_LIBS=`$PKG_CONFIG --libs netapi 2>/dev/null`
16652 $as_echo "$as_me:${as_lineno-$LINENO}: netapi cflags: $NETAPI_CFLAGS" >&5
16653 $as_echo "$as_me:${as_lineno-$LINENO}: netapi libs: $NETAPI_LIBS" >&5
16654 ac_save_CPPFLAGS=$CPPFLAGS
16655 CPPFLAGS="$CPPFLAGS $NETAPI_CFLAGS"
16656 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lnetapi" >&5
16657 $as_echo_n "checking for -lnetapi... " >&6; }
16658 if ${ac_cv_lib_soname_netapi+:} false; then :
16659 $as_echo_n "(cached) " >&6
16660 else
16661 ac_check_soname_save_LIBS=$LIBS
16662 LIBS="-lnetapi $NETAPI_LIBS $LIBS"
16663 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16664 /* end confdefs.h. */
16666 /* Override any GCC internal prototype to avoid an error.
16667 Use char because int might match the return type of a GCC
16668 builtin and then its argument prototype would still apply. */
16669 #ifdef __cplusplus
16670 extern "C"
16671 #endif
16672 char libnetapi_init ();
16674 main ()
16676 return libnetapi_init ();
16678 return 0;
16680 _ACEOF
16681 if ac_fn_c_try_link "$LINENO"; then :
16682 case "$LIBEXT" in
16683 dll) ac_cv_lib_soname_netapi=`$ac_cv_path_LDD conftest.exe | grep "netapi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16684 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'` ;;
16685 *) ac_cv_lib_soname_netapi=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libnetapi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libnetapi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16686 if ${ac_cv_lib_soname_netapi:+false} :; then :
16687 ac_cv_lib_soname_netapi=`$LDD conftest$ac_exeext | grep "libnetapi\\.$LIBEXT" | sed -e "s/^.*\(libnetapi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16688 fi ;;
16689 esac
16690 else
16691 ac_cv_lib_soname_netapi=
16693 rm -f core conftest.err conftest.$ac_objext \
16694 conftest$ac_exeext conftest.$ac_ext
16695 LIBS=$ac_check_soname_save_LIBS
16697 if ${ac_cv_lib_soname_netapi:+false} :; then :
16698 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16699 $as_echo "not found" >&6; }
16700 cat >>confdefs.h <<_ACEOF
16701 #define SONAME_LIBNETAPI "libnetapi.$LIBEXT"
16702 _ACEOF
16704 else
16705 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_netapi" >&5
16706 $as_echo "$ac_cv_lib_soname_netapi" >&6; }
16708 cat >>confdefs.h <<_ACEOF
16709 #define SONAME_LIBNETAPI "$ac_cv_lib_soname_netapi"
16710 _ACEOF
16714 CPPFLAGS=$ac_save_CPPFLAGS
16718 if test "x$enable_winealsa_drv$enable_winecoreaudio_drv$enable_winepulse_drv$enable_wineoss_drv$enable_wineandroid_drv" = xnonononono -a \
16719 "x$with_alsa$with_coreaudio$with_oss$with_pulse" != xnononono
16720 then
16721 as_fn_append wine_warnings "|No sound system was found. Windows applications will be silent."
16724 if test "x$with_vulkan" != "xno"
16725 then
16726 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lvulkan" >&5
16727 $as_echo_n "checking for -lvulkan... " >&6; }
16728 if ${ac_cv_lib_soname_vulkan+:} false; then :
16729 $as_echo_n "(cached) " >&6
16730 else
16731 ac_check_soname_save_LIBS=$LIBS
16732 LIBS="-lvulkan $LIBS"
16733 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16734 /* end confdefs.h. */
16736 /* Override any GCC internal prototype to avoid an error.
16737 Use char because int might match the return type of a GCC
16738 builtin and then its argument prototype would still apply. */
16739 #ifdef __cplusplus
16740 extern "C"
16741 #endif
16742 char vkGetInstanceProcAddr ();
16744 main ()
16746 return vkGetInstanceProcAddr ();
16748 return 0;
16750 _ACEOF
16751 if ac_fn_c_try_link "$LINENO"; then :
16752 case "$LIBEXT" in
16753 dll) ac_cv_lib_soname_vulkan=`$ac_cv_path_LDD conftest.exe | grep "vulkan" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16754 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'` ;;
16755 *) ac_cv_lib_soname_vulkan=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libvulkan\\.$LIBEXT" | sed -e "s/^.*\\[\\(libvulkan\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16756 if ${ac_cv_lib_soname_vulkan:+false} :; then :
16757 ac_cv_lib_soname_vulkan=`$LDD conftest$ac_exeext | grep "libvulkan\\.$LIBEXT" | sed -e "s/^.*\(libvulkan\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16758 fi ;;
16759 esac
16760 else
16761 ac_cv_lib_soname_vulkan=
16763 rm -f core conftest.err conftest.$ac_objext \
16764 conftest$ac_exeext conftest.$ac_ext
16765 LIBS=$ac_check_soname_save_LIBS
16767 if ${ac_cv_lib_soname_vulkan:+false} :; then :
16768 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16769 $as_echo "not found" >&6; }
16771 else
16772 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_vulkan" >&5
16773 $as_echo "$ac_cv_lib_soname_vulkan" >&6; }
16775 cat >>confdefs.h <<_ACEOF
16776 #define SONAME_LIBVULKAN "$ac_cv_lib_soname_vulkan"
16777 _ACEOF
16781 if test "x$ac_cv_lib_soname_vulkan" = "x"
16782 then
16783 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lMoltenVK" >&5
16784 $as_echo_n "checking for -lMoltenVK... " >&6; }
16785 if ${ac_cv_lib_soname_MoltenVK+:} false; then :
16786 $as_echo_n "(cached) " >&6
16787 else
16788 ac_check_soname_save_LIBS=$LIBS
16789 LIBS="-lMoltenVK $LIBS"
16790 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16791 /* end confdefs.h. */
16793 /* Override any GCC internal prototype to avoid an error.
16794 Use char because int might match the return type of a GCC
16795 builtin and then its argument prototype would still apply. */
16796 #ifdef __cplusplus
16797 extern "C"
16798 #endif
16799 char vkGetInstanceProcAddr ();
16801 main ()
16803 return vkGetInstanceProcAddr ();
16805 return 0;
16807 _ACEOF
16808 if ac_fn_c_try_link "$LINENO"; then :
16809 case "$LIBEXT" in
16810 dll) ac_cv_lib_soname_MoltenVK=`$ac_cv_path_LDD conftest.exe | grep "MoltenVK" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16811 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'` ;;
16812 *) ac_cv_lib_soname_MoltenVK=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libMoltenVK\\.$LIBEXT" | sed -e "s/^.*\\[\\(libMoltenVK\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16813 if ${ac_cv_lib_soname_MoltenVK:+false} :; then :
16814 ac_cv_lib_soname_MoltenVK=`$LDD conftest$ac_exeext | grep "libMoltenVK\\.$LIBEXT" | sed -e "s/^.*\(libMoltenVK\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16815 fi ;;
16816 esac
16817 else
16818 ac_cv_lib_soname_MoltenVK=
16820 rm -f core conftest.err conftest.$ac_objext \
16821 conftest$ac_exeext conftest.$ac_ext
16822 LIBS=$ac_check_soname_save_LIBS
16824 if ${ac_cv_lib_soname_MoltenVK:+false} :; then :
16825 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16826 $as_echo "not found" >&6; }
16828 else
16829 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_MoltenVK" >&5
16830 $as_echo "$ac_cv_lib_soname_MoltenVK" >&6; }
16832 cat >>confdefs.h <<_ACEOF
16833 #define SONAME_LIBMOLTENVK "$ac_cv_lib_soname_MoltenVK"
16834 _ACEOF
16840 if test "x$ac_cv_lib_soname_vulkan" = "x" -a "x$ac_cv_lib_soname_MoltenVK" = "x"; then :
16841 case "x$with_vulkan" in
16842 x) as_fn_append wine_notices "|libvulkan and libMoltenVK ${notice_platform}development files not found, Vulkan won't be supported." ;;
16843 xno) ;;
16844 *) as_fn_error $? "libvulkan and libMoltenVK ${notice_platform}development files not found, Vulkan won't be supported.
16845 This is an error since --with-vulkan was requested." "$LINENO" 5 ;;
16846 esac
16850 if test "x$with_vkd3d" != "xno"
16851 then
16852 if ${VKD3D_CFLAGS:+false} :; then :
16853 if ${PKG_CONFIG+:} false; then :
16854 VKD3D_CFLAGS=`$PKG_CONFIG --cflags libvkd3d 2>/dev/null`
16858 if ${VKD3D_LIBS:+false} :; then :
16859 if ${PKG_CONFIG+:} false; then :
16860 VKD3D_LIBS=`$PKG_CONFIG --libs libvkd3d 2>/dev/null`
16865 $as_echo "$as_me:${as_lineno-$LINENO}: libvkd3d cflags: $VKD3D_CFLAGS" >&5
16866 $as_echo "$as_me:${as_lineno-$LINENO}: libvkd3d libs: $VKD3D_LIBS" >&5
16867 ac_save_CPPFLAGS=$CPPFLAGS
16868 CPPFLAGS="$CPPFLAGS $VKD3D_CFLAGS"
16869 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lvkd3d" >&5
16870 $as_echo_n "checking for -lvkd3d... " >&6; }
16871 if ${ac_cv_lib_soname_vkd3d+:} false; then :
16872 $as_echo_n "(cached) " >&6
16873 else
16874 ac_check_soname_save_LIBS=$LIBS
16875 LIBS="-lvkd3d $VKD3D_LIBS $LIBS"
16876 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16877 /* end confdefs.h. */
16879 /* Override any GCC internal prototype to avoid an error.
16880 Use char because int might match the return type of a GCC
16881 builtin and then its argument prototype would still apply. */
16882 #ifdef __cplusplus
16883 extern "C"
16884 #endif
16885 char vkd3d_serialize_versioned_root_signature ();
16887 main ()
16889 return vkd3d_serialize_versioned_root_signature ();
16891 return 0;
16893 _ACEOF
16894 if ac_fn_c_try_link "$LINENO"; then :
16895 case "$LIBEXT" in
16896 dll) ac_cv_lib_soname_vkd3d=`$ac_cv_path_LDD conftest.exe | grep "vkd3d" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16897 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'` ;;
16898 *) ac_cv_lib_soname_vkd3d=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libvkd3d\\.$LIBEXT" | sed -e "s/^.*\\[\\(libvkd3d\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16899 if ${ac_cv_lib_soname_vkd3d:+false} :; then :
16900 ac_cv_lib_soname_vkd3d=`$LDD conftest$ac_exeext | grep "libvkd3d\\.$LIBEXT" | sed -e "s/^.*\(libvkd3d\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16901 fi ;;
16902 esac
16903 else
16904 ac_cv_lib_soname_vkd3d=
16906 rm -f core conftest.err conftest.$ac_objext \
16907 conftest$ac_exeext conftest.$ac_ext
16908 LIBS=$ac_check_soname_save_LIBS
16910 if ${ac_cv_lib_soname_vkd3d:+false} :; then :
16911 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16912 $as_echo "not found" >&6; }
16914 else
16915 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_vkd3d" >&5
16916 $as_echo "$ac_cv_lib_soname_vkd3d" >&6; }
16918 cat >>confdefs.h <<_ACEOF
16919 #define SONAME_LIBVKD3D "$ac_cv_lib_soname_vkd3d"
16920 _ACEOF
16924 CPPFLAGS=$ac_save_CPPFLAGS
16926 if ${VKD3D_SHADER_CFLAGS:+false} :; then :
16927 if ${PKG_CONFIG+:} false; then :
16928 VKD3D_SHADER_CFLAGS=`$PKG_CONFIG --cflags libvkd3d-shader 2>/dev/null`
16932 if ${VKD3D_SHADER_LIBS:+false} :; then :
16933 if ${PKG_CONFIG+:} false; then :
16934 VKD3D_SHADER_LIBS=`$PKG_CONFIG --libs libvkd3d-shader 2>/dev/null`
16939 $as_echo "$as_me:${as_lineno-$LINENO}: libvkd3d-shader cflags: $VKD3D_SHADER_CFLAGS" >&5
16940 $as_echo "$as_me:${as_lineno-$LINENO}: libvkd3d-shader libs: $VKD3D_SHADER_LIBS" >&5
16941 ac_save_CPPFLAGS=$CPPFLAGS
16942 CPPFLAGS="$CPPFLAGS $VKD3D_SHADER_CFLAGS"
16943 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lvkd3d-shader" >&5
16944 $as_echo_n "checking for -lvkd3d-shader... " >&6; }
16945 if ${ac_cv_lib_soname_vkd3d_shader+:} false; then :
16946 $as_echo_n "(cached) " >&6
16947 else
16948 ac_check_soname_save_LIBS=$LIBS
16949 LIBS="-lvkd3d-shader $VKD3D_SHADER_LIBS $LIBS"
16950 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16951 /* end confdefs.h. */
16953 /* Override any GCC internal prototype to avoid an error.
16954 Use char because int might match the return type of a GCC
16955 builtin and then its argument prototype would still apply. */
16956 #ifdef __cplusplus
16957 extern "C"
16958 #endif
16959 char vkd3d_shader_compile ();
16961 main ()
16963 return vkd3d_shader_compile ();
16965 return 0;
16967 _ACEOF
16968 if ac_fn_c_try_link "$LINENO"; then :
16969 case "$LIBEXT" in
16970 dll) ac_cv_lib_soname_vkd3d_shader=`$ac_cv_path_LDD conftest.exe | grep "vkd3d-shader" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16971 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'` ;;
16972 *) 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'`
16973 if ${ac_cv_lib_soname_vkd3d_shader:+false} :; then :
16974 ac_cv_lib_soname_vkd3d_shader=`$LDD conftest$ac_exeext | grep "libvkd3d-shader\\.$LIBEXT" | sed -e "s/^.*\(libvkd3d-shader\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16975 fi ;;
16976 esac
16977 else
16978 ac_cv_lib_soname_vkd3d_shader=
16980 rm -f core conftest.err conftest.$ac_objext \
16981 conftest$ac_exeext conftest.$ac_ext
16982 LIBS=$ac_check_soname_save_LIBS
16984 if ${ac_cv_lib_soname_vkd3d_shader:+false} :; then :
16985 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16986 $as_echo "not found" >&6; }
16988 else
16989 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_vkd3d_shader" >&5
16990 $as_echo "$ac_cv_lib_soname_vkd3d_shader" >&6; }
16992 cat >>confdefs.h <<_ACEOF
16993 #define SONAME_LIBVKD3D_SHADER "$ac_cv_lib_soname_vkd3d_shader"
16994 _ACEOF
16998 CPPFLAGS=$ac_save_CPPFLAGS
17001 if test "x$ac_cv_lib_soname_vkd3d" = "x"; then :
17002 case "x$with_vkd3d" in
17003 x) as_fn_append wine_notices "|vkd3d ${notice_platform}development files not found (or too old), Direct3D 12 won't be supported." ;;
17004 xno) ;;
17005 *) as_fn_error $? "vkd3d ${notice_platform}development files not found (or too old), Direct3D 12 won't be supported.
17006 This is an error since --with-vkd3d was requested." "$LINENO" 5 ;;
17007 esac
17010 test "x$ac_cv_lib_soname_vkd3d" != "x" || enable_d3d12=${enable_d3d12:-no}
17013 EXTRACFLAGS=""
17015 if test "x${GCC}" = "xyes"
17016 then
17017 EXTRACFLAGS="-Wall -pipe"
17019 saved_CFLAGS=$CFLAGS
17020 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=unknown-warning-option" >&5
17021 $as_echo_n "checking whether the compiler supports -Werror=unknown-warning-option... " >&6; }
17022 if ${ac_cv_cflags__Werror_unknown_warning_option+:} false; then :
17023 $as_echo_n "(cached) " >&6
17024 else
17025 ac_wine_try_cflags_saved=$CFLAGS
17026 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
17027 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17028 /* end confdefs.h. */
17029 int main(int argc, char **argv) { return 0; }
17030 _ACEOF
17031 if ac_fn_c_try_link "$LINENO"; then :
17032 ac_cv_cflags__Werror_unknown_warning_option=yes
17033 else
17034 ac_cv_cflags__Werror_unknown_warning_option=no
17036 rm -f core conftest.err conftest.$ac_objext \
17037 conftest$ac_exeext conftest.$ac_ext
17038 CFLAGS=$ac_wine_try_cflags_saved
17040 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_unknown_warning_option" >&5
17041 $as_echo "$ac_cv_cflags__Werror_unknown_warning_option" >&6; }
17042 if test "x$ac_cv_cflags__Werror_unknown_warning_option" = xyes; then :
17043 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
17045 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=unused-command-line-argument" >&5
17046 $as_echo_n "checking whether the compiler supports -Werror=unused-command-line-argument... " >&6; }
17047 if ${ac_cv_cflags__Werror_unused_command_line_argument+:} false; then :
17048 $as_echo_n "(cached) " >&6
17049 else
17050 ac_wine_try_cflags_saved=$CFLAGS
17051 CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
17052 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17053 /* end confdefs.h. */
17054 int main(int argc, char **argv) { return 0; }
17055 _ACEOF
17056 if ac_fn_c_try_link "$LINENO"; then :
17057 ac_cv_cflags__Werror_unused_command_line_argument=yes
17058 else
17059 ac_cv_cflags__Werror_unused_command_line_argument=no
17061 rm -f core conftest.err conftest.$ac_objext \
17062 conftest$ac_exeext conftest.$ac_ext
17063 CFLAGS=$ac_wine_try_cflags_saved
17065 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_unused_command_line_argument" >&5
17066 $as_echo "$ac_cv_cflags__Werror_unused_command_line_argument" >&6; }
17067 if test "x$ac_cv_cflags__Werror_unused_command_line_argument" = xyes; then :
17068 CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
17070 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=ignored-optimization-argument" >&5
17071 $as_echo_n "checking whether the compiler supports -Werror=ignored-optimization-argument... " >&6; }
17072 if ${ac_cv_cflags__Werror_ignored_optimization_argument+:} false; then :
17073 $as_echo_n "(cached) " >&6
17074 else
17075 ac_wine_try_cflags_saved=$CFLAGS
17076 CFLAGS="$CFLAGS -Werror=ignored-optimization-argument"
17077 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17078 /* end confdefs.h. */
17079 int main(int argc, char **argv) { return 0; }
17080 _ACEOF
17081 if ac_fn_c_try_link "$LINENO"; then :
17082 ac_cv_cflags__Werror_ignored_optimization_argument=yes
17083 else
17084 ac_cv_cflags__Werror_ignored_optimization_argument=no
17086 rm -f core conftest.err conftest.$ac_objext \
17087 conftest$ac_exeext conftest.$ac_ext
17088 CFLAGS=$ac_wine_try_cflags_saved
17090 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_ignored_optimization_argument" >&5
17091 $as_echo "$ac_cv_cflags__Werror_ignored_optimization_argument" >&6; }
17092 if test "x$ac_cv_cflags__Werror_ignored_optimization_argument" = xyes; then :
17093 CFLAGS="$CFLAGS -Werror=ignored-optimization-argument"
17095 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fcf-protection=none" >&5
17096 $as_echo_n "checking whether the compiler supports -fcf-protection=none... " >&6; }
17097 if ${ac_cv_cflags__fcf_protection_none+:} false; then :
17098 $as_echo_n "(cached) " >&6
17099 else
17100 ac_wine_try_cflags_saved=$CFLAGS
17101 CFLAGS="$CFLAGS -fcf-protection=none"
17102 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17103 /* end confdefs.h. */
17104 int main(int argc, char **argv) { return 0; }
17105 _ACEOF
17106 if ac_fn_c_try_link "$LINENO"; then :
17107 ac_cv_cflags__fcf_protection_none=yes
17108 else
17109 ac_cv_cflags__fcf_protection_none=no
17111 rm -f core conftest.err conftest.$ac_objext \
17112 conftest$ac_exeext conftest.$ac_ext
17113 CFLAGS=$ac_wine_try_cflags_saved
17115 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fcf_protection_none" >&5
17116 $as_echo "$ac_cv_cflags__fcf_protection_none" >&6; }
17117 if test "x$ac_cv_cflags__fcf_protection_none" = xyes; then :
17118 EXTRACFLAGS="$EXTRACFLAGS -fcf-protection=none"
17120 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-stack-protector" >&5
17121 $as_echo_n "checking whether the compiler supports -fno-stack-protector... " >&6; }
17122 if ${ac_cv_cflags__fno_stack_protector+:} false; then :
17123 $as_echo_n "(cached) " >&6
17124 else
17125 ac_wine_try_cflags_saved=$CFLAGS
17126 CFLAGS="$CFLAGS -fno-stack-protector"
17127 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17128 /* end confdefs.h. */
17129 int main(int argc, char **argv) { return 0; }
17130 _ACEOF
17131 if ac_fn_c_try_link "$LINENO"; then :
17132 ac_cv_cflags__fno_stack_protector=yes
17133 else
17134 ac_cv_cflags__fno_stack_protector=no
17136 rm -f core conftest.err conftest.$ac_objext \
17137 conftest$ac_exeext conftest.$ac_ext
17138 CFLAGS=$ac_wine_try_cflags_saved
17140 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_stack_protector" >&5
17141 $as_echo "$ac_cv_cflags__fno_stack_protector" >&6; }
17142 if test "x$ac_cv_cflags__fno_stack_protector" = xyes; then :
17143 EXTRACFLAGS="$EXTRACFLAGS -fno-stack-protector"
17145 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-strict-aliasing" >&5
17146 $as_echo_n "checking whether the compiler supports -fno-strict-aliasing... " >&6; }
17147 if ${ac_cv_cflags__fno_strict_aliasing+:} false; then :
17148 $as_echo_n "(cached) " >&6
17149 else
17150 ac_wine_try_cflags_saved=$CFLAGS
17151 CFLAGS="$CFLAGS -fno-strict-aliasing"
17152 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17153 /* end confdefs.h. */
17154 int main(int argc, char **argv) { return 0; }
17155 _ACEOF
17156 if ac_fn_c_try_link "$LINENO"; then :
17157 ac_cv_cflags__fno_strict_aliasing=yes
17158 else
17159 ac_cv_cflags__fno_strict_aliasing=no
17161 rm -f core conftest.err conftest.$ac_objext \
17162 conftest$ac_exeext conftest.$ac_ext
17163 CFLAGS=$ac_wine_try_cflags_saved
17165 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_strict_aliasing" >&5
17166 $as_echo "$ac_cv_cflags__fno_strict_aliasing" >&6; }
17167 if test "x$ac_cv_cflags__fno_strict_aliasing" = xyes; then :
17168 EXTRACFLAGS="$EXTRACFLAGS -fno-strict-aliasing"
17170 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wdeclaration-after-statement" >&5
17171 $as_echo_n "checking whether the compiler supports -Wdeclaration-after-statement... " >&6; }
17172 if ${ac_cv_cflags__Wdeclaration_after_statement+:} false; then :
17173 $as_echo_n "(cached) " >&6
17174 else
17175 ac_wine_try_cflags_saved=$CFLAGS
17176 CFLAGS="$CFLAGS -Wdeclaration-after-statement"
17177 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17178 /* end confdefs.h. */
17179 int main(int argc, char **argv) { return 0; }
17180 _ACEOF
17181 if ac_fn_c_try_link "$LINENO"; then :
17182 ac_cv_cflags__Wdeclaration_after_statement=yes
17183 else
17184 ac_cv_cflags__Wdeclaration_after_statement=no
17186 rm -f core conftest.err conftest.$ac_objext \
17187 conftest$ac_exeext conftest.$ac_ext
17188 CFLAGS=$ac_wine_try_cflags_saved
17190 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wdeclaration_after_statement" >&5
17191 $as_echo "$ac_cv_cflags__Wdeclaration_after_statement" >&6; }
17192 if test "x$ac_cv_cflags__Wdeclaration_after_statement" = xyes; then :
17193 EXTRACFLAGS="$EXTRACFLAGS -Wdeclaration-after-statement"
17195 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wempty-body" >&5
17196 $as_echo_n "checking whether the compiler supports -Wempty-body... " >&6; }
17197 if ${ac_cv_cflags__Wempty_body+:} false; then :
17198 $as_echo_n "(cached) " >&6
17199 else
17200 ac_wine_try_cflags_saved=$CFLAGS
17201 CFLAGS="$CFLAGS -Wempty-body"
17202 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17203 /* end confdefs.h. */
17204 int main(int argc, char **argv) { return 0; }
17205 _ACEOF
17206 if ac_fn_c_try_link "$LINENO"; then :
17207 ac_cv_cflags__Wempty_body=yes
17208 else
17209 ac_cv_cflags__Wempty_body=no
17211 rm -f core conftest.err conftest.$ac_objext \
17212 conftest$ac_exeext conftest.$ac_ext
17213 CFLAGS=$ac_wine_try_cflags_saved
17215 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wempty_body" >&5
17216 $as_echo "$ac_cv_cflags__Wempty_body" >&6; }
17217 if test "x$ac_cv_cflags__Wempty_body" = xyes; then :
17218 EXTRACFLAGS="$EXTRACFLAGS -Wempty-body"
17220 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wignored-qualifiers" >&5
17221 $as_echo_n "checking whether the compiler supports -Wignored-qualifiers... " >&6; }
17222 if ${ac_cv_cflags__Wignored_qualifiers+:} false; then :
17223 $as_echo_n "(cached) " >&6
17224 else
17225 ac_wine_try_cflags_saved=$CFLAGS
17226 CFLAGS="$CFLAGS -Wignored-qualifiers"
17227 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17228 /* end confdefs.h. */
17229 int main(int argc, char **argv) { return 0; }
17230 _ACEOF
17231 if ac_fn_c_try_link "$LINENO"; then :
17232 ac_cv_cflags__Wignored_qualifiers=yes
17233 else
17234 ac_cv_cflags__Wignored_qualifiers=no
17236 rm -f core conftest.err conftest.$ac_objext \
17237 conftest$ac_exeext conftest.$ac_ext
17238 CFLAGS=$ac_wine_try_cflags_saved
17240 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wignored_qualifiers" >&5
17241 $as_echo "$ac_cv_cflags__Wignored_qualifiers" >&6; }
17242 if test "x$ac_cv_cflags__Wignored_qualifiers" = xyes; then :
17243 EXTRACFLAGS="$EXTRACFLAGS -Wignored-qualifiers"
17245 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Winit-self" >&5
17246 $as_echo_n "checking whether the compiler supports -Winit-self... " >&6; }
17247 if ${ac_cv_cflags__Winit_self+:} false; then :
17248 $as_echo_n "(cached) " >&6
17249 else
17250 ac_wine_try_cflags_saved=$CFLAGS
17251 CFLAGS="$CFLAGS -Winit-self"
17252 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17253 /* end confdefs.h. */
17254 int main(int argc, char **argv) { return 0; }
17255 _ACEOF
17256 if ac_fn_c_try_link "$LINENO"; then :
17257 ac_cv_cflags__Winit_self=yes
17258 else
17259 ac_cv_cflags__Winit_self=no
17261 rm -f core conftest.err conftest.$ac_objext \
17262 conftest$ac_exeext conftest.$ac_ext
17263 CFLAGS=$ac_wine_try_cflags_saved
17265 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Winit_self" >&5
17266 $as_echo "$ac_cv_cflags__Winit_self" >&6; }
17267 if test "x$ac_cv_cflags__Winit_self" = xyes; then :
17268 EXTRACFLAGS="$EXTRACFLAGS -Winit-self"
17270 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpacked-not-aligned" >&5
17271 $as_echo_n "checking whether the compiler supports -Wpacked-not-aligned... " >&6; }
17272 if ${ac_cv_cflags__Wpacked_not_aligned+:} false; then :
17273 $as_echo_n "(cached) " >&6
17274 else
17275 ac_wine_try_cflags_saved=$CFLAGS
17276 CFLAGS="$CFLAGS -Wpacked-not-aligned"
17277 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17278 /* end confdefs.h. */
17279 int main(int argc, char **argv) { return 0; }
17280 _ACEOF
17281 if ac_fn_c_try_link "$LINENO"; then :
17282 ac_cv_cflags__Wpacked_not_aligned=yes
17283 else
17284 ac_cv_cflags__Wpacked_not_aligned=no
17286 rm -f core conftest.err conftest.$ac_objext \
17287 conftest$ac_exeext conftest.$ac_ext
17288 CFLAGS=$ac_wine_try_cflags_saved
17290 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpacked_not_aligned" >&5
17291 $as_echo "$ac_cv_cflags__Wpacked_not_aligned" >&6; }
17292 if test "x$ac_cv_cflags__Wpacked_not_aligned" = xyes; then :
17293 EXTRACFLAGS="$EXTRACFLAGS -Wno-packed-not-aligned"
17295 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpragma-pack" >&5
17296 $as_echo_n "checking whether the compiler supports -Wpragma-pack... " >&6; }
17297 if ${ac_cv_cflags__Wpragma_pack+:} false; then :
17298 $as_echo_n "(cached) " >&6
17299 else
17300 ac_wine_try_cflags_saved=$CFLAGS
17301 CFLAGS="$CFLAGS -Wpragma-pack"
17302 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17303 /* end confdefs.h. */
17304 int main(int argc, char **argv) { return 0; }
17305 _ACEOF
17306 if ac_fn_c_try_link "$LINENO"; then :
17307 ac_cv_cflags__Wpragma_pack=yes
17308 else
17309 ac_cv_cflags__Wpragma_pack=no
17311 rm -f core conftest.err conftest.$ac_objext \
17312 conftest$ac_exeext conftest.$ac_ext
17313 CFLAGS=$ac_wine_try_cflags_saved
17315 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpragma_pack" >&5
17316 $as_echo "$ac_cv_cflags__Wpragma_pack" >&6; }
17317 if test "x$ac_cv_cflags__Wpragma_pack" = xyes; then :
17318 EXTRACFLAGS="$EXTRACFLAGS -Wno-pragma-pack"
17320 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wshift-overflow=2" >&5
17321 $as_echo_n "checking whether the compiler supports -Wshift-overflow=2... " >&6; }
17322 if ${ac_cv_cflags__Wshift_overflow_2+:} false; then :
17323 $as_echo_n "(cached) " >&6
17324 else
17325 ac_wine_try_cflags_saved=$CFLAGS
17326 CFLAGS="$CFLAGS -Wshift-overflow=2"
17327 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17328 /* end confdefs.h. */
17329 int main(int argc, char **argv) { return 0; }
17330 _ACEOF
17331 if ac_fn_c_try_link "$LINENO"; then :
17332 ac_cv_cflags__Wshift_overflow_2=yes
17333 else
17334 ac_cv_cflags__Wshift_overflow_2=no
17336 rm -f core conftest.err conftest.$ac_objext \
17337 conftest$ac_exeext conftest.$ac_ext
17338 CFLAGS=$ac_wine_try_cflags_saved
17340 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wshift_overflow_2" >&5
17341 $as_echo "$ac_cv_cflags__Wshift_overflow_2" >&6; }
17342 if test "x$ac_cv_cflags__Wshift_overflow_2" = xyes; then :
17343 EXTRACFLAGS="$EXTRACFLAGS -Wshift-overflow=2"
17345 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wstrict-prototypes" >&5
17346 $as_echo_n "checking whether the compiler supports -Wstrict-prototypes... " >&6; }
17347 if ${ac_cv_cflags__Wstrict_prototypes+:} false; then :
17348 $as_echo_n "(cached) " >&6
17349 else
17350 ac_wine_try_cflags_saved=$CFLAGS
17351 CFLAGS="$CFLAGS -Wstrict-prototypes"
17352 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17353 /* end confdefs.h. */
17354 int main(int argc, char **argv) { return 0; }
17355 _ACEOF
17356 if ac_fn_c_try_link "$LINENO"; then :
17357 ac_cv_cflags__Wstrict_prototypes=yes
17358 else
17359 ac_cv_cflags__Wstrict_prototypes=no
17361 rm -f core conftest.err conftest.$ac_objext \
17362 conftest$ac_exeext conftest.$ac_ext
17363 CFLAGS=$ac_wine_try_cflags_saved
17365 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wstrict_prototypes" >&5
17366 $as_echo "$ac_cv_cflags__Wstrict_prototypes" >&6; }
17367 if test "x$ac_cv_cflags__Wstrict_prototypes" = xyes; then :
17368 EXTRACFLAGS="$EXTRACFLAGS -Wstrict-prototypes"
17370 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wtype-limits" >&5
17371 $as_echo_n "checking whether the compiler supports -Wtype-limits... " >&6; }
17372 if ${ac_cv_cflags__Wtype_limits+:} false; then :
17373 $as_echo_n "(cached) " >&6
17374 else
17375 ac_wine_try_cflags_saved=$CFLAGS
17376 CFLAGS="$CFLAGS -Wtype-limits"
17377 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17378 /* end confdefs.h. */
17379 int main(int argc, char **argv) { return 0; }
17380 _ACEOF
17381 if ac_fn_c_try_link "$LINENO"; then :
17382 ac_cv_cflags__Wtype_limits=yes
17383 else
17384 ac_cv_cflags__Wtype_limits=no
17386 rm -f core conftest.err conftest.$ac_objext \
17387 conftest$ac_exeext conftest.$ac_ext
17388 CFLAGS=$ac_wine_try_cflags_saved
17390 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wtype_limits" >&5
17391 $as_echo "$ac_cv_cflags__Wtype_limits" >&6; }
17392 if test "x$ac_cv_cflags__Wtype_limits" = xyes; then :
17393 EXTRACFLAGS="$EXTRACFLAGS -Wtype-limits"
17395 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wunused-but-set-parameter" >&5
17396 $as_echo_n "checking whether the compiler supports -Wunused-but-set-parameter... " >&6; }
17397 if ${ac_cv_cflags__Wunused_but_set_parameter+:} false; then :
17398 $as_echo_n "(cached) " >&6
17399 else
17400 ac_wine_try_cflags_saved=$CFLAGS
17401 CFLAGS="$CFLAGS -Wunused-but-set-parameter"
17402 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17403 /* end confdefs.h. */
17404 int main(int argc, char **argv) { return 0; }
17405 _ACEOF
17406 if ac_fn_c_try_link "$LINENO"; then :
17407 ac_cv_cflags__Wunused_but_set_parameter=yes
17408 else
17409 ac_cv_cflags__Wunused_but_set_parameter=no
17411 rm -f core conftest.err conftest.$ac_objext \
17412 conftest$ac_exeext conftest.$ac_ext
17413 CFLAGS=$ac_wine_try_cflags_saved
17415 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wunused_but_set_parameter" >&5
17416 $as_echo "$ac_cv_cflags__Wunused_but_set_parameter" >&6; }
17417 if test "x$ac_cv_cflags__Wunused_but_set_parameter" = xyes; then :
17418 EXTRACFLAGS="$EXTRACFLAGS -Wunused-but-set-parameter"
17420 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wvla" >&5
17421 $as_echo_n "checking whether the compiler supports -Wvla... " >&6; }
17422 if ${ac_cv_cflags__Wvla+:} false; then :
17423 $as_echo_n "(cached) " >&6
17424 else
17425 ac_wine_try_cflags_saved=$CFLAGS
17426 CFLAGS="$CFLAGS -Wvla"
17427 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17428 /* end confdefs.h. */
17429 int main(int argc, char **argv) { return 0; }
17430 _ACEOF
17431 if ac_fn_c_try_link "$LINENO"; then :
17432 ac_cv_cflags__Wvla=yes
17433 else
17434 ac_cv_cflags__Wvla=no
17436 rm -f core conftest.err conftest.$ac_objext \
17437 conftest$ac_exeext conftest.$ac_ext
17438 CFLAGS=$ac_wine_try_cflags_saved
17440 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wvla" >&5
17441 $as_echo "$ac_cv_cflags__Wvla" >&6; }
17442 if test "x$ac_cv_cflags__Wvla" = xyes; then :
17443 EXTRACFLAGS="$EXTRACFLAGS -Wvla"
17445 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wwrite-strings" >&5
17446 $as_echo_n "checking whether the compiler supports -Wwrite-strings... " >&6; }
17447 if ${ac_cv_cflags__Wwrite_strings+:} false; then :
17448 $as_echo_n "(cached) " >&6
17449 else
17450 ac_wine_try_cflags_saved=$CFLAGS
17451 CFLAGS="$CFLAGS -Wwrite-strings"
17452 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17453 /* end confdefs.h. */
17454 int main(int argc, char **argv) { return 0; }
17455 _ACEOF
17456 if ac_fn_c_try_link "$LINENO"; then :
17457 ac_cv_cflags__Wwrite_strings=yes
17458 else
17459 ac_cv_cflags__Wwrite_strings=no
17461 rm -f core conftest.err conftest.$ac_objext \
17462 conftest$ac_exeext conftest.$ac_ext
17463 CFLAGS=$ac_wine_try_cflags_saved
17465 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wwrite_strings" >&5
17466 $as_echo "$ac_cv_cflags__Wwrite_strings" >&6; }
17467 if test "x$ac_cv_cflags__Wwrite_strings" = xyes; then :
17468 EXTRACFLAGS="$EXTRACFLAGS -Wwrite-strings"
17471 if test -z "$CROSSTARGET"
17472 then
17473 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fexcess-precision=standard" >&5
17474 $as_echo_n "checking whether the compiler supports -fexcess-precision=standard... " >&6; }
17475 if ${ac_cv_cflags__fexcess_precision_standard+:} false; then :
17476 $as_echo_n "(cached) " >&6
17477 else
17478 ac_wine_try_cflags_saved=$CFLAGS
17479 CFLAGS="$CFLAGS -fexcess-precision=standard"
17480 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17481 /* end confdefs.h. */
17482 int main(int argc, char **argv) { return 0; }
17483 _ACEOF
17484 if ac_fn_c_try_link "$LINENO"; then :
17485 ac_cv_cflags__fexcess_precision_standard=yes
17486 else
17487 ac_cv_cflags__fexcess_precision_standard=no
17489 rm -f core conftest.err conftest.$ac_objext \
17490 conftest$ac_exeext conftest.$ac_ext
17491 CFLAGS=$ac_wine_try_cflags_saved
17493 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fexcess_precision_standard" >&5
17494 $as_echo "$ac_cv_cflags__fexcess_precision_standard" >&6; }
17495 if test "x$ac_cv_cflags__fexcess_precision_standard" = xyes; then :
17496 EXCESS_PRECISION_CFLAGS="-fexcess-precision=standard"
17501 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpointer-arith" >&5
17502 $as_echo_n "checking whether the compiler supports -Wpointer-arith... " >&6; }
17503 if ${ac_cv_cflags__Wpointer_arith+:} false; then :
17504 $as_echo_n "(cached) " >&6
17505 else
17506 ac_wine_try_cflags_saved=$CFLAGS
17507 CFLAGS="$CFLAGS -Wpointer-arith"
17508 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17509 /* end confdefs.h. */
17510 int main(int argc, char **argv) { return 0; }
17511 _ACEOF
17512 if ac_fn_c_try_link "$LINENO"; then :
17513 ac_cv_cflags__Wpointer_arith=yes
17514 else
17515 ac_cv_cflags__Wpointer_arith=no
17517 rm -f core conftest.err conftest.$ac_objext \
17518 conftest$ac_exeext conftest.$ac_ext
17519 CFLAGS=$ac_wine_try_cflags_saved
17521 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpointer_arith" >&5
17522 $as_echo "$ac_cv_cflags__Wpointer_arith" >&6; }
17523 if test "x$ac_cv_cflags__Wpointer_arith" = xyes; then :
17524 saved_string_h_CFLAGS=$CFLAGS
17525 CFLAGS="$CFLAGS -Wpointer-arith -Werror"
17526 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wpointer-arith" >&5
17527 $as_echo_n "checking for broken string.h that generates warnings with -Wpointer-arith... " >&6; }
17528 if ${ac_cv_c_string_h_warnings+:} false; then :
17529 $as_echo_n "(cached) " >&6
17530 else
17531 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17532 /* end confdefs.h. */
17533 #include <string.h>
17535 main ()
17539 return 0;
17541 _ACEOF
17542 if ac_fn_c_try_compile "$LINENO"; then :
17543 ac_cv_c_string_h_warnings=no
17544 else
17545 ac_cv_c_string_h_warnings=yes
17547 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17549 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_string_h_warnings" >&5
17550 $as_echo "$ac_cv_c_string_h_warnings" >&6; }
17551 test "$ac_cv_c_string_h_warnings" = yes || EXTRACFLAGS="$EXTRACFLAGS -Wpointer-arith"
17552 CFLAGS=$saved_string_h_CFLAGS
17555 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wlogical-op" >&5
17556 $as_echo_n "checking whether the compiler supports -Wlogical-op... " >&6; }
17557 if ${ac_cv_cflags__Wlogical_op+:} false; then :
17558 $as_echo_n "(cached) " >&6
17559 else
17560 ac_wine_try_cflags_saved=$CFLAGS
17561 CFLAGS="$CFLAGS -Wlogical-op"
17562 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17563 /* end confdefs.h. */
17564 int main(int argc, char **argv) { return 0; }
17565 _ACEOF
17566 if ac_fn_c_try_link "$LINENO"; then :
17567 ac_cv_cflags__Wlogical_op=yes
17568 else
17569 ac_cv_cflags__Wlogical_op=no
17571 rm -f core conftest.err conftest.$ac_objext \
17572 conftest$ac_exeext conftest.$ac_ext
17573 CFLAGS=$ac_wine_try_cflags_saved
17575 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wlogical_op" >&5
17576 $as_echo "$ac_cv_cflags__Wlogical_op" >&6; }
17577 if test "x$ac_cv_cflags__Wlogical_op" = xyes; then :
17578 saved_string_h_CFLAGS=$CFLAGS
17579 CFLAGS="$CFLAGS -Wlogical-op -Werror"
17580 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wlogical-op" >&5
17581 $as_echo_n "checking for broken string.h that generates warnings with -Wlogical-op... " >&6; }
17582 if ${ac_cv_c_logicalop_noisy+:} false; then :
17583 $as_echo_n "(cached) " >&6
17584 else
17585 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17586 /* end confdefs.h. */
17587 #include <string.h>
17588 char*f(const char *h,char n) {return strchr(h,n);}
17590 main ()
17594 return 0;
17596 _ACEOF
17597 if ac_fn_c_try_compile "$LINENO"; then :
17598 ac_cv_c_logicalop_noisy=no
17599 else
17600 ac_cv_c_logicalop_noisy=yes
17602 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17604 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_logicalop_noisy" >&5
17605 $as_echo "$ac_cv_c_logicalop_noisy" >&6; }
17606 CFLAGS=$saved_string_h_CFLAGS
17607 test "$ac_cv_c_logicalop_noisy" = yes || EXTRACFLAGS="$EXTRACFLAGS -Wlogical-op"
17610 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for flags needed for 64-bit compare-and-swap support" >&5
17611 $as_echo_n "checking for flags needed for 64-bit compare-and-swap support... " >&6; }
17612 if ${wine_cv_64bit_compare_swap+:} false; then :
17613 $as_echo_n "(cached) " >&6
17614 else
17615 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17616 /* end confdefs.h. */
17617 #ifndef __GCC_HAVE_SYNC_COMPARE_AND_SWAP_8
17618 #error no
17619 #endif
17621 main ()
17625 return 0;
17627 _ACEOF
17628 if ac_fn_c_try_compile "$LINENO"; then :
17629 wine_cv_64bit_compare_swap="none needed"
17630 else
17631 case $host_cpu in
17632 *i[3456]86*) wine_cv_64bit_compare_swap="-march=i586" ;;
17633 *arm*) wine_cv_64bit_compare_swap="-march=armv7-a" ;;
17634 *) wine_cv_64bit_compare_swap="unknown" ;;
17635 esac
17636 if test "x$wine_cv_64bit_compare_swap" != xunknown
17637 then
17638 CFLAGS="$CFLAGS $wine_cv_64bit_compare_swap"
17639 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17640 /* end confdefs.h. */
17641 #ifndef __GCC_HAVE_SYNC_COMPARE_AND_SWAP_8
17642 #error no
17643 #endif
17645 main ()
17649 return 0;
17651 _ACEOF
17652 if ac_fn_c_try_compile "$LINENO"; then :
17654 else
17655 wine_cv_64bit_compare_swap="unknown"
17657 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17658 CFLAGS=$saved_CFLAGS
17661 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17663 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_64bit_compare_swap" >&5
17664 $as_echo "$wine_cv_64bit_compare_swap" >&6; }
17665 case "$wine_cv_64bit_compare_swap" in
17666 unknown) as_fn_error $? "gcc doesn't support 64-bit compare-and-swap on this platform" "$LINENO" 5 ;;
17667 "none needed") ;;
17668 *) EXTRACFLAGS="$EXTRACFLAGS $wine_cv_64bit_compare_swap" ;;
17669 esac
17671 for ac_flag in $CFLAGS; do
17672 case $ac_flag in
17673 -g) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gdwarf-2" >&5
17674 $as_echo_n "checking whether the compiler supports -gdwarf-2... " >&6; }
17675 if ${ac_cv_cflags__gdwarf_2+:} false; then :
17676 $as_echo_n "(cached) " >&6
17677 else
17678 ac_wine_try_cflags_saved=$CFLAGS
17679 CFLAGS="$CFLAGS -gdwarf-2"
17680 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17681 /* end confdefs.h. */
17682 int main(int argc, char **argv) { return 0; }
17683 _ACEOF
17684 if ac_fn_c_try_link "$LINENO"; then :
17685 ac_cv_cflags__gdwarf_2=yes
17686 else
17687 ac_cv_cflags__gdwarf_2=no
17689 rm -f core conftest.err conftest.$ac_objext \
17690 conftest$ac_exeext conftest.$ac_ext
17691 CFLAGS=$ac_wine_try_cflags_saved
17693 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gdwarf_2" >&5
17694 $as_echo "$ac_cv_cflags__gdwarf_2" >&6; }
17695 if test "x$ac_cv_cflags__gdwarf_2" = xyes; then :
17696 EXTRACFLAGS="$EXTRACFLAGS -gdwarf-2"
17698 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gstrict-dwarf" >&5
17699 $as_echo_n "checking whether the compiler supports -gstrict-dwarf... " >&6; }
17700 if ${ac_cv_cflags__gstrict_dwarf+:} false; then :
17701 $as_echo_n "(cached) " >&6
17702 else
17703 ac_wine_try_cflags_saved=$CFLAGS
17704 CFLAGS="$CFLAGS -gstrict-dwarf"
17705 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17706 /* end confdefs.h. */
17707 int main(int argc, char **argv) { return 0; }
17708 _ACEOF
17709 if ac_fn_c_try_link "$LINENO"; then :
17710 ac_cv_cflags__gstrict_dwarf=yes
17711 else
17712 ac_cv_cflags__gstrict_dwarf=no
17714 rm -f core conftest.err conftest.$ac_objext \
17715 conftest$ac_exeext conftest.$ac_ext
17716 CFLAGS=$ac_wine_try_cflags_saved
17718 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gstrict_dwarf" >&5
17719 $as_echo "$ac_cv_cflags__gstrict_dwarf" >&6; }
17720 if test "x$ac_cv_cflags__gstrict_dwarf" = xyes; then :
17721 EXTRACFLAGS="$EXTRACFLAGS -gstrict-dwarf"
17722 fi ;;
17723 esac
17724 done
17726 MSVCRTFLAGS=""
17728 case $host_os in
17729 mingw32*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-delayload,autoconftest.dll" >&5
17730 $as_echo_n "checking whether the compiler supports -Wl,-delayload,autoconftest.dll... " >&6; }
17731 if ${ac_cv_cflags__Wl__delayload_autoconftest_dll+:} false; then :
17732 $as_echo_n "(cached) " >&6
17733 else
17734 ac_wine_try_cflags_saved=$CFLAGS
17735 CFLAGS="$CFLAGS -Wl,-delayload,autoconftest.dll"
17736 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17737 /* end confdefs.h. */
17738 int main(int argc, char **argv) { return 0; }
17739 _ACEOF
17740 if ac_fn_c_try_link "$LINENO"; then :
17741 ac_cv_cflags__Wl__delayload_autoconftest_dll=yes
17742 else
17743 ac_cv_cflags__Wl__delayload_autoconftest_dll=no
17745 rm -f core conftest.err conftest.$ac_objext \
17746 conftest$ac_exeext conftest.$ac_ext
17747 CFLAGS=$ac_wine_try_cflags_saved
17749 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__delayload_autoconftest_dll" >&5
17750 $as_echo "$ac_cv_cflags__Wl__delayload_autoconftest_dll" >&6; }
17751 if test "x$ac_cv_cflags__Wl__delayload_autoconftest_dll" = xyes; then :
17752 DELAYLOADFLAG="-Wl,-delayload,"
17754 fi ;;
17755 *) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-builtin" >&5
17756 $as_echo_n "checking whether the compiler supports -fno-builtin... " >&6; }
17757 if ${ac_cv_cflags__fno_builtin+:} false; then :
17758 $as_echo_n "(cached) " >&6
17759 else
17760 ac_wine_try_cflags_saved=$CFLAGS
17761 CFLAGS="$CFLAGS -fno-builtin"
17762 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17763 /* end confdefs.h. */
17764 int main(int argc, char **argv) { return 0; }
17765 _ACEOF
17766 if ac_fn_c_try_link "$LINENO"; then :
17767 ac_cv_cflags__fno_builtin=yes
17768 else
17769 ac_cv_cflags__fno_builtin=no
17771 rm -f core conftest.err conftest.$ac_objext \
17772 conftest$ac_exeext conftest.$ac_ext
17773 CFLAGS=$ac_wine_try_cflags_saved
17775 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_builtin" >&5
17776 $as_echo "$ac_cv_cflags__fno_builtin" >&6; }
17777 if test "x$ac_cv_cflags__fno_builtin" = xyes; then :
17778 MSVCRTFLAGS="$MSVCRTFLAGS -fno-builtin"
17780 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fshort-wchar" >&5
17781 $as_echo_n "checking whether the compiler supports -fshort-wchar... " >&6; }
17782 if ${ac_cv_cflags__fshort_wchar+:} false; then :
17783 $as_echo_n "(cached) " >&6
17784 else
17785 ac_wine_try_cflags_saved=$CFLAGS
17786 CFLAGS="$CFLAGS -fshort-wchar"
17787 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17788 /* end confdefs.h. */
17789 int main(int argc, char **argv) { return 0; }
17790 _ACEOF
17791 if ac_fn_c_try_link "$LINENO"; then :
17792 ac_cv_cflags__fshort_wchar=yes
17793 else
17794 ac_cv_cflags__fshort_wchar=no
17796 rm -f core conftest.err conftest.$ac_objext \
17797 conftest$ac_exeext conftest.$ac_ext
17798 CFLAGS=$ac_wine_try_cflags_saved
17800 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fshort_wchar" >&5
17801 $as_echo "$ac_cv_cflags__fshort_wchar" >&6; }
17802 if test "x$ac_cv_cflags__fshort_wchar" = xyes; then :
17803 MSVCRTFLAGS="$MSVCRTFLAGS -fshort-wchar"
17804 fi ;;
17805 esac
17807 case $host_cpu in
17808 *i[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-omit-frame-pointer" >&5
17809 $as_echo_n "checking whether the compiler supports -fno-omit-frame-pointer... " >&6; }
17810 if ${ac_cv_cflags__fno_omit_frame_pointer+:} false; then :
17811 $as_echo_n "(cached) " >&6
17812 else
17813 ac_wine_try_cflags_saved=$CFLAGS
17814 CFLAGS="$CFLAGS -fno-omit-frame-pointer"
17815 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17816 /* end confdefs.h. */
17817 int main(int argc, char **argv) { return 0; }
17818 _ACEOF
17819 if ac_fn_c_try_link "$LINENO"; then :
17820 ac_cv_cflags__fno_omit_frame_pointer=yes
17821 else
17822 ac_cv_cflags__fno_omit_frame_pointer=no
17824 rm -f core conftest.err conftest.$ac_objext \
17825 conftest$ac_exeext conftest.$ac_ext
17826 CFLAGS=$ac_wine_try_cflags_saved
17828 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_omit_frame_pointer" >&5
17829 $as_echo "$ac_cv_cflags__fno_omit_frame_pointer" >&6; }
17830 if test "x$ac_cv_cflags__fno_omit_frame_pointer" = xyes; then :
17831 EXTRACFLAGS="$EXTRACFLAGS -fno-omit-frame-pointer"
17832 fi ;;
17833 *x86_64*)
17834 case $host_os in
17835 cygwin*|mingw32*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wno-format" >&5
17836 $as_echo_n "checking whether the compiler supports -Wno-format... " >&6; }
17837 if ${ac_cv_cflags__Wno_format+:} false; then :
17838 $as_echo_n "(cached) " >&6
17839 else
17840 ac_wine_try_cflags_saved=$CFLAGS
17841 CFLAGS="$CFLAGS -Wno-format"
17842 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17843 /* end confdefs.h. */
17844 int main(int argc, char **argv) { return 0; }
17845 _ACEOF
17846 if ac_fn_c_try_link "$LINENO"; then :
17847 ac_cv_cflags__Wno_format=yes
17848 else
17849 ac_cv_cflags__Wno_format=no
17851 rm -f core conftest.err conftest.$ac_objext \
17852 conftest$ac_exeext conftest.$ac_ext
17853 CFLAGS=$ac_wine_try_cflags_saved
17855 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wno_format" >&5
17856 $as_echo "$ac_cv_cflags__Wno_format" >&6; }
17857 if test "x$ac_cv_cflags__Wno_format" = xyes; then :
17858 EXTRACFLAGS="$EXTRACFLAGS -Wno-format"
17859 fi ;;
17860 *) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -mabi=ms" >&5
17861 $as_echo_n "checking whether the compiler supports -mabi=ms... " >&6; }
17862 if ${ac_cv_cflags__mabi_ms+:} false; then :
17863 $as_echo_n "(cached) " >&6
17864 else
17865 ac_wine_try_cflags_saved=$CFLAGS
17866 CFLAGS="$CFLAGS -mabi=ms"
17867 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17868 /* end confdefs.h. */
17869 int main(int argc, char **argv) { return 0; }
17870 _ACEOF
17871 if ac_fn_c_try_link "$LINENO"; then :
17872 ac_cv_cflags__mabi_ms=yes
17873 else
17874 ac_cv_cflags__mabi_ms=no
17876 rm -f core conftest.err conftest.$ac_objext \
17877 conftest$ac_exeext conftest.$ac_ext
17878 CFLAGS=$ac_wine_try_cflags_saved
17880 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__mabi_ms" >&5
17881 $as_echo "$ac_cv_cflags__mabi_ms" >&6; }
17882 if test "x$ac_cv_cflags__mabi_ms" = xyes; then :
17883 MSVCRTFLAGS="$MSVCRTFLAGS -mabi=ms"
17884 fi ;;
17885 esac ;;
17886 esac
17888 CFLAGS=$saved_CFLAGS
17890 if test "x$enable_werror" = "xyes"
17891 then
17892 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror" >&5
17893 $as_echo_n "checking whether the compiler supports -Werror... " >&6; }
17894 if ${ac_cv_cflags__Werror+:} false; then :
17895 $as_echo_n "(cached) " >&6
17896 else
17897 ac_wine_try_cflags_saved=$CFLAGS
17898 CFLAGS="$CFLAGS -Werror"
17899 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17900 /* end confdefs.h. */
17901 int main(int argc, char **argv) { return 0; }
17902 _ACEOF
17903 if ac_fn_c_try_link "$LINENO"; then :
17904 ac_cv_cflags__Werror=yes
17905 else
17906 ac_cv_cflags__Werror=no
17908 rm -f core conftest.err conftest.$ac_objext \
17909 conftest$ac_exeext conftest.$ac_ext
17910 CFLAGS=$ac_wine_try_cflags_saved
17912 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror" >&5
17913 $as_echo "$ac_cv_cflags__Werror" >&6; }
17914 if test "x$ac_cv_cflags__Werror" = xyes; then :
17915 EXTRACFLAGS="$EXTRACFLAGS -Werror"
17918 if test "x$enable_build_id" = "xyes"
17919 then
17920 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--build-id" >&5
17921 $as_echo_n "checking whether the compiler supports -Wl,--build-id... " >&6; }
17922 if ${ac_cv_cflags__Wl___build_id+:} false; then :
17923 $as_echo_n "(cached) " >&6
17924 else
17925 ac_wine_try_cflags_saved=$CFLAGS
17926 CFLAGS="$CFLAGS -Wl,--build-id"
17927 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17928 /* end confdefs.h. */
17929 int main(int argc, char **argv) { return 0; }
17930 _ACEOF
17931 if ac_fn_c_try_link "$LINENO"; then :
17932 ac_cv_cflags__Wl___build_id=yes
17933 else
17934 ac_cv_cflags__Wl___build_id=no
17936 rm -f core conftest.err conftest.$ac_objext \
17937 conftest$ac_exeext conftest.$ac_ext
17938 CFLAGS=$ac_wine_try_cflags_saved
17940 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___build_id" >&5
17941 $as_echo "$ac_cv_cflags__Wl___build_id" >&6; }
17942 if test "x$ac_cv_cflags__Wl___build_id" = xyes; then :
17943 CFLAGS="$CFLAGS -Wl,--build-id"
17944 LDFLAGS="$LDFLAGS -Wl,--build-id"
17950 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the need to disable Fortify" >&5
17951 $as_echo_n "checking for the need to disable Fortify... " >&6; }
17952 if ${ac_cv_c_fortify_enabled+:} false; then :
17953 $as_echo_n "(cached) " >&6
17954 else
17955 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17956 /* end confdefs.h. */
17957 #include <string.h>
17959 main ()
17961 #if (defined(__USE_FORTIFY_LEVEL) && __USE_FORTIFY_LEVEL > 0) || (defined(_FORTIFY_SOURCE) && _FORTIFY_SOURCE > 0)
17962 #error Fortify enabled
17963 #endif
17965 return 0;
17967 _ACEOF
17968 if ac_fn_c_try_compile "$LINENO"; then :
17969 ac_cv_c_fortify_enabled=no
17970 else
17971 ac_cv_c_fortify_enabled=yes
17973 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17975 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_fortify_enabled" >&5
17976 $as_echo "$ac_cv_c_fortify_enabled" >&6; }
17977 if test "$ac_cv_c_fortify_enabled" = yes
17978 then
17979 CFLAGS="$CFLAGS -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=0"
17983 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether CFI directives are supported in assembly code" >&5
17984 $as_echo_n "checking whether CFI directives are supported in assembly code... " >&6; }
17985 if ${ac_cv_c_cfi_support+:} false; then :
17986 $as_echo_n "(cached) " >&6
17987 else
17988 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17989 /* end confdefs.h. */
17990 asm(".text\nac_test:\t.cfi_startproc\n\t.long 0\n\t.cfi_endproc");
17992 main ()
17996 return 0;
17998 _ACEOF
17999 if ac_fn_c_try_compile "$LINENO"; then :
18000 ac_cv_c_cfi_support="yes"
18001 else
18002 ac_cv_c_cfi_support="no"
18004 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18006 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_cfi_support" >&5
18007 $as_echo "$ac_cv_c_cfi_support" >&6; }
18008 if test "$ac_cv_c_cfi_support" = "yes"
18009 then
18010 DLLFLAGS="$DLLFLAGS -fasynchronous-unwind-tables"
18011 LDDLLFLAGS="$LDDLLFLAGS -fasynchronous-unwind-tables"
18012 else
18013 if test "x$enable_win64" = "xyes"
18014 then
18015 as_fn_append wine_warnings "|building 64-bit Wine without support for CFI directives; exception handling will not work properly."
18020 case $build_os in
18021 cygwin*|mingw32*) TOOLSEXT=".exe"
18023 esac
18025 case $host_os in
18026 linux*)
18027 case $host_cpu in
18028 *i[3456789]86*|x86_64*|*aarch64*)
18029 test "$wine_binary" = wine || wine_fn_append_file CONFIGURE_TARGETS "loader/wine-preloader"
18030 WINELOADER_PROGRAMS="$WINELOADER_PROGRAMS $wine_binary-preloader"
18032 esac
18034 esac
18037 ac_save_CFLAGS="$CFLAGS"
18038 CFLAGS="$CFLAGS $BUILTINFLAG"
18039 for ac_func in \
18040 __res_get_state \
18041 __res_getservers \
18042 _spawnvp \
18043 epoll_create \
18044 fnmatch \
18045 fork \
18046 fstatfs \
18047 futimens \
18048 futimes \
18049 futimesat \
18050 getattrlist \
18051 getauxval \
18052 getifaddrs \
18053 getopt_long_only \
18054 getrandom \
18055 kqueue \
18056 lstat \
18057 mach_continuous_time \
18058 pipe2 \
18059 poll \
18060 port_create \
18061 prctl \
18062 pread \
18063 proc_pidinfo \
18064 pwrite \
18065 readlink \
18066 sched_yield \
18067 setproctitle \
18068 setprogname \
18069 sigprocmask \
18070 symlink \
18071 tcdrain \
18072 thr_kill2
18074 do :
18075 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
18076 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
18077 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
18078 cat >>confdefs.h <<_ACEOF
18079 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
18080 _ACEOF
18083 done
18085 CFLAGS="$ac_save_CFLAGS"
18087 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing dlopen" >&5
18088 $as_echo_n "checking for library containing dlopen... " >&6; }
18089 if ${ac_cv_search_dlopen+:} false; then :
18090 $as_echo_n "(cached) " >&6
18091 else
18092 ac_func_search_save_LIBS=$LIBS
18093 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18094 /* end confdefs.h. */
18096 /* Override any GCC internal prototype to avoid an error.
18097 Use char because int might match the return type of a GCC
18098 builtin and then its argument prototype would still apply. */
18099 #ifdef __cplusplus
18100 extern "C"
18101 #endif
18102 char dlopen ();
18104 main ()
18106 return dlopen ();
18108 return 0;
18110 _ACEOF
18111 for ac_lib in '' dl; do
18112 if test -z "$ac_lib"; then
18113 ac_res="none required"
18114 else
18115 ac_res=-l$ac_lib
18116 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
18118 if ac_fn_c_try_link "$LINENO"; then :
18119 ac_cv_search_dlopen=$ac_res
18121 rm -f core conftest.err conftest.$ac_objext \
18122 conftest$ac_exeext
18123 if ${ac_cv_search_dlopen+:} false; then :
18124 break
18126 done
18127 if ${ac_cv_search_dlopen+:} false; then :
18129 else
18130 ac_cv_search_dlopen=no
18132 rm conftest.$ac_ext
18133 LIBS=$ac_func_search_save_LIBS
18135 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_dlopen" >&5
18136 $as_echo "$ac_cv_search_dlopen" >&6; }
18137 ac_res=$ac_cv_search_dlopen
18138 if test "$ac_res" != no; then :
18139 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
18143 ac_wine_check_funcs_save_LIBS="$LIBS"
18144 LIBS="$LIBS $DL_LIBS"
18145 for ac_func in dladdr dlinfo
18146 do :
18147 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
18148 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
18149 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
18150 cat >>confdefs.h <<_ACEOF
18151 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
18152 _ACEOF
18155 done
18157 LIBS="$ac_wine_check_funcs_save_LIBS"
18159 if test "$ac_cv_func_poll" = no
18160 then
18161 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for poll in -lpoll" >&5
18162 $as_echo_n "checking for poll in -lpoll... " >&6; }
18163 if ${ac_cv_lib_poll_poll+:} false; then :
18164 $as_echo_n "(cached) " >&6
18165 else
18166 ac_check_lib_save_LIBS=$LIBS
18167 LIBS="-lpoll $LIBS"
18168 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18169 /* end confdefs.h. */
18171 /* Override any GCC internal prototype to avoid an error.
18172 Use char because int might match the return type of a GCC
18173 builtin and then its argument prototype would still apply. */
18174 #ifdef __cplusplus
18175 extern "C"
18176 #endif
18177 char poll ();
18179 main ()
18181 return poll ();
18183 return 0;
18185 _ACEOF
18186 if ac_fn_c_try_link "$LINENO"; then :
18187 ac_cv_lib_poll_poll=yes
18188 else
18189 ac_cv_lib_poll_poll=no
18191 rm -f core conftest.err conftest.$ac_objext \
18192 conftest$ac_exeext conftest.$ac_ext
18193 LIBS=$ac_check_lib_save_LIBS
18195 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_poll_poll" >&5
18196 $as_echo "$ac_cv_lib_poll_poll" >&6; }
18197 if test "x$ac_cv_lib_poll_poll" = xyes; then :
18198 $as_echo "#define HAVE_POLL 1" >>confdefs.h
18199 POLL_LIBS="-lpoll"
18205 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing gethostbyname" >&5
18206 $as_echo_n "checking for library containing gethostbyname... " >&6; }
18207 if ${ac_cv_search_gethostbyname+:} false; then :
18208 $as_echo_n "(cached) " >&6
18209 else
18210 ac_func_search_save_LIBS=$LIBS
18211 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18212 /* end confdefs.h. */
18214 /* Override any GCC internal prototype to avoid an error.
18215 Use char because int might match the return type of a GCC
18216 builtin and then its argument prototype would still apply. */
18217 #ifdef __cplusplus
18218 extern "C"
18219 #endif
18220 char gethostbyname ();
18222 main ()
18224 return gethostbyname ();
18226 return 0;
18228 _ACEOF
18229 for ac_lib in '' nsl; do
18230 if test -z "$ac_lib"; then
18231 ac_res="none required"
18232 else
18233 ac_res=-l$ac_lib
18234 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
18236 if ac_fn_c_try_link "$LINENO"; then :
18237 ac_cv_search_gethostbyname=$ac_res
18239 rm -f core conftest.err conftest.$ac_objext \
18240 conftest$ac_exeext
18241 if ${ac_cv_search_gethostbyname+:} false; then :
18242 break
18244 done
18245 if ${ac_cv_search_gethostbyname+:} false; then :
18247 else
18248 ac_cv_search_gethostbyname=no
18250 rm conftest.$ac_ext
18251 LIBS=$ac_func_search_save_LIBS
18253 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gethostbyname" >&5
18254 $as_echo "$ac_cv_search_gethostbyname" >&6; }
18255 ac_res=$ac_cv_search_gethostbyname
18256 if test "$ac_res" != no; then :
18257 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
18262 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing connect" >&5
18263 $as_echo_n "checking for library containing connect... " >&6; }
18264 if ${ac_cv_search_connect+:} false; then :
18265 $as_echo_n "(cached) " >&6
18266 else
18267 ac_func_search_save_LIBS=$LIBS
18268 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18269 /* end confdefs.h. */
18271 /* Override any GCC internal prototype to avoid an error.
18272 Use char because int might match the return type of a GCC
18273 builtin and then its argument prototype would still apply. */
18274 #ifdef __cplusplus
18275 extern "C"
18276 #endif
18277 char connect ();
18279 main ()
18281 return connect ();
18283 return 0;
18285 _ACEOF
18286 for ac_lib in '' socket; do
18287 if test -z "$ac_lib"; then
18288 ac_res="none required"
18289 else
18290 ac_res=-l$ac_lib
18291 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
18293 if ac_fn_c_try_link "$LINENO"; then :
18294 ac_cv_search_connect=$ac_res
18296 rm -f core conftest.err conftest.$ac_objext \
18297 conftest$ac_exeext
18298 if ${ac_cv_search_connect+:} false; then :
18299 break
18301 done
18302 if ${ac_cv_search_connect+:} false; then :
18304 else
18305 ac_cv_search_connect=no
18307 rm conftest.$ac_ext
18308 LIBS=$ac_func_search_save_LIBS
18310 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_connect" >&5
18311 $as_echo "$ac_cv_search_connect" >&6; }
18312 ac_res=$ac_cv_search_connect
18313 if test "$ac_res" != no; then :
18314 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
18319 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing inet_aton" >&5
18320 $as_echo_n "checking for library containing inet_aton... " >&6; }
18321 if ${ac_cv_search_inet_aton+:} false; then :
18322 $as_echo_n "(cached) " >&6
18323 else
18324 ac_func_search_save_LIBS=$LIBS
18325 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18326 /* end confdefs.h. */
18328 /* Override any GCC internal prototype to avoid an error.
18329 Use char because int might match the return type of a GCC
18330 builtin and then its argument prototype would still apply. */
18331 #ifdef __cplusplus
18332 extern "C"
18333 #endif
18334 char inet_aton ();
18336 main ()
18338 return inet_aton ();
18340 return 0;
18342 _ACEOF
18343 for ac_lib in '' resolv; do
18344 if test -z "$ac_lib"; then
18345 ac_res="none required"
18346 else
18347 ac_res=-l$ac_lib
18348 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
18350 if ac_fn_c_try_link "$LINENO"; then :
18351 ac_cv_search_inet_aton=$ac_res
18353 rm -f core conftest.err conftest.$ac_objext \
18354 conftest$ac_exeext
18355 if ${ac_cv_search_inet_aton+:} false; then :
18356 break
18358 done
18359 if ${ac_cv_search_inet_aton+:} false; then :
18361 else
18362 ac_cv_search_inet_aton=no
18364 rm conftest.$ac_ext
18365 LIBS=$ac_func_search_save_LIBS
18367 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_inet_aton" >&5
18368 $as_echo "$ac_cv_search_inet_aton" >&6; }
18369 ac_res=$ac_cv_search_inet_aton
18370 if test "$ac_res" != no; then :
18371 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
18376 for ac_func in \
18377 getaddrinfo \
18378 getnameinfo \
18379 getservbyport \
18381 do :
18382 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
18383 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
18384 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
18385 cat >>confdefs.h <<_ACEOF
18386 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
18387 _ACEOF
18390 done
18393 case $host_os in
18394 darwin*|macosx*) ;;
18395 *) ac_save_LIBS=$LIBS
18396 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
18397 $as_echo_n "checking for library containing clock_gettime... " >&6; }
18398 if ${ac_cv_search_clock_gettime+:} false; then :
18399 $as_echo_n "(cached) " >&6
18400 else
18401 ac_func_search_save_LIBS=$LIBS
18402 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18403 /* end confdefs.h. */
18405 /* Override any GCC internal prototype to avoid an error.
18406 Use char because int might match the return type of a GCC
18407 builtin and then its argument prototype would still apply. */
18408 #ifdef __cplusplus
18409 extern "C"
18410 #endif
18411 char clock_gettime ();
18413 main ()
18415 return clock_gettime ();
18417 return 0;
18419 _ACEOF
18420 for ac_lib in '' rt; do
18421 if test -z "$ac_lib"; then
18422 ac_res="none required"
18423 else
18424 ac_res=-l$ac_lib
18425 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
18427 if ac_fn_c_try_link "$LINENO"; then :
18428 ac_cv_search_clock_gettime=$ac_res
18430 rm -f core conftest.err conftest.$ac_objext \
18431 conftest$ac_exeext
18432 if ${ac_cv_search_clock_gettime+:} false; then :
18433 break
18435 done
18436 if ${ac_cv_search_clock_gettime+:} false; then :
18438 else
18439 ac_cv_search_clock_gettime=no
18441 rm conftest.$ac_ext
18442 LIBS=$ac_func_search_save_LIBS
18444 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
18445 $as_echo "$ac_cv_search_clock_gettime" >&6; }
18446 ac_res=$ac_cv_search_clock_gettime
18447 if test "$ac_res" != no; then :
18448 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
18450 $as_echo "#define HAVE_CLOCK_GETTIME 1" >>confdefs.h
18452 test "$ac_res" = "none required" || RT_LIBS="$ac_res"
18456 LIBS=$ac_save_LIBS
18458 esac
18460 if test "x$with_ldap" != "xno"
18461 then
18462 if ${LDAP_CFLAGS:+false} :; then :
18463 if ${PKG_CONFIG+:} false; then :
18464 LDAP_CFLAGS=`$PKG_CONFIG --cflags openldap 2>/dev/null`
18468 if ${LDAP_LIBS:+false} :; then :
18469 if ${PKG_CONFIG+:} false; then :
18470 LDAP_LIBS=`$PKG_CONFIG --libs openldap 2>/dev/null`
18474 LDAP_LIBS=${LDAP_LIBS:-"-lldap_r -llber"}
18475 $as_echo "$as_me:${as_lineno-$LINENO}: openldap cflags: $LDAP_CFLAGS" >&5
18476 $as_echo "$as_me:${as_lineno-$LINENO}: openldap libs: $LDAP_LIBS" >&5
18477 ac_save_CPPFLAGS=$CPPFLAGS
18478 CPPFLAGS="$CPPFLAGS $LDAP_CFLAGS"
18479 for ac_header in ldap.h lber.h
18480 do :
18481 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
18482 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
18483 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
18484 cat >>confdefs.h <<_ACEOF
18485 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
18486 _ACEOF
18490 done
18492 if test "$ac_cv_header_ldap_h" = "yes" -a "$ac_cv_header_lber_h" = "yes"
18493 then
18494 ac_fn_c_check_type "$LINENO" "LDAPSortKey" "ac_cv_type_LDAPSortKey" "#include <ldap.h>
18496 if test "x$ac_cv_type_LDAPSortKey" = xyes; then :
18497 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldap_initialize in -lldap_r" >&5
18498 $as_echo_n "checking for ldap_initialize in -lldap_r... " >&6; }
18499 if ${ac_cv_lib_ldap_r_ldap_initialize+:} false; then :
18500 $as_echo_n "(cached) " >&6
18501 else
18502 ac_check_lib_save_LIBS=$LIBS
18503 LIBS="-lldap_r $PTHREAD_LIBS $LDAP_LIBS $LIBS"
18504 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18505 /* end confdefs.h. */
18507 /* Override any GCC internal prototype to avoid an error.
18508 Use char because int might match the return type of a GCC
18509 builtin and then its argument prototype would still apply. */
18510 #ifdef __cplusplus
18511 extern "C"
18512 #endif
18513 char ldap_initialize ();
18515 main ()
18517 return ldap_initialize ();
18519 return 0;
18521 _ACEOF
18522 if ac_fn_c_try_link "$LINENO"; then :
18523 ac_cv_lib_ldap_r_ldap_initialize=yes
18524 else
18525 ac_cv_lib_ldap_r_ldap_initialize=no
18527 rm -f core conftest.err conftest.$ac_objext \
18528 conftest$ac_exeext conftest.$ac_ext
18529 LIBS=$ac_check_lib_save_LIBS
18531 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ldap_r_ldap_initialize" >&5
18532 $as_echo "$ac_cv_lib_ldap_r_ldap_initialize" >&6; }
18533 if test "x$ac_cv_lib_ldap_r_ldap_initialize" = xyes; then :
18534 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ber_init in -llber" >&5
18535 $as_echo_n "checking for ber_init in -llber... " >&6; }
18536 if ${ac_cv_lib_lber_ber_init+:} false; then :
18537 $as_echo_n "(cached) " >&6
18538 else
18539 ac_check_lib_save_LIBS=$LIBS
18540 LIBS="-llber $PTHREAD_LIBS $LDAP_LIBS $LIBS"
18541 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18542 /* end confdefs.h. */
18544 /* Override any GCC internal prototype to avoid an error.
18545 Use char because int might match the return type of a GCC
18546 builtin and then its argument prototype would still apply. */
18547 #ifdef __cplusplus
18548 extern "C"
18549 #endif
18550 char ber_init ();
18552 main ()
18554 return ber_init ();
18556 return 0;
18558 _ACEOF
18559 if ac_fn_c_try_link "$LINENO"; then :
18560 ac_cv_lib_lber_ber_init=yes
18561 else
18562 ac_cv_lib_lber_ber_init=no
18564 rm -f core conftest.err conftest.$ac_objext \
18565 conftest$ac_exeext conftest.$ac_ext
18566 LIBS=$ac_check_lib_save_LIBS
18568 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lber_ber_init" >&5
18569 $as_echo "$ac_cv_lib_lber_ber_init" >&6; }
18570 if test "x$ac_cv_lib_lber_ber_init" = xyes; then :
18572 $as_echo "#define HAVE_LDAP 1" >>confdefs.h
18574 else
18575 LDAP_LIBS=""
18578 else
18579 LDAP_LIBS=""
18582 else
18583 LDAP_LIBS=""
18586 ac_wine_check_funcs_save_LIBS="$LIBS"
18587 LIBS="$LIBS $LDAP_LIBS $PTHREAD_LIBS"
18588 for ac_func in \
18589 ldap_count_references \
18590 ldap_first_reference \
18591 ldap_next_reference \
18592 ldap_parse_reference \
18593 ldap_parse_sort_control \
18594 ldap_parse_sortresponse_control \
18595 ldap_parse_vlv_control \
18596 ldap_parse_vlvresponse_control
18597 do :
18598 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
18599 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
18600 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
18601 cat >>confdefs.h <<_ACEOF
18602 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
18603 _ACEOF
18606 done
18608 LIBS="$ac_wine_check_funcs_save_LIBS"
18609 else
18610 LDAP_LIBS=""
18612 CPPFLAGS=$ac_save_CPPFLAGS
18615 if test "x$LDAP_LIBS" = "x"; then :
18616 case "x$with_ldap" in
18617 x) as_fn_append wine_notices "|libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported." ;;
18618 xno) ;;
18619 *) as_fn_error $? "libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported.
18620 This is an error since --with-ldap was requested." "$LINENO" 5 ;;
18621 esac
18625 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sched_setaffinity" >&5
18626 $as_echo_n "checking for sched_setaffinity... " >&6; }
18627 if ${wine_cv_have_sched_setaffinity+:} false; then :
18628 $as_echo_n "(cached) " >&6
18629 else
18630 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18631 /* end confdefs.h. */
18632 #define _GNU_SOURCE
18633 #include <sched.h>
18635 main ()
18637 sched_setaffinity(0, 0, 0);
18639 return 0;
18641 _ACEOF
18642 if ac_fn_c_try_link "$LINENO"; then :
18643 wine_cv_have_sched_setaffinity=yes
18644 else
18645 wine_cv_have_sched_setaffinity=no
18647 rm -f core conftest.err conftest.$ac_objext \
18648 conftest$ac_exeext conftest.$ac_ext
18650 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sched_setaffinity" >&5
18651 $as_echo "$wine_cv_have_sched_setaffinity" >&6; }
18652 if test "$wine_cv_have_sched_setaffinity" = "yes"
18653 then
18655 $as_echo "#define HAVE_SCHED_SETAFFINITY 1" >>confdefs.h
18659 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fallocate" >&5
18660 $as_echo_n "checking for fallocate... " >&6; }
18661 if ${wine_cv_have_fallocate+:} false; then :
18662 $as_echo_n "(cached) " >&6
18663 else
18664 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18665 /* end confdefs.h. */
18666 #define _GNU_SOURCE
18667 #include <fcntl.h>
18669 main ()
18671 fallocate(-1, 0, 0, 0);
18673 return 0;
18675 _ACEOF
18676 if ac_fn_c_try_link "$LINENO"; then :
18677 wine_cv_have_fallocate=yes
18678 else
18679 wine_cv_have_fallocate=no
18681 rm -f core conftest.err conftest.$ac_objext \
18682 conftest$ac_exeext conftest.$ac_ext
18684 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_fallocate" >&5
18685 $as_echo "$wine_cv_have_fallocate" >&6; }
18686 if test "$wine_cv_have_fallocate" = "yes"
18687 then
18689 $as_echo "#define HAVE_FALLOCATE 1" >>confdefs.h
18694 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
18695 $as_echo_n "checking for inline... " >&6; }
18696 if ${ac_cv_c_inline+:} false; then :
18697 $as_echo_n "(cached) " >&6
18698 else
18699 ac_cv_c_inline=no
18700 for ac_kw in inline __inline__ __inline; do
18701 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18702 /* end confdefs.h. */
18703 #ifndef __cplusplus
18704 typedef int foo_t;
18705 static $ac_kw foo_t static_foo () {return 0; }
18706 $ac_kw foo_t foo () {return 0; }
18707 #endif
18709 _ACEOF
18710 if ac_fn_c_try_compile "$LINENO"; then :
18711 ac_cv_c_inline=$ac_kw
18713 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18714 test "$ac_cv_c_inline" != no && break
18715 done
18718 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
18719 $as_echo "$ac_cv_c_inline" >&6; }
18721 case $ac_cv_c_inline in
18722 inline | yes) ;;
18724 case $ac_cv_c_inline in
18725 no) ac_val=;;
18726 *) ac_val=$ac_cv_c_inline;;
18727 esac
18728 cat >>confdefs.h <<_ACEOF
18729 #ifndef __cplusplus
18730 #define inline $ac_val
18731 #endif
18732 _ACEOF
18734 esac
18736 ac_fn_c_check_type "$LINENO" "sigset_t" "ac_cv_type_sigset_t" "#include <sys/types.h>
18737 #include <signal.h>
18739 if test "x$ac_cv_type_sigset_t" = xyes; then :
18741 cat >>confdefs.h <<_ACEOF
18742 #define HAVE_SIGSET_T 1
18743 _ACEOF
18748 ac_fn_c_check_type "$LINENO" "request_sense" "ac_cv_type_request_sense" "#include <linux/cdrom.h>
18750 if test "x$ac_cv_type_request_sense" = xyes; then :
18752 cat >>confdefs.h <<_ACEOF
18753 #define HAVE_REQUEST_SENSE 1
18754 _ACEOF
18760 ac_fn_c_check_type "$LINENO" "struct xinpgen" "ac_cv_type_struct_xinpgen" "#include <sys/types.h>
18761 #ifdef HAVE_SYS_SOCKET_H
18762 #include <sys/socket.h>
18763 #endif
18764 #ifdef HAVE_SYS_SOCKETVAR_H
18765 #include <sys/socketvar.h>
18766 #endif
18767 #ifdef HAVE_NET_ROUTE_H
18768 #include <net/route.h>
18769 #endif
18770 #ifdef HAVE_NETINET_IN_H
18771 #include <netinet/in.h>
18772 #endif
18773 #ifdef HAVE_NETINET_IN_SYSTM_H
18774 #include <netinet/in_systm.h>
18775 #endif
18776 #ifdef HAVE_NETINET_IP_H
18777 #include <netinet/ip.h>
18778 #endif
18779 #ifdef HAVE_NETINET_IN_PCB_H
18780 #include <netinet/in_pcb.h>
18781 #endif
18783 if test "x$ac_cv_type_struct_xinpgen" = xyes; then :
18785 cat >>confdefs.h <<_ACEOF
18786 #define HAVE_STRUCT_XINPGEN 1
18787 _ACEOF
18793 ac_fn_c_check_member "$LINENO" "struct ff_effect" "direction" "ac_cv_member_struct_ff_effect_direction" "#ifdef HAVE_LINUX_INPUT_H
18794 #include <linux/input.h>
18795 #endif
18797 if test "x$ac_cv_member_struct_ff_effect_direction" = xyes; then :
18799 cat >>confdefs.h <<_ACEOF
18800 #define HAVE_STRUCT_FF_EFFECT_DIRECTION 1
18801 _ACEOF
18807 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for if_nameindex" >&5
18808 $as_echo_n "checking for if_nameindex... " >&6; }
18809 if ${wine_cv_have_if_nameindex+:} false; then :
18810 $as_echo_n "(cached) " >&6
18811 else
18812 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18813 /* end confdefs.h. */
18814 #ifdef HAVE_SYS_TYPES_H
18815 #include <sys/types.h>
18816 #endif
18817 #ifdef HAVE_SYS_SOCKET_H
18818 #include <sys/socket.h>
18819 #endif
18820 #ifdef HAVE_NET_IF_H
18821 # include <net/if.h>
18822 #endif
18824 main ()
18826 struct if_nameindex *p = if_nameindex(); return p->if_index;
18828 return 0;
18830 _ACEOF
18831 if ac_fn_c_try_link "$LINENO"; then :
18832 wine_cv_have_if_nameindex=yes
18833 else
18834 wine_cv_have_if_nameindex=no
18836 rm -f core conftest.err conftest.$ac_objext \
18837 conftest$ac_exeext conftest.$ac_ext
18839 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_if_nameindex" >&5
18840 $as_echo "$wine_cv_have_if_nameindex" >&6; }
18841 if test "$wine_cv_have_if_nameindex" = "yes"
18842 then
18844 $as_echo "#define HAVE_IF_NAMEINDEX 1" >>confdefs.h
18848 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sigaddset" >&5
18849 $as_echo_n "checking for sigaddset... " >&6; }
18850 if ${wine_cv_have_sigaddset+:} false; then :
18851 $as_echo_n "(cached) " >&6
18852 else
18853 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18854 /* end confdefs.h. */
18855 #include <signal.h>
18857 main ()
18859 sigset_t set; sigaddset(&set,SIGTERM);
18861 return 0;
18863 _ACEOF
18864 if ac_fn_c_try_link "$LINENO"; then :
18865 wine_cv_have_sigaddset=yes
18866 else
18867 wine_cv_have_sigaddset=no
18869 rm -f core conftest.err conftest.$ac_objext \
18870 conftest$ac_exeext conftest.$ac_ext
18872 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sigaddset" >&5
18873 $as_echo "$wine_cv_have_sigaddset" >&6; }
18874 if test "$wine_cv_have_sigaddset" = "yes"
18875 then
18877 $as_echo "#define HAVE_SIGADDSET 1" >>confdefs.h
18882 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can use re-entrant gethostbyname_r Linux style" >&5
18883 $as_echo_n "checking whether we can use re-entrant gethostbyname_r Linux style... " >&6; }
18884 if ${wine_cv_linux_gethostbyname_r_6+:} false; then :
18885 $as_echo_n "(cached) " >&6
18886 else
18887 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18888 /* end confdefs.h. */
18889 #include <netdb.h>
18891 main ()
18894 char *name=0;
18895 struct hostent he;
18896 struct hostent *result;
18897 char *buf=0;
18898 int bufsize=0;
18899 int errnr;
18900 char *addr=0;
18901 int addrlen=0;
18902 int addrtype=0;
18903 gethostbyname_r(name,&he,buf,bufsize,&result,&errnr);
18904 gethostbyaddr_r(addr, addrlen, addrtype,&he,buf,bufsize,&result,&errnr);
18907 return 0;
18909 _ACEOF
18910 if ac_fn_c_try_link "$LINENO"; then :
18911 wine_cv_linux_gethostbyname_r_6=yes
18912 else
18913 wine_cv_linux_gethostbyname_r_6=no
18916 rm -f core conftest.err conftest.$ac_objext \
18917 conftest$ac_exeext conftest.$ac_ext
18920 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_gethostbyname_r_6" >&5
18921 $as_echo "$wine_cv_linux_gethostbyname_r_6" >&6; }
18922 if test "$wine_cv_linux_gethostbyname_r_6" = "yes"
18923 then
18925 $as_echo "#define HAVE_LINUX_GETHOSTBYNAME_R_6 1" >>confdefs.h
18929 if test "$ac_cv_header_linux_joystick_h" = "yes"
18930 then
18931 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether linux/joystick.h uses the Linux 2.2+ API" >&5
18932 $as_echo_n "checking whether linux/joystick.h uses the Linux 2.2+ API... " >&6; }
18933 if ${wine_cv_linux_joystick_22_api+:} false; then :
18934 $as_echo_n "(cached) " >&6
18935 else
18936 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18937 /* end confdefs.h. */
18939 #include <sys/ioctl.h>
18940 #include <sys/types.h>
18941 #include <linux/joystick.h>
18943 struct js_event blub;
18944 #if !defined(JS_EVENT_AXIS) || !defined(JS_EVENT_BUTTON)
18945 #error "no 2.2 header"
18946 #endif
18949 main ()
18951 /*empty*/
18953 return 0;
18955 _ACEOF
18956 if ac_fn_c_try_compile "$LINENO"; then :
18957 wine_cv_linux_joystick_22_api=yes
18958 else
18959 wine_cv_linux_joystick_22_api=no
18961 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18964 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_joystick_22_api" >&5
18965 $as_echo "$wine_cv_linux_joystick_22_api" >&6; }
18966 if test "$wine_cv_linux_joystick_22_api" = "yes"
18967 then
18969 $as_echo "#define HAVE_LINUX_22_JOYSTICK_API 1" >>confdefs.h
18974 ac_fn_c_check_member "$LINENO" "struct msghdr" "msg_accrights" "ac_cv_member_struct_msghdr_msg_accrights" "#include <sys/types.h>
18975 #ifdef HAVE_SYS_SOCKET_H
18976 # include <sys/socket.h>
18977 #endif
18978 #ifdef HAVE_SYS_UN_H
18979 # include <sys/un.h>
18980 #endif
18982 if test "x$ac_cv_member_struct_msghdr_msg_accrights" = xyes; then :
18984 cat >>confdefs.h <<_ACEOF
18985 #define HAVE_STRUCT_MSGHDR_MSG_ACCRIGHTS 1
18986 _ACEOF
18990 ac_fn_c_check_member "$LINENO" "struct sockaddr" "sa_len" "ac_cv_member_struct_sockaddr_sa_len" "#include <sys/types.h>
18991 #ifdef HAVE_SYS_SOCKET_H
18992 # include <sys/socket.h>
18993 #endif
18994 #ifdef HAVE_SYS_UN_H
18995 # include <sys/un.h>
18996 #endif
18998 if test "x$ac_cv_member_struct_sockaddr_sa_len" = xyes; then :
19000 cat >>confdefs.h <<_ACEOF
19001 #define HAVE_STRUCT_SOCKADDR_SA_LEN 1
19002 _ACEOF
19006 ac_fn_c_check_member "$LINENO" "struct sockaddr_un" "sun_len" "ac_cv_member_struct_sockaddr_un_sun_len" "#include <sys/types.h>
19007 #ifdef HAVE_SYS_SOCKET_H
19008 # include <sys/socket.h>
19009 #endif
19010 #ifdef HAVE_SYS_UN_H
19011 # include <sys/un.h>
19012 #endif
19014 if test "x$ac_cv_member_struct_sockaddr_un_sun_len" = xyes; then :
19016 cat >>confdefs.h <<_ACEOF
19017 #define HAVE_STRUCT_SOCKADDR_UN_SUN_LEN 1
19018 _ACEOF
19024 ac_fn_c_check_member "$LINENO" "scsireq_t" "cmd" "ac_cv_member_scsireq_t_cmd" "#include <sys/types.h>
19025 #ifdef HAVE_SCSI_SG_H
19026 #include <scsi/sg.h>
19027 #endif
19029 if test "x$ac_cv_member_scsireq_t_cmd" = xyes; then :
19031 cat >>confdefs.h <<_ACEOF
19032 #define HAVE_SCSIREQ_T_CMD 1
19033 _ACEOF
19037 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>
19038 #ifdef HAVE_SCSI_SG_H
19039 #include <scsi/sg.h>
19040 #endif
19042 if test "x$ac_cv_member_sg_io_hdr_t_interface_id" = xyes; then :
19044 cat >>confdefs.h <<_ACEOF
19045 #define HAVE_SG_IO_HDR_T_INTERFACE_ID 1
19046 _ACEOF
19052 ac_fn_c_check_member "$LINENO" "siginfo_t" "si_fd" "ac_cv_member_siginfo_t_si_fd" "#include <signal.h>
19054 if test "x$ac_cv_member_siginfo_t_si_fd" = xyes; then :
19056 cat >>confdefs.h <<_ACEOF
19057 #define HAVE_SIGINFO_T_SI_FD 1
19058 _ACEOF
19064 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_blksiz" "ac_cv_member_struct_mtget_mt_blksiz" "#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_blksiz" = xyes; then :
19071 cat >>confdefs.h <<_ACEOF
19072 #define HAVE_STRUCT_MTGET_MT_BLKSIZ 1
19073 _ACEOF
19077 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_gstat" "ac_cv_member_struct_mtget_mt_gstat" "#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_gstat" = xyes; then :
19084 cat >>confdefs.h <<_ACEOF
19085 #define HAVE_STRUCT_MTGET_MT_GSTAT 1
19086 _ACEOF
19090 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_blkno" "ac_cv_member_struct_mtget_mt_blkno" "#include <sys/types.h>
19091 #ifdef HAVE_SYS_MTIO_H
19092 #include <sys/mtio.h>
19093 #endif
19095 if test "x$ac_cv_member_struct_mtget_mt_blkno" = xyes; then :
19097 cat >>confdefs.h <<_ACEOF
19098 #define HAVE_STRUCT_MTGET_MT_BLKNO 1
19099 _ACEOF
19105 ac_fn_c_check_member "$LINENO" "struct option" "name" "ac_cv_member_struct_option_name" "#ifdef HAVE_GETOPT_H
19106 #include <getopt.h>
19107 #endif
19109 if test "x$ac_cv_member_struct_option_name" = xyes; then :
19111 cat >>confdefs.h <<_ACEOF
19112 #define HAVE_STRUCT_OPTION_NAME 1
19113 _ACEOF
19119 ac_fn_c_check_member "$LINENO" "struct stat" "st_blocks" "ac_cv_member_struct_stat_st_blocks" "$ac_includes_default"
19120 if test "x$ac_cv_member_struct_stat_st_blocks" = xyes; then :
19122 cat >>confdefs.h <<_ACEOF
19123 #define HAVE_STRUCT_STAT_ST_BLOCKS 1
19124 _ACEOF
19128 ac_fn_c_check_member "$LINENO" "struct stat" "st_mtim" "ac_cv_member_struct_stat_st_mtim" "$ac_includes_default"
19129 if test "x$ac_cv_member_struct_stat_st_mtim" = xyes; then :
19131 cat >>confdefs.h <<_ACEOF
19132 #define HAVE_STRUCT_STAT_ST_MTIM 1
19133 _ACEOF
19137 ac_fn_c_check_member "$LINENO" "struct stat" "st_mtimespec" "ac_cv_member_struct_stat_st_mtimespec" "$ac_includes_default"
19138 if test "x$ac_cv_member_struct_stat_st_mtimespec" = xyes; then :
19140 cat >>confdefs.h <<_ACEOF
19141 #define HAVE_STRUCT_STAT_ST_MTIMESPEC 1
19142 _ACEOF
19146 ac_fn_c_check_member "$LINENO" "struct stat" "st_ctim" "ac_cv_member_struct_stat_st_ctim" "$ac_includes_default"
19147 if test "x$ac_cv_member_struct_stat_st_ctim" = xyes; then :
19149 cat >>confdefs.h <<_ACEOF
19150 #define HAVE_STRUCT_STAT_ST_CTIM 1
19151 _ACEOF
19155 ac_fn_c_check_member "$LINENO" "struct stat" "st_ctimespec" "ac_cv_member_struct_stat_st_ctimespec" "$ac_includes_default"
19156 if test "x$ac_cv_member_struct_stat_st_ctimespec" = xyes; then :
19158 cat >>confdefs.h <<_ACEOF
19159 #define HAVE_STRUCT_STAT_ST_CTIMESPEC 1
19160 _ACEOF
19164 ac_fn_c_check_member "$LINENO" "struct stat" "st_atim" "ac_cv_member_struct_stat_st_atim" "$ac_includes_default"
19165 if test "x$ac_cv_member_struct_stat_st_atim" = xyes; then :
19167 cat >>confdefs.h <<_ACEOF
19168 #define HAVE_STRUCT_STAT_ST_ATIM 1
19169 _ACEOF
19173 ac_fn_c_check_member "$LINENO" "struct stat" "st_atimespec" "ac_cv_member_struct_stat_st_atimespec" "$ac_includes_default"
19174 if test "x$ac_cv_member_struct_stat_st_atimespec" = xyes; then :
19176 cat >>confdefs.h <<_ACEOF
19177 #define HAVE_STRUCT_STAT_ST_ATIMESPEC 1
19178 _ACEOF
19182 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtime" "ac_cv_member_struct_stat_st_birthtime" "$ac_includes_default"
19183 if test "x$ac_cv_member_struct_stat_st_birthtime" = xyes; then :
19185 cat >>confdefs.h <<_ACEOF
19186 #define HAVE_STRUCT_STAT_ST_BIRTHTIME 1
19187 _ACEOF
19191 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtim" "ac_cv_member_struct_stat_st_birthtim" "$ac_includes_default"
19192 if test "x$ac_cv_member_struct_stat_st_birthtim" = xyes; then :
19194 cat >>confdefs.h <<_ACEOF
19195 #define HAVE_STRUCT_STAT_ST_BIRTHTIM 1
19196 _ACEOF
19200 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtimespec" "ac_cv_member_struct_stat_st_birthtimespec" "$ac_includes_default"
19201 if test "x$ac_cv_member_struct_stat_st_birthtimespec" = xyes; then :
19203 cat >>confdefs.h <<_ACEOF
19204 #define HAVE_STRUCT_STAT_ST_BIRTHTIMESPEC 1
19205 _ACEOF
19209 ac_fn_c_check_member "$LINENO" "struct stat" "__st_birthtime" "ac_cv_member_struct_stat___st_birthtime" "$ac_includes_default"
19210 if test "x$ac_cv_member_struct_stat___st_birthtime" = xyes; then :
19212 cat >>confdefs.h <<_ACEOF
19213 #define HAVE_STRUCT_STAT___ST_BIRTHTIME 1
19214 _ACEOF
19218 ac_fn_c_check_member "$LINENO" "struct stat" "__st_birthtim" "ac_cv_member_struct_stat___st_birthtim" "$ac_includes_default"
19219 if test "x$ac_cv_member_struct_stat___st_birthtim" = xyes; then :
19221 cat >>confdefs.h <<_ACEOF
19222 #define HAVE_STRUCT_STAT___ST_BIRTHTIM 1
19223 _ACEOF
19229 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
19230 #include <sys/types.h>
19231 #endif
19232 #ifdef HAVE_NETINET_IN_H
19233 #include <netinet/in.h>
19234 #endif
19236 if test "x$ac_cv_member_struct_sockaddr_in6_sin6_scope_id" = xyes; then :
19238 cat >>confdefs.h <<_ACEOF
19239 #define HAVE_STRUCT_SOCKADDR_IN6_SIN6_SCOPE_ID 1
19240 _ACEOF
19246 ac_fn_c_check_type "$LINENO" "struct __res_state" "ac_cv_type_struct___res_state" "#ifdef HAVE_SYS_TYPES_H
19247 #include <sys/types.h>
19248 #endif
19249 #ifdef HAVE_NETINET_IN_H
19250 #include <netinet/in.h>
19251 #endif
19252 #ifdef HAVE_RESOLV_H
19253 #include <resolv.h>
19254 #endif
19256 if test "x$ac_cv_type_struct___res_state" = xyes; then :
19258 cat >>confdefs.h <<_ACEOF
19259 #define HAVE_STRUCT___RES_STATE 1
19260 _ACEOF
19266 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
19267 #include <resolv.h>
19268 #endif
19270 if test "x$ac_cv_member_struct___res_state__u__ext_nscount6" = xyes; then :
19272 cat >>confdefs.h <<_ACEOF
19273 #define HAVE_STRUCT___RES_STATE__U__EXT_NSCOUNT6 1
19274 _ACEOF
19280 ac_fn_c_check_member "$LINENO" "ns_msg" "_msg_ptr" "ac_cv_member_ns_msg__msg_ptr" "#ifdef HAVE_SYS_TYPES_H
19281 #include <sys/types.h>
19282 #endif
19283 #ifdef HAVE_NETINET_IN_H
19284 # include <netinet/in.h>
19285 #endif
19286 #ifdef HAVE_ARPA_NAMESER_H
19287 # include <arpa/nameser.h>
19288 #endif
19290 if test "x$ac_cv_member_ns_msg__msg_ptr" = xyes; then :
19292 cat >>confdefs.h <<_ACEOF
19293 #define HAVE_NS_MSG__MSG_PTR 1
19294 _ACEOF
19300 ac_fn_c_check_member "$LINENO" "struct icmpstat" "icps_inhist" "ac_cv_member_struct_icmpstat_icps_inhist" "#ifdef HAVE_SYS_TYPES_H
19301 #include <sys/types.h>
19302 #endif
19303 #ifdef HAVE_NETINET_IN_H
19304 #include <netinet/in.h>
19305 #endif
19306 #ifdef HAVE_NETINET_IP_H
19307 #include <netinet/ip.h>
19308 #endif
19309 #ifdef HAVE_NETINET_IP_ICMP_H
19310 #include <netinet/ip_icmp.h>
19311 #endif
19312 #ifdef HAVE_NETINET_ICMP_VAR_H
19313 #include <netinet/icmp_var.h>
19314 #endif
19316 if test "x$ac_cv_member_struct_icmpstat_icps_inhist" = xyes; then :
19318 cat >>confdefs.h <<_ACEOF
19319 #define HAVE_STRUCT_ICMPSTAT_ICPS_INHIST 1
19320 _ACEOF
19326 ac_fn_c_check_member "$LINENO" "struct icmpstat" "icps_outhist" "ac_cv_member_struct_icmpstat_icps_outhist" "#ifdef HAVE_SYS_TYPES_H
19327 #include <sys/types.h>
19328 #endif
19329 #ifdef HAVE_ALIAS_H
19330 #include <alias.h>
19331 #endif
19332 #ifdef HAVE_SYS_SOCKET_H
19333 #include <sys/socket.h>
19334 #endif
19335 #ifdef HAVE_SYS_SOCKETVAR_H
19336 #include <sys/socketvar.h>
19337 #endif
19338 #ifdef HAVE_SYS_TIMEOUT_H
19339 #include <sys/timeout.h>
19340 #endif
19341 #ifdef HAVE_NETINET_IN_H
19342 #include <netinet/in.h>
19343 #endif
19344 #ifdef HAVE_NETINET_IN_SYSTM_H
19345 #include <netinet/in_systm.h>
19346 #endif
19347 #ifdef HAVE_NETINET_IP_H
19348 #include <netinet/ip.h>
19349 #endif
19350 #ifdef HAVE_NETINET_IP_VAR_H
19351 #include <netinet/ip_var.h>
19352 #endif
19353 #ifdef HAVE_NETINET_IP_ICMP_H
19354 #include <netinet/ip_icmp.h>
19355 #endif
19356 #ifdef HAVE_NETINET_ICMP_VAR_H
19357 #include <netinet/icmp_var.h>
19358 #endif
19360 if test "x$ac_cv_member_struct_icmpstat_icps_outhist" = xyes; then :
19362 cat >>confdefs.h <<_ACEOF
19363 #define HAVE_STRUCT_ICMPSTAT_ICPS_OUTHIST 1
19364 _ACEOF
19370 ac_fn_c_check_member "$LINENO" "struct ipstat" "ips_total" "ac_cv_member_struct_ipstat_ips_total" "#ifdef HAVE_SYS_TYPES_H
19371 #include <sys/types.h>
19372 #endif
19373 #ifdef HAVE_SYS_SOCKETVAR_H
19374 #include <sys/socketvar.h>
19375 #endif
19376 #ifdef HAVE_NETINET_IN_H
19377 #include <netinet/in.h>
19378 #endif
19379 #ifdef HAVE_NETINET_IP_VAR_H
19380 #include <netinet/ip_var.h>
19381 #endif
19383 if test "x$ac_cv_member_struct_ipstat_ips_total" = xyes; then :
19385 cat >>confdefs.h <<_ACEOF
19386 #define HAVE_STRUCT_IPSTAT_IPS_TOTAL 1
19387 _ACEOF
19393 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
19394 #include <netinet/ip_var.h>
19395 #endif
19397 if test "x$ac_cv_member_struct_ip_stats_ips_total" = xyes; then :
19399 cat >>confdefs.h <<_ACEOF
19400 #define HAVE_STRUCT_IP_STATS_IPS_TOTAL 1
19401 _ACEOF
19407 ac_fn_c_check_member "$LINENO" "struct tcpstat" "tcps_connattempt" "ac_cv_member_struct_tcpstat_tcps_connattempt" "#ifdef HAVE_SYS_TYPES_H
19408 #include <sys/types.h>
19409 #endif
19410 #ifdef HAVE_SYS_SOCKETVAR_H
19411 #include <sys/socketvar.h>
19412 #endif
19413 #ifdef HAVE_NETINET_IN_H
19414 #include <netinet/in.h>
19415 #endif
19416 #ifdef HAVE_NETINET_TCP_H
19417 #include <netinet/tcp.h>
19418 #endif
19419 #ifdef HAVE_NETINET_TCP_VAR_H
19420 #include <netinet/tcp_var.h>
19421 #endif
19423 if test "x$ac_cv_member_struct_tcpstat_tcps_connattempt" = xyes; then :
19425 cat >>confdefs.h <<_ACEOF
19426 #define HAVE_STRUCT_TCPSTAT_TCPS_CONNATTEMPT 1
19427 _ACEOF
19433 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
19434 #include <netinet/tcp_var.h>
19435 #endif
19437 if test "x$ac_cv_member_struct_tcp_stats_tcps_connattempt" = xyes; then :
19439 cat >>confdefs.h <<_ACEOF
19440 #define HAVE_STRUCT_TCP_STATS_TCPS_CONNATTEMPT 1
19441 _ACEOF
19447 ac_fn_c_check_member "$LINENO" "struct udpstat" "udps_ipackets" "ac_cv_member_struct_udpstat_udps_ipackets" "#ifdef HAVE_SYS_TYPES_H
19448 #include <sys/types.h>
19449 #endif
19450 #ifdef HAVE_NETINET_IN_H
19451 #include <netinet/in.h>
19452 #endif
19453 #ifdef HAVE_NETINET_IP_VAR_H
19454 #include <netinet/ip_var.h>
19455 #endif
19456 #ifdef HAVE_NETINET_UDP_H
19457 #include <netinet/udp.h>
19458 #endif
19459 #ifdef HAVE_NETINET_UDP_VAR_H
19460 #include <netinet/udp_var.h>
19461 #endif
19463 if test "x$ac_cv_member_struct_udpstat_udps_ipackets" = xyes; then :
19465 cat >>confdefs.h <<_ACEOF
19466 #define HAVE_STRUCT_UDPSTAT_UDPS_IPACKETS 1
19467 _ACEOF
19473 ac_fn_c_check_member "$LINENO" "struct ifreq" "ifr_hwaddr" "ac_cv_member_struct_ifreq_ifr_hwaddr" "#ifdef HAVE_SYS_TYPES_H
19474 #include <sys/types.h>
19475 #endif
19476 #ifdef HAVE_NET_IF_H
19477 # include <net/if.h>
19478 #endif
19480 if test "x$ac_cv_member_struct_ifreq_ifr_hwaddr" = xyes; then :
19482 cat >>confdefs.h <<_ACEOF
19483 #define HAVE_STRUCT_IFREQ_IFR_HWADDR 1
19484 _ACEOF
19490 ac_fn_c_check_member "$LINENO" "struct sysinfo" "totalram" "ac_cv_member_struct_sysinfo_totalram" "#ifdef HAVE_SYS_SYSINFO_H
19491 # include <sys/sysinfo.h>
19492 #endif
19494 if test "x$ac_cv_member_struct_sysinfo_totalram" = xyes; then :
19496 cat >>confdefs.h <<_ACEOF
19497 #define HAVE_STRUCT_SYSINFO_TOTALRAM 1
19498 _ACEOF
19502 ac_fn_c_check_member "$LINENO" "struct sysinfo" "mem_unit" "ac_cv_member_struct_sysinfo_mem_unit" "#ifdef HAVE_SYS_SYSINFO_H
19503 # include <sys/sysinfo.h>
19504 #endif
19506 if test "x$ac_cv_member_struct_sysinfo_mem_unit" = xyes; then :
19508 cat >>confdefs.h <<_ACEOF
19509 #define HAVE_STRUCT_SYSINFO_MEM_UNIT 1
19510 _ACEOF
19516 ac_save_LIBS="$LIBS"
19517 LIBS="$LIBS -lm"
19518 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isfinite" >&5
19519 $as_echo_n "checking for isfinite... " >&6; }
19520 if ${ac_cv_have_isfinite+:} false; then :
19521 $as_echo_n "(cached) " >&6
19522 else
19523 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19524 /* end confdefs.h. */
19525 #define _GNU_SOURCE
19526 #include <math.h>
19528 main ()
19530 float f = 0.0; return isfinite(f)
19532 return 0;
19534 _ACEOF
19535 if ac_fn_c_try_link "$LINENO"; then :
19536 ac_cv_have_isfinite="yes"
19537 else
19538 ac_cv_have_isfinite="no"
19540 rm -f core conftest.err conftest.$ac_objext \
19541 conftest$ac_exeext conftest.$ac_ext
19543 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isfinite" >&5
19544 $as_echo "$ac_cv_have_isfinite" >&6; }
19545 if test "$ac_cv_have_isfinite" = "yes"
19546 then
19548 $as_echo "#define HAVE_ISFINITE 1" >>confdefs.h
19552 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf" >&5
19553 $as_echo_n "checking for isinf... " >&6; }
19554 if ${ac_cv_have_isinf+:} false; then :
19555 $as_echo_n "(cached) " >&6
19556 else
19557 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19558 /* end confdefs.h. */
19559 #include <math.h>
19561 main ()
19563 float f = 0.0; return isinf(f)
19565 return 0;
19567 _ACEOF
19568 if ac_fn_c_try_link "$LINENO"; then :
19569 ac_cv_have_isinf="yes"
19570 else
19571 ac_cv_have_isinf="no"
19573 rm -f core conftest.err conftest.$ac_objext \
19574 conftest$ac_exeext conftest.$ac_ext
19576 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isinf" >&5
19577 $as_echo "$ac_cv_have_isinf" >&6; }
19578 if test "$ac_cv_have_isinf" = "yes"
19579 then
19581 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
19585 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan" >&5
19586 $as_echo_n "checking for isnan... " >&6; }
19587 if ${ac_cv_have_isnan+:} false; then :
19588 $as_echo_n "(cached) " >&6
19589 else
19590 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19591 /* end confdefs.h. */
19592 #include <math.h>
19594 main ()
19596 float f = 0.0; return isnan(f)
19598 return 0;
19600 _ACEOF
19601 if ac_fn_c_try_link "$LINENO"; then :
19602 ac_cv_have_isnan="yes"
19603 else
19604 ac_cv_have_isnan="no"
19606 rm -f core conftest.err conftest.$ac_objext \
19607 conftest$ac_exeext conftest.$ac_ext
19609 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isnan" >&5
19610 $as_echo "$ac_cv_have_isnan" >&6; }
19611 if test "$ac_cv_have_isnan" = "yes"
19612 then
19614 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
19618 for ac_func in \
19619 exp2 \
19620 exp2f \
19621 expm1 \
19622 expm1f \
19623 fma \
19624 fmaf \
19625 lgamma \
19626 lgammaf \
19627 log1p \
19628 log1pf \
19629 log2 \
19630 log2f \
19631 tgamma \
19632 tgammaf
19634 do :
19635 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
19636 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
19637 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
19638 cat >>confdefs.h <<_ACEOF
19639 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
19640 _ACEOF
19643 done
19645 LIBS="$ac_save_LIBS"
19647 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __builtin_popcount" >&5
19648 $as_echo_n "checking for __builtin_popcount... " >&6; }
19649 if ${ac_cv_have___builtin_popcount+:} false; then :
19650 $as_echo_n "(cached) " >&6
19651 else
19652 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19653 /* end confdefs.h. */
19656 main ()
19658 return __builtin_popcount(1)
19660 return 0;
19662 _ACEOF
19663 if ac_fn_c_try_link "$LINENO"; then :
19664 ac_cv_have___builtin_popcount="yes"
19665 else
19666 ac_cv_have___builtin_popcount="no"
19668 rm -f core conftest.err conftest.$ac_objext \
19669 conftest$ac_exeext conftest.$ac_ext
19671 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___builtin_popcount" >&5
19672 $as_echo "$ac_cv_have___builtin_popcount" >&6; }
19673 if test "$ac_cv_have___builtin_popcount" = "yes"
19674 then
19676 $as_echo "#define HAVE___BUILTIN_POPCOUNT 1" >>confdefs.h
19680 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __clear_cache" >&5
19681 $as_echo_n "checking for __clear_cache... " >&6; }
19682 if ${ac_cv_have___clear_cache+:} false; then :
19683 $as_echo_n "(cached) " >&6
19684 else
19685 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19686 /* end confdefs.h. */
19689 main ()
19691 __clear_cache((void*)0, (void*)0); return 0;
19693 return 0;
19695 _ACEOF
19696 if ac_fn_c_try_link "$LINENO"; then :
19697 ac_cv_have___clear_cache="yes"
19698 else
19699 ac_cv_have___clear_cache="no"
19701 rm -f core conftest.err conftest.$ac_objext \
19702 conftest$ac_exeext conftest.$ac_ext
19704 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___clear_cache" >&5
19705 $as_echo "$ac_cv_have___clear_cache" >&6; }
19706 if test "$ac_cv_have___clear_cache" = "yes"
19707 then
19709 $as_echo "#define HAVE___CLEAR_CACHE 1" >>confdefs.h
19714 case $host_cpu in
19715 *i[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __i386__" >&5
19716 $as_echo_n "checking whether we need to define __i386__... " >&6; }
19717 if ${ac_cv_cpp_def___i386__+:} false; then :
19718 $as_echo_n "(cached) " >&6
19719 else
19720 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19721 /* end confdefs.h. */
19722 #ifndef __i386__
19724 #endif
19725 _ACEOF
19726 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19727 $EGREP "yes" >/dev/null 2>&1; then :
19728 ac_cv_cpp_def___i386__=yes
19729 else
19730 ac_cv_cpp_def___i386__=no
19732 rm -f conftest*
19735 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___i386__" >&5
19736 $as_echo "$ac_cv_cpp_def___i386__" >&6; }
19737 if test "x$ac_cv_cpp_def___i386__" = xyes; then :
19738 CFLAGS="$CFLAGS -D__i386__"
19739 LINTFLAGS="$LINTFLAGS -D__i386__"
19740 fi ;;
19741 *x86_64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __x86_64__" >&5
19742 $as_echo_n "checking whether we need to define __x86_64__... " >&6; }
19743 if ${ac_cv_cpp_def___x86_64__+:} false; then :
19744 $as_echo_n "(cached) " >&6
19745 else
19746 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19747 /* end confdefs.h. */
19748 #ifndef __x86_64__
19750 #endif
19751 _ACEOF
19752 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19753 $EGREP "yes" >/dev/null 2>&1; then :
19754 ac_cv_cpp_def___x86_64__=yes
19755 else
19756 ac_cv_cpp_def___x86_64__=no
19758 rm -f conftest*
19761 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___x86_64__" >&5
19762 $as_echo "$ac_cv_cpp_def___x86_64__" >&6; }
19763 if test "x$ac_cv_cpp_def___x86_64__" = xyes; then :
19764 CFLAGS="$CFLAGS -D__x86_64__"
19765 LINTFLAGS="$LINTFLAGS -D__x86_64__"
19766 fi ;;
19767 *sparc64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc64__" >&5
19768 $as_echo_n "checking whether we need to define __sparc64__... " >&6; }
19769 if ${ac_cv_cpp_def___sparc64__+:} false; then :
19770 $as_echo_n "(cached) " >&6
19771 else
19772 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19773 /* end confdefs.h. */
19774 #ifndef __sparc64__
19776 #endif
19777 _ACEOF
19778 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19779 $EGREP "yes" >/dev/null 2>&1; then :
19780 ac_cv_cpp_def___sparc64__=yes
19781 else
19782 ac_cv_cpp_def___sparc64__=no
19784 rm -f conftest*
19787 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc64__" >&5
19788 $as_echo "$ac_cv_cpp_def___sparc64__" >&6; }
19789 if test "x$ac_cv_cpp_def___sparc64__" = xyes; then :
19790 CFLAGS="$CFLAGS -D__sparc64__"
19791 LINTFLAGS="$LINTFLAGS -D__sparc64__"
19792 fi ;;
19793 *sparc*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc__" >&5
19794 $as_echo_n "checking whether we need to define __sparc__... " >&6; }
19795 if ${ac_cv_cpp_def___sparc__+:} false; then :
19796 $as_echo_n "(cached) " >&6
19797 else
19798 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19799 /* end confdefs.h. */
19800 #ifndef __sparc__
19802 #endif
19803 _ACEOF
19804 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19805 $EGREP "yes" >/dev/null 2>&1; then :
19806 ac_cv_cpp_def___sparc__=yes
19807 else
19808 ac_cv_cpp_def___sparc__=no
19810 rm -f conftest*
19813 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc__" >&5
19814 $as_echo "$ac_cv_cpp_def___sparc__" >&6; }
19815 if test "x$ac_cv_cpp_def___sparc__" = xyes; then :
19816 CFLAGS="$CFLAGS -D__sparc__"
19817 LINTFLAGS="$LINTFLAGS -D__sparc__"
19818 fi ;;
19819 *powerpc64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc64__" >&5
19820 $as_echo_n "checking whether we need to define __powerpc64__... " >&6; }
19821 if ${ac_cv_cpp_def___powerpc64__+:} false; then :
19822 $as_echo_n "(cached) " >&6
19823 else
19824 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19825 /* end confdefs.h. */
19826 #ifndef __powerpc64__
19828 #endif
19829 _ACEOF
19830 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19831 $EGREP "yes" >/dev/null 2>&1; then :
19832 ac_cv_cpp_def___powerpc64__=yes
19833 else
19834 ac_cv_cpp_def___powerpc64__=no
19836 rm -f conftest*
19839 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc64__" >&5
19840 $as_echo "$ac_cv_cpp_def___powerpc64__" >&6; }
19841 if test "x$ac_cv_cpp_def___powerpc64__" = xyes; then :
19842 CFLAGS="$CFLAGS -D__powerpc64__"
19843 LINTFLAGS="$LINTFLAGS -D__powerpc64__"
19844 fi ;;
19845 *powerpc*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc__" >&5
19846 $as_echo_n "checking whether we need to define __powerpc__... " >&6; }
19847 if ${ac_cv_cpp_def___powerpc__+:} false; then :
19848 $as_echo_n "(cached) " >&6
19849 else
19850 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19851 /* end confdefs.h. */
19852 #ifndef __powerpc__
19854 #endif
19855 _ACEOF
19856 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19857 $EGREP "yes" >/dev/null 2>&1; then :
19858 ac_cv_cpp_def___powerpc__=yes
19859 else
19860 ac_cv_cpp_def___powerpc__=no
19862 rm -f conftest*
19865 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc__" >&5
19866 $as_echo "$ac_cv_cpp_def___powerpc__" >&6; }
19867 if test "x$ac_cv_cpp_def___powerpc__" = xyes; then :
19868 CFLAGS="$CFLAGS -D__powerpc__"
19869 LINTFLAGS="$LINTFLAGS -D__powerpc__"
19870 fi ;;
19871 *aarch64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __aarch64__" >&5
19872 $as_echo_n "checking whether we need to define __aarch64__... " >&6; }
19873 if ${ac_cv_cpp_def___aarch64__+:} false; then :
19874 $as_echo_n "(cached) " >&6
19875 else
19876 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19877 /* end confdefs.h. */
19878 #ifndef __aarch64__
19880 #endif
19881 _ACEOF
19882 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19883 $EGREP "yes" >/dev/null 2>&1; then :
19884 ac_cv_cpp_def___aarch64__=yes
19885 else
19886 ac_cv_cpp_def___aarch64__=no
19888 rm -f conftest*
19891 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___aarch64__" >&5
19892 $as_echo "$ac_cv_cpp_def___aarch64__" >&6; }
19893 if test "x$ac_cv_cpp_def___aarch64__" = xyes; then :
19894 CFLAGS="$CFLAGS -D__aarch64__"
19895 LINTFLAGS="$LINTFLAGS -D__aarch64__"
19896 fi ;;
19897 *arm*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __arm__" >&5
19898 $as_echo_n "checking whether we need to define __arm__... " >&6; }
19899 if ${ac_cv_cpp_def___arm__+:} false; then :
19900 $as_echo_n "(cached) " >&6
19901 else
19902 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19903 /* end confdefs.h. */
19904 #ifndef __arm__
19906 #endif
19907 _ACEOF
19908 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19909 $EGREP "yes" >/dev/null 2>&1; then :
19910 ac_cv_cpp_def___arm__=yes
19911 else
19912 ac_cv_cpp_def___arm__=no
19914 rm -f conftest*
19917 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___arm__" >&5
19918 $as_echo "$ac_cv_cpp_def___arm__" >&6; }
19919 if test "x$ac_cv_cpp_def___arm__" = xyes; then :
19920 CFLAGS="$CFLAGS -D__arm__"
19921 LINTFLAGS="$LINTFLAGS -D__arm__"
19922 fi ;;
19923 esac
19925 case $host_vendor in
19926 *sun*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sun__" >&5
19927 $as_echo_n "checking whether we need to define __sun__... " >&6; }
19928 if ${ac_cv_cpp_def___sun__+:} false; then :
19929 $as_echo_n "(cached) " >&6
19930 else
19931 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19932 /* end confdefs.h. */
19933 #ifndef __sun__
19935 #endif
19936 _ACEOF
19937 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19938 $EGREP "yes" >/dev/null 2>&1; then :
19939 ac_cv_cpp_def___sun__=yes
19940 else
19941 ac_cv_cpp_def___sun__=no
19943 rm -f conftest*
19946 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sun__" >&5
19947 $as_echo "$ac_cv_cpp_def___sun__" >&6; }
19948 if test "x$ac_cv_cpp_def___sun__" = xyes; then :
19949 CFLAGS="$CFLAGS -D__sun__"
19950 LINTFLAGS="$LINTFLAGS -D__sun__"
19951 fi ;;
19952 esac
19958 ac_config_commands="$ac_config_commands include/stamp-h"
19960 $as_echo_n "creating Makefile rules..." >&6
19962 ALL_VARS_RULES="I386_LIBS = $I386_LIBS
19963 OPENGL_LIBS = $OPENGL_LIBS
19964 COREFOUNDATION_LIBS = $COREFOUNDATION_LIBS
19965 IOKIT_LIBS = $IOKIT_LIBS
19966 FORCEFEEDBACK_LIBS = $FORCEFEEDBACK_LIBS
19967 APPLICATIONSERVICES_LIBS = $APPLICATIONSERVICES_LIBS
19968 CORESERVICES_LIBS = $CORESERVICES_LIBS
19969 APPKIT_LIBS = $APPKIT_LIBS
19970 SYSTEMCONFIGURATION_LIBS = $SYSTEMCONFIGURATION_LIBS
19971 DISKARBITRATION_LIBS = $DISKARBITRATION_LIBS
19972 SECURITY_LIBS = $SECURITY_LIBS
19973 COREAUDIO_LIBS = $COREAUDIO_LIBS
19974 OPENAL_LIBS = $OPENAL_LIBS
19975 OPENCL_LIBS = $OPENCL_LIBS
19976 QUICKTIME_LIBS = $QUICKTIME_LIBS
19977 CARBON_LIBS = $CARBON_LIBS
19978 METAL_LIBS = $METAL_LIBS
19979 EXCESS_PRECISION_CFLAGS = $EXCESS_PRECISION_CFLAGS
19980 PTHREAD_LIBS = $PTHREAD_LIBS
19981 X_CFLAGS = $X_CFLAGS
19982 X_PRE_LIBS = $X_PRE_LIBS
19983 X_LIBS = $X_LIBS
19984 X_EXTRA_LIBS = $X_EXTRA_LIBS
19985 PCAP_LIBS = $PCAP_LIBS
19986 XML2_CFLAGS = $XML2_CFLAGS
19987 XML2_LIBS = $XML2_LIBS
19988 XSLT_CFLAGS = $XSLT_CFLAGS
19989 XSLT_LIBS = $XSLT_LIBS
19990 INOTIFY_CFLAGS = $INOTIFY_CFLAGS
19991 INOTIFY_LIBS = $INOTIFY_LIBS
19992 DBUS_CFLAGS = $DBUS_CFLAGS
19993 DBUS_LIBS = $DBUS_LIBS
19994 HAL_CFLAGS = $HAL_CFLAGS
19995 HAL_LIBS = $HAL_LIBS
19996 GNUTLS_CFLAGS = $GNUTLS_CFLAGS
19997 GNUTLS_LIBS = $GNUTLS_LIBS
19998 SANE_CFLAGS = $SANE_CFLAGS
19999 SANE_LIBS = $SANE_LIBS
20000 USB_CFLAGS = $USB_CFLAGS
20001 USB_LIBS = $USB_LIBS
20002 GPHOTO2_CFLAGS = $GPHOTO2_CFLAGS
20003 GPHOTO2_LIBS = $GPHOTO2_LIBS
20004 GPHOTO2_PORT_CFLAGS = $GPHOTO2_PORT_CFLAGS
20005 GPHOTO2_PORT_LIBS = $GPHOTO2_PORT_LIBS
20006 RESOLV_LIBS = $RESOLV_LIBS
20007 LCMS2_CFLAGS = $LCMS2_CFLAGS
20008 LCMS2_LIBS = $LCMS2_LIBS
20009 FREETYPE_CFLAGS = $FREETYPE_CFLAGS
20010 FREETYPE_LIBS = $FREETYPE_LIBS
20011 GETTEXTPO_LIBS = $GETTEXTPO_LIBS
20012 PULSE_CFLAGS = $PULSE_CFLAGS
20013 PULSE_LIBS = $PULSE_LIBS
20014 GSTREAMER_CFLAGS = $GSTREAMER_CFLAGS
20015 GSTREAMER_LIBS = $GSTREAMER_LIBS
20016 ALSA_LIBS = $ALSA_LIBS
20017 OSS4_CFLAGS = $OSS4_CFLAGS
20018 OSS4_LIBS = $OSS4_LIBS
20019 UDEV_CFLAGS = $UDEV_CFLAGS
20020 UDEV_LIBS = $UDEV_LIBS
20021 UNWIND_CFLAGS = $UNWIND_CFLAGS
20022 UNWIND_LIBS = $UNWIND_LIBS
20023 SDL2_CFLAGS = $SDL2_CFLAGS
20024 SDL2_LIBS = $SDL2_LIBS
20025 FAUDIO_CFLAGS = $FAUDIO_CFLAGS
20026 FAUDIO_LIBS = $FAUDIO_LIBS
20027 CAPI20_CFLAGS = $CAPI20_CFLAGS
20028 CAPI20_LIBS = $CAPI20_LIBS
20029 CUPS_CFLAGS = $CUPS_CFLAGS
20030 CUPS_LIBS = $CUPS_LIBS
20031 FONTCONFIG_CFLAGS = $FONTCONFIG_CFLAGS
20032 FONTCONFIG_LIBS = $FONTCONFIG_LIBS
20033 KRB5_CFLAGS = $KRB5_CFLAGS
20034 KRB5_LIBS = $KRB5_LIBS
20035 GSSAPI_CFLAGS = $GSSAPI_CFLAGS
20036 GSSAPI_LIBS = $GSSAPI_LIBS
20037 JPEG_CFLAGS = $JPEG_CFLAGS
20038 JPEG_LIBS = $JPEG_LIBS
20039 JXRLIB_CFLAGS = $JXRLIB_CFLAGS
20040 JXRLIB_LIBS = $JXRLIB_LIBS
20041 PNG_CFLAGS = $PNG_CFLAGS
20042 PNG_LIBS = $PNG_LIBS
20043 TIFF_CFLAGS = $TIFF_CFLAGS
20044 TIFF_LIBS = $TIFF_LIBS
20045 MPG123_CFLAGS = $MPG123_CFLAGS
20046 MPG123_LIBS = $MPG123_LIBS
20047 KSTAT_LIBS = $KSTAT_LIBS
20048 PROCSTAT_LIBS = $PROCSTAT_LIBS
20049 NETAPI_CFLAGS = $NETAPI_CFLAGS
20050 NETAPI_LIBS = $NETAPI_LIBS
20051 VKD3D_CFLAGS = $VKD3D_CFLAGS
20052 VKD3D_LIBS = $VKD3D_LIBS
20053 VKD3D_SHADER_CFLAGS = $VKD3D_SHADER_CFLAGS
20054 VKD3D_SHADER_LIBS = $VKD3D_SHADER_LIBS
20055 POLL_LIBS = $POLL_LIBS
20056 RT_LIBS = $RT_LIBS
20057 LDAP_CFLAGS = $LDAP_CFLAGS
20058 LDAP_LIBS = $LDAP_LIBS
20062 makedep_flags=""
20063 test "x$enable_silent_rules" = xyes && makedep_flags="$makedep_flags -S"
20066 wine_fn_append_rule "
20067 # Rules automatically generated by configure
20069 .INIT: Makefile
20070 .MAKEFILEDEPS:
20071 all: Makefile
20072 Makefile: $srcdir/Makefile.in config.status \$(MAKEDEP)
20073 @./config.status Make.tmp Makefile
20074 depend: \$(MAKEDEP)
20075 \$(MAKEDEP)$makedep_flags
20076 dummy:
20077 .PHONY: depend dummy"
20079 ac_config_links="$ac_config_links wine:tools/winewrapper"
20080 wine_fn_config_symlink wine
20081 if test "x$enable_win64" != xno -o -n "$with_wine64"; then
20082 ac_config_links="$ac_config_links wine64:tools/winewrapper"
20083 wine_fn_config_symlink wine64
20086 wine_fn_config_makefile dlls/acledit enable_acledit
20087 wine_fn_config_makefile dlls/aclui enable_aclui
20088 wine_fn_config_makefile dlls/activeds.tlb enable_activeds_tlb
20089 wine_fn_config_makefile dlls/activeds enable_activeds
20090 wine_fn_config_makefile dlls/activeds/tests enable_tests
20091 wine_fn_config_makefile dlls/actxprxy enable_actxprxy
20092 wine_fn_config_makefile dlls/adsiid enable_adsiid
20093 wine_fn_config_makefile dlls/adsldp enable_adsldp
20094 wine_fn_config_makefile dlls/adsldp/tests enable_tests
20095 wine_fn_config_makefile dlls/adsldpc enable_adsldpc
20096 wine_fn_config_makefile dlls/advapi32 enable_advapi32
20097 wine_fn_config_makefile dlls/advapi32/tests enable_tests
20098 wine_fn_config_makefile dlls/advpack enable_advpack
20099 wine_fn_config_makefile dlls/advpack/tests enable_tests
20100 wine_fn_config_makefile dlls/amsi enable_amsi
20101 wine_fn_config_makefile dlls/amstream enable_amstream
20102 wine_fn_config_makefile dlls/amstream/tests enable_tests
20103 wine_fn_config_makefile dlls/api-ms-win-appmodel-identity-l1-1-0 enable_api_ms_win_appmodel_identity_l1_1_0
20104 wine_fn_config_makefile dlls/api-ms-win-appmodel-runtime-l1-1-1 enable_api_ms_win_appmodel_runtime_l1_1_1
20105 wine_fn_config_makefile dlls/api-ms-win-appmodel-runtime-l1-1-2 enable_api_ms_win_appmodel_runtime_l1_1_2
20106 wine_fn_config_makefile dlls/api-ms-win-core-apiquery-l1-1-0 enable_api_ms_win_core_apiquery_l1_1_0
20107 wine_fn_config_makefile dlls/api-ms-win-core-appcompat-l1-1-1 enable_api_ms_win_core_appcompat_l1_1_1
20108 wine_fn_config_makefile dlls/api-ms-win-core-appinit-l1-1-0 enable_api_ms_win_core_appinit_l1_1_0
20109 wine_fn_config_makefile dlls/api-ms-win-core-atoms-l1-1-0 enable_api_ms_win_core_atoms_l1_1_0
20110 wine_fn_config_makefile dlls/api-ms-win-core-bem-l1-1-0 enable_api_ms_win_core_bem_l1_1_0
20111 wine_fn_config_makefile dlls/api-ms-win-core-com-l1-1-0 enable_api_ms_win_core_com_l1_1_0
20112 wine_fn_config_makefile dlls/api-ms-win-core-com-l1-1-1 enable_api_ms_win_core_com_l1_1_1
20113 wine_fn_config_makefile dlls/api-ms-win-core-com-private-l1-1-0 enable_api_ms_win_core_com_private_l1_1_0
20114 wine_fn_config_makefile dlls/api-ms-win-core-comm-l1-1-0 enable_api_ms_win_core_comm_l1_1_0
20115 wine_fn_config_makefile dlls/api-ms-win-core-console-l1-1-0 enable_api_ms_win_core_console_l1_1_0
20116 wine_fn_config_makefile dlls/api-ms-win-core-console-l1-2-0 enable_api_ms_win_core_console_l1_2_0
20117 wine_fn_config_makefile dlls/api-ms-win-core-console-l2-1-0 enable_api_ms_win_core_console_l2_1_0
20118 wine_fn_config_makefile dlls/api-ms-win-core-crt-l1-1-0 enable_api_ms_win_core_crt_l1_1_0
20119 wine_fn_config_makefile dlls/api-ms-win-core-crt-l2-1-0 enable_api_ms_win_core_crt_l2_1_0
20120 wine_fn_config_makefile dlls/api-ms-win-core-datetime-l1-1-0 enable_api_ms_win_core_datetime_l1_1_0
20121 wine_fn_config_makefile dlls/api-ms-win-core-datetime-l1-1-1 enable_api_ms_win_core_datetime_l1_1_1
20122 wine_fn_config_makefile dlls/api-ms-win-core-debug-l1-1-0 enable_api_ms_win_core_debug_l1_1_0
20123 wine_fn_config_makefile dlls/api-ms-win-core-debug-l1-1-1 enable_api_ms_win_core_debug_l1_1_1
20124 wine_fn_config_makefile dlls/api-ms-win-core-delayload-l1-1-0 enable_api_ms_win_core_delayload_l1_1_0
20125 wine_fn_config_makefile dlls/api-ms-win-core-delayload-l1-1-1 enable_api_ms_win_core_delayload_l1_1_1
20126 wine_fn_config_makefile dlls/api-ms-win-core-errorhandling-l1-1-0 enable_api_ms_win_core_errorhandling_l1_1_0
20127 wine_fn_config_makefile dlls/api-ms-win-core-errorhandling-l1-1-1 enable_api_ms_win_core_errorhandling_l1_1_1
20128 wine_fn_config_makefile dlls/api-ms-win-core-errorhandling-l1-1-2 enable_api_ms_win_core_errorhandling_l1_1_2
20129 wine_fn_config_makefile dlls/api-ms-win-core-errorhandling-l1-1-3 enable_api_ms_win_core_errorhandling_l1_1_3
20130 wine_fn_config_makefile dlls/api-ms-win-core-fibers-l1-1-0 enable_api_ms_win_core_fibers_l1_1_0
20131 wine_fn_config_makefile dlls/api-ms-win-core-fibers-l1-1-1 enable_api_ms_win_core_fibers_l1_1_1
20132 wine_fn_config_makefile dlls/api-ms-win-core-file-ansi-l2-1-0 enable_api_ms_win_core_file_ansi_l2_1_0
20133 wine_fn_config_makefile dlls/api-ms-win-core-file-fromapp-l1-1-0 enable_api_ms_win_core_file_fromapp_l1_1_0
20134 wine_fn_config_makefile dlls/api-ms-win-core-file-l1-1-0 enable_api_ms_win_core_file_l1_1_0
20135 wine_fn_config_makefile dlls/api-ms-win-core-file-l1-2-0 enable_api_ms_win_core_file_l1_2_0
20136 wine_fn_config_makefile dlls/api-ms-win-core-file-l1-2-1 enable_api_ms_win_core_file_l1_2_1
20137 wine_fn_config_makefile dlls/api-ms-win-core-file-l1-2-2 enable_api_ms_win_core_file_l1_2_2
20138 wine_fn_config_makefile dlls/api-ms-win-core-file-l2-1-0 enable_api_ms_win_core_file_l2_1_0
20139 wine_fn_config_makefile dlls/api-ms-win-core-file-l2-1-1 enable_api_ms_win_core_file_l2_1_1
20140 wine_fn_config_makefile dlls/api-ms-win-core-file-l2-1-2 enable_api_ms_win_core_file_l2_1_2
20141 wine_fn_config_makefile dlls/api-ms-win-core-handle-l1-1-0 enable_api_ms_win_core_handle_l1_1_0
20142 wine_fn_config_makefile dlls/api-ms-win-core-heap-l1-1-0 enable_api_ms_win_core_heap_l1_1_0
20143 wine_fn_config_makefile dlls/api-ms-win-core-heap-l1-2-0 enable_api_ms_win_core_heap_l1_2_0
20144 wine_fn_config_makefile dlls/api-ms-win-core-heap-l2-1-0 enable_api_ms_win_core_heap_l2_1_0
20145 wine_fn_config_makefile dlls/api-ms-win-core-heap-obsolete-l1-1-0 enable_api_ms_win_core_heap_obsolete_l1_1_0
20146 wine_fn_config_makefile dlls/api-ms-win-core-interlocked-l1-1-0 enable_api_ms_win_core_interlocked_l1_1_0
20147 wine_fn_config_makefile dlls/api-ms-win-core-interlocked-l1-2-0 enable_api_ms_win_core_interlocked_l1_2_0
20148 wine_fn_config_makefile dlls/api-ms-win-core-io-l1-1-0 enable_api_ms_win_core_io_l1_1_0
20149 wine_fn_config_makefile dlls/api-ms-win-core-io-l1-1-1 enable_api_ms_win_core_io_l1_1_1
20150 wine_fn_config_makefile dlls/api-ms-win-core-job-l1-1-0 enable_api_ms_win_core_job_l1_1_0
20151 wine_fn_config_makefile dlls/api-ms-win-core-job-l2-1-0 enable_api_ms_win_core_job_l2_1_0
20152 wine_fn_config_makefile dlls/api-ms-win-core-kernel32-legacy-l1-1-0 enable_api_ms_win_core_kernel32_legacy_l1_1_0
20153 wine_fn_config_makefile dlls/api-ms-win-core-kernel32-legacy-l1-1-1 enable_api_ms_win_core_kernel32_legacy_l1_1_1
20154 wine_fn_config_makefile dlls/api-ms-win-core-kernel32-legacy-l1-1-2 enable_api_ms_win_core_kernel32_legacy_l1_1_2
20155 wine_fn_config_makefile dlls/api-ms-win-core-kernel32-private-l1-1-1 enable_api_ms_win_core_kernel32_private_l1_1_1
20156 wine_fn_config_makefile dlls/api-ms-win-core-largeinteger-l1-1-0 enable_api_ms_win_core_largeinteger_l1_1_0
20157 wine_fn_config_makefile dlls/api-ms-win-core-libraryloader-l1-1-0 enable_api_ms_win_core_libraryloader_l1_1_0
20158 wine_fn_config_makefile dlls/api-ms-win-core-libraryloader-l1-1-1 enable_api_ms_win_core_libraryloader_l1_1_1
20159 wine_fn_config_makefile dlls/api-ms-win-core-libraryloader-l1-2-0 enable_api_ms_win_core_libraryloader_l1_2_0
20160 wine_fn_config_makefile dlls/api-ms-win-core-libraryloader-l1-2-1 enable_api_ms_win_core_libraryloader_l1_2_1
20161 wine_fn_config_makefile dlls/api-ms-win-core-libraryloader-l1-2-2 enable_api_ms_win_core_libraryloader_l1_2_2
20162 wine_fn_config_makefile dlls/api-ms-win-core-libraryloader-l2-1-0 enable_api_ms_win_core_libraryloader_l2_1_0
20163 wine_fn_config_makefile dlls/api-ms-win-core-localization-l1-1-0 enable_api_ms_win_core_localization_l1_1_0
20164 wine_fn_config_makefile dlls/api-ms-win-core-localization-l1-2-0 enable_api_ms_win_core_localization_l1_2_0
20165 wine_fn_config_makefile dlls/api-ms-win-core-localization-l1-2-1 enable_api_ms_win_core_localization_l1_2_1
20166 wine_fn_config_makefile dlls/api-ms-win-core-localization-l1-2-2 enable_api_ms_win_core_localization_l1_2_2
20167 wine_fn_config_makefile dlls/api-ms-win-core-localization-l2-1-0 enable_api_ms_win_core_localization_l2_1_0
20168 wine_fn_config_makefile dlls/api-ms-win-core-localization-obsolete-l1-1-0 enable_api_ms_win_core_localization_obsolete_l1_1_0
20169 wine_fn_config_makefile dlls/api-ms-win-core-localization-obsolete-l1-2-0 enable_api_ms_win_core_localization_obsolete_l1_2_0
20170 wine_fn_config_makefile dlls/api-ms-win-core-localization-obsolete-l1-3-0 enable_api_ms_win_core_localization_obsolete_l1_3_0
20171 wine_fn_config_makefile dlls/api-ms-win-core-localization-private-l1-1-0 enable_api_ms_win_core_localization_private_l1_1_0
20172 wine_fn_config_makefile dlls/api-ms-win-core-localregistry-l1-1-0 enable_api_ms_win_core_localregistry_l1_1_0
20173 wine_fn_config_makefile dlls/api-ms-win-core-memory-l1-1-0 enable_api_ms_win_core_memory_l1_1_0
20174 wine_fn_config_makefile dlls/api-ms-win-core-memory-l1-1-1 enable_api_ms_win_core_memory_l1_1_1
20175 wine_fn_config_makefile dlls/api-ms-win-core-memory-l1-1-2 enable_api_ms_win_core_memory_l1_1_2
20176 wine_fn_config_makefile dlls/api-ms-win-core-memory-l1-1-3 enable_api_ms_win_core_memory_l1_1_3
20177 wine_fn_config_makefile dlls/api-ms-win-core-memory-l1-1-4 enable_api_ms_win_core_memory_l1_1_4
20178 wine_fn_config_makefile dlls/api-ms-win-core-misc-l1-1-0 enable_api_ms_win_core_misc_l1_1_0
20179 wine_fn_config_makefile dlls/api-ms-win-core-namedpipe-ansi-l1-1-0 enable_api_ms_win_core_namedpipe_ansi_l1_1_0
20180 wine_fn_config_makefile dlls/api-ms-win-core-namedpipe-l1-1-0 enable_api_ms_win_core_namedpipe_l1_1_0
20181 wine_fn_config_makefile dlls/api-ms-win-core-namedpipe-l1-2-0 enable_api_ms_win_core_namedpipe_l1_2_0
20182 wine_fn_config_makefile dlls/api-ms-win-core-namespace-l1-1-0 enable_api_ms_win_core_namespace_l1_1_0
20183 wine_fn_config_makefile dlls/api-ms-win-core-normalization-l1-1-0 enable_api_ms_win_core_normalization_l1_1_0
20184 wine_fn_config_makefile dlls/api-ms-win-core-path-l1-1-0 enable_api_ms_win_core_path_l1_1_0
20185 wine_fn_config_makefile dlls/api-ms-win-core-privateprofile-l1-1-1 enable_api_ms_win_core_privateprofile_l1_1_1
20186 wine_fn_config_makefile dlls/api-ms-win-core-processenvironment-l1-1-0 enable_api_ms_win_core_processenvironment_l1_1_0
20187 wine_fn_config_makefile dlls/api-ms-win-core-processenvironment-l1-2-0 enable_api_ms_win_core_processenvironment_l1_2_0
20188 wine_fn_config_makefile dlls/api-ms-win-core-processthreads-l1-1-0 enable_api_ms_win_core_processthreads_l1_1_0
20189 wine_fn_config_makefile dlls/api-ms-win-core-processthreads-l1-1-1 enable_api_ms_win_core_processthreads_l1_1_1
20190 wine_fn_config_makefile dlls/api-ms-win-core-processthreads-l1-1-2 enable_api_ms_win_core_processthreads_l1_1_2
20191 wine_fn_config_makefile dlls/api-ms-win-core-processthreads-l1-1-3 enable_api_ms_win_core_processthreads_l1_1_3
20192 wine_fn_config_makefile dlls/api-ms-win-core-processtopology-obsolete-l1-1-0 enable_api_ms_win_core_processtopology_obsolete_l1_1_0
20193 wine_fn_config_makefile dlls/api-ms-win-core-profile-l1-1-0 enable_api_ms_win_core_profile_l1_1_0
20194 wine_fn_config_makefile dlls/api-ms-win-core-psapi-ansi-l1-1-0 enable_api_ms_win_core_psapi_ansi_l1_1_0
20195 wine_fn_config_makefile dlls/api-ms-win-core-psapi-l1-1-0 enable_api_ms_win_core_psapi_l1_1_0
20196 wine_fn_config_makefile dlls/api-ms-win-core-psapi-obsolete-l1-1-0 enable_api_ms_win_core_psapi_obsolete_l1_1_0
20197 wine_fn_config_makefile dlls/api-ms-win-core-quirks-l1-1-0 enable_api_ms_win_core_quirks_l1_1_0
20198 wine_fn_config_makefile dlls/api-ms-win-core-realtime-l1-1-0 enable_api_ms_win_core_realtime_l1_1_0
20199 wine_fn_config_makefile dlls/api-ms-win-core-registry-l1-1-0 enable_api_ms_win_core_registry_l1_1_0
20200 wine_fn_config_makefile dlls/api-ms-win-core-registry-l2-1-0 enable_api_ms_win_core_registry_l2_1_0
20201 wine_fn_config_makefile dlls/api-ms-win-core-registry-l2-2-0 enable_api_ms_win_core_registry_l2_2_0
20202 wine_fn_config_makefile dlls/api-ms-win-core-registryuserspecific-l1-1-0 enable_api_ms_win_core_registryuserspecific_l1_1_0
20203 wine_fn_config_makefile dlls/api-ms-win-core-rtlsupport-l1-1-0 enable_api_ms_win_core_rtlsupport_l1_1_0
20204 wine_fn_config_makefile dlls/api-ms-win-core-rtlsupport-l1-2-0 enable_api_ms_win_core_rtlsupport_l1_2_0
20205 wine_fn_config_makefile dlls/api-ms-win-core-shlwapi-legacy-l1-1-0 enable_api_ms_win_core_shlwapi_legacy_l1_1_0
20206 wine_fn_config_makefile dlls/api-ms-win-core-shlwapi-obsolete-l1-1-0 enable_api_ms_win_core_shlwapi_obsolete_l1_1_0
20207 wine_fn_config_makefile dlls/api-ms-win-core-shlwapi-obsolete-l1-2-0 enable_api_ms_win_core_shlwapi_obsolete_l1_2_0
20208 wine_fn_config_makefile dlls/api-ms-win-core-shutdown-l1-1-0 enable_api_ms_win_core_shutdown_l1_1_0
20209 wine_fn_config_makefile dlls/api-ms-win-core-sidebyside-l1-1-0 enable_api_ms_win_core_sidebyside_l1_1_0
20210 wine_fn_config_makefile dlls/api-ms-win-core-string-l1-1-0 enable_api_ms_win_core_string_l1_1_0
20211 wine_fn_config_makefile dlls/api-ms-win-core-string-l2-1-0 enable_api_ms_win_core_string_l2_1_0
20212 wine_fn_config_makefile dlls/api-ms-win-core-string-obsolete-l1-1-0 enable_api_ms_win_core_string_obsolete_l1_1_0
20213 wine_fn_config_makefile dlls/api-ms-win-core-stringansi-l1-1-0 enable_api_ms_win_core_stringansi_l1_1_0
20214 wine_fn_config_makefile dlls/api-ms-win-core-stringloader-l1-1-1 enable_api_ms_win_core_stringloader_l1_1_1
20215 wine_fn_config_makefile dlls/api-ms-win-core-synch-ansi-l1-1-0 enable_api_ms_win_core_synch_ansi_l1_1_0
20216 wine_fn_config_makefile dlls/api-ms-win-core-synch-l1-1-0 enable_api_ms_win_core_synch_l1_1_0
20217 wine_fn_config_makefile dlls/api-ms-win-core-synch-l1-2-0 enable_api_ms_win_core_synch_l1_2_0
20218 wine_fn_config_makefile dlls/api-ms-win-core-synch-l1-2-1 enable_api_ms_win_core_synch_l1_2_1
20219 wine_fn_config_makefile dlls/api-ms-win-core-sysinfo-l1-1-0 enable_api_ms_win_core_sysinfo_l1_1_0
20220 wine_fn_config_makefile dlls/api-ms-win-core-sysinfo-l1-2-0 enable_api_ms_win_core_sysinfo_l1_2_0
20221 wine_fn_config_makefile dlls/api-ms-win-core-sysinfo-l1-2-1 enable_api_ms_win_core_sysinfo_l1_2_1
20222 wine_fn_config_makefile dlls/api-ms-win-core-systemtopology-l1-1-0 enable_api_ms_win_core_systemtopology_l1_1_0
20223 wine_fn_config_makefile dlls/api-ms-win-core-threadpool-l1-1-0 enable_api_ms_win_core_threadpool_l1_1_0
20224 wine_fn_config_makefile dlls/api-ms-win-core-threadpool-l1-2-0 enable_api_ms_win_core_threadpool_l1_2_0
20225 wine_fn_config_makefile dlls/api-ms-win-core-threadpool-legacy-l1-1-0 enable_api_ms_win_core_threadpool_legacy_l1_1_0
20226 wine_fn_config_makefile dlls/api-ms-win-core-threadpool-private-l1-1-0 enable_api_ms_win_core_threadpool_private_l1_1_0
20227 wine_fn_config_makefile dlls/api-ms-win-core-timezone-l1-1-0 enable_api_ms_win_core_timezone_l1_1_0
20228 wine_fn_config_makefile dlls/api-ms-win-core-toolhelp-l1-1-0 enable_api_ms_win_core_toolhelp_l1_1_0
20229 wine_fn_config_makefile dlls/api-ms-win-core-url-l1-1-0 enable_api_ms_win_core_url_l1_1_0
20230 wine_fn_config_makefile dlls/api-ms-win-core-util-l1-1-0 enable_api_ms_win_core_util_l1_1_0
20231 wine_fn_config_makefile dlls/api-ms-win-core-version-l1-1-0 enable_api_ms_win_core_version_l1_1_0
20232 wine_fn_config_makefile dlls/api-ms-win-core-version-l1-1-1 enable_api_ms_win_core_version_l1_1_1
20233 wine_fn_config_makefile dlls/api-ms-win-core-version-private-l1-1-0 enable_api_ms_win_core_version_private_l1_1_0
20234 wine_fn_config_makefile dlls/api-ms-win-core-versionansi-l1-1-0 enable_api_ms_win_core_versionansi_l1_1_0
20235 wine_fn_config_makefile dlls/api-ms-win-core-windowserrorreporting-l1-1-0 enable_api_ms_win_core_windowserrorreporting_l1_1_0
20236 wine_fn_config_makefile dlls/api-ms-win-core-winrt-error-l1-1-0 enable_api_ms_win_core_winrt_error_l1_1_0
20237 wine_fn_config_makefile dlls/api-ms-win-core-winrt-error-l1-1-1 enable_api_ms_win_core_winrt_error_l1_1_1
20238 wine_fn_config_makefile dlls/api-ms-win-core-winrt-errorprivate-l1-1-1 enable_api_ms_win_core_winrt_errorprivate_l1_1_1
20239 wine_fn_config_makefile dlls/api-ms-win-core-winrt-l1-1-0 enable_api_ms_win_core_winrt_l1_1_0
20240 wine_fn_config_makefile dlls/api-ms-win-core-winrt-registration-l1-1-0 enable_api_ms_win_core_winrt_registration_l1_1_0
20241 wine_fn_config_makefile dlls/api-ms-win-core-winrt-roparameterizediid-l1-1-0 enable_api_ms_win_core_winrt_roparameterizediid_l1_1_0
20242 wine_fn_config_makefile dlls/api-ms-win-core-winrt-string-l1-1-0 enable_api_ms_win_core_winrt_string_l1_1_0
20243 wine_fn_config_makefile dlls/api-ms-win-core-winrt-string-l1-1-1 enable_api_ms_win_core_winrt_string_l1_1_1
20244 wine_fn_config_makefile dlls/api-ms-win-core-wow64-l1-1-0 enable_api_ms_win_core_wow64_l1_1_0
20245 wine_fn_config_makefile dlls/api-ms-win-core-wow64-l1-1-1 enable_api_ms_win_core_wow64_l1_1_1
20246 wine_fn_config_makefile dlls/api-ms-win-core-xstate-l1-1-0 enable_api_ms_win_core_xstate_l1_1_0
20247 wine_fn_config_makefile dlls/api-ms-win-core-xstate-l2-1-0 enable_api_ms_win_core_xstate_l2_1_0
20248 wine_fn_config_makefile dlls/api-ms-win-crt-conio-l1-1-0 enable_api_ms_win_crt_conio_l1_1_0
20249 wine_fn_config_makefile dlls/api-ms-win-crt-convert-l1-1-0 enable_api_ms_win_crt_convert_l1_1_0
20250 wine_fn_config_makefile dlls/api-ms-win-crt-environment-l1-1-0 enable_api_ms_win_crt_environment_l1_1_0
20251 wine_fn_config_makefile dlls/api-ms-win-crt-filesystem-l1-1-0 enable_api_ms_win_crt_filesystem_l1_1_0
20252 wine_fn_config_makefile dlls/api-ms-win-crt-heap-l1-1-0 enable_api_ms_win_crt_heap_l1_1_0
20253 wine_fn_config_makefile dlls/api-ms-win-crt-locale-l1-1-0 enable_api_ms_win_crt_locale_l1_1_0
20254 wine_fn_config_makefile dlls/api-ms-win-crt-math-l1-1-0 enable_api_ms_win_crt_math_l1_1_0
20255 wine_fn_config_makefile dlls/api-ms-win-crt-multibyte-l1-1-0 enable_api_ms_win_crt_multibyte_l1_1_0
20256 wine_fn_config_makefile dlls/api-ms-win-crt-private-l1-1-0 enable_api_ms_win_crt_private_l1_1_0
20257 wine_fn_config_makefile dlls/api-ms-win-crt-process-l1-1-0 enable_api_ms_win_crt_process_l1_1_0
20258 wine_fn_config_makefile dlls/api-ms-win-crt-runtime-l1-1-0 enable_api_ms_win_crt_runtime_l1_1_0
20259 wine_fn_config_makefile dlls/api-ms-win-crt-stdio-l1-1-0 enable_api_ms_win_crt_stdio_l1_1_0
20260 wine_fn_config_makefile dlls/api-ms-win-crt-string-l1-1-0 enable_api_ms_win_crt_string_l1_1_0
20261 wine_fn_config_makefile dlls/api-ms-win-crt-time-l1-1-0 enable_api_ms_win_crt_time_l1_1_0
20262 wine_fn_config_makefile dlls/api-ms-win-crt-utility-l1-1-0 enable_api_ms_win_crt_utility_l1_1_0
20263 wine_fn_config_makefile dlls/api-ms-win-devices-config-l1-1-0 enable_api_ms_win_devices_config_l1_1_0
20264 wine_fn_config_makefile dlls/api-ms-win-devices-config-l1-1-1 enable_api_ms_win_devices_config_l1_1_1
20265 wine_fn_config_makefile dlls/api-ms-win-devices-query-l1-1-1 enable_api_ms_win_devices_query_l1_1_1
20266 wine_fn_config_makefile dlls/api-ms-win-downlevel-advapi32-l1-1-0 enable_api_ms_win_downlevel_advapi32_l1_1_0
20267 wine_fn_config_makefile dlls/api-ms-win-downlevel-advapi32-l2-1-0 enable_api_ms_win_downlevel_advapi32_l2_1_0
20268 wine_fn_config_makefile dlls/api-ms-win-downlevel-kernel32-l2-1-0 enable_api_ms_win_downlevel_kernel32_l2_1_0
20269 wine_fn_config_makefile dlls/api-ms-win-downlevel-normaliz-l1-1-0 enable_api_ms_win_downlevel_normaliz_l1_1_0
20270 wine_fn_config_makefile dlls/api-ms-win-downlevel-ole32-l1-1-0 enable_api_ms_win_downlevel_ole32_l1_1_0
20271 wine_fn_config_makefile dlls/api-ms-win-downlevel-shell32-l1-1-0 enable_api_ms_win_downlevel_shell32_l1_1_0
20272 wine_fn_config_makefile dlls/api-ms-win-downlevel-shlwapi-l1-1-0 enable_api_ms_win_downlevel_shlwapi_l1_1_0
20273 wine_fn_config_makefile dlls/api-ms-win-downlevel-shlwapi-l2-1-0 enable_api_ms_win_downlevel_shlwapi_l2_1_0
20274 wine_fn_config_makefile dlls/api-ms-win-downlevel-user32-l1-1-0 enable_api_ms_win_downlevel_user32_l1_1_0
20275 wine_fn_config_makefile dlls/api-ms-win-downlevel-version-l1-1-0 enable_api_ms_win_downlevel_version_l1_1_0
20276 wine_fn_config_makefile dlls/api-ms-win-dx-d3dkmt-l1-1-0 enable_api_ms_win_dx_d3dkmt_l1_1_0
20277 wine_fn_config_makefile dlls/api-ms-win-eventing-classicprovider-l1-1-0 enable_api_ms_win_eventing_classicprovider_l1_1_0
20278 wine_fn_config_makefile dlls/api-ms-win-eventing-consumer-l1-1-0 enable_api_ms_win_eventing_consumer_l1_1_0
20279 wine_fn_config_makefile dlls/api-ms-win-eventing-controller-l1-1-0 enable_api_ms_win_eventing_controller_l1_1_0
20280 wine_fn_config_makefile dlls/api-ms-win-eventing-legacy-l1-1-0 enable_api_ms_win_eventing_legacy_l1_1_0
20281 wine_fn_config_makefile dlls/api-ms-win-eventing-provider-l1-1-0 enable_api_ms_win_eventing_provider_l1_1_0
20282 wine_fn_config_makefile dlls/api-ms-win-eventlog-legacy-l1-1-0 enable_api_ms_win_eventlog_legacy_l1_1_0
20283 wine_fn_config_makefile dlls/api-ms-win-gaming-tcui-l1-1-0 enable_api_ms_win_gaming_tcui_l1_1_0
20284 wine_fn_config_makefile dlls/api-ms-win-gdi-dpiinfo-l1-1-0 enable_api_ms_win_gdi_dpiinfo_l1_1_0
20285 wine_fn_config_makefile dlls/api-ms-win-mm-joystick-l1-1-0 enable_api_ms_win_mm_joystick_l1_1_0
20286 wine_fn_config_makefile dlls/api-ms-win-mm-misc-l1-1-1 enable_api_ms_win_mm_misc_l1_1_1
20287 wine_fn_config_makefile dlls/api-ms-win-mm-mme-l1-1-0 enable_api_ms_win_mm_mme_l1_1_0
20288 wine_fn_config_makefile dlls/api-ms-win-mm-time-l1-1-0 enable_api_ms_win_mm_time_l1_1_0
20289 wine_fn_config_makefile dlls/api-ms-win-ntuser-dc-access-l1-1-0 enable_api_ms_win_ntuser_dc_access_l1_1_0
20290 wine_fn_config_makefile dlls/api-ms-win-ntuser-rectangle-l1-1-0 enable_api_ms_win_ntuser_rectangle_l1_1_0
20291 wine_fn_config_makefile dlls/api-ms-win-ntuser-sysparams-l1-1-0 enable_api_ms_win_ntuser_sysparams_l1_1_0
20292 wine_fn_config_makefile dlls/api-ms-win-perf-legacy-l1-1-0 enable_api_ms_win_perf_legacy_l1_1_0
20293 wine_fn_config_makefile dlls/api-ms-win-power-base-l1-1-0 enable_api_ms_win_power_base_l1_1_0
20294 wine_fn_config_makefile dlls/api-ms-win-power-setting-l1-1-0 enable_api_ms_win_power_setting_l1_1_0
20295 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-draw-l1-1-0 enable_api_ms_win_rtcore_ntuser_draw_l1_1_0
20296 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-private-l1-1-0 enable_api_ms_win_rtcore_ntuser_private_l1_1_0
20297 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-private-l1-1-4 enable_api_ms_win_rtcore_ntuser_private_l1_1_4
20298 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-window-l1-1-0 enable_api_ms_win_rtcore_ntuser_window_l1_1_0
20299 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-winevent-l1-1-0 enable_api_ms_win_rtcore_ntuser_winevent_l1_1_0
20300 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-wmpointer-l1-1-0 enable_api_ms_win_rtcore_ntuser_wmpointer_l1_1_0
20301 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-wmpointer-l1-1-3 enable_api_ms_win_rtcore_ntuser_wmpointer_l1_1_3
20302 wine_fn_config_makefile dlls/api-ms-win-security-activedirectoryclient-l1-1-0 enable_api_ms_win_security_activedirectoryclient_l1_1_0
20303 wine_fn_config_makefile dlls/api-ms-win-security-audit-l1-1-1 enable_api_ms_win_security_audit_l1_1_1
20304 wine_fn_config_makefile dlls/api-ms-win-security-base-l1-1-0 enable_api_ms_win_security_base_l1_1_0
20305 wine_fn_config_makefile dlls/api-ms-win-security-base-l1-2-0 enable_api_ms_win_security_base_l1_2_0
20306 wine_fn_config_makefile dlls/api-ms-win-security-base-private-l1-1-1 enable_api_ms_win_security_base_private_l1_1_1
20307 wine_fn_config_makefile dlls/api-ms-win-security-credentials-l1-1-0 enable_api_ms_win_security_credentials_l1_1_0
20308 wine_fn_config_makefile dlls/api-ms-win-security-cryptoapi-l1-1-0 enable_api_ms_win_security_cryptoapi_l1_1_0
20309 wine_fn_config_makefile dlls/api-ms-win-security-grouppolicy-l1-1-0 enable_api_ms_win_security_grouppolicy_l1_1_0
20310 wine_fn_config_makefile dlls/api-ms-win-security-lsalookup-l1-1-0 enable_api_ms_win_security_lsalookup_l1_1_0
20311 wine_fn_config_makefile dlls/api-ms-win-security-lsalookup-l1-1-1 enable_api_ms_win_security_lsalookup_l1_1_1
20312 wine_fn_config_makefile dlls/api-ms-win-security-lsalookup-l2-1-0 enable_api_ms_win_security_lsalookup_l2_1_0
20313 wine_fn_config_makefile dlls/api-ms-win-security-lsalookup-l2-1-1 enable_api_ms_win_security_lsalookup_l2_1_1
20314 wine_fn_config_makefile dlls/api-ms-win-security-lsapolicy-l1-1-0 enable_api_ms_win_security_lsapolicy_l1_1_0
20315 wine_fn_config_makefile dlls/api-ms-win-security-provider-l1-1-0 enable_api_ms_win_security_provider_l1_1_0
20316 wine_fn_config_makefile dlls/api-ms-win-security-sddl-l1-1-0 enable_api_ms_win_security_sddl_l1_1_0
20317 wine_fn_config_makefile dlls/api-ms-win-security-systemfunctions-l1-1-0 enable_api_ms_win_security_systemfunctions_l1_1_0
20318 wine_fn_config_makefile dlls/api-ms-win-service-core-l1-1-0 enable_api_ms_win_service_core_l1_1_0
20319 wine_fn_config_makefile dlls/api-ms-win-service-core-l1-1-1 enable_api_ms_win_service_core_l1_1_1
20320 wine_fn_config_makefile dlls/api-ms-win-service-management-l1-1-0 enable_api_ms_win_service_management_l1_1_0
20321 wine_fn_config_makefile dlls/api-ms-win-service-management-l2-1-0 enable_api_ms_win_service_management_l2_1_0
20322 wine_fn_config_makefile dlls/api-ms-win-service-private-l1-1-1 enable_api_ms_win_service_private_l1_1_1
20323 wine_fn_config_makefile dlls/api-ms-win-service-winsvc-l1-1-0 enable_api_ms_win_service_winsvc_l1_1_0
20324 wine_fn_config_makefile dlls/api-ms-win-service-winsvc-l1-2-0 enable_api_ms_win_service_winsvc_l1_2_0
20325 wine_fn_config_makefile dlls/api-ms-win-shcore-obsolete-l1-1-0 enable_api_ms_win_shcore_obsolete_l1_1_0
20326 wine_fn_config_makefile dlls/api-ms-win-shcore-scaling-l1-1-0 enable_api_ms_win_shcore_scaling_l1_1_0
20327 wine_fn_config_makefile dlls/api-ms-win-shcore-scaling-l1-1-1 enable_api_ms_win_shcore_scaling_l1_1_1
20328 wine_fn_config_makefile dlls/api-ms-win-shcore-stream-l1-1-0 enable_api_ms_win_shcore_stream_l1_1_0
20329 wine_fn_config_makefile dlls/api-ms-win-shcore-stream-winrt-l1-1-0 enable_api_ms_win_shcore_stream_winrt_l1_1_0
20330 wine_fn_config_makefile dlls/api-ms-win-shcore-thread-l1-1-0 enable_api_ms_win_shcore_thread_l1_1_0
20331 wine_fn_config_makefile dlls/api-ms-win-shell-shellcom-l1-1-0 enable_api_ms_win_shell_shellcom_l1_1_0
20332 wine_fn_config_makefile dlls/api-ms-win-shell-shellfolders-l1-1-0 enable_api_ms_win_shell_shellfolders_l1_1_0
20333 wine_fn_config_makefile dlls/apphelp enable_apphelp
20334 wine_fn_config_makefile dlls/apphelp/tests enable_tests
20335 wine_fn_config_makefile dlls/appwiz.cpl enable_appwiz_cpl
20336 wine_fn_config_makefile dlls/atl enable_atl
20337 wine_fn_config_makefile dlls/atl/tests enable_tests
20338 wine_fn_config_makefile dlls/atl100 enable_atl100
20339 wine_fn_config_makefile dlls/atl100/tests enable_tests
20340 wine_fn_config_makefile dlls/atl110 enable_atl110
20341 wine_fn_config_makefile dlls/atl80 enable_atl80
20342 wine_fn_config_makefile dlls/atl80/tests enable_tests
20343 wine_fn_config_makefile dlls/atl90 enable_atl90
20344 wine_fn_config_makefile dlls/atlthunk enable_atlthunk
20345 wine_fn_config_makefile dlls/atlthunk/tests enable_tests
20346 wine_fn_config_makefile dlls/atmlib enable_atmlib
20347 wine_fn_config_makefile dlls/authz enable_authz
20348 wine_fn_config_makefile dlls/avicap32 enable_avicap32
20349 wine_fn_config_makefile dlls/avifil32 enable_avifil32
20350 wine_fn_config_makefile dlls/avifil32/tests enable_tests
20351 wine_fn_config_makefile dlls/avifile.dll16 enable_win16
20352 wine_fn_config_makefile dlls/avrt enable_avrt
20353 wine_fn_config_makefile dlls/bcrypt enable_bcrypt
20354 wine_fn_config_makefile dlls/bcrypt/tests enable_tests
20355 wine_fn_config_makefile dlls/bluetoothapis enable_bluetoothapis
20356 wine_fn_config_makefile dlls/browseui enable_browseui
20357 wine_fn_config_makefile dlls/browseui/tests enable_tests
20358 wine_fn_config_makefile dlls/bthprops.cpl enable_bthprops_cpl
20359 wine_fn_config_makefile dlls/cabinet enable_cabinet
20360 wine_fn_config_makefile dlls/cabinet/tests enable_tests
20361 wine_fn_config_makefile dlls/capi2032 enable_capi2032
20362 wine_fn_config_makefile dlls/cards enable_cards
20363 wine_fn_config_makefile dlls/cdosys enable_cdosys
20364 wine_fn_config_makefile dlls/cfgmgr32 enable_cfgmgr32
20365 wine_fn_config_makefile dlls/clusapi enable_clusapi
20366 wine_fn_config_makefile dlls/combase enable_combase
20367 wine_fn_config_makefile dlls/combase/tests enable_tests
20368 wine_fn_config_makefile dlls/comcat enable_comcat
20369 wine_fn_config_makefile dlls/comcat/tests enable_tests
20370 wine_fn_config_makefile dlls/comctl32 enable_comctl32
20371 wine_fn_config_makefile dlls/comctl32/tests enable_tests
20372 wine_fn_config_makefile dlls/comdlg32 enable_comdlg32
20373 wine_fn_config_makefile dlls/comdlg32/tests enable_tests
20374 wine_fn_config_makefile dlls/comm.drv16 enable_win16
20375 wine_fn_config_makefile dlls/commdlg.dll16 enable_win16
20376 wine_fn_config_makefile dlls/compobj.dll16 enable_win16
20377 wine_fn_config_makefile dlls/compstui enable_compstui
20378 wine_fn_config_makefile dlls/comsvcs enable_comsvcs
20379 wine_fn_config_makefile dlls/comsvcs/tests enable_tests
20380 wine_fn_config_makefile dlls/concrt140 enable_concrt140
20381 wine_fn_config_makefile dlls/concrt140/tests enable_tests
20382 wine_fn_config_makefile dlls/connect enable_connect
20383 wine_fn_config_makefile dlls/credui enable_credui
20384 wine_fn_config_makefile dlls/credui/tests enable_tests
20385 wine_fn_config_makefile dlls/crtdll enable_crtdll
20386 wine_fn_config_makefile dlls/crypt32 enable_crypt32
20387 wine_fn_config_makefile dlls/crypt32/tests enable_tests
20388 wine_fn_config_makefile dlls/cryptdlg enable_cryptdlg
20389 wine_fn_config_makefile dlls/cryptdll enable_cryptdll
20390 wine_fn_config_makefile dlls/cryptext enable_cryptext
20391 wine_fn_config_makefile dlls/cryptnet enable_cryptnet
20392 wine_fn_config_makefile dlls/cryptnet/tests enable_tests
20393 wine_fn_config_makefile dlls/cryptsp enable_cryptsp
20394 wine_fn_config_makefile dlls/cryptui enable_cryptui
20395 wine_fn_config_makefile dlls/cryptui/tests enable_tests
20396 wine_fn_config_makefile dlls/ctapi32 enable_ctapi32
20397 wine_fn_config_makefile dlls/ctl3d.dll16 enable_win16
20398 wine_fn_config_makefile dlls/ctl3d32 enable_ctl3d32
20399 wine_fn_config_makefile dlls/ctl3dv2.dll16 enable_win16
20400 wine_fn_config_makefile dlls/d2d1 enable_d2d1
20401 wine_fn_config_makefile dlls/d2d1/tests enable_tests
20402 wine_fn_config_makefile dlls/d3d10 enable_d3d10
20403 wine_fn_config_makefile dlls/d3d10/tests enable_tests
20404 wine_fn_config_makefile dlls/d3d10_1 enable_d3d10_1
20405 wine_fn_config_makefile dlls/d3d10_1/tests enable_tests
20406 wine_fn_config_makefile dlls/d3d10core enable_d3d10core
20407 wine_fn_config_makefile dlls/d3d10core/tests enable_tests
20408 wine_fn_config_makefile dlls/d3d11 enable_d3d11
20409 wine_fn_config_makefile dlls/d3d11/tests enable_tests
20410 wine_fn_config_makefile dlls/d3d12 enable_d3d12
20411 wine_fn_config_makefile dlls/d3d12/tests enable_tests
20412 wine_fn_config_makefile dlls/d3d8 enable_d3d8
20413 wine_fn_config_makefile dlls/d3d8/tests enable_tests
20414 wine_fn_config_makefile dlls/d3d8thk enable_d3d8thk
20415 wine_fn_config_makefile dlls/d3d9 enable_d3d9
20416 wine_fn_config_makefile dlls/d3d9/tests enable_tests
20417 wine_fn_config_makefile dlls/d3dcompiler_33 enable_d3dcompiler_33
20418 wine_fn_config_makefile dlls/d3dcompiler_34 enable_d3dcompiler_34
20419 wine_fn_config_makefile dlls/d3dcompiler_35 enable_d3dcompiler_35
20420 wine_fn_config_makefile dlls/d3dcompiler_36 enable_d3dcompiler_36
20421 wine_fn_config_makefile dlls/d3dcompiler_37 enable_d3dcompiler_37
20422 wine_fn_config_makefile dlls/d3dcompiler_38 enable_d3dcompiler_38
20423 wine_fn_config_makefile dlls/d3dcompiler_39 enable_d3dcompiler_39
20424 wine_fn_config_makefile dlls/d3dcompiler_40 enable_d3dcompiler_40
20425 wine_fn_config_makefile dlls/d3dcompiler_41 enable_d3dcompiler_41
20426 wine_fn_config_makefile dlls/d3dcompiler_42 enable_d3dcompiler_42
20427 wine_fn_config_makefile dlls/d3dcompiler_43 enable_d3dcompiler_43
20428 wine_fn_config_makefile dlls/d3dcompiler_43/tests enable_tests
20429 wine_fn_config_makefile dlls/d3dcompiler_46 enable_d3dcompiler_46
20430 wine_fn_config_makefile dlls/d3dcompiler_47 enable_d3dcompiler_47
20431 wine_fn_config_makefile dlls/d3dcompiler_47/tests enable_tests
20432 wine_fn_config_makefile dlls/d3dim enable_d3dim
20433 wine_fn_config_makefile dlls/d3dim700 enable_d3dim700
20434 wine_fn_config_makefile dlls/d3drm enable_d3drm
20435 wine_fn_config_makefile dlls/d3drm/tests enable_tests
20436 wine_fn_config_makefile dlls/d3dx10_33 enable_d3dx10_33
20437 wine_fn_config_makefile dlls/d3dx10_34 enable_d3dx10_34
20438 wine_fn_config_makefile dlls/d3dx10_35 enable_d3dx10_35
20439 wine_fn_config_makefile dlls/d3dx10_36 enable_d3dx10_36
20440 wine_fn_config_makefile dlls/d3dx10_37 enable_d3dx10_37
20441 wine_fn_config_makefile dlls/d3dx10_38 enable_d3dx10_38
20442 wine_fn_config_makefile dlls/d3dx10_39 enable_d3dx10_39
20443 wine_fn_config_makefile dlls/d3dx10_40 enable_d3dx10_40
20444 wine_fn_config_makefile dlls/d3dx10_41 enable_d3dx10_41
20445 wine_fn_config_makefile dlls/d3dx10_42 enable_d3dx10_42
20446 wine_fn_config_makefile dlls/d3dx10_43 enable_d3dx10_43
20447 wine_fn_config_makefile dlls/d3dx10_43/tests enable_tests
20448 wine_fn_config_makefile dlls/d3dx11_42 enable_d3dx11_42
20449 wine_fn_config_makefile dlls/d3dx11_43 enable_d3dx11_43
20450 wine_fn_config_makefile dlls/d3dx11_43/tests enable_tests
20451 wine_fn_config_makefile dlls/d3dx9_24 enable_d3dx9_24
20452 wine_fn_config_makefile dlls/d3dx9_25 enable_d3dx9_25
20453 wine_fn_config_makefile dlls/d3dx9_26 enable_d3dx9_26
20454 wine_fn_config_makefile dlls/d3dx9_27 enable_d3dx9_27
20455 wine_fn_config_makefile dlls/d3dx9_28 enable_d3dx9_28
20456 wine_fn_config_makefile dlls/d3dx9_29 enable_d3dx9_29
20457 wine_fn_config_makefile dlls/d3dx9_30 enable_d3dx9_30
20458 wine_fn_config_makefile dlls/d3dx9_31 enable_d3dx9_31
20459 wine_fn_config_makefile dlls/d3dx9_32 enable_d3dx9_32
20460 wine_fn_config_makefile dlls/d3dx9_33 enable_d3dx9_33
20461 wine_fn_config_makefile dlls/d3dx9_34 enable_d3dx9_34
20462 wine_fn_config_makefile dlls/d3dx9_35 enable_d3dx9_35
20463 wine_fn_config_makefile dlls/d3dx9_36 enable_d3dx9_36
20464 wine_fn_config_makefile dlls/d3dx9_36/tests enable_tests
20465 wine_fn_config_makefile dlls/d3dx9_37 enable_d3dx9_37
20466 wine_fn_config_makefile dlls/d3dx9_38 enable_d3dx9_38
20467 wine_fn_config_makefile dlls/d3dx9_39 enable_d3dx9_39
20468 wine_fn_config_makefile dlls/d3dx9_40 enable_d3dx9_40
20469 wine_fn_config_makefile dlls/d3dx9_41 enable_d3dx9_41
20470 wine_fn_config_makefile dlls/d3dx9_42 enable_d3dx9_42
20471 wine_fn_config_makefile dlls/d3dx9_43 enable_d3dx9_43
20472 wine_fn_config_makefile dlls/d3dxof enable_d3dxof
20473 wine_fn_config_makefile dlls/d3dxof/tests enable_tests
20474 wine_fn_config_makefile dlls/davclnt enable_davclnt
20475 wine_fn_config_makefile dlls/dbgeng enable_dbgeng
20476 wine_fn_config_makefile dlls/dbgeng/tests enable_tests
20477 wine_fn_config_makefile dlls/dbghelp enable_dbghelp
20478 wine_fn_config_makefile dlls/dbghelp/tests enable_tests
20479 wine_fn_config_makefile dlls/dciman32 enable_dciman32
20480 wine_fn_config_makefile dlls/dcomp enable_dcomp
20481 wine_fn_config_makefile dlls/ddeml.dll16 enable_win16
20482 wine_fn_config_makefile dlls/ddraw enable_ddraw
20483 wine_fn_config_makefile dlls/ddraw/tests enable_tests
20484 wine_fn_config_makefile dlls/ddrawex enable_ddrawex
20485 wine_fn_config_makefile dlls/ddrawex/tests enable_tests
20486 wine_fn_config_makefile dlls/devenum enable_devenum
20487 wine_fn_config_makefile dlls/devenum/tests enable_tests
20488 wine_fn_config_makefile dlls/dhcpcsvc enable_dhcpcsvc
20489 wine_fn_config_makefile dlls/dhcpcsvc/tests enable_tests
20490 wine_fn_config_makefile dlls/dhtmled.ocx enable_dhtmled_ocx
20491 wine_fn_config_makefile dlls/difxapi enable_difxapi
20492 wine_fn_config_makefile dlls/dinput enable_dinput
20493 wine_fn_config_makefile dlls/dinput/tests enable_tests
20494 wine_fn_config_makefile dlls/dinput8 enable_dinput8
20495 wine_fn_config_makefile dlls/dinput8/tests enable_tests
20496 wine_fn_config_makefile dlls/directmanipulation enable_directmanipulation
20497 wine_fn_config_makefile dlls/directmanipulation/tests enable_tests
20498 wine_fn_config_makefile dlls/dispdib.dll16 enable_win16
20499 wine_fn_config_makefile dlls/dispex enable_dispex
20500 wine_fn_config_makefile dlls/dispex/tests enable_tests
20501 wine_fn_config_makefile dlls/display.drv16 enable_win16
20502 wine_fn_config_makefile dlls/dmband enable_dmband
20503 wine_fn_config_makefile dlls/dmband/tests enable_tests
20504 wine_fn_config_makefile dlls/dmcompos enable_dmcompos
20505 wine_fn_config_makefile dlls/dmcompos/tests enable_tests
20506 wine_fn_config_makefile dlls/dmime enable_dmime
20507 wine_fn_config_makefile dlls/dmime/tests enable_tests
20508 wine_fn_config_makefile dlls/dmloader enable_dmloader
20509 wine_fn_config_makefile dlls/dmloader/tests enable_tests
20510 wine_fn_config_makefile dlls/dmoguids enable_dmoguids
20511 wine_fn_config_makefile dlls/dmscript enable_dmscript
20512 wine_fn_config_makefile dlls/dmscript/tests enable_tests
20513 wine_fn_config_makefile dlls/dmstyle enable_dmstyle
20514 wine_fn_config_makefile dlls/dmstyle/tests enable_tests
20515 wine_fn_config_makefile dlls/dmsynth enable_dmsynth
20516 wine_fn_config_makefile dlls/dmsynth/tests enable_tests
20517 wine_fn_config_makefile dlls/dmusic enable_dmusic
20518 wine_fn_config_makefile dlls/dmusic/tests enable_tests
20519 wine_fn_config_makefile dlls/dmusic32 enable_dmusic32
20520 wine_fn_config_makefile dlls/dnsapi enable_dnsapi
20521 wine_fn_config_makefile dlls/dnsapi/tests enable_tests
20522 wine_fn_config_makefile dlls/dplay enable_dplay
20523 wine_fn_config_makefile dlls/dplayx enable_dplayx
20524 wine_fn_config_makefile dlls/dplayx/tests enable_tests
20525 wine_fn_config_makefile dlls/dpnaddr enable_dpnaddr
20526 wine_fn_config_makefile dlls/dpnet enable_dpnet
20527 wine_fn_config_makefile dlls/dpnet/tests enable_tests
20528 wine_fn_config_makefile dlls/dpnhpast enable_dpnhpast
20529 wine_fn_config_makefile dlls/dpnlobby enable_dpnlobby
20530 wine_fn_config_makefile dlls/dpvoice enable_dpvoice
20531 wine_fn_config_makefile dlls/dpvoice/tests enable_tests
20532 wine_fn_config_makefile dlls/dpwsockx enable_dpwsockx
20533 wine_fn_config_makefile dlls/drmclien enable_drmclien
20534 wine_fn_config_makefile dlls/dsdmo enable_dsdmo
20535 wine_fn_config_makefile dlls/dsdmo/tests enable_tests
20536 wine_fn_config_makefile dlls/dsound enable_dsound
20537 wine_fn_config_makefile dlls/dsound/tests enable_tests
20538 wine_fn_config_makefile dlls/dsquery enable_dsquery
20539 wine_fn_config_makefile dlls/dssenh enable_dssenh
20540 wine_fn_config_makefile dlls/dssenh/tests enable_tests
20541 wine_fn_config_makefile dlls/dsuiext enable_dsuiext
20542 wine_fn_config_makefile dlls/dswave enable_dswave
20543 wine_fn_config_makefile dlls/dswave/tests enable_tests
20544 wine_fn_config_makefile dlls/dwmapi enable_dwmapi
20545 wine_fn_config_makefile dlls/dwmapi/tests enable_tests
20546 wine_fn_config_makefile dlls/dwrite enable_dwrite
20547 wine_fn_config_makefile dlls/dwrite/tests enable_tests
20548 wine_fn_config_makefile dlls/dx8vb enable_dx8vb
20549 wine_fn_config_makefile dlls/dxdiagn enable_dxdiagn
20550 wine_fn_config_makefile dlls/dxdiagn/tests enable_tests
20551 wine_fn_config_makefile dlls/dxerr8 enable_dxerr8
20552 wine_fn_config_makefile dlls/dxerr9 enable_dxerr9
20553 wine_fn_config_makefile dlls/dxgi enable_dxgi
20554 wine_fn_config_makefile dlls/dxgi/tests enable_tests
20555 wine_fn_config_makefile dlls/dxguid enable_dxguid
20556 wine_fn_config_makefile dlls/dxva2 enable_dxva2
20557 wine_fn_config_makefile dlls/dxva2/tests enable_tests
20558 wine_fn_config_makefile dlls/esent enable_esent
20559 wine_fn_config_makefile dlls/evr enable_evr
20560 wine_fn_config_makefile dlls/evr/tests enable_tests
20561 wine_fn_config_makefile dlls/explorerframe enable_explorerframe
20562 wine_fn_config_makefile dlls/explorerframe/tests enable_tests
20563 wine_fn_config_makefile dlls/ext-ms-win-authz-context-l1-1-0 enable_ext_ms_win_authz_context_l1_1_0
20564 wine_fn_config_makefile dlls/ext-ms-win-domainjoin-netjoin-l1-1-0 enable_ext_ms_win_domainjoin_netjoin_l1_1_0
20565 wine_fn_config_makefile dlls/ext-ms-win-dwmapi-ext-l1-1-0 enable_ext_ms_win_dwmapi_ext_l1_1_0
20566 wine_fn_config_makefile dlls/ext-ms-win-gdi-dc-create-l1-1-0 enable_ext_ms_win_gdi_dc_create_l1_1_0
20567 wine_fn_config_makefile dlls/ext-ms-win-gdi-dc-create-l1-1-1 enable_ext_ms_win_gdi_dc_create_l1_1_1
20568 wine_fn_config_makefile dlls/ext-ms-win-gdi-dc-l1-2-0 enable_ext_ms_win_gdi_dc_l1_2_0
20569 wine_fn_config_makefile dlls/ext-ms-win-gdi-devcaps-l1-1-0 enable_ext_ms_win_gdi_devcaps_l1_1_0
20570 wine_fn_config_makefile dlls/ext-ms-win-gdi-draw-l1-1-0 enable_ext_ms_win_gdi_draw_l1_1_0
20571 wine_fn_config_makefile dlls/ext-ms-win-gdi-draw-l1-1-1 enable_ext_ms_win_gdi_draw_l1_1_1
20572 wine_fn_config_makefile dlls/ext-ms-win-gdi-font-l1-1-0 enable_ext_ms_win_gdi_font_l1_1_0
20573 wine_fn_config_makefile dlls/ext-ms-win-gdi-font-l1-1-1 enable_ext_ms_win_gdi_font_l1_1_1
20574 wine_fn_config_makefile dlls/ext-ms-win-gdi-render-l1-1-0 enable_ext_ms_win_gdi_render_l1_1_0
20575 wine_fn_config_makefile dlls/ext-ms-win-kernel32-package-current-l1-1-0 enable_ext_ms_win_kernel32_package_current_l1_1_0
20576 wine_fn_config_makefile dlls/ext-ms-win-kernel32-package-l1-1-1 enable_ext_ms_win_kernel32_package_l1_1_1
20577 wine_fn_config_makefile dlls/ext-ms-win-ntuser-dialogbox-l1-1-0 enable_ext_ms_win_ntuser_dialogbox_l1_1_0
20578 wine_fn_config_makefile dlls/ext-ms-win-ntuser-draw-l1-1-0 enable_ext_ms_win_ntuser_draw_l1_1_0
20579 wine_fn_config_makefile dlls/ext-ms-win-ntuser-gui-l1-1-0 enable_ext_ms_win_ntuser_gui_l1_1_0
20580 wine_fn_config_makefile dlls/ext-ms-win-ntuser-gui-l1-3-0 enable_ext_ms_win_ntuser_gui_l1_3_0
20581 wine_fn_config_makefile dlls/ext-ms-win-ntuser-keyboard-l1-3-0 enable_ext_ms_win_ntuser_keyboard_l1_3_0
20582 wine_fn_config_makefile dlls/ext-ms-win-ntuser-message-l1-1-0 enable_ext_ms_win_ntuser_message_l1_1_0
20583 wine_fn_config_makefile dlls/ext-ms-win-ntuser-message-l1-1-1 enable_ext_ms_win_ntuser_message_l1_1_1
20584 wine_fn_config_makefile dlls/ext-ms-win-ntuser-misc-l1-1-0 enable_ext_ms_win_ntuser_misc_l1_1_0
20585 wine_fn_config_makefile dlls/ext-ms-win-ntuser-misc-l1-2-0 enable_ext_ms_win_ntuser_misc_l1_2_0
20586 wine_fn_config_makefile dlls/ext-ms-win-ntuser-misc-l1-5-1 enable_ext_ms_win_ntuser_misc_l1_5_1
20587 wine_fn_config_makefile dlls/ext-ms-win-ntuser-mouse-l1-1-0 enable_ext_ms_win_ntuser_mouse_l1_1_0
20588 wine_fn_config_makefile dlls/ext-ms-win-ntuser-private-l1-1-1 enable_ext_ms_win_ntuser_private_l1_1_1
20589 wine_fn_config_makefile dlls/ext-ms-win-ntuser-private-l1-3-1 enable_ext_ms_win_ntuser_private_l1_3_1
20590 wine_fn_config_makefile dlls/ext-ms-win-ntuser-rectangle-ext-l1-1-0 enable_ext_ms_win_ntuser_rectangle_ext_l1_1_0
20591 wine_fn_config_makefile dlls/ext-ms-win-ntuser-uicontext-ext-l1-1-0 enable_ext_ms_win_ntuser_uicontext_ext_l1_1_0
20592 wine_fn_config_makefile dlls/ext-ms-win-ntuser-window-l1-1-0 enable_ext_ms_win_ntuser_window_l1_1_0
20593 wine_fn_config_makefile dlls/ext-ms-win-ntuser-window-l1-1-1 enable_ext_ms_win_ntuser_window_l1_1_1
20594 wine_fn_config_makefile dlls/ext-ms-win-ntuser-window-l1-1-4 enable_ext_ms_win_ntuser_window_l1_1_4
20595 wine_fn_config_makefile dlls/ext-ms-win-ntuser-windowclass-l1-1-0 enable_ext_ms_win_ntuser_windowclass_l1_1_0
20596 wine_fn_config_makefile dlls/ext-ms-win-ntuser-windowclass-l1-1-1 enable_ext_ms_win_ntuser_windowclass_l1_1_1
20597 wine_fn_config_makefile dlls/ext-ms-win-oleacc-l1-1-0 enable_ext_ms_win_oleacc_l1_1_0
20598 wine_fn_config_makefile dlls/ext-ms-win-ras-rasapi32-l1-1-0 enable_ext_ms_win_ras_rasapi32_l1_1_0
20599 wine_fn_config_makefile dlls/ext-ms-win-rtcore-gdi-devcaps-l1-1-0 enable_ext_ms_win_rtcore_gdi_devcaps_l1_1_0
20600 wine_fn_config_makefile dlls/ext-ms-win-rtcore-gdi-object-l1-1-0 enable_ext_ms_win_rtcore_gdi_object_l1_1_0
20601 wine_fn_config_makefile dlls/ext-ms-win-rtcore-gdi-rgn-l1-1-0 enable_ext_ms_win_rtcore_gdi_rgn_l1_1_0
20602 wine_fn_config_makefile dlls/ext-ms-win-rtcore-ntuser-cursor-l1-1-0 enable_ext_ms_win_rtcore_ntuser_cursor_l1_1_0
20603 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
20604 wine_fn_config_makefile dlls/ext-ms-win-rtcore-ntuser-dpi-l1-1-0 enable_ext_ms_win_rtcore_ntuser_dpi_l1_1_0
20605 wine_fn_config_makefile dlls/ext-ms-win-rtcore-ntuser-dpi-l1-2-0 enable_ext_ms_win_rtcore_ntuser_dpi_l1_2_0
20606 wine_fn_config_makefile dlls/ext-ms-win-rtcore-ntuser-rawinput-l1-1-0 enable_ext_ms_win_rtcore_ntuser_rawinput_l1_1_0
20607 wine_fn_config_makefile dlls/ext-ms-win-rtcore-ntuser-syscolors-l1-1-0 enable_ext_ms_win_rtcore_ntuser_syscolors_l1_1_0
20608 wine_fn_config_makefile dlls/ext-ms-win-rtcore-ntuser-sysparams-l1-1-0 enable_ext_ms_win_rtcore_ntuser_sysparams_l1_1_0
20609 wine_fn_config_makefile dlls/ext-ms-win-security-credui-l1-1-0 enable_ext_ms_win_security_credui_l1_1_0
20610 wine_fn_config_makefile dlls/ext-ms-win-security-cryptui-l1-1-0 enable_ext_ms_win_security_cryptui_l1_1_0
20611 wine_fn_config_makefile dlls/ext-ms-win-shell-comctl32-init-l1-1-0 enable_ext_ms_win_shell_comctl32_init_l1_1_0
20612 wine_fn_config_makefile dlls/ext-ms-win-shell-comdlg32-l1-1-0 enable_ext_ms_win_shell_comdlg32_l1_1_0
20613 wine_fn_config_makefile dlls/ext-ms-win-shell-shell32-l1-2-0 enable_ext_ms_win_shell_shell32_l1_2_0
20614 wine_fn_config_makefile dlls/ext-ms-win-uxtheme-themes-l1-1-0 enable_ext_ms_win_uxtheme_themes_l1_1_0
20615 wine_fn_config_makefile dlls/faultrep enable_faultrep
20616 wine_fn_config_makefile dlls/faultrep/tests enable_tests
20617 wine_fn_config_makefile dlls/feclient enable_feclient
20618 wine_fn_config_makefile dlls/fltlib enable_fltlib
20619 wine_fn_config_makefile dlls/fltmgr.sys enable_fltmgr_sys
20620 wine_fn_config_makefile dlls/fntcache enable_fntcache
20621 wine_fn_config_makefile dlls/fontsub enable_fontsub
20622 wine_fn_config_makefile dlls/fusion enable_fusion
20623 wine_fn_config_makefile dlls/fusion/tests enable_tests
20624 wine_fn_config_makefile dlls/fwpuclnt enable_fwpuclnt
20625 wine_fn_config_makefile dlls/gameux enable_gameux
20626 wine_fn_config_makefile dlls/gameux/tests enable_tests
20627 wine_fn_config_makefile dlls/gamingtcui enable_gamingtcui
20628 wine_fn_config_makefile dlls/gdi.exe16 enable_win16
20629 wine_fn_config_makefile dlls/gdi32 enable_gdi32
20630 wine_fn_config_makefile dlls/gdi32/tests enable_tests
20631 wine_fn_config_makefile dlls/gdiplus enable_gdiplus
20632 wine_fn_config_makefile dlls/gdiplus/tests enable_tests
20633 wine_fn_config_makefile dlls/glu32 enable_glu32
20634 wine_fn_config_makefile dlls/gphoto2.ds enable_gphoto2_ds
20635 wine_fn_config_makefile dlls/gpkcsp enable_gpkcsp
20636 wine_fn_config_makefile dlls/hal enable_hal
20637 wine_fn_config_makefile dlls/hhctrl.ocx enable_hhctrl_ocx
20638 wine_fn_config_makefile dlls/hid enable_hid
20639 wine_fn_config_makefile dlls/hid/tests enable_tests
20640 wine_fn_config_makefile dlls/hidclass.sys enable_hidclass_sys
20641 wine_fn_config_makefile dlls/hlink enable_hlink
20642 wine_fn_config_makefile dlls/hlink/tests enable_tests
20643 wine_fn_config_makefile dlls/hnetcfg enable_hnetcfg
20644 wine_fn_config_makefile dlls/hnetcfg/tests enable_tests
20645 wine_fn_config_makefile dlls/http.sys enable_http_sys
20646 wine_fn_config_makefile dlls/httpapi enable_httpapi
20647 wine_fn_config_makefile dlls/httpapi/tests enable_tests
20648 wine_fn_config_makefile dlls/iccvid enable_iccvid
20649 wine_fn_config_makefile dlls/icmp enable_icmp
20650 wine_fn_config_makefile dlls/ieframe enable_ieframe
20651 wine_fn_config_makefile dlls/ieframe/tests enable_tests
20652 wine_fn_config_makefile dlls/ieproxy enable_ieproxy
20653 wine_fn_config_makefile dlls/ifsmgr.vxd enable_win16
20654 wine_fn_config_makefile dlls/imaadp32.acm enable_imaadp32_acm
20655 wine_fn_config_makefile dlls/imagehlp enable_imagehlp
20656 wine_fn_config_makefile dlls/imagehlp/tests enable_tests
20657 wine_fn_config_makefile dlls/imm.dll16 enable_win16
20658 wine_fn_config_makefile dlls/imm32 enable_imm32
20659 wine_fn_config_makefile dlls/imm32/tests enable_tests
20660 wine_fn_config_makefile dlls/inetcomm enable_inetcomm
20661 wine_fn_config_makefile dlls/inetcomm/tests enable_tests
20662 wine_fn_config_makefile dlls/inetcpl.cpl enable_inetcpl_cpl
20663 wine_fn_config_makefile dlls/inetmib1 enable_inetmib1
20664 wine_fn_config_makefile dlls/inetmib1/tests enable_tests
20665 wine_fn_config_makefile dlls/infosoft enable_infosoft
20666 wine_fn_config_makefile dlls/infosoft/tests enable_tests
20667 wine_fn_config_makefile dlls/initpki enable_initpki
20668 wine_fn_config_makefile dlls/inkobj enable_inkobj
20669 wine_fn_config_makefile dlls/inseng enable_inseng
20670 wine_fn_config_makefile dlls/iphlpapi enable_iphlpapi
20671 wine_fn_config_makefile dlls/iphlpapi/tests enable_tests
20672 wine_fn_config_makefile dlls/iprop enable_iprop
20673 wine_fn_config_makefile dlls/irprops.cpl enable_irprops_cpl
20674 wine_fn_config_makefile dlls/itircl enable_itircl
20675 wine_fn_config_makefile dlls/itss enable_itss
20676 wine_fn_config_makefile dlls/itss/tests enable_tests
20677 wine_fn_config_makefile dlls/joy.cpl enable_joy_cpl
20678 wine_fn_config_makefile dlls/jscript enable_jscript
20679 wine_fn_config_makefile dlls/jscript/tests enable_tests
20680 wine_fn_config_makefile dlls/jsproxy enable_jsproxy
20681 wine_fn_config_makefile dlls/jsproxy/tests enable_tests
20682 wine_fn_config_makefile dlls/kerberos enable_kerberos
20683 wine_fn_config_makefile dlls/kernel32 enable_kernel32
20684 wine_fn_config_makefile dlls/kernel32/tests enable_tests
20685 wine_fn_config_makefile dlls/kernelbase enable_kernelbase
20686 wine_fn_config_makefile dlls/kernelbase/tests enable_tests
20687 wine_fn_config_makefile dlls/keyboard.drv16 enable_win16
20688 wine_fn_config_makefile dlls/krnl386.exe16 enable_win16
20689 wine_fn_config_makefile dlls/ksecdd.sys enable_ksecdd_sys
20690 wine_fn_config_makefile dlls/ksproxy.ax enable_ksproxy_ax
20691 wine_fn_config_makefile dlls/ksuser enable_ksuser
20692 wine_fn_config_makefile dlls/ktmw32 enable_ktmw32
20693 wine_fn_config_makefile dlls/l3codeca.acm enable_l3codeca_acm
20694 wine_fn_config_makefile dlls/loadperf enable_loadperf
20695 wine_fn_config_makefile dlls/localspl enable_localspl
20696 wine_fn_config_makefile dlls/localspl/tests enable_tests
20697 wine_fn_config_makefile dlls/localui enable_localui
20698 wine_fn_config_makefile dlls/localui/tests enable_tests
20699 wine_fn_config_makefile dlls/lz32 enable_lz32
20700 wine_fn_config_makefile dlls/lz32/tests enable_tests
20701 wine_fn_config_makefile dlls/lzexpand.dll16 enable_win16
20702 wine_fn_config_makefile dlls/mapi32 enable_mapi32
20703 wine_fn_config_makefile dlls/mapi32/tests enable_tests
20704 wine_fn_config_makefile dlls/mapistub enable_mapistub
20705 wine_fn_config_makefile dlls/mciavi32 enable_mciavi32
20706 wine_fn_config_makefile dlls/mcicda enable_mcicda
20707 wine_fn_config_makefile dlls/mciqtz32 enable_mciqtz32
20708 wine_fn_config_makefile dlls/mciseq enable_mciseq
20709 wine_fn_config_makefile dlls/mciwave enable_mciwave
20710 wine_fn_config_makefile dlls/mf enable_mf
20711 wine_fn_config_makefile dlls/mf/tests enable_tests
20712 wine_fn_config_makefile dlls/mf3216 enable_mf3216
20713 wine_fn_config_makefile dlls/mferror enable_mferror
20714 wine_fn_config_makefile dlls/mfmediaengine enable_mfmediaengine
20715 wine_fn_config_makefile dlls/mfmediaengine/tests enable_tests
20716 wine_fn_config_makefile dlls/mfplat enable_mfplat
20717 wine_fn_config_makefile dlls/mfplat/tests enable_tests
20718 wine_fn_config_makefile dlls/mfplay enable_mfplay
20719 wine_fn_config_makefile dlls/mfplay/tests enable_tests
20720 wine_fn_config_makefile dlls/mfreadwrite enable_mfreadwrite
20721 wine_fn_config_makefile dlls/mfreadwrite/tests enable_tests
20722 wine_fn_config_makefile dlls/mfuuid enable_mfuuid
20723 wine_fn_config_makefile dlls/mgmtapi enable_mgmtapi
20724 wine_fn_config_makefile dlls/midimap enable_midimap
20725 wine_fn_config_makefile dlls/mlang enable_mlang
20726 wine_fn_config_makefile dlls/mlang/tests enable_tests
20727 wine_fn_config_makefile dlls/mmcndmgr enable_mmcndmgr
20728 wine_fn_config_makefile dlls/mmcndmgr/tests enable_tests
20729 wine_fn_config_makefile dlls/mmdevapi enable_mmdevapi
20730 wine_fn_config_makefile dlls/mmdevapi/tests enable_tests
20731 wine_fn_config_makefile dlls/mmdevldr.vxd enable_win16
20732 wine_fn_config_makefile dlls/mmsystem.dll16 enable_win16
20733 wine_fn_config_makefile dlls/monodebg.vxd enable_win16
20734 wine_fn_config_makefile dlls/mountmgr.sys enable_mountmgr_sys
20735 wine_fn_config_makefile dlls/mouse.drv16 enable_win16
20736 wine_fn_config_makefile dlls/mp3dmod enable_mp3dmod
20737 wine_fn_config_makefile dlls/mp3dmod/tests enable_tests
20738 wine_fn_config_makefile dlls/mpr enable_mpr
20739 wine_fn_config_makefile dlls/mpr/tests enable_tests
20740 wine_fn_config_makefile dlls/mprapi enable_mprapi
20741 wine_fn_config_makefile dlls/msacm.dll16 enable_win16
20742 wine_fn_config_makefile dlls/msacm32.drv enable_msacm32_drv
20743 wine_fn_config_makefile dlls/msacm32 enable_msacm32
20744 wine_fn_config_makefile dlls/msacm32/tests enable_tests
20745 wine_fn_config_makefile dlls/msado15 enable_msado15
20746 wine_fn_config_makefile dlls/msado15/tests enable_tests
20747 wine_fn_config_makefile dlls/msadp32.acm enable_msadp32_acm
20748 wine_fn_config_makefile dlls/msasn1 enable_msasn1
20749 wine_fn_config_makefile dlls/msasn1/tests enable_tests
20750 wine_fn_config_makefile dlls/mscat32 enable_mscat32
20751 wine_fn_config_makefile dlls/mscms enable_mscms
20752 wine_fn_config_makefile dlls/mscms/tests enable_tests
20753 wine_fn_config_makefile dlls/mscoree enable_mscoree
20754 wine_fn_config_makefile dlls/mscoree/tests enable_tests
20755 wine_fn_config_makefile dlls/mscorwks enable_mscorwks
20756 wine_fn_config_makefile dlls/msctf enable_msctf
20757 wine_fn_config_makefile dlls/msctf/tests enable_tests
20758 wine_fn_config_makefile dlls/msctfp enable_msctfp
20759 wine_fn_config_makefile dlls/msdaps enable_msdaps
20760 wine_fn_config_makefile dlls/msdelta enable_msdelta
20761 wine_fn_config_makefile dlls/msdmo enable_msdmo
20762 wine_fn_config_makefile dlls/msdmo/tests enable_tests
20763 wine_fn_config_makefile dlls/msdrm enable_msdrm
20764 wine_fn_config_makefile dlls/msftedit enable_msftedit
20765 wine_fn_config_makefile dlls/msftedit/tests enable_tests
20766 wine_fn_config_makefile dlls/msg711.acm enable_msg711_acm
20767 wine_fn_config_makefile dlls/msgsm32.acm enable_msgsm32_acm
20768 wine_fn_config_makefile dlls/mshtml.tlb enable_mshtml_tlb
20769 wine_fn_config_makefile dlls/mshtml enable_mshtml
20770 wine_fn_config_makefile dlls/mshtml/tests enable_tests
20771 wine_fn_config_makefile dlls/msi enable_msi
20772 wine_fn_config_makefile dlls/msi/tests enable_tests
20773 wine_fn_config_makefile dlls/msident enable_msident
20774 wine_fn_config_makefile dlls/msimg32 enable_msimg32
20775 wine_fn_config_makefile dlls/msimsg enable_msimsg
20776 wine_fn_config_makefile dlls/msimtf enable_msimtf
20777 wine_fn_config_makefile dlls/msisip enable_msisip
20778 wine_fn_config_makefile dlls/msisys.ocx enable_msisys_ocx
20779 wine_fn_config_makefile dlls/msls31 enable_msls31
20780 wine_fn_config_makefile dlls/msnet32 enable_msnet32
20781 wine_fn_config_makefile dlls/mspatcha enable_mspatcha
20782 wine_fn_config_makefile dlls/mspatcha/tests enable_tests
20783 wine_fn_config_makefile dlls/msports enable_msports
20784 wine_fn_config_makefile dlls/msrle32 enable_msrle32
20785 wine_fn_config_makefile dlls/msrle32/tests enable_tests
20786 wine_fn_config_makefile dlls/msscript.ocx enable_msscript_ocx
20787 wine_fn_config_makefile dlls/msscript.ocx/tests enable_tests
20788 wine_fn_config_makefile dlls/mssign32 enable_mssign32
20789 wine_fn_config_makefile dlls/mssip32 enable_mssip32
20790 wine_fn_config_makefile dlls/mstask enable_mstask
20791 wine_fn_config_makefile dlls/mstask/tests enable_tests
20792 wine_fn_config_makefile dlls/msv1_0 enable_msv1_0
20793 wine_fn_config_makefile dlls/msvcirt enable_msvcirt
20794 wine_fn_config_makefile dlls/msvcirt/tests enable_tests
20795 wine_fn_config_makefile dlls/msvcm80 enable_msvcm80
20796 wine_fn_config_makefile dlls/msvcm90 enable_msvcm90
20797 wine_fn_config_makefile dlls/msvcp100 enable_msvcp100
20798 wine_fn_config_makefile dlls/msvcp100/tests enable_tests
20799 wine_fn_config_makefile dlls/msvcp110 enable_msvcp110
20800 wine_fn_config_makefile dlls/msvcp110/tests enable_tests
20801 wine_fn_config_makefile dlls/msvcp120 enable_msvcp120
20802 wine_fn_config_makefile dlls/msvcp120/tests enable_tests
20803 wine_fn_config_makefile dlls/msvcp120_app enable_msvcp120_app
20804 wine_fn_config_makefile dlls/msvcp140 enable_msvcp140
20805 wine_fn_config_makefile dlls/msvcp140/tests enable_tests
20806 wine_fn_config_makefile dlls/msvcp140_1 enable_msvcp140_1
20807 wine_fn_config_makefile dlls/msvcp140_1/tests enable_tests
20808 wine_fn_config_makefile dlls/msvcp60 enable_msvcp60
20809 wine_fn_config_makefile dlls/msvcp60/tests enable_tests
20810 wine_fn_config_makefile dlls/msvcp70 enable_msvcp70
20811 wine_fn_config_makefile dlls/msvcp71 enable_msvcp71
20812 wine_fn_config_makefile dlls/msvcp80 enable_msvcp80
20813 wine_fn_config_makefile dlls/msvcp90 enable_msvcp90
20814 wine_fn_config_makefile dlls/msvcp90/tests enable_tests
20815 wine_fn_config_makefile dlls/msvcr100 enable_msvcr100
20816 wine_fn_config_makefile dlls/msvcr100/tests enable_tests
20817 wine_fn_config_makefile dlls/msvcr110 enable_msvcr110
20818 wine_fn_config_makefile dlls/msvcr110/tests enable_tests
20819 wine_fn_config_makefile dlls/msvcr120 enable_msvcr120
20820 wine_fn_config_makefile dlls/msvcr120/tests enable_tests
20821 wine_fn_config_makefile dlls/msvcr120_app enable_msvcr120_app
20822 wine_fn_config_makefile dlls/msvcr70 enable_msvcr70
20823 wine_fn_config_makefile dlls/msvcr71 enable_msvcr71
20824 wine_fn_config_makefile dlls/msvcr80 enable_msvcr80
20825 wine_fn_config_makefile dlls/msvcr90 enable_msvcr90
20826 wine_fn_config_makefile dlls/msvcr90/tests enable_tests
20827 wine_fn_config_makefile dlls/msvcrt enable_msvcrt
20828 wine_fn_config_makefile dlls/msvcrt/tests enable_tests
20829 wine_fn_config_makefile dlls/msvcrt20 enable_msvcrt20
20830 wine_fn_config_makefile dlls/msvcrt40 enable_msvcrt40
20831 wine_fn_config_makefile dlls/msvcrtd enable_msvcrtd
20832 wine_fn_config_makefile dlls/msvcrtd/tests enable_tests
20833 wine_fn_config_makefile dlls/msvfw32 enable_msvfw32
20834 wine_fn_config_makefile dlls/msvfw32/tests enable_tests
20835 wine_fn_config_makefile dlls/msvidc32 enable_msvidc32
20836 wine_fn_config_makefile dlls/msvideo.dll16 enable_win16
20837 wine_fn_config_makefile dlls/mswsock enable_mswsock
20838 wine_fn_config_makefile dlls/msxml enable_msxml
20839 wine_fn_config_makefile dlls/msxml2 enable_msxml2
20840 wine_fn_config_makefile dlls/msxml3 enable_msxml3
20841 wine_fn_config_makefile dlls/msxml3/tests enable_tests
20842 wine_fn_config_makefile dlls/msxml4 enable_msxml4
20843 wine_fn_config_makefile dlls/msxml6 enable_msxml6
20844 wine_fn_config_makefile dlls/mtxdm enable_mtxdm
20845 wine_fn_config_makefile dlls/ncrypt enable_ncrypt
20846 wine_fn_config_makefile dlls/nddeapi enable_nddeapi
20847 wine_fn_config_makefile dlls/ndis.sys enable_ndis_sys
20848 wine_fn_config_makefile dlls/ndis.sys/tests enable_tests
20849 wine_fn_config_makefile dlls/netapi32 enable_netapi32
20850 wine_fn_config_makefile dlls/netapi32/tests enable_tests
20851 wine_fn_config_makefile dlls/netcfgx enable_netcfgx
20852 wine_fn_config_makefile dlls/netcfgx/tests enable_tests
20853 wine_fn_config_makefile dlls/netio.sys enable_netio_sys
20854 wine_fn_config_makefile dlls/netprofm enable_netprofm
20855 wine_fn_config_makefile dlls/netprofm/tests enable_tests
20856 wine_fn_config_makefile dlls/netutils enable_netutils
20857 wine_fn_config_makefile dlls/newdev enable_newdev
20858 wine_fn_config_makefile dlls/ninput enable_ninput
20859 wine_fn_config_makefile dlls/ninput/tests enable_tests
20860 wine_fn_config_makefile dlls/normaliz enable_normaliz
20861 wine_fn_config_makefile dlls/npmshtml enable_npmshtml
20862 wine_fn_config_makefile dlls/npptools enable_npptools
20863 wine_fn_config_makefile dlls/ntdll enable_ntdll
20864 wine_fn_config_makefile dlls/ntdll/tests enable_tests
20865 wine_fn_config_makefile dlls/ntdsapi enable_ntdsapi
20866 wine_fn_config_makefile dlls/ntdsapi/tests enable_tests
20867 wine_fn_config_makefile dlls/ntoskrnl.exe enable_ntoskrnl_exe
20868 wine_fn_config_makefile dlls/ntoskrnl.exe/tests enable_tests
20869 wine_fn_config_makefile dlls/ntprint enable_ntprint
20870 wine_fn_config_makefile dlls/ntprint/tests enable_tests
20871 wine_fn_config_makefile dlls/objsel enable_objsel
20872 wine_fn_config_makefile dlls/odbc32 enable_odbc32
20873 wine_fn_config_makefile dlls/odbcbcp enable_odbcbcp
20874 wine_fn_config_makefile dlls/odbccp32 enable_odbccp32
20875 wine_fn_config_makefile dlls/odbccp32/tests enable_tests
20876 wine_fn_config_makefile dlls/odbccu32 enable_odbccu32
20877 wine_fn_config_makefile dlls/ole2.dll16 enable_win16
20878 wine_fn_config_makefile dlls/ole2conv.dll16 enable_win16
20879 wine_fn_config_makefile dlls/ole2disp.dll16 enable_win16
20880 wine_fn_config_makefile dlls/ole2nls.dll16 enable_win16
20881 wine_fn_config_makefile dlls/ole2prox.dll16 enable_win16
20882 wine_fn_config_makefile dlls/ole2thk.dll16 enable_win16
20883 wine_fn_config_makefile dlls/ole32 enable_ole32
20884 wine_fn_config_makefile dlls/ole32/tests enable_tests
20885 wine_fn_config_makefile dlls/oleacc enable_oleacc
20886 wine_fn_config_makefile dlls/oleacc/tests enable_tests
20887 wine_fn_config_makefile dlls/oleaut32 enable_oleaut32
20888 wine_fn_config_makefile dlls/oleaut32/tests enable_tests
20889 wine_fn_config_makefile dlls/olecli.dll16 enable_win16
20890 wine_fn_config_makefile dlls/olecli32 enable_olecli32
20891 wine_fn_config_makefile dlls/oledb32 enable_oledb32
20892 wine_fn_config_makefile dlls/oledb32/tests enable_tests
20893 wine_fn_config_makefile dlls/oledlg enable_oledlg
20894 wine_fn_config_makefile dlls/oledlg/tests enable_tests
20895 wine_fn_config_makefile dlls/olepro32 enable_olepro32
20896 wine_fn_config_makefile dlls/olesvr.dll16 enable_win16
20897 wine_fn_config_makefile dlls/olesvr32 enable_olesvr32
20898 wine_fn_config_makefile dlls/olethk32 enable_olethk32
20899 wine_fn_config_makefile dlls/opcservices enable_opcservices
20900 wine_fn_config_makefile dlls/opcservices/tests enable_tests
20901 wine_fn_config_makefile dlls/openal32 enable_openal32
20902 wine_fn_config_makefile dlls/opencl enable_opencl
20903 wine_fn_config_makefile dlls/opengl32 enable_opengl32
20904 wine_fn_config_makefile dlls/opengl32/tests enable_tests
20905 wine_fn_config_makefile dlls/packager enable_packager
20906 wine_fn_config_makefile dlls/packager/tests enable_tests
20907 wine_fn_config_makefile dlls/pdh enable_pdh
20908 wine_fn_config_makefile dlls/pdh/tests enable_tests
20909 wine_fn_config_makefile dlls/photometadatahandler enable_photometadatahandler
20910 wine_fn_config_makefile dlls/pidgen enable_pidgen
20911 wine_fn_config_makefile dlls/powrprof enable_powrprof
20912 wine_fn_config_makefile dlls/printui enable_printui
20913 wine_fn_config_makefile dlls/prntvpt enable_prntvpt
20914 wine_fn_config_makefile dlls/prntvpt/tests enable_tests
20915 wine_fn_config_makefile dlls/propsys enable_propsys
20916 wine_fn_config_makefile dlls/propsys/tests enable_tests
20917 wine_fn_config_makefile dlls/psapi enable_psapi
20918 wine_fn_config_makefile dlls/psapi/tests enable_tests
20919 wine_fn_config_makefile dlls/pstorec enable_pstorec
20920 wine_fn_config_makefile dlls/pstorec/tests enable_tests
20921 wine_fn_config_makefile dlls/pwrshplugin enable_pwrshplugin
20922 wine_fn_config_makefile dlls/qasf enable_qasf
20923 wine_fn_config_makefile dlls/qasf/tests enable_tests
20924 wine_fn_config_makefile dlls/qcap enable_qcap
20925 wine_fn_config_makefile dlls/qcap/tests enable_tests
20926 wine_fn_config_makefile dlls/qdvd enable_qdvd
20927 wine_fn_config_makefile dlls/qdvd/tests enable_tests
20928 wine_fn_config_makefile dlls/qedit enable_qedit
20929 wine_fn_config_makefile dlls/qedit/tests enable_tests
20930 wine_fn_config_makefile dlls/qmgr enable_qmgr
20931 wine_fn_config_makefile dlls/qmgr/tests enable_tests
20932 wine_fn_config_makefile dlls/qmgrprxy enable_qmgrprxy
20933 wine_fn_config_makefile dlls/quartz enable_quartz
20934 wine_fn_config_makefile dlls/quartz/tests enable_tests
20935 wine_fn_config_makefile dlls/query enable_query
20936 wine_fn_config_makefile dlls/qwave enable_qwave
20937 wine_fn_config_makefile dlls/qwave/tests enable_tests
20938 wine_fn_config_makefile dlls/rasapi16.dll16 enable_win16
20939 wine_fn_config_makefile dlls/rasapi32 enable_rasapi32
20940 wine_fn_config_makefile dlls/rasapi32/tests enable_tests
20941 wine_fn_config_makefile dlls/rasdlg enable_rasdlg
20942 wine_fn_config_makefile dlls/regapi enable_regapi
20943 wine_fn_config_makefile dlls/resutils enable_resutils
20944 wine_fn_config_makefile dlls/riched20 enable_riched20
20945 wine_fn_config_makefile dlls/riched20/tests enable_tests
20946 wine_fn_config_makefile dlls/riched32 enable_riched32
20947 wine_fn_config_makefile dlls/riched32/tests enable_tests
20948 wine_fn_config_makefile dlls/rpcrt4 enable_rpcrt4
20949 wine_fn_config_makefile dlls/rpcrt4/tests enable_tests
20950 wine_fn_config_makefile dlls/rsabase enable_rsabase
20951 wine_fn_config_makefile dlls/rsaenh enable_rsaenh
20952 wine_fn_config_makefile dlls/rsaenh/tests enable_tests
20953 wine_fn_config_makefile dlls/rstrtmgr enable_rstrtmgr
20954 wine_fn_config_makefile dlls/rtutils enable_rtutils
20955 wine_fn_config_makefile dlls/rtworkq enable_rtworkq
20956 wine_fn_config_makefile dlls/rtworkq/tests enable_tests
20957 wine_fn_config_makefile dlls/samlib enable_samlib
20958 wine_fn_config_makefile dlls/sane.ds enable_sane_ds
20959 wine_fn_config_makefile dlls/sapi enable_sapi
20960 wine_fn_config_makefile dlls/sapi/tests enable_tests
20961 wine_fn_config_makefile dlls/sas enable_sas
20962 wine_fn_config_makefile dlls/scarddlg enable_scarddlg
20963 wine_fn_config_makefile dlls/sccbase enable_sccbase
20964 wine_fn_config_makefile dlls/schannel enable_schannel
20965 wine_fn_config_makefile dlls/schannel/tests enable_tests
20966 wine_fn_config_makefile dlls/schedsvc enable_schedsvc
20967 wine_fn_config_makefile dlls/schedsvc/tests enable_tests
20968 wine_fn_config_makefile dlls/scrobj enable_scrobj
20969 wine_fn_config_makefile dlls/scrobj/tests enable_tests
20970 wine_fn_config_makefile dlls/scrrun enable_scrrun
20971 wine_fn_config_makefile dlls/scrrun/tests enable_tests
20972 wine_fn_config_makefile dlls/scsiport.sys enable_scsiport_sys
20973 wine_fn_config_makefile dlls/sechost enable_sechost
20974 wine_fn_config_makefile dlls/secur32 enable_secur32
20975 wine_fn_config_makefile dlls/secur32/tests enable_tests
20976 wine_fn_config_makefile dlls/security enable_security
20977 wine_fn_config_makefile dlls/sensapi enable_sensapi
20978 wine_fn_config_makefile dlls/serialui enable_serialui
20979 wine_fn_config_makefile dlls/serialui/tests enable_tests
20980 wine_fn_config_makefile dlls/setupapi enable_setupapi
20981 wine_fn_config_makefile dlls/setupapi/tests enable_tests
20982 wine_fn_config_makefile dlls/setupx.dll16 enable_win16
20983 wine_fn_config_makefile dlls/sfc enable_sfc
20984 wine_fn_config_makefile dlls/sfc_os enable_sfc_os
20985 wine_fn_config_makefile dlls/shcore enable_shcore
20986 wine_fn_config_makefile dlls/shcore/tests enable_tests
20987 wine_fn_config_makefile dlls/shdoclc enable_shdoclc
20988 wine_fn_config_makefile dlls/shdocvw enable_shdocvw
20989 wine_fn_config_makefile dlls/shdocvw/tests enable_tests
20990 wine_fn_config_makefile dlls/shell.dll16 enable_win16
20991 wine_fn_config_makefile dlls/shell32 enable_shell32
20992 wine_fn_config_makefile dlls/shell32/tests enable_tests
20993 wine_fn_config_makefile dlls/shfolder enable_shfolder
20994 wine_fn_config_makefile dlls/shlwapi enable_shlwapi
20995 wine_fn_config_makefile dlls/shlwapi/tests enable_tests
20996 wine_fn_config_makefile dlls/slbcsp enable_slbcsp
20997 wine_fn_config_makefile dlls/slc enable_slc
20998 wine_fn_config_makefile dlls/slc/tests enable_tests
20999 wine_fn_config_makefile dlls/snmpapi enable_snmpapi
21000 wine_fn_config_makefile dlls/snmpapi/tests enable_tests
21001 wine_fn_config_makefile dlls/softpub enable_softpub
21002 wine_fn_config_makefile dlls/sound.drv16 enable_win16
21003 wine_fn_config_makefile dlls/spoolss enable_spoolss
21004 wine_fn_config_makefile dlls/spoolss/tests enable_tests
21005 wine_fn_config_makefile dlls/srclient enable_srclient
21006 wine_fn_config_makefile dlls/srvcli enable_srvcli
21007 wine_fn_config_makefile dlls/sspicli enable_sspicli
21008 wine_fn_config_makefile dlls/stdole2.tlb enable_stdole2_tlb
21009 wine_fn_config_makefile dlls/stdole32.tlb enable_stdole32_tlb
21010 wine_fn_config_makefile dlls/sti enable_sti
21011 wine_fn_config_makefile dlls/sti/tests enable_tests
21012 wine_fn_config_makefile dlls/storage.dll16 enable_win16
21013 wine_fn_config_makefile dlls/stress.dll16 enable_win16
21014 wine_fn_config_makefile dlls/strmbase enable_strmbase
21015 wine_fn_config_makefile dlls/strmdll enable_strmdll
21016 wine_fn_config_makefile dlls/strmiids enable_strmiids
21017 wine_fn_config_makefile dlls/svrapi enable_svrapi
21018 wine_fn_config_makefile dlls/sxs enable_sxs
21019 wine_fn_config_makefile dlls/sxs/tests enable_tests
21020 wine_fn_config_makefile dlls/system.drv16 enable_win16
21021 wine_fn_config_makefile dlls/t2embed enable_t2embed
21022 wine_fn_config_makefile dlls/t2embed/tests enable_tests
21023 wine_fn_config_makefile dlls/tapi32 enable_tapi32
21024 wine_fn_config_makefile dlls/tapi32/tests enable_tests
21025 wine_fn_config_makefile dlls/taskschd enable_taskschd
21026 wine_fn_config_makefile dlls/taskschd/tests enable_tests
21027 wine_fn_config_makefile dlls/tdh enable_tdh
21028 wine_fn_config_makefile dlls/tdi.sys enable_tdi_sys
21029 wine_fn_config_makefile dlls/toolhelp.dll16 enable_win16
21030 wine_fn_config_makefile dlls/traffic enable_traffic
21031 wine_fn_config_makefile dlls/twain.dll16 enable_win16
21032 wine_fn_config_makefile dlls/twain_32 enable_twain_32
21033 wine_fn_config_makefile dlls/twain_32/tests enable_tests
21034 wine_fn_config_makefile dlls/typelib.dll16 enable_win16
21035 wine_fn_config_makefile dlls/tzres enable_tzres
21036 wine_fn_config_makefile dlls/ucrtbase enable_ucrtbase
21037 wine_fn_config_makefile dlls/ucrtbase/tests enable_tests
21038 wine_fn_config_makefile dlls/uianimation enable_uianimation
21039 wine_fn_config_makefile dlls/uianimation/tests enable_tests
21040 wine_fn_config_makefile dlls/uiautomationcore enable_uiautomationcore
21041 wine_fn_config_makefile dlls/uiautomationcore/tests enable_tests
21042 wine_fn_config_makefile dlls/uiribbon enable_uiribbon
21043 wine_fn_config_makefile dlls/unicows enable_unicows
21044 wine_fn_config_makefile dlls/updspapi enable_updspapi
21045 wine_fn_config_makefile dlls/url enable_url
21046 wine_fn_config_makefile dlls/urlmon enable_urlmon
21047 wine_fn_config_makefile dlls/urlmon/tests enable_tests
21048 wine_fn_config_makefile dlls/usbd.sys enable_usbd_sys
21049 wine_fn_config_makefile dlls/user.exe16 enable_win16
21050 wine_fn_config_makefile dlls/user32 enable_user32
21051 wine_fn_config_makefile dlls/user32/tests enable_tests
21052 wine_fn_config_makefile dlls/userenv enable_userenv
21053 wine_fn_config_makefile dlls/userenv/tests enable_tests
21054 wine_fn_config_makefile dlls/usp10 enable_usp10
21055 wine_fn_config_makefile dlls/usp10/tests enable_tests
21056 wine_fn_config_makefile dlls/utildll enable_utildll
21057 wine_fn_config_makefile dlls/uuid enable_uuid
21058 wine_fn_config_makefile dlls/uxtheme enable_uxtheme
21059 wine_fn_config_makefile dlls/uxtheme/tests enable_tests
21060 wine_fn_config_makefile dlls/vbscript enable_vbscript
21061 wine_fn_config_makefile dlls/vbscript/tests enable_tests
21062 wine_fn_config_makefile dlls/vcomp enable_vcomp
21063 wine_fn_config_makefile dlls/vcomp/tests enable_tests
21064 wine_fn_config_makefile dlls/vcomp100 enable_vcomp100
21065 wine_fn_config_makefile dlls/vcomp110 enable_vcomp110
21066 wine_fn_config_makefile dlls/vcomp110/tests enable_tests
21067 wine_fn_config_makefile dlls/vcomp120 enable_vcomp120
21068 wine_fn_config_makefile dlls/vcomp140 enable_vcomp140
21069 wine_fn_config_makefile dlls/vcomp90 enable_vcomp90
21070 wine_fn_config_makefile dlls/vcruntime140 enable_vcruntime140
21071 wine_fn_config_makefile dlls/vcruntime140_1 enable_vcruntime140_1
21072 wine_fn_config_makefile dlls/vdhcp.vxd enable_win16
21073 wine_fn_config_makefile dlls/vdmdbg enable_vdmdbg
21074 wine_fn_config_makefile dlls/ver.dll16 enable_win16
21075 wine_fn_config_makefile dlls/version enable_version
21076 wine_fn_config_makefile dlls/version/tests enable_tests
21077 wine_fn_config_makefile dlls/vga enable_vga
21078 wine_fn_config_makefile dlls/virtdisk enable_virtdisk
21079 wine_fn_config_makefile dlls/virtdisk/tests enable_tests
21080 wine_fn_config_makefile dlls/vmm.vxd enable_win16
21081 wine_fn_config_makefile dlls/vnbt.vxd enable_win16
21082 wine_fn_config_makefile dlls/vnetbios.vxd enable_win16
21083 wine_fn_config_makefile dlls/vssapi enable_vssapi
21084 wine_fn_config_makefile dlls/vtdapi.vxd enable_win16
21085 wine_fn_config_makefile dlls/vulkan-1 enable_vulkan_1
21086 wine_fn_config_makefile dlls/vulkan-1/tests enable_tests
21087 wine_fn_config_makefile dlls/vwin32.vxd enable_win16
21088 wine_fn_config_makefile dlls/w32skrnl enable_win16
21089 wine_fn_config_makefile dlls/w32sys.dll16 enable_win16
21090 wine_fn_config_makefile dlls/wbemdisp enable_wbemdisp
21091 wine_fn_config_makefile dlls/wbemdisp/tests enable_tests
21092 wine_fn_config_makefile dlls/wbemprox enable_wbemprox
21093 wine_fn_config_makefile dlls/wbemprox/tests enable_tests
21094 wine_fn_config_makefile dlls/wbemuuid enable_wbemuuid
21095 wine_fn_config_makefile dlls/wdscore enable_wdscore
21096 wine_fn_config_makefile dlls/webservices enable_webservices
21097 wine_fn_config_makefile dlls/webservices/tests enable_tests
21098 wine_fn_config_makefile dlls/websocket enable_websocket
21099 wine_fn_config_makefile dlls/wer enable_wer
21100 wine_fn_config_makefile dlls/wer/tests enable_tests
21101 wine_fn_config_makefile dlls/wevtapi enable_wevtapi
21102 wine_fn_config_makefile dlls/wevtapi/tests enable_tests
21103 wine_fn_config_makefile dlls/wevtsvc enable_wevtsvc
21104 wine_fn_config_makefile dlls/wiaservc enable_wiaservc
21105 wine_fn_config_makefile dlls/wiaservc/tests enable_tests
21106 wine_fn_config_makefile dlls/wimgapi enable_wimgapi
21107 wine_fn_config_makefile dlls/win32s16.dll16 enable_win16
21108 wine_fn_config_makefile dlls/win87em.dll16 enable_win16
21109 wine_fn_config_makefile dlls/winaspi.dll16 enable_win16
21110 wine_fn_config_makefile dlls/windebug.dll16 enable_win16
21111 wine_fn_config_makefile dlls/windows.gaming.input enable_windows_gaming_input
21112 wine_fn_config_makefile dlls/windows.gaming.input/tests enable_tests
21113 wine_fn_config_makefile dlls/windows.globalization enable_windows_globalization
21114 wine_fn_config_makefile dlls/windows.globalization/tests enable_tests
21115 wine_fn_config_makefile dlls/windows.media.devices enable_windows_media_devices
21116 wine_fn_config_makefile dlls/windows.media.devices/tests enable_tests
21117 wine_fn_config_makefile dlls/windows.media.speech enable_windows_media_speech
21118 wine_fn_config_makefile dlls/windows.media.speech/tests enable_tests
21119 wine_fn_config_makefile dlls/windowscodecs enable_windowscodecs
21120 wine_fn_config_makefile dlls/windowscodecs/tests enable_tests
21121 wine_fn_config_makefile dlls/windowscodecsext enable_windowscodecsext
21122 wine_fn_config_makefile dlls/windowscodecsext/tests enable_tests
21123 wine_fn_config_makefile dlls/winealsa.drv enable_winealsa_drv
21124 wine_fn_config_makefile dlls/wineandroid.drv enable_wineandroid_drv
21125 wine_fn_config_makefile dlls/winebus.sys enable_winebus_sys
21126 wine_fn_config_makefile dlls/winecoreaudio.drv enable_winecoreaudio_drv
21127 wine_fn_config_makefile dlls/winecrt0 enable_winecrt0
21128 wine_fn_config_makefile dlls/wined3d enable_wined3d
21129 wine_fn_config_makefile dlls/winegstreamer enable_winegstreamer
21130 wine_fn_config_makefile dlls/winehid.sys enable_winehid_sys
21131 wine_fn_config_makefile dlls/winejoystick.drv enable_winejoystick_drv
21132 wine_fn_config_makefile dlls/winemac.drv enable_winemac_drv
21133 wine_fn_config_makefile dlls/winemapi enable_winemapi
21134 wine_fn_config_makefile dlls/wineoss.drv enable_wineoss_drv
21135 wine_fn_config_makefile dlls/wineps.drv enable_wineps_drv
21136 wine_fn_config_makefile dlls/wineps16.drv16 enable_win16
21137 wine_fn_config_makefile dlls/winepulse.drv enable_winepulse_drv
21138 wine_fn_config_makefile dlls/wineqtdecoder enable_wineqtdecoder
21139 wine_fn_config_makefile dlls/wineusb.sys enable_wineusb_sys
21140 wine_fn_config_makefile dlls/winevulkan enable_winevulkan
21141 wine_fn_config_makefile dlls/winex11.drv enable_winex11_drv
21142 wine_fn_config_makefile dlls/wing.dll16 enable_win16
21143 wine_fn_config_makefile dlls/wing32 enable_wing32
21144 wine_fn_config_makefile dlls/winhttp enable_winhttp
21145 wine_fn_config_makefile dlls/winhttp/tests enable_tests
21146 wine_fn_config_makefile dlls/wininet enable_wininet
21147 wine_fn_config_makefile dlls/wininet/tests enable_tests
21148 wine_fn_config_makefile dlls/winmm enable_winmm
21149 wine_fn_config_makefile dlls/winmm/tests enable_tests
21150 wine_fn_config_makefile dlls/winnls.dll16 enable_win16
21151 wine_fn_config_makefile dlls/winnls32 enable_winnls32
21152 wine_fn_config_makefile dlls/winscard enable_winscard
21153 wine_fn_config_makefile dlls/winsock.dll16 enable_win16
21154 wine_fn_config_makefile dlls/winspool.drv enable_winspool_drv
21155 wine_fn_config_makefile dlls/winspool.drv/tests enable_tests
21156 wine_fn_config_makefile dlls/winsta enable_winsta
21157 wine_fn_config_makefile dlls/wintab.dll16 enable_win16
21158 wine_fn_config_makefile dlls/wintab32 enable_wintab32
21159 wine_fn_config_makefile dlls/wintab32/tests enable_tests
21160 wine_fn_config_makefile dlls/wintrust enable_wintrust
21161 wine_fn_config_makefile dlls/wintrust/tests enable_tests
21162 wine_fn_config_makefile dlls/winusb enable_winusb
21163 wine_fn_config_makefile dlls/wlanapi enable_wlanapi
21164 wine_fn_config_makefile dlls/wlanapi/tests enable_tests
21165 wine_fn_config_makefile dlls/wlanui enable_wlanui
21166 wine_fn_config_makefile dlls/wldap32 enable_wldap32
21167 wine_fn_config_makefile dlls/wldap32/tests enable_tests
21168 wine_fn_config_makefile dlls/wmasf enable_wmasf
21169 wine_fn_config_makefile dlls/wmcodecdspuuid enable_wmcodecdspuuid
21170 wine_fn_config_makefile dlls/wmi enable_wmi
21171 wine_fn_config_makefile dlls/wmiutils enable_wmiutils
21172 wine_fn_config_makefile dlls/wmiutils/tests enable_tests
21173 wine_fn_config_makefile dlls/wmp enable_wmp
21174 wine_fn_config_makefile dlls/wmp/tests enable_tests
21175 wine_fn_config_makefile dlls/wmphoto enable_wmphoto
21176 wine_fn_config_makefile dlls/wmvcore enable_wmvcore
21177 wine_fn_config_makefile dlls/wmvcore/tests enable_tests
21178 wine_fn_config_makefile dlls/wnaspi32 enable_wnaspi32
21179 wine_fn_config_makefile dlls/wow32 enable_win16
21180 wine_fn_config_makefile dlls/wow64cpu enable_wow64cpu
21181 wine_fn_config_makefile dlls/wpc enable_wpc
21182 wine_fn_config_makefile dlls/wpc/tests enable_tests
21183 wine_fn_config_makefile dlls/wpcap enable_wpcap
21184 wine_fn_config_makefile dlls/ws2_32 enable_ws2_32
21185 wine_fn_config_makefile dlls/ws2_32/tests enable_tests
21186 wine_fn_config_makefile dlls/wsdapi enable_wsdapi
21187 wine_fn_config_makefile dlls/wsdapi/tests enable_tests
21188 wine_fn_config_makefile dlls/wshom.ocx enable_wshom_ocx
21189 wine_fn_config_makefile dlls/wshom.ocx/tests enable_tests
21190 wine_fn_config_makefile dlls/wsnmp32 enable_wsnmp32
21191 wine_fn_config_makefile dlls/wsnmp32/tests enable_tests
21192 wine_fn_config_makefile dlls/wsock32 enable_wsock32
21193 wine_fn_config_makefile dlls/wtsapi32 enable_wtsapi32
21194 wine_fn_config_makefile dlls/wtsapi32/tests enable_tests
21195 wine_fn_config_makefile dlls/wuapi enable_wuapi
21196 wine_fn_config_makefile dlls/wuaueng enable_wuaueng
21197 wine_fn_config_makefile dlls/x3daudio1_0 enable_x3daudio1_0
21198 wine_fn_config_makefile dlls/x3daudio1_1 enable_x3daudio1_1
21199 wine_fn_config_makefile dlls/x3daudio1_2 enable_x3daudio1_2
21200 wine_fn_config_makefile dlls/x3daudio1_3 enable_x3daudio1_3
21201 wine_fn_config_makefile dlls/x3daudio1_4 enable_x3daudio1_4
21202 wine_fn_config_makefile dlls/x3daudio1_5 enable_x3daudio1_5
21203 wine_fn_config_makefile dlls/x3daudio1_6 enable_x3daudio1_6
21204 wine_fn_config_makefile dlls/x3daudio1_7 enable_x3daudio1_7
21205 wine_fn_config_makefile dlls/xactengine2_0 enable_xactengine2_0
21206 wine_fn_config_makefile dlls/xactengine2_4 enable_xactengine2_4
21207 wine_fn_config_makefile dlls/xactengine2_7 enable_xactengine2_7
21208 wine_fn_config_makefile dlls/xactengine2_9 enable_xactengine2_9
21209 wine_fn_config_makefile dlls/xactengine3_0 enable_xactengine3_0
21210 wine_fn_config_makefile dlls/xactengine3_1 enable_xactengine3_1
21211 wine_fn_config_makefile dlls/xactengine3_2 enable_xactengine3_2
21212 wine_fn_config_makefile dlls/xactengine3_3 enable_xactengine3_3
21213 wine_fn_config_makefile dlls/xactengine3_4 enable_xactengine3_4
21214 wine_fn_config_makefile dlls/xactengine3_5 enable_xactengine3_5
21215 wine_fn_config_makefile dlls/xactengine3_6 enable_xactengine3_6
21216 wine_fn_config_makefile dlls/xactengine3_7 enable_xactengine3_7
21217 wine_fn_config_makefile dlls/xactengine3_7/tests enable_tests
21218 wine_fn_config_makefile dlls/xapofx1_1 enable_xapofx1_1
21219 wine_fn_config_makefile dlls/xapofx1_2 enable_xapofx1_2
21220 wine_fn_config_makefile dlls/xapofx1_3 enable_xapofx1_3
21221 wine_fn_config_makefile dlls/xapofx1_4 enable_xapofx1_4
21222 wine_fn_config_makefile dlls/xapofx1_5 enable_xapofx1_5
21223 wine_fn_config_makefile dlls/xaudio2_0 enable_xaudio2_0
21224 wine_fn_config_makefile dlls/xaudio2_1 enable_xaudio2_1
21225 wine_fn_config_makefile dlls/xaudio2_2 enable_xaudio2_2
21226 wine_fn_config_makefile dlls/xaudio2_3 enable_xaudio2_3
21227 wine_fn_config_makefile dlls/xaudio2_4 enable_xaudio2_4
21228 wine_fn_config_makefile dlls/xaudio2_5 enable_xaudio2_5
21229 wine_fn_config_makefile dlls/xaudio2_6 enable_xaudio2_6
21230 wine_fn_config_makefile dlls/xaudio2_7 enable_xaudio2_7
21231 wine_fn_config_makefile dlls/xaudio2_7/tests enable_tests
21232 wine_fn_config_makefile dlls/xaudio2_8 enable_xaudio2_8
21233 wine_fn_config_makefile dlls/xaudio2_9 enable_xaudio2_9
21234 wine_fn_config_makefile dlls/xinput1_1 enable_xinput1_1
21235 wine_fn_config_makefile dlls/xinput1_2 enable_xinput1_2
21236 wine_fn_config_makefile dlls/xinput1_3 enable_xinput1_3
21237 wine_fn_config_makefile dlls/xinput1_3/tests enable_tests
21238 wine_fn_config_makefile dlls/xinput1_4 enable_xinput1_4
21239 wine_fn_config_makefile dlls/xinput9_1_0 enable_xinput9_1_0
21240 wine_fn_config_makefile dlls/xmllite enable_xmllite
21241 wine_fn_config_makefile dlls/xmllite/tests enable_tests
21242 wine_fn_config_makefile dlls/xolehlp enable_xolehlp
21243 wine_fn_config_makefile dlls/xpsprint enable_xpsprint
21244 wine_fn_config_makefile dlls/xpssvcs enable_xpssvcs
21245 wine_fn_config_makefile fonts enable_fonts
21246 wine_fn_config_makefile include enable_include
21247 wine_fn_config_makefile libs/port enable_port
21248 wine_fn_config_makefile libs/wine enable_wine
21249 wine_fn_config_makefile libs/wpp enable_wpp
21250 wine_fn_config_makefile loader enable_loader
21251 wine_fn_config_makefile nls enable_nls
21252 wine_fn_config_makefile po enable_po
21253 wine_fn_config_makefile programs/arp enable_arp
21254 wine_fn_config_makefile programs/aspnet_regiis enable_aspnet_regiis
21255 wine_fn_config_makefile programs/attrib enable_attrib
21256 wine_fn_config_makefile programs/cabarc enable_cabarc
21257 wine_fn_config_makefile programs/cacls enable_cacls
21258 wine_fn_config_makefile programs/chcp.com enable_chcp_com
21259 wine_fn_config_makefile programs/clock enable_clock
21260 wine_fn_config_makefile programs/cmd enable_cmd
21261 wine_fn_config_makefile programs/cmd/tests enable_tests
21262 wine_fn_config_makefile programs/conhost enable_conhost
21263 wine_fn_config_makefile programs/conhost/tests enable_tests
21264 wine_fn_config_makefile programs/control enable_control
21265 wine_fn_config_makefile programs/cscript enable_cscript
21266 wine_fn_config_makefile programs/dism enable_dism
21267 wine_fn_config_makefile programs/dplaysvr enable_dplaysvr
21268 wine_fn_config_makefile programs/dpnsvr enable_dpnsvr
21269 wine_fn_config_makefile programs/dpvsetup enable_dpvsetup
21270 wine_fn_config_makefile programs/dxdiag enable_dxdiag
21271 wine_fn_config_makefile programs/eject enable_eject
21272 wine_fn_config_makefile programs/expand enable_expand
21273 wine_fn_config_makefile programs/explorer enable_explorer
21274 wine_fn_config_makefile programs/extrac32 enable_extrac32
21275 wine_fn_config_makefile programs/fc enable_fc
21276 wine_fn_config_makefile programs/find enable_find
21277 wine_fn_config_makefile programs/find/tests enable_tests
21278 wine_fn_config_makefile programs/findstr enable_findstr
21279 wine_fn_config_makefile programs/fsutil enable_fsutil
21280 wine_fn_config_makefile programs/fsutil/tests enable_tests
21281 wine_fn_config_makefile programs/hh enable_hh
21282 wine_fn_config_makefile programs/hostname enable_hostname
21283 wine_fn_config_makefile programs/icacls enable_icacls
21284 wine_fn_config_makefile programs/icinfo enable_icinfo
21285 wine_fn_config_makefile programs/iexplore enable_iexplore
21286 wine_fn_config_makefile programs/ipconfig enable_ipconfig
21287 wine_fn_config_makefile programs/lodctr enable_lodctr
21288 wine_fn_config_makefile programs/mofcomp enable_mofcomp
21289 wine_fn_config_makefile programs/mshta enable_mshta
21290 wine_fn_config_makefile programs/msidb enable_msidb
21291 wine_fn_config_makefile programs/msiexec enable_msiexec
21292 wine_fn_config_makefile programs/msinfo32 enable_msinfo32
21293 wine_fn_config_makefile programs/net enable_net
21294 wine_fn_config_makefile programs/netsh enable_netsh
21295 wine_fn_config_makefile programs/netstat enable_netstat
21296 wine_fn_config_makefile programs/ngen enable_ngen
21297 wine_fn_config_makefile programs/notepad enable_notepad
21298 wine_fn_config_makefile programs/oleview enable_oleview
21299 wine_fn_config_makefile programs/ping enable_ping
21300 wine_fn_config_makefile programs/plugplay enable_plugplay
21301 wine_fn_config_makefile programs/powershell enable_powershell
21302 wine_fn_config_makefile programs/presentationfontcache enable_presentationfontcache
21303 wine_fn_config_makefile programs/progman enable_progman
21304 wine_fn_config_makefile programs/reg enable_reg
21305 wine_fn_config_makefile programs/reg/tests enable_tests
21306 wine_fn_config_makefile programs/regasm enable_regasm
21307 wine_fn_config_makefile programs/regedit enable_regedit
21308 wine_fn_config_makefile programs/regedit/tests enable_tests
21309 wine_fn_config_makefile programs/regini enable_regini
21310 wine_fn_config_makefile programs/regsvcs enable_regsvcs
21311 wine_fn_config_makefile programs/regsvr32 enable_regsvr32
21312 wine_fn_config_makefile programs/rpcss enable_rpcss
21313 wine_fn_config_makefile programs/rundll.exe16 enable_win16
21314 wine_fn_config_makefile programs/rundll32 enable_rundll32
21315 wine_fn_config_makefile programs/sc enable_sc
21316 wine_fn_config_makefile programs/schtasks enable_schtasks
21317 wine_fn_config_makefile programs/schtasks/tests enable_tests
21318 wine_fn_config_makefile programs/sdbinst enable_sdbinst
21319 wine_fn_config_makefile programs/secedit enable_secedit
21320 wine_fn_config_makefile programs/servicemodelreg enable_servicemodelreg
21321 wine_fn_config_makefile programs/services enable_services
21322 wine_fn_config_makefile programs/services/tests enable_tests
21323 wine_fn_config_makefile programs/shutdown enable_shutdown
21324 wine_fn_config_makefile programs/spoolsv enable_spoolsv
21325 wine_fn_config_makefile programs/start enable_start
21326 wine_fn_config_makefile programs/subst enable_subst
21327 wine_fn_config_makefile programs/svchost enable_svchost
21328 wine_fn_config_makefile programs/systeminfo enable_systeminfo
21329 wine_fn_config_makefile programs/taskkill enable_taskkill
21330 wine_fn_config_makefile programs/tasklist enable_tasklist
21331 wine_fn_config_makefile programs/taskmgr enable_taskmgr
21332 wine_fn_config_makefile programs/termsv enable_termsv
21333 wine_fn_config_makefile programs/uninstaller enable_uninstaller
21334 wine_fn_config_makefile programs/unlodctr enable_unlodctr
21335 wine_fn_config_makefile programs/view enable_view
21336 wine_fn_config_makefile programs/wevtutil enable_wevtutil
21337 wine_fn_config_makefile programs/where enable_where
21338 wine_fn_config_makefile programs/whoami enable_whoami
21339 wine_fn_config_makefile programs/wineboot enable_wineboot
21340 wine_fn_config_makefile programs/winebrowser enable_winebrowser
21341 wine_fn_config_makefile programs/winecfg enable_winecfg
21342 wine_fn_config_makefile programs/wineconsole enable_wineconsole
21343 wine_fn_config_makefile programs/winedbg enable_winedbg
21344 wine_fn_config_makefile programs/winedevice enable_winedevice
21345 wine_fn_config_makefile programs/winefile enable_winefile
21346 wine_fn_config_makefile programs/winemenubuilder enable_winemenubuilder
21347 wine_fn_config_makefile programs/winemine enable_winemine
21348 wine_fn_config_makefile programs/winemsibuilder enable_winemsibuilder
21349 wine_fn_config_makefile programs/winepath enable_winepath
21350 wine_fn_config_makefile programs/winetest enable_winetest
21351 wine_fn_config_makefile programs/winevdm enable_win16
21352 wine_fn_config_makefile programs/winhelp.exe16 enable_win16
21353 wine_fn_config_makefile programs/winhlp32 enable_winhlp32
21354 wine_fn_config_makefile programs/winmgmt enable_winmgmt
21355 wine_fn_config_makefile programs/winoldap.mod16 enable_win16
21356 wine_fn_config_makefile programs/winver enable_winver
21357 wine_fn_config_makefile programs/wmic enable_wmic
21358 wine_fn_config_makefile programs/wmplayer enable_wmplayer
21359 wine_fn_config_makefile programs/wordpad enable_wordpad
21360 wine_fn_config_makefile programs/write enable_write
21361 wine_fn_config_makefile programs/wscript enable_wscript
21362 wine_fn_config_makefile programs/wscript/tests enable_tests
21363 wine_fn_config_makefile programs/wuauserv enable_wuauserv
21364 wine_fn_config_makefile programs/wusa enable_wusa
21365 wine_fn_config_makefile programs/xcopy enable_xcopy
21366 wine_fn_config_makefile programs/xcopy/tests enable_tests
21367 wine_fn_config_makefile server enable_server
21368 test "x$enable_tools" = xno || wine_fn_config_makefile tools enable_tools
21369 test "x$enable_tools" = xno || wine_fn_config_makefile tools/sfnt2fon enable_sfnt2fon
21370 test "x$enable_tools" = xno || wine_fn_config_makefile tools/widl enable_widl
21371 test "x$enable_tools" = xno || wine_fn_config_makefile tools/winebuild enable_winebuild
21372 test "x$enable_tools" = xno || wine_fn_config_makefile tools/winedump enable_winedump
21373 test "x$enable_tools" = xno || wine_fn_config_makefile tools/winegcc enable_winegcc
21374 test "x$enable_tools" = xno || wine_fn_config_makefile tools/winemaker enable_winemaker
21375 test "x$enable_tools" = xno || wine_fn_config_makefile tools/wmc enable_wmc
21376 test "x$enable_tools" = xno || wine_fn_config_makefile tools/wrc enable_wrc
21379 wine_fn_append_file CONFIGURE_TARGETS "TAGS"
21380 wine_fn_append_file CONFIGURE_TARGETS "tags"
21381 wine_fn_append_file CONFIGURE_TARGETS "autom4te.cache"
21382 wine_fn_append_file CONFIGURE_TARGETS "config.log"
21383 wine_fn_append_file CONFIGURE_TARGETS "config.status"
21384 wine_fn_append_file CONFIGURE_TARGETS "include/config.h"
21385 wine_fn_append_file CONFIGURE_TARGETS "include/stamp-h"
21386 test "$wine_binary" = wine || wine_fn_append_file CONFIGURE_TARGETS "loader/wine"
21388 if test "x$enable_tools" != xno
21389 then
21390 wine_fn_append_file CONFIGURE_TARGETS "tools/makedep$ac_exeext"
21391 ac_config_commands="$ac_config_commands tools/makedep"
21395 ac_config_commands="$ac_config_commands Makefile"
21398 ac_config_files="$ac_config_files Make.tmp:Makefile.in"
21402 if test "x$enable_maintainer_mode" = xyes
21403 then
21404 wine_fn_append_rule "configure: configure.ac aclocal.m4
21405 autoconf --warnings=all
21406 include/config.h.in: include/stamp-h.in
21407 include/stamp-h.in: configure.ac aclocal.m4
21408 autoheader --warnings=all
21409 @echo timestamp > \$@"
21412 if test "x$enable_tools" != xno
21413 then
21414 wine_fn_append_rule "tools/makedep$ac_exeext: $srcdir/tools/makedep.c include/config.h config.status
21415 @./config.status tools/makedep
21416 Makefile: tools/makedep$ac_exeext"
21417 else
21418 wine_fn_append_rule "\$(MAKEDEP):
21419 @echo \"You need to run make in $TOOLSDIR first\" && false"
21422 if test -n "$with_wine64"
21423 then
21424 case "$with_wine64" in
21425 /*) reldir="" ;;
21426 *) reldir="../" ;;
21427 esac
21428 rm -f fonts server 2>/dev/null
21429 wine_fn_append_rule "all: loader/wine64 loader/wine64-preloader $with_wine64/loader/wine $with_wine64/loader/wine-preloader
21430 loader/wine64 loader/wine64-preloader:
21431 rm -f \$@ && \$(LN_S) $reldir$with_wine64/\$@ \$@
21432 $with_wine64/loader/wine:
21433 rm -f \$@ && \$(LN_S) $ac_pwd/loader/wine \$@
21434 $with_wine64/loader/wine-preloader:
21435 rm -f \$@ && \$(LN_S) $ac_pwd/loader/wine-preloader \$@
21436 clean::
21437 rm -f loader/wine64 loader/wine64-preloader $with_wine64/loader/wine $with_wine64/loader/wine-preloader"
21438 else
21439 TOP_INSTALL_DEV="$TOP_INSTALL_DEV include"
21440 TOP_INSTALL_LIB="$TOP_INSTALL_LIB \
21441 fonts \
21442 loader/wine.inf \
21443 nls \
21444 programs/msidb/msidb \
21445 programs/msiexec/msiexec \
21446 programs/notepad/notepad \
21447 programs/regedit/regedit \
21448 programs/regsvr32/regsvr32 \
21449 programs/wineboot/wineboot \
21450 programs/winecfg/winecfg \
21451 programs/wineconsole/wineconsole \
21452 programs/winedbg/winedbg \
21453 programs/winefile/winefile \
21454 programs/winemine/winemine \
21455 programs/winepath/winepath \
21456 server/wineserver"
21458 case $host_os in
21459 cygwin*|mingw32*|darwin*|macosx*|linux-android*) ;;
21460 *) TOP_INSTALL_LIB="$TOP_INSTALL_LIB loader/wine.desktop" ;;
21461 esac
21464 $as_echo " done" >&6
21465 cat >confcache <<\_ACEOF
21466 # This file is a shell script that caches the results of configure
21467 # tests run on this system so they can be shared between configure
21468 # scripts and configure runs, see configure's option --config-cache.
21469 # It is not useful on other systems. If it contains results you don't
21470 # want to keep, you may remove or edit it.
21472 # config.status only pays attention to the cache file if you give it
21473 # the --recheck option to rerun configure.
21475 # `ac_cv_env_foo' variables (set or unset) will be overridden when
21476 # loading this file, other *unset* `ac_cv_foo' will be assigned the
21477 # following values.
21479 _ACEOF
21481 # The following way of writing the cache mishandles newlines in values,
21482 # but we know of no workaround that is simple, portable, and efficient.
21483 # So, we kill variables containing newlines.
21484 # Ultrix sh set writes to stderr and can't be redirected directly,
21485 # and sets the high bit in the cache file unless we assign to the vars.
21487 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
21488 eval ac_val=\$$ac_var
21489 case $ac_val in #(
21490 *${as_nl}*)
21491 case $ac_var in #(
21492 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
21493 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
21494 esac
21495 case $ac_var in #(
21496 _ | IFS | as_nl) ;; #(
21497 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
21498 *) { eval $ac_var=; unset $ac_var;} ;;
21499 esac ;;
21500 esac
21501 done
21503 (set) 2>&1 |
21504 case $as_nl`(ac_space=' '; set) 2>&1` in #(
21505 *${as_nl}ac_space=\ *)
21506 # `set' does not quote correctly, so add quotes: double-quote
21507 # substitution turns \\\\ into \\, and sed turns \\ into \.
21508 sed -n \
21509 "s/'/'\\\\''/g;
21510 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
21511 ;; #(
21513 # `set' quotes correctly as required by POSIX, so do not add quotes.
21514 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
21516 esac |
21517 sort
21519 sed '
21520 /^ac_cv_env_/b end
21521 t clear
21522 :clear
21523 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
21524 t end
21525 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
21526 :end' >>confcache
21527 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
21528 if test -w "$cache_file"; then
21529 if test "x$cache_file" != "x/dev/null"; then
21530 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
21531 $as_echo "$as_me: updating cache $cache_file" >&6;}
21532 if test ! -f "$cache_file" || test -h "$cache_file"; then
21533 cat confcache >"$cache_file"
21534 else
21535 case $cache_file in #(
21536 */* | ?:*)
21537 mv -f confcache "$cache_file"$$ &&
21538 mv -f "$cache_file"$$ "$cache_file" ;; #(
21540 mv -f confcache "$cache_file" ;;
21541 esac
21544 else
21545 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
21546 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
21549 rm -f confcache
21551 test "x$prefix" = xNONE && prefix=$ac_default_prefix
21552 # Let make expand exec_prefix.
21553 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
21555 DEFS=-DHAVE_CONFIG_H
21557 ac_libobjs=
21558 ac_ltlibobjs=
21560 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
21561 # 1. Remove the extension, and $U if already installed.
21562 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
21563 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
21564 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
21565 # will be set to the directory where LIBOBJS objects are built.
21566 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
21567 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
21568 done
21569 LIBOBJS=$ac_libobjs
21571 LTLIBOBJS=$ac_ltlibobjs
21575 : "${CONFIG_STATUS=./config.status}"
21576 ac_write_fail=0
21577 ac_clean_files_save=$ac_clean_files
21578 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
21579 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
21580 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
21581 as_write_fail=0
21582 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
21583 #! $SHELL
21584 # Generated by $as_me.
21585 # Run this file to recreate the current configuration.
21586 # Compiler output produced by configure, useful for debugging
21587 # configure, is in config.log if it exists.
21589 debug=false
21590 ac_cs_recheck=false
21591 ac_cs_silent=false
21593 SHELL=\${CONFIG_SHELL-$SHELL}
21594 export SHELL
21595 _ASEOF
21596 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
21597 ## -------------------- ##
21598 ## M4sh Initialization. ##
21599 ## -------------------- ##
21601 # Be more Bourne compatible
21602 DUALCASE=1; export DUALCASE # for MKS sh
21603 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
21604 emulate sh
21605 NULLCMD=:
21606 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
21607 # is contrary to our usage. Disable this feature.
21608 alias -g '${1+"$@"}'='"$@"'
21609 setopt NO_GLOB_SUBST
21610 else
21611 case `(set -o) 2>/dev/null` in #(
21612 *posix*) :
21613 set -o posix ;; #(
21614 *) :
21616 esac
21620 as_nl='
21622 export as_nl
21623 # Printing a long string crashes Solaris 7 /usr/bin/printf.
21624 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
21625 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
21626 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
21627 # Prefer a ksh shell builtin over an external printf program on Solaris,
21628 # but without wasting forks for bash or zsh.
21629 if test -z "$BASH_VERSION$ZSH_VERSION" \
21630 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
21631 as_echo='print -r --'
21632 as_echo_n='print -rn --'
21633 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
21634 as_echo='printf %s\n'
21635 as_echo_n='printf %s'
21636 else
21637 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
21638 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
21639 as_echo_n='/usr/ucb/echo -n'
21640 else
21641 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
21642 as_echo_n_body='eval
21643 arg=$1;
21644 case $arg in #(
21645 *"$as_nl"*)
21646 expr "X$arg" : "X\\(.*\\)$as_nl";
21647 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
21648 esac;
21649 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
21651 export as_echo_n_body
21652 as_echo_n='sh -c $as_echo_n_body as_echo'
21654 export as_echo_body
21655 as_echo='sh -c $as_echo_body as_echo'
21658 # The user is always right.
21659 if test "${PATH_SEPARATOR+set}" != set; then
21660 PATH_SEPARATOR=:
21661 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
21662 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
21663 PATH_SEPARATOR=';'
21668 # IFS
21669 # We need space, tab and new line, in precisely that order. Quoting is
21670 # there to prevent editors from complaining about space-tab.
21671 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
21672 # splitting by setting IFS to empty value.)
21673 IFS=" "" $as_nl"
21675 # Find who we are. Look in the path if we contain no directory separator.
21676 as_myself=
21677 case $0 in #((
21678 *[\\/]* ) as_myself=$0 ;;
21679 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
21680 for as_dir in $PATH
21682 IFS=$as_save_IFS
21683 test -z "$as_dir" && as_dir=.
21684 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
21685 done
21686 IFS=$as_save_IFS
21689 esac
21690 # We did not find ourselves, most probably we were run as `sh COMMAND'
21691 # in which case we are not to be found in the path.
21692 if test "x$as_myself" = x; then
21693 as_myself=$0
21695 if test ! -f "$as_myself"; then
21696 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
21697 exit 1
21700 # Unset variables that we do not need and which cause bugs (e.g. in
21701 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
21702 # suppresses any "Segmentation fault" message there. '((' could
21703 # trigger a bug in pdksh 5.2.14.
21704 for as_var in BASH_ENV ENV MAIL MAILPATH
21705 do eval test x\${$as_var+set} = xset \
21706 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
21707 done
21708 PS1='$ '
21709 PS2='> '
21710 PS4='+ '
21712 # NLS nuisances.
21713 LC_ALL=C
21714 export LC_ALL
21715 LANGUAGE=C
21716 export LANGUAGE
21718 # CDPATH.
21719 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
21722 # as_fn_error STATUS ERROR [LINENO LOG_FD]
21723 # ----------------------------------------
21724 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
21725 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
21726 # script with STATUS, using 1 if that was 0.
21727 as_fn_error ()
21729 as_status=$1; test $as_status -eq 0 && as_status=1
21730 if test "$4"; then
21731 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
21732 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
21734 $as_echo "$as_me: error: $2" >&2
21735 as_fn_exit $as_status
21736 } # as_fn_error
21739 # as_fn_set_status STATUS
21740 # -----------------------
21741 # Set $? to STATUS, without forking.
21742 as_fn_set_status ()
21744 return $1
21745 } # as_fn_set_status
21747 # as_fn_exit STATUS
21748 # -----------------
21749 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
21750 as_fn_exit ()
21752 set +e
21753 as_fn_set_status $1
21754 exit $1
21755 } # as_fn_exit
21757 # as_fn_unset VAR
21758 # ---------------
21759 # Portably unset VAR.
21760 as_fn_unset ()
21762 { eval $1=; unset $1;}
21764 as_unset=as_fn_unset
21765 # as_fn_append VAR VALUE
21766 # ----------------------
21767 # Append the text in VALUE to the end of the definition contained in VAR. Take
21768 # advantage of any shell optimizations that allow amortized linear growth over
21769 # repeated appends, instead of the typical quadratic growth present in naive
21770 # implementations.
21771 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
21772 eval 'as_fn_append ()
21774 eval $1+=\$2
21776 else
21777 as_fn_append ()
21779 eval $1=\$$1\$2
21781 fi # as_fn_append
21783 # as_fn_arith ARG...
21784 # ------------------
21785 # Perform arithmetic evaluation on the ARGs, and store the result in the
21786 # global $as_val. Take advantage of shells that can avoid forks. The arguments
21787 # must be portable across $(()) and expr.
21788 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
21789 eval 'as_fn_arith ()
21791 as_val=$(( $* ))
21793 else
21794 as_fn_arith ()
21796 as_val=`expr "$@" || test $? -eq 1`
21798 fi # as_fn_arith
21801 if expr a : '\(a\)' >/dev/null 2>&1 &&
21802 test "X`expr 00001 : '.*\(...\)'`" = X001; then
21803 as_expr=expr
21804 else
21805 as_expr=false
21808 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
21809 as_basename=basename
21810 else
21811 as_basename=false
21814 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
21815 as_dirname=dirname
21816 else
21817 as_dirname=false
21820 as_me=`$as_basename -- "$0" ||
21821 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
21822 X"$0" : 'X\(//\)$' \| \
21823 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
21824 $as_echo X/"$0" |
21825 sed '/^.*\/\([^/][^/]*\)\/*$/{
21826 s//\1/
21829 /^X\/\(\/\/\)$/{
21830 s//\1/
21833 /^X\/\(\/\).*/{
21834 s//\1/
21837 s/.*/./; q'`
21839 # Avoid depending upon Character Ranges.
21840 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
21841 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
21842 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
21843 as_cr_digits='0123456789'
21844 as_cr_alnum=$as_cr_Letters$as_cr_digits
21846 ECHO_C= ECHO_N= ECHO_T=
21847 case `echo -n x` in #(((((
21848 -n*)
21849 case `echo 'xy\c'` in
21850 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
21851 xy) ECHO_C='\c';;
21852 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
21853 ECHO_T=' ';;
21854 esac;;
21856 ECHO_N='-n';;
21857 esac
21859 rm -f conf$$ conf$$.exe conf$$.file
21860 if test -d conf$$.dir; then
21861 rm -f conf$$.dir/conf$$.file
21862 else
21863 rm -f conf$$.dir
21864 mkdir conf$$.dir 2>/dev/null
21866 if (echo >conf$$.file) 2>/dev/null; then
21867 if ln -s conf$$.file conf$$ 2>/dev/null; then
21868 as_ln_s='ln -s'
21869 # ... but there are two gotchas:
21870 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
21871 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
21872 # In both cases, we have to default to `cp -pR'.
21873 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
21874 as_ln_s='cp -pR'
21875 elif ln conf$$.file conf$$ 2>/dev/null; then
21876 as_ln_s=ln
21877 else
21878 as_ln_s='cp -pR'
21880 else
21881 as_ln_s='cp -pR'
21883 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
21884 rmdir conf$$.dir 2>/dev/null
21887 # as_fn_mkdir_p
21888 # -------------
21889 # Create "$as_dir" as a directory, including parents if necessary.
21890 as_fn_mkdir_p ()
21893 case $as_dir in #(
21894 -*) as_dir=./$as_dir;;
21895 esac
21896 test -d "$as_dir" || eval $as_mkdir_p || {
21897 as_dirs=
21898 while :; do
21899 case $as_dir in #(
21900 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
21901 *) as_qdir=$as_dir;;
21902 esac
21903 as_dirs="'$as_qdir' $as_dirs"
21904 as_dir=`$as_dirname -- "$as_dir" ||
21905 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21906 X"$as_dir" : 'X\(//\)[^/]' \| \
21907 X"$as_dir" : 'X\(//\)$' \| \
21908 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
21909 $as_echo X"$as_dir" |
21910 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
21911 s//\1/
21914 /^X\(\/\/\)[^/].*/{
21915 s//\1/
21918 /^X\(\/\/\)$/{
21919 s//\1/
21922 /^X\(\/\).*/{
21923 s//\1/
21926 s/.*/./; q'`
21927 test -d "$as_dir" && break
21928 done
21929 test -z "$as_dirs" || eval "mkdir $as_dirs"
21930 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
21933 } # as_fn_mkdir_p
21934 if mkdir -p . 2>/dev/null; then
21935 as_mkdir_p='mkdir -p "$as_dir"'
21936 else
21937 test -d ./-p && rmdir ./-p
21938 as_mkdir_p=false
21942 # as_fn_executable_p FILE
21943 # -----------------------
21944 # Test if FILE is an executable regular file.
21945 as_fn_executable_p ()
21947 test -f "$1" && test -x "$1"
21948 } # as_fn_executable_p
21949 as_test_x='test -x'
21950 as_executable_p=as_fn_executable_p
21952 # Sed expression to map a string onto a valid CPP name.
21953 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
21955 # Sed expression to map a string onto a valid variable name.
21956 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
21959 exec 6>&1
21960 ## ----------------------------------- ##
21961 ## Main body of $CONFIG_STATUS script. ##
21962 ## ----------------------------------- ##
21963 _ASEOF
21964 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
21966 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
21967 # Save the log message, to keep $0 and so on meaningful, and to
21968 # report actual input values of CONFIG_FILES etc. instead of their
21969 # values after options handling.
21970 ac_log="
21971 This file was extended by Wine $as_me 6.9, which was
21972 generated by GNU Autoconf 2.69. Invocation command line was
21974 CONFIG_FILES = $CONFIG_FILES
21975 CONFIG_HEADERS = $CONFIG_HEADERS
21976 CONFIG_LINKS = $CONFIG_LINKS
21977 CONFIG_COMMANDS = $CONFIG_COMMANDS
21978 $ $0 $@
21980 on `(hostname || uname -n) 2>/dev/null | sed 1q`
21983 _ACEOF
21985 case $ac_config_files in *"
21986 "*) set x $ac_config_files; shift; ac_config_files=$*;;
21987 esac
21989 case $ac_config_headers in *"
21990 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
21991 esac
21994 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
21995 # Files that config.status was made for.
21996 config_files="$ac_config_files"
21997 config_headers="$ac_config_headers"
21998 config_links="$ac_config_links"
21999 config_commands="$ac_config_commands"
22001 _ACEOF
22003 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22004 ac_cs_usage="\
22005 \`$as_me' instantiates files and other configuration actions
22006 from templates according to the current configuration. Unless the files
22007 and actions are specified as TAGs, all are instantiated by default.
22009 Usage: $0 [OPTION]... [TAG]...
22011 -h, --help print this help, then exit
22012 -V, --version print version number and configuration settings, then exit
22013 --config print configuration, then exit
22014 -q, --quiet, --silent
22015 do not print progress messages
22016 -d, --debug don't remove temporary files
22017 --recheck update $as_me by reconfiguring in the same conditions
22018 --file=FILE[:TEMPLATE]
22019 instantiate the configuration file FILE
22020 --header=FILE[:TEMPLATE]
22021 instantiate the configuration header FILE
22023 Configuration files:
22024 $config_files
22026 Configuration headers:
22027 $config_headers
22029 Configuration links:
22030 $config_links
22032 Configuration commands:
22033 $config_commands
22035 Report bugs to <wine-devel@winehq.org>.
22036 Wine home page: <https://www.winehq.org>."
22038 _ACEOF
22039 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22040 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
22041 ac_cs_version="\\
22042 Wine config.status 6.9
22043 configured by $0, generated by GNU Autoconf 2.69,
22044 with options \\"\$ac_cs_config\\"
22046 Copyright (C) 2012 Free Software Foundation, Inc.
22047 This config.status script is free software; the Free Software Foundation
22048 gives unlimited permission to copy, distribute and modify it."
22050 ac_pwd='$ac_pwd'
22051 srcdir='$srcdir'
22052 test -n "\$AWK" || AWK=awk
22053 _ACEOF
22055 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22056 # The default lists apply if the user does not specify any file.
22057 ac_need_defaults=:
22058 while test $# != 0
22060 case $1 in
22061 --*=?*)
22062 ac_option=`expr "X$1" : 'X\([^=]*\)='`
22063 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
22064 ac_shift=:
22066 --*=)
22067 ac_option=`expr "X$1" : 'X\([^=]*\)='`
22068 ac_optarg=
22069 ac_shift=:
22072 ac_option=$1
22073 ac_optarg=$2
22074 ac_shift=shift
22076 esac
22078 case $ac_option in
22079 # Handling of the options.
22080 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
22081 ac_cs_recheck=: ;;
22082 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
22083 $as_echo "$ac_cs_version"; exit ;;
22084 --config | --confi | --conf | --con | --co | --c )
22085 $as_echo "$ac_cs_config"; exit ;;
22086 --debug | --debu | --deb | --de | --d | -d )
22087 debug=: ;;
22088 --file | --fil | --fi | --f )
22089 $ac_shift
22090 case $ac_optarg in
22091 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
22092 '') as_fn_error $? "missing file argument" ;;
22093 esac
22094 as_fn_append CONFIG_FILES " '$ac_optarg'"
22095 ac_need_defaults=false;;
22096 --header | --heade | --head | --hea )
22097 $ac_shift
22098 case $ac_optarg in
22099 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
22100 esac
22101 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
22102 ac_need_defaults=false;;
22103 --he | --h)
22104 # Conflict between --help and --header
22105 as_fn_error $? "ambiguous option: \`$1'
22106 Try \`$0 --help' for more information.";;
22107 --help | --hel | -h )
22108 $as_echo "$ac_cs_usage"; exit ;;
22109 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
22110 | -silent | --silent | --silen | --sile | --sil | --si | --s)
22111 ac_cs_silent=: ;;
22113 # This is an error.
22114 -*) as_fn_error $? "unrecognized option: \`$1'
22115 Try \`$0 --help' for more information." ;;
22117 *) as_fn_append ac_config_targets " $1"
22118 ac_need_defaults=false ;;
22120 esac
22121 shift
22122 done
22124 ac_configure_extra_args=
22126 if $ac_cs_silent; then
22127 exec 6>/dev/null
22128 ac_configure_extra_args="$ac_configure_extra_args --silent"
22131 _ACEOF
22132 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22133 if \$ac_cs_recheck; then
22134 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
22135 shift
22136 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
22137 CONFIG_SHELL='$SHELL'
22138 export CONFIG_SHELL
22139 exec "\$@"
22142 _ACEOF
22143 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22144 exec 5>>config.log
22146 echo
22147 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
22148 ## Running $as_me. ##
22149 _ASBOX
22150 $as_echo "$ac_log"
22151 } >&5
22153 _ACEOF
22154 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22156 # INIT-COMMANDS
22158 wine_fn_output_makedep ()
22160 as_dir=tools; as_fn_mkdir_p
22161 $CC -Iinclude -I$srcdir/include -D__WINESRC__ $EXTRACFLAGS $CPPFLAGS $CFLAGS -o tools/makedep$ac_exeext $srcdir/tools/makedep.c $LDFLAGS
22163 wine_fn_output_makefile ()
22165 cat Make.tmp - <<\_WINE_EOF >\$tmp/makefile && mv -f \$tmp/makefile \$1 && rm -f Make.tmp && "$wine_makedep"$makedep_flags && return
22166 `cat $wine_rules_file`
22167 _WINE_EOF
22168 as_fn_error $? "could not create Makefile" "$LINENO" 5
22171 _ACEOF
22173 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22175 # Handling of arguments.
22176 for ac_config_target in $ac_config_targets
22178 case $ac_config_target in
22179 "include/config.h") CONFIG_HEADERS="$CONFIG_HEADERS include/config.h" ;;
22180 "include/stamp-h") CONFIG_COMMANDS="$CONFIG_COMMANDS include/stamp-h" ;;
22181 "wine") CONFIG_LINKS="$CONFIG_LINKS wine:tools/winewrapper" ;;
22182 "wine64") CONFIG_LINKS="$CONFIG_LINKS wine64:tools/winewrapper" ;;
22183 "tools/makedep") CONFIG_COMMANDS="$CONFIG_COMMANDS tools/makedep" ;;
22184 "Makefile") CONFIG_COMMANDS="$CONFIG_COMMANDS Makefile" ;;
22185 "Make.tmp") CONFIG_FILES="$CONFIG_FILES Make.tmp:Makefile.in" ;;
22187 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
22188 esac
22189 done
22192 # If the user did not use the arguments to specify the items to instantiate,
22193 # then the envvar interface is used. Set only those that are not.
22194 # We use the long form for the default assignment because of an extremely
22195 # bizarre bug on SunOS 4.1.3.
22196 if $ac_need_defaults; then
22197 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
22198 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
22199 test "${CONFIG_LINKS+set}" = set || CONFIG_LINKS=$config_links
22200 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
22203 # Have a temporary directory for convenience. Make it in the build tree
22204 # simply because there is no reason against having it here, and in addition,
22205 # creating and moving files from /tmp can sometimes cause problems.
22206 # Hook for its removal unless debugging.
22207 # Note that there is a small window in which the directory will not be cleaned:
22208 # after its creation but before its name has been assigned to `$tmp'.
22209 $debug ||
22211 tmp= ac_tmp=
22212 trap 'exit_status=$?
22213 : "${ac_tmp:=$tmp}"
22214 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
22216 trap 'as_fn_exit 1' 1 2 13 15
22218 # Create a (secure) tmp directory for tmp files.
22221 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
22222 test -d "$tmp"
22223 } ||
22225 tmp=./conf$$-$RANDOM
22226 (umask 077 && mkdir "$tmp")
22227 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
22228 ac_tmp=$tmp
22230 # Set up the scripts for CONFIG_FILES section.
22231 # No need to generate them if there are no CONFIG_FILES.
22232 # This happens for instance with `./config.status config.h'.
22233 if test -n "$CONFIG_FILES"; then
22236 ac_cr=`echo X | tr X '\015'`
22237 # On cygwin, bash can eat \r inside `` if the user requested igncr.
22238 # But we know of no other shell where ac_cr would be empty at this
22239 # point, so we can use a bashism as a fallback.
22240 if test "x$ac_cr" = x; then
22241 eval ac_cr=\$\'\\r\'
22243 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
22244 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
22245 ac_cs_awk_cr='\\r'
22246 else
22247 ac_cs_awk_cr=$ac_cr
22250 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
22251 _ACEOF
22255 echo "cat >conf$$subs.awk <<_ACEOF" &&
22256 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
22257 echo "_ACEOF"
22258 } >conf$$subs.sh ||
22259 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
22260 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
22261 ac_delim='%!_!# '
22262 for ac_last_try in false false false false false :; do
22263 . ./conf$$subs.sh ||
22264 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
22266 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
22267 if test $ac_delim_n = $ac_delim_num; then
22268 break
22269 elif $ac_last_try; then
22270 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
22271 else
22272 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
22274 done
22275 rm -f conf$$subs.sh
22277 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22278 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
22279 _ACEOF
22280 sed -n '
22282 s/^/S["/; s/!.*/"]=/
22285 s/^[^!]*!//
22286 :repl
22287 t repl
22288 s/'"$ac_delim"'$//
22289 t delim
22292 s/\(.\{148\}\)..*/\1/
22293 t more1
22294 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
22297 b repl
22298 :more1
22299 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
22302 s/.\{148\}//
22303 t nl
22304 :delim
22306 s/\(.\{148\}\)..*/\1/
22307 t more2
22308 s/["\\]/\\&/g; s/^/"/; s/$/"/
22311 :more2
22312 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
22315 s/.\{148\}//
22316 t delim
22317 ' <conf$$subs.awk | sed '
22318 /^[^""]/{
22320 s/\n//
22322 ' >>$CONFIG_STATUS || ac_write_fail=1
22323 rm -f conf$$subs.awk
22324 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22325 _ACAWK
22326 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
22327 for (key in S) S_is_set[key] = 1
22328 FS = "\a"
22332 line = $ 0
22333 nfields = split(line, field, "@")
22334 substed = 0
22335 len = length(field[1])
22336 for (i = 2; i < nfields; i++) {
22337 key = field[i]
22338 keylen = length(key)
22339 if (S_is_set[key]) {
22340 value = S[key]
22341 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
22342 len += length(value) + length(field[++i])
22343 substed = 1
22344 } else
22345 len += 1 + keylen
22348 print line
22351 _ACAWK
22352 _ACEOF
22353 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22354 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
22355 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
22356 else
22358 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
22359 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
22360 _ACEOF
22362 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
22363 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
22364 # trailing colons and then remove the whole line if VPATH becomes empty
22365 # (actually we leave an empty line to preserve line numbers).
22366 if test "x$srcdir" = x.; then
22367 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
22369 s///
22370 s/^/:/
22371 s/[ ]*$/:/
22372 s/:\$(srcdir):/:/g
22373 s/:\${srcdir}:/:/g
22374 s/:@srcdir@:/:/g
22375 s/^:*//
22376 s/:*$//
22378 s/\(=[ ]*\).*/\1/
22380 s/\n//
22381 s/^[^=]*=[ ]*$//
22385 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22386 fi # test -n "$CONFIG_FILES"
22388 # Set up the scripts for CONFIG_HEADERS section.
22389 # No need to generate them if there are no CONFIG_HEADERS.
22390 # This happens for instance with `./config.status Makefile'.
22391 if test -n "$CONFIG_HEADERS"; then
22392 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
22393 BEGIN {
22394 _ACEOF
22396 # Transform confdefs.h into an awk script `defines.awk', embedded as
22397 # here-document in config.status, that substitutes the proper values into
22398 # config.h.in to produce config.h.
22400 # Create a delimiter string that does not exist in confdefs.h, to ease
22401 # handling of long lines.
22402 ac_delim='%!_!# '
22403 for ac_last_try in false false :; do
22404 ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
22405 if test -z "$ac_tt"; then
22406 break
22407 elif $ac_last_try; then
22408 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
22409 else
22410 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
22412 done
22414 # For the awk script, D is an array of macro values keyed by name,
22415 # likewise P contains macro parameters if any. Preserve backslash
22416 # newline sequences.
22418 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
22419 sed -n '
22420 s/.\{148\}/&'"$ac_delim"'/g
22421 t rset
22422 :rset
22423 s/^[ ]*#[ ]*define[ ][ ]*/ /
22424 t def
22426 :def
22427 s/\\$//
22428 t bsnl
22429 s/["\\]/\\&/g
22430 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
22431 D["\1"]=" \3"/p
22432 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
22434 :bsnl
22435 s/["\\]/\\&/g
22436 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
22437 D["\1"]=" \3\\\\\\n"\\/p
22438 t cont
22439 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
22440 t cont
22442 :cont
22444 s/.\{148\}/&'"$ac_delim"'/g
22445 t clear
22446 :clear
22447 s/\\$//
22448 t bsnlc
22449 s/["\\]/\\&/g; s/^/"/; s/$/"/p
22451 :bsnlc
22452 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
22453 b cont
22454 ' <confdefs.h | sed '
22455 s/'"$ac_delim"'/"\\\
22456 "/g' >>$CONFIG_STATUS || ac_write_fail=1
22458 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22459 for (key in D) D_is_set[key] = 1
22460 FS = "\a"
22462 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
22463 line = \$ 0
22464 split(line, arg, " ")
22465 if (arg[1] == "#") {
22466 defundef = arg[2]
22467 mac1 = arg[3]
22468 } else {
22469 defundef = substr(arg[1], 2)
22470 mac1 = arg[2]
22472 split(mac1, mac2, "(") #)
22473 macro = mac2[1]
22474 prefix = substr(line, 1, index(line, defundef) - 1)
22475 if (D_is_set[macro]) {
22476 # Preserve the white space surrounding the "#".
22477 print prefix "define", macro P[macro] D[macro]
22478 next
22479 } else {
22480 # Replace #undef with comments. This is necessary, for example,
22481 # in the case of _POSIX_SOURCE, which is predefined and required
22482 # on some systems where configure will not decide to define it.
22483 if (defundef == "undef") {
22484 print "/*", prefix defundef, macro, "*/"
22485 next
22489 { print }
22490 _ACAWK
22491 _ACEOF
22492 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22493 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
22494 fi # test -n "$CONFIG_HEADERS"
22497 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :L $CONFIG_LINKS :C $CONFIG_COMMANDS"
22498 shift
22499 for ac_tag
22501 case $ac_tag in
22502 :[FHLC]) ac_mode=$ac_tag; continue;;
22503 esac
22504 case $ac_mode$ac_tag in
22505 :[FHL]*:*);;
22506 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
22507 :[FH]-) ac_tag=-:-;;
22508 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
22509 esac
22510 ac_save_IFS=$IFS
22511 IFS=:
22512 set x $ac_tag
22513 IFS=$ac_save_IFS
22514 shift
22515 ac_file=$1
22516 shift
22518 case $ac_mode in
22519 :L) ac_source=$1;;
22520 :[FH])
22521 ac_file_inputs=
22522 for ac_f
22524 case $ac_f in
22525 -) ac_f="$ac_tmp/stdin";;
22526 *) # Look for the file first in the build tree, then in the source tree
22527 # (if the path is not absolute). The absolute path cannot be DOS-style,
22528 # because $ac_f cannot contain `:'.
22529 test -f "$ac_f" ||
22530 case $ac_f in
22531 [\\/$]*) false;;
22532 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
22533 esac ||
22534 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
22535 esac
22536 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
22537 as_fn_append ac_file_inputs " '$ac_f'"
22538 done
22540 # Let's still pretend it is `configure' which instantiates (i.e., don't
22541 # use $as_me), people would be surprised to read:
22542 # /* config.h. Generated by config.status. */
22543 configure_input='Generated from '`
22544 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
22545 `' by configure.'
22546 if test x"$ac_file" != x-; then
22547 configure_input="$ac_file. $configure_input"
22548 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
22549 $as_echo "$as_me: creating $ac_file" >&6;}
22551 # Neutralize special characters interpreted by sed in replacement strings.
22552 case $configure_input in #(
22553 *\&* | *\|* | *\\* )
22554 ac_sed_conf_input=`$as_echo "$configure_input" |
22555 sed 's/[\\\\&|]/\\\\&/g'`;; #(
22556 *) ac_sed_conf_input=$configure_input;;
22557 esac
22559 case $ac_tag in
22560 *:-:* | *:-) cat >"$ac_tmp/stdin" \
22561 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
22562 esac
22564 esac
22566 ac_dir=`$as_dirname -- "$ac_file" ||
22567 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
22568 X"$ac_file" : 'X\(//\)[^/]' \| \
22569 X"$ac_file" : 'X\(//\)$' \| \
22570 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
22571 $as_echo X"$ac_file" |
22572 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
22573 s//\1/
22576 /^X\(\/\/\)[^/].*/{
22577 s//\1/
22580 /^X\(\/\/\)$/{
22581 s//\1/
22584 /^X\(\/\).*/{
22585 s//\1/
22588 s/.*/./; q'`
22589 as_dir="$ac_dir"; as_fn_mkdir_p
22590 ac_builddir=.
22592 case "$ac_dir" in
22593 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
22595 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
22596 # A ".." for each directory in $ac_dir_suffix.
22597 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
22598 case $ac_top_builddir_sub in
22599 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
22600 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
22601 esac ;;
22602 esac
22603 ac_abs_top_builddir=$ac_pwd
22604 ac_abs_builddir=$ac_pwd$ac_dir_suffix
22605 # for backward compatibility:
22606 ac_top_builddir=$ac_top_build_prefix
22608 case $srcdir in
22609 .) # We are building in place.
22610 ac_srcdir=.
22611 ac_top_srcdir=$ac_top_builddir_sub
22612 ac_abs_top_srcdir=$ac_pwd ;;
22613 [\\/]* | ?:[\\/]* ) # Absolute name.
22614 ac_srcdir=$srcdir$ac_dir_suffix;
22615 ac_top_srcdir=$srcdir
22616 ac_abs_top_srcdir=$srcdir ;;
22617 *) # Relative name.
22618 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
22619 ac_top_srcdir=$ac_top_build_prefix$srcdir
22620 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
22621 esac
22622 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
22625 case $ac_mode in
22628 # CONFIG_FILE
22631 _ACEOF
22633 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22634 # If the template does not know about datarootdir, expand it.
22635 # FIXME: This hack should be removed a few years after 2.60.
22636 ac_datarootdir_hack=; ac_datarootdir_seen=
22637 ac_sed_dataroot='
22638 /datarootdir/ {
22642 /@datadir@/p
22643 /@docdir@/p
22644 /@infodir@/p
22645 /@localedir@/p
22646 /@mandir@/p'
22647 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
22648 *datarootdir*) ac_datarootdir_seen=yes;;
22649 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
22650 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
22651 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
22652 _ACEOF
22653 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22654 ac_datarootdir_hack='
22655 s&@datadir@&$datadir&g
22656 s&@docdir@&$docdir&g
22657 s&@infodir@&$infodir&g
22658 s&@localedir@&$localedir&g
22659 s&@mandir@&$mandir&g
22660 s&\\\${datarootdir}&$datarootdir&g' ;;
22661 esac
22662 _ACEOF
22664 # Neutralize VPATH when `$srcdir' = `.'.
22665 # Shell code in configure.ac might set extrasub.
22666 # FIXME: do we really want to maintain this feature?
22667 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22668 ac_sed_extra="$ac_vpsub
22669 $extrasub
22670 _ACEOF
22671 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22673 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
22674 s|@configure_input@|$ac_sed_conf_input|;t t
22675 s&@top_builddir@&$ac_top_builddir_sub&;t t
22676 s&@top_build_prefix@&$ac_top_build_prefix&;t t
22677 s&@srcdir@&$ac_srcdir&;t t
22678 s&@abs_srcdir@&$ac_abs_srcdir&;t t
22679 s&@top_srcdir@&$ac_top_srcdir&;t t
22680 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
22681 s&@builddir@&$ac_builddir&;t t
22682 s&@abs_builddir@&$ac_abs_builddir&;t t
22683 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
22684 $ac_datarootdir_hack
22686 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
22687 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
22689 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
22690 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
22691 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
22692 "$ac_tmp/out"`; test -z "$ac_out"; } &&
22693 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
22694 which seems to be undefined. Please make sure it is defined" >&5
22695 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
22696 which seems to be undefined. Please make sure it is defined" >&2;}
22698 rm -f "$ac_tmp/stdin"
22699 case $ac_file in
22700 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
22701 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
22702 esac \
22703 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
22707 # CONFIG_HEADER
22709 if test x"$ac_file" != x-; then
22711 $as_echo "/* $configure_input */" \
22712 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
22713 } >"$ac_tmp/config.h" \
22714 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
22715 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
22716 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
22717 $as_echo "$as_me: $ac_file is unchanged" >&6;}
22718 else
22719 rm -f "$ac_file"
22720 mv "$ac_tmp/config.h" "$ac_file" \
22721 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
22723 else
22724 $as_echo "/* $configure_input */" \
22725 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
22726 || as_fn_error $? "could not create -" "$LINENO" 5
22731 # CONFIG_LINK
22734 if test "$ac_source" = "$ac_file" && test "$srcdir" = '.'; then
22736 else
22737 # Prefer the file from the source tree if names are identical.
22738 if test "$ac_source" = "$ac_file" || test ! -r "$ac_source"; then
22739 ac_source=$srcdir/$ac_source
22742 { $as_echo "$as_me:${as_lineno-$LINENO}: linking $ac_source to $ac_file" >&5
22743 $as_echo "$as_me: linking $ac_source to $ac_file" >&6;}
22745 if test ! -r "$ac_source"; then
22746 as_fn_error $? "$ac_source: file not found" "$LINENO" 5
22748 rm -f "$ac_file"
22750 # Try a relative symlink, then a hard link, then a copy.
22751 case $ac_source in
22752 [\\/$]* | ?:[\\/]* ) ac_rel_source=$ac_source ;;
22753 *) ac_rel_source=$ac_top_build_prefix$ac_source ;;
22754 esac
22755 ln -s "$ac_rel_source" "$ac_file" 2>/dev/null ||
22756 ln "$ac_source" "$ac_file" 2>/dev/null ||
22757 cp -p "$ac_source" "$ac_file" ||
22758 as_fn_error $? "cannot link or copy $ac_source to $ac_file" "$LINENO" 5
22761 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
22762 $as_echo "$as_me: executing $ac_file commands" >&6;}
22764 esac
22767 case $ac_file$ac_mode in
22768 "include/stamp-h":C) echo timestamp > include/stamp-h ;;
22769 "tools/makedep":C) wine_fn_output_makedep || as_fn_exit $? ;;
22770 "Makefile":C) wine_fn_output_makefile Makefile ;;
22772 esac
22773 done # for ac_tag
22776 as_fn_exit 0
22777 _ACEOF
22778 ac_clean_files=$ac_clean_files_save
22780 test $ac_write_fail = 0 ||
22781 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
22784 # configure is writing to config.log, and then calls config.status.
22785 # config.status does its own redirection, appending to config.log.
22786 # Unfortunately, on DOS this fails, as config.log is still kept open
22787 # by configure, so config.status won't be able to write to it; its
22788 # output is simply discarded. So we exec the FD to /dev/null,
22789 # effectively closing config.log, so it can be properly (re)opened and
22790 # appended to by config.status. When coming back to configure, we
22791 # need to make the FD available again.
22792 if test "$no_create" != yes; then
22793 ac_cs_success=:
22794 ac_config_status_args=
22795 test "$silent" = yes &&
22796 ac_config_status_args="$ac_config_status_args --quiet"
22797 exec 5>/dev/null
22798 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
22799 exec 5>>config.log
22800 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
22801 # would make configure fail if this is the last instruction.
22802 $ac_cs_success || as_fn_exit 1
22804 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
22805 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
22806 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
22810 if test "$no_create" = "yes"
22811 then
22812 exit 0
22815 ac_save_IFS="$IFS"
22816 if test "x$wine_notices" != x; then
22817 echo >&6
22818 IFS="|"
22819 for msg in $wine_notices; do
22820 IFS="$ac_save_IFS"
22821 if ${msg:+false} :; then :
22823 else
22824 { $as_echo "$as_me:${as_lineno-$LINENO}: $msg" >&5
22825 $as_echo "$as_me: $msg" >&6;}
22827 done
22829 IFS="|"
22830 for msg in $wine_warnings; do
22831 IFS="$ac_save_IFS"
22832 if ${msg:+false} :; then :
22834 else
22835 echo >&2
22836 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $msg" >&5
22837 $as_echo "$as_me: WARNING: $msg" >&2;}
22839 done
22840 IFS="$ac_save_IFS"
22842 $as_echo "
22843 $as_me: Finished. Do '${ac_make}' to compile Wine.
22844 " >&6