mf/session: Reset per-node end of stream flags when stopped.
[wine.git] / configure
blobc38153e53cf2bfc495253c6dff2f37c9a52b480e
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.69 for Wine 6.10.
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.10'
584 PACKAGE_STRING='Wine 6.10'
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_dpnhupnp
1287 enable_dpnlobby
1288 enable_dpvoice
1289 enable_dpwsockx
1290 enable_drmclien
1291 enable_dsdmo
1292 enable_dsound
1293 enable_dsquery
1294 enable_dssenh
1295 enable_dsuiext
1296 enable_dswave
1297 enable_dwmapi
1298 enable_dwrite
1299 enable_dx8vb
1300 enable_dxdiagn
1301 enable_dxerr8
1302 enable_dxerr9
1303 enable_dxgi
1304 enable_dxguid
1305 enable_dxva2
1306 enable_esent
1307 enable_evr
1308 enable_explorerframe
1309 enable_ext_ms_win_authz_context_l1_1_0
1310 enable_ext_ms_win_domainjoin_netjoin_l1_1_0
1311 enable_ext_ms_win_dwmapi_ext_l1_1_0
1312 enable_ext_ms_win_gdi_dc_create_l1_1_0
1313 enable_ext_ms_win_gdi_dc_create_l1_1_1
1314 enable_ext_ms_win_gdi_dc_l1_2_0
1315 enable_ext_ms_win_gdi_devcaps_l1_1_0
1316 enable_ext_ms_win_gdi_draw_l1_1_0
1317 enable_ext_ms_win_gdi_draw_l1_1_1
1318 enable_ext_ms_win_gdi_font_l1_1_0
1319 enable_ext_ms_win_gdi_font_l1_1_1
1320 enable_ext_ms_win_gdi_render_l1_1_0
1321 enable_ext_ms_win_kernel32_package_current_l1_1_0
1322 enable_ext_ms_win_kernel32_package_l1_1_1
1323 enable_ext_ms_win_ntuser_dialogbox_l1_1_0
1324 enable_ext_ms_win_ntuser_draw_l1_1_0
1325 enable_ext_ms_win_ntuser_gui_l1_1_0
1326 enable_ext_ms_win_ntuser_gui_l1_3_0
1327 enable_ext_ms_win_ntuser_keyboard_l1_3_0
1328 enable_ext_ms_win_ntuser_message_l1_1_0
1329 enable_ext_ms_win_ntuser_message_l1_1_1
1330 enable_ext_ms_win_ntuser_misc_l1_1_0
1331 enable_ext_ms_win_ntuser_misc_l1_2_0
1332 enable_ext_ms_win_ntuser_misc_l1_5_1
1333 enable_ext_ms_win_ntuser_mouse_l1_1_0
1334 enable_ext_ms_win_ntuser_private_l1_1_1
1335 enable_ext_ms_win_ntuser_private_l1_3_1
1336 enable_ext_ms_win_ntuser_rectangle_ext_l1_1_0
1337 enable_ext_ms_win_ntuser_uicontext_ext_l1_1_0
1338 enable_ext_ms_win_ntuser_window_l1_1_0
1339 enable_ext_ms_win_ntuser_window_l1_1_1
1340 enable_ext_ms_win_ntuser_window_l1_1_4
1341 enable_ext_ms_win_ntuser_windowclass_l1_1_0
1342 enable_ext_ms_win_ntuser_windowclass_l1_1_1
1343 enable_ext_ms_win_oleacc_l1_1_0
1344 enable_ext_ms_win_ras_rasapi32_l1_1_0
1345 enable_ext_ms_win_rtcore_gdi_devcaps_l1_1_0
1346 enable_ext_ms_win_rtcore_gdi_object_l1_1_0
1347 enable_ext_ms_win_rtcore_gdi_rgn_l1_1_0
1348 enable_ext_ms_win_rtcore_ntuser_cursor_l1_1_0
1349 enable_ext_ms_win_rtcore_ntuser_dc_access_l1_1_0
1350 enable_ext_ms_win_rtcore_ntuser_dpi_l1_1_0
1351 enable_ext_ms_win_rtcore_ntuser_dpi_l1_2_0
1352 enable_ext_ms_win_rtcore_ntuser_rawinput_l1_1_0
1353 enable_ext_ms_win_rtcore_ntuser_syscolors_l1_1_0
1354 enable_ext_ms_win_rtcore_ntuser_sysparams_l1_1_0
1355 enable_ext_ms_win_security_credui_l1_1_0
1356 enable_ext_ms_win_security_cryptui_l1_1_0
1357 enable_ext_ms_win_shell_comctl32_init_l1_1_0
1358 enable_ext_ms_win_shell_comdlg32_l1_1_0
1359 enable_ext_ms_win_shell_shell32_l1_2_0
1360 enable_ext_ms_win_uxtheme_themes_l1_1_0
1361 enable_faultrep
1362 enable_feclient
1363 enable_fltlib
1364 enable_fltmgr_sys
1365 enable_fntcache
1366 enable_fontsub
1367 enable_fusion
1368 enable_fwpuclnt
1369 enable_gameux
1370 enable_gamingtcui
1371 enable_gdi32
1372 enable_gdiplus
1373 enable_glu32
1374 enable_gphoto2_ds
1375 enable_gpkcsp
1376 enable_hal
1377 enable_hhctrl_ocx
1378 enable_hid
1379 enable_hidclass_sys
1380 enable_hlink
1381 enable_hnetcfg
1382 enable_http_sys
1383 enable_httpapi
1384 enable_iccvid
1385 enable_icmp
1386 enable_ieframe
1387 enable_ieproxy
1388 enable_imaadp32_acm
1389 enable_imagehlp
1390 enable_imm32
1391 enable_inetcomm
1392 enable_inetcpl_cpl
1393 enable_inetmib1
1394 enable_infosoft
1395 enable_initpki
1396 enable_inkobj
1397 enable_inseng
1398 enable_iphlpapi
1399 enable_iprop
1400 enable_irprops_cpl
1401 enable_itircl
1402 enable_itss
1403 enable_joy_cpl
1404 enable_jscript
1405 enable_jsproxy
1406 enable_kerberos
1407 enable_kernel32
1408 enable_kernelbase
1409 enable_ksecdd_sys
1410 enable_ksproxy_ax
1411 enable_ksuser
1412 enable_ktmw32
1413 enable_l3codeca_acm
1414 enable_loadperf
1415 enable_localspl
1416 enable_localui
1417 enable_lz32
1418 enable_mapi32
1419 enable_mapistub
1420 enable_mciavi32
1421 enable_mcicda
1422 enable_mciqtz32
1423 enable_mciseq
1424 enable_mciwave
1425 enable_mf
1426 enable_mf3216
1427 enable_mferror
1428 enable_mfmediaengine
1429 enable_mfplat
1430 enable_mfplay
1431 enable_mfreadwrite
1432 enable_mfuuid
1433 enable_mgmtapi
1434 enable_midimap
1435 enable_mlang
1436 enable_mmcndmgr
1437 enable_mmdevapi
1438 enable_mountmgr_sys
1439 enable_mp3dmod
1440 enable_mpr
1441 enable_mprapi
1442 enable_msacm32_drv
1443 enable_msacm32
1444 enable_msado15
1445 enable_msadp32_acm
1446 enable_msasn1
1447 enable_mscat32
1448 enable_mscms
1449 enable_mscoree
1450 enable_mscorwks
1451 enable_msctf
1452 enable_msctfp
1453 enable_msdaps
1454 enable_msdelta
1455 enable_msdmo
1456 enable_msdrm
1457 enable_msftedit
1458 enable_msg711_acm
1459 enable_msgsm32_acm
1460 enable_mshtml_tlb
1461 enable_mshtml
1462 enable_msi
1463 enable_msident
1464 enable_msimg32
1465 enable_msimsg
1466 enable_msimtf
1467 enable_msisip
1468 enable_msisys_ocx
1469 enable_msls31
1470 enable_msnet32
1471 enable_mspatcha
1472 enable_msports
1473 enable_msrle32
1474 enable_msscript_ocx
1475 enable_mssign32
1476 enable_mssip32
1477 enable_mstask
1478 enable_msv1_0
1479 enable_msvcirt
1480 enable_msvcm80
1481 enable_msvcm90
1482 enable_msvcp100
1483 enable_msvcp110
1484 enable_msvcp120
1485 enable_msvcp120_app
1486 enable_msvcp140
1487 enable_msvcp140_1
1488 enable_msvcp60
1489 enable_msvcp70
1490 enable_msvcp71
1491 enable_msvcp80
1492 enable_msvcp90
1493 enable_msvcr100
1494 enable_msvcr110
1495 enable_msvcr120
1496 enable_msvcr120_app
1497 enable_msvcr70
1498 enable_msvcr71
1499 enable_msvcr80
1500 enable_msvcr90
1501 enable_msvcrt
1502 enable_msvcrt20
1503 enable_msvcrt40
1504 enable_msvcrtd
1505 enable_msvfw32
1506 enable_msvidc32
1507 enable_mswsock
1508 enable_msxml
1509 enable_msxml2
1510 enable_msxml3
1511 enable_msxml4
1512 enable_msxml6
1513 enable_mtxdm
1514 enable_ncrypt
1515 enable_nddeapi
1516 enable_ndis_sys
1517 enable_netapi32
1518 enable_netcfgx
1519 enable_netio_sys
1520 enable_netprofm
1521 enable_netutils
1522 enable_newdev
1523 enable_ninput
1524 enable_normaliz
1525 enable_npmshtml
1526 enable_npptools
1527 enable_ntdll
1528 enable_ntdsapi
1529 enable_ntoskrnl_exe
1530 enable_ntprint
1531 enable_objsel
1532 enable_odbc32
1533 enable_odbcbcp
1534 enable_odbccp32
1535 enable_odbccu32
1536 enable_ole32
1537 enable_oleacc
1538 enable_oleaut32
1539 enable_olecli32
1540 enable_oledb32
1541 enable_oledlg
1542 enable_olepro32
1543 enable_olesvr32
1544 enable_olethk32
1545 enable_opcservices
1546 enable_openal32
1547 enable_opencl
1548 enable_opengl32
1549 enable_packager
1550 enable_pdh
1551 enable_photometadatahandler
1552 enable_pidgen
1553 enable_powrprof
1554 enable_printui
1555 enable_prntvpt
1556 enable_propsys
1557 enable_psapi
1558 enable_pstorec
1559 enable_pwrshplugin
1560 enable_qasf
1561 enable_qcap
1562 enable_qdvd
1563 enable_qedit
1564 enable_qmgr
1565 enable_qmgrprxy
1566 enable_quartz
1567 enable_query
1568 enable_qwave
1569 enable_rasapi32
1570 enable_rasdlg
1571 enable_regapi
1572 enable_resutils
1573 enable_riched20
1574 enable_riched32
1575 enable_rpcrt4
1576 enable_rsabase
1577 enable_rsaenh
1578 enable_rstrtmgr
1579 enable_rtutils
1580 enable_rtworkq
1581 enable_samlib
1582 enable_sane_ds
1583 enable_sapi
1584 enable_sas
1585 enable_scarddlg
1586 enable_sccbase
1587 enable_schannel
1588 enable_schedsvc
1589 enable_scrobj
1590 enable_scrrun
1591 enable_scsiport_sys
1592 enable_sechost
1593 enable_secur32
1594 enable_security
1595 enable_sensapi
1596 enable_serialui
1597 enable_setupapi
1598 enable_sfc
1599 enable_sfc_os
1600 enable_shcore
1601 enable_shdoclc
1602 enable_shdocvw
1603 enable_shell32
1604 enable_shfolder
1605 enable_shlwapi
1606 enable_slbcsp
1607 enable_slc
1608 enable_snmpapi
1609 enable_softpub
1610 enable_spoolss
1611 enable_sppc
1612 enable_srclient
1613 enable_srvcli
1614 enable_sspicli
1615 enable_stdole2_tlb
1616 enable_stdole32_tlb
1617 enable_sti
1618 enable_strmbase
1619 enable_strmdll
1620 enable_strmiids
1621 enable_svrapi
1622 enable_sxs
1623 enable_t2embed
1624 enable_tapi32
1625 enable_taskschd
1626 enable_tdh
1627 enable_tdi_sys
1628 enable_traffic
1629 enable_twain_32
1630 enable_tzres
1631 enable_ucrtbase
1632 enable_uianimation
1633 enable_uiautomationcore
1634 enable_uiribbon
1635 enable_unicows
1636 enable_updspapi
1637 enable_url
1638 enable_urlmon
1639 enable_usbd_sys
1640 enable_user32
1641 enable_userenv
1642 enable_usp10
1643 enable_utildll
1644 enable_uuid
1645 enable_uxtheme
1646 enable_vbscript
1647 enable_vcomp
1648 enable_vcomp100
1649 enable_vcomp110
1650 enable_vcomp120
1651 enable_vcomp140
1652 enable_vcomp90
1653 enable_vcruntime140
1654 enable_vcruntime140_1
1655 enable_vdmdbg
1656 enable_version
1657 enable_vga
1658 enable_virtdisk
1659 enable_vssapi
1660 enable_vulkan_1
1661 enable_wbemdisp
1662 enable_wbemprox
1663 enable_wbemuuid
1664 enable_wdscore
1665 enable_webservices
1666 enable_websocket
1667 enable_wer
1668 enable_wevtapi
1669 enable_wevtsvc
1670 enable_wiaservc
1671 enable_wimgapi
1672 enable_windows_gaming_input
1673 enable_windows_globalization
1674 enable_windows_media_devices
1675 enable_windows_media_speech
1676 enable_windowscodecs
1677 enable_windowscodecsext
1678 enable_winealsa_drv
1679 enable_wineandroid_drv
1680 enable_winebus_sys
1681 enable_winecoreaudio_drv
1682 enable_winecrt0
1683 enable_wined3d
1684 enable_winegstreamer
1685 enable_winehid_sys
1686 enable_winejoystick_drv
1687 enable_winemac_drv
1688 enable_winemapi
1689 enable_wineoss_drv
1690 enable_wineps_drv
1691 enable_winepulse_drv
1692 enable_wineqtdecoder
1693 enable_wineusb_sys
1694 enable_winevulkan
1695 enable_winex11_drv
1696 enable_wing32
1697 enable_winhttp
1698 enable_wininet
1699 enable_winmm
1700 enable_winnls32
1701 enable_winscard
1702 enable_winspool_drv
1703 enable_winsta
1704 enable_wintab32
1705 enable_wintrust
1706 enable_winusb
1707 enable_wlanapi
1708 enable_wlanui
1709 enable_wldap32
1710 enable_wmasf
1711 enable_wmcodecdspuuid
1712 enable_wmi
1713 enable_wmiutils
1714 enable_wmp
1715 enable_wmphoto
1716 enable_wmvcore
1717 enable_wnaspi32
1718 enable_wow64cpu
1719 enable_wpc
1720 enable_wpcap
1721 enable_ws2_32
1722 enable_wsdapi
1723 enable_wshom_ocx
1724 enable_wsnmp32
1725 enable_wsock32
1726 enable_wtsapi32
1727 enable_wuapi
1728 enable_wuaueng
1729 enable_x3daudio1_0
1730 enable_x3daudio1_1
1731 enable_x3daudio1_2
1732 enable_x3daudio1_3
1733 enable_x3daudio1_4
1734 enable_x3daudio1_5
1735 enable_x3daudio1_6
1736 enable_x3daudio1_7
1737 enable_xactengine2_0
1738 enable_xactengine2_4
1739 enable_xactengine2_7
1740 enable_xactengine2_9
1741 enable_xactengine3_0
1742 enable_xactengine3_1
1743 enable_xactengine3_2
1744 enable_xactengine3_3
1745 enable_xactengine3_4
1746 enable_xactengine3_5
1747 enable_xactengine3_6
1748 enable_xactengine3_7
1749 enable_xapofx1_1
1750 enable_xapofx1_2
1751 enable_xapofx1_3
1752 enable_xapofx1_4
1753 enable_xapofx1_5
1754 enable_xaudio2_0
1755 enable_xaudio2_1
1756 enable_xaudio2_2
1757 enable_xaudio2_3
1758 enable_xaudio2_4
1759 enable_xaudio2_5
1760 enable_xaudio2_6
1761 enable_xaudio2_7
1762 enable_xaudio2_8
1763 enable_xaudio2_9
1764 enable_xinput1_1
1765 enable_xinput1_2
1766 enable_xinput1_3
1767 enable_xinput1_4
1768 enable_xinput9_1_0
1769 enable_xmllite
1770 enable_xolehlp
1771 enable_xpsprint
1772 enable_xpssvcs
1773 enable_fonts
1774 enable_include
1775 enable_port
1776 enable_wine
1777 enable_wpp
1778 enable_loader
1779 enable_nls
1780 enable_po
1781 enable_arp
1782 enable_aspnet_regiis
1783 enable_attrib
1784 enable_cabarc
1785 enable_cacls
1786 enable_chcp_com
1787 enable_clock
1788 enable_cmd
1789 enable_conhost
1790 enable_control
1791 enable_cscript
1792 enable_dism
1793 enable_dplaysvr
1794 enable_dpnsvr
1795 enable_dpvsetup
1796 enable_dxdiag
1797 enable_eject
1798 enable_expand
1799 enable_explorer
1800 enable_extrac32
1801 enable_fc
1802 enable_find
1803 enable_findstr
1804 enable_fsutil
1805 enable_hh
1806 enable_hostname
1807 enable_icacls
1808 enable_icinfo
1809 enable_iexplore
1810 enable_ipconfig
1811 enable_lodctr
1812 enable_mofcomp
1813 enable_mshta
1814 enable_msidb
1815 enable_msiexec
1816 enable_msinfo32
1817 enable_net
1818 enable_netsh
1819 enable_netstat
1820 enable_ngen
1821 enable_notepad
1822 enable_oleview
1823 enable_ping
1824 enable_plugplay
1825 enable_powershell
1826 enable_presentationfontcache
1827 enable_progman
1828 enable_reg
1829 enable_regasm
1830 enable_regedit
1831 enable_regini
1832 enable_regsvcs
1833 enable_regsvr32
1834 enable_rpcss
1835 enable_rundll32
1836 enable_sc
1837 enable_schtasks
1838 enable_sdbinst
1839 enable_secedit
1840 enable_servicemodelreg
1841 enable_services
1842 enable_shutdown
1843 enable_spoolsv
1844 enable_start
1845 enable_subst
1846 enable_svchost
1847 enable_systeminfo
1848 enable_taskkill
1849 enable_tasklist
1850 enable_taskmgr
1851 enable_termsv
1852 enable_uninstaller
1853 enable_unlodctr
1854 enable_view
1855 enable_wevtutil
1856 enable_where
1857 enable_whoami
1858 enable_wineboot
1859 enable_winebrowser
1860 enable_winecfg
1861 enable_wineconsole
1862 enable_winedbg
1863 enable_winedevice
1864 enable_winefile
1865 enable_winemenubuilder
1866 enable_winemine
1867 enable_winemsibuilder
1868 enable_winepath
1869 enable_winetest
1870 enable_winhlp32
1871 enable_winmgmt
1872 enable_winver
1873 enable_wmic
1874 enable_wmplayer
1875 enable_wordpad
1876 enable_write
1877 enable_wscript
1878 enable_wuauserv
1879 enable_wusa
1880 enable_xcopy
1881 enable_server
1882 enable_tools
1883 enable_sfnt2fon
1884 enable_widl
1885 enable_winebuild
1886 enable_winedump
1887 enable_winegcc
1888 enable_winemaker
1889 enable_wmc
1890 enable_wrc
1892 ac_precious_vars='build_alias
1893 host_alias
1894 target_alias
1896 CFLAGS
1897 LDFLAGS
1898 LIBS
1899 CPPFLAGS
1901 CXXFLAGS
1904 OBJC
1905 OBJCFLAGS
1906 OBJCPP
1907 XMKMF
1908 XML2_CFLAGS
1909 XML2_LIBS
1910 XSLT_CFLAGS
1911 XSLT_LIBS
1912 INOTIFY_CFLAGS
1913 INOTIFY_LIBS
1914 DBUS_CFLAGS
1915 DBUS_LIBS
1916 HAL_CFLAGS
1917 HAL_LIBS
1918 GNUTLS_CFLAGS
1919 GNUTLS_LIBS
1920 SANE_CFLAGS
1921 SANE_LIBS
1922 USB_CFLAGS
1923 USB_LIBS
1924 GPHOTO2_CFLAGS
1925 GPHOTO2_LIBS
1926 GPHOTO2_PORT_CFLAGS
1927 GPHOTO2_PORT_LIBS
1928 LCMS2_CFLAGS
1929 LCMS2_LIBS
1930 FREETYPE_CFLAGS
1931 FREETYPE_LIBS
1932 PULSE_CFLAGS
1933 PULSE_LIBS
1934 GSTREAMER_CFLAGS
1935 GSTREAMER_LIBS
1936 UDEV_CFLAGS
1937 UDEV_LIBS
1938 UNWIND_CFLAGS
1939 UNWIND_LIBS
1940 SDL2_CFLAGS
1941 SDL2_LIBS
1942 FAUDIO_CFLAGS
1943 FAUDIO_LIBS
1944 CAPI20_CFLAGS
1945 CAPI20_LIBS
1946 CUPS_CFLAGS
1947 CUPS_LIBS
1948 FONTCONFIG_CFLAGS
1949 FONTCONFIG_LIBS
1950 KRB5_CFLAGS
1951 KRB5_LIBS
1952 GSSAPI_CFLAGS
1953 GSSAPI_LIBS
1954 JPEG_CFLAGS
1955 JPEG_LIBS
1956 JXRLIB_CFLAGS
1957 JXRLIB_LIBS
1958 PNG_CFLAGS
1959 PNG_LIBS
1960 TIFF_CFLAGS
1961 TIFF_LIBS
1962 MPG123_CFLAGS
1963 MPG123_LIBS
1964 NETAPI_CFLAGS
1965 NETAPI_LIBS
1966 VKD3D_CFLAGS
1967 VKD3D_LIBS
1968 VKD3D_SHADER_CFLAGS
1969 VKD3D_SHADER_LIBS
1970 LDAP_CFLAGS
1971 LDAP_LIBS'
1974 # Initialize some variables set by options.
1975 ac_init_help=
1976 ac_init_version=false
1977 ac_unrecognized_opts=
1978 ac_unrecognized_sep=
1979 # The variables have the same names as the options, with
1980 # dashes changed to underlines.
1981 cache_file=/dev/null
1982 exec_prefix=NONE
1983 no_create=
1984 no_recursion=
1985 prefix=NONE
1986 program_prefix=NONE
1987 program_suffix=NONE
1988 program_transform_name=s,x,x,
1989 silent=
1990 site=
1991 srcdir=
1992 verbose=
1993 x_includes=NONE
1994 x_libraries=NONE
1996 # Installation directory options.
1997 # These are left unexpanded so users can "make install exec_prefix=/foo"
1998 # and all the variables that are supposed to be based on exec_prefix
1999 # by default will actually change.
2000 # Use braces instead of parens because sh, perl, etc. also accept them.
2001 # (The list follows the same order as the GNU Coding Standards.)
2002 bindir='${exec_prefix}/bin'
2003 sbindir='${exec_prefix}/sbin'
2004 libexecdir='${exec_prefix}/libexec'
2005 datarootdir='${prefix}/share'
2006 datadir='${datarootdir}'
2007 sysconfdir='${prefix}/etc'
2008 sharedstatedir='${prefix}/com'
2009 localstatedir='${prefix}/var'
2010 runstatedir='${localstatedir}/run'
2011 includedir='${prefix}/include'
2012 oldincludedir='/usr/include'
2013 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
2014 infodir='${datarootdir}/info'
2015 htmldir='${docdir}'
2016 dvidir='${docdir}'
2017 pdfdir='${docdir}'
2018 psdir='${docdir}'
2019 libdir='${exec_prefix}/lib'
2020 localedir='${datarootdir}/locale'
2021 mandir='${datarootdir}/man'
2023 ac_prev=
2024 ac_dashdash=
2025 for ac_option
2027 # If the previous option needs an argument, assign it.
2028 if test -n "$ac_prev"; then
2029 eval $ac_prev=\$ac_option
2030 ac_prev=
2031 continue
2034 case $ac_option in
2035 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
2036 *=) ac_optarg= ;;
2037 *) ac_optarg=yes ;;
2038 esac
2040 # Accept the important Cygnus configure options, so we can diagnose typos.
2042 case $ac_dashdash$ac_option in
2044 ac_dashdash=yes ;;
2046 -bindir | --bindir | --bindi | --bind | --bin | --bi)
2047 ac_prev=bindir ;;
2048 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
2049 bindir=$ac_optarg ;;
2051 -build | --build | --buil | --bui | --bu)
2052 ac_prev=build_alias ;;
2053 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
2054 build_alias=$ac_optarg ;;
2056 -cache-file | --cache-file | --cache-fil | --cache-fi \
2057 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
2058 ac_prev=cache_file ;;
2059 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
2060 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
2061 cache_file=$ac_optarg ;;
2063 --config-cache | -C)
2064 cache_file=config.cache ;;
2066 -datadir | --datadir | --datadi | --datad)
2067 ac_prev=datadir ;;
2068 -datadir=* | --datadir=* | --datadi=* | --datad=*)
2069 datadir=$ac_optarg ;;
2071 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
2072 | --dataroo | --dataro | --datar)
2073 ac_prev=datarootdir ;;
2074 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
2075 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
2076 datarootdir=$ac_optarg ;;
2078 -disable-* | --disable-*)
2079 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
2080 # Reject names that are not valid shell variable names.
2081 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
2082 as_fn_error $? "invalid feature name: $ac_useropt"
2083 ac_useropt_orig=$ac_useropt
2084 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
2085 case $ac_user_opts in
2087 "enable_$ac_useropt"
2088 "*) ;;
2089 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
2090 ac_unrecognized_sep=', ';;
2091 esac
2092 eval enable_$ac_useropt=no ;;
2094 -docdir | --docdir | --docdi | --doc | --do)
2095 ac_prev=docdir ;;
2096 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
2097 docdir=$ac_optarg ;;
2099 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
2100 ac_prev=dvidir ;;
2101 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
2102 dvidir=$ac_optarg ;;
2104 -enable-* | --enable-*)
2105 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
2106 # Reject names that are not valid shell variable names.
2107 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
2108 as_fn_error $? "invalid feature name: $ac_useropt"
2109 ac_useropt_orig=$ac_useropt
2110 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
2111 case $ac_user_opts in
2113 "enable_$ac_useropt"
2114 "*) ;;
2115 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
2116 ac_unrecognized_sep=', ';;
2117 esac
2118 eval enable_$ac_useropt=\$ac_optarg ;;
2120 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
2121 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
2122 | --exec | --exe | --ex)
2123 ac_prev=exec_prefix ;;
2124 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
2125 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
2126 | --exec=* | --exe=* | --ex=*)
2127 exec_prefix=$ac_optarg ;;
2129 -gas | --gas | --ga | --g)
2130 # Obsolete; use --with-gas.
2131 with_gas=yes ;;
2133 -help | --help | --hel | --he | -h)
2134 ac_init_help=long ;;
2135 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
2136 ac_init_help=recursive ;;
2137 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
2138 ac_init_help=short ;;
2140 -host | --host | --hos | --ho)
2141 ac_prev=host_alias ;;
2142 -host=* | --host=* | --hos=* | --ho=*)
2143 host_alias=$ac_optarg ;;
2145 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
2146 ac_prev=htmldir ;;
2147 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
2148 | --ht=*)
2149 htmldir=$ac_optarg ;;
2151 -includedir | --includedir | --includedi | --included | --include \
2152 | --includ | --inclu | --incl | --inc)
2153 ac_prev=includedir ;;
2154 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
2155 | --includ=* | --inclu=* | --incl=* | --inc=*)
2156 includedir=$ac_optarg ;;
2158 -infodir | --infodir | --infodi | --infod | --info | --inf)
2159 ac_prev=infodir ;;
2160 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
2161 infodir=$ac_optarg ;;
2163 -libdir | --libdir | --libdi | --libd)
2164 ac_prev=libdir ;;
2165 -libdir=* | --libdir=* | --libdi=* | --libd=*)
2166 libdir=$ac_optarg ;;
2168 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
2169 | --libexe | --libex | --libe)
2170 ac_prev=libexecdir ;;
2171 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
2172 | --libexe=* | --libex=* | --libe=*)
2173 libexecdir=$ac_optarg ;;
2175 -localedir | --localedir | --localedi | --localed | --locale)
2176 ac_prev=localedir ;;
2177 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
2178 localedir=$ac_optarg ;;
2180 -localstatedir | --localstatedir | --localstatedi | --localstated \
2181 | --localstate | --localstat | --localsta | --localst | --locals)
2182 ac_prev=localstatedir ;;
2183 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
2184 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
2185 localstatedir=$ac_optarg ;;
2187 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
2188 ac_prev=mandir ;;
2189 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
2190 mandir=$ac_optarg ;;
2192 -nfp | --nfp | --nf)
2193 # Obsolete; use --without-fp.
2194 with_fp=no ;;
2196 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
2197 | --no-cr | --no-c | -n)
2198 no_create=yes ;;
2200 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
2201 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
2202 no_recursion=yes ;;
2204 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
2205 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
2206 | --oldin | --oldi | --old | --ol | --o)
2207 ac_prev=oldincludedir ;;
2208 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
2209 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
2210 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
2211 oldincludedir=$ac_optarg ;;
2213 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
2214 ac_prev=prefix ;;
2215 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
2216 prefix=$ac_optarg ;;
2218 -program-prefix | --program-prefix | --program-prefi | --program-pref \
2219 | --program-pre | --program-pr | --program-p)
2220 ac_prev=program_prefix ;;
2221 -program-prefix=* | --program-prefix=* | --program-prefi=* \
2222 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
2223 program_prefix=$ac_optarg ;;
2225 -program-suffix | --program-suffix | --program-suffi | --program-suff \
2226 | --program-suf | --program-su | --program-s)
2227 ac_prev=program_suffix ;;
2228 -program-suffix=* | --program-suffix=* | --program-suffi=* \
2229 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
2230 program_suffix=$ac_optarg ;;
2232 -program-transform-name | --program-transform-name \
2233 | --program-transform-nam | --program-transform-na \
2234 | --program-transform-n | --program-transform- \
2235 | --program-transform | --program-transfor \
2236 | --program-transfo | --program-transf \
2237 | --program-trans | --program-tran \
2238 | --progr-tra | --program-tr | --program-t)
2239 ac_prev=program_transform_name ;;
2240 -program-transform-name=* | --program-transform-name=* \
2241 | --program-transform-nam=* | --program-transform-na=* \
2242 | --program-transform-n=* | --program-transform-=* \
2243 | --program-transform=* | --program-transfor=* \
2244 | --program-transfo=* | --program-transf=* \
2245 | --program-trans=* | --program-tran=* \
2246 | --progr-tra=* | --program-tr=* | --program-t=*)
2247 program_transform_name=$ac_optarg ;;
2249 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
2250 ac_prev=pdfdir ;;
2251 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
2252 pdfdir=$ac_optarg ;;
2254 -psdir | --psdir | --psdi | --psd | --ps)
2255 ac_prev=psdir ;;
2256 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
2257 psdir=$ac_optarg ;;
2259 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2260 | -silent | --silent | --silen | --sile | --sil)
2261 silent=yes ;;
2263 -runstatedir | --runstatedir | --runstatedi | --runstated \
2264 | --runstate | --runstat | --runsta | --runst | --runs \
2265 | --run | --ru | --r)
2266 ac_prev=runstatedir ;;
2267 -runstatedir=* | --runstatedir=* | --runstatedi=* | --runstated=* \
2268 | --runstate=* | --runstat=* | --runsta=* | --runst=* | --runs=* \
2269 | --run=* | --ru=* | --r=*)
2270 runstatedir=$ac_optarg ;;
2272 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
2273 ac_prev=sbindir ;;
2274 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
2275 | --sbi=* | --sb=*)
2276 sbindir=$ac_optarg ;;
2278 -sharedstatedir | --sharedstatedir | --sharedstatedi \
2279 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
2280 | --sharedst | --shareds | --shared | --share | --shar \
2281 | --sha | --sh)
2282 ac_prev=sharedstatedir ;;
2283 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
2284 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
2285 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
2286 | --sha=* | --sh=*)
2287 sharedstatedir=$ac_optarg ;;
2289 -site | --site | --sit)
2290 ac_prev=site ;;
2291 -site=* | --site=* | --sit=*)
2292 site=$ac_optarg ;;
2294 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
2295 ac_prev=srcdir ;;
2296 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
2297 srcdir=$ac_optarg ;;
2299 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
2300 | --syscon | --sysco | --sysc | --sys | --sy)
2301 ac_prev=sysconfdir ;;
2302 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
2303 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
2304 sysconfdir=$ac_optarg ;;
2306 -target | --target | --targe | --targ | --tar | --ta | --t)
2307 ac_prev=target_alias ;;
2308 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
2309 target_alias=$ac_optarg ;;
2311 -v | -verbose | --verbose | --verbos | --verbo | --verb)
2312 verbose=yes ;;
2314 -version | --version | --versio | --versi | --vers | -V)
2315 ac_init_version=: ;;
2317 -with-* | --with-*)
2318 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
2319 # Reject names that are not valid shell variable names.
2320 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
2321 as_fn_error $? "invalid package name: $ac_useropt"
2322 ac_useropt_orig=$ac_useropt
2323 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
2324 case $ac_user_opts in
2326 "with_$ac_useropt"
2327 "*) ;;
2328 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
2329 ac_unrecognized_sep=', ';;
2330 esac
2331 eval with_$ac_useropt=\$ac_optarg ;;
2333 -without-* | --without-*)
2334 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
2335 # Reject names that are not valid shell variable names.
2336 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
2337 as_fn_error $? "invalid package name: $ac_useropt"
2338 ac_useropt_orig=$ac_useropt
2339 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
2340 case $ac_user_opts in
2342 "with_$ac_useropt"
2343 "*) ;;
2344 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
2345 ac_unrecognized_sep=', ';;
2346 esac
2347 eval with_$ac_useropt=no ;;
2349 --x)
2350 # Obsolete; use --with-x.
2351 with_x=yes ;;
2353 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
2354 | --x-incl | --x-inc | --x-in | --x-i)
2355 ac_prev=x_includes ;;
2356 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
2357 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
2358 x_includes=$ac_optarg ;;
2360 -x-libraries | --x-libraries | --x-librarie | --x-librari \
2361 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
2362 ac_prev=x_libraries ;;
2363 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
2364 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
2365 x_libraries=$ac_optarg ;;
2367 -*) as_fn_error $? "unrecognized option: \`$ac_option'
2368 Try \`$0 --help' for more information"
2371 *=*)
2372 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
2373 # Reject names that are not valid shell variable names.
2374 case $ac_envvar in #(
2375 '' | [0-9]* | *[!_$as_cr_alnum]* )
2376 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
2377 esac
2378 eval $ac_envvar=\$ac_optarg
2379 export $ac_envvar ;;
2382 # FIXME: should be removed in autoconf 3.0.
2383 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
2384 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
2385 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
2386 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
2389 esac
2390 done
2392 if test -n "$ac_prev"; then
2393 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
2394 as_fn_error $? "missing argument to $ac_option"
2397 if test -n "$ac_unrecognized_opts"; then
2398 case $enable_option_checking in
2399 no) ;;
2400 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
2401 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
2402 esac
2405 # Check all directory arguments for consistency.
2406 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
2407 datadir sysconfdir sharedstatedir localstatedir includedir \
2408 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
2409 libdir localedir mandir runstatedir
2411 eval ac_val=\$$ac_var
2412 # Remove trailing slashes.
2413 case $ac_val in
2414 */ )
2415 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
2416 eval $ac_var=\$ac_val;;
2417 esac
2418 # Be sure to have absolute directory names.
2419 case $ac_val in
2420 [\\/$]* | ?:[\\/]* ) continue;;
2421 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
2422 esac
2423 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
2424 done
2426 # There might be people who depend on the old broken behavior: `$host'
2427 # used to hold the argument of --host etc.
2428 # FIXME: To remove some day.
2429 build=$build_alias
2430 host=$host_alias
2431 target=$target_alias
2433 # FIXME: To remove some day.
2434 if test "x$host_alias" != x; then
2435 if test "x$build_alias" = x; then
2436 cross_compiling=maybe
2437 elif test "x$build_alias" != "x$host_alias"; then
2438 cross_compiling=yes
2442 ac_tool_prefix=
2443 test -n "$host_alias" && ac_tool_prefix=$host_alias-
2445 test "$silent" = yes && exec 6>/dev/null
2448 ac_pwd=`pwd` && test -n "$ac_pwd" &&
2449 ac_ls_di=`ls -di .` &&
2450 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
2451 as_fn_error $? "working directory cannot be determined"
2452 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
2453 as_fn_error $? "pwd does not report name of working directory"
2456 # Find the source files, if location was not specified.
2457 if test -z "$srcdir"; then
2458 ac_srcdir_defaulted=yes
2459 # Try the directory containing this script, then the parent directory.
2460 ac_confdir=`$as_dirname -- "$as_myself" ||
2461 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
2462 X"$as_myself" : 'X\(//\)[^/]' \| \
2463 X"$as_myself" : 'X\(//\)$' \| \
2464 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
2465 $as_echo X"$as_myself" |
2466 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
2467 s//\1/
2470 /^X\(\/\/\)[^/].*/{
2471 s//\1/
2474 /^X\(\/\/\)$/{
2475 s//\1/
2478 /^X\(\/\).*/{
2479 s//\1/
2482 s/.*/./; q'`
2483 srcdir=$ac_confdir
2484 if test ! -r "$srcdir/$ac_unique_file"; then
2485 srcdir=..
2487 else
2488 ac_srcdir_defaulted=no
2490 if test ! -r "$srcdir/$ac_unique_file"; then
2491 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
2492 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
2494 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
2495 ac_abs_confdir=`(
2496 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
2497 pwd)`
2498 # When building in place, set srcdir=.
2499 if test "$ac_abs_confdir" = "$ac_pwd"; then
2500 srcdir=.
2502 # Remove unnecessary trailing slashes from srcdir.
2503 # Double slashes in file names in object file debugging info
2504 # mess up M-x gdb in Emacs.
2505 case $srcdir in
2506 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
2507 esac
2508 for ac_var in $ac_precious_vars; do
2509 eval ac_env_${ac_var}_set=\${${ac_var}+set}
2510 eval ac_env_${ac_var}_value=\$${ac_var}
2511 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
2512 eval ac_cv_env_${ac_var}_value=\$${ac_var}
2513 done
2516 # Report the --help message.
2518 if test "$ac_init_help" = "long"; then
2519 # Omit some internal or obsolete options to make the list less imposing.
2520 # This message is too long to be a string in the A/UX 3.1 sh.
2521 cat <<_ACEOF
2522 \`configure' configures Wine 6.10 to adapt to many kinds of systems.
2524 Usage: $0 [OPTION]... [VAR=VALUE]...
2526 To assign environment variables (e.g., CC, CFLAGS...), specify them as
2527 VAR=VALUE. See below for descriptions of some of the useful variables.
2529 Defaults for the options are specified in brackets.
2531 Configuration:
2532 -h, --help display this help and exit
2533 --help=short display options specific to this package
2534 --help=recursive display the short help of all the included packages
2535 -V, --version display version information and exit
2536 -q, --quiet, --silent do not print \`checking ...' messages
2537 --cache-file=FILE cache test results in FILE [disabled]
2538 -C, --config-cache alias for \`--cache-file=config.cache'
2539 -n, --no-create do not create output files
2540 --srcdir=DIR find the sources in DIR [configure dir or \`..']
2542 Installation directories:
2543 --prefix=PREFIX install architecture-independent files in PREFIX
2544 [$ac_default_prefix]
2545 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
2546 [PREFIX]
2548 By default, \`make install' will install all the files in
2549 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
2550 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
2551 for instance \`--prefix=\$HOME'.
2553 For better control, use the options below.
2555 Fine tuning of the installation directories:
2556 --bindir=DIR user executables [EPREFIX/bin]
2557 --sbindir=DIR system admin executables [EPREFIX/sbin]
2558 --libexecdir=DIR program executables [EPREFIX/libexec]
2559 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
2560 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
2561 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
2562 --runstatedir=DIR modifiable per-process data [LOCALSTATEDIR/run]
2563 --libdir=DIR object code libraries [EPREFIX/lib]
2564 --includedir=DIR C header files [PREFIX/include]
2565 --oldincludedir=DIR C header files for non-gcc [/usr/include]
2566 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
2567 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
2568 --infodir=DIR info documentation [DATAROOTDIR/info]
2569 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
2570 --mandir=DIR man documentation [DATAROOTDIR/man]
2571 --docdir=DIR documentation root [DATAROOTDIR/doc/wine]
2572 --htmldir=DIR html documentation [DOCDIR]
2573 --dvidir=DIR dvi documentation [DOCDIR]
2574 --pdfdir=DIR pdf documentation [DOCDIR]
2575 --psdir=DIR ps documentation [DOCDIR]
2576 _ACEOF
2578 cat <<\_ACEOF
2580 X features:
2581 --x-includes=DIR X include files are in DIR
2582 --x-libraries=DIR X library files are in DIR
2584 System types:
2585 --build=BUILD configure for building on BUILD [guessed]
2586 --host=HOST cross-compile to build programs to run on HOST [BUILD]
2587 _ACEOF
2590 if test -n "$ac_init_help"; then
2591 case $ac_init_help in
2592 short | recursive ) echo "Configuration of Wine 6.10:";;
2593 esac
2594 cat <<\_ACEOF
2596 Optional Features:
2597 --disable-option-checking ignore unrecognized --enable/--with options
2598 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
2599 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
2600 --disable-win16 do not include Win16 support
2601 --enable-win64 build a Win64 emulator on AMD64 (won't run Win32
2602 binaries)
2603 --disable-tests do not build the regression tests
2604 --enable-build-id include .buildid section in output objects
2605 --enable-maintainer-mode
2606 enable maintainer-specific build rules
2607 --enable-silent-rules use silent build rules (override: "make V=1")
2608 --enable-werror treat compilation warnings as errors
2609 --disable-largefile omit support for large files
2611 Optional Packages:
2612 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
2613 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
2614 --without-alsa do not use the Alsa sound support
2615 --without-capi do not use CAPI (ISDN support)
2616 --without-cms do not use CMS (color management support)
2617 --without-coreaudio do not use the CoreAudio sound support
2618 --without-cups do not use CUPS
2619 --without-dbus do not use DBus (dynamic device support)
2620 --without-faudio do not use FAudio (XAudio2 support)
2621 --with-float-abi=abi specify the ABI (soft|softfp|hard) for ARM platforms
2622 --without-fontconfig do not use fontconfig
2623 --without-freetype do not use the FreeType library
2624 --without-gettext do not use gettext
2625 --with-gettextpo use the GetTextPO library to rebuild po files
2626 --without-gphoto do not use gphoto (Digital Camera support)
2627 --without-gnutls do not use GnuTLS (schannel support)
2628 --without-gsm do not use libgsm (GSM 06.10 codec support)
2629 --without-gssapi do not use GSSAPI (Kerberos SSP support)
2630 --without-gstreamer do not use GStreamer (codecs support)
2631 --without-hal do not use HAL (dynamic device support)
2632 --without-inotify do not use inotify (filesystem change notifications)
2633 --without-jpeg do not use JPEG
2634 --without-jxrlib do not use JPEG-XR
2635 --without-krb5 do not use krb5 (Kerberos)
2636 --without-ldap do not use LDAP
2637 --without-mingw do not use the MinGW cross-compiler
2638 --without-mpg123 do not use the mpg123 library
2639 --without-netapi do not use the Samba NetAPI library
2640 --without-openal do not use OpenAL
2641 --without-opencl do not use OpenCL
2642 --without-opengl do not use OpenGL
2643 --without-osmesa do not use the OSMesa library
2644 --without-oss do not use the OSS sound support
2645 --without-pcap do not use the Packet Capture library
2646 --without-png do not use PNG
2647 --without-pthread do not use the pthread library
2648 --without-pulse do not use PulseAudio sound support
2649 --without-quicktime do not use QuickTime support
2650 --without-sane do not use SANE (scanner support)
2651 --without-sdl do not use SDL
2652 --without-tiff do not use TIFF
2653 --without-udev do not use udev (plug and play support)
2654 --without-unwind do not use the libunwind library (exception
2655 handling)
2656 --without-usb do not use the libusb library
2657 --without-v4l2 do not use v4l2 (video capture)
2658 --without-vkd3d do not use vkd3d (Direct3D 12 support)
2659 --without-vulkan do not use Vulkan
2660 --without-xcomposite do not use the Xcomposite extension
2661 --without-xcursor do not use the Xcursor extension
2662 --without-xfixes do not use Xfixes for clipboard change notifications
2663 --without-xinerama do not use Xinerama (legacy multi-monitor support)
2664 --without-xinput do not use the Xinput extension
2665 --without-xinput2 do not use the Xinput 2 extension
2666 --without-xml do not use XML
2667 --without-xrandr do not use Xrandr (multi-monitor support)
2668 --without-xrender do not use the Xrender extension
2669 --without-xshape do not use the Xshape extension
2670 --without-xshm do not use XShm (shared memory extension)
2671 --without-xslt do not use XSLT
2672 --without-xxf86vm do not use XFree video mode extension
2673 --with-wine-tools=DIR use Wine tools from directory DIR
2674 --with-wine64=DIR use the 64-bit Wine in DIR for a Wow64 build
2675 --with-x use the X Window System
2677 Some influential environment variables:
2678 CC C compiler command
2679 CFLAGS C compiler flags
2680 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
2681 nonstandard directory <lib dir>
2682 LIBS libraries to pass to the linker, e.g. -l<library>
2683 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
2684 you have headers in a nonstandard directory <include dir>
2685 CXX C++ compiler command
2686 CXXFLAGS C++ compiler flags
2687 CPP C preprocessor
2688 OBJC Objective C compiler command
2689 OBJCFLAGS Objective C compiler flags
2690 OBJCPP Objective C preprocessor
2691 XMKMF Path to xmkmf, Makefile generator for X Window System
2692 XML2_CFLAGS C compiler flags for libxml-2.0, overriding pkg-config
2693 XML2_LIBS Linker flags for libxml-2.0, overriding pkg-config
2694 XSLT_CFLAGS C compiler flags for libxslt, overriding pkg-config
2695 XSLT_LIBS Linker flags for libxslt, overriding pkg-config
2696 INOTIFY_CFLAGS
2697 C compiler flags for libinotify, overriding pkg-config
2698 INOTIFY_LIBS
2699 Linker flags for libinotify, overriding pkg-config
2700 DBUS_CFLAGS C compiler flags for dbus-1, overriding pkg-config
2701 DBUS_LIBS Linker flags for dbus-1, overriding pkg-config
2702 HAL_CFLAGS C compiler flags for hal, overriding pkg-config
2703 HAL_LIBS Linker flags for hal, overriding pkg-config
2704 GNUTLS_CFLAGS
2705 C compiler flags for gnutls, overriding pkg-config
2706 GNUTLS_LIBS Linker flags for gnutls, overriding pkg-config
2707 SANE_CFLAGS C compiler flags for sane-backends, overriding pkg-config
2708 SANE_LIBS Linker flags for sane-backends, overriding pkg-config
2709 USB_CFLAGS C compiler flags for libusb-1.0, overriding pkg-config
2710 USB_LIBS Linker flags for libusb-1.0, overriding pkg-config
2711 GPHOTO2_CFLAGS
2712 C compiler flags for libgphoto2, overriding pkg-config
2713 GPHOTO2_LIBS
2714 Linker flags for libgphoto2, overriding pkg-config
2715 GPHOTO2_PORT_CFLAGS
2716 C compiler flags for libgphoto2_port, overriding pkg-config
2717 GPHOTO2_PORT_LIBS
2718 Linker flags for libgphoto2_port, overriding pkg-config
2719 LCMS2_CFLAGS
2720 C compiler flags for lcms2, overriding pkg-config
2721 LCMS2_LIBS Linker flags for lcms2, overriding pkg-config
2722 FREETYPE_CFLAGS
2723 C compiler flags for freetype2, overriding pkg-config
2724 FREETYPE_LIBS
2725 Linker flags for freetype2, overriding pkg-config
2726 PULSE_CFLAGS
2727 C compiler flags for libpulse, overriding pkg-config
2728 PULSE_LIBS Linker flags for libpulse, overriding pkg-config
2729 GSTREAMER_CFLAGS
2730 C compiler flags for gstreamer-1.0 gstreamer-video-1.0
2731 gstreamer-audio-1.0, overriding pkg-config
2732 GSTREAMER_LIBS
2733 Linker flags for gstreamer-1.0 gstreamer-video-1.0
2734 gstreamer-audio-1.0, overriding pkg-config
2735 UDEV_CFLAGS C compiler flags for libudev, overriding pkg-config
2736 UDEV_LIBS Linker flags for libudev, overriding pkg-config
2737 UNWIND_CFLAGS
2738 C compiler flags for libunwind, overriding pkg-config
2739 UNWIND_LIBS Linker flags for libunwind, overriding pkg-config
2740 SDL2_CFLAGS C compiler flags for sdl2, overriding pkg-config
2741 SDL2_LIBS Linker flags for sdl2, overriding pkg-config
2742 FAUDIO_CFLAGS
2743 C compiler flags for FAudio, overriding pkg-config
2744 FAUDIO_LIBS Linker flags for FAudio, overriding pkg-config
2745 CAPI20_CFLAGS
2746 C compiler flags for capi20, overriding pkg-config
2747 CAPI20_LIBS Linker flags for capi20, overriding pkg-config
2748 CUPS_CFLAGS C compiler flags for cups, overriding pkg-config
2749 CUPS_LIBS Linker flags for cups, overriding pkg-config
2750 FONTCONFIG_CFLAGS
2751 C compiler flags for fontconfig, overriding pkg-config
2752 FONTCONFIG_LIBS
2753 Linker flags for fontconfig, overriding pkg-config
2754 KRB5_CFLAGS C compiler flags for krb5, overriding pkg-config
2755 KRB5_LIBS Linker flags for krb5, overriding pkg-config
2756 GSSAPI_CFLAGS
2757 C compiler flags for krb5-gssapi, overriding pkg-config
2758 GSSAPI_LIBS Linker flags for krb5-gssapi, overriding pkg-config
2759 JPEG_CFLAGS C compiler flags for libjpeg, overriding pkg-config
2760 JPEG_LIBS Linker flags for libjpeg, overriding pkg-config
2761 JXRLIB_CFLAGS
2762 C compiler flags for jxrlib, overriding pkg-config
2763 JXRLIB_LIBS Linker flags for jxrlib, overriding pkg-config
2764 PNG_CFLAGS C compiler flags for libpng, overriding pkg-config
2765 PNG_LIBS Linker flags for libpng, overriding pkg-config
2766 TIFF_CFLAGS C compiler flags for libtiff-4, overriding pkg-config
2767 TIFF_LIBS Linker flags for libtiff-4, overriding pkg-config
2768 MPG123_CFLAGS
2769 C compiler flags for libmpg123, overriding pkg-config
2770 MPG123_LIBS Linker flags for libmpg123, overriding pkg-config
2771 NETAPI_CFLAGS
2772 C compiler flags for netapi, overriding pkg-config
2773 NETAPI_LIBS Linker flags for netapi, overriding pkg-config
2774 VKD3D_CFLAGS
2775 C compiler flags for libvkd3d, overriding pkg-config
2776 VKD3D_LIBS Linker flags for libvkd3d, overriding pkg-config
2777 VKD3D_SHADER_CFLAGS
2778 C compiler flags for libvkd3d-shader, overriding pkg-config
2779 VKD3D_SHADER_LIBS
2780 Linker flags for libvkd3d-shader, overriding pkg-config
2781 LDAP_CFLAGS C compiler flags for openldap, overriding pkg-config
2782 LDAP_LIBS Linker flags for openldap, overriding pkg-config
2784 Use these variables to override the choices made by `configure' or to help
2785 it to find libraries and programs with nonstandard names/locations.
2787 Report bugs to <wine-devel@winehq.org>.
2788 Wine home page: <https://www.winehq.org>.
2789 _ACEOF
2790 ac_status=$?
2793 if test "$ac_init_help" = "recursive"; then
2794 # If there are subdirs, report their specific --help.
2795 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
2796 test -d "$ac_dir" ||
2797 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
2798 continue
2799 ac_builddir=.
2801 case "$ac_dir" in
2802 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
2804 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
2805 # A ".." for each directory in $ac_dir_suffix.
2806 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
2807 case $ac_top_builddir_sub in
2808 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
2809 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
2810 esac ;;
2811 esac
2812 ac_abs_top_builddir=$ac_pwd
2813 ac_abs_builddir=$ac_pwd$ac_dir_suffix
2814 # for backward compatibility:
2815 ac_top_builddir=$ac_top_build_prefix
2817 case $srcdir in
2818 .) # We are building in place.
2819 ac_srcdir=.
2820 ac_top_srcdir=$ac_top_builddir_sub
2821 ac_abs_top_srcdir=$ac_pwd ;;
2822 [\\/]* | ?:[\\/]* ) # Absolute name.
2823 ac_srcdir=$srcdir$ac_dir_suffix;
2824 ac_top_srcdir=$srcdir
2825 ac_abs_top_srcdir=$srcdir ;;
2826 *) # Relative name.
2827 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
2828 ac_top_srcdir=$ac_top_build_prefix$srcdir
2829 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
2830 esac
2831 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
2833 cd "$ac_dir" || { ac_status=$?; continue; }
2834 # Check for guested configure.
2835 if test -f "$ac_srcdir/configure.gnu"; then
2836 echo &&
2837 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
2838 elif test -f "$ac_srcdir/configure"; then
2839 echo &&
2840 $SHELL "$ac_srcdir/configure" --help=recursive
2841 else
2842 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
2843 fi || ac_status=$?
2844 cd "$ac_pwd" || { ac_status=$?; break; }
2845 done
2848 test -n "$ac_init_help" && exit $ac_status
2849 if $ac_init_version; then
2850 cat <<\_ACEOF
2851 Wine configure 6.10
2852 generated by GNU Autoconf 2.69
2854 Copyright (C) 2012 Free Software Foundation, Inc.
2855 This configure script is free software; the Free Software Foundation
2856 gives unlimited permission to copy, distribute and modify it.
2857 _ACEOF
2858 exit
2861 ## ------------------------ ##
2862 ## Autoconf initialization. ##
2863 ## ------------------------ ##
2865 # ac_fn_c_try_compile LINENO
2866 # --------------------------
2867 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2868 ac_fn_c_try_compile ()
2870 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2871 rm -f conftest.$ac_objext
2872 if { { ac_try="$ac_compile"
2873 case "(($ac_try" in
2874 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2875 *) ac_try_echo=$ac_try;;
2876 esac
2877 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2878 $as_echo "$ac_try_echo"; } >&5
2879 (eval "$ac_compile") 2>conftest.err
2880 ac_status=$?
2881 if test -s conftest.err; then
2882 grep -v '^ *+' conftest.err >conftest.er1
2883 cat conftest.er1 >&5
2884 mv -f conftest.er1 conftest.err
2886 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2887 test $ac_status = 0; } && {
2888 test -z "$ac_c_werror_flag" ||
2889 test ! -s conftest.err
2890 } && test -s conftest.$ac_objext; then :
2891 ac_retval=0
2892 else
2893 $as_echo "$as_me: failed program was:" >&5
2894 sed 's/^/| /' conftest.$ac_ext >&5
2896 ac_retval=1
2898 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2899 as_fn_set_status $ac_retval
2901 } # ac_fn_c_try_compile
2903 # ac_fn_cxx_try_compile LINENO
2904 # ----------------------------
2905 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2906 ac_fn_cxx_try_compile ()
2908 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2909 rm -f conftest.$ac_objext
2910 if { { ac_try="$ac_compile"
2911 case "(($ac_try" in
2912 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2913 *) ac_try_echo=$ac_try;;
2914 esac
2915 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2916 $as_echo "$ac_try_echo"; } >&5
2917 (eval "$ac_compile") 2>conftest.err
2918 ac_status=$?
2919 if test -s conftest.err; then
2920 grep -v '^ *+' conftest.err >conftest.er1
2921 cat conftest.er1 >&5
2922 mv -f conftest.er1 conftest.err
2924 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2925 test $ac_status = 0; } && {
2926 test -z "$ac_cxx_werror_flag" ||
2927 test ! -s conftest.err
2928 } && test -s conftest.$ac_objext; then :
2929 ac_retval=0
2930 else
2931 $as_echo "$as_me: failed program was:" >&5
2932 sed 's/^/| /' conftest.$ac_ext >&5
2934 ac_retval=1
2936 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2937 as_fn_set_status $ac_retval
2939 } # ac_fn_cxx_try_compile
2941 # ac_fn_c_try_link LINENO
2942 # -----------------------
2943 # Try to link conftest.$ac_ext, and return whether this succeeded.
2944 ac_fn_c_try_link ()
2946 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2947 rm -f conftest.$ac_objext conftest$ac_exeext
2948 if { { ac_try="$ac_link"
2949 case "(($ac_try" in
2950 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2951 *) ac_try_echo=$ac_try;;
2952 esac
2953 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2954 $as_echo "$ac_try_echo"; } >&5
2955 (eval "$ac_link") 2>conftest.err
2956 ac_status=$?
2957 if test -s conftest.err; then
2958 grep -v '^ *+' conftest.err >conftest.er1
2959 cat conftest.er1 >&5
2960 mv -f conftest.er1 conftest.err
2962 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2963 test $ac_status = 0; } && {
2964 test -z "$ac_c_werror_flag" ||
2965 test ! -s conftest.err
2966 } && test -s conftest$ac_exeext && {
2967 test "$cross_compiling" = yes ||
2968 test -x conftest$ac_exeext
2969 }; then :
2970 ac_retval=0
2971 else
2972 $as_echo "$as_me: failed program was:" >&5
2973 sed 's/^/| /' conftest.$ac_ext >&5
2975 ac_retval=1
2977 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2978 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2979 # interfere with the next link command; also delete a directory that is
2980 # left behind by Apple's compiler. We do this before executing the actions.
2981 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2982 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2983 as_fn_set_status $ac_retval
2985 } # ac_fn_c_try_link
2987 # ac_fn_c_try_cpp LINENO
2988 # ----------------------
2989 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
2990 ac_fn_c_try_cpp ()
2992 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2993 if { { ac_try="$ac_cpp conftest.$ac_ext"
2994 case "(($ac_try" in
2995 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2996 *) ac_try_echo=$ac_try;;
2997 esac
2998 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2999 $as_echo "$ac_try_echo"; } >&5
3000 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
3001 ac_status=$?
3002 if test -s conftest.err; then
3003 grep -v '^ *+' conftest.err >conftest.er1
3004 cat conftest.er1 >&5
3005 mv -f conftest.er1 conftest.err
3007 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3008 test $ac_status = 0; } > conftest.i && {
3009 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3010 test ! -s conftest.err
3011 }; then :
3012 ac_retval=0
3013 else
3014 $as_echo "$as_me: failed program was:" >&5
3015 sed 's/^/| /' conftest.$ac_ext >&5
3017 ac_retval=1
3019 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3020 as_fn_set_status $ac_retval
3022 } # ac_fn_c_try_cpp
3024 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
3025 # -------------------------------------------------------
3026 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
3027 # the include files in INCLUDES and setting the cache variable VAR
3028 # accordingly.
3029 ac_fn_c_check_header_mongrel ()
3031 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3032 if eval \${$3+:} false; then :
3033 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3034 $as_echo_n "checking for $2... " >&6; }
3035 if eval \${$3+:} false; then :
3036 $as_echo_n "(cached) " >&6
3038 eval ac_res=\$$3
3039 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3040 $as_echo "$ac_res" >&6; }
3041 else
3042 # Is the header compilable?
3043 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
3044 $as_echo_n "checking $2 usability... " >&6; }
3045 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3046 /* end confdefs.h. */
3048 #include <$2>
3049 _ACEOF
3050 if ac_fn_c_try_compile "$LINENO"; then :
3051 ac_header_compiler=yes
3052 else
3053 ac_header_compiler=no
3055 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3056 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
3057 $as_echo "$ac_header_compiler" >&6; }
3059 # Is the header present?
3060 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
3061 $as_echo_n "checking $2 presence... " >&6; }
3062 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3063 /* end confdefs.h. */
3064 #include <$2>
3065 _ACEOF
3066 if ac_fn_c_try_cpp "$LINENO"; then :
3067 ac_header_preproc=yes
3068 else
3069 ac_header_preproc=no
3071 rm -f conftest.err conftest.i conftest.$ac_ext
3072 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
3073 $as_echo "$ac_header_preproc" >&6; }
3075 # So? What about this header?
3076 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
3077 yes:no: )
3078 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
3079 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
3080 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
3081 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
3083 no:yes:* )
3084 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
3085 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
3086 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
3087 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
3088 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
3089 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
3090 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
3091 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
3092 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
3093 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
3094 ( $as_echo "## ------------------------------------ ##
3095 ## Report this to wine-devel@winehq.org ##
3096 ## ------------------------------------ ##"
3097 ) | sed "s/^/$as_me: WARNING: /" >&2
3099 esac
3100 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3101 $as_echo_n "checking for $2... " >&6; }
3102 if eval \${$3+:} false; then :
3103 $as_echo_n "(cached) " >&6
3104 else
3105 eval "$3=\$ac_header_compiler"
3107 eval ac_res=\$$3
3108 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3109 $as_echo "$ac_res" >&6; }
3111 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3113 } # ac_fn_c_check_header_mongrel
3115 # ac_fn_c_try_run LINENO
3116 # ----------------------
3117 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
3118 # that executables *can* be run.
3119 ac_fn_c_try_run ()
3121 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3122 if { { ac_try="$ac_link"
3123 case "(($ac_try" in
3124 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3125 *) ac_try_echo=$ac_try;;
3126 esac
3127 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3128 $as_echo "$ac_try_echo"; } >&5
3129 (eval "$ac_link") 2>&5
3130 ac_status=$?
3131 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3132 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
3133 { { case "(($ac_try" in
3134 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3135 *) ac_try_echo=$ac_try;;
3136 esac
3137 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3138 $as_echo "$ac_try_echo"; } >&5
3139 (eval "$ac_try") 2>&5
3140 ac_status=$?
3141 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3142 test $ac_status = 0; }; }; then :
3143 ac_retval=0
3144 else
3145 $as_echo "$as_me: program exited with status $ac_status" >&5
3146 $as_echo "$as_me: failed program was:" >&5
3147 sed 's/^/| /' conftest.$ac_ext >&5
3149 ac_retval=$ac_status
3151 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
3152 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3153 as_fn_set_status $ac_retval
3155 } # ac_fn_c_try_run
3157 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
3158 # -------------------------------------------------------
3159 # Tests whether HEADER exists and can be compiled using the include files in
3160 # INCLUDES, setting the cache variable VAR accordingly.
3161 ac_fn_c_check_header_compile ()
3163 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3164 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3165 $as_echo_n "checking for $2... " >&6; }
3166 if eval \${$3+:} false; then :
3167 $as_echo_n "(cached) " >&6
3168 else
3169 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3170 /* end confdefs.h. */
3172 #include <$2>
3173 _ACEOF
3174 if ac_fn_c_try_compile "$LINENO"; then :
3175 eval "$3=yes"
3176 else
3177 eval "$3=no"
3179 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3181 eval ac_res=\$$3
3182 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3183 $as_echo "$ac_res" >&6; }
3184 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3186 } # ac_fn_c_check_header_compile
3188 # ac_fn_objc_try_compile LINENO
3189 # -----------------------------
3190 # Try to compile conftest.$ac_ext, and return whether this succeeded.
3191 ac_fn_objc_try_compile ()
3193 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3194 rm -f conftest.$ac_objext
3195 if { { ac_try="$ac_compile"
3196 case "(($ac_try" in
3197 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3198 *) ac_try_echo=$ac_try;;
3199 esac
3200 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3201 $as_echo "$ac_try_echo"; } >&5
3202 (eval "$ac_compile") 2>conftest.err
3203 ac_status=$?
3204 if test -s conftest.err; then
3205 grep -v '^ *+' conftest.err >conftest.er1
3206 cat conftest.er1 >&5
3207 mv -f conftest.er1 conftest.err
3209 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3210 test $ac_status = 0; } && {
3211 test -z "$ac_objc_werror_flag" ||
3212 test ! -s conftest.err
3213 } && test -s conftest.$ac_objext; then :
3214 ac_retval=0
3215 else
3216 $as_echo "$as_me: failed program was:" >&5
3217 sed 's/^/| /' conftest.$ac_ext >&5
3219 ac_retval=1
3221 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3222 as_fn_set_status $ac_retval
3224 } # ac_fn_objc_try_compile
3226 # ac_fn_objc_try_cpp LINENO
3227 # -------------------------
3228 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
3229 ac_fn_objc_try_cpp ()
3231 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3232 if { { ac_try="$ac_cpp conftest.$ac_ext"
3233 case "(($ac_try" in
3234 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3235 *) ac_try_echo=$ac_try;;
3236 esac
3237 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3238 $as_echo "$ac_try_echo"; } >&5
3239 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
3240 ac_status=$?
3241 if test -s conftest.err; then
3242 grep -v '^ *+' conftest.err >conftest.er1
3243 cat conftest.er1 >&5
3244 mv -f conftest.er1 conftest.err
3246 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3247 test $ac_status = 0; } > conftest.i && {
3248 test -z "$ac_objc_preproc_warn_flag$ac_objc_werror_flag" ||
3249 test ! -s conftest.err
3250 }; then :
3251 ac_retval=0
3252 else
3253 $as_echo "$as_me: failed program was:" >&5
3254 sed 's/^/| /' conftest.$ac_ext >&5
3256 ac_retval=1
3258 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3259 as_fn_set_status $ac_retval
3261 } # ac_fn_objc_try_cpp
3263 # ac_fn_objc_check_header_mongrel LINENO HEADER VAR INCLUDES
3264 # ----------------------------------------------------------
3265 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
3266 # the include files in INCLUDES and setting the cache variable VAR
3267 # accordingly.
3268 ac_fn_objc_check_header_mongrel ()
3270 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3271 if eval \${$3+:} false; then :
3272 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3273 $as_echo_n "checking for $2... " >&6; }
3274 if eval \${$3+:} false; then :
3275 $as_echo_n "(cached) " >&6
3277 eval ac_res=\$$3
3278 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3279 $as_echo "$ac_res" >&6; }
3280 else
3281 # Is the header compilable?
3282 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
3283 $as_echo_n "checking $2 usability... " >&6; }
3284 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3285 /* end confdefs.h. */
3287 #include <$2>
3288 _ACEOF
3289 if ac_fn_objc_try_compile "$LINENO"; then :
3290 ac_header_compiler=yes
3291 else
3292 ac_header_compiler=no
3294 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3295 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
3296 $as_echo "$ac_header_compiler" >&6; }
3298 # Is the header present?
3299 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
3300 $as_echo_n "checking $2 presence... " >&6; }
3301 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3302 /* end confdefs.h. */
3303 #include <$2>
3304 _ACEOF
3305 if ac_fn_objc_try_cpp "$LINENO"; then :
3306 ac_header_preproc=yes
3307 else
3308 ac_header_preproc=no
3310 rm -f conftest.err conftest.i conftest.$ac_ext
3311 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
3312 $as_echo "$ac_header_preproc" >&6; }
3314 # So? What about this header?
3315 case $ac_header_compiler:$ac_header_preproc:$ac_objc_preproc_warn_flag in #((
3316 yes:no: )
3317 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
3318 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
3319 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
3320 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
3322 no:yes:* )
3323 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
3324 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
3325 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
3326 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
3327 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
3328 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
3329 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
3330 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
3331 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
3332 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
3333 ( $as_echo "## ------------------------------------ ##
3334 ## Report this to wine-devel@winehq.org ##
3335 ## ------------------------------------ ##"
3336 ) | sed "s/^/$as_me: WARNING: /" >&2
3338 esac
3339 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3340 $as_echo_n "checking for $2... " >&6; }
3341 if eval \${$3+:} false; then :
3342 $as_echo_n "(cached) " >&6
3343 else
3344 eval "$3=\$ac_header_compiler"
3346 eval ac_res=\$$3
3347 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3348 $as_echo "$ac_res" >&6; }
3350 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3352 } # ac_fn_objc_check_header_mongrel
3354 # ac_fn_c_check_func LINENO FUNC VAR
3355 # ----------------------------------
3356 # Tests whether FUNC exists, setting the cache variable VAR accordingly
3357 ac_fn_c_check_func ()
3359 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3360 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3361 $as_echo_n "checking for $2... " >&6; }
3362 if eval \${$3+:} false; then :
3363 $as_echo_n "(cached) " >&6
3364 else
3365 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3366 /* end confdefs.h. */
3367 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
3368 For example, HP-UX 11i <limits.h> declares gettimeofday. */
3369 #define $2 innocuous_$2
3371 /* System header to define __stub macros and hopefully few prototypes,
3372 which can conflict with char $2 (); below.
3373 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3374 <limits.h> exists even on freestanding compilers. */
3376 #ifdef __STDC__
3377 # include <limits.h>
3378 #else
3379 # include <assert.h>
3380 #endif
3382 #undef $2
3384 /* Override any GCC internal prototype to avoid an error.
3385 Use char because int might match the return type of a GCC
3386 builtin and then its argument prototype would still apply. */
3387 #ifdef __cplusplus
3388 extern "C"
3389 #endif
3390 char $2 ();
3391 /* The GNU C library defines this for functions which it implements
3392 to always fail with ENOSYS. Some functions are actually named
3393 something starting with __ and the normal name is an alias. */
3394 #if defined __stub_$2 || defined __stub___$2
3395 choke me
3396 #endif
3399 main ()
3401 return $2 ();
3403 return 0;
3405 _ACEOF
3406 if ac_fn_c_try_link "$LINENO"; then :
3407 eval "$3=yes"
3408 else
3409 eval "$3=no"
3411 rm -f core conftest.err conftest.$ac_objext \
3412 conftest$ac_exeext conftest.$ac_ext
3414 eval ac_res=\$$3
3415 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3416 $as_echo "$ac_res" >&6; }
3417 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3419 } # ac_fn_c_check_func
3421 # ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
3422 # ----------------------------------------------------
3423 # Tries to find if the field MEMBER exists in type AGGR, after including
3424 # INCLUDES, setting cache variable VAR accordingly.
3425 ac_fn_c_check_member ()
3427 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3428 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
3429 $as_echo_n "checking for $2.$3... " >&6; }
3430 if eval \${$4+:} false; then :
3431 $as_echo_n "(cached) " >&6
3432 else
3433 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3434 /* end confdefs.h. */
3437 main ()
3439 static $2 ac_aggr;
3440 if (ac_aggr.$3)
3441 return 0;
3443 return 0;
3445 _ACEOF
3446 if ac_fn_c_try_compile "$LINENO"; then :
3447 eval "$4=yes"
3448 else
3449 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3450 /* end confdefs.h. */
3453 main ()
3455 static $2 ac_aggr;
3456 if (sizeof ac_aggr.$3)
3457 return 0;
3459 return 0;
3461 _ACEOF
3462 if ac_fn_c_try_compile "$LINENO"; then :
3463 eval "$4=yes"
3464 else
3465 eval "$4=no"
3467 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3469 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3471 eval ac_res=\$$4
3472 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3473 $as_echo "$ac_res" >&6; }
3474 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3476 } # ac_fn_c_check_member
3478 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
3479 # -------------------------------------------
3480 # Tests whether TYPE exists after having included INCLUDES, setting cache
3481 # variable VAR accordingly.
3482 ac_fn_c_check_type ()
3484 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3485 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3486 $as_echo_n "checking for $2... " >&6; }
3487 if eval \${$3+:} false; then :
3488 $as_echo_n "(cached) " >&6
3489 else
3490 eval "$3=no"
3491 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3492 /* end confdefs.h. */
3495 main ()
3497 if (sizeof ($2))
3498 return 0;
3500 return 0;
3502 _ACEOF
3503 if ac_fn_c_try_compile "$LINENO"; then :
3504 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3505 /* end confdefs.h. */
3508 main ()
3510 if (sizeof (($2)))
3511 return 0;
3513 return 0;
3515 _ACEOF
3516 if ac_fn_c_try_compile "$LINENO"; then :
3518 else
3519 eval "$3=yes"
3521 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3523 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3525 eval ac_res=\$$3
3526 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3527 $as_echo "$ac_res" >&6; }
3528 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3530 } # ac_fn_c_check_type
3531 cat >config.log <<_ACEOF
3532 This file contains any messages produced by compilers while
3533 running configure, to aid debugging if configure makes a mistake.
3535 It was created by Wine $as_me 6.10, which was
3536 generated by GNU Autoconf 2.69. Invocation command line was
3538 $ $0 $@
3540 _ACEOF
3541 exec 5>>config.log
3543 cat <<_ASUNAME
3544 ## --------- ##
3545 ## Platform. ##
3546 ## --------- ##
3548 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
3549 uname -m = `(uname -m) 2>/dev/null || echo unknown`
3550 uname -r = `(uname -r) 2>/dev/null || echo unknown`
3551 uname -s = `(uname -s) 2>/dev/null || echo unknown`
3552 uname -v = `(uname -v) 2>/dev/null || echo unknown`
3554 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
3555 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
3557 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
3558 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
3559 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
3560 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
3561 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
3562 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
3563 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
3565 _ASUNAME
3567 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3568 for as_dir in $PATH
3570 IFS=$as_save_IFS
3571 test -z "$as_dir" && as_dir=.
3572 $as_echo "PATH: $as_dir"
3573 done
3574 IFS=$as_save_IFS
3576 } >&5
3578 cat >&5 <<_ACEOF
3581 ## ----------- ##
3582 ## Core tests. ##
3583 ## ----------- ##
3585 _ACEOF
3588 # Keep a trace of the command line.
3589 # Strip out --no-create and --no-recursion so they do not pile up.
3590 # Strip out --silent because we don't want to record it for future runs.
3591 # Also quote any args containing shell meta-characters.
3592 # Make two passes to allow for proper duplicate-argument suppression.
3593 ac_configure_args=
3594 ac_configure_args0=
3595 ac_configure_args1=
3596 ac_must_keep_next=false
3597 for ac_pass in 1 2
3599 for ac_arg
3601 case $ac_arg in
3602 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
3603 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
3604 | -silent | --silent | --silen | --sile | --sil)
3605 continue ;;
3606 *\'*)
3607 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
3608 esac
3609 case $ac_pass in
3610 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
3612 as_fn_append ac_configure_args1 " '$ac_arg'"
3613 if test $ac_must_keep_next = true; then
3614 ac_must_keep_next=false # Got value, back to normal.
3615 else
3616 case $ac_arg in
3617 *=* | --config-cache | -C | -disable-* | --disable-* \
3618 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
3619 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
3620 | -with-* | --with-* | -without-* | --without-* | --x)
3621 case "$ac_configure_args0 " in
3622 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
3623 esac
3625 -* ) ac_must_keep_next=true ;;
3626 esac
3628 as_fn_append ac_configure_args " '$ac_arg'"
3630 esac
3631 done
3632 done
3633 { ac_configure_args0=; unset ac_configure_args0;}
3634 { ac_configure_args1=; unset ac_configure_args1;}
3636 # When interrupted or exit'd, cleanup temporary files, and complete
3637 # config.log. We remove comments because anyway the quotes in there
3638 # would cause problems or look ugly.
3639 # WARNING: Use '\'' to represent an apostrophe within the trap.
3640 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
3641 trap 'exit_status=$?
3642 # Save into config.log some information that might help in debugging.
3644 echo
3646 $as_echo "## ---------------- ##
3647 ## Cache variables. ##
3648 ## ---------------- ##"
3649 echo
3650 # The following way of writing the cache mishandles newlines in values,
3652 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
3653 eval ac_val=\$$ac_var
3654 case $ac_val in #(
3655 *${as_nl}*)
3656 case $ac_var in #(
3657 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
3658 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
3659 esac
3660 case $ac_var in #(
3661 _ | IFS | as_nl) ;; #(
3662 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
3663 *) { eval $ac_var=; unset $ac_var;} ;;
3664 esac ;;
3665 esac
3666 done
3667 (set) 2>&1 |
3668 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
3669 *${as_nl}ac_space=\ *)
3670 sed -n \
3671 "s/'\''/'\''\\\\'\'''\''/g;
3672 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
3673 ;; #(
3675 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
3677 esac |
3678 sort
3680 echo
3682 $as_echo "## ----------------- ##
3683 ## Output variables. ##
3684 ## ----------------- ##"
3685 echo
3686 for ac_var in $ac_subst_vars
3688 eval ac_val=\$$ac_var
3689 case $ac_val in
3690 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3691 esac
3692 $as_echo "$ac_var='\''$ac_val'\''"
3693 done | sort
3694 echo
3696 if test -n "$ac_subst_files"; then
3697 $as_echo "## ------------------- ##
3698 ## File substitutions. ##
3699 ## ------------------- ##"
3700 echo
3701 for ac_var in $ac_subst_files
3703 eval ac_val=\$$ac_var
3704 case $ac_val in
3705 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3706 esac
3707 $as_echo "$ac_var='\''$ac_val'\''"
3708 done | sort
3709 echo
3712 if test -s confdefs.h; then
3713 $as_echo "## ----------- ##
3714 ## confdefs.h. ##
3715 ## ----------- ##"
3716 echo
3717 cat confdefs.h
3718 echo
3720 test "$ac_signal" != 0 &&
3721 $as_echo "$as_me: caught signal $ac_signal"
3722 $as_echo "$as_me: exit $exit_status"
3723 } >&5
3724 rm -f core *.core core.conftest.* &&
3725 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
3726 exit $exit_status
3728 for ac_signal in 1 2 13 15; do
3729 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
3730 done
3731 ac_signal=0
3733 # confdefs.h avoids OS command line length limits that DEFS can exceed.
3734 rm -f -r conftest* confdefs.h
3736 $as_echo "/* confdefs.h */" > confdefs.h
3738 # Predefined preprocessor variables.
3740 cat >>confdefs.h <<_ACEOF
3741 #define PACKAGE_NAME "$PACKAGE_NAME"
3742 _ACEOF
3744 cat >>confdefs.h <<_ACEOF
3745 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
3746 _ACEOF
3748 cat >>confdefs.h <<_ACEOF
3749 #define PACKAGE_VERSION "$PACKAGE_VERSION"
3750 _ACEOF
3752 cat >>confdefs.h <<_ACEOF
3753 #define PACKAGE_STRING "$PACKAGE_STRING"
3754 _ACEOF
3756 cat >>confdefs.h <<_ACEOF
3757 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
3758 _ACEOF
3760 cat >>confdefs.h <<_ACEOF
3761 #define PACKAGE_URL "$PACKAGE_URL"
3762 _ACEOF
3765 # Let the site file select an alternate cache file if it wants to.
3766 # Prefer an explicitly selected file to automatically selected ones.
3767 ac_site_file1=NONE
3768 ac_site_file2=NONE
3769 if test -n "$CONFIG_SITE"; then
3770 # We do not want a PATH search for config.site.
3771 case $CONFIG_SITE in #((
3772 -*) ac_site_file1=./$CONFIG_SITE;;
3773 */*) ac_site_file1=$CONFIG_SITE;;
3774 *) ac_site_file1=./$CONFIG_SITE;;
3775 esac
3776 elif test "x$prefix" != xNONE; then
3777 ac_site_file1=$prefix/share/config.site
3778 ac_site_file2=$prefix/etc/config.site
3779 else
3780 ac_site_file1=$ac_default_prefix/share/config.site
3781 ac_site_file2=$ac_default_prefix/etc/config.site
3783 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
3785 test "x$ac_site_file" = xNONE && continue
3786 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
3787 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
3788 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
3789 sed 's/^/| /' "$ac_site_file" >&5
3790 . "$ac_site_file" \
3791 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3792 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3793 as_fn_error $? "failed to load site script $ac_site_file
3794 See \`config.log' for more details" "$LINENO" 5; }
3796 done
3798 if test -r "$cache_file"; then
3799 # Some versions of bash will fail to source /dev/null (special files
3800 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
3801 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
3802 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
3803 $as_echo "$as_me: loading cache $cache_file" >&6;}
3804 case $cache_file in
3805 [\\/]* | ?:[\\/]* ) . "$cache_file";;
3806 *) . "./$cache_file";;
3807 esac
3809 else
3810 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
3811 $as_echo "$as_me: creating cache $cache_file" >&6;}
3812 >$cache_file
3815 # Check that the precious variables saved in the cache have kept the same
3816 # value.
3817 ac_cache_corrupted=false
3818 for ac_var in $ac_precious_vars; do
3819 eval ac_old_set=\$ac_cv_env_${ac_var}_set
3820 eval ac_new_set=\$ac_env_${ac_var}_set
3821 eval ac_old_val=\$ac_cv_env_${ac_var}_value
3822 eval ac_new_val=\$ac_env_${ac_var}_value
3823 case $ac_old_set,$ac_new_set in
3824 set,)
3825 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
3826 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
3827 ac_cache_corrupted=: ;;
3828 ,set)
3829 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
3830 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
3831 ac_cache_corrupted=: ;;
3832 ,);;
3834 if test "x$ac_old_val" != "x$ac_new_val"; then
3835 # differences in whitespace do not lead to failure.
3836 ac_old_val_w=`echo x $ac_old_val`
3837 ac_new_val_w=`echo x $ac_new_val`
3838 if test "$ac_old_val_w" != "$ac_new_val_w"; then
3839 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
3840 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
3841 ac_cache_corrupted=:
3842 else
3843 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
3844 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
3845 eval $ac_var=\$ac_old_val
3847 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
3848 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
3849 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
3850 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
3851 fi;;
3852 esac
3853 # Pass precious variables to config.status.
3854 if test "$ac_new_set" = set; then
3855 case $ac_new_val in
3856 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
3857 *) ac_arg=$ac_var=$ac_new_val ;;
3858 esac
3859 case " $ac_configure_args " in
3860 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
3861 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
3862 esac
3864 done
3865 if $ac_cache_corrupted; then
3866 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3867 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3868 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
3869 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
3870 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
3872 ## -------------------- ##
3873 ## Main body of script. ##
3874 ## -------------------- ##
3876 ac_ext=c
3877 ac_cpp='$CPP $CPPFLAGS'
3878 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3879 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3880 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3884 ac_config_headers="$ac_config_headers include/config.h"
3886 ac_aux_dir=
3887 for ac_dir in tools "$srcdir"/tools; do
3888 if test -f "$ac_dir/install-sh"; then
3889 ac_aux_dir=$ac_dir
3890 ac_install_sh="$ac_aux_dir/install-sh -c"
3891 break
3892 elif test -f "$ac_dir/install.sh"; then
3893 ac_aux_dir=$ac_dir
3894 ac_install_sh="$ac_aux_dir/install.sh -c"
3895 break
3896 elif test -f "$ac_dir/shtool"; then
3897 ac_aux_dir=$ac_dir
3898 ac_install_sh="$ac_aux_dir/shtool install -c"
3899 break
3901 done
3902 if test -z "$ac_aux_dir"; then
3903 as_fn_error $? "cannot find install-sh, install.sh, or shtool in tools \"$srcdir\"/tools" "$LINENO" 5
3906 # These three variables are undocumented and unsupported,
3907 # and are intended to be withdrawn in a future Autoconf release.
3908 # They can cause serious problems if a builder's source tree is in a directory
3909 # whose full name contains unusual characters.
3910 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
3911 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
3912 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
3916 libwine_version="1.0"
3920 # Check whether --enable-win16 was given.
3921 if test "${enable_win16+set}" = set; then :
3922 enableval=$enable_win16;
3925 # Check whether --enable-win64 was given.
3926 if test "${enable_win64+set}" = set; then :
3927 enableval=$enable_win64;
3930 # Check whether --enable-tests was given.
3931 if test "${enable_tests+set}" = set; then :
3932 enableval=$enable_tests;
3935 # Check whether --enable-build-id was given.
3936 if test "${enable_build_id+set}" = set; then :
3937 enableval=$enable_build_id;
3940 # Check whether --enable-maintainer-mode was given.
3941 if test "${enable_maintainer_mode+set}" = set; then :
3942 enableval=$enable_maintainer_mode;
3945 # Check whether --enable-silent-rules was given.
3946 if test "${enable_silent_rules+set}" = set; then :
3947 enableval=$enable_silent_rules;
3950 # Check whether --enable-werror was given.
3951 if test "${enable_werror+set}" = set; then :
3952 enableval=$enable_werror;
3957 # Check whether --with-alsa was given.
3958 if test "${with_alsa+set}" = set; then :
3959 withval=$with_alsa;
3963 # Check whether --with-capi was given.
3964 if test "${with_capi+set}" = set; then :
3965 withval=$with_capi;
3969 # Check whether --with-cms was given.
3970 if test "${with_cms+set}" = set; then :
3971 withval=$with_cms;
3975 # Check whether --with-coreaudio was given.
3976 if test "${with_coreaudio+set}" = set; then :
3977 withval=$with_coreaudio; if test "x$withval" = "xno"; then ac_cv_header_CoreAudio_CoreAudio_h=no; fi
3981 # Check whether --with-cups was given.
3982 if test "${with_cups+set}" = set; then :
3983 withval=$with_cups;
3987 # Check whether --with-dbus was given.
3988 if test "${with_dbus+set}" = set; then :
3989 withval=$with_dbus;
3993 # Check whether --with-faudio was given.
3994 if test "${with_faudio+set}" = set; then :
3995 withval=$with_faudio;
3999 # Check whether --with-float-abi was given.
4000 if test "${with_float_abi+set}" = set; then :
4001 withval=$with_float_abi;
4005 # Check whether --with-fontconfig was given.
4006 if test "${with_fontconfig+set}" = set; then :
4007 withval=$with_fontconfig;
4011 # Check whether --with-freetype was given.
4012 if test "${with_freetype+set}" = set; then :
4013 withval=$with_freetype;
4017 # Check whether --with-gettext was given.
4018 if test "${with_gettext+set}" = set; then :
4019 withval=$with_gettext;
4023 # Check whether --with-gettextpo was given.
4024 if test "${with_gettextpo+set}" = set; then :
4025 withval=$with_gettextpo; if test "x$withval" = "xno"; then ac_cv_header_gettext_po_h=no; fi
4029 # Check whether --with-gphoto was given.
4030 if test "${with_gphoto+set}" = set; then :
4031 withval=$with_gphoto;
4035 # Check whether --with-gnutls was given.
4036 if test "${with_gnutls+set}" = set; then :
4037 withval=$with_gnutls;
4041 # Check whether --with-gsm was given.
4042 if test "${with_gsm+set}" = set; then :
4043 withval=$with_gsm; if test "x$withval" = "xno"; then ac_cv_header_gsm_h=no; ac_cv_header_gsm_gsm_h=no; fi
4047 # Check whether --with-gssapi was given.
4048 if test "${with_gssapi+set}" = set; then :
4049 withval=$with_gssapi;
4053 # Check whether --with-gstreamer was given.
4054 if test "${with_gstreamer+set}" = set; then :
4055 withval=$with_gstreamer;
4059 # Check whether --with-hal was given.
4060 if test "${with_hal+set}" = set; then :
4061 withval=$with_hal;
4065 # Check whether --with-inotify was given.
4066 if test "${with_inotify+set}" = set; then :
4067 withval=$with_inotify;
4071 # Check whether --with-jpeg was given.
4072 if test "${with_jpeg+set}" = set; then :
4073 withval=$with_jpeg;
4077 # Check whether --with-jxrlib was given.
4078 if test "${with_jxrlib+set}" = set; then :
4079 withval=$with_jxrlib;
4083 # Check whether --with-krb5 was given.
4084 if test "${with_krb5+set}" = set; then :
4085 withval=$with_krb5;
4089 # Check whether --with-ldap was given.
4090 if test "${with_ldap+set}" = set; then :
4091 withval=$with_ldap; if test "x$withval" = "xno"; then ac_cv_header_ldap_h=no; ac_cv_header_lber_h=no; fi
4095 # Check whether --with-mingw was given.
4096 if test "${with_mingw+set}" = set; then :
4097 withval=$with_mingw;
4101 # Check whether --with-mpg123 was given.
4102 if test "${with_mpg123+set}" = set; then :
4103 withval=$with_mpg123;
4107 # Check whether --with-netapi was given.
4108 if test "${with_netapi+set}" = set; then :
4109 withval=$with_netapi;
4113 # Check whether --with-openal was given.
4114 if test "${with_openal+set}" = set; then :
4115 withval=$with_openal; if test "x$withval" = "xno"; then ac_cv_header_AL_al_h=no; ac_cv_header_OpenAL_al_h=no; fi
4119 # Check whether --with-opencl was given.
4120 if test "${with_opencl+set}" = set; then :
4121 withval=$with_opencl; if test "x$withval" = "xno"; then ac_cv_header_CL_cl_h=no; ac_cv_header_OpenCL_opencl_h=no; fi
4125 # Check whether --with-opengl was given.
4126 if test "${with_opengl+set}" = set; then :
4127 withval=$with_opengl;
4131 # Check whether --with-osmesa was given.
4132 if test "${with_osmesa+set}" = set; then :
4133 withval=$with_osmesa;
4137 # Check whether --with-oss was given.
4138 if test "${with_oss+set}" = set; then :
4139 withval=$with_oss;
4143 # Check whether --with-pcap was given.
4144 if test "${with_pcap+set}" = set; then :
4145 withval=$with_pcap; if test "x$withval" = "xno"; then ac_cv_header_pcap_pcap_h=no; fi
4149 # Check whether --with-png was given.
4150 if test "${with_png+set}" = set; then :
4151 withval=$with_png;
4155 # Check whether --with-pthread was given.
4156 if test "${with_pthread+set}" = set; then :
4157 withval=$with_pthread; if test "x$withval" = "xno"; then ac_cv_header_pthread_h=no; fi
4161 # Check whether --with-pulse was given.
4162 if test "${with_pulse+set}" = set; then :
4163 withval=$with_pulse;
4167 # Check whether --with-quicktime was given.
4168 if test "${with_quicktime+set}" = set; then :
4169 withval=$with_quicktime;
4173 # Check whether --with-sane was given.
4174 if test "${with_sane+set}" = set; then :
4175 withval=$with_sane;
4179 # Check whether --with-sdl was given.
4180 if test "${with_sdl+set}" = set; then :
4181 withval=$with_sdl;
4185 # Check whether --with-tiff was given.
4186 if test "${with_tiff+set}" = set; then :
4187 withval=$with_tiff;
4191 # Check whether --with-udev was given.
4192 if test "${with_udev+set}" = set; then :
4193 withval=$with_udev;
4197 # Check whether --with-unwind was given.
4198 if test "${with_unwind+set}" = set; then :
4199 withval=$with_unwind;
4203 # Check whether --with-usb was given.
4204 if test "${with_usb+set}" = set; then :
4205 withval=$with_usb;
4209 # Check whether --with-v4l2 was given.
4210 if test "${with_v4l2+set}" = set; then :
4211 withval=$with_v4l2;
4215 # Check whether --with-vkd3d was given.
4216 if test "${with_vkd3d+set}" = set; then :
4217 withval=$with_vkd3d;
4221 # Check whether --with-vulkan was given.
4222 if test "${with_vulkan+set}" = set; then :
4223 withval=$with_vulkan;
4227 # Check whether --with-xcomposite was given.
4228 if test "${with_xcomposite+set}" = set; then :
4229 withval=$with_xcomposite; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xcomposite_h=no; fi
4233 # Check whether --with-xcursor was given.
4234 if test "${with_xcursor+set}" = set; then :
4235 withval=$with_xcursor; if test "x$withval" = "xno"; then ac_cv_header_X11_Xcursor_Xcursor_h=no; fi
4239 # Check whether --with-xfixes was given.
4240 if test "${with_xfixes+set}" = set; then :
4241 withval=$with_xfixes; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xfixes_h=no; fi
4245 # Check whether --with-xinerama was given.
4246 if test "${with_xinerama+set}" = set; then :
4247 withval=$with_xinerama; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xinerama_h=no; fi
4251 # Check whether --with-xinput was given.
4252 if test "${with_xinput+set}" = set; then :
4253 withval=$with_xinput; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput_h=no; fi
4257 # Check whether --with-xinput2 was given.
4258 if test "${with_xinput2+set}" = set; then :
4259 withval=$with_xinput2; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput2_h=no; fi
4263 # Check whether --with-xml was given.
4264 if test "${with_xml+set}" = set; then :
4265 withval=$with_xml;
4269 # Check whether --with-xrandr was given.
4270 if test "${with_xrandr+set}" = set; then :
4271 withval=$with_xrandr; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrandr_h=no; fi
4275 # Check whether --with-xrender was given.
4276 if test "${with_xrender+set}" = set; then :
4277 withval=$with_xrender; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrender_h=no; fi
4281 # Check whether --with-xshape was given.
4282 if test "${with_xshape+set}" = set; then :
4283 withval=$with_xshape; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_shape_h=no; fi
4287 # Check whether --with-xshm was given.
4288 if test "${with_xshm+set}" = set; then :
4289 withval=$with_xshm; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XShm_h=no; fi
4293 # Check whether --with-xslt was given.
4294 if test "${with_xslt+set}" = set; then :
4295 withval=$with_xslt;
4299 # Check whether --with-xxf86vm was given.
4300 if test "${with_xxf86vm+set}" = set; then :
4301 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
4306 # Check whether --with-wine-tools was given.
4307 if test "${with_wine_tools+set}" = set; then :
4308 withval=$with_wine_tools;
4312 # Check whether --with-wine64 was given.
4313 if test "${with_wine64+set}" = set; then :
4314 withval=$with_wine64;
4318 # Make sure we can run config.sub.
4319 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
4320 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
4322 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
4323 $as_echo_n "checking build system type... " >&6; }
4324 if ${ac_cv_build+:} false; then :
4325 $as_echo_n "(cached) " >&6
4326 else
4327 ac_build_alias=$build_alias
4328 test "x$ac_build_alias" = x &&
4329 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
4330 test "x$ac_build_alias" = x &&
4331 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
4332 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
4333 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
4336 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
4337 $as_echo "$ac_cv_build" >&6; }
4338 case $ac_cv_build in
4339 *-*-*) ;;
4340 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
4341 esac
4342 build=$ac_cv_build
4343 ac_save_IFS=$IFS; IFS='-'
4344 set x $ac_cv_build
4345 shift
4346 build_cpu=$1
4347 build_vendor=$2
4348 shift; shift
4349 # Remember, the first character of IFS is used to create $*,
4350 # except with old shells:
4351 build_os=$*
4352 IFS=$ac_save_IFS
4353 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
4356 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
4357 $as_echo_n "checking host system type... " >&6; }
4358 if ${ac_cv_host+:} false; then :
4359 $as_echo_n "(cached) " >&6
4360 else
4361 if test "x$host_alias" = x; then
4362 ac_cv_host=$ac_cv_build
4363 else
4364 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
4365 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
4369 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
4370 $as_echo "$ac_cv_host" >&6; }
4371 case $ac_cv_host in
4372 *-*-*) ;;
4373 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
4374 esac
4375 host=$ac_cv_host
4376 ac_save_IFS=$IFS; IFS='-'
4377 set x $ac_cv_host
4378 shift
4379 host_cpu=$1
4380 host_vendor=$2
4381 shift; shift
4382 # Remember, the first character of IFS is used to create $*,
4383 # except with old shells:
4384 host_os=$*
4385 IFS=$ac_save_IFS
4386 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
4391 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
4392 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
4393 set x ${MAKE-make}
4394 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
4395 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
4396 $as_echo_n "(cached) " >&6
4397 else
4398 cat >conftest.make <<\_ACEOF
4399 SHELL = /bin/sh
4400 all:
4401 @echo '@@@%%%=$(MAKE)=@@@%%%'
4402 _ACEOF
4403 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
4404 case `${MAKE-make} -f conftest.make 2>/dev/null` in
4405 *@@@%%%=?*=@@@%%%*)
4406 eval ac_cv_prog_make_${ac_make}_set=yes;;
4408 eval ac_cv_prog_make_${ac_make}_set=no;;
4409 esac
4410 rm -f conftest.make
4412 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
4413 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4414 $as_echo "yes" >&6; }
4415 SET_MAKE=
4416 else
4417 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4418 $as_echo "no" >&6; }
4419 SET_MAKE="MAKE=${MAKE-make}"
4422 ac_ext=c
4423 ac_cpp='$CPP $CPPFLAGS'
4424 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4425 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4426 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4427 if test -n "$ac_tool_prefix"; then
4428 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
4429 set dummy ${ac_tool_prefix}gcc; ac_word=$2
4430 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4431 $as_echo_n "checking for $ac_word... " >&6; }
4432 if ${ac_cv_prog_CC+:} false; then :
4433 $as_echo_n "(cached) " >&6
4434 else
4435 if test -n "$CC"; then
4436 ac_cv_prog_CC="$CC" # Let the user override the test.
4437 else
4438 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4439 for as_dir in $PATH
4441 IFS=$as_save_IFS
4442 test -z "$as_dir" && as_dir=.
4443 for ac_exec_ext in '' $ac_executable_extensions; do
4444 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4445 ac_cv_prog_CC="${ac_tool_prefix}gcc"
4446 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4447 break 2
4449 done
4450 done
4451 IFS=$as_save_IFS
4455 CC=$ac_cv_prog_CC
4456 if test -n "$CC"; then
4457 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4458 $as_echo "$CC" >&6; }
4459 else
4460 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4461 $as_echo "no" >&6; }
4466 if test -z "$ac_cv_prog_CC"; then
4467 ac_ct_CC=$CC
4468 # Extract the first word of "gcc", so it can be a program name with args.
4469 set dummy gcc; ac_word=$2
4470 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4471 $as_echo_n "checking for $ac_word... " >&6; }
4472 if ${ac_cv_prog_ac_ct_CC+:} false; then :
4473 $as_echo_n "(cached) " >&6
4474 else
4475 if test -n "$ac_ct_CC"; then
4476 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4477 else
4478 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4479 for as_dir in $PATH
4481 IFS=$as_save_IFS
4482 test -z "$as_dir" && as_dir=.
4483 for ac_exec_ext in '' $ac_executable_extensions; do
4484 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4485 ac_cv_prog_ac_ct_CC="gcc"
4486 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4487 break 2
4489 done
4490 done
4491 IFS=$as_save_IFS
4495 ac_ct_CC=$ac_cv_prog_ac_ct_CC
4496 if test -n "$ac_ct_CC"; then
4497 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4498 $as_echo "$ac_ct_CC" >&6; }
4499 else
4500 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4501 $as_echo "no" >&6; }
4504 if test "x$ac_ct_CC" = x; then
4505 CC=""
4506 else
4507 case $cross_compiling:$ac_tool_warned in
4508 yes:)
4509 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4510 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4511 ac_tool_warned=yes ;;
4512 esac
4513 CC=$ac_ct_CC
4515 else
4516 CC="$ac_cv_prog_CC"
4519 if test -z "$CC"; then
4520 if test -n "$ac_tool_prefix"; then
4521 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
4522 set dummy ${ac_tool_prefix}cc; ac_word=$2
4523 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4524 $as_echo_n "checking for $ac_word... " >&6; }
4525 if ${ac_cv_prog_CC+:} false; then :
4526 $as_echo_n "(cached) " >&6
4527 else
4528 if test -n "$CC"; then
4529 ac_cv_prog_CC="$CC" # Let the user override the test.
4530 else
4531 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4532 for as_dir in $PATH
4534 IFS=$as_save_IFS
4535 test -z "$as_dir" && as_dir=.
4536 for ac_exec_ext in '' $ac_executable_extensions; do
4537 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4538 ac_cv_prog_CC="${ac_tool_prefix}cc"
4539 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4540 break 2
4542 done
4543 done
4544 IFS=$as_save_IFS
4548 CC=$ac_cv_prog_CC
4549 if test -n "$CC"; then
4550 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4551 $as_echo "$CC" >&6; }
4552 else
4553 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4554 $as_echo "no" >&6; }
4560 if test -z "$CC"; then
4561 # Extract the first word of "cc", so it can be a program name with args.
4562 set dummy cc; ac_word=$2
4563 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4564 $as_echo_n "checking for $ac_word... " >&6; }
4565 if ${ac_cv_prog_CC+:} false; then :
4566 $as_echo_n "(cached) " >&6
4567 else
4568 if test -n "$CC"; then
4569 ac_cv_prog_CC="$CC" # Let the user override the test.
4570 else
4571 ac_prog_rejected=no
4572 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4573 for as_dir in $PATH
4575 IFS=$as_save_IFS
4576 test -z "$as_dir" && as_dir=.
4577 for ac_exec_ext in '' $ac_executable_extensions; do
4578 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4579 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
4580 ac_prog_rejected=yes
4581 continue
4583 ac_cv_prog_CC="cc"
4584 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4585 break 2
4587 done
4588 done
4589 IFS=$as_save_IFS
4591 if test $ac_prog_rejected = yes; then
4592 # We found a bogon in the path, so make sure we never use it.
4593 set dummy $ac_cv_prog_CC
4594 shift
4595 if test $# != 0; then
4596 # We chose a different compiler from the bogus one.
4597 # However, it has the same basename, so the bogon will be chosen
4598 # first if we set CC to just the basename; use the full file name.
4599 shift
4600 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
4605 CC=$ac_cv_prog_CC
4606 if test -n "$CC"; then
4607 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4608 $as_echo "$CC" >&6; }
4609 else
4610 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4611 $as_echo "no" >&6; }
4616 if test -z "$CC"; then
4617 if test -n "$ac_tool_prefix"; then
4618 for ac_prog in cl.exe
4620 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4621 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4622 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4623 $as_echo_n "checking for $ac_word... " >&6; }
4624 if ${ac_cv_prog_CC+:} false; then :
4625 $as_echo_n "(cached) " >&6
4626 else
4627 if test -n "$CC"; then
4628 ac_cv_prog_CC="$CC" # Let the user override the test.
4629 else
4630 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4631 for as_dir in $PATH
4633 IFS=$as_save_IFS
4634 test -z "$as_dir" && as_dir=.
4635 for ac_exec_ext in '' $ac_executable_extensions; do
4636 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4637 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
4638 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4639 break 2
4641 done
4642 done
4643 IFS=$as_save_IFS
4647 CC=$ac_cv_prog_CC
4648 if test -n "$CC"; then
4649 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4650 $as_echo "$CC" >&6; }
4651 else
4652 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4653 $as_echo "no" >&6; }
4657 test -n "$CC" && break
4658 done
4660 if test -z "$CC"; then
4661 ac_ct_CC=$CC
4662 for ac_prog in cl.exe
4664 # Extract the first word of "$ac_prog", so it can be a program name with args.
4665 set dummy $ac_prog; ac_word=$2
4666 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4667 $as_echo_n "checking for $ac_word... " >&6; }
4668 if ${ac_cv_prog_ac_ct_CC+:} false; then :
4669 $as_echo_n "(cached) " >&6
4670 else
4671 if test -n "$ac_ct_CC"; then
4672 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4673 else
4674 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4675 for as_dir in $PATH
4677 IFS=$as_save_IFS
4678 test -z "$as_dir" && as_dir=.
4679 for ac_exec_ext in '' $ac_executable_extensions; do
4680 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4681 ac_cv_prog_ac_ct_CC="$ac_prog"
4682 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4683 break 2
4685 done
4686 done
4687 IFS=$as_save_IFS
4691 ac_ct_CC=$ac_cv_prog_ac_ct_CC
4692 if test -n "$ac_ct_CC"; then
4693 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4694 $as_echo "$ac_ct_CC" >&6; }
4695 else
4696 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4697 $as_echo "no" >&6; }
4701 test -n "$ac_ct_CC" && break
4702 done
4704 if test "x$ac_ct_CC" = x; then
4705 CC=""
4706 else
4707 case $cross_compiling:$ac_tool_warned in
4708 yes:)
4709 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4710 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4711 ac_tool_warned=yes ;;
4712 esac
4713 CC=$ac_ct_CC
4720 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4721 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4722 as_fn_error $? "no acceptable C compiler found in \$PATH
4723 See \`config.log' for more details" "$LINENO" 5; }
4725 # Provide some information about the compiler.
4726 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
4727 set X $ac_compile
4728 ac_compiler=$2
4729 for ac_option in --version -v -V -qversion; do
4730 { { ac_try="$ac_compiler $ac_option >&5"
4731 case "(($ac_try" in
4732 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4733 *) ac_try_echo=$ac_try;;
4734 esac
4735 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4736 $as_echo "$ac_try_echo"; } >&5
4737 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4738 ac_status=$?
4739 if test -s conftest.err; then
4740 sed '10a\
4741 ... rest of stderr output deleted ...
4742 10q' conftest.err >conftest.er1
4743 cat conftest.er1 >&5
4745 rm -f conftest.er1 conftest.err
4746 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4747 test $ac_status = 0; }
4748 done
4750 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4751 /* end confdefs.h. */
4754 main ()
4758 return 0;
4760 _ACEOF
4761 ac_clean_files_save=$ac_clean_files
4762 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
4763 # Try to create an executable without -o first, disregard a.out.
4764 # It will help us diagnose broken compilers, and finding out an intuition
4765 # of exeext.
4766 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
4767 $as_echo_n "checking whether the C compiler works... " >&6; }
4768 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
4770 # The possible output files:
4771 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
4773 ac_rmfiles=
4774 for ac_file in $ac_files
4776 case $ac_file in
4777 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4778 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
4779 esac
4780 done
4781 rm -f $ac_rmfiles
4783 if { { ac_try="$ac_link_default"
4784 case "(($ac_try" in
4785 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4786 *) ac_try_echo=$ac_try;;
4787 esac
4788 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4789 $as_echo "$ac_try_echo"; } >&5
4790 (eval "$ac_link_default") 2>&5
4791 ac_status=$?
4792 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4793 test $ac_status = 0; }; then :
4794 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
4795 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
4796 # in a Makefile. We should not override ac_cv_exeext if it was cached,
4797 # so that the user can short-circuit this test for compilers unknown to
4798 # Autoconf.
4799 for ac_file in $ac_files ''
4801 test -f "$ac_file" || continue
4802 case $ac_file in
4803 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
4805 [ab].out )
4806 # We found the default executable, but exeext='' is most
4807 # certainly right.
4808 break;;
4809 *.* )
4810 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
4811 then :; else
4812 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4814 # We set ac_cv_exeext here because the later test for it is not
4815 # safe: cross compilers may not add the suffix if given an `-o'
4816 # argument, so we may need to know it at that point already.
4817 # Even if this section looks crufty: it has the advantage of
4818 # actually working.
4819 break;;
4821 break;;
4822 esac
4823 done
4824 test "$ac_cv_exeext" = no && ac_cv_exeext=
4826 else
4827 ac_file=''
4829 if test -z "$ac_file"; then :
4830 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4831 $as_echo "no" >&6; }
4832 $as_echo "$as_me: failed program was:" >&5
4833 sed 's/^/| /' conftest.$ac_ext >&5
4835 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4836 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4837 as_fn_error 77 "C compiler cannot create executables
4838 See \`config.log' for more details" "$LINENO" 5; }
4839 else
4840 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4841 $as_echo "yes" >&6; }
4843 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
4844 $as_echo_n "checking for C compiler default output file name... " >&6; }
4845 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
4846 $as_echo "$ac_file" >&6; }
4847 ac_exeext=$ac_cv_exeext
4849 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
4850 ac_clean_files=$ac_clean_files_save
4851 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
4852 $as_echo_n "checking for suffix of executables... " >&6; }
4853 if { { ac_try="$ac_link"
4854 case "(($ac_try" in
4855 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4856 *) ac_try_echo=$ac_try;;
4857 esac
4858 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4859 $as_echo "$ac_try_echo"; } >&5
4860 (eval "$ac_link") 2>&5
4861 ac_status=$?
4862 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4863 test $ac_status = 0; }; then :
4864 # If both `conftest.exe' and `conftest' are `present' (well, observable)
4865 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
4866 # work properly (i.e., refer to `conftest.exe'), while it won't with
4867 # `rm'.
4868 for ac_file in conftest.exe conftest conftest.*; do
4869 test -f "$ac_file" || continue
4870 case $ac_file in
4871 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4872 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4873 break;;
4874 * ) break;;
4875 esac
4876 done
4877 else
4878 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4879 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4880 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
4881 See \`config.log' for more details" "$LINENO" 5; }
4883 rm -f conftest conftest$ac_cv_exeext
4884 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
4885 $as_echo "$ac_cv_exeext" >&6; }
4887 rm -f conftest.$ac_ext
4888 EXEEXT=$ac_cv_exeext
4889 ac_exeext=$EXEEXT
4890 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4891 /* end confdefs.h. */
4892 #include <stdio.h>
4894 main ()
4896 FILE *f = fopen ("conftest.out", "w");
4897 return ferror (f) || fclose (f) != 0;
4900 return 0;
4902 _ACEOF
4903 ac_clean_files="$ac_clean_files conftest.out"
4904 # Check that the compiler produces executables we can run. If not, either
4905 # the compiler is broken, or we cross compile.
4906 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
4907 $as_echo_n "checking whether we are cross compiling... " >&6; }
4908 if test "$cross_compiling" != yes; then
4909 { { ac_try="$ac_link"
4910 case "(($ac_try" in
4911 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4912 *) ac_try_echo=$ac_try;;
4913 esac
4914 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4915 $as_echo "$ac_try_echo"; } >&5
4916 (eval "$ac_link") 2>&5
4917 ac_status=$?
4918 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4919 test $ac_status = 0; }
4920 if { ac_try='./conftest$ac_cv_exeext'
4921 { { case "(($ac_try" in
4922 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4923 *) ac_try_echo=$ac_try;;
4924 esac
4925 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4926 $as_echo "$ac_try_echo"; } >&5
4927 (eval "$ac_try") 2>&5
4928 ac_status=$?
4929 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4930 test $ac_status = 0; }; }; then
4931 cross_compiling=no
4932 else
4933 if test "$cross_compiling" = maybe; then
4934 cross_compiling=yes
4935 else
4936 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4937 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4938 as_fn_error $? "cannot run C compiled programs.
4939 If you meant to cross compile, use \`--host'.
4940 See \`config.log' for more details" "$LINENO" 5; }
4944 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
4945 $as_echo "$cross_compiling" >&6; }
4947 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
4948 ac_clean_files=$ac_clean_files_save
4949 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
4950 $as_echo_n "checking for suffix of object files... " >&6; }
4951 if ${ac_cv_objext+:} false; then :
4952 $as_echo_n "(cached) " >&6
4953 else
4954 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4955 /* end confdefs.h. */
4958 main ()
4962 return 0;
4964 _ACEOF
4965 rm -f conftest.o conftest.obj
4966 if { { ac_try="$ac_compile"
4967 case "(($ac_try" in
4968 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4969 *) ac_try_echo=$ac_try;;
4970 esac
4971 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4972 $as_echo "$ac_try_echo"; } >&5
4973 (eval "$ac_compile") 2>&5
4974 ac_status=$?
4975 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4976 test $ac_status = 0; }; then :
4977 for ac_file in conftest.o conftest.obj conftest.*; do
4978 test -f "$ac_file" || continue;
4979 case $ac_file in
4980 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
4981 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
4982 break;;
4983 esac
4984 done
4985 else
4986 $as_echo "$as_me: failed program was:" >&5
4987 sed 's/^/| /' conftest.$ac_ext >&5
4989 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4990 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4991 as_fn_error $? "cannot compute suffix of object files: cannot compile
4992 See \`config.log' for more details" "$LINENO" 5; }
4994 rm -f conftest.$ac_cv_objext conftest.$ac_ext
4996 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
4997 $as_echo "$ac_cv_objext" >&6; }
4998 OBJEXT=$ac_cv_objext
4999 ac_objext=$OBJEXT
5000 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
5001 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
5002 if ${ac_cv_c_compiler_gnu+:} false; then :
5003 $as_echo_n "(cached) " >&6
5004 else
5005 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5006 /* end confdefs.h. */
5009 main ()
5011 #ifndef __GNUC__
5012 choke me
5013 #endif
5016 return 0;
5018 _ACEOF
5019 if ac_fn_c_try_compile "$LINENO"; then :
5020 ac_compiler_gnu=yes
5021 else
5022 ac_compiler_gnu=no
5024 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5025 ac_cv_c_compiler_gnu=$ac_compiler_gnu
5028 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
5029 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
5030 if test $ac_compiler_gnu = yes; then
5031 GCC=yes
5032 else
5033 GCC=
5035 ac_test_CFLAGS=${CFLAGS+set}
5036 ac_save_CFLAGS=$CFLAGS
5037 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
5038 $as_echo_n "checking whether $CC accepts -g... " >&6; }
5039 if ${ac_cv_prog_cc_g+:} false; then :
5040 $as_echo_n "(cached) " >&6
5041 else
5042 ac_save_c_werror_flag=$ac_c_werror_flag
5043 ac_c_werror_flag=yes
5044 ac_cv_prog_cc_g=no
5045 CFLAGS="-g"
5046 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5047 /* end confdefs.h. */
5050 main ()
5054 return 0;
5056 _ACEOF
5057 if ac_fn_c_try_compile "$LINENO"; then :
5058 ac_cv_prog_cc_g=yes
5059 else
5060 CFLAGS=""
5061 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5062 /* end confdefs.h. */
5065 main ()
5069 return 0;
5071 _ACEOF
5072 if ac_fn_c_try_compile "$LINENO"; then :
5074 else
5075 ac_c_werror_flag=$ac_save_c_werror_flag
5076 CFLAGS="-g"
5077 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5078 /* end confdefs.h. */
5081 main ()
5085 return 0;
5087 _ACEOF
5088 if ac_fn_c_try_compile "$LINENO"; then :
5089 ac_cv_prog_cc_g=yes
5091 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5093 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5095 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5096 ac_c_werror_flag=$ac_save_c_werror_flag
5098 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
5099 $as_echo "$ac_cv_prog_cc_g" >&6; }
5100 if test "$ac_test_CFLAGS" = set; then
5101 CFLAGS=$ac_save_CFLAGS
5102 elif test $ac_cv_prog_cc_g = yes; then
5103 if test "$GCC" = yes; then
5104 CFLAGS="-g -O2"
5105 else
5106 CFLAGS="-g"
5108 else
5109 if test "$GCC" = yes; then
5110 CFLAGS="-O2"
5111 else
5112 CFLAGS=
5115 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
5116 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
5117 if ${ac_cv_prog_cc_c89+:} false; then :
5118 $as_echo_n "(cached) " >&6
5119 else
5120 ac_cv_prog_cc_c89=no
5121 ac_save_CC=$CC
5122 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5123 /* end confdefs.h. */
5124 #include <stdarg.h>
5125 #include <stdio.h>
5126 struct stat;
5127 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
5128 struct buf { int x; };
5129 FILE * (*rcsopen) (struct buf *, struct stat *, int);
5130 static char *e (p, i)
5131 char **p;
5132 int i;
5134 return p[i];
5136 static char *f (char * (*g) (char **, int), char **p, ...)
5138 char *s;
5139 va_list v;
5140 va_start (v,p);
5141 s = g (p, va_arg (v,int));
5142 va_end (v);
5143 return s;
5146 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
5147 function prototypes and stuff, but not '\xHH' hex character constants.
5148 These don't provoke an error unfortunately, instead are silently treated
5149 as 'x'. The following induces an error, until -std is added to get
5150 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
5151 array size at least. It's necessary to write '\x00'==0 to get something
5152 that's true only with -std. */
5153 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
5155 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
5156 inside strings and character constants. */
5157 #define FOO(x) 'x'
5158 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
5160 int test (int i, double x);
5161 struct s1 {int (*f) (int a);};
5162 struct s2 {int (*f) (double a);};
5163 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
5164 int argc;
5165 char **argv;
5167 main ()
5169 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
5171 return 0;
5173 _ACEOF
5174 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
5175 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
5177 CC="$ac_save_CC $ac_arg"
5178 if ac_fn_c_try_compile "$LINENO"; then :
5179 ac_cv_prog_cc_c89=$ac_arg
5181 rm -f core conftest.err conftest.$ac_objext
5182 test "x$ac_cv_prog_cc_c89" != "xno" && break
5183 done
5184 rm -f conftest.$ac_ext
5185 CC=$ac_save_CC
5188 # AC_CACHE_VAL
5189 case "x$ac_cv_prog_cc_c89" in
5191 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
5192 $as_echo "none needed" >&6; } ;;
5193 xno)
5194 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
5195 $as_echo "unsupported" >&6; } ;;
5197 CC="$CC $ac_cv_prog_cc_c89"
5198 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
5199 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
5200 esac
5201 if test "x$ac_cv_prog_cc_c89" != xno; then :
5205 ac_ext=c
5206 ac_cpp='$CPP $CPPFLAGS'
5207 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5208 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5209 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5211 ac_ext=cpp
5212 ac_cpp='$CXXCPP $CPPFLAGS'
5213 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5214 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5215 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
5216 if test -z "$CXX"; then
5217 if test -n "$CCC"; then
5218 CXX=$CCC
5219 else
5220 if test -n "$ac_tool_prefix"; then
5221 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
5223 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5224 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5225 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5226 $as_echo_n "checking for $ac_word... " >&6; }
5227 if ${ac_cv_prog_CXX+:} false; then :
5228 $as_echo_n "(cached) " >&6
5229 else
5230 if test -n "$CXX"; then
5231 ac_cv_prog_CXX="$CXX" # Let the user override the test.
5232 else
5233 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5234 for as_dir in $PATH
5236 IFS=$as_save_IFS
5237 test -z "$as_dir" && as_dir=.
5238 for ac_exec_ext in '' $ac_executable_extensions; do
5239 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5240 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
5241 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5242 break 2
5244 done
5245 done
5246 IFS=$as_save_IFS
5250 CXX=$ac_cv_prog_CXX
5251 if test -n "$CXX"; then
5252 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
5253 $as_echo "$CXX" >&6; }
5254 else
5255 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5256 $as_echo "no" >&6; }
5260 test -n "$CXX" && break
5261 done
5263 if test -z "$CXX"; then
5264 ac_ct_CXX=$CXX
5265 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
5267 # Extract the first word of "$ac_prog", so it can be a program name with args.
5268 set dummy $ac_prog; ac_word=$2
5269 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5270 $as_echo_n "checking for $ac_word... " >&6; }
5271 if ${ac_cv_prog_ac_ct_CXX+:} false; then :
5272 $as_echo_n "(cached) " >&6
5273 else
5274 if test -n "$ac_ct_CXX"; then
5275 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
5276 else
5277 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5278 for as_dir in $PATH
5280 IFS=$as_save_IFS
5281 test -z "$as_dir" && as_dir=.
5282 for ac_exec_ext in '' $ac_executable_extensions; do
5283 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5284 ac_cv_prog_ac_ct_CXX="$ac_prog"
5285 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5286 break 2
5288 done
5289 done
5290 IFS=$as_save_IFS
5294 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
5295 if test -n "$ac_ct_CXX"; then
5296 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
5297 $as_echo "$ac_ct_CXX" >&6; }
5298 else
5299 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5300 $as_echo "no" >&6; }
5304 test -n "$ac_ct_CXX" && break
5305 done
5307 if test "x$ac_ct_CXX" = x; then
5308 CXX="g++"
5309 else
5310 case $cross_compiling:$ac_tool_warned in
5311 yes:)
5312 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5313 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5314 ac_tool_warned=yes ;;
5315 esac
5316 CXX=$ac_ct_CXX
5322 # Provide some information about the compiler.
5323 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
5324 set X $ac_compile
5325 ac_compiler=$2
5326 for ac_option in --version -v -V -qversion; do
5327 { { ac_try="$ac_compiler $ac_option >&5"
5328 case "(($ac_try" in
5329 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5330 *) ac_try_echo=$ac_try;;
5331 esac
5332 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5333 $as_echo "$ac_try_echo"; } >&5
5334 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
5335 ac_status=$?
5336 if test -s conftest.err; then
5337 sed '10a\
5338 ... rest of stderr output deleted ...
5339 10q' conftest.err >conftest.er1
5340 cat conftest.er1 >&5
5342 rm -f conftest.er1 conftest.err
5343 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5344 test $ac_status = 0; }
5345 done
5347 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
5348 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
5349 if ${ac_cv_cxx_compiler_gnu+:} false; then :
5350 $as_echo_n "(cached) " >&6
5351 else
5352 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5353 /* end confdefs.h. */
5356 main ()
5358 #ifndef __GNUC__
5359 choke me
5360 #endif
5363 return 0;
5365 _ACEOF
5366 if ac_fn_cxx_try_compile "$LINENO"; then :
5367 ac_compiler_gnu=yes
5368 else
5369 ac_compiler_gnu=no
5371 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5372 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
5375 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
5376 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
5377 if test $ac_compiler_gnu = yes; then
5378 GXX=yes
5379 else
5380 GXX=
5382 ac_test_CXXFLAGS=${CXXFLAGS+set}
5383 ac_save_CXXFLAGS=$CXXFLAGS
5384 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
5385 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
5386 if ${ac_cv_prog_cxx_g+:} false; then :
5387 $as_echo_n "(cached) " >&6
5388 else
5389 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
5390 ac_cxx_werror_flag=yes
5391 ac_cv_prog_cxx_g=no
5392 CXXFLAGS="-g"
5393 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5394 /* end confdefs.h. */
5397 main ()
5401 return 0;
5403 _ACEOF
5404 if ac_fn_cxx_try_compile "$LINENO"; then :
5405 ac_cv_prog_cxx_g=yes
5406 else
5407 CXXFLAGS=""
5408 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5409 /* end confdefs.h. */
5412 main ()
5416 return 0;
5418 _ACEOF
5419 if ac_fn_cxx_try_compile "$LINENO"; then :
5421 else
5422 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
5423 CXXFLAGS="-g"
5424 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5425 /* end confdefs.h. */
5428 main ()
5432 return 0;
5434 _ACEOF
5435 if ac_fn_cxx_try_compile "$LINENO"; then :
5436 ac_cv_prog_cxx_g=yes
5438 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5440 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5442 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5443 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
5445 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
5446 $as_echo "$ac_cv_prog_cxx_g" >&6; }
5447 if test "$ac_test_CXXFLAGS" = set; then
5448 CXXFLAGS=$ac_save_CXXFLAGS
5449 elif test $ac_cv_prog_cxx_g = yes; then
5450 if test "$GXX" = yes; then
5451 CXXFLAGS="-g -O2"
5452 else
5453 CXXFLAGS="-g"
5455 else
5456 if test "$GXX" = yes; then
5457 CXXFLAGS="-O2"
5458 else
5459 CXXFLAGS=
5462 ac_ext=c
5463 ac_cpp='$CPP $CPPFLAGS'
5464 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5465 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5466 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5468 if test -n "$ac_tool_prefix"; then
5469 # Extract the first word of "${ac_tool_prefix}cpp", so it can be a program name with args.
5470 set dummy ${ac_tool_prefix}cpp; ac_word=$2
5471 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5472 $as_echo_n "checking for $ac_word... " >&6; }
5473 if ${ac_cv_prog_CPPBIN+:} false; then :
5474 $as_echo_n "(cached) " >&6
5475 else
5476 if test -n "$CPPBIN"; then
5477 ac_cv_prog_CPPBIN="$CPPBIN" # Let the user override the test.
5478 else
5479 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5480 for as_dir in $PATH
5482 IFS=$as_save_IFS
5483 test -z "$as_dir" && as_dir=.
5484 for ac_exec_ext in '' $ac_executable_extensions; do
5485 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5486 ac_cv_prog_CPPBIN="${ac_tool_prefix}cpp"
5487 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5488 break 2
5490 done
5491 done
5492 IFS=$as_save_IFS
5496 CPPBIN=$ac_cv_prog_CPPBIN
5497 if test -n "$CPPBIN"; then
5498 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPPBIN" >&5
5499 $as_echo "$CPPBIN" >&6; }
5500 else
5501 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5502 $as_echo "no" >&6; }
5507 if test -z "$ac_cv_prog_CPPBIN"; then
5508 ac_ct_CPPBIN=$CPPBIN
5509 # Extract the first word of "cpp", so it can be a program name with args.
5510 set dummy cpp; ac_word=$2
5511 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5512 $as_echo_n "checking for $ac_word... " >&6; }
5513 if ${ac_cv_prog_ac_ct_CPPBIN+:} false; then :
5514 $as_echo_n "(cached) " >&6
5515 else
5516 if test -n "$ac_ct_CPPBIN"; then
5517 ac_cv_prog_ac_ct_CPPBIN="$ac_ct_CPPBIN" # Let the user override the test.
5518 else
5519 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5520 for as_dir in $PATH
5522 IFS=$as_save_IFS
5523 test -z "$as_dir" && as_dir=.
5524 for ac_exec_ext in '' $ac_executable_extensions; do
5525 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5526 ac_cv_prog_ac_ct_CPPBIN="cpp"
5527 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5528 break 2
5530 done
5531 done
5532 IFS=$as_save_IFS
5536 ac_ct_CPPBIN=$ac_cv_prog_ac_ct_CPPBIN
5537 if test -n "$ac_ct_CPPBIN"; then
5538 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CPPBIN" >&5
5539 $as_echo "$ac_ct_CPPBIN" >&6; }
5540 else
5541 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5542 $as_echo "no" >&6; }
5545 if test "x$ac_ct_CPPBIN" = x; then
5546 CPPBIN="cpp"
5547 else
5548 case $cross_compiling:$ac_tool_warned in
5549 yes:)
5550 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5551 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5552 ac_tool_warned=yes ;;
5553 esac
5554 CPPBIN=$ac_ct_CPPBIN
5556 else
5557 CPPBIN="$ac_cv_prog_CPPBIN"
5561 cat >>confdefs.h <<_ACEOF
5562 #define EXEEXT "$ac_exeext"
5563 _ACEOF
5565 if test -n "$ac_tool_prefix"; then
5566 # Extract the first word of "${ac_tool_prefix}ld", so it can be a program name with args.
5567 set dummy ${ac_tool_prefix}ld; ac_word=$2
5568 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5569 $as_echo_n "checking for $ac_word... " >&6; }
5570 if ${ac_cv_prog_LD+:} false; then :
5571 $as_echo_n "(cached) " >&6
5572 else
5573 if test -n "$LD"; then
5574 ac_cv_prog_LD="$LD" # Let the user override the test.
5575 else
5576 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5577 for as_dir in $PATH
5579 IFS=$as_save_IFS
5580 test -z "$as_dir" && as_dir=.
5581 for ac_exec_ext in '' $ac_executable_extensions; do
5582 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5583 ac_cv_prog_LD="${ac_tool_prefix}ld"
5584 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5585 break 2
5587 done
5588 done
5589 IFS=$as_save_IFS
5593 LD=$ac_cv_prog_LD
5594 if test -n "$LD"; then
5595 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
5596 $as_echo "$LD" >&6; }
5597 else
5598 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5599 $as_echo "no" >&6; }
5604 if test -z "$ac_cv_prog_LD"; then
5605 ac_ct_LD=$LD
5606 # Extract the first word of "ld", so it can be a program name with args.
5607 set dummy ld; ac_word=$2
5608 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5609 $as_echo_n "checking for $ac_word... " >&6; }
5610 if ${ac_cv_prog_ac_ct_LD+:} false; then :
5611 $as_echo_n "(cached) " >&6
5612 else
5613 if test -n "$ac_ct_LD"; then
5614 ac_cv_prog_ac_ct_LD="$ac_ct_LD" # Let the user override the test.
5615 else
5616 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5617 for as_dir in $PATH
5619 IFS=$as_save_IFS
5620 test -z "$as_dir" && as_dir=.
5621 for ac_exec_ext in '' $ac_executable_extensions; do
5622 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5623 ac_cv_prog_ac_ct_LD="ld"
5624 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5625 break 2
5627 done
5628 done
5629 IFS=$as_save_IFS
5633 ac_ct_LD=$ac_cv_prog_ac_ct_LD
5634 if test -n "$ac_ct_LD"; then
5635 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LD" >&5
5636 $as_echo "$ac_ct_LD" >&6; }
5637 else
5638 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5639 $as_echo "no" >&6; }
5642 if test "x$ac_ct_LD" = x; then
5643 LD=""
5644 else
5645 case $cross_compiling:$ac_tool_warned in
5646 yes:)
5647 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5648 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5649 ac_tool_warned=yes ;;
5650 esac
5651 LD=$ac_ct_LD
5653 else
5654 LD="$ac_cv_prog_LD"
5658 case $host in
5659 *-darwin*)
5660 with_fontconfig=${with_fontconfig:-no}
5662 *-mingw32*|*-cygwin*)
5663 enable_win16=${enable_win16:-no}
5664 with_mingw=${with_mingw:-no}
5665 CFLAGS="$CFLAGS -D_WIN32"
5667 esac
5670 case $host in
5671 x86_64*|amd64*)
5672 if test "x$enable_win64" != "xyes" -a "$cross_compiling" != "yes"
5673 then
5674 CC="$CC -m32"
5675 CXX="$CXX -m32"
5677 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC works" >&5
5678 $as_echo_n "checking whether $CC works... " >&6; }
5679 if ${wine_cv_cc_m32+:} false; then :
5680 $as_echo_n "(cached) " >&6
5681 else
5682 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5683 /* end confdefs.h. */
5686 main ()
5690 return 0;
5692 _ACEOF
5693 if ac_fn_c_try_link "$LINENO"; then :
5694 wine_cv_cc_m32=yes
5695 else
5696 wine_cv_cc_m32=no
5698 rm -f core conftest.err conftest.$ac_objext \
5699 conftest$ac_exeext conftest.$ac_ext
5701 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_cc_m32" >&5
5702 $as_echo "$wine_cv_cc_m32" >&6; }
5703 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
5704 host_cpu="i386"
5705 notice_platform="32-bit "
5706 TARGETFLAGS="$TARGETFLAGS -m32"
5707 PKG_CONFIG_PATH=${PKG_CONFIG_PATH:-/usr/lib/i386-linux-gnu/pkgconfig:/usr/lib32/pkgconfig:/usr/lib/pkgconfig}
5708 export PKG_CONFIG_PATH
5709 enable_win16=${enable_win16:-yes}
5710 with_unwind=${with_unwind:-no}
5711 else
5712 if test "x${GCC}" = "xyes"
5713 then
5714 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports __builtin_ms_va_list" >&5
5715 $as_echo_n "checking whether $CC supports __builtin_ms_va_list... " >&6; }
5716 if ${wine_cv_builtin_ms_va_list+:} false; then :
5717 $as_echo_n "(cached) " >&6
5718 else
5719 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5720 /* end confdefs.h. */
5721 #include <stdarg.h>
5723 main ()
5725 void func(__builtin_ms_va_list *args);
5727 return 0;
5729 _ACEOF
5730 if ac_fn_c_try_compile "$LINENO"; then :
5731 wine_cv_builtin_ms_va_list=yes
5732 else
5733 wine_cv_builtin_ms_va_list=no
5735 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5737 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_builtin_ms_va_list" >&5
5738 $as_echo "$wine_cv_builtin_ms_va_list" >&6; }
5739 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
5741 CC="$CC -m64"
5742 CXX="$CXX -m64"
5743 host_cpu="x86_64"
5744 notice_platform="64-bit "
5745 TARGETFLAGS="$TARGETFLAGS -m64"
5746 enable_wow64cpu=${enable_wow64cpu:-yes}
5749 arm*)
5750 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports Thumb-2" >&5
5751 $as_echo_n "checking whether $CC supports Thumb-2... " >&6; }
5752 if ${wine_cv_thumb2+:} false; then :
5753 $as_echo_n "(cached) " >&6
5754 else
5755 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5756 /* end confdefs.h. */
5759 main ()
5761 asm(".syntax unified\n\t.thumb\n\tldm r0,{r0-r8}");
5763 return 0;
5765 _ACEOF
5766 if ac_fn_c_try_link "$LINENO"; then :
5767 wine_cv_thumb2=yes
5768 else
5769 wine_cv_thumb2=no
5771 rm -f core conftest.err conftest.$ac_objext \
5772 conftest$ac_exeext conftest.$ac_ext
5774 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_thumb2" >&5
5775 $as_echo "$wine_cv_thumb2" >&6; }
5776 if test x"$wine_cv_thumb2" = xyes
5777 then
5778 CFLAGS="$CFLAGS -mthumb"
5779 TARGETFLAGS="$TARGETFLAGS -mthumb"
5780 else
5781 CFLAGS="$CFLAGS -marm"
5782 TARGETFLAGS="$TARGETFLAGS -marm"
5784 case $with_float_abi in
5785 soft|softfp|hard)
5786 float_abi=$with_float_abi ;;
5788 case $host_os in
5789 *eabihf)
5790 float_abi=hard ;;
5792 float_abi=softfp
5793 saved_CFLAGS=$CFLAGS
5794 CFLAGS="$CFLAGS -mfloat-abi=$float_abi"
5795 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -mfloat-abi=$float_abi" >&5
5796 $as_echo_n "checking whether $CC supports -mfloat-abi=$float_abi... " >&6; }
5797 if ${wine_cv_float_abi+:} false; then :
5798 $as_echo_n "(cached) " >&6
5799 else
5800 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5801 /* end confdefs.h. */
5804 main ()
5806 asm("vmrs r2,fpscr");
5808 return 0;
5810 _ACEOF
5811 if ac_fn_c_try_link "$LINENO"; then :
5812 wine_cv_float_abi=yes
5813 else
5814 wine_cv_float_abi=no
5816 rm -f core conftest.err conftest.$ac_objext \
5817 conftest$ac_exeext conftest.$ac_ext
5819 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_float_abi" >&5
5820 $as_echo "$wine_cv_float_abi" >&6; }
5821 if test $wine_cv_float_abi = no
5822 then
5823 float_abi=soft
5824 as_fn_append wine_warnings "|Floating point is not supported for this target. The resulting build won't be compatible with Windows ARM binaries."
5826 CFLAGS=$saved_CFLAGS
5827 esac
5829 esac
5830 CFLAGS="$CFLAGS -mfloat-abi=$float_abi"
5831 TARGETFLAGS="$TARGETFLAGS -mfloat-abi=$float_abi"
5833 aarch64*)
5834 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports __builtin_ms_va_list" >&5
5835 $as_echo_n "checking whether $CC supports __builtin_ms_va_list... " >&6; }
5836 if ${wine_cv_builtin_ms_va_list+:} false; then :
5837 $as_echo_n "(cached) " >&6
5838 else
5839 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5840 /* end confdefs.h. */
5841 #include <stdarg.h>
5843 main ()
5845 void func(__builtin_ms_va_list *args);
5847 return 0;
5849 _ACEOF
5850 if ac_fn_c_try_compile "$LINENO"; then :
5851 wine_cv_builtin_ms_va_list=yes
5852 else
5853 wine_cv_builtin_ms_va_list=no
5855 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5857 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_builtin_ms_va_list" >&5
5858 $as_echo "$wine_cv_builtin_ms_va_list" >&6; }
5859 test $wine_cv_builtin_ms_va_list != no || as_fn_error $? "You need clang >= 5.0 to build Wine for arm64." "$LINENO" 5
5861 i[3456789]86*)
5862 enable_win16=${enable_win16:-yes}
5863 with_unwind=${with_unwind:-no}
5865 esac
5867 enable_win16=${enable_win16:-no}
5868 enable_win64=${enable_win64:-no}
5869 enable_wow64cpu=${enable_wow64cpu:-no}
5871 enable_winetest=${enable_winetest:-$enable_tests}
5873 if test "x$enable_win64" = "xyes"
5874 then
5875 test -z "$with_wine64" || as_fn_error $? "--enable-win64 and --with-wine64 are mutually exclusive.
5876 --enable-win64 should be used in the 64-bit build tree, --with-wine64 in the 32-bit Wow64 build tree." "$LINENO" 5
5879 case $host_cpu in
5880 *i[3456789]86*) ARCH="i386"
5882 *x86_64*) ARCH="x86_64"
5884 *aarch64*) ARCH="aarch64"
5886 *arm*) ARCH="arm"
5888 *) ARCH=""
5890 esac
5892 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the directory containing the Wine tools" >&5
5893 $as_echo_n "checking for the directory containing the Wine tools... " >&6; }
5894 if ${wine_cv_toolsdir+:} false; then :
5895 $as_echo_n "(cached) " >&6
5896 else
5897 wine_cv_toolsdir="$with_wine_tools"
5898 if test -z "$with_wine_tools"; then
5899 if test "$cross_compiling" = "yes"; then
5900 as_fn_error $? "you must use the --with-wine-tools option when cross-compiling." "$LINENO" 5
5901 elif test -n "$with_wine64"; then
5902 wine_cv_toolsdir="$with_wine64"
5906 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_toolsdir" >&5
5907 $as_echo "$wine_cv_toolsdir" >&6; }
5908 if test -z "$wine_cv_toolsdir"; then
5909 wine_makedep=tools/makedep
5910 TOOLSDIR="."
5912 elif test -d "$wine_cv_toolsdir/tools/winebuild"; then
5913 wine_makedep=$wine_cv_toolsdir/tools/makedep
5914 TOOLSDIR=$wine_cv_toolsdir
5916 enable_tools=${enable_tools:-no}
5917 test -f "$wine_makedep" || as_fn_error $? "the Wine tools have not yet been built in $wine_cv_toolsdir" "$LINENO" 5
5918 else
5919 as_fn_error $? "could not find Wine tools in $wine_cv_toolsdir" "$LINENO" 5
5921 if test -n "$host_alias" -a "$host_alias" != "$build_alias"
5922 then
5923 TARGETFLAGS="-b $host_alias $TARGETFLAGS"
5926 for ac_prog in flex
5928 # Extract the first word of "$ac_prog", so it can be a program name with args.
5929 set dummy $ac_prog; ac_word=$2
5930 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5931 $as_echo_n "checking for $ac_word... " >&6; }
5932 if ${ac_cv_prog_FLEX+:} false; then :
5933 $as_echo_n "(cached) " >&6
5934 else
5935 if test -n "$FLEX"; then
5936 ac_cv_prog_FLEX="$FLEX" # Let the user override the test.
5937 else
5938 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5939 for as_dir in $PATH
5941 IFS=$as_save_IFS
5942 test -z "$as_dir" && as_dir=.
5943 for ac_exec_ext in '' $ac_executable_extensions; do
5944 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5945 ac_cv_prog_FLEX="$ac_prog"
5946 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5947 break 2
5949 done
5950 done
5951 IFS=$as_save_IFS
5955 FLEX=$ac_cv_prog_FLEX
5956 if test -n "$FLEX"; then
5957 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FLEX" >&5
5958 $as_echo "$FLEX" >&6; }
5959 else
5960 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5961 $as_echo "no" >&6; }
5965 test -n "$FLEX" && break
5966 done
5967 test -n "$FLEX" || FLEX="none"
5969 if test "$FLEX" = "none"
5970 then
5971 as_fn_error $? "no suitable flex found. Please install the 'flex' package." "$LINENO" 5
5973 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether flex is recent enough" >&5
5974 $as_echo_n "checking whether flex is recent enough... " >&6; }
5975 if ${wine_cv_recent_flex+:} false; then :
5976 $as_echo_n "(cached) " >&6
5977 else
5978 cat >conftest.l <<EOF
5979 %top{
5980 #include "prediluvian.h"
5984 if $FLEX -t conftest.l >/dev/null 2>&5
5985 then
5986 wine_cv_recent_flex=yes
5987 else
5988 wine_cv_recent_flex=no
5991 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_recent_flex" >&5
5992 $as_echo "$wine_cv_recent_flex" >&6; }
5993 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
5995 for ac_prog in bison
5997 # Extract the first word of "$ac_prog", so it can be a program name with args.
5998 set dummy $ac_prog; ac_word=$2
5999 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6000 $as_echo_n "checking for $ac_word... " >&6; }
6001 if ${ac_cv_prog_BISON+:} false; then :
6002 $as_echo_n "(cached) " >&6
6003 else
6004 if test -n "$BISON"; then
6005 ac_cv_prog_BISON="$BISON" # Let the user override the test.
6006 else
6007 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6008 for as_dir in $PATH
6010 IFS=$as_save_IFS
6011 test -z "$as_dir" && as_dir=.
6012 for ac_exec_ext in '' $ac_executable_extensions; do
6013 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6014 ac_cv_prog_BISON="$ac_prog"
6015 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6016 break 2
6018 done
6019 done
6020 IFS=$as_save_IFS
6024 BISON=$ac_cv_prog_BISON
6025 if test -n "$BISON"; then
6026 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BISON" >&5
6027 $as_echo "$BISON" >&6; }
6028 else
6029 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6030 $as_echo "no" >&6; }
6034 test -n "$BISON" && break
6035 done
6036 test -n "$BISON" || BISON="none"
6038 if test "$BISON" = "none"
6039 then
6040 as_fn_error $? "no suitable bison found. Please install the 'bison' package." "$LINENO" 5
6042 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether bison is recent enough" >&5
6043 $as_echo_n "checking whether bison is recent enough... " >&6; }
6044 if ${wine_cv_recent_bison+:} false; then :
6045 $as_echo_n "(cached) " >&6
6046 else
6047 cat >conftest.y <<EOF
6048 %define parse.error verbose
6050 empty: ;
6052 if $BISON conftest.y >/dev/null 2>&5
6053 then
6054 wine_cv_recent_bison=yes
6055 else
6056 wine_cv_recent_bison=no
6059 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_recent_bison" >&5
6060 $as_echo "$wine_cv_recent_bison" >&6; }
6061 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
6063 if test -n "$ac_tool_prefix"; then
6064 for ac_prog in ar gar
6066 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
6067 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
6068 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6069 $as_echo_n "checking for $ac_word... " >&6; }
6070 if ${ac_cv_prog_AR+:} false; then :
6071 $as_echo_n "(cached) " >&6
6072 else
6073 if test -n "$AR"; then
6074 ac_cv_prog_AR="$AR" # Let the user override the test.
6075 else
6076 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6077 for as_dir in $PATH
6079 IFS=$as_save_IFS
6080 test -z "$as_dir" && as_dir=.
6081 for ac_exec_ext in '' $ac_executable_extensions; do
6082 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6083 ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
6084 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6085 break 2
6087 done
6088 done
6089 IFS=$as_save_IFS
6093 AR=$ac_cv_prog_AR
6094 if test -n "$AR"; then
6095 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
6096 $as_echo "$AR" >&6; }
6097 else
6098 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6099 $as_echo "no" >&6; }
6103 test -n "$AR" && break
6104 done
6106 if test -z "$AR"; then
6107 ac_ct_AR=$AR
6108 for ac_prog in ar gar
6110 # Extract the first word of "$ac_prog", so it can be a program name with args.
6111 set dummy $ac_prog; ac_word=$2
6112 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6113 $as_echo_n "checking for $ac_word... " >&6; }
6114 if ${ac_cv_prog_ac_ct_AR+:} false; then :
6115 $as_echo_n "(cached) " >&6
6116 else
6117 if test -n "$ac_ct_AR"; then
6118 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
6119 else
6120 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6121 for as_dir in $PATH
6123 IFS=$as_save_IFS
6124 test -z "$as_dir" && as_dir=.
6125 for ac_exec_ext in '' $ac_executable_extensions; do
6126 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6127 ac_cv_prog_ac_ct_AR="$ac_prog"
6128 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6129 break 2
6131 done
6132 done
6133 IFS=$as_save_IFS
6137 ac_ct_AR=$ac_cv_prog_ac_ct_AR
6138 if test -n "$ac_ct_AR"; then
6139 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
6140 $as_echo "$ac_ct_AR" >&6; }
6141 else
6142 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6143 $as_echo "no" >&6; }
6147 test -n "$ac_ct_AR" && break
6148 done
6150 if test "x$ac_ct_AR" = x; then
6151 AR="ar"
6152 else
6153 case $cross_compiling:$ac_tool_warned in
6154 yes:)
6155 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6156 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6157 ac_tool_warned=yes ;;
6158 esac
6159 AR=$ac_ct_AR
6163 if test -n "$ac_tool_prefix"; then
6164 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
6165 set dummy ${ac_tool_prefix}strip; ac_word=$2
6166 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6167 $as_echo_n "checking for $ac_word... " >&6; }
6168 if ${ac_cv_prog_STRIP+:} false; then :
6169 $as_echo_n "(cached) " >&6
6170 else
6171 if test -n "$STRIP"; then
6172 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
6173 else
6174 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6175 for as_dir in $PATH
6177 IFS=$as_save_IFS
6178 test -z "$as_dir" && as_dir=.
6179 for ac_exec_ext in '' $ac_executable_extensions; do
6180 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6181 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
6182 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6183 break 2
6185 done
6186 done
6187 IFS=$as_save_IFS
6191 STRIP=$ac_cv_prog_STRIP
6192 if test -n "$STRIP"; then
6193 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
6194 $as_echo "$STRIP" >&6; }
6195 else
6196 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6197 $as_echo "no" >&6; }
6202 if test -z "$ac_cv_prog_STRIP"; then
6203 ac_ct_STRIP=$STRIP
6204 # Extract the first word of "strip", so it can be a program name with args.
6205 set dummy strip; ac_word=$2
6206 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6207 $as_echo_n "checking for $ac_word... " >&6; }
6208 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
6209 $as_echo_n "(cached) " >&6
6210 else
6211 if test -n "$ac_ct_STRIP"; then
6212 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
6213 else
6214 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6215 for as_dir in $PATH
6217 IFS=$as_save_IFS
6218 test -z "$as_dir" && as_dir=.
6219 for ac_exec_ext in '' $ac_executable_extensions; do
6220 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6221 ac_cv_prog_ac_ct_STRIP="strip"
6222 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6223 break 2
6225 done
6226 done
6227 IFS=$as_save_IFS
6231 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
6232 if test -n "$ac_ct_STRIP"; then
6233 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
6234 $as_echo "$ac_ct_STRIP" >&6; }
6235 else
6236 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6237 $as_echo "no" >&6; }
6240 if test "x$ac_ct_STRIP" = x; then
6241 STRIP="strip"
6242 else
6243 case $cross_compiling:$ac_tool_warned in
6244 yes:)
6245 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6246 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6247 ac_tool_warned=yes ;;
6248 esac
6249 STRIP=$ac_ct_STRIP
6251 else
6252 STRIP="$ac_cv_prog_STRIP"
6255 if test -n "$ac_tool_prefix"; then
6256 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
6257 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6258 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6259 $as_echo_n "checking for $ac_word... " >&6; }
6260 if ${ac_cv_prog_RANLIB+:} false; then :
6261 $as_echo_n "(cached) " >&6
6262 else
6263 if test -n "$RANLIB"; then
6264 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
6265 else
6266 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6267 for as_dir in $PATH
6269 IFS=$as_save_IFS
6270 test -z "$as_dir" && as_dir=.
6271 for ac_exec_ext in '' $ac_executable_extensions; do
6272 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6273 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
6274 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6275 break 2
6277 done
6278 done
6279 IFS=$as_save_IFS
6283 RANLIB=$ac_cv_prog_RANLIB
6284 if test -n "$RANLIB"; then
6285 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
6286 $as_echo "$RANLIB" >&6; }
6287 else
6288 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6289 $as_echo "no" >&6; }
6294 if test -z "$ac_cv_prog_RANLIB"; then
6295 ac_ct_RANLIB=$RANLIB
6296 # Extract the first word of "ranlib", so it can be a program name with args.
6297 set dummy ranlib; ac_word=$2
6298 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6299 $as_echo_n "checking for $ac_word... " >&6; }
6300 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
6301 $as_echo_n "(cached) " >&6
6302 else
6303 if test -n "$ac_ct_RANLIB"; then
6304 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
6305 else
6306 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6307 for as_dir in $PATH
6309 IFS=$as_save_IFS
6310 test -z "$as_dir" && as_dir=.
6311 for ac_exec_ext in '' $ac_executable_extensions; do
6312 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6313 ac_cv_prog_ac_ct_RANLIB="ranlib"
6314 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6315 break 2
6317 done
6318 done
6319 IFS=$as_save_IFS
6323 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
6324 if test -n "$ac_ct_RANLIB"; then
6325 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
6326 $as_echo "$ac_ct_RANLIB" >&6; }
6327 else
6328 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6329 $as_echo "no" >&6; }
6332 if test "x$ac_ct_RANLIB" = x; then
6333 RANLIB=":"
6334 else
6335 case $cross_compiling:$ac_tool_warned in
6336 yes:)
6337 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6338 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6339 ac_tool_warned=yes ;;
6340 esac
6341 RANLIB=$ac_ct_RANLIB
6343 else
6344 RANLIB="$ac_cv_prog_RANLIB"
6347 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
6348 $as_echo_n "checking whether ln -s works... " >&6; }
6349 LN_S=$as_ln_s
6350 if test "$LN_S" = "ln -s"; then
6351 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6352 $as_echo "yes" >&6; }
6353 else
6354 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
6355 $as_echo "no, using $LN_S" >&6; }
6358 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
6359 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
6360 if ${ac_cv_path_GREP+:} false; then :
6361 $as_echo_n "(cached) " >&6
6362 else
6363 if test -z "$GREP"; then
6364 ac_path_GREP_found=false
6365 # Loop through the user's path and test for each of PROGNAME-LIST
6366 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6367 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
6369 IFS=$as_save_IFS
6370 test -z "$as_dir" && as_dir=.
6371 for ac_prog in grep ggrep; do
6372 for ac_exec_ext in '' $ac_executable_extensions; do
6373 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
6374 as_fn_executable_p "$ac_path_GREP" || continue
6375 # Check for GNU ac_path_GREP and select it if it is found.
6376 # Check for GNU $ac_path_GREP
6377 case `"$ac_path_GREP" --version 2>&1` in
6378 *GNU*)
6379 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
6381 ac_count=0
6382 $as_echo_n 0123456789 >"conftest.in"
6383 while :
6385 cat "conftest.in" "conftest.in" >"conftest.tmp"
6386 mv "conftest.tmp" "conftest.in"
6387 cp "conftest.in" "conftest.nl"
6388 $as_echo 'GREP' >> "conftest.nl"
6389 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
6390 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
6391 as_fn_arith $ac_count + 1 && ac_count=$as_val
6392 if test $ac_count -gt ${ac_path_GREP_max-0}; then
6393 # Best one so far, save it but keep looking for a better one
6394 ac_cv_path_GREP="$ac_path_GREP"
6395 ac_path_GREP_max=$ac_count
6397 # 10*(2^10) chars as input seems more than enough
6398 test $ac_count -gt 10 && break
6399 done
6400 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
6401 esac
6403 $ac_path_GREP_found && break 3
6404 done
6405 done
6406 done
6407 IFS=$as_save_IFS
6408 if test -z "$ac_cv_path_GREP"; then
6409 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
6411 else
6412 ac_cv_path_GREP=$GREP
6416 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
6417 $as_echo "$ac_cv_path_GREP" >&6; }
6418 GREP="$ac_cv_path_GREP"
6421 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
6422 $as_echo_n "checking for egrep... " >&6; }
6423 if ${ac_cv_path_EGREP+:} false; then :
6424 $as_echo_n "(cached) " >&6
6425 else
6426 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
6427 then ac_cv_path_EGREP="$GREP -E"
6428 else
6429 if test -z "$EGREP"; then
6430 ac_path_EGREP_found=false
6431 # Loop through the user's path and test for each of PROGNAME-LIST
6432 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6433 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
6435 IFS=$as_save_IFS
6436 test -z "$as_dir" && as_dir=.
6437 for ac_prog in egrep; do
6438 for ac_exec_ext in '' $ac_executable_extensions; do
6439 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
6440 as_fn_executable_p "$ac_path_EGREP" || continue
6441 # Check for GNU ac_path_EGREP and select it if it is found.
6442 # Check for GNU $ac_path_EGREP
6443 case `"$ac_path_EGREP" --version 2>&1` in
6444 *GNU*)
6445 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
6447 ac_count=0
6448 $as_echo_n 0123456789 >"conftest.in"
6449 while :
6451 cat "conftest.in" "conftest.in" >"conftest.tmp"
6452 mv "conftest.tmp" "conftest.in"
6453 cp "conftest.in" "conftest.nl"
6454 $as_echo 'EGREP' >> "conftest.nl"
6455 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
6456 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
6457 as_fn_arith $ac_count + 1 && ac_count=$as_val
6458 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
6459 # Best one so far, save it but keep looking for a better one
6460 ac_cv_path_EGREP="$ac_path_EGREP"
6461 ac_path_EGREP_max=$ac_count
6463 # 10*(2^10) chars as input seems more than enough
6464 test $ac_count -gt 10 && break
6465 done
6466 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
6467 esac
6469 $ac_path_EGREP_found && break 3
6470 done
6471 done
6472 done
6473 IFS=$as_save_IFS
6474 if test -z "$ac_cv_path_EGREP"; then
6475 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
6477 else
6478 ac_cv_path_EGREP=$EGREP
6483 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
6484 $as_echo "$ac_cv_path_EGREP" >&6; }
6485 EGREP="$ac_cv_path_EGREP"
6488 # Extract the first word of "ldconfig", so it can be a program name with args.
6489 set dummy ldconfig; ac_word=$2
6490 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6491 $as_echo_n "checking for $ac_word... " >&6; }
6492 if ${ac_cv_path_LDCONFIG+:} false; then :
6493 $as_echo_n "(cached) " >&6
6494 else
6495 case $LDCONFIG in
6496 [\\/]* | ?:[\\/]*)
6497 ac_cv_path_LDCONFIG="$LDCONFIG" # Let the user override the test with a path.
6500 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6501 for as_dir in /sbin /usr/sbin $PATH
6503 IFS=$as_save_IFS
6504 test -z "$as_dir" && as_dir=.
6505 for ac_exec_ext in '' $ac_executable_extensions; do
6506 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6507 ac_cv_path_LDCONFIG="$as_dir/$ac_word$ac_exec_ext"
6508 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6509 break 2
6511 done
6512 done
6513 IFS=$as_save_IFS
6515 test -z "$ac_cv_path_LDCONFIG" && ac_cv_path_LDCONFIG="true"
6517 esac
6519 LDCONFIG=$ac_cv_path_LDCONFIG
6520 if test -n "$LDCONFIG"; then
6521 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDCONFIG" >&5
6522 $as_echo "$LDCONFIG" >&6; }
6523 else
6524 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6525 $as_echo "no" >&6; }
6529 for ac_prog in msgfmt
6531 # Extract the first word of "$ac_prog", so it can be a program name with args.
6532 set dummy $ac_prog; ac_word=$2
6533 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6534 $as_echo_n "checking for $ac_word... " >&6; }
6535 if ${ac_cv_prog_MSGFMT+:} false; then :
6536 $as_echo_n "(cached) " >&6
6537 else
6538 if test -n "$MSGFMT"; then
6539 ac_cv_prog_MSGFMT="$MSGFMT" # Let the user override the test.
6540 else
6541 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6542 for as_dir in $PATH
6544 IFS=$as_save_IFS
6545 test -z "$as_dir" && as_dir=.
6546 for ac_exec_ext in '' $ac_executable_extensions; do
6547 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6548 ac_cv_prog_MSGFMT="$ac_prog"
6549 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6550 break 2
6552 done
6553 done
6554 IFS=$as_save_IFS
6558 MSGFMT=$ac_cv_prog_MSGFMT
6559 if test -n "$MSGFMT"; then
6560 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
6561 $as_echo "$MSGFMT" >&6; }
6562 else
6563 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6564 $as_echo "no" >&6; }
6568 test -n "$MSGFMT" && break
6569 done
6570 test -n "$MSGFMT" || MSGFMT="false"
6572 if ${ac_tool_prefix+:} false; then :
6573 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
6574 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
6575 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6576 $as_echo_n "checking for $ac_word... " >&6; }
6577 if ${ac_cv_prog_PKG_CONFIG+:} false; then :
6578 $as_echo_n "(cached) " >&6
6579 else
6580 if test -n "$PKG_CONFIG"; then
6581 ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
6582 else
6583 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6584 for as_dir in $PATH
6586 IFS=$as_save_IFS
6587 test -z "$as_dir" && as_dir=.
6588 for ac_exec_ext in '' $ac_executable_extensions; do
6589 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6590 ac_cv_prog_PKG_CONFIG="${ac_tool_prefix}pkg-config"
6591 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6592 break 2
6594 done
6595 done
6596 IFS=$as_save_IFS
6600 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
6601 if test -n "$PKG_CONFIG"; then
6602 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
6603 $as_echo "$PKG_CONFIG" >&6; }
6604 else
6605 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6606 $as_echo "no" >&6; }
6611 if ${ac_cv_prog_PKG_CONFIG:+false} :; then :
6612 if test "x$cross_compiling" = xyes; then :
6614 else
6615 { ac_cv_prog_PKG_CONFIG=; unset ac_cv_prog_PKG_CONFIG;}
6616 # Extract the first word of "pkg-config", so it can be a program name with args.
6617 set dummy pkg-config; ac_word=$2
6618 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6619 $as_echo_n "checking for $ac_word... " >&6; }
6620 if ${ac_cv_prog_PKG_CONFIG+:} false; then :
6621 $as_echo_n "(cached) " >&6
6622 else
6623 if test -n "$PKG_CONFIG"; then
6624 ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
6625 else
6626 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6627 for as_dir in $PATH
6629 IFS=$as_save_IFS
6630 test -z "$as_dir" && as_dir=.
6631 for ac_exec_ext in '' $ac_executable_extensions; do
6632 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6633 ac_cv_prog_PKG_CONFIG="pkg-config"
6634 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6635 break 2
6637 done
6638 done
6639 IFS=$as_save_IFS
6643 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
6644 if test -n "$PKG_CONFIG"; then
6645 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
6646 $as_echo "$PKG_CONFIG" >&6; }
6647 else
6648 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6649 $as_echo "no" >&6; }
6654 else
6655 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
6658 if test "x$enable_maintainer_mode" != "xyes"
6659 then
6660 FONTFORGE=""
6661 RSVG=""
6662 CONVERT=""
6663 ICOTOOL=""
6664 else
6665 test "$srcdir" = . || as_fn_error $? "Maintainer mode cannot work out of tree." "$LINENO" 5
6666 for ac_prog in fontforge
6668 # Extract the first word of "$ac_prog", so it can be a program name with args.
6669 set dummy $ac_prog; ac_word=$2
6670 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6671 $as_echo_n "checking for $ac_word... " >&6; }
6672 if ${ac_cv_prog_FONTFORGE+:} false; then :
6673 $as_echo_n "(cached) " >&6
6674 else
6675 if test -n "$FONTFORGE"; then
6676 ac_cv_prog_FONTFORGE="$FONTFORGE" # Let the user override the test.
6677 else
6678 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6679 for as_dir in $PATH
6681 IFS=$as_save_IFS
6682 test -z "$as_dir" && as_dir=.
6683 for ac_exec_ext in '' $ac_executable_extensions; do
6684 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6685 ac_cv_prog_FONTFORGE="$ac_prog"
6686 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6687 break 2
6689 done
6690 done
6691 IFS=$as_save_IFS
6695 FONTFORGE=$ac_cv_prog_FONTFORGE
6696 if test -n "$FONTFORGE"; then
6697 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FONTFORGE" >&5
6698 $as_echo "$FONTFORGE" >&6; }
6699 else
6700 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6701 $as_echo "no" >&6; }
6705 test -n "$FONTFORGE" && break
6706 done
6707 test -n "$FONTFORGE" || FONTFORGE="false"
6709 for ac_prog in rsvg-convert rsvg
6711 # Extract the first word of "$ac_prog", so it can be a program name with args.
6712 set dummy $ac_prog; ac_word=$2
6713 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6714 $as_echo_n "checking for $ac_word... " >&6; }
6715 if ${ac_cv_prog_RSVG+:} false; then :
6716 $as_echo_n "(cached) " >&6
6717 else
6718 if test -n "$RSVG"; then
6719 ac_cv_prog_RSVG="$RSVG" # Let the user override the test.
6720 else
6721 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6722 for as_dir in $PATH
6724 IFS=$as_save_IFS
6725 test -z "$as_dir" && as_dir=.
6726 for ac_exec_ext in '' $ac_executable_extensions; do
6727 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6728 ac_cv_prog_RSVG="$ac_prog"
6729 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6730 break 2
6732 done
6733 done
6734 IFS=$as_save_IFS
6738 RSVG=$ac_cv_prog_RSVG
6739 if test -n "$RSVG"; then
6740 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RSVG" >&5
6741 $as_echo "$RSVG" >&6; }
6742 else
6743 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6744 $as_echo "no" >&6; }
6748 test -n "$RSVG" && break
6749 done
6750 test -n "$RSVG" || RSVG="false"
6752 for ac_prog in convert
6754 # Extract the first word of "$ac_prog", so it can be a program name with args.
6755 set dummy $ac_prog; ac_word=$2
6756 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6757 $as_echo_n "checking for $ac_word... " >&6; }
6758 if ${ac_cv_prog_CONVERT+:} false; then :
6759 $as_echo_n "(cached) " >&6
6760 else
6761 if test -n "$CONVERT"; then
6762 ac_cv_prog_CONVERT="$CONVERT" # Let the user override the test.
6763 else
6764 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6765 for as_dir in $PATH
6767 IFS=$as_save_IFS
6768 test -z "$as_dir" && as_dir=.
6769 for ac_exec_ext in '' $ac_executable_extensions; do
6770 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6771 ac_cv_prog_CONVERT="$ac_prog"
6772 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6773 break 2
6775 done
6776 done
6777 IFS=$as_save_IFS
6781 CONVERT=$ac_cv_prog_CONVERT
6782 if test -n "$CONVERT"; then
6783 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CONVERT" >&5
6784 $as_echo "$CONVERT" >&6; }
6785 else
6786 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6787 $as_echo "no" >&6; }
6791 test -n "$CONVERT" && break
6792 done
6793 test -n "$CONVERT" || CONVERT="false"
6795 for ac_prog in icotool
6797 # Extract the first word of "$ac_prog", so it can be a program name with args.
6798 set dummy $ac_prog; ac_word=$2
6799 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6800 $as_echo_n "checking for $ac_word... " >&6; }
6801 if ${ac_cv_prog_ICOTOOL+:} false; then :
6802 $as_echo_n "(cached) " >&6
6803 else
6804 if test -n "$ICOTOOL"; then
6805 ac_cv_prog_ICOTOOL="$ICOTOOL" # Let the user override the test.
6806 else
6807 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6808 for as_dir in $PATH
6810 IFS=$as_save_IFS
6811 test -z "$as_dir" && as_dir=.
6812 for ac_exec_ext in '' $ac_executable_extensions; do
6813 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6814 ac_cv_prog_ICOTOOL="$ac_prog"
6815 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6816 break 2
6818 done
6819 done
6820 IFS=$as_save_IFS
6824 ICOTOOL=$ac_cv_prog_ICOTOOL
6825 if test -n "$ICOTOOL"; then
6826 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ICOTOOL" >&5
6827 $as_echo "$ICOTOOL" >&6; }
6828 else
6829 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6830 $as_echo "no" >&6; }
6834 test -n "$ICOTOOL" && break
6835 done
6836 test -n "$ICOTOOL" || ICOTOOL="false"
6838 test "$FONTFORGE" != "false" || as_fn_error $? "You need fontforge to rebuild fonts in maintainer mode." "$LINENO" 5
6839 test "$RSVG" != "false" || as_fn_error $? "You need rsvg to rebuild icons in maintainer mode." "$LINENO" 5
6841 if test "$CONVERT" = false
6842 then
6843 as_fn_error $? "You need imagemagick to rebuild icons in maintainer mode." "$LINENO" 5
6844 else
6845 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for recent enough imagemagick" >&5
6846 $as_echo_n "checking for recent enough imagemagick... " >&6; }
6847 convert_version=`convert --version | head -n1`
6848 if test "x$convert_version" != "x"
6849 then
6850 convert_version_major=`expr "$convert_version" : '.* \([0-9]*\)\.[0-9]*'`
6851 convert_version_minor=`expr "$convert_version" : '.* [0-9]*\.\([0-9]*\)'`
6852 if test "$convert_version_major" -eq 6 -a "$convert_version_minor" -lt 6
6853 then
6854 CONVERT=false
6857 if test "$CONVERT" = false
6858 then
6859 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no ($convert_version_major.$convert_version_minor)" >&5
6860 $as_echo "no ($convert_version_major.$convert_version_minor)" >&6; }
6861 as_fn_error $? "You need imagemagick version 6.6 or newer to rebuild icons in maintainer mode." "$LINENO" 5
6862 else
6863 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($convert_version_major.$convert_version_minor)" >&5
6864 $as_echo "yes ($convert_version_major.$convert_version_minor)" >&6; }
6868 if test "$ICOTOOL" = false
6869 then
6870 as_fn_error $? "You need icotool to rebuild icons in maintainer mode." "$LINENO" 5
6871 else
6872 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for recent enough icotool" >&5
6873 $as_echo_n "checking for recent enough icotool... " >&6; }
6874 icotool_version=`icotool --version | head -n1`
6875 if test "x$icotool_version" != "x"
6876 then
6877 icotool_version_major=`expr "$icotool_version" : '.* \([0-9]*\)\.[0-9]*'`
6878 icotool_version_minor=`expr "$icotool_version" : '.* [0-9]*\.\([0-9]*\)'`
6879 if test "$icotool_version_major" -eq 0 -a "$icotool_version_minor" -lt 29
6880 then
6881 ICOTOOL=false
6882 as_fn_append wine_warnings "|icotool version 0.29.0 or newer is needed to rebuild icons."
6885 if test "$ICOTOOL" = false
6886 then
6887 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no ($icotool_version_major.$icotool_version_minor)" >&5
6888 $as_echo "no ($icotool_version_major.$icotool_version_minor)" >&6; }
6889 as_fn_error $? "You need icotool version 0.29.0 or newer to rebuild icons in maintainer mode." "$LINENO" 5
6890 else
6891 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($icotool_version_major.$icotool_version_minor)" >&5
6892 $as_echo "yes ($icotool_version_major.$icotool_version_minor)" >&6; }
6896 with_gettext=yes
6897 with_gettextpo=yes
6899 enable_werror=yes
6902 test "x$with_gettext" != xno || MSGFMT=false
6903 if test "$MSGFMT" != "false"
6904 then
6905 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether msgfmt supports contexts" >&5
6906 $as_echo_n "checking whether msgfmt supports contexts... " >&6; }
6907 if ${wine_cv_msgfmt_contexts+:} false; then :
6908 $as_echo_n "(cached) " >&6
6909 else
6910 cat >conftest.po <<EOF
6911 # comment
6912 msgctxt "ctxt"
6913 msgid "id"
6914 msgstr "str"
6916 if $MSGFMT -o /dev/null conftest.po 2>&5
6917 then
6918 wine_cv_msgfmt_contexts=yes
6919 else
6920 wine_cv_msgfmt_contexts=no
6923 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_msgfmt_contexts" >&5
6924 $as_echo "$wine_cv_msgfmt_contexts" >&6; }
6925 test $wine_cv_msgfmt_contexts != no || MSGFMT=false
6927 if test "$MSGFMT" = false; then :
6928 case "x$with_gettext" in
6929 x) as_fn_append wine_warnings "|gettext tools not found (or too old), translations won't be built." ;;
6930 xno) ;;
6931 *) as_fn_error $? "gettext tools not found (or too old), translations won't be built.
6932 This is an error since --with-gettext was requested." "$LINENO" 5 ;;
6933 esac
6934 enable_po=${enable_po:-no}
6938 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for i386_set_ldt in -li386" >&5
6939 $as_echo_n "checking for i386_set_ldt in -li386... " >&6; }
6940 if ${ac_cv_lib_i386_i386_set_ldt+:} false; then :
6941 $as_echo_n "(cached) " >&6
6942 else
6943 ac_check_lib_save_LIBS=$LIBS
6944 LIBS="-li386 $LIBS"
6945 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6946 /* end confdefs.h. */
6948 /* Override any GCC internal prototype to avoid an error.
6949 Use char because int might match the return type of a GCC
6950 builtin and then its argument prototype would still apply. */
6951 #ifdef __cplusplus
6952 extern "C"
6953 #endif
6954 char i386_set_ldt ();
6956 main ()
6958 return i386_set_ldt ();
6960 return 0;
6962 _ACEOF
6963 if ac_fn_c_try_link "$LINENO"; then :
6964 ac_cv_lib_i386_i386_set_ldt=yes
6965 else
6966 ac_cv_lib_i386_i386_set_ldt=no
6968 rm -f core conftest.err conftest.$ac_objext \
6969 conftest$ac_exeext conftest.$ac_ext
6970 LIBS=$ac_check_lib_save_LIBS
6972 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_i386_i386_set_ldt" >&5
6973 $as_echo "$ac_cv_lib_i386_i386_set_ldt" >&6; }
6974 if test "x$ac_cv_lib_i386_i386_set_ldt" = xyes; then :
6975 I386_LIBS="-li386"
6980 OPENGL_LIBS=""
6984 # Check whether --enable-largefile was given.
6985 if test "${enable_largefile+set}" = set; then :
6986 enableval=$enable_largefile;
6989 if test "$enable_largefile" != no; then
6991 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
6992 $as_echo_n "checking for special C compiler options needed for large files... " >&6; }
6993 if ${ac_cv_sys_largefile_CC+:} false; then :
6994 $as_echo_n "(cached) " >&6
6995 else
6996 ac_cv_sys_largefile_CC=no
6997 if test "$GCC" != yes; then
6998 ac_save_CC=$CC
6999 while :; do
7000 # IRIX 6.2 and later do not support large files by default,
7001 # so use the C compiler's -n32 option if that helps.
7002 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7003 /* end confdefs.h. */
7004 #include <sys/types.h>
7005 /* Check that off_t can represent 2**63 - 1 correctly.
7006 We can't simply define LARGE_OFF_T to be 9223372036854775807,
7007 since some C++ compilers masquerading as C compilers
7008 incorrectly reject 9223372036854775807. */
7009 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
7010 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
7011 && LARGE_OFF_T % 2147483647 == 1)
7012 ? 1 : -1];
7014 main ()
7018 return 0;
7020 _ACEOF
7021 if ac_fn_c_try_compile "$LINENO"; then :
7022 break
7024 rm -f core conftest.err conftest.$ac_objext
7025 CC="$CC -n32"
7026 if ac_fn_c_try_compile "$LINENO"; then :
7027 ac_cv_sys_largefile_CC=' -n32'; break
7029 rm -f core conftest.err conftest.$ac_objext
7030 break
7031 done
7032 CC=$ac_save_CC
7033 rm -f conftest.$ac_ext
7036 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
7037 $as_echo "$ac_cv_sys_largefile_CC" >&6; }
7038 if test "$ac_cv_sys_largefile_CC" != no; then
7039 CC=$CC$ac_cv_sys_largefile_CC
7042 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
7043 $as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
7044 if ${ac_cv_sys_file_offset_bits+:} false; then :
7045 $as_echo_n "(cached) " >&6
7046 else
7047 while :; do
7048 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7049 /* end confdefs.h. */
7050 #include <sys/types.h>
7051 /* Check that off_t can represent 2**63 - 1 correctly.
7052 We can't simply define LARGE_OFF_T to be 9223372036854775807,
7053 since some C++ compilers masquerading as C compilers
7054 incorrectly reject 9223372036854775807. */
7055 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
7056 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
7057 && LARGE_OFF_T % 2147483647 == 1)
7058 ? 1 : -1];
7060 main ()
7064 return 0;
7066 _ACEOF
7067 if ac_fn_c_try_compile "$LINENO"; then :
7068 ac_cv_sys_file_offset_bits=no; break
7070 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7071 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7072 /* end confdefs.h. */
7073 #define _FILE_OFFSET_BITS 64
7074 #include <sys/types.h>
7075 /* Check that off_t can represent 2**63 - 1 correctly.
7076 We can't simply define LARGE_OFF_T to be 9223372036854775807,
7077 since some C++ compilers masquerading as C compilers
7078 incorrectly reject 9223372036854775807. */
7079 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
7080 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
7081 && LARGE_OFF_T % 2147483647 == 1)
7082 ? 1 : -1];
7084 main ()
7088 return 0;
7090 _ACEOF
7091 if ac_fn_c_try_compile "$LINENO"; then :
7092 ac_cv_sys_file_offset_bits=64; break
7094 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7095 ac_cv_sys_file_offset_bits=unknown
7096 break
7097 done
7099 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
7100 $as_echo "$ac_cv_sys_file_offset_bits" >&6; }
7101 case $ac_cv_sys_file_offset_bits in #(
7102 no | unknown) ;;
7104 cat >>confdefs.h <<_ACEOF
7105 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
7106 _ACEOF
7108 esac
7109 rm -rf conftest*
7110 if test $ac_cv_sys_file_offset_bits = unknown; then
7111 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
7112 $as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
7113 if ${ac_cv_sys_large_files+:} false; then :
7114 $as_echo_n "(cached) " >&6
7115 else
7116 while :; do
7117 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7118 /* end confdefs.h. */
7119 #include <sys/types.h>
7120 /* Check that off_t can represent 2**63 - 1 correctly.
7121 We can't simply define LARGE_OFF_T to be 9223372036854775807,
7122 since some C++ compilers masquerading as C compilers
7123 incorrectly reject 9223372036854775807. */
7124 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
7125 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
7126 && LARGE_OFF_T % 2147483647 == 1)
7127 ? 1 : -1];
7129 main ()
7133 return 0;
7135 _ACEOF
7136 if ac_fn_c_try_compile "$LINENO"; then :
7137 ac_cv_sys_large_files=no; break
7139 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7140 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7141 /* end confdefs.h. */
7142 #define _LARGE_FILES 1
7143 #include <sys/types.h>
7144 /* Check that off_t can represent 2**63 - 1 correctly.
7145 We can't simply define LARGE_OFF_T to be 9223372036854775807,
7146 since some C++ compilers masquerading as C compilers
7147 incorrectly reject 9223372036854775807. */
7148 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
7149 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
7150 && LARGE_OFF_T % 2147483647 == 1)
7151 ? 1 : -1];
7153 main ()
7157 return 0;
7159 _ACEOF
7160 if ac_fn_c_try_compile "$LINENO"; then :
7161 ac_cv_sys_large_files=1; break
7163 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7164 ac_cv_sys_large_files=unknown
7165 break
7166 done
7168 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
7169 $as_echo "$ac_cv_sys_large_files" >&6; }
7170 case $ac_cv_sys_large_files in #(
7171 no | unknown) ;;
7173 cat >>confdefs.h <<_ACEOF
7174 #define _LARGE_FILES $ac_cv_sys_large_files
7175 _ACEOF
7177 esac
7178 rm -rf conftest*
7185 ac_ext=c
7186 ac_cpp='$CPP $CPPFLAGS'
7187 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7188 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7189 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7190 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
7191 $as_echo_n "checking how to run the C preprocessor... " >&6; }
7192 # On Suns, sometimes $CPP names a directory.
7193 if test -n "$CPP" && test -d "$CPP"; then
7194 CPP=
7196 if test -z "$CPP"; then
7197 if ${ac_cv_prog_CPP+:} false; then :
7198 $as_echo_n "(cached) " >&6
7199 else
7200 # Double quotes because CPP needs to be expanded
7201 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
7203 ac_preproc_ok=false
7204 for ac_c_preproc_warn_flag in '' yes
7206 # Use a header file that comes with gcc, so configuring glibc
7207 # with a fresh cross-compiler works.
7208 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7209 # <limits.h> exists even on freestanding compilers.
7210 # On the NeXT, cc -E runs the code through the compiler's parser,
7211 # not just through cpp. "Syntax error" is here to catch this case.
7212 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7213 /* end confdefs.h. */
7214 #ifdef __STDC__
7215 # include <limits.h>
7216 #else
7217 # include <assert.h>
7218 #endif
7219 Syntax error
7220 _ACEOF
7221 if ac_fn_c_try_cpp "$LINENO"; then :
7223 else
7224 # Broken: fails on valid input.
7225 continue
7227 rm -f conftest.err conftest.i conftest.$ac_ext
7229 # OK, works on sane cases. Now check whether nonexistent headers
7230 # can be detected and how.
7231 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7232 /* end confdefs.h. */
7233 #include <ac_nonexistent.h>
7234 _ACEOF
7235 if ac_fn_c_try_cpp "$LINENO"; then :
7236 # Broken: success on invalid input.
7237 continue
7238 else
7239 # Passes both tests.
7240 ac_preproc_ok=:
7241 break
7243 rm -f conftest.err conftest.i conftest.$ac_ext
7245 done
7246 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7247 rm -f conftest.i conftest.err conftest.$ac_ext
7248 if $ac_preproc_ok; then :
7249 break
7252 done
7253 ac_cv_prog_CPP=$CPP
7256 CPP=$ac_cv_prog_CPP
7257 else
7258 ac_cv_prog_CPP=$CPP
7260 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
7261 $as_echo "$CPP" >&6; }
7262 ac_preproc_ok=false
7263 for ac_c_preproc_warn_flag in '' yes
7265 # Use a header file that comes with gcc, so configuring glibc
7266 # with a fresh cross-compiler works.
7267 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7268 # <limits.h> exists even on freestanding compilers.
7269 # On the NeXT, cc -E runs the code through the compiler's parser,
7270 # not just through cpp. "Syntax error" is here to catch this case.
7271 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7272 /* end confdefs.h. */
7273 #ifdef __STDC__
7274 # include <limits.h>
7275 #else
7276 # include <assert.h>
7277 #endif
7278 Syntax error
7279 _ACEOF
7280 if ac_fn_c_try_cpp "$LINENO"; then :
7282 else
7283 # Broken: fails on valid input.
7284 continue
7286 rm -f conftest.err conftest.i conftest.$ac_ext
7288 # OK, works on sane cases. Now check whether nonexistent headers
7289 # can be detected and how.
7290 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7291 /* end confdefs.h. */
7292 #include <ac_nonexistent.h>
7293 _ACEOF
7294 if ac_fn_c_try_cpp "$LINENO"; then :
7295 # Broken: success on invalid input.
7296 continue
7297 else
7298 # Passes both tests.
7299 ac_preproc_ok=:
7300 break
7302 rm -f conftest.err conftest.i conftest.$ac_ext
7304 done
7305 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7306 rm -f conftest.i conftest.err conftest.$ac_ext
7307 if $ac_preproc_ok; then :
7309 else
7310 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
7311 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
7312 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
7313 See \`config.log' for more details" "$LINENO" 5; }
7316 ac_ext=c
7317 ac_cpp='$CPP $CPPFLAGS'
7318 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7319 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7320 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7323 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
7324 $as_echo_n "checking for ANSI C header files... " >&6; }
7325 if ${ac_cv_header_stdc+:} false; then :
7326 $as_echo_n "(cached) " >&6
7327 else
7328 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7329 /* end confdefs.h. */
7330 #include <stdlib.h>
7331 #include <stdarg.h>
7332 #include <string.h>
7333 #include <float.h>
7336 main ()
7340 return 0;
7342 _ACEOF
7343 if ac_fn_c_try_compile "$LINENO"; then :
7344 ac_cv_header_stdc=yes
7345 else
7346 ac_cv_header_stdc=no
7348 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7350 if test $ac_cv_header_stdc = yes; then
7351 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
7352 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7353 /* end confdefs.h. */
7354 #include <string.h>
7356 _ACEOF
7357 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7358 $EGREP "memchr" >/dev/null 2>&1; then :
7360 else
7361 ac_cv_header_stdc=no
7363 rm -f conftest*
7367 if test $ac_cv_header_stdc = yes; then
7368 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
7369 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7370 /* end confdefs.h. */
7371 #include <stdlib.h>
7373 _ACEOF
7374 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7375 $EGREP "free" >/dev/null 2>&1; then :
7377 else
7378 ac_cv_header_stdc=no
7380 rm -f conftest*
7384 if test $ac_cv_header_stdc = yes; then
7385 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
7386 if test "$cross_compiling" = yes; then :
7388 else
7389 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7390 /* end confdefs.h. */
7391 #include <ctype.h>
7392 #include <stdlib.h>
7393 #if ((' ' & 0x0FF) == 0x020)
7394 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
7395 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
7396 #else
7397 # define ISLOWER(c) \
7398 (('a' <= (c) && (c) <= 'i') \
7399 || ('j' <= (c) && (c) <= 'r') \
7400 || ('s' <= (c) && (c) <= 'z'))
7401 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
7402 #endif
7404 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
7406 main ()
7408 int i;
7409 for (i = 0; i < 256; i++)
7410 if (XOR (islower (i), ISLOWER (i))
7411 || toupper (i) != TOUPPER (i))
7412 return 2;
7413 return 0;
7415 _ACEOF
7416 if ac_fn_c_try_run "$LINENO"; then :
7418 else
7419 ac_cv_header_stdc=no
7421 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
7422 conftest.$ac_objext conftest.beam conftest.$ac_ext
7427 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
7428 $as_echo "$ac_cv_header_stdc" >&6; }
7429 if test $ac_cv_header_stdc = yes; then
7431 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
7435 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
7436 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
7437 inttypes.h stdint.h unistd.h
7438 do :
7439 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7440 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
7442 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7443 cat >>confdefs.h <<_ACEOF
7444 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7445 _ACEOF
7449 done
7452 for ac_header in \
7453 AL/al.h \
7454 ApplicationServices/ApplicationServices.h \
7455 AudioToolbox/AudioConverter.h \
7456 AudioUnit/AudioUnit.h \
7457 AudioUnit/AudioComponent.h \
7458 CL/cl.h \
7459 Carbon/Carbon.h \
7460 CommonCrypto/CommonCryptor.h \
7461 CoreAudio/CoreAudio.h \
7462 DiskArbitration/DiskArbitration.h \
7463 EGL/egl.h \
7464 IOKit/IOKitLib.h \
7465 IOKit/hid/IOHIDLib.h \
7466 OpenAL/al.h \
7467 OpenCL/opencl.h \
7468 QuickTime/ImageCompression.h \
7469 Security/Security.h \
7470 SystemConfiguration/SCDynamicStoreCopyDHCPInfo.h \
7471 SystemConfiguration/SCNetworkConfiguration.h \
7472 alias.h \
7473 arpa/inet.h \
7474 arpa/nameser.h \
7475 asm/types.h \
7476 asm/user.h \
7477 dirent.h \
7478 dlfcn.h \
7479 elf.h \
7480 float.h \
7481 fnmatch.h \
7482 getopt.h \
7483 gettext-po.h \
7484 grp.h \
7485 gsm.h \
7486 gsm/gsm.h \
7487 ieeefp.h \
7488 inet/mib2.h \
7489 kstat.h \
7490 libproc.h \
7491 link.h \
7492 linux/cdrom.h \
7493 linux/filter.h \
7494 linux/hdreg.h \
7495 linux/hidraw.h \
7496 linux/input.h \
7497 linux/ioctl.h \
7498 linux/joystick.h \
7499 linux/major.h \
7500 linux/param.h \
7501 linux/serial.h \
7502 linux/types.h \
7503 linux/ucdrom.h \
7504 lwp.h \
7505 mach-o/loader.h \
7506 mach/mach.h \
7507 machine/cpu.h \
7508 machine/sysarch.h \
7509 mntent.h \
7510 netdb.h \
7511 netinet/in.h \
7512 netinet/in_systm.h \
7513 netinet/tcp.h \
7514 netinet/tcp_fsm.h \
7515 pcap/pcap.h \
7516 poll.h \
7517 port.h \
7518 pthread.h \
7519 pwd.h \
7520 sasl/sasl.h \
7521 sched.h \
7522 scsi/scsi.h \
7523 scsi/scsi_ioctl.h \
7524 scsi/sg.h \
7525 stdint.h \
7526 stropts.h \
7527 sys/attr.h \
7528 sys/auxv.h \
7529 sys/cdio.h \
7530 sys/epoll.h \
7531 sys/event.h \
7532 sys/filio.h \
7533 sys/ioctl.h \
7534 sys/ipc.h \
7535 sys/link.h \
7536 sys/mman.h \
7537 sys/modem.h \
7538 sys/msg.h \
7539 sys/mtio.h \
7540 sys/param.h \
7541 sys/poll.h \
7542 sys/prctl.h \
7543 sys/protosw.h \
7544 sys/ptrace.h \
7545 sys/queue.h \
7546 sys/random.h \
7547 sys/resource.h \
7548 sys/scsiio.h \
7549 sys/shm.h \
7550 sys/signal.h \
7551 sys/socket.h \
7552 sys/socketvar.h \
7553 sys/sockio.h \
7554 sys/statvfs.h \
7555 sys/strtio.h \
7556 sys/syscall.h \
7557 sys/sysinfo.h \
7558 sys/tihdr.h \
7559 sys/time.h \
7560 sys/timeout.h \
7561 sys/times.h \
7562 sys/uio.h \
7563 sys/user.h \
7564 sys/utsname.h \
7565 sys/vnode.h \
7566 sys/wait.h \
7567 syscall.h \
7568 termios.h \
7569 unistd.h \
7570 utime.h \
7571 valgrind/memcheck.h \
7572 valgrind/valgrind.h
7574 do :
7575 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7576 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
7577 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7578 cat >>confdefs.h <<_ACEOF
7579 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7580 _ACEOF
7584 done
7586 ac_fn_c_check_header_mongrel "$LINENO" "sys/mkdev.h" "ac_cv_header_sys_mkdev_h" "$ac_includes_default"
7587 if test "x$ac_cv_header_sys_mkdev_h" = xyes; then :
7589 $as_echo "#define MAJOR_IN_MKDEV 1" >>confdefs.h
7594 if test $ac_cv_header_sys_mkdev_h = no; then
7595 ac_fn_c_check_header_mongrel "$LINENO" "sys/sysmacros.h" "ac_cv_header_sys_sysmacros_h" "$ac_includes_default"
7596 if test "x$ac_cv_header_sys_sysmacros_h" = xyes; then :
7598 $as_echo "#define MAJOR_IN_SYSMACROS 1" >>confdefs.h
7604 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stat file-mode macros are broken" >&5
7605 $as_echo_n "checking whether stat file-mode macros are broken... " >&6; }
7606 if ${ac_cv_header_stat_broken+:} false; then :
7607 $as_echo_n "(cached) " >&6
7608 else
7609 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7610 /* end confdefs.h. */
7611 #include <sys/types.h>
7612 #include <sys/stat.h>
7614 #if defined S_ISBLK && defined S_IFDIR
7615 extern char c1[S_ISBLK (S_IFDIR) ? -1 : 1];
7616 #endif
7618 #if defined S_ISBLK && defined S_IFCHR
7619 extern char c2[S_ISBLK (S_IFCHR) ? -1 : 1];
7620 #endif
7622 #if defined S_ISLNK && defined S_IFREG
7623 extern char c3[S_ISLNK (S_IFREG) ? -1 : 1];
7624 #endif
7626 #if defined S_ISSOCK && defined S_IFREG
7627 extern char c4[S_ISSOCK (S_IFREG) ? -1 : 1];
7628 #endif
7630 _ACEOF
7631 if ac_fn_c_try_compile "$LINENO"; then :
7632 ac_cv_header_stat_broken=no
7633 else
7634 ac_cv_header_stat_broken=yes
7636 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7638 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stat_broken" >&5
7639 $as_echo "$ac_cv_header_stat_broken" >&6; }
7640 if test $ac_cv_header_stat_broken = yes; then
7642 $as_echo "#define STAT_MACROS_BROKEN 1" >>confdefs.h
7648 for ac_header in sys/conf.h sys/mount.h sys/statfs.h sys/user.h sys/vfs.h
7649 do :
7650 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7651 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7652 #ifdef HAVE_SYS_PARAM_H
7653 # include <sys/param.h>
7654 #endif
7656 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7657 cat >>confdefs.h <<_ACEOF
7658 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7659 _ACEOF
7663 done
7666 saved_sysctl_h_CFLAGS=$CFLAGS
7667 test "x${GCC}" != xyes || CFLAGS="$CFLAGS -Werror"
7668 for ac_header in sys/sysctl.h
7669 do :
7670 ac_fn_c_check_header_compile "$LINENO" "sys/sysctl.h" "ac_cv_header_sys_sysctl_h" "#include <sys/types.h>
7671 #ifdef HAVE_SYS_PARAM_H
7672 # include <sys/param.h>
7673 #endif
7675 if test "x$ac_cv_header_sys_sysctl_h" = xyes; then :
7676 cat >>confdefs.h <<_ACEOF
7677 #define HAVE_SYS_SYSCTL_H 1
7678 _ACEOF
7682 done
7684 CFLAGS=$saved_sysctl_h_CFLAGS
7686 for ac_header in \
7687 netinet/ip.h \
7688 net/if.h \
7689 net/if_arp.h \
7690 net/if_dl.h \
7691 net/if_types.h \
7692 net/route.h \
7693 netinet/if_ether.h \
7694 netinet/if_inarp.h \
7695 netinet/in_pcb.h \
7696 netinet/ip_icmp.h \
7697 netinet/ip_var.h \
7698 netinet/udp.h \
7699 netipx/ipx.h \
7700 sys/un.h \
7702 do :
7703 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7704 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7705 #ifdef HAVE_SYS_SOCKET_H
7706 # include <sys/socket.h>
7707 #endif
7708 #ifdef HAVE_SYS_SOCKETVAR_H
7709 # include <sys/socketvar.h>
7710 #endif
7711 #ifdef HAVE_NET_ROUTE_H
7712 # include <net/route.h>
7713 #endif
7714 #ifdef HAVE_NETINET_IN_H
7715 # include <netinet/in.h>
7716 #endif
7717 #ifdef HAVE_NETINET_IN_SYSTM_H
7718 # include <netinet/in_systm.h>
7719 #endif
7720 #ifdef HAVE_NET_IF_H
7721 # include <net/if.h>
7722 #endif
7723 #ifdef HAVE_NETINET_IP_H
7724 # include <netinet/ip.h>
7725 #endif
7727 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7728 cat >>confdefs.h <<_ACEOF
7729 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7730 _ACEOF
7734 done
7737 for ac_header in netinet/tcp_timer.h netinet/udp_var.h netinet/icmp_var.h netinet/tcp_var.h
7738 do :
7739 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7740 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7741 #ifdef HAVE_ALIAS_H
7742 # include <alias.h>
7743 #endif
7744 #ifdef HAVE_SYS_SOCKET_H
7745 # include <sys/socket.h>
7746 #endif
7747 #ifdef HAVE_SYS_SOCKETVAR_H
7748 # include <sys/socketvar.h>
7749 #endif
7750 #ifdef HAVE_SYS_TIMEOUT_H
7751 # include <sys/timeout.h>
7752 #endif
7753 #ifdef HAVE_NETINET_IN_H
7754 # include <netinet/in.h>
7755 #endif
7756 #ifdef HAVE_NETINET_IN_SYSTM_H
7757 # include <netinet/in_systm.h>
7758 #endif
7759 #ifdef HAVE_NETINET_IP_H
7760 # include <netinet/ip.h>
7761 #endif
7762 #ifdef HAVE_NETINET_IP_VAR_H
7763 # include <netinet/ip_var.h>
7764 #endif
7765 #ifdef HAVE_NETINET_IP_ICMP_H
7766 # include <netinet/ip_icmp.h>
7767 #endif
7768 #ifdef HAVE_NETINET_UDP_H
7769 # include <netinet/udp.h>
7770 #endif
7771 #ifdef HAVE_NETINET_TCP_H
7772 # include <netinet/tcp.h>
7773 #endif
7774 #ifdef HAVE_NETINET_TCP_TIMER_H
7775 #include <netinet/tcp_timer.h>
7776 #endif
7778 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7779 cat >>confdefs.h <<_ACEOF
7780 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7781 _ACEOF
7785 done
7788 for ac_header in linux/ipx.h linux/irda.h linux/rtnetlink.h
7789 do :
7790 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7791 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7792 #ifdef HAVE_ASM_TYPES_H
7793 # include <asm/types.h>
7794 #endif
7795 #ifdef HAVE_SYS_SOCKET_H
7796 # include <sys/socket.h>
7797 #endif
7798 #ifdef HAVE_LINUX_TYPES_H
7799 # include <linux/types.h>
7800 #endif
7802 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7803 cat >>confdefs.h <<_ACEOF
7804 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7805 _ACEOF
7809 done
7812 for ac_header in resolv.h
7813 do :
7814 ac_fn_c_check_header_compile "$LINENO" "resolv.h" "ac_cv_header_resolv_h" "#include <sys/types.h>
7815 #ifdef HAVE_SYS_SOCKET_H
7816 # include <sys/socket.h>
7817 #endif
7818 #ifdef HAVE_NETINET_IN_H
7819 # include <netinet/in.h>
7820 #endif
7821 #ifdef HAVE_ARPA_NAMESER_H
7822 # include <arpa/nameser.h>
7823 #endif
7825 if test "x$ac_cv_header_resolv_h" = xyes; then :
7826 cat >>confdefs.h <<_ACEOF
7827 #define HAVE_RESOLV_H 1
7828 _ACEOF
7832 done
7835 for ac_header in ifaddrs.h
7836 do :
7837 ac_fn_c_check_header_compile "$LINENO" "ifaddrs.h" "ac_cv_header_ifaddrs_h" "#include <sys/types.h>
7839 if test "x$ac_cv_header_ifaddrs_h" = xyes; then :
7840 cat >>confdefs.h <<_ACEOF
7841 #define HAVE_IFADDRS_H 1
7842 _ACEOF
7846 done
7849 for ac_header in sys/ucontext.h
7850 do :
7851 ac_fn_c_check_header_compile "$LINENO" "sys/ucontext.h" "ac_cv_header_sys_ucontext_h" "#include <signal.h>
7853 if test "x$ac_cv_header_sys_ucontext_h" = xyes; then :
7854 cat >>confdefs.h <<_ACEOF
7855 #define HAVE_SYS_UCONTEXT_H 1
7856 _ACEOF
7860 done
7863 for ac_header in sys/thr.h
7864 do :
7865 ac_fn_c_check_header_compile "$LINENO" "sys/thr.h" "ac_cv_header_sys_thr_h" "#include <sys/types.h>
7866 #ifdef HAVE_SYS_UCONTEXT_H
7867 #include <sys/ucontext.h>
7868 #endif
7870 if test "x$ac_cv_header_sys_thr_h" = xyes; then :
7871 cat >>confdefs.h <<_ACEOF
7872 #define HAVE_SYS_THR_H 1
7873 _ACEOF
7877 done
7880 for ac_header in pthread_np.h
7881 do :
7882 ac_fn_c_check_header_compile "$LINENO" "pthread_np.h" "ac_cv_header_pthread_np_h" "#ifdef HAVE_PTHREAD_H
7883 #include <pthread.h>
7884 #endif
7886 if test "x$ac_cv_header_pthread_np_h" = xyes; then :
7887 cat >>confdefs.h <<_ACEOF
7888 #define HAVE_PTHREAD_NP_H 1
7889 _ACEOF
7893 done
7896 for ac_header in linux/videodev2.h
7897 do :
7898 ac_fn_c_check_header_compile "$LINENO" "linux/videodev2.h" "ac_cv_header_linux_videodev2_h" "#ifdef HAVE_SYS_TIME_H
7899 #include <sys/time.h>
7900 #endif
7901 #include <sys/types.h>
7902 #ifdef HAVE_ASM_TYPES_H
7903 #include <asm/types.h>
7904 #endif
7906 if test "x$ac_cv_header_linux_videodev2_h" = xyes; then :
7907 cat >>confdefs.h <<_ACEOF
7908 #define HAVE_LINUX_VIDEODEV2_H 1
7909 _ACEOF
7913 done
7916 for ac_header in libprocstat.h
7917 do :
7918 ac_fn_c_check_header_compile "$LINENO" "libprocstat.h" "ac_cv_header_libprocstat_h" "#ifdef HAVE_SYS_PARAM_H
7919 #include <sys/param.h>
7920 #endif
7921 #ifdef HAVE_SYS_QUEUE_H
7922 #include <sys/queue.h>
7923 #endif
7924 #ifdef HAVE_SYS_SOCKET_H
7925 #include <sys/socket.h>
7926 #endif
7928 if test "x$ac_cv_header_libprocstat_h" = xyes; then :
7929 cat >>confdefs.h <<_ACEOF
7930 #define HAVE_LIBPROCSTAT_H 1
7931 _ACEOF
7935 done
7939 DLLFLAGS="-D_REENTRANT"
7941 LDDLLFLAGS=""
7943 LDEXECFLAGS=""
7945 TOP_INSTALL_LIB=""
7947 TOP_INSTALL_DEV=""
7949 WINELOADER_LDFLAGS=""
7951 WINEPRELOADER_LDFLAGS=""
7953 LIBEXT="so"
7954 DLLEXT=".so"
7955 # Extract the first word of "ldd", so it can be a program name with args.
7956 set dummy ldd; ac_word=$2
7957 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7958 $as_echo_n "checking for $ac_word... " >&6; }
7959 if ${ac_cv_path_LDD+:} false; then :
7960 $as_echo_n "(cached) " >&6
7961 else
7962 case $LDD in
7963 [\\/]* | ?:[\\/]*)
7964 ac_cv_path_LDD="$LDD" # Let the user override the test with a path.
7967 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7968 as_dummy="/sbin:/usr/sbin:$PATH"
7969 for as_dir in $as_dummy
7971 IFS=$as_save_IFS
7972 test -z "$as_dir" && as_dir=.
7973 for ac_exec_ext in '' $ac_executable_extensions; do
7974 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7975 ac_cv_path_LDD="$as_dir/$ac_word$ac_exec_ext"
7976 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7977 break 2
7979 done
7980 done
7981 IFS=$as_save_IFS
7983 test -z "$ac_cv_path_LDD" && ac_cv_path_LDD="true"
7985 esac
7987 LDD=$ac_cv_path_LDD
7988 if test -n "$LDD"; then
7989 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDD" >&5
7990 $as_echo "$LDD" >&6; }
7991 else
7992 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7993 $as_echo "no" >&6; }
7997 if test -n "$ac_tool_prefix"; then
7998 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
7999 set dummy ${ac_tool_prefix}otool; ac_word=$2
8000 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8001 $as_echo_n "checking for $ac_word... " >&6; }
8002 if ${ac_cv_prog_OTOOL+:} false; then :
8003 $as_echo_n "(cached) " >&6
8004 else
8005 if test -n "$OTOOL"; then
8006 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
8007 else
8008 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8009 for as_dir in $PATH
8011 IFS=$as_save_IFS
8012 test -z "$as_dir" && as_dir=.
8013 for ac_exec_ext in '' $ac_executable_extensions; do
8014 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8015 ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
8016 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8017 break 2
8019 done
8020 done
8021 IFS=$as_save_IFS
8025 OTOOL=$ac_cv_prog_OTOOL
8026 if test -n "$OTOOL"; then
8027 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
8028 $as_echo "$OTOOL" >&6; }
8029 else
8030 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8031 $as_echo "no" >&6; }
8036 if test -z "$ac_cv_prog_OTOOL"; then
8037 ac_ct_OTOOL=$OTOOL
8038 # Extract the first word of "otool", so it can be a program name with args.
8039 set dummy otool; ac_word=$2
8040 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8041 $as_echo_n "checking for $ac_word... " >&6; }
8042 if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
8043 $as_echo_n "(cached) " >&6
8044 else
8045 if test -n "$ac_ct_OTOOL"; then
8046 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
8047 else
8048 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8049 for as_dir in $PATH
8051 IFS=$as_save_IFS
8052 test -z "$as_dir" && as_dir=.
8053 for ac_exec_ext in '' $ac_executable_extensions; do
8054 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8055 ac_cv_prog_ac_ct_OTOOL="otool"
8056 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8057 break 2
8059 done
8060 done
8061 IFS=$as_save_IFS
8065 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
8066 if test -n "$ac_ct_OTOOL"; then
8067 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
8068 $as_echo "$ac_ct_OTOOL" >&6; }
8069 else
8070 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8071 $as_echo "no" >&6; }
8074 if test "x$ac_ct_OTOOL" = x; then
8075 OTOOL="otool"
8076 else
8077 case $cross_compiling:$ac_tool_warned in
8078 yes:)
8079 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8080 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8081 ac_tool_warned=yes ;;
8082 esac
8083 OTOOL=$ac_ct_OTOOL
8085 else
8086 OTOOL="$ac_cv_prog_OTOOL"
8089 if test -n "$ac_tool_prefix"; then
8090 # Extract the first word of "${ac_tool_prefix}readelf", so it can be a program name with args.
8091 set dummy ${ac_tool_prefix}readelf; ac_word=$2
8092 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8093 $as_echo_n "checking for $ac_word... " >&6; }
8094 if ${ac_cv_prog_READELF+:} false; then :
8095 $as_echo_n "(cached) " >&6
8096 else
8097 if test -n "$READELF"; then
8098 ac_cv_prog_READELF="$READELF" # Let the user override the test.
8099 else
8100 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8101 for as_dir in $PATH
8103 IFS=$as_save_IFS
8104 test -z "$as_dir" && as_dir=.
8105 for ac_exec_ext in '' $ac_executable_extensions; do
8106 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8107 ac_cv_prog_READELF="${ac_tool_prefix}readelf"
8108 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8109 break 2
8111 done
8112 done
8113 IFS=$as_save_IFS
8117 READELF=$ac_cv_prog_READELF
8118 if test -n "$READELF"; then
8119 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $READELF" >&5
8120 $as_echo "$READELF" >&6; }
8121 else
8122 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8123 $as_echo "no" >&6; }
8128 if test -z "$ac_cv_prog_READELF"; then
8129 ac_ct_READELF=$READELF
8130 # Extract the first word of "readelf", so it can be a program name with args.
8131 set dummy readelf; ac_word=$2
8132 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8133 $as_echo_n "checking for $ac_word... " >&6; }
8134 if ${ac_cv_prog_ac_ct_READELF+:} false; then :
8135 $as_echo_n "(cached) " >&6
8136 else
8137 if test -n "$ac_ct_READELF"; then
8138 ac_cv_prog_ac_ct_READELF="$ac_ct_READELF" # Let the user override the test.
8139 else
8140 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8141 for as_dir in $PATH
8143 IFS=$as_save_IFS
8144 test -z "$as_dir" && as_dir=.
8145 for ac_exec_ext in '' $ac_executable_extensions; do
8146 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8147 ac_cv_prog_ac_ct_READELF="readelf"
8148 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8149 break 2
8151 done
8152 done
8153 IFS=$as_save_IFS
8157 ac_ct_READELF=$ac_cv_prog_ac_ct_READELF
8158 if test -n "$ac_ct_READELF"; then
8159 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_READELF" >&5
8160 $as_echo "$ac_ct_READELF" >&6; }
8161 else
8162 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8163 $as_echo "no" >&6; }
8166 if test "x$ac_ct_READELF" = x; then
8167 READELF="true"
8168 else
8169 case $cross_compiling:$ac_tool_warned in
8170 yes:)
8171 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8172 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8173 ac_tool_warned=yes ;;
8174 esac
8175 READELF=$ac_ct_READELF
8177 else
8178 READELF="$ac_cv_prog_READELF"
8181 wine_rules_file=conf$$rules.make
8182 rm -f $wine_rules_file
8183 SUBDIRS=""
8185 DISABLED_SUBDIRS=""
8187 CONFIGURE_TARGETS=""
8190 wine_fn_append_file ()
8192 as_fn_append $1 " \\$as_nl $2"
8195 wine_fn_append_rule ()
8197 $as_echo "$1" >>$wine_rules_file
8200 wine_fn_config_makefile ()
8202 wine_fn_append_file SUBDIRS $1
8203 if eval test \"x\$"$2"\" = x"no"; then :
8204 wine_fn_append_file DISABLED_SUBDIRS $1
8208 wine_fn_config_symlink ()
8210 ac_links=$@
8211 wine_fn_append_rule \
8212 "$ac_links:
8213 @./config.status \$@"
8214 for f in $ac_links; do wine_fn_append_file CONFIGURE_TARGETS $f; done
8217 wine_binary="wine"
8218 test "x$enable_win64" != "xyes" || wine_binary="wine64"
8219 WINELOADER_PROGRAMS="$wine_binary"
8221 libwine_soversion=`expr $libwine_version : '\([0-9]*\)\..*'`
8223 case $host_os in
8224 cygwin*|mingw32*)
8225 if test -n "$ac_tool_prefix"; then
8226 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
8227 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
8228 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8229 $as_echo_n "checking for $ac_word... " >&6; }
8230 if ${ac_cv_prog_DLLTOOL+:} false; then :
8231 $as_echo_n "(cached) " >&6
8232 else
8233 if test -n "$DLLTOOL"; then
8234 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
8235 else
8236 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8237 for as_dir in $PATH
8239 IFS=$as_save_IFS
8240 test -z "$as_dir" && as_dir=.
8241 for ac_exec_ext in '' $ac_executable_extensions; do
8242 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8243 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
8244 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8245 break 2
8247 done
8248 done
8249 IFS=$as_save_IFS
8253 DLLTOOL=$ac_cv_prog_DLLTOOL
8254 if test -n "$DLLTOOL"; then
8255 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
8256 $as_echo "$DLLTOOL" >&6; }
8257 else
8258 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8259 $as_echo "no" >&6; }
8264 if test -z "$ac_cv_prog_DLLTOOL"; then
8265 ac_ct_DLLTOOL=$DLLTOOL
8266 # Extract the first word of "dlltool", so it can be a program name with args.
8267 set dummy dlltool; ac_word=$2
8268 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8269 $as_echo_n "checking for $ac_word... " >&6; }
8270 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
8271 $as_echo_n "(cached) " >&6
8272 else
8273 if test -n "$ac_ct_DLLTOOL"; then
8274 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
8275 else
8276 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8277 for as_dir in $PATH
8279 IFS=$as_save_IFS
8280 test -z "$as_dir" && as_dir=.
8281 for ac_exec_ext in '' $ac_executable_extensions; do
8282 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8283 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
8284 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8285 break 2
8287 done
8288 done
8289 IFS=$as_save_IFS
8293 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
8294 if test -n "$ac_ct_DLLTOOL"; then
8295 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
8296 $as_echo "$ac_ct_DLLTOOL" >&6; }
8297 else
8298 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8299 $as_echo "no" >&6; }
8302 if test "x$ac_ct_DLLTOOL" = x; then
8303 DLLTOOL="false"
8304 else
8305 case $cross_compiling:$ac_tool_warned in
8306 yes:)
8307 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8308 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8309 ac_tool_warned=yes ;;
8310 esac
8311 DLLTOOL=$ac_ct_DLLTOOL
8313 else
8314 DLLTOOL="$ac_cv_prog_DLLTOOL"
8317 LIBEXT="dll"
8318 DLLEXT=""
8319 case $host_cpu in
8320 *i[3456]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--disable-stdcall-fixup" >&5
8321 $as_echo_n "checking whether the compiler supports -Wl,--disable-stdcall-fixup... " >&6; }
8322 if ${ac_cv_cflags__Wl___disable_stdcall_fixup+:} false; then :
8323 $as_echo_n "(cached) " >&6
8324 else
8325 ac_wine_try_cflags_saved=$CFLAGS
8326 CFLAGS="$CFLAGS -Wl,--disable-stdcall-fixup"
8327 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8328 /* end confdefs.h. */
8329 int main(int argc, char **argv) { return 0; }
8330 _ACEOF
8331 if ac_fn_c_try_link "$LINENO"; then :
8332 ac_cv_cflags__Wl___disable_stdcall_fixup=yes
8333 else
8334 ac_cv_cflags__Wl___disable_stdcall_fixup=no
8336 rm -f core conftest.err conftest.$ac_objext \
8337 conftest$ac_exeext conftest.$ac_ext
8338 CFLAGS=$ac_wine_try_cflags_saved
8340 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___disable_stdcall_fixup" >&5
8341 $as_echo "$ac_cv_cflags__Wl___disable_stdcall_fixup" >&6; }
8342 if test "x$ac_cv_cflags__Wl___disable_stdcall_fixup" = xyes; then :
8343 LDDLLFLAGS="-Wl,--disable-stdcall-fixup"
8344 fi ;;
8345 esac
8346 enable_iphlpapi=${enable_iphlpapi:-no}
8347 enable_ws2_32=${enable_ws2_32:-no}
8348 enable_loader=${enable_loader:-no}
8349 enable_server=${enable_server:-no}
8350 with_x=${with_x:-no}
8351 with_pthread=${with_pthread:-no}
8354 darwin*|macosx*)
8355 ac_ext=m
8356 ac_cpp='$OBJCPP $CPPFLAGS'
8357 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8358 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8359 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
8361 ac_ext=m
8362 ac_cpp='$OBJCPP $CPPFLAGS'
8363 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8364 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8365 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
8366 if test -n "$ac_tool_prefix"; then
8367 for ac_prog in gcc objcc objc cc CC
8369 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
8370 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
8371 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8372 $as_echo_n "checking for $ac_word... " >&6; }
8373 if ${ac_cv_prog_OBJC+:} false; then :
8374 $as_echo_n "(cached) " >&6
8375 else
8376 if test -n "$OBJC"; then
8377 ac_cv_prog_OBJC="$OBJC" # Let the user override the test.
8378 else
8379 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8380 for as_dir in $PATH
8382 IFS=$as_save_IFS
8383 test -z "$as_dir" && as_dir=.
8384 for ac_exec_ext in '' $ac_executable_extensions; do
8385 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8386 ac_cv_prog_OBJC="$ac_tool_prefix$ac_prog"
8387 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8388 break 2
8390 done
8391 done
8392 IFS=$as_save_IFS
8396 OBJC=$ac_cv_prog_OBJC
8397 if test -n "$OBJC"; then
8398 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJC" >&5
8399 $as_echo "$OBJC" >&6; }
8400 else
8401 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8402 $as_echo "no" >&6; }
8406 test -n "$OBJC" && break
8407 done
8409 if test -z "$OBJC"; then
8410 ac_ct_OBJC=$OBJC
8411 for ac_prog in gcc objcc objc cc CC
8413 # Extract the first word of "$ac_prog", so it can be a program name with args.
8414 set dummy $ac_prog; ac_word=$2
8415 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8416 $as_echo_n "checking for $ac_word... " >&6; }
8417 if ${ac_cv_prog_ac_ct_OBJC+:} false; then :
8418 $as_echo_n "(cached) " >&6
8419 else
8420 if test -n "$ac_ct_OBJC"; then
8421 ac_cv_prog_ac_ct_OBJC="$ac_ct_OBJC" # Let the user override the test.
8422 else
8423 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8424 for as_dir in $PATH
8426 IFS=$as_save_IFS
8427 test -z "$as_dir" && as_dir=.
8428 for ac_exec_ext in '' $ac_executable_extensions; do
8429 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8430 ac_cv_prog_ac_ct_OBJC="$ac_prog"
8431 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8432 break 2
8434 done
8435 done
8436 IFS=$as_save_IFS
8440 ac_ct_OBJC=$ac_cv_prog_ac_ct_OBJC
8441 if test -n "$ac_ct_OBJC"; then
8442 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJC" >&5
8443 $as_echo "$ac_ct_OBJC" >&6; }
8444 else
8445 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8446 $as_echo "no" >&6; }
8450 test -n "$ac_ct_OBJC" && break
8451 done
8453 if test "x$ac_ct_OBJC" = x; then
8454 OBJC="gcc"
8455 else
8456 case $cross_compiling:$ac_tool_warned in
8457 yes:)
8458 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8459 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8460 ac_tool_warned=yes ;;
8461 esac
8462 OBJC=$ac_ct_OBJC
8466 # Provide some information about the compiler.
8467 $as_echo "$as_me:${as_lineno-$LINENO}: checking for Objective C compiler version" >&5
8468 set X $ac_compile
8469 ac_compiler=$2
8470 for ac_option in --version -v -V -qversion; do
8471 { { ac_try="$ac_compiler $ac_option >&5"
8472 case "(($ac_try" in
8473 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8474 *) ac_try_echo=$ac_try;;
8475 esac
8476 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
8477 $as_echo "$ac_try_echo"; } >&5
8478 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
8479 ac_status=$?
8480 if test -s conftest.err; then
8481 sed '10a\
8482 ... rest of stderr output deleted ...
8483 10q' conftest.err >conftest.er1
8484 cat conftest.er1 >&5
8486 rm -f conftest.er1 conftest.err
8487 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8488 test $ac_status = 0; }
8489 done
8491 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU Objective C compiler" >&5
8492 $as_echo_n "checking whether we are using the GNU Objective C compiler... " >&6; }
8493 if ${ac_cv_objc_compiler_gnu+:} false; then :
8494 $as_echo_n "(cached) " >&6
8495 else
8496 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8497 /* end confdefs.h. */
8500 main ()
8502 #ifndef __GNUC__
8503 choke me
8504 #endif
8507 return 0;
8509 _ACEOF
8510 if ac_fn_objc_try_compile "$LINENO"; then :
8511 ac_compiler_gnu=yes
8512 else
8513 ac_compiler_gnu=no
8515 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8516 ac_cv_objc_compiler_gnu=$ac_compiler_gnu
8519 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objc_compiler_gnu" >&5
8520 $as_echo "$ac_cv_objc_compiler_gnu" >&6; }
8521 if test $ac_compiler_gnu = yes; then
8522 GOBJC=yes
8523 else
8524 GOBJC=
8526 ac_test_OBJCFLAGS=${OBJCFLAGS+set}
8527 ac_save_OBJCFLAGS=$OBJCFLAGS
8528 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $OBJC accepts -g" >&5
8529 $as_echo_n "checking whether $OBJC accepts -g... " >&6; }
8530 if ${ac_cv_prog_objc_g+:} false; then :
8531 $as_echo_n "(cached) " >&6
8532 else
8533 ac_save_objc_werror_flag=$ac_objc_werror_flag
8534 ac_objc_werror_flag=yes
8535 ac_cv_prog_objc_g=no
8536 OBJCFLAGS="-g"
8537 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8538 /* end confdefs.h. */
8541 main ()
8545 return 0;
8547 _ACEOF
8548 if ac_fn_objc_try_compile "$LINENO"; then :
8549 ac_cv_prog_objc_g=yes
8550 else
8551 OBJCFLAGS=""
8552 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8553 /* end confdefs.h. */
8556 main ()
8560 return 0;
8562 _ACEOF
8563 if ac_fn_objc_try_compile "$LINENO"; then :
8565 else
8566 ac_objc_werror_flag=$ac_save_objc_werror_flag
8567 OBJCFLAGS="-g"
8568 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8569 /* end confdefs.h. */
8572 main ()
8576 return 0;
8578 _ACEOF
8579 if ac_fn_objc_try_compile "$LINENO"; then :
8580 ac_cv_prog_objc_g=yes
8582 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8584 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8586 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8587 ac_objc_werror_flag=$ac_save_objc_werror_flag
8589 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_objc_g" >&5
8590 $as_echo "$ac_cv_prog_objc_g" >&6; }
8591 if test "$ac_test_OBJCFLAGS" = set; then
8592 OBJCFLAGS=$ac_save_OBJCFLAGS
8593 elif test $ac_cv_prog_objc_g = yes; then
8594 if test "$GOBJC" = yes; then
8595 OBJCFLAGS="-g -O2"
8596 else
8597 OBJCFLAGS="-g"
8599 else
8600 if test "$GOBJC" = yes; then
8601 OBJCFLAGS="-O2"
8602 else
8603 OBJCFLAGS=
8606 ac_ext=m
8607 ac_cpp='$OBJCPP $CPPFLAGS'
8608 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8609 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8610 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
8613 ac_ext=m
8614 ac_cpp='$OBJCPP $CPPFLAGS'
8615 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8616 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8617 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
8618 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the Objective C preprocessor" >&5
8619 $as_echo_n "checking how to run the Objective C preprocessor... " >&6; }
8620 if test -z "$OBJCPP"; then
8621 if ${ac_cv_prog_OBJCPP+:} false; then :
8622 $as_echo_n "(cached) " >&6
8623 else
8624 # Double quotes because OBJCPP needs to be expanded
8625 for OBJCPP in "$OBJC -E" "/lib/cpp"
8627 ac_preproc_ok=false
8628 for ac_objc_preproc_warn_flag in '' yes
8630 # Use a header file that comes with gcc, so configuring glibc
8631 # with a fresh cross-compiler works.
8632 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8633 # <limits.h> exists even on freestanding compilers.
8634 # On the NeXT, cc -E runs the code through the compiler's parser,
8635 # not just through cpp. "Syntax error" is here to catch this case.
8636 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8637 /* end confdefs.h. */
8638 #ifdef __STDC__
8639 # include <limits.h>
8640 #else
8641 # include <assert.h>
8642 #endif
8643 Syntax error
8644 _ACEOF
8645 if ac_fn_objc_try_cpp "$LINENO"; then :
8647 else
8648 # Broken: fails on valid input.
8649 continue
8651 rm -f conftest.err conftest.i conftest.$ac_ext
8653 # OK, works on sane cases. Now check whether nonexistent headers
8654 # can be detected and how.
8655 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8656 /* end confdefs.h. */
8657 #include <ac_nonexistent.h>
8658 _ACEOF
8659 if ac_fn_objc_try_cpp "$LINENO"; then :
8660 # Broken: success on invalid input.
8661 continue
8662 else
8663 # Passes both tests.
8664 ac_preproc_ok=:
8665 break
8667 rm -f conftest.err conftest.i conftest.$ac_ext
8669 done
8670 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
8671 rm -f conftest.i conftest.err conftest.$ac_ext
8672 if $ac_preproc_ok; then :
8673 break
8676 done
8677 ac_cv_prog_OBJCPP=$OBJCPP
8680 OBJCPP=$ac_cv_prog_OBJCPP
8681 else
8682 ac_cv_prog_OBJCPP=$OBJCPP
8684 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJCPP" >&5
8685 $as_echo "$OBJCPP" >&6; }
8686 ac_preproc_ok=false
8687 for ac_objc_preproc_warn_flag in '' yes
8689 # Use a header file that comes with gcc, so configuring glibc
8690 # with a fresh cross-compiler works.
8691 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8692 # <limits.h> exists even on freestanding compilers.
8693 # On the NeXT, cc -E runs the code through the compiler's parser,
8694 # not just through cpp. "Syntax error" is here to catch this case.
8695 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8696 /* end confdefs.h. */
8697 #ifdef __STDC__
8698 # include <limits.h>
8699 #else
8700 # include <assert.h>
8701 #endif
8702 Syntax error
8703 _ACEOF
8704 if ac_fn_objc_try_cpp "$LINENO"; then :
8706 else
8707 # Broken: fails on valid input.
8708 continue
8710 rm -f conftest.err conftest.i conftest.$ac_ext
8712 # OK, works on sane cases. Now check whether nonexistent headers
8713 # can be detected and how.
8714 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8715 /* end confdefs.h. */
8716 #include <ac_nonexistent.h>
8717 _ACEOF
8718 if ac_fn_objc_try_cpp "$LINENO"; then :
8719 # Broken: success on invalid input.
8720 continue
8721 else
8722 # Passes both tests.
8723 ac_preproc_ok=:
8724 break
8726 rm -f conftest.err conftest.i conftest.$ac_ext
8728 done
8729 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
8730 rm -f conftest.i conftest.err conftest.$ac_ext
8731 if $ac_preproc_ok; then :
8733 else
8734 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
8735 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
8736 as_fn_error $? "Objective C preprocessor \"$OBJCPP\" fails sanity check
8737 See \`config.log' for more details" "$LINENO" 5; }
8740 ac_ext=m
8741 ac_cpp='$OBJCPP $CPPFLAGS'
8742 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8743 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8744 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
8747 for ac_header in Metal/Metal.h
8748 do :
8749 ac_fn_objc_check_header_mongrel "$LINENO" "Metal/Metal.h" "ac_cv_header_Metal_Metal_h" "$ac_includes_default"
8750 if test "x$ac_cv_header_Metal_Metal_h" = xyes; then :
8751 cat >>confdefs.h <<_ACEOF
8752 #define HAVE_METAL_METAL_H 1
8753 _ACEOF
8757 done
8759 ac_ext=c
8760 ac_cpp='$CPP $CPPFLAGS'
8761 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8762 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8763 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8765 LIBEXT="dylib"
8766 DLLFLAGS="$DLLFLAGS -fPIC"
8767 LDDLLFLAGS="-fPIC"
8768 COREFOUNDATION_LIBS="-framework CoreFoundation"
8770 IOKIT_LIBS="-framework IOKit -framework CoreFoundation"
8772 FORCEFEEDBACK_LIBS="-framework ForceFeedback -framework CoreFoundation"
8774 APPLICATIONSERVICES_LIBS="-framework ApplicationServices"
8776 CORESERVICES_LIBS="-framework CoreServices"
8778 APPKIT_LIBS="-framework AppKit"
8780 SYSTEMCONFIGURATION_LIBS="-framework SystemConfiguration"
8783 WINELOADER_LDFLAGS="-Wl,-pie,-pagezero_size,0x1000,-sectcreate,__TEXT,__info_plist,loader/wine_info.plist"
8785 wine_can_build_preloader=yes
8786 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"
8787 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-no_new_main -e _main" >&5
8788 $as_echo_n "checking whether the compiler supports -Wl,-no_new_main -e _main... " >&6; }
8789 if ${ac_cv_cflags__Wl__no_new_main__e__main+:} false; then :
8790 $as_echo_n "(cached) " >&6
8791 else
8792 ac_wine_try_cflags_saved=$CFLAGS
8793 CFLAGS="$CFLAGS -Wl,-no_new_main -e _main"
8794 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8795 /* end confdefs.h. */
8796 int main(int argc, char **argv) { return 0; }
8797 _ACEOF
8798 if ac_fn_c_try_link "$LINENO"; then :
8799 ac_cv_cflags__Wl__no_new_main__e__main=yes
8800 else
8801 ac_cv_cflags__Wl__no_new_main__e__main=no
8803 rm -f core conftest.err conftest.$ac_objext \
8804 conftest$ac_exeext conftest.$ac_ext
8805 CFLAGS=$ac_wine_try_cflags_saved
8807 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__no_new_main__e__main" >&5
8808 $as_echo "$ac_cv_cflags__Wl__no_new_main__e__main" >&6; }
8809 if test "x$ac_cv_cflags__Wl__no_new_main__e__main" = xyes; then :
8810 WINEPRELOADER_LDFLAGS="-Wl,-no_new_main $WINEPRELOADER_LDFLAGS"
8811 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-no_new_main -e _main -nostartfiles -nodefaultlibs" >&5
8812 $as_echo_n "checking whether the compiler supports -Wl,-no_new_main -e _main -nostartfiles -nodefaultlibs... " >&6; }
8813 if ${ac_cv_cflags__Wl__no_new_main__e__main__nostartfiles__nodefaultlibs+:} false; then :
8814 $as_echo_n "(cached) " >&6
8815 else
8816 ac_wine_try_cflags_saved=$CFLAGS
8817 CFLAGS="$CFLAGS -Wl,-no_new_main -e _main -nostartfiles -nodefaultlibs"
8818 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8819 /* end confdefs.h. */
8820 int main(int argc, char **argv) { return 0; }
8821 _ACEOF
8822 if ac_fn_c_try_link "$LINENO"; then :
8823 ac_cv_cflags__Wl__no_new_main__e__main__nostartfiles__nodefaultlibs=yes
8824 else
8825 ac_cv_cflags__Wl__no_new_main__e__main__nostartfiles__nodefaultlibs=no
8827 rm -f core conftest.err conftest.$ac_objext \
8828 conftest$ac_exeext conftest.$ac_ext
8829 CFLAGS=$ac_wine_try_cflags_saved
8831 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__no_new_main__e__main__nostartfiles__nodefaultlibs" >&5
8832 $as_echo "$ac_cv_cflags__Wl__no_new_main__e__main__nostartfiles__nodefaultlibs" >&6; }
8833 if test "x$ac_cv_cflags__Wl__no_new_main__e__main__nostartfiles__nodefaultlibs" = xyes; then :
8834 EXTRACFLAGS="$EXTRACFLAGS -Wl,-no_new_main -e _main -nostartfiles -nodefaultlibs"
8835 else
8836 { $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
8837 $as_echo_n "checking whether the compiler supports -Wl,-no_new_main -e _main -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs... " >&6; }
8838 if ${ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs+:} false; then :
8839 $as_echo_n "(cached) " >&6
8840 else
8841 ac_wine_try_cflags_saved=$CFLAGS
8842 CFLAGS="$CFLAGS -Wl,-no_new_main -e _main -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs"
8843 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8844 /* end confdefs.h. */
8845 int main(int argc, char **argv) { return 0; }
8846 _ACEOF
8847 if ac_fn_c_try_link "$LINENO"; then :
8848 ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs=yes
8849 else
8850 ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs=no
8852 rm -f core conftest.err conftest.$ac_objext \
8853 conftest$ac_exeext conftest.$ac_ext
8854 CFLAGS=$ac_wine_try_cflags_saved
8856 { $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
8857 $as_echo "$ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" >&6; }
8858 if test "x$ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" = xyes; then :
8859 WINEPRELOADER_LDFLAGS="-mmacosx-version-min=10.7 $WINEPRELOADER_LDFLAGS"
8860 else
8861 wine_can_build_preloader=no
8864 else
8865 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -nostartfiles -nodefaultlibs" >&5
8866 $as_echo_n "checking whether the compiler supports -nostartfiles -nodefaultlibs... " >&6; }
8867 if ${ac_cv_cflags__nostartfiles__nodefaultlibs+:} false; then :
8868 $as_echo_n "(cached) " >&6
8869 else
8870 ac_wine_try_cflags_saved=$CFLAGS
8871 CFLAGS="$CFLAGS -nostartfiles -nodefaultlibs"
8872 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8873 /* end confdefs.h. */
8874 int main(int argc, char **argv) { return 0; }
8875 _ACEOF
8876 if ac_fn_c_try_link "$LINENO"; then :
8877 ac_cv_cflags__nostartfiles__nodefaultlibs=yes
8878 else
8879 ac_cv_cflags__nostartfiles__nodefaultlibs=no
8881 rm -f core conftest.err conftest.$ac_objext \
8882 conftest$ac_exeext conftest.$ac_ext
8883 CFLAGS=$ac_wine_try_cflags_saved
8885 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__nostartfiles__nodefaultlibs" >&5
8886 $as_echo "$ac_cv_cflags__nostartfiles__nodefaultlibs" >&6; }
8887 if test "x$ac_cv_cflags__nostartfiles__nodefaultlibs" = xyes; then :
8888 EXTRACFLAGS="$EXTRACFLAGS -nostartfiles -nodefaultlibs"
8889 else
8890 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs" >&5
8891 $as_echo_n "checking whether the compiler supports -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs... " >&6; }
8892 if ${ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs+:} false; then :
8893 $as_echo_n "(cached) " >&6
8894 else
8895 ac_wine_try_cflags_saved=$CFLAGS
8896 CFLAGS="$CFLAGS -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs"
8897 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8898 /* end confdefs.h. */
8899 int main(int argc, char **argv) { return 0; }
8900 _ACEOF
8901 if ac_fn_c_try_link "$LINENO"; then :
8902 ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs=yes
8903 else
8904 ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs=no
8906 rm -f core conftest.err conftest.$ac_objext \
8907 conftest$ac_exeext conftest.$ac_ext
8908 CFLAGS=$ac_wine_try_cflags_saved
8910 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" >&5
8911 $as_echo "$ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" >&6; }
8912 if test "x$ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" = xyes; then :
8913 WINEPRELOADER_LDFLAGS="-mmacosx-version-min=10.7 $WINEPRELOADER_LDFLAGS"
8914 else
8915 wine_can_build_preloader=no
8919 if test "$wine_can_build_preloader" = "yes"
8920 then
8921 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-no_pie" >&5
8922 $as_echo_n "checking whether the compiler supports -Wl,-no_pie... " >&6; }
8923 if ${ac_cv_cflags__Wl__no_pie+:} false; then :
8924 $as_echo_n "(cached) " >&6
8925 else
8926 ac_wine_try_cflags_saved=$CFLAGS
8927 CFLAGS="$CFLAGS -Wl,-no_pie"
8928 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8929 /* end confdefs.h. */
8930 int main(int argc, char **argv) { return 0; }
8931 _ACEOF
8932 if ac_fn_c_try_link "$LINENO"; then :
8933 ac_cv_cflags__Wl__no_pie=yes
8934 else
8935 ac_cv_cflags__Wl__no_pie=no
8937 rm -f core conftest.err conftest.$ac_objext \
8938 conftest$ac_exeext conftest.$ac_ext
8939 CFLAGS=$ac_wine_try_cflags_saved
8941 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__no_pie" >&5
8942 $as_echo "$ac_cv_cflags__Wl__no_pie" >&6; }
8943 if test "x$ac_cv_cflags__Wl__no_pie" = xyes; then :
8944 WINEPRELOADER_LDFLAGS="-Wl,-no_pie $WINEPRELOADER_LDFLAGS"
8946 test "$wine_binary" = wine || wine_fn_append_file CONFIGURE_TARGETS "loader/wine-preloader"
8947 WINELOADER_PROGRAMS="$WINELOADER_PROGRAMS $wine_binary-preloader"
8948 else
8949 as_fn_append wine_warnings "|can't build Wine preloader; many programs won't work"
8952 if test "$ac_cv_header_DiskArbitration_DiskArbitration_h" = "yes"
8953 then
8954 DISKARBITRATION_LIBS="-framework DiskArbitration -framework CoreFoundation"
8957 if test "$ac_cv_header_Security_Security_h" = "yes"
8958 then
8959 SECURITY_LIBS="-framework Security -framework CoreFoundation"
8961 ac_save_LIBS="$LIBS"
8962 LIBS="$LIBS $SECURITY_LIBS"
8963 for ac_func in SSLCopyPeerCertificates
8964 do :
8965 ac_fn_c_check_func "$LINENO" "SSLCopyPeerCertificates" "ac_cv_func_SSLCopyPeerCertificates"
8966 if test "x$ac_cv_func_SSLCopyPeerCertificates" = xyes; then :
8967 cat >>confdefs.h <<_ACEOF
8968 #define HAVE_SSLCOPYPEERCERTIFICATES 1
8969 _ACEOF
8972 done
8974 LIBS="$ac_save_LIBS"
8976 if test "$ac_cv_header_CoreAudio_CoreAudio_h" = "yes" -a "$ac_cv_header_AudioUnit_AudioUnit_h" = "yes"
8977 then
8978 if test "$ac_cv_header_AudioUnit_AudioComponent_h" = "yes"
8979 then
8980 COREAUDIO_LIBS="-framework CoreFoundation -framework CoreAudio -framework AudioUnit -framework AudioToolbox -framework CoreMIDI"
8982 else
8983 COREAUDIO_LIBS="-framework CoreAudio -framework AudioUnit -framework CoreServices -framework AudioToolbox -framework CoreMIDI"
8986 enable_winecoreaudio_drv=${enable_winecoreaudio_drv:-yes}
8987 ac_save_LIBS="$LIBS"
8988 LIBS="$LIBS $COREAUDIO_LIBS"
8989 for ac_func in AUGraphAddNode
8990 do :
8991 ac_fn_c_check_func "$LINENO" "AUGraphAddNode" "ac_cv_func_AUGraphAddNode"
8992 if test "x$ac_cv_func_AUGraphAddNode" = xyes; then :
8993 cat >>confdefs.h <<_ACEOF
8994 #define HAVE_AUGRAPHADDNODE 1
8995 _ACEOF
8998 done
9000 LIBS="$ac_save_LIBS"
9002 if test "$ac_cv_header_OpenAL_al_h" = "yes"
9003 then
9004 OPENAL_LIBS="-framework OpenAL"
9007 cat >>confdefs.h <<_ACEOF
9008 #define HAVE_OPENAL 1
9009 _ACEOF
9011 ac_cv_lib_openal=yes
9013 if test "$ac_cv_header_OpenCL_opencl_h" = "yes"
9014 then
9015 OPENCL_LIBS="-framework OpenCL"
9017 ac_cv_lib_OpenCL_clGetPlatformInfo=yes
9019 if test "$ac_cv_header_IOKit_hid_IOHIDLib_h" = "yes"
9020 then
9021 ac_save_LIBS="$LIBS"
9022 LIBS="$LIBS $IOKIT_LIBS"
9023 for ac_func in IOHIDManagerCreate
9024 do :
9025 ac_fn_c_check_func "$LINENO" "IOHIDManagerCreate" "ac_cv_func_IOHIDManagerCreate"
9026 if test "x$ac_cv_func_IOHIDManagerCreate" = xyes; then :
9027 cat >>confdefs.h <<_ACEOF
9028 #define HAVE_IOHIDMANAGERCREATE 1
9029 _ACEOF
9032 done
9034 LIBS="$ac_save_LIBS"
9037 if test "x$with_quicktime" != "xno"
9038 then
9039 if test "$ac_cv_header_QuickTime_ImageCompression_h" = "yes"
9040 then
9041 ac_save_LIBS="$LIBS"
9042 LIBS="-framework QuickTime -framework ApplicationServices -framework CoreVideo $LIBS"
9043 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the QuickTime framework" >&5
9044 $as_echo_n "checking for the QuickTime framework... " >&6; }
9045 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9046 /* end confdefs.h. */
9047 #include <QuickTime/ImageCompression.h>
9049 main ()
9051 CodecManagerVersion(NULL);
9053 return 0;
9055 _ACEOF
9056 if ac_fn_c_try_link "$LINENO"; then :
9057 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
9058 $as_echo "yes" >&6; }
9059 QUICKTIME_LIBS="-framework QuickTime -framework ApplicationServices -framework CoreVideo"
9061 enable_wineqtdecoder=${enable_wineqtdecoder:-yes}
9062 else
9063 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9064 $as_echo "no" >&6; }
9065 ac_cv_header_QuickTime_ImageCompression_h=no
9067 rm -f core conftest.err conftest.$ac_objext \
9068 conftest$ac_exeext conftest.$ac_ext
9069 LIBS="$ac_save_LIBS"
9072 if test "$ac_cv_header_QuickTime_ImageCompression_h" != "yes"; then :
9073 case "x$with_quicktime" in
9074 x) as_fn_append wine_notices "|QuickTime ${notice_platform}development files not found, video decoding won't be supported." ;;
9075 xno) ;;
9076 *) as_fn_error $? "QuickTime ${notice_platform}development files not found, video decoding won't be supported.
9077 This is an error since --with-quicktime was requested." "$LINENO" 5 ;;
9078 esac
9082 if test "$ac_cv_header_Carbon_Carbon_h" = "yes"
9083 then
9084 CARBON_LIBS="-framework Carbon"
9087 if test "$ac_cv_header_Metal_Metal_h" = "yes"
9088 then
9089 METAL_LIBS="-framework Metal -framework QuartzCore"
9093 if test "$ac_cv_header_Metal_Metal_h" = "yes"
9094 then
9095 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether MTLDevice protocol supports registryID property" >&5
9096 $as_echo_n "checking whether MTLDevice protocol supports registryID property... " >&6; }
9097 ac_ext=m
9098 ac_cpp='$OBJCPP $CPPFLAGS'
9099 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9100 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9101 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
9103 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9104 /* end confdefs.h. */
9105 #include <Metal/Metal.h>
9107 main ()
9109 id<MTLDevice> device; device.registryID;
9111 return 0;
9113 _ACEOF
9114 if ac_fn_objc_try_compile "$LINENO"; then :
9115 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
9116 $as_echo "yes" >&6; }
9118 $as_echo "#define HAVE_MTLDEVICE_REGISTRYID 1" >>confdefs.h
9120 else
9121 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9122 $as_echo "no" >&6; }
9124 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9125 ac_ext=c
9126 ac_cpp='$CPP $CPPFLAGS'
9127 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9128 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9129 ac_compiler_gnu=$ac_cv_c_compiler_gnu
9133 if test "$ac_cv_header_ApplicationServices_ApplicationServices_h" = "yes"
9134 then
9135 ac_save_LIBS="$LIBS"
9136 LIBS="$LIBS $APPLICATIONSERVICES_LIBS"
9137 ac_fn_c_check_func "$LINENO" "CGDisplayModeGetWidth" "ac_cv_func_CGDisplayModeGetWidth"
9138 if test "x$ac_cv_func_CGDisplayModeGetWidth" = xyes; then :
9139 enable_winemac_drv=${enable_winemac_drv:-yes}
9142 LIBS="$ac_save_LIBS"
9145 LIBWINE_SHAREDLIB="libwine.$libwine_version.dylib"
9147 LIBWINE_LDFLAGS="-dynamiclib -install_name @rpath/libwine.$libwine_soversion.dylib -Wl,-rpath,@loader_path/ -compatibility_version $libwine_soversion -current_version $libwine_version"
9149 WINELOADER_DEPENDS="wine_info.plist"
9151 TOP_INSTALL_LIB="$TOP_INSTALL_LIB libs/wine/libwine.$libwine_version.dylib libs/wine/libwine.$libwine_soversion.dylib"
9154 linux-android*)
9155 DLLFLAGS="$DLLFLAGS -fPIC"
9156 LDDLLFLAGS="-fPIC"
9157 LDEXECFLAGS="-Wl,-pie"
9158 enable_wineandroid_drv=${enable_wineandroid_drv:-yes}
9159 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
9160 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--export-dynamic... " >&6; }
9161 if ${ac_cv_cflags__fPIC__Wl___export_dynamic+:} false; then :
9162 $as_echo_n "(cached) " >&6
9163 else
9164 ac_wine_try_cflags_saved=$CFLAGS
9165 CFLAGS="$CFLAGS -fPIC -Wl,--export-dynamic"
9166 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9167 /* end confdefs.h. */
9168 int main(int argc, char **argv) { return 0; }
9169 _ACEOF
9170 if ac_fn_c_try_link "$LINENO"; then :
9171 ac_cv_cflags__fPIC__Wl___export_dynamic=yes
9172 else
9173 ac_cv_cflags__fPIC__Wl___export_dynamic=no
9175 rm -f core conftest.err conftest.$ac_objext \
9176 conftest$ac_exeext conftest.$ac_ext
9177 CFLAGS=$ac_wine_try_cflags_saved
9179 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
9180 $as_echo "$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
9181 if test "x$ac_cv_cflags__fPIC__Wl___export_dynamic" = xyes; then :
9182 WINELOADER_LDFLAGS="-Wl,--export-dynamic"
9184 WINEPRELOADER_LDFLAGS="-static -nostartfiles -nodefaultlibs -Wl,-Ttext=0x7d400000"
9186 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lEGL" >&5
9187 $as_echo_n "checking for -lEGL... " >&6; }
9188 if ${ac_cv_lib_soname_EGL+:} false; then :
9189 $as_echo_n "(cached) " >&6
9190 else
9191 ac_check_soname_save_LIBS=$LIBS
9192 LIBS="-lEGL $LIBS"
9193 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9194 /* end confdefs.h. */
9196 /* Override any GCC internal prototype to avoid an error.
9197 Use char because int might match the return type of a GCC
9198 builtin and then its argument prototype would still apply. */
9199 #ifdef __cplusplus
9200 extern "C"
9201 #endif
9202 char eglGetProcAddress ();
9204 main ()
9206 return eglGetProcAddress ();
9208 return 0;
9210 _ACEOF
9211 if ac_fn_c_try_link "$LINENO"; then :
9212 case "$LIBEXT" in
9213 dll) ac_cv_lib_soname_EGL=`$ac_cv_path_LDD conftest.exe | grep "EGL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9214 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'` ;;
9215 *) ac_cv_lib_soname_EGL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libEGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libEGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9216 if ${ac_cv_lib_soname_EGL:+false} :; then :
9217 ac_cv_lib_soname_EGL=`$LDD conftest$ac_exeext | grep "libEGL\\.$LIBEXT" | sed -e "s/^.*\(libEGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9218 fi ;;
9219 esac
9220 else
9221 ac_cv_lib_soname_EGL=
9223 rm -f core conftest.err conftest.$ac_objext \
9224 conftest$ac_exeext conftest.$ac_ext
9225 LIBS=$ac_check_soname_save_LIBS
9227 if ${ac_cv_lib_soname_EGL:+false} :; then :
9228 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9229 $as_echo "not found" >&6; }
9231 else
9232 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_EGL" >&5
9233 $as_echo "$ac_cv_lib_soname_EGL" >&6; }
9235 cat >>confdefs.h <<_ACEOF
9236 #define SONAME_LIBEGL "$ac_cv_lib_soname_EGL"
9237 _ACEOF
9241 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGLESv2" >&5
9242 $as_echo_n "checking for -lGLESv2... " >&6; }
9243 if ${ac_cv_lib_soname_GLESv2+:} false; then :
9244 $as_echo_n "(cached) " >&6
9245 else
9246 ac_check_soname_save_LIBS=$LIBS
9247 LIBS="-lGLESv2 $LIBS"
9248 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9249 /* end confdefs.h. */
9251 /* Override any GCC internal prototype to avoid an error.
9252 Use char because int might match the return type of a GCC
9253 builtin and then its argument prototype would still apply. */
9254 #ifdef __cplusplus
9255 extern "C"
9256 #endif
9257 char glFlush ();
9259 main ()
9261 return glFlush ();
9263 return 0;
9265 _ACEOF
9266 if ac_fn_c_try_link "$LINENO"; then :
9267 case "$LIBEXT" in
9268 dll) ac_cv_lib_soname_GLESv2=`$ac_cv_path_LDD conftest.exe | grep "GLESv2" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9269 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'` ;;
9270 *) ac_cv_lib_soname_GLESv2=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGLESv2\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGLESv2\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9271 if ${ac_cv_lib_soname_GLESv2:+false} :; then :
9272 ac_cv_lib_soname_GLESv2=`$LDD conftest$ac_exeext | grep "libGLESv2\\.$LIBEXT" | sed -e "s/^.*\(libGLESv2\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9273 fi ;;
9274 esac
9275 else
9276 ac_cv_lib_soname_GLESv2=
9278 rm -f core conftest.err conftest.$ac_objext \
9279 conftest$ac_exeext conftest.$ac_ext
9280 LIBS=$ac_check_soname_save_LIBS
9282 if ${ac_cv_lib_soname_GLESv2:+false} :; then :
9283 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9284 $as_echo "not found" >&6; }
9286 else
9287 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GLESv2" >&5
9288 $as_echo "$ac_cv_lib_soname_GLESv2" >&6; }
9290 cat >>confdefs.h <<_ACEOF
9291 #define SONAME_LIBGLESV2 "$ac_cv_lib_soname_GLESv2"
9292 _ACEOF
9297 if test "x$exec_prefix" = xNONE
9298 then
9299 case $host_cpu in
9300 *i[3456]86*) exec_prefix='${prefix}/x86' ;;
9301 *x86_64*) exec_prefix='${prefix}/x86_64' ;;
9302 *arm*) exec_prefix='${prefix}/armeabi-v7a' ;;
9303 *aarch64*) exec_prefix='${prefix}/arm64-v8a' ;;
9304 esac
9309 case $host_cpu in
9310 *i[3456789]86*)
9311 DLLFLAGS="$DLLFLAGS -fno-PIC"
9312 LDDLLFLAGS="-fno-PIC"
9313 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-PIC -Wl,-z,notext" >&5
9314 $as_echo_n "checking whether the compiler supports -fno-PIC -Wl,-z,notext... " >&6; }
9315 if ${ac_cv_cflags__fno_PIC__Wl__z_notext+:} false; then :
9316 $as_echo_n "(cached) " >&6
9317 else
9318 ac_wine_try_cflags_saved=$CFLAGS
9319 CFLAGS="$CFLAGS -fno-PIC -Wl,-z,notext"
9320 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9321 /* end confdefs.h. */
9322 int main(int argc, char **argv) { return 0; }
9323 _ACEOF
9324 if ac_fn_c_try_link "$LINENO"; then :
9325 ac_cv_cflags__fno_PIC__Wl__z_notext=yes
9326 else
9327 ac_cv_cflags__fno_PIC__Wl__z_notext=no
9329 rm -f core conftest.err conftest.$ac_objext \
9330 conftest$ac_exeext conftest.$ac_ext
9331 CFLAGS=$ac_wine_try_cflags_saved
9333 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_PIC__Wl__z_notext" >&5
9334 $as_echo "$ac_cv_cflags__fno_PIC__Wl__z_notext" >&6; }
9335 if test "x$ac_cv_cflags__fno_PIC__Wl__z_notext" = xyes; then :
9336 LDDLLFLAGS="$LDDLLFLAGS -Wl,-z,notext"
9340 DLLFLAGS="$DLLFLAGS -fPIC"
9341 LDDLLFLAGS="-fPIC" ;;
9342 esac
9343 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build a GNU style ELF dll" >&5
9344 $as_echo_n "checking whether we can build a GNU style ELF dll... " >&6; }
9345 if ${ac_cv_c_dll_gnuelf+:} false; then :
9346 $as_echo_n "(cached) " >&6
9347 else
9348 ac_wine_try_cflags_saved=$CFLAGS
9349 CFLAGS="$CFLAGS -fPIC -shared -Wl,-Bsymbolic"
9350 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9351 /* end confdefs.h. */
9352 void myfunc() {}
9353 _ACEOF
9354 if ac_fn_c_try_link "$LINENO"; then :
9355 ac_cv_cflags__fPIC__shared__Wl__Bsymbolic=yes
9356 else
9357 ac_cv_cflags__fPIC__shared__Wl__Bsymbolic=no
9359 rm -f core conftest.err conftest.$ac_objext \
9360 conftest$ac_exeext conftest.$ac_ext
9361 CFLAGS=$ac_wine_try_cflags_saved
9362 if test "x$ac_cv_cflags__fPIC__shared__Wl__Bsymbolic" = xyes; then :
9363 ac_cv_c_dll_gnuelf="yes"
9364 else
9365 ac_cv_c_dll_gnuelf="no"
9368 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dll_gnuelf" >&5
9369 $as_echo "$ac_cv_c_dll_gnuelf" >&6; }
9370 if test "$ac_cv_c_dll_gnuelf" = "yes"
9371 then
9372 LIBWINE_LDFLAGS="-shared"
9373 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -shared -Wl,-soname,confest.so.1" >&5
9374 $as_echo_n "checking whether the compiler supports -shared -Wl,-soname,confest.so.1... " >&6; }
9375 if ${ac_cv_cflags__shared__Wl__soname_confest_so_1+:} false; then :
9376 $as_echo_n "(cached) " >&6
9377 else
9378 ac_wine_try_cflags_saved=$CFLAGS
9379 CFLAGS="$CFLAGS -shared -Wl,-soname,confest.so.1"
9380 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9381 /* end confdefs.h. */
9382 int main(int argc, char **argv) { return 0; }
9383 _ACEOF
9384 if ac_fn_c_try_link "$LINENO"; then :
9385 ac_cv_cflags__shared__Wl__soname_confest_so_1=yes
9386 else
9387 ac_cv_cflags__shared__Wl__soname_confest_so_1=no
9389 rm -f core conftest.err conftest.$ac_objext \
9390 conftest$ac_exeext conftest.$ac_ext
9391 CFLAGS=$ac_wine_try_cflags_saved
9393 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__shared__Wl__soname_confest_so_1" >&5
9394 $as_echo "$ac_cv_cflags__shared__Wl__soname_confest_so_1" >&6; }
9395 if test "x$ac_cv_cflags__shared__Wl__soname_confest_so_1" = xyes; then :
9396 LIBWINE_LDFLAGS="-shared -Wl,-soname,libwine.so.$libwine_soversion"
9397 else
9398 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -shared -Wl,-h,confest.so.1" >&5
9399 $as_echo_n "checking whether the compiler supports -shared -Wl,-h,confest.so.1... " >&6; }
9400 if ${ac_cv_cflags__shared__Wl__h_confest_so_1+:} false; then :
9401 $as_echo_n "(cached) " >&6
9402 else
9403 ac_wine_try_cflags_saved=$CFLAGS
9404 CFLAGS="$CFLAGS -shared -Wl,-h,confest.so.1"
9405 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9406 /* end confdefs.h. */
9407 int main(int argc, char **argv) { return 0; }
9408 _ACEOF
9409 if ac_fn_c_try_link "$LINENO"; then :
9410 ac_cv_cflags__shared__Wl__h_confest_so_1=yes
9411 else
9412 ac_cv_cflags__shared__Wl__h_confest_so_1=no
9414 rm -f core conftest.err conftest.$ac_objext \
9415 conftest$ac_exeext conftest.$ac_ext
9416 CFLAGS=$ac_wine_try_cflags_saved
9418 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__shared__Wl__h_confest_so_1" >&5
9419 $as_echo "$ac_cv_cflags__shared__Wl__h_confest_so_1" >&6; }
9420 if test "x$ac_cv_cflags__shared__Wl__h_confest_so_1" = xyes; then :
9421 LIBWINE_LDFLAGS="-shared -Wl,-h,libwine.so.$libwine_soversion"
9425 echo '{ global: *; };' >conftest.map
9426 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -shared -Wl,--version-script=conftest.map" >&5
9427 $as_echo_n "checking whether the compiler supports -shared -Wl,--version-script=conftest.map... " >&6; }
9428 if ${ac_cv_cflags__shared__Wl___version_script_conftest_map+:} false; then :
9429 $as_echo_n "(cached) " >&6
9430 else
9431 ac_wine_try_cflags_saved=$CFLAGS
9432 CFLAGS="$CFLAGS -shared -Wl,--version-script=conftest.map"
9433 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9434 /* end confdefs.h. */
9435 int main(int argc, char **argv) { return 0; }
9436 _ACEOF
9437 if ac_fn_c_try_link "$LINENO"; then :
9438 ac_cv_cflags__shared__Wl___version_script_conftest_map=yes
9439 else
9440 ac_cv_cflags__shared__Wl___version_script_conftest_map=no
9442 rm -f core conftest.err conftest.$ac_objext \
9443 conftest$ac_exeext conftest.$ac_ext
9444 CFLAGS=$ac_wine_try_cflags_saved
9446 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__shared__Wl___version_script_conftest_map" >&5
9447 $as_echo "$ac_cv_cflags__shared__Wl___version_script_conftest_map" >&6; }
9448 if test "x$ac_cv_cflags__shared__Wl___version_script_conftest_map" = xyes; then :
9449 LIBWINE_LDFLAGS="$LIBWINE_LDFLAGS -Wl,--version-script=\$(srcdir)/wine.map"
9451 rm -f conftest.map
9453 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--export-dynamic" >&5
9454 $as_echo_n "checking whether the compiler supports -Wl,--export-dynamic... " >&6; }
9455 if ${ac_cv_cflags__Wl___export_dynamic+:} false; then :
9456 $as_echo_n "(cached) " >&6
9457 else
9458 ac_wine_try_cflags_saved=$CFLAGS
9459 CFLAGS="$CFLAGS -Wl,--export-dynamic"
9460 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9461 /* end confdefs.h. */
9462 int main(int argc, char **argv) { return 0; }
9463 _ACEOF
9464 if ac_fn_c_try_link "$LINENO"; then :
9465 ac_cv_cflags__Wl___export_dynamic=yes
9466 else
9467 ac_cv_cflags__Wl___export_dynamic=no
9469 rm -f core conftest.err conftest.$ac_objext \
9470 conftest$ac_exeext conftest.$ac_ext
9471 CFLAGS=$ac_wine_try_cflags_saved
9473 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___export_dynamic" >&5
9474 $as_echo "$ac_cv_cflags__Wl___export_dynamic" >&6; }
9475 if test "x$ac_cv_cflags__Wl___export_dynamic" = xyes; then :
9476 WINELOADER_LDFLAGS="-Wl,--export-dynamic"
9478 WINEPRELOADER_LDFLAGS="-static -nostartfiles -nodefaultlibs -Wl,-Ttext=0x7d400000"
9480 case $host_cpu in
9481 *i[3456789]86* | x86_64 | *aarch64*)
9482 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-Ttext-segment=0x7bc00000" >&5
9483 $as_echo_n "checking whether the compiler supports -Wl,-Ttext-segment=0x7bc00000... " >&6; }
9484 if ${ac_cv_cflags__Wl__Ttext_segment_0x7bc00000+:} false; then :
9485 $as_echo_n "(cached) " >&6
9486 else
9487 ac_wine_try_cflags_saved=$CFLAGS
9488 CFLAGS="$CFLAGS -Wl,-Ttext-segment=0x7bc00000"
9489 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9490 /* end confdefs.h. */
9491 int main(int argc, char **argv) { return 0; }
9492 _ACEOF
9493 if ac_fn_c_try_link "$LINENO"; then :
9494 ac_cv_cflags__Wl__Ttext_segment_0x7bc00000=yes
9495 else
9496 ac_cv_cflags__Wl__Ttext_segment_0x7bc00000=no
9498 rm -f core conftest.err conftest.$ac_objext \
9499 conftest$ac_exeext conftest.$ac_ext
9500 CFLAGS=$ac_wine_try_cflags_saved
9502 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" >&5
9503 $as_echo "$ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" >&6; }
9504 if test "x$ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" = xyes; then :
9505 case $host_os in
9506 freebsd* | kfreebsd*-gnu) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,-Ttext-segment=0x60000000" ;;
9507 *) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,-Ttext-segment=0x7d000000" ;;
9508 esac
9509 else
9510 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--section-start,.interp=0x7d000400" >&5
9511 $as_echo_n "checking whether the compiler supports -Wl,--section-start,.interp=0x7d000400... " >&6; }
9512 if ${ac_cv_cflags__Wl___section_start__interp_0x7d000400+:} false; then :
9513 $as_echo_n "(cached) " >&6
9514 else
9515 ac_wine_try_cflags_saved=$CFLAGS
9516 CFLAGS="$CFLAGS -Wl,--section-start,.interp=0x7d000400"
9517 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9518 /* end confdefs.h. */
9519 int main(int argc, char **argv) { return 0; }
9520 _ACEOF
9521 if ac_fn_c_try_link "$LINENO"; then :
9522 ac_cv_cflags__Wl___section_start__interp_0x7d000400=yes
9523 else
9524 ac_cv_cflags__Wl___section_start__interp_0x7d000400=no
9526 rm -f core conftest.err conftest.$ac_objext \
9527 conftest$ac_exeext conftest.$ac_ext
9528 CFLAGS=$ac_wine_try_cflags_saved
9530 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___section_start__interp_0x7d000400" >&5
9531 $as_echo "$ac_cv_cflags__Wl___section_start__interp_0x7d000400" >&6; }
9532 if test "x$ac_cv_cflags__Wl___section_start__interp_0x7d000400" = xyes; then :
9533 case $host_os in
9534 freebsd* | kfreebsd*-gnu) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,--section-start,.interp=0x60000400" ;;
9535 *) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,--section-start,.interp=0x7d000400" ;;
9536 esac
9538 # Extract the first word of "prelink", so it can be a program name with args.
9539 set dummy prelink; ac_word=$2
9540 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9541 $as_echo_n "checking for $ac_word... " >&6; }
9542 if ${ac_cv_path_PRELINK+:} false; then :
9543 $as_echo_n "(cached) " >&6
9544 else
9545 case $PRELINK in
9546 [\\/]* | ?:[\\/]*)
9547 ac_cv_path_PRELINK="$PRELINK" # Let the user override the test with a path.
9550 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9551 for as_dir in /sbin /usr/sbin $PATH
9553 IFS=$as_save_IFS
9554 test -z "$as_dir" && as_dir=.
9555 for ac_exec_ext in '' $ac_executable_extensions; do
9556 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9557 ac_cv_path_PRELINK="$as_dir/$ac_word$ac_exec_ext"
9558 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9559 break 2
9561 done
9562 done
9563 IFS=$as_save_IFS
9565 test -z "$ac_cv_path_PRELINK" && ac_cv_path_PRELINK="false"
9567 esac
9569 PRELINK=$ac_cv_path_PRELINK
9570 if test -n "$PRELINK"; then
9571 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PRELINK" >&5
9572 $as_echo "$PRELINK" >&6; }
9573 else
9574 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9575 $as_echo "no" >&6; }
9579 if test "x$PRELINK" = xfalse
9580 then
9581 as_fn_append wine_warnings "|prelink not found and linker does not support relocation, base address of core dlls won't be set correctly."
9584 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-z,max-page-size=0x1000" >&5
9585 $as_echo_n "checking whether the compiler supports -Wl,-z,max-page-size=0x1000... " >&6; }
9586 if ${ac_cv_cflags__Wl__z_max_page_size_0x1000+:} false; then :
9587 $as_echo_n "(cached) " >&6
9588 else
9589 ac_wine_try_cflags_saved=$CFLAGS
9590 CFLAGS="$CFLAGS -Wl,-z,max-page-size=0x1000"
9591 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9592 /* end confdefs.h. */
9593 int main(int argc, char **argv) { return 0; }
9594 _ACEOF
9595 if ac_fn_c_try_link "$LINENO"; then :
9596 ac_cv_cflags__Wl__z_max_page_size_0x1000=yes
9597 else
9598 ac_cv_cflags__Wl__z_max_page_size_0x1000=no
9600 rm -f core conftest.err conftest.$ac_objext \
9601 conftest$ac_exeext conftest.$ac_ext
9602 CFLAGS=$ac_wine_try_cflags_saved
9604 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__z_max_page_size_0x1000" >&5
9605 $as_echo "$ac_cv_cflags__Wl__z_max_page_size_0x1000" >&6; }
9606 if test "x$ac_cv_cflags__Wl__z_max_page_size_0x1000" = xyes; then :
9607 WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,-z,max-page-size=0x1000"
9610 esac
9612 else
9613 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build a UnixWare (Solaris) dll" >&5
9614 $as_echo_n "checking whether we can build a UnixWare (Solaris) dll... " >&6; }
9615 if ${ac_cv_c_dll_unixware+:} false; then :
9616 $as_echo_n "(cached) " >&6
9617 else
9618 ac_wine_try_cflags_saved=$CFLAGS
9619 CFLAGS="$CFLAGS -fPIC -Wl,-G,-h,conftest.so.1.0,-B,symbolic"
9620 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9621 /* end confdefs.h. */
9622 void myfunc() {}
9623 _ACEOF
9624 if ac_fn_c_try_link "$LINENO"; then :
9625 ac_cv_cflags__fPIC__Wl__G__h_conftest_so_1_0__B_symbolic=yes
9626 else
9627 ac_cv_cflags__fPIC__Wl__G__h_conftest_so_1_0__B_symbolic=no
9629 rm -f core conftest.err conftest.$ac_objext \
9630 conftest$ac_exeext conftest.$ac_ext
9631 CFLAGS=$ac_wine_try_cflags_saved
9632 if test "x$ac_cv_cflags__fPIC__Wl__G__h_conftest_so_1_0__B_symbolic" = xyes; then :
9633 ac_cv_c_dll_unixware="yes"
9634 else
9635 ac_cv_c_dll_unixware="no"
9638 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dll_unixware" >&5
9639 $as_echo "$ac_cv_c_dll_unixware" >&6; }
9640 if test "$ac_cv_c_dll_unixware" = "yes"
9641 then
9642 LIBWINE_LDFLAGS="-Wl,-G,-h,libwine.so.$libwine_soversion"
9645 LIBWINE_SHAREDLIB="libwine.so.$libwine_version"
9647 LIBWINE_DEPENDS="wine.map"
9649 TOP_INSTALL_LIB="$TOP_INSTALL_LIB libs/wine/libwine.so.$libwine_version libs/wine/libwine.so.$libwine_soversion"
9651 esac
9653 enable_winecoreaudio_drv=${enable_winecoreaudio_drv:-no}
9654 enable_wineqtdecoder=${enable_wineqtdecoder:-no}
9655 enable_wineandroid_drv=${enable_wineandroid_drv:-no}
9656 enable_winemac_drv=${enable_winemac_drv:-no}
9657 test "$ac_cv_header_linux_joystick_h" = "yes" -o "$ac_cv_header_IOKit_hid_IOHIDLib_h" = "yes" || enable_winejoystick_drv=${enable_winejoystick_drv:-no}
9660 if test "x$with_mingw" != xno
9661 then
9662 case "x$with_mingw" in
9663 x|xyes) case "$host_cpu" in
9664 aarch64*)
9665 ac_prefix_list="aarch64-w64-mingw32-clang aarch64-w64-mingw32-gcc clang" ;;
9666 arm*)
9667 ac_prefix_list="armv7-w64-mingw32-clang armv7-w64-mingw32-gcc clang" ;;
9668 i[3456789]86*)
9669 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
9670 i686-w64-mingw32-clang i586-w64-mingw32-clang i486-w64-mingw32-clang i386-w64-mingw32-clang
9671 mingw32-gcc clang" ;;
9672 x86_64)
9673 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
9674 x86_64-w64-mingw32-clang amd64-w64-mingw32-clang clang" ;;
9676 ac_prefix_list="" ;;
9677 esac
9678 for ac_prog in $ac_prefix_list
9680 # Extract the first word of "$ac_prog", so it can be a program name with args.
9681 set dummy $ac_prog; ac_word=$2
9682 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9683 $as_echo_n "checking for $ac_word... " >&6; }
9684 if ${ac_cv_prog_CROSSCC+:} false; then :
9685 $as_echo_n "(cached) " >&6
9686 else
9687 if test -n "$CROSSCC"; then
9688 ac_cv_prog_CROSSCC="$CROSSCC" # Let the user override the test.
9689 else
9690 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9691 for as_dir in $PATH
9693 IFS=$as_save_IFS
9694 test -z "$as_dir" && as_dir=.
9695 for ac_exec_ext in '' $ac_executable_extensions; do
9696 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9697 ac_cv_prog_CROSSCC="$ac_prog"
9698 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9699 break 2
9701 done
9702 done
9703 IFS=$as_save_IFS
9707 CROSSCC=$ac_cv_prog_CROSSCC
9708 if test -n "$CROSSCC"; then
9709 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CROSSCC" >&5
9710 $as_echo "$CROSSCC" >&6; }
9711 else
9712 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9713 $as_echo "no" >&6; }
9717 test -n "$CROSSCC" && break
9718 done
9719 test -n "$CROSSCC" || CROSSCC="false"
9721 *) CROSSCC=$with_mingw ;;
9722 esac
9723 if test "$CROSSCC" != "false"
9724 then
9725 ac_save_CC="$CC"
9726 saved_CFLAGS=$CFLAGS
9727 CROSSCFLAGS=${CROSSCFLAGS:-"-g -O2"}
9729 EXTRACROSSCFLAGS="-DWINE_CROSS_PE -Wall"
9733 CC="$CROSSCC"
9734 CFLAGS=$CROSSCFLAGS
9735 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CROSSCC works" >&5
9736 $as_echo_n "checking whether $CROSSCC works... " >&6; }
9737 if ${wine_cv_crosscc+:} false; then :
9738 $as_echo_n "(cached) " >&6
9739 else
9740 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9741 /* end confdefs.h. */
9744 main ()
9748 return 0;
9750 _ACEOF
9751 if ac_fn_c_try_compile "$LINENO"; then :
9752 wine_cv_crosscc=yes
9753 else
9754 wine_cv_crosscc=no
9756 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9758 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_crosscc" >&5
9759 $as_echo "$wine_cv_crosscc" >&6; }
9760 if test $wine_cv_crosscc = yes
9761 then
9762 set x $CROSSCC
9763 shift
9764 while test $# -ge 1
9766 case "$1" in
9767 *-gcc) CROSSTARGET=`expr "$1" : '\(.*\)-gcc'` ;;
9768 *-clang) CROSSTARGET=`expr "$1" : '\(.*\)-clang'` ;;
9769 esac
9770 shift
9771 done
9773 llvm_target=$CROSSTARGET
9774 llvm_cflags="-fuse-ld=lld"
9775 if test -z "$llvm_target"
9776 then
9777 case $host_cpu in
9778 *i[3456789]86*) llvm_target=i686-windows ;;
9779 *) llvm_target=$host_cpu-windows ;;
9780 esac
9782 case $llvm_target in
9783 *windows) llvm_cflags="$llvm_cflags -Wl,-subsystem:console" ;;
9784 esac
9785 as_ac_var=`$as_echo "ac_cv_crosscflags_-target $llvm_target $llvm_cflags" | $as_tr_sh`
9786 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -target $llvm_target $llvm_cflags" >&5
9787 $as_echo_n "checking whether the cross-compiler supports -target $llvm_target $llvm_cflags... " >&6; }
9788 if eval \${$as_ac_var+:} false; then :
9789 $as_echo_n "(cached) " >&6
9790 else
9791 ac_wine_try_cflags_saved=$CFLAGS
9792 ac_wine_try_cflags_saved_cc=$CC
9793 ac_wine_try_cflags_saved_exeext=$ac_exeext
9794 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -target $llvm_target $llvm_cflags"
9795 CC="$CROSSCC"
9796 ac_exeext=".exe"
9797 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9798 /* end confdefs.h. */
9799 int __cdecl mainCRTStartup(void) { return 0; }
9800 _ACEOF
9801 if ac_fn_c_try_link "$LINENO"; then :
9802 eval "$as_ac_var=yes"
9803 else
9804 eval "$as_ac_var=no"
9806 rm -f core conftest.err conftest.$ac_objext \
9807 conftest$ac_exeext conftest.$ac_ext
9808 CFLAGS=$ac_wine_try_cflags_saved
9809 CC=$ac_wine_try_cflags_saved_cc
9810 ac_exeext=$ac_wine_try_cflags_saved_exeext
9812 eval ac_res=\$$as_ac_var
9813 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
9814 $as_echo "$ac_res" >&6; }
9815 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
9816 CROSSTARGET=$llvm_target
9817 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -target $CROSSTARGET"
9818 DELAYLOADFLAG="-Wl,-delayload,"
9820 CFLAGS="$CFLAGS $llvm_cflags"
9823 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -fno-strict-aliasing" >&5
9824 $as_echo_n "checking whether the cross-compiler supports -fno-strict-aliasing... " >&6; }
9825 if ${ac_cv_crosscflags__fno_strict_aliasing+:} false; then :
9826 $as_echo_n "(cached) " >&6
9827 else
9828 ac_wine_try_cflags_saved=$CFLAGS
9829 ac_wine_try_cflags_saved_cc=$CC
9830 ac_wine_try_cflags_saved_exeext=$ac_exeext
9831 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -fno-strict-aliasing"
9832 CC="$CROSSCC"
9833 ac_exeext=".exe"
9834 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9835 /* end confdefs.h. */
9836 int __cdecl mainCRTStartup(void) { return 0; }
9837 _ACEOF
9838 if ac_fn_c_try_link "$LINENO"; then :
9839 ac_cv_crosscflags__fno_strict_aliasing=yes
9840 else
9841 ac_cv_crosscflags__fno_strict_aliasing=no
9843 rm -f core conftest.err conftest.$ac_objext \
9844 conftest$ac_exeext conftest.$ac_ext
9845 CFLAGS=$ac_wine_try_cflags_saved
9846 CC=$ac_wine_try_cflags_saved_cc
9847 ac_exeext=$ac_wine_try_cflags_saved_exeext
9849 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__fno_strict_aliasing" >&5
9850 $as_echo "$ac_cv_crosscflags__fno_strict_aliasing" >&6; }
9851 if test "x$ac_cv_crosscflags__fno_strict_aliasing" = xyes; then :
9852 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -fno-strict-aliasing"
9854 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Werror=unknown-warning-option" >&5
9855 $as_echo_n "checking whether the cross-compiler supports -Werror=unknown-warning-option... " >&6; }
9856 if ${ac_cv_crosscflags__Werror_unknown_warning_option+:} false; then :
9857 $as_echo_n "(cached) " >&6
9858 else
9859 ac_wine_try_cflags_saved=$CFLAGS
9860 ac_wine_try_cflags_saved_cc=$CC
9861 ac_wine_try_cflags_saved_exeext=$ac_exeext
9862 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Werror=unknown-warning-option"
9863 CC="$CROSSCC"
9864 ac_exeext=".exe"
9865 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9866 /* end confdefs.h. */
9867 int __cdecl mainCRTStartup(void) { return 0; }
9868 _ACEOF
9869 if ac_fn_c_try_link "$LINENO"; then :
9870 ac_cv_crosscflags__Werror_unknown_warning_option=yes
9871 else
9872 ac_cv_crosscflags__Werror_unknown_warning_option=no
9874 rm -f core conftest.err conftest.$ac_objext \
9875 conftest$ac_exeext conftest.$ac_ext
9876 CFLAGS=$ac_wine_try_cflags_saved
9877 CC=$ac_wine_try_cflags_saved_cc
9878 ac_exeext=$ac_wine_try_cflags_saved_exeext
9880 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Werror_unknown_warning_option" >&5
9881 $as_echo "$ac_cv_crosscflags__Werror_unknown_warning_option" >&6; }
9882 if test "x$ac_cv_crosscflags__Werror_unknown_warning_option" = xyes; then :
9883 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
9885 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Werror=ignored-optimization-argument" >&5
9886 $as_echo_n "checking whether the cross-compiler supports -Werror=ignored-optimization-argument... " >&6; }
9887 if ${ac_cv_crosscflags__Werror_ignored_optimization_argument+:} false; then :
9888 $as_echo_n "(cached) " >&6
9889 else
9890 ac_wine_try_cflags_saved=$CFLAGS
9891 ac_wine_try_cflags_saved_cc=$CC
9892 ac_wine_try_cflags_saved_exeext=$ac_exeext
9893 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Werror=ignored-optimization-argument"
9894 CC="$CROSSCC"
9895 ac_exeext=".exe"
9896 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9897 /* end confdefs.h. */
9898 int __cdecl mainCRTStartup(void) { return 0; }
9899 _ACEOF
9900 if ac_fn_c_try_link "$LINENO"; then :
9901 ac_cv_crosscflags__Werror_ignored_optimization_argument=yes
9902 else
9903 ac_cv_crosscflags__Werror_ignored_optimization_argument=no
9905 rm -f core conftest.err conftest.$ac_objext \
9906 conftest$ac_exeext conftest.$ac_ext
9907 CFLAGS=$ac_wine_try_cflags_saved
9908 CC=$ac_wine_try_cflags_saved_cc
9909 ac_exeext=$ac_wine_try_cflags_saved_exeext
9911 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Werror_ignored_optimization_argument" >&5
9912 $as_echo "$ac_cv_crosscflags__Werror_ignored_optimization_argument" >&6; }
9913 if test "x$ac_cv_crosscflags__Werror_ignored_optimization_argument" = xyes; then :
9914 CFLAGS="$CFLAGS -Werror=ignored-optimization-argument"
9916 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wdeclaration-after-statement" >&5
9917 $as_echo_n "checking whether the cross-compiler supports -Wdeclaration-after-statement... " >&6; }
9918 if ${ac_cv_crosscflags__Wdeclaration_after_statement+:} false; then :
9919 $as_echo_n "(cached) " >&6
9920 else
9921 ac_wine_try_cflags_saved=$CFLAGS
9922 ac_wine_try_cflags_saved_cc=$CC
9923 ac_wine_try_cflags_saved_exeext=$ac_exeext
9924 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wdeclaration-after-statement"
9925 CC="$CROSSCC"
9926 ac_exeext=".exe"
9927 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9928 /* end confdefs.h. */
9929 int __cdecl mainCRTStartup(void) { return 0; }
9930 _ACEOF
9931 if ac_fn_c_try_link "$LINENO"; then :
9932 ac_cv_crosscflags__Wdeclaration_after_statement=yes
9933 else
9934 ac_cv_crosscflags__Wdeclaration_after_statement=no
9936 rm -f core conftest.err conftest.$ac_objext \
9937 conftest$ac_exeext conftest.$ac_ext
9938 CFLAGS=$ac_wine_try_cflags_saved
9939 CC=$ac_wine_try_cflags_saved_cc
9940 ac_exeext=$ac_wine_try_cflags_saved_exeext
9942 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wdeclaration_after_statement" >&5
9943 $as_echo "$ac_cv_crosscflags__Wdeclaration_after_statement" >&6; }
9944 if test "x$ac_cv_crosscflags__Wdeclaration_after_statement" = xyes; then :
9945 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wdeclaration-after-statement"
9947 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wempty-body" >&5
9948 $as_echo_n "checking whether the cross-compiler supports -Wempty-body... " >&6; }
9949 if ${ac_cv_crosscflags__Wempty_body+:} false; then :
9950 $as_echo_n "(cached) " >&6
9951 else
9952 ac_wine_try_cflags_saved=$CFLAGS
9953 ac_wine_try_cflags_saved_cc=$CC
9954 ac_wine_try_cflags_saved_exeext=$ac_exeext
9955 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wempty-body"
9956 CC="$CROSSCC"
9957 ac_exeext=".exe"
9958 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9959 /* end confdefs.h. */
9960 int __cdecl mainCRTStartup(void) { return 0; }
9961 _ACEOF
9962 if ac_fn_c_try_link "$LINENO"; then :
9963 ac_cv_crosscflags__Wempty_body=yes
9964 else
9965 ac_cv_crosscflags__Wempty_body=no
9967 rm -f core conftest.err conftest.$ac_objext \
9968 conftest$ac_exeext conftest.$ac_ext
9969 CFLAGS=$ac_wine_try_cflags_saved
9970 CC=$ac_wine_try_cflags_saved_cc
9971 ac_exeext=$ac_wine_try_cflags_saved_exeext
9973 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wempty_body" >&5
9974 $as_echo "$ac_cv_crosscflags__Wempty_body" >&6; }
9975 if test "x$ac_cv_crosscflags__Wempty_body" = xyes; then :
9976 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wempty-body"
9978 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wignored-qualifiers" >&5
9979 $as_echo_n "checking whether the cross-compiler supports -Wignored-qualifiers... " >&6; }
9980 if ${ac_cv_crosscflags__Wignored_qualifiers+:} false; then :
9981 $as_echo_n "(cached) " >&6
9982 else
9983 ac_wine_try_cflags_saved=$CFLAGS
9984 ac_wine_try_cflags_saved_cc=$CC
9985 ac_wine_try_cflags_saved_exeext=$ac_exeext
9986 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wignored-qualifiers"
9987 CC="$CROSSCC"
9988 ac_exeext=".exe"
9989 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9990 /* end confdefs.h. */
9991 int __cdecl mainCRTStartup(void) { return 0; }
9992 _ACEOF
9993 if ac_fn_c_try_link "$LINENO"; then :
9994 ac_cv_crosscflags__Wignored_qualifiers=yes
9995 else
9996 ac_cv_crosscflags__Wignored_qualifiers=no
9998 rm -f core conftest.err conftest.$ac_objext \
9999 conftest$ac_exeext conftest.$ac_ext
10000 CFLAGS=$ac_wine_try_cflags_saved
10001 CC=$ac_wine_try_cflags_saved_cc
10002 ac_exeext=$ac_wine_try_cflags_saved_exeext
10004 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wignored_qualifiers" >&5
10005 $as_echo "$ac_cv_crosscflags__Wignored_qualifiers" >&6; }
10006 if test "x$ac_cv_crosscflags__Wignored_qualifiers" = xyes; then :
10007 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wignored-qualifiers"
10009 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Winit-self" >&5
10010 $as_echo_n "checking whether the cross-compiler supports -Winit-self... " >&6; }
10011 if ${ac_cv_crosscflags__Winit_self+:} false; then :
10012 $as_echo_n "(cached) " >&6
10013 else
10014 ac_wine_try_cflags_saved=$CFLAGS
10015 ac_wine_try_cflags_saved_cc=$CC
10016 ac_wine_try_cflags_saved_exeext=$ac_exeext
10017 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Winit-self"
10018 CC="$CROSSCC"
10019 ac_exeext=".exe"
10020 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10021 /* end confdefs.h. */
10022 int __cdecl mainCRTStartup(void) { return 0; }
10023 _ACEOF
10024 if ac_fn_c_try_link "$LINENO"; then :
10025 ac_cv_crosscflags__Winit_self=yes
10026 else
10027 ac_cv_crosscflags__Winit_self=no
10029 rm -f core conftest.err conftest.$ac_objext \
10030 conftest$ac_exeext conftest.$ac_ext
10031 CFLAGS=$ac_wine_try_cflags_saved
10032 CC=$ac_wine_try_cflags_saved_cc
10033 ac_exeext=$ac_wine_try_cflags_saved_exeext
10035 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Winit_self" >&5
10036 $as_echo "$ac_cv_crosscflags__Winit_self" >&6; }
10037 if test "x$ac_cv_crosscflags__Winit_self" = xyes; then :
10038 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Winit-self"
10040 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wpacked-not-aligned" >&5
10041 $as_echo_n "checking whether the cross-compiler supports -Wpacked-not-aligned... " >&6; }
10042 if ${ac_cv_crosscflags__Wpacked_not_aligned+:} false; then :
10043 $as_echo_n "(cached) " >&6
10044 else
10045 ac_wine_try_cflags_saved=$CFLAGS
10046 ac_wine_try_cflags_saved_cc=$CC
10047 ac_wine_try_cflags_saved_exeext=$ac_exeext
10048 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wpacked-not-aligned"
10049 CC="$CROSSCC"
10050 ac_exeext=".exe"
10051 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10052 /* end confdefs.h. */
10053 int __cdecl mainCRTStartup(void) { return 0; }
10054 _ACEOF
10055 if ac_fn_c_try_link "$LINENO"; then :
10056 ac_cv_crosscflags__Wpacked_not_aligned=yes
10057 else
10058 ac_cv_crosscflags__Wpacked_not_aligned=no
10060 rm -f core conftest.err conftest.$ac_objext \
10061 conftest$ac_exeext conftest.$ac_ext
10062 CFLAGS=$ac_wine_try_cflags_saved
10063 CC=$ac_wine_try_cflags_saved_cc
10064 ac_exeext=$ac_wine_try_cflags_saved_exeext
10066 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wpacked_not_aligned" >&5
10067 $as_echo "$ac_cv_crosscflags__Wpacked_not_aligned" >&6; }
10068 if test "x$ac_cv_crosscflags__Wpacked_not_aligned" = xyes; then :
10069 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wno-packed-not-aligned"
10071 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wpragma-pack" >&5
10072 $as_echo_n "checking whether the cross-compiler supports -Wpragma-pack... " >&6; }
10073 if ${ac_cv_crosscflags__Wpragma_pack+:} false; then :
10074 $as_echo_n "(cached) " >&6
10075 else
10076 ac_wine_try_cflags_saved=$CFLAGS
10077 ac_wine_try_cflags_saved_cc=$CC
10078 ac_wine_try_cflags_saved_exeext=$ac_exeext
10079 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wpragma-pack"
10080 CC="$CROSSCC"
10081 ac_exeext=".exe"
10082 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10083 /* end confdefs.h. */
10084 int __cdecl mainCRTStartup(void) { return 0; }
10085 _ACEOF
10086 if ac_fn_c_try_link "$LINENO"; then :
10087 ac_cv_crosscflags__Wpragma_pack=yes
10088 else
10089 ac_cv_crosscflags__Wpragma_pack=no
10091 rm -f core conftest.err conftest.$ac_objext \
10092 conftest$ac_exeext conftest.$ac_ext
10093 CFLAGS=$ac_wine_try_cflags_saved
10094 CC=$ac_wine_try_cflags_saved_cc
10095 ac_exeext=$ac_wine_try_cflags_saved_exeext
10097 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wpragma_pack" >&5
10098 $as_echo "$ac_cv_crosscflags__Wpragma_pack" >&6; }
10099 if test "x$ac_cv_crosscflags__Wpragma_pack" = xyes; then :
10100 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wno-pragma-pack"
10102 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wshift-overflow=2" >&5
10103 $as_echo_n "checking whether the cross-compiler supports -Wshift-overflow=2... " >&6; }
10104 if ${ac_cv_crosscflags__Wshift_overflow_2+:} false; then :
10105 $as_echo_n "(cached) " >&6
10106 else
10107 ac_wine_try_cflags_saved=$CFLAGS
10108 ac_wine_try_cflags_saved_cc=$CC
10109 ac_wine_try_cflags_saved_exeext=$ac_exeext
10110 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wshift-overflow=2"
10111 CC="$CROSSCC"
10112 ac_exeext=".exe"
10113 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10114 /* end confdefs.h. */
10115 int __cdecl mainCRTStartup(void) { return 0; }
10116 _ACEOF
10117 if ac_fn_c_try_link "$LINENO"; then :
10118 ac_cv_crosscflags__Wshift_overflow_2=yes
10119 else
10120 ac_cv_crosscflags__Wshift_overflow_2=no
10122 rm -f core conftest.err conftest.$ac_objext \
10123 conftest$ac_exeext conftest.$ac_ext
10124 CFLAGS=$ac_wine_try_cflags_saved
10125 CC=$ac_wine_try_cflags_saved_cc
10126 ac_exeext=$ac_wine_try_cflags_saved_exeext
10128 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wshift_overflow_2" >&5
10129 $as_echo "$ac_cv_crosscflags__Wshift_overflow_2" >&6; }
10130 if test "x$ac_cv_crosscflags__Wshift_overflow_2" = xyes; then :
10131 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wshift-overflow=2"
10133 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wstrict-prototypes" >&5
10134 $as_echo_n "checking whether the cross-compiler supports -Wstrict-prototypes... " >&6; }
10135 if ${ac_cv_crosscflags__Wstrict_prototypes+:} false; then :
10136 $as_echo_n "(cached) " >&6
10137 else
10138 ac_wine_try_cflags_saved=$CFLAGS
10139 ac_wine_try_cflags_saved_cc=$CC
10140 ac_wine_try_cflags_saved_exeext=$ac_exeext
10141 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wstrict-prototypes"
10142 CC="$CROSSCC"
10143 ac_exeext=".exe"
10144 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10145 /* end confdefs.h. */
10146 int __cdecl mainCRTStartup(void) { return 0; }
10147 _ACEOF
10148 if ac_fn_c_try_link "$LINENO"; then :
10149 ac_cv_crosscflags__Wstrict_prototypes=yes
10150 else
10151 ac_cv_crosscflags__Wstrict_prototypes=no
10153 rm -f core conftest.err conftest.$ac_objext \
10154 conftest$ac_exeext conftest.$ac_ext
10155 CFLAGS=$ac_wine_try_cflags_saved
10156 CC=$ac_wine_try_cflags_saved_cc
10157 ac_exeext=$ac_wine_try_cflags_saved_exeext
10159 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wstrict_prototypes" >&5
10160 $as_echo "$ac_cv_crosscflags__Wstrict_prototypes" >&6; }
10161 if test "x$ac_cv_crosscflags__Wstrict_prototypes" = xyes; then :
10162 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wstrict-prototypes"
10164 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wtype-limits" >&5
10165 $as_echo_n "checking whether the cross-compiler supports -Wtype-limits... " >&6; }
10166 if ${ac_cv_crosscflags__Wtype_limits+:} false; then :
10167 $as_echo_n "(cached) " >&6
10168 else
10169 ac_wine_try_cflags_saved=$CFLAGS
10170 ac_wine_try_cflags_saved_cc=$CC
10171 ac_wine_try_cflags_saved_exeext=$ac_exeext
10172 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wtype-limits"
10173 CC="$CROSSCC"
10174 ac_exeext=".exe"
10175 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10176 /* end confdefs.h. */
10177 int __cdecl mainCRTStartup(void) { return 0; }
10178 _ACEOF
10179 if ac_fn_c_try_link "$LINENO"; then :
10180 ac_cv_crosscflags__Wtype_limits=yes
10181 else
10182 ac_cv_crosscflags__Wtype_limits=no
10184 rm -f core conftest.err conftest.$ac_objext \
10185 conftest$ac_exeext conftest.$ac_ext
10186 CFLAGS=$ac_wine_try_cflags_saved
10187 CC=$ac_wine_try_cflags_saved_cc
10188 ac_exeext=$ac_wine_try_cflags_saved_exeext
10190 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wtype_limits" >&5
10191 $as_echo "$ac_cv_crosscflags__Wtype_limits" >&6; }
10192 if test "x$ac_cv_crosscflags__Wtype_limits" = xyes; then :
10193 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wtype-limits"
10195 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wunused-but-set-parameter" >&5
10196 $as_echo_n "checking whether the cross-compiler supports -Wunused-but-set-parameter... " >&6; }
10197 if ${ac_cv_crosscflags__Wunused_but_set_parameter+:} false; then :
10198 $as_echo_n "(cached) " >&6
10199 else
10200 ac_wine_try_cflags_saved=$CFLAGS
10201 ac_wine_try_cflags_saved_cc=$CC
10202 ac_wine_try_cflags_saved_exeext=$ac_exeext
10203 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wunused-but-set-parameter"
10204 CC="$CROSSCC"
10205 ac_exeext=".exe"
10206 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10207 /* end confdefs.h. */
10208 int __cdecl mainCRTStartup(void) { return 0; }
10209 _ACEOF
10210 if ac_fn_c_try_link "$LINENO"; then :
10211 ac_cv_crosscflags__Wunused_but_set_parameter=yes
10212 else
10213 ac_cv_crosscflags__Wunused_but_set_parameter=no
10215 rm -f core conftest.err conftest.$ac_objext \
10216 conftest$ac_exeext conftest.$ac_ext
10217 CFLAGS=$ac_wine_try_cflags_saved
10218 CC=$ac_wine_try_cflags_saved_cc
10219 ac_exeext=$ac_wine_try_cflags_saved_exeext
10221 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wunused_but_set_parameter" >&5
10222 $as_echo "$ac_cv_crosscflags__Wunused_but_set_parameter" >&6; }
10223 if test "x$ac_cv_crosscflags__Wunused_but_set_parameter" = xyes; then :
10224 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wunused-but-set-parameter"
10226 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wvla" >&5
10227 $as_echo_n "checking whether the cross-compiler supports -Wvla... " >&6; }
10228 if ${ac_cv_crosscflags__Wvla+:} false; then :
10229 $as_echo_n "(cached) " >&6
10230 else
10231 ac_wine_try_cflags_saved=$CFLAGS
10232 ac_wine_try_cflags_saved_cc=$CC
10233 ac_wine_try_cflags_saved_exeext=$ac_exeext
10234 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wvla"
10235 CC="$CROSSCC"
10236 ac_exeext=".exe"
10237 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10238 /* end confdefs.h. */
10239 int __cdecl mainCRTStartup(void) { return 0; }
10240 _ACEOF
10241 if ac_fn_c_try_link "$LINENO"; then :
10242 ac_cv_crosscflags__Wvla=yes
10243 else
10244 ac_cv_crosscflags__Wvla=no
10246 rm -f core conftest.err conftest.$ac_objext \
10247 conftest$ac_exeext conftest.$ac_ext
10248 CFLAGS=$ac_wine_try_cflags_saved
10249 CC=$ac_wine_try_cflags_saved_cc
10250 ac_exeext=$ac_wine_try_cflags_saved_exeext
10252 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wvla" >&5
10253 $as_echo "$ac_cv_crosscflags__Wvla" >&6; }
10254 if test "x$ac_cv_crosscflags__Wvla" = xyes; then :
10255 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wvla"
10257 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wwrite-strings" >&5
10258 $as_echo_n "checking whether the cross-compiler supports -Wwrite-strings... " >&6; }
10259 if ${ac_cv_crosscflags__Wwrite_strings+:} false; then :
10260 $as_echo_n "(cached) " >&6
10261 else
10262 ac_wine_try_cflags_saved=$CFLAGS
10263 ac_wine_try_cflags_saved_cc=$CC
10264 ac_wine_try_cflags_saved_exeext=$ac_exeext
10265 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wwrite-strings"
10266 CC="$CROSSCC"
10267 ac_exeext=".exe"
10268 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10269 /* end confdefs.h. */
10270 int __cdecl mainCRTStartup(void) { return 0; }
10271 _ACEOF
10272 if ac_fn_c_try_link "$LINENO"; then :
10273 ac_cv_crosscflags__Wwrite_strings=yes
10274 else
10275 ac_cv_crosscflags__Wwrite_strings=no
10277 rm -f core conftest.err conftest.$ac_objext \
10278 conftest$ac_exeext conftest.$ac_ext
10279 CFLAGS=$ac_wine_try_cflags_saved
10280 CC=$ac_wine_try_cflags_saved_cc
10281 ac_exeext=$ac_wine_try_cflags_saved_exeext
10283 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wwrite_strings" >&5
10284 $as_echo "$ac_cv_crosscflags__Wwrite_strings" >&6; }
10285 if test "x$ac_cv_crosscflags__Wwrite_strings" = xyes; then :
10286 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wwrite-strings"
10288 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wpointer-arith" >&5
10289 $as_echo_n "checking whether the cross-compiler supports -Wpointer-arith... " >&6; }
10290 if ${ac_cv_crosscflags__Wpointer_arith+:} false; then :
10291 $as_echo_n "(cached) " >&6
10292 else
10293 ac_wine_try_cflags_saved=$CFLAGS
10294 ac_wine_try_cflags_saved_cc=$CC
10295 ac_wine_try_cflags_saved_exeext=$ac_exeext
10296 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wpointer-arith"
10297 CC="$CROSSCC"
10298 ac_exeext=".exe"
10299 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10300 /* end confdefs.h. */
10301 int __cdecl mainCRTStartup(void) { return 0; }
10302 _ACEOF
10303 if ac_fn_c_try_link "$LINENO"; then :
10304 ac_cv_crosscflags__Wpointer_arith=yes
10305 else
10306 ac_cv_crosscflags__Wpointer_arith=no
10308 rm -f core conftest.err conftest.$ac_objext \
10309 conftest$ac_exeext conftest.$ac_ext
10310 CFLAGS=$ac_wine_try_cflags_saved
10311 CC=$ac_wine_try_cflags_saved_cc
10312 ac_exeext=$ac_wine_try_cflags_saved_exeext
10314 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wpointer_arith" >&5
10315 $as_echo "$ac_cv_crosscflags__Wpointer_arith" >&6; }
10316 if test "x$ac_cv_crosscflags__Wpointer_arith" = xyes; then :
10317 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wpointer-arith"
10319 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wlogical-op" >&5
10320 $as_echo_n "checking whether the cross-compiler supports -Wlogical-op... " >&6; }
10321 if ${ac_cv_crosscflags__Wlogical_op+:} false; then :
10322 $as_echo_n "(cached) " >&6
10323 else
10324 ac_wine_try_cflags_saved=$CFLAGS
10325 ac_wine_try_cflags_saved_cc=$CC
10326 ac_wine_try_cflags_saved_exeext=$ac_exeext
10327 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wlogical-op"
10328 CC="$CROSSCC"
10329 ac_exeext=".exe"
10330 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10331 /* end confdefs.h. */
10332 int __cdecl mainCRTStartup(void) { return 0; }
10333 _ACEOF
10334 if ac_fn_c_try_link "$LINENO"; then :
10335 ac_cv_crosscflags__Wlogical_op=yes
10336 else
10337 ac_cv_crosscflags__Wlogical_op=no
10339 rm -f core conftest.err conftest.$ac_objext \
10340 conftest$ac_exeext conftest.$ac_ext
10341 CFLAGS=$ac_wine_try_cflags_saved
10342 CC=$ac_wine_try_cflags_saved_cc
10343 ac_exeext=$ac_wine_try_cflags_saved_exeext
10345 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wlogical_op" >&5
10346 $as_echo "$ac_cv_crosscflags__Wlogical_op" >&6; }
10347 if test "x$ac_cv_crosscflags__Wlogical_op" = xyes; then :
10348 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wlogical-op"
10350 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wabsolute-value" >&5
10351 $as_echo_n "checking whether the cross-compiler supports -Wabsolute-value... " >&6; }
10352 if ${ac_cv_crosscflags__Wabsolute_value+:} false; then :
10353 $as_echo_n "(cached) " >&6
10354 else
10355 ac_wine_try_cflags_saved=$CFLAGS
10356 ac_wine_try_cflags_saved_cc=$CC
10357 ac_wine_try_cflags_saved_exeext=$ac_exeext
10358 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wabsolute-value"
10359 CC="$CROSSCC"
10360 ac_exeext=".exe"
10361 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10362 /* end confdefs.h. */
10363 int __cdecl mainCRTStartup(void) { return 0; }
10364 _ACEOF
10365 if ac_fn_c_try_link "$LINENO"; then :
10366 ac_cv_crosscflags__Wabsolute_value=yes
10367 else
10368 ac_cv_crosscflags__Wabsolute_value=no
10370 rm -f core conftest.err conftest.$ac_objext \
10371 conftest$ac_exeext conftest.$ac_ext
10372 CFLAGS=$ac_wine_try_cflags_saved
10373 CC=$ac_wine_try_cflags_saved_cc
10374 ac_exeext=$ac_wine_try_cflags_saved_exeext
10376 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wabsolute_value" >&5
10377 $as_echo "$ac_cv_crosscflags__Wabsolute_value" >&6; }
10378 if test "x$ac_cv_crosscflags__Wabsolute_value" = xyes; then :
10379 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wabsolute-value"
10382 case $host_cpu in
10383 *i[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -fno-omit-frame-pointer" >&5
10384 $as_echo_n "checking whether the cross-compiler supports -fno-omit-frame-pointer... " >&6; }
10385 if ${ac_cv_crosscflags__fno_omit_frame_pointer+:} false; then :
10386 $as_echo_n "(cached) " >&6
10387 else
10388 ac_wine_try_cflags_saved=$CFLAGS
10389 ac_wine_try_cflags_saved_cc=$CC
10390 ac_wine_try_cflags_saved_exeext=$ac_exeext
10391 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -fno-omit-frame-pointer"
10392 CC="$CROSSCC"
10393 ac_exeext=".exe"
10394 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10395 /* end confdefs.h. */
10396 int __cdecl mainCRTStartup(void) { return 0; }
10397 _ACEOF
10398 if ac_fn_c_try_link "$LINENO"; then :
10399 ac_cv_crosscflags__fno_omit_frame_pointer=yes
10400 else
10401 ac_cv_crosscflags__fno_omit_frame_pointer=no
10403 rm -f core conftest.err conftest.$ac_objext \
10404 conftest$ac_exeext conftest.$ac_ext
10405 CFLAGS=$ac_wine_try_cflags_saved
10406 CC=$ac_wine_try_cflags_saved_cc
10407 ac_exeext=$ac_wine_try_cflags_saved_exeext
10409 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__fno_omit_frame_pointer" >&5
10410 $as_echo "$ac_cv_crosscflags__fno_omit_frame_pointer" >&6; }
10411 if test "x$ac_cv_crosscflags__fno_omit_frame_pointer" = xyes; then :
10412 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -fno-omit-frame-pointer"
10413 fi ;;
10414 x86_64) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wno-format" >&5
10415 $as_echo_n "checking whether the cross-compiler supports -Wno-format... " >&6; }
10416 if ${ac_cv_crosscflags__Wno_format+:} false; then :
10417 $as_echo_n "(cached) " >&6
10418 else
10419 ac_wine_try_cflags_saved=$CFLAGS
10420 ac_wine_try_cflags_saved_cc=$CC
10421 ac_wine_try_cflags_saved_exeext=$ac_exeext
10422 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wno-format"
10423 CC="$CROSSCC"
10424 ac_exeext=".exe"
10425 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10426 /* end confdefs.h. */
10427 int __cdecl mainCRTStartup(void) { return 0; }
10428 _ACEOF
10429 if ac_fn_c_try_link "$LINENO"; then :
10430 ac_cv_crosscflags__Wno_format=yes
10431 else
10432 ac_cv_crosscflags__Wno_format=no
10434 rm -f core conftest.err conftest.$ac_objext \
10435 conftest$ac_exeext conftest.$ac_ext
10436 CFLAGS=$ac_wine_try_cflags_saved
10437 CC=$ac_wine_try_cflags_saved_cc
10438 ac_exeext=$ac_wine_try_cflags_saved_exeext
10440 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wno_format" >&5
10441 $as_echo "$ac_cv_crosscflags__Wno_format" >&6; }
10442 if test "x$ac_cv_crosscflags__Wno_format" = xyes; then :
10443 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wno-format"
10445 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wformat-overflow" >&5
10446 $as_echo_n "checking whether the cross-compiler supports -Wformat-overflow... " >&6; }
10447 if ${ac_cv_crosscflags__Wformat_overflow+:} false; then :
10448 $as_echo_n "(cached) " >&6
10449 else
10450 ac_wine_try_cflags_saved=$CFLAGS
10451 ac_wine_try_cflags_saved_cc=$CC
10452 ac_wine_try_cflags_saved_exeext=$ac_exeext
10453 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wformat-overflow"
10454 CC="$CROSSCC"
10455 ac_exeext=".exe"
10456 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10457 /* end confdefs.h. */
10458 int __cdecl mainCRTStartup(void) { return 0; }
10459 _ACEOF
10460 if ac_fn_c_try_link "$LINENO"; then :
10461 ac_cv_crosscflags__Wformat_overflow=yes
10462 else
10463 ac_cv_crosscflags__Wformat_overflow=no
10465 rm -f core conftest.err conftest.$ac_objext \
10466 conftest$ac_exeext conftest.$ac_ext
10467 CFLAGS=$ac_wine_try_cflags_saved
10468 CC=$ac_wine_try_cflags_saved_cc
10469 ac_exeext=$ac_wine_try_cflags_saved_exeext
10471 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wformat_overflow" >&5
10472 $as_echo "$ac_cv_crosscflags__Wformat_overflow" >&6; }
10473 if test "x$ac_cv_crosscflags__Wformat_overflow" = xyes; then :
10474 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wformat-overflow"
10476 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wnonnull" >&5
10477 $as_echo_n "checking whether the cross-compiler supports -Wnonnull... " >&6; }
10478 if ${ac_cv_crosscflags__Wnonnull+:} false; then :
10479 $as_echo_n "(cached) " >&6
10480 else
10481 ac_wine_try_cflags_saved=$CFLAGS
10482 ac_wine_try_cflags_saved_cc=$CC
10483 ac_wine_try_cflags_saved_exeext=$ac_exeext
10484 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wnonnull"
10485 CC="$CROSSCC"
10486 ac_exeext=".exe"
10487 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10488 /* end confdefs.h. */
10489 int __cdecl mainCRTStartup(void) { return 0; }
10490 _ACEOF
10491 if ac_fn_c_try_link "$LINENO"; then :
10492 ac_cv_crosscflags__Wnonnull=yes
10493 else
10494 ac_cv_crosscflags__Wnonnull=no
10496 rm -f core conftest.err conftest.$ac_objext \
10497 conftest$ac_exeext conftest.$ac_ext
10498 CFLAGS=$ac_wine_try_cflags_saved
10499 CC=$ac_wine_try_cflags_saved_cc
10500 ac_exeext=$ac_wine_try_cflags_saved_exeext
10502 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wnonnull" >&5
10503 $as_echo "$ac_cv_crosscflags__Wnonnull" >&6; }
10504 if test "x$ac_cv_crosscflags__Wnonnull" = xyes; then :
10505 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wnonnull"
10507 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -mcx16" >&5
10508 $as_echo_n "checking whether the cross-compiler supports -mcx16... " >&6; }
10509 if ${ac_cv_crosscflags__mcx16+:} false; then :
10510 $as_echo_n "(cached) " >&6
10511 else
10512 ac_wine_try_cflags_saved=$CFLAGS
10513 ac_wine_try_cflags_saved_cc=$CC
10514 ac_wine_try_cflags_saved_exeext=$ac_exeext
10515 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -mcx16"
10516 CC="$CROSSCC"
10517 ac_exeext=".exe"
10518 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10519 /* end confdefs.h. */
10520 int __cdecl mainCRTStartup(void) { return 0; }
10521 _ACEOF
10522 if ac_fn_c_try_link "$LINENO"; then :
10523 ac_cv_crosscflags__mcx16=yes
10524 else
10525 ac_cv_crosscflags__mcx16=no
10527 rm -f core conftest.err conftest.$ac_objext \
10528 conftest$ac_exeext conftest.$ac_ext
10529 CFLAGS=$ac_wine_try_cflags_saved
10530 CC=$ac_wine_try_cflags_saved_cc
10531 ac_exeext=$ac_wine_try_cflags_saved_exeext
10533 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__mcx16" >&5
10534 $as_echo "$ac_cv_crosscflags__mcx16" >&6; }
10535 if test "x$ac_cv_crosscflags__mcx16" = xyes; then :
10536 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -mcx16"
10537 fi ;;
10538 aarch64) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wno-format" >&5
10539 $as_echo_n "checking whether the cross-compiler supports -Wno-format... " >&6; }
10540 if ${ac_cv_crosscflags__Wno_format+:} false; then :
10541 $as_echo_n "(cached) " >&6
10542 else
10543 ac_wine_try_cflags_saved=$CFLAGS
10544 ac_wine_try_cflags_saved_cc=$CC
10545 ac_wine_try_cflags_saved_exeext=$ac_exeext
10546 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wno-format"
10547 CC="$CROSSCC"
10548 ac_exeext=".exe"
10549 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10550 /* end confdefs.h. */
10551 int __cdecl mainCRTStartup(void) { return 0; }
10552 _ACEOF
10553 if ac_fn_c_try_link "$LINENO"; then :
10554 ac_cv_crosscflags__Wno_format=yes
10555 else
10556 ac_cv_crosscflags__Wno_format=no
10558 rm -f core conftest.err conftest.$ac_objext \
10559 conftest$ac_exeext conftest.$ac_ext
10560 CFLAGS=$ac_wine_try_cflags_saved
10561 CC=$ac_wine_try_cflags_saved_cc
10562 ac_exeext=$ac_wine_try_cflags_saved_exeext
10564 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wno_format" >&5
10565 $as_echo "$ac_cv_crosscflags__Wno_format" >&6; }
10566 if test "x$ac_cv_crosscflags__Wno_format" = xyes; then :
10567 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wno-format"
10568 fi ;;
10569 esac
10572 if test -z "$CROSSDEBUG"
10573 then
10574 for ac_flag in $CROSSCFLAGS; do
10575 case $ac_flag in
10576 -gdwarf*) CROSSDEBUG=dwarf ;;
10577 -gcodeview) CROSSDEBUG=pdb ;;
10578 -g) CROSSDEBUG=${CROSSDEBUG:-dwarf} ;;
10579 esac
10580 done
10582 case $CROSSDEBUG in
10583 *dwarf) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -gdwarf-2" >&5
10584 $as_echo_n "checking whether the cross-compiler supports -gdwarf-2... " >&6; }
10585 if ${ac_cv_crosscflags__gdwarf_2+:} false; then :
10586 $as_echo_n "(cached) " >&6
10587 else
10588 ac_wine_try_cflags_saved=$CFLAGS
10589 ac_wine_try_cflags_saved_cc=$CC
10590 ac_wine_try_cflags_saved_exeext=$ac_exeext
10591 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -gdwarf-2"
10592 CC="$CROSSCC"
10593 ac_exeext=".exe"
10594 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10595 /* end confdefs.h. */
10596 int __cdecl mainCRTStartup(void) { return 0; }
10597 _ACEOF
10598 if ac_fn_c_try_link "$LINENO"; then :
10599 ac_cv_crosscflags__gdwarf_2=yes
10600 else
10601 ac_cv_crosscflags__gdwarf_2=no
10603 rm -f core conftest.err conftest.$ac_objext \
10604 conftest$ac_exeext conftest.$ac_ext
10605 CFLAGS=$ac_wine_try_cflags_saved
10606 CC=$ac_wine_try_cflags_saved_cc
10607 ac_exeext=$ac_wine_try_cflags_saved_exeext
10609 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__gdwarf_2" >&5
10610 $as_echo "$ac_cv_crosscflags__gdwarf_2" >&6; }
10611 if test "x$ac_cv_crosscflags__gdwarf_2" = xyes; then :
10612 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -gdwarf-2"
10614 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -gstrict-dwarf" >&5
10615 $as_echo_n "checking whether the cross-compiler supports -gstrict-dwarf... " >&6; }
10616 if ${ac_cv_crosscflags__gstrict_dwarf+:} false; then :
10617 $as_echo_n "(cached) " >&6
10618 else
10619 ac_wine_try_cflags_saved=$CFLAGS
10620 ac_wine_try_cflags_saved_cc=$CC
10621 ac_wine_try_cflags_saved_exeext=$ac_exeext
10622 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -gstrict-dwarf"
10623 CC="$CROSSCC"
10624 ac_exeext=".exe"
10625 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10626 /* end confdefs.h. */
10627 int __cdecl mainCRTStartup(void) { return 0; }
10628 _ACEOF
10629 if ac_fn_c_try_link "$LINENO"; then :
10630 ac_cv_crosscflags__gstrict_dwarf=yes
10631 else
10632 ac_cv_crosscflags__gstrict_dwarf=no
10634 rm -f core conftest.err conftest.$ac_objext \
10635 conftest$ac_exeext conftest.$ac_ext
10636 CFLAGS=$ac_wine_try_cflags_saved
10637 CC=$ac_wine_try_cflags_saved_cc
10638 ac_exeext=$ac_wine_try_cflags_saved_exeext
10640 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__gstrict_dwarf" >&5
10641 $as_echo "$ac_cv_crosscflags__gstrict_dwarf" >&6; }
10642 if test "x$ac_cv_crosscflags__gstrict_dwarf" = xyes; then :
10643 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -gstrict-dwarf"
10644 fi ;;
10645 pdb) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -gcodeview" >&5
10646 $as_echo_n "checking whether the cross-compiler supports -gcodeview... " >&6; }
10647 if ${ac_cv_crosscflags__gcodeview+:} false; then :
10648 $as_echo_n "(cached) " >&6
10649 else
10650 ac_wine_try_cflags_saved=$CFLAGS
10651 ac_wine_try_cflags_saved_cc=$CC
10652 ac_wine_try_cflags_saved_exeext=$ac_exeext
10653 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -gcodeview"
10654 CC="$CROSSCC"
10655 ac_exeext=".exe"
10656 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10657 /* end confdefs.h. */
10658 int __cdecl mainCRTStartup(void) { return 0; }
10659 _ACEOF
10660 if ac_fn_c_try_link "$LINENO"; then :
10661 ac_cv_crosscflags__gcodeview=yes
10662 else
10663 ac_cv_crosscflags__gcodeview=no
10665 rm -f core conftest.err conftest.$ac_objext \
10666 conftest$ac_exeext conftest.$ac_ext
10667 CFLAGS=$ac_wine_try_cflags_saved
10668 CC=$ac_wine_try_cflags_saved_cc
10669 ac_exeext=$ac_wine_try_cflags_saved_exeext
10671 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__gcodeview" >&5
10672 $as_echo "$ac_cv_crosscflags__gcodeview" >&6; }
10673 if test "x$ac_cv_crosscflags__gcodeview" = xyes; then :
10674 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -gcodeview"
10675 fi ;;
10676 esac
10678 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -fexcess-precision=standard" >&5
10679 $as_echo_n "checking whether the cross-compiler supports -fexcess-precision=standard... " >&6; }
10680 if ${ac_cv_crosscflags__fexcess_precision_standard+:} false; then :
10681 $as_echo_n "(cached) " >&6
10682 else
10683 ac_wine_try_cflags_saved=$CFLAGS
10684 ac_wine_try_cflags_saved_cc=$CC
10685 ac_wine_try_cflags_saved_exeext=$ac_exeext
10686 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -fexcess-precision=standard"
10687 CC="$CROSSCC"
10688 ac_exeext=".exe"
10689 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10690 /* end confdefs.h. */
10691 int __cdecl mainCRTStartup(void) { return 0; }
10692 _ACEOF
10693 if ac_fn_c_try_link "$LINENO"; then :
10694 ac_cv_crosscflags__fexcess_precision_standard=yes
10695 else
10696 ac_cv_crosscflags__fexcess_precision_standard=no
10698 rm -f core conftest.err conftest.$ac_objext \
10699 conftest$ac_exeext conftest.$ac_ext
10700 CFLAGS=$ac_wine_try_cflags_saved
10701 CC=$ac_wine_try_cflags_saved_cc
10702 ac_exeext=$ac_wine_try_cflags_saved_exeext
10704 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__fexcess_precision_standard" >&5
10705 $as_echo "$ac_cv_crosscflags__fexcess_precision_standard" >&6; }
10706 if test "x$ac_cv_crosscflags__fexcess_precision_standard" = xyes; then :
10707 EXCESS_PRECISION_CFLAGS="-fexcess-precision=standard"
10711 if test "x$enable_werror" = "xyes"
10712 then
10713 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Werror" >&5
10714 $as_echo_n "checking whether the cross-compiler supports -Werror... " >&6; }
10715 if ${ac_cv_crosscflags__Werror+:} false; then :
10716 $as_echo_n "(cached) " >&6
10717 else
10718 ac_wine_try_cflags_saved=$CFLAGS
10719 ac_wine_try_cflags_saved_cc=$CC
10720 ac_wine_try_cflags_saved_exeext=$ac_exeext
10721 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Werror"
10722 CC="$CROSSCC"
10723 ac_exeext=".exe"
10724 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10725 /* end confdefs.h. */
10726 int __cdecl mainCRTStartup(void) { return 0; }
10727 _ACEOF
10728 if ac_fn_c_try_link "$LINENO"; then :
10729 ac_cv_crosscflags__Werror=yes
10730 else
10731 ac_cv_crosscflags__Werror=no
10733 rm -f core conftest.err conftest.$ac_objext \
10734 conftest$ac_exeext conftest.$ac_ext
10735 CFLAGS=$ac_wine_try_cflags_saved
10736 CC=$ac_wine_try_cflags_saved_cc
10737 ac_exeext=$ac_wine_try_cflags_saved_exeext
10739 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Werror" >&5
10740 $as_echo "$ac_cv_crosscflags__Werror" >&6; }
10741 if test "x$ac_cv_crosscflags__Werror" = xyes; then :
10742 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Werror"
10745 if test "x$enable_build_id" = "xyes"
10746 then
10747 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wl,--build-id" >&5
10748 $as_echo_n "checking whether the cross-compiler supports -Wl,--build-id... " >&6; }
10749 if ${ac_cv_crosscflags__Wl___build_id+:} false; then :
10750 $as_echo_n "(cached) " >&6
10751 else
10752 ac_wine_try_cflags_saved=$CFLAGS
10753 ac_wine_try_cflags_saved_cc=$CC
10754 ac_wine_try_cflags_saved_exeext=$ac_exeext
10755 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wl,--build-id"
10756 CC="$CROSSCC"
10757 ac_exeext=".exe"
10758 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10759 /* end confdefs.h. */
10760 int __cdecl mainCRTStartup(void) { return 0; }
10761 _ACEOF
10762 if ac_fn_c_try_link "$LINENO"; then :
10763 ac_cv_crosscflags__Wl___build_id=yes
10764 else
10765 ac_cv_crosscflags__Wl___build_id=no
10767 rm -f core conftest.err conftest.$ac_objext \
10768 conftest$ac_exeext conftest.$ac_ext
10769 CFLAGS=$ac_wine_try_cflags_saved
10770 CC=$ac_wine_try_cflags_saved_cc
10771 ac_exeext=$ac_wine_try_cflags_saved_exeext
10773 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wl___build_id" >&5
10774 $as_echo "$ac_cv_crosscflags__Wl___build_id" >&6; }
10775 if test "x$ac_cv_crosscflags__Wl___build_id" = xyes; then :
10776 CROSSCFLAGS="$CROSSCFLAGS -Wl,--build-id"
10777 CROSSLDFLAGS="$CROSSLDFLAGS -Wl,--build-id"
10781 CFLAGS=$saved_CFLAGS
10782 CC="$ac_save_CC"
10785 if test "x$CROSSTARGET" = "x"; then :
10786 case "x$with_mingw" in
10787 x) as_fn_append wine_notices "|MinGW compiler not found, cross-compiling PE files won't be supported." ;;
10788 xno) ;;
10789 *) as_fn_error $? "MinGW compiler not found, cross-compiling PE files won't be supported.
10790 This is an error since --with-mingw was requested." "$LINENO" 5 ;;
10791 esac
10796 if test "$ac_cv_header_pthread_h" = "yes"
10797 then
10798 ac_fn_c_check_func "$LINENO" "pthread_create" "ac_cv_func_pthread_create"
10799 if test "x$ac_cv_func_pthread_create" = xyes; then :
10801 else
10802 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_create in -lpthread" >&5
10803 $as_echo_n "checking for pthread_create in -lpthread... " >&6; }
10804 if ${ac_cv_lib_pthread_pthread_create+:} false; then :
10805 $as_echo_n "(cached) " >&6
10806 else
10807 ac_check_lib_save_LIBS=$LIBS
10808 LIBS="-lpthread $LIBS"
10809 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10810 /* end confdefs.h. */
10812 /* Override any GCC internal prototype to avoid an error.
10813 Use char because int might match the return type of a GCC
10814 builtin and then its argument prototype would still apply. */
10815 #ifdef __cplusplus
10816 extern "C"
10817 #endif
10818 char pthread_create ();
10820 main ()
10822 return pthread_create ();
10824 return 0;
10826 _ACEOF
10827 if ac_fn_c_try_link "$LINENO"; then :
10828 ac_cv_lib_pthread_pthread_create=yes
10829 else
10830 ac_cv_lib_pthread_pthread_create=no
10832 rm -f core conftest.err conftest.$ac_objext \
10833 conftest$ac_exeext conftest.$ac_ext
10834 LIBS=$ac_check_lib_save_LIBS
10836 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_create" >&5
10837 $as_echo "$ac_cv_lib_pthread_pthread_create" >&6; }
10838 if test "x$ac_cv_lib_pthread_pthread_create" = xyes; then :
10839 PTHREAD_LIBS="-lpthread"
10846 if test "x$ac_cv_func_pthread_create" != xyes -a "x$PTHREAD_LIBS" = x; then :
10847 case "x$with_pthread" in
10848 xno) ;;
10849 *) as_fn_error $? "pthread ${notice_platform}development files not found.
10850 Wine cannot support threads without libpthread.
10851 Use the --without-pthread option if you really want this." "$LINENO" 5 ;;
10852 esac
10857 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for X" >&5
10858 $as_echo_n "checking for X... " >&6; }
10861 # Check whether --with-x was given.
10862 if test "${with_x+set}" = set; then :
10863 withval=$with_x;
10866 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
10867 if test "x$with_x" = xno; then
10868 # The user explicitly disabled X.
10869 have_x=disabled
10870 else
10871 case $x_includes,$x_libraries in #(
10872 *\'*) as_fn_error $? "cannot use X directory names containing '" "$LINENO" 5;; #(
10873 *,NONE | NONE,*) if ${ac_cv_have_x+:} false; then :
10874 $as_echo_n "(cached) " >&6
10875 else
10876 # One or both of the vars are not set, and there is no cached value.
10877 ac_x_includes=no ac_x_libraries=no
10878 rm -f -r conftest.dir
10879 if mkdir conftest.dir; then
10880 cd conftest.dir
10881 cat >Imakefile <<'_ACEOF'
10882 incroot:
10883 @echo incroot='${INCROOT}'
10884 usrlibdir:
10885 @echo usrlibdir='${USRLIBDIR}'
10886 libdir:
10887 @echo libdir='${LIBDIR}'
10888 _ACEOF
10889 if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
10890 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
10891 for ac_var in incroot usrlibdir libdir; do
10892 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
10893 done
10894 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
10895 for ac_extension in a so sl dylib la dll; do
10896 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
10897 test -f "$ac_im_libdir/libX11.$ac_extension"; then
10898 ac_im_usrlibdir=$ac_im_libdir; break
10900 done
10901 # Screen out bogus values from the imake configuration. They are
10902 # bogus both because they are the default anyway, and because
10903 # using them would break gcc on systems where it needs fixed includes.
10904 case $ac_im_incroot in
10905 /usr/include) ac_x_includes= ;;
10906 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
10907 esac
10908 case $ac_im_usrlibdir in
10909 /usr/lib | /usr/lib64 | /lib | /lib64) ;;
10910 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
10911 esac
10913 cd ..
10914 rm -f -r conftest.dir
10917 # Standard set of common directories for X headers.
10918 # Check X11 before X11Rn because it is often a symlink to the current release.
10919 ac_x_header_dirs='
10920 /usr/X11/include
10921 /usr/X11R7/include
10922 /usr/X11R6/include
10923 /usr/X11R5/include
10924 /usr/X11R4/include
10926 /usr/include/X11
10927 /usr/include/X11R7
10928 /usr/include/X11R6
10929 /usr/include/X11R5
10930 /usr/include/X11R4
10932 /usr/local/X11/include
10933 /usr/local/X11R7/include
10934 /usr/local/X11R6/include
10935 /usr/local/X11R5/include
10936 /usr/local/X11R4/include
10938 /usr/local/include/X11
10939 /usr/local/include/X11R7
10940 /usr/local/include/X11R6
10941 /usr/local/include/X11R5
10942 /usr/local/include/X11R4
10944 /usr/X386/include
10945 /usr/x386/include
10946 /usr/XFree86/include/X11
10948 /usr/include
10949 /usr/local/include
10950 /usr/unsupported/include
10951 /usr/athena/include
10952 /usr/local/x11r5/include
10953 /usr/lpp/Xamples/include
10955 /usr/openwin/include
10956 /usr/openwin/share/include'
10958 if test "$ac_x_includes" = no; then
10959 # Guess where to find include files, by looking for Xlib.h.
10960 # First, try using that file with no special directory specified.
10961 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10962 /* end confdefs.h. */
10963 #include <X11/Xlib.h>
10964 _ACEOF
10965 if ac_fn_c_try_cpp "$LINENO"; then :
10966 # We can compile using X headers with no special include directory.
10967 ac_x_includes=
10968 else
10969 for ac_dir in $ac_x_header_dirs; do
10970 if test -r "$ac_dir/X11/Xlib.h"; then
10971 ac_x_includes=$ac_dir
10972 break
10974 done
10976 rm -f conftest.err conftest.i conftest.$ac_ext
10977 fi # $ac_x_includes = no
10979 if test "$ac_x_libraries" = no; then
10980 # Check for the libraries.
10981 # See if we find them without any special options.
10982 # Don't add to $LIBS permanently.
10983 ac_save_LIBS=$LIBS
10984 LIBS="-lX11 $LIBS"
10985 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10986 /* end confdefs.h. */
10987 #include <X11/Xlib.h>
10989 main ()
10991 XrmInitialize ()
10993 return 0;
10995 _ACEOF
10996 if ac_fn_c_try_link "$LINENO"; then :
10997 LIBS=$ac_save_LIBS
10998 # We can link X programs with no special library path.
10999 ac_x_libraries=
11000 else
11001 LIBS=$ac_save_LIBS
11002 for ac_dir in `$as_echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
11004 # Don't even attempt the hair of trying to link an X program!
11005 for ac_extension in a so sl dylib la dll; do
11006 if test -r "$ac_dir/libX11.$ac_extension"; then
11007 ac_x_libraries=$ac_dir
11008 break 2
11010 done
11011 done
11013 rm -f core conftest.err conftest.$ac_objext \
11014 conftest$ac_exeext conftest.$ac_ext
11015 fi # $ac_x_libraries = no
11017 case $ac_x_includes,$ac_x_libraries in #(
11018 no,* | *,no | *\'*)
11019 # Didn't find X, or a directory has "'" in its name.
11020 ac_cv_have_x="have_x=no";; #(
11022 # Record where we found X for the cache.
11023 ac_cv_have_x="have_x=yes\
11024 ac_x_includes='$ac_x_includes'\
11025 ac_x_libraries='$ac_x_libraries'"
11026 esac
11028 ;; #(
11029 *) have_x=yes;;
11030 esac
11031 eval "$ac_cv_have_x"
11032 fi # $with_x != no
11034 if test "$have_x" != yes; then
11035 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_x" >&5
11036 $as_echo "$have_x" >&6; }
11037 no_x=yes
11038 else
11039 # If each of the values was on the command line, it overrides each guess.
11040 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
11041 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
11042 # Update the cache value to reflect the command line values.
11043 ac_cv_have_x="have_x=yes\
11044 ac_x_includes='$x_includes'\
11045 ac_x_libraries='$x_libraries'"
11046 { $as_echo "$as_me:${as_lineno-$LINENO}: result: libraries $x_libraries, headers $x_includes" >&5
11047 $as_echo "libraries $x_libraries, headers $x_includes" >&6; }
11050 if test "$no_x" = yes; then
11051 # Not all programs may use this symbol, but it does not hurt to define it.
11053 $as_echo "#define X_DISPLAY_MISSING 1" >>confdefs.h
11055 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
11056 else
11057 if test -n "$x_includes"; then
11058 X_CFLAGS="$X_CFLAGS -I$x_includes"
11061 # It would also be nice to do this for all -L options, not just this one.
11062 if test -n "$x_libraries"; then
11063 X_LIBS="$X_LIBS -L$x_libraries"
11064 # For Solaris; some versions of Sun CC require a space after -R and
11065 # others require no space. Words are not sufficient . . . .
11066 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -R must be followed by a space" >&5
11067 $as_echo_n "checking whether -R must be followed by a space... " >&6; }
11068 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
11069 ac_xsave_c_werror_flag=$ac_c_werror_flag
11070 ac_c_werror_flag=yes
11071 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11072 /* end confdefs.h. */
11075 main ()
11079 return 0;
11081 _ACEOF
11082 if ac_fn_c_try_link "$LINENO"; then :
11083 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11084 $as_echo "no" >&6; }
11085 X_LIBS="$X_LIBS -R$x_libraries"
11086 else
11087 LIBS="$ac_xsave_LIBS -R $x_libraries"
11088 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11089 /* end confdefs.h. */
11092 main ()
11096 return 0;
11098 _ACEOF
11099 if ac_fn_c_try_link "$LINENO"; then :
11100 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11101 $as_echo "yes" >&6; }
11102 X_LIBS="$X_LIBS -R $x_libraries"
11103 else
11104 { $as_echo "$as_me:${as_lineno-$LINENO}: result: neither works" >&5
11105 $as_echo "neither works" >&6; }
11107 rm -f core conftest.err conftest.$ac_objext \
11108 conftest$ac_exeext conftest.$ac_ext
11110 rm -f core conftest.err conftest.$ac_objext \
11111 conftest$ac_exeext conftest.$ac_ext
11112 ac_c_werror_flag=$ac_xsave_c_werror_flag
11113 LIBS=$ac_xsave_LIBS
11116 # Check for system-dependent libraries X programs must link with.
11117 # Do this before checking for the system-independent R6 libraries
11118 # (-lICE), since we may need -lsocket or whatever for X linking.
11120 if test "$ISC" = yes; then
11121 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
11122 else
11123 # Martyn Johnson says this is needed for Ultrix, if the X
11124 # libraries were built with DECnet support. And Karl Berry says
11125 # the Alpha needs dnet_stub (dnet does not exist).
11126 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
11127 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11128 /* end confdefs.h. */
11130 /* Override any GCC internal prototype to avoid an error.
11131 Use char because int might match the return type of a GCC
11132 builtin and then its argument prototype would still apply. */
11133 #ifdef __cplusplus
11134 extern "C"
11135 #endif
11136 char XOpenDisplay ();
11138 main ()
11140 return XOpenDisplay ();
11142 return 0;
11144 _ACEOF
11145 if ac_fn_c_try_link "$LINENO"; then :
11147 else
11148 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet" >&5
11149 $as_echo_n "checking for dnet_ntoa in -ldnet... " >&6; }
11150 if ${ac_cv_lib_dnet_dnet_ntoa+:} false; then :
11151 $as_echo_n "(cached) " >&6
11152 else
11153 ac_check_lib_save_LIBS=$LIBS
11154 LIBS="-ldnet $LIBS"
11155 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11156 /* end confdefs.h. */
11158 /* Override any GCC internal prototype to avoid an error.
11159 Use char because int might match the return type of a GCC
11160 builtin and then its argument prototype would still apply. */
11161 #ifdef __cplusplus
11162 extern "C"
11163 #endif
11164 char dnet_ntoa ();
11166 main ()
11168 return dnet_ntoa ();
11170 return 0;
11172 _ACEOF
11173 if ac_fn_c_try_link "$LINENO"; then :
11174 ac_cv_lib_dnet_dnet_ntoa=yes
11175 else
11176 ac_cv_lib_dnet_dnet_ntoa=no
11178 rm -f core conftest.err conftest.$ac_objext \
11179 conftest$ac_exeext conftest.$ac_ext
11180 LIBS=$ac_check_lib_save_LIBS
11182 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
11183 $as_echo "$ac_cv_lib_dnet_dnet_ntoa" >&6; }
11184 if test "x$ac_cv_lib_dnet_dnet_ntoa" = xyes; then :
11185 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
11188 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
11189 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet_stub" >&5
11190 $as_echo_n "checking for dnet_ntoa in -ldnet_stub... " >&6; }
11191 if ${ac_cv_lib_dnet_stub_dnet_ntoa+:} false; then :
11192 $as_echo_n "(cached) " >&6
11193 else
11194 ac_check_lib_save_LIBS=$LIBS
11195 LIBS="-ldnet_stub $LIBS"
11196 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11197 /* end confdefs.h. */
11199 /* Override any GCC internal prototype to avoid an error.
11200 Use char because int might match the return type of a GCC
11201 builtin and then its argument prototype would still apply. */
11202 #ifdef __cplusplus
11203 extern "C"
11204 #endif
11205 char dnet_ntoa ();
11207 main ()
11209 return dnet_ntoa ();
11211 return 0;
11213 _ACEOF
11214 if ac_fn_c_try_link "$LINENO"; then :
11215 ac_cv_lib_dnet_stub_dnet_ntoa=yes
11216 else
11217 ac_cv_lib_dnet_stub_dnet_ntoa=no
11219 rm -f core conftest.err conftest.$ac_objext \
11220 conftest$ac_exeext conftest.$ac_ext
11221 LIBS=$ac_check_lib_save_LIBS
11223 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
11224 $as_echo "$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
11225 if test "x$ac_cv_lib_dnet_stub_dnet_ntoa" = xyes; then :
11226 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
11231 rm -f core conftest.err conftest.$ac_objext \
11232 conftest$ac_exeext conftest.$ac_ext
11233 LIBS="$ac_xsave_LIBS"
11235 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
11236 # to get the SysV transport functions.
11237 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
11238 # needs -lnsl.
11239 # The nsl library prevents programs from opening the X display
11240 # on Irix 5.2, according to T.E. Dickey.
11241 # The functions gethostbyname, getservbyname, and inet_addr are
11242 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
11243 ac_fn_c_check_func "$LINENO" "gethostbyname" "ac_cv_func_gethostbyname"
11244 if test "x$ac_cv_func_gethostbyname" = xyes; then :
11248 if test $ac_cv_func_gethostbyname = no; then
11249 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnsl" >&5
11250 $as_echo_n "checking for gethostbyname in -lnsl... " >&6; }
11251 if ${ac_cv_lib_nsl_gethostbyname+:} false; then :
11252 $as_echo_n "(cached) " >&6
11253 else
11254 ac_check_lib_save_LIBS=$LIBS
11255 LIBS="-lnsl $LIBS"
11256 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11257 /* end confdefs.h. */
11259 /* Override any GCC internal prototype to avoid an error.
11260 Use char because int might match the return type of a GCC
11261 builtin and then its argument prototype would still apply. */
11262 #ifdef __cplusplus
11263 extern "C"
11264 #endif
11265 char gethostbyname ();
11267 main ()
11269 return gethostbyname ();
11271 return 0;
11273 _ACEOF
11274 if ac_fn_c_try_link "$LINENO"; then :
11275 ac_cv_lib_nsl_gethostbyname=yes
11276 else
11277 ac_cv_lib_nsl_gethostbyname=no
11279 rm -f core conftest.err conftest.$ac_objext \
11280 conftest$ac_exeext conftest.$ac_ext
11281 LIBS=$ac_check_lib_save_LIBS
11283 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_gethostbyname" >&5
11284 $as_echo "$ac_cv_lib_nsl_gethostbyname" >&6; }
11285 if test "x$ac_cv_lib_nsl_gethostbyname" = xyes; then :
11286 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
11289 if test $ac_cv_lib_nsl_gethostbyname = no; then
11290 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lbsd" >&5
11291 $as_echo_n "checking for gethostbyname in -lbsd... " >&6; }
11292 if ${ac_cv_lib_bsd_gethostbyname+:} false; then :
11293 $as_echo_n "(cached) " >&6
11294 else
11295 ac_check_lib_save_LIBS=$LIBS
11296 LIBS="-lbsd $LIBS"
11297 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11298 /* end confdefs.h. */
11300 /* Override any GCC internal prototype to avoid an error.
11301 Use char because int might match the return type of a GCC
11302 builtin and then its argument prototype would still apply. */
11303 #ifdef __cplusplus
11304 extern "C"
11305 #endif
11306 char gethostbyname ();
11308 main ()
11310 return gethostbyname ();
11312 return 0;
11314 _ACEOF
11315 if ac_fn_c_try_link "$LINENO"; then :
11316 ac_cv_lib_bsd_gethostbyname=yes
11317 else
11318 ac_cv_lib_bsd_gethostbyname=no
11320 rm -f core conftest.err conftest.$ac_objext \
11321 conftest$ac_exeext conftest.$ac_ext
11322 LIBS=$ac_check_lib_save_LIBS
11324 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bsd_gethostbyname" >&5
11325 $as_echo "$ac_cv_lib_bsd_gethostbyname" >&6; }
11326 if test "x$ac_cv_lib_bsd_gethostbyname" = xyes; then :
11327 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
11333 # lieder@skyler.mavd.honeywell.com says without -lsocket,
11334 # socket/setsockopt and other routines are undefined under SCO ODT
11335 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
11336 # on later versions), says Simon Leinen: it contains gethostby*
11337 # variants that don't use the name server (or something). -lsocket
11338 # must be given before -lnsl if both are needed. We assume that
11339 # if connect needs -lnsl, so does gethostbyname.
11340 ac_fn_c_check_func "$LINENO" "connect" "ac_cv_func_connect"
11341 if test "x$ac_cv_func_connect" = xyes; then :
11345 if test $ac_cv_func_connect = no; then
11346 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for connect in -lsocket" >&5
11347 $as_echo_n "checking for connect in -lsocket... " >&6; }
11348 if ${ac_cv_lib_socket_connect+:} false; then :
11349 $as_echo_n "(cached) " >&6
11350 else
11351 ac_check_lib_save_LIBS=$LIBS
11352 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
11353 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11354 /* end confdefs.h. */
11356 /* Override any GCC internal prototype to avoid an error.
11357 Use char because int might match the return type of a GCC
11358 builtin and then its argument prototype would still apply. */
11359 #ifdef __cplusplus
11360 extern "C"
11361 #endif
11362 char connect ();
11364 main ()
11366 return connect ();
11368 return 0;
11370 _ACEOF
11371 if ac_fn_c_try_link "$LINENO"; then :
11372 ac_cv_lib_socket_connect=yes
11373 else
11374 ac_cv_lib_socket_connect=no
11376 rm -f core conftest.err conftest.$ac_objext \
11377 conftest$ac_exeext conftest.$ac_ext
11378 LIBS=$ac_check_lib_save_LIBS
11380 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_connect" >&5
11381 $as_echo "$ac_cv_lib_socket_connect" >&6; }
11382 if test "x$ac_cv_lib_socket_connect" = xyes; then :
11383 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
11388 # Guillermo Gomez says -lposix is necessary on A/UX.
11389 ac_fn_c_check_func "$LINENO" "remove" "ac_cv_func_remove"
11390 if test "x$ac_cv_func_remove" = xyes; then :
11394 if test $ac_cv_func_remove = no; then
11395 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for remove in -lposix" >&5
11396 $as_echo_n "checking for remove in -lposix... " >&6; }
11397 if ${ac_cv_lib_posix_remove+:} false; then :
11398 $as_echo_n "(cached) " >&6
11399 else
11400 ac_check_lib_save_LIBS=$LIBS
11401 LIBS="-lposix $LIBS"
11402 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11403 /* end confdefs.h. */
11405 /* Override any GCC internal prototype to avoid an error.
11406 Use char because int might match the return type of a GCC
11407 builtin and then its argument prototype would still apply. */
11408 #ifdef __cplusplus
11409 extern "C"
11410 #endif
11411 char remove ();
11413 main ()
11415 return remove ();
11417 return 0;
11419 _ACEOF
11420 if ac_fn_c_try_link "$LINENO"; then :
11421 ac_cv_lib_posix_remove=yes
11422 else
11423 ac_cv_lib_posix_remove=no
11425 rm -f core conftest.err conftest.$ac_objext \
11426 conftest$ac_exeext conftest.$ac_ext
11427 LIBS=$ac_check_lib_save_LIBS
11429 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix_remove" >&5
11430 $as_echo "$ac_cv_lib_posix_remove" >&6; }
11431 if test "x$ac_cv_lib_posix_remove" = xyes; then :
11432 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
11437 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
11438 ac_fn_c_check_func "$LINENO" "shmat" "ac_cv_func_shmat"
11439 if test "x$ac_cv_func_shmat" = xyes; then :
11443 if test $ac_cv_func_shmat = no; then
11444 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shmat in -lipc" >&5
11445 $as_echo_n "checking for shmat in -lipc... " >&6; }
11446 if ${ac_cv_lib_ipc_shmat+:} false; then :
11447 $as_echo_n "(cached) " >&6
11448 else
11449 ac_check_lib_save_LIBS=$LIBS
11450 LIBS="-lipc $LIBS"
11451 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11452 /* end confdefs.h. */
11454 /* Override any GCC internal prototype to avoid an error.
11455 Use char because int might match the return type of a GCC
11456 builtin and then its argument prototype would still apply. */
11457 #ifdef __cplusplus
11458 extern "C"
11459 #endif
11460 char shmat ();
11462 main ()
11464 return shmat ();
11466 return 0;
11468 _ACEOF
11469 if ac_fn_c_try_link "$LINENO"; then :
11470 ac_cv_lib_ipc_shmat=yes
11471 else
11472 ac_cv_lib_ipc_shmat=no
11474 rm -f core conftest.err conftest.$ac_objext \
11475 conftest$ac_exeext conftest.$ac_ext
11476 LIBS=$ac_check_lib_save_LIBS
11478 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ipc_shmat" >&5
11479 $as_echo "$ac_cv_lib_ipc_shmat" >&6; }
11480 if test "x$ac_cv_lib_ipc_shmat" = xyes; then :
11481 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
11487 # Check for libraries that X11R6 Xt/Xaw programs need.
11488 ac_save_LDFLAGS=$LDFLAGS
11489 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
11490 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
11491 # check for ICE first), but we must link in the order -lSM -lICE or
11492 # we get undefined symbols. So assume we have SM if we have ICE.
11493 # These have to be linked with before -lX11, unlike the other
11494 # libraries we check for below, so use a different variable.
11495 # John Interrante, Karl Berry
11496 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for IceConnectionNumber in -lICE" >&5
11497 $as_echo_n "checking for IceConnectionNumber in -lICE... " >&6; }
11498 if ${ac_cv_lib_ICE_IceConnectionNumber+:} false; then :
11499 $as_echo_n "(cached) " >&6
11500 else
11501 ac_check_lib_save_LIBS=$LIBS
11502 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
11503 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11504 /* end confdefs.h. */
11506 /* Override any GCC internal prototype to avoid an error.
11507 Use char because int might match the return type of a GCC
11508 builtin and then its argument prototype would still apply. */
11509 #ifdef __cplusplus
11510 extern "C"
11511 #endif
11512 char IceConnectionNumber ();
11514 main ()
11516 return IceConnectionNumber ();
11518 return 0;
11520 _ACEOF
11521 if ac_fn_c_try_link "$LINENO"; then :
11522 ac_cv_lib_ICE_IceConnectionNumber=yes
11523 else
11524 ac_cv_lib_ICE_IceConnectionNumber=no
11526 rm -f core conftest.err conftest.$ac_objext \
11527 conftest$ac_exeext conftest.$ac_ext
11528 LIBS=$ac_check_lib_save_LIBS
11530 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
11531 $as_echo "$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
11532 if test "x$ac_cv_lib_ICE_IceConnectionNumber" = xyes; then :
11533 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
11536 LDFLAGS=$ac_save_LDFLAGS
11541 if test "$have_x" = "yes"
11542 then
11543 ac_save_CPPFLAGS="$CPPFLAGS"
11544 CPPFLAGS="$CPPFLAGS $X_CFLAGS"
11546 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lX11" >&5
11547 $as_echo_n "checking for -lX11... " >&6; }
11548 if ${ac_cv_lib_soname_X11+:} false; then :
11549 $as_echo_n "(cached) " >&6
11550 else
11551 ac_check_soname_save_LIBS=$LIBS
11552 LIBS="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
11553 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11554 /* end confdefs.h. */
11556 /* Override any GCC internal prototype to avoid an error.
11557 Use char because int might match the return type of a GCC
11558 builtin and then its argument prototype would still apply. */
11559 #ifdef __cplusplus
11560 extern "C"
11561 #endif
11562 char XCreateWindow ();
11564 main ()
11566 return XCreateWindow ();
11568 return 0;
11570 _ACEOF
11571 if ac_fn_c_try_link "$LINENO"; then :
11572 case "$LIBEXT" in
11573 dll) ac_cv_lib_soname_X11=`$ac_cv_path_LDD conftest.exe | grep "X11" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11574 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'` ;;
11575 *) ac_cv_lib_soname_X11=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libX11\\.$LIBEXT" | sed -e "s/^.*\\[\\(libX11\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11576 if ${ac_cv_lib_soname_X11:+false} :; then :
11577 ac_cv_lib_soname_X11=`$LDD conftest$ac_exeext | grep "libX11\\.$LIBEXT" | sed -e "s/^.*\(libX11\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11578 fi ;;
11579 esac
11580 else
11581 ac_cv_lib_soname_X11=
11583 rm -f core conftest.err conftest.$ac_objext \
11584 conftest$ac_exeext conftest.$ac_ext
11585 LIBS=$ac_check_soname_save_LIBS
11587 if ${ac_cv_lib_soname_X11:+false} :; then :
11588 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11589 $as_echo "not found" >&6; }
11591 else
11592 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_X11" >&5
11593 $as_echo "$ac_cv_lib_soname_X11" >&6; }
11595 cat >>confdefs.h <<_ACEOF
11596 #define SONAME_LIBX11 "$ac_cv_lib_soname_X11"
11597 _ACEOF
11601 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXext" >&5
11602 $as_echo_n "checking for -lXext... " >&6; }
11603 if ${ac_cv_lib_soname_Xext+:} false; then :
11604 $as_echo_n "(cached) " >&6
11605 else
11606 ac_check_soname_save_LIBS=$LIBS
11607 LIBS="-lXext $X_LIBS -lX11 $X_EXTRA_LIBS $LIBS"
11608 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11609 /* end confdefs.h. */
11611 /* Override any GCC internal prototype to avoid an error.
11612 Use char because int might match the return type of a GCC
11613 builtin and then its argument prototype would still apply. */
11614 #ifdef __cplusplus
11615 extern "C"
11616 #endif
11617 char XextCreateExtension ();
11619 main ()
11621 return XextCreateExtension ();
11623 return 0;
11625 _ACEOF
11626 if ac_fn_c_try_link "$LINENO"; then :
11627 case "$LIBEXT" in
11628 dll) ac_cv_lib_soname_Xext=`$ac_cv_path_LDD conftest.exe | grep "Xext" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11629 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'` ;;
11630 *) ac_cv_lib_soname_Xext=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXext\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXext\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11631 if ${ac_cv_lib_soname_Xext:+false} :; then :
11632 ac_cv_lib_soname_Xext=`$LDD conftest$ac_exeext | grep "libXext\\.$LIBEXT" | sed -e "s/^.*\(libXext\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11633 fi ;;
11634 esac
11635 else
11636 ac_cv_lib_soname_Xext=
11638 rm -f core conftest.err conftest.$ac_objext \
11639 conftest$ac_exeext conftest.$ac_ext
11640 LIBS=$ac_check_soname_save_LIBS
11642 if ${ac_cv_lib_soname_Xext:+false} :; then :
11643 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11644 $as_echo "not found" >&6; }
11646 else
11647 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xext" >&5
11648 $as_echo "$ac_cv_lib_soname_Xext" >&6; }
11650 cat >>confdefs.h <<_ACEOF
11651 #define SONAME_LIBXEXT "$ac_cv_lib_soname_Xext"
11652 _ACEOF
11654 X_LIBS="$X_LIBS -lXext"
11656 X_LIBS="$X_LIBS -lX11"
11658 for ac_header in X11/Xlib.h \
11659 X11/XKBlib.h \
11660 X11/Xutil.h \
11661 X11/Xcursor/Xcursor.h \
11662 X11/extensions/shape.h \
11663 X11/extensions/XInput.h \
11664 X11/extensions/XInput2.h \
11665 X11/extensions/XShm.h \
11666 X11/extensions/Xcomposite.h \
11667 X11/extensions/Xfixes.h \
11668 X11/extensions/Xinerama.h \
11669 X11/extensions/Xrandr.h \
11670 X11/extensions/Xrender.h \
11671 X11/extensions/xf86vmode.h \
11672 X11/extensions/xf86vmproto.h
11673 do :
11674 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
11675 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_X11_XLIB_H
11676 # include <X11/Xlib.h>
11677 #endif
11678 #ifdef HAVE_X11_XUTIL_H
11679 # include <X11/Xutil.h>
11680 #endif
11682 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
11683 cat >>confdefs.h <<_ACEOF
11684 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
11685 _ACEOF
11689 done
11692 if test "$ac_cv_header_X11_XKBlib_h" = "yes"
11693 then
11694 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XkbQueryExtension in -lX11" >&5
11695 $as_echo_n "checking for XkbQueryExtension in -lX11... " >&6; }
11696 if ${ac_cv_lib_X11_XkbQueryExtension+:} false; then :
11697 $as_echo_n "(cached) " >&6
11698 else
11699 ac_check_lib_save_LIBS=$LIBS
11700 LIBS="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
11701 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11702 /* end confdefs.h. */
11704 /* Override any GCC internal prototype to avoid an error.
11705 Use char because int might match the return type of a GCC
11706 builtin and then its argument prototype would still apply. */
11707 #ifdef __cplusplus
11708 extern "C"
11709 #endif
11710 char XkbQueryExtension ();
11712 main ()
11714 return XkbQueryExtension ();
11716 return 0;
11718 _ACEOF
11719 if ac_fn_c_try_link "$LINENO"; then :
11720 ac_cv_lib_X11_XkbQueryExtension=yes
11721 else
11722 ac_cv_lib_X11_XkbQueryExtension=no
11724 rm -f core conftest.err conftest.$ac_objext \
11725 conftest$ac_exeext conftest.$ac_ext
11726 LIBS=$ac_check_lib_save_LIBS
11728 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_X11_XkbQueryExtension" >&5
11729 $as_echo "$ac_cv_lib_X11_XkbQueryExtension" >&6; }
11730 if test "x$ac_cv_lib_X11_XkbQueryExtension" = xyes; then :
11732 $as_echo "#define HAVE_XKB 1" >>confdefs.h
11738 if test "$ac_cv_header_X11_Xcursor_Xcursor_h" = "yes"
11739 then
11740 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXcursor" >&5
11741 $as_echo_n "checking for -lXcursor... " >&6; }
11742 if ${ac_cv_lib_soname_Xcursor+:} false; then :
11743 $as_echo_n "(cached) " >&6
11744 else
11745 ac_check_soname_save_LIBS=$LIBS
11746 LIBS="-lXcursor $X_LIBS $X_EXTRA_LIBS $LIBS"
11747 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11748 /* end confdefs.h. */
11750 /* Override any GCC internal prototype to avoid an error.
11751 Use char because int might match the return type of a GCC
11752 builtin and then its argument prototype would still apply. */
11753 #ifdef __cplusplus
11754 extern "C"
11755 #endif
11756 char XcursorImageLoadCursor ();
11758 main ()
11760 return XcursorImageLoadCursor ();
11762 return 0;
11764 _ACEOF
11765 if ac_fn_c_try_link "$LINENO"; then :
11766 case "$LIBEXT" in
11767 dll) ac_cv_lib_soname_Xcursor=`$ac_cv_path_LDD conftest.exe | grep "Xcursor" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11768 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'` ;;
11769 *) ac_cv_lib_soname_Xcursor=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcursor\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcursor\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11770 if ${ac_cv_lib_soname_Xcursor:+false} :; then :
11771 ac_cv_lib_soname_Xcursor=`$LDD conftest$ac_exeext | grep "libXcursor\\.$LIBEXT" | sed -e "s/^.*\(libXcursor\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11772 fi ;;
11773 esac
11774 else
11775 ac_cv_lib_soname_Xcursor=
11777 rm -f core conftest.err conftest.$ac_objext \
11778 conftest$ac_exeext conftest.$ac_ext
11779 LIBS=$ac_check_soname_save_LIBS
11781 if ${ac_cv_lib_soname_Xcursor:+false} :; then :
11782 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11783 $as_echo "not found" >&6; }
11785 else
11786 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcursor" >&5
11787 $as_echo "$ac_cv_lib_soname_Xcursor" >&6; }
11789 cat >>confdefs.h <<_ACEOF
11790 #define SONAME_LIBXCURSOR "$ac_cv_lib_soname_Xcursor"
11791 _ACEOF
11796 if test "x$ac_cv_lib_soname_Xcursor" = "x"; then :
11797 case "x$with_xcursor" in
11798 x) as_fn_append wine_notices "|libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported." ;;
11799 xno) ;;
11800 *) as_fn_error $? "libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported.
11801 This is an error since --with-xcursor was requested." "$LINENO" 5 ;;
11802 esac
11806 if test "$ac_cv_header_X11_extensions_XInput_h" = "yes"
11807 then
11808 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXi" >&5
11809 $as_echo_n "checking for -lXi... " >&6; }
11810 if ${ac_cv_lib_soname_Xi+:} false; then :
11811 $as_echo_n "(cached) " >&6
11812 else
11813 ac_check_soname_save_LIBS=$LIBS
11814 LIBS="-lXi $X_LIBS $X_EXTRA_LIBS $LIBS"
11815 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11816 /* end confdefs.h. */
11818 /* Override any GCC internal prototype to avoid an error.
11819 Use char because int might match the return type of a GCC
11820 builtin and then its argument prototype would still apply. */
11821 #ifdef __cplusplus
11822 extern "C"
11823 #endif
11824 char XOpenDevice ();
11826 main ()
11828 return XOpenDevice ();
11830 return 0;
11832 _ACEOF
11833 if ac_fn_c_try_link "$LINENO"; then :
11834 case "$LIBEXT" in
11835 dll) ac_cv_lib_soname_Xi=`$ac_cv_path_LDD conftest.exe | grep "Xi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11836 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'` ;;
11837 *) ac_cv_lib_soname_Xi=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11838 if ${ac_cv_lib_soname_Xi:+false} :; then :
11839 ac_cv_lib_soname_Xi=`$LDD conftest$ac_exeext | grep "libXi\\.$LIBEXT" | sed -e "s/^.*\(libXi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11840 fi ;;
11841 esac
11842 else
11843 ac_cv_lib_soname_Xi=
11845 rm -f core conftest.err conftest.$ac_objext \
11846 conftest$ac_exeext conftest.$ac_ext
11847 LIBS=$ac_check_soname_save_LIBS
11849 if ${ac_cv_lib_soname_Xi:+false} :; then :
11850 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11851 $as_echo "not found" >&6; }
11853 else
11854 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xi" >&5
11855 $as_echo "$ac_cv_lib_soname_Xi" >&6; }
11857 cat >>confdefs.h <<_ACEOF
11858 #define SONAME_LIBXI "$ac_cv_lib_soname_Xi"
11859 _ACEOF
11864 if test "x$ac_cv_lib_soname_Xi" = "x"; then :
11865 case "x$with_xinput" in
11866 x) as_fn_append wine_notices "|libxi ${notice_platform}development files not found, the Xinput extension won't be supported." ;;
11867 xno) ;;
11868 *) as_fn_error $? "libxi ${notice_platform}development files not found, the Xinput extension won't be supported.
11869 This is an error since --with-xinput was requested." "$LINENO" 5 ;;
11870 esac
11874 if test "x$ac_cv_lib_soname_Xi" != x
11875 then
11876 if test "$ac_cv_header_X11_extensions_XInput2_h" != "yes"; then :
11877 case "x$with_xinput2" in
11878 x) as_fn_append wine_notices "|XInput2 headers not found, the XInput 2 extension won't be supported." ;;
11879 xno) ;;
11880 *) as_fn_error $? "XInput2 headers not found, the XInput 2 extension won't be supported.
11881 This is an error since --with-xinput2 was requested." "$LINENO" 5 ;;
11882 esac
11887 if test "$ac_cv_header_X11_extensions_XShm_h" = "yes"
11888 then
11889 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShmQueryExtension in -lXext" >&5
11890 $as_echo_n "checking for XShmQueryExtension in -lXext... " >&6; }
11891 if ${ac_cv_lib_Xext_XShmQueryExtension+:} false; then :
11892 $as_echo_n "(cached) " >&6
11893 else
11894 ac_check_lib_save_LIBS=$LIBS
11895 LIBS="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
11896 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11897 /* end confdefs.h. */
11899 /* Override any GCC internal prototype to avoid an error.
11900 Use char because int might match the return type of a GCC
11901 builtin and then its argument prototype would still apply. */
11902 #ifdef __cplusplus
11903 extern "C"
11904 #endif
11905 char XShmQueryExtension ();
11907 main ()
11909 return XShmQueryExtension ();
11911 return 0;
11913 _ACEOF
11914 if ac_fn_c_try_link "$LINENO"; then :
11915 ac_cv_lib_Xext_XShmQueryExtension=yes
11916 else
11917 ac_cv_lib_Xext_XShmQueryExtension=no
11919 rm -f core conftest.err conftest.$ac_objext \
11920 conftest$ac_exeext conftest.$ac_ext
11921 LIBS=$ac_check_lib_save_LIBS
11923 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShmQueryExtension" >&5
11924 $as_echo "$ac_cv_lib_Xext_XShmQueryExtension" >&6; }
11925 if test "x$ac_cv_lib_Xext_XShmQueryExtension" = xyes; then :
11927 $as_echo "#define HAVE_LIBXXSHM 1" >>confdefs.h
11932 if test "$ac_cv_lib_Xext_XShmQueryExtension" != "yes"; then :
11933 case "x$with_xshm" in
11934 x) as_fn_append wine_notices "|XShm ${notice_platform}development files not found, X Shared Memory won't be supported." ;;
11935 xno) ;;
11936 *) as_fn_error $? "XShm ${notice_platform}development files not found, X Shared Memory won't be supported.
11937 This is an error since --with-xshm was requested." "$LINENO" 5 ;;
11938 esac
11942 if test "$ac_cv_header_X11_extensions_shape_h" = "yes"
11943 then
11944 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShapeQueryExtension in -lXext" >&5
11945 $as_echo_n "checking for XShapeQueryExtension in -lXext... " >&6; }
11946 if ${ac_cv_lib_Xext_XShapeQueryExtension+:} false; then :
11947 $as_echo_n "(cached) " >&6
11948 else
11949 ac_check_lib_save_LIBS=$LIBS
11950 LIBS="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
11951 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11952 /* end confdefs.h. */
11954 /* Override any GCC internal prototype to avoid an error.
11955 Use char because int might match the return type of a GCC
11956 builtin and then its argument prototype would still apply. */
11957 #ifdef __cplusplus
11958 extern "C"
11959 #endif
11960 char XShapeQueryExtension ();
11962 main ()
11964 return XShapeQueryExtension ();
11966 return 0;
11968 _ACEOF
11969 if ac_fn_c_try_link "$LINENO"; then :
11970 ac_cv_lib_Xext_XShapeQueryExtension=yes
11971 else
11972 ac_cv_lib_Xext_XShapeQueryExtension=no
11974 rm -f core conftest.err conftest.$ac_objext \
11975 conftest$ac_exeext conftest.$ac_ext
11976 LIBS=$ac_check_lib_save_LIBS
11978 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
11979 $as_echo "$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
11980 if test "x$ac_cv_lib_Xext_XShapeQueryExtension" = xyes; then :
11982 $as_echo "#define HAVE_LIBXSHAPE 1" >>confdefs.h
11987 if test "$ac_cv_lib_Xext_XShapeQueryExtension" != "yes"; then :
11988 case "x$with_xshape" in
11989 x) as_fn_append wine_notices "|XShape ${notice_platform}development files not found, XShape won't be supported." ;;
11990 xno) ;;
11991 *) as_fn_error $? "XShape ${notice_platform}development files not found, XShape won't be supported.
11992 This is an error since --with-xshape was requested." "$LINENO" 5 ;;
11993 esac
11997 if test "$ac_cv_header_X11_extensions_xf86vmode_h" = "yes" -o "$ac_cv_header_X11_extensions_xf86vmproto_h" = "yes"
11998 then
11999 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXxf86vm" >&5
12000 $as_echo_n "checking for -lXxf86vm... " >&6; }
12001 if ${ac_cv_lib_soname_Xxf86vm+:} false; then :
12002 $as_echo_n "(cached) " >&6
12003 else
12004 ac_check_soname_save_LIBS=$LIBS
12005 LIBS="-lXxf86vm $X_LIBS $X_EXTRA_LIBS $LIBS"
12006 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12007 /* end confdefs.h. */
12009 /* Override any GCC internal prototype to avoid an error.
12010 Use char because int might match the return type of a GCC
12011 builtin and then its argument prototype would still apply. */
12012 #ifdef __cplusplus
12013 extern "C"
12014 #endif
12015 char XF86VidModeQueryExtension ();
12017 main ()
12019 return XF86VidModeQueryExtension ();
12021 return 0;
12023 _ACEOF
12024 if ac_fn_c_try_link "$LINENO"; then :
12025 case "$LIBEXT" in
12026 dll) ac_cv_lib_soname_Xxf86vm=`$ac_cv_path_LDD conftest.exe | grep "Xxf86vm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12027 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'` ;;
12028 *) ac_cv_lib_soname_Xxf86vm=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXxf86vm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12029 if ${ac_cv_lib_soname_Xxf86vm:+false} :; then :
12030 ac_cv_lib_soname_Xxf86vm=`$LDD conftest$ac_exeext | grep "libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\(libXxf86vm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12031 fi ;;
12032 esac
12033 else
12034 ac_cv_lib_soname_Xxf86vm=
12036 rm -f core conftest.err conftest.$ac_objext \
12037 conftest$ac_exeext conftest.$ac_ext
12038 LIBS=$ac_check_soname_save_LIBS
12040 if ${ac_cv_lib_soname_Xxf86vm:+false} :; then :
12041 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12042 $as_echo "not found" >&6; }
12044 else
12045 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xxf86vm" >&5
12046 $as_echo "$ac_cv_lib_soname_Xxf86vm" >&6; }
12048 cat >>confdefs.h <<_ACEOF
12049 #define SONAME_LIBXXF86VM "$ac_cv_lib_soname_Xxf86vm"
12050 _ACEOF
12055 if test "x$ac_cv_lib_soname_Xxf86vm" = "x"; then :
12056 case "x$with_xxf86vm" in
12057 x) as_fn_append wine_notices "|libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported." ;;
12058 xno) ;;
12059 *) as_fn_error $? "libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported.
12060 This is an error since --with-xxf86vm was requested." "$LINENO" 5 ;;
12061 esac
12065 if test "$ac_cv_header_X11_extensions_Xrender_h" = "yes" -a "x$ac_cv_lib_soname_X11" != "x"
12066 then
12067 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXrender" >&5
12068 $as_echo_n "checking for -lXrender... " >&6; }
12069 if ${ac_cv_lib_soname_Xrender+:} false; then :
12070 $as_echo_n "(cached) " >&6
12071 else
12072 ac_check_soname_save_LIBS=$LIBS
12073 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
12074 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12075 /* end confdefs.h. */
12077 /* Override any GCC internal prototype to avoid an error.
12078 Use char because int might match the return type of a GCC
12079 builtin and then its argument prototype would still apply. */
12080 #ifdef __cplusplus
12081 extern "C"
12082 #endif
12083 char XRenderQueryExtension ();
12085 main ()
12087 return XRenderQueryExtension ();
12089 return 0;
12091 _ACEOF
12092 if ac_fn_c_try_link "$LINENO"; then :
12093 case "$LIBEXT" in
12094 dll) ac_cv_lib_soname_Xrender=`$ac_cv_path_LDD conftest.exe | grep "Xrender" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12095 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'` ;;
12096 *) ac_cv_lib_soname_Xrender=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrender\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrender\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12097 if ${ac_cv_lib_soname_Xrender:+false} :; then :
12098 ac_cv_lib_soname_Xrender=`$LDD conftest$ac_exeext | grep "libXrender\\.$LIBEXT" | sed -e "s/^.*\(libXrender\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12099 fi ;;
12100 esac
12101 else
12102 ac_cv_lib_soname_Xrender=
12104 rm -f core conftest.err conftest.$ac_objext \
12105 conftest$ac_exeext conftest.$ac_ext
12106 LIBS=$ac_check_soname_save_LIBS
12108 if ${ac_cv_lib_soname_Xrender:+false} :; then :
12109 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12110 $as_echo "not found" >&6; }
12112 else
12113 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrender" >&5
12114 $as_echo "$ac_cv_lib_soname_Xrender" >&6; }
12116 cat >>confdefs.h <<_ACEOF
12117 #define SONAME_LIBXRENDER "$ac_cv_lib_soname_Xrender"
12118 _ACEOF
12120 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderSetPictureTransform in -lXrender" >&5
12121 $as_echo_n "checking for XRenderSetPictureTransform in -lXrender... " >&6; }
12122 if ${ac_cv_lib_Xrender_XRenderSetPictureTransform+:} false; then :
12123 $as_echo_n "(cached) " >&6
12124 else
12125 ac_check_lib_save_LIBS=$LIBS
12126 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
12127 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12128 /* end confdefs.h. */
12130 /* Override any GCC internal prototype to avoid an error.
12131 Use char because int might match the return type of a GCC
12132 builtin and then its argument prototype would still apply. */
12133 #ifdef __cplusplus
12134 extern "C"
12135 #endif
12136 char XRenderSetPictureTransform ();
12138 main ()
12140 return XRenderSetPictureTransform ();
12142 return 0;
12144 _ACEOF
12145 if ac_fn_c_try_link "$LINENO"; then :
12146 ac_cv_lib_Xrender_XRenderSetPictureTransform=yes
12147 else
12148 ac_cv_lib_Xrender_XRenderSetPictureTransform=no
12150 rm -f core conftest.err conftest.$ac_objext \
12151 conftest$ac_exeext conftest.$ac_ext
12152 LIBS=$ac_check_lib_save_LIBS
12154 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderSetPictureTransform" >&5
12155 $as_echo "$ac_cv_lib_Xrender_XRenderSetPictureTransform" >&6; }
12156 if test "x$ac_cv_lib_Xrender_XRenderSetPictureTransform" = xyes; then :
12158 $as_echo "#define HAVE_XRENDERSETPICTURETRANSFORM 1" >>confdefs.h
12162 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderCreateLinearGradient in -lXrender" >&5
12163 $as_echo_n "checking for XRenderCreateLinearGradient in -lXrender... " >&6; }
12164 if ${ac_cv_lib_Xrender_XRenderCreateLinearGradient+:} false; then :
12165 $as_echo_n "(cached) " >&6
12166 else
12167 ac_check_lib_save_LIBS=$LIBS
12168 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
12169 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12170 /* end confdefs.h. */
12172 /* Override any GCC internal prototype to avoid an error.
12173 Use char because int might match the return type of a GCC
12174 builtin and then its argument prototype would still apply. */
12175 #ifdef __cplusplus
12176 extern "C"
12177 #endif
12178 char XRenderCreateLinearGradient ();
12180 main ()
12182 return XRenderCreateLinearGradient ();
12184 return 0;
12186 _ACEOF
12187 if ac_fn_c_try_link "$LINENO"; then :
12188 ac_cv_lib_Xrender_XRenderCreateLinearGradient=yes
12189 else
12190 ac_cv_lib_Xrender_XRenderCreateLinearGradient=no
12192 rm -f core conftest.err conftest.$ac_objext \
12193 conftest$ac_exeext conftest.$ac_ext
12194 LIBS=$ac_check_lib_save_LIBS
12196 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&5
12197 $as_echo "$ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&6; }
12198 if test "x$ac_cv_lib_Xrender_XRenderCreateLinearGradient" = xyes; then :
12200 $as_echo "#define HAVE_XRENDERCREATELINEARGRADIENT 1" >>confdefs.h
12207 if test "x$ac_cv_lib_soname_Xrender" = "x"; then :
12208 case "x$with_xrender" in
12209 x) as_fn_append wine_warnings "|libxrender ${notice_platform}development files not found, XRender won't be supported." ;;
12210 xno) ;;
12211 *) as_fn_error $? "libxrender ${notice_platform}development files not found, XRender won't be supported.
12212 This is an error since --with-xrender was requested." "$LINENO" 5 ;;
12213 esac
12217 if test "$ac_cv_header_X11_extensions_Xrandr_h" = "yes" -a "x$ac_cv_lib_soname_Xrender" != "x"
12218 then
12219 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12220 /* end confdefs.h. */
12221 #include <X11/Xlib.h>
12222 #include <X11/extensions/Xrandr.h>
12224 main ()
12226 static typeof(XRRSetScreenConfigAndRate) * func; if (func) return 0;
12228 return 0;
12230 _ACEOF
12231 if ac_fn_c_try_compile "$LINENO"; then :
12232 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXrandr" >&5
12233 $as_echo_n "checking for -lXrandr... " >&6; }
12234 if ${ac_cv_lib_soname_Xrandr+:} false; then :
12235 $as_echo_n "(cached) " >&6
12236 else
12237 ac_check_soname_save_LIBS=$LIBS
12238 LIBS="-lXrandr $X_LIBS $X_EXTRA_LIBS $LIBS"
12239 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12240 /* end confdefs.h. */
12242 /* Override any GCC internal prototype to avoid an error.
12243 Use char because int might match the return type of a GCC
12244 builtin and then its argument prototype would still apply. */
12245 #ifdef __cplusplus
12246 extern "C"
12247 #endif
12248 char XRRQueryExtension ();
12250 main ()
12252 return XRRQueryExtension ();
12254 return 0;
12256 _ACEOF
12257 if ac_fn_c_try_link "$LINENO"; then :
12258 case "$LIBEXT" in
12259 dll) ac_cv_lib_soname_Xrandr=`$ac_cv_path_LDD conftest.exe | grep "Xrandr" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12260 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'` ;;
12261 *) ac_cv_lib_soname_Xrandr=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrandr\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrandr\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12262 if ${ac_cv_lib_soname_Xrandr:+false} :; then :
12263 ac_cv_lib_soname_Xrandr=`$LDD conftest$ac_exeext | grep "libXrandr\\.$LIBEXT" | sed -e "s/^.*\(libXrandr\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12264 fi ;;
12265 esac
12266 else
12267 ac_cv_lib_soname_Xrandr=
12269 rm -f core conftest.err conftest.$ac_objext \
12270 conftest$ac_exeext conftest.$ac_ext
12271 LIBS=$ac_check_soname_save_LIBS
12273 if ${ac_cv_lib_soname_Xrandr:+false} :; then :
12274 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12275 $as_echo "not found" >&6; }
12277 else
12278 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrandr" >&5
12279 $as_echo "$ac_cv_lib_soname_Xrandr" >&6; }
12281 cat >>confdefs.h <<_ACEOF
12282 #define SONAME_LIBXRANDR "$ac_cv_lib_soname_Xrandr"
12283 _ACEOF
12285 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12286 /* end confdefs.h. */
12287 #include <X11/Xlib.h>
12288 #include <X11/extensions/Xrandr.h>
12290 main ()
12292 static typeof(XRRGetProviderResources) *f; if (f) return 0;
12294 return 0;
12296 _ACEOF
12297 if ac_fn_c_try_compile "$LINENO"; then :
12299 $as_echo "#define HAVE_XRRGETPROVIDERRESOURCES 1" >>confdefs.h
12301 else
12302 as_fn_append wine_notices "|libxrandr ${notice_platform}development files too old, XRandR display device handler won't be supported."
12304 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12307 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12309 if test "x$ac_cv_lib_soname_Xrandr" = "x"; then :
12310 case "x$with_xrandr" in
12311 x) as_fn_append wine_notices "|libxrandr ${notice_platform}development files not found, XRandr won't be supported." ;;
12312 xno) ;;
12313 *) as_fn_error $? "libxrandr ${notice_platform}development files not found, XRandr won't be supported.
12314 This is an error since --with-xrandr was requested." "$LINENO" 5 ;;
12315 esac
12319 if test "$ac_cv_header_X11_extensions_Xfixes_h" = "yes"
12320 then
12321 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12322 /* end confdefs.h. */
12323 #include <X11/Xlib.h>
12324 #include <X11/extensions/Xfixes.h>
12326 main ()
12328 static typeof(XFixesQueryVersion) * func; if (func) return 0;
12330 return 0;
12332 _ACEOF
12333 if ac_fn_c_try_compile "$LINENO"; then :
12334 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXfixes" >&5
12335 $as_echo_n "checking for -lXfixes... " >&6; }
12336 if ${ac_cv_lib_soname_Xfixes+:} false; then :
12337 $as_echo_n "(cached) " >&6
12338 else
12339 ac_check_soname_save_LIBS=$LIBS
12340 LIBS="-lXfixes $X_LIBS $X_EXTRA_LIBS $LIBS"
12341 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12342 /* end confdefs.h. */
12344 /* Override any GCC internal prototype to avoid an error.
12345 Use char because int might match the return type of a GCC
12346 builtin and then its argument prototype would still apply. */
12347 #ifdef __cplusplus
12348 extern "C"
12349 #endif
12350 char XFixesQueryVersion ();
12352 main ()
12354 return XFixesQueryVersion ();
12356 return 0;
12358 _ACEOF
12359 if ac_fn_c_try_link "$LINENO"; then :
12360 case "$LIBEXT" in
12361 dll) ac_cv_lib_soname_Xfixes=`$ac_cv_path_LDD conftest.exe | grep "Xfixes" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12362 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'` ;;
12363 *) ac_cv_lib_soname_Xfixes=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXfixes\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXfixes\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12364 if ${ac_cv_lib_soname_Xfixes:+false} :; then :
12365 ac_cv_lib_soname_Xfixes=`$LDD conftest$ac_exeext | grep "libXfixes\\.$LIBEXT" | sed -e "s/^.*\(libXfixes\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12366 fi ;;
12367 esac
12368 else
12369 ac_cv_lib_soname_Xfixes=
12371 rm -f core conftest.err conftest.$ac_objext \
12372 conftest$ac_exeext conftest.$ac_ext
12373 LIBS=$ac_check_soname_save_LIBS
12375 if ${ac_cv_lib_soname_Xfixes:+false} :; then :
12376 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12377 $as_echo "not found" >&6; }
12379 else
12380 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xfixes" >&5
12381 $as_echo "$ac_cv_lib_soname_Xfixes" >&6; }
12383 cat >>confdefs.h <<_ACEOF
12384 #define SONAME_LIBXFIXES "$ac_cv_lib_soname_Xfixes"
12385 _ACEOF
12390 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12392 if test "x$ac_cv_lib_soname_Xfixes" = "x"; then :
12393 case "x$with_xfixes" in
12394 x) as_fn_append wine_notices "|libxfixes ${notice_platform}development files not found, Xfixes won't be supported." ;;
12395 xno) ;;
12396 *) as_fn_error $? "libxfixes ${notice_platform}development files not found, Xfixes won't be supported.
12397 This is an error since --with-xfixes was requested." "$LINENO" 5 ;;
12398 esac
12402 if test "$ac_cv_header_X11_extensions_Xinerama_h" = "yes"
12403 then
12404 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12405 /* end confdefs.h. */
12406 #include <X11/Xlib.h>
12407 #include <X11/extensions/Xinerama.h>
12409 main ()
12411 static typeof(XineramaQueryScreens) * func; if (func) return 0;
12413 return 0;
12415 _ACEOF
12416 if ac_fn_c_try_compile "$LINENO"; then :
12417 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXinerama" >&5
12418 $as_echo_n "checking for -lXinerama... " >&6; }
12419 if ${ac_cv_lib_soname_Xinerama+:} false; then :
12420 $as_echo_n "(cached) " >&6
12421 else
12422 ac_check_soname_save_LIBS=$LIBS
12423 LIBS="-lXinerama $X_LIBS $X_EXTRA_LIBS $LIBS"
12424 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12425 /* end confdefs.h. */
12427 /* Override any GCC internal prototype to avoid an error.
12428 Use char because int might match the return type of a GCC
12429 builtin and then its argument prototype would still apply. */
12430 #ifdef __cplusplus
12431 extern "C"
12432 #endif
12433 char XineramaQueryScreens ();
12435 main ()
12437 return XineramaQueryScreens ();
12439 return 0;
12441 _ACEOF
12442 if ac_fn_c_try_link "$LINENO"; then :
12443 case "$LIBEXT" in
12444 dll) ac_cv_lib_soname_Xinerama=`$ac_cv_path_LDD conftest.exe | grep "Xinerama" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12445 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'` ;;
12446 *) ac_cv_lib_soname_Xinerama=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXinerama\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXinerama\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12447 if ${ac_cv_lib_soname_Xinerama:+false} :; then :
12448 ac_cv_lib_soname_Xinerama=`$LDD conftest$ac_exeext | grep "libXinerama\\.$LIBEXT" | sed -e "s/^.*\(libXinerama\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12449 fi ;;
12450 esac
12451 else
12452 ac_cv_lib_soname_Xinerama=
12454 rm -f core conftest.err conftest.$ac_objext \
12455 conftest$ac_exeext conftest.$ac_ext
12456 LIBS=$ac_check_soname_save_LIBS
12458 if ${ac_cv_lib_soname_Xinerama:+false} :; then :
12459 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12460 $as_echo "not found" >&6; }
12462 else
12463 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xinerama" >&5
12464 $as_echo "$ac_cv_lib_soname_Xinerama" >&6; }
12466 cat >>confdefs.h <<_ACEOF
12467 #define SONAME_LIBXINERAMA "$ac_cv_lib_soname_Xinerama"
12468 _ACEOF
12473 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12475 if test "x$ac_cv_lib_soname_Xinerama" = "x"; then :
12476 case "x$with_xinerama" in
12477 x) as_fn_append wine_notices "|libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported." ;;
12478 xno) ;;
12479 *) as_fn_error $? "libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported.
12480 This is an error since --with-xinerama was requested." "$LINENO" 5 ;;
12481 esac
12485 if test "$ac_cv_header_X11_extensions_Xcomposite_h" = "yes"
12486 then
12487 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXcomposite" >&5
12488 $as_echo_n "checking for -lXcomposite... " >&6; }
12489 if ${ac_cv_lib_soname_Xcomposite+:} false; then :
12490 $as_echo_n "(cached) " >&6
12491 else
12492 ac_check_soname_save_LIBS=$LIBS
12493 LIBS="-lXcomposite $X_LIBS $X_EXTRA_LIBS $LIBS"
12494 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12495 /* end confdefs.h. */
12497 /* Override any GCC internal prototype to avoid an error.
12498 Use char because int might match the return type of a GCC
12499 builtin and then its argument prototype would still apply. */
12500 #ifdef __cplusplus
12501 extern "C"
12502 #endif
12503 char XCompositeRedirectWindow ();
12505 main ()
12507 return XCompositeRedirectWindow ();
12509 return 0;
12511 _ACEOF
12512 if ac_fn_c_try_link "$LINENO"; then :
12513 case "$LIBEXT" in
12514 dll) ac_cv_lib_soname_Xcomposite=`$ac_cv_path_LDD conftest.exe | grep "Xcomposite" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12515 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'` ;;
12516 *) ac_cv_lib_soname_Xcomposite=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcomposite\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcomposite\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12517 if ${ac_cv_lib_soname_Xcomposite:+false} :; then :
12518 ac_cv_lib_soname_Xcomposite=`$LDD conftest$ac_exeext | grep "libXcomposite\\.$LIBEXT" | sed -e "s/^.*\(libXcomposite\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12519 fi ;;
12520 esac
12521 else
12522 ac_cv_lib_soname_Xcomposite=
12524 rm -f core conftest.err conftest.$ac_objext \
12525 conftest$ac_exeext conftest.$ac_ext
12526 LIBS=$ac_check_soname_save_LIBS
12528 if ${ac_cv_lib_soname_Xcomposite:+false} :; then :
12529 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12530 $as_echo "not found" >&6; }
12532 else
12533 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcomposite" >&5
12534 $as_echo "$ac_cv_lib_soname_Xcomposite" >&6; }
12536 cat >>confdefs.h <<_ACEOF
12537 #define SONAME_LIBXCOMPOSITE "$ac_cv_lib_soname_Xcomposite"
12538 _ACEOF
12543 if test "x$ac_cv_lib_soname_Xcomposite" = "x"; then :
12544 case "x$with_xcomposite" in
12545 x) as_fn_append wine_notices "|libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported." ;;
12546 xno) ;;
12547 *) as_fn_error $? "libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported.
12548 This is an error since --with-xcomposite was requested." "$LINENO" 5 ;;
12549 esac
12553 ac_fn_c_check_member "$LINENO" "XICCallback" "callback" "ac_cv_member_XICCallback_callback" "#ifdef HAVE_X11_XLIB_H
12554 #include <X11/Xlib.h>
12555 #endif
12557 if test "x$ac_cv_member_XICCallback_callback" = xyes; then :
12559 cat >>confdefs.h <<_ACEOF
12560 #define HAVE_XICCALLBACK_CALLBACK 1
12561 _ACEOF
12565 ac_fn_c_check_member "$LINENO" "XEvent" "xcookie" "ac_cv_member_XEvent_xcookie" "#ifdef HAVE_X11_XLIB_H
12566 #include <X11/Xlib.h>
12567 #endif
12569 if test "x$ac_cv_member_XEvent_xcookie" = xyes; then :
12571 cat >>confdefs.h <<_ACEOF
12572 #define HAVE_XEVENT_XCOOKIE 1
12573 _ACEOF
12580 opengl_msg=""
12581 if test "x$with_opengl" != "xno"
12582 then
12583 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
12584 $as_echo_n "checking for -lGL... " >&6; }
12585 if ${ac_cv_lib_soname_GL+:} false; then :
12586 $as_echo_n "(cached) " >&6
12587 else
12588 ac_check_soname_save_LIBS=$LIBS
12589 LIBS="-lGL $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
12590 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12591 /* end confdefs.h. */
12593 /* Override any GCC internal prototype to avoid an error.
12594 Use char because int might match the return type of a GCC
12595 builtin and then its argument prototype would still apply. */
12596 #ifdef __cplusplus
12597 extern "C"
12598 #endif
12599 char glXCreateContext ();
12601 main ()
12603 return glXCreateContext ();
12605 return 0;
12607 _ACEOF
12608 if ac_fn_c_try_link "$LINENO"; then :
12609 case "$LIBEXT" in
12610 dll) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12611 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'` ;;
12612 *) ac_cv_lib_soname_GL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12613 if ${ac_cv_lib_soname_GL:+false} :; then :
12614 ac_cv_lib_soname_GL=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12615 fi ;;
12616 esac
12617 else
12618 ac_cv_lib_soname_GL=
12620 rm -f core conftest.err conftest.$ac_objext \
12621 conftest$ac_exeext conftest.$ac_ext
12622 LIBS=$ac_check_soname_save_LIBS
12624 if ${ac_cv_lib_soname_GL:+false} :; then :
12625 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12626 $as_echo "not found" >&6; }
12627 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
12628 $as_echo_n "checking for -lGL... " >&6; }
12629 if ${ac_cv_lib_soname_GL+:} false; then :
12630 $as_echo_n "(cached) " >&6
12631 else
12632 ac_check_soname_save_LIBS=$LIBS
12633 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"
12634 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12635 /* end confdefs.h. */
12637 /* Override any GCC internal prototype to avoid an error.
12638 Use char because int might match the return type of a GCC
12639 builtin and then its argument prototype would still apply. */
12640 #ifdef __cplusplus
12641 extern "C"
12642 #endif
12643 char glXCreateContext ();
12645 main ()
12647 return glXCreateContext ();
12649 return 0;
12651 _ACEOF
12652 if ac_fn_c_try_link "$LINENO"; then :
12653 case "$LIBEXT" in
12654 dll) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12655 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'` ;;
12656 *) ac_cv_lib_soname_GL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12657 if ${ac_cv_lib_soname_GL:+false} :; then :
12658 ac_cv_lib_soname_GL=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12659 fi ;;
12660 esac
12661 else
12662 ac_cv_lib_soname_GL=
12664 rm -f core conftest.err conftest.$ac_objext \
12665 conftest$ac_exeext conftest.$ac_ext
12666 LIBS=$ac_check_soname_save_LIBS
12668 if ${ac_cv_lib_soname_GL:+false} :; then :
12669 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12670 $as_echo "not found" >&6; }
12671 if test -f /usr/X11R6/lib/libGL.a
12672 then
12673 opengl_msg="/usr/X11R6/lib/libGL.a is present on your system.
12674 This probably prevents linking to OpenGL. Try deleting the file and restarting configure."
12675 else
12676 opengl_msg="No OpenGL library found on this system."
12678 else
12679 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
12680 $as_echo "$ac_cv_lib_soname_GL" >&6; }
12682 cat >>confdefs.h <<_ACEOF
12683 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
12684 _ACEOF
12686 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"
12688 else
12689 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
12690 $as_echo "$ac_cv_lib_soname_GL" >&6; }
12692 cat >>confdefs.h <<_ACEOF
12693 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
12694 _ACEOF
12696 OPENGL_LIBS="-lGL"
12698 if test "x$with_osmesa" != "xno"
12699 then
12700 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lOSMesa" >&5
12701 $as_echo_n "checking for -lOSMesa... " >&6; }
12702 if ${ac_cv_lib_soname_OSMesa+:} false; then :
12703 $as_echo_n "(cached) " >&6
12704 else
12705 ac_check_soname_save_LIBS=$LIBS
12706 LIBS="-lOSMesa $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
12707 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12708 /* end confdefs.h. */
12710 /* Override any GCC internal prototype to avoid an error.
12711 Use char because int might match the return type of a GCC
12712 builtin and then its argument prototype would still apply. */
12713 #ifdef __cplusplus
12714 extern "C"
12715 #endif
12716 char OSMesaGetProcAddress ();
12718 main ()
12720 return OSMesaGetProcAddress ();
12722 return 0;
12724 _ACEOF
12725 if ac_fn_c_try_link "$LINENO"; then :
12726 case "$LIBEXT" in
12727 dll) ac_cv_lib_soname_OSMesa=`$ac_cv_path_LDD conftest.exe | grep "OSMesa" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12728 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'` ;;
12729 *) ac_cv_lib_soname_OSMesa=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libOSMesa\\.$LIBEXT" | sed -e "s/^.*\\[\\(libOSMesa\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12730 if ${ac_cv_lib_soname_OSMesa:+false} :; then :
12731 ac_cv_lib_soname_OSMesa=`$LDD conftest$ac_exeext | grep "libOSMesa\\.$LIBEXT" | sed -e "s/^.*\(libOSMesa\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12732 fi ;;
12733 esac
12734 else
12735 ac_cv_lib_soname_OSMesa=
12737 rm -f core conftest.err conftest.$ac_objext \
12738 conftest$ac_exeext conftest.$ac_ext
12739 LIBS=$ac_check_soname_save_LIBS
12741 if ${ac_cv_lib_soname_OSMesa:+false} :; then :
12742 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12743 $as_echo "not found" >&6; }
12745 else
12746 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_OSMesa" >&5
12747 $as_echo "$ac_cv_lib_soname_OSMesa" >&6; }
12749 cat >>confdefs.h <<_ACEOF
12750 #define SONAME_LIBOSMESA "$ac_cv_lib_soname_OSMesa"
12751 _ACEOF
12755 if test "x$ac_cv_lib_soname_OSMesa" = "x"; then :
12756 case "x$with_osmesa" in
12757 x) as_fn_append wine_notices "|libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported." ;;
12758 xno) ;;
12759 *) as_fn_error $? "libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported.
12760 This is an error since --with-osmesa was requested." "$LINENO" 5 ;;
12761 esac
12766 if test -n "$opengl_msg"; then :
12767 case "x$with_opengl" in
12768 x) as_fn_append wine_warnings "|$opengl_msg
12769 OpenGL and Direct3D won't be supported." ;;
12770 xno) ;;
12771 *) as_fn_error $? "$opengl_msg
12772 OpenGL and Direct3D won't be supported.
12773 This is an error since --with-opengl was requested." "$LINENO" 5 ;;
12774 esac
12778 CPPFLAGS="$ac_save_CPPFLAGS"
12779 else
12780 X_CFLAGS=""
12781 X_LIBS=""
12784 if test "$enable_wineandroid_drv$enable_winemac_drv" = "nono"
12785 then
12786 if test "x$X_LIBS" = "x"; then :
12787 case "x$with_x" in
12788 xno) ;;
12789 *) as_fn_error $? "X ${notice_platform}development files not found. Wine will be built
12790 without X support, which probably isn't what you want. You will need
12791 to install ${notice_platform}development packages of Xlib at the very least.
12792 Use the --without-x option if you really want this." "$LINENO" 5 ;;
12793 esac
12794 enable_winex11_drv=${enable_winex11_drv:-no}
12796 else
12797 if test "x$X_LIBS" = "x"; then :
12798 case "x$with_x" in
12799 x) as_fn_append wine_notices "|X ${notice_platform}development files not found, the X11 driver won't be supported." ;;
12800 xno) ;;
12801 *) as_fn_error $? "X ${notice_platform}development files not found, the X11 driver won't be supported.
12802 This is an error since --with-x was requested." "$LINENO" 5 ;;
12803 esac
12804 enable_winex11_drv=${enable_winex11_drv:-no}
12808 if test "$ac_cv_header_CL_cl_h" = "yes"
12809 then
12810 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clGetPlatformInfo in -lOpenCL" >&5
12811 $as_echo_n "checking for clGetPlatformInfo in -lOpenCL... " >&6; }
12812 if ${ac_cv_lib_OpenCL_clGetPlatformInfo+:} false; then :
12813 $as_echo_n "(cached) " >&6
12814 else
12815 ac_check_lib_save_LIBS=$LIBS
12816 LIBS="-lOpenCL $LIBS"
12817 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12818 /* end confdefs.h. */
12820 /* Override any GCC internal prototype to avoid an error.
12821 Use char because int might match the return type of a GCC
12822 builtin and then its argument prototype would still apply. */
12823 #ifdef __cplusplus
12824 extern "C"
12825 #endif
12826 char clGetPlatformInfo ();
12828 main ()
12830 return clGetPlatformInfo ();
12832 return 0;
12834 _ACEOF
12835 if ac_fn_c_try_link "$LINENO"; then :
12836 ac_cv_lib_OpenCL_clGetPlatformInfo=yes
12837 else
12838 ac_cv_lib_OpenCL_clGetPlatformInfo=no
12840 rm -f core conftest.err conftest.$ac_objext \
12841 conftest$ac_exeext conftest.$ac_ext
12842 LIBS=$ac_check_lib_save_LIBS
12844 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_OpenCL_clGetPlatformInfo" >&5
12845 $as_echo "$ac_cv_lib_OpenCL_clGetPlatformInfo" >&6; }
12846 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" = xyes; then :
12847 OPENCL_LIBS="-lOpenCL"
12852 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" != xyes; then :
12853 case "x$with_opencl" in
12854 x) as_fn_append wine_notices "|OpenCL ${notice_platform}development files not found, OpenCL won't be supported." ;;
12855 xno) ;;
12856 *) as_fn_error $? "OpenCL ${notice_platform}development files not found, OpenCL won't be supported.
12857 This is an error since --with-opencl was requested." "$LINENO" 5 ;;
12858 esac
12859 enable_opencl=${enable_opencl:-no}
12862 if test "$ac_cv_header_pcap_pcap_h" = "yes"
12863 then
12864 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pcap_create in -lpcap" >&5
12865 $as_echo_n "checking for pcap_create in -lpcap... " >&6; }
12866 if ${ac_cv_lib_pcap_pcap_create+:} false; then :
12867 $as_echo_n "(cached) " >&6
12868 else
12869 ac_check_lib_save_LIBS=$LIBS
12870 LIBS="-lpcap $LIBS"
12871 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12872 /* end confdefs.h. */
12874 /* Override any GCC internal prototype to avoid an error.
12875 Use char because int might match the return type of a GCC
12876 builtin and then its argument prototype would still apply. */
12877 #ifdef __cplusplus
12878 extern "C"
12879 #endif
12880 char pcap_create ();
12882 main ()
12884 return pcap_create ();
12886 return 0;
12888 _ACEOF
12889 if ac_fn_c_try_link "$LINENO"; then :
12890 ac_cv_lib_pcap_pcap_create=yes
12891 else
12892 ac_cv_lib_pcap_pcap_create=no
12894 rm -f core conftest.err conftest.$ac_objext \
12895 conftest$ac_exeext conftest.$ac_ext
12896 LIBS=$ac_check_lib_save_LIBS
12898 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pcap_pcap_create" >&5
12899 $as_echo "$ac_cv_lib_pcap_pcap_create" >&6; }
12900 if test "x$ac_cv_lib_pcap_pcap_create" = xyes; then :
12901 PCAP_LIBS="-lpcap"
12906 if test "x$ac_cv_lib_pcap_pcap_create" != xyes; then :
12907 case "x$with_pcap" in
12908 x) as_fn_append wine_notices "|pcap ${notice_platform}development files not found, wpcap won't be supported." ;;
12909 xno) ;;
12910 *) as_fn_error $? "pcap ${notice_platform}development files not found, wpcap won't be supported.
12911 This is an error since --with-pcap was requested." "$LINENO" 5 ;;
12912 esac
12913 enable_wpcap=${enable_wpcap:-no}
12917 if test "x$with_xml" != "xno"
12918 then
12919 if ${XML2_CFLAGS:+false} :; then :
12920 if ${PKG_CONFIG+:} false; then :
12921 XML2_CFLAGS=`$PKG_CONFIG --cflags libxml-2.0 2>/dev/null`
12924 test "$cross_compiling" = yes || XML2_CFLAGS=${XML2_CFLAGS:-`${XML2_CONFIG:-xml2-config} --cflags 2>/dev/null`}
12925 if ${XML2_LIBS:+false} :; then :
12926 if ${PKG_CONFIG+:} false; then :
12927 XML2_LIBS=`$PKG_CONFIG --libs libxml-2.0 2>/dev/null`
12930 test "$cross_compiling" = yes || XML2_LIBS=${XML2_LIBS:-`${XML2_CONFIG:-xml2-config} --libs 2>/dev/null`}
12931 XML2_LIBS=${XML2_LIBS:-"-lxml2"}
12932 $as_echo "$as_me:${as_lineno-$LINENO}: libxml-2.0 cflags: $XML2_CFLAGS" >&5
12933 $as_echo "$as_me:${as_lineno-$LINENO}: libxml-2.0 libs: $XML2_LIBS" >&5
12934 ac_save_CPPFLAGS=$CPPFLAGS
12935 CPPFLAGS="$CPPFLAGS $XML2_CFLAGS"
12936 for ac_header in libxml/parser.h libxml/xmlsave.h libxml/SAX2.h
12937 do :
12938 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
12939 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
12940 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
12941 cat >>confdefs.h <<_ACEOF
12942 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
12943 _ACEOF
12947 done
12949 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"
12950 then
12951 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlParseMemory in -lxml2" >&5
12952 $as_echo_n "checking for xmlParseMemory in -lxml2... " >&6; }
12953 if ${ac_cv_lib_xml2_xmlParseMemory+:} false; then :
12954 $as_echo_n "(cached) " >&6
12955 else
12956 ac_check_lib_save_LIBS=$LIBS
12957 LIBS="-lxml2 $XML2_LIBS $LIBS"
12958 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12959 /* end confdefs.h. */
12961 /* Override any GCC internal prototype to avoid an error.
12962 Use char because int might match the return type of a GCC
12963 builtin and then its argument prototype would still apply. */
12964 #ifdef __cplusplus
12965 extern "C"
12966 #endif
12967 char xmlParseMemory ();
12969 main ()
12971 return xmlParseMemory ();
12973 return 0;
12975 _ACEOF
12976 if ac_fn_c_try_link "$LINENO"; then :
12977 ac_cv_lib_xml2_xmlParseMemory=yes
12978 else
12979 ac_cv_lib_xml2_xmlParseMemory=no
12981 rm -f core conftest.err conftest.$ac_objext \
12982 conftest$ac_exeext conftest.$ac_ext
12983 LIBS=$ac_check_lib_save_LIBS
12985 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlParseMemory" >&5
12986 $as_echo "$ac_cv_lib_xml2_xmlParseMemory" >&6; }
12987 if test "x$ac_cv_lib_xml2_xmlParseMemory" = xyes; then :
12989 $as_echo "#define HAVE_LIBXML2 1" >>confdefs.h
12991 else
12992 XML2_LIBS=""
12995 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlReadMemory in -lxml2" >&5
12996 $as_echo_n "checking for xmlReadMemory in -lxml2... " >&6; }
12997 if ${ac_cv_lib_xml2_xmlReadMemory+:} false; then :
12998 $as_echo_n "(cached) " >&6
12999 else
13000 ac_check_lib_save_LIBS=$LIBS
13001 LIBS="-lxml2 $XML2_LIBS $LIBS"
13002 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13003 /* end confdefs.h. */
13005 /* Override any GCC internal prototype to avoid an error.
13006 Use char because int might match the return type of a GCC
13007 builtin and then its argument prototype would still apply. */
13008 #ifdef __cplusplus
13009 extern "C"
13010 #endif
13011 char xmlReadMemory ();
13013 main ()
13015 return xmlReadMemory ();
13017 return 0;
13019 _ACEOF
13020 if ac_fn_c_try_link "$LINENO"; then :
13021 ac_cv_lib_xml2_xmlReadMemory=yes
13022 else
13023 ac_cv_lib_xml2_xmlReadMemory=no
13025 rm -f core conftest.err conftest.$ac_objext \
13026 conftest$ac_exeext conftest.$ac_ext
13027 LIBS=$ac_check_lib_save_LIBS
13029 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlReadMemory" >&5
13030 $as_echo "$ac_cv_lib_xml2_xmlReadMemory" >&6; }
13031 if test "x$ac_cv_lib_xml2_xmlReadMemory" = xyes; then :
13033 $as_echo "#define HAVE_XMLREADMEMORY 1" >>confdefs.h
13037 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlNewDocPI in -lxml2" >&5
13038 $as_echo_n "checking for xmlNewDocPI in -lxml2... " >&6; }
13039 if ${ac_cv_lib_xml2_xmlNewDocPI+:} false; then :
13040 $as_echo_n "(cached) " >&6
13041 else
13042 ac_check_lib_save_LIBS=$LIBS
13043 LIBS="-lxml2 $XML2_LIBS $LIBS"
13044 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13045 /* end confdefs.h. */
13047 /* Override any GCC internal prototype to avoid an error.
13048 Use char because int might match the return type of a GCC
13049 builtin and then its argument prototype would still apply. */
13050 #ifdef __cplusplus
13051 extern "C"
13052 #endif
13053 char xmlNewDocPI ();
13055 main ()
13057 return xmlNewDocPI ();
13059 return 0;
13061 _ACEOF
13062 if ac_fn_c_try_link "$LINENO"; then :
13063 ac_cv_lib_xml2_xmlNewDocPI=yes
13064 else
13065 ac_cv_lib_xml2_xmlNewDocPI=no
13067 rm -f core conftest.err conftest.$ac_objext \
13068 conftest$ac_exeext conftest.$ac_ext
13069 LIBS=$ac_check_lib_save_LIBS
13071 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlNewDocPI" >&5
13072 $as_echo "$ac_cv_lib_xml2_xmlNewDocPI" >&6; }
13073 if test "x$ac_cv_lib_xml2_xmlNewDocPI" = xyes; then :
13075 $as_echo "#define HAVE_XMLNEWDOCPI 1" >>confdefs.h
13079 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlSchemaSetParserStructuredErrors in -lxml2" >&5
13080 $as_echo_n "checking for xmlSchemaSetParserStructuredErrors in -lxml2... " >&6; }
13081 if ${ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors+:} false; then :
13082 $as_echo_n "(cached) " >&6
13083 else
13084 ac_check_lib_save_LIBS=$LIBS
13085 LIBS="-lxml2 $XML2_LIBS $LIBS"
13086 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13087 /* end confdefs.h. */
13089 /* Override any GCC internal prototype to avoid an error.
13090 Use char because int might match the return type of a GCC
13091 builtin and then its argument prototype would still apply. */
13092 #ifdef __cplusplus
13093 extern "C"
13094 #endif
13095 char xmlSchemaSetParserStructuredErrors ();
13097 main ()
13099 return xmlSchemaSetParserStructuredErrors ();
13101 return 0;
13103 _ACEOF
13104 if ac_fn_c_try_link "$LINENO"; then :
13105 ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors=yes
13106 else
13107 ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors=no
13109 rm -f core conftest.err conftest.$ac_objext \
13110 conftest$ac_exeext conftest.$ac_ext
13111 LIBS=$ac_check_lib_save_LIBS
13113 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" >&5
13114 $as_echo "$ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" >&6; }
13115 if test "x$ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" = xyes; then :
13117 $as_echo "#define HAVE_XMLSCHEMASSETPARSERSTRUCTUREDERRORS 1" >>confdefs.h
13121 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlSchemaSetValidStructuredErrors in -lxml2" >&5
13122 $as_echo_n "checking for xmlSchemaSetValidStructuredErrors in -lxml2... " >&6; }
13123 if ${ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors+:} false; then :
13124 $as_echo_n "(cached) " >&6
13125 else
13126 ac_check_lib_save_LIBS=$LIBS
13127 LIBS="-lxml2 $XML2_LIBS $LIBS"
13128 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13129 /* end confdefs.h. */
13131 /* Override any GCC internal prototype to avoid an error.
13132 Use char because int might match the return type of a GCC
13133 builtin and then its argument prototype would still apply. */
13134 #ifdef __cplusplus
13135 extern "C"
13136 #endif
13137 char xmlSchemaSetValidStructuredErrors ();
13139 main ()
13141 return xmlSchemaSetValidStructuredErrors ();
13143 return 0;
13145 _ACEOF
13146 if ac_fn_c_try_link "$LINENO"; then :
13147 ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors=yes
13148 else
13149 ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors=no
13151 rm -f core conftest.err conftest.$ac_objext \
13152 conftest$ac_exeext conftest.$ac_ext
13153 LIBS=$ac_check_lib_save_LIBS
13155 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" >&5
13156 $as_echo "$ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" >&6; }
13157 if test "x$ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" = xyes; then :
13159 $as_echo "#define HAVE_XMLSCHEMASSETVALIDSTRUCTUREDERRORS 1" >>confdefs.h
13163 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlFirstElementChild in -lxml2" >&5
13164 $as_echo_n "checking for xmlFirstElementChild in -lxml2... " >&6; }
13165 if ${ac_cv_lib_xml2_xmlFirstElementChild+:} false; then :
13166 $as_echo_n "(cached) " >&6
13167 else
13168 ac_check_lib_save_LIBS=$LIBS
13169 LIBS="-lxml2 $XML2_LIBS $LIBS"
13170 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13171 /* end confdefs.h. */
13173 /* Override any GCC internal prototype to avoid an error.
13174 Use char because int might match the return type of a GCC
13175 builtin and then its argument prototype would still apply. */
13176 #ifdef __cplusplus
13177 extern "C"
13178 #endif
13179 char xmlFirstElementChild ();
13181 main ()
13183 return xmlFirstElementChild ();
13185 return 0;
13187 _ACEOF
13188 if ac_fn_c_try_link "$LINENO"; then :
13189 ac_cv_lib_xml2_xmlFirstElementChild=yes
13190 else
13191 ac_cv_lib_xml2_xmlFirstElementChild=no
13193 rm -f core conftest.err conftest.$ac_objext \
13194 conftest$ac_exeext conftest.$ac_ext
13195 LIBS=$ac_check_lib_save_LIBS
13197 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlFirstElementChild" >&5
13198 $as_echo "$ac_cv_lib_xml2_xmlFirstElementChild" >&6; }
13199 if test "x$ac_cv_lib_xml2_xmlFirstElementChild" = xyes; then :
13201 $as_echo "#define HAVE_XMLFIRSTELEMENTCHILD 1" >>confdefs.h
13205 ac_fn_c_check_type "$LINENO" "xmlDocProperties" "ac_cv_type_xmlDocProperties" "#include <libxml/tree.h>
13207 if test "x$ac_cv_type_xmlDocProperties" = xyes; then :
13209 $as_echo "#define HAVE_XMLDOC_PROPERTIES 1" >>confdefs.h
13213 else
13214 XML2_CFLAGS=""
13215 XML2_LIBS=""
13217 CPPFLAGS=$ac_save_CPPFLAGS
13220 if test "$ac_cv_lib_xml2_xmlParseMemory" != "yes"; then :
13221 case "x$with_xml" in
13222 x) as_fn_append wine_warnings "|libxml2 ${notice_platform}development files not found (or too old), XML won't be supported." ;;
13223 xno) ;;
13224 *) as_fn_error $? "libxml2 ${notice_platform}development files not found (or too old), XML won't be supported.
13225 This is an error since --with-xml was requested." "$LINENO" 5 ;;
13226 esac
13230 if test "x$with_xslt" != "xno"
13231 then
13232 if ${XSLT_CFLAGS:+false} :; then :
13233 if ${PKG_CONFIG+:} false; then :
13234 XSLT_CFLAGS=`$PKG_CONFIG --cflags libxslt 2>/dev/null`
13237 test "$cross_compiling" = yes || XSLT_CFLAGS=${XSLT_CFLAGS:-`${XSLT_CONFIG:-xslt-config} --cflags 2>/dev/null`}
13238 if ${XSLT_LIBS:+false} :; then :
13239 if ${PKG_CONFIG+:} false; then :
13240 XSLT_LIBS=`$PKG_CONFIG --libs libxslt 2>/dev/null`
13243 test "$cross_compiling" = yes || XSLT_LIBS=${XSLT_LIBS:-`${XSLT_CONFIG:-xslt-config} --libs 2>/dev/null`}
13244 XSLT_LIBS=${XSLT_LIBS:-"-lxml2"}
13245 $as_echo "$as_me:${as_lineno-$LINENO}: libxslt cflags: $XSLT_CFLAGS" >&5
13246 $as_echo "$as_me:${as_lineno-$LINENO}: libxslt libs: $XSLT_LIBS" >&5
13247 ac_save_CPPFLAGS=$CPPFLAGS
13248 CPPFLAGS="$CPPFLAGS $XSLT_CFLAGS"
13249 for ac_header in libxslt/pattern.h libxslt/transform.h
13250 do :
13251 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
13252 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_LIBXSLT_PATTERN_H
13253 # include <libxslt/pattern.h>
13254 #endif
13256 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
13257 cat >>confdefs.h <<_ACEOF
13258 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
13259 _ACEOF
13263 done
13265 if test "$ac_cv_header_libxslt_transform_h" = "yes"
13266 then
13267 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lxslt" >&5
13268 $as_echo_n "checking for -lxslt... " >&6; }
13269 if ${ac_cv_lib_soname_xslt+:} false; then :
13270 $as_echo_n "(cached) " >&6
13271 else
13272 ac_check_soname_save_LIBS=$LIBS
13273 LIBS="-lxslt $XSLT_LIBS $LIBS"
13274 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13275 /* end confdefs.h. */
13277 /* Override any GCC internal prototype to avoid an error.
13278 Use char because int might match the return type of a GCC
13279 builtin and then its argument prototype would still apply. */
13280 #ifdef __cplusplus
13281 extern "C"
13282 #endif
13283 char xsltCompilePattern ();
13285 main ()
13287 return xsltCompilePattern ();
13289 return 0;
13291 _ACEOF
13292 if ac_fn_c_try_link "$LINENO"; then :
13293 case "$LIBEXT" in
13294 dll) ac_cv_lib_soname_xslt=`$ac_cv_path_LDD conftest.exe | grep "xslt" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13295 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'` ;;
13296 *) ac_cv_lib_soname_xslt=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libxslt\\.$LIBEXT" | sed -e "s/^.*\\[\\(libxslt\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13297 if ${ac_cv_lib_soname_xslt:+false} :; then :
13298 ac_cv_lib_soname_xslt=`$LDD conftest$ac_exeext | grep "libxslt\\.$LIBEXT" | sed -e "s/^.*\(libxslt\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13299 fi ;;
13300 esac
13301 else
13302 ac_cv_lib_soname_xslt=
13304 rm -f core conftest.err conftest.$ac_objext \
13305 conftest$ac_exeext conftest.$ac_ext
13306 LIBS=$ac_check_soname_save_LIBS
13308 if ${ac_cv_lib_soname_xslt:+false} :; then :
13309 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13310 $as_echo "not found" >&6; }
13312 else
13313 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_xslt" >&5
13314 $as_echo "$ac_cv_lib_soname_xslt" >&6; }
13316 cat >>confdefs.h <<_ACEOF
13317 #define SONAME_LIBXSLT "$ac_cv_lib_soname_xslt"
13318 _ACEOF
13322 else
13323 XSLT_CFLAGS=""
13325 CPPFLAGS=$ac_save_CPPFLAGS
13328 if test "x$ac_cv_lib_soname_xslt" = "x"; then :
13329 case "x$with_xslt" in
13330 x) as_fn_append wine_warnings "|libxslt ${notice_platform}development files not found, xslt won't be supported." ;;
13331 xno) ;;
13332 *) as_fn_error $? "libxslt ${notice_platform}development files not found, xslt won't be supported.
13333 This is an error since --with-xslt was requested." "$LINENO" 5 ;;
13334 esac
13338 if test "x$with_inotify" != "xno"
13339 then
13340 if ${INOTIFY_CFLAGS:+false} :; then :
13341 if ${PKG_CONFIG+:} false; then :
13342 INOTIFY_CFLAGS=`$PKG_CONFIG --cflags libinotify 2>/dev/null`
13346 if ${INOTIFY_LIBS:+false} :; then :
13347 if ${PKG_CONFIG+:} false; then :
13348 INOTIFY_LIBS=`$PKG_CONFIG --libs libinotify 2>/dev/null`
13353 $as_echo "$as_me:${as_lineno-$LINENO}: libinotify cflags: $INOTIFY_CFLAGS" >&5
13354 $as_echo "$as_me:${as_lineno-$LINENO}: libinotify libs: $INOTIFY_LIBS" >&5
13355 ac_save_CPPFLAGS=$CPPFLAGS
13356 CPPFLAGS="$CPPFLAGS $INOTIFY_CFLAGS"
13357 for ac_header in sys/inotify.h
13358 do :
13359 ac_fn_c_check_header_mongrel "$LINENO" "sys/inotify.h" "ac_cv_header_sys_inotify_h" "$ac_includes_default"
13360 if test "x$ac_cv_header_sys_inotify_h" = xyes; then :
13361 cat >>confdefs.h <<_ACEOF
13362 #define HAVE_SYS_INOTIFY_H 1
13363 _ACEOF
13367 done
13369 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inotify_add_watch in -linotify" >&5
13370 $as_echo_n "checking for inotify_add_watch in -linotify... " >&6; }
13371 if ${ac_cv_lib_inotify_inotify_add_watch+:} false; then :
13372 $as_echo_n "(cached) " >&6
13373 else
13374 ac_check_lib_save_LIBS=$LIBS
13375 LIBS="-linotify $INOTIFY_LIBS $LIBS"
13376 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13377 /* end confdefs.h. */
13379 /* Override any GCC internal prototype to avoid an error.
13380 Use char because int might match the return type of a GCC
13381 builtin and then its argument prototype would still apply. */
13382 #ifdef __cplusplus
13383 extern "C"
13384 #endif
13385 char inotify_add_watch ();
13387 main ()
13389 return inotify_add_watch ();
13391 return 0;
13393 _ACEOF
13394 if ac_fn_c_try_link "$LINENO"; then :
13395 ac_cv_lib_inotify_inotify_add_watch=yes
13396 else
13397 ac_cv_lib_inotify_inotify_add_watch=no
13399 rm -f core conftest.err conftest.$ac_objext \
13400 conftest$ac_exeext conftest.$ac_ext
13401 LIBS=$ac_check_lib_save_LIBS
13403 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_inotify_inotify_add_watch" >&5
13404 $as_echo "$ac_cv_lib_inotify_inotify_add_watch" >&6; }
13405 if test "x$ac_cv_lib_inotify_inotify_add_watch" = xyes; then :
13407 else
13408 INOTIFY_LIBS=""
13411 CPPFLAGS=$ac_save_CPPFLAGS
13414 if test "$ac_cv_header_sys_inotify_h" != "yes"; then :
13415 case "x$with_inotify" in
13416 x) as_fn_append wine_notices "|libinotify ${notice_platform}development files not found (or too old), filesystem change notifications won't be supported." ;;
13417 xno) ;;
13418 *) as_fn_error $? "libinotify ${notice_platform}development files not found (or too old), filesystem change notifications won't be supported.
13419 This is an error since --with-inotify was requested." "$LINENO" 5 ;;
13420 esac
13424 if test "x$with_dbus" != "xno"
13425 then
13426 if ${DBUS_CFLAGS:+false} :; then :
13427 if ${PKG_CONFIG+:} false; then :
13428 DBUS_CFLAGS=`$PKG_CONFIG --cflags dbus-1 2>/dev/null`
13432 if ${DBUS_LIBS:+false} :; then :
13433 if ${PKG_CONFIG+:} false; then :
13434 DBUS_LIBS=`$PKG_CONFIG --libs dbus-1 2>/dev/null`
13439 $as_echo "$as_me:${as_lineno-$LINENO}: dbus-1 cflags: $DBUS_CFLAGS" >&5
13440 $as_echo "$as_me:${as_lineno-$LINENO}: dbus-1 libs: $DBUS_LIBS" >&5
13441 ac_save_CPPFLAGS=$CPPFLAGS
13442 CPPFLAGS="$CPPFLAGS $DBUS_CFLAGS"
13443 ac_fn_c_check_header_mongrel "$LINENO" "dbus/dbus.h" "ac_cv_header_dbus_dbus_h" "$ac_includes_default"
13444 if test "x$ac_cv_header_dbus_dbus_h" = xyes; then :
13445 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ldbus-1" >&5
13446 $as_echo_n "checking for -ldbus-1... " >&6; }
13447 if ${ac_cv_lib_soname_dbus_1+:} false; then :
13448 $as_echo_n "(cached) " >&6
13449 else
13450 ac_check_soname_save_LIBS=$LIBS
13451 LIBS="-ldbus-1 $DBUS_LIBS $LIBS"
13452 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13453 /* end confdefs.h. */
13455 /* Override any GCC internal prototype to avoid an error.
13456 Use char because int might match the return type of a GCC
13457 builtin and then its argument prototype would still apply. */
13458 #ifdef __cplusplus
13459 extern "C"
13460 #endif
13461 char dbus_connection_close ();
13463 main ()
13465 return dbus_connection_close ();
13467 return 0;
13469 _ACEOF
13470 if ac_fn_c_try_link "$LINENO"; then :
13471 case "$LIBEXT" in
13472 dll) ac_cv_lib_soname_dbus_1=`$ac_cv_path_LDD conftest.exe | grep "dbus-1" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13473 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'` ;;
13474 *) 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'`
13475 if ${ac_cv_lib_soname_dbus_1:+false} :; then :
13476 ac_cv_lib_soname_dbus_1=`$LDD conftest$ac_exeext | grep "libdbus-1\\.$LIBEXT" | sed -e "s/^.*\(libdbus-1\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13477 fi ;;
13478 esac
13479 else
13480 ac_cv_lib_soname_dbus_1=
13482 rm -f core conftest.err conftest.$ac_objext \
13483 conftest$ac_exeext conftest.$ac_ext
13484 LIBS=$ac_check_soname_save_LIBS
13486 if ${ac_cv_lib_soname_dbus_1:+false} :; then :
13487 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13488 $as_echo "not found" >&6; }
13489 DBUS_CFLAGS=""
13490 else
13491 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_dbus_1" >&5
13492 $as_echo "$ac_cv_lib_soname_dbus_1" >&6; }
13494 cat >>confdefs.h <<_ACEOF
13495 #define SONAME_LIBDBUS_1 "$ac_cv_lib_soname_dbus_1"
13496 _ACEOF
13500 else
13501 DBUS_CFLAGS=""
13505 CPPFLAGS=$ac_save_CPPFLAGS
13508 if test "x$ac_cv_lib_soname_dbus_1" = "x" -a \
13509 "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"; then :
13510 case "x$with_dbus" in
13511 x) as_fn_append wine_notices "|libdbus ${notice_platform}development files not found, no dynamic device support." ;;
13512 xno) ;;
13513 *) as_fn_error $? "libdbus ${notice_platform}development files not found, no dynamic device support.
13514 This is an error since --with-dbus was requested." "$LINENO" 5 ;;
13515 esac
13519 if test "x$with_hal" != "xno" -a "x$ac_cv_lib_soname_dbus_1" != x
13520 then
13521 if ${HAL_CFLAGS:+false} :; then :
13522 if ${PKG_CONFIG+:} false; then :
13523 HAL_CFLAGS=`$PKG_CONFIG --cflags hal 2>/dev/null`
13527 if ${HAL_LIBS:+false} :; then :
13528 if ${PKG_CONFIG+:} false; then :
13529 HAL_LIBS=`$PKG_CONFIG --libs hal 2>/dev/null`
13533 HAL_LIBS=${HAL_LIBS:-"-ldbus-1"}
13534 $as_echo "$as_me:${as_lineno-$LINENO}: hal cflags: $HAL_CFLAGS" >&5
13535 $as_echo "$as_me:${as_lineno-$LINENO}: hal libs: $HAL_LIBS" >&5
13536 ac_save_CPPFLAGS=$CPPFLAGS
13537 CPPFLAGS="$CPPFLAGS $HAL_CFLAGS"
13538 ac_fn_c_check_header_mongrel "$LINENO" "hal/libhal.h" "ac_cv_header_hal_libhal_h" "$ac_includes_default"
13539 if test "x$ac_cv_header_hal_libhal_h" = xyes; then :
13540 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lhal" >&5
13541 $as_echo_n "checking for -lhal... " >&6; }
13542 if ${ac_cv_lib_soname_hal+:} false; then :
13543 $as_echo_n "(cached) " >&6
13544 else
13545 ac_check_soname_save_LIBS=$LIBS
13546 LIBS="-lhal $HAL_LIBS $LIBS"
13547 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13548 /* end confdefs.h. */
13550 /* Override any GCC internal prototype to avoid an error.
13551 Use char because int might match the return type of a GCC
13552 builtin and then its argument prototype would still apply. */
13553 #ifdef __cplusplus
13554 extern "C"
13555 #endif
13556 char libhal_ctx_new ();
13558 main ()
13560 return libhal_ctx_new ();
13562 return 0;
13564 _ACEOF
13565 if ac_fn_c_try_link "$LINENO"; then :
13566 case "$LIBEXT" in
13567 dll) ac_cv_lib_soname_hal=`$ac_cv_path_LDD conftest.exe | grep "hal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13568 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'` ;;
13569 *) ac_cv_lib_soname_hal=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libhal\\.$LIBEXT" | sed -e "s/^.*\\[\\(libhal\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13570 if ${ac_cv_lib_soname_hal:+false} :; then :
13571 ac_cv_lib_soname_hal=`$LDD conftest$ac_exeext | grep "libhal\\.$LIBEXT" | sed -e "s/^.*\(libhal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13572 fi ;;
13573 esac
13574 else
13575 ac_cv_lib_soname_hal=
13577 rm -f core conftest.err conftest.$ac_objext \
13578 conftest$ac_exeext conftest.$ac_ext
13579 LIBS=$ac_check_soname_save_LIBS
13581 if ${ac_cv_lib_soname_hal:+false} :; then :
13582 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13583 $as_echo "not found" >&6; }
13584 HAL_CFLAGS=""
13585 else
13586 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_hal" >&5
13587 $as_echo "$ac_cv_lib_soname_hal" >&6; }
13589 cat >>confdefs.h <<_ACEOF
13590 #define SONAME_LIBHAL "$ac_cv_lib_soname_hal"
13591 _ACEOF
13595 else
13596 HAL_CFLAGS=""
13600 CPPFLAGS=$ac_save_CPPFLAGS
13602 if test "x$ac_cv_lib_soname_hal" = "x" -a \
13603 "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"; then :
13604 case "x$with_hal" in
13605 x) as_fn_append wine_notices "|libhal ${notice_platform}development files not found, no legacy dynamic device support." ;;
13606 xno) ;;
13607 *) as_fn_error $? "libhal ${notice_platform}development files not found, no legacy dynamic device support.
13608 This is an error since --with-hal was requested." "$LINENO" 5 ;;
13609 esac
13614 if test "x$with_gnutls" != "xno"
13615 then
13616 if ${GNUTLS_CFLAGS:+false} :; then :
13617 if ${PKG_CONFIG+:} false; then :
13618 GNUTLS_CFLAGS=`$PKG_CONFIG --cflags gnutls 2>/dev/null`
13622 if ${GNUTLS_LIBS:+false} :; then :
13623 if ${PKG_CONFIG+:} false; then :
13624 GNUTLS_LIBS=`$PKG_CONFIG --libs gnutls 2>/dev/null`
13628 GNUTLS_LIBS=${GNUTLS_LIBS:-"-lgnutls"}
13629 $as_echo "$as_me:${as_lineno-$LINENO}: gnutls cflags: $GNUTLS_CFLAGS" >&5
13630 $as_echo "$as_me:${as_lineno-$LINENO}: gnutls libs: $GNUTLS_LIBS" >&5
13631 ac_save_CPPFLAGS=$CPPFLAGS
13632 CPPFLAGS="$CPPFLAGS $GNUTLS_CFLAGS"
13633 ac_fn_c_check_header_mongrel "$LINENO" "gnutls/gnutls.h" "ac_cv_header_gnutls_gnutls_h" "$ac_includes_default"
13634 if test "x$ac_cv_header_gnutls_gnutls_h" = xyes; then :
13635 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13636 /* end confdefs.h. */
13637 #include <gnutls/gnutls.h>
13638 #include <gnutls/crypto.h>
13640 main ()
13642 static typeof(gnutls_mac_get_key_size) *func; if (func) return 0;
13644 return 0;
13646 _ACEOF
13647 if ac_fn_c_try_compile "$LINENO"; then :
13648 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgnutls" >&5
13649 $as_echo_n "checking for -lgnutls... " >&6; }
13650 if ${ac_cv_lib_soname_gnutls+:} false; then :
13651 $as_echo_n "(cached) " >&6
13652 else
13653 ac_check_soname_save_LIBS=$LIBS
13654 LIBS="-lgnutls $GNUTLS_LIBS $LIBS"
13655 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13656 /* end confdefs.h. */
13658 /* Override any GCC internal prototype to avoid an error.
13659 Use char because int might match the return type of a GCC
13660 builtin and then its argument prototype would still apply. */
13661 #ifdef __cplusplus
13662 extern "C"
13663 #endif
13664 char gnutls_global_init ();
13666 main ()
13668 return gnutls_global_init ();
13670 return 0;
13672 _ACEOF
13673 if ac_fn_c_try_link "$LINENO"; then :
13674 case "$LIBEXT" in
13675 dll) ac_cv_lib_soname_gnutls=`$ac_cv_path_LDD conftest.exe | grep "gnutls" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13676 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'` ;;
13677 *) 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'`
13678 if ${ac_cv_lib_soname_gnutls:+false} :; then :
13679 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'`
13680 fi ;;
13681 esac
13682 else
13683 ac_cv_lib_soname_gnutls=
13685 rm -f core conftest.err conftest.$ac_objext \
13686 conftest$ac_exeext conftest.$ac_ext
13687 LIBS=$ac_check_soname_save_LIBS
13689 if ${ac_cv_lib_soname_gnutls:+false} :; then :
13690 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13691 $as_echo "not found" >&6; }
13692 GNUTLS_CFLAGS=""
13693 else
13694 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gnutls" >&5
13695 $as_echo "$ac_cv_lib_soname_gnutls" >&6; }
13697 cat >>confdefs.h <<_ACEOF
13698 #define SONAME_LIBGNUTLS "$ac_cv_lib_soname_gnutls"
13699 _ACEOF
13703 ac_wine_check_funcs_save_LIBS="$LIBS"
13704 LIBS="$LIBS $GNUTLS_LIBS"
13705 for ac_func in gnutls_cipher_init
13706 do :
13707 ac_fn_c_check_func "$LINENO" "gnutls_cipher_init" "ac_cv_func_gnutls_cipher_init"
13708 if test "x$ac_cv_func_gnutls_cipher_init" = xyes; then :
13709 cat >>confdefs.h <<_ACEOF
13710 #define HAVE_GNUTLS_CIPHER_INIT 1
13711 _ACEOF
13713 else
13714 as_fn_append wine_notices "|libgnutls ${notice_platform}development files too old, bcrypt encryption won't be supported."
13716 done
13718 LIBS="$ac_wine_check_funcs_save_LIBS"
13720 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13721 else
13722 GNUTLS_CFLAGS=""
13726 CPPFLAGS=$ac_save_CPPFLAGS
13729 if test "x$ac_cv_lib_soname_gnutls" = "x"; then :
13730 case "x$with_gnutls" in
13731 x) as_fn_append wine_warnings "|libgnutls ${notice_platform}development files not found, no schannel support." ;;
13732 xno) ;;
13733 *) as_fn_error $? "libgnutls ${notice_platform}development files not found, no schannel support.
13734 This is an error since --with-gnutls was requested." "$LINENO" 5 ;;
13735 esac
13739 if test "x$with_sane" != "xno"
13740 then
13741 if ${SANE_CFLAGS:+false} :; then :
13742 if ${PKG_CONFIG+:} false; then :
13743 SANE_CFLAGS=`$PKG_CONFIG --cflags sane-backends 2>/dev/null`
13746 test "$cross_compiling" = yes || SANE_CFLAGS=${SANE_CFLAGS:-`${SANE_CONFIG:-sane-config} --cflags 2>/dev/null`}
13747 if ${SANE_LIBS:+false} :; then :
13748 if ${PKG_CONFIG+:} false; then :
13749 SANE_LIBS=`$PKG_CONFIG --libs sane-backends 2>/dev/null`
13752 test "$cross_compiling" = yes || SANE_LIBS=${SANE_LIBS:-`${SANE_CONFIG:-sane-config} --ldflags 2>/dev/null`}
13754 $as_echo "$as_me:${as_lineno-$LINENO}: sane-backends cflags: $SANE_CFLAGS" >&5
13755 $as_echo "$as_me:${as_lineno-$LINENO}: sane-backends libs: $SANE_LIBS" >&5
13756 ac_save_CPPFLAGS=$CPPFLAGS
13757 CPPFLAGS="$CPPFLAGS $SANE_CFLAGS"
13758 ac_fn_c_check_header_mongrel "$LINENO" "sane/sane.h" "ac_cv_header_sane_sane_h" "$ac_includes_default"
13759 if test "x$ac_cv_header_sane_sane_h" = xyes; then :
13760 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lsane" >&5
13761 $as_echo_n "checking for -lsane... " >&6; }
13762 if ${ac_cv_lib_soname_sane+:} false; then :
13763 $as_echo_n "(cached) " >&6
13764 else
13765 ac_check_soname_save_LIBS=$LIBS
13766 LIBS="-lsane $SANE_LIBS $LIBS"
13767 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13768 /* end confdefs.h. */
13770 /* Override any GCC internal prototype to avoid an error.
13771 Use char because int might match the return type of a GCC
13772 builtin and then its argument prototype would still apply. */
13773 #ifdef __cplusplus
13774 extern "C"
13775 #endif
13776 char sane_init ();
13778 main ()
13780 return sane_init ();
13782 return 0;
13784 _ACEOF
13785 if ac_fn_c_try_link "$LINENO"; then :
13786 case "$LIBEXT" in
13787 dll) ac_cv_lib_soname_sane=`$ac_cv_path_LDD conftest.exe | grep "sane" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13788 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'` ;;
13789 *) ac_cv_lib_soname_sane=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libsane\\.$LIBEXT" | sed -e "s/^.*\\[\\(libsane\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13790 if ${ac_cv_lib_soname_sane:+false} :; then :
13791 ac_cv_lib_soname_sane=`$LDD conftest$ac_exeext | grep "libsane\\.$LIBEXT" | sed -e "s/^.*\(libsane\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13792 fi ;;
13793 esac
13794 else
13795 ac_cv_lib_soname_sane=
13797 rm -f core conftest.err conftest.$ac_objext \
13798 conftest$ac_exeext conftest.$ac_ext
13799 LIBS=$ac_check_soname_save_LIBS
13801 if ${ac_cv_lib_soname_sane:+false} :; then :
13802 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13803 $as_echo "not found" >&6; }
13804 SANE_CFLAGS=""
13805 else
13806 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_sane" >&5
13807 $as_echo "$ac_cv_lib_soname_sane" >&6; }
13809 cat >>confdefs.h <<_ACEOF
13810 #define SONAME_LIBSANE "$ac_cv_lib_soname_sane"
13811 _ACEOF
13815 else
13816 SANE_CFLAGS=""
13820 CPPFLAGS=$ac_save_CPPFLAGS
13823 if test "x$ac_cv_lib_soname_sane" = "x"; then :
13824 case "x$with_sane" in
13825 x) as_fn_append wine_notices "|libsane ${notice_platform}development files not found, scanners won't be supported." ;;
13826 xno) ;;
13827 *) as_fn_error $? "libsane ${notice_platform}development files not found, scanners won't be supported.
13828 This is an error since --with-sane was requested." "$LINENO" 5 ;;
13829 esac
13833 if test "x$with_usb" != "xno"
13834 then
13835 if ${USB_CFLAGS:+false} :; then :
13836 if ${PKG_CONFIG+:} false; then :
13837 USB_CFLAGS=`$PKG_CONFIG --cflags libusb-1.0 2>/dev/null`
13841 if ${USB_LIBS:+false} :; then :
13842 if ${PKG_CONFIG+:} false; then :
13843 USB_LIBS=`$PKG_CONFIG --libs libusb-1.0 2>/dev/null`
13847 USB_LIBS=${USB_LIBS:-"-lusb-1.0"}
13848 $as_echo "$as_me:${as_lineno-$LINENO}: libusb-1.0 cflags: $USB_CFLAGS" >&5
13849 $as_echo "$as_me:${as_lineno-$LINENO}: libusb-1.0 libs: $USB_LIBS" >&5
13850 ac_save_CPPFLAGS=$CPPFLAGS
13851 CPPFLAGS="$CPPFLAGS $USB_CFLAGS"
13852 ac_fn_c_check_header_mongrel "$LINENO" "libusb.h" "ac_cv_header_libusb_h" "$ac_includes_default"
13853 if test "x$ac_cv_header_libusb_h" = xyes; then :
13854 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libusb_interrupt_event_handler in -lusb-1.0" >&5
13855 $as_echo_n "checking for libusb_interrupt_event_handler in -lusb-1.0... " >&6; }
13856 if ${ac_cv_lib_usb_1_0_libusb_interrupt_event_handler+:} false; then :
13857 $as_echo_n "(cached) " >&6
13858 else
13859 ac_check_lib_save_LIBS=$LIBS
13860 LIBS="-lusb-1.0 $USB_LIBS $LIBS"
13861 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13862 /* end confdefs.h. */
13864 /* Override any GCC internal prototype to avoid an error.
13865 Use char because int might match the return type of a GCC
13866 builtin and then its argument prototype would still apply. */
13867 #ifdef __cplusplus
13868 extern "C"
13869 #endif
13870 char libusb_interrupt_event_handler ();
13872 main ()
13874 return libusb_interrupt_event_handler ();
13876 return 0;
13878 _ACEOF
13879 if ac_fn_c_try_link "$LINENO"; then :
13880 ac_cv_lib_usb_1_0_libusb_interrupt_event_handler=yes
13881 else
13882 ac_cv_lib_usb_1_0_libusb_interrupt_event_handler=no
13884 rm -f core conftest.err conftest.$ac_objext \
13885 conftest$ac_exeext conftest.$ac_ext
13886 LIBS=$ac_check_lib_save_LIBS
13888 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_usb_1_0_libusb_interrupt_event_handler" >&5
13889 $as_echo "$ac_cv_lib_usb_1_0_libusb_interrupt_event_handler" >&6; }
13890 if test "x$ac_cv_lib_usb_1_0_libusb_interrupt_event_handler" = xyes; then :
13892 else
13893 USB_LIBS=""
13896 else
13897 USB_LIBS=""
13901 CPPFLAGS=$ac_save_CPPFLAGS
13904 if test "$ac_cv_lib_usb_1_0_libusb_interrupt_event_handler" != "yes"; then :
13905 case "x$with_usb" in
13906 x) as_fn_append wine_notices "|libusb-1.0 ${notice_platform}development files not found (or too old), USB devices won't be supported." ;;
13907 xno) ;;
13908 *) as_fn_error $? "libusb-1.0 ${notice_platform}development files not found (or too old), USB devices won't be supported.
13909 This is an error since --with-usb was requested." "$LINENO" 5 ;;
13910 esac
13911 enable_wineusb_sys=${enable_wineusb_sys:-no}
13914 if test "x$with_v4l2" != "xno"
13915 then
13916 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lv4l2" >&5
13917 $as_echo_n "checking for -lv4l2... " >&6; }
13918 if ${ac_cv_lib_soname_v4l2+:} false; then :
13919 $as_echo_n "(cached) " >&6
13920 else
13921 ac_check_soname_save_LIBS=$LIBS
13922 LIBS="-lv4l2 $LIBS"
13923 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13924 /* end confdefs.h. */
13926 /* Override any GCC internal prototype to avoid an error.
13927 Use char because int might match the return type of a GCC
13928 builtin and then its argument prototype would still apply. */
13929 #ifdef __cplusplus
13930 extern "C"
13931 #endif
13932 char v4l2_open ();
13934 main ()
13936 return v4l2_open ();
13938 return 0;
13940 _ACEOF
13941 if ac_fn_c_try_link "$LINENO"; then :
13942 case "$LIBEXT" in
13943 dll) ac_cv_lib_soname_v4l2=`$ac_cv_path_LDD conftest.exe | grep "v4l2" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13944 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'` ;;
13945 *) ac_cv_lib_soname_v4l2=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libv4l2\\.$LIBEXT" | sed -e "s/^.*\\[\\(libv4l2\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13946 if ${ac_cv_lib_soname_v4l2:+false} :; then :
13947 ac_cv_lib_soname_v4l2=`$LDD conftest$ac_exeext | grep "libv4l2\\.$LIBEXT" | sed -e "s/^.*\(libv4l2\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13948 fi ;;
13949 esac
13950 else
13951 ac_cv_lib_soname_v4l2=
13953 rm -f core conftest.err conftest.$ac_objext \
13954 conftest$ac_exeext conftest.$ac_ext
13955 LIBS=$ac_check_soname_save_LIBS
13957 if ${ac_cv_lib_soname_v4l2:+false} :; then :
13958 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13959 $as_echo "not found" >&6; }
13961 else
13962 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_v4l2" >&5
13963 $as_echo "$ac_cv_lib_soname_v4l2" >&6; }
13965 cat >>confdefs.h <<_ACEOF
13966 #define SONAME_LIBV4L2 "$ac_cv_lib_soname_v4l2"
13967 _ACEOF
13972 if test "x$ac_cv_lib_soname_v4l2" = "x"; then :
13973 case "x$with_v4l2" in
13974 x) as_fn_append wine_notices "|libv4l2 ${notice_platform}development files not found." ;;
13975 xno) ;;
13976 *) as_fn_error $? "libv4l2 ${notice_platform}development files not found.
13977 This is an error since --with-v4l2 was requested." "$LINENO" 5 ;;
13978 esac
13982 if test "x$with_gphoto" != "xno"
13983 then
13984 if ${GPHOTO2_CFLAGS:+false} :; then :
13985 if ${PKG_CONFIG+:} false; then :
13986 GPHOTO2_CFLAGS=`$PKG_CONFIG --cflags libgphoto2 2>/dev/null`
13989 test "$cross_compiling" = yes || GPHOTO2_CFLAGS=${GPHOTO2_CFLAGS:-`${GPHOTO2_CONFIG:-gphoto2-config} --cflags 2>/dev/null`}
13990 if ${GPHOTO2_LIBS:+false} :; then :
13991 if ${PKG_CONFIG+:} false; then :
13992 GPHOTO2_LIBS=`$PKG_CONFIG --libs libgphoto2 2>/dev/null`
13995 test "$cross_compiling" = yes || GPHOTO2_LIBS=${GPHOTO2_LIBS:-`${GPHOTO2_CONFIG:-gphoto2-config} --libs 2>/dev/null`}
13996 GPHOTO2_LIBS=${GPHOTO2_LIBS:-"-lgphoto2"}
13997 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2 cflags: $GPHOTO2_CFLAGS" >&5
13998 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2 libs: $GPHOTO2_LIBS" >&5
13999 ac_save_CPPFLAGS=$CPPFLAGS
14000 CPPFLAGS="$CPPFLAGS $GPHOTO2_CFLAGS"
14001 ac_fn_c_check_header_mongrel "$LINENO" "gphoto2-camera.h" "ac_cv_header_gphoto2_camera_h" "$ac_includes_default"
14002 if test "x$ac_cv_header_gphoto2_camera_h" = xyes; then :
14003 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gp_camera_new in -lgphoto2" >&5
14004 $as_echo_n "checking for gp_camera_new in -lgphoto2... " >&6; }
14005 if ${ac_cv_lib_gphoto2_gp_camera_new+:} false; then :
14006 $as_echo_n "(cached) " >&6
14007 else
14008 ac_check_lib_save_LIBS=$LIBS
14009 LIBS="-lgphoto2 $GPHOTO2_LIBS $LIBS"
14010 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14011 /* end confdefs.h. */
14013 /* Override any GCC internal prototype to avoid an error.
14014 Use char because int might match the return type of a GCC
14015 builtin and then its argument prototype would still apply. */
14016 #ifdef __cplusplus
14017 extern "C"
14018 #endif
14019 char gp_camera_new ();
14021 main ()
14023 return gp_camera_new ();
14025 return 0;
14027 _ACEOF
14028 if ac_fn_c_try_link "$LINENO"; then :
14029 ac_cv_lib_gphoto2_gp_camera_new=yes
14030 else
14031 ac_cv_lib_gphoto2_gp_camera_new=no
14033 rm -f core conftest.err conftest.$ac_objext \
14034 conftest$ac_exeext conftest.$ac_ext
14035 LIBS=$ac_check_lib_save_LIBS
14037 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_gp_camera_new" >&5
14038 $as_echo "$ac_cv_lib_gphoto2_gp_camera_new" >&6; }
14039 if test "x$ac_cv_lib_gphoto2_gp_camera_new" = xyes; then :
14041 $as_echo "#define HAVE_GPHOTO2 1" >>confdefs.h
14043 else
14044 GPHOTO2_LIBS=""; GPHOTO2_CFLAGS=""
14047 else
14048 GPHOTO2_LIBS=""; GPHOTO2_CFLAGS=""
14052 CPPFLAGS=$ac_save_CPPFLAGS
14054 if ${GPHOTO2_PORT_CFLAGS:+false} :; then :
14055 if ${PKG_CONFIG+:} false; then :
14056 GPHOTO2_PORT_CFLAGS=`$PKG_CONFIG --cflags libgphoto2_port 2>/dev/null`
14059 test "$cross_compiling" = yes || GPHOTO2_PORT_CFLAGS=${GPHOTO2_PORT_CFLAGS:-`${GPHOTO2_PORT_CONFIG:-gphoto2-port-config} --cflags 2>/dev/null`}
14060 if ${GPHOTO2_PORT_LIBS:+false} :; then :
14061 if ${PKG_CONFIG+:} false; then :
14062 GPHOTO2_PORT_LIBS=`$PKG_CONFIG --libs libgphoto2_port 2>/dev/null`
14065 test "$cross_compiling" = yes || GPHOTO2_PORT_LIBS=${GPHOTO2_PORT_LIBS:-`${GPHOTO2_PORT_CONFIG:-gphoto2-port-config} --libs 2>/dev/null`}
14066 GPHOTO2_PORT_LIBS=${GPHOTO2_PORT_LIBS:-"-lgphoto2_port"}
14067 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2_port cflags: $GPHOTO2_PORT_CFLAGS" >&5
14068 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2_port libs: $GPHOTO2_PORT_LIBS" >&5
14069 ac_save_CPPFLAGS=$CPPFLAGS
14070 CPPFLAGS="$CPPFLAGS $GPHOTO2_PORT_CFLAGS"
14071 ac_fn_c_check_header_mongrel "$LINENO" "gphoto2-port.h" "ac_cv_header_gphoto2_port_h" "$ac_includes_default"
14072 if test "x$ac_cv_header_gphoto2_port_h" = xyes; then :
14073 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gp_port_info_list_new in -lgphoto2_port" >&5
14074 $as_echo_n "checking for gp_port_info_list_new in -lgphoto2_port... " >&6; }
14075 if ${ac_cv_lib_gphoto2_port_gp_port_info_list_new+:} false; then :
14076 $as_echo_n "(cached) " >&6
14077 else
14078 ac_check_lib_save_LIBS=$LIBS
14079 LIBS="-lgphoto2_port $GPHOTO2_PORT_LIBS $LIBS"
14080 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14081 /* end confdefs.h. */
14083 /* Override any GCC internal prototype to avoid an error.
14084 Use char because int might match the return type of a GCC
14085 builtin and then its argument prototype would still apply. */
14086 #ifdef __cplusplus
14087 extern "C"
14088 #endif
14089 char gp_port_info_list_new ();
14091 main ()
14093 return gp_port_info_list_new ();
14095 return 0;
14097 _ACEOF
14098 if ac_fn_c_try_link "$LINENO"; then :
14099 ac_cv_lib_gphoto2_port_gp_port_info_list_new=yes
14100 else
14101 ac_cv_lib_gphoto2_port_gp_port_info_list_new=no
14103 rm -f core conftest.err conftest.$ac_objext \
14104 conftest$ac_exeext conftest.$ac_ext
14105 LIBS=$ac_check_lib_save_LIBS
14107 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&5
14108 $as_echo "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&6; }
14109 if test "x$ac_cv_lib_gphoto2_port_gp_port_info_list_new" = xyes; then :
14111 $as_echo "#define HAVE_GPHOTO2_PORT 1" >>confdefs.h
14113 else
14114 GPHOTO2_PORT_LIBS=""; GPHOTO2_PORT_CFLAGS=""
14117 else
14118 GPHOTO2_PORT_LIBS=""; GPHOTO2_PORT_CFLAGS=""
14122 CPPFLAGS=$ac_save_CPPFLAGS
14125 if test "$ac_cv_lib_gphoto2_gp_camera_new" != "yes"; then :
14126 case "x$with_gphoto" in
14127 x) as_fn_append wine_notices "|libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported." ;;
14128 xno) ;;
14129 *) as_fn_error $? "libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported.
14130 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
14131 esac
14134 if test "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" != "yes"; then :
14135 case "x$with_gphoto" in
14136 x) as_fn_append wine_notices "|libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected." ;;
14137 xno) ;;
14138 *) as_fn_error $? "libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected.
14139 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
14140 esac
14145 if test "$ac_cv_header_resolv_h" = "yes"
14146 then
14147 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for resolver library" >&5
14148 $as_echo_n "checking for resolver library... " >&6; }
14149 if ${ac_cv_have_resolv+:} false; then :
14150 $as_echo_n "(cached) " >&6
14151 else
14152 ac_save_LIBS="$LIBS"
14153 for lib in '' -lresolv
14155 LIBS="$lib $ac_save_LIBS"
14156 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14157 /* end confdefs.h. */
14158 #ifdef HAVE_NETINET_IN_H
14159 #include <netinet/in.h>
14160 #endif
14161 #include <resolv.h>
14163 main ()
14165 if (!(_res.options & RES_INIT)) res_init(); res_query("foo",ns_c_in,0,0,0)
14167 return 0;
14169 _ACEOF
14170 if ac_fn_c_try_link "$LINENO"; then :
14171 ac_cv_have_resolv=${lib:-"none required"}
14172 else
14173 ac_cv_have_resolv="not found"
14175 rm -f core conftest.err conftest.$ac_objext \
14176 conftest$ac_exeext conftest.$ac_ext
14177 test "x$ac_cv_have_resolv" = "xnot found" || break
14178 done
14179 LIBS="$ac_save_LIBS"
14181 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_resolv" >&5
14182 $as_echo "$ac_cv_have_resolv" >&6; }
14184 case "$ac_cv_have_resolv" in
14185 "not found") ;;
14186 "none required")
14188 $as_echo "#define HAVE_RESOLV 1" >>confdefs.h
14191 $as_echo "#define HAVE_RESOLV 1" >>confdefs.h
14193 RESOLV_LIBS=$ac_cv_have_resolv
14195 esac
14197 if test "x$ac_cv_have_resolv" != "xnot found"
14198 then
14199 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for res_getservers" >&5
14200 $as_echo_n "checking for res_getservers... " >&6; }
14201 if ${ac_cv_have_res_getservers+:} false; then :
14202 $as_echo_n "(cached) " >&6
14203 else
14204 ac_save_LIBS="$LIBS"
14205 LIBS="$RESOLV_LIBS $LIBS"
14206 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14207 /* end confdefs.h. */
14208 #include <resolv.h>
14210 main ()
14212 res_getservers(NULL, NULL, 0);
14214 return 0;
14216 _ACEOF
14217 if ac_fn_c_try_link "$LINENO"; then :
14218 ac_cv_have_res_getservers=yes
14219 else
14220 ac_cv_have_res_getservers=no
14222 rm -f core conftest.err conftest.$ac_objext \
14223 conftest$ac_exeext conftest.$ac_ext
14224 LIBS="$ac_save_LIBS"
14226 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_res_getservers" >&5
14227 $as_echo "$ac_cv_have_res_getservers" >&6; }
14228 if test "$ac_cv_have_res_getservers" = "yes"
14229 then
14231 $as_echo "#define HAVE_RES_GETSERVERS 1" >>confdefs.h
14237 if test "x$with_cms" != "xno"
14238 then
14239 if ${LCMS2_CFLAGS:+false} :; then :
14240 if ${PKG_CONFIG+:} false; then :
14241 LCMS2_CFLAGS=`$PKG_CONFIG --cflags lcms2 2>/dev/null`
14245 if ${LCMS2_LIBS:+false} :; then :
14246 if ${PKG_CONFIG+:} false; then :
14247 LCMS2_LIBS=`$PKG_CONFIG --libs lcms2 2>/dev/null`
14251 LCMS2_LIBS=${LCMS2_LIBS:-"-llcms2"}
14252 $as_echo "$as_me:${as_lineno-$LINENO}: lcms2 cflags: $LCMS2_CFLAGS" >&5
14253 $as_echo "$as_me:${as_lineno-$LINENO}: lcms2 libs: $LCMS2_LIBS" >&5
14254 ac_save_CPPFLAGS=$CPPFLAGS
14255 CPPFLAGS="$CPPFLAGS $LCMS2_CFLAGS"
14256 for ac_header in lcms2.h
14257 do :
14258 ac_fn_c_check_header_mongrel "$LINENO" "lcms2.h" "ac_cv_header_lcms2_h" "$ac_includes_default"
14259 if test "x$ac_cv_header_lcms2_h" = xyes; then :
14260 cat >>confdefs.h <<_ACEOF
14261 #define HAVE_LCMS2_H 1
14262 _ACEOF
14266 done
14268 if test "$ac_cv_header_lcms2_h" = "yes"
14269 then
14270 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cmsOpenProfileFromFile in -llcms2" >&5
14271 $as_echo_n "checking for cmsOpenProfileFromFile in -llcms2... " >&6; }
14272 if ${ac_cv_lib_lcms2_cmsOpenProfileFromFile+:} false; then :
14273 $as_echo_n "(cached) " >&6
14274 else
14275 ac_check_lib_save_LIBS=$LIBS
14276 LIBS="-llcms2 $LCMS2_LIBS $LIBS"
14277 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14278 /* end confdefs.h. */
14280 /* Override any GCC internal prototype to avoid an error.
14281 Use char because int might match the return type of a GCC
14282 builtin and then its argument prototype would still apply. */
14283 #ifdef __cplusplus
14284 extern "C"
14285 #endif
14286 char cmsOpenProfileFromFile ();
14288 main ()
14290 return cmsOpenProfileFromFile ();
14292 return 0;
14294 _ACEOF
14295 if ac_fn_c_try_link "$LINENO"; then :
14296 ac_cv_lib_lcms2_cmsOpenProfileFromFile=yes
14297 else
14298 ac_cv_lib_lcms2_cmsOpenProfileFromFile=no
14300 rm -f core conftest.err conftest.$ac_objext \
14301 conftest$ac_exeext conftest.$ac_ext
14302 LIBS=$ac_check_lib_save_LIBS
14304 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lcms2_cmsOpenProfileFromFile" >&5
14305 $as_echo "$ac_cv_lib_lcms2_cmsOpenProfileFromFile" >&6; }
14306 if test "x$ac_cv_lib_lcms2_cmsOpenProfileFromFile" = xyes; then :
14308 $as_echo "#define HAVE_LCMS2 1" >>confdefs.h
14310 else
14311 LCMS2_LIBS=""
14314 else
14315 LCMS2_CFLAGS=""
14316 LCMS2_LIBS=""
14318 CPPFLAGS=$ac_save_CPPFLAGS
14321 if test "$ac_cv_lib_lcms2_cmsOpenProfileFromFile" != "yes"; then :
14322 case "x$with_cms" in
14323 x) as_fn_append wine_notices "|liblcms2 ${notice_platform}development files not found, Color Management won't be supported." ;;
14324 xno) ;;
14325 *) as_fn_error $? "liblcms2 ${notice_platform}development files not found, Color Management won't be supported.
14326 This is an error since --with-cms was requested." "$LINENO" 5 ;;
14327 esac
14331 if test "x$with_freetype" != "xno"
14332 then
14333 if ${FREETYPE_CFLAGS:+false} :; then :
14334 if ${PKG_CONFIG+:} false; then :
14335 FREETYPE_CFLAGS=`$PKG_CONFIG --cflags freetype2 2>/dev/null`
14338 test "$cross_compiling" = yes || FREETYPE_CFLAGS=${FREETYPE_CFLAGS:-`(${FREETYPE_CONFIG:-freetype-config} --cflags || ${FREETYPE2_CONFIG:-freetype2-config} --cflags) 2>/dev/null`}
14339 if ${FREETYPE_LIBS:+false} :; then :
14340 if ${PKG_CONFIG+:} false; then :
14341 FREETYPE_LIBS=`$PKG_CONFIG --libs freetype2 2>/dev/null`
14344 test "$cross_compiling" = yes || FREETYPE_LIBS=${FREETYPE_LIBS:-`(${FREETYPE_CONFIG:-freetype-config} --libs || ${FREETYPE2_CONFIG:-freetype2-config} --libs) 2>/dev/null`}
14345 FREETYPE_LIBS=${FREETYPE_LIBS:-"-lfreetype"}
14346 $as_echo "$as_me:${as_lineno-$LINENO}: freetype2 cflags: $FREETYPE_CFLAGS" >&5
14347 $as_echo "$as_me:${as_lineno-$LINENO}: freetype2 libs: $FREETYPE_LIBS" >&5
14348 ac_save_CPPFLAGS=$CPPFLAGS
14349 CPPFLAGS="$CPPFLAGS $FREETYPE_CFLAGS"
14350 for ac_header in ft2build.h
14351 do :
14352 ac_fn_c_check_header_mongrel "$LINENO" "ft2build.h" "ac_cv_header_ft2build_h" "$ac_includes_default"
14353 if test "x$ac_cv_header_ft2build_h" = xyes; then :
14354 cat >>confdefs.h <<_ACEOF
14355 #define HAVE_FT2BUILD_H 1
14356 _ACEOF
14360 done
14362 if test "$ac_cv_header_ft2build_h" = "yes"
14363 then
14364 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfreetype" >&5
14365 $as_echo_n "checking for -lfreetype... " >&6; }
14366 if ${ac_cv_lib_soname_freetype+:} false; then :
14367 $as_echo_n "(cached) " >&6
14368 else
14369 ac_check_soname_save_LIBS=$LIBS
14370 LIBS="-lfreetype $FREETYPE_LIBS $LIBS"
14371 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14372 /* end confdefs.h. */
14374 /* Override any GCC internal prototype to avoid an error.
14375 Use char because int might match the return type of a GCC
14376 builtin and then its argument prototype would still apply. */
14377 #ifdef __cplusplus
14378 extern "C"
14379 #endif
14380 char FT_Init_FreeType ();
14382 main ()
14384 return FT_Init_FreeType ();
14386 return 0;
14388 _ACEOF
14389 if ac_fn_c_try_link "$LINENO"; then :
14390 case "$LIBEXT" in
14391 dll) ac_cv_lib_soname_freetype=`$ac_cv_path_LDD conftest.exe | grep "freetype" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14392 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'` ;;
14393 *) ac_cv_lib_soname_freetype=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfreetype\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfreetype\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14394 if ${ac_cv_lib_soname_freetype:+false} :; then :
14395 ac_cv_lib_soname_freetype=`$LDD conftest$ac_exeext | grep "libfreetype\\.$LIBEXT" | sed -e "s/^.*\(libfreetype\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14396 fi ;;
14397 esac
14398 else
14399 ac_cv_lib_soname_freetype=
14401 rm -f core conftest.err conftest.$ac_objext \
14402 conftest$ac_exeext conftest.$ac_ext
14403 LIBS=$ac_check_soname_save_LIBS
14405 if ${ac_cv_lib_soname_freetype:+false} :; then :
14406 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14407 $as_echo "not found" >&6; }
14408 FREETYPE_LIBS=""
14409 else
14410 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_freetype" >&5
14411 $as_echo "$ac_cv_lib_soname_freetype" >&6; }
14413 cat >>confdefs.h <<_ACEOF
14414 #define SONAME_LIBFREETYPE "$ac_cv_lib_soname_freetype"
14415 _ACEOF
14418 $as_echo "#define HAVE_FREETYPE 1" >>confdefs.h
14420 ac_fn_c_check_type "$LINENO" "FT_TrueTypeEngineType" "ac_cv_type_FT_TrueTypeEngineType" "#include <ft2build.h>
14421 #include FT_MODULE_H
14423 if test "x$ac_cv_type_FT_TrueTypeEngineType" = xyes; then :
14425 cat >>confdefs.h <<_ACEOF
14426 #define HAVE_FT_TRUETYPEENGINETYPE 1
14427 _ACEOF
14433 else
14434 FREETYPE_CFLAGS=""
14435 FREETYPE_LIBS=""
14437 CPPFLAGS=$ac_save_CPPFLAGS
14440 if test "x$ac_cv_lib_soname_freetype" = x; then :
14441 case "x$with_freetype" in
14442 xno) ;;
14443 *) as_fn_error $? "FreeType ${notice_platform}development files not found. Fonts will not be built.
14444 Use the --without-freetype option if you really want this." "$LINENO" 5 ;;
14445 esac
14446 enable_fonts=${enable_fonts:-no}
14449 ac_wine_check_funcs_save_LIBS="$LIBS"
14450 LIBS="$LIBS $PTHREAD_LIBS"
14451 for ac_func in \
14452 pthread_getthreadid_np
14453 do :
14454 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
14455 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
14456 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
14457 cat >>confdefs.h <<_ACEOF
14458 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
14459 _ACEOF
14462 done
14464 LIBS="$ac_wine_check_funcs_save_LIBS"
14466 if test "x$enable_tools" != xno -a "x$with_gettextpo" = xyes
14467 then
14468 if test "$ac_cv_header_gettext_po_h" = "yes"
14469 then
14470 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for po_message_msgctxt in -lgettextpo" >&5
14471 $as_echo_n "checking for po_message_msgctxt in -lgettextpo... " >&6; }
14472 if ${ac_cv_lib_gettextpo_po_message_msgctxt+:} false; then :
14473 $as_echo_n "(cached) " >&6
14474 else
14475 ac_check_lib_save_LIBS=$LIBS
14476 LIBS="-lgettextpo $LIBS"
14477 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14478 /* end confdefs.h. */
14480 /* Override any GCC internal prototype to avoid an error.
14481 Use char because int might match the return type of a GCC
14482 builtin and then its argument prototype would still apply. */
14483 #ifdef __cplusplus
14484 extern "C"
14485 #endif
14486 char po_message_msgctxt ();
14488 main ()
14490 return po_message_msgctxt ();
14492 return 0;
14494 _ACEOF
14495 if ac_fn_c_try_link "$LINENO"; then :
14496 ac_cv_lib_gettextpo_po_message_msgctxt=yes
14497 else
14498 ac_cv_lib_gettextpo_po_message_msgctxt=no
14500 rm -f core conftest.err conftest.$ac_objext \
14501 conftest$ac_exeext conftest.$ac_ext
14502 LIBS=$ac_check_lib_save_LIBS
14504 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gettextpo_po_message_msgctxt" >&5
14505 $as_echo "$ac_cv_lib_gettextpo_po_message_msgctxt" >&6; }
14506 if test "x$ac_cv_lib_gettextpo_po_message_msgctxt" = xyes; then :
14508 $as_echo "#define HAVE_LIBGETTEXTPO 1" >>confdefs.h
14510 GETTEXTPO_LIBS="-lgettextpo"
14515 if test "x$GETTEXTPO_LIBS" = "x"; then :
14516 case "x$with_gettextpo" in
14517 x) as_fn_append wine_notices "|GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt." ;;
14518 xno) ;;
14519 *) as_fn_error $? "GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt.
14520 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
14521 esac
14524 if test "$srcdir" != .; then :
14525 case "x$with_gettextpo" in
14526 x) as_fn_append wine_notices "|Rebuilding po files is not supported for out of tree builds." ;;
14527 xno) ;;
14528 *) as_fn_error $? "Rebuilding po files is not supported for out of tree builds.
14529 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
14530 esac
14535 if test "x$with_pulse" != "xno";
14536 then
14537 if ${PULSE_CFLAGS:+false} :; then :
14538 if ${PKG_CONFIG+:} false; then :
14539 PULSE_CFLAGS=`$PKG_CONFIG --cflags libpulse 2>/dev/null`
14543 if ${PULSE_LIBS:+false} :; then :
14544 if ${PKG_CONFIG+:} false; then :
14545 PULSE_LIBS=`$PKG_CONFIG --libs libpulse 2>/dev/null`
14550 $as_echo "$as_me:${as_lineno-$LINENO}: libpulse cflags: $PULSE_CFLAGS" >&5
14551 $as_echo "$as_me:${as_lineno-$LINENO}: libpulse libs: $PULSE_LIBS" >&5
14552 ac_save_CPPFLAGS=$CPPFLAGS
14553 CPPFLAGS="$CPPFLAGS $PULSE_CFLAGS"
14554 for ac_header in pulse/pulseaudio.h
14555 do :
14556 ac_fn_c_check_header_mongrel "$LINENO" "pulse/pulseaudio.h" "ac_cv_header_pulse_pulseaudio_h" "$ac_includes_default"
14557 if test "x$ac_cv_header_pulse_pulseaudio_h" = xyes; then :
14558 cat >>confdefs.h <<_ACEOF
14559 #define HAVE_PULSE_PULSEAUDIO_H 1
14560 _ACEOF
14561 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pa_stream_is_corked in -lpulse" >&5
14562 $as_echo_n "checking for pa_stream_is_corked in -lpulse... " >&6; }
14563 if ${ac_cv_lib_pulse_pa_stream_is_corked+:} false; then :
14564 $as_echo_n "(cached) " >&6
14565 else
14566 ac_check_lib_save_LIBS=$LIBS
14567 LIBS="-lpulse $PULSE_LIBS $LIBS"
14568 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14569 /* end confdefs.h. */
14571 /* Override any GCC internal prototype to avoid an error.
14572 Use char because int might match the return type of a GCC
14573 builtin and then its argument prototype would still apply. */
14574 #ifdef __cplusplus
14575 extern "C"
14576 #endif
14577 char pa_stream_is_corked ();
14579 main ()
14581 return pa_stream_is_corked ();
14583 return 0;
14585 _ACEOF
14586 if ac_fn_c_try_link "$LINENO"; then :
14587 ac_cv_lib_pulse_pa_stream_is_corked=yes
14588 else
14589 ac_cv_lib_pulse_pa_stream_is_corked=no
14591 rm -f core conftest.err conftest.$ac_objext \
14592 conftest$ac_exeext conftest.$ac_ext
14593 LIBS=$ac_check_lib_save_LIBS
14595 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pulse_pa_stream_is_corked" >&5
14596 $as_echo "$ac_cv_lib_pulse_pa_stream_is_corked" >&6; }
14597 if test "x$ac_cv_lib_pulse_pa_stream_is_corked" = xyes; then :
14599 else
14600 PULSE_LIBS=""
14603 else
14604 PULSE_LIBS=""
14607 done
14609 CPPFLAGS=$ac_save_CPPFLAGS
14612 if test -z "$PULSE_LIBS"; then :
14613 case "x$with_pulse" in
14614 x) as_fn_append wine_notices "|libpulse ${notice_platform}development files not found or too old, Pulse won't be supported." ;;
14615 xno) ;;
14616 *) as_fn_error $? "libpulse ${notice_platform}development files not found or too old, Pulse won't be supported.
14617 This is an error since --with-pulse was requested." "$LINENO" 5 ;;
14618 esac
14619 enable_winepulse_drv=${enable_winepulse_drv:-no}
14622 if test "x$with_gstreamer" != "xno"
14623 then
14624 if ${GSTREAMER_CFLAGS:+false} :; then :
14625 if ${PKG_CONFIG+:} false; then :
14626 GSTREAMER_CFLAGS=`$PKG_CONFIG --cflags gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 2>/dev/null`
14630 if ${GSTREAMER_LIBS:+false} :; then :
14631 if ${PKG_CONFIG+:} false; then :
14632 GSTREAMER_LIBS=`$PKG_CONFIG --libs gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 2>/dev/null`
14637 $as_echo "$as_me:${as_lineno-$LINENO}: gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 cflags: $GSTREAMER_CFLAGS" >&5
14638 $as_echo "$as_me:${as_lineno-$LINENO}: gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 libs: $GSTREAMER_LIBS" >&5
14639 ac_save_CPPFLAGS=$CPPFLAGS
14640 CPPFLAGS="$CPPFLAGS $GSTREAMER_CFLAGS"
14641 ac_fn_c_check_header_mongrel "$LINENO" "gst/gst.h" "ac_cv_header_gst_gst_h" "$ac_includes_default"
14642 if test "x$ac_cv_header_gst_gst_h" = xyes; then :
14643 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether gint64 defined by gst/gst.h is indeed 64-bit" >&5
14644 $as_echo_n "checking whether gint64 defined by gst/gst.h is indeed 64-bit... " >&6; }
14645 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14646 /* end confdefs.h. */
14647 #include <gst/gst.h>
14649 main ()
14651 static int a[sizeof(gint64) > 4 ? 1 : -1]; if (a[0]) return 0;
14653 return 0;
14655 _ACEOF
14656 if ac_fn_c_try_compile "$LINENO"; then :
14657 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14658 $as_echo "yes" >&6; }
14659 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gst_pad_new in -lgstreamer-1.0" >&5
14660 $as_echo_n "checking for gst_pad_new in -lgstreamer-1.0... " >&6; }
14661 if ${ac_cv_lib_gstreamer_1_0_gst_pad_new+:} false; then :
14662 $as_echo_n "(cached) " >&6
14663 else
14664 ac_check_lib_save_LIBS=$LIBS
14665 LIBS="-lgstreamer-1.0 $GSTREAMER_LIBS $LIBS"
14666 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14667 /* end confdefs.h. */
14669 /* Override any GCC internal prototype to avoid an error.
14670 Use char because int might match the return type of a GCC
14671 builtin and then its argument prototype would still apply. */
14672 #ifdef __cplusplus
14673 extern "C"
14674 #endif
14675 char gst_pad_new ();
14677 main ()
14679 return gst_pad_new ();
14681 return 0;
14683 _ACEOF
14684 if ac_fn_c_try_link "$LINENO"; then :
14685 ac_cv_lib_gstreamer_1_0_gst_pad_new=yes
14686 else
14687 ac_cv_lib_gstreamer_1_0_gst_pad_new=no
14689 rm -f core conftest.err conftest.$ac_objext \
14690 conftest$ac_exeext conftest.$ac_ext
14691 LIBS=$ac_check_lib_save_LIBS
14693 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gstreamer_1_0_gst_pad_new" >&5
14694 $as_echo "$ac_cv_lib_gstreamer_1_0_gst_pad_new" >&6; }
14695 if test "x$ac_cv_lib_gstreamer_1_0_gst_pad_new" = xyes; then :
14699 else
14700 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14701 $as_echo "no" >&6; }
14702 ac_glib2_broken=yes
14703 as_fn_append wine_notices "|glib-2.0 pkgconfig configuration is for the wrong architecture, winegstreamer won't be built."
14705 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14709 CPPFLAGS=$ac_save_CPPFLAGS
14712 if test "x$with_gstreamer" = xyes -o "x$with_quicktime" = xno -o "x$ac_cv_header_QuickTime_ImageCompression_h" != xyes
14713 then
14714 if test "x$ac_glib2_broken" != xyes -a "x$ac_cv_lib_gstreamer_1_0_gst_pad_new" != xyes; then :
14715 case "x$with_gstreamer" in
14716 x) as_fn_append wine_notices "|gstreamer-1.0 base plugins ${notice_platform}development files not found, GStreamer won't be supported." ;;
14717 xno) ;;
14718 *) as_fn_error $? "gstreamer-1.0 base plugins ${notice_platform}development files not found, GStreamer won't be supported.
14719 This is an error since --with-gstreamer was requested." "$LINENO" 5 ;;
14720 esac
14724 test "x$ac_cv_lib_gstreamer_1_0_gst_pad_new" = xyes || enable_winegstreamer=${enable_winegstreamer:-no}
14726 ALSA_LIBS=""
14728 if test "x$with_alsa" != "xno"
14729 then
14730 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for snd_pcm_hw_params_get_access_mask in -lasound" >&5
14731 $as_echo_n "checking for snd_pcm_hw_params_get_access_mask in -lasound... " >&6; }
14732 if ${ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask+:} false; then :
14733 $as_echo_n "(cached) " >&6
14734 else
14735 ac_check_lib_save_LIBS=$LIBS
14736 LIBS="-lasound $LIBS"
14737 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14738 /* end confdefs.h. */
14740 /* Override any GCC internal prototype to avoid an error.
14741 Use char because int might match the return type of a GCC
14742 builtin and then its argument prototype would still apply. */
14743 #ifdef __cplusplus
14744 extern "C"
14745 #endif
14746 char snd_pcm_hw_params_get_access_mask ();
14748 main ()
14750 return snd_pcm_hw_params_get_access_mask ();
14752 return 0;
14754 _ACEOF
14755 if ac_fn_c_try_link "$LINENO"; then :
14756 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask=yes
14757 else
14758 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask=no
14760 rm -f core conftest.err conftest.$ac_objext \
14761 conftest$ac_exeext conftest.$ac_ext
14762 LIBS=$ac_check_lib_save_LIBS
14764 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&5
14765 $as_echo "$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&6; }
14766 if test "x$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" = xyes; then :
14767 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14768 /* end confdefs.h. */
14769 #include <alsa/asoundlib.h>
14771 main ()
14773 snd_pcm_hw_params_get_access_mask(NULL, NULL)
14775 return 0;
14777 _ACEOF
14778 if ac_fn_c_try_compile "$LINENO"; then :
14779 ALSA_LIBS="-lasound"
14781 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14785 test -n "$ALSA_LIBS" || enable_winealsa_drv=${enable_winealsa_drv:-no}
14787 if test "x$with_oss" != xno
14788 then
14789 ac_save_CPPFLAGS="$CPPFLAGS"
14790 if test -f /etc/oss.conf
14791 then
14792 . /etc/oss.conf
14794 ac_oss_incl="-I${OSSLIBDIR:-/usr/lib/oss}/include"
14795 CPPFLAGS="$CPPFLAGS $ac_oss_incl"
14796 ac_fn_c_check_header_mongrel "$LINENO" "sys/soundcard.h" "ac_cv_header_sys_soundcard_h" "$ac_includes_default"
14797 if test "x$ac_cv_header_sys_soundcard_h" = xyes; then :
14798 ac_fn_c_check_member "$LINENO" "oss_sysinfo" "numaudioengines" "ac_cv_member_oss_sysinfo_numaudioengines" "#include <sys/soundcard.h>
14800 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" = xyes; then :
14802 cat >>confdefs.h <<_ACEOF
14803 #define HAVE_OSS_SYSINFO_NUMAUDIOENGINES 1
14804 _ACEOF
14806 OSS4_CFLAGS="$ac_oss_incl"
14808 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _oss_ioctl in -lossaudio" >&5
14809 $as_echo_n "checking for _oss_ioctl in -lossaudio... " >&6; }
14810 if ${ac_cv_lib_ossaudio__oss_ioctl+:} false; then :
14811 $as_echo_n "(cached) " >&6
14812 else
14813 ac_check_lib_save_LIBS=$LIBS
14814 LIBS="-lossaudio $LIBS"
14815 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14816 /* end confdefs.h. */
14818 /* Override any GCC internal prototype to avoid an error.
14819 Use char because int might match the return type of a GCC
14820 builtin and then its argument prototype would still apply. */
14821 #ifdef __cplusplus
14822 extern "C"
14823 #endif
14824 char _oss_ioctl ();
14826 main ()
14828 return _oss_ioctl ();
14830 return 0;
14832 _ACEOF
14833 if ac_fn_c_try_link "$LINENO"; then :
14834 ac_cv_lib_ossaudio__oss_ioctl=yes
14835 else
14836 ac_cv_lib_ossaudio__oss_ioctl=no
14838 rm -f core conftest.err conftest.$ac_objext \
14839 conftest$ac_exeext conftest.$ac_ext
14840 LIBS=$ac_check_lib_save_LIBS
14842 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ossaudio__oss_ioctl" >&5
14843 $as_echo "$ac_cv_lib_ossaudio__oss_ioctl" >&6; }
14844 if test "x$ac_cv_lib_ossaudio__oss_ioctl" = xyes; then :
14845 OSS4_LIBS="-lossaudio"
14854 CPPFLAGS="$ac_save_CPPFLAGS"
14856 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" != xyes; then :
14857 case "x$with_oss" in
14858 x) as_fn_append wine_notices "|OSS sound system found but too old (OSSv4 needed), OSS won't be supported." ;;
14859 xno) ;;
14860 *) as_fn_error $? "OSS sound system found but too old (OSSv4 needed), OSS won't be supported.
14861 This is an error since --with-oss was requested." "$LINENO" 5 ;;
14862 esac
14863 enable_wineoss_drv=${enable_wineoss_drv:-no}
14866 if test "x$with_udev" != "xno"
14867 then
14868 if ${UDEV_CFLAGS:+false} :; then :
14869 if ${PKG_CONFIG+:} false; then :
14870 UDEV_CFLAGS=`$PKG_CONFIG --cflags libudev 2>/dev/null`
14874 if ${UDEV_LIBS:+false} :; then :
14875 if ${PKG_CONFIG+:} false; then :
14876 UDEV_LIBS=`$PKG_CONFIG --libs libudev 2>/dev/null`
14880 UDEV_LIBS=${UDEV_LIBS:-"-ludev"}
14881 $as_echo "$as_me:${as_lineno-$LINENO}: libudev cflags: $UDEV_CFLAGS" >&5
14882 $as_echo "$as_me:${as_lineno-$LINENO}: libudev libs: $UDEV_LIBS" >&5
14883 ac_save_CPPFLAGS=$CPPFLAGS
14884 CPPFLAGS="$CPPFLAGS $UDEV_CFLAGS"
14885 for ac_header in libudev.h
14886 do :
14887 ac_fn_c_check_header_mongrel "$LINENO" "libudev.h" "ac_cv_header_libudev_h" "$ac_includes_default"
14888 if test "x$ac_cv_header_libudev_h" = xyes; then :
14889 cat >>confdefs.h <<_ACEOF
14890 #define HAVE_LIBUDEV_H 1
14891 _ACEOF
14892 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for udev_new in -ludev" >&5
14893 $as_echo_n "checking for udev_new in -ludev... " >&6; }
14894 if ${ac_cv_lib_udev_udev_new+:} false; then :
14895 $as_echo_n "(cached) " >&6
14896 else
14897 ac_check_lib_save_LIBS=$LIBS
14898 LIBS="-ludev $UDEV_LIBS $LIBS"
14899 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14900 /* end confdefs.h. */
14902 /* Override any GCC internal prototype to avoid an error.
14903 Use char because int might match the return type of a GCC
14904 builtin and then its argument prototype would still apply. */
14905 #ifdef __cplusplus
14906 extern "C"
14907 #endif
14908 char udev_new ();
14910 main ()
14912 return udev_new ();
14914 return 0;
14916 _ACEOF
14917 if ac_fn_c_try_link "$LINENO"; then :
14918 ac_cv_lib_udev_udev_new=yes
14919 else
14920 ac_cv_lib_udev_udev_new=no
14922 rm -f core conftest.err conftest.$ac_objext \
14923 conftest$ac_exeext conftest.$ac_ext
14924 LIBS=$ac_check_lib_save_LIBS
14926 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_udev_udev_new" >&5
14927 $as_echo "$ac_cv_lib_udev_udev_new" >&6; }
14928 if test "x$ac_cv_lib_udev_udev_new" = xyes; then :
14930 $as_echo "#define HAVE_UDEV 1" >>confdefs.h
14932 else
14933 UDEV_LIBS=""
14936 else
14937 UDEV_LIBS=""
14940 done
14942 CPPFLAGS=$ac_save_CPPFLAGS
14945 if test "x$UDEV_LIBS" = "x"; then :
14946 case "x$with_udev" in
14947 x) as_fn_append wine_notices "|libudev ${notice_platform}development files not found, plug and play won't be supported." ;;
14948 xno) ;;
14949 *) as_fn_error $? "libudev ${notice_platform}development files not found, plug and play won't be supported.
14950 This is an error since --with-udev was requested." "$LINENO" 5 ;;
14951 esac
14955 if test "x$with_unwind" != xno
14956 then
14957 if ${UNWIND_CFLAGS:+false} :; then :
14958 if ${PKG_CONFIG+:} false; then :
14959 UNWIND_CFLAGS=`$PKG_CONFIG --cflags libunwind 2>/dev/null`
14963 if ${UNWIND_LIBS:+false} :; then :
14964 if ${PKG_CONFIG+:} false; then :
14965 UNWIND_LIBS=`$PKG_CONFIG --libs libunwind 2>/dev/null`
14969 UNWIND_LIBS=${UNWIND_LIBS:-"-lunwind"}
14970 $as_echo "$as_me:${as_lineno-$LINENO}: libunwind cflags: $UNWIND_CFLAGS" >&5
14971 $as_echo "$as_me:${as_lineno-$LINENO}: libunwind libs: $UNWIND_LIBS" >&5
14972 ac_save_CPPFLAGS=$CPPFLAGS
14973 CPPFLAGS="$CPPFLAGS $UNWIND_CFLAGS"
14974 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for unw_step" >&5
14975 $as_echo_n "checking for unw_step... " >&6; }
14976 if ${wine_cv_have_unw_step+:} false; then :
14977 $as_echo_n "(cached) " >&6
14978 else
14979 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14980 /* end confdefs.h. */
14981 #define UNW_LOCAL_ONLY
14982 #include <libunwind.h>
14984 main ()
14986 unw_cursor_t cursor; unw_step( &cursor );
14988 return 0;
14990 _ACEOF
14991 if ac_fn_c_try_link "$LINENO"; then :
14992 wine_cv_have_unw_step="yes"
14993 else
14994 wine_cv_have_unw_step="no"
14996 rm -f core conftest.err conftest.$ac_objext \
14997 conftest$ac_exeext conftest.$ac_ext
14999 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_unw_step" >&5
15000 $as_echo "$wine_cv_have_unw_step" >&6; }
15001 if test "$wine_cv_have_unw_step" = no -a -n "$UNWIND_LIBS"
15002 then
15003 save_libs=$LIBS
15004 UNWIND_LIBS="-static-libgcc $UNWIND_LIBS"
15005 LIBS="$UNWIND_LIBS $LIBS"
15006 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for unw_step in libunwind" >&5
15007 $as_echo_n "checking for unw_step in libunwind... " >&6; }
15008 if ${wine_cv_have_libunwind_unw_step+:} false; then :
15009 $as_echo_n "(cached) " >&6
15010 else
15011 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15012 /* end confdefs.h. */
15013 #define UNW_LOCAL_ONLY
15014 #include <libunwind.h>
15016 main ()
15018 unw_cursor_t cursor; unw_step( &cursor );
15020 return 0;
15022 _ACEOF
15023 if ac_fn_c_try_link "$LINENO"; then :
15024 wine_cv_have_libunwind_unw_step="yes"
15025 else
15026 wine_cv_have_libunwind_unw_step="no"
15028 rm -f core conftest.err conftest.$ac_objext \
15029 conftest$ac_exeext conftest.$ac_ext
15031 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_libunwind_unw_step" >&5
15032 $as_echo "$wine_cv_have_libunwind_unw_step" >&6; }
15033 LIBS=$save_libs
15035 test "$wine_cv_have_libunwind_unw_step" = yes || UNWIND_LIBS=""
15036 if test "x$wine_cv_have_unw_step$wine_cv_have_libunwind_unw_step" != xnono
15037 then
15039 $as_echo "#define HAVE_LIBUNWIND 1" >>confdefs.h
15042 CPPFLAGS=$ac_save_CPPFLAGS
15045 case $host in
15046 aarch64*|*-darwin*)
15047 if test "x$wine_cv_have_unw_step$wine_cv_have_libunwind_unw_step" = xnono; then :
15048 case "x$with_unwind" in
15049 x) as_fn_append wine_notices "|libunwind ${notice_platform}development files not found, stack unwinding won't work." ;;
15050 xno) ;;
15051 *) as_fn_error $? "libunwind ${notice_platform}development files not found, stack unwinding won't work.
15052 This is an error since --with-unwind was requested." "$LINENO" 5 ;;
15053 esac
15055 fi ;;
15056 esac
15058 if test "x$with_sdl" != "xno"
15059 then
15060 if ${SDL2_CFLAGS:+false} :; then :
15061 if ${PKG_CONFIG+:} false; then :
15062 SDL2_CFLAGS=`$PKG_CONFIG --cflags sdl2 2>/dev/null`
15066 if ${SDL2_LIBS:+false} :; then :
15067 if ${PKG_CONFIG+:} false; then :
15068 SDL2_LIBS=`$PKG_CONFIG --libs sdl2 2>/dev/null`
15072 SDL2_LIBS=${SDL2_LIBS:-"-lSDL2"}
15073 $as_echo "$as_me:${as_lineno-$LINENO}: sdl2 cflags: $SDL2_CFLAGS" >&5
15074 $as_echo "$as_me:${as_lineno-$LINENO}: sdl2 libs: $SDL2_LIBS" >&5
15075 ac_save_CPPFLAGS=$CPPFLAGS
15076 CPPFLAGS="$CPPFLAGS $SDL2_CFLAGS"
15077 for ac_header in SDL.h
15078 do :
15079 ac_fn_c_check_header_mongrel "$LINENO" "SDL.h" "ac_cv_header_SDL_h" "$ac_includes_default"
15080 if test "x$ac_cv_header_SDL_h" = xyes; then :
15081 cat >>confdefs.h <<_ACEOF
15082 #define HAVE_SDL_H 1
15083 _ACEOF
15084 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lSDL2" >&5
15085 $as_echo_n "checking for -lSDL2... " >&6; }
15086 if ${ac_cv_lib_soname_SDL2+:} false; then :
15087 $as_echo_n "(cached) " >&6
15088 else
15089 ac_check_soname_save_LIBS=$LIBS
15090 LIBS="-lSDL2 $SDL2_LIBS $LIBS"
15091 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15092 /* end confdefs.h. */
15094 /* Override any GCC internal prototype to avoid an error.
15095 Use char because int might match the return type of a GCC
15096 builtin and then its argument prototype would still apply. */
15097 #ifdef __cplusplus
15098 extern "C"
15099 #endif
15100 char SDL_Init ();
15102 main ()
15104 return SDL_Init ();
15106 return 0;
15108 _ACEOF
15109 if ac_fn_c_try_link "$LINENO"; then :
15110 case "$LIBEXT" in
15111 dll) ac_cv_lib_soname_SDL2=`$ac_cv_path_LDD conftest.exe | grep "SDL2" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15112 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'` ;;
15113 *) 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'`
15114 if ${ac_cv_lib_soname_SDL2:+false} :; then :
15115 ac_cv_lib_soname_SDL2=`$LDD conftest$ac_exeext | grep "libSDL2-2.0*\\.$LIBEXT" | sed -e "s/^.*\(libSDL2-2.0*\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15116 fi ;;
15117 esac
15118 else
15119 ac_cv_lib_soname_SDL2=
15121 rm -f core conftest.err conftest.$ac_objext \
15122 conftest$ac_exeext conftest.$ac_ext
15123 LIBS=$ac_check_soname_save_LIBS
15125 if ${ac_cv_lib_soname_SDL2:+false} :; then :
15126 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15127 $as_echo "not found" >&6; }
15129 else
15130 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_SDL2" >&5
15131 $as_echo "$ac_cv_lib_soname_SDL2" >&6; }
15133 cat >>confdefs.h <<_ACEOF
15134 #define SONAME_LIBSDL2 "$ac_cv_lib_soname_SDL2"
15135 _ACEOF
15141 done
15143 CPPFLAGS=$ac_save_CPPFLAGS
15146 if test "x$ac_cv_lib_soname_SDL2" = "x"; then :
15147 case "x$with_sdl" in
15148 x) as_fn_append wine_notices "|libSDL2 ${notice_platform}development files not found, SDL2 won't be supported." ;;
15149 xno) ;;
15150 *) as_fn_error $? "libSDL2 ${notice_platform}development files not found, SDL2 won't be supported.
15151 This is an error since --with-sdl was requested." "$LINENO" 5 ;;
15152 esac
15156 if test "x$with_faudio" != "xno"
15157 then
15158 if ${FAUDIO_CFLAGS:+false} :; then :
15159 if ${PKG_CONFIG+:} false; then :
15160 FAUDIO_CFLAGS=`$PKG_CONFIG --cflags FAudio 2>/dev/null`
15164 if ${FAUDIO_LIBS:+false} :; then :
15165 if ${PKG_CONFIG+:} false; then :
15166 FAUDIO_LIBS=`$PKG_CONFIG --libs FAudio 2>/dev/null`
15170 FAUDIO_LIBS=${FAUDIO_LIBS:-"-lFAudio"}
15171 $as_echo "$as_me:${as_lineno-$LINENO}: FAudio cflags: $FAUDIO_CFLAGS" >&5
15172 $as_echo "$as_me:${as_lineno-$LINENO}: FAudio libs: $FAUDIO_LIBS" >&5
15173 ac_save_CPPFLAGS=$CPPFLAGS
15174 CPPFLAGS="$CPPFLAGS $FAUDIO_CFLAGS"
15175 for ac_header in FAudio.h
15176 do :
15177 ac_fn_c_check_header_mongrel "$LINENO" "FAudio.h" "ac_cv_header_FAudio_h" "$ac_includes_default"
15178 if test "x$ac_cv_header_FAudio_h" = xyes; then :
15179 cat >>confdefs.h <<_ACEOF
15180 #define HAVE_FAUDIO_H 1
15181 _ACEOF
15182 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lFAudio" >&5
15183 $as_echo_n "checking for -lFAudio... " >&6; }
15184 if ${ac_cv_lib_soname_FAudio+:} false; then :
15185 $as_echo_n "(cached) " >&6
15186 else
15187 ac_check_soname_save_LIBS=$LIBS
15188 LIBS="-lFAudio $FAUDIO_LIBS $LIBS"
15189 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15190 /* end confdefs.h. */
15192 /* Override any GCC internal prototype to avoid an error.
15193 Use char because int might match the return type of a GCC
15194 builtin and then its argument prototype would still apply. */
15195 #ifdef __cplusplus
15196 extern "C"
15197 #endif
15198 char FAudioCreate ();
15200 main ()
15202 return FAudioCreate ();
15204 return 0;
15206 _ACEOF
15207 if ac_fn_c_try_link "$LINENO"; then :
15208 case "$LIBEXT" in
15209 dll) ac_cv_lib_soname_FAudio=`$ac_cv_path_LDD conftest.exe | grep "FAudio" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15210 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'` ;;
15211 *) ac_cv_lib_soname_FAudio=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libFAudio*\\.$LIBEXT" | sed -e "s/^.*\\[\\(libFAudio*\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15212 if ${ac_cv_lib_soname_FAudio:+false} :; then :
15213 ac_cv_lib_soname_FAudio=`$LDD conftest$ac_exeext | grep "libFAudio*\\.$LIBEXT" | sed -e "s/^.*\(libFAudio*\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15214 fi ;;
15215 esac
15216 else
15217 ac_cv_lib_soname_FAudio=
15219 rm -f core conftest.err conftest.$ac_objext \
15220 conftest$ac_exeext conftest.$ac_ext
15221 LIBS=$ac_check_soname_save_LIBS
15223 if ${ac_cv_lib_soname_FAudio:+false} :; then :
15224 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15225 $as_echo "not found" >&6; }
15227 else
15228 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_FAudio" >&5
15229 $as_echo "$ac_cv_lib_soname_FAudio" >&6; }
15231 cat >>confdefs.h <<_ACEOF
15232 #define SONAME_LIBFAUDIO "$ac_cv_lib_soname_FAudio"
15233 _ACEOF
15239 done
15241 ac_wine_check_funcs_save_LIBS="$LIBS"
15242 LIBS="$LIBS $FAUDIO_LIBS"
15243 for ac_func in FAudio_CommitOperationSet \
15244 F3DAudioInitialize8 \
15245 FAudioLinkedVersion \
15246 FAudioCreateReverb9WithCustomAllocatorEXT
15247 do :
15248 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
15249 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
15250 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
15251 cat >>confdefs.h <<_ACEOF
15252 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
15253 _ACEOF
15256 done
15258 LIBS="$ac_wine_check_funcs_save_LIBS"
15260 CPPFLAGS=$ac_save_CPPFLAGS
15263 if test "x$ac_cv_lib_soname_FAudio" = "x"; then :
15264 case "x$with_faudio" in
15265 x) as_fn_append wine_notices "|libFAudio ${notice_platform}development files not found, XAudio2 won't be supported." ;;
15266 xno) ;;
15267 *) as_fn_error $? "libFAudio ${notice_platform}development files not found, XAudio2 won't be supported.
15268 This is an error since --with-faudio was requested." "$LINENO" 5 ;;
15269 esac
15273 if test "x$with_capi" != "xno"
15274 then
15275 if ${CAPI20_CFLAGS:+false} :; then :
15276 if ${PKG_CONFIG+:} false; then :
15277 CAPI20_CFLAGS=`$PKG_CONFIG --cflags capi20 2>/dev/null`
15281 if ${CAPI20_LIBS:+false} :; then :
15282 if ${PKG_CONFIG+:} false; then :
15283 CAPI20_LIBS=`$PKG_CONFIG --libs capi20 2>/dev/null`
15288 $as_echo "$as_me:${as_lineno-$LINENO}: capi20 cflags: $CAPI20_CFLAGS" >&5
15289 $as_echo "$as_me:${as_lineno-$LINENO}: capi20 libs: $CAPI20_LIBS" >&5
15290 ac_save_CPPFLAGS=$CPPFLAGS
15291 CPPFLAGS="$CPPFLAGS $CAPI20_CFLAGS"
15292 for ac_header in capi20.h linux/capi.h
15293 do :
15294 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
15295 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#define __user
15297 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
15298 cat >>confdefs.h <<_ACEOF
15299 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
15300 _ACEOF
15304 done
15306 if test "$ac_cv_header_capi20_h" = "yes" -a "$ac_cv_header_linux_capi_h" = "yes"
15307 then
15308 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcapi20" >&5
15309 $as_echo_n "checking for -lcapi20... " >&6; }
15310 if ${ac_cv_lib_soname_capi20+:} false; then :
15311 $as_echo_n "(cached) " >&6
15312 else
15313 ac_check_soname_save_LIBS=$LIBS
15314 LIBS="-lcapi20 $CAPI20_LIBS $LIBS"
15315 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15316 /* end confdefs.h. */
15318 /* Override any GCC internal prototype to avoid an error.
15319 Use char because int might match the return type of a GCC
15320 builtin and then its argument prototype would still apply. */
15321 #ifdef __cplusplus
15322 extern "C"
15323 #endif
15324 char capi20_register ();
15326 main ()
15328 return capi20_register ();
15330 return 0;
15332 _ACEOF
15333 if ac_fn_c_try_link "$LINENO"; then :
15334 case "$LIBEXT" in
15335 dll) ac_cv_lib_soname_capi20=`$ac_cv_path_LDD conftest.exe | grep "capi20" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15336 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'` ;;
15337 *) ac_cv_lib_soname_capi20=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcapi20\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcapi20\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15338 if ${ac_cv_lib_soname_capi20:+false} :; then :
15339 ac_cv_lib_soname_capi20=`$LDD conftest$ac_exeext | grep "libcapi20\\.$LIBEXT" | sed -e "s/^.*\(libcapi20\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15340 fi ;;
15341 esac
15342 else
15343 ac_cv_lib_soname_capi20=
15345 rm -f core conftest.err conftest.$ac_objext \
15346 conftest$ac_exeext conftest.$ac_ext
15347 LIBS=$ac_check_soname_save_LIBS
15349 if ${ac_cv_lib_soname_capi20:+false} :; then :
15350 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15351 $as_echo "not found" >&6; }
15353 else
15354 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_capi20" >&5
15355 $as_echo "$ac_cv_lib_soname_capi20" >&6; }
15357 cat >>confdefs.h <<_ACEOF
15358 #define SONAME_LIBCAPI20 "$ac_cv_lib_soname_capi20"
15359 _ACEOF
15364 CPPFLAGS=$ac_save_CPPFLAGS
15367 if test "x$ac_cv_lib_soname_capi20" = "x"; then :
15368 case "x$with_capi" in
15369 x) as_fn_append wine_notices "|libcapi20 ${notice_platform}development files not found, ISDN won't be supported." ;;
15370 xno) ;;
15371 *) as_fn_error $? "libcapi20 ${notice_platform}development files not found, ISDN won't be supported.
15372 This is an error since --with-capi was requested." "$LINENO" 5 ;;
15373 esac
15377 if test "x$with_cups" != "xno"
15378 then
15379 if ${CUPS_CFLAGS:+false} :; then :
15380 if ${PKG_CONFIG+:} false; then :
15381 CUPS_CFLAGS=`$PKG_CONFIG --cflags cups 2>/dev/null`
15384 test "$cross_compiling" = yes || CUPS_CFLAGS=${CUPS_CFLAGS:-`${CUPS_CONFIG:-cups-config} --cflags 2>/dev/null`}
15385 if ${CUPS_LIBS:+false} :; then :
15386 if ${PKG_CONFIG+:} false; then :
15387 CUPS_LIBS=`$PKG_CONFIG --libs cups 2>/dev/null`
15390 test "$cross_compiling" = yes || CUPS_LIBS=${CUPS_LIBS:-`${CUPS_CONFIG:-cups-config} --libs 2>/dev/null`}
15391 CUPS_LIBS=${CUPS_LIBS:-"-lcups"}
15392 $as_echo "$as_me:${as_lineno-$LINENO}: cups cflags: $CUPS_CFLAGS" >&5
15393 $as_echo "$as_me:${as_lineno-$LINENO}: cups libs: $CUPS_LIBS" >&5
15394 ac_save_CPPFLAGS=$CPPFLAGS
15395 CPPFLAGS="$CPPFLAGS $CUPS_CFLAGS"
15396 for ac_header in cups/cups.h cups/ppd.h
15397 do :
15398 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
15399 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
15400 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
15401 cat >>confdefs.h <<_ACEOF
15402 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
15403 _ACEOF
15407 done
15409 if test "$ac_cv_header_cups_cups_h" = "yes"
15410 then
15411 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcups" >&5
15412 $as_echo_n "checking for -lcups... " >&6; }
15413 if ${ac_cv_lib_soname_cups+:} false; then :
15414 $as_echo_n "(cached) " >&6
15415 else
15416 ac_check_soname_save_LIBS=$LIBS
15417 LIBS="-lcups $CUPS_LIBS $LIBS"
15418 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15419 /* end confdefs.h. */
15421 /* Override any GCC internal prototype to avoid an error.
15422 Use char because int might match the return type of a GCC
15423 builtin and then its argument prototype would still apply. */
15424 #ifdef __cplusplus
15425 extern "C"
15426 #endif
15427 char cupsGetDefault ();
15429 main ()
15431 return cupsGetDefault ();
15433 return 0;
15435 _ACEOF
15436 if ac_fn_c_try_link "$LINENO"; then :
15437 case "$LIBEXT" in
15438 dll) ac_cv_lib_soname_cups=`$ac_cv_path_LDD conftest.exe | grep "cups" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15439 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'` ;;
15440 *) ac_cv_lib_soname_cups=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcups\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcups\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15441 if ${ac_cv_lib_soname_cups:+false} :; then :
15442 ac_cv_lib_soname_cups=`$LDD conftest$ac_exeext | grep "libcups\\.$LIBEXT" | sed -e "s/^.*\(libcups\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15443 fi ;;
15444 esac
15445 else
15446 ac_cv_lib_soname_cups=
15448 rm -f core conftest.err conftest.$ac_objext \
15449 conftest$ac_exeext conftest.$ac_ext
15450 LIBS=$ac_check_soname_save_LIBS
15452 if ${ac_cv_lib_soname_cups:+false} :; then :
15453 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15454 $as_echo "not found" >&6; }
15455 CUPS_LIBS=""
15456 else
15457 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_cups" >&5
15458 $as_echo "$ac_cv_lib_soname_cups" >&6; }
15460 cat >>confdefs.h <<_ACEOF
15461 #define SONAME_LIBCUPS "$ac_cv_lib_soname_cups"
15462 _ACEOF
15466 else
15467 CUPS_CFLAGS=""
15468 CUPS_LIBS=""
15470 CPPFLAGS=$ac_save_CPPFLAGS
15473 if test "x$ac_cv_lib_soname_cups" = "x"; then :
15474 case "x$with_cups" in
15475 x) as_fn_append wine_notices "|libcups ${notice_platform}development files not found, CUPS won't be supported." ;;
15476 xno) ;;
15477 *) as_fn_error $? "libcups ${notice_platform}development files not found, CUPS won't be supported.
15478 This is an error since --with-cups was requested." "$LINENO" 5 ;;
15479 esac
15483 if test "x$with_fontconfig" != "xno"
15484 then
15485 if ${FONTCONFIG_CFLAGS:+false} :; then :
15486 if ${PKG_CONFIG+:} false; then :
15487 FONTCONFIG_CFLAGS=`$PKG_CONFIG --cflags fontconfig 2>/dev/null`
15490 test "$cross_compiling" = yes || FONTCONFIG_CFLAGS=${FONTCONFIG_CFLAGS:-$X_CFLAGS}
15491 if ${FONTCONFIG_LIBS:+false} :; then :
15492 if ${PKG_CONFIG+:} false; then :
15493 FONTCONFIG_LIBS=`$PKG_CONFIG --libs fontconfig 2>/dev/null`
15496 test "$cross_compiling" = yes || FONTCONFIG_LIBS=${FONTCONFIG_LIBS:-$X_LIBS}
15498 $as_echo "$as_me:${as_lineno-$LINENO}: fontconfig cflags: $FONTCONFIG_CFLAGS" >&5
15499 $as_echo "$as_me:${as_lineno-$LINENO}: fontconfig libs: $FONTCONFIG_LIBS" >&5
15500 ac_save_CPPFLAGS=$CPPFLAGS
15501 CPPFLAGS="$CPPFLAGS $FONTCONFIG_CFLAGS"
15502 for ac_header in fontconfig/fontconfig.h
15503 do :
15504 ac_fn_c_check_header_mongrel "$LINENO" "fontconfig/fontconfig.h" "ac_cv_header_fontconfig_fontconfig_h" "$ac_includes_default"
15505 if test "x$ac_cv_header_fontconfig_fontconfig_h" = xyes; then :
15506 cat >>confdefs.h <<_ACEOF
15507 #define HAVE_FONTCONFIG_FONTCONFIG_H 1
15508 _ACEOF
15512 done
15514 if test "$ac_cv_header_fontconfig_fontconfig_h" = "yes"
15515 then
15516 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfontconfig" >&5
15517 $as_echo_n "checking for -lfontconfig... " >&6; }
15518 if ${ac_cv_lib_soname_fontconfig+:} false; then :
15519 $as_echo_n "(cached) " >&6
15520 else
15521 ac_check_soname_save_LIBS=$LIBS
15522 LIBS="-lfontconfig $FONTCONFIG_LIBS $LIBS"
15523 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15524 /* end confdefs.h. */
15526 /* Override any GCC internal prototype to avoid an error.
15527 Use char because int might match the return type of a GCC
15528 builtin and then its argument prototype would still apply. */
15529 #ifdef __cplusplus
15530 extern "C"
15531 #endif
15532 char FcInit ();
15534 main ()
15536 return FcInit ();
15538 return 0;
15540 _ACEOF
15541 if ac_fn_c_try_link "$LINENO"; then :
15542 case "$LIBEXT" in
15543 dll) ac_cv_lib_soname_fontconfig=`$ac_cv_path_LDD conftest.exe | grep "fontconfig" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15544 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'` ;;
15545 *) ac_cv_lib_soname_fontconfig=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfontconfig\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfontconfig\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15546 if ${ac_cv_lib_soname_fontconfig:+false} :; then :
15547 ac_cv_lib_soname_fontconfig=`$LDD conftest$ac_exeext | grep "libfontconfig\\.$LIBEXT" | sed -e "s/^.*\(libfontconfig\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15548 fi ;;
15549 esac
15550 else
15551 ac_cv_lib_soname_fontconfig=
15553 rm -f core conftest.err conftest.$ac_objext \
15554 conftest$ac_exeext conftest.$ac_ext
15555 LIBS=$ac_check_soname_save_LIBS
15557 if ${ac_cv_lib_soname_fontconfig:+false} :; then :
15558 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15559 $as_echo "not found" >&6; }
15560 FONTCONFIG_CFLAGS=""
15561 else
15562 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_fontconfig" >&5
15563 $as_echo "$ac_cv_lib_soname_fontconfig" >&6; }
15565 cat >>confdefs.h <<_ACEOF
15566 #define SONAME_LIBFONTCONFIG "$ac_cv_lib_soname_fontconfig"
15567 _ACEOF
15571 else
15572 FONTCONFIG_CFLAGS=""
15574 CPPFLAGS=$ac_save_CPPFLAGS
15577 if test "x$ac_cv_lib_soname_fontconfig" = "x"; then :
15578 case "x$with_fontconfig" in
15579 x) as_fn_append wine_notices "|fontconfig ${notice_platform}development files not found, fontconfig won't be supported." ;;
15580 xno) ;;
15581 *) as_fn_error $? "fontconfig ${notice_platform}development files not found, fontconfig won't be supported.
15582 This is an error since --with-fontconfig was requested." "$LINENO" 5 ;;
15583 esac
15587 if test "$ac_cv_header_gsm_h" = "yes" -o "$ac_cv_header_gsm_gsm_h" = "yes"
15588 then
15589 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgsm" >&5
15590 $as_echo_n "checking for -lgsm... " >&6; }
15591 if ${ac_cv_lib_soname_gsm+:} false; then :
15592 $as_echo_n "(cached) " >&6
15593 else
15594 ac_check_soname_save_LIBS=$LIBS
15595 LIBS="-lgsm $LIBS"
15596 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15597 /* end confdefs.h. */
15599 /* Override any GCC internal prototype to avoid an error.
15600 Use char because int might match the return type of a GCC
15601 builtin and then its argument prototype would still apply. */
15602 #ifdef __cplusplus
15603 extern "C"
15604 #endif
15605 char gsm_create ();
15607 main ()
15609 return gsm_create ();
15611 return 0;
15613 _ACEOF
15614 if ac_fn_c_try_link "$LINENO"; then :
15615 case "$LIBEXT" in
15616 dll) ac_cv_lib_soname_gsm=`$ac_cv_path_LDD conftest.exe | grep "gsm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15617 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'` ;;
15618 *) ac_cv_lib_soname_gsm=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libgsm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libgsm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15619 if ${ac_cv_lib_soname_gsm:+false} :; then :
15620 ac_cv_lib_soname_gsm=`$LDD conftest$ac_exeext | grep "libgsm\\.$LIBEXT" | sed -e "s/^.*\(libgsm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15621 fi ;;
15622 esac
15623 else
15624 ac_cv_lib_soname_gsm=
15626 rm -f core conftest.err conftest.$ac_objext \
15627 conftest$ac_exeext conftest.$ac_ext
15628 LIBS=$ac_check_soname_save_LIBS
15630 if ${ac_cv_lib_soname_gsm:+false} :; then :
15631 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15632 $as_echo "not found" >&6; }
15634 else
15635 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gsm" >&5
15636 $as_echo "$ac_cv_lib_soname_gsm" >&6; }
15638 cat >>confdefs.h <<_ACEOF
15639 #define SONAME_LIBGSM "$ac_cv_lib_soname_gsm"
15640 _ACEOF
15645 if test "x$ac_cv_lib_soname_gsm" = "x"; then :
15646 case "x$with_gsm" in
15647 x) as_fn_append wine_notices "|libgsm ${notice_platform}development files not found, gsm 06.10 codec won't be supported." ;;
15648 xno) ;;
15649 *) as_fn_error $? "libgsm ${notice_platform}development files not found, gsm 06.10 codec won't be supported.
15650 This is an error since --with-gsm was requested." "$LINENO" 5 ;;
15651 esac
15655 if test "x$with_krb5" != "xno"
15656 then
15657 if ${KRB5_CFLAGS:+false} :; then :
15658 if ${PKG_CONFIG+:} false; then :
15659 KRB5_CFLAGS=`$PKG_CONFIG --cflags krb5 2>/dev/null`
15662 test "$cross_compiling" = yes || KRB5_CFLAGS=${KRB5_CFLAGS:-`${KRB5_CONFIG:-krb5-config} --cflags 2>/dev/null`}
15663 if ${KRB5_LIBS:+false} :; then :
15664 if ${PKG_CONFIG+:} false; then :
15665 KRB5_LIBS=`$PKG_CONFIG --libs krb5 2>/dev/null`
15668 test "$cross_compiling" = yes || KRB5_LIBS=${KRB5_LIBS:-`${KRB5_CONFIG:-krb5-config} --libs 2>/dev/null`}
15670 $as_echo "$as_me:${as_lineno-$LINENO}: krb5 cflags: $KRB5_CFLAGS" >&5
15671 $as_echo "$as_me:${as_lineno-$LINENO}: krb5 libs: $KRB5_LIBS" >&5
15672 ac_save_CPPFLAGS=$CPPFLAGS
15673 CPPFLAGS="$CPPFLAGS $KRB5_CFLAGS"
15674 for ac_header in krb5/krb5.h
15675 do :
15676 ac_fn_c_check_header_mongrel "$LINENO" "krb5/krb5.h" "ac_cv_header_krb5_krb5_h" "$ac_includes_default"
15677 if test "x$ac_cv_header_krb5_krb5_h" = xyes; then :
15678 cat >>confdefs.h <<_ACEOF
15679 #define HAVE_KRB5_KRB5_H 1
15680 _ACEOF
15684 done
15686 if test "$ac_cv_header_krb5_krb5_h" = "yes"
15687 then
15688 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lkrb5" >&5
15689 $as_echo_n "checking for -lkrb5... " >&6; }
15690 if ${ac_cv_lib_soname_krb5+:} false; then :
15691 $as_echo_n "(cached) " >&6
15692 else
15693 ac_check_soname_save_LIBS=$LIBS
15694 LIBS="-lkrb5 $KRB5_LIBS $LIBS"
15695 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15696 /* end confdefs.h. */
15698 /* Override any GCC internal prototype to avoid an error.
15699 Use char because int might match the return type of a GCC
15700 builtin and then its argument prototype would still apply. */
15701 #ifdef __cplusplus
15702 extern "C"
15703 #endif
15704 char krb5_is_config_principal ();
15706 main ()
15708 return krb5_is_config_principal ();
15710 return 0;
15712 _ACEOF
15713 if ac_fn_c_try_link "$LINENO"; then :
15714 case "$LIBEXT" in
15715 dll) ac_cv_lib_soname_krb5=`$ac_cv_path_LDD conftest.exe | grep "krb5" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15716 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'` ;;
15717 *) ac_cv_lib_soname_krb5=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libkrb5\\.$LIBEXT" | sed -e "s/^.*\\[\\(libkrb5\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15718 if ${ac_cv_lib_soname_krb5:+false} :; then :
15719 ac_cv_lib_soname_krb5=`$LDD conftest$ac_exeext | grep "libkrb5\\.$LIBEXT" | sed -e "s/^.*\(libkrb5\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15720 fi ;;
15721 esac
15722 else
15723 ac_cv_lib_soname_krb5=
15725 rm -f core conftest.err conftest.$ac_objext \
15726 conftest$ac_exeext conftest.$ac_ext
15727 LIBS=$ac_check_soname_save_LIBS
15729 if ${ac_cv_lib_soname_krb5:+false} :; then :
15730 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15731 $as_echo "not found" >&6; }
15732 KRB5_CFLAGS=""
15733 else
15734 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_krb5" >&5
15735 $as_echo "$ac_cv_lib_soname_krb5" >&6; }
15737 cat >>confdefs.h <<_ACEOF
15738 #define SONAME_LIBKRB5 "$ac_cv_lib_soname_krb5"
15739 _ACEOF
15743 else
15744 KRB5_CFLAGS=""
15746 CPPFLAGS=$ac_save_CPPFLAGS
15749 if test "x$ac_cv_lib_soname_krb5" = "x"; then :
15750 case "x$with_krb5" in
15751 x) as_fn_append wine_notices "|libkrb5 ${notice_platform}development files not found (or too old), Kerberos won't be supported." ;;
15752 xno) ;;
15753 *) as_fn_error $? "libkrb5 ${notice_platform}development files not found (or too old), Kerberos won't be supported.
15754 This is an error since --with-krb5 was requested." "$LINENO" 5 ;;
15755 esac
15758 test "x$ac_cv_lib_soname_krb5" != "x" || with_gssapi=${with_gssapi:-no}
15760 if test "x$with_gssapi" != "xno"
15761 then
15762 if ${GSSAPI_CFLAGS:+false} :; then :
15763 if ${PKG_CONFIG+:} false; then :
15764 GSSAPI_CFLAGS=`$PKG_CONFIG --cflags krb5-gssapi 2>/dev/null`
15767 test "$cross_compiling" = yes || GSSAPI_CFLAGS=${GSSAPI_CFLAGS:-`${KRB5_CONFIG:-krb5-config} --cflags gssapi 2>/dev/null`}
15768 if ${GSSAPI_LIBS:+false} :; then :
15769 if ${PKG_CONFIG+:} false; then :
15770 GSSAPI_LIBS=`$PKG_CONFIG --libs krb5-gssapi 2>/dev/null`
15773 test "$cross_compiling" = yes || GSSAPI_LIBS=${GSSAPI_LIBS:-`${KRB5_CONFIG:-krb5-config} --libs gssapi 2>/dev/null`}
15775 $as_echo "$as_me:${as_lineno-$LINENO}: krb5-gssapi cflags: $GSSAPI_CFLAGS" >&5
15776 $as_echo "$as_me:${as_lineno-$LINENO}: krb5-gssapi libs: $GSSAPI_LIBS" >&5
15777 ac_save_CPPFLAGS=$CPPFLAGS
15778 CPPFLAGS="$CPPFLAGS $GSSAPI_CFLAGS"
15779 for ac_header in gssapi/gssapi.h gssapi/gssapi_ext.h
15780 do :
15781 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
15782 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
15783 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
15784 cat >>confdefs.h <<_ACEOF
15785 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
15786 _ACEOF
15790 done
15792 if test "$ac_cv_header_gssapi_gssapi_h" = "yes" -a "$ac_cv_header_gssapi_gssapi_ext_h" = "yes"
15793 then
15794 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgssapi_krb5" >&5
15795 $as_echo_n "checking for -lgssapi_krb5... " >&6; }
15796 if ${ac_cv_lib_soname_gssapi_krb5+:} false; then :
15797 $as_echo_n "(cached) " >&6
15798 else
15799 ac_check_soname_save_LIBS=$LIBS
15800 LIBS="-lgssapi_krb5 $GSSAPI_LIBS $LIBS"
15801 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15802 /* end confdefs.h. */
15804 /* Override any GCC internal prototype to avoid an error.
15805 Use char because int might match the return type of a GCC
15806 builtin and then its argument prototype would still apply. */
15807 #ifdef __cplusplus
15808 extern "C"
15809 #endif
15810 char gss_init_sec_context ();
15812 main ()
15814 return gss_init_sec_context ();
15816 return 0;
15818 _ACEOF
15819 if ac_fn_c_try_link "$LINENO"; then :
15820 case "$LIBEXT" in
15821 dll) ac_cv_lib_soname_gssapi_krb5=`$ac_cv_path_LDD conftest.exe | grep "gssapi_krb5" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15822 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'` ;;
15823 *) 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'`
15824 if ${ac_cv_lib_soname_gssapi_krb5:+false} :; then :
15825 ac_cv_lib_soname_gssapi_krb5=`$LDD conftest$ac_exeext | grep "libgssapi_krb5\\.$LIBEXT" | sed -e "s/^.*\(libgssapi_krb5\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15826 fi ;;
15827 esac
15828 else
15829 ac_cv_lib_soname_gssapi_krb5=
15831 rm -f core conftest.err conftest.$ac_objext \
15832 conftest$ac_exeext conftest.$ac_ext
15833 LIBS=$ac_check_soname_save_LIBS
15835 if ${ac_cv_lib_soname_gssapi_krb5:+false} :; then :
15836 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15837 $as_echo "not found" >&6; }
15838 GSSAPI_CFLAGS=""
15839 else
15840 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gssapi_krb5" >&5
15841 $as_echo "$ac_cv_lib_soname_gssapi_krb5" >&6; }
15843 cat >>confdefs.h <<_ACEOF
15844 #define SONAME_LIBGSSAPI_KRB5 "$ac_cv_lib_soname_gssapi_krb5"
15845 _ACEOF
15849 else
15850 GSSAPI_CFLAGS=""
15852 CPPFLAGS=$ac_save_CPPFLAGS
15855 if test "x$ac_cv_lib_soname_gssapi_krb5" = "x"; then :
15856 case "x$with_gssapi" in
15857 x) as_fn_append wine_notices "|libgssapi_krb5 ${notice_platform}development files not found (or too old), no Kerberos SSP support." ;;
15858 xno) ;;
15859 *) as_fn_error $? "libgssapi_krb5 ${notice_platform}development files not found (or too old), no Kerberos SSP support.
15860 This is an error since --with-gssapi was requested." "$LINENO" 5 ;;
15861 esac
15865 if test "x$with_jpeg" != "xno"
15866 then
15867 if ${JPEG_CFLAGS:+false} :; then :
15868 if ${PKG_CONFIG+:} false; then :
15869 JPEG_CFLAGS=`$PKG_CONFIG --cflags libjpeg 2>/dev/null`
15873 if ${JPEG_LIBS:+false} :; then :
15874 if ${PKG_CONFIG+:} false; then :
15875 JPEG_LIBS=`$PKG_CONFIG --libs libjpeg 2>/dev/null`
15880 $as_echo "$as_me:${as_lineno-$LINENO}: libjpeg cflags: $JPEG_CFLAGS" >&5
15881 $as_echo "$as_me:${as_lineno-$LINENO}: libjpeg libs: $JPEG_LIBS" >&5
15882 ac_save_CPPFLAGS=$CPPFLAGS
15883 CPPFLAGS="$CPPFLAGS $JPEG_CFLAGS"
15884 for ac_header in jpeglib.h
15885 do :
15886 ac_fn_c_check_header_mongrel "$LINENO" "jpeglib.h" "ac_cv_header_jpeglib_h" "$ac_includes_default"
15887 if test "x$ac_cv_header_jpeglib_h" = xyes; then :
15888 cat >>confdefs.h <<_ACEOF
15889 #define HAVE_JPEGLIB_H 1
15890 _ACEOF
15894 done
15896 if test "$ac_cv_header_jpeglib_h" = "yes"
15897 then
15898 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ljpeg" >&5
15899 $as_echo_n "checking for -ljpeg... " >&6; }
15900 if ${ac_cv_lib_soname_jpeg+:} false; then :
15901 $as_echo_n "(cached) " >&6
15902 else
15903 ac_check_soname_save_LIBS=$LIBS
15904 LIBS="-ljpeg $JPEG_LIBS $LIBS"
15905 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15906 /* end confdefs.h. */
15908 /* Override any GCC internal prototype to avoid an error.
15909 Use char because int might match the return type of a GCC
15910 builtin and then its argument prototype would still apply. */
15911 #ifdef __cplusplus
15912 extern "C"
15913 #endif
15914 char jpeg_start_decompress ();
15916 main ()
15918 return jpeg_start_decompress ();
15920 return 0;
15922 _ACEOF
15923 if ac_fn_c_try_link "$LINENO"; then :
15924 case "$LIBEXT" in
15925 dll) ac_cv_lib_soname_jpeg=`$ac_cv_path_LDD conftest.exe | grep "jpeg" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15926 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'` ;;
15927 *) ac_cv_lib_soname_jpeg=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libjpeg\\.$LIBEXT" | sed -e "s/^.*\\[\\(libjpeg\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15928 if ${ac_cv_lib_soname_jpeg:+false} :; then :
15929 ac_cv_lib_soname_jpeg=`$LDD conftest$ac_exeext | grep "libjpeg\\.$LIBEXT" | sed -e "s/^.*\(libjpeg\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15930 fi ;;
15931 esac
15932 else
15933 ac_cv_lib_soname_jpeg=
15935 rm -f core conftest.err conftest.$ac_objext \
15936 conftest$ac_exeext conftest.$ac_ext
15937 LIBS=$ac_check_soname_save_LIBS
15939 if ${ac_cv_lib_soname_jpeg:+false} :; then :
15940 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15941 $as_echo "not found" >&6; }
15942 JPEG_CFLAGS=""
15943 else
15944 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_jpeg" >&5
15945 $as_echo "$ac_cv_lib_soname_jpeg" >&6; }
15947 cat >>confdefs.h <<_ACEOF
15948 #define SONAME_LIBJPEG "$ac_cv_lib_soname_jpeg"
15949 _ACEOF
15953 else
15954 JPEG_CFLAGS=""
15956 CPPFLAGS=$ac_save_CPPFLAGS
15959 if test "x$ac_cv_lib_soname_jpeg" = "x"; then :
15960 case "x$with_jpeg" in
15961 x) as_fn_append wine_warnings "|libjpeg ${notice_platform}development files not found, JPEG won't be supported." ;;
15962 xno) ;;
15963 *) as_fn_error $? "libjpeg ${notice_platform}development files not found, JPEG won't be supported.
15964 This is an error since --with-jpeg was requested." "$LINENO" 5 ;;
15965 esac
15969 if test "x$with_jxrlib" != "xno"
15970 then
15971 if ${JXRLIB_CFLAGS:+false} :; then :
15972 if ${PKG_CONFIG+:} false; then :
15973 JXRLIB_CFLAGS=`$PKG_CONFIG --cflags jxrlib 2>/dev/null`
15976 test "$cross_compiling" = yes || JXRLIB_CFLAGS=${JXRLIB_CFLAGS:-${JXRLIB_CFLAGS:--I/usr/include/jxrlib}}
15977 if ${JXRLIB_LIBS:+false} :; then :
15978 if ${PKG_CONFIG+:} false; then :
15979 JXRLIB_LIBS=`$PKG_CONFIG --libs jxrlib 2>/dev/null`
15984 $as_echo "$as_me:${as_lineno-$LINENO}: jxrlib cflags: $JXRLIB_CFLAGS" >&5
15985 $as_echo "$as_me:${as_lineno-$LINENO}: jxrlib libs: $JXRLIB_LIBS" >&5
15986 ac_save_CPPFLAGS=$CPPFLAGS
15987 CPPFLAGS="$CPPFLAGS $JXRLIB_CFLAGS"
15988 for ac_header in JXRGlue.h
15989 do :
15990 ac_fn_c_check_header_compile "$LINENO" "JXRGlue.h" "ac_cv_header_JXRGlue_h" "#define FAR
15992 if test "x$ac_cv_header_JXRGlue_h" = xyes; then :
15993 cat >>confdefs.h <<_ACEOF
15994 #define HAVE_JXRGLUE_H 1
15995 _ACEOF
15999 done
16001 if test "$ac_cv_header_JXRGlue_h" = "yes"
16002 then
16003 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ljxrglue" >&5
16004 $as_echo_n "checking for -ljxrglue... " >&6; }
16005 if ${ac_cv_lib_soname_jxrglue+:} false; then :
16006 $as_echo_n "(cached) " >&6
16007 else
16008 ac_check_soname_save_LIBS=$LIBS
16009 LIBS="-ljxrglue $JXRLIB_LIBS $LIBS"
16010 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16011 /* end confdefs.h. */
16013 /* Override any GCC internal prototype to avoid an error.
16014 Use char because int might match the return type of a GCC
16015 builtin and then its argument prototype would still apply. */
16016 #ifdef __cplusplus
16017 extern "C"
16018 #endif
16019 char PKImageDecode_Create_WMP ();
16021 main ()
16023 return PKImageDecode_Create_WMP ();
16025 return 0;
16027 _ACEOF
16028 if ac_fn_c_try_link "$LINENO"; then :
16029 case "$LIBEXT" in
16030 dll) ac_cv_lib_soname_jxrglue=`$ac_cv_path_LDD conftest.exe | grep "jxrglue" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16031 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'` ;;
16032 *) ac_cv_lib_soname_jxrglue=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libjxrglue\\.$LIBEXT" | sed -e "s/^.*\\[\\(libjxrglue\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16033 if ${ac_cv_lib_soname_jxrglue:+false} :; then :
16034 ac_cv_lib_soname_jxrglue=`$LDD conftest$ac_exeext | grep "libjxrglue\\.$LIBEXT" | sed -e "s/^.*\(libjxrglue\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16035 fi ;;
16036 esac
16037 else
16038 ac_cv_lib_soname_jxrglue=
16040 rm -f core conftest.err conftest.$ac_objext \
16041 conftest$ac_exeext conftest.$ac_ext
16042 LIBS=$ac_check_soname_save_LIBS
16044 if ${ac_cv_lib_soname_jxrglue:+false} :; then :
16045 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16046 $as_echo "not found" >&6; }
16047 JXRLIB_CFLAGS=""
16048 else
16049 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_jxrglue" >&5
16050 $as_echo "$ac_cv_lib_soname_jxrglue" >&6; }
16052 cat >>confdefs.h <<_ACEOF
16053 #define SONAME_LIBJXRGLUE "$ac_cv_lib_soname_jxrglue"
16054 _ACEOF
16058 else
16059 JXRLIB_CFLAGS=""
16061 CPPFLAGS=$ac_save_CPPFLAGS
16064 if test "x$ac_cv_lib_soname_jxrglue" = "x"; then :
16065 case "x$with_jxrlib" in
16066 x) as_fn_append wine_notices "|jxrlib ${notice_platform}development files not found, JPEG-XR won't be supported." ;;
16067 xno) ;;
16068 *) as_fn_error $? "jxrlib ${notice_platform}development files not found, JPEG-XR won't be supported.
16069 This is an error since --with-jxrlib was requested." "$LINENO" 5 ;;
16070 esac
16074 if test "x$with_png" != "xno"
16075 then
16076 if ${PNG_CFLAGS:+false} :; then :
16077 if ${PKG_CONFIG+:} false; then :
16078 PNG_CFLAGS=`$PKG_CONFIG --cflags libpng 2>/dev/null`
16081 test "$cross_compiling" = yes || PNG_CFLAGS=${PNG_CFLAGS:-$X_CFLAGS}
16082 if ${PNG_LIBS:+false} :; then :
16083 if ${PKG_CONFIG+:} false; then :
16084 PNG_LIBS=`$PKG_CONFIG --libs libpng 2>/dev/null`
16087 test "$cross_compiling" = yes || PNG_LIBS=${PNG_LIBS:-$X_LIBS}
16089 $as_echo "$as_me:${as_lineno-$LINENO}: libpng cflags: $PNG_CFLAGS" >&5
16090 $as_echo "$as_me:${as_lineno-$LINENO}: libpng libs: $PNG_LIBS" >&5
16091 ac_save_CPPFLAGS=$CPPFLAGS
16092 CPPFLAGS="$CPPFLAGS $PNG_CFLAGS"
16093 for ac_header in png.h
16094 do :
16095 ac_fn_c_check_header_mongrel "$LINENO" "png.h" "ac_cv_header_png_h" "$ac_includes_default"
16096 if test "x$ac_cv_header_png_h" = xyes; then :
16097 cat >>confdefs.h <<_ACEOF
16098 #define HAVE_PNG_H 1
16099 _ACEOF
16103 done
16105 if test "$ac_cv_header_png_h" = "yes"
16106 then
16107 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lpng" >&5
16108 $as_echo_n "checking for -lpng... " >&6; }
16109 if ${ac_cv_lib_soname_png+:} false; then :
16110 $as_echo_n "(cached) " >&6
16111 else
16112 ac_check_soname_save_LIBS=$LIBS
16113 LIBS="-lpng $PNG_LIBS -lm -lz $LIBS"
16114 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16115 /* end confdefs.h. */
16117 /* Override any GCC internal prototype to avoid an error.
16118 Use char because int might match the return type of a GCC
16119 builtin and then its argument prototype would still apply. */
16120 #ifdef __cplusplus
16121 extern "C"
16122 #endif
16123 char png_create_read_struct ();
16125 main ()
16127 return png_create_read_struct ();
16129 return 0;
16131 _ACEOF
16132 if ac_fn_c_try_link "$LINENO"; then :
16133 case "$LIBEXT" in
16134 dll) ac_cv_lib_soname_png=`$ac_cv_path_LDD conftest.exe | grep "png" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16135 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'` ;;
16136 *) 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'`
16137 if ${ac_cv_lib_soname_png:+false} :; then :
16138 ac_cv_lib_soname_png=`$LDD conftest$ac_exeext | grep "libpng[0-9]*\\.$LIBEXT" | sed -e "s/^.*\(libpng[0-9]*\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16139 fi ;;
16140 esac
16141 else
16142 ac_cv_lib_soname_png=
16144 rm -f core conftest.err conftest.$ac_objext \
16145 conftest$ac_exeext conftest.$ac_ext
16146 LIBS=$ac_check_soname_save_LIBS
16148 if ${ac_cv_lib_soname_png:+false} :; then :
16149 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16150 $as_echo "not found" >&6; }
16151 PNG_CFLAGS=""
16152 else
16153 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_png" >&5
16154 $as_echo "$ac_cv_lib_soname_png" >&6; }
16156 cat >>confdefs.h <<_ACEOF
16157 #define SONAME_LIBPNG "$ac_cv_lib_soname_png"
16158 _ACEOF
16162 else
16163 PNG_CFLAGS=""
16165 CPPFLAGS=$ac_save_CPPFLAGS
16168 if test "x$ac_cv_lib_soname_png" = "x"; then :
16169 case "x$with_png" in
16170 x) as_fn_append wine_warnings "|libpng ${notice_platform}development files not found, PNG won't be supported." ;;
16171 xno) ;;
16172 *) as_fn_error $? "libpng ${notice_platform}development files not found, PNG won't be supported.
16173 This is an error since --with-png was requested." "$LINENO" 5 ;;
16174 esac
16178 if test "x$with_tiff" != "xno"
16179 then
16180 if ${TIFF_CFLAGS:+false} :; then :
16181 if ${PKG_CONFIG+:} false; then :
16182 TIFF_CFLAGS=`$PKG_CONFIG --cflags libtiff-4 2>/dev/null`
16186 if ${TIFF_LIBS:+false} :; then :
16187 if ${PKG_CONFIG+:} false; then :
16188 TIFF_LIBS=`$PKG_CONFIG --libs libtiff-4 2>/dev/null`
16193 $as_echo "$as_me:${as_lineno-$LINENO}: libtiff-4 cflags: $TIFF_CFLAGS" >&5
16194 $as_echo "$as_me:${as_lineno-$LINENO}: libtiff-4 libs: $TIFF_LIBS" >&5
16195 ac_save_CPPFLAGS=$CPPFLAGS
16196 CPPFLAGS="$CPPFLAGS $TIFF_CFLAGS"
16197 for ac_header in tiffio.h
16198 do :
16199 ac_fn_c_check_header_mongrel "$LINENO" "tiffio.h" "ac_cv_header_tiffio_h" "$ac_includes_default"
16200 if test "x$ac_cv_header_tiffio_h" = xyes; then :
16201 cat >>confdefs.h <<_ACEOF
16202 #define HAVE_TIFFIO_H 1
16203 _ACEOF
16207 done
16209 if test "$ac_cv_header_tiffio_h" = "yes"
16210 then
16211 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ltiff" >&5
16212 $as_echo_n "checking for -ltiff... " >&6; }
16213 if ${ac_cv_lib_soname_tiff+:} false; then :
16214 $as_echo_n "(cached) " >&6
16215 else
16216 ac_check_soname_save_LIBS=$LIBS
16217 LIBS="-ltiff $TIFF_LIBS $LIBS"
16218 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16219 /* end confdefs.h. */
16221 /* Override any GCC internal prototype to avoid an error.
16222 Use char because int might match the return type of a GCC
16223 builtin and then its argument prototype would still apply. */
16224 #ifdef __cplusplus
16225 extern "C"
16226 #endif
16227 char TIFFClientOpen ();
16229 main ()
16231 return TIFFClientOpen ();
16233 return 0;
16235 _ACEOF
16236 if ac_fn_c_try_link "$LINENO"; then :
16237 case "$LIBEXT" in
16238 dll) ac_cv_lib_soname_tiff=`$ac_cv_path_LDD conftest.exe | grep "tiff" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16239 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'` ;;
16240 *) ac_cv_lib_soname_tiff=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libtiff\\.$LIBEXT" | sed -e "s/^.*\\[\\(libtiff\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16241 if ${ac_cv_lib_soname_tiff:+false} :; then :
16242 ac_cv_lib_soname_tiff=`$LDD conftest$ac_exeext | grep "libtiff\\.$LIBEXT" | sed -e "s/^.*\(libtiff\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16243 fi ;;
16244 esac
16245 else
16246 ac_cv_lib_soname_tiff=
16248 rm -f core conftest.err conftest.$ac_objext \
16249 conftest$ac_exeext conftest.$ac_ext
16250 LIBS=$ac_check_soname_save_LIBS
16252 if ${ac_cv_lib_soname_tiff:+false} :; then :
16253 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16254 $as_echo "not found" >&6; }
16256 else
16257 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_tiff" >&5
16258 $as_echo "$ac_cv_lib_soname_tiff" >&6; }
16260 cat >>confdefs.h <<_ACEOF
16261 #define SONAME_LIBTIFF "$ac_cv_lib_soname_tiff"
16262 _ACEOF
16267 CPPFLAGS=$ac_save_CPPFLAGS
16270 if test "x$ac_cv_lib_soname_tiff" = "x"; then :
16271 case "x$with_tiff" in
16272 x) as_fn_append wine_notices "|libtiff ${notice_platform}development files not found, TIFF won't be supported." ;;
16273 xno) ;;
16274 *) as_fn_error $? "libtiff ${notice_platform}development files not found, TIFF won't be supported.
16275 This is an error since --with-tiff was requested." "$LINENO" 5 ;;
16276 esac
16280 if test "x$with_mpg123" != "xno"
16281 then
16282 if ${MPG123_CFLAGS:+false} :; then :
16283 if ${PKG_CONFIG+:} false; then :
16284 MPG123_CFLAGS=`$PKG_CONFIG --cflags libmpg123 2>/dev/null`
16288 if ${MPG123_LIBS:+false} :; then :
16289 if ${PKG_CONFIG+:} false; then :
16290 MPG123_LIBS=`$PKG_CONFIG --libs libmpg123 2>/dev/null`
16294 MPG123_LIBS=${MPG123_LIBS:-"-lmpg123"}
16295 $as_echo "$as_me:${as_lineno-$LINENO}: libmpg123 cflags: $MPG123_CFLAGS" >&5
16296 $as_echo "$as_me:${as_lineno-$LINENO}: libmpg123 libs: $MPG123_LIBS" >&5
16297 ac_save_CPPFLAGS=$CPPFLAGS
16298 CPPFLAGS="$CPPFLAGS $MPG123_CFLAGS"
16299 for ac_header in mpg123.h
16300 do :
16301 ac_fn_c_check_header_mongrel "$LINENO" "mpg123.h" "ac_cv_header_mpg123_h" "$ac_includes_default"
16302 if test "x$ac_cv_header_mpg123_h" = xyes; then :
16303 cat >>confdefs.h <<_ACEOF
16304 #define HAVE_MPG123_H 1
16305 _ACEOF
16309 done
16311 if test "$ac_cv_header_mpg123_h" = "yes"
16312 then
16313 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mpg123_feed in -lmpg123" >&5
16314 $as_echo_n "checking for mpg123_feed in -lmpg123... " >&6; }
16315 if ${ac_cv_lib_mpg123_mpg123_feed+:} false; then :
16316 $as_echo_n "(cached) " >&6
16317 else
16318 ac_check_lib_save_LIBS=$LIBS
16319 LIBS="-lmpg123 $MPG123_LIBS $LIBS"
16320 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16321 /* end confdefs.h. */
16323 /* Override any GCC internal prototype to avoid an error.
16324 Use char because int might match the return type of a GCC
16325 builtin and then its argument prototype would still apply. */
16326 #ifdef __cplusplus
16327 extern "C"
16328 #endif
16329 char mpg123_feed ();
16331 main ()
16333 return mpg123_feed ();
16335 return 0;
16337 _ACEOF
16338 if ac_fn_c_try_link "$LINENO"; then :
16339 ac_cv_lib_mpg123_mpg123_feed=yes
16340 else
16341 ac_cv_lib_mpg123_mpg123_feed=no
16343 rm -f core conftest.err conftest.$ac_objext \
16344 conftest$ac_exeext conftest.$ac_ext
16345 LIBS=$ac_check_lib_save_LIBS
16347 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_mpg123_mpg123_feed" >&5
16348 $as_echo "$ac_cv_lib_mpg123_mpg123_feed" >&6; }
16349 if test "x$ac_cv_lib_mpg123_mpg123_feed" = xyes; then :
16351 else
16352 MPG123_LIBS=""
16355 else
16356 MPG123_CFLAGS=""
16357 MPG123_LIBS=""
16359 CPPFLAGS=$ac_save_CPPFLAGS
16362 if test "x$ac_cv_lib_mpg123_mpg123_feed" != xyes; then :
16363 case "x$with_mpg123" in
16364 x) as_fn_append wine_notices "|libmpg123 ${notice_platform}development files not found (or too old), mp3 codec won't be supported." ;;
16365 xno) ;;
16366 *) as_fn_error $? "libmpg123 ${notice_platform}development files not found (or too old), mp3 codec won't be supported.
16367 This is an error since --with-mpg123 was requested." "$LINENO" 5 ;;
16368 esac
16369 enable_l3codeca_acm=${enable_l3codeca_acm:-no}
16371 test "x$ac_cv_lib_mpg123_mpg123_feed" = xyes || enable_mp3dmod=${enable_mp3dmod:-no}
16373 if test "$ac_cv_header_AL_al_h" = "yes"
16374 then
16375 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lopenal" >&5
16376 $as_echo_n "checking for -lopenal... " >&6; }
16377 if ${ac_cv_lib_soname_openal+:} false; then :
16378 $as_echo_n "(cached) " >&6
16379 else
16380 ac_check_soname_save_LIBS=$LIBS
16381 LIBS="-lopenal $LIBS"
16382 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16383 /* end confdefs.h. */
16385 /* Override any GCC internal prototype to avoid an error.
16386 Use char because int might match the return type of a GCC
16387 builtin and then its argument prototype would still apply. */
16388 #ifdef __cplusplus
16389 extern "C"
16390 #endif
16391 char alGetSource3i ();
16393 main ()
16395 return alGetSource3i ();
16397 return 0;
16399 _ACEOF
16400 if ac_fn_c_try_link "$LINENO"; then :
16401 case "$LIBEXT" in
16402 dll) ac_cv_lib_soname_openal=`$ac_cv_path_LDD conftest.exe | grep "openal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16403 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'` ;;
16404 *) ac_cv_lib_soname_openal=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libopenal\\.$LIBEXT" | sed -e "s/^.*\\[\\(libopenal\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16405 if ${ac_cv_lib_soname_openal:+false} :; then :
16406 ac_cv_lib_soname_openal=`$LDD conftest$ac_exeext | grep "libopenal\\.$LIBEXT" | sed -e "s/^.*\(libopenal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16407 fi ;;
16408 esac
16409 else
16410 ac_cv_lib_soname_openal=
16412 rm -f core conftest.err conftest.$ac_objext \
16413 conftest$ac_exeext conftest.$ac_ext
16414 LIBS=$ac_check_soname_save_LIBS
16416 if ${ac_cv_lib_soname_openal:+false} :; then :
16417 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16418 $as_echo "not found" >&6; }
16420 else
16421 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_openal" >&5
16422 $as_echo "$ac_cv_lib_soname_openal" >&6; }
16424 cat >>confdefs.h <<_ACEOF
16425 #define SONAME_LIBOPENAL "$ac_cv_lib_soname_openal"
16426 _ACEOF
16428 OPENAL_LIBS="-lopenal"
16430 ac_cv_lib_openal=yes
16432 cat >>confdefs.h <<_ACEOF
16433 #define HAVE_OPENAL 1
16434 _ACEOF
16438 if test "x$ac_cv_lib_openal" != xyes; then :
16439 case "x$with_openal" in
16440 x) as_fn_append wine_notices "|libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported." ;;
16441 xno) ;;
16442 *) as_fn_error $? "libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported.
16443 This is an error since --with-openal was requested." "$LINENO" 5 ;;
16444 esac
16445 enable_openal32=${enable_openal32:-no}
16448 if test "x$ac_cv_lib_soname_FAudio" = "x"
16449 then
16450 enable_x3daudio1_0=${enable_x3daudio1_0:-no}
16451 enable_x3daudio1_1=${enable_x3daudio1_1:-no}
16452 enable_x3daudio1_2=${enable_x3daudio1_2:-no}
16453 enable_x3daudio1_3=${enable_x3daudio1_3:-no}
16454 enable_x3daudio1_4=${enable_x3daudio1_4:-no}
16455 enable_x3daudio1_5=${enable_x3daudio1_5:-no}
16456 enable_x3daudio1_6=${enable_x3daudio1_6:-no}
16457 enable_x3daudio1_7=${enable_x3daudio1_7:-no}
16458 enable_xactengine2_0=${enable_xactengine2_0:-no}
16459 enable_xactengine2_4=${enable_xactengine2_4:-no}
16460 enable_xactengine2_7=${enable_xactengine2_7:-no}
16461 enable_xactengine2_9=${enable_xactengine2_9:-no}
16462 enable_xactengine3_0=${enable_xactengine3_0:-no}
16463 enable_xactengine3_1=${enable_xactengine3_1:-no}
16464 enable_xactengine3_2=${enable_xactengine3_2:-no}
16465 enable_xactengine3_3=${enable_xactengine3_3:-no}
16466 enable_xactengine3_4=${enable_xactengine3_4:-no}
16467 enable_xactengine3_5=${enable_xactengine3_5:-no}
16468 enable_xactengine3_6=${enable_xactengine3_6:-no}
16469 enable_xactengine3_7=${enable_xactengine3_7:-no}
16470 enable_xapofx1_1=${enable_xapofx1_1:-no}
16471 enable_xapofx1_2=${enable_xapofx1_2:-no}
16472 enable_xapofx1_3=${enable_xapofx1_3:-no}
16473 enable_xapofx1_4=${enable_xapofx1_4:-no}
16474 enable_xapofx1_5=${enable_xapofx1_5:-no}
16475 enable_xaudio2_0=${enable_xaudio2_0:-no}
16476 enable_xaudio2_1=${enable_xaudio2_1:-no}
16477 enable_xaudio2_2=${enable_xaudio2_2:-no}
16478 enable_xaudio2_3=${enable_xaudio2_3:-no}
16479 enable_xaudio2_4=${enable_xaudio2_4:-no}
16480 enable_xaudio2_5=${enable_xaudio2_5:-no}
16481 enable_xaudio2_6=${enable_xaudio2_6:-no}
16482 enable_xaudio2_7=${enable_xaudio2_7:-no}
16483 enable_xaudio2_8=${enable_xaudio2_8:-no}
16484 enable_xaudio2_9=${enable_xaudio2_9:-no}
16487 if test "$ac_cv_header_kstat_h" = "yes"
16488 then
16489 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for kstat_open in -lkstat" >&5
16490 $as_echo_n "checking for kstat_open in -lkstat... " >&6; }
16491 if ${ac_cv_lib_kstat_kstat_open+:} false; then :
16492 $as_echo_n "(cached) " >&6
16493 else
16494 ac_check_lib_save_LIBS=$LIBS
16495 LIBS="-lkstat $LIBS"
16496 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16497 /* end confdefs.h. */
16499 /* Override any GCC internal prototype to avoid an error.
16500 Use char because int might match the return type of a GCC
16501 builtin and then its argument prototype would still apply. */
16502 #ifdef __cplusplus
16503 extern "C"
16504 #endif
16505 char kstat_open ();
16507 main ()
16509 return kstat_open ();
16511 return 0;
16513 _ACEOF
16514 if ac_fn_c_try_link "$LINENO"; then :
16515 ac_cv_lib_kstat_kstat_open=yes
16516 else
16517 ac_cv_lib_kstat_kstat_open=no
16519 rm -f core conftest.err conftest.$ac_objext \
16520 conftest$ac_exeext conftest.$ac_ext
16521 LIBS=$ac_check_lib_save_LIBS
16523 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_kstat_kstat_open" >&5
16524 $as_echo "$ac_cv_lib_kstat_kstat_open" >&6; }
16525 if test "x$ac_cv_lib_kstat_kstat_open" = xyes; then :
16527 $as_echo "#define HAVE_LIBKSTAT 1" >>confdefs.h
16529 KSTAT_LIBS="-lkstat"
16535 if test "$ac_cv_header_libprocstat_h" = "yes"
16536 then
16537 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for procstat_open_sysctl in -lprocstat" >&5
16538 $as_echo_n "checking for procstat_open_sysctl in -lprocstat... " >&6; }
16539 if ${ac_cv_lib_procstat_procstat_open_sysctl+:} false; then :
16540 $as_echo_n "(cached) " >&6
16541 else
16542 ac_check_lib_save_LIBS=$LIBS
16543 LIBS="-lprocstat $LIBS"
16544 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16545 /* end confdefs.h. */
16547 /* Override any GCC internal prototype to avoid an error.
16548 Use char because int might match the return type of a GCC
16549 builtin and then its argument prototype would still apply. */
16550 #ifdef __cplusplus
16551 extern "C"
16552 #endif
16553 char procstat_open_sysctl ();
16555 main ()
16557 return procstat_open_sysctl ();
16559 return 0;
16561 _ACEOF
16562 if ac_fn_c_try_link "$LINENO"; then :
16563 ac_cv_lib_procstat_procstat_open_sysctl=yes
16564 else
16565 ac_cv_lib_procstat_procstat_open_sysctl=no
16567 rm -f core conftest.err conftest.$ac_objext \
16568 conftest$ac_exeext conftest.$ac_ext
16569 LIBS=$ac_check_lib_save_LIBS
16571 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_procstat_procstat_open_sysctl" >&5
16572 $as_echo "$ac_cv_lib_procstat_procstat_open_sysctl" >&6; }
16573 if test "x$ac_cv_lib_procstat_procstat_open_sysctl" = xyes; then :
16575 $as_echo "#define HAVE_LIBPROCSTAT 1" >>confdefs.h
16577 PROCSTAT_LIBS="-lprocstat"
16583 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lodbc" >&5
16584 $as_echo_n "checking for -lodbc... " >&6; }
16585 if ${ac_cv_lib_soname_odbc+:} false; then :
16586 $as_echo_n "(cached) " >&6
16587 else
16588 ac_check_soname_save_LIBS=$LIBS
16589 LIBS="-lodbc $LIBS"
16590 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16591 /* end confdefs.h. */
16593 /* Override any GCC internal prototype to avoid an error.
16594 Use char because int might match the return type of a GCC
16595 builtin and then its argument prototype would still apply. */
16596 #ifdef __cplusplus
16597 extern "C"
16598 #endif
16599 char SQLConnect ();
16601 main ()
16603 return SQLConnect ();
16605 return 0;
16607 _ACEOF
16608 if ac_fn_c_try_link "$LINENO"; then :
16609 case "$LIBEXT" in
16610 dll) ac_cv_lib_soname_odbc=`$ac_cv_path_LDD conftest.exe | grep "odbc" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16611 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'` ;;
16612 *) ac_cv_lib_soname_odbc=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libodbc\\.$LIBEXT" | sed -e "s/^.*\\[\\(libodbc\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16613 if ${ac_cv_lib_soname_odbc:+false} :; then :
16614 ac_cv_lib_soname_odbc=`$LDD conftest$ac_exeext | grep "libodbc\\.$LIBEXT" | sed -e "s/^.*\(libodbc\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16615 fi ;;
16616 esac
16617 else
16618 ac_cv_lib_soname_odbc=
16620 rm -f core conftest.err conftest.$ac_objext \
16621 conftest$ac_exeext conftest.$ac_ext
16622 LIBS=$ac_check_soname_save_LIBS
16624 if ${ac_cv_lib_soname_odbc:+false} :; then :
16625 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16626 $as_echo "not found" >&6; }
16627 cat >>confdefs.h <<_ACEOF
16628 #define SONAME_LIBODBC "libodbc.$LIBEXT"
16629 _ACEOF
16631 else
16632 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_odbc" >&5
16633 $as_echo "$ac_cv_lib_soname_odbc" >&6; }
16635 cat >>confdefs.h <<_ACEOF
16636 #define SONAME_LIBODBC "$ac_cv_lib_soname_odbc"
16637 _ACEOF
16642 if test "x$with_netapi" != "xno"
16643 then
16644 if ${NETAPI_CFLAGS:+false} :; then :
16645 if ${PKG_CONFIG+:} false; then :
16646 NETAPI_CFLAGS=`$PKG_CONFIG --cflags netapi 2>/dev/null`
16650 if ${NETAPI_LIBS:+false} :; then :
16651 if ${PKG_CONFIG+:} false; then :
16652 NETAPI_LIBS=`$PKG_CONFIG --libs netapi 2>/dev/null`
16657 $as_echo "$as_me:${as_lineno-$LINENO}: netapi cflags: $NETAPI_CFLAGS" >&5
16658 $as_echo "$as_me:${as_lineno-$LINENO}: netapi libs: $NETAPI_LIBS" >&5
16659 ac_save_CPPFLAGS=$CPPFLAGS
16660 CPPFLAGS="$CPPFLAGS $NETAPI_CFLAGS"
16661 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lnetapi" >&5
16662 $as_echo_n "checking for -lnetapi... " >&6; }
16663 if ${ac_cv_lib_soname_netapi+:} false; then :
16664 $as_echo_n "(cached) " >&6
16665 else
16666 ac_check_soname_save_LIBS=$LIBS
16667 LIBS="-lnetapi $NETAPI_LIBS $LIBS"
16668 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16669 /* end confdefs.h. */
16671 /* Override any GCC internal prototype to avoid an error.
16672 Use char because int might match the return type of a GCC
16673 builtin and then its argument prototype would still apply. */
16674 #ifdef __cplusplus
16675 extern "C"
16676 #endif
16677 char libnetapi_init ();
16679 main ()
16681 return libnetapi_init ();
16683 return 0;
16685 _ACEOF
16686 if ac_fn_c_try_link "$LINENO"; then :
16687 case "$LIBEXT" in
16688 dll) ac_cv_lib_soname_netapi=`$ac_cv_path_LDD conftest.exe | grep "netapi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16689 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'` ;;
16690 *) ac_cv_lib_soname_netapi=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libnetapi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libnetapi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16691 if ${ac_cv_lib_soname_netapi:+false} :; then :
16692 ac_cv_lib_soname_netapi=`$LDD conftest$ac_exeext | grep "libnetapi\\.$LIBEXT" | sed -e "s/^.*\(libnetapi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16693 fi ;;
16694 esac
16695 else
16696 ac_cv_lib_soname_netapi=
16698 rm -f core conftest.err conftest.$ac_objext \
16699 conftest$ac_exeext conftest.$ac_ext
16700 LIBS=$ac_check_soname_save_LIBS
16702 if ${ac_cv_lib_soname_netapi:+false} :; then :
16703 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16704 $as_echo "not found" >&6; }
16705 cat >>confdefs.h <<_ACEOF
16706 #define SONAME_LIBNETAPI "libnetapi.$LIBEXT"
16707 _ACEOF
16709 else
16710 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_netapi" >&5
16711 $as_echo "$ac_cv_lib_soname_netapi" >&6; }
16713 cat >>confdefs.h <<_ACEOF
16714 #define SONAME_LIBNETAPI "$ac_cv_lib_soname_netapi"
16715 _ACEOF
16719 CPPFLAGS=$ac_save_CPPFLAGS
16723 if test "x$enable_winealsa_drv$enable_winecoreaudio_drv$enable_winepulse_drv$enable_wineoss_drv$enable_wineandroid_drv" = xnonononono -a \
16724 "x$with_alsa$with_coreaudio$with_oss$with_pulse" != xnononono
16725 then
16726 as_fn_append wine_warnings "|No sound system was found. Windows applications will be silent."
16729 if test "x$with_vulkan" != "xno"
16730 then
16731 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lvulkan" >&5
16732 $as_echo_n "checking for -lvulkan... " >&6; }
16733 if ${ac_cv_lib_soname_vulkan+:} false; then :
16734 $as_echo_n "(cached) " >&6
16735 else
16736 ac_check_soname_save_LIBS=$LIBS
16737 LIBS="-lvulkan $LIBS"
16738 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16739 /* end confdefs.h. */
16741 /* Override any GCC internal prototype to avoid an error.
16742 Use char because int might match the return type of a GCC
16743 builtin and then its argument prototype would still apply. */
16744 #ifdef __cplusplus
16745 extern "C"
16746 #endif
16747 char vkGetInstanceProcAddr ();
16749 main ()
16751 return vkGetInstanceProcAddr ();
16753 return 0;
16755 _ACEOF
16756 if ac_fn_c_try_link "$LINENO"; then :
16757 case "$LIBEXT" in
16758 dll) ac_cv_lib_soname_vulkan=`$ac_cv_path_LDD conftest.exe | grep "vulkan" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16759 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'` ;;
16760 *) ac_cv_lib_soname_vulkan=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libvulkan\\.$LIBEXT" | sed -e "s/^.*\\[\\(libvulkan\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16761 if ${ac_cv_lib_soname_vulkan:+false} :; then :
16762 ac_cv_lib_soname_vulkan=`$LDD conftest$ac_exeext | grep "libvulkan\\.$LIBEXT" | sed -e "s/^.*\(libvulkan\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16763 fi ;;
16764 esac
16765 else
16766 ac_cv_lib_soname_vulkan=
16768 rm -f core conftest.err conftest.$ac_objext \
16769 conftest$ac_exeext conftest.$ac_ext
16770 LIBS=$ac_check_soname_save_LIBS
16772 if ${ac_cv_lib_soname_vulkan:+false} :; then :
16773 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16774 $as_echo "not found" >&6; }
16776 else
16777 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_vulkan" >&5
16778 $as_echo "$ac_cv_lib_soname_vulkan" >&6; }
16780 cat >>confdefs.h <<_ACEOF
16781 #define SONAME_LIBVULKAN "$ac_cv_lib_soname_vulkan"
16782 _ACEOF
16786 if test "x$ac_cv_lib_soname_vulkan" = "x"
16787 then
16788 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lMoltenVK" >&5
16789 $as_echo_n "checking for -lMoltenVK... " >&6; }
16790 if ${ac_cv_lib_soname_MoltenVK+:} false; then :
16791 $as_echo_n "(cached) " >&6
16792 else
16793 ac_check_soname_save_LIBS=$LIBS
16794 LIBS="-lMoltenVK $LIBS"
16795 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16796 /* end confdefs.h. */
16798 /* Override any GCC internal prototype to avoid an error.
16799 Use char because int might match the return type of a GCC
16800 builtin and then its argument prototype would still apply. */
16801 #ifdef __cplusplus
16802 extern "C"
16803 #endif
16804 char vkGetInstanceProcAddr ();
16806 main ()
16808 return vkGetInstanceProcAddr ();
16810 return 0;
16812 _ACEOF
16813 if ac_fn_c_try_link "$LINENO"; then :
16814 case "$LIBEXT" in
16815 dll) ac_cv_lib_soname_MoltenVK=`$ac_cv_path_LDD conftest.exe | grep "MoltenVK" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16816 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'` ;;
16817 *) ac_cv_lib_soname_MoltenVK=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libMoltenVK\\.$LIBEXT" | sed -e "s/^.*\\[\\(libMoltenVK\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16818 if ${ac_cv_lib_soname_MoltenVK:+false} :; then :
16819 ac_cv_lib_soname_MoltenVK=`$LDD conftest$ac_exeext | grep "libMoltenVK\\.$LIBEXT" | sed -e "s/^.*\(libMoltenVK\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16820 fi ;;
16821 esac
16822 else
16823 ac_cv_lib_soname_MoltenVK=
16825 rm -f core conftest.err conftest.$ac_objext \
16826 conftest$ac_exeext conftest.$ac_ext
16827 LIBS=$ac_check_soname_save_LIBS
16829 if ${ac_cv_lib_soname_MoltenVK:+false} :; then :
16830 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16831 $as_echo "not found" >&6; }
16833 else
16834 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_MoltenVK" >&5
16835 $as_echo "$ac_cv_lib_soname_MoltenVK" >&6; }
16837 cat >>confdefs.h <<_ACEOF
16838 #define SONAME_LIBMOLTENVK "$ac_cv_lib_soname_MoltenVK"
16839 _ACEOF
16845 if test "x$ac_cv_lib_soname_vulkan" = "x" -a "x$ac_cv_lib_soname_MoltenVK" = "x"; then :
16846 case "x$with_vulkan" in
16847 x) as_fn_append wine_notices "|libvulkan and libMoltenVK ${notice_platform}development files not found, Vulkan won't be supported." ;;
16848 xno) ;;
16849 *) as_fn_error $? "libvulkan and libMoltenVK ${notice_platform}development files not found, Vulkan won't be supported.
16850 This is an error since --with-vulkan was requested." "$LINENO" 5 ;;
16851 esac
16855 if test "x$with_vkd3d" != "xno"
16856 then
16857 if ${VKD3D_CFLAGS:+false} :; then :
16858 if ${PKG_CONFIG+:} false; then :
16859 VKD3D_CFLAGS=`$PKG_CONFIG --cflags libvkd3d 2>/dev/null`
16863 if ${VKD3D_LIBS:+false} :; then :
16864 if ${PKG_CONFIG+:} false; then :
16865 VKD3D_LIBS=`$PKG_CONFIG --libs libvkd3d 2>/dev/null`
16870 $as_echo "$as_me:${as_lineno-$LINENO}: libvkd3d cflags: $VKD3D_CFLAGS" >&5
16871 $as_echo "$as_me:${as_lineno-$LINENO}: libvkd3d libs: $VKD3D_LIBS" >&5
16872 ac_save_CPPFLAGS=$CPPFLAGS
16873 CPPFLAGS="$CPPFLAGS $VKD3D_CFLAGS"
16874 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lvkd3d" >&5
16875 $as_echo_n "checking for -lvkd3d... " >&6; }
16876 if ${ac_cv_lib_soname_vkd3d+:} false; then :
16877 $as_echo_n "(cached) " >&6
16878 else
16879 ac_check_soname_save_LIBS=$LIBS
16880 LIBS="-lvkd3d $VKD3D_LIBS $LIBS"
16881 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16882 /* end confdefs.h. */
16884 /* Override any GCC internal prototype to avoid an error.
16885 Use char because int might match the return type of a GCC
16886 builtin and then its argument prototype would still apply. */
16887 #ifdef __cplusplus
16888 extern "C"
16889 #endif
16890 char vkd3d_serialize_versioned_root_signature ();
16892 main ()
16894 return vkd3d_serialize_versioned_root_signature ();
16896 return 0;
16898 _ACEOF
16899 if ac_fn_c_try_link "$LINENO"; then :
16900 case "$LIBEXT" in
16901 dll) ac_cv_lib_soname_vkd3d=`$ac_cv_path_LDD conftest.exe | grep "vkd3d" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16902 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'` ;;
16903 *) ac_cv_lib_soname_vkd3d=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libvkd3d\\.$LIBEXT" | sed -e "s/^.*\\[\\(libvkd3d\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16904 if ${ac_cv_lib_soname_vkd3d:+false} :; then :
16905 ac_cv_lib_soname_vkd3d=`$LDD conftest$ac_exeext | grep "libvkd3d\\.$LIBEXT" | sed -e "s/^.*\(libvkd3d\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16906 fi ;;
16907 esac
16908 else
16909 ac_cv_lib_soname_vkd3d=
16911 rm -f core conftest.err conftest.$ac_objext \
16912 conftest$ac_exeext conftest.$ac_ext
16913 LIBS=$ac_check_soname_save_LIBS
16915 if ${ac_cv_lib_soname_vkd3d:+false} :; then :
16916 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16917 $as_echo "not found" >&6; }
16919 else
16920 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_vkd3d" >&5
16921 $as_echo "$ac_cv_lib_soname_vkd3d" >&6; }
16923 cat >>confdefs.h <<_ACEOF
16924 #define SONAME_LIBVKD3D "$ac_cv_lib_soname_vkd3d"
16925 _ACEOF
16929 CPPFLAGS=$ac_save_CPPFLAGS
16931 if ${VKD3D_SHADER_CFLAGS:+false} :; then :
16932 if ${PKG_CONFIG+:} false; then :
16933 VKD3D_SHADER_CFLAGS=`$PKG_CONFIG --cflags libvkd3d-shader 2>/dev/null`
16937 if ${VKD3D_SHADER_LIBS:+false} :; then :
16938 if ${PKG_CONFIG+:} false; then :
16939 VKD3D_SHADER_LIBS=`$PKG_CONFIG --libs libvkd3d-shader 2>/dev/null`
16944 $as_echo "$as_me:${as_lineno-$LINENO}: libvkd3d-shader cflags: $VKD3D_SHADER_CFLAGS" >&5
16945 $as_echo "$as_me:${as_lineno-$LINENO}: libvkd3d-shader libs: $VKD3D_SHADER_LIBS" >&5
16946 ac_save_CPPFLAGS=$CPPFLAGS
16947 CPPFLAGS="$CPPFLAGS $VKD3D_SHADER_CFLAGS"
16948 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lvkd3d-shader" >&5
16949 $as_echo_n "checking for -lvkd3d-shader... " >&6; }
16950 if ${ac_cv_lib_soname_vkd3d_shader+:} false; then :
16951 $as_echo_n "(cached) " >&6
16952 else
16953 ac_check_soname_save_LIBS=$LIBS
16954 LIBS="-lvkd3d-shader $VKD3D_SHADER_LIBS $LIBS"
16955 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16956 /* end confdefs.h. */
16958 /* Override any GCC internal prototype to avoid an error.
16959 Use char because int might match the return type of a GCC
16960 builtin and then its argument prototype would still apply. */
16961 #ifdef __cplusplus
16962 extern "C"
16963 #endif
16964 char vkd3d_shader_compile ();
16966 main ()
16968 return vkd3d_shader_compile ();
16970 return 0;
16972 _ACEOF
16973 if ac_fn_c_try_link "$LINENO"; then :
16974 case "$LIBEXT" in
16975 dll) ac_cv_lib_soname_vkd3d_shader=`$ac_cv_path_LDD conftest.exe | grep "vkd3d-shader" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16976 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'` ;;
16977 *) 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'`
16978 if ${ac_cv_lib_soname_vkd3d_shader:+false} :; then :
16979 ac_cv_lib_soname_vkd3d_shader=`$LDD conftest$ac_exeext | grep "libvkd3d-shader\\.$LIBEXT" | sed -e "s/^.*\(libvkd3d-shader\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16980 fi ;;
16981 esac
16982 else
16983 ac_cv_lib_soname_vkd3d_shader=
16985 rm -f core conftest.err conftest.$ac_objext \
16986 conftest$ac_exeext conftest.$ac_ext
16987 LIBS=$ac_check_soname_save_LIBS
16989 if ${ac_cv_lib_soname_vkd3d_shader:+false} :; then :
16990 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16991 $as_echo "not found" >&6; }
16993 else
16994 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_vkd3d_shader" >&5
16995 $as_echo "$ac_cv_lib_soname_vkd3d_shader" >&6; }
16997 cat >>confdefs.h <<_ACEOF
16998 #define SONAME_LIBVKD3D_SHADER "$ac_cv_lib_soname_vkd3d_shader"
16999 _ACEOF
17003 CPPFLAGS=$ac_save_CPPFLAGS
17006 if test "x$ac_cv_lib_soname_vkd3d" = "x"; then :
17007 case "x$with_vkd3d" in
17008 x) as_fn_append wine_notices "|vkd3d ${notice_platform}development files not found (or too old), Direct3D 12 won't be supported." ;;
17009 xno) ;;
17010 *) as_fn_error $? "vkd3d ${notice_platform}development files not found (or too old), Direct3D 12 won't be supported.
17011 This is an error since --with-vkd3d was requested." "$LINENO" 5 ;;
17012 esac
17015 test "x$ac_cv_lib_soname_vkd3d" != "x" || enable_d3d12=${enable_d3d12:-no}
17018 EXTRACFLAGS=""
17020 if test "x${GCC}" = "xyes"
17021 then
17022 EXTRACFLAGS="-Wall -pipe"
17024 saved_CFLAGS=$CFLAGS
17025 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=unknown-warning-option" >&5
17026 $as_echo_n "checking whether the compiler supports -Werror=unknown-warning-option... " >&6; }
17027 if ${ac_cv_cflags__Werror_unknown_warning_option+:} false; then :
17028 $as_echo_n "(cached) " >&6
17029 else
17030 ac_wine_try_cflags_saved=$CFLAGS
17031 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
17032 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17033 /* end confdefs.h. */
17034 int main(int argc, char **argv) { return 0; }
17035 _ACEOF
17036 if ac_fn_c_try_link "$LINENO"; then :
17037 ac_cv_cflags__Werror_unknown_warning_option=yes
17038 else
17039 ac_cv_cflags__Werror_unknown_warning_option=no
17041 rm -f core conftest.err conftest.$ac_objext \
17042 conftest$ac_exeext conftest.$ac_ext
17043 CFLAGS=$ac_wine_try_cflags_saved
17045 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_unknown_warning_option" >&5
17046 $as_echo "$ac_cv_cflags__Werror_unknown_warning_option" >&6; }
17047 if test "x$ac_cv_cflags__Werror_unknown_warning_option" = xyes; then :
17048 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
17050 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=unused-command-line-argument" >&5
17051 $as_echo_n "checking whether the compiler supports -Werror=unused-command-line-argument... " >&6; }
17052 if ${ac_cv_cflags__Werror_unused_command_line_argument+:} false; then :
17053 $as_echo_n "(cached) " >&6
17054 else
17055 ac_wine_try_cflags_saved=$CFLAGS
17056 CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
17057 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17058 /* end confdefs.h. */
17059 int main(int argc, char **argv) { return 0; }
17060 _ACEOF
17061 if ac_fn_c_try_link "$LINENO"; then :
17062 ac_cv_cflags__Werror_unused_command_line_argument=yes
17063 else
17064 ac_cv_cflags__Werror_unused_command_line_argument=no
17066 rm -f core conftest.err conftest.$ac_objext \
17067 conftest$ac_exeext conftest.$ac_ext
17068 CFLAGS=$ac_wine_try_cflags_saved
17070 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_unused_command_line_argument" >&5
17071 $as_echo "$ac_cv_cflags__Werror_unused_command_line_argument" >&6; }
17072 if test "x$ac_cv_cflags__Werror_unused_command_line_argument" = xyes; then :
17073 CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
17075 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=ignored-optimization-argument" >&5
17076 $as_echo_n "checking whether the compiler supports -Werror=ignored-optimization-argument... " >&6; }
17077 if ${ac_cv_cflags__Werror_ignored_optimization_argument+:} false; then :
17078 $as_echo_n "(cached) " >&6
17079 else
17080 ac_wine_try_cflags_saved=$CFLAGS
17081 CFLAGS="$CFLAGS -Werror=ignored-optimization-argument"
17082 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17083 /* end confdefs.h. */
17084 int main(int argc, char **argv) { return 0; }
17085 _ACEOF
17086 if ac_fn_c_try_link "$LINENO"; then :
17087 ac_cv_cflags__Werror_ignored_optimization_argument=yes
17088 else
17089 ac_cv_cflags__Werror_ignored_optimization_argument=no
17091 rm -f core conftest.err conftest.$ac_objext \
17092 conftest$ac_exeext conftest.$ac_ext
17093 CFLAGS=$ac_wine_try_cflags_saved
17095 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_ignored_optimization_argument" >&5
17096 $as_echo "$ac_cv_cflags__Werror_ignored_optimization_argument" >&6; }
17097 if test "x$ac_cv_cflags__Werror_ignored_optimization_argument" = xyes; then :
17098 CFLAGS="$CFLAGS -Werror=ignored-optimization-argument"
17100 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fcf-protection=none" >&5
17101 $as_echo_n "checking whether the compiler supports -fcf-protection=none... " >&6; }
17102 if ${ac_cv_cflags__fcf_protection_none+:} false; then :
17103 $as_echo_n "(cached) " >&6
17104 else
17105 ac_wine_try_cflags_saved=$CFLAGS
17106 CFLAGS="$CFLAGS -fcf-protection=none"
17107 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17108 /* end confdefs.h. */
17109 int main(int argc, char **argv) { return 0; }
17110 _ACEOF
17111 if ac_fn_c_try_link "$LINENO"; then :
17112 ac_cv_cflags__fcf_protection_none=yes
17113 else
17114 ac_cv_cflags__fcf_protection_none=no
17116 rm -f core conftest.err conftest.$ac_objext \
17117 conftest$ac_exeext conftest.$ac_ext
17118 CFLAGS=$ac_wine_try_cflags_saved
17120 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fcf_protection_none" >&5
17121 $as_echo "$ac_cv_cflags__fcf_protection_none" >&6; }
17122 if test "x$ac_cv_cflags__fcf_protection_none" = xyes; then :
17123 EXTRACFLAGS="$EXTRACFLAGS -fcf-protection=none"
17125 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-stack-protector" >&5
17126 $as_echo_n "checking whether the compiler supports -fno-stack-protector... " >&6; }
17127 if ${ac_cv_cflags__fno_stack_protector+:} false; then :
17128 $as_echo_n "(cached) " >&6
17129 else
17130 ac_wine_try_cflags_saved=$CFLAGS
17131 CFLAGS="$CFLAGS -fno-stack-protector"
17132 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17133 /* end confdefs.h. */
17134 int main(int argc, char **argv) { return 0; }
17135 _ACEOF
17136 if ac_fn_c_try_link "$LINENO"; then :
17137 ac_cv_cflags__fno_stack_protector=yes
17138 else
17139 ac_cv_cflags__fno_stack_protector=no
17141 rm -f core conftest.err conftest.$ac_objext \
17142 conftest$ac_exeext conftest.$ac_ext
17143 CFLAGS=$ac_wine_try_cflags_saved
17145 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_stack_protector" >&5
17146 $as_echo "$ac_cv_cflags__fno_stack_protector" >&6; }
17147 if test "x$ac_cv_cflags__fno_stack_protector" = xyes; then :
17148 EXTRACFLAGS="$EXTRACFLAGS -fno-stack-protector"
17150 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-strict-aliasing" >&5
17151 $as_echo_n "checking whether the compiler supports -fno-strict-aliasing... " >&6; }
17152 if ${ac_cv_cflags__fno_strict_aliasing+:} false; then :
17153 $as_echo_n "(cached) " >&6
17154 else
17155 ac_wine_try_cflags_saved=$CFLAGS
17156 CFLAGS="$CFLAGS -fno-strict-aliasing"
17157 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17158 /* end confdefs.h. */
17159 int main(int argc, char **argv) { return 0; }
17160 _ACEOF
17161 if ac_fn_c_try_link "$LINENO"; then :
17162 ac_cv_cflags__fno_strict_aliasing=yes
17163 else
17164 ac_cv_cflags__fno_strict_aliasing=no
17166 rm -f core conftest.err conftest.$ac_objext \
17167 conftest$ac_exeext conftest.$ac_ext
17168 CFLAGS=$ac_wine_try_cflags_saved
17170 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_strict_aliasing" >&5
17171 $as_echo "$ac_cv_cflags__fno_strict_aliasing" >&6; }
17172 if test "x$ac_cv_cflags__fno_strict_aliasing" = xyes; then :
17173 EXTRACFLAGS="$EXTRACFLAGS -fno-strict-aliasing"
17175 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wdeclaration-after-statement" >&5
17176 $as_echo_n "checking whether the compiler supports -Wdeclaration-after-statement... " >&6; }
17177 if ${ac_cv_cflags__Wdeclaration_after_statement+:} false; then :
17178 $as_echo_n "(cached) " >&6
17179 else
17180 ac_wine_try_cflags_saved=$CFLAGS
17181 CFLAGS="$CFLAGS -Wdeclaration-after-statement"
17182 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17183 /* end confdefs.h. */
17184 int main(int argc, char **argv) { return 0; }
17185 _ACEOF
17186 if ac_fn_c_try_link "$LINENO"; then :
17187 ac_cv_cflags__Wdeclaration_after_statement=yes
17188 else
17189 ac_cv_cflags__Wdeclaration_after_statement=no
17191 rm -f core conftest.err conftest.$ac_objext \
17192 conftest$ac_exeext conftest.$ac_ext
17193 CFLAGS=$ac_wine_try_cflags_saved
17195 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wdeclaration_after_statement" >&5
17196 $as_echo "$ac_cv_cflags__Wdeclaration_after_statement" >&6; }
17197 if test "x$ac_cv_cflags__Wdeclaration_after_statement" = xyes; then :
17198 EXTRACFLAGS="$EXTRACFLAGS -Wdeclaration-after-statement"
17200 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wempty-body" >&5
17201 $as_echo_n "checking whether the compiler supports -Wempty-body... " >&6; }
17202 if ${ac_cv_cflags__Wempty_body+:} false; then :
17203 $as_echo_n "(cached) " >&6
17204 else
17205 ac_wine_try_cflags_saved=$CFLAGS
17206 CFLAGS="$CFLAGS -Wempty-body"
17207 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17208 /* end confdefs.h. */
17209 int main(int argc, char **argv) { return 0; }
17210 _ACEOF
17211 if ac_fn_c_try_link "$LINENO"; then :
17212 ac_cv_cflags__Wempty_body=yes
17213 else
17214 ac_cv_cflags__Wempty_body=no
17216 rm -f core conftest.err conftest.$ac_objext \
17217 conftest$ac_exeext conftest.$ac_ext
17218 CFLAGS=$ac_wine_try_cflags_saved
17220 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wempty_body" >&5
17221 $as_echo "$ac_cv_cflags__Wempty_body" >&6; }
17222 if test "x$ac_cv_cflags__Wempty_body" = xyes; then :
17223 EXTRACFLAGS="$EXTRACFLAGS -Wempty-body"
17225 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wignored-qualifiers" >&5
17226 $as_echo_n "checking whether the compiler supports -Wignored-qualifiers... " >&6; }
17227 if ${ac_cv_cflags__Wignored_qualifiers+:} false; then :
17228 $as_echo_n "(cached) " >&6
17229 else
17230 ac_wine_try_cflags_saved=$CFLAGS
17231 CFLAGS="$CFLAGS -Wignored-qualifiers"
17232 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17233 /* end confdefs.h. */
17234 int main(int argc, char **argv) { return 0; }
17235 _ACEOF
17236 if ac_fn_c_try_link "$LINENO"; then :
17237 ac_cv_cflags__Wignored_qualifiers=yes
17238 else
17239 ac_cv_cflags__Wignored_qualifiers=no
17241 rm -f core conftest.err conftest.$ac_objext \
17242 conftest$ac_exeext conftest.$ac_ext
17243 CFLAGS=$ac_wine_try_cflags_saved
17245 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wignored_qualifiers" >&5
17246 $as_echo "$ac_cv_cflags__Wignored_qualifiers" >&6; }
17247 if test "x$ac_cv_cflags__Wignored_qualifiers" = xyes; then :
17248 EXTRACFLAGS="$EXTRACFLAGS -Wignored-qualifiers"
17250 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Winit-self" >&5
17251 $as_echo_n "checking whether the compiler supports -Winit-self... " >&6; }
17252 if ${ac_cv_cflags__Winit_self+:} false; then :
17253 $as_echo_n "(cached) " >&6
17254 else
17255 ac_wine_try_cflags_saved=$CFLAGS
17256 CFLAGS="$CFLAGS -Winit-self"
17257 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17258 /* end confdefs.h. */
17259 int main(int argc, char **argv) { return 0; }
17260 _ACEOF
17261 if ac_fn_c_try_link "$LINENO"; then :
17262 ac_cv_cflags__Winit_self=yes
17263 else
17264 ac_cv_cflags__Winit_self=no
17266 rm -f core conftest.err conftest.$ac_objext \
17267 conftest$ac_exeext conftest.$ac_ext
17268 CFLAGS=$ac_wine_try_cflags_saved
17270 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Winit_self" >&5
17271 $as_echo "$ac_cv_cflags__Winit_self" >&6; }
17272 if test "x$ac_cv_cflags__Winit_self" = xyes; then :
17273 EXTRACFLAGS="$EXTRACFLAGS -Winit-self"
17275 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpacked-not-aligned" >&5
17276 $as_echo_n "checking whether the compiler supports -Wpacked-not-aligned... " >&6; }
17277 if ${ac_cv_cflags__Wpacked_not_aligned+:} false; then :
17278 $as_echo_n "(cached) " >&6
17279 else
17280 ac_wine_try_cflags_saved=$CFLAGS
17281 CFLAGS="$CFLAGS -Wpacked-not-aligned"
17282 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17283 /* end confdefs.h. */
17284 int main(int argc, char **argv) { return 0; }
17285 _ACEOF
17286 if ac_fn_c_try_link "$LINENO"; then :
17287 ac_cv_cflags__Wpacked_not_aligned=yes
17288 else
17289 ac_cv_cflags__Wpacked_not_aligned=no
17291 rm -f core conftest.err conftest.$ac_objext \
17292 conftest$ac_exeext conftest.$ac_ext
17293 CFLAGS=$ac_wine_try_cflags_saved
17295 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpacked_not_aligned" >&5
17296 $as_echo "$ac_cv_cflags__Wpacked_not_aligned" >&6; }
17297 if test "x$ac_cv_cflags__Wpacked_not_aligned" = xyes; then :
17298 EXTRACFLAGS="$EXTRACFLAGS -Wno-packed-not-aligned"
17300 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpragma-pack" >&5
17301 $as_echo_n "checking whether the compiler supports -Wpragma-pack... " >&6; }
17302 if ${ac_cv_cflags__Wpragma_pack+:} false; then :
17303 $as_echo_n "(cached) " >&6
17304 else
17305 ac_wine_try_cflags_saved=$CFLAGS
17306 CFLAGS="$CFLAGS -Wpragma-pack"
17307 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17308 /* end confdefs.h. */
17309 int main(int argc, char **argv) { return 0; }
17310 _ACEOF
17311 if ac_fn_c_try_link "$LINENO"; then :
17312 ac_cv_cflags__Wpragma_pack=yes
17313 else
17314 ac_cv_cflags__Wpragma_pack=no
17316 rm -f core conftest.err conftest.$ac_objext \
17317 conftest$ac_exeext conftest.$ac_ext
17318 CFLAGS=$ac_wine_try_cflags_saved
17320 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpragma_pack" >&5
17321 $as_echo "$ac_cv_cflags__Wpragma_pack" >&6; }
17322 if test "x$ac_cv_cflags__Wpragma_pack" = xyes; then :
17323 EXTRACFLAGS="$EXTRACFLAGS -Wno-pragma-pack"
17325 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wshift-overflow=2" >&5
17326 $as_echo_n "checking whether the compiler supports -Wshift-overflow=2... " >&6; }
17327 if ${ac_cv_cflags__Wshift_overflow_2+:} false; then :
17328 $as_echo_n "(cached) " >&6
17329 else
17330 ac_wine_try_cflags_saved=$CFLAGS
17331 CFLAGS="$CFLAGS -Wshift-overflow=2"
17332 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17333 /* end confdefs.h. */
17334 int main(int argc, char **argv) { return 0; }
17335 _ACEOF
17336 if ac_fn_c_try_link "$LINENO"; then :
17337 ac_cv_cflags__Wshift_overflow_2=yes
17338 else
17339 ac_cv_cflags__Wshift_overflow_2=no
17341 rm -f core conftest.err conftest.$ac_objext \
17342 conftest$ac_exeext conftest.$ac_ext
17343 CFLAGS=$ac_wine_try_cflags_saved
17345 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wshift_overflow_2" >&5
17346 $as_echo "$ac_cv_cflags__Wshift_overflow_2" >&6; }
17347 if test "x$ac_cv_cflags__Wshift_overflow_2" = xyes; then :
17348 EXTRACFLAGS="$EXTRACFLAGS -Wshift-overflow=2"
17350 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wstrict-prototypes" >&5
17351 $as_echo_n "checking whether the compiler supports -Wstrict-prototypes... " >&6; }
17352 if ${ac_cv_cflags__Wstrict_prototypes+:} false; then :
17353 $as_echo_n "(cached) " >&6
17354 else
17355 ac_wine_try_cflags_saved=$CFLAGS
17356 CFLAGS="$CFLAGS -Wstrict-prototypes"
17357 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17358 /* end confdefs.h. */
17359 int main(int argc, char **argv) { return 0; }
17360 _ACEOF
17361 if ac_fn_c_try_link "$LINENO"; then :
17362 ac_cv_cflags__Wstrict_prototypes=yes
17363 else
17364 ac_cv_cflags__Wstrict_prototypes=no
17366 rm -f core conftest.err conftest.$ac_objext \
17367 conftest$ac_exeext conftest.$ac_ext
17368 CFLAGS=$ac_wine_try_cflags_saved
17370 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wstrict_prototypes" >&5
17371 $as_echo "$ac_cv_cflags__Wstrict_prototypes" >&6; }
17372 if test "x$ac_cv_cflags__Wstrict_prototypes" = xyes; then :
17373 EXTRACFLAGS="$EXTRACFLAGS -Wstrict-prototypes"
17375 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wtype-limits" >&5
17376 $as_echo_n "checking whether the compiler supports -Wtype-limits... " >&6; }
17377 if ${ac_cv_cflags__Wtype_limits+:} false; then :
17378 $as_echo_n "(cached) " >&6
17379 else
17380 ac_wine_try_cflags_saved=$CFLAGS
17381 CFLAGS="$CFLAGS -Wtype-limits"
17382 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17383 /* end confdefs.h. */
17384 int main(int argc, char **argv) { return 0; }
17385 _ACEOF
17386 if ac_fn_c_try_link "$LINENO"; then :
17387 ac_cv_cflags__Wtype_limits=yes
17388 else
17389 ac_cv_cflags__Wtype_limits=no
17391 rm -f core conftest.err conftest.$ac_objext \
17392 conftest$ac_exeext conftest.$ac_ext
17393 CFLAGS=$ac_wine_try_cflags_saved
17395 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wtype_limits" >&5
17396 $as_echo "$ac_cv_cflags__Wtype_limits" >&6; }
17397 if test "x$ac_cv_cflags__Wtype_limits" = xyes; then :
17398 EXTRACFLAGS="$EXTRACFLAGS -Wtype-limits"
17400 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wunused-but-set-parameter" >&5
17401 $as_echo_n "checking whether the compiler supports -Wunused-but-set-parameter... " >&6; }
17402 if ${ac_cv_cflags__Wunused_but_set_parameter+:} false; then :
17403 $as_echo_n "(cached) " >&6
17404 else
17405 ac_wine_try_cflags_saved=$CFLAGS
17406 CFLAGS="$CFLAGS -Wunused-but-set-parameter"
17407 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17408 /* end confdefs.h. */
17409 int main(int argc, char **argv) { return 0; }
17410 _ACEOF
17411 if ac_fn_c_try_link "$LINENO"; then :
17412 ac_cv_cflags__Wunused_but_set_parameter=yes
17413 else
17414 ac_cv_cflags__Wunused_but_set_parameter=no
17416 rm -f core conftest.err conftest.$ac_objext \
17417 conftest$ac_exeext conftest.$ac_ext
17418 CFLAGS=$ac_wine_try_cflags_saved
17420 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wunused_but_set_parameter" >&5
17421 $as_echo "$ac_cv_cflags__Wunused_but_set_parameter" >&6; }
17422 if test "x$ac_cv_cflags__Wunused_but_set_parameter" = xyes; then :
17423 EXTRACFLAGS="$EXTRACFLAGS -Wunused-but-set-parameter"
17425 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wvla" >&5
17426 $as_echo_n "checking whether the compiler supports -Wvla... " >&6; }
17427 if ${ac_cv_cflags__Wvla+:} false; then :
17428 $as_echo_n "(cached) " >&6
17429 else
17430 ac_wine_try_cflags_saved=$CFLAGS
17431 CFLAGS="$CFLAGS -Wvla"
17432 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17433 /* end confdefs.h. */
17434 int main(int argc, char **argv) { return 0; }
17435 _ACEOF
17436 if ac_fn_c_try_link "$LINENO"; then :
17437 ac_cv_cflags__Wvla=yes
17438 else
17439 ac_cv_cflags__Wvla=no
17441 rm -f core conftest.err conftest.$ac_objext \
17442 conftest$ac_exeext conftest.$ac_ext
17443 CFLAGS=$ac_wine_try_cflags_saved
17445 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wvla" >&5
17446 $as_echo "$ac_cv_cflags__Wvla" >&6; }
17447 if test "x$ac_cv_cflags__Wvla" = xyes; then :
17448 EXTRACFLAGS="$EXTRACFLAGS -Wvla"
17450 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wwrite-strings" >&5
17451 $as_echo_n "checking whether the compiler supports -Wwrite-strings... " >&6; }
17452 if ${ac_cv_cflags__Wwrite_strings+:} false; then :
17453 $as_echo_n "(cached) " >&6
17454 else
17455 ac_wine_try_cflags_saved=$CFLAGS
17456 CFLAGS="$CFLAGS -Wwrite-strings"
17457 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17458 /* end confdefs.h. */
17459 int main(int argc, char **argv) { return 0; }
17460 _ACEOF
17461 if ac_fn_c_try_link "$LINENO"; then :
17462 ac_cv_cflags__Wwrite_strings=yes
17463 else
17464 ac_cv_cflags__Wwrite_strings=no
17466 rm -f core conftest.err conftest.$ac_objext \
17467 conftest$ac_exeext conftest.$ac_ext
17468 CFLAGS=$ac_wine_try_cflags_saved
17470 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wwrite_strings" >&5
17471 $as_echo "$ac_cv_cflags__Wwrite_strings" >&6; }
17472 if test "x$ac_cv_cflags__Wwrite_strings" = xyes; then :
17473 EXTRACFLAGS="$EXTRACFLAGS -Wwrite-strings"
17476 if test -z "$CROSSTARGET"
17477 then
17478 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fexcess-precision=standard" >&5
17479 $as_echo_n "checking whether the compiler supports -fexcess-precision=standard... " >&6; }
17480 if ${ac_cv_cflags__fexcess_precision_standard+:} false; then :
17481 $as_echo_n "(cached) " >&6
17482 else
17483 ac_wine_try_cflags_saved=$CFLAGS
17484 CFLAGS="$CFLAGS -fexcess-precision=standard"
17485 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17486 /* end confdefs.h. */
17487 int main(int argc, char **argv) { return 0; }
17488 _ACEOF
17489 if ac_fn_c_try_link "$LINENO"; then :
17490 ac_cv_cflags__fexcess_precision_standard=yes
17491 else
17492 ac_cv_cflags__fexcess_precision_standard=no
17494 rm -f core conftest.err conftest.$ac_objext \
17495 conftest$ac_exeext conftest.$ac_ext
17496 CFLAGS=$ac_wine_try_cflags_saved
17498 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fexcess_precision_standard" >&5
17499 $as_echo "$ac_cv_cflags__fexcess_precision_standard" >&6; }
17500 if test "x$ac_cv_cflags__fexcess_precision_standard" = xyes; then :
17501 EXCESS_PRECISION_CFLAGS="-fexcess-precision=standard"
17506 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpointer-arith" >&5
17507 $as_echo_n "checking whether the compiler supports -Wpointer-arith... " >&6; }
17508 if ${ac_cv_cflags__Wpointer_arith+:} false; then :
17509 $as_echo_n "(cached) " >&6
17510 else
17511 ac_wine_try_cflags_saved=$CFLAGS
17512 CFLAGS="$CFLAGS -Wpointer-arith"
17513 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17514 /* end confdefs.h. */
17515 int main(int argc, char **argv) { return 0; }
17516 _ACEOF
17517 if ac_fn_c_try_link "$LINENO"; then :
17518 ac_cv_cflags__Wpointer_arith=yes
17519 else
17520 ac_cv_cflags__Wpointer_arith=no
17522 rm -f core conftest.err conftest.$ac_objext \
17523 conftest$ac_exeext conftest.$ac_ext
17524 CFLAGS=$ac_wine_try_cflags_saved
17526 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpointer_arith" >&5
17527 $as_echo "$ac_cv_cflags__Wpointer_arith" >&6; }
17528 if test "x$ac_cv_cflags__Wpointer_arith" = xyes; then :
17529 saved_string_h_CFLAGS=$CFLAGS
17530 CFLAGS="$CFLAGS -Wpointer-arith -Werror"
17531 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wpointer-arith" >&5
17532 $as_echo_n "checking for broken string.h that generates warnings with -Wpointer-arith... " >&6; }
17533 if ${ac_cv_c_string_h_warnings+:} false; then :
17534 $as_echo_n "(cached) " >&6
17535 else
17536 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17537 /* end confdefs.h. */
17538 #include <string.h>
17540 main ()
17544 return 0;
17546 _ACEOF
17547 if ac_fn_c_try_compile "$LINENO"; then :
17548 ac_cv_c_string_h_warnings=no
17549 else
17550 ac_cv_c_string_h_warnings=yes
17552 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17554 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_string_h_warnings" >&5
17555 $as_echo "$ac_cv_c_string_h_warnings" >&6; }
17556 test "$ac_cv_c_string_h_warnings" = yes || EXTRACFLAGS="$EXTRACFLAGS -Wpointer-arith"
17557 CFLAGS=$saved_string_h_CFLAGS
17560 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wlogical-op" >&5
17561 $as_echo_n "checking whether the compiler supports -Wlogical-op... " >&6; }
17562 if ${ac_cv_cflags__Wlogical_op+:} false; then :
17563 $as_echo_n "(cached) " >&6
17564 else
17565 ac_wine_try_cflags_saved=$CFLAGS
17566 CFLAGS="$CFLAGS -Wlogical-op"
17567 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17568 /* end confdefs.h. */
17569 int main(int argc, char **argv) { return 0; }
17570 _ACEOF
17571 if ac_fn_c_try_link "$LINENO"; then :
17572 ac_cv_cflags__Wlogical_op=yes
17573 else
17574 ac_cv_cflags__Wlogical_op=no
17576 rm -f core conftest.err conftest.$ac_objext \
17577 conftest$ac_exeext conftest.$ac_ext
17578 CFLAGS=$ac_wine_try_cflags_saved
17580 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wlogical_op" >&5
17581 $as_echo "$ac_cv_cflags__Wlogical_op" >&6; }
17582 if test "x$ac_cv_cflags__Wlogical_op" = xyes; then :
17583 saved_string_h_CFLAGS=$CFLAGS
17584 CFLAGS="$CFLAGS -Wlogical-op -Werror"
17585 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wlogical-op" >&5
17586 $as_echo_n "checking for broken string.h that generates warnings with -Wlogical-op... " >&6; }
17587 if ${ac_cv_c_logicalop_noisy+:} false; then :
17588 $as_echo_n "(cached) " >&6
17589 else
17590 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17591 /* end confdefs.h. */
17592 #include <string.h>
17593 char*f(const char *h,char n) {return strchr(h,n);}
17595 main ()
17599 return 0;
17601 _ACEOF
17602 if ac_fn_c_try_compile "$LINENO"; then :
17603 ac_cv_c_logicalop_noisy=no
17604 else
17605 ac_cv_c_logicalop_noisy=yes
17607 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17609 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_logicalop_noisy" >&5
17610 $as_echo "$ac_cv_c_logicalop_noisy" >&6; }
17611 CFLAGS=$saved_string_h_CFLAGS
17612 test "$ac_cv_c_logicalop_noisy" = yes || EXTRACFLAGS="$EXTRACFLAGS -Wlogical-op"
17615 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for flags needed for 64-bit compare-and-swap support" >&5
17616 $as_echo_n "checking for flags needed for 64-bit compare-and-swap support... " >&6; }
17617 if ${wine_cv_64bit_compare_swap+:} false; then :
17618 $as_echo_n "(cached) " >&6
17619 else
17620 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17621 /* end confdefs.h. */
17622 #ifndef __GCC_HAVE_SYNC_COMPARE_AND_SWAP_8
17623 #error no
17624 #endif
17626 main ()
17630 return 0;
17632 _ACEOF
17633 if ac_fn_c_try_compile "$LINENO"; then :
17634 wine_cv_64bit_compare_swap="none needed"
17635 else
17636 case $host_cpu in
17637 *i[3456]86*) wine_cv_64bit_compare_swap="-march=i586" ;;
17638 *arm*) wine_cv_64bit_compare_swap="-march=armv7-a" ;;
17639 *) wine_cv_64bit_compare_swap="unknown" ;;
17640 esac
17641 if test "x$wine_cv_64bit_compare_swap" != xunknown
17642 then
17643 CFLAGS="$CFLAGS $wine_cv_64bit_compare_swap"
17644 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17645 /* end confdefs.h. */
17646 #ifndef __GCC_HAVE_SYNC_COMPARE_AND_SWAP_8
17647 #error no
17648 #endif
17650 main ()
17654 return 0;
17656 _ACEOF
17657 if ac_fn_c_try_compile "$LINENO"; then :
17659 else
17660 wine_cv_64bit_compare_swap="unknown"
17662 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17663 CFLAGS=$saved_CFLAGS
17666 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17668 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_64bit_compare_swap" >&5
17669 $as_echo "$wine_cv_64bit_compare_swap" >&6; }
17670 case "$wine_cv_64bit_compare_swap" in
17671 unknown) as_fn_error $? "gcc doesn't support 64-bit compare-and-swap on this platform" "$LINENO" 5 ;;
17672 "none needed") ;;
17673 *) EXTRACFLAGS="$EXTRACFLAGS $wine_cv_64bit_compare_swap" ;;
17674 esac
17676 for ac_flag in $CFLAGS; do
17677 case $ac_flag in
17678 -g) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gdwarf-2" >&5
17679 $as_echo_n "checking whether the compiler supports -gdwarf-2... " >&6; }
17680 if ${ac_cv_cflags__gdwarf_2+:} false; then :
17681 $as_echo_n "(cached) " >&6
17682 else
17683 ac_wine_try_cflags_saved=$CFLAGS
17684 CFLAGS="$CFLAGS -gdwarf-2"
17685 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17686 /* end confdefs.h. */
17687 int main(int argc, char **argv) { return 0; }
17688 _ACEOF
17689 if ac_fn_c_try_link "$LINENO"; then :
17690 ac_cv_cflags__gdwarf_2=yes
17691 else
17692 ac_cv_cflags__gdwarf_2=no
17694 rm -f core conftest.err conftest.$ac_objext \
17695 conftest$ac_exeext conftest.$ac_ext
17696 CFLAGS=$ac_wine_try_cflags_saved
17698 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gdwarf_2" >&5
17699 $as_echo "$ac_cv_cflags__gdwarf_2" >&6; }
17700 if test "x$ac_cv_cflags__gdwarf_2" = xyes; then :
17701 EXTRACFLAGS="$EXTRACFLAGS -gdwarf-2"
17703 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gstrict-dwarf" >&5
17704 $as_echo_n "checking whether the compiler supports -gstrict-dwarf... " >&6; }
17705 if ${ac_cv_cflags__gstrict_dwarf+:} false; then :
17706 $as_echo_n "(cached) " >&6
17707 else
17708 ac_wine_try_cflags_saved=$CFLAGS
17709 CFLAGS="$CFLAGS -gstrict-dwarf"
17710 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17711 /* end confdefs.h. */
17712 int main(int argc, char **argv) { return 0; }
17713 _ACEOF
17714 if ac_fn_c_try_link "$LINENO"; then :
17715 ac_cv_cflags__gstrict_dwarf=yes
17716 else
17717 ac_cv_cflags__gstrict_dwarf=no
17719 rm -f core conftest.err conftest.$ac_objext \
17720 conftest$ac_exeext conftest.$ac_ext
17721 CFLAGS=$ac_wine_try_cflags_saved
17723 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gstrict_dwarf" >&5
17724 $as_echo "$ac_cv_cflags__gstrict_dwarf" >&6; }
17725 if test "x$ac_cv_cflags__gstrict_dwarf" = xyes; then :
17726 EXTRACFLAGS="$EXTRACFLAGS -gstrict-dwarf"
17727 fi ;;
17728 esac
17729 done
17731 MSVCRTFLAGS=""
17733 case $host_os in
17734 mingw32*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-delayload,autoconftest.dll" >&5
17735 $as_echo_n "checking whether the compiler supports -Wl,-delayload,autoconftest.dll... " >&6; }
17736 if ${ac_cv_cflags__Wl__delayload_autoconftest_dll+:} false; then :
17737 $as_echo_n "(cached) " >&6
17738 else
17739 ac_wine_try_cflags_saved=$CFLAGS
17740 CFLAGS="$CFLAGS -Wl,-delayload,autoconftest.dll"
17741 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17742 /* end confdefs.h. */
17743 int main(int argc, char **argv) { return 0; }
17744 _ACEOF
17745 if ac_fn_c_try_link "$LINENO"; then :
17746 ac_cv_cflags__Wl__delayload_autoconftest_dll=yes
17747 else
17748 ac_cv_cflags__Wl__delayload_autoconftest_dll=no
17750 rm -f core conftest.err conftest.$ac_objext \
17751 conftest$ac_exeext conftest.$ac_ext
17752 CFLAGS=$ac_wine_try_cflags_saved
17754 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__delayload_autoconftest_dll" >&5
17755 $as_echo "$ac_cv_cflags__Wl__delayload_autoconftest_dll" >&6; }
17756 if test "x$ac_cv_cflags__Wl__delayload_autoconftest_dll" = xyes; then :
17757 DELAYLOADFLAG="-Wl,-delayload,"
17759 fi ;;
17760 *) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-builtin" >&5
17761 $as_echo_n "checking whether the compiler supports -fno-builtin... " >&6; }
17762 if ${ac_cv_cflags__fno_builtin+:} false; then :
17763 $as_echo_n "(cached) " >&6
17764 else
17765 ac_wine_try_cflags_saved=$CFLAGS
17766 CFLAGS="$CFLAGS -fno-builtin"
17767 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17768 /* end confdefs.h. */
17769 int main(int argc, char **argv) { return 0; }
17770 _ACEOF
17771 if ac_fn_c_try_link "$LINENO"; then :
17772 ac_cv_cflags__fno_builtin=yes
17773 else
17774 ac_cv_cflags__fno_builtin=no
17776 rm -f core conftest.err conftest.$ac_objext \
17777 conftest$ac_exeext conftest.$ac_ext
17778 CFLAGS=$ac_wine_try_cflags_saved
17780 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_builtin" >&5
17781 $as_echo "$ac_cv_cflags__fno_builtin" >&6; }
17782 if test "x$ac_cv_cflags__fno_builtin" = xyes; then :
17783 MSVCRTFLAGS="$MSVCRTFLAGS -fno-builtin"
17785 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fshort-wchar" >&5
17786 $as_echo_n "checking whether the compiler supports -fshort-wchar... " >&6; }
17787 if ${ac_cv_cflags__fshort_wchar+:} false; then :
17788 $as_echo_n "(cached) " >&6
17789 else
17790 ac_wine_try_cflags_saved=$CFLAGS
17791 CFLAGS="$CFLAGS -fshort-wchar"
17792 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17793 /* end confdefs.h. */
17794 int main(int argc, char **argv) { return 0; }
17795 _ACEOF
17796 if ac_fn_c_try_link "$LINENO"; then :
17797 ac_cv_cflags__fshort_wchar=yes
17798 else
17799 ac_cv_cflags__fshort_wchar=no
17801 rm -f core conftest.err conftest.$ac_objext \
17802 conftest$ac_exeext conftest.$ac_ext
17803 CFLAGS=$ac_wine_try_cflags_saved
17805 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fshort_wchar" >&5
17806 $as_echo "$ac_cv_cflags__fshort_wchar" >&6; }
17807 if test "x$ac_cv_cflags__fshort_wchar" = xyes; then :
17808 MSVCRTFLAGS="$MSVCRTFLAGS -fshort-wchar"
17809 fi ;;
17810 esac
17812 case $host_cpu in
17813 *i[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-omit-frame-pointer" >&5
17814 $as_echo_n "checking whether the compiler supports -fno-omit-frame-pointer... " >&6; }
17815 if ${ac_cv_cflags__fno_omit_frame_pointer+:} false; then :
17816 $as_echo_n "(cached) " >&6
17817 else
17818 ac_wine_try_cflags_saved=$CFLAGS
17819 CFLAGS="$CFLAGS -fno-omit-frame-pointer"
17820 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17821 /* end confdefs.h. */
17822 int main(int argc, char **argv) { return 0; }
17823 _ACEOF
17824 if ac_fn_c_try_link "$LINENO"; then :
17825 ac_cv_cflags__fno_omit_frame_pointer=yes
17826 else
17827 ac_cv_cflags__fno_omit_frame_pointer=no
17829 rm -f core conftest.err conftest.$ac_objext \
17830 conftest$ac_exeext conftest.$ac_ext
17831 CFLAGS=$ac_wine_try_cflags_saved
17833 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_omit_frame_pointer" >&5
17834 $as_echo "$ac_cv_cflags__fno_omit_frame_pointer" >&6; }
17835 if test "x$ac_cv_cflags__fno_omit_frame_pointer" = xyes; then :
17836 EXTRACFLAGS="$EXTRACFLAGS -fno-omit-frame-pointer"
17837 fi ;;
17838 *x86_64*)
17839 case $host_os in
17840 cygwin*|mingw32*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wno-format" >&5
17841 $as_echo_n "checking whether the compiler supports -Wno-format... " >&6; }
17842 if ${ac_cv_cflags__Wno_format+:} false; then :
17843 $as_echo_n "(cached) " >&6
17844 else
17845 ac_wine_try_cflags_saved=$CFLAGS
17846 CFLAGS="$CFLAGS -Wno-format"
17847 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17848 /* end confdefs.h. */
17849 int main(int argc, char **argv) { return 0; }
17850 _ACEOF
17851 if ac_fn_c_try_link "$LINENO"; then :
17852 ac_cv_cflags__Wno_format=yes
17853 else
17854 ac_cv_cflags__Wno_format=no
17856 rm -f core conftest.err conftest.$ac_objext \
17857 conftest$ac_exeext conftest.$ac_ext
17858 CFLAGS=$ac_wine_try_cflags_saved
17860 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wno_format" >&5
17861 $as_echo "$ac_cv_cflags__Wno_format" >&6; }
17862 if test "x$ac_cv_cflags__Wno_format" = xyes; then :
17863 EXTRACFLAGS="$EXTRACFLAGS -Wno-format"
17864 fi ;;
17865 *) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -mabi=ms" >&5
17866 $as_echo_n "checking whether the compiler supports -mabi=ms... " >&6; }
17867 if ${ac_cv_cflags__mabi_ms+:} false; then :
17868 $as_echo_n "(cached) " >&6
17869 else
17870 ac_wine_try_cflags_saved=$CFLAGS
17871 CFLAGS="$CFLAGS -mabi=ms"
17872 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17873 /* end confdefs.h. */
17874 int main(int argc, char **argv) { return 0; }
17875 _ACEOF
17876 if ac_fn_c_try_link "$LINENO"; then :
17877 ac_cv_cflags__mabi_ms=yes
17878 else
17879 ac_cv_cflags__mabi_ms=no
17881 rm -f core conftest.err conftest.$ac_objext \
17882 conftest$ac_exeext conftest.$ac_ext
17883 CFLAGS=$ac_wine_try_cflags_saved
17885 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__mabi_ms" >&5
17886 $as_echo "$ac_cv_cflags__mabi_ms" >&6; }
17887 if test "x$ac_cv_cflags__mabi_ms" = xyes; then :
17888 MSVCRTFLAGS="$MSVCRTFLAGS -mabi=ms"
17889 fi ;;
17890 esac ;;
17891 esac
17893 CFLAGS=$saved_CFLAGS
17895 if test "x$enable_werror" = "xyes"
17896 then
17897 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror" >&5
17898 $as_echo_n "checking whether the compiler supports -Werror... " >&6; }
17899 if ${ac_cv_cflags__Werror+:} false; then :
17900 $as_echo_n "(cached) " >&6
17901 else
17902 ac_wine_try_cflags_saved=$CFLAGS
17903 CFLAGS="$CFLAGS -Werror"
17904 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17905 /* end confdefs.h. */
17906 int main(int argc, char **argv) { return 0; }
17907 _ACEOF
17908 if ac_fn_c_try_link "$LINENO"; then :
17909 ac_cv_cflags__Werror=yes
17910 else
17911 ac_cv_cflags__Werror=no
17913 rm -f core conftest.err conftest.$ac_objext \
17914 conftest$ac_exeext conftest.$ac_ext
17915 CFLAGS=$ac_wine_try_cflags_saved
17917 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror" >&5
17918 $as_echo "$ac_cv_cflags__Werror" >&6; }
17919 if test "x$ac_cv_cflags__Werror" = xyes; then :
17920 EXTRACFLAGS="$EXTRACFLAGS -Werror"
17923 if test "x$enable_build_id" = "xyes"
17924 then
17925 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--build-id" >&5
17926 $as_echo_n "checking whether the compiler supports -Wl,--build-id... " >&6; }
17927 if ${ac_cv_cflags__Wl___build_id+:} false; then :
17928 $as_echo_n "(cached) " >&6
17929 else
17930 ac_wine_try_cflags_saved=$CFLAGS
17931 CFLAGS="$CFLAGS -Wl,--build-id"
17932 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17933 /* end confdefs.h. */
17934 int main(int argc, char **argv) { return 0; }
17935 _ACEOF
17936 if ac_fn_c_try_link "$LINENO"; then :
17937 ac_cv_cflags__Wl___build_id=yes
17938 else
17939 ac_cv_cflags__Wl___build_id=no
17941 rm -f core conftest.err conftest.$ac_objext \
17942 conftest$ac_exeext conftest.$ac_ext
17943 CFLAGS=$ac_wine_try_cflags_saved
17945 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___build_id" >&5
17946 $as_echo "$ac_cv_cflags__Wl___build_id" >&6; }
17947 if test "x$ac_cv_cflags__Wl___build_id" = xyes; then :
17948 CFLAGS="$CFLAGS -Wl,--build-id"
17949 LDFLAGS="$LDFLAGS -Wl,--build-id"
17955 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the need to disable Fortify" >&5
17956 $as_echo_n "checking for the need to disable Fortify... " >&6; }
17957 if ${ac_cv_c_fortify_enabled+:} false; then :
17958 $as_echo_n "(cached) " >&6
17959 else
17960 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17961 /* end confdefs.h. */
17962 #include <string.h>
17964 main ()
17966 #if (defined(__USE_FORTIFY_LEVEL) && __USE_FORTIFY_LEVEL > 0) || (defined(_FORTIFY_SOURCE) && _FORTIFY_SOURCE > 0)
17967 #error Fortify enabled
17968 #endif
17970 return 0;
17972 _ACEOF
17973 if ac_fn_c_try_compile "$LINENO"; then :
17974 ac_cv_c_fortify_enabled=no
17975 else
17976 ac_cv_c_fortify_enabled=yes
17978 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17980 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_fortify_enabled" >&5
17981 $as_echo "$ac_cv_c_fortify_enabled" >&6; }
17982 if test "$ac_cv_c_fortify_enabled" = yes
17983 then
17984 CFLAGS="$CFLAGS -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=0"
17988 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether CFI directives are supported in assembly code" >&5
17989 $as_echo_n "checking whether CFI directives are supported in assembly code... " >&6; }
17990 if ${ac_cv_c_cfi_support+:} false; then :
17991 $as_echo_n "(cached) " >&6
17992 else
17993 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17994 /* end confdefs.h. */
17995 asm(".text\nac_test:\t.cfi_startproc\n\t.long 0\n\t.cfi_endproc");
17997 main ()
18001 return 0;
18003 _ACEOF
18004 if ac_fn_c_try_compile "$LINENO"; then :
18005 ac_cv_c_cfi_support="yes"
18006 else
18007 ac_cv_c_cfi_support="no"
18009 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18011 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_cfi_support" >&5
18012 $as_echo "$ac_cv_c_cfi_support" >&6; }
18013 if test "$ac_cv_c_cfi_support" = "yes"
18014 then
18015 DLLFLAGS="$DLLFLAGS -fasynchronous-unwind-tables"
18016 LDDLLFLAGS="$LDDLLFLAGS -fasynchronous-unwind-tables"
18017 else
18018 if test "x$enable_win64" = "xyes"
18019 then
18020 as_fn_append wine_warnings "|building 64-bit Wine without support for CFI directives; exception handling will not work properly."
18025 case $build_os in
18026 cygwin*|mingw32*) TOOLSEXT=".exe"
18028 esac
18030 case $host_os in
18031 linux*)
18032 case $host_cpu in
18033 *i[3456789]86*|x86_64*|*aarch64*)
18034 test "$wine_binary" = wine || wine_fn_append_file CONFIGURE_TARGETS "loader/wine-preloader"
18035 WINELOADER_PROGRAMS="$WINELOADER_PROGRAMS $wine_binary-preloader"
18037 esac
18039 esac
18042 ac_save_CFLAGS="$CFLAGS"
18043 CFLAGS="$CFLAGS $BUILTINFLAG"
18044 for ac_func in \
18045 __res_get_state \
18046 __res_getservers \
18047 _spawnvp \
18048 epoll_create \
18049 fnmatch \
18050 fork \
18051 fstatfs \
18052 futimens \
18053 futimes \
18054 futimesat \
18055 getattrlist \
18056 getauxval \
18057 getifaddrs \
18058 getopt_long_only \
18059 getrandom \
18060 kqueue \
18061 lstat \
18062 mach_continuous_time \
18063 pipe2 \
18064 poll \
18065 port_create \
18066 prctl \
18067 pread \
18068 proc_pidinfo \
18069 pwrite \
18070 readlink \
18071 sched_yield \
18072 setproctitle \
18073 setprogname \
18074 sigprocmask \
18075 symlink \
18076 tcdrain \
18077 thr_kill2
18079 do :
18080 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
18081 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
18082 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
18083 cat >>confdefs.h <<_ACEOF
18084 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
18085 _ACEOF
18088 done
18090 CFLAGS="$ac_save_CFLAGS"
18092 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing dlopen" >&5
18093 $as_echo_n "checking for library containing dlopen... " >&6; }
18094 if ${ac_cv_search_dlopen+:} false; then :
18095 $as_echo_n "(cached) " >&6
18096 else
18097 ac_func_search_save_LIBS=$LIBS
18098 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18099 /* end confdefs.h. */
18101 /* Override any GCC internal prototype to avoid an error.
18102 Use char because int might match the return type of a GCC
18103 builtin and then its argument prototype would still apply. */
18104 #ifdef __cplusplus
18105 extern "C"
18106 #endif
18107 char dlopen ();
18109 main ()
18111 return dlopen ();
18113 return 0;
18115 _ACEOF
18116 for ac_lib in '' dl; do
18117 if test -z "$ac_lib"; then
18118 ac_res="none required"
18119 else
18120 ac_res=-l$ac_lib
18121 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
18123 if ac_fn_c_try_link "$LINENO"; then :
18124 ac_cv_search_dlopen=$ac_res
18126 rm -f core conftest.err conftest.$ac_objext \
18127 conftest$ac_exeext
18128 if ${ac_cv_search_dlopen+:} false; then :
18129 break
18131 done
18132 if ${ac_cv_search_dlopen+:} false; then :
18134 else
18135 ac_cv_search_dlopen=no
18137 rm conftest.$ac_ext
18138 LIBS=$ac_func_search_save_LIBS
18140 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_dlopen" >&5
18141 $as_echo "$ac_cv_search_dlopen" >&6; }
18142 ac_res=$ac_cv_search_dlopen
18143 if test "$ac_res" != no; then :
18144 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
18148 ac_wine_check_funcs_save_LIBS="$LIBS"
18149 LIBS="$LIBS $DL_LIBS"
18150 for ac_func in dladdr dlinfo
18151 do :
18152 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
18153 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
18154 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
18155 cat >>confdefs.h <<_ACEOF
18156 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
18157 _ACEOF
18160 done
18162 LIBS="$ac_wine_check_funcs_save_LIBS"
18164 if test "$ac_cv_func_poll" = no
18165 then
18166 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for poll in -lpoll" >&5
18167 $as_echo_n "checking for poll in -lpoll... " >&6; }
18168 if ${ac_cv_lib_poll_poll+:} false; then :
18169 $as_echo_n "(cached) " >&6
18170 else
18171 ac_check_lib_save_LIBS=$LIBS
18172 LIBS="-lpoll $LIBS"
18173 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18174 /* end confdefs.h. */
18176 /* Override any GCC internal prototype to avoid an error.
18177 Use char because int might match the return type of a GCC
18178 builtin and then its argument prototype would still apply. */
18179 #ifdef __cplusplus
18180 extern "C"
18181 #endif
18182 char poll ();
18184 main ()
18186 return poll ();
18188 return 0;
18190 _ACEOF
18191 if ac_fn_c_try_link "$LINENO"; then :
18192 ac_cv_lib_poll_poll=yes
18193 else
18194 ac_cv_lib_poll_poll=no
18196 rm -f core conftest.err conftest.$ac_objext \
18197 conftest$ac_exeext conftest.$ac_ext
18198 LIBS=$ac_check_lib_save_LIBS
18200 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_poll_poll" >&5
18201 $as_echo "$ac_cv_lib_poll_poll" >&6; }
18202 if test "x$ac_cv_lib_poll_poll" = xyes; then :
18203 $as_echo "#define HAVE_POLL 1" >>confdefs.h
18204 POLL_LIBS="-lpoll"
18210 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing gethostbyname" >&5
18211 $as_echo_n "checking for library containing gethostbyname... " >&6; }
18212 if ${ac_cv_search_gethostbyname+:} false; then :
18213 $as_echo_n "(cached) " >&6
18214 else
18215 ac_func_search_save_LIBS=$LIBS
18216 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18217 /* end confdefs.h. */
18219 /* Override any GCC internal prototype to avoid an error.
18220 Use char because int might match the return type of a GCC
18221 builtin and then its argument prototype would still apply. */
18222 #ifdef __cplusplus
18223 extern "C"
18224 #endif
18225 char gethostbyname ();
18227 main ()
18229 return gethostbyname ();
18231 return 0;
18233 _ACEOF
18234 for ac_lib in '' nsl; do
18235 if test -z "$ac_lib"; then
18236 ac_res="none required"
18237 else
18238 ac_res=-l$ac_lib
18239 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
18241 if ac_fn_c_try_link "$LINENO"; then :
18242 ac_cv_search_gethostbyname=$ac_res
18244 rm -f core conftest.err conftest.$ac_objext \
18245 conftest$ac_exeext
18246 if ${ac_cv_search_gethostbyname+:} false; then :
18247 break
18249 done
18250 if ${ac_cv_search_gethostbyname+:} false; then :
18252 else
18253 ac_cv_search_gethostbyname=no
18255 rm conftest.$ac_ext
18256 LIBS=$ac_func_search_save_LIBS
18258 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gethostbyname" >&5
18259 $as_echo "$ac_cv_search_gethostbyname" >&6; }
18260 ac_res=$ac_cv_search_gethostbyname
18261 if test "$ac_res" != no; then :
18262 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
18267 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing connect" >&5
18268 $as_echo_n "checking for library containing connect... " >&6; }
18269 if ${ac_cv_search_connect+:} false; then :
18270 $as_echo_n "(cached) " >&6
18271 else
18272 ac_func_search_save_LIBS=$LIBS
18273 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18274 /* end confdefs.h. */
18276 /* Override any GCC internal prototype to avoid an error.
18277 Use char because int might match the return type of a GCC
18278 builtin and then its argument prototype would still apply. */
18279 #ifdef __cplusplus
18280 extern "C"
18281 #endif
18282 char connect ();
18284 main ()
18286 return connect ();
18288 return 0;
18290 _ACEOF
18291 for ac_lib in '' socket; do
18292 if test -z "$ac_lib"; then
18293 ac_res="none required"
18294 else
18295 ac_res=-l$ac_lib
18296 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
18298 if ac_fn_c_try_link "$LINENO"; then :
18299 ac_cv_search_connect=$ac_res
18301 rm -f core conftest.err conftest.$ac_objext \
18302 conftest$ac_exeext
18303 if ${ac_cv_search_connect+:} false; then :
18304 break
18306 done
18307 if ${ac_cv_search_connect+:} false; then :
18309 else
18310 ac_cv_search_connect=no
18312 rm conftest.$ac_ext
18313 LIBS=$ac_func_search_save_LIBS
18315 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_connect" >&5
18316 $as_echo "$ac_cv_search_connect" >&6; }
18317 ac_res=$ac_cv_search_connect
18318 if test "$ac_res" != no; then :
18319 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
18324 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing inet_aton" >&5
18325 $as_echo_n "checking for library containing inet_aton... " >&6; }
18326 if ${ac_cv_search_inet_aton+:} false; then :
18327 $as_echo_n "(cached) " >&6
18328 else
18329 ac_func_search_save_LIBS=$LIBS
18330 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18331 /* end confdefs.h. */
18333 /* Override any GCC internal prototype to avoid an error.
18334 Use char because int might match the return type of a GCC
18335 builtin and then its argument prototype would still apply. */
18336 #ifdef __cplusplus
18337 extern "C"
18338 #endif
18339 char inet_aton ();
18341 main ()
18343 return inet_aton ();
18345 return 0;
18347 _ACEOF
18348 for ac_lib in '' resolv; do
18349 if test -z "$ac_lib"; then
18350 ac_res="none required"
18351 else
18352 ac_res=-l$ac_lib
18353 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
18355 if ac_fn_c_try_link "$LINENO"; then :
18356 ac_cv_search_inet_aton=$ac_res
18358 rm -f core conftest.err conftest.$ac_objext \
18359 conftest$ac_exeext
18360 if ${ac_cv_search_inet_aton+:} false; then :
18361 break
18363 done
18364 if ${ac_cv_search_inet_aton+:} false; then :
18366 else
18367 ac_cv_search_inet_aton=no
18369 rm conftest.$ac_ext
18370 LIBS=$ac_func_search_save_LIBS
18372 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_inet_aton" >&5
18373 $as_echo "$ac_cv_search_inet_aton" >&6; }
18374 ac_res=$ac_cv_search_inet_aton
18375 if test "$ac_res" != no; then :
18376 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
18381 for ac_func in \
18382 getaddrinfo \
18383 getnameinfo \
18384 getservbyport \
18386 do :
18387 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
18388 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
18389 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
18390 cat >>confdefs.h <<_ACEOF
18391 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
18392 _ACEOF
18395 done
18398 case $host_os in
18399 darwin*|macosx*) ;;
18400 *) ac_save_LIBS=$LIBS
18401 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
18402 $as_echo_n "checking for library containing clock_gettime... " >&6; }
18403 if ${ac_cv_search_clock_gettime+:} false; then :
18404 $as_echo_n "(cached) " >&6
18405 else
18406 ac_func_search_save_LIBS=$LIBS
18407 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18408 /* end confdefs.h. */
18410 /* Override any GCC internal prototype to avoid an error.
18411 Use char because int might match the return type of a GCC
18412 builtin and then its argument prototype would still apply. */
18413 #ifdef __cplusplus
18414 extern "C"
18415 #endif
18416 char clock_gettime ();
18418 main ()
18420 return clock_gettime ();
18422 return 0;
18424 _ACEOF
18425 for ac_lib in '' rt; do
18426 if test -z "$ac_lib"; then
18427 ac_res="none required"
18428 else
18429 ac_res=-l$ac_lib
18430 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
18432 if ac_fn_c_try_link "$LINENO"; then :
18433 ac_cv_search_clock_gettime=$ac_res
18435 rm -f core conftest.err conftest.$ac_objext \
18436 conftest$ac_exeext
18437 if ${ac_cv_search_clock_gettime+:} false; then :
18438 break
18440 done
18441 if ${ac_cv_search_clock_gettime+:} false; then :
18443 else
18444 ac_cv_search_clock_gettime=no
18446 rm conftest.$ac_ext
18447 LIBS=$ac_func_search_save_LIBS
18449 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
18450 $as_echo "$ac_cv_search_clock_gettime" >&6; }
18451 ac_res=$ac_cv_search_clock_gettime
18452 if test "$ac_res" != no; then :
18453 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
18455 $as_echo "#define HAVE_CLOCK_GETTIME 1" >>confdefs.h
18457 test "$ac_res" = "none required" || RT_LIBS="$ac_res"
18461 LIBS=$ac_save_LIBS
18463 esac
18465 if test "x$with_ldap" != "xno"
18466 then
18467 if ${LDAP_CFLAGS:+false} :; then :
18468 if ${PKG_CONFIG+:} false; then :
18469 LDAP_CFLAGS=`$PKG_CONFIG --cflags openldap 2>/dev/null`
18473 if ${LDAP_LIBS:+false} :; then :
18474 if ${PKG_CONFIG+:} false; then :
18475 LDAP_LIBS=`$PKG_CONFIG --libs openldap 2>/dev/null`
18479 LDAP_LIBS=${LDAP_LIBS:-"-lldap_r -llber"}
18480 $as_echo "$as_me:${as_lineno-$LINENO}: openldap cflags: $LDAP_CFLAGS" >&5
18481 $as_echo "$as_me:${as_lineno-$LINENO}: openldap libs: $LDAP_LIBS" >&5
18482 ac_save_CPPFLAGS=$CPPFLAGS
18483 CPPFLAGS="$CPPFLAGS $LDAP_CFLAGS"
18484 for ac_header in ldap.h lber.h
18485 do :
18486 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
18487 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
18488 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
18489 cat >>confdefs.h <<_ACEOF
18490 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
18491 _ACEOF
18495 done
18497 if test "$ac_cv_header_ldap_h" = "yes" -a "$ac_cv_header_lber_h" = "yes"
18498 then
18499 ac_fn_c_check_type "$LINENO" "LDAPSortKey" "ac_cv_type_LDAPSortKey" "#include <ldap.h>
18501 if test "x$ac_cv_type_LDAPSortKey" = xyes; then :
18502 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldap_initialize in -lldap_r" >&5
18503 $as_echo_n "checking for ldap_initialize in -lldap_r... " >&6; }
18504 if ${ac_cv_lib_ldap_r_ldap_initialize+:} false; then :
18505 $as_echo_n "(cached) " >&6
18506 else
18507 ac_check_lib_save_LIBS=$LIBS
18508 LIBS="-lldap_r $PTHREAD_LIBS $LDAP_LIBS $LIBS"
18509 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18510 /* end confdefs.h. */
18512 /* Override any GCC internal prototype to avoid an error.
18513 Use char because int might match the return type of a GCC
18514 builtin and then its argument prototype would still apply. */
18515 #ifdef __cplusplus
18516 extern "C"
18517 #endif
18518 char ldap_initialize ();
18520 main ()
18522 return ldap_initialize ();
18524 return 0;
18526 _ACEOF
18527 if ac_fn_c_try_link "$LINENO"; then :
18528 ac_cv_lib_ldap_r_ldap_initialize=yes
18529 else
18530 ac_cv_lib_ldap_r_ldap_initialize=no
18532 rm -f core conftest.err conftest.$ac_objext \
18533 conftest$ac_exeext conftest.$ac_ext
18534 LIBS=$ac_check_lib_save_LIBS
18536 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ldap_r_ldap_initialize" >&5
18537 $as_echo "$ac_cv_lib_ldap_r_ldap_initialize" >&6; }
18538 if test "x$ac_cv_lib_ldap_r_ldap_initialize" = xyes; then :
18539 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ber_init in -llber" >&5
18540 $as_echo_n "checking for ber_init in -llber... " >&6; }
18541 if ${ac_cv_lib_lber_ber_init+:} false; then :
18542 $as_echo_n "(cached) " >&6
18543 else
18544 ac_check_lib_save_LIBS=$LIBS
18545 LIBS="-llber $PTHREAD_LIBS $LDAP_LIBS $LIBS"
18546 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18547 /* end confdefs.h. */
18549 /* Override any GCC internal prototype to avoid an error.
18550 Use char because int might match the return type of a GCC
18551 builtin and then its argument prototype would still apply. */
18552 #ifdef __cplusplus
18553 extern "C"
18554 #endif
18555 char ber_init ();
18557 main ()
18559 return ber_init ();
18561 return 0;
18563 _ACEOF
18564 if ac_fn_c_try_link "$LINENO"; then :
18565 ac_cv_lib_lber_ber_init=yes
18566 else
18567 ac_cv_lib_lber_ber_init=no
18569 rm -f core conftest.err conftest.$ac_objext \
18570 conftest$ac_exeext conftest.$ac_ext
18571 LIBS=$ac_check_lib_save_LIBS
18573 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lber_ber_init" >&5
18574 $as_echo "$ac_cv_lib_lber_ber_init" >&6; }
18575 if test "x$ac_cv_lib_lber_ber_init" = xyes; then :
18577 $as_echo "#define HAVE_LDAP 1" >>confdefs.h
18579 else
18580 LDAP_LIBS=""
18583 else
18584 LDAP_LIBS=""
18587 else
18588 LDAP_LIBS=""
18591 ac_wine_check_funcs_save_LIBS="$LIBS"
18592 LIBS="$LIBS $LDAP_LIBS $PTHREAD_LIBS"
18593 for ac_func in \
18594 ldap_count_references \
18595 ldap_first_reference \
18596 ldap_next_reference \
18597 ldap_parse_reference \
18598 ldap_parse_sort_control \
18599 ldap_parse_sortresponse_control \
18600 ldap_parse_vlv_control \
18601 ldap_parse_vlvresponse_control
18602 do :
18603 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
18604 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
18605 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
18606 cat >>confdefs.h <<_ACEOF
18607 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
18608 _ACEOF
18611 done
18613 LIBS="$ac_wine_check_funcs_save_LIBS"
18614 else
18615 LDAP_LIBS=""
18617 CPPFLAGS=$ac_save_CPPFLAGS
18620 if test "x$LDAP_LIBS" = "x"; then :
18621 case "x$with_ldap" in
18622 x) as_fn_append wine_notices "|libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported." ;;
18623 xno) ;;
18624 *) as_fn_error $? "libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported.
18625 This is an error since --with-ldap was requested." "$LINENO" 5 ;;
18626 esac
18630 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sched_setaffinity" >&5
18631 $as_echo_n "checking for sched_setaffinity... " >&6; }
18632 if ${wine_cv_have_sched_setaffinity+:} false; then :
18633 $as_echo_n "(cached) " >&6
18634 else
18635 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18636 /* end confdefs.h. */
18637 #define _GNU_SOURCE
18638 #include <sched.h>
18640 main ()
18642 sched_setaffinity(0, 0, 0);
18644 return 0;
18646 _ACEOF
18647 if ac_fn_c_try_link "$LINENO"; then :
18648 wine_cv_have_sched_setaffinity=yes
18649 else
18650 wine_cv_have_sched_setaffinity=no
18652 rm -f core conftest.err conftest.$ac_objext \
18653 conftest$ac_exeext conftest.$ac_ext
18655 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sched_setaffinity" >&5
18656 $as_echo "$wine_cv_have_sched_setaffinity" >&6; }
18657 if test "$wine_cv_have_sched_setaffinity" = "yes"
18658 then
18660 $as_echo "#define HAVE_SCHED_SETAFFINITY 1" >>confdefs.h
18664 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fallocate" >&5
18665 $as_echo_n "checking for fallocate... " >&6; }
18666 if ${wine_cv_have_fallocate+:} false; then :
18667 $as_echo_n "(cached) " >&6
18668 else
18669 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18670 /* end confdefs.h. */
18671 #define _GNU_SOURCE
18672 #include <fcntl.h>
18674 main ()
18676 fallocate(-1, 0, 0, 0);
18678 return 0;
18680 _ACEOF
18681 if ac_fn_c_try_link "$LINENO"; then :
18682 wine_cv_have_fallocate=yes
18683 else
18684 wine_cv_have_fallocate=no
18686 rm -f core conftest.err conftest.$ac_objext \
18687 conftest$ac_exeext conftest.$ac_ext
18689 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_fallocate" >&5
18690 $as_echo "$wine_cv_have_fallocate" >&6; }
18691 if test "$wine_cv_have_fallocate" = "yes"
18692 then
18694 $as_echo "#define HAVE_FALLOCATE 1" >>confdefs.h
18699 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
18700 $as_echo_n "checking for inline... " >&6; }
18701 if ${ac_cv_c_inline+:} false; then :
18702 $as_echo_n "(cached) " >&6
18703 else
18704 ac_cv_c_inline=no
18705 for ac_kw in inline __inline__ __inline; do
18706 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18707 /* end confdefs.h. */
18708 #ifndef __cplusplus
18709 typedef int foo_t;
18710 static $ac_kw foo_t static_foo () {return 0; }
18711 $ac_kw foo_t foo () {return 0; }
18712 #endif
18714 _ACEOF
18715 if ac_fn_c_try_compile "$LINENO"; then :
18716 ac_cv_c_inline=$ac_kw
18718 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18719 test "$ac_cv_c_inline" != no && break
18720 done
18723 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
18724 $as_echo "$ac_cv_c_inline" >&6; }
18726 case $ac_cv_c_inline in
18727 inline | yes) ;;
18729 case $ac_cv_c_inline in
18730 no) ac_val=;;
18731 *) ac_val=$ac_cv_c_inline;;
18732 esac
18733 cat >>confdefs.h <<_ACEOF
18734 #ifndef __cplusplus
18735 #define inline $ac_val
18736 #endif
18737 _ACEOF
18739 esac
18741 ac_fn_c_check_type "$LINENO" "sigset_t" "ac_cv_type_sigset_t" "#include <sys/types.h>
18742 #include <signal.h>
18744 if test "x$ac_cv_type_sigset_t" = xyes; then :
18746 cat >>confdefs.h <<_ACEOF
18747 #define HAVE_SIGSET_T 1
18748 _ACEOF
18753 ac_fn_c_check_type "$LINENO" "request_sense" "ac_cv_type_request_sense" "#include <linux/cdrom.h>
18755 if test "x$ac_cv_type_request_sense" = xyes; then :
18757 cat >>confdefs.h <<_ACEOF
18758 #define HAVE_REQUEST_SENSE 1
18759 _ACEOF
18765 ac_fn_c_check_type "$LINENO" "struct xinpgen" "ac_cv_type_struct_xinpgen" "#include <sys/types.h>
18766 #ifdef HAVE_SYS_SOCKET_H
18767 #include <sys/socket.h>
18768 #endif
18769 #ifdef HAVE_SYS_SOCKETVAR_H
18770 #include <sys/socketvar.h>
18771 #endif
18772 #ifdef HAVE_NET_ROUTE_H
18773 #include <net/route.h>
18774 #endif
18775 #ifdef HAVE_NETINET_IN_H
18776 #include <netinet/in.h>
18777 #endif
18778 #ifdef HAVE_NETINET_IN_SYSTM_H
18779 #include <netinet/in_systm.h>
18780 #endif
18781 #ifdef HAVE_NETINET_IP_H
18782 #include <netinet/ip.h>
18783 #endif
18784 #ifdef HAVE_NETINET_IN_PCB_H
18785 #include <netinet/in_pcb.h>
18786 #endif
18788 if test "x$ac_cv_type_struct_xinpgen" = xyes; then :
18790 cat >>confdefs.h <<_ACEOF
18791 #define HAVE_STRUCT_XINPGEN 1
18792 _ACEOF
18798 ac_fn_c_check_member "$LINENO" "struct ff_effect" "direction" "ac_cv_member_struct_ff_effect_direction" "#ifdef HAVE_LINUX_INPUT_H
18799 #include <linux/input.h>
18800 #endif
18802 if test "x$ac_cv_member_struct_ff_effect_direction" = xyes; then :
18804 cat >>confdefs.h <<_ACEOF
18805 #define HAVE_STRUCT_FF_EFFECT_DIRECTION 1
18806 _ACEOF
18812 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for if_nameindex" >&5
18813 $as_echo_n "checking for if_nameindex... " >&6; }
18814 if ${wine_cv_have_if_nameindex+:} false; then :
18815 $as_echo_n "(cached) " >&6
18816 else
18817 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18818 /* end confdefs.h. */
18819 #ifdef HAVE_SYS_TYPES_H
18820 #include <sys/types.h>
18821 #endif
18822 #ifdef HAVE_SYS_SOCKET_H
18823 #include <sys/socket.h>
18824 #endif
18825 #ifdef HAVE_NET_IF_H
18826 # include <net/if.h>
18827 #endif
18829 main ()
18831 struct if_nameindex *p = if_nameindex(); return p->if_index;
18833 return 0;
18835 _ACEOF
18836 if ac_fn_c_try_link "$LINENO"; then :
18837 wine_cv_have_if_nameindex=yes
18838 else
18839 wine_cv_have_if_nameindex=no
18841 rm -f core conftest.err conftest.$ac_objext \
18842 conftest$ac_exeext conftest.$ac_ext
18844 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_if_nameindex" >&5
18845 $as_echo "$wine_cv_have_if_nameindex" >&6; }
18846 if test "$wine_cv_have_if_nameindex" = "yes"
18847 then
18849 $as_echo "#define HAVE_IF_NAMEINDEX 1" >>confdefs.h
18853 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sigaddset" >&5
18854 $as_echo_n "checking for sigaddset... " >&6; }
18855 if ${wine_cv_have_sigaddset+:} false; then :
18856 $as_echo_n "(cached) " >&6
18857 else
18858 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18859 /* end confdefs.h. */
18860 #include <signal.h>
18862 main ()
18864 sigset_t set; sigaddset(&set,SIGTERM);
18866 return 0;
18868 _ACEOF
18869 if ac_fn_c_try_link "$LINENO"; then :
18870 wine_cv_have_sigaddset=yes
18871 else
18872 wine_cv_have_sigaddset=no
18874 rm -f core conftest.err conftest.$ac_objext \
18875 conftest$ac_exeext conftest.$ac_ext
18877 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sigaddset" >&5
18878 $as_echo "$wine_cv_have_sigaddset" >&6; }
18879 if test "$wine_cv_have_sigaddset" = "yes"
18880 then
18882 $as_echo "#define HAVE_SIGADDSET 1" >>confdefs.h
18887 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can use re-entrant gethostbyname_r Linux style" >&5
18888 $as_echo_n "checking whether we can use re-entrant gethostbyname_r Linux style... " >&6; }
18889 if ${wine_cv_linux_gethostbyname_r_6+:} false; then :
18890 $as_echo_n "(cached) " >&6
18891 else
18892 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18893 /* end confdefs.h. */
18894 #include <netdb.h>
18896 main ()
18899 char *name=0;
18900 struct hostent he;
18901 struct hostent *result;
18902 char *buf=0;
18903 int bufsize=0;
18904 int errnr;
18905 char *addr=0;
18906 int addrlen=0;
18907 int addrtype=0;
18908 gethostbyname_r(name,&he,buf,bufsize,&result,&errnr);
18909 gethostbyaddr_r(addr, addrlen, addrtype,&he,buf,bufsize,&result,&errnr);
18912 return 0;
18914 _ACEOF
18915 if ac_fn_c_try_link "$LINENO"; then :
18916 wine_cv_linux_gethostbyname_r_6=yes
18917 else
18918 wine_cv_linux_gethostbyname_r_6=no
18921 rm -f core conftest.err conftest.$ac_objext \
18922 conftest$ac_exeext conftest.$ac_ext
18925 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_gethostbyname_r_6" >&5
18926 $as_echo "$wine_cv_linux_gethostbyname_r_6" >&6; }
18927 if test "$wine_cv_linux_gethostbyname_r_6" = "yes"
18928 then
18930 $as_echo "#define HAVE_LINUX_GETHOSTBYNAME_R_6 1" >>confdefs.h
18934 if test "$ac_cv_header_linux_joystick_h" = "yes"
18935 then
18936 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether linux/joystick.h uses the Linux 2.2+ API" >&5
18937 $as_echo_n "checking whether linux/joystick.h uses the Linux 2.2+ API... " >&6; }
18938 if ${wine_cv_linux_joystick_22_api+:} false; then :
18939 $as_echo_n "(cached) " >&6
18940 else
18941 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18942 /* end confdefs.h. */
18944 #include <sys/ioctl.h>
18945 #include <sys/types.h>
18946 #include <linux/joystick.h>
18948 struct js_event blub;
18949 #if !defined(JS_EVENT_AXIS) || !defined(JS_EVENT_BUTTON)
18950 #error "no 2.2 header"
18951 #endif
18954 main ()
18956 /*empty*/
18958 return 0;
18960 _ACEOF
18961 if ac_fn_c_try_compile "$LINENO"; then :
18962 wine_cv_linux_joystick_22_api=yes
18963 else
18964 wine_cv_linux_joystick_22_api=no
18966 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18969 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_joystick_22_api" >&5
18970 $as_echo "$wine_cv_linux_joystick_22_api" >&6; }
18971 if test "$wine_cv_linux_joystick_22_api" = "yes"
18972 then
18974 $as_echo "#define HAVE_LINUX_22_JOYSTICK_API 1" >>confdefs.h
18979 ac_fn_c_check_member "$LINENO" "struct msghdr" "msg_accrights" "ac_cv_member_struct_msghdr_msg_accrights" "#include <sys/types.h>
18980 #ifdef HAVE_SYS_SOCKET_H
18981 # include <sys/socket.h>
18982 #endif
18983 #ifdef HAVE_SYS_UN_H
18984 # include <sys/un.h>
18985 #endif
18987 if test "x$ac_cv_member_struct_msghdr_msg_accrights" = xyes; then :
18989 cat >>confdefs.h <<_ACEOF
18990 #define HAVE_STRUCT_MSGHDR_MSG_ACCRIGHTS 1
18991 _ACEOF
18995 ac_fn_c_check_member "$LINENO" "struct sockaddr" "sa_len" "ac_cv_member_struct_sockaddr_sa_len" "#include <sys/types.h>
18996 #ifdef HAVE_SYS_SOCKET_H
18997 # include <sys/socket.h>
18998 #endif
18999 #ifdef HAVE_SYS_UN_H
19000 # include <sys/un.h>
19001 #endif
19003 if test "x$ac_cv_member_struct_sockaddr_sa_len" = xyes; then :
19005 cat >>confdefs.h <<_ACEOF
19006 #define HAVE_STRUCT_SOCKADDR_SA_LEN 1
19007 _ACEOF
19011 ac_fn_c_check_member "$LINENO" "struct sockaddr_un" "sun_len" "ac_cv_member_struct_sockaddr_un_sun_len" "#include <sys/types.h>
19012 #ifdef HAVE_SYS_SOCKET_H
19013 # include <sys/socket.h>
19014 #endif
19015 #ifdef HAVE_SYS_UN_H
19016 # include <sys/un.h>
19017 #endif
19019 if test "x$ac_cv_member_struct_sockaddr_un_sun_len" = xyes; then :
19021 cat >>confdefs.h <<_ACEOF
19022 #define HAVE_STRUCT_SOCKADDR_UN_SUN_LEN 1
19023 _ACEOF
19029 ac_fn_c_check_member "$LINENO" "scsireq_t" "cmd" "ac_cv_member_scsireq_t_cmd" "#include <sys/types.h>
19030 #ifdef HAVE_SCSI_SG_H
19031 #include <scsi/sg.h>
19032 #endif
19034 if test "x$ac_cv_member_scsireq_t_cmd" = xyes; then :
19036 cat >>confdefs.h <<_ACEOF
19037 #define HAVE_SCSIREQ_T_CMD 1
19038 _ACEOF
19042 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>
19043 #ifdef HAVE_SCSI_SG_H
19044 #include <scsi/sg.h>
19045 #endif
19047 if test "x$ac_cv_member_sg_io_hdr_t_interface_id" = xyes; then :
19049 cat >>confdefs.h <<_ACEOF
19050 #define HAVE_SG_IO_HDR_T_INTERFACE_ID 1
19051 _ACEOF
19057 ac_fn_c_check_member "$LINENO" "siginfo_t" "si_fd" "ac_cv_member_siginfo_t_si_fd" "#include <signal.h>
19059 if test "x$ac_cv_member_siginfo_t_si_fd" = xyes; then :
19061 cat >>confdefs.h <<_ACEOF
19062 #define HAVE_SIGINFO_T_SI_FD 1
19063 _ACEOF
19069 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_blksiz" "ac_cv_member_struct_mtget_mt_blksiz" "#include <sys/types.h>
19070 #ifdef HAVE_SYS_MTIO_H
19071 #include <sys/mtio.h>
19072 #endif
19074 if test "x$ac_cv_member_struct_mtget_mt_blksiz" = xyes; then :
19076 cat >>confdefs.h <<_ACEOF
19077 #define HAVE_STRUCT_MTGET_MT_BLKSIZ 1
19078 _ACEOF
19082 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_gstat" "ac_cv_member_struct_mtget_mt_gstat" "#include <sys/types.h>
19083 #ifdef HAVE_SYS_MTIO_H
19084 #include <sys/mtio.h>
19085 #endif
19087 if test "x$ac_cv_member_struct_mtget_mt_gstat" = xyes; then :
19089 cat >>confdefs.h <<_ACEOF
19090 #define HAVE_STRUCT_MTGET_MT_GSTAT 1
19091 _ACEOF
19095 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_blkno" "ac_cv_member_struct_mtget_mt_blkno" "#include <sys/types.h>
19096 #ifdef HAVE_SYS_MTIO_H
19097 #include <sys/mtio.h>
19098 #endif
19100 if test "x$ac_cv_member_struct_mtget_mt_blkno" = xyes; then :
19102 cat >>confdefs.h <<_ACEOF
19103 #define HAVE_STRUCT_MTGET_MT_BLKNO 1
19104 _ACEOF
19110 ac_fn_c_check_member "$LINENO" "struct option" "name" "ac_cv_member_struct_option_name" "#ifdef HAVE_GETOPT_H
19111 #include <getopt.h>
19112 #endif
19114 if test "x$ac_cv_member_struct_option_name" = xyes; then :
19116 cat >>confdefs.h <<_ACEOF
19117 #define HAVE_STRUCT_OPTION_NAME 1
19118 _ACEOF
19124 ac_fn_c_check_member "$LINENO" "struct stat" "st_blocks" "ac_cv_member_struct_stat_st_blocks" "$ac_includes_default"
19125 if test "x$ac_cv_member_struct_stat_st_blocks" = xyes; then :
19127 cat >>confdefs.h <<_ACEOF
19128 #define HAVE_STRUCT_STAT_ST_BLOCKS 1
19129 _ACEOF
19133 ac_fn_c_check_member "$LINENO" "struct stat" "st_mtim" "ac_cv_member_struct_stat_st_mtim" "$ac_includes_default"
19134 if test "x$ac_cv_member_struct_stat_st_mtim" = xyes; then :
19136 cat >>confdefs.h <<_ACEOF
19137 #define HAVE_STRUCT_STAT_ST_MTIM 1
19138 _ACEOF
19142 ac_fn_c_check_member "$LINENO" "struct stat" "st_mtimespec" "ac_cv_member_struct_stat_st_mtimespec" "$ac_includes_default"
19143 if test "x$ac_cv_member_struct_stat_st_mtimespec" = xyes; then :
19145 cat >>confdefs.h <<_ACEOF
19146 #define HAVE_STRUCT_STAT_ST_MTIMESPEC 1
19147 _ACEOF
19151 ac_fn_c_check_member "$LINENO" "struct stat" "st_ctim" "ac_cv_member_struct_stat_st_ctim" "$ac_includes_default"
19152 if test "x$ac_cv_member_struct_stat_st_ctim" = xyes; then :
19154 cat >>confdefs.h <<_ACEOF
19155 #define HAVE_STRUCT_STAT_ST_CTIM 1
19156 _ACEOF
19160 ac_fn_c_check_member "$LINENO" "struct stat" "st_ctimespec" "ac_cv_member_struct_stat_st_ctimespec" "$ac_includes_default"
19161 if test "x$ac_cv_member_struct_stat_st_ctimespec" = xyes; then :
19163 cat >>confdefs.h <<_ACEOF
19164 #define HAVE_STRUCT_STAT_ST_CTIMESPEC 1
19165 _ACEOF
19169 ac_fn_c_check_member "$LINENO" "struct stat" "st_atim" "ac_cv_member_struct_stat_st_atim" "$ac_includes_default"
19170 if test "x$ac_cv_member_struct_stat_st_atim" = xyes; then :
19172 cat >>confdefs.h <<_ACEOF
19173 #define HAVE_STRUCT_STAT_ST_ATIM 1
19174 _ACEOF
19178 ac_fn_c_check_member "$LINENO" "struct stat" "st_atimespec" "ac_cv_member_struct_stat_st_atimespec" "$ac_includes_default"
19179 if test "x$ac_cv_member_struct_stat_st_atimespec" = xyes; then :
19181 cat >>confdefs.h <<_ACEOF
19182 #define HAVE_STRUCT_STAT_ST_ATIMESPEC 1
19183 _ACEOF
19187 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtime" "ac_cv_member_struct_stat_st_birthtime" "$ac_includes_default"
19188 if test "x$ac_cv_member_struct_stat_st_birthtime" = xyes; then :
19190 cat >>confdefs.h <<_ACEOF
19191 #define HAVE_STRUCT_STAT_ST_BIRTHTIME 1
19192 _ACEOF
19196 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtim" "ac_cv_member_struct_stat_st_birthtim" "$ac_includes_default"
19197 if test "x$ac_cv_member_struct_stat_st_birthtim" = xyes; then :
19199 cat >>confdefs.h <<_ACEOF
19200 #define HAVE_STRUCT_STAT_ST_BIRTHTIM 1
19201 _ACEOF
19205 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtimespec" "ac_cv_member_struct_stat_st_birthtimespec" "$ac_includes_default"
19206 if test "x$ac_cv_member_struct_stat_st_birthtimespec" = xyes; then :
19208 cat >>confdefs.h <<_ACEOF
19209 #define HAVE_STRUCT_STAT_ST_BIRTHTIMESPEC 1
19210 _ACEOF
19214 ac_fn_c_check_member "$LINENO" "struct stat" "__st_birthtime" "ac_cv_member_struct_stat___st_birthtime" "$ac_includes_default"
19215 if test "x$ac_cv_member_struct_stat___st_birthtime" = xyes; then :
19217 cat >>confdefs.h <<_ACEOF
19218 #define HAVE_STRUCT_STAT___ST_BIRTHTIME 1
19219 _ACEOF
19223 ac_fn_c_check_member "$LINENO" "struct stat" "__st_birthtim" "ac_cv_member_struct_stat___st_birthtim" "$ac_includes_default"
19224 if test "x$ac_cv_member_struct_stat___st_birthtim" = xyes; then :
19226 cat >>confdefs.h <<_ACEOF
19227 #define HAVE_STRUCT_STAT___ST_BIRTHTIM 1
19228 _ACEOF
19234 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
19235 #include <sys/types.h>
19236 #endif
19237 #ifdef HAVE_NETINET_IN_H
19238 #include <netinet/in.h>
19239 #endif
19241 if test "x$ac_cv_member_struct_sockaddr_in6_sin6_scope_id" = xyes; then :
19243 cat >>confdefs.h <<_ACEOF
19244 #define HAVE_STRUCT_SOCKADDR_IN6_SIN6_SCOPE_ID 1
19245 _ACEOF
19251 ac_fn_c_check_type "$LINENO" "struct __res_state" "ac_cv_type_struct___res_state" "#ifdef HAVE_SYS_TYPES_H
19252 #include <sys/types.h>
19253 #endif
19254 #ifdef HAVE_NETINET_IN_H
19255 #include <netinet/in.h>
19256 #endif
19257 #ifdef HAVE_RESOLV_H
19258 #include <resolv.h>
19259 #endif
19261 if test "x$ac_cv_type_struct___res_state" = xyes; then :
19263 cat >>confdefs.h <<_ACEOF
19264 #define HAVE_STRUCT___RES_STATE 1
19265 _ACEOF
19271 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
19272 #include <resolv.h>
19273 #endif
19275 if test "x$ac_cv_member_struct___res_state__u__ext_nscount6" = xyes; then :
19277 cat >>confdefs.h <<_ACEOF
19278 #define HAVE_STRUCT___RES_STATE__U__EXT_NSCOUNT6 1
19279 _ACEOF
19285 ac_fn_c_check_member "$LINENO" "ns_msg" "_msg_ptr" "ac_cv_member_ns_msg__msg_ptr" "#ifdef HAVE_SYS_TYPES_H
19286 #include <sys/types.h>
19287 #endif
19288 #ifdef HAVE_NETINET_IN_H
19289 # include <netinet/in.h>
19290 #endif
19291 #ifdef HAVE_ARPA_NAMESER_H
19292 # include <arpa/nameser.h>
19293 #endif
19295 if test "x$ac_cv_member_ns_msg__msg_ptr" = xyes; then :
19297 cat >>confdefs.h <<_ACEOF
19298 #define HAVE_NS_MSG__MSG_PTR 1
19299 _ACEOF
19305 ac_fn_c_check_member "$LINENO" "struct icmpstat" "icps_inhist" "ac_cv_member_struct_icmpstat_icps_inhist" "#ifdef HAVE_SYS_TYPES_H
19306 #include <sys/types.h>
19307 #endif
19308 #ifdef HAVE_NETINET_IN_H
19309 #include <netinet/in.h>
19310 #endif
19311 #ifdef HAVE_NETINET_IP_H
19312 #include <netinet/ip.h>
19313 #endif
19314 #ifdef HAVE_NETINET_IP_ICMP_H
19315 #include <netinet/ip_icmp.h>
19316 #endif
19317 #ifdef HAVE_NETINET_ICMP_VAR_H
19318 #include <netinet/icmp_var.h>
19319 #endif
19321 if test "x$ac_cv_member_struct_icmpstat_icps_inhist" = xyes; then :
19323 cat >>confdefs.h <<_ACEOF
19324 #define HAVE_STRUCT_ICMPSTAT_ICPS_INHIST 1
19325 _ACEOF
19331 ac_fn_c_check_member "$LINENO" "struct icmpstat" "icps_outhist" "ac_cv_member_struct_icmpstat_icps_outhist" "#ifdef HAVE_SYS_TYPES_H
19332 #include <sys/types.h>
19333 #endif
19334 #ifdef HAVE_ALIAS_H
19335 #include <alias.h>
19336 #endif
19337 #ifdef HAVE_SYS_SOCKET_H
19338 #include <sys/socket.h>
19339 #endif
19340 #ifdef HAVE_SYS_SOCKETVAR_H
19341 #include <sys/socketvar.h>
19342 #endif
19343 #ifdef HAVE_SYS_TIMEOUT_H
19344 #include <sys/timeout.h>
19345 #endif
19346 #ifdef HAVE_NETINET_IN_H
19347 #include <netinet/in.h>
19348 #endif
19349 #ifdef HAVE_NETINET_IN_SYSTM_H
19350 #include <netinet/in_systm.h>
19351 #endif
19352 #ifdef HAVE_NETINET_IP_H
19353 #include <netinet/ip.h>
19354 #endif
19355 #ifdef HAVE_NETINET_IP_VAR_H
19356 #include <netinet/ip_var.h>
19357 #endif
19358 #ifdef HAVE_NETINET_IP_ICMP_H
19359 #include <netinet/ip_icmp.h>
19360 #endif
19361 #ifdef HAVE_NETINET_ICMP_VAR_H
19362 #include <netinet/icmp_var.h>
19363 #endif
19365 if test "x$ac_cv_member_struct_icmpstat_icps_outhist" = xyes; then :
19367 cat >>confdefs.h <<_ACEOF
19368 #define HAVE_STRUCT_ICMPSTAT_ICPS_OUTHIST 1
19369 _ACEOF
19375 ac_fn_c_check_member "$LINENO" "struct ipstat" "ips_total" "ac_cv_member_struct_ipstat_ips_total" "#ifdef HAVE_SYS_TYPES_H
19376 #include <sys/types.h>
19377 #endif
19378 #ifdef HAVE_SYS_SOCKETVAR_H
19379 #include <sys/socketvar.h>
19380 #endif
19381 #ifdef HAVE_NETINET_IN_H
19382 #include <netinet/in.h>
19383 #endif
19384 #ifdef HAVE_NETINET_IP_VAR_H
19385 #include <netinet/ip_var.h>
19386 #endif
19388 if test "x$ac_cv_member_struct_ipstat_ips_total" = xyes; then :
19390 cat >>confdefs.h <<_ACEOF
19391 #define HAVE_STRUCT_IPSTAT_IPS_TOTAL 1
19392 _ACEOF
19398 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
19399 #include <netinet/ip_var.h>
19400 #endif
19402 if test "x$ac_cv_member_struct_ip_stats_ips_total" = xyes; then :
19404 cat >>confdefs.h <<_ACEOF
19405 #define HAVE_STRUCT_IP_STATS_IPS_TOTAL 1
19406 _ACEOF
19412 ac_fn_c_check_member "$LINENO" "struct tcpstat" "tcps_connattempt" "ac_cv_member_struct_tcpstat_tcps_connattempt" "#ifdef HAVE_SYS_TYPES_H
19413 #include <sys/types.h>
19414 #endif
19415 #ifdef HAVE_SYS_SOCKETVAR_H
19416 #include <sys/socketvar.h>
19417 #endif
19418 #ifdef HAVE_NETINET_IN_H
19419 #include <netinet/in.h>
19420 #endif
19421 #ifdef HAVE_NETINET_TCP_H
19422 #include <netinet/tcp.h>
19423 #endif
19424 #ifdef HAVE_NETINET_TCP_VAR_H
19425 #include <netinet/tcp_var.h>
19426 #endif
19428 if test "x$ac_cv_member_struct_tcpstat_tcps_connattempt" = xyes; then :
19430 cat >>confdefs.h <<_ACEOF
19431 #define HAVE_STRUCT_TCPSTAT_TCPS_CONNATTEMPT 1
19432 _ACEOF
19438 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
19439 #include <netinet/tcp_var.h>
19440 #endif
19442 if test "x$ac_cv_member_struct_tcp_stats_tcps_connattempt" = xyes; then :
19444 cat >>confdefs.h <<_ACEOF
19445 #define HAVE_STRUCT_TCP_STATS_TCPS_CONNATTEMPT 1
19446 _ACEOF
19452 ac_fn_c_check_member "$LINENO" "struct udpstat" "udps_ipackets" "ac_cv_member_struct_udpstat_udps_ipackets" "#ifdef HAVE_SYS_TYPES_H
19453 #include <sys/types.h>
19454 #endif
19455 #ifdef HAVE_NETINET_IN_H
19456 #include <netinet/in.h>
19457 #endif
19458 #ifdef HAVE_NETINET_IP_VAR_H
19459 #include <netinet/ip_var.h>
19460 #endif
19461 #ifdef HAVE_NETINET_UDP_H
19462 #include <netinet/udp.h>
19463 #endif
19464 #ifdef HAVE_NETINET_UDP_VAR_H
19465 #include <netinet/udp_var.h>
19466 #endif
19468 if test "x$ac_cv_member_struct_udpstat_udps_ipackets" = xyes; then :
19470 cat >>confdefs.h <<_ACEOF
19471 #define HAVE_STRUCT_UDPSTAT_UDPS_IPACKETS 1
19472 _ACEOF
19478 ac_fn_c_check_member "$LINENO" "struct ifreq" "ifr_hwaddr" "ac_cv_member_struct_ifreq_ifr_hwaddr" "#ifdef HAVE_SYS_TYPES_H
19479 #include <sys/types.h>
19480 #endif
19481 #ifdef HAVE_NET_IF_H
19482 # include <net/if.h>
19483 #endif
19485 if test "x$ac_cv_member_struct_ifreq_ifr_hwaddr" = xyes; then :
19487 cat >>confdefs.h <<_ACEOF
19488 #define HAVE_STRUCT_IFREQ_IFR_HWADDR 1
19489 _ACEOF
19495 ac_fn_c_check_member "$LINENO" "struct sysinfo" "totalram" "ac_cv_member_struct_sysinfo_totalram" "#ifdef HAVE_SYS_SYSINFO_H
19496 # include <sys/sysinfo.h>
19497 #endif
19499 if test "x$ac_cv_member_struct_sysinfo_totalram" = xyes; then :
19501 cat >>confdefs.h <<_ACEOF
19502 #define HAVE_STRUCT_SYSINFO_TOTALRAM 1
19503 _ACEOF
19507 ac_fn_c_check_member "$LINENO" "struct sysinfo" "mem_unit" "ac_cv_member_struct_sysinfo_mem_unit" "#ifdef HAVE_SYS_SYSINFO_H
19508 # include <sys/sysinfo.h>
19509 #endif
19511 if test "x$ac_cv_member_struct_sysinfo_mem_unit" = xyes; then :
19513 cat >>confdefs.h <<_ACEOF
19514 #define HAVE_STRUCT_SYSINFO_MEM_UNIT 1
19515 _ACEOF
19521 ac_save_LIBS="$LIBS"
19522 LIBS="$LIBS -lm"
19523 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isfinite" >&5
19524 $as_echo_n "checking for isfinite... " >&6; }
19525 if ${ac_cv_have_isfinite+:} false; then :
19526 $as_echo_n "(cached) " >&6
19527 else
19528 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19529 /* end confdefs.h. */
19530 #define _GNU_SOURCE
19531 #include <math.h>
19533 main ()
19535 float f = 0.0; return isfinite(f)
19537 return 0;
19539 _ACEOF
19540 if ac_fn_c_try_link "$LINENO"; then :
19541 ac_cv_have_isfinite="yes"
19542 else
19543 ac_cv_have_isfinite="no"
19545 rm -f core conftest.err conftest.$ac_objext \
19546 conftest$ac_exeext conftest.$ac_ext
19548 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isfinite" >&5
19549 $as_echo "$ac_cv_have_isfinite" >&6; }
19550 if test "$ac_cv_have_isfinite" = "yes"
19551 then
19553 $as_echo "#define HAVE_ISFINITE 1" >>confdefs.h
19557 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf" >&5
19558 $as_echo_n "checking for isinf... " >&6; }
19559 if ${ac_cv_have_isinf+:} false; then :
19560 $as_echo_n "(cached) " >&6
19561 else
19562 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19563 /* end confdefs.h. */
19564 #include <math.h>
19566 main ()
19568 float f = 0.0; return isinf(f)
19570 return 0;
19572 _ACEOF
19573 if ac_fn_c_try_link "$LINENO"; then :
19574 ac_cv_have_isinf="yes"
19575 else
19576 ac_cv_have_isinf="no"
19578 rm -f core conftest.err conftest.$ac_objext \
19579 conftest$ac_exeext conftest.$ac_ext
19581 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isinf" >&5
19582 $as_echo "$ac_cv_have_isinf" >&6; }
19583 if test "$ac_cv_have_isinf" = "yes"
19584 then
19586 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
19590 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan" >&5
19591 $as_echo_n "checking for isnan... " >&6; }
19592 if ${ac_cv_have_isnan+:} false; then :
19593 $as_echo_n "(cached) " >&6
19594 else
19595 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19596 /* end confdefs.h. */
19597 #include <math.h>
19599 main ()
19601 float f = 0.0; return isnan(f)
19603 return 0;
19605 _ACEOF
19606 if ac_fn_c_try_link "$LINENO"; then :
19607 ac_cv_have_isnan="yes"
19608 else
19609 ac_cv_have_isnan="no"
19611 rm -f core conftest.err conftest.$ac_objext \
19612 conftest$ac_exeext conftest.$ac_ext
19614 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isnan" >&5
19615 $as_echo "$ac_cv_have_isnan" >&6; }
19616 if test "$ac_cv_have_isnan" = "yes"
19617 then
19619 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
19623 LIBS="$ac_save_LIBS"
19625 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __builtin_popcount" >&5
19626 $as_echo_n "checking for __builtin_popcount... " >&6; }
19627 if ${ac_cv_have___builtin_popcount+:} false; then :
19628 $as_echo_n "(cached) " >&6
19629 else
19630 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19631 /* end confdefs.h. */
19634 main ()
19636 return __builtin_popcount(1)
19638 return 0;
19640 _ACEOF
19641 if ac_fn_c_try_link "$LINENO"; then :
19642 ac_cv_have___builtin_popcount="yes"
19643 else
19644 ac_cv_have___builtin_popcount="no"
19646 rm -f core conftest.err conftest.$ac_objext \
19647 conftest$ac_exeext conftest.$ac_ext
19649 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___builtin_popcount" >&5
19650 $as_echo "$ac_cv_have___builtin_popcount" >&6; }
19651 if test "$ac_cv_have___builtin_popcount" = "yes"
19652 then
19654 $as_echo "#define HAVE___BUILTIN_POPCOUNT 1" >>confdefs.h
19658 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __clear_cache" >&5
19659 $as_echo_n "checking for __clear_cache... " >&6; }
19660 if ${ac_cv_have___clear_cache+:} false; then :
19661 $as_echo_n "(cached) " >&6
19662 else
19663 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19664 /* end confdefs.h. */
19667 main ()
19669 __clear_cache((void*)0, (void*)0); return 0;
19671 return 0;
19673 _ACEOF
19674 if ac_fn_c_try_link "$LINENO"; then :
19675 ac_cv_have___clear_cache="yes"
19676 else
19677 ac_cv_have___clear_cache="no"
19679 rm -f core conftest.err conftest.$ac_objext \
19680 conftest$ac_exeext conftest.$ac_ext
19682 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___clear_cache" >&5
19683 $as_echo "$ac_cv_have___clear_cache" >&6; }
19684 if test "$ac_cv_have___clear_cache" = "yes"
19685 then
19687 $as_echo "#define HAVE___CLEAR_CACHE 1" >>confdefs.h
19692 case $host_cpu in
19693 *i[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __i386__" >&5
19694 $as_echo_n "checking whether we need to define __i386__... " >&6; }
19695 if ${ac_cv_cpp_def___i386__+:} false; then :
19696 $as_echo_n "(cached) " >&6
19697 else
19698 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19699 /* end confdefs.h. */
19700 #ifndef __i386__
19702 #endif
19703 _ACEOF
19704 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19705 $EGREP "yes" >/dev/null 2>&1; then :
19706 ac_cv_cpp_def___i386__=yes
19707 else
19708 ac_cv_cpp_def___i386__=no
19710 rm -f conftest*
19713 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___i386__" >&5
19714 $as_echo "$ac_cv_cpp_def___i386__" >&6; }
19715 if test "x$ac_cv_cpp_def___i386__" = xyes; then :
19716 CFLAGS="$CFLAGS -D__i386__"
19717 LINTFLAGS="$LINTFLAGS -D__i386__"
19718 fi ;;
19719 *x86_64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __x86_64__" >&5
19720 $as_echo_n "checking whether we need to define __x86_64__... " >&6; }
19721 if ${ac_cv_cpp_def___x86_64__+:} false; then :
19722 $as_echo_n "(cached) " >&6
19723 else
19724 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19725 /* end confdefs.h. */
19726 #ifndef __x86_64__
19728 #endif
19729 _ACEOF
19730 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19731 $EGREP "yes" >/dev/null 2>&1; then :
19732 ac_cv_cpp_def___x86_64__=yes
19733 else
19734 ac_cv_cpp_def___x86_64__=no
19736 rm -f conftest*
19739 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___x86_64__" >&5
19740 $as_echo "$ac_cv_cpp_def___x86_64__" >&6; }
19741 if test "x$ac_cv_cpp_def___x86_64__" = xyes; then :
19742 CFLAGS="$CFLAGS -D__x86_64__"
19743 LINTFLAGS="$LINTFLAGS -D__x86_64__"
19744 fi ;;
19745 *sparc64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc64__" >&5
19746 $as_echo_n "checking whether we need to define __sparc64__... " >&6; }
19747 if ${ac_cv_cpp_def___sparc64__+:} false; then :
19748 $as_echo_n "(cached) " >&6
19749 else
19750 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19751 /* end confdefs.h. */
19752 #ifndef __sparc64__
19754 #endif
19755 _ACEOF
19756 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19757 $EGREP "yes" >/dev/null 2>&1; then :
19758 ac_cv_cpp_def___sparc64__=yes
19759 else
19760 ac_cv_cpp_def___sparc64__=no
19762 rm -f conftest*
19765 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc64__" >&5
19766 $as_echo "$ac_cv_cpp_def___sparc64__" >&6; }
19767 if test "x$ac_cv_cpp_def___sparc64__" = xyes; then :
19768 CFLAGS="$CFLAGS -D__sparc64__"
19769 LINTFLAGS="$LINTFLAGS -D__sparc64__"
19770 fi ;;
19771 *sparc*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc__" >&5
19772 $as_echo_n "checking whether we need to define __sparc__... " >&6; }
19773 if ${ac_cv_cpp_def___sparc__+:} false; then :
19774 $as_echo_n "(cached) " >&6
19775 else
19776 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19777 /* end confdefs.h. */
19778 #ifndef __sparc__
19780 #endif
19781 _ACEOF
19782 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19783 $EGREP "yes" >/dev/null 2>&1; then :
19784 ac_cv_cpp_def___sparc__=yes
19785 else
19786 ac_cv_cpp_def___sparc__=no
19788 rm -f conftest*
19791 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc__" >&5
19792 $as_echo "$ac_cv_cpp_def___sparc__" >&6; }
19793 if test "x$ac_cv_cpp_def___sparc__" = xyes; then :
19794 CFLAGS="$CFLAGS -D__sparc__"
19795 LINTFLAGS="$LINTFLAGS -D__sparc__"
19796 fi ;;
19797 *powerpc64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc64__" >&5
19798 $as_echo_n "checking whether we need to define __powerpc64__... " >&6; }
19799 if ${ac_cv_cpp_def___powerpc64__+:} false; then :
19800 $as_echo_n "(cached) " >&6
19801 else
19802 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19803 /* end confdefs.h. */
19804 #ifndef __powerpc64__
19806 #endif
19807 _ACEOF
19808 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19809 $EGREP "yes" >/dev/null 2>&1; then :
19810 ac_cv_cpp_def___powerpc64__=yes
19811 else
19812 ac_cv_cpp_def___powerpc64__=no
19814 rm -f conftest*
19817 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc64__" >&5
19818 $as_echo "$ac_cv_cpp_def___powerpc64__" >&6; }
19819 if test "x$ac_cv_cpp_def___powerpc64__" = xyes; then :
19820 CFLAGS="$CFLAGS -D__powerpc64__"
19821 LINTFLAGS="$LINTFLAGS -D__powerpc64__"
19822 fi ;;
19823 *powerpc*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc__" >&5
19824 $as_echo_n "checking whether we need to define __powerpc__... " >&6; }
19825 if ${ac_cv_cpp_def___powerpc__+:} false; then :
19826 $as_echo_n "(cached) " >&6
19827 else
19828 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19829 /* end confdefs.h. */
19830 #ifndef __powerpc__
19832 #endif
19833 _ACEOF
19834 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19835 $EGREP "yes" >/dev/null 2>&1; then :
19836 ac_cv_cpp_def___powerpc__=yes
19837 else
19838 ac_cv_cpp_def___powerpc__=no
19840 rm -f conftest*
19843 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc__" >&5
19844 $as_echo "$ac_cv_cpp_def___powerpc__" >&6; }
19845 if test "x$ac_cv_cpp_def___powerpc__" = xyes; then :
19846 CFLAGS="$CFLAGS -D__powerpc__"
19847 LINTFLAGS="$LINTFLAGS -D__powerpc__"
19848 fi ;;
19849 *aarch64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __aarch64__" >&5
19850 $as_echo_n "checking whether we need to define __aarch64__... " >&6; }
19851 if ${ac_cv_cpp_def___aarch64__+:} false; then :
19852 $as_echo_n "(cached) " >&6
19853 else
19854 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19855 /* end confdefs.h. */
19856 #ifndef __aarch64__
19858 #endif
19859 _ACEOF
19860 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19861 $EGREP "yes" >/dev/null 2>&1; then :
19862 ac_cv_cpp_def___aarch64__=yes
19863 else
19864 ac_cv_cpp_def___aarch64__=no
19866 rm -f conftest*
19869 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___aarch64__" >&5
19870 $as_echo "$ac_cv_cpp_def___aarch64__" >&6; }
19871 if test "x$ac_cv_cpp_def___aarch64__" = xyes; then :
19872 CFLAGS="$CFLAGS -D__aarch64__"
19873 LINTFLAGS="$LINTFLAGS -D__aarch64__"
19874 fi ;;
19875 *arm*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __arm__" >&5
19876 $as_echo_n "checking whether we need to define __arm__... " >&6; }
19877 if ${ac_cv_cpp_def___arm__+:} false; then :
19878 $as_echo_n "(cached) " >&6
19879 else
19880 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19881 /* end confdefs.h. */
19882 #ifndef __arm__
19884 #endif
19885 _ACEOF
19886 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19887 $EGREP "yes" >/dev/null 2>&1; then :
19888 ac_cv_cpp_def___arm__=yes
19889 else
19890 ac_cv_cpp_def___arm__=no
19892 rm -f conftest*
19895 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___arm__" >&5
19896 $as_echo "$ac_cv_cpp_def___arm__" >&6; }
19897 if test "x$ac_cv_cpp_def___arm__" = xyes; then :
19898 CFLAGS="$CFLAGS -D__arm__"
19899 LINTFLAGS="$LINTFLAGS -D__arm__"
19900 fi ;;
19901 esac
19903 case $host_vendor in
19904 *sun*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sun__" >&5
19905 $as_echo_n "checking whether we need to define __sun__... " >&6; }
19906 if ${ac_cv_cpp_def___sun__+:} false; then :
19907 $as_echo_n "(cached) " >&6
19908 else
19909 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19910 /* end confdefs.h. */
19911 #ifndef __sun__
19913 #endif
19914 _ACEOF
19915 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19916 $EGREP "yes" >/dev/null 2>&1; then :
19917 ac_cv_cpp_def___sun__=yes
19918 else
19919 ac_cv_cpp_def___sun__=no
19921 rm -f conftest*
19924 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sun__" >&5
19925 $as_echo "$ac_cv_cpp_def___sun__" >&6; }
19926 if test "x$ac_cv_cpp_def___sun__" = xyes; then :
19927 CFLAGS="$CFLAGS -D__sun__"
19928 LINTFLAGS="$LINTFLAGS -D__sun__"
19929 fi ;;
19930 esac
19936 ac_config_commands="$ac_config_commands include/stamp-h"
19938 $as_echo_n "creating Makefile rules..." >&6
19940 ALL_VARS_RULES="I386_LIBS = $I386_LIBS
19941 OPENGL_LIBS = $OPENGL_LIBS
19942 COREFOUNDATION_LIBS = $COREFOUNDATION_LIBS
19943 IOKIT_LIBS = $IOKIT_LIBS
19944 FORCEFEEDBACK_LIBS = $FORCEFEEDBACK_LIBS
19945 APPLICATIONSERVICES_LIBS = $APPLICATIONSERVICES_LIBS
19946 CORESERVICES_LIBS = $CORESERVICES_LIBS
19947 APPKIT_LIBS = $APPKIT_LIBS
19948 SYSTEMCONFIGURATION_LIBS = $SYSTEMCONFIGURATION_LIBS
19949 DISKARBITRATION_LIBS = $DISKARBITRATION_LIBS
19950 SECURITY_LIBS = $SECURITY_LIBS
19951 COREAUDIO_LIBS = $COREAUDIO_LIBS
19952 OPENAL_LIBS = $OPENAL_LIBS
19953 OPENCL_LIBS = $OPENCL_LIBS
19954 QUICKTIME_LIBS = $QUICKTIME_LIBS
19955 CARBON_LIBS = $CARBON_LIBS
19956 METAL_LIBS = $METAL_LIBS
19957 EXCESS_PRECISION_CFLAGS = $EXCESS_PRECISION_CFLAGS
19958 PTHREAD_LIBS = $PTHREAD_LIBS
19959 X_CFLAGS = $X_CFLAGS
19960 X_PRE_LIBS = $X_PRE_LIBS
19961 X_LIBS = $X_LIBS
19962 X_EXTRA_LIBS = $X_EXTRA_LIBS
19963 PCAP_LIBS = $PCAP_LIBS
19964 XML2_CFLAGS = $XML2_CFLAGS
19965 XML2_LIBS = $XML2_LIBS
19966 XSLT_CFLAGS = $XSLT_CFLAGS
19967 XSLT_LIBS = $XSLT_LIBS
19968 INOTIFY_CFLAGS = $INOTIFY_CFLAGS
19969 INOTIFY_LIBS = $INOTIFY_LIBS
19970 DBUS_CFLAGS = $DBUS_CFLAGS
19971 DBUS_LIBS = $DBUS_LIBS
19972 HAL_CFLAGS = $HAL_CFLAGS
19973 HAL_LIBS = $HAL_LIBS
19974 GNUTLS_CFLAGS = $GNUTLS_CFLAGS
19975 GNUTLS_LIBS = $GNUTLS_LIBS
19976 SANE_CFLAGS = $SANE_CFLAGS
19977 SANE_LIBS = $SANE_LIBS
19978 USB_CFLAGS = $USB_CFLAGS
19979 USB_LIBS = $USB_LIBS
19980 GPHOTO2_CFLAGS = $GPHOTO2_CFLAGS
19981 GPHOTO2_LIBS = $GPHOTO2_LIBS
19982 GPHOTO2_PORT_CFLAGS = $GPHOTO2_PORT_CFLAGS
19983 GPHOTO2_PORT_LIBS = $GPHOTO2_PORT_LIBS
19984 RESOLV_LIBS = $RESOLV_LIBS
19985 LCMS2_CFLAGS = $LCMS2_CFLAGS
19986 LCMS2_LIBS = $LCMS2_LIBS
19987 FREETYPE_CFLAGS = $FREETYPE_CFLAGS
19988 FREETYPE_LIBS = $FREETYPE_LIBS
19989 GETTEXTPO_LIBS = $GETTEXTPO_LIBS
19990 PULSE_CFLAGS = $PULSE_CFLAGS
19991 PULSE_LIBS = $PULSE_LIBS
19992 GSTREAMER_CFLAGS = $GSTREAMER_CFLAGS
19993 GSTREAMER_LIBS = $GSTREAMER_LIBS
19994 ALSA_LIBS = $ALSA_LIBS
19995 OSS4_CFLAGS = $OSS4_CFLAGS
19996 OSS4_LIBS = $OSS4_LIBS
19997 UDEV_CFLAGS = $UDEV_CFLAGS
19998 UDEV_LIBS = $UDEV_LIBS
19999 UNWIND_CFLAGS = $UNWIND_CFLAGS
20000 UNWIND_LIBS = $UNWIND_LIBS
20001 SDL2_CFLAGS = $SDL2_CFLAGS
20002 SDL2_LIBS = $SDL2_LIBS
20003 FAUDIO_CFLAGS = $FAUDIO_CFLAGS
20004 FAUDIO_LIBS = $FAUDIO_LIBS
20005 CAPI20_CFLAGS = $CAPI20_CFLAGS
20006 CAPI20_LIBS = $CAPI20_LIBS
20007 CUPS_CFLAGS = $CUPS_CFLAGS
20008 CUPS_LIBS = $CUPS_LIBS
20009 FONTCONFIG_CFLAGS = $FONTCONFIG_CFLAGS
20010 FONTCONFIG_LIBS = $FONTCONFIG_LIBS
20011 KRB5_CFLAGS = $KRB5_CFLAGS
20012 KRB5_LIBS = $KRB5_LIBS
20013 GSSAPI_CFLAGS = $GSSAPI_CFLAGS
20014 GSSAPI_LIBS = $GSSAPI_LIBS
20015 JPEG_CFLAGS = $JPEG_CFLAGS
20016 JPEG_LIBS = $JPEG_LIBS
20017 JXRLIB_CFLAGS = $JXRLIB_CFLAGS
20018 JXRLIB_LIBS = $JXRLIB_LIBS
20019 PNG_CFLAGS = $PNG_CFLAGS
20020 PNG_LIBS = $PNG_LIBS
20021 TIFF_CFLAGS = $TIFF_CFLAGS
20022 TIFF_LIBS = $TIFF_LIBS
20023 MPG123_CFLAGS = $MPG123_CFLAGS
20024 MPG123_LIBS = $MPG123_LIBS
20025 KSTAT_LIBS = $KSTAT_LIBS
20026 PROCSTAT_LIBS = $PROCSTAT_LIBS
20027 NETAPI_CFLAGS = $NETAPI_CFLAGS
20028 NETAPI_LIBS = $NETAPI_LIBS
20029 VKD3D_CFLAGS = $VKD3D_CFLAGS
20030 VKD3D_LIBS = $VKD3D_LIBS
20031 VKD3D_SHADER_CFLAGS = $VKD3D_SHADER_CFLAGS
20032 VKD3D_SHADER_LIBS = $VKD3D_SHADER_LIBS
20033 POLL_LIBS = $POLL_LIBS
20034 RT_LIBS = $RT_LIBS
20035 LDAP_CFLAGS = $LDAP_CFLAGS
20036 LDAP_LIBS = $LDAP_LIBS
20040 makedep_flags=""
20041 test "x$enable_silent_rules" = xyes && makedep_flags="$makedep_flags -S"
20044 wine_fn_append_rule "
20045 # Rules automatically generated by configure
20047 .INIT: Makefile
20048 .MAKEFILEDEPS:
20049 all: Makefile
20050 Makefile: $srcdir/Makefile.in config.status \$(MAKEDEP)
20051 @./config.status Make.tmp Makefile
20052 depend: \$(MAKEDEP)
20053 \$(MAKEDEP)$makedep_flags
20054 dummy:
20055 .PHONY: depend dummy"
20057 ac_config_links="$ac_config_links wine:tools/winewrapper"
20058 wine_fn_config_symlink wine
20059 if test "x$enable_win64" != xno -o -n "$with_wine64"; then
20060 ac_config_links="$ac_config_links wine64:tools/winewrapper"
20061 wine_fn_config_symlink wine64
20064 wine_fn_config_makefile dlls/acledit enable_acledit
20065 wine_fn_config_makefile dlls/aclui enable_aclui
20066 wine_fn_config_makefile dlls/activeds.tlb enable_activeds_tlb
20067 wine_fn_config_makefile dlls/activeds enable_activeds
20068 wine_fn_config_makefile dlls/activeds/tests enable_tests
20069 wine_fn_config_makefile dlls/actxprxy enable_actxprxy
20070 wine_fn_config_makefile dlls/adsiid enable_adsiid
20071 wine_fn_config_makefile dlls/adsldp enable_adsldp
20072 wine_fn_config_makefile dlls/adsldp/tests enable_tests
20073 wine_fn_config_makefile dlls/adsldpc enable_adsldpc
20074 wine_fn_config_makefile dlls/advapi32 enable_advapi32
20075 wine_fn_config_makefile dlls/advapi32/tests enable_tests
20076 wine_fn_config_makefile dlls/advpack enable_advpack
20077 wine_fn_config_makefile dlls/advpack/tests enable_tests
20078 wine_fn_config_makefile dlls/amsi enable_amsi
20079 wine_fn_config_makefile dlls/amstream enable_amstream
20080 wine_fn_config_makefile dlls/amstream/tests enable_tests
20081 wine_fn_config_makefile dlls/api-ms-win-appmodel-identity-l1-1-0 enable_api_ms_win_appmodel_identity_l1_1_0
20082 wine_fn_config_makefile dlls/api-ms-win-appmodel-runtime-l1-1-1 enable_api_ms_win_appmodel_runtime_l1_1_1
20083 wine_fn_config_makefile dlls/api-ms-win-appmodel-runtime-l1-1-2 enable_api_ms_win_appmodel_runtime_l1_1_2
20084 wine_fn_config_makefile dlls/api-ms-win-core-apiquery-l1-1-0 enable_api_ms_win_core_apiquery_l1_1_0
20085 wine_fn_config_makefile dlls/api-ms-win-core-appcompat-l1-1-1 enable_api_ms_win_core_appcompat_l1_1_1
20086 wine_fn_config_makefile dlls/api-ms-win-core-appinit-l1-1-0 enable_api_ms_win_core_appinit_l1_1_0
20087 wine_fn_config_makefile dlls/api-ms-win-core-atoms-l1-1-0 enable_api_ms_win_core_atoms_l1_1_0
20088 wine_fn_config_makefile dlls/api-ms-win-core-bem-l1-1-0 enable_api_ms_win_core_bem_l1_1_0
20089 wine_fn_config_makefile dlls/api-ms-win-core-com-l1-1-0 enable_api_ms_win_core_com_l1_1_0
20090 wine_fn_config_makefile dlls/api-ms-win-core-com-l1-1-1 enable_api_ms_win_core_com_l1_1_1
20091 wine_fn_config_makefile dlls/api-ms-win-core-com-private-l1-1-0 enable_api_ms_win_core_com_private_l1_1_0
20092 wine_fn_config_makefile dlls/api-ms-win-core-comm-l1-1-0 enable_api_ms_win_core_comm_l1_1_0
20093 wine_fn_config_makefile dlls/api-ms-win-core-console-l1-1-0 enable_api_ms_win_core_console_l1_1_0
20094 wine_fn_config_makefile dlls/api-ms-win-core-console-l1-2-0 enable_api_ms_win_core_console_l1_2_0
20095 wine_fn_config_makefile dlls/api-ms-win-core-console-l2-1-0 enable_api_ms_win_core_console_l2_1_0
20096 wine_fn_config_makefile dlls/api-ms-win-core-crt-l1-1-0 enable_api_ms_win_core_crt_l1_1_0
20097 wine_fn_config_makefile dlls/api-ms-win-core-crt-l2-1-0 enable_api_ms_win_core_crt_l2_1_0
20098 wine_fn_config_makefile dlls/api-ms-win-core-datetime-l1-1-0 enable_api_ms_win_core_datetime_l1_1_0
20099 wine_fn_config_makefile dlls/api-ms-win-core-datetime-l1-1-1 enable_api_ms_win_core_datetime_l1_1_1
20100 wine_fn_config_makefile dlls/api-ms-win-core-debug-l1-1-0 enable_api_ms_win_core_debug_l1_1_0
20101 wine_fn_config_makefile dlls/api-ms-win-core-debug-l1-1-1 enable_api_ms_win_core_debug_l1_1_1
20102 wine_fn_config_makefile dlls/api-ms-win-core-delayload-l1-1-0 enable_api_ms_win_core_delayload_l1_1_0
20103 wine_fn_config_makefile dlls/api-ms-win-core-delayload-l1-1-1 enable_api_ms_win_core_delayload_l1_1_1
20104 wine_fn_config_makefile dlls/api-ms-win-core-errorhandling-l1-1-0 enable_api_ms_win_core_errorhandling_l1_1_0
20105 wine_fn_config_makefile dlls/api-ms-win-core-errorhandling-l1-1-1 enable_api_ms_win_core_errorhandling_l1_1_1
20106 wine_fn_config_makefile dlls/api-ms-win-core-errorhandling-l1-1-2 enable_api_ms_win_core_errorhandling_l1_1_2
20107 wine_fn_config_makefile dlls/api-ms-win-core-errorhandling-l1-1-3 enable_api_ms_win_core_errorhandling_l1_1_3
20108 wine_fn_config_makefile dlls/api-ms-win-core-fibers-l1-1-0 enable_api_ms_win_core_fibers_l1_1_0
20109 wine_fn_config_makefile dlls/api-ms-win-core-fibers-l1-1-1 enable_api_ms_win_core_fibers_l1_1_1
20110 wine_fn_config_makefile dlls/api-ms-win-core-file-ansi-l2-1-0 enable_api_ms_win_core_file_ansi_l2_1_0
20111 wine_fn_config_makefile dlls/api-ms-win-core-file-fromapp-l1-1-0 enable_api_ms_win_core_file_fromapp_l1_1_0
20112 wine_fn_config_makefile dlls/api-ms-win-core-file-l1-1-0 enable_api_ms_win_core_file_l1_1_0
20113 wine_fn_config_makefile dlls/api-ms-win-core-file-l1-2-0 enable_api_ms_win_core_file_l1_2_0
20114 wine_fn_config_makefile dlls/api-ms-win-core-file-l1-2-1 enable_api_ms_win_core_file_l1_2_1
20115 wine_fn_config_makefile dlls/api-ms-win-core-file-l1-2-2 enable_api_ms_win_core_file_l1_2_2
20116 wine_fn_config_makefile dlls/api-ms-win-core-file-l2-1-0 enable_api_ms_win_core_file_l2_1_0
20117 wine_fn_config_makefile dlls/api-ms-win-core-file-l2-1-1 enable_api_ms_win_core_file_l2_1_1
20118 wine_fn_config_makefile dlls/api-ms-win-core-file-l2-1-2 enable_api_ms_win_core_file_l2_1_2
20119 wine_fn_config_makefile dlls/api-ms-win-core-handle-l1-1-0 enable_api_ms_win_core_handle_l1_1_0
20120 wine_fn_config_makefile dlls/api-ms-win-core-heap-l1-1-0 enable_api_ms_win_core_heap_l1_1_0
20121 wine_fn_config_makefile dlls/api-ms-win-core-heap-l1-2-0 enable_api_ms_win_core_heap_l1_2_0
20122 wine_fn_config_makefile dlls/api-ms-win-core-heap-l2-1-0 enable_api_ms_win_core_heap_l2_1_0
20123 wine_fn_config_makefile dlls/api-ms-win-core-heap-obsolete-l1-1-0 enable_api_ms_win_core_heap_obsolete_l1_1_0
20124 wine_fn_config_makefile dlls/api-ms-win-core-interlocked-l1-1-0 enable_api_ms_win_core_interlocked_l1_1_0
20125 wine_fn_config_makefile dlls/api-ms-win-core-interlocked-l1-2-0 enable_api_ms_win_core_interlocked_l1_2_0
20126 wine_fn_config_makefile dlls/api-ms-win-core-io-l1-1-0 enable_api_ms_win_core_io_l1_1_0
20127 wine_fn_config_makefile dlls/api-ms-win-core-io-l1-1-1 enable_api_ms_win_core_io_l1_1_1
20128 wine_fn_config_makefile dlls/api-ms-win-core-job-l1-1-0 enable_api_ms_win_core_job_l1_1_0
20129 wine_fn_config_makefile dlls/api-ms-win-core-job-l2-1-0 enable_api_ms_win_core_job_l2_1_0
20130 wine_fn_config_makefile dlls/api-ms-win-core-kernel32-legacy-l1-1-0 enable_api_ms_win_core_kernel32_legacy_l1_1_0
20131 wine_fn_config_makefile dlls/api-ms-win-core-kernel32-legacy-l1-1-1 enable_api_ms_win_core_kernel32_legacy_l1_1_1
20132 wine_fn_config_makefile dlls/api-ms-win-core-kernel32-legacy-l1-1-2 enable_api_ms_win_core_kernel32_legacy_l1_1_2
20133 wine_fn_config_makefile dlls/api-ms-win-core-kernel32-private-l1-1-1 enable_api_ms_win_core_kernel32_private_l1_1_1
20134 wine_fn_config_makefile dlls/api-ms-win-core-largeinteger-l1-1-0 enable_api_ms_win_core_largeinteger_l1_1_0
20135 wine_fn_config_makefile dlls/api-ms-win-core-libraryloader-l1-1-0 enable_api_ms_win_core_libraryloader_l1_1_0
20136 wine_fn_config_makefile dlls/api-ms-win-core-libraryloader-l1-1-1 enable_api_ms_win_core_libraryloader_l1_1_1
20137 wine_fn_config_makefile dlls/api-ms-win-core-libraryloader-l1-2-0 enable_api_ms_win_core_libraryloader_l1_2_0
20138 wine_fn_config_makefile dlls/api-ms-win-core-libraryloader-l1-2-1 enable_api_ms_win_core_libraryloader_l1_2_1
20139 wine_fn_config_makefile dlls/api-ms-win-core-libraryloader-l1-2-2 enable_api_ms_win_core_libraryloader_l1_2_2
20140 wine_fn_config_makefile dlls/api-ms-win-core-libraryloader-l2-1-0 enable_api_ms_win_core_libraryloader_l2_1_0
20141 wine_fn_config_makefile dlls/api-ms-win-core-localization-l1-1-0 enable_api_ms_win_core_localization_l1_1_0
20142 wine_fn_config_makefile dlls/api-ms-win-core-localization-l1-2-0 enable_api_ms_win_core_localization_l1_2_0
20143 wine_fn_config_makefile dlls/api-ms-win-core-localization-l1-2-1 enable_api_ms_win_core_localization_l1_2_1
20144 wine_fn_config_makefile dlls/api-ms-win-core-localization-l1-2-2 enable_api_ms_win_core_localization_l1_2_2
20145 wine_fn_config_makefile dlls/api-ms-win-core-localization-l2-1-0 enable_api_ms_win_core_localization_l2_1_0
20146 wine_fn_config_makefile dlls/api-ms-win-core-localization-obsolete-l1-1-0 enable_api_ms_win_core_localization_obsolete_l1_1_0
20147 wine_fn_config_makefile dlls/api-ms-win-core-localization-obsolete-l1-2-0 enable_api_ms_win_core_localization_obsolete_l1_2_0
20148 wine_fn_config_makefile dlls/api-ms-win-core-localization-obsolete-l1-3-0 enable_api_ms_win_core_localization_obsolete_l1_3_0
20149 wine_fn_config_makefile dlls/api-ms-win-core-localization-private-l1-1-0 enable_api_ms_win_core_localization_private_l1_1_0
20150 wine_fn_config_makefile dlls/api-ms-win-core-localregistry-l1-1-0 enable_api_ms_win_core_localregistry_l1_1_0
20151 wine_fn_config_makefile dlls/api-ms-win-core-memory-l1-1-0 enable_api_ms_win_core_memory_l1_1_0
20152 wine_fn_config_makefile dlls/api-ms-win-core-memory-l1-1-1 enable_api_ms_win_core_memory_l1_1_1
20153 wine_fn_config_makefile dlls/api-ms-win-core-memory-l1-1-2 enable_api_ms_win_core_memory_l1_1_2
20154 wine_fn_config_makefile dlls/api-ms-win-core-memory-l1-1-3 enable_api_ms_win_core_memory_l1_1_3
20155 wine_fn_config_makefile dlls/api-ms-win-core-memory-l1-1-4 enable_api_ms_win_core_memory_l1_1_4
20156 wine_fn_config_makefile dlls/api-ms-win-core-misc-l1-1-0 enable_api_ms_win_core_misc_l1_1_0
20157 wine_fn_config_makefile dlls/api-ms-win-core-namedpipe-ansi-l1-1-0 enable_api_ms_win_core_namedpipe_ansi_l1_1_0
20158 wine_fn_config_makefile dlls/api-ms-win-core-namedpipe-l1-1-0 enable_api_ms_win_core_namedpipe_l1_1_0
20159 wine_fn_config_makefile dlls/api-ms-win-core-namedpipe-l1-2-0 enable_api_ms_win_core_namedpipe_l1_2_0
20160 wine_fn_config_makefile dlls/api-ms-win-core-namespace-l1-1-0 enable_api_ms_win_core_namespace_l1_1_0
20161 wine_fn_config_makefile dlls/api-ms-win-core-normalization-l1-1-0 enable_api_ms_win_core_normalization_l1_1_0
20162 wine_fn_config_makefile dlls/api-ms-win-core-path-l1-1-0 enable_api_ms_win_core_path_l1_1_0
20163 wine_fn_config_makefile dlls/api-ms-win-core-privateprofile-l1-1-1 enable_api_ms_win_core_privateprofile_l1_1_1
20164 wine_fn_config_makefile dlls/api-ms-win-core-processenvironment-l1-1-0 enable_api_ms_win_core_processenvironment_l1_1_0
20165 wine_fn_config_makefile dlls/api-ms-win-core-processenvironment-l1-2-0 enable_api_ms_win_core_processenvironment_l1_2_0
20166 wine_fn_config_makefile dlls/api-ms-win-core-processthreads-l1-1-0 enable_api_ms_win_core_processthreads_l1_1_0
20167 wine_fn_config_makefile dlls/api-ms-win-core-processthreads-l1-1-1 enable_api_ms_win_core_processthreads_l1_1_1
20168 wine_fn_config_makefile dlls/api-ms-win-core-processthreads-l1-1-2 enable_api_ms_win_core_processthreads_l1_1_2
20169 wine_fn_config_makefile dlls/api-ms-win-core-processthreads-l1-1-3 enable_api_ms_win_core_processthreads_l1_1_3
20170 wine_fn_config_makefile dlls/api-ms-win-core-processtopology-obsolete-l1-1-0 enable_api_ms_win_core_processtopology_obsolete_l1_1_0
20171 wine_fn_config_makefile dlls/api-ms-win-core-profile-l1-1-0 enable_api_ms_win_core_profile_l1_1_0
20172 wine_fn_config_makefile dlls/api-ms-win-core-psapi-ansi-l1-1-0 enable_api_ms_win_core_psapi_ansi_l1_1_0
20173 wine_fn_config_makefile dlls/api-ms-win-core-psapi-l1-1-0 enable_api_ms_win_core_psapi_l1_1_0
20174 wine_fn_config_makefile dlls/api-ms-win-core-psapi-obsolete-l1-1-0 enable_api_ms_win_core_psapi_obsolete_l1_1_0
20175 wine_fn_config_makefile dlls/api-ms-win-core-quirks-l1-1-0 enable_api_ms_win_core_quirks_l1_1_0
20176 wine_fn_config_makefile dlls/api-ms-win-core-realtime-l1-1-0 enable_api_ms_win_core_realtime_l1_1_0
20177 wine_fn_config_makefile dlls/api-ms-win-core-registry-l1-1-0 enable_api_ms_win_core_registry_l1_1_0
20178 wine_fn_config_makefile dlls/api-ms-win-core-registry-l2-1-0 enable_api_ms_win_core_registry_l2_1_0
20179 wine_fn_config_makefile dlls/api-ms-win-core-registry-l2-2-0 enable_api_ms_win_core_registry_l2_2_0
20180 wine_fn_config_makefile dlls/api-ms-win-core-registryuserspecific-l1-1-0 enable_api_ms_win_core_registryuserspecific_l1_1_0
20181 wine_fn_config_makefile dlls/api-ms-win-core-rtlsupport-l1-1-0 enable_api_ms_win_core_rtlsupport_l1_1_0
20182 wine_fn_config_makefile dlls/api-ms-win-core-rtlsupport-l1-2-0 enable_api_ms_win_core_rtlsupport_l1_2_0
20183 wine_fn_config_makefile dlls/api-ms-win-core-shlwapi-legacy-l1-1-0 enable_api_ms_win_core_shlwapi_legacy_l1_1_0
20184 wine_fn_config_makefile dlls/api-ms-win-core-shlwapi-obsolete-l1-1-0 enable_api_ms_win_core_shlwapi_obsolete_l1_1_0
20185 wine_fn_config_makefile dlls/api-ms-win-core-shlwapi-obsolete-l1-2-0 enable_api_ms_win_core_shlwapi_obsolete_l1_2_0
20186 wine_fn_config_makefile dlls/api-ms-win-core-shutdown-l1-1-0 enable_api_ms_win_core_shutdown_l1_1_0
20187 wine_fn_config_makefile dlls/api-ms-win-core-sidebyside-l1-1-0 enable_api_ms_win_core_sidebyside_l1_1_0
20188 wine_fn_config_makefile dlls/api-ms-win-core-string-l1-1-0 enable_api_ms_win_core_string_l1_1_0
20189 wine_fn_config_makefile dlls/api-ms-win-core-string-l2-1-0 enable_api_ms_win_core_string_l2_1_0
20190 wine_fn_config_makefile dlls/api-ms-win-core-string-obsolete-l1-1-0 enable_api_ms_win_core_string_obsolete_l1_1_0
20191 wine_fn_config_makefile dlls/api-ms-win-core-stringansi-l1-1-0 enable_api_ms_win_core_stringansi_l1_1_0
20192 wine_fn_config_makefile dlls/api-ms-win-core-stringloader-l1-1-1 enable_api_ms_win_core_stringloader_l1_1_1
20193 wine_fn_config_makefile dlls/api-ms-win-core-synch-ansi-l1-1-0 enable_api_ms_win_core_synch_ansi_l1_1_0
20194 wine_fn_config_makefile dlls/api-ms-win-core-synch-l1-1-0 enable_api_ms_win_core_synch_l1_1_0
20195 wine_fn_config_makefile dlls/api-ms-win-core-synch-l1-2-0 enable_api_ms_win_core_synch_l1_2_0
20196 wine_fn_config_makefile dlls/api-ms-win-core-synch-l1-2-1 enable_api_ms_win_core_synch_l1_2_1
20197 wine_fn_config_makefile dlls/api-ms-win-core-sysinfo-l1-1-0 enable_api_ms_win_core_sysinfo_l1_1_0
20198 wine_fn_config_makefile dlls/api-ms-win-core-sysinfo-l1-2-0 enable_api_ms_win_core_sysinfo_l1_2_0
20199 wine_fn_config_makefile dlls/api-ms-win-core-sysinfo-l1-2-1 enable_api_ms_win_core_sysinfo_l1_2_1
20200 wine_fn_config_makefile dlls/api-ms-win-core-systemtopology-l1-1-0 enable_api_ms_win_core_systemtopology_l1_1_0
20201 wine_fn_config_makefile dlls/api-ms-win-core-threadpool-l1-1-0 enable_api_ms_win_core_threadpool_l1_1_0
20202 wine_fn_config_makefile dlls/api-ms-win-core-threadpool-l1-2-0 enable_api_ms_win_core_threadpool_l1_2_0
20203 wine_fn_config_makefile dlls/api-ms-win-core-threadpool-legacy-l1-1-0 enable_api_ms_win_core_threadpool_legacy_l1_1_0
20204 wine_fn_config_makefile dlls/api-ms-win-core-threadpool-private-l1-1-0 enable_api_ms_win_core_threadpool_private_l1_1_0
20205 wine_fn_config_makefile dlls/api-ms-win-core-timezone-l1-1-0 enable_api_ms_win_core_timezone_l1_1_0
20206 wine_fn_config_makefile dlls/api-ms-win-core-toolhelp-l1-1-0 enable_api_ms_win_core_toolhelp_l1_1_0
20207 wine_fn_config_makefile dlls/api-ms-win-core-url-l1-1-0 enable_api_ms_win_core_url_l1_1_0
20208 wine_fn_config_makefile dlls/api-ms-win-core-util-l1-1-0 enable_api_ms_win_core_util_l1_1_0
20209 wine_fn_config_makefile dlls/api-ms-win-core-version-l1-1-0 enable_api_ms_win_core_version_l1_1_0
20210 wine_fn_config_makefile dlls/api-ms-win-core-version-l1-1-1 enable_api_ms_win_core_version_l1_1_1
20211 wine_fn_config_makefile dlls/api-ms-win-core-version-private-l1-1-0 enable_api_ms_win_core_version_private_l1_1_0
20212 wine_fn_config_makefile dlls/api-ms-win-core-versionansi-l1-1-0 enable_api_ms_win_core_versionansi_l1_1_0
20213 wine_fn_config_makefile dlls/api-ms-win-core-windowserrorreporting-l1-1-0 enable_api_ms_win_core_windowserrorreporting_l1_1_0
20214 wine_fn_config_makefile dlls/api-ms-win-core-winrt-error-l1-1-0 enable_api_ms_win_core_winrt_error_l1_1_0
20215 wine_fn_config_makefile dlls/api-ms-win-core-winrt-error-l1-1-1 enable_api_ms_win_core_winrt_error_l1_1_1
20216 wine_fn_config_makefile dlls/api-ms-win-core-winrt-errorprivate-l1-1-1 enable_api_ms_win_core_winrt_errorprivate_l1_1_1
20217 wine_fn_config_makefile dlls/api-ms-win-core-winrt-l1-1-0 enable_api_ms_win_core_winrt_l1_1_0
20218 wine_fn_config_makefile dlls/api-ms-win-core-winrt-registration-l1-1-0 enable_api_ms_win_core_winrt_registration_l1_1_0
20219 wine_fn_config_makefile dlls/api-ms-win-core-winrt-roparameterizediid-l1-1-0 enable_api_ms_win_core_winrt_roparameterizediid_l1_1_0
20220 wine_fn_config_makefile dlls/api-ms-win-core-winrt-string-l1-1-0 enable_api_ms_win_core_winrt_string_l1_1_0
20221 wine_fn_config_makefile dlls/api-ms-win-core-winrt-string-l1-1-1 enable_api_ms_win_core_winrt_string_l1_1_1
20222 wine_fn_config_makefile dlls/api-ms-win-core-wow64-l1-1-0 enable_api_ms_win_core_wow64_l1_1_0
20223 wine_fn_config_makefile dlls/api-ms-win-core-wow64-l1-1-1 enable_api_ms_win_core_wow64_l1_1_1
20224 wine_fn_config_makefile dlls/api-ms-win-core-xstate-l1-1-0 enable_api_ms_win_core_xstate_l1_1_0
20225 wine_fn_config_makefile dlls/api-ms-win-core-xstate-l2-1-0 enable_api_ms_win_core_xstate_l2_1_0
20226 wine_fn_config_makefile dlls/api-ms-win-crt-conio-l1-1-0 enable_api_ms_win_crt_conio_l1_1_0
20227 wine_fn_config_makefile dlls/api-ms-win-crt-convert-l1-1-0 enable_api_ms_win_crt_convert_l1_1_0
20228 wine_fn_config_makefile dlls/api-ms-win-crt-environment-l1-1-0 enable_api_ms_win_crt_environment_l1_1_0
20229 wine_fn_config_makefile dlls/api-ms-win-crt-filesystem-l1-1-0 enable_api_ms_win_crt_filesystem_l1_1_0
20230 wine_fn_config_makefile dlls/api-ms-win-crt-heap-l1-1-0 enable_api_ms_win_crt_heap_l1_1_0
20231 wine_fn_config_makefile dlls/api-ms-win-crt-locale-l1-1-0 enable_api_ms_win_crt_locale_l1_1_0
20232 wine_fn_config_makefile dlls/api-ms-win-crt-math-l1-1-0 enable_api_ms_win_crt_math_l1_1_0
20233 wine_fn_config_makefile dlls/api-ms-win-crt-multibyte-l1-1-0 enable_api_ms_win_crt_multibyte_l1_1_0
20234 wine_fn_config_makefile dlls/api-ms-win-crt-private-l1-1-0 enable_api_ms_win_crt_private_l1_1_0
20235 wine_fn_config_makefile dlls/api-ms-win-crt-process-l1-1-0 enable_api_ms_win_crt_process_l1_1_0
20236 wine_fn_config_makefile dlls/api-ms-win-crt-runtime-l1-1-0 enable_api_ms_win_crt_runtime_l1_1_0
20237 wine_fn_config_makefile dlls/api-ms-win-crt-stdio-l1-1-0 enable_api_ms_win_crt_stdio_l1_1_0
20238 wine_fn_config_makefile dlls/api-ms-win-crt-string-l1-1-0 enable_api_ms_win_crt_string_l1_1_0
20239 wine_fn_config_makefile dlls/api-ms-win-crt-time-l1-1-0 enable_api_ms_win_crt_time_l1_1_0
20240 wine_fn_config_makefile dlls/api-ms-win-crt-utility-l1-1-0 enable_api_ms_win_crt_utility_l1_1_0
20241 wine_fn_config_makefile dlls/api-ms-win-devices-config-l1-1-0 enable_api_ms_win_devices_config_l1_1_0
20242 wine_fn_config_makefile dlls/api-ms-win-devices-config-l1-1-1 enable_api_ms_win_devices_config_l1_1_1
20243 wine_fn_config_makefile dlls/api-ms-win-devices-query-l1-1-1 enable_api_ms_win_devices_query_l1_1_1
20244 wine_fn_config_makefile dlls/api-ms-win-downlevel-advapi32-l1-1-0 enable_api_ms_win_downlevel_advapi32_l1_1_0
20245 wine_fn_config_makefile dlls/api-ms-win-downlevel-advapi32-l2-1-0 enable_api_ms_win_downlevel_advapi32_l2_1_0
20246 wine_fn_config_makefile dlls/api-ms-win-downlevel-kernel32-l2-1-0 enable_api_ms_win_downlevel_kernel32_l2_1_0
20247 wine_fn_config_makefile dlls/api-ms-win-downlevel-normaliz-l1-1-0 enable_api_ms_win_downlevel_normaliz_l1_1_0
20248 wine_fn_config_makefile dlls/api-ms-win-downlevel-ole32-l1-1-0 enable_api_ms_win_downlevel_ole32_l1_1_0
20249 wine_fn_config_makefile dlls/api-ms-win-downlevel-shell32-l1-1-0 enable_api_ms_win_downlevel_shell32_l1_1_0
20250 wine_fn_config_makefile dlls/api-ms-win-downlevel-shlwapi-l1-1-0 enable_api_ms_win_downlevel_shlwapi_l1_1_0
20251 wine_fn_config_makefile dlls/api-ms-win-downlevel-shlwapi-l2-1-0 enable_api_ms_win_downlevel_shlwapi_l2_1_0
20252 wine_fn_config_makefile dlls/api-ms-win-downlevel-user32-l1-1-0 enable_api_ms_win_downlevel_user32_l1_1_0
20253 wine_fn_config_makefile dlls/api-ms-win-downlevel-version-l1-1-0 enable_api_ms_win_downlevel_version_l1_1_0
20254 wine_fn_config_makefile dlls/api-ms-win-dx-d3dkmt-l1-1-0 enable_api_ms_win_dx_d3dkmt_l1_1_0
20255 wine_fn_config_makefile dlls/api-ms-win-eventing-classicprovider-l1-1-0 enable_api_ms_win_eventing_classicprovider_l1_1_0
20256 wine_fn_config_makefile dlls/api-ms-win-eventing-consumer-l1-1-0 enable_api_ms_win_eventing_consumer_l1_1_0
20257 wine_fn_config_makefile dlls/api-ms-win-eventing-controller-l1-1-0 enable_api_ms_win_eventing_controller_l1_1_0
20258 wine_fn_config_makefile dlls/api-ms-win-eventing-legacy-l1-1-0 enable_api_ms_win_eventing_legacy_l1_1_0
20259 wine_fn_config_makefile dlls/api-ms-win-eventing-provider-l1-1-0 enable_api_ms_win_eventing_provider_l1_1_0
20260 wine_fn_config_makefile dlls/api-ms-win-eventlog-legacy-l1-1-0 enable_api_ms_win_eventlog_legacy_l1_1_0
20261 wine_fn_config_makefile dlls/api-ms-win-gaming-tcui-l1-1-0 enable_api_ms_win_gaming_tcui_l1_1_0
20262 wine_fn_config_makefile dlls/api-ms-win-gdi-dpiinfo-l1-1-0 enable_api_ms_win_gdi_dpiinfo_l1_1_0
20263 wine_fn_config_makefile dlls/api-ms-win-mm-joystick-l1-1-0 enable_api_ms_win_mm_joystick_l1_1_0
20264 wine_fn_config_makefile dlls/api-ms-win-mm-misc-l1-1-1 enable_api_ms_win_mm_misc_l1_1_1
20265 wine_fn_config_makefile dlls/api-ms-win-mm-mme-l1-1-0 enable_api_ms_win_mm_mme_l1_1_0
20266 wine_fn_config_makefile dlls/api-ms-win-mm-time-l1-1-0 enable_api_ms_win_mm_time_l1_1_0
20267 wine_fn_config_makefile dlls/api-ms-win-ntuser-dc-access-l1-1-0 enable_api_ms_win_ntuser_dc_access_l1_1_0
20268 wine_fn_config_makefile dlls/api-ms-win-ntuser-rectangle-l1-1-0 enable_api_ms_win_ntuser_rectangle_l1_1_0
20269 wine_fn_config_makefile dlls/api-ms-win-ntuser-sysparams-l1-1-0 enable_api_ms_win_ntuser_sysparams_l1_1_0
20270 wine_fn_config_makefile dlls/api-ms-win-perf-legacy-l1-1-0 enable_api_ms_win_perf_legacy_l1_1_0
20271 wine_fn_config_makefile dlls/api-ms-win-power-base-l1-1-0 enable_api_ms_win_power_base_l1_1_0
20272 wine_fn_config_makefile dlls/api-ms-win-power-setting-l1-1-0 enable_api_ms_win_power_setting_l1_1_0
20273 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-draw-l1-1-0 enable_api_ms_win_rtcore_ntuser_draw_l1_1_0
20274 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-private-l1-1-0 enable_api_ms_win_rtcore_ntuser_private_l1_1_0
20275 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-private-l1-1-4 enable_api_ms_win_rtcore_ntuser_private_l1_1_4
20276 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-window-l1-1-0 enable_api_ms_win_rtcore_ntuser_window_l1_1_0
20277 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-winevent-l1-1-0 enable_api_ms_win_rtcore_ntuser_winevent_l1_1_0
20278 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-wmpointer-l1-1-0 enable_api_ms_win_rtcore_ntuser_wmpointer_l1_1_0
20279 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-wmpointer-l1-1-3 enable_api_ms_win_rtcore_ntuser_wmpointer_l1_1_3
20280 wine_fn_config_makefile dlls/api-ms-win-security-activedirectoryclient-l1-1-0 enable_api_ms_win_security_activedirectoryclient_l1_1_0
20281 wine_fn_config_makefile dlls/api-ms-win-security-audit-l1-1-1 enable_api_ms_win_security_audit_l1_1_1
20282 wine_fn_config_makefile dlls/api-ms-win-security-base-l1-1-0 enable_api_ms_win_security_base_l1_1_0
20283 wine_fn_config_makefile dlls/api-ms-win-security-base-l1-2-0 enable_api_ms_win_security_base_l1_2_0
20284 wine_fn_config_makefile dlls/api-ms-win-security-base-private-l1-1-1 enable_api_ms_win_security_base_private_l1_1_1
20285 wine_fn_config_makefile dlls/api-ms-win-security-credentials-l1-1-0 enable_api_ms_win_security_credentials_l1_1_0
20286 wine_fn_config_makefile dlls/api-ms-win-security-cryptoapi-l1-1-0 enable_api_ms_win_security_cryptoapi_l1_1_0
20287 wine_fn_config_makefile dlls/api-ms-win-security-grouppolicy-l1-1-0 enable_api_ms_win_security_grouppolicy_l1_1_0
20288 wine_fn_config_makefile dlls/api-ms-win-security-lsalookup-l1-1-0 enable_api_ms_win_security_lsalookup_l1_1_0
20289 wine_fn_config_makefile dlls/api-ms-win-security-lsalookup-l1-1-1 enable_api_ms_win_security_lsalookup_l1_1_1
20290 wine_fn_config_makefile dlls/api-ms-win-security-lsalookup-l2-1-0 enable_api_ms_win_security_lsalookup_l2_1_0
20291 wine_fn_config_makefile dlls/api-ms-win-security-lsalookup-l2-1-1 enable_api_ms_win_security_lsalookup_l2_1_1
20292 wine_fn_config_makefile dlls/api-ms-win-security-lsapolicy-l1-1-0 enable_api_ms_win_security_lsapolicy_l1_1_0
20293 wine_fn_config_makefile dlls/api-ms-win-security-provider-l1-1-0 enable_api_ms_win_security_provider_l1_1_0
20294 wine_fn_config_makefile dlls/api-ms-win-security-sddl-l1-1-0 enable_api_ms_win_security_sddl_l1_1_0
20295 wine_fn_config_makefile dlls/api-ms-win-security-systemfunctions-l1-1-0 enable_api_ms_win_security_systemfunctions_l1_1_0
20296 wine_fn_config_makefile dlls/api-ms-win-service-core-l1-1-0 enable_api_ms_win_service_core_l1_1_0
20297 wine_fn_config_makefile dlls/api-ms-win-service-core-l1-1-1 enable_api_ms_win_service_core_l1_1_1
20298 wine_fn_config_makefile dlls/api-ms-win-service-management-l1-1-0 enable_api_ms_win_service_management_l1_1_0
20299 wine_fn_config_makefile dlls/api-ms-win-service-management-l2-1-0 enable_api_ms_win_service_management_l2_1_0
20300 wine_fn_config_makefile dlls/api-ms-win-service-private-l1-1-1 enable_api_ms_win_service_private_l1_1_1
20301 wine_fn_config_makefile dlls/api-ms-win-service-winsvc-l1-1-0 enable_api_ms_win_service_winsvc_l1_1_0
20302 wine_fn_config_makefile dlls/api-ms-win-service-winsvc-l1-2-0 enable_api_ms_win_service_winsvc_l1_2_0
20303 wine_fn_config_makefile dlls/api-ms-win-shcore-obsolete-l1-1-0 enable_api_ms_win_shcore_obsolete_l1_1_0
20304 wine_fn_config_makefile dlls/api-ms-win-shcore-scaling-l1-1-0 enable_api_ms_win_shcore_scaling_l1_1_0
20305 wine_fn_config_makefile dlls/api-ms-win-shcore-scaling-l1-1-1 enable_api_ms_win_shcore_scaling_l1_1_1
20306 wine_fn_config_makefile dlls/api-ms-win-shcore-stream-l1-1-0 enable_api_ms_win_shcore_stream_l1_1_0
20307 wine_fn_config_makefile dlls/api-ms-win-shcore-stream-winrt-l1-1-0 enable_api_ms_win_shcore_stream_winrt_l1_1_0
20308 wine_fn_config_makefile dlls/api-ms-win-shcore-thread-l1-1-0 enable_api_ms_win_shcore_thread_l1_1_0
20309 wine_fn_config_makefile dlls/api-ms-win-shell-shellcom-l1-1-0 enable_api_ms_win_shell_shellcom_l1_1_0
20310 wine_fn_config_makefile dlls/api-ms-win-shell-shellfolders-l1-1-0 enable_api_ms_win_shell_shellfolders_l1_1_0
20311 wine_fn_config_makefile dlls/apphelp enable_apphelp
20312 wine_fn_config_makefile dlls/apphelp/tests enable_tests
20313 wine_fn_config_makefile dlls/appwiz.cpl enable_appwiz_cpl
20314 wine_fn_config_makefile dlls/atl enable_atl
20315 wine_fn_config_makefile dlls/atl/tests enable_tests
20316 wine_fn_config_makefile dlls/atl100 enable_atl100
20317 wine_fn_config_makefile dlls/atl100/tests enable_tests
20318 wine_fn_config_makefile dlls/atl110 enable_atl110
20319 wine_fn_config_makefile dlls/atl80 enable_atl80
20320 wine_fn_config_makefile dlls/atl80/tests enable_tests
20321 wine_fn_config_makefile dlls/atl90 enable_atl90
20322 wine_fn_config_makefile dlls/atlthunk enable_atlthunk
20323 wine_fn_config_makefile dlls/atlthunk/tests enable_tests
20324 wine_fn_config_makefile dlls/atmlib enable_atmlib
20325 wine_fn_config_makefile dlls/authz enable_authz
20326 wine_fn_config_makefile dlls/avicap32 enable_avicap32
20327 wine_fn_config_makefile dlls/avifil32 enable_avifil32
20328 wine_fn_config_makefile dlls/avifil32/tests enable_tests
20329 wine_fn_config_makefile dlls/avifile.dll16 enable_win16
20330 wine_fn_config_makefile dlls/avrt enable_avrt
20331 wine_fn_config_makefile dlls/bcrypt enable_bcrypt
20332 wine_fn_config_makefile dlls/bcrypt/tests enable_tests
20333 wine_fn_config_makefile dlls/bluetoothapis enable_bluetoothapis
20334 wine_fn_config_makefile dlls/browseui enable_browseui
20335 wine_fn_config_makefile dlls/browseui/tests enable_tests
20336 wine_fn_config_makefile dlls/bthprops.cpl enable_bthprops_cpl
20337 wine_fn_config_makefile dlls/cabinet enable_cabinet
20338 wine_fn_config_makefile dlls/cabinet/tests enable_tests
20339 wine_fn_config_makefile dlls/capi2032 enable_capi2032
20340 wine_fn_config_makefile dlls/cards enable_cards
20341 wine_fn_config_makefile dlls/cdosys enable_cdosys
20342 wine_fn_config_makefile dlls/cfgmgr32 enable_cfgmgr32
20343 wine_fn_config_makefile dlls/clusapi enable_clusapi
20344 wine_fn_config_makefile dlls/combase enable_combase
20345 wine_fn_config_makefile dlls/combase/tests enable_tests
20346 wine_fn_config_makefile dlls/comcat enable_comcat
20347 wine_fn_config_makefile dlls/comcat/tests enable_tests
20348 wine_fn_config_makefile dlls/comctl32 enable_comctl32
20349 wine_fn_config_makefile dlls/comctl32/tests enable_tests
20350 wine_fn_config_makefile dlls/comdlg32 enable_comdlg32
20351 wine_fn_config_makefile dlls/comdlg32/tests enable_tests
20352 wine_fn_config_makefile dlls/comm.drv16 enable_win16
20353 wine_fn_config_makefile dlls/commdlg.dll16 enable_win16
20354 wine_fn_config_makefile dlls/compobj.dll16 enable_win16
20355 wine_fn_config_makefile dlls/compstui enable_compstui
20356 wine_fn_config_makefile dlls/comsvcs enable_comsvcs
20357 wine_fn_config_makefile dlls/comsvcs/tests enable_tests
20358 wine_fn_config_makefile dlls/concrt140 enable_concrt140
20359 wine_fn_config_makefile dlls/concrt140/tests enable_tests
20360 wine_fn_config_makefile dlls/connect enable_connect
20361 wine_fn_config_makefile dlls/credui enable_credui
20362 wine_fn_config_makefile dlls/credui/tests enable_tests
20363 wine_fn_config_makefile dlls/crtdll enable_crtdll
20364 wine_fn_config_makefile dlls/crypt32 enable_crypt32
20365 wine_fn_config_makefile dlls/crypt32/tests enable_tests
20366 wine_fn_config_makefile dlls/cryptdlg enable_cryptdlg
20367 wine_fn_config_makefile dlls/cryptdll enable_cryptdll
20368 wine_fn_config_makefile dlls/cryptext enable_cryptext
20369 wine_fn_config_makefile dlls/cryptnet enable_cryptnet
20370 wine_fn_config_makefile dlls/cryptnet/tests enable_tests
20371 wine_fn_config_makefile dlls/cryptsp enable_cryptsp
20372 wine_fn_config_makefile dlls/cryptui enable_cryptui
20373 wine_fn_config_makefile dlls/cryptui/tests enable_tests
20374 wine_fn_config_makefile dlls/ctapi32 enable_ctapi32
20375 wine_fn_config_makefile dlls/ctl3d.dll16 enable_win16
20376 wine_fn_config_makefile dlls/ctl3d32 enable_ctl3d32
20377 wine_fn_config_makefile dlls/ctl3dv2.dll16 enable_win16
20378 wine_fn_config_makefile dlls/d2d1 enable_d2d1
20379 wine_fn_config_makefile dlls/d2d1/tests enable_tests
20380 wine_fn_config_makefile dlls/d3d10 enable_d3d10
20381 wine_fn_config_makefile dlls/d3d10/tests enable_tests
20382 wine_fn_config_makefile dlls/d3d10_1 enable_d3d10_1
20383 wine_fn_config_makefile dlls/d3d10_1/tests enable_tests
20384 wine_fn_config_makefile dlls/d3d10core enable_d3d10core
20385 wine_fn_config_makefile dlls/d3d10core/tests enable_tests
20386 wine_fn_config_makefile dlls/d3d11 enable_d3d11
20387 wine_fn_config_makefile dlls/d3d11/tests enable_tests
20388 wine_fn_config_makefile dlls/d3d12 enable_d3d12
20389 wine_fn_config_makefile dlls/d3d12/tests enable_tests
20390 wine_fn_config_makefile dlls/d3d8 enable_d3d8
20391 wine_fn_config_makefile dlls/d3d8/tests enable_tests
20392 wine_fn_config_makefile dlls/d3d8thk enable_d3d8thk
20393 wine_fn_config_makefile dlls/d3d9 enable_d3d9
20394 wine_fn_config_makefile dlls/d3d9/tests enable_tests
20395 wine_fn_config_makefile dlls/d3dcompiler_33 enable_d3dcompiler_33
20396 wine_fn_config_makefile dlls/d3dcompiler_34 enable_d3dcompiler_34
20397 wine_fn_config_makefile dlls/d3dcompiler_35 enable_d3dcompiler_35
20398 wine_fn_config_makefile dlls/d3dcompiler_36 enable_d3dcompiler_36
20399 wine_fn_config_makefile dlls/d3dcompiler_37 enable_d3dcompiler_37
20400 wine_fn_config_makefile dlls/d3dcompiler_38 enable_d3dcompiler_38
20401 wine_fn_config_makefile dlls/d3dcompiler_39 enable_d3dcompiler_39
20402 wine_fn_config_makefile dlls/d3dcompiler_40 enable_d3dcompiler_40
20403 wine_fn_config_makefile dlls/d3dcompiler_41 enable_d3dcompiler_41
20404 wine_fn_config_makefile dlls/d3dcompiler_42 enable_d3dcompiler_42
20405 wine_fn_config_makefile dlls/d3dcompiler_43 enable_d3dcompiler_43
20406 wine_fn_config_makefile dlls/d3dcompiler_43/tests enable_tests
20407 wine_fn_config_makefile dlls/d3dcompiler_46 enable_d3dcompiler_46
20408 wine_fn_config_makefile dlls/d3dcompiler_47 enable_d3dcompiler_47
20409 wine_fn_config_makefile dlls/d3dcompiler_47/tests enable_tests
20410 wine_fn_config_makefile dlls/d3dim enable_d3dim
20411 wine_fn_config_makefile dlls/d3dim700 enable_d3dim700
20412 wine_fn_config_makefile dlls/d3drm enable_d3drm
20413 wine_fn_config_makefile dlls/d3drm/tests enable_tests
20414 wine_fn_config_makefile dlls/d3dx10_33 enable_d3dx10_33
20415 wine_fn_config_makefile dlls/d3dx10_34 enable_d3dx10_34
20416 wine_fn_config_makefile dlls/d3dx10_35 enable_d3dx10_35
20417 wine_fn_config_makefile dlls/d3dx10_36 enable_d3dx10_36
20418 wine_fn_config_makefile dlls/d3dx10_37 enable_d3dx10_37
20419 wine_fn_config_makefile dlls/d3dx10_38 enable_d3dx10_38
20420 wine_fn_config_makefile dlls/d3dx10_39 enable_d3dx10_39
20421 wine_fn_config_makefile dlls/d3dx10_40 enable_d3dx10_40
20422 wine_fn_config_makefile dlls/d3dx10_41 enable_d3dx10_41
20423 wine_fn_config_makefile dlls/d3dx10_42 enable_d3dx10_42
20424 wine_fn_config_makefile dlls/d3dx10_43 enable_d3dx10_43
20425 wine_fn_config_makefile dlls/d3dx10_43/tests enable_tests
20426 wine_fn_config_makefile dlls/d3dx11_42 enable_d3dx11_42
20427 wine_fn_config_makefile dlls/d3dx11_43 enable_d3dx11_43
20428 wine_fn_config_makefile dlls/d3dx11_43/tests enable_tests
20429 wine_fn_config_makefile dlls/d3dx9_24 enable_d3dx9_24
20430 wine_fn_config_makefile dlls/d3dx9_25 enable_d3dx9_25
20431 wine_fn_config_makefile dlls/d3dx9_26 enable_d3dx9_26
20432 wine_fn_config_makefile dlls/d3dx9_27 enable_d3dx9_27
20433 wine_fn_config_makefile dlls/d3dx9_28 enable_d3dx9_28
20434 wine_fn_config_makefile dlls/d3dx9_29 enable_d3dx9_29
20435 wine_fn_config_makefile dlls/d3dx9_30 enable_d3dx9_30
20436 wine_fn_config_makefile dlls/d3dx9_31 enable_d3dx9_31
20437 wine_fn_config_makefile dlls/d3dx9_32 enable_d3dx9_32
20438 wine_fn_config_makefile dlls/d3dx9_33 enable_d3dx9_33
20439 wine_fn_config_makefile dlls/d3dx9_34 enable_d3dx9_34
20440 wine_fn_config_makefile dlls/d3dx9_35 enable_d3dx9_35
20441 wine_fn_config_makefile dlls/d3dx9_36 enable_d3dx9_36
20442 wine_fn_config_makefile dlls/d3dx9_36/tests enable_tests
20443 wine_fn_config_makefile dlls/d3dx9_37 enable_d3dx9_37
20444 wine_fn_config_makefile dlls/d3dx9_38 enable_d3dx9_38
20445 wine_fn_config_makefile dlls/d3dx9_39 enable_d3dx9_39
20446 wine_fn_config_makefile dlls/d3dx9_40 enable_d3dx9_40
20447 wine_fn_config_makefile dlls/d3dx9_41 enable_d3dx9_41
20448 wine_fn_config_makefile dlls/d3dx9_42 enable_d3dx9_42
20449 wine_fn_config_makefile dlls/d3dx9_43 enable_d3dx9_43
20450 wine_fn_config_makefile dlls/d3dxof enable_d3dxof
20451 wine_fn_config_makefile dlls/d3dxof/tests enable_tests
20452 wine_fn_config_makefile dlls/davclnt enable_davclnt
20453 wine_fn_config_makefile dlls/dbgeng enable_dbgeng
20454 wine_fn_config_makefile dlls/dbgeng/tests enable_tests
20455 wine_fn_config_makefile dlls/dbghelp enable_dbghelp
20456 wine_fn_config_makefile dlls/dbghelp/tests enable_tests
20457 wine_fn_config_makefile dlls/dciman32 enable_dciman32
20458 wine_fn_config_makefile dlls/dcomp enable_dcomp
20459 wine_fn_config_makefile dlls/ddeml.dll16 enable_win16
20460 wine_fn_config_makefile dlls/ddraw enable_ddraw
20461 wine_fn_config_makefile dlls/ddraw/tests enable_tests
20462 wine_fn_config_makefile dlls/ddrawex enable_ddrawex
20463 wine_fn_config_makefile dlls/ddrawex/tests enable_tests
20464 wine_fn_config_makefile dlls/devenum enable_devenum
20465 wine_fn_config_makefile dlls/devenum/tests enable_tests
20466 wine_fn_config_makefile dlls/dhcpcsvc enable_dhcpcsvc
20467 wine_fn_config_makefile dlls/dhcpcsvc/tests enable_tests
20468 wine_fn_config_makefile dlls/dhtmled.ocx enable_dhtmled_ocx
20469 wine_fn_config_makefile dlls/difxapi enable_difxapi
20470 wine_fn_config_makefile dlls/dinput enable_dinput
20471 wine_fn_config_makefile dlls/dinput/tests enable_tests
20472 wine_fn_config_makefile dlls/dinput8 enable_dinput8
20473 wine_fn_config_makefile dlls/dinput8/tests enable_tests
20474 wine_fn_config_makefile dlls/directmanipulation enable_directmanipulation
20475 wine_fn_config_makefile dlls/directmanipulation/tests enable_tests
20476 wine_fn_config_makefile dlls/dispdib.dll16 enable_win16
20477 wine_fn_config_makefile dlls/dispex enable_dispex
20478 wine_fn_config_makefile dlls/dispex/tests enable_tests
20479 wine_fn_config_makefile dlls/display.drv16 enable_win16
20480 wine_fn_config_makefile dlls/dmband enable_dmband
20481 wine_fn_config_makefile dlls/dmband/tests enable_tests
20482 wine_fn_config_makefile dlls/dmcompos enable_dmcompos
20483 wine_fn_config_makefile dlls/dmcompos/tests enable_tests
20484 wine_fn_config_makefile dlls/dmime enable_dmime
20485 wine_fn_config_makefile dlls/dmime/tests enable_tests
20486 wine_fn_config_makefile dlls/dmloader enable_dmloader
20487 wine_fn_config_makefile dlls/dmloader/tests enable_tests
20488 wine_fn_config_makefile dlls/dmoguids enable_dmoguids
20489 wine_fn_config_makefile dlls/dmscript enable_dmscript
20490 wine_fn_config_makefile dlls/dmscript/tests enable_tests
20491 wine_fn_config_makefile dlls/dmstyle enable_dmstyle
20492 wine_fn_config_makefile dlls/dmstyle/tests enable_tests
20493 wine_fn_config_makefile dlls/dmsynth enable_dmsynth
20494 wine_fn_config_makefile dlls/dmsynth/tests enable_tests
20495 wine_fn_config_makefile dlls/dmusic enable_dmusic
20496 wine_fn_config_makefile dlls/dmusic/tests enable_tests
20497 wine_fn_config_makefile dlls/dmusic32 enable_dmusic32
20498 wine_fn_config_makefile dlls/dnsapi enable_dnsapi
20499 wine_fn_config_makefile dlls/dnsapi/tests enable_tests
20500 wine_fn_config_makefile dlls/dplay enable_dplay
20501 wine_fn_config_makefile dlls/dplayx enable_dplayx
20502 wine_fn_config_makefile dlls/dplayx/tests enable_tests
20503 wine_fn_config_makefile dlls/dpnaddr enable_dpnaddr
20504 wine_fn_config_makefile dlls/dpnet enable_dpnet
20505 wine_fn_config_makefile dlls/dpnet/tests enable_tests
20506 wine_fn_config_makefile dlls/dpnhpast enable_dpnhpast
20507 wine_fn_config_makefile dlls/dpnhupnp enable_dpnhupnp
20508 wine_fn_config_makefile dlls/dpnlobby enable_dpnlobby
20509 wine_fn_config_makefile dlls/dpvoice enable_dpvoice
20510 wine_fn_config_makefile dlls/dpvoice/tests enable_tests
20511 wine_fn_config_makefile dlls/dpwsockx enable_dpwsockx
20512 wine_fn_config_makefile dlls/drmclien enable_drmclien
20513 wine_fn_config_makefile dlls/dsdmo enable_dsdmo
20514 wine_fn_config_makefile dlls/dsdmo/tests enable_tests
20515 wine_fn_config_makefile dlls/dsound enable_dsound
20516 wine_fn_config_makefile dlls/dsound/tests enable_tests
20517 wine_fn_config_makefile dlls/dsquery enable_dsquery
20518 wine_fn_config_makefile dlls/dssenh enable_dssenh
20519 wine_fn_config_makefile dlls/dssenh/tests enable_tests
20520 wine_fn_config_makefile dlls/dsuiext enable_dsuiext
20521 wine_fn_config_makefile dlls/dswave enable_dswave
20522 wine_fn_config_makefile dlls/dswave/tests enable_tests
20523 wine_fn_config_makefile dlls/dwmapi enable_dwmapi
20524 wine_fn_config_makefile dlls/dwmapi/tests enable_tests
20525 wine_fn_config_makefile dlls/dwrite enable_dwrite
20526 wine_fn_config_makefile dlls/dwrite/tests enable_tests
20527 wine_fn_config_makefile dlls/dx8vb enable_dx8vb
20528 wine_fn_config_makefile dlls/dxdiagn enable_dxdiagn
20529 wine_fn_config_makefile dlls/dxdiagn/tests enable_tests
20530 wine_fn_config_makefile dlls/dxerr8 enable_dxerr8
20531 wine_fn_config_makefile dlls/dxerr9 enable_dxerr9
20532 wine_fn_config_makefile dlls/dxgi enable_dxgi
20533 wine_fn_config_makefile dlls/dxgi/tests enable_tests
20534 wine_fn_config_makefile dlls/dxguid enable_dxguid
20535 wine_fn_config_makefile dlls/dxva2 enable_dxva2
20536 wine_fn_config_makefile dlls/dxva2/tests enable_tests
20537 wine_fn_config_makefile dlls/esent enable_esent
20538 wine_fn_config_makefile dlls/evr enable_evr
20539 wine_fn_config_makefile dlls/evr/tests enable_tests
20540 wine_fn_config_makefile dlls/explorerframe enable_explorerframe
20541 wine_fn_config_makefile dlls/explorerframe/tests enable_tests
20542 wine_fn_config_makefile dlls/ext-ms-win-authz-context-l1-1-0 enable_ext_ms_win_authz_context_l1_1_0
20543 wine_fn_config_makefile dlls/ext-ms-win-domainjoin-netjoin-l1-1-0 enable_ext_ms_win_domainjoin_netjoin_l1_1_0
20544 wine_fn_config_makefile dlls/ext-ms-win-dwmapi-ext-l1-1-0 enable_ext_ms_win_dwmapi_ext_l1_1_0
20545 wine_fn_config_makefile dlls/ext-ms-win-gdi-dc-create-l1-1-0 enable_ext_ms_win_gdi_dc_create_l1_1_0
20546 wine_fn_config_makefile dlls/ext-ms-win-gdi-dc-create-l1-1-1 enable_ext_ms_win_gdi_dc_create_l1_1_1
20547 wine_fn_config_makefile dlls/ext-ms-win-gdi-dc-l1-2-0 enable_ext_ms_win_gdi_dc_l1_2_0
20548 wine_fn_config_makefile dlls/ext-ms-win-gdi-devcaps-l1-1-0 enable_ext_ms_win_gdi_devcaps_l1_1_0
20549 wine_fn_config_makefile dlls/ext-ms-win-gdi-draw-l1-1-0 enable_ext_ms_win_gdi_draw_l1_1_0
20550 wine_fn_config_makefile dlls/ext-ms-win-gdi-draw-l1-1-1 enable_ext_ms_win_gdi_draw_l1_1_1
20551 wine_fn_config_makefile dlls/ext-ms-win-gdi-font-l1-1-0 enable_ext_ms_win_gdi_font_l1_1_0
20552 wine_fn_config_makefile dlls/ext-ms-win-gdi-font-l1-1-1 enable_ext_ms_win_gdi_font_l1_1_1
20553 wine_fn_config_makefile dlls/ext-ms-win-gdi-render-l1-1-0 enable_ext_ms_win_gdi_render_l1_1_0
20554 wine_fn_config_makefile dlls/ext-ms-win-kernel32-package-current-l1-1-0 enable_ext_ms_win_kernel32_package_current_l1_1_0
20555 wine_fn_config_makefile dlls/ext-ms-win-kernel32-package-l1-1-1 enable_ext_ms_win_kernel32_package_l1_1_1
20556 wine_fn_config_makefile dlls/ext-ms-win-ntuser-dialogbox-l1-1-0 enable_ext_ms_win_ntuser_dialogbox_l1_1_0
20557 wine_fn_config_makefile dlls/ext-ms-win-ntuser-draw-l1-1-0 enable_ext_ms_win_ntuser_draw_l1_1_0
20558 wine_fn_config_makefile dlls/ext-ms-win-ntuser-gui-l1-1-0 enable_ext_ms_win_ntuser_gui_l1_1_0
20559 wine_fn_config_makefile dlls/ext-ms-win-ntuser-gui-l1-3-0 enable_ext_ms_win_ntuser_gui_l1_3_0
20560 wine_fn_config_makefile dlls/ext-ms-win-ntuser-keyboard-l1-3-0 enable_ext_ms_win_ntuser_keyboard_l1_3_0
20561 wine_fn_config_makefile dlls/ext-ms-win-ntuser-message-l1-1-0 enable_ext_ms_win_ntuser_message_l1_1_0
20562 wine_fn_config_makefile dlls/ext-ms-win-ntuser-message-l1-1-1 enable_ext_ms_win_ntuser_message_l1_1_1
20563 wine_fn_config_makefile dlls/ext-ms-win-ntuser-misc-l1-1-0 enable_ext_ms_win_ntuser_misc_l1_1_0
20564 wine_fn_config_makefile dlls/ext-ms-win-ntuser-misc-l1-2-0 enable_ext_ms_win_ntuser_misc_l1_2_0
20565 wine_fn_config_makefile dlls/ext-ms-win-ntuser-misc-l1-5-1 enable_ext_ms_win_ntuser_misc_l1_5_1
20566 wine_fn_config_makefile dlls/ext-ms-win-ntuser-mouse-l1-1-0 enable_ext_ms_win_ntuser_mouse_l1_1_0
20567 wine_fn_config_makefile dlls/ext-ms-win-ntuser-private-l1-1-1 enable_ext_ms_win_ntuser_private_l1_1_1
20568 wine_fn_config_makefile dlls/ext-ms-win-ntuser-private-l1-3-1 enable_ext_ms_win_ntuser_private_l1_3_1
20569 wine_fn_config_makefile dlls/ext-ms-win-ntuser-rectangle-ext-l1-1-0 enable_ext_ms_win_ntuser_rectangle_ext_l1_1_0
20570 wine_fn_config_makefile dlls/ext-ms-win-ntuser-uicontext-ext-l1-1-0 enable_ext_ms_win_ntuser_uicontext_ext_l1_1_0
20571 wine_fn_config_makefile dlls/ext-ms-win-ntuser-window-l1-1-0 enable_ext_ms_win_ntuser_window_l1_1_0
20572 wine_fn_config_makefile dlls/ext-ms-win-ntuser-window-l1-1-1 enable_ext_ms_win_ntuser_window_l1_1_1
20573 wine_fn_config_makefile dlls/ext-ms-win-ntuser-window-l1-1-4 enable_ext_ms_win_ntuser_window_l1_1_4
20574 wine_fn_config_makefile dlls/ext-ms-win-ntuser-windowclass-l1-1-0 enable_ext_ms_win_ntuser_windowclass_l1_1_0
20575 wine_fn_config_makefile dlls/ext-ms-win-ntuser-windowclass-l1-1-1 enable_ext_ms_win_ntuser_windowclass_l1_1_1
20576 wine_fn_config_makefile dlls/ext-ms-win-oleacc-l1-1-0 enable_ext_ms_win_oleacc_l1_1_0
20577 wine_fn_config_makefile dlls/ext-ms-win-ras-rasapi32-l1-1-0 enable_ext_ms_win_ras_rasapi32_l1_1_0
20578 wine_fn_config_makefile dlls/ext-ms-win-rtcore-gdi-devcaps-l1-1-0 enable_ext_ms_win_rtcore_gdi_devcaps_l1_1_0
20579 wine_fn_config_makefile dlls/ext-ms-win-rtcore-gdi-object-l1-1-0 enable_ext_ms_win_rtcore_gdi_object_l1_1_0
20580 wine_fn_config_makefile dlls/ext-ms-win-rtcore-gdi-rgn-l1-1-0 enable_ext_ms_win_rtcore_gdi_rgn_l1_1_0
20581 wine_fn_config_makefile dlls/ext-ms-win-rtcore-ntuser-cursor-l1-1-0 enable_ext_ms_win_rtcore_ntuser_cursor_l1_1_0
20582 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
20583 wine_fn_config_makefile dlls/ext-ms-win-rtcore-ntuser-dpi-l1-1-0 enable_ext_ms_win_rtcore_ntuser_dpi_l1_1_0
20584 wine_fn_config_makefile dlls/ext-ms-win-rtcore-ntuser-dpi-l1-2-0 enable_ext_ms_win_rtcore_ntuser_dpi_l1_2_0
20585 wine_fn_config_makefile dlls/ext-ms-win-rtcore-ntuser-rawinput-l1-1-0 enable_ext_ms_win_rtcore_ntuser_rawinput_l1_1_0
20586 wine_fn_config_makefile dlls/ext-ms-win-rtcore-ntuser-syscolors-l1-1-0 enable_ext_ms_win_rtcore_ntuser_syscolors_l1_1_0
20587 wine_fn_config_makefile dlls/ext-ms-win-rtcore-ntuser-sysparams-l1-1-0 enable_ext_ms_win_rtcore_ntuser_sysparams_l1_1_0
20588 wine_fn_config_makefile dlls/ext-ms-win-security-credui-l1-1-0 enable_ext_ms_win_security_credui_l1_1_0
20589 wine_fn_config_makefile dlls/ext-ms-win-security-cryptui-l1-1-0 enable_ext_ms_win_security_cryptui_l1_1_0
20590 wine_fn_config_makefile dlls/ext-ms-win-shell-comctl32-init-l1-1-0 enable_ext_ms_win_shell_comctl32_init_l1_1_0
20591 wine_fn_config_makefile dlls/ext-ms-win-shell-comdlg32-l1-1-0 enable_ext_ms_win_shell_comdlg32_l1_1_0
20592 wine_fn_config_makefile dlls/ext-ms-win-shell-shell32-l1-2-0 enable_ext_ms_win_shell_shell32_l1_2_0
20593 wine_fn_config_makefile dlls/ext-ms-win-uxtheme-themes-l1-1-0 enable_ext_ms_win_uxtheme_themes_l1_1_0
20594 wine_fn_config_makefile dlls/faultrep enable_faultrep
20595 wine_fn_config_makefile dlls/faultrep/tests enable_tests
20596 wine_fn_config_makefile dlls/feclient enable_feclient
20597 wine_fn_config_makefile dlls/fltlib enable_fltlib
20598 wine_fn_config_makefile dlls/fltmgr.sys enable_fltmgr_sys
20599 wine_fn_config_makefile dlls/fntcache enable_fntcache
20600 wine_fn_config_makefile dlls/fontsub enable_fontsub
20601 wine_fn_config_makefile dlls/fusion enable_fusion
20602 wine_fn_config_makefile dlls/fusion/tests enable_tests
20603 wine_fn_config_makefile dlls/fwpuclnt enable_fwpuclnt
20604 wine_fn_config_makefile dlls/gameux enable_gameux
20605 wine_fn_config_makefile dlls/gameux/tests enable_tests
20606 wine_fn_config_makefile dlls/gamingtcui enable_gamingtcui
20607 wine_fn_config_makefile dlls/gdi.exe16 enable_win16
20608 wine_fn_config_makefile dlls/gdi32 enable_gdi32
20609 wine_fn_config_makefile dlls/gdi32/tests enable_tests
20610 wine_fn_config_makefile dlls/gdiplus enable_gdiplus
20611 wine_fn_config_makefile dlls/gdiplus/tests enable_tests
20612 wine_fn_config_makefile dlls/glu32 enable_glu32
20613 wine_fn_config_makefile dlls/gphoto2.ds enable_gphoto2_ds
20614 wine_fn_config_makefile dlls/gpkcsp enable_gpkcsp
20615 wine_fn_config_makefile dlls/hal enable_hal
20616 wine_fn_config_makefile dlls/hhctrl.ocx enable_hhctrl_ocx
20617 wine_fn_config_makefile dlls/hid enable_hid
20618 wine_fn_config_makefile dlls/hid/tests enable_tests
20619 wine_fn_config_makefile dlls/hidclass.sys enable_hidclass_sys
20620 wine_fn_config_makefile dlls/hlink enable_hlink
20621 wine_fn_config_makefile dlls/hlink/tests enable_tests
20622 wine_fn_config_makefile dlls/hnetcfg enable_hnetcfg
20623 wine_fn_config_makefile dlls/hnetcfg/tests enable_tests
20624 wine_fn_config_makefile dlls/http.sys enable_http_sys
20625 wine_fn_config_makefile dlls/httpapi enable_httpapi
20626 wine_fn_config_makefile dlls/httpapi/tests enable_tests
20627 wine_fn_config_makefile dlls/iccvid enable_iccvid
20628 wine_fn_config_makefile dlls/icmp enable_icmp
20629 wine_fn_config_makefile dlls/ieframe enable_ieframe
20630 wine_fn_config_makefile dlls/ieframe/tests enable_tests
20631 wine_fn_config_makefile dlls/ieproxy enable_ieproxy
20632 wine_fn_config_makefile dlls/ifsmgr.vxd enable_win16
20633 wine_fn_config_makefile dlls/imaadp32.acm enable_imaadp32_acm
20634 wine_fn_config_makefile dlls/imagehlp enable_imagehlp
20635 wine_fn_config_makefile dlls/imagehlp/tests enable_tests
20636 wine_fn_config_makefile dlls/imm.dll16 enable_win16
20637 wine_fn_config_makefile dlls/imm32 enable_imm32
20638 wine_fn_config_makefile dlls/imm32/tests enable_tests
20639 wine_fn_config_makefile dlls/inetcomm enable_inetcomm
20640 wine_fn_config_makefile dlls/inetcomm/tests enable_tests
20641 wine_fn_config_makefile dlls/inetcpl.cpl enable_inetcpl_cpl
20642 wine_fn_config_makefile dlls/inetmib1 enable_inetmib1
20643 wine_fn_config_makefile dlls/inetmib1/tests enable_tests
20644 wine_fn_config_makefile dlls/infosoft enable_infosoft
20645 wine_fn_config_makefile dlls/infosoft/tests enable_tests
20646 wine_fn_config_makefile dlls/initpki enable_initpki
20647 wine_fn_config_makefile dlls/inkobj enable_inkobj
20648 wine_fn_config_makefile dlls/inseng enable_inseng
20649 wine_fn_config_makefile dlls/iphlpapi enable_iphlpapi
20650 wine_fn_config_makefile dlls/iphlpapi/tests enable_tests
20651 wine_fn_config_makefile dlls/iprop enable_iprop
20652 wine_fn_config_makefile dlls/irprops.cpl enable_irprops_cpl
20653 wine_fn_config_makefile dlls/itircl enable_itircl
20654 wine_fn_config_makefile dlls/itss enable_itss
20655 wine_fn_config_makefile dlls/itss/tests enable_tests
20656 wine_fn_config_makefile dlls/joy.cpl enable_joy_cpl
20657 wine_fn_config_makefile dlls/jscript enable_jscript
20658 wine_fn_config_makefile dlls/jscript/tests enable_tests
20659 wine_fn_config_makefile dlls/jsproxy enable_jsproxy
20660 wine_fn_config_makefile dlls/jsproxy/tests enable_tests
20661 wine_fn_config_makefile dlls/kerberos enable_kerberos
20662 wine_fn_config_makefile dlls/kernel32 enable_kernel32
20663 wine_fn_config_makefile dlls/kernel32/tests enable_tests
20664 wine_fn_config_makefile dlls/kernelbase enable_kernelbase
20665 wine_fn_config_makefile dlls/kernelbase/tests enable_tests
20666 wine_fn_config_makefile dlls/keyboard.drv16 enable_win16
20667 wine_fn_config_makefile dlls/krnl386.exe16 enable_win16
20668 wine_fn_config_makefile dlls/ksecdd.sys enable_ksecdd_sys
20669 wine_fn_config_makefile dlls/ksproxy.ax enable_ksproxy_ax
20670 wine_fn_config_makefile dlls/ksuser enable_ksuser
20671 wine_fn_config_makefile dlls/ktmw32 enable_ktmw32
20672 wine_fn_config_makefile dlls/l3codeca.acm enable_l3codeca_acm
20673 wine_fn_config_makefile dlls/loadperf enable_loadperf
20674 wine_fn_config_makefile dlls/localspl enable_localspl
20675 wine_fn_config_makefile dlls/localspl/tests enable_tests
20676 wine_fn_config_makefile dlls/localui enable_localui
20677 wine_fn_config_makefile dlls/localui/tests enable_tests
20678 wine_fn_config_makefile dlls/lz32 enable_lz32
20679 wine_fn_config_makefile dlls/lz32/tests enable_tests
20680 wine_fn_config_makefile dlls/lzexpand.dll16 enable_win16
20681 wine_fn_config_makefile dlls/mapi32 enable_mapi32
20682 wine_fn_config_makefile dlls/mapi32/tests enable_tests
20683 wine_fn_config_makefile dlls/mapistub enable_mapistub
20684 wine_fn_config_makefile dlls/mciavi32 enable_mciavi32
20685 wine_fn_config_makefile dlls/mcicda enable_mcicda
20686 wine_fn_config_makefile dlls/mciqtz32 enable_mciqtz32
20687 wine_fn_config_makefile dlls/mciseq enable_mciseq
20688 wine_fn_config_makefile dlls/mciwave enable_mciwave
20689 wine_fn_config_makefile dlls/mf enable_mf
20690 wine_fn_config_makefile dlls/mf/tests enable_tests
20691 wine_fn_config_makefile dlls/mf3216 enable_mf3216
20692 wine_fn_config_makefile dlls/mferror enable_mferror
20693 wine_fn_config_makefile dlls/mfmediaengine enable_mfmediaengine
20694 wine_fn_config_makefile dlls/mfmediaengine/tests enable_tests
20695 wine_fn_config_makefile dlls/mfplat enable_mfplat
20696 wine_fn_config_makefile dlls/mfplat/tests enable_tests
20697 wine_fn_config_makefile dlls/mfplay enable_mfplay
20698 wine_fn_config_makefile dlls/mfplay/tests enable_tests
20699 wine_fn_config_makefile dlls/mfreadwrite enable_mfreadwrite
20700 wine_fn_config_makefile dlls/mfreadwrite/tests enable_tests
20701 wine_fn_config_makefile dlls/mfuuid enable_mfuuid
20702 wine_fn_config_makefile dlls/mgmtapi enable_mgmtapi
20703 wine_fn_config_makefile dlls/midimap enable_midimap
20704 wine_fn_config_makefile dlls/mlang enable_mlang
20705 wine_fn_config_makefile dlls/mlang/tests enable_tests
20706 wine_fn_config_makefile dlls/mmcndmgr enable_mmcndmgr
20707 wine_fn_config_makefile dlls/mmcndmgr/tests enable_tests
20708 wine_fn_config_makefile dlls/mmdevapi enable_mmdevapi
20709 wine_fn_config_makefile dlls/mmdevapi/tests enable_tests
20710 wine_fn_config_makefile dlls/mmdevldr.vxd enable_win16
20711 wine_fn_config_makefile dlls/mmsystem.dll16 enable_win16
20712 wine_fn_config_makefile dlls/monodebg.vxd enable_win16
20713 wine_fn_config_makefile dlls/mountmgr.sys enable_mountmgr_sys
20714 wine_fn_config_makefile dlls/mouse.drv16 enable_win16
20715 wine_fn_config_makefile dlls/mp3dmod enable_mp3dmod
20716 wine_fn_config_makefile dlls/mp3dmod/tests enable_tests
20717 wine_fn_config_makefile dlls/mpr enable_mpr
20718 wine_fn_config_makefile dlls/mpr/tests enable_tests
20719 wine_fn_config_makefile dlls/mprapi enable_mprapi
20720 wine_fn_config_makefile dlls/msacm.dll16 enable_win16
20721 wine_fn_config_makefile dlls/msacm32.drv enable_msacm32_drv
20722 wine_fn_config_makefile dlls/msacm32 enable_msacm32
20723 wine_fn_config_makefile dlls/msacm32/tests enable_tests
20724 wine_fn_config_makefile dlls/msado15 enable_msado15
20725 wine_fn_config_makefile dlls/msado15/tests enable_tests
20726 wine_fn_config_makefile dlls/msadp32.acm enable_msadp32_acm
20727 wine_fn_config_makefile dlls/msasn1 enable_msasn1
20728 wine_fn_config_makefile dlls/msasn1/tests enable_tests
20729 wine_fn_config_makefile dlls/mscat32 enable_mscat32
20730 wine_fn_config_makefile dlls/mscms enable_mscms
20731 wine_fn_config_makefile dlls/mscms/tests enable_tests
20732 wine_fn_config_makefile dlls/mscoree enable_mscoree
20733 wine_fn_config_makefile dlls/mscoree/tests enable_tests
20734 wine_fn_config_makefile dlls/mscorwks enable_mscorwks
20735 wine_fn_config_makefile dlls/msctf enable_msctf
20736 wine_fn_config_makefile dlls/msctf/tests enable_tests
20737 wine_fn_config_makefile dlls/msctfp enable_msctfp
20738 wine_fn_config_makefile dlls/msdaps enable_msdaps
20739 wine_fn_config_makefile dlls/msdelta enable_msdelta
20740 wine_fn_config_makefile dlls/msdmo enable_msdmo
20741 wine_fn_config_makefile dlls/msdmo/tests enable_tests
20742 wine_fn_config_makefile dlls/msdrm enable_msdrm
20743 wine_fn_config_makefile dlls/msftedit enable_msftedit
20744 wine_fn_config_makefile dlls/msftedit/tests enable_tests
20745 wine_fn_config_makefile dlls/msg711.acm enable_msg711_acm
20746 wine_fn_config_makefile dlls/msgsm32.acm enable_msgsm32_acm
20747 wine_fn_config_makefile dlls/mshtml.tlb enable_mshtml_tlb
20748 wine_fn_config_makefile dlls/mshtml enable_mshtml
20749 wine_fn_config_makefile dlls/mshtml/tests enable_tests
20750 wine_fn_config_makefile dlls/msi enable_msi
20751 wine_fn_config_makefile dlls/msi/tests enable_tests
20752 wine_fn_config_makefile dlls/msident enable_msident
20753 wine_fn_config_makefile dlls/msimg32 enable_msimg32
20754 wine_fn_config_makefile dlls/msimsg enable_msimsg
20755 wine_fn_config_makefile dlls/msimtf enable_msimtf
20756 wine_fn_config_makefile dlls/msisip enable_msisip
20757 wine_fn_config_makefile dlls/msisys.ocx enable_msisys_ocx
20758 wine_fn_config_makefile dlls/msls31 enable_msls31
20759 wine_fn_config_makefile dlls/msnet32 enable_msnet32
20760 wine_fn_config_makefile dlls/mspatcha enable_mspatcha
20761 wine_fn_config_makefile dlls/mspatcha/tests enable_tests
20762 wine_fn_config_makefile dlls/msports enable_msports
20763 wine_fn_config_makefile dlls/msrle32 enable_msrle32
20764 wine_fn_config_makefile dlls/msrle32/tests enable_tests
20765 wine_fn_config_makefile dlls/msscript.ocx enable_msscript_ocx
20766 wine_fn_config_makefile dlls/msscript.ocx/tests enable_tests
20767 wine_fn_config_makefile dlls/mssign32 enable_mssign32
20768 wine_fn_config_makefile dlls/mssip32 enable_mssip32
20769 wine_fn_config_makefile dlls/mstask enable_mstask
20770 wine_fn_config_makefile dlls/mstask/tests enable_tests
20771 wine_fn_config_makefile dlls/msv1_0 enable_msv1_0
20772 wine_fn_config_makefile dlls/msvcirt enable_msvcirt
20773 wine_fn_config_makefile dlls/msvcirt/tests enable_tests
20774 wine_fn_config_makefile dlls/msvcm80 enable_msvcm80
20775 wine_fn_config_makefile dlls/msvcm90 enable_msvcm90
20776 wine_fn_config_makefile dlls/msvcp100 enable_msvcp100
20777 wine_fn_config_makefile dlls/msvcp100/tests enable_tests
20778 wine_fn_config_makefile dlls/msvcp110 enable_msvcp110
20779 wine_fn_config_makefile dlls/msvcp110/tests enable_tests
20780 wine_fn_config_makefile dlls/msvcp120 enable_msvcp120
20781 wine_fn_config_makefile dlls/msvcp120/tests enable_tests
20782 wine_fn_config_makefile dlls/msvcp120_app enable_msvcp120_app
20783 wine_fn_config_makefile dlls/msvcp140 enable_msvcp140
20784 wine_fn_config_makefile dlls/msvcp140/tests enable_tests
20785 wine_fn_config_makefile dlls/msvcp140_1 enable_msvcp140_1
20786 wine_fn_config_makefile dlls/msvcp140_1/tests enable_tests
20787 wine_fn_config_makefile dlls/msvcp60 enable_msvcp60
20788 wine_fn_config_makefile dlls/msvcp60/tests enable_tests
20789 wine_fn_config_makefile dlls/msvcp70 enable_msvcp70
20790 wine_fn_config_makefile dlls/msvcp71 enable_msvcp71
20791 wine_fn_config_makefile dlls/msvcp80 enable_msvcp80
20792 wine_fn_config_makefile dlls/msvcp90 enable_msvcp90
20793 wine_fn_config_makefile dlls/msvcp90/tests enable_tests
20794 wine_fn_config_makefile dlls/msvcr100 enable_msvcr100
20795 wine_fn_config_makefile dlls/msvcr100/tests enable_tests
20796 wine_fn_config_makefile dlls/msvcr110 enable_msvcr110
20797 wine_fn_config_makefile dlls/msvcr110/tests enable_tests
20798 wine_fn_config_makefile dlls/msvcr120 enable_msvcr120
20799 wine_fn_config_makefile dlls/msvcr120/tests enable_tests
20800 wine_fn_config_makefile dlls/msvcr120_app enable_msvcr120_app
20801 wine_fn_config_makefile dlls/msvcr70 enable_msvcr70
20802 wine_fn_config_makefile dlls/msvcr71 enable_msvcr71
20803 wine_fn_config_makefile dlls/msvcr80 enable_msvcr80
20804 wine_fn_config_makefile dlls/msvcr90 enable_msvcr90
20805 wine_fn_config_makefile dlls/msvcr90/tests enable_tests
20806 wine_fn_config_makefile dlls/msvcrt enable_msvcrt
20807 wine_fn_config_makefile dlls/msvcrt/tests enable_tests
20808 wine_fn_config_makefile dlls/msvcrt20 enable_msvcrt20
20809 wine_fn_config_makefile dlls/msvcrt40 enable_msvcrt40
20810 wine_fn_config_makefile dlls/msvcrtd enable_msvcrtd
20811 wine_fn_config_makefile dlls/msvcrtd/tests enable_tests
20812 wine_fn_config_makefile dlls/msvfw32 enable_msvfw32
20813 wine_fn_config_makefile dlls/msvfw32/tests enable_tests
20814 wine_fn_config_makefile dlls/msvidc32 enable_msvidc32
20815 wine_fn_config_makefile dlls/msvideo.dll16 enable_win16
20816 wine_fn_config_makefile dlls/mswsock enable_mswsock
20817 wine_fn_config_makefile dlls/msxml enable_msxml
20818 wine_fn_config_makefile dlls/msxml2 enable_msxml2
20819 wine_fn_config_makefile dlls/msxml3 enable_msxml3
20820 wine_fn_config_makefile dlls/msxml3/tests enable_tests
20821 wine_fn_config_makefile dlls/msxml4 enable_msxml4
20822 wine_fn_config_makefile dlls/msxml6 enable_msxml6
20823 wine_fn_config_makefile dlls/mtxdm enable_mtxdm
20824 wine_fn_config_makefile dlls/ncrypt enable_ncrypt
20825 wine_fn_config_makefile dlls/nddeapi enable_nddeapi
20826 wine_fn_config_makefile dlls/ndis.sys enable_ndis_sys
20827 wine_fn_config_makefile dlls/ndis.sys/tests enable_tests
20828 wine_fn_config_makefile dlls/netapi32 enable_netapi32
20829 wine_fn_config_makefile dlls/netapi32/tests enable_tests
20830 wine_fn_config_makefile dlls/netcfgx enable_netcfgx
20831 wine_fn_config_makefile dlls/netcfgx/tests enable_tests
20832 wine_fn_config_makefile dlls/netio.sys enable_netio_sys
20833 wine_fn_config_makefile dlls/netprofm enable_netprofm
20834 wine_fn_config_makefile dlls/netprofm/tests enable_tests
20835 wine_fn_config_makefile dlls/netutils enable_netutils
20836 wine_fn_config_makefile dlls/newdev enable_newdev
20837 wine_fn_config_makefile dlls/ninput enable_ninput
20838 wine_fn_config_makefile dlls/ninput/tests enable_tests
20839 wine_fn_config_makefile dlls/normaliz enable_normaliz
20840 wine_fn_config_makefile dlls/npmshtml enable_npmshtml
20841 wine_fn_config_makefile dlls/npptools enable_npptools
20842 wine_fn_config_makefile dlls/ntdll enable_ntdll
20843 wine_fn_config_makefile dlls/ntdll/tests enable_tests
20844 wine_fn_config_makefile dlls/ntdsapi enable_ntdsapi
20845 wine_fn_config_makefile dlls/ntdsapi/tests enable_tests
20846 wine_fn_config_makefile dlls/ntoskrnl.exe enable_ntoskrnl_exe
20847 wine_fn_config_makefile dlls/ntoskrnl.exe/tests enable_tests
20848 wine_fn_config_makefile dlls/ntprint enable_ntprint
20849 wine_fn_config_makefile dlls/ntprint/tests enable_tests
20850 wine_fn_config_makefile dlls/objsel enable_objsel
20851 wine_fn_config_makefile dlls/odbc32 enable_odbc32
20852 wine_fn_config_makefile dlls/odbcbcp enable_odbcbcp
20853 wine_fn_config_makefile dlls/odbccp32 enable_odbccp32
20854 wine_fn_config_makefile dlls/odbccp32/tests enable_tests
20855 wine_fn_config_makefile dlls/odbccu32 enable_odbccu32
20856 wine_fn_config_makefile dlls/ole2.dll16 enable_win16
20857 wine_fn_config_makefile dlls/ole2conv.dll16 enable_win16
20858 wine_fn_config_makefile dlls/ole2disp.dll16 enable_win16
20859 wine_fn_config_makefile dlls/ole2nls.dll16 enable_win16
20860 wine_fn_config_makefile dlls/ole2prox.dll16 enable_win16
20861 wine_fn_config_makefile dlls/ole2thk.dll16 enable_win16
20862 wine_fn_config_makefile dlls/ole32 enable_ole32
20863 wine_fn_config_makefile dlls/ole32/tests enable_tests
20864 wine_fn_config_makefile dlls/oleacc enable_oleacc
20865 wine_fn_config_makefile dlls/oleacc/tests enable_tests
20866 wine_fn_config_makefile dlls/oleaut32 enable_oleaut32
20867 wine_fn_config_makefile dlls/oleaut32/tests enable_tests
20868 wine_fn_config_makefile dlls/olecli.dll16 enable_win16
20869 wine_fn_config_makefile dlls/olecli32 enable_olecli32
20870 wine_fn_config_makefile dlls/oledb32 enable_oledb32
20871 wine_fn_config_makefile dlls/oledb32/tests enable_tests
20872 wine_fn_config_makefile dlls/oledlg enable_oledlg
20873 wine_fn_config_makefile dlls/oledlg/tests enable_tests
20874 wine_fn_config_makefile dlls/olepro32 enable_olepro32
20875 wine_fn_config_makefile dlls/olesvr.dll16 enable_win16
20876 wine_fn_config_makefile dlls/olesvr32 enable_olesvr32
20877 wine_fn_config_makefile dlls/olethk32 enable_olethk32
20878 wine_fn_config_makefile dlls/opcservices enable_opcservices
20879 wine_fn_config_makefile dlls/opcservices/tests enable_tests
20880 wine_fn_config_makefile dlls/openal32 enable_openal32
20881 wine_fn_config_makefile dlls/opencl enable_opencl
20882 wine_fn_config_makefile dlls/opengl32 enable_opengl32
20883 wine_fn_config_makefile dlls/opengl32/tests enable_tests
20884 wine_fn_config_makefile dlls/packager enable_packager
20885 wine_fn_config_makefile dlls/packager/tests enable_tests
20886 wine_fn_config_makefile dlls/pdh enable_pdh
20887 wine_fn_config_makefile dlls/pdh/tests enable_tests
20888 wine_fn_config_makefile dlls/photometadatahandler enable_photometadatahandler
20889 wine_fn_config_makefile dlls/pidgen enable_pidgen
20890 wine_fn_config_makefile dlls/powrprof enable_powrprof
20891 wine_fn_config_makefile dlls/printui enable_printui
20892 wine_fn_config_makefile dlls/prntvpt enable_prntvpt
20893 wine_fn_config_makefile dlls/prntvpt/tests enable_tests
20894 wine_fn_config_makefile dlls/propsys enable_propsys
20895 wine_fn_config_makefile dlls/propsys/tests enable_tests
20896 wine_fn_config_makefile dlls/psapi enable_psapi
20897 wine_fn_config_makefile dlls/psapi/tests enable_tests
20898 wine_fn_config_makefile dlls/pstorec enable_pstorec
20899 wine_fn_config_makefile dlls/pstorec/tests enable_tests
20900 wine_fn_config_makefile dlls/pwrshplugin enable_pwrshplugin
20901 wine_fn_config_makefile dlls/qasf enable_qasf
20902 wine_fn_config_makefile dlls/qasf/tests enable_tests
20903 wine_fn_config_makefile dlls/qcap enable_qcap
20904 wine_fn_config_makefile dlls/qcap/tests enable_tests
20905 wine_fn_config_makefile dlls/qdvd enable_qdvd
20906 wine_fn_config_makefile dlls/qdvd/tests enable_tests
20907 wine_fn_config_makefile dlls/qedit enable_qedit
20908 wine_fn_config_makefile dlls/qedit/tests enable_tests
20909 wine_fn_config_makefile dlls/qmgr enable_qmgr
20910 wine_fn_config_makefile dlls/qmgr/tests enable_tests
20911 wine_fn_config_makefile dlls/qmgrprxy enable_qmgrprxy
20912 wine_fn_config_makefile dlls/quartz enable_quartz
20913 wine_fn_config_makefile dlls/quartz/tests enable_tests
20914 wine_fn_config_makefile dlls/query enable_query
20915 wine_fn_config_makefile dlls/qwave enable_qwave
20916 wine_fn_config_makefile dlls/qwave/tests enable_tests
20917 wine_fn_config_makefile dlls/rasapi16.dll16 enable_win16
20918 wine_fn_config_makefile dlls/rasapi32 enable_rasapi32
20919 wine_fn_config_makefile dlls/rasapi32/tests enable_tests
20920 wine_fn_config_makefile dlls/rasdlg enable_rasdlg
20921 wine_fn_config_makefile dlls/regapi enable_regapi
20922 wine_fn_config_makefile dlls/resutils enable_resutils
20923 wine_fn_config_makefile dlls/riched20 enable_riched20
20924 wine_fn_config_makefile dlls/riched20/tests enable_tests
20925 wine_fn_config_makefile dlls/riched32 enable_riched32
20926 wine_fn_config_makefile dlls/riched32/tests enable_tests
20927 wine_fn_config_makefile dlls/rpcrt4 enable_rpcrt4
20928 wine_fn_config_makefile dlls/rpcrt4/tests enable_tests
20929 wine_fn_config_makefile dlls/rsabase enable_rsabase
20930 wine_fn_config_makefile dlls/rsaenh enable_rsaenh
20931 wine_fn_config_makefile dlls/rsaenh/tests enable_tests
20932 wine_fn_config_makefile dlls/rstrtmgr enable_rstrtmgr
20933 wine_fn_config_makefile dlls/rtutils enable_rtutils
20934 wine_fn_config_makefile dlls/rtworkq enable_rtworkq
20935 wine_fn_config_makefile dlls/rtworkq/tests enable_tests
20936 wine_fn_config_makefile dlls/samlib enable_samlib
20937 wine_fn_config_makefile dlls/sane.ds enable_sane_ds
20938 wine_fn_config_makefile dlls/sapi enable_sapi
20939 wine_fn_config_makefile dlls/sapi/tests enable_tests
20940 wine_fn_config_makefile dlls/sas enable_sas
20941 wine_fn_config_makefile dlls/scarddlg enable_scarddlg
20942 wine_fn_config_makefile dlls/sccbase enable_sccbase
20943 wine_fn_config_makefile dlls/schannel enable_schannel
20944 wine_fn_config_makefile dlls/schannel/tests enable_tests
20945 wine_fn_config_makefile dlls/schedsvc enable_schedsvc
20946 wine_fn_config_makefile dlls/schedsvc/tests enable_tests
20947 wine_fn_config_makefile dlls/scrobj enable_scrobj
20948 wine_fn_config_makefile dlls/scrobj/tests enable_tests
20949 wine_fn_config_makefile dlls/scrrun enable_scrrun
20950 wine_fn_config_makefile dlls/scrrun/tests enable_tests
20951 wine_fn_config_makefile dlls/scsiport.sys enable_scsiport_sys
20952 wine_fn_config_makefile dlls/sechost enable_sechost
20953 wine_fn_config_makefile dlls/secur32 enable_secur32
20954 wine_fn_config_makefile dlls/secur32/tests enable_tests
20955 wine_fn_config_makefile dlls/security enable_security
20956 wine_fn_config_makefile dlls/sensapi enable_sensapi
20957 wine_fn_config_makefile dlls/serialui enable_serialui
20958 wine_fn_config_makefile dlls/serialui/tests enable_tests
20959 wine_fn_config_makefile dlls/setupapi enable_setupapi
20960 wine_fn_config_makefile dlls/setupapi/tests enable_tests
20961 wine_fn_config_makefile dlls/setupx.dll16 enable_win16
20962 wine_fn_config_makefile dlls/sfc enable_sfc
20963 wine_fn_config_makefile dlls/sfc_os enable_sfc_os
20964 wine_fn_config_makefile dlls/shcore enable_shcore
20965 wine_fn_config_makefile dlls/shcore/tests enable_tests
20966 wine_fn_config_makefile dlls/shdoclc enable_shdoclc
20967 wine_fn_config_makefile dlls/shdocvw enable_shdocvw
20968 wine_fn_config_makefile dlls/shdocvw/tests enable_tests
20969 wine_fn_config_makefile dlls/shell.dll16 enable_win16
20970 wine_fn_config_makefile dlls/shell32 enable_shell32
20971 wine_fn_config_makefile dlls/shell32/tests enable_tests
20972 wine_fn_config_makefile dlls/shfolder enable_shfolder
20973 wine_fn_config_makefile dlls/shlwapi enable_shlwapi
20974 wine_fn_config_makefile dlls/shlwapi/tests enable_tests
20975 wine_fn_config_makefile dlls/slbcsp enable_slbcsp
20976 wine_fn_config_makefile dlls/slc enable_slc
20977 wine_fn_config_makefile dlls/slc/tests enable_tests
20978 wine_fn_config_makefile dlls/snmpapi enable_snmpapi
20979 wine_fn_config_makefile dlls/snmpapi/tests enable_tests
20980 wine_fn_config_makefile dlls/softpub enable_softpub
20981 wine_fn_config_makefile dlls/sound.drv16 enable_win16
20982 wine_fn_config_makefile dlls/spoolss enable_spoolss
20983 wine_fn_config_makefile dlls/spoolss/tests enable_tests
20984 wine_fn_config_makefile dlls/sppc enable_sppc
20985 wine_fn_config_makefile dlls/srclient enable_srclient
20986 wine_fn_config_makefile dlls/srvcli enable_srvcli
20987 wine_fn_config_makefile dlls/sspicli enable_sspicli
20988 wine_fn_config_makefile dlls/stdole2.tlb enable_stdole2_tlb
20989 wine_fn_config_makefile dlls/stdole32.tlb enable_stdole32_tlb
20990 wine_fn_config_makefile dlls/sti enable_sti
20991 wine_fn_config_makefile dlls/sti/tests enable_tests
20992 wine_fn_config_makefile dlls/storage.dll16 enable_win16
20993 wine_fn_config_makefile dlls/stress.dll16 enable_win16
20994 wine_fn_config_makefile dlls/strmbase enable_strmbase
20995 wine_fn_config_makefile dlls/strmdll enable_strmdll
20996 wine_fn_config_makefile dlls/strmiids enable_strmiids
20997 wine_fn_config_makefile dlls/svrapi enable_svrapi
20998 wine_fn_config_makefile dlls/sxs enable_sxs
20999 wine_fn_config_makefile dlls/sxs/tests enable_tests
21000 wine_fn_config_makefile dlls/system.drv16 enable_win16
21001 wine_fn_config_makefile dlls/t2embed enable_t2embed
21002 wine_fn_config_makefile dlls/t2embed/tests enable_tests
21003 wine_fn_config_makefile dlls/tapi32 enable_tapi32
21004 wine_fn_config_makefile dlls/tapi32/tests enable_tests
21005 wine_fn_config_makefile dlls/taskschd enable_taskschd
21006 wine_fn_config_makefile dlls/taskschd/tests enable_tests
21007 wine_fn_config_makefile dlls/tdh enable_tdh
21008 wine_fn_config_makefile dlls/tdi.sys enable_tdi_sys
21009 wine_fn_config_makefile dlls/toolhelp.dll16 enable_win16
21010 wine_fn_config_makefile dlls/traffic enable_traffic
21011 wine_fn_config_makefile dlls/twain.dll16 enable_win16
21012 wine_fn_config_makefile dlls/twain_32 enable_twain_32
21013 wine_fn_config_makefile dlls/twain_32/tests enable_tests
21014 wine_fn_config_makefile dlls/typelib.dll16 enable_win16
21015 wine_fn_config_makefile dlls/tzres enable_tzres
21016 wine_fn_config_makefile dlls/ucrtbase enable_ucrtbase
21017 wine_fn_config_makefile dlls/ucrtbase/tests enable_tests
21018 wine_fn_config_makefile dlls/uianimation enable_uianimation
21019 wine_fn_config_makefile dlls/uianimation/tests enable_tests
21020 wine_fn_config_makefile dlls/uiautomationcore enable_uiautomationcore
21021 wine_fn_config_makefile dlls/uiautomationcore/tests enable_tests
21022 wine_fn_config_makefile dlls/uiribbon enable_uiribbon
21023 wine_fn_config_makefile dlls/unicows enable_unicows
21024 wine_fn_config_makefile dlls/updspapi enable_updspapi
21025 wine_fn_config_makefile dlls/url enable_url
21026 wine_fn_config_makefile dlls/urlmon enable_urlmon
21027 wine_fn_config_makefile dlls/urlmon/tests enable_tests
21028 wine_fn_config_makefile dlls/usbd.sys enable_usbd_sys
21029 wine_fn_config_makefile dlls/user.exe16 enable_win16
21030 wine_fn_config_makefile dlls/user32 enable_user32
21031 wine_fn_config_makefile dlls/user32/tests enable_tests
21032 wine_fn_config_makefile dlls/userenv enable_userenv
21033 wine_fn_config_makefile dlls/userenv/tests enable_tests
21034 wine_fn_config_makefile dlls/usp10 enable_usp10
21035 wine_fn_config_makefile dlls/usp10/tests enable_tests
21036 wine_fn_config_makefile dlls/utildll enable_utildll
21037 wine_fn_config_makefile dlls/uuid enable_uuid
21038 wine_fn_config_makefile dlls/uxtheme enable_uxtheme
21039 wine_fn_config_makefile dlls/uxtheme/tests enable_tests
21040 wine_fn_config_makefile dlls/vbscript enable_vbscript
21041 wine_fn_config_makefile dlls/vbscript/tests enable_tests
21042 wine_fn_config_makefile dlls/vcomp enable_vcomp
21043 wine_fn_config_makefile dlls/vcomp/tests enable_tests
21044 wine_fn_config_makefile dlls/vcomp100 enable_vcomp100
21045 wine_fn_config_makefile dlls/vcomp110 enable_vcomp110
21046 wine_fn_config_makefile dlls/vcomp110/tests enable_tests
21047 wine_fn_config_makefile dlls/vcomp120 enable_vcomp120
21048 wine_fn_config_makefile dlls/vcomp140 enable_vcomp140
21049 wine_fn_config_makefile dlls/vcomp90 enable_vcomp90
21050 wine_fn_config_makefile dlls/vcruntime140 enable_vcruntime140
21051 wine_fn_config_makefile dlls/vcruntime140_1 enable_vcruntime140_1
21052 wine_fn_config_makefile dlls/vdhcp.vxd enable_win16
21053 wine_fn_config_makefile dlls/vdmdbg enable_vdmdbg
21054 wine_fn_config_makefile dlls/ver.dll16 enable_win16
21055 wine_fn_config_makefile dlls/version enable_version
21056 wine_fn_config_makefile dlls/version/tests enable_tests
21057 wine_fn_config_makefile dlls/vga enable_vga
21058 wine_fn_config_makefile dlls/virtdisk enable_virtdisk
21059 wine_fn_config_makefile dlls/virtdisk/tests enable_tests
21060 wine_fn_config_makefile dlls/vmm.vxd enable_win16
21061 wine_fn_config_makefile dlls/vnbt.vxd enable_win16
21062 wine_fn_config_makefile dlls/vnetbios.vxd enable_win16
21063 wine_fn_config_makefile dlls/vssapi enable_vssapi
21064 wine_fn_config_makefile dlls/vtdapi.vxd enable_win16
21065 wine_fn_config_makefile dlls/vulkan-1 enable_vulkan_1
21066 wine_fn_config_makefile dlls/vulkan-1/tests enable_tests
21067 wine_fn_config_makefile dlls/vwin32.vxd enable_win16
21068 wine_fn_config_makefile dlls/w32skrnl enable_win16
21069 wine_fn_config_makefile dlls/w32sys.dll16 enable_win16
21070 wine_fn_config_makefile dlls/wbemdisp enable_wbemdisp
21071 wine_fn_config_makefile dlls/wbemdisp/tests enable_tests
21072 wine_fn_config_makefile dlls/wbemprox enable_wbemprox
21073 wine_fn_config_makefile dlls/wbemprox/tests enable_tests
21074 wine_fn_config_makefile dlls/wbemuuid enable_wbemuuid
21075 wine_fn_config_makefile dlls/wdscore enable_wdscore
21076 wine_fn_config_makefile dlls/webservices enable_webservices
21077 wine_fn_config_makefile dlls/webservices/tests enable_tests
21078 wine_fn_config_makefile dlls/websocket enable_websocket
21079 wine_fn_config_makefile dlls/wer enable_wer
21080 wine_fn_config_makefile dlls/wer/tests enable_tests
21081 wine_fn_config_makefile dlls/wevtapi enable_wevtapi
21082 wine_fn_config_makefile dlls/wevtapi/tests enable_tests
21083 wine_fn_config_makefile dlls/wevtsvc enable_wevtsvc
21084 wine_fn_config_makefile dlls/wiaservc enable_wiaservc
21085 wine_fn_config_makefile dlls/wiaservc/tests enable_tests
21086 wine_fn_config_makefile dlls/wimgapi enable_wimgapi
21087 wine_fn_config_makefile dlls/win32s16.dll16 enable_win16
21088 wine_fn_config_makefile dlls/win87em.dll16 enable_win16
21089 wine_fn_config_makefile dlls/winaspi.dll16 enable_win16
21090 wine_fn_config_makefile dlls/windebug.dll16 enable_win16
21091 wine_fn_config_makefile dlls/windows.gaming.input enable_windows_gaming_input
21092 wine_fn_config_makefile dlls/windows.gaming.input/tests enable_tests
21093 wine_fn_config_makefile dlls/windows.globalization enable_windows_globalization
21094 wine_fn_config_makefile dlls/windows.globalization/tests enable_tests
21095 wine_fn_config_makefile dlls/windows.media.devices enable_windows_media_devices
21096 wine_fn_config_makefile dlls/windows.media.devices/tests enable_tests
21097 wine_fn_config_makefile dlls/windows.media.speech enable_windows_media_speech
21098 wine_fn_config_makefile dlls/windows.media.speech/tests enable_tests
21099 wine_fn_config_makefile dlls/windowscodecs enable_windowscodecs
21100 wine_fn_config_makefile dlls/windowscodecs/tests enable_tests
21101 wine_fn_config_makefile dlls/windowscodecsext enable_windowscodecsext
21102 wine_fn_config_makefile dlls/windowscodecsext/tests enable_tests
21103 wine_fn_config_makefile dlls/winealsa.drv enable_winealsa_drv
21104 wine_fn_config_makefile dlls/wineandroid.drv enable_wineandroid_drv
21105 wine_fn_config_makefile dlls/winebus.sys enable_winebus_sys
21106 wine_fn_config_makefile dlls/winecoreaudio.drv enable_winecoreaudio_drv
21107 wine_fn_config_makefile dlls/winecrt0 enable_winecrt0
21108 wine_fn_config_makefile dlls/wined3d enable_wined3d
21109 wine_fn_config_makefile dlls/winegstreamer enable_winegstreamer
21110 wine_fn_config_makefile dlls/winehid.sys enable_winehid_sys
21111 wine_fn_config_makefile dlls/winejoystick.drv enable_winejoystick_drv
21112 wine_fn_config_makefile dlls/winemac.drv enable_winemac_drv
21113 wine_fn_config_makefile dlls/winemapi enable_winemapi
21114 wine_fn_config_makefile dlls/wineoss.drv enable_wineoss_drv
21115 wine_fn_config_makefile dlls/wineps.drv enable_wineps_drv
21116 wine_fn_config_makefile dlls/wineps16.drv16 enable_win16
21117 wine_fn_config_makefile dlls/winepulse.drv enable_winepulse_drv
21118 wine_fn_config_makefile dlls/wineqtdecoder enable_wineqtdecoder
21119 wine_fn_config_makefile dlls/wineusb.sys enable_wineusb_sys
21120 wine_fn_config_makefile dlls/winevulkan enable_winevulkan
21121 wine_fn_config_makefile dlls/winex11.drv enable_winex11_drv
21122 wine_fn_config_makefile dlls/wing.dll16 enable_win16
21123 wine_fn_config_makefile dlls/wing32 enable_wing32
21124 wine_fn_config_makefile dlls/winhttp enable_winhttp
21125 wine_fn_config_makefile dlls/winhttp/tests enable_tests
21126 wine_fn_config_makefile dlls/wininet enable_wininet
21127 wine_fn_config_makefile dlls/wininet/tests enable_tests
21128 wine_fn_config_makefile dlls/winmm enable_winmm
21129 wine_fn_config_makefile dlls/winmm/tests enable_tests
21130 wine_fn_config_makefile dlls/winnls.dll16 enable_win16
21131 wine_fn_config_makefile dlls/winnls32 enable_winnls32
21132 wine_fn_config_makefile dlls/winscard enable_winscard
21133 wine_fn_config_makefile dlls/winsock.dll16 enable_win16
21134 wine_fn_config_makefile dlls/winspool.drv enable_winspool_drv
21135 wine_fn_config_makefile dlls/winspool.drv/tests enable_tests
21136 wine_fn_config_makefile dlls/winsta enable_winsta
21137 wine_fn_config_makefile dlls/wintab.dll16 enable_win16
21138 wine_fn_config_makefile dlls/wintab32 enable_wintab32
21139 wine_fn_config_makefile dlls/wintab32/tests enable_tests
21140 wine_fn_config_makefile dlls/wintrust enable_wintrust
21141 wine_fn_config_makefile dlls/wintrust/tests enable_tests
21142 wine_fn_config_makefile dlls/winusb enable_winusb
21143 wine_fn_config_makefile dlls/wlanapi enable_wlanapi
21144 wine_fn_config_makefile dlls/wlanapi/tests enable_tests
21145 wine_fn_config_makefile dlls/wlanui enable_wlanui
21146 wine_fn_config_makefile dlls/wldap32 enable_wldap32
21147 wine_fn_config_makefile dlls/wldap32/tests enable_tests
21148 wine_fn_config_makefile dlls/wmasf enable_wmasf
21149 wine_fn_config_makefile dlls/wmcodecdspuuid enable_wmcodecdspuuid
21150 wine_fn_config_makefile dlls/wmi enable_wmi
21151 wine_fn_config_makefile dlls/wmiutils enable_wmiutils
21152 wine_fn_config_makefile dlls/wmiutils/tests enable_tests
21153 wine_fn_config_makefile dlls/wmp enable_wmp
21154 wine_fn_config_makefile dlls/wmp/tests enable_tests
21155 wine_fn_config_makefile dlls/wmphoto enable_wmphoto
21156 wine_fn_config_makefile dlls/wmvcore enable_wmvcore
21157 wine_fn_config_makefile dlls/wmvcore/tests enable_tests
21158 wine_fn_config_makefile dlls/wnaspi32 enable_wnaspi32
21159 wine_fn_config_makefile dlls/wow32 enable_win16
21160 wine_fn_config_makefile dlls/wow64cpu enable_wow64cpu
21161 wine_fn_config_makefile dlls/wpc enable_wpc
21162 wine_fn_config_makefile dlls/wpc/tests enable_tests
21163 wine_fn_config_makefile dlls/wpcap enable_wpcap
21164 wine_fn_config_makefile dlls/ws2_32 enable_ws2_32
21165 wine_fn_config_makefile dlls/ws2_32/tests enable_tests
21166 wine_fn_config_makefile dlls/wsdapi enable_wsdapi
21167 wine_fn_config_makefile dlls/wsdapi/tests enable_tests
21168 wine_fn_config_makefile dlls/wshom.ocx enable_wshom_ocx
21169 wine_fn_config_makefile dlls/wshom.ocx/tests enable_tests
21170 wine_fn_config_makefile dlls/wsnmp32 enable_wsnmp32
21171 wine_fn_config_makefile dlls/wsnmp32/tests enable_tests
21172 wine_fn_config_makefile dlls/wsock32 enable_wsock32
21173 wine_fn_config_makefile dlls/wtsapi32 enable_wtsapi32
21174 wine_fn_config_makefile dlls/wtsapi32/tests enable_tests
21175 wine_fn_config_makefile dlls/wuapi enable_wuapi
21176 wine_fn_config_makefile dlls/wuaueng enable_wuaueng
21177 wine_fn_config_makefile dlls/x3daudio1_0 enable_x3daudio1_0
21178 wine_fn_config_makefile dlls/x3daudio1_1 enable_x3daudio1_1
21179 wine_fn_config_makefile dlls/x3daudio1_2 enable_x3daudio1_2
21180 wine_fn_config_makefile dlls/x3daudio1_3 enable_x3daudio1_3
21181 wine_fn_config_makefile dlls/x3daudio1_4 enable_x3daudio1_4
21182 wine_fn_config_makefile dlls/x3daudio1_5 enable_x3daudio1_5
21183 wine_fn_config_makefile dlls/x3daudio1_6 enable_x3daudio1_6
21184 wine_fn_config_makefile dlls/x3daudio1_7 enable_x3daudio1_7
21185 wine_fn_config_makefile dlls/xactengine2_0 enable_xactengine2_0
21186 wine_fn_config_makefile dlls/xactengine2_4 enable_xactengine2_4
21187 wine_fn_config_makefile dlls/xactengine2_7 enable_xactengine2_7
21188 wine_fn_config_makefile dlls/xactengine2_9 enable_xactengine2_9
21189 wine_fn_config_makefile dlls/xactengine3_0 enable_xactengine3_0
21190 wine_fn_config_makefile dlls/xactengine3_1 enable_xactengine3_1
21191 wine_fn_config_makefile dlls/xactengine3_2 enable_xactengine3_2
21192 wine_fn_config_makefile dlls/xactengine3_3 enable_xactengine3_3
21193 wine_fn_config_makefile dlls/xactengine3_4 enable_xactengine3_4
21194 wine_fn_config_makefile dlls/xactengine3_5 enable_xactengine3_5
21195 wine_fn_config_makefile dlls/xactengine3_6 enable_xactengine3_6
21196 wine_fn_config_makefile dlls/xactengine3_7 enable_xactengine3_7
21197 wine_fn_config_makefile dlls/xactengine3_7/tests enable_tests
21198 wine_fn_config_makefile dlls/xapofx1_1 enable_xapofx1_1
21199 wine_fn_config_makefile dlls/xapofx1_2 enable_xapofx1_2
21200 wine_fn_config_makefile dlls/xapofx1_3 enable_xapofx1_3
21201 wine_fn_config_makefile dlls/xapofx1_4 enable_xapofx1_4
21202 wine_fn_config_makefile dlls/xapofx1_5 enable_xapofx1_5
21203 wine_fn_config_makefile dlls/xaudio2_0 enable_xaudio2_0
21204 wine_fn_config_makefile dlls/xaudio2_1 enable_xaudio2_1
21205 wine_fn_config_makefile dlls/xaudio2_2 enable_xaudio2_2
21206 wine_fn_config_makefile dlls/xaudio2_3 enable_xaudio2_3
21207 wine_fn_config_makefile dlls/xaudio2_4 enable_xaudio2_4
21208 wine_fn_config_makefile dlls/xaudio2_5 enable_xaudio2_5
21209 wine_fn_config_makefile dlls/xaudio2_6 enable_xaudio2_6
21210 wine_fn_config_makefile dlls/xaudio2_7 enable_xaudio2_7
21211 wine_fn_config_makefile dlls/xaudio2_7/tests enable_tests
21212 wine_fn_config_makefile dlls/xaudio2_8 enable_xaudio2_8
21213 wine_fn_config_makefile dlls/xaudio2_9 enable_xaudio2_9
21214 wine_fn_config_makefile dlls/xinput1_1 enable_xinput1_1
21215 wine_fn_config_makefile dlls/xinput1_2 enable_xinput1_2
21216 wine_fn_config_makefile dlls/xinput1_3 enable_xinput1_3
21217 wine_fn_config_makefile dlls/xinput1_3/tests enable_tests
21218 wine_fn_config_makefile dlls/xinput1_4 enable_xinput1_4
21219 wine_fn_config_makefile dlls/xinput9_1_0 enable_xinput9_1_0
21220 wine_fn_config_makefile dlls/xmllite enable_xmllite
21221 wine_fn_config_makefile dlls/xmllite/tests enable_tests
21222 wine_fn_config_makefile dlls/xolehlp enable_xolehlp
21223 wine_fn_config_makefile dlls/xpsprint enable_xpsprint
21224 wine_fn_config_makefile dlls/xpssvcs enable_xpssvcs
21225 wine_fn_config_makefile fonts enable_fonts
21226 wine_fn_config_makefile include enable_include
21227 wine_fn_config_makefile libs/port enable_port
21228 wine_fn_config_makefile libs/wine enable_wine
21229 wine_fn_config_makefile libs/wpp enable_wpp
21230 wine_fn_config_makefile loader enable_loader
21231 wine_fn_config_makefile nls enable_nls
21232 wine_fn_config_makefile po enable_po
21233 wine_fn_config_makefile programs/arp enable_arp
21234 wine_fn_config_makefile programs/aspnet_regiis enable_aspnet_regiis
21235 wine_fn_config_makefile programs/attrib enable_attrib
21236 wine_fn_config_makefile programs/cabarc enable_cabarc
21237 wine_fn_config_makefile programs/cacls enable_cacls
21238 wine_fn_config_makefile programs/chcp.com enable_chcp_com
21239 wine_fn_config_makefile programs/clock enable_clock
21240 wine_fn_config_makefile programs/cmd enable_cmd
21241 wine_fn_config_makefile programs/cmd/tests enable_tests
21242 wine_fn_config_makefile programs/conhost enable_conhost
21243 wine_fn_config_makefile programs/conhost/tests enable_tests
21244 wine_fn_config_makefile programs/control enable_control
21245 wine_fn_config_makefile programs/cscript enable_cscript
21246 wine_fn_config_makefile programs/dism enable_dism
21247 wine_fn_config_makefile programs/dplaysvr enable_dplaysvr
21248 wine_fn_config_makefile programs/dpnsvr enable_dpnsvr
21249 wine_fn_config_makefile programs/dpvsetup enable_dpvsetup
21250 wine_fn_config_makefile programs/dxdiag enable_dxdiag
21251 wine_fn_config_makefile programs/eject enable_eject
21252 wine_fn_config_makefile programs/expand enable_expand
21253 wine_fn_config_makefile programs/explorer enable_explorer
21254 wine_fn_config_makefile programs/extrac32 enable_extrac32
21255 wine_fn_config_makefile programs/fc enable_fc
21256 wine_fn_config_makefile programs/find enable_find
21257 wine_fn_config_makefile programs/find/tests enable_tests
21258 wine_fn_config_makefile programs/findstr enable_findstr
21259 wine_fn_config_makefile programs/fsutil enable_fsutil
21260 wine_fn_config_makefile programs/fsutil/tests enable_tests
21261 wine_fn_config_makefile programs/hh enable_hh
21262 wine_fn_config_makefile programs/hostname enable_hostname
21263 wine_fn_config_makefile programs/icacls enable_icacls
21264 wine_fn_config_makefile programs/icinfo enable_icinfo
21265 wine_fn_config_makefile programs/iexplore enable_iexplore
21266 wine_fn_config_makefile programs/ipconfig enable_ipconfig
21267 wine_fn_config_makefile programs/lodctr enable_lodctr
21268 wine_fn_config_makefile programs/mofcomp enable_mofcomp
21269 wine_fn_config_makefile programs/mshta enable_mshta
21270 wine_fn_config_makefile programs/msidb enable_msidb
21271 wine_fn_config_makefile programs/msiexec enable_msiexec
21272 wine_fn_config_makefile programs/msinfo32 enable_msinfo32
21273 wine_fn_config_makefile programs/net enable_net
21274 wine_fn_config_makefile programs/netsh enable_netsh
21275 wine_fn_config_makefile programs/netstat enable_netstat
21276 wine_fn_config_makefile programs/ngen enable_ngen
21277 wine_fn_config_makefile programs/notepad enable_notepad
21278 wine_fn_config_makefile programs/oleview enable_oleview
21279 wine_fn_config_makefile programs/ping enable_ping
21280 wine_fn_config_makefile programs/plugplay enable_plugplay
21281 wine_fn_config_makefile programs/powershell enable_powershell
21282 wine_fn_config_makefile programs/presentationfontcache enable_presentationfontcache
21283 wine_fn_config_makefile programs/progman enable_progman
21284 wine_fn_config_makefile programs/reg enable_reg
21285 wine_fn_config_makefile programs/reg/tests enable_tests
21286 wine_fn_config_makefile programs/regasm enable_regasm
21287 wine_fn_config_makefile programs/regedit enable_regedit
21288 wine_fn_config_makefile programs/regedit/tests enable_tests
21289 wine_fn_config_makefile programs/regini enable_regini
21290 wine_fn_config_makefile programs/regsvcs enable_regsvcs
21291 wine_fn_config_makefile programs/regsvr32 enable_regsvr32
21292 wine_fn_config_makefile programs/rpcss enable_rpcss
21293 wine_fn_config_makefile programs/rundll.exe16 enable_win16
21294 wine_fn_config_makefile programs/rundll32 enable_rundll32
21295 wine_fn_config_makefile programs/sc enable_sc
21296 wine_fn_config_makefile programs/schtasks enable_schtasks
21297 wine_fn_config_makefile programs/schtasks/tests enable_tests
21298 wine_fn_config_makefile programs/sdbinst enable_sdbinst
21299 wine_fn_config_makefile programs/secedit enable_secedit
21300 wine_fn_config_makefile programs/servicemodelreg enable_servicemodelreg
21301 wine_fn_config_makefile programs/services enable_services
21302 wine_fn_config_makefile programs/services/tests enable_tests
21303 wine_fn_config_makefile programs/shutdown enable_shutdown
21304 wine_fn_config_makefile programs/spoolsv enable_spoolsv
21305 wine_fn_config_makefile programs/start enable_start
21306 wine_fn_config_makefile programs/subst enable_subst
21307 wine_fn_config_makefile programs/svchost enable_svchost
21308 wine_fn_config_makefile programs/systeminfo enable_systeminfo
21309 wine_fn_config_makefile programs/taskkill enable_taskkill
21310 wine_fn_config_makefile programs/tasklist enable_tasklist
21311 wine_fn_config_makefile programs/taskmgr enable_taskmgr
21312 wine_fn_config_makefile programs/termsv enable_termsv
21313 wine_fn_config_makefile programs/uninstaller enable_uninstaller
21314 wine_fn_config_makefile programs/unlodctr enable_unlodctr
21315 wine_fn_config_makefile programs/view enable_view
21316 wine_fn_config_makefile programs/wevtutil enable_wevtutil
21317 wine_fn_config_makefile programs/where enable_where
21318 wine_fn_config_makefile programs/whoami enable_whoami
21319 wine_fn_config_makefile programs/wineboot enable_wineboot
21320 wine_fn_config_makefile programs/winebrowser enable_winebrowser
21321 wine_fn_config_makefile programs/winecfg enable_winecfg
21322 wine_fn_config_makefile programs/wineconsole enable_wineconsole
21323 wine_fn_config_makefile programs/winedbg enable_winedbg
21324 wine_fn_config_makefile programs/winedevice enable_winedevice
21325 wine_fn_config_makefile programs/winefile enable_winefile
21326 wine_fn_config_makefile programs/winemenubuilder enable_winemenubuilder
21327 wine_fn_config_makefile programs/winemine enable_winemine
21328 wine_fn_config_makefile programs/winemsibuilder enable_winemsibuilder
21329 wine_fn_config_makefile programs/winepath enable_winepath
21330 wine_fn_config_makefile programs/winetest enable_winetest
21331 wine_fn_config_makefile programs/winevdm enable_win16
21332 wine_fn_config_makefile programs/winhelp.exe16 enable_win16
21333 wine_fn_config_makefile programs/winhlp32 enable_winhlp32
21334 wine_fn_config_makefile programs/winmgmt enable_winmgmt
21335 wine_fn_config_makefile programs/winoldap.mod16 enable_win16
21336 wine_fn_config_makefile programs/winver enable_winver
21337 wine_fn_config_makefile programs/wmic enable_wmic
21338 wine_fn_config_makefile programs/wmplayer enable_wmplayer
21339 wine_fn_config_makefile programs/wordpad enable_wordpad
21340 wine_fn_config_makefile programs/write enable_write
21341 wine_fn_config_makefile programs/wscript enable_wscript
21342 wine_fn_config_makefile programs/wscript/tests enable_tests
21343 wine_fn_config_makefile programs/wuauserv enable_wuauserv
21344 wine_fn_config_makefile programs/wusa enable_wusa
21345 wine_fn_config_makefile programs/xcopy enable_xcopy
21346 wine_fn_config_makefile programs/xcopy/tests enable_tests
21347 wine_fn_config_makefile server enable_server
21348 test "x$enable_tools" = xno || wine_fn_config_makefile tools enable_tools
21349 test "x$enable_tools" = xno || wine_fn_config_makefile tools/sfnt2fon enable_sfnt2fon
21350 test "x$enable_tools" = xno || wine_fn_config_makefile tools/widl enable_widl
21351 test "x$enable_tools" = xno || wine_fn_config_makefile tools/winebuild enable_winebuild
21352 test "x$enable_tools" = xno || wine_fn_config_makefile tools/winedump enable_winedump
21353 test "x$enable_tools" = xno || wine_fn_config_makefile tools/winegcc enable_winegcc
21354 test "x$enable_tools" = xno || wine_fn_config_makefile tools/winemaker enable_winemaker
21355 test "x$enable_tools" = xno || wine_fn_config_makefile tools/wmc enable_wmc
21356 test "x$enable_tools" = xno || wine_fn_config_makefile tools/wrc enable_wrc
21359 wine_fn_append_file CONFIGURE_TARGETS "TAGS"
21360 wine_fn_append_file CONFIGURE_TARGETS "tags"
21361 wine_fn_append_file CONFIGURE_TARGETS "autom4te.cache"
21362 wine_fn_append_file CONFIGURE_TARGETS "config.log"
21363 wine_fn_append_file CONFIGURE_TARGETS "config.status"
21364 wine_fn_append_file CONFIGURE_TARGETS "include/config.h"
21365 wine_fn_append_file CONFIGURE_TARGETS "include/stamp-h"
21366 test "$wine_binary" = wine || wine_fn_append_file CONFIGURE_TARGETS "loader/wine"
21368 if test "x$enable_tools" != xno
21369 then
21370 wine_fn_append_file CONFIGURE_TARGETS "tools/makedep$ac_exeext"
21371 ac_config_commands="$ac_config_commands tools/makedep"
21375 ac_config_commands="$ac_config_commands Makefile"
21378 ac_config_files="$ac_config_files Make.tmp:Makefile.in"
21382 if test "x$enable_maintainer_mode" = xyes
21383 then
21384 wine_fn_append_rule "configure: configure.ac aclocal.m4
21385 autoconf --warnings=all
21386 include/config.h.in: include/stamp-h.in
21387 include/stamp-h.in: configure.ac aclocal.m4
21388 autoheader --warnings=all
21389 @echo timestamp > \$@"
21392 if test "x$enable_tools" != xno
21393 then
21394 wine_fn_append_rule "tools/makedep$ac_exeext: $srcdir/tools/makedep.c include/config.h config.status
21395 @./config.status tools/makedep
21396 Makefile: tools/makedep$ac_exeext"
21397 else
21398 wine_fn_append_rule "\$(MAKEDEP):
21399 @echo \"You need to run make in $TOOLSDIR first\" && false"
21402 if test -n "$with_wine64"
21403 then
21404 case "$with_wine64" in
21405 /*) reldir="" ;;
21406 *) reldir="../" ;;
21407 esac
21408 rm -f fonts server 2>/dev/null
21409 wine_fn_append_rule "all: loader/wine64 loader/wine64-preloader $with_wine64/loader/wine $with_wine64/loader/wine-preloader
21410 loader/wine64 loader/wine64-preloader:
21411 rm -f \$@ && \$(LN_S) $reldir$with_wine64/\$@ \$@
21412 $with_wine64/loader/wine:
21413 rm -f \$@ && \$(LN_S) $ac_pwd/loader/wine \$@
21414 $with_wine64/loader/wine-preloader:
21415 rm -f \$@ && \$(LN_S) $ac_pwd/loader/wine-preloader \$@
21416 clean::
21417 rm -f loader/wine64 loader/wine64-preloader $with_wine64/loader/wine $with_wine64/loader/wine-preloader"
21418 else
21419 TOP_INSTALL_DEV="$TOP_INSTALL_DEV include"
21420 TOP_INSTALL_LIB="$TOP_INSTALL_LIB \
21421 fonts \
21422 loader/wine.inf \
21423 nls \
21424 programs/msidb/msidb \
21425 programs/msiexec/msiexec \
21426 programs/notepad/notepad \
21427 programs/regedit/regedit \
21428 programs/regsvr32/regsvr32 \
21429 programs/wineboot/wineboot \
21430 programs/winecfg/winecfg \
21431 programs/wineconsole/wineconsole \
21432 programs/winedbg/winedbg \
21433 programs/winefile/winefile \
21434 programs/winemine/winemine \
21435 programs/winepath/winepath \
21436 server/wineserver"
21438 case $host_os in
21439 cygwin*|mingw32*|darwin*|macosx*|linux-android*) ;;
21440 *) TOP_INSTALL_LIB="$TOP_INSTALL_LIB loader/wine.desktop" ;;
21441 esac
21444 $as_echo " done" >&6
21445 cat >confcache <<\_ACEOF
21446 # This file is a shell script that caches the results of configure
21447 # tests run on this system so they can be shared between configure
21448 # scripts and configure runs, see configure's option --config-cache.
21449 # It is not useful on other systems. If it contains results you don't
21450 # want to keep, you may remove or edit it.
21452 # config.status only pays attention to the cache file if you give it
21453 # the --recheck option to rerun configure.
21455 # `ac_cv_env_foo' variables (set or unset) will be overridden when
21456 # loading this file, other *unset* `ac_cv_foo' will be assigned the
21457 # following values.
21459 _ACEOF
21461 # The following way of writing the cache mishandles newlines in values,
21462 # but we know of no workaround that is simple, portable, and efficient.
21463 # So, we kill variables containing newlines.
21464 # Ultrix sh set writes to stderr and can't be redirected directly,
21465 # and sets the high bit in the cache file unless we assign to the vars.
21467 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
21468 eval ac_val=\$$ac_var
21469 case $ac_val in #(
21470 *${as_nl}*)
21471 case $ac_var in #(
21472 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
21473 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
21474 esac
21475 case $ac_var in #(
21476 _ | IFS | as_nl) ;; #(
21477 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
21478 *) { eval $ac_var=; unset $ac_var;} ;;
21479 esac ;;
21480 esac
21481 done
21483 (set) 2>&1 |
21484 case $as_nl`(ac_space=' '; set) 2>&1` in #(
21485 *${as_nl}ac_space=\ *)
21486 # `set' does not quote correctly, so add quotes: double-quote
21487 # substitution turns \\\\ into \\, and sed turns \\ into \.
21488 sed -n \
21489 "s/'/'\\\\''/g;
21490 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
21491 ;; #(
21493 # `set' quotes correctly as required by POSIX, so do not add quotes.
21494 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
21496 esac |
21497 sort
21499 sed '
21500 /^ac_cv_env_/b end
21501 t clear
21502 :clear
21503 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
21504 t end
21505 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
21506 :end' >>confcache
21507 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
21508 if test -w "$cache_file"; then
21509 if test "x$cache_file" != "x/dev/null"; then
21510 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
21511 $as_echo "$as_me: updating cache $cache_file" >&6;}
21512 if test ! -f "$cache_file" || test -h "$cache_file"; then
21513 cat confcache >"$cache_file"
21514 else
21515 case $cache_file in #(
21516 */* | ?:*)
21517 mv -f confcache "$cache_file"$$ &&
21518 mv -f "$cache_file"$$ "$cache_file" ;; #(
21520 mv -f confcache "$cache_file" ;;
21521 esac
21524 else
21525 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
21526 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
21529 rm -f confcache
21531 test "x$prefix" = xNONE && prefix=$ac_default_prefix
21532 # Let make expand exec_prefix.
21533 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
21535 DEFS=-DHAVE_CONFIG_H
21537 ac_libobjs=
21538 ac_ltlibobjs=
21540 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
21541 # 1. Remove the extension, and $U if already installed.
21542 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
21543 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
21544 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
21545 # will be set to the directory where LIBOBJS objects are built.
21546 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
21547 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
21548 done
21549 LIBOBJS=$ac_libobjs
21551 LTLIBOBJS=$ac_ltlibobjs
21555 : "${CONFIG_STATUS=./config.status}"
21556 ac_write_fail=0
21557 ac_clean_files_save=$ac_clean_files
21558 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
21559 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
21560 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
21561 as_write_fail=0
21562 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
21563 #! $SHELL
21564 # Generated by $as_me.
21565 # Run this file to recreate the current configuration.
21566 # Compiler output produced by configure, useful for debugging
21567 # configure, is in config.log if it exists.
21569 debug=false
21570 ac_cs_recheck=false
21571 ac_cs_silent=false
21573 SHELL=\${CONFIG_SHELL-$SHELL}
21574 export SHELL
21575 _ASEOF
21576 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
21577 ## -------------------- ##
21578 ## M4sh Initialization. ##
21579 ## -------------------- ##
21581 # Be more Bourne compatible
21582 DUALCASE=1; export DUALCASE # for MKS sh
21583 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
21584 emulate sh
21585 NULLCMD=:
21586 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
21587 # is contrary to our usage. Disable this feature.
21588 alias -g '${1+"$@"}'='"$@"'
21589 setopt NO_GLOB_SUBST
21590 else
21591 case `(set -o) 2>/dev/null` in #(
21592 *posix*) :
21593 set -o posix ;; #(
21594 *) :
21596 esac
21600 as_nl='
21602 export as_nl
21603 # Printing a long string crashes Solaris 7 /usr/bin/printf.
21604 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
21605 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
21606 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
21607 # Prefer a ksh shell builtin over an external printf program on Solaris,
21608 # but without wasting forks for bash or zsh.
21609 if test -z "$BASH_VERSION$ZSH_VERSION" \
21610 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
21611 as_echo='print -r --'
21612 as_echo_n='print -rn --'
21613 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
21614 as_echo='printf %s\n'
21615 as_echo_n='printf %s'
21616 else
21617 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
21618 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
21619 as_echo_n='/usr/ucb/echo -n'
21620 else
21621 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
21622 as_echo_n_body='eval
21623 arg=$1;
21624 case $arg in #(
21625 *"$as_nl"*)
21626 expr "X$arg" : "X\\(.*\\)$as_nl";
21627 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
21628 esac;
21629 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
21631 export as_echo_n_body
21632 as_echo_n='sh -c $as_echo_n_body as_echo'
21634 export as_echo_body
21635 as_echo='sh -c $as_echo_body as_echo'
21638 # The user is always right.
21639 if test "${PATH_SEPARATOR+set}" != set; then
21640 PATH_SEPARATOR=:
21641 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
21642 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
21643 PATH_SEPARATOR=';'
21648 # IFS
21649 # We need space, tab and new line, in precisely that order. Quoting is
21650 # there to prevent editors from complaining about space-tab.
21651 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
21652 # splitting by setting IFS to empty value.)
21653 IFS=" "" $as_nl"
21655 # Find who we are. Look in the path if we contain no directory separator.
21656 as_myself=
21657 case $0 in #((
21658 *[\\/]* ) as_myself=$0 ;;
21659 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
21660 for as_dir in $PATH
21662 IFS=$as_save_IFS
21663 test -z "$as_dir" && as_dir=.
21664 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
21665 done
21666 IFS=$as_save_IFS
21669 esac
21670 # We did not find ourselves, most probably we were run as `sh COMMAND'
21671 # in which case we are not to be found in the path.
21672 if test "x$as_myself" = x; then
21673 as_myself=$0
21675 if test ! -f "$as_myself"; then
21676 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
21677 exit 1
21680 # Unset variables that we do not need and which cause bugs (e.g. in
21681 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
21682 # suppresses any "Segmentation fault" message there. '((' could
21683 # trigger a bug in pdksh 5.2.14.
21684 for as_var in BASH_ENV ENV MAIL MAILPATH
21685 do eval test x\${$as_var+set} = xset \
21686 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
21687 done
21688 PS1='$ '
21689 PS2='> '
21690 PS4='+ '
21692 # NLS nuisances.
21693 LC_ALL=C
21694 export LC_ALL
21695 LANGUAGE=C
21696 export LANGUAGE
21698 # CDPATH.
21699 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
21702 # as_fn_error STATUS ERROR [LINENO LOG_FD]
21703 # ----------------------------------------
21704 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
21705 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
21706 # script with STATUS, using 1 if that was 0.
21707 as_fn_error ()
21709 as_status=$1; test $as_status -eq 0 && as_status=1
21710 if test "$4"; then
21711 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
21712 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
21714 $as_echo "$as_me: error: $2" >&2
21715 as_fn_exit $as_status
21716 } # as_fn_error
21719 # as_fn_set_status STATUS
21720 # -----------------------
21721 # Set $? to STATUS, without forking.
21722 as_fn_set_status ()
21724 return $1
21725 } # as_fn_set_status
21727 # as_fn_exit STATUS
21728 # -----------------
21729 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
21730 as_fn_exit ()
21732 set +e
21733 as_fn_set_status $1
21734 exit $1
21735 } # as_fn_exit
21737 # as_fn_unset VAR
21738 # ---------------
21739 # Portably unset VAR.
21740 as_fn_unset ()
21742 { eval $1=; unset $1;}
21744 as_unset=as_fn_unset
21745 # as_fn_append VAR VALUE
21746 # ----------------------
21747 # Append the text in VALUE to the end of the definition contained in VAR. Take
21748 # advantage of any shell optimizations that allow amortized linear growth over
21749 # repeated appends, instead of the typical quadratic growth present in naive
21750 # implementations.
21751 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
21752 eval 'as_fn_append ()
21754 eval $1+=\$2
21756 else
21757 as_fn_append ()
21759 eval $1=\$$1\$2
21761 fi # as_fn_append
21763 # as_fn_arith ARG...
21764 # ------------------
21765 # Perform arithmetic evaluation on the ARGs, and store the result in the
21766 # global $as_val. Take advantage of shells that can avoid forks. The arguments
21767 # must be portable across $(()) and expr.
21768 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
21769 eval 'as_fn_arith ()
21771 as_val=$(( $* ))
21773 else
21774 as_fn_arith ()
21776 as_val=`expr "$@" || test $? -eq 1`
21778 fi # as_fn_arith
21781 if expr a : '\(a\)' >/dev/null 2>&1 &&
21782 test "X`expr 00001 : '.*\(...\)'`" = X001; then
21783 as_expr=expr
21784 else
21785 as_expr=false
21788 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
21789 as_basename=basename
21790 else
21791 as_basename=false
21794 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
21795 as_dirname=dirname
21796 else
21797 as_dirname=false
21800 as_me=`$as_basename -- "$0" ||
21801 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
21802 X"$0" : 'X\(//\)$' \| \
21803 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
21804 $as_echo X/"$0" |
21805 sed '/^.*\/\([^/][^/]*\)\/*$/{
21806 s//\1/
21809 /^X\/\(\/\/\)$/{
21810 s//\1/
21813 /^X\/\(\/\).*/{
21814 s//\1/
21817 s/.*/./; q'`
21819 # Avoid depending upon Character Ranges.
21820 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
21821 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
21822 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
21823 as_cr_digits='0123456789'
21824 as_cr_alnum=$as_cr_Letters$as_cr_digits
21826 ECHO_C= ECHO_N= ECHO_T=
21827 case `echo -n x` in #(((((
21828 -n*)
21829 case `echo 'xy\c'` in
21830 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
21831 xy) ECHO_C='\c';;
21832 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
21833 ECHO_T=' ';;
21834 esac;;
21836 ECHO_N='-n';;
21837 esac
21839 rm -f conf$$ conf$$.exe conf$$.file
21840 if test -d conf$$.dir; then
21841 rm -f conf$$.dir/conf$$.file
21842 else
21843 rm -f conf$$.dir
21844 mkdir conf$$.dir 2>/dev/null
21846 if (echo >conf$$.file) 2>/dev/null; then
21847 if ln -s conf$$.file conf$$ 2>/dev/null; then
21848 as_ln_s='ln -s'
21849 # ... but there are two gotchas:
21850 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
21851 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
21852 # In both cases, we have to default to `cp -pR'.
21853 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
21854 as_ln_s='cp -pR'
21855 elif ln conf$$.file conf$$ 2>/dev/null; then
21856 as_ln_s=ln
21857 else
21858 as_ln_s='cp -pR'
21860 else
21861 as_ln_s='cp -pR'
21863 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
21864 rmdir conf$$.dir 2>/dev/null
21867 # as_fn_mkdir_p
21868 # -------------
21869 # Create "$as_dir" as a directory, including parents if necessary.
21870 as_fn_mkdir_p ()
21873 case $as_dir in #(
21874 -*) as_dir=./$as_dir;;
21875 esac
21876 test -d "$as_dir" || eval $as_mkdir_p || {
21877 as_dirs=
21878 while :; do
21879 case $as_dir in #(
21880 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
21881 *) as_qdir=$as_dir;;
21882 esac
21883 as_dirs="'$as_qdir' $as_dirs"
21884 as_dir=`$as_dirname -- "$as_dir" ||
21885 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21886 X"$as_dir" : 'X\(//\)[^/]' \| \
21887 X"$as_dir" : 'X\(//\)$' \| \
21888 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
21889 $as_echo X"$as_dir" |
21890 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
21891 s//\1/
21894 /^X\(\/\/\)[^/].*/{
21895 s//\1/
21898 /^X\(\/\/\)$/{
21899 s//\1/
21902 /^X\(\/\).*/{
21903 s//\1/
21906 s/.*/./; q'`
21907 test -d "$as_dir" && break
21908 done
21909 test -z "$as_dirs" || eval "mkdir $as_dirs"
21910 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
21913 } # as_fn_mkdir_p
21914 if mkdir -p . 2>/dev/null; then
21915 as_mkdir_p='mkdir -p "$as_dir"'
21916 else
21917 test -d ./-p && rmdir ./-p
21918 as_mkdir_p=false
21922 # as_fn_executable_p FILE
21923 # -----------------------
21924 # Test if FILE is an executable regular file.
21925 as_fn_executable_p ()
21927 test -f "$1" && test -x "$1"
21928 } # as_fn_executable_p
21929 as_test_x='test -x'
21930 as_executable_p=as_fn_executable_p
21932 # Sed expression to map a string onto a valid CPP name.
21933 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
21935 # Sed expression to map a string onto a valid variable name.
21936 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
21939 exec 6>&1
21940 ## ----------------------------------- ##
21941 ## Main body of $CONFIG_STATUS script. ##
21942 ## ----------------------------------- ##
21943 _ASEOF
21944 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
21946 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
21947 # Save the log message, to keep $0 and so on meaningful, and to
21948 # report actual input values of CONFIG_FILES etc. instead of their
21949 # values after options handling.
21950 ac_log="
21951 This file was extended by Wine $as_me 6.10, which was
21952 generated by GNU Autoconf 2.69. Invocation command line was
21954 CONFIG_FILES = $CONFIG_FILES
21955 CONFIG_HEADERS = $CONFIG_HEADERS
21956 CONFIG_LINKS = $CONFIG_LINKS
21957 CONFIG_COMMANDS = $CONFIG_COMMANDS
21958 $ $0 $@
21960 on `(hostname || uname -n) 2>/dev/null | sed 1q`
21963 _ACEOF
21965 case $ac_config_files in *"
21966 "*) set x $ac_config_files; shift; ac_config_files=$*;;
21967 esac
21969 case $ac_config_headers in *"
21970 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
21971 esac
21974 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
21975 # Files that config.status was made for.
21976 config_files="$ac_config_files"
21977 config_headers="$ac_config_headers"
21978 config_links="$ac_config_links"
21979 config_commands="$ac_config_commands"
21981 _ACEOF
21983 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
21984 ac_cs_usage="\
21985 \`$as_me' instantiates files and other configuration actions
21986 from templates according to the current configuration. Unless the files
21987 and actions are specified as TAGs, all are instantiated by default.
21989 Usage: $0 [OPTION]... [TAG]...
21991 -h, --help print this help, then exit
21992 -V, --version print version number and configuration settings, then exit
21993 --config print configuration, then exit
21994 -q, --quiet, --silent
21995 do not print progress messages
21996 -d, --debug don't remove temporary files
21997 --recheck update $as_me by reconfiguring in the same conditions
21998 --file=FILE[:TEMPLATE]
21999 instantiate the configuration file FILE
22000 --header=FILE[:TEMPLATE]
22001 instantiate the configuration header FILE
22003 Configuration files:
22004 $config_files
22006 Configuration headers:
22007 $config_headers
22009 Configuration links:
22010 $config_links
22012 Configuration commands:
22013 $config_commands
22015 Report bugs to <wine-devel@winehq.org>.
22016 Wine home page: <https://www.winehq.org>."
22018 _ACEOF
22019 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22020 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
22021 ac_cs_version="\\
22022 Wine config.status 6.10
22023 configured by $0, generated by GNU Autoconf 2.69,
22024 with options \\"\$ac_cs_config\\"
22026 Copyright (C) 2012 Free Software Foundation, Inc.
22027 This config.status script is free software; the Free Software Foundation
22028 gives unlimited permission to copy, distribute and modify it."
22030 ac_pwd='$ac_pwd'
22031 srcdir='$srcdir'
22032 test -n "\$AWK" || AWK=awk
22033 _ACEOF
22035 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22036 # The default lists apply if the user does not specify any file.
22037 ac_need_defaults=:
22038 while test $# != 0
22040 case $1 in
22041 --*=?*)
22042 ac_option=`expr "X$1" : 'X\([^=]*\)='`
22043 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
22044 ac_shift=:
22046 --*=)
22047 ac_option=`expr "X$1" : 'X\([^=]*\)='`
22048 ac_optarg=
22049 ac_shift=:
22052 ac_option=$1
22053 ac_optarg=$2
22054 ac_shift=shift
22056 esac
22058 case $ac_option in
22059 # Handling of the options.
22060 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
22061 ac_cs_recheck=: ;;
22062 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
22063 $as_echo "$ac_cs_version"; exit ;;
22064 --config | --confi | --conf | --con | --co | --c )
22065 $as_echo "$ac_cs_config"; exit ;;
22066 --debug | --debu | --deb | --de | --d | -d )
22067 debug=: ;;
22068 --file | --fil | --fi | --f )
22069 $ac_shift
22070 case $ac_optarg in
22071 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
22072 '') as_fn_error $? "missing file argument" ;;
22073 esac
22074 as_fn_append CONFIG_FILES " '$ac_optarg'"
22075 ac_need_defaults=false;;
22076 --header | --heade | --head | --hea )
22077 $ac_shift
22078 case $ac_optarg in
22079 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
22080 esac
22081 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
22082 ac_need_defaults=false;;
22083 --he | --h)
22084 # Conflict between --help and --header
22085 as_fn_error $? "ambiguous option: \`$1'
22086 Try \`$0 --help' for more information.";;
22087 --help | --hel | -h )
22088 $as_echo "$ac_cs_usage"; exit ;;
22089 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
22090 | -silent | --silent | --silen | --sile | --sil | --si | --s)
22091 ac_cs_silent=: ;;
22093 # This is an error.
22094 -*) as_fn_error $? "unrecognized option: \`$1'
22095 Try \`$0 --help' for more information." ;;
22097 *) as_fn_append ac_config_targets " $1"
22098 ac_need_defaults=false ;;
22100 esac
22101 shift
22102 done
22104 ac_configure_extra_args=
22106 if $ac_cs_silent; then
22107 exec 6>/dev/null
22108 ac_configure_extra_args="$ac_configure_extra_args --silent"
22111 _ACEOF
22112 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22113 if \$ac_cs_recheck; then
22114 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
22115 shift
22116 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
22117 CONFIG_SHELL='$SHELL'
22118 export CONFIG_SHELL
22119 exec "\$@"
22122 _ACEOF
22123 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22124 exec 5>>config.log
22126 echo
22127 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
22128 ## Running $as_me. ##
22129 _ASBOX
22130 $as_echo "$ac_log"
22131 } >&5
22133 _ACEOF
22134 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22136 # INIT-COMMANDS
22138 wine_fn_output_makedep ()
22140 as_dir=tools; as_fn_mkdir_p
22141 $CC -Iinclude -I$srcdir/include -D__WINESRC__ $EXTRACFLAGS $CPPFLAGS $CFLAGS -o tools/makedep$ac_exeext $srcdir/tools/makedep.c $LDFLAGS
22143 wine_fn_output_makefile ()
22145 cat Make.tmp - <<\_WINE_EOF >\$tmp/makefile && mv -f \$tmp/makefile \$1 && rm -f Make.tmp && "$wine_makedep"$makedep_flags && return
22146 `cat $wine_rules_file`
22147 _WINE_EOF
22148 as_fn_error $? "could not create Makefile" "$LINENO" 5
22151 _ACEOF
22153 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22155 # Handling of arguments.
22156 for ac_config_target in $ac_config_targets
22158 case $ac_config_target in
22159 "include/config.h") CONFIG_HEADERS="$CONFIG_HEADERS include/config.h" ;;
22160 "include/stamp-h") CONFIG_COMMANDS="$CONFIG_COMMANDS include/stamp-h" ;;
22161 "wine") CONFIG_LINKS="$CONFIG_LINKS wine:tools/winewrapper" ;;
22162 "wine64") CONFIG_LINKS="$CONFIG_LINKS wine64:tools/winewrapper" ;;
22163 "tools/makedep") CONFIG_COMMANDS="$CONFIG_COMMANDS tools/makedep" ;;
22164 "Makefile") CONFIG_COMMANDS="$CONFIG_COMMANDS Makefile" ;;
22165 "Make.tmp") CONFIG_FILES="$CONFIG_FILES Make.tmp:Makefile.in" ;;
22167 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
22168 esac
22169 done
22172 # If the user did not use the arguments to specify the items to instantiate,
22173 # then the envvar interface is used. Set only those that are not.
22174 # We use the long form for the default assignment because of an extremely
22175 # bizarre bug on SunOS 4.1.3.
22176 if $ac_need_defaults; then
22177 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
22178 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
22179 test "${CONFIG_LINKS+set}" = set || CONFIG_LINKS=$config_links
22180 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
22183 # Have a temporary directory for convenience. Make it in the build tree
22184 # simply because there is no reason against having it here, and in addition,
22185 # creating and moving files from /tmp can sometimes cause problems.
22186 # Hook for its removal unless debugging.
22187 # Note that there is a small window in which the directory will not be cleaned:
22188 # after its creation but before its name has been assigned to `$tmp'.
22189 $debug ||
22191 tmp= ac_tmp=
22192 trap 'exit_status=$?
22193 : "${ac_tmp:=$tmp}"
22194 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
22196 trap 'as_fn_exit 1' 1 2 13 15
22198 # Create a (secure) tmp directory for tmp files.
22201 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
22202 test -d "$tmp"
22203 } ||
22205 tmp=./conf$$-$RANDOM
22206 (umask 077 && mkdir "$tmp")
22207 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
22208 ac_tmp=$tmp
22210 # Set up the scripts for CONFIG_FILES section.
22211 # No need to generate them if there are no CONFIG_FILES.
22212 # This happens for instance with `./config.status config.h'.
22213 if test -n "$CONFIG_FILES"; then
22216 ac_cr=`echo X | tr X '\015'`
22217 # On cygwin, bash can eat \r inside `` if the user requested igncr.
22218 # But we know of no other shell where ac_cr would be empty at this
22219 # point, so we can use a bashism as a fallback.
22220 if test "x$ac_cr" = x; then
22221 eval ac_cr=\$\'\\r\'
22223 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
22224 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
22225 ac_cs_awk_cr='\\r'
22226 else
22227 ac_cs_awk_cr=$ac_cr
22230 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
22231 _ACEOF
22235 echo "cat >conf$$subs.awk <<_ACEOF" &&
22236 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
22237 echo "_ACEOF"
22238 } >conf$$subs.sh ||
22239 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
22240 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
22241 ac_delim='%!_!# '
22242 for ac_last_try in false false false false false :; do
22243 . ./conf$$subs.sh ||
22244 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
22246 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
22247 if test $ac_delim_n = $ac_delim_num; then
22248 break
22249 elif $ac_last_try; then
22250 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
22251 else
22252 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
22254 done
22255 rm -f conf$$subs.sh
22257 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22258 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
22259 _ACEOF
22260 sed -n '
22262 s/^/S["/; s/!.*/"]=/
22265 s/^[^!]*!//
22266 :repl
22267 t repl
22268 s/'"$ac_delim"'$//
22269 t delim
22272 s/\(.\{148\}\)..*/\1/
22273 t more1
22274 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
22277 b repl
22278 :more1
22279 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
22282 s/.\{148\}//
22283 t nl
22284 :delim
22286 s/\(.\{148\}\)..*/\1/
22287 t more2
22288 s/["\\]/\\&/g; s/^/"/; s/$/"/
22291 :more2
22292 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
22295 s/.\{148\}//
22296 t delim
22297 ' <conf$$subs.awk | sed '
22298 /^[^""]/{
22300 s/\n//
22302 ' >>$CONFIG_STATUS || ac_write_fail=1
22303 rm -f conf$$subs.awk
22304 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22305 _ACAWK
22306 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
22307 for (key in S) S_is_set[key] = 1
22308 FS = "\a"
22312 line = $ 0
22313 nfields = split(line, field, "@")
22314 substed = 0
22315 len = length(field[1])
22316 for (i = 2; i < nfields; i++) {
22317 key = field[i]
22318 keylen = length(key)
22319 if (S_is_set[key]) {
22320 value = S[key]
22321 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
22322 len += length(value) + length(field[++i])
22323 substed = 1
22324 } else
22325 len += 1 + keylen
22328 print line
22331 _ACAWK
22332 _ACEOF
22333 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22334 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
22335 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
22336 else
22338 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
22339 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
22340 _ACEOF
22342 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
22343 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
22344 # trailing colons and then remove the whole line if VPATH becomes empty
22345 # (actually we leave an empty line to preserve line numbers).
22346 if test "x$srcdir" = x.; then
22347 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
22349 s///
22350 s/^/:/
22351 s/[ ]*$/:/
22352 s/:\$(srcdir):/:/g
22353 s/:\${srcdir}:/:/g
22354 s/:@srcdir@:/:/g
22355 s/^:*//
22356 s/:*$//
22358 s/\(=[ ]*\).*/\1/
22360 s/\n//
22361 s/^[^=]*=[ ]*$//
22365 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22366 fi # test -n "$CONFIG_FILES"
22368 # Set up the scripts for CONFIG_HEADERS section.
22369 # No need to generate them if there are no CONFIG_HEADERS.
22370 # This happens for instance with `./config.status Makefile'.
22371 if test -n "$CONFIG_HEADERS"; then
22372 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
22373 BEGIN {
22374 _ACEOF
22376 # Transform confdefs.h into an awk script `defines.awk', embedded as
22377 # here-document in config.status, that substitutes the proper values into
22378 # config.h.in to produce config.h.
22380 # Create a delimiter string that does not exist in confdefs.h, to ease
22381 # handling of long lines.
22382 ac_delim='%!_!# '
22383 for ac_last_try in false false :; do
22384 ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
22385 if test -z "$ac_tt"; then
22386 break
22387 elif $ac_last_try; then
22388 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
22389 else
22390 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
22392 done
22394 # For the awk script, D is an array of macro values keyed by name,
22395 # likewise P contains macro parameters if any. Preserve backslash
22396 # newline sequences.
22398 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
22399 sed -n '
22400 s/.\{148\}/&'"$ac_delim"'/g
22401 t rset
22402 :rset
22403 s/^[ ]*#[ ]*define[ ][ ]*/ /
22404 t def
22406 :def
22407 s/\\$//
22408 t bsnl
22409 s/["\\]/\\&/g
22410 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
22411 D["\1"]=" \3"/p
22412 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
22414 :bsnl
22415 s/["\\]/\\&/g
22416 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
22417 D["\1"]=" \3\\\\\\n"\\/p
22418 t cont
22419 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
22420 t cont
22422 :cont
22424 s/.\{148\}/&'"$ac_delim"'/g
22425 t clear
22426 :clear
22427 s/\\$//
22428 t bsnlc
22429 s/["\\]/\\&/g; s/^/"/; s/$/"/p
22431 :bsnlc
22432 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
22433 b cont
22434 ' <confdefs.h | sed '
22435 s/'"$ac_delim"'/"\\\
22436 "/g' >>$CONFIG_STATUS || ac_write_fail=1
22438 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22439 for (key in D) D_is_set[key] = 1
22440 FS = "\a"
22442 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
22443 line = \$ 0
22444 split(line, arg, " ")
22445 if (arg[1] == "#") {
22446 defundef = arg[2]
22447 mac1 = arg[3]
22448 } else {
22449 defundef = substr(arg[1], 2)
22450 mac1 = arg[2]
22452 split(mac1, mac2, "(") #)
22453 macro = mac2[1]
22454 prefix = substr(line, 1, index(line, defundef) - 1)
22455 if (D_is_set[macro]) {
22456 # Preserve the white space surrounding the "#".
22457 print prefix "define", macro P[macro] D[macro]
22458 next
22459 } else {
22460 # Replace #undef with comments. This is necessary, for example,
22461 # in the case of _POSIX_SOURCE, which is predefined and required
22462 # on some systems where configure will not decide to define it.
22463 if (defundef == "undef") {
22464 print "/*", prefix defundef, macro, "*/"
22465 next
22469 { print }
22470 _ACAWK
22471 _ACEOF
22472 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22473 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
22474 fi # test -n "$CONFIG_HEADERS"
22477 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :L $CONFIG_LINKS :C $CONFIG_COMMANDS"
22478 shift
22479 for ac_tag
22481 case $ac_tag in
22482 :[FHLC]) ac_mode=$ac_tag; continue;;
22483 esac
22484 case $ac_mode$ac_tag in
22485 :[FHL]*:*);;
22486 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
22487 :[FH]-) ac_tag=-:-;;
22488 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
22489 esac
22490 ac_save_IFS=$IFS
22491 IFS=:
22492 set x $ac_tag
22493 IFS=$ac_save_IFS
22494 shift
22495 ac_file=$1
22496 shift
22498 case $ac_mode in
22499 :L) ac_source=$1;;
22500 :[FH])
22501 ac_file_inputs=
22502 for ac_f
22504 case $ac_f in
22505 -) ac_f="$ac_tmp/stdin";;
22506 *) # Look for the file first in the build tree, then in the source tree
22507 # (if the path is not absolute). The absolute path cannot be DOS-style,
22508 # because $ac_f cannot contain `:'.
22509 test -f "$ac_f" ||
22510 case $ac_f in
22511 [\\/$]*) false;;
22512 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
22513 esac ||
22514 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
22515 esac
22516 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
22517 as_fn_append ac_file_inputs " '$ac_f'"
22518 done
22520 # Let's still pretend it is `configure' which instantiates (i.e., don't
22521 # use $as_me), people would be surprised to read:
22522 # /* config.h. Generated by config.status. */
22523 configure_input='Generated from '`
22524 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
22525 `' by configure.'
22526 if test x"$ac_file" != x-; then
22527 configure_input="$ac_file. $configure_input"
22528 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
22529 $as_echo "$as_me: creating $ac_file" >&6;}
22531 # Neutralize special characters interpreted by sed in replacement strings.
22532 case $configure_input in #(
22533 *\&* | *\|* | *\\* )
22534 ac_sed_conf_input=`$as_echo "$configure_input" |
22535 sed 's/[\\\\&|]/\\\\&/g'`;; #(
22536 *) ac_sed_conf_input=$configure_input;;
22537 esac
22539 case $ac_tag in
22540 *:-:* | *:-) cat >"$ac_tmp/stdin" \
22541 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
22542 esac
22544 esac
22546 ac_dir=`$as_dirname -- "$ac_file" ||
22547 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
22548 X"$ac_file" : 'X\(//\)[^/]' \| \
22549 X"$ac_file" : 'X\(//\)$' \| \
22550 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
22551 $as_echo X"$ac_file" |
22552 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
22553 s//\1/
22556 /^X\(\/\/\)[^/].*/{
22557 s//\1/
22560 /^X\(\/\/\)$/{
22561 s//\1/
22564 /^X\(\/\).*/{
22565 s//\1/
22568 s/.*/./; q'`
22569 as_dir="$ac_dir"; as_fn_mkdir_p
22570 ac_builddir=.
22572 case "$ac_dir" in
22573 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
22575 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
22576 # A ".." for each directory in $ac_dir_suffix.
22577 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
22578 case $ac_top_builddir_sub in
22579 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
22580 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
22581 esac ;;
22582 esac
22583 ac_abs_top_builddir=$ac_pwd
22584 ac_abs_builddir=$ac_pwd$ac_dir_suffix
22585 # for backward compatibility:
22586 ac_top_builddir=$ac_top_build_prefix
22588 case $srcdir in
22589 .) # We are building in place.
22590 ac_srcdir=.
22591 ac_top_srcdir=$ac_top_builddir_sub
22592 ac_abs_top_srcdir=$ac_pwd ;;
22593 [\\/]* | ?:[\\/]* ) # Absolute name.
22594 ac_srcdir=$srcdir$ac_dir_suffix;
22595 ac_top_srcdir=$srcdir
22596 ac_abs_top_srcdir=$srcdir ;;
22597 *) # Relative name.
22598 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
22599 ac_top_srcdir=$ac_top_build_prefix$srcdir
22600 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
22601 esac
22602 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
22605 case $ac_mode in
22608 # CONFIG_FILE
22611 _ACEOF
22613 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22614 # If the template does not know about datarootdir, expand it.
22615 # FIXME: This hack should be removed a few years after 2.60.
22616 ac_datarootdir_hack=; ac_datarootdir_seen=
22617 ac_sed_dataroot='
22618 /datarootdir/ {
22622 /@datadir@/p
22623 /@docdir@/p
22624 /@infodir@/p
22625 /@localedir@/p
22626 /@mandir@/p'
22627 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
22628 *datarootdir*) ac_datarootdir_seen=yes;;
22629 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
22630 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
22631 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
22632 _ACEOF
22633 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22634 ac_datarootdir_hack='
22635 s&@datadir@&$datadir&g
22636 s&@docdir@&$docdir&g
22637 s&@infodir@&$infodir&g
22638 s&@localedir@&$localedir&g
22639 s&@mandir@&$mandir&g
22640 s&\\\${datarootdir}&$datarootdir&g' ;;
22641 esac
22642 _ACEOF
22644 # Neutralize VPATH when `$srcdir' = `.'.
22645 # Shell code in configure.ac might set extrasub.
22646 # FIXME: do we really want to maintain this feature?
22647 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22648 ac_sed_extra="$ac_vpsub
22649 $extrasub
22650 _ACEOF
22651 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22653 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
22654 s|@configure_input@|$ac_sed_conf_input|;t t
22655 s&@top_builddir@&$ac_top_builddir_sub&;t t
22656 s&@top_build_prefix@&$ac_top_build_prefix&;t t
22657 s&@srcdir@&$ac_srcdir&;t t
22658 s&@abs_srcdir@&$ac_abs_srcdir&;t t
22659 s&@top_srcdir@&$ac_top_srcdir&;t t
22660 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
22661 s&@builddir@&$ac_builddir&;t t
22662 s&@abs_builddir@&$ac_abs_builddir&;t t
22663 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
22664 $ac_datarootdir_hack
22666 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
22667 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
22669 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
22670 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
22671 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
22672 "$ac_tmp/out"`; test -z "$ac_out"; } &&
22673 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
22674 which seems to be undefined. Please make sure it is defined" >&5
22675 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
22676 which seems to be undefined. Please make sure it is defined" >&2;}
22678 rm -f "$ac_tmp/stdin"
22679 case $ac_file in
22680 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
22681 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
22682 esac \
22683 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
22687 # CONFIG_HEADER
22689 if test x"$ac_file" != x-; then
22691 $as_echo "/* $configure_input */" \
22692 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
22693 } >"$ac_tmp/config.h" \
22694 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
22695 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
22696 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
22697 $as_echo "$as_me: $ac_file is unchanged" >&6;}
22698 else
22699 rm -f "$ac_file"
22700 mv "$ac_tmp/config.h" "$ac_file" \
22701 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
22703 else
22704 $as_echo "/* $configure_input */" \
22705 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
22706 || as_fn_error $? "could not create -" "$LINENO" 5
22711 # CONFIG_LINK
22714 if test "$ac_source" = "$ac_file" && test "$srcdir" = '.'; then
22716 else
22717 # Prefer the file from the source tree if names are identical.
22718 if test "$ac_source" = "$ac_file" || test ! -r "$ac_source"; then
22719 ac_source=$srcdir/$ac_source
22722 { $as_echo "$as_me:${as_lineno-$LINENO}: linking $ac_source to $ac_file" >&5
22723 $as_echo "$as_me: linking $ac_source to $ac_file" >&6;}
22725 if test ! -r "$ac_source"; then
22726 as_fn_error $? "$ac_source: file not found" "$LINENO" 5
22728 rm -f "$ac_file"
22730 # Try a relative symlink, then a hard link, then a copy.
22731 case $ac_source in
22732 [\\/$]* | ?:[\\/]* ) ac_rel_source=$ac_source ;;
22733 *) ac_rel_source=$ac_top_build_prefix$ac_source ;;
22734 esac
22735 ln -s "$ac_rel_source" "$ac_file" 2>/dev/null ||
22736 ln "$ac_source" "$ac_file" 2>/dev/null ||
22737 cp -p "$ac_source" "$ac_file" ||
22738 as_fn_error $? "cannot link or copy $ac_source to $ac_file" "$LINENO" 5
22741 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
22742 $as_echo "$as_me: executing $ac_file commands" >&6;}
22744 esac
22747 case $ac_file$ac_mode in
22748 "include/stamp-h":C) echo timestamp > include/stamp-h ;;
22749 "tools/makedep":C) wine_fn_output_makedep || as_fn_exit $? ;;
22750 "Makefile":C) wine_fn_output_makefile Makefile ;;
22752 esac
22753 done # for ac_tag
22756 as_fn_exit 0
22757 _ACEOF
22758 ac_clean_files=$ac_clean_files_save
22760 test $ac_write_fail = 0 ||
22761 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
22764 # configure is writing to config.log, and then calls config.status.
22765 # config.status does its own redirection, appending to config.log.
22766 # Unfortunately, on DOS this fails, as config.log is still kept open
22767 # by configure, so config.status won't be able to write to it; its
22768 # output is simply discarded. So we exec the FD to /dev/null,
22769 # effectively closing config.log, so it can be properly (re)opened and
22770 # appended to by config.status. When coming back to configure, we
22771 # need to make the FD available again.
22772 if test "$no_create" != yes; then
22773 ac_cs_success=:
22774 ac_config_status_args=
22775 test "$silent" = yes &&
22776 ac_config_status_args="$ac_config_status_args --quiet"
22777 exec 5>/dev/null
22778 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
22779 exec 5>>config.log
22780 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
22781 # would make configure fail if this is the last instruction.
22782 $ac_cs_success || as_fn_exit 1
22784 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
22785 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
22786 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
22790 if test "$no_create" = "yes"
22791 then
22792 exit 0
22795 ac_save_IFS="$IFS"
22796 if test "x$wine_notices" != x; then
22797 echo >&6
22798 IFS="|"
22799 for msg in $wine_notices; do
22800 IFS="$ac_save_IFS"
22801 if ${msg:+false} :; then :
22803 else
22804 { $as_echo "$as_me:${as_lineno-$LINENO}: $msg" >&5
22805 $as_echo "$as_me: $msg" >&6;}
22807 done
22809 IFS="|"
22810 for msg in $wine_warnings; do
22811 IFS="$ac_save_IFS"
22812 if ${msg:+false} :; then :
22814 else
22815 echo >&2
22816 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $msg" >&5
22817 $as_echo "$as_me: WARNING: $msg" >&2;}
22819 done
22820 IFS="$ac_save_IFS"
22822 $as_echo "
22823 $as_me: Finished. Do '${ac_make}' to compile Wine.
22824 " >&6